slh@wolf.cs.washington.edu (10/11/90)
Is there a widget in motif to perform this function? (I.e. the widget will be undetectedable visually, including any blocking of widgets behind it)
marbru@auto-trol.UUCP (Martin Brunecky) (10/11/90)
In article <13339@june.cs.washington.edu> slh@wolf.cs.washington.edu () writes: > > Is there a widget in motif to perform this function? > (I.e. the widget will be undetectedable visually, > including any blocking of widgets behind it) No, there is no such beast in Motif. However, widget like this can be written (in fact I am using one, but no, it's not freeware). All it needs to do is to use an "input only" window, and avoid any output to it. If you don't mind obscured area, you can also use XmLabel with no string, or any of the manager widgets, write/register your own action routine for keyboard entry, and put it into widget's translation tables: <Key>: my_action(). Manager may be better to avoid focus hassles -). May be - just may be - you can somehow augment Label's Realize procedure and change the way it creates it's window and force an input-only one. But I think it's easier to write your own widget, as a direct subclass of Core. You only have to create your own realize method containing an appropriate window creation, write a simple action routine with a simple callback, and inherit everything else. P L E A S E : I am not receiving any motif-talk mail since Sunday, Oct 7. Is there a problem with the mailing list (i.e. other people having the same problem), or is it just my connection broken somewhere ? (or they decided to shut me up ?) I am still receiving news - so I suspect OSF - can anyone comment ? Thanx ... -- =*= Opinions presented here are solely of my own and not those of Auto-trol =*= Martin Brunecky marbru@auto-trol.COM (303) 252-2499 {...}ncar!ico!auto-trol!marbru Auto-trol Technology Corp. 12500 North Washington St., Denver, CO 80241-2404