Logo Search packages:      
Sourcecode: ardour version File versions  Download package

void Glib::Date::set_time ( GTime  time  ) 

Sets the value of a date from a GTime (time_t) value. To set the value of a date to the current day, you could write:

set_time(time(NULL));

Parameters:
time GTime value to set.

Definition at line 76 of file date.cc.

{
  g_date_set_time(&gobject_, time);
}


Generated by  Doxygen 1.6.0   Back to index