Hi!
Maybe I missed something obvious but I can not find any way to remove
closure which is set with g_signal_override_class_closure. Signal and
closure API seems to focus on instances in this matter.
Any hint?
Piotras
___
gtk-list mailing list
gtk-list
I have done it like this:
gtk_widget_shape_combine_mask(GTK_WIDGET(button->window),mask,0,0);
It compiles
But when I run the application I get:
gtk_widget_shape_combine_mask: assertion 'GTK_IS_WIDGET (widget)' failed
What am I doing wrong?
How should the function look like ?
Hi,
GtkButton has its own GdkWindow. It can be accessed like GTK_WIDGET
(button)->window.
You can do the "shape_combine_mask" for the GtkButton's window also. See
that "shape_combine_mask" is done when it is realized.
--
Regards
Gautam
2008/2/27 Demetris Zavorotnichenko <[EMAIL PROTECTED]>: