Re: GUIs - a modest proposal

2012-04-08 Thread lkcl
On Mar 2, 6:42 am, lkcl wrote: >  ah.  right.  you're either referring to pyjampiler (in the pyjs > world) or to > [...] >  the former actually got taken to an extreme by a group who embedded >  the pyjs 0.5 compiler into their application environment, i keep > forgetting >  what it's called.

Re: GUIs - a modest proposal

2012-03-01 Thread lkcl
folks hi, apologies for picking this up so late - it's only when i find these things through random searches that i encounter the occasional post. At some point wa in the distant past, g4b wrote: > On the subject of the gui discussion mentioned here last year, > which you get lead to if you r

Re: GUIs - A Modest Proposal

2011-10-08 Thread g4b
On the subject of the gui discussion mentioned here last year, which you get lead to if you read around in the pyjamas docs, I have to admit, since I know both development types (gwt, wx, qt) and (django, jquery), I have to state the fact, that pyjamas should also consider bonding with native ja

Re: GUIs - A Modest Proposal

2010-06-18 Thread Matt
On 06/17/2010 08:50 AM, Grant Edwards wrote: On 2010-06-16, Matt wrote: On 06/05/2010 09:22 PM, ant wrote: PyQt is tied to one platform. Several posters have asked for support for or clarification of this claim of yours. Let me guess... The one platform it's tied to is Qt? good answ

Re: GUIs - A Modest Proposal

2010-06-18 Thread est
> > Having said all that, I would like to eliminate some of the > depedencie. At some point I'll probably re-do the Windows > implementation using ctypes, because pywin32/mfc is hindering > more than helping in some areas. I'm also thinking about ways > to interface directly with Cocoa without goin

Re: GUIs - A Modest Proposal

2010-06-18 Thread Kevin Walzer
On 6/18/10 6:16 PM, Jeff Hobbs wrote: Is there a good web-site / tutorial / book / etc that you would recommend for getting a good handle on Tk 8.5? Most of the Tk 8.5 references will be Tcl-based, but one that is cross- language is Mark Roseman's www.tkdocs.com. For books, there is John Ous

Re: GUIs - A Modest Proposal

2010-06-18 Thread Jeff Hobbs
On Jun 18, 2:59 pm, Ethan Furman wrote: > Jeff Hobbs wrote: > > On Jun 6, 2:11 pm, rantingrick wrote: > >> On Jun 6, 2:06 pm, Mark Lawrence wrote: > >>> On 06/06/2010 16:31, rantingrick wrote: > On Jun 5, 9:22 pm, ant  wrote: > > I ask the group; should we try to create a new GUI for Py

Re: GUIs - A Modest Proposal

2010-06-18 Thread Ethan Furman
Jeff Hobbs wrote: On Jun 6, 2:11 pm, rantingrick wrote: On Jun 6, 2:06 pm, Mark Lawrence wrote: On 06/06/2010 16:31, rantingrick wrote: On Jun 5, 9:22 pm, ant wrote: I ask the group; should we try to create a new GUI for Python, with the following properties?: - Pythonic - The default GUI

Re: GUIs - A Modest Proposal

2010-06-18 Thread Jeff Hobbs
On Jun 6, 2:11 pm, rantingrick wrote: > On Jun 6, 2:06 pm, Mark Lawrence wrote: > > On 06/06/2010 16:31, rantingrick wrote: > > > > On Jun 5, 9:22 pm, ant  wrote: > > > >> I ask the group; should we try to create a new GUI for Python, with > > >> the following > > >> properties?: > > > >> - Pytho

Re: GUIs - A Modest Proposal

2010-06-18 Thread Jeff Hobbs
On Jun 10, 1:13 am, "Martin v. Loewis" wrote: > > That said, PerlTk didn't use Tcl did it? > > If you are referring tohttp://search.cpan.org/~srezic/Tk-804.028/- > this also has a full Tcl interpreter, in pTk/mTk, and uses Tcl_Interp > and Tcl_Obj throughout. From the Perl/Tk FAQ (*): > > "However

Re: GUIs - A Modest Proposal

2010-06-17 Thread Grant Edwards
On 2010-06-16, Matt wrote: > On 06/05/2010 09:22 PM, ant wrote: > >> PyQt is tied to one platform. > > > Several posters have asked for support for or clarification of this > claim of yours. Let me guess... The one platform it's tied to is Qt? -- Grant Edwards grant.b.edwards

