3 #ifndef _GTKMM_TREESELECTION_H
4 #define _GTKMM_TREESELECTION_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 #ifndef DOXYGEN_SHOULD_SKIP_THIS
44 {
class TreeSelection_Class; }
82 #ifndef DOXYGEN_SHOULD_SKIP_THIS
91 static CppClassType treeselection_class_;
99 explicit TreeSelection(
const Glib::ConstructParams& construct_params);
111 #ifndef DOXYGEN_SHOULD_SKIP_THIS
114 static GType get_base_type() G_GNUC_CONST;
sigc::slot< void, const TreeModel::iterator & > SlotForeachIter
void select(const TreeModel::Row &row)
virtual void on_changed()
This is a default handler for the signal signal_changed().
sigc::slot< bool, const Glib::RefPtr< TreeModel > &, const TreeModel::Path &, bool > SlotSelect
void select(const TreeModel::Path &start_path, const TreeModel::Path &end_path)
Glib::RefPtr< Gtk::TreeSelection > wrap(GtkTreeSelection *object, bool take_copy=false)
sigc::slot< void, const TreeModel::Path &, const TreeModel::iterator & > SlotForeachPathAndIter
ListHandle_Path get_selected_rows() const
static GType get_type() G_GNUC_CONST
ListHandle_Path get_selected_rows(Glib::RefPtr< TreeModel > &model)
int count_selected_rows() const
Glib::RefPtr< const TreeModel > get_model() const
void selected_foreach_iter(const SlotForeachIter &slot) const
TreeView * get_tree_view()
void selected_foreach_path(const SlotForeachPath &slot) const
void unselect(const TreeModel::iterator &iter)
void unselect(const TreeModel::Path &start_path, const TreeModel::Path &end_path)
TreeModel::iterator get_selected(Glib::RefPtr< TreeModel > &model)
void select(const TreeModel::iterator &iter)
void unselect(const TreeModel::Path &path)
void set_select_function(const SlotSelect &slot)
void set_mode(SelectionMode type)
GtkTreeSelection * gobj()
Provides access to the underlying C GObject.
GtkTreeSelection * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
sigc::slot< void, const TreeModel::Path & > SlotForeachPath
SelectionMode get_mode() const
void select(const TreeModel::Path &path)
Glib::ListHandle< TreeModel::Path, TreePath_Traits > ListHandle_Path
const TreeView * get_tree_view() const
bool is_selected(const TreeModel::iterator &iter) const
Glib::SignalProxy0< void > signal_changed()
const GtkTreeSelection * gobj() const
Provides access to the underlying C GObject.
void selected_foreach(const SlotForeachPathAndIter &slot) const
bool is_selected(const TreeModel::Path &path) const
Glib::RefPtr< TreeModel > get_model()
TreeModel::iterator get_selected()