Skip to content

2017 API dlibrary.vectorworks.SeparatorWidget

Dieter Geerts edited this page Sep 24, 2016 · 1 revision

dlibrary.vectorworks.SeparatorWidget

Represents a separator on the object info-pallet. Great for grouping parameters.

Base classes

Constructor

__init__(self, label: str='', is_visible: '() -> bool'=None, is_enabled: '() -> bool'=None, on_click: '() -> None'=None)

Properties

  • (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.

Methods

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.

Home

DLibrary for VW2017

PREVIOUS VERSIONS

Clone this wiki locally