RE: about X Windows Programming
On Fri, 2 Jun 2000, Mark wrote: Hello Wan. Do you mean : ? Does X Windows have MDI forms? (MDI= Multiple Document Interface), in a sense that when you maximize one of the child windows it only covers the area ocupied by the parent (the MDI form). As in windows all widgets and windows have a parent-child relationship, but normally ALL parent forms are SDI (Single Document Interface). (They still convey to the parent-child scheme!, but are rather independant in their shape and form over non parent workspace area) MDI forms can be achieved though. There are nice free widgets (at least one!) to acomplish this. And giving it a thought you could probably constrain you child forms (windows) to the parent geometry without much fuss, at least at a first glance. If you want to know anything else about the MDI widget I talk about (as I said I found it free on the net), send me an e-mail and I will send it to you. Hope I helped, regards, Mark. ThanksActually I want to write a program portable between Linux and windows..And gtk+ has been chosen for my program as gtk+ have a win32 port. Does gtk+ have a MDI widget for it? ~
Re: about X Windows Programming
Wan Hing Wah wrote: Actually I want to write a program portable between Linux and windows..And gtk+ has been chosen for my program as gtk+ have a win32 port. Does gtk+ have a MDI widget for it? Check out this. There are some GnomeMDI stuff too. I haven't tried it and I don't know does it work in Windoze. http://developer.gnome.org/doc/API/libgnomeui/book1.html Esko Lehtonen WYSINWYG - [EMAIL PROTECTED] What You See Is Never What You Get ([EMAIL PROTECTED])
Re: [*] about x
On Tue, Feb 08, 2000 at 08:58:36AM -0800, aphro wrote: On Tue, 8 Feb 2000, Kent West wrote: westk As a general rule, if I want to temporarily de-activate westk something like xdm, I just rename the link to no.S99xdm westk instead of removing/recreating-later. Being relatively new westk to Linux/Unix, is there anything wrong (bad habit, westk non-standard, etc) with this practice? if it works i dont think its bad. BUT by renaming the link the program would still run (unless theres something in init that doesnt run files that start with no i dont know) renaming the script itself in /etc/init.d would work for sure though. thre have been posts saying to use the command update-rc.d (something) maybe update-rc.d remove xdm i forget (man update-rc.d ?) old habbits die very very hard for me though : I don't no if that'll mess up init or not (probably just ignores it). But a safer alternative might be to rename it to KNNwhatever. Then it safely says to stop this service (and the init script will say Hey stupid, it's not running! or something not so eloquent). -- ++ | Eric G. Milleregm2@jps.net | | GnuPG public key: http://www.jps.net/egm2/gpg.asc | ++
Re: [*] about x
On Tue, 8 Feb 2000, Kent West wrote: westk As a general rule, if I want to temporarily de-activate westk something like xdm, I just rename the link to no.S99xdm westk instead of removing/recreating-later. Being relatively new westk to Linux/Unix, is there anything wrong (bad habit, westk non-standard, etc) with this practice? if it works i dont think its bad. BUT by renaming the link the program would still run (unless theres something in init that doesnt run files that start with no i dont know) renaming the script itself in /etc/init.d would work for sure though. thre have been posts saying to use the command update-rc.d (something) maybe update-rc.d remove xdm i forget (man update-rc.d ?) old habbits die very very hard for me though : nate [mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336http://www.linuxpowered.net/ Powered By:http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ -[mailto:[EMAIL PROTECTED] ]-- 8:49am up 172 days, 21:02, 1 user, load average: 1.11, 1.08, 1.08
Re: [*] about x
i had used redhat for some time, and now i turn to debian(2.1r4).i found my debian run xdm auotmatic, i don't like this, how can i change it? when use redhat,edit the file /etc/initab, and set init 3 to default will be ok, but debian is quite different. If I remeber correctly, there is an option in /etc/X11/config; something like run-xdm. Change that to no-run-xdm or put a '#' on front of it. -- Philip Lehman [EMAIL PROTECTED]
Re: [*] about x
On Sun, Feb 06, 2000 at 06:37:26PM +0100, Philip Lehman wrote: i had used redhat for some time, and now i turn to debian(2.1r4).i found my debian run xdm auotmatic, i don't like this, how can i change it? when use redhat,edit the file /etc/initab, and set init 3 to default will be ok, but debian is quite different. If I remeber correctly, there is an option in /etc/X11/config; something like run-xdm. Change that to no-run-xdm or put a '#' on front of it. Actually, xdm by default is started for each multi-user runlevel with the script /etc/init.d/xdm. Just remove the link from /etc/rc2.d that looks like S99xdm and it won't start in runlevel 2 (the debian default). Same for every other run-level, links are in /etc/rcN.d. -- ++ | Eric G. Milleregm2@jps.net | | GnuPG public key: http://www.jps.net/egm2/gpg.asc | ++
Re: [*] about x
On Mon, 7 Feb 2000 [EMAIL PROTECTED] wrote: =?ISO- hello everybody: =?ISO- =?ISO- i had used redhat for some time, and now i turn to debian(2.1r4).i found my debian run =?ISO- xdm auotmatic, i don't like this, how can i change it? when use redhat,edit the file =?ISO- /etc/initab, and set init 3 to default will be ok, but debian is quite different. since i doubt a mail would get through from the address you have there i'll just post to the list .. there may be a better way of doing this but the simple way is to: rm /etc/rc2.d/S99xdm then if you want it on again: cd /etc/rc2.d ln -s ../init.d/S99xdm nate [mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336http://www.linuxpowered.net/ Powered By:http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ -[mailto:[EMAIL PROTECTED] ]-- 1:38pm up 171 days, 1:50, 3 users, load average: 0.04, 0.07, 0.02
Re: About X
Hi! }- On Sun, 6 Dec 1998 [EMAIL PROTECTED] wrote: }- }- Well I got X too work but how do I load a different window manager? }- }- Download window manager you want , install it, and }- edit /etc/windows-manager so that at the start up of X it will run what its /etc/X11/window-managers, isn´t it?? }- you want. }- HTH, }- Andrew -- until next mail ;) . ___ ---___ .--. ./ - /\ ___ ( DEBIAN `-|O O | | |; --.|| |___|: GNU/Linux _- |_) \. | __ eter| -/ | || | `. www.debian.org / ' .\. ||__| ` --- . ___ .. ' | ..| | | artosch | ...\. |___| / . ..| /,\ .__\ ~ [EMAIL PROTECTED] | | o| | | |O(| / student of technical computer science \.. \\ / university of applied sciences krefeld (germany) \__/ \_/
Re: About X
Yeah. My mistake. /etc/X11/window-managers Hi! }- On Sun, 6 Dec 1998 [EMAIL PROTECTED] wrote: }- }- Well I got X too work but how do I load a different window manager? }- }- Download window manager you want , install it, and }- edit /etc/windows-manager so that at the start up of X it will run what its /etc/X11/window-managers, isn´t it?? }- you want. }- HTH, }- Andrew -- until next mail ;) . ___ ---___ .--. ./ - /\ ___ ( DEBIAN `-|O O | | |; --.|| |___|: GNU/Linux _- |_) \. | __ eter| -/ | || | `. www.debian.org / ' .\. ||__| ` --- . ___ .. ' | ..| | | artosch | ...\. |___| / . ..| /,\ .__\ ~ [EMAIL PROTECTED] | | o| | | |O(| / student of technical computer science \.. \\ / university of applied sciences krefeld (germany) \__/ \_/ -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null Never include a comment that will help | Andrew Ivanov someone else understand your code. | [EMAIL PROTECTED] If they understand it, they don't | ICQ: 12402354 need you. |
Re: About X
What are the errors? So far there is about a million things that can be wrong. Be more specific. Never include a comment that will help | Andrew Ivanov someone else understand your code. | [EMAIL PROTECTED] If they understand it, they don't | ICQ: 12402354 need you. |
Re: About X
Well I got X too work but how do I load a different window manager? Thanks
Re: About X
On Sun, 6 Dec 1998 [EMAIL PROTECTED] wrote: Well I got X too work but how do I load a different window manager? Download window manager you want , install it, and edit /etc/windows-manager so that at the start up of X it will run what you want. HTH, Andrew