Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Mirah/SWTSnippets"

 
(6 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 [http://www.mirah.org Mirah]. The intent is to illustrate how SWT can be used by Mirah programs.
+
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 setup instructions to setup Mirah with SWT, see [[Mirah/SWTSetup]].  See also the [[Mirah]] wiki page.
+
  
 +
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)]]
Line 9: Line 9:
 
==== Composite  ====
 
==== Composite  ====
 
*[[Mirah/SWTSnippets/Snippet9|scroll a child control automatically]]
 
*[[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/Snippet6|insert widgets into a grid layout]]
 +
 +
==== 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.

Hello world

Composite

GC

GridLayout

Tree, TreeItem, TreeColumn

Back to the top