| Top |
| GtkWidget * | gwy_function_list_new () |
| const gchar * | gwy_function_list_get_kind () |
| void | gwy_function_list_set_kind () |
| const gchar * | gwy_function_list_get_selected () |
| gboolean | gwy_function_list_select () |
| void | gwy_function_list_refresh_row () |
| void | gwy_function_list_set_show_remaning_tools () |
| gboolean | gwy_function_list_get_show_remaning_tools () |
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkTreeView
╰── GwyFunctionList
GwyFunctionList implements AtkImplementorIface, GtkBuildable and GtkScrollable.
GtkWidget *
gwy_function_list_new (const gchar *kind);
Creates a new list of program functions
[constructor]
const gchar *
gwy_function_list_get_kind (GwyFunctionList *flist);
Gets the kind of functions list of program functions is currently showing.
void gwy_function_list_set_kind (GwyFunctionList *flist,const gchar *kind);
Switches a list of program functions to a different kind of functions.
The kind can be NULL or the empty string for an empty list, "empty" for the no-function placeholder or the name of function kind like "image", "graph", "volume" or "synth".
const gchar *
gwy_function_list_get_selected (GwyFunctionList *flist);
Gets the name of selected function in a list of program functions.
Combine the function with gwy_function_list_get_kind() to get the complete specification of the function.
The return value may be NULL if there are no functions. The name of the remaining tools placeholder is returned as
the empty string.
gboolean gwy_function_list_select (GwyFunctionList *flist,const gchar *name,gboolean scroll_to);
Selects a function in a list of program functions.
void gwy_function_list_refresh_row (GwyFunctionList *flist,const gchar *name);
Refreshes information about a function in a list of program functions.
void gwy_function_list_set_show_remaning_tools (GwyFunctionList *flist,gboolean setting);
Sets whether a remaning tools item is shown at the end of a tool list.
The setting only affects lists of tools. The remaning tool item is a useful placeholder when editing the toolbox. It is not useful otherwise.
gboolean
gwy_function_list_get_show_remaning_tools
(GwyFunctionList *flist);
Reports whether a remaning tools item is shown at the end of a tool list.