Displaying 1 result from an estimated 1 matches for "gtkliststoreinsert".
2011 Apr 04
1
RGtk2: How to populate an GtkListStore data model?
...col_0,
position=0)
gtkTreeViewSetModel( treeview, datamodel )
win$add( treeview ) # is there an alternative function for this?
# iter <- gtkTreeModelGetIterFirst( datamodel )[[2]]
# this function don't give VALID iter
# gtkListStoreIterIsValid( datamodel, iter ) result in FALSE
iter <- gtkListStoreInsert( datamodel, position=0 )[[2]]
gtkListStoreIterIsValid( datamodel, iter )
# the help of this function say to terminated in -1 value
# but -1 crash the R-pckage (or the gtk)...
gtkListStoreSet(object=datamodel, iter=iter, 0, "textFoo")
# don't make any difference in the window... :-(...