nucleic / enaml

Declarative User Interfaces for Python
http://enaml.readthedocs.io/en/latest/
Other
1.52k stars 130 forks source link

[FEAT] wxWidgets instead of Qt #520

Open Kochise opened 1 year ago

Kochise commented 1 year ago

Hello,

considering the potential licensing issue with Qt (been there, done that) and the size of the library, could it be possible to consider offering a wxWidgets alternative ?

There is already the official Python interfaces Phoenix that mimics what PyQt do.

Hence, minus a few tweaks and tricks, maybe a wxWidgets port might be possible with relative ease.

Your thought on this ?

Regards.

sccolbert commented 1 year ago

No, absolutely not.

I made a wx backend when I first made Enaml, and I would rather shit in my hands and clap, than to ever do anything with wx ever again.

On Wed, Mar 29, 2023 at 2:19 PM Kochise @.***> wrote:

Hello,

considering the potential licensing issue with Qt (been there, done that) and the size of the library, could it be possible to consider offering a wxWidgets https://github.com/wxWidgets/wxWidgets alternative ?

There is already the official Python interfaces Phoenix https://github.com/wxWidgets/Phoenix that mimics what PyQt https://riverbankcomputing.com/software/pyqt/download do.

Hence, minus a few tweaks and tricks, maybe a wxWidgets port might be possible with relative ease.

Your thought on this ?

Regards.

— Reply to this email directly, view it on GitHub https://github.com/nucleic/enaml/issues/520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABBQSISCRZSUVJDLLABEZDW6SDMDANCNFSM6AAAAAAWMJ2EC4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Kochise commented 1 year ago

A particular reason so far ? Bad software design ? Unexpected behaviors ? Yet https://www.wxwidgets.org/ looks like a decent UI library that is used by well known and stable applications.

On the other hand, I remember having reported an issue after an untested change has been pushed into wxWidgets without care.

MatthieuDartiailh commented 1 year ago

I won't argue with @sccolbert I have not used wx. I would however like to mention that nothing keeps you @Kochise to implement an alternative backend in a different package (like enaml-web and enaml-native do, even though they also define different widgets).

Kochise commented 1 year ago

Ok, I'll look into it on my spare time, would be interesting to see how it fares.

Was curious if it was already attempted previously.

I hope it improved in a "good" way since 2013 (first enaml incarnation).

bburan commented 1 year ago

I've worked with wx. Discovering Qt was like a breath of fresh air and I immediately switched all my programs over. Depending on the licensing issues, would PySide be an appropriate alternative? It's LGPL.

sccolbert commented 1 year ago

Just as an fyi, Enaml already works with PySide out of the box.

On Fri, Apr 14, 2023 at 1:36 PM Brad Buran @.***> wrote:

I've worked with wx. Discovering Qt was like a breath of fresh air and I immediately switched all my programs over. Depending on the licensing issues, would PySide be an appropriate alternative? It's LGPL.

— Reply to this email directly, view it on GitHub https://github.com/nucleic/enaml/issues/520#issuecomment-1509067160, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABBQSITAOO6BG32ZGD6XITXBGKL5ANCNFSM6AAAAAAWMJ2EC4 . You are receiving this because you were mentioned.Message ID: @.***>