Module: awful.widget.common

Info:

  • Copyright: 2008-2009 Julien Danjou
  • Originally authored by: Julien Danjou <julien@danjou.info>
    (Full contributors list available on our github project)

Methods

:create_buttons (buttons, object) Common method to create buttons.
:list_update (w, buttons, label, data, objects[, args={}]) Common update method.


Methods

:create_buttons (buttons, object)
Common method to create buttons.

Parameters:

Returns:

    table
:list_update (w, buttons, label, data, objects[, args={}])
Common update method.

Parameters:

  • w The widget.
  • buttons table
  • label func Function to generate label parameters from an object. The function gets passed an object from objects, and has to return text, bg, bg_image, icon.
  • data table Current data/cache, indexed by objects.
  • objects table Objects to be displayed / updated.
  • args table (default {})
generated by LDoc 1.4.6 Last updated 2021-11-13 00:35:50