summaryrefslogtreecommitdiff
path: root/gtk/a11y/gtklabelaccessible.c
Commit message (Collapse)AuthorAgeFilesLines
* stylecontext: Move private a11y function to private headerBenjamin Otte2014-08-161-0/+1
|
* GtkLabelAccessible: reorganize the codeMatthias Clasen2014-01-041-147/+172
| | | | | Separate the GtkLabelAccessible, GtkLabelAccessibleLink and GtkLabelAccessibleLinkImpl implementations more clearly.
* GtkLabelAccessible: update state of linksMatthias Clasen2014-01-041-1/+60
| | | | | | | | This commit makes the LinkImpl children of label accessibles inherit all their state, except for focused and visited, which are handled directly. https://bugzilla.gnome.org/show_bug.cgi?id=721406
* GtkLabelAccessible: Implement AtkHypertextMatthias Clasen2014-01-041-6/+394
| | | | | | | | | | | | | | | This commit makes the label accessible implement AtkHypertext, which returns a AtkHyperlink object for each link in the text. At the same time, add AtkHyperlinkImpl objects as children to the label accessible. Also some private API to indicate that links have changed, and call that from GtkLabel when needed. Adjust expected output of the affected a11y tests. https://bugzilla.gnome.org/show_bug.cgi?id=721410 https://bugzilla.gnome.org/show_bug.cgi?id=721421
* Add a gtklabelprivate.h headerMatthias Clasen2014-01-041-0/+1
| | | | For now, move the few private functions from gtklabel.h here.
* a11y: Use new macros for defining private dataEmmanuele Bassi2013-07-091-5/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* a11y: Emit text-changed signals directlyBenjamin Otte2013-03-151-49/+42
| | | | | | | | When setting new text on the label, the text-changed::delete signal needs to be emitted before deleting the text (so that atk-bridge can query the old text) while the text-changed::insert event needs to happen afterwards (for the same reason). The old code using the notify signal was only emitted after changing the text.
* GtkLabelAccessible: Sanity check _get_text() input valuesBastien Nocera2013-03-061-1/+15
|
* CosmeticsMatthias Clasen2012-12-271-1/+1
| | | | Replace GAIL in top comments by 'GTK+ - accessibility implementations'.
* Make accessible implementations publicMatthias Clasen2012-12-271-9/+9
| | | | | | | | | | | | | | This commit exposes the get_type() functions and standard headers for accessible implementations. This makes it possible to derive from the GTK accessible implementations without GType magic tricks. This is necessary, because we require the a11y type hierarchy to be parallel to the widget type hierarchy. So, if you derive a widget and need to adjust its a11y implementation, you have to be able to derive its accessible implementation. This commit probably exposes more than is absolutely necessary, it also exposes accessibles of widgets that are unlikely candidates for deriving from.
* GtkLabelAccessible: add a private structMatthias Clasen2012-10-141-12/+23
| | | | | Move instance fields to a private struct, in preparation for installing a11y headers.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Fix cut-and-paste error in GtkEntryAccessible/GtkLabelAccessibleDan Winship2011-08-101-1/+1
| | | | | The y position of the character depends on the window's y coordinate, not its x coordinate.
* accellabel: Use gtk_widget_class_set_accessible_role()Benjamin Otte2011-07-181-4/+1
|
* Avoid a compiler warningMatthias Clasen2011-07-171-2/+2
|
* GtkLabelAccessible: avoid extra selection-changed emissionsMatthias Clasen2011-07-161-6/+33
| | | | | | | This copies the same code that the entry accessible uses to check for selection changes. https://bugzilla.gnome.org/show_bug.cgi?id=654428
* Avoid compiler warningsMatthias Clasen2011-07-101-2/+2
| | | | | The text variable in gtk_label_accessible_get_selection was shadowing a parameter of the same name.
* Avoid unnecessary includesMatthias Clasen2011-07-101-6/+4
| | | | | Including string.h makes the compiler complain about parameters and variables called index, which is not nice.
* Reduce the number of unwanted exportsMatthias Clasen2011-07-091-9/+9
| | | | | _-prefix most of the get_type functions in a11y/. There are still some more symbols left.
* Add a forgotten staticMatthias Clasen2011-07-091-1/+1
|
* Initial conversion of GailWidget to GtkWidgetAccessibleMatthias Clasen2011-07-051-3/+3
|
* GtkLabelAccessible: drop an unneeded includeMatthias Clasen2011-07-051-1/+0
| | | | We eventually want to get rid of gailmisc, so this is progress.
* GtkLabelAccessible: avoid some pointless variablesMatthias Clasen2011-07-051-4/+3
|
* GtkLabelAccessible: some selection handling fixesMatthias Clasen2011-07-051-1/+5
| | | | | Don't move the cursor to 0 when removing the selection, and don't overlook growing selections.
* Trivial whitespace fixMatthias Clasen2011-07-051-1/+1
|
* Port GtkLabelAccessible from GailTextUtil to GtkPango apiMatthias Clasen2011-07-051-480/+293
| | | | | | Unfortunately, we still keep a copy of the text around, for ::insert/::delete signals; those emissions need to be moved to GtkLabel itself.
* GtkLabelAccessible: remove redundant checkMatthias Clasen2011-07-051-41/+7
| | | | | We always have the textutil now, so remove some NULL checks. Also, never say 'State is defunct' again...
* GtkLabelAccessible: remove broken workaroundsMatthias Clasen2011-07-051-60/+5
| | | | | | | This removes a horrible workaround for bug 126797. To prevent picking up accidental markup in label texts, the label accessible is listening for window creation and mapping and defers initializing its text until then.
* GailLabel -> GtkLabelAccessibleMatthias Clasen2011-07-051-0/+1005
A first experimental conversion from the gail namespace to gtkaccessible. At the same time, use gtk_widget_class_set_accessible_type() to register the accessible type for GtkLabel.