Revision [32935]

This is an old revision of gtkdialogDocTips9.5 made by zigbert on 2020-07-31 03:17:21.

 

HomePage > SoftwareIndex Software Index > SoftwareDevelopment Development > gtkdialog gtkdialog > gtkdialogDocTips Tips and Tricks

9.5 Window header icon


You can add your own icon (symlinks also work) if you place it in a gtk-theme directory structure as /usr/share/icons/hicolor/. ie. /usr/share/icons/hicolor/48x48/apps/games48.png
Now, run this command in the terminal to refresh the icon cache;
gtk-update-icon-cache -f -i /usr/share/icons/hicolor
Your gtkdialog code would look like this;
<window title="A GTKDialog" icon-name="games48" resizable="false" decorated="true">



Categories
CategoryGtkdialog
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki