search for: gtktreeviewcolumnnewwithattribut

Displaying 1 result from an estimated 1 matches for "gtktreeviewcolumnnewwithattribut".

2011 Apr 04
1
RGtk2: How to populate an GtkListStore data model?
...m trying several day to mount the code... Thanks in advanced Cleber N. Borges --------------------------- # my testing code library(RGtk2) win <- gtkWindowNew() datamodel <- gtkListStoreNew('gchararray') treeview <- gtkTreeViewNew() renderer <- gtkCellRendererText() col_0 <- gtkTreeViewColumnNewWithAttributes(title="TitleXXX", cell=renderer, "text"="Bar") nc_next <- gtkTreeViewInsertColumn(object=treeview, column=col_0, position=0) gtkTreeViewSetModel( treeview, datamodel ) win$add( treeview ) # is there an alternative function for this? # iter <- gtkTreeModelGet...