Re: [gtkmm] Window Manager functionality via gtkmm



On Tue, 2004-02-24 at 19:28, Callum Prentice wrote:
> 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.

There are two ways to do that[0]:
     1. Have a different thread with a different X connection with a
        separate X11-only loop.
     2. Use Gdk::Display::add_client_message_filter. At least, I *think*
        that it can do what you want.

HTH,
Tassos
[0] I think I'm having a deja-vu

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri




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