C4 Engine
C4 Engine API Documentation

Widget::SetWidgetKey

Defined in:  C4Widgets.h
Sets the widget key.
Prototype

void SetWidgetKey(const char *key);

Parameters
key The new widget key. This is a string up to 15 bytes in length, not counting the null terminator.
Description
The SetWidgetKey function sets the widget key to the string specified by the key parameter. The widget key is a string having up to 15 single-byte characters that can be used to identify one or more widgets in a panel. (The widget key does not need to be unique.) The initial key for a widget is the empty string.
See Also

Widget::GetWidgetKey

Widget::GetNextWidgetWithSameKey

RootWidget::FindWidget