1. 13 Feb, 2010 1 commit
  2. 12 Feb, 2010 2 commits
  3. 09 Feb, 2010 1 commit
  4. 04 Feb, 2010 1 commit
  5. 18 Jan, 2010 1 commit
  6. 12 Jan, 2010 1 commit
  7. 11 Jan, 2010 1 commit
  8. 07 Jan, 2010 2 commits
  9. 04 Jan, 2010 1 commit
    • Christian Dywan's avatar
      Deprecate flag macros for toplevel, state, no window and composite child · bb1824c1
      Christian Dywan authored
      Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
      Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
      GTK_OBJECT_TYPE which have become redundant.
      Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
      is replaced with use of the "composite-child" property and uses of
      GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
      Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
      changed to direct flag usage.
      Documentation is updated to refer to gtk_widget_set_has_window and
      Gail and tests are updated as well.
      Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
  10. 28 Nov, 2009 1 commit
  11. 14 Oct, 2009 1 commit
  12. 04 Sep, 2009 1 commit
  13. 28 Aug, 2009 2 commits
  14. 13 Aug, 2009 1 commit
  15. 07 Aug, 2009 2 commits
  16. 30 Jul, 2009 1 commit
  17. 17 Jul, 2009 2 commits
  18. 14 Jul, 2009 2 commits
  19. 22 Jun, 2009 1 commit
    • Tristan Van Berkom's avatar
      Accelerators failed for submenus (GNOME bug 582025) · 515a0b61
      Tristan Van Berkom authored
      gtk/gtkmenuitem.c: Override custom_tag_finished() for "accelerator" and search
      the correct toplevel GtkWindow to attach accelerators to menu items.
      gtk/gtkwidget.[ch]: Added _gtk_widget_buildable_finish_accelerator() to allow
      subclasses to specify a toplevel window to associate with when parsing <accelerator>
  20. 02 Sep, 2008 1 commit
    • Michael Natterer's avatar
      removed this function because there is massive disagreement about how to · 839aeeaf
      Michael Natterer authored
      2008-09-02  Michael Natterer  <mitch@imendio.com>
      	* gtk/gtkwidget.c (gtk_widget_get_allocation): removed this
      	function because there is massive disagreement about how to
      	implement it. Needs some general discussion in the next
      	development cycle about how our C api should evolve.
      	* gtk/gtk.symbols: changed accordingly.
      svn path=/trunk/; revision=21259
  21. 29 Aug, 2008 1 commit
    • Michael Natterer's avatar
      move the gtk_widget_get_parent() and gtk_widget_get_parent_window() · 2faae9fd
      Michael Natterer authored
      2008-08-29  Michael Natterer  <mitch@imendio.com>
      	* gtk/gtkwidget.h: move the gtk_widget_get_parent() and
      	gtk_widget_get_parent_window() prototypes together with their
      	respective setters.
      	* gtk/gtkwidget.c: move gtk_widget_get_parent_window() together
      	with its setter.
      svn path=/trunk/; revision=21240
  22. 01 Aug, 2008 1 commit
    • Cody Russell's avatar
      Bug 56070 – Can't click button after setting it sensitive. · 4e3c97b3
      Cody Russell authored
      2008-07-31  Cody Russell  <bratsche@gnome.org>
              Bug 56070 – Can't click button after setting it sensitive.
              * gtk/gtkwidget.[ch] 
              * gtk/gtkwindow.c
              * gtk/gtkmain.c
              * gtk/gtkbutton.c
              * gtk/gtkprivate.h
              * gdk/gdkevents.h: Synthesize crossing events events where necessary.
              * gtk/tests/crossingevents.c: Add unit tests for crossing events.
              Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
              has worked on and helped out with this.
      svn path=/trunk/; revision=20924
  23. 01 Jul, 2008 1 commit
  24. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      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
  25. 20 Jun, 2008 3 commits
  26. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      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
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	* 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
      svn path=/trunk/; revision=20221
  27. 21 May, 2008 2 commits
    • 21:10:15  Tim Janik's avatar
      added GdkRectangle *clip_rect to gtk_widget_get_snapshot(). · b3d160ce
      21:10:15 Tim Janik authored
      2008-05-21 21:10:15  Tim Janik  <timj@imendio.com>
              * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
              * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
              return snapshot pixmap coordinates widget relative in *clip_rect.
              * tests/testgtk.c: fixed bogus NULL pointer unref.
      svn path=/trunk/; revision=20124
    • 10:49:20  Tim Janik's avatar
      Bug 318807 – Offscreen windows and window redirection. · 4111cf20
      10:49:20 Tim Janik authored
      2008-03-18 10:49:20  Tim Janik  <timj@imendio.com>
      	* Applied pixmap redirection patch by Alexander Larsson with
      	various updates from:
      	Bug 318807 – Offscreen windows and window redirection.
      	* updated docs to mention "Since 2.16".
      	* tests/testgtk.c: fixed snapshooting pixmap leak.
      	convert pixmap to pixbuf after snapshooting, to compensate for different
      	bit depths (occurs when snapshooting ARGB visuals and displaying the
      	pixmap in an RGB visual).
      	* gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
      	* gdk/gdkwindow.c: removed damage idle handler, there's no aparent
      	need for it. enqueue damage notification as GDK_DAMAGE events
      	for each painting redirection at the start of the event queue.
      	consider windows with a redirection fully visible when invalidating,
      	and when updating from backing store. cleaned up stale variables.
      	* gdk/gdkevents.c: added _gdk_event_queue_prepend().
      	* gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
      	gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
      	tree, drawingarea, text, handlebox, etc.
      	clip the redirected window hierarchy to window sizes, the visible
      	rectangles don't need to be taken into account here.
      	extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
      	in case pixmap visuals could mismatch.
      	* gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
      	Base patch:
      	* tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
      	of possibly obscured widgets into an offscreen pixmap.
      	* gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
      	gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
      	* gtk/gtkmain.c: dispatch GDK_DAMAGE events.
      	* gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
      	implementations here, adapted them to propagate redirects to child windows.
      	gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
      	clipped to visible region. queue GDK_DAMAGE event delivery.
      	gdk_window_redirect_to_drawable(): install window painting redirection.
      	gdk_window_remove_redirection(): remove previously installed redirection.
      	* gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
      	renamed _gdk_window_new() and _gdk_window_reparent().
      	* gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
      	gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
      	* gdk/gdkevents.h: added GDK_DAMAGE event type.
      	* gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
      	* gdk/gdkinternals.h: added internal prototypes.
      svn path=/trunk/; revision=20122
  28. 25 Apr, 2008 1 commit
  29. 25 Jan, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h · a362eecc
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@imendio.com>
      	* gtk/gtkbutton.h
      	* gtk/gtkcellrenderer.h
      	* gtk/gtkimcontext.h
      	* gtk/gtkstyle.h
      	* gtk/gtktoolbar.h
      	* gtk/gtktooltip.h
      	* gtk/gtktreeprivate.h
      	* gtk/gtktreeviewcolumn.h
      	* gtk/gtkwidget.h: add const to constant structs which are passed
      	into GTK+. Also add some forgotten const for const strings.
      	* gtk/gtkbutton.c
      	* gtk/gtkcellrenderer.c
      	* gtk/gtkimcontext.c
      	* gtk/gtkstyle.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktooltip.c
      	* gtk/gtktreeview.c
      	* gtk/gtktreeviewcolumn.c
      	* gtk/gtkwidget.c: changed accordingly.
      svn path=/trunk/; revision=19399
  30. 10 Jul, 2007 1 commit
    • Kristian Rietveld's avatar
      add getter/setter pair, slight addition to has-tooltip property · 15dee8e5
      Kristian Rietveld authored
      2007-07-10  Kristian Rietveld  <kris@imendio.com>
      	* gtk/gtk.symbols:
      	* gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
      	getter/setter pair, slight addition to has-tooltip property
      	(gtk_widget_real_set_has_tooltip): renamed internal function.
      svn path=/trunk/; revision=18439