gtk2/testsuite/css/nodes/buttons.nodes
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

28 lines
712 B
Plaintext

window.background:dir(ltr)
grid.horizontal:dir(ltr)
button.text-button.toggle:dir(ltr):checked
label:dir(ltr)
checkbutton.text-button:dir(ltr)
check:dir(ltr)
label:dir(ltr)
checkbutton.text-button:dir(ltr):checked
radio:dir(ltr):checked
label:dir(ltr)
checkbutton.text-button:dir(ltr)
radio:dir(ltr)
label:dir(ltr)
switch:dir(ltr):checked
image:dir(ltr)
image:dir(ltr)
slider:dir(ltr)
switch:dir(ltr)
image:dir(ltr)
image:dir(ltr)
slider:dir(ltr)
button.text-button:dir(ltr)
label:dir(ltr)
button.image-button:dir(ltr)
image:dir(ltr)
button.image-button:dir(ltr)
image:dir(ltr)