dialogs — Phatch v0.2 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- pyWx »

# dialogs

class `pyWx.dialogs.` `ActionBrowser`(parent, tags, content_ctrl_keyw, *args, **keyw)

  Bases: `lib.pyWx.tag.Browser`

  `ContentCtrl`
    alias of `ActionListBox`

class `pyWx.dialogs.` `ActionDialog`(parent, actions, tag='default', **keyw)

  Bases: `lib.pyWx.paint.Mixin`, `lib.pyWx.vlistTag.Dialog`

  `ContentBrowser`
    alias of `ActionBrowser`
  `ExtractTags`(actions)
    Called by SetActions.
  `GetListBox`()
  `GetStringSelection`()
  `GetTagSelection`()
  `OnActivate`(event)

class `pyWx.dialogs.` `ActionListBox`(parent, *args, **kwds)

  Bases: `lib.pyWx.tag.ContentMixin`, `lib.pyWx.vlist.Box`

  `GetItem`(n)
  `GetStringSelection`()
  `IsEmpty`()
  `OnContextMenu`(event)
  `OnViewSource`(event)
  `RefreshList`()
  `SetActions`(actions)
  `SetFilter`(filter)
  `SetTag`(tag=u'All')
  `TranslateAction`(action)

class `pyWx.dialogs.` `BrowseMixin`
  `show_dir_dialog`(defaultPath, message=u'Choose a folder', style=536877056)

class `pyWx.dialogs.` `ErrorDialog`(parent, message, ignore=True, **keyw)

  Bases: `pyWx.wxGlade.dialogs.ErrorDialog`, `pyWx.dialogs.IconMixin`

  `on_abort`(event)
  `on_ignore`(event)
  `on_skip`(event)

class `pyWx.dialogs.` `ExecuteDialog`(parent, drop=False, **options)

  Bases: `pyWx.dialogs.BrowseMixin`, `pyWx.wxGlade.dialogs.ExecuteDialog`

  `browse_files`()
  `browse_folder`()
  `export_settings`(settings)
  `get_default_path`()
  `get_selected_extensions`()
  `import_settings`(settings)
  `on_browse`(event)
  `on_default`(event)
  `on_source`(event)
  `set_drop`(drop)
  `wildcard`()

class `pyWx.dialogs.` `FilesDialog`(parent, message, title, files, icon='warning', **keyw)
  Bases: `pyWx.wxGlade.dialogs.FilesDialog`, `pyWx.dialogs.IconMixin`

class `pyWx.dialogs.` `IconMixin`

class `pyWx.dialogs.` `ImageInspectorBrowser`(parent, tags, content_ctrl_keyw, *args, **keyw)

  Bases: `lib.pyWx.imageInspector.Browser`

  `ContentCtrl`
    alias of `ImageInspectorGrid`

class `pyWx.dialogs.` `ImageInspectorFrame`(parent, filename='', icon=None, thumb_size=(128, 128), *args, **kwds)

  Bases: `lib.pyWx.imageInspector.Frame`

  `Browser`
    alias of `ImageInspectorBrowser`

class `pyWx.dialogs.` `ImageInspectorGrid`(parent, thumb_size=(128, 128))

  Bases: `lib.pyWx.imageInspector.GridTag`

  `CreateRowLabelMenu`(menu, row)
  `HasActionList`()
  `InsertTagInActionList`(row)
  `ProcessKey`(key_code, row, col, shift, ctrl, alt)

class `pyWx.dialogs.` `ImageTreeDialog`(*args, **keyw)

  Bases: `pyWx.wxGlade.dialogs.ImageTreeDialog`

  `SetColumnWidths`(*widths)
  `SetData`(data)
  `SetOkLabel`(label)
  `ShowButtons`(visible)
  `UpdateHeaders`(headers=None)
  `inspect`(path)
  `inspect_list_item`(index)
  `inspect_tree_item`(item)
  `on_list_item_right_click`(event)
  `on_tree_item_right_click`(event)

class `pyWx.dialogs.` `ProgressDialog`(parent, title, parent_max=1, child_max=1, message='')

  Bases: `wx._windows.ProgressDialog`, `core.message.ProgressReceiver`

  +1 is added because eg opening a file is also an action

  `close`(event=None)
  `sleep`()
  `update`(result, value, **message)
    Fix for wxPython2.6

class `pyWx.dialogs.` `StatusDialog`(*args, **kwds)

  Bases: `pyWx.wxGlade.dialogs.StatusDialog`

  `SetMessage`(text, report=None)
  `on_button_log`(event)
  `on_button_report`(event)

class `pyWx.dialogs.` `WritePluginDialog`(parent, message, **keyw)

  Bases: `pyWx.wxGlade.dialogs.WritePluginDialog`, `pyWx.dialogs.IconMixin`

  `on_help`(event)
  `on_template`(event)
  `template_show`(show)

`pyWx.dialogs.` `example`()

`pyWx.dialogs.` `get_max_height`(height=510)

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- pyWx »