Highlighting problems

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Highlighting problems

Submitted by Anonymous (not verified) on Fri, 06/15/2012 - 12:07

Hi
I am trying to highlight a pressButton when the mouse is over it (not just when you click on it).
Following the "Motif Programming Manual" I must use a parameter called XmNfocusPolicy and set it to XmPOINTER.
According with this text,doing this and setting the parameter XmNhighlightOnEnter of the button to True, the highlighting rectangle should be drawn whenever the cursor moves into it.
The problem is that I cannot find the file where this parameter is defined, and i do not know in which widget has to be set set (maybe the toplevel widget?)
Can anyone help me?
TIA
‹ scrolled window constraint resource with bxpro Bug in geometry management? ›

TM

Tue, 05/09/2006 - 19:54#1

Highlighting problems

Try setting the top level shell's XmNkeyboardFocusPolicy value to XmPOINTER and for each button set XmNhighlighOnEnter to True.

TM