Article View: comp.windows.x
Article #37915Resizing Athena Menu button widgets
From: Douglas Clinton
Date: Fri, 09 Mar 1990 18:08
Date: Fri, 09 Mar 1990 18:08
21 lines
1233 bytes
1233 bytes
I have a menuButtonWidget which is used to pull down a menu with a list of strings. Selecting one of the menu items causes the label in the button to be changed to that string. However, the buton widget will not resize to fit the string so that if the new string is longer than the original label it gets truncated. I have tried setting XtNresizable as the button is the child of a form widget, but I get a protocol error when calling XtCreatePopupShell to create the pull down menu when resizable is set to true. Any ideas why this is happening and how I can fix it? Doug Clinton clint@ibmpcug.co.uk -- Automatic Disclaimer: The views expressed above are those of the author alone and may not represent the views of the IBM PC User Group. --
Technical Details
Message-ID:
<1990Mar9.180801.1965@ibmpcug.co.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!slxsys!ibmpcug!clintShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!slxsys!ibmpcug!clint From: clint@ibmpcug.co.uk (Douglas Clinton) Newsgroups: comp.windows.x,connect.audit Subject: Resizing Athena Menu button widgets Summary: XtNresizable set to TRUE causes protocol error creating menu shell Keywords: athena Message-ID: <1990Mar9.180801.1965@ibmpcug.co.uk> Date: 9 Mar 90 18:08:01 GMT Organization: The IBM PC User Group, UK. Lines: 21