MacBook Pro TouchBar wxWidgets support

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
User avatar
rocrail
Super wx Problem Solver
Super wx Problem Solver
Posts: 293
Joined: Fri Oct 02, 2009 2:02 pm
Contact:

MacBook Pro TouchBar wxWidgets support

Post by rocrail »

Hi,

is there an API to control the MacBook Pro TouchBar? Would be very helpful.
Best regards,
Rob.
https://wiki.rocrail.net
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: MacBook Pro TouchBar wxWidgets support

Post by ONEEYEMAN »

Hi,
Probably not.
What does it do?

Thank you.
User avatar
rocrail
Super wx Problem Solver
Super wx Problem Solver
Posts: 293
Joined: Fri Oct 02, 2009 2:02 pm
Contact:

Re: MacBook Pro TouchBar wxWidgets support

Post by rocrail »

its kind of like a small touch display, 1cm in height, and 20cm in width.
Depending on the activated program, it is filled with toolbar icons, and is interactive.
Clicking on the Speaker symbol, will popup a slider to adjust the volume.
Pressing the Fn key on the keyboard will popup all function keys.
While typing this message, it shows proposals for words which would fit to the chars you keyed in.
All Mac programs do show under Menu View not only "Customise Toolbar", but also "Customise Touch Bar".
In Short, the Touch Bar is a programable touch screen area where normally the F1-F12 keys resides.

As always many manufacturers like to copy Apple inventions, so it could be common in the near future for all Operating Systems.
Best regards,
Rob.
https://wiki.rocrail.net
User avatar
rocrail
Super wx Problem Solver
Super wx Problem Solver
Posts: 293
Joined: Fri Oct 02, 2009 2:02 pm
Contact:

Re: MacBook Pro TouchBar wxWidgets support

Post by rocrail »

Best regards,
Rob.
https://wiki.rocrail.net
User avatar
rocrail
Super wx Problem Solver
Super wx Problem Solver
Posts: 293
Joined: Fri Oct 02, 2009 2:02 pm
Contact:

Re: MacBook Pro TouchBar wxWidgets support

Post by rocrail »

Hi,

there is a define:
wxMAC_USE_NATIVE_TOOLBAR
But is not evaluated in the sources.

Native Java applications do show the toolbar icons in the TouchBar.
The sample/toolbar does not show any icons.

what purpose has a define if it is not evaluated?
IMG_2458.JPG
IMG_2457.JPG
Best regards,
Rob.
https://wiki.rocrail.net
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: MacBook Pro TouchBar wxWidgets support

Post by ONEEYEMAN »

Hi,
You can try to send an e-mail to wx-users about this and hopefully Stefan will confirm whether the support is here or not.

Thank you.
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: MacBook Pro TouchBar wxWidgets support

Post by doublemax »

wxMAC_USE_NATIVE_TOOLBAR is probably a left-over from old code. But i'm pretty sure it has nothing to do with the physical touchbar.
Use the source, Luke!
Post Reply