![]() |
![]() |
![]() |
Libfm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
Application chooser treeApplication chooser tree — Applications tree for application selection dialogs. |
GAppInfo * fm_app_menu_view_dup_selected_app (GtkTreeView *view
); char * fm_app_menu_view_dup_selected_app_desktop_file_path (GtkTreeView *view
); char * fm_app_menu_view_dup_selected_app_desktop_id (GtkTreeView *view
); gboolean fm_app_menu_view_is_app_selected (GtkTreeView *view
); gboolean fm_app_menu_view_is_item_app (GtkTreeView *view
,GtkTreeIter *it
); GtkTreeView * fm_app_menu_view_new (void
);
GAppInfo * fm_app_menu_view_dup_selected_app (GtkTreeView *view
);
Retrieves selected application from the widget.
The returned data should be freed with g_object_unref()
after usage.
Before 1.0.0 this call had name fm_app_menu_view_get_selected_app.
|
a widget |
Returns : |
selected application descriptor. [transfer full] |
Since 0.1.0
char * fm_app_menu_view_dup_selected_app_desktop_file_path
(GtkTreeView *view
);
Retrieves file path to selected application from the widget.
The returned data should be freed with g_free()
after usage.
Before 1.0.0 this call had name fm_app_menu_view_get_selected_app_desktop_file.
|
a widget |
Returns : |
path to selected application file. [transfer full] |
Since 0.1.0
char * fm_app_menu_view_dup_selected_app_desktop_id
(GtkTreeView *view
);
Retrieves name of selected application from the widget.
The returned data should be freed with g_free()
after usage.
Before 1.0.0 this call had name fm_app_menu_view_get_selected_app_desktop_id.
|
a widget |
Returns : |
selected application name. [transfer full] |
Since 0.1.0
gboolean fm_app_menu_view_is_app_selected (GtkTreeView *view
);
Checks if there is an application selected in view
.
|
a widget |
Returns : |
TRUE if there is an application selected. |
Since 0.1.0
gboolean fm_app_menu_view_is_item_app (GtkTreeView *view
,GtkTreeIter *it
);
Checks if item at it
is an application.
|
a widget |
|
tree iterator |
Returns : |
TRUE if item is an application. |
Since 0.1.0