

This sample demonstrates custom tab widget usage via the c_tab_folder and c_tab_item variations of tab_folder and tab_item, which can customize fonts/background/foreground colors for tabs and display additional tabs that do not fit in the window via a drop down.Ĭountry flag images were made by Freepik from Hello, Combo! This sample demonstrates the various shells (windows) available in SWT.

This sample demonstrates the standard 3 layouts in SWT (though one can write their own for very advanced applications): fill_layout, row_layout, and grid_layout Samples/hello/hello_scrolled_composite.rb This sample demonstrates the scrolled_composite widget, which is used to add scrollbars around content that exceeds the size of the window. This sample demonstrates the composite widget, which is simply used as a container for visual layout and organization. This sample demonstrates the use of the text widget in Glimmer, including data-binding (e.g. This sample demonstrates the use of the label widget in Glimmer. This sample demonstrates the use of the button widget in Glimmer, including data-binding and click event triggering via on_widget_selected. rb Hello Samplesįor hello-type simple samples, check the following. To run a sample, make sure to install the glimmer-dsl-swt gem first and then use the glimmer samples command to run it (alternatively, you may clone the repo, follow CONTRIBUTING.md instructions, and run samples locally with development glimmer command: bin/glimmer).īin/ glimmer samples/ hello/ hello_canvas_transform.
Accordion layout in sample solitaire till dawn game how to#
Check the samples directory in glimmer-dsl-swt for examples on how to write Glimmer applications.
