In practice, I think you can use either and I never ran into any major obstacles with either. IMHO Qt is the best fit if you want a C++ toolkit, since it is natively written in C++. If you want to use another language then you'll invariably find that the C++ object model is slightly different than the Python object model. The GTK C API is ugly like all C apis, but I think that makes it more adaptable to other language bindings. I like the Glade+PyGTK integration to design the GUI graphically, you can even implement a new widget in Python and it'll work in Glade (not sure if you can do that in Qt+Python).
On Monday, March 11, 2013 8:29:00 AM UTC-4, mmarco wrote: > > Just for curiosity: what advantages has pyGTK over pyQt? I have some > experience on pyQt, so maybe i could help with that too. > > On 11 mar, 01:44, Volker Braun <vbraun.n...@gmail.com> wrote: > > Shipping the .net / mono runtime adds about the same order of magnitude > as > > PyGTK, QT+Python bindings, or Java JRE for that matter. A drop in the > > bucket compared to the Sage install that it is supposed to manage. And > IHMO > > the question is not how to save a few megabytes of disk space, but how > to > > design an app that fits into the skillset that Sage developers have. And > > for that I think PyGTK is the best choice. > > > > > > > > > > > > > > > > On Sunday, March 10, 2013 2:35:28 PM UTC-4, mmarco wrote: > > > > > I am not sure pyGTK (or pyQT, or any other python bindings) is the way > > > to go. As you said, it would require to install pyGTK, but also GTK > > > itself and python. I think that is overkill. I think that a windows > > > native program, or maybe something writen in the .NET framework > > > (making sure that it also works on mono, if we want to also ship it in > > > other platforms) would be a much better fit. > > > > > On 8 mar, 22:10, Volker Braun <vbraun.n...@gmail.com> wrote: > > > > A GUI would be useful, I think. I'd use PyGTK, which gives a nice > > > "native" > > > > look on Windows yet is totally platform agnostic. And, being Python, > > > fits > > > > nicely into the skillset that we can expect from a Sage developer. > > > > > > The only minor drawback is that you need PyGTK libraries, which is > > > trivial > > > > on Linux but of course Microsoft doesn't ship with it (really ships > with > > > > nothing of value, but thats another story). In any case it is > possible > > > to > > > > pack the Windows archive with a copy of the relevant dlls which > still > > > > requires a lot less disk space (<100MB) than any Sage install. > > > > > > I could mentor a student for a PyGTK project. > > > > > > On Friday, March 8, 2013 12:27:07 AM UTC-10, P Purkayastha wrote: > > > > > > > On 03/08/2013 05:43 PM, mmarco wrote: > > > > > > IIRC, the call for projects of Google summer of code was last > year > > > > > > around march or april. Should we start to get prepared for this? > > > > > > > > As a suggestion for possible projects, i would propose the > writing > > > of > > > > > > a windows GUI program that handles the virtual machines (set > them up > > > > > > properly, handles upgradings, checks the availability of ports > and > > > > > > decides if the VM should be launched in headless mode...) > > > > > > > > It sounds like a project that can be done in a summer, and can > be > > > > > > really useful to spread sage among windows users. > > > > > > > This is too little I think. The following can be added to it > > > > > > > 1. Fix the Mac application. See > > > > >http://ask.sagemath.org/question/2322/trouble-logging-into-notebook > > > > > for what currently happens on a Mac > > > > > > > 2. Open sage to the worksheet when double clicking on sws files. > This > > > is > > > > > already mostly done for Mac, and should be done for Linux too :) > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.