Kristian Rietveld escribió:
> To the constructor of gtk.TreeModelSort you want to pass in self.filter
> as child model. Then set the resulting "sort model" as model to show in
> the tree view.
>
Okey, I'll do that. I should have seen that before :-[ . Thanks for the
help!
_
On Sat, Sep 29, 2007 at 01:14:56PM -0300, Mat??as Alejandro Torres wrote:
> Thank you both for your reply.
>
> I'm working on python, and I can't find functions to add the sortable
> functions to an instance of a GtkTreeModel.
>
> /* This one receives the model and update the GUI */
> def set_mo
On Fri, Sep 28, 2007 at 11:49:50PM -0300, Mat??as Alejandro Torres wrote:
> Is someone implementing this interface in the GtkTreeModelFilter? I've
> checked in Gtk 2.12 docs and I THINK this isn't implemented yet. If
> somemone can confirm this, I would appreciate it.
The GtkTreeModelFilter is n
On Tue, Sep 25, 2007 at 05:45:51PM -0600, Jeffrey Barish wrote:
> Is there a way to be notified when the width of a column in a treeview
> changes? I would like to record the new column widths so that I can set
> them to the same values the next time the window opens. The only signal in
> TreeVie
On Sun, Sep 30, 2007 at 11:08:05AM -0600, Jeffrey Barish wrote:
> After making some changes to my program (not directly related to the GUI), I
> find that one treeview has a background of alternating light and dark
> bands, but only for certain data sets. I never set the background in my
> code, s
alex wrote:
> Actually I am porting a Windows .NET software to GTK.
> So some procedure I use (as false color convertion) is written. I will
> use it as is because it's not depending on GTK or else...
Are you porting it to GTK# and C# then?
>
> Anyway...
> First I create a color structure wich d
On Sun, 2007-09-30 at 10:07 -0400, dhk wrote:
> I have a notebook with a treeview on each page. I'm trying to reference
> a treeview on a notebook tab when it is clicked and compare it to
> another treeview on another tab; I'm using the "switch-page" signal.
> The treeviews are in vbox's in the t
On Sun, 2007-09-30 at 10:56 +0100, Keith Feesh wrote:
> Hello, I have been developing a drawing application for quite some time now
Interesting, which one? :-)
[...]
> The way that I do things now includes redrawing the entire canvas every time
> the mouse is moved, in order to clear the old
> ou
On Sun, Sep 30, 2007 at 11:08:05AM -0600, Jeffrey Barish wrote:
> After making some changes to my program (not directly related to the GUI), I
> find that one treeview has a background of alternating light and dark
> bands, but only for certain data sets. I never set the background in my
> code, s
After making some changes to my program (not directly related to the GUI), I
find that one treeview has a background of alternating light and dark
bands, but only for certain data sets. I never set the background in my
code, so I expect it to be white for every data set. The program has this
beha
I have a notebook with a treeview on each page. I'm trying to reference
a treeview on a notebook tab when it is clicked and compare it to
another treeview on another tab; I'm using the "switch-page" signal.
The treeviews are in vbox's in the tabs and I can't seem to get to the
one on the tab that
On 9/30/07, Keith Feesh <[EMAIL PROTECTED]> wrote:
> The way that I do things now includes redrawing the entire canvas every time
> the mouse is moved, in order to clear the old
> outline's drawing, and then to redraw the outline once again. This brings my
> system to it's knees and I figure there
Well actually it depends.
when you move the cursor you just blit the
buffer with no cursor to the topmost buffer, and repaint the cursor.
Bliting the buffer should be quite fast, so if your image is like lots of
shape objects you render every time this is many times faster.
If this is analogous t
There is indeed a method.
One would probably call it double buffering (anthough when you're done with
your program you might have moe like quad buffering...
The idea is to render everything in layers:
bottom layer = your image (data, etc)
above: rulers, marks, selection box, etc (semi-static stu
Hello, I have been developing a drawing application for quite some time now
and I have implemented an outline system
which shows where your next drawing operation will go (just load up the
gimp, go on the paintbrush tool and select a size 11
brush if you don't quite get what I mean).
The way that
15 matches
Mail list logo