Hi,
is there an API to control the MacBook Pro TouchBar? Would be very helpful.
MacBook Pro TouchBar wxWidgets support
-
- Super wx Problem Solver
- Posts: 299
- Joined: Fri Oct 02, 2009 2:02 pm
-
- Part Of The Furniture
- Posts: 7481
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine
Re: MacBook Pro TouchBar wxWidgets support
Hi,
Probably not.
What does it do?
Thank you.
Probably not.
What does it do?
Thank you.
-
- Super wx Problem Solver
- Posts: 299
- Joined: Fri Oct 02, 2009 2:02 pm
Re: MacBook Pro TouchBar wxWidgets support
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.
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.
-
- Super wx Problem Solver
- Posts: 299
- Joined: Fri Oct 02, 2009 2:02 pm
Re: MacBook Pro TouchBar wxWidgets support
A link to some details:
https://developer.apple.com/design/huma ... -overview/
https://developer.apple.com/design/huma ... -overview/
-
- Super wx Problem Solver
- Posts: 299
- Joined: Fri Oct 02, 2009 2:02 pm
Re: MacBook Pro TouchBar wxWidgets support
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?
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?
You do not have the required permissions to view the files attached to this post.
-
- Part Of The Furniture
- Posts: 7481
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine
Re: MacBook Pro TouchBar wxWidgets support
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.
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.
-
- Moderator
- Posts: 19163
- Joined: Fri Apr 21, 2006 8:03 pm
- Location: $FCE2
Re: MacBook Pro TouchBar wxWidgets support
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!