Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * gwy_menu_gradient (GCallback callback
,gpointer cbdata
);
Creates a pop-up gradient menu.
Object data "gradient-name"
is set to gradient name for
each menu item.
callback |
A callback called when a menu item is activated (or |
|
cbdata |
User data passed to the callback. |
GtkWidget * gwy_gradient_selection_new (GCallback callback
,gpointer cbdata
,const gchar *active
);
Creates a gradient selection button.
GtkWidget * gwy_gradient_tree_view_new (GCallback callback
,gpointer cbdata
,const gchar *active
);
Creates a tree view with gradient list.
gboolean gwy_gradient_tree_view_set_active (GtkWidget *treeview
,const gchar *active
);
Selects a gradient in a gradient list and scrolls to make it visible.
const gchar *
gwy_gradient_selection_get_active (GtkWidget *selection
);
Gets the name of currently selected gradient of a selection button.
void gwy_gradient_selection_set_active (GtkWidget *selection
,const gchar *active
);
Sets the currently selected gradient of a selection button.
GtkWidget * gwy_menu_gl_material (GCallback callback
,gpointer cbdata
);
Creates a pop-up GL material menu.
Object data "gl-material-name"
is set to GL material
name for each menu item.
callback |
A callback called when a menu item is activated (or |
|
cbdata |
User data passed to the callback. |
GtkWidget * gwy_gl_material_selection_new (GCallback callback
,gpointer cbdata
,const gchar *active
);
Creates a GL material selection button.
GtkWidget * gwy_gl_material_tree_view_new (GCallback callback
,gpointer cbdata
,const gchar *active
);
Creates a tree view with GL material list.
gboolean gwy_gl_material_tree_view_set_active (GtkWidget *treeview
,const gchar *active
);
Selects a GL material in a GL material list and scrolls to make it visible.
const gchar *
gwy_gl_material_selection_get_active (GtkWidget *selection
);
Gets the name of currently selected GL material of a selection button.
void gwy_gl_material_selection_set_active (GtkWidget *selection
,const gchar *active
);
Sets the currently selected GL material of a selection button.