GNOME Bugzilla – Bug 387972
gtkassistant drawing problem
Last modified: 2008-06-11 17:38:15 UTC
Steps to reproduce: 0) Add a GtkAssistant widget to your project in glade3 1) Select first child Results: The assistant is cut-off in the embedded view (the buttons are partially outside the view).
Is there any guy to fix this bug? I think it's a critical problem which should be fixed asap. Otherwise, the applications which plan to use GtkAssistant will have to give up it.
This patch for GtkAssistant fixes the problem. Now we need to to speak to the GTK+ devs about accepting it into GTK+.
Created attachment 93632 [details] [review] Use absolute coordinates in size_allocate()
Hi, Vincent Do you know how to resolve this problem: There's a GtkAssistant class in the .glade file. After building successfully, there's an error output at running: libglade-WARNING **: unknown widget class 'GtkAssistant' My libglade version is 2.6.2, glade-3 version is 3.3.1, gtk+ version is 2.10.12 Thanks in advance.
libglade does not support any of the new widgets which were released as part of GTK+ 2.10. We are all waiting to use the new GtkBuilder API which is going to deprecate libglade. That will be released with GTK+ 2.12. There is a script in GTK+ 2.12 which will convert your glade file (with GtkAssistant objects) to a GtkBuilder-compatible file.
Oh, but there is a plugin facility for libglade, so you could manually add support for GtkAssistant. Don't know the specifics, but the libglade Reference Manual talks more about it. One of the relevant functions is `glade_register_widget()'
Let's move this to gtk+ so the patch will be noticed by gtk maints.
Bug 387972 – gtkassistant drawing problem * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make GtkAssistant work better in glade.
*** Bug 500450 has been marked as a duplicate of this bug. ***