imageInspector — Phatch v0.2 documentation

### Navigation

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

# imageInspector

class `pyWx.imageInspector.` `AddTagDialog`(parent, keys, *args, **keyw)

  Bases: `pyWx.wxGlade.dialogsInspector.AddTagDialog`

  `GetModal`()
  `OnAdd`(event)
  `OnTagText`(event)

class `pyWx.imageInspector.` `Browser`(parent, tags, content_ctrl_keyw, *args, **keyw)

  Bases: `lib.pyWx.tag.Browser`

  `ContentCtrl`
    alias of `GridTag`
  `GetPaintMessage`()

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

  Bases: `wx._windows.Frame`

  class `Browser`(parent, tags, content_ctrl_keyw, *args, **keyw)

    Bases: `lib.pyWx.tag.Browser`

    `ContentCtrl`
      alias of `GridTag`
    `GetPaintMessage`()
  `Frame.` `GetGrid`()
  `Frame.` `OnActivate`(event)
  `Frame.` `OpenImage`(filename)
  `Frame.` `OpenImages`(filenames)

class `pyWx.imageInspector.` `Grid`(parent, thumb_size=(128, 128))

  Bases: `lib.pyWx.droplet.Mixin`, `wx.grid.Grid`

  `AddColumnRow`(col)
  `AddRow`()
  `Ask`(message, title='')
  `AskText`(question, value='', title='')
  `ChangeRowValues`(row)
  `CopyCellValue`(row, col)
  `CopyRowLabel`(row)
  `CreateRowLabelMenu`(menu, row)
  `DeleteCell`(row, col)
  `DeleteCols`(pos=0, num=1)
  `DeleteRows`(pos=0, num=1)
  `GetCellRowCol`(event=None)
  `OnColLabelPaint`(evt)
  `OnDrop`(filenames, x, y)
  `OnGridCellRightClicked`(event)
    (row, evt) -> display a popup menu when a row label is right clicked
  `OnGridColLabelRightClicked`(col)
  `OnGridLabelRightClicked`(event)
  `OnGridRowLabelRightClicked`(row)
  `OnKeyDown`(event)
  `OnRowLabelPaint`(evt)
  `OpenImage`(filename)
  `OpenImages`(filenames)
  `ProcessKey`(key_code, row, col, shift, ctrl, alt)
  `RefreshAll`(update_column=False)
  `RenameRowLabelValue`(row)
  `ShowError`(message, title=u'Image Inspector')
  `ShowMessage`(message, title='', style=260)
  class `Table`(thumb_size=(128, 128))

    Bases: `wx.grid.PyGridTableBase`

    `DeleteCols`(pos=0, num=1)
    `DeleteRows`(pos=0, num=1)
    `GetAttr`(row, col, kind)
    `GetColLabelValue`(col)
    `GetNumberCols`()
    `GetNumberRows`()
    `GetRowLabelValue`(row)
    `GetValue`(row, col)
    `IsEditableCell`(row, col)
    `IsEmptyCell`(row, col)
    `SetRowColours`(colors=(wx.Colour(254, 255, 255, 255), wx.Colour(250, 250, 250, 255)))
    `SetRowLabelValue`(row, value)
    `SetValue`(row, col, value)
  `Grid.` `UpdateRowsColsNumbers`()
    Only consider adding or removing rows.
  `Grid.` `UpdateThumbs`()
  `Grid.` `UpdateValues`()
    Update all displayed values

class `pyWx.imageInspector.` `GridTag`(parent, thumb_size=(128, 128))

  Bases: `pyWx.imageInspector.OpenMixin`, `lib.pyWx.tag.ContentMixin`, `pyWx.imageInspector.Grid`

  `IsEmpty`()
  `SetFilter`(filter=None)
  `SetTag`(tag)
    Filters from all_data to tag_data

class `pyWx.imageInspector.` `OpenMixin`

  Bases: `object`

  `GetTopLevelParent`()
  `OnOpen`(event)
  `OnOpenUrl`(event)
  `OpenImage`(filename)
  `OpenImages`(filenames)

class `pyWx.imageInspector.` `Table`(thumb_size=(128, 128))

  Bases: `wx.grid.PyGridTableBase`

  `DeleteCols`(pos=0, num=1)
  `DeleteRows`(pos=0, num=1)
  `GetAttr`(row, col, kind)
  `GetColLabelValue`(col)
  `GetNumberCols`()
  `GetNumberRows`()
  `GetRowLabelValue`(row)
  `GetValue`(row, col)
  `IsEditableCell`(row, col)
  `IsEmptyCell`(row, col)
  `SetRowColours`(colors=(wx.Colour(254, 255, 255, 255), wx.Colour(250, 250, 250, 255)))
  `SetRowLabelValue`(row, value)
  `SetValue`(row, col, value)

`pyWx.imageInspector.` `empty_bitmap`(width, height)

`pyWx.imageInspector.` `getPencilBitmap`()

`pyWx.imageInspector.` `getPencilData`()

`pyWx.imageInspector.` `getPencilImage`()

### Navigation

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