Re: Preventing a window going to front - moving a window



On Mon, 05 Sep 2011 20:05:34 +0200
Yann LEYDIER <yann leydier info> wrote:
> last time I had to do something at init and it didn't fit in the 
> constructor, I connected a method to the realize event.

Or if the realize event doesn't do what is wanted (it may be stacked in
the glib event loop with other GDK drawing callbacks too early to
set the Z-order), the best approach would probably be to connect an
idle handler. That will be stacked in the main loop event list after
any GDK drawing functions have been called, assuming default idle
priority is chosen.

Chris


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