I just found function gtk_container_set_resize_mode() which can set a
container to resize immediately. But GTK_RESIZE_IMMEDIATELY is marked as
deprecated. Is it the right function to achieve my goal? Why to deprecate
the immediately option?

Regards
James Su

On Mon, May 19, 2008 at 11:39 PM, Zhe Su <[EMAIL PROTECTED]> wrote:

> Hi,
>   I'm writing an application which needs to implement window resize drag
> feature. Because of some reason, gtk_window_begin_resize_drag doesn't fit
> this purpose. So I decide to emulate it by using
> gtk_widget_set_size_request() and gtk_window_move(). Dragging right and
> bottom border is just ok, because no need to move the window. But when
> dragging top and left border, the window will be flicking. Because the
> window needs moving and resizing and seems that they are done in different
> main loop cycles. Is there any way to avoid such kind of flick?
>
> Regards
> James Su
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to