 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
srikanth Familiar Face
Joined: 14 Nov 2006 Posts: 7
|
Posted: Tue Nov 14, 2006 6:38 am Post subject: Using check box in a frame |
|
|
Hello ,
I am using galde-2 , to develop an installer, where i am using gnome druid . I have multiple check boxes on the druid page , I have placed all the checkboxes in a frame . My problem is how do i refer to the check boxs in a frame ( ie how do i validate that atleast one checkbox is checked ) , so that i cant move to the next screen unless the user checks atleast on one check box .
Thanks. |
|
| Back to top |
|
 |
openldev Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 386 Location: Fairfax, Virginia
|
Posted: Tue Nov 14, 2006 3:29 pm Post subject: |
|
|
First, you should be using the new GtkAssistant widget introduced in GTK+ 2.10 because it is meant as a replacement for GnomeDruid.
Secondly, if you connect each check box to the toggled signal, you can tell when one is enabled or disabled. |
|
| Back to top |
|
 |
srikanth Familiar Face
Joined: 14 Nov 2006 Posts: 7
|
Posted: Wed Nov 15, 2006 4:49 am Post subject: |
|
|
| Thanks Andrew . :D |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|