Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexflint/gallium
/ types & classes
Types & classes
26 in github.com/alexflint/gallium
⨍
Functions
156
◇
Types & classes
26
Struct
App
App is the handle that allows you to create windows and menus
app.go:98
Struct
Image
Image holds a handle to a platform-specific image structure (e.g. NSImage on macOS).
cocoa.go:174
Struct
KeyCombination
KeyCombination represents a key together with zero or more modifiers. It is used to set up keyboard shortcuts.
globalshortcut.go:65
Struct
Menu
A Menu has a title and a list of entries. It is a non-leaf node in the menu tree.
cocoa.go:55
Interface
MenuEntry
MenuEntry is the interface for menus and menu items.
cocoa.go:38
Struct
MenuItem
A MenuItem has a title and can be clicked on. It is a leaf node in the menu tree.
cocoa.go:46
TypeAlias
Modifier
Modifier represents zero or more modifier keys (control, shift, option, etc)
globalshortcut.go:51
Struct
Notification
Notification represents a desktop notification
cocoa.go:194
Struct
Rect
Rect represents a rectangular region on the screen
rect.go:14
Struct
Screen
A screen represents a rectangular display, normally corresponding to a physical display. "Device coordinates" means a position on a screen measured fr
screen.go:21
Struct
StatusItemOptions
cocoa.go:147
Struct
Window
Window represents a window registered with the native UI toolkit (e.g. NSWindow on macOS)
app.go:164
Struct
WindowOptions
WindowOptions contains options for creating windows
app.go:105
Struct
app
examples/controller/controller.go:28
TypeAlias
appManager
appManager is the singleton for managing app instances
app.go:83
Struct
asset
cmd/gallium-bundle/bindata.go:40
Struct
asset
examples/statusbar/bindata.go:40
Struct
asset
examples/desktop-notification/bindata.go:40
Struct
bindataFileInfo
cmd/gallium-bundle/bindata.go:45
Struct
bindataFileInfo
examples/statusbar/bindata.go:45
Struct
bindataFileInfo
examples/desktop-notification/bindata.go:45
Struct
bintree
cmd/gallium-bundle/bindata.go:181
Struct
bintree
examples/statusbar/bindata.go:181
Struct
bintree
examples/desktop-notification/bindata.go:181
Struct
cerr
cerr holds a C-allocated error, which must be freed explicitly.
app.go:38
Struct
menuManager
menuManager translates Menus and MenuItems to their native equivalent (e.g. NSMenuItem on macOS)
cocoa.go:66