Goocanvas::Table Class Reference

#include <table.h>

Inheritance diagram for Goocanvas::Table:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~Table ()
GooCanvasTable * gobj ()
 Provides access to the underlying C GObject.
const GooCanvasTable * gobj () const
 Provides access to the underlying C GObject.
GooCanvasTable * gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
void attach (const Glib::RefPtr< Item > &item, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach, Gtk::AttachOptions xoptions=Gtk::FILL|Gtk::EXPAND, Gtk::AttachOptions yoptions=Gtk::FILL|Gtk::EXPAND, double left_padding=0.0, double right_padding=0.0, double top_padding=0.0, double bottom_padding=0.0)
 This convenience method is easier than setting the properties individually, and is similar to Gtk::Table::attach().
void set_align (const Glib::RefPtr< Item > &child, double xalign=0.0, double yalign=0.0)
void set_align (const Glib::RefPtr< Item > &child, Gtk::AlignmentEnum xalign=Gtk::ALIGN_LEFT, Gtk::AlignmentEnum yalign=Gtk::ALIGN_TOP)
Glib::PropertyProxy< double > property_width ()
 The requested width of the table.
Glib::PropertyProxy_ReadOnly
< double > 
property_width () const
 The requested width of the table.
Glib::PropertyProxy< double > property_height ()
 The requested height of the table.
Glib::PropertyProxy_ReadOnly
< double > 
property_height () const
 The requested height of the table.
Glib::PropertyProxy< double > property_row_spacing ()
 The default space between rows.
Glib::PropertyProxy_ReadOnly
< double > 
property_row_spacing () const
 The default space between rows.
Glib::PropertyProxy< double > property_column_spacing ()
 The default space between columns.
Glib::PropertyProxy_ReadOnly
< double > 
property_column_spacing () const
 The default space between columns.
Glib::PropertyProxy< bool > property_homogeneous_rows ()
 If all rows are the same height.
Glib::PropertyProxy_ReadOnly
< bool > 
property_homogeneous_rows () const
 If all rows are the same height.
Glib::PropertyProxy< bool > property_homogeneous_columns ()
 If all columns are the same width.
Glib::PropertyProxy_ReadOnly
< bool > 
property_homogeneous_columns () const
 If all columns are the same width.
Glib::PropertyProxy< double > property_x_border_spacing ()
 The amount of spacing between the lefmost and rightmost cells and the border grid line.
Glib::PropertyProxy_ReadOnly
< double > 
property_x_border_spacing () const
 The amount of spacing between the lefmost and rightmost cells and the border grid line.
Glib::PropertyProxy< double > property_y_border_spacing ()
 The amount of spacing between the topmost and bottommost cells and the border grid line.
Glib::PropertyProxy_ReadOnly
< double > 
property_y_border_spacing () const
 The amount of spacing between the topmost and bottommost cells and the border grid line.
Glib::PropertyProxy< double > property_vert_grid_line_width ()
 The width of the grid line to draw between columns.
Glib::PropertyProxy_ReadOnly
< double > 
property_vert_grid_line_width () const
 The width of the grid line to draw between columns.
Glib::PropertyProxy< double > property_horz_grid_line_width ()
 The width of the grid line to draw between rows.
Glib::PropertyProxy_ReadOnly
< double > 
property_horz_grid_line_width () const
 The width of the grid line to draw between rows.

Static Public Member Functions

static Glib::RefPtr< Tablecreate ()

Protected Member Functions

 Table ()

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Goocanvas::Tablewrap (GooCanvasTable *object, bool take_copy=false)
 A Glib::wrap() method for this object.


Constructor & Destructor Documentation

virtual Goocanvas::Table::~Table (  )  [virtual]

Goocanvas::Table::Table (  )  [protected]


Member Function Documentation

GooCanvasTable* Goocanvas::Table::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Goocanvas::Group.

const GooCanvasTable* Goocanvas::Table::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Goocanvas::Group.

GooCanvasTable* Goocanvas::Table::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Reimplemented from Goocanvas::Group.

static Glib::RefPtr<Table> Goocanvas::Table::create (  )  [static]

Reimplemented from Goocanvas::Group.

void Goocanvas::Table::attach ( const Glib::RefPtr< Item > &  item,
guint  left_attach,
guint  right_attach,
guint  top_attach,
guint  bottom_attach,
Gtk::AttachOptions  xoptions = Gtk::FILL|Gtk::EXPAND,
Gtk::AttachOptions  yoptions = Gtk::FILL|Gtk::EXPAND,
double  left_padding = 0.0,
double  right_padding = 0.0,
double  top_padding = 0.0,
double  bottom_padding = 0.0 
)

This convenience method is easier than setting the properties individually, and is similar to Gtk::Table::attach().

Parameters:
item The canvas item to add to the table.
left_attach The left column to attach the item.
right_attach The right column to attach the item. Just use left_attach+1 for a single column.
top_attach The top column to attach the item.
bottom_attach The bottom column to attach the item. Just use top_attach+1 for a single column.
xoptions Whether the item should expand or shrink.
yoptions Whether the item should expand or shrink.
left_padding The padding at the left.
right_padding The padding at the right.
top_padding The padding at the top.
bottom_padding The padding at the bottom.

void Goocanvas::Table::set_align ( const Glib::RefPtr< Item > &  child,
double  xalign = 0.0,
double  yalign = 0.0 
)

void Goocanvas::Table::set_align ( const Glib::RefPtr< Item > &  child,
Gtk::AlignmentEnum  xalign = Gtk::ALIGN_LEFT,
Gtk::AlignmentEnum  yalign = Gtk::ALIGN_TOP 
)

Glib::PropertyProxy<double> Goocanvas::Table::property_width (  ) 

The requested width of the table.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::Table::property_width (  )  const

The requested width of the table.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::Table::property_height (  ) 

The requested height of the table.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::Table::property_height (  )  const

The requested height of the table.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::Table::property_row_spacing (  ) 

The default space between rows.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::Table::property_row_spacing (  )  const

The default space between rows.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::Table::property_column_spacing (  ) 

The default space between columns.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::Table::property_column_spacing (  )  const

The default space between columns.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<bool> Goocanvas::Table::property_homogeneous_rows (  ) 

If all rows are the same height.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<bool> Goocanvas::Table::property_homogeneous_rows (  )  const

If all rows are the same height.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<bool> Goocanvas::Table::property_homogeneous_columns (  ) 

If all columns are the same width.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<bool> Goocanvas::Table::property_homogeneous_columns (  )  const

If all columns are the same width.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::Table::property_x_border_spacing (  ) 

The amount of spacing between the lefmost and rightmost cells and the border grid line.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::Table::property_x_border_spacing (  )  const

The amount of spacing between the lefmost and rightmost cells and the border grid line.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::Table::property_y_border_spacing (  ) 

The amount of spacing between the topmost and bottommost cells and the border grid line.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::Table::property_y_border_spacing (  )  const

The amount of spacing between the topmost and bottommost cells and the border grid line.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::Table::property_vert_grid_line_width (  ) 

The width of the grid line to draw between columns.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::Table::property_vert_grid_line_width (  )  const

The width of the grid line to draw between columns.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> Goocanvas::Table::property_horz_grid_line_width (  ) 

The width of the grid line to draw between rows.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> Goocanvas::Table::property_horz_grid_line_width (  )  const

The width of the grid line to draw between rows.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.


Friends And Related Function Documentation

Glib::RefPtr< Goocanvas::Table > wrap ( GooCanvasTable *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated on Wed Sep 3 02:53:30 2008 for goocanvasmm by  doxygen 1.5.6