Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » FileSel is now using icons from windows....
Re: FileSel is now using icons from windows.... [message #11111 is a reply to message #10903] |
Mon, 20 August 2007 16:53   |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
I've got an idea of how to do this, but I haven't been able to test it yet. It's considerably more complicated than on Windows.
It should go something like this:
First check the standard icons paths/names as defined by the Tango project (I have seen these on their website, but it currently seems to be down ). This seems to be the standard adopted by KDE (it's where my icons are anyway), but I'm unsure about GNOME.
If the icon is not found fallback to Gtk icons by using GtkImage("gtk-home") etc. as defined here. This should be correct for Gnome, but appears to be less complete than the Windows selection or the Tango project.
This is not very pleasant, but seems to be the only Desktop agnostic way.
Edit: Actually it seems I'm mistaken about the KDE icons. Now I can't find them anywhere...
[Updated on: Mon, 20 August 2007 17:23] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Aug 28 08:53:23 CEST 2025
Total time taken to generate the page: 0.07116 seconds
|