Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{alias:templateqclose}
h2. Name

*qclose* — close widget

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
*qclose* \[_widget_]

{panel}

h2. Description

The *qclose* command closes the widget. The widget is not deleted, unless created with the *deleteonclose* attribute. 

h2. Arguments
_widget_
{indent} 
The widget to be closed. If this argument is omitted the current widget will be used. 
{indent} 

The widget may be redisplayed with the [qshow] or [qraise] command. 

See the reference section on [qshow] for an example on how to use *qclose* together with *qshow* to toggle the visibility of a widget.