IMAGE IN A DATA WINDOW

Moderator: GiD Team

c.souto
Posts: 4
Joined: Thu Oct 17, 2019 5:11 pm

IMAGE IN A DATA WINDOW

Postby c.souto » Tue Nov 26, 2019 2:20 pm

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: 1593
Joined: Thu Sep 18, 2014 3:31 pm

Re: IMAGE IN A DATA WINDOW

Postby escolano » Tue Dec 03, 2019 12:43 pm

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.

Return to “Customization”

Who is online

Users browsing this forum: No registered users and 2 guests