summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-02-16 00:50:40 -0500
committerMatthias Clasen <mclasen@redhat.com>2019-02-19 00:25:59 -0500
commit45fb1d06e3b1c9b578301612eca8d5c54027f0f3 (patch)
tree2d0008f579f8cfcc4636eb9033b441ea1efdd265 /gtk/gtkentry.h
parent936181f3542c43da7c70e8d8ed880ddfc07e9d2f (diff)
downloadgtk+-45fb1d06e3b1c9b578301612eca8d5c54027f0f3.tar.gz
entry: Delegate to GtkText
Use a GtkText child, and delegate the editable functionality to it. Also forward all the properties that are provided by GtkText. Some of the more internal APIs, such as layout and im context access and caps-lock warning, are removed here, but we preserve most of the plain GtkEntry API by forwarding it to the GtkText child.
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r--gtk/gtkentry.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index 4debf4ab9c..b6aae2d24f 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -115,28 +115,9 @@ struct _GtkEntryClass
{
GtkWidgetClass parent_class;
- /* Hook to customize right-click popup */
- void (* populate_popup) (GtkEntry *entry,
- GtkWidget *popup);
-
/* Action signals
*/
void (* activate) (GtkEntry *entry);
- void (* move_cursor) (GtkEntry *entry,
- GtkMovementStep step,
- gint count,
- gboolean extend_selection);
- void (* insert_at_cursor) (GtkEntry *entry,
- const gchar *str);
- void (* delete_from_cursor) (GtkEntry *entry,
- GtkDeleteType type,
- gint count);
- void (* backspace) (GtkEntry *entry);
- void (* cut_clipboard) (GtkEntry *entry);
- void (* copy_clipboard) (GtkEntry *entry);
- void (* paste_clipboard) (GtkEntry *entry);
- void (* toggle_overwrite) (GtkEntry *entry);
- void (* insert_emoji) (GtkEntry *entry);
/*< private >*/
@@ -225,12 +206,6 @@ GDK_AVAILABLE_IN_ALL
const gchar* gtk_entry_get_text (GtkEntry *entry);
GDK_AVAILABLE_IN_ALL
-PangoLayout* gtk_entry_get_layout (GtkEntry *entry);
-GDK_AVAILABLE_IN_ALL
-void gtk_entry_get_layout_offsets (GtkEntry *entry,
- gint *x,
- gint *y);
-GDK_AVAILABLE_IN_ALL
void gtk_entry_set_alignment (GtkEntry *entry,
gfloat xalign);
GDK_AVAILABLE_IN_ALL
@@ -242,13 +217,6 @@ void gtk_entry_set_completion (GtkEntry *entry,
GDK_AVAILABLE_IN_ALL
GtkEntryCompletion *gtk_entry_get_completion (GtkEntry *entry);
-GDK_AVAILABLE_IN_ALL
-gint gtk_entry_layout_index_to_text_index (GtkEntry *entry,
- gint layout_index);
-GDK_AVAILABLE_IN_ALL
-gint gtk_entry_text_index_to_layout_index (GtkEntry *entry,
- gint text_index);
-
/* Progress API
*/
GDK_AVAILABLE_IN_ALL
@@ -341,9 +309,6 @@ void gtk_entry_get_icon_area (GtkEntry *
GdkRectangle *icon_area);
GDK_AVAILABLE_IN_ALL
-gboolean gtk_entry_im_context_filter_keypress (GtkEntry *entry,
- GdkEventKey *event);
-GDK_AVAILABLE_IN_ALL
void gtk_entry_reset_im_context (GtkEntry *entry);
GDK_AVAILABLE_IN_ALL