53 GtkWidget * menub = gtk_menu_new ();
55 gtk_menu_shell_append ((GtkMenuShell *)menub, bc);
56 gtk_menu_item_set_submenu ((GtkMenuItem *)bc,
color_box(view, -2, 0, 0));
70 GMenu * menu = g_menu_new ();
71 append_opengl_item (view, menu,
"back-color",
"back-color", popm, popm, NULL,
IMG_NONE, NULL, TRUE, NULL, NULL, FALSE, FALSE, FALSE, FALSE);
72 append_opengl_item (view, menu,
"More colors ...",
"back-color", popm, popm, NULL,
IMG_NONE, NULL, FALSE, G_CALLBACK(
to_run_back_color_window), view, FALSE, FALSE, FALSE, TRUE);
GtkWidget * color_box(glwin *view, int ideo, int spec, int geo)
create the color palette pointers and menus GTK3 version
Structure definitions for color management Function declarations for color management.
G_MODULE_EXPORT void to_run_back_color_window(GtkWidget *widg, gpointer data)
to run background color selection window callback GTK3
Global variable declarations Global convenience function declarations Global data structure defin...
GtkWidget * create_menu_item(gboolean add_mnemo, gchar *action)
Function declarations for the creation of the OpenGL window.
void append_opengl_item(glwin *view, GMenu *menu, const gchar *name, gchar *key, int mpop, int item_id, gchar *accel, int image_format, gpointer icon, gboolean custom, GCallback handler, gpointer data, gboolean check, gboolean status, gboolean radio, gboolean sensitive)
GMenu * menu_back(glwin *view, int popm)
create the background color menu item GTK4