Skip to content

Access violation: Open Tk GUI and running a python function without closing the GUI #474

Closed
@idanmiara

Description

@idanmiara

Hi,

Is it possible to open a Python GUI (created with tk for instance) and then run a python function without closing the tk window?
I've created a project to demonstrate the issue here:
https://github.com/idanmiara/pyscripter_test
in order to demonstrate the issue please run the project then click the buttons in the following order:

init, py load, py1 - this works
init, py load, py5, close the tk window, py1 - this works
init, py load, py5, py1 - this would cause Access violation.

(there are some other buttons there which are not related to this question)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions