Skip to content

Setting _extra_toolbars #594

Description

@bwildenborg

I'm interested in setting the _extra_toolbars of the underlying REPL when using embed which does not seem to provide any means of setting this.
I also tried setting _extra_toolbars of the REPL through a configure function, but that had no effect.
Sifting through the source code it looks like I would have to redo a ton of setup logic to get that to happen.
Am I missing something, or do I just need to make a feature request for this?
FWIW, it was as simple as adding an arg to embed, then passing it through the to the constructor of ptpython.repl.PythonRepl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions