(cls)
| 228 | warn("`register` is deprecated since IPython 5.0 and will be removed in future versions.", |
| 229 | DeprecationWarning, stacklevel=2) |
| 230 | def decorator(cls): |
| 231 | if ctypes is not None: |
| 232 | inst = cls(self) |
| 233 | self.guihooks[toolkitname] = inst |
| 234 | for a in aliases: |
| 235 | self.aliases[a] = toolkitname |
| 236 | return cls |
| 237 | return decorator |
| 238 | |
| 239 | def current_gui(self): |
nothing calls this directly
no outgoing calls
no test coverage detected