libgnomeuimm 2.28.0
Public Member Functions | Protected Member Functions | Related Functions | List of all members
Gnome::UI::DateEdit Class Reference

Date and time entry widget. More...

#include <dateedit.h>

Inheritance diagram for Gnome::UI::DateEdit:

Public Member Functions

virtual ~DateEdit ()
 
GnomeDateEdit * gobj ()
 Provides access to the underlying C GtkObject. More...
 
const GnomeDateEdit * gobj () const
 Provides access to the underlying C GtkObject. More...
 
 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. More...
 
Glib::PropertyProxy_ReadOnly< gulong > property_time () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy< DateEditFlagsproperty_dateedit_flags ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy_ReadOnly< DateEditFlagsproperty_dateedit_flags () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy< intproperty_lower_hour ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy_ReadOnly< intproperty_lower_hour () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy< intproperty_upper_hour ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy_ReadOnly< intproperty_upper_hour () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy< gulong > property_initial_time ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
Glib::PropertyProxy_ReadOnly< gulong > property_initial_time () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 

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. More...
 

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

◆ ~DateEdit()

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

◆ DateEdit() [1/2]

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

◆ DateEdit() [2/2]

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

Member Function Documentation

◆ get_flags()

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

◆ get_initial_time()

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

◆ get_time()

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

◆ gobj() [1/2]

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

Provides access to the underlying C GtkObject.

◆ gobj() [2/2]

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

Provides access to the underlying C GtkObject.

◆ on_date_changed()

virtual void Gnome::UI::DateEdit::on_date_changed ( )
protectedvirtual

◆ on_time_changed()

virtual void Gnome::UI::DateEdit::on_time_changed ( )
protectedvirtual

◆ property_dateedit_flags() [1/2]

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.

◆ property_dateedit_flags() [2/2]

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

◆ property_initial_time() [1/2]

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.

◆ property_initial_time() [2/2]

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

◆ property_lower_hour() [1/2]

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.

◆ property_lower_hour() [2/2]

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

◆ property_time() [1/2]

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.

◆ property_time() [2/2]

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

◆ property_upper_hour() [1/2]

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.

◆ property_upper_hour() [2/2]

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

◆ set_flags()

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

◆ set_popup_range()

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

◆ set_time()

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

◆ signal_date_changed()

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

◆ signal_time_changed()

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

Friends And Related Function Documentation

◆ wrap()

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

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

Parameters
objectThe C instance.
take_copyFalse 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: