1. 14 Oct, 2009 1 commit
  2. 08 Oct, 2006 1 commit
  3. 18 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Add some docs for GTK_NEED_REQUEST GTK_NEED_ALLOCATION. · 8fe564e3
      Owen Taylor authored
      Mon Feb 18 16:44:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * docs/widget_system.txt: Add some docs for GTK_NEED_REQUEST
              GTK_NEED_ALLOCATION.
      
              * gtk/gtkmenu.c (gtk_menu_popup): Scroll the menu
              to the right place before showing the menu to
              avoid spurious enter events.
      
              * gtk/gtkmenu.c (gtk_menu_realize): Only scroll
              if there is an active menu item.
      
              * gtk/gtkwidget.c (gtk_widget_init): Set RESIZE_NEEDED
              ALLOC_NEEDED initially.
      8fe564e3
  4. 19 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Enforce the widget/child realization/mapping invariants. · aa49527f
      Owen Taylor authored
      Sat Jul  7 02:50:14 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_parent): Enforce
      	the widget/child realization/mapping invariants.
      
      	* gtk/gtkwidget.[ch] gtk/gtkprivate.h: Add functions
      	gtk_widget_[get/set]_child_visible() to control
      	whether visible children of a mapped window are
      	mapped.
      
      	* docs/widget_system.txt: Updated for changes in
      	container contract, and addition of GTK_CHILD_VISIBLE.
      
      	* gtk/gtkcontainer.c: Add generic map()/unmap()
      	functions that work for almost all containers.
      
      	* gtk/gtknotebook.c gtk/gtkpacker.c: Use
      	gtk_widget_set_child_visible() where necessary.
      
      	* gtk/*.c: Remove excess map(), unmap(), and
      	realization/mapping invariant enforcing code
      	from many containers.
      aa49527f
  5. 11 Dec, 2000 1 commit
    • Owen Taylor's avatar
      Add a function to determine if a window is the focus widget within its · 0cdc00ec
      Owen Taylor authored
      Wed Oct 25 14:17:43 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.[ch] (gtk_widget_is_focus): Add a function
      	to determine if a window is the focus widget within
      	its toplevel.
      
      	* gtk/gtkcontainer.[ch]: Fix the return type of ::focus
      	to be boolean.
      
      	* gtk/gtkcontainer.c (gtk_container_real_focus): Move handling
      	of the case where the container CAN_FOCUS to here instead
      	of having it in each individual move-the-focus place.
      
      	* gtk/gtkcontainer.c: Rewrite handling of left-right and up-down
      	focusing to be geometric in a much more obvious sense. Arrowing
      	around is still non-intuitive because it isn't perfect and
      	because entries, etc, grab the arrow keys, but it at least
      	usually will do what you expect now.
      
      	* gtk/gtknotebook.[ch]: Many cleanups. Moved docs inline in this
      	file.
      
      	* gtk/gtknotebook.c: Change tabs to be a single item in
      	the focus chain. Make movement of focus on tabs with arrow
      	keys wrap around.
      
      	* gtk/gtknotebook.c (gtk_notebook_find_child): Add
      	CHECK_FIND_CHILD macro to give informative error messages
      	instead of silent returns.
      
      	* gtk/gtknotebook.c (gtk_notebook_init): Set the RECEIVES_DEFAULT
      	flag since we handle GdkReturn on the tabs.
      
      	* gtk/gtknotebook.c (gtk_notebook_expose_tabs): Invalidate
      	windows rather than sending expose events directly.
      
      	* gtk/gtknotebook.[ch] docs/Changes-2.0.txt: Move structure
      	definition for GtkNotebookPage into .c file, since it is private.
      
      	* gtk/testgtk.c (create_notebook): Add option for
      	testing borderless notebook.
      
      	* gtk/testgtk.c (page_switch): Removed egregious poking
      	around in GTK+ internals.
      
      	* docs/widget-system.txt: Remove references to GTK_REDRAW_PENDING.
      
      	* gtk/gtkclist.[ch]: Remove key press handler, handle focusing
      	properly through gtk_clist_focus. Make the title headers a
      	single item in the tab-focus chain, and make left-right wrap
      	around.
      
      	* gtk/gtkwindow.c (gtk_window_focus): Add a custom
      	focus method so that wrapping around works properly.
      
      	* gtk/gtktreeview.c: Remove calls to gtk_container_set_focus_child() -
      	that is handled for the widget now.
      0cdc00ec
  6. 12 Aug, 1998 1 commit
    • Owen Taylor's avatar
      Added gdk_text/string_extents() - too calculate all the metrics at once of · 4af7480f
      Owen Taylor authored
      Tue Jul 21 12:42:01 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() -
      	  too calculate all the metrics at once of a string, including
      	  things which weren't calculated before.
      
      	* gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New
      	  MenuItem type, that when put as the first thing in a
      	  menu, makes the menu tearoff. Currently drawn as a
      	  dashed line.
      
      	* gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag
      	  "hide_on_activate" to the MenuItem class structure to allow
      	  check and radio buttons to be changed with <Space> without
      	  hiding the menu.
      
      	* gtk/gtkaccellabel.[ch]: Added new capabilities to set
      	  a underline_group and underline_mods for the label -
      	  accelerators added in the underline group matching
      	  underline_mods will be displayed as an underline character.
      
      	  This doesn't work - Save As needs to be underlined
      	  as Save _As.
      
      	* gtk/gtkitemfactory.c:
      	  - Create a AccelGroup for each MenuShell we create.
      	  - If an '&' appears before a  character 'c' in the path,
      	    then make 'c' an accelerator in the menu's accel group,
      	    and if the menuitem is menubar <alt>C an accelerator
      	    in the itemfactory's accel group.
      
      	* gtk/gtklabel.[ch]: Add support for a pattern arg -
                which is a string. If an '_' appears in this string,
      	  the corresponding position in the label is underlined.
      
                Add gtk_label_parse_uline() convenience function which
      	  takes a string with embedded underlines, sets the
      	  pattern and label, and returns the accelerator keyval.
      
      	* gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget.
      	  Instead, they create a GtkWindow and add themselves
      	  to that. (When torn off, another new feature, they
      	  create another GtkWindow to hold the torn off menu)
      
      	  New function gtk_menu_set_tearoff_state()
      
      	* gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h:
      	  Added action signals  for keyboard navigation of menus.
      
      	* gtk/gtkmenushell.c: Key press handler which activates
                bindings for navigation, and accelerators, for handling
      	  underline accelerators. Exported functions to select
      	  and activate menu items in a menushell.
      
      	* gtk/testgtk.c: Added a new "Item Factory" test which
      	  tests GtkItemFactory and the new keyboard navigation
      	  of menus.
      4af7480f
  7. 14 Apr, 1998 1 commit
  8. 28 Feb, 1998 1 commit
    • Tim Janik's avatar
      fix behavior of gtk_preview_put() with srcx/srcy != 0, · 8a19c2a1
      Tim Janik authored
      Sat Feb 28 15:18:36 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkpreview.c: fix behavior of gtk_preview_put() with
              srcx/srcy != 0, gtk-shige-980127-0.patch.gz by
              AOSASA Shigeru <aozasa@sakuranet.or.jp>.
      
              * gdk: applied gtk-roebling-980121-0.patch.gz, patch for region
              support in Gdk, by Robert Roebling <roebling@ruf.uni-freiburg.de>.
      8a19c2a1
  9. 12 Feb, 1998 1 commit
  10. 11 Feb, 1998 1 commit
  11. 04 Feb, 1998 1 commit
  12. 03 Feb, 1998 1 commit
  13. 01 Feb, 1998 1 commit