[pygtk] Stopping Typing find box in gtk.window when using key accelerator
alsaf
alfraealba at googlemail.com
Sun Jan 10 00:25:50 WST 2010
On Sat, 2010-01-09 at 09:06 -0600, Michael Urman wrote:
> On Sat, Jan 9, 2010 at 08:29, alsaf <alfraealba at googlemail.com> wrote:
> > The keys work after you click the button but if you move the mouse and
> > select another treeview item, a text box at bottom of screen appears.
> > This text box is the same as the one in gtk applications file chooser
> > dialog that pops up and matches all files that start with the text you
> > type in.
> >
> > How do you disable so that when you stop this behaviour from happening?
> > I've tried looking in the API for gtk.Window but I can't anything that
> > looks like this and I don't know what this behaviour is called to google
> > it.
>
> It sounds like you're running into interactive search. It will be easy
> to disable this.
>
> http://www.pygtk.org/pygtk2reference/class-gtktreeview.html#method-gtktreeview--set-enable-search
>
Thanks Michael. I set gtk.TreeView.get_enable_search to False and the
popup box didn't appear when I pressed the keys.
More information about the pygtk
mailing list