Creating Motif widgets dynamically??

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

Questions about motif? Contact us

Submitted by Anonymous on Mon, 10/29/2001 - 08:06. General Questions
I am currently working on an enhancement wherein
I want to create buttons dynamically in my applicaton (wdbgui).
To implement the above feature, I created a Rowcolum
widget in the wdbgui form for placing the buttons(created using XmPushButtonWidget). The
maximum number of buttons that the user can create is 15.

The problem I am currently facing is, with one new rowcolumn
widget in the form, I could place only 8 buttons with label
length of 15. The 9th button is not getting wrapped up in to the
next column but goes invisible . Also, because of this the wdbgui
main window is getting resized. I want neither of them to happen.

Is there a way in motif wherein the button will wrap itself
down if it cannot fit in the first column with the current GUI
dimension ? Say the main window is 500 x 500, without
changing this dimension, is there a way to wrap the buttons
into multiple columns ?
And also the size of the button becomes very small while we reduce the
size of the button a little ...
Any kind of help would be highly appreciated.

Wed, 06/27/2012 - 11:49
#1
3 posts / 0 new
Last post
56
Wed, 06/27/2012 - 11:49
26
Wed, 06/27/2012 - 11:49