import HTMLgen
class Multicol(Container) int cols = 2 def end_tag(self) int gutter = 0 def set_total_width(self, total) def start_tag(self) def total_width(self) int gutter = 0 # Methods inherited by Multicol from Container def __add__(self, other) def __init__(self, *args, **kw) def __repr__(self) def append(self, *items) def copy(self) def empty(self) def last(self) def length(self) def prepend(self, *items)
alias MULTICOL = Multicol
Instantiate the Multicol class and use the append method to add contents to the section. Mutlicol sections can be nested but it's not recommended for appearance reasons.
Support self + list
Append one or more items to the end of the container.
Return a full copy of the object.
Empty the contents of the container.
Return end tag for this tag type
Return the last item in the container.
Return the integer length of the container list.
Prepend one or more items to the top of the container.
Calculates and sets the column width needed to make this section the given the total width in pixels desired.
Return start tag for this tag type including all attributes
Calculates the total width in pixels of the multi-column section given the current object properties.
The method total_width is provided for the lazy folks who don't want to calculate the above equation.
Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedric@phoenix.net
Generated: Mon Dec 2 1996