Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
80 views

I've been trying to build a simple android app through the rust and the iced-rs crate. After some research, I found the xbuild tool, which seemed to fit what I was looking for. After bringing my code ...
Maddiefrombelow's user avatar
1 vote
1 answer
128 views

I'm creating a small GUI application using Iced. I have managed to add the widgets I want, but now I want them to fill the window. I want the text_editor (gray box) to fill up the available horizontal ...
thomasa88's user avatar
  • 764
0 votes
1 answer
113 views

I have a function which matches against an enum with Strings and makes text elements with a color corresponding to the enum. I want to store those Texts in a field of MyApp. (Edit) The previous ...
NunjaUwU's user avatar
0 votes
0 answers
283 views

I use iced_0.13.1 to build up my app and want to realize a draggable item. A minimal(ish) reproduceable example: use iced::{ advanced::{image, mouse}, widget::{ canvas::{self, Geometry,...
Administroot's user avatar
0 votes
1 answer
103 views

I'm currently playing around with iced, a gui framework for rust. The following code is the function for a Subscription. use iced::futures::{SinkExt, Stream}; use iced::time::Duration; use iced::...
md7's user avatar
  • 187
1 vote
0 answers
248 views

I am working with tabular data and I want to be able to edit individual cells by clicking on them using the editor widget that is fixed to the top of the cells in my UI (like excel or google ...
Doruk's user avatar
  • 233
0 votes
1 answer
443 views

I’m working on an NES emulator in Rust using Iced for the UI. In my previous implementation, I used SDL2 and streamed the framebuffer into an SDL2 texture, which was then rendered at 60 FPS. Now I ...
Ethan Posner's user avatar
1 vote
2 answers
1k views

I'm new to Rust language and I want to style my button so it can be disabled when the process is still running. I use iced 0.12.1. This is my code snippet: #[derive(Debug, Clone, Copy)] pub struct ...
JesVan's user avatar
  • 85
2 votes
1 answer
801 views

So I am trying to build a widget that I can right-click, and it opens a little menu with some buttons to click. I've been following similar examples and concepts in the iced_aw repo, and I have ...
NedNoodleHead's user avatar
1 vote
2 answers
446 views

I'm trying to do the iced rust tutorial (from the book) but i encountered a compiling error hen i tried to make a button: use iced::widget::button; fn main() { let mut counter = Counter { value: 0 }...
Amedeo Braggio's user avatar
0 votes
1 answer
1k views

I'm trying to create a GUI for a board game engine. To that end I'm trying to transform the State (A struct with a grid where game pieces can be) into a rendered grid. I decided to try and do this ...
Yehuda Klein's user avatar
0 votes
1 answer
344 views

I have a UI application written in iced, which performs various operation. To launch the UI I'm using run() method: UpdateDriver::run(Settings::default()) and currently this returns the exit code of ...
Mayank Joshi's user avatar
3 votes
2 answers
1k views

I'm working on a Rust desktop application that utilizes the Iced GUI. I use to load a custom font to use for Iced widgets: // fonts module: use iced::Font; pub const NOTO_SANS_REGULAR: Font = Font::...
4r7if3x's user avatar
  • 3,821
2 votes
1 answer
674 views

I currently have 2 files: Main.rs and Connection.rs. Connection.rs currently contains the ability to Send, Listen and Connect to a TcpStream. Connection.rs use tokio::io::{AsyncReadExt, AsyncWriteExt, ...
impression7vx's user avatar
0 votes
0 answers
489 views

Note: I am using iced for the GUI TextInput and tokio for the networking TcpStream I have the following: #[derive(Debug, Clone)] enum Message { Session(Result<Connection, ConnectionError>), /...
impression7vx's user avatar