summaryrefslogtreecommitdiff
path: root/gtk/gtkfixed.c
Commit message (Collapse)AuthorAgeFilesLines
* fixed: add a comment for gtk_style_context_set_background()Cosimo Cecchi2015-07-011-2/+28
| | | | | | | And wrap it with G_GNUC_IGNORE_DEPRECATIONS. Unfortunately we can't stop rendering the background altogether here. Also, gtk_style_context_set_background() should really be called every time the style is updated. Fix that.
* fixed: Fix drawing orderBenjamin Otte2014-02-281-0/+27
| | | | | | | | | Restore the drawing order in GtkFixed to what it was in 3.8. With the GDK drawing changes this will not be correct in some cases (un-windowed children can now overlap windowed children and native children overlap everything), but fixes Eclipse drawing. https://bugzilla.gnome.org/show_bug.cgi?id=725089
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-2/+2
|
* Revert "fixed: draw css background and borders"Matthias Clasen2014-02-031-19/+0
| | | | | | | | This reverts commit ba6128f8afc90bc32b45559f9c24964e78f6ff3d. This change breaks emacs drawing entirely. Since GtkFixed is somewhat of a legacy widget anyway, lets just not bother doing this modernization there, at least for now.
* Docs: Use markdown for listsMatthias Clasen2014-02-021-11/+6
| | | | This greatly reduces the amount of xml in the docs.
* fixed: draw css background and bordersPaolo Borelli2013-11-031-0/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=711324
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-4/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Add gtk_widget_(un)register_windowAlexander Larsson2013-02-071-1/+1
| | | | | | | | | | | | This replaces the previously hardcoded calls to gdk_window_set_user_data, and also lets us track which windows are a part of a widget. Old code should continue working as is, but new features that require the windows may not work perfectly. We need this for the transparent widget support to work, as we need to specially mark the windows of child widgets. https://bugzilla.gnome.org/show_bug.cgi?id=687842
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Fix another GtkFixed regression, in gtk_fixed_forall()Matthias Clasen2011-02-021-1/+3
| | | | | | | | | | b3f6f67c changed the loop from while() to for() in gtk_fixed_forall(), but that's wrong since the callback can have side-effects on the list, in case the current child gets removed. And that's the case when the widget is destroyed. Patch by Vincent Untz https://bugzilla.gnome.org/show_bug.cgi?id=641196
* Fix crash in gtk_fixed_remove()Vincent Untz2011-02-011-2/+0
| | | | | | | b3f6f67c changed the loop from while() to for(), but the line to move to the next child was kept, so we could go past the end of the list. https://bugzilla.gnome.org/show_bug.cgi?id=641176
* Move GtkFixed docs inlinePavel Holejsovsky2011-01-171-0/+74
| | | | Also remove incorrect documentation of opaque GtkFixed class struct.
* Make GtkFixed use GtkStyleContextCarlos Garnacho2011-01-041-2/+2
|
* Fix gtk_fixed_get_preferred_widthMatthias Clasen2010-10-301-2/+2
| | | | | When dealing with widths, use x, not y. Spotted by Ignacio Casal Quintero.
* Remove size_request from GtkFixedMatthias Clasen2010-10-301-159/+153
|
* Move GtkSizeRequest into GtkWidgetBenjamin Otte2010-09-261-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* gtk: Don't set colormap anymore when creating GDK windowsBenjamin Otte2010-09-261-2/+1
| | | | | Colormaps are about to be removed, so not using them sounds like an awesome idea.
* Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()Javier Jardón2010-09-151-1/+2
| | | | | | | 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>
* Use gtk_size_request_get_size() instead deprecated ↵Javier Jardón2010-09-131-1/+6
| | | | | | gtk_widget_get_child_requisition() Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629177
* Use GtkFooPrivate instead GtkFooPrivJavier Jardón2010-08-271-10/+10
|
* gtk/gtkfixed.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-17/+22
|
* gtkfixed: Move public members to private structureJavier Jardón2010-07-131-18/+35
|
* Use accessor functions to acces GtkContainerJavier Jardón2010-07-131-6/+8
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Remove gtk_fixed_get_has_window() and gtk_fixed_set_has_window()Javier Jardón2010-05-031-48/+0
|
* Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)Javier Jardón2010-03-061-1/+1
| | | | | | Use new API instead: gtk_widget_set_realized () https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_REALIZEDJavier Jardón2010-03-031-2/+2
| | | | | | Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-03-011-6/+9
| | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* No GTK_WIDGET_NO_WINDOW in GtkFixed and deprecate gtk_fixed_set_has_windowChristian Dywan2010-01-041-11/+12
|
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* 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
* fix typo in documentation.Xan Lopez2008-03-061-1/+1
| | | | | | | | 2008-03-06 Xan Lopez <xan@gnome.org> * gtk/gtkfixed.c: fix typo in documentation. svn path=/trunk/; revision=19722
* gtk/gtkaction.c gtk/gtkassistant.c gtk/gtkbin.c gtk/gtkbox.cMichael Natterer2008-02-071-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Boilerplate reductionMatthias Clasen2006-05-021-35/+2
|
* Intern some more strings.Matthias Clasen2005-09-011-1/+1
| | | | | | | | | 2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string().
* Intern type names in code generated by glib-mkenums, too.Matthias Clasen2005-08-311-1/+1
| | | | | | | | | | | | | 2005-08-31 Matthias Clasen <mclasen@redhat.com> * gdk/Makefile.am: * gtk/Makefile.am: Intern type names in code generated by glib-mkenums, too. * gtk/*.c: * gdk/x11/*.c: * gdk/*.c: Intern type names before registering the type to avoid unnecessary copies.
* Fix a typo, spotted by David Odin.Matthias Clasen2005-08-021-1/+1
| | | | | | | 2005-08-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfixed.c (gtk_fixed_put): Fix a typo, spotted by David Odin.
* Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITEMatthias Clasen2005-03-221-2/+3
| | | | | | | | | | | | 2005-03-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like their G_ counterparts, but also mark the name, nick and blurb as static. * gtk/*.c: Mark param spec strings as static, using the new macros.
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-1/+4
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* Forgotten file.Matthias Clasen2005-01-031-1/+4
|
* Add hidden aliases for exported symbols which are used internally in orderMatthias Clasen2004-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 9 12:48:04 2004 Matthias Clasen <maclas@gmx.de> Add hidden aliases for exported symbols which are used internally in order to get rid of many PLT entries. (#145519, Arjan van de Ven) * gtk/Makefile.am: Add rules to generate gtk.def and from gtk.symbols, and make make check check the abi with abicheck.sh. (gtk_private_h_sources): Add gtkinternals.h (gtk_built_private_headers): Add gtkalias.h (gtk_extra_sources): Add gtk.symbols (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh * gtk/gtk.symbols: New file. Definition of the GTK+ ABI. The file can be processed by cpp to filter out certain subsets of symbols. * gtk/abicheck.sh: New file. Script to check the actually symbols exported from libgtk-x11.2.0.so against the symbols found in gtk.symbols. * gtk/makegtkalias.pl: New file. Perl script to generate the header containing the alias definitions for internally used exported symbols from a list of symbols. * gtk/gtkinternals.h: New file. An uninstalled header listing symbols which must be exported for some reason and do not appear in any other header. * gtk/*.c: Include gtkalias.h
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-0/+1
| | | | | | | | | | 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>
* The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog andMatthias Clasen2004-01-161-4/+4
| | | | | | | | | | | | | | | | | | | | Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de> The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and po/ChangeLog): * gtk/gtkintl.h: * gdk-pixbuf/gdk-pixbuf-i18n.h: * gdk/gdkintl.h: Define P_() for property blurbs and nicks. * gdk/gdkdisplaymanager.c: * gdk-pixbuf/gdk-pixbuf.c: * modules/input/gtkimcontextxim.c: * gtk/*.c: Mark property blurbs and nicks with P_(). * po/Makefile.in.in: Add --keyword=P_ to the xgettext invocation, since property blurbs and nicks are now marked with P_().
* Fix numerous misspellings of possessive "its". (#110027, Doug Quale)Matthias Clasen2003-04-071-1/+1
|
* Deprecation cleanupManish Singh2002-10-101-20/+17
| | | | | | | | Wed Oct 9 17:40:13 2002 Manish Singh <yosh@gimp.org> * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch] gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup
* Remove excess calls to g_return_if_fail from static and virtual functions.Matthias Clasen2002-01-301-20/+1
|
* Typo fixes. (#65607)Matthias Clasen2001-11-281-2/+2
| | | | | | | | | | | | | | | | | | | | * gtk/gtkaccelmap.c: Typo fixes. (#65607) * gtk/gtkfixed.c (gtk_fixed_set_has_window, gtk_fixed_get_has_window): Fix docs. (#65505) * gtk/gtkwindow.c (gtk_window_set_mnemnonic_modifier): Document. * gtk/tmpl/gtkwindow.sgml: Document gtk_window_position. * gdk/tmpl/dnd.sgml: Document GdkDragProtocol and GdkDragContext. * gdk/tmpl/events.sgml: Document gdk_setting_get. * gdk/tmpl/fonts.sgml: Document gdk_font_full_name_get and gdk_font_full_name_free. * gdk/tmpl/windows.sgml: Document gdk_window_register_dnd.
* reflect Pango API changeHans Breuer2001-11-231-1/+1
| | | | | | | | | | | | | | | | | | | 2001-11-23 Hans Breuer <hans@breuer.org> * gdk/win32/gdkfont-win32.c (gdk_font_from_description) : reflect Pango API change * gtk/gtk.def : updated externals * gtk/gtkfixed.c (gtk_fixed_get_has_window) : use g_return_val_if_fail() to avoid 'function must return a value' * gtk/gtkrc.c : added spaces to fix small coding style issues * gtk/gtkwidget.c : ... and linebreaks. Also a static for 'static correctness' * gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket> because they only can be build on win32 after applying my patch