1. 30 Jul, 2004 1 commit
  2. 27 Jul, 2004 1 commit
  3. 16 Jul, 2004 1 commit
  4. 07 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Support separators in combo boxes and more generally in tree views · 1aa00e52
      Matthias Clasen authored
      2004-07-07  Matthias Clasen  <mclasen@redhat.com>
      
      	Support separators in combo boxes and more generally in tree
      	views  (#135873):
      
      	* gtk/gtkcombobox.h:
      	* gtk/gtkcombobox.c (gtk_combo_box_get_row_separator_column):
      	* gtk/gtkcombobox.c (gtk_combo_box_set_row_separator_column):
      	Add a ::row-separator-column property with getter and setter,
      	which can indicate a boolean model column to determine which
      	rows are separators.
      
      	* gtk/gtkcombobox.c: Display separator rows as separator menu
      	items in menu mode, and by using the new treeview separator
      	functionality in list mode.
      
      	* gtk/gtktreeview.h:
      	* gtk/gtktreeview.c (gtk_tree_view_get_row_separator_func):
      	* gtk/gtktreeview.c (gtk_tree_view_set_row_separator_func):
      	Add a callback to determine whether a row is a separator.
      
      	* gtk/gtktreeview.c (gtk_tree_view_bin_expose):
      	* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
      	* gtk/gtktreeview.c (validate_row): Use the new callback
      	to determine whether a row is a separator, and draw it
      	as a separator then. Since separators should take up less
      	vertical space than regular rows, this requires removing
      	the redundant MAX(...,expander_size) calls which appear in
      	many places. Instead, the MAX() is now only done in
      	validate_row(), and only if the row is not a separator.
      	To catch possible side effects of this intrusive change,
      	I have left EXPANDER_MAX() calls in place of the MAX() calls
      	which will emit a warning if something breaks. They should
      	be removed before 2.6.
      
      	* gtk/gtktreeselection.c (row_is_selectable): Don't let
      	separator rows be selected.
      
      	* tests/testcombo.c (create_blaat): Add a separator column.
      1aa00e52
  5. 02 Jun, 2004 1 commit
  6. 10 May, 2004 1 commit
  7. 06 May, 2004 3 commits
  8. 17 Feb, 2004 1 commit
  9. 19 Nov, 2003 1 commit
    • Kristian Rietveld's avatar
      move function to a somewhat more logical place, · 64381477
      Kristian Rietveld authored
      Wed Nov 19 23:19:23 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcombobox.[ch] (gtk_combo_box_scroll_event): move function
      	to a somewhat more logical place,
      	(gtk_combo_box_remove_text): New function (#125262, Owen Taylor).
      64381477
  10. 16 Nov, 2003 1 commit
    • Kristian Rietveld's avatar
      Fixes #124373, Murray Cumming. · d777b5b4
      Kristian Rietveld authored
      Mon Nov 17 00:11:21 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes #124373, Murray Cumming.
      
      	* gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property
      	is no longer construct only,
      	(gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal),
      	(gtk_combo_box_menu_fill): new functions,
      	(gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy),
      	(gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup),
      	(gtk_combo_box_list_destroy): updated,
      	(gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed
      	functions,
      	(gtk_combo_box_set_model): is now public, updated,
      	(gtk_combo_box_get_model): small update.
      
      	* gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the
      	text_column property is no longer construct only,
      	(gtk_combo_box_entry_set_text_column): now public,
      	(gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model):
      	new/changed functions.
      
      	* tests/testcombo.c: updated.
      d777b5b4
  11. 24 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      Fix licensing (I managed to put it under GPL licensing instead of · 2e2b780f
      Kristian Rietveld authored
      Fri Oct 24 20:31:35 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
      	gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch],
      	gtk/gtktreemodelfilter.[ch]: Fix licensing (I managed to put it
      	under GPL licensing instead of LGPL...). (Fixes #125381, Soeren
      	Sandmann).
      2e2b780f
  12. 15 Oct, 2003 1 commit
  13. 14 Oct, 2003 1 commit
    • Jonathan Blandford's avatar
      New function to set the active row by iter. · 87a1e40e
      Jonathan Blandford authored
      Tue Oct 14 16:10:21 2003  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): New function
      	to set the active row by iter.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_get_active_iter): New function
      	to get the active row by iter.
      87a1e40e
  14. 11 Oct, 2003 1 commit
  15. 01 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      implement the GtkCellLayout interface, drop packing/attribute/cell data · 40743e12
      Kristian Rietveld authored
      Wed Oct  1 22:43:40 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcellview.[ch]: implement the GtkCellLayout interface, drop
      	packing/attribute/cell data functions from the header,
      	(gtk_cell_view_set_cell_data): added support for cell data funcs.
      
      	* gtk/gtkcombobox.[ch]: implement the GtkCellLayout interface, drop
      	packing/attribute/cell data functions from the header, implemented
      	cell data func support.
      
      	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new): updated
      	for the move to GtkCellLayout.
      
      	* tests/testcombo.c (create_combo_box_grid_demo), (main): ditto.
      40743e12
  16. 26 Sep, 2003 1 commit
    • Kristian Rietveld's avatar
      Landing the new ComboBox. Note that only gtkcombobox.h and · c920afd9
      Kristian Rietveld authored
      Fri Sep 26 23:49:44 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Landing the new ComboBox. Note that only gtkcombobox.h and
      	gtkcomboboxentry.h are public.
      
      	* gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
      	gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch]: new files.
      
      	* gtk/Makefile.am, gtk/gtk.h: adding the new files.
      
      	* tests/testcombo.c: and a new test.
      
      	* tests/Makefile.am: adding the new test.
      c920afd9
  17. 20 Jan, 1998 1 commit
  18. 13 Jan, 1998 1 commit
  19. 08 Jan, 1998 2 commits