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
1
vote
1 answer

PolyML/Motif: how do I simultaneously draw a window which contains an XmLabelPixmap button?

In PolyML, I am trying to draw a button with a pixmap in it, but cannot find a way to create the pixmap before calling XtRealizeWidget on the shell widget. Using XCreateBitmapFromData after XtRealizeWidget, gives a huge delay in drawing the button…
1
vote
2 answers

Remove close button from BulletinBoard widget in Motif

Is it possible to remove the close button from a BulletinBoard widget in Motif? Or, alternatively, attach a callback function to it? I know I can do this for the toplevel widget but can't seem to do it for a BulletinBoard. For the toplevel shell I…
astronomerdave
  • 512
  • 1
  • 5
  • 18
1
vote
1 answer

How to configure an Image as a button in motif

I was wondering if it was possible to configure an Image as a pushbutton using the openmotif widget tool kit. Basically the Image would act like a button and have activate callbacks similar to what happens with plain pushbuttons. How would this be…
arun nath
  • 773
  • 1
  • 6
  • 11
1
vote
1 answer

Motif: How to move Scroll Bar automatically without user intervention

I have a scrolled window in my application, in which I have created a drawing area widget. In the drawing area, I have placed multiple images. When the user enters information about an image in a search box, the appropriate image gets highlighted.…
arun nath
  • 773
  • 1
  • 6
  • 11
1
vote
1 answer

How to position Toggle Buttons in motif

I have a compiling and working program, but I can't figure out how to place the buttons anywhere other than the top left. Do I need to specify the location in rowcol (like I am now), or do I specify the position of each button when I assign them…
1
vote
1 answer

De select Motif arrowButton

Using the Motif tool kit, we can create arrow Buttons using the API "XmCreateArrowButton". Now when an arrow button is clicked on, the button is selected and remains in the selected state. There is a black border drawn around the arrow button. Is…
arun nath
  • 773
  • 1
  • 6
  • 11
1
vote
1 answer

Xlib: sequence lost in reply type 0x2

i had an occurrence of this error (Xlib: sequence lost in reply type 0x2) in a program i'm maintaining (i'm not the original developer). I'm far from being an expert in Xlib programming, and i included motif in the tag only because this program was…
fraben
  • 98
  • 3
  • 10
1
vote
2 answers

Is it safe to pass int using XtPointer?

When defining a callback proc in Xt (for example XtTimerCallbackProc), client_data is specified as an XtPointer. Is it safe to pass an int via client_data, rather than an actual pointer, and cast it back inside the procedure? For example: void…
ToddR
  • 300
  • 1
  • 11
1
vote
1 answer

How to hid title bar of Motif Dialog/widget

How to create a dialog without a Title bar. I want to create motif dialog/widget using XtVaCreateMangedWidget and XtVaCreateWidget without a title bar and how to create the same dialog full screen?
Ibrar Ahmed
  • 1,039
  • 1
  • 13
  • 25
1
vote
2 answers

Porting application written in C from Solaris to Windows XP

I have an application written in C on Solaris that I have to port to Windows XP. I would like to know that what are the libraries availabe to achieve this task. Also what is the best GUI development tool for the same and what are the steps to follow…
user219141
  • 11
  • 2
1
vote
1 answer

Motif Widgets for Python3

I am wanting to find Motif widgets for Python3 similar to the popular Python module "PyQt4". I have not found a Motif-widgets module. Do any exist?
Devyn Collier Johnson
  • 4,124
  • 3
  • 18
  • 39
1
vote
1 answer

Using qtmotifextension with QT5

Currently I'm using qtmotifextension to connect QT world with old Motif UI on X11 Linux station. I'm trying to update towards QT5 but X11processEvent from QApplication has been removed. Is there an updated qtmotifextension from old qt-solutions…
paranoia25
  • 626
  • 1
  • 5
  • 23
1
vote
3 answers

Motif: Intercept close box event and prevent application exit? (C++)

How do I intercept when the user clicks on a motif window's (widget's) close box, and how do I prevent the Motif window manager to close the entire calling application on the close box being clicked (so that my app can close the Motif application…
Razzupaltuff
  • 2,250
  • 2
  • 21
  • 37
1
vote
1 answer

Windows-like message box for Linux - would this C++/Motif implementation work?

I want a message box for Linux similar to the Windows one: It should pop up, display some text, and when the user clicks the Ok button, it should disappear and return control to the calling function. The message box should work even if there is no…
Razzupaltuff
  • 2,250
  • 2
  • 21
  • 37
1
vote
2 answers

How to kill XtAppMainLoop (Motif)?

I want to use XmCreate{Error|Warning|Info}Dialog to display some message in screen in my SDL based application before its main window is open and any program data is available. I want the dialog to open, print the intended message, and when the user…
Razzupaltuff
  • 2,250
  • 2
  • 21
  • 37