On Wed, 1 Oct 1997, Kenn Persinger wrote:
> Um.. has anyone tryed to use wm iconbitmap
> using a image rather than a file?
>
> ie: i know that if i have duh.xbm in my dir,
> and call wm iconbitmap . @duh.xbm
> that it will work perfectly.
>
>
> but if i do this:
> image create bitmap im1 -file duh.xbm
> wm iconbitmap . im1
>
> it informas me that bitmap "im1" does not exist.
This is a particular weakness of the current vtcl implementation. It tries
to immediatedly set the -image for the widget when you type it into the
attribute editor. Since the program hasn't run yet (and the image has not
yet been created), it fails. I haven't yet thought of any elegant ways
around this without a bit of rewrite.
-stewart-
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).