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 ¶
- Variables
- func ButtonClick(arg1 uintptr)
- func ButtonText(arg1 uintptr) (_swig_ret string)
- func ButtonUpdate(arg1 uintptr, arg2 string, arg3 bool, arg4 bool, arg5 bool, arg6 bool, ...)
- func CheckboxClick(arg1 uintptr)
- func CheckboxUpdate(arg1 uintptr, arg2 bool, arg3 string, arg4 bool, arg5 bool, arg6 bool, ...)
- func CheckboxValue(arg1 uintptr) (_swig_ret bool)
- func ComboboxChild(arg1 uintptr) (_swig_ret uintptr)
- func ComboboxItem(arg1 uintptr, arg2 uint) (_swig_ret string)
- func ComboboxItemCount(arg1 uintptr) (_swig_ret uint)
- func ComboboxUpdate(arg1 uintptr, arg2 string, arg3 int, arg4 bool, arg5 bool, arg6 bool, ...)
- func ComboboxValue(arg1 uintptr) (_swig_ret int)
- func DateInputDay(arg1 uintptr) (_swig_ret uint)
- func DateInputMonth(arg1 uintptr) (_swig_ret uint)
- func DateInputUpdate(arg1 uintptr, arg2 int, arg3 uint, arg4 uint, arg5 bool, arg6 bool, arg7 bool, ...)
- func DateInputYear(arg1 uintptr) (_swig_ret int)
- func DecorationFill(arg1 uintptr) (_swig_ret uint)
- func DecorationRadius(arg1 uintptr) (_swig_ret int)
- func DecorationSetRadius(arg1 uintptr, arg2 int)
- func DecorationStroke(arg1 uintptr) (_swig_ret uint)
- func DecorationUpdate(arg1 uintptr, arg2 uint, arg3 uint, arg4 int)
- func DialogAddFilter(arg1 uintptr, arg2 string, arg3 string)
- func DialogGetFilename(arg1 uintptr) (_swig_ret string)
- func DialogResponseAccept() (_swig_ret uint)
- func DialogResponseCancel() (_swig_ret uint)
- func DialogRun(arg1 uintptr) (_swig_ret uint)
- func ImageColorSpace(arg1 uintptr) (_swig_ret uint)
- func ImageHasAlpha(arg1 uintptr) (_swig_ret bool)
- func ImageImageData(handle uintptr) []byte
- func ImageImageHeight(arg1 uintptr) (_swig_ret uint)
- func ImageImageStride(arg1 uintptr) (_swig_ret uint)
- func ImageImageWidth(arg1 uintptr) (_swig_ret uint)
- func ImageUpdate(arg1 uintptr, arg2 *byte, arg3 int, arg4 int, arg5 int) (_swig_ret uintptr)
- func IntinputMax(arg1 uintptr) (_swig_ret float64)
- func IntinputMin(arg1 uintptr) (_swig_ret float64)
- func IntinputUpdate(arg1 uintptr, arg2 int64, arg3 string, arg4 bool, arg5 int64, arg6 int64, ...)
- func IntinputValue(arg1 uintptr) (_swig_ret int64)
- func LabelText(arg1 uintptr) (_swig_ret string)
- func LabelUpdate(arg1 uintptr, arg2 string)
- func MessageDialogWithError() (_swig_ret uint)
- func MessageDialogWithInfo() (_swig_ret uint)
- func MessageDialogWithWarn() (_swig_ret uint)
- func MountButton(arg1 uintptr, arg2 string, arg3 bool, arg4 bool, arg5 bool, arg6 bool, ...) (_swig_ret uintptr)
- func MountCheckbox(arg1 uintptr, arg2 bool, arg3 string, arg4 bool, arg5 bool, arg6 bool, ...) (_swig_ret uintptr)
- func MountCombobox(arg1 uintptr, arg2 string, arg3 int, arg4 bool, arg5 bool, arg6 bool, ...) (_swig_ret uintptr)
- func MountDateInput(arg1 uintptr, arg2 int, arg3 uint, arg4 uint, arg5 bool, arg6 bool, arg7 bool, ...) (_swig_ret uintptr)
- func MountDecoration(arg1 uintptr, arg2 uint, arg3 uint, arg4 int) (_swig_ret uintptr)
- func MountHR(arg1 uintptr) (_swig_ret uintptr)
- func MountImage(arg1 uintptr, arg2 *byte, arg3 int, arg4 int, arg5 int) (_swig_ret uintptr)
- func MountIntInput(arg1 uintptr, arg2 int64, arg3 string, arg4 bool, arg5 int64, arg6 int64, ...) (_swig_ret uintptr)
- func MountLabel(arg1 uintptr, arg2 string) (_swig_ret uintptr)
- func MountMessageDialog(arg1 uintptr, arg2 string, arg3 uint, arg4 string) (_swig_ret uintptr)
- func MountOpenDialog(arg1 uintptr, arg2 string, arg3 string) (_swig_ret uintptr)
- func MountParagraph(arg1 uintptr, arg2 string, arg3 byte) (_swig_ret uintptr)
- func MountProgressbar(arg1 uintptr, arg2 float64) (_swig_ret uintptr)
- func MountSaveDialog(arg1 uintptr, arg2 string, arg3 string) (_swig_ret uintptr)
- func MountSlider(arg1 uintptr, arg2 float64, arg3 bool, arg4 float64, arg5 float64, arg6 bool, ...) (_swig_ret uintptr)
- func MountTabs(arg1 uintptr, arg2 int, arg3 string, arg4 bool) (_swig_ret uintptr)
- func MountTextarea(arg1 uintptr, arg2 string, arg3 bool, arg4 bool, arg5 bool, arg6 bool, ...) (_swig_ret uintptr)
- func MountTextbox(arg1 uintptr, arg2 string, arg3 string, arg4 bool, arg5 bool, arg6 bool, ...) (_swig_ret uintptr)
- func MountWindow(arg1 string) (_swig_ret uintptr)
- func ParagraphAlign(arg1 uintptr) (_swig_ret byte)
- func ParagraphSetText(arg1 uintptr, arg2 string)
- func ParagraphText(arg1 uintptr) (_swig_ret string)
- func ParagraphUpdate(arg1 uintptr, arg2 string, arg3 byte)
- func ProgressbarUpdate(arg1 uintptr, arg2 float64)
- func ProgressbarValue(arg1 uintptr) (_swig_ret float64)
- func RegisterWidget(handle uintptr, widget Widget)
- func SliderUpdate(arg1 uintptr, arg2 float64, arg3 bool, arg4 float64, arg5 float64, arg6 bool, ...)
- func SliderValue(arg1 uintptr) (_swig_ret float64)
- func Swig_free(arg1 uintptr)
- func Swig_malloc(arg1 int) (_swig_ret uintptr)
- func TabsGetTabParent(arg1 uintptr, arg2 int) (_swig_ret uintptr)
- func TabsItemCaption(arg1 uintptr, arg2 int) (_swig_ret string)
- func TabsItemCount(arg1 uintptr) (_swig_ret int)
- func TabsUpdate(arg1 uintptr, arg2 int, arg3 string, arg4 bool)
- func TextareaPlaceholder(arg1 uintptr) (_swig_ret string)
- func TextareaReadOnly(arg1 uintptr) (_swig_ret bool)
- func TextareaText(arg1 uintptr) (_swig_ret string)
- func TextareaTextview(arg1 uintptr) (_swig_ret uintptr)
- func TextareaUpdate(arg1 uintptr, arg2 string, arg3 bool, arg4 bool, arg5 bool, arg6 bool, ...)
- func TextboxPassword(arg1 uintptr) (_swig_ret bool)
- func TextboxPlaceholder(arg1 uintptr) (_swig_ret string)
- func TextboxReadOnly(arg1 uintptr) (_swig_ret bool)
- func TextboxText(arg1 uintptr) (_swig_ret string)
- func TextboxUpdate(arg1 uintptr, arg2 string, arg3 string, arg4 bool, arg5 bool, arg6 bool, ...)
- func WidgetCanDefault(arg1 uintptr) (_swig_ret bool)
- func WidgetCanFocus(arg1 uintptr) (_swig_ret bool)
- func WidgetClose(arg1 uintptr)
- func WidgetGrabFocus(arg1 uintptr)
- func WidgetIsFocus(arg1 uintptr) (_swig_ret bool)
- func WidgetMinHeight(arg1 uintptr) (_swig_ret int)
- func WidgetMinHeightForWidth(arg1 uintptr, arg2 int) (_swig_ret int)
- func WidgetMinWidth(arg1 uintptr) (_swig_ret int)
- func WidgetNaturalHeight(arg1 uintptr) (_swig_ret int)
- func WidgetNaturalHeightForWidth(arg1 uintptr, arg2 int) (_swig_ret int)
- func WidgetNaturalSize(widget uintptr) (int, int)
- func WidgetNaturalWidth(arg1 uintptr) (_swig_ret int)
- func WidgetNaturalWidthForHeight(arg1 uintptr, arg2 int) (_swig_ret int)
- func WidgetSendKey(arg1 uintptr, arg2 uint, arg3 bool)
- func WidgetSensitive(arg1 uintptr) (_swig_ret bool)
- func WidgetSetBounds(arg1 uintptr, arg2 int, arg3 int, arg4 int, arg5 int)
- func WidgetSetSizeRequest(arg1 uintptr, arg2 int, arg3 int)
- func WindowHScrollbarHeight(arg1 uintptr) (_swig_ret uint)
- func WindowLayout(arg1 uintptr) (_swig_ret uintptr)
- func WindowScreenshot(handle uintptr) ([]byte, bool, int, int, int)
- func WindowScrolledWindow(arg1 uintptr) (_swig_ret uintptr)
- func WindowSetDefaultSize(arg1 uintptr, arg2 int, arg3 int)
- func WindowSetIcon(arg1 uintptr, arg2 *byte, arg3 int, arg4 int, arg5 int)
- func WindowSetLayoutSize(arg1 uintptr, arg2 uint, arg3 uint)
- func WindowSetTitle(arg1 uintptr, arg2 string)
- func WindowShow(arg1 uintptr)
- func WindowShowScrollbars(arg1 uintptr, arg2 bool, arg3 bool)
- func WindowSize(window uintptr) (int, int)
- func WindowTitle(arg1 uintptr) (_swig_ret string)
- func WindowVScrollbarWidth(arg1 uintptr) (_swig_ret uint)
- type Button
- type Checkbox
- type Combobox
- type DateInput
- type IntInput
- type Slider
- type Tabs
- type Textbox
- type Widget
- type WidgetWithFocus
- type Window
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 ButtonUpdate ¶
func CheckboxClick ¶
func CheckboxClick(arg1 uintptr)
func CheckboxUpdate ¶
func CheckboxValue ¶
func ComboboxChild ¶
func ComboboxItem ¶
func ComboboxItemCount ¶
func ComboboxUpdate ¶
func ComboboxValue ¶
func DateInputDay ¶
func DateInputMonth ¶
func DateInputUpdate ¶
func DateInputYear ¶
func DecorationFill ¶
func DecorationRadius ¶
func DecorationSetRadius ¶
func DecorationStroke ¶
func DialogAddFilter ¶
func DialogGetFilename ¶
func DialogResponseAccept ¶
func DialogResponseAccept() (_swig_ret uint)
func DialogResponseCancel ¶
func DialogResponseCancel() (_swig_ret uint)
func ImageColorSpace ¶
func ImageHasAlpha ¶
func ImageImageData ¶
func ImageImageHeight ¶
func ImageImageStride ¶
func ImageImageWidth ¶
func ImageUpdate ¶
func IntinputMax ¶
func IntinputMin ¶
func IntinputUpdate ¶
func IntinputValue ¶
func LabelUpdate ¶
func MessageDialogWithError ¶
func MessageDialogWithError() (_swig_ret uint)
func MessageDialogWithInfo ¶
func MessageDialogWithInfo() (_swig_ret uint)
func MessageDialogWithWarn ¶
func MessageDialogWithWarn() (_swig_ret uint)
func MountButton ¶
func MountCheckbox ¶
func MountCombobox ¶
func MountDateInput ¶
func MountDecoration ¶
func MountImage ¶
func MountIntInput ¶
func MountLabel ¶
func MountMessageDialog ¶
func MountOpenDialog ¶
func MountProgressbar ¶
func MountSaveDialog ¶
func MountSlider ¶
func MountTextarea ¶
func MountTextbox ¶
func MountWindow ¶
func ParagraphAlign ¶
func ParagraphSetText ¶
func ParagraphText ¶
func ParagraphUpdate ¶
func ProgressbarUpdate ¶
func ProgressbarValue ¶
func RegisterWidget ¶
func SliderUpdate ¶
func SliderValue ¶
func Swig_malloc ¶
func TabsGetTabParent ¶
func TabsItemCaption ¶
func TabsItemCount ¶
func TextareaPlaceholder ¶
func TextareaReadOnly ¶
func TextareaText ¶
func TextareaTextview ¶
func TextareaUpdate ¶
func TextboxPassword ¶
func TextboxPlaceholder ¶
func TextboxReadOnly ¶
func TextboxText ¶
func TextboxUpdate ¶
func WidgetCanDefault ¶
func WidgetCanFocus ¶
func WidgetClose ¶
func WidgetClose(arg1 uintptr)
func WidgetGrabFocus ¶
func WidgetGrabFocus(arg1 uintptr)
func WidgetIsFocus ¶
func WidgetMinHeight ¶
func WidgetMinHeightForWidth ¶
func WidgetMinWidth ¶
func WidgetNaturalHeight ¶
func WidgetNaturalSize ¶
func WidgetNaturalWidth ¶
func WidgetSendKey ¶
func WidgetSensitive ¶
func WidgetSetSizeRequest ¶
func WindowHScrollbarHeight ¶
func WindowLayout ¶
func WindowScrolledWindow ¶
func WindowSetDefaultSize ¶
func WindowSetLayoutSize ¶
func WindowSetTitle ¶
func WindowShow ¶
func WindowShow(arg1 uintptr)
func WindowShowScrollbars ¶
func WindowSize ¶
func WindowTitle ¶
func WindowVScrollbarWidth ¶
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 Textbox ¶
type Textbox interface { WidgetWithFocus OnChange(value string) OnEnterKey(value string) }
type WidgetWithFocus ¶
type WidgetWithFocus interface { Widget OnFocus() OnBlur() }
Click to show internal directories.
Click to hide internal directories.