### Class NonBulletList - Generate a raw indented list without bullet symbols.

## SYNOPSIS

    import HTMLgen

    class NonBulletList(List)
      string __module__ = 'HTMLgen'
      tuple attrs = ()
      tuple attrs = ()
      def render_list_item(self, item)
      string tagname = 'UL'

      # Methods inherited by NonBulletList from List
      def __getslice__(self, i, j)
      def __init__(self, list = None, **kw)
      def __str__(self)
      def append(self, *items)
      def column_slices(self, columns=1)
      def end_element(self)
      def multi_column_table(self)
      def start_element(self)
      def sub_list(self, list)

      # Methods inherited by NonBulletList from UserList
      def __add__(self, list)
      def __cmp__(self, list)
      def __delitem__(self, i)
      def __delslice__(self, i, j)
      def __getitem__(self, i)
      def __len__(self)
      def __mul__(self, n)
      def __mul__(self, n)
      def __radd__(self, list)
      def __repr__(self)
      def __setitem__(self, i, item)
      def __setslice__(self, i, j, list)
      def count(self, item)
      def index(self, item)
      def insert(self, i, item)
      def pop(self, i=-1)
      def remove(self, item)
      def reverse(self)
      def sort(self, *args)

## DESCRIPTION

Arg is a list of python objects:

### def append(self, *items)

Append entries to the end of the list

### def column_slices(self, columns=1)

Calculate a list of index pairs bounding column slices.

### def end_element(self)

Closes the HTML element

### def multi_column_table(self)

Return a table containing the list sliced into columns.

### def render_list_item(self, item)

Overload method to take first item from an item tuple and setting it next to the second item, using BR to separate list items.

### def start_element(self)

Generic creator for the HTML element opening tag.

Reads tagname, attrs and flags to return appropriate tag.

### def sub_list(self, list)

Recursive method for generating a subordinate list

## SEE ALSO

HTMLgen

List

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Tue Apr 20, 1999