Skip to content

Commit

Permalink
Improve GTK inspector text
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronErhardt committed Oct 16, 2023
1 parent 05c1321 commit d9ebc7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ You can use them to look at individual widgets, modify their properties, apply c
In particular, it is very useful for finding the best values before integrating them into your code.

To use the inspector, you only need to press `Ctrl+Shift+D` while you have a GTK application opened (this not just works for Relm4, but all GTK based apps).
If that doesn't work out of the box on your system, you might have to run `gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true`.
You should see an overview over all your widgets, which you can expand row by row.
Yet, to select widgets, it is more convenient to the the button in the top left which allows you to select a widget by clicking on your app.
Yet, to select widgets, it is more convenient to use the button in the top left which allows you to select a widget by clicking on your app.
Once you have selected a widget, you can modify its properties.

You can also use the CSS tab to apply custom CSS to your application.
Expand Down

0 comments on commit d9ebc7e

Please sign in to comment.