Hi All,
I am working on an application using gtk in the weston compositor . While running the application the close ,maximise and minimise icons are not showing . But it is showing in the NXP demo experience app.
Any one have idea in wayland systems.
This same code when compiled and run in ubuntu laptop works fine.
Solved! Go to Solution.
Hi All,
The issue was solved by adding the index.theme file to the icons directory.
how to change the location for icons ,in gtk
Hello el14,
GTK resizes the icons to whatever size they need to be. According to the Icon Theme Specification, you should make at least one 48x48 icon, and optionally a scalable SVG icon. That is enough to be able to display any of those sizes.
The Tango Icon Theme Guidelines recommend some supplementary sizes that you can make, in order to minimize how often the icon has to be resized internally by GTK.
Regards
Hi
Do we have an option to set the icons through code ?
currently while calling the function ' window = gtk_window_new(GTK_WINDOW_TOPLEVEL); '
the window is generated with all default decorations in ubuntu. But in wayland system with weston the decorations are not set.
Hi All,
The issue was solved by adding the index.theme file to the icons directory.