Motif General Discussion

Syndicate content

Window size changes back to original when list items are deleted

The user resizes a dialog with a list in it. When the list is emptied and re-populated, the dialog flips back to its original size.

Sticky X after forking

Hi Devs,

I'm having an OpenMotif application with an X window output running over ssh X11 forwarding. The application itself is forked a couple of times upon user interaction. After shutting down the X window, the parent process is dead, not listed any longer in the process table on Linux (SuSe Linux). However, the last seen X11 screen stays frozen on the screen. After killing all forked processes, the X screen goes aways.

Subclass of DrawingArea refuses focus

I have subclassed an XmDrawingArea.
My subclass draws some things directly, and has one child. I capture Button1Down and call XmProcessTraversal(me,XmTRAVERSE_CURRENT).

The traversal always fails. If my child is an XmLabel, input focus after the traversal call remains with the old widget that had focus; if my child is a button, the button becomes the new focus widget after the traversal call.

Why can't my widget get focus?
-Fred

pkg-config file missing

There is no pkg-config file which would be very
convenient for many config tools

Here is one that could be used on systems that have
the pkg-config tool:
(Requires may need tunning. lib64 may be replaced with lib
on 32bits systems).

Filename: /usr/lib64/pkgconfig/xm.pc
-----------8<-----------8<-----------8<-----------8<-----------
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include

Name: Xm
Description: Open Motif Widgets Library, version 2.3.x
Version: 2.3.3
Requires: xproto xt xmu
Requires.private: x11 xext xt xmu xpm
Cflags: -I${includedir}

textbox problem, on cross compiled Xm app

i just developed Xm app using cross c compiler for powerpc but ther has been a problem
The textboxes are not replying to keystrokes.
The textbox works perfectly on linux machine but fails on power pc.
though buttons are being pushed on the gui an dperform the job but user can enter any text in textboxes

using LessTif v 0.9.2 and OpenMotif v2.1

any help will be appreciated

Intermittent crash when calling XtVaSetValues

From time to time, my application crash. Valgrind reports this _all the time_ (which I presume can cause a crash depending on various external factors):

==19431== Invalid free() / delete / delete[]
==19431== at 0x402293C: free (vg_replace_malloc.c:323)
==19431== by 0x42880F0: XtFree (in /usr/X11R6/lib/libXt.so.6.0)
==19431== by 0x416726D: _XmCacheDelete (Cache.c:81)
==19431== by 0x40C6048: _XmReCacheLabG_r (LabelG.c:3659)
==19431== by 0x418AA55: _XmRCDoMarginAdjustment (RCLayout.c:2271)
==19431== by 0x40F3CFB: ChangeManaged (RowColumn.c:1422)

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

porting motif on ppc, pls help,urgent

i am running fedora core 7
i just installed powerpc tools(embeedded linux development tools)

now i need to port motif library
pls help
X11 and xt functions are easily ported but motif is giving me headaches
it says "ld:couldnt find lXm"
pls help
is their something special to be done while porting motif on embedded linux development kit

any help would be deeply thanked

Dock widget implementation

Sir, i am implementing a GUI Form in which i have an output area which is for displaying some error messages.

requirements are:
1. at most four message window at a time in that area which are overlapping and we can switch among them using tabs.
2. we can move a particular message window from that place to watch more than one message at a time.

So please suggest me something to implement it.

it is same thing like visual studio 2005 dock widget area at bottom which contain watches and local variable windows at the same time we can switch among them and also move them.