.. 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.FileDialogRadioButton:
==========================================================================================================================================
|phoenix_title| **wx.FileDialogRadioButton**
==========================================================================================================================================
Represents a custom radio button inside :ref:`wx.FileDialog`.
Objects of this class can only be created by :meth:`wx.FileDialogCustomize.AddRadioButton` .
It is possible to bind to wxEVT_RADIOBUTTON events on this object, which will be generated when the radio button is selected.
See :ref:`wx.FileDialogCustomControl` for more information.
.. versionadded:: 4.1/wxWidgets-3.1.7
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
FileDialogRadioButton:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.FileDialogRadioButton.GetValue` Return ``True`` if the radio button is selected.
:meth:`~wx.FileDialogRadioButton.SetValue` Select the value of the radio button.
================================================================================ ================================================================================
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.FileDialogRadioButton.Value` See :meth:`~wx.FileDialogRadioButton.GetValue` and :meth:`~wx.FileDialogRadioButton.SetValue`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.FileDialogRadioButton(FileDialogCustomControl)
Represents a custom radio button inside FileDialog.
.. method:: GetValue(self)
Return ``True`` if the radio button is selected.
:rtype: `bool`
.. method:: SetValue(self, value : bool)
Select the value of the radio button.
Using ``False`` for `value` is not supported, this argument only exists for consistency with :meth:`wx.RadioButton.SetValue` .
:param `value`:
:type `value`: bool
:rtype: `None`
.. attribute:: Value
See :meth:`~wx.FileDialogRadioButton.GetValue` and :meth:`~wx.FileDialogRadioButton.SetValue`