Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
This is a trivial question but one I cant answer! I want to display text created by my program in a window in much the same way that the DECterm widget does ie I simply want to write a load of ascii text to a region. I cannot work out how you write text to a widget such as the 'window' widget (as an aside I cant see what a window widget does at all, since it can have no children according to the UIL manual)! The DECburger example 'cheats' by writing the order to a list box, so that was no help. Thanks for any replies, Chris Firth
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
107.1 | Window widget "in a Nutshell" | LEOVAX::TREGGIARI | Thu Feb 02 1989 11:18 | 8 | |
The idea of a window widget, is that after you create it, and realize it, you can call XtDisplay and XtWindow to get the Display and Window of the window widget. You then provide an expose callback procedure to do whatever X drawing primitives you want (using the Display and Window), including text. Leo | |||||
107.2 | Merci beaucoup | EMC2::FIRTH | Chris Firth, Digital FYO, DTN 885 6719 | Mon Feb 06 1989 11:59 | 5 |
Thanks, I understand now - and got it to work! Chris |