Documentation ¶
Index ¶
- func AddCSS(style *gtk.StyleContext, CSS string)
- func AsContainer(w gtk.Widgetter) *gtk.Container
- func Bold(str string) string
- func CSSAdder(CSS string) func(style *gtk.StyleContext)
- func DiffClass(old *string, new string, style *gtk.StyleContext)
- func Escape(str string) string
- func EventIsLeftClick(ev *gdk.Event) bool
- func EventIsMouseButton(ev *gdk.Event, mouseBtn uint) bool
- func EventIsRightClick(ev *gdk.Event) bool
- func HasProperty(obj glib.Objector, name string) bool
- func InjectCSS(w gtk.Widgetter, class, CSS string)
- func KeyIsASCII(key uint) bool
- func Margin(widget gtk.Widgetter, sz int)
- func Margin2(widget gtk.Widgetter, top, left int)
- func Margin4(widget gtk.Widgetter, top, bottom, left, right int)
- func NthChildren(container gtk.Containerer, i int) gtk.Widgetter
- func OnMap(w gtk.Widgetter, f func() func())
- func OpenURI(uri string)
- func PangoAttrs(attrs ...*pango.Attribute) *pango.AttrList
- func TransferMargin(dst, src gtk.Widgetter)
- func TraverseWidget(container gtk.Containerer, fn func(gtk.Widgetter))
- func WrapBox(orient gtk.Orientation, widgets ...gtk.Widgetter) *gtk.Box
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsContainer ¶ added in v0.0.4
func AsContainer(w gtk.Widgetter) *gtk.Container
func EventIsLeftClick ¶
func EventIsLeftClick(ev *gdk.Event) bool
EventIsLeftClick see EventIsMouseButton.
func EventIsMouseButton ¶ added in v0.1.0
EventIsMouseButton returns true if the given event is a button press event on the given button.
func EventIsRightClick ¶
func EventIsRightClick(ev *gdk.Event) bool
EventIsRightClick see EventIsMouseButton.
func HasProperty ¶ added in v0.0.4
func KeyIsASCII ¶
func NthChildren ¶ added in v0.0.4
func NthChildren(container gtk.Containerer, i int) gtk.Widgetter
func OnMap ¶ added in v0.1.0
func OnMap(w gtk.Widgetter, f func() func())
OnMap binds f to w's mapping signals.
func PangoAttrs ¶ added in v0.1.0
PangoAttrs is a way to declaratively create a pango.AttrList.
func TransferMargin ¶ added in v0.0.4
func TransferMargin(dst, src gtk.Widgetter)
func TraverseWidget ¶ added in v0.0.4
func TraverseWidget(container gtk.Containerer, fn func(gtk.Widgetter))
fn() == true => break
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.