<!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">
hi jonathon,<br>
<br>
thanks for the answer !!<br>
that helped get me past my compile <br>
problem<br>
<br>
any idea when gtkmm 2.9.x will come ?<br>
also, do i need 2.9 ? or 2.10 ? not sure from your email below<br>
can i download the sources for either already ?<br>
<br>
thanks again !<br>
frank<br>
<br>
<br>
Jonathon Jongsma wrote:
<blockquote
cite="midee2fcb570603121212p38901d78oe240bcca69be2317@mail.gmail.com"
type="cite">
<pre wrap="">On 3/12/06, Frank Spies <a class="moz-txt-link-rfc2396E" href="mailto:morpheus@squirrely.net"><morpheus@squirrely.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> hi all,
i've downloaded the gtkmm dev installer for ms windows from here:
<a class="moz-txt-link-freetext" href="http://www.pcpm.ucl.ac.be/~gustin/win32_ports/">http://www.pcpm.ucl.ac.be/~gustin/win32_ports/</a>
and installed the 2.8.3 version
it also downloaded and installed the gtk dev package
it all works fairly well (after some tweaking) until i try to use cairomm
i had to download that separately from the cairomm site but now it can not
find:
Gdk::Window::create_cairo_context()
</pre>
</blockquote>
<pre wrap=""><!---->
cairomm is not integrated with gtkmm until the 2.9.x series even
though GTK+ uses cairo as of 2.8.x. Until the new gtkmm series is
released, you'll have to get a cairo context by using the underlying
GTK+/GDK functions. For example, you'll need to do something like
this (assuming you have cairomm installed):
Glib::RefPtr<Gdk::Window> win = get_window();
Cairo::RefPtr<Cairo::Context> cr(
new Cairo::Context(gdk_cairo_create(win->gobj()), true));
>From here on, you can use cr just as if you had called the missing
gtkmm function Gdk::Window::create_cairo_context(). In other words,
this is the only place you'll need to resort to a workaround until
gtkmm 2.10 comes out.
Jonner
</pre>
</blockquote>
</body>
</html>