builder

package
v0.0.0-...-1743fbf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by go generate; DO NOT EDIT. This file was generated by gen_types.go on Sun Feb 24 18:20:58

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	*gtk.Builder
}

Builder have helpers functions to retrieves typed object from an ui file

func New

func New(r io.Reader) (*Builder, error)

New instantiate a new builder to access elements from io.Reader ui file

func (Builder) GetApplicationWindow

func (b Builder) GetApplicationWindow(name string) (*gtk.ApplicationWindow, error)

GetApplicationWindow returns the matching *gtk.ApplicationWindow corresponding to name

func (Builder) GetBox

func (b Builder) GetBox(name string) (*gtk.Box, error)

GetBox returns the matching *gtk.Box corresponding to name

func (Builder) GetButton

func (b Builder) GetButton(name string) (*gtk.Button, error)

GetButton returns the matching *gtk.Button corresponding to name

func (Builder) GetEntry

func (b Builder) GetEntry(name string) (*gtk.Entry, error)

GetEntry returns the matching *gtk.Entry corresponding to name

func (Builder) GetExpander

func (b Builder) GetExpander(name string) (*gtk.Expander, error)

GetExpander returns the matching *gtk.Expander corresponding to name

func (Builder) GetHeaderBar

func (b Builder) GetHeaderBar(name string) (*gtk.HeaderBar, error)

GetHeaderBar returns the matching *gtk.HeaderBar corresponding to name

func (Builder) GetLabel

func (b Builder) GetLabel(name string) (*gtk.Label, error)

GetLabel returns the matching *gtk.Label corresponding to name

func (Builder) GetLinkButton

func (b Builder) GetLinkButton(name string) (*gtk.LinkButton, error)

GetLinkButton returns the matching *gtk.LinkButton corresponding to name

func (Builder) GetListBox

func (b Builder) GetListBox(name string) (*gtk.ListBox, error)

GetListBox returns the matching *gtk.ListBox corresponding to name

func (Builder) GetRadioButton

func (b Builder) GetRadioButton(name string) (*gtk.RadioButton, error)

GetRadioButton returns the matching *gtk.RadioButton corresponding to name

func (Builder) GetRevealer

func (b Builder) GetRevealer(name string) (*gtk.Revealer, error)

GetRevealer returns the matching *gtk.Revealer corresponding to name

func (Builder) GetStack

func (b Builder) GetStack(name string) (*gtk.Stack, error)

GetStack returns the matching *gtk.Stack corresponding to name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL