You can also try to have a look at the help for the add
command. You can do either of these:
- invoke the
quickly help add
command
- invoke the
quickly tutorial
command and browse to the add
command reference
From the outupt of quickly help add
For instance 'quickly add dialog dialog-name' will create:
- A subclass of
Gtk.Dialog
called DialogNameDialog
in the module DialogNameDialog.py
- A glade file called DialogNameDialog.ui in the media/ui directory
- A catalog file called *dialog_name_dialog.xml* also in the media/ui directory
To edit the UI for the dialog, run:
$ quickly design
To edit the behavior, run:
$ quickly edit
To use the dialog you have to invoke it from another python file:
# 1. Import the dialog
import DialogNameDialog
# 2. Create an instance of the dialog
dialog = DialogNameDialog.DialogNameDialog()
# 3. Run the dialog and hide the dialog
result = dialog.run()
dialog.hide()