gtkentry: move public members to private structure
This commit is contained in:
parent
f2abd656f6
commit
c4be956473
@ -1059,6 +1059,7 @@ GTK_ENTRY_CLASS
|
|||||||
GTK_IS_ENTRY_CLASS
|
GTK_IS_ENTRY_CLASS
|
||||||
GTK_ENTRY_GET_CLASS
|
GTK_ENTRY_GET_CLASS
|
||||||
<SUBSECTION Private>
|
<SUBSECTION Private>
|
||||||
|
GtkEntryPrivate
|
||||||
gtk_entry_get_type
|
gtk_entry_get_type
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
|
1267
gtk/gtkentry.c
1267
gtk/gtkentry.c
File diff suppressed because it is too large
Load Diff
@ -69,64 +69,16 @@ typedef enum
|
|||||||
GTK_ENTRY_ICON_SECONDARY
|
GTK_ENTRY_ICON_SECONDARY
|
||||||
} GtkEntryIconPosition;
|
} GtkEntryIconPosition;
|
||||||
|
|
||||||
typedef struct _GtkEntry GtkEntry;
|
typedef struct _GtkEntry GtkEntry;
|
||||||
typedef struct _GtkEntryClass GtkEntryClass;
|
typedef struct _GtkEntryPrivate GtkEntryPrivate;
|
||||||
|
typedef struct _GtkEntryClass GtkEntryClass;
|
||||||
|
|
||||||
struct _GtkEntry
|
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 >*/
|
/*< private >*/
|
||||||
GdkWindow *GSEAL (text_area);
|
GtkWidget parent_instance;
|
||||||
GtkIMContext *GSEAL (im_context);
|
|
||||||
GtkWidget *GSEAL (popup_menu);
|
|
||||||
|
|
||||||
gint GSEAL (current_pos);
|
GtkEntryPrivate *priv;
|
||||||
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);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GtkEntryClass
|
struct _GtkEntryClass
|
||||||
|
Loading…
Reference in New Issue
Block a user