michael@0: /* ATK - Accessibility Toolkit michael@0: * Copyright 2002 Sun Microsystems Inc. michael@0: * michael@0: * This library is free software; you can redistribute it and/or michael@0: * modify it under the terms of the GNU Library General Public michael@0: * License as published by the Free Software Foundation; either michael@0: * version 2 of the License, or (at your option) any later version. michael@0: * michael@0: * This library is distributed in the hope that it will be useful, michael@0: * but WITHOUT ANY WARRANTY; without even the implied warranty of michael@0: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU michael@0: * Library General Public License for more details. michael@0: * michael@0: * You should have received a copy of the GNU Library General Public michael@0: * License along with this library; if not, write to the michael@0: * Free Software Foundation, Inc., 59 Temple Place - Suite 330, michael@0: * Boston, MA 02111-1307, USA. michael@0: */ michael@0: michael@0: #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION) michael@0: #error "Only can be included directly." michael@0: #endif michael@0: michael@0: #ifndef __ATK_RELATION_TYPE_H__ michael@0: #define __ATK_RELATION_TYPE_H__ michael@0: michael@0: #include michael@0: michael@0: G_BEGIN_DECLS michael@0: michael@0: /** michael@0: *AtkRelationType: michael@0: *@ATK_RELATION_NULL: Not used, represens "no relationship" or an error condition. michael@0: *@ATK_RELATION_CONTROLLED_BY: Indicates an object controlled by one or more target objects. michael@0: *@ATK_RELATION_CONTROLLER_FOR: Indicates an object is an controller for one or more target objects. michael@0: *@ATK_RELATION_LABEL_FOR: Indicates an object is a label for one or more target objects. michael@0: *@ATK_RELATION_LABELLED_BY: Indicates an object is labelled by one or more target objects. michael@0: *@ATK_RELATION_MEMBER_OF: Indicates an object is a member of a group of one or more target objects. michael@0: *@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. michael@0: *@ATK_RELATION_FLOWS_TO: Indicates that the object has content that flows logically to another michael@0: * AtkObject in a sequential way, (for instance text-flow). michael@0: *@ATK_RELATION_FLOWS_FROM: Indicates that the object has content that flows logically from michael@0: * another AtkObject in a sequential way, (for instance text-flow). michael@0: *@ATK_RELATION_SUBWINDOW_OF: Indicates a subwindow attached to a component but otherwise has no connection in the UI heirarchy to that component. michael@0: *@ATK_RELATION_EMBEDS: Indicates that the object visually embeds michael@0: * another object's content, i.e. this object's content flows around michael@0: * another's content. michael@0: *@ATK_RELATION_EMBEDDED_BY: Inverse of %ATK_RELATION_EMBEDS, indicates that michael@0: * this object's content is visualy embedded in another object. michael@0: *@ATK_RELATION_POPUP_FOR: Indicates that an object is a popup for another object. michael@0: *@ATK_RELATION_PARENT_WINDOW_OF: Indicates that an object is a parent window of another object. michael@0: *@ATK_RELATION_DESCRIBED_BY: Indicates that another object provides descriptive information about this object; more verbose than ATK_RELATION_LABELLED_BY. michael@0: *@ATK_RELATION_DESCRIPTION_FOR: Indicates that an object provides descriptive information about another object; more verbose than ATK_RELATION_LABEL_FOR. michael@0: *@ATK_RELATION_NODE_PARENT_OF: Indicates an object is a cell in a treetable and is expanded to display other cells in the same column. michael@0: *@ATK_RELATION_LAST_DEFINED: Not used, this value indicates the end of the enumeration. michael@0: * michael@0: *Describes the type of the relation michael@0: **/ michael@0: typedef enum michael@0: { michael@0: ATK_RELATION_NULL = 0, michael@0: ATK_RELATION_CONTROLLED_BY, michael@0: ATK_RELATION_CONTROLLER_FOR, michael@0: ATK_RELATION_LABEL_FOR, michael@0: ATK_RELATION_LABELLED_BY, michael@0: ATK_RELATION_MEMBER_OF, michael@0: ATK_RELATION_NODE_CHILD_OF, michael@0: ATK_RELATION_FLOWS_TO, michael@0: ATK_RELATION_FLOWS_FROM, michael@0: ATK_RELATION_SUBWINDOW_OF, michael@0: ATK_RELATION_EMBEDS, michael@0: ATK_RELATION_EMBEDDED_BY, michael@0: ATK_RELATION_POPUP_FOR, michael@0: ATK_RELATION_PARENT_WINDOW_OF, michael@0: ATK_RELATION_DESCRIBED_BY, michael@0: ATK_RELATION_DESCRIPTION_FOR, michael@0: ATK_RELATION_NODE_PARENT_OF, michael@0: ATK_RELATION_LAST_DEFINED michael@0: } AtkRelationType; michael@0: michael@0: G_END_DECLS michael@0: michael@0: #endif /* __ATK_RELATION_TYPE_H__ */