File indexing completed on 2025-01-18 09:28:16
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #ifndef _ATSPI_SELECTION_H_
0027 #define _ATSPI_SELECTION_H_
0028
0029 #include "glib-object.h"
0030
0031 #include "atspi-constants.h"
0032
0033 #include "atspi-types.h"
0034
0035 G_BEGIN_DECLS
0036
0037 #define ATSPI_TYPE_SELECTION (atspi_selection_get_type ())
0038 #define ATSPI_IS_SELECTION(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_SELECTION)
0039 #define ATSPI_SELECTION(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_SELECTION, AtspiSelection)
0040 #define ATSPI_SELECTION_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATSPI_TYPE_SELECTION, AtspiSelection))
0041
0042 GType atspi_selection_get_type ();
0043
0044 struct _AtspiSelection
0045 {
0046 GTypeInterface parent;
0047 };
0048
0049 gint atspi_selection_get_n_selected_children (AtspiSelection *obj, GError **error);
0050
0051 AtspiAccessible *atspi_selection_get_selected_child (AtspiSelection *obj, gint selected_child_index, GError **error);
0052
0053 gboolean atspi_selection_select_child (AtspiSelection *obj, gint child_index, GError **error);
0054
0055 gboolean atspi_selection_deselect_selected_child (AtspiSelection *obj, gint selected_child_index, GError **error);
0056
0057 gboolean atspi_selection_deselect_child (AtspiSelection *obj, gint child_index, GError **error);
0058
0059 gboolean
0060 atspi_selection_is_child_selected (AtspiSelection *obj,
0061 gint child_index,
0062 GError **error);
0063
0064 gboolean atspi_selection_select_all (AtspiSelection *obj, GError **error);
0065
0066 gboolean atspi_selection_clear_selection (AtspiSelection *obj, GError **error);
0067
0068 G_END_DECLS
0069
0070 #endif