libgnomedbmm Reference Documentation
Main Page   Namespaces   Book  

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

A ComboBox-style widget to select a data source. More...

Inheritance diagram for Gnome::Db::DataSourceSelector:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DataSourceSelector (const Glib::ustring& name)
Glib::ustring get_dsn () const
 Get the Data Source Name (DSN) actualy selected in the Gnome::DbDataSourceSelector.
const GnomeDbDataSourceSelector* gobj () const
 Provides access to the underlying C GtkObject.
GnomeDbDataSourceSelector* gobj ()
 Provides access to the underlying C GtkObject.
Glib::PropertyProxy_ReadOnly<
Glib::ustring
property_source_name () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void set_dsn (const Glib::ustring& dsn)
 Set the selected Data Source Name (DSN) in the Gnome::DbDataSourceSelector.
virtual ~DataSourceSelector ()

Related Functions

(Note that these are not member functions.)

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


Detailed Description

A ComboBox-style widget to select a data source.


Constructor & Destructor Documentation

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

Gnome::Db::DataSourceSelector::DataSourceSelector ( const Glib::ustring name  )  [explicit]


Member Function Documentation

Glib::ustring Gnome::Db::DataSourceSelector::get_dsn (  )  const

Get the Data Source Name (DSN) actualy selected in the Gnome::DbDataSourceSelector.

Returns:
The DSN name actualy selected.

const GnomeDbDataSourceSelector* Gnome::Db::DataSourceSelector::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::ComboBox.

GnomeDbDataSourceSelector* Gnome::Db::DataSourceSelector::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::ComboBox.

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Db::DataSourceSelector::property_source_name (  )  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.

void Gnome::Db::DataSourceSelector::set_dsn ( const Glib::ustring dsn  ) 

Set the selected Data Source Name (DSN) in the Gnome::DbDataSourceSelector.


Friends And Related Function Documentation

Gnome::Db::DataSourceSelector* wrap ( GnomeDbDataSourceSelector *  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