No, your app will run with icons.

Visual Tcl uses the full path for editing your project, but at the time it
loads the
image, it tries the full path first, then checks for the image in the
current directory.
(Look at the ...get_image function)

If you ship your application with its icons in the same directory as your
.tcl file, it will find them.

Or, you can save your application with inline images as a single .tcl file.

CG



|--------+------------------------------------->
|        |          jouke hylkema              |
|        |          <[EMAIL PROTECTED]> |
|        |          Sent by:                   |
|        |          [EMAIL PROTECTED]|
|        |          eforge.net                 |
|        |                                     |
|        |                                     |
|        |          08/21/2001 03:02 AM        |
|        |          Please respond to vtcl-user|
|        |                                     |
|--------+------------------------------------->
  
>-----------------------------------------------------------------------------------------------------------|
  |                                                                                    
                       |
  |       To:     [EMAIL PROTECTED]                                      
                       |
  |       cc:                                                                          
                       |
  |       Fax to:                                                                      
                       |
  |       Subject:     [vtcl-user] portability problem                                 
                       |
  |                                                                                    
                       |
  
>-----------------------------------------------------------------------------------------------------------|




Hello list *S*

I have the following portability problem.
Vtcl stores mages locations using absolute paths.

     {{[file join / scratch02 hylkema local HyBrow icons exit.ppm]} {user
image} user {}}

This means that my aplications will run without icons on any machine that
does not respect the original
absolute directory structure.My question is thus, is there a way to impose
relative paths for image references ?


Jouke

_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user




_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to