home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / motif / 5864 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.5 KB

  1. Xref: sparky comp.windows.x.motif:5864 comp.windows.x:15724
  2. Newsgroups: comp.windows.x.motif,comp.windows.x
  3. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!alpha.ces.cwru.edu!bharat
  4. From: bharat@ces.cwru.edu (M R Bharat)
  5. Subject: Text widgets do not resize
  6. Message-ID: <1992Aug27.180751.13522@usenet.ins.cwru.edu>
  7. Sender: news@usenet.ins.cwru.edu
  8. Nntp-Posting-Host: fox.ces.cwru.edu
  9. Organization: Case Western Reserve University
  10. Date: Thu, 27 Aug 92 18:07:51 GMT
  11. Lines:       38
  12.  
  13. Hello,
  14.  
  15. In my motif application, I have a problem with my resizing events.
  16. The widget hierarchy is like this:
  17.  
  18.     Form widget
  19.        ....
  20.        ScrolledWindowWidget
  21.            RowColumn
  22.                 Form
  23.             Form
  24.             .....
  25.  
  26. The number of form widgets varies dynamically and each form widget has
  27.      2 label gadgets and a text widget.
  28.  
  29. Now the problem is when I resize my main window only my scrolled window
  30. resizes.  The rowcolumn, form and the text widgets do not catch the resize
  31. event, and eventually my single line text widget does not resize. 
  32.  
  33. This is a similar program to that of the one in the Motif programming 
  34. Manual Volume six of O'Reilly, which exactly works the way I want it.
  35. The difference is that the above program uses toplevel shell as the
  36. parent for the scrolled window whereas my program uses a form widget 
  37. as the parent and I have a form widget above and a frame widget below 
  38. the scrolled window.
  39.  
  40. Prakash
  41.  
  42. lilbit!prakash@skybridge.scl.cwru.edu
  43. (216) 371 9777
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.