#include <finddialog.h>
Inheritance diagram for Gnome::Db::FindDialog:
Public Member Functions | |
virtual | ~FindDialog () |
GnomeDbFindDialog* | gobj () |
Provides access to the underlying C GtkObject. | |
const GnomeDbFindDialog* | gobj () const |
Provides access to the underlying C GtkObject. | |
FindDialog (const Glib::ustring& title) | |
FindDialog (const Glib::ustring& title, const Glib::RefPtr<Gda::DataModel>& model) | |
bool | run () |
Shows the dialog to the user and wait for his/her input. | |
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. | |
Glib::ustring | get_text () const |
Gets the current search text in dialog . | |
Glib::ustring | get_field () const |
Gets the currently selected field in dialog . | |
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] |
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] |
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. |