view gtk/minimize.xpm @ 1931:3a5571255ee6

GTK3: dw_menu_popup() on GTK has always ignored the coordinate paramaters and just created the menu where the cursor was. A new API gtk_menu_popup_at_rect() was created to use a rectangle to place the menu, so I had tried to use that... however either it does not work right or I don't understand how to call it. So I have switched to gtk_menu_popup_at_pointer() to stay consistent with the old behavior for now.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 02 Jun 2017 23:37:45 +0000
parents b3404a94a15d
children
line wrap: on
line source

/* XPM */
static char * minimize_xpm[] = {
/* width height num_colors chars_per_pixel */
"15 15 5 1",
/* colors */
" 	c white",
".	c #5f5f5f",
"X	c gray75",
"o	c gray70",
"O	c black",
/* pixels */
"              .",
" XXXXXXXXXXXX..",
" XooooooooooX..",
" XooooooooooX..",
" XooooooooooX..",
" XoooOOOOoooX..",
" XoooOOOOoooX..",
" XoooOOOOoooX..",
" XoooOOOOoooX..",
" XooooooooooX..",
" XooooooooooX..",
" XooooooooooX..",
" XXXXXXXXXXXX..",
" ..............",
"..............."};