On 1 Oct, Stewart Allen wrote:
>> 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.
>
Hmmm... seems to me as though I wrote an application with vtcl which
does that. I'll have a look at it an send part of the code to the list
to show what I've done. I'd try to explain but I don't remember how I
got it working.
--
Laurent Duperval, Systems Analyst Grafnetix Systems Inc.
Tel: (514) 861-3389 777, de la Commune Ouest
Fax: (514) 866-6206 Suite 101, Montreal, Qc
[EMAIL PROTECTED] Canada, H3C 1Y1
URL: http://www.Grafnetix.COM/
Personal URL: http://www.Grafnetix.COM/~laurent/
---------------------------------------------------------------------------
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).