1. 06 Aug, 1998 2 commits
  2. 05 Aug, 1998 3 commits
    • Stefan Jeske's avatar
      new enum GtkSortType. · c8df83a2
      Stefan Jeske authored
      Wed Aug  5 21:12:37 1998  Stefan Jeske  <stefan@gtk.org>
      	* gtk/gtkenums.h: new enum GtkSortType.
      	* gtk/gtkclist.h:
      	* gtk/gtkclist.c:
      	Added sorting capabilities to GtkCList. New APIs :
      	gtk_clist_set_compare_func, gtk_clist_set_sort_column,
      	gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort.
      	New internal functions : default_compare, merge, mergesort.
      	(gtk_clist_append): This is just a wrapper for gtk_clist_insert now.
      	(gtk_clist_insert): Modified to handle gtk_clist_append and the
      	auto sort flag. Changed the return value from void to gint to
      	return the row number where the element was actually inserted.
      	(gtk_clist_swap_rows): Return immediately if auto sort flag is set.
      	* gtk/gtkctree.h:
      	* gtk/gtkctree.c:
      	Removed the auto_sort flag, replaced ctree->node_compare with
      	clist->compare all over the place, modified default_compare to
      	match clist's needs. Removed APIs : gtk_ctree_set_auto_sort,
      	gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.
      	* gtk/testgtk.c: Modified clist/ctree samples to demonstrate
      	sorting. The lists can be sorted by a column by clicking the
      	corresponding title button.
    • PDT 1998 Shawn T. Amundson's avatar
      Released GTK+ 1.1.1 · e48d4e71
      PDT 1998 Shawn T. Amundson authored
      Tue Aug  4 22:02:49 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
              * Released GTK+ 1.1.1
    • Lars Hamann's avatar
      changed to return a gboolean (gtk_ctree_insert_gnode): new function for · e3b8e185
      Lars Hamann authored
      Wed Aug  5 02:57:20 1998  Lars Hamann  <lars@gtk.org>
              * gtk/gtkctree.h:
              * gtk/gtkctree.c:
              (gtk_ctree_find): changed to return a gboolean
              (gtk_ctree_insert_gnode): new function for recursive insertion of a
              GNode tree.
              (gtk_ctree_real_select_recursive): fix for extended selection
              (gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too.
              (gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag
  3. 04 Aug, 1998 5 commits
  4. 03 Aug, 1998 4 commits
  5. 02 Aug, 1998 3 commits
  6. 31 Jul, 1998 4 commits
    • Lars Hamann's avatar
      Few fixes for column resize. Store resize column in clist->drag_pos. · 8ad52d10
      Lars Hamann authored
      Fri Jul 31 20:45:07 1998  Lars Hamann  <lars@gtk.org>
              * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
              (gtk_clist_button_release) (new_column_width): Few fixes for
              column resize. Store resize column in clist->drag_pos.
      Thu Jul 31 15:18:36 1998  Lars Hamann  <lars@gtk.org>
              * gtk/gtkctree.h
              * gtk/gtkctree.c
              * gtk/testgtk.c : New typedef GtkCTreeNode, changed all GList *node
              to GtkCTreeNode *node.
              * gtk/gtklist.h : added extended selection mode and auto scrolling.
              (struct _GtkList): removed unneeded variables timer, button,
              selection_start_pos, selection_end_pos, scroll_direction, have_grab.
              Added new variables undo_selection, undo_unselection, last_focus_child,
              undo_focus_child, htimer, vtimer, anchor, drag_pos, anchor_state,
              drag_selection, add_mode.
              New functions :
              (gtk_list_extend_selection), (gtk_list_start_selection),
              (gtk_list_end_selection), (gtk_list_select_all),
              (gtk_list_unselect_all), (gtk_list_scroll_horizontal),
              (gtk_list_scroll_vertical), (gtk_list_toggle_add_mode),
              (gtk_list_toggle_focus_row), (gtk_list_toggle_row),
              (gtk_list_undo_selection), (gtk_list_end_drag_selection)
              * gtk/gtklist.c :
              (gtk_list_enter_notify): removed, because auto scrolling now works
              with gtk_list_motion_notify
              New functions, needed for auto scrolling :
              (gtk_list_motion_notify) (gtk_list_move_focus_child)
              New functions for extended selection support :
              (gtk_list_set_anchor), (gtk_list_fake_unselect_all),
              (gtk_list_fake_toggle_row), (gtk_list_update_extended_selection),
              (gtk_list_set_focus_child): modified gtk_container_set_focus_child
              function to support auto scrolling, and avoid out-of-sync errors in
              case auf GTK_SELECTION_BROWSE
              (gtk_list_focus): modified gtk_container_focus function to avoid out
              off sync errors in case auf GTK_SELECTION_EXTENDED
              * gtk/gtklistitem.h
              * gtk/gtklistitem.c :
              New signal functions for key binding support :
              (toggle_focus_row), (select_all), (list_item), (unselect_all)
              (list_item), (undo_selection), (start_selection), (end_selection)
              (extend_selection), (scroll_horizontal), (scroll_vertical),
              (gtk_list_item_realize): added  GDK_KEY_PRESS_MASK |
              (gtk_list_item_draw_focus): modify gc if parent has add_mode set.
              * gtk/gtkcombo.c :
              (gtk_combo_popup_button_press):  grab pointer for combo->list
              (gtk_combo_button_release): ungrab only if combo->popwin HAS_GRAB
              (gtk_combo_list_key_press): take care of which child HAS_GRAB
              (gtk_comb_init): don't connect combo->button with button_release_event
    • Carsten Haitzler's avatar
    • Carsten Haitzler's avatar
    • Carsten Haitzler's avatar
  7. 30 Jul, 1998 19 commits