Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

See source code of gid_themes package inside the scripts folder.


gid_themes::GetThemes
Return the list of available themes


Example:

Code Block
gid_themes::GetThemes

-> GiD_black GiD_classic GiD_classic_renewed


GiD_Set Theme(Current)|Theme(Size)|Theme(MenuType)|Theme(HighResolutionScaleFactor)
Some theme options can be accesed to get/set as GiD variables, with the GiD_Set command

...

To get or set the current theme in use (to set a theme it is necessary a GiD restart)


Example:

Code Block
GiD_Set Theme(Current)



-> GiD_classic

  • Theme(Size)

Integer index that represent the incons collection size (small, medium, large,...)

  • Theme(MenuType)

could be:native,generic
native:

On Mac OS X: use traditional Apple's menu bar intead of embed the menu bar inside the GiD main window
On Windows: use native menus
On Linux: is the same as generic

generic: Use Tk buttons for the menus

  • Theme(HighResolutionScaleFactor)

...