Add Segmented Button Widget (Issue #23030)

20 views
Skip to first unread message

seanr3

unread,
Dec 12, 2022, 3:35:47 AM12/12/22
to wx-...@googlegroups.com, Subscribed

Description

segmented_control

https://developer.apple.com/design/human-interface-guidelines/components/selection-and-input/segmented-controls/

I haven't been able to find a widget like this in wxWidgets. Can it be added? wxNotebook is similar, especially on macOS, but I'm hoping there can be just the standalone segmented button widget.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23030@github.com>

VZ

unread,
Dec 12, 2022, 8:14:02 AM12/12/22
to wx-...@googlegroups.com, Subscribed

Support for segmented buttons would be nice to have and it can be added, of course, but someone would have to actually do it -- any contributions would be welcome, of course.

We would have to provide a "generic" fallback for the other platforms, but it probably could just use several toggle buttons packed together.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23030/1346473693@github.com>

Ryan Ogurek

unread,
Mar 16, 2026, 5:02:13 AM (2 days ago) Mar 16
to wx-...@googlegroups.com, Subscribed
ryancog left a comment (wxWidgets/wxWidgets#23030)

it probably could just use several toggle buttons packed together.

This is my poor-man's segmented control currently, hah.

It doesn't look very native, but it's alright (on MSW and GTK). Toggle Buttons on macOS are particularly ugly though, so macOS would have a fair benefit from this.

At some point in the future I'd like to get this native control. I'm aware of Cocoa and Objective-C, but not extremely familiar with it or the wxWidgets codebase as far as ports go. That is to say I'd have to do some reading, but it's interesting to me.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23030/4066117799@github.com>

Reply all
Reply to author
Forward
0 new messages