Gtk# Documentation

DO NOTE EDIT!! This file is taken from Rachel Hestilow's documentation and is generated automatically.
It's from June 25 2002, a bit outdated, but there will be an update.
Gdk
AxisUse - AxisUse enumeration
Fields
Ignore
Last
Pressure
Wheel
X
Xtilt
Y
Ytilt
Bitmap - Bitmap Struct
ByteOrder - ByteOrder enumeration
Fields
LsbFirst
MsbFirst
CapStyle - CapStyle enumeration
Fields
Butt
NotLast
Projecting
Round
Color - Color Boxed Struct
Inherits from: GLib.Boxed
Colormap - Colormap Class
Inherits from: GLib.Object

Constructors
Colormap (Visual visual, bool allocate) - Colormap Constructor
To be completed

Methods
bool AllocColor (Color color, bool writeable, bool best_match) - AllocColor Method
To be completed
int AllocColors (Color colors, int ncolors, bool writeable, bool best_match, bool success) - AllocColors Method
To be completed
void FreeColors (Color colors, int ncolors) - FreeColors Method
To be completed
void QueryColor (uint64 pixel, Color result) - QueryColor Method
To be completed

Properties
Visual Visual - Visual Property
To be completed
Colorspace - Colorspace enumeration
Fields
Rgb
CrossingMode - CrossingMode enumeration
Fields
Grab
Normal
Ungrab
Cursor - Cursor Boxed Struct
Inherits from: GLib.Boxed
CursorType - CursorType enumeration
Fields
Arrow
BasedArrowDown
BasedArrowUp
Boat
Bogosity
BottomLeftCorner
BottomRightCorner
BottomSide
BottomTee
BoxSpiral
CenterPtr
Circle
Clock
CoffeeMug
Cross
CrossReverse
Crosshair
CursorIsPixmap
DiamondCross
Dot
Dotbox
DoubleArrow
DraftLarge
DraftSmall
DrapedBox
Exchange
Fleur
Gobbler
Gumby
Hand1
Hand2
Heart
Icon
IronCross
LastCursor
LeftPtr
LeftSide
LeftTee
Leftbutton
LlAngle
LrAngle
Man
Middlebutton
Mouse
Pencil
Pirate
Plus
QuestionArrow
RightPtr
RightSide
RightTee
Rightbutton
RtlLogo
Sailboat
SbDownArrow
SbHDoubleArrow
SbLeftArrow
SbRightArrow
SbUpArrow
SbVDoubleArrow
Shuttle
Sizing
Spider
Spraycan
Star
Target
Tcross
TopLeftArrow
TopLeftCorner
TopRightCorner
TopSide
TopTee
Trek
UlAngle
Umbrella
UrAngle
Watch
XCursor
Xterm
Device - Device Class
Inherits from: GLib.Object

Methods
bool GetAxis (double axes, AxisUse use, double value) - GetAxis Method
To be completed
bool GetHistory (Window window, uint start, uint stop, TimeCoord events, int n_events) - GetHistory Method
To be completed
void GetState (Window window, double axes, ModifierType mask) - GetState Method
To be completed
void SetAxisUse (uint index, AxisUse use) - SetAxisUse Method
To be completed
void SetKey (uint index, uint keyval, ModifierType modifiers) - SetKey Method
To be completed
bool SetMode (InputMode mode) - SetMode Method
To be completed

Properties
[unknown] Source - Source Property
To be completed
DeviceAxis - DeviceAxis Struct
DeviceKey - DeviceKey Struct
DragAction - DragAction enumeration
Fields
Ask
Copy
Default
Link
Move
Private
DragContext - DragContext Class
Inherits from: GLib.Object

Constructors
DragContext () - DragContext Constructor
To be completed
DragProtocol - DragProtocol enumeration
Fields
Local
Motif
Ole2
Rootwin
Win32Dropfiles
Xdnd
Drawable - Drawable Class
Inherits from: GLib.Object

Methods
Image GetImage (int x, int y, int width, int height) - GetImage Method
To be completed
void GetSize (int width, int height) - GetSize Method
To be completed

