Gnome::Db::RawGrid Class Reference

#include <rawgrid.h>

Inheritance diagram for Gnome::Db::RawGrid:

Inheritance graph
[legend]
List of all members.

Public Types

typedef Glib::ListHandle<
int, IntTraits > 
IntListHandle

Public Member Functions

virtual ~RawGrid ()
GnomeDbRawGrid* gobj ()
 Provides access to the underlying C GtkObject.
const GnomeDbRawGrid* gobj () const
 Provides access to the underlying C GtkObject.
 RawGrid (const Glib::RefPtr<Gda::DataModel>& model)
RawGrid::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)
void set_sample_start (int sample_start)
Glib::SignalProxy1< void,
int > 
signal_double_clicked ()
Glib::SignalProxy1< void,
Gtk::Menu* > 
signal_populate_popup ()
Glib::SignalProxy1< void,
bool > 
signal_selection_changed ()

Related Functions

(Note that these are not member functions.)

Gnome::Db::RawGridwrap (GnomeDbRawGrid* object, bool take_copy=false)

Member Typedef Documentation

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


Constructor & Destructor Documentation

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

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


Member Function Documentation

RawGrid::IntListHandle Gnome::Db::RawGrid::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.

Reimplemented from Gtk::TreeView.

const GnomeDbRawGrid* Gnome::Db::RawGrid::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::TreeView.

GnomeDbRawGrid* Gnome::Db::RawGrid::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::TreeView.

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

void Gnome::Db::RawGrid::set_sample_start ( int  sample_start  ) 

Glib::SignalProxy1< void,int > Gnome::Db::RawGrid::signal_double_clicked (  ) 

Prototype:
void double_clicked(int row)

Glib::SignalProxy1< void,Gtk::Menu* > Gnome::Db::RawGrid::signal_populate_popup (  ) 

Prototype:
void populate_popup(Gtk::Menu* menu)

Glib::SignalProxy1< void,bool > Gnome::Db::RawGrid::signal_selection_changed (  ) 

Prototype:
void selection_changed(bool row_selected)


Friends And Related Function Documentation

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

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 Mon Feb 12 16:49:10 2007 for libgnomedbmm by  doxygen 1.4.7