Re: Missing drag'n'drop methods in GtkTreeView



On Mon, 11 Aug 2003 12:50:28 -0400 (EDT), muppet wrote:

are there other functions in there that are needed?

I didn't need any, but since I felt like toying aroung with XS I
implemented the few missing ones:

  * gtk_tree_view_set_column_drag_function,
  * gtk_tree_view_map_expanded_rows,
  * gtk_tree_view_get_bin_window,
  * gtk_tree_view_widget_to_tree_coords[1],
  * gtk_tree_view_tree_to_widget_coords[1],
  * gtk_tree_view_set_drag_dest_row,
  * gtk_tree_view_get_drag_dest_row[1][2],
  * gtk_tree_view_get_dest_row_at_pos[1],
  * gtk_tree_view_set_search_equal_func and
  * gtk_tree_view_set_destroy_count_func.

[1] I'm not sure if I got the stack thingies (EXTEND, PUSHs) right.
    Please check it.

[2] I'm not sure if newSVGtkTreePath or _copy or _own should be used
    since I simply don't know the difference.

I failed implementing gtk_tree_view_get_search_equal_func due to a
"missing" entry in the typemap (GtkTreeViewSearchEqualFunc). I can't
tell whether it's /really/ missing or I simply did something wrong.

HTH,
-Torsten

Attachment: gtk2perl_tree_view_drag_and_drop_map_and_search_and_destroy_and_window_and_coords_functions.patch
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]