Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Mirah/SWTSnippets"
< Mirah
(New page: The following are some of the [http://www.eclipse.org/swt/snippets SWT Snippets] ported to [http://www.mirah.org Mirah]. The intent is to illustrate how SWT can be used by Mirah programs. ...) |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | The following are some of the [http://www.eclipse.org/swt/snippets SWT Snippets] ported to [ | + | The following are some of the [http://www.eclipse.org/swt/snippets SWT Snippets] ported to [[Mirah]]. The intent is to illustrate how SWT can be used by Mirah programs, and to show Eclipse/SWT developers some examples in Mirah, not to exhaustively port all the existing snippets. |
− | For | + | For instructions to set up Mirah with SWT, see [[Mirah/SWTSetup]]. |
− | + | ==== Hello world ==== | |
*[[Mirah/SWTSnippets/Snippet1|Hello world (empty shell)]] | *[[Mirah/SWTSnippets/Snippet1|Hello world (empty shell)]] | ||
+ | |||
+ | ==== Composite ==== | ||
+ | *[[Mirah/SWTSnippets/Snippet9|scroll a child control automatically]] | ||
+ | |||
+ | ==== GC ==== | ||
+ | *[[Mirah/SWTSnippets/Snippet10|draw using transformations, paths and alpha blending]] | ||
==== GridLayout ==== | ==== GridLayout ==== | ||
+ | *[[Mirah/SWTSnippets/Snippet6|insert widgets into a grid layout]] | ||
− | *[[Mirah/SWTSnippets/ | + | ==== Tree, TreeItem, TreeColumn ==== |
+ | *[[Mirah/SWTSnippets/Snippet15|create a tree]] |
Latest revision as of 12:25, 28 March 2011
The following are some of the SWT Snippets ported to Mirah. The intent is to illustrate how SWT can be used by Mirah programs, and to show Eclipse/SWT developers some examples in Mirah, not to exhaustively port all the existing snippets.
For instructions to set up Mirah with SWT, see Mirah/SWTSetup.