diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-20 17:14:11 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-11-19 08:38:12 +0100 |
commit | c4be956473d7cd4fc1a60f392646a6ced6b06c68 (patch) | |
tree | 50cd581f94ad387ac796487b73699d854863b597 /gtk/gtkentry.h | |
parent | f2abd656f64fe7676e4294c5d1803996900a77dd (diff) | |
download | gtk+-c4be956473d7cd4fc1a60f392646a6ced6b06c68.tar.gz |
gtkentry: move public members to private structure
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r-- | gtk/gtkentry.h | 60 |
1 files changed, 6 insertions, 54 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h index b540aed3d2..3bd37d35f7 100644 --- a/gtk/gtkentry.h +++ b/gtk/gtkentry.h @@ -69,64 +69,16 @@ typedef enum GTK_ENTRY_ICON_SECONDARY } GtkEntryIconPosition; -typedef struct _GtkEntry GtkEntry; -typedef struct _GtkEntryClass GtkEntryClass; +typedef struct _GtkEntry GtkEntry; +typedef struct _GtkEntryPrivate GtkEntryPrivate; +typedef struct _GtkEntryClass GtkEntryClass; struct _GtkEntry { - GtkWidget widget; - - guint GSEAL (editable) : 1; - guint GSEAL (visible) : 1; - guint GSEAL (overwrite_mode) : 1; - guint GSEAL (in_drag) : 1; /* FIXME: Should be private? - Dragging within the selection */ - /*< private >*/ - GdkWindow *GSEAL (text_area); - GtkIMContext *GSEAL (im_context); - GtkWidget *GSEAL (popup_menu); - - gint GSEAL (current_pos); - gint GSEAL (selection_bound); - - PangoLayout *GSEAL (cached_layout); - - guint GSEAL (cache_includes_preedit) : 1; - guint GSEAL (need_im_reset) : 1; - guint GSEAL (has_frame) : 1; - guint GSEAL (activates_default) : 1; - guint GSEAL (cursor_visible) : 1; - guint GSEAL (in_click) : 1; /* Flag so we don't select all when clicking in entry to focus in */ - guint GSEAL (is_cell_renderer) : 1; - guint GSEAL (editing_canceled) : 1; /* Only used by GtkCellRendererText */ - guint GSEAL (mouse_cursor_obscured) : 1; - guint GSEAL (select_words) : 1; - guint GSEAL (select_lines) : 1; - guint GSEAL (resolved_dir) : 4; /* PangoDirection */ - guint GSEAL (truncate_multiline) : 1; - - guint GSEAL (button); - guint GSEAL (blink_timeout); - guint GSEAL (recompute_idle); - gint GSEAL (scroll_offset); - gint GSEAL (ascent); /* font ascent in pango units */ - gint GSEAL (descent); /* font descent in pango units */ - - guint16 GSEAL (x_text_size); /* allocated size, in bytes */ - guint16 GSEAL (x_n_bytes); /* length in use, in bytes */ - - guint16 GSEAL (preedit_length); /* length of preedit string, in bytes */ - guint16 GSEAL (preedit_cursor); /* offset of cursor within preedit string, in chars */ - - gint GSEAL (dnd_position); /* In chars, -1 == no DND cursor */ - - gint GSEAL (drag_start_x); - gint GSEAL (drag_start_y); - - gunichar GSEAL (invisible_char); - - gint GSEAL (width_chars); + GtkWidget parent_instance; + + GtkEntryPrivate *priv; }; struct _GtkEntryClass |