[1055] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r1037 - trunk/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:12:33 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@nelhage.com
To: dirty-owl-hackers@MIT.EDU
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Tue,  6 May 2008 20:32:23 -0400 (EDT)

Author: nelhage
Date: 2008-05-06 20:32:23 -0400 (Tue, 06 May 2008)
New Revision: 1037

Modified:
   trunk/owl/perlwrap.pm
Log:
Document create_style


Modified: trunk/owl/perlwrap.pm
===================================================================
--- trunk/owl/perlwrap.pm	2008-05-07 00:10:17 UTC (rev 1036)
+++ trunk/owl/perlwrap.pm	2008-05-07 00:32:23 UTC (rev 1037)
@@ -132,6 +132,14 @@
 
 Remove a file descriptor previously registered via C<add_dispatch>
 
+=head2 create_style NAME OBJECT
+
+Creates a new barnowl style with the given NAME defined by the given
+object. The object must have a C<description> method which returns a
+string description of the style, and a and C<format_message> method
+which accepts a C<BarnOwl::Message> object and returns a string that
+is the result of formatting the message for display.
+
 =cut
 
 


home help back first fref pref prev next nref lref last post