Forum: Ruby-Gnome 2 Pixbuf from Gdk::Window

4913bcb685792f601ae9813b4713abb9?d=identicon&s=25 Detlef Reichl (Guest)
on 2014-03-26 05:47
(Received via mailing list)
Hi,

I want to crate a Gdk::Pixbuf from the content of a Gdk::Window. In Gtk
2.0 times there was the method Gdk::Pixbuf.from_drawable. But this is
removed in Gtk 3.0. In Gtk+ in C there is now the function
gdk_pixbuf_get_from_window but I find no method in Gdk::Window that
matches this. Is it not implemented?

Cheers detlef
394f372e936f867e4e43bfd1315a0a4e?d=identicon&s=25 Masafumi Yokoyama (masafumi_y)
on 2014-03-28 01:29
(Received via mailing list)
Hi,

2014-03-26 13:44 GMT+09:00 Detlef Reichl <detlef.reichl@gmx.org>:
> I want to crate a Gdk::Pixbuf from the content of a Gdk::Window. In Gtk
> 2.0 times there was the method Gdk::Pixbuf.from_drawable. But this is
> removed in Gtk 3.0. In Gtk+ in C there is now the function
> gdk_pixbuf_get_from_window but I find no method in Gdk::Window that
> matches this. Is it not implemented?

Thank you for the good report! It probably isn't implemented yet.

https://github.com/ruby-gnome2/ruby-gnome2/blob/ma...

We will implement sooner or later. :-)

--
myokoym
4913bcb685792f601ae9813b4713abb9?d=identicon&s=25 Detlef Reichl (Guest)
on 2014-03-30 19:22
(Received via mailing list)
Hi,

i saw, that you implemented it. Thank you very much for this, cause now
I can go further with my project :-)

Cheers, detlef


Am 28.03.2014 01:29, schrieb Masafumi Yokoyama:
394f372e936f867e4e43bfd1315a0a4e?d=identicon&s=25 Masafumi Yokoyama (masafumi_y)
on 2014-03-31 05:41
(Received via mailing list)
Yes, I've implemented. Please tell us if you find a problem.
Good luck with your project ;-)

--
myokoym

2014-03-31 2:15 GMT+09:00 Detlef Reichl <detlef.reichl@gmx.org>:
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.