[pygtk] text buffer - pygtk (or source buffer - pygtksourceview buffer) column selection or block selection or rectangular selection

2012-05-29 Thread Giuseppe Penone
Hi, I'm wondering if in pygtk there's a way to obtain the so called column selection or block selection or rectangular selection. If anybody uses geany, keeping pressed ctrl+alt while performing the selection will give the idea of the result. Geany is gtk2 but unfortunately uses scintilla to

[pygtk] Pygobject TreeView

2012-05-29 Thread sylvain mouquet
Hi, I have a TreeView with a TreeviewFilter and with a TreeviewSorter. When i create the TreeviewSorter, the constructor does not allow to add the model. I dont know how can i set the model of the TreeviewSorter : treemodelsort = Gtk.TreeModelSort(self.treeModelFilter) TypeError:

Re: [pygtk] Pygobject TreeView

2012-05-29 Thread Simon Feltman
Hi Sylvain, GObject properties can be set in constructors using keyword args. This allows for setting properties flagged as construct-only. So try this: treemodelsort = Gtk.TreeModelSort(model=self.treeModelFilter) -Simon On Tue, May 29, 2012 at 10:39 AM, sylvain mouquet

Re: [pygtk] Pygobject TreeView

2012-05-29 Thread sylvain mouquet
Hi Simon, It works thanks Sylvain 2012/5/29 Simon Feltman s.felt...@gmail.com Hi Sylvain, GObject properties can be set in constructors using keyword args. This allows for setting properties flagged as construct-only. So try this: treemodelsort =