2 * This file is part of duit.
4 * duit is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2.1 of the License, or
7 * (at your option) any later version.
9 * duit is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with duit; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // generated automatically - do not change
20 // find conversion definition on APILookup.txt
21 // implement new conversion functionalities on the wrap.utils pakage
26 public import glib
.glibtypes
;
27 public import gobject
.gobjecttypes
;
28 public alias void* AtkFocusHandler
;
29 public struct AtkStateSet
;
30 public struct AtkRectangle
;
34 * typedef guint64 AtkState;
35 * The AtkState value should not be referenceed directly.
37 public alias ulong AtkState
;
40 * typedef GSList AtkAttributeSet;
41 * This is a singly-linked list (a GSList) of AtkAttribute. It is
42 * used by atk_text_get_run_attributes(), atk_text_get_default_attributes()
43 * and atk_editable_text_set_run_attributes()
45 public alias GSList AtkAttributeSet
;
47 * Describes the type of link
48 * ATK_HYPERLINK_IS_INLINE
50 public enum AtkHyperlinkStateFlags
55 * Describes the role of an object
56 * These are the built-in enumerated roles that UI components can have in
57 * ATK. Other roles may be added at runtime, so an AtkRole >=
58 * ATK_ROLE_LAST_DEFINED is not necessarily an error.
154 * Describes the layer of a component
155 * These enumerated "layer values" are used when determining which UI
156 * rendering layer a component is drawn into, which can help in making
157 * determinations of when components occlude one another.
172 * Describes the type of the relation
175 public enum AtkRelationType
196 * The possible types of states of an object
199 public enum AtkStateType
235 SUPPORTS_AUTOCOMPLETION
,
243 * Text boundary types used for specifying boundaries for regions of text
244 * ATK_TEXT_BOUNDARY_CHAR
246 public enum AtkTextBoundary
257 * Describes the type of clipping required.
260 public enum AtkTextClipType
268 * Describes the text attributes supported
269 * ATK_TEXT_ATTR_INVALID
271 public enum AtkTextAttribute
304 * Specifies how xy coordinates are to be interpreted. Used by functions such
305 * as atk_component_get_position() and atk_text_get_character_extents()
308 public enum AtkCoordType
314 * Specifies the type of a keyboard evemt.
315 * ATK_KEY_EVENT_PRESS
317 public enum AtkKeyEventType
326 * The AtkAction structure does not contain any fields.
328 public struct AtkAction
{}
333 * The AtkComponent structure does not contain any fields.
335 public struct AtkComponent
{}
340 * The AtkDocument structure does not contain any fields.
342 public struct AtkDocument
{}
347 * The AtkEditableText structure does not contain any fields.
349 public struct AtkEditableText
{}
354 * The AtkGObjectAccessible structure should not be accessed directly.
356 public struct AtkGObjectAccessible
{}
361 * The AtkHyperlink structure should not be accessed directly.
363 public struct AtkHyperlink
{}
368 * The AtkHypertext structure does not contain any fields.
370 public struct AtkHypertext
{}
375 * The AtkImage structure does not contain any fields.
377 public struct AtkImage
{}
382 * The AtkNoOpObject structure should not be accessed directly.
384 public struct AtkNoOpObject
{}
389 * The AtkNoOpObjectFactory structure should not be accessed directly.
391 public struct AtkNoOpObjectFactory
{}
396 * The AtkObject structure should not be accessed directly.
398 public struct AtkObject
{}
402 * The AtkImplementor structure does not contain any fields.
404 public struct AtkImplementor
{}
408 * note: For most properties the old_value field of AtkPropertyValues will
409 * not contain a valid value.
410 * Currently, the only property for which old_value is used is
411 * accessible-state; for instance if there is a focus state the
412 * property change handler will be called for the object which lost the focus
413 * with the old_value containing an AtkState value corresponding to focused
414 * and the property change handler will be called for the object which
415 * received the focus with the new_value containing an AtkState value
416 * corresponding to focused.
417 * The Atk PropertyValue structure is used when notifying a change in property.
418 * Currently, the only property for which old_value is used is
419 * accessible-state; for instance if there is a focus change the
420 * property change handler will be called for the object which lost the focus
421 * with the old_value containing the AtkState value corresponding to focused
422 * and the property change handler will be called for the object which
423 * received the focus with the new_value containing the AtkState value
424 * corresponding to focused.
425 * constgchar*property_name;
427 public struct AtkPropertyValues
{}
428 // char *propertyName;
438 * The AtkObjectFactory structure should not be accessed directly.
440 public struct AtkObjectFactory
{}
445 * The AtkRegistry structure should not be accessed directly.
447 public struct AtkRegistry
{}
452 * The AtkRelation structure should not be accessed directly.
454 public struct AtkRelation
{}
459 * The AtkRelationSet structure should not be accessed directly.
461 public struct AtkRelationSet
{}
466 * The AtkAction structure does not contain any fields.
468 public struct AtkSelection
{}
473 * The AtkStreamableContent structure does not contain any fields.
475 public struct AtkStreamableContent
{}
480 * The AtkTable structure does not contain any fields.
482 public struct AtkTable
{}
487 * The AtkText structure does not contain any fields.
489 public struct AtkText
{}
493 * A structure used to describe a text range.
494 * AtkTextRectanglebounds;
496 public struct AtkTextRange
{}
497 // AtkTextRectangle bounds;
508 * A structure used to store a rectangle used by AtkText.
511 public struct AtkTextRectangle
521 * A string name/value pair representing a text attribute.
524 public struct AtkAttribute
532 * The AtkUtil struct does not contain any fields.
534 public struct AtkUtil
{}
538 * Encapsulates information about a key event.
541 public struct AtkKeyEventStruct
555 * The AtkValue structure does not contain any fields.
557 public struct AtkValue
{}
561 * An AtkFunction is a function definition used for padding which has been added
562 * to class and interface structures to allow for expansion in the future.
564 * a gpointer to parameter data.
566 * Nothing useful, this is only a dummy prototype.
568 // gboolean (*AtkFunction) (gpointer data);
569 public typedef extern(C
) int function (void*) AtkFunction
;
572 * An AtkPropertyChangeHandler is a function which is executed when an AtkObject's property changes value. It is specified in a call to
573 * atk_object_connect_property_change_handler().
577 * an AtkPropertyValues
579 // void (*AtkPropertyChangeHandler) (AtkObject *, AtkPropertyValues *);
580 public typedef extern(C
) void function (AtkObject
*, AtkPropertyValues
*) AtkPropertyChangeHandler
;
583 * A function which is called when an object emits a matching event,
584 * as used in atk_add_focus_tracker.
585 * Currently the only events for which object-specific handlers are
586 * supported are events of type "focus:". Most clients of ATK will prefer to
587 * attach signal handlers for the various ATK signals instead.
588 * see: atk_add_focus_tracker.
590 * An AtkObject instance for whom the callback will be called when
591 * the specified event (e.g. 'focus:') takes place.
593 // void (*AtkEventListener) (AtkObject *obj);
594 public typedef extern(C
) void function (AtkObject
*) AtkEventListener
;
597 * An AtkEventListenerInit function is a special function that is
598 * called in order to initialize the per-object event registration system
599 * used by AtkEventListener, if any preparation is required.
600 * see: atk_focus_tracker_init.
602 // void (*AtkEventListenerInit) (void);
603 public typedef extern(C
) void function () AtkEventListenerInit
;
606 * An AtkKeySnoopFunc is a type of callback which is called whenever a key event occurs,
607 * if registered via atk_add_key_event_listener. It allows for pre-emptive
608 * interception of key events via the return code as described below.
610 * an AtkKeyEventStruct containing information about the key event for which
611 * notification is being given.
613 * a block of data which will be passed to the event listener, on notification.
615 * TRUE (nonzero) if the event emission should be stopped and the event
616 * discarded without being passed to the normal GUI recipient; FALSE (zero) if the
617 * event dispatch to the client application should proceed as normal.
618 * see: atk_add_key_event_listener.
620 // gint (*AtkKeySnoopFunc) (AtkKeyEventStruct *event, gpointer func_data);
621 public typedef extern(C
) int function (AtkKeyEventStruct
*, void*) AtkKeySnoopFunc
;