Logo Search packages:      
Sourcecode: ardour version File versions  Download package

void Gtk::Container::set_border_width ( guint  border_width  )  [inherited]

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 Gtk::Window; 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, one approach is to create a Gtk::Alignment widget, call Gtk::Widget::set_usize() to give it a size, and place it on the side of the container as a spacer.

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

Definition at line 685 of file container.cc.

References Gtk::Container::gobj().

{
  gtk_container_set_border_width(gobj(), border_width);
}


Generated by  Doxygen 1.6.0   Back to index