Comments (12)
However, the current version of this repo is not build with the gir version that supports trusting the nullable annotations.
That probably should wait until the gir-files are updated to GTK 3.99.3 or even newer as there are quite a few nullability fixes since the version we currently have.
from gtk4-rs.
See also gtk-rs/gir#970
from gtk4-rs.
Also there were various PRs to gtk3 to fix those. Before starting to work on this you probably want to go through the gtk3 PRs and sync whatever still makes sense :)
from gtk4-rs.
I'm planning to bring gtk4 into the state that we can 'trust' the upstream nullable annotations. (Very first fixes are merged.)
However, the current version of this repo is not build with the gir version that supports trusting the nullable annotations. Can someone maybe check the code after updating the git submodules?
from gtk4-rs.
Updating gir here should be fine and not cause any problems
from gtk4-rs.
@bilelmoussaoui GtkEntry::get_text() seems to be gone? But entry.get_buffer().get_text() should work without Options.
Will add a first PR after #31 is merged.
from gtk4-rs.
@bilelmoussaoui GtkEntry::get_text() seems to be gone? But entry.get_buffer().get_text() should work without Options.
Will add a first PR after #31 is merged.
My bad, I should have checked the API before creating the issue. But you have got the idea, it's mostly to ensure we are okay null-ability checks wise.
from gtk4-rs.
I will try to get #34 ready as soon as possible so we can update the bindings & move things forward
from gtk4-rs.
My gtk4 fixes are all post 3.99.3. So, newer would be good.
Afterwards I will mark for every object if it needs upstream fixing, has a committed upstream fix or add trust_return_value_nullability
if the result is okay.
from gtk4-rs.
@sophie-h the bindings were update to 3.99.3, feel free to submit your patches now 👍
from gtk4-rs.
First fixes are in. I guess that's #68 now?
from gtk4-rs.
Yeah let's continue discussions there
from gtk4-rs.
Related Issues (20)
- [HELP]
- Invalid property: GtkApplicationWindow.window-position HOT 1
- glium_gl_area: Doesn't work with GTK 4.14
- [HELP] High memory HOT 1
- Chapter 9 missing derived_properties and subclassing
- Fuzzy font on Windows HOT 1
- gtk::DragIcon::for_drag returns Widget, not DragIcon HOT 5
- glib::Regex forced main thread to panic at the end of while loop HOT 1
- custom_orientable example emits critical warning when run
- No method named `dispose_template` found for reference `&custom_buildable::imp::CustomBuildable` in the current scope HOT 3
- The target object of type SqueezerBin has no writable property called 'keep-aspect-ratio' HOT 8
- Is it possible to improve compile times? HOT 1
- Compiler error when using `enum` subclasses of Object as properties HOT 1
- CSS opacity not respected for window HOT 1
- Accessing GtkWidget class methods HOT 1
- Support for dark mode HOT 1
- Book: Issue with glib::spawn_future_local in gtk-rs Chapter 6 HOT 5
- [BOOK] Chapter 15 should have adwaita-icon-theme included in macOS install command HOT 1
- Should connect_unrealize and connect_destroy be FnOnce() rather than Fn()? HOT 1
- Segfault if trying to use certain builders before GTK is initialized
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtk4-rs.