Cameron Laird wrote:
> In article <[EMAIL PROTECTED]>,
> Grayson, John <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >Buttons can look like labels without the need to create another object -
> >just remove the
> >Command binding, set state to DISABLED and disabledforeground='same
> >color as NORMAL'...
Andrew Gwozdziewycz wrote:
> It's imperative that you explain which toolkit you are using since
> they all have differences.
however, if you knew the answer, you would have recognized what toolkit
he was using.
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Grayson, John <[EMAIL PROTECTED]> wrote:
>
>
>
>Buttons can look like labels without the need to create another object -
>just remove the
>Command binding, set state to DISABLED and disabledforeground='same
>color as NORMAL'...
>
>This demonstrates how to play with
John Grayson
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Dustan
Sent: Tuesday, June 13, 2006 9:14 AM
To: python-list@python.org
Subject: Making a Label that looks the same as a button.
I have a Button object that gets replaced by a Label when click
It's imperative that you explain which toolkit you are using since
they all have differences.
On Jun 13, 2006, at 9:14 AM, Dustan wrote:
> I have a Button object that gets replaced by a Label when clicked.
>
> Button(buttonsframe,text=' ',command=c,font=buttonsFont)
> Note that the text is a si
On 13 Jun 2006 06:14:03 -0700, Dustan <[EMAIL PROTECTED]> wrote:
> I have a Button object that gets replaced by a Label when clicked.
>
> Button(buttonsframe,text=' ',command=c,font=buttonsFont)
> Note that the text is a single space. buttonsFont uses 'Courier New' as
> a family.
>
> When clicked,
I have a Button object that gets replaced by a Label when clicked.
Button(buttonsframe,text=' ',command=c,font=buttonsFont)
Note that the text is a single space. buttonsFont uses 'Courier New' as
a family.
When clicked, the Button is destroyed and replaced with a Label object:
Label(buttonsframe,