Audacity 3.2.0
Public Member Functions | Static Public Attributes | List of all members
wxDirDialogWrapper Class Reference

#include <wxPanelWrapper.h>

Inheritance diagram for wxDirDialogWrapper:
[legend]
Collaboration diagram for wxDirDialogWrapper:
[legend]

Public Member Functions

 wxDirDialogWrapper (wxWindow *parent, const TranslatableString &message=DefaultDialogPrompt, const wxString &defaultPath={}, long style=wxDD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, const TranslatableString &name=XO("Directory Dialog"))
 
void Create (wxWindow *parent, const TranslatableString &message=XO("Select a directory"), const wxString &defaultPath={}, long style=wxDD_DEFAULT_STYLE, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, const TranslatableString &name=XO("Directory Dialog"))
 
- Public Member Functions inherited from wxTabTraversalWrapper< wxDirDialog >
 wxTabTraversalWrapper (Args &&... args)
 
 wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete
 
 wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete
 
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
 
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete
 

Static Public Attributes

static const TranslatableString DefaultDialogPrompt = XO("Select a directory")
 

Detailed Description

Definition at line 123 of file wxPanelWrapper.h.

Constructor & Destructor Documentation

◆ wxDirDialogWrapper()

wxDirDialogWrapper::wxDirDialogWrapper ( wxWindow *  parent,
const TranslatableString message = DefaultDialogPrompt,
const wxString &  defaultPath = {},
long  style = wxDD_DEFAULT_STYLE,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
const TranslatableString name = XO("Directory Dialog") 
)
inline

Definition at line 130 of file wxPanelWrapper.h.

133 {},
134 long style = wxDD_DEFAULT_STYLE,
135 const wxPoint& pos = wxDefaultPosition,
136 const wxSize& size = wxDefaultSize,
137 // Important: default window name localizes!
138 const TranslatableString& name = XO("Directory Dialog"))
140 parent, message.Translation(), defaultPath, style, pos, size,
141 name.Translation() )
142 {}
XO("Cut/Copy/Paste")
wxString name
Definition: TagsEditor.cpp:166
Holds a msgid for the translation catalog; may also bind format arguments.
wxString Translation() const

Member Function Documentation

◆ Create()

void wxDirDialogWrapper::Create ( wxWindow *  parent,
const TranslatableString message = XO("Select a directory"),
const wxString &  defaultPath = {},
long  style = wxDD_DEFAULT_STYLE,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
const TranslatableString name = XO("Directory Dialog") 
)
inline

Definition at line 145 of file wxPanelWrapper.h.

148 {},
149 long style = wxDD_DEFAULT_STYLE,
150 const wxPoint& pos = wxDefaultPosition,
151 const wxSize& size = wxDefaultSize,
152 // Important: default window name localizes!
153 const TranslatableString& name = XO("Directory Dialog"))
154 {
156 parent, message.Translation(), defaultPath, style, pos, size,
157 name.Translation() );
158 }

Member Data Documentation

◆ DefaultDialogPrompt

const TranslatableString wxDirDialogWrapper::DefaultDialogPrompt = XO("Select a directory")
static

Definition at line 127 of file wxPanelWrapper.h.

Referenced by EffectsLocationPanel::OnBrowseClicked().


The documentation for this class was generated from the following files: