gtk4-rs
gtk4-rs copied to clipboard
Rust bindings of GTK 4
How should I deal with this problem? ``` PS F:\Rust\my-gtk-app> cargo run -v Fresh unicode-xid v0.2.2 Fresh unicode-segmentation v1.8.0 Fresh either v1.6.1 Fresh smallvec v1.7.0 Fresh pkg-config v0.3.22 Fresh strum...
When I run the `text_viewer` example, it works fine until I click the "open" button. When it tries to open the file fiewer, I get the above error. If I...
These methods are currently allowed to return any value: https://github.com/gtk-rs/gtk4-rs/blob/fb59005041d06bc275de3ff23a740395b6332c1e/gtk4/src/subclass/entry_buffer.rs#L18-L26 But GTK requires the value returned by `gtk_entry_buffer_get_text` to be valid for `gtk_entry_buffer_get_length` bytes: https://github.com/GNOME/gtk/blob/8550a04bf42f5e1d8af239ab953c3ff1235dc149/gtk/gtktext.c#L2140-L2155
Added a simple example for scale functionality. Tested on Linux (Pop!_OS 21.04).
GDK has specific code like the wayland/x11 ones but for macos/win32 & broadway. We should figure out how to handle those. Definitely not an urgent thing and before we add...
Pretty small one - FileChooser::add_choice - PrintSettings::set_page_ranges - EntryBuffer::inserted-text - EntryBuffer::deleted-text
This would in theory allow for TreeModel subclassing. I am not completely happy with how it turned out because FromGlibPtrBorrow copies the struct data. I did not really find a...
It would be nice to port most if not all the examples in the upstream gtk repository to Rust as a replacement of the current examples that are mostly a...
Would be nice to have a list of PR/MR of each application that migrated from gtk3-rs to gtk4-rs somehow here cc @BrainBlasted
Here's a list of Classes/Interfaces along with their associate virtual methods - [x] GtkAccessibleTextInterface - [x] Actionable - `get_action_name` - [x] Actionable - `get_action_target_value` - [x] Actionable - `set_action_name` -...