gtk-rs / gtk

DEPRECATED, use https://github.com/gtk-rs/gtk3-rs repository instead!
https://gtk-rs.org/
MIT License
1.25k stars 82 forks source link

Subclassing: `gtk_container_forall ()` is missing #1036

Closed haecker-felix closed 4 years ago

haecker-felix commented 4 years ago

I'm currently trying to port this widget from Vala to Rust:

https://gitlab.gnome.org/GNOME/gnome-games/-/blob/master/src/ui/titlebar-box.vala#L254

The current blocker is the missing gtk_container_forall func: https://developer.gnome.org/gtk3/stable/GtkContainer.html#gtk-container-forall

As I understand this func is really necessary to create own custom widgets.

Related PR: https://github.com/gtk-rs/gtk/pull/1035

sdroege commented 4 years ago

Done in 9e50ccaebee21523afe23ab1ef83842af4ae5a39

garfreak commented 3 years ago

@sdroege Sorry if this is the wrong location to ask (which it likely is, but I have no clue where to ask...). When can a version which contains the gtk_container_forall be expected on crates.io? I would really need this patch and currently use the git repo as dependency, but that does not feel legit to include into my project's main branch as it is no stable version.

sdroege commented 3 years ago

In a couple of weeks hopefully. There are a few more things waiting to be finished first.