class OpenWithMenu(Gtk.Menu): (source)
CustomizeOpenWithDialog
and allows the user to add custom commands.Method | __init__ |
Constructor |
Method | on_activate |
Undocumented |
Method | on_activate_customize |
Undocumented |
Constant | CUSTOMIZE |
Undocumented |
Instance Variable | file |
Undocumented |
Instance Variable | mimetype |
Undocumented |
Instance Variable | _window |
Undocumented |
Parameters | |
widget | parent widget, needed to pop dialogs correctly |
file | a File object or URL |
mimetype | the mime-type of the application, if already known. Providing this arguments prevents redundant lookups of the type (which is slow). |