Session Bin

WpSessionBin

GObject
    ╰──WpSessionItem
        ╰──WpSessionBin

Members

parent_instance (WpSessionItem) –
No description available

Class structure

WpSessionBinClass

Fields
parent_class (WpSessionItemClass) –
No description available

Wp.SessionBinClass

Attributes
parent_class (Wp.SessionItemClass) –
No description available

Wp.SessionBinClass

Attributes
parent_class (Wp.SessionItemClass) –
No description available

WpSessionBin

GObject
    ╰──WpSessionItem
        ╰──WpSessionBin

Members

parent_instance (WpSessionItem) –
No description available

WpSessionBin

GObject
    ╰──WpSessionItem
        ╰──WpSessionBin

Members

parent_instance (WpSessionItem) –
No description available

Constructors

wp_session_bin_new

WpSessionBin *
wp_session_bin_new ()

Creates a new session bin.

Returns
No description available

Wp.SessionBin.new

def Wp.SessionBin.new ():
    #python wrapper for 'wp_session_bin_new'

Creates a new session bin.

Returns ( Wp.SessionBin ) –
No description available

Wp.SessionBin.prototype.new

function Wp.SessionBin.prototype.new(): {
    // javascript wrapper for 'wp_session_bin_new'
}

Creates a new session bin.

Returns ( Wp.SessionBin ) –
No description available

Methods

wp_session_bin_add

gboolean
wp_session_bin_add (WpSessionBin * self,
                    WpSessionItem * item)

Adds a session item into a session bin.

Parameters:

self

the session bin item (transfer full): the session item to be added

item
No description available
Returns

TRUE if the item was added into the session bin, FALSE otherwise


Wp.SessionBin.add

def Wp.SessionBin.add (self, item):
    #python wrapper for 'wp_session_bin_add'

Adds a session item into a session bin.

Parameters:

self ( Wp.SessionBin ) –

the session bin item (transfer full): the session item to be added

item ( Wp.SessionItem ) –
No description available
Returns ( bool ) –

TRUE if the item was added into the session bin, FALSE otherwise


Wp.SessionBin.prototype.add

function Wp.SessionBin.prototype.add(item: Wp.SessionItem): {
    // javascript wrapper for 'wp_session_bin_add'
}

Adds a session item into a session bin.

Parameters:

self ( Wp.SessionBin ) –

the session bin item (transfer full): the session item to be added

item ( Wp.SessionItem ) –
No description available
Returns ( Number ) –

TRUE if the item was added into the session bin, FALSE otherwise


wp_session_bin_get_n_children

guint
wp_session_bin_get_n_children (WpSessionBin * self)

Parameters:

self

the session bin

Returns

the number of child items in the bin


Wp.SessionBin.get_n_children

def Wp.SessionBin.get_n_children (self):
    #python wrapper for 'wp_session_bin_get_n_children'

Parameters:

self ( Wp.SessionBin ) –

the session bin

Returns ( int ) –

the number of child items in the bin


Wp.SessionBin.prototype.get_n_children

function Wp.SessionBin.prototype.get_n_children(): {
    // javascript wrapper for 'wp_session_bin_get_n_children'
}

Parameters:

self ( Wp.SessionBin ) –

the session bin

Returns ( Number ) –

the number of child items in the bin


wp_session_bin_iterate

WpIterator *
wp_session_bin_iterate (WpSessionBin * self)

Gets an iterator to iterate throught all session items.

Returns (transfer full): The session bin iterator.

Parameters:

self

the session bin item (transfer none): the session item to be removed

Returns
No description available

Wp.SessionBin.iterate

def Wp.SessionBin.iterate (self):
    #python wrapper for 'wp_session_bin_iterate'

Gets an iterator to iterate throught all session items.

Returns (transfer full): The session bin iterator.

Parameters:

self ( Wp.SessionBin ) –

the session bin item (transfer none): the session item to be removed

Returns ( Wp.Iterator ) –
No description available

Wp.SessionBin.prototype.iterate

function Wp.SessionBin.prototype.iterate(): {
    // javascript wrapper for 'wp_session_bin_iterate'
}

Gets an iterator to iterate throught all session items.

Returns (transfer full): The session bin iterator.

Parameters:

self ( Wp.SessionBin ) –

the session bin item (transfer none): the session item to be removed

Returns ( Wp.Iterator ) –
No description available

wp_session_bin_remove

gboolean
wp_session_bin_remove (WpSessionBin * self,
                       WpSessionItem * item)

Removes a session item from a session bin.

Parameters:

self

the session bin item (transfer none): the session item to be removed

item
No description available
Returns

TRUE if the item was removed from the session bin, FALSE otherwise


Wp.SessionBin.remove

def Wp.SessionBin.remove (self, item):
    #python wrapper for 'wp_session_bin_remove'

Removes a session item from a session bin.

Parameters:

self ( Wp.SessionBin ) –

the session bin item (transfer none): the session item to be removed

item ( Wp.SessionItem ) –
No description available
Returns ( bool ) –

TRUE if the item was removed from the session bin, FALSE otherwise


Wp.SessionBin.prototype.remove

function Wp.SessionBin.prototype.remove(item: Wp.SessionItem): {
    // javascript wrapper for 'wp_session_bin_remove'
}

Removes a session item from a session bin.

Parameters:

self ( Wp.SessionBin ) –

the session bin item (transfer none): the session item to be removed

item ( Wp.SessionItem ) –
No description available
Returns ( Number ) –

TRUE if the item was removed from the session bin, FALSE otherwise


Constants

WP_TYPE_SESSION_BIN

#define WP_TYPE_SESSION_BIN (wp_session_bin_get_type ())

The WpSessionBin GType


The results of the search are