Hi Milosz and everybody,

Yes, you are right... It's my gtk version... I use debian etch for the
development and uses version 2.8.8...
I tested using Ubuntu and works...

Thanks for the fast reply Milosz,
P. F. Smorigo

On Tue, Aug 5, 2008 at 14:06, Milosz Derezynski <[EMAIL PROTECTED]>wrote:

> You must be using an older version of gtkmm. If i remember it right (might
> not), then Gdk::Window::create_cairo_context() was introduced with 2.10.
>
> 2008/8/5 Paulo Flabiano Smorigo <[EMAIL PROTECTED]>
>
>> Hi everyone,
>>
>> I'm trying to compile an example from the gtkmm book about drawing area
>> but the compilation gives me an "has no member" error".
>> The page of the example is:
>> http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch15s02.html
>>
>> gcc *.cc -o prog `pkg-config gtkmm-2.4 cairomm-1.0 --cflags --libs`
>>
>> myarea.cc: In member function 'virtual bool
>> MyArea::on_expose_event(GdkEventExpose*)':
>> myarea.cc:45: error: 'class Gdk::Window' has no member named
>> 'create_cairo_context'
>>
>> What I'm doing wrong?
>>
>> Thanks in advance!
>> P. F. Smorigo
>>
>> _______________________________________________
>> gtkmm-list mailing list
>> [email protected]
>> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>>
>>
>
>
> --
> Please note that according to the German law on data retention,
> information on every electronic information exchange with me is
> retained for a period of six months.
> [Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
> jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]
>
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to