GtkTreeView is a widget for displaying both trees and lists. It is part of the GTK library.
Questions tagged [gtktreeview]
217 questions
0
votes
1 answer
Java-gnome (GTK): why is my TreeView displayed empty?
I'm trying to display a list of strings (filenames, to be pedant) inside a GtkTreeView. I'm creating a single column and trying to fill it with a CellRenderText.
//Setup listview
TreeView imageList =…

penguin86
- 109
- 7
0
votes
2 answers
How to highlight first node of GtkTreeView
I would like to highlight the first node of a GtkTreeView and give that node the focus. gtk_tree_view_row_activated () seems appropriate for what I am trying to do, but I couldn't figure out the arguments it takes.
Thanks in advance.

hckr
- 5,456
- 1
- 20
- 31
0
votes
1 answer
GtkTreeView select row editing a column
I'm working with c, glade and gtk2
One column is editable. Editing one value, scrolling to no visible row and select (clicking) on one of this rows, the cursor go to one third row. The row selected is near edited value on the same row displayed…

Victor
- 1
0
votes
1 answer
GtkCellRendererToggle - color of toggle button inside treeview
I have a treeview that uses GtkCellRendererToggle to display toggle buttons inside cells. My question: Is is possible to set the color just for the toggle button there? I only know how to set the cell background, which is done like…

GTK 1.2.6 fanboy
- 839
- 1
- 5
- 20
0
votes
1 answer
How to select a GtkTreeview row by id in C
I want to select a GtkTreeview row by specifying an ID with the C GTK+ version.
I found this function:
gtk_tree_selection_select_iter (GtkTreeSelection *selection, GtkTreeIter *iter);
Unfortunately, I don't know how to get GtkTreeSelection and…

MHDaouas
- 159
- 2
- 13
0
votes
1 answer
Dynamically add rows to GTK List PyGObject
I'm trying to add items dynamically detected into a PyGTK listview.
I'm using Python 3 and PyGObject.
Here are some example lists:
['MomAndKids', 'ddwrt', 'Squirt', 'blurb']
['WPA1', 'Open', 'WPA2', 'WEP']
['44/70', '38/70', '66/70', '55/70']
I…

Cody Dostal
- 311
- 1
- 3
- 13
0
votes
1 answer
How to reload treeview content?
I have a PyGTK application with a gtk.TreeView and a gtk.TreeStore that I have populated with a couple of rows. This works really well, but now I want to reload the content of the tree view and I don't really understand how to do this.
So I clear…

Andy
- 1
0
votes
0 answers
Re-using an existing GtkTreeView
TL;DR: assertion 'VALID_ITER (parent, tree_store)' failed. How do I fix it?
I've successfully displayed a GtkTreeView in my application with the following (trimmed) code:
enum { DISPLAY_COLUMN, N_COLUMNS };
GValue comment = G_VALUE_INIT;
GValue…

Glen Solsberry
- 11,960
- 15
- 69
- 94
0
votes
2 answers
How to manually draw the GtkTreeView expander
I'm using a GtkTreeView widget and I want to change the appearance of the "expander" icon that opens and closes child rows: I want the icons to be the triangels that we're all familiar with, but they're appearing as boxed "+" and "-" symbols…

user2062604
- 247
- 3
- 16
0
votes
1 answer
First TreeViewColumn is not rendering
I have an window defined in a gtk-builder file made with Glade. It contains a gtk.Window, with a child gtk.TreeView with 2 gtk.TreeViewColumns: