Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Gtk::ToggleButton mutually exclusive (RadioButton behaviour)

 
   Soft32 Home -> Linux -> App Development RSS
Next:  Free! Call or Send SMS to anywhere in the world  
Author Message
Yannick Barbeaux

External


Since: Jun 13, 2007
Posts: 6



(Msg. 1) Posted: Tue Oct 23, 2007 4:26 am
Post subject: Gtk::ToggleButton mutually exclusive (RadioButton behaviour)
Archived from groups: comp>os>linux>development>apps (more info?)

Hello,

what is the easiest way to make a set of ToggleButton mutually
exclusive in Gtk (= the radiobutton behaviour)

For radiobutton, putting them into a group makes them exclusive but
this group is not available for ToggleButton

I thought about trying to set the appaearance of a toggle to my
radiobuttons but this hasn't worked so far.

Any clue?


(In QT, the the Group can be used for toggles as well so as to make
them mutually exclusive)

Thanks
Back to top
Login to vote
Yannick Barbeaux

External


Since: Jun 13, 2007
Posts: 6



(Msg. 2) Posted: Tue Oct 23, 2007 4:52 am
Post subject: Re: Gtk::ToggleButton mutually exclusive (RadioButton behaviour) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ok, I found the solution to this problem in the very poor gtk
documentation:

set_mode(bool draw_indicator) to false

makes the Radiobutton look like a normal button





On 23 oct, 11:26, Yannick Barbeaux <ybarbe....RemoveThis@gmail.com> wrote:
> Hello,
>
> what is the easiest way to make a set of ToggleButton mutually
> exclusive in Gtk (= the radiobutton behaviour)
>
> For radiobutton, putting them into a group makes them exclusive but
> this group is not available for ToggleButton
>
> I thought about trying to set the appaearance of a toggle to my
> radiobuttons but this hasn't worked so far.
>
> Any clue?
>
> (In QT, the the Group can be used for toggles as well so as to make
> them mutually exclusive)
>
> Thanks
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How can i register a link protocol for browsers - I want to add an action to the system so that every time a user clicks in a link with for example ..

storing the data in ln2440 target board memory - hai.. i using the target board ln2440sbc..and linux OS.. (16Mb flash and 32Mb sdram) i have cross compiled and porte...

GTK run error - hi i had created one same application in glad interface designer with c option.the n i compiled the same after that i....

C++ -> mplayer, stdin, stdout, popen / fork / pipe... - Hello everybody. I tried to work this out on my own for about 6 hours non-stop now and I just don't get it working.......

exclusive laarge orgassm - Just look at fundamental preview. I do not lies make http://armysurplusus.info -- To UNSUBSCRIBE, email to..

Exclusive Meds Offerings ti - Come Visit our new Online Ph@rmacy and withhold upto 85% http://uk.geocities.com/SusanZuniga5307/ Christmas' Best..
       Soft32 Home -> Linux -> App Development All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]