Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

time_control Class Reference

A control for entering a time: has spinners for hours and minutes. More...

#include <time_control.h>

List of all members.


Public Methods

  time_control (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, const wxString &name="the_time_control")
  Constructor.

  time_control ()
  ~time_control ()
  Destructor.

wxDateTime  get_time ()
wxDateTime::wxDateTime_t  get_hour ()
wxDateTime::wxDateTime_t  get_minute ()
void  set_time (const wxDateTime &input_time)
void  set_hour (const wxDateTime::wxDateTime_t input_hour)
void  set_minute (const wxDateTime::wxDateTime_t input_minute)
void  enable (bool do_enable)

Detailed Description

A control for entering a time: has spinners for hours and minutes.

Constructor & Destructor Documentation

time_control::time_control wxWindow *    parent,
wxWindowID    id = -1,
const wxPoint &    pos = wxDefaultPosition,
const wxSize &    size = wxDefaultSize,
const wxString &    name = "the_time_control"
 

Constructor.

Parameters:
parent  The parent window.
id  The id of the progress_listbox. Will usually be -1 unless multiple of them on the same dialog.
pos  The pixel position of the listctrl on its parent window
size  The pixel size of the listctrl
style  Style of the listbox. See wxWindows wxListBox docs for details.
name  Windows name (rarely used).