Motif option menu: too large a list, need scrolled list

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
Motif option menu: too large a list, need scrolled list

Submitted by Anonymous (not verified) on

Fri, 06/15/2012 - 12:07

A user of my application has informed me that they have run out of space for an option menu. The number of choices exceeds the vertical height of the screen and they therefore cannot get at all the choices. The list is for items that the user creates in the application. I need the option menu to turn
into a scrolled list when the list of options gets large. Does any body have a widget that would do that? The same problem will exist for a simple pulldown menu. It would seem to be that the option menu should be designed to do that automatically.
‹ Build openMotif 2.2.2 fails: _XGetpwnam requires 3 arguments XmScale Trough Color ›

 

Thu, 10/13/2005 - 02:45#1

Thu, 10/13/2005 - 02:45#1

gray45

Use cascading menus perhaps?

One fix I can suggest is to keep track of the number of items in the list and when it reaches a limit, add a "more ->" cascade button to the bottom which would popup a continuation of the list.

 

Thu, 10/13/2005 - 17:13#2

Thu, 10/13/2005 - 17:13#2

wdrenner

solution to not enough room on option menu.

pulldown menu and option menu is ultimately just a row column widget.
A simple solution is to increase the number of columns. Do a count and
at some threshold create another column. ICS was kind enough to
suggest this as a solution. I tried it and it works just fine.

doing a cascade off an option menu I have noticed leaves the cascade part visible when it should go down (after a selection).

 

Thu, 10/27/2005 - 16:24#3

Thu, 10/27/2005 - 16:24#3

nail624

Comment

Well as brief as your comment is it explains alot.