home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!paladin.american.edu!howland.reston.ans.net!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: rvt@pandora.cs.wayne.edu (Rahul V. Tikekar)
- Newsgroups: fj.mail-lists.x-window
- Subject: XView question: Menu Buttons
- Message-ID: <1992Dec30.211026.19303@sm.sony.co.jp>
- Date: 30 Dec 92 21:10:26 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: Wayne State University, Detroit
- Lines: 34
- Approved: michael@sm.sony.co.jp
-
- Date: 30 Dec 92 18:21:57 GMT
- Message-Id: <1992Dec30.182157.27819@cs.wayne.edu>
- Newsgroups: comp.windows.x
- Sender: xpert-request@expo.lcs.mit.edu
-
- A question on XView and menu buttons. How do I get the
- the triangle on the menu button of a panel to point to
- the right? Currently, it points down.
-
- Here is a little of my code (in C++) on a SPARC.
-
- // first create the menu
- Menu menu = (Menu)xv_create (NULL, MENU,
- MENU_ACTION_ITEM, "item1", proc1,
- MENU_ACTION_ITEM, "item2", proc2,
- NULL);
-
- // create panel button and attach the menu to it
- (void)xv_create (panel3, PANEL_BUTTON,
- PANEL_LABEL_STRING, "Menu...",
- PANEL_ITEM_MENU, menu,
- NULL);
- .
- .
- .
- .
- The panel is created with the menu button. However the
- triangle on the menu button points down (the menu is displayed
- below the button). I want the menu displayed to the right of
- the button.
-
- I will appreciate any help.
-
- -- Rahul
-