basic plugin!
This commit is contained in:
parent
7a8e3fe492
commit
537539f43d
13 changed files with 332 additions and 224 deletions
10
examples/dock/plugin.rs
Normal file
10
examples/dock/plugin.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
use gtk4::glib;
|
||||
|
||||
#[derive(Clone, Debug, Default, gtk4::glib::GBoxed)]
|
||||
#[gboxed(type_name = "BoxedDockPlugin")]
|
||||
pub struct BoxedDockPlugin {
|
||||
pub path: String,
|
||||
pub name: String,
|
||||
pub image: gtk4::Image,
|
||||
pub popover_menu: gtk4::Box,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue