gdk

package
v0.0.0-...-f05e200 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2013 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package gdk provides API definitions for accessing libgdk-win32-2.0-0.dll and libgdk_pixbuf-2.0-0.dll.

Index

Constants

This section is empty.

Variables

View Source
var (
	InterpTypeGetType func() O.Type

	InputSetExtensionEvents func(
		window *Window, mask int, mode ExtensionMode)

	SetShowEvents func(showEvents bool)

	GetShowEvents func() bool

	AddClientMessageFilter func(
		messageType Atom, f T.GdkFilterFunc, data T.Gpointer)

	SettingGet func(name string, value *O.Value) bool

	RgbInit func()

	RgbXpixelFromRgb func(rgb T.GUint32) T.Gulong

	RgbGcSetForeground func(gc *GC, rgb T.GUint32)

	RgbGcSetBackground func(gc *GC, rgb T.GUint32)

	RgbFindColor func(colormap *Colormap, color *Color)

	RgbCmapNew func(colors *T.GUint32, nColors int) *T.GdkRgbCmap

	RgbCmapFree func(cmap *T.GdkRgbCmap)

	RgbSetVerbose func(verbose bool)

	RgbSetInstall func(install bool)

	RgbSetMinColors func(minColors int)

	RgbGetColormap func() *Colormap

	RgbGetVisual func() *Visual

	RgbDitherable func() bool

	RgbColormapDitherable func(cmap *Colormap) bool

	FilterReturnGetType func() O.Type

	ScrollDirectionGetType func() O.Type

	NotifyTypeGetType func() O.Type

	SettingActionGetType func() O.Type

	OwnerChangeGetType func() O.Type

	FontTypeGetType func() O.Type

	FillGetType func() O.Type

	FunctionGetType func() O.Type

	JoinStyleGetType func() O.Type

	LineStyleGetType func() O.Type

	SubwindowModeGetType func() O.Type

	InputSourceGetType func() O.Type

	InputModeGetType func() O.Type

	AxisUseGetType func() O.Type

	FillRuleGetType func() O.Type

	OverlapTypeGetType func() O.Type

	RgbDitherGetType func() O.Type

	ByteOrderGetType func() O.Type

	ModifierTypeGetType func() O.Type

	InputConditionGetType func() O.Type

	StatusGetType func() O.Type

	WindowAttributesTypeGetType func() O.Type

	WmDecorationGetType func() O.Type

	WmFunctionGetType func() O.Type

	StringWidth func(font *Font, s string) int

	TextWidth func(font *Font, text string, textLength int) int

	TextWidthWc func(
		font *Font, text *T.GdkWChar, textLength int) int

	CharWidth func(font *Font, character T.Gchar) int

	CharWidthWc func(font *Font, character T.GdkWChar) int

	StringMeasure func(font *Font, s string) int

	TextMeasure func(font *Font, text string, textLength int) int

	CharMeasure func(font *Font, character T.Gchar) int

	StringHeight func(font *Font, s string) int

	TextHeight func(font *Font, text string, textLength int) int

	CharHeight func(font *Font, character T.Gchar) int

	TextExtents func(font *Font, text string, textLength int,
		lbearing, rbearing, width, ascent, descent *int)

	TextExtentsWc func(font *Font, text *T.GdkWChar,
		txtLeng, lbearing, rbearing, width, ascent, descent *int)

	StringExtents func(font *Font, s string,
		lbearing, rbearing, width, ascent, descent *int)

	FontGetDisplay func(font *Font) *Display

	KeyvalName func(keyval uint) string

	KeyvalFromName func(keyvalName string) uint

	KeyvalConvertCase func(symbol uint, lower, upper *uint)

	KeyvalToUpper func(keyval uint) uint

	KeyvalToLower func(keyval uint) uint

	KeyvalIsUpper func(keyval uint) bool

	KeyvalIsLower func(keyval uint) bool

	KeyvalToUnicode func(keyval uint) T.GUint32

	UnicodeToKeyval func(wc T.GUint32) uint

	AtomIntern func(
		atomName string, onlyIfExists bool) Atom

	AtomInternStaticString func(atomName string) Atom

	AtomName func(atom Atom) string

	PropertyGet func(window *Window, property, typ Atom,
		offset, length T.Gulong, pdelete int,
		actualPropertyType *Atom, actualFormat, actualLength *int,
		data **T.Guchar) bool

	PropertyChange func(window *Window, property, typ Atom,
		format int, mode PropMode, data *T.Guchar,
		nelements int)

	PropertyDelete func(window *Window, property Atom)

	TextPropertyToTextList func(encoding Atom, format int,
		text *T.Guchar, length int, list ***T.Gchar) int

	Utf8ToCompoundText func(str string, encoding *Atom,
		format *int, ctext **T.Guchar, length *int) bool

	StringToCompoundText func(str string, encoding *Atom,
		format *int, ctext **T.Guchar, length *int) int

	TextPropertyToUtf8List func(encoding Atom, format int,
		text *T.Guchar, length int, list ***T.Gchar) int

	TextPropertyToUtf8ListForDisplay func(
		display *Display, encoding Atom, format int,
		text *T.Guchar, length int, list ***T.Gchar) int

	Utf8ToStringTarget func(str string) string

	TextPropertyToTextListForDisplay func(
		display *Display, encoding Atom, format int,
		text *T.Guchar, length int, list ***T.Gchar) int

	StringToCompoundTextForDisplay func(
		display *Display, str string, encoding *Atom,
		format *int, ctext **T.Guchar, length *int) int

	Utf8ToCompoundTextForDisplay func(
		display *Display, str string, encoding *Atom,
		format *int, ctext **T.Guchar, length *int) bool

	FreeTextList func(list **T.Gchar)

	FreeCompoundText func(ctext *T.Guchar)

	SelectionOwnerSet func(owner *Window, selection Atom,
		time T.GUint32, sendEvent bool) bool

	SelectionOwnerGet func(selection Atom) *Window

	SelectionOwnerSetForDisplay func(display *Display,
		owner *Window, selection Atom, time T.GUint32,
		sendEvent bool) bool

	SelectionOwnerGetForDisplay func(
		display *Display, selection Atom) *Window

	SelectionConvert func(requestor *Window,
		selection Atom, target Atom, time T.GUint32)

	SelectionPropertyGet func(requestor *Window,
		data **T.Guchar, propType *Atom, propFormat *int) int

	SelectionSendNotify func(requestor T.GdkNativeWindow,
		selection, target, property Atom, time T.GUint32)

	SelectionSendNotifyForDisplay func(
		display *Display, requestor T.GdkNativeWindow,
		selection, target, property Atom, time T.GUint32)

	SpawnOnScreen func(screen *Screen, workingDirectory string,
		argv, envp []string, flags L.SpawnFlags,
		childSetup L.SpawnChildSetupFunc, userData T.Gpointer,
		childPid *int, e **L.Error) bool

	SpawnOnScreenWithPipes func(screen *Screen,
		workingDirectory string, argv, envp []string,
		flags L.SpawnFlags, childSetup L.SpawnChildSetupFunc,
		userData T.Gpointer, childPid, standardInput,
		standardOutput, standardError *int,
		e **L.Error) bool

	SpawnCommandLineOnScreen func(
		screen *Screen, commandLine string, e **L.Error) bool

	WindowForeignNew func(anid T.GdkNativeWindow) *Window

	WindowLookup func(anid T.GdkNativeWindow) *Window

	WindowForeignNewForDisplay func(
		display *Display, anid T.GdkNativeWindow) *Window

	WindowLookupForDisplay func(
		display *Display, anid T.GdkNativeWindow) *Window

	WindowObjectGetType func() O.Type

	SetSmClientId func(smClientId string)

	WindowSetDebugUpdates func(setting bool)

	WindowConstrainSize func(geometry *Geometry, flags uint,
		width, height int, newWidth, newHeight *int)

	GetDefaultRootWindow func() *Window

	OffscreenWindowGetPixmap func(window *Window) *Pixmap

	OffscreenWindowSetEmbedder func(window, embedder *Window)

	OffscreenWindowGetEmbedder func(window *Window) *Window

	SetPointerHooks func(
		newHooks *T.GdkPointerHooks) *T.GdkPointerHooks

	TestRenderSync func(window *Window)

	TestSimulateKey func(window *Window, x, y int,
		keyval uint, modifiers T.GdkModifierType,
		keyPressrelease EventType) bool

	TestSimulateButton func(window *Window, x, y int,
		button uint, modifiers T.GdkModifierType,
		buttonPressrelease EventType) bool

	QueryDepths func(depths **int, count *int)

	QueryVisualTypes func(visualTypes **VisualType, count *int)

	ListVisuals func() *L.List

	ParseArgs func(argc *int, argv ***T.Gchar)

	Init func(argc *int, argv ***T.Gchar)

	InitCheck func(argc *int, argv ***T.Gchar) bool

	AddOptionEntriesLibgtkOnly func(group *L.OptionGroup)

	PreParseLibgtkOnly func()

	Exit func(errorCode int)

	SetLocale func() string

	GetProgramClass func() string

	SetProgramClass func(programClass string)

	ErrorTrapPush func()

	ErrorTrapPop func() int

	SetUseXshm func(useXshm bool)

	GetUseXshm func() bool

	GetDisplay func() string

	GetDisplayArgName func() string

	InputAddFull func(source int, condition T.GdkInputCondition,
		function T.GdkInputFunction, data T.Gpointer,
		destroy O.DestroyNotify) int

	InputAdd func(source int, condition T.GdkInputCondition,
		function T.GdkInputFunction, data T.Gpointer) int

	InputRemove func(tag int)

	PointerGrab func(window *Window, ownerEvents bool,
		eventMask EventMask, confineTo *Window,
		cursor *Cursor, time T.GUint32) GrabStatus

	KeyboardGrab func(window *Window, ownerEvents bool,
		time T.GUint32) GrabStatus

	PointerGrabInfoLibgtkOnly func(display *Display,
		grabWindow **Window, ownerEvents *bool) bool

	KeyboardGrabInfoLibgtkOnly func(display *Display,
		grabWindow **Window, ownerEvents *bool) bool

	PointerUngrab func(time T.GUint32)

	KeyboardUngrab func(time T.GUint32)

	PointerIsGrabbed func() bool

	ScreenWidth func() int

	ScreenHeight func() int

	ScreenWidthMm func() int

	ScreenHeightMm func() int

	Beep func()

	Flush func()

	SetDoubleClickTime func(msec uint)

	Wcstombs func(src *T.GdkWChar) string

	Mbstowcs func(dest *T.GdkWChar, src string, destMax int) int

	NotifyStartupComplete func()

	NotifyStartupCompleteWithId func(startupId string)

	ThreadsEnter func()

	ThreadsLeave func()

	ThreadsInit func()

	ThreadsSetLockFunctions func(enterFn, leaveFn O.Callback)

	ThreadsAddIdleFull func(priority int, function O.SourceFunc,
		data T.Gpointer, notify O.DestroyNotify) uint

	ThreadsAddIdle func(
		function O.SourceFunc, data T.Gpointer) uint

	ThreadsAddTimeoutFull func(
		priority int, interval uint, function O.SourceFunc,
		data T.Gpointer, notify O.DestroyNotify) uint

	ThreadsAddTimeout func(interval uint,
		function O.SourceFunc, data T.Gpointer) uint

	ThreadsAddTimeoutSecondsFull func(
		priority int, interval uint, function O.SourceFunc,
		data T.Gpointer, notify O.DestroyNotify) uint

	ThreadsAddTimeoutSeconds func(interval uint,
		function O.SourceFunc, data T.Gpointer) uint

	SynthesizeWindowState func(window *Window,
		unsetFlags WindowState, setFlags WindowState)

	Win32WindowIsWin32 func(window *Window) bool

	Win32WindowGetImplHwnd func(window *Window) HWND

	Win32HandleTableLookup func(handle T.GdkNativeWindow) T.Gpointer

	Win32DrawableGetHandle func(drawable *Drawable) HGDIOBJ

	Win32HdcGet func(drawable *Drawable, gc *GC, usage GCValuesMask) HDC

	Win32HdcRelease func(drawable *Drawable, gc *GC, usage GCValuesMask)

	Win32SelectionAddTargets func(owner *Window, selection Atom, nTargets int, targets *Atom)

	Win32IconToPixbufLibgtkOnly func(hicon HICON) *Pixbuf

	Win32PixbufToHiconLibgtkOnly func(pixbuf *Pixbuf) HICON

	Win32SetModalDialogLibgtkOnly func(window HWND)

	Win32BeginDirectDrawLibgtkOnly func(drawable *Drawable, gc *GC, privData *T.Gpointer, xOffsetOut *int, yOffsetOut *int) *Drawable

	Win32EndDirectDrawLibgtkOnly func(privData T.Gpointer)

	Win32WindowForeignNewForDisplay func(display *Display, anid T.GdkNativeWindow) *Window

	Win32WindowLookupForDisplay func(display *Display, anid T.GdkNativeWindow) *Window

	BitmapCreateFromData func(drawable *Drawable, data string, width, height int) *T.GdkBitmap
)
View Source
var (
	AppLaunchContextGetType func() O.Type
	AppLaunchContextNew     func() *AppLaunchContext

	AppLaunchContextSetDesktop   func(a *AppLaunchContext, desktop int)
	AppLaunchContextSetDisplay   func(a *AppLaunchContext, display *Display)
	AppLaunchContextSetIcon      func(a *AppLaunchContext, icon *I.Icon)
	AppLaunchContextSetIconName  func(a *AppLaunchContext, iconName string)
	AppLaunchContextSetScreen    func(a *AppLaunchContext, screen *Screen)
	AppLaunchContextSetTimestamp func(a *AppLaunchContext, timestamp T.GUint32)
)
View Source
var (
	CairoCreate func(drawable *Drawable) *Cairo

	CairoResetClip       func(c *Cairo, drawable *Drawable)
	CairoSetSourceColor  func(c *Cairo, color *Color)
	CairoSetSourcePixbuf func(c *Cairo, pixbuf *Pixbuf, pixbufX, pixbufY float64)
	CairoSetSourcePixmap func(c *Cairo, pixmap *Pixmap, pixmapX, pixmapY float64)
	CairoSetSourceWindow func(c *Cairo, window *Window, x, y float64)
	CairoRectangle       func(c *Cairo, rectangle *Rectangle)
	CairoRegion          func(c *Cairo, region *Region)
)
View Source
var (
	ColorGetType func() O.Type

	ColorParse func(spec string, color *Color) bool

	ColorAlloc  func(c *Colormap, color *Color) int
	ColorBlack  func(c *Colormap, color *Color) int
	ColorChange func(c *Colormap, color *Color) int
	ColorsAlloc func(c *Colormap, contiguous bool, planes *T.Gulong, nplanes int, pixels *T.Gulong, npixels int) int
	ColorsFree  func(c *Colormap, pixels *T.Gulong, npixels int, planes T.Gulong)
	ColorWhite  func(c *Colormap, color *Color) int

	ColorCopy     func(c *Color) *Color
	ColorEqual    func(c *Color, colorb *Color) bool
	ColorFree     func(c *Color)
	ColorHash     func(c *Color) uint
	ColorToString func(c *Color) string
)
View Source
var (
	ColormapGetType func() O.Type
	ColormapNew     func(visual *Visual, allocate bool) *Colormap

	ColormapGetSystem     func() *Colormap
	ColormapGetSystemSize func() int

	ColorsStore func(c *Colormap, colors *Color, ncolors int)

	ColormapAllocColor  func(c *Colormap, color *Color, writeable bool, bestMatch bool) bool
	ColormapAllocColors func(c *Colormap, colors *Color, nColors int, writeable bool, bestMatch bool, success *bool) int
	ColormapChange      func(c *Colormap, ncolors int)
	ColormapFreeColors  func(c *Colormap, colors *Color, nColors int)
	ColormapGetScreen   func(c *Colormap) *Screen
	ColormapGetVisual   func(c *Colormap) *Visual
	ColormapQueryColor  func(c *Colormap, pixel T.Gulong, result *Color)
	ColormapRef         func(c *Colormap) *Colormap
	ColormapUnref       func(c *Colormap)
)
View Source
var (
	CursorGetType       func() O.Type
	CursorNew           func(cursorType CursorType) *Cursor
	CursorNewForDisplay func(display *Display, cursorType CursorType) *Cursor
	CursorNewFromName   func(display *Display, name string) *Cursor
	CursorNewFromPixbuf func(display *Display, pixbuf *Pixbuf, x int, y int) *Cursor
	CursorNewFromPixmap func(source *Pixmap, mask *Pixmap, fg *Color, bg *Color, x int, y int) *Cursor

	CursorGetCursorType func(cursor *Cursor) CursorType
	CursorGetDisplay    func(cursor *Cursor) *Display
	CursorGetImage      func(cursor *Cursor) *Pixbuf
	CursorRef           func(cursor *Cursor) *Cursor
	CursorUnref         func(cursor *Cursor)
)
View Source
var (
	DeviceGetType func() O.Type

	DeviceFreeHistory    func(events **T.GdkTimeCoord, nEvents int)
	DeviceGetCorePointer func() *Device
	DevicesList          func() *L.List

	DeviceGetAxis      func(d *Device, axes *float64, use T.GdkAxisUse, value *float64) bool
	DeviceGetAxisUse   func(d *Device, index uint) T.GdkAxisUse
	DeviceGetHasCursor func(d *Device) bool
	DeviceGetHistory   func(d *Device, window *Window, start, stop T.GUint32, events ***T.GdkTimeCoord, nEvents *int) bool
	DeviceGetKey       func(d *Device, index uint, keyval *uint, modifiers *T.GdkModifierType)
	DeviceGetMode      func(d *Device) T.GdkInputMode
	DeviceGetName      func(d *Device) string
	DeviceGetNAxes     func(d *Device) int
	DeviceGetNKeys     func(d *Device) int
	DeviceGetSource    func(d *Device) T.GdkInputSource
	DeviceGetState     func(d *Device, window *Window, axes *float64, mask *T.GdkModifierType)
	DeviceSetAxisUse   func(d *Device, index uint, use T.GdkAxisUse)
	DeviceSetKey       func(d *Device, index, keyval uint, modifiers T.GdkModifierType)
	DeviceSetMode      func(d *Device, mode T.GdkInputMode) bool
	DeviceSetSource    func(d *Device, source T.GdkInputSource)
)
View Source
var (
	DisplayGetType func() O.Type

	DisplayGetDefault            func() *Display
	DisplayOpen                  func(displayName string) *Display
	DisplayOpenDefaultLibgtkOnly func() *Display

	DisplayAddClientMessageFilter        func(d *Display, messageType Atom, f T.GdkFilterFunc, data T.Gpointer)
	DisplayBeep                          func(d *Display)
	DisplayClose                         func(d *Display)
	DisplayFlush                         func(d *Display)
	DisplayGetCorePointer                func(d *Display) *Device
	DisplayGetDefaultCursorSize          func(d *Display) uint
	DisplayGetDefaultGroup               func(d *Display) *Window
	DisplayGetDefaultScreen              func(d *Display) *Screen
	DisplayGetEvent                      func(d *Display) *Event
	DisplayGetMaximalCursorSize          func(d *Display, width, height *uint)
	DisplayGetName                       func(d *Display) string
	DisplayGetNScreens                   func(d *Display) int
	DisplayGetPointer                    func(d *Display, screen **Screen, x, y *int, mask *T.GdkModifierType)
	DisplayGetScreen                     func(d *Display, screenNum int) *Screen
	DisplayGetWindowAtPointer            func(d *Display, winX, winY *int) *Window
	DisplayIsClosed                      func(d *Display) bool
	DisplayKeyboardUngrab                func(d *Display, time T.GUint32)
	DisplayListDevices                   func(d *Display) *L.List
	DisplayPeekEvent                     func(d *Display) *Event
	DisplayPointerIsGrabbed              func(d *Display) bool
	DisplayPointerUngrab                 func(d *Display, time T.GUint32)
	DisplayPutEvent                      func(d *Display, event *Event)
	DisplayRequestSelectionNotification  func(d *Display, selection Atom) bool
	DisplaySetDoubleClickDistance        func(d *Display, distance uint)
	DisplaySetDoubleClickTime            func(d *Display, msec uint)
	DisplaySetPointerHooks               func(d *Display, newHooks *DisplayPointerHooks) *DisplayPointerHooks
	DisplayStoreClipboard                func(d *Display, clipboardWindow *Window, time T.GUint32, targets *Atom, nTargets int)
	DisplaySupportsClipboardPersistence  func(d *Display) bool
	DisplaySupportsComposite             func(d *Display) bool
	DisplaySupportsCursorAlpha           func(d *Display) bool
	DisplaySupportsCursorColor           func(d *Display) bool
	DisplaySupportsInputShapes           func(d *Display) bool
	DisplaySupportsSelectionNotification func(d *Display) bool
	DisplaySupportsShapes                func(d *Display) bool
	DisplaySync                          func(d *Display)
	DisplayWarpPointer                   func(d *Display, screen *Screen, x, y int)
)
View Source
var (
	DisplayManagerGetType func() O.Type

	DisplayManagerGet func() *DisplayManager

	DisplayManagerGetDefaultDisplay func(d *DisplayManager) *Display
	DisplayManagerListDisplays      func(d *DisplayManager) *L.SList
	DisplayManagerSetDefaultDisplay func(d *DisplayManager, display *Display)
)
View Source
var (
	DragContextGetType func() O.Type
	DragContextNew     func() *DragContext

	DragAbort                 func(context *DragContext, time T.GUint32)
	DragBegin                 func(window *Window, targets *L.List) *DragContext
	DragGetProtocol           func(xid T.GdkNativeWindow, protocol *DragProtocol) T.GdkNativeWindow
	DragGetProtocolForDisplay func(display *Display, xid T.GdkNativeWindow, protocol *DragProtocol) T.GdkNativeWindow

	DragDrop                func(context *DragContext, time T.GUint32)
	DragDropSucceeded       func(context *DragContext) bool
	DragFindWindow          func(context *DragContext, dragWindow *Window, xRoot int, yRoot int, destWindow **Window, protocol *DragProtocol)
	DragFindWindowForScreen func(context *DragContext, dragWindow *Window, screen *Screen, xRoot int, yRoot int, destWindow **Window, protocol *DragProtocol)
	DragGetSelection        func(context *DragContext) Atom
	DragMotion              func(context *DragContext, destWindow *Window, protocol DragProtocol, xRoot int, yRoot int, suggestedAction DragAction, possibleActions DragAction, time T.GUint32) bool
	DragStatus              func(context *DragContext, action DragAction, time T.GUint32)
	DropFinish              func(context *DragContext, success bool, time T.GUint32)
	DropReply               func(context *DragContext, ok bool, time T.GUint32)

	DragContextGetActions         func(context *DragContext) DragAction
	DragContextGetDestWindow      func(context *DragContext) *Window
	DragContextGetProtocol        func(context *DragContext) DragProtocol
	DragContextGetSelectedAction  func(context *DragContext) DragAction
	DragContextGetSourceWindow    func(context *DragContext) *Window
	DragContextGetSuggestedAction func(context *DragContext) DragAction
	DragContextListTargets        func(context *DragContext) *L.List
	DragContextRef                func(context *DragContext)
	DragContextUnref              func(context *DragContext)
)
View Source
var (
	DrawableGetType func() O.Type

	DrawArc                  func(drawable *Drawable, gc *GC, filled bool, x, y, width, height, angle1, angle2 int)
	DrawDrawable             func(drawable *Drawable, gc *GC, src *Drawable, xsrc, ysrc, xdest, ydest, width, height int)
	DrawGlyphs               func(drawable *Drawable, gc *GC, font *P.Font, x, y int, glyphs *P.GlyphString)
	DrawGlyphsTransformed    func(drawable *Drawable, gc *GC, matrix *P.Matrix, font *P.Font, x, y int, glyphs *P.GlyphString)
	DrawGrayImage            func(drawable *Drawable, gc *GC, x, y, width, height int, dith T.GdkRgbDither, buf *T.Guchar, rowstride int)
	DrawImage                func(drawable *Drawable, gc *GC, image *Image, xsrc, ysrc, xdest, ydest, width, height int)
	DrawIndexedImage         func(drawable *Drawable, gc *GC, x, y, width, height int, dith T.GdkRgbDither, buf *T.Guchar, rowstride int, cmap *T.GdkRgbCmap)
	DrawLayout               func(drawable *Drawable, gc *GC, x, y int, layout *P.Layout)
	DrawLayoutLine           func(drawable *Drawable, gc *GC, x, y int, line *P.LayoutLine)
	DrawLayoutLineWithColors func(drawable *Drawable, gc *GC, x, y int, line *P.LayoutLine, foreground, background *Color)
	DrawLayoutWithColors     func(drawable *Drawable, gc *GC, x, y int, layout *P.Layout, foreground, background *Color)
	DrawLine                 func(drawable *Drawable, gc *GC, x1, y1, x2, y2 int)
	DrawLines                func(drawable *Drawable, gc *GC, points *Point, nPoints int)
	DrawPixbuf               func(drawable *Drawable, gc *GC, pixbuf *Pixbuf, srcX, srcY, destX, destY, width, height int, dither T.GdkRgbDither, xDither, yDither int)
	DrawPoint                func(drawable *Drawable, gc *GC, x, y int)
	DrawPoints               func(drawable *Drawable, gc *GC, points *Point, nPoints int)
	DrawPolygon              func(drawable *Drawable, gc *GC, filled bool, points *Point, nPoints int)
	DrawRectangle            func(drawable *Drawable, gc *GC, filled bool, x, y, width, height int)
	DrawRgb32Image           func(drawable *Drawable, gc *GC, x, y, width, height int, dith T.GdkRgbDither, buf *T.Guchar, rowstride int)
	DrawRgb32ImageDithalign  func(drawable *Drawable, gc *GC, x, y, width, height int, dith T.GdkRgbDither, buf *T.Guchar, rowstride, xdith, ydith int)
	DrawRgbImage             func(drawable *Drawable, gc *GC, x, y, width, height int, dith T.GdkRgbDither, rgbBuf *T.Guchar, rowstride int)
	DrawRgbImageDithalign    func(drawable *Drawable, gc *GC, x, y, width, height int, dith T.GdkRgbDither, rgbBuf *T.Guchar, rowstride, xdith, ydith int)
	DrawSegments             func(drawable *Drawable, gc *GC, segs *T.GdkSegment, nSegs int)
	DrawString               func(drawable *Drawable, font *Font, gc *GC, x, y int, s string)
	DrawText                 func(drawable *Drawable, font *Font, gc *GC, x, y int, text string, textLength int)
	DrawTextWc               func(drawable *Drawable, font *Font, gc *GC, x, y int, text *T.GdkWChar, textLength int)
	DrawTrapezoids           func(drawable *Drawable, gc *GC, trapezoids *T.GdkTrapezoid, nTrapezoids int)

	DrawableCopyToImage      func(d *Drawable, image *Image, srcX, srcY, destX, destY, width, height int) *Image
	DrawableGetClipRegion    func(d *Drawable) *Region
	DrawableGetColormap      func(d *Drawable) *Colormap
	DrawableGetData          func(d *Drawable, key string) T.Gpointer
	DrawableGetDepth         func(d *Drawable) int
	DrawableGetDisplay       func(d *Drawable) *Display
	DrawableGetImage         func(d *Drawable, x, y, width, height int) *Image
	DrawableGetScreen        func(d *Drawable) *Screen
	DrawableGetSize          func(d *Drawable, width, height *int)
	DrawableGetVisibleRegion func(d *Drawable) *Region
	DrawableGetVisual        func(d *Drawable) *Visual
	DrawableRef              func(d *Drawable) *Drawable
	DrawableSetColormap      func(d *Drawable, colormap *Colormap)
	DrawableSetData          func(d *Drawable, key string, data T.Gpointer, destroyFunc O.DestroyNotify)
	DrawableUnref            func(d *Drawable)
)
View Source
var (
	EventGetType func() O.Type
	EventNew     func(t EventType) *Event

	EventGet                         func() *Event
	EventGetGraphicsExpose           func(window *Window) *Event
	EventHandlerSet                  func(f EventFunc, data T.Gpointer, notify O.DestroyNotify)
	EventPeek                        func() *Event
	EventRequestMotions              func(event *EventMotion)
	EventSendClientMessageForDisplay func(display *Display, event *Event, winid T.GdkNativeWindow) bool

	EventCopy                   func(event *Event) *Event
	EventFree                   func(event *Event)
	EventGetAxis                func(event *Event, axisUse T.GdkAxisUse, value *float64) bool
	EventGetCoords              func(event *Event, xWin, yWin *float64) bool
	EventGetRootCoords          func(event *Event, xRoot, yRoot *float64) bool
	EventGetScreen              func(event *Event) *Screen
	EventGetState               func(event *Event, state *T.GdkModifierType) bool
	EventGetTime                func(event *Event) T.GUint32
	EventPut                    func(event *Event)
	EventSendClientMessage      func(event *Event, winid T.GdkNativeWindow) bool
	EventSendClientmessageToall func(event *Event)
	EventSetScreen              func(event *Event, screen *Screen)
)
View Source
var (
	FontGetType func() O.Type

	FontFromDescription           func(fontDesc *P.FontDescription) *Font
	FontFromDescriptionForDisplay func(display *Display, fontDesc *P.FontDescription) *Font
	FontLoad                      func(fontName string) *Font
	FontLoadForDisplay            func(display *Display, fontName string) *Font

	FontsetLoad           func(fontsetName string) *Font
	FontsetLoadForDisplay func(display *Display, fontsetName string) *Font

	FontRef   func(f *Font) *Font
	FontUnref func(f *Font)
	FontId    func(f *Font) int
	FontEqual func(f *Font, fontb *Font) bool
)
View Source
var (
	GcGetType       func() O.Type
	GcNew           func(drawable *Drawable) *GC
	GcNewWithValues func(drawable *Drawable, values *GCValues, valuesMask GCValuesMask) *GC

	GcRef               func(gc *GC) *GC
	GcUnref             func(gc *GC)
	GcGetValues         func(gc *GC, values *GCValues)
	GcSetValues         func(gc *GC, values *GCValues, valuesMask GCValuesMask)
	GcSetForeground     func(gc *GC, color *Color)
	GcSetBackground     func(gc *GC, color *Color)
	GcSetFont           func(gc *GC, font *Font)
	GcSetFunction       func(gc *GC, function T.GdkFunction)
	GcSetFill           func(gc *GC, fill T.GdkFill)
	GcSetTile           func(gc *GC, tile *Pixmap)
	GcSetStipple        func(gc *GC, stipple *Pixmap)
	GcSetTsOrigin       func(gc *GC, x, y int)
	GcSetClipOrigin     func(gc *GC, x, y int)
	GcSetClipMask       func(gc *GC, mask *T.GdkBitmap)
	GcSetClipRectangle  func(gc *GC, rectangle *Rectangle)
	GcSetClipRegion     func(gc *GC, region *Region)
	GcSetSubwindow      func(gc *GC, mode T.GdkSubwindowMode)
	GcSetExposures      func(gc *GC, exposures bool)
	GcSetLineAttributes func(gc *GC, lineWidth int, lineStyle T.GdkLineStyle, capStyle CapStyle, joinStyle T.GdkJoinStyle)
	GcSetDashes         func(gc *GC, dashOffset int, dashList *int8, n int)
	GcOffset            func(gc *GC, xOffset, yOffset int)
	GcCopy              func(dstGc, srcGc *GC)
	GcSetColormap       func(gc *GC, colormap *Colormap)
	GcGetColormap       func(gc *GC) *Colormap
	GcSetRgbFgColor     func(gc *GC, color *Color)
	GcSetRgbBgColor     func(gc *GC, color *Color)
	GcGetScreen         func(gc *GC) *Screen
)
View Source
var (
	ImageGetType func() O.Type
	ImageNew     func(typ ImageType, visual *Visual, width, height int) *Image

	ImageGet func(drawable *Drawable, x, y, width, height int) *Image

	ImageGetBitsPerPixel  func(image *Image) uint16
	ImageGetByteOrder     func(image *Image) T.GdkByteOrder
	ImageGetBytesPerLine  func(image *Image) uint16
	ImageGetBytesPerPixel func(image *Image) uint16
	ImageGetColormap      func(image *Image) *Colormap
	ImageGetDepth         func(image *Image) uint16
	ImageGetHeight        func(image *Image) int
	ImageGetImageType     func(image *Image) ImageType
	ImageGetPixel         func(image *Image, x, y int) T.GUint32
	ImageGetPixels        func(image *Image) T.Gpointer
	ImageGetVisual        func(image *Image) *Visual
	ImageGetWidth         func(image *Image) int
	ImagePutPixel         func(image *Image, x, y int, pixel T.GUint32)
	ImageRef              func(image *Image) *Image
	ImageSetColormap      func(image *Image, colormap *Colormap)
	ImageUnref            func(image *Image)
)
View Source
var (
	KeymapGetType func() O.Type

	KeymapGetDefault    func() *Keymap
	KeymapGetForDisplay func(display *Display) *Keymap

	KeymapAddVirtualModifiers    func(k *Keymap, state *T.GdkModifierType)
	KeymapGetCapsLockState       func(k *Keymap) bool
	KeymapGetDirection           func(k *Keymap) P.Direction
	KeymapGetEntriesForKeycode   func(k *Keymap, hardwareKeycode uint, keys **KeymapKey, keyvals **uint, nEntries *int) bool
	KeymapGetEntriesForKeyval    func(k *Keymap, keyval uint, keys **KeymapKey, nKeys *int) bool
	KeymapHaveBidiLayouts        func(k *Keymap) bool
	KeymapLookupKey              func(k *Keymap, key *KeymapKey) uint
	KeymapMapVirtualModifiers    func(k *Keymap, state *T.GdkModifierType) bool
	KeymapTranslateKeyboardState func(k *Keymap, hardwareKeycode uint, state T.GdkModifierType, group int, keyval *uint, effectiveGroup, level *int, consumedModifiers *T.GdkModifierType) bool
)
View Source
var (
	PangoAttrEmbossColorNew func(color *Color) *P.Attribute
	PangoAttrEmbossedNew    func(embossed bool) *P.Attribute

	PangoContextGet          func() *P.Context
	PangoContextGetForScreen func(screen *Screen) *P.Context
	PangoContextSetColormap  func(context *P.Context, colormap *Colormap)

	PangoLayoutGetClipRegion     func(layout *P.Layout, xOrigin, yOrigin int, indexRanges *int, nRanges int) *Region
	PangoLayoutLineGetClipRegion func(line *P.LayoutLine, xOrigin, yOrigin int, indexRanges *int, nRanges int) *Region
)
View Source
var (
	PangoRendererGetType func() O.Type
	PangoRendererNew     func(screen *Screen) *P.Renderer

	PangoRendererGetDefault func(screen *Screen) *P.Renderer

	PangoRendererSetDrawable      func(p *PangoRenderer, drawable *Drawable)
	PangoRendererSetGc            func(p *PangoRenderer, gc *GC)
	PangoRendererSetStipple       func(p *PangoRenderer, part P.RenderPart, stipple *T.GdkBitmap)
	PangoRendererSetOverrideColor func(p *PangoRenderer, part P.RenderPart, color *Color)
)
View Source
var (
	PixbufGetType                   func() O.Type
	PixbufNew                       func(colorspace Colorspace, hasAlpha bool, bitsPerSample, width, height int) *Pixbuf
	PixbufNewFromData               func(data *T.Guchar, colorspace Colorspace, hasAlpha bool, bitsPerSample, width, height, rowstride int, destroyFn PixbufDestroyNotify, destroyFnData T.Gpointer) *Pixbuf
	PixbufNewFromFile               func(filename string, e **L.Error) *Pixbuf
	PixbufNewFromFileAtScale        func(filename string, width, height int, preserveAspectRatio bool, e **L.Error) *Pixbuf
	PixbufNewFromFileAtSize         func(filename string, width, height int, e **L.Error) *Pixbuf
	PixbufNewFromInline             func(dataLength int, data *uint8, copyPixels bool, e **L.Error) *Pixbuf
	PixbufNewFromStream             func(stream *I.InputStream, cancellable *I.Cancellable, e **L.Error) *Pixbuf
	PixbufNewFromStreamAsync        func(stream *I.InputStream, cancellable *I.Cancellable, callback I.AsyncReadyCallback, userData T.Gpointer)
	PixbufNewFromStreamAtScale      func(stream *I.InputStream, width, height int, preserveAspectRatio bool, cancellable *I.Cancellable, e **L.Error) *Pixbuf
	PixbufNewFromStreamAtScaleAsync func(stream *I.InputStream, width, height int, preserveAspectRatio bool, cancellable *I.Cancellable, callback I.AsyncReadyCallback, userData T.Gpointer)
	PixbufNewFromStreamFinish       func(asyncResult *I.AsyncResult, e **L.Error) *Pixbuf
	PixbufNewFromXpmData            func(data **T.Char) *Pixbuf

	PixbufErrorQuark         func() L.Quark
	PixbufGetFileInfo        func(filename string, width, height *int) *PixbufFormat
	PixbufGetFormats         func() *L.SList
	PixbufSaveToStreamFinish func(asyncResult *I.AsyncResult, e **L.Error) bool

	PixbufGetFromDrawable func(dest *Pixbuf, src *Drawable, cmap *Colormap, srcX, srcY, destX, destY, width, height int) *Pixbuf
	PixbufGetFromImage    func(dest *Pixbuf, src *Image, cmap *Colormap, srcX, srcY, destX, destY, width, height int) *Pixbuf

	PixbufAddAlpha                 func(pixbuf *Pixbuf, substituteColor bool, r, g, b T.Guchar) *Pixbuf
	PixbufApplyEmbeddedOrientation func(src *Pixbuf) *Pixbuf
	PixbufComposite                func(src, dest *Pixbuf, destX, destY, destWidth, destHeight int, offsetX, offsetY, scaleX, scaleY float64, interpType T.GdkInterpType, overallAlpha int)
	PixbufCompositeColor           func(src, dest *Pixbuf, destX, destY, destWidth, destHeight int, offsetX, offsetY, scaleX, scaleY float64, interpType T.GdkInterpType, overallAlpha, checkX, checkY, checkSize int, color1, color2 T.GUint32)
	PixbufCompositeColorSimple     func(src *Pixbuf, destWidth, destHeight int, interpType T.GdkInterpType, overallAlpha, checkSize int, color1, color2 T.GUint32) *Pixbuf
	PixbufCopy                     func(pixbuf *Pixbuf) *Pixbuf
	PixbufCopyArea                 func(srcPixbuf *Pixbuf, srcX, srcY, width, height int, destPixbuf *Pixbuf, destX, destY int)
	PixbufFill                     func(pixbuf *Pixbuf, pixel T.GUint32)
	PixbufFlip                     func(src *Pixbuf, horizontal bool) *Pixbuf
	PixbufGetBitsPerSample         func(pixbuf *Pixbuf) int
	PixbufGetColorspace            func(pixbuf *Pixbuf) Colorspace
	PixbufGetHasAlpha              func(pixbuf *Pixbuf) bool
	PixbufGetHeight                func(pixbuf *Pixbuf) int
	PixbufGetNChannels             func(pixbuf *Pixbuf) int
	PixbufGetOption                func(pixbuf *Pixbuf, key string) string
	PixbufGetPixels                func(pixbuf *Pixbuf) *T.Guchar
	PixbufGetRowstride             func(pixbuf *Pixbuf) int
	PixbufGetWidth                 func(pixbuf *Pixbuf) int
	PixbufNewSubpixbuf             func(pixbuf *Pixbuf, srcX, srcY, width, height int) *Pixbuf
	PixbufRef                      func(pixbuf *Pixbuf) *Pixbuf
	PixbufRotateSimple             func(src *Pixbuf, angle PixbufRotation) *Pixbuf
	PixbufSaturateAndPixelate      func(src, dest *Pixbuf, saturation float32, pixelate bool)
	PixbufSaveToBuffer             func(pixbuf *Pixbuf, buffer **T.Gchar, bufferSize *T.Gsize, typ string, e **L.Error, v ...VArg) bool
	PixbufSaveToBufferv            func(pixbuf *Pixbuf, buffer **T.Gchar, bufferSize *T.Gsize, typ string, optionKeys, optionValues **T.Char, e **L.Error) bool
	PixbufSaveToCallback           func(pixbuf *Pixbuf, saveFunc PixbufSaveFunc, userData T.Gpointer, typ string, err **L.Error, v ...VArg) bool
	PixbufSaveToCallbackv          func(pixbuf *Pixbuf, saveFunc PixbufSaveFunc, userData T.Gpointer, typ string, optionKeys, optionValues **T.Char, e **L.Error) bool
	PixbufSaveToStream             func(pixbuf *Pixbuf, stream *I.OutputStream, typ string, cancellable *I.Cancellable, e **L.Error, v ...VArg) bool
	PixbufSaveToStreamAsync        func(pixbuf *Pixbuf, stream *I.OutputStream, typ string, cancellable *I.Cancellable, callback I.AsyncReadyCallback, userData T.Gpointer, v ...VArg)
	PixbufSaveUtf8                 func(pixbuf *Pixbuf, filename, typ string, e **L.Error, v ...VArg) bool
	PixbufSavevUtf8                func(pixbuf *Pixbuf, filename, typ string, optionKeys, optionValues **T.Char, e **L.Error) bool
	PixbufScale                    func(src, dest *Pixbuf, destX, destY, destWidth, destHeight int, offsetX, offsetY, scaleX, scaleY float64, interpType T.GdkInterpType)
	PixbufScaleSimple              func(src *Pixbuf, destWidth, destHeight int, interpType T.GdkInterpType) *Pixbuf
	PixbufSetOption                func(pixbuf *Pixbuf, key, value string) bool
	PixbufUnref                    func(pixbuf *Pixbuf)
)
View Source
var (
	PixbufAnimationGetType         func() O.Type
	PixbufAnimationNewFromFileUtf8 func(filename string, e **L.Error) *PixbufAnimation

	PixbufAnimationGetHeight      func(animation *PixbufAnimation) int
	PixbufAnimationGetIter        func(animation *PixbufAnimation, startTime *L.TimeVal) *PixbufAnimationIter
	PixbufAnimationGetStaticImage func(animation *PixbufAnimation) *Pixbuf
	PixbufAnimationGetWidth       func(animation *PixbufAnimation) int
	PixbufAnimationIsStaticImage  func(animation *PixbufAnimation) bool
	PixbufAnimationRef            func(animation *PixbufAnimation) *PixbufAnimation
	PixbufAnimationUnref          func(animation *PixbufAnimation)
)
View Source
var (
	PixbufAnimationIterGetType func() O.Type
	PixbufAnimationNewFromFile func(filename string, e **L.Error) *PixbufAnimation

	PixbufAnimationIterAdvance                 func(iter *PixbufAnimationIter, currentTime *L.TimeVal) bool
	PixbufAnimationIterGetDelayTime            func(iter *PixbufAnimationIter) int
	PixbufAnimationIterGetPixbuf               func(iter *PixbufAnimationIter) *Pixbuf
	PixbufAnimationIterOnCurrentlyLoadingFrame func(iter *PixbufAnimationIter) bool
)
View Source
var (
	PixbufFormatGetType func() O.Type

	PixbufFormatCopy           func(format *PixbufFormat) *PixbufFormat
	PixbufFormatFree           func(format *PixbufFormat)
	PixbufFormatGetDescription func(format *PixbufFormat) string
	PixbufFormatGetExtensions  func(format *PixbufFormat) []string
	PixbufFormatGetLicense     func(format *PixbufFormat) string
	PixbufFormatGetMimeTypes   func(format *PixbufFormat) []string
	PixbufFormatGetName        func(format *PixbufFormat) string
	PixbufFormatIsDisabled     func(format *PixbufFormat) bool
	PixbufFormatIsScalable     func(format *PixbufFormat) bool
	PixbufFormatIsWritable     func(format *PixbufFormat) bool
	PixbufFormatSetDisabled    func(format *PixbufFormat, disabled bool)
)
View Source
var (
	PixbufLoaderGetType         func() O.Type
	PixbufLoaderNew             func() *PixbufLoader
	PixbufLoaderNewWithMimeType func(mimeType string, e **L.Error) *PixbufLoader
	PixbufLoaderNewWithType     func(imageType string, e **L.Error) *PixbufLoader

	PixbufLoaderClose        func(loader *PixbufLoader, e **L.Error) bool
	PixbufLoaderGetAnimation func(loader *PixbufLoader) *PixbufAnimation
	PixbufLoaderGetFormat    func(loader *PixbufLoader) *PixbufFormat
	PixbufLoaderGetPixbuf    func(loader *PixbufLoader) *Pixbuf
	PixbufLoaderSetSize      func(loader *PixbufLoader, width, height int)
	PixbufLoaderWrite        func(loader *PixbufLoader, buf *T.Guchar, count T.Gsize, e **L.Error) bool
)
View Source
var (
	PixbufNonAnimGetType func() O.Type
	PixbufNonAnimNew     func(pixbuf *Pixbuf) *PixbufAnimation
)
View Source
var (
	PixbufRenderPixmapAndMask            func(pixbuf *Pixbuf, pixmapReturn **Pixmap, maskReturn **T.GdkBitmap, alphaThreshold int)
	PixbufRenderPixmapAndMaskForColormap func(pixbuf *Pixbuf, colormap *Colormap, pixmapReturn **Pixmap, maskReturn **T.GdkBitmap, alphaThreshold int)
	PixbufRenderThresholdAlpha           func(pixbuf *Pixbuf, bitmap *T.GdkBitmap, srcX, srcY, destX, destY, width, height, alphaThreshold int)
	PixbufRenderToDrawable               func(pixbuf *Pixbuf, drawable *Drawable, gc *GC, srcX, srcY, destX, destY, width, height int, dither T.GdkRgbDither, xDither, yDither int)
	PixbufRenderToDrawableAlpha          func(pixbuf *Pixbuf, drawable *Drawable, srcX, srcY, destX, destY, width, height int, alphaMode PixbufAlphaMode, alphaThreshold int, dither T.GdkRgbDither, xDither, yDither int)
)
View Source
var (
	PixbufSimpleAnimGetType func() O.Type
	PixbufSimpleAnimNew     func(width, height int, rate float32) *PixbufSimpleAnim

	PixbufSimpleAnimAddFrame func(animation *PixbufSimpleAnim, pixbuf *Pixbuf)
	PixbufSimpleAnimSetLoop  func(animation *PixbufSimpleAnim, loop bool)
	PixbufSimpleAnimGetLoop  func(animation *PixbufSimpleAnim) bool
)
View Source
var (
	PixbufFromPixdata func(p *Pixdata, copyPixels bool, e **L.Error) *Pixbuf

	PixdataDeserialize func(p *Pixdata, streamLength uint, stream *uint8, e **L.Error) bool
	PixdataFromPixbuf  func(p *Pixdata, pixbuf *Pixbuf, useRle bool) T.Gpointer
	PixdataSerialize   func(p *Pixdata, streamLengthP *uint) *uint8
	PixdataToCsource   func(p *Pixdata, name string, dumpType PixdataDumpType) *L.String
)
View Source
var (
	PixmapGetType func() O.Type
	PixmapNew     func(drawable *Drawable, width, height, depth int) *Pixmap

	PixmapColormapCreateFromXpm  func(drawable *Drawable, colormap *Colormap, mask **T.GdkBitmap, transparentColor *Color, filename string) *Pixmap
	PixmapColormapCreateFromXpmD func(drawable *Drawable, colormap *Colormap, mask **T.GdkBitmap, transparentColor *Color, data **T.Gchar) *Pixmap
	PixmapCreateFromData         func(drawable *Drawable, data string, width, height, depth int, fg, bg *Color) *Pixmap
	PixmapCreateFromXpm          func(drawable *Drawable, mask **T.GdkBitmap, transparentColor *Color, filename string) *Pixmap
	PixmapCreateFromXpmD         func(drawable *Drawable, mask **T.GdkBitmap, transparentColor *Color, data **T.Gchar) *Pixmap
	PixmapForeignNew             func(anid T.GdkNativeWindow) *Pixmap
	PixmapForeignNewForDisplay   func(display *Display, anid T.GdkNativeWindow) *Pixmap
	PixmapForeignNewForScreen    func(screen *Screen, anid T.GdkNativeWindow, width, height, depth int) *Pixmap
	PixmapLookup                 func(anid T.GdkNativeWindow) *Pixmap
	PixmapLookupForDisplay       func(display *Display, anid T.GdkNativeWindow) *Pixmap

	PixmapGetSize func(p *Pixmap, width, height *int)
)
View Source
var (
	RectangleGetType func() O.Type

	RectangleIntersect func(src1, src2, dest *Rectangle) bool
	RectangleUnion     func(src1, src2, dest *Rectangle)
)
View Source
var (
	RegionNew func() *Region

	RegionPolygon   func(points *Point, nPoints int, fillRule T.GdkFillRule) *Region
	RegionRectangle func(rectangle *Rectangle) *Region

	RegionCopy                  func(r *Region) *Region
	RegionDestroy               func(r *Region)
	RegionEmpty                 func(r *Region) bool
	RegionEqual                 func(r *Region, r2 *Region) bool
	RegionGetClipbox            func(r *Region, rectangle *Rectangle)
	RegionGetRectangles         func(r *Region, rectangles **Rectangle, nRectangles *int)
	RegionIntersect             func(r, r2 *Region)
	RegionOffset                func(r *Region, dx, dy int)
	RegionPointIn               func(r *Region, x, y int) bool
	RegionRectEqual             func(r *Region, rectangle *Rectangle) bool
	RegionRectIn                func(r *Region, rectangle *Rectangle) T.GdkOverlapType
	RegionShrink                func(r *Region, dx, dy int)
	RegionSpansIntersectForeach func(r *Region, spans *T.GdkSpan, nSpans int, sorted bool, function T.GdkSpanFunc, data T.Gpointer)
	RegionSubtract              func(r, r2 *Region)
	RegionUnion                 func(r, r2 *Region)
	RegionUnionWithRect         func(r *Region, rect *Rectangle)
	RegionXor                   func(r, r2 *Region)
)
View Source
var (
	ScreenGetType func() O.Type

	ScreenGetDefault func() *Screen

	ScreenBroadcastClientMessage func(s *Screen, event *Event)
	ScreenGetActiveWindow        func(s *Screen) *Window
	ScreenGetDefaultColormap     func(s *Screen) *Colormap
	ScreenGetDisplay             func(s *Screen) *Display
	ScreenGetFontOptions         func(s *Screen) *C.FontOptions
	ScreenGetHeight              func(s *Screen) int
	ScreenGetHeightMm            func(s *Screen) int
	ScreenGetMonitorAtPoint      func(s *Screen, x int, y int) int
	ScreenGetMonitorAtWindow     func(s *Screen, window *Window) int
	ScreenGetMonitorGeometry     func(s *Screen, monitorNum int, dest *Rectangle)
	ScreenGetMonitorHeightMm     func(s *Screen, monitorNum int) int
	ScreenGetMonitorPlugName     func(s *Screen, monitorNum int) string
	ScreenGetMonitorWidthMm      func(s *Screen, monitorNum int) int
	ScreenGetNMonitors           func(s *Screen) int
	ScreenGetNumber              func(s *Screen) int
	ScreenGetPrimaryMonitor      func(s *Screen) int
	ScreenGetResolution          func(s *Screen) float64
	ScreenGetRgbaColormap        func(s *Screen) *Colormap
	ScreenGetRgbaVisual          func(s *Screen) *Visual
	ScreenGetRgbColormap         func(s *Screen) *Colormap
	ScreenGetRgbVisual           func(s *Screen) *Visual
	ScreenGetRootWindow          func(s *Screen) *Window
	ScreenGetSetting             func(s *Screen, name string, value *O.Value) bool
	ScreenGetSystemColormap      func(s *Screen) *Colormap
	ScreenGetSystemVisual        func(s *Screen) *Visual
	ScreenGetToplevelWindows     func(s *Screen) *L.List
	ScreenGetWidth               func(s *Screen) int
	ScreenGetWidthMm             func(s *Screen) int
	ScreenGetWindowStack         func(s *Screen) *L.List
	ScreenIsComposited           func(s *Screen) bool
	ScreenListVisuals            func(s *Screen) *L.List
	ScreenMakeDisplayName        func(s *Screen) string
	ScreenSetDefaultColormap     func(s *Screen, colormap *Colormap)
	ScreenSetFontOptions         func(s *Screen, options *C.FontOptions)
	ScreenSetResolution          func(s *Screen, dpi float64)
)
View Source
var (
	VisualGetType func() O.Type

	VisualGetBestDepth     func() int
	VisualGetBestType      func() VisualType
	VisualGetSystem        func() *Visual
	VisualGetBest          func() *Visual
	VisualGetBestWithDepth func(depth int) *Visual

	VisualGetBitsPerRgb        func(v *Visual) int
	VisualGetBluePixelDetails  func(v *Visual, mask *T.GUint32, shift *int, precision *int)
	VisualGetByteOrder         func(v *Visual) T.GdkByteOrder
	VisualGetColormapSize      func(v *Visual) int
	VisualGetDepth             func(v *Visual) int
	VisualGetGreenPixelDetails func(v *Visual, mask *T.GUint32, shift *int, precision *int)
	VisualGetRedPixelDetails   func(v *Visual, mask *T.GUint32, shift *int, precision *int)
	VisualGetScreen            func(v *Visual) *Screen
	VisualGetVisualType        func(v *Visual) VisualType
)
View Source
var (
	VisualTypeGetType func() O.Type

	VisualGetBestWithBoth func(depth int, visualType VisualType) *Visual
	VisualGetBestWithType func(visualType VisualType) *Visual
)
View Source
var (
	WindowNew func(parent *Window, attributes *WindowAttr, attributesMask int) *Window

	WindowAtPointer         func(winX *int, winY *int) *Window
	WindowGetToplevels      func() *L.List
	WindowProcessAllUpdates func()

	WindowAddFilter                       func(w *Window, function T.GdkFilterFunc, data T.Gpointer)
	WindowBeep                            func(w *Window)
	WindowBeginMoveDrag                   func(w *Window, button, rootX, rootY int, timestamp T.GUint32)
	WindowBeginPaintRect                  func(w *Window, rectangle *Rectangle)
	WindowBeginPaintRegion                func(w *Window, region *Region)
	WindowBeginResizeDrag                 func(w *Window, edge WindowEdge, button, rootX, rootY int, timestamp T.GUint32)
	WindowClear                           func(w *Window)
	WindowClearArea                       func(w *Window, x, y, width, height int)
	WindowClearAreaE                      func(w *Window, x, y, width, height int)
	WindowConfigureFinished               func(w *Window)
	WindowCoordsFromParent                func(w *Window, parentX, parentY float64, x, y *float64)
	WindowCoordsToParent                  func(w *Window, x, y float64, parentX, parentY *float64)
	WindowCreateSimilarSurface            func(w *Window, content C.Content, width, height int) *C.Surface
	WindowDeiconify                       func(w *Window)
	WindowDestroy                         func(w *Window)
	WindowDestroyNotify                   func(w *Window)
	WindowEnableSynchronizedConfigure     func(w *Window)
	WindowEndPaint                        func(w *Window)
	WindowEnsureNative                    func(w *Window) bool
	WindowFlush                           func(w *Window)
	WindowFocus                           func(w *Window, timestamp T.GUint32)
	WindowFreezeToplevelUpdatesLibgtkOnly func(w *Window)
	WindowFreezeUpdates                   func(w *Window)
	WindowFullscreen                      func(w *Window)
	WindowGeometryChanged                 func(w *Window)
	WindowGetAcceptFocus                  func(w *Window) bool
	WindowGetBackgroundPattern            func(w *Window) *C.Pattern
	WindowGetChildren                     func(w *Window) *L.List
	WindowGetComposited                   func(w *Window) bool
	WindowGetCursor                       func(w *Window) *Cursor
	WindowGetDecorations                  func(w *Window, decorations *T.GdkWMDecoration) bool
	WindowGetDeskrelativeOrigin           func(w *Window, x, y *int) bool
	WindowGetDisplay                      func(w *Window) *Display
	WindowGetEffectiveParent              func(w *Window) *Window
	WindowGetEffectiveToplevel            func(w *Window) *Window
	WindowGetEvents                       func(w *Window) EventMask
	WindowGetFocusOnMap                   func(w *Window) bool
	WindowGetFrameExtents                 func(w *Window, rect *Rectangle)
	WindowGetGeometry                     func(w *Window, x, y, width, height, depth *int)
	WindowGetGroup                        func(w *Window) *Window
	WindowGetHeight                       func(w *Window) int
	WindowGetInternalPaintInfo            func(w *Window, realDrawable **Drawable, xOffset, yOffset *int)
	WindowGetModalHint                    func(w *Window) bool
	WindowGetOrigin                       func(w *Window, x, y *int) int
	WindowGetParent                       func(w *Window) *Window
	WindowGetPointer                      func(w *Window, x, y *int, mask *T.GdkModifierType) *Window
	WindowGetPosition                     func(w *Window, x, y *int)
	WindowGetRootCoords                   func(w *Window, x, y int, rootX, rootY *int)
	WindowGetRootOrigin                   func(w *Window, x, y *int)
	WindowGetScreen                       func(w *Window) *Screen
	WindowGetState                        func(w *Window) WindowState
	WindowGetToplevel                     func(w *Window) *Window
	WindowGetTypeHint                     func(w *Window) WindowTypeHint
	WindowGetUpdateArea                   func(w *Window) *Region
	WindowGetUserData                     func(w *Window, data *T.Gpointer)
	WindowGetVisual                       func(w *Window) *Visual
	WindowGetWidth                        func(w *Window) int
	WindowGetWindowType                   func(w *Window) WindowType
	WindowHasNative                       func(w *Window) bool
	WindowHide                            func(w *Window)
	WindowIconify                         func(w *Window)
	WindowInputShapeCombineMask           func(w *Window, mask *T.GdkBitmap, x, y int)
	WindowInputShapeCombineRegion         func(w *Window, shapeRegion *Region, offsetX, offsetY int)
	WindowInvalidateMaybeRecurse          func(w *Window, region *Region, childFunc func(*Window, T.Gpointer) bool, userData T.Gpointer)
	WindowInvalidateRect                  func(w *Window, rect *Rectangle, invalidateChildren bool)
	WindowInvalidateRegion                func(w *Window, region *Region, invalidateChildren bool)
	WindowIsDestroyed                     func(w *Window) bool
	WindowIsInputOnly                     func(w *Window) bool
	WindowIsShaped                        func(w *Window) bool
	WindowIsViewable                      func(w *Window) bool
	WindowIsVisible                       func(w *Window) bool
	WindowLower                           func(w *Window)
	WindowMaximize                        func(w *Window)
	WindowMergeChildInputShapes           func(w *Window)
	WindowMergeChildShapes                func(w *Window)
	WindowMove                            func(w *Window, x, y int)
	WindowMoveRegion                      func(w *Window, region *Region, dx, dy int)
	WindowMoveResize                      func(w *Window, x, y, width, height int)
	WindowPeekChildren                    func(w *Window) *L.List
	WindowProcessUpdates                  func(w *Window, updateChildren bool)
	WindowRaise                           func(w *Window)
	WindowRedirectToDrawable              func(w *Window, drawable *Drawable, srcX, srcY, destX, destY, width, height int)
	WindowRegisterDnd                     func(w *Window)
	WindowRemoveFilter                    func(w *Window, function T.GdkFilterFunc, data T.Gpointer)
	WindowRemoveRedirection               func(w *Window)
	WindowReparent                        func(w *Window, newParent *Window, x, y int)
	WindowResize                          func(w *Window, width, height int)
	WindowRestack                         func(w, sibling *Window, above bool)
	WindowScroll                          func(w *Window, dx, dy int)
	WindowSetAcceptFocus                  func(w *Window, acceptFocus bool)
	WindowSetBackground                   func(w *Window, color *Color)
	WindowSetBackPixmap                   func(w *Window, pixmap *Pixmap, parentRelative bool)
	WindowSetChildInputShapes             func(w *Window)
	WindowSetChildShapes                  func(w *Window)
	WindowSetComposited                   func(w *Window, composited bool)
	WindowSetCursor                       func(w *Window, cursor *Cursor)
	WindowSetDecorations                  func(w *Window, decorations T.GdkWMDecoration)
	WindowSetEvents                       func(w *Window, eventMask EventMask)
	WindowSetFocusOnMap                   func(w *Window, focusOnMap bool)
	WindowSetFunctions                    func(w *Window, functions T.GdkWMFunction)
	WindowSetGeometryHints                func(w *Window, geometry *Geometry, geomMask WindowHints)
	WindowSetGroup                        func(w *Window, leader *Window)
	WindowSetHints                        func(w *Window, x, y, minWidth, minHeight, maxWidth, maxHeight, flags int)
	WindowSetIcon                         func(w, iconWindow *Window, pixmap *Pixmap, mask *T.GdkBitmap)
	WindowSetIconList                     func(w *Window, pixbufs *L.List)
	WindowSetIconName                     func(w *Window, name string)
	WindowSetKeepAbove                    func(w *Window, setting bool)
	WindowSetKeepBelow                    func(w *Window, setting bool)
	WindowSetModalHint                    func(w *Window, modal bool)
	WindowSetOpacity                      func(w *Window, opacity float64)
	WindowSetOverrideRedirect             func(w *Window, overrideRedirect bool)
	WindowSetRole                         func(w *Window, role string)
	WindowSetSkipPagerHint                func(w *Window, skipsPager bool)
	WindowSetSkipTaskbarHint              func(w *Window, skipsTaskbar bool)
	WindowSetStartupId                    func(w *Window, startupId string)
	WindowSetStaticGravities              func(w *Window, useStatic bool) bool
	WindowSetTitle                        func(w *Window, title string)
	WindowSetTransientFor                 func(w *Window, parent *Window)
	WindowSetTypeHint                     func(w *Window, hint WindowTypeHint)
	WindowSetUrgencyHint                  func(w *Window, urgent bool)
	WindowSetUserData                     func(w *Window, userData T.Gpointer)
	WindowShapeCombineMask                func(w *Window, mask *T.GdkBitmap, x, y int)
	WindowShapeCombineRegion              func(w *Window, shapeRegion *Region, offsetX, offsetY int)
	WindowShow                            func(w *Window)
	WindowShowUnraised                    func(w *Window)
	WindowStick                           func(w *Window)
	WindowThawToplevelUpdatesLibgtkOnly   func(w *Window)
	WindowThawUpdates                     func(w *Window)
	WindowUnfullscreen                    func(w *Window)
	WindowUnmaximize                      func(w *Window)
	WindowUnstick                         func(w *Window)
	WindowWithdraw                        func(w *Window)
)
View Source
var CapStyleGetType func() O.Type
View Source
var ColorspaceGetType func() O.Type
View Source
var CrossingModeGetType func() O.Type
View Source
var CursorTypeGetType func() O.Type
View Source
var DragActionGetType func() O.Type
View Source
var DragProtocolGetType func() O.Type
View Source
var EventMaskGetType func() O.Type
View Source
var EventTypeGetType func() O.Type
View Source
var EventsPending func() bool
View Source
var ExtensionModeGetType func() O.Type
View Source
var GcValuesMaskGetType func() O.Type
View Source
var GrabStatusGetType func() O.Type
View Source
var GravityGetType func() O.Type
View Source
var ImageTypeGetType func() O.Type
View Source
var PangoAttrStippleNew func(stipple *T.GdkBitmap) *P.Attribute
View Source
var PixbufAlphaModeGetType func() O.Type
View Source
var (
	PixbufErrorGetType func() O.Type
)
View Source
var PixbufRotationGetType func() O.Type
View Source
var PixbufSimpleAnimIterGetType func() O.Type
View Source
var PropModeGetType func() O.Type
View Source
var PropertyStateGetType func() O.Type
View Source
var VisibilityStateGetType func() O.Type
View Source
var WindowClassGetType func() O.Type
View Source
var WindowEdgeGetType func() O.Type
View Source
var WindowHintsGetType func() O.Type
View Source
var WindowStateGetType func() O.Type
View Source
var WindowTypeGetType func() O.Type
View Source
var WindowTypeHintGetType func() O.Type

Functions

This section is empty.

Types

type AppLaunchContext

type AppLaunchContext struct {
	Parent I.AppLaunchContext
	// contains filtered or unexported fields
}

func (*AppLaunchContext) SetDesktop

func (a *AppLaunchContext) SetDesktop(desktop int)

func (*AppLaunchContext) SetDisplay

func (a *AppLaunchContext) SetDisplay(display *Display)

func (*AppLaunchContext) SetIcon

func (a *AppLaunchContext) SetIcon(icon *I.Icon)

func (*AppLaunchContext) SetIconName

func (a *AppLaunchContext) SetIconName(iconName string)

func (*AppLaunchContext) SetScreen

func (a *AppLaunchContext) SetScreen(screen *Screen)

func (*AppLaunchContext) SetTimestamp

func (a *AppLaunchContext) SetTimestamp(timestamp T.GUint32)

type Atom

type Atom *struct{}

type Cairo

type Cairo struct{} //TODO(t):Def and push methods to /cairo? pragmatic pros/cons

func (*Cairo) Rectangle

func (c *Cairo) Rectangle(rectangle *Rectangle)

func (*Cairo) Region

func (c *Cairo) Region(region *Region)

func (*Cairo) ResetClip

func (c *Cairo) ResetClip(drawable *Drawable)

func (*Cairo) SetSourceColor

func (c *Cairo) SetSourceColor(color *Color)

func (*Cairo) SetSourcePixbuf

func (c *Cairo) SetSourcePixbuf(pixbuf *Pixbuf, pixbufX, pixbufY float64)

func (*Cairo) SetSourcePixmap

func (c *Cairo) SetSourcePixmap(pixmap *Pixmap, pixmapX, pixmapY float64)

func (*Cairo) SetSourceWindow

func (c *Cairo) SetSourceWindow(window *Window, x, y float64)

type CapStyle

type CapStyle Enum
const (
	CAP_NOT_LAST CapStyle = iota
	CAP_BUTT
	CAP_ROUND
	CAP_PROJECTING
)

type Color

type Color struct {
	Pixel T.GUint32
	Red   uint16
	Green uint16
	Blue  uint16
}

func (*Color) Copy

func (c *Color) Copy() *Color

func (*Color) Equal

func (c *Color) Equal(colorb *Color) bool

func (*Color) Free

func (c *Color) Free()

func (*Color) Hash

func (c *Color) Hash() uint

func (*Color) ToString

func (c *Color) ToString() string

type Colormap

type Colormap struct {
	Parent        O.Object
	Size          int
	Colors        *Color
	Visual        *Visual
	WindowingData T.Gpointer
}

func (*Colormap) AllocColor

func (c *Colormap) AllocColor(color *Color, writeable bool, bestMatch bool) bool

func (*Colormap) AllocColors

func (c *Colormap) AllocColors(colors *Color, nColors int, writeable bool, bestMatch bool, success *bool) int

func (*Colormap) Change

func (c *Colormap) Change(ncolors int)

func (*Colormap) FreeColors

func (c *Colormap) FreeColors(colors *Color, nColors int)

func (*Colormap) GetScreen

func (c *Colormap) GetScreen() *Screen

func (*Colormap) GetVisual

func (c *Colormap) GetVisual() *Visual

func (*Colormap) QueryColor

func (c *Colormap) QueryColor(pixel T.Gulong, result *Color)

func (*Colormap) Ref

func (c *Colormap) Ref() *Colormap

func (*Colormap) Unref

func (c *Colormap) Unref()

type Colorspace

type Colorspace Enum
const COLORSPACE_RGB Colorspace = 0

type CrossingMode

type CrossingMode Enum
const (
	CROSSING_NORMAL CrossingMode = iota
	CROSSING_GRAB
	CROSSING_UNGRAB
	CROSSING_GTK_GRAB
	CROSSING_GTK_UNGRAB
	CROSSING_STATE_CHANGED
)

type Cursor

type Cursor struct {
	Type     CursorType
	RefCount uint
}

func (*Cursor) GetCursorType

func (c *Cursor) GetCursorType() CursorType

func (*Cursor) GetDisplay

func (c *Cursor) GetDisplay() *Display

func (*Cursor) GetImage

func (c *Cursor) GetImage() *Pixbuf

func (*Cursor) Ref

func (c *Cursor) Ref() *Cursor

func (*Cursor) Unref

func (c *Cursor) Unref()

type CursorType

type CursorType Enum
const (
	X_CURSOR CursorType = iota * 2
	ARROW
	BASED_ARROW_DOWN
	BASED_ARROW_UP
	BOAT
	BOGOSITY
	BOTTOM_LEFT_CORNER
	BOTTOM_RIGHT_CORNER
	BOTTOM_SIDE
	BOTTOM_TEE
	BOX_SPIRAL
	CENTER_PTR
	CIRCLE
	CLOCK
	COFFEE_MUG
	CROSS
	CROSS_REVERSE
	CROSSHAIR
	DIAMOND_CROSS
	DOT
	DOTBOX
	DOUBLE_ARROW
	DRAFT_LARGE
	DRAFT_SMALL
	DRAPED_BOX
	EXCHANGE
	FLEUR
	GOBBLER
	GUMBY
	HAND1
	HAND2
	HEART
	ICON
	IRON_CROSS
	LEFT_PTR
	LEFT_SIDE
	LEFT_TEE
	LEFTBUTTON
	LL_ANGLE
	LR_ANGLE
	MAN
	MIDDLEBUTTON
	MOUSE
	PENCIL
	PIRATE
	PLUS
	QUESTION_ARROW
	RIGHT_PTR
	RIGHT_SIDE
	RIGHT_TEE
	RIGHTBUTTON
	SAILBOAT
	SB_DOWN_ARROW
	SB_H_DOUBLE_ARROW
	SB_LEFT_ARROW
	SB_RIGHT_ARROW
	SB_UP_ARROW
	SB_V_DOUBLE_ARROW
	SHUTTLE
	SIZING
	SPIDER
	SPRAYCAN
	STAR
	TARGET
	TCROSS
	TOP_LEFT_ARROW
	TOP_LEFT_CORNER
	TOP_RIGHT_CORNER
	TOP_SIDE
	TOP_TEE
	TREK
	UL_ANGLE
	UMBRELLA
	UR_ANGLE
	WATCH
	XTERM
	LAST_CURSOR                 = XTERM + 1
	BLANK_CURSOR     CursorType = -2
	CURSOR_IS_PIXMAP CursorType = -1
)

type Device

type Device struct {
	Parent    O.Object
	Name      *T.Gchar
	Source    T.GdkInputSource
	Mode      T.GdkInputMode
	HasCursor T.Gboolean
	NumAxes   int
	Axes      *DeviceAxis
	NumKeys   int
	Keys      *DeviceKey
}

func (*Device) GetAxis

func (d *Device) GetAxis(axes *float64, use T.GdkAxisUse, value *float64) bool

func (*Device) GetAxisUse

func (d *Device) GetAxisUse(index uint) T.GdkAxisUse

func (*Device) GetHasCursor

func (d *Device) GetHasCursor() bool

func (*Device) GetHistory

func (d *Device) GetHistory(window *Window, start, stop T.GUint32, events ***T.GdkTimeCoord, nEvents *int) bool

func (*Device) GetKey

func (d *Device) GetKey(index uint, keyval *uint, modifiers *T.GdkModifierType)

func (*Device) GetMode

func (d *Device) GetMode() T.GdkInputMode

func (*Device) GetNAxes

func (d *Device) GetNAxes() int

func (*Device) GetNKeys

func (d *Device) GetNKeys() int

func (*Device) GetName

func (d *Device) GetName() string

func (*Device) GetSource

func (d *Device) GetSource() T.GdkInputSource

func (*Device) GetState

func (d *Device) GetState(window *Window, axes *float64, mask *T.GdkModifierType)

func (*Device) SetAxisUse

func (d *Device) SetAxisUse(index uint, use T.GdkAxisUse)

func (*Device) SetKey

func (d *Device) SetKey(index, keyval uint, modifiers T.GdkModifierType)

func (*Device) SetMode

func (d *Device) SetMode(mode T.GdkInputMode) bool

func (*Device) SetSource

func (d *Device) SetSource(source T.GdkInputSource)

type DeviceAxis

type DeviceAxis struct {
	Use T.GdkAxisUse
	Min float64
	Max float64
}

type DeviceKey

type DeviceKey struct {
	Keyval    uint
	Modifiers T.GdkModifierType
}

type Display

type Display struct {
	Parent          O.Object
	QueuedEvents    *L.List
	QueuedTail      *L.List
	ButtonClickTime [2]T.GUint32
	ButtonWindow    [2]*Window
	ButtonNumber    [2]int
	DoubleClickTime uint
	CorePointer     *Device
	PointerHooks    *DisplayPointerHooks
	Bits            uint
	// Closed : 1
	// IgnoreCoreEvents : 1
	DoubleClickDistance uint
	ButtonX             [2]int
	ButtonY             [2]int
	PointerGrabs        *L.List
	KeyboardGrab        T.GdkKeyboardGrabInfo
	PointerInfo         T.GdkPointerWindowInfo
	LastEventTime       T.GUint32
}

func (*Display) AddClientMessageFilter

func (d *Display) AddClientMessageFilter(messageType Atom, f T.GdkFilterFunc, data T.Gpointer)

func (*Display) Beep

func (d *Display) Beep()

func (*Display) Close

func (d *Display) Close()

func (*Display) Flush

func (d *Display) Flush()

func (*Display) GetCorePointer

func (d *Display) GetCorePointer() *Device

func (*Display) GetDefaultCursorSize

func (d *Display) GetDefaultCursorSize() uint

func (*Display) GetDefaultGroup

func (d *Display) GetDefaultGroup() *Window

func (*Display) GetDefaultScreen

func (d *Display) GetDefaultScreen() *Screen

func (*Display) GetEvent

func (d *Display) GetEvent() *Event

func (*Display) GetMaximalCursorSize

func (d *Display) GetMaximalCursorSize(width, height *uint)

func (*Display) GetNScreens

func (d *Display) GetNScreens() int

func (*Display) GetName

func (d *Display) GetName() string

func (*Display) GetPointer

func (d *Display) GetPointer(screen **Screen, x, y *int, mask *T.GdkModifierType)

func (*Display) GetScreen

func (d *Display) GetScreen(screenNum int) *Screen

func (*Display) GetWindowAtPointer

func (d *Display) GetWindowAtPointer(winX, winY *int) *Window

func (*Display) IsClosed

func (d *Display) IsClosed() bool

func (*Display) KeyboardUngrab

func (d *Display) KeyboardUngrab(time T.GUint32)

func (*Display) ListDevices

func (d *Display) ListDevices() *L.List

func (*Display) PeekEvent

func (d *Display) PeekEvent() *Event

func (*Display) PointerIsGrabbed

func (d *Display) PointerIsGrabbed() bool

func (*Display) PointerUngrab

func (d *Display) PointerUngrab(time T.GUint32)

func (*Display) PutEvent

func (d *Display) PutEvent(event *Event)

func (*Display) RequestSelectionNotification

func (d *Display) RequestSelectionNotification(selection Atom) bool

func (*Display) SetDoubleClickDistance

func (d *Display) SetDoubleClickDistance(distance uint)

func (*Display) SetDoubleClickTime

func (d *Display) SetDoubleClickTime(msec uint)

func (*Display) SetPointerHooks

func (d *Display) SetPointerHooks(newHooks *DisplayPointerHooks) *DisplayPointerHooks

func (*Display) StoreClipboard

func (d *Display) StoreClipboard(clipboardWindow *Window, time T.GUint32, targets *Atom, nTargets int)

func (*Display) SupportsClipboardPersistence

func (d *Display) SupportsClipboardPersistence() bool

func (*Display) SupportsComposite

func (d *Display) SupportsComposite() bool

func (*Display) SupportsCursorAlpha

func (d *Display) SupportsCursorAlpha() bool

func (*Display) SupportsCursorColor

func (d *Display) SupportsCursorColor() bool

func (*Display) SupportsInputShapes

func (d *Display) SupportsInputShapes() bool

func (*Display) SupportsSelectionNotification

func (d *Display) SupportsSelectionNotification() bool

func (*Display) SupportsShapes

func (d *Display) SupportsShapes() bool

func (*Display) Sync

func (d *Display) Sync()

func (*Display) WarpPointer

func (d *Display) WarpPointer(screen *Screen, x, y int)

type DisplayManager

type DisplayManager struct{}

func (*DisplayManager) GetDefaultDisplay

func (d *DisplayManager) GetDefaultDisplay() *Display

func (*DisplayManager) ListDisplays

func (d *DisplayManager) ListDisplays() *L.SList

func (*DisplayManager) SetDefaultDisplay

func (d *DisplayManager) SetDefaultDisplay(display *Display)

type DisplayPointerHooks

type DisplayPointerHooks struct {
	GetPointer func(
		display *Display, screen **Screen,
		x, y *int, mask *T.GdkModifierType)
	WindowGetPointer func(
		display *Display, window *Window,
		x, y *int, mask *T.GdkModifierType) *Window
	WindowAtPointer func(
		display *Display, winX, winY *int) *Window
}

type DragAction

type DragAction Enum
const (
	ACTION_DEFAULT DragAction = 1 << iota
	ACTION_COPY
	ACTION_MOVE
	ACTION_LINK
	ACTION_PRIVATE
	ACTION_ASK
)

type DragContext

type DragContext struct {
	Parent          O.Object
	Protocol        DragProtocol
	Is_source       bool
	SourceWindow    *Window
	DestWindow      *Window
	Targets         *L.List
	Actions         DragAction
	SuggestedAction DragAction
	Action          DragAction
	StartTime       T.GUint32
	WindowingData   T.Gpointer
}

func (*DragContext) GetActions

func (d *DragContext) GetActions() DragAction

func (*DragContext) GetDestWindow

func (d *DragContext) GetDestWindow() *Window

func (*DragContext) GetProtocol

func (d *DragContext) GetProtocol() DragProtocol

func (*DragContext) GetSelectedAction

func (d *DragContext) GetSelectedAction() DragAction

func (*DragContext) GetSourceWindow

func (d *DragContext) GetSourceWindow() *Window

func (*DragContext) GetSuggestedAction

func (d *DragContext) GetSuggestedAction() DragAction

func (*DragContext) ListTargets

func (d *DragContext) ListTargets() *L.List

func (*DragContext) Ref

func (d *DragContext) Ref()

func (*DragContext) Unref

func (d *DragContext) Unref()

type DragProtocol

type DragProtocol Enum
const (
	DRAG_PROTO_MOTIF DragProtocol = iota
	DRAG_PROTO_XDND
	DRAG_PROTO_ROOTWIN
	DRAG_PROTO_NONE
	DRAG_PROTO_WIN32_DROPFILES
	DRAG_PROTO_OLE2
	DRAG_PROTO_LOCAL
)

type Drawable

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

func (*Drawable) CopyToImage

func (d *Drawable) CopyToImage(image *Image, srcX, srcY, destX, destY, width, height int) *Image

func (*Drawable) GetClipRegion

func (d *Drawable) GetClipRegion() *Region

func (*Drawable) GetColormap

func (d *Drawable) GetColormap() *Colormap

func (*Drawable) GetData

func (d *Drawable) GetData(key string) T.Gpointer

func (*Drawable) GetDepth

func (d *Drawable) GetDepth() int

func (*Drawable) GetDisplay

func (d *Drawable) GetDisplay() *Display

func (*Drawable) GetImage

func (d *Drawable) GetImage(x, y, width, height int) *Image

func (*Drawable) GetScreen

func (d *Drawable) GetScreen() *Screen

func (*Drawable) GetSize

func (d *Drawable) GetSize(width, height *int)

func (*Drawable) GetVisibleRegion

func (d *Drawable) GetVisibleRegion() *Region

func (*Drawable) GetVisual

func (d *Drawable) GetVisual() *Visual

func (*Drawable) Ref

func (d *Drawable) Ref() *Drawable

func (*Drawable) SetColormap

func (d *Drawable) SetColormap(colormap *Colormap)

func (*Drawable) SetData

func (d *Drawable) SetData(key string, data T.Gpointer, destroyFunc O.DestroyNotify)

func (*Drawable) Unref

func (d *Drawable) Unref()

type Enum

type Enum int

type Event

type Event struct {
	Type EventType
}

func (*Event) Copy

func (e *Event) Copy() *Event

func (*Event) Free

func (e *Event) Free()

func (*Event) GetAxis

func (e *Event) GetAxis(axisUse T.GdkAxisUse, value *float64) bool

func (*Event) GetCoords

func (e *Event) GetCoords(xWin, yWin *float64) bool

func (*Event) GetRootCoords

func (e *Event) GetRootCoords(xRoot, yRoot *float64) bool

func (*Event) GetScreen

func (e *Event) GetScreen() *Screen

func (*Event) GetState

func (e *Event) GetState(state *T.GdkModifierType) bool

func (*Event) GetTime

func (e *Event) GetTime() T.GUint32

func (*Event) Put

func (e *Event) Put()

func (*Event) SendClientMessage

func (e *Event) SendClientMessage(winid T.GdkNativeWindow) bool

func (*Event) SendClientmessageToall

func (e *Event) SendClientmessageToall()

func (*Event) SetScreen

func (e *Event) SetScreen(screen *Screen)

type EventAny

type EventAny struct {
	Type      EventType
	Window    *Window
	SendEvent int8
}

type EventButton

type EventButton struct {
	Type         EventType
	Window       *Window
	SendEvent    int8
	Time         T.GUint32
	X            float64
	Y            float64
	Axes         *float64
	State        uint
	Button       uint
	Device       *Device
	XRoot, YRoot float64
}

type EventClient

type EventClient struct {
	Type        EventType
	Window      *Window
	SendEvent   int8
	MessageType Atom
	DataFormat  uint16
	// Union
	B [20]T.Char
}

type EventConfigure

type EventConfigure struct {
	Type      EventType
	Window    *Window
	SendEvent int8
	X, Y      int
	Width     int
	Height    int
}

type EventCrossing

type EventCrossing struct {
	Type       EventType
	Window     *Window
	Send_event int8
	Subwindow  *Window
	Time       T.GUint32
	X          float64
	Y          float64
	XRoot      float64
	YRoot      float64
	Mode       CrossingMode
	Detail     T.GdkNotifyType
	Focus      T.Gboolean
	State      uint
}

type EventExpose

type EventExpose struct {
	Type      EventType
	Window    *Window
	SendEvent int8
	Area      Rectangle
	Region    *Region
	Count     int
}

type EventFocus

type EventFocus struct {
	Type      EventType
	Window    *Window
	SendEvent int8
	In        int16
}

type EventFunc

type EventFunc func(event *Event, data T.Gpointer)

type EventGrabBroken

type EventGrabBroken struct {
	Type       EventType
	Window     *Window
	SendEvent  int8
	Keyboard   T.Gboolean
	Implicit   T.Gboolean
	GrabWindow *Window
}

type EventKey

type EventKey struct {
	Type            EventType
	Window          *Window
	SendEvent       int8
	Time            T.GUint32
	State           uint
	Keyval          uint
	Length          int
	String          *T.Gchar
	HardwareKeycode uint16
	Group           uint8
	IsModifier      uint // : 1
}

type EventMask

type EventMask Enum
const (
	EXPOSURE_MASK EventMask = 1 << (iota + 1)
	POINTER_MOTION_MASK
	POINTER_MOTION_HINT_MASK
	BUTTON_MOTION_MASK
	BUTTON1_MOTION_MASK
	BUTTON2_MOTION_MASK
	BUTTON3_MOTION_MASK
	BUTTON_PRESS_MASK
	BUTTON_RELEASE_MASK
	KEY_PRESS_MASK
	KEY_RELEASE_MASK
	ENTER_NOTIFY_MASK
	LEAVE_NOTIFY_MASK
	FOCUS_CHANGE_MASK
	STRUCTURE_MASK
	PROPERTY_CHANGE_MASK
	VISIBILITY_NOTIFY_MASK
	PROXIMITY_IN_MASK
	PROXIMITY_OUT_MASK
	SUBSTRUCTURE_MASK
	SCROLL_MASK
	ALL_EVENTS_MASK EventMask = 0x3FFFFE
)

type EventMotion

type EventMotion struct {
	Type         EventType
	Window       *Window
	SendEvent    int8
	Time         T.GUint32
	X            float64
	Y            float64
	Axes         *float64
	State        uint
	IsHint       int16
	Device       *Device
	XRoot, YRoot float64
}

type EventProperty

type EventProperty struct {
	Type      EventType
	Window    *Window
	SendEvent int8
	Atom      Atom
	Time      T.GUint32
	State     uint
}

type EventProximity

type EventProximity struct {
	Type      EventType
	Window    *Window
	SendEvent int8
	Time      T.GUint32
	Device    *Device
}

type EventScroll

type EventScroll struct {
	Type         EventType
	Window       *Window
	SendEvent    int8
	Time         T.GUint32
	X            float64
	Y            float64
	State        uint
	Direction    T.GdkScrollDirection
	Device       *Device
	XRoot, YRoot float64
}

type EventSelection

type EventSelection struct {
	Type      EventType
	Window    *Window
	SendEvent int8
	Selection Atom
	Target    Atom
	Property  Atom
	Time      T.GUint32
	Requestor T.GdkNativeWindow
}

type EventType

type EventType Enum
const (
	NOTHING EventType = iota - 1
	DELETE
	DESTROY
	EXPOSE
	MOTION_NOTIFY
	BUTTON_PRESS
	X2BUTTON_PRESS
	X3BUTTON_PRESS
	BUTTON_RELEASE
	KEY_PRESS
	KEY_RELEASE
	ENTER_NOTIFY
	LEAVE_NOTIFY
	FOCUS_CHANGE
	CONFIGURE
	MAP
	UNMAP
	PROPERTY_NOTIFY
	SELECTION_CLEAR
	SELECTION_REQUEST
	SELECTION_NOTIFY
	PROXIMITY_IN
	PROXIMITY_OUT
	DRAG_ENTER
	DRAG_LEAVE
	DRAG_MOTION
	DRAG_STATUS
	DROP_START
	DROP_FINISHED
	CLIENT_EVENT
	VISIBILITY_NOTIFY
	NO_EXPOSE
	SCROLL
	WINDOW_STATE
	SETTING
	OWNER_CHANGE
	GRAB_BROKEN
	DAMAGE
	EVENT_LAST
)

type EventVisibility

type EventVisibility struct {
	Type      EventType
	Window    *Window
	SendEvent int8
	State     VisibilityState
}

type EventWindowState

type EventWindowState struct {
	Type           EventType
	Window         *Window
	SendEvent      int8
	ChangedMask    WindowState
	NewWindowState WindowState
}

type ExtensionMode

type ExtensionMode Enum
const (
	EXTENSION_EVENTS_NONE ExtensionMode = iota
	EXTENSION_EVENTS_ALL
	EXTENSION_EVENTS_CURSOR
)

type Font

type Font struct {
	Type    FontType
	Ascent  int
	Descent int
}

func (*Font) Equal

func (f *Font) Equal(f2 *Font) bool

func (*Font) Id

func (f *Font) Id() int

func (*Font) Ref

func (f *Font) Ref() *Font

func (*Font) Unref

func (f *Font) Unref()

type FontType

type FontType Enum
const (
	FONT_FONT FontType = iota
	FONT_FONTSET
)

type GC

type GC struct {
	Parent_instance O.Object
	ClipXOrigin     int
	ClipYOrigin     int
	TsXOrigin       int
	TsYOrigin       int
	Colormap        *Colormap
}

func (*GC) Copy

func (g *GC) Copy(srcGc *GC)

func (*GC) GetColormap

func (g *GC) GetColormap() *Colormap

func (*GC) GetScreen

func (g *GC) GetScreen() *Screen

func (*GC) GetValues

func (g *GC) GetValues(values *GCValues)

func (*GC) Offset

func (g *GC) Offset(xOffset, yOffset int)

func (*GC) Ref

func (g *GC) Ref() *GC

func (*GC) SetBackground

func (g *GC) SetBackground(color *Color)

func (*GC) SetClipMask

func (g *GC) SetClipMask(mask *T.GdkBitmap)

func (*GC) SetClipOrigin

func (g *GC) SetClipOrigin(x, y int)

func (*GC) SetClipRectangle

func (g *GC) SetClipRectangle(rectangle *Rectangle)

func (*GC) SetClipRegion

func (g *GC) SetClipRegion(region *Region)

func (*GC) SetColormap

func (g *GC) SetColormap(colormap *Colormap)

func (*GC) SetDashes

func (g *GC) SetDashes(dashOffset int, dashList *int8, n int)

func (*GC) SetExposures

func (g *GC) SetExposures(exposures bool)

func (*GC) SetFill

func (g *GC) SetFill(fill T.GdkFill)

func (*GC) SetFont

func (g *GC) SetFont(font *Font)

func (*GC) SetForeground

func (g *GC) SetForeground(color *Color)

func (*GC) SetFunction

func (g *GC) SetFunction(function T.GdkFunction)

func (*GC) SetLineAttributes

func (g *GC) SetLineAttributes(lineWidth int, lineStyle T.GdkLineStyle, capStyle CapStyle, joinStyle T.GdkJoinStyle)

func (*GC) SetRgbBgColor

func (g *GC) SetRgbBgColor(color *Color)

func (*GC) SetRgbFgColor

func (g *GC) SetRgbFgColor(color *Color)

func (*GC) SetStipple

func (g *GC) SetStipple(stipple *Pixmap)

func (*GC) SetSubwindow

func (g *GC) SetSubwindow(mode T.GdkSubwindowMode)

func (*GC) SetTile

func (g *GC) SetTile(tile *Pixmap)

func (*GC) SetTsOrigin

func (g *GC) SetTsOrigin(x, y int)

func (*GC) SetValues

func (g *GC) SetValues(values *GCValues, valuesMask GCValuesMask)

func (*GC) Unref

func (g *GC) Unref()

type GCValues

type GCValues struct {
	Foreground        Color
	Background        Color
	Font              *Font
	Function          T.GdkFunction
	Fill              T.GdkFill
	Tile              *Pixmap
	Stipple           *Pixmap
	ClipMask          *Pixmap
	SubwindowMode     T.GdkSubwindowMode
	TsXOrigin         int
	TsYOrigin         int
	ClipXOrigin       int
	ClipYOrigin       int
	GraphicsExposures int
	LineWidth         int
	LineStyle         T.GdkLineStyle
	CapStyle          CapStyle
	JoinStyle         T.GdkJoinStyle
}

type GCValuesMask

type GCValuesMask Enum
const (
	GC_FOREGROUND GCValuesMask = 1 << iota
	GC_BACKGROUND
	GC_FONT
	GC_FUNCTION
	GC_FILL
	GC_TILE
	GC_STIPPLE
	GC_CLIP_MASK
	GC_SUBWINDOW
	GC_TS_X_ORIGIN
	GC_TS_Y_ORIGIN
	GC_CLIP_X_ORIGIN
	GC_CLIP_Y_ORIGIN
	GC_EXPOSURES
	GC_LINE_WIDTH
	GC_LINE_STYLE
	GC_CAP_STYLE
	GC_JOIN_STYLE
)

type Geometry

type Geometry struct {
	MinWidth   int
	MinHeight  int
	MaxWidth   int
	MaxHeight  int
	BaseWidth  int
	BaseHeight int
	WidthInc   int
	HeightInc  int
	MinAspect  float64
	MaxAspect  float64
	WinGravity Gravity
}

type GrabStatus

type GrabStatus Enum
const (
	GRAB_SUCCESS GrabStatus = iota
	GRAB_ALREADY_GRABBED
	GRAB_INVALID_TIME
	GRAB_NOT_VIEWABLE
	GRAB_FROZEN
)

type Gravity

type Gravity Enum
const (
	GRAVITY_NORTH_WEST Gravity = iota + 1
	GRAVITY_NORTH
	GRAVITY_NORTH_EAST
	GRAVITY_WEST
	GRAVITY_CENTER
	GRAVITY_EAST
	GRAVITY_SOUTH_WEST
	GRAVITY_SOUTH
	GRAVITY_SOUTH_EAST
	GRAVITY_STATIC
)

type HDC

type HDC uint32

type HGDIOBJ

type HGDIOBJ uint32

type HICON

type HICON uint32

type HWND

type HWND uint32

type Image

type Image struct {
	Parent        O.Object
	Type          ImageType
	Visual        *Visual
	ByteOrder     T.GdkByteOrder
	Width         int
	Height        int
	Depth         uint16
	Bpp           uint16
	Bpl           uint16
	BitsPerPixel  uint16
	Mem           T.Gpointer
	Colormap      *Colormap
	WindowingData T.Gpointer
}

func (*Image) GetBitsPerPixel

func (i *Image) GetBitsPerPixel() uint16

func (*Image) GetByteOrder

func (i *Image) GetByteOrder() T.GdkByteOrder

func (*Image) GetBytesPerLine

func (i *Image) GetBytesPerLine() uint16

func (*Image) GetBytesPerPixel

func (i *Image) GetBytesPerPixel() uint16

func (*Image) GetColormap

func (i *Image) GetColormap() *Colormap

func (*Image) GetDepth

func (i *Image) GetDepth() uint16

func (*Image) GetHeight

func (i *Image) GetHeight() int

func (*Image) GetImageType

func (i *Image) GetImageType() ImageType

func (*Image) GetPixel

func (i *Image) GetPixel(x, y int) T.GUint32

func (*Image) GetPixels

func (i *Image) GetPixels() T.Gpointer

func (*Image) GetVisual

func (i *Image) GetVisual() *Visual

func (*Image) GetWidth

func (i *Image) GetWidth() int

func (*Image) PutPixel

func (i *Image) PutPixel(x, y int, pixel T.GUint32)

func (*Image) Ref

func (i *Image) Ref() *Image

func (*Image) SetColormap

func (i *Image) SetColormap(colormap *Colormap)

func (*Image) Unref

func (i *Image) Unref()

type ImageType

type ImageType Enum
const (
	IMAGE_NORMAL ImageType = iota
	IMAGE_SHARED
	IMAGE_FASTEST
)

type Keymap

type Keymap struct {
	Parent  O.Object
	Display *Display
}

func (*Keymap) AddVirtualModifiers

func (k *Keymap) AddVirtualModifiers(state *T.GdkModifierType)

func (*Keymap) GetCapsLockState

func (k *Keymap) GetCapsLockState() bool

func (*Keymap) GetDirection

func (k *Keymap) GetDirection() P.Direction

func (*Keymap) GetEntriesForKeycode

func (k *Keymap) GetEntriesForKeycode(hardwareKeycode uint, keys **KeymapKey, keyvals **uint, nEntries *int) bool

func (*Keymap) GetEntriesForKeyval

func (k *Keymap) GetEntriesForKeyval(keyval uint, keys **KeymapKey, nKeys *int) bool

func (*Keymap) HaveBidiLayouts

func (k *Keymap) HaveBidiLayouts() bool

func (*Keymap) LookupKey

func (k *Keymap) LookupKey(key *KeymapKey) uint

func (*Keymap) MapVirtualModifiers

func (k *Keymap) MapVirtualModifiers(state *T.GdkModifierType) bool

func (*Keymap) TranslateKeyboardState

func (k *Keymap) TranslateKeyboardState(hardwareKeycode uint, state T.GdkModifierType, group int, keyval *uint, effectiveGroup, level *int, consumedModifiers *T.GdkModifierType) bool

type KeymapKey

type KeymapKey struct {
	Keycode uint
	Group   int
	Level   int
}

type PangoRenderer

type PangoRenderer struct {
	Parent P.Renderer
	// contains filtered or unexported fields
}

func (*PangoRenderer) SetDrawable

func (p *PangoRenderer) SetDrawable(drawable *Drawable)

func (*PangoRenderer) SetGc

func (p *PangoRenderer) SetGc(gc *GC)

func (*PangoRenderer) SetOverrideColor

func (p *PangoRenderer) SetOverrideColor(part P.RenderPart, color *Color)

func (*PangoRenderer) SetStipple

func (p *PangoRenderer) SetStipple(part P.RenderPart, stipple *T.GdkBitmap)

type Pixbuf

type Pixbuf struct{}

func (*Pixbuf) AddAlpha

func (p *Pixbuf) AddAlpha(substituteColor bool, r, g, b T.Guchar) *Pixbuf

func (*Pixbuf) ApplyEmbeddedOrientation

func (p *Pixbuf) ApplyEmbeddedOrientation() *Pixbuf

func (*Pixbuf) Composite

func (p *Pixbuf) Composite(dest *Pixbuf, destX, destY, destWidth, destHeight int, offsetX, offsetY, scaleX, scaleY float64, interpType T.GdkInterpType, overallAlpha int)

func (*Pixbuf) CompositeColor

func (p *Pixbuf) CompositeColor(dest *Pixbuf, destX, destY, destWidth, destHeight int, offsetX, offsetY, scaleX, scaleY float64, interpType T.GdkInterpType, overallAlpha, checkX, checkY, checkSize int, color1, color2 T.GUint32)

func (*Pixbuf) CompositeColorSimple

func (p *Pixbuf) CompositeColorSimple(destWidth, destHeight int, interpType T.GdkInterpType, overallAlpha, checkSize int, color1, color2 T.GUint32) *Pixbuf

func (*Pixbuf) Copy

func (p *Pixbuf) Copy() *Pixbuf

func (*Pixbuf) CopyArea

func (p *Pixbuf) CopyArea(srcX, srcY, width, height int, destPixbuf *Pixbuf, destX, destY int)

func (*Pixbuf) Fill

func (p *Pixbuf) Fill(pixel T.GUint32)

func (*Pixbuf) Flip

func (p *Pixbuf) Flip(horizontal bool) *Pixbuf

func (*Pixbuf) GetBitsPerSample

func (p *Pixbuf) GetBitsPerSample() int

func (*Pixbuf) GetColorspace

func (p *Pixbuf) GetColorspace() Colorspace

func (*Pixbuf) GetHasAlpha

func (p *Pixbuf) GetHasAlpha() bool

func (*Pixbuf) GetHeight

func (p *Pixbuf) GetHeight() int

func (*Pixbuf) GetNChannels

func (p *Pixbuf) GetNChannels() int

func (*Pixbuf) GetOption

func (p *Pixbuf) GetOption(key string) string

func (*Pixbuf) GetPixels

func (p *Pixbuf) GetPixels() *T.Guchar

func (*Pixbuf) GetRowstride

func (p *Pixbuf) GetRowstride() int

func (*Pixbuf) GetWidth

func (p *Pixbuf) GetWidth() int

func (*Pixbuf) NewSubpixbuf

func (p *Pixbuf) NewSubpixbuf(srcX, srcY, width, height int) *Pixbuf

func (*Pixbuf) Ref

func (p *Pixbuf) Ref() *Pixbuf

func (*Pixbuf) RotateSimple

func (p *Pixbuf) RotateSimple(angle PixbufRotation) *Pixbuf

func (*Pixbuf) SaturateAndPixelate

func (p *Pixbuf) SaturateAndPixelate(dest *Pixbuf, saturation float32, pixelate bool)

func (*Pixbuf) SaveToBuffer

func (p *Pixbuf) SaveToBuffer(buffer **T.Gchar, bufferSize *T.Gsize, typ string, e **L.Error, v ...VArg) bool

func (*Pixbuf) SaveToBufferv

func (p *Pixbuf) SaveToBufferv(buffer **T.Gchar, bufferSize *T.Gsize, typ string, optionKeys, optionValues **T.Char, e **L.Error) bool

func (*Pixbuf) SaveToCallback

func (p *Pixbuf) SaveToCallback(saveFunc PixbufSaveFunc, userData T.Gpointer, typ string, err **L.Error, v ...VArg) bool

func (*Pixbuf) SaveToCallbackv

func (p *Pixbuf) SaveToCallbackv(saveFunc PixbufSaveFunc, userData T.Gpointer, typ string, optionKeys, optionValues **T.Char, e **L.Error) bool

func (*Pixbuf) SaveToStream

func (p *Pixbuf) SaveToStream(stream *I.OutputStream, typ string, cancellable *I.Cancellable, e **L.Error, v ...VArg) bool

func (*Pixbuf) SaveToStreamAsync

func (p *Pixbuf) SaveToStreamAsync(stream *I.OutputStream, typ string, cancellable *I.Cancellable, callback I.AsyncReadyCallback, userData T.Gpointer, v ...VArg)

func (*Pixbuf) SaveUtf8

func (p *Pixbuf) SaveUtf8(filename, typ string, e **L.Error, v ...VArg) bool

func (*Pixbuf) SavevUtf8

func (p *Pixbuf) SavevUtf8(filename, typ string, optionKeys, optionValues **T.Char, e **L.Error) bool

func (*Pixbuf) Scale

func (p *Pixbuf) Scale(dest *Pixbuf, destX, destY, destWidth, destHeight int, offsetX, offsetY, scaleX, scaleY float64, interpType T.GdkInterpType)

func (*Pixbuf) ScaleSimple

func (p *Pixbuf) ScaleSimple(destWidth, destHeight int, interpType T.GdkInterpType) *Pixbuf

func (*Pixbuf) SetOption

func (p *Pixbuf) SetOption(key, value string) bool

func (*Pixbuf) Unref

func (p *Pixbuf) Unref()

type PixbufAlphaMode

type PixbufAlphaMode Enum
const (
	PIXBUF_ALPHA_BILEVEL PixbufAlphaMode = iota
	PIXBUF_ALPHA_FULL
)

type PixbufAnimation

type PixbufAnimation struct{}

func (*PixbufAnimation) GetHeight

func (p *PixbufAnimation) GetHeight() int

func (*PixbufAnimation) GetIter

func (p *PixbufAnimation) GetIter(startTime *L.TimeVal) *PixbufAnimationIter

func (*PixbufAnimation) GetStaticImage

func (p *PixbufAnimation) GetStaticImage() *Pixbuf

func (*PixbufAnimation) GetWidth

func (p *PixbufAnimation) GetWidth() int

func (*PixbufAnimation) IsStaticImage

func (p *PixbufAnimation) IsStaticImage() bool

func (*PixbufAnimation) Ref

func (p *PixbufAnimation) Ref() *PixbufAnimation

func (*PixbufAnimation) Unref

func (p *PixbufAnimation) Unref()

type PixbufAnimationIter

type PixbufAnimationIter struct{}

type PixbufDestroyNotify

type PixbufDestroyNotify func(
	Pixels *T.Guchar,
	data T.Gpointer)

type PixbufFormat

type PixbufFormat struct{}

type PixbufLoader

type PixbufLoader struct {
	Parent O.Object
	// contains filtered or unexported fields
}

type PixbufRotation

type PixbufRotation Enum
const (
	PIXBUF_ROTATE_NONE             PixbufRotation = 0
	PIXBUF_ROTATE_COUNTERCLOCKWISE PixbufRotation = 90
	PIXBUF_ROTATE_UPSIDEDOWN       PixbufRotation = 180
	PIXBUF_ROTATE_CLOCKWISE        PixbufRotation = 270
)

type PixbufSaveFunc

type PixbufSaveFunc func(
	buf string,
	count T.Gsize,
	err **L.Error,
	data T.Gpointer) bool

type PixbufSimpleAnim

type PixbufSimpleAnim struct{}

func (*PixbufSimpleAnim) AddFrame

func (p *PixbufSimpleAnim) AddFrame(pixbuf *Pixbuf)

func (*PixbufSimpleAnim) GetLoop

func (p *PixbufSimpleAnim) GetLoop() bool

func (*PixbufSimpleAnim) SetLoop

func (p *PixbufSimpleAnim) SetLoop(loop bool)

type Pixdata

type Pixdata struct {
	Magic       T.GUint32
	Length      T.GInt32
	PixdataType PixdataType
	Rowstride   T.GUint32
	Width       T.GUint32
	Height      T.GUint32
	PixelData   *uint8
}

func (*Pixdata) Deserialize

func (p *Pixdata) Deserialize(streamLength uint, stream *uint8, e **L.Error) bool

func (*Pixdata) FromPixbuf

func (p *Pixdata) FromPixbuf(pixbuf *Pixbuf, useRle bool) T.Gpointer

func (*Pixdata) Serialize

func (p *Pixdata) Serialize(streamLengthP *uint) *uint8

func (*Pixdata) ToCsource

func (p *Pixdata) ToCsource(name string, dumpType PixdataDumpType) *L.String

type PixdataDumpType

type PixdataDumpType Enum
const (
	PIXDATA_DUMP_PIXDATA_STRUCT PixdataDumpType = 1 << iota
	PIXDATA_DUMP_MACROS

	PIXDATA_DUMP_CTYPES
	PIXDATA_DUMP_STATIC
	PIXDATA_DUMP_CONST

	PIXDATA_DUMP_RLE_DECODER
	PIXDATA_DUMP_PIXDATA_STREAM PixdataDumpType = 0
	PIXDATA_DUMP_GTYPES         PixdataDumpType = 0
)

type PixdataType

type PixdataType Enum
const (
	PIXDATA_COLOR_TYPE_RGB PixdataType = 0x01 << iota
	PIXDATA_COLOR_TYPE_RGBA
	PIXDATA_COLOR_TYPE_MASK PixdataType = 0xff
)
const (
	PIXDATA_SAMPLE_WIDTH_8    PixdataType = 0x01 << 16
	PIXDATA_SAMPLE_WIDTH_MASK PixdataType = 0x0f << 16
)
const (
	PIXDATA_ENCODING_RAW PixdataType = 0x01 << (24 + iota)
	PIXDATA_ENCODING_RLE
	PIXDATA_ENCODING_MASK PixdataType = 0x0f << 24
)

type Pixmap

type Pixmap Drawable

func (*Pixmap) GetSize

func (p *Pixmap) GetSize(width, height *int)

type Point

type Point struct {
	X int
	Y int
}

type PropMode

type PropMode Enum
const (
	PROP_MODE_REPLACE PropMode = iota
	PROP_MODE_PREPEND
	PROP_MODE_APPEND
)

type PropertyState

type PropertyState Enum
const (
	PROPERTY_NEW_VALUE PropertyState = iota
	PROPERTY_DELETE
)

type Rectangle

type Rectangle struct {
	X      int
	Y      int
	Width  int
	Height int
}

func (*Rectangle) Intersect

func (r *Rectangle) Intersect(r2, dest *Rectangle) bool

func (*Rectangle) Union

func (r *Rectangle) Union(r2, dest *Rectangle)

type Region

type Region struct{}

func (*Region) Copy

func (r *Region) Copy() *Region

func (*Region) Destroy

func (r *Region) Destroy()

func (*Region) Empty

func (r *Region) Empty() bool

func (*Region) Equal

func (r *Region) Equal(r2 *Region) bool

func (*Region) GetClipbox

func (r *Region) GetClipbox(rectangle *Rectangle)

func (*Region) GetRectangles

func (r *Region) GetRectangles(rectangles **Rectangle, nRectangles *int)

func (*Region) Intersect

func (r *Region) Intersect(r2 *Region)

func (*Region) Offset

func (r *Region) Offset(dx, dy int)

func (*Region) PointIn

func (r *Region) PointIn(x, y int) bool

func (*Region) RectEqual

func (r *Region) RectEqual(rectangle *Rectangle) bool

func (*Region) RectIn

func (r *Region) RectIn(rectangle *Rectangle) T.GdkOverlapType

func (*Region) Shrink

func (r *Region) Shrink(dx, dy int)

func (*Region) SpansIntersectForeach

func (r *Region) SpansIntersectForeach(spans *T.GdkSpan, nSpans int, sorted bool, function T.GdkSpanFunc, data T.Gpointer)

func (*Region) Subtract

func (r *Region) Subtract(r2 *Region)

func (*Region) Union

func (r *Region) Union(r2 *Region)

func (*Region) UnionWithRect

func (r *Region) UnionWithRect(rect *Rectangle)

func (*Region) Xor

func (r *Region) Xor(r2 *Region)

type Screen

type Screen struct {
	Parent       O.Object
	Closed       uint    // : 1
	NormalGcs    *[32]GC //TODO(t): CHECK
	ExposureGcs  *[32]GC //TODO(t): CHECK
	SubwindowGcs *[32]GC //TODO(t): CHECK
	FontOptions  *C.FontOptions
	Resolution   float64
}

func (*Screen) BroadcastClientMessage

func (s *Screen) BroadcastClientMessage(event *Event)

func (*Screen) GetActiveWindow

func (s *Screen) GetActiveWindow() *Window

func (*Screen) GetDefaultColormap

func (s *Screen) GetDefaultColormap() *Colormap

func (*Screen) GetDisplay

func (s *Screen) GetDisplay() *Display

func (*Screen) GetFontOptions

func (s *Screen) GetFontOptions() *C.FontOptions

func (*Screen) GetHeight

func (s *Screen) GetHeight() int

func (*Screen) GetHeightMm

func (s *Screen) GetHeightMm() int

func (*Screen) GetMonitorAtPoint

func (s *Screen) GetMonitorAtPoint(x, y int) int

func (*Screen) GetMonitorAtWindow

func (s *Screen) GetMonitorAtWindow(window *Window) int

func (*Screen) GetMonitorGeometry

func (s *Screen) GetMonitorGeometry(monitorNum int, dest *Rectangle)

func (*Screen) GetMonitorHeightMm

func (s *Screen) GetMonitorHeightMm(monitorNum int) int

func (*Screen) GetMonitorPlugName

func (s *Screen) GetMonitorPlugName(monitorNum int) string

func (*Screen) GetMonitorWidthMm

func (s *Screen) GetMonitorWidthMm(monitorNum int) int

func (*Screen) GetNMonitors

func (s *Screen) GetNMonitors() int

func (*Screen) GetNumber

func (s *Screen) GetNumber() int

func (*Screen) GetPrimaryMonitor

func (s *Screen) GetPrimaryMonitor() int

func (*Screen) GetResolution

func (s *Screen) GetResolution() float64

func (*Screen) GetRgbColormap

func (s *Screen) GetRgbColormap() *Colormap

func (*Screen) GetRgbVisual

func (s *Screen) GetRgbVisual() *Visual

func (*Screen) GetRgbaColormap

func (s *Screen) GetRgbaColormap() *Colormap

func (*Screen) GetRgbaVisual

func (s *Screen) GetRgbaVisual() *Visual

func (*Screen) GetRootWindow

func (s *Screen) GetRootWindow() *Window

func (*Screen) GetSetting

func (s *Screen) GetSetting(name string, value *O.Value) bool

func (*Screen) GetSystemColormap

func (s *Screen) GetSystemColormap() *Colormap

func (*Screen) GetSystemVisual

func (s *Screen) GetSystemVisual() *Visual

func (*Screen) GetToplevelWindows

func (s *Screen) GetToplevelWindows() *L.List

func (*Screen) GetWidth

func (s *Screen) GetWidth() int

func (*Screen) GetWidthMm

func (s *Screen) GetWidthMm() int

func (*Screen) GetWindowStack

func (s *Screen) GetWindowStack() *L.List

func (*Screen) IsComposited

func (s *Screen) IsComposited() bool

func (*Screen) ListVisuals

func (s *Screen) ListVisuals() *L.List

func (*Screen) MakeDisplayName

func (s *Screen) MakeDisplayName() string

func (*Screen) SetDefaultColormap

func (s *Screen) SetDefaultColormap(colormap *Colormap)

func (*Screen) SetFontOptions

func (s *Screen) SetFontOptions(options *C.FontOptions)

func (*Screen) SetResolution

func (s *Screen) SetResolution(dpi float64)

type VisibilityState

type VisibilityState Enum
const (
	VISIBILITY_UNOBSCURED VisibilityState = iota
	VISIBILITY_PARTIAL
	VISIBILITY_FULLY_OBSCURED
)

type Visual

type Visual struct {
	Parent       O.Object
	Type         VisualType
	Depth        int
	ByteOrder    T.GdkByteOrder
	ColormapSize int
	BitsPerRgb   int
	RedMask      T.GUint32
	RedShift     int
	RedPrec      int
	GreenMask    T.GUint32
	GreenShift   int
	GreenPrec    int
	BlueMask     T.GUint32
	BlueShift    int
	BluePrec     int
}

