Sponsored Content
Top Forums Programming X Windows Programming: Changing Displays Post 302120275 by bkowal on Tuesday 5th of June 2007 01:21:40 PM
Old 06-05-2007
X Windows Programming: Changing Displays

I currently have an application that requires the GUI to be drawn on 3 different machines. Only 1 machine is to be drawn at a time, but can be switched between them at any time. Is there an easy way to do this during runtime aside from creating 3 sets of widgets and updating them all.

I am running X11R6 and Motif 1.2
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

simulating a menu using shell programming like in windows.

Hi Friends, I would like to write a shell script in unix which displays a menu. The options in the menu needs to be chosen using the navigation keys(up arrow or down arrow). At present I am entering the menu option number for the option to be chosen. Can anybody give me an idea about how the... (1 Reply)
Discussion started by: malini
1 Replies

2. Linux

changing windows ME to redhat....

I'm playing around with linux on a computer I had preinstalled on.... I like it enough that I want to change one of my current computers (Windows ME). Is it as easy as reformatting the hard drive and then just loading in the first of the RedHat installation CDs? If I decide to dual boot the... (1 Reply)
Discussion started by: trostycp
1 Replies

3. UNIX for Dummies Questions & Answers

Changing windows server alias name on windows or unix?

My situation is that we have production unix scripts that ftp files over to a windows server. I'm not sure if its a 2000 or 2003 server as I dont work on server, more on the unix side. It turns out that they are changing servers on the network. So they are migrating our data over from say Server 1... (1 Reply)
Discussion started by: NycUnxer
1 Replies

4. Red Hat

Changing windows xp passwd doetn't change smbpasswd on server

Hi All we have small network which is in work group environment.We have one Samba server for sharing data on network.My Problem is when user change his/her password on windows machine i have to manually update his smb passwd on Samba server.I want password should change automatically on... (2 Replies)
Discussion started by: Vaibhav.T
2 Replies

5. IP Networking

Network programming on UNIX env on windows

Hi, I have to start doing network programming in C/Unix but I have windows installed. Could someone please guide me how to set up the environment best suited for the networking programming? Regards Vinayak (1 Reply)
Discussion started by: vinayakj20
1 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 &#92; 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)
All times are GMT -4. The time now is 12:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy