Add some docs. (#330073, Mart Rautsepp)

2006-02-10  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkstyle.c: Add some docs. (#330073, Mart Rautsepp)
This commit is contained in:
Matthias Clasen 2006-02-10 19:45:14 +00:00 committed by Matthias Clasen
parent 3f99e8efb2
commit bd9e291b6c
3 changed files with 41 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2006-02-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstyle.c: Add some docs. (#330073, Mart Rautsepp)
* gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected):
Guard against NULL. (#330177, Raphael Slinckx)

View File

@ -1,5 +1,7 @@
2006-02-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstyle.c: Add some docs. (#330073, Mart Rautsepp)
* gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected):
Guard against NULL. (#330177, Raphael Slinckx)

View File

@ -6260,6 +6260,25 @@ gtk_paint_focus (GtkStyle *style,
GTK_STYLE_GET_CLASS (style)->draw_focus (style, window, state_type, area, widget, detail, x, y, width, height);
}
/**
* gtk_paint_slider:
* @style: a #GtkStyle
* @window: a #GdkWindow
* @state_type: a state
* @shadow_type: a shadow
* @area: clip rectangle, or %NULL if the
* output should not be clipped
* @widget: the widget (may be %NULL)
* @detail: a style detail (may be %NULL)
* @x: the x origin of the rectangle in which to draw a slider
* @y: the y origin of the rectangle in which to draw a slider
* @width: the width of the rectangle in which to draw a slider
* @height: the height of the rectangle in which to draw a slider
* @orientation: the orientation to be used
*
* Draws a slider in the given rectangle on @window using the
* given style and orientation.
**/
void
gtk_paint_slider (GtkStyle *style,
GdkWindow *window,
@ -6364,11 +6383,28 @@ gtk_paint_expander (GtkStyle *style,
widget, detail, x, y, expander_style);
}
/**
* gtk_paint_layout:
* @style: a #GtkStyle
* @window: a #GdkWindow
* @state_type: a state
* @use_text: whether to use the text or foreground
* graphics context of @style
* @area: clip rectangle, or %NULL if the
* output should not be clipped
* @widget: the widget (may be %NULL)
* @detail: a style detail (may be %NULL)
* @x: x origin
* @y: y origin
* @layout: the layout to draw
*
* Draws a layout on @window using the given parameters.
**/
void
gtk_paint_layout (GtkStyle *style,
GdkWindow *window,
GtkStateType state_type,
gboolean use_text,
gboolean use_text,
GdkRectangle *area,
GtkWidget *widget,
const gchar *detail,