wxpython -- a frame or panel similar to labelframe in ttk? - user-interface

I used ttk's labelframes for many different things and have recently switched over to wxpython. I can't, for the life of me, find a similar panel or frame in wxpython. Does anyone know of any? I'd prefer it be native but if it isn't there, it isn't there. Thanks.

You mean something like that? wxPython StaticBox? Will act together with STaticBoxSizer as container for other controls.

Related

Custom NSTabView with lefttab

I want to make a NSTabView like CleanMyMac or other application.
Never tried to customize NSOutlineView or NSTableView that heavily but I doubt it would get close enough to the custom (read: non-standard) behaviour you're looking for..
You can check for third party, Open Source controls that implement something similar. There are a couple of controls listed on Cocoa Controls that come pretty close.
Cocoa Controls is good idea.
Maybe this is a nice starting point:
https://github.com/monyschuk/LITabControl

NSPopover - hiding standard window possible?

In my Mac app, I want to use a NSPopover, activated by a NSStatusItem. Activating works like a charm, but I would like to get rid of the standard window (white or HUD), that is provided by the NSPopover, and use my own view instead. Does anyone know if that is possible?
Thanks
no, it is not possible -- we tried hard and ended up reverting to the 10.7 way of using a custom class.. check MAAttachedWindow
well with enough swizzling and posing it'd be possible of course... but that is very evil and at least as much work as your own class!

UI rendering issues with Segmented Control

I'm working on a simple app to learn Cocoa and I've encountered a little rendering bug with the segmented controller.
As you can see here, the view does not display fully opaque. I've looked around to try and find a solution to this to no avail. I did at one point think that maybe this control wasn't supposed to be used in this way but a quick browse through the system preferences yielded several views using this technique.
The control you are looking for is actually NSTabView. Docs here:
NSTabView

How to make an NSPanel immovable

Hey all, quick question that has been bugging me about NSPanel. I like the look of The NSPanel HUD but for the project I am doing I need the Panel to not be moved. Does anyone know of any possible solutions to make it were my NSPanel cannot be moved at all but maintain its buttons interactivity? I've been searching for any questions similar to this for awhile now. Any insight on the issue would be helpful! Thanks.
Don't forget to look in superclasses. A panel is a kind of window, and since Mac OS X 10.6, it's possible to set a window's movable property to NO.
I'm with Dave DeLong, though: I hope you have a good reason to break this functionality. Users expect to be able to move windows, especially those with title bars and HUD windows by their backgrounds, out of their way. And remember, you're not the only application on the system; the user may have something important to get to in a window in another application.

Gray NSTableView à la iTunes

How can I achieve the dark gray NSTableView look (used in iTunes, Delicious Library, etc.) in my own application?
I always thought this was an option in NSTableView (or NSTableHeaderView) but I never tried actually doing it.
After hours of searching, I'm pretty convinced that no such option exists, and that I need to do my own drawing.
Before going any further, I just want to make sure there isn't an (undocumented) API for this, and that I'm not missing something.
A good friend of mine created a whole control kit called BGHUDAppKit. It's for the new HUD stuff that Apple introduced a while ago. I believe his controls are themable, and they come with source. I personally haven't done anything with Cocoa, but he has and I know he could answer some questions. Unfortunately, he doesn't lurk here, so you'll have to contact him. I'll see if I can get him to come here. :)
Look at this page under iTableColumnHeader. Also there are many custom UI elements similar to Apple's

Resources