Documentation ¶
Overview ¶
Package popup contains project's dialogs
Index ¶
- type Dialog
- func (d *Dialog) Build()
- func (d *Dialog) Cleanup()
- func (d *Dialog) IsOpen(isOpen *bool) *Dialog
- func (d *Dialog) IsVisible() bool
- func (d *Dialog) KeyboardShortcuts() []giu.WindowShortcut
- func (d *Dialog) Layout(widgets ...giu.Widget) *Dialog
- func (d *Dialog) RegisterKeyboardShortcuts(_ ...giu.WindowShortcut)
- func (d *Dialog) Show()
- func (d *Dialog) ToggleVisibility()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialog ¶
type Dialog struct { *giu.PopupModalWidget Visible bool // contains filtered or unexported fields }
Dialog represents HellSpawner's dialog
func (*Dialog) KeyboardShortcuts ¶
func (d *Dialog) KeyboardShortcuts() []giu.WindowShortcut
KeyboardShortcuts returns a list of shortcuts
func (*Dialog) RegisterKeyboardShortcuts ¶
func (d *Dialog) RegisterKeyboardShortcuts(_ ...giu.WindowShortcut)
RegisterKeyboardShortcuts registers a shortcuts for popup dialog
func (*Dialog) ToggleVisibility ¶
func (d *Dialog) ToggleVisibility()
ToggleVisibility toggles dialog's visibility
Directories ¶
Path | Synopsis |
---|---|
Package aboutdialog provides the "About" window implementation, which shows information about hellspawner.
|
Package aboutdialog provides the "About" window implementation, which shows information about hellspawner. |
Package preferences contains preferences dialog data
|
Package preferences contains preferences dialog data |
Package projectproperties contains project properties dialog's data
|
Package projectproperties contains project properties dialog's data |
Click to show internal directories.
Click to hide internal directories.