Re: wxPython GUI designer

2006-06-22 Thread Tim N. van der Leeuw

[EMAIL PROTECTED] wrote:
> Are there any good commercial project built with wx ? I am a newbie and
> a have to write a small application in Python. I was wondering which
> optin would be best for me in terms of least learning curve and getting
> the final product ASAP.
>
> Thanks
>

It's not a commercial project, but the current BitTorrent beta's
(versions 4.9.x) are written with wx ...

To me, the appearant lack of a good and easy-to-use multi-column tree
widget was a showstopper to diving deeper into wxPython, though. I
decided to use PyGTK for now, which I'm a bit more familiar already and
which I know has a multi-column tree good enough for me (and I found it
easy to add inline-editing too).

I don't know how good PyQT is on windows; other than that, in my
opinion PyGTK gives the best / most complete GUI for Python with
reasonable ease-of-programming.


Cheers,

--Tim

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


Re: OT: wxPython GUI designer

2006-06-21 Thread Don Taylor
Frithiof Andreas Jensen wrote:

> Just gave is a spin yesterday: How does on fix the size of  layout; I
> can only manage to get sizers to distribute space evently amongst the
> fields, which is *not* what I want.
> 

Use spacers.

Don.

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


OT: wxPython GUI designer

2006-06-21 Thread Frithiof Andreas Jensen

"Don Taylor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I find it easy to use sizers in
> wxGlade.

Just gave is a spin yesterday: How does on fix the size of  layout; I
can only manage to get sizers to distribute space evently amongst the
fields, which is *not* what I want.


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


Re: wxPython GUI designer

2006-06-20 Thread Ten
On Monday 19 June 2006 15:23, DarkBlue wrote:
> prepare to shed lots of tears before
> overcoming the initial disbelieve, that there is nothing
> better available for python.

Ahem - not strictly true - that should read "there is nothing better for 
wxPython". Not being pedantic, it's just not true to say nothing better is 
available for python.

Qtdesigner seems about on a par with the GUI design in Microsoft's Visual
Studio software to me.

Cheers,

Ten

-- 
There are 10 types of people in this world,
those who understand binary, and those who don't.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: wxPython GUI designer

2006-06-19 Thread Don Taylor
aum wrote:
> On Sun, 18 Jun 2006 13:09:08 -0700, diffuser78 wrote:
> 
>> I am newbie learning wxPython. I tried using GUI designer called
>> wxGlade. When it generated code I couldnt get the same level of
>> flexibility as writing the code by oneself.
>>
>> Any view on what you think about using GUI designer tools.
>>
>> Every help is appreciated.
> 
> I use wxGlade all the time, and find it's great. My only complaint is that
> there are some controls it doesn't know about, such as wx.HtmlWindow, and
> I have to add these controls in wxGlade as 'custom' controls. But to me,
> that's pretty minor.
> 
> To get the best out of wxGlade, you really need to subclass the classes
> that wxGlade generates. Don't look to wxGlade to write your app for you.
> It's there for gui structure (the 'view'), and it's up to you to flesh out
> the 'controller' side.
> 
> So I'd recommend you persist with wxGlade - subclass all the classes that
> wxGlade generates, and add your own methods to handle events, set up the
> gui as you want, and (in some rare cases) do some extra initial bindings.
> 
> I typically set wxGlade to generate a file called 'myapp_ui.py', and I
> write my own 'myapp.py', in which I 'import myapp_ui', then subclass the
> wxGlade-generated classes in 'myapp_ui'.
> 
> Works a treat for me, and saves a lot of time compared to hand-coding the
> GUI.
> 

I second this approach to using wxGlade, it works really well although I 
have not seen it documented anywhere.

I am not sure if 'aum' meant this, but I let wxGlade generate the event 
methods for me in 'myapp_ui.py' and then override them in 'myapp.py'. 
You have full control over the code in your own 'myapp.py' and you 
rarely have to mess with 'myapp_ui.py' so you can let wxGlade keep 
control of that file.

wxGlade does not support GridBag sizers, which is a shame, but otherwise 
  its support for sizers is good.  I find it easy to use sizers in 
wxGlade.  Pythoncard does not yet support sizers and I have never been 
able to get Boa's sizers to work consistently.

wxGlade is a bit flaky on Windows but if you save often then it is OK.

I was unsure about it at first, but now I like wxGlade's notion of not 
being a full-up IDE as it lets me choose the rest of the tool chain. 
wxGlade will play happily with anything: vim, emacs, Eclipse/Pydev, 
etc...


Don.

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


Re: wxPython GUI designer

2006-06-19 Thread aum
On Sun, 18 Jun 2006 13:09:08 -0700, diffuser78 wrote:

> I am newbie learning wxPython. I tried using GUI designer called
> wxGlade. When it generated code I couldnt get the same level of
> flexibility as writing the code by oneself.
> 
> Any view on what you think about using GUI designer tools.
> 
> Every help is appreciated.

