Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
mrjt is currently offline  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 Confused). 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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TabCtrl now supports Insert and Remove of tabs
Next Topic: Multidisplay support (in Windows).
Goto Forum:
  


Current Time: Thu Aug 28 16:08:36 CEST 2025

Total time taken to generate the page: 0.06471 seconds