Re: [gtk-list] Borders around boxes?



On Tue, 15 Jun 1999, Dave Topper wrote:

Hello ,

> Is there a way to put visible (eg., X pixel wide) border around a box?
> That would be nice.  I'll bet someone has a trick?

Put that box inside frame (you dont have any chance to set thickness of
it).

frame = gtk_frame_new(NULL);
[...]
gtk_container_add(GTK_CONTAINER(frame) , box);

Or make some container with other background, put box inside it, and
control somehow the geometry of that container. But it is bit tricky.

Bye,
Stevo.

---
Stefan Ondrejicka <ondrej@idata.sk>
http://www.idata.sk/~ondrej/



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