Re: DGSEAL_ENABLE: replace direct addressing in statusbar



On 07/04/10 06:17, Nader Morshed wrote:
statusbar = gtk_statusbar_new ();
label = gtk_statusbar_get_message_area (GTK_STATUSBAR (statusbar));
gtk_misc_set_alignment (GTK_MISC (label), 0.5, 0.5);
Thanks Nader, I believe you are in the right path (although the documentation actually says this returns a box, not a label):

http://library.gnome.org/devel/gtk/stable/GtkStatusbar.html#gtk-statusbar-get-message-area

Anyway this has been added in Gtk 2.20, I am still running 2.18.3, lots of users also, it might be better to wait...

Thanks!
Carlos



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