[pygtk] set current tab in pygtk

2010-02-13 Thread Alexander Kuleshov
Hi to all. I have a notebook and i have textview on notebook's tab.
And i have 2 question:
1)How can i set current last tab in notebook:
I have:
self.tab_panel.set_current_page(pages_num + 1)

where in page_num number of notebok tabs, but it's not work.

2)Howcan i get access to gtk.Textview in current notebook tab?

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] set current tab in pygtk

2010-02-13 Thread Timo
On 13-02-10 13:00, Alexander Kuleshov wrote:
 Hi to all. I have a notebook and i have textview on notebook's tab.
 And i have 2 question:
 1)How can i set current last tab in notebook:
 I have:
 self.tab_panel.set_current_page(pages_num + 1)

 where in page_num number of notebok tabs, but it's not work.

Did you read the reference manual?
http://www.pygtk.org/docs/pygtk/class-gtknotebook.html#method-gtknotebook--set-current-page

 2)Howcan i get access to gtk.Textview in current notebook tab?

What do you mean by access it?

This should work:
self.textview = gtk.Textview()

Cheers,
Timo

 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/


___
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] Gaphas 0.5.1 release

2010-02-13 Thread Arjan Molenaar
Hi,

I forgot to mention where to find Gaphas. Sorry :S.

Gaphas can be found on GitHub at: http://github.com/amolenaar/gaphas.

Releases are available from the Python Package Index: 
http://pypi.python.org/pypi/gaphas

Gaphas can be easily installed by Setuptools:

 $ easy_install gaphas

And works if you have PyGTK and PyCairo installed.

Kind regards,

Arjan

On 13 Feb 2010, at 15:57, Pietro Battiston wrote:

 (private mail)
 
 Il giorno gio, 11/02/2010 alle 16.23 +0100, Arjan Molenaar ha scritto:
 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,
 
 
 
 Usually, announcements of new softwares or versions contain links to
 webpage/download page, and state which is the new version...
 
 Pietro
 

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


[pygtk] Python 3 and introspection hackfest

2010-02-13 Thread Tomeu Vizoso
Hi all,

looks like we have agreed on a set of tasks and we have people with
the will and capacity to work on them during the hackfest. This
concrete set of tasks may seem small at first, but I think it's just
what is left to do in order to keep Python as a compelling language on
which to develop for the GNOME platform in the foreseeable future.

Right now it seems to me that Boston, MA would be the best place to
hold the hackfest, as two people are local, one lives relatively
close, and facilities have been offered. What about the dates? Have
made a couple of searches and tickets from Europe get as cheap as they
can get in about 3 weeks from now. Or maybe April, when it won't be as
freezing cold?

About hosting, I think it will be easy for non-local participants to
find welcoming couches, from the Red Hat/OLPC/Sugar Labs communities
there.

Opinions? Once we agree on the above points, we can come up with a
budget and a more detailed plan to present to the GNOME Foundation
board.

Regards,

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