-
Notifications
You must be signed in to change notification settings - Fork 0
Enum.md
cfloutier edited this page Apr 27, 2024
·
3 revisions
This class defines a simple set of choices presented on a single line.


- The labels can be setup using the
Labelsattribute. Values should be separated using ';' chars.
the labels can alos be st in code using the labels property
The control can be bound with a KTools.EnumSetting<TEnum>. see Settings
ex :
panel.Q<InlineEnum>("enum").Bind(settings.enum_item, "Label 1;Label 2");
if labels are not the the UI will use the Enum values names
- the buttons uses the
.toggle_buttonclass - the InlineEnum used the
.inline_enumclass