Revision [32820]
This is an old revision of gtkdialogDocTips made by zigbert on 2020-07-21 04:08:19.
GtkDialog - Tips and Tricks
This documentation is based on 'Tips and Tricks' by zigbert Sigmund Berglund (zigbert) at the old Puppylinux forum.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. gtkdialogDocTips4 The benefits of a config file
- Set default status of Radiobuttons, Comboboxes...
- How to store window size/placement
6. Extended use of widgets - Undocumented features
7. Advanced Syntax - make your code readable
- Comments in your code.
- Include code if.......
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.
Tips and tricks - Links