Documentation ¶
Index ¶
Constants ¶
View Source
const ( Id = "id" Show = "show" Size = "size" Text = "text" Placeholder = "placeholder" Pack = "pack" Spacing = "spacing" Padding = "padding" Expend = "expend" Fill = "fill" OnAccelClosuresChanged SignalName = "accel-closures-changed" // void OnButtonPressEvent = "button-press-event" // boolean OnButtonReleaseEvent = "button-release-event" // boolean OnCanActivateAccel = "can-activate-accel" // boolean OnChildNotify = "child-notify" // void OnCompositedChanged = "composited-changed" // void OnConfigureEvent = "configure-event" // boolean OnDamageEvent = "damage-event" // boolean OnDeleteEvent = "delete-event" // boolean OnDestroyEvent = "destroy-event" // boolean OnDestroy = "destroy" // void OnDirectionChanged = "direction-changed" // void OnDragBegin = "drag-begin" // void OnDragDataDelete = "drag-data-delete" // void OnDragDataGet = "drag-data-get" // void OnDragDataReceived = "drag-data-received" // void OnDragDrop = "drag-drop" // boolean OnDragEnd = "drag-end" // void OnDragFailed = "drag-failed" // boolean OnDragLeave = "drag-leave" // void OnDragMotion = "drag-motion" // boolean OnDraw = "draw" // boolean OnEnterNotifyEvent = "enter-notify-event" // boolean OnEvent = "event" // boolean OnEventAfter = "event-after" // void OnFocus = "focus" // boolean OnFocusInEvent = "focus-in-event" // boolean OnFocusOutEvent = "focus-out-event" // boolean OnGrabBrokenEvent = "grab-broken-event" // boolean OnGrabFocus = "grab-focus" // void OnGrabNotify = "grab-notify" // void OnHide = "hide" // void OnHierarchyChanged = "hierarchy-changed" // void OnKeyPressEvent = "key-press-event" // boolean OnKeyReleaseEvent = "key-release-event" // boolean OnLeaveNotifyEvent = "leave-notify-event" // boolean OnMap = "map" // void OnMapEvent = "map-event" // boolean OnMnemonicActivate = "mnemonic-activate" // boolean OnMotionNotifyEvent = "motion-notify-event" // boolean OnMoveFocus = "move-focus" // void OnParentSet = "parent-set" // void OnPopupMenu = "popup-menu" // boolean OnPropertyNotifyEvent = "property-notify-event" // boolean OnProximityInEvent = "proximity-in-event" // boolean OnProximityOutEvent = "proximity-out-event" // boolean OnQueryTooltip = "query-tooltip" // boolean OnRealize = "realize" // void OnScreenChanged = "screen-changed" // void OnScrollEvent = "scroll-event" // boolean OnSelectionClearEvent = "selection-clear-event" // boolean OnSelectionGet = "selection-get" // void OnSelectionNotifyEvent = "selection-notify-event" // boolean OnSelectionReceived = "selection-received" // void OnSelectionRequestEvent = "selection-request-event" // boolean OnShow = "show" // void OnShowHelp = "show-help" // boolean OnSizeAllocate = "size-allocate" // void OnStateChanged = "state-changed" // void OnStateFlagsChanged = "state-flags-changed" // void OnStyleSet = "style-set" // void OnStyleUpdated = "style-updated" // void OnTouchEvent = "touch-event" // boolean OnUnmap = "unmap" // void OnUnmapEvent = "unmap-event" // boolean OnUnrealize = "unrealize" // void OnVisibilityNotifyEvent = "visibility-notify-event" // boolean OnWindowStateEvent = "window-state-event" // boolean // Static, Editable OnCopyClipboard = "copy-clipboard" // void OnMoveCursor = "move-cursor" // void OnPopulatePopup = "populate-popup" // void // Static OnActivateCurrentLink = "activate-current-link" // void OnActivateLink = "activate-link" // gboolean // Pushable, Editable OnActivate = "activate" // void // Editable //-OnActivate = "activate" // void OnBackspace = "backspace" // void //-OnCopyClipboard = "copy-clipboard" // void OnCutClipboard = "cut-clipboard" // void OnDeleteFromCursor = "delete-from-cursor" // void OnIconPress = "icon-press" // void OnIconRelease = "icon-release" // void OnInsertAtCursor = "insert-at-cursor" // void //-OnMoveCursor = "move-cursor" // void OnPasteClipboard = "paste-clipboard" // void //-OnPopulatePopup = "populate-popup" // void OnPreeditChanged = "preedit-changed" // void OnToggleOverwrite = "toggle-overwrite" // void // Pushable //-OnActivate = "activate" // void OnClicked = "clicked" // void OnEnter = "enter" // void OnLeave = "leave" // void OnPressed = "pressed" // void OnReleased = "released" // void )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection uint
type CustomSignalName ¶
type CustomSignalName SignalName
type Emitter ¶
type Emitter interface {
Emit(name CustomSignalName, args ...interface{}) error
}
Emitter emits a custom signal.
type SignalName ¶
type SignalName string
type View ¶
type View interface { Bag Connect(name SignalName, h interface{}, d ...interface{}) (Connection, error) Disconnect(c Connection) (interface{}, error) }
A View is visible rectangle on the screen. Such as top level window, or a child view in a window or view.
Click to show internal directories.
Click to hide internal directories.