[Glade-users] is there an example or tutorial about the use of 'GtkTreeStore' in the Glade?

Anthony Dardis adardis at gmail.com
Fri Apr 1 13:21:20 EDT 2011


On Mac OS X at least there is a problem; you can find the conversation I  
had with Tristan van Berkom on this list at the end of December.

(The path to a fix was to get a newer version of Glade and a newer version  
of Gtk-OSX; I haven't had the time to do this yet.)




On Fri, 01 Apr 2011 12:20:37 -0400, John Delaney <johndelaney at gmail.com>  
wrote:

> On Fri, Apr 1, 2011 at 5:11 PM, Cleber N. Borges <klebyn at yahoo.com.br>  
> wrote:
>> in first place, I create an GtkTreeStore object in glade, and after, I
>> create
>> an GtkTreeView...
>> in menu edit of GtkTreeView, I make the option to use the GtkTreeStore
>> model...
>>
>> but, in runtime testing I don't obtain the Tree model in the window
>> display...
>
> Have you defined cell renderers for the tree view columns? Select the
> tree view and click on Edit to access the Tree View Editor, go to the
> "Hierarchy" tab to add/remove tree view columns, then right click a
> column to add the appropriate child cell renderer(s). Then you'd need
> to edit the relevant properties of each cell renderer, e.g. tell it to
> get the 'text' property from column 3 of the model for a text
> cellrenderer.
> _______________________________________________
> Glade-users maillist  -  Glade-users at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-users


More information about the Glade-users mailing list