Session Bin
WpSessionBin
GObject ╰──WpSessionItem ╰──WpSessionBin
Members
parent_instance
(WpSessionItem)
–
Class structure
WpSessionBin
GObject ╰──WpSessionItem ╰──WpSessionBin
Members
parent_instance
(WpSessionItem)
–
WpSessionBin
GObject ╰──WpSessionItem ╰──WpSessionBin
Members
parent_instance
(WpSessionItem)
–
Constructors
wp_session_bin_new
WpSessionBin * wp_session_bin_new ()
Creates a new session bin.
Wp.SessionBin.new
def Wp.SessionBin.new ():
#python wrapper for 'wp_session_bin_new'
Creates a new session bin.
Wp.SessionBin.prototype.new
function Wp.SessionBin.prototype.new(): {
// javascript wrapper for 'wp_session_bin_new'
}
Creates a new session bin.
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
–
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
)
–
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
)
–
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
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
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
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
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
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
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
–
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
)
–
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
)
–
TRUE if the item was removed from the session bin, FALSE otherwise
Constants
The results of the search are