#include <grid.h>
Inheritance diagram for Gnome::Db::Grid:
Public Types | |
typedef Glib::ListHandle< int, IntTraits > | IntListHandle |
Public Member Functions | |
virtual | ~Grid () |
GnomeDbGrid* | gobj () |
Provides access to the underlying C GtkObject. | |
const GnomeDbGrid* | gobj () const |
Provides access to the underlying C GtkObject. | |
Grid (const Glib::RefPtr<Gda::DataModel>& model) | |
Grid::IntListHandle | get_selection () const |
Returns: a new list, should be freed (by calling g_list_free) when no longer needed. | |
void | set_sample_size (int sample_size) |
RawGrid* | get_raw_grid () |
Provides access to the underlaying RawGrid. | |
const RawGrid* | get_raw_grid () const |
Provides access to the underlaying RawGrid. | |
Related Functions | |
(Note that these are not member functions.) | |
Gnome::Db::Grid* | wrap (GnomeDbGrid* object, bool take_copy=false) |
typedef Glib::ListHandle<int, IntTraits> Gnome::Db::Grid::IntListHandle |
virtual Gnome::Db::Grid::~Grid | ( | ) | [virtual] |
Gnome::Db::Grid::Grid | ( | const Glib::RefPtr< Gda::DataModel > & | model | ) | [explicit] |
Grid::IntListHandle Gnome::Db::Grid::get_selection | ( | ) | const |
Returns: a new list, should be freed (by calling g_list_free) when no longer needed.
const GnomeDbGrid* Gnome::Db::Grid::gobj | ( | ) | const [inline] |
GnomeDbGrid* Gnome::Db::Grid::gobj | ( | ) | [inline] |
void Gnome::Db::Grid::set_sample_size | ( | int | sample_size | ) |
Gnome::Db::Grid* wrap | ( | GnomeDbGrid * | object, | |
bool | take_copy = false | |||
) | [related] |
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. |