MCPcopy Create free account

hub / github.com/alexflint/gallium / functions

Functions156 in github.com/alexflint/gallium

↓ 16 callersFunctionmust
(err error, info ...interface{})
cmd/gallium-bundle/bundle.go:17
↓ 8 callersMethodOpenWindow
OpenWindow creates a window that will load the given URL.
app.go:169
↓ 5 callersMethodClose
Close closes the window, as if the close button had been clicked.
app.go:235
↓ 4 callersMethodMode
()
cmd/gallium-bundle/bindata.go:58
↓ 3 callersMethodCopy
Copy copies the current text selection to the pasteboard
app.go:260
↓ 3 callersMethodIsDir
()
cmd/gallium-bundle/bindata.go:64
↓ 3 callersMethodSetMenu
(menus []Menu)
cocoa.go:136
↓ 3 callersFunction_filePath
(dir, name string)
cmd/gallium-bundle/bindata.go:231
↓ 3 callersFunction_filePath
(dir, name string)
examples/statusbar/bindata.go:231
↓ 3 callersFunction_filePath
(dir, name string)
examples/desktop-notification/bindata.go:231
↓ 3 callersFunctioncopyFile
(dst, src string)
cmd/gallium-bundle/bundle.go:24
↓ 3 callersMethodfree
()
app.go:49
↓ 3 callersFunctionrectFromC
(c C.gallium_rect_t)
rect.go:21
↓ 3 callersFunctionredirect
(path string, fds ...uintptr)
redirect.go:32
↓ 2 callersFunctionAsset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
cmd/gallium-bundle/bindata.go:94
↓ 2 callersFunctionAsset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
examples/statusbar/bindata.go:94
↓ 2 callersFunctionAsset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
examples/desktop-notification/bindata.go:94
↓ 2 callersFunctionBundleInfo
BundleInfo looks up an entry in the Info.plist for the current bundle.
cocoa.go:225
↓ 2 callersMethodModTime
()
cmd/gallium-bundle/bindata.go:61
↓ 2 callersMethodModTime
()
examples/statusbar/bindata.go:61
↓ 2 callersMethodModTime
()
examples/desktop-notification/bindata.go:61
↓ 2 callersMethodadd
(menu MenuEntry, parent *C.gallium_nsmenu_t)
cocoa.go:74
↓ 2 callersFunctionnewMenuManager
()
cocoa.go:70
↓ 2 callersFunctionscreenFromC
(c *C.gallium_screen_t)
screen.go:28
↓ 1 callersMethodAddStatusItem
(opts StatusItemOptions)
cocoa.go:154
↓ 1 callersFunctionAssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data c
cmd/gallium-bundle/bindata.go:159
↓ 1 callersFunctionAssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data c
examples/statusbar/bindata.go:159
↓ 1 callersFunctionAssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data c
examples/desktop-notification/bindata.go:159
↓ 1 callersFunctionAssetInfo
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
cmd/gallium-bundle/bindata.go:120
↓ 1 callersFunctionAssetInfo
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
examples/statusbar/bindata.go:120
↓ 1 callersFunctionAssetInfo
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
examples/desktop-notification/bindata.go:120
↓ 1 callersMethodCloseDevTools
CloseDevTools closes the developer tools.
app.go:295
↓ 1 callersMethodLoadURL
LoadURL causes the window to load the given URL
app.go:213
↓ 1 callersMethodMiniaturize
Miniaturize miniaturizes the window, as if the min button had been clicked.
app.go:240
↓ 1 callersMethodMode
()
examples/statusbar/bindata.go:58
↓ 1 callersMethodMode
()
examples/desktop-notification/bindata.go:58
↓ 1 callersFunctionMustAsset
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
cmd/gallium-bundle/bindata.go:108
↓ 1 callersFunctionMustAsset
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
examples/statusbar/bindata.go:108
↓ 1 callersFunctionMustAsset
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
examples/desktop-notification/bindata.go:108
↓ 1 callersMethodNativeWindow
NativeWindow gets a operating-system dependent handle for this window. Under macOS this is NSWindow*.
app.go:306
↓ 1 callersMethodOpenDevTools
OpenDevTools opens the developer tools for this window.
app.go:290
↓ 1 callersFunctionParseKeys
ParseKeys parses a key combination specified as a string like "cmd shift a".
globalshortcut.go:76
↓ 1 callersMethodPost
Post shows the given desktop notification
cocoa.go:205
↓ 1 callersMethodReload
Reload reloads the current URL
app.go:218
↓ 1 callersMethodReloadNoCache
Reload reloads the current URL, ignoring cached versions of resources.
app.go:223
↓ 1 callersFunctionRestoreAsset
RestoreAsset restores an asset under the given directory
cmd/gallium-bundle/bindata.go:190
↓ 1 callersFunctionRestoreAsset
RestoreAsset restores an asset under the given directory
examples/statusbar/bindata.go:190
↓ 1 callersFunctionRestoreAsset
RestoreAsset restores an asset under the given directory
examples/desktop-notification/bindata.go:190
↓ 1 callersMethodSetShape
Shape gets the current shape of the window.
app.go:203
↓ 1 callersMethodShape
Shape gets the current shape of the window.
app.go:198
↓ 1 callersMethodadd
(app *App)
app.go:85
↓ 1 callersFunctionbindataRead
(data []byte, name string)
cmd/gallium-bundle/bindata.go:20
↓ 1 callersFunctionbindataRead
(data []byte, name string)
examples/statusbar/bindata.go:20
↓ 1 callersFunctionbindataRead
(data []byte, name string)
examples/desktop-notification/bindata.go:20
↓ 1 callersFunctionbuildIconSet
On macOS, app bundle icons are represents as a .icns file. These files are created using the "iconutil" tool. The input to this tool is a ".iconset" d
cmd/gallium-bundle/iconset.go:17
↓ 1 callersFunctioncopyTree
(dst, src string)
cmd/gallium-bundle/bundle.go:36
↓ 1 callersFunctiondefaultWindowTitle
()
app.go:135
↓ 1 callersMethoderr
()
app.go:53
↓ 1 callersMethodget
(id int)
app.go:91
↓ 1 callersFunctiongopherPngBytes
()
examples/desktop-notification/bindata.go:73
↓ 1 callersFunctioniconPngBytes
()
examples/statusbar/bindata.go:73
↓ 1 callersFunctioninfoPlistTplBytes
()
cmd/gallium-bundle/bindata.go:73
↓ 1 callersFunctionnewCerr
newCerr allocates a new error struct. It must be freed explicitly.
app.go:43
↓ 1 callersFunctiononReady
(app *gallium.App)
examples/menu/menu.go:16
FunctionAddGlobalShortcut
AddGlobalShortcut calls the handler whenever the key combination is pressed in any application.
globalshortcut.go:124
FunctionAssetNames
AssetNames returns the names of the assets.
cmd/gallium-bundle/bindata.go:133
FunctionAssetNames
AssetNames returns the names of the assets.
examples/statusbar/bindata.go:133
FunctionAssetNames
AssetNames returns the names of the assets.
examples/desktop-notification/bindata.go:133
MethodCut
Cut cuts the current text selection to the pastboard
app.go:255
MethodDelete
Delete deletes the current text selection
app.go:275
MethodDevToolsAreOpen
DevToolsVisible returns whether the developer tools are showing
app.go:300
FunctionFocusedScreen
FocusedScreen gets the screen containing the currently focused window
screen.go:52
FunctionImageFromPNG
ImageFromPNG creates an image from a buffer containing a PNG-encoded image.
cocoa.go:183
MethodIsDir
()
examples/statusbar/bindata.go:64
MethodIsDir
()
examples/desktop-notification/bindata.go:64
FunctionLoop
Loop starts the browser loop and does not return unless there is an initialization error
app.go:59
FunctionMustParseKeys
MustParseKeys is like ParseKeys but panics on error
globalshortcut.go:114
MethodName
()
cmd/gallium-bundle/bindata.go:52
MethodName
()
examples/statusbar/bindata.go:52
MethodName
()
examples/desktop-notification/bindata.go:52
MethodNativeController
NativeWindow gets an operating-system dependent handle for the window controller. Under macOS this is *NSWindowController.
app.go:312
MethodOpen
Open opens the window. This is the default state for a window created via OpenWindow, so you only need to call this if you manually closed the window.
app.go:230
MethodPaste
Paste pastes from the pasteboard
app.go:265
MethodPasteAndMatchStyle
PasteAndMatchStyle pastes from the pasteboard, matching style to the current element
app.go:270
FunctionRedirectStderr
RedirectStderr overwrites the stderr streams with a file descriptor that writes to the given path. This is done with os.Dup2, meaning that even C func
redirect.go:28
FunctionRedirectStdout
RedirectStdout overwrites the stdout streams with a file descriptor that writes to the given path. This is done with os.Dup2, meaning that even C func
redirect.go:20
FunctionRedirectStdoutStderr
RedirectStdoutStderr overwrites the stdout and stderr streams with a file descriptor that writes to the given path. This is done with os.Dup2, meaning
redirect.go:12
MethodRedo
Redo redoes the last text editing action
app.go:250
FunctionRestoreAssets
RestoreAssets restores an asset under the given directory recursively
cmd/gallium-bundle/bindata.go:215
FunctionRestoreAssets
RestoreAssets restores an asset under the given directory recursively
examples/statusbar/bindata.go:215
FunctionRestoreAssets
RestoreAssets restores an asset under the given directory recursively
examples/desktop-notification/bindata.go:215
FunctionRunApplication
RunApplication is for debugging only. It allows creation of menus and desktop notifications without firing up any parts of chromium. It will be remove
cocoa.go:237
FunctionScreens
Screens gets a list of available screens
screen.go:38
MethodSelectAll
SelectAll selects all text in the current element
app.go:280
MethodSize
()
cmd/gallium-bundle/bindata.go:55
MethodSize
()
examples/statusbar/bindata.go:55
MethodSize
()
examples/desktop-notification/bindata.go:55
MethodSys
()
cmd/gallium-bundle/bindata.go:67
MethodSys
()
examples/statusbar/bindata.go:67
MethodSys
()
examples/desktop-notification/bindata.go:67
next →1–100 of 156, ranked by callers