ellipsize expander label
- From: Vladimir Nadvornik <nadvornik suse cz>
- To: gtk-app-devel-list gnome org
- Subject: ellipsize expander label
- Date: Sun, 1 Mar 2009 15:48:21 +0100
Hi,
Is it possible to ellipsize expander label?
The simple approach does not work for me.
expander = gtk_expander_new(NULL);
label = gtk_label_new("some longer text");
gtk_label_set_ellipsize(GTK_LABEL(label), PANGO_ELLIPSIZE_END);
gtk_expander_set_label_widget(GTK_EXPANDER(expander), label);
It shows just "..." even if there is enough room for the whole text.
BTW, is there any good documentation how the stuff with "size-request"
and "size-allocate" works?
Vladimir
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]