summaryrefslogtreecommitdiff
path: root/atk/atkrelationtype.h
diff options
context:
space:
mode:
authorPadraig O'Briain <padraigo@src.gnome.org>2002-10-30 09:42:30 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2002-10-30 09:42:30 +0000
commit3cc3023a48d1dea633aa141bf25cf07c31200121 (patch)
tree40d3f0ffa636df9d1abd0e1a09975ba0330959ae /atk/atkrelationtype.h
parentdb59cabaac06c79f770b580a349a97d5762a3930 (diff)
downloadatk-3cc3023a48d1dea633aa141bf25cf07c31200121.tar.gz
Add reference to atk/atkrelationtype.h
* atk/Makefile.am, atk/atk.h: Add reference to atk/atkrelationtype.h * atk/atkaction.[ch]: Add atk_action_get_localized_name. * atk/atkobject.[ch]: Add atk_role_get_localized_name, atk_object_add_relationship and atk_object_remove_relationship Add new roles ATK_ROLE_HEADER, ATK_ROLE_FOOTER, ATK_ROLE_PARAGRAPH and ATK_ROLE_RULER * atk/atkrelation.h: Move definition of AtkRelationType to atk/relationtype.h * atk/atkstate.h: Add new state ATK_STATE_MANAGES_DESCENDANTS * atk/atktext.[ch]: Add text-attributes-changed signal. * docs/atk-sections.txt, docs/tmpl/atkaction.sgml: Add new functions. * docs/tmpl/atkobject.sgml: Add new functions and new roles. * docs/tmpl/atkrelation.sgml: Add new relations * docs/tmpl/atkstate.sgml: Add new state * docs/tmpl/atktext.sgml: Add new signal * tests/testrelation.c: Add tests for new relationship functions.
Diffstat (limited to 'atk/atkrelationtype.h')
-rwxr-xr-xatk/atkrelationtype.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/atk/atkrelationtype.h b/atk/atkrelationtype.h
new file mode 100755
index 0000000..798d7c7
--- /dev/null
+++ b/atk/atkrelationtype.h
@@ -0,0 +1,64 @@
+/* ATK - Accessibility Toolkit
+ * Copyright 2002 Sun Microsystems Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __ATK_RELATION_TYPE_H__
+#define __ATK_RELATION_TYPE_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/**
+ *AtkRelationType:
+ *@ATK_RELATION_NULL:
+ *@ATK_RELATION_CONTROLLED_BY: Indicates an object controlled by one or more target objects.
+ *@ATK_RELATION_CONTROLLER_FOR: Indicates an object is an controller for one or more target objects.
+ *@ATK_RELATION_LABEL_FOR: Indicates an object is a label for one or more target objects.
+ *@ATK_RELATION_LABELLED_BY: Indicates an object is labelled by one or more target objects.
+ *@ATK_RELATION_MEMBER_OF: Indicates an object is a member of a group of one or more target objects.
+ *@ATK_RELATION_NODE_CHILD_OF: Indicates an object is a cell in a treetable which is displayed because a cell in the same column is expanded and identifies that cell.
+ *@ATK_RELATION_FLOWS_TO: Indicates that the object has content that flows logically to another
+ * AtkObject in a sequential way, (for instance text-flow).
+ *@ATK_RELATION_FLOWS_FROM: Indicates that the object has content that flows logically from
+ * another AtkObject in a sequential way, (for instance text-flow).
+ *@ATK_RELATION_SUBWINDOW_OF: [not sure about this one, ask peter]
+ *@ATK_RELATION_LAST_DEFINED:
+ *
+ *Describes the type of the relation
+ **/
+typedef enum
+{
+ ATK_RELATION_NULL = 0,
+ ATK_RELATION_CONTROLLED_BY,
+ ATK_RELATION_CONTROLLER_FOR,
+ ATK_RELATION_LABEL_FOR,
+ ATK_RELATION_LABELLED_BY,
+ ATK_RELATION_MEMBER_OF,
+ ATK_RELATION_NODE_CHILD_OF,
+ ATK_RELATION_FLOWS_TO,
+ ATK_RELATION_FLOWS_FROM,
+ ATK_RELATION_SUBWINDOW_OF, /* not sure about this one, ask Peter */
+ ATK_RELATION_LAST_DEFINED
+} AtkRelationType;
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __ATK_RELATION_TYPE_H__ */