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
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to