Re: Gnome2::Canvas::Text question
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gnome2::Canvas::Text question
- Date: Wed, 15 Feb 2006 20:07:06 +0100
On Wed, 2006-02-15 at 13:27 -0500, James Muir wrote:
The problem is that I can't figure out how to use this ellipsis feature
with a Gnome2::Canvas::Text item. Is it possible to make a
Gnome2::Canvas::Text item use the pango ellipsis feature? Any examples
on how to do this?
You'd need to get your hands on a Gtk2::Pango::Layout object to call
set_ellipsize() on. For Gnome2::Canvas::Text, this would be the
"layout" struct member. It doesn't look like that's accessible via the
bindings yet.
--
Bye,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]