easygtk

package
v0.0.0-...-cb21479 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dialog_About

func Dialog_About(w *gtk.Window, version, author, mail, repository, more string, flag *gdk.Pixbuf)

func GTK_Childs

func GTK_Childs(w GTK_RemoveDestroyAble, remove_all bool, destroy_all bool) []gtk.IWidget

func GTK_ColorOfSelected

func GTK_ColorOfSelected() [4]float64

func GTK_Dialog

func GTK_Dialog(w *gtk.Window, title string) (*gtk.Dialog, *gtk.Box)

func GTK_DialogMessage

func GTK_DialogMessage(w *gtk.Window, msg_type gtk.MessageType, btns_type gtk.ButtonsType, title string, msg string) (*gtk.MessageDialog, *gtk.Box)

func GTK_GetVersion

func GTK_GetVersion() string

func GTK_GetVersionWrapper

func GTK_GetVersionWrapper() string

func GTK_Image_From_File

func GTK_Image_From_File(fname string, ftype string) *gtk.Image

func GTK_Image_From_Name

func GTK_Image_From_Name(name string, size gtk.IconSize) *gtk.Image

func GTK_Image_From_PixBuf

func GTK_Image_From_PixBuf(pixbuf *gdk.Pixbuf) *gtk.Image

func GTK_KEY_Enter

func GTK_KEY_Enter() uint

func GTK_KeyboardCtrlState

func GTK_KeyboardCtrlState(state uint) bool

func GTK_KeyboardKeyOfEvent

func GTK_KeyboardKeyOfEvent(event *gdk.Event) (uint, uint, uint16)

func GTK_LabelPair

func GTK_LabelPair(title string, value string) (*gtk.Box, *gtk.Label)

func GTK_LabelWrapMode

func GTK_LabelWrapMode(label *gtk.Label, lines int)

func GTK_MenuItem

func GTK_MenuItem(rightmenu *gtk.Menu, title string, func_event func()) *gtk.MenuItem

func GTK_MenuItemIcon

func GTK_MenuItemIcon(rightmenu *gtk.Menu, title string, iconname string, func_event func()) *gtk.MenuItem

func GTK_MenuSeparator

func GTK_MenuSeparator(rightmenu *gtk.Menu)

func GTK_MenuSub

func GTK_MenuSub(rightmenu interface{ Add(gtk.IWidget) }, title string) *gtk.Menu

func GTK_MouseKeyOfEvent

func GTK_MouseKeyOfEvent(event *gdk.Event) (int, int, int, uint)

func GTK_OptionsWidget

func GTK_OptionsWidget(optst *OptionsStorage, key string, changed_event func(key string)) gtk.IWidget

func GTK_PixBuf_From_Bytes

func GTK_PixBuf_From_Bytes(data *[]byte, ftype string) *gdk.Pixbuf

func GTK_PixBuf_From_RGBA

func GTK_PixBuf_From_RGBA(img image.Image) *gdk.Pixbuf

func GTK_ScrollGetValues

func GTK_ScrollGetValues(scroll *gtk.ScrolledWindow) (int, int)

func GTK_ScrollReset

func GTK_ScrollReset(scroll *gtk.ScrolledWindow)

func GTK_SpinnerActive

func GTK_SpinnerActive(spinner *gtk.Spinner, def bool) bool

func GTK_WidgetExist

func GTK_WidgetExist(w interface {
	IsVisible() bool
}) bool

func GetFlag_Russian

func GetFlag_Russian() *gdk.Pixbuf

best country, of course

Types

type GTK_DestroyAble

type GTK_DestroyAble interface {
	Destroy()
}

type GTK_RemoveAble

type GTK_RemoveAble interface {
	GetChildren() *glib.List
	Remove(gtk.IWidget)
}

type GTK_RemoveDestroyAble

type GTK_RemoveDestroyAble interface {
	GetChildren() *glib.List
	Remove(gtk.IWidget)
	Destroy()
}

Jump to

Keyboard shortcuts

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