Tkinter: tkButtonDown, tkButtonEnter, tkButtonInvoke, tkButtonLeave, tkButtonUp

Guilherme Polo ggpolo at gmail.com
Tue Sep 2 08:46:13 EDT 2008


On Tue, Sep 2, 2008 at 12:44 AM, akineko <akineko at gmail.com> wrote:
> On Sep 1, 8:28 pm, "Guilherme Polo" <ggp... at gmail.com> wrote:
>> Can you clarify what is this "sticky" behavior ? Are you referring to
>> a toggle button ? If yes, then you might be after a simple
>> Checkbutton:
>>
>> checkbutton = Tkinter.Checkbutton(indicatoron=False, text='test')
>
> I wouldn't spend days to create a custom widget to mimick the
> Checkbutton ;-)
>
> I don't need to describe the detail but once the button was pressed
> for a bit while, a command is sent through communication.
> The button is left being ButtonDown ("sticky") until an
> acknowledgement is sent back through communication.
> This is a way to let the user know the action was acknowledged at
> another end.
>
> I think probably very few people needs such widget.

Did you even try creating a checkbutton with indicatoron=False ? You
could get surprised.

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



-- 
-- Guilherme H. Polo Goncalves



More information about the Python-list mailing list