<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Walter Bender wrote:
<blockquote
 cite="mid:BANLkTimH7YScH7zApsbXddO+m_2+tzJFXA@mail.gmail.com"
 type="cite">
  <pre wrap="">On Tue, Apr 12, 2011 at 2:05 AM, Peter Robinson <a class="moz-txt-link-rfc2396E" href="mailto:pbrobinson@gmail.com"><pbrobinson@gmail.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Walter,

On Tue, Apr 12, 2011 at 1:33 AM, Walter Bender <a class="moz-txt-link-rfc2396E" href="mailto:walter.bender@gmail.com"><walter.bender@gmail.com></a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">For some reason, when I try to access the window of my drawable area,
it is coming back as None. I wonder if this is something that has
somehow changed in GNOME 3.
      </pre>
    </blockquote>
    <pre wrap="">It shouldn't be due to gnome3. We're still using gtk2/metacity for
sugar. The version is gtk2-2.24.4 so you might want to check the API
docs to see if anything has changed there. Do you use pygtk?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I'll have to dig deeper. Everything works fine when I run it from the
GNOME shell, so it must be related to something Sugar is doing (or no
longer doing).

  </pre>
</blockquote>
maybe this link may help?<br>
<a class="moz-txt-link-freetext" href="http://live.gnome.org/GnomeShell#GNOME_Shell:">http://live.gnome.org/GnomeShell#GNOME_Shell:</a><br>
Technology<br>
 "Much of the code of the shell is written in Javascript but uses
Clutter and GNOME platform libraries via <a
 href="http://live.gnome.org/GObjectIntrospection">GObject Introspection</a>
and <a href="http://live.gnome.org/Gjs">JavaScript bindings for GNOME</a>.
...."<br>
<br>
satellit<br>
Tom Gilliard<br>
also:<br>
GIMPnet IRC #gnome; #gnome-design, #gnome-shell, #gnome3<br>
freenode IRC: #gnome, #fedora-qa<br>
<br>
Note: to get USB to mount in Sugar-Emulator in VirtualBox4.0.4<br>
Insert USB you want to use<br>
Start VirtualBox<br>
Settings/Ports/USB<br>
on right side click on usb icon (+)<br>
select the USB you have mounted<br>
<br>
MUST BE DONE: on desktop safely remove USB<br>
start your VirtualBox appliance <br>
insert the USB again<br>
click on journal in f3 of sugar<br>
USB will now appear in bottom corner of sugar-emulator when frame
retracts<br>
click on USB and contents will be listed<br>
drag-drop content (.xo) from usb to journal icon on bottom left.<br>
<br>
This is not obvious....that usb has to be removed and reinserted. <br>
<br>
This assumes that the extensions are installed (for USB 2 support)<br>
<a class="moz-txt-link-freetext" href="http://download.virtualbox.org/virtualbox/4.0.4/Oracle_VM_VirtualBox_Extension_Pack-4.0.4-70112.vbox-extpack">http://download.virtualbox.org/virtualbox/4.0.4/Oracle_VM_VirtualBox_Extension_Pack-4.0.4-70112.vbox-extpack</a><br>
(These are not GPL- for private use only license)<br>
(To install: click on downloaded extensions from desktop or where it
downloaded)<br>
<br>
 <br>
<blockquote
 cite="mid:BANLkTimH7YScH7zApsbXddO+m_2+tzJFXA@mail.gmail.com"
 type="cite">
  <pre wrap="">thanks.
-walter
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">A DrawingArea is created using the constructor:

 drawing_area = gtk.DrawingArea()

A DrawingArea is initially created with a size of (0, 0) so you should
use the following method to make the drawing_area visible by setting
its width and height to useful values greater than zero:

 drawing_area.set_size_request(width, height)

To draw on a DrawingArea you must retrieve the wrapped gtk.gdk.Window
using the window attribute of the DrawingArea as follows:

 drawable = drawing_area.window

But drawable (which I call area in my code) is None.

I'll keep poking around.

-walter
      </pre>
    </blockquote>
    <pre wrap="">Peter

    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
</blockquote>
</body>
</html>