GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

GFC::Gtk::BoxChild Class Reference

A GtkBoxChild C++ wrapper class. More...

#include <gfc/gtk/boxchild.hh>

List of all members.

Public Member Functions

Accessors

Detailed Description

A GtkBoxChild C++ wrapper class.

BoxChild is an object that describes how a child widget is to be packed into a box. Use Gtk::Box::query_child_packing() and Gtk::Box::set_child_packing() to query and reset the padding, expand, fill, and pack fields.


Member Function Documentation

bool GFC::Gtk::BoxChild::expand  )  const
 

Get the child widget expand flag.

Returns:
true if extra space should be given to the child widget.

The expand flag indicates whether extra space should be given to this child. Any extra space given to the parent Box is divided up among all children with this attribute set to true; set when packed, true by default.

bool GFC::Gtk::BoxChild::fill  )  const
 

Get the child widget fill flag.

Returns:
true if extra space given to this child is allocated to the child.

Indicates whether any extra space given to this child due to its expand attribute being set is actually allocated to the child, rather than being used as padding around the widget; set when packed, true by default.

PackType GFC::Gtk::BoxChild::pack  )  const
 

Gets the child widget PackType.

Returns:
The PackType.

The PackType indicates whether the child is packed with reference to the start (top/left) or end (bottom/right) of the Box.

unsigned int GFC::Gtk::BoxChild::padding  )  const
 

Gets the number of extra pixels to put between the child widget and its neighbors.

Returns:
The number of extra pixels.

The padding is the number of extra pixels between this child and its neighbors, set when packed, zero by default.

Widget* GFC::Gtk::BoxChild::widget  )  const
 

Gets the child widget, packed into the Box.

Returns:
The child packed into the Box. The returned widget does not have a reference added, so you do not need to unref it.


The documentation for this class was generated from the following file:
Generated on Tue Aug 24 00:34:37 2004 for GFC-UI by doxygen 1.3.8