|
Re: $note->append_page($obj, $LABEL) ?: msg#00056gnome.gtk+.perl
On Mon, 2002-05-13 at 12:11, raptor@xxxxxxxx wrote: > > > > When I try to append page to Notebook and pass a LABEL I'm getting error ? > $note->append_page($obj, $LABEL) > the error is : > Mon May 13 19:06:40 2002 Gtk-WARNING **: invalid cast from (NULL) pointer to > `GtkWidget' at lib/Gtk/PropWindow.pm line 42 > > any idea why this happen ? I tried with single, double quoted string and > variable !! A string is not a Gtk::Label. Try $note->append_page($obj, Gtk::Label->new('string')); -- Today is Pungenday the 60th day of Discord in the YOLD 3168 P'tang! Missile Address: 33:48:3.521N 84:23:34.786W |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | $note->append_page($obj, $LABEL) ?: 00056, raptor |
|---|---|
| Next by Date: | installing gtkperl: 00056, martin leisner |
| Previous by Thread: | $note->append_page($obj, $LABEL) ?i: 00056, raptor |
| Next by Thread: | installing gtkperl: 00056, martin leisner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |