summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--ChangeLog.pre-2-102
-rw-r--r--gtk/gtkstyle.c38
3 files changed, 41 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 56c3f1f5a..bb79169fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 56c3f1f5a..bb79169fd 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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)
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 54ec01015..3e7736578 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -6206,6 +6206,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,
@@ -6310,11 +6329,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,