Revision history for gtkdialogDocTips9.14
Additions:
[[HomePage]] > [[SoftwareIndex|Software Index]] > [[SoftwareDevelopment|Development]] > [[gtkdialog|gtkdialog]] > [[gtkdialogDocTips|Tips and Tricks]]
===@@**#%[[gtkdialogDocTips9.13|❰❰❰ Previous]]#% #%[[gtkdialogDocTips|Index]]#% #%[[gtkdialogDocTips9.15|Next ❱❱❱]]#%**@@===
===@@**#%[[gtkdialogDocTips9.13|❰❰❰ Previous]]#% #%[[gtkdialogDocTips|Index]]#% #%[[gtkdialogDocTips9.15|Next ❱❱❱]]#%**@@===
Deletions:
@@**#%[[gtkdialogDocTips9.13|❰❰❰ Previous]]#% #%[[gtkdialogDocTips|Index]]#% #%[[gtkdialogDocTips9.15|Next ❱❱❱]]#%**@@
Additions:
====9.14 Checkbox with image====
This example shows how to add an image beside the label of a checkbox. Be aware that this technique only works for gtk stock-items.
%%(language-ref)
<checkbox use-stock="true" label="gtk-fullscreen" image-position="1" tooltip-text="checkbox derives from button ...">
</checkbox>
<button use-stock="true" label="gtk-quit">
</button>
%%
@@**#%[[gtkdialogDocTips9.13|❰❰❰ Previous]]#% #%[[gtkdialogDocTips|Index]]#% #%[[gtkdialogDocTips9.15|Next ❱❱❱]]#%**@@
This example shows how to add an image beside the label of a checkbox. Be aware that this technique only works for gtk stock-items.
%%(language-ref)
<checkbox use-stock="true" label="gtk-fullscreen" image-position="1" tooltip-text="checkbox derives from button ...">
</checkbox>
<button use-stock="true" label="gtk-quit">
</button>
%%
@@**#%[[gtkdialogDocTips9.13|❰❰❰ Previous]]#% #%[[gtkdialogDocTips|Index]]#% #%[[gtkdialogDocTips9.15|Next ❱❱❱]]#%**@@
Deletions:
What should happen when the user double-clicks on an image-file in your gui. In some cases it is logical to show the image in an image-viewer... but it is no need of linking all kinds of extensions to different programs. - It is already done by the filebrowser. Puppy uses 'rox' and if you execute ##rox /path/image.png## the image will show up in the defined viewer. Just as simple as that.
@@**#%[[gtkdialogDocTips9.12|❰❰❰ Previous]]#% #%[[gtkdialogDocTips|Index]]#% #%[[gtkdialogDocTips9.14|Next ❱❱❱]]#%**@@