Properties
Region ClipRegion - ClipRegion Property
To be completed
Colormap Colormap - Colormap Property
To be completed
int Depth - Depth Property
To be completed
Region VisibleRegion - VisibleRegion Property
To be completed
Visual Visual - Visual Property
To be completed
EventAny - EventAny Struct
EventButton - EventButton Struct
EventClient - EventClient Struct
EventConfigure - EventConfigure Struct
EventCrossing - EventCrossing Struct
EventDND - EventDND Struct
EventExpose - EventExpose Struct
EventFocus - EventFocus Struct
EventKey - EventKey Struct
EventMask - EventMask enumeration
Fields
AllEventsMask
Button1MotionMask
Button2MotionMask
Button3MotionMask
ButtonMotionMask
ButtonPressMask
ButtonReleaseMask
EnterNotifyMask
ExposureMask
FocusChangeMask
KeyPressMask
KeyReleaseMask
LeaveNotifyMask
PointerMotionHintMask
PointerMotionMask
PropertyChangeMask
ProximityInMask
ProximityOutMask
ScrollMask
StructureMask
SubstructureMask
VisibilityNotifyMask
EventMotion - EventMotion Struct
EventNoExpose - EventNoExpose Struct
EventProperty - EventProperty Struct
EventProximity - EventProximity Struct
EventScroll - EventScroll Struct
EventSelection - EventSelection Struct
EventSetting - EventSetting Struct
EventType - EventType enumeration
Fields
ButtonPress
ButtonRelease
ClientEvent
Configure
Delete
Destroy
DragEnter
DragLeave
DragMotion
DragStatus
DropFinished
DropStart
EnterNotify
Expose
FocusChange
KeyPress
KeyRelease
LeaveNotify
Map
MotionNotify
NoExpose
Nothing
PropertyNotify
ProximityIn
ProximityOut
Scroll
SelectionClear
SelectionNotify
SelectionRequest
Setting
ThreeButtonPress
TwoButtonPress
Unmap
VisibilityNotify
WindowState
EventVisibility - EventVisibility Struct
EventWindowState - EventWindowState Struct
ExtensionMode - ExtensionMode enumeration
Fields
All
Cursor
None
Fill - Fill enumeration
Fields
OpaqueStippled
Solid
Stippled
Tiled
FillRule - FillRule enumeration
Fields
EvenOddRule
WindingRule
FilterReturn - FilterReturn enumeration
Fields
Continue
Remove
Translate
Font - Font Boxed Struct
Inherits from: GLib.Boxed
FontType - FontType enumeration
Fields
Font
Fontset
Function - Function enumeration
Fields
And
AndInvert
AndReverse
Clear
Copy
CopyInvert
Equiv
Invert
Nand
Noop
Nor
Or
OrInvert
OrReverse
Set
Xor
GC - GC Class
Inherits from: GLib.Object

Constructors
GC (Drawable drawable) - GC Constructor
To be completed
GC (Drawable drawable, GCValues values, GCValuesMask values_mask) - GC Constructor
To be completed

Methods
void Copy (GC src_gc) - Copy Method
To be completed
void GetValues (GCValues values) - GetValues Method
To be completed
void Offset (int x_offset, int y_offset) - Offset Method
To be completed
void SetClipOrigin (int x, int y) - SetClipOrigin Method
To be completed
void SetDashes (int dash_offset, byte[] dash_list, int n) - SetDashes Method
To be completed
void SetLineAttributes (int line_width, LineStyle line_style, CapStyle cap_style, JoinStyle join_style) - SetLineAttributes Method
To be completed
void SetTsOrigin (int x, int y) - SetTsOrigin Method
To be completed
void SetValues (GCValues values, GCValuesMask values_mask) - SetValues Method
To be completed

Properties
[unknown] Background - Background Property
To be completed
[unknown] ClipMask - ClipMask Property
To be completed
[unknown] ClipRectangle - ClipRectangle Property
To be completed
[unknown] ClipRegion - ClipRegion Property
To be completed
Colormap Colormap - Colormap Property
To be completed
[unknown] Exposures - Exposures Property
To be completed
[unknown] Fill - Fill Property
To be completed
[unknown] Foreground - Foreground Property
To be completed
[unknown] Function - Function Property
To be completed
[unknown] RgbBgColor - RgbBgColor Property
To be completed
[unknown] RgbFgColor - RgbFgColor Property
To be completed
[unknown] Stipple - Stipple Property
To be completed
[unknown] Subwindow - Subwindow Property
To be completed
[unknown] Tile - Tile Property
To be completed
GCValues - GCValues Struct
GCValuesMask - GCValuesMask enumeration
Fields
Background
CapStyle
ClipMask
ClipXOrigin
ClipYOrigin
Exposures
Fill
Font
Foreground
Function
JoinStyle
LineStyle
LineWidth
Stipple
Subwindow
Tile
TsXOrigin
TsYOrigin
Geometry - Geometry Struct
GrabStatus - GrabStatus enumeration
Fields
AlreadyGrabbed
Frozen
InvalidTime
NotViewable
Success
Gravity - Gravity enumeration
Fields
Center
East
North
NorthEast
NorthWest
South
SouthEast
SouthWest
Static
West
Image - Image Class
Inherits from: GLib.Object

Constructors
Image (ImageType type, Visual visual, int width, int height) - Image Constructor
To be completed

Methods
uint GetPixel (int x, int y) - GetPixel Method
To be completed
void PutPixel (int x, int y, uint pixel) - PutPixel Method
To be completed

Properties
Colormap Colormap - Colormap Property
To be completed
ImageType - ImageType enumeration
Fields
Fastest
Normal
Shared
InputCondition - InputCondition enumeration
Fields
Exception
Read
Write
InputMode - InputMode enumeration
Fields
Disabled
Screen
Window
InputSource - InputSource enumeration
Fields
Cursor
Eraser
Mouse
Pen
InterpType - InterpType enumeration
Fields
Bilinear
Hyper
Nearest
Tiles
JoinStyle - JoinStyle enumeration
Fields
Bevel
Miter
Round
Keymap - Keymap Class
Inherits from: GLib.Object

Methods
bool GetEntriesForKeycode (uint hardware_keycode, KeymapKey keys, uint keyvals, int n_entries) - GetEntriesForKeycode Method
To be completed
bool GetEntriesForKeyval (uint keyval, KeymapKey keys, int n_keys) - GetEntriesForKeyval Method
To be completed
uint LookupKey (KeymapKey key) - LookupKey Method
To be completed
bool TranslateKeyboardState (uint hardware_keycode, ModifierType state, int group, uint keyval, int effective_group, int level, ModifierType consumed_modifiers) - TranslateKeyboardState Method
To be completed

Properties
Pango.Direction Direction - Direction Property
To be completed

Events
DirectionChanged - DirectionChanged Event
KeymapKey - KeymapKey Struct
LineStyle - LineStyle enumeration
Fields
DoubleDash
OnOffDash
Solid
ModifierType - ModifierType enumeration
Fields
Button1Mask
Button2Mask
Button3Mask
Button4Mask
Button5Mask
ControlMask
LockMask
Mod1Mask
Mod2Mask
Mod3Mask
Mod4Mask
Mod5Mask
ModifierMask
ReleaseMask
ShiftMask
NotifyType - NotifyType enumeration
Fields
Ancestor
Inferior
Nonlinear
NonlinearVirtual
Unknown
Virtual
OverlapType - OverlapType enumeration
Fields
In
Out
Part
PangoAttrEmbossed - PangoAttrEmbossed Struct
PangoAttrStipple - PangoAttrStipple Struct
Pixbuf - Pixbuf Class
Inherits from: GLib.Object

Constructors
Pixbuf (Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height) - Pixbuf Constructor
To be completed
Pixbuf (Pixbuf src_pixbuf, int src_x, int src_y, int width, int height) - Pixbuf Constructor
To be completed
Pixbuf (byte data, Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, PixbufDestroyNotify destroy_fn, System.IntPtr destroy_fn_data) - Pixbuf Constructor
To be completed
Pixbuf (int data_length, byte data, bool copy_pixels) - Pixbuf Constructor
To be completed
Pixbuf (string filename) - Pixbuf Constructor
To be completed

Methods
Pixbuf AddAlpha (bool substitute_color, byte r, byte g, byte b) - AddAlpha Method
To be completed
void Composite (Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, InterpType interp_type, int overall_alpha) - Composite Method
To be completed
void CompositeColor (Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, InterpType interp_type, int overall_alpha, int check_x, int check_y, int check_size, uint color1, uint color2) - CompositeColor Method
To be completed
Pixbuf CompositeColorSimple (int dest_width, int dest_height, InterpType interp_type, int overall_alpha, int check_size, uint color1, uint color2) - CompositeColorSimple Method
To be completed
Pixbuf Copy () - Copy Method
To be completed
void CopyArea (int src_x, int src_y, int width, int height, Pixbuf dest_pixbuf, int dest_x, int dest_y) - CopyArea Method
To be completed
void Fill (uint pixel) - Fill Method
To be completed
string GetOption (string key) - GetOption Method
To be completed
Pixbuf NewFromXpmData (string data) - Pixbuf Constructor
To be completed
void SaturateAndPixelate (Pixbuf dest, single saturation, bool pixelate) - SaturateAndPixelate Method
To be completed
bool Savev (string filename, string type, string option_keys, string option_values) - Savev Method
To be completed
void Scale (Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, InterpType interp_type) - Scale Method
To be completed
Pixbuf ScaleSimple (int dest_width, int dest_height, InterpType interp_type) - ScaleSimple Method
To be completed

Properties
int BitsPerSample - BitsPerSample Property
To be completed
Colorspace Colorspace - Colorspace Property
To be completed
bool HasAlpha - HasAlpha Property
To be completed
int Height - Height Property
To be completed
int NChannels - NChannels Property
To be completed
byte Pixels - Pixels Property
To be completed
int Rowstride - Rowstride Property
To be completed
int Width - Width Property
To be completed
PixbufAlphaMode - PixbufAlphaMode enumeration
Fields
Bilevel
Full
PixbufAnimation - PixbufAnimation Class
Inherits from: GLib.Object

Constructors
PixbufAnimation (string filename) - PixbufAnimation Constructor
To be completed

Methods
PixbufAnimationIter GetIter (System.IntPtr start_time) - GetIter Method
To be completed
bool IsStaticImage () - IsStaticImage Method
To be completed

Properties
int Height - Height Property
To be completed
Pixbuf StaticImage - StaticImage Property
To be completed
int Width - Width Property
To be completed
PixbufAnimationIter - PixbufAnimationIter Class
Inherits from: GLib.Object

Methods
bool Advance (System.IntPtr current_time) - Advance Method
To be completed
bool OnCurrentlyLoadingFrame () - OnCurrentlyLoadingFrame Method
To be completed

Properties
int DelayTime - DelayTime Property
To be completed
Pixbuf Pixbuf - Pixbuf Property
To be completed
PixbufError - PixbufError enumeration
Fields
BadOption
CorruptImage
Failed
InsufficientMemory
UnknownType
UnsupportedOperation
PixbufFrame - PixbufFrame Struct
PixbufFrameAction - PixbufFrameAction enumeration
Fields
Dispose
Retain
Revert
PixbufGifAnim - PixbufGifAnim Class
Inherits from: PixbufAnimation

Methods
void FrameComposite (PixbufFrame frame) - FrameComposite Method
To be completed
PixbufGifAnimIter - PixbufGifAnimIter Class
Inherits from: PixbufAnimationIter
PixbufLoader - PixbufLoader Class
Inherits from: GLib.Object

Constructors
PixbufLoader () - PixbufLoader Constructor
To be completed
PixbufLoader (string image_type) - PixbufLoader Constructor
To be completed

Methods
bool Close () - Close Method
To be completed

Properties
PixbufAnimation Animation - Animation Property
To be completed
Pixbuf Pixbuf - Pixbuf Property
To be completed

Events
AreaPrepared - AreaPrepared Event
AreaUpdated - AreaUpdated Event
Closed - Closed Event
PixbufModule - PixbufModule Struct
Pixdata - Pixdata Struct
PixdataDumpType - PixdataDumpType enumeration
Fields
Const
Ctypes
Gtypes
Macros
PixdataStream
PixdataStruct
RleDecoder
Static
PixdataType - PixdataType enumeration
Fields
ColorTypeMask
ColorTypeRgb
ColorTypeRgba
EncodingMask
EncodingRaw
EncodingRle
SampleWidth8
SampleWidthMask
Pixmap - Pixmap Class
Inherits from: GLib.Object

Constructors
Pixmap (Window window, int width, int height, int depth) - Pixmap Constructor
To be completed
PixmapObject - PixmapObject Struct
Point - Point Struct
PointerHooks - PointerHooks Struct
PropMode - PropMode enumeration
Fields
Append
Prepend
Replace
PropertyState - PropertyState enumeration
Fields
Delete
NewValue
Rectangle - Rectangle Boxed Struct
Inherits from: GLib.Boxed
Region - Region Struct
RgbCmap - RgbCmap Struct
RgbDither - RgbDither enumeration
Fields
Max
None
Normal
ScrollDirection - ScrollDirection enumeration
Fields
Down
Left
Right
Up
Segment - Segment Struct
SettingAction - SettingAction enumeration
Fields
Changed
Deleted
New
Span - Span Struct
Status - Status enumeration
Fields
Error
ErrorFile
ErrorMem
ErrorParam
Ok
SubwindowMode - SubwindowMode enumeration
Fields
ClipByChildren
IncludeInferiors
TimeCoord - TimeCoord Struct
VisibilityState - VisibilityState enumeration
Fields
FullyObscured
Partial
Unobscured
Visual - Visual Class
Inherits from: GLib.Object
VisualType - VisualType enumeration
Fields
DirectColor
Grayscale
PseudoColor
StaticColor
StaticGray
TrueColor
WMDecoration - WMDecoration enumeration
Fields
All
Border
Maximize
Menu
Minimize
Resizeh
Title
WMFunction - WMFunction enumeration
Fields
All
Close
Maximize
Minimize
Move
Resize
Window - Window Class
Inherits from: GLib.Object

Constructors
Window (Window parent, WindowAttr attributes, int attributes_mask) - Window Constructor
To be completed

Methods
void AddFilter (FilterFunc function, System.IntPtr data) - AddFilter Method
To be completed
void BeginMoveDrag (int button, int root_x, int root_y, uint timestamp) - BeginMoveDrag Method
To be completed
void BeginPaintRect (Rectangle rectangle) - BeginPaintRect Method
To be completed
void BeginPaintRegion (Region region) - BeginPaintRegion Method
To be completed
void BeginResizeDrag (WindowEdge edge, int button, int root_x, int root_y, uint timestamp) - BeginResizeDrag Method
To be completed
void Clear () - Clear Method
To be completed
void ClearArea (int x, int y, int width, int height) - ClearArea Method
To be completed
void ClearAreaE (int x, int y, int width, int height) - ClearAreaE Method
To be completed
void Deiconify () - Deiconify Method
To be completed
void Destroy () - Destroy Method
To be completed
void EndPaint () - EndPaint Method
To be completed
void Focus (uint timestamp) - Focus Method
To be completed
void FreezeUpdates () - FreezeUpdates Method
To be completed
bool GetDecorations (WMDecoration decorations) - GetDecorations Method
To be completed
void GetFrameExtents (Rectangle rect) - GetFrameExtents Method
To be completed
void GetGeometry (int x, int y, int width, int height, int depth) - GetGeometry Method
To be completed
void GetInternalPaintInfo (Drawable real_drawable, int x_offset, int y_offset) - GetInternalPaintInfo Method
To be completed
int GetOrigin (int x, int y) - GetOrigin Method
To be completed
Window GetPointer (int x, int y, ModifierType mask) - GetPointer Method
To be completed
void GetPosition (int x, int y) - GetPosition Method
To be completed
void GetRootOrigin (int x, int y) - GetRootOrigin Method
To be completed
void GetUserData (System.IntPtr data) - GetUserData Method
To be completed
void Hide () - Hide Method
To be completed
void Iconify () - Iconify Method
To be completed
void InvalidateMaybeRecurse (Region region, System.IntPtr user_data) - InvalidateMaybeRecurse Method
To be completed
void InvalidateRect (Rectangle rect, bool invalidate_children) - InvalidateRect Method
To be completed
void InvalidateRegion (Region region, bool invalidate_children) - InvalidateRegion Method
To be completed
bool IsViewable () - IsViewable Method
To be completed
bool IsVisible () - IsVisible Method
To be completed
void Lower () - Lower Method
To be completed
void Maximize () - Maximize Method
To be completed
void MergeChildShapes () - MergeChildShapes Method
To be completed
void Move (int x, int y) - Move Method
To be completed
void MoveResize (int x, int y, int width, int height) - MoveResize Method
To be completed
System.IntPtr PeekChildren () - PeekChildren Method
To be completed
void ProcessUpdates (bool update_children) - ProcessUpdates Method
To be completed
void Raise () - Raise Method
To be completed
void RegisterDnd () - RegisterDnd Method
To be completed
void RemoveFilter (FilterFunc function, System.IntPtr data) - RemoveFilter Method
To be completed
void Reparent (Window new_parent, int x, int y) - Reparent Method
To be completed
void Resize (int width, int height) - Resize Method
To be completed
void Scroll (int dx, int dy) - Scroll Method
To be completed
void SetBackPixmap (Pixmap pixmap, bool parent_relative) - SetBackPixmap Method
To be completed
void SetChildShapes () - SetChildShapes Method
To be completed
void SetDecorations (WMDecoration decorations) - SetDecorations Method
To be completed
void SetGeometryHints (Geometry geometry, WindowHints geom_mask) - SetGeometryHints Method
To be completed
void SetIcon (Window icon_window, Pixmap pixmap, Bitmap mask) - SetIcon Method
To be completed
bool SetStaticGravities (bool use_static) - SetStaticGravities Method
To be completed
void SetUserData (System.IntPtr user_data) - SetUserData Method
To be completed
void ShapeCombineMask (Bitmap mask, int x, int y) - ShapeCombineMask Method
To be completed
void ShapeCombineRegion (Region shape_region, int offset_x, int offset_y) - ShapeCombineRegion Method
To be completed
void Show () - Show Method
To be completed
void ShowUnraised () - ShowUnraised Method
To be completed
void Stick () - Stick Method
To be completed
void ThawUpdates () - ThawUpdates Method
To be completed
void Unmaximize () - Unmaximize Method
To be completed
void Unstick () - Unstick Method
To be completed
void Withdraw () - Withdraw Method
To be completed

Properties
[unknown] Background - Background Property
To be completed
System.IntPtr Children - Children Property
To be completed
[unknown] Cursor - Cursor Property
To be completed
EventMask Events - Events Property
To be completed
[unknown] Functions - Functions Property
To be completed
[unknown] Group - Group Property
To be completed
[unknown] IconList - IconList Property
To be completed
[unknown] IconName - IconName Property
To be completed
[unknown] ModalHint - ModalHint Property
To be completed
[unknown] OverrideRedirect - OverrideRedirect Property
To be completed
Window Parent - Parent Property
To be completed
[unknown] Role - Role Property
To be completed
WindowState State - State Property
To be completed
[unknown] Title - Title Property
To be completed
Window Toplevel - Toplevel Property
To be completed
[unknown] TransientFor - TransientFor Property
To be completed
[unknown] TypeHint - TypeHint Property
To be completed
Region UpdateArea - UpdateArea Property
To be completed
WindowType WindowType - WindowType Property
To be completed
WindowAttr - WindowAttr Struct
WindowAttributesType - WindowAttributesType enumeration
Fields
Colormap
Cursor
Noredir
Title
Visual
Wmclass
X
Y
WindowClass - WindowClass enumeration
Fields
Only
Output
WindowEdge - WindowEdge enumeration
Fields
East
North
NorthEast
NorthWest
South
SouthEast
SouthWest
West
WindowHints - WindowHints enumeration
Fields
Aspect
BaseSize
MaxSize
MinSize
Pos
ResizeInc
UserPos
UserSize
WinGravity
WindowObject - WindowObject Struct
WindowState - WindowState enumeration
Fields
Iconified
Maximized
Sticky
Withdrawn
WindowType - WindowType enumeration
Fields
Child
Dialog
Foreign
Root
Temp
Toplevel
WindowTypeHint - WindowTypeHint enumeration
Fields
Dialog
Menu
Normal
Toolbar