Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachable ¶
type Attachable interface { // Attached returns true if the control is directly or indirectly attached // to a window. Attached() bool // Attach is called when the control is directly or indirectly attached to a // window. // Attach should only be called by the parent of the control. Attach() // Detach is called when the control is directly or indirectly detached from a // window. // Detach should only be called by the parent of the control. Detach() // OnAttach subscribes f to be called whenever the control is attached. // OnDetach subscribes f to be called whenever the control is detached. OnAttach(func()) framework.EventSubscription OnDetach(func()) framework.EventSubscription }
type IsVisibler ¶
type IsVisibler interface { // IsVisible returns true if the control is visible. IsVisible() bool }
type LayoutChildren ¶
type LayoutChildren interface {
LayoutChildren()
}
type PaintChilder ¶
type Relayouter ¶
type Relayouter interface {
Relayout()
}
type Sized ¶
type Sized interface { // Size returns the size of the control. If the control is not attached, then // the returned size is undefined. Size() math.Size // SetSize sets the size of the control to the specified value. // SetSize should only be called by the parent of the control during layout. SetSize(math.Size) }
Click to show internal directories.
Click to hide internal directories.