Re: visibility_notify_event

Aaron Kennedy <aaron icr com au> writes:

> I am having a problem getting a GtkWindow to emit the event
> visibility_notify_event.  In the Gtk Documentation, I see that this event
> is emitted for a GtkWidget, but not it's "derived" widget GtkWindow.  Is
> there a way to get GtkWindow to emit this also?  An example is given
> below, where the function "function()" is never called...
> GtkWidget *window;
> window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
> gtk_signal_connect(GTK_OBJECT(window), "visibility_notify_event",
>                    GTK_SIGNAL_FUNC(function), NULL);


gtk_widget_add_events (window, 
		       (gtk_wiget_get_events (window)


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