Wiki source for gtkdialogDocTips


Show raw source

[[HomePage]] > [[SoftwareIndex|Software Index]] > [[SoftwareDevelopment|Development]] > [[gtkdialog|gtkdialog]]

======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**
4.1 [[gtkdialogDocTips4.1| Set default status of Radiobuttons, Comboboxes...]]
4.2 [[gtkdialogDocTips4.2| How to store window size/placement]]

**5. [[gtkdialogDocTips5| Speed issues]]** - Let your turtle run

**6. Extended your widgets**
6.1 [[gtkdialogDocTips6.1| Undocumented features of builtin widgets]]
6.2 [[gtkdialogDocTips6.2| New widgets]]
6.2.1 [[http://web.archive.org/web/20160919214114/http://blog.puppylinux.com/?viewDetailed=00020 Knob]]
6.2.2 [[http://web.archive.org/web/20170815224527/http://blog.puppylinux.com/?viewDetailed=00030 Right-click menu]]
6.2.3 [[http://web.archive.org/web/20180223030345/http://blog.puppylinux.com/?viewDetailed=00040 Dynamic tabs]]
6.2.4 [[http://murga-linux.com/puppy/viewtopic.php?t=115140 Calendar]]

**7. [[gtkdialogDocTips7| Advanced Syntax]]** - make your code readable
7.1 Comments in your code.
7.2 Include code if...

**8. [[gtkdialogDocTips8| Text managing]]**
8.1 [[gtkdialogDocTips8/#hn_8.1| Some options for the <text> widget]]
8.2 [[gtkdialogDocTips8/#hn_8.2| Advanced text layout]]
8.3 [[gtkdialogDocTips8/#hn_8.3| Scroll text]]
8.4 [[gtkdialogDocTips8/#hn_8.4| Strikethrough text]]
8.5 [[gtkdialogDocTips8/#hn_8.5| Set font]]
8.6 [[gtkdialogDocTips8/#hn_8.6| Hyperlink]]

**9. Tips and tricks**
9.1 [[gtkdialogDocTips9.1| How to change the gui without restarting the app]]
9.2 [[gtkdialogDocTips9.2| Control the icon/label of menuitems]]
9.3 [[gtkdialogDocTips9.3| Understand the alignment]]
9.4 [[gtkdialogDocTips9.4| Insert empty gap]]
9.5 [[gtkdialogDocTips9.5| Window header icon]]
9.6 [[gtkdialogDocTips9.6| Refresh image]]
9.7 [[gtkdialogDocTips9.7| Drag'n drop]]
9.8 [[gtkdialogDocTips9.8| Hotkeys]]
9.9 [[gtkdialogDocTips9.9| Set a fixed size of a progressbar]]
9.10 [[gtkdialogDocTips9.10| Define unique gtk-theme]]
9.11 [[gtkdialogDocTips9.11| Override window manager - skip taskbar, sticky, layer, border]]
9.12 [[gtkdialogDocTips9.12| Let entry accept (some) numbers only]]
9.13 [[gtkdialogDocTips9.13| MIME]]
9.14 [[gtkdialogDocTips9.14| Checkbox with image]]
9.15 [[gtkdialogDocTips9.15| Use a splash screen]]
9.16 [[gtkdialogDocTips9.16| Press 'Enter' instead of clicking the 'Ok' button]]
~
9.xx [[http://murga-linux.com/puppy/viewtopic.php?p=588570#588570 Transparent background (gtkdialog desklets)]]
9.xx [[http://murga-linux.com/puppy/viewtopic.php?t=107675 Chooser - navigate by pressing keys]]

**10. [[gtkdialogDocTips10| The holy grail]]**



===@@**#%❰❰❰ {{color text="Previous" c="gray"}}#% #%{{color text="Index" c="gray"}}#% #%[[gtkdialogDocTips1|Next ❱❱❱]]#%**@@===
----
==Categories==
CategoryGtkdialog
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki