Cannot return from custom color dialog to GTK3 default color chooser dialog
Steps to reproduce
- Compile https://lily.kazv.moe/-/snippets/2
- Run.
- Click "Click me!"
Current behavior
The dialog's initial state is a set of colours on a palette. (1st page) Clicking the + button brings one to a colour selector that can select arbitrary colours in RGB. (2nd page) There is no way to return to the 1st page from the 2nd page.
Expected outcome
The dialog's initial state should be a combination of the 1st page and the 2nd page (either in a top-down or left-right layout) in normal cases.
If the screen size does not allow putting the two pages on the same screen, we can separate the two pages and make a button that switches between them.
Version information
version = GTK+ 3.24.29
os = GNU/Linux 5.10.52-gentoo-x86_64
distro = Gentoo
USE = 3.24.29(3)^t(01:06:30 PM 2021-05-20)(X cups introspection wayland -aqua -broadway -cloudprint -colord -examples -gtk-doc -sysprof -test -vim-syntax -xinerama ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")