diff options
| author | Tom Feist <shabble@metavore.org> | 2010-10-06 17:21:24 +0000 | 
|---|---|---|
| committer | Tom Feist <shabble@metavore.org> | 2010-10-06 17:21:24 +0000 | 
| commit | a5f5201e9cacb1587b0101e2e182307b638e172f (patch) | |
| tree | c9d2f8f28917febafd07cf77a1b6e05cb70d8f7a | |
| parent | more progress on replacing prompt bar for visual mode and other trickery. Pr... (diff) | |
| download | irssi-scripts-a5f5201e9cacb1587b0101e2e182307b638e172f.tar.gz irssi-scripts-a5f5201e9cacb1587b0101e2e182307b638e172f.zip | |
documentation improvements
| -rw-r--r-- | docs/Irssi/TextUI/StatusbarItem.pod | 17 | ||||
| -rw-r--r-- | feature-tests/sbar_test.pl | 44 | 
2 files changed, 60 insertions, 1 deletions
| diff --git a/docs/Irssi/TextUI/StatusbarItem.pod b/docs/Irssi/TextUI/StatusbarItem.pod index 87de288..b62890c 100644 --- a/docs/Irssi/TextUI/StatusbarItem.pod +++ b/docs/Irssi/TextUI/StatusbarItem.pod @@ -4,11 +4,26 @@ __END__  Irssi::TextUI::StatusbarItem +=head1 DESCRIPTION +  =head1 FIELDS  =head1 METHODS  =head2 C<default_handler> -I<undocumented> +=over + +=item C<$item> + +=item C<$get_size_only> + +=item C<$str> + +=item C<$data> + +=item C<$escape_vars> - defaults to C<TRUE> + +=back + diff --git a/feature-tests/sbar_test.pl b/feature-tests/sbar_test.pl index 6523842..121bc52 100644 --- a/feature-tests/sbar_test.pl +++ b/feature-tests/sbar_test.pl @@ -29,3 +29,47 @@ sub foo_sb {  }  Irssi::statusbar_item_register ('foo_bar', 0, 'foo_sb'); + +__END__ +# Name                           Type   Placement Position Visible +# window                         window bottom    1        active +# window_inact                   window bottom    1        inactive +# prompt                         root   bottom    0        always +# topic                          root   top       1        always + +# Statusbar: prompt +# Type     : root +# Placement: bottom +# Position : 0 +# Visible  : always +# Items    : Name                                Priority  Alignment +#          : prompt                              0         left +#          : prompt_empty                        0         left +#          : input                               10        left +# +# STATUSBAR <name> ENABLE +# STATUSBAR <name> DISABLE +# STATUSBAR <name> RESET +# STATUSBAR <name> TYPE window|root +# STATUSBAR <name> PLACEMENT top|bottom +# STATUSBAR <name> POSITION <num> +# STATUSBAR <name> VISIBLE always|active|inactive +# STATUSBAR <name> ADD +#                  [-before | -after <item>] [-priority #] +#                  [-alignment left|right] <item> +# +# STATUSBAR <name> REMOVE <item> +# +# Commands for modifying the statusbar. +# +# /STATUSBAR +#    - Display all statusbars. +# +# /STATUSBAR <name> +#    - display elements of statusbar <name> +# +# Irssi commands: +# statusbar add     statusbar enable    statusbar position  statusbar reset +# statusbar visible statusbar disable   statusbar placement statusbar remove +# statusbar type + | 
