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

John Delaney johndelaney at gmail.com
Fri Apr 1 12:20:37 EDT 2011


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.


More information about the Glade-users mailing list