![]() If you have your own theme, bundle the files (gtkrc, other included gtkrc files, icons, images, etc.) inside your. With your application you can assign gtk to use one of the mono installed themes or one that your application provides.īefore the () you can do the following to assign the gtkrc file: gtk.rc.adddefaultfile () ref: another good q/a : gtk+ application specific skin possible?.ref: very good stack exchange related to this.gtk_theme does work in gtk3 (but mono is gtk2 bound) You are supposed to be able to set environment var gtk2_rc_files in your app startup script, but i never had any luck with this. ![]() gtkrc files (imho: how many users really know how to do that or would even what to and the support nightmares of 'expert' end-users tweaking the ui, i prefer locking the uix experience to something uniform to all users, but, again, that is just my opition). The one located in the /etc/gtk-2.0 is the default (tango style) while one of the alternatives is 'xamarin' and is the one that is used to stylize xamarin studio (internally named "mac theme for xamarian").Īs for controlling which theme is applied to your application, you can allow the user to control it via $home directory based. Location : /library/frameworks/amework/versions/4.2.1 find. Mono on os-x installs a default gtk2 theme ( gtkrc) and few alternative themes: the internals of gtkrc-based files are out-of-scope here, but there are plenty of references on the web for gtk 2.0 resources/theming. these resources files can be standalone, include other resources files and reference external images (icons), etc. Theming is handled in gtk 2 via resource files with the master normally named 'gtkrc'. ![]() per application theming via environment var. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |