Fw: [PHP-GTK] GdkColor and Transparancy

From: Date: Mon, 17 Mar 2003 17:10:07 +0000
Subject: Fw: [PHP-GTK] GdkColor and Transparancy
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3102@lists.php.net to get a copy of this message
nb you might find this useful (even if it isn't filled in yet) http://gtk.php.net/manual/en/gtk.gtkwidget.method.shape_combine_mask.php Handy-ish example: $twindow = &new GtkWindow(GTK_WINDOW_DIALOG); $twindow->connect_object('destroy', array('gtk', 'main_quit')); $twindow->set_uposition(gdk::screen_width()/3.7, gdk::screen_height()/4); $twindow->realize(); list($tgdk_pixmap, $tmask) = gdk::pixmap_create_from_xpm($twindow->window, null, "$currentpic"); $tpixmap = &new GtkPixmap($tgdk_pixmap, $tmask); $twindow->add($tpixmap); $twindow->shape_combine_mask($tmask, 0, 0); $twindow->show_all();

« previous php.gtk.general (#3102) next »