TkAgg RadioWidget

Before I bang my head against the wall I figured I would

    > check the list. I have a script that uses the radio
    > button widget in a TkAgg. This worked not too long ago,
    > but now it is not responding to clicks with the latest
    > matplotlib. Has there been changes recently to the TkAgg
    > backend that would affect this?

It doesn't look like it:

peds-pc311:~/mpl> svn log lib/matplotlib/backends/backend_tkagg.py

···

------------------------------------------------------------------------
r2139 | dsdale | 2006-03-11 18:11:40 -0600 (Sat, 11 Mar 2006) | 7
lines

added **kwargs to all backend_*.print_figure
methods to provide papertype kwarg to backend_ps

fixed landscape orientation for usetex option

added subprocess module from python-2.4

------------------------------------------------------------------------
r1889 | cmoad | 2005-11-30 14:05:05 -0600 (Wed, 30 Nov 2005) | 2 lines

assume png on no extension save

------------------------------------------------------------------------
r1591 | cmoad | 2005-08-08 09:46:47 -0500 (Mon, 08 Aug 2005) | 2 lines

almost have tkagg blitting working

------------------------------------------------------------------------
r1586 | jdh2358 | 2005-08-05 11:13:26 -0500 (Fri, 05 Aug 2005) | 2
lines

small cursor fix

------------------------------------------------------------------------
r1584 | cmoad | 2005-08-04 14:13:08 -0500 (Thu, 04 Aug 2005) | 2 lines

Added blit to FigureCanvasTkAgg, but it does not account for the bbox
yet.

Maybe it is a tk version problem?

JDH

I shoudl have tried this in the first place. The
widgets/radio_buttons.py example doesn't work at all for me. In fact
quite a few are broken.

buttons.py
check_buttons.py
radio_buttons.py
sliders.py

Do these work for anybody with svn?

- Charlie

···

On 3/29/06, John Hunter <jdhunter@...5...> wrote:

    > Before I bang my head against the wall I figured I would
    > check the list. I have a script that uses the radio
    > button widget in a TkAgg. This worked not too long ago,
    > but now it is not responding to clicks with the latest
    > matplotlib. Has there been changes recently to the TkAgg
    > backend that would affect this?

It doesn't look like it:

peds-pc311:~/mpl> svn log lib/matplotlib/backends/backend_tkagg.py
------------------------------------------------------------------------
r2139 | dsdale | 2006-03-11 18:11:40 -0600 (Sat, 11 Mar 2006) | 7
lines

added **kwargs to all backend_*.print_figure
methods to provide papertype kwarg to backend_ps

fixed landscape orientation for usetex option

added subprocess module from python-2.4

------------------------------------------------------------------------
r1889 | cmoad | 2005-11-30 14:05:05 -0600 (Wed, 30 Nov 2005) | 2 lines

assume png on no extension save

------------------------------------------------------------------------
r1591 | cmoad | 2005-08-08 09:46:47 -0500 (Mon, 08 Aug 2005) | 2 lines

almost have tkagg blitting working

------------------------------------------------------------------------
r1586 | jdh2358 | 2005-08-05 11:13:26 -0500 (Fri, 05 Aug 2005) | 2
lines

small cursor fix

------------------------------------------------------------------------
r1584 | cmoad | 2005-08-04 14:13:08 -0500 (Thu, 04 Aug 2005) | 2 lines

Added blit to FigureCanvasTkAgg, but it does not account for the bbox
yet.

Maybe it is a tk version problem?

JDH

Charlie Moad wrote:

I shoudl have tried this in the first place. The
widgets/radio_buttons.py example doesn't work at all for me. In fact
quite a few are broken.

buttons.py
check_buttons.py
radio_buttons.py
sliders.py

Do these work for anybody with svn?

They don't work for me with GtkAgg, so it is not a Tk-specific backend problem.

I hope it is not something I have broken...

I have never looked at or tested the widgets before.

Eric

···

- Charlie

On 3/29/06, John Hunter <jdhunter@...5...> wrote:

"Charlie" == Charlie Moad <cwmoad@...149...> writes:

   > Before I bang my head against the wall I figured I would
   > check the list. I have a script that uses the radio
   > button widget in a TkAgg. This worked not too long ago,
   > but now it is not responding to clicks with the latest
   > matplotlib. Has there been changes recently to the TkAgg
   > backend that would affect this?

It doesn't look like it:

peds-pc311:~/mpl> svn log lib/matplotlib/backends/backend_tkagg.py
------------------------------------------------------------------------
r2139 | dsdale | 2006-03-11 18:11:40 -0600 (Sat, 11 Mar 2006) | 7
lines

added **kwargs to all backend_*.print_figure
methods to provide papertype kwarg to backend_ps

fixed landscape orientation for usetex option

added subprocess module from python-2.4

------------------------------------------------------------------------
r1889 | cmoad | 2005-11-30 14:05:05 -0600 (Wed, 30 Nov 2005) | 2 lines

assume png on no extension save

------------------------------------------------------------------------
r1591 | cmoad | 2005-08-08 09:46:47 -0500 (Mon, 08 Aug 2005) | 2 lines

almost have tkagg blitting working

------------------------------------------------------------------------
r1586 | jdh2358 | 2005-08-05 11:13:26 -0500 (Fri, 05 Aug 2005) | 2
lines

small cursor fix

------------------------------------------------------------------------
r1584 | cmoad | 2005-08-04 14:13:08 -0500 (Thu, 04 Aug 2005) | 2 lines

Added blit to FigureCanvasTkAgg, but it does not account for the bbox
yet.

Maybe it is a tk version problem?

JDH

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options