Problems with Toggle-Buttons
- From: Martin Bammer <e9525103 stud4 tuwien ac at>
- To: gtk-app-devel-list gnome org
- Subject: Problems with Toggle-Buttons
- Date: Fri, 6 Sep 2002 13:09:50 +0200
Hi,
I want to write an app which has two toggle-buttons. Each toggle-button can
switch off the other button and set a variable. The problem now is that when
a callback from one toggle-button calls:
gtk_toggle_button_set_active(TOGGLE_BUTTON(lookup_widget(GTK_WIDGET(togglebutton),
"other_toggle_button")), FALSE);
the callback function of the other toggle-button is also called, because the
function gtk_toggle_button_set_active emits a "clicked" and "toggled" signal.
I am searching for a simple method to change the state of the toggle-button
without emitting a signal.
Greetings, Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]