Documentation ¶
Overview ¶
Package buildhelp is a small wrapper around gtk.Builder to load interfaces easily.
Index ¶
- type BuildHelp
- func (b *BuildHelp) GetAdjustment(name string) *gtk.Adjustment
- func (b *BuildHelp) GetBox(name string) *gtk.Box
- func (b *BuildHelp) GetButton(name string) *gtk.Button
- func (b *BuildHelp) GetCellRendererText(name string) *gtk.CellRendererText
- func (b *BuildHelp) GetCheckButton(name string) *gtk.CheckButton
- func (b *BuildHelp) GetComboBox(name string) *gtk.ComboBox
- func (b *BuildHelp) GetFrame(name string) *gtk.Frame
- func (b *BuildHelp) GetImage(name string) *gtk.Image
- func (b *BuildHelp) GetLabel(name string) *gtk.Label
- func (b *BuildHelp) GetListStore(name string) *gtk.ListStore
- func (b *BuildHelp) GetScale(name string) *gtk.Scale
- func (b *BuildHelp) GetScrolledWindow(name string) *gtk.ScrolledWindow
- func (b *BuildHelp) GetSwitch(name string) *gtk.Switch
- func (b *BuildHelp) GetToggleButton(name string) *gtk.ToggleButton
- func (b *BuildHelp) GetTreeSelection(name string) *gtk.TreeSelection
- func (b *BuildHelp) GetTreeStore(name string) *gtk.TreeStore
- func (b *BuildHelp) GetTreeView(name string) *gtk.TreeView
- func (b *BuildHelp) GetTreeViewColumn(name string) *gtk.TreeViewColumn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildHelp ¶
BuildHelp is a small wrapper around gtk.Builder to load interfaces easily.
func NewFromBytes ¶
NewFromBytes creates a *BuildHelp to load gtk.Builder interfaces easily from a slice of bytes.
func (*BuildHelp) GetAdjustment ¶
func (b *BuildHelp) GetAdjustment(name string) *gtk.Adjustment
GetAdjustment get the object named name as Adjustment.
func (*BuildHelp) GetCellRendererText ¶
func (b *BuildHelp) GetCellRendererText(name string) *gtk.CellRendererText
GetCellRendererText get the object named name as CellRendererText.
func (*BuildHelp) GetCheckButton ¶
func (b *BuildHelp) GetCheckButton(name string) *gtk.CheckButton
GetCheckButton get the object named name as CheckButton.
func (*BuildHelp) GetComboBox ¶
GetComboBox get the object named name as ComboBox.
func (*BuildHelp) GetListStore ¶
GetListStore get the object named name as ListStore.
func (*BuildHelp) GetScrolledWindow ¶
func (b *BuildHelp) GetScrolledWindow(name string) *gtk.ScrolledWindow
GetScrolledWindow get the object named name as ScrolledWindow.
func (*BuildHelp) GetToggleButton ¶
func (b *BuildHelp) GetToggleButton(name string) *gtk.ToggleButton
GetToggleButton get the object named name as ToggleButton.
func (*BuildHelp) GetTreeSelection ¶
func (b *BuildHelp) GetTreeSelection(name string) *gtk.TreeSelection
GetTreeSelection get the object named name as TreeSelection.
func (*BuildHelp) GetTreeStore ¶
GetTreeStore get the object named name as TreeStore.
func (*BuildHelp) GetTreeView ¶
GetTreeView get the object named name as TreeView.
func (*BuildHelp) GetTreeViewColumn ¶
func (b *BuildHelp) GetTreeViewColumn(name string) *gtk.TreeViewColumn
GetTreeViewColumn get the object named name as TreeViewColumn.