Documentation ¶
Index ¶
- type Window
- func (w *Window) IsBottomed() bool
- func (w *Window) LockScroll() func()
- func (w *Window) OnBottomed(f func())
- func (w *Window) ScrollToBottom()
- func (w *Window) SetChild(child gtk.Widgetter)
- func (w *Window) Unbottom()
- func (w *Window) VAdjustment() *gtk.Adjustment
- func (w *Window) Viewport() *gtk.Viewport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Window ¶
type Window struct { *gtk.ScrolledWindow // contains filtered or unexported fields }
Window describes an automatically scrolled window.
func (*Window) IsBottomed ¶
IsBottomed returns true if the scrolled window is currently bottomed out.
func (*Window) LockScroll ¶
func (w *Window) LockScroll() func()
LockScroll locks the scroll to the current value, even if more content is added. The returned function unlocks the scroll.
func (*Window) OnBottomed ¶
func (w *Window) OnBottomed(f func())
OnBottomed registers the given function to be called when the user bottoms out the scrolled window.
func (*Window) ScrollToBottom ¶
func (w *Window) ScrollToBottom()
ScrollToBottom scrolls the window to bottom.
func (*Window) SetChild ¶
func (w *Window) SetChild(child gtk.Widgetter)
SetChild sets the child of the ScrolledWindow.
func (*Window) VAdjustment ¶
func (w *Window) VAdjustment() *gtk.Adjustment
VAdjustment overrides gtk.ScrolledWindow's.
Click to show internal directories.
Click to hide internal directories.