On Sep 1, 6:34 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> This is an illusion you have, calling those methods are not the way
> for explicitly controlling button's behavior, not more than generating
> proper events. The explicit way is to not use a button, instead
> (ab)use Canvas.

Some of my custom widgets used Canvas.
When I designed the "sticky" button widget, I briefly considered use
of Canvas but I rejected because the one I wanted is nothing but
Button (except "sticky" behaviour).
I understand that use of Canvas provides greater flexibility but I
felt it was over-kill.
Your insights are very helpful for me and other people when designing
a custom widget.

Aki-
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to