* 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__
GtkTreeModelFilter *filter_model;
GtkListStore *actions;
gboolean first_sel_changed;
+ GtkCellArea *cell_area;
GtkEntryCompletionMatchFunc match_func;
gpointer match_data;
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 *grab_device;
+ GdkDevice *device;
};
gboolean _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion);
-void _gtk_entry_completion_popup (GtkEntryCompletion *completion,
- GdkDevice *device);
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);
+
-void _gtk_entry_get_borders (GtkEntry *entry,
- gint *xborder,
- gint *yborder);
-void _gtk_entry_effective_inner_border (GtkEntry *entry,
- GtkBorder *border);
-void _gtk_entry_reset_im_context (GtkEntry *entry);
G_END_DECLS
#endif /* __GTK_ENTRY_PRIVATE_H__ */