Matthias Clasen
7e9ca5b41d
Deprecate GtkEntryCompletion
...
We want to drop cell renderers and tree models
in GTK 5. The functionality of GtkEntryCompletion
may be replaced by a new widget in GTK 5.
2022-10-03 23:23:56 -04:00
Benjamin Otte
d375dce9f5
Replace "gchar" with "char"
2020-07-25 00:47:36 +02:00
Benjamin Otte
d7266b25ba
Replace "gint" with "int"
2020-07-25 00:47:36 +02:00
Matthias Clasen
67a7ad069f
entrycompletion: Drop action support
...
This api has not really been kept up with current
user experiences in popups, and we're better off
just dropping it and letting people do their own
popups if they need custom UI.
2020-06-22 14:43:36 -04:00
Matthias Clasen
2a24b8c653
Replace most remaining uses of container api
...
These are all on GtkBox or enumerating children.
2020-05-11 22:38:21 -04:00
Alexander Mikhaylenko
466e8a70e5
tests: Add missing margin for testentrycompletion
2020-05-11 03:47:39 +05:00
Matthias Clasen
f59f355190
Use gtk_window_set_child throughout
...
Replace all uses of gtk_container_add on windows
by gtk_window_set_child.
2020-05-04 22:53:08 -04:00
Timm Bäder
d1cd6aacba
tests: Add common_cflags to build
...
And fix all the errors and warnings resulting from that
See #2491
2020-03-06 18:21:58 +01:00
Benjamin Otte
a278edab22
window: Remove type argument from gtk_window_new()
2020-02-14 21:18:49 +01:00
Matthias Clasen
a6c5466900
Stop using gtk_main and gtk_main_quit
...
Replace these calls with direct use of GMainContext api.
2020-02-09 23:12:32 -05:00
Matthias Clasen
9e0c471b03
entry, spin button: Drop redundant API
...
Avoid duplicating GtkEditable APIs. Port existing users.
2019-02-28 16:34:00 -05:00
Timm Bäder
bd71e744d2
Stop using gtk_box_pack_end
...
It might soon go away!
2019-01-23 19:30:46 -05:00
Daniel Boles
1e5c79ed47
testentrycompletion: Use the model we already got
...
cherry-pick of gtk-3-22 commit af350b20b1
2018-04-24 13:45:49 +01:00
Emmanuele Bassi
c655759cef
Replace gdk_threads_add_timeout* with g_timeout_add()
...
The main GDK thread lock is not portable and deprecated.
The only reason why gdk_threads_add_timeout() and
gdk_threads_add_timeout_full() exist is to allow invoking a callback
with the GDK lock held, in case 3rd party libraries still use the
deprecated gdk_threads_enter()/gdk_threads_leave() API.
Since we're removing the GDK lock, and we're releasing a new major API,
such code cannot exist any more; this means we can use the GLib API for
installing timeout callbacks.
https://bugzilla.gnome.org/show_bug.cgi?id=793124
2018-02-03 12:06:58 +01:00
Matthias Clasen
41e4c93443
Replace all remaining uses of delete-event
2018-01-16 14:14:09 -05:00
Matthias Clasen
072f06abf7
Fix fallout from g_object_ref change
...
g_object_ref now returns the type of the object that was
passed. Introduce cast as necessary to avoid warnings due
to this.
2017-12-08 17:48:47 -05:00
Timm Bäder
c92b7d4224
box: Remove fill child property
...
GtkWidget:halign and GtkWidget:valign are sufficient
2017-04-25 20:30:37 +02:00
Timm Bäder
5729ea7744
box: Remove expand child property
...
GtkWidget already has hexpand/vexpand properties.
2017-04-25 20:30:37 +02:00
Timm Bäder
ea897c6df4
Remove gtk_widget_show_all
2017-01-20 21:37:04 +01:00
Matthias Clasen
2c7e567f05
Update callers
...
Adapt all our tests and examples to the new initialization api.
2017-01-19 13:50:17 -05:00
Benjamin Otte
4df6ddad54
API: container: Remove gtk_container_set_border_width()
2016-10-16 18:18:58 +02:00
Timm Bäder
f45dadadd0
box: Remove 'padding' child property
2016-10-16 18:17:21 +02:00
Matthias Clasen
39ccbe6549
tests: Drop manual property editor
...
No need for this anymore, now that we have the inspector everywhere.
2014-05-22 08:32:48 -04:00
Javier Jardón
9d0febc9a6
Change FSF Address
2012-02-27 17:06:11 +00:00
Michael Natterer
260ccdfebe
gtk: remove "gboolean homogeneous" from gtk_box_new()
...
Because it's FALSE in virtually all use cases.
2010-11-02 12:04:35 +09:00
Javier Jardón
c15ef6405c
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 17:37:03 +09:00
Johan Dahlin
d97cdbdf53
Include "config.h" instead of <config.h> Command used: find -name
...
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
2008-06-22 14:28:52 +00:00
Matthias Clasen
721c3bc101
Replace a lot of idle and timeout calls by the new gdk_threads api.
...
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* *.c: Replace a lot of idle and timeout calls by
the new gdk_threads api.
2006-12-22 19:10:43 +00:00
Matthias Clasen
b8bc9a3ed3
Add property editors
2005-10-26 03:55:35 +00:00
Matthias Clasen
90196d7e5e
Add some strings containing multibyte characters.
...
2005-09-13 Matthias Clasen <mclasen@redhat.com>
* tests/testentrycompletion.c (create_simple_completion_model): Add
some strings containing multibyte characters.
* gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
Fix prefix insertion for multibyte characters. (#316095 ,
Tommi Komulainen)
2005-09-13 15:08:43 +00:00
Matthias Clasen
06e735a652
Add Copyright/License information.
2005-07-13 05:44:22 +00:00
Manish Singh
54b45a19b9
modules/engines/ms-windows/msw_rc_style.c
...
Fri Nov 19 15:18:51 2004 Manish Singh <yosh@gimp.org>
* modules/engines/ms-windows/msw_rc_style.c
* modules/engines/ms-windows/msw_style.c
* modules/engines/ms-windows/msw_theme_main.c
* modules/engines/pixbuf/pixbuf-main.c
* modules/engines/pixbuf/pixbuf-rc-style.c
* modules/input/gtkimcontextime.c
* modules/input/gtkimcontextxim.c
* modules/input/imam-et.c
* modules/input/imcedilla.c
* modules/input/imcyrillic-translit.c
* modules/input/iminuktitut.c
* modules/input/imipa.c
* modules/input/imthai-broken.c
* modules/input/imti-er.c
* modules/input/imti-et.c
* modules/input/imviqr.c
* tests/prop-editor.c
* tests/testentrycompletion.c
* tests/testfilechooser.c
* tests/testmerge.c
* tests/testtoolbar.c
* tests/testtreecolumns.c
* tests/testtreeview.c: get rid of unnecessary casts.
* tests/testgtk.c (create_labels): add GTK_LABEL() casts for
gtk_label_set_ellipsize() calls.
* tests/testicontheme.c (main): remove unused pixbuf variable.
2004-11-19 23:30:47 +00:00
Matthias Clasen
d9f91432c9
Don't try to remove stuff from an empty model. ( #156575 , Christian Persch)
...
2004-10-31 Matthias Clasen <mclasen@redhat.com>
* tests/testentrycompletion.c (animation_timer): Don't try to
remove stuff from an empty model. (#156575 , Christian Persch)
2004-10-31 18:26:49 +00:00
Matthias Clasen
d5f92150d4
Fix many sparse warnings.
2004-10-28 15:00:05 +00:00
Anders Carlsson
21ad6be6ad
Really handle a NULL model, fixes #137211 for real.
...
2004-10-25 Anders Carlsson <andersca@gnome.org>
* gtk/gtkentry.c: (gtk_entry_completion_timeout):
* gtk/gtkentrycompletion.c: (gtk_entry_completion_set_model),
(gtk_entry_completion_get_model), (gtk_entry_completion_complete):
Really handle a NULL model, fixes #137211 for real.
* gtk/gtkfilechooserentry.c:
(gtk_file_chooser_entry_maybe_update_directory):
Remove _clear, #137211 is fixed.
* tests/testentrycompletion.c: (main):
Add completion with an empty model.
2004-10-26 15:53:32 +00:00
Matthias Clasen
d5136747a4
Make the second example use the ::match-selected signal to make it
...
2004-05-10 Matthias Clasen <mclasen@redhat.com>
* tests/testentrycompletion.c: Make the second example use the
::match-selected signal to make it actually work.
2004-05-10 17:55:49 +00:00
Matthias Clasen
3f571c18e4
Add a missing cat. ( #141070 , Chris Sherlock)
...
2004-04-29 Matthias Clasen <mclasen@redhat.com>
* tests/testentrycompletion.c (main): Add a missing
cat. (#141070 , Chris Sherlock)
* gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
variable. (#141022 , Chris Sherlock)
* gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
cast. (#141013 , Chris Sherlock)
* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
unused variable. (#141011 , Chris Sherlock)
2004-04-29 14:12:20 +00:00
Christian Neumair
4c24377fc0
Fixed typo in entry completion test.
2004-03-08 00:43:31 +00:00
Matthias Clasen
bc830c8827
Test dynamic addition/removal.
...
Mon Mar 8 01:06:17 2004 Matthias Clasen <maclas@gmx.de>
* tests/testentrycompletion.c: Test dynamic addition/removal.
Sun Mar 7 22:38:49 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkframe.c (gtk_frame_paint): Use ythickness, not
xthickness in the calculation of vertical dimensions.
2004-03-08 00:08:11 +00:00
Federico Mena Quintero
80581c3011
Fixes #136082 and #135265 , patch by Morten Welinder.
...
2004-03-05 Federico Mena Quintero <federico@ximian.com>
Fixes #136082 and #135265 , patch by Morten Welinder.
* configure.in: Use AC_SYS_LARGEFILE.
* */*.c: #include <config.h>
2004-03-06 03:38:59 +00:00
Matthias Clasen
596cbff960
Add testentrycompletion.
...
Tue Mar 2 20:59:23 2004 Matthias Clasen <maclas@gmx.de>
* tests/Makefile.am: Add testentrycompletion.
* tests/testentrycompletion.c: New file to test some of the
more exotic GtkEntryCompletion features.
2004-03-02 19:59:20 +00:00