gtktreeview
pygtk assertion fail when using a generator to thread and callback to add elements to a treeview due to treeviewiter parent
Using the Generator class from http://unpythonic.blogspot.com/2007/08/using-threads-in-pygtk.html, the following code makes my program fail:[详细]
2023-01-28 13:15 分类:问答Glade treeview liststore data not visible, can't imagine why
I\'ve got 99% 44/100 of everything working. I have a glade file, I use gtkbuilder to render it and voila it comes up. Everything except the data in my treeview liststore.[详细]
2023-01-27 17:32 分类:问答Can you have a GtkTreeView that only has checkboxes on the children rows?
I\'d like to have a GtkTreeView that has parents with no checkbox, and all of the children开发者_开发百科 have checkboxes. Everything I have tried (and seen) puts checkboxes on every row.Looks like th[详细]
2023-01-26 21:17 分类:问答Row Background Color GtkTreeView Widget
I\'m attempting to color disabled rows in a gtk tree view widget a light gray color.From what I\'ve read, I\'m supposed to set the background-gdk property of the corresponding cellrenderer and bind it[详细]
2023-01-25 03:54 分类:问答Prevent Treeview selection loss on drag and drop
I have a gtk.Treeview setup as a drag source: self.drag_source_set(gtk.gdk.BUTTON1_MASK, targets, gtk.gdk.ACTION_COPY)[详细]
2023-01-22 18:05 分类:问答Detect when column in gtk.treeview is resized
What signal can I catch to detect when a column changes size in a gtk.T开发者_如何学运维reeView? I can\'t seem to find it in the docs.gtk.TreeViewColumns aren\'t widgets so they unfortunately don\'t h[详细]
2023-01-21 18:30 分类:问答Get the width of a TreeViewColumn that would like to be if it were autosized
Is there a way to get the width, in pixels, that a gtk.TreeViewColumn would want to be if the sizing mode was set as gtk.TREE_VIEW_COLUMN_AUTOSIZE, even if it\'s currently gtk.TREE_VIEW_COLUMN开发者_S[详细]
2023-01-21 04:40 分类:问答Add gtk.TreeView columns to a size group
I want to stack two treeviews on each other and have the columns be aligned. I figured the way to do this would be to use a gtk.SizeGroup somehow. However, gtk.TreeViewColumn开发者_如何学C is not a wi[详细]
2023-01-20 16:59 分类:问答gtk.treeviewcolumn not sorting
I\'ve gotten a sortable treeview working. Clicking on the columns makes it sort by ascending order, and clicking it again makes it sort by descending order. However, if I click on the column head开发者[详细]
2023-01-19 18:30 分类:问答PyGTK - Adding Rows to gtk.TreeStore
After following the official tutorial here: tutorial I\'m still having issues adding rows/creating a TreeIter object. Here\'s what my code looks like:[详细]
2023-01-19 13:31 分类:问答