Method

GtkContainerset_border_width

Declaration [src]

void
gtk_container_set_border_width (
  GtkContainer* container,
  guint border_width
)

Description [src]

Sets the border width of the container.

The border width of a container is the amount of space to leave around the outside of the container. The only exception to this is GtkWindow; because toplevel windows can’t leave space outside, they leave the space inside. The border is added on all sides of the container. To add space to only one side, use a specific GtkWidget:margin property on the child widget, for example GtkWidget:margin-top.

Parameters

border_width guint
 

Amount of blank space to leave outside the container. Valid values are in the range 0-65535 pixels.