The realize event didn't worked, but the idle did. thanks! And the get_position(), any ideas on that?
On Mon, Sep 5, 2011 at 9:37 PM, Chris Vine <[email protected]> wrote: > On Mon, 05 Sep 2011 20:05:34 +0200 > Yann LEYDIER <[email protected]> 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 > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list > _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
