3 ms·
I downloaded and tried it just now. When creating a project, I get an empty .ui file with no possibility to add any widget. This project still seems in its inf
by deaddabe 5y ago
I downloaded and tried it just now.
When creating a project, I get an empty .ui file with no possibility to add any widget. This project still seems in its infancy, or I am doing something wrong. It also seems to enforce a "framework" instead of just being a graphical .ui file editor. How I am supposed to use this if I am using Rust instead of Python, and Relm instead of their MVC framework?
I miss Glade (and it had issues!).
- phoneperson 5y agoTry writing the name of the widget in the search bar in the top left. Something like GtkWindow.
- deaddabe 5y agoThanks, it works. However adding a GtkApplicationWindow and a GtkButton inside of the component tree is not updating the preview area. Adding a know valid GTK3 .ui file [0] does not update the preview area either. Seems like the "preview" button is also missing from Glade. Oh well, let's edit XML files afterall. :) [0] https://github.com/MicroJoe/gtk_liststore_item/blob/master/gtk_liststore_item/examples/simple/simple.ui https://github.com/MicroJoe/gtk_liststore_item/blob/master/g...
- phoneperson 5y agoYeah, it is still very early on in development. I am personally a fan of QtCreator, it is very similar to how visual studio used to work regarding ui creation.
- md8z 5y agoThe UI is a bit rough and still unstable, I think you have to press the search button and then type the name of the widget in the search box and double click. It's just a .ui file editor, so unfortunately you can't use it with Relm. Maybe someone could write a tool that converts .ui files to Relm code. Although I guess it would be a one-way transition, so perhaps not so useful.
- deaddabe 5y agoYou do not have to convert .ui files to Relm code, see gladis's relm example [0]. [0] https://github.com/MicroJoe/gladis/blob/master/gladis/examples/relm/main.rs https://github.com/MicroJoe/gladis/blob/master/gladis/exampl...
- md8z 5y agoSorry, I thought you meant if you wanted to save it in the style of those Relm declarative macros.