Using the keys branch (
#1596 ), I changed some @buttons to use the new c.doCommandByName and received error:
TypeError: doCommandByName() missing 1 required positional argument: 'event'
only 0 lines
Edward explained that:
c.doCommandByName takes two arguments.
c.executeMinibufferCommand takes only one.
There is no need to change
your calls to c.executeMinibufferCommand.
So I am trying to understand how args work. I have tried to get the command to have 2 arguments but ignore or have arg2 empty.
The @button has:
c.doCommandByName('move-outline-right', event=None)
Not being an expert, it gives error:
AttributeError: 'NoneType' object has no attribute 'get'
Once I have that working, an example of how I could use arg2 would be appreciated.
Thanks
Lewis