libgnomedbmm Reference Documentation |
Inheritance diagram for Gnome::Db::EntryCombo:
Public Member Functions | ||||
EntryCombo (const Glib::RefPtr<Gda::ParameterList>& paramlist, GdaParameterListSource* source) | ||||
Glib::SListHandle<Gda::Value> | get_all_values () | |||
Get a list of all the values in combo 's data model's selected row. | ||||
Glib::SListHandle<Gda::Value> | get_values () | |||
Get the values stored within combo . | ||||
Glib::SListHandle<Gda::Value> | get_values_orig () | |||
Get the original values stored within combo . | ||||
const GnomeDbEntryCombo* | gobj () const | |||
Provides access to the underlying C GtkObject. | ||||
GnomeDbEntryCombo* | gobj () | |||
Provides access to the underlying C GtkObject. | ||||
bool | set_values (const Glib::SListHandle<Gda::Value>& values) | |||
Sets the values of combo to the specified ones. | ||||
void | set_values_default (const Glib::SListHandle<Gda::Value>& values) | |||
Sets the default values of combo to the specified ones. | ||||
void | set_values_orig (const Glib::SListHandle<Gda::Value>& values) | |||
Sets the original values of combo to the specified ones. | ||||
virtual | ~EntryCombo () | |||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Gnome::Db::EntryCombo* | wrap (GnomeDbEntryCombo* object, bool take_copy=false) | |||
|
virtual Gnome::Db::EntryCombo::~EntryCombo | ( | ) | [virtual] |
Gnome::Db::EntryCombo::EntryCombo | ( | const Glib::RefPtr< Gda::ParameterList > & | paramlist, | |
GdaParameterListSource * | source | |||
) |
Glib::SListHandle<Gda::Value> Gnome::Db::EntryCombo::get_all_values | ( | ) |
Get a list of all the values in combo 's data model's selected row.
The list must be freed by the caller.
Glib::SListHandle<Gda::Value> Gnome::Db::EntryCombo::get_values | ( | ) |
Get the values stored within combo .
The returned values are the ones within combo , so they must not be freed afterwards, however the returned list has to be freed afterwards.
Glib::SListHandle<Gda::Value> Gnome::Db::EntryCombo::get_values_orig | ( | ) |
Get the original values stored within combo .
The returned values are the ones within combo , so they must not be freed afterwards; the list has to be freed afterwards.
const GnomeDbEntryCombo* Gnome::Db::EntryCombo::gobj | ( | ) | const [inline] |
GnomeDbEntryCombo* Gnome::Db::EntryCombo::gobj | ( | ) | [inline] |
bool Gnome::Db::EntryCombo::set_values | ( | const Glib::SListHandle< Gda::Value > & | values | ) |
Sets the values of combo to the specified ones.
None of the values provided in the list is modified.
values holds a list of G::Value values, one for each parameter that is present in the node argument of the gnome_db_entry_combo_new() function which created combo .
An error can occur when there is no corresponding value(s) to be displayed for the provided values.
If values is 0
, then the entry itself is set to 0
;
values | A list of G::Value values, or 0 . |
true
if no error occurred. void Gnome::Db::EntryCombo::set_values_default | ( | const Glib::SListHandle< Gda::Value > & | values | ) |
Sets the default values of combo to the specified ones.
None of the values provided in the list is modified.
values | A list of G::Value values. |
void Gnome::Db::EntryCombo::set_values_orig | ( | const Glib::SListHandle< Gda::Value > & | values | ) |
Sets the original values of combo to the specified ones.
None of the values provided in the list is modified.
values | A list of G::Value values. |
Gnome::Db::EntryCombo* wrap | ( | GnomeDbEntryCombo * | 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. |