gtk

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package gtk provides an API wrapper around C calls to GTK. The functions provided are designed to match the operations required by bitbucket.org/rj/goey, and are not intended for general use.

Index

Constants

This section is empty.

Variables

View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}

Functions

func ButtonClick

func ButtonClick(arg1 uintptr)

func ButtonText

func ButtonText(arg1 uintptr) (_swig_ret string)

func ButtonUpdate

func ButtonUpdate(arg1 uintptr, arg2 string, arg3 bool, arg4 bool, arg5 bool, arg6 bool, arg7 bool)

func CheckboxClick

func CheckboxClick(arg1 uintptr)

func CheckboxUpdate

func CheckboxUpdate(arg1 uintptr, arg2 bool, arg3 string, arg4 bool, arg5 bool, arg6 bool, arg7 bool)

func CheckboxValue

func CheckboxValue(arg1 uintptr) (_swig_ret bool)

func ComboboxChild

func ComboboxChild(arg1 uintptr) (_swig_ret uintptr)

func ComboboxItem

func ComboboxItem(arg1 uintptr, arg2 uint) (_swig_ret string)

func ComboboxItemCount

func ComboboxItemCount(arg1 uintptr) (_swig_ret uint)

func ComboboxUpdate

func ComboboxUpdate(arg1 uintptr, arg2 string, arg3 int, arg4 bool, arg5 bool, arg6 bool, arg7 bool, arg8 bool)

func ComboboxValue

func ComboboxValue(arg1 uintptr) (_swig_ret int)

func DateInputDay

func DateInputDay(arg1 uintptr) (_swig_ret uint)

func DateInputMonth

func DateInputMonth(arg1 uintptr) (_swig_ret uint)

func DateInputUpdate

func DateInputUpdate(arg1 uintptr, arg2 int, arg3 uint, arg4 uint, arg5 bool, arg6 bool, arg7 bool, arg8 bool)

func DateInputYear

func DateInputYear(arg1 uintptr) (_swig_ret int)

func DecorationFill

func DecorationFill(arg1 uintptr) (_swig_ret uint)

func DecorationRadius

func DecorationRadius(arg1 uintptr) (_swig_ret int)

func DecorationSetRadius

func DecorationSetRadius(arg1 uintptr, arg2 int)

func DecorationStroke

func DecorationStroke(arg1 uintptr) (_swig_ret uint)

func DecorationUpdate

func DecorationUpdate(arg1 uintptr, arg2 uint, arg3 uint, arg4 int)

func DialogAddFilter

func DialogAddFilter(arg1 uintptr, arg2 string, arg3 string)

func DialogGetFilename

func DialogGetFilename(arg1 uintptr) (_swig_ret string)

func DialogResponseAccept

func DialogResponseAccept() (_swig_ret uint)

func DialogResponseCancel

func DialogResponseCancel() (_swig_ret uint)

func DialogRun

func DialogRun(arg1 uintptr) (_swig_ret uint)

func ImageColorSpace

func ImageColorSpace(arg1 uintptr) (_swig_ret uint)

func ImageHasAlpha

func ImageHasAlpha(arg1 uintptr) (_swig_ret bool)

func ImageImageData

func ImageImageData(handle uintptr) []byte

func ImageImageHeight

func ImageImageHeight(arg1 uintptr) (_swig_ret uint)

func ImageImageStride

func ImageImageStride(arg1 uintptr) (_swig_ret uint)

func ImageImageWidth

func ImageImageWidth(arg1 uintptr) (_swig_ret uint)

func ImageUpdate

func ImageUpdate(arg1 uintptr, arg2 *byte, arg3 int, arg4 int, arg5 int) (_swig_ret uintptr)

func IntinputMax

func IntinputMax(arg1 uintptr) (_swig_ret float64)

func IntinputMin

func IntinputMin(arg1 uintptr) (_swig_ret float64)

func IntinputUpdate

func IntinputUpdate(arg1 uintptr, arg2 int64, arg3 string, arg4 bool, arg5 int64, arg6 int64, arg7 bool, arg8 bool, arg9 bool, arg10 bool)

func IntinputValue

func IntinputValue(arg1 uintptr) (_swig_ret int64)

func LabelText

func LabelText(arg1 uintptr) (_swig_ret string)

func LabelUpdate

func LabelUpdate(arg1 uintptr, arg2 string)

func MessageDialogWithError

func MessageDialogWithError() (_swig_ret uint)

func MessageDialogWithInfo

func MessageDialogWithInfo() (_swig_ret uint)

func MessageDialogWithWarn

func MessageDialogWithWarn() (_swig_ret uint)

func MountButton

func MountButton(arg1 uintptr, arg2 string, arg3 bool, arg4 bool, arg5 bool, arg6 bool, arg7 bool) (_swig_ret uintptr)

func MountCheckbox

func MountCheckbox(arg1 uintptr, arg2 bool, arg3 string, arg4 bool, arg5 bool, arg6 bool, arg7 bool) (_swig_ret uintptr)

func MountCombobox

func MountCombobox(arg1 uintptr, arg2 string, arg3 int, arg4 bool, arg5 bool, arg6 bool, arg7 bool, arg8 bool) (_swig_ret uintptr)

func MountDateInput

func MountDateInput(arg1 uintptr, arg2 int, arg3 uint, arg4 uint, arg5 bool, arg6 bool, arg7 bool, arg8 bool) (_swig_ret uintptr)

func MountDecoration

func MountDecoration(arg1 uintptr, arg2 uint, arg3 uint, arg4 int) (_swig_ret uintptr)

func MountHR

func MountHR(arg1 uintptr) (_swig_ret uintptr)

func MountImage

func MountImage(arg1 uintptr, arg2 *byte, arg3 int, arg4 int, arg5 int) (_swig_ret uintptr)

func MountIntInput

func MountIntInput(arg1 uintptr, arg2 int64, arg3 string, arg4 bool, arg5 int64, arg6 int64, arg7 bool, arg8 bool, arg9 bool, arg10 bool) (_swig_ret uintptr)

func MountLabel

func MountLabel(arg1 uintptr, arg2 string) (_swig_ret uintptr)

func MountMessageDialog

func MountMessageDialog(arg1 uintptr, arg2 string, arg3 uint, arg4 string) (_swig_ret uintptr)

func MountOpenDialog

func MountOpenDialog(arg1 uintptr, arg2 string, arg3 string) (_swig_ret uintptr)

func MountParagraph

func MountParagraph(arg1 uintptr, arg2 string, arg3 byte) (_swig_ret uintptr)

func MountProgressbar

func MountProgressbar(arg1 uintptr, arg2 float64) (_swig_ret uintptr)

func MountSaveDialog

func MountSaveDialog(arg1 uintptr, arg2 string, arg3 string) (_swig_ret uintptr)

func MountSlider

func MountSlider(arg1 uintptr, arg2 float64, arg3 bool, arg4 float64, arg5 float64, arg6 bool, arg7 bool, arg8 bool) (_swig_ret uintptr)

func MountTabs

func MountTabs(arg1 uintptr, arg2 int, arg3 string, arg4 bool) (_swig_ret uintptr)

func MountTextarea

func MountTextarea(arg1 uintptr, arg2 string, arg3 bool, arg4 bool, arg5 bool, arg6 bool, arg7 bool) (_swig_ret uintptr)

func MountTextbox

func MountTextbox(arg1 uintptr, arg2 string, arg3 string, arg4 bool, arg5 bool, arg6 bool, arg7 bool, arg8 bool, arg9 bool, arg10 bool) (_swig_ret uintptr)

func MountWindow

func MountWindow(arg1 string) (_swig_ret uintptr)

func ParagraphAlign

func ParagraphAlign(arg1 uintptr) (_swig_ret byte)

func ParagraphSetText

func ParagraphSetText(arg1 uintptr, arg2 string)

func ParagraphText

func ParagraphText(arg1 uintptr) (_swig_ret string)

func ParagraphUpdate

func ParagraphUpdate(arg1 uintptr, arg2 string, arg3 byte)

func ProgressbarUpdate

func ProgressbarUpdate(arg1 uintptr, arg2 float64)

func ProgressbarValue

func ProgressbarValue(arg1 uintptr) (_swig_ret float64)

func RegisterWidget

func RegisterWidget(handle uintptr, widget Widget)

func SliderUpdate

func SliderUpdate(arg1 uintptr, arg2 float64, arg3 bool, arg4 float64, arg5 float64, arg6 bool, arg7 bool, arg8 bool)

func SliderValue

func SliderValue(arg1 uintptr) (_swig_ret float64)

func Swig_free

func Swig_free(arg1 uintptr)

func Swig_malloc

func Swig_malloc(arg1 int) (_swig_ret uintptr)

func TabsGetTabParent

func TabsGetTabParent(arg1 uintptr, arg2 int) (_swig_ret uintptr)

func TabsItemCaption

func TabsItemCaption(arg1 uintptr, arg2 int) (_swig_ret string)

func TabsItemCount

func TabsItemCount(arg1 uintptr) (_swig_ret int)

func TabsUpdate

func TabsUpdate(arg1 uintptr, arg2 int, arg3 string, arg4 bool)

func TextareaPlaceholder

func TextareaPlaceholder(arg1 uintptr) (_swig_ret string)

func TextareaReadOnly

func TextareaReadOnly(arg1 uintptr) (_swig_ret bool)

func TextareaText

func TextareaText(arg1 uintptr) (_swig_ret string)

func TextareaTextview

func TextareaTextview(arg1 uintptr) (_swig_ret uintptr)

func TextareaUpdate

func TextareaUpdate(arg1 uintptr, arg2 string, arg3 bool, arg4 bool, arg5 bool, arg6 bool, arg7 bool)

func TextboxPassword

func TextboxPassword(arg1 uintptr) (_swig_ret bool)

