Editing Legacy Maemo 5 Documentation/Graphical UI Tutorial/Windows and dialogs
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 151: | Line 151: | ||
</source> | </source> | ||
- | The push functions also displays the window. <code> | + | The push functions also displays the window. <code>gtk_window_show()</code> is not needed after a push operation. |
A function also exists to push a list of windows in a single step. Windows are stacked in the listed order and users only see the window that was last pushed. | A function also exists to push a list of windows in a single step. Windows are stacked in the listed order and users only see the window that was last pushed. | ||
Line 196: | Line 196: | ||
* Each window can only be in one stack at a time. | * Each window can only be in one stack at a time. | ||
- | Due to the first one, a push operation always shows the window and a pop operation always hides the window. Functions <code>gtk_widget_show()</code> and <code> | + | Due to the first one, a push operation always shows the window and a pop operation always hides the window. Functions <code>gtk_widget_show()</code> and <code>gtk_window_hide()</code> always push and remove the window from its current stack, respectively. |
Regarding the second one, operation push has no effect on windows which are already on a stack. | Regarding the second one, operation push has no effect on windows which are already on a stack. |
Learn more about Contributing to the wiki.