|
From: Michael K. <mi...@mu...> - 2005-01-31 01:17:34
|
bind $label <ButtonRelease-1> { whatever your button's -command was }
On Sun, 30 Jan 2005, Kevin Walzer wrote:
> Date: Sun, 30 Jan 2005 20:13:20 -0500
> From: Kevin Walzer <sw...@wo...>
> To: Michael Kirkham <mi...@mu...>
> Cc: tc...@li..., tkt...@li...
> Subject: Re: [Tile-dev] ANN: VuMan,
> a Man Page Viewer for OS X: written with TclTkAqua and Tile
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm not sure I follow you. How would they be able to execute commands if
> they were labels instead of buttons? (I tried changing one to a
> ttk::label and just got an error.)
>
> Cheers,
>
> Kevin Walzer, PhD
> WordTech Software--Open Source Applications and Packages for OS X
> http://www.wordtech-software.com
> http://www.smallbizmac.com
> http://www.kevin-walzer.com
> mailto:sw...@wo...
>
> Michael Kirkham wrote:
> | On Sun, 30 Jan 2005, Kevin Walzer wrote:
> |
> |> As always, feedback, comments and suggestions are welcome.
> |
> |
> | Are those buttons in the toolbar ever in the disabled state? If not,
> | you might consider using ttk::label instead of ttk::button for them.
> | You can make them flat that way so they look more like, say, the XCode
> | or System Preferences buttons (though I find XCode's buttons kind of
> | annoying behavior-wise (no interactive feedback), but I like the flat
> | look).
> |
> | Unfortunately, Tk and Tile both have the same problem that images turn
> | into white squares in labels that are in the disabled state because
> | there's no provision for stippling in the XFillRectangle wrapper on
> | Aqua. But that's not a problem if the labels are never disabled.
> |
> | --
> | Michael Kirkham
> | www.muonics.com
> |
> |
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFB/YYvJmdQs+6YVcoRAn52AJ0c+L2BT3bDS07W4axfdjkTQxiP5gCfVLA3
> eMrIRoZy4sTpYGVXB4Q/S50=
> =f7wG
> -----END PGP SIGNATURE-----
>
--
Michael Kirkham
www.muonics.com
|