1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
package gtki
import "github.com/twstrike/gotk3adapter/gdki"
import "github.com/twstrike/gotk3adapter/glibi"
type Widget interface {
glibi.Object
Destroy()
GetWindow() (gdki.Window, error)
GrabFocus()
GetAllocatedHeight() int
GetAllocatedWidth() int
GetStyleContext() (StyleContext, error)
GrabDefault()
HasFocus() bool
Hide()
HideOnDelete()
SetHAlign(Align)
SetHExpand(bool)
SetMarginBottom(int)
SetMarginTop(int)
SetName(string)
SetSensitive(bool)
SetSizeRequest(int, int)
SetVisible(bool)
Show()
ShowAll()
}
func AssertWidget(_ Widget) {}
|