GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using check box in a frame

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
srikanth
Familiar Face


Joined: 14 Nov 2006
Posts: 7

PostPosted: Tue Nov 14, 2006 6:38 am    Post subject: Using check box in a frame Reply with quote

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

PostPosted: Tue Nov 14, 2006 3:29 pm    Post subject: Reply with quote

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

PostPosted: Wed Nov 15, 2006 4:49 am    Post subject: Reply with quote

Thanks Andrew . :D
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP