GTKD2 GValue Type

Sergey via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 19 00:28:34 PST 2014


On Wednesday, 19 November 2014 at 08:25:59 UTC, Kagamin wrote:
> If they are documented, see docs, otherwise see source.

source:
/**
	 * A variant of gtk_list_store_set_valist() which
	 * takes the columns and values as two arrays, instead of
	 * varargs. This function is mainly intended for
	 * language-bindings and in case the number of columns to
	 * change is not known until run-time.
	 * Since 2.12
	 * Params:
	 * iter = A valid GtkTreeIter for the row being modified
	 * columns = an array of column numbers. [array length=n_values]
	 * values = an array of GValues. [array length=n_values]
	 */
	public void setValuesv(TreeIter iter, int[] columns, GValue[] 
values)
	{
		// void gtk_list_store_set_valuesv (GtkListStore *list_store,  
GtkTreeIter *iter,  gint *columns,  GValue *values,  gint 
n_values);
		gtk_list_store_set_valuesv(gtkListStore, (iter is null) ? null 
: iter.getTreeIterStruct(), columns.ptr, values.ptr, cast(int) 
columns.length);
	}
*************************************************
DOC:

void setValuesv (TreeIter iter, int[] columns, GValue[] values);
     A variant of gtk_list_store_set_valist() which takes the 
columns and values as two arrays, instead of varargs. This 
function is mainly intended for language-bindings and in case the 
number of columns to change is not known until run-time. Since 
2.12

     Params:
     TreeIter iter 	A valid GtkTreeIter for the row being modified
     int[] columns 	an array of column numbers. [array 
length=n_values]
     GValue[] values 	an array of GValues. [array length=n_values]


More information about the Digitalmars-d mailing list