On 3 Jul 2010, at 09:43, jcup...@gmail.com wrote:
You'd link to the configure event to build the offscreen pixmap. The
scribble example in the tutorial uses pixmaps to improve drawing:
I downloaded the Scribble example but interestingly, it seems to have been
written for an older version
On 3 Jul 2010, at 15:33, John Emmas wrote:
I downloaded the Scribble example but interestingly, it seems to have been
written for an older version of gtk/gdk. It uses some gdk types (e.g.
GdkDeviceInfo) which seem to be missing from gtk-2.0 but which look as though
they used to be
Hi,
How can I rewrite the following code, to be GTK 3.0 ready (without
addressing directly the label, forbidden by the -DGSEAL_ENABLE mechanism)?
statusbar = gtk_statusbar_new ();
gtk_misc_set_alignment (GTK_MISC (GTK_STATUSBAR (statusbar)-label),
0.5, 0.5);
Cheers,
Carlos
I believe you'd want to use gtk_statusbar_get_message_area:
statusbar = gtk_statusbar_new ();
label = gtk_statusbar_get_message_area (GTK_STATUSBAR (statusbar));
gtk_misc_set_alignment (GTK_MISC (label), 0.5, 0.5);
On Sun, 04 Jul 2010 06:09:09 +0100
Carlos Pereira jose.carlos.pere...@ist.utl.pt
On 07/04/10 06:17, Nader Morshed wrote:
statusbar = gtk_statusbar_new ();
label = gtk_statusbar_get_message_area (GTK_STATUSBAR (statusbar));
gtk_misc_set_alignment (GTK_MISC (label), 0.5, 0.5);
Thanks Nader, I believe you are in the right path (although the
documentation actually says this