Documentation ¶
Index ¶
- Constants
- func AddCSSUnsafe(style *gtk.StyleContext, CSS string)
- func Bold(str string) string
- func Connect(connector connector, event string, cb interface{}, data ...interface{})
- func DiffClass(old *string, new string, style *gtk.StyleContext)
- func DiffClassUnsafe(old *string, new string, style *gtk.StyleContext)
- func Escape(str string) string
- func EventIsLeftClick(ev *gdk.Event) bool
- func EventIsRightClick(ev *gdk.Event) bool
- func HandyDialog(dialog Dialoger, transientFor gtk.IWindow) *handy.Dialog
- func ImageSetIcon(img *gtk.Image, icon string, px int)
- func InjectCSS(g StyleContextGetter, class, CSS string)
- func InjectCSSUnsafe(g StyleContextGetter, class, CSS string)
- func KeyIsASCII(key uint) bool
- func Margin(w Marginator, sz int)
- func Margin2(w Marginator, top, left int)
- func Margin4(w Marginator, top, bottom, left, right int)
- func NAddButtonWithTargetValue(n *glib.Notification, label, action string, target *glib.Variant)
- func NSetDefaultActionAndTargetValue(n *glib.Notification, action string, target *glib.Variant)
- type Container
- type Dialoger
- type ExtendedWidget
- type Marginator
- type ScrollablePolicy
- type StyleContextGetter
- type WidgetConnector
- type WidgetDestroyer
- type WidgetSizeRequester
Constants ¶
View Source
const ( SCROLL_MINIMUM = C.GTK_SCROLL_MINIMUM SCROLL_NATURAL = C.GTK_SCROLL_NATURAL )
Variables ¶
This section is empty.
Functions ¶
func AddCSSUnsafe ¶
func AddCSSUnsafe(style *gtk.StyleContext, CSS string)
func DiffClassUnsafe ¶
func DiffClassUnsafe(old *string, new string, style *gtk.StyleContext)
func EventIsLeftClick ¶
func EventIsRightClick ¶
func InjectCSS ¶
func InjectCSS(g StyleContextGetter, class, CSS string)
func InjectCSSUnsafe ¶
func InjectCSSUnsafe(g StyleContextGetter, class, CSS string)
func KeyIsASCII ¶
func Margin ¶
func Margin(w Marginator, sz int)
func Margin2 ¶
func Margin2(w Marginator, top, left int)
func Margin4 ¶
func Margin4(w Marginator, top, bottom, left, right int)
func NAddButtonWithTargetValue ¶
func NAddButtonWithTargetValue(n *glib.Notification, label, action string, target *glib.Variant)
func NSetDefaultActionAndTargetValue ¶
func NSetDefaultActionAndTargetValue(n *glib.Notification, action string, target *glib.Variant)
Types ¶
type ExtendedWidget ¶
type Marginator ¶
type ScrollablePolicy ¶
type ScrollablePolicy int
type StyleContextGetter ¶
type StyleContextGetter interface {
GetStyleContext() (*gtk.StyleContext, error)
}
type WidgetConnector ¶
type WidgetDestroyer ¶
Click to show internal directories.
Click to hide internal directories.