Re: [pygtk] Python 3 and introspection hackfest

2010-02-09 Thread Tomeu Vizoso
On Fri, Feb 5, 2010 at 22:22, Zachary Goldberg zgold...@gmail.com wrote:
 On Fri, Feb 5, 2010 at 1:16 PM, John Palmieri jo...@redhat.com wrote:

 - Tomeu Vizoso to...@tomeuvizoso.net wrote:

 Hi,

 there's interest in having a hackfest sponsored by the GNOME
 Foundation that would give a push to some issues that are important
 to
 the Pygtk community: support for Python 3.x and
 gobject-introspection.

 How does it sound?

 Regards,

 Tomeu

 Hey everyone,

 I'm adding a couple of more people directly who have worked with Python 2 to 
 3 module conversions to this mail and who might be interested in helping.

 The way a GNOME Foundation hackfest works is we need to figure out the best 
 location to hold it and get estimates on how much it will cost to get people 
 to that location.  We can then ask the Foundation board for the money to 
 cover costs.  I've already got a query into the board so they know this is 
 coming.

 The first step is finding out how many people are interested in this and 
 what their locations are.  Because of the costs involved the location of the 
 hackfest should be based on where we can get a room big enough to hold 
 everyone and its proximity to the majority of the core contributors.

 --
 John (J5) Palmieri
 Software Engineer
 Red Hat, Inc.


 This sounds awesome, I would love to attend.   I'm currently in the
 USA, sometimes in Philadelphia sometimes in new York City.

Great, can you please add yourself to the wiki page?

http://live.gnome.org/Hackfests/Python2010

I guess you will work on callbacks, any other task that you would suggest?

Thanks,

Tomeu

 -Zach Goldberg

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Python 3 and introspection hackfest

2010-02-09 Thread Tomeu Vizoso
On Tue, Feb 9, 2010 at 16:48, Zachary Goldberg zgold...@gmail.com wrote:
 Callbacks, and recently ive been bitten hard by the lack of nullable
 argument support so thats in my crosshairs as well.

Cool. Do people think we should wait a bit more for more interested
participants?

Regards,

Tomeu

 -ZG


 On Tue, Feb 9, 2010 at 11:47 AM, Tomeu Vizoso to...@tomeuvizoso.net wrote:
 On Fri, Feb 5, 2010 at 22:22, Zachary Goldberg zgold...@gmail.com wrote:
 On Fri, Feb 5, 2010 at 1:16 PM, John Palmieri jo...@redhat.com wrote:

 - Tomeu Vizoso to...@tomeuvizoso.net wrote:

 Hi,

 there's interest in having a hackfest sponsored by the GNOME
 Foundation that would give a push to some issues that are important
 to
 the Pygtk community: support for Python 3.x and
 gobject-introspection.

 How does it sound?

 Regards,

 Tomeu

 Hey everyone,

 I'm adding a couple of more people directly who have worked with Python 2 
 to 3 module conversions to this mail and who might be interested in 
 helping.

 The way a GNOME Foundation hackfest works is we need to figure out the 
 best location to hold it and get estimates on how much it will cost to get 
 people to that location.  We can then ask the Foundation board for the 
 money to cover costs.  I've already got a query into the board so they 
 know this is coming.

 The first step is finding out how many people are interested in this and 
 what their locations are.  Because of the costs involved the location of 
 the hackfest should be based on where we can get a room big enough to hold 
 everyone and its proximity to the majority of the core contributors.

 --
 John (J5) Palmieri
 Software Engineer
 Red Hat, Inc.


 This sounds awesome, I would love to attend.   I'm currently in the
 USA, sometimes in Philadelphia sometimes in new York City.

 Great, can you please add yourself to the wiki page?

 http://live.gnome.org/Hackfests/Python2010

 I guess you will work on callbacks, any other task that you would suggest?

 Thanks,

 Tomeu

 -Zach Goldberg



___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Statusicon under Windows 7

2010-02-09 Thread Yann Leboulanger
Yann Leboulanger wrote:
 Hi all,
 
 Under windows seven (and probably windows server) gtk.statusicon
 disappear from systray. Even if we ask Windows to keep it in systay, it
 stays  until we restart the program. Is there something I did badly?
 I attach a small testcase.

Nobody uses gtk.Statusicon under windows7?

-- 
Yann
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Can't set a parent on widget which has a parent

2010-02-09 Thread Pietro Battiston
Il giorno mar, 09/02/2010 alle 18.36 +0600, Alexander Kuleshov ha
scritto:
 Hello. I have following problem. Am writing a simple program with
 pygtk. I have a window on it located menu, statusbar and NoteBook. The
 tabs should be located NoteBook element GtkTextView. By clicking on
 the menu, I must appear a new tab with GtkTextView. But I get the
 following: Can't set a parent on widget which has a parent
 
 What to do in this case?
 

Replace

self.tab_panel.append_page(self.editor, gtk.Label(ASD))


with

self.tab_panel.append_page(gtk.TextView(), gtk.Label(ASD))
self.tab_panel.show_all()

, then, fix the organization of the program in order to make it do what
you want.

Pietro


signature.asc
Description: Questa è una parte del messaggio firmata digitalmente
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] Can't set a parent on widget which has a parent

2010-02-09 Thread Wojciech Muła
Alexander Kuleshov kuleshovm...@gmail.com wrote:

 Hello. I have following problem. Am writing a simple program with
 pygtk. I have a window on it located menu, statusbar and NoteBook. The
 tabs should be located NoteBook element GtkTextView. By clicking on
 the menu, I must appear a new tab with GtkTextView. But I get the
 following: Can't set a parent on widget which has a parent
 
 What to do in this case?

It is possible to use single text view widget, but you have to reparent
it on every notebook page change -- and this is not correct way.
The right solution is to create new text view for every file. So,
your code should look like this:

def __init__(self):
self.editors = []   # holds all textview widgets
...

def new_file(self,widget):
self.doc_num += 1
b = len(self.documents)

editor = gtk.TextView()
self.editors.append(editor)
self.tab_panel.append_page(editor, gtk.Label(ASD))

hth
w.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


Re: [pygtk] Statusicon under Windows 7

2010-02-09 Thread John Stowers
On Tue, 2010-02-09 at 19:38 +0100, Yann Leboulanger wrote:
 Yann Leboulanger wrote:
  Hi all,
  
  Under windows seven (and probably windows server) gtk.statusicon
  disappear from systray. Even if we ask Windows to keep it in systay, it
  stays  until we restart the program. Is there something I did badly?
  I attach a small testcase.
 
 Nobody uses gtk.Statusicon under windows7?

I guess not on this list. Can you please file a bug at
bugzilla.gnome.org

John



___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/