diff options
author | Bill Haneman <billh@src.gnome.org> | 2002-11-14 17:50:57 +0000 |
---|---|---|
committer | Bill Haneman <billh@src.gnome.org> | 2002-11-14 17:50:57 +0000 |
commit | 67c8aa711b95f37794d2e288cd6b76546af95aa6 (patch) | |
tree | e020b22e0cdd78d3ecc412dec853a1362591c2f2 /atk/atkhyperlink.h | |
parent | e4eec41aff125c93aa3a488bb514c9df82aed6b4 (diff) | |
download | atk-67c8aa711b95f37794d2e288cd6b76546af95aa6.tar.gz |
Revved to 1.1.2, added ATK_RELATION_EMBEDS/EMBEDDED_BY,
atk_hyperlink_is_inline.
Diffstat (limited to 'atk/atkhyperlink.h')
-rwxr-xr-x | atk/atkhyperlink.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/atk/atkhyperlink.h b/atk/atkhyperlink.h index 15d804f..a0c6025 100755 --- a/atk/atkhyperlink.h +++ b/atk/atkhyperlink.h @@ -32,6 +32,17 @@ extern "C" { * It implements the AtkAction interface. */ +/** + *AtkHyperlinkStateFlags + *@ATK_HYPERLINK_IS_INLINE: Link is inline + * + *Describes the type of link + **/ +typedef enum +{ + ATK_HYPERLINK_IS_INLINE = 1 << 0 +} AtkHyperlinkStateFlags; + #define ATK_TYPE_HYPERLINK (atk_hyperlink_get_type ()) #define ATK_HYPERLINK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_HYPERLINK, AtkHyperlink)) #define ATK_HYPERLINK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_HYPERLINK, AtkHyperlinkClass)) @@ -85,10 +96,17 @@ struct _AtkHyperlinkClass */ gint (* get_n_anchors) (AtkHyperlink *link_); + /* + * Returns a set of bitflags which encode state information. + * Used by non-virtualized state query methods, not intended, + * for direct client use. It is virtualized, but clients should use + * atk_hyperlink_is_inline (), etc. + */ + guint (* link_state) (AtkHyperlink *link_); + AtkFunction pad1; AtkFunction pad2; AtkFunction pad3; - AtkFunction pad4; }; GType atk_hyperlink_get_type (void); @@ -105,6 +123,8 @@ gint atk_hyperlink_get_start_index (AtkHyperlink *link_); gboolean atk_hyperlink_is_valid (AtkHyperlink *link_); +gboolean atk_hyperlink_is_inline (AtkHyperlink *link_); + gint atk_hyperlink_get_n_anchors (AtkHyperlink *link_); |