General Questions

Syndicate content

Insider Tips on Motif Webcast

Are you new to Motif or do you need a refresher?  Check out the Insider Tips on Motif Webcast at the ICSNetwork.

Important Information About Registering

In order to post on the MotifZone forums, you need to be a registered user. We've changed the registration process slightly. To register, go to http://www.motifzone.net/forum/ and click the "Register" button. An administrator will need to verify your account. If you do not receive an email saying that your account has been activated within 48 hours, please send an email to webmaster (@) motifzone (dot) net.

Must Be a Registered User to Post

Hello! We've been getting a lot of spam in the forums. In order to try to counteract this problem, only registered users can now post. Sorry for any inconvenience this causes.

-Megan

Motif 2.0 over X11R7

Hi all,

does Motif 2.0 can be used over X11R7 ?

thanks
Amit yedidia

button - fixed size

Hello.
I have been trying to write a simple programme - just a window with a button inside.
I want the button not to resize with the window - it should have fixed size and should be inextensible.
I suppose an answer for this question is very obvious, but I can't find it out.
I created the button and set XmNresizePolicy, but it still resizes while fiddling with the window size:


top_wid = XtVaAppInitialize(&app, "Push", NULL, 0,
&argc, argv, NULL, NULL);
button = XmCreatePushButton(top_wid, "Push_me", NULL, 0);
Arg args[1];

pointer frozen when creating a popup menu

I just changed to Ubuntu 10.4 and the pointer is frozzen when a popup menu should appear.

To replicate this new problem I just used the program simple_popup.c from http://www.ist.co.uk/motif/books/vol6A/ch-19.fm.html.
After clicking the button 3 (the right one) the pointer is locked in the window without any popup menu.

Is there any solution?

/* simple_popup.c -- demonstrate how to use a simple popup menu.
** Create a main window that contains a DrawingArea widget, which
** displays a popup menu when the user presses the third mouse button.
*/

#include

libXft.so: undefined reference to `FT_Library_SetLcdFilter'

I get this error during the make. Here are the details.

make[2]: Entering directory `/home/joe/motif/openmotif-2.3.0/tools/wml'
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -I/usr/include/freetype2 -o wmldbcreate wmldbcreate.o ../../lib/Xm/libXm.la -lXft -ljpeg -lpng

window disappearing with core file - Urgent

Hi all,

In production server after filling data of fields in a particluar
window and clicked on OK button, all the window get closed except the
main window and generated core file in user's home directory. Once the
user exited from the application and login again and tried to do the
same thing then it successfully done. The user is not getting this for
every time. I tried to reproduce by doing the same operation in my
local test servers.. but couldn't reproduce. I never added any new
widgets or changed anything in the screen.

XmCreateOptionMenu and const. labelsize ?

Hi all,
i would like to have a constant width for all OptionLabels.
I have tried without success:


n = 0;
XtSetArg (args[n], XmNwidth, 250); n++;
XtSetArg (args[n], XmNheight, 250); n++;
XtSetArg (args[n], XmNsubMenuId, *pulldown); n++;
XtSetArg (args[n], XmNmenuHistory,menu[0]._t ); n++;
*cascade = XmCreateOptionMenu(main_rc, menu[0]._S , args, n);
XtManageChild (*cascade);

note i can expand all menu[0]._S to the same size by adding spaces but i can not handle changes via resources.

Does Motif need a clipboard manager?

I use and develop Motif applications with text widgets and the cut/copy/paste feature is behaving oddly on Mac OS X 10.6.2. I am using the X11 installation that comes with Snow Leopard. What I find is that paste doesn't work at all if I enable syncing of the OSX pasteboard and the X11 clipboard (cut deletes the text, but paste never inserts anything). If I disable syncing, paste works within one process, but if I start up another process, paste doesn't work from one process to another unless I run xclipboard. Is this expected behaviour?