summaryrefslogtreecommitdiff
path: root/gtk/gtkbuildable.h
diff options
context:
space:
mode:
authorAndrew Walton <awalton@gnome.org>2013-08-15 11:34:31 -0700
committerMatthias Clasen <mclasen@redhat.com>2013-08-19 13:43:32 -0400
commit19be4edbea1b0527366b94e69c1fa53f19b977ea (patch)
treebf77fc016fadd4c1d17484d6a31dab9356840f76 /gtk/gtkbuildable.h
parenta864f9d052aa66430b5db572b9bb740b5beeb9a8 (diff)
downloadgtk+-19be4edbea1b0527366b94e69c1fa53f19b977ea.tar.gz
GtkEntry: add a "tabs" property for setting a PangoTabArray in the layout.
I'm currently working on porting view::FieldEntry (from libview) to C for use in upstream GTK+. FieldEntry is a widget which allows users to enter structured text such as IPv4 addresses or serial numbers. The way that FieldEntry delineates the fields within the entry is with tabstops, using PangoTabArray entries to precisely position the fields and delimiters. Because GtkEntry rebuilds its internal PangoLayout fairly frequently, this requires a property in the entry that will set the tabs on the layout whenever that happens. This API looks very similar to one in GtkTextView. Patch by David Trowbridge <trowbrds@gmail.com>. Updated for Gtk+ 3.10. https://bugzilla.gnome.org/show_bug.cgi?id=697399
Diffstat (limited to 'gtk/gtkbuildable.h')
0 files changed, 0 insertions, 0 deletions