pyGTK, Buttons and Pixmaps problem

Fulko van Westrenen fulko at lina.dto.tudelft.nl
Fri Nov 28 04:49:19 EST 2003


On Thu, 27 Nov 2003 19:21:57 GMT, David M. Cook <davecook at nowhere.net> wrote:
>In article <slrnbscfk0.c1h.fulko at lina.dto.tudelft.nl>, Fulko van Westrenen
>wrote:
[...]
>
>For a toggle button, you want to handle the "toggle" signal. 

OK

>Also, for
>getting the icon to change between states I think you want to look at the
>IconSet and IconSource APIs:
>
>http://www.gnome.org/~james/pygtk-docs/class-gtkiconset.html

Dear Dave,
Thank you for your hint. I read this forward and back again, but I can't 
figure how to apply this. Is there example-code somewhere that shows a
changing image when pushing the button?
Best,
Fulko

>
>Dave Cook


-- 
Fulko van Westrenen




More information about the Python-list mailing list