Versions in this module Expand all Collapse all v1 v1.2.0 Jul 2, 2023 Changes in this version type Xigo_page + func (p *Xigo_page) Unlock() v1.0.1 Jan 19, 2022 Changes in this version + const BT_ENTRY + const BT_RADIO + const BT_SPRING + const BT_STICKY + const EV_MOUSE_PRESS + const EV_MOUSE_REL + const EV_PRESS + const EV_RELEASE + const FILL_HORIZ + const FILL_NONE + const FILL_OP_0 + const FILL_OP_1 + const FILL_OP_2 + const FILL_OP_3 + const FILL_OP_4 + const FILL_OP_5 + const FILL_OP_6 + const FILL_SOLID + const FILL_VERT + type Xigo_gc struct + func Mk_xigo_gc(output string) (gc *Xigo_gc, err error) + func (gc *Xigo_gc) Mk_page(pname string, height int, width int, title string) error + func (xgc *Xigo_gc) Add_button(bid int, x int, y int, height int, width int, label string, colour string, ...) + func (xgc *Xigo_gc) Add_listener(lchan chan *sktools.Interaction) + func (xgc *Xigo_gc) Clear() + func (xgc *Xigo_gc) Clear_subpage(ccolour string) + func (xgc *Xigo_gc) Close() + func (xgc *Xigo_gc) Close_image(iimage interface{}) + func (xgc *Xigo_gc) Delete_subpage(pname string) + func (xgc *Xigo_gc) Draw_arc(xo float64, yo float64, radius float64, alpha1 float64, alpha2 float64) + func (xgc *Xigo_gc) Draw_circle(xo float64, yo float64, radius float64, outline bool) + func (xgc *Xigo_gc) Draw_image(xo float64, yo float64, iimage interface{}) + func (xgc *Xigo_gc) Draw_line(x1 float64, y1 float64, x2 float64, y2 float64) + func (xgc *Xigo_gc) Draw_pie(xo float64, yo float64, radius float64, alpha1 float64, alpha2 float64, ...) + func (xgc *Xigo_gc) Draw_poly(points []*sktools.Point, outline bool) + func (xgc *Xigo_gc) Draw_rect(xo float64, yo float64, height float64, width float64, outline bool) + func (xgc *Xigo_gc) Draw_text(xo float64, yo float64, text string) + func (xgc *Xigo_gc) Drive() + func (xgc *Xigo_gc) Engague() + func (xgc *Xigo_gc) Lock() + func (xgc *Xigo_gc) Mk_bounded_image(fname string, max_height int, max_width int) (image interface{}, e error) + func (xgc *Xigo_gc) Mk_locked_subpage(pname string, xo float64, yo float64, height float64, width float64) + func (xgc *Xigo_gc) Mk_scaled_image(fname string, scale float64) (image interface{}, e error) + func (xgc *Xigo_gc) Mk_stacked_image(fnames []string, max_height int, max_width int) (image interface{}, e error) + func (xgc *Xigo_gc) Mk_subpage(pname string, xo float64, yo float64, height float64, width float64) + func (xgc *Xigo_gc) Pop_state() + func (xgc *Xigo_gc) Press_button(wname string, bid int) + func (xgc *Xigo_gc) Push_state() + func (xgc *Xigo_gc) Release_button(wname string, bid int) + func (xgc *Xigo_gc) Rotate(degrees float64) bool + func (xgc *Xigo_gc) Select_page(pname string) + func (xgc *Xigo_gc) Select_subpage(pname string) (found bool) + func (xgc *Xigo_gc) Set_colour(cname string) + func (xgc *Xigo_gc) Set_dimensions(height float64, width float64) + func (xgc *Xigo_gc) Set_fill_attrs(cname string, fill_style int) + func (xgc *Xigo_gc) Set_font(fontname string, points int, weight int, ital bool) + func (xgc *Xigo_gc) Set_iscale(increment float64) + func (xgc *Xigo_gc) Set_line_style(pattern []int) + func (xgc *Xigo_gc) Set_line_width(width int) + func (xgc *Xigo_gc) Set_page_colour(cname string) + func (xgc *Xigo_gc) Set_scale(xscale float64, yscale float64) + func (xgc *Xigo_gc) Set_visibility(pname string, hidden bool) + func (xgc *Xigo_gc) Show() + func (xgc *Xigo_gc) Translate(x float64, y float64) + func (xgc *Xigo_gc) Translate_delta(xdelta float64, ydelta float64) + func (xgc *Xigo_gc) Unlock() + type Xigo_image struct + type Xigo_page struct + func (p *Xigo_page) Add_listener(gc *Xigo_gc) + func (p *Xigo_page) Add_subpage(pname string, x int, y int, height int, width int) (sp *Xigo_page) + func (p *Xigo_page) Clear(xgc *Xigo_gc, clear_all bool) + func (p *Xigo_page) Close() + func (p *Xigo_page) Get_colour() C.int + func (p *Xigo_page) Get_page_colour() C.int + func (p *Xigo_page) Get_subpage(pname string) (sp *Xigo_page) + func (p *Xigo_page) Get_win() C.int + func (p *Xigo_page) Lock() + func (p *Xigo_page) Move(delta_x int, delta_y int, scale float64) + func (p *Xigo_page) Move_subpages(dx int, dy int, scale float64, recursive bool) + func (p *Xigo_page) Scale(scale float64) + func (p *Xigo_page) Scale_subpages(scale float64, recursive bool) + func (p *Xigo_page) Set_colour(colour C.int) + func (p *Xigo_page) Set_invisible() + func (p *Xigo_page) Set_page_colour(colour C.int) + func (p *Xigo_page) Set_visible() + func (p *Xigo_page) Show() + func (p *Xigo_page) Unock()