]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkentryprivate.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkentryprivate.h
index 43eff46b0822c2d97218fa57df799c54e96889b0..0cc825a40591f7801f20ff63b7addb70c68ad32a 100644 (file)
@@ -12,9 +12,7 @@
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef __GTK_ENTRY_PRIVATE_H__
@@ -24,6 +22,7 @@
 #include <gtk/gtktreemodelfilter.h>
 #include <gtk/gtkliststore.h>
 #include <gtk/gtkentrycompletion.h>
+#include <gtk/gtkentry.h>
 
 G_BEGIN_DECLS
 
@@ -36,6 +35,7 @@ struct _GtkEntryCompletionPrivate
   GtkTreeModelFilter *filter_model;
   GtkListStore *actions;
   gboolean first_sel_changed;
+  GtkCellArea *cell_area;
 
   GtkEntryCompletionMatchFunc match_func;
   gpointer match_data;
@@ -62,12 +62,32 @@ struct _GtkEntryCompletionPrivate
   guint inline_completion : 1;
   guint popup_completion  : 1;
   guint popup_set_width   : 1;
+  guint popup_single_match : 1;
+  guint inline_selection   : 1;
+  guint has_grab           : 1;
+
+  gchar *completion_prefix;
+
   GSource *check_completion_idle;
+
+  GdkDevice *device;
 };
 
-gboolean            _gtk_entry_completion_resize_popup           (GtkEntryCompletion          *completion);
-void                _gtk_entry_completion_popup                  (GtkEntryCompletion          *completion);
-void                _gtk_entry_completion_popdown                (GtkEntryCompletion          *completion);
+gboolean _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion);
+void     _gtk_entry_completion_popdown      (GtkEntryCompletion *completion);
+void     _gtk_entry_completion_connect      (GtkEntryCompletion *completion,
+                                             GtkEntry           *entry);
+void     _gtk_entry_completion_disconnect   (GtkEntryCompletion *completion);
+
+gchar*   _gtk_entry_get_display_text       (GtkEntry *entry,
+                                            gint      start_pos,
+                                            gint      end_pos);
+void     _gtk_entry_get_borders            (GtkEntry  *entry,
+                                            GtkBorder *borders);
+GtkIMContext* _gtk_entry_get_im_context    (GtkEntry  *entry);
+void     _gtk_entry_set_is_cell_renderer   (GtkEntry  *entry,
+                                            gboolean   is_cell_renderer);
+
 
 G_END_DECLS