Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkTreeRowReferenceNewProxy

gtkTreeRowReferenceNewProxy


Description

You do not need to use this function. Creates a row reference based on path. This reference will keep pointing to the node pointed to by path, so long as it exists. If path isn't a valid path in model, then NULL is returned. However, unlike references created with gtkTreeRowReferenceNew, it does not listen to the model for changes. The creator of the row reference must do this explicitly using gtkTreeRowReferenceInserted, gtkTreeRowReferenceDeleted, gtkTreeRowReferenceReordered.

Usage

gtkTreeRowReferenceNewProxy(proxy, model, path)

Arguments

proxy

A proxy GObject

model

A GtkTreeModel

path

A valid GtkTreePath to monitor

Details

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+ objects like GtkTreeView already use this mechanism internally, using them as the proxy object will produce unpredictable results. Further more, passing the same object as model and proxy 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.

Value

[GtkTreeRowReference] A newly allocated GtkTreeRowReference, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.