Questions tagged [motif]

a graphical user interface toolkit used in software development

Motif is one of the first X toolkits, a sucessor of the Athena Widgets (Xaw).

Some resources include:

118 questions
2
votes
1 answer

Is Motif/UIL Model-View-ViewModel?

I'm trying to wrap my head around what this pattern entails (other than just "I'm using a recent Microsoft GUI toolikt"). The MVVM wiki page seems to explain it as a separation of the parts of the system that represent the model and the part that…
T.E.D.
  • 44,016
  • 10
  • 73
  • 134
2
votes
3 answers

Motif main window w/o system menu, minimize and maximize boxes how? (C++)

How do I create a Motif main window that doesn't have a system menu, minimize and maximize boxes? I just cannot find out how by googling and reading docs and tutorials. I believe that it should be possible with some additional parameters for…
Razzupaltuff
  • 2,250
  • 2
  • 21
  • 37
2
votes
1 answer

Detect if a X11 window has decorations

This C function can be used to disable or enable windows decorations in many window managers. If 'mode' is 'd' the window will hide the decorations, otherwise if the 'mode' is 'D' the window will show them. void window_tune_decorations(Display…
Paolo.Bolzoni
  • 2,416
  • 1
  • 18
  • 29
2
votes
0 answers

xlib / motif : how can I tell when the window has been redrawn in response to a property change?

Working on a sort of Motif GUI design tool. After I programmatically change a property, add/remove widgets, move widgets around, etc, I capture a screenshot of the Motif window showing the current window state. FYI, I'm using cairo 2d to capture the…
cdr
  • 351
  • 3
  • 5
2
votes
1 answer

How to use gtk from motif

I have an motif based application that runs on Linux. Lately I have been trying to create and launch gtk dialogs from with in the motif application. However I notice that the two tool kits are incompatible. If I move the gtk dialog over the motif…
arun nath
  • 773
  • 1
  • 6
  • 11
1
vote
1 answer

Is it possible to build a Linux/Motif Eclipse RCP application?

I am trying to build an Eclipse application that would work with a linux/motif installation target. However, this seems not to be possible even though the export option is available in the product export wizard. I've checked the content of the…
Mario Ortegón
  • 18,670
  • 17
  • 71
  • 81
1
vote
0 answers

Problem with homer in findMotifs.pl when using input and bg fasta

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 input plus many…
1
vote
0 answers

Which alternatives does Motif 2.3.8 has for virtual desktop?

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 in 2.1. As Motif is quite a legacy toolkit now…
M.E.
  • 4,955
  • 4
  • 49
  • 128
1
vote
0 answers

Motif and X11 with Emscripten and WASM

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 to find any information on whether or not this is…
1
vote
1 answer

How do I pass a widget as client_data to a Xt/Motif signal handler?

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 TO FORCE APPLICATION READ DATA FILE…
M.E.
  • 4,955
  • 4
  • 49
  • 128
1
vote
0 answers

Matrix computation without for loop in python

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, motifs[mot_id]) for mot_id in…
1
vote
0 answers

Make a Motif Option Menu Widget take the whole width (stretch) of its parent (form)

I have the following code, which is basically an option menu inside a form in Motif. #include #include #include #include #include Widget make_menu_item(char *item_name, Widget…
M.E.
  • 4,955
  • 4
  • 49
  • 128
1
vote
1 answer

Creating an option menu in Motif

I am trying to create an option menu using Motif toolkit. If I try this, it works: #include #include #include #include #include #include #include #include…
M.E.
  • 4,955
  • 4
  • 49
  • 128
1
vote
1 answer

How do I create two toplevel windows in Xt/Motif?

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 Marshall Brain). #include #include…
M.E.
  • 4,955
  • 4
  • 49
  • 128
1
vote
0 answers

Incompatible integer to pointer conversion assigning to 'Widget' while compiling a basic OptionMenu example

I am trying to compile a basic window with an OptionMenu Motif Widget. This is what I tried: #include #include XtAppContext context; XmStringCharSet char_set=XmSTRING_DEFAULT_CHARSET; Widget toplevel; Widget …
M.E.
  • 4,955
  • 4
  • 49
  • 128