Re: [gtk-list] Perl/Gtk CVS 19990914
- From: Paolo Molaro <lupus lettere unipd it>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: Re: [gtk-list] Perl/Gtk CVS 19990914
- Date: Mon, 20 Sep 1999 14:33:27 +0200
On Thu, Sep 16, 1999 at 06:11:54PM +0000, Dermot Musgrove wrote:
> * $gnome_app->dock()
Use get_dock(). Check the documentation for the available methods for each
widget.
> * Gnome::MessageBox (I am using gnome-libs 1.0.8)
> while trying to eval '$widgets->{'dialog-vbox4'} =
> $forms->{'Gnome_Messagebox1'}{'Gnome_Messagebox1'}->vbox;'
> FAILED with Eval error 'Can't locate object method "vbox" via
> package "Gnome::MessageBox"
In the old version of gnome-libs GnomeMessageBox derived from GtkWindow,
while now it derives from GnomeDialog, fixed now.
> * '$widgets->{'button26'} = Gnome::Stock->button('OPEN' );'
> GnomeUI-ERROR **: file gnome-stock.c: line 1389 (gnome_stock_button):
> assertion failed: (entry != NULL)
> This happens whether I supply 'OPEN' or 'open'.
You guessed it: it's 'Open' :-)
Consult the gnome-stock.h header. I may write a script that gets
the strings from there and adds another chapter to the documentation.
> As an aside, should I call Gnome::stock_button or Gnome::Stock->button? You
> will realise that I know almost nothing about XS extensions.
Gnome::stock_button requires compile-time knowledge of the available
stock names: this is not the best thing mainteinance-wise, so it's not
been updated. Use Gnome::stock::*.
lupus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]