Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
wx.aui.AuiNotebook.SetArtProvider(wx.aui.AuiDefaultTabArt()) Crash! #1061
wx.aui is an underlying wxWidgets lib. The person that originally wrote it kinda disappeared a while ago and there was outstanding bugs and features not implemented. Andrea eventually came along and ported the C++ code into python so its bugs could be fixed and improvements be made. The work Andrea did is the wx.lib.agw.aui and is pure python.
... So to answer your question, which is better... wx.lib.agw.aui is more bug free and polished. the wx.aui might run faster, but has outstanding bugs and missing features, so if you are not using just a simple notebook, most would say go with the python library version.
wxWidgets has AUI on its rewrite list, but it might be quite some time before that ever gets done and sees the light of day on the C++ side of things.
I'm not exactly sure what you are wanting to texture... Could you provide a small sample app and/or a picture of what you want to do. I use wx.lib.agw.aui and the only things I alter in my custom version is notebook tab arts and manager art background from the default gradient.
Also, have you looked at the official wx.lib.agw.aui demo?
It's a bug. Ownership of the art object was not being transferred correctly from Python to C++, so it was being destroyed immediately after the
I have a fix on the way.
referenced this issue
Oct 30, 2018
I use wx.aui at first, but notebook setartprovider crashed, and wx4.03, the page cannot be closed! then I change wx.lib.agw.aui, but on mac, when open two pages, and drag one be left-right, then if we drag the right back to the left one, it crashed.
I just want to add a watermark to the blank notebook (when there is no page), at first I think I should override the tabartprovider's drawbackground, later, I find I should use dockargprovider. and now I add a watermark successfully!
another question, I want use a advencedsplash when open the software, my program need 3s to load, but the splash show in nocolor, untill my program be loaded, and enter mainloop, it looks right.
I 'd like the splash show first, and my program loaded in back. need I use a pubsub here?
my projects here: https://github.com/Image-Py/imagepy