Re: $note->append_page($obj, $LABEL) ?

On Mon, 2002-05-13 at 12:11, raptor unacs bg 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/ 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

Missile Address: 33:48:3.521N  84:23:34.786W

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