YaST2 Developers Documentation: yast2

yast2

Event.ycp
UI Event Helpers
  • Arvin Schnell

This module has an unstable interface.

Global Functions

global GetWidgetId (map event) -> symbol

Returns id of widget causing the event.

Parameters:
event
global IsWidgetActivated (map event) -> symbol

Checks that the EventType is WidgetEvent and the EventReason is Activated.

Parameters:
event
global IsWidgetSelectionChanged (map event) -> symbol

Checks that the EventType is WidgetEvent and the EventReason is SelectionChanged.

Parameters:
event
global IsWidgetValueChanged (map event) -> symbol

Checks that the EventType is WidgetEvent and the EventReason is ValueChanged.

Parameters:
event
global IsWidgetActivatedOrSelectionChanged (map event) -> symbol

Checks that the EventType is WidgetEvent and the EventReason is Activated or SelectionChanged.

Parameters:
event
global IsWidgetContextMenuActivated (map event) -> symbol

Checks that the EventType is WidgetEvent and the EventReason is ContextMenuActivated.

Parameters:
event
global IsMenu (map event) -> symbol

Checks that the EventType is MenuEvent.

Parameters:
event
global IsTimeout (map event) -> symbol

Checks that the EventType is TimeoutEvent.

Parameters:
event
global IsCancel (map event) -> symbol

Checks that the EventType is CancelEvent.

Parameters:
event