Gnome::UI::DateEdit Class Reference

Date and time entry widget. More...

#include <dateedit.h>

Inheritance diagram for Gnome::UI::DateEdit:

HBox

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 ()
Glib::SignalProxy0< void > signal_time_changed ()
Glib::PropertyProxy< gulong > property_time ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< DateEditFlags
property_dateedit_flags ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< int > property_lower_hour ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< int > property_upper_hour ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< gulong > property_initial_time ()
 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)


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 date_changed()

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

Prototype:
void time_changed()

Glib::PropertyProxy<gulong> Gnome::UI::DateEdit::property_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<DateEditFlags> Gnome::UI::DateEdit::property_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<int> Gnome::UI::DateEdit::property_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<int> Gnome::UI::DateEdit::property_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<gulong> Gnome::UI::DateEdit::property_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.


Friends And Related Function Documentation

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


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

Generated on Tue Mar 11 10:46:27 2008 for libgnomeuimm by  doxygen 1.5.5