Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-19 Thread laurent bernabe
Thank you very much = i started the python interpreter, imported gtk and then i got, from gtk.gtk_version command the tuple : (2, 20, 1) Regards 2011/5/19 James Cameron qu...@laptop.org On Wed, May 18, 2011 at 04:25:29PM +0200, laurent bernabe wrote: + going to install pygtk2-doc package on

Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-18 Thread James Cameron
On Sat, May 14, 2011 at 11:51:05AM +0200, laurent bernabe wrote: * in my application, i'm using two gtk.RadioToolButton * the clicked handlers of the two RadioToolButton test the active property of the event source (so, the RadioToolButton itself) * but the SugarOLPC image logs reports

Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-18 Thread laurent bernabe
Ok, here the result : Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description

Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-18 Thread laurent bernabe
Oups ! Forgotten CC reply 2011/5/18 laurent bernabe laurent.bern...@gmail.com Oh, i've forgotten - i have not put source online yet : going to use git as soon as possible (newbie here again) - going to install pygtk2-doc package on my sugar : is the best way to consult it is a

Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-18 Thread James Cameron
On Wed, May 18, 2011 at 04:25:29PM +0200, laurent bernabe wrote: + going to install pygtk2-doc package on my sugar : is the best way to consult it is a text editor such as nano ? No. On a Debian derived system, the package name is python-gtk2-doc, and when it is installed the files can be

Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-18 Thread James Cameron
On Sat, May 14, 2011 at 11:51:05AM +0200, laurent bernabe wrote: * in my application, i'm using two gtk.RadioToolButton Looking at your source code, and simplifying it for discussion, you do this: def add(): foo = gtk.RadioToolButton(None, gtk.STOCK_MEDIA_RECORD) foo.set_active(True)

Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-16 Thread James Cameron
On Sat, May 14, 2011 at 11:51:05AM +0200, laurent bernabe wrote: * the clicked handlers of the two RadioToolButton test the active property of the event source (so, the RadioToolButton itself) * but the SugarOLPC image logs reports me the error 'gtk.RadioToolButton' has no

[Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-14 Thread laurent bernabe
Hello everyone, - in my application, i'm using two gtk.RadioToolButton - the clicked handlers of the two RadioToolButton test the active property of the event source (so, the RadioToolButton itself) - but the SugarOLPC image logs reports me the error 'gtk.RadioToolButton' has no