Re: Displaying domain objects with GtkTreeView

2011-11-28 Thread Tristan Van Berkom
2011/11/28 Rafał Krupiński : > On 28.11.2011 14:17, Tristan Van Berkom wrote: >> >> 2011/11/28 Rafał Krupiński: >>> >>> Hi all! >>> >>> How do I display list of custom objects in GtkTreeView? >>> GtkTreeView takes GtkListStore as a model, but it doesn't allow custom >>> objects, only list of gobjec

Re: Displaying domain objects with GtkTreeView

2011-11-28 Thread Tristan Van Berkom
2011/11/28 Rafał Krupiński : > Hi all! > > How do I display list of custom objects in GtkTreeView? > GtkTreeView takes GtkListStore as a model, but it doesn't allow custom > objects, only list of gobjects. What could that possibly mean ? If you have custom derived GObjects, you can certainly popu

Re: obtain parent from menu callback

2011-11-28 Thread jcupitt
Hi Steve, On 26 November 2011 08:27, Steve . wrote: > I've got a GtkItemFactoryEntry popup menu, the menu pops up from a button > press event using gtk_menu_popup. I found the best solution was to make my own menus and use quarks set on them to link them to their context. I build the menus in my

Displaying domain objects with GtkTreeView

2011-11-28 Thread Rafał Krupiński
Hi all! How do I display list of custom objects in GtkTreeView? GtkTreeView takes GtkListStore as a model, but it doesn't allow custom objects, only list of gobjects. On the other hand, when I want to read list's selection all I get is the GtkListStore model - list of gobjets and I have to figure