1. 18 Nov, 1998 1 commit
    • Lars Hamann's avatar
      return the nth GtkCTreeNode in row_list. (from Samuel Solon · 73513270
      Lars Hamann authored
      Thu Nov 19 00:15:27 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkctree.c (gtk_ctree_node_nth): return the nth GtkCTreeNode
      	in row_list. (from Samuel Solon <ssolon@usa.net>)
      
      	* gtk/gtkclist.c (gtk_clist_get_column_title): return column title
      	(gtk_clist_get_column_widget): return column widget
      73513270
  2. 07 Nov, 1998 1 commit
    • Lars Hamann's avatar
      resize clist if adjustments are NULL and list size has changed · 9d874ec2
      Lars Hamann authored
      Fri Nov  6 23:29:40 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkclist.c (real_clear) (adjust_adjustments): resize clist
       	if adjustments are NULL and list size has changed
      	(gtk_clist_size_request): return real list requsition,
       	if adjustments are NULL.
      	(size_allocate_columns): use button->requisition.with, if column
       	width is not set.
      	(list_requisition_width): new function. return full list width.
      	(gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): do not
      	auto create adjustments.
      	(gtk_clist_motion) (move_vertical) (move_horizontal):
       	check adjustment != NULL.
      9d874ec2
  3. 05 Nov, 1998 2 commits
    • Lars Hamann's avatar
      gtk/gtkclist.h (struct _GtkCListClass) removed scrollbar_spacing. · 3c0df19a
      Lars Hamann authored
      Thu Nov  5 18:52:35 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkclist.h (struct _GtkCListClass)
      	* gtk/gtkclist.c (gtk_clist_class_init): removed scrollbar_spacing.
      3c0df19a
    • Lars Hamann's avatar
      removed vscrollbar, hscrollbar, vscrollbar_policy, hscrollbar_policy. · 00fbbe68
      Lars Hamann authored
      Thu Nov  5 16:00:32 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkclist.h (struct _GtkCList): removed vscrollbar, hscrollbar,
       	vscrollbar_policy, hscrollbar_policy. added h/vadjustment.
      
      	* gtk/gtkclist.c (gtk_clist_class_init): added new args types
        	"hadjustment" & "vadjustment"
       	 (gtk_clist_set_arg) (gtk_clist_get_arg): new object class
        	set/get_arg functions
       	(gtk_clist_construct): don't create/adjust scrollbars.
       	(gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): new functions
       	to set h/vadjustments
        	(gtk_clist_get_vadjustment) (gtk_clist_get_hadjustment): new functions
       	to query h/vadjustments
       	(create_scrollbars): removed.
       	(create_adjustments): replacement for create_scrollbars
       	(gtk_clist_new): call gtk_clist_new_with_titles
       	(gtk_clist_new_with_titles): don't warn on titles == NULL
       	(move_horizontal): use CLAMP instead
       	(gtk_clist_set_policy): deprecated method.
        	use gtk_scrolled_window_set_policy instead.
       	(vadjustment_value_changed): use clist->vadj.
       	(adjust_scrollbars): renamed to adjust_adjustments
       	(adjust_adjustments): former adjust_scrollbars
       	(gtk_clist_destroy): unref adjustments
       	(gtk_clist_size_allocate) (gtk_clist_map) (title_focus)
        	(gtk_clist_unmap) (gtk_clist_size_request) (gtk_clist_focus)
        	(gtk_clist_size_allocate) (gtk_clist_forall): don't use scrollbars
       	(gtk_clist_thaw) (real_insert_row) (real_remove_row)
       	(gtk_clist_set_row_height) (real_resize_column):
       	call adjust_adjustments
       	(gtk_clist_moveto): return if clist has no adjustments yet.
       	(gtk_clist_parent_set): new GtkWidget::parent_set function.
       	Autogenerate h/vadjustments if needed.
       	(move_horizontal) (move_vertical): some cleanups
      
      	* gtk/gtkviewport.c (gtk_viewport_set_arg) (gtk_viewport_new):
        	call only gtk_viewport_set_h/vadjustment and let these functions
        	do the work.
       	(gtk_viewport_set_hadjustment) (gtk_viewport_set_vadjustment):
       	generate a new adjustment if needed
      
      	* gtk/gtkscrolledwindow.h ((struct _GtkScrolledWindow):
        	use a guint bitfield for h/vscrollbar_policy and h/vscrollbar_visible
      
      	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
        	queue_resize if visibility of scrollbars changes
        	(gtk_scrolled_window_remove): only call container_remove with
        	scrolled_window->viewport automatically if viewport was autogenerated
       	(gtk_scrolled_window_add): add widget as scrolled_window->viewport.
       	auto create a viewport only if widget does not take h/vadjustments.
       	(gtk_scrolled_window_construct): don't generate a viewport
        	automatically.
       	(gtk_scrolled_window_forall): call callback with viewport in any case
       	(gtk_scrolled_window_set_arg): call gtk_container_add in case of
        	ARG_VIEWPORT
       	(gtk_scrolled_window_size_allocate) (gtk_scrolled_window_size_request)
       	(gtk_scrolled_window_map) (gtk_scrolled_window_unmap): check
        	viewport != NULL
      
      	* gtk/testgtk.c
       	(create_ctree) (export_ctree) (create_clist): use a scrolled_window
        	in conjunction with clists/ctrees
      
      	* gtk/gtkfilesel.c (gtk_file_selection_init): use a scrolled_window
       	in conjunction with clists
      
      	* gtk/gtkfontsel.c (gtk_font_selection_init): use a scrolled_window
       	in conjunction with clists
      00fbbe68
  4. 19 Oct, 1998 1 commit
    • Lars Hamann's avatar
      rearranged some functions (gtk_clist_set_column_auto_resize): new · e45890a6
      Lars Hamann authored
      Mon Oct 19 23:44:41 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkclist.c: rearranged some functions
      	(gtk_clist_set_column_auto_resize): new function. toggle auto_resize
       	flag of column
      	(gtk_clist_set_column_resizeable): if resizeable disable auto_resize
      	(gtk_clist_set_border): deprecated function, use
       	gtk_clist_set_shadow_type instead.
      	(gtk_clist_set_shadow_type): replacement for gtk_clist_set_border
       	(adjust_scrollbars): some cleanups
      	(select_row) (unselect_row): removed. replaced by equivalent
      	gtk_signal_emit calls
      	(add_style_data): removed, use gtk_clist_style_set instead
      	(gtk_clist_style_set): fill in size data, after style was set.
       	(set_cell_contents) (gtk_clist_set_shift) (gtk_clist_set_row_style)
       	(gtk_clist_set_cell_style): auto_resize columns if needed
      	(column_auto_resize): resize column if needed for auto_resize
      	(real_clear): disable auto_resize while list destroy
      	(resize_column): removed
      
      	* gtk/gtkctree.c : (gtk_ctree_remove_node)
      	(gtk_ctree_set_line_style) (gtk_ctree_set_expander_style)
      	(gtk_ctree_node_set_row_style) (gtk_ctree_node_set_cell_style)
       	(set_cell_contents) (gtk_ctree_node_set_shift) (gtk_ctree_set_spacing)
      	(real_tree_move) (gtk_ctree_set_indent) (gtk_ctree_insert_node)
      	(real_tree_collapse) (real_tree_expand) (column_auto_resize):
       	auto_resize columns if needed
      	(gtk_ctree_collapse_recursive) (gtk_ctree_collapse_to_depth)
      	(real_clear): disable auto_resize while processing the tree
      
      	* gtk/testgtk.c (create_clist) (create_ctree): set auto_resize
      	for one column
      e45890a6
  5. 16 Oct, 1998 1 commit
    • Lars Hamann's avatar
      change a few cell styles of inserted row (change_style): change style of · eff33964
      Lars Hamann authored
      Fri Oct 16 15:59:02 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/testgtk.c (insert_row_clist) (create_clist): change a few cell
      	styles of inserted row
      	(change_style): change style of focus_row
      
      	* gtk/gtkclist.c (gtk_clist_get_row_style) (gtk_clist_set_row_style)
      	(gtk_clist_get_cell_style) (gtk_clist_set_cell_style): new functions
      	to set/get row/cell styles.
      	(gtk_clist_realize): attach row and cell style, allocate row colors.
      	(gtk_clist_unrealize): detach row and cell styles.
      	(get_cell_style): new function. get correct cell style.
      	(draw_cell_pixmap): new function.
      	(draw_row): draw cells with row or cell styles.
      	(row_new): set cell and row styles to NULL.
      	(row_delete): detach & unref cell and row styles.
      
      	* gtk/gtkctree.c (ctree_detach_styles) (ctree_attach_styles):
      	new functions to attach/detach styles and allocate colors.
      	(gtk_ctree_realize) (gtk_ctree_unrealize): attach/detach cell and row
      	styles of invisible nodes.
      	(draw_cell_pixmap): new function.
      	(get_cell_style):  new function. get correct cell style.
      	(gtk_ctree_draw_expander): new function. draw tree expander.
      	(gtk_ctree_draw_lines): new function.draw tree lines.
      	(draw_row): draw cells with row or cell styles.
      	(row_new): set cell and row styles to NULL.
      	(row_delete): detach & unref cell and row styles.
      	(gtk_ctree_node_get_row_style) (gtk_ctree_node_set_row_style)
      	(gtk_ctree_node_get_cell_style) (gtk_ctree_node_set_cell_style):
      	Analogons of GtkCList functions
      	(gtk_ctree_set_spacing): new function. set spacing between
      	tree expander and cell contents
      	(gtk_ctree_set_expander_style): new function. set expander style
      	of ctree.
      	(ctree_is_hot_spot): few changes due to draw_row modifications.
      eff33964
  6. 12 Oct, 1998 1 commit
  7. 07 Oct, 1998 2 commits
    • Tim Janik's avatar
      removed all occourances of #pragma } and #pragma { which were in place to · 3322a264
      Tim Janik authored
      Wed Oct  7 05:15:36 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtk*.h:
              * gdk/gdk.h: removed all occourances of #pragma } and #pragma {
              which were in place to fixup emacs' cc-mode indentation.
              putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
              proper way to achive this and doesn't produce problems for
              stupid pragma-related compiler bugs. ;)
      3322a264
    • Lars Hamann's avatar
      new signal GtkCList::resize_column. don't draw invisible columns · a2951281
      Lars Hamann authored
      Wed Oct  7 00:59:46 1998  Lars Hamann  <lars@gtk.org>
      
              * gtk/gtkclist.h: new signal GtkCList::resize_column.
              * gtk/gtkclist.c (draw_row): don't draw invisible columns
              (size_allocate_title_buttons) (size_allocate_columns):
              skip invisible columns
              (new_column_width): take min/max_width into account
              (gtk_clist_button_release) (gtk_clist_motion):
              changes due to changed new_column_width function
              (LIST_WIDTH): changed define to inline function.
              (real_resize_column): class function for resize_column signal
              (gtk_clist_motion): fixed autoscrolling for column resizes
              (gtk_clist_set_column_visibility): don't hide last visible column,
              changed visible arg to gboolean
              (gtk_clist_set_column_min_width)(gtk_clist_set_column_max_width):
              new functions : set min/max width of a column
              (gtk_clist_set_column_resizeable): new function : enable/disable
              column resize operations by mouse
      
              * gtk/gtkctree.c (draw_row): don't draw invisible columns
              (ctree_is_hot_spot): return FALSE if tree_column is invisible
              (draw_xor_line)  (draw_xor_rect): draw full rectangle/line if
              tree_column is invisible
              (gtk_ctree_find_all_by_row_data)
              (gtk_ctree_find_all_by_row_data_custom):  new function from
              Ronan Bourlier <ronan@radioss.com>. Returns a GList of all
              GtkCTreeNodes with row->data == data.
      a2951281
  8. 04 Oct, 1998 1 commit
    • Martin Baulig's avatar
      Added `visible'. · a9c05acd
      Martin Baulig authored
      1998-10-01  Martin Baulig  <martin@home-of-linux.org>
      
      	* gtk/gtkclist.h (GtkCListColumn): Added `visible'.
      
      	* gtk/gtkclist.c (gtk_clist_set_column_visibility): New function.
      	Makes it possible to individually show and hide columns.
      	(size_allocate_columns): Adapted to keep track of hidden columns.
      	(size_allocate_title_buttons): Likewise.
      a9c05acd
  9. 01 Oct, 1998 1 commit
    • Tim Janik's avatar
      new function. (gtk_clist_insert): added g_return_val_if_fail() statements. · b89ed0c3
      Tim Janik authored
      Thu Oct  1 10:40:20 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.h (gtk_clist_prepend):
              * gtk/gtkclist.c (gtk_clist_prepend): new function.
              (gtk_clist_insert): added g_return_val_if_fail()
              statements. accept a row parameter < 0 or > clist->rows to indicate
              append mode.
              (real_clear): first clean up all internal pointers and lists (e.g.
              clist->row_list or clist->rows), then delete the distinct rows. this
              is required because of destroy notifiers, we need to have all internal
              structures updated and be reentrant.
      
              * gtk/gtkcalendar.h:
              * gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the
              GtkCalendarClass signal methods.
              GtkType and macro fixups, put `void' into () prototypes, avoid C++
              style comments, indentation fixes, fixed some g_return_if_fail()
              statements.
              (gtk_calendar_paint_header):
              (gtk_calendar_paint_day_names):
              (gtk_calendar_paint_week_numbers):
              (gtk_calendar_paint_main): made these static functions.
              (gtk_calendar_select_month):
              (gtk_calendar_select_day):
              (gtk_calendar_mark_day):
              (gtk_calendar_unmark_day):
              (gtk_calendar_get_date): signedness corrections, use guints
              rather than gints.
              (gtk_calendar_size_request): removed unused variables.
      b89ed0c3
  10. 11 Sep, 1998 1 commit
    • Lars Hamann's avatar
      new function to set/unset the selectable flag of a single row. · cb7c4d6c
      Lars Hamann authored
      * gtk/gtkclist.c (gtk_clist_set_selectable): new function
        to set/unset the selectable flag of a single row.
        (gtk_clist_get_selectable): new function
        to get the state of the selectable flag
      
      * gtk/gtkctree.c (gtk_ctree_node_set_selectable)
        (gtk_ctree_node_get_selectable): clist analogons
      cb7c4d6c
  11. 03 Sep, 1998 1 commit
    • Tim Janik's avatar
      `const' fixups. · 0f0d9509
      Tim Janik authored
      Thu Sep  3 07:16:54 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkctree.h:
              * gtk/gtkctree.c: `const' fixups.
      
              * gtk/gtkclist.h:
              * gtk/gtkclist.c: `const' fixups and some coding style adaptions.
      
              * gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
              if it is passed as NULL.
      0f0d9509
  12. 17 Aug, 1998 1 commit
    • Lars Hamann's avatar
      new class methods: (sort_list) (insert_row) (remove_row) · 17d141c8
      Lars Hamann authored
      Tue Aug 18 00:29:13 1998  Lars Hamann  <lars@gtk.org>
      
              * gtk/gtkclist.h:
              (struct _GtkCListClass): new class methods:
              (sort_list) (insert_row) (remove_row) (set_cell_contents)
      
              * gtk/gtkclist.c :
              (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
              removed and replaced by (set_cell_contents)
              (set_cell_contents): function for class method set_cell_contents
              (real_insert_row): function for class method insert_row
              (real_remoce_row): function for class method remove_row
              (real_sort_list): function for class method sort_list
              (default_compare): fix to avoid problems with cell types != CELL_TEXT
      
              * gtk/gtkctree.h :
              (gtk_ctree_export_to_gnode): new function to export a ctree as gnode
              (gtk_ctree_node_is_visible): new function to return visibility state
              of a node
      		(gtk_ctree_show_stub): new function to set visibility of root stub
      
              renamed functions :
              (gtk_ctree_insert) -> (gtk_ctree_insert_node)
              (gtk_ctree_remove) -> (gtk_ctree_remove_node)
              (gtk_ctree_find_glist_ptr) -> (gtk_ctree_find_node_ptr)
              (gtk_ctree_set_text) -> (gtk_ctree_node_set_text)
              (gtk_ctree_set_pixmap) -> (gtk_ctree_node_set_pixmap)
              (gtk_ctree_set_pixtext) -> (gtk_ctree_node_set_pixtext)
              (gtk_ctree_set_shift) -> (gtk_ctree_node_set_shift)
              (gtk_ctree_get_cell_type) -> (gtk_ctree_node_get_cell_type)
              (gtk_ctree_get_text) -> (gtk_ctree_node_get_text)
              (gtk_ctree_get_pixmap) -> (gtk_ctree_node_get_pixmap)
              (gtk_ctree_get_pixtext) -> (gtk_ctree_node_get_pixtext)
              (gtk_ctree_set_foreground) -> (gtk_ctree_node_set_foreground)
              (gtk_ctree_set_background) -> (gtk_ctree_node_set_background)
              (gtk_ctree_set_row_data) -> (gtk_ctree_node_set_row_data)
              (gtk_ctree_set_row_data_full) -> (gtk_ctree_node_set_row_data_full)
              (gtk_ctree_get_row_data) -> (gtk_ctree_node_get_row_data)
              (gtk_ctree_moveto) -> (gtk_ctree_node_moveto)
              (gtk_ctree_sort) -> (gtk_ctree_sort_node)
      		(gtk_ctree_is_visibe) -> (gtk_ctree_is_viewable)
      
              * gtk/gtkctree.c :
              (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
              removed and replaced by (set_cell_contents)
              (set_cell_contents): function for class method set_cell_contents
              (real_insert_row): function for class method insert_row
              (real_remoce_row): function for class method remove_row
              (real_sort_list): function for class method sort_list
              (default_compare): removed. CTree now also compares two GtkCTreeRows
              instead of two GtkCTreeNodes.
              (gtk_ctree_unlink): call gtk_ctree_collapse if parent is empty after
              unlinking the node
              (real_tree_expand) (real_tree_collapse): fix for refcounting of
              node pixmaps
              (set_node_info): call gtk_ctree_node_set_pixtext instead of
              manipulating the row itself
      
              * gtk/testgtk.c: use renamed functions of GtkCTree.
              new sample to show gtk_ctree_export_to_gnode and gtk_ctree_insert_gnode
              at work.
      17d141c8
  13. 05 Aug, 1998 1 commit
    • 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.
      c8df83a2
  14. 16 Jul, 1998 1 commit
    • Tim Janik's avatar
      handle negative values similar to gtk_widget_set_uposition(). that is: · af24aef7
      Tim Janik authored
      Thu Jul 16 01:27:15 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
              similar to gtk_widget_set_uposition(). that is: -1=unspecified,
              -2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
              to be gint16s rather than guint16s, since that's what the code expected
              (for a long time actually).
      
              * gtk/gtkviewport.c:
              added support for object arguments: GtkViewport::shadow_type,
              GtkViewport::vadjustment and GtkViewport::hadjustment.
              (gtk_viewport_add): chain gtk_bin_add.
      
              * gtk/gtkscrolledwindow.c:
              added support for object argument: GtkScrolledWindow::hscrollbar_policy,
              GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.
      
              * gtk/gtkadjustment.h:
              * gtk/gtkadjustment.c:
              * gtk/gtkctree.h:
              * gtk/gtkclist.h:
              * gtk/gtkctree.c:
              * gtk/gtkclist.c:
              * gtk/gtkscrolledwindow.h:
              * gtk/gtkscrolledwindow.c:
              * gtk/gtkviewport.h:
              * gtk/gtkviewport.c:
              GtkType and macro fixups.
      af24aef7
  15. 15 Jul, 1998 1 commit
    • Lars Hamann's avatar
      Added focus handling, horizontal and vertical autoscrolling, extended · 8b9b7b9d
      Lars Hamann authored
      * gtk/gtkctree.h :
      * gtk/gtkctree.c :
        Added focus handling, horizontal and vertical autoscrolling,
        extended Selection Mode, key bindings
        Added gtk_ctree_toggle_expansion & gtk_ctree_toggle_expansion_recursive
        Changed gtk_ctree_scroll_to to gtk_ctree_moveto.
        Removed gtk_ctree_clear.
      
      * gtk/gtkclist.h :
      * gtk/gtkclist.c :
        Added focus handling, horizontal and vertical autoscrolling,
        extended Selection Mode, key bindings
      8b9b7b9d
  16. 16 Jun, 1998 1 commit
  17. 02 Jun, 1998 1 commit
  18. 01 May, 1998 1 commit
    • Tim Janik's avatar
      prefixed all clist flags with GTK_ to avoid name clashes. redefined · befef270
      Tim Janik authored
      Fri May  1 13:57:36 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.h:
                      * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name
                              clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as
                                      GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add
                                              the GTK_ prefix (this solution involved less changes in the
                                                      gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute
                                                              the mem_chunk==NULL test in gtk_clist_construct. merged in changes
                                                                      from lars & stefan to support the derivation of GtkCtree.
      
                                                                              * gtkctree.h:
                                                                                      * gtkctree.c:
                                                                                              initial import of a tree widget derived from gtkclist, courtesy
                                                                                                      of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>,
                                                                                                              it just damn rocks!
      
      
      Fri May  1 10:05:44 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work
              for us.
              (gtk_list_insert_items):
              (gtk_list_remove_items_internal):
              (gtk_list_clear_items):
              remove a possible pointer grab, we might get thrown into a loop
              otherwise.
              (gtk_list_button_press): grab the pointer *before* selecting the child,
              because selection of items may cause the lists children to change,
              resulting in a grab release.
              (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of
              children.
              (gtk_list_shutdown): remove all children from the list.
              (gtk_real_list_unselect_child):
              (gtk_real_list_select_child): *always* put our internal structures into
              sane state *before* signal emisions (i.e. list->selection updates prior
              to gtk_list_item_[de]select() calls).
      
              * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists
              focused child walks out of the window.
              removed CAN_FOCUS for the combo arrow's button since it doesn't react
              to keyboard events ("clicked" connection is missing).
      befef270
  19. 13 Apr, 1998 1 commit
  20. 14 Mar, 1998 1 commit
    • Federico Mena Quintero's avatar
      Now we return a GtkVisibility value, instead of a simple boolean. Also, · 3ef2c37a
      Federico Mena Quintero authored
      1998-03-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtkclist.c (gtk_clist_row_is_visible): Now we return a
      	GtkVisibility value, instead of a simple boolean.  Also, changed
      	all the functions that expected a boolean value to use
      	"!= GTK_VISIBILITY_NONE".
      
      	* gtk/gtkclist.h: Changed prototype for gtk_clist_row_is_visible().
      
      	* gtk/gtkenums.h (enum): Added GtkVisibility enum.
      3ef2c37a
  21. 10 Mar, 1998 1 commit
  22. 08 Mar, 1998 1 commit
  23. 25 Feb, 1998 1 commit
    • Owen Taylor's avatar
      Move layout constants into an enumeration, split GTK_BUTTONBOX_DEFAULT · 77715991
      Owen Taylor authored
      Wed Feb 25 13:18:53 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkbbox.[ch] gtk/gtkhbox.[ch] gtk/gtkvbox.[ch] :
      
      	Move layout constants into an enumeration, split
      	GTK_BUTTONBOX_DEFAULT into GTK_BUTTONBOX_DEFAULT
      	and GTK_BUTTONBOX_DEFAULT_STYLE (enumeration member).
      
      	* gtk/gtkclist.c:
      
      	Renamed gtk_clist_row_isvisable to .._is_visible
      
      	From: Maciej Stachowiak <mstachow@mit.edu>
      77715991
  24. 20 Feb, 1998 1 commit
  25. 19 Feb, 1998 1 commit
  26. 18 Feb, 1998 1 commit
  27. 08 Feb, 1998 1 commit
  28. 31 Jan, 1998 1 commit
    • Owen Taylor's avatar
      - Conformity to new reference counting schemes - Font and color · b38b6f5f
      Owen Taylor authored
      Fri Jan 30 22:28:09 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkclist.{c,h}:
      	   - Conformity to new reference counting schemes
      	   - Font and color information is no-longer taken from
      	     the (possibly unitialized) style before the widget
      	     is realized, but is obtained when needed. (Fixes
      	     problems with non-default styles)
      	   - white_gc => base_gc where appropriate
      	   - Handle graphics expose events correctly (or as
      	     correctly as anywhere else) so that scrolling when
      	     overlapped works.
      b38b6f5f
  29. 24 Jan, 1998 1 commit
  30. 21 Jan, 1998 1 commit
  31. 19 Jan, 1998 1 commit
    • Jay Painter's avatar
      GtkCList updates: Click-Drag column resizing, a couple of layout · 79f69b16
      Jay Painter authored
      fixes, show/hide functions for the title buttons, and I've replaced
      gtk_clist_new with gtk_clist_new_with_titles.  gtk_clist_new will
      create a list without title bars which can be added later by calling
      gtk_clist_set_column_(title/widget) for the column button you want to add.
      A column button for column 0 always exhists, and buttons span all columns
      until they come to the next exhisting button, or the last column. -Jay
      79f69b16
  32. 09 Jan, 1998 1 commit
  33. 06 Jan, 1998 1 commit
  34. 03 Jan, 1998 1 commit