atkstate.inc 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // included by atk.pp
  2. {$IFDEF read_forward_definitions}
  3. {$ENDIF read_forward_definitions}
  4. //------------------------------------------------------------------------------
  5. {$IFDEF read_interface_types}
  6. {
  7. AtkStateType:
  8. @ATK_STATE_INVALID: Indicates an invalid state
  9. @ATK_STATE_ACTIVE: Indicates a window is currently the active window
  10. @ATK_STATE_ARMED: Indicates that the anObject is armed
  11. @ATK_STATE_BUSY: Indicates the current anObject is busy
  12. @ATK_STATE_CHECKED: Indicates this anObject is currently checked
  13. @ATK_STATE_DEFUNCT: Indicates the user interface anObject corresponding to this anObject no longer exists
  14. @ATK_STATE_EDITABLE: Indicates the user can change the contents of this anObject
  15. @ATK_STATE_ENABLED: Indicates that this anObject is enabled
  16. @ATK_STATE_EXPANDABLE: Indicates this anObject allows progressive disclosure of its children
  17. @ATK_STATE_EXPANDED: Indicates this anObject its expanded
  18. @ATK_STATE_FOCUSABLE: Indicates this anObject can accept keyboard focus, which means all events resulting from typing on the keyboard will normally be passed to it when it has focus
  19. @ATK_STATE_FOCUSED: Indicates this anObject currently has the keyboard focus
  20. @ATK_STATE_HORIZONTAL: Indicates the orientation of this anObject is horizontal
  21. @ATK_STATE_ICONIFIED: Indicates this anObject is minimized and is represented only by an icon
  22. @ATK_STATE_MODAL: Indicates something must be done with this anObject before the user can interact with an anObject in a different window
  23. @ATK_STATE_MULTI_LINE: Indicates this (text) anObject can contain multiple lines of text
  24. @ATK_STATE_MULTISELECTABLE: Indicates this anObject allows more than one of its children to be selected at the same time
  25. @ATK_STATE_OPAQUE: Indicates this anObject paints every pixel within its rectangular region
  26. @ATK_STATE_PRESSED: Indicates this anObject is currently pressed
  27. @ATK_STATE_RESIZABLE: Indicates the size of this anObject is not fixed
  28. @ATK_STATE_SELECTABLE: Indicates this anObject is the child of an anObject that allows its children to be selected and that this child is one of those children that can be selected
  29. @ATK_STATE_SELECTED: Indicates this anObject is the child of an anObject that allows its children to be selected and that this child is one of those children that has been selected
  30. @ATK_STATE_SENSITIVE: Indicates this anObject is sensitive
  31. @ATK_STATE_SHOWING: Indicates this anObject, the anObject's parent, the anObject's parent's parent, and so on, are all visible
  32. @ATK_STATE_SINGLE_LINE: Indicates this (text) anObject can contain only a single line of text
  33. @ATK_STATE_STALE: Indicates that the index associated with this anObject has changed since the user accessed the anObject.
  34. @ATK_STATE_TRANSIENT: Indicates this anObject is transient
  35. @ATK_STATE_VERTICAL: Indicates the orientation of this anObject is vertical
  36. @ATK_STATE_VISIBLE: Indicates this anObject is visible
  37. @ATK_STATE_LAST_DEFINED: Not a valid role, used for finding theEnd of enumeration
  38. The possible types of states of an anObject
  39. }
  40. PAtkStateType = ^TAtkStateType;
  41. TAtkStateType = (
  42. ATK_STATE_INVALID,
  43. ATK_STATE_ACTIVE,
  44. ATK_STATE_ARMED,
  45. ATK_STATE_BUSY,
  46. ATK_STATE_CHECKED,
  47. ATK_STATE_DEFUNCT,
  48. ATK_STATE_EDITABLE,
  49. ATK_STATE_ENABLED,
  50. ATK_STATE_EXPANDABLE,
  51. ATK_STATE_EXPANDED,
  52. ATK_STATE_FOCUSABLE,
  53. ATK_STATE_FOCUSED,
  54. ATK_STATE_HORIZONTAL,
  55. ATK_STATE_ICONIFIED,
  56. ATK_STATE_MODAL,
  57. ATK_STATE_MULTI_LINE,
  58. ATK_STATE_MULTISELECTABLE,
  59. ATK_STATE_OPAQUE,
  60. ATK_STATE_PRESSED,
  61. ATK_STATE_RESIZABLE,
  62. ATK_STATE_SELECTABLE,
  63. ATK_STATE_SELECTED,
  64. ATK_STATE_SENSITIVE,
  65. ATK_STATE_SHOWING,
  66. ATK_STATE_SINGLE_LINE,
  67. ATK_STATE_STALE,
  68. ATK_STATE_TRANSIENT,
  69. ATK_STATE_VERTICAL,
  70. ATK_STATE_VISIBLE,
  71. ATK_STATE_LAST_DEFINED
  72. );
  73. PAtkState = ^TAtkState;
  74. TAtkState = guint64;
  75. {$ENDIF read_interface_types}
  76. //------------------------------------------------------------------------------
  77. {$IFDEF read_interface_rest}
  78. function atk_state_type_register(name:Pgchar):TAtkStateType; cdecl; external atklib;
  79. function atk_state_type_get_name(_type:TAtkStateType):Pgchar; cdecl; external atklib;
  80. function atk_state_type_for_name(name:Pgchar):TAtkStateType; cdecl; external atklib;
  81. {$ENDIF read_interface_rest}
  82. //------------------------------------------------------------------------------
  83. {$IFDEF read_implementation}
  84. {$ENDIF read_implementation}