Gtk::TreeViewColumn Class Reference
[TreeView Classes]

Detailed Description
Typedefed as Gtk::TreeView::Column.This is a visible column in a Gtk::TreeView widget. It determines the geometry, type.
Public Types | |
| typedef TreeViewColumn | Column |
| typedef sigc::slot< void, CellRenderer*, const Gtk::TreeModel::iterator& > | SlotCellData |
| For instance, void on_cell_data(Gtk::CellRenderer* cell, const Gtk::TreeModel::iterator& iter);. | |
Public Member Functions | |
| void | add_attribute (Gtk::CellRenderer& cell, const Glib::ustring& property_name, const TreeModelColumnBase& column) |
| void | add_attribute (const Glib::PropertyProxy_Base& property, const TreeModelColumnBase& column) |
| void | add_attribute (CellRenderer& cell_renderer, const Glib::ustring& attribute, int column) |
| Adds an attribute mapping to the list in tree_column. | |
| void | cell_get_size (const Gdk::Rectangle& cell_area, int& x_offset, int& y_offset, int& width, int& height) const |
| Obtains the width and height needed to render the column. | |
| void | cell_get_size (Gdk::Rectangle& cell_area, int& x_offset, int& y_offset, int& width, int& height) const |
| Obtains the width and height needed to render the column. | |
| bool | cell_is_visible () const |
Return value: true, if any of the cells packed into the tree_column are currently visible. | |
| void | cell_set_cell_data (const Glib::RefPtr<TreeModel>& tree_model, const TreeModel::iterator& iter, bool is_expander, bool is_expanded) |
| Sets the cell renderer based on the tree_model and iter. | |
| void | clear () |
| Unsets all the mappings on all renderers on the tree_column. | |
| void | clear_attributes (CellRenderer& cell_renderer) |
| Clears all existing attributes previously set with set_attributes(). | |
| void | clicked () |
| Emits the "clicked" signal on the column. | |
| void | focus_cell (CellRenderer& cell) |
| Sets the current keyboard focus to be at cell, if the column contains 2 or more editable and activatable cells. | |
| float | get_alignment () const |
| Return value: The current alignent of tree_column. | |
| bool | get_cell_position (const CellRenderer& cell_renderer, int& start_pos, int& width) const |
| Obtains the horizontal position and size of a cell in a column. | |
| Glib::ListHandle< const CellRenderer* > | get_cell_renderers () const |
| Returns a list of all the cell renderers in the column, in no particular order. | |
| Glib::ListHandle<CellRenderer*> | get_cell_renderers () |
| Returns a list of all the cell renderers in the column, in no particular order. | |
| bool | get_clickable () const |
Return value: true if user can click the column header. | |
| bool | get_expand () const |
Return true if the column expands to take any available space. | |
| const CellRenderer* | get_first_cell_renderer () const |
| Gets the CellRenderer for the column. | |
| CellRenderer* | get_first_cell_renderer () |
| Gets the CellRenderer for the column. | |
| int | get_fixed_width () const |
| Gets the fixed width of the column. | |
| int | get_max_width () const |
| Return value: The maximum width of the tree_column. | |
| int | get_min_width () const |
| Return value: The minimum width of the tree_column. | |
| bool | get_reorderable () const |
Return value: true if the tree_column can be reordered by the user. | |
| bool | get_resizable () const |
Return value: true, if the tree_column can be resized. | |
| TreeViewColumnSizing | get_sizing () |
| Return value: The type of tree_column. | |
| int | get_sort_column_id () const |
| Gets the logical sort_column_id that the model sorts on when this column is selected for sorting. | |
| bool | get_sort_indicator () const |
| Gets the value set by set_sort_indicator(). | |
| SortType | get_sort_order () const |
| Gets the value set by set_sort_order(). | |
| int | get_spacing () const |
| Return value: the spacing of tree_column. | |
| Glib::ustring | get_title () const |
| Return value: the title of the column. | |
| const TreeView* | get_tree_view () const |
| Return value: The tree view wherein column has been inserted if any,. | |
| TreeView* | get_tree_view () |
| Return value: The tree view wherein column has been inserted if any,. | |
| bool | get_visible () const |
| Return value: whether the column is visible or not. | |
| const Widget* | get_widget () const |
Return value: The Gtk::Widget in the column header, or 0. | |
| Widget* | get_widget () |
Return value: The Gtk::Widget in the column header, or 0. | |
| int | get_width () const |
| Return value: The current width of tree_column. | |
| const GtkTreeViewColumn* | gobj () const |
| Provides access to the underlying C GtkObject. | |
| GtkTreeViewColumn* | gobj () |
| Provides access to the underlying C GtkObject. | |
| template<class T_ModelColumnType> | |
| void | pack_end (const TreeModelColumn<T_ModelColumnType>& column, bool expand=true) |
| Creates an appropriate CellRenderer for the column, and packs that cell at the end of the column. | |
| void | pack_end (CellRenderer& cell, bool expand=true) |
| Adds the cell to end of the column. | |
| template<class T_ModelColumnType> | |
| void | pack_start (const TreeModelColumn<T_ModelColumnType>& column, bool expand=true) |
| Creates an appropriate CellRenderer for the column, and packs that cell into the beginning of the column. | |
| void | pack_start (CellRenderer& cell, bool expand=true) |
| Packs the cell into the beginning of the column. | |
| Glib::PropertyProxy_ReadOnly <float> | property_alignment () const |
| X Alignment of the column header text or widget. | |
| Glib::PropertyProxy<float> | property_alignment () |
| X Alignment of the column header text or widget. | |
| Glib::PropertyProxy_ReadOnly <bool> | property_clickable () const |
| Whether the header can be clicked. | |
| Glib::PropertyProxy<bool> | property_clickable () |
| Whether the header can be clicked. | |
| Glib::PropertyProxy_ReadOnly <bool> | property_expand () const |
| Column gets share of extra width allocated to the widget. | |
| Glib::PropertyProxy<bool> | property_expand () |
| Column gets share of extra width allocated to the widget. | |
| Glib::PropertyProxy_ReadOnly<int> | property_fixed_width () const |
| Current fixed width of the column. | |
| Glib::PropertyProxy<int> | property_fixed_width () |
| Current fixed width of the column. | |
| Glib::PropertyProxy_ReadOnly<int> | property_max_width () const |
| Maximum allowed width of the column. | |
| Glib::PropertyProxy<int> | property_max_width () |
| Maximum allowed width of the column. | |
| Glib::PropertyProxy_ReadOnly<int> | property_min_width () const |
| Minimum allowed width of the column. | |
| Glib::PropertyProxy<int> | property_min_width () |
| Minimum allowed width of the column. | |
| Glib::PropertyProxy_ReadOnly <bool> | property_reorderable () const |
| Whether the column can be reordered around the headers. | |
| Glib::PropertyProxy<bool> | property_reorderable () |
| Whether the column can be reordered around the headers. | |
| Glib::PropertyProxy_ReadOnly <TreeViewColumnSizing> | property_sizing () const |
| Resize mode of the column. | |
| Glib::PropertyProxy <TreeViewColumnSizing> | property_sizing () |
| Resize mode of the column. | |
| Glib::PropertyProxy_ReadOnly <bool> | property_sort_indicator () const |
| Whether to show a sort indicator. | |
| Glib::PropertyProxy<bool> | property_sort_indicator () |
| Whether to show a sort indicator. | |
| Glib::PropertyProxy_ReadOnly <SortType> | property_sort_order () const |
| Sort direction the sort indicator should indicate. | |
| Glib::PropertyProxy<SortType> | property_sort_order () |
| Sort direction the sort indicator should indicate. | |
| Glib::PropertyProxy_ReadOnly <Glib::ustring> | property_title () const |
| Title to appear in column header. | |
| Glib::PropertyProxy <Glib::ustring> | property_title () |
| Title to appear in column header. | |
| Glib::PropertyProxy_ReadOnly <bool> | property_visible () const |
| Whether to display the column. | |
| Glib::PropertyProxy<bool> | property_visible () |
| Whether to display the column. | |
| Glib::PropertyProxy_ReadOnly <Widget*> | property_widget () const |
| Widget to put in column header button instead of column title. | |
| Glib::PropertyProxy<Widget*> | property_widget () |
| Widget to put in column header button instead of column title. | |
| Glib::PropertyProxy_ReadOnly<int> | property_width () const |
| Current width of the column. | |
| void | queue_resize () |
| Flags the column, and the cell renderers added to this column, to have their sizes renegotiated. | |
| void | set_alignment (AlignmentEnum xalign) |
| Sets the alignment of the title or custom widget inside the column header. | |
| void | set_alignment (float xalign) |
| Sets the alignment of the title or custom widget inside the column header. | |
| void | set_cell_data_func (CellRenderer& cell_renderer, const SlotCellData& slot) |
| Sets the slot callback to use for the column. | |
| void | set_clickable (bool clickable=true) |
Sets the header to be active if active is true. | |
| void | set_expand (bool expand=true) |
| Sets the column to take available extra space. | |
| void | set_fixed_width (int fixed_width) |
| Sets the size of the column in pixels. | |
| void | set_max_width (int max_width) |
| Sets the maximum width of the tree_column. | |
| void | set_min_width (int min_width) |
| Sets the minimum width of the tree_column. | |
| void | set_renderer (Gtk::CellRenderer& renderer, const TreeModelColumnBase& column) |
| Associate a view CellRenderer with a model column, so that the CellRenderer renders the data in the model column. | |
| void | set_reorderable (bool reorderable=true) |
If reorderable is true, then the column can be reordered by the end user dragging the header. | |
| void | set_resizable (bool resizable=true) |
If resizable is true, then the user can explicitly resize the column by grabbing the outer edge of the column button. | |
| void | set_sizing (TreeViewColumnSizing type) |
| Sets the growth behavior of tree_column to type. | |
| void | set_sort_column (int sort_column_id) |
| Sets the logical sort_column_id that this column sorts on when this column is selected for sorting. | |
| void | set_sort_column (const TreeModelColumnBase& sort_column_id) |
| Sets the logical sort_column_id that this column sorts on when this column is selected for sorting. | |
| void | set_sort_column_id (int sort_column_id) |
| void | set_sort_column_id (const TreeModelColumnBase& sort_column_id) |
| void | set_sort_indicator (bool setting) |
Call this function with a setting of true to display an arrow in the header button indicating the column is sorted. | |
| void | set_sort_order (SortType order) |
| Changes the appearance of the sort indicator. | |
| void | set_spacing (int spacing) |
| Sets the spacing field of tree_column, which is the number of pixels to place between cell renderers packed into it. | |
| void | set_title (const Glib::ustring& title) |
| Sets the title of the tree_column. | |
| void | set_visible (bool visible=true) |
| Sets the visibility of tree_column. | |
| void | set_widget (Gtk::Widget& widget) |
| Sets the widget in the header to be widget. | |
| Glib::SignalProxy0<void> | signal_clicked () |
| template<class T_ModelColumnType> | |
| TreeViewColumn (const Glib::ustring& title, const TreeModelColumn<T_ModelColumnType>& column) | |
| Create a default view column for the given model column type. | |
| TreeViewColumn (const Glib::ustring& title, CellRenderer& cell) | |
| TreeViewColumn (const Glib::ustring& title) | |
| TreeViewColumn () | |
| void | unset_cell_data_func (CellRenderer& cell_renderer) |
| Removes a previously set callback slot. | |
| virtual | ~TreeViewColumn () |
Protected Member Functions | |
| virtual void | on_clicked () |
Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::TreeViewColumn* | wrap (GtkTreeViewColumn* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
Member Typedef Documentation
| typedef sigc::slot<void, CellRenderer*, const Gtk::TreeModel::iterator&> Gtk::TreeViewColumn::SlotCellData |
For instance, void on_cell_data(Gtk::CellRenderer* cell, const Gtk::TreeModel::iterator& iter);.
This function is used instead of the standard attributes mapping for setting the column value, and should set the value of the column's cell renderer as appropriate.
Constructor & Destructor Documentation
| virtual Gtk::TreeViewColumn::~TreeViewColumn | ( | ) | [virtual] |
| Gtk::TreeViewColumn::TreeViewColumn | ( | ) |
| Gtk::TreeViewColumn::TreeViewColumn | ( | const Glib::ustring & | title | ) | [explicit] |
| Gtk::TreeViewColumn::TreeViewColumn | ( | const Glib::ustring & | title, | |
| CellRenderer& | cell | |||
| ) |
| Gtk::TreeViewColumn::TreeViewColumn | ( | const Glib::ustring & | title, | |
| const TreeModelColumn<T_ModelColumnType>& | column | |||
| ) | [inline] |
Create a default view column for the given model column type.
Member Function Documentation
| void Gtk::TreeViewColumn::add_attribute | ( | Gtk::CellRenderer& | cell, | |
| const Glib::ustring & | property_name, | |||
| const TreeModelColumnBase& | column | |||
| ) |
| void Gtk::TreeViewColumn::add_attribute | ( | const Glib::PropertyProxy_Base & | property, | |
| const TreeModelColumnBase& | column | |||
| ) |
| void Gtk::TreeViewColumn::add_attribute | ( | CellRenderer& | cell_renderer, | |
| const Glib::ustring & | attribute, | |||
| int | column | |||
| ) |
Adds an attribute mapping to the list in tree_column.
The column is the column of the model to get a value from, and the attribute is the parameter on cell_renderer to be set from the value. So for example if column 2 of the model contains strings, you could have the "text" attribute of a Gtk::CellRendererText get its values from column 2.
- Parameters:
-
cell_renderer The Gtk::CellRenderer to set attributes on. attribute An attribute on the renderer. column The column position on the model to get the attribute from.
| void Gtk::TreeViewColumn::cell_get_size | ( | const Gdk::Rectangle& | cell_area, | |
| int & | x_offset, | |||
| int & | y_offset, | |||
| int & | width, | |||
| int & | height | |||
| ) | const |
Obtains the width and height needed to render the column.
This is used primarily by the Gtk::TreeView.
- Parameters:
-
cell_area The area a cell in the column will be allocated. x_offset Location to return x offset of a cell relative to cell_area. y_offset Location to return y offset of a cell relative to cell_area. width Location to return width needed to render a cell. height Location to return height needed to render a cell.
| void Gtk::TreeViewColumn::cell_get_size | ( | Gdk::Rectangle& | cell_area, | |
| int & | x_offset, | |||
| int & | y_offset, | |||
| int & | width, | |||
| int & | height | |||
| ) | const |
Obtains the width and height needed to render the column.
This is used primarily by the Gtk::TreeView.
- Deprecated:
- Use the cell_get_size() method override that takes a const cell_area.
- Parameters:
-
cell_area The area a cell in the column will be allocated. x_offset Location to return x offset of a cell relative to cell_area. y_offset Location to return y offset of a cell relative to cell_area. width Location to return width needed to render a cell. height Location to return height needed to render a cell.
| bool Gtk::TreeViewColumn::cell_is_visible | ( | ) | const |
Return value: true, if any of the cells packed into the tree_column are currently visible.
- Returns:
true, if any of the cells packed into the tree_column are currently visible.
| void Gtk::TreeViewColumn::cell_set_cell_data | ( | const Glib::RefPtr<TreeModel>& | tree_model, | |
| const TreeModel::iterator& | iter, | |||
| bool | is_expander, | |||
| bool | is_expanded | |||
| ) |
Sets the cell renderer based on the tree_model and iter.
That is, for every attribute mapping in tree_column, it will get a value from the set column on the iter, and use that value to set the attribute on the cell renderer. This is used primarily by the Gtk::TreeView.
- Parameters:
-
tree_model The Gtk::TreeModel to to get the cell renderers attributes from. iter The Gtk::TreeIter to to get the cell renderer's attributes from. is_expander true, if the row has children.is_expanded true, if the row has visible children.
| void Gtk::TreeViewColumn::clear | ( | ) |
Unsets all the mappings on all renderers on the tree_column.
| void Gtk::TreeViewColumn::clear_attributes | ( | CellRenderer& | cell_renderer | ) |
Clears all existing attributes previously set with set_attributes().
- Parameters:
-
cell_renderer A Gtk::CellRenderer to clear the attribute mapping on.
| void Gtk::TreeViewColumn::clicked | ( | ) |
Emits the "clicked" signal on the column.
This function will only work if tree_column is clickable.
| void Gtk::TreeViewColumn::focus_cell | ( | CellRenderer& | cell | ) |
Sets the current keyboard focus to be at cell, if the column contains 2 or more editable and activatable cells.
- Parameters:
-
cell A Gtk::CellRenderer.
| float Gtk::TreeViewColumn::get_alignment | ( | ) | const |
Return value: The current alignent of tree_column.
- Returns:
- The current alignent of tree_column.
| bool Gtk::TreeViewColumn::get_cell_position | ( | const CellRenderer& | cell_renderer, | |
| int & | start_pos, | |||
| int & | width | |||
| ) | const |
Obtains the horizontal position and size of a cell in a column.
If the cell is not found in the column, start_pos and width are not changed and false is returned.
- Parameters:
-
cell_renderer A Gtk::CellRenderer. start_pos Return location for the horizontal position of cell within tree_column. width Return location for the width of cell.
- Returns:
trueif cell belongs to tree_column.
| Glib::ListHandle<const CellRenderer*> Gtk::TreeViewColumn::get_cell_renderers | ( | ) | const |
Returns a list of all the cell renderers in the column, in no particular order.
- Returns:
- A list of Gtk::CellRenderers.
| Glib::ListHandle<CellRenderer*> Gtk::TreeViewColumn::get_cell_renderers | ( | ) |
Returns a list of all the cell renderers in the column, in no particular order.
- Returns:
- A list of Gtk::CellRenderers.
| bool Gtk::TreeViewColumn::get_clickable | ( | ) | const |
Return value: true if user can click the column header.
- Returns:
trueif user can click the column header.
| bool Gtk::TreeViewColumn::get_expand | ( | ) | const |
Return true if the column expands to take any available space.
- Returns:
true, if the column expands
| const CellRenderer* Gtk::TreeViewColumn::get_first_cell_renderer | ( | ) | const |
Gets the CellRenderer for the column.
You should dynamic_cast<> to the expected derived CellRenderer type. This assumes that the TreeViewColumn contains only one CellRenderer.
| CellRenderer* Gtk::TreeViewColumn::get_first_cell_renderer | ( | ) |
Gets the CellRenderer for the column.
You should dynamic_cast<> to the expected derived CellRenderer type. This assumes that the TreeViewColumn contains only one CellRenderer.
Referenced by Gtk::TreeView::append_column_editable(), and Gtk::TreeView::insert_column_editable().
| int Gtk::TreeViewColumn::get_fixed_width | ( | ) | const |
Gets the fixed width of the column.
This value is only meaning may not be the actual width of the column on the screen, just what is requested.
- Returns:
- The fixed width of the column.
| int Gtk::TreeViewColumn::get_max_width | ( | ) | const |
Return value: The maximum width of the tree_column.
- Returns:
- The maximum width of the tree_column.
| int Gtk::TreeViewColumn::get_min_width | ( | ) | const |
Return value: The minimum width of the tree_column.
- Returns:
- The minimum width of the tree_column.
| bool Gtk::TreeViewColumn::get_reorderable | ( | ) | const |
Return value: true if the tree_column can be reordered by the user.
- Returns:
trueif the tree_column can be reordered by the user.
| bool Gtk::TreeViewColumn::get_resizable | ( | ) | const |
Return value: true, if the tree_column can be resized.
- Returns:
true, if the tree_column can be resized.
| TreeViewColumnSizing Gtk::TreeViewColumn::get_sizing | ( | ) |
Return value: The type of tree_column.
- Returns:
- The type of tree_column.
| int Gtk::TreeViewColumn::get_sort_column_id | ( | ) | const |
Gets the logical sort_column_id that the model sorts on when this column is selected for sorting.
See set_sort_column_id().
- Returns:
- The current sort_column_id for this column, or -1 if this column can't be used for sorting.
| bool Gtk::TreeViewColumn::get_sort_indicator | ( | ) | const |
| SortType Gtk::TreeViewColumn::get_sort_order | ( | ) | const |
| int Gtk::TreeViewColumn::get_spacing | ( | ) | const |
Return value: the spacing of tree_column.
- Returns:
- The spacing of tree_column.
| Glib::ustring Gtk::TreeViewColumn::get_title | ( | ) | const |
Return value: the title of the column.
This string should not be
- Returns:
- The title of the column. This string should not be modified or freed.
| const TreeView* Gtk::TreeViewColumn::get_tree_view | ( | ) | const |
Return value: The tree view wherein column has been inserted if any,.
- Returns:
- The tree view wherein column has been inserted if any,
0otherwise.
| TreeView* Gtk::TreeViewColumn::get_tree_view | ( | ) |
Return value: The tree view wherein column has been inserted if any,.
- Returns:
- The tree view wherein column has been inserted if any,
0otherwise.
| bool Gtk::TreeViewColumn::get_visible | ( | ) | const |
Return value: whether the column is visible or not.
If it is visible, then
- Returns:
- Whether the column is visible or not. If it is visible, then the tree will show the column.
| const Widget* Gtk::TreeViewColumn::get_widget | ( | ) | const |
Return value: The Gtk::Widget in the column header, or 0.
- Returns:
- The Gtk::Widget in the column header, or
0.
| Widget* Gtk::TreeViewColumn::get_widget | ( | ) |
Return value: The Gtk::Widget in the column header, or 0.
- Returns:
- The Gtk::Widget in the column header, or
0.
| int Gtk::TreeViewColumn::get_width | ( | ) | const |
Return value: The current width of tree_column.
- Returns:
- The current width of tree_column.
| const GtkTreeViewColumn* Gtk::TreeViewColumn::gobj | ( | ) | const [inline] |
| GtkTreeViewColumn* Gtk::TreeViewColumn::gobj | ( | ) | [inline] |
| virtual void Gtk::TreeViewColumn::on_clicked | ( | ) | [protected, virtual] |
| void Gtk::TreeViewColumn::pack_end | ( | const TreeModelColumn<T_ModelColumnType>& | column, | |
| bool | expand = true | |||
| ) | [inline] |
Creates an appropriate CellRenderer for the column, and packs that cell at the end of the column.
If expand is false, then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is true.
You can use get_first_cell_renderer() or get_cell_renderers() to access the generated CellRenderer.
- Parameters:
-
column The model column that will be rendered by the view cell. expand trueif the cell is to be given extra space allocated to the view column.
| void Gtk::TreeViewColumn::pack_end | ( | CellRenderer& | cell, | |
| bool | expand = true | |||
| ) |
Adds the cell to end of the column.
If expand is false, then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is true.
- Parameters:
-
cell The Gtk::CellRenderer. expand trueif cell is to be given extra space allocated to tree_column.
| void Gtk::TreeViewColumn::pack_start | ( | const TreeModelColumn<T_ModelColumnType>& | column, | |
| bool | expand = true | |||
| ) | [inline] |
Creates an appropriate CellRenderer for the column, and packs that cell into the beginning of the column.
If expand is false, then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is true.
You can use get_first_cell_renderer() or get_cell_renderers() to access the generated CellRenderer.
- Parameters:
-
column The model column that will be rendered by the view cell. expand trueif the cell is to be given extra space allocated to the view column.
| void Gtk::TreeViewColumn::pack_start | ( | CellRenderer& | cell, | |
| bool | expand = true | |||
| ) |
Packs the cell into the beginning of the column.
If expand is false, then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is true.
- Parameters:
-
cell The Gtk::CellRenderer. expand trueif cell is to be given extra space allocated to tree_column.
Referenced by Gtk::TreeView::append_column_numeric().
| Glib::PropertyProxy_ReadOnly<float> Gtk::TreeViewColumn::property_alignment | ( | ) | const |
X Alignment of the column header text or widget.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy<float> Gtk::TreeViewColumn::property_alignment | ( | ) |
X Alignment of the column header text or widget.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy_ReadOnly<bool> Gtk::TreeViewColumn::property_clickable | ( | ) | const |
Whether the header can be clicked.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy<bool> Gtk::TreeViewColumn::property_clickable | ( | ) |
Whether the header can be clicked.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy_ReadOnly<bool> Gtk::TreeViewColumn::property_expand | ( | ) | const |
Column gets share of extra width allocated to the widget.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy<bool> Gtk::TreeViewColumn::property_expand | ( | ) |
Column gets share of extra width allocated to the widget.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy_ReadOnly<int> Gtk::TreeViewColumn::property_fixed_width | ( | ) | const |
Current fixed width of the column.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy<int> Gtk::TreeViewColumn::property_fixed_width | ( | ) |
Current fixed width of the column.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
- Returns:
- A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
| Glib::PropertyProxy_ReadOnly<int> Gtk::TreeViewColumn::property_m |
