Commit 32237671 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Doc additions

svn path=/trunk/; revision=21995
parent b9d51ab1
2008-12-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstyle.c: Doc additions
2008-12-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk[hv]scrollbar.c: Document gtk_[hv]scrollbar_new.
......
......@@ -1430,6 +1430,21 @@ gtk_draw_focus (GtkStyle *style,
GTK_STYLE_GET_CLASS (style)->draw_focus (style, window, GTK_STATE_NORMAL, NULL, NULL, NULL, x, y, width, height);
}
/**
* gtk_draw_slider:
* @style: a #GtkStyle
@window: a #GdkWindow
* @state_type: a state
* @shadow_type: a shadow
* @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_draw_slider (GtkStyle *style,
GdkWindow *window,
......@@ -1509,6 +1524,19 @@ gtk_draw_expander (GtkStyle *style,
x, y, expander_style);
}
/**
* gtk_draw_layout:
* @style: a #GtkStyle
* @window: a #GdkWindow
* @state_type: a state
* @use_text: whether to use the text or foreground
* graphics context of @style
* @x: x origin
* @y: y origin
* @layout: the layout to draw
*
* Draws a layout on @window using the given parameters.
*/
void
gtk_draw_layout (GtkStyle *style,
GdkWindow *window,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment