home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.open-look
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!gumby!destroyer!wsu-cs!pandora.cs.wayne.edu!rvt
- From: rvt@pandora.cs.wayne.edu (Rahul V. Tikekar)
- Subject: XView question: Menu buttons
- Message-ID: <1992Dec30.182502.27923@cs.wayne.edu>
- Keywords: XView, panels, menu-buttons
- Sender: usenet@cs.wayne.edu (Usenet News)
- Reply-To: rvt@pandora.cs.wayne.edu (Rahul V. Tikekar)
- Organization: Wayne State University, Detroit
- Date: Wed, 30 Dec 1992 18:25:02 GMT
- Lines: 33
-
- A question on XView and menu buttons. How do I get the
- the triangle in 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
-
-
-
-
-