Trait libhelium::prelude::TimePickerExt

source ·
pub trait TimePickerExt: IsA<TimePicker> + Sealed + 'static {
    // Provided methods
    fn format_12(&self) -> GString { ... }
    fn format_24(&self) -> GString { ... }
    fn time(&self) -> DateTime { ... }
    fn set_time(&self, value: &DateTime) { ... }
    fn connect_time_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_time_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all TimePicker methods.

§Implementors

TimePicker

Provided Methods§

source

fn format_12(&self) -> GString

source

fn format_24(&self) -> GString

source

fn time(&self) -> DateTime

source

fn set_time(&self, value: &DateTime)

source

fn connect_time_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

The signal when time is changed with this widget.

source

fn connect_time_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<TimePicker>> TimePickerExt for O