summaryrefslogtreecommitdiffstats
path: root/include/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/view.h')
-rw-r--r--include/view.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/include/view.h b/include/view.h
index f5deac96..a91d0e3d 100644
--- a/include/view.h
+++ b/include/view.h
@@ -187,14 +187,24 @@ void rofi_view_free ( RofiViewState *state );
RofiViewState * rofi_view_get_active ( void );
/**
- * @param state the new active view handle, NULL to clear.
+ * @param state the new active view handle.
*
- * Set the current active view Handle.
+ * Set the current active view Handle, If NULL passed a queued view is popped
+ * from stack.
*
*/
+
void rofi_view_set_active ( RofiViewState *state );
/**
+ * @param state remove view handle.
+ *
+ * remove state handle from queue, if current view, pop view from
+ * stack.
+ *
+ */
+void rofi_view_remove_active ( RofiViewState *state );
+/**
* @param msg The error message to show.
* @param markup The error message uses pango markup.
*
@@ -265,6 +275,7 @@ void rofi_view_clear_input ( RofiViewState *state );
* TODO: Internal call to view exposed.
*/
void __create_window ( MenuFlags menu_flags );
+
/**
* Get the handle of the main window.
*