Re: [gtk-list] Re: how to set toggle/radio buttons without "clicked"
- From: Paul Barton-Davis <pbd op net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: how to set toggle/radio buttons without "clicked"
- Date: Sat, 15 Jan 2000 15:40:42 -0500
In message <yb7g0vzw1er.fsf@icon.labs.redhat.com>you write:
>
>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().
but to use that, i need to know the handler_id that needs to be
blocked, right ? i don't want *anything* that is connected to
"clicked" to be invoked, even though i have no idea what is connected ...
if this is written down someplace, i'll gladly go read it :)
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]