SDK:IWidgetsProvider::GetWidgetByID

From Vectorworks Developer
Revision as of 15:40, 3 June 2008 by Root (talk | contribs) (New page: __TOC__ <vwDoc> ----------------------------------------------------------------------------------------------------------- <desc> Member of SDK:IWidgetsProvider Return the widget wi...)
(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.