1 [CCode (cprefix
= "Atk", lower_case_cprefix
= "atk_", cheader_filename
= "atk/atk.h")]
3 [CCode (cprefix
= "ATK_XY_")]
4 public enum CoordType
{
8 [CCode (cprefix
= "ATK_HYPERLINK_IS_")]
9 public enum HyperlinkStateFlags
{
12 [CCode (cprefix
= "ATK_KEY_EVENT_")]
13 public enum KeyEventType
{
18 [CCode (cprefix
= "ATK_LAYER_")]
29 [CCode (cprefix
= "ATK_RELATION_")]
30 public enum RelationType
{
49 [CCode (cprefix
= "ATK_ROLE_")]
141 [CCode (cprefix
= "ATK_STATE_")]
142 public enum StateType
{
177 SUPPORTS_AUTOCOMPLETION
,
184 [CCode (cprefix
= "ATK_TEXT_ATTR_")]
185 public enum TextAttribute
{
216 [CCode (cprefix
= "ATK_TEXT_BOUNDARY_")]
217 public enum TextBoundary
{
226 [CCode (cprefix
= "ATK_TEXT_CLIP_")]
227 public enum TextClipType
{
233 [CCode (cheader_filename
= "atk/atk.h")]
234 public class GObjectAccessible
: Atk
.Object
{
235 public static weak Atk
.Object
for_object (GLib
.Object obj
);
236 public weak GLib
.Object
get_object ();
237 public static GLib
.Type
get_type ();
239 [CCode (cheader_filename
= "atk/atk.h")]
240 public class Hyperlink
: GLib
.Object
, Atk
.Action
{
241 public virtual int get_end_index ();
242 public virtual int get_n_anchors ();
243 public virtual weak Atk
.Object
get_object (int i
);
244 public virtual int get_start_index ();
245 public static GLib
.Type
get_type ();
246 public virtual weak string get_uri (int i
);
247 public bool is_inline ();
248 public virtual bool is_selected_link ();
249 public virtual bool is_valid ();
251 public weak bool selected_link
{ get; }
253 public weak int number_of_anchors
{ get; }
254 public weak int end_index
{ get; }
255 public weak int start_index
{ get; }
256 public signal void link_activated ();
258 [CCode (cheader_filename
= "atk/atk.h")]
259 public class Misc
: GLib
.Object
{
260 public static weak Atk
.Misc
get_instance ();
261 public static GLib
.Type
get_type ();
262 public virtual void threads_enter ();
263 public virtual void threads_leave ();
265 [CCode (cheader_filename
= "atk/atk.h")]
266 public class NoOpObject
: Atk
.Object
, Atk
.Component
, Atk
.Action
, Atk
.EditableText
, Atk
.Image
, Atk
.Selection
, Atk
.Table
, Atk
.Text
, Atk
.Hypertext
, Atk
.Value
, Atk
.Document
{
267 public static GLib
.Type
get_type ();
268 public NoOpObject (GLib
.Object obj
);
270 [CCode (cheader_filename
= "atk/atk.h")]
271 public class NoOpObjectFactory
: Atk
.ObjectFactory
{
272 public static GLib
.Type
get_type ();
273 public NoOpObjectFactory ();
275 [CCode (cheader_filename
= "atk/atk.h")]
276 public class Object
: GLib
.Object
{
277 public bool add_relationship (Atk
.RelationType relationship
, Atk
.Object target
);
278 public virtual uint connect_property_change_handler (Atk
.PropertyChangeHandler handler
);
279 public virtual weak GLib
.SList
get_attributes ();
280 public virtual weak string get_description ();
281 public virtual int get_index_in_parent ();
282 public virtual Atk
.Layer
get_layer ();
283 public virtual int get_mdi_zorder ();
284 public int get_n_accessible_children ();
285 public virtual weak string get_name ();
286 public virtual weak Atk
.Object
get_parent ();
287 public virtual Atk
.Role
get_role ();
288 public static GLib
.Type
get_type ();
289 public virtual void initialize (pointer data
);
290 public void notify_state_change (Atk
.State state
, bool value
);
291 public weak Atk
.Object
ref_accessible_child (int i
);
292 public virtual weak Atk
.RelationSet
ref_relation_set ();
293 public virtual weak Atk
.StateSet
ref_state_set ();
294 public virtual void remove_property_change_handler (uint handler_id
);
295 public bool remove_relationship (Atk
.RelationType relationship
, Atk
.Object target
);
296 public virtual void set_description (string description
);
297 public virtual void set_name (string name
);
298 public virtual void set_parent (Atk
.Object parent
);
299 public virtual void set_role (Atk
.Role role
);
301 public weak string atk_object_name_property_name
{ get; set; }
303 public weak string atk_object_name_property_description
{ get; set; }
305 public weak Atk
.Object atk_object_name_property_parent
{ get; set; }
307 public weak double atk_object_name_property_value
{ get; set; }
309 public weak int atk_object_name_property_role
{ get; set; }
311 public weak int atk_object_name_property_component_layer
{ get; }
313 public weak int atk_object_name_property_component_mdi_zorder
{ get; }
315 public weak string atk_object_name_property_table_caption
{ get; set; }
317 public weak Atk
.Object atk_object_name_property_table_column_header
{ get; set; }
319 public weak string atk_object_name_property_table_column_description
{ get; set; }
321 public weak Atk
.Object atk_object_name_property_table_row_header
{ get; set; }
323 public weak string atk_object_name_property_table_row_description
{ get; set; }
325 public weak Atk
.Object atk_object_name_property_table_summary
{ get; set; }
327 public weak Atk
.Object atk_object_name_property_table_caption_object
{ get; set; }
329 public weak int atk_object_name_property_hypertext_num_links
{ get; }
330 public signal void children_changed (uint change_index
, pointer changed_child
);
331 public signal void focus_event (bool focus_in
);
332 public signal void property_change (Atk
.PropertyValues values
);
333 public signal void state_change (string name
, bool state_set
);
334 public signal void visible_data_changed ();
335 public signal void active_descendant_changed (pointer child
);
337 [CCode (cheader_filename
= "atk/atk.h")]
338 public class ObjectFactory
: GLib
.Object
{
339 public virtual weak Atk
.Object
create_accessible (GLib
.Object obj
);
340 public virtual GLib
.Type
get_accessible_type ();
341 public static GLib
.Type
get_type ();
342 public virtual void invalidate ();
344 [CCode (cheader_filename
= "atk/atk.h")]
345 public class Registry
: GLib
.Object
{
346 public weak Atk
.ObjectFactory
get_factory (GLib
.Type type
);
347 public GLib
.Type
get_factory_type (GLib
.Type type
);
348 public static GLib
.Type
get_type ();
349 public void set_factory_type (GLib
.Type type
, GLib
.Type factory_type
);
351 [CCode (cheader_filename
= "atk/atk.h")]
352 public class Relation
: GLib
.Object
{
353 public void add_target (Atk
.Object target
);
354 public Atk
.RelationType
get_relation_type ();
355 public weak GLib
.PtrArray
get_target ();
356 public static GLib
.Type
get_type ();
358 public Relation (Atk
.Object
[] targets
, int n_targets
, Atk
.RelationType relationship
);
359 public static Atk
.RelationType
type_for_name (string name
);
360 public static weak string type_get_name (Atk
.RelationType type
);
361 public static Atk
.RelationType
type_register (string name
);
363 public weak Atk
.RelationType relation_type
{ get; set; }
365 public weak GLib
.ValueArray target
{ get; set; }
367 [CCode (cheader_filename
= "atk/atk.h")]
368 public class RelationSet
: GLib
.Object
{
369 public void add (Atk
.Relation relation
);
370 public void add_relation_by_type (Atk
.RelationType relationship
, Atk
.Object target
);
371 public bool contains (Atk
.RelationType relationship
);
372 public int get_n_relations ();
373 public weak Atk
.Relation
get_relation (int i
);
374 public weak Atk
.Relation
get_relation_by_type (Atk
.RelationType relationship
);
375 public static GLib
.Type
get_type ();
376 public RelationSet ();
377 public void remove (Atk
.Relation relation
);
379 [CCode (cheader_filename
= "atk/atk.h")]
380 public class StateSet
: GLib
.Object
{
381 public bool add_state (Atk
.StateType type
);
383 public void add_states (Atk
.StateType
[] types
, int n_types
);
384 public weak Atk
.StateSet
and_sets (Atk
.StateSet compare_set
);
385 public void clear_states ();
386 public bool contains_state (Atk
.StateType type
);
388 public bool contains_states (Atk
.StateType
[] types
, int n_types
);
389 public static GLib
.Type
get_type ();
390 public bool is_empty ();
392 public weak Atk
.StateSet
or_sets (Atk
.StateSet compare_set
);
393 public bool remove_state (Atk
.StateType type
);
394 public weak Atk
.StateSet
xor_sets (Atk
.StateSet compare_set
);
396 [CCode (cheader_filename
= "atk/atk.h")]
397 public class Util
: GLib
.Object
{
398 public static GLib
.Type
get_type ();
400 [CCode (cheader_filename
= "atk/atk.h")]
401 public interface Action
{
402 public virtual bool do_action (int i
);
403 public virtual weak string get_description (int i
);
404 public virtual weak string get_keybinding (int i
);
405 public virtual weak string get_localized_name (int i
);
406 public virtual int get_n_actions ();
407 public virtual weak string get_name (int i
);
408 public static GLib
.Type
get_type ();
409 public virtual bool set_description (int i
, string desc
);
411 [CCode (cheader_filename
= "atk/atk.h")]
412 public interface Component
{
413 public virtual uint add_focus_handler (Atk
.FocusHandler handler
);
414 public virtual bool contains (int x
, int y
, Atk
.CoordType coord_type
);
415 public virtual double get_alpha ();
416 public virtual void get_extents (int x
, int y
, int width
, int height
, Atk
.CoordType coord_type
);
417 public virtual Atk
.Layer
get_layer ();
418 public virtual int get_mdi_zorder ();
419 public virtual void get_position (int x
, int y
, Atk
.CoordType coord_type
);
420 public virtual void get_size (int width
, int height
);
421 public static GLib
.Type
get_type ();
422 public virtual bool grab_focus ();
423 public virtual weak Atk
.Object
ref_accessible_at_point (int x
, int y
, Atk
.CoordType coord_type
);
424 public virtual void remove_focus_handler (uint handler_id
);
425 public virtual bool set_extents (int x
, int y
, int width
, int height
, Atk
.CoordType coord_type
);
426 public virtual bool set_position (int x
, int y
, Atk
.CoordType coord_type
);
427 public virtual bool set_size (int width
, int height
);
428 public signal void bounds_changed (ref Atk
.Rectangle bounds
);
430 [CCode (cheader_filename
= "atk/atk.h")]
431 public interface Document
{
432 public weak string get_attribute_value (string attribute_name
);
433 public weak GLib
.SList
get_attributes ();
434 public virtual pointer
get_document ();
435 public virtual weak string get_document_type ();
436 public weak string get_locale ();
437 public static GLib
.Type
get_type ();
438 public bool set_attribute_value (string attribute_name
, string attribute_value
);
439 public signal void load_complete ();
440 public signal void reload ();
441 public signal void load_stopped ();
443 [CCode (cheader_filename
= "atk/atk.h")]
444 public interface EditableText
{
445 public virtual void copy_text (int start_pos
, int end_pos
);
446 public virtual void cut_text (int start_pos
, int end_pos
);
447 public virtual void delete_text (int start_pos
, int end_pos
);
448 public static GLib
.Type
get_type ();
449 public virtual void insert_text (string string, int length
, int position
);
450 public virtual void paste_text (int position
);
451 public virtual bool set_run_attributes (GLib
.SList attrib_set
, int start_offset
, int end_offset
);
452 public virtual void set_text_contents (string string);
454 [CCode (cheader_filename
= "atk/atk.h")]
455 public interface HyperlinkImpl
{
456 public virtual weak Atk
.Hyperlink
get_hyperlink ();
457 public static GLib
.Type
get_type ();
459 [CCode (cheader_filename
= "atk/atk.h")]
460 public interface Hypertext
{
461 public virtual weak Atk
.Hyperlink
get_link (int link_index
);
462 public virtual int get_link_index (int char_index
);
463 public virtual int get_n_links ();
464 public static GLib
.Type
get_type ();
465 public signal void link_selected (int link_index
);
467 [CCode (cheader_filename
= "atk/atk.h")]
468 public interface Image
{
469 public virtual weak string get_image_description ();
470 public virtual weak string get_image_locale ();
471 public virtual void get_image_position (int x
, int y
, Atk
.CoordType coord_type
);
472 public virtual void get_image_size (int width
, int height
);
473 public static GLib
.Type
get_type ();
474 public virtual bool set_image_description (string description
);
476 [CCode (cheader_filename
= "atk/atk.h")]
477 public interface Implementor
{
478 public static GLib
.Type
get_type ();
479 public virtual weak Atk
.Object
ref_accessible ();
481 [CCode (cheader_filename
= "atk/atk.h")]
482 public interface Selection
{
483 public virtual bool add_selection (int i
);
484 public virtual bool clear_selection ();
485 public virtual int get_selection_count ();
486 public static GLib
.Type
get_type ();
487 public virtual bool is_child_selected (int i
);
488 public virtual weak Atk
.Object
ref_selection (int i
);
489 public virtual bool remove_selection (int i
);
490 public virtual bool select_all_selection ();
491 public signal void selection_changed ();
493 [CCode (cheader_filename
= "atk/atk.h")]
494 public interface StreamableContent
{
495 public virtual weak string get_mime_type (int i
);
496 public virtual int get_n_mime_types ();
497 public virtual weak GLib
.IOChannel
get_stream (string mime_type
);
498 public static GLib
.Type
get_type ();
499 public virtual weak string get_uri (string mime_type
);
501 [CCode (cheader_filename
= "atk/atk.h")]
502 public interface Table
{
503 public virtual bool add_column_selection (int column
);
504 public virtual bool add_row_selection (int row
);
505 public virtual weak Atk
.Object
get_caption ();
506 public virtual int get_column_at_index (int index_
);
507 public virtual weak string get_column_description (int column
);
508 public virtual int get_column_extent_at (int row
, int column
);
509 public virtual weak Atk
.Object
get_column_header (int column
);
510 public virtual int get_index_at (int row
, int column
);
511 public virtual int get_n_columns ();
512 public virtual int get_n_rows ();
513 public virtual int get_row_at_index (int index_
);
514 public virtual weak string get_row_description (int row
);
515 public virtual int get_row_extent_at (int row
, int column
);
516 public virtual weak Atk
.Object
get_row_header (int row
);
517 public virtual int get_selected_columns (int selected
);
518 public virtual int get_selected_rows (int selected
);
519 public virtual weak Atk
.Object
get_summary ();
520 public static GLib
.Type
get_type ();
521 public virtual bool is_column_selected (int column
);
522 public virtual bool is_row_selected (int row
);
523 public virtual bool is_selected (int row
, int column
);
524 public virtual weak Atk
.Object
ref_at (int row
, int column
);
525 public virtual bool remove_column_selection (int column
);
526 public virtual bool remove_row_selection (int row
);
527 public virtual void set_caption (Atk
.Object caption
);
528 public virtual void set_column_description (int column
, string description
);
529 public virtual void set_column_header (int column
, Atk
.Object header
);
530 public virtual void set_row_description (int row
, string description
);
531 public virtual void set_row_header (int row
, Atk
.Object header
);
532 public virtual void set_summary (Atk
.Object accessible
);
533 public signal void row_inserted (int row
, int num_inserted
);
534 public signal void column_inserted (int column
, int num_inserted
);
535 public signal void row_deleted (int row
, int num_deleted
);
536 public signal void column_deleted (int column
, int num_deleted
);
537 public signal void row_reordered ();
538 public signal void column_reordered ();
539 public signal void model_changed ();
541 [CCode (cheader_filename
= "atk/atk.h")]
542 public interface Text
{
543 public virtual bool add_selection (int start_offset
, int end_offset
);
544 public static Atk
.TextAttribute
attribute_for_name (string name
);
545 public static weak string attribute_get_name (Atk
.TextAttribute attr
);
546 public static weak string attribute_get_value (Atk
.TextAttribute attr
, int index_
);
547 public static Atk
.TextAttribute
attribute_register (string name
);
548 public static void free_ranges (Atk
.TextRange ranges
);
549 public virtual weak Atk
.TextRange
get_bounded_ranges (Atk
.TextRectangle rect
, Atk
.CoordType coord_type
, Atk
.TextClipType x_clip_type
, Atk
.TextClipType y_clip_type
);
550 public virtual int get_caret_offset ();
551 public virtual unichar
get_character_at_offset (int offset
);
552 public virtual int get_character_count ();
553 public virtual void get_character_extents (int offset
, int x
, int y
, int width
, int height
, Atk
.CoordType coords
);
554 public virtual weak GLib
.SList
get_default_attributes ();
555 public virtual int get_n_selections ();
556 public virtual int get_offset_at_point (int x
, int y
, Atk
.CoordType coords
);
557 public virtual void get_range_extents (int start_offset
, int end_offset
, Atk
.CoordType coord_type
, Atk
.TextRectangle rect
);
558 public virtual weak GLib
.SList
get_run_attributes (int offset
, int start_offset
, int end_offset
);
559 public virtual weak string get_selection (int selection_num
, int start_offset
, int end_offset
);
560 public virtual weak string get_text (int start_offset
, int end_offset
);
561 public virtual weak string get_text_after_offset (int offset
, Atk
.TextBoundary boundary_type
, int start_offset
, int end_offset
);
562 public virtual weak string get_text_at_offset (int offset
, Atk
.TextBoundary boundary_type
, int start_offset
, int end_offset
);
563 public virtual weak string get_text_before_offset (int offset
, Atk
.TextBoundary boundary_type
, int start_offset
, int end_offset
);
564 public static GLib
.Type
get_type ();
565 public virtual bool remove_selection (int selection_num
);
566 public virtual bool set_caret_offset (int offset
);
567 public virtual bool set_selection (int selection_num
, int start_offset
, int end_offset
);
568 public signal void text_changed (int position
, int length
);
569 public signal void text_caret_moved (int location
);
570 public signal void text_selection_changed ();
571 public signal void text_attributes_changed ();
573 [CCode (cheader_filename
= "atk/atk.h")]
574 public interface Value
{
575 public virtual void get_current_value (GLib
.Value value
);
576 public virtual void get_maximum_value (GLib
.Value value
);
577 public virtual void get_minimum_increment (GLib
.Value value
);
578 public virtual void get_minimum_value (GLib
.Value value
);
579 public static GLib
.Type
get_type ();
580 public virtual bool set_current_value (GLib
.Value value
);
583 public struct Attribute
{
584 public weak string name
;
585 public weak string value
;
586 public static void set_free (GLib
.SList attrib_set
);
589 public struct KeyEventStruct
{
594 public weak string string;
595 public ushort keycode
;
596 public uint timestamp
;
599 public struct PropertyValues
{
600 public weak string property_name
;
601 public weak GLib
.Value old_value
;
602 public weak GLib
.Value new_value
;
604 public struct Rectangle
{
609 public static GLib
.Type
get_type ();
612 public struct TextRange
{
613 public weak Atk
.TextRectangle bounds
;
614 public int start_offset
;
615 public int end_offset
;
616 public weak string content
;
619 public struct TextRectangle
{
626 public struct Focus
{
627 public static void tracker_init (Atk
.EventListenerInit init
);
628 public static void tracker_notify (Atk
.Object
object);
631 public struct State
{
632 public static Atk
.StateType
type_for_name (string name
);
633 public static weak string type_get_name (Atk
.StateType type
);
634 public static Atk
.StateType
type_register (string name
);
636 public static delegate
void EventListener (Atk
.Object obj
);
637 public static delegate
void EventListenerInit ();
638 public static delegate
void FocusHandler (Atk
.Object arg1
, bool arg2
);
639 public static delegate
bool Function (pointer data
);
640 public static delegate
int KeySnoopFunc (Atk
.KeyEventStruct event
, pointer func_data
);
641 public static delegate
void PropertyChangeHandler (Atk
.Object arg1
, Atk
.PropertyValues arg2
);
642 public static uint add_focus_tracker (Atk
.EventListener focus_tracker
);
643 public static uint add_global_event_listener (GLib
.SignalEmissionHook listener
, string event_type
);
644 public static uint add_key_event_listener (Atk
.KeySnoopFunc listener
, pointer data
);
645 public static weak Atk
.Registry
get_default_registry ();
646 public static weak Atk
.Object
get_focus_object ();
647 public static weak Atk
.Object
get_root ();
648 public static weak string get_toolkit_name ();
649 public static weak string get_toolkit_version ();
650 public static void remove_focus_tracker (uint tracker_id
);
651 public static void remove_global_event_listener (uint listener_id
);
652 public static void remove_key_event_listener (uint listener_id
);
653 public static Atk
.Role
role_for_name (string name
);
654 public static weak string role_get_localized_name (Atk
.Role role
);
655 public static weak string role_get_name (Atk
.Role role
);
656 public static Atk
.Role
role_register (string name
);