Skip to content
Discussion options

You must be logged in to vote

This is what the name and class properties on each widget object are for. In GTK CSS, names work like IDs, and classes work the same way as ever.

You could currently target your restart button with .power-btn:nth-child(2) or by adding a name and then something like #restart.

I would advise having a read-up or watching some videos on some CSS selector basics. There's not too much to them and they'll get you a long way.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JustSimplyKyle
Comment options

Answer selected by JakeStanger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants