FileDialog #1464
-
Hi, i'm a newbie in gtk-rs, that's my first post here, so I am reading the doc and testing examples posted on GITHUB I downloaded 'textviewer' example and started to compile, so far so good till I got ... OK i have checked in GTK doc, Filedialog is up since 4.10, so I thought something is obsolete Where is my mistake ??? Thank u. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You have to enable the [dependencies]
gtk = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gtk4" , features = ["v4_10"]} |
Beta Was this translation helpful? Give feedback.
-
"Hallelujah. You're my savior, man. My own personal Jesus Christ." Never seen reference to this parameter 'features' before, now it works fine :-) comprehensive answer in 13' is nice Thanks Nota : it is funny, i am under WIN11, the GTK window is not WIN style, but the Filedialog window is !! It is not a show stopper for what i want to do, but it is weird ! |
Beta Was this translation helpful? Give feedback.
You have to enable the
v4_10
feature in order to be able to use these APIs. This is done to make it possible to use the bindings with old versions as well.