pipeglade

package module
v0.0.0-...-0ac764b Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2015 License: MIT Imports: 10 Imported by: 0

README

go-pipeglade GoDoc

Golang wrapper around pipeglade.

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	UI     *UI
	Type   string
	Widget string
	Data   string
}

func (*Event) IsQuit

func (e *Event) IsQuit() bool

func (*Event) ToBool

func (e *Event) ToBool() bool

func (*Event) ToColor

func (e *Event) ToColor() color.Color

func (*Event) ToFloat

func (e *Event) ToFloat() float32

func (*Event) ToTableCell

func (e *Event) ToTableCell() (row, column int, cell string)

func (*Event) ToTime

func (e *Event) ToTime(loc *time.Location) (t time.Time)

type UI

type UI struct {
	C chan Event
	// contains filtered or unexported fields
}

func Exec

func Exec(interfaceFile string) (*UI, error)

func (*UI) AppendText

func (ui *UI) AppendText(widget, text string)

Widgets:

GtkComboBoxText

func (*UI) ClearMarks

func (ui *UI) ClearMarks(widget string)

Widgets:

GtkCalendar

func (*UI) Delete

func (ui *UI) Delete(widget string)

Widgets:

GtkTextView

func (*UI) ForceCB

func (ui *UI) ForceCB(widget string)

Widgets:

Any Widget

func (*UI) InsertAtCursor

func (ui *UI) InsertAtCursor(widget, text string)

Widgets:

GtkTextView

func (*UI) InsertRow

func (ui *UI) InsertRow(widget string, position int)

Widgets:

GtkTreeView

func (*UI) InsertRowAtEnd

func (ui *UI) InsertRowAtEnd(widget string)

Widgets:

GtkTreeView

func (*UI) InsertText

func (ui *UI) InsertText(widget string, position int, text string)

Widgets:

GtkComboBoxText

func (*UI) MainQuit

func (ui *UI) MainQuit()

func (*UI) MarkDay

func (ui *UI) MarkDay(widget string, day int)

Widgets:

GtkCalendar

func (*UI) MoveRow

func (ui *UI) MoveRow(widget string, origin, destination int)

Widgets:

GtkTreeView

func (*UI) MoveRowToEnd

func (ui *UI) MoveRowToEnd(widget string, origin int)

Widgets:

GtkTreeView

func (*UI) OverrideBackgroundColor

func (ui *UI) OverrideBackgroundColor(widget string, color color.Color)

Widgets:

Any Widget

func (*UI) OverrideColor

func (ui *UI) OverrideColor(widget string, color color.Color)

Widgets:

Any Widget

func (*UI) OverrideFont

func (ui *UI) OverrideFont(widget, font string)

Widgets:

Any Widget

func (*UI) PlaceCursor

func (ui *UI) PlaceCursor(widget string, position int)

Widgets:

GtkTextView

func (*UI) PlaceCursorAtEnd

func (ui *UI) PlaceCursorAtEnd(widget string)

Widgets:

GtkTextView

func (*UI) PlaceCursorAtLine

func (ui *UI) PlaceCursorAtLine(widget string, line int)

Widgets:

GtkTextView

func (*UI) Pop

func (ui *UI) Pop(widget string)

Widgets:

GtkStatusbar

func (*UI) PrependText

func (ui *UI) PrependText(widget, text string)

Widgets:

GtkComboBoxText

func (*UI) Push

func (ui *UI) Push(widget, text string)

Widgets:

GtkStatusbar

func (*UI) RemoveRow

func (ui *UI) RemoveRow(widget string, position int)

Widgets:

GtkTreeView

func (*UI) Scroll

func (ui *UI) Scroll(widget string, row, column int)

Widgets:

GtkTreeView

func (*UI) ScrollToCursor

func (ui *UI) ScrollToCursor(widget string)

Widgets:

GtkTextView

func (*UI) SelectDate

func (ui *UI) SelectDate(widget string, date time.Time)

Widgets:

GtkCalendar

func (*UI) Set

func (ui *UI) Set(widget string, row, column int, data string)

Widgets:

GtkTreeView

func (*UI) SetActive

func (ui *UI) SetActive(widget string, active bool)

Widgets:

GtkToggleButton
GtkCheckButton
GtkRadioButton

func (*UI) SetColor

func (ui *UI) SetColor(widget string, color color.Color)

Widgets:

GtkColorButton

func (*UI) SetColorName

func (ui *UI) SetColorName(widget, color string)

Widgets:

GtkColorButton

func (*UI) SetCurrentName

func (ui *UI) SetCurrentName(widget, name string)

Widgets:

GtkFileChooserDialog

func (*UI) SetCurrentPage

func (ui *UI) SetCurrentPage(widget string, page int)

Widgets:

GtkNotebook

func (*UI) SetExpanded

func (ui *UI) SetExpanded(widget string, expanded bool)

Widgets:

GtkExpander

func (*UI) SetFileName

func (ui *UI) SetFileName(widget, path string)

Widgets:

GtkFileChooserButton
GtkFileChooserDialog

func (*UI) SetFontName

func (ui *UI) SetFontName(widget, font string)

Widgets:

GtkFontButton

func (*UI) SetFraction

func (ui *UI) SetFraction(widget string, value float64)

Widgets:

GtkProgressBar

func (*UI) SetFromFile

func (ui *UI) SetFromFile(widget, path string)

Widgets:

GtkImage

func (*UI) SetFromIconName

func (ui *UI) SetFromIconName(widget, iconName string)

Widgets:

GtkImage

func (*UI) SetLabel

func (ui *UI) SetLabel(widget, text string)

Widgets:

GtkButton
GtkToggleButton
GtkCheckButton
GtkExpander
GtkFrame

func (*UI) SetSensitive

func (ui *UI) SetSensitive(widget string, sensitive bool)

Widgets:

Any Widget

func (*UI) SetText

func (ui *UI) SetText(widget, text string)

Widgets:

GtkLabel
GtkEntry
GtkTextView
GtkSpinButton
GtkProgressBar

func (*UI) SetValue

func (ui *UI) SetValue(widget string, value float64)

Widgets:

GtkScale

func (*UI) SetVisible

func (ui *UI) SetVisible(widget string, visible bool)

Widgets:

Any Widget

func (*UI) Start

func (ui *UI) Start(widget string)

Widgets:

GtkSpinner

func (*UI) Stop

func (ui *UI) Stop(widget string)

Widgets:

GtkSpinner

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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