gi-glib-0.2.44.12: GLib bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GLib.Structs.Tree

Contents

Description

The GTree struct is an opaque data structure representing a [balanced binary tree][glib-Balanced-Binary-Trees]. It should be accessed only by using the following functions.

Synopsis

Exported types

newtype Tree Source

Constructors

Tree (ForeignPtr Tree) 

Methods

treeDestroy

treeDestroy :: MonadIO m => Tree -> m () Source

treeHeight

treeInsert

treeInsert :: MonadIO m => Tree -> Ptr () -> Ptr () -> m () Source

treeLookupExtended

treeLookupExtended :: MonadIO m => Tree -> Ptr () -> Ptr () -> Ptr () -> m Bool Source

treeNnodes

treeRemove

treeRemove :: MonadIO m => Tree -> Ptr () -> m Bool Source

treeReplace

treeReplace :: MonadIO m => Tree -> Ptr () -> Ptr () -> m () Source

treeSteal

treeSteal :: MonadIO m => Tree -> Ptr () -> m Bool Source

treeUnref

treeUnref :: MonadIO m => Tree -> m () Source