Re: [gtkmm] Window Manager functionality via gtkmm



thanks for the heads up anastasios.

i already have the window manager code working as you describe - i'm trying to integrate this
into some gtkmm code and the piece i don't have is how to make the main loop non-blocking so i
can take care of the X messages i care about or else receive the relevant messages directly
from gtk+/gtkmm.

cheers.

> You would simply duplicate the main loop. Now, depending on what you
> want, there are several ways to do it.
>      1. set (on the X11 level) the CreateNotifyMask event on the root
>         window to get events whenever windows are created. Problem is
>         that you may not get the event as the window manager may have
>         overridden the default behavior in order to put a frame around
>         windows.
>      2. If you just want application windows, you can have a look at the
>         properties of each window. For an example, have a look at the
>         taskmanager applet of gnome.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]