Debian Codegraph @

gtk/gtktextprivate.h

raw symbols SCIP
1 /* gtkentryprivate.h
2 * Copyright (C) 2019 Red Hat, Inc.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library 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 GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #pragma once
19
20 #include "gtktext.h"cxx . . $ `<file>/gtk/gtktext.h`/
21
22 #include "gtkeventcontroller.h"cxx . . $ `<file>/gtk/gtkeventcontroller.h`/
23 #include "gtkimcontext.h"cxx . . $ `<file>/gtk/gtkimcontext.h`/
24
25 G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`!
26
27 #define GTK_TEXT_CLASScxx . . $ `gtk/gtktextprivate.h:27:9`!(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT, GtkTextClass))
28 #define GTK_IS_TEXT_CLASScxx . . $ `gtk/gtktextprivate.h:28:9`!(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT))
29 #define GTK_TEXT_GET_CLASScxx . . $ `gtk/gtktextprivate.h:29:9`!(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT, GtkTextClass))
30
31 typedef struct _GtkTextClasscxx . . $ _GtkTextClass# GtkTextClasscxx . . $ GtkTextClass#;
32
33 /*<private>
34 * GtkTextClass:
35 * @parent_class: The parent class.
36 * @activate: Class handler for the `GtkText::activate` signal. The default
37 * implementation activates the gtk.activate-default action.
38 * @move_cursor: Class handler for the `GtkText::move-cursor` signal. The
39 * default implementation specifies the standard `GtkText` cursor movement
40 * behavior.
41 * @insert_at_cursor: Class handler for the `GtkText::insert-at-cursor` signal.
42 * The default implementation inserts text at the cursor.
43 * @delete_from_cursor: Class handler for the `GtkText::delete-from-cursor`
44 * signal. The default implementation deletes the selection or the specified
45 * number of characters or words.
46 * @backspace: Class handler for the `GtkText::backspace` signal. The default
47 * implementation deletes the selection or a single character or word.
48 * @cut_clipboard: Class handler for the `GtkText::cut-clipboard` signal. The
49 * default implementation cuts the selection, if one exists.
50 * @copy_clipboard: Class handler for the `GtkText::copy-clipboard` signal. The
51 * default implementation copies the selection, if one exists.
52 * @paste_clipboard: Class handler for the `GtkText::paste-clipboard` signal.
53 * The default implementation pastes at the current cursor position or over
54 * the current selection if one exists.
55 * @toggle_overwrite: Class handler for the `GtkText::toggle-overwrite` signal.
56 * The default implementation toggles overwrite mode and blinks the cursor.
57 * @insert_emoji: Class handler for the `GtkText::insert-emoji` signal.
58 *
59 * Class structure for `GtkText`. All virtual functions have a default
60 * implementation. Derived classes may set the virtual function pointers for the
61 * signal handlers to %NULL, but must keep @get_text_area_size and
62 * @get_frame_size non-%NULL; either use the default implementation, or provide
63 * a custom one.
64 */
65 struct _GtkTextClasscxx . . $ _GtkTextClass#
66 {
67 GtkWidgetClasscxx . . $ GtkWidgetClass# parent_classcxx . . $ _GtkTextClass#parent_class.;
68
69 /* Action signals
70 */
71 void (* activatecxx . . $ _GtkTextClass#activate.) (GtkTextcxx . . $ GtkText# *self);
72 void (* move_cursorcxx . . $ _GtkTextClass#move_cursor.) (GtkTextcxx . . $ GtkText# *self,
73 GtkMovementStepcxx . . $ GtkMovementStep# step,
74 int count,
75 gbooleancxx . . $ gboolean# extend);
76 void (* insert_at_cursorcxx . . $ _GtkTextClass#insert_at_cursor.) (GtkTextcxx . . $ GtkText# *self,
77 const char *str);
78 void (* delete_from_cursorcxx . . $ _GtkTextClass#delete_from_cursor.) (GtkTextcxx . . $ GtkText# *self,
79 GtkDeleteTypecxx . . $ GtkDeleteType# type,
80 int count);
81 void (* backspacecxx . . $ _GtkTextClass#backspace.) (GtkTextcxx . . $ GtkText# *self);
82 void (* cut_clipboardcxx . . $ _GtkTextClass#cut_clipboard.) (GtkTextcxx . . $ GtkText# *self);
83 void (* copy_clipboardcxx . . $ _GtkTextClass#copy_clipboard.) (GtkTextcxx . . $ GtkText# *self);
84 void (* paste_clipboardcxx . . $ _GtkTextClass#paste_clipboard.) (GtkTextcxx . . $ GtkText# *self);
85 void (* toggle_overwritecxx . . $ _GtkTextClass#toggle_overwrite.) (GtkTextcxx . . $ GtkText# *self);
86 void (* insert_emojicxx . . $ _GtkTextClass#insert_emoji.) (GtkTextcxx . . $ GtkText# *self);
87 void (* undocxx . . $ _GtkTextClass#undo.) (GtkTextcxx . . $ GtkText# *self);
88 void (* redocxx . . $ _GtkTextClass#redo.) (GtkTextcxx . . $ GtkText# *self);
89 };
90
91 char * gtk_text_get_display_textcxx . . $ gtk_text_get_display_text(5910df1049ddaa69). (GtkTextcxx . . $ GtkText# *entry,
92 int start_pos,
93 int end_pos);
94 void gtk_text_enter_textcxx . . $ gtk_text_enter_text(890a7e2ea2ac8a6). (GtkTextcxx . . $ GtkText# *entry,
95 const char *text);
96 void gtk_text_set_positionscxx . . $ gtk_text_set_positions(9913c37317dcf5a1). (GtkTextcxx . . $ GtkText# *entry,
97 int current_pos,
98 int selection_bound);
99 PangoLayoutcxx . . $ PangoLayout# * gtk_text_get_layoutcxx . . $ gtk_text_get_layout(15fda38ef6681258). (GtkTextcxx . . $ GtkText# *entry);
100 void gtk_text_get_layout_offsetscxx . . $ gtk_text_get_layout_offsets(e75efa95998c7054). (GtkTextcxx . . $ GtkText# *entry,
101 int *x,
102 int *y);
103 void gtk_text_reset_im_contextcxx . . $ gtk_text_reset_im_context(65370b88274b822f). (GtkTextcxx . . $ GtkText# *entry);
104 GtkEventControllercxx . . $ GtkEventController# *gtk_text_get_key_controllercxx . . $ gtk_text_get_key_controller(efeec0ca582c4476). (GtkTextcxx . . $ GtkText# *entry);
105
106 G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`!
107