where to

Hello all!

Just a question from a wxPython rookie!

I read somewhere about a wxPython book being written? Could that actually be so?

I find it kind of hard starting with wxPython, all I can do is read demoapps, since the wiki ends too early.
(Like writing editable grids connected to my MySQL instance is'nt there :wink:

Anywhere, patience patience is the key - I'l be enlightened one day I suppose, but it feels like a book could help!

Best regards
Stefan

Sweden

路路路

--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

Stefan Elwesthal wrote:

Hello all!

Just a question from a wxPython rookie!

I read somewhere about a wxPython book being written? Could that actually be so?

Yes. We are nearly completed with the manuscript and then it is on to final reviews and edits and etc., and then waiting for the publisher to do their magic and turn it into a book.

路路路

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

I'm in a similar situation: new to both wx and gui app programming in general. I'm also
about to leap into editable grids, representing db cursor data. Should be interesting :wink:

Most promising doc I've found so far for the grid is in the demo: "wx.Grid using a custom
Table, with non-string data." But since I can only devote about 25% of my time to this
project, you're sure to get your app working sooner ...

Good luck!
Scott

路路路

On Mar 17, 2005, at 10:01 AM, Stefan Elwesthal wrote:

Hello all!

Just a question from a wxPython rookie!

I read somewhere about a wxPython book being written? Could that actually be so?

I find it kind of hard starting with wxPython, all I can do is read demoapps, since the wiki ends too early.
(Like writing editable grids connected to my MySQL instance is'nt there :wink:

Anywhere, patience patience is the key - I'l be enlightened one day I suppose, but it feels like a book could help!

Best regards
Stefan

Sweden
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Hi Stefan,

Stefan Elwesthal wrote:

Hello all!

Just a question from a wxPython rookie!

I read somewhere about a wxPython book being written? Could that actually be so?

I find it kind of hard starting with wxPython, all I can do is read demoapps, since the wiki ends too early.
(Like writing editable grids connected to my MySQL instance is'nt there :wink:

That's is your opportunity :wink:

路路路

Anywhere, patience patience is the key - I'l be enlightened one day I suppose, but it feels like a book could help!

Best regards
Stefan

Sweden

Hi Scott,

Have you seen this:

http://wiki.wxpython.org/index.cgi/wxGrid_20Manual

Actually, you might want to do a search on 'grid' on the wiki page.

See you
Werner

Scott Frankel wrote:

路路路

I'm in a similar situation: new to both wx and gui app programming in general. I'm also
about to leap into editable grids, representing db cursor data. Should be interesting :wink:

Most promising doc I've found so far for the grid is in the demo: "wx.Grid using a custom
Table, with non-string dataof my time to this
project, you're sure to get your app working sooner ...

Good luck!
Scott

On Mar 17, 2005, at 10:01 AM, Stefan Elwesthal wrote:

Hello all!

Just a question from a wxPython rookie!

I read somewhere about a wxPython book being written? Could that actually be so?

I find it kind of hard starting with wxPython, all I can do is read demoapps, since the wiki ends too early.
(Like writing editable grids connected to my MySQL instance is'nt there :wink:

Anywhere, patience patience is the key - I'l be enlightened one day I suppose, but it feels like a book could help!

Best regards
Stefan

Sweden
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

I had not. Thanks for the reference!
Scott

路路路

On Mar 17, 2005, at 12:06 PM, Werner F. Bruhin wrote:

Hi Scott,

Have you seen this:

http://wiki.wxpython.org/index.cgi/wxGrid_20Manual

Actually, you might want to do a search on 'grid' on the wiki page.

See you
Werner

Scott Frankel wrote:

I'm in a similar situation: new to both wx and gui app programming in general. I'm also
about to leap into editable grids, representing db cursor data. Should be interesting :wink:

Most promising doc I've found so far for the grid is in the demo: "wx.Grid using a custom
Table, with non-string dataof my time to this
project, you're sure to get your app working sooner ...

Good luck!
Scott

On Mar 17, 2005, at 10:01 AM, Stefan Elwesthal wrote:

Hello all!

Just a question from a wxPython rookie!

I read somewhere about a wxPython book being written? Could that actually be so?

I find it kind of hard starting with wxPython, all I can do is read demoapps, since the wiki ends too early.
(Like writing editable grids connected to my MySQL instance is'nt there :wink:

Anywhere, patience patience is the key - I'l be enlightened one day I suppose, but it feels like a book could help!

Best regards
Stefan

Sweden
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

You should check out Dabo. It's a 3-tier application framework that uses MySQL (among others) for the data store and wxPython (for now; others to follow) for the UI. Grids in Dabo can be created in one line of code from a MySQL cursor.

      ___/
     /
    __/
   /
  ____/
  Ed Leafe
  http://leafe.com/
  http://dabodev.com/
  Come to PyCon!!!! http://www.python.org/pycon/2005/

路路路

On Mar 17, 2005, at 1:01 PM, Stefan Elwesthal wrote:

I find it kind of hard starting with wxPython, all I can do is read demoapps, since the wiki ends too early.
(Like writing editable grids connected to my MySQL instance is'nt there :wink:

<snip/>

Yes. We are nearly completed with the manuscript and then it is on to
final reviews and edits and etc., and then waiting for the publisher to
do their magic and turn it into a book.

Any chance of an online copy so we can all help you review it?

- --
  Nigel Rowe
  rho@swiftdsl.com.au

路路路

On Fri, 18 Mar 2005 05:26, Robin Dunn wrote:

Stefan Elwesthal wrote:

Hello all!

Just a question from a wxPython rookie!

I read somewhere about a wxPython book being written? Could that actually

be so?

I find it kind of hard starting with wxPython, all I can do is read

demoapps, since the wiki ends too early.

(Like writing editable grids connected to my MySQL instance is'nt there :wink:

I have developed an editable grid for my application, and I am happy to
share some ideas. However, it is rather long and complicated, and it is
tightly embedded into my app, so it will not be easy to extract the essence
of it and create a wiki page.

Here are some of the features I have incorporated.

1. Tab or right arrow from the last column takes you to the first column of
the next row. Shift-tab or left arrow from the first column takes you to the
last column of the previous row.

2. Detect when entering or leaving a row, either through keyboard entry or
mouse click. Ability to call a function at each point, typically to read a
database row when entering, and write the row when leaving. The 'leaving'
function can return a flag to prevent leaving the row if certain tests are
not passed.

3. Detect when any cell 'gains focus' or 'loses focus', either through
keyboard entry or mouse click, and call a function.

I am sure there are others, but this is what I can remember off hand. Let me
know if you would like details of any of them.

Very briefly, the trick to achieving 2 and 3 is to maintain your own
variable for the currently active cell, and detect when a new cell is
activated. You can then compare the two and take whatever action is
required.

Frank Millman