Gnome::UI::DateEdit Class Reference

Date and time entry widget. More...

#include <dateedit.h>

Inheritance diagram for Gnome::UI::DateEdit:
[legend]

List of all members.

Public Member Functions

virtual ~DateEdit ()
GnomeDateEdit * gobj ()
 Provides access to the underlying C GtkObject.
const GnomeDateEdit * gobj () const
 Provides access to the underlying C GtkObject.
 DateEdit (time_t, bool show_time=true, bool use_24_format=true)
 DateEdit (time_t the_time=0, DateEditFlags flags=DATE_EDIT_SHOW_TIME)
void set_time (time_t the_time)
time_t get_time () const
void set_popup_range (int low_hour, int up_hour)
void set_flags (DateEditFlags flags)
DateEditFlags get_flags () const
time_t get_initial_time () const
Glib::SignalProxy0
< void > 
signal_date_changed ()
 
Prototype:
void on_my_date_changed()

Glib::SignalProxy0
< void > 
signal_time_changed ()
 
Prototype:
void on_my_time_changed()

Glib::PropertyProxy
< gulong > 
_time ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< gulong > 
_time () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< DateEditFlags
_dateedit_flags ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< DateEditFlags
_dateedit_flags () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< int > 
_lower_hour ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< int > 
_lower_hour () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< int > 
_upper_hour ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< int > 
_upper_hour () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< gulong > 
_initial_time ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< gulong > 
_initial_time () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Protected Member Functions

virtual void on_date_changed ()
virtual void on_time_changed ()

Related Functions

(Note that these are not member functions.)

Gnome::UI::DateEditwrap (GnomeDateEdit *object, bool take_copy=false)
 A Glib::wrap() method for this object.


Detailed Description

Date and time entry widget.

This widget provides a way to enter dates and times with a helper calendar to let the user select the date.


Constructor & Destructor Documentation

virtual Gnome::UI::DateEdit::~DateEdit (  )  [virtual]

Gnome::UI::DateEdit::DateEdit ( time_t  ,
bool  show_time = true,
bool  use_24_format = true 
)

Gnome::UI::DateEdit::DateEdit ( time_t  the_time = 0,
DateEditFlags  flags = DATE_EDIT_SHOW_TIME 
)


Member Function Documentation

GnomeDateEdit* Gnome::UI::DateEdit::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

const GnomeDateEdit* Gnome::UI::DateEdit::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

virtual void Gnome::UI::DateEdit::on_date_changed (  )  [protected, virtual]

virtual void Gnome::UI::DateEdit::on_time_changed (  )  [protected, virtual]

void Gnome::UI::DateEdit::set_time ( time_t  the_time  ) 

time_t Gnome::UI::DateEdit::get_time (  )  const

void Gnome::UI::DateEdit::set_popup_range ( int  low_hour,
int  up_hour 
)

void Gnome::UI::DateEdit::set_flags ( DateEditFlags  flags  ) 

DateEditFlags Gnome::UI::DateEdit::get_flags (  )  const

time_t Gnome::UI::DateEdit::get_initial_time (  )  const

Glib::SignalProxy0< void > Gnome::UI::DateEdit::signal_date_changed (  ) 

Prototype:
void on_my_date_changed()

Glib::SignalProxy0< void > Gnome::UI::DateEdit::signal_time_changed (  ) 

Prototype:
void on_my_time_changed()

Glib::PropertyProxy<gulong> Gnome::UI::DateEdit::_time (  ) 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<gulong> Gnome::UI::DateEdit::_time (  )  const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<DateEditFlags> Gnome::UI::DateEdit::_dateedit_flags (  ) 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<DateEditFlags> Gnome::UI::DateEdit::_dateedit_flags (  )  const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> Gnome::UI::DateEdit::_lower_hour (  ) 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> Gnome::UI::DateEdit::_lower_hour (  )  const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> Gnome::UI::DateEdit::_upper_hour (  ) 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> Gnome::UI::DateEdit::_upper_hour (  )  const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<gulong> Gnome::UI::DateEdit::_initial_time (  ) 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<gulong> Gnome::UI::DateEdit::_initial_time (  )  const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.


Friends And Related Function Documentation

Gnome::UI::DateEdit * wrap ( GnomeDateEdit *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:
Generated on Thu Sep 20 10:47:25 2007 for libgnomeuimm by  doxygen 1.5.3