diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-25 13:41:32 (GMT) |
---|---|---|
committer | Paul Tagliamonte <paultag@fluxbox.org> | 2012-04-07 02:11:33 (GMT) |
commit | 7742efa7060f4468ab9ff0ea9dc3e6d9539f3622 (patch) | |
tree | fdd5eafe08f35abdc2b12a5430286453a4d0640e /src/FbTk/LuaUtil.hh | |
parent | f01627a66ab53b25090b678d71ba78cd411c7452 (diff) | |
download | fluxbox_paul-7742efa7060f4468ab9ff0ea9dc3e6d9539f3622.zip fluxbox_paul-7742efa7060f4468ab9ff0ea9dc3e6d9539f3622.tar.bz2 |
Add readOnlySetField to FbTk::Lua
an equivalent of rawsetfield, but for "read only" tables.
Diffstat (limited to 'src/FbTk/LuaUtil.hh')
-rw-r--r-- | src/FbTk/LuaUtil.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FbTk/LuaUtil.hh b/src/FbTk/LuaUtil.hh index d013ed9..0b33040 100644 --- a/src/FbTk/LuaUtil.hh +++ b/src/FbTk/LuaUtil.hh | |||
@@ -52,6 +52,7 @@ public: | |||
52 | * It can be used to modify protected entries or create new ones. | 52 | * It can be used to modify protected entries or create new ones. |
53 | */ | 53 | */ |
54 | void readOnlySet(int index); | 54 | void readOnlySet(int index); |
55 | void readOnlySetField(int index, const char *k); | ||
55 | 56 | ||
56 | template<typename Functor> | 57 | template<typename Functor> |
57 | static void registerInitFunction(const Functor &fn) { | 58 | static void registerInitFunction(const Functor &fn) { |