Documentation ¶
Overview ¶
Package gdk provides API definitions for accessing libgdk-win32-2.0-0.dll and libgdk_pixbuf-2.0-0.dll.
Index ¶
- Variables
- type AppLaunchContext
- func (a *AppLaunchContext) SetDesktop(desktop int)
- func (a *AppLaunchContext) SetDisplay(display *Display)
- func (a *AppLaunchContext) SetIcon(icon *I.Icon)
- func (a *AppLaunchContext) SetIconName(iconName string)
- func (a *AppLaunchContext) SetScreen(screen *Screen)
- func (a *AppLaunchContext) SetTimestamp(timestamp T.GUint32)
- type Atom
- type Cairo
- func (c *Cairo) Rectangle(rectangle *Rectangle)
- func (c *Cairo) Region(region *Region)
- func (c *Cairo) ResetClip(drawable *Drawable)
- func (c *Cairo) SetSourceColor(color *Color)
- func (c *Cairo) SetSourcePixbuf(pixbuf *Pixbuf, pixbufX, pixbufY float64)
- func (c *Cairo) SetSourcePixmap(pixmap *Pixmap, pixmapX, pixmapY float64)
- func (c *Cairo) SetSourceWindow(window *Window, x, y float64)
- type CapStyle
- type Color
- type Colormap
- func (c *Colormap) AllocColor(color *Color, writeable bool, bestMatch bool) bool
- func (c *Colormap) AllocColors(colors *Color, nColors int, writeable bool, bestMatch bool, success *bool) int
- func (c *Colormap) Change(ncolors int)
- func (c *Colormap) FreeColors(colors *Color, nColors int)
- func (c *Colormap) GetScreen() *Screen
- func (c *Colormap) GetVisual() *Visual
- func (c *Colormap) QueryColor(pixel T.Gulong, result *Color)
- func (c *Colormap) Ref() *Colormap
- func (c *Colormap) Unref()
- type Colorspace
- type CrossingMode
- type Cursor
- type CursorType
- type Device
- func (d *Device) GetAxis(axes *float64, use T.GdkAxisUse, value *float64) bool
- func (d *Device) GetAxisUse(index uint) T.GdkAxisUse
- func (d *Device) GetHasCursor() bool
- func (d *Device) GetHistory(window *Window, start, stop T.GUint32, events ***T.GdkTimeCoord, nEvents *int) bool
- func (d *Device) GetKey(index uint, keyval *uint, modifiers *T.GdkModifierType)
- func (d *Device) GetMode() T.GdkInputMode
- func (d *Device) GetNAxes() int
- func (d *Device) GetNKeys() int
- func (d *Device) GetName() string
- func (d *Device) GetSource() T.GdkInputSource
- func (d *Device) GetState(window *Window, axes *float64, mask *T.GdkModifierType)
- func (d *Device) SetAxisUse(index uint, use T.GdkAxisUse)
- func (d *Device) SetKey(index, keyval uint, modifiers T.GdkModifierType)
- func (d *Device) SetMode(mode T.GdkInputMode) bool
- func (d *Device) SetSource(source T.GdkInputSource)
- type DeviceAxis
- type DeviceKey
- type Display
- func (d *Display) AddClientMessageFilter(messageType Atom, f T.GdkFilterFunc, data T.Gpointer)
- func (d *Display) Beep()
- func (d *Display) Close()
- func (d *Display) Flush()
- func (d *Display) GetCorePointer() *Device
- func (d *Display) GetDefaultCursorSize() uint
- func (d *Display) GetDefaultGroup() *Window
- func (d *Display) GetDefaultScreen() *Screen
- func (d *Display) GetEvent() *Event
- func (d *Display) GetMaximalCursorSize(width, height *uint)
- func (d *Display) GetNScreens() int
- func (d *Display) GetName() string
- func (d *Display) GetPointer(screen **Screen, x, y *int, mask *T.GdkModifierType)
- func (d *Display) GetScreen(screenNum int) *Screen
- func (d *Display) GetWindowAtPointer(winX, winY *int) *Window
- func (d *Display) IsClosed() bool
- func (d *Display) KeyboardUngrab(time T.GUint32)
- func (d *Display) ListDevices() *L.List
- func (d *Display) PeekEvent() *Event
- func (d *Display) PointerIsGrabbed() bool
- func (d *Display) PointerUngrab(time T.GUint32)
- func (d *Display) PutEvent(event *Event)
- func (d *Display) RequestSelectionNotification(selection Atom) bool
- func (d *Display) SetDoubleClickDistance(distance uint)
- func (d *Display) SetDoubleClickTime(msec uint)
- func (d *Display) SetPointerHooks(newHooks *DisplayPointerHooks) *DisplayPointerHooks
- func (d *Display) StoreClipboard(clipboardWindow *Window, time T.GUint32, targets *Atom, nTargets int)
- func (d *Display) SupportsClipboardPersistence() bool
- func (d *Display) SupportsComposite() bool
- func (d *Display) SupportsCursorAlpha() bool
- func (d *Display) SupportsCursorColor() bool
- func (d *Display) SupportsInputShapes() bool
- func (d *Display) SupportsSelectionNotification() bool
- func (d *Display) SupportsShapes() bool
- func (d *Display) Sync()
- func (d *Display) WarpPointer(screen *Screen, x, y int)
- type DisplayManager
- type DisplayPointerHooks
- type DragAction
- type DragContext
- func (d *DragContext) GetActions() DragAction
- func (d *DragContext) GetDestWindow() *Window
- func (d *DragContext) GetProtocol() DragProtocol
- func (d *DragContext) GetSelectedAction() DragAction
- func (d *DragContext) GetSourceWindow() *Window
- func (d *DragContext) GetSuggestedAction() DragAction
- func (d *DragContext) ListTargets() *L.List
- func (d *DragContext) Ref()
- func (d *DragContext) Unref()
- type DragProtocol
- type Drawable
- func (d *Drawable) CopyToImage(image *Image, srcX, srcY, destX, destY, width, height int) *Image
- func (d *Drawable) GetClipRegion() *Region
- func (d *Drawable) GetColormap() *Colormap
- func (d *Drawable) GetData(key string) T.Gpointer
- func (d *Drawable) GetDepth() int
- func (d *Drawable) GetDisplay() *Display
- func (d *Drawable) GetImage(x, y, width, height int) *Image
- func (d *Drawable) GetScreen() *Screen
- func (d *Drawable) GetSize(width, height *int)
- func (d *Drawable) GetVisibleRegion() *Region
- func (d *Drawable) GetVisual() *Visual
- func (d *Drawable) Ref() *Drawable
- func (d *Drawable) SetColormap(colormap *Colormap)
- func (d *Drawable) SetData(key string, data T.Gpointer, destroyFunc O.DestroyNotify)
- func (d *Drawable) Unref()
- type Enum
- type Event
- func (e *Event) Copy() *Event
- func (e *Event) Free()
- func (e *Event) GetAxis(axisUse T.GdkAxisUse, value *float64) bool
- func (e *Event) GetCoords(xWin, yWin *float64) bool
- func (e *Event) GetRootCoords(xRoot, yRoot *float64) bool
- func (e *Event) GetScreen() *Screen
- func (e *Event) GetState(state *T.GdkModifierType) bool
- func (e *Event) GetTime() T.GUint32
- func (e *Event) Put()
- func (e *Event) SendClientMessage(winid T.GdkNativeWindow) bool
- func (e *Event) SendClientmessageToall()
- func (e *Event) SetScreen(screen *Screen)
- type EventAny
- type EventButton
- type EventClient
- type EventConfigure
- type EventCrossing
- type EventExpose
- type EventFocus
- type EventFunc
- type EventGrabBroken
- type EventKey
- type EventMask
- type EventMotion
- type EventProperty
- type EventProximity
- type EventScroll
- type EventSelection
- type EventType
- type EventVisibility
- type EventWindowState
- type ExtensionMode
- type Font
- type FontType
- type GC
- func (g *GC) Copy(srcGc *GC)
- func (g *GC) GetColormap() *Colormap
- func (g *GC) GetScreen() *Screen
- func (g *GC) GetValues(values *GCValues)
- func (g *GC) Offset(xOffset, yOffset int)
- func (g *GC) Ref() *GC
- func (g *GC) SetBackground(color *Color)
- func (g *GC) SetClipMask(mask *T.GdkBitmap)
- func (g *GC) SetClipOrigin(x, y int)
- func (g *GC) SetClipRectangle(rectangle *Rectangle)
- func (g *GC) SetClipRegion(region *Region)
- func (g *GC) SetColormap(colormap *Colormap)
- func (g *GC) SetDashes(dashOffset int, dashList *int8, n int)
- func (g *GC) SetExposures(exposures bool)
- func (g *GC) SetFill(fill T.GdkFill)
- func (g *GC) SetFont(font *Font)
- func (g *GC) SetForeground(color *Color)
- func (g *GC) SetFunction(function T.GdkFunction)
- func (g *GC) SetLineAttributes(lineWidth int, lineStyle T.GdkLineStyle, capStyle CapStyle, ...)
- func (g *GC) SetRgbBgColor(color *Color)
- func (g *GC) SetRgbFgColor(color *Color)
- func (g *GC) SetStipple(stipple *Pixmap)
- func (g *GC) SetSubwindow(mode T.GdkSubwindowMode)
- func (g *GC) SetTile(tile *Pixmap)
- func (g *GC) SetTsOrigin(x, y int)
- func (g *GC) SetValues(values *GCValues, valuesMask GCValuesMask)
- func (g *GC) Unref()
- type GCValues
- type GCValuesMask
- type Geometry
- type GrabStatus
- type Gravity
- type HDC
- type HGDIOBJ
- type HICON
- type HWND
- type Image
- func (i *Image) GetBitsPerPixel() uint16
- func (i *Image) GetByteOrder() T.GdkByteOrder
- func (i *Image) GetBytesPerLine() uint16
- func (i *Image) GetBytesPerPixel() uint16
- func (i *Image) GetColormap() *Colormap
- func (i *Image) GetDepth() uint16
- func (i *Image) GetHeight() int
- func (i *Image) GetImageType() ImageType
- func (i *Image) GetPixel(x, y int) T.GUint32
- func (i *Image) GetPixels() T.Gpointer
- func (i *Image) GetVisual() *Visual
- func (i *Image) GetWidth() int
- func (i *Image) PutPixel(x, y int, pixel T.GUint32)
- func (i *Image) Ref() *Image
- func (i *Image) SetColormap(colormap *Colormap)
- func (i *Image) Unref()
- type ImageType
- type Keymap
- func (k *Keymap) AddVirtualModifiers(state *T.GdkModifierType)
- func (k *Keymap) GetCapsLockState() bool
- func (k *Keymap) GetDirection() P.Direction
- func (k *Keymap) GetEntriesForKeycode(hardwareKeycode uint, keys **KeymapKey, keyvals **uint, nEntries *int) bool
- func (k *Keymap) GetEntriesForKeyval(keyval uint, keys **KeymapKey, nKeys *int) bool
- func (k *Keymap) HaveBidiLayouts() bool
- func (k *Keymap) LookupKey(key *KeymapKey) uint
- func (k *Keymap) MapVirtualModifiers(state *T.GdkModifierType) bool
- func (k *Keymap) TranslateKeyboardState(hardwareKeycode uint, state T.GdkModifierType, group int, keyval *uint, ...) bool
- type KeymapKey
- type PangoRenderer
- type Pixbuf
- func (p *Pixbuf) AddAlpha(substituteColor bool, r, g, b T.Guchar) *Pixbuf
- func (p *Pixbuf) ApplyEmbeddedOrientation() *Pixbuf
- func (p *Pixbuf) Composite(dest *Pixbuf, destX, destY, destWidth, destHeight int, ...)
- func (p *Pixbuf) CompositeColor(dest *Pixbuf, destX, destY, destWidth, destHeight int, ...)
- func (p *Pixbuf) CompositeColorSimple(destWidth, destHeight int, interpType T.GdkInterpType, ...) *Pixbuf
- func (p *Pixbuf) Copy() *Pixbuf
- func (p *Pixbuf) CopyArea(srcX, srcY, width, height int, destPixbuf *Pixbuf, destX, destY int)
- func (p *Pixbuf) Fill(pixel T.GUint32)
- func (p *Pixbuf) Flip(horizontal bool) *Pixbuf
- func (p *Pixbuf) GetBitsPerSample() int
- func (p *Pixbuf) GetColorspace() Colorspace
- func (p *Pixbuf) GetHasAlpha() bool
- func (p *Pixbuf) GetHeight() int
- func (p *Pixbuf) GetNChannels() int
- func (p *Pixbuf) GetOption(key string) string
- func (p *Pixbuf) GetPixels() *T.Guchar
- func (p *Pixbuf) GetRowstride() int
- func (p *Pixbuf) GetWidth() int
- func (p *Pixbuf) NewSubpixbuf(srcX, srcY, width, height int) *Pixbuf
- func (p *Pixbuf) Ref() *Pixbuf
- func (p *Pixbuf) RotateSimple(angle PixbufRotation) *Pixbuf
- func (p *Pixbuf) SaturateAndPixelate(dest *Pixbuf, saturation float32, pixelate bool)
- func (p *Pixbuf) SaveToBuffer(buffer **T.Gchar, bufferSize *T.Gsize, typ string, e **L.Error, v ...VArg) bool
- func (p *Pixbuf) SaveToBufferv(buffer **T.Gchar, bufferSize *T.Gsize, typ string, ...) bool
- func (p *Pixbuf) SaveToCallback(saveFunc PixbufSaveFunc, userData T.Gpointer, typ string, err **L.Error, ...) bool
- func (p *Pixbuf) SaveToCallbackv(saveFunc PixbufSaveFunc, userData T.Gpointer, typ string, ...) bool
- func (p *Pixbuf) SaveToStream(stream *I.OutputStream, typ string, cancellable *I.Cancellable, e **L.Error, ...) bool
- func (p *Pixbuf) SaveToStreamAsync(stream *I.OutputStream, typ string, cancellable *I.Cancellable, ...)
- func (p *Pixbuf) SaveUtf8(filename, typ string, e **L.Error, v ...VArg) bool
- func (p *Pixbuf) SavevUtf8(filename, typ string, optionKeys, optionValues **T.Char, e **L.Error) bool
- func (p *Pixbuf) Scale(dest *Pixbuf, destX, destY, destWidth, destHeight int, ...)
- func (p *Pixbuf) ScaleSimple(destWidth, destHeight int, interpType T.GdkInterpType) *Pixbuf
- func (p *Pixbuf) SetOption(key, value string) bool
- func (p *Pixbuf) Unref()
- type PixbufAlphaMode
- type PixbufAnimation
- func (p *PixbufAnimation) GetHeight() int
- func (p *PixbufAnimation) GetIter(startTime *L.TimeVal) *PixbufAnimationIter
- func (p *PixbufAnimation) GetStaticImage() *Pixbuf
- func (p *PixbufAnimation) GetWidth() int
- func (p *PixbufAnimation) IsStaticImage() bool
- func (p *PixbufAnimation) Ref() *PixbufAnimation
- func (p *PixbufAnimation) Unref()
- type PixbufAnimationIter
- type PixbufDestroyNotify
- type PixbufFormat
- type PixbufLoader
- type PixbufRotation
- type PixbufSaveFunc
- type PixbufSimpleAnim
- type Pixdata
- type PixdataDumpType
- type PixdataType
- type Pixmap
- type Point
- type PropMode
- type PropertyState
- type Rectangle
- type Region
- func (r *Region) Copy() *Region
- func (r *Region) Destroy()
- func (r *Region) Empty() bool
- func (r *Region) Equal(r2 *Region) bool
- func (r *Region) GetClipbox(rectangle *Rectangle)
- func (r *Region) GetRectangles(rectangles **Rectangle, nRectangles *int)
- func (r *Region) Intersect(r2 *Region)
- func (r *Region) Offset(dx, dy int)
- func (r *Region) PointIn(x, y int) bool
- func (r *Region) RectEqual(rectangle *Rectangle) bool
- func (r *Region) RectIn(rectangle *Rectangle) T.GdkOverlapType
- func (r *Region) Shrink(dx, dy int)
- func (r *Region) SpansIntersectForeach(spans *T.GdkSpan, nSpans int, sorted bool, function T.GdkSpanFunc, ...)
- func (r *Region) Subtract(r2 *Region)
- func (r *Region) Union(r2 *Region)
- func (r *Region) UnionWithRect(rect *Rectangle)
- func (r *Region) Xor(r2 *Region)
- type Screen
- func (s *Screen) BroadcastClientMessage(event *Event)
- func (s *Screen) GetActiveWindow() *Window
- func (s *Screen) GetDefaultColormap() *Colormap
- func (s *Screen) GetDisplay() *Display
- func (s *Screen) GetFontOptions() *C.FontOptions
- func (s *Screen) GetHeight() int
- func (s *Screen) GetHeightMm() int
- func (s *Screen) GetMonitorAtPoint(x, y int) int
- func (s *Screen) GetMonitorAtWindow(window *Window) int
- func (s *Screen) GetMonitorGeometry(monitorNum int, dest *Rectangle)
- func (s *Screen) GetMonitorHeightMm(monitorNum int) int
- func (s *Screen) GetMonitorPlugName(monitorNum int) string
- func (s *Screen) GetMonitorWidthMm(monitorNum int) int
- func (s *Screen) GetNMonitors() int
- func (s *Screen) GetNumber() int
- func (s *Screen) GetPrimaryMonitor() int
- func (s *Screen) GetResolution() float64
- func (s *Screen) GetRgbColormap() *Colormap
- func (s *Screen) GetRgbVisual() *Visual
- func (s *Screen) GetRgbaColormap() *Colormap
- func (s *Screen) GetRgbaVisual() *Visual
- func (s *Screen) GetRootWindow() *Window
- func (s *Screen) GetSetting(name string, value *O.Value) bool
- func (s *Screen) GetSystemColormap() *Colormap
- func (s *Screen) GetSystemVisual() *Visual
- func (s *Screen) GetToplevelWindows() *L.List
- func (s *Screen) GetWidth() int
- func (s *Screen) GetWidthMm() int
- func (s *Screen) GetWindowStack() *L.List
- func (s *Screen) IsComposited() bool
- func (s *Screen) ListVisuals() *L.List
- func (s *Screen) MakeDisplayName() string
- func (s *Screen) SetDefaultColormap(colormap *Colormap)
- func (s *Screen) SetFontOptions(options *C.FontOptions)
- func (s *Screen) SetResolution(dpi float64)
- type VisibilityState
- type Visual
- func (v *Visual) GetBitsPerRgb() int
- func (v *Visual) GetBluePixelDetails(mask *T.GUint32, shift *int, precision *int)
- func (v *Visual) GetByteOrder() T.GdkByteOrder
- func (v *Visual) GetColormapSize() int
- func (v *Visual) GetDepth() int
- func (v *Visual) GetGreenPixelDetails(mask *T.GUint32, shift *int, precision *int)
- func (v *Visual) GetRedPixelDetails(mask *T.GUint32, shift *int, precision *int)
- func (v *Visual) GetScreen() *Screen
- func (v *Visual) GetVisualType() VisualType
- type VisualType
- type Window
- func (w *Window) AddFilter(function T.GdkFilterFunc, data T.Gpointer)
- func (w *Window) Beep()
- func (w *Window) BeginMoveDrag(button, rootX, rootY int, timestamp T.GUint32)
- func (w *Window) BeginPaintRect(rectangle *Rectangle)
- func (w *Window) BeginPaintRegion(region *Region)
- func (w *Window) BeginResizeDrag(edge WindowEdge, button, rootX, rootY int, timestamp T.GUint32)
- func (w *Window) Clear()
- func (w *Window) ClearArea(x, y, width, height int)
- func (w *Window) ClearAreaE(x, y, width, height int)
- func (w *Window) ConfigureFinished()
- func (w *Window) CoordsFromParent(parentX, parentY float64, x, y *float64)
- func (w *Window) CoordsToParent(x, y float64, parentX, parentY *float64)
- func (w *Window) CreateSimilarSurface(content C.Content, width, height int) *C.Surface
- func (w *Window) Deiconify()
- func (w *Window) Destroy()
- func (w *Window) DestroyNotify()
- func (w *Window) EnableSynchronizedConfigure()
- func (w *Window) EndPaint()
- func (w *Window) EnsureNative() bool
- func (w *Window) Flush()
- func (w *Window) Focus(timestamp T.GUint32)
- func (w *Window) FreezeToplevelUpdatesLibgtkOnly()
- func (w *Window) FreezeUpdates()
- func (w *Window) Fullscreen()
- func (w *Window) GeometryChanged()
- func (w *Window) GetAcceptFocus() bool
- func (w *Window) GetBackgroundPattern() *C.Pattern
- func (w *Window) GetChildren() *L.List
- func (w *Window) GetComposited() bool
- func (w *Window) GetCursor() *Cursor
- func (w *Window) GetDecorations(decorations *T.GdkWMDecoration) bool
- func (w *Window) GetDeskrelativeOrigin(x, y *int) bool
- func (w *Window) GetDisplay() *Display
- func (w *Window) GetEffectiveParent() *Window
- func (w *Window) GetEffectiveToplevel() *Window
- func (w *Window) GetEvents() EventMask
- func (w *Window) GetFocusOnMap() bool
- func (w *Window) GetFrameExtents(rect *Rectangle)
- func (w *Window) GetGeometry(x, y, width, height, depth *int)
- func (w *Window) GetGroup() *Window
- func (w *Window) GetHeight() int
- func (w *Window) GetInternalPaintInfo(realDrawable **Drawable, xOffset, yOffset *int)
- func (w *Window) GetModalHint() bool
- func (w *Window) GetOrigin(x, y *int) int
- func (w *Window) GetParent() *Window
- func (w *Window) GetPointer(x, y *int, mask *T.GdkModifierType) *Window
- func (w *Window) GetPosition(x, y *int)
- func (w *Window) GetRootCoords(x, y int, rootX, rootY *int)
- func (w *Window) GetRootOrigin(x, y *int)
- func (w *Window) GetScreen() *Screen
- func (w *Window) GetState() WindowState
- func (w *Window) GetToplevel() *Window
- func (w *Window) GetTypeHint() WindowTypeHint
- func (w *Window) GetUpdateArea() *Region
- func (w *Window) GetUserData(data *T.Gpointer)
- func (w *Window) GetVisual() *Visual
- func (w *Window) GetWidth() int
- func (w *Window) GetWindowType() WindowType
- func (w *Window) HasNative() bool
- func (w *Window) Hide()
- func (w *Window) Iconify()
- func (w *Window) InputShapeCombineMask(mask *T.GdkBitmap, x, y int)
- func (w *Window) InputShapeCombineRegion(shapeRegion *Region, offsetX, offsetY int)
- func (w *Window) InvalidateMaybeRecurse(region *Region, childFunc func(*Window, T.Gpointer) bool, userData T.Gpointer)
- func (w *Window) InvalidateRect(rect *Rectangle, invalidateChildren bool)
- func (w *Window) InvalidateRegion(region *Region, invalidateChildren bool)
- func (w *Window) IsDestroyed() bool
- func (w *Window) IsInputOnly() bool
- func (w *Window) IsShaped() bool
- func (w *Window) IsViewable() bool
- func (w *Window) IsVisible() bool
- func (w *Window) Lower()
- func (w *Window) Maximize()
- func (w *Window) MergeChildInputShapes()
- func (w *Window) MergeChildShapes()
- func (w *Window) Move(x, y int)
- func (w *Window) MoveRegion(region *Region, dx, dy int)
- func (w *Window) MoveResize(x, y, width, height int)
- func (w *Window) PeekChildren() *L.List
- func (w *Window) ProcessUpdates(updateChildren bool)
- func (w *Window) Raise()
- func (w *Window) RedirectToDrawable(drawable *Drawable, srcX, srcY, destX, destY, width, height int)
- func (w *Window) RegisterDnd()
- func (w *Window) RemoveFilter(function T.GdkFilterFunc, data T.Gpointer)
- func (w *Window) RemoveRedirection()
- func (w *Window) Reparent(newParent *Window, x, y int)
- func (w *Window) Resize(width, height int)
- func (w *Window) Restack(sibling *Window, above bool)
- func (w *Window) Scroll(dx, dy int)
- func (w *Window) SetAcceptFocus(acceptFocus bool)
- func (w *Window) SetBackPixmap(pixmap *Pixmap, parentRelative bool)
- func (w *Window) SetBackground(color *Color)
- func (w *Window) SetChildInputShapes()
- func (w *Window) SetChildShapes()
- func (w *Window) SetComposited(composited bool)
- func (w *Window) SetCursor(cursor *Cursor)
- func (w *Window) SetDecorations(decorations T.GdkWMDecoration)
- func (w *Window) SetEvents(eventMask EventMask)
- func (w *Window) SetFocusOnMap(focusOnMap bool)
- func (w *Window) SetFunctions(functions T.GdkWMFunction)
- func (w *Window) SetGeometryHints(geometry *Geometry, geomMask WindowHints)
- func (w *Window) SetGroup(leader *Window)
- func (w *Window) SetHints(x, y, minWidth, minHeight, maxWidth, maxHeight, flags int)
- func (w *Window) SetIcon(iconWindow *Window, pixmap *Pixmap, mask *T.GdkBitmap)
- func (w *Window) SetIconList(pixbufs *L.List)
- func (w *Window) SetIconName(name string)
- func (w *Window) SetKeepAbove(setting bool)
- func (w *Window) SetKeepBelow(setting bool)
- func (w *Window) SetModalHint(modal bool)
- func (w *Window) SetOpacity(opacity float64)
- func (w *Window) SetOverrideRedirect(overrideRedirect bool)
- func (w *Window) SetRole(role string)
- func (w *Window) SetSkipPagerHint(skipsPager bool)
- func (w *Window) SetSkipTaskbarHint(skipsTaskbar bool)
- func (w *Window) SetStartupId(startupId string)
- func (w *Window) SetStaticGravities(useStatic bool) bool
- func (w *Window) SetTitle(title string)
- func (w *Window) SetTransientFor(parent *Window)
- func (w *Window) SetTypeHint(hint WindowTypeHint)
- func (w *Window) SetUrgencyHint(urgent bool)
- func (w *Window) SetUserData(userData T.Gpointer)
- func (w *Window) ShapeCombineMask(mask *T.GdkBitmap, x, y int)
- func (w *Window) ShapeCombineRegion(shapeRegion *Region, offsetX, offsetY int)
- func (w *Window) Show()
- func (w *Window) ShowUnraised()
- func (w *Window) Stick()
- func (w *Window) ThawToplevelUpdatesLibgtkOnly()
- func (w *Window) ThawUpdates()
- func (w *Window) Unfullscreen()
- func (w *Window) Unmaximize()
- func (w *Window) Unstick()
- func (w *Window) Withdraw()
- type WindowAttr
- type WindowClass
- type WindowEdge
- type WindowHints
- type WindowState
- type WindowType
- type WindowTypeHint
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 Cairo ¶
type Cairo struct{} //TODO(t):Def and push methods to /cairo? pragmatic pros/cons
func (*Cairo) SetSourceColor ¶
func (*Cairo) SetSourcePixbuf ¶
func (*Cairo) SetSourcePixmap ¶
func (*Cairo) SetSourceWindow ¶
type Colormap ¶
type Colormap struct { Parent O.Object Size int Colors *Color Visual *Visual WindowingData T.Gpointer }
func (*Colormap) AllocColor ¶
func (*Colormap) AllocColors ¶
func (*Colormap) FreeColors ¶
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 ¶
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 RTL_LOGO 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) GetAxisUse ¶
func (d *Device) GetAxisUse(index uint) T.GdkAxisUse
func (*Device) GetHasCursor ¶
func (*Device) GetHistory ¶
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) 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) 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 (*Display) GetCorePointer ¶
func (*Display) GetDefaultCursorSize ¶
func (*Display) GetDefaultGroup ¶
func (*Display) GetDefaultScreen ¶
func (*Display) GetMaximalCursorSize ¶
func (*Display) GetNScreens ¶
func (*Display) GetPointer ¶
func (d *Display) GetPointer(screen **Screen, x, y *int, mask *T.GdkModifierType)
func (*Display) GetWindowAtPointer ¶
func (*Display) KeyboardUngrab ¶
func (*Display) ListDevices ¶
func (*Display) PointerIsGrabbed ¶
func (*Display) PointerUngrab ¶
func (*Display) RequestSelectionNotification ¶
func (*Display) SetDoubleClickDistance ¶
func (*Display) SetDoubleClickTime ¶
func (*Display) SetPointerHooks ¶
func (d *Display) SetPointerHooks(newHooks *DisplayPointerHooks) *DisplayPointerHooks
func (*Display) StoreClipboard ¶
func (*Display) SupportsClipboardPersistence ¶
func (*Display) SupportsComposite ¶
func (*Display) SupportsCursorAlpha ¶
func (*Display) SupportsCursorColor ¶
func (*Display) SupportsInputShapes ¶
func (*Display) SupportsSelectionNotification ¶
func (*Display) SupportsShapes ¶
func (*Display) WarpPointer ¶
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 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 (*Drawable) GetClipRegion ¶
func (*Drawable) GetColormap ¶
func (*Drawable) GetDisplay ¶
func (*Drawable) GetVisibleRegion ¶
func (*Drawable) SetColormap ¶
type Event ¶
type Event struct {
Type EventType
}
func (*Event) GetRootCoords ¶
func (*Event) SendClientMessage ¶
func (e *Event) SendClientMessage(winid T.GdkNativeWindow) bool
func (*Event) SendClientmessageToall ¶
func (e *Event) SendClientmessageToall()
type EventButton ¶
type EventClient ¶
type EventConfigure ¶
type EventCrossing ¶
type EventExpose ¶
type EventGrabBroken ¶
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 EventProperty ¶
type EventProximity ¶
type EventScroll ¶
type EventSelection ¶
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 GC ¶
type GC struct { Parent_instance O.Object ClipXOrigin int ClipYOrigin int TsXOrigin int TsYOrigin int Colormap *Colormap }
func (*GC) GetColormap ¶
func (*GC) SetBackground ¶
func (*GC) SetClipMask ¶
func (*GC) SetClipOrigin ¶
func (*GC) SetClipRectangle ¶
func (*GC) SetClipRegion ¶
func (*GC) SetColormap ¶
func (*GC) SetExposures ¶
func (*GC) SetForeground ¶
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 (*GC) SetRgbFgColor ¶
func (*GC) SetStipple ¶
func (*GC) SetSubwindow ¶
func (g *GC) SetSubwindow(mode T.GdkSubwindowMode)
func (*GC) SetTsOrigin ¶
func (*GC) SetValues ¶
func (g *GC) SetValues(values *GCValues, valuesMask GCValuesMask)
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 GrabStatus ¶
type GrabStatus Enum
const ( GRAB_SUCCESS GrabStatus = iota GRAB_ALREADY_GRABBED GRAB_INVALID_TIME GRAB_NOT_VIEWABLE GRAB_FROZEN )
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 (*Image) GetByteOrder ¶
func (i *Image) GetByteOrder() T.GdkByteOrder
func (*Image) GetBytesPerLine ¶
func (*Image) GetBytesPerPixel ¶
func (*Image) GetColormap ¶
func (*Image) GetImageType ¶
func (*Image) SetColormap ¶
type Keymap ¶
func (*Keymap) AddVirtualModifiers ¶
func (k *Keymap) AddVirtualModifiers(state *T.GdkModifierType)
func (*Keymap) GetCapsLockState ¶
func (*Keymap) GetDirection ¶
func (*Keymap) GetEntriesForKeycode ¶
func (*Keymap) GetEntriesForKeyval ¶
func (*Keymap) HaveBidiLayouts ¶
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 PangoRenderer ¶
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) ApplyEmbeddedOrientation ¶
func (*Pixbuf) CompositeColor ¶
func (*Pixbuf) CompositeColorSimple ¶
func (*Pixbuf) GetBitsPerSample ¶
func (*Pixbuf) GetColorspace ¶
func (p *Pixbuf) GetColorspace() Colorspace
func (*Pixbuf) GetHasAlpha ¶
func (*Pixbuf) GetNChannels ¶
func (*Pixbuf) GetRowstride ¶
func (*Pixbuf) NewSubpixbuf ¶
func (*Pixbuf) RotateSimple ¶
func (p *Pixbuf) RotateSimple(angle PixbufRotation) *Pixbuf
func (*Pixbuf) SaturateAndPixelate ¶
func (*Pixbuf) SaveToBuffer ¶
func (*Pixbuf) SaveToBufferv ¶
func (*Pixbuf) SaveToCallback ¶
func (*Pixbuf) SaveToCallbackv ¶
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) ScaleSimple ¶
func (p *Pixbuf) ScaleSimple(destWidth, destHeight int, interpType T.GdkInterpType) *Pixbuf
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 PixbufFormat ¶
type PixbufFormat struct{}
type PixbufLoader ¶
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 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 ¶
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 PropertyState ¶
type PropertyState Enum
const ( PROPERTY_NEW_VALUE PropertyState = iota PROPERTY_DELETE )
type Region ¶
type Region struct{}
func (*Region) GetClipbox ¶
func (*Region) GetRectangles ¶
func (*Region) SpansIntersectForeach ¶
func (*Region) UnionWithRect ¶
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 (*Screen) GetActiveWindow ¶
func (*Screen) GetDefaultColormap ¶
func (*Screen) GetDisplay ¶
func (*Screen) GetFontOptions ¶
func (s *Screen) GetFontOptions() *C.FontOptions
func (*Screen) GetHeightMm ¶
func (*Screen) GetMonitorAtPoint ¶
func (*Screen) GetMonitorAtWindow ¶
func (*Screen) GetMonitorGeometry ¶
func (*Screen) GetMonitorHeightMm ¶
func (*Screen) GetMonitorPlugName ¶
func (*Screen) GetMonitorWidthMm ¶
func (*Screen) GetNMonitors ¶
func (*Screen) GetPrimaryMonitor ¶
func (*Screen) GetResolution ¶
func (*Screen) GetRgbColormap ¶
func (*Screen) GetRgbVisual ¶
func (*Screen) GetRgbaColormap ¶
func (*Screen) GetRgbaVisual ¶
func (*Screen) GetRootWindow ¶
func (*Screen) GetSystemColormap ¶
func (*Screen) GetSystemVisual ¶
func (*Screen) GetToplevelWindows ¶
func (*Screen) GetWidthMm ¶
func (*Screen) GetWindowStack ¶
func (*Screen) IsComposited ¶
func (*Screen) ListVisuals ¶
func (*Screen) MakeDisplayName ¶
func (*Screen) SetDefaultColormap ¶
func (*Screen) SetFontOptions ¶
func (s *Screen) SetFontOptions(options *C.FontOptions)
func (*Screen) SetResolution ¶
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 (*Visual) GetBluePixelDetails ¶
func (*Visual) GetByteOrder ¶
func (v *Visual) GetByteOrder() T.GdkByteOrder
func (*Visual) GetColormapSize ¶
func (*Visual) GetGreenPixelDetails ¶
func (*Visual) GetRedPixelDetails ¶
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) BeginMoveDrag ¶
func (*Window) BeginPaintRect ¶
func (*Window) BeginPaintRegion ¶
func (*Window) BeginResizeDrag ¶
func (w *Window) BeginResizeDrag(edge WindowEdge, button, rootX, rootY int, timestamp T.GUint32)
func (*Window) ClearAreaE ¶
func (*Window) ConfigureFinished ¶
func (w *Window) ConfigureFinished()
func (*Window) CoordsFromParent ¶
func (*Window) CoordsToParent ¶
func (*Window) CreateSimilarSurface ¶
func (*Window) DestroyNotify ¶
func (w *Window) DestroyNotify()
func (*Window) EnableSynchronizedConfigure ¶
func (w *Window) EnableSynchronizedConfigure()
func (*Window) EnsureNative ¶
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 (*Window) GetBackgroundPattern ¶
func (*Window) GetChildren ¶
func (*Window) GetComposited ¶
func (*Window) GetDecorations ¶
func (w *Window) GetDecorations(decorations *T.GdkWMDecoration) bool
func (*Window) GetDeskrelativeOrigin ¶
func (*Window) GetDisplay ¶
func (*Window) GetEffectiveParent ¶
func (*Window) GetEffectiveToplevel ¶
func (*Window) GetFocusOnMap ¶
func (*Window) GetFrameExtents ¶
func (*Window) GetGeometry ¶
func (*Window) GetInternalPaintInfo ¶
func (*Window) GetModalHint ¶
func (*Window) GetPointer ¶
func (w *Window) GetPointer(x, y *int, mask *T.GdkModifierType) *Window
func (*Window) GetPosition ¶
func (*Window) GetRootCoords ¶
func (*Window) GetRootOrigin ¶
func (*Window) GetState ¶
func (w *Window) GetState() WindowState
func (*Window) GetToplevel ¶
func (*Window) GetTypeHint ¶
func (w *Window) GetTypeHint() WindowTypeHint
func (*Window) GetUpdateArea ¶
func (*Window) GetUserData ¶
func (*Window) GetWindowType ¶
func (w *Window) GetWindowType() WindowType
func (*Window) InputShapeCombineMask ¶
func (*Window) InputShapeCombineRegion ¶
func (*Window) InvalidateMaybeRecurse ¶
func (*Window) InvalidateRect ¶
func (*Window) InvalidateRegion ¶
func (*Window) IsDestroyed ¶
func (*Window) IsInputOnly ¶
func (*Window) IsViewable ¶
func (*Window) MergeChildInputShapes ¶
func (w *Window) MergeChildInputShapes()
func (*Window) MergeChildShapes ¶
func (w *Window) MergeChildShapes()
func (*Window) MoveRegion ¶
func (*Window) MoveResize ¶
func (*Window) PeekChildren ¶
func (*Window) ProcessUpdates ¶
func (*Window) RedirectToDrawable ¶
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) SetAcceptFocus ¶
func (*Window) SetBackPixmap ¶
func (*Window) SetBackground ¶
func (*Window) SetChildInputShapes ¶
func (w *Window) SetChildInputShapes()
func (*Window) SetChildShapes ¶
func (w *Window) SetChildShapes()
func (*Window) SetComposited ¶
func (*Window) SetDecorations ¶
func (w *Window) SetDecorations(decorations T.GdkWMDecoration)
func (*Window) SetFocusOnMap ¶
func (*Window) SetFunctions ¶
func (w *Window) SetFunctions(functions T.GdkWMFunction)
func (*Window) SetGeometryHints ¶
func (w *Window) SetGeometryHints(geometry *Geometry, geomMask WindowHints)
func (*Window) SetIconList ¶
func (*Window) SetIconName ¶
func (*Window) SetKeepAbove ¶
func (*Window) SetKeepBelow ¶
func (*Window) SetModalHint ¶
func (*Window) SetOpacity ¶
func (*Window) SetOverrideRedirect ¶
func (*Window) SetSkipPagerHint ¶
func (*Window) SetSkipTaskbarHint ¶
func (*Window) SetStartupId ¶
func (*Window) SetStaticGravities ¶
func (*Window) SetTransientFor ¶
func (*Window) SetTypeHint ¶
func (w *Window) SetTypeHint(hint WindowTypeHint)
func (*Window) SetUrgencyHint ¶
func (*Window) SetUserData ¶
func (*Window) ShapeCombineRegion ¶
func (*Window) ShowUnraised ¶
func (w *Window) ShowUnraised()
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()
type WindowAttr ¶
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 )
Click to show internal directories.
Click to hide internal directories.