Ben K.
Ben K.

Reputation: 1150

What is the effect of putting an @ after a traits name?

I stumbled upon this example for python traits ListEditor:

Can someone tell me why there is an "@" behind 'people' in the View definition(line 75)?

I couldn't find anything in the traits doc

Upvotes: 1

Views: 80

Answers (1)

Robert Kern
Robert Kern

Reputation: 13430

It is a little-used, undocumented shortcut for style='custom'. Consider it a bad idea that should not be emulated and will be removed from the examples shortly.

Upvotes: 3

Related Questions