gtk-sharp2.10.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Methods for drawing widget parts.GLib.ObjectMethodGdk.ColorGets the foreground color for a particular state
A , the state being considered
A MethodGdk.ColorSets the background of to the background color or pixmap specified by style for the state.
A , the state being considered
A color to be used for the background.MethodGdk.GCGets the graphics context for the background of .
a a , the graphics contextMethodGdk.GCGets the graphics context for the foreground of .
a a , the graphics contextMethodSystem.VoidSets the default background.
A
A (TODO: explain)
A
A
A , X coordinate of the upper left corner
A , Y coordinate of the upper left corner
A , width of the area
A , height of the area
TODO: explain this, as the underlying GTK+ isn't very well-commented eitherMethodSystem.VoidSet the background of to the
color or pixmap specified by this style for .
A
A MethodSystem.VoidDetaches this style from the window it's attached to.MethodGdk.PixbufRenders the icon specified by at the given according to the given parameters and returns the result in a pixbuf.
A
A
A
A
A
A A TODO: needs an example.MethodGtk.StyleCopy this style object to a new style object.A , a duplicate of this style.MethodGtk.IconSetGets the icon set for the given .
A A MethodGtk.StyleAttaches a style to a window; this process allocates the colors and creates the GCs (graphics components) for the style - it specializes it to a particular visual and colormap. The process may involve the creation of a new style if the style has already been attached to a window with a different style and colormap., the window to attach the style to
Either , or a newly-created . If the style is newly created, the style parameter will be dereferenced, and the new style will have a reference count belonging to the caller.ConstructorInternal constructor
Pointer to the C object.
This is an internal constructor, and should not be used by user code.ConstructorPublic constructorPropertyPango.FontDescriptionThe font description used for a widget.a PropertySystem.Int32The Y thickness, which is used for vertical padding.A PropertySystem.Int32The X thickness, which is used for horizontal padding.An integer.(FIXME: xthickness and ythickness could be better documented.)PropertyGdk.Color[]The foreground colorsA PropertyGdk.Color[]The background colors.A PropertyGdk.ColorBlack.A PropertyGdk.ColorWhite.A PropertyGdk.GC[]Gets the graphics context objects for the background.A PropertyGdk.GC[]Gets the graphics context objects for the foreground.A PropertyGdk.GCGets a white graphics context.A PropertyGdk.GCGets a black graphics context.A MethodSystem.VoidSets the graphics context for the foreground.
a , the state of the widget to set the style for
a MethodSystem.VoidSets the graphics context for the background.
a , the state of the widget to set the style for
a MethodGdk.GCReturns the base graphics context for the widget.
a , the state of the widget to get the GC for
a MethodSystem.VoidSets the graphics context for the background.
a , the state of the widget to set the GC for
a MethodGdk.GCReturns the graphics context for the widget's text.
a , the state of the widget to get the GC for
a MethodSystem.VoidSets the graphics context for text.
a , the state of the widget to set the GC for
a MethodSystem.VoidDraws a box on the screen with the given parameters.
a
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws a check button indicator in the given rectangle on with the given parameters.
a
a
a
a
a
a
a
a
a
a
a MethodSystem.Void Draws a resize grip in the given rectangle on using the given parameters.
a
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws a layout on the screen using the given parameters.
a
a
a
a
a
a
a
a
a
a Use this routine to paint a on the screen. This method is convenient mechanism to draw the text on the screen because it contains a clipping rectangle.MethodSystem.VoidDraws a radio button indicator in the given rectangle on with the given parameters.
a
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws a slider widget with the given parameters.
a
a
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws a diamond in the given rectangle on using the given parameters.
a
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws a shadow around the given rectangle in using the given style and state and shadow type.
a
a
a
a
a
a
a
a
a
a
a MethodSystem.Void Draws a vertical line from (, ) to (, ) in using the given style and state.
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws an option menu tab (i.e. the up and down pointing arrows) in the given rectangle on using the given parameters.
a
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws a focus indicator around the given rectangle on using the given style.
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws a shadow gap around the given widget using the given parameters.
a
a
a
a
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws an extension for the given widget in the given style.
a
a
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws a flat box on with the given parameters.
a
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraw a handle graphic for the given widget using the given parameters.
a
a
a
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraw an arrow at (, ) using the given parameters.
a
a
a
a
a
a
a
a
a
a
a
a
a MethodSystem.Void Draws a horizontal line from (, ) to (, ) in using the given style and state.
a
a
a
a
a
a
a
a
a MethodSystem.VoidDraws a gap around a box using the given parameters.
a
a
a
a
a
a
a
a
a
a
a
a
a
a PropertyGLib.GTypeGType Property.a Returns the native value for .ConstructorProtected Constructor.
a Chain to this constructor if you have manually registered a native value for your subclass.System.Obsolete(Message=null, IsError=False)PropertyGdk.Color[]The colors to use for text.a PropertyGdk.Color[]The base color set.a MethodGdk.ColorReturns the color for text in the given state.
a a MethodGdk.ColorReturns the base color for the given state.
a a MethodSystem.VoidPaints an expander using the style specified.
a
a
a
a
a
a
a
a
a MethodSystem.VoidPaint a polygon.
a
a
a
a
a
a
a
a
a MethodGdk.GCReturns the graphics context for anti-aliased text.
a , the state of the widget to get the GC for
a MethodSystem.VoidSet the graphics context for anti-aliased text.
a , the state of the widget to set the GC for
a MethodGdk.GCReturns a graphics context for light-colored drawing
a , the state of the widget to get the GC for
a MethodSystem.VoidSet the graphics context for light-colored drawing
a , the state of the widget to set the GC for
a MethodGdk.GCReturns a graphics context for dark-colored drawing
a , the state of the widget to get the GC for
a MethodSystem.VoidSet the graphics context for dark-colored drawing
a , the state of the widget to set the GC for
a MethodGdk.GCReturns a graphics context for medium-colored drawing
a , the state of the widget to get the GC for
a MethodSystem.VoidSet the graphics context for medium-colored drawing
a , the state of the widget to set the GC for
a PropertyGdk.FontDeprecated.a
The to use for a given style. This
is deprecated and should not be used in new code. New code
should use
instead.
System.Obsolete(Message=null, IsError=False)EventSystem.EventHandler
Event raised when the aspects of the style specific to a
particular colormap and depth are being cleaned up.
A connection to this signal can be useful if a widget wants
to cache objects like a as object
data on . This signal provides a
convenient place to free such cached objects.
GLib.Signal(CName="unrealize")EventSystem.EventHandler
Event triggered when the style has been initialized for a particular
colormap and depth.
Connecting to this signal is probably seldom
useful since most of the time applications and widgets only
deal with styles that have been already realized.
GLib.Signal(CName="realize")MethodSystem.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidDefault handler for the event.Override this method in a subclass to provide a default handler for the event.MethodGtk.StyleDeprecated. Do not use.a MethodSystem.VoidDeprecated. Do not use.PropertySystem.Int32The "xthickness" value of the style.a This value is used for various horizontal padding values in Gtk.PropertySystem.Int32The "ythickness" value of the style.a This value is used for various vertical padding values in Gtk.PropertyPango.FontDescriptionThe value for the style.a PropertyGdk.Color[]Light colors indexed by state.a PropertyGdk.Color[]Mid colors indexed by state.a PropertyGdk.Color[]Dark colors indexed by state.a MethodGdk.ColorGets the light color for a given state.
a a MethodGdk.ColorGets the mid color for a given state.
a a MethodGdk.ColorGets the dark color for a given state.
a a PropertyGdk.Pixmap[]Gets an array of background pixmaps.a MethodGdk.PixmapGet the background pixmap for a given state.
a a MethodSystem.VoidSets the background pixmap for a given state.
a
a MethodSystem.Boolean
name of color to lookup.
location to put color.
Looks up a color by name..if , is filled in.