Panda3D

Loading...
Searching...
No Matches
Classes | Functions
direct.gui.DirectDialog Namespace Reference

## Classes
class | DirectDialog
class | OkCancelDialog
class | OkDialog
class | RetryCancelDialog
class | YesNoCancelDialog
class | YesNoDialog

## Functions
| cleanupDialog (uniqueName)
| findDialog (uniqueName)

## Detailed Description

    This module defines various dialog windows for the DirectGUI system.

    See the :ref:`directdialog` page in the programming manual for a more
    in-depth explanation and an example of how to use this class.

## Function Documentation

## ◆ cleanupDialog()

cleanupDialog | ( |  | uniqueName | ) |

    cleanupPanel(string uniqueName)

    Cleans up (removes) the panel with the given uniqueName.  This
    may be useful when some panels know about each other and know
    that opening panel A should automatically close panel B, for
    instance.

## ◆ findDialog()

findDialog | ( |  | uniqueName | ) |

    Returns the panel whose uniqueName is given.  This is mainly
    useful for debugging, to get a pointer to the current onscreen
    panel of a particular type.