gtk::Entry::get_text should not return an Option
sophie-h opened this issue · 2 comments
sophie-h commented
Possible workaround is to call .get_buffer().get_text()
to get no Option
.
I think the same applies for
- Label::get_text()
- Label::get_label()
sdroege commented
Indeed, do you want to submit a PR for this? It requires marking the return type as nullable = false
in the Gir.toml
.
GuillaumeGomez commented
And to run make gir
afterwards to update the code automatically.