Author Topic: Make XGUI close  (Read 1924 times)

0 Members and 2 Guests are viewing this topic.

Offline jakej78b

  • Newbie
  • *
  • Posts: 26
  • Karma: 4
Make XGUI close
« on: November 11, 2014, 10:26:10 PM »
Only if it is open. Possible? How?

Offline Bryantdl7

  • Jr. Member
  • **
  • Posts: 86
  • Karma: -2
Re: Make XGUI close
« Reply #1 on: November 12, 2014, 07:51:28 AM »
What do you mean?



Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Make XGUI close
« Reply #2 on: November 12, 2014, 10:58:30 AM »
This is in the developer's corner for a reason. Pretty sure Jake is developing an addon or something similar and wants to know if he can close the XGUI using Lua.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Bryantdl7

  • Jr. Member
  • **
  • Posts: 86
  • Karma: -2
Re: Make XGUI close
« Reply #3 on: November 13, 2014, 02:01:45 PM »
just typing the cvar xgui into console closes it so that could work



Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Make XGUI close
« Reply #4 on: November 15, 2014, 09:29:18 AM »
You can just call xgui.hide(), it should hide it if it's open. Alternatively, you can call RunConsoleCommand( "xgui", "hide" ), which should do the same thing.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6