summaryrefslogtreecommitdiff
path: root/gtk/gtkentrycompletion.h
Commit message (Collapse)AuthorAgeFilesLines
* gtkentrycompletion: Do not use GET_PRIV() macro all the timeJavier Jardón2010-07-131-1/+1
| | | | Also, unseal private pointer
* Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDESMichael Natterer2010-05-031-1/+1
| | | | ...and disallow inclusion of individual files unconditionally.
* gtk/gtkaction.h gtk/gtkbuildable.h gtk/gtkbuilderprivate.hMichael Natterer2008-06-231-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-23 Michael Natterer <mitch@imendio.com> * gtk/gtkaction.h * gtk/gtkbuildable.h * gtk/gtkbuilderprivate.h * gtk/gtkcelllayout.h * gtk/gtkentrycompletion.h * gtk/gtkfilechoosersettings.h * gtk/gtkfilesystem.h * gtk/gtkfilesystemmodel.h * gtk/gtkicontheme.h * gtk/gtklinkbutton.h * gtk/gtkpagesetup.h * gtk/gtkpapersize.h * gtk/gtkprintcontext.h * gtk/gtkprintoperation.h * gtk/gtkprintoperationpreview.h * gtk/gtkprintsettings.h * gtk/gtkrecentchooserprivate.h * gtk/gtkrecentmanager.h * gtk/gtksearchengine.h * gtk/gtktexttag.h * gtk/gtktreeselection.h * gtk/gtktreeviewcolumn.h * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and <glib-object.h>. There is no point in relying on them being pulled in by other headers in some places and placing them explicitly in other places, so choose the "as little includes as possible" approach and get rid of them. svn path=/trunk/; revision=20675
* Seal private member.Tim Janik2008-06-201-1/+1
| | | | | | * gtk/gtkentrycompletion.h: Seal private member. svn path=/trunk/; revision=20506
* whitespace cleanup: remove trailing whitespace and excess newlines andMichael Natterer2008-05-281-1/+1
| | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and excess newlines and sprinkled some newlines where needed. Zero code or formatting changes included. svn path=/trunk/; revision=20225
* define __GTK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
* Rember the user input that triggered the completion, add API to theXan Lopez2007-04-281-2/+1
| | | | | | | | | | | | | | * gtk/gtkentry.c: * gtk/gtkentrycompletion.c: * gtk/gtkentrycompletion.h: * gtk/gtkentryprivate.h: Rember the user input that triggered the completion, add API to the retrieve it and reset the entry contents to it if the user cancels the tentative completion during the inline-selection. svn path=/trunk/; revision=17666
* Support inline-selection in entries (#318459)Xan Lopez2007-04-271-2/+8
| | | | | | | | | | | | | | | | | | Support inline-selection in entries (#318459) * gtk/gtkentry.c: * gtk/gtkentrycompletion.c: * gtk/gtkentrycompletion.h: * gtk/gtkentryprivate.h: When enabled cursor-match is emited when the cursor is on a possible completion on the list. The default implementation will replace the contents on the entry with the contents of the text column in the completion model. Review and improvements by Matthias Clasen. svn path=/trunk/; revision=17660
* Add declarations for gtk_entry_completion_{get,set}_popup_single_match.Manish Singh2005-05-261-3/+6
| | | | | | | Thu May 26 16:43:27 2005 Manish Singh <yosh@gimp.org> * gtk/gtkentrycompletion.h: Add declarations for gtk_entry_completion_{get,set}_popup_single_match.
* Allow completion popups to be wider than the entry. (#131916, Ross Burton)Matthias Clasen2005-04-041-0/+4
| | | | | | | | | | | | | | | 2005-04-04 Matthias Clasen <mclasen@redhat.com> Allow completion popups to be wider than the entry. (#131916, Ross Burton) * gtk/gtkentrycompletion.[hc]: Add a boolean popup-set-width property. * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): Don't force the popup to have the same width as the entry if popup-set-width is FALSE. * gtk/gtk.symbols: Add new functions.
* Require glib 2.6.0 for g_filename_display_basename.Matthias Clasen2004-12-161-1/+1
| | | | | | | | | | | | 2004-12-15 Matthias Clasen <mclasen@redhat.com> * configure.in: Require glib 2.6.0 for g_filename_display_basename. * gtk/gtkentrycompletion.[hc]: Make the prefix parameter to the insert-prefix signal a const gchar* instead of a gchar*. (#161415, Murray Cumming) Also remove an unused static function.
* Mark as const.Matthias Clasen2004-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkuimanager.h (gtk_ui_manager_get_type): * gtk/gtktreeview.h (gtk_tree_view_get_type): * gtk/gtktreeviewcolumn.h (gtk_tree_view_column_get_type): * gtk/gtktreestore.h (gtk_tree_store_get_type): * gtk/gtktreeselection.h (gtk_tree_selection_get_type): * gtk/gtktreemodelfilter.h (gtk_tree_model_filter_get_type): * gtk/gtktreemodel.h (gtk_tree_iter_get_type): (gtk_tree_path_get_type): (gtk_tree_row_reference_get_type): * gtk/gtktoolitem.h (gtk_tool_item_get_type): * gtk/gtktoolbutton.h (gtk_tool_button_get_type): * gtk/gtktoggleaction.h (gtk_toggle_action_get_type): * gtk/gtkthemes.h (gtk_theme_engine_get_type): * gtk/gtktextiter.h (gtk_text_iter_get_type): * gtk/gtksettings.h (gtk_settings_get_type): * gtk/gtkselection.h (gtk_selection_data_get_type): * gtk/gtkradioaction.h (gtk_radio_action_get_type): * gtk/gtkmenutoolbutton.h (gtk_menu_tool_button_get_type): * gtk/gtkliststore.h (gtk_list_store_get_type): * gtk/gtkiconview.h (gtk_icon_view_get_type): * gtk/gtkicontheme.h (gtk_icon_info_get_type): * gtk/gtkiconfactory.h (gtk_icon_factory_get_type): (gtk_icon_set_get_type): (gtk_icon_source_get_type): * gtk/gtkfilesystemwin32.h (gtk_file_system_win32_get_type): * gtk/gtkfilesystemunix.h (gtk_file_system_unix_get_type): * gtk/gtkfilesystem.h (gtk_file_folder_get_type): (gtk_file_info_get_type, gtk_file_path_get_type): (gtk_file_system_get_type): * gtk/gtkfilefilter.h (gtk_file_filter_get_type): * gtk/gtkfilechooserwidget.h (gtk_file_chooser_widget_get_type): * gtk/gtkfilechooser.h (gtk_file_chooser_get_type): * gtk/gtkfilechooserdialog.h (gtk_file_chooser_dialog_get_type): * gtk/gtkexpander.h (gtk_expander_get_type): * gtk/gtkentrycompletion.h (gtk_entry_completion_get_type): * gtk/gtkcombobox.h (gtk_combo_box_get_type): * gtk/gtkcomboboxentry.h (gtk_combo_box_entry_get_type): * gtk/gtkclipboard.h (gtk_clipboard_get_type): * gtk/gtkcellview.h (gtk_cell_view_get_type): * gtk/gtkcellrenderertoggle.h (gtk_cell_renderer_toggle_get_type): * gtk/gtkcellrenderertext.h (gtk_cell_renderer_text_get_type): * gtk/gtkcellrendererprogress.h (gtk_cell_renderer_progress_get_type): * gtk/gtkcellrendererpixbuf.h (gtk_cell_renderer_pixbuf_get_type): * gtk/gtkcellrenderercombo.h (gtk_cell_renderer_combo_get_type): * gtk/gtkcelllayout.h (gtk_cell_layout_get_type): * gtk/gtkactiongroup.h (gtk_action_group_get_type): * gtk/gtkaction.h (gtk_action_get_type): * gtk/gtkaccessible.h (gtk_accessible_get_type): * gtk/gtkaccelmap.h (gtk_accel_map_get_type): * gtk/gtkaccelgroup.h (gtk_accel_group_get_type): * gtk/gtkmessagedialog.h (gtk_message_dialog_get_type): Mark as const. * gtk/gtkicontheme.h: Don't mark gtk_icon_theme_error_quark() as const, to be consistent with all the other error_quark functions. (technically they are const, but since these are called only in error paths, giving the compiler better optimization opportunities doesn't matter much) * gtk/gtk.symbols: * gdk/gdk.symbols: Add attribute annotations. * gtk/makegtkalias.pl: * gdk/makegdkalias.pl: Keep attribute annotations, but strip PRIVATE. * gtk/Makefile.am (gtk.def): * gdk/Makefile.am (gdk.def): Strip attribute annotations, but keep PRIVATE.
* Support inline autocompletion in entries (#135953)Matthias Clasen2004-07-191-1/+10
| | | | | | | | | | | | | | | | | | 2004-07-19 Matthias Clasen <mclasen@redhat.com> Support inline autocompletion in entries (#135953) * gtk/gtkentryprivate.h: * gtk/gtkentrycompletion.h: * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): Add a new signal ::insert-prefix which can be used to override the default inline-completion behaviour. Add two new boolean properties, :popup_completion and :inline_completion which determine how the possible completions should be presented. (gtk_entry_completion_insert_prefix): New function to request a prefix insertion. * gtk/gtkentry.c: Add the necessary glue for inline completion.
* Rename function parameters from index to index_ to prevent clash with BSDMatthias Clasen2004-06-021-4/+4
| | | | | | | | | | | | Tue Jun 1 23:14:46 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktoolbar.h: * gtk/gtktoolbar.c: * gtk/gtkentrycompletion.h: * gtk/gtkentrycompletion.c: * gtk/gtkcombobox.h: * gtk/gtkcombobox.c: Rename function parameters from index to index_ to prevent clash with BSD index(). (#143001)
* Make GtkEntryCompletion::text_column a property.Matthias Clasen2004-05-271-0/+1
|
* Check if the completion is the same one as the old one.Anders Carlsson2004-01-231-1/+0
| | | | | | | | | | | | 2004-01-23 Anders Carlsson <andersca@gnome.org> * gtk/gtkentry.c: (gtk_entry_set_completion): Check if the completion is the same one as the old one. * gtk/gtkentrycompletion.c: * gtk/gtkentrycompletion.h: Move GET_PRIVATE macro into .c file, fix a trivial spelling error.
* Fix parameter name mismatches which confuse gtk-doc.Matthias Clasen2003-11-151-1/+1
| | | | | | | | | | | | | | | | | | Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkfilechooser.[hc]: * gtk/gtkentrycompletion.h: Fix parameter name mismatches which confuse gtk-doc. Sun Nov 16 00:41:48 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtk-sections.txt: Remove gtk_tool_item_[sg]et_pack_end. Sun Nov 16 00:32:18 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtk-sections.txt: Move GtkFileChooser out of the private section, in order to get the autogenerated docs on hierarchy, signals, properties, etc.
* add padding to the class structure. ditto. ditto.Kristian Rietveld2003-10-151-0/+6
| | | | | | | | Wed Oct 15 22:31:09 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.h: add padding to the class structure. * gtk/gtkcomboboxentry.h: ditto. * gtk/gtkentrycompletion.h: ditto.
* the gchar* parameters should be const (pointed out by both Marco PesentiKristian Rietveld2003-10-111-2/+2
| | | | | | | | | | Sat Oct 11 15:47:03 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action), (gtk_entry_completion_insert_action_text), (gtk_entry_completion_insert_action_markup): the gchar* parameters should be const (pointed out by both Marco Pesenti Gritti and Murray Cumming (#124356).
* Landing GtkTreeModelFilter and the completion code. (Test program andKristian Rietveld2003-07-111-0/+103
Fri Jul 11 14:32:43 2003 Kristian Rietveld <kris@gtk.org> Landing GtkTreeModelFilter and the completion code. (Test program and documentation will follow next week). * gtk/gtkcellayout.[ch], gtk/gtkentrycompletion.[ch], gtk/gtktreemodelfilter.[ch], gtk/gtkentryprivate.h: new files. * gtkentry.[ch]: added gtk_entry_{get,set}_completion, wrote necessary code to hook up completion. * gtktreeviewcolumn.c: made GtkTreeViewColumn implement the new GtkCellLayout interface. * gtkmarshalers.list: added BOOLEAN:OBJECT,BOXED. * gtk/gtk.h, gtk/Makefile.am, po/POTFILES.in: all updated for the new source files.