libgnomedbmm Reference Documentation
Main Page   Namespaces   Book  

Gnome::Db::DsnSpec Class Reference
[DbWidgets]

A form to enter information required to open a connection. More...

Inheritance diagram for Gnome::Db::DsnSpec:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DsnSpec (const Glib::ustring& provider)
Glib::ustring get_specs () const
 Get the currently displayed provider's specific connection string.
const GnomeDbDsnSpec* gobj () const
 Provides access to the underlying C GtkObject.
GnomeDbDsnSpec* gobj ()
 Provides access to the underlying C GtkObject.
bool is_valid () const
Glib::PropertyProxy_ReadOnly<
Glib::ustring
property_provider () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Glib::ustringproperty_provider ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void set_provider (const Glib::ustring& provider)
 Updates the displayed fields in spec to represent the required and possible arguments that a connection to a database through provider would require.
void set_specs (const Glib::ustring& dsn)
 Sets the connection string to be displayed in the widget.
Glib::SignalProxy0<void> signal_changed ()
 
Prototype:
void changed()

virtual ~DsnSpec ()

Protected Member Functions

virtual void on_changed ()

Related Functions

(Note that these are not member functions.)

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


Detailed Description

A form to enter information required to open a connection.

This widget contains a form to display and edit the information required by a provider to open a connection.


Constructor & Destructor Documentation

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

Gnome::Db::DsnSpec::DsnSpec ( const Glib::ustring provider  )  [explicit]


Member Function Documentation

Glib::ustring Gnome::Db::DsnSpec::get_specs (  )  const

Get the currently displayed provider's specific connection string.

Returns:
A new string, or 0 if no provider have been specified.

const GnomeDbDsnSpec* Gnome::Db::DsnSpec::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

GnomeDbDsnSpec* Gnome::Db::DsnSpec::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

bool Gnome::Db::DsnSpec::is_valid (  )  const

virtual void Gnome::Db::DsnSpec::on_changed (  )  [protected, virtual]

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Db::DsnSpec::property_provider (  )  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<Glib::ustring> Gnome::Db::DsnSpec::property_provider (  ) 

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::Db::DsnSpec::set_provider ( const Glib::ustring provider  ) 

Updates the displayed fields in spec to represent the required and possible arguments that a connection to a database through provider would require.

Parameters:
provider The provider to be used.

void Gnome::Db::DsnSpec::set_specs ( const Glib::ustring dsn  ) 

Sets the connection string to be displayed in the widget.

Glib::SignalProxy0< void > Gnome::Db::DsnSpec::signal_changed (  ) 

Prototype:
void changed()


Friends And Related Function Documentation

Gnome::Db::DsnSpec* wrap ( GnomeDbDsnSpec *  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