+2009-04-03 Alberto Garcia <agarcia@igalia.com>
+
+ * doc/hildon-sections.txt
+ * src/hildon-window-stack.h
+ * src/hildon-window-stack.c
+ (+hildon_window_stack_get_windows):
+ New API to obtain the list of windows on a stack.
+
2009-04-02 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_popup)
hildon_window_stack_get_default
hildon_window_stack_new
hildon_window_stack_size
+hildon_window_stack_get_windows
hildon_window_stack_peek
hildon_window_stack_push
hildon_window_stack_push_list
}
/**
+ * hildon_window_stack_get_windows:
+ * @stack: a #HildonWindowStack
+ *
+ * Returns the list of windows on this stack (topmost first). The
+ * widgets in the list are not individually referenced. Once you are
+ * done with the list you must call g_list_free().
+ *
+ * Returns: a newly-allocated list of #HildonStackableWindow<!-- -->s
+ **/
+GList *
+hildon_window_stack_get_windows (HildonWindowStack *stack)
+{
+ g_return_val_if_fail (HILDON_IS_WINDOW_STACK (stack), NULL);
+
+ return g_list_copy (stack->priv->list);
+}
+
+/**
* hildon_window_stack_peek:
* @stack: A %HildonWindowStack
*
gint
hildon_window_stack_size (HildonWindowStack *stack);
+GList *
+hildon_window_stack_get_windows (HildonWindowStack *stack);
+
GtkWidget *
hildon_window_stack_peek (HildonWindowStack *stack);