Skip to main content

init

Function init 

Source
pub fn init(cx: &mut App)
Expand description

Initializes the GPUI kit and Ragrig UI state.

Call once after constructing the application and before opening windows:

use gpui_kit::application;

application().run(|cx| {
    ragrig_gpui::init(cx);
    // open your window here
});