-
Notifications
You must be signed in to change notification settings - Fork 3
2017 API dlibrary.vectorworks.ParameterWidget
Dieter Geerts edited this page Sep 24, 2016
·
1 revision
Represents a widget for the given parameter, VW will use the correct type automatically.
- AbstractWidget Abstract base class for object info-pallet widgets.
__init__(self, parameter: str, is_visible: '() ->
bool'=None, is_enabled: '() ->
bool'=None, on_click: '() ->
None'=None)
-
(get) has_custom_enabling
->
bool -- Returns whether the widget has an enabled check set. -
(get) has_custom_visibility
->
bool -- Returns whether the widget has a visibility check set. -
(get) id
->
int -- Returns the id that was given while adding it to the OIP.
add(self, widget_id: int)
Adds the widget to the object info-pallet with the given id.
click(self)
Execute the user's widget click.
update(self)
Update the widget visibility and enabled status.