Re: gtk_drawing_area_size, gtk_widget_set_uposition
- From: John Cupitt <john cupitt ng-london org uk>
- To: Andrés Giraldo <andres_giraldo yahoo com>
- Cc: Gtk List <gtk-list gnome org>
- Subject: Re: gtk_drawing_area_size, gtk_widget_set_uposition
- Date: Wed, 04 Jul 2001 12:05:59 +0100
"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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]