Label wrapping and overlaid animation
- From: Luis Menina <liberforce fr st>
- To: gtk-app-devel-list gnome org
- Subject: Label wrapping and overlaid animation
- Date: Thu, 01 Jun 2006 01:56:33 +0200
Hi everyone,
I'm currently having a hard time with GtkLabel and its wrapping option,
because of this quite annoying bug:
http://bugzilla.gnome.org/show_bug.cgi?id=101968
Question 1: Does anyone know a workaround for it ?
Also, I need to write an application that has this layout:
http://liberforce.chez-alice.fr/tmp/agencement.png
This is done, but I also need to have an animated icon that will move on
the screen. It's an svg icon that will start big in the center of the
app (where is the yellow label), and then become smaller and move to the
top left corner, to end in the Picture space reserved for it.
But I don't know how to do this... as it moves around several parts of
the interface, I can't have in inserted inside a window or container...
So the choices I see are:
a) Use a gdk DrawingArea as my main widget, and draw everything in it by
hand, labels, images, animations (that sucks)
b) Use somehow a gdk drawing area, draw the icon inside of it and
"overlay" it with the rest of the GUI, with the area around the icon
being totally transparent (is this possible ? how ?)
c) use cairo with the same reasoning as for the gdk drawing area (is
this possible too ? is cairo better than a drawing area ?)
Question 2: If anyone can tell me wich solution among a, b or c is the
right one (or another I'm not aware of ?), and give me some hints, I'd
be very grateful...
Cheers,
Luis Menina
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]