Skip to main content

init

Function init 

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

Initializes gpui-ai.

Call once at application startup, before creating any windows that use these components. This also initializes the underlying [gpui_component] state (theme, global settings), so applications do not need to call gpui_component::init separately.