On Wed, Aug 25, 2010 at 9:09 PM, <luiz@xxxxxxxxxxxxxxx> wrote: > Hi > > I have some questions about tree view that i could not find the answer > googling. Try the api reference here: http://library.gnome.org/devel/gtk/2.90/ch01.html > > First, how can I select all items of an tree view? Use the delegate GtkTreeSelection object... (make sure your view is configured to allow multiple selections) > Second, how can I select the last item of an tree view? Same as above... use the tree selection apis... > How to delete an column? In the api reference: http://library.gnome.org/devel/gtk/2.90/GtkTreeView.html#gtk-tree-view-remove-column > How to get number of items inside the tree view There are not really any items in the treeview, the treeview is a widget that renders the data that is in your GtkTreeModel implementation (or usually you are using a standard GtkListStore or GtkTreeStore). > > and how to add an scrollbar to tree view. i use this code > [...] > > > I´m getting an warning becouse i cannot cast an gtkFixed to an gtk box A GtkBox is not a GtkFixed... unless you are writing some kind of embedded kiosk like application that runs at a fixed resolution; you probably dont want to use GtkFixed at all (i.e.: your interface will resize properly and be usable on a variety of desktops if you avoid using the special case GtkFixed widget). Cheers, -Tristan > > Regards and thanks in advance > Luiz > > > > _______________________________________________ > gtk-list mailing list > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list > _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list