doc: Fix find_widgets() doc.
This commit is contained in:
parent
c1fc222d89
commit
81064daa42
|
@ -245,10 +245,11 @@ end
|
||||||
|
|
||||||
--- Find a widget by a point.
|
--- Find a widget by a point.
|
||||||
-- The wibox must have drawn itself at least once for this to work.
|
-- The wibox must have drawn itself at least once for this to work.
|
||||||
-- @param x X coordinate of the point
|
-- @tparam number x X coordinate of the point
|
||||||
-- @param y Y coordinate of the point
|
-- @tparam number y Y coordinate of the point
|
||||||
-- @return A sorted table with all widgets that contain the given point. The
|
-- @treturn table A sorted table of widgets positions. The first element is the biggest
|
||||||
-- widgets are sorted by relevance.
|
-- container while the last is the topmost widget. The table contains *x*, *y*,
|
||||||
|
-- *width*, *height* and *widget*.
|
||||||
function wibox:find_widgets(x, y)
|
function wibox:find_widgets(x, y)
|
||||||
return self._drawable:find_widgets(x, y)
|
return self._drawable:find_widgets(x, y)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue