Re: [pygtk] Let's split it up...

2008-07-01 Thread Alessandro Dentella
Ok, I try to split it into very little bits... I want a CheckButton that doesn't react to click. I thought to connect a handler to the signal clicked that just return True but it does not work. What's wrong? sandro w = gtk.Window() c1 = gtk.CheckButton('toggle and clecked - True') w.add(c1)

Re: [pygtk] Entry dir autocompletion

2008-07-01 Thread Mitko Haralanov
On Tue, 01 Jul 2008 14:59:57 +0200 Timo [EMAIL PROTECTED] wrote: Anyone with a working example? Here you go: import pygtk import gtk import gobject import os import dircache def entry_changed (editable, *user_data): comp = user_data[0] text = editable.get_text () matches = []

Re: [pygtk] Let's split it up...

2008-07-01 Thread Tim Evans
Alessandro Dentella wrote: Ok, I try to split it into very little bits... I want a CheckButton that doesn't react to click. I thought to connect a handler to the signal clicked that just return True but it does not work. What's wrong? sandro w = gtk.Window() c1 = gtk.CheckButton('toggle