libgnomedbmm Reference Documentation
Main Page   Namespaces   Book  

Gnome::Db::Grid Class Reference
[DbWidgets]

Database grid widget to display and modify data in a Gda::DataModel, with command buttons and indicators. More...

Inheritance diagram for Gnome::Db::Grid:

Inheritance graph
[legend]
List of all members.

Public Types

typedef Glib::ListHandle<
int, IntTraits > 
IntListHandle

Public Member Functions

const RawGridget_raw_grid () const
 Provides access to the underlaying RawGrid.
RawGridget_raw_grid ()
 Provides access to the underlaying RawGrid.
Grid::IntListHandle get_selection () const
 Returns: a new list, should be freed (by calling g_list_free) when no longer needed.
const GnomeDbGrid* gobj () const
 Provides access to the underlying C GtkObject.
GnomeDbGrid* gobj ()
 Provides access to the underlying C GtkObject.
 Grid (const Glib::RefPtr<Gda::DataModel>& model)
Glib::PropertyProxy_ReadOnly<
Glib::RefPtr<Gda::DataModel >> 
property_model () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<
RawGrid* > 
property_raw_grid () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<
DataWidgetInfo* > 
property_widget_info () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void set_sample_size (int sample_size)
virtual ~Grid ()

Related Functions

(Note that these are not member functions.)

Gnome::Db::Gridwrap (GnomeDbGrid* object, bool take_copy=false)
 
Parameters:
object The C instance


Detailed Description

Database grid widget to display and modify data in a Gda::DataModel, with command buttons and indicators.


Member Typedef Documentation

typedef Glib::ListHandle<int, IntTraits> Gnome::Db::Grid::IntListHandle


Constructor & Destructor Documentation

virtual Gnome::Db::Grid::~Grid (  )  [virtual]

Gnome::Db::Grid::Grid ( const Glib::RefPtr< Gda::DataModel > &  model  )  [explicit]


Member Function Documentation

const RawGrid* Gnome::Db::Grid::get_raw_grid (  )  const

Provides access to the underlaying RawGrid.

RawGrid* Gnome::Db::Grid::get_raw_grid (  ) 

Provides access to the underlaying RawGrid.

Grid::IntListHandle Gnome::Db::Grid::get_selection (  )  const

Returns: a new list, should be freed (by calling g_list_free) when no longer needed.

Returns:
A new list, should be freed (by calling g_list_free) when no longer needed.

const GnomeDbGrid* Gnome::Db::Grid::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

GnomeDbGrid* Gnome::Db::Grid::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gda::DataModel> > Gnome::Db::Grid::property_model (  )  const

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<RawGrid*> Gnome::Db::Grid::property_raw_grid (  )  const

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<DataWidgetInfo*> Gnome::Db::Grid::property_widget_info (  )  const

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.

void Gnome::Db::Grid::set_sample_size ( int  sample_size  ) 


Friends And Related Function Documentation

Gnome::Db::Grid* wrap ( GnomeDbGrid *  object,
bool  take_copy = false 
) [related]

Parameters:
object The C instance

Parameters:
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 for libgnomedbmm by Doxygen 1.5.1 © 1997-2001