]> Pileus Git - ~andy/gtk/blobdiff - docs/reference/gtk/tmpl/gtkdrawingarea.sgml
Make 3.0 parallel-installable to 2.x
[~andy/gtk] / docs / reference / gtk / tmpl / gtkdrawingarea.sgml
index 1a287cf41f7cf1b461b72a766ff6e819d8cc0cf3..1edf19d42739b2d2b3f59b5f3d54dfcf2f5aa1bb 100644 (file)
@@ -56,7 +56,7 @@ gboolean
 expose_event_callback (GtkWidget *widget, GdkEventExpose *event, gpointer data)
 {
   gdk_draw_arc (widget->window,
-                widget->style->fg_gc[GTK_WIDGET_STATE (widget)],
+                widget->style->fg_gc[gtk_widget_get_state (widget)],
                 TRUE,
                 0, 0, widget->allocation.width, widget->allocation.height,
                 0, 64 * 360);
@@ -83,7 +83,7 @@ then get an expose event for the invalid region.
 <para>
 The available routines for drawing are documented on the <link
 linkend="gdk-Drawing-Primitives">GDK Drawing Primitives</link> page.
-See also gdk_pixbuf_render_to_drawable() for drawing a #GdkPixbuf.
+See also gdk_draw_pixbuf() for drawing a #GdkPixbuf.
 </para>
 
 <para>
@@ -107,6 +107,9 @@ refresh to the screen.
 <!-- ##### SECTION Stability_Level ##### -->
 
 
+<!-- ##### SECTION Image ##### -->
+
+
 <!-- ##### STRUCT GtkDrawingArea ##### -->
 <para>
 The #GtkDrawingArea struct contains private data only, and
@@ -119,21 +122,7 @@ should be accessed using the functions below.
 Creates a new drawing area.
 </para>
 
+@void: 
 @Returns: a new #GtkDrawingArea
 
 
-<!-- ##### FUNCTION gtk_drawing_area_size ##### -->
-<para>
-(Use gtk_widget_set_size_request() instead.)
-Sets the size that the drawing area will request
-in response to a "size_request" signal. The 
-drawing area may actually be allocated a size
-larger than this depending on how it is packed
-within the enclosing containers.
-</para>
-
-@darea: a #GtkDrawingArea.
-@width: the width to request.
-@height: the height to request.
-
-