use std::{
cell::{Cell, RefCell},
str::FromStr,
};
use anyhow::Result;
use gtk::{gio, glib, glib::Properties, prelude::*, subclass::prelude::*};
use serde::{Deserialize, Serialize};
use crate::{config, library::LibraryQuery};
mod imp {
use super::*;
#[derive(Properties, Serialize, Deserialize, Default)]
#[properties(wrapper_type = super::Program)]
#[serde(default)]
pub struct Program {
#[property(get, set)]
pub title: RefCell