Re: GtkWidget "visibility-notify-event" and visibility.

2009-03-24 Thread Chris Vine
On Tue, 24 Mar 2009 23:49:13 +0300 Alexander wrote: [snip] > Thanks, GTK_WIDGET_VISIBLE() may help me. Is there any way to catch > event when widget is actualy hiding? You could use the hide signal that GtkWidget objects emit. Chris. ___ gtk-app-devel

Re: GtkWidget "visibility-notify-event" and visibility.

2009-03-24 Thread Alexander
On Tuesday 24 March 2009, Chris Vine wrote: > On Tue, 24 Mar 2009 17:30:38 +0300 > Alexander wrote: > > Hi, list. > > > > Widgets in GtkNotebook doesn't receive GDK_VISIBILITY_NOTIFY events > > with state GDK_VISIBILITY_FULLY_OBSCURED while its being > > "deactivated" on tabs switching. However i

Re: GtkWidget "visibility-notify-event" and visibility.

2009-03-24 Thread Chris Vine
On Tue, 24 Mar 2009 17:30:38 +0300 Alexander wrote: > Hi, list. > > Widgets in GtkNotebook doesn't receive GDK_VISIBILITY_NOTIFY events > with state GDK_VISIBILITY_FULLY_OBSCURED while its being > "deactivated" on tabs switching. However its receive events with > state GDK_VISIBILITY_UNOBSCURED o

GtkWidget "visibility-notify-event" and visibility.

2009-03-24 Thread Alexander
Hi, list. Widgets in GtkNotebook doesn't receive GDK_VISIBILITY_NOTIFY events with state GDK_VISIBILITY_FULLY_OBSCURED while its being "deactivated" on tabs switching. However its receive events with state GDK_VISIBILITY_UNOBSCURED on activation. Where is the catch?

Re: Multiple post-activate signal

2009-03-24 Thread gege2061
I found where the second signal is emited, but I can't block the emission of the signal with this code: Gtk.ToggleAction a; unowned SList list a = UIManager.get_instance () .get_action ("view-start-page") as Gtk.ToggleAction; list = a.get_proxies (); foreach (Gtk.Widget proxy in list) {

Custom container with multiple GdkWindows. Adding widgets don't show.

2009-03-24 Thread sledge hammer
Hi a had multiple problems building this widget but I always knew where to look and I fixed them. But now I have a problem that I am truly clueless on how to solve it. Let me explain. I am trying to develop a program which uses Gstreamer, so I needed a video widget. This widget should do the fo

Multiple post-activate signal

2009-03-24 Thread gege2061
Hello, I use GtkUIManager and connect my main window on the 'post-activate' signal to process the actions. Sometimes the signal is sent twice. My UIManager class: http://code.google.com/p/valide/source/browse/trunk/libvalide/uimanager.vala And the connection of the window: http://code.google.co