Ardour  8.7-14-g57a6773833
Gtk::ListViewText Class Reference

#include <listviewtext.h>

Inheritance diagram for Gtk::ListViewText:
[legend]

Classes

class  TextModelColumns
 

Public Types

typedef std::vector< int > SelectionList
 
- Public Types inherited from Gtk::TreeView
typedef TreeViewColumn Column
 
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 > &, 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) More...
 
typedef sigc::slot< void, Gtk::Widget * > SlotSearchPosition
 void on_search_position(Gtk::Widget* search_dialog) More...
 
typedef sigc::slot< bool, const Glib::RefPtr< TreeModel > &, const TreeModel::iterator & > SlotRowSeparator
 
- Public Types inherited from Gtk::Container
typedef sigc::slot< void, Widget & > ForeachSlot
 

Public Member Functions

 ListViewText (guint columns_count, bool editable=false, Gtk::SelectionMode mode=Gtk::SELECTION_SINGLE)
 
virtual ~ListViewText ()
 
void set_column_title (guint column, const Glib::ustring &title)
 
Glib::ustring get_column_title (guint column) const
 
guint append_text (const Glib::ustring &column_one_value=Glib::ustring())
 
void prepend_text (const Glib::ustring &column_one_value=Glib::ustring())
 
void insert_text (guint row, const Glib::ustring &column_one_value=Glib::ustring())
 
guint append (const Glib::ustring &column_one_value=Glib::ustring())
 
void prepend (const Glib::ustring &column_one_value=Glib::ustring())
 
void insert (guint row, const Glib::ustring &column_one_value=Glib::ustring())
 
void clear_items ()
 Discard all row: More...
 
Glib::ustring get_text (guint row, guint column=0) const
 
void set_text (guint row, guint column, const Glib::ustring &value)
 
void set_text (guint row, const Glib::ustring &value)
 
guint size () const
 
guint get_num_columns () const
 
SelectionList get_selected ()
 
- Public Member Functions inherited from Gtk::TreeView
virtual ~TreeView ()
 
GtkTreeViewgobj ()
 Provides access to the underlying C GtkObject. More...
 
const GtkTreeViewgobj () const
 Provides access to the underlying C GtkObject. More...
 
 TreeView ()
 
 TreeView (const Glib::RefPtr< TreeModel > &model)
 
Glib::RefPtr< TreeModelget_model ()
 
Glib::RefPtr< const TreeModelget_model () const
 
void set_model (const Glib::RefPtr< TreeModel > &model)
 
void unset_model ()
 
Glib::RefPtr< TreeSelectionget_selection ()
 
Glib::RefPtr< const TreeSelectionget_selection () const
 
Adjustmentget_hadjustment ()
 
const Adjustmentget_hadjustment () const
 
void set_hadjustment (Adjustment &adjustment)
 
void unset_hadjustment ()
 
Adjustmentget_vadjustment ()
 
const Adjustmentget_vadjustment () const
 
void set_vadjustment (Adjustment &adjustment)
 
void unset_vadjustment ()
 
bool get_headers_visible () const
 
void set_headers_visible (bool headers_visible=true)
 
void columns_autosize ()
 
bool get_headers_clickable () const
 
void set_headers_clickable (bool setting=true)
 
void set_rules_hint (bool setting=true)
 
bool get_rules_hint () const
 
int append_column (TreeViewColumn &column)
 
template<class ColumnType >
int append_column (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_editable (const Glib::ustring &title, const TreeModelColumn< ColumnType > &model_column)
 
template<class ColumnType >
int append_column_numeric_editable (const Glib::ustring &title, const TreeModelColumn< ColumnType > &model_column, const Glib::ustring &format)
 
int append_column (const Glib::ustring &title, CellRenderer &cell)
 Creates a View column containing the CellRenderer, and appends it. More...
 
int remove_column (TreeViewColumn &column)
 
void remove_all_columns ()
 Removes all View columns. More...
 
int insert_column (TreeViewColumn &column, int position)
 
int insert_column (const Glib::ustring &title, CellRenderer &cell, int position)
 
template<class ColumnType >
int insert_column (const Glib::ustring &title, const TreeModelColumn< ColumnType > &model_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)
 
TreeViewColumnget_column (int n)
 
const TreeViewColumnget_column (int n) const
 
CellRendererget_column_cell_renderer (int n)
 
const CellRendererget_column_cell_renderer (int n) const
 
Glib::ListHandle< TreeViewColumn * > get_columns ()
 
Glib::ListHandle< const TreeViewColumn * > get_columns () const
 
void move_column_after (TreeViewColumn &column, TreeViewColumn &base_column)
 
void move_column_to_start (TreeViewColumn &column)
 
void set_expander_column (TreeViewColumn &column)
 
void reset_expander_column ()
 
TreeViewColumnget_expander_column ()
 
const TreeViewColumnget_expander_column () const
 
void set_column_drag_function (const SlotColumnDrop &slot)
 
void unset_column_drag_function ()
 
void scroll_to_point (int tree_x, int tree_y)
 
void scroll_to_cell (const TreeModel::Path &path, TreeViewColumn &column, float row_align, float col_align)
 
void scroll_to_cell (const TreeModel::Path &path, TreeViewColumn &column)
 
void scroll_to_row (const TreeModel::Path &path, float row_align)
 
void scroll_to_row (const TreeModel::Path &path)
 
void scroll_to_column (TreeViewColumn &column, float col_align)
 
void scroll_to_column (TreeViewColumn &column)
 
void row_activated (const TreeModel::Path &path, TreeViewColumn &column)
 
void expand_all ()
 
void collapse_all ()
 
void expand_to_path (const TreeModel::Path &path)
 
bool expand_row (const TreeModel::Path &path, bool open_all)
 
bool collapse_row (const TreeModel::Path &path)
 
void map_expanded_rows (const SlotMapping &slot)
 
bool row_expanded (const TreeModel::Path &path)
 
void set_reorderable (bool reorderable=true)
 
bool get_reorderable () const
 
void set_cursor (const TreeModel::Path &path, TreeViewColumn &focus_column, bool start_editing=false)
 
void set_cursor (const TreeModel::Path &path, TreeViewColumn &focus_column, CellRenderer &focus_cell, bool start_editing=false)
 
void set_cursor (const TreeModel::Path &path)
 
void get_cursor (TreeModel::Path &path, TreeViewColumn *&focus_column)
 
Glib::RefPtr< Gdk::Windowget_bin_window ()
 
Glib::RefPtr< const Gdk::Windowget_bin_window () const
 
bool get_path_at_pos (int x, int y, TreeModel::Path &path, TreeViewColumn *&column, int &cell_x, int &cell_y)
 
bool get_path_at_pos (int x, int y, TreeModel::Path &path, TreeViewColumn *&column, int &cell_x, int &cell_y) const
 
bool get_path_at_pos (int x, int y, TreeModel::Path &path) const
 
void get_cell_area (const TreeModel::Path &path, TreeViewColumn &column, Gdk::Rectangle &rect)
 
void get_cell_area (const TreeModel::Path &path, TreeViewColumn &column, Gdk::Rectangle &rect) const
 
void get_background_area (const TreeModel::Path &path, TreeViewColumn &column, Gdk::Rectangle &rect)
 
void get_background_area (const TreeModel::Path &path, TreeViewColumn &column, Gdk::Rectangle &rect) const
 
void get_visible_rect (Gdk::Rectangle &visible_rect)
 
void get_visible_rect (Gdk::Rectangle &visible_rect) const
 
void widget_to_tree_coords (int wx, int wy, int &tx, int &ty)
 
void widget_to_tree_coords (int wx, int wy, int &tx, int &ty) const
 
void tree_to_widget_coords (int tx, int ty, int &wx, int &wy)
 
void tree_to_widget_coords (int tx, int ty, int &wx, int &wy) const
 
bool get_visible_range (TreeModel::Path &start_path, TreeModel::Path &end_path) const
 
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 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_dest (const ArrayHandle_TargetEntry &targets, Gdk::DragAction actions=Gdk::ACTION_COPY|Gdk::ACTION_MOVE)
 
void enable_model_drag_dest (Gdk::DragAction actions=Gdk::ACTION_COPY|Gdk::ACTION_MOVE)
 
void unset_rows_drag_source ()
 
void unset_rows_drag_dest ()
 
void set_drag_dest_row (const TreeModel::Path &path, TreeViewDropPosition pos)
 
void get_drag_dest_row (TreeModel::Path &path, TreeViewDropPosition &pos) const
 
bool get_dest_row_at_pos (int drag_x, int drag_y, TreeModel::Path &path, TreeViewDropPosition &pos) const
 
Glib::RefPtr< Gdk::Pixmapcreate_row_drag_icon (const TreeModel::Path &path)
 
void set_enable_search (bool enable_search=true)
 
bool get_enable_search () const
 
int get_search_column () const
 
void set_search_column (const TreeModelColumnBase &column)
 
void set_search_column (int column)
 
void set_search_equal_func (const SlotSearchEqual &slot)
 
Entryget_search_entry ()
 
const Entryget_search_entry () const
 
void set_search_entry (Entry &entry)
 
void set_search_position_func (const SlotSearchPosition &slot)
 
void convert_widget_to_tree_coords (int wx, int wy, int &tx, int &ty) const
 
void convert_tree_to_widget_coords (int tx, int ty, int &wx, int &wy) const
 
void convert_widget_to_bin_window_coords (int wx, int wy, int &bx, int &by) const
 
void convert_bin_window_to_widget_coords (int bx, int by, int &wx, int &wy) const
 
void convert_tree_to_bin_window_coords (int tx, int ty, int &bx, int &by) const
 
void convert_bin_window_to_tree_coords (int bx, int by, int &tx, int &ty) const
 
void set_fixed_height_mode (bool enable=true)
 
bool get_fixed_height_mode () const
 
void set_hover_selection (bool hover=true)
 
bool get_hover_selection () const
 
void set_hover_expand (bool expand=true)
 
bool get_hover_expand () const
 
void set_rubber_banding (bool enable=true)
 
bool get_rubber_banding () const
 
bool is_rubber_banding_active () const
 
void set_row_separator_func (const SlotRowSeparator &slot)
 
void set_grid_lines (TreeViewGridLines grid_lines)
 
TreeViewGridLines get_grid_lines () const
 
void set_enable_tree_lines (bool enable=true)
 
bool get_enable_tree_lines () const
 
void set_show_expanders (bool enabled=true)
 
bool get_show_expanders () const
 
void set_level_indentation (int indentation)
 
int get_level_indentation () const
 
void set_tooltip_row (const Glib::RefPtr< Tooltip > &tooltip, const TreePath &path)
 
void set_tooltip_cell (const Glib::RefPtr< Tooltip > &tooltip, const TreeModel::Path *path, TreeViewColumn *column, CellRenderer *cell)
 
bool get_tooltip_context_path (int &x, int &y, bool keyboard_tip, TreeModel::Path &path)
 
bool get_tooltip_context_iter (int &x, int &y, bool keyboard_tip, Gtk::TreeModel::iterator &iter)
 
void set_tooltip_column (int column)
 
int get_tooltip_column () const
 
Glib::SignalProxy2< void, Adjustment *, Adjustment * > signal_set_scroll_adjustments ()
 
Glib::SignalProxy2< void, const TreeModel::Path &, TreeViewColumn * > signal_row_activated ()
 
Glib::SignalProxy2< bool, const TreeModel::iterator &, const TreeModel::Path & > signal_test_expand_row ()
 
Glib::SignalProxy2< bool, const TreeModel::iterator &, const TreeModel::Path & > signal_test_collapse_row ()
 
Glib::SignalProxy2< void, const TreeModel::iterator &, const TreeModel::Path & > signal_row_expanded ()
 
Glib::SignalProxy2< void, const TreeModel::iterator &, const TreeModel::Path & > signal_row_collapsed ()
 
Glib::SignalProxy0< void > signal_cursor_changed ()
 
Glib::SignalProxy0< void > signal_columns_changed ()
 
Glib::PropertyProxy< Glib::RefPtr< TreeModel > > property_model ()
 
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< TreeModel > > property_model () const
 
Glib::PropertyProxy< Adjustment * > property_hadjustment ()
 
Glib::PropertyProxy_ReadOnly< Adjustment * > property_hadjustment () const
 
Glib::PropertyProxy< Adjustment * > property_vadjustment ()
 
Glib::PropertyProxy_ReadOnly< Adjustment * > property_vadjustment () const
 
Glib::PropertyProxy< bool > property_headers_visible ()
 
Glib::PropertyProxy_ReadOnly< bool > property_headers_visible () const
 
Glib::PropertyProxy< bool > property_headers_clickable ()
 
Glib::PropertyProxy_ReadOnly< bool > property_headers_clickable () const
 
Glib::PropertyProxy< TreeViewColumn * > property_expander_column ()
 
Glib::PropertyProxy_ReadOnly< TreeViewColumn * > property_expander_column () const
 
Glib::PropertyProxy< bool > property_reorderable ()
 
Glib::PropertyProxy_ReadOnly< bool > property_reorderable () const
 
Glib::PropertyProxy< bool > property_rules_hint ()
 
Glib::PropertyProxy_ReadOnly< bool > property_rules_hint () const
 
Glib::PropertyProxy< bool > property_enable_search ()
 
Glib::PropertyProxy_ReadOnly< bool > property_enable_search () const
 
Glib::PropertyProxy< int > property_search_column ()
 
Glib::PropertyProxy_ReadOnly< int > property_search_column () const
 
Glib::PropertyProxy< bool > property_fixed_height_mode ()
 
Glib::PropertyProxy_ReadOnly< bool > property_fixed_height_mode () const
 
Glib::PropertyProxy< bool > property_hover_selection ()
 
Glib::PropertyProxy_ReadOnly< bool > property_hover_selection () const
 
Glib::PropertyProxy< bool > property_hover_expand ()
 
Glib::PropertyProxy_ReadOnly< bool > property_hover_expand () const
 
Glib::PropertyProxy< bool > property_show_expanders ()
 
Glib::PropertyProxy_ReadOnly< bool > property_show_expanders () const
 
Glib::PropertyProxy< bool > property_level_indentation ()
 
Glib::PropertyProxy_ReadOnly< bool > property_level_indentation () const
 
Glib::PropertyProxy< bool > property_rubber_banding ()
 
Glib::PropertyProxy_ReadOnly< bool > property_rubber_banding () const
 
Glib::PropertyProxy< bool > property_enable_grid_lines ()
 
Glib::PropertyProxy_ReadOnly< bool > property_enable_grid_lines () const
 
Glib::PropertyProxy< bool > property_enable_tree_lines ()
 
Glib::PropertyProxy_ReadOnly< bool > property_enable_tree_lines () const
 
Glib::PropertyProxy< int > property_tooltip_column ()
 
Glib::PropertyProxy_ReadOnly< int > property_tooltip_column () const
 
Glib::RefPtr< Gtk::TreeModel_get_base_model ()
 Get the treeview's model, but actually get the child model if it's a TreeModelFilter. More...
 
- Public Member Functions inherited from Gtk::Container
virtual ~Container ()
 
GtkContainergobj ()
 Provides access to the underlying C GtkObject. More...
 
const GtkContainergobj () const
 Provides access to the underlying C GtkObject. More...
 
void set_border_width (guint border_width)
 
guint get_border_width () const
 
virtual void add (Widget &widget)
 
void remove (Widget &widget)
 
void set_resize_mode (ResizeMode resize_mode)
 
ResizeMode get_resize_mode () const
 
void check_resize ()
 
void foreach (const ForeachSlot &slot)
 
Glib::ListHandle< Widget * > get_children ()
 (internal) Operate on contained items (see foreach()) More...
 
Glib::ListHandle< const Widget * > get_children () const
 
void propagate_expose (Widget &child, GdkEventExpose *event)
 
void set_focus_chain (const Glib::ListHandle< Widget * > &focusable_widgets)
 
bool has_focus_chain () const
 
Glib::ListHandle< Widget * > get_focus_chain ()
 
Glib::ListHandle< const Widget * > get_focus_chain () const
 
void unset_focus_chain ()
 
void set_reallocate_redraws (bool needs_redraws=true)
 
void set_focus_child (Widget &widget)
 
void set_focus_vadjustment (Adjustment &adjustment)
 
Adjustmentget_focus_vadjustment ()
 
const Adjustmentget_focus_vadjustment () const
 
void set_focus_hadjustment (Adjustment &adjustment)
 
Adjustmentget_focus_hadjustment ()
 
const Adjustmentget_focus_hadjustment () const
 
void resize_children ()
 
GType child_type () const
 
Glib::SignalProxy1< void, Widget * > signal_add ()
 
Glib::SignalProxy1< void, Widget * > signal_remove ()
 
Glib::SignalProxy0< void > signal_check_resize ()
 
Glib::SignalProxy1< void, Widget * > signal_set_focus_child ()
 
void show_all_children (bool recursive=true)
 
- Public Member Functions inherited from Gtk::Widget
virtual ~Widget ()
 
GtkWidgetgobj ()
 Provides access to the underlying C GtkObject. More...
 
const GtkWidgetgobj () const
 Provides access to the underlying C GtkObject. More...
 
bool set_scroll_adjustments (Adjustment &hadjustment, Adjustment &vadjustment)
 
void show ()
 
void show_now ()
 
void hide ()
 
void show_all ()
 
void hide_all ()
 
void queue_draw ()
 
void queue_draw_area (int x, int y, int width, int height)
 
void queue_resize ()
 
Requisition size_request () const
 
void size_request (const Requisition &requisition)
 
void size_allocate (const Allocation &allocation)
 
void add_accelerator (const Glib::ustring &accel_signal, const Glib::RefPtr< AccelGroup > &accel_group, guint accel_key, Gdk::ModifierType accel_mods, AccelFlags accel_flags)
 
bool remove_accelerator (const Glib::RefPtr< AccelGroup > &accel_group, guint accel_key, Gdk::ModifierType accel_mods)
 
void set_accel_path (const Glib::ustring &accel_path, const Glib::RefPtr< AccelGroup > &accel_group)
 
bool mnemonic_activate (bool group_cycling)
 
bool event (GdkEvent *event)
 
int send_expose (GdkEvent *event)
 
bool send_focus_change (GdkEvent *event)
 
bool activate ()
 
void reparent (Widget &new_parent)
 
bool intersect (const Gdk::Rectangle &area) const
 
bool intersect (const Gdk::Rectangle &area, Gdk::Rectangle &intersection) const
 
Gdk::Region region_intersect (const Gdk::Region &region) const
 
void freeze_child_notify ()
 
void child_notify (const Glib::ustring &child_property)
 
void thaw_child_notify ()
 
void set_can_focus (bool can_focus=true)
 
bool get_can_focus () const
 
bool can_focus () const
 
bool has_focus () const
 
bool is_focus () const
 
void grab_focus ()
 
void set_can_default (bool can_default=true)
 
bool get_can_default () const
 
bool can_default () const
 
bool has_default () const
 
void grab_default ()
 
void set_receives_default (bool receives_default=true)
 
bool get_receives_default () const
 
bool has_grab () const
 
void add_modal_grab ()
 
void remove_modal_grab ()
 
void set_name (const Glib::ustring &name)
 
void unset_name ()
 
Glib::ustring get_name () const
 
void set_state (StateType state)
 
StateType get_state () const
 
void set_sensitive (bool sensitive=true)
 
bool get_sensitive () const
 
bool is_sensitive () const
 
void set_visible (bool visible=true)
 
bool get_visible () const
 
void set_has_window (bool has_window=true)
 
bool get_has_window () const
 
bool get_is_toplevel () const
 
bool get_is_drawable () const
 
bool get_realized () const
 
bool get_mapped () const
 
void set_app_paintable (bool app_paintable=true)
 
bool get_app_paintable () const
 
void set_double_buffered (bool double_buffered=true)
 
bool get_double_buffered () const
 
void set_redraw_on_allocate (bool redraw_on_allocate=true)
 
void set_child_visible (bool is_visible=true)
 
bool get_child_visible () const
 
void set_window (const Glib::RefPtr< Gdk::Window > &window)
 
Glib::RefPtr< Gdk::Windowget_window ()
 
Glib::RefPtr< const Gdk::Windowget_window () const
 
Allocation get_allocation () const
 
void set_allocation (const Allocation &allocation)
 
Containerget_parent ()
 
const Containerget_parent () const
 
Glib::RefPtr< Gdk::Windowget_parent_window ()
 
Glib::RefPtr< const Gdk::Windowget_parent_window () const
 
void set_parent_window (const Glib::RefPtr< const Gdk::Window > &parent_window)
 
bool child_focus (DirectionType direction)
 
bool keynav_failed (DirectionType direction)
 
void error_bell ()
 
void set_size_request (int width=-1, int height=-1)
 
void get_size_request (int &width, int &height) const
 
void set_events (Gdk::EventMask events)
 
void add_events (Gdk::EventMask events)
 
void set_extension_events (Gdk::ExtensionMode mode)
 
Gdk::ExtensionMode get_extension_events () const
 
Containerget_toplevel ()
 
const Containerget_toplevel () const
 
Widgetget_ancestor (GType widget_type)
 
const Widgetget_ancestor (GType widget_type) const
 
Glib::RefPtr< Gdk::Colormapget_colormap ()
 
Glib::RefPtr< Gdk::Visualget_visual ()
 
Glib::RefPtr< Gdk::Screenget_screen ()
 
Glib::RefPtr< const Gdk::Screenget_screen () const
 
bool has_screen () const
 
Glib::RefPtr< Gdk::Displayget_display ()
 
Glib::RefPtr< const Gdk::Displayget_display () const
 
Glib::RefPtr< Gdk::Windowget_root_window ()
 
Glib::RefPtr< const Gdk::Windowget_root_window () const
 
Glib::RefPtr< Settingsget_settings ()
 
Glib::RefPtr< Clipboardget_clipboard (const Glib::ustring &selection)
 
Glib::RefPtr< const Clipboardget_clipboard (const Glib::ustring &selection) const
 
Glib::RefPtr< Gdk::Pixmapget_snapshot (Gdk::Rectangle &clip_rect) const
 
Glib::RefPtr< Gdk::Pixmapget_snapshot () const
 
void set_colormap (const Glib::RefPtr< const Gdk::Colormap > &colormap)
 
Gdk::EventMask get_events () const
 
void get_pointer (int &x, int &y) const
 
bool is_ancestor (Widget &ancestor) const
 
bool translate_coordinates (Widget &dest_widget, int src_x, int src_y, int &dest_x, int &dest_y)
 
bool has_rc_style () const
 
void set_style (const Glib::RefPtr< Style > &style)
 
void unset_style ()
 
void ensure_style ()
 
Glib::RefPtr< Styleget_style ()
 
Glib::RefPtr< const Styleget_style () const
 
void modify_style (const Glib::RefPtr< RcStyle > &style)
 
Glib::RefPtr< RcStyleget_modifier_style ()
 
Glib::RefPtr< const RcStyleget_modifier_style () const
 
void modify_fg (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_text (StateType state, const Gdk::Color &color)
 
void modify_base (StateType state, const Gdk::Color &color)
 
void modify_cursor (const Gdk::Color &primary, const Gdk::Color &secondary)
 
void unset_cursor ()
 See modify_cursor(). More...
 
void modify_font (const Pango::FontDescription &font_desc)
 
void unset_fg (StateType state)
 
void unset_bg (StateType state)
 
void unset_text (StateType state)
 
void unset_base (StateType state)
 
void unset_font ()
 
template<class PropertyType >
void get_style_property (const Glib::ustring &the_property_name, PropertyType &value) const
 
Glib::RefPtr< Pango::Context > create_pango_context ()
 
Glib::RefPtr< Pango::Context > get_pango_context ()
 
Glib::RefPtr< Pango::Layout > create_pango_layout (const Glib::ustring &text)
 
Glib::RefPtr< Gdk::Pixbufrender_icon (const StockID &stock_id, IconSize size, const Glib::ustring &detail=Glib::ustring())
 
void set_composite_name (const Glib::ustring &name)
 
void unset_composite_name ()
 
Glib::ustring get_composite_name () const
 
void reset_rc_styles ()
 
void set_direction (TextDirection dir)
 
TextDirection get_direction ()
 
TextDirection get_direction () const
 
void shape_combine_mask (const Glib::RefPtr< const Gdk::Bitmap > &shape_mask, int offset_x, int offset_y)
 
void unset_shape_combine_mask ()
 
void input_shape_combine_mask (const Glib::RefPtr< const Gdk::Bitmap > &shape_mask, int offset_x, int offset_y)
 
void unset_input_shape_combine_mask ()
 
void reset_shapes ()
 
void path (Glib::ustring &path, Glib::ustring &path_reversed)
 Compute a widget's path of the form "GtkWindow.MyLabel". More...
 
void class_path (Glib::ustring &path, Glib::ustring &path_reversed)
 
Glib::ListHandle< Widget * > list_mnemonic_labels ()
 
Glib::ListHandle< const Widget * > list_mnemonic_labels () const
 
void add_mnemonic_label (Widget &label)
 
void remove_mnemonic_label (Widget &label)
 
void drag_get_data (const Glib::RefPtr< Gdk::DragContext > &context, Glib::ustring &target, guint32 time)
 
void drag_get_data (const Glib::RefPtr< Gdk::DragContext > &context, const Glib::ustring &target, guint32 time)
 
void drag_highlight ()
 
void drag_unhighlight ()
 
void drag_dest_set (DestDefaults flags=DestDefaults(0), Gdk::DragAction actions=Gdk::DragAction(0))
 
void drag_dest_set (const ArrayHandle_TargetEntry &targets, DestDefaults flags=DEST_DEFAULT_ALL, Gdk::DragAction actions=Gdk::ACTION_COPY)
 
void drag_dest_set_proxy (const Glib::RefPtr< Gdk::Window > &proxy_window, Gdk::DragProtocol protocol, bool use_coordinates)
 
void drag_dest_unset ()
 
Glib::ustring drag_dest_find_target (const Glib::RefPtr< Gdk::DragContext > &context, const Glib::RefPtr< TargetList > &target_list) const
 
Glib::ustring drag_dest_find_target (const Glib::RefPtr< Gdk::DragContext > &context) const
 
Glib::RefPtr< TargetListdrag_dest_get_target_list ()
 
Glib::RefPtr< const TargetListdrag_dest_get_target_list () const
 
void drag_dest_set_target_list (const Glib::RefPtr< TargetList > &target_list)
 
void drag_dest_add_text_targets ()
 
void drag_dest_add_image_targets ()
 
void drag_dest_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_unset ()
 
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_set_icon (const Glib::RefPtr< Gdk::Pixbuf > &pixbuf)
 
void drag_source_set_icon (const StockID &stock_id)
 
void drag_source_set_icon (const Glib::ustring &icon_name)
 
void drag_source_add_text_targets ()
 
void drag_source_add_uri_targets ()
 
void drag_source_add_image_targets ()
 
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_set_as_icon (const Glib::RefPtr< Gdk::DragContext > &context, int hot_x, int hot_y)
 
void queue_resize_no_redraw ()
 
bool get_no_show_all () const
 
void set_no_show_all (bool no_show_all=true)
 
void set_parent (Widget &parent)
 
void unparent ()
 
void map ()
 
void unmap ()
 
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 set_tooltip_window (Window &window)
 
Windowget_tooltip_window ()
 
void trigger_tooltip_query ()
 
void set_tooltip_text (const Glib::ustring &text)
 
Glib::ustring get_tooltip_text () const
 
void set_tooltip_markup (const Glib::ustring &markup)
 
Glib::ustring get_tooltip_markup () const
 
void set_has_tooltip (bool has_tooltip=TRUE)
 
bool get_has_tooltip () const
 
bool has_no_window () const
 
bool is_realized () const
 
bool is_mapped () const
 
bool is_toplevel () const
 
bool is_drawable () const
 
bool is_visible () const
 
bool sensitive () const
 
bool app_paintable () const
 
bool receives_default () const
 
bool double_buffered () const
 
bool parent_sensitive () const
 
bool rc_style () const
 
bool is_composite_child () const
 
WidgetFlags get_flags () const
 
void set_flags (WidgetFlags flags)
 
void unset_flags (WidgetFlags flags)
 
Gtk::StateType get_saved_state () const
 
int get_width () const
 
int get_height () const
 
bool is_composited () const
 
Glib::RefPtr< Actionget_action ()
 
Glib::RefPtr< const Actionget_action () const
 
Requisition get_requisition () const
 
Glib::SignalProxy0< void > signal_show ()
 
Glib::SignalProxy0< void > signal_hide ()
 
Glib::SignalProxy0< void > signal_map ()
 Emitted on mapping of a widget to the screen. More...
 
Glib::SignalProxy0< void > signal_unmap ()
 
Glib::SignalProxy0< void > signal_realize ()
 Emitted on realization of a widget. More...
 
Glib::SignalProxy0< void > signal_unrealize ()
 
Glib::SignalProxy1< void, Requisition * > signal_size_request ()
 
Glib::SignalProxy1< void, Allocation & > signal_size_allocate ()
 
Glib::SignalProxy1< void, Gtk::StateTypesignal_state_changed ()
 
Glib::SignalProxy1< void, Widget * > signal_parent_changed ()
 Informs objects that their parent changed. More...
 
Glib::SignalProxy1< void, Widget * > signal_hierarchy_changed ()
 
Glib::SignalProxy1< void, const Glib::RefPtr< Gtk::Style > & > signal_style_changed ()
 
Glib::SignalProxy1< void, TextDirectionsignal_direction_changed ()
 
Glib::SignalProxy1< void, bool > signal_grab_notify ()
 
Glib::SignalProxy1< void, GParamSpec * > signal_child_notify ()
 
Glib::SignalProxy1< bool, bool > signal_mnemonic_activate ()
 
Glib::SignalProxy0< void > signal_grab_focus ()
 
Glib::SignalProxy1< bool, DirectionTypesignal_focus ()
 
Glib::SignalProxy1< bool, GdkEvent * > signal_event ()
 
Glib::SignalProxy1< void, GdkEvent * > signal_event_after ()
 
Glib::SignalProxy1< bool, GdkEventButton * > signal_button_press_event ()
 
Glib::SignalProxy1< bool, GdkEventButton * > signal_button_release_event ()
 
Glib::SignalProxy1< bool, GdkEventScroll * > signal_scroll_event ()
 
Glib::SignalProxy1< bool, GdkEventMotion * > signal_motion_notify_event ()
 
Glib::SignalProxy1< bool, GdkEventAny * > signal_delete_event ()
 
Glib::SignalProxy1< bool, GdkEventExpose * > signal_expose_event ()
 Event triggered by window requiring a refresh. More...
 
Glib::SignalProxy1< bool, GdkEventKey * > signal_key_press_event ()
 
Glib::SignalProxy1< bool, GdkEventKey * > signal_key_release_event ()
 
Glib::SignalProxy1< bool, GdkEventCrossing * > signal_enter_notify_event ()
 
Glib::SignalProxy1< bool, GdkEventCrossing * > signal_leave_notify_event ()
 
Glib::SignalProxy1< bool, GdkEventConfigure * > signal_configure_event ()
 
Glib::SignalProxy1< bool, GdkEventFocus * > signal_focus_in_event ()
 
Glib::SignalProxy1< bool, GdkEventFocus * > signal_focus_out_event ()
 
Glib::SignalProxy1< bool, GdkEventAny * > signal_map_event ()
 
Glib::SignalProxy1< bool, GdkEventAny * > signal_unmap_event ()
 
Glib::SignalProxy1< bool, GdkEventProperty * > signal_property_notify_event ()
 
Glib::SignalProxy1< bool, GdkEventSelection * > signal_selection_clear_event ()
 
Glib::SignalProxy1< bool, GdkEventSelection * > signal_selection_request_event ()
 
Glib::SignalProxy1< bool, GdkEventSelection * > signal_selection_notify_event ()
 
Glib::SignalProxy1< bool, GdkEventProximity * > signal_proximity_in_event ()
 
Glib::SignalProxy1< bool, GdkEventProximity * > signal_proximity_out_event ()
 
Glib::SignalProxy1< bool, GdkEventVisibility * > signal_visibility_notify_event ()
 
Glib::SignalProxy1< bool, GdkEventClient * > signal_client_event ()
 
Glib::SignalProxy1< bool, GdkEventAny * > signal_no_expose_event ()
 
Glib::SignalProxy1< bool, GdkEventWindowState * > signal_window_state_event ()
 
Glib::SignalProxy3< void, SelectionData &, guint, guint > signal_selection_get ()
 
Glib::SignalProxy2< void, const SelectionData &, guint > signal_selection_received ()
 
Glib::SignalProxy1< void, const Glib::RefPtr< Gdk::DragContext > & > signal_drag_begin ()
 
Glib::SignalProxy1< void, const Glib::RefPtr< Gdk::DragContext > & > signal_drag_end ()
 
Glib::SignalProxy4< void, const Glib::RefPtr< Gdk::DragContext > &, SelectionData &, guint, guint > signal_drag_data_get ()
 
Glib::SignalProxy1< void, const Glib::RefPtr< Gdk::DragContext > & > signal_drag_data_delete ()
 
Glib::SignalProxy2< bool, const Glib::RefPtr< Gdk::DragContext > &, DragResultsignal_drag_failed ()
 
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::SignalProxy4< bool, const Glib::RefPtr< Gdk::DragContext > &, int, int, guint > signal_drag_drop ()
 
Glib::SignalProxy6< void, const Glib::RefPtr< Gdk::DragContext > &, int, int, const SelectionData &, guint, guint > signal_drag_data_received ()
 
Glib::SignalProxy1< void, const Glib::RefPtr< Gdk::Screen > & > signal_screen_changed ()
 
Glib::SignalProxy0< void > signal_composited_changed ()
 
Glib::SignalProxy0< bool > signal_popup_menu ()
 
Glib::SignalProxy4< bool, int, int, bool, const Glib::RefPtr< Tooltip > & > signal_query_tooltip ()
 
Glib::SignalProxy1< bool, GdkEventGrabBroken * > signal_grab_broken_event ()
 
Glib::SignalProxy1< bool, GdkEventExpose * > signal_damage_event ()
 
Glib::PropertyProxy< Glib::ustring > property_name ()
 
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_name () const
 
Glib::PropertyProxy< Container * > property_parent ()
 
Glib::PropertyProxy_ReadOnly< Container * > property_parent () const
 
Glib::PropertyProxy< int > property_width_request ()
 
Glib::PropertyProxy_ReadOnly< int > property_width_request () const
 
Glib::PropertyProxy< int > property_height_request ()
 
Glib::PropertyProxy_ReadOnly< int > property_height_request () const
 
Glib::PropertyProxy< bool > property_visible ()
 
Glib::PropertyProxy_ReadOnly< bool > property_visible () const
 
Glib::PropertyProxy< bool > property_sensitive ()
 
Glib::PropertyProxy_ReadOnly< bool > property_sensitive () const
 
Glib::PropertyProxy< bool > property_app_paintable ()
 
Glib::PropertyProxy_ReadOnly< bool > property_app_paintable () const
 
Glib::PropertyProxy< bool > property_can_focus ()
 
Glib::PropertyProxy_ReadOnly< bool > property_can_focus () const
 
Glib::PropertyProxy< bool > property_has_focus ()
 
Glib::PropertyProxy_ReadOnly< bool > property_has_focus () const
 
Glib::PropertyProxy< bool > property_is_focus ()
 
Glib::PropertyProxy_ReadOnly< bool > property_is_focus () const
 
Glib::PropertyProxy< bool > property_can_default ()
 
Glib::PropertyProxy_ReadOnly< bool > property_can_default () const
 
Glib::PropertyProxy< bool > property_has_default ()
 
Glib::PropertyProxy_ReadOnly< bool > property_has_default () const
 
Glib::PropertyProxy< bool > property_receives_default ()
 
Glib::PropertyProxy_ReadOnly< bool > property_receives_default () const
 
Glib::PropertyProxy_ReadOnly< bool > property_composite_child () const
 
Glib::PropertyProxy< Glib::RefPtr< Style > > property_style ()
 
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Style > > property_style () const
 
Glib::PropertyProxy< Gdk::EventMaskproperty_events ()
 
Glib::PropertyProxy_ReadOnly< Gdk::EventMaskproperty_events () const
 
Glib::PropertyProxy< Gdk::ExtensionModeproperty_extension_events ()
 
Glib::PropertyProxy_ReadOnly< Gdk::ExtensionModeproperty_extension_events () const
 
Glib::PropertyProxy< bool > property_has_tooltip ()
 
Glib::PropertyProxy_ReadOnly< bool > property_has_tooltip () const
 
Glib::PropertyProxy< Glib::ustring > property_tooltip_markup ()
 
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_tooltip_markup () const
 
Glib::PropertyProxy< Glib::ustring > property_tooltip_text ()
 
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_tooltip_text () const
 
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Window > > property_window () const
 
Glib::PropertyProxy< bool > property_no_show_all ()
 
Glib::PropertyProxy_ReadOnly< bool > property_no_show_all () const
 
Glib::PropertyProxy< bool > property_double_buffered ()
 
Glib::PropertyProxy_ReadOnly< bool > property_double_buffered () const
 
- Public Member Functions inherited from Gtk::Object
virtual ~Object ()
 
GtkObjectgobj ()
 Provides access to the underlying C GtkObject. More...
 
const GtkObjectgobj () const
 Provides access to the underlying C GtkObject. More...
 
Glib::PropertyProxy< void * > property_user_data ()
 
Glib::PropertyProxy_ReadOnly< void * > property_user_data () const
 

Protected Attributes

Glib::RefPtr< Gtk::ListStorem_model
 
TextModelColumns m_model_columns
 

Additional Inherited Members

- Static Public Member Functions inherited from Gtk::Widget
static Widgetget_current_modal_grab ()
 
static void push_colormap (const Glib::RefPtr< const Gdk::Colormap > &cmap)
 
static void pop_colormap ()
 
static void push_composite_child ()
 
static void pop_composite_child ()
 
static void set_default_colormap (const Glib::RefPtr< const Gdk::Colormap > &colormap)
 
static Glib::RefPtr< Styleget_default_style ()
 
static Glib::RefPtr< Gdk::Colormapget_default_colormap ()
 
static Glib::RefPtr< Gdk::Visualget_default_visual ()
 
static void set_default_direction (TextDirection dir)
 
static TextDirection get_default_direction ()
 
static Widgetdrag_get_source_widget (const Glib::RefPtr< Gdk::DragContext > &context)
 
- Protected Member Functions inherited from Gtk::TreeView
virtual void on_set_scroll_adjustments (Adjustment *hadjustment, Adjustment *vadjustment)
 This is a default handler for the signal signal_set_scroll_adjustments(). More...
 
virtual void on_row_activated (const TreeModel::Path &path, TreeViewColumn *column)
 This is a default handler for the signal signal_row_activated(). More...
 
virtual bool on_test_expand_row (const TreeModel::iterator &iter, const TreeModel::Path &path)
 This is a default handler for the signal signal_test_expand_row(). More...
 
virtual bool on_test_collapse_row (const TreeModel::iterator &iter, const TreeModel::Path &path)
 This is a default handler for the signal signal_test_collapse_row(). More...
 
virtual void on_row_expanded (const TreeModel::iterator &iter, const TreeModel::Path &path)
 This is a default handler for the signal signal_row_expanded(). More...
 
virtual void on_row_collapsed (const TreeModel::iterator &iter, const TreeModel::Path &path)
 This is a default handler for the signal signal_row_collapsed(). More...
 
virtual void on_cursor_changed ()
 This is a default handler for the signal signal_cursor_changed(). More...
 
virtual void on_columns_changed ()
 This is a default handler for the signal signal_columns_changed(). More...
 
- Protected Member Functions inherited from Gtk::Container
virtual void on_add (Widget *widget)
 This is a default handler for the signal signal_add(). More...
 
virtual void on_remove (Widget *widget)
 This is a default handler for the signal signal_remove(). More...
 
virtual void on_check_resize ()
 This is a default handler for the signal signal_check_resize(). More...
 
virtual void on_set_focus_child (Widget *widget)
 This is a default handler for the signal signal_set_focus_child(). More...
 
 Container ()
 
virtual GType child_type_vfunc () const
 
virtual void forall_vfunc (gboolean include_internals, GtkCallback callback, gpointer callback_data)
 
virtual char * composite_name_vfunc (GtkWidget *child)
 
virtual void set_child_property_vfunc (GtkWidget *child, guint property_id, const GValue *value, GParamSpec *pspec)
 
virtual void get_child_property_vfunc (GtkWidget *child, guint property_id, GValue *value, GParamSpec *pspec) const
 
Glib::PropertyProxy< guint > property_border_width ()
 
Glib::PropertyProxy_ReadOnly< guint > property_border_width () const
 
Glib::PropertyProxy< ResizeModeproperty_resize_mode ()
 
Glib::PropertyProxy_ReadOnly< ResizeModeproperty_resize_mode () const
 
Glib::PropertyProxy_WriteOnly< Widget * > property_child ()
 
- Protected Member Functions inherited from Gtk::Widget
virtual void on_show ()
 This is a default handler for the signal signal_show(). More...
 
virtual void on_hide ()
 This is a default handler for the signal signal_hide(). More...
 
virtual void on_map ()
 This is a default handler for the signal signal_map(). More...
 
virtual void on_unmap ()
 This is a default handler for the signal signal_unmap(). More...
 
virtual void on_realize ()
 This is a default handler for the signal signal_realize(). More...
 
virtual void on_unrealize ()
 This is a default handler for the signal signal_unrealize(). More...
 
virtual void on_size_request (Requisition *requisition)
 This is a default handler for the signal signal_size_request(). More...
 
virtual void on_size_allocate (Allocation &allocation)
 This is a default handler for the signal signal_size_allocate(). More...
 
virtual void on_state_changed (Gtk::StateType previous_state)
 This is a default handler for the signal signal_state_changed(). More...
 
virtual void on_parent_changed (Widget *previous_parent)
 This is a default handler for the signal signal_parent_changed(). More...
 
virtual void on_hierarchy_changed (Widget *previous_toplevel)
 This is a default handler for the signal signal_hierarchy_changed(). More...
 
virtual void on_style_changed (const Glib::RefPtr< Gtk::Style > &previous_style)
 This is a default handler for the signal signal_style_changed(). More...
 
virtual void on_direction_changed (TextDirection direction)
 This is a default handler for the signal signal_direction_changed(). More...
 
virtual void on_grab_notify (bool was_grabbed)
 This is a default handler for the signal signal_grab_notify(). More...
 
virtual void on_child_notify (GParamSpec *pspec)
 This is a default handler for the signal signal_child_notify(). More...
 
virtual bool on_mnemonic_activate (bool group_cycling)
 This is a default handler for the signal signal_mnemonic_activate(). More...
 
virtual void on_grab_focus ()
 This is a default handler for the signal signal_grab_focus(). More...
 
virtual bool on_focus (DirectionType direction)
 This is a default handler for the signal signal_focus(). More...
 
virtual bool on_event (GdkEvent *event)
 This is a default handler for the signal signal_event(). More...
 
virtual bool on_button_press_event (GdkEventButton *event)
 This is a default handler for the signal signal_button_press_event(). More...
 
virtual bool on_button_release_event (GdkEventButton *event)
 This is a default handler for the signal signal_button_release_event(). More...
 
virtual bool on_scroll_event (GdkEventScroll *event)
 This is a default handler for the signal signal_scroll_event(). More...
 
virtual bool on_motion_notify_event (GdkEventMotion *event)
 This is a default handler for the signal signal_motion_notify_event(). More...
 
virtual bool on_delete_event (GdkEventAny *event)
 This is a default handler for the signal signal_delete_event(). More...
 
virtual bool on_expose_event (GdkEventExpose *event)
 This is a default handler for the signal signal_expose_event(). More...
 
virtual bool on_key_press_event (GdkEventKey *event)
 This is a default handler for the signal signal_key_press_event(). More...
 
virtual bool on_key_release_event (GdkEventKey *event)
 This is a default handler for the signal signal_key_release_event(). More...
 
virtual bool on_enter_notify_event (GdkEventCrossing *event)
 This is a default handler for the signal signal_enter_notify_event(). More...
 
virtual bool on_leave_notify_event (GdkEventCrossing *event)
 This is a default handler for the signal signal_leave_notify_event(). More...
 
virtual bool on_configure_event (GdkEventConfigure *event)
 This is a default handler for the signal signal_configure_event(). More...
 
virtual bool on_focus_in_event (GdkEventFocus *event)
 This is a default handler for the signal signal_focus_in_event(). More...
 
virtual bool on_focus_out_event (GdkEventFocus *event)
 This is a default handler for the signal signal_focus_out_event(). More...
 
virtual bool on_map_event (GdkEventAny *event)
 This is a default handler for the signal signal_map_event(). More...
 
virtual bool on_unmap_event (GdkEventAny *event)
 This is a default handler for the signal signal_unmap_event(). More...
 
virtual bool on_property_notify_event (GdkEventProperty *event)
 This is a default handler for the signal signal_property_notify_event(). More...
 
virtual bool on_selection_clear_event (GdkEventSelection *event)
 This is a default handler for the signal signal_selection_clear_event(). More...
 
virtual bool on_selection_request_event (GdkEventSelection *event)
 This is a default handler for the signal signal_selection_request_event(). More...
 
virtual bool on_selection_notify_event (GdkEventSelection *event)
 This is a default handler for the signal signal_selection_notify_event(). More...
 
virtual bool on_proximity_in_event (GdkEventProximity *event)
 This is a default handler for the signal signal_proximity_in_event(). More...
 
virtual bool on_proximity_out_event (GdkEventProximity *event)
 This is a default handler for the signal signal_proximity_out_event(). More...
 
virtual bool on_visibility_notify_event (GdkEventVisibility *event)
 This is a default handler for the signal signal_visibility_notify_event(). More...
 
virtual bool on_client_event (GdkEventClient *event)
 This is a default handler for the signal signal_client_event(). More...
 
virtual bool on_no_expose_event (GdkEventAny *event)
 This is a default handler for the signal signal_no_expose_event(). More...
 
virtual bool on_window_state_event (GdkEventWindowState *event)
 This is a default handler for the signal signal_window_state_event(). More...
 
virtual void on_selection_get (SelectionData &selection_data, guint info, guint time)
 This is a default handler for the signal signal_selection_get(). More...
 
virtual void on_selection_received (const SelectionData &selection_data, guint time)
 This is a default handler for the signal signal_selection_received(). More...
 
virtual void on_drag_begin (const Glib::RefPtr< Gdk::DragContext > &context)
 This is a default handler for the signal signal_drag_begin(). More...
 
virtual void on_drag_end (const Glib::RefPtr< Gdk::DragContext > &context)
 This is a default handler for the signal signal_drag_end(). More...
 
virtual void on_drag_data_get (const Glib::RefPtr< Gdk::DragContext > &context, SelectionData &selection_data, guint info, guint time)
 This is a default handler for the signal signal_drag_data_get(). More...
 
virtual void on_drag_data_delete (const Glib::RefPtr< Gdk::DragContext > &context)
 This is a default handler for the signal signal_drag_data_delete(). More...
 
virtual void on_drag_leave (const Glib::RefPtr< Gdk::DragContext > &context, guint time)
 This is a default handler for the signal signal_drag_leave(). More...
 
virtual bool on_drag_motion (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint time)
 This is a default handler for the signal signal_drag_motion(). More...
 
virtual bool on_drag_drop (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint time)
 This is a default handler for the signal signal_drag_drop(). More...
 
virtual void on_drag_data_received (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, const SelectionData &selection_data, guint info, guint time)
 This is a default handler for the signal signal_drag_data_received(). More...
 
virtual void on_screen_changed (const Glib::RefPtr< Gdk::Screen > &previous_screen)
 This is a default handler for the signal signal_screen_changed(). More...
 
virtual void dispatch_child_properties_changed_vfunc (guint p1, GParamSpec **p2)
 
virtual void show_all_vfunc ()
 
virtual void hide_all_vfunc ()
 
 Widget ()
 
void realize ()
 
void unrealize ()
 
void set_mapped (bool mapped=true)
 
void set_realized (bool realized=true)
 
void style_attach ()
 
void get_child_requisition (Requisition &requisition) const
 
void get_style_property_value (const Glib::ustring &the_property_name, Glib::ValueBase &value) const
 
void realize_if_needed ()
 

Detailed Description

A simple listbox which presents some lines of information in columns and lets the user select some of them.

This is a convenience class, based on Gtk::TreeView, which allows only text values and does not allow child items. In most cases you will actually need the functionality offered by a real Gtk::TreeView with your own type-safe Gtk::TreeModel::ColumnRecord.

Definition at line 39 of file listviewtext.h.

Member Typedef Documentation

◆ SelectionList

typedef std::vector<int> Gtk::ListViewText::SelectionList

Definition at line 129 of file listviewtext.h.

Constructor & Destructor Documentation

◆ ListViewText()

Gtk::ListViewText::ListViewText ( guint  columns_count,
bool  editable = false,
Gtk::SelectionMode  mode = Gtk::SELECTION_SINGLE 
)

◆ ~ListViewText()

virtual Gtk::ListViewText::~ListViewText ( )
virtual

Member Function Documentation

◆ append()

guint Gtk::ListViewText::append ( const Glib::ustring &  column_one_value = Glib::ustring())

Add a new row at the end of the list

Parameters
column_one_valuethe new text for the new row, column 0
Returns
the number of the row added

◆ append_text()

guint Gtk::ListViewText::append_text ( const Glib::ustring &  column_one_value = Glib::ustring())

Add a new row at the end of the list

Parameters
column_one_valuethe new text for the new row, column 0
Returns
the number of the row added

◆ clear_items()

void Gtk::ListViewText::clear_items ( )

Discard all row:

◆ get_column_title()

Glib::ustring Gtk::ListViewText::get_column_title ( guint  column) const

Gets the title of column column.

Parameters
columnthe column number.
Returns
the title of column column.

◆ get_num_columns()

guint Gtk::ListViewText::get_num_columns ( ) const
Returns
the number of columns in the listbox

◆ get_selected()

SelectionList Gtk::ListViewText::get_selected ( )

Returns a vector of the indexes of the selected rows

Returns
a SelectionList with the selection results

◆ get_text()

Glib::ustring Gtk::ListViewText::get_text ( guint  row,
guint  column = 0 
) const

Obtain the value of an existing cell from the list.

Parameters
rowthe number of the row in the listbox.
columnthe number of the column in the row.
Returns
the value of that cell, if it exists.

◆ insert()

void Gtk::ListViewText::insert ( guint  row,
const Glib::ustring &  column_one_value = Glib::ustring() 
)

Insert a new row at an arbitrary position in the list

Parameters
rowThe row number
column_one_valuethe new text for the new row, column 0

◆ insert_text()

void Gtk::ListViewText::insert_text ( guint  row,
const Glib::ustring &  column_one_value = Glib::ustring() 
)

Insert a new row at an arbitrary position in the list

Parameters
rowThe row number
column_one_valuethe new text for the new row, column 0

◆ prepend()

void Gtk::ListViewText::prepend ( const Glib::ustring &  column_one_value = Glib::ustring())

Insert a new row at the beginning of the list

Parameters
column_one_valuethe new text for the new row, column 0

◆ prepend_text()

void Gtk::ListViewText::prepend_text ( const Glib::ustring &  column_one_value = Glib::ustring())

Insert a new row at the beginning of the list

Parameters
column_one_valuethe new text for the new row, column 0

◆ set_column_title()

void Gtk::ListViewText::set_column_title ( guint  column,
const Glib::ustring &  title 
)

Adds a title to column column.

Parameters
columnthe column number.
titlethe title for column column.

◆ set_text() [1/2]

void Gtk::ListViewText::set_text ( guint  row,
const Glib::ustring &  value 
)

Change an existing value of a column 0 of a row of the list

Parameters
rowthe number of the row in the list.
valuethe new contents of column 0 of the row.

◆ set_text() [2/2]

void Gtk::ListViewText::set_text ( guint  row,
guint  column,
const Glib::ustring &  value 
)

Change an existing value of cell of the list.

Parameters
rowthe number of the row in the list.
columnthe number of the column in the row.
valuethe new contents of that row and column.

◆ size()

guint Gtk::ListViewText::size ( ) const
Returns
the number of rows in the listbox

Member Data Documentation

◆ m_model

Glib::RefPtr<Gtk::ListStore> Gtk::ListViewText::m_model
protected

Definition at line 152 of file listviewtext.h.

◆ m_model_columns

TextModelColumns Gtk::ListViewText::m_model_columns
protected

Definition at line 153 of file listviewtext.h.


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