Centering gtk-status-bar-label
- From: "Arne Pagel" <arne pagel gmx de>
- To: gtk-app-devel-list gnome org
- Subject: Centering gtk-status-bar-label
- Date: Tue, 20 Jan 2009 14:18:03 +0100
Sorry, forgot Subject,
Hello,
I use a gtk-status-bar where i want to center the label.
Following code worked:
gtk_misc_set_alignment(GTK_MISC(GTK_STATUSBAR(gui.statusbar)->label),0.5,0.5);
But since I updated to the new gtk-download-bundle (for win32)
I get following error-messages:
(config.exe:5612): GLib-GObject-WARNING **: invalid cast from `GtkFrame' to `GtkMisc'
(config.exe:5612): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion`GTK_IS_MISC (misc)' failed
Has somone an idea what could be wrong?
regards
Arne
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]