Hey there.  I'm trying to add a new feature that I'd been
looking for, and have it mostly working.  I would like to
be able to bind certain menuitems to react differently if
you're holding down a modifier.  I've developed a syntax
for this, by way of a whole new menuitem type.  And, when
I open the menu, it maps correctly.  And when I hold down
the "shift" key, it adds the suffix to the normal menuitem
label ([0]).  However, when I release that modifier, it doesn't
revert as it should, until I pass over it with my mouse
thus highlighting and dehilighting that item.

  Does anyone know what I'm doing wrong?

  I'm modifying things in the MenuItem* directly, and then
calling:

get_menu_paint_item_parameters(&mpip, mr, mi, NULL, NULL, False);
menuitem_paint(mi, &mpip);

  As noted, it works just fine when I'm appending to
the previous label, but not when I changing the label
to the previous shorter string.

  Perhaps I'm misunderstanding what the array of labels
are to be used for?  Why are there an array of labels?
In what situation would they be used?

  Thanks.  Any help would be appriciated...

                      - Chris

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to