gtk_container_border_width
- From: David Abilleira <odaf nexo es>
- To: Lista GTK <gtk-list redhat com>
- Subject: gtk_container_border_width
- Date: Sat, 20 Sep 1997 08:16:32 +0200
I'm new to gtk (and to X programing too) and have a question about the
function gtk_container_border_width.
The GTK tutorial from Ian says:
----- Cut ----
This next function is used to set an attribute of a container object.
This just sets the window so it has a blank area
along the inside of it 10 pixels wide where no widgets will go. There
are other similar functions which we will
look at in the section on Setting Widget Attributes
And again, GTK_CONTAINER is a macro to perform type casting.
gtk_container_border_width (GTK_CONTAINER (window), 10);
----- Cut ----
But when I try it, space is left out around the object, and not
inside.
Do I must call gtk_container_border_width for every object in a
container, or make a box and place the object inside it?
Thanks.
--
+--------------------------+---------------------------+
|David Abilleira Freijeiro | mailto:odaf@nexo.es |
+--------------------------+---------------------------+
|http://www.geocities.com/SiliconValley/Bay/1040/ |
| (UNED, Mis Programas, Linux, Programación, etc.) |
+------------------------------------------------------+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]