Dialog Windows. More...
Go to the source code of this file.
Functions | |
struct MuttWindow * | dialog_find (struct MuttWindow *win) |
Find the parent Dialog of a Window. | |
void | dialog_pop (void) |
Hide a Window from the user. | |
void | dialog_push (struct MuttWindow *dlg) |
Display a Window to the user. | |
struct MuttWindow * | alldialogs_new (void) |
Create the AllDialogs Window. | |
Variables | |
struct MuttWindow * | AllDialogsWindow |
Parent of all Dialogs. | |
Dialog Windows.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file dialog.h.
struct MuttWindow * dialog_find | ( | struct MuttWindow * | win | ) |
Find the parent Dialog of a Window.
win | Window |
ptr | Dialog |
Dialog Windows will be owned by a MuttWindow of type WT_ALL_DIALOGS.
Definition at line 89 of file dialog.c.
void dialog_pop | ( | void | ) |
Hide a Window from the user.
The topmost (visible) Window is removed from the stack and the next Window is marked as visible.
Definition at line 142 of file dialog.c.
void dialog_push | ( | struct MuttWindow * | dlg | ) |
Display a Window to the user.
dlg | Window to display |
The Dialog Windows are kept in a stack. The topmost is visible to the user, whilst the others are hidden.
When a Window is pushed, the old Window is marked as not visible.
Definition at line 109 of file dialog.c.
struct MuttWindow * alldialogs_new | ( | void | ) |
Create the AllDialogs Window.
ptr | New AllDialogs Window |
Create the container for all the Dialogs.
Definition at line 210 of file dialog.c.
|
extern |