Re: Find out whether a GtkTextMark is in the visible area

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris,

On 12.08.2011 11:14, Chris Vine wrote:

> (gtk_adjustment_get_value(adjustment) >=
>    gtk_adjustment_get_upper(adjustment) -
>    gtk_adjustment_get_page_size(adjustment) - 1e-12)


Thanks. Turns out that's almost how I did it after some further
searching, except for the tolerance for floating point calculation
errors, which is a good idea so I will include that.


Thanks again,
Michael

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux