Skip to content

Commit

Permalink
Updated TOC
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyObtiva committed Oct 21, 2020
1 parent b0ebc4a commit acddbe5
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions README.md
Expand Up @@ -249,12 +249,10 @@ Glimmer App:
- [Glimmer Command](#glimmer-command)
- [Basic Usage](#basic-usage)
- [Advanced Usage](#advanced-usage)
- [Sample List/Run/Code](#sample-listruncode)
- [Sample List](#sample-list)
- [Sample Run](#sample-run)
- [Sample Code](#sample-code)
- [Samples](#samples)
- [Scaffolding](#scaffolding)
- [App](#app)
- [Desktopify](#desktopify)
- [Custom Shell](#custom-shell)
- [Custom Widget](#custom-widget)
- [Custom Shell Gem](#custom-shell-gem)
Expand Down Expand Up @@ -310,7 +308,9 @@ Glimmer App:
- [Multi-DSL Support](#multi-dsl-support)
- [Application Menu Items (About/Preferences)](#application-menu-items-aboutpreferences)
- [App Name and Version](#app-name-and-version)
- [Code Text Widget](#code-text-widget)
- [Video Widget](#video-widget)
- [Sash Form Widget](#sash-form-widget)
- [Browser Widget](#browser-widget)
- [Glimmer Configuration](#glimmer-configuration)
- [logger](#logger)
Expand Down Expand Up @@ -339,6 +339,7 @@ Glimmer App:
- [Hello, Pop Up Context Menu!](#hello-pop-up-context-menu)
- [Hello, Custom Widget!](#hello-custom-widget)
- [Hello, Custom Shell!](#hello-custom-shell)
- [Hello, Sash Form!](#hello-sash-form)
- [Elaborate Samples](#elaborate-samples)
- [User Profile](#user-profile)
- [Login](#login)
Expand Down Expand Up @@ -374,7 +375,7 @@ Glimmer App:
- [Contributors](#contributors)
- [Hire Me](#hire-me)
- [License](#license)

## Background

Ruby is a dynamically-typed object-oriented language, which provides great productivity gains due to its powerful expressive syntax and dynamic nature. While it is proven by the Ruby on Rails framework for web development, it currently lacks a robust platform-independent framework for building desktop applications. Given that Java libraries can now be utilized in Ruby code through JRuby, Eclipse technologies, such as SWT, JFace, and RCP can help fill the gap of desktop application development with Ruby.
Expand Down Expand Up @@ -491,7 +492,7 @@ glimmer application.rb
Runs a Glimmer application using JRuby, automatically preloading
the glimmer ruby gem and SWT jar dependency.

Example:
Run Glimmer samples:
```
glimmer samples
```
Expand Down Expand Up @@ -3087,10 +3088,6 @@ You may obtain via `glimmer-cw-video` gem.

It can be customized with the `weights` attribute by setting initial weights to size the panes at first display.

It is used in the [Glimmer Meta-Sample (The Sample of Samples)](samples/elaborate/meta_sample.rb):

![Glimmer Meta-Sample](images/glimmer-meta-sample.png)

Example (you may copy/paste in [`girb`](#girb-glimmer-irb-command)):

```ruby
Expand All @@ -3116,6 +3113,8 @@ shell {

You may check out a more full-fledged example in [Hello, Sash Form!](#hello-sash-form)

![Hello Sash Form](images/glimmer-hello-sash-form.png)

#### Browser Widget

![Hello Browser](images/glimmer-hello-browser.png)
Expand Down Expand Up @@ -3561,16 +3560,28 @@ Code:

[samples/hello/hello_sash_form.rb](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/samples/hello/hello_sash_form.rb)

Hello, Sash Form! Horizontal Orientation

![Hello Sash Form](images/glimmer-hello-sash-form.png)

Hello, Sash Form! Resized

![Hello Sash Form Resized](images/glimmer-hello-sash-form-resized.png)

Hello, Sash Form! Sash Width Changed

![Hello Sash Form Sash Width Changed](images/glimmer-hello-sash-form-sash-width-changed.png)

Hello, Sash Form! Vertical Orientation

![Hello Sash Form Vertical](images/glimmer-hello-sash-form-vertical.png)

Hello, Sash Form! Green Label Maximized

![Hello Sash Form Green Maximized](images/glimmer-hello-sash-form-green-maximized.png)

Hello, Sash Form! Red Label Maximized

![Hello Sash Form Red Maximized](images/glimmer-hello-sash-form-red-maximized.png)

### Elaborate Samples
Expand Down

0 comments on commit acddbe5

Please sign in to comment.