aboutsummaryrefslogtreecommitdiffstats
path: root/button.lua
diff options
context:
space:
mode:
authorMatthias Richter <vrld@vrld.org>2012-02-22 23:33:54 +0100
committerMatthias Richter <vrld@vrld.org>2012-02-22 23:33:54 +0100
commit370c10c78770bc3c1a70a086b238e7a8e5197fb9 (patch)
tree379101b354515c4bda8f0a36a4a4f4141e143662 /button.lua
parentd6ed0f93011a2a877ccea4955d4db071710594f5 (diff)
downloadQuickie-370c10c78770bc3c1a70a086b238e7a8e5197fb9.tar.gz
Quickie-370c10c78770bc3c1a70a086b238e7a8e5197fb9.tar.bz2
Quickie-370c10c78770bc3c1a70a086b238e7a8e5197fb9.tar.xz
Quickie-370c10c78770bc3c1a70a086b238e7a8e5197fb9.zip
Rename makeTabable() to makeCyclable()
Diffstat (limited to 'button.lua')
-rw-r--r--button.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/button.lua b/button.lua
index 94ff634..b601458 100644
--- a/button.lua
+++ b/button.lua
@@ -13,9 +13,10 @@ return function(title, x,y, w,h, draw)
-- core.mouse.updateState(id, x,y,w,h) updates the state for this widget.
core.mouse.updateState(id, x,y,w,h)
- -- core.makeTabable makes the item focus on tab. Tab order is determied
- -- by the order you call the widget functions.
- core.makeTabable(id)
+ -- core.makeCyclable makes the item focus on tab or whatever binding is
+ -- in place (see core.keyboard.cycle). Cycle order is determied by the
+ -- order you call the widget functions.
+ core.makeCyclable(id)
-- core.registerDraw(id, drawfunction, drawfunction-arguments...)
-- shows widget when core.draw() is called.