Re: Unwrapped gtk+ API
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-perl-list gnome org
- Subject: Re: Unwrapped gtk+ API
- Date: Mon, 26 Apr 2010 10:31:06 +0100
On Sat, 2010-04-24 at 22:21 +0200, Torsten Schoenfeld wrote:
If anyone is looking for a challenge, we also still need bindings for
the offscreen window stuff:
â
http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#gdk-offscreen-window-get-pixmap
â http://library.gnome.org/devel/gtk/unstable/GtkOffscreenWindow.html
â http://git.gnome.org/browse/gtk+/tree/demos/gtk-demo/offscreen_window.c
â http://git.gnome.org/browse/gtk+/tree/demos/gtk-demo/offscreen_window2.c
just to expand on Torsten's challenge:
the GDK offscreen window API has an odd set of signals which can be
fairly tricky:
(double x, double y) = GdkWindow::from-embedder (double x, double y)
(double x, double y) = GdkWindow::to-embeeder (double x, double y)
they will require custom marshallers. these signals are required to be
able to implement offscreen containers - that is: widgets that contain
children drawing offscreen. obviously, GtkOffscreenWindow does that for
you already, but it is a top-level (which means that it cannot be a
child of another widget) and it would be nice to be able to have pure
Perl implementations.
ciao,
Emmanuele.
--
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]