YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Global Functions

Info:

File: Event.ycp Package: yast2 Summary: UI Event Helpers Authors: Arvin Schnell

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