Questions tagged [gtktreeview]

GtkTreeView is a widget for displaying both trees and lists. It is part of the GTK library.

217 questions
0
votes
1 answer

Updating TreeView after changing CellRendererCombo (Gtk#)

Could somebody point me in the right direction on how to update a Gtk.TreeView after changing a CellRendererCombo in Gtk#? Since the only example I found was in Python, I tried to port the example to C#, but without success so far. The Python…
draptik
  • 470
  • 3
  • 19
0
votes
1 answer

Ruby GtkTreeView reorder

I have to use a Gtk DnD sorted treeview. There is no problem with the DnD but I do not understand how to sort nodes. I am trying to use Gtk::TreeStore.reorder(parent, new_order) but I do not understand what is wrong. Extract form my code : @store =…
0
votes
1 answer

Why does gtk_tree_selection_select_iter() does not select an child row of another row even when iter is valid?

I have an application (sscce code that works here) with a GtkTreeView. Every time a line is selectd, a callback is invoked. This callback should retrieve the selected row and process its data someway. My application has to select some lines of this…
brandizzi
  • 26,083
  • 8
  • 103
  • 158
0
votes
1 answer

Tidy way to delete image from Gtk::TreeStore

I have an dialog window with Gtk::TreeView. This dialod shows main filesystem tree and provides option to select folders on the disk. When user selects some folder, I am adding an Gtk::Stock image to the row that represents that folder. To do this,…
mc.suchecki
  • 1,898
  • 4
  • 23
  • 44
0
votes
1 answer

Rather than model, get value of cellrenderer in a GtkTreeView

For set data to the treeview, I'm using the set_cell_data_func at some columns. source like this: myRenderer = gtk.CellRendererText() column = gtk.TreeViewColumn("col1", myRenderer, text=columnId) column.set_cell_data_func(myRenderer, func1) def…
0
votes
2 answers

Gtk treeview problems

I have a simple treeview (like this one - http://www.mono-project.com/GtkSharp_TreeView_Tutorial) filled with 200 items and connected to scrollbar. Everything works, but when I select an item and use arrow keys, selected item can be out of visible…
matej148
  • 155
  • 1
  • 13
0
votes
1 answer

how to obtain height of treeview/treeviewcolumn?

how can I obtain height of treeview/treeviewcolumn, please? I have simple code with layout (inside is big treeview) and vertical scrollbar in the table. When I set small height of layout, I do not see all items of treeview and when I set it big, I…
matej148
  • 155
  • 1
  • 13
1 2 3
14
15