https://kotlinlang.org logo
Join SlackCommunities
Powered by
# gui
  • r

    roberto.guerra

    07/10/2017, 4:58 PM
    @roberto.guerra has left the channel
  • r

    robinchew

    08/23/2017, 2:27 AM
    Hey how do you render the
    Correct the following errors
    in

    https://storage.googleapis.com/material-design/publish/material_v_11/assets/0Bzhp5Z4wHba3dEZTUF9idzBHMWc/patterns_errors_userinput19.pngβ–Ύ

    ?
  • j

    jecarr33

    09/03/2017, 7:00 AM
    Any intellij idea users in here?
  • o

    orangy

    09/03/2017, 9:52 AM
    Yep, sure. I suppose almost everyone πŸ™‚
  • j

    jecarr33

    09/03/2017, 7:34 PM
    @orangy I thought idea was messing up....needless to say it was operator error.....
  • j

    jecarr33

    09/03/2017, 7:35 PM
    I couldn't figure out why the autocomplete was placing the caret passed the autocompleted suggestion...... 😞 I feel like a fool lol
  • r

    robinchew

    10/30/2018, 4:24 PM
    Hi I currently have a list view with rows that each represent a product and quantity. It's used as a dashboard where the quantity changes in real time. I am just wondering what sort of material design/animation is recommended to signify those changes.
  • i

    iseki

    04/07/2020, 3:51 PM
    Are there any GUI framework for Kotlin multiplatform? Not TornadoFX. It's JVM only...
    r
    • 2
    • 1
  • m

    Miroslav Sobotka

    10/02/2020, 1:41 PM
    Hi πŸ‘‹ not sure if this thread is the right one (it's actually cross-topic πŸ˜„ ). I wrote a small example App that uses all of these technologies - KTor, Coroutines, DateTime, LibUI. There is a Button with text "Async Test" - it works, but when the App is closed, crashed that on FrozenException. Does anybody know how to properly combine the threads/coroutines with KTor and libUI? πŸ€” https://github.com/sobotkami/fahrplan-libui/blob/main/src/nativeMain/kotlin/main.kt
    m
    • 2
    • 1
  • f

    fkrauthan

    10/10/2020, 5:39 AM
    What is the current status of writing Desktop Applications with Kotlin Native?
    m
    m
    • 3
    • 6
  • m

    Marshall

    10/20/2020, 7:23 PM
    I just discovered the kotlin gtk example: https://github.com/JetBrains/kotlin-native/tree/master/samples/gtk
  • m

    Marshall

    10/20/2020, 7:24 PM
    has anyone tried to make a kotlin gtk app?
    m
    b
    • 3
    • 62
  • m

    Marshall

    11/03/2020, 3:07 PM
    https://www.reddit.com/r/Kotlin/comments/jn6wio/wowcompose_desktop_maclinuxwin_is_now_available/
    πŸ‘ 1
  • d

    dector

    11/05/2020, 8:12 PM
    https://www.jetbrains.com/lp/compose/ #compose-desktop
    b
    • 2
    • 10
  • m

    Miroslav Sobotka

    12/03/2020, 2:12 PM
    FYI: https://www.zdnet.com/google-amp/article/kotlin-language-maker-jetbrains-windows-10-and-m1-macos-get-android-jetpack-compose/
  • m

    Miroslav Sobotka

    01/11/2021, 10:39 PM
    A new GUI Vista sample called KPad has been added: https://gitlab.com/gui-vista/samples/kpad Slack Conversation
    πŸ‘ 1
    m
    n
    • 3
    • 8
  • c

    Clocks

    03/14/2021, 6:46 PM
    Are there any common practices in GUI dsl?
  • c

    Clocks

    03/17/2021, 2:51 AM
    https://github.com/Doomsdayrs/kotlinx-gtk/tree/main/src/nativeMain/kotlin/kotlinx/gtk is the way my DSL is currently setup https://github.com/Doomsdayrs/kotlinx-gtk/blob/main/src/nativeTest/kotlin/Main.kt is the UI of it Any comments or feedback?
    r
    • 2
    • 9
  • t

    therealbluepandabear

    04/03/2021, 9:56 PM
    If you want to join a better Android UI channel please do so here at #android-ui
  • n

    napperley

    05/07/2021, 3:54 AM
    Managed to get the Basic GUI sample working as a FlatPak ( https://gitlab.com/gui-vista/samples/basicgui-sample/-/tree/flatpak ) πŸŽ‰. Currently there is no provision for an Application menu item.
    πŸŽ‰ 1
    K 2
    • 1
    • 2
  • n

    napperley

    08/31/2021, 10:14 PM
    Sneak peek of the Drag And Drop sample ( https://gitlab.com/gui-vista/samples/dnd-sample ), which is a WIP and is a translation of the Drag And Drop Python example ( https://python-gtk-3-tutorial.readthedocs.io/en/latest/drag_and_drop.html ) with some differences πŸŽ‰.
    πŸ‘πŸΌ 1
    πŸ‘ 1
  • c

    Clocks

    09/04/2021, 3:49 AM
    https://github.com/Doomsdayrs/kotlinx-gtk/tree/gtk-4/examples/4 GTK-KT (formerly kotlinx-gtkj) is fully capable of custom drawing now πŸ˜„ πŸŽ‰ Here is example-4
    2021-09-03_23-46-46.mp4
    K 4
    • 1
    • 1
  • c

    Clocks

    09/11/2021, 3:37 PM
    https://en.m.wikipedia.org/wiki/List_of_language_bindings_for_GTK gtk-kt is now listed on Wikipedia. Now to hope there are more devs who can help ;-;
    K 1
    πŸ‘πŸΌ 1
    πŸ‘ 1
  • n

    napperley

    10/10/2021, 4:12 AM
    Currently developing unofficial Kotlin bindings to the EFL library ( https://en.wikipedia.org/wiki/Enlightenment_Foundation_Libraries ) which is in the early stages ( https://gitlab.com/embed-soft/efl-kt ). The bindings use the new EFL APIs rather than the legacy EFL APIs. Would like to support the Linux Frame Buffer ( https://en.wikipedia.org/wiki/Linux_framebuffer#:~:text=The%20Linux%20framebuffer%20(fbdev)%20is,typically%20on%20the%20system%20console ) however there are some key EFL APIs that are Macros ✨, which will require the assistance of a C expert to translate them πŸ™Œ. Already have a basic GUI sample ( https://gitlab.com/embed-soft/efl-kt/samples/efl-hello ) that works on the linuxArm32Hfp K/N target, but requires using the XOrg backend. The sample would likely require some minor changes to get working on the Linux Frame Buffer backend, which is hampered by some key EFL APIs as mentioned earlier ☝️.
    πŸ‘πŸΌ 1
    πŸ‘ 1
  • t

    therealbluepandabear

    10/29/2021, 8:34 AM
    App link : https://github.com/realtomjoney/PyxlMoose
  • t

    therealbluepandabear

    10/29/2021, 8:35 AM
    The gui I've been working on for my pixel art app using MaterialComponents3!!!
    0adb4884-c093-4c41-aa0d-415e294da792.webm
  • n

    napperley

    11/03/2021, 2:51 AM
    Managed to get a basic Kotlin Native program ( https://gitlab.com/napperley/lvgl-hello ) working on the Raspberry Pi 4 that uses the LVGL library ( https://lvgl.io/ ), and the Linux Frame Buffer ( https://en.wikipedia.org/wiki/Linux_framebuffer#:~:text=The%20Linux%20framebuffer%20(fbdev)%20is,typically%20on%20the%20system%20console. ) as the backend πŸŽ‰. The two main issues with the program are the graphical corruption caused by the mouse cursor, and the resolution (1280x720) isn't fully utilized (only half of the screen is used). Memory usage is around 4.2 MB (reserved memory) with the old Kotlin Native memory model. Release binary size is around 1.2 MB (all libraries are statically linked). I am wondering if there are some Kotlin team members interested in using this project as a use case (Embedded Linux GUIs) for the new Kotlin Native memory model (via the experimental tracing GC). Here are some YouTube videos that will give you a basic idea of what the LVGL library (originally designed for Micro Controllers but also supports Embedded Linux devices) is capable of: β€’ 100MHz oscilloscope with Raspberry pi PICO, micropython and LVGL (

    https://youtu.be/rAWYpLoQVxYβ–Ύ

    ) β€’ LVGL Raspberry Pi SDL2 (

    https://youtu.be/wEsPvbL4dT8β–Ύ

    ) β€’ Raspberri Pi & radioberry trancever using LVGL GUI (

    https://youtu.be/PQ_Np5SfcxAβ–Ύ

    ) β€’ IDO SMLCD72 V1 2EC - board certification review | LVGL (

    https://youtu.be/ut0-dHNNsD4β–Ύ

    ) β€’ LVGL Printer Demo GUI on STM32F769 Discovery (800 x 480) (

    https://youtu.be/ZUJxbCbBod0β–Ύ

    ) β€’ LVGL Widgets Demo GUI on STM32F769 Discovery (800 x 480) (

    https://youtu.be/I5iTb9AkY2wβ–Ύ

    ) β€’ tft lvgl ui demo (

    https://youtu.be/iG1S-sk82sQβ–Ύ

    ) β€’ RepPanel Demo 1 (

    https://youtu.be/FfghWz1Lrw4β–Ύ

    )
    K 3
    g
    • 2
    • 5
  • c

    Clocks

    11/18/2021, 5:13 PM
    Kotlin/Native application using
    gtk-kt
    to play video. (There is audio, but pipewire is being a tad buggy so it is not included) I made this in under an hour, with a bit of debugging. It's impressively easy to make a GTK video player with Kotlin/Native :D Slack Conversation
    K 4
    t
    m
    • 3
    • 20
  • n

    napperley

    02/01/2022, 12:15 AM
    I have made some new Kotlin Native libraries available that support Embedded GUI development: https://kotlinlang.slack.com/archives/C2YH04E3S/p1643674141844719 Would highly appreciate some feedback on the Kotlin Native libraries themselves. Trying to figure out how to automate the process of generating static library files for the LVGL, and LV Drivers libraries. The generation process hit a roadblock with resolving header files and setting up configuration, which isn't trivial since LVGL's origins come from the uC side where configuration is done via header files which Kotlin doesn't support ☹️.
    g
    • 2
    • 1
  • t

    Tim McCormack

    04/04/2023, 2:10 AM
    I want to make a cross-platform desktop application in Kotlin (don't care about mobile) with decent accessibility and a GUI toolkit that doesn't feel like pulling teeth to use (so... probably not JavaFX). Ideally something where I can write HTML and CSS for the UI, but actually control it from Kotlin. What are my options?
    a
    • 2
    • 5