da

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawingAreaDraw

func DrawingAreaDraw(widgetC *C.GtkWidget, contextC *C.cairo_t) C.gboolean

DrawingAreaDraw is called from the C virtual function.

Types

type DrawingAreaDerived

type DrawingAreaDerived struct {
	// contains filtered or unexported fields
}

DrawingAreaDerived represent an instance of the subclassed widget.

func (*DrawingAreaDerived) Draw

func (d *DrawingAreaDerived) Draw(cr *cairo.Context)

func (*DrawingAreaDerived) DrawingArea

func (recv *DrawingAreaDerived) DrawingArea() *gtk.DrawingArea

DrawingArea upcasts to *DrawingArea

func (*DrawingAreaDerived) SetColour

func (d *DrawingAreaDerived) SetColour(r, g, b float64)

type DrawingAreaDerivedClass

type DrawingAreaDerivedClass struct {
	// contains filtered or unexported fields
}

func DrawingAreaDerive

func DrawingAreaDerive() *DrawingAreaDerivedClass

Register a new class derived from GtkDrawingArea.

func (*DrawingAreaDerivedClass) New

Create a new instance of the derived class, and use a Go object (DrawingAreadDerived) to represent it.

type DrawingAreaDerivedNative

type DrawingAreaDerivedNative *C.GtkDrawingArea

Jump to

Keyboard shortcuts

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