TreeGadget images?

Mac OSX specific forum
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

TreeGadget images?

Post by Beach »

What format do the icon images need to be in for the TreeGadget on OSX? I have tried 16x16 files in bmp and ico format but neither show up. I do not get an error or anything, just no image. Currently, I use 8x8 bmp files for the TreeGadget on Linux and it works fine.

-Beach
-Beach
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

If fact the treegadget() doesn't support images for now, that's why it doesn't display :oops:.
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

No problem. I'm just glad it was not something I was doing wrong... :) I can use some sort of text symbol for an icon for now.

Are there plans to add this into the OSX version? Thank Fred.
-Beach
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post by Straker »

Since we are on this subject....

The TreeView in Linux PB looks very GTK1, even when using the GTK2 subsystem. Isn't there a cleaner GTK2 TreeView like the one used in Evolution?
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You're right, the treeview and listview should be rewritten for GTK2 (for now it use GTK1 API). We will do that once we will work on v4 for linux.
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post by Straker »

Sweet! Thanks Fred. This must be why

Code: Select all

gtk_tree_view_set_expander_column_(GadgetID(#MyTree),1)
isn't working for me.

On GTK2, Disclosure Triangles are is just an extension of the GtkTreeView and are called Expander Columns, but on the Mac, it seems to be part of their ListView control (although the behavior is identical to TreeView).

So Fred, are you saying that V4 Linux and Mac will be able to use Disclosure Triangles (Mac) and Expander Columns (GTK)?
Post Reply