summaryrefslogtreecommitdiff
path: root/gtk/gtkpango.h
Commit message (Collapse)AuthorAgeFilesLines
* gtkpango: Add G_GNUC_WARN_UNUSED_RESULTBenjamin Otte2022-06-101-1/+1
| | | | | Guess who just spent 10 minutes in gdb and doesn't want to do that again.
* Remove ATKEmmanuele Bassi2020-07-261-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To build a better world sometimes means having to tear the old one down. -- Alexander Pierce, "Captain America: The Winter Soldier" ATK served us well for nearly 20 years, but the world has changed, and GTK has changed with it. Now ATK is mostly a hindrance towards improving the accessibility stack: - it maps to a very specific implementation, AT-SPI, which is Linux and Unix specific - it requires implementing the same functionality in three different layers of the stack: AT-SPI, ATK, and GTK - only GTK uses it; every other Linux and Unix toolkit and application talks to AT-SPI directly, including assistive technologies Sadly, we cannot incrementally port GTK to a new accessibility stack; since ATK insulates us entirely from the underlying implementation, we cannot replace it piecemeal. Instead, we're going to remove everything and then incrementally build on a clean slate: - add an "accessible" interface, implemented by GTK objects directly, which describe the accessible role and state changes for every UI element - add an "assistive technology context" to proxy a native accessibility API, and assign it to every widget - implement the AT context depending on the platform For more information, see: https://gitlab.gnome.org/GNOME/gtk/-/issues/2833
* Replace "gchar" with "char"Benjamin Otte2020-07-251-4/+4
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-12/+12
|
* Move label attribute parser codeMatthias Clasen2020-04-061-0/+22
| | | | | We want to reuse the parser for <attributes> in several widgets, so move it to a shared place.
* render: Make gtk_render_layout() use the snapshot APIBenjamin Otte2018-07-241-4/+0
| | | | This removes a lot of duplicated code.
* gtkpango: Remove unused functionsTimm Bäder2017-08-151-19/+0
| | | | | Remove _gtk_pango_move_lines and a few function declarations in the private header file since they are only used inside gtkpango.c
* pango: make merge_attrs return the merged listPaolo Borelli2015-07-061-2/+2
| | | | This simplifies all the callers
* pango: move an utility function from gtklabelPaolo Borelli2015-07-061-0/+3
| | | | This will be used both by gtklabel and gtkentry
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Add some aux. pango api to help AtkText implementationsMatthias Clasen2011-07-051-8/+47
| | | | | | | | These functions are implementations of the AtkText api on top of a PangoLayout, and are intended to replace GailTextUtil. Since gtkpango.h is a private header, also remove the individual inclusion prohibition.
* label: Draw all text using PangoCairoBenjamin Otte2010-08-101-0/+47
This includes the addition of a "small" helper function, _gtk_pango_fill_layout() that ignores color information. This functionality is not available inside Pango and until that happens, we need this fix. The bug is filed at: https://bugzilla.gnome.org/show_bug.cgi?id=624917