From d72aa2edfb4489630b86f557aef8752ad4fcab58 Mon Sep 17 00:00:00 2001 From: o9000 Date: Sat, 25 Mar 2017 15:28:50 +0100 Subject: [PATCH] Button: doc --- doc/manual.html | 1 + doc/tint2.1 | 2 ++ doc/tint2.md | 1 + 3 files changed, 4 insertions(+) diff --git a/doc/manual.html b/doc/manual.html index 2e7eeff..ff2ef27 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -663,6 +663,7 @@ execp_interval = 1
  • button_background_id = integer : Which background to use. (since 0.14)

  • button_centered = boolean (0 or 1) : Whether to center the text. (since 0.14)

  • button_padding = horizontal_padding vertical_padding spacing_between_icon_and_text (since 0.14)

  • +
  • button_max_icon_size = integer : Sets a limit to the icon size. Otherwise, the icon will expand to the edges. (since 0.14)

  • button_lclick_command = text : Command to execute on left click. If not defined, execp_command is executed immediately, unless it is currently running. (since 0.14)

  • button_mclick_command = text : Command to execute on right click. If not defined, execp_command is executed immediately, unless it is currently running. (since 0.14)

  • button_rclick_command = text : Command to execute on middle click. If not defined, execp_command is executed immediately, unless it is currently running. (since 0.14)

  • diff --git a/doc/tint2.1 b/doc/tint2.1 index 10a6cdf..e8be17e 100644 --- a/doc/tint2.1 +++ b/doc/tint2.1 @@ -825,6 +825,8 @@ execp_interval = 1 .IP \(bu 2 \fB\fCbutton_padding = horizontal_padding vertical_padding spacing_between_icon_and_text\fR \fI(since 0.14)\fP .IP \(bu 2 +\fB\fCbutton_max_icon_size = integer\fR : Sets a limit to the icon size. Otherwise, the icon will expand to the edges. \fI(since 0.14)\fP +.IP \(bu 2 \fB\fCbutton_lclick_command = text\fR : Command to execute on left click. If not defined, \fB\fCexecp_command\fR is executed immediately, unless it is currently running. \fI(since 0.14)\fP .IP \(bu 2 \fB\fCbutton_mclick_command = text\fR : Command to execute on right click. If not defined, \fB\fCexecp_command\fR is executed immediately, unless it is currently running. \fI(since 0.14)\fP diff --git a/doc/tint2.md b/doc/tint2.md index 10b061b..f1dddba 100644 --- a/doc/tint2.md +++ b/doc/tint2.md @@ -693,6 +693,7 @@ execp_interval = 1 * `button_centered = boolean (0 or 1)` : Whether to center the text. *(since 0.14)* * `button_padding = horizontal_padding vertical_padding spacing_between_icon_and_text` *(since 0.14)* + * `button_max_icon_size = integer` : Sets a limit to the icon size. Otherwise, the icon will expand to the edges. *(since 0.14)* * `button_lclick_command = text` : Command to execute on left click. If not defined, `execp_command` is executed immediately, unless it is currently running. *(since 0.14)* * `button_mclick_command = text` : Command to execute on right click. If not defined, `execp_command` is executed immediately, unless it is currently running. *(since 0.14)*