Re: Anyway to set a border for boxes?

From: Date: Fri, 25 Apr 2003 13:17:49 +0000
Subject: Re: Anyway to set a border for boxes?
References: 1 2 3 4 5 6  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3298@lists.php.net to get a copy of this message
$container->set_border_width(); will give you a border, but the 'bounding box' depends on what you did with the packing. Containers have a screen size of ZERO until something tells them otherwise - that's either set_usize() or the presence of child widgets. nb I keep getting 3 mails returned from you instead of the usual (just as irritating) 2... > 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. > > i'll check out the container thing. thanks! > > > On Fri, 25 Apr 2003, Steph wrote: > > > I don't understand the 'border for boxes' part. But you cannot set a > > background colour where there is no gdkwindow .. that means containers, > > basically. (See > > http://gtk.php.net/manual/en/gtk.gtkeventbox.php.) > > > > > > ----- Original Message ----- > > From: "Philip Hallstrom" <philip@adhesivemedia.com> > > To: <php-gtk-general@lists.php.net> > > Sent: Friday, April 25, 2003 12:35 AM > > Subject: [PHP-GTK] Anyway to set a border for boxes? > > > > > > > Hi - > > > I'm new to all this packing stuff and was wondering if there is a > > > way to set a border for boxes to help me understand just how big it > > is... > > > or set a background color (doesn't seem to work though) > > > > > > ? > > > > > > thanks! > > > > > > -philip > > > > > > -- > > > PHP-GTK General Mailing List (http://gtk.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > -- > > PHP-GTK General Mailing List (http://gtk.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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