.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.FileDialogCustomControl:
==========================================================================================================================================
|phoenix_title| **wx.FileDialogCustomControl**
==========================================================================================================================================
The base class for all :ref:`wx.FileDialog` custom controls.
Unlike normal controls, inheriting from :ref:`wx.Window`, custom controls in :ref:`wx.FileDialog` are not actual windows, but they do provide some window-like operations, and can be disabled or hidden, just as the windows are.
Also, similarly to the normal windows, objects of this and derived classes belong to wxWidgets and must `not` be deleted by the application code.
Unlike windows, custom controls cannot be created directly, but can only be returned from :ref:`wx.FileDialogCustomize` functions that are specifically provided for creating them.
.. versionadded:: 4.1/wxWidgets-3.1.7
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
FileDialogCustomControl:
|
|sub_classes| Known Subclasses
==============================
:ref:`wx.FileDialogButton`, :ref:`wx.FileDialogCheckBox`, :ref:`wx.FileDialogChoice`, :ref:`wx.FileDialogRadioButton`, :ref:`wx.FileDialogStaticText`, :ref:`wx.FileDialogTextCtrl`
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.FileDialogCustomControl.Disable` Disable this control.
:meth:`~wx.FileDialogCustomControl.Enable` Enable or disable this control.
:meth:`~wx.FileDialogCustomControl.Hide` Hide this control.
:meth:`~wx.FileDialogCustomControl.Show` Show or hide this control.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.FileDialogCustomControl(EvtHandler)
The base class for all FileDialog custom controls.
.. method:: Disable(self)
Disable this control.
This is equivalent to ``Enable(false)`` .
:rtype: `None`
.. method:: Enable(self, enable: bool=True)
Enable or disable this control.
:param `enable`:
:type `enable`: bool
:rtype: `None`
.. method:: Hide(self)
Hide this control.
This is equivalent to ``Show(false)`` .
:rtype: `None`
.. method:: Show(self, show: bool=True)
Show or hide this control.
:param `show`:
:type `show`: bool
:rtype: `None`