libgda-uimm: Gnome::GdaUI::Grid Class Reference
Grid - Grid widget to manipulate data in a Gnome::Gda::DataModel, with decorations. More...
#include <libgda-uimm/grid.h>
Public Member Functions | |
virtual | ~Grid () |
GdauiGrid* | gobj () |
Provides access to the underlying C GtkObject. | |
const GdauiGrid* | gobj () const |
Provides access to the underlying C GtkObject. | |
Grid (const Glib::RefPtr< Gnome::Gda::DataModel >& model) | |
Creates a new Gdaui::Grid widget suitable to display the data in model. | |
void | set_sample_size (int sample_size) |
Sets the size of each chunk of data to display: the maximum number of rows which can be displayed at a time. | |
Glib::PropertyProxy_ReadOnly < DataProxyInfo* > | property_info () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy < DataProxyInfoFlag > | property_info_flags () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly < DataProxyInfoFlag > | property_info_flags () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly < Glib::RefPtr < Gnome::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. | |
Related Functions | |
(Note that these are not member functions.) | |
Gnome::GdaUI::Grid* | wrap (GdauiGrid* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
Detailed Description
Constructor & Destructor Documentation
virtual Gnome::GdaUI::Grid::~Grid | ( | ) | [virtual] |
Gnome::GdaUI::Grid::Grid | ( | const Glib::RefPtr< Gnome::Gda::DataModel > & | model | ) | [explicit] |
Creates a new Gdaui::Grid widget suitable to display the data in model.
- Parameters:
-
model A Gda::DataModel.
- Returns:
- The new widget.
Member Function Documentation
GdauiGrid* Gnome::GdaUI::Grid::gobj | ( | ) | [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Gnome::GdaUI::DataProxy.
const GdauiGrid* Gnome::GdaUI::Grid::gobj | ( | ) | const [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Gnome::GdaUI::DataProxy.
Glib::PropertyProxy_ReadOnly<DataProxyInfo*> Gnome::GdaUI::Grid::property_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.
Glib::PropertyProxy<DataProxyInfoFlag> Gnome::GdaUI::Grid::property_info_flags | ( | ) |
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<DataProxyInfoFlag> Gnome::GdaUI::Grid::property_info_flags | ( | ) | 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< Glib::RefPtr<Gnome::Gda::DataModel> > Gnome::GdaUI::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::GdaUI::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.
void Gnome::GdaUI::Grid::set_sample_size | ( | int | sample_size | ) |
Sets the size of each chunk of data to display: the maximum number of rows which can be displayed at a time.
See Gdaui::RawGrid::set_sample_size() and gda_data_proxy_set_sample_size()
- Parameters:
-
sample_size The size of the sample displayed in grid.
Friends And Related Function Documentation
Gnome::GdaUI::Grid* wrap | ( | GdauiGrid * | 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.