Documentation ¶
Index ¶
- type ConnectFlags
- type DestDefaults
- type DragResult
- type EnumFromString
- type EventFlag
- type HorizontalAlignment
- type Justification
- type ObjectFlags
- type Orientation
- type ResizeMode
- type SignalFlags
- type SignalMatchType
- type SignalRunType
- type TargetFlags
- type VerticalAlignment
- type WindowType
- type WrapMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectFlags ¶
type ConnectFlags uint64
Connect flags
const ( CONNECT_AFTER ConnectFlags = 1 << 0 CONNECT_SWAPPED ConnectFlags = 1 << iota )
type DestDefaults ¶
type DestDefaults uint64
Dest defaults
const ( DEST_DEFAULT_MOTION DestDefaults = 1 << 0 DEST_DEFAULT_HIGHLIGHT DestDefaults = 1 << iota DEST_DEFAULT_DROP DEST_DEFAULT_ALL DestDefaults = 0 )
type DragResult ¶
type DragResult uint64
Drag result
const ( DRAG_RESULT_SUCCESS DragResult = iota DRAG_RESULT_NO_TARGET DRAG_RESULT_USER_CANCELLED DRAG_RESULT_TIMEOUT_EXPIRED DRAG_RESULT_GRAB_BROKEN DRAG_RESULT_ERROR )
type EnumFromString ¶
type HorizontalAlignment ¶
type HorizontalAlignment uint
const ( ALIGN_LEFT HorizontalAlignment = 0 ALIGN_RIGHT HorizontalAlignment = 1 ALIGN_CENTER HorizontalAlignment = 2 )
type Justification ¶
type Justification uint64
Justification
const ( JUSTIFY_LEFT Justification = iota JUSTIFY_RIGHT JUSTIFY_CENTER JUSTIFY_FILL )
type ObjectFlags ¶
type ObjectFlags uint64
Object flags
const ( IN_DESTRUCTION ObjectFlags = 1 << 0 FLOATING ObjectFlags = 1 << iota RESERVED_1 RESERVED_2 )
type Orientation ¶
type Orientation uint64
Orientation
const ( ORIENTATION_NONE Orientation = iota ORIENTATION_HORIZONTAL ORIENTATION_VERTICAL )
func (Orientation) FromString ¶
func (o Orientation) FromString(value string) (enum interface{}, err error)
type ResizeMode ¶
type ResizeMode uint64
Resize mode
const ( RESIZE_PARENT ResizeMode = iota RESIZE_QUEUE RESIZE_IMMEDIATE )
type SignalFlags ¶
type SignalFlags uint64
Signal flags
const ( SIGNAL_RUN_FIRST SignalFlags = 1 << 0 SIGNAL_RUN_LAST SignalFlags = 1 << iota SIGNAL_RUN_CLEANUP SIGNAL_NO_RECURSE SIGNAL_DETAILED SIGNAL_ACTION SIGNAL_NO_HOOKS SIGNAL_MUST_COLLECT SIGNAL_DEPRECATED )
type SignalMatchType ¶
type SignalMatchType uint64
Signal match type
const ( SIGNAL_MATCH_ID SignalMatchType = 1 << 0 SIGNAL_MATCH_DETAIL SignalMatchType = 1 << iota SIGNAL_MATCH_CLOSURE SIGNAL_MATCH_FUNC SIGNAL_MATCH_DATA SIGNAL_MATCH_UNBLOCKED )
type SignalRunType ¶
type SignalRunType uint64
Signal run type
const ( RUN_FIRST SignalRunType = SignalRunType(SIGNAL_RUN_FIRST) RUN_LAST SignalRunType = SignalRunType(SIGNAL_RUN_LAST) RUN_BOTH SignalRunType = SignalRunType(RUN_FIRST | RUN_LAST) RUN_NO_RECURSE SignalRunType = SignalRunType(SIGNAL_NO_RECURSE) RUN_ACTION SignalRunType = SignalRunType(SIGNAL_ACTION) RUN_NO_HOOKS SignalRunType = SignalRunType(SIGNAL_NO_HOOKS) )
type TargetFlags ¶
type TargetFlags uint64
Target flags
const ( TARGET_SAME_APP TargetFlags = 1 << 0 TARGET_SAME_WIDGET TargetFlags = 1 << iota TARGET_OTHER_APP TARGET_OTHER_WIDGET )
type VerticalAlignment ¶
type VerticalAlignment uint
const ( ALIGN_TOP VerticalAlignment = 0 ALIGN_BOTTOM VerticalAlignment = 1 ALIGN_MIDDLE VerticalAlignment = 2 )
type WindowType ¶
type WindowType uint64
Window type
const ( WINDOW_TOPLEVEL WindowType = iota WINDOW_POPUP )
Click to show internal directories.
Click to hide internal directories.