Module awful.button

Button helper for awful

Author:

Julien Danjou <julien@danjou.info>

Copyright© 2009 Julien Danjou

Release: v3.3.4

Functions

new (mod, ...) Create a new button to use as binding.


Functions

new (mod, ...)
Create a new button to use as binding. This function is useful to create several buttons from one, because it will use the ignore_modifier variable to create more button with or without the ignored modifiers activated. For example if you want to ignore CapsLock in your buttonbinding (which is ignored by default by this function), creatina button binding with this function will return 2 button objects: one with CapsLock on, and the other one with CapsLock off.

Parameters

  • mod:
  • ...:

Return value:

A table with one or several button objects.

See also:

Valid XHTML 1.0!