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

Re: obtain parent from menu callback

2011-11-28 Thread jcupitt
Hi Steve, On 26 November 2011 08:27, Steve . iteratio...@gmail.com 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

Re: Displaying domain objects with GtkTreeView

2011-11-28 Thread Tristan Van Berkom
2011/11/28 Rafał Krupiński r.krupin...@gmail.com: 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

Re: Displaying domain objects with GtkTreeView

2011-11-28 Thread Tristan Van Berkom
2011/11/28 Rafał Krupiński r.krupin...@gmail.com: On 28.11.2011 14:17, Tristan Van Berkom wrote: 2011/11/28 Rafał Krupińskir.krupin...@gmail.com: 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,