Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl API access for statusbar(items) #2

Open
shabble opened this issue Apr 20, 2011 · 0 comments
Open

Perl API access for statusbar(items) #2

shabble opened this issue Apr 20, 2011 · 0 comments
Labels

Comments

@shabble
Copy link
Owner

shabble commented Apr 20, 2011

Statusbars are currently fairly minimally supported by the scripting API.

Proposed features:

Package Irssi::

  • statusbars_get() - return a list of Irssi::TextUI::Statusbar Objects
  • statusbar_find($name) - return a specific Statusbar object
  • statusbar_create($name, @params) - create a new statusbar with specified paramaters.
  • statusbar_remove($name) - remove/delete the named bar.

Package Irssi::TextUI::Statusbar:: methods (implicit $statusbar->func() )

  • get_items() - return a list of I::T::StatusbarItems for a given bar
  • get_item($name) return a specific item
  • remove_item($name)
  • add_item($name, @params) - add an item to an sbar
  • reset() - behaves as equiv. /sbar reset does.
  • accessors (getter/setters) for various sbar parameters (Position, Placement, Type, Visible, ...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant