1. 27 May, 2008 1 commit
  2. 26 May, 2008 1 commit
  3. 23 May, 2008 1 commit
    • Hans Breuer's avatar
      updated fix c99ism (variable at start of block export functions for window · 0b57c6b9
      Hans Breuer authored
      2008-05-23  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc gtk/makefile.msc.in : updated
      	* gtk/gtkwidget.c : fix c99ism (variable at start of block
      	* gdk/gdk.symbols gtk/gtk.symbols : export functions for window 
      	redirection
      	* gtk/gtkfilechooserdefault.c : #include <locale.h> for 
      	setlocale(LC_ALL, ...)
      
      svn path=/trunk/; revision=20131
      0b57c6b9
  4. 21 May, 2008 3 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
      b3d160ce
    • 21:04:28  Tim Janik's avatar
      grow snapshot area from widget's allocation to cover extra widget windows · aa4ab3f0
      21:04:28 Tim Janik authored
      2008-05-21 21:04:28  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
              widget's allocation to cover extra widget windows placed outside the
              widget allocation (spinbutton arrows are the prime example for this).
      
      
      svn path=/trunk/; revision=20123
      aa4ab3f0
    • 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.
      
      
      	Updates:
      
      	* 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
      4111cf20
  5. 06 Apr, 2008 1 commit
  6. 12 Feb, 2008 1 commit
  7. 25 Jan, 2008 2 commits
    • Johan Dahlin's avatar
      Implement accessible support, fixes #454653. · fddc9b85
      Johan Dahlin authored
      2008-01-25  Johan Dahlin  <johan@gnome.org>
      
              * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
              (gtk_widget_buildable_get_internal_child), (free_action),
              (free_relation), (gtk_widget_buildable_parser_finished),
              (accessibility_start_element),
              (gtk_widget_buildable_custom_tag_start),
              (gtk_widget_buildable_custom_finished):
              Implement accessible support, fixes #454653.
      
              * gtk/gtk-builder-convert:
              Add support for migrating old glade files
              
              * tests/buildertest.c: (test_widget), (test_file):
              Add accessible tests and improve the test_file function to display
              toplevels and run dialogs.
      
      
      svn path=/trunk/; revision=19403
      fddc9b85
    • 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
      a362eecc
  8. 16 Jan, 2008 1 commit
  9. 06 Jan, 2008 1 commit
    • Johan Dahlin's avatar
      Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075 · 71e9be7e
      Johan Dahlin authored
      2008-01-06  Johan Dahlin  <johan@gnome.org>
      
      	* gtk/gtkcellrenderercombo.c:
      	(gtk_cell_renderer_combo_get_property),
      	(gtk_cell_renderer_combo_set_property):
      	* gtk/gtkcombobox.c: (gtk_combo_box_set_property):
      	* gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
      	* gtk/gtknotebook.c: (gtk_notebook_set_property):
      	* gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
      	* gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
      	(gtk_text_buffer_get_property):
      	* gtk/gtktextview.c: (gtk_text_view_set_property):
      	* gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
      	* gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
      	(gtk_tool_button_get_property):
      	* gtk/gtktoolitem.c: (gtk_tool_item_set_property),
      	(gtk_tool_item_get_property):
      	* gtk/gtktreeview.c: (gtk_tree_view_set_property):
      	* gtk/gtkwidget.c: (gtk_widget_set_property):
      	* gtk/gtkwindow.c: (gtk_window_set_property):
      	Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
      	Fixes #5075
      
      svn path=/trunk/; revision=19311
      71e9be7e
  10. 05 Jan, 2008 1 commit
    • Mathias Hasselmann's avatar
      Avoid some compiler warnings (#507000). · 26124bb1
      Mathias Hasselmann authored
      * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
      for value argument of _gtk_builder_flags_from_string.
      * gtk/gtkwidget.c: Don't alias the child pointer passed
      to gdk_window_get_user_data.
      
      svn path=/trunk/; revision=19306
      26124bb1
  11. 14 Dec, 2007 1 commit
    • Ray Strode's avatar
      Suggest g_signal_connect (..., "realize", ...) instead of · 8609315d
      Ray Strode authored
      2007-12-14  Ray Strode  <rstrode@redhat.com>
      
      	* gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
      	instead of g_signal_connect_after (..., "realize", ...) as an
      	alternative to gtk_widget_realize () (bug 503537).
      
      svn path=/trunk/; revision=19181
      8609315d
  12. 11 Dec, 2007 1 commit
  13. 25 Nov, 2007 1 commit
    • Matthias Clasen's avatar
      Require gtk-doc 1.8 · 4896e24b
      Matthias Clasen authored
      2007-11-25  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Require gtk-doc 1.8
      
              * */*.c: Use gtk-doc abbreviations for examples in docs.
      
      
      svn path=/trunk/; revision=19041
      4896e24b
  14. 06 Nov, 2007 1 commit
    • Michael Natterer's avatar
      fixed docs. · f93e2db2
      Michael Natterer authored
      2007-11-06  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkwidget.c (gtk_widget_keynav_failed): fixed docs.
      
      
      svn path=/trunk/; revision=18968
      f93e2db2
  15. 14 Aug, 2007 1 commit
    • Cody Russell's avatar
      gtk/gtkwidget.c gtk/gtkscrolledwindow.c Correct documentation that refers · 46bbf4eb
      Cody Russell authored
      2007-08-14  Cody Russell  <bratsche@gnome.org>
      
              * gtk/gtkwidget.c
              * gtk/gtkscrolledwindow.c
              * gtk/gtklabel.c: Correct documentation that refers to the
              deprecated gtk_widget_set_usize() API.  Refer instead to
              gtk_widget_set_size_request().  (#459340, Guillaume Cottenceau)
      
      
      svn path=/trunk/; revision=18613
      46bbf4eb
  16. 19 Jul, 2007 1 commit
    • Allison Karlitskaya's avatar
      add note that the semantics of this call, when mixed with the new · f0cfba93
      Allison Karlitskaya authored
      2007-07-20  Ryan Lortie  <desrt@desrt.ca>
      
              * gtk/gtkwidget.c (gtk_widget_is_composited): add note that the
              semantics of this call, when mixed with the new
              gdk_window_set_composited(), will change in the future.
      
              * gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage
              events that belong to us.
      
      
      svn path=/trunk/; revision=18506
      f0cfba93
  17. 16 Jul, 2007 1 commit
  18. 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
      	documentation,
      	(gtk_widget_real_set_has_tooltip): renamed internal function.
      
      
      svn path=/trunk/; revision=18439
      15dee8e5
  19. 09 Jul, 2007 1 commit
    • Kristian Rietveld's avatar
      Replace non-deprecated API using old tooltips API, deprecate old tooltips · c255676e
      Kristian Rietveld authored
      2007-07-09  Kristian Rietveld  <kris@imendio.com>
      
      	Replace non-deprecated API using old tooltips API, deprecate
      	old tooltips API for real. (#451575).
      
      	* gtk/gtk.symbols: updated.
      
      	* gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
      	_gtk_tooltips_toggle_keyboard_mode() anymore.
      
      	* gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
      	deprecated,
      	(gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.
      
      	* gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
      	new API,
      	(gtk_tool_item_set_tooltip): deprecated,
      	(gtk_tool_item_set_tooltip_{text,markup): replacements.
      	(GtkToolItemClass:set_tooltip): deprecated.
      
      	* gtk/gtktooltips.[ch]: strip out all unused parts, made
      	gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
      	deprecate all of gtk_tooltips_*.
      
      	* gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
      	TRUE,
      	(GtkToolbar:tooltips): deprecated, renamed.
      
      	* gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
      	set the tooltip text.
      
      	* tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
      	will be removed GtkFileChooserDefault has been converted.
      
      
      svn path=/trunk/; revision=18418
      c255676e
  20. 08 Jul, 2007 2 commits
  21. 03 Jul, 2007 1 commit
  22. 30 Jun, 2007 1 commit
    • Johan Dahlin's avatar
      Improve error handling for enum/flags, rename the converter functions to · aaab9c05
      Johan Dahlin authored
      2007-06-30  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkbuilder.c:
          * gtk/gtkbuilder.h:
          * gtk/gtkbuilderparser.c:
          * gtk/gtkbuilderprivate.h:
          * gtk/gtkwidget.c: 
          * tests/buildertest.c:
      
          Improve error handling for enum/flags, rename the converter functions
          to be consistent. Add tests. Fixes #452465
      
      
      svn path=/trunk/; revision=18312
      aaab9c05
  23. 19 Jun, 2007 1 commit
  24. 15 Jun, 2007 4 commits
    • Mathias Hasselmann's avatar
      Forgot to free the unescaped tooltip text. · a34dfc3c
      Mathias Hasselmann authored
      2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
      
      	* gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.
      
      svn path=/trunk/; revision=18144
      a34dfc3c
    • Mathias Hasselmann's avatar
      Improving handling of tooltip-text property. Also check result of tooltip · ced0bab0
      Mathias Hasselmann authored
      2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
      
      	* gtk/gtkwidget.c: Improving handling of tooltip-text property.
      	* tests/testtooltips.c: Also check result of tooltip getters.
      
      svn path=/trunk/; revision=18143
      ced0bab0
    • Mathias Hasselmann's avatar
      Introduce convenience property "GtkWidget:tooltip-text" taking care of · 9b604e29
      Mathias Hasselmann authored
      2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
      
              * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
              gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
              convenience property "GtkWidget:tooltip-text" taking care of escaping
              it for unwanted markup entities. Add functions to set tooltip text:
              gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
              gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().
      
              * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
              to set the tooltip text without using markup.
      
              Patches from Emmanuele Bassi (#447643).
      
      svn path=/trunk/; revision=18142
      9b604e29
    • Johan Dahlin's avatar
      Add GtkBuilder, fixes #172535 · 4d638bf0
      Johan Dahlin authored
      2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
      
          * demos/gtk-demo/Makefile.am:
          * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
          (do_builder):
          * demos/gtk-demo/demo.ui:
          * docs/reference/gtk/gtk-docs.sgml:
          * docs/reference/gtk/gtk-sections.txt:
          * docs/reference/gtk/gtk.types:
          * docs/reference/gtk/tmpl/gtkbuildable.sgml:
          * docs/reference/gtk/tmpl/gtkbuilder.sgml:
          * gtk/Makefile.am:
          * gtk/gtk.h:
          * gtk/gtk.symbols:
          * gtk/gtkaction.c: (gtk_action_buildable_init),
          (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
          * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
          (gtk_action_group_buildable_init),
          (gtk_action_group_buildable_add),
          (gtk_action_group_buildable_set_name),
          (gtk_action_group_buildable_get_name):
          * gtk/gtkbuildable.c: (gtk_buildable_get_type),
          (gtk_buildable_set_name), (gtk_buildable_get_name),
          (gtk_buildable_add), (gtk_buildable_set_property),
          (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
          (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
          (gtk_buildable_custom_finished),
          (gtk_buildable_get_internal_child):
          * gtk/gtkbuildable.h:
          * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
          (gtk_builder_finalize), (gtk_builder_set_property),
          (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
          (gtk_builder_real_get_type_from_name),
          (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
          (_gtk_builder_construct), (_gtk_builder_add),
          (apply_delayed_properties), (_gtk_builder_finish),
          (gtk_builder_new), (gtk_builder_add_from_file),
          (gtk_builder_add_from_string), (gtk_builder_get_object),
          (object_add_to_list), (gtk_builder_get_objects),
          (gtk_builder_set_translation_domain),
          (gtk_builder_get_translation_domain),
          (gtk_builder_connect_signals_default),
          (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
          (gtk_builder_value_from_string),
          (gtk_builder_value_from_string_type),
          (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
          (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
          * gtk/gtkbuilder.h:
          * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
          (error_missing_attribute), (error_invalid_attribute),
          (error_invalid_tag), (builder_construct), (parse_object),
          (free_object_info), (_get_type_by_symbol), (parse_child),
          (free_child_info), (parse_property), (free_property_info),
          (parse_signal), (_free_signal_info), (parse_interface),
          (create_subparser), (free_subparser), (subparser_start),
          (subparser_end), (parse_custom), (start_element), (end_element),
          (text), (_gtk_builder_parser_parse_buffer):
          * gtk/gtkbuilderprivate.h:
          * gtk/gtkcelllayout.c: (attributes_start_element),
          (attributes_text_element),
          (_gtk_cell_layout_buildable_custom_tag_start),
          (_gtk_cell_layout_buildable_custom_tag_end),
          (_gtk_cell_layout_buildable_add):
          * gtk/gtkcelllayout.h:
          * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
          (gtk_cell_view_buildable_custom_tag_start),
          (gtk_cell_view_buildable_custom_tag_end):
          * gtk/gtkcolorseldialog.c:
          (gtk_color_selection_dialog_buildable_interface_init),
          (gtk_color_selection_dialog_buildable_get_internal_child):
          * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
          (gtk_combo_box_buildable_custom_tag_start),
          (gtk_combo_box_buildable_custom_tag_end):
          * gtk/gtkcomboboxentry.c:
          (gtk_combo_box_entry_buildable_interface_init),
          (gtk_combo_box_entry_buildable_get_internal_child):
          * gtk/gtkcontainer.c: (gtk_container_get_type),
          (gtk_container_buildable_init), (gtk_container_buildable_add),
          (gtk_container_buildable_set_child_property),
          (attributes_start_element), (attributes_text_element),
          (gtk_container_buildable_custom_tag_start),
          (gtk_container_buildable_custom_tag_end):
          * gtk/gtkdebug.h:
          * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
          (gtk_dialog_buildable_get_internal_child),
          (attributes_start_element), (attributes_text_element),
          (gtk_dialog_buildable_custom_tag_start),
          (gtk_dialog_buildable_custom_finished):
          * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
          * gtk/gtkexpander.c: (gtk_expander_buildable_add),
          (gtk_expander_buildable_init):
          * gtk/gtkfontsel.c:
          (gtk_font_selection_dialog_buildable_interface_init),
          (gtk_font_selection_dialog_buildable_get_internal_child):
          * gtk/gtkframe.c: (gtk_frame_buildable_init),
          (gtk_frame_buildable_add):
          * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
          (gtk_icon_view_buildable_custom_tag_start),
          (gtk_icon_view_buildable_custom_tag_end):
          * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
          (list_store_start_element), (list_store_end_element),
          (list_store_text), (gtk_list_store_buildable_custom_tag_start),
          (gtk_list_store_buildable_custom_tag_end):
          * gtk/gtkmain.c:
          * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
          (gtk_notebook_buildable_add):
          * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
          (size_group_start_element),
          (gtk_size_group_buildable_custom_tag_start),
          (gtk_size_group_buildable_custom_finished):
          * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
          (tree_model_start_element),
          (gtk_tree_store_buildable_custom_tag_start),
          (gtk_tree_store_buildable_custom_finished):
          * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
          (gtk_tree_view_buildable_add):
          * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
          * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
          (gtk_ui_manager_buildable_add),
          (gtk_ui_manager_buildable_construct_child),
          (gtk_ui_manager_buildable_custom_tag_start),
          (gtk_ui_manager_buildable_custom_tag_end):
          * gtk/gtkwidget.c: (gtk_widget_get_type),
          (gtk_widget_buildable_interface_init),
          (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
          (gtk_widget_buildable_set_property),
          (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
          (gtk_widget_buildable_custom_tag_start),
          (gtk_widget_buildable_custom_finshed):
          * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
          (gtk_window_buildable_set_property),
          (gtk_window_buildable_parser_finished):
          * tests/Makefile.am:
          * tests/buildertest.c: (builder_new_from_string), (test_parser),
          (signal_normal), (signal_after), (signal_object),
          (signal_object_after), (signal_first), (signal_second),
          (signal_extra), (signal_extra2), (test_connect_signals),
          (test_uimanager_simple), (test_domain), (test_translation),
          (test_sizegroup), (test_list_store), (test_tree_store),
          (test_types), (test_spin_button), (test_notebook),
          (test_construct_only_property), (test_children),
          (test_child_properties), (test_treeview_column), (test_icon_view),
          (test_combo_box), (test_combo_box_entry), (test_cell_view),
          (test_dialog), (test_accelerators), (test_widget), (main):
      
          Add GtkBuilder, fixes #172535
      
      
      svn path=/trunk/; revision=18141
      4d638bf0
  25. 14 Jun, 2007 1 commit
  26. 13 Jun, 2007 1 commit
  27. 10 Jun, 2007 1 commit
    • Matthias Clasen's avatar
      Update docs Deprecate gtk_widget_{ref,unref} · 08cc8340
      Matthias Clasen authored
      2007-06-09  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkwidget.c:
              * gtk/gtkscrolledwindow.c: Update docs
              * gtk/gtkwidget.h: Deprecate gtk_widget_{ref,unref}
      
              * gtk/tmpl/gtkbindings.sgml:
              * gtk/tmpl/gtkrc.sgml:
              * gtk/tmpl/gtkwidget.sgml:
              * gtk/tmpl/gtkrecentmanager.sgml:
              * gtk/*.sgml:
              * gtk/tmpl/gtkstock.sgml:
              * gtk/gtk-sections.txt: Updates
      
      
      
      svn path=/trunk/; revision=18090
      08cc8340
  28. 06 Jun, 2007 1 commit
    • Yevgen Muntyan's avatar
      new method, gtk_widget_modify_cursor() (#89314). · 2cbaeadf
      Yevgen Muntyan authored
      2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtkwidget.c:
      	* gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#89314).
      
      	* gtkrc.c:
      	* gtkrc.h: new functions _gtk_rc_style_set_rc_property() and
      	_gtk_rc_style_unset_rc_property().
      
      	* gtk/gtk.symbols: added gtk_widget_modify_cursor.
      
      	* tests/testtext.c (do_cursor_visible_changed):
      	* tests/testgtk.c (create_styles): test it.
      
      
      svn path=/trunk/; revision=18066
      2cbaeadf
  29. 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
  30. 28 May, 2007 2 commits
  31. 26 May, 2007 1 commit
    • Matthias Clasen's avatar
      Require gtk-doc 1.6, for signal and property links. · b80b5260
      Matthias Clasen authored
      2007-05-26  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Require gtk-doc 1.6, for signal and property links.
              * gtk/gtkbox.c:
              * gtk/gtkbutton.c:
              * gtk/gtkcontainer.c:
              * gtk/gtkdialog.c:
              * gtk/gtkentry.c:
              * gtk/gtkimage.c:
              * gtk/gtklabel.c:
              * gtk/gtkmisc.c:
              * gtk/gtksettings.c:
              * gtk/gtkwidget.c: Documentation improvements, link signals
              and properties where it makes sense.
      
      svn path=/trunk/; revision=17924
      b80b5260
  32. 23 May, 2007 1 commit
    • Kristian Rietveld's avatar
      translate coordinates from the window they were received on to the event · 5e59105e
      Kristian Rietveld authored
      2007-05-23  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
      	from the window they were received on to the event widget's window;
      	correct for no-window widgets after that, bail out on failure.  This
      	makes the coordinates given by GtkWidget::query-tooltip truly relative
      	to widget->window.  (#435188).
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): update docs for
      	GtkWidget::query-tooltip.
      
      
      svn path=/trunk/; revision=17896
      5e59105e