pgui connect ?-server servername? ?-display displaynum?
pgui create bitmap -name filename|-data filedata
pgui create bitmap -width width -height height
pgui create font -name name -style style -size size
pgui create string text
pgui entercontext
pgui leavecontext ?-id contextid?
pgui register -title title -type normal|toolbar
pgui update

picoevent bind widget event script
picoevent check
picoevent get
picoevent loop

picowidget attach widget before|inside|after parent
picowidget create type ?options?
picowidget set -side side -text text -bitmap bitmapid
