diff --git a/lib/awful/tooltip.lua.in b/lib/awful/tooltip.lua.in index a34b5098..92dad35b 100644 --- a/lib/awful/tooltip.lua.in +++ b/lib/awful/tooltip.lua.in @@ -24,7 +24,7 @@ local ipairs = ipairs -- -- myclock = awful.widget.textclock({}, "%T", 1)
-- myclock_t = awful.tooltip({
--- objects = { K },
+-- objects = { myclock },
-- timer_function = function()
-- return os.date("Today is %A %B %d %Y\nThe time is %T")
-- end,
@@ -36,7 +36,7 @@ local ipairs = ipairs -- myclock_t:add_to_object(obj1)
-- myclock_t:add_to_object(obj2)
--
--- Now the same tooltip is attached to K, obj1, +-- Now the same tooltip is attached to myclock, obj1, -- obj2.
--

--

How to remove tooltip from many objects?
@@ -44,7 +44,7 @@ local ipairs = ipairs -- myclock_t:remove_from_object(obj1)
-- myclock_t:remove_from_object(obj2)
-- --- Now the same tooltip is only attached to K.
+-- Now the same tooltip is only attached to myclock.
--

module("awful.tooltip")