#include <selector.h>
Inheritance diagram for Gnome::Db::Selector:
Public Member Functions | |
virtual | ~Selector () |
GnomeDbSelector* | gobj () |
Provides access to the underlying C GtkObject. | |
const GnomeDbSelector* | gobj () const |
Provides access to the underlying C GtkObject. | |
Selector (const Glib::RefPtr<Gda::Dict>& dict, const Glib::RefPtr<Glib::Object>& ref_obj, SelectorMode mode, SelectorColumn columns) | |
Selector (const Glib::RefPtr<Gda::Dict>& dict, SelectorMode mode, SelectorColumn columns) | |
void | set_mode_columns (const Glib::RefPtr<Glib::Object>& ref_object, SelectorMode mode, SelectorColumn columns) |
Changes what data gets displayed in mgsel and which columns are displayed. | |
void | set_mode_columns (SelectorMode mode, SelectorColumn columns) |
bool | set_selected_object (const Glib::RefPtr<Glib::Object>& selection) |
Force the widget to select a given object, and to display it in its visible area (unfolding nodes on the way if necessary). | |
void | set_headers_visible (bool visible=true) |
Show or hide the headers. | |
void | set_column_label (guint column, const Glib::ustring& label) |
Sets the label of a column's header. | |
void | expand_all () |
Recursively expands all nodes in the mgsel widget. | |
void | collapse_all () |
Recursively collapse all nodes in the mgsel widget. | |
Glib::RefPtr<Glib::Object> | get_selected_object () |
Get the currently selected object. | |
Glib::RefPtr<const Glib::Object> | get_selected_object () const |
Get the currently selected object. | |
Glib::RefPtr<Glib::Object> | get_selected_object_parent () |
FIXME. | |
Glib::RefPtr<const Glib::Object> | get_selected_object_parent () const |
FIXME. | |
Glib::SignalProxy1< void, const Glib::RefPtr<Glib::Object >&> | signal_selection_changed () |
Glib::SignalProxy1< void, const Glib::RefPtr<Glib::Object >&> | signal_row_activated () |
Related Functions | |
(Note that these are not member functions.) | |
Gnome::Db::Selector* | wrap (GnomeDbSelector* object, bool take_copy=false) |
virtual Gnome::Db::Selector::~Selector | ( | ) | [virtual] |
Gnome::Db::Selector::Selector | ( | const Glib::RefPtr< Gda::Dict > & | dict, | |
const Glib::RefPtr< Glib::Object > & | ref_obj, | |||
SelectorMode | mode, | |||
SelectorColumn | columns | |||
) | [explicit] |
Gnome::Db::Selector::Selector | ( | const Glib::RefPtr< Gda::Dict > & | dict, | |
SelectorMode | mode, | |||
SelectorColumn | columns | |||
) |
void Gnome::Db::Selector::collapse_all | ( | ) |
Recursively collapse all nodes in the mgsel widget.
void Gnome::Db::Selector::expand_all | ( | ) |
Recursively expands all nodes in the mgsel widget.
Glib::RefPtr<const Glib::Object> Gnome::Db::Selector::get_selected_object | ( | ) | const |
Get the currently selected object.
0
if nothing is selected or the current selection is on a "category" of objects (such as the "Functions" category for example). Glib::RefPtr<Glib::Object> Gnome::Db::Selector::get_selected_object | ( | ) |
Get the currently selected object.
0
if nothing is selected or the current selection is on a "category" of objects (such as the "Functions" category for example). Glib::RefPtr<const Glib::Object> Gnome::Db::Selector::get_selected_object_parent | ( | ) | const |
FIXME.
Glib::RefPtr<Glib::Object> Gnome::Db::Selector::get_selected_object_parent | ( | ) |
FIXME.
const GnomeDbSelector* Gnome::Db::Selector::gobj | ( | ) | const [inline] |
GnomeDbSelector* Gnome::Db::Selector::gobj | ( | ) | [inline] |
void Gnome::Db::Selector::set_column_label | ( | guint | column, | |
const Glib::ustring & | label | |||
) |
Sets the label of a column's header.
void Gnome::Db::Selector::set_headers_visible | ( | bool | visible = true |
) |
Show or hide the headers.
void Gnome::Db::Selector::set_mode_columns | ( | SelectorMode | mode, | |
SelectorColumn | columns | |||
) |
void Gnome::Db::Selector::set_mode_columns | ( | const Glib::RefPtr< Glib::Object > & | ref_object, | |
SelectorMode | mode, | |||
SelectorColumn | columns | |||
) |
Changes what data gets displayed in mgsel and which columns are displayed.
The mode and columns have the same meaning as for the gnome_db_selector_new() function.
The usage of the ref_object parameter is the same as for gnome_db_selector_new().
ref_object | A G::Object, or 0 . | |
mode | An OR'ed value of the possible items to display in the widget. | |
columns | An OR'ed value describing which columns will be displayed. |
bool Gnome::Db::Selector::set_selected_object | ( | const Glib::RefPtr< Glib::Object > & | selection | ) |
Force the widget to select a given object, and to display it in its visible area (unfolding nodes on the way if necessary).
true
if the specified object was found, and false
otherwise. Glib::SignalProxy1< void,const Glib::RefPtr<Glib::Object>& > Gnome::Db::Selector::signal_row_activated | ( | ) |
void row_activated(const Glib::RefPtr<Glib::Object>& ref_obj)
Glib::SignalProxy1< void,const Glib::RefPtr<Glib::Object>& > Gnome::Db::Selector::signal_selection_changed | ( | ) |
void selection_changed(const Glib::RefPtr<Glib::Object>& ref_obj)
Gnome::Db::Selector* wrap | ( | GnomeDbSelector * | 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. |