Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-18 Thread Tim Roberts
laplacia...@gmail.com wrote:

 For applications installing the full wxWidgets or Qt toolkits would be
 less disk space and dependcies than OceanGUI

What? Qt and wX are *huge* compared to OcempGUI.

Well, not compared to OcempGUI + SDL + PyGame.  Note that I'm not trying to
run down the product at all, but if you're going to make comparisons like
this, you really need to be fair about it.

 and performance would probably be higher.

Probably, but wX and Qt are written in C++. OcempGUI is pure Python,
which would make it easier for the Python community to help extend,
optimize, and maintain.

Again, that's hardly fair.  OcempGUI is only pure Python because it
requires the C libraries SDL and PyGame.  wxPython is basically pure
Python, also, if you don't count the C++ wxWidgets library underneath it.

As you say, if you are already using SDL and PyGame, this sounds like a
great solution.  But for someone starting from scratch, it's not yet clear
to me that OcempGUI substantially better than wx.
-- 
Tim Roberts, t...@probo.com
Providenza  Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-16 Thread laplacian42
On Feb 16, 2:34 am, Python Nutter pythonnut...@gmail.com wrote:
 Had a look and it is still under my radar unfortunately because of
 TkInter. OceanGUI

Note: spelling is OcempGUI. Also, since google broke some of the
links,
here's that main link again:

http://ocemp.sourceforge.net/gui.html

 has a lot of large decencies (Pygame, SDL libraries,
 PyObjC, etc.) to install on my system

Well, to be fair, SDL is pretty commonly-used software and they offer
binary downloads for Mac OS X and MS Windows. Pygame seems to provide
the same. So, installation should be a breeze.

 to just to get a GUI thats no
 better loking than TkInter which comes pre-installed (no dependencies)
 on most every major platform.

Well, of course, there *is* a dependency: you need Tcl/Tk installed.

 If I was writing a game I might be interested, but I'd want to do some
 serious skinning of that GUI to make it look better.

I suppose so, but the point of my post was that by default it makes
quite a nice GUI toolkit.

 For applications installing the full wxWidgets or Qt toolkits would be
 less disk space and dependcies than OceanGUI

What? Qt and wX are *huge* compared to OcempGUI.

 and performance would
 probably be higher.

Probably, but wX and Qt are written in C++. OcempGUI is pure Python,
which would make it easier for the Python community to help extend,
optimize, and maintain.

 TkInter also has many skins/themes you can add
 that makes it rather, although not 100% native looking on target
 systems.

OcempGUI can also be themed as well. Though I'm not sure how much is
out there yet.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-16 Thread Dotan Cohen
 For applications installing the full wxWidgets or Qt toolkits would be
 less disk space and dependcies than OceanGUI

 What? Qt and wX are *huge* compared to OcempGUI.


Don't forget that many people will already have Qt already installed,
such as KDE users, or those who use Skype, Google Earth, or Opera.
Though KDE's Qt will likely be accessibily installed in a convinient
place, though, I'm not so sure about those other examples.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
--
http://mail.python.org/mailman/listinfo/python-list


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-16 Thread laplacian42
On Feb 16, 1:52 pm, Dotan Cohen dotanco...@gmail.com wrote:

 Don't forget that many people will already have Qt already installed,
 such as KDE users, or those who use Skype, Google Earth, or Opera.
 Though KDE's Qt will likely be accessibily installed in a convinient
 place, though, I'm not so sure about those other examples.


Well, yes. KDE users will already have Qt installed (and maybe PyQt)
but may groan at the prospect of having to install GTK+ and PyGTK.
Gnome users will already have GTK+ installed (and maybe PyGTK), but
may groan at having to install Qt and PyQt. However, both will likely
have no qualms about installing SDL and Pygame (which are pretty small
and also allow them to play various games as well).
--
http://mail.python.org/mailman/listinfo/python-list


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-16 Thread Bruno Desthuilliers

laplacia...@gmail.com a écrit :

On Feb 16, 1:52 pm, Dotan Cohen dotanco...@gmail.com wrote:

Don't forget that many people will already have Qt already installed,
such as KDE users, or those who use Skype, Google Earth, or Opera.
Though KDE's Qt will likely be accessibily installed in a convinient
place, though, I'm not so sure about those other examples.



Well, yes. KDE users will already have Qt installed (and maybe PyQt)
but may groan at the prospect of having to install GTK+ and PyGTK.
Gnome users will already have GTK+ installed (and maybe PyGTK),  but
may groan at having to install Qt and PyQt.  However, both will likely
have no qualms about installing SDL and Pygame (which are pretty small
and also allow them to play various games as well).


FWIW (and servers set aside, of course), I can hardly remember of any of 
linux box I worked one not having both GTK and KDE installed.

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


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-16 Thread Dotan Cohen
 FWIW (and servers set aside, of course), I can hardly remember of any of
 linux box I worked one not having both GTK and KDE installed.

I don't think that those netbooks come with Qt. And for a Windows
installer, where one may want to package the toolkit with the program,
a small toolkit may be nice. There is such an issue today on the Zim
list, where including GTK in the installer bloated it to four times
it's size.

So it may be more of a download size for Windows users, than an
installed size for Linux users (disk space is cheap, at least with
traditional rotating hard drives).

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
--
http://mail.python.org/mailman/listinfo/python-list


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-16 Thread Nick Craig-Wood
laplacia...@gmail.com laplacia...@gmail.com wrote:
  I think I just found the GUI toolkit for Python I've been searching
  for. It seems to meet all of the following requirements:
 
* free software
* small (I don't need batteries -- Python already comes with those.)
* easy to use
* actively maintained
* cross-platform
* easy to install
* based on a stable and actively-maintained C library
* does not depend on an external scripting language (for example,
  Tcl)
* well-documented
* not too many dependencies
* can easily integrate with PyOpenGL
* support for accessibility
 
  and it's also written in Python.
 
  I have no idea how it's stayed under the radar in the Python community
  for this long, yet here it is: [OcempGUI](http://ocemp.sourceforge.net/
  gui.html). The C library it depends upon? [SDL](http://
  www.libsdl.org/) (via [PyGame](http://www.pygame.org/news.html)).

Interesting!  One of the commercial apps I'm involved (C++ not python)
in uses SDL as its GUI with windows etc built on top of it.  It means
that it looks exactly the same on all supported platforms and since it
usually runs full screen that is fine.  I imagine this GUI toolkit
fits the same niche.

Presumably since it uses SDL then all the GUI will appear in one
window?  So windows within windows in the MDI style?

-- 
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-16 Thread laplacian42
On Feb 16, 4:31 pm, Nick Craig-Wood n...@craig-wood.com wrote:

 Interesting!  One of the commercial apps I'm involved (C++ not python)
 in uses SDL as its GUI with windows etc built on top of it.  It means
 that it looks exactly the same on all supported platforms and since it
 usually runs full screen that is fine.  I imagine this GUI toolkit
 fits the same niche.

 Presumably since it uses SDL then all the GUI will appear in one
 window?  So windows within windows in the MDI style?

 --
 Nick Craig-Wood n...@craig-wood.com --http://www.craig-wood.com/nick

There is a `window.py` example that comes with the distribution. It
has modal and non-modal windows within the main window.

I haven't yet seen any examples where OcempGUI runs full-screen.

The relevant portion of the manual re. subwindows is:
http://ocemp.sourceforge.net/manual/windows_and_dialogs.html
--
http://mail.python.org/mailman/listinfo/python-list


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-16 Thread Dotan Cohen
 Interesting!  One of the commercial apps I'm involved (C++ not python)
 in uses SDL as its GUI with windows etc built on top of it.  It means
 that it looks exactly the same on all supported platforms and since it
 usually runs full screen that is fine.  I imagine this GUI toolkit
 fits the same niche.


Most cross-platform projects come to the conclusion that it is _not_
good to look the same on each supported platform, but rather to match
the look of each individual platform. Open Office and Firefox come to
mind.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
--
http://mail.python.org/mailman/listinfo/python-list


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-16 Thread Python Nutter
 Note: spelling is OcempGUI. Also, since google broke some of the
 links,
 here's that main link again:

Thats my bad or more to the point my iPhone bad, typing fast with
spellcheck changes words to real dictionary words.


 Well, to be fair, SDL is pretty commonly-used software and they offer
 binary downloads for Mac OS X and MS Windows. Pygame seems to provide
 the same. So, installation should be a breeze.

Not on Mac. To get SDL, PyObjC, PyGame and other dependencies
installed on the platform you are talking on downloading and
installing close to 50MB+ of packages before you get to the point
where you install the OcempGUI package.

Thats a lot to ask of a user just to run my one program on their
system. If it was just myself and I wanted to go through the process
for educational/self-benefit I wouldn't mind.

But TkInter is already installed (0 dependencies) and on every Mac out
there so when I said 87Kbytes for a widget set that looks rather Mac
like I was saying compare 87Kbytes to 50+Megabytes to get a GUI for my
python application.

Along the same lines on my Linux boxes, GDK+/KDE are normally already
installed, nothing for the entire user base to install additional or
very little (additional) dependencies to install to get a wxWidget or
Qt interface going on those systems. Python wrappers are small but the
additional dependency installs above and beyond the base system is
what I am pointing at as killing off any interest in OcempGUI.

I also have this sneaking suspicion that the BDFL is secretly on the
sidelines waiting for the Tk tile theming engine to mature as if it
does and becomes standard in Python distributions I would say the
justification for learning wx and qt would be diminished by an unknown
quantity.

 What? Qt and wX are *huge* compared to OcempGUI.

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


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-16 Thread laplacian42
On Feb 17, 1:21 am, Python Nutter pythonnut...@gmail.com wrote:
  Note: spelling is OcempGUI. Also, since google broke some of the
  links,
  here's that main link again:

 Thats my bad or more to the point my iPhone bad, typing fast with
 spellcheck changes words to real dictionary words.

  Well, to be fair, SDL is pretty commonly-used software and they offer
  binary downloads for Mac OS X and MS Windows. Pygame seems to provide
  the same. So, installation should be a breeze.

 Not on Mac. To get SDL, PyObjC, PyGame and other dependencies
 installed on the platform you are talking on downloading and
 installing close to 50MB+ of packages before you get to the point
 where you install the OcempGUI package.

Funny you should mention this. I'd just been getting it installed on a
Mac I have access to. Here's what it took:

1. Install a Python from python.org. Something about the Pygame
installer not wanting to use the system Python. Also, it wants v2.5.
Ok. (As an aside, that's about 19 MB.) This is a mpkg file in a dmg,
so the install is trivial.

2. Now SDL. This one is just a drag-and-drop to your `/Library/
Frameworks` folder. Easy, but the user will have to look into the
README to know what to do. (1 MB)

3. Now PyObjC. Another mpkg file. It's available at the pygame site.
(6 MB)

4. Pygame. An mpkg in a zip file. (9 MB)

5. Whoops. Surprise. NumPy is required. mpkg in a dmg. (3 MB)

6. Finally, OcempGUI. This is a `sudo python setup.py install`. (4 MB)

That's 42 MB all told, admin rights required, and the examples are
running. Pretty neat.

 Thats a lot to ask of a user

[sigh] Probably. Unless maybe all the prereq's were gathered together
with a script to run through and install them all one after another.

 just to run my one program on their
 system.

Well, it will allow them to run *any* OcempGUI program thereafter, but
I see your point.

 If it was just myself and I wanted to go through the process
 for educational/self-benefit I wouldn't mind. But TkInter is already 
 installed (0 dependencies) and on every Mac out
 there

Just tried that. Didn't know it was all installed (Tcl/Tk too) and
ready to go. Wow that's pretty darn convenient.

 I also have this sneaking suspicion that the BDFL is secretly on the
 sidelines waiting for the Tk tile theming engine to mature as if it
 does and becomes standard in Python distributions I would say the
 justification for learning wx and qt would be diminished by an unknown
 quantity.


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


Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-15 Thread laplacian42
I think I just found the GUI toolkit for Python I've been searching
for. It seems to meet all of the following requirements:

  * free software
  * small (I don't need batteries -- Python already comes with those.)
  * easy to use
  * actively maintained
  * cross-platform
  * easy to install
  * based on a stable and actively-maintained C library
  * does not depend on an external scripting language (for example,
Tcl)
  * well-documented
  * not too many dependencies
  * can easily integrate with PyOpenGL
  * support for accessibility

and it's also written in Python.

I have no idea how it's stayed under the radar in the Python community
for this long, yet here it is: [OcempGUI](http://ocemp.sourceforge.net/
gui.html). The C library it depends upon? [SDL](http://
www.libsdl.org/) (via [PyGame](http://www.pygame.org/news.html)).

The sf project page is http://sourceforge.net/projects/ocemp/.

Installation only requires getting SDL installed, then PyGame, and
then a `sudo python setup.py install` for OcempGUI. `cd` into its `doc/
examples` directory and run a few of the examples (ex. `python
hello_world.py`).

The part of [the manual](http://ocemp.sourceforge.net/manual/ocempgui-
manual.html) that seems most like a beginner tutorial is http://
ocemp.sourceforge.net/manual/gui_applications.html.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Found a very nice, small, cross-platform GUI toolkit for Python.

2009-02-15 Thread Python Nutter
Had a look and it is still under my radar unfortunately because of
TkInter. OceanGUI has a lot of large decencies (Pygame, SDL libraries,
PyObjC, etc.) to install on my system to just to get a GUI thats no
better loking than TkInter which comes pre-installed (no dependencies)
on most every major platform.

If I was writing a game I might be interested, but I'd want to do some
serious skinning of that GUI to make it look better.

For applications installing the full wxWidgets or Qt toolkits would be
less disk space and dependcies than OceanGUI and performance would
probably be higher. TkInter also has many skins/themes you can add
that makes it rather, although not 100% native looking on target
systems.

For example, check out
http://tclmacbag.autons.net/screenshots.phtml

For 86K download/dependencies I can get a rather Mac looking GUI.

Cheers,
PN


2009/2/16  laplacia...@gmail.com:
 I think I just found the GUI toolkit for Python I've been searching
 for. It seems to meet all of the following requirements:

  * free software
  * small (I don't need batteries -- Python already comes with those.)
  * easy to use
  * actively maintained
  * cross-platform
  * easy to install
  * based on a stable and actively-maintained C library
  * does not depend on an external scripting language (for example,
 Tcl)
  * well-documented
  * not too many dependencies
  * can easily integrate with PyOpenGL
  * support for accessibility

 and it's also written in Python.

 I have no idea how it's stayed under the radar in the Python community
 for this long, yet here it is: [OcempGUI](http://ocemp.sourceforge.net/
 gui.html). The C library it depends upon? [SDL](http://
 www.libsdl.org/) (via [PyGame](http://www.pygame.org/news.html)).

 The sf project page is http://sourceforge.net/projects/ocemp/.

 Installation only requires getting SDL installed, then PyGame, and
 then a `sudo python setup.py install` for OcempGUI. `cd` into its `doc/
 examples` directory and run a few of the examples (ex. `python
 hello_world.py`).

 The part of [the manual](http://ocemp.sourceforge.net/manual/ocempgui-
 manual.html) that seems most like a beginner tutorial is http://
 ocemp.sourceforge.net/manual/gui_applications.html.
 --
 http://mail.python.org/mailman/listinfo/python-list

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