Ok, here the result :<br><br>Desired=Unknown/Install/Remove/Purge/Hold<br>| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend<br>|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)<br>||/ Name Version Description<br>
+++-========================-========================-=============================================<br>un libgtksourceview2.0-dev <none> (no description available)<br><br><br><div class="gmail_quote">
2011/5/18 James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
On Sat, May 14, 2011 at 11:51:05AM +0200, laurent bernabe wrote:<br>
</div>> * in my application, i'm using two gtk.RadioToolButton<br>
<div><div></div><div class="h5">> * the "clicked" handlers of the two RadioToolButton test the active<br>
> property of the event source (so, the RadioToolButton itself)<br>
> * but the SugarOLPC image logs reports me the error "<br>
> 'gtk.RadioToolButton' has no attribute 'active' "<br>
> * however, the PyGTK reference manual says that 'active' is a<br>
> property of gtk.ToggleToolButton, from which RadioToolButton is<br>
> inherited and therefore, handlers are not properly executed<br>
><br>
> So, what is my error ?<br>
<br>
</div></div>You are using GTK+ version 2.0, according to your mail in another thread.<br>
<br>
You are using PyGTK version 2.17.0, according to your mail in another<br>
thread.<br>
<br>
The PyGTK 2.24.0 documentation for ToggleToolButton at<br>
<a href="http://developer.gnome.org/pygtk/stable/class-gtktoggletoolbutton.html" target="_blank">http://developer.gnome.org/pygtk/stable/class-gtktoggletoolbutton.html</a><br>
has a note to the right of the "active" property which says "This<br>
property is available in GTK+ 2.8 and above." The implication is that<br>
the property is not available below GTK+ 2.8. Since you have GTK+<br>
version 2.0, the property is expected to be unavailable.<br>
<br>
But it is surprising that you are using GTK+ version 2.0 ... could you<br>
please check this version number? It would be easy for you to misread<br>
the output:<br>
<br>
COLUMNS=120 dpkg --list libgtk\*-dev<br>
<br>
Here I see:<br>
<br>
ii libgtk2.0-dev 2.24.3-1~sid1 Development files for the GTK+ library<br>
<br>
Which means I am using version 2.24.3. The 2.0 in the package name is<br>
not a version number. This is an easy mistake to make.<br>
<br>
Assuming you are using a version of GTK+ of 2.8 or later, I see no<br>
explanation for your error. I would need to see the source. Please<br>
post a pointer to your git repository, or web page containing the<br>
source.<br>
<br>
By the way, you can obtain matching version documentation for PyGTK on<br>
your system by installing the package python-gtk2-doc, and then opening<br>
the files on the system rather than on internet.<br>
<div><div></div><div class="h5"><br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
</div></div></blockquote></div><br>