    How to write a (G)UI that uses twyt
  ---------------------------------------

o Firstly, I haven't tried writing a GUI for twyt yet so I can't be sure these
  instructions are all that helpful. I've tried to write twyt in such a way that
  extending it would be easy (for example, the methods in the Command class all
  return result sets, where applicable). Anyway, here goes.

o The way I see it there are two ways of extending twyt. The first way involves
  importing the twitter module and writing all of the UI and command parsing
  things yourself. The second way is to import the commmands module and just
  call the commands specified in its cmd_map dictionary. That way, you get all
  the user profile, parsing etc. and a lot of error handling stuff for free.
  This is the method I'll be concentrating on.

o Once the commands module is imported you can instantiate a Command object.
  The important parts of the Command object will be the docommand() method and
  the cmd_map dictionary. cmd_map gives the list of commands that can be called
  as its keys and the docommand() method allows the functions to be called by
  their names as a string. For example, to get the last twenty messages in the
  public timeline you would do something like:

    import commands

    cmd = commands.Command()
    results = cmd.docommand('publictl')

  The above snippet ends with the results variable being assigned a StatusList
  object which is basically a list of Status objects which contain the data of a
  twitter status message plus some wrapper code. So now you can do something
  like:

    for result in results:
        aContainerWidget.add(aLabel(result.text))

  This pseudocode would in theory set the text of a new graphical label which
  then gets added to a widget that contains a list of labels. Or something.

o That's about as simple as it gets. The world is now your oyster. Have fun!
