WidgetList

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

Questions about motif? Contact us

3 posts / 0 new
Last post
WidgetList

Submitted by Anonymous on Wed, 09/05/2001 - 11:47. Developers
I have a number of xrttable widgets (or assume other widgets). How can I create a WidgetList from this group. Is there any way that I will be able to create a list of widgets.

ICS_support

A WidgetList is just an array of Widget. That is, it is an array of pointers. See the earlier discussion of XmStringTable; the two are the same in structure.

leetuckert

I don`t know exactly what your needs are, but we have a database application with an X-Windows interface that contains three different sets of widgets that correspond to three different application modes 1) search, 2) condensed browse (using XbaeMatrix), and 3) detail/edit/create. Given this scenerio, we need to keep track of several widget lists, and we also need to store other pieces of information related to access to the database. We accomplish this by using three different linked lists of structures. The structures contain the widget id and various other pieces of information that are important to us. This is the solution we choose for maintaining lists of widgets.