![]() More will be explained in the following sections. This is not an exaustive list, but should give you a good start in learning Glimmer GUI DSL keywords, keeping in mind that the full list can be derived from the SWT documentation. If you are an advanced user of Glimmer DSL for SWT and need more widgets, check out the Nebula Project for an extensive list (50+) of high quality custom widgets. Use these events of the window : Sub Paint (g As Graphics, areas () As REALbasic.Rect) if self.focus <> nil then system.DebugLog me.focus.Name+' has focus.' else system.Go ahead and run all Glimmer samples, and come back to read the rest in any order you like since this material is more organized like a reference. Norman suggestion is to be checked as well. If you are new to Glimmer, you have learned enough to start running some samples directly or by reading through Glimmer GUI DSL Keywords (which list each keyword's samples). It is available through mixing in the Glimmer module, which makes Glimmer GUI DSL Keywords available to both the instance scope and class scope:Ĭlass HelloWorld include Glimmer # makes the GUI DSL available in both the class scope and instance scope COLOR_FOREGROUND_DEFAULT = rgb ( 255, 0, 0 ) # rgb is a GUI DSL keyword used in the class scope def open # the following are GUI DSL keywords (shell, text, and label) used in the instance scope shell. Glimmer's core is a GUI DSL with a lightweight visual syntax that makes it easy to visualize the nesting of widgets in the GUI hierarchy tree. eGet) combine a single add/go/get into one function call. Functions The main functions are used to build a list of requests (Add), execute the list (Go), and read the result of each request (Get). Press the Alt key (Ctrl on Windows) in combination with the mouse wheel or horizontal trackpad gesture. The UD driver has a handful of functions, many with the same 4 to 6 parameters. Use the left and right arrow cursor keys. ![]() Change Page: Click and change the value in the lower left text field.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |