CustomSorter.this

Creates a new GtkSorter that works by calling @sort_func to compare items.

If @sort_func is %NULL, all items are considered equal.

  1. this(GtkCustomSorter* gtkCustomSorter, bool ownedRef)
  2. this(GCompareDataFunc sortFunc, void* userData, GDestroyNotify userDestroy)
    class CustomSorter
    this
    (
    GCompareDataFunc sortFunc
    ,
    void* userData
    ,
    GDestroyNotify userDestroy
    )

Parameters

sortFunc GCompareDataFunc

the GCompareDataFunc to use for sorting

userData void*

user data to pass to @sort_func

userDestroy GDestroyNotify

destroy notify for @user_data

Return Value

a new GtkCustomSorter

Throws

ConstructionException GTK+ fails to create the object.

Meta