Re: Crashes with long words in strings passed to gtk_widget_set_tooltip_text()
- From: Morten Welinder <mortenw gnome org>
- To: Emmanuel Thomas-Maurin <manutm007 gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Crashes with long words in strings passed to gtk_widget_set_tooltip_text()
- Date: Tue, 19 Apr 2011 20:34:34 -0400
> If you really want to safely pass a very long text,
> you will have to know the font (family and size) then check with stuff
> like pango_layout_set_text() and pango_layout_get_pixel_size().
This happened in Gnumeric at some point too. Basically, every time user
supplied string make it into tooltips, this will happen. So it's
probably better
to fix this in gtk+.
M.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]