On Tue, Sep 2, 2008 at 12:44 AM, akineko [EMAIL PROTECTED] wrote:
On Sep 1, 8:28 pm, Guilherme Polo [EMAIL PROTECTED] 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 =
On Sep 2, 5:46 am, Guilherme Polo [EMAIL PROTECTED] wrote:
Did you even try creating a checkbutton with indicatoron=False ? You
could get surprised.
I didn't. My perception of checkbutton was a button with a check.
So, I tried as you suggested.
Yes, you are right. It is almost what I wanted
Hi everyone,
This is a memorandum so that other people can share the info.
The following methods are declared in the Tkinter Button class.
tkButtonDown(), tkButtonEnter(), tkButtonInvoke(), tkButtonLeave(),
tkButtonUp()
However, they are not working, when you try, you will get:
On Mon, Sep 1, 2008 at 7:45 PM, akineko [EMAIL PROTECTED] wrote:
Hi everyone,
This is a memorandum so that other people can share the info.
The following methods are declared in the Tkinter Button class.
tkButtonDown(), tkButtonEnter(), tkButtonInvoke(), tkButtonLeave(),
tkButtonUp()
On Sep 1, 5:52 pm, Guilherme Polo [EMAIL PROTECTED] wrote:
Are you trying to simulate clicks ? You should be doing it using
event_generate, more below.
Actually, I was trying to implement a sticky button.
(Button Release is done later by another event)
I already tried event_generate.
It
On Mon, Sep 1, 2008 at 10:09 PM, akineko [EMAIL PROTECTED] wrote:
On Sep 1, 5:52 pm, Guilherme Polo [EMAIL PROTECTED] wrote:
Are you trying to simulate clicks ? You should be doing it using
event_generate, more below.
Actually, I was trying to implement a sticky button.
(Button Release is
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
On Mon, Sep 1, 2008 at 11:01 PM, akineko [EMAIL PROTECTED] wrote:
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
On Sep 1, 8:28 pm, Guilherme Polo [EMAIL PROTECTED] 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