Remove overriden class' closure

2008-02-28 Thread Piotr Pokora
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

RE: Button from an image (round Button)

2008-02-28 Thread Demetris Zavorotnichenko
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 ?

Re: Button from an image (round Button)

2008-02-28 Thread Gautam Ravi
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]>: