##// 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.css
45 lines | 761 B | text/css | CssLexer
body
{
background-color: #fff;
color: #000;
font-family: "Verdana", "Arial", "XHelvetica", "Helvetica", sans-serif;
padding: 20px 30px;
margin: 0px;
font-size: 11px;
}
h1
{
font-family: "Trebuchet MS", sans-serif;
font-size: 24px;
margin: -20px -30px 4px -30px;
padding: 6px 30px;
font-weight: normal;
border-bottom: 1px solid #000;
letter-spacing: 1px;
background-color: #666;
color: #fff;
}
h2
{
font-family: "Trebuchet MS", sans-serif;
font-size: 20px;
padding: 14px 0px 2px 0px;
margin: 0px;
font-weight: bold;
color: #333;
}
h3
{
font-family: "Trebuchet MS", sans-serif;
font-size: 14px;
padding: 12px 0px 2px 0px;
margin: 0px;
font-weight: bold;
color: #333;
}
p
{
line-height: 120%;
margin: 0px 0px 6px 0px;
padding: 0px;
}