Re: Re: Toggle buttons
- From: Jim Parker <hopeye cfl rr com>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Re: Toggle buttons
- Date: Tue, 07 May 2002 10:46:24 -0400
Thanks Owen,
Unfortunately, I already have that line in my code. Do I need to connect a
signal ?
cheers,
Jim Parker`
On Tue, 7 May 2002, Owen Taylor wrote:
Date: Tue, 7 May 2002 10:28:42 -0400 (EDT)
To: hopeye cfl rr com
From: Owen Taylor <otaylor redhat com>
CC: David Odin <David dindinx org>, gtk-app-devel-list gnome org
Sender: gtk-app-devel-list-admin gnome org
Subject: Re: Toggle buttons
Jim Parker <hopeye cfl rr com> writes:
G'Day !
I am building a toolbar(s) in a CAD application. While I use
radio-buttons
in my menu, the UI would require a major rewite to incorporate the use
of
radio-buttons and I don't think it wold work (I am probably blinded by
convention here).
I could use normal buttons for this, but wanted to give the user a
visual
clue as to what state the program was in. Also the program continues
to be
in this state until changed by the user explicitly. (for example,
drawing
points on a screen with a mouse. You do not want to force the user to
click a button for each point.)
As another poster pointed out gtk_toggle_button_set_active ( ) is the
way
to go. Ugly, but ...
Call gtk_toggle_button_set_mode(button, FALSE) on radio buttons and
they'll
draw like toggle buttons.
Regards,
Owen
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]