home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / openloo / 4942 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!exodus!rickg
  2. From: rickg@eng.sun.com (The Tankster)
  3. Newsgroups: comp.windows.open-look
  4. Subject: Re: XView question: Menu buttons
  5. Date: 31 Dec 92 09:50:28
  6. Organization: SunSoft, Inc.
  7. Lines: 38
  8. Message-ID: <RICKG.92Dec31095028@irondude.eng.sun.com>
  9. References: <1992Dec30.182502.27923@cs.wayne.edu> <hue.725790937@coney>
  10. Reply-To: rickg@eng.sun.com
  11. NNTP-Posting-Host: irondude
  12. In-reply-to: hue@island.COM's message of Thu, 31 Dec 1992 08:35:37 GMT
  13.  
  14. In article <hue.725790937@coney> hue@island.COM (Pond Scum) writes:
  15.  
  16.    Newsgroups: comp.windows.open-look
  17.    From: hue@island.COM (Pond Scum)
  18.    Organization: Island Graphics Corp.
  19.    Date: Thu, 31 Dec 1992 08:35:37 GMT
  20.  
  21.    rvt@pandora.cs.wayne.edu (Rahul V. Tikekar) writes:
  22.    >A question on XView and menu buttons. How do I get the
  23.    >the triangle in the menu button of a panel to point to
  24.    >the right? Currently, it points down.
  25.  
  26.    A quick glance at the source code would have told you that the direction
  27.    depends on the setting of PANEL_LAYOUT.
  28.  
  29.  
  30. correct, taking note that PANEL_LAYOUT applies to both
  31. Panel_item's and Panel's.  in this case *all* of the button
  32. menu-mark's go in accordance with the PANEL_LAYOUT setting
  33. on the Panel (i.e. they are not set individually).
  34.  
  35. so, xv_set(panel, PANEL_LAYOUT, PANEL_VERTICAL, NULL) will
  36. cause all of "panel"'s menu-marks to face right rather than
  37. down.
  38.  
  39. <<tank
  40. --
  41.  
  42. *********************************************************************
  43.  
  44.     Richard M. "Tank" Goldstein        rickg@Eng.Sun.COM
  45.     Window Developer Environment,
  46.     SunSoft, Inc.
  47.  
  48.     "I'm a scientist.  I don't think, I observe."
  49.             -Dr. Clayton Forrester
  50.  
  51. *********************************************************************
  52.