gtktreeview
Why does my GtkTreeView sort func receive a row with None in it?
I\'ve set up a gtk.TreeView with a gtk.TreeStore. One column contains formatted dollar amounts, and I\'ve set up sorting by that column as follows:[详细]
2023-01-18 05:10 分类:问答Get original row number from .get_model() and .get_path() after TreeView was resorted
So I have this TreeView/TreeStore, which I fill with dat开发者_StackOverflow中文版a from a list. My application uses only said list as reference data. The TreeStore is just constructed for display. An[详细]
2023-01-17 04:41 分类:问答Get new selection in a GtkTreeView during the signal
I want to detect whenever the selection of my gtk.TreeView changes and, when it does, to call a function w/ this information. The only way I\'ve found to do it so far is to attach to all these signals[详细]
2023-01-16 17:38 分类:问答Set cellrenderertext foreground color when a row is highlighted
When I have a gtk.CellRendererText, I can associate its foreground color with one of the tree store\'s columns, and set the foreground-set attribute to True, to change the color of the text in that co[详细]
2023-01-14 00:16 分类:问答Is this possible to draw GtkTreeView listed like GtkIconView?
I am working on a GTK+ application written in python. I obviously use PyGtk. My application is about collections of videos. It\'s a kind of F-spot or Picasa, but for video.[详细]
2023-01-13 08:40 分类:问答Drag drop support for a GtkTreeView where the model is filtered and sorted
As the title suggests, I have a gtk.TreeView whose model is sorted and filtered. According to the documentation: \"Drag and drop reordering of rows only works with unsorted stores.\". The only other i[详细]
2023-01-03 22:11 分类:问答How to correlate gtk.ListStore items with my own models
I have a list of Project objects, that I display in a GtkTreeView. I am trying to open a dialog with a Project\'s details when the user double-clicks on the item\'s row in the TreeView.[详细]
2023-01-03 03:02 分类:问答Gtk# TreeView set a single cell to have a different renderer?
OK this is probably insane, but I want to be able to have a check box at the very top of every row in my tree view. This box will \"disable\" or \"enable\" the ability to use the column. Oh I think it[详细]
2023-01-02 03:00 分类:问答How to truncate a text in a custom GtkCellRenderer?
I trying to create custom GtkCellRenderer with some text. And I want this text truncated, when a size of GtkCellRenderer is smaller than size 开发者_如何学Goof text. For example:[详细]
2023-01-02 01:02 分类:问答Catch PyGTK TreeView reorder
I have a simple gtk.TreeView with a gtk.ListStore model and set_reorderable(True), I want to catch the signal/event emited when the user reorder through drag&drop the list, but the documentation d[详细]
2022-12-30 11:12 分类:问答