Re: GtkEntry character offsets

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

Should probably file a bug report about this.


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