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
const ( CONNECT_AFTER ConnectFlags = 1 << 0 CONNECT_SWAPPED ConnectFlags = 1 << iota )
func (ConnectFlags) Clear ¶ added in v0.3.4
func (i ConnectFlags) Clear(m ConnectFlags) ConnectFlags
Clear returns the bitmask with the given flag removed
func (ConnectFlags) Has ¶ added in v0.3.4
func (i ConnectFlags) Has(m ConnectFlags) bool
Has returns TRUE if the given flag is present in the bitmask
func (ConnectFlags) Set ¶ added in v0.3.4
func (i ConnectFlags) Set(m ConnectFlags) ConnectFlags
Set returns the bitmask with the given flag set
func (ConnectFlags) String ¶ added in v0.3.4
func (i ConnectFlags) String() string
func (ConnectFlags) Toggle ¶ added in v0.3.4
func (i ConnectFlags) Toggle(m ConnectFlags) ConnectFlags
Toggle returns the bitmask with the given flag toggled
type DestDefaults ¶
type DestDefaults uint64
const ( DEST_DEFAULT_MOTION DestDefaults = 1 << 0 DEST_DEFAULT_HIGHLIGHT DestDefaults = 1 << iota DEST_DEFAULT_DROP DEST_DEFAULT_ALL DestDefaults = 0 )
func (DestDefaults) Clear ¶ added in v0.3.4
func (i DestDefaults) Clear(m DestDefaults) DestDefaults
Clear returns the bitmask with the given flag removed
func (DestDefaults) Has ¶ added in v0.3.4
func (i DestDefaults) Has(m DestDefaults) bool
Has returns TRUE if the given flag is present in the bitmask
func (DestDefaults) Set ¶ added in v0.3.4
func (i DestDefaults) Set(m DestDefaults) DestDefaults
Set returns the bitmask with the given flag set
func (DestDefaults) String ¶ added in v0.3.4
func (i DestDefaults) String() (value string)
func (DestDefaults) Toggle ¶ added in v0.3.4
func (i DestDefaults) Toggle(m DestDefaults) DestDefaults
Toggle returns the bitmask with the given flag toggled
type DragResult ¶
type DragResult uint64
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 )
func (DragResult) String ¶ added in v0.3.4
func (i DragResult) String() string
type EnumFromString ¶
type HorizontalAlignment ¶
type HorizontalAlignment uint
const ( ALIGN_LEFT HorizontalAlignment = 0 ALIGN_RIGHT HorizontalAlignment = 1 ALIGN_CENTER HorizontalAlignment = 2 )
func (HorizontalAlignment) String ¶ added in v0.3.4
func (i HorizontalAlignment) String() string
type Justification ¶
type Justification uint64
const ( JUSTIFY_LEFT Justification = iota JUSTIFY_RIGHT JUSTIFY_CENTER JUSTIFY_FILL )
func (Justification) String ¶ added in v0.3.4
func (i Justification) String() string
type ObjectFlags ¶
type ObjectFlags uint64
const ( IN_DESTRUCTION ObjectFlags = 1 << 0 FLOATING ObjectFlags = 1 << iota RESERVED_1 RESERVED_2 )
func (ObjectFlags) Clear ¶ added in v0.3.4
func (i ObjectFlags) Clear(m ObjectFlags) ObjectFlags
Clear returns the bitmask with the given flag removed
func (ObjectFlags) Has ¶ added in v0.3.4
func (i ObjectFlags) Has(m ObjectFlags) bool
Has returns TRUE if the given flag is present in the bitmask
func (ObjectFlags) Set ¶ added in v0.3.4
func (i ObjectFlags) Set(m ObjectFlags) ObjectFlags
Set returns the bitmask with the given flag set
func (ObjectFlags) String ¶ added in v0.3.4
func (i ObjectFlags) String() (value string)
func (ObjectFlags) Toggle ¶ added in v0.3.4
func (i ObjectFlags) Toggle(m ObjectFlags) ObjectFlags
Toggle returns the bitmask with the given flag toggled
type Orientation ¶
type Orientation uint64
const ( ORIENTATION_NONE Orientation = iota ORIENTATION_HORIZONTAL ORIENTATION_VERTICAL )
func (Orientation) FromString ¶
func (o Orientation) FromString(value string) (enum interface{}, err error)
func (Orientation) String ¶ added in v0.3.4
func (i Orientation) String() string
type ResizeMode ¶
type ResizeMode uint64
const ( RESIZE_PARENT ResizeMode = iota RESIZE_QUEUE RESIZE_IMMEDIATE )
type SignalFlags ¶
type SignalFlags uint64
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 )
func (SignalFlags) Clear ¶ added in v0.3.4
func (i SignalFlags) Clear(m SignalFlags) SignalFlags
Clear returns the bitmask with the given flag removed
func (SignalFlags) Has ¶ added in v0.3.4
func (i SignalFlags) Has(m SignalFlags) bool
Has returns TRUE if the given flag is present in the bitmask
func (SignalFlags) Set ¶ added in v0.3.4
func (i SignalFlags) Set(m SignalFlags) SignalFlags
Set returns the bitmask with the given flag set
func (SignalFlags) String ¶ added in v0.3.4
func (i SignalFlags) String() (value string)
func (SignalFlags) Toggle ¶ added in v0.3.4
func (i SignalFlags) Toggle(m SignalFlags) SignalFlags
Toggle returns the bitmask with the given flag toggled
type SignalMatchType ¶
type SignalMatchType uint64
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 )
func (SignalMatchType) Clear ¶ added in v0.3.4
func (i SignalMatchType) Clear(m SignalMatchType) SignalMatchType
Clear returns the bitmask with the given flag removed
func (SignalMatchType) Has ¶ added in v0.3.4
func (i SignalMatchType) Has(m SignalMatchType) bool
Has returns TRUE if the given flag is present in the bitmask
func (SignalMatchType) Set ¶ added in v0.3.4
func (i SignalMatchType) Set(m SignalMatchType) SignalMatchType
Set returns the bitmask with the given flag set
func (SignalMatchType) String ¶ added in v0.3.4
func (i SignalMatchType) String() (value string)
func (SignalMatchType) Toggle ¶ added in v0.3.4
func (i SignalMatchType) Toggle(m SignalMatchType) SignalMatchType
Toggle returns the bitmask with the given flag toggled
type SignalRunType ¶
type SignalRunType uint64
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) )
func (SignalRunType) Clear ¶ added in v0.3.4
func (i SignalRunType) Clear(m SignalRunType) SignalRunType
Clear returns the bitmask with the given flag removed
func (SignalRunType) Has ¶ added in v0.3.4
func (i SignalRunType) Has(m SignalRunType) bool
Has returns TRUE if the given flag is present in the bitmask
func (SignalRunType) Set ¶ added in v0.3.4
func (i SignalRunType) Set(m SignalRunType) SignalRunType
Set returns the bitmask with the given flag set
func (SignalRunType) String ¶ added in v0.3.4
func (i SignalRunType) String() (value string)
func (SignalRunType) Toggle ¶ added in v0.3.4
func (i SignalRunType) Toggle(m SignalRunType) SignalRunType
Toggle returns the bitmask with the given flag toggled
type TargetFlags ¶
type TargetFlags uint64
const ( TARGET_SAME_APP TargetFlags = 1 << 0 TARGET_SAME_WIDGET TargetFlags = 1 << iota TARGET_OTHER_APP TARGET_OTHER_WIDGET )
func (TargetFlags) Clear ¶ added in v0.3.4
func (i TargetFlags) Clear(m TargetFlags) TargetFlags
Clear returns the bitmask with the given flag removed
func (TargetFlags) Has ¶ added in v0.3.4
func (i TargetFlags) Has(m TargetFlags) bool
Has returns TRUE if the given flag is present in the bitmask
func (TargetFlags) Set ¶ added in v0.3.4
func (i TargetFlags) Set(m TargetFlags) TargetFlags
Set returns the bitmask with the given flag set
func (TargetFlags) String ¶ added in v0.3.4
func (i TargetFlags) String() (value string)
func (TargetFlags) Toggle ¶ added in v0.3.4
func (i TargetFlags) Toggle(m TargetFlags) TargetFlags
Toggle returns the bitmask with the given flag toggled
type VerticalAlignment ¶
type VerticalAlignment uint
const ( ALIGN_TOP VerticalAlignment = 0 ALIGN_BOTTOM VerticalAlignment = 1 ALIGN_MIDDLE VerticalAlignment = 2 )
func (VerticalAlignment) String ¶ added in v0.3.4
func (i VerticalAlignment) String() string
type WindowType ¶
type WindowType uint64
const ( WINDOW_TOPLEVEL WindowType = iota WINDOW_POPUP )
func (WindowType) String ¶ added in v0.3.4
func (i WindowType) String() string
Source Files ¶
- connectflags_bitmask.go
- destdefaults_bitmask.go
- dragresult_string.go
- enums.go
- eventflag_string.go
- horizontalalignment_string.go
- justification_string.go
- objectflags_bitmask.go
- orientation_string.go
- signalflags_bitmask.go
- signalmatchtype_bitmask.go
- signalruntype_bitmask.go
- targetflags_bitmask.go
- verticalalignment_string.go
- windowtype_string.go
- wrapmode_string.go