Mercurial > dwindows
view gtk/kill.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 * kill_xpm[] = { /* width height num_colors chars_per_pixel */ "15 15 6 1", /* colors */ " c white", ". c #5f5f5f", "X c gray75", "o c black", "O c gray40", "+ c gray70", /* pixels */ " .", " XXXXXXXXXXXX..", " XoO++++++OoX..", " XOoO++++OoOX..", " X+OoO++OoO+X..", " X++OoOOoO++X..", " X+++OooO+++X..", " X+++OooO+++X..", " X++OoOOoO++X..", " X+OoO++OoO+X..", " XOoO++++OoOX..", " XoO++++++OoX..", " XXXXXXXXXXXX..", " ..............", "..............."};