Panel autohide

Jasper Huijsmans jasper at moongroup.com
Sun Apr 13 14:02:50 CEST 2003


On 13 Apr 2003 13:57:32 +0200
Olivier Fourdan <fourdan at xfce.org> wrote:

> Hi Jasper,
> 
> Resize *before* moving
> 

err, I do ...

code:
===
    if (hide)
        gtk_widget_hide (p->main_frame);
    else
        gtk_widget_show (p->main_frame);

    p->hidden = hide;

    gtk_widget_set_size_request (p->toplevel, req.width, req.height);
    gtk_window_move (GTK_WINDOW (p->toplevel), x, y);
===

Is set_size_request not enough?  I tried adding a queue_resize and a
gdk_flush() without success.




More information about the Xfce4-dev mailing list