Re: Which GUI?

2015-07-29 Thread Paulo da Silva
On 24-07-2015 19:31, Paulo da Silva wrote:

I'll begin with pyqtgraph. Seems to be simple to start with. Thanks
Chistopher.

Later I'll give a try to bokeh. I'll need to look better at web
applications first. I still don't know if dynamically changing is
possible without the bokeh server. Thanks Laura.

Thank you all who responded.

Paulo

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI?

2015-07-27 Thread Todd
On Sun, Jul 26, 2015 at 7:19 PM, Paulo da Silva 
p_s_d_a_s_i_l_v_a...@netcabo.pt wrote:

 On 26-07-2015 05:47, blue wrote:
  Hi .
  I tested all. Now I think the PySide can more.

 No python3!
 Besides ... any differences to pyqt4?
 Thanks


pyside has supported python 3 for a long time now.

As for differences, the main difference is the license.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI?

2015-07-26 Thread Paulo da Silva
On 26-07-2015 05:47, blue wrote:
 Hi .
 I tested all. Now I think the PySide can more.

No python3!
Besides ... any differences to pyqt4?
Thanks


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI?

2015-07-25 Thread blue
Hi .
I tested all. Now I think the PySide can more.
https://pyside.readthedocs.org/en/latest/

See also 
http://free-tutorials.org/pyside-introduction-part-001/
http://python-catalin.blogspot.ro/
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI?

2015-07-25 Thread Kevin Walzer

On 7/24/15 4:11 PM, Cecil Westerhof wrote:

Top-posting is (rightly) frowned upon in this group. Could you use
inline posting next time?


Meta is definitely NOT discouraged on this list, but it should be. 
Nothing like derailing an interesting thread with lectures on where to 
post. And someone will chime in with a diatribe against Google 
groups...wait for it...wait for it...


To address the OP's query, I recommend Tkinter. Plays very nicely with C 
and C++.


--Kevin

--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
--
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI?

2015-07-25 Thread llanitedave
On Friday, July 24, 2015 at 4:16:19 PM UTC-7, Mark Lawrence wrote:
 On 24/07/2015 23:20, Frank Miles wrote:
  On Fri, 24 Jul 2015 19:31:36 +0100, Paulo da Silva wrote:
 
  [snip]
 
 
  Which technology is better?
  matplotlib?
  tkinter?
  wxwidgets?
  qt?
 
  Sadly - I don't think wxpython has been ported to python3 yet.
 
 
 http://wxpython.org/Phoenix/docs/html/main.html
 
 -- 
 My fellow Pythonistas, ask not what our language can do for you, ask
 what you can do for our language.
 
 Mark Lawrence

Matplotlib apparently still has some issues with wxPhoenix. Not that Matplotlib 
is a necessity for the OP's application, but it could address some of the speed 
issues he was concerned about.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI?

2015-07-24 Thread Cecil Westerhof
On Friday 24 Jul 2015 20:37 CEST, Christopher Mullins wrote:

 You might checkout pyqtgraph. I think a ton of the examples will be
 relevant to your use case. 

Top-posting is (rightly) frowned upon in this group. Could you use
inline posting next time?


A3: Please.
Q3: Should I avoid top posting on this mailing list?

A2: Because, by reversing the order of a conversation, it leaves the
reader without much context, and makes them read a message in an
unnatural order.
Q2: Why is top posting irritating?

A1: It is the practice of putting your reply to a message before the
quoted message, instead of after the (trimmed) message.
Q1: What is top posting?


 On Fri, Jul 24, 2015 at 1:31 PM, Paulo da Silva
 p_s_d_a_s_i_l_v_a...@netcabo.pt wrote:

 Hi all!

 I am about to write an application (python3 in linux) that needs:

 1. Display time series graphics dynamically changed as the
 application
 runs, i.e. the graphics should reflect some internal variables
 states.

 2. The same but for some network like diagrams. Basically nodes and
 connections (straight lines). Nodes can have different colors
 depending
 on their activity levels and also, together with connection lines,
 may
 be created and deleted dynamically.

 3. Interaction with the user (not sure yet, here).

 4. Some modules may need to be moved to C++ in case of lack of
 enough
 speed. So, the possibility of the GUI libs be used with C++ may be
 an
 advantage. Anyway I can always stay in Python and write a C++
 extension.

 5. Several multi processor segments.

 6. For now single user - possible but unlikely multi-user in the
 future.

 Which technology is better?
 matplotlib?
 tkinter?
 wxwidgets?
 qt?
 Web: ajax (I don't know much about this - need to learn), using
 cherrypy
 or django?
 Any other?

 Thanks for any help or comments.
 --
 https://mail.python.org/mailman/listinfo/python-list

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
-- 
https://mail.python.org/mailman/listinfo/python-list


Which GUI?

2015-07-24 Thread Paulo da Silva
Hi all!

I am about to write an application (python3 in linux) that needs:

1. Display time series graphics dynamically changed as the application
runs, i.e. the graphics should reflect some internal variables states.

2. The same but for some network like diagrams. Basically nodes and
connections (straight lines). Nodes can have different colors depending
on their activity levels and also, together with connection lines, may
be created and deleted dynamically.

3. Interaction with the user (not sure yet, here).

4. Some modules may need to be moved to C++ in case of lack of enough
speed. So, the possibility of the GUI libs be used with C++ may be an
advantage. Anyway I can always stay in Python and write a C++ extension.

5. Several multi processor segments.

6. For now single user - possible but unlikely multi-user in the future.

Which technology is better?
matplotlib?
tkinter?
wxwidgets?
qt?
Web: ajax (I don't know much about this - need to learn), using cherrypy
or django?
Any other?

Thanks for any help or comments.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI?

2015-07-24 Thread Mark Lawrence

On 24/07/2015 23:20, Frank Miles wrote:

On Fri, 24 Jul 2015 19:31:36 +0100, Paulo da Silva wrote:

[snip]



Which technology is better?
matplotlib?
tkinter?
wxwidgets?
qt?


Sadly - I don't think wxpython has been ported to python3 yet.



http://wxpython.org/Phoenix/docs/html/main.html

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

--
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI?

2015-07-24 Thread Christopher Mullins
You might checkout pyqtgraph.  I think a ton of the examples will be
relevant to your use case.

On Fri, Jul 24, 2015 at 1:31 PM, Paulo da Silva 
p_s_d_a_s_i_l_v_a...@netcabo.pt wrote:

 Hi all!

 I am about to write an application (python3 in linux) that needs:

 1. Display time series graphics dynamically changed as the application
 runs, i.e. the graphics should reflect some internal variables states.

 2. The same but for some network like diagrams. Basically nodes and
 connections (straight lines). Nodes can have different colors depending
 on their activity levels and also, together with connection lines, may
 be created and deleted dynamically.

 3. Interaction with the user (not sure yet, here).

 4. Some modules may need to be moved to C++ in case of lack of enough
 speed. So, the possibility of the GUI libs be used with C++ may be an
 advantage. Anyway I can always stay in Python and write a C++ extension.

 5. Several multi processor segments.

 6. For now single user - possible but unlikely multi-user in the future.

 Which technology is better?
 matplotlib?
 tkinter?
 wxwidgets?
 qt?
 Web: ajax (I don't know much about this - need to learn), using cherrypy
 or django?
 Any other?

 Thanks for any help or comments.
 --
 https://mail.python.org/mailman/listinfo/python-list

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI?

2015-07-24 Thread Laura Creighton
You may be interested in bokeh.
http://bokeh.pydata.org/en/latest/

It's a python interactive visualisation library.

Laura

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI?

2015-07-24 Thread Frank Miles
On Fri, 24 Jul 2015 19:31:36 +0100, Paulo da Silva wrote:

[snip]


 Which technology is better?
 matplotlib?
 tkinter?
 wxwidgets?
 qt?

Sadly - I don't think wxpython has been ported to python3 yet.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which GUI framework to use?

2009-08-04 Thread Diez B. Roggisch

koranthala schrieb:

Hi,
   I am creating a very minimal application (a networking app).
   I have written the application using Twisted.
   Now, I need to put a GUI wrapper on the application.
   The application needs a login screen and also it needs to be
minimized to system tray. If I right click the image on system tray, I
should be able to close it.
   It uses some legacy code, so the whole app is written in Python
2.4. Also, my company requires that I use permissive licenses (no GPL
- MIT, BSD, LGPL etc ok)



Google this group. The discussions are abundant about this. Keep in mind 
that while Qt changed licenses to LGPL, PyQt didn't and thus you can't 
use it.



   Which GUI framework is best for this? I tried using Tkinter, but it
does not support minimize to system tray (or I couldnt find it).

   This is my first foray to GUI programming, so other issues that I
am worried about -
   1. GUI needs a loop, Twisted needs a loop. How can both go ahead
without messing each other?


Google is your friend here, too:

http://twistedmatrix.com/projects/core/documentation/howto/choosing-reactor.html


Diez
--
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI framework to use?

2009-08-04 Thread koranthala
On Aug 4, 11:48 am, Diez B. Roggisch de...@nospam.web.de wrote:
 koranthala schrieb:

  Hi,
     I am creating a very minimal application (a networking app).
     I have written the application using Twisted.
     Now, I need to put a GUI wrapper on the application.
     The application needs a login screen and also it needs to be
  minimized to system tray. If I right click the image on system tray, I
  should be able to close it.
     It uses some legacy code, so the whole app is written in Python
  2.4. Also, my company requires that I use permissive licenses (no GPL
  - MIT, BSD, LGPL etc ok)

 Google this group. The discussions are abundant about this. Keep in mind
 that while Qt changed licenses to LGPL, PyQt didn't and thus you can't
 use it.

     Which GUI framework is best for this? I tried using Tkinter, but it
  does not support minimize to system tray (or I couldnt find it).

     This is my first foray to GUI programming, so other issues that I
  am worried about -
     1. GUI needs a loop, Twisted needs a loop. How can both go ahead
  without messing each other?

 Google is your friend here, too:

 http://twistedmatrix.com/projects/core/documentation/howto/choosing-r...

 Diez

Sorry about it.
I should have done the homework better.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI framework to use?

2009-08-04 Thread Hendrik van Rooyen
On Tuesday 04 August 2009 06:09:05 koranthala wrote:
 Hi,
I am creating a very minimal application (a networking app).
I have written the application using Twisted.
Now, I need to put a GUI wrapper on the application.
The application needs a login screen and also it needs to be
 minimized to system tray. If I right click the image on system tray, I
 should be able to close it.
It uses some legacy code, so the whole app is written in Python
 2.4. Also, my company requires that I use permissive licenses (no GPL
 - MIT, BSD, LGPL etc ok)

Which GUI framework is best for this? I tried using Tkinter, but it
 does not support minimize to system tray (or I couldnt find it).

look at iconify, and at withdraw

- Hendrik
-- 
http://mail.python.org/mailman/listinfo/python-list


Which GUI framework to use?

2009-08-03 Thread koranthala
Hi,
   I am creating a very minimal application (a networking app).
   I have written the application using Twisted.
   Now, I need to put a GUI wrapper on the application.
   The application needs a login screen and also it needs to be
minimized to system tray. If I right click the image on system tray, I
should be able to close it.
   It uses some legacy code, so the whole app is written in Python
2.4. Also, my company requires that I use permissive licenses (no GPL
- MIT, BSD, LGPL etc ok)

   Which GUI framework is best for this? I tried using Tkinter, but it
does not support minimize to system tray (or I couldnt find it).

   This is my first foray to GUI programming, so other issues that I
am worried about -
   1. GUI needs a loop, Twisted needs a loop. How can both go ahead
without messing each other?

Thank You very much
K
-- 
http://mail.python.org/mailman/listinfo/python-list


Which GUI toolkit (was: Tkinter or wxpython?)

2007-08-07 Thread Cameron Laird
In article [EMAIL PROTECTED],
Bryan Hepworth  [EMAIL PROTECTED] wrote:
.
[waaay too
much quoted text
for my taste]
.
.
 I'm not trying to claim that there are no benefits to web
 applications. But I often see people touting the web as a *superior
 application platform*, which is simply false, and as innately simpler
 to develop for, which is also false.
   
I'm also in a similar predicament starting to look at Python for the 
first time.

I'd be curious to know peoples take on other GUI's like pygtk and pyqt 
for example to get a fuller picture. As a total newbie the list seems 
daunting so taking advantage of other peoples experiences seems like a 
good idea.

Bryan

The traditional answer is, We've already discussed that far too
often; go search the comp.lang.python archive on your own, because
all the answers are there.

I regard that as unhelpful.  URL:
http://wiki.python.org/moin/ChoosingGuiToolkits  *could* be a good
answer, but it's not, at least not yet.  Perhaps the best immediate
help is URL: http://wiki.python.org/moin/GuiProgramming .

Even better, maybe:  read through these materials, start to integrate
your own findings into what the Wiki already makes available, and
likely others of us will pitch in.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread Laurent Pointal
ZioMiP a écrit :
...
 I think is like a live browser... not only render HTML because the 
 webpage got a bit of javascript inside...

Does the rendering absolutely need to be in your own GUI ?

Else you can use the *webbrowser* module and simply call user preffered 
browser to display data and run javascript. Less integrated, simpler to 
setup.

Laurent.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread ZioMiP
ok ok , thanks to everybody ^_^

This HTML page that I need to put in my GUI is a little page with 
JavaScript that run something like banners...

not gif or animated gif... but text... text randomly choosen by a 
database that I can't control...

so, I need to put this piece of browser for looking the page and let 
it do the rest...
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread montyphyton
 This completely loses me; what do you mean by draw its own icon,
 and what does that have to do with rendering Web pages?

maybe draw its own icons wasn't the best (or the most accurate way)
of putting it. what i meant by that is this (from wikipedia):

Qt uses its own paint engine and controls. This makes the work of
porting to other platforms easier because very few classes in Qt
depended on the target platform. Qt used to emulate the native look of
its intended platforms, which occasionally led to slight discrepancies
where that emulation wasn't perfect. This, however, no longer applies
because the latest versions of Qt use the native styles API of the
different platforms to draw the Qt controls.

what does that have to do with rendering web pages? have no idea. i
just wanted to point out the main difference between qt and wx that he
should be aware of.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread Samuel
On Wed, 06 Jun 2007 00:22:40 +, Grant Edwards wrote:

 I know that WxPython work only under Windows and PyGTK work only under
 Linux...
 
 You 'know' wrong.
 
 wxPython works fine under Windows, Linux and OSX.

wxPython emulates Gtk (though using some native widgets, it also uses 
some of its own) and in many cases it looks non-native compared to Gtk. 
If your target platform includes Unix systems, you'll have to decide 
whether inconsistencies with the look and feel of the desktop are an 
issue for you.

 PyGTK works under Linux and Windows, but doens't use native widgets
 under Windows, so it won't look like a normal windows app.

Gtk on Win32 can be themed to looked like Windows, AFAIK the Win32 
installer does this by default since a couple of months.

-Samuel
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread brad
ZioMiP wrote:

 I know that WxPython work only under Windows

WxPython works everywhere for me. I have some screenshots from Windows 
98 - Vista, Mac OSX, and Debian GNU/Linux... all running the exact same 
Python  wxPython code:

http://filebox.vt.edu/users/rtilley/public/find_ssns/index.html


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread Grant Edwards
On 2007-06-06, Samuel [EMAIL PROTECTED] wrote:
 On Wed, 06 Jun 2007 00:22:40 +, Grant Edwards wrote:

 I know that WxPython work only under Windows and PyGTK work only under
 Linux...
 
 You 'know' wrong.
 
 wxPython works fine under Windows, Linux and OSX.

 wxPython emulates Gtk

What?  On some platforms (Linux), wxPython _uses_ Gtk. I don't
see how you could say it emulates it.

 (though using some native widgets, it also uses some of its
 own) and in many cases it looks non-native compared to Gtk.

How can that be the case when wxPython is using Gtk?

 If your target platform includes Unix systems, you'll have to
 decide whether inconsistencies with the look and feel of the
 desktop are an issue for you.

wxPython looks completely native on Unix, because it's using a
native widget set (Gtk).

 PyGTK works under Linux and Windows, but doens't use native widgets
 under Windows, so it won't look like a normal windows app.

 Gtk on Win32 can be themed to looked like Windows, AFAIK the Win32 
 installer does this by default since a couple of months.

That's good to know.

-- 
Grant Edwards   grante Yow! Hello?  Enema Bondage?
  at   I'm calling because I want
   visi.comto be happy, I guess ...
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread Chris Mellon
On 6/6/07, Samuel [EMAIL PROTECTED] wrote:
 On Wed, 06 Jun 2007 00:22:40 +, Grant Edwards wrote:

  I know that WxPython work only under Windows and PyGTK work only under
  Linux...
 
  You 'know' wrong.
 
  wxPython works fine under Windows, Linux and OSX.

 wxPython emulates Gtk (though using some native widgets, it also uses
 some of its own) and in many cases it looks non-native compared to Gtk.
 If your target platform includes Unix systems, you'll have to decide
 whether inconsistencies with the look and feel of the desktop are an
 issue for you.


In the general case, wxWidgets wraps (not emulates) Gtk. I don't
believe that there are any common controls left which are still
emulated (maybe the list control? I'm not sure - I don't follow the
bleeding edge of wx anymore).

wxPython (as opposed to wxWidgets, the C++ core) has a sizeable
library of custom controls as part of its standard lib. Most of these
are owner-drawn for various reasons and often won't appear native
(Andrea Gavin, probably the most prolific custom control author, works
primarily on Windows).

  PyGTK works under Linux and Windows, but doens't use native widgets
  under Windows, so it won't look like a normal windows app.

 Gtk on Win32 can be themed to looked like Windows, AFAIK the Win32
 installer does this by default since a couple of months.


That stretches the truth rather significantly. While the win32 theme
does use the windows theme apis for drawing, it still has slightly
different colors (especially window backgrounds and menus), and (more
importantly) vastly and notably different behavior. Shortcuts are
different, renderings are different, the Gtk drawing model is used
instead of the windows one (leads to quite jarring repainting
differences), different fonts, etc, etc. It looks okay in a screenshot
but is clearly non-native and foreign in use.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread Samuel
On Wed, 06 Jun 2007 14:43:35 +, Grant Edwards wrote:

 On 2007-06-06, Samuel [EMAIL PROTECTED] wrote:
 On Wed, 06 Jun 2007 00:22:40 +, Grant Edwards wrote:
 wxPython works fine under Windows, Linux and OSX.

 wxPython emulates Gtk
 
 What?  On some platforms (Linux), wxPython _uses_ Gtk. I don't see how
 you could say it emulates it.

That may be true in some cases, but in fact, most widgets show some sort 
of difference. Take for example the HPaned - it looks totally different 
(the slider is a lot slimmer, plus moving it makes a line appear. The 
behavior is different as well).

Even simple widgets show differences. Try triple-clicking into entry 
boxes, it's different from Gtk.

 (though using some native widgets, it also uses some of its own) and in
 many cases it looks non-native compared to Gtk.
 
 How can that be the case when wxPython is using Gtk?

Obviously, it does *not* always use Gtk.

 If your target platform includes Unix systems, you'll have to decide
 whether inconsistencies with the look and feel of the desktop are an
 issue for you.
 
 wxPython looks completely native on Unix, because it's using a native
 widget set (Gtk).

Same as above.

-Samuel
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread Chris Mellon
On 6/6/07, Samuel [EMAIL PROTECTED] wrote:
 On Wed, 06 Jun 2007 14:43:35 +, Grant Edwards wrote:

  On 2007-06-06, Samuel [EMAIL PROTECTED] wrote:
  On Wed, 06 Jun 2007 00:22:40 +, Grant Edwards wrote:
  wxPython works fine under Windows, Linux and OSX.
 
  wxPython emulates Gtk
 
  What?  On some platforms (Linux), wxPython _uses_ Gtk. I don't see how
  you could say it emulates it.

 That may be true in some cases, but in fact, most widgets show some sort
 of difference. Take for example the HPaned - it looks totally different
 (the slider is a lot slimmer, plus moving it makes a line appear. The
 behavior is different as well).


I'm not familiar with any wxPython control called HPaned. There's a
couple different types of splitter, the Gtk native one is
wxSplitterWindow. The others are owner drawn with better or worse
native appearance. Splitters are one of those things where everyone
writes their own, like web frameworks.

 Even simple widgets show differences. Try triple-clicking into entry
 boxes, it's different from Gtk.


Text boxes are absolutely native controls under gtk.

  (though using some native widgets, it also uses some of its own) and in
  many cases it looks non-native compared to Gtk.
 
  How can that be the case when wxPython is using Gtk?

 Obviously, it does *not* always use Gtk.

It *always* uses Gtk. Some people write or use custom controls, which
may or may not have gtk native analogs. This isn't any different than
using pygtk and writing custom widgets.


  If your target platform includes Unix systems, you'll have to decide
  whether inconsistencies with the look and feel of the desktop are an
  issue for you.
 
  wxPython looks completely native on Unix, because it's using a native
  widget set (Gtk).

 Same as above.

 -Samuel
 --
 http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread Samuel
On Wed, 06 Jun 2007 09:45:48 -0500, Chris Mellon wrote:

 On 6/6/07, Samuel [EMAIL PROTECTED] wrote:
 In the general case, wxWidgets wraps (not emulates) Gtk. I don't believe
 that there are any common controls left which are still emulated (maybe
 the list control? I'm not sure - I don't follow the bleeding edge of wx
 anymore).

See my other response. Also, the fact that Gtk widgets are used does not 
necessarily mean that the behavior is the same - you can still do all 
kinds of weird stuff by hooking into the callbacks. Some of the 
differences to Gtk were probably introduced to wx in order to have more 
consistent behavior over different platforms.

 wxPython (as opposed to wxWidgets, the C++ core) has a sizeable library
 of custom controls as part of its standard lib. Most of these are
 owner-drawn for various reasons and often won't appear native (Andrea
 Gavin, probably the most prolific custom control author, works primarily
 on Windows).

This affects the C++ core as well. aMule (which is written in CPP) is one 
particular complex example that exposes many of those problems when used 
on Linux.

  PyGTK works under Linux and Windows, but doens't use native widgets
  under Windows, so it won't look like a normal windows app.

 Gtk on Win32 can be themed to looked like Windows, AFAIK the Win32
 installer does this by default since a couple of months.


 That stretches the truth rather significantly. While the win32 theme
 does use the windows theme apis for drawing, it still has slightly
 different colors (especially window backgrounds and menus), and (more
 importantly) vastly and notably different behavior.

Well, I have only tried Gaim on windows and could not tell the 
difference. But then, I am not a regular Windows user.

 Shortcuts are
 different, renderings are different, the Gtk drawing model is used
 instead of the windows one (leads to quite jarring repainting
 differences), different fonts, etc, etc. It looks okay in a screenshot
 but is clearly non-native and foreign in use.

Sounds bad. It also sounds much like what I experienced with wx on Linux.

I guess there is no perfect solution, you always have to target one 
primary platform. (Well, there's SWT, but the Gtk emulation too has it's 
drawbacks...)

-Samuel
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-06 Thread Chris Mellon
On 6/6/07, Samuel [EMAIL PROTECTED] wrote:
 On Wed, 06 Jun 2007 09:45:48 -0500, Chris Mellon wrote:

  On 6/6/07, Samuel [EMAIL PROTECTED] wrote:
  In the general case, wxWidgets wraps (not emulates) Gtk. I don't believe
  that there are any common controls left which are still emulated (maybe
  the list control? I'm not sure - I don't follow the bleeding edge of wx
  anymore).

 See my other response. Also, the fact that Gtk widgets are used does not
 necessarily mean that the behavior is the same - you can still do all
 kinds of weird stuff by hooking into the callbacks. Some of the
 differences to Gtk were probably introduced to wx in order to have more
 consistent behavior over different platforms.


This is true and in the specific case of triple click, wx does indeed
report them to the application differently than gtk does. This
doesn't, to my knowledge, interfere with text controls that don't try
to handle the click, but it may result in inconsistent behavior with
an app that adds triple click behavior to it's own text controls.

  wxPython (as opposed to wxWidgets, the C++ core) has a sizeable library
  of custom controls as part of its standard lib. Most of these are
  owner-drawn for various reasons and often won't appear native (Andrea
  Gavin, probably the most prolific custom control author, works primarily
  on Windows).

 This affects the C++ core as well. aMule (which is written in CPP) is one
 particular complex example that exposes many of those problems when used
 on Linux.


the aMule team makes heavy use of their own custom written controls -
issues with it are not necessarily representative of the toolkit. The
C++ core has very few controls which are entirely custom drawn, and
those are generally controls which don't exist in the native platform.

   PyGTK works under Linux and Windows, but doens't use native widgets
   under Windows, so it won't look like a normal windows app.
 
  Gtk on Win32 can be themed to looked like Windows, AFAIK the Win32
  installer does this by default since a couple of months.
 
 
  That stretches the truth rather significantly. While the win32 theme
  does use the windows theme apis for drawing, it still has slightly
  different colors (especially window backgrounds and menus), and (more
  importantly) vastly and notably different behavior.

 Well, I have only tried Gaim on windows and could not tell the
 difference. But then, I am not a regular Windows user.

  Shortcuts are
  different, renderings are different, the Gtk drawing model is used
  instead of the windows one (leads to quite jarring repainting
  differences), different fonts, etc, etc. It looks okay in a screenshot
  but is clearly non-native and foreign in use.

 Sounds bad. It also sounds much like what I experienced with wx on Linux.


I regularly use wxGTK and wxPython under linux with gnome (it's my
sole desktop at home - I only use windows at work). The differences
are orders of magnitude in severity.

One common problem is that people use incorrect (but working on
Windows) code and don't test under linux, it can cause similar issues.
The *toolkit* is very strong on all platforms. Individual apps are
often much less strong, because relatively view developers have access
and motivation to test heavily on all platforms. wx tries to make
correct code work the same on all platforms, but it can't make
incorrect code fail the same way on all platforms.

And, of course, many people simply aren't familiar with or choose not
to use the APIs that wx provides for whatever reason. Custom controls
that don't use native fonts are fairly common, for example, even
though wx provides APIs to retrieve the correct fonts and the use of
them is encouraged - people just hardcode whatever they know the
right font is on their native platform.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread Michel Claveau
Hi!


Only under Win: PLUIE  (http://ponx.org/ponx/guie)
This GUI is natively HTML.





-- 
@-salutations

Michel Claveau


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread Simon Yau
On Jun 5, 2:57 pm, ZioMiP [EMAIL PROTECTED] wrote:
 Hi to all...

 I'm actually using Tkinter for my GUI... but I need to put a piece of a
 web-page in a widget how can I do?

 which GUI module do you suggest me to use for do that?

 or which GUI module do you suggest me to use at all?

 I'm acutally using Windows Xp but I also use Linux...

 I know that WxPython work only under Windows and PyGTK work only under
 Linux... there's some other modules?

Maybe you can try Tkhtml.  It supports both Windows and Linux.

Simon

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread Matimus
 I know that WxPython work only under Windows

Hmm, there seems to be some disparity between what you know and the
truth...

WxPython works everywhere (Windows, Linux, MacOS), and it works well.
Also, it has web widgets that come standard (wx.html.HtmlWindow).

Matt

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread ZioMiP
Matimus ha scritto:
 I know that WxPython work only under Windows
 
 Hmm, there seems to be some disparity between what you know and the
 truth...
 
 WxPython works everywhere (Windows, Linux, MacOS), and it works well.
 Also, it has web widgets that come standard (wx.html.HtmlWindow).
 
 Matt
 

Thanks for this ^_^ so I think I'll try to migrate to wx
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread montyphyton

ZioMiP je napisao/la:
 Hi to all...

 I'm actually using Tkinter for my GUI... but I need to put a piece of a
 web-page in a widget how can I do?

 which GUI module do you suggest me to use for do that?

 or which GUI module do you suggest me to use at all?

 I'm acutally using Windows Xp but I also use Linux...

 I know that WxPython work only under Windows and PyGTK work only under
 Linux... there's some other modules?

have you considered using qt, i.e., pyqt, pyqwt? unlike wx, qt draws
its own icons...

-- 
http://mail.python.org/mailman/listinfo/python-list


which GUI module you suggest me to use?

2007-06-05 Thread ZioMiP
Hi to all...

I'm actually using Tkinter for my GUI... but I need to put a piece of a 
web-page in a widget how can I do?

which GUI module do you suggest me to use for do that?

or which GUI module do you suggest me to use at all?

I'm acutally using Windows Xp but I also use Linux...

I know that WxPython work only under Windows and PyGTK work only under 
Linux... there's some other modules?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread ZioMiP
Cameron Laird ha scritto:
 In article [EMAIL PROTECTED],
 ZioMiP  [EMAIL PROTECTED] wrote:
 Hi to all...

 I'm actually using Tkinter for my GUI... but I need to put a piece of a 
 web-page in a widget how can I do?

 which GUI module do you suggest me to use for do that?

 or which GUI module do you suggest me to use at all?

 I'm acutally using Windows Xp but I also use Linux...

 I know that WxPython work only under Windows and PyGTK work only under 
 Linux... there's some other modules?
 
 ?  wxPython is available for Linux and Mac OS X.  PyGTK is
 available for Windows.
 
 Apparently you want to embed Web content in a Tkinter widget.
 There are several ways to do this.  Do you need a live browser,
 or is it enough to render HTML?

I think is like a live browser... not only render HTML because the 
webpage got a bit of javascript inside...
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread Cameron Laird
In article [EMAIL PROTECTED],
ZioMiP  [EMAIL PROTECTED] wrote:
Hi to all...

I'm actually using Tkinter for my GUI... but I need to put a piece of a 
web-page in a widget how can I do?

which GUI module do you suggest me to use for do that?

or which GUI module do you suggest me to use at all?

I'm acutally using Windows Xp but I also use Linux...

I know that WxPython work only under Windows and PyGTK work only under 
Linux... there's some other modules?

?  wxPython is available for Linux and Mac OS X.  PyGTK is
available for Windows.

Apparently you want to embed Web content in a Tkinter widget.
There are several ways to do this.  Do you need a live browser,
or is it enough to render HTML?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread Grant Edwards
On 2007-06-05, ZioMiP [EMAIL PROTECTED] wrote:

 I know that WxPython work only under Windows and PyGTK work only under 
 Linux...

You 'know' wrong.  

wxPython works fine under Windows, Linux and OSX.

PyGTK works under Linux and Windows, but doens't use native
widgets under Windows, so it won't look like a normal windows
app.

 there's some other modules?

PyQt

-- 
Grant Edwards   grante Yow! Xerox your lunch
  at   and file it under sex
   visi.comoffenders!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread Eric
On Jun 5, 4:17 pm, ZioMiP [EMAIL PROTECTED] wrote:
 Cameron Laird ha scritto:



  In article [EMAIL PROTECTED],
  ZioMiP  [EMAIL PROTECTED] wrote:
  Hi to all...

  I'm actually using Tkinter for my GUI... but I need to put a piece of a
  web-page in a widget how can I do?

  which GUI module do you suggest me to use for do that?

  or which GUI module do you suggest me to use at all?

  I'm acutally using Windows Xp but I also use Linux...

  I know that WxPython work only under Windows and PyGTK work only under
  Linux... there's some other modules?

  ?  wxPython is available for Linux and Mac OS X.  PyGTK is
  available for Windows.

  Apparently you want to embed Web content in a Tkinter widget.
  There are several ways to do this.  Do you need a live browser,
  or is it enough to render HTML?

 I think is like a live browser... not only render HTML because the
 webpage got a bit of javascript inside...

Is this webpage untouchable, or is HTML rendering just a shortcut to
avoid redesigning part of the app? If you need faithful rendering of
an arbitrary webpage along with a Javascript runtime, that's a bigger
issue, and you might want to look at some of the Mozilla tools,
particularly XULRunner:

http://developer.mozilla.org/en/docs/Building_XULRunner_with_Python

Otherwise, wxPython's HTML widget or TkHtml should be fine -- your
code will probably be easier to maintain and debug if you translate
that bit of Javascript to Python (language constructs are similar,
especially with xml.dom.minidom).

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread [EMAIL PROTECTED]
On Jun 6, 12:13 pm, Eric [EMAIL PROTECTED] wrote:
 On Jun 5, 4:17 pm, ZioMiP [EMAIL PROTECTED] wrote:



  Cameron Laird ha scritto:

   In article [EMAIL PROTECTED],
   ZioMiP  [EMAIL PROTECTED] wrote:
   Hi to all...

   I'm actually using Tkinter for my GUI... but I need to put a piece of a
   web-page in a widget how can I do?

   which GUI module do you suggest me to use for do that?

   or which GUI module do you suggest me to use at all?

   I'm acutally using Windows Xp but I also use Linux...

   I know that WxPython work only under Windows and PyGTK work only under
   Linux... there's some other modules?

   ?  wxPython is available for Linux and Mac OS X.  PyGTK is
   available for Windows.

   Apparently you want to embed Web content in a Tkinter widget.
   There are several ways to do this.  Do you need a live browser,
   or is it enough to render HTML?

  I think is like a live browser... not only render HTML because the
  webpage got a bit of javascript inside...

 Is this webpage untouchable, or is HTML rendering just a shortcut to
 avoid redesigning part of the app? If you need faithful rendering of
 an arbitrary webpage along with a Javascript runtime, that's a bigger
 issue, and you might want to look at some of the Mozilla tools,
 particularly XULRunner:

 http://developer.mozilla.org/en/docs/Building_XULRunner_with_Python

 Otherwise, wxPython's HTML widget or TkHtml should be fine -- your
 code will probably be easier to maintain and debug if you translate
 that bit of Javascript to Python (language constructs are similar,
 especially with xml.dom.minidom).

You could also consider the use of Crunchy, and use the web page AS
the GUI.

-T

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which GUI module you suggest me to use?

2007-06-05 Thread Cameron Laird
In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] wrote:

ZioMiP je napisao/la:
 Hi to all...

 I'm actually using Tkinter for my GUI... but I need to put a piece of a
 web-page in a widget how can I do?

 which GUI module do you suggest me to use for do that?

 or which GUI module do you suggest me to use at all?

 I'm acutally using Windows Xp but I also use Linux...

 I know that WxPython work only under Windows and PyGTK work only under
 Linux... there's some other modules?

have you considered using qt, i.e., pyqt, pyqwt? unlike wx, qt draws
its own icons...


This completely loses me; what do you mean by draw its own icon,
and what does that have to do with rendering Web pages?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-22 Thread Piet van Oostrum
 Michael Ekstrand [EMAIL PROTECTED] (ME) wrote:

ME I've used both wxPython and PyGTK. I find wxPython to be horribly
ME un-pythonic; combining that some problems on the Mac, and some
ME other installation/environment issues, I ditched it for PyGTK.

But AFAIK GTK doesn't have a native implementation on the Mac, only X11. At
least not in a stable version.
-- 
Piet van Oostrum [EMAIL PROTECTED]
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-22 Thread Renato
Hardly a showstopper: gtk works now (with X11), and will work even
better soon (native).

:-)

--
Ciao, Renato

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-14 Thread Alan Franzoni
Paul Boddie on comp.lang.python said: 

 Now, since the commercial licence is per developer, some cunning
 outfit could claim that only one developer wrote their product (rather
 than one hundred developers, say), but this would be a fairly big
 breach of trust (although nothing unusual in the world of commerce, I'm
 sure). Would a business making software for other such businesses care
 about such things? What kind of recourse would they have?

Just one thing I don't understand: if you're developing all your software
inside your company, how would they know if you already coded it or you
still have to?

Also, couldn't a big company buy a *single* commercial license from the
beginning, build a software employing hundreds of developers using the GPL
license, and then distribute the software pretending that the single
developer had done everything? This would hit Trolltech anyway.

I think the problem has to do with the QT license system. It's their
problem, not a developer's one. Also, I suppose one of their commercial
licenses provides with far lot more than a license - e.g. I think they'll
offer support, design tools, additional docs and libraries.

And what would then be their income if they refused to sell you a
commercial license because they *know* you've already coded your app using
the GPL license of Qt? You could simply throw away your app and never
distribute it, and they would'nt see a cent anyway.

Personally, I don't like Qt licensing, since I think there're good widget
sets around that don't have such limitations, but I don't think that people
at Trolltech are really trolls :-=

-- 
Alan Franzoni [EMAIL PROTECTED]
-
Togli .xyz dalla mia email per contattarmi.
Rremove .xyz from my address in order to contact me.
-
GPG Key Fingerprint:
5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-14 Thread Antoon Pardon
Op 2006-03-13, Paul Boddie schreef [EMAIL PROTECTED]:
 Paul Rubin wrote:
 Paul Boddie [EMAIL PROTECTED] writes:
  What people don't usually understand (or rather complain about loudly)
  is that Trolltech can refuse to license Qt to you under the commercial
  licence, as is their right as the owner of the copyrighted work.

 What is the deal here?  Why would they refuse, to someone willing to
 pay the commercial license fee?  They are a business, and as such,

 Well, I can't answer for them in any sense (and I should ask you to
 substitute any company with a similar business model for Trolltech in
 the text, along with accompanying product names, in order to emphasize
 the mere speculative nature of my explanation), but all I was trying to
 do was to explain the pattern of behaviour that goes something like
 this:

  1. Developer downloads Qt GPL edition.
  2. Developer develops product based on Qt.
  3. Some time later, with finished product, developer now wants
 to release a closed source version of the product.
  4. Developer approaches Trolltech and asks for a commercial
 licence in order to ship a closed source product.

 Now, since the commercial licence is per developer, some cunning
 outfit could claim that only one developer wrote their product (rather
 than one hundred developers, say), but this would be a fairly big
 breach of trust (although nothing unusual in the world of commerce, I'm
 sure). Would a business making software for other such businesses care
 about such things? What kind of recourse would they have?

I wonder what this per developer means. Suppose ten people are working
on a product. But only one person is working on the GUI and comes into
contact with the Qt widget. Is that one or ten developers that are
counted for the license?

-- 
Antoon Pardon
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-14 Thread Paul Boddie
Alan Franzoni wrote:

 Just one thing I don't understand: if you're developing all your software
 inside your company, how would they know if you already coded it or you
 still have to?

I have no idea. But as I said elsewhere, I'm not in any sense a party
to the process that would attempt to define such enforcement matters.

 Also, couldn't a big company buy a *single* commercial license from the
 beginning, build a software employing hundreds of developers using the GPL
 license, and then distribute the software pretending that the single
 developer had done everything? This would hit Trolltech anyway.

True, but then have you ever used proprietary software with those
irritating floating licences or with licence keys? Sure, a company
doing stuff on the cheap could buy fewer licences than they need - I've
been in a situation where an employer has bought n licences of some
flashy-but-not-exactly-necessary solution that everyone (n + x people)
has been forced to use, and you end up with all sorts of management
workarounds (if you're not using product X, can you log off and log
back in later?) - and I'd imagine that where technical measures aren't
the means of limiting the number of users, you get all sorts of
management workarounds to give the impression that only one developer
is using the software in other enforcement regimes: having one person
that collates and forwards support requests, for example. That
businesses would rather waste their employees' time at a much higher
cost than just forking out for more software isn't a surprise to me
whatsoever.

 I think the problem has to do with the QT license system. It's their
 problem, not a developer's one. Also, I suppose one of their commercial
 licenses provides with far lot more than a license - e.g. I think they'll
 offer support, design tools, additional docs and libraries.

I believe so, yes. However, the problem with any licensing system is
generally the developer's: if you want to sell a solution based on
Microsoft Office, is it Microsoft's problem that they chose an
ultra-proprietary licence? As a developer you do get to choose other
solutions, however. (Perhaps I've misinterpreted what you meant,
though.)

 And what would then be their income if they refused to sell you a
 commercial license because they *know* you've already coded your app using
 the GPL license of Qt? You could simply throw away your app and never
 distribute it, and they would'nt see a cent anyway.

I have no idea. It's best to ask them that question rather than random
newsgroup contributors, I think. ;-)

Paul

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-14 Thread Chris Mellon
On 14 Mar 2006 06:10:19 -0800, Paul Boddie [EMAIL PROTECTED] wrote:
 Alan Franzoni wrote:
 
  Just one thing I don't understand: if you're developing all your software
  inside your company, how would they know if you already coded it or you
  still have to?

 I have no idea. But as I said elsewhere, I'm not in any sense a party
 to the process that would attempt to define such enforcement matters.

  Also, couldn't a big company buy a *single* commercial license from the
  beginning, build a software employing hundreds of developers using the GPL
  license, and then distribute the software pretending that the single
  developer had done everything? This would hit Trolltech anyway.

 True, but then have you ever used proprietary software with those
 irritating floating licences or with licence keys? Sure, a company
 doing stuff on the cheap could buy fewer licences than they need - I've
 been in a situation where an employer has bought n licences of some
 flashy-but-not-exactly-necessary solution that everyone (n + x people)
 has been forced to use, and you end up with all sorts of management
 workarounds (if you're not using product X, can you log off and log
 back in later?) - and I'd imagine that where technical measures aren't
 the means of limiting the number of users, you get all sorts of
 management workarounds to give the impression that only one developer
 is using the software in other enforcement regimes: having one person
 that collates and forwards support requests, for example. That
 businesses would rather waste their employees' time at a much higher
 cost than just forking out for more software isn't a surprise to me
 whatsoever.

  I think the problem has to do with the QT license system. It's their
  problem, not a developer's one. Also, I suppose one of their commercial
  licenses provides with far lot more than a license - e.g. I think they'll
  offer support, design tools, additional docs and libraries.

 I believe so, yes. However, the problem with any licensing system is
 generally the developer's: if you want to sell a solution based on
 Microsoft Office, is it Microsoft's problem that they chose an
 ultra-proprietary licence? As a developer you do get to choose other
 solutions, however. (Perhaps I've misinterpreted what you meant,
 though.)

  And what would then be their income if they refused to sell you a
  commercial license because they *know* you've already coded your app using
  the GPL license of Qt? You could simply throw away your app and never
  distribute it, and they would'nt see a cent anyway.

 I have no idea. It's best to ask them that question rather than random
 newsgroup contributors, I think. ;-)


It's pretty obvious, though. The whole point of people doing this is
that they only want to pay for 1 license once rather than X licenses
for the whole dev cycle. By not selling you a license they lose $1000,
but they keep enforcing a licensing system that makes them a lot more
money. Their leverage comes from the fact that you've invested however
much time and effort into the app development and while you can toss
it you're out a great deal more than they are.

I suspect that if enough money changed hands (like, you paid for your
X developers backdated to when you started development) you could
convince TT to sell you a license, too.
 Paul

 --
 http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-13 Thread Thomas Guettler
Am Fri, 10 Mar 2006 16:10:09 +0100 schrieb Sybren Stuvel:

 Thomas Guettler enlightened us with:
 The licence for QT is GPL, this means you cannot use it in
 commercial application. That is why I never looked at it.
 
 Ehmm... from their website:

From http://www.trolltech.com/products/qt/licensing.html

 The Qt Commercial License is the correct license to use for the
 construction of proprietary, commercial software. The license allows
 you to:
 - Build commercial software and software whose source code you
   wish to keep private.
 - Freely choose licensing for the software you are writing
   (Proprietary, Open Source or both).
 - Be able to gain access to Qt Solutions, Trolltech support and
   commercial-only Qt components such as commercial database
   drivers and the Visual Studio Integration on Windows. 

Have you read all the text?


Two qualities of the Qt Commercial License should be emphasized:

You need it before you start development of proprietary software.

You must purchase a Qt Commercial License from Trolltech or from any of
its authorized resellers before you start developing. The Commercial
license does not allow the incorporation of code developed with the Open
Source Edition of Qt into a proprietary product.


There is a GPL version for Linux. But the GPL does not allow linking
with closed source software.


-- 
Thomas Güttler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Spam Catcher: [EMAIL PROTECTED]

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-13 Thread Sybren Stuvel
Thomas Guettler enlightened us with:
 There is a GPL version for Linux. But the GPL does not allow linking
 with closed source software.

The availability of a GPL license does not negate the availability of
a commercial license. You can write commercial, closed source software
on Linux using Qt legally.

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
 Frank Zappa
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-13 Thread Paul Boddie
Thomas Guettler wrote:

 Have you read all the text?

 
 Two qualities of the Qt Commercial License should be emphasized:

 You need it before you start development of proprietary software.

 You must purchase a Qt Commercial License from Trolltech or from any of
 its authorized resellers before you start developing. The Commercial
 license does not allow the incorporation of code developed with the Open
 Source Edition of Qt into a proprietary product.
 

 There is a GPL version for Linux. But the GPL does not allow linking
 with closed source software.

My understanding of how it all works is this: Trolltech offers you Qt
under the GPL; you can choose to accept the GPL; you then uphold the
GPL in the distribution of your work. Alternatively, you request that
Trolltech license the software to you under the Qt Commercial
License; they decide whether or not they want to license it to you; if
they decide yes, you get to distribute your proprietary software with
the proprietary edition of the product.

What people don't usually understand (or rather complain about loudly)
is that Trolltech can refuse to license Qt to you under the commercial
licence, as is their right as the owner of the copyrighted work. As far
as I know, you can still obtain Qt under the GPL from them in such a
situation, although this is fairly academic since there are lots of
people offering Qt under the GPL in a variety of GNU/Linux
distributions, for example. Usually, the people making a fuss about all
this have already licensed Qt under the GPL, however, and believe that
they have a right to switch over to another licence, but neither the
GPL nor any basic aspect of copyright practice supports such a notion.

So, yes, you either say up front that you're developing proprietary
software and buy into that special deal with the copyright holder, or
you don't. Of course, you could try and distribute non-commercial,
evaluation, trial, educational-use-only, non-redistributable or
NDA-affected versions of your favourite proprietary software products
and see which court of law that takes you to - in these debates nobody
seems to ask themselves whether Bill Gates and/or Steve Jobs would let
you switch around, slip out of that NDA, give you special upgrades,
strike through clauses in that EULA, and so on down the list of things
that nobody thought about when putting together that now-shaky business
model.

Paul

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-13 Thread Paul Rubin
Paul Boddie [EMAIL PROTECTED] writes:
 What people don't usually understand (or rather complain about loudly)
 is that Trolltech can refuse to license Qt to you under the commercial
 licence, as is their right as the owner of the copyrighted work.

What is the deal here?  Why would they refuse, to someone willing to
pay the commercial license fee?  They are a business, and as such,
they presumably like gettng money.  And someone wanting to develop a
proprietary app with Qt that users have to pay for, shouldn't mind
paying Trolltech for the commercial Qt license.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-13 Thread Chris Mellon
On 13 Mar 2006 10:19:05 -0800, Paul Rubin
http://phr.cx@nospam.invalid wrote:
 Paul Boddie [EMAIL PROTECTED] writes:
  What people don't usually understand (or rather complain about loudly)
  is that Trolltech can refuse to license Qt to you under the commercial
  licence, as is their right as the owner of the copyrighted work.

 What is the deal here?  Why would they refuse, to someone willing to
 pay the commercial license fee?  They are a business, and as such,
 they presumably like gettng money.  And someone wanting to develop a
 proprietary app with Qt that users have to pay for, shouldn't mind
 paying Trolltech for the commercial Qt license.
 --

Qt (commercial) licensing is a subscription - you pay per developer
per year - so an obvious thing for people to attempt (and I have no
idea if this has been tried, but I wouldn't doubt it) is for a company
to download the GPL version, develop the application internally, and
then purchase 1 license when they're ready to ship. This would
seriously bite into TTs income and they aren't interested in allowing
you do this, so while you're free to download the GPL version and
develop all you want, TT won't sell you a commercial license after
the fact like this.

 http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-13 Thread Paul Boddie
Paul Rubin wrote:
 Paul Boddie [EMAIL PROTECTED] writes:
  What people don't usually understand (or rather complain about loudly)
  is that Trolltech can refuse to license Qt to you under the commercial
  licence, as is their right as the owner of the copyrighted work.

 What is the deal here?  Why would they refuse, to someone willing to
 pay the commercial license fee?  They are a business, and as such,

Well, I can't answer for them in any sense (and I should ask you to
substitute any company with a similar business model for Trolltech in
the text, along with accompanying product names, in order to emphasize
the mere speculative nature of my explanation), but all I was trying to
do was to explain the pattern of behaviour that goes something like
this:

 1. Developer downloads Qt GPL edition.
 2. Developer develops product based on Qt.
 3. Some time later, with finished product, developer now wants
to release a closed source version of the product.
 4. Developer approaches Trolltech and asks for a commercial
licence in order to ship a closed source product.

Now, since the commercial licence is per developer, some cunning
outfit could claim that only one developer wrote their product (rather
than one hundred developers, say), but this would be a fairly big
breach of trust (although nothing unusual in the world of commerce, I'm
sure). Would a business making software for other such businesses care
about such things? What kind of recourse would they have?

 they presumably like gettng money.  And someone wanting to develop a
 proprietary app with Qt that users have to pay for, shouldn't mind
 paying Trolltech for the commercial Qt license.

It's the after the fact switching from GPL to commercial licensing,
rather than the up-front wanting to develop scenario, that would be
difficult for anyone issuing commercial licences to monitor. Trolltech
specifically mention exposure to the GPL on their open source
downloads page presumably (and again I speculate, so beware!) to
suggest that if you want to end commercial, you need to start
commercial:

http://www.trolltech.com/download/opensource.html

I don't see why anyone planning to make big bucks on proprietary
software can't shell out for the technology which would make their
success possible, either. But anyway, the key part of my explanation
was that the copyright holder can always refuse to license their work
to you. Obviously, if they've already licensed it to you under the GPL,
you'll always have that kind of permission.

Paul

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-13 Thread ahart
i'm pretty much a newbie, too, and have been dabbling with some gui
tools

so far, i like pythoncard pretty well

it wraps wxpython and seems to be pretty easy to use

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-12 Thread invitro81
You guys are great :) thanx for the plenty answers and suggestions; I've 
made my search through a little more and decided to start coding the 
same app first with pygtk and second with wxpython.. and perhaps later 
with pyqt.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-11 Thread David Boddie
Alan Franzoni wrote:

 FLTK was interesting but seems to lack maintenance and support,

Looking at the News section of the project's home page, I can see
that updates were few and far between in 2004 and 2005, but the
action seems to have picked up again since:

  http://pyfltk.sourceforge.net/#news

 pyQT is a bit 'unfree' for most uses.

Unfree as in the opposite of freedom, or unfree as in the price of
beer?

PyQt for Qt 3 is available under the GNU General Public License on
Mac OS X and Linux. Since Qt 4 can be used under the GPL on all
platforms, you'll even be able to write software on Windows with PyQt4
that's licensed under a GPL-compatible license.

  FAQ: http://www.riverbankcomputing.co.uk/pyqt/faq.php
  Roadmap: http://www.riverbankcomputing.co.uk/pyqt/roadmap.php

 Tkinter is quite old stuff.

But actively supported and promoted:

  http://wiki.python.org/moin/TkInter

And I'm sure there are plenty of other solutions that deserve to be
mentioned:

  http://wiki.python.org/moin/GuiProgramming

David

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-11 Thread Michael Ekstrand
On Sat, 11 Mar 2006 00:07:52 +0100
Alan Franzoni [EMAIL PROTECTED] wrote:
  again to make a choice is difficult; is there also some guy liking
  pyqt is it worse or should it be avoided because of the licencing
  policy for qt (which I also like..)?
  
  * Which one is the most fun to program with?
  * Which one is the most easy to learn?
  * Which one looks best?
  * Which one is the most productive to program with?
 
 wxPython is a pretty good 'all-round' and cross-platform library, and
 includes some non-graphical features. It's got a drawback: it's a
 wrapper for the wxwidgets library, and hence it's not very pythonic;
 you can solve part of its unpythonicness using wax, which is not very
 well documented at the time. wxGlade can be used to design GUI apps
 with little effort.
 
 pyGTK works well, too. Recent versions perform well and are good
 looking on Windows systems as well as Linux and Macs (if you provide
 an X server). It's very well documented (better than wxPython, in my
 opinion) and its license is quite permissive. It's unpythonic just
 like wxPython. Glade and Gazpacho can be used to design GUI apps in a
 visual way.

I'll throw my two cents in here now.

I've used both wxPython and PyGTK. I find wxPython to be horribly
un-pythonic; combining that some problems on the Mac, and some
other installation/environment issues, I ditched it for PyGTK.

I find PyGTK to be very natural, and actually highly Pythonic. So much
of its design just makes sense. And GTK provides a lot of nice things,
and is itself incredibly versitle (the places you can put odd
widgets...). I've found myself to be more productive with GTK (both
PyGTK and GTKmm) than with any other system I've used (with the
possible exception of web interfaces).

- Michael

-- 
mouse, n: a device for pointing at the xterm in which you want to type.
-- Fortune
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-11 Thread Roger Binns

invitro81 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 But I've no idea which one I should use to start with..

