Navigation Menu

Skip to content
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

gtk backend should switch to gtk.Builder #1545

Closed
galtgendo opened this issue Nov 29, 2012 · 2 comments
Closed

gtk backend should switch to gtk.Builder #1545

galtgendo opened this issue Nov 29, 2012 · 2 comments

Comments

@galtgendo
Copy link

This is both simple and complicated.
After using the automatic conversion from libglade to gtkbuilder format on lineprops.glade, the initial changes to the code are just about trivial.

The catch lies in the details:

  • first thing of note: unless I'm missing something, there's no libglade introspection, therefore gtk3 backend needs this change;
  • GtkBuilder is gtk 2.12 minimum (same for pygtk) - I don't see this as a problem (pygtk 2.14 is only slightly older than python 2.6), YMMV
  • gtk3 has no text-only API on GtkComboBox, it has GtkComboBoxtText instead; it was added in gtk+ 2.24, however even though pygtk docs claim it's available in that version, it seems that somebody didn't test the changes, cause it doesn't work there - in gtk3 it sort of works, but will need a little tweak - with pygtk being effectively abandoned that's a big hurdle
@tacaswell
Copy link
Member

@fariza Do you have a comment on this (as you are hacking at the gtk stuff right now)?

@fariza
Copy link
Member

fariza commented Nov 27, 2013

Personally I dont see the need, the GUI is too simple.

The flexibility is not really needed here and as @galtgendo pointed out, the Gtk2 vs Gtk3 problems makes it more complicated.

Maybe I'm missing the point....

@efiring efiring closed this as completed Nov 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants