OpenCPN Partial API docs
Loading...
Searching...
No Matches
wxScrollingDialog Class Reference

#include <scrollingdialog.h>

Inheritance diagram for wxScrollingDialog:
wxDialogHelper

Public Member Functions

 wxScrollingDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
 
bool Create (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
 
void Init ()
 
virtual bool Show (bool show=true)
 Override Show to rejig the control and sizer hierarchy if necessary. More...
 
virtual int ShowModal ()
 Override ShowModal to rejig the control and sizer hierarchy if necessary. More...
 
- Public Member Functions inherited from wxDialogHelper
 wxDialogHelper (wxDialog *dialog=NULL)
 
void Init ()
 
void SetDialog (wxDialog *dialog)
 
wxDialog * GetDialog () const
 
virtual bool DoLayoutAdaptation ()
 Do the adaptation. More...
 
virtual bool CanDoLayoutAdaptation ()
 Can we do the adaptation? More...
 
virtual wxWindow * GetContentWindow () const
 Returns a content window if there is one. More...
 
void AddButtonId (wxWindowID id)
 Add an id to the list of custom button identifiers that should be in the button sizer. More...
 
std::vector< int > & GetButtonIds ()
 
bool IsUserButtonId (wxWindowID id)
 Is this id in the custom button id array? More...
 
void SetLayoutAdaptationLevel (int level)
 Level of adaptation, from none (Level 0) to full (Level 3). More...
 
int GetLayoutAdaptationLevel () const
 Get level of adaptation. More...
 
void SetLayoutAdaptationDone (bool adaptationDone)
 Returns true if the adaptation has been done. More...
 
bool GetLayoutAdaptationDone () const
 

Additional Inherited Members

- Static Public Member Functions inherited from wxDialogHelper
static wxDialogLayoutAdapterSetLayoutAdapter (wxDialogLayoutAdapter *adapter)
 Set layout adapter class, returning old adapter. More...
 
static wxDialogLayoutAdapterGetLayoutAdapter ()
 
static bool GetLayoutAdaptation ()
 Global switch for layout adaptation. More...
 
static void SetLayoutAdaptation (bool enable)
 
- Protected Attributes inherited from wxDialogHelper
wxDialog * m_dialog
 
bool m_layoutLayoutAdaptationDone
 
std::vector< int > m_buttonIds
 
int m_layoutAdaptationLevel
 
- Static Protected Attributes inherited from wxDialogHelper
static wxDialogLayoutAdaptersm_layoutAdapter = NULL
 
static bool sm_layoutAdaptation = true
 

Detailed Description

A class that makes its content scroll if necessary

Definition at line 172 of file scrollingdialog.h.

Constructor & Destructor Documentation

◆ wxScrollingDialog() [1/2]

wxScrollingDialog::wxScrollingDialog ( )
inline

Definition at line 175 of file scrollingdialog.h.

◆ wxScrollingDialog() [2/2]

wxScrollingDialog::wxScrollingDialog ( wxWindow *  parent,
int  id = wxID_ANY,
const wxString &  title = wxEmptyString,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE 
)
inline

Definition at line 176 of file scrollingdialog.h.

Member Function Documentation

◆ Create()

bool wxScrollingDialog::Create ( wxWindow *  parent,
int  id = wxID_ANY,
const wxString &  title = wxEmptyString,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE 
)

Definition at line 421 of file scrollingdialog.cpp.

◆ Init()

void wxScrollingDialog::Init ( )

wxScrollingDialog

Definition at line 419 of file scrollingdialog.cpp.

◆ Show()

bool wxScrollingDialog::Show ( bool  show = true)
virtual

Override Show to rejig the control and sizer hierarchy if necessary.

Definition at line 428 of file scrollingdialog.cpp.

◆ ShowModal()

int wxScrollingDialog::ShowModal ( )
virtual

Override ShowModal to rejig the control and sizer hierarchy if necessary.

Definition at line 435 of file scrollingdialog.cpp.


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