Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

gtk::Arrow not implemented? #933

Closed
artonio opened this issue Jan 4, 2020 · 6 comments
Closed

gtk::Arrow not implemented? #933

artonio opened this issue Jan 4, 2020 · 6 comments

Comments

@artonio
Copy link

artonio commented Jan 4, 2020

example from python:

button = Gtk.Button()
button.add(Gtk.Arrow(Gtk.ArrowType.LEFT, Gtk.ShadowType.NONE))

I can see gtk::ArrowType in the docs, but not the Arrow object

@EPashkin
Copy link
Member

EPashkin commented Jan 4, 2020

It was deprecated: https://developer.gnome.org/gtk3/stable/GtkArrow.html#gtk-arrow-new

gtk_arrow_new has been deprecated since version 3.14 and should not be used in newly-written code.
Use a GtkImage with a suitable icon.

@sdroege
Copy link
Member

sdroege commented Jan 4, 2020

Yeah we should also hide gtk::ArrowType though. Who wants to make a PR? :)

@sdroege sdroege mentioned this issue Feb 19, 2020
40 tasks
@gdesmott
Copy link

@sdroege : is this just a matter of removing Gtk.ArrowType from Gir.toml?

@sdroege
Copy link
Member

sdroege commented Apr 10, 2020

Yes

@gdesmott
Copy link

What about src/auto/menu_button.rs using it to bind the direction APIs?

@sdroege
Copy link
Member

sdroege commented Apr 13, 2020

Hrm then this is actually fine. Only GtkArrow is deprecated and GtkArrowType is used in random other API and not deprecated yet.

@GuillaumeGomez This can be closed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants