pCon.planner Plugin SDK  Version 8.8.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Properties | Events | List of all members
X3g::Plugin::Widget Class Reference

Allows to manage widgets of pCon.planner. More...

Properties

System::String^  Key [get]
 Returns key which identifies the widget. More...
 
System::String^  Value [get, set]
 Gets or sets the widget value. More...
 
System::String^  Caption [get, set]
 Gets or sets the widget caption. More...
 
System::String^  Hint [get, set]
 Gets or sets the widget hint. More...
 
bool Enabled [get, set]
 Gets or sets if the widget is enabled. More...
 
bool Visible [get, set]
 Gets or sets the widgets visibility. More...
 

Events

ValueEvent^  ValueChanged
 This event fires if the changed value is applied by the user. More...
 
ValueEvent^  ValueChanging
 This event fires if the value is changing. More...
 

Detailed Description

Allows to manage widgets of pCon.planner.

Property Documentation

System:: String^ X3g::Plugin::Widget::Caption
getset

Gets or sets the widget caption.

bool X3g::Plugin::Widget::Enabled
getset

Gets or sets if the widget is enabled.

System:: String^ X3g::Plugin::Widget::Hint
getset

Gets or sets the widget hint.

System:: String^ X3g::Plugin::Widget::Key
get

Returns key which identifies the widget.

System:: String^ X3g::Plugin::Widget::Value
getset

Gets or sets the widget value.

bool X3g::Plugin::Widget::Visible
getset

Gets or sets the widgets visibility.

Changing visibility is high cost operation on GUI side. Better avoid it - changing the UI layout at runtime is bad style anyway.

Event Documentation

ValueEvent^ X3g::Plugin::Widget::ValueChanged

This event fires if the changed value is applied by the user.

ValueEvent^ X3g::Plugin::Widget::ValueChanging

This event fires if the value is changing.

Attention: Removing the focus from the widget in this event will cancel the current intput and reset the value.