2002-04-08 20:17:40 +00:00
|
|
|
|
1999-01-19 11:00:22 +00:00
|
|
|
<HTML>
|
|
|
|
|
|
|
|
<HEAD>
|
|
|
|
<TITLE>wxWindows 2 for Motif FAQ</TITLE>
|
|
|
|
</HEAD>
|
|
|
|
|
2002-04-08 20:17:40 +00:00
|
|
|
<BODY BGCOLOR=#FFFFFF TEXT=#000000 VLINK="#00376A" LINK="#00529C" ALINK="#313063">
|
1999-01-19 11:00:22 +00:00
|
|
|
|
|
|
|
<font face="Arial, Lucida Sans, Helvetica">
|
|
|
|
|
2002-04-08 20:17:40 +00:00
|
|
|
<table width=100% border=0 cellpadding=3 cellspacing=0>
|
1999-01-19 11:00:22 +00:00
|
|
|
<tr>
|
2002-04-08 20:17:40 +00:00
|
|
|
<td bgcolor="#004080" align=left height=24 background="images/bluetitlegradient.gif">
|
|
|
|
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
|
|
|
<b>wxWindows 2 for Motif FAQ</b>
|
1999-01-19 11:00:22 +00:00
|
|
|
</font>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
|
|
|
See also <a href="faq.htm">top-level FAQ page</a>.
|
|
|
|
<hr>
|
2001-07-08 13:23:59 +00:00
|
|
|
<h3>List of questions in this category</a></h3>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#versiob">What version of Motif do I need?</a></li>
|
|
|
|
<li><a href="#missing">What features are missing or partially implemented?</a></li>
|
|
|
|
<li><a href="#dialoged">Does Dialog Editor work with wxWindows for Motif?</a></li>
|
|
|
|
<li><a href="#refresh">Why are windows are not refreshed properly until I resize them?</a></li>
|
|
|
|
</ul>
|
|
|
|
<hr>
|
1999-01-19 11:00:22 +00:00
|
|
|
|
2001-07-08 13:23:59 +00:00
|
|
|
<h3><a name="versiob">What version of Motif do I need?</a></h3>
|
1999-01-19 11:00:22 +00:00
|
|
|
|
|
|
|
You will need version 1.2 or above. Version 2 should also be fine. Some people
|
|
|
|
have had a positive experience with <a href="www.lesstif.org" target=_top>Lesstif</a>,
|
1999-02-19 21:54:37 +00:00
|
|
|
a free Motif clone. (Note from Julian Smart - I use the Linux version of MetroLink Motif 1.2.4).
|
1999-01-19 11:00:22 +00:00
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2001-07-08 13:23:59 +00:00
|
|
|
<h3><a name="missing">What features are missing or partially implemented?</a></h3>
|
1999-01-19 11:00:22 +00:00
|
|
|
|
|
|
|
The following classes are not yet implemented: wxSpinButton, wxCheckListBox, wxJoyStick,
|
|
|
|
wxGLCanvas.<P>
|
|
|
|
|
|
|
|
The following classes are not likely to be implemented because there is no sensible
|
|
|
|
equivalent on Motif: wxMiniFrame, wxTaskBar.<P>
|
|
|
|
|
|
|
|
These features are not yet implemented:<P>
|
|
|
|
|
|
|
|
<ul>
|
1999-02-19 21:54:37 +00:00
|
|
|
<li>Clipboard and drag and drop support are currently under development.
|
1999-01-19 11:00:22 +00:00
|
|
|
<li>Support for selection of specific visuals.
|
|
|
|
<li>Wide character support (but when Unicode is supported under Windows, this support will
|
|
|
|
be relatively easy to add).
|
|
|
|
<li>Configurable colour/font settings (they are currently hard-wired in wxSystemSettings).
|
1999-02-19 21:54:37 +00:00
|
|
|
<li>A help system (please use wxHelpController and Netscape instead). An HTML widget and help
|
|
|
|
system is in preparation.
|
1999-01-19 11:00:22 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
2001-07-08 13:23:59 +00:00
|
|
|
<h3><a name="dialoged">Does Dialog Editor work with wxWindows for Motif?</a></h3>
|
1999-01-19 11:00:22 +00:00
|
|
|
|
2002-07-04 09:38:39 +00:00
|
|
|
Suport for Dialog Editor is almost there, but there are some wrinkles to iron
|
2001-07-08 13:23:59 +00:00
|
|
|
out. You may find it's useful though: compile it and see.
|
1999-01-19 11:00:22 +00:00
|
|
|
<P>
|
|
|
|
|
2001-07-08 13:23:59 +00:00
|
|
|
<h3><a name="refresh">Why are windows are not refreshed properly until I resize them?</a></h3>
|
1999-01-19 11:00:22 +00:00
|
|
|
|
|
|
|
Very occasionally you can experience this glitch, probably because sometimes the
|
|
|
|
window tries to resize and repaint itself before the final size is known. The workaround
|
|
|
|
is to add code like this after window creation and initialization:<P>
|
|
|
|
|
|
|
|
<PRE>
|
2001-07-08 13:23:59 +00:00
|
|
|
#ifdef __WXMOTIF__
|
1999-01-19 11:00:22 +00:00
|
|
|
wxNoOptimize noOptimize;
|
2001-07-08 13:23:59 +00:00
|
|
|
window->SetSize(-1, -1, w, h);
|
|
|
|
#endif
|
1999-01-19 11:00:22 +00:00
|
|
|
</PRE>
|
|
|
|
<P>
|
|
|
|
|
|
|
|
|
|
|
|
</font>
|
|
|
|
|
|
|
|
</BODY>
|
|
|
|
|
|
|
|
</HTML>
|