Tiled window state is unsupported on different platforms/window manager
Steps to reproduce
- Implement a GtkBox with two items (horizontal layout as default) and add it to GtkWindow
- Connect
window_state_event
signal with this behavior- Tiled state - Change box layout to vertical
- Other state - Change back to horizontal layout
- Run and test on either KDE or Microsoft Windows (but not on GNOME)
I don't program GTK in C instead I use C++ interface GTKMM
I created a post with example code on StackOverflow
Current behavior
When the window is tiled, GtkBox layout remains unaffected
Expected outcome
On window tiled, GtkBox changes its layout to vertical
Version information
Gtk : 3.24.22
OS : Debian sid
Additional information
GtkBox layout not changing to vertical orientation when window is titled to the left
On GNOME desktop, the code works fine but not on other platforms. Tested it on KDE and Windows only.