31 #ifndef __GTK_ENTRY_H__
32 #define __GTK_ENTRY_H__
35 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
36 #error "Only <gtk/gtk.h> can be included directly."
50 #define GTK_TYPE_ENTRY (gtk_entry_get_type ())
51 #define GTK_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY, GtkEntry))
52 #define GTK_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY, GtkEntryClass))
53 #define GTK_IS_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY))
54 #define GTK_IS_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY))
55 #define GTK_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY, GtkEntryClass))
72 guint
GSEAL (editable) : 1;
73 guint
GSEAL (visible) : 1;
74 guint
GSEAL (overwrite_mode) : 1;
75 guint
GSEAL (in_drag) : 1;
79 guint16
GSEAL (text_max_length);
89 PangoLayout *
GSEAL (cached_layout);
91 guint
GSEAL (cache_includes_preedit) : 1;
92 guint
GSEAL (need_im_reset) : 1;
93 guint
GSEAL (has_frame) : 1;
94 guint
GSEAL (activates_default) : 1;
95 guint
GSEAL (cursor_visible) : 1;
96 guint
GSEAL (in_click) : 1;
97 guint
GSEAL (is_cell_renderer) : 1;
98 guint
GSEAL (editing_canceled) : 1;
99 guint
GSEAL (mouse_cursor_obscured) : 1;
100 guint
GSEAL (select_words) : 1;
101 guint
GSEAL (select_lines) : 1;
102 guint
GSEAL (resolved_dir) : 4;
103 guint
GSEAL (truncate_multiline) : 1;
142 gboolean extend_selection);
260 const gchar *stock_id);
263 const gchar *icon_name);
279 gboolean activatable);
292 const gchar *tooltip);
297 const gchar *tooltip);
317 #ifndef GTK_DISABLE_DEPRECATED
GtkWidget * gtk_entry_new(void)
@ GTK_ENTRY_ICON_SECONDARY
void gtk_entry_set_progress_pulse_step(GtkEntry *entry, gdouble fraction)
gboolean gtk_entry_get_has_frame(GtkEntry *entry)
GtkEntryCompletion * gtk_entry_get_completion(GtkEntry *entry)
void gtk_entry_set_completion(GtkEntry *entry, GtkEntryCompletion *completion)
guint16 gtk_entry_get_text_length(GtkEntry *entry)
GdkPixbuf * gtk_entry_get_icon_pixbuf(GtkEntry *entry, GtkEntryIconPosition icon_pos)
void gtk_entry_unset_invisible_char(GtkEntry *entry)
GtkImageType gtk_entry_get_icon_storage_type(GtkEntry *entry, GtkEntryIconPosition icon_pos)
void gtk_entry_set_icon_from_pixbuf(GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkPixbuf *pixbuf)
GtkWidget * gtk_entry_new_with_buffer(GtkEntryBuffer *buffer)
GdkWindow * gtk_entry_get_text_window(GtkEntry *entry)
void gtk_entry_set_overwrite_mode(GtkEntry *entry, gboolean overwrite)
void gtk_entry_set_icon_tooltip_text(GtkEntry *entry, GtkEntryIconPosition icon_pos, const gchar *tooltip)
gint gtk_entry_text_index_to_layout_index(GtkEntry *entry, gint text_index)
void gtk_entry_set_editable(GtkEntry *entry, gboolean editable)
void gtk_entry_set_width_chars(GtkEntry *entry, gint n_chars)
GdkWindow * gtk_entry_get_icon_window(GtkEntry *entry, GtkEntryIconPosition icon_pos)
void gtk_entry_set_has_frame(GtkEntry *entry, gboolean setting)
gboolean gtk_entry_get_overwrite_mode(GtkEntry *entry)
gchar * gtk_entry_get_icon_tooltip_text(GtkEntry *entry, GtkEntryIconPosition icon_pos)
void gtk_entry_set_icon_from_gicon(GtkEntry *entry, GtkEntryIconPosition icon_pos, GIcon *icon)
void gtk_entry_prepend_text(GtkEntry *entry, const gchar *text)
const GtkBorder * gtk_entry_get_inner_border(GtkEntry *entry)
gboolean gtk_entry_im_context_filter_keypress(GtkEntry *entry, GdkEventKey *event)
GtkWidget * gtk_entry_new_with_max_length(gint max)
const gchar * gtk_entry_get_text(GtkEntry *entry)
gchar * gtk_entry_get_icon_tooltip_markup(GtkEntry *entry, GtkEntryIconPosition icon_pos)
void gtk_entry_append_text(GtkEntry *entry, const gchar *text)
GtkEntryBuffer * gtk_entry_get_buffer(GtkEntry *entry)
void gtk_entry_select_region(GtkEntry *entry, gint start, gint end)
void gtk_entry_set_inner_border(GtkEntry *entry, const GtkBorder *border)
gdouble gtk_entry_get_progress_fraction(GtkEntry *entry)
void gtk_entry_reset_im_context(GtkEntry *entry)
void gtk_entry_set_icon_drag_source(GtkEntry *entry, GtkEntryIconPosition icon_pos, GtkTargetList *target_list, GdkDragAction actions)
void gtk_entry_set_progress_fraction(GtkEntry *entry, gdouble fraction)
GType gtk_entry_get_type(void) G_GNUC_CONST
void gtk_entry_set_icon_sensitive(GtkEntry *entry, GtkEntryIconPosition icon_pos, gboolean sensitive)
gboolean gtk_entry_get_icon_activatable(GtkEntry *entry, GtkEntryIconPosition icon_pos)
void gtk_entry_set_cursor_hadjustment(GtkEntry *entry, GtkAdjustment *adjustment)
gboolean gtk_entry_get_visibility(GtkEntry *entry)
void gtk_entry_set_icon_from_icon_name(GtkEntry *entry, GtkEntryIconPosition icon_pos, const gchar *icon_name)
gint gtk_entry_get_icon_at_pos(GtkEntry *entry, gint x, gint y)
GtkAdjustment * gtk_entry_get_cursor_hadjustment(GtkEntry *entry)
gboolean gtk_entry_get_icon_sensitive(GtkEntry *entry, GtkEntryIconPosition icon_pos)
void gtk_entry_set_position(GtkEntry *entry, gint position)
void gtk_entry_set_alignment(GtkEntry *entry, gfloat xalign)
void gtk_entry_get_layout_offsets(GtkEntry *entry, gint *x, gint *y)
void gtk_entry_set_icon_from_stock(GtkEntry *entry, GtkEntryIconPosition icon_pos, const gchar *stock_id)
void gtk_entry_set_visibility(GtkEntry *entry, gboolean visible)
PangoLayout * gtk_entry_get_layout(GtkEntry *entry)
gint gtk_entry_get_width_chars(GtkEntry *entry)
gint gtk_entry_get_current_icon_drag_source(GtkEntry *entry)
gunichar gtk_entry_get_invisible_char(GtkEntry *entry)
void gtk_entry_progress_pulse(GtkEntry *entry)
gdouble gtk_entry_get_progress_pulse_step(GtkEntry *entry)
void gtk_entry_set_activates_default(GtkEntry *entry, gboolean setting)
gfloat gtk_entry_get_alignment(GtkEntry *entry)
GIcon * gtk_entry_get_icon_gicon(GtkEntry *entry, GtkEntryIconPosition icon_pos)
void gtk_entry_set_icon_tooltip_markup(GtkEntry *entry, GtkEntryIconPosition icon_pos, const gchar *tooltip)
void gtk_entry_set_max_length(GtkEntry *entry, gint max)
void gtk_entry_set_buffer(GtkEntry *entry, GtkEntryBuffer *buffer)
void gtk_entry_set_invisible_char(GtkEntry *entry, gunichar ch)
void gtk_entry_set_icon_activatable(GtkEntry *entry, GtkEntryIconPosition icon_pos, gboolean activatable)
gboolean gtk_entry_get_activates_default(GtkEntry *entry)
gint gtk_entry_get_max_length(GtkEntry *entry)
gint gtk_entry_layout_index_to_text_index(GtkEntry *entry, gint layout_index)
const gchar * gtk_entry_get_icon_stock(GtkEntry *entry, GtkEntryIconPosition icon_pos)
void gtk_entry_set_text(GtkEntry *entry, const gchar *text)
const gchar * gtk_entry_get_icon_name(GtkEntry *entry, GtkEntryIconPosition icon_pos)
GtkImagePixbufData pixbuf
typedefG_BEGIN_DECLS struct _GtkTargetList GtkTargetList
PBD::PropertyDescriptor< timepos_t > start
void(* move_cursor)(GtkEntry *entry, GtkMovementStep step, gint count, gboolean extend_selection)
GtkWidgetClass parent_class
void(* copy_clipboard)(GtkEntry *entry)
void(* _gtk_reserved2)(void)
void(* paste_clipboard)(GtkEntry *entry)
void(* backspace)(GtkEntry *entry)
void(* populate_popup)(GtkEntry *entry, GtkMenu *menu)
void(* delete_from_cursor)(GtkEntry *entry, GtkDeleteType type, gint count)
void(* insert_at_cursor)(GtkEntry *entry, const gchar *str)
void(* _gtk_reserved1)(void)
void(* toggle_overwrite)(GtkEntry *entry)
void(* cut_clipboard)(GtkEntry *entry)
void(* get_text_area_size)(GtkEntry *entry, gint *x, gint *y, gint *width, gint *height)
void(* activate)(GtkEntry *entry)
GdkWindow * GSEAL(text_area)
gint GSEAL(selection_bound)
PangoLayout * GSEAL(cached_layout)
guint16 GSEAL(text_max_length)
gint GSEAL(scroll_offset)
GtkWidget * GSEAL(popup_menu)
gunichar GSEAL(invisible_char)
guint GSEAL(blink_timeout)
guint16 GSEAL(preedit_length)
guint16 GSEAL(preedit_cursor)
GtkIMContext * GSEAL(im_context)
guint16 GSEAL(x_text_size)
guint GSEAL(recompute_idle)
guint GSEAL(editable) guint GSEAL(visible) guint GSEAL(overwrite_mode) guint GSEAL(in_drag) guint16 GSEAL(text_length)
guint GSEAL(cache_includes_preedit) guint GSEAL(need_im_reset) guint GSEAL(has_frame) guint GSEAL(activates_default) guint GSEAL(cursor_visible) guint GSEAL(in_click) guint GSEAL(is_cell_renderer) guint GSEAL(editing_canceled) guint GSEAL(mouse_cursor_obscured) guint GSEAL(select_words) guint GSEAL(select_lines) guint GSEAL(resolved_dir) guint GSEAL(truncate_multiline) guint GSEAL(button)