"MCI" v.3.3
Menu Framework , Double-Click <button> , E.mbeded Graphics <button>
Written with BASH + GTK code.
"MCI" ... Edited 240323
Studies in : Double-Click Button + E.mbedded Graphics + BASH + GTK
Attached is a my Sample Instructional workup "MCI" Tutorial Project
which I wrote in order to continue exploring :
(1) the use of Double-Click < Button > routines
(2) graphical icons embedded into the source code.
===========
The "INTENT" of "MCI" is:
(1) ....... to demonstrate the Double-Click GTK <button> routines.
(2) ....... to demonstrate the E.mbedded 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 .
"MCI" is a Tutorial version, with Simplified and Slimmed-Down coding.
"MCI" Script runs "STABLE" in 20+ different Puppy versions
(same list as with the 'Cold-Tar-Backup' series of programs).
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
#! "MCI" Sample INSTRUCTIONAL Version of Menu Framework series
#! "MCI" script for downloading and examination is here:
=== === ===
Main script:
MCI main screen 231127
MCI-Screen-231127-0641.jpg (96.19 KiB) Not viewed yet
"MCI" V.3 Main Screen:
=== === ===
=== === === === === === === === === === === === ====
=== You will never learn much by ONLY looking at pictures !
=== "Science/Engineering" requires "Exploration, Analysis, Appreciation"
=== === === === === === === === === === === === ====
====================================
Thanks to Don White
.......Seminal idea for embedding graphics inside the source code, is from "june1 2012 Don White (don570)"
Thanks to WIAK and Rockedge
....... for thoughtful comments.
=== === === === === === === === ===
=== === === === === === === === ===
=== === === === === === === === === ===
Scribble-Murga-Minus-Color-3_2408021701.txt
=== === === === === === === === === ===
MGR is the target application, wherein the MCI techniques are used.
Do Not download "M.G.R." which has more then 10,000 [ ten thousand ] lines of Bash + GTK .
#! MGR is tested on Each OS via its own original distro BASH .
#! MGR is tested on Each OS via its own original distro GTK .
======================================================
Menu FrameWork, MGR v 6, 7, 8 .
. . . . Double-Click + E.mbedded Images
. . . . Multiple Versions of Floating Page Windows
...................................................................................................................................
... MGR history of development ............................................................................
...................................................................................................................................
....... V-5: began with packed and crowded menu
...................................................................................................................................
....... V-6: explored a basic single page menu system.
...................................................................................................................................
....... V-7: demonstrates a BASH "Page-Book" of Independent Floating "message" Pages.
...................................................................................................................................
....... V-8: demonstrates a GTK " note-book " of Independent Floating " Note-Book " Windows.
...................................................................................................................................
[] Whole Project on github.com
...................................................................................................................................
[]Source OS Distribution Code is "original" and "as delivered" by 01Mico and PeaBee, et al.[].
MGR versions are Studies in : BASH and GTK application development.
MGR system is a personal Instructional / Educational Project which tests
... "pop-up Page-Windows" methods, including my re-write of GTK Box_Help (E.mbedded in this script)
... "compatability" across 20+ Puppy Distros , 32 / 64 bit, (using the original distributed source code).
... to demonstrate the Double-Click GTK <button> routines.
... to demonstrate the E-mbedded Graphics GTK <button> routines.
... to identify implementation characteristics and limitations of BASH + GTK
... MGR is designed to run from "/root/my-applications" , a standard Puppy system directory, No PET.
... is designed to run from "/root/my-applications" , a standard Puppy system directory, No PET.
...
MGR [Manager] is not intended to be a "Turn - Key" application.
MGR [Manager] is not intended to be a "Down - Loaded" , Just a "Post" .
MGR [Manager] is posted for purposes of distribution to associates in our workgroup..
Some History:
=== === === === === === === === === === === === ===
In MGR-5 We began project with a very crowded menu .
=== === === === === === === === === === === === ===
In MGR-6 We explored a basic single page menu system.
=== === === === === === === === === === === === ===
In MGR-7 We explored several methods of "launching - closing" the "pop-up Page - Windows"
=== === === === === === === === === === === === ===
In MGR-8 We have explored/contrasted
the GTK ' notebook ' function versus the BASH 'Page-Book' method.
=== === === === === === === === === === === === ===
=== === === === === === === === === === === ===
[] MGR software has a four part organization,[]
. . . in order to isolate BASH from GTK code.
[] Intro[/b] : Setup Var and Constants : BASH
[] SubRoutines[/b] : BASH
. . . . which execute "Tokens" from GTK XML dialog < button >
. . . . written in the "top" section of the Source Code.
[] GTK GUI XML[]
.. . . . = interface Display and Select < button > : GTK code.
[] Fall-Thru[/b] "IF/fi" BASH routines to :
. . . . capture GTK < button > Select Tokens via the EXIT var
. . . . then re-direct to BASH Token SubRoutines,
. . . . which are written in top section of the Source Code.
=== === === === === === === === === === === === ===
=== === === === === === === === === === === === ===
[] MGR-7 & 8 "PageBook" pages are GTK coded, but not using GTK "< notebook >" function.
MGR "PageBook" pages are intended to function only from BASH code.
This is Bare Bones project, so code is simplified wherever possible, easy to trace and read.
Subroutines are grouped in similarly named "function()" blocks.
...
Process of each GTK gui <Button> <Action> is :
. . . (1) <button> <action> "selection-token"
. . . (2) fall thru to "IF [EXIT=???}" to capture the <action> "selection-token".
. . . (3) jump to Sbr_SubRoutines() to execute the <button> "selection-token" .
. . .
Just BASH and GTK..,
....... so, if you download the source of "MCI",
....... then , Trace a single <button> Execution Topically, and study the code.,
....... otherwise, switch to Ubuntu or switch to Knoppix ( a FOSS commercial distro.) .
[]
This MGR Script includes DUMPING <button> for :
(1) Dumping Source code ,
(2) Dumping GUI code ,
(3) Dumping Image Code
(4) Help
(5) PUPSTATE
(6) FAQ
(7) UP-Legal
(8) System-Info
(9) Dump_Source_to_Base-64
"Utility" GUI Screen includes a display array of all E.mbedded images
(with tool-tip to show the name of each I.mage)
The [] "INTENT" [] of this "Manager FrameWork" project is:
() ....... to implement a Bare Bones Method of compacted FrameWork Menu application. []
()
[] The MGR-8 script is cleaner, and runs "STABLE" on a daily basis,
. . . . in 20 different Puppy Distros, 32bit and 64bit.
. . . . MGR is used to "flip" between Distros for testing this "MGR" code. []
[]
() PURPOSE of this project: []
() ....... to demonstrate the [] Double-Click GTK <button> [] routines.
() ....... to demonstrate the [] E.mbedded-Graphics GTK <button> [] routines.
() ....... to identify implementation characteristics and limitations of BASH + GTK .
() The "Code Format" "organization of execution" is
. . . . . . . an old XML code method from SCO-Unix / Xenix projects.
. . . . . . . which provides separation between strict BASH code and strict GTK code.
. . . . . . . chosen to prohibit interaction between "BASH" code and "GTK" code .
. . . . . . . designed to run from Puppy "/root/my-applications"
. . . . . . . designed to be "self-contained"
. . . . . . . ( exception is the "CTA" series loaded into /root/my-applications.
. . . . . . . ( which must be uploaded if you want "Cold Tar.gz Archive" .
. . . . . . . script designed to run from /root/my-applications ...
. . . . . . . . . . . . just drag the main Icon to the desktop, and no PET is required.
...................................................................................................................................
...................................................................................................................................
[]
Distro List : as delivered by Mico and PhilB, et al .
#! MGR is tested on Each OS via its own original distro BASH .
#! MGR is tested on Each OS via its own original distro GTK .
Running Tests on 22 Puppy OS (32 + 64 bit) , using saveDATA/subdir and saveDATA.4fs
including: this list of Puppy Linux Distros and more :
iso-BionicPup64-8.0-uefi ___________ 64 bit _______ 231219
iso_BookwormPup32-23.11-B4_ K:6 __ 64 bit ________ 231210
iso-BionicPup32-8.0+30_BionicBeaver _____ 220407
iso_BionicPup32-19.03-K5.9_231209 ___ K:5.9_ 231209
iso_ManticPup32-23.10+1 ______________ K:6.1_ 231209
iso-KineticPup32-22.10+2 ________________ 230604
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 ____________ K:4.1 _ 190211
iso-Slacko-7.0_DpupS7_14.2 _______________ 220205
iso_devuanpup-9.7.0-chimaera_4.0_i386 ___ 211206
iso_LxPupSc-slacko-20.01+0-T-k64 ________ 200129
iso_slacko64_14.2_32-64-bit_compatible ___ 220227
iso-S15Pup-64_22.12+1-T _________________ 220922
iso-Xenial-64_7.5_XL _______________________ 220401
iso-Quirky_April-7.0.1F-uefi ____________ 200511
. . . now Running on BionicPup64-8.0-uefi.iso
#! Each Puppy OS is tested via its own original distro BASH
... as delivered by Mico and PhilB, et al .
#! Each OS is tested via its own original distro GTK
... as delivered by Mico and PhilB, et al .
[]
[] Seminal idea for embedding graphics is from "june1 2012 per Don White (don570)" (thanks) []
=== === === === === === === === === === === === ====
=== === === === === === === === === === === === ====
Do Not download "M.G.R." which has 9,000 plus lines of BASH + GTK .
=== === === === === === === === === === === === ====
=== "Science" requires "Exploration, Analysis, Appreciation"
=== === === === === === === === === === === === ====