On 02/07/2009, at 2:32 PM, Kao Cardoso Felix wrote:
> On Wed, Jul 1, 2009 at 11:53 PM, Richard  
> Jones<[email protected]> wrote:
>> Unfortunately pygtk just means pain on OS X [...]
>
> I had no idea about OS X issues. Well, I guess that pygtk is not an
> option anymore if we're going for portability. What about PyQT? Have
> you ever tried it?

I've used PyQt a fair bit in the past and it's *really* nice. It'd be  
a shame to introduce a dependency though :)


>> Note that tkinter is themed according to the platform at the moment.
>> The new theme stuff is used to make it *not* look like the platform.
>> I'm not sure what sort of look you're going for though.
>
> Are you sure about that? I've just tried some widgets just to be sure
> and they still look motif-like on Windows Vista (and they looked like
> that before on WinXP and I've never tried Tkinter under gnome to be
> sure). Do you have native-looking widgets with the Tkinter included on
> Python 2.6?

Oh, OK. Yeah, on OS X / Python 2.6 they're native-looking. I wonder  
whether the file dialogs are crappy on Vista too or whether they're  
native like on OS X... could you give this a try please?

         import Tkinter
         import tkFileDialog
         root = Tkinter.Tk()
         filename = tkFileDialog.askopenfilename(parent=root)


> I've googled a bit and it seems that the ttk extension provides
> themeable widgets along with native-looking themes, but I didn't go
> very deep on this matter.

OK, cool.


     Richard


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to