3 ms·
> I challenge every defender of that GTK/QT crap to build a swipeable sidebar into their native and responsive UI. If it takes more than 10 minutes, you lost, c
by heavyset_go 5y ago
> I challenge every defender of that GTK/QT crap to build a swipeable sidebar into their native and responsive UI. If it takes more than 10 minutes, you lost, cause that's what it takes to use CSS, even without any IDE or toolkit.
You get this for free with Qt's QML Drawer type, and it's also a declarative UI, so you don't have to implement anything yourself[1]. It's swipeable by default.
You also get it for free with Flutter's NavDrawer.
[1] https://doc.qt.io/qt-5/qtquickcontrols-sidepanel-example.html https://doc.qt.io/qt-5/qtquickcontrols-sidepanel-example.htm...
- smoldesu 5y agoNot to be pedantic, but I'm fairly sure it's also "for free" with GTK2/3's "stack" dialogue. Don't think it's still the case with GTK4 though, I'm pretty sure all that gesture functionality was broken out into a separate library...
- heavyset_go 5y agoYeah, I'm not familiar enough with modern GTK to speak on its behalf.