https://kotlinlang.org logo
Title
n

napperley

10/08/2017, 6:33 AM
DOtherSide only covers a view DSL (QT QML), not a GUI toolkit.
t

tunedal

10/08/2017, 10:43 AM
There is also IUP which seems similar to libui but more mature: http://webserver2.tecgraf.puc-rio.br/iup/
Or, if you don't care about native platform widgets, the Enlightenment Foundation Libraries: https://www.enlightenment.org/about-efl
m

msink

10/08/2017, 11:12 AM
IUC does not target OSX, so is not cross-platform - for modern desktops it means at least Windows/Linux/Mac
t

tunedal

10/08/2017, 11:42 AM
I'm actually considering SWT for a project I'm about to start, i.e. native widgets wrapped in a Java API (with Kotlin/JVM). It seems all the C-based libraries are either incomplete/immature or lacking in platform support.
s

sksk

10/08/2017, 12:05 PM
m

msink

10/08/2017, 12:35 PM
SWT is possible variant - and I even tried convert it to pure Koylin, two months ago. Not finished - too many work for single man hobby project - but it is definitely possible.
e

elect

10/08/2017, 8:55 PM
if interested I ported imgui to kotlin, https://github.com/kotlin-graphics/imgui
n

napperley

10/08/2017, 10:57 PM
Gluseppe - That port is for Kotlin JVM, not Kotlin Native.
Nuklear is on the right path (cross platform, high performance, descent aesthetics, reasonable number of maintainers) but has poor docs, and isn't well designed. Just look at the ENORMOUS header file ( WARNING, large file size - https://github.com/vurtun/nuklear/blob/master/nuklear.h ) that contains both definitions and source code! 😱
e

elect

10/09/2017, 7:50 AM
Yeah, but I thought you may find interesting anyway
s

sksk

10/09/2017, 9:15 PM
one header file is the intended behavior, they want it be portable and easy to include in your project
r

rwachol

10/10/2017, 3:32 PM
libui is pretty nice, hope more people would make PRs so in future it will be more feature-complete