Re: [gtk-list] how to set toggle/radio buttons without "clicked"
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] how to set toggle/radio buttons without "clicked"
- Date: 15 Jan 2000 15:00:28 -0500
Paul Barton-Davis <pbd@Op.Net> writes:
> i have some radio and toggle buttons. they can be set (in-)active by
> the user+mouse, or programmatically as a result of data read from
> an external input source.
>
> if i use gtk_toggle_button_set_active() for the programmatic setting,
> then the "clicked" signal is emitted. How can i set the button states
> in a way that doesn't make it appear that there was user interaction ?
>
You have to do gtk_signal_handler_block_*() around your set_active().
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]