Hi guys, There is an idea to make most of semi-private stuff in GtkTextLayout and friends really private. I did some search (and will do more), and looked at GnomeCanvas, and apparently only the list below is used (and needs to be exported). The stuff below is "normal api", i.e. api which is needed by folks who use GtkTextLayout in a canvas (perhaps somewhere else?). Problem is that there is also lot of stuff exposed which isn't used by anyone (apparently), and requires backwards-incompatible changes (see bug #435405 for example). For instance, GtkTextLayoutClass is public though nobody extends GtkTextLayout; GtkTextLayout is public and has lot of fields of which only default_style is used; GtkTextCursorDisplay and GtkTextLineDisplay are public though they are used only internally for drawing.
So, are there GtkTextLayout users who use more than GnomeCanvas does? API used outside gtk: GtkTextLayout.default_style. gtk_text_layout_get_type() (and type macros), gtk_text_layout_new(), gtk_text_layout_default_style_changed(), gtk_text_layout_set_cursor_visible(), gtk_text_layout_get_cursor_visible(), gtk_text_layout_get_cursor_locations(), gtk_text_layout_validate(), gtk_text_layout_validate_yrange(), gtk_text_layout_get_size(), gtk_text_layout_set_buffer(), gtk_text_layout_set_screen_width(), gtk_text_layout_set_contexts(), gtk_text_layout_set_default_style(), gtk_text_layout_draw(), gtk_text_layout_move_iter_to_previous_line(), gtk_text_layout_move_iter_visually(), gtk_text_layout_move_iter_to_x(), gtk_text_layout_move_iter_to_line_end(), gtk_text_layout_get_iter_at_pixel(), gtk_text_layout_iter_starts_line(), gtk_text_layout_get_iter_location(), Best regards, Yevgen _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list