Could you give me a little sample code, if you is not too much trouble?

I just found a function key_press_callback from GraphWidget. Im new in Python so its hard to understand its work by myself without doc. I'll be very greatefull to you)


06.08.16 13:00, graph-tool-request@skewed.de пишет:
Send graph-tool mailing list submissions to
	graph-tool@skewed.de

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.skewed.de/mailman/listinfo/graph-tool
or, via email, send a message with subject or body 'help' to
	graph-tool-request@skewed.de

You can reach the person managing the list at
	graph-tool-owner@skewed.de

When replying, please edit your Subject line so it is more specific
than "Re: Contents of graph-tool digest..."


Today's Topics:

   1. Re: pop-up windows in graph-tool (Tiago de Paula Peixoto)


----------------------------------------------------------------------

Message: 1
Date: Fri, 5 Aug 2016 14:06:41 +0100
From: Tiago de Paula Peixoto <tiago@skewed.de>
To: Main discussion list for the graph-tool project
	<graph-tool@skewed.de>
Subject: Re: [graph-tool] pop-up windows in graph-tool
Message-ID: <cf84f22a-c463-60ce-e1ed-07c5d9808a3d@skewed.de>
Content-Type: text/plain; charset="utf-8"

On 03.08.2016 14:46, ???? ??????? wrote:
Im trying to make graph layout for different planning algorithms on
python3. I made this normally, but I need to create a pop-up window,
that will blow up after click on vertex, with text from propety of
vertex. I didnt find any material for this in WEB, can you give me
some advises about that?
Although this is possible to do, it is currently completely
undocumented.

At the moment, the best you can do is look into the source code, and try
to figure it out.

Best,
Tiago