Documentation ¶
Index ¶
- Constants
- func GetVDAgentClipboardTypeByFormatType(ft goclip.Type) (spice.SpiceClipboardFormat, error)
- func NewCenterHLayout() fyne.Layout
- func NewMuteIconLayout() fyne.Layout
- func NewSidebarLayout() fyne.Layout
- type SpiceFyne
- func (s *SpiceFyne) AcceptsTab() bool
- func (s *SpiceFyne) ClipboardFetch(selection spice.SpiceClipboardSelection, ...) ([]byte, error)
- func (s *SpiceFyne) ClipboardGrabbed(selection spice.SpiceClipboardSelection, ...)
- func (s *SpiceFyne) ClipboardRelease(selection spice.SpiceClipboardSelection)
- func (s *SpiceFyne) CreateRenderer() fyne.WidgetRenderer
- func (s *SpiceFyne) Cursor() desktop.Cursor
- func (s *SpiceFyne) DisplayInit(img image.Image)
- func (s *SpiceFyne) DisplayRefresh()
- func (s *SpiceFyne) FocusGained()
- func (s *SpiceFyne) FocusLost()
- func (s *SpiceFyne) Focused() bool
- func (s *SpiceFyne) KeyDown(ev *fyne.KeyEvent)
- func (s *SpiceFyne) KeyUp(ev *fyne.KeyEvent)
- func (s *SpiceFyne) MouseDown(ev *desktop.MouseEvent)
- func (s *SpiceFyne) MouseIn(*desktop.MouseEvent)
- func (s *SpiceFyne) MouseMoved(ev *desktop.MouseEvent)
- func (s *SpiceFyne) MouseOut()
- func (s *SpiceFyne) MouseUp(ev *desktop.MouseEvent)
- func (s *SpiceFyne) Scrolled(ev *fyne.ScrollEvent)
- func (s *SpiceFyne) SetCursor(i image.Image, x, y uint16)
- func (s *SpiceFyne) SetEventsTarget(in *spice.ChInputs)
- func (s *SpiceFyne) SetMainTarget(main *spice.ChMain)
- func (s *SpiceFyne) Tapped(t *fyne.PointEvent)
- func (s *SpiceFyne) TappedSecondary(*fyne.PointEvent)
- func (s *SpiceFyne) TypedKey(*fyne.KeyEvent)
- func (s *SpiceFyne) TypedRune(rune)
- func (s *SpiceFyne) UpdateSize(siz fyne.Size)
Constants ¶
View Source
const MuteIconMargin float32 = 20
View Source
const MuteIconSize float32 = 30
View Source
const PreferencesKeyMute = "PreferencesKeyMute"
View Source
const PreferencesKeyPosition = "PreferencesKeyPosition"
View Source
const SideBarIconButton = 30
View Source
const SideBarPadding = 10
View Source
const SideBarWidth = 300
Variables ¶
This section is empty.
Functions ¶
func GetVDAgentClipboardTypeByFormatType ¶
func GetVDAgentClipboardTypeByFormatType(ft goclip.Type) (spice.SpiceClipboardFormat, error)
func NewCenterHLayout ¶
func NewCenterHLayout() fyne.Layout
func NewMuteIconLayout ¶
func NewMuteIconLayout() fyne.Layout
func NewSidebarLayout ¶
func NewSidebarLayout() fyne.Layout
Types ¶
type SpiceFyne ¶
type SpiceFyne struct { widget.BaseWidget *spice.Client // contains filtered or unexported fields }
func (*SpiceFyne) ClipboardFetch ¶
func (s *SpiceFyne) ClipboardFetch(selection spice.SpiceClipboardSelection, clipboardType spice.SpiceClipboardFormat) ([]byte, error)
func (*SpiceFyne) ClipboardGrabbed ¶
func (s *SpiceFyne) ClipboardGrabbed(selection spice.SpiceClipboardSelection, clipboardTypes []spice.SpiceClipboardFormat)
func (*SpiceFyne) ClipboardRelease ¶
func (s *SpiceFyne) ClipboardRelease(selection spice.SpiceClipboardSelection)
func (*SpiceFyne) CreateRenderer ¶
func (s *SpiceFyne) CreateRenderer() fyne.WidgetRenderer
func (*SpiceFyne) DisplayInit ¶
func (*SpiceFyne) DisplayRefresh ¶
func (s *SpiceFyne) DisplayRefresh()
func (*SpiceFyne) MouseDown ¶
func (s *SpiceFyne) MouseDown(ev *desktop.MouseEvent)
func (*SpiceFyne) MouseIn ¶
func (s *SpiceFyne) MouseIn(*desktop.MouseEvent)
func (*SpiceFyne) MouseMoved ¶
func (s *SpiceFyne) MouseMoved(ev *desktop.MouseEvent)
func (*SpiceFyne) MouseUp ¶
func (s *SpiceFyne) MouseUp(ev *desktop.MouseEvent)
func (*SpiceFyne) SetEventsTarget ¶
func (*SpiceFyne) SetMainTarget ¶
func (*SpiceFyne) Tapped ¶
func (s *SpiceFyne) Tapped(t *fyne.PointEvent)
TODO only care for those events if MouseDown() isn't triggered (ie. mobile)
func (*SpiceFyne) TappedSecondary ¶
func (s *SpiceFyne) TappedSecondary(*fyne.PointEvent)
func (*SpiceFyne) TypedRune ¶
TODO have a keyboard mode where we just emulate whatever is input by the user
func (*SpiceFyne) UpdateSize ¶
func (s *SpiceFyne) UpdateSize(siz fyne.Size)
Click to show internal directories.
Click to hide internal directories.