Re: Nonstandard Check Button



Carsten Burstedde wrote:
So, any callback will be called after the class handler of the signal. 
Then you should subclass GtkCheckButton, override the `clicked' handler
and not call the handler of the parent class.

Thanks, I got it working.  Code below.  There are two ugly things about
that:
1. toggle_button_set_active stops working, due to the way toggle button
uses the clicked signal internally.

Maybe you could catch/block completely "button-pressed" and "button-released"
signals instead then.

Paul




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