gtk4

Function tree_get_row_drag_data

Source
pub fn tree_get_row_drag_data(
    value: &Value,
) -> Option<(Option<TreeModel>, Option<TreePath>)>
👎Deprecated: Since 4.10
Expand description

Obtains a @tree_model and @path from value of target type GTK_TYPE_TREE_ROW_DATA.

The returned path must be freed with gtk_tree_path_free().

§Deprecated since 4.10

Use list models instead

§value

a GValue

§Returns

true if @selection_data had target type GTK_TYPE_TREE_ROW_DATA is otherwise valid

§tree_model

a TreeModel

§path

row in @tree_model