Re: gtk-perl tutorial and help
- From: red criticalintegration com
- To: andy ford telindus co uk (Andy Ford)
- Cc: gtk-perl-list gnome org
- Subject: Re: gtk-perl tutorial and help
- Date: Mon, 20 Jan 2003 16:59:01 +0000 (GMT)
$button_box = new Gtk::HBox( $false, 0 );
$style = $window->get_style()->bg( 'normal' );
($pixmap, $mask ) = Gtk::Gdk::Pixmap->create_from_xpm_d(
$window->window,$style,@xpm_data );
'window is not of type Gtk::Gdk::Window '
Greetings Andy, Welcome to the list :-)
I vaugly recall that before you can use these functions you have to
render the window. I could be wrong, but I seem to recall hitting my
head against the same wall a few years ago.
Try placing a
$window->show;
before you reach that section of code.
Red
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]