TextGrid-accessors function

Access the slots of TextGrid objects.