view gtk/folder.xpm @ 2300:6e47d510dbbb

GTK4: Since GTK4 needs to add the popup menu to the parent widget... We need to remove it after the popup closes, so we trap the "close" signal and try to remove the popup from the parent. Since the "close" signal gets called before the menu's "activate" signal, we have to delay unparenting until after the "activate" signal handler is run. Otherwise the menu objects won't be valid for the "activate" handler, therefore we add an idle callback to unparent the widget when the rest of the processing is done.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 08 Feb 2021 10:49:50 +0000
parents 190f38918967
children
line wrap: on
line source

/* XPM */
static char * FOLDER_xpm[] = {
"16 16 10 1",
" 	c None",
".	c #000000",
"+	c #AA9200",
"@	c #FFFFAA",
"#	c #FFDB55",
"$	c #AA6D00",
"%	c #F7F7F7",
"&	c #D59255",
"*	c #FFDBAA",
"=	c #D5B655",
"                ",
"  &&&&          ",
" &%%%%&         ",
"&%@@@@%+++++$   ",
"&@@@@@@%%%%%$   ",
"&@*++++++++++++ ",
"&#+%%%%%%%%%*%+$",
"&#+@@@@@@@@@#@+$",
"&#+@@@@@@@@@.@+$",
"&#+@@**@**@@=@+$",
"&#+@########=@+$",
"&#+@########=@+$",
" ++++++++++++++$",
"  $$$$$$$$$$$$$ ",
"                ",
"                "};