-
Notifications
You must be signed in to change notification settings - Fork 5
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
GtkBuilder opinion #12
Comments
I usually prefer to do everything by code, but it's true that the main layout is a bit of a mess. For things like buttons and menu I would still use code (I just added a main menu file: https://github.com/jonathanBieler/GtkIDE.jl/blob/master/src/MainMenu.jl), Glade also has some issues, for example it doesn't seem to be possible to reorder widgets (I was trying to put the editor on the right). That said we should probably have an option for that (I added basic user settings : https://github.com/jonathanBieler/GtkIDE.jl/blob/master/src/config/default_settings.ini, note you need to add ConfParser). Can you check if you can reorder them at runtime when using GtkBuilder ? I guess you have to reparent them or something or the sort. Another issue is that if I remember correctly the |
I'm using this to swap the panels order
|
I haven't much time to work on this currently. I did a big refactor of the completion system to make it more flexible, and I started making some changes for 0.5 but I haven't pushed those. I think at this point refactoring a bit and fixing bugs would be the way to go. |
What do you think of using Gtk Builder to build the interface? I have not much experience with Gtk but I'm not a big fan of building GUIs using code.
In the devel branch of my fork I have an implementation that uses a .glade file to load the application interface. It looks like this:
If you like it I can refactor and make a pull request:
The text was updated successfully, but these errors were encountered: