Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
67 views

I am trying to use XbaeMatrix to display tabular/matrix data but I do not want the cells to be editable. I can not find how to achieve that. This is what I have tried: /* * xbae_example.c * Minimal ...
M.E.'s user avatar
  • 5,693
1 vote
0 answers
40 views

I have the following structure: XmScrolledWindow -> XmContainer I am struggling to identify which resources control: a) the border that surrounds the XmContainer when scroll bars are required. ...
M.E.'s user avatar
  • 5,693
2 votes
0 answers
65 views

I want to use the Motif MainWindow using: A container as work region A label as message window. But the label is not shown. My expectation is that it would be shown below the container (work region)....
M.E.'s user avatar
  • 5,693
3 votes
0 answers
142 views

I have an XMotif application which uses the XmIconButton widget class inside an XmContainer. I have an XmNactivateCallback set on the button and it works fine, callbacks are received correctly. ...
Emily-TTG's user avatar
  • 506
3 votes
1 answer
76 views

I'm working on a Motif application with a xmPushButtonWidgetClass button and a xmLabelWidgetClass label. I set initial text, position and size in the label: lbl1TextHint = XmStringCreateLocalized(&...
Joshua Penn's user avatar
1 vote
1 answer
72 views

I'm writing an Xt/Xm application and trying to emulate the effect of the Win32 ClipCursor on a widget. However, the following fails to constrain the pointer to the specified widget area in confine_to ...
Emily-TTG's user avatar
  • 506
3 votes
1 answer
145 views

I have a legacy application using Motif graphics that I am trying to migrate forward to modern times. Rewriting all at once is a hard-sell (and risky) so I'd like to slowly migrate one window at a ...
ryan0270's user avatar
  • 1,277
2 votes
2 answers
178 views

I have the following struct definition intended to represent a time series chart: /* MAX TICKS 24 HOURS * 60 MIN * 60 SEC */ #define MAX_TICKS 86400 /* CHART PARAMETERS */ typedef struct { /* ...
M.E.'s user avatar
  • 5,693
1 vote
0 answers
126 views

