##// END OF EJS Templates
Added GTK support to ZeroMQ kernel....
Added GTK support to ZeroMQ kernel. We use an approach which is a combination of an gtk timer callback into our execution loop, like we do for Qt and Wx, I've run as tests several GTK examples found on the net, as well as multiple matplotlib scripts, and so far everything works as expected. The only catch is that we silently trap gtk.main_quit(), so examples that call it with a 'close' button or similar seem to not do anything. But their windows close normally and no other problems have been found. This solution uses code taken from an old bug report of ours: https://bugs.launchpad.net/ipython/+bug/270856 specifically the attachment in this comment: https://bugs.launchpad.net/ipython/+bug/270856/comments/6 along with the changes suggested by Michiel de Hoon there. Thanks to Ville and Michiel for that old discussion, which put me on the right track to figure out the details of the logic needed for GTK.

File last commit:

r2267:928c921b
r2949:13751b1c
Show More
igrid_help.html
86 lines | 2.5 KiB | text/html | HtmlLexer
Ville M. Vainio
crlf -> lf
r1032 <?xml version='1.0' encoding='iso-8859-1'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="igrid_help.css" type="text/css" />
<title>igrid help</title>
</head>
<body>
<h1>igrid help</h1>
<h2>Commands</h2>
<h3>pick (P)</h3>
<p>Pick the whole row (object is available as "_")</p>
<h3>pickattr (Shift-P)</h3>
<p>Pick the attribute under the cursor</p>
<h3>pickallattrs (Shift-C)</h3>
<p>Pick' the complete column under the cursor (i.e. the attribute under the
cursor) from all currently fetched objects. These attributes will be returned
as a list.</p>
<h3>enter (E)</h3>
<p>Enter the object under the cursor. (what this mean depends on the object
itself, i.e. how it implements iteration). This opens a new browser 'level'.</p>
<h3>enterattr (Shift-E)</h3>
<p>Enter the attribute under the cursor.</p>
<h3>detail (D)</h3>
<p>Show a detail view of the object under the cursor. This shows the name,
type, doc string and value of the object attributes (and it might show more
attributes than in the list view, depending on the object).</p>
<h3>detailattr (Shift-D)</h3>
<p>Show a detail view of the attribute under the cursor.</p>
<h3>pickrows (M)</h3>
<p>Pick multiple selected rows (M)</p>
<h3>pickrowsattr (CTRL-M)</h3>
<p>From multiple selected rows pick the cells matching the attribute the cursor is in (CTRL-M)</p>
<h3>find (CTRL-F)</h3>
<p>Find text</p>
<h3>find_next (F3)</h3>
<p>Find next occurrence of the searchtext</p>
<h3>find_previous (Shift-F3)</h3>
<p>Find previous occurrence of the searchtext </p>
<h3>sortattrasc (V)</h3>
<p>Sort the objects (in ascending order) using the attribute under the cursor as the sort key.</p>
<h3>sortattrdesc (Shift-V)</h3>
<p>Sort the objects (in descending order) using the attribute under the cursor as the sort key.</p>
<h3>leave (Backspace, DEL, X)</h3>
<p>Close current tab (and all the tabs to the right of the current one).</h3>
<h3>quit (ESC,Q)</h3>
<p>Quit igrid and return to the IPython prompt.</p>
<h2>Navigation</h2>
<h3>Jump to the last column of the current row (END, CTRL-E, CTRL-Right)</h3>
<h3>Jump to the first column of the current row (HOME, CTRL-A, CTRL-Left)</h3>
<h3>Move the cursor one column to the left (&lt;)</h3>
<h3>Move the cursor one column to the right (&gt;)</h3>
<h3>Jump to the first row in the current column (CTRL-Up)</h3>
<h3>Jump to the last row in the current column (CTRL-Down)</h3>
</body>
</html>