Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:32:47

0001 /*
0002  * AT-SPI - Assistive Technology Service Provider Interface
0003  * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
0004  *
0005  * Copyright 2002 Ximian, Inc.
0006  *           2002 Sun Microsystems Inc.
0007  *
0008  *
0009  * This library is free software; you can redistribute it and/or
0010  * modify it under the terms of the GNU Lesser General Public
0011  * License as published by the Free Software Foundation; either
0012  * version 2.1 of the License, or (at your option) any later version.
0013  *
0014  * This library is distributed in the hope that it will be useful,
0015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0017  * Lesser General Public License for more details.
0018  *
0019  * You should have received a copy of the GNU Lesser General Public
0020  * License along with this library; if not, write to the
0021  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0022  * Boston, MA 02110-1301, USA.
0023  */
0024 
0025 #ifndef _ATSPI_EDITABLE_TEXT_H_
0026 #define _ATSPI_EDITABLE_TEXT_H_
0027 
0028 #include "glib-object.h"
0029 
0030 #include "atspi-constants.h"
0031 
0032 #include "atspi-types.h"
0033 
0034 G_BEGIN_DECLS
0035 
0036 #define ATSPI_TYPE_EDITABLE_TEXT (atspi_editable_text_get_type ())
0037 #define ATSPI_IS_EDITABLE_TEXT(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_EDITABLE_TEXT)
0038 #define ATSPI_EDITABLE_TEXT(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_EDITABLE_TEXT, AtspiEditableText)
0039 #define ATSPI_EDITABLE_TEXT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATSPI_TYPE_EDITABLE_TEXT, AtspiEditableText))
0040 
0041 GType atspi_editable_text_get_type ();
0042 
0043 struct _AtspiEditableText
0044 {
0045   GTypeInterface parent;
0046 };
0047 
0048 #if 0
0049 gboolean atspi_editable_text_set_attributes (AtspiEditableText *obj, const char *attributes, gint start_pos, gint end_pos, GError **error)
0050 #endif
0051 
0052 gboolean atspi_editable_text_set_text_contents (AtspiEditableText *obj, const gchar *new_contents, GError **error);
0053 
0054 gboolean atspi_editable_text_insert_text (AtspiEditableText *obj, gint position, const gchar *text, gint length, GError **error);
0055 
0056 gboolean atspi_editable_text_copy_text (AtspiEditableText *obj, gint start_pos, gint end_pos, GError **error);
0057 
0058 gboolean atspi_editable_text_cut_text (AtspiEditableText *obj, gint start_pos, gint end_pos, GError **error);
0059 
0060 gboolean atspi_editable_text_delete_text (AtspiEditableText *obj, gint start_pos, gint end_pos, GError **error);
0061 
0062 gboolean atspi_editable_text_paste_text (AtspiEditableText *obj, gint position, GError **error);
0063 
0064 G_END_DECLS
0065 
0066 #endif /* _ATSPI_EDITABLE_TEXT_H_ */