"MCI" v.3.3
Menu Framework , Double-Click <button> , Embeded-Graphics <button>
Written with BASH + GTK code.
"MCI" version: 3.3 ... Edited 240323
Studies in : Double-Click Button + Embedded-Graphics + BASH + GTK v.3.2
Attached is a my little workup "MCI" Tutorial Project which I did to continue exploring
the use of Double-Click Button routines and Embedded-Graphics.
"MCI" version: 3.3 dated 231220
The "INTENT" is:
(1) .......to demonstrate the Double-Click GTK <button> routines.
(2) ....... to demonstrate the Embedded-Graphics GTK <button> routines.
(3) ....... to identify implementation characteristics of BASH + GTK within the confines of this project.
(4) The "Code Format Method " is designed to prevent interaction between BASH code and GTK code .
This "MCI" v-3.3 Script is MORE POLISHED Coding than in version 1.0 and 2.0.
This is a Tutorial version, with Simplified and Slimmed-Down coding.
This Script runs "STABLE" in a 17 different Puppy versions (same list as with the 'Cold-Tar-Backup' program).
#! Latest Developmental version of Menu Framework is here:
#! MGR Menu Framework v.6.1
#! viewtopic.php?p=113057&hilit=Menu+Framework#p113057
#! Sample Instruction Version of Menu Framework series is here:
#! MCI_v.3.3_Sample-Menu_Embedded-Graphics+Double-Click
#! viewtopic.php?p=91327&hilit=embedded+image#p91327
Our script has been tested successfully
on our 17 running Official Puppy Linux systems :
"Official" Puppy Frugal Systems via Woof-CE :
See List at End of This Post.
This Script includes <button> for :
(1) Dumping Source code ,
(2) Dumping GUI code ,
(3) Dumping Image Code
GUI Screen includes a display (with tool-tip to show the name of each image)
(*) The BASH coding and GTK coding are standard.
The "GTK MENU" has this process flow:
- All GTK menu selections are passed out via the "EXIT" GTK var,
- All GTK menu selections fall thru to a set of BASH if [ "$EXIT" = "???" ] sub-modules
..... which are placed in bottom of script code - All BASH " if [ "$EXIT" = "???" ]" modules call a set of BASH sub-routines
..... which are placed in the top of the script code .
===> This process keeps BASH language code from interacting with GTK language code.
() The Graphic Images are EMBEDDED in the code and written to /root/tmp .
() This MCI.sh menu method could, possibly, be used as a "frame-work" for building a new interface.
[/color][/b]
......
"MCI" example project is aprox. 2400 lines of Bash/Gtk.
This is Linux Puppy Distro ....... This is Free Open Source ....... So Read the Code !
======================================================
TESTING on 17 running Puppy Linux Distro on our main computer :
Our script has been tested successfuly
on our 17 running Official Puppy Linux systems :
"Official" Puppy Frugal Systems via Woof-CE :
iso-KineticPup32-22.10+2_230604
iso-BionicPup32-8.0+30_BionicBeaver_220407
---- +1,+3,+4,+5,+10, +12, +14, +16, +17, +18 , +19, +20, +21, +23, +24, +25, +26, +27, +28, +29, +30
iso_BionicPup32-19.03-K5.9_231209.iso_231209
iso_ManticPup32-23.10+1.iso_231209
iso-JammyPup32-22.04+8_JammyJellyfish_22123
iso-UPupFF+D-20.12+4_Focal-Fossa_201210
iso-UpupTahr-6.0.6-k4.1.30-uefi_190211
iso-Slacko-7.0_DpupS7_14.2_220205
iso-Xenial-64_7.5_XL_220401
iso-S15Pup-64_22.12+1-T_220922
iso-Quirky_April-7.0.1F-uefi_200511
iso_devuanpup-9.7.0-chimaera_4.0_i386_211206
iso_BookwormPup32-23.11-B4_231210
iso_LxPupSc-slacko-20.01+0-T-k64_200129
iso_slacko64_14.2_32-674-bit_comptible_220227
iso_ManticPup32-23.10+1.iso_231209
Thanks to Don White ...Seminal idea for embedding graphics is from "june1 2012 Don White (don570)"
Thanks to WIAK and Rockedge ....... for thoughtful comments.
Main script:
MCI main screen 231127
MCI-Screen-231127-0641.jpg (96.19 KiB) Not viewed yet
V.3 Main Screen: