libgnomedbmm Reference Documentation |
Inheritance diagram for Gnome::Db::FindDialog:
Public Member Functions | ||||
void | add_field (const Glib::ustring& field) | |||
Adds field to the Fields combo. | ||||
void | add_fields_from_model (const Glib::RefPtr<Gda::DataModel>& dm) | |||
Adds all the fields of dm into the Fields combo. | ||||
FindDialog (const Glib::ustring& title, const Glib::RefPtr<Gda::DataModel>& model) | ||||
Creates a new FindDialog and adds the fields of the model to the Fields combo. | ||||
FindDialog (const Glib::ustring& title) | ||||
Glib::ustring | get_field () const | |||
Gets the currently selected field in dialog . | ||||
Glib::ustring | get_text () const | |||
Gets the current search text in dialog . | ||||
const GnomeDbFindDialog* | gobj () const | |||
Provides access to the underlying C GtkObject. | ||||
GnomeDbFindDialog* | gobj () | |||
Provides access to the underlying C GtkObject. | ||||
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_field () const | |||
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | ||||
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_text () const | |||
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | ||||
bool | run () | |||
Shows the dialog to the user and wait for his/her input. | ||||
virtual | ~FindDialog () | |||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Gnome::Db::FindDialog* | wrap (GnomeDbFindDialog* object, bool take_copy=false) | |||
|
virtual Gnome::Db::FindDialog::~FindDialog | ( | ) | [virtual] |
Gnome::Db::FindDialog::FindDialog | ( | const Glib::ustring & | title | ) | [explicit] |
Gnome::Db::FindDialog::FindDialog | ( | const Glib::ustring & | title, | |
const Glib::RefPtr< Gda::DataModel > & | model | |||
) | [explicit] |
Creates a new FindDialog and adds the fields of the model to the Fields combo.
title | The title of the dialog. | |
model | A Gda::DataModel. |
void Gnome::Db::FindDialog::add_field | ( | const Glib::ustring & | field | ) |
Adds field to the Fields combo.
field | The field's name. |
void Gnome::Db::FindDialog::add_fields_from_model | ( | const Glib::RefPtr< Gda::DataModel > & | dm | ) |
Adds all the fields of dm into the Fields combo.
dm | A Gda::DataModel. |
Glib::ustring Gnome::Db::FindDialog::get_field | ( | ) | const |
Gets the currently selected field in dialog .
Glib::ustring Gnome::Db::FindDialog::get_text | ( | ) | const |
Gets the current search text in dialog .
const GnomeDbFindDialog* Gnome::Db::FindDialog::gobj | ( | ) | const [inline] |
GnomeDbFindDialog* Gnome::Db::FindDialog::gobj | ( | ) | [inline] |
Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Db::FindDialog::property_field | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Db::FindDialog::property_text | ( | ) | const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
bool Gnome::Db::FindDialog::run | ( | ) |
Shows the dialog to the user and wait for his/her input.
Reimplemented from Gtk::Dialog.
Gnome::Db::FindDialog* wrap | ( | GnomeDbFindDialog * | 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. |