Re: GUIs - A Modest Proposal

2010-06-16 Thread Matt
On 06/05/2010 09:22 PM, ant wrote: PyQt is tied to one platform. Several posters have asked for support for or clarification of this claim of yours. On its face it seems to be nonsense. So just what are you talking about? -- http://mail.python.org/mailman/listinfo/python-list

Re: GUIs - A Modest Proposal

2010-06-16 Thread Cameron Laird
On Jun 6, 5:49 pm, Kevin Walzer wrote: . [much wisdom, particularly in regard to Tkinter] . . > > The very diversity of GUI toolkits came into effect because Python is > very easy to extend and integrate with other C/C++ libraries. Writing a > GUI toolkit from scratch is much, muc

Re: GUIs - A Modest Proposal

2010-06-16 Thread lkcl
On Jun 15, 1:07 pm, superpollo wrote: > mind you, i am no python expert, but i really look forward to seeing > pyjamas in the stdlib :-) anytime soon? *choke* :) ... weelll... let me answer that as if it's serious. you'd have to: a) define http://python.org as including a javascript target

Re: GUIs - A Modest Proposal

2010-06-16 Thread lkcl
On Jun 15, 2:47 pm, Steven D'Aprano wrote: > On Tue, 15 Jun 2010 05:57:13 -0700, lkcl wrote: > >  to be honest, if you don't put any effort in to use the appropriate > > "lovely-prettiness" panels you can end up with something truly "90s- > > esque".  but with a little effort you can do round-edge

Re: GUIs - A Modest Proposal

2010-06-15 Thread Steven D'Aprano
On Tue, 15 Jun 2010 05:57:13 -0700, lkcl wrote: > to be honest, if you don't put any effort in to use the appropriate > "lovely-prettiness" panels you can end up with something truly "90s- > esque". but with a little effort you can do round-edged lovely colour > tabs: >http://pyjs.org/exampl

Re: GUIs - A Modest Proposal

2010-06-15 Thread superpollo
lkcl ha scritto: ... That sounds too good to be true. yup, it does. how can one person, a free software developer, have come up with something like "The Holy Grail" of software development, right? when all the money in the world, from ibm, adobe, microsoft, google, nokia and so on _hasn't_ m

Re: GUIs - A Modest Proposal

2010-06-15 Thread lkcl
On Jun 14, 9:00 pm, Stephen Hansen wrote: > On 6/14/10 1:00 PM, lkcl wrote: > >  what we typically recommend is that _even_ though you're going to run > > the application "desktop" - as pure python - you still use JSONRPC [or > > XmlHTTPRequest if JSONRPC is overkill].  so, _even_ though it's a >

Re: GUIs - A Modest Proposal

2010-06-15 Thread Gregory Ewing
Stephen Hansen wrote: unless I've been long mistaken in pack not having a proportional option. A combination of "fill/expand" and "anchor" do most of everything else, though, that wx's flags and alignment options. It's a while since I used tkinter, but if I recall correctly, the grid manager do

Re: GUIs - A Modest Proposal

2010-06-15 Thread Mark Lawrence
On 15/06/2010 08:39, rantingrick wrote: On Jun 15, 1:41 am, Stephen Hansen wrote: On 6/14/10 9:08 PM, Stephen Hansen wrote: You're an *beep*. For the record, this was inappropriate. A moment's frustration after a long day does not excuse belligerence, even if unnecessarily provoked. I apolo

Re: GUIs - A Modest Proposal

2010-06-15 Thread Albert van der Horst
In article <80a7b823-6acb-4ac9-a273-525054265...@k25g2000prh.googlegroups.com>, ant wrote: > >My concern is simple: I think that Python is doomed to remain a minor >language unless we crack this problem. Capitalist fallacy: If I'm not a market leader, I'm a failure and my Mother will laugh at m

Re: GUIs - A Modest Proposal

2010-06-15 Thread rantingrick
On Jun 15, 1:41 am, Stephen Hansen wrote: > On 6/14/10 9:08 PM, Stephen Hansen wrote: > > You're an *beep*. > > For the record, this was inappropriate. A moment's frustration after a > long day does not excuse belligerence, even if unnecessarily provoked. > > I apologize. No problem Stephen, as y

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 9:08 PM, Stephen Hansen wrote: > On 6/14/10 8:31 PM, rantingrick wrote: >> On Jun 14, 9:41 pm, Stephen Hansen wrote: >> >>> I wasn't aware of [row|column]configure, no: however, I am dubious of >>> how it directly applies. >> >> Maybe you should become more aware of a subject before you

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 10:35 PM, rantingrick wrote: > On Jun 14, 11:08 pm, Stephen Hansen wrote: > > >> Does not perform to spec. Quote, "Inside of A, there are four items in a >> vertical line. The bottom which takes up half of the total vertical >> space, and the top three share the rest. > > No problem,

Re: GUIs - A Modest Proposal

2010-06-14 Thread rantingrick
On Jun 14, 11:08 pm, Stephen Hansen wrote: > Does not perform to spec. Quote, "Inside of A, there are four items in a > vertical line. The bottom which takes up half of the total vertical > space, and the top three share the rest. No problem, check this out... import Tkinter as tk app = tk.Tk(

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 9:26 PM, rantingrick wrote: > On Jun 14, 11:08 pm, Stephen Hansen wrote: > >>> Maybe you should become more aware of a subject before you start >>> running your mouth about it, eh? >> >> You know what? > > You know what Stephen, just calm down a little. I just pick on you > because y

Re: GUIs - A Modest Proposal

2010-06-14 Thread rantingrick
On Jun 14, 11:08 pm, Stephen Hansen wrote: > > Maybe you should become more aware of a subject before you start > > running your mouth about it, eh? > > You know what? You know what Stephen, just calm down a little. I just pick on you because you're one of the few people here that i enjoy argui

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 9:08 PM, Stephen Hansen wrote: > The code is at: http://ixokai.io/get/layout-wx.py_ If you've already downloaded this, you have to do so again; I uploaded the wrong one on accident. -- Stephen Hansen ... Also: Ixokai ... Mail: me+list/python (AT) ixokai (DOT) io ... Blog:

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 8:31 PM, rantingrick wrote: > On Jun 14, 9:41 pm, Stephen Hansen wrote: > >> I wasn't aware of [row|column]configure, no: however, I am dubious of >> how it directly applies. > > Maybe you should become more aware of a subject before you start > running your mouth about it, eh? You k

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 8:04 PM, AD. wrote: >> Much, much, much Googling led me to try many things to get it just >> right, and all bemoaned the lack of a solid way to vertically center: >> all the while using essentially similar methods to horizontally center. > > I'd recommend the book "Pro CSS and HTML Desi

Re: GUIs - A Modest Proposal

2010-06-14 Thread rantingrick
On Jun 14, 9:41 pm, Stephen Hansen wrote: > I wasn't aware of [row|column]configure, no: however, I am dubious of > how it directly applies. Maybe you should become more aware of a subject before you start running your mouth about it, eh? > Consider this relatively simple user interface > layo

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 15, 1:58 pm, Stephen Hansen wrote: > Very nice. And interesting. "position: absolute" there is a mystery to > me and seems to be key, I'm not sure entirely what it is doing to the > layout manager in that scenario, but it seems to do the trick. The Cliff Notes: position: absolute allows d

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 7:22 PM, rantingrick wrote: > On Jun 14, 6:27 pm, Stephen Hansen wrote: > >> From a functionality perspective, "pack" and "grid" are both distinctly >> less capable then wx sizers. > > Are you just flapping your gums or can you prove it Stephen? I will > accept any "Pepsi Challenge" y

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 15, 1:21 pm, pyt...@bdurham.com wrote: > Anton, > > Very nice. > > As an aside: I don't think you need to explicitly set your image size, Yeah, I only did that because I was assuming the image path would actually be broken (and it was for me too) - it was just to 'simulate' a 100x100 image

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 7:22 PM, rantingrick wrote: > On Jun 14, 6:27 pm, Stephen Hansen wrote: > [1] But please, make sure to post code that will run as-is. The last > block of wx code you posted is missing an application instance and > will not run without modification. There are noobs watching and we to > p

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 7:05 PM, rantingrick wrote: > """The Place geometry manager is the simplest of the three general > geometry managers provided in Tkinter. It allows you explicitly set > the position and size of a window, either in absolute terms, or > relative to another window.""" > >> I've no interest

Re: GUIs - A Modest Proposal

2010-06-14 Thread rantingrick
On Jun 14, 6:27 pm, Stephen Hansen wrote: > From a functionality perspective, "pack" and "grid" are both distinctly > less capable then wx sizers. Are you just flapping your gums or can you prove it Stephen? I will accept any "Pepsi Challenge" you can muster in Wx code and echo that same capabil

Re: GUIs - A Modest Proposal

2010-06-14 Thread rantingrick
On Jun 14, 6:27 pm, Stephen Hansen wrote: > I am familiar with grid, pack and place. Apparently not, read on... > Are you arguing from an API point of view, or a functionality point of > view? I going to argue that Tkinter offers the most "elegant" interface for geometry management. And i'll l

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 6:02 PM, AD. wrote: > On Jun 15, 12:06 pm, Stephen Hansen wrote: >> "Arbitrarily sized" was the key point ;-) In that, you set the sizes of >> the div's explicitly. > > As I said to Ed, I think you missed why I included the exact same > image in two divs of different sizes. That was to

Re: GUIs - A Modest Proposal

2010-06-14 Thread python
Anton, Very nice. As an aside: I don't think you need to explicitly set your image size, eg. I found your examples worked well with the following CSS properties removed from the img specification: width:100px; height: 100px; Malcolm -- http://mail.python.org/mailman/listinfo/python-list

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 15, 1:03 pm, Ed Keith wrote: > Nice! I've been looking for that trick for some time. > > Thank you, A lot of people (including pro web designers even) aren't really aware of what CSS can actually do. Part of the problem is that everyone only learnt the semi working subset that wouldn't fal

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 15, 12:06 pm, Stephen Hansen wrote: > "Arbitrarily sized" was the key point ;-) In that, you set the sizes of > the div's explicitly. As I said to Ed, I think you missed why I included the exact same image in two divs of different sizes. That was to show it was still centered no matter wha

Re: GUIs - A Modest Proposal

2010-06-14 Thread Ed Keith
Nice! I've been looking for that trick for some time. Thank you, -EdK Ed Keith e_...@yahoo.com Blog: edkeith.blogspot.com --- On Mon, 6/14/10, AD. wrote: > From: AD. > Subject: Re: GUIs - A Modest Proposal > To: python-list@python.org > Date: Monday, June 14, 2010, 8:

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 15, 11:59 am, Ed Keith wrote: > But that is in a fixed size field, That's why I used the same image definition in two different sized divs to show that the images position wasn't determined by the divs size. > can you make the height change based on the height of the browser window, and

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 4:51 PM, AD. wrote: > On Jun 14, 2:34 am, Stephen Hansen wrote: >> HTML+CSS have some very strong advantages. Simplicity is not one of >> them. Precision web design these days is a dark art. (Go center an image >> vertically and horizontally in an arbitrary sized field!) > > I agree, a

Re: GUIs - A Modest Proposal

2010-06-14 Thread Ed Keith
--- On Mon, 6/14/10, AD. wrote: > From: AD. > Subject: Re: GUIs - A Modest Proposal > To: python-list@python.org > Date: Monday, June 14, 2010, 7:51 PM > On Jun 14, 2:34 am, Stephen Hansen > > wrote: > > HTML+CSS have some very strong advantages. Simplicity > is

Re: GUIs - A Modest Proposal

2010-06-14 Thread AD.
On Jun 14, 2:34 am, Stephen Hansen wrote: > HTML+CSS have some very strong advantages. Simplicity is not one of > them. Precision web design these days is a dark art. (Go center an image > vertically and horizontally in an arbitrary sized field!) I agree, and I know that's a rhetorical question,

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 3:44 PM, rantingrick wrote: > On Jun 14, 2:30 pm, Stephen Hansen wrote: > > Stephan speaking of Wx geometry managers... > >> Ahem. /Rant. I'm not saying its the best layout system in the world, but >> like your DOM/HTML example -- its resolution independant (and >> cross-platform), so

Re: GUIs - A Modest Proposal

2010-06-14 Thread rantingrick
On Jun 14, 2:16 pm, lkcl wrote: > On Jun 14, 5:57 pm, rantingrick wrote: > > > I'll have to very much agree with this assessment Stephan. There > > exists not elegant API for these "web" UI's. The people over at > > SketchUp (my second love after python) have this problem on a daily > > bases wit

Re: GUIs - A Modest Proposal

