libs/gtxm/src/gtPopMenuXm.h.cxx
//
// handle_right_button
//
// Positions and pops up menu when button 3 is pressed.
//
handle_right_button
Positions and pops up menu when button 3 is pressed.
handle_right_button Positions and pops up menu when button 3 is pressed .
static void handle_right_button(Widget, XtPointer popup, XEvent* e, Boolean*)
{
    if(e->xany.type == ButtonPress  &&  e->xbutton.button == 3)
    {
	XmMenuPosition(Widget(popup), &e->xbutton);
	XtManageChild(Widget(popup));
    }
}
static void handle_right_button ( Widget , XtPointer popup , XEvent * e , Boolean * ) { if ( e -> xany . type == ButtonPress && e -> xbutton . button == 3 ) { XmMenuPosition ( Widget ( popup ) , & e -> xbutton ) ; XtManageChild ( Widget ( popup ) ) ; } }
handle_right_button
Positions and pops up menu when button 3 is pressed.
handle_right_button Positions and pops up menu when button 3 is pressed .