Re: [pygtk] Creating gtk.TextView cellRenderer

2010-02-11 Thread Don Question
Hi Ben,

unless you don't include an example and error-log there's practicaly no
way we can guess where your problem is!

But maybe this link is just what you need: 
http://faq.pygtk.org/index.py?req=show&file=faq13.045.htp

Regards Don



  

___
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-11 Thread John Palmieri

- "Tomeu Vizoso"  wrote:

> On Tue, Feb 9, 2010 at 16:48, Zachary Goldberg 
> 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

So we haven't heard from Johan at all?  It would be good to have him there at 
least for guidance.  I don't know what the team looks like these days but he 
has always been the public face of PyGTK so it would be nice for him to at 
least sign off on the decision we make.  Then again he may have already passed 
the mantle years ago and I'm not in the loop.

As far as things looks right now it might be easiest to get people to come here 
in Boston.  It would be fairly easy for me to find space at MIT or Red Hat.  I 
could host two people at my house and there are plenty of other hackers who 
have space.  Hotels aren't an issue either.

How long are we planning the hackfest for?  Hackfests usually last for a week 
to maximize time together vs. travel but we could do a shorter 3 day over a 
weekend if we think we can accomplish our goals and there are those who would 
have to take vacation to be there.

--
John (J5) Palmieri
Software Engineer
Red Hat, Inc.
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/


[pygtk] Gaphas 0.5.1 release

2010-02-11 Thread Arjan Molenaar
Hi all,

A new version of Gaphas is out. Gaphas is a diagram widget written in Python. 
It uses Cairo for rendering.

This release fixed the following issues:

- Can't undo deletion of a connected element properly
- Fix horizontal toggle got orthogonal lines
- Orthogonal lines should have at least 2 segments

Also quite some documentation updates have been done.

Regards,

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


[pygtk] scroll in textview and problem with tab

2010-02-11 Thread Alexander Kuleshov
Hi guys. I have following problem. I have code that adds a new tab in
NoteBook with gtk.TextView and button and label to close tabs on the
tab itself. The problem is that I'm trying to add this to gtk.TextView
scroll to scroll the text with scrolled widow, but when you add the
tab appears but disappears scroll button to close the tab itself. How
can i resolve this? And Is there any way to add scrolling druie in
gtk.TextView?

Code:
 def new_tab(self):

  editor = gtk.TextView()
  scrolled_window = gtk.ScrolledWindow()

  self.add(scrolled_window)
  scrolled_window.add(editor)

  scrolled_window.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_ALWAYS)

  label = self.create_tab_label("New File",editor)

  self.set_tab_label_packing(editor,False,True, gtk.PACK_START)
  self.set_tab_label(editor,label)

  label.show_all()
__
Thank you.
___
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-11 Thread Yann Leboulanger
John Stowers wrote:
> 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
> 
> 
> 

ok, here it is:

https://bugzilla.gnome.org/show_bug.cgi?id=609622

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