Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Widgets - All are native???
SWT Widgets - All are native??? [message #452171] Mon, 14 March 2005 23:49 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Ivan Markov is currently offline Ivan MarkovFriend
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 Go to previous message
Daniel Spiewak is currently offline Daniel SpiewakFriend
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.&nbsp; For instance, MacOS X doesn't
support ToolBar(s) the way that most operating systems do.&nbsp; Thus, SWT
emulates them.&nbsp; (MacOS X restricts them to the top of the Shell only)&nbsp;
Also, MacOS X has no support for CoolBar(s).&nbsp; Thus, these are
emulated.&nbsp; The Sash control is also emulated on MacOS X.&nbsp; (my only
theory on this one is that the native control is Cocoa only.&nbsp; This
might not hold for Eclipse 3.1)&nbsp; On Windows, and GTK Linux, more or
less every control is implemented natively because of the compliance to
standards on both WS(s).&nbsp; 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">&lt;rameshjay@gmail.com&gt;</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>
Previous Topic:Debugging custom native SWT widget across JNI on Mac?
Next Topic:SWT canvas, images and tranparancies performance issue
Goto Forum:
  


Current Time: Mon Nov 18 23:49:30 GMT 2019

Powered by FUDForum. Page generated in 0.01622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top