libgnomedbmm Reference Documentation
Main Page   Namespaces   Book  

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

Error display widget. More...

Inheritance diagram for Gnome::Db::Error:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void clear ()
 Error ()
int get_position () const
 Get the position of the error being displayed.
const GnomeDbError* gobj () const
 Provides access to the underlying C GtkObject.
GnomeDbError* gobj ()
 Provides access to the underlying C GtkObject.
void next ()
 Display the next error in the given GnomeDbError widget.
void prev ()
 Display the previous error in the given GnomeDbError widget.
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.
virtual ~Error ()

Related Functions

(Note that these are not member functions.)

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


Detailed Description

Error display widget.


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

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