GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.FileDialogChoice
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.FileDialogChoice — wxPython 4.3.2 Docs

phoenix_title wx.FileDialogChoice¶

Represents a custom read-only combobox inside wx.FileDialog.

Objects of this class can only be created by wx.FileDialogCustomize.AddChoice .

It is possible to bind to wxEVT_CHOICE events on this object, which will be generated when the selection in the combobox changes.

See wx.FileDialogCustomControl for more information.

Added in version 4.1/wxWidgets-3.1.7.


class_hierarchy Class Hierarchy¶

Inheritance diagram for class FileDialogChoice:

Inheritance diagram of FileDialogChoice


method_summary Methods Summary¶

GetSelection

Return the index of the selected item, possibly wx.NOT_FOUND.

SetSelection

Set the selection to the item with the given index.


property_summary Properties Summary¶

Selection

See GetSelection and SetSelection


api Class API¶

class wx.FileDialogChoice(FileDialogCustomControl)¶

Represents a custom read-only combobox inside FileDialog.


Methods¶

GetSelection(self)¶

Return the index of the selected item, possibly wx.NOT_FOUND.

Return type:

int



SetSelection(self, n)¶

Set the selection to the item with the given index.

Using NOT_FOUND for n is not supported, once a selection is made it cannot be undone.

Parameters:

n (int)

Return type:

None


Properties¶

Selection¶

See GetSelection and SetSelection

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.