func (*Visual) GetBitsPerRgb

func (v *Visual) GetBitsPerRgb() int

func (*Visual) GetBluePixelDetails

func (v *Visual) GetBluePixelDetails(mask *T.GUint32, shift *int, precision *int)

func (*Visual) GetByteOrder

func (v *Visual) GetByteOrder() T.GdkByteOrder

func (*Visual) GetColormapSize

func (v *Visual) GetColormapSize() int

func (*Visual) GetDepth

func (v *Visual) GetDepth() int

func (*Visual) GetGreenPixelDetails

func (v *Visual) GetGreenPixelDetails(mask *T.GUint32, shift *int, precision *int)

func (*Visual) GetRedPixelDetails

func (v *Visual) GetRedPixelDetails(mask *T.GUint32, shift *int, precision *int)

func (*Visual) GetScreen

func (v *Visual) GetScreen() *Screen

func (*Visual) GetVisualType

func (v *Visual) GetVisualType() VisualType

type VisualType

type VisualType Enum
const (
	VISUAL_STATIC_GRAY VisualType = iota
	VISUAL_GRAYSCALE
	VISUAL_STATIC_COLOR
	VISUAL_PSEUDO_COLOR
	VISUAL_TRUE_COLOR
	VISUAL_DIRECT_COLOR
)

type Window

type Window Drawable

func (*Window) AddFilter

func (w *Window) AddFilter(function T.GdkFilterFunc, data T.Gpointer)

func (*Window) Beep

func (w *Window) Beep()

func (*Window) BeginMoveDrag

func (w *Window) BeginMoveDrag(button, rootX, rootY int, timestamp T.GUint32)

func (*Window) BeginPaintRect

func (w *Window) BeginPaintRect(rectangle *Rectangle)

func (*Window) BeginPaintRegion

func (w *Window) BeginPaintRegion(region *Region)

func (*Window) BeginResizeDrag

func (w *Window) BeginResizeDrag(edge WindowEdge, button, rootX, rootY int, timestamp T.GUint32)

func (*Window) Clear

func (w *Window) Clear()

func (*Window) ClearArea

func (w *Window) ClearArea(x, y, width, height int)

func (*Window) ClearAreaE

func (w *Window) ClearAreaE(x, y, width, height int)

func (*Window) ConfigureFinished

func (w *Window) ConfigureFinished()

func (*Window) CoordsFromParent

func (w *Window) CoordsFromParent(parentX, parentY float64, x, y *float64)

func (*Window) CoordsToParent

func (w *Window) CoordsToParent(x, y float64, parentX, parentY *float64)

func (*Window) CreateSimilarSurface

func (w *Window) CreateSimilarSurface(content C.Content, width, height int) *C.Surface

func (*Window) Deiconify

func (w *Window) Deiconify()

func (*Window) Destroy

func (w *Window) Destroy()

func (*Window) DestroyNotify

func (w *Window) DestroyNotify()

func (*Window) EnableSynchronizedConfigure

func (w *Window) EnableSynchronizedConfigure()

func (*Window) EndPaint

func (w *Window) EndPaint()

func (*Window) EnsureNative

func (w *Window) EnsureNative() bool

func (*Window) Flush

func (w *Window) Flush()

func (*Window) Focus

func (w *Window) Focus(timestamp T.GUint32)

func (*Window) FreezeToplevelUpdatesLibgtkOnly

func (w *Window) FreezeToplevelUpdatesLibgtkOnly()

func (*Window) FreezeUpdates

func (w *Window) FreezeUpdates()

func (*Window) Fullscreen

func (w *Window) Fullscreen()

func (*Window) GeometryChanged

func (w *Window) GeometryChanged()

func (*Window) GetAcceptFocus

func (w *Window) GetAcceptFocus() bool

func (*Window) GetBackgroundPattern

func (w *Window) GetBackgroundPattern() *C.Pattern

func (*Window) GetChildren

func (w *Window) GetChildren() *L.List

func (*Window) GetComposited

func (w *Window) GetComposited() bool

func (*Window) GetCursor

func (w *Window) GetCursor() *Cursor

func (*Window) GetDecorations

func (w *Window) GetDecorations(decorations *T.GdkWMDecoration) bool

func (*Window) GetDeskrelativeOrigin

func (w *Window) GetDeskrelativeOrigin(x, y *int) bool

func (*Window) GetDisplay

func (w *Window) GetDisplay() *Display

func (*Window) GetEffectiveParent

func (w *Window) GetEffectiveParent() *Window

func (*Window) GetEffectiveToplevel

func (w *Window) GetEffectiveToplevel() *Window

func (*Window) GetEvents

func (w *Window) GetEvents() EventMask

func (*Window) GetFocusOnMap

func (w *Window) GetFocusOnMap() bool

func (*Window) GetFrameExtents

func (w *Window) GetFrameExtents(rect *Rectangle)

func (*Window) GetGeometry

func (w *Window) GetGeometry(x, y, width, height, depth *int)

func (*Window) GetGroup

func (w *Window) GetGroup() *Window

func (*Window) GetHeight

func (w *Window) GetHeight() int

func (*Window) GetInternalPaintInfo

func (w *Window) GetInternalPaintInfo(realDrawable **Drawable, xOffset, yOffset *int)

func (*Window) GetModalHint

func (w *Window) GetModalHint() bool

func (*Window) GetOrigin

func (w *Window) GetOrigin(x, y *int) int

func (*Window) GetParent

func (w *Window) GetParent() *Window

func (*Window) GetPointer

func (w *Window) GetPointer(x, y *int, mask *T.GdkModifierType) *Window

func (*Window) GetPosition

func (w *Window) GetPosition(x, y *int)

func (*Window) GetRootCoords

func (w *Window) GetRootCoords(x, y int, rootX, rootY *int)

func (*Window) GetRootOrigin

func (w *Window) GetRootOrigin(x, y *int)

func (*Window) GetScreen

func (w *Window) GetScreen() *Screen

func (*Window) GetState

func (w *Window) GetState() WindowState

func (*Window) GetToplevel

func (w *Window) GetToplevel() *Window

func (*Window) GetTypeHint

func (w *Window) GetTypeHint() WindowTypeHint

func (*Window) GetUpdateArea

func (w *Window) GetUpdateArea() *Region

func (*Window) GetUserData

func (w *Window) GetUserData(data *T.Gpointer)

func (*Window) GetVisual

func (w *Window) GetVisual() *Visual

func (*Window) GetWidth

func (w *Window) GetWidth() int

func (*Window) GetWindowType

func (w *Window) GetWindowType() WindowType

func (*Window) HasNative

func (w *Window) HasNative() bool

func (*Window) Hide

func (w *Window) Hide()

func (*Window) Iconify

func (w *Window) Iconify()

func (*Window) InputShapeCombineMask

func (w *Window) InputShapeCombineMask(mask *T.GdkBitmap, x, y int)

func (*Window) InputShapeCombineRegion

func (w *Window) InputShapeCombineRegion(shapeRegion *Region, offsetX, offsetY int)

func (*Window) InvalidateMaybeRecurse

func (w *Window) InvalidateMaybeRecurse(region *Region, childFunc func(*Window, T.Gpointer) bool, userData T.Gpointer)

func (*Window) InvalidateRect

func (w *Window) InvalidateRect(rect *Rectangle, invalidateChildren bool)

func (*Window) InvalidateRegion

func (w *Window) InvalidateRegion(region *Region, invalidateChildren bool)

func (*Window) IsDestroyed

func (w *Window) IsDestroyed() bool

func (*Window) IsInputOnly

func (w *Window) IsInputOnly() bool

func (*Window) IsShaped

func (w *Window) IsShaped() bool

func (*Window) IsViewable

func (w *Window) IsViewable() bool

func (*Window) IsVisible

func (w *Window) IsVisible() bool

func (*Window) Lower

func (w *Window) Lower()

func (*Window) Maximize

func (w *Window) Maximize()

func (*Window) MergeChildInputShapes

func (w *Window) MergeChildInputShapes()

func (*Window) MergeChildShapes

func (w *Window) MergeChildShapes()

func (*Window) Move

func (w *Window) Move(x, y int)

func (*Window) MoveRegion

func (w *Window) MoveRegion(region *Region, dx, dy int)

func (*Window) MoveResize

func (w *Window) MoveResize(x, y, width, height int)

func (*Window) PeekChildren

func (w *Window) PeekChildren() *L.List

func (*Window) ProcessUpdates

func (w *Window) ProcessUpdates(updateChildren bool)

func (*Window) Raise

func (w *Window) Raise()

func (*Window) RedirectToDrawable

func (w *Window) RedirectToDrawable(drawable *Drawable, srcX, srcY, destX, destY, width, height int)

func (*Window) RegisterDnd

func (w *Window) RegisterDnd()

func (*Window) RemoveFilter

func (w *Window) RemoveFilter(function T.GdkFilterFunc, data T.Gpointer)

func (*Window) RemoveRedirection

func (w *Window) RemoveRedirection()

func (*Window) Reparent

func (w *Window) Reparent(newParent *Window, x, y int)

func (*Window) Resize

func (w *Window) Resize(width, height int)

func (*Window) Restack

func (w *Window) Restack(sibling *Window, above bool)

func (*Window) Scroll

func (w *Window) Scroll(dx, dy int)

func (*Window) SetAcceptFocus

func (w *Window) SetAcceptFocus(acceptFocus bool)

func (*Window) SetBackPixmap

func (w *Window) SetBackPixmap(pixmap *Pixmap, parentRelative bool)

func (*Window) SetBackground

func (w *Window) SetBackground(color *Color)

func (*Window) SetChildInputShapes

func (w *Window) SetChildInputShapes()

func (*Window) SetChildShapes

func (w *Window) SetChildShapes()

func (*Window) SetComposited

func (w *Window) SetComposited(composited bool)

func (*Window) SetCursor

func (w *Window) SetCursor(cursor *Cursor)

func (*Window) SetDecorations

func (w *Window) SetDecorations(decorations T.GdkWMDecoration)

func (*Window) SetEvents

func (w *Window) SetEvents(eventMask EventMask)

func (*Window) SetFocusOnMap

func (w *Window) SetFocusOnMap(focusOnMap bool)

func (*Window) SetFunctions

func (w *Window) SetFunctions(functions T.GdkWMFunction)

func (*Window) SetGeometryHints

func (w *Window) SetGeometryHints(geometry *Geometry, geomMask WindowHints)

func (*Window) SetGroup

func (w *Window) SetGroup(leader *Window)

func (*Window) SetHints

func (w *Window) SetHints(x, y, minWidth, minHeight, maxWidth, maxHeight, flags int)

func (*Window) SetIcon

func (w *Window) SetIcon(iconWindow *Window, pixmap *Pixmap, mask *T.GdkBitmap)

func (*Window) SetIconList

func (w *Window) SetIconList(pixbufs *L.List)

func (*Window) SetIconName

func (w *Window) SetIconName(name string)

func (*Window) SetKeepAbove

func (w *Window) SetKeepAbove(setting bool)

func (*Window) SetKeepBelow

func (w *Window) SetKeepBelow(setting bool)

func (*Window) SetModalHint

func (w *Window) SetModalHint(modal bool)

func (*Window) SetOpacity

func (w *Window) SetOpacity(opacity float64)

func (*Window) SetOverrideRedirect

func (w *Window) SetOverrideRedirect(overrideRedirect bool)

func (*Window) SetRole

func (w *Window) SetRole(role string)

func (*Window) SetSkipPagerHint

func (w *Window) SetSkipPagerHint(skipsPager bool)

func (*Window) SetSkipTaskbarHint

func (w *Window) SetSkipTaskbarHint(skipsTaskbar bool)

func (*Window) SetStartupId

func (w *Window) SetStartupId(startupId string)

func (*Window) SetStaticGravities

func (w *Window) SetStaticGravities(useStatic bool) bool

func (*Window) SetTitle

func (w *Window) SetTitle(title string)

func (*Window) SetTransientFor

func (w *Window) SetTransientFor(parent *Window)

func (*Window) SetTypeHint

func (w *Window) SetTypeHint(hint WindowTypeHint)

func (*Window) SetUrgencyHint

func (w *Window) SetUrgencyHint(urgent bool)

func (*Window) SetUserData

func (w *Window) SetUserData(userData T.Gpointer)

func (*Window) ShapeCombineMask

func (w *Window) ShapeCombineMask(mask *T.GdkBitmap, x, y int)

func (*Window) ShapeCombineRegion

func (w *Window) ShapeCombineRegion(shapeRegion *Region, offsetX, offsetY int)

func (*Window) Show

func (w *Window) Show()

func (*Window) ShowUnraised

func (w *Window) ShowUnraised()

func (*Window) Stick

func (w *Window) Stick()

func (*Window) ThawToplevelUpdatesLibgtkOnly

func (w *Window) ThawToplevelUpdatesLibgtkOnly()

func (*Window) ThawUpdates

func (w *Window) ThawUpdates()

func (*Window) Unfullscreen

func (w *Window) Unfullscreen()

func (*Window) Unmaximize

func (w *Window) Unmaximize()

func (*Window) Unstick

func (w *Window) Unstick()

func (*Window) Withdraw

func (w *Window) Withdraw()

type WindowAttr

type WindowAttr struct {
	Title            *T.Gchar
	EventMask        int
	X, Y             int
	Width            int
	Height           int
	Wclass           WindowClass
	Visual           *Visual
	Colormap         *Colormap
	WindowType       WindowType
	Cursor           *Cursor
	WmclassName      *T.Gchar
	WmclassClass     *T.Gchar
	OverrideRedirect T.Gboolean
	TypeHint         WindowTypeHint
}

type WindowClass

type WindowClass Enum
const (
	INPUT_OUTPUT WindowClass = iota
	INPUT_ONLY
)

type WindowEdge

type WindowEdge Enum
const (
	WINDOW_EDGE_NORTH_WEST WindowEdge = iota
	WINDOW_EDGE_NORTH
	WINDOW_EDGE_NORTH_EAST
	WINDOW_EDGE_WEST
	WINDOW_EDGE_EAST
	WINDOW_EDGE_SOUTH_WEST
	WINDOW_EDGE_SOUTH
	WINDOW_EDGE_SOUTH_EAST
)

type WindowHints

type WindowHints Enum
const (
	HINT_POS WindowHints = 1 << iota
	HINT_MIN_SIZE
	HINT_MAX_SIZE
	HINT_BASE_SIZE
	HINT_ASPECT
	HINT_RESIZE_INC
	HINT_WIN_GRAVITY
	HINT_USER_POS
	HINT_USER_SIZE
)

type WindowState

type WindowState Enum
const (
	WINDOW_STATE_WITHDRAWN WindowState = 1 << iota
	WINDOW_STATE_ICONIFIED
	WINDOW_STATE_MAXIMIZED
	WINDOW_STATE_STICKY
	WINDOW_STATE_FULLSCREEN
	WINDOW_STATE_ABOVE
	WINDOW_STATE_BELOW
)

type WindowType

type WindowType Enum
const (
	WINDOW_ROOT WindowType = iota
	WINDOW_TOPLEVEL
	WINDOW_CHILD
	WINDOW_DIALOG
	WINDOW_TEMP
	WINDOW_FOREIGN
	WINDOW_OFFSCREEN
)

type WindowTypeHint

type WindowTypeHint Enum
const (
	WINDOW_TYPE_HINT_NORMAL WindowTypeHint = iota
	WINDOW_TYPE_HINT_DIALOG
	WINDOW_TYPE_HINT_MENU
	WINDOW_TYPE_HINT_TOOLBAR
	WINDOW_TYPE_HINT_SPLASHSCREEN
	WINDOW_TYPE_HINT_UTILITY
	WINDOW_TYPE_HINT_DOCK
	WINDOW_TYPE_HINT_DESKTOP
	WINDOW_TYPE_HINT_DROPDOWN_MENU
	WINDOW_TYPE_HINT_POPUP_MENU
	WINDOW_TYPE_HINT_TOOLTIP
	WINDOW_TYPE_HINT_NOTIFICATION
	WINDOW_TYPE_HINT_COMBO
	WINDOW_TYPE_HINT_DND
)

Jump to

Keyboard shortcuts

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