Re: GtkEntry character offsets
- From: Havoc Pennington <hp redhat com>
- To: Brian Cameron <Brian Cameron Sun COM>
- Cc: gtk-devel-list gnome org
- Subject: Re: GtkEntry character offsets
- Date: 29 May 2001 11:35:59 -0400
Brian Cameron <Brian Cameron Sun COM> writes:
> However, similiar functions aren't available for GtkLabel and GtkEntry.
> Any ideas?
>
Need to write them. You'd start with a function analagous to
gtk_label_get_layout_offsets() and then implement these functions in
terms of pango_layout_xy_to_index(), pango_layout_index_to_pos(),
offsetting values to/from the layout by the result of
gtk_entry_get_layout_offsets().
Should probably file a bug report about this.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]