Re: Radiobuttons problem
- From: Alexander Chemeris <chemeris mail ru>
- To: gtk-app-devel-list-admin gnome org
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Radiobuttons problem
- Date: Thu, 8 Aug 2002 15:15:44 +0400
How to do this in right way?
I found way to do it, but it is ugly: I call
gtk_signal_emit_by_name(GTK_OBJECT(RadioBtn1),"pressed");
and connect this handler to the "pressed" signal
void onPressed(GtkWidget *widget,gpointer user_data)
{
GtkWidget *RadioBtn1 = lookup_widget (GTK_WIDGET (MainWindow), "CreateContourBtn");
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(RadioBtn1),true);
}
Is there other way?
Alexander Chemeris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]