0

I'm writing

GPS.Action("Copy to Clipboard").button(toolbar='Messages', label='Copy')

which is exactly how it is documented here: http://docs.adacore.com/gps-docs/users_guide/_build/html/GPS.html#GPS.Action.create

but I'm getting the error: 'Action' object has no attribute 'button'

Does anyone know how to fix this?

Donald Duck
  • 8,409
  • 22
  • 75
  • 99
123456
  • 113
  • 8

1 Answers1

1

Which GNAT GPS version are you using? Previous versions (2013, for example) does not have this method.

Or B
  • 1,675
  • 5
  • 20
  • 41