1. 20 Aug, 2012 1 commit
  2. 27 Feb, 2012 2 commits
  3. 10 Nov, 2011 1 commit
  4. 19 Jan, 2011 1 commit
    • Matthias Clasen's avatar
      Add gtk_text_view_get_cursor_locations · 2f724569
      Matthias Clasen authored
      In GTK 3.0 it's no longer possible to e.g. pop up something
      at a text view's cursor (this wasn't exactly possible before
      either without including gtktextlayout, but this is a quite
      special need anyway).
      2f724569
  5. 08 Nov, 2010 1 commit
  6. 06 Nov, 2010 1 commit
  7. 22 Oct, 2010 1 commit
    • Tadej Borovšak's avatar
      Add GtkScrollable interface · 55196a70
      Tadej Borovšak authored
      The GtkScrollable interface provides "hadjustment" and "vadjustment"
      properties that are used by GtkScrolledWindow. It replaces
      the ::set_scroll_adjustment signal. The scrollable interface
      also has ::min-display-width/height properties that can be
      used to control the minimally visible part inside a scrolled window.
      55196a70
  8. 20 Oct, 2010 1 commit
    • Michael Natterer's avatar
      gtk: clean up GtkWidget signals · c2f29f2c
      Michael Natterer authored
      - add slots for damage-event, move-focus and keynav-failed
      - reorder signals a bit so related stuff is grouped together
      - some indentation fixes in the GtkWidgetClass
      - remove the move-focus compat hack from GtkTextView
      - turn the move-focus compat hack in GtkWindow into properly
        implementing GtkWidget::move-focus()
      c2f29f2c
  9. 19 Oct, 2010 1 commit
  10. 28 Aug, 2010 1 commit
  11. 12 Jul, 2010 1 commit
  12. 05 May, 2010 2 commits
  13. 02 May, 2010 1 commit
  14. 27 Apr, 2010 1 commit
  15. 01 Jul, 2008 1 commit
  16. 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
  17. 20 Jun, 2008 2 commits
    • 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 GtkTextView. · 4c9b51f1
      Tim Janik authored
      svn path=/trunk/; revision=20616
      4c9b51f1
  18. 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
  19. 04 Jun, 2007 1 commit
    • Michael Natterer's avatar
      Move "move-focus" signals from several widgets to GtkWidget to enable more · e631aef8
      Michael Natterer authored
      2007-06-04  Michael Natterer  <mitch@imendio.com>
      
      	Move "move-focus" signals from several widgets to GtkWidget to
      	enable more flexible costomization of keyboard navigation via
      	bindings. Fixes bug #414947.
      
      	* gtk/gtkwidget.c: add "move-focus" binding signal, default to
      	calling the toplevel GtkWindow's "move-focus" vfunc.
      
      	* gtk/gtktextview.[ch]
      	* gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
      	code that makes sure that both emitting the signal on the widget
      	and overriding the virtual functions keeps working as before.
      
      	* gtk/gtktoolbar.c: remove "move-focus" signal here too and use
      	GtkWidget's signal. This change slightly changes keyboard
      	navigation in toolbars. I'll fix the behavior if somebody can
      	explain me if and how exactly the new behavior is broken.
      
      
      svn path=/trunk/; revision=18025
      e631aef8
  20. 18 May, 2005 1 commit
    • Anders Carlsson's avatar
      If the horizontal adjustment changes because of a change in the layout · 43af1f21
      Anders Carlsson authored
      2005-05-18  Anders Carlsson  <andersca@imendio.com>
      
      	* gtk/gtktextview.c: (gtk_text_view_flush_scroll),
      	(gtk_text_view_update_adjustments), (gtk_text_view_value_changed):
      	* gtk/gtktextview.h:
      	If the horizontal adjustment changes because of a change in the
      	layout width, then do a complete redraw. This is because there
      	might be right-aligned or centered text that needs to be redrawn.
      43af1f21
  21. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      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.
      cca8dd63
  22. 08 Dec, 2004 1 commit
    • Matthias Clasen's avatar
      Fix #111031, reported by Padraig O'Briain: · 057ab5a4
      Matthias Clasen authored
      2004-12-08  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #111031, reported by Padraig O'Briain:
      
      	* gtk/gtktextlayout.h:
      	* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_position):
      	Add a variant of gtk_text_layout_get_iter_at_pixel() which
      	returns the character at the position, not the closest
      	cursor position.
      
      	* gtk/gtktextview.h:
      	* gtk/gtktextview.c (gtk_text_view_get_iter_at_position):
      	Add a variant of gtk_text_view_get_iter_at_location() which
      	returns the character at the position, not the closest
      	cursor position.
      057ab5a4
  23. 02 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add a new binding signal ::backspace, bind it to the backspace key, and · 4134499c
      Matthias Clasen authored
      Mon Aug  2 01:30:03 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.[hc]:
      	* gtk/gtkentry.[hc]: Add a new binding signal ::backspace,
      	bind it to the backspace key, and make it pay attention
      	to the Pango backspace_deletes_character
      	attribute.  (#119891, Noah Levitt, patch by Theppitak
      	Karoonboonyanan)
      4134499c
  24. 27 Sep, 2003 1 commit
  25. 21 Sep, 2003 1 commit
  26. 09 Jun, 2003 1 commit
    • Matthias Clasen's avatar
      Install boolean property "overwrite". (gtk_text_view_[gs]et_property): · 056bd009
      Matthias Clasen authored
      2003-06-10  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
      	property "overwrite".
      	(gtk_text_view_[gs]et_property): Handle "overwrite".
      	* gtk/gtktextview.[hc] (gtk_text_view_[gs]et_overwrite): Getter
      	and setter for "overwrite" property.  (#110241, Jeroen Zwartepoorte)
      056bd009
  27. 05 Jun, 2003 1 commit
    • Owen Taylor's avatar
      Never scroll on focus in (#81893, Patch from Paolo Maggi) · 4d5b395f
      Owen Taylor authored
      Thu Jun  5 16:52:54 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextview.[ch]: Never scroll on focus in
              (#81893, Patch from Paolo Maggi)
      
              * gtk/gtktextview.c (gtk_text_view_scroll_[h]pages):
              Scroll to the current cursor location before handling
              the action, in case the user just tabbed in
              and the cursor is offscreen.
      4d5b395f
  28. 06 Jan, 2003 1 commit
    • Matthias Clasen's avatar
      Add a comment that the just_selected_element is unused. · f50f45bc
      Matthias Clasen authored
      2003-01-07  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.h (struct _GtkTextView): Add a comment that
      	the just_selected_element is unused.
      
      	* gtk/gtktextview.c (extend_selection): New helper function to
      	find the range that should be added to the selection.
      	(selection_motion_event_handler):
      	(gtk_text_view_start_selection_drag):
      	(gtk_text_view_end_selection_drag):
      	(selection_motion_event_handler):
      	(selection_scan_timeout): Support select-by-words/lines.
      	(gtk_text_view_button_press_event): Start a selection drag on
      	double/triple clicks.  (#78599)
      f50f45bc
  29. 10 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · ac770765
      Manish Singh authored
      Thu Oct 10 14:41:05 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktextbtree.c gtk/gtktextbuffer.c gtk/gtktextdisplay.c
              gtk/gtktextlayout.c gtk/gtktextmark.c gtk/gtktexttag.[ch]
              gtk/gtktexttagtable.c gtk/gtktextutil.c gtk/gtktextview.[ch]:
              Deprecation cleanup
      ac770765
  30. 03 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Centralize lookup and caching of cursor GC's here. · c848fbbc
      Owen Taylor authored
      Sun Mar  3 14:26:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkstyle.[ch] (_gtk_get_insertion_cursor_gc):
              Centralize lookup and caching of cursor GC's here.
      
              * gtk/gtkentry.[ch] gtk/gtktextview.[ch] gtk/gtktextdisplay.c
              gtk/gtklabel.c: Move to using _gtk_get_insertion_cursor_gc().
      
              * gtk/gtkentry.c (gtk_entry_expose): Draw cursors
              under the text, not over the text.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): add
              a secondary-cursor-color property.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): Decrease
              the default aspect ratio to 1/25 (0.04).
      
              * tests/testgtkrc (bell_duration): Comment out
              cursor color setting.
      c848fbbc
  31. 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
  32. 27 Jan, 2002 1 commit
    • Anders Carlsson's avatar
      add mouse_cursor_obscured. · 8290dc99
      Anders Carlsson authored
      2002-01-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktextview.h (struct _GtkTextView): add mouse_cursor_obscured.
      
      	* gtk/gtkentry.h (struct _GtkEntry): Add mouse_cursor_obscured.
      
      	* gtk/gtktextview.c (set_invisible_cursor): New function.
      	(gtk_text_view_obscure_mouse_cursor): Likewise.
      	(gtk_text_view_key_press_event): Call obscure_cursor if text
      	has been inserted.
      	(gtk_text_view_motion_event): Restore the mouse cursor.
      
      	* gtk/gtkentry.c (gtk_entry_realize): Add GDK_POINTER_MOTION_MASK.
      	(set_invisible_cursor): New function.
      	(gtk_entry_obscure_mouse_cursor): Likewise.
      	(gtk_entry_key_press): call obscure_cursor if text has been inserted.
      	(gtk_entry_motion_notify): Restore the mouse cursor.
      8290dc99
  33. 17 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      new function (which I then decided not to use but I think it's needed to · 9e404f2a
      Havoc Pennington authored
      2002-01-17  Havoc Pennington  <hp@redhat.com>
      	* gtk/gtktextlayout.c (_gtk_text_layout_get_line_xrange): new
      	function (which I then decided not to use but I think it's needed
      	to fix #68963
      	* gtk/gtktextview.c: add page_horizontally action signal and
      	implement Ctrl+PgUp, Ctrl+PgDown based on patch from Padraig,
      	hackily modified to avoid adding GTK_MOVEMENT_ API. Part of
      	#53934
      	* gtk/gtkmarshalers.list: add NONE:INT,BOOL
      9e404f2a
  34. 02 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      propagate exposes to no window children not in the buffer window. · 290e4efd
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_expose_event): propagate
      	exposes to no window children not in the buffer window.
      	(gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab
      	- is this the right way to do it?
      	(gtk_text_view_focus): add focus method, just chains up for now,
      	I'm not sure why the GtkContainer implementation doesn't work
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill
      	in the text line for the child anchor segment
      
      	* tests/testtext.c (do_add_focus_children): add another test
      	example (to put focusable buttons into the widget)
      290e4efd
  35. 05 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      remove g_assert_not_reached() that was bogus, since we demand-create the · 6b1407a3
      Havoc Pennington authored
      2001-12-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): remove
      	g_assert_not_reached() that was bogus, since we demand-create the
      	tag info. reported by Chris Phelps
      
              Jump through assorted hoops to fix bug from Chris Phelps where
      	removing tags from the table resulted in btree trying to
      	access tag->table
      
      	* gtk/gtktextbuffer.c: set up mechanics of adding/removing
      	ourselves to the tag table
      
      	* gtk/gtktexttagtable.c (_gtk_text_tag_table_add_buffer)
      	(_gtk_text_tag_table_remove_buffer): private cruft to
      	let us notify buffer of disappearing tags
      
      	* gtk/gtktexttag.h: remove BTreeNode typedef from this public
      	header, put it in tagprivate
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_new): don't connect to
      	tag_removed; it's emitted too late.
      	(_gtk_text_btree_notify_will_remove_tag): rename tag_remove_cb to
      	this
      
      	Padding for ABI-compat expansion
      
      	* gtk/gtktexttag.h (struct _GtkTextAttributes): pad this
      	(struct _GtkTextAppearance): one pad in here too
      
      	* gtk/gtktextlayout.h (struct _GtkTextLayoutClass): padding here
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): more padding,
      	since action signals etc. seem pretty likely
      
      	* gtk/gtktextbuffer.h (struct _GtkTextBufferClass): padding
      
      	* gtk/gtktexttag.h (struct _GtkTextTagClass): padding
      
      	* gtk/gtktexttagtable.h (struct _GtkTextTagTableClass): padding
      6b1407a3
  36. 14 Nov, 2001 1 commit
    • Havoc Pennington's avatar
      docs including reference to bugzilla bug about how we should have a better · 7fcf41b4
      Havoc Pennington authored
      2001-11-13  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_add_child_in_window): docs
      	including reference to bugzilla bug about how we should have
      	a better way of positioning children
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): add some padding
      
      	* gtk/gtktextview.c (gtk_text_view_size_allocate): assign zero
      	size to side rects if they don't exist, #63438
      7fcf41b4