2010-06-14 Thread rantingrick
On Jun 14, 2:30 pm, Stephen Hansen wrote: Stephan speaking of Wx geometry managers... > Ahem. /Rant. I'm not saying its the best layout system in the world, but > like your DOM/HTML example -- its resolution independant (and > cross-platform), so you can start resizing things and changing the >

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 14, 7:30 pm, Stephen Hansen wrote: > On 6/14/10 11:47 AM, lkcl wrote: > > > On Jun 14, 4:17 pm, Stephen Hansen wrote: > >  yes.  that's effectively what pyjs applications are about: as much > > HTML/CSS as you can stand, then _absolute_ pure javascript from there- > > on in... only using a

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 1:00 PM, lkcl wrote: > On Jun 14, 7:30 pm, Stephen Hansen wrote: >> On 6/14/10 11:47 AM, lkcl wrote: >> wx has two separate containment hierarchies. The first is a >> hierarchical, parent->child relationship. This is what a lot of people >> think is its layout: but its not. It has nothi

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 14, 7:30 pm, Stephen Hansen wrote: > On 6/14/10 11:47 AM, lkcl wrote: > > > On Jun 14, 4:17 pm, Stephen Hansen wrote: > >  yes.  that's effectively what pyjs applications are about: as much > > HTML/CSS as you can stand, then _absolute_ pure javascript from there- > > on in... only using a

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 12:16 PM, lkcl wrote: > from thereon in, you DO NOT do *any* HTML page "GETs": it's a one- > time static HTML/JS load, and THAT's IT. > > the only further interaction that we recommend is first and foremost > JSONRPC (and so, out of the 30 or so pyjamas wiki pages, about 10 of > them

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 11:47 AM, lkcl wrote: > On Jun 14, 4:17 pm, Stephen Hansen wrote: > yes. that's effectively what pyjs applications are about: as much > HTML/CSS as you can stand, then _absolute_ pure javascript from there- > on in... only using a compiler (python-to-javascript) so as not to go > comp

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 14, 5:57 pm, rantingrick wrote: > I'll have to very much agree with this assessment Stephan. There > exists not elegant API for these "web" UI's. The people over at > SketchUp (my second love after python) have this problem on a daily > bases with WebDialogs. Even the javascript gurus have

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 14, 5:57 pm, rantingrick wrote: > On Jun 14, 11:17 am, Stephen Hansen wrote: > > > And the recursive flow of the DOM is powerful > > This style of speaking reminds me of our former hillbilly president > (no not Clinton, he was the eloquent hillbilly!) the one with an IQ of 185? > No i a

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 14, 4:17 pm, Stephen Hansen wrote: > >> Did you just call DOM manipulation simple with a straight face? I don't > >> think I've ever seen that before. > > >  *lol* - wait for it: see below.  summary: once you start using high- > > level widgets: yes.  without such, yeah you're damn right.

Re: GUIs - A Modest Proposal

2010-06-14 Thread Ricardo Aráoz
On 14/06/2010 02:57 p.m., rantingrick wrote: On Jun 14, 11:17 am, Stephen Hansen wrote: And the recursive flow of the DOM is powerful This style of speaking reminds me of our former hillbilly president (no not Clinton, he was the eloquent hillbilly!) No i am referring to good old "Ge

Re: GUIs - A Modest Proposal

2010-06-14 Thread rantingrick
On Jun 14, 11:17 am, Stephen Hansen wrote: > And the recursive flow of the DOM is powerful This style of speaking reminds me of our former hillbilly president (no not Clinton, he was the eloquent hillbilly!) No i am referring to good old "George Dubya". He left us with so many juicy sound bites..

Re: GUIs - A Modest Proposal

2010-06-14 Thread Stephen Hansen
On 6/14/10 7:15 AM, lkcl wrote: > On Jun 13, 2:34 pm, Stephen Hansen wrote: >> On 6/13/10 4:29 AM, lkcl wrote: >> >>> it's in fact how the entire pyjamas UI widget set is created, by >>> doing nothing more than direct manipulation of bits of DOM and direct >>> manipulation of the style properties

Re: GUIs - A Modest Proposal

2010-06-14 Thread lkcl
On Jun 13, 2:34 pm, Stephen Hansen wrote: > On 6/13/10 4:29 AM, lkcl wrote: > > >  it's in fact how the entire pyjamas UI widget set is created, by > > doing nothing more than direct manipulation of bits of DOM and direct > > manipulation of the style properties.  really really simple. > > Did you

Re: GUIs - A Modest Proposal

2010-06-13 Thread Mark Lawrence
On 12/06/2010 14:44, lkcl wrote: On Jun 6, 10:49 pm, Kevin Walzer wrote: - Pythonic - The default GUI (so it replaces Tkinter) - It has the support of the majority of the Python community - Simple and obvious to use for simple things - Comprehensive, for complicated things - Cross-platform - Lo

Re: GUIs - A Modest Proposal

2010-06-13 Thread Terry Reedy
On 6/13/2010 7:20 AM, lkcl wrote: I'm far from convinced that HTML and CSS are the One True Way to design GUIs these days, if you have "HTML the fileformat" and "CSS the fileformat" in mind when saying that, i can tell you right now that they're not. fortunately, with the W3C DOM functions e

Re: GUIs - A Modest Proposal

2010-06-13 Thread lkcl
On Jun 13, 3:52 pm, Arndt Roger Schneider wrote: > lkcl schrieb: > > > [snip] > > > it's the exact same thing for SVG image file-format.  i'm > >_definitely_ not convinced that "SVG the image fileformat" is The One > >True Way to design images - but i'm equally definitely convinced of > >the power

Re: GUIs - A Modest Proposal

2010-06-13 Thread Arndt Roger Schneider
lkcl schrieb: [snip] it's the exact same thing for SVG image file-format. i'm _definitely_ not convinced that "SVG the image fileformat" is The One True Way to design images - but i'm equally definitely convinced of the power of SVG manipulation libraries which allow for the creation SVG image

Re: GUIs - A Modest Proposal

2010-06-13 Thread Michael Torrie
On 06/13/2010 05:29 AM, lkcl wrote: > really? drat. i could have done with knowing that at the time. > hmmm, perhaps i will return to the pyqt4 port after all. We're now wandering well off-topic here, but then again this thread was never really on any particular topic. I have to say I'm really

Re: GUIs - A Modest Proposal

2010-06-13 Thread Stephen Hansen
On 6/13/10 4:29 AM, lkcl wrote: > it's in fact how the entire pyjamas UI widget set is created, by > doing nothing more than direct manipulation of bits of DOM and direct > manipulation of the style properties. really really simple. Did you just call DOM manipulation simple with a straight face?

Re: GUIs - A Modest Proposal

2010-06-13 Thread lkcl
On Jun 13, 9:01 am, Jeremy Sanders wrote: > lkcl wrote: > >  * in neither gtk nor qt does there exist an "auto-layout" widget > > that's equivalent to putting some DOM objects into a , > > to "flow" widgets that wrap around.  yes, you can put words into a > > Label and get them to flow, but not _

Re: GUIs - A Modest Proposal

2010-06-13 Thread lkcl
On Jun 13, 3:34 am, Gregory Ewing wrote: > lkcl wrote: > >  * in neither gtk nor qt does there exist an "auto-layout" widget > > that's equivalent to putting some DOM objects into a , > > to "flow" widgets that wrap around. > > You essentially seem to be complaining here that pqyqt and > pygtk ar

Re: GUIs - A Modest Proposal

2010-06-13 Thread Jeremy Sanders
lkcl wrote: > * in neither gtk nor qt does there exist an "auto-layout" widget > that's equivalent to putting some DOM objects into a , > to "flow" widgets that wrap around. yes, you can put words into a > Label and get them to flow, but not _widgets_. I'm pretty sure in PyQt4 that you can der

Re: GUIs - A Modest Proposal

2010-06-12 Thread Stephen Hansen
On 6/12/10 8:22 PM, Gregory Ewing wrote: > Terry Reedy wrote: > >> Would it be possible to write a program that converts a module that >> uses ctypes to interface to a dll to a corresponding C extension >> program that would compile to a drop in replacement extension module? > > Probably, but I d

Re: GUIs - A Modest Proposal

2010-06-12 Thread Stephen Hansen
On 6/12/10 8:34 PM, Gregory Ewing wrote: > lkcl wrote: > >> * in neither gtk nor qt does there exist an "auto-layout" widget >> that's equivalent to putting some DOM objects into a , >> to "flow" widgets that wrap around. > > You essentially seem to be complaining here that pqyqt and > pygtk ar

Re: GUIs - A Modest Proposal

2010-06-12 Thread Gregory Ewing
lkcl wrote: * in neither gtk nor qt does there exist an "auto-layout" widget that's equivalent to putting some DOM objects into a , to "flow" widgets that wrap around. You essentially seem to be complaining here that pqyqt and pygtk are not HTML. They have their own auto-layout mechanisms th

Re: GUIs - A Modest Proposal

2010-06-12 Thread Gregory Ewing
Terry Reedy wrote: Would it be possible to write a program that converts a module that uses ctypes to interface to a dll to a corresponding C extension program that would compile to a drop in replacement extension module? Probably, but I don't see how that could be done automatically in a way

Re: GUIs - A Modest Proposal

2010-06-12 Thread Martin v. Loewis
Would it be possible to write a program that converts a module that uses ctypes to interface to a dll to a corresponding C extension program that would compile to a drop in replacement extension module? If implemented at all, I think the ctypes implementation itself could do that. I.e. create al

Re: GUIs - A Modest Proposal

2010-06-12 Thread Martin v. Loewis
Am 12.06.2010 17:33, schrieb Stephen Hansen: On 6/12/10 12:21 AM, Martin v. Loewis wrote: Otherwise it makes certain windows-workarounds very problematic. You basically /have/ to write a C extension :| That's not problematic at all, for the standard library. Just write that C extension. Come

Re: GUIs - A Modest Proposal

2010-06-12 Thread geremy condra
On Sat, Jun 12, 2010 at 10:32 AM, Terry Reedy wrote: > On 6/12/2010 3:21 AM, Martin v. Loewis wrote: >>> >>> Yeah. I get the policy in general, a proliferation of ctypes stuff could >>> be very bad -- but if code is very careful with type-checking and stuff, >>> it should be possible to get an exc

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 12, 7:29 pm, Terry Reedy wrote: > On 6/12/2010 9:26 AM, lkcl wrote: > > > [ye gods, i think this is the largest thread i've ever seen, > > For python-list, it is possibly the longest this year, but definitely > not of all time ;-) oh dearie me... > >   yep.  that's why i ported pyjamas,

Re: GUIs - A Modest Proposal

2010-06-12 Thread Terry Reedy
On 6/12/2010 9:26 AM, lkcl wrote: [ye gods, i think this is the largest thread i've ever seen, For python-list, it is possibly the longest this year, but definitely not of all time ;-) yep. that's why i ported pyjamas, which was a web-only/browser-only UI toolkit, to the desktop. it's a

Re: GUIs - A Modest Proposal

2010-06-12 Thread Terry Reedy
On 6/12/2010 3:21 AM, Martin v. Loewis wrote: Yeah. I get the policy in general, a proliferation of ctypes stuff could be very bad -- but if code is very careful with type-checking and stuff, it should be possible to get an exception, I'd hope. Only if you can live with the respective module no

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 12, 3:07 pm, Kevin Walzer wrote: > On 6/12/10 9:44 AM, lkcl wrote: > > >   that's not quite true - you can create a simple core which is easily > > extensible with third party contributions to create more comprehensive > > widgets. > > That's exactly the design philosophy of Tk: a small cor

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
> That's the reason why it won't happen. Everybody asking for change is > not willing to lead the effort. Everybody who would be able and might be > willing to lead the change fails to see the need for change. *lol*. i don't know why, but i think that's so hilarious i might make it my .sig. it

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 9, 5:38 pm, rantingrick wrote: > Yes we need a leader. Someone who is not afraid of the naysayers. > Someone with Guido's vision. When the leader emerges, the people will > rally. ... Mahh? Whey'rus ma guuhhn? haww haww :) -- http://mail.python.org/mailman/listinfo/python-list

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 9, 5:16 pm, Ethan Furman wrote: > Gregory Ewing wrote: > > Kevin Walzer wrote: > >> PyGUI ... certainly is *not* a lightweight GUI toolkit that could > >> easily be incorporated into the Python core library--it instead has > >> rather complex dependencies on both other GUI toolkits and Pyth

Re: GUIs - A Modest Proposal

2010-06-12 Thread Stephen Hansen
On 6/12/10 12:21 AM, Martin v. Loewis wrote: >> Otherwise it makes certain windows-workarounds very problematic. You >> basically /have/ to write a C extension :| > > That's not problematic at all, for the standard library. Just write that > C extension. Come now, of course it is. It may not be p

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 9, 11:16 am, ant wrote: > And who are the beginning programmers going to turn into? If we do our > stuff right, Python programmers. If not, > Java or PHP or Visual Basic programmers. Or website designers. Or > worse (is there a worse?). yes - Java programmers who use COM under Win32 to c

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 9, 8:45 am, Lie Ryan wrote: > On 06/09/10 08:20, Martin P. Hellwig wrote: > > I do think it is technically possible to have your own window manager in > > python on x11 but I have no idea if you have equal possibilities on mac > > Doesn't Mac uses an X server as well? not by default, no.

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 9, 5:12 am, rantingrick wrote: > But you know i think it boils down to fear really. He is comfortable > in his life and wishes to keep it as cookie cutter as he can. Any > outside influence must be quashed before these meddling forces can > take hold of him. He is so fearful of seeing the l

Re: GUIs - A Modest Proposal

2010-06-12 Thread Kevin Walzer
On 6/12/10 9:44 AM, lkcl wrote: that's not quite true - you can create a simple core which is easily extensible with third party contributions to create more comprehensive widgets. That's exactly the design philosophy of Tk: a small core widget set (recently expanded somewhat with the ttk wi

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 7, 9:25 pm, Arndt Roger Schneider wrote: > Terry Reedy schrieb: > Forget postscript! > Generate SVG from  a tk canvas or --better-- from tkpath. > Jeszra (from me) generates SVG. There is also a SVG export ... orr, you use a modern web browser engine such as XulRunner 1.9 (the engine behi

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 6, 10:55 pm, ant wrote: > On Jun 6, 2:22 pm, ant wrote:> I get the strong feeling > that nobody is really happy with the state of > > Python GUIs. > > > > What an interesting set of responses I got! > And - even more interesting - how few of them actually seem to think > there is a probl

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
On Jun 6, 10:49 pm, Kevin Walzer wrote: > > - Pythonic > > - The default GUI (so it replaces Tkinter) > > - It has the support of the majority of the Python community > > - Simple and obvious to use for simple things > > - Comprehensive, for complicated things > > - Cross-platform > > - Looks good

Re: GUIs - A Modest Proposal

2010-06-12 Thread lkcl
[ye gods, i think this is the largest thread i've ever seen, but i still feel compelled to wind back to the beginning and spew forth words.] On Jun 6, 2:22 am, ant wrote: > I get the strong feeling that nobody is really happy with the state of > Python GUIs. yep. that's why i ported pyjamas,

Re: GUIs - A Modest Proposal

2010-06-12 Thread Martin v. Loewis
Yeah. I get the policy in general, a proliferation of ctypes stuff could be very bad -- but if code is very careful with type-checking and stuff, it should be possible to get an exception, I'd hope. Only if you can live with the respective module not being available all the time. The issue is n

Re: GUIs - A Modest Proposal

2010-06-11 Thread Mark Lawrence
On 12/06/2010 03:34, Steven D'Aprano wrote: On Sat, 12 Jun 2010 14:13:44 +1200, Gregory Ewing wrote: Steven D'Aprano wrote: This reminds me of time-travellers suffering from "time lag" in the wonderful novel "To Say Nothing Of The Dog" by Connie Willis. One of the many excellent reasons why

Re: GUIs - A Modest Proposal

2010-06-11 Thread Stephen Hansen
On 6/11/10 7:11 PM, Gregory Ewing wrote: > Stephen Hansen wrote: > >> There's very little you can do with pywin32 that you can't do with >> ctypes. > > Except, apparently, use it from another module in the stdlib. :-( > Yeah. I get the policy in general, a proliferation of ctypes stuff could be

Re: GUIs - A Modest Proposal

2010-06-11 Thread Steven D'Aprano
On Sat, 12 Jun 2010 14:13:44 +1200, Gregory Ewing wrote: > Steven D'Aprano wrote: >> This >> reminds me of time-travellers suffering from "time lag" in the >> wonderful novel "To Say Nothing Of The Dog" by Connie Willis. > > One of the many excellent reasons why Guido keeps tight control over the

Re: GUIs - A Modest Proposal

2010-06-11 Thread Gregory Ewing
Steven D'Aprano wrote: This reminds me of time-travellers suffering from "time lag" in the wonderful novel "To Say Nothing Of The Dog" by Connie Willis. One of the many excellent reasons why Guido keeps tight control over the keys to his time machine. Time-lagged joyriding teenagers careening

Re: GUIs - A Modest Proposal

2010-06-11 Thread Gregory Ewing
Stephen Hansen wrote: There's very little you can do with pywin32 that you can't do with ctypes. Except, apparently, use it from another module in the stdlib. :-( -- Greg -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   >