update ui
This commit is contained in:
@@ -3,14 +3,14 @@ use std::cell::RefCell;
|
||||
use glib::subclass::InitializingObject;
|
||||
use glib::Properties;
|
||||
use gtk::subclass::prelude::*;
|
||||
use gtk::{glib, prelude::*, Button, CompositeTemplate, Label, Picture};
|
||||
use gtk::{glib, prelude::*, Button, CompositeTemplate, Label, Image};
|
||||
|
||||
#[derive(CompositeTemplate, Properties, Default)]
|
||||
#[properties(wrapper_type = super::CardEntry)]
|
||||
#[template(resource = "/org/foxarmy/learn-hieroglyph/widgets/card_entry/template.ui.xml")]
|
||||
pub struct CardEntry {
|
||||
#[template_child]
|
||||
pub picture: TemplateChild<Picture>,
|
||||
pub image: TemplateChild<Image>,
|
||||
#[template_child]
|
||||
pub hieroglyph_label: TemplateChild<Label>,
|
||||
#[template_child]
|
||||
|
||||
Reference in New Issue
Block a user