> I am making a controlbar in a program, but I don't know why the buttons
> do not appear.
> Do I have to give an additional command?
    No you don't have to give an additional command, you are
doing just fine. I've tried your example running interactively
and it works fine.
    It's very likely that your problem is somewhere else
in your code, so could you send us at least your 'main' program.
> And for later: How exactly do I tell it what to do if the button is
> pressed. Do I have to give "MyRoutine()" as a second  argument to
> AddButton?
    The second parameter is exact command as you type it
from the command line interface (interpreter), i.e:
         ".x hello.cxx"
         ".q"
         "int f = calc()"
-------------------------------------------------------
Nenad BUNCIC               email: Nenad.Buncic@cern.ch
CERN, PPE Division/NA49    phone:  (+41.22.76)76462,
CH-1211 Geneva 23                  (+41.22.76)74921
SWITZERLAND                  fax:  (+41.22.76)77910
-------------------------------------------------------