RE: Buttons in groups

2007-06-07 Thread Christopher Garrett
> GtkRadioButton is a GtkContainer (as any button) and can contain anything, just don't use the convenience cosntructors and pack the icon or whatever yourself. And see also gtk_toggle_button_set_mode(). > You should also consider GtkToolbar if you want to create a toolbar... Thanks - I'll give

Re: Buttons in groups

2007-06-07 Thread Yeti
Please don't top-post. On Thu, Jun 07, 2007 at 07:41:42AM +0100, Christopher Garrett wrote: > I should have said that its for groups of tools, > and I'd like to have icons on the buttons - I'm not sure that GtkRadioButtons > can use icons, but if they can they'd be perfect for me. GtkRadioButto

RE: Buttons in groups

2007-06-06 Thread Christopher Garrett
Of David Necas (Yeti) Sent: 07 June 2007 07:28 To: gtk-app-devel-list@gnome.org Subject: Re: Buttons in groups On Thu, Jun 07, 2007 at 07:25:13AM +0100, Christopher Garrett wrote: > Is there a way of placing a GtkToggleButton into a group so that when > one button is selected the others in th

Re: Buttons in groups

2007-06-06 Thread Yeti
On Thu, Jun 07, 2007 at 07:25:13AM +0100, Christopher Garrett wrote: > Is there a way of placing a GtkToggleButton into a group so that when one > button > is selected the others in the group automatically get unselected? By using GtkRadioButtons? Yeti -- http://gwyddion.net/ __

Buttons in groups

2007-06-06 Thread Christopher Garrett
Hi, Is there a way of placing a GtkToggleButton into a group so that when one button is selected the others in the group automatically get unselected? Best regards, Chris. Chris Garrett UNIX Administrator MISD Operations Group, University of Cambridge 01223-(7)66687 __