Le Mardi 26 Mars 2002 12:27, vous avez �crit :
> Did you try this :
>
> gdk_window_resize               (GdkWindow *window,
>                                              gint width,
>                                              gint height);
>
> To get the GdkWindow object of your Widget, just do it that way :
> GTK_WIDGET(MyWindow)->window
>

 gdk_window_resize (GTK_WINDOW(MyWindow->window), width, height);
(becauseMyWindow->window IS a GtkWindow).
And it don't work ... :((
Don't know if the fact that I don't use a gtk_main() or gtk_loop() or 
something change something, I think gdk_flush() do the work.

> (N.B. if MyWindow is a GtkWidget* then you don't need to cast it with
> GTK_WIDGET, simply write : MyWindow->window)
 
 a window is typed as a GtkWindow is most of the cases I think, no ? :)

Thanks

Jylam





>
>
> Best regards,
> ---
> Jean-Christophe Berthon
>
> Cap Gemini -- Ernst & Young
> France
> Skill IS -- Image Quality
> Email: [EMAIL PROTECTED]
> Tel: (+33) 561 31 6671
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to