TabBarGadgetFunctionsEventType

TabBarGadget

ConfigurationExamplesFunctions
AddTabBarGadgetItemClearTabBarGadgetItemsCountTabBarGadgetItemsEventTypeFreeTabBarGadgetGetTabBarGadgetAttributeGetTabBarGadgetDataGetTabBarGadgetItemAttributeGetTabBarGadgetItemColorGetTabBarGadgetItemDataGetTabBarGadgetItemPositionGetTabBarGadgetItemStateGetTabBarGadgetItemTextGetTabBarGadgetStateGetTabBarGadgetTextRemoveTabBarGadgetItemSetTabBarGadgetAttributeSetTabBarGadgetDataSetTabBarGadgetFontSetTabBarGadgetItemAttributeSetTabBarGadgetItemColorSetTabBarGadgetItemDataSetTabBarGadgetItemImageSetTabBarGadgetItemPositionSetTabBarGadgetItemStateSetTabBarGadgetItemTextSetTabBarGadgetStateSetTabBarGadgetTextTabBarGadgetTabBarGadgetItemIDTabBarGadgetItemToolTipTabBarGadgetToolTipUpdateTabBarGadget
History

EventTypeFUNCTION

Description

Returns the last event type on the tab bar gadget.

Syntax

EventType.i = EventType()

Parameters

None

Return value

The last event type and one of the following constants:
#TabBarGadget_EventType_NewItem The "new"-tab was pushed or a double click in an empty space.
#TabBarGadget_EventType_CloseItem The close button was pushed or a middle click on a tab.
#TabBarGadget_EventType_Change The selection was changed.
#TabBarGadget_EventType_CheckBox The check box was pushed and changed.
#TabBarGadget_EventType_SwapItem Two tabs have swaped their position.
#TabBarGadget_EventType_EditItem The text of the tab was changed.
#TabBarGadget_EventType_PopupButton The drop down arrow was pushed.
#TabBarGadget_EventType_Resize The tab bar gadget was resized (with multiple lines).

Remarks

You can get the position of the tab with this event type with GetTabBarGadgetItemPosition(Gadget, #TabBarGadgetItem_Event)
or the ID of the tab with TabBarGadgetItemID(Gadget, #TabBarGadgetItem_Event).

Example

Follow this link: Event types
Union Bytes | Login