| Top |
| GtkWidget * | xfce_item_list_view_new () |
| XfceItemListModel * | xfce_item_list_view_get_model () |
| void | xfce_item_list_view_set_model () |
| GMenu * | xfce_item_list_view_get_menu () |
| GtkWidget * | xfce_item_list_view_get_tree_view () |
| void | xfce_item_list_view_set_label_visibility () |
| gint | xfce_item_list_view_get_selected_items () |
| gboolean | label-visibility | Read / Write |
| GMenu * | menu | Read |
| XfceItemListModel * | model | Read / Write |
| GtkTreeView * | tree-view | Read |
| gboolean | add-item | Run Last |
| gboolean | edit-item | Run Last |
| gboolean | remove-items | Run Last |
| gboolean | reset-items | Run Last |
GEnum ╰── XfceItemListViewColumn GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── XfceItemListView
XfceItemListView implements AtkImplementorIface, GtkBuildable and GtkOrientable.
GtkWidget *
xfce_item_list_view_new (XfceItemListModel *model);
Since: 4.21.3
XfceItemListModel *
xfce_item_list_view_get_model (XfceItemListView *view);
Since: 4.21.3
void xfce_item_list_view_set_model (XfceItemListView *view,XfceItemListModel *model);
Since: 4.21.3
GMenu *
xfce_item_list_view_get_menu (XfceItemListView *view);
Returns a menu to which you can add your own items
Since: 4.21.3
GtkWidget *
xfce_item_list_view_get_tree_view (XfceItemListView *view);
Returns a GtkTreeView to which you can add your own columns, or customize the selection mode
Since: 4.21.3
void xfce_item_list_view_set_label_visibility (XfceItemListView *view,gboolean visibility);
Since: 4.21.3
gint xfce_item_list_view_get_selected_items (XfceItemListView *view,gint **items);
Returns a GtkTreeView to which you can add your own columns, or customize the selection mode
Since: 4.21.3
#define XFCE_MENU_ATTRIBUTE_MOVEMENT "movement"
Attribute with boolean type. If TRUE, then the menu item is responsible for changing the order of rows.
Buttons with this attribute will appear on the right side of the XfceItemListView widget.
Since: 4.21.3
#define XFCE_MENU_ATTRIBUTE_TOOLTIP "tooltip"
Attribute with string type. The format is the same as gtk_widget_set_tooltip_text().
Since: 4.21.3
#define XFCE_MENU_ATTRIBUTE_HIDE_IN_CONTEXT_MENU "hide-in-context-menu"
Attribute with boolean type. If TRUE, the menu item will not appear in context menus.
Since: 4.21.3
Indexes of standard columns attached to GtkTreeView. Using these indexes you can access the desired column to change its settings. You can add your own columns at the end, starting from the index XFCE_ITEM_LIST_VIEW_COLUMN_USER.
|
GtkCellRendererToggle, linked to XFCE_ITEM_LIST_MODEL_COLUMN_ACTIVE. |
||
|
GtkCellRendererPixbuf, linked to XFCE_ITEM_LIST_MODEL_COLUMN_ICON. |
||
|
GtkCellRendererText, linked to XFCE_ITEM_LIST_MODEL_COLUMN_NAME. |
||
|
First index for your custom column. |
Since: 4.21.3
“label-visibility” property “label-visibility” gboolean
If FALSE, then the labels on the buttons will be hidden.
Owner: XfceItemListView
Flags: Read / Write
Default value: FALSE
Since: 4.21.3
“model” property“model” XfceItemListModel *
Internal XfceItemListViewModel.
Owner: XfceItemListView
Flags: Read / Write
“add-item” signalgboolean user_function (XfceItemListView *view, gpointer user_data)
TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
Flags: Run Last
Since: 4.21.3
“edit-item” signalgboolean user_function (XfceItemListView *view, int item, gpointer user_data)
TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
Flags: Run Last
Since: 4.21.3
“remove-items” signalgboolean user_function (XfceItemListView *view, gpointer items, int n_items, gpointer user_data)
view |
||
items |
Item indexes. |
[array length=n_items][element-type int][in] |
n_items |
Number of indexes |
|
user_data |
user data set when the signal handler was connected. |
TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
Flags: Run Last
Since: 4.21.3
“reset-items” signalgboolean user_function (XfceItemListView *view, gpointer user_data)
TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.
Flags: Run Last
Since: 4.21.3