Gnome::Db::Error Class Reference
[Extras]

#include <error.h>

Inheritance diagram for Gnome::Db::Error:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Error ()
GnomeDbError* gobj ()
 Provides access to the underlying C GtkObject.
const GnomeDbError* gobj () const
 Provides access to the underlying C GtkObject.
 Error ()
void clear ()
void show (const Glib::ListHandle<Glib::RefPtr<const Gda::ConnectionEvent>>& errors)
 Update the given Gnome::DbError widget to show the latest errors from the connection associated with it.
void prev ()
 Display the previous error in the given GnomeDbError widget.
void next ()
 Display the next error in the given GnomeDbError widget.
int get_position () const
 Get the position of the error being displayed.

Related Functions

(Note that these are not member functions.)

Gnome::Db::Errorwrap (GnomeDbError* object, bool take_copy=false)

Constructor & Destructor Documentation

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

Gnome::Db::Error::Error (  ) 


Member Function Documentation

void Gnome::Db::Error::clear (  ) 

int Gnome::Db::Error::get_position (  )  const

Get the position of the error being displayed.

Returns:
A non-negative integer on success.

const GnomeDbError* Gnome::Db::Error::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

GnomeDbError* Gnome::Db::Error::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

void Gnome::Db::Error::next (  ) 

Display the next error in the given GnomeDbError widget.

void Gnome::Db::Error::prev (  ) 

Display the previous error in the given GnomeDbError widget.

void Gnome::Db::Error::show ( const Glib::ListHandle< Glib::RefPtr< const Gda::ConnectionEvent > > &  errors  ) 

Update the given Gnome::DbError widget to show the latest errors from the connection associated with it.


Friends And Related Function Documentation

Gnome::Db::Error* wrap ( GnomeDbError *  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:08 2007 for libgnomedbmm by  doxygen 1.4.7