func TextboxPlaceholder

func TextboxPlaceholder(arg1 uintptr) (_swig_ret string)

func TextboxReadOnly

func TextboxReadOnly(arg1 uintptr) (_swig_ret bool)

func TextboxText

func TextboxText(arg1 uintptr) (_swig_ret string)

func TextboxUpdate

func TextboxUpdate(arg1 uintptr, arg2 string, arg3 string, arg4 bool, arg5 bool, arg6 bool, arg7 bool, arg8 bool, arg9 bool, arg10 bool)

func WidgetCanDefault

func WidgetCanDefault(arg1 uintptr) (_swig_ret bool)

func WidgetCanFocus

func WidgetCanFocus(arg1 uintptr) (_swig_ret bool)

func WidgetClose

func WidgetClose(arg1 uintptr)

func WidgetGrabFocus

func WidgetGrabFocus(arg1 uintptr)

func WidgetIsFocus

func WidgetIsFocus(arg1 uintptr) (_swig_ret bool)

func WidgetMinHeight

func WidgetMinHeight(arg1 uintptr) (_swig_ret int)

func WidgetMinHeightForWidth

func WidgetMinHeightForWidth(arg1 uintptr, arg2 int) (_swig_ret int)

func WidgetMinWidth

func WidgetMinWidth(arg1 uintptr) (_swig_ret int)

func WidgetNaturalHeight

func WidgetNaturalHeight(arg1 uintptr) (_swig_ret int)

func WidgetNaturalHeightForWidth

func WidgetNaturalHeightForWidth(arg1 uintptr, arg2 int) (_swig_ret int)

func WidgetNaturalSize

func WidgetNaturalSize(widget uintptr) (int, int)

func WidgetNaturalWidth

func WidgetNaturalWidth(arg1 uintptr) (_swig_ret int)

func WidgetNaturalWidthForHeight

func WidgetNaturalWidthForHeight(arg1 uintptr, arg2 int) (_swig_ret int)

func WidgetSendKey

func WidgetSendKey(arg1 uintptr, arg2 uint, arg3 bool)

func WidgetSensitive

func WidgetSensitive(arg1 uintptr) (_swig_ret bool)

func WidgetSetBounds

func WidgetSetBounds(arg1 uintptr, arg2 int, arg3 int, arg4 int, arg5 int)

func WidgetSetSizeRequest

func WidgetSetSizeRequest(arg1 uintptr, arg2 int, arg3 int)

func WindowHScrollbarHeight

func WindowHScrollbarHeight(arg1 uintptr) (_swig_ret uint)

func WindowLayout

func WindowLayout(arg1 uintptr) (_swig_ret uintptr)

func WindowScreenshot

func WindowScreenshot(handle uintptr) ([]byte, bool, int, int, int)

func WindowScrolledWindow

func WindowScrolledWindow(arg1 uintptr) (_swig_ret uintptr)

func WindowSetDefaultSize

func WindowSetDefaultSize(arg1 uintptr, arg2 int, arg3 int)

func WindowSetIcon

func WindowSetIcon(arg1 uintptr, arg2 *byte, arg3 int, arg4 int, arg5 int)

func WindowSetLayoutSize

func WindowSetLayoutSize(arg1 uintptr, arg2 uint, arg3 uint)

func WindowSetTitle

func WindowSetTitle(arg1 uintptr, arg2 string)

func WindowShow

func WindowShow(arg1 uintptr)

func WindowShowScrollbars

func WindowShowScrollbars(arg1 uintptr, arg2 bool, arg3 bool)

func WindowSize

func WindowSize(window uintptr) (int, int)

func WindowTitle

func WindowTitle(arg1 uintptr) (_swig_ret string)

func WindowVScrollbarWidth

func WindowVScrollbarWidth(arg1 uintptr) (_swig_ret uint)

Types

type Button

type Button interface {
	WidgetWithFocus
	OnClick()
}

type Checkbox

type Checkbox interface {
	WidgetWithFocus
	OnChange(value bool)
}

type Combobox

type Combobox interface {
	WidgetWithFocus
	OnChange(value int)
}

type DateInput

type DateInput interface {
	WidgetWithFocus
	OnChange(time.Time)
}

type IntInput

type IntInput interface {
	WidgetWithFocus
	OnChange(value int64)
	OnEnterKey(value int64)
}

type Slider

type Slider interface {
	WidgetWithFocus
	OnChange(value float64)
}

type Tabs

type Tabs interface {
	Widget
	OnChange(value int)
}

type Textbox

type Textbox interface {
	WidgetWithFocus
	OnChange(value string)
	OnEnterKey(value string)
}

type Widget

type Widget interface {
	OnDestroy()
}

type WidgetWithFocus

type WidgetWithFocus interface {
	Widget
	OnFocus()
	OnBlur()
}

type Window

type Window interface {
	Widget
	OnDeleteEvent() bool
	OnSizeAllocate(width, height int)
}

Jump to

Keyboard shortcuts

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