Greetings,
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 delta pack and indeed, the packages for linux/motif are missing. After checking ...
I have a legacy C++ project that uses motif for GUI. I want to create a Visual Studio solution of this project. So that I can build/run/debug from Visual studio. Currently I am on a windows box. I ssh into a Unix box and use cc to build and dbx to debug. When I run the application I change my display to the windows box and use xming for ...
I am working on old Motif-based application for Linux. I want to be able to programmatically change the active window of our application. I can redirect the input by using XSetInputFocus() function and the keyboard input start to go there, but XReconfigureWMWindow() and XRaiseWindow() functions just don't work.
I've read that Window Ma...
Our application is crashing while destroying an XmText box. It also crashes randomly when I press any key.
Not sure why, but may be due to some uninitialized keycodes.
Here is the gdb output:
#0 0x403e38b2 in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
(gdb) bt
#0 0x403e38b2 in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#1 ...
I have a Motif XmRowColumn set up as an option menu (XmMENU_OPTION).
When you scroll the mouse wheel while over the opened list of options, the button your cursor is over is chosen and the list closes.
I need to be able to use the mouse scroll wheel on the opened list of options: the selected option changes (like using the up and down ...
Is it possible to create or derive a Motif widget using the return value of XCreateWindow, so that I can use that widget as parent for calls to Motif functions (like XmCreateErrorDialog)? If yes, how do I do that?
...
Background of my question is that 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. So I want the dialog to open, print the intended message, and when the user clicks on the OK button, the dialog plus the top wid...
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 application window yet at all. So it creates an application context, ties a dialog via XmC...
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 additonal parameters for XtVaCreateManagedWindow, but which?
Edit:
I have tried several variants of XtVaSetValues (topWid...
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 context and windows and continue to run)? I've tried to find out myself with Google, tuts an...
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 to achieve this all.
...
Is it possible to port an application built in X/Motif GUI on Solaris platform to Windows using wxWidgets? If so, is it easier to port to wxWidgets than other GUI builders like QT or Visual Studio?
...
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 foo(void) {
...
int data = 1;
XtAppAddTimeout(app_context, 1000, timer_cb, data);
...
I have developed an application in X/Motif that has a performance issue related with the standard Drag&Drop functionality supplied by the toolkit. I have already disabled the Drag&Drop protocol at the level of the user interface by setting the XmDRAG_NONE resources:
dragInitiatorProtocolStyle: XmDRAG_NONE
dragReceiverProtocolStyle: XmD...
I'm new to GUI programming in C and Linux, and I'm having a hard time with it. It seems like a fairly simple/straightforward thing, but I can't find any answers googling. I want to add a background color to a widget. XmNbackground seems to be what I want to use, but I don't understand what I set it to, like a simple color blue, how do I ...
I have Tk version 8.5.3 installed, theming engine support added since 8.5. Still, I don't know how to use themes, default Motif is just ugly:
Screenshot
...
I have a Motif-based notepad-like legacy application.
I would like the modeless "Find/Replace" dialog (which is a Motif TopLevelShell) to always stay on top of the other windows of my application, but not on top of other applications.
I don't see any Motif-specific setting to do this.
KDE allows me to set window-specific behavior, but ...
I have a class called XClient written with the Xt (X Tools Intrinsic library) to setup a multisocketed connection. This XClient class was meant for OSF/Motif GUIs to extend XClient (so the GUI could talk on sockets).
I am trying to migrate into a GTK+ environment which does NOT use the Xt library for portability reasons. Is it still p...
Hi All,
We have a 32bit Motif Gui application. Now we ported the application from Solaris to Linux and the system is crashing very frequently. On our analysis we could find that this issue happened when we are closing the forms in our application. When the forms are closed we will delete the forms and will call the function XtDestroyWidg...
Hi I'm trying to compile about 30 C sources written in 1997.
Based on required header files such as XmAll.h and Xlib.h and the use of "Widget" syntax, I found that these sources depend on the Motif programming tool kits, so it seems they should be compiled in Linux or Unix system.
I have no any experience with X Windows Programming and ...