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);
<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>
<!-- ##### SECTION Stability_Level ##### -->
+<!-- ##### SECTION Image ##### -->
+
+
<!-- ##### STRUCT GtkDrawingArea ##### -->
<para>
The #GtkDrawingArea struct contains private data only, and
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.
-
-