:
gtk-sharp0.0.0.0neutralGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Methods for drawing widget parts.GLib.ObjectGLib.IWrapperSystem.IDisposableMethodGdk.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.MethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal constructor
Pointer to the C object.
An instance of Style, wrapping the C object.This is an internal constructor, and should not be used by user code.ConstructorPublic constructorA new PropertyPango.FontDescriptionThe font description used for a widget.a PropertySystem.Int32The Y thickness, which is used for vertical padding.
A A PropertySystem.Int32The X thickness, which is used for horizontal padding.
An integer to set the xthickness to.
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 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 a Chain to this constructor if you have manually registered a native value for your subclass.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.
EventSystem.EventHandler
Event fired 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.
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.
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.