Page 1 of 1
TreeGadget images?
Posted: Wed Feb 08, 2006 6:37 am
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
Posted: Wed Feb 08, 2006 12:40 pm
by Fred
If fact the treegadget() doesn't support images for now, that's why it doesn't display

.
Posted: Wed Feb 08, 2006 3:12 pm
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.
Posted: Wed Feb 08, 2006 5:41 pm
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?
Posted: Wed Feb 08, 2006 5:48 pm
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.
Posted: Wed Feb 08, 2006 9:39 pm
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)?