"Andr�s Giraldo" wrote:
> After showing a drawing area widget:
>   gtk_widget_show (drawing_area);
> can I adjust the drawing area size?
> 
>   gtk_drawing_area_size (GTK_DRAWING_AREA
> (drawing_area), width, height);

Hi Andr�s, yes, this should work. Do you want the window enclosing the
GtkDrawingArea to get bigger too? You need to use
gtk_window_set_policy() to control this behaviour.

> or its position?
> 
>   gtk_widget_set_uposition (drawing_area, x, y);

I think you should give this the enclosing GtkWindow widget, not the
DrawingArea (if I understand you).

John

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to