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

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
an GtkTreeView...
in menu edit of GtkTreeView, I make the option to use the GtkTreeStore

but, in runtime testing I don't obtain the Tree model in the window

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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]