General Questions

Syndicate content

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?

Resize handle

Hi all,

I'm using EPICS EDM software that uses Motif. When application displays a window I always need to resize the parts of the window to see everything that is shown on the window. Eg. if window is divided in two parts a line and 1x1 pixel handle on that line allows me to resize the top/bottom parts to desired size. The problem is that the handle (mouse cursor changes to cross when hovered) is so damn small that makes me very frustrated. I need to place the mouse cursor directly over that 1x1 pixel to be able to resize.

Can this handle be made larger?

How to implement MOTIF in my CentOS 5.4 linux OS

Hi guys,

I have a requirement to implement motif in my version of centos linux 5.4. I don't have any idea on how to proceed with this. Is there a file that needs to be used? Online I was reading that motif or mwm is included with rhel and centos, but I have no idea of how to configure it to start up at boot up instead of KDE. I searched in the /etc/inittab file on my system and just become more lost. Is there anyone that can provide me any type of help?

Error during make-XmStrDefs.c:18: error: declaration for parameter '_XmStrings' but no such parameter

make command on openmotif-2.3.0 (after ./compile) gives lots of warnings:
XmStrDefs.c:1371: warning: (near initialization for '_XmStrings')
XmStrDefs.c:1372: warning: excess elements in scalar initializer

And then the error-

XmStrDefs.c:1374: error: expected declaration specifiers before 'externaldef'
XmStrDefs.c:1666: error: expected declaration specifiers before ';' token
XmStrDefs.c:1668: error: expected declaration specifiers before 'externaldef'
XmStrDefs.c:1686: error: expected declaration specifiers before ';' token

Mouse trap in Fedora 12

A bug of interest to OpenMotif users & developers has appeared in Fedora 12. I believe the bug is in the X-windows server, but it affects an application which uses OpenMotif (or Lesstif). This bug was not present in earlier versions of Fedora, such as 9 and 11.

Briefly, when a button with a popup menu is clicked on, the menu pops up only if the tiny triangle indicating the popup menu is selected. If anywhere else on the button, no action occurs, and the mouse cursor becomes trapped within the bounds of the button.

Compiling: undefined reference

Hi

I have two files that make reference to a function. The function is declared as extern in one file and declare and define in the other file. Compiling generates the error: undefined reference to the function. If I move the file.o (object file) in the makefile file, the error goes away. I am having this problem compiling several of the source codes in the makefile. These source codes compiled on IRIX6.2 without problem. I am moving these codes to SUSE Linux using openMotif 2.2.4+.

My question is:
Does it matter where the object files are in the makefile?
i.e. OBJS = a.o \

es6 performance octave change

hi, please a question
sorry for my english:
I need to change e octave in one part in mode "performance"
I can change octave in all performance or in a single patch, but not in a single part of PERFORMANCE. This is right? or you can helpme? thank you for attention

openmotif and geomview

Hi,
I have a macbook with leopard os and I try to install geomview using openmotif but I get error message:
Can't find Motif header file Xm/Xm.h. Geomview requires Motif
(or Lesstif). See the file INSTALL.Geomview for details.

What should I do to use openmotif instead of motif
I typed the command ./confugure

Thank you
cfg