Function libhandy::init

source ·
pub fn init()
Expand description

Initializes Libhandy.

Call this function just after initializing GTK, if you are using Gtk::Application it means it must be called when the [startup][struct@crate::Gio::Application#startup] signal is emitted.

If Libhandy has already been initialized, the function will simply return.

This makes sure translations, types, themes, and icons for the Handy library are set up properly.