update test file

This commit is contained in:
Kelvin Sherlock 2020-08-01 23:00:50 -04:00
parent 5e5db6d667
commit 459bf1c2e4

View File

@ -1,12 +1,53 @@
rCString(
# rCString(
"this is a long string with\r\n"
"extra characters and \\ stuff …"
# "this is a long string with\r\n"
# "extra characters and \\ stuff …"
# )
# rAlertString(" alert message", id=1, attrNoSpec = True, export="rAlert", name="Alert 1")
# rMenu(" Edit ",
# UndoMenuItem().export("kUndoMenuItem"),
# UndoMenuItem()
# ).name("Edit Menu")
# rToolStartup(
# 1,2,3,4, (5,6),
# mode=640
# )
rMenuBar(
rMenu(" @ ",
rMenuItem("About My App…", export="kAboutMenuItem"),
rMenuItem("Preferences…", ",", export="kPreferencesMenuItem")
),
rMenu(" File ",
rMenuItem("New ", "Nn", export="kNewMenuItem"),
rMenuItem("Open…", "Oo", export="kOpenMenuItem"),
rMenuItem("Save", "Ss", disabled=True, export="kSaveMenuItem"),
DividerMenuItem(),
rMenuItem("Close", "Ww", id=0xff, export="kCloseMenuItem"),
export = "kFileMenu"
),
rMenu(" Edit ",
UndoMenuItem(), # shortcut for doing it manually,
DividerMenuItem(),
CutMenuItem(),
CopyMenuItem(),
PasteMenuItem(),
ClearMenuItem(),
export = "kEditMenu"
),
export = "kMenuBar"
)
rMenu(" Edit ",
UndoMenuItem().export("kUndoMenuItem"),
UndoMenuItem()
).name("Edit Menu")
rComment(
"This is a comment.\r\r"
"So there.",
id = 1
)