wip: add applet module
This commit is contained in:
parent
a8ce524baa
commit
c474b3e955
5 changed files with 323 additions and 3 deletions
|
|
@ -6,6 +6,8 @@
|
|||
//! Check out our [application](https://github.com/pop-os/libcosmic/tree/master/examples/application)
|
||||
//! example in our repository.
|
||||
|
||||
#[cfg(feature = "applet")]
|
||||
pub mod applet;
|
||||
pub mod command;
|
||||
mod core;
|
||||
pub mod cosmic;
|
||||
|
|
@ -197,6 +199,11 @@ where
|
|||
fn view_window(&self, id: window::Id) -> Element<Self::Message> {
|
||||
panic!("no view for window {}", id.0);
|
||||
}
|
||||
|
||||
/// Overrides the default style for applications
|
||||
fn style(&self) -> Option<<crate::Theme as iced_style::application::StyleSheet>::Style> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
/// Methods automatically derived for all types implementing [`Application`].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue