Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Gtk::TreeView Class Reference
[WidgetsContainer WidgetsTreeView Classes]

#include <treeview.h>

Inheritance diagram for Gtk::TreeView:

Gtk::Container Gtk::Widget sigc::trackable sigc::trackable

List of all members.


Detailed Description

The TreeView widget displays the model (Gtk::TreeModel) data and allows the user to interact with it. The View can show all of the model's columns, or just some, and it can show them in various ways. You must provide the TreeModel in the constructor, or with set_model().

Add View columns with append_column(), append_column_editable(), insert_column(), or insert_column_editable().

You can manipulate the selection by obtaining the Gtk::TreeView::Selection from get_selection().

Definition at line 136 of file treeview.h.


Public Types

typedef GtkTreeViewClass BaseClassType
typedef GtkTreeView BaseObjectType
typedef TreeViewColumn Column
typedef TreeView_Class CppClassType
typedef TreeView CppObjectType
typedef void(* DestroyNotify )(gpointer data)
typedef sigc::slot< void,
Widget & > 
ForeachSlot
typedef TreeSelection Selection
typedef
TreeViewColumn::SlotCellData 
SlotCellData
typedef sigc::slot< bool,
TreeView *, TreeViewColumn
*, TreeViewColumn
*, TreeViewColumn * > 
SlotColumnDrop
typedef sigc::slot< void,
TreeView *, const
TreeModel::Path & > 
SlotMapping
typedef sigc::slot< bool,
const Glib::RefPtr< TreeModel >
&, const TreeModel::iterator & > 
SlotRowSeparator
typedef sigc::slot< bool,
const Glib::RefPtr< TreeModel >
&, int, const Glib::ustring
&, const TreeModel::iterator & > 
SlotSearchEqual
 void on_search_equal(const Glib::RefPtr<TreeModel>& model, int column, const Glib::ustring& key, const TreeModel::iterator& iter)

Public Member Functions

bool _cpp_destruction_is_in_progress () const
Glib::RefPtr< Gtk::TreeModel_get_base_model ()
 Get the treeview's model, but actually get the child model if it's a TreeModelFilter.
bool activate ()
virtual void add (Widget &widget)
void add_accelerator (const Glib::ustring &accel_signal, const Glib::RefPtr< AccelGroup > &accel_group, guint accel_key, Gdk::ModifierType accel_mods, AccelFlags accel_flags)
void add_events (Gdk::EventMask events)
void add_mnemonic_label (Widget &label)
void add_modal_grab ()
bool app_paintable () const
int append_column (const Glib::ustring &title, CellRenderer &cell)
 Creates a View column containing the CellRenderer, and appends it.
template<class ColumnType>
int append_column (const Glib::ustring &title, const TreeModelColumn< ColumnType > &model_column)
int append_column (TreeViewColumn &column)
template<class ColumnType>
int append_column_editable (const Glib::ustring &title, const TreeModelColumn< ColumnType > &model_column)
template<class ColumnType>
int append_column_numeric (const Glib::ustring &title, const TreeModelColumn< ColumnType > &model_column, const Glib::ustring &format)
template<class ColumnType>
int append_column_numeric_editable (const Glib::ustring &title, const TreeModelColumn< ColumnType > &model_column, const Glib::ustring &format)
bool can_default () const
bool can_focus () const
void check_resize ()
 Request that contained widgets check their size.
bool child_focus (DirectionType direction)
void child_notify (const Glib::ustring &child_property)
GType child_type () const
void class_path (Glib::ustring &path, Glib::ustring &path_reversed)
void collapse_all ()
bool collapse_row (const TreeModel::Path &path)
void columns_autosize ()
Glib::RefPtr< Pango::Contextcreate_pango_context ()
Glib::RefPtr< Pango::Layoutcreate_pango_layout (const Glib::ustring &text)
Glib::RefPtr< Gdk::Pixmapcreate_row_drag_icon (const TreeModel::Path &path)
bool double_buffered () const
Glib::RefPtr< Gdk::DragContextdrag_begin (const Glib::RefPtr< TargetList > &targets, Gdk::DragAction actions, int button, GdkEvent *event)
bool drag_check_threshold (int start_x, int start_y, int current_x, int current_y)
void drag_dest_add_image_targets ()
void drag_dest_add_text_targets ()
void drag_dest_add_uri_targets ()
Glib::ustring drag_dest_find_target (const Glib::RefPtr< Gdk::DragContext > &context) const
Glib::ustring drag_dest_find_target (const Glib::RefPtr< Gdk::DragContext > &context, const Glib::RefPtr< TargetList > &target_list) const
Glib::RefPtr< const TargetList > drag_dest_get_target_list () const
Glib::RefPtr< TargetList > drag_dest_get_target_list ()
void drag_dest_set (const ArrayHandle_TargetEntry &targets, DestDefaults flags=DEST_DEFAULT_ALL, Gdk::DragAction actions=Gdk::ACTION_COPY)
void drag_dest_set (DestDefaults flags=DestDefaults(0), Gdk::DragAction actions=Gdk::DragAction(0))
void drag_dest_set_proxy (const Glib::RefPtr< Gdk::Window > &proxy_window, Gdk::DragProtocol protocol, bool use_coordinates)
void drag_dest_set_target_list (const Glib::RefPtr< TargetList > &target_list)
void drag_dest_unset ()
void drag_get_data (const Glib::RefPtr< Gdk::DragContext > &context, Glib::ustring &target, guint32 time)
void drag_highlight ()
void drag_set_as_icon (const Glib::RefPtr< Gdk::DragContext > &context, int hot_x, int hot_y)
void drag_source_add_image_targets ()
void drag_source_add_text_targets ()
void drag_source_add_uri_targets ()
void drag_source_set (const ArrayHandle_TargetEntry &targets, Gdk::ModifierType start_button_mask=Gdk::MODIFIER_MASK, Gdk::DragAction actions=Gdk::ACTION_COPY)
void drag_source_set_icon (const StockID &stock_id)
void drag_source_set_icon (const Glib::RefPtr< Gdk::Pixbuf > &pixbuf)
void drag_source_set_icon (const Glib::RefPtr< Gdk::Colormap > &colormap, const Glib::RefPtr< Gdk::Pixmap > &pixmap, const Glib::RefPtr< Gdk::Bitmap > &mask)
void drag_source_unset ()
void drag_unhighlight ()
void draw_insertion_cursor (Glib::RefPtr< Gdk::Drawable > drawable, const Gdk::Rectangle &area, const Gdk::Rectangle &location, bool is_primary, TextDirection direction, bool draw_arrow=true)
void enable_model_drag_dest (Gdk::DragAction actions=Gdk::ACTION_COPY|Gdk::ACTION_MOVE)
void enable_model_drag_dest (const ArrayHandle_TargetEntry &targets, Gdk::DragAction actions=Gdk::ACTION_COPY|Gdk::ACTION_MOVE)
void enable_model_drag_source (Gdk::ModifierType start_button_mask=Gdk::MODIFIER_MASK, Gdk::DragAction actions=Gdk::ACTION_COPY|Gdk::ACTION_MOVE)
void enable_model_drag_source (const ArrayHandle_TargetEntry &targets, Gdk::ModifierType start_button_mask=Gdk::MODIFIER_MASK, Gdk::DragAction actions=Gdk::ACTION_COPY|Gdk::ACTION_MOVE)
void ensure_style ()
bool event (GdkEvent *event)
void expand_all ()
bool expand_row (const TreeModel::Path &path, bool open_all)
void expand_to_path (const TreeModel::Path &path)
void foreach (const ForeachSlot &slot)
void freeze_child_notify ()
Glib::RefPtr< Atk::Objectget_accessible ()
Allocation get_allocation () const
const Widgetget_ancestor (GType widget_type) const
Widgetget_ancestor (GType widget_type)
void get_background_area (const TreeModel::Path &path, TreeViewColumn &column, Gdk::Rectangle &rect)
Glib::RefPtr< const Gdk::Windowget_bin_window () const
Glib::RefPtr< Gdk::Windowget_bin_window ()
guint get_border_width () const
void get_cell_area (const TreeModel::Path &path, TreeViewColumn &column, Gdk::Rectangle &rect)
bool get_child_visible () const
Glib::ListHandle< const Widget * > get_children () const
Glib::ListHandle< Widget * > get_children ()
 (internal) Operate on contained items (see foreach())
Glib::RefPtr< const Clipboardget_clipboard (const Glib::ustring &selection) const
Glib::RefPtr< Clipboardget_clipboard (const Glib::ustring &selection)
Glib::RefPtr< Gdk::Colormapget_colormap ()
const TreeViewColumnget_column (int n) const
TreeViewColumnget_column (int n)
const CellRendererget_column_cell_renderer (int n) const
CellRendererget_column_cell_renderer (int n)
Glib::ListHandle< const
TreeViewColumn * > 
get_columns () const
Glib::ListHandle
< TreeViewColumn * > 
get_columns ()
Glib::ustring get_composite_name () const
void get_cursor (TreeModel::Path &path, TreeViewColumn *&focus_column)
void * get_data (const QueryQuark &key)
bool get_dest_row_at_pos (int drag_x, int drag_y, TreeModel::Path &path, TreeViewDropPosition &pos) const
TextDirection get_direction ()
Glib::RefPtr< const Gdk::Displayget_display () const
Glib::RefPtr< Gdk::Displayget_display ()
void get_drag_dest_row (TreeModel::Path &path, TreeViewDropPosition &pos) const
bool get_enable_search () const
Gdk::EventMask get_events () const
const TreeViewColumnget_expander_column () const
TreeViewColumnget_expander_column ()
Gdk::ExtensionMode get_extension_events () const
bool get_fixed_height_mode () const
WidgetFlags get_flags () const
Glib::ListHandle< const Widget * > get_focus_chain () const
Glib::ListHandle< Widget * > get_focus_chain ()
const Adjustmentget_focus_hadjustment () const
Adjustmentget_focus_hadjustment ()
const Adjustmentget_focus_vadjustment () const
Adjustmentget_focus_vadjustment ()
const Adjustmentget_hadjustment () const
Adjustmentget_hadjustment ()
bool get_headers_visible () const
int get_height () const
bool get_hover_expand () const
bool get_hover_selection () const
Glib::RefPtr< const TreeModelget_model () const
Glib::RefPtr< TreeModelget_model ()
Glib::RefPtr< const RcStyle > get_modifier_style () const
Glib::RefPtr< RcStyle > get_modifier_style ()
Glib::ustring get_name () const
bool get_no_show_all () const
Glib::RefPtr< Pango::Contextget_pango_context ()
const Containerget_parent () const
Containerget_parent ()
Glib::RefPtr< const Gdk::Windowget_parent_window () const
Glib::RefPtr< Gdk::Windowget_parent_window ()
bool get_path_at_pos (int x, int y, TreeModel::Path &path, TreeViewColumn *&column, int &cell_x, int &cell_y)
void get_pointer (int &x, int &y) const
template<class PropertyType>
void get_property (const Glib::ustring &property_name, PropertyType &value) const
 You probably want to use a specific property_*() accessor method instead.
void get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const
 You probably want to use a specific property_*() accessor method instead.
bool get_reorderable () const
Requisition get_requisition () const
ResizeMode get_resize_mode () const
Glib::RefPtr< const Gdk::Windowget_root_window () const
Glib::RefPtr< Gdk::Windowget_root_window ()
bool get_rules_hint () const
Gtk::StateType get_saved_state () const
Glib::RefPtr< const Gdk::Screenget_screen () const
Glib::RefPtr< Gdk::Screenget_screen ()
int get_search_column () const
Glib::RefPtr< const TreeSelectionget_selection () const
Glib::RefPtr< TreeSelectionget_selection ()
Glib::RefPtr< Settings > get_settings ()
void get_size_request (int &width, int &height) const
Gtk::StateType get_state () const
Glib::RefPtr< const Style > get_style () const
Glib::RefPtr< Style > get_style ()
template<class PropertyType>
void get_style_property (const Glib::ustring &the_property_name, PropertyType &value) const
const Containerget_toplevel () const
Containerget_toplevel ()
const Adjustmentget_vadjustment () const
Adjustmentget_vadjustment ()
void get_visible_rect (Gdk::Rectangle &visible_rect)
Glib::RefPtr< Gdk::Visualget_visual ()
int get_width () const
Glib::RefPtr< const Gdk::Windowget_window () const
Glib::RefPtr< Gdk::Windowget_window ()
const GtkTreeView * gobj () const
 Provides access to the underlying C GtkObject.
GtkTreeView * gobj ()
 Provides access to the underlying C GtkObject.
GObject * gobj_copy () const
void grab_default ()
void grab_focus ()
bool has_default () const
bool has_focus () const
bool has_focus_chain () const
bool has_grab () const
bool has_no_window () const
bool has_screen () const
void hide ()
void hide_all ()
template<class ColumnType>
int insert_column (const Glib::ustring &title, const TreeModelColumn< ColumnType > &model_column, int position)
int insert_column (const Glib::ustring &title, CellRenderer &cell, int position)
int insert_column (TreeViewColumn &column, int position)
template<class ColumnType>
int insert_column_editable (const Glib::ustring &title, const TreeModelColumn< ColumnType > &model_column, int position)
int insert_column_with_data_func (int position, const Glib::ustring &title, CellRenderer &cell, const SlotCellData &slot)
bool intersect (const Gdk::Rectangle &area, Gdk::Rectangle &intersection) const
bool intersect (const Gdk::Rectangle &area) const
bool is_ancestor (Widget &ancestor) const
bool is_composite_child () const
bool is_drawable () const
bool is_focus () const
bool is_managed_ () const
bool is_mapped () const
bool is_realized () const
bool is_sensitive () const
bool is_toplevel () const
bool is_visible () const
Glib::ListHandle< const Widget * > list_mnemonic_labels () const
Glib::ListHandle< Widget * > list_mnemonic_labels ()
void map_expanded_rows (const SlotMapping &slot)
bool mnemonic_activate (bool group_cycling)
void modify_base (StateType state, const Gdk::Color &color)
void modify_bg (StateType state, const Gdk::Color &color)
void modify_bg_pixmap (StateType state, const Glib::ustring &pixmap_name)
void modify_fg (StateType state, const Gdk::Color &color)
void modify_font (const Pango::FontDescription &font_desc)
void modify_style (const Glib::RefPtr< RcStyle > &style)
void modify_text (StateType state, const Gdk::Color &color)
void move_column_after (TreeViewColumn &column, TreeViewColumn &base_column)
void move_column_to_start (TreeViewColumn &column)
bool parent_sensitive () const
void path (Glib::ustring &path, Glib::ustring &path_reversed)
 Compute a widget's path of the form "GtkWindow.MyLabel".
void propagate_expose (Widget &child, GdkEventExpose *event)
Glib::PropertyProxy_ReadOnly
< bool > 
property_app_paintable () const
Glib::PropertyProxy< bool > property_app_paintable ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_can_default () const
Glib::PropertyProxy< bool > property_can_default ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_can_focus () const
Glib::PropertyProxy< bool > property_can_focus ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_composite_child () const
Glib::PropertyProxy_ReadOnly
< bool > 
property_enable_search () const
Glib::PropertyProxy< bool > property_enable_search ()
Glib::PropertyProxy_ReadOnly
< Gdk::EventMask
property_events () const
Glib::PropertyProxy
< Gdk::EventMask
property_events ()
Glib::PropertyProxy_ReadOnly
< TreeViewColumn * > 
property_expander_column () const
Glib::PropertyProxy
< TreeViewColumn * > 
property_expander_column ()
Glib::PropertyProxy_ReadOnly
< Gdk::ExtensionMode > 
property_extension_events () const
Glib::PropertyProxy
< Gdk::ExtensionMode > 
property_extension_events ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_fixed_height_mode () const
Glib::PropertyProxy< bool > property_fixed_height_mode ()
Glib::PropertyProxy_ReadOnly
< Adjustment * > 
property_hadjustment () const
Glib::PropertyProxy< Adjustment * > property_hadjustment ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_has_default () const
Glib::PropertyProxy< bool > property_has_default ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_has_focus () const
Glib::PropertyProxy< bool > property_has_focus ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_headers_clickable () const
Glib::PropertyProxy< bool > property_headers_clickable ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_headers_visible () const
Glib::PropertyProxy< bool > property_headers_visible ()
Glib::PropertyProxy_ReadOnly< int > property_height_request () const
Glib::PropertyProxy< int > property_height_request ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_hover_expand () const
Glib::PropertyProxy< bool > property_hover_expand ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_hover_selection () const
Glib::PropertyProxy< bool > property_hover_selection ()
Glib::PropertyProxy_ReadOnly
< Glib::RefPtr< TreeModel > > 
property_model () const
Glib::PropertyProxy
< Glib::RefPtr< TreeModel > > 
property_model ()
Glib::PropertyProxy_ReadOnly
< Glib::ustring
property_name () const
Glib::PropertyProxy
< Glib::ustring
property_name ()
Glib::PropertyProxy_ReadOnly
< Container * > 
property_parent () const
Glib::PropertyProxy< Container * > property_parent ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_receives_default () const
Glib::PropertyProxy< bool > property_receives_default ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_reorderable () const
Glib::PropertyProxy< bool > property_reorderable ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_rules_hint () const
Glib::PropertyProxy< bool > property_rules_hint ()
Glib::PropertyProxy_ReadOnly< int > property_search_column () const
Glib::PropertyProxy< int > property_search_column ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_sensitive () const
Glib::PropertyProxy< bool > property_sensitive ()
Glib::PropertyProxy_ReadOnly
< Glib::RefPtr< Style > > 
property_style () const
Glib::PropertyProxy
< Glib::RefPtr< Style > > 
property_style ()
Glib::PropertyProxy_ReadOnly
< void * > 
property_user_data () const
Glib::PropertyProxy< void * > property_user_data ()
Glib::PropertyProxy_ReadOnly
< Adjustment * > 
property_vadjustment () const
Glib::PropertyProxy< Adjustment * > property_vadjustment ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_visible () const
Glib::PropertyProxy< bool > property_visible ()
Glib::PropertyProxy_ReadOnly< int > property_width_request () const
Glib::PropertyProxy< int > property_width_request ()
void queue_draw ()
void queue_draw_area (int x, int y, int width, int height)
void queue_resize ()
void queue_resize_no_redraw ()
bool rc_style () const
bool receives_default () const
virtual void reference () const
Gdk::Region region_intersect (const Gdk::Region &region) const
void remove (Widget &widget)
bool remove_accelerator (const Glib::RefPtr< AccelGroup > &accel_group, guint accel_key, Gdk::ModifierType accel_mods)
void remove_all_columns ()
 Removes all View columns.
int remove_column (TreeViewColumn &column)
void remove_data (const QueryQuark &quark)
void remove_mnemonic_label (Widget &label)
void remove_modal_grab ()
Glib::RefPtr< Gdk::Pixbuf > render_icon (const StockID &stock_id, IconSize size, const Glib::ustring &detail=Glib::ustring())
void reparent (Widget &new_parent)
void reset_expander_column ()
void reset_rc_styles ()
void reset_shapes ()
void resize_children ()
void row_activated (const TreeModel::Path &path, TreeViewColumn &column)
bool row_expanded (const TreeModel::Path &path)
void scroll_to_cell (const TreeModel::Path &path, TreeViewColumn &column)
void scroll_to_cell (const TreeModel::Path &path, TreeViewColumn &column, float row_align, float col_align)
void scroll_to_column (TreeViewColumn &column)
void scroll_to_column (TreeViewColumn &column, float col_align)
void scroll_to_point (int tree_x, int tree_y)
void scroll_to_row (const TreeModel::Path &path)
void scroll_to_row (const TreeModel::Path &path, float row_align)
int send_expose (GdkEvent *event)
bool sensitive () const
void set_accel_path (const Glib::ustring &accel_path, const Glib::RefPtr< AccelGroup > &accel_group)
void set_app_paintable (bool app_paintable=true)
void set_border_width (guint border_width)
void set_child_visible (bool is_visible=true)
void set_colormap (const Glib::RefPtr< const Gdk::Colormap > &colormap)
void set_column_drag_function (const SlotColumnDrop &slot)
void set_composite_name (const Glib::ustring &name)
void set_cursor (const TreeModel::Path &path)
void set_cursor (const TreeModel::Path &path, TreeViewColumn &focus_column, CellRenderer &focus_cell, bool start_editing=false)
void set_cursor (const TreeModel::Path &path, TreeViewColumn &focus_column, bool start_editing=false)
void set_data (const Quark &key, void *data, DestroyNotify notify)
void set_data (const Quark &key, void *data)
void set_direction (TextDirection dir)
void set_double_buffered (bool double_buffered=true)
void set_drag_dest_row (const TreeModel::Path &path, TreeViewDropPosition pos)
void set_enable_search (bool enable_search=true)
void set_events (Gdk::EventMask events)
void set_expander_column (TreeViewColumn &column)
void set_extension_events (Gdk::ExtensionMode mode)
void set_fixed_height_mode (bool enable=true)
void set_flags (WidgetFlags flags)
void set_focus_chain (const Glib::ListHandle< Widget * > &focusable_widgets)
void set_focus_child (Widget &widget)
 Sets the focus on a child.
void set_focus_hadjustment (Adjustment &adjustment)
void set_focus_vadjustment (Adjustment &adjustment)
void set_hadjustment (Adjustment &adjustment)
void set_headers_clickable (bool setting=true)
void set_headers_visible (bool headers_visible)
void set_hover_expand (bool expand=true)
void set_hover_selection (bool hover=true)
virtual void set_manage ()
void set_model (const Glib::RefPtr< TreeModel > &model)
void set_name (const Glib::ustring &name)
void set_no_show_all (bool no_show_all=true)
void set_parent (Widget &parent)
void set_parent_window (const Glib::RefPtr< const Gdk::Window > &parent_window)
template<class PropertyType>
void set_property (const Glib::ustring &property_name, const PropertyType &value)
 You probably want to use a specific property_*() accessor method instead.
void set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value)
 You probably want to use a specific property_*() accessor method instead.
void set_reallocate_redraws (bool needs_redraws=true)
void set_redraw_on_allocate (bool redraw_on_allocate=true)
void set_reorderable (bool reorderable=true)
void set_resize_mode (ResizeMode resize_mode)
void set_row_separator_func (const SlotRowSeparator &slot)
void set_rules_hint (bool setting=true)
bool set_scroll_adjustments (Adjustment &hadjustment, Adjustment &vadjustment)
void set_search_column (int column)
void set_search_column (const TreeModelColumnBase &column)
void set_search_equal_func (const SlotSearchEqual &slot)
void set_sensitive (bool sensitive=true)
void set_size_request (int width=-1, int height=-1)
void set_state (Gtk::StateType state)
void set_style (const Glib::RefPtr< Style > &style)
void set_vadjustment (Adjustment &adjustment)
void shape_combine_mask (const Glib::RefPtr< const Gdk::Bitmap > &shape_mask, int offset_x, int offset_y)
void show ()
void show_all ()
void show_all_children (bool recursive=true)
void show_now ()
Glib::SignalProxy1< void,
Widget * > 
signal_add ()
Glib::SignalProxy1< bool,
GdkEventButton * > 
signal_button_press_event ()
Glib::SignalProxy1< bool,
GdkEventButton * > 
signal_button_release_event ()
Glib::SignalProxy0< void > signal_check_resize ()
Glib::SignalProxy1< void,
GParamSpec * > 
signal_child_notify ()
Glib::SignalProxy1< bool,
GdkEventClient * > 
signal_client_event ()
Glib::SignalProxy0< void > signal_columns_changed ()
Glib::SignalProxy1< bool,
GdkEventConfigure * > 
signal_configure_event ()
Glib::SignalProxy0< void > signal_cursor_changed ()
Glib::SignalProxy1< bool,
GdkEventAny * > 
signal_delete_event ()
Glib::SignalProxy1< void,
TextDirection > 
signal_direction_changed ()
Glib::SignalProxy1< void,
const Glib::RefPtr
< Gdk::DragContext > & > 
signal_drag_begin ()
Glib::SignalProxy1< void,
const Glib::RefPtr
< Gdk::DragContext > & > 
signal_drag_data_delete ()
Glib::SignalProxy4< void,
const Glib::RefPtr
< Gdk::DragContext >
&, SelectionData &, guint,
guint > 
signal_drag_data_get ()
Glib::SignalProxy6< void,
const Glib::RefPtr
< Gdk::DragContext > &, int,
int, const SelectionData
&, guint, guint > 
signal_drag_data_received ()
Glib::SignalProxy4< bool,
const Glib::RefPtr
< Gdk::DragContext > &, int,
int, guint > 
signal_drag_drop ()
Glib::SignalProxy1< void,
const Glib::RefPtr
< Gdk::DragContext > & > 
signal_drag_end ()
Glib::SignalProxy2< void,
const Glib::RefPtr
< Gdk::DragContext > &, guint > 
signal_drag_leave ()
Glib::SignalProxy4< bool,
const Glib::RefPtr
< Gdk::DragContext > &, int,
int, guint > 
signal_drag_motion ()
Glib::SignalProxy1< bool,
GdkEventCrossing * > 
signal_enter_notify_event ()
Glib::SignalProxy1< bool,
GdkEvent * > 
signal_event ()
Glib::SignalProxy1< void,
GdkEvent * > 
signal_event_after ()
Glib::SignalProxy1< bool,
GdkEventExpose * > 
signal_expose_event ()
Glib::SignalProxy1< bool,
DirectionType > 
signal_focus ()
Glib::SignalProxy1< bool,
GdkEventFocus * > 
signal_focus_in_event ()
Glib::SignalProxy1< bool,
GdkEventFocus * > 
signal_focus_out_event ()
Glib::SignalProxy0
< Glib::RefPtr< Atk::Object > > 
signal_get_accessible ()
Glib::SignalProxy0< void > signal_grab_focus ()
Glib::SignalProxy1< void, bool > signal_grab_notify ()
Glib::SignalProxy0< void > signal_hide ()
Glib::SignalProxy1< void,
Widget * > 
signal_hierarchy_changed ()
Glib::SignalProxy1< bool,
GdkEventKey * > 
signal_key_press_event ()
Glib::SignalProxy1< bool,
GdkEventKey * > 
signal_key_release_event ()
Glib::SignalProxy1< bool,
GdkEventCrossing * > 
signal_leave_notify_event ()
Glib::SignalProxy0< void > signal_map ()
Glib::SignalProxy1< bool,
GdkEventAny * > 
signal_map_event ()
Glib::SignalProxy1< bool, bool > signal_mnemonic_activate ()
Glib::SignalProxy1< bool,
GdkEventMotion * > 
signal_motion_notify_event ()
Glib::SignalProxy1< bool,
GdkEventAny * > 
signal_no_expose_event ()
Glib::SignalProxy1< void,
Widget * > 
signal_parent_changed ()
Glib::SignalProxy1< bool,
GdkEventProperty * > 
signal_property_notify_event ()
Glib::SignalProxy1< bool,
GdkEventProximity * > 
signal_proximity_in_event ()
Glib::SignalProxy1< bool,
GdkEventProximity * > 
signal_proximity_out_event ()
Glib::SignalProxy0< void > signal_realize ()
Glib::SignalProxy1< void,
Widget * > 
signal_remove ()
Glib::SignalProxy2< void,
const TreeModel::Path
&, TreeViewColumn * > 
signal_row_activated ()
Glib::SignalProxy2< void,
const TreeModel::iterator
&, const TreeModel::Path & > 
signal_row_collapsed ()
Glib::SignalProxy2< void,
const TreeModel::iterator
&, const TreeModel::Path & > 
signal_row_expanded ()
Glib::SignalProxy1< void,
const Glib::RefPtr
< Gdk::Screen > & > 
signal_screen_changed ()
Glib::SignalProxy1< bool,
GdkEventScroll * > 
signal_scroll_event ()
Glib::SignalProxy1< bool,
GdkEventSelection * > 
signal_selection_clear_event ()
Glib::SignalProxy3< void,
SelectionData &, guint, guint > 
signal_selection_get ()
Glib::SignalProxy1< bool,
GdkEventSelection * > 
signal_selection_notify_event ()
Glib::SignalProxy2< void,
const SelectionData &, guint > 
signal_selection_received ()
Glib::SignalProxy1< bool,
GdkEventSelection * > 
signal_selection_request_event ()
Glib::SignalProxy1< void,
Widget * > 
signal_set_focus_child ()
Glib::SignalProxy2< void,
Adjustment *, Adjustment * > 
signal_set_scroll_adjustments ()
Glib::SignalProxy0< void > signal_show ()
Glib::SignalProxy1< void,
Allocation & > 
signal_size_allocate ()
Glib::SignalProxy1< void,
Requisition * > 
signal_size_request ()
Glib::SignalProxy1< void,
Gtk::StateType > 
signal_state_changed ()
Glib::SignalProxy1< void,
const Glib::RefPtr< Style > & > 
signal_style_changed ()
Glib::SignalProxy2< bool,
const TreeModel::iterator
&, const TreeModel::Path & > 
signal_test_collapse_row ()
Glib::SignalProxy2< bool,
const TreeModel::iterator
&, const TreeModel::Path & > 
signal_test_expand_row ()
Glib::SignalProxy0< void > signal_unmap ()
Glib::SignalProxy1< bool,
GdkEventAny * > 
signal_unmap_event ()
Glib::SignalProxy0< void > signal_unrealize ()
Glib::SignalProxy1< bool,
GdkEventVisibility * > 
signal_visibility_notify_event ()
Glib::SignalProxy1< bool,
GdkEventWindowState * > 
signal_window_state_event ()
void size_allocate (const Allocation &allocation)
void size_request (const Requisition &requisition)
Requisition size_request () const
void * steal_data (const QueryQuark &quark)
void thaw_child_notify ()
bool translate_coordinates (Widget &dest_widget, int src_x, int src_y, int &dest_x, int &dest_y)
void tree_to_widget_coords (int tx, int ty, int &wx, int &wy)
 TreeView (const Glib::RefPtr< TreeModel > &model)
 TreeView ()
void unparent ()
virtual void unreference () const
void unset_base (StateType state)
void unset_bg (StateType state)
void unset_column_drag_function ()
void unset_composite_name ()
void unset_fg (StateType state)
void unset_flags (WidgetFlags flags)
void unset_focus_chain ()
void unset_font ()
void unset_hadjustment ()
void unset_name ()
void unset_rows_drag_dest ()
void unset_rows_drag_source ()
void unset_shape_combine_mask ()
void unset_style ()
void unset_text (StateType state)
void unset_vadjustment ()
void widget_to_tree_coords (int wx, int wy, int &tx, int &ty)

Static Public Member Functions

static ObjectBase * _get_current_wrapper (GObject *object)
static void add_interface (GType gtype_implementer)
static Widgetdrag_get_source_widget (const Glib::RefPtr< Gdk::DragContext > &context)
static GType get_base_type () G_GNUC_CONST
static Widgetget_current_modal_grab ()
static Glib::RefPtr
< Gdk::Colormap
get_default_colormap ()
static TextDirection get_default_direction ()
static Glib::RefPtr< Style > get_default_style ()
static Glib::RefPtr< Gdk::Visualget_default_visual ()
static GType get_type () G_GNUC_CONST
static void pop_colormap ()
static void pop_composite_child ()
static void push_colormap (const Glib::RefPtr< const Gdk::Colormap > &cmap)
static void push_composite_child ()
static void set_default_colormap (const Glib::RefPtr< const Gdk::Colormap > &colormap)
static void set_default_direction (TextDirection dir)

Protected Member Functions

void _auto_store_on_cellrenderer_toggle_edited (const Glib::ustring &path_string, int model_column)
void _destroy_c_instance ()
void _init_unmanage (bool is_toplevel=false)
void _set_current_wrapper (GObject *object)
virtual GtkType child_type_vfunc () const
virtual char * composite_name_vfunc (GtkWidget *child)
void destroy_ ()
virtual void destroy_notify_ ()
void disconnect_cpp_wrapper ()
virtual void dispatch_child_properties_changed_vfunc (guint p1, GParamSpec **p2)
virtual void forall_vfunc (gboolean include_internals, GtkCallback callback, gpointer callback_data)
virtual Glib::RefPtr< Atk::Objectget_accessible_vfunc ()
virtual void get_child_property_vfunc (GtkWidget *child, guint property_id, GValue *value, GParamSpec *pspec) const
void get_child_requisition (Requisition &requisition) const
void get_style_property_value (const Glib::ustring &the_property_name, Glib::ValueBase &value) const
virtual void hide_all_vfunc ()
void initialize (GObject *castitem)
bool is_anonymous_custom_ () const
bool is_derived_ () const
void map ()
virtual void on_add (Widget *widget)
virtual bool on_button_press_event (GdkEventButton *event)
virtual bool on_button_release_event (GdkEventButton *event)
virtual void on_check_resize ()
virtual void on_child_notify (GParamSpec *pspec)
virtual bool on_client_event (GdkEventClient *event)
virtual void on_columns_changed ()
virtual bool on_configure_event (GdkEventConfigure *event)
virtual void on_cursor_changed ()
virtual bool on_delete_event (GdkEventAny *event)
virtual void on_direction_changed (TextDirection direction)
virtual void on_drag_begin (const Glib::RefPtr< Gdk::DragContext > &context)
virtual void on_drag_data_delete (const Glib::RefPtr< Gdk::DragContext > &context)
virtual void on_drag_data_get (const Glib::RefPtr< Gdk::DragContext > &context, SelectionData &selection_data, guint info, guint time)
virtual void on_drag_data_received (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, const SelectionData &selection_data, guint info, guint time)
virtual bool on_drag_drop (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint time)
virtual void on_drag_end (const Glib::RefPtr< Gdk::DragContext > &context)
virtual void on_drag_leave (const Glib::RefPtr< Gdk::DragContext > &context, guint time)
virtual bool on_drag_motion (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint time)
virtual bool on_enter_notify_event (GdkEventCrossing *event)
virtual bool on_event (GdkEvent *event)
virtual bool on_expose_event (GdkEventExpose *event)
virtual bool on_focus (DirectionType direction)
virtual bool on_focus_in_event (GdkEventFocus *event)
virtual bool on_focus_out_event (GdkEventFocus *event)
virtual Glib::RefPtr< Atk::Objecton_get_accessible ()
virtual void on_grab_focus ()
virtual void on_grab_notify (bool was_grabbed)
virtual void on_hide ()
virtual void on_hierarchy_changed (Widget *previous_toplevel)
virtual bool on_key_press_event (GdkEventKey *event)
virtual bool on_key_release_event (GdkEventKey *event)
virtual bool on_leave_notify_event (GdkEventCrossing *event)
virtual void on_map ()
virtual bool on_map_event (GdkEventAny *event)
virtual bool on_mnemonic_activate (bool group_cycling)
virtual bool on_motion_notify_event (GdkEventMotion *event)
virtual bool on_no_expose_event (GdkEventAny *event)
virtual void on_parent_changed (Widget *previous_parent)
virtual bool on_property_notify_event (GdkEventProperty *event)
virtual bool on_proximity_in_event (GdkEventProximity *event)
virtual bool on_proximity_out_event (GdkEventProximity *event)
virtual void on_realize ()
virtual void on_remove (Widget *widget)
virtual void on_row_activated (const TreeModel::Path &path, TreeViewColumn *column)
virtual void on_row_collapsed (const TreeModel::iterator &iter, const TreeModel::Path &path)
virtual void on_row_expanded (const TreeModel::iterator &iter, const TreeModel::Path &path)
virtual void on_screen_changed (const Glib::RefPtr< Gdk::Screen > &previous_screen)
virtual bool on_scroll_event (GdkEventScroll *event)
virtual bool on_selection_clear_event (GdkEventSelection *event)
virtual void on_selection_get (SelectionData &selection_data, guint info, guint time)
virtual bool on_selection_notify_event (GdkEventSelection *event)
virtual void on_selection_received (const SelectionData &selection_data, guint time)
virtual bool on_selection_request_event (GdkEventSelection *event)
virtual void on_set_focus_child (Widget *widget)
virtual void on_set_scroll_adjustments (Adjustment *hadjustment, Adjustment *vadjustment)
virtual void on_show ()
virtual void on_size_allocate (Allocation &allocation)
virtual void on_size_request (Requisition *requisition)
virtual void on_state_changed (Gtk::StateType previous_state)
virtual void on_style_changed (const Glib::RefPtr< Style > &previous_style)
virtual bool on_test_collapse_row (const TreeModel::iterator &iter, const TreeModel::Path &path)
virtual bool on_test_expand_row (const TreeModel::iterator &iter, const TreeModel::Path &path)
virtual void on_unmap ()
virtual bool on_unmap_event (GdkEventAny *event)
virtual void on_unrealize ()
virtual bool on_visibility_notify_event (GdkEventVisibility *event)
virtual bool on_window_state_event (GdkEventWindowState *event)
Glib::PropertyProxy_ReadOnly
< guint > 
property_border_width () const
Glib::PropertyProxy< guint > property_border_width ()
Glib::PropertyProxy_ReadOnly
< Widget * > 
property_child () const
Glib::PropertyProxy_WriteOnly
< Widget * > 
property_child ()
Glib::PropertyProxy_ReadOnly
< ResizeMode > 
property_resize_mode () const
Glib::PropertyProxy< ResizeMode > property_resize_mode ()
void realize ()
void realize_if_needed ()
virtual Glib::RefPtr< Object > ref_accessibile_vfunc ()
void set_allocation (const Allocation &value)
virtual void set_child_property_vfunc (GtkWidget *child, guint property_id, const GValue *value, GParamSpec *pspec)
void set_window (const Glib::RefPtr< Gdk::Window > &value)
virtual void show_all_vfunc ()
 TreeView (GtkTreeView *castitem)
 TreeView (const Glib::ConstructParams &construct_params)
void unmap ()
void unrealize ()

Static Protected Member Functions

static void callback_destroy_ (GObject *gobject, void *data)
static void destroy_notify_callback_ (void *data)

Protected Attributes

bool cpp_destruction_in_progress_
const char * custom_type_name_
GObject * gobject_
bool gobject_disposed_
bool referenced_

Package Functions

void add_destroy_notify_callback (void *data, func_destroy_notify func) const
void notify_callbacks ()
 Execute and remove all previously installed callbacks.
void remove_destroy_notify_callback (void *data) const

Package Attributes

 __pad0__:func_destroy_notify func_destroy_notify

Private Member Functions

TreeViewoperator= (const TreeView &)
 TreeView (const TreeView &)

Static Private Attributes

static CppClassType treeview_class_

Friends

template<class ColumnType>
void _auto_store_on_cellrenderer_text_edited_numerical (const Glib::ustring &path_string, const Glib::ustring &new_text, int model_column, Gtk::TreeView *)
template<class ColumnType>
void _auto_store_on_cellrenderer_text_edited_string (const Glib::ustring &path_string, const Glib::ustring &new_text, int model_column, Gtk::TreeView *)
class Glib::GSigConnectionNode
class Glib::Object_Class
class Main
class TreeView_Class
template<class ColumnType>
void TreeView_Private::_connect_auto_store_editable_signal_handler (TreeView *, CellRenderer *, const TreeModelColumn< ColumnType > &)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Atk::Implementor > wrap (AtkImplementor *object, bool take_copy=false)
Glib::RefPtr< Glib::Object > wrap (GObject *object, bool take_copy=false)
Gtk::Object * wrap (GtkObject *object, bool take_copy=false)
Gtk::Widgetwrap (GtkWidget *object, bool take_copy=false)
Gtk::Containerwrap (GtkContainer *object, bool take_copy=false)
Gtk::TreeViewwrap (GtkTreeView *object, bool take_copy=false)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index