![]() |
Public Types | |
| typedef sigc::slot< void, const TreeModel::Path& > | SlotForeach |
| For instance, void on_foreach(const Gtk::TreeModel::Path& path);. | |
| typedef Glib::ListHandle< TreePath, TreePathTraits > | ArrayHandle_TreePaths |
Public Member Functions | |
| virtual | ~IconView () |
| GtkIconView* | gobj () |
| Provides access to the underlying C GtkObject. | |
| const GtkIconView* | gobj () const |
| Provides access to the underlying C GtkObject. | |
| IconView () | |
| IconView (const Glib::RefPtr<TreeModel>& model) | |
| void | set_model (const Glib::RefPtr<TreeModel>& model) |
| Sets the model for a Gtk::IconView. | |
| Glib::RefPtr<TreeModel> | get_model () |
| Returns the model the Gtk::IconView is based on. | |
| Glib::RefPtr<const TreeModel> | get_model () const |
| Returns the model the Gtk::IconView is based on. | |
| void | set_text_column (int column) |
| Sets the column with text for icon_view to be column . | |
| void | set_text_column (const TreeModelColumnBase& model_column) |
| Sets the column with text for icon_view to be column . | |
| int | get_text_column () const |
| Returns the column with text for icon_view . | |
| void | set_markup_column (int column) |
| Sets the column with markup information for icon_view to be column . | |
| void | set_markup_column (const TreeModelColumnBase& column) |
| Sets the column with markup information for icon_view to be column . | |
| int | get_markup_column () const |
| Returns the column with markup text for icon_view . | |
| void | set_pixbuf_column (int column) |
| Sets the column with pixbufs for icon_view to be column . | |
| void | set_pixbuf_column (const TreeModelColumnBase& column) |
| Sets the column with pixbufs for icon_view to be column . | |
| int | get_pixbuf_column () const |
| Returns the column with pixbufs for icon_view . | |
| void | set_orientation (Orientation orientation) |
| Sets the ::orientation property which determines whether the labels are drawn beside the icons instead of below. | |
| Orientation | get_orientation () const |
| Returns the value of the ::orientation property which determines whether the labels are drawn beside the icons instead of below. | |
| void | set_columns (int columns) |
| int | get_columns () const |
| void | set_item_width (int item_width) |
| int | get_icon_width () const |
| void | set_spacing (int spacing) |
| int | get_spacing () const |
| void | set_row_spacing (int row_spacing) |
| gint | get_row_spacing () const |
| void | set_column_spacing (int column_spacing) |
| int | get_column_spacing () const |
| void | set_margin (int margin) |
| int | get_margin () const |
| TreeModel::Path | get_path_at_pos (int x, int y) const |
| Finds the path at the point ( x , y ), relative to widget coordinates. | |
| void | selected_foreach (const SlotForeach& slot) |
| Calls a function for each selected icon. | |
| void | set_selection_mode (SelectionMode mode) |
| Sets the selection mode of the icon_view . | |
| SelectionMode | get_selection_mode () const |
| Gets the selection mode of the icon_view . | |
| void | select_path (const TreeModel::Path& path) |
| Selects the row at path . | |
| void | unselect_path (const TreeModel::Path& path) |
| Unselects the row at path . | |
| bool | path_is_selected (const TreeModel::Path& path) const |
Returns true if the icon pointed to by path is currently selected. | |
| ArrayHandle_TreePaths | get_selected_items () const |
| Creates a list of paths of all selected items. | |
| void | select_all () |
| Selects all the icons. | |
| void | unselect_all () |
| Unselects all the icons. | |
| void | item_activated (const TreeModel::Path& path) |
| Activates the item determined by path . | |
| Glib::SignalProxy2< void, Adjustment*, Adjustment* > | signal_set_scroll_adjustments () |
| Glib::SignalProxy1< void, const TreeModel::Path& > | signal_item_activated () |
| Glib::SignalProxy0<void> | signal_selection_changed () |
| Glib::PropertyProxy<int> | property_pixbuf_column () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< int > | property_pixbuf_column () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<int> | property_text_column () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< int > | property_text_column () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<int> | property_markup_column () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< int > | property_markup_column () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<SelectionMode> | property_selection_mode () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< SelectionMode > | property_selection_mode () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<Orientation> | property_orientation () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< Orientation > | property_orientation () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy< Glib::RefPtr< TreeModel > > | property_model () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr<TreeModel >> | property_model () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<int> | property_columns () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< int > | property_columns () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<int> | property_item_width () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< int > | property_item_width () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<int> | property_spacing () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< int > | property_spacing () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<int> | property_row_spacing () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< int > | property_row_spacing () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<int> | property_column_spacing () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< int > | property_column_spacing () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<int> | property_margin () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< int > | property_margin () const |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Protected Member Functions | |
| virtual void | on_set_scroll_adjustments (Adjustment* hadjustment, Adjustment* vadjustment) |
| virtual void | on_item_activated (const TreeModel::Path& path) |
| virtual void | on_selection_changed () |
Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::IconView* | wrap (GtkIconView* object, bool take_copy=false) |
|
|
|
|
|
For instance, void on_foreach(const Gtk::TreeModel::Path& path);.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the column with markup text for icon_view .
|
|
|
Returns the model the Gtk::IconView is based on.
Returns
|
|
|
Returns the model the Gtk::IconView is based on.
Returns
|
|
|
Returns the value of the ::orientation property which determines whether the labels are drawn beside the icons instead of below.
|
|
||||||||||||
|
Finds the path at the point ( x , y ), relative to widget coordinates.
|
|
|
Returns the column with pixbufs for icon_view .
|
|
|
|
|
|
Creates a list of paths of all selected items. Additionally, if you are planning on modifying the model after calling this function, you may want to convert the returned list into a list of Gtk::TreeRowReference<!-- -->s. To do this, you can use Gtk::Tree::row_reference_new(). To free the return value, use: g_list_foreach (list, gtk_tree_path_free, <tt>0</tt>); g_list_free (list);
|
|
|
Gets the selection mode of the icon_view .
|
|
|
|
|
|
Returns the column with text for icon_view .
|
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Container. |
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Container. |
|
|
Activates the item determined by path . Since: 2.6
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Returns
If icon does not point to a valid location,
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
Selects all the icons. icon_view must has its selection mode set to Gtk::SELECTION_MULTIPLE. Since: 2.6 |
|
|
Selects the row at path . Since: 2.6
|
|
|
Calls a function for each selected icon. Note that the model or selection cannot be modified from within this function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sets the column with markup information for icon_view to be column . The markup column must be of type G::TYPE_STRING. If the markup column is set to something, it overrides the text column set by set_text_column(). Since: 2.6
|
|
|
Sets the column with markup information for icon_view to be column . The markup column must be of type G::TYPE_STRING. If the markup column is set to something, it overrides the text column set by set_text_column(). Since: 2.6
|
|
|
Sets the model for a Gtk::IconView.
If the icon_view already has a model set, it will remove it before setting the new model. If model is Since: 2.6
|
|
|
Sets the ::orientation property which determines whether the labels are drawn beside the icons instead of below. Since: 2.6
|
|
|
Sets the column with pixbufs for icon_view to be column . The pixbuf column must be of type Gdk::TYPE_PIXBUF Since: 2.6
|
|
|
Sets the column with pixbufs for icon_view to be column . The pixbuf column must be of type Gdk::TYPE_PIXBUF Since: 2.6
|
|
|
|
|
|
Sets the selection mode of the icon_view . Since: 2.6
|
|
|
|
|
|
Sets the column with text for icon_view to be column . The text column must be of type G::TYPE_STRING. Since: 2.6
|
|
|
Sets the column with text for icon_view to be column . The text column must be of type G::TYPE_STRING. Since: 2.6
|
|
|
|
|
|
|
|
|
|
|
|
Unselects all the icons. Since: 2.6 |
|
|
Unselects the row at path . Since: 2.6
|
|
||||||||||||
|
|