Create a menus module in i-slint-corelib

This commit is contained in:
Olivier Goffart 2025-01-27 18:15:24 +01:00
parent aeabfc1ca8
commit e75415554a
7 changed files with 28 additions and 19 deletions

View file

@ -208,6 +208,7 @@ pub mod re_exports {
pub use i_slint_core::lengths::{
logical_position_to_api, LogicalLength, LogicalPoint, LogicalRect,
};
pub use i_slint_core::menus::{Menu, MenuVTable};
pub use i_slint_core::model::*;
pub use i_slint_core::properties::{
set_state_binding, ChangeTracker, Property, PropertyTracker, StateInfo,
@ -219,7 +220,7 @@ pub mod re_exports {
set_bundled_languages, translate_from_bundle, translate_from_bundle_with_plural,
};
pub use i_slint_core::window::{
InputMethodRequest, Menu, MenuVTable, WindowAdapter, WindowAdapterRc, WindowInner,
InputMethodRequest, WindowAdapter, WindowAdapterRc, WindowInner,
};
pub use i_slint_core::{Color, Coord, SharedString, SharedVector};
pub use i_slint_core::{ItemTreeVTable_static, MenuVTable_static};