1. 08 Jun, 2016 1 commit
  2. 29 Feb, 2016 1 commit
  3. 25 Nov, 2014 1 commit
  4. 05 Apr, 2014 1 commit
  5. 05 May, 2013 1 commit
  6. 28 Dec, 2012 1 commit
  7. 03 Mar, 2012 1 commit
  8. 01 Mar, 2012 1 commit
    • Michael Natterer's avatar
      gtk: Implement smooth scrolling in scrolledwindow/range · 2a72e7b7
      Michael Natterer authored
      If delta_x/y information is provided in scroll events, use it
      to modify the underlying adjustment in steps proportional to
      the deltas provided.
      
      If the child widget of a scrolledwindow doesn't set
      GDK_SMOOTH_SCROLL_MASK, regular scroll events will be dispatched,
      and still handled by these 2 widgets.
      2a72e7b7
  9. 27 Feb, 2012 1 commit
  10. 14 Dec, 2011 1 commit
  11. 15 Jan, 2011 1 commit
  12. 05 Jan, 2011 1 commit
  13. 19 Oct, 2010 1 commit
  14. 27 Aug, 2010 1 commit
  15. 23 Aug, 2010 3 commits
  16. 13 Aug, 2010 1 commit
  17. 02 May, 2010 1 commit
  18. 04 Apr, 2010 1 commit
  19. 22 Jan, 2010 1 commit
  20. 27 Aug, 2009 1 commit
  21. 20 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      Bug 565656 – Add marks to scales · 26490a2d
      Matthias Clasen authored
      
              Bug 565656 – Add marks to scales
      
              * gtk/gtkrange.[hc]: Add internal api to define 'stop values'
              that have a little resistance when dragging the slider over it.
      
              * gtk/gtk.symbols:
              * gtk/gtkscale.[hc] (gtk_scale_add_mark): New function to add
              a 'mark' to a scale, which will draws a tick, plus optionally
              some text, and makes the value a stop value.
              (gtk_scale_clear_values): Removes all marks.
      
              * tests/testscale.c: Test for marks on scales
              * tests/Makefile.am: Integrate it
      
      
      svn path=/trunk/; revision=22149
      26490a2d
  22. 11 Nov, 2008 1 commit
    • Michael Natterer's avatar
      Bug 553765 – Add orientation API to GtkRange · 0498dca8
      Michael Natterer authored
      2008-11-11  Michael Natterer  <mitch@imendio.com>
      
      	Bug 553765 – Add orientation API to GtkRange
      
      	* gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
      	evil code that makes sure that the stepper_detail and slider_detail
      	set in GtkRangeClass continue to work with the hacked subclasses
      	below.
      
      	* gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
      	and add gtk_scale_new() and gtk_scale_new_with_range() which take
      	a GtkOrientation argument. Set slider_detail to "Xscale" so above
      	evil code works.
      
      	* gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
      	GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
      	above evil code works.
      
      	* gtk/gtkhscale.c
      	* gtk/gtkvscale.c
      	* gtk/gtkhscrollbar.c
      	* gtk/gtkvscrollbar.c: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: changed accordingly.
      
      
      svn path=/trunk/; revision=21779
      0498dca8
  23. 30 Oct, 2008 1 commit
  24. 01 Jul, 2008 1 commit
  25. 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
      fce9c8b7
  26. 20 Jun, 2008 3 commits
    • Michael Natterer's avatar
      gtk/gtkaccellabel.h gtk/gtkactiongroup.h gtk/gtkalignment.h gtk/gtkarrow.h · f87182ac
      Michael Natterer authored
      2008-06-20  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkaccellabel.h
      	* gtk/gtkactiongroup.h
      	* gtk/gtkalignment.h
      	* gtk/gtkarrow.h
      	* gtk/gtkaspectframe.h
      	* gtk/gtkbin.h
      	* gtk/gtkhandlebox.h
      	* gtk/gtkprogressbar.h
      	* gtk/gtkrange.h
      	* gtk/gtkscale.h
      	* gtk/gtkscalebutton.h
      	* gtk/gtkselection.h: fix some formatting and spacing uglyness
      	that got merged from the GSEAL branch.
      
      
      svn path=/trunk/; revision=20643
      f87182ac
    • Tim Janik's avatar
      Switch to "guint GSEAL (foo) : width;" when packing fields in guints. · cd19149a
      Tim Janik authored
      * gtk/gtkbox.h:
      * gtk/gtkbutton.h:
      * gtk/gtkcellrenderer.h:
      * gtk/gtkcellrenderertext.h:
      * gtk/gtkcheckmenuitem.h:
      * gtk/gtkcontainer.h:
      * gtk/gtkentry.h:
      * gtk/gtkhandlebox.h:
      * gtk/gtkimcontextsimple.h:
      * gtk/gtklabel.h:
      * gtk/gtkliststore.h:
      * gtk/gtkmenu.h:
      * gtk/gtkmenuitem.h:
      * gtk/gtkmenushell.h:
      * gtk/gtknotebook.h:
      * gtk/gtkpaned.h:
      * gtk/gtkplug.h:
      * gtk/gtkprintjob.h:
      * gtk/gtkprogressbar.h:
      * gtk/gtkrange.h:
      * gtk/gtkscale.h:
      * gtk/gtkscrolledwindow.h:
      * gtk/gtksizegroup.h:
      * gtk/gtksocket.h:
      * gtk/gtkspinbutton.h:
      * gtk/gtkstatusbar.h:
      * gtk/gtktable.h:
      * gtk/gtktearoffmenuitem.h:
      * gtk/gtktextbuffer.h:
      * gtk/gtktextview.h:
      * gtk/gtktogglebutton.h:
      * gtk/gtktoolbar.h:
      * gtk/gtktreestore.h:
      * gtk/gtktreeviewcolumn.h:
      * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
      
      svn path=/trunk/; revision=20621
      cd19149a
    • Tim Janik's avatar
      Seal GtkRange · 50cd12d3
      Tim Janik authored
      svn path=/trunk/; revision=20612
      50cd12d3
  27. 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
      2c5f8a5c
    • 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
      	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
      eff99c28
  28. 15 Nov, 2006 1 commit
    • Michael Natterer's avatar
      added properties "fill-level", "show-fill-level" and · eeff106d
      Michael Natterer authored
      2006-11-15  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkrange.[ch]: added properties "fill-level",
      	"show-fill-level" and "restrict-to-fill-level" and getters/setters
      	for them. The "fill level" is an additional marker on the range's
      	trough than can be e.g. used to indicate the amount of
      	pre-buffering in a range showing the play position of streamed
      	media. See the embedded API docs for details. Made GtkRangeLayout
      	a GTypeInstance private struct and removed finalize()
      	implementation. Fixes bug #349808
      
      	* gtk/gtk.symbols: added the new symbols.
      eeff106d
  29. 11 Nov, 2005 1 commit
    • Michael Natterer's avatar
      Added per-stepper API for GtkRange's stepper sensitivity as discussed in · fc7c8bbe
      Michael Natterer authored
      2005-11-11  Michael Natterer  <mitch@imendio.com>
      
      	Added per-stepper API for GtkRange's stepper sensitivity as
      	discussed in bug #321056:
      
      	* gtk/gtkenums.h: added GtkSensitivityType which can be
      	{ AUTO, ON, OFF }.
      
      	* gtk/gtkrange.[ch]: added properties "lower-stepper-sensitivity"
      	and "upper-stepper-sensitivity" and public getters/setters for
      	them. Changed stepper drawing to honor the new properties.
      
      	* gtk/gtk.symbols: added the new symbols.
      fc7c8bbe
  30. 21 Jun, 2005 1 commit
  31. 27 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Provide information about how an adjustment change in a range widget · 01bc5631
      Matthias Clasen authored
      Thu Aug 26 22:44:12 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Provide information about how an adjustment change in a range
      	widget happened. Add a "slider-moved" signal which reports how
      	a user is interacting with the range, whether they are clicking
      	on a stepper or the trough, or dragging the slider.  (#133263,
      	Thomas Fitzsimmons)
      
      	* gtk/gtkmarshalers.list: Add signal type BOOLEAN:ENUM,DOUBLE.
      	* gtk/gtkrange.c (gtk_range_class_init): Add "change-value"
      	signal.
      	(gtk_range_internal_set_value): Rename to
      	gtk_range_real_change_value.  Add GtkScrollType parameter.  Emit
      	the change-value signal when the range's value changes.
      	(update_slider_position, gtk_range_scroll_event, step_back,
      	step_forward, page_back, page_forward, scroll_begin,
      	scroll_end): Change gtk_range_internal_set_value to
      	gtk_range_real_change_value.
      	* gtk/gtkrange.h (struct _GtkRangeClass): Declare change_value
      	function.
      01bc5631
  32. 29 Feb, 2004 1 commit
    • Soeren Sandmann's avatar
      New internal function returning a good step value for the mouse wheel. For · 41dfb5ec
      Soeren Sandmann authored
      Sun Feb 29 19:04:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkrange.c (_gtk_range_get_wheel_delta): New internal
      	function returning a good step value for the mouse wheel. For
      	scrollbars, base the step on page_size^(2/3), for other ranges,
      	use 2 * step_increment.
      
      	* gtk/gtkrange.c (gtk_range_scroll_event): Use it here ...
      
      	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event):
      	... and here.
      
      	* gtk/gtkmenu.c (gtk_menu_leave_notify): Fix a warning.
      41dfb5ec
  33. 08 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml · b1165617
      Soeren Sandmann authored
      Fri Nov  8 20:14:52 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gdk/tmpl/dnd.sgml
      	docs/reference/gdk/tmpl/drawing.sgml
      	docs/reference/gdk/tmpl/gdk-unused.sgml
      	docs/reference/gdk/tmpl/gdkdisplay.sgml
      	docs/reference/gdk/tmpl/general.sgml
      	docs/reference/gdk/tmpl/input_devices.sgml
      	docs/reference/gdk/tmpl/selections.sgml
      	docs/reference/gtk/tmpl/gtkcellrenderer.sgml
      	docs/reference/gtk/tmpl/gtkcurve.sgml
      	docs/reference/gtk/tmpl/gtkdnd.sgml
      	docs/reference/gtk/tmpl/gtkitemfactory.sgml
      	docs/reference/gtk/tmpl/gtkmenu.sgml
      	docs/reference/gtk/tmpl/gtkoldeditable.sgml
      	docs/reference/gtk/tmpl/gtkoptionmenu.sgml
      	docs/reference/gtk/tmpl/gtkpreview.sgml
      	docs/reference/gtk/tmpl/gtkselection.sgml
      	docs/reference/gtk/tmpl/gtksocket.sgml
      	docs/reference/gtk/tmpl/gtkstyle.sgml
      	docs/reference/gtk/tmpl/gtktextbuffer.sgml
      	docs/reference/gtk/tmpl/gtktreemodel.sgml
      	docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c
      	gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h
      	gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c
      	gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h
      	gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h
      	gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h
      	gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h
      	gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h
      	gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h
      	gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c
      	gtk/gtktreemodel.h gtk/gtkwidget.h
      
      	Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow
      	without warnings. (#91680)
      b1165617
  34. 04 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 85d726f9
      Manish Singh authored
      Fri Oct  4 00:57:53 2002  Manish Singh  <yosh@gimp.org>
      
              * gtkhscrollbar.[ch] gtkhseparator.[ch] gtkrange.[ch]
              gtkscrollbar.[ch] gtkseparator.[ch] gtkseparatormenuitem.h
              gtkvscrollbar.[ch] gtkvseparator.[ch]: Deprecation cleanup
      85d726f9
  35. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c