[gtkmm] Wrapping label at a given pixel?
- From: Maurizio Colucci <seguso forever tin it>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Wrapping label at a given pixel?
- Date: Wed, 17 Dec 2003 11:58:08 +0000
Hello,
I must render a label wrapping after N pixels. (N is known) Is it possible?
I can't understand why this doesn't this work...
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
PS: This is for a free program: http://segusoland.sourceforge.net
(screenshots
included)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]