2004-02-25 05:45:02 -05:00
|
|
|
|
1999-01-19 06:00:22 -05:00
|
|
|
<HTML>
|
|
|
|
|
|
|
|
<HEAD>
|
2004-02-25 05:45:02 -05:00
|
|
|
<TITLE>wxWidgets 2 for Motif FAQ</TITLE>
|
1999-01-19 06:00:22 -05:00
|
|
|
</HEAD>
|
|
|
|
|
2002-04-08 16:17:40 -04:00
|
|
|
<BODY BGCOLOR=#FFFFFF TEXT=#000000 VLINK="#00376A" LINK="#00529C" ALINK="#313063">
|
1999-01-19 06:00:22 -05:00
|
|
|
|
|
|
|
<font face="Arial, Lucida Sans, Helvetica">
|
|
|
|
|
2002-04-08 16:17:40 -04:00
|
|
|
<table width=100% border=0 cellpadding=3 cellspacing=0>
|
1999-01-19 06:00:22 -05:00
|
|
|
<tr>
|
2002-04-08 16:17:40 -04:00
|
|
|
<td bgcolor="#004080" align=left height=24 background="images/bluetitlegradient.gif">
|
|
|
|
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
2004-02-25 05:45:02 -05:00
|
|
|
<b>wxWidgets 2 for Motif FAQ</b>
|
1999-01-19 06:00:22 -05:00
|
|
|
</font>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2004-02-17 05:06:26 -05:00
|
|
|
See also <a href="faq.htm">top-level FAQ page</a>
|
|
|
|
and <a href="faqunx.htm">Unix FAQ page</a>.
|
1999-01-19 06:00:22 -05:00
|
|
|
<hr>
|
2001-07-08 09:23:59 -04: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>
|
2004-02-25 05:45:02 -05:00
|
|
|
<li><a href="#dialoged">Does Dialog Editor work with wxWidgets for Motif?</a></li>
|
2001-07-08 09:23:59 -04:00
|
|
|
<li><a href="#refresh">Why are windows are not refreshed properly until I resize them?</a></li>
|
|
|
|
</ul>
|
|
|
|
<hr>
|
1999-01-19 06:00:22 -05:00
|
|
|
|
2001-07-08 09:23:59 -04:00
|
|
|
<h3><a name="versiob">What version of Motif do I need?</a></h3>
|
1999-01-19 06:00:22 -05: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 16:54:37 -05:00
|
|
|
a free Motif clone. (Note from Julian Smart - I use the Linux version of MetroLink Motif 1.2.4).
|
1999-01-19 06:00:22 -05:00
|
|
|
|
|
|
|
<P>
|
|
|
|
|
2001-07-08 09:23:59 -04:00
|
|
|
<h3><a name="missing">What features are missing or partially implemented?</a></h3>
|
1999-01-19 06:00:22 -05: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 16:54:37 -05:00
|
|
|
<li>Clipboard and drag and drop support are currently under development.
|
1999-01-19 06:00:22 -05: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 16:54:37 -05:00
|
|
|
<li>A help system (please use wxHelpController and Netscape instead). An HTML widget and help
|
|
|
|
system is in preparation.
|
1999-01-19 06:00:22 -05:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
2004-02-25 05:45:02 -05:00
|
|
|
<h3><a name="dialoged">Does Dialog Editor work with wxWidgets for Motif?</a></h3>
|
1999-01-19 06:00:22 -05:00
|
|
|
|
2002-07-04 05:38:39 -04:00
|
|
|
Suport for Dialog Editor is almost there, but there are some wrinkles to iron
|
2001-07-08 09:23:59 -04:00
|
|
|
out. You may find it's useful though: compile it and see.
|
1999-01-19 06:00:22 -05:00
|
|
|
<P>
|
|
|
|
|
2001-07-08 09:23:59 -04:00
|
|
|
<h3><a name="refresh">Why are windows are not refreshed properly until I resize them?</a></h3>
|
1999-01-19 06:00:22 -05: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 09:23:59 -04:00
|
|
|
#ifdef __WXMOTIF__
|
1999-01-19 06:00:22 -05:00
|
|
|
wxNoOptimize noOptimize;
|
2001-07-08 09:23:59 -04:00
|
|
|
window->SetSize(-1, -1, w, h);
|
|
|
|
#endif
|
1999-01-19 06:00:22 -05:00
|
|
|
</PRE>
|
|
|
|
<P>
|
|
|
|
|
|
|
|
|
|
|
|
</font>
|
|
|
|
|
|
|
|
</BODY>
|
|
|
|
|
|
|
|
</HTML>
|