OpenCPN Partial API docs
Loading...
Searching...
No Matches
TimeCtrl Class Reference
Inheritance diagram for TimeCtrl:

Public Member Functions

 TimeCtrl (wxWindow *parent, wxWindowID id, const wxDateTime &value=wxDefaultDateTime, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxTextCtrlNameStr)
 
void SetValue (const wxDateTime val)
 
wxDateTime GetValue ()
 
void OnChar (wxKeyEvent &event)
 
void OnKillFocus (wxFocusEvent &event)
 
bool GetTime (int *hour, int *min, int *sec)
 

Detailed Description

Definition at line 39 of file time_textbox.h.

Constructor & Destructor Documentation

◆ TimeCtrl()

TimeCtrl::TimeCtrl ( wxWindow *  parent,
wxWindowID  id,
const wxDateTime &  value = wxDefaultDateTime,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = wxTextCtrlNameStr 
)
inline

Definition at line 41 of file time_textbox.h.

Member Function Documentation

◆ GetTime()

bool TimeCtrl::GetTime ( int *  hour,
int *  min,
int *  sec 
)
inline

Definition at line 86 of file time_textbox.h.

◆ GetValue()

wxDateTime TimeCtrl::GetValue ( )
inline

Definition at line 62 of file time_textbox.h.

◆ OnChar()

void TimeCtrl::OnChar ( wxKeyEvent &  event)
inline

Definition at line 75 of file time_textbox.h.

◆ OnKillFocus()

void TimeCtrl::OnKillFocus ( wxFocusEvent &  event)
inline

Definition at line 82 of file time_textbox.h.

◆ SetValue()

void TimeCtrl::SetValue ( const wxDateTime  val)
inline

Definition at line 54 of file time_textbox.h.


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