Stubbed out "root.tags"
@@ -58,6 +58,7 @@ fn method_setup<'lua>(lua: &'lua Lua, builder: ClassBuilder<'lua>) -> rlua::Resu
builder.method("connect_signal".into(), lua.create_function(dummy))?
.method("buttons".into(), lua.create_function(dummy))?
.method("wallpaper".into(), lua.create_function(wallpaper))?
+ .method("tags".into(), lua.create_function(tags))?
.method("keys".into(), lua.create_function(dummy))?
.method("size".into(), lua.create_function(dummy_double))?
.method("size_mm".into(), lua.create_function(dummy_double))?
@@ -84,3 +85,9 @@ fn set_wallpaper<'lua>(_: &'lua Lua, _pattern: *mut cairo_pattern_t) -> rlua::Re
warn!("Fake setting the wallpaper");
Ok(true)
}
+
+fn tags<'lua>(lua: &'lua Lua, _: ()) -> rlua::Result<Table<'lua>> {
+ let table = lua.create_table();
+ // TODO FIXME Get tags
+ Ok(table)
+}
