SDK:IWidgetsProvider::GetWidgetByID

From Vectorworks Developer
Revision as of 14:17, 12 August 2013 by Root (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference

Description

Member of SDK:IWidgetsProvider

Return the widget with the specified ID.

This is slightly slower than IWidgetsProvider::GetWidgetAt since it searches for widget.

virtual SWidgetDefinition* GetWidgetByID(
Sint32 widgetID) = 0;

Parameters

widgetID Sint32 Widget identifier to search for.

Return Value

Returns pointer to SDK:SWidgetDefinition representing the widget. May return NULL if there is no widget with specified id.