How to set group (like that for GtkRadioButton) for GtkToggleButton in GTK+?
How to set group (like that for GtkRadioButton) for GtkToggleButton in GTK+ ? What is the properties i can use for this aim. I want to check buttons, which set the drawing primitive (rectangle, ellips开发者_如何学JAVAe, etc)
If I understand your question correctly, you want to have a group of buttons where only one can be turned on at a time, but looking like regular buttons instead of radio buttons.
Use radio buttons, and add them to a group as usual, but set the draw-indicator
property to FALSE
. They will be drawn like regular buttons.
精彩评论