10 More Discussions You Might Find Interesting
1. Programming
I have a Motif Application created with XtVaAppInitialize. I have two field widgets, created with XmCreateTextField. Now when I programmatically change the data in any of the two fields, the widgets don't get refreshed, only after a mouse over.
I have tried anything, from including the "xrefresh"... (4 Replies)
Discussion started by: JenniferKuiper
4 Replies
2. Programming
Does anyone know how to change the font size into a larger one, in a basic Motif application? (1 Reply)
Discussion started by: JenniferKuiper
1 Replies
3. Solaris
Hello,
I used to compile and link the code on Solaris 6 using Motif 1.2 (that used to come as part of Operating System)
I would like to use the same version of Motif 1.2 for compilation and linking on Solaris 10. But Solaris 10 has Motif 2.1.0 as default.
Is Motif 1.2 supported on... (0 Replies)
Discussion started by: shafi2all
0 Replies
4. HP-UX
hello everyone,
where can i download motif compatible with HP-UX 11.11.which motif version i have to use.
can i use openmotif 2.3 for HP-UX 11.11.
pls somebody suggest a solution .it's very urgent.
any help appreciated.
with regards,
Srini (0 Replies)
Discussion started by: mannam srinivas
0 Replies
5. AIX
hi all,
I've written a GUI application in Eclipse using SWT. It's running fine on linux(which uses GTK on x86).
But when I ran the same application on AIX(which uses Motif on PPC), the GUI part is suffering. :-(
The checkboxes are looking very small(like tiny dots on screen!) , spinners are... (4 Replies)
Discussion started by: v_rathor
4 Replies
6. Shell Programming and Scripting
I have a script that creates a Form and multiple textfield, text, and label widgets in which the user inputs data, and submits it to be organized and formatted accordingly....
Some of the information that the user is manually adding comes from a text area in a separate application. Is it... (0 Replies)
Discussion started by: insamniac
0 Replies
7. Programming
Hi everyone, I am new in motif programming and I want to learn how to program it. I use Fedora core 3 and every time I compile the program, there are always some errors appear. One of the errors said that I do not have the Xm/xxxx.h However, I do not know precisely how to install header files. I... (0 Replies)
Discussion started by: qqq
0 Replies
8. Programming
Can somebody help me...
I have insalled RedHat 7.3 on my computer
and there is motif 2.x and i want to compile a cource code but it doesn't work it says
Xm/PushB.h not found..something like that..
I'm trying like this :
gcc -o x x.c -lXm -lXt -lX11
pleas help me (3 Replies)
Discussion started by: CreamHarry
3 Replies
9. Programming
Do you think that Motif programming is old...should I learn it... (3 Replies)
Discussion started by: CreamHarry
3 Replies
10. Programming
I am very glad to be a member of you.
where can i look for the resource programe examples about motif?
please help me!Thanks a lot. (3 Replies)
Discussion started by: q30
3 Replies
QMotifWidget(3qt) QMotifWidget(3qt)
NAME
QMotifWidget - The QWidget API for Xt/Motif widgets
SYNOPSIS
This class is part of the Qt Motif Extension.
#include <qmotifwidget.h>
Inherits QWidget.
Public Members
QMotifWidget ( QWidget * parent, WidgetClass widgetclass, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, WFlags flags =
0 )
virtual ~QMotifWidget ()
Widget motifWidget () const
Protected Members
virtual bool x11Event ( XEvent * event )
DESCRIPTION
This class is defined in the Qt Motif Extension, which can be found in the qt/extensions directory. It is not included in the main Qt API.
The QMotifWidget class provides the QWidget API for Xt/Motif widgets.
QMotifWidget exists to provide a QWidget that can act as a parent for any Xt/Motif widget. Since the QMotifWidget is a proper QWidget, it
can be used as a top-level widget (e.g. 0 parent) or as a child of any other QWidget. Note: Since QMotifWidget acts as a parent for
Xt/Motif widgets, you should not create QWidgets with a QMotifWidget parent.
An Xt/Motif widget with a top-level QMotifWidget parent can begin using the standard Qt dialogs and custom QDialogs while keeping the main
Xt/Motif interface of the application. Using a QMotifWidget as the parent for the various QDialogs will ensure that modality and stacking
works properly throughout the entire application.
Applications moving to Qt may have custom Xt/Motif widgets that will take time to rewrite with Qt. Such applications can use these custom
widgets as QMotifWidget with QWidget parents. This allows the application's interface to be replaced gradually.
Warning: QMotifWidget uses the X11 window ID of the Motif widget directly, instead of creating its own. Because ot this,
QWidget::reparent() will not work. This includes the functions QWidget::showFullScreen() and QWidget::showNormal(), which use
QWidget::reparent().
MEMBER FUNCTION DOCUMENTATION
QMotifWidget::QMotifWidget ( QWidget * parent, WidgetClass widgetclass, ArgList args = NULL, Cardinal argcount = 0, const char * name = 0, WFlags
flags = 0 )
Creates a QMotifWidget of the given widgetclass as a child of parent, with the name name and widget flags flags.
The args and argcount arguments are passed on to XtCreateWidget.
The motifWidget() function returns the resulting Xt/Motif widget. This widget can be used as a parent for any other Xt/Motif widget.
If parent is a QMotifWidget, the Xt/Motif widget is created as a child of the parent's motifWidget(). If \ parent is 0 or a normal
QWidget, the Xt/Motif widget is created as a child of a special TopLevelShell widget. Xt/Motif widgets can use this special TopLevelShell
parent as the parent for existing Xt/Motif dialogs or QMotifDialogs.
QMotifWidget::~QMotifWidget () [virtual]
Destroys the QMotifWidget. The special TopLevelShell is also destroyed, if it was created during construction.
Widget QMotifWidget::motifWidget () const
Returns the embedded Xt/Motif widget. If a Shell widget was created by the constructor, you can access it with XtParent().
SEE ALSO
http://doc.trolltech.com/qmotifwidget.html http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license
statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you.
Thank you.
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a
web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially
supported by Trolltech.
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page
(qmotifwidget.3qt) and the Qt version (3.3.8).
Trolltech AS 2 February 2007 QMotifWidget(3qt)