开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