One thing you'll need to carefully decide is where you want
to end up.  The different toolkits have different limits on
where you can go.  A simple example is printing.  Some don't
support it (eg Tkinter didn't 5 years ago when I last used it).
If you will never need to print then that won't matter.
Generally what you'll find is that the toolkits that let
you do more are harder to get started with because you have
to code in such a way as to let the more complicated features
(eg printing) work, and the documentation is bigger because
there is more to document.

These are some of those areas to consider:

Printing

  Can you print? Does the user get to use their operating
  system specific dialog boxes to choose printers etc?
  As a developer can you find out if the printer is colour
  or black and white?  What about the paper size?

HTML

  Does the toolkit have a way for you to display HTML?  How
  complicated can the HTML be (eg CSS)?  Can you embed widgets
  in the HTML?

Threading

  Do you have to confine gui operations to one thread?  How do
  you send a message from a worker thread to the gui thread
  (the gui thread will block in an event loop - that event loop
  needs to be able to be woken up from other threads)

Native look and feel

  Will your users expect a native looking application?  Will they
  want drag and drop?  Do they expect rich objects on the keyboard?
  Is the toolkit available for all platforms you would want to
  run on (Windows, Linux, Mac, BSD etc) and their variations
  (different processors, 32 and 64 bit runtimes)?

OLE

  Can you display other applications as a widget within yours?
  What about the other way round?  Can you script other applications?
  (Python actually has the latter available on many platforms without
  the need for the gui toolkit to so)

i18n/l10n

  Does the toolkit support Unicode?  How easy is it to use with
  multiple languages?

Additional packages

  What additional packages are there for the toolkit?  For example
  Pmw provides more widgets to tkinter and their are GL packages
  for the various toolkits.  If you are going to do graphics heavy
  stuff you'll want some way of hooking the toolkit with PIL.

There should be some sort of demo available.  wxPython has a fantastic
one showing every single widget with code you edit to see what effect
it has.

The documentation should be good as well.  Pick a random question such
as how do I delete all entries in a listbox begining with 'foo' and
see if you can work it out from the documentation.

There should also be some sort of mailing list and user forums.  Look
for helpful answers being given with people being polite.

What I would suggest you do is write a simple application in two or
three different toolkits (eg convert temperature between F and C).
You'll learn various ways of dealing with widget placement and sizers.
(ie what happens if the user makes the containing window larger or
smaller).  My suggestions are to try PyGame, Tkinter and wxPython.
You'll be better off having learned lessons from all 3 than just
using one.

The piece of good news is that to my knowledge applications written
using any of the toolkits can be packaged up using tools like
py2exe/py2app/cx_Freeze so that you can redistribute them to other
users and those users will not have to know or care that you used
Python and whatever toolkit.

Roger 


-- 
http://mail.python.org/mailman/listinfo/python-list


Which GUI toolkit is THE best?

2006-03-10 Thread invitro81
Hello

I've recently learnt python and I do love it! I congratulate all those 
geeks who produce this nice language; well, because I could be called a 
nearby newbee I've decided to improve my abilities by writing my own 
nice editor with python; so I've to choose among all those GUI toolkit's 
available there..

But I've no idea which one I should use to start with.. I've read that 
tkinter seems to be the de facto standart in the pyhon community; but 
why? Is it the best available one or are theire other reasons? I read 
also a litte about wxpython and pygtk.. both are appealing to me but 
again to make a choice is difficult; is there also some guy liking pyqt 
is it worse or should it be avoided because of the licencing policy for 
qt (which I also like..)?

* Which one is the most fun to program with?
* Which one is the most easy to learn?
* Which one looks best?
* Which one is the most productive to program with?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-10 Thread Peter Decker
On 3/10/06, invitro81 [EMAIL PROTECTED] wrote:

 But I've no idea which one I should use to start with.. I've read that
 tkinter seems to be the de facto standart in the pyhon community; but
 why? Is it the best available one or are theire other reasons? I read
 also a litte about wxpython and pygtk.. both are appealing to me but
 again to make a choice is difficult; is there also some guy liking pyqt
 is it worse or should it be avoided because of the licencing policy for
 qt (which I also like..)?

 * Which one is the most fun to program with?
 * Which one is the most easy to learn?
 * Which one looks best?
 * Which one is the most productive to program with?

GUI toolkits are not simple things to be productive with. Most people
I know tried out a few briefly, found one that fit their needs and/or
programming style better, and then adopted that as their choice. Given
the complexity of GUIs in general, developers tend to be 'fluent' in
one at a time - it's just too much to remember when switching between
different kits.

So most of the answers you get will invariably be tilted toward the
choice that an individual made. Their reasons for that choice may not
be the same as your reasons, so my advice to you would be to check
them all out for a few hours apiece, and make a choice based on your
impressions.

Having said that, my choice for UI toolkit is wxPython, based on its
use of native controls on all platforms. I disliked the syntax it
inherited from wxWidgets, the C++ project it is based on, but then I
found Dabo, whose UI layer wraps wxPython, giving you all the power
and beauty of wxPython, with none of the ugliness.
--

# p.d.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-10 Thread Cell

invitro81 schreef:

 Hello

 I've recently learnt python and I do love it! I congratulate all those
 geeks who produce this nice language; well, because I could be called a
 nearby newbee I've decided to improve my abilities by writing my own
 nice editor with python; so I've to choose among all those GUI toolkit's
 available there..

 But I've no idea which one I should use to start with.. I've read that
 tkinter seems to be the de facto standart in the pyhon community; but
 why? Is it the best available one or are theire other reasons? I read
 also a litte about wxpython and pygtk.. both are appealing to me but
 again to make a choice is difficult; is there also some guy liking pyqt
 is it worse or should it be avoided because of the licencing policy for
 qt (which I also like..)?

   * Which one is the most fun to program with?
   * Which one is the most easy to learn?
   * Which one looks best?
   * Which one is the most productive to program with?

Read this http://wxpython.org/quotes.php ;-)

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-10 Thread Eric Brunel
On Fri, 10 Mar 2006 13:36:18 +0100, invitro81 [EMAIL PROTECTED] wrote:

 Hello

 I've recently learnt python and I do love it! I congratulate all those  
 geeks who produce this nice language; well, because I could be called a  
 nearby newbee I've decided to improve my abilities by writing my own  
 nice editor with python; so I've to choose among all those GUI toolkit's  
 available there..

 But I've no idea which one I should use to start with.. I've read that  
 tkinter seems to be the de facto standart in the pyhon community; but  
 why? Is it the best available one or are theire other reasons? I read  
 also a litte about wxpython and pygtk.. both are appealing to me but  
 again to make a choice is difficult; is there also some guy liking pyqt  
 is it worse or should it be avoided because of the licencing policy for  
 qt (which I also like..)?

   * Which one is the most fun to program with?
   * Which one is the most easy to learn?
   * Which one looks best?
   * Which one is the most productive to program with?

It all depends on what features are the most important for you. Here is  
some help to answer the question yourself:
http://www.awaretek.com/toolkits.html

HTH
-- 
python -c print ''.join([chr(154 - ord(c)) for c in  
'U(17zX(%,5.zmz5(17;8(%,5.Z65\'*9--56l7+-'])
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Which GUI toolkit is THE best?

2006-03-10 Thread Sybren Stuvel
Thomas Guettler enlightened us with:
 The licence for QT is GPL, this means you cannot use it in
 commercial application. That is why I never looked at it.

Ehmm... from their website:

The Qt Commercial License is the correct license to use for the
construction of proprietary, commercial software. The license allows
you to:
- Build commercial software and software whose source code you
  wish to keep private.
- Freely choose licensing for the software you are writing
  (Proprietary, Open Source or both).
- Be able to gain access to Qt Solutions, Trolltech support and
  commercial-only Qt components such as commercial database
  drivers and the Visual Studio Integration on Windows. 

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
 Frank Zappa
-- 
http://mail.python.org/mailman/listinfo/python-list


Bear not false witness (was: Which GUI toolkit is THE best?)

2006-03-10 Thread Cameron Laird
In article [EMAIL PROTECTED],
Thomas Guettler  [EMAIL PROTECTED] wrote:
.
.
.
tkinter (or better TK) has no good table widget.
.
.
.
URL: http://tkinter.unpythonic.net/wiki/TkTable 

There are others, even, if that matters.
-- 
http://mail.python.org/mailman/listinfo/python-list


Which GUI toolkit is THE best?

2006-03-10 Thread dimitri pater
Hi,in stead of going for the traditional GUIS like wxPython, PyGtk and the like, you could consider using a browser based GUI. Try CherryPy for instance. See also here: 

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/442481regards,Dimitri On 3/10/06, 
invitro81 
[EMAIL PROTECTED] wrote:HelloI've recently learnt python and I do love it! I congratulate all those
geeks who produce this nice language; well, because I could be called anearby newbee I've decided to improve my abilities by writing my ownnice editor with python; so I've to choose among all those GUI toolkit's
available there..But I've no idea which one I should use to start with.. I've read thattkinter seems to be the de facto standart in the pyhon community; butwhy? Is it the best available one or are theire other reasons? I read
also a litte about wxpython and pygtk.. both are appealing to me butagain to make a choice is difficult; is there also some guy liking pyqtis it worse or should it be avoided because of the licencing policy for
qt (which I also like..)?* Which one is the most fun to program with?* Which one is the most easy to learn?* Which one looks best?* Which one is the most productive to program with?
--http://mail.python.org/mailman/listinfo/python-list
-- All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident.
~Arthur Schopenhauer Please visit dimitri's website: www.serpia.org

-- All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident.~Arthur Schopenhauer 
Please visit dimitri's website: www.serpia.org
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Which GUI toolkit is THE best?

2006-03-10 Thread Alan Franzoni
invitro81 on comp.lang.python said: 

 again to make a choice is difficult; is there also some guy liking pyqt 
 is it worse or should it be avoided because of the licencing policy for 
 qt (which I also like..)?
 
   * Which one is the most fun to program with?
   * Which one is the most easy to learn?
   * Which one looks best?
   * Which one is the most productive to program with?

Those are all hard questions. You might as well have asked 'which is the
best web framework'. It's not easy to tell ^_^ It highly depends on which
tasks you're aiming at.

wxPython is a pretty good 'all-round' and cross-platform library, and
includes some non-graphical features. It's got a drawback: it's a wrapper
for the wxwidgets library, and hence it's not very pythonic; you can solve
part of its unpythonicness using wax, which is not very well documented at
the time. wxGlade can be used to design GUI apps with little effort.

pyGTK works well, too. Recent versions perform well and are good looking on
Windows systems as well as Linux and Macs (if you provide an X server).
It's very well documented (better than wxPython, in my opinion) and its
license is quite permissive. It's unpythonic just like wxPython. Glade and
Gazpacho can be used to design GUI apps in a visual way.

pyGUI is a pyGTK-based graphic library which is designed from scratch to be
pythonic. It seems very, very promising but I can't tell you if it's
production-stable since I've tested it just a couple of times. It may be
the funniest and more productive toolkit ever.

FLTK was interesting but seems to lack maintenance and support, pyQT is a
bit 'unfree' for most uses. Tkinter is quite old stuff.

-- 
Alan Franzoni [EMAIL PROTECTED]
-
Togli .xyz dalla mia email per contattarmi.
Rremove .xyz from my address in order to contact me.
-
GPG Key Fingerprint:
5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E
-- 
http://mail.python.org/mailman/listinfo/python-list