1. [LIN] eugtk windows with min/max buttons

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

new topic     » topic index » view message » categorize

2. Re: [LIN] eugtk windows with min/max buttons

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: [LIN] eugtk windows with min/max buttons

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: [LIN] eugtk windows with min/max buttons

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: [LIN] eugtk windows with min/max buttons

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: [LIN] eugtk windows with min/max buttons


new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu