-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support glade #14
Comments
Any progress on this? With recent improvements to Glade, it is going to be the go-to solution for designing GTK interfaces. |
Unfortunately, no. |
If the experience is anything like on GTK, I doubt it, until proven : ) I've still to find that GUI framework, where XML files for declaring how the UI looks work so well and non-sluggish and are integrated so well, that there is no issue with the types or difficult to figure out stuff, that it makes sense to use such a representation. I will go on hoping for one such framework. |
@ZelphirKaltstahl Unless I misunderstood you, the point of glade is not to touch XML. It is a GUI tool. I have checked the latest version, and on the surface it works really well. Unsure what you mean about types. Glade objects are using standard gobject interfacing. |
There's no point in having this debate here. |
I have written a small macro to reduce boilerplate while loading glade file here: https://github.com/thefzsalam/dvm-ng/blob/master/src/views/macros.rs |
I couldn't find a way to initialize non constant variables outside |
any updates so far? This idea looks amazing! |
@MGlolenstine: unfortunately, no. |
I added an example showing how to use Glade with relm. I haven't created the macro to make this automatic yet. |
@MGlolenstine @thefzsalam : How do you expect this to work? Something like this macro? |
Is this issue still a priority for 1.0? Or useful? |
@batisteo Don't worry, |
I was just afraid that we’re pushing on you a soon-to-be deprecated feature of GTK 4. Seems it’s not really the case indeed. |
What does Relm offer when combined with Glade? |
@pepijndevos Well, the point of this issue is to gather ideas about how relm could be combined with Glade. I'm still waiting for the other people to provide ideas, especially regarding how events should be handled. So, I can't really answer your questions. I guess it's up to you. |
Idea:
instead of using
view! {}
when we want to use a UI from a glade file.The text was updated successfully, but these errors were encountered: