Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
Package clipboard provides cgo-free access to the system text clipboard.
|
Package clipboard provides cgo-free access to the system text clipboard. |
|
examples
|
|
|
clipboard
command
Command clipboard demonstrates github.com/crgimenes/native/clipboard: it writes text to the system clipboard, reads it back, and restores whatever was there before.
|
Command clipboard demonstrates github.com/crgimenes/native/clipboard: it writes text to the system clipboard, reads it back, and restores whatever was there before. |
|
filedialog
command
Command filedialog demonstrates github.com/crgimenes/native/filedialog: it shows the native open panel, then the native save panel.
|
Command filedialog demonstrates github.com/crgimenes/native/filedialog: it shows the native open panel, then the native save panel. |
|
mmap
command
Command mmap demonstrates github.com/crgimenes/native/mmap: it maps a file, edits it through the byte slice, unmaps, and reads the change back from disk.
|
Command mmap demonstrates github.com/crgimenes/native/mmap: it maps a file, edits it through the byte slice, unmaps, and reads the change back from disk. |
|
openurl
command
Command openurl demonstrates github.com/crgimenes/native/openurl: it opens a web page in the default browser and reveals a file in the file manager.
|
Command openurl demonstrates github.com/crgimenes/native/openurl: it opens a web page in the default browser and reveals a file in the file manager. |
|
power
command
Command power demonstrates github.com/crgimenes/native/power: it asks the OS to keep the system awake, holds the inhibition for a few seconds, then releases it.
|
Command power demonstrates github.com/crgimenes/native/power: it asks the OS to keep the system awake, holds the inhibition for a few seconds, then releases it. |
|
singleinstance
command
Command singleinstance demonstrates github.com/crgimenes/native/singleinstance.
|
Command singleinstance demonstrates github.com/crgimenes/native/singleinstance. |
|
Package filedialog shows the operating system's native open and save file panels, cgo-free.
|
Package filedialog shows the operating system's native open and save file panels, cgo-free. |
|
Package mmap memory-maps files, cgo-free.
|
Package mmap memory-maps files, cgo-free. |
|
Package openurl opens URLs in the user's default handler and reveals files in the platform file manager, cgo-free.
|
Package openurl opens URLs in the user's default handler and reveals files in the platform file manager, cgo-free. |
|
Package power provides cgo-free control over system power behavior.
|
Package power provides cgo-free control over system power behavior. |
|
Package singleinstance enforces a single running instance of an application and hands the launch arguments of later starts to the one already running.
|
Package singleinstance enforces a single running instance of an application and hands the launch arguments of later starts to the one already running. |
Click to show internal directories.
Click to hide internal directories.