1 { This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. } 2 unit LazAtk1; 3 4 {$MODE OBJFPC}{$H+} 5 6 {$PACKRECORDS C} 7 {$MODESWITCH DUPLICATELOCALS+} 8 9 {$LINKLIB libatk-1.0.so.0} 10 interface 11 uses 12 CTypes, LazGObject2, LazGLib2; 13 14 const 15 Atk1_library = 'libatk-1.0.so.0'; 16 17 ATK_BINARY_AGE = 20810; 18 ATK_INTERFACE_AGE = 1; 19 ATK_MAJOR_VERSION = 2; 20 ATK_MICRO_VERSION = 0; 21 ATK_MINOR_VERSION = 8; 22 23 type 24 TAtkCoordType = Integer; 25 const 26 { AtkCoordType } 27 ATK_XY_SCREEN: TAtkCoordType = 0; 28 ATK_XY_WINDOW: TAtkCoordType = 1; 29 30 type 31 TAtkLayer = Integer; 32 const 33 { AtkLayer } 34 ATK_LAYER_INVALID: TAtkLayer = 0; 35 ATK_LAYER_BACKGROUND: TAtkLayer = 1; 36 ATK_LAYER_CANVAS: TAtkLayer = 2; 37 ATK_LAYER_WIDGET: TAtkLayer = 3; 38 ATK_LAYER_MDI: TAtkLayer = 4; 39 ATK_LAYER_POPUP: TAtkLayer = 5; 40 ATK_LAYER_OVERLAY: TAtkLayer = 6; 41 ATK_LAYER_WINDOW: TAtkLayer = 7; 42 43 type 44 TAtkRelationType = Integer; 45 const 46 { AtkRelationType } 47 ATK_RELATION_NULL: TAtkRelationType = 0; 48 ATK_RELATION_CONTROLLED_BY: TAtkRelationType = 1; 49 ATK_RELATION_CONTROLLER_FOR: TAtkRelationType = 2; 50 ATK_RELATION_LABEL_FOR: TAtkRelationType = 3; 51 ATK_RELATION_LABELLED_BY: TAtkRelationType = 4; 52 ATK_RELATION_MEMBER_OF: TAtkRelationType = 5; 53 ATK_RELATION_NODE_CHILD_OF: TAtkRelationType = 6; 54 ATK_RELATION_FLOWS_TO: TAtkRelationType = 7; 55 ATK_RELATION_FLOWS_FROM: TAtkRelationType = 8; 56 ATK_RELATION_SUBWINDOW_OF: TAtkRelationType = 9; 57 ATK_RELATION_EMBEDS: TAtkRelationType = 10; 58 ATK_RELATION_EMBEDDED_BY: TAtkRelationType = 11; 59 ATK_RELATION_POPUP_FOR: TAtkRelationType = 12; 60 ATK_RELATION_PARENT_WINDOW_OF: TAtkRelationType = 13; 61 ATK_RELATION_DESCRIBED_BY: TAtkRelationType = 14; 62 ATK_RELATION_DESCRIPTION_FOR: TAtkRelationType = 15; 63 ATK_RELATION_NODE_PARENT_OF: TAtkRelationType = 16; 64 ATK_RELATION_LAST_DEFINED: TAtkRelationType = 17; 65 66 type 67 TAtkRole = Integer; 68 const 69 { AtkRole } 70 ATK_ROLE_INVALID: TAtkRole = 0; 71 ATK_ROLE_ACCEL_LABEL: TAtkRole = 1; 72 ATK_ROLE_ALERT: TAtkRole = 2; 73 ATK_ROLE_ANIMATION: TAtkRole = 3; 74 ATK_ROLE_ARROW: TAtkRole = 4; 75 ATK_ROLE_CALENDAR: TAtkRole = 5; 76 ATK_ROLE_CANVAS: TAtkRole = 6; 77 ATK_ROLE_CHECK_BOX: TAtkRole = 7; 78 ATK_ROLE_CHECK_MENU_ITEM: TAtkRole = 8; 79 ATK_ROLE_COLOR_CHOOSER: TAtkRole = 9; 80 ATK_ROLE_COLUMN_HEADER: TAtkRole = 10; 81 ATK_ROLE_COMBO_BOX: TAtkRole = 11; 82 ATK_ROLE_DATE_EDITOR: TAtkRole = 12; 83 ATK_ROLE_DESKTOP_ICON: TAtkRole = 13; 84 ATK_ROLE_DESKTOP_FRAME: TAtkRole = 14; 85 ATK_ROLE_DIAL: TAtkRole = 15; 86 ATK_ROLE_DIALOG: TAtkRole = 16; 87 ATK_ROLE_DIRECTORY_PANE: TAtkRole = 17; 88 ATK_ROLE_DRAWING_AREA: TAtkRole = 18; 89 ATK_ROLE_FILE_CHOOSER: TAtkRole = 19; 90 ATK_ROLE_FILLER: TAtkRole = 20; 91 ATK_ROLE_FONT_CHOOSER: TAtkRole = 21; 92 ATK_ROLE_FRAME: TAtkRole = 22; 93 ATK_ROLE_GLASS_PANE: TAtkRole = 23; 94 ATK_ROLE_HTML_CONTAINER: TAtkRole = 24; 95 ATK_ROLE_ICON: TAtkRole = 25; 96 ATK_ROLE_IMAGE: TAtkRole = 26; 97 ATK_ROLE_INTERNAL_FRAME: TAtkRole = 27; 98 ATK_ROLE_LABEL: TAtkRole = 28; 99 ATK_ROLE_LAYERED_PANE: TAtkRole = 29; 100 ATK_ROLE_LIST: TAtkRole = 30; 101 ATK_ROLE_LIST_ITEM: TAtkRole = 31; 102 ATK_ROLE_MENU: TAtkRole = 32; 103 ATK_ROLE_MENU_BAR: TAtkRole = 33; 104 ATK_ROLE_MENU_ITEM: TAtkRole = 34; 105 ATK_ROLE_OPTION_PANE: TAtkRole = 35; 106 ATK_ROLE_PAGE_TAB: TAtkRole = 36; 107 ATK_ROLE_PAGE_TAB_LIST: TAtkRole = 37; 108 ATK_ROLE_PANEL: TAtkRole = 38; 109 ATK_ROLE_PASSWORD_TEXT: TAtkRole = 39; 110 ATK_ROLE_POPUP_MENU: TAtkRole = 40; 111 ATK_ROLE_PROGRESS_BAR: TAtkRole = 41; 112 ATK_ROLE_PUSH_BUTTON: TAtkRole = 42; 113 ATK_ROLE_RADIO_BUTTON: TAtkRole = 43; 114 ATK_ROLE_RADIO_MENU_ITEM: TAtkRole = 44; 115 ATK_ROLE_ROOT_PANE: TAtkRole = 45; 116 ATK_ROLE_ROW_HEADER: TAtkRole = 46; 117 ATK_ROLE_SCROLL_BAR: TAtkRole = 47; 118 ATK_ROLE_SCROLL_PANE: TAtkRole = 48; 119 ATK_ROLE_SEPARATOR: TAtkRole = 49; 120 ATK_ROLE_SLIDER: TAtkRole = 50; 121 ATK_ROLE_SPLIT_PANE: TAtkRole = 51; 122 ATK_ROLE_SPIN_BUTTON: TAtkRole = 52; 123 ATK_ROLE_STATUSBAR: TAtkRole = 53; 124 ATK_ROLE_TABLE: TAtkRole = 54; 125 ATK_ROLE_TABLE_CELL: TAtkRole = 55; 126 ATK_ROLE_TABLE_COLUMN_HEADER: TAtkRole = 56; 127 ATK_ROLE_TABLE_ROW_HEADER: TAtkRole = 57; 128 ATK_ROLE_TEAR_OFF_MENU_ITEM: TAtkRole = 58; 129 ATK_ROLE_TERMINAL: TAtkRole = 59; 130 ATK_ROLE_TEXT: TAtkRole = 60; 131 ATK_ROLE_TOGGLE_BUTTON: TAtkRole = 61; 132 ATK_ROLE_TOOL_BAR: TAtkRole = 62; 133 ATK_ROLE_TOOL_TIP: TAtkRole = 63; 134 ATK_ROLE_TREE: TAtkRole = 64; 135 ATK_ROLE_TREE_TABLE: TAtkRole = 65; 136 ATK_ROLE_UNKNOWN: TAtkRole = 66; 137 ATK_ROLE_VIEWPORT: TAtkRole = 67; 138 ATK_ROLE_WINDOW: TAtkRole = 68; 139 ATK_ROLE_HEADER: TAtkRole = 69; 140 ATK_ROLE_FOOTER: TAtkRole = 70; 141 ATK_ROLE_PARAGRAPH: TAtkRole = 71; 142 ATK_ROLE_RULER: TAtkRole = 72; 143 ATK_ROLE_APPLICATION: TAtkRole = 73; 144 ATK_ROLE_AUTOCOMPLETE: TAtkRole = 74; 145 ATK_ROLE_EDITBAR: TAtkRole = 75; 146 ATK_ROLE_EMBEDDED: TAtkRole = 76; 147 ATK_ROLE_ENTRY: TAtkRole = 77; 148 ATK_ROLE_CHART: TAtkRole = 78; 149 ATK_ROLE_CAPTION: TAtkRole = 79; 150 ATK_ROLE_DOCUMENT_FRAME: TAtkRole = 80; 151 ATK_ROLE_HEADING: TAtkRole = 81; 152 ATK_ROLE_PAGE: TAtkRole = 82; 153 ATK_ROLE_SECTION: TAtkRole = 83; 154 ATK_ROLE_REDUNDANT_OBJECT: TAtkRole = 84; 155 ATK_ROLE_FORM: TAtkRole = 85; 156 ATK_ROLE_LINK: TAtkRole = 86; 157 ATK_ROLE_INPUT_METHOD_WINDOW: TAtkRole = 87; 158 ATK_ROLE_TABLE_ROW: TAtkRole = 88; 159 ATK_ROLE_TREE_ITEM: TAtkRole = 89; 160 ATK_ROLE_DOCUMENT_SPREADSHEET: TAtkRole = 90; 161 ATK_ROLE_DOCUMENT_PRESENTATION: TAtkRole = 91; 162 ATK_ROLE_DOCUMENT_TEXT: TAtkRole = 92; 163 ATK_ROLE_DOCUMENT_WEB: TAtkRole = 93; 164 ATK_ROLE_DOCUMENT_EMAIL: TAtkRole = 94; 165 ATK_ROLE_COMMENT: TAtkRole = 95; 166 ATK_ROLE_LIST_BOX: TAtkRole = 96; 167 ATK_ROLE_GROUPING: TAtkRole = 97; 168 ATK_ROLE_IMAGE_MAP: TAtkRole = 98; 169 ATK_ROLE_NOTIFICATION: TAtkRole = 99; 170 ATK_ROLE_INFO_BAR: TAtkRole = 100; 171 ATK_ROLE_LEVEL_BAR: TAtkRole = 101; 172 ATK_ROLE_LAST_DEFINED: TAtkRole = 102; 173 174 type 175 TAtkHyperlinkStateFlags = Integer; 176 const 177 { AtkHyperlinkStateFlags } 178 ATK_HYPERLINK_IS_INLINE_: TAtkHyperlinkStateFlags = 1; 179 180 type 181 TAtkKeyEventType = Integer; 182 const 183 { AtkKeyEventType } 184 ATK_KEY_EVENT_PRESS: TAtkKeyEventType = 0; 185 ATK_KEY_EVENT_RELEASE: TAtkKeyEventType = 1; 186 ATK_KEY_EVENT_LAST_DEFINED: TAtkKeyEventType = 2; 187 188 type 189 TAtkTextClipType = Integer; 190 const 191 { AtkTextClipType } 192 ATK_TEXT_CLIP_NONE: TAtkTextClipType = 0; 193 ATK_TEXT_CLIP_MIN: TAtkTextClipType = 1; 194 ATK_TEXT_CLIP_MAX: TAtkTextClipType = 2; 195 ATK_TEXT_CLIP_BOTH: TAtkTextClipType = 3; 196 197 type 198 TAtkTextBoundary = Integer; 199 const 200 { AtkTextBoundary } 201 ATK_TEXT_BOUNDARY_CHAR: TAtkTextBoundary = 0; 202 ATK_TEXT_BOUNDARY_WORD_START: TAtkTextBoundary = 1; 203 ATK_TEXT_BOUNDARY_WORD_END: TAtkTextBoundary = 2; 204 ATK_TEXT_BOUNDARY_SENTENCE_START: TAtkTextBoundary = 3; 205 ATK_TEXT_BOUNDARY_SENTENCE_END: TAtkTextBoundary = 4; 206 ATK_TEXT_BOUNDARY_LINE_START: TAtkTextBoundary = 5; 207 ATK_TEXT_BOUNDARY_LINE_END: TAtkTextBoundary = 6; 208 209 type 210 TAtkStateType = Integer; 211 const 212 { AtkStateType } 213 ATK_STATE_INVALID: TAtkStateType = 0; 214 ATK_STATE_ACTIVE: TAtkStateType = 1; 215 ATK_STATE_ARMED: TAtkStateType = 2; 216 ATK_STATE_BUSY: TAtkStateType = 3; 217 ATK_STATE_CHECKED: TAtkStateType = 4; 218 ATK_STATE_DEFUNCT: TAtkStateType = 5; 219 ATK_STATE_EDITABLE: TAtkStateType = 6; 220 ATK_STATE_ENABLED: TAtkStateType = 7; 221 ATK_STATE_EXPANDABLE: TAtkStateType = 8; 222 ATK_STATE_EXPANDED: TAtkStateType = 9; 223 ATK_STATE_FOCUSABLE: TAtkStateType = 10; 224 ATK_STATE_FOCUSED: TAtkStateType = 11; 225 ATK_STATE_HORIZONTAL: TAtkStateType = 12; 226 ATK_STATE_ICONIFIED: TAtkStateType = 13; 227 ATK_STATE_MODAL: TAtkStateType = 14; 228 ATK_STATE_MULTI_LINE: TAtkStateType = 15; 229 ATK_STATE_MULTISELECTABLE: TAtkStateType = 16; 230 ATK_STATE_OPAQUE: TAtkStateType = 17; 231 ATK_STATE_PRESSED: TAtkStateType = 18; 232 ATK_STATE_RESIZABLE: TAtkStateType = 19; 233 ATK_STATE_SELECTABLE: TAtkStateType = 20; 234 ATK_STATE_SELECTED: TAtkStateType = 21; 235 ATK_STATE_SENSITIVE: TAtkStateType = 22; 236 ATK_STATE_SHOWING: TAtkStateType = 23; 237 ATK_STATE_SINGLE_LINE: TAtkStateType = 24; 238 ATK_STATE_STALE: TAtkStateType = 25; 239 ATK_STATE_TRANSIENT: TAtkStateType = 26; 240 ATK_STATE_VERTICAL: TAtkStateType = 27; 241 ATK_STATE_VISIBLE: TAtkStateType = 28; 242 ATK_STATE_MANAGES_DESCENDANTS: TAtkStateType = 29; 243 ATK_STATE_INDETERMINATE: TAtkStateType = 30; 244 ATK_STATE_TRUNCATED: TAtkStateType = 31; 245 ATK_STATE_REQUIRED: TAtkStateType = 32; 246 ATK_STATE_INVALID_ENTRY: TAtkStateType = 33; 247 ATK_STATE_SUPPORTS_AUTOCOMPLETION: TAtkStateType = 34; 248 ATK_STATE_SELECTABLE_TEXT: TAtkStateType = 35; 249 ATK_STATE_DEFAULT: TAtkStateType = 36; 250 ATK_STATE_ANIMATED: TAtkStateType = 37; 251 ATK_STATE_VISITED: TAtkStateType = 38; 252 ATK_STATE_LAST_DEFINED: TAtkStateType = 39; 253 254 type 255 TAtkTextAttribute = Integer; 256 const 257 { AtkTextAttribute } 258 ATK_TEXT_ATTR_INVALID: TAtkTextAttribute = 0; 259 ATK_TEXT_ATTR_LEFT_MARGIN: TAtkTextAttribute = 1; 260 ATK_TEXT_ATTR_RIGHT_MARGIN: TAtkTextAttribute = 2; 261 ATK_TEXT_ATTR_INDENT: TAtkTextAttribute = 3; 262 ATK_TEXT_ATTR_INVISIBLE: TAtkTextAttribute = 4; 263 ATK_TEXT_ATTR_EDITABLE: TAtkTextAttribute = 5; 264 ATK_TEXT_ATTR_PIXELS_ABOVE_LINES: TAtkTextAttribute = 6; 265 ATK_TEXT_ATTR_PIXELS_BELOW_LINES: TAtkTextAttribute = 7; 266 ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP: TAtkTextAttribute = 8; 267 ATK_TEXT_ATTR_BG_FULL_HEIGHT: TAtkTextAttribute = 9; 268 ATK_TEXT_ATTR_RISE: TAtkTextAttribute = 10; 269 ATK_TEXT_ATTR_UNDERLINE: TAtkTextAttribute = 11; 270 ATK_TEXT_ATTR_STRIKETHROUGH: TAtkTextAttribute = 12; 271 ATK_TEXT_ATTR_SIZE: TAtkTextAttribute = 13; 272 ATK_TEXT_ATTR_SCALE: TAtkTextAttribute = 14; 273 ATK_TEXT_ATTR_WEIGHT: TAtkTextAttribute = 15; 274 ATK_TEXT_ATTR_LANGUAGE: TAtkTextAttribute = 16; 275 ATK_TEXT_ATTR_FAMILY_NAME: TAtkTextAttribute = 17; 276 ATK_TEXT_ATTR_BG_COLOR: TAtkTextAttribute = 18; 277 ATK_TEXT_ATTR_FG_COLOR: TAtkTextAttribute = 19; 278 ATK_TEXT_ATTR_BG_STIPPLE: TAtkTextAttribute = 20; 279 ATK_TEXT_ATTR_FG_STIPPLE: TAtkTextAttribute = 21; 280 ATK_TEXT_ATTR_WRAP_MODE: TAtkTextAttribute = 22; 281 ATK_TEXT_ATTR_DIRECTION: TAtkTextAttribute = 23; 282 ATK_TEXT_ATTR_JUSTIFICATION: TAtkTextAttribute = 24; 283 ATK_TEXT_ATTR_STRETCH: TAtkTextAttribute = 25; 284 ATK_TEXT_ATTR_VARIANT: TAtkTextAttribute = 26; 285 ATK_TEXT_ATTR_STYLE: TAtkTextAttribute = 27; 286 ATK_TEXT_ATTR_LAST_DEFINED: TAtkTextAttribute = 28; 287 type 288 289 PPAtkAttributeSet = ^PAtkAttributeSet; 290 PAtkAttributeSet = ^TAtkAttributeSet; 291 TAtkAttributeSet = TGSList; 292 293 PPAtkState = ^PAtkState; 294 PAtkState = ^TAtkState; 295 TAtkState = guint64; 296 297 PPAtkAction = ^PAtkAction; 298 PAtkAction = ^TAtkAction; 299 TAtkAction = object do_actionnull300 function do_action(i: gint): gboolean; cdecl; inline; get_descriptionnull301 function get_description(i: gint): Pgchar; cdecl; inline; get_keybindingnull302 function get_keybinding(i: gint): Pgchar; cdecl; inline; get_localized_namenull303 function get_localized_name(i: gint): Pgchar; cdecl; inline; get_n_actionsnull304 function get_n_actions: gint; cdecl; inline; get_namenull305 function get_name(i: gint): Pgchar; cdecl; inline; set_descriptionnull306 function set_description(i: gint; desc: Pgchar): gboolean; cdecl; inline; 307 end; 308 TAtkFunction = function(user_data: gpointer): gboolean; cdecl; 309 310 PPAtkActionIface = ^PAtkActionIface; 311 PAtkActionIface = ^TAtkActionIface; 312 313 PPAtkFunction = ^PAtkFunction; 314 PAtkFunction = ^TAtkFunction; 315 TAtkActionIface = object 316 parent: TGTypeInterface; ctionnull317 do_action: function(action: PAtkAction; i: gint): gboolean; cdecl; ctionnull318 get_n_actions: function(action: PAtkAction): gint; cdecl; ctionnull319 get_description: function(action: PAtkAction; i: gint): Pgchar; cdecl; ctionnull320 get_name: function(action: PAtkAction; i: gint): Pgchar; cdecl; ctionnull321 get_keybinding: function(action: PAtkAction; i: gint): Pgchar; cdecl; ctionnull322 set_description: function(action: PAtkAction; i: gint; desc: Pgchar): gboolean; cdecl; ctionnull323 get_localized_name: function(action: PAtkAction; i: gint): Pgchar; cdecl; 324 pad2: TAtkFunction; endnull325 end; 326 327 PPAtkAttribute = ^PAtkAttribute; 328 PAtkAttribute = ^TAtkAttribute; 329 TAtkAttribute = object 330 name: Pgchar; 331 value: Pgchar; 332 procedure set_free(attrib_set: PAtkAttributeSet); cdecl; inline; static; 333 end; 334 335 PPAtkComponent = ^PAtkComponent; 336 PAtkComponent = ^TAtkComponent; 337 338 PPAtkFocusHandler = ^PAtkFocusHandler; 339 PAtkFocusHandler = ^TAtkFocusHandler; 340 341 PPAtkObject = ^PAtkObject; 342 PAtkObject = ^TAtkObject; 343 TAtkFocusHandler = procedure(arg0: PAtkObject; arg1: gboolean); cdecl; 344 345 PPAtkCoordType = ^PAtkCoordType; 346 PAtkCoordType = ^TAtkCoordType; 347 348 PPAtkLayer = ^PAtkLayer; 349 PAtkLayer = ^TAtkLayer; 350 351 PPAtkRectangle = ^PAtkRectangle; 352 PAtkRectangle = ^TAtkRectangle; 353 TAtkRectangle = object 354 x: gint; 355 y: gint; 356 width: gint; 357 height: gint; 358 end; 359 TAtkComponent = object 360 bounds_changed: procedure(object_: TAtkRectangle); cdecl; add_focus_handlernull361 function add_focus_handler(handler: TAtkFocusHandler): guint; cdecl; inline; containsnull362 function contains(x: gint; y: gint; coord_type: TAtkCoordType): gboolean; cdecl; inline; get_alphanull363 function get_alpha: gdouble; cdecl; inline; 364 procedure get_extents(x: Pgint; y: Pgint; width: Pgint; height: Pgint; coord_type: TAtkCoordType); cdecl; inline; get_layernull365 function get_layer: TAtkLayer; cdecl; inline; get_mdi_zordernull366 function get_mdi_zorder: gint; cdecl; inline; 367 procedure get_position(x: Pgint; y: Pgint; coord_type: TAtkCoordType); cdecl; inline; 368 procedure get_size(width: Pgint; height: Pgint); cdecl; inline; grab_focusnull369 function grab_focus: gboolean; cdecl; inline; ref_accessible_at_pointnull370 function ref_accessible_at_point(x: gint; y: gint; coord_type: TAtkCoordType): PAtkObject; cdecl; inline; 371 procedure remove_focus_handler(handler_id: guint); cdecl; inline; set_extentsnull372 function set_extents(x: gint; y: gint; width: gint; height: gint; coord_type: TAtkCoordType): gboolean; cdecl; inline; set_positionnull373 function set_position(x: gint; y: gint; coord_type: TAtkCoordType): gboolean; cdecl; inline; set_sizenull374 function set_size(width: gint; height: gint): gboolean; cdecl; inline; 375 end; 376 377 PPAtkRelationType = ^PAtkRelationType; 378 PAtkRelationType = ^TAtkRelationType; 379 380 PPAtkPropertyChangeHandler = ^PAtkPropertyChangeHandler; 381 PAtkPropertyChangeHandler = ^TAtkPropertyChangeHandler; 382 383 PAtkPropertyValues = ^TAtkPropertyValues; 384 TAtkPropertyChangeHandler = procedure(obj: PAtkObject; vals: PAtkPropertyValues); cdecl; 385 386 PPAtkRole = ^PAtkRole; 387 PAtkRole = ^TAtkRole; 388 389 PPAtkRelationSet = ^PAtkRelationSet; 390 PAtkRelationSet = ^TAtkRelationSet; 391 392 PPAtkStateSet = ^PAtkStateSet; 393 PAtkStateSet = ^TAtkStateSet; 394 TAtkObject = object(TGObject) 395 description: Pgchar; 396 name: Pgchar; 397 accessible_parent1: PAtkObject; 398 role: TAtkRole; 399 relation_set: PAtkRelationSet; 400 layer: TAtkLayer; add_relationshipnull401 function add_relationship(relationship: TAtkRelationType; target: PAtkObject): gboolean; cdecl; inline; connect_property_change_handlernull402 function connect_property_change_handler(handler: PAtkPropertyChangeHandler): guint; cdecl; inline; get_attributesnull403 function get_attributes: PAtkAttributeSet; cdecl; inline; get_descriptionnull404 function get_description: Pgchar; cdecl; inline; get_index_in_parentnull405 function get_index_in_parent: gint; cdecl; inline; get_n_accessible_childrennull406 function get_n_accessible_children: gint; cdecl; inline; get_namenull407 function get_name: Pgchar; cdecl; inline; get_object_localenull408 function get_object_locale: Pgchar; cdecl; inline; get_parentnull409 function get_parent: PAtkObject; cdecl; inline; get_rolenull410 function get_role: TAtkRole; cdecl; inline; 411 procedure initialize(data: gpointer); cdecl; inline; 412 procedure notify_state_change(state: TAtkState; value: gboolean); cdecl; inline; ref_accessible_childnull413 function ref_accessible_child(i: gint): PAtkObject; cdecl; inline; ref_relation_setnull414 function ref_relation_set: PAtkRelationSet; cdecl; inline; ref_state_setnull415 function ref_state_set: PAtkStateSet; cdecl; inline; 416 procedure remove_property_change_handler(handler_id: guint); cdecl; inline; remove_relationshipnull417 function remove_relationship(relationship: TAtkRelationType; target: PAtkObject): gboolean; cdecl; inline; 418 procedure set_description(description: Pgchar); cdecl; inline; 419 procedure set_name(name: Pgchar); cdecl; inline; 420 procedure set_parent(parent: PAtkObject); cdecl; inline; 421 procedure set_role(role: TAtkRole); cdecl; inline; 422 //property accessible_component_layer: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_component_layer ; 423 //property accessible_component_mdi_zorder: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_component_mdi_zorder ; 424 //property accessible_description: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_description { property is writeable but setter not declared } ; 425 //property accessible_hypertext_nlinks: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_hypertext_nlinks ; 426 //property accessible_name: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_name { property is writeable but setter not declared } ; 427 //property accessible_parent: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_parent { property is writeable but setter not declared } ; 428 //property accessible_role: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_role { property is writeable but setter not declared } ; 429 //property accessible_table_caption: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_table_caption { property is writeable but setter not declared } ; 430 //property accessible_table_caption_object: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_table_caption_object { property is writeable but setter not declared } ; 431 //property accessible_table_column_description: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_table_column_description { property is writeable but setter not declared } ; 432 //property accessible_table_column_header: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_table_column_header { property is writeable but setter not declared } ; 433 //property accessible_table_row_description: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_table_row_description { property is writeable but setter not declared } ; 434 //property accessible_table_row_header: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_table_row_header { property is writeable but setter not declared } ; 435 //property accessible_table_summary: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_table_summary { property is writeable but setter not declared } ; 436 //property accessible_value: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accessible_value { property is writeable but setter not declared } ; 437 end; 438 439 PPAtkComponentIface = ^PAtkComponentIface; 440 PAtkComponentIface = ^TAtkComponentIface; 441 TAtkComponentIface = object 442 parent: TGTypeInterface; omponentnull443 add_focus_handler: function(component: PAtkComponent; handler: TAtkFocusHandler): guint; cdecl; omponentnull444 contains: function(component: PAtkComponent; x: gint; y: gint; coord_type: TAtkCoordType): gboolean; cdecl; omponentnull445 ref_accessible_at_point: function(component: PAtkComponent; x: gint; y: gint; coord_type: TAtkCoordType): PAtkObject; cdecl; 446 get_extents: procedure(component: PAtkComponent; x: Pgint; y: Pgint; width: Pgint; height: Pgint; coord_type: TAtkCoordType); cdecl; 447 get_position: procedure(component: PAtkComponent; x: Pgint; y: Pgint; coord_type: TAtkCoordType); cdecl; 448 get_size: procedure(component: PAtkComponent; width: Pgint; height: Pgint); cdecl; omponentnull449 grab_focus: function(component: PAtkComponent): gboolean; cdecl; 450 remove_focus_handler: procedure(component: PAtkComponent; handler_id: guint); cdecl; omponentnull451 set_extents: function(component: PAtkComponent; x: gint; y: gint; width: gint; height: gint; coord_type: TAtkCoordType): gboolean; cdecl; omponentnull452 set_position: function(component: PAtkComponent; x: gint; y: gint; coord_type: TAtkCoordType): gboolean; cdecl; omponentnull453 set_size: function(component: PAtkComponent; width: gint; height: gint): gboolean; cdecl; omponentnull454 get_layer: function(component: PAtkComponent): TAtkLayer; cdecl; omponentnull455 get_mdi_zorder: function(component: PAtkComponent): gint; cdecl; 456 bounds_changed: procedure(component: PAtkComponent; bounds: PAtkRectangle); cdecl; omponentnull457 get_alpha: function(component: PAtkComponent): gdouble; cdecl; 458 end; 459 460 PPAtkDocument = ^PAtkDocument; 461 PAtkDocument = ^TAtkDocument; 462 TAtkDocument = object 463 load_complete: procedure; cdecl; 464 load_stopped: procedure; cdecl; 465 reload: procedure; cdecl; get_attribute_valuenull466 function get_attribute_value(attribute_name: Pgchar): Pgchar; cdecl; inline; get_attributesnull467 function get_attributes: PAtkAttributeSet; cdecl; inline; get_documentnull468 function get_document: gpointer; cdecl; inline; get_document_typenull469 function get_document_type: Pgchar; cdecl; inline; set_attribute_valuenull470 function set_attribute_value(attribute_name: Pgchar; attribute_value: Pgchar): gboolean; cdecl; inline; 471 end; 472 473 PPAtkDocumentIface = ^PAtkDocumentIface; 474 PAtkDocumentIface = ^TAtkDocumentIface; 475 TAtkDocumentIface = object 476 parent: TGTypeInterface; ocumentnull477 get_document_type: function(document: PAtkDocument): Pgchar; cdecl; ocumentnull478 get_document: function(document: PAtkDocument): gpointer; cdecl; ocumentnull479 get_document_locale: function(document: PAtkDocument): Pgchar; cdecl; ocumentnull480 get_document_attributes: function(document: PAtkDocument): PAtkAttributeSet; cdecl; ocumentnull481 get_document_attribute_value: function(document: PAtkDocument; attribute_name: Pgchar): Pgchar; cdecl; ocumentnull482 set_document_attribute: function(document: PAtkDocument; attribute_name: Pgchar; attribute_value: Pgchar): gboolean; cdecl; 483 pad1: TAtkFunction; pad2null484 pad2: TAtkFunction; 485 pad3: TAtkFunction; pad4null486 pad4: TAtkFunction; 487 end; 488 489 PPAtkEditableText = ^PAtkEditableText; 490 PAtkEditableText = ^TAtkEditableText; 491 TAtkEditableText = object 492 procedure copy_text(start_pos: gint; end_pos: gint); cdecl; inline; 493 procedure cut_text(start_pos: gint; end_pos: gint); cdecl; inline; 494 procedure delete_text(start_pos: gint; end_pos: gint); cdecl; inline; 495 procedure insert_text(string_: Pgchar; length: gint; position: Pgint); cdecl; inline; 496 procedure paste_text(position: gint); cdecl; inline; set_run_attributesnull497 function set_run_attributes(attrib_set: PAtkAttributeSet; start_offset: gint; end_offset: gint): gboolean; cdecl; inline; 498 procedure set_text_contents(string_: Pgchar); cdecl; inline; 499 end; 500 501 PPAtkEditableTextIface = ^PAtkEditableTextIface; 502 PAtkEditableTextIface = ^TAtkEditableTextIface; 503 TAtkEditableTextIface = object 504 parent_interface: TGTypeInterface; extnull505 set_run_attributes: function(text: PAtkEditableText; attrib_set: PAtkAttributeSet; start_offset: gint; end_offset: gint): gboolean; cdecl; 506 set_text_contents: procedure(text: PAtkEditableText; string_: Pgchar); cdecl; 507 insert_text: procedure(text: PAtkEditableText; string_: Pgchar; length: gint; position: Pgint); cdecl; 508 copy_text: procedure(text: PAtkEditableText; start_pos: gint; end_pos: gint); cdecl; 509 cut_text: procedure(text: PAtkEditableText; start_pos: gint; end_pos: gint); cdecl; 510 delete_text: procedure(text: PAtkEditableText; start_pos: gint; end_pos: gint); cdecl; 511 paste_text: procedure(text: PAtkEditableText; position: gint); cdecl; 512 pad1: TAtkFunction; pad2null513 pad2: TAtkFunction; 514 end; 515 TAtkEventListener = procedure(obj: PAtkObject); cdecl; 516 TAtkEventListenerInit = procedure; cdecl; 517 518 PPAtkGObjectAccessible = ^PAtkGObjectAccessible; 519 PAtkGObjectAccessible = ^TAtkGObjectAccessible; 520 TAtkGObjectAccessible = object(TAtkObject) for_objectnull521 function for_object(obj: PGObject): PAtkObject; cdecl; inline; static; get_objectnull522 function get_object: PGObject; cdecl; inline; 523 end; 524 525 PPAtkObjectClass = ^PAtkObjectClass; 526 PAtkObjectClass = ^TAtkObjectClass; 527 TAtkObjectClass = object 528 parent: TGObjectClass; ccessiblenull529 get_name: function(accessible: PAtkObject): Pgchar; cdecl; ccessiblenull530 get_description: function(accessible: PAtkObject): Pgchar; cdecl; ccessiblenull531 get_parent: function(accessible: PAtkObject): PAtkObject; cdecl; ccessiblenull532 get_n_children: function(accessible: PAtkObject): gint; cdecl; ccessiblenull533 ref_child: function(accessible: PAtkObject; i: gint): PAtkObject; cdecl; ccessiblenull534 get_index_in_parent: function(accessible: PAtkObject): gint; cdecl; ccessiblenull535 ref_relation_set: function(accessible: PAtkObject): PAtkRelationSet; cdecl; ccessiblenull536 get_role: function(accessible: PAtkObject): TAtkRole; cdecl; ccessiblenull537 get_layer: function(accessible: PAtkObject): TAtkLayer; cdecl; ccessiblenull538 get_mdi_zorder: function(accessible: PAtkObject): gint; cdecl; ccessiblenull539 ref_state_set: function(accessible: PAtkObject): PAtkStateSet; cdecl; 540 set_name: procedure(accessible: PAtkObject; name: Pgchar); cdecl; 541 set_description: procedure(accessible: PAtkObject; description: Pgchar); cdecl; 542 set_parent: procedure(accessible: PAtkObject; parent: PAtkObject); cdecl; 543 set_role: procedure(accessible: PAtkObject; role: TAtkRole); cdecl; ccessiblenull544 connect_property_change_handler: function(accessible: PAtkObject; handler: PAtkPropertyChangeHandler): guint; cdecl; 545 remove_property_change_handler: procedure(accessible: PAtkObject; handler_id: guint); cdecl; 546 initialize: procedure(accessible: PAtkObject; data: gpointer); cdecl; 547 children_changed: procedure(accessible: PAtkObject; change_index: guint; changed_child: gpointer); cdecl; 548 focus_event: procedure(accessible: PAtkObject; focus_in: gboolean); cdecl; 549 property_change: procedure(accessible: PAtkObject; values: PAtkPropertyValues); cdecl; 550 state_change: procedure(accessible: PAtkObject; name: Pgchar; state_set: gboolean); cdecl; 551 visible_data_changed: procedure(accessible: PAtkObject); cdecl; 552 active_descendant_changed: procedure(accessible: PAtkObject; child: Pgpointer); cdecl; ccessiblenull553 get_attributes: function(accessible: PAtkObject): PAtkAttributeSet; cdecl; ccessiblenull554 get_object_locale: function(accessible: PAtkObject): Pgchar; cdecl; 555 pad1: TAtkFunction; endnull556 end; 557 558 PPAtkGObjectAccessibleClass = ^PAtkGObjectAccessibleClass; 559 PAtkGObjectAccessibleClass = ^TAtkGObjectAccessibleClass; 560 TAtkGObjectAccessibleClass = object 561 parent_class: TAtkObjectClass; 562 pad1: TAtkFunction; pad2null563 pad2: TAtkFunction; 564 end; 565 566 PPAtkHyperlink = ^PAtkHyperlink; 567 PAtkHyperlink = ^TAtkHyperlink; 568 TAtkHyperlink = object(TGObject) get_end_indexnull569 function get_end_index: gint; cdecl; inline; get_n_anchorsnull570 function get_n_anchors: gint; cdecl; inline; get_objectnull571 function get_object(i: gint): PAtkObject; cdecl; inline; get_start_indexnull572 function get_start_index: gint; cdecl; inline; get_urinull573 function get_uri(i: gint): Pgchar; cdecl; inline; is_inlinenull574 function is_inline: gboolean; cdecl; inline; is_validnull575 function is_valid: gboolean; cdecl; inline; 576 property end_index: gint read get_end_index ; 577 //property number_of_anchors: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_number_of_anchors ; 578 //property selected_link: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_selected_link ; 579 property start_index: gint read get_start_index ; 580 end; 581 582 PPAtkHyperlinkClass = ^PAtkHyperlinkClass; 583 PAtkHyperlinkClass = ^TAtkHyperlinkClass; 584 TAtkHyperlinkClass = object 585 parent: TGObjectClass; ink_null586 get_uri: function(link_: PAtkHyperlink; i: gint): Pgchar; cdecl; ink_null587 get_object: function(link_: PAtkHyperlink; i: gint): PAtkObject; cdecl; ink_null588 get_end_index: function(link_: PAtkHyperlink): gint; cdecl; ink_null589 get_start_index: function(link_: PAtkHyperlink): gint; cdecl; ink_null590 is_valid: function(link_: PAtkHyperlink): gboolean; cdecl; ink_null591 get_n_anchors: function(link_: PAtkHyperlink): gint; cdecl; ink_null592 link_state: function(link_: PAtkHyperlink): guint; cdecl; ink_null593 is_selected_link: function(link_: PAtkHyperlink): gboolean; cdecl; 594 link_activated: procedure(link_: PAtkHyperlink); cdecl; 595 pad1: TAtkFunction; endnull596 end; 597 598 PPAtkHyperlinkImpl = ^PAtkHyperlinkImpl; 599 PAtkHyperlinkImpl = ^TAtkHyperlinkImpl; 600 TAtkHyperlinkImpl = object get_hyperlinknull601 function get_hyperlink: PAtkHyperlink; cdecl; inline; 602 end; 603 604 PPAtkHyperlinkImplIface = ^PAtkHyperlinkImplIface; 605 PAtkHyperlinkImplIface = ^TAtkHyperlinkImplIface; 606 TAtkHyperlinkImplIface = object 607 parent: TGTypeInterface; mplnull608 get_hyperlink: function(impl: PAtkHyperlinkImpl): PAtkHyperlink; cdecl; 609 pad1: TAtkFunction; endnull610 end; 611 612 PPAtkHyperlinkStateFlags = ^PAtkHyperlinkStateFlags; 613 PAtkHyperlinkStateFlags = ^TAtkHyperlinkStateFlags; 614 615 PPAtkHypertext = ^PAtkHypertext; 616 PAtkHypertext = ^TAtkHypertext; 617 TAtkHypertext = object 618 link_selected: procedure(object_: gint); cdecl; get_linknull619 function get_link(link_index: gint): PAtkHyperlink; cdecl; inline; get_link_indexnull620 function get_link_index(char_index: gint): gint; cdecl; inline; get_n_linksnull621 function get_n_links: gint; cdecl; inline; 622 end; 623 624 PPAtkHypertextIface = ^PAtkHypertextIface; 625 PAtkHypertextIface = ^TAtkHypertextIface; 626 TAtkHypertextIface = object 627 parent: TGTypeInterface; ypertextnull628 get_link: function(hypertext: PAtkHypertext; link_index: gint): PAtkHyperlink; cdecl; ypertextnull629 get_n_links: function(hypertext: PAtkHypertext): gint; cdecl; ypertextnull630 get_link_index: function(hypertext: PAtkHypertext; char_index: gint): gint; cdecl; 631 link_selected: procedure(hypertext: PAtkHypertext; link_index: gint); cdecl; 632 pad1: TAtkFunction; pad2null633 pad2: TAtkFunction; 634 pad3: TAtkFunction; endnull635 end; 636 637 PPAtkImage = ^PAtkImage; 638 PAtkImage = ^TAtkImage; 639 TAtkImage = object get_image_descriptionnull640 function get_image_description: Pgchar; cdecl; inline; get_image_localenull641 function get_image_locale: Pgchar; cdecl; inline; 642 procedure get_image_position(x: Pgint; y: Pgint; coord_type: TAtkCoordType); cdecl; inline; 643 procedure get_image_size(width: Pgint; height: Pgint); cdecl; inline; set_image_descriptionnull644 function set_image_description(description: Pgchar): gboolean; cdecl; inline; 645 end; 646 647 PPAtkImageIface = ^PAtkImageIface; 648 PAtkImageIface = ^TAtkImageIface; 649 TAtkImageIface = object 650 parent: TGTypeInterface; 651 get_image_position: procedure(image: PAtkImage; x: Pgint; y: Pgint; coord_type: TAtkCoordType); cdecl; magenull652 get_image_description: function(image: PAtkImage): Pgchar; cdecl; 653 get_image_size: procedure(image: PAtkImage; width: Pgint; height: Pgint); cdecl; magenull654 set_image_description: function(image: PAtkImage; description: Pgchar): gboolean; cdecl; magenull655 get_image_locale: function(image: PAtkImage): Pgchar; cdecl; 656 pad1: TAtkFunction; endnull657 end; 658 659 PPAtkImplementor = ^PAtkImplementor; 660 PAtkImplementor = ^TAtkImplementor; 661 TAtkImplementor = object ref_accessiblenull662 function ref_accessible: PAtkObject; cdecl; inline; 663 end; 664 665 PPAtkImplementorIface = ^PAtkImplementorIface; 666 PAtkImplementorIface = ^TAtkImplementorIface; 667 TAtkImplementorIface = object 668 end; 669 670 PPAtkKeyEventStruct = ^PAtkKeyEventStruct; 671 PAtkKeyEventStruct = ^TAtkKeyEventStruct; 672 673 TAtkKeyEventStruct = record 674 type_: gint; 675 state: guint; 676 keyval: guint; 677 length: gint; 678 string_: Pgchar; 679 keycode: guint16; 680 timestamp: guint32; 681 end; 682 683 684 685 PPAtkKeyEventType = ^PAtkKeyEventType; 686 PAtkKeyEventType = ^TAtkKeyEventType; ventnull687 TAtkKeySnoopFunc = function(event: PAtkKeyEventStruct; user_data: gpointer): gint; cdecl; 688 689 PPAtkMisc = ^PAtkMisc; 690 PAtkMisc = ^TAtkMisc; 691 TAtkMisc = object(TGObject) get_instancenull692 function get_instance: PAtkMisc; cdecl; inline; static; 693 procedure threads_enter; cdecl; inline; 694 procedure threads_leave; cdecl; inline; 695 end; 696 697 PPAtkMiscClass = ^PAtkMiscClass; 698 PAtkMiscClass = ^TAtkMiscClass; 699 TAtkMiscClass = object 700 parent: TGObjectClass; 701 threads_enter: procedure(misc: PAtkMisc); cdecl; 702 threads_leave: procedure(misc: PAtkMisc); cdecl; 703 vfuncs: array [0..31] of gpointer; 704 end; 705 706 PPAtkSelection = ^PAtkSelection; 707 PAtkSelection = ^TAtkSelection; 708 TAtkSelection = object 709 selection_changed: procedure; cdecl; add_selectionnull710 function add_selection(i: gint): gboolean; cdecl; inline; clear_selectionnull711 function clear_selection: gboolean; cdecl; inline; get_selection_countnull712 function get_selection_count: gint; cdecl; inline; is_child_selectednull713 function is_child_selected(i: gint): gboolean; cdecl; inline; ref_selectionnull714 function ref_selection(i: gint): PAtkObject; cdecl; inline; remove_selectionnull715 function remove_selection(i: gint): gboolean; cdecl; inline; select_all_selectionnull716 function select_all_selection: gboolean; cdecl; inline; 717 end; 718 719 PPAtkTable = ^PAtkTable; 720 PAtkTable = ^TAtkTable; 721 TAtkTable = object 722 column_deleted: procedure(object_: gint; p0: gint); cdecl; 723 column_inserted: procedure(object_: gint; p0: gint); cdecl; 724 column_reordered: procedure; cdecl; 725 model_changed: procedure; cdecl; 726 row_deleted: procedure(object_: gint; p0: gint); cdecl; 727 row_inserted: procedure(object_: gint; p0: gint); cdecl; 728 row_reordered: procedure; cdecl; add_column_selectionnull729 function add_column_selection(column: gint): gboolean; cdecl; inline; add_row_selectionnull730 function add_row_selection(row: gint): gboolean; cdecl; inline; get_captionnull731 function get_caption: PAtkObject; cdecl; inline; get_column_at_indexnull732 function get_column_at_index(index_: gint): gint; cdecl; inline; get_column_descriptionnull733 function get_column_description(column: gint): Pgchar; cdecl; inline; get_column_extent_atnull734 function get_column_extent_at(row: gint; column: gint): gint; cdecl; inline; get_column_headernull735 function get_column_header(column: gint): PAtkObject; cdecl; inline; get_index_atnull736 function get_index_at(row: gint; column: gint): gint; cdecl; inline; get_n_columnsnull737 function get_n_columns: gint; cdecl; inline; get_n_rowsnull738 function get_n_rows: gint; cdecl; inline; get_row_at_indexnull739 function get_row_at_index(index_: gint): gint; cdecl; inline; get_row_descriptionnull740 function get_row_description(row: gint): Pgchar; cdecl; inline; get_row_extent_atnull741 function get_row_extent_at(row: gint; column: gint): gint; cdecl; inline; get_row_headernull742 function get_row_header(row: gint): PAtkObject; cdecl; inline; get_selected_columnsnull743 function get_selected_columns(selected: PPgint): gint; cdecl; inline; get_selected_rowsnull744 function get_selected_rows(selected: PPgint): gint; cdecl; inline; get_summarynull745 function get_summary: PAtkObject; cdecl; inline; is_column_selectednull746 function is_column_selected(column: gint): gboolean; cdecl; inline; is_row_selectednull747 function is_row_selected(row: gint): gboolean; cdecl; inline; is_selectednull748 function is_selected(row: gint; column: gint): gboolean; cdecl; inline; ref_atnull749 function ref_at(row: gint; column: gint): PAtkObject; cdecl; inline; remove_column_selectionnull750 function remove_column_selection(column: gint): gboolean; cdecl; inline; remove_row_selectionnull751 function remove_row_selection(row: gint): gboolean; cdecl; inline; 752 procedure set_caption(caption: PAtkObject); cdecl; inline; 753 procedure set_column_description(column: gint; description: Pgchar); cdecl; inline; 754 procedure set_column_header(column: gint; header: PAtkObject); cdecl; inline; 755 procedure set_row_description(row: gint; description: Pgchar); cdecl; inline; 756 procedure set_row_header(row: gint; header: PAtkObject); cdecl; inline; 757 procedure set_summary(accessible: PAtkObject); cdecl; inline; 758 end; 759 760 PPAtkText = ^PAtkText; 761 PAtkText = ^TAtkText; 762 763 PPAtkTextRange = ^PAtkTextRange; 764 PAtkTextRange = ^TAtkTextRange; 765 766 PPAtkTextRectangle = ^PAtkTextRectangle; 767 PAtkTextRectangle = ^TAtkTextRectangle; 768 769 PPAtkTextClipType = ^PAtkTextClipType; 770 PAtkTextClipType = ^TAtkTextClipType; 771 772 PPAtkTextBoundary = ^PAtkTextBoundary; 773 PAtkTextBoundary = ^TAtkTextBoundary; 774 TAtkText = object 775 text_attributes_changed: procedure; cdecl; 776 text_caret_moved: procedure(object_: gint); cdecl; 777 text_changed: procedure(object_: gint; p0: gint); cdecl; 778 text_insert: procedure(object_: gint; p0: gint; p1: Pgchar); cdecl; 779 text_remove: procedure(object_: gint; p0: gint; p1: Pgchar); cdecl; 780 text_selection_changed: procedure; cdecl; 781 text_update: procedure(object_: gint; p0: gint; p1: gint; p2: Pgchar); cdecl; 782 procedure free_ranges(ranges: PPAtkTextRange); cdecl; inline; static; add_selectionnull783 function add_selection(start_offset: gint; end_offset: gint): gboolean; cdecl; inline; get_bounded_rangesnull784 function get_bounded_ranges(rect: PAtkTextRectangle; coord_type: TAtkCoordType; x_clip_type: TAtkTextClipType; y_clip_type: TAtkTextClipType): PPAtkTextRange; cdecl; inline; get_caret_offsetnull785 function get_caret_offset: gint; cdecl; inline; get_character_at_offsetnull786 function get_character_at_offset(offset: gint): gunichar; cdecl; inline; get_character_countnull787 function get_character_count: gint; cdecl; inline; 788 procedure get_character_extents(offset: gint; x: Pgint; y: Pgint; width: Pgint; height: Pgint; coords: TAtkCoordType); cdecl; inline; get_default_attributesnull789 function get_default_attributes: PAtkAttributeSet; cdecl; inline; get_n_selectionsnull790 function get_n_selections: gint; cdecl; inline; get_offset_at_pointnull791 function get_offset_at_point(x: gint; y: gint; coords: TAtkCoordType): gint; cdecl; inline; 792 procedure get_range_extents(start_offset: gint; end_offset: gint; coord_type: TAtkCoordType; rect: PAtkTextRectangle); cdecl; inline; get_run_attributesnull793 function get_run_attributes(offset: gint; start_offset: Pgint; end_offset: Pgint): PAtkAttributeSet; cdecl; inline; get_selectionnull794 function get_selection(selection_num: gint; start_offset: Pgint; end_offset: Pgint): Pgchar; cdecl; inline; get_textnull795 function get_text(start_offset: gint; end_offset: gint): Pgchar; cdecl; inline; get_text_after_offsetnull796 function get_text_after_offset(offset: gint; boundary_type: TAtkTextBoundary; start_offset: Pgint; end_offset: Pgint): Pgchar; cdecl; inline; get_text_at_offsetnull797 function get_text_at_offset(offset: gint; boundary_type: TAtkTextBoundary; start_offset: Pgint; end_offset: Pgint): Pgchar; cdecl; inline; get_text_before_offsetnull798 function get_text_before_offset(offset: gint; boundary_type: TAtkTextBoundary; start_offset: Pgint; end_offset: Pgint): Pgchar; cdecl; inline; remove_selectionnull799 function remove_selection(selection_num: gint): gboolean; cdecl; inline; set_caret_offsetnull800 function set_caret_offset(offset: gint): gboolean; cdecl; inline; set_selectionnull801 function set_selection(selection_num: gint; start_offset: gint; end_offset: gint): gboolean; cdecl; inline; 802 end; 803 804 PPAtkValue = ^PAtkValue; 805 PAtkValue = ^TAtkValue; 806 TAtkValue = object 807 procedure get_current_value(value: PGValue); cdecl; inline; 808 procedure get_maximum_value(value: PGValue); cdecl; inline; 809 procedure get_minimum_increment(value: PGValue); cdecl; inline; 810 procedure get_minimum_value(value: PGValue); cdecl; inline; set_current_valuenull811 function set_current_value(value: PGValue): gboolean; cdecl; inline; 812 end; 813 814 PPAtkWindow = ^PAtkWindow; 815 PAtkWindow = ^TAtkWindow; 816 TAtkWindow = object 817 activate: procedure; cdecl; 818 create: procedure; cdecl; 819 deactivate: procedure; cdecl; 820 destroy_: procedure; cdecl; 821 maximize: procedure; cdecl; 822 minimize: procedure; cdecl; 823 move: procedure; cdecl; 824 resize: procedure; cdecl; 825 restore: procedure; cdecl; 826 end; 827 828 PPAtkNoOpObject = ^PAtkNoOpObject; 829 PAtkNoOpObject = ^TAtkNoOpObject; 830 TAtkNoOpObject = object(TAtkObject) newnull831 function new(obj: PGObject): PAtkNoOpObject; cdecl; inline; static; 832 end; 833 834 PPAtkNoOpObjectClass = ^PAtkNoOpObjectClass; 835 PAtkNoOpObjectClass = ^TAtkNoOpObjectClass; 836 TAtkNoOpObjectClass = object 837 parent_class: TAtkObjectClass; 838 end; 839 840 PPAtkObjectFactory = ^PAtkObjectFactory; 841 PAtkObjectFactory = ^TAtkObjectFactory; 842 TAtkObjectFactory = object(TGObject) create_accessiblenull843 function create_accessible(obj: PGObject): PAtkObject; cdecl; inline; get_accessible_typenull844 function get_accessible_type: TGType; cdecl; inline; 845 procedure invalidate; cdecl; inline; 846 end; 847 848 PPAtkNoOpObjectFactory = ^PAtkNoOpObjectFactory; 849 PAtkNoOpObjectFactory = ^TAtkNoOpObjectFactory; 850 TAtkNoOpObjectFactory = object(TAtkObjectFactory) newnull851 function new: PAtkNoOpObjectFactory; cdecl; inline; static; 852 end; 853 854 PPAtkObjectFactoryClass = ^PAtkObjectFactoryClass; 855 PAtkObjectFactoryClass = ^TAtkObjectFactoryClass; 856 TAtkObjectFactoryClass = object 857 parent_class: TGObjectClass; bjnull858 create_accessible: function(obj: PGObject): PAtkObject; cdecl; 859 invalidate: procedure(factory: PAtkObjectFactory); cdecl; TGTypenull860 get_accessible_type: function: TGType; cdecl; 861 pad1: TAtkFunction; pad2null862 pad2: TAtkFunction; 863 end; 864 865 PPAtkNoOpObjectFactoryClass = ^PAtkNoOpObjectFactoryClass; 866 PAtkNoOpObjectFactoryClass = ^TAtkNoOpObjectFactoryClass; 867 TAtkNoOpObjectFactoryClass = object 868 parent_class: TAtkObjectFactoryClass; 869 end; 870 871 { AtkPropertyValues* } 872 TAtkPropertyValues = record 873 { opaque type } 874 Unknown: Pointer; 875 end; 876 877 878 PPAtkRelation = ^PAtkRelation; 879 PAtkRelation = ^TAtkRelation; 880 TAtkRelationSet = object(TGObject) 881 relations: gpointer; newnull882 function new: PAtkRelationSet; cdecl; inline; static; 883 procedure add(relation: PAtkRelation); cdecl; inline; 884 procedure add_relation_by_type(relationship: TAtkRelationType; target: PAtkObject); cdecl; inline; containsnull885 function contains(relationship: TAtkRelationType): gboolean; cdecl; inline; contains_targetnull886 function contains_target(relationship: TAtkRelationType; target: PAtkObject): gboolean; cdecl; inline; get_n_relationsnull887 function get_n_relations: gint; cdecl; inline; get_relationnull888 function get_relation(i: gint): PAtkRelation; cdecl; inline; get_relation_by_typenull889 function get_relation_by_type(relationship: TAtkRelationType): PAtkRelation; cdecl; inline; 890 procedure remove(relation: PAtkRelation); cdecl; inline; 891 end; 892 893 PPAtkStateType = ^PAtkStateType; 894 PAtkStateType = ^TAtkStateType; 895 TAtkStateSet = object(TGObject) newnull896 function new: PAtkStateSet; cdecl; inline; static; add_statenull897 function add_state(type_: TAtkStateType): gboolean; cdecl; inline; 898 procedure add_states(types: PAtkStateType; n_types: gint); cdecl; inline; and_setsnull899 function and_sets(compare_set: PAtkStateSet): PAtkStateSet; cdecl; inline; 900 procedure clear_states; cdecl; inline; contains_statenull901 function contains_state(type_: TAtkStateType): gboolean; cdecl; inline; contains_statesnull902 function contains_states(types: PAtkStateType; n_types: gint): gboolean; cdecl; inline; is_emptynull903 function is_empty: gboolean; cdecl; inline; or_setsnull904 function or_sets(compare_set: PAtkStateSet): PAtkStateSet; cdecl; inline; remove_statenull905 function remove_state(type_: TAtkStateType): gboolean; cdecl; inline; xor_setsnull906 function xor_sets(compare_set: PAtkStateSet): PAtkStateSet; cdecl; inline; 907 end; 908 909 PPAtkPlug = ^PAtkPlug; 910 PAtkPlug = ^TAtkPlug; 911 TAtkPlug = object(TAtkObject) newnull912 function new: PAtkPlug; cdecl; inline; static; get_idnull913 function get_id: Pgchar; cdecl; inline; 914 end; 915 916 PPAtkPlugClass = ^PAtkPlugClass; 917 PAtkPlugClass = ^TAtkPlugClass; 918 TAtkPlugClass = object 919 parent_class: TAtkObjectClass; bjnull920 get_object_id: function(obj: PAtkPlug): Pgchar; cdecl; 921 end; 922 923 PPAtkRegistry = ^PAtkRegistry; 924 PAtkRegistry = ^TAtkRegistry; 925 TAtkRegistry = object(TGObject) get_factorynull926 function get_factory(type_: TGType): PAtkObjectFactory; cdecl; inline; get_factory_typenull927 function get_factory_type(type_: TGType): TGType; cdecl; inline; 928 procedure set_factory_type(type_: TGType; factory_type: TGType); cdecl; inline; 929 end; 930 TAtkRelation = object(TGObject) 931 target1: gpointer; 932 relationship: TAtkRelationType; newnull933 function new(targets: PPAtkObject; n_targets: gint; relationship: TAtkRelationType): PAtkRelation; cdecl; inline; static; 934 procedure add_target(target: PAtkObject); cdecl; inline; get_relation_typenull935 function get_relation_type: TAtkRelationType; cdecl; inline; get_targetnull936 function get_target: PAtkObject; cdecl; inline; remove_targetnull937 function remove_target(target: PAtkObject): gboolean; cdecl; inline; 938 property relation_type: TAtkRelationType read get_relation_type { property is writeable but setter not declared } ; 939 property target: PAtkObject read get_target { property is writeable but setter not declared } ; 940 end; 941 942 PPAtkRelationClass = ^PAtkRelationClass; 943 PAtkRelationClass = ^TAtkRelationClass; 944 TAtkRelationClass = object 945 parent: TGObjectClass; 946 end; 947 948 PPAtkRelationSetClass = ^PAtkRelationSetClass; 949 PAtkRelationSetClass = ^TAtkRelationSetClass; 950 TAtkRelationSetClass = object 951 parent: TGObjectClass; 952 pad1: TAtkFunction; pad2null953 pad2: TAtkFunction; 954 end; 955 956 PPAtkSelectionIface = ^PAtkSelectionIface; 957 PAtkSelectionIface = ^TAtkSelectionIface; 958 TAtkSelectionIface = object 959 parent: TGTypeInterface; electionnull960 add_selection: function(selection: PAtkSelection; i: gint): gboolean; cdecl; electionnull961 clear_selection: function(selection: PAtkSelection): gboolean; cdecl; electionnull962 ref_selection: function(selection: PAtkSelection; i: gint): PAtkObject; cdecl; electionnull963 get_selection_count: function(selection: PAtkSelection): gint; cdecl; electionnull964 is_child_selected: function(selection: PAtkSelection; i: gint): gboolean; cdecl; electionnull965 remove_selection: function(selection: PAtkSelection; i: gint): gboolean; cdecl; electionnull966 select_all_selection: function(selection: PAtkSelection): gboolean; cdecl; 967 selection_changed: procedure(selection: PAtkSelection); cdecl; 968 pad1: TAtkFunction; pad2null969 pad2: TAtkFunction; 970 end; 971 972 PPAtkSocket = ^PAtkSocket; 973 PAtkSocket = ^TAtkSocket; 974 TAtkSocket = object(TAtkObject) 975 embedded_plug_id: Pgchar; newnull976 function new: PAtkSocket; cdecl; inline; static; 977 procedure embed(plug_id: Pgchar); cdecl; inline; is_occupiednull978 function is_occupied: gboolean; cdecl; inline; 979 end; 980 981 PPAtkSocketClass = ^PAtkSocketClass; 982 PAtkSocketClass = ^TAtkSocketClass; 983 TAtkSocketClass = object 984 parent_class: TAtkObjectClass; 985 embed: procedure(obj: PAtkSocket; plug_id: Pgchar); cdecl; 986 end; 987 988 PPAtkStateSetClass = ^PAtkStateSetClass; 989 PAtkStateSetClass = ^TAtkStateSetClass; 990 TAtkStateSetClass = object 991 parent: TGObjectClass; 992 end; 993 994 PPAtkStreamableContent = ^PAtkStreamableContent; 995 PAtkStreamableContent = ^TAtkStreamableContent; 996 TAtkStreamableContent = object get_mime_typenull997 function get_mime_type(i: gint): Pgchar; cdecl; inline; get_n_mime_typesnull998 function get_n_mime_types: gint; cdecl; inline; get_streamnull999 function get_stream(mime_type: Pgchar): PGIOChannel; cdecl; inline; get_urinull1000 function get_uri(mime_type: Pgchar): Pgchar; cdecl; inline; 1001 end; 1002 1003 PPAtkStreamableContentIface = ^PAtkStreamableContentIface; 1004 PAtkStreamableContentIface = ^TAtkStreamableContentIface; 1005 TAtkStreamableContentIface = object 1006 parent: TGTypeInterface; treamablenull1007 get_n_mime_types: function(streamable: PAtkStreamableContent): gint; cdecl; treamablenull1008 get_mime_type: function(streamable: PAtkStreamableContent; i: gint): Pgchar; cdecl; treamablenull1009 get_stream: function(streamable: PAtkStreamableContent; mime_type: Pgchar): PGIOChannel; cdecl; treamablenull1010 get_uri: function(streamable: PAtkStreamableContent; mime_type: Pgchar): Pgchar; cdecl; 1011 pad1: TAtkFunction; pad2null1012 pad2: TAtkFunction; 1013 pad3: TAtkFunction; endnull1014 end; 1015 1016 PPAtkTableIface = ^PAtkTableIface; 1017 PAtkTableIface = ^TAtkTableIface; 1018 TAtkTableIface = object 1019 parent: TGTypeInterface; ablenull1020 ref_at: function(table: PAtkTable; row: gint; column: gint): PAtkObject; cdecl; ablenull1021 get_index_at: function(table: PAtkTable; row: gint; column: gint): gint; cdecl; ablenull1022 get_column_at_index: function(table: PAtkTable; index_: gint): gint; cdecl; ablenull1023 get_row_at_index: function(table: PAtkTable; index_: gint): gint; cdecl; ablenull1024 get_n_columns: function(table: PAtkTable): gint; cdecl; ablenull1025 get_n_rows: function(table: PAtkTable): gint; cdecl; ablenull1026 get_column_extent_at: function(table: PAtkTable; row: gint; column: gint): gint; cdecl; ablenull1027 get_row_extent_at: function(table: PAtkTable; row: gint; column: gint): gint; cdecl; ablenull1028 get_caption: function(table: PAtkTable): PAtkObject; cdecl; ablenull1029 get_column_description: function(table: PAtkTable; column: gint): Pgchar; cdecl; ablenull1030 get_column_header: function(table: PAtkTable; column: gint): PAtkObject; cdecl; ablenull1031 get_row_description: function(table: PAtkTable; row: gint): Pgchar; cdecl; ablenull1032 get_row_header: function(table: PAtkTable; row: gint): PAtkObject; cdecl; ablenull1033 get_summary: function(table: PAtkTable): PAtkObject; cdecl; 1034 set_caption: procedure(table: PAtkTable; caption: PAtkObject); cdecl; 1035 set_column_description: procedure(table: PAtkTable; column: gint; description: Pgchar); cdecl; 1036 set_column_header: procedure(table: PAtkTable; column: gint; header: PAtkObject); cdecl; 1037 set_row_description: procedure(table: PAtkTable; row: gint; description: Pgchar); cdecl; 1038 set_row_header: procedure(table: PAtkTable; row: gint; header: PAtkObject); cdecl; 1039 set_summary: procedure(table: PAtkTable; accessible: PAtkObject); cdecl; ablenull1040 get_selected_columns: function(table: PAtkTable; selected: PPgint): gint; cdecl; ablenull1041 get_selected_rows: function(table: PAtkTable; selected: PPgint): gint; cdecl; ablenull1042 is_column_selected: function(table: PAtkTable; column: gint): gboolean; cdecl; ablenull1043 is_row_selected: function(table: PAtkTable; row: gint): gboolean; cdecl; ablenull1044 is_selected: function(table: PAtkTable; row: gint; column: gint): gboolean; cdecl; ablenull1045 add_row_selection: function(table: PAtkTable; row: gint): gboolean; cdecl; ablenull1046 remove_row_selection: function(table: PAtkTable; row: gint): gboolean; cdecl; ablenull1047 add_column_selection: function(table: PAtkTable; column: gint): gboolean; cdecl; ablenull1048 remove_column_selection: function(table: PAtkTable; column: gint): gboolean; cdecl; 1049 row_inserted: procedure(table: PAtkTable; row: gint; num_inserted: gint); cdecl; 1050 column_inserted: procedure(table: PAtkTable; column: gint; num_inserted: gint); cdecl; 1051 row_deleted: procedure(table: PAtkTable; row: gint; num_deleted: gint); cdecl; 1052 column_deleted: procedure(table: PAtkTable; column: gint; num_deleted: gint); cdecl; 1053 row_reordered: procedure(table: PAtkTable); cdecl; 1054 column_reordered: procedure(table: PAtkTable); cdecl; 1055 model_changed: procedure(table: PAtkTable); cdecl; 1056 pad1: TAtkFunction; pad2null1057 pad2: TAtkFunction; 1058 pad3: TAtkFunction; pad4null1059 pad4: TAtkFunction; 1060 end; 1061 1062 TAtkTextRectangle = record 1063 x: gint; 1064 y: gint; 1065 width: gint; 1066 height: gint; 1067 end; 1068 1069 1070 TAtkTextRange = object 1071 bounds: TAtkTextRectangle; 1072 start_offset: gint; 1073 end_offset: gint; 1074 content: Pgchar; 1075 end; 1076 1077 PPAtkTextAttribute = ^PAtkTextAttribute; 1078 PAtkTextAttribute = ^TAtkTextAttribute; 1079 1080 PPAtkTextIface = ^PAtkTextIface; 1081 PAtkTextIface = ^TAtkTextIface; 1082 TAtkTextIface = object 1083 parent: TGTypeInterface; extnull1084 get_text: function(text: PAtkText; start_offset: gint; end_offset: gint): Pgchar; cdecl; extnull1085 get_text_after_offset: function(text: PAtkText; offset: gint; boundary_type: TAtkTextBoundary; start_offset: Pgint; end_offset: Pgint): Pgchar; cdecl; extnull1086 get_text_at_offset: function(text: PAtkText; offset: gint; boundary_type: TAtkTextBoundary; start_offset: Pgint; end_offset: Pgint): Pgchar; cdecl; extnull1087 get_character_at_offset: function(text: PAtkText; offset: gint): gunichar; cdecl; extnull1088 get_text_before_offset: function(text: PAtkText; offset: gint; boundary_type: TAtkTextBoundary; start_offset: Pgint; end_offset: Pgint): Pgchar; cdecl; extnull1089 get_caret_offset: function(text: PAtkText): gint; cdecl; extnull1090 get_run_attributes: function(text: PAtkText; offset: gint; start_offset: Pgint; end_offset: Pgint): PAtkAttributeSet; cdecl; extnull1091 get_default_attributes: function(text: PAtkText): PAtkAttributeSet; cdecl; 1092 get_character_extents: procedure(text: PAtkText; offset: gint; x: Pgint; y: Pgint; width: Pgint; height: Pgint; coords: TAtkCoordType); cdecl; extnull1093 get_character_count: function(text: PAtkText): gint; cdecl; extnull1094 get_offset_at_point: function(text: PAtkText; x: gint; y: gint; coords: TAtkCoordType): gint; cdecl; extnull1095 get_n_selections: function(text: PAtkText): gint; cdecl; extnull1096 get_selection: function(text: PAtkText; selection_num: gint; start_offset: Pgint; end_offset: Pgint): Pgchar; cdecl; extnull1097 add_selection: function(text: PAtkText; start_offset: gint; end_offset: gint): gboolean; cdecl; extnull1098 remove_selection: function(text: PAtkText; selection_num: gint): gboolean; cdecl; extnull1099 set_selection: function(text: PAtkText; selection_num: gint; start_offset: gint; end_offset: gint): gboolean; cdecl; extnull1100 set_caret_offset: function(text: PAtkText; offset: gint): gboolean; cdecl; 1101 text_changed: procedure(text: PAtkText; position: gint; length: gint); cdecl; 1102 text_caret_moved: procedure(text: PAtkText; location: gint); cdecl; 1103 text_selection_changed: procedure(text: PAtkText); cdecl; 1104 text_attributes_changed: procedure(text: PAtkText); cdecl; 1105 get_range_extents: procedure(text: PAtkText; start_offset: gint; end_offset: gint; coord_type: TAtkCoordType; rect: PAtkTextRectangle); cdecl; extnull1106 get_bounded_ranges: function(text: PAtkText; rect: PAtkTextRectangle; coord_type: TAtkCoordType; x_clip_type: TAtkTextClipType; y_clip_type: TAtkTextClipType): PPAtkTextRange; cdecl; 1107 pad4: TAtkFunction; endnull1108 end; 1109 1110 PPAtkUtil = ^PAtkUtil; 1111 PAtkUtil = ^TAtkUtil; 1112 TAtkUtil = object(TGObject) 1113 end; 1114 1115 PPAtkUtilClass = ^PAtkUtilClass; 1116 PAtkUtilClass = ^TAtkUtilClass; 1117 1118 PPAtkKeySnoopFunc = ^PAtkKeySnoopFunc; 1119 PAtkKeySnoopFunc = ^TAtkKeySnoopFunc; 1120 TAtkUtilClass = object 1121 parent: TGObjectClass; istenernull1122 add_global_event_listener: function(listener: TGSignalEmissionHook; event_type: Pgchar): guint; cdecl; 1123 remove_global_event_listener: procedure(listener_id: guint); cdecl; istenernull1124 add_key_event_listener: function(listener: TAtkKeySnoopFunc; data: gpointer): guint; cdecl; 1125 remove_key_event_listener: procedure(listener_id: guint); cdecl; PAtkObjectnull1126 get_root: function: PAtkObject; cdecl; Pgcharnull1127 get_toolkit_name: function: Pgchar; cdecl; Pgcharnull1128 get_toolkit_version: function: Pgchar; cdecl; 1129 end; 1130 1131 PPAtkValueIface = ^PAtkValueIface; 1132 PAtkValueIface = ^TAtkValueIface; 1133 TAtkValueIface = object 1134 parent: TGTypeInterface; 1135 get_current_value: procedure(obj: PAtkValue; value: PGValue); cdecl; 1136 get_maximum_value: procedure(obj: PAtkValue; value: PGValue); cdecl; 1137 get_minimum_value: procedure(obj: PAtkValue; value: PGValue); cdecl; bjnull1138 set_current_value: function(obj: PAtkValue; value: PGValue): gboolean; cdecl; 1139 get_minimum_increment: procedure(obj: PAtkValue; value: PGValue); cdecl; 1140 pad1: TAtkFunction; endnull1141 end; 1142 1143 PPAtkWindowIface = ^PAtkWindowIface; 1144 PAtkWindowIface = ^TAtkWindowIface; 1145 TAtkWindowIface = object 1146 parent: TGTypeInterface; 1147 _padding_dummy: array [0..15] of gpointer; 1148 end; 1149 1150 PP_AtkPropertyValues = ^P_AtkPropertyValues; 1151 P_AtkPropertyValues = ^T_AtkPropertyValues; 1152 1153 T_AtkPropertyValues = record 1154 property_name: Pgchar; 1155 old_value: TGValue; 1156 new_value: TGValue; 1157 end; 1158 1159 1160 1161 PP_AtkRegistry = ^P_AtkRegistry; 1162 P_AtkRegistry = ^T_AtkRegistry; 1163 1164 T_AtkRegistry = record 1165 parent: TGObject; 1166 factory_type_registry: PGHashTable; 1167 factory_singleton_cache: PGHashTable; 1168 end; 1169 1170 1171 1172 PP_AtkRegistryClass = ^P_AtkRegistryClass; 1173 P_AtkRegistryClass = ^T_AtkRegistryClass; 1174 1175 T_AtkRegistryClass = record 1176 parent_class: TGObjectClass; 1177 end; 1178 1179 1180 atk_action_do_actionnull1181function atk_action_do_action(action: PAtkAction; i: gint): gboolean; cdecl; external; atk_action_get_descriptionnull1182function atk_action_get_description(action: PAtkAction; i: gint): Pgchar; cdecl; external; atk_action_get_keybindingnull1183function atk_action_get_keybinding(action: PAtkAction; i: gint): Pgchar; cdecl; external; atk_action_get_localized_namenull1184function atk_action_get_localized_name(action: PAtkAction; i: gint): Pgchar; cdecl; external; atk_action_get_n_actionsnull1185function atk_action_get_n_actions(action: PAtkAction): gint; cdecl; external; atk_action_get_namenull1186function atk_action_get_name(action: PAtkAction; i: gint): Pgchar; cdecl; external; atk_action_get_typenull1187function atk_action_get_type: TGType; cdecl; external; atk_action_set_descriptionnull1188function atk_action_set_description(action: PAtkAction; i: gint; desc: Pgchar): gboolean; cdecl; external; atk_add_focus_trackernull1189function atk_add_focus_tracker(focus_tracker: TAtkEventListener): guint; cdecl; external; atk_add_global_event_listenernull1190function atk_add_global_event_listener(listener: TGSignalEmissionHook; event_type: Pgchar): guint; cdecl; external; atk_add_key_event_listenernull1191function atk_add_key_event_listener(listener: TAtkKeySnoopFunc; data: gpointer): guint; cdecl; external; atk_component_add_focus_handlernull1192function atk_component_add_focus_handler(component: PAtkComponent; handler: TAtkFocusHandler): guint; cdecl; external; atk_component_containsnull1193function atk_component_contains(component: PAtkComponent; x: gint; y: gint; coord_type: TAtkCoordType): gboolean; cdecl; external; atk_component_get_alphanull1194function atk_component_get_alpha(component: PAtkComponent): gdouble; cdecl; external; atk_component_get_layernull1195function atk_component_get_layer(component: PAtkComponent): TAtkLayer; cdecl; external; atk_component_get_mdi_zordernull1196function atk_component_get_mdi_zorder(component: PAtkComponent): gint; cdecl; external; atk_component_get_typenull1197function atk_component_get_type: TGType; cdecl; external; atk_component_grab_focusnull1198function atk_component_grab_focus(component: PAtkComponent): gboolean; cdecl; external; atk_component_ref_accessible_at_pointnull1199function atk_component_ref_accessible_at_point(component: PAtkComponent; x: gint; y: gint; coord_type: TAtkCoordType): PAtkObject; cdecl; external; atk_component_set_extentsnull1200function atk_component_set_extents(component: PAtkComponent; x: gint; y: gint; width: gint; height: gint; coord_type: TAtkCoordType): gboolean; cdecl; external; atk_component_set_positionnull1201function atk_component_set_position(component: PAtkComponent; x: gint; y: gint; coord_type: TAtkCoordType): gboolean; cdecl; external; atk_component_set_sizenull1202function atk_component_set_size(component: PAtkComponent; width: gint; height: gint): gboolean; cdecl; external; atk_document_get_attribute_valuenull1203function atk_document_get_attribute_value(document: PAtkDocument; attribute_name: Pgchar): Pgchar; cdecl; external; atk_document_get_attributesnull1204function atk_document_get_attributes(document: PAtkDocument): PAtkAttributeSet; cdecl; external; atk_document_get_documentnull1205function atk_document_get_document(document: PAtkDocument): gpointer; cdecl; external; atk_document_get_document_typenull1206function atk_document_get_document_type(document: PAtkDocument): Pgchar; cdecl; external; atk_document_get_typenull1207function atk_document_get_type: TGType; cdecl; external; atk_document_set_attribute_valuenull1208function atk_document_set_attribute_value(document: PAtkDocument; attribute_name: Pgchar; attribute_value: Pgchar): gboolean; cdecl; external; atk_editable_text_get_typenull1209function atk_editable_text_get_type: TGType; cdecl; external; atk_editable_text_set_run_attributesnull1210function atk_editable_text_set_run_attributes(text: PAtkEditableText; attrib_set: PAtkAttributeSet; start_offset: gint; end_offset: gint): gboolean; cdecl; external; atk_get_binary_agenull1211function atk_get_binary_age: guint; cdecl; external; atk_get_default_registrynull1212function atk_get_default_registry: PAtkRegistry; cdecl; external; atk_get_focus_objectnull1213function atk_get_focus_object: PAtkObject; cdecl; external; atk_get_interface_agenull1214function atk_get_interface_age: guint; cdecl; external; atk_get_major_versionnull1215function atk_get_major_version: guint; cdecl; external; atk_get_micro_versionnull1216function atk_get_micro_version: guint; cdecl; external; atk_get_minor_versionnull1217function atk_get_minor_version: guint; cdecl; external; atk_get_rootnull1218function atk_get_root: PAtkObject; cdecl; external; atk_get_toolkit_namenull1219function atk_get_toolkit_name: Pgchar; cdecl; external; atk_get_toolkit_versionnull1220function atk_get_toolkit_version: Pgchar; cdecl; external; atk_get_versionnull1221function atk_get_version: Pgchar; cdecl; external; atk_gobject_accessible_for_objectnull1222function atk_gobject_accessible_for_object(obj: PGObject): PAtkObject; cdecl; external; atk_gobject_accessible_get_objectnull1223function atk_gobject_accessible_get_object(obj: PAtkGObjectAccessible): PGObject; cdecl; external; atk_gobject_accessible_get_typenull1224function atk_gobject_accessible_get_type: TGType; cdecl; external; atk_hyperlink_get_end_indexnull1225function atk_hyperlink_get_end_index(link_: PAtkHyperlink): gint; cdecl; external; atk_hyperlink_get_n_anchorsnull1226function atk_hyperlink_get_n_anchors(link_: PAtkHyperlink): gint; cdecl; external; atk_hyperlink_get_objectnull1227function atk_hyperlink_get_object(link_: PAtkHyperlink; i: gint): PAtkObject; cdecl; external; atk_hyperlink_get_start_indexnull1228function atk_hyperlink_get_start_index(link_: PAtkHyperlink): gint; cdecl; external; atk_hyperlink_get_typenull1229function atk_hyperlink_get_type: TGType; cdecl; external; atk_hyperlink_get_urinull1230function atk_hyperlink_get_uri(link_: PAtkHyperlink; i: gint): Pgchar; cdecl; external; atk_hyperlink_impl_get_hyperlinknull1231function atk_hyperlink_impl_get_hyperlink(impl: PAtkHyperlinkImpl): PAtkHyperlink; cdecl; external; atk_hyperlink_impl_get_typenull1232function atk_hyperlink_impl_get_type: TGType; cdecl; external; atk_hyperlink_is_inlinenull1233function atk_hyperlink_is_inline(link_: PAtkHyperlink): gboolean; cdecl; external; atk_hyperlink_is_validnull1234function atk_hyperlink_is_valid(link_: PAtkHyperlink): gboolean; cdecl; external; atk_hypertext_get_linknull1235function atk_hypertext_get_link(hypertext: PAtkHypertext; link_index: gint): PAtkHyperlink; cdecl; external; atk_hypertext_get_link_indexnull1236function atk_hypertext_get_link_index(hypertext: PAtkHypertext; char_index: gint): gint; cdecl; external; atk_hypertext_get_n_linksnull1237function atk_hypertext_get_n_links(hypertext: PAtkHypertext): gint; cdecl; external; atk_hypertext_get_typenull1238function atk_hypertext_get_type: TGType; cdecl; external; atk_image_get_image_descriptionnull1239function atk_image_get_image_description(image: PAtkImage): Pgchar; cdecl; external; atk_image_get_image_localenull1240function atk_image_get_image_locale(image: PAtkImage): Pgchar; cdecl; external; atk_image_get_typenull1241function atk_image_get_type: TGType; cdecl; external; atk_image_set_image_descriptionnull1242function atk_image_set_image_description(image: PAtkImage; description: Pgchar): gboolean; cdecl; external; atk_implementor_get_typenull1243function atk_implementor_get_type: TGType; cdecl; external; atk_implementor_ref_accessiblenull1244function atk_implementor_ref_accessible(implementor: PAtkImplementor): PAtkObject; cdecl; external; atk_misc_get_instancenull1245function atk_misc_get_instance: PAtkMisc; cdecl; external; atk_misc_get_typenull1246function atk_misc_get_type: TGType; cdecl; external; atk_no_op_object_factory_get_typenull1247function atk_no_op_object_factory_get_type: TGType; cdecl; external; atk_no_op_object_factory_newnull1248function atk_no_op_object_factory_new: PAtkNoOpObjectFactory; cdecl; external; atk_no_op_object_get_typenull1249