[tekui-devel] tekui: Separated Group and TabGroup classes
Timm S. Mueller
tmueller at neoscientists.org
Thu May 15 00:08:22 CEST 2008
details: http://hg.teklib.org/tekui/rev/1f4abcb77edb
changeset: 482:1f4abcb77edb
user: Timm S. Mueller <tmueller at neoscientists.org>
date: Sun May 11 09:05:36 2008 +0200
description:
Separated Group and TabGroup classes
diffs (truncated from 724 to 100 lines):
diff -r 7b5f26c9356d -r 1f4abcb77edb bin/demo.lua
--- a/bin/demo.lua Sat May 10 22:47:31 2008 +0200
+++ b/bin/demo.lua Sun May 11 09:05:36 2008 +0200
@@ -90,137 +90,142 @@ ui.Application:new
},
},
},
- Style = "tab",
Children =
{
- ui.Group:new
- {
- TabName = "Lissa",
- Children =
- {
- ui.Lissa:new { },
- }
- },
- ui.Group:new
- {
- TabName = "Boing",
- Direction = "vertical",
- Children =
- {
- ui.Boing:new { Id = "the-boing" },
+ ui.TabGroup:new
+ {
+ Children =
+ {
ui.Group:new
{
- Height = "auto",
- Children =
- {
- ui.text:new
+ TabName = "Lissa",
+ Children =
+ {
+ ui.Lissa:new { },
+ }
+ },
+ ui.Group:new
+ {
+ TabName = "Boing",
+ Direction = "vertical",
+ Children =
+ {
+ ui.Boing:new { Id = "the-boing" },
+ ui.Group:new
{
- Mode = "button",
- Label = "Start",
- Notifications =
+ Height = "auto",
+ Children =
{
- ["Pressed"] =
- {
- [false] =
- {
- {
- ui.NOTIFY_ID, "the-boing", "setValue", "Running", true
+ ui.text:new
+ {
+ Mode = "button",
+ Label = "Start",
+ Notifications =
+ {
+ ["Pressed"] =
+ {
+ [false] =
+ {
+ {
+ ui.NOTIFY_ID, "the-boing", "setValue", "Running", true
+ }
+ }
}
}
- }
- }
- },
- ui.text:new
- {
- Mode = "button",
- Label = "Stop",
- Notifications =
- {
- ["Pressed"] =
- {
- [false] =
- {
- {
- ui.NOTIFY_ID, "the-boing", "setValue", "Running", false
+ },
+ ui.text:new
+ {
+ Mode = "button",
+ Label = "Stop",
+ Notifications =
+ {
More information about the tekui-devel
mailing list