gtk/testsuite/css/nodes/checkbutton.ltr.ui
Timm Bäder 1375fb4464 Change button hierarchy
A radiobutton without indicator is really just a togglebutton with a
group.

A radiobutton with indicator is really just a checkbutton with a group.

Make checkbutton its own widget not inheriting from GtkButton.
GtkRadioButton could be removed but it stays for now.

Radiobutton && !draw-indicator => Togglebutton
Checkbutton && !draw-indicator => Togglebutton

Radiobutton && draw-indicator => CheckButton + group
2020-08-29 16:46:28 +02:00

23 lines
633 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="decorated">0</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkCheckButton">
<property name="label">label</property>
</object>
</child>
<child>
<object class="GtkCheckButton">
<property name="active">1</property>
<property name="label">label</property>
</object>
</child>
</object>
</child>
</object>
</interface>