Re: can I wrap a label after N pixels?
- From: Maurizio Colucci <seguso forever tin it>
- To: gtk-app-devel-list gnome org
- Subject: Re: can I wrap a label after N pixels?
- Date: Wed, 17 Dec 2003 11:52:46 +0000
On Wednesday 17 December 2003 11:28 am, Maurizio Colucci wrote:
Hello,
I must render a label wrapping after N pixels. (N is known) Is it possible?
The set_line_wrap function doesn't take any numeric argument...
This is for the free program http://segusoland.sourceforge.net
(screenshots included)
I can't understand why this doesn't this work... (sorry for the C++ syntax)
mNameLabel = manage(new Label(lNormalizedText));
Glib::RefPtr<Pango::Layout> lLayout = mNameLabel->get_layout();
lLayout->set_width(100);
lLayout->set_wrap(Pango::WRAP_WORD_CHAR);
I really need help... I beg you. :-)
Maurizio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]