summaryrefslogtreecommitdiff
path: root/gtk/gtkentrycompletion.c
Commit message (Collapse)AuthorAgeFilesLines
* Use the workarea when placing popupsMatthias Clasen2011-12-181-3/+1
| | | | | This uses the new workarea API to avoid placing popups underneath panels, docks, etc.
* entrycompletion: Export gtk_entry_completion_compute_prefix()Benjamin Otte2011-12-161-6/+21
| | | | I want to use it in the file chooser entry autocomplete code.
* gtk: move _gtk_modules_has_mixed_deps() to gtkmodlesprivate.hMichael Natterer2011-10-231-1/+1
| | | | and remove gtkmainprivate.h completely.
* Clean up unneeded includesMatthias Clasen2011-08-281-1/+1
|
* GtkEntryCompletion: add a sanity checkMatthias Clasen2011-05-311-0/+1
| | | | | Patch by John Lindgren, https://bugzilla.gnome.org/show_bug.cgi?id=650110
* Added documentation to "cell-area" construct-only properties.Tristan Van Berkom2011-02-241-0/+3
| | | | | Indicate what kind of area will be used by default if none is provided by the user.
* Clarify models vs callbacks in entry completion docsMatthias Clasen2011-01-311-0/+19
| | | | See https://bugzilla.gnome.org/show_bug.cgi?id=641073
* Bandaid fix for icon view subclassingMatthias Clasen2011-01-311-5/+19
| | | | | | | | | | | | I've decided that it is isn't feasible to make cell areas runtime-settable in the time we have left before 3.0, therefore, I'm going with the approach to allow init() functions to instantiate the default cell area and issue a warning if a construct property is ignored. This is not ideal, but it keeps existing icon view and combo box subclasses working. https://bugzilla.gnome.org/show_bug.cgi?id=639139
* Move GtkEntryCompletion docs inlineMatthias Clasen2011-01-041-265/+299
| | | | | Based on a patch by Garrett Regier https://bugzilla.gnome.org/show_bug.cgi?id=617322
* Move docs for gtkmain inlineMatthias Clasen2011-01-041-1/+1
| | | | | | | | At the same time, introduce a gtkmainprivate.h header and various other cleanups. Based on a patch by Tadej Borovšak. https://bugzilla.gnome.org/show_bug.cgi?id=617471
* Make GtkEntryCompletion use GtkStyleContextCarlos Garnacho2011-01-041-3/+8
|
* Added gtk_entry_completion_new_with_area()Tristan Van Berkom2010-12-131-0/+22
|
* Adding gtk_tree_view_column_new_with_area().Tristan Van Berkom2010-12-061-1/+1
| | | | | | Creates a treeviewcolumn using a specific GtkCellArea. This patch also makes GtkEntryCompletion use the new api instead of g_object_new().
* Fixing GtkTreeViewColumn to use the new ↵Tristan Van Berkom2010-12-041-2/+2
| | | | _gtk_cell_layout_buildable_custom_tag_end correctly.
* Added GtkEntryCompletion:cell-area construct property.Tristan Van Berkom2010-12-041-132/+121
| | | | | | | | | - Removed most of GtkCellLayout implementation in favor of ->get_area() - This allows GtkBuildable cell layout implementation to implement the child "cell-properties" - Also allows feeding a custom/different GtkCellArea implementation to layout cells. - Share the internal area with the created GtkTreeViewColumn.
* Fix entry completion window sizingMatthias Clasen2010-11-091-1/+3
| | | | | | | I don't think we are at the end of scrolledwindow tweaks yet, but this will make things work for now, as they used to. https://bugzilla.gnome.org/show_bug.cgi?id=633670
* gtk: remove "gboolean homogeneous" from gtk_box_new()Michael Natterer2010-11-021-2/+2
| | | | Because it's FALSE in virtually all use cases.
* Use gtk_box_new() instead gtk_[v|h]box_new()Javier Jardón2010-10-301-1/+1
|
* Make GtkEntry a no-window widgetMatthias Clasen2010-10-211-3/+7
| | | | | | | | Use input-only windows for capturing input, and just draw onto the parent window. This allows themes to make entries with rounded corners. Patch by Boram Park. https://bugzilla.gnome.org/show_bug.cgi?id=632736
* Move GtkSizeRequest into GtkWidgetBenjamin Otte2010-09-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't make sense to keep them separate as GtkSizeRequest requires a GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have one without the other. It also makes the code a lot easier because no casts are required when calling functions. Also, the names would translate to gtk_widget_get_width() and people agreed that this would be a too generic name, so a "preferred" was added to the names. So this patch moves the functions: gtk_size_request_get_request_mode() => gtk_widget_get_request_mode() gtk_size_request_get_width() => gtk_widget_get_preferred_width() gtk_size_request_get_height() => gtk_widget_get_preferred_height() gtk_size_request_get_size() => gtk_widget_get_preferred_size() gtk_size_request_get_width_for_height() => gtk_widget_get_preferred_width_for_height() gtk_size_request_get_height_for_width() => gtk_widget_get_preferred_height_for_width() ... and moves the corresponding vfuncs to the GtkWidgetClass. The patch also renames the implementations of the vfuncs in widgets to include the word "preferrred".
* Tons of transfer annotationsMatthias Clasen2010-09-211-3/+4
|
* Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()Javier Jardón2010-09-151-3/+8
| | | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598 Signed-off-by: Javier Jardón <jjardon@gnome.org> Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
* gtk/gtkentrycompletion.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-8/+12
|
* gtkentrycompletion: check return value because It can be non-UTF8Javier Jardón2010-07-191-7/+11
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624270
* Use accessor functions to access GtkScrolledWindowJavier Jardón2010-07-131-1/+2
|
* gtkentrycompletion: Do not use GET_PRIV() macro all the timeJavier Jardón2010-07-131-10/+12
| | | | Also, unseal private pointer
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Revert "Add length to gtk_tree_path_get_indices"Colin Walters2010-06-281-1/+1
| | | | | | This reverts commit eebb16eb1af11c5327dd06b23df82f7528566739. Was an accidental commit.
* Add length to gtk_tree_path_get_indicesColin Walters2010-06-281-1/+1
| | | | | | The old version wasn't introspectable as it didn't have a length return parameter. Also, delete gtk_tree_path_get_indices_with_depth, since it's no longer needed.
* Merge the xi2-for-master branchMatthias Clasen2010-05-251-11/+23
|
* Fix signal parameters in GtkEntryCompletionMatthias Clasen2010-05-211-23/+28
| | | | | | | The ::match-selected and ::cursor-on-match signal were emitted with the internal filter model instead of the user-provided model. Fixes bug #555087.
* Deprecate widget flag: GTK_WIDGET_MAPPEDJavier Jardón2010-03-031-7/+7
| | | | | | Use gtk_widget_get_mapped() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-03-011-2/+2
| | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_HAS_FOCUSJavier Jardón2010-03-011-1/+1
| | | | | | Use gtk_widget_has_focus() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* [introspection] Merge in Gtk-custom.c annotationsColin Walters2009-12-161-1/+1
| | | | | | | | The Gtk-custom.c file in gir-repository contained a number of introspection annotations. Merge those into the GTK source files. Some documentation was moved from the tmpl/ files to accomodate the addition of annotations.
* More instances of those deprecated functionsMatthias Clasen2009-06-161-1/+1
|
* Don't use deprecated api internallyMatthias Clasen2009-06-161-1/+1
|
* Don't unselect when resizingMatthias Clasen2009-06-051-3/+3
| | | | This was causing problems in Epiphany. Fixes bug 584805.
* Keep popups on the right screen. Pointed out by Morten WelinderMatthias Clasen2009-02-281-1/+3
| | | | | | | | | * gtk/gtkentrycompletion.c: * gtk/gtknotebook.c: Keep popups on the right screen. Pointed out by Morten Welinder svn path=/trunk/; revision=22423
* Don't assume actions and results have equal heightDiego Escalante Urrelo2009-01-151-2/+7
| | | | | | | | | | This causes negative size requisitions when results are more than one line tall. * gtk/gtkentrycompletion.c: change the formula used to calculate the size of the completion popup. svn path=/trunk/; revision=22120
* Bug 408154 – [PATCH] Change GtkEntryCompletion max-items to styleMatthias Clasen2008-09-171-6/+5
| | | | | | | | | | | | | | 2008-09-17 Matthias Clasen <mclasen@redhat.com> Bug 408154 – [PATCH] Change GtkEntryCompletion max-items to style property * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): Take actions into account when finding the available space for matches. Patch by Ross Burton svn path=/trunk/; revision=21413
* get rid of the deprecated aliases NONE and BOOL.Michael Natterer2008-08-131-1/+1
| | | | | | | | | | | | | | | | | | 2008-08-13 Michael Natterer <mitch@imendio.com> * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE and BOOL. * gtk/gtkdialog.c * gtk/gtkentrycompletion.c * gtk/gtkmenuitem.c * gtk/gtkoldeditable.c * gtk/gtkrange.c * gtk/gtktreeview.c * gtk/gtkwidget.c: changed accordingly. svn path=/trunk/; revision=21111
* gtk/gtkentry.c gtk/gtkentrycompletion.c gtk/gtkhandlebox.cSven Neumann2008-08-111-4/+4
| | | | | | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * gtk/gtkentry.c * gtk/gtkentrycompletion.c * gtk/gtkhandlebox.c * gtk/gtkiconview.c * gtk/gtkimcontext.c * gtk/gtkinputdialog.c * gtk/gtktreeview.c: use canonical signal names. svn path=/trunk/; revision=21067
* gtk/gtkaboutdialog.c gtk/gtkcellrendereraccel.c gtk/gtkcellrenderercombo.cSven Neumann2008-08-111-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * gtk/gtkaboutdialog.c * gtk/gtkcellrendereraccel.c * gtk/gtkcellrenderercombo.c * gtk/gtkcellrendererspin.c * gtk/gtkcellrenderertext.c * gtk/gtkclipboard.c * gtk/gtkcolorsel.c * gtk/gtkcombo.c * gtk/gtkcombobox.c * gtk/gtkdnd-quartz.c * gtk/gtkdnd.c * gtk/gtkentry.c * gtk/gtkentrycompletion.c * gtk/gtkfilechooserbutton.c * gtk/gtkfilechooserdefault.c * gtk/gtkfilechooserentry.c * gtk/gtkfontsel.c * gtk/gtkinputdialog.c * gtk/gtkmenutoolbutton.c * gtk/gtkpathbar.c * gtk/gtktooltip.c: use canonical signal names in g_signal_connect(). svn path=/trunk/; revision=21060
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* limit the number of displayed items by the actual screen height instead ofMichael Natterer2008-06-121-7/+12
| | | | | | | | | | | | 2008-06-12 Michael Natterer <mitch@imendio.com> * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): limit the number of displayed items by the actual screen height instead of some arbitrary value (Bug #408154, Xan Lopez and Christian Dywan). svn path=/trunk/; revision=20359
* Bug 536092 – GtkEntryCompletion's popup window should set type hintMatthias Clasen2008-06-031-0/+1
| | | | | | | | | * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set a type hint on the popup window to help compiz. Patch by Vaclav Slavik. svn path=/trunk/; revision=20294
* New function implements GtkCellLayoutClass::get_cells. (#523787)Matthew Barnes2008-03-221-0/+12
| | | | | | | | | | 2008-03-22 Matthew Barnes <mbarnes@redhat.com> * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells): New function implements GtkCellLayoutClass::get_cells. (#523787) svn path=/trunk/; revision=19923
* gtk/gtkcellview.c gtk/gtkcolorbutton.c gtk/gtkentrycompletion.cMichael Natterer2008-03-041-1/+0
| | | | | | | | | | | | | | | | | | | | | 2008-03-04 Michael Natterer <mitch@imendio.com> * gtk/gtkcellview.c * gtk/gtkcolorbutton.c * gtk/gtkentrycompletion.c * gtk/gtkfontbutton.c * gtk/gtkiconview.c * gtk/gtkobject.c * gtk/gtkpaned.c * gtk/gtkpreview.c: don't include "gtksignal.h". * gtk/gtkfilefilter.c * gtk/gtkrecentchoosermenu.c * gtk/gtkrecentfilter.c * gtk/gtktext.c: don't include "gtkobject.h". svn path=/trunk/; revision=19708
* gtk/gtkaction.c gtk/gtkassistant.c gtk/gtkbin.c gtk/gtkbox.cMichael Natterer2008-02-071-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-07 Michael Natterer <mitch@imendio.com> * gtk/gtkaction.c * gtk/gtkassistant.c * gtk/gtkbin.c * gtk/gtkbox.c * gtk/gtkcalendar.c * gtk/gtkcellrenderercombo.c * gtk/gtkcombobox.c * gtk/gtkcombo.c * gtk/gtkdrawingarea.c * gtk/gtkentrycompletion.c * gtk/gtkfixed.h * gtk/gtkgamma.c * gtk/gtkhpaned.c * gtk/gtkiconview.c * gtk/gtkitem.c * gtk/gtkitemfactory.c: remove g_return_if_fail() from private functions and virtual function implementations. svn path=/trunk/; revision=19491