RE: [PHP-GTK] Anyway to set a border for boxes?

From: Date: Fri, 25 Apr 2003 04:31:04 +0000
Subject: RE: [PHP-GTK] Anyway to set a border for boxes?
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3294@lists.php.net to get a copy of this message
Hi > Something similar to the shadow around a frame. Or in html > parlance the "border=1" of a table. I just want to see where > the "bounding box" for various widgets end up. Just attach a style with the bgcolor you want: $stStyle = &new GtkStyle(); $stStyle->bg[GTK_STATE_NORMAL] = new GdkColor(0, 45000, 55000); $stStyle->base[GTK_STATE_NORMAL] = new GdkColor(0, 45000, 55000); $this->arWidgets["yourwidget"]->set_style( $stStyle); Regards/MfG, Christian Weiske <<<<<<<<<<<<<<>>>>>>>>>>>>>>>> Christian Weiske cweiske@cweiske.de www.cweiske.de <<<<<<<<<<<<<<>>>>>>>>>>>>>>>> Always forgetting birthdays? Try birthday reminder! http://www.cweiske.de/birthday.htm Free & fast ecards: http://ecards.cweiske.de

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