Re: Nonstandard Check Button
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: Carsten Burstedde <c burstedde de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Nonstandard Check Button
- Date: Mon, 17 Jan 2005 22:14:21 +0200
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]