Тёмный
Slint
Slint
Slint
Подписаться
Комментарии
@yesyesman671
@yesyesman671 17 дней назад
Can you do a video of the whole process for compiling slint applications for android
@user-dr4of6hw8v
@user-dr4of6hw8v 17 дней назад
That is so great !!!, waiting for new creation!!!
@zungaloca
@zungaloca Месяц назад
I wonder how this would would on the Spotify car thing
@yesyesman671
@yesyesman671 Месяц назад
How did you get the properties in the botton left?
@KushLemon
@KushLemon 2 месяца назад
At this point, might as well use a standard like React with Tauri.
@vikinggeorge7007
@vikinggeorge7007 3 месяца назад
Slint rocks, guys well done, you are making it work on mobile. I'd love to see Slint become a fully cross-platform UI framework. And maybe an overhaul of the Slint language, as it's too verbose and bulky imo. It could be heavily simplified. Maybe someday I could contribute directly.
@MaxJM711
@MaxJM711 2 месяца назад
Pardon but isn't Slint already cross-platform? Or do you mean having to compile the app for iOS and Android separately, for example? Even then, it's an amazing software and I really want to delve into it for native apps :D
@serychristianrenaud
@serychristianrenaud 3 месяца назад
Cool
@Undead34
@Undead34 3 месяца назад
😊😊😊😊
@TamasFabian-jm6yx
@TamasFabian-jm6yx 3 месяца назад
I'm so fed up with HTML based slow UIs requiring hundreds of megabytes of memory (on the low end). This feels like a breath of fresh air.
@hakn_d
@hakn_d 3 месяца назад
@ronalerquinigoagurto555
@ronalerquinigoagurto555 3 месяца назад
Can you make a car dashboard cluster with slint
@Slint-UI
@Slint-UI 3 месяца назад
Yes, you can do everything 🙂
@dorktales254
@dorktales254 4 месяца назад
Wouldn't it be better to have the slint preview displayed inline in vscode?
@johanmilterjakobsen1627
@johanmilterjakobsen1627 5 месяцев назад
Can you make a video explaining how to combine multiple .slint files? Maybe also showing how to dynamically create components using rust, and appending them to the gui?
@jamesmoynihan948
@jamesmoynihan948 5 месяцев назад
Interesting kit! I like the idea to make the design language similar to HTML/CSS. I'm guessing there are some places that are ripe for abstraction and DX improvements (e.g. a derive macro for making that Rc (or Arc) to keep the memory allocation for persistent/global state). Likewise, I'd love to see more about how to extend or compose the components and structure the codebase. I'm wondering how concise this would be in a more complex app. Anyone have an example I can look at?
@richardboreiko
@richardboreiko 5 месяцев назад
This was a little hard to follow, but I got through it. Three things, though: changing text size and color. My button text is white, which is barely visible against the yellow background. Also, the text is very small so I'd like to make the font size a more readable size. And I'd like so specify the initial window size and change the window title.
@TheCreoleBlanc
@TheCreoleBlanc 6 месяцев назад
Thank
@jeromebousquie3379
@jeromebousquie3379 6 месяцев назад
Excellent 😀 Super bien expliqué et pédagogique. Et ça donne une idée rapide de la puissance du framework. quick bug fix : l92 : state.current_value = result; l93: //state.prev_value = result; Vraiment chouette boulot. Je suis preneur d'autres tutos de ce format ;-)
@TechLord79
@TechLord79 7 месяцев назад
You should note that today GUI stuff can be (and should be) put to separate files which makes stuff easier and better separated, there's a great template for that. What I like about Slint is that it feels like a jsonesque sibling to XAML. We need such a thought-out declarative responsive framework. There are some brilliant simple things like "forward-focus". But I guess to really shine on the desktop for certain LOBs the existing modal/multi-modal/window issues need to get sorted out first.
@WorstDeveloper
@WorstDeveloper 7 месяцев назад
Does a raspberry pi count as an embedded device, or a computer?
@Im_Ninooo
@Im_Ninooo 7 месяцев назад
it depends on how you use it
@antonjensen9996
@antonjensen9996 7 месяцев назад
loving the french accent!
@blcouz
@blcouz 7 месяцев назад
We need a video on how to do this.
@catalina8361
@catalina8361 7 месяцев назад
Can I play doom in STM8?
@stuartbiggs1278
@stuartbiggs1278 7 месяцев назад
you need to people that to get this to work that people will need qt installed
@Slint-UI
@Slint-UI 7 месяцев назад
Qt installation is optional .. refer to docs here -- slint.dev/releases/1.3.2/docs/slint/src/advanced/backends_and_renderers ..
@AlleTheMaster
@AlleTheMaster 7 месяцев назад
Am I the only one who is bothered by the order or the buttons (798 instead of 789)? Like, why would you do that? 😂
@Slint-UI
@Slint-UI 7 месяцев назад
well spotted. This is just a typo
@ricardorochadev
@ricardorochadev 7 месяцев назад
Como se diz aqui no Brasil, o cara pintou e bordou
@pedroluzio
@pedroluzio 8 месяцев назад
Most likely the API has changed and set_value looks like is no longer recognized.
@Slint-UI
@Slint-UI 8 месяцев назад
The API hasn't changed. set_value is there because there is a `in property` called value declared in the slint! macro. You probably want to double check your code to check if that property is still there.
@Libredu
@Libredu 8 месяцев назад
It is almost not rust but with rust.
@amaleazilnicki8915
@amaleazilnicki8915 8 месяцев назад
Promo SM
@jorge42343
@jorge42343 10 месяцев назад
I'm surprised it seems laggy on the RPI4, but it works nicely and smooth on a Cortex M7. Maybe there's some optimization issues?
@Slint-UI
@Slint-UI 10 месяцев назад
The video is a bit dated, and since then, we've made significant improvements. That said, I don't see any noticeable lags. Could you please provide more details on where you noticed the lag? (Any specific timestamp?)
@geocine
@geocine 11 месяцев назад
How to compile app into 1 single binary, is that possible?
@vlad7269
@vlad7269 Год назад
Such a low end device and works smooth!
@psclip3309
@psclip3309 Год назад
Do you have any plans to make slint work on mobile devices, android or ios?
@Slint-UI
@Slint-UI Год назад
Yes, we have plans to make slint work on mobile device: github.com/slint-ui/slint/issues/46 and github.com/slint-ui/slint/issues/47 We Will start with android and iOS will follow.
@psclip3309
@psclip3309 Год назад
So very confused about whether to choose flutter or slint, I know rust is very good at multi general purpose, and dart not so much, are you guys focusing on being a direct alternative to flutter?, I want to use a tech stack that has good performance and also a lot of customization options. I want to work with animation
@eldonad
@eldonad 10 месяцев назад
This is still early development, so if you want a somewhat more polished development experience, you should probably seek Flutter. Also Rust is not a simple language to learn contrary to Flutter.
@dankillinger
@dankillinger Год назад
Very useful video to learn more about adding a feature to the slint language, props for thinking out loud, a lot of live coding videos tend to turn into 2 hours of keyboard sounds haha
@asdasdaa7063
@asdasdaa7063 Год назад
I'll use slint when you guys have a drag and drop GUI graphical designer.
@spacecox8045
@spacecox8045 Год назад
is that linux
@Slint-UI
@Slint-UI Год назад
No, this is running on bare-metal, without an operating system.
@KresnaPermana
@KresnaPermana Год назад
Cool
@muhammadadribmahmud5012
@muhammadadribmahmud5012 Год назад
Great Job!
@morgomi
@morgomi Год назад
This looks really cool, I learned EGUI (Rust), and it will be my next learning step. Doesnt seems as intimidating as other GUI libraries. Thank you for your contributions!
@super_man1350
@super_man1350 Год назад
I got this error when running slint: error[E0433]: failed to resolve: use of undeclared crate or module in visual studio code
@eldonad
@eldonad 10 месяцев назад
Did you cargo add slint in your project folder beforehand ?
@DerEingefrorene
@DerEingefrorene Год назад
I'm really impressed by Slint and I've already started using it for small projects. But what I find lacking with those minimal examples is that I still don't have any clue on how to do a bigger project with it. You see, Rust is not a classical OOP language, but Slint is an OOP framwork. So splittings things up in different files/modules/objects seems natural. But this doesn't work in Rust in the same way! There even is an example for C++ where a Slint-Komponent is subclassed to extend its functionality like you would expect it. But how do you structure your project with Rust where you can't do that? And yet, most examples are done in one single file... A tutorial for project achitectures with Slint would be really nice, since this is the part where I struggle the most. For example, you don't have this problem for GUI frameworks like relm or iced, since their concept fits nicely into Rust. But Slint doesn't so much. (Like GTK which implemented a whole polymorphism system for C to make it OOP... Which is insane of course)
@Slint-UI
@Slint-UI Год назад
For an example that has several rust files, you can have a look at github.com/slint-ui/cargo-ui
@augustinvangeebergen3098
@augustinvangeebergen3098 Год назад
Here trying to build some app in rust with basically no knowledge, but some huge motivation, and you published this video 5 days ago :O Thanks
@happynosis1651
@happynosis1651 Год назад
This looks very nice! Only the hoops you have to jump through to get app in the closure are insane. Can that not be done transparently (by passing a usable app to the closure, or a macro?) And why are the programming parts not as Rusty as they can be (e.g. pub fn?) I do like that you brought back ?: though.
@Slint-UI
@Slint-UI Год назад
You're right that this part is not ideal and we'd like to find a solution: See github.com/slint-ui/slint/issues/1714 for some discussion. I'm not sure I understand what you mean by parts not being Rusty, could you elaborate?
@afiqzx
@afiqzx Год назад
Why slint lsp dont have autocompletion in macro like shown in this video? Is there any setting I missed? Edit: the autocomplete will trigger once you written the macro until you write 'inherits'
@Slint-UI
@Slint-UI Год назад
What editor are you using and what are you really trying to auto-complete? If you think there is a bug, please fill an issue on github.
@afiqzx
@afiqzx Год назад
@@Slint-UI slint lsp won't auto-complete the keyword `export component`. This is reproducible for vscode and neovim. I'll file an issue later as I'm working right now.
@mohanasundarampalanisamy8494
Thanks for lovely - tutorial. Need Documentation for handling video buffer in slint. Can you help me with that?
@Slint-UI
@Slint-UI Год назад
Can you elaborate on what you mean with "video buffer"? I'd also like to suggest to move across to github.com/slint-ui/slint/discussions - then your question gets more visibility :)
@xani666
@xani666 Год назад
So laggy
@ahmtwlly
@ahmtwlly Год назад
idiot 😅
@kyonas6047
@kyonas6047 Год назад
What did you expect of less than 300 kb of ram?! LMAO the quality is set to best too!
@RiwenX
@RiwenX 10 месяцев назад
God you're clueless
@sanjibsen7461
@sanjibsen7461 9 месяцев назад
A python fan for sure
@ms2649
@ms2649 5 месяцев назад
@@sanjibsen7461if you look at their blog its done in rust
@handsanitizer2457
@handsanitizer2457 Год назад
Anyone know what screen that is ?
@Slint-UI
@Slint-UI Год назад
It’s a 4.3" TFT 480×272 LCD that comes with the STM32H735G-DK kit from ST.
@savinposter9816
@savinposter9816 Год назад
Hello! Can someone explain how to run this example on this mcu ?
@Slint-UI
@Slint-UI Год назад
To run the printerdemo_mcu example, use the command from there: github.com/slint-ui/slint/tree/master/examples/mcu-board-support#stm32h735g-dk That exact demo was a bit modified to adapt to the bigger screen size. The changes are in the simon/ew-launcher branch of the repository
@riky468
@riky468 Год назад
I have been watching gui frameworks all night, this one really impressed me
@wolpumba4099
@wolpumba4099 Год назад
What if you open more than 3 tiles?
@Slint-UI
@Slint-UI Год назад
Good question. In our actual example, we set a property to disable the tiles so one cannot open a third tile github.com/slint-ui/slint/blob/dddfcf572d06425dc875579edc0c951902f9f8d5/examples/memory/memory.slint#L80