enums

package
v0.5.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Index

Constants

View Source
const (
	ANCHOR_CENTER AnchorType = iota
	ANCHOR_NORTH
	ANCHOR_NORTH_WEST
	ANCHOR_NORTH_EAST
	ANCHOR_SOUTH
	ANCHOR_SOUTH_WEST
	ANCHOR_SOUTH_EAST
	ANCHOR_WEST
	ANCHOR_EAST
	ANCHOR_N  = ANCHOR_NORTH
	ANCHOR_NW = ANCHOR_NORTH_WEST
	ANCHOR_NE = ANCHOR_NORTH_EAST
	ANCHOR_S  = ANCHOR_SOUTH
	ANCHOR_SW = ANCHOR_SOUTH_WEST
	ANCHOR_SE = ANCHOR_SOUTH_EAST
	ANCHOR_W  = ANCHOR_WEST
	ANCHOR_E  = ANCHOR_EAST
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccelFlags

type AccelFlags uint64
const (
	ACCEL_VISIBLE AccelFlags = 1 << 0
	ACCEL_LOCKED  AccelFlags = 1 << iota
	ACCEL_MASK    AccelFlags = 0
)

func (AccelFlags) Clear

func (i AccelFlags) Clear(m AccelFlags) AccelFlags

Clear returns the bitmask with the given flag removed

func (AccelFlags) Has

func (i AccelFlags) Has(m AccelFlags) bool

Has returns TRUE if the given flag is present in the bitmask

func (AccelFlags) Set

func (i AccelFlags) Set(m AccelFlags) AccelFlags

Set returns the bitmask with the given flag set

func (AccelFlags) String

func (i AccelFlags) String() string

func (AccelFlags) Toggle

func (i AccelFlags) Toggle(m AccelFlags) AccelFlags

Toggle returns the bitmask with the given flag toggled

type AnchorType

type AnchorType uint64

func (AnchorType) String

func (i AnchorType) String() string

type ArgFlags

type ArgFlags uint64
const (
	ARC_READABLE       ArgFlags = ArgFlags(PARAM_READABLE)
	ARC_WRITABLE       ArgFlags = ArgFlags(PARAM_WRITABLE)
	ARC_CONSTRUCT      ArgFlags = ArgFlags(PARAM_CONSTRUCT)
	ARC_CONSTRUCT_ONLY ArgFlags = ArgFlags(PARAM_CONSTRUCT_ONLY)
	ARC_CHILD_ARG      ArgFlags = 1 << 4
)

func (ArgFlags) String

func (i ArgFlags) String() string

type ArrowPlacement

type ArrowPlacement uint64
const (
	ARROWS_BOTH ArrowPlacement = iota
	ARROWS_START
	ARROWS_END
)

func (ArrowPlacement) String

func (i ArrowPlacement) String() string

type ArrowType

type ArrowType uint64
const (
	ArrowUp ArrowType = iota
	ArrowDown
	ArrowLeft
	ArrowRight
	ArrowNone
)

func (ArrowType) String

func (i ArrowType) String() string

type AssistantPageType

type AssistantPageType uint64
const (
	ASSISTANT_PAGE_CONTENT AssistantPageType = iota
	ASSISTANT_PAGE_INTRO
	ASSISTANT_PAGE_CONFIRM
	ASSISTANT_PAGE_SUMMARY
	ASSISTANT_PAGE_PROGRESS
)

func (AssistantPageType) String

func (i AssistantPageType) String() string

type AttachOptions

type AttachOptions uint64
const (
	EXPAND AttachOptions = 1 << 0
	SHRINK AttachOptions = 1 << iota
	FILL
)

func (AttachOptions) Clear

Clear returns the bitmask with the given flag removed

func (AttachOptions) Has

func (i AttachOptions) Has(m AttachOptions) bool

Has returns TRUE if the given flag is present in the bitmask

func (AttachOptions) Set

Set returns the bitmask with the given flag set

func (AttachOptions) String

func (i AttachOptions) String() (value string)

func (AttachOptions) Toggle

Toggle returns the bitmask with the given flag toggled

type BuilderError

type BuilderError uint64
const (
	BUILDER_ERROR_INVALID_TYPE_FUNCTION BuilderError = iota
	BUILDER_ERROR_UNHANDLED_TAG
	BUILDER_ERROR_MISSINC_ATTRIBUTE
	BUILDER_ERROR_INVALID_ATTRIBUTE
	BUILDER_ERROR_INVALID_TAG
	BUILDER_ERROR_MISSINC_PROPERTY_VALUE
	BUILDER_ERROR_INVALID_VALUE
	BUILDER_ERROR_VERSION_MISMATCH
	BUILDER_ERROR_DUPLICATE_ID
)

func (BuilderError) String

func (i BuilderError) String() string

type ButtonAction

type ButtonAction uint64
const (
	BUTTON_IGNORED ButtonAction = 1 << iota
	BUTTON_SELECTS
	BUTTON_DRAGS
	BUTTON_EXPANDS
)

func (ButtonAction) Clear

Clear returns the bitmask with the given flag removed

func (ButtonAction) Has

func (i ButtonAction) Has(m ButtonAction) bool

Has returns TRUE if the given flag is present in the bitmask

func (ButtonAction) Set

Set returns the bitmask with the given flag set

func (ButtonAction) String

func (i ButtonAction) String() (value string)

func (ButtonAction) Toggle

Toggle returns the bitmask with the given flag toggled

type ButtonBoxStyle

type ButtonBoxStyle uint64
const (
	BUTTONBOX_DEFAULT_STYLE ButtonBoxStyle = iota
	BUTTONBOX_SPREAD                       // Spread the buttons evenly and centered away from the edges
	BUTTONBOX_EDGE                         // Spread the buttons evenly and centered from edge to edge
	BUTTONBOX_START                        // Group buttons at the start
	BUTTONBOX_END                          // Group buttons at the end
	BUTTONBOX_CENTER                       // Group buttons at the center
	BUTTONBOX_EXPAND                       // Buttons are expanded to evenly consume all space available
)

func (ButtonBoxStyle) String

func (i ButtonBoxStyle) String() string

type ButtonsType

type ButtonsType uint64
const (
	BUTTONS_NONE ButtonsType = iota
	BUTTONS_OK
	BUTTONS_CLOSE
	BUTTONS_CANCEL
	BUTTONS_YES_NO
	BUTTONS_OK_CANCEL
)

func (ButtonsType) String

func (i ButtonsType) String() string

type CListDragPos

type CListDragPos uint64
const (
	CLIST_DRAC_NONE CListDragPos = iota
	CLIST_DRAC_BEFORE
	CLIST_DRAC_INTO
	CLIST_DRAC_AFTER
)

func (CListDragPos) String

func (i CListDragPos) String() string

type CTreeExpanderStyle

type CTreeExpanderStyle uint64
const (
	CTREE_EXPANDER_NONE CTreeExpanderStyle = iota
	CTREE_EXPANDER_SQUARE
	CTREE_EXPANDER_TRIANGLE
	CTREE_EXPANDER_CIRCULAR
)

func (CTreeExpanderStyle) String

func (i CTreeExpanderStyle) String() string

type CTreeExpansionType

type CTreeExpansionType uint64
const (
	CTREE_EXPANSION_EXPAND CTreeExpansionType = iota
	CTREE_EXPANSION_EXPAND_RECURSIVE
	CTREE_EXPANSION_COLLAPSE
	CTREE_EXPANSION_COLLAPSE_RECURSIVE
	CTREE_EXPANSION_TOGGLE
	CTREE_EXPANSION_TOGGLE_RECURSIVE
)

func (CTreeExpansionType) String

func (i CTreeExpansionType) String() string

type CTreeLineStyle

type CTreeLineStyle uint64
const (
	CTREE_LINES_NONE CTreeLineStyle = iota
	CTREE_LINES_SOLID
	CTREE_LINES_DOTTED
	CTREE_LINES_TABBED
)

func (CTreeLineStyle) String

func (i CTreeLineStyle) String() string

type CTreePos

type CTreePos uint64
const (
	CTREE_POS_BEFORE CTreePos = iota
	CTREE_POS_AS_CHILD
	CTREE_POS_AFTER
)

func (CTreePos) String

func (i CTreePos) String() string

type CalendarDisplayOptions

type CalendarDisplayOptions uint64
const (
	CALENDAR_SHOW_HEADING   CalendarDisplayOptions = 1 << 0
	CALENDAR_SHOW_DAY_NAMES CalendarDisplayOptions = 1 << iota
	CALENDAR_NO_MONTH_CHANGE
	CALENDAR_SHOW_WEEK_NUMBERS
	CALENDAR_WEEK_START_MONDAY
	CALENDAR_SHOW_DETAILS
)

func (CalendarDisplayOptions) Clear

Clear returns the bitmask with the given flag removed

func (CalendarDisplayOptions) Has

Has returns TRUE if the given flag is present in the bitmask

func (CalendarDisplayOptions) Set

Set returns the bitmask with the given flag set

func (CalendarDisplayOptions) String

func (i CalendarDisplayOptions) String() (value string)

func (CalendarDisplayOptions) Toggle

Toggle returns the bitmask with the given flag toggled

type CellRendererAccelMode

type CellRendererAccelMode uint64
const (
	CELL_RENDERER_ACCEL_MODE_CTK CellRendererAccelMode = iota
	CELL_RENDERER_ACCEL_MODE_OTHER
)

func (CellRendererAccelMode) String

func (i CellRendererAccelMode) String() string

type CellRendererMode

type CellRendererMode uint64
const (
	CELL_RENDERER_MODE_INERT CellRendererMode = iota
	CELL_RENDERER_MODE_ACTIVATABLE
	CELL_RENDERER_MODE_EDITABLE
)

func (CellRendererMode) String

func (i CellRendererMode) String() string

type CellRendererState

type CellRendererState uint64
const (
	CELL_RENDERER_SELECTED CellRendererState = 1 << 0
	CELL_RENDERER_PRELIT   CellRendererState = 1 << iota
	CELL_RENDERER_INSENSITIVE
	CELL_RENDERER_SORTED
	CELL_RENDERER_FOCUSED
)

func (CellRendererState) Clear

Clear returns the bitmask with the given flag removed

func (CellRendererState) Has

Has returns TRUE if the given flag is present in the bitmask

func (CellRendererState) Set

Set returns the bitmask with the given flag set

func (CellRendererState) String

func (i CellRendererState) String() (value string)

func (CellRendererState) Toggle

Toggle returns the bitmask with the given flag toggled

type CellType

type CellType uint64
const (
	CELL_EMPTY CellType = iota
	CELL_TEXT
	CELL_PIXMAP
	CELL_PIXTEXT
	CELL_WIDGET
)

func (CellType) String

func (i CellType) String() string

type CornerType

type CornerType uint64
const (
	CornerTopLeft CornerType = iota
	CornerBottomLeft
	CornerTopRight
	CornerBottomRight
)

func (CornerType) String

func (i CornerType) String() string

type DebugFlag

type DebugFlag uint64
const (
	DEBUG_MISC       DebugFlag = 1 << 0
	DEBUG_PLUGSOCKET DebugFlag = 1 << iota
	DEBUG_TEXT
	DEBUG_TREE
	DEBUG_UPDATES
	DEBUG_KEYBINDINGS
	DEBUG_MULTIHEAD
	DEBUG_MODULES
	DEBUG_GEOMETRY
	DEBUG_ICONTHEME
	DEBUG_PRINTING
	DEBUG_BUILDER
)

func (DebugFlag) Clear

func (i DebugFlag) Clear(m DebugFlag) DebugFlag

Clear returns the bitmask with the given flag removed

func (DebugFlag) Has

func (i DebugFlag) Has(m DebugFlag) bool

Has returns TRUE if the given flag is present in the bitmask

func (DebugFlag) Set

func (i DebugFlag) Set(m DebugFlag) DebugFlag

Set returns the bitmask with the given flag set

func (DebugFlag) String

func (i DebugFlag) String() string

func (DebugFlag) Toggle

func (i DebugFlag) Toggle(m DebugFlag) DebugFlag

Toggle returns the bitmask with the given flag toggled

type DeleteType

type DeleteType uint64
const (
	DELETE_CHARS DeleteType = iota
	DELETE_WORD_ENDS
	DELETE_WORDS
	DELETE_DISPLAY_LINES
	DELETE_DISPLAY_LINE_ENDS
	DELETE_PARAGRAPH_ENDS
	DELETE_PARAGRAPHS
	DELETE_WHITESPACE
)

func (DeleteType) String

func (i DeleteType) String() string

type DialogFlags

type DialogFlags uint64
const (
	DialogModal             DialogFlags = 1 << 0
	DialogDestroyWithParent DialogFlags = 1 << iota
	DialogNoSeparator
)

func (DialogFlags) Clear

func (i DialogFlags) Clear(m DialogFlags) DialogFlags

Clear returns the bitmask with the given flag removed

func (DialogFlags) Has

func (i DialogFlags) Has(m DialogFlags) bool

Has returns TRUE if the given flag is present in the bitmask

func (DialogFlags) Set

Set returns the bitmask with the given flag set

func (DialogFlags) String

func (i DialogFlags) String() (value string)

func (DialogFlags) Toggle

func (i DialogFlags) Toggle(m DialogFlags) DialogFlags

Toggle returns the bitmask with the given flag toggled

type DirectionType

type DirectionType uint64
const (
	DIR_TAB_FORWARD DirectionType = iota
	DIR_TAB_BACKWARD
	DIR_UP
	DIR_DOWN
	DIR_LEFT
	DIR_RIGHT
)

func (DirectionType) String

func (i DirectionType) String() string

type EntryIconPosition

type EntryIconPosition uint64
const (
	ENTRY_ICON_PRIMARY EntryIconPosition = iota
	ENTRY_ICON_SECONDARY
)

func (EntryIconPosition) String

func (i EntryIconPosition) String() string

type ErrorType

type ErrorType uint64
const (
	ERR_UNKNOWN ErrorType = iota
	ERR_UNEXP_EOF
	ERR_UNEXP_EOF_IN_STRING
	ERR_UNEXP_EOF_IN_COMMENT
	ERR_NON_DIGIT_IN_CONST
	ERR_DIGIT_RADIX
	ERR_FLOAT_RADIX
	ERR_FLOAT_MALFORMED
)

func (ErrorType) String

func (i ErrorType) String() string

type ExpanderStyle

type ExpanderStyle uint64
const (
	EXPANDER_COLLAPSED ExpanderStyle = iota
	EXPANDER_SEMI_COLLAPSED
	EXPANDER_SEMI_EXPANDED
	EXPANDER_EXPANDED
)

func (ExpanderStyle) String

func (i ExpanderStyle) String() string

type ExtensionMode

type ExtensionMode uint64
const (
	EXTENSION_EVENTS_NONE ExtensionMode = iota
	EXTENSION_EVENTS_ALL
	EXTENSION_EVENTS_CURSOR
)

func (ExtensionMode) String

func (i ExtensionMode) String() string

type FileChooserAction

type FileChooserAction uint64
const (
	FILE_CHOOSER_ACTION_OPEN FileChooserAction = iota
	FILE_CHOOSER_ACTION_SAVE
	FILE_CHOOSER_ACTION_SELECT_FOLDER
	FILE_CHOOSER_ACTION_CREATE_FOLDER
)

func (FileChooserAction) String

func (i FileChooserAction) String() string

type FileChooserConfirmation

type FileChooserConfirmation uint64
const (
	FILE_CHOOSER_CONFIRMATION_CONFIRM FileChooserConfirmation = iota
	FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME
	FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
)

func (FileChooserConfirmation) String

func (i FileChooserConfirmation) String() string

type FileChooserError

type FileChooserError uint64
const (
	FILE_CHOOSER_ERROR_NONEXISTENT FileChooserError = iota
	FILE_CHOOSER_ERROR_BAD_FILENAME
	FILE_CHOOSER_ERROR_ALREADY_EXISTS
	FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
)

func (FileChooserError) String

func (i FileChooserError) String() string

type FileChooserProp

type FileChooserProp uint64
const (
	FILE_CHOOSER_PROP_FIRST               FileChooserProp = 0
	FILE_CHOOSER_PROP_ACTION              FileChooserProp = FileChooserProp(FILE_CHOOSER_PROP_FIRST)
	FILE_CHOOSER_PROP_FILE_SYSTEM_BACKEND FileChooserProp = iota
	FILE_CHOOSER_PROP_FILTER
	FILE_CHOOSER_PROP_LOCAL_ONLY
	FILE_CHOOSER_PROP_PREVIEW_WIDGET
	FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE
	FILE_CHOOSER_PROP_USE_PREVIEW_LABEL
	FILE_CHOOSER_PROP_EXTRA_WIDGET
	FILE_CHOOSER_PROP_SELECT_MULTIPLE
	FILE_CHOOSER_PROP_SHOW_HIDDEN
	FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION
	FILE_CHOOSER_PROP_CREATE_FOLDERS
	FILE_CHOOSER_PROP_LAST FileChooserProp = FileChooserProp(FILE_CHOOSER_PROP_CREATE_FOLDERS)
)

func (FileChooserProp) String

func (i FileChooserProp) String() string

type FileFilterFlags

type FileFilterFlags uint64
const (
	FILE_FILTER_FILENAME FileFilterFlags = 1 << 0
	FILE_FILTER_URI      FileFilterFlags = 1 << iota
	FILE_FILTER_DISPLAY_NAME
	FILE_FILTER_MIME_TYPE
)

func (FileFilterFlags) Clear

Clear returns the bitmask with the given flag removed

func (FileFilterFlags) Has

Has returns TRUE if the given flag is present in the bitmask

func (FileFilterFlags) Set

Set returns the bitmask with the given flag set

func (FileFilterFlags) String

func (i FileFilterFlags) String() (value string)

func (FileFilterFlags) Toggle

Toggle returns the bitmask with the given flag toggled

type GCallback

type GCallback = func()

type GClosure

type GClosure = func(argv ...interface{}) (handled bool)

type Gravity

type Gravity uint64
const (
	// The reference point is at the top left corner.
	GravityNorthWest Gravity = iota
	// The reference point is in the middle of the top edge.
	GravityNorth
	// The reference point is at the top right corner.
	GravityNorthEast
	// The reference point is at the middle of the left edge.
	GravityWest
	// The reference point is at the center of the window.
	GravityCenter
	// The reference point is at the middle of the right edge.
	GravityEast
	// The reference point is at the lower left corner.
	GravitySouthWest
	// The reference point is at the middle of the lower edge.
	GravitySouth
	// The reference point is at the lower right corner.
	GravitySouthEast
	// The reference point is at the top left corner of the window itself, ignoring window manager decorations.
	GravityStatic
)

func (Gravity) FromString

func (t Gravity) FromString(value string) (enum interface{}, err error)

func (Gravity) String

func (i Gravity) String() string

type IMPreeditStyle

type IMPreeditStyle uint64
const (
	IM_PREEDIT_NOTHING IMPreeditStyle = iota
	IM_PREEDIT_CALLBACK
	IM_PREEDIT_NONE
)

func (IMPreeditStyle) String

func (i IMPreeditStyle) String() string

type IMStatusStyle

type IMStatusStyle uint64
const (
	IM_STATUS_NOTHING IMStatusStyle = iota
	IM_STATUS_CALLBACK
	IM_STATUS_NONE
)

func (IMStatusStyle) String

func (i IMStatusStyle) String() string

type IconThemeError

type IconThemeError uint64
const (
	ICON_THEME_NOT_FOUND IconThemeError = iota
	ICON_THEME_FAILED
)

func (IconThemeError) String

func (i IconThemeError) String() string

type LayoutStyle

type LayoutStyle uint64
const (
	LayoutStart LayoutStyle = iota
	LayoutEnd
)

func (LayoutStyle) FromString

func (l LayoutStyle) FromString(value string) (enum interface{}, err error)

func (LayoutStyle) String

func (i LayoutStyle) String() string

type LoadState

type LoadState uint64
const (
	LOAD_EMPTY LoadState = iota
	LOAD_PRELOAD
	LOAD_LOADING
	LOAD_FINISHED
)

func (LoadState) String

func (i LoadState) String() string

type LocationMode

type LocationMode uint64
const (
	LOCATION_MODE_PATH_BAR LocationMode = iota
	LOCATION_MODE_FILENAME_ENTRY
)

func (LocationMode) String

func (i LocationMode) String() string

type MatchType

type MatchType uint64
const (
	MATCH_ALL MatchType = iota
	MATCH_ALL_TAIL
	MATCH_HEAD
	MATCH_TAIL
	MATCH_EXACT
	MATCH_LAST
)

func (MatchType) String

func (i MatchType) String() string
type MenuDirectionType uint64
const (
	MENU_DIR_PARENT MenuDirectionType = iota
	MENU_DIR_CHILD
	MENU_DIR_NEXT
	MENU_DIR_PREV
)
func (i MenuDirectionType) String() string

type MessageType

type MessageType uint64
const (
	MESSAGE_INFO MessageType = iota
	MESSAGE_WARNING
	MESSAGE_QUESTION
	MESSAGE_ERROR
	MESSAGE_OTHER
)

func (MessageType) String

func (i MessageType) String() string

type MetricType

type MetricType uint64
const (
	PIXELS MetricType = iota
	INCHES
	CENTIMETERS
)

func (MetricType) String

func (i MetricType) String() string

type ModifierType

type ModifierType uint64
const (
	NullModMask ModifierType = 0
	ShiftMask   ModifierType = 1 << iota
	LockMask
	ControlMask
	Mod1Mask
	Mod2Mask
	Mod3Mask
	Mod4Mask
	Mod5Mask
	Button1Mask
	Button2Mask
	Button3Mask
	Button4Mask
	Button5Mask
	SuperMask
	HyperMask
	MetaMask
	ReleaseMask
	ModifierMask
)

func (ModifierType) HasBit

func (m ModifierType) HasBit(b ModifierType) bool

func (ModifierType) String

func (m ModifierType) String() string

type MovementStep

type MovementStep uint64
const (
	MOVEMENT_LOGICAL_POSITIONS MovementStep = iota
	MOVEMENT_VISUAL_POSITIONS
	MOVEMENT_WORDS
	MOVEMENT_DISPLAY_LINES
	MOVEMENT_DISPLAY_LINE_ENDS
	MOVEMENT_PARAGRAPHS
	MOVEMENT_PARAGRAPH_ENDS
	MOVEMENT_PAGES
	MOVEMENT_BUFFER_ENDS
	MOVEMENT_HORIZONTAL_PAGES
)

func (MovementStep) String

func (i MovementStep) String() string

type NotebookTab

type NotebookTab uint64
const (
	NOTEBOOK_TAB_FIRST NotebookTab = iota
	NOTEBOOK_TAB_LAST
)

func (NotebookTab) String

func (i NotebookTab) String() string

type NumberUpLayout

type NumberUpLayout uint64
const (
	NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM NumberUpLayout = iota
	NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP
	NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM
	NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP
	NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT
	NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT
	NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT
	NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT
)

func (NumberUpLayout) String

func (i NumberUpLayout) String() string

type OperationMode

type OperationMode uint64
const (
	OPERATION_MODE_BROWSE OperationMode = iota
	OPERATION_MODE_SEARCH
	OPERATION_MODE_RECENT
)

func (OperationMode) String

func (i OperationMode) String() string

type PackDirection

type PackDirection uint64
const (
	PACK_DIRECTION_LTR PackDirection = iota
	PACK_DIRECTION_RTL
	PACK_DIRECTION_TTB
	PACK_DIRECTION_BTT
)

func (PackDirection) String

func (i PackDirection) String() string

type PackType

type PackType uint64
const (
	PackStart PackType = iota
	PackEnd
)

func (PackType) String

func (i PackType) String() string

type PageSet

type PageSet uint64
const (
	PAGE_SET_ALL PageSet = iota
	PAGE_SET_EVEN
	PAGE_SET_ODD
)

func (PageSet) String

func (i PageSet) String() string

type ParamFlags

type ParamFlags uint64
const (
	PARAM_READABLE  ParamFlags = 1 << 0
	PARAM_WRITABLE  ParamFlags = 1 << iota
	PARAM_READWRITE ParamFlags = ParamFlags(PARAM_READABLE | PARAM_WRITABLE)
	PARAM_CONSTRUCT
	PARAM_CONSTRUCT_ONLY
	PARAM_LAX_VALIDATION
	PARAM_STATIC_NAME
	PARAM_PRIVATE ParamFlags = ParamFlags(PARAM_STATIC_NAME)
	PARAM_STATIC_NICK
	PARAM_STATIC_BLURB
	PARAM_EXPLICIT_NOTIFY
)

func (ParamFlags) Clear

func (i ParamFlags) Clear(m ParamFlags) ParamFlags

Clear returns the bitmask with the given flag removed

func (ParamFlags) Has

func (i ParamFlags) Has(m ParamFlags) bool

Has returns TRUE if the given flag is present in the bitmask

func (ParamFlags) Set

func (i ParamFlags) Set(m ParamFlags) ParamFlags

Set returns the bitmask with the given flag set

func (ParamFlags) String

func (i ParamFlags) String() string

func (ParamFlags) Toggle

func (i ParamFlags) Toggle(m ParamFlags) ParamFlags

Toggle returns the bitmask with the given flag toggled

type PathPriorityType

type PathPriorityType uint64
const (
	PATH_PRIO_LOWEST      PathPriorityType = 0
	PATH_PRIO_CTK         PathPriorityType = 4
	PATH_PRIO_APPLICATION PathPriorityType = 8
	PATH_PRIO_THEME       PathPriorityType = 10
	PATH_PRIO_RC          PathPriorityType = 12
	PATH_PRIO_HIGHEST     PathPriorityType = 15
)

func (PathPriorityType) String

func (i PathPriorityType) String() string

type PathType

type PathType uint64
const (
	PATH_WIDGET PathType = iota
	PATH_WIDGET_CLASS
	PATH_CLASS
)

func (PathType) String

func (i PathType) String() string

type PolicyType

type PolicyType uint64
const (
	PolicyAlways PolicyType = iota
	PolicyAutomatic
	PolicyNever
)

func (PolicyType) FromString

func (p PolicyType) FromString(value string) (enum interface{}, err error)

func (PolicyType) String

func (i PolicyType) String() string

type PositionType

type PositionType uint64
const (
	POS_LEFT PositionType = iota
	POS_RIGHT
	POS_TOP
	POS_BOTTOM
)

func (PositionType) String

func (i PositionType) String() string

type PrintPages

type PrintPages uint64
const (
	PRINT_PAGES_ALL PrintPages = iota
	PRINT_PAGES_CURRENT
	PRINT_PAGES_RANGES
	PRINT_PAGES_SELECTION
)

func (PrintPages) String

func (i PrintPages) String() string

type PrivateFlags

type PrivateFlags uint64
const (
	PRIVATE_USER_STYLE      PrivateFlags = 1 << 0
	PRIVATE_RESIZE_PENDING  PrivateFlags = 1 << 2
	PRIVATE_HAS_POINTER     PrivateFlags = 1 << 3
	PRIVATE_SHADOWED        PrivateFlags = 1 << 4
	PRIVATE_HAS_SHAPE_MASK  PrivateFlags = 1 << 5
	PRIVATE_IN_REPARENT     PrivateFlags = 1 << 6
	PRIVATE_DIRECTION_SET   PrivateFlags = 1 << 7
	PRIVATE_DIRECTION_LTR   PrivateFlags = 1 << 8
	PRIVATE_ANCHORED        PrivateFlags = 1 << 9
	PRIVATE_CHILD_VISIBLE   PrivateFlags = 1 << 10
	PRIVATE_REDRAW_ON_ALLOC PrivateFlags = 1 << 11
	PRIVATE_ALLOC_NEEDED    PrivateFlags = 1 << 12
	PRIVATE_REQUEST_NEEDED  PrivateFlags = 1 << 13
)

func (PrivateFlags) Clear

Clear returns the bitmask with the given flag removed

func (PrivateFlags) Has

func (i PrivateFlags) Has(m PrivateFlags) bool

Has returns TRUE if the given flag is present in the bitmask

func (PrivateFlags) Set

Set returns the bitmask with the given flag set

func (PrivateFlags) String

func (i PrivateFlags) String() string

func (PrivateFlags) Toggle

Toggle returns the bitmask with the given flag toggled

type ProgressBarOrientation

type ProgressBarOrientation uint64
const (
	PROGRESS_LEFT_TO_RIGHT ProgressBarOrientation = iota
	PROGRESS_RIGHT_TO_LEFT
	PROGRESS_BOTTOM_TO_TOP
	PROGRESS_TOP_TO_BOTTOM
)

func (ProgressBarOrientation) String

func (i ProgressBarOrientation) String() string

type ProgressBarStyle

type ProgressBarStyle uint64
const (
	PROGRESS_CONTINUOUS ProgressBarStyle = iota
	PROGRESS_DISCRETE
)

func (ProgressBarStyle) String

func (i ProgressBarStyle) String() string

type RBNodeColor

type RBNodeColor uint64
const (
	RBNODE_BLACK RBNodeColor = 1 << 0
	RBNODE_RED   RBNodeColor = 1 << iota
	RBNODE_IS_PARENT
	RBNODE_IS_SELECTED
	RBNODE_IS_PRELIT
	RBNODE_IS_SEMI_COLLAPSED
	RBNODE_IS_SEMI_EXPANDED
	RBNODE_INVALID
	RBNODE_COLUMN_INVALID
	RBNODE_DESCENDANTS_INVALID
	RBNODE_NON_COLORS RBNodeColor = RBNodeColor(RBNODE_IS_PARENT)
)

func (RBNodeColor) Clear

func (i RBNodeColor) Clear(m RBNodeColor) RBNodeColor

Clear returns the bitmask with the given flag removed

func (RBNodeColor) Has

func (i RBNodeColor) Has(m RBNodeColor) bool

Has returns TRUE if the given flag is present in the bitmask

func (RBNodeColor) Set

Set returns the bitmask with the given flag set

func (RBNodeColor) String

func (i RBNodeColor) String() (value string)

func (RBNodeColor) Toggle

func (i RBNodeColor) Toggle(m RBNodeColor) RBNodeColor

Toggle returns the bitmask with the given flag toggled

type RcFlags

type RcFlags uint64
const (
	RC_FG RcFlags = 1 << 0
	RC_BG RcFlags = 1 << iota
	RC_TEXT
	RC_BASE
)

func (RcFlags) Clear

func (i RcFlags) Clear(m RcFlags) RcFlags

Clear returns the bitmask with the given flag removed

func (RcFlags) Has

func (i RcFlags) Has(m RcFlags) bool

Has returns TRUE if the given flag is present in the bitmask

func (RcFlags) Set

func (i RcFlags) Set(m RcFlags) RcFlags

Set returns the bitmask with the given flag set

func (RcFlags) String

func (i RcFlags) String() (value string)

func (RcFlags) Toggle

func (i RcFlags) Toggle(m RcFlags) RcFlags

Toggle returns the bitmask with the given flag toggled

type RcTokenType

type RcTokenType uint64
const (
	RC_TOKEN_INVALID RcTokenType = RcTokenType(TOKEN_LAST)
	RC_TOKEN_INCLUDE RcTokenType = iota
	RC_TOKEN_NORMAL
	RC_TOKEN_ACTIVE
	RC_TOKEN_PRELIGHT
	RC_TOKEN_SELECTED
	RC_TOKEN_INSENSITIVE
	RC_TOKEN_FG
	RC_TOKEN_BG
	RC_TOKEN_TEXT
	RC_TOKEN_BASE
	RC_TOKEN_XTHICKNESS
	RC_TOKEN_YTHICKNESS
	RC_TOKEN_FONT
	RC_TOKEN_FONTSET
	RC_TOKEN_FONT_NAME
	RC_TOKEN_BC_PIXMAP
	RC_TOKEN_PIXMAP_PATH
	RC_TOKEN_STYLE
	RC_TOKEN_BINDING
	RC_TOKEN_BIND
	RC_TOKEN_WIDGET
	RC_TOKEN_WIDGET_CLASS
	RC_TOKEN_CLASS
	RC_TOKEN_LOWEST
	RC_TOKEN_CTK
	RC_TOKEN_APPLICATION
	RC_TOKEN_THEME
	RC_TOKEN_RC
	RC_TOKEN_HIGHEST
	RC_TOKEN_ENGINE
	RC_TOKEN_MODULE_PATH
	RC_TOKEN_IM_MODULE_PATH
	RC_TOKEN_IM_MODULE_FILE
	RC_TOKEN_STOCK
	RC_TOKEN_LTR
	RC_TOKEN_RTL
	RC_TOKEN_COLOR
	RC_TOKEN_UNBIND
	RC_TOKEN_LAST
)

func (RcTokenType) String

func (i RcTokenType) String() string

type RecentChooserError

type RecentChooserError uint64
const (
	RECENT_CHOOSER_ERROR_NOT_FOUND RecentChooserError = iota
	RECENT_CHOOSER_ERROR_INVALID_URI
)

func (RecentChooserError) String

func (i RecentChooserError) String() string

type RecentChooserProp

type RecentChooserProp uint64
const (
	RECENT_CHOOSER_PROP_FIRST          RecentChooserProp = 0
	RECENT_CHOOSER_PROP_RECENT_MANAGER RecentChooserProp = iota
	RECENT_CHOOSER_PROP_SHOW_PRIVATE
	RECENT_CHOOSER_PROP_SHOW_NOT_FOUND
	RECENT_CHOOSER_PROP_SHOW_TIPS
	RECENT_CHOOSER_PROP_SHOW_ICONS
	RECENT_CHOOSER_PROP_SELECT_MULTIPLE
	RECENT_CHOOSER_PROP_LIMIT
	RECENT_CHOOSER_PROP_LOCAL_ONLY
	RECENT_CHOOSER_PROP_SORT_TYPE
	RECENT_CHOOSER_PROP_FILTER
	RECENT_CHOOSER_PROP_LAST
)

func (RecentChooserProp) String

func (i RecentChooserProp) String() string

type RecentFilterFlags

type RecentFilterFlags uint64
const (
	RECENT_FILTER_URI          RecentFilterFlags = 1 << 0
	RECENT_FILTER_DISPLAY_NAME RecentFilterFlags = 1 << iota
	RECENT_FILTER_MIME_TYPE
	RECENT_FILTER_APPLICATION
	RECENT_FILTER_GROUP
	RECENT_FILTER_AGE
)

func (RecentFilterFlags) Clear

Clear returns the bitmask with the given flag removed

func (RecentFilterFlags) Has

Has returns TRUE if the given flag is present in the bitmask

func (RecentFilterFlags) Set

Set returns the bitmask with the given flag set

func (RecentFilterFlags) String

func (i RecentFilterFlags) String() (value string)

func (RecentFilterFlags) Toggle

Toggle returns the bitmask with the given flag toggled

type RecentManagerError

type RecentManagerError uint64
const (
	RECENT_MANAGER_ERROR_NOT_FOUND RecentManagerError = iota
	RECENT_MANAGER_ERROR_INVALID_URI
	RECENT_MANAGER_ERROR_INVALID_ENCODING
	RECENT_MANAGER_ERROR_NOT_REGISTERED
	RECENT_MANAGER_ERROR_READ
	RECENT_MANAGER_ERROR_WRITE
	RECENT_MANAGER_ERROR_UNKNOWN
)

func (RecentManagerError) String

func (i RecentManagerError) String() string

type RecentSortType

type RecentSortType uint64
const (
	RECENT_SORT_NONE RecentSortType = 0
	RECENT_SORT_MRU  RecentSortType = iota
	RECENT_SORT_LRU
	RECENT_SORT_CUSTOM
)

func (RecentSortType) String

func (i RecentSortType) String() string

type ReliefStyle

type ReliefStyle uint64
const (
	RELIEF_NORMAL ReliefStyle = iota
	RELIEF_HALF
	RELIEF_NONE
)

func (ReliefStyle) String

func (i ReliefStyle) String() string

type ReloadState

type ReloadState uint64
const (
	RELOAD_EMPTY ReloadState = iota
	RELOAD_HAS_FOLDER
)

func (ReloadState) String

func (i ReloadState) String() string

type ResponseType

type ResponseType int
const (
	ResponseNone        ResponseType = -1
	ResponseReject      ResponseType = -2
	ResponseAccept      ResponseType = -3
	ResponseDeleteEvent ResponseType = -4
	ResponseOk          ResponseType = -5
	ResponseCancel      ResponseType = -6
	ResponseClose       ResponseType = -7
	ResponseYes         ResponseType = -8
	ResponseNo          ResponseType = -9
	ResponseApply       ResponseType = -10
	ResponseHelp        ResponseType = -11
)

func ResponseTypeFromName

func ResponseTypeFromName(name string) ResponseType

func (ResponseType) String

func (r ResponseType) String() string

type ScrollStep

type ScrollStep uint64
const (
	SCROLL_STEPS ScrollStep = iota
	SCROLL_PAGES
	SCROLL_ENDS
	SCROLL_HORIZONTAL_STEPS
	SCROLL_HORIZONTAL_PAGES
	SCROLL_HORIZONTAL_ENDS
)

func (ScrollStep) String

func (i ScrollStep) String() string

type ScrollType

type ScrollType uint64
const (
	SCROLL_NONE ScrollType = iota
	SCROLL_JUMP
	SCROLL_STEP_BACKWARD
	SCROLL_STEP_FORWARD
	SCROLL_PAGE_BACKWARD
	SCROLL_PAGE_FORWARD
	SCROLL_STEP_UP
	SCROLL_STEP_DOWN
	SCROLL_PAGE_UP
	SCROLL_PAGE_DOWN
	SCROLL_STEP_LEFT
	SCROLL_STEP_RIGHT
	SCROLL_PAGE_LEFT
	SCROLL_PAGE_RIGHT
	SCROLL_START
	SCROLL_END
)

func (ScrollType) String

func (i ScrollType) String() string

type SelectionMode

type SelectionMode uint64
const (
	SELECTION_NONE SelectionMode = iota
	SELECTION_SINGLE
	SELECTION_BROWSE
	SELECTION_MULTIPLE
	SELECTION_EXTENDED SelectionMode = SelectionMode(SELECTION_MULTIPLE)
)

func (SelectionMode) String

func (i SelectionMode) String() string

type SensitivityType

type SensitivityType uint64
const (
	SensitivityAuto SensitivityType = iota
	SensitivityOn
	SensitivityOff
)

func (SensitivityType) String

func (i SensitivityType) String() string

type ShadowType

type ShadowType uint64
const (
	SHADOW_NONE ShadowType = iota
	SHADOW_IN
	SHADOW_OUT
	SHADOW_ETCHED_IN
	SHADOW_ETCHED_OUT
)

func (ShadowType) String

func (i ShadowType) String() string

type SideType

type SideType uint64
const (
	SIDE_TOP SideType = iota
	SIDE_BOTTOM
	SIDE_LEFT
	SIDE_RIGHT
)

func (SideType) String

func (i SideType) String() string

type SizeGroupMode

type SizeGroupMode uint64
const (
	SIZE_GROUP_NONE SizeGroupMode = iota
	SIZE_GROUP_HORIZONTAL
	SIZE_GROUP_VERTICAL
	SIZE_GROUP_BOTH
)

func (SizeGroupMode) String

func (i SizeGroupMode) String() string

type SortType

type SortType uint64
const (
	SORT_ASCENDING SortType = iota
	SORT_DESCENDING
)

func (SortType) String

func (i SortType) String() string

type SpinButtonUpdatePolicy

type SpinButtonUpdatePolicy uint64
const (
	UPDATE_ALWAYS SpinButtonUpdatePolicy = iota
	UPDATE_IF_VALID
)

func (SpinButtonUpdatePolicy) String

func (i SpinButtonUpdatePolicy) String() string

type SpinType

type SpinType uint64
const (
	SPIN_STEP_FORWARD SpinType = iota
	SPIN_STEP_BACKWARD
	SPIN_PAGE_FORWARD
	SPIN_PAGE_BACKWARD
	SPIN_HOME
	SPIN_END
	SPIN_USER_DEFINED
)

func (SpinType) String

func (i SpinType) String() string

type StartupMode

type StartupMode uint64
const (
	STARTUP_MODE_RECENT StartupMode = iota
	STARTUP_MODE_CWD
)

func (StartupMode) String

func (i StartupMode) String() string

type StateType

type StateType uint64
const (
	StateNone   StateType = 0
	StateNormal StateType = 1 << iota
	StateActive
	StatePrelight
	StateSelected
	StateInsensitive
)

func StateTypeFromString

func StateTypeFromString(name string) (state StateType)

StateTypeFromString returns the StateType equivalent for the given named string. If the name given is not a valid name, returns StateNormal.

func (StateType) Clear

func (i StateType) Clear(m StateType) StateType

Clear returns the bitmask with the given flag removed

func (StateType) Has

func (i StateType) Has(m StateType) bool

Has returns TRUE if the given flag is present in the bitmask

func (StateType) Set

func (i StateType) Set(m StateType) StateType

Set returns the bitmask with the given flag set

func (StateType) String

func (i StateType) String() (value string)

func (StateType) Toggle

func (i StateType) Toggle(m StateType) StateType

Toggle returns the bitmask with the given flag toggled

type SubmenuDirection uint64
const (
	DIRECTION_LEFT SubmenuDirection = iota
	DIRECTION_RIGHT
)
func (i SubmenuDirection) String() string
type SubmenuPlacement uint64
const (
	TOP_BOTTOM SubmenuPlacement = iota
	LEFT_RIGHT
)
func (i SubmenuPlacement) String() string

type TextBufferTargetInfo

type TextBufferTargetInfo int
const (
	TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS TextBufferTargetInfo = -1
	TEXT_BUFFER_TARGET_INFO_RICH_TEXT       TextBufferTargetInfo = -2
	TEXT_BUFFER_TARGET_INFO_TEXT            TextBufferTargetInfo = -3
)

func (TextBufferTargetInfo) String

func (i TextBufferTargetInfo) String() string

type TextDirection

type TextDirection uint64
const (
	TextDirNone TextDirection = iota
	TextDirLtr
	TextDirRtl
)

func (TextDirection) String

func (i TextDirection) String() string

type TextSearchFlags

type TextSearchFlags uint64
const (
	TEXT_SEARCH_VISIBLE_ONLY TextSearchFlags = 1 << 0
	TEXT_SEARCH_TEXT_ONLY    TextSearchFlags = 1 << iota
)

func (TextSearchFlags) Clear

Clear returns the bitmask with the given flag removed

func (TextSearchFlags) Has

Has returns TRUE if the given flag is present in the bitmask

func (TextSearchFlags) Set

Set returns the bitmask with the given flag set

func (TextSearchFlags) String

func (i TextSearchFlags) String() string

func (TextSearchFlags) Toggle

Toggle returns the bitmask with the given flag toggled

type TextWindowType

type TextWindowType uint64
const (
	TEXT_WINDOW_PRIVATE TextWindowType = iota
	TEXT_WINDOW_WIDGET
	TEXT_WINDOW_TEXT
	TEXT_WINDOW_LEFT
	TEXT_WINDOW_RIGHT
	TEXT_WINDOW_TOP
	TEXT_WINDOW_BOTTOM
)

func (TextWindowType) String

func (i TextWindowType) String() string

type TokenType

type TokenType uint64
const (
	TOKEN_EOF   TokenType = 0
	TOKEN_NONE  TokenType = 256
	TOKEN_ERROR TokenType = iota
	TOKEN_CHAR
	TOKEN_BINARY
	TOKEN_OCTAL
	TOKEN_INT
	TOKEN_HEX
	TOKEN_FLOAT
	TOKEN_STRING
	TOKEN_SYMBOL
	TOKEN_IDENTIFIER
	TOKEN_IDENTIFIER_NULL
	TOKEN_COMMENT_SINGLE
	TOKEN_COMMENT_MULTI
	TOKEN_LAST
)

func (TokenType) String

func (i TokenType) String() string

type ToolbarChildType

type ToolbarChildType uint64
const (
	TOOLBAR_CHILD_SPACE ToolbarChildType = iota
	TOOLBAR_CHILD_BUTTON
	TOOLBAR_CHILD_TOGGLEBUTTON
	TOOLBAR_CHILD_RADIOBUTTON
	TOOLBAR_CHILD_WIDGET
)

func (ToolbarChildType) String

func (i ToolbarChildType) String() string

type ToolbarSpaceStyle

type ToolbarSpaceStyle uint64
const (
	TOOLBAR_SPACE_EMPTY ToolbarSpaceStyle = iota
	TOOLBAR_SPACE_LINE
)

func (ToolbarSpaceStyle) String

func (i ToolbarSpaceStyle) String() string

type ToolbarStyle

type ToolbarStyle uint64
const (
	TOOLBAR_ICONS ToolbarStyle = iota
	TOOLBAR_TEXT
	TOOLBAR_BOTH
	TOOLBAR_BOTH_HORIZ
)

func (ToolbarStyle) String

func (i ToolbarStyle) String() string

type TreeModelFlags

type TreeModelFlags uint64
const (
	TREE_MODEL_ITERS_PERSIST TreeModelFlags = 1 << 0
	TREE_MODEL_LIST_ONLY     TreeModelFlags = 1 << iota
)

func (TreeModelFlags) Clear

Clear returns the bitmask with the given flag removed

func (TreeModelFlags) Has

Has returns TRUE if the given flag is present in the bitmask

func (TreeModelFlags) Set

Set returns the bitmask with the given flag set

func (TreeModelFlags) String

func (i TreeModelFlags) String() string

func (TreeModelFlags) Toggle

Toggle returns the bitmask with the given flag toggled

type TreeViewColumnSizing

type TreeViewColumnSizing uint64
const (
	TREE_VIEW_COLUMN_GROW_ONLY TreeViewColumnSizing = iota
	TREE_VIEW_COLUMN_AUTOSIZE
	TREE_VIEW_COLUMN_FIXED
)

func (TreeViewColumnSizing) String

func (i TreeViewColumnSizing) String() string

type TreeViewDropPosition

type TreeViewDropPosition uint64
const (
	TREE_VIEW_DROP_BEFORE TreeViewDropPosition = iota
	TREE_VIEW_DROP_AFTER
	TREE_VIEW_DROP_INTO_OR_BEFORE
	TREE_VIEW_DROP_INTO_OR_AFTER
)

func (TreeViewDropPosition) String

func (i TreeViewDropPosition) String() string

type TreeViewFlags

type TreeViewFlags uint64
const (
	TREE_VIEW_IS_LIST        TreeViewFlags = 1 << 0
	TREE_VIEW_SHOW_EXPANDERS TreeViewFlags = 1 << iota
	TREE_VIEW_IN_COLUMN_RESIZE
	TREE_VIEW_ARROW_PRELIT
	TREE_VIEW_HEADERS_VISIBLE
	TREE_VIEW_DRAW_KEYFOCUS
	TREE_VIEW_MODEL_SETUP
	TREE_VIEW_IN_COLUMN_DRAG
)

func (TreeViewFlags) Clear

Clear returns the bitmask with the given flag removed

func (TreeViewFlags) Has

func (i TreeViewFlags) Has(m TreeViewFlags) bool

Has returns TRUE if the given flag is present in the bitmask

func (TreeViewFlags) Set

Set returns the bitmask with the given flag set

func (TreeViewFlags) String

func (i TreeViewFlags) String() (value string)

func (TreeViewFlags) Toggle

Toggle returns the bitmask with the given flag toggled

type TreeViewGridLines

type TreeViewGridLines uint64
const (
	TREE_VIEW_GRID_LINES_NONE TreeViewGridLines = iota
	TREE_VIEW_GRID_LINES_HORIZONTAL
	TREE_VIEW_GRID_LINES_VERTICAL
	TREE_VIEW_GRID_LINES_BOTH
)

func (TreeViewGridLines) String

func (i TreeViewGridLines) String() string

type TreeViewMode

type TreeViewMode uint64
const (
	TREE_VIEW_LINE TreeViewMode = iota
	TREE_VIEW_ITEM
)

func (TreeViewMode) String

func (i TreeViewMode) String() string

type UIManagerItemType

type UIManagerItemType uint64
const (
	UI_MANAGER_AUTO    UIManagerItemType = 0
	UI_MANAGER_MENUBAR UIManagerItemType = 1 << 0
	UI_MANAGER_MENU    UIManagerItemType = 1 << iota
	UI_MANAGER_TOOLBAR
	UI_MANAGER_PLACEHOLDER
	UI_MANAGER_POPUP
	UI_MANAGER_MENUITEM
	UI_MANAGER_TOOLITEM
	UI_MANAGER_SEPARATOR
	UI_MANAGER_ACCELERATOR
	UI_MANAGER_POPUP_WITH_ACCELS
)

func (UIManagerItemType) Clear

Clear returns the bitmask with the given flag removed

func (UIManagerItemType) Has

Has returns TRUE if the given flag is present in the bitmask

func (UIManagerItemType) Set

Set returns the bitmask with the given flag set

func (UIManagerItemType) String

func (i UIManagerItemType) String() (value string)

func (UIManagerItemType) Toggle

Toggle returns the bitmask with the given flag toggled

type Unit

type Unit uint64
const (
	UNIT_PIXEL Unit = iota
	UNIT_POINTS
	UNIT_INCH
	UNIT_MM
)

func (Unit) String

func (i Unit) String() string

type UpdateType

type UpdateType uint64
const (
	UpdateContinuous UpdateType = iota
	UpdateDiscontinuous
	UpdateDelayed
)

func (UpdateType) FromString

func (t UpdateType) FromString(value string) (enum interface{}, err error)

func (UpdateType) String

func (i UpdateType) String() string

type Visibility

type Visibility uint64
const (
	VISIBILITY_NONE Visibility = iota
	VISIBILITY_PARTIAL
	VISIBILITY_FULL
)

func (Visibility) String

func (i Visibility) String() string

type WidgetFlags

type WidgetFlags uint64
const (
	NULL_WIDGET_FLAG WidgetFlags = 0
	TOPLEVEL         WidgetFlags = 1 << (iota + 2)
	NO_WINDOW
	REALIZED
	MAPPED
	VISIBLE
	SENSITIVE
	PARENT_SENSITIVE
	CAN_FOCUS
	HAS_FOCUS
	CAN_DEFAULT
	HAS_DEFAULT
	HAS_GRAB
	RC_STYLE
	COMPOSITE_CHILD
	NO_REPARENT
	APP_PAINTABLE
	RECEIVES_DEFAULT
	DOUBLE_BUFFERED
	NO_SHOW_ALL
	COMPOSITE_PARENT
	INVALID_WIDGET_FLAG
)

func (WidgetFlags) Clear

func (i WidgetFlags) Clear(m WidgetFlags) WidgetFlags

Clear returns the bitmask with the given flag removed

func (WidgetFlags) Has

func (i WidgetFlags) Has(m WidgetFlags) bool

Has returns TRUE if the given flag is present in the bitmask

func (WidgetFlags) Set

Set returns the bitmask with the given flag set

func (WidgetFlags) String

func (i WidgetFlags) String() string

func (WidgetFlags) Toggle

func (i WidgetFlags) Toggle(m WidgetFlags) WidgetFlags

Toggle returns the bitmask with the given flag toggled

type WidgetHelpType

type WidgetHelpType uint64
const (
	WIDGET_HELP_TOOLTIP WidgetHelpType = iota
	WIDGET_HELP_WHATS_THIS
)

func (WidgetHelpType) String

func (i WidgetHelpType) String() string

type WindowEdge

type WindowEdge uint64
const (
	WindowEdgeNone WindowEdge = iota
	WindowEdgeNorthWest
	WindowEdgeNorth
	WindowEdgeNorthEast
	WindowEdgeWest
	WindowEdgeEast
	WindowEdgeSouthWest
	WindowEdgeSouth
	WindowEdgeSouthEast
)

func (WindowEdge) FromString

func (e WindowEdge) FromString(value string) (enum interface{}, err error)

func (WindowEdge) String

func (i WindowEdge) String() string

type WindowPosition

type WindowPosition uint64
const (
	WinPosNone WindowPosition = iota
	WinPosCenter
	WinPosMouse
	WinPosCenterAlways
	WinPosCenterOnParent
)

func (WindowPosition) String

func (i WindowPosition) String() string

type WindowTypeHint

type WindowTypeHint uint64
const (
	// A normal toplevel window.
	WindowTypeHintNormal WindowTypeHint = iota
	// A dialog window.
	WindowTypeHintDialog
	// A window used to implement a menu.
	WindowTypeHintMenu
	// A window used to implement a toolbar.
	WindowTypeHintToolbar
	// A window used to implement a splash screen
	WindowTypeHintSplashscreen
	// A utility window
	WindowTypeHintUtility
	// A window used to implement a docking bar.
	WindowTypeHintDock
	// A window used to implement a desktop.
	WindowTypeHintDesktop
	// A menu that belongs to a menubar.
	WindowTypeHintDropdownMenu
	// A menu that does not belong to a menubar, e.g. a context menu.
	WindowTypeHintPopupMenu
	// A tooltip.
	WindowTypeHintTooltip
	// A notification - typically a "bubble" that belongs to a status icon.
	WindowTypeHintNotification
	// A popup from a combo box.
	WindowTypeHintCombo
	// A window that is used to implement a DND cursor.
	WindowTypeHintDND
)

func (WindowTypeHint) FromString

func (t WindowTypeHint) FromString(value string) (enum interface{}, err error)

func (WindowTypeHint) String

func (i WindowTypeHint) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL