antoyo / relm

Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust
MIT License
2.41k stars 79 forks source link

added example using Cambalache ui file #309

Closed J-Kappes closed 11 months ago

J-Kappes commented 1 year ago

I would have liked to use an AdwApplicationWindow instead of a GtkApplicationWindow for the root widget, but I couldn't get it to work.

antoyo commented 1 year ago

Sorry, I forgot about this PR.

How is this different that this example?

J-Kappes commented 1 year ago

It just uses a gtk-4.10 ui file made with Cambalache which seems to be bound to replace Glade which doesn't support gtk-4

antoyo commented 1 year ago

It seems you forgot to add some dev-dependencies.

antoyo commented 1 year ago

The CI fails because of an old version of glib. Please try to update these lines to:

    runs-on: ubuntu-22.04
antoyo commented 12 months ago

Hmm. The last CI attempt tries to download gtk4. Is this normal?

J-Kappes commented 11 months ago

sounds normal to me.

antoyo commented 11 months ago

Why? relm doesn't support gtk4.

If so, please add the corresponding Ubuntu package in the CI.

J-Kappes commented 11 months ago

I'm confused. I said that I added an example using a gtk-4 ui file. I didn't realize gtk-4 wasn't supported. Would you even want this merged, then? If so, I'll see that I make the change.

antoyo commented 11 months ago

Sorry, I forgot about this PR.

Yeah, since this example very similar to the glade one and gtk-4 isn't supported, I would see little value in merging this PR. Sorry about that.

J-Kappes commented 11 months ago

OK, no prob.