Re: canvasmm
- From: Yann Normand <ynormand mail transiciel com>
- To: Antonio Coralles <noche suapie reflex at>
- Cc: gtkmm-list gnome org
- Subject: Re: canvasmm
- Date: Thu, 30 Jun 2005 15:04:10 +0200
Antonio Coralles a écrit :
I'm really courious about the classes in Gnome::Canvasmm, but only with
the reference, i'm somekind of lost, as i dont't have any Gtk+
background ... So, what i want to know is, if there are some simple
examples, or a tutorial which illustrates the usage of this classes. At
the moment i don't even know how to create a gtkmm app which uses a
Canvas to display some text ...
Thanks, Antonio
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
Unfortunately, there is no good tutorial the Gnome Canvas with Gtkmm.
However, you will easily find tutorials on the Gnome Canvas in C. You
should have no problem porting the examples with Gnomecanvasmm . But be
careful because the tutorials I read on the web are quite old, and
therefore were written for the first API version of Gnome Canvas (we are
now at 2.10). Nevertheless, the differences aren't heavy.
The Canvas object inherits from Gtk::Widget. Thus, you can add it to a
container just like any widget. It is common to add the Canvas to a
ScrolledWindow permitting to easily scroll through the Canvas.
I agree that the Gnomecanvasmm reference is poor. You should have a look
at the Gnome Canvas API Reference instead.
--
Yann Normand
Sogeti-Transiciel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]