I use wxGlade all the time, and find it's great. My only complaint is that
there are some controls it doesn't know about, such as wx.HtmlWindow, and
I have to add these controls in wxGlade as 'custom' controls. But to me,
that's pretty minor.

To get the best out of wxGlade, you really need to subclass the classes
that wxGlade generates. Don't look to wxGlade to write your app for you.
It's there for gui structure (the 'view'), and it's up to you to flesh out
the 'controller' side.

So I'd recommend you persist with wxGlade - subclass all the classes that
wxGlade generates, and add your own methods to handle events, set up the
gui as you want, and (in some rare cases) do some extra initial bindings.

I typically set wxGlade to generate a file called 'myapp_ui.py', and I
write my own 'myapp.py', in which I 'import myapp_ui', then subclass the
wxGlade-generated classes in 'myapp_ui'.

Works a treat for me, and saves a lot of time compared to hand-coding the
GUI.

-- 

Cheers
aum


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


Re: wxPython GUI designer

2006-06-19 Thread Luis M. González

[EMAIL PROTECTED] wrote:
> I am newbie learning wxPython. I tried using GUI designer called
> wxGlade. When it generated code I couldnt get the same level of
> flexibility as writing the code by oneself.
>
> Any view on what you think about using GUI designer tools.
>
> Every help is appreciated.


Try PythonCard.
It's based on wxPython, and it's more higher level than Boa.
Very simple and very easy to learn and use.

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


Re: wxPython GUI designer

2006-06-19 Thread DarkBlue
Take a look at pythoncard , we use it to produce 
database frontends  , but apparently it also can be used
for simple graphics apps and others.
However if you are used to things like the Delphi IDE to build
a gui app , then prepare to shed lots of tears before 
overcoming the initial disbelieve, that there is nothing
better available for python.







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


Re: wxPython GUI designer

2006-06-19 Thread Rony Steelandt
>
>> I am newbie learning wxPython. I tried using GUI designer called
>> wxGlade. When it generated code I couldnt get the same level of
>> flexibility as writing the code by oneself.
>> 
>> Any view on what you think about using GUI designer tools.
>> 
>> Every help is appreciated.
>> 
> Boa is excellent if you stay at a primary level. It's a visual design tool, 
> and it can help you to learn how to manage wx classes. It works on windows 
> and linux as well.
> My understanding of wxglade is that you need skills about sizers to be 
> confident with it. So if you know how to use sizers, you don't really need a 
> tool.
> Regards,
> jm

I use wxDesigner

-- 
---
Rony Steelandt
BuCodi
rony dot steelandt (at) bucodi dot com

Visit the python blog at http://360.yahoo.com/bucodi


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


Re: wxPython GUI designer

2006-06-19 Thread jean-michel bain-cornu
[EMAIL PROTECTED] a écrit :
> I am newbie learning wxPython. I tried using GUI designer called
> wxGlade. When it generated code I couldnt get the same level of
> flexibility as writing the code by oneself.
> 
> Any view on what you think about using GUI designer tools.
> 
> Every help is appreciated.
> 
Boa is excellent if you stay at a primary level. It's a visual design 
tool, and it can help you to learn how to manage wx classes. It works on 
windows and linux as well.
My understanding of wxglade is that you need skills about sizers to be 
confident with it. So if you know how to use sizers, you don't really 
need a tool.
Regards,
jm
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: wxPython GUI designer

2006-06-18 Thread diffuser78
Are there any good commercial project built with wx ? I am a newbie and
a have to write a small application in Python. I was wondering which
optin would be best for me in terms of least learning curve and getting
the final product ASAP.

Thanks

DH wrote:

> In my opinion none of the wx* or gtk* related designer tools are
> any good.  QT Designer (which can be used with pyqt) is excellent,
> however, you probably would only want to use that if you are
> developing non-commercial software or else can afford a commercial
> license from Trolltech.  For wx and gtk projects, I usually just write
> the gui by hand like you have already been doing.

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


Re: wxPython GUI designer

2006-06-18 Thread DH
[EMAIL PROTECTED] wrote:
> I am newbie learning wxPython. I tried using GUI designer called
> wxGlade. When it generated code I couldnt get the same level of
> flexibility as writing the code by oneself.
> 
> Any view on what you think about using GUI designer tools.
> 
> Every help is appreciated.
> 

In my opinion none of the wx* or gtk* related designer tools are
any good.  QT Designer (which can be used with pyqt) is excellent,
however, you probably would only want to use that if you are
developing non-commercial software or else can afford a commercial
license from Trolltech.  For wx and gtk projects, I usually just write 
the gui by hand like you have already been doing.
-- 
http://mail.python.org/mailman/listinfo/python-list


wxPython GUI designer

2006-06-18 Thread diffuser78
I am newbie learning wxPython. I tried using GUI designer called
wxGlade. When it generated code I couldnt get the same level of
flexibility as writing the code by oneself.

Any view on what you think about using GUI designer tools.

Every help is appreciated.

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