1. [LIN] eugtk windows with min/max buttons
- Posted by Chris Bensler <bensler at telus.net> Aug 05, 2001
- 485 views
hi, How I create a window with min/max buttons? and same thing for the sticky button... How do I add hot keys to menus, with underscores in the labels for them? TIA Chris
2. Re: [LIN] eugtk windows with min/max buttons
- Posted by Irv Mullins <irvm at ellijay.com> Aug 05, 2001
- 488 views
On Sunday 05 August 2001 05:26, Chris Bensler wrote: > hi, > > How I create a window with min/max buttons? > and same thing for the sticky button... > Hi Chris: I haven't a clue. They are there when I write programs using Glade and C, and I can't figure out how to turn them off, in that case. Regards, Irv
3. Re: [LIN] eugtk windows with min/max buttons
- Posted by David Cuny <dcuny at LANSET.COM> Aug 05, 2001
- 476 views
Chris Bensler wrote: > How I create a window with min/max buttons? > and same thing for the sticky button... I could be entirely off base here, since I don't have my X Window book handy, but I'm under the impression that controls are supplied by the window manager, not the application. In the X Window system, it's up to the application to supply the client area, and the window manager to handle the window. If you asked for a managed window, you would get whatever window widgets the current window manager offers. Not all window managers - or even styles - offer the same set of controls. To get a menu, 'splash' screen (with no controls) or something like that, you ask for an unmanaged window, and it's up to your application to write the window controls (if any). I could be entirely mistaken. -- David Cuny
4. Re: [LIN] eugtk windows with min/max buttons
- Posted by Chris Bensler <bensler at telus.net> Aug 05, 2001
- 480 views
David Cuny wrote: > I could be entirely off base here, since I don't have my X Window book > handy, but I'm under the impression that controls are supplied by the window > manager, not the application. In the X Window system, it's up to the > application to supply the client area, and the window manager to handle the > window. If you asked for a managed window, you would get whatever window > widgets the current window manager offers. Not all window managers - or even > styles - offer the same set of controls. > > To get a menu, 'splash' screen (with no controls) or something like that, > you ask for an unmanaged window, and it's up to your application to write > the window controls (if any). > > I could be entirely mistaken. > > -- David Cuny > I think your probably right, but how do I specify that? I've looked at the Examples that come with the libgtk, and I don't notice anything that might be of relevance. Would it be a gtk call? Chris
5. Re: [LIN] eugtk windows with min/max buttons
- Posted by Irv Mullins <irvm at ellijay.com> Aug 05, 2001
- 431 views
On Sunday 05 August 2001 01:31, David Cuny wrote: > > Chris Bensler wrote: > > How I create a window with min/max buttons? > > and same thing for the sticky button... > > I could be entirely off base here, since I don't have my X Window book > handy, but I'm under the impression that controls are supplied by the > window manager, not the application. In the X Window system, it's up to the > application to supply the client area, and the window manager to handle the > window. If you asked for a managed window, you would get whatever window > widgets the current window manager offers. Not all window managers - or > even styles - offer the same set of controls. > > To get a menu, 'splash' screen (with no controls) or something like that, > you ask for an unmanaged window, and it's up to your application to write > the window controls (if any). > > I could be entirely mistaken. I think, in just this one case, you may be ;) I tried writing a simple program to open a window in C, the window has all the controls Chris mentioned. The same code in Euphoria produces a window with only the [-] icon (close,minimize, move....) top left, and the [X] close icon top right. Since the code is identical, and both are running on KDE, there must be some problem in the Euphoria wrapper, but I don't know what. The call is exactly the same. Maybe some shared file is not getting loaded? Regards, Irv
6. Re: [LIN] eugtk windows with min/max buttons
- Posted by Chris Bensler <bensler at telus.net> Aug 06, 2001
- 462 views