libgnomedbmm Reference Documentation |
Inheritance diagram for Gnome::Db::DsnSpec:
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::ustring> | property_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 () | |||
| ||||
virtual | ~DsnSpec () | |||
Protected Member Functions | ||||
virtual void | on_changed () | |||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Gnome::Db::DsnSpec* | wrap (GnomeDbDsnSpec* object, bool take_copy=false) | |||
|
This widget contains a form to display and edit the information required by a provider to open a connection.
virtual Gnome::Db::DsnSpec::~DsnSpec | ( | ) | [virtual] |
Gnome::Db::DsnSpec::DsnSpec | ( | const Glib::ustring & | provider | ) | [explicit] |
Glib::ustring Gnome::Db::DsnSpec::get_specs | ( | ) | const |
Get the currently displayed provider's specific connection string.
0
if no provider have been specified. const GnomeDbDsnSpec* Gnome::Db::DsnSpec::gobj | ( | ) | const [inline] |
GnomeDbDsnSpec* Gnome::Db::DsnSpec::gobj | ( | ) | [inline] |
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.
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.
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.
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 | ( | ) |
void changed()
Gnome::Db::DsnSpec* wrap | ( | GnomeDbDsnSpec * | 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. |