IMAGE IN A DATA WINDOW

Moderator: GiD Team

Post Reply
c.souto
Posts: 8
Joined: Thu Oct 17, 2019 5:11 pm

IMAGE IN A DATA WINDOW

Post by c.souto »

Good morning,

When I insert an image in a data window it appears at the top of the window, however I would like to know if there is a way to include spaces or make it appear in a lower area (next to the command that makes it appear).

Thank you very much in advance. :)
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

Re: IMAGE IN A DATA WINDOW

Post by escolano »

There is not any option to control the behavior or placement of the image field, you can only control the image itself.

For more advanced features you can use 'tkwidged field' where you can replace the row of the window representing the question (an entry by default) by other widgets.
Can have a look inside <GiD>/scripts/dev_kit.tcl for some procs predefined by us to be used as tkwidged fields
(e.g. GidUtils::TkwidgetGetFilenameButton to show an entry and a button that allow select a file with a file-browser)

And off course you can replace the whole default data window by your own window created with Tcl/Tk scripting.
Post Reply