Re: [gtk-list] Gtk-Perl CVS 19991025 DruidPageStandard->vbox



Dermot Musgrove wrote:
> 
> Hi,
> 
> In testing all the lovely, new Druid stuff, I can't find the method
> Gnome::DruidPageStandard->vbox() so that I can add some widgets to the
> page. Should it be inherited from somewhere or is it specific to
> Gnome::DruidPageStandard?
> 
> Come to that, should the ->hbox() method be available as well?
Sorry to reply to my own posting but I have a diff that seems to work. 
I modified the equivalent call in Gnome::Dialog but this is my first attempt
at a patch so please excuse me if I have made errors.

diff -u GnomeDruidPageStandard.xs GnomeDruidPageStandard.xs.vbox

--- GnomeDruidPageStandard.xs   Sun Oct 31 19:17:05 1999
+++ GnomeDruidPageStandard.xs.vbox      Sat Oct 30 01:30:47 1999
@@ -57,5 +57,13 @@
        Gnome::DruidPageStandard        druid_page_standard
        Gtk::Gdk::ImlibImage    logo
 
+Gtk::Widget_Sink_Up
+vbox(druid_page_standard)
+       Gnome::DruidPageStandard        druid_page_standard
+    CODE:
+       RETVAL = GTK_WIDGET(druid_page_standard->vbox);
+    OUTPUT:
+       RETVAL
+
 #endif
 
The patch works with gnome-perl CVS 19991025, which I originally built with
gnome-libs 1.0.16 by editing gnome-config to lie with a version of 1.0.50. 
It all works properly with my new gnome-libs-1.0.54 (there were other errors
with Gnome::Druid stuff in gnome-libs 1.0.16).

When I get gnome-perl CVS 19991031 to build (see my other posting) I will
check that too.

HTH, Dermot



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