Hi,

I am using awesome 3.4 trying to create custom statusbar widgets with
tooltips. I use the following code:

    widgets.clock_text = widget({type = "textbox"})
    widgets.clock_icon = widget({type = "imagebox"})
    widgets.clock_icon.image = image(config.home .. "icons/clock.png")
    widgets.clock_tooltip = awful.tooltip({objects = {widgets.clock_text, 
widgets.clock_icon}})

    local function update_clock()
        widgets.clock_text.text = " " .. tostring(tonumber(os.date("%k"))) .. 
os.date(":%M ")
        widgets.clock_tooltip:set_text(os.date("%A, %d %B %Y"))
    end

update_clock() is then called regularly. The problem is, while clock
information updates as it should, no tooltip appears when I place
mouse over clock widgets.

What am I doing wrong?

-- 
Kind regards,
Alexander

-- 
To unsubscribe, send mail to [email protected].

Reply via email to