Revision [32903]
This is an old revision of gtkdialogDocTips made by zigbert on 2020-07-28 05:38:24.
GtkDialog - Tips and Tricks
This documentation is based on the forum-thread 'Tips and Tricks' by zigbert Sigmund Berglund (zigbert).The info is based on input from many people. Please continue to share your knowledge.
INDEX
1. gtkdialogDocTips1 Syntax - How to use variables in the code.2. gtkdialogDocTips2 Let the script return data - Choose a proper coding structure.
3. gtkdialogDocTips3 Let external code act on your gtkdialog gui
4. The benefits of a config file
5. gtkdialogDocTips5 Speed issues - Let your turtle run
6. Extended your widgets
6.2 New widgets
6.2.1 Knob
6.2.2 Right-click menu
6.2.3 Dynamic tabs
6.2.4 Calendar
7.1 Comments in your code.
7.2 Include code if...
8. gtkdialogDocTips8 Text managing
8.3 Scroll text
8.5 Set font
8.6 Hyperlink
9. Tips and tricks- How to change the gui without restarting the app
- Control the icon/label of menuitems.
- Understand the alignment.
- Window header icon.
- Refresh image
- Drag'n drop.
- Hotkeys.
- Set a fixed size of a progressbar.settings
- Define unique gtk-theme.
- Override window manager - skip taskbar, sticky, layer, border
- Let entry accept (some) numbers only.
- MIME.
- Checkbox with image
- Use a splash screen.
- Press 'Enter' instead of clicking the 'Ok' button.