[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Status-Bar placed at the bottom of the window



Pack a vbox into the window as the main widget, then use gtk_box_pack_end() to 
put the status bar at the bottom.  Also set the expand field to FALSE on
the status bar.

        nash

> I want to place a status-bar direct at the bottom of
> the window independant from the window height (like a
> menubar is always at the top of the window).
> Now I place my status-bar at the bottom of a table
> (...
>  gtk_table_attach (GTK_TABLE (haupttable),
> 		    statusbar, 0,10, 4,5,
> 		    GTK_FILL, GTK_FILL, 0,20);
>   gtk_scrolled_window_add_with_viewport
> (GTK_SCROLLED_WINDOW (hauptscrollfenster),
> haupttable);
> ...
> )
> but if the window is higher than all items in the
> table the status-bar is not at the bottom of the
> window.
> 
> Is there a solution for my problem? How can place the
> status-bar at the bottom of the window?
> 
> Perhaps you have a little example?
> 
> Bye 
> 
> Christian
> 
> __________________________________________________________________
> 
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
> Bis zu 100 MB Speicher bei http://premiummail.yahoo.de
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-- 
Brett Nash <nash@nash.nu>
Sometimes it's better to light a flamethrower than curse the darkness.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]