SWT Widgets - All are native??? [message #452171] |
Mon, 14 March 2005 23:49 |
Eclipse User |
|
|
|
Originally posted by: rameshjay.gmail.com
Hi,
Do all of the controls provided by SWT uses native widgets? Are there any
exceptions?
When I look at the controls defined in the org.eclipse.swt.widgets
package, there are many controls which do not have a corresponding native
control. For example, I do not see any controls in Windows OS which
directly corresponds to Canvas, Sash etc.,
Is there a list of controls provided by SWT, which are 100 native (NO
emulation at all) ?
Thanks,
Ramesh
|
|
|
Re: SWT Widgets - All are native??? [message #452172 is a reply to message #452171] |
Tue, 15 March 2005 00:00 |
Eclipse User |
|
|
|
Originally posted by: rameshjay.gmail.com
Ramesh Jaganathan wrote:
> Hi,
> Do all of the controls provided by SWT uses native widgets? Are there any
> exceptions?
> When I look at the controls defined in the org.eclipse.swt.widgets
> package, there are many controls which do not have a corresponding native
> control. For example, I do not see any controls in Windows OS which
> directly corresponds to Canvas, Sash etc.,
> Is there a list of controls provided by SWT, which are 100 native (NO
> emulation at all) ?
> Thanks,
> Ramesh
I meant a list of controls which are 100 % native. Sorry for the typo.
|
|
|
Re: SWT Widgets - All are native??? [message #452200 is a reply to message #452172] |
Tue, 15 March 2005 10:10 |
Ivan Markov Messages: 61 Registered: July 2009 |
Member |
|
|
All controls in package org.eclipse.swt.widgets are 100% native.
The only exception is SWT/Motif. Motif doesn't have Tree, Table, Toolbar and
maybe others built-in, so these are emulated.
-Ivan
"Ramesh Jaganathan" <rameshjay@gmail.com> wrote in message
news:d158je$b61$1@www.eclipse.org...
> Ramesh Jaganathan wrote:
>
> > Hi,
>
> > Do all of the controls provided by SWT uses native widgets? Are there
any
> > exceptions?
>
> > When I look at the controls defined in the org.eclipse.swt.widgets
> > package, there are many controls which do not have a corresponding
native
> > control. For example, I do not see any controls in Windows OS which
> > directly corresponds to Canvas, Sash etc.,
>
> > Is there a list of controls provided by SWT, which are 100 native (NO
> > emulation at all) ?
>
> > Thanks,
> > Ramesh
>
> I meant a list of controls which are 100 % native. Sorry for the typo.
>
|
|
|
Re: SWT Widgets - All are native??? [message #452257 is a reply to message #452200] |
Wed, 16 March 2005 05:33 |
Daniel Spiewak Messages: 263 Registered: July 2009 |
Senior Member |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="serif">Not on all platforms. For instance, MacOS X doesn't
support ToolBar(s) the way that most operating systems do. Thus, SWT
emulates them. (MacOS X restricts them to the top of the Shell only)
Also, MacOS X has no support for CoolBar(s). Thus, these are
emulated. The Sash control is also emulated on MacOS X. (my only
theory on this one is that the native control is Cocoa only. This
might not hold for Eclipse 3.1) On Windows, and GTK Linux, more or
less every control is implemented natively because of the compliance to
standards on both WS(s). Please note that this list is not meant to be
complete, just as an example.<br>
<br>
Daniel<br>
</font><br>
Ivan Markov wrote:
<blockquote cite="midd16cb2$34a$1@www.eclipse.org" type="cite">
<pre wrap="">All controls in package org.eclipse.swt.widgets are 100% native.
The only exception is SWT/Motif. Motif doesn't have Tree, Table, Toolbar and
maybe others built-in, so these are emulated.
-Ivan
"Ramesh Jaganathan" <a class="moz-txt-link-rfc2396E" href="mailto:rameshjay@gmail.com"><rameshjay@gmail.com></a> wrote in message
<a class="moz-txt-link-freetext" href="news:d158je$b61$1@www.eclipse.org">news:d158je$b61$1@www.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Ramesh Jaganathan wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">Do all of the controls provided by SWT uses native widgets? Are there
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->any
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">exceptions?
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">When I look at the controls defined in the org.eclipse.swt.widgets
package, there are many controls which do not have a corresponding
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->native
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">control. For example, I do not see any controls in Windows OS which
directly corresponds to Canvas, Sash etc.,
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">Is there a list of controls provided by SWT, which are 100 native (NO
emulation at all) ?
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">Thanks,
Ramesh
</pre>
</blockquote>
<pre wrap="">I meant a list of controls which are 100 % native. Sorry for the typo.
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>
|
|
|
Powered by
FUDForum. Page generated in 0.02487 seconds