I recently start using program Radware (1998) for nuclear data analysis based on C-language I have done following process one by one- make all > make xm > make install then in my Ubuntu (22.04.3 ...
R_ed's user avatar
  • 11
1 vote
1 answer
42 views

I am migrating a module from Solaris to RHEL 7.9 which uses X motif for building the UI. After the migration, the call to - XtIsSubclass(w, xmComboBoxWidgetClass) is failing where w is the Combo box ...
GSam's user avatar
  • 11
1 vote
0 answers
30 views

I pulled downed the entire motif data visualization project from here https://github.com/cylynx/motif.gl. I installed neo4j desktop and I'm using the default movie database project. The db is ...
Brian Blocher's user avatar
1 vote
1 answer
104 views

I am trying to add a scrolled text widget that grows with the size of the application window. It will take all available space. It is intended to be a message area on the bottom of a Main application, ...
M.E.'s user avatar
  • 5,693
1 vote
0 answers
335 views

I am using the following command: findMotifs.pl input.fa fasta ./Output -fastaBg bg.fa -len 8,10,12 -norevopp The input and bg fasta have this structure and the bg fasta include all sequences in ...
Ilario De Toma's user avatar
2 votes
1 answer
120 views

I have read that MWM had WSM in the past, and that is included in the demos/programs folder in the source code for 2.3.8. However, there is a note stating that the functionality to support was removed ...
M.E.'s user avatar
  • 5,693
2 votes
2 answers
214 views

I have written a simple tool to select an audio channel in FreeBSD. This is the code: xaudio.c #include <Xm/Xm.h> #include <Xm/PushB.h> #include <Xm/MainW.h> #include <Xm/...
M.E.'s user avatar
  • 5,693
0 votes
0 answers
247 views

I have a C application developed with X/Motif and I would like restrict the mouse movement to stay within certain boundaries, not necessarily the main window itself. I found about the XGrabPointer ...
Cristi Jiru's user avatar
0 votes
1 answer
150 views

I'm trying to track down a problem that looks like missing events in a Motif drawing area. If I hit mouse button 1 inside the drawing area I get the ButtonPress and ButtonRelease events but then I ...
John3136's user avatar
  • 29.3k
1 vote
0 answers
787 views

For a webpage that I'm doing I'm trying to integrate some very old legacy code into a web browser using Web Assembly and C++. This legacy code uses Motif an old C++ front end framework. I was unable ...
AWorkAccount123's user avatar
2 votes
1 answer
192 views

I want a Motif application to redraw a Drawing Area widget on reception of SIGUSR1 signal. I have configured the signal using the Xt functionalities in X11R6: /* CONFIGURE READ SIGNAL, TRAPS SIGUSR1 ...
M.E.'s user avatar
  • 5,693
0 votes
1 answer
86 views

I have seen how to configure xrm resource names via XrmOptionDescRec struct array. An example of this can be found in this question. I am wondering if I can also pass non-X11 related arguments via ...
M.E.'s user avatar
  • 5,693
1 vote
3 answers
427 views

I am trying to set the title of a toplevel Motif 2.1 window. From O'Reilly Volume Six A, I have seen that in Motif 2.1 XtVaOpenApplication is recommended to create a toplevel Widget. In this appendix ...
M.E.'s user avatar
  • 5,693
0 votes
1 answer
281 views

Greets all, what I've got is a much simplified snippet of a real program that has to update the label strings in 45 million Motif label widgets. Simplified version: I create two label widgets and set ...
vishnu's user avatar
  • 11
1 vote
0 answers
86 views

I am newcomer with python. Is there a way to remove all 'for loops' and use matrixes and vectors instead? for trip in u_triplets: sub_gr = G.subgraph(trip) mot_match = [nx.is_isomorphic(sub_gr,...
user15786435's user avatar
0 votes
1 answer
108 views

I am using a Motif Widget Scrolledlist. The list is created as follows: /* COMMAND GROUP LIST */ ac = 0; XtSetArg(al[ac], XmNselectionPolicy, XmSINGLE_SELECT); ac++; XtSetArg(al[ac], XmNtopAttachment, ...
M.E.'s user avatar
  • 5,693
0 votes
1 answer
140 views

I am trying to compile this excerpt of code without errors: #include <stdlib.h> #include <stdio.h> #include <dirent.h> #include <Xm/Xm.h> #include <Xm/Form.h> #include &...
M.E.'s user avatar
  • 5,693
1 vote
0 answers
166 views

I have the following code, which is basically an option menu inside a form in Motif. #include <Xm/Xm.h> #include <Xm/Form.h> #include <Xm/Label.h> #include <Xm/PushB.h> #...
M.E.'s user avatar
  • 5,693
1 vote
1 answer
162 views

I am trying to create an option menu using Motif toolkit. If I try this, it works: #include <stdlib.h> #include <stdio.h> #include <dirent.h> #include <Xm/Xm.h> #include <...
M.E.'s user avatar
  • 5,693
0 votes
1 answer
210 views

I am trying to use a TextWidget as a log, where programmatically text is added. By using XmTextInsert, XtVaSetValuesand XmTextShowPosition I can append text to a Text Widget, however I have noticed ...
M.E.'s user avatar
  • 5,693
2 votes
1 answer
247 views

To create a sample toplevel window the following code can be done. This is shown in documentation and Motif books (specifically this example is based on "Motif Essentials, Programming and More by ...
M.E.'s user avatar
  • 5,693
1 vote
0 answers
74 views

I am trying to compile a basic window with an OptionMenu Motif Widget. This is what I tried: #include <Xm/Xm.h> #include <Xm/PushB.h> XtAppContext context; XmStringCharSet char_set=...
M.E.'s user avatar
  • 5,693
1 vote
1 answer
48 views

This minimal example creates a Motif window with a push button widget. #include <Xm/PushB.h> int main(int argc, char **argv) { XtAppContext app; Widget toplevel, b; char *...
Quasímodo's user avatar
  • 4,094
1 vote
0 answers
115 views

I'm looking for something like XtWidgetToApplicationContext() however that would work the other way around ↔ return the toplevel widget from its application context. Is there such function? In general,...
psprint's user avatar
  • 359
0 votes
1 answer
222 views

I'm working on a project that is supposed to translate the user input but that isn't the issue. Indeed I'm new to libmotif and I want a toggle button to chose the way of translation (french to italian ...
Xetiam's user avatar
  • 9
2 votes
1 answer
214 views

I am trying to write code in Motif to change a dialog warning box to resize size it if the box is not wide enough. The width and height is always being set by the calling classes and its not always ...
user3416126's user avatar
2 votes
3 answers
230 views

I recently asked this question: Horizontally-Drawn RowColumn Class for Motif Library (C)? In my previous question, I was having trouble getting the xmRowColumnWidgetClass to draw horizontally (row-by-...
overlord's user avatar
  • 151
0 votes
0 answers
294 views

I have ported a 32-bit Motif application (from SLES 10 SP1) to 64-bit SLES 12 SP3. Because of proprietary libraries (XRT) I have been forced to compile on a 32-bit platform (SLES 11 SP3) and link ...
FrodeTennebo's user avatar
0 votes
0 answers
337 views

Returning user here. I have a requirement to migrate a system of OpenMotif 2.3 apps currently running under RHEL5, Gnome Desktop 2.x, to Gnome 3 under RHEL7. The problem is that the apps require ...
Joe Sewell's user avatar
0 votes
0 answers
283 views

MOTIF GUI PROGRAMMING ! Hi there. I am a MOTIF GUI Programmer in C language. After a longer break i have problems with the GCC compiling. my MOTIF file is named winstack.c The compilation runs good. ...
Zabo's user avatar
  • 283
0 votes
1 answer
95 views

I get 2 independent programs (A & B) on Linux Redhat, developed by Motif toolkit based on X window. These 2 programs all have there own human-machine-interface. and there come the questions: When ...
Victor Huang's user avatar
0 votes
1 answer
124 views

I'm using libXm4.0.3. I want to get the display number that the widget is being displayed on from the widget. Going directly to xlib causes a segfault. Xt seems to also segfault. I started using ...
seanr8's user avatar
  • 441
0 votes
1 answer
162 views

How to center the main application window of a MOTIF Widget in the center of the computer screen ? for example a form Widget here. The code is ready and working but the window appears on the left ...
Zabo's user avatar
  • 283
0 votes
1 answer
885 views

I'm writing an application using X11, Xt, and Motif directly with C. I want to have the ability to list all the children widgets from a parent Window. Is there a way to do this? I found the following ...
seanr8's user avatar
  • 441
0 votes
2 answers
145 views

I have a project writed for DEC Unix v4. I want to compile it for linux. My project have Imakefile, I run xmkmf to generate Makefile and after that run make to compile but I get Makefile:1059: *** ...
user3121138's user avatar
0 votes
1 answer
76 views

I have an app, running on Linux, which is comprised of a VkMainWindow and several VkWindows. The desired behavior is to keep the VkMainWindow always on the bottom (and hence, all the VkWindows always ...
Doug Fulford's user avatar
1 vote
1 answer
225 views

I have a legacy, X/Motif, C++ application for which new windows have been added using Java/JNI. New Java windows have been either top level windows or dialogs with no parent. Is there any reasonable ...
Loduwijk's user avatar
  • 1,981
1 vote
1 answer
127 views

I'm trying to understand why the following program is leaking memory. When I look at the heap size by using the command more /proc/<pid>/smaps, I can see that the heap is only growing. It seems ...
Gijsbert's user avatar
2 votes
0 answers
925 views

I am using apache spark to create graphframe using motif query. I have created required edges and vertices and after that executing motif query on lookup pattern. I need to fetch all childs of a ...
Avinash chavan's user avatar
1 vote
0 answers
47 views

Using a combination of XInterAtom(disp, "_NET_CLIENT_LIST", False) and XGetWindowProperty, I can successfully obtain a list of running windows. However, is there a way to convert that data to a ...
cv2k14's user avatar
  • 33
1 vote
1 answer
592 views

iam interesting in MOTIF programming. One question : Is it right that in Motif GUI programming the actions are automaticly transformed and networked to other clients over the internet without ...
Zabo's user avatar
  • 283
1 vote
0 answers
340 views

Recently, I tried to upgrade the Motif library (libXm.so) to a newer version (2.3.3) with XFT support for rendering mutli-language characters. I ran the application and an very annoying X error ...
double_g's user avatar
  • 836