GtkTreeRowReference* gtk_tree_row_reference_new_proxy ( GObject* proxy, GtkTreeModel* model, GtkTreePath* path )
You do not need to use this function.
Creates a row reference based on
This reference will keep pointing to the node pointed to
path, so long as it exists. If
path isn’t a valid
NULL is returned. However, unlike
references created with gtk_tree_row_reference_new(), it
does not listen to the model for changes. The creator of
the row reference must do this explicitly using
gtk_tree_row_reference_inserted(), gtk_tree_row_reference_deleted(), gtk_tree_row_reference_reordered().
These functions must be called exactly once per proxy when the
corresponding signal on the model is emitted. This single call
updates all row references for that proxy. Since built-in GTK
GtkTreeView already use this mechanism internally,
using them as the proxy object will produce unpredictable results.
Further more, passing the same object as
doesn’t work for reasons of internal implementation.
This type of row reference is primarily meant by structures that need to carefully monitor exactly when a row reference updates itself, and is not generally needed by most applications.
Deprecated since: 4.10
Please do not use it in newly written code.
A newly allocated
|The caller of the function takes ownership of the data, and is responsible for freeing it.|
|The return value can be |