Menu Framework, V.7

Moderator: Forum moderators

Post Reply
User avatar
glene77is
Posts: 52
Joined: Thu Aug 13, 2020 7:44 pm
Location: Univ of TN, Memphis,TN,USA
Has thanked: 39 times
Been thanked: 6 times
Contact:

Menu Framework, V.7

Post by glene77is »

Menu Framework, V-7.4 ,
. . . . Double-Click + Embedded-Image
. . . . Multiple Floating Page-Windows

edited: 240501

MGR [Manager] V: 7.4 ,
Compact Screen Size.
Auxillary pop-up Page-Windows are independent and floating.

Whole Project at : https://github.com/GlenE77is

=============================================


Source OS Distribution Code is "original" and "as delivered" by 01Mico and PeaBee, et al..
:thumbup2: MGR versions are Studies in : BASH and GTK application development. :thumbup2:
MGR [Manager] is not intended to be a "Turn-Key" application.
MGR system is an Instructional / Educational Project which tests
... "pop-up Page-Windows" methods, including my re-write of GTK Box_Help (embedded in this script)
... "compatability" across 20 Puppy Distros.
... to demonstrate the Double-Click GTK <button> routines.
... to demonstrate the Embedded-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.


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..
.
# 1 = "Intro" : Setup Var and Constants : BASH
# 2 = "SubRoutines" : BASH
. . . . which execute Tokens from GTK XML dialog <button>
. . . . written in "top" section of the Source Code.

# 3 = "GTK GUI XML"
.. . . . = interface Display and Select <button> : GTK code.

# 4 = Fall-Thru "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.

========================================

Seminal idea for embedding graphics is from "june1 2012 per Don White (don570)" (thanks)

MGR-7 "PageBook" pages are GTK coded, but not using GTK "<notebook>" function.
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"
. . . (2) fall thru to "IF [EXIT=???}" to capture the <action> "token".
. . . (3) jump to Sbr_SubRoutines() to execute the <button> "selection" .

. . .
Just BASH and GTK..,
....... so, Trace the Execution Topically, and Read the Code.

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 embedded images
(with tool-tip to show the name of each image)

This MGR-7 script is cleaner, and runs "STABLE" on a daily basis,
. . . . in 20 different Puppy Distros. MGR is used to "flip" between Distros for testing.


The "INTENT" of this "Manager FrameWork" project is:
() ....... to implement a Bare Bones Method of compacted FrameWork Menu application.
()
() ....... 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 <NoteBook> Windows.
()
() ....... to demonstrate the Double-Click GTK <button> routines.
() ....... to demonstrate the Embedded-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" ( currently, must upload rc.z_CTA.sh if you want "Cold Tar Archive").
. . . . . . . script designed to run from /root/my-applications ...
. . . . . . . . . . . . just drag the main Icon to the desktop, and no PET is required.

...................................................................................................................................

rc.z_MGR-7-4_executable-script_240430-0630.sh.zip
MGR-7-4_executable-script
(56.45 KiB) Downloaded 2 times

Executable Script:

...................................................................................................................................

MGR-7-3_Tahr6_240421 full screen layout
MGR-7-3_Tahr6_240421 full screen layout
MGR-7-3_Tahr6_240421-0556.jpg (130.77 KiB) Viewed 36 times


Distro List :
Running Tests on 20 Puppy OS, including:
#! Each OS is tested via its own original distro BASH .
#! Each OS is tested via its own original distro GTK .
iso-KineticPup32-22.10+2________________230604
iso-BionicPup32-8.0+30_BionicBeaver_____220407
iso_BionicPup32-19.03-K5.9_231209.iso___K:5.9_231209
iso_ManticPup32-23.10+1.iso______________K:6.1_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___________K:4.1_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_K:6__________231210
iso_LxPupSc-slacko-20.01+0-T-k64________200129
iso_slacko64_14.2_32-674-bit_comptible__220227
#! Each OS is tested via its own original distro BASH .
#! Each OS is tested via its own original distro GTK .

=== You will never learn much by ONLY looking at pictures !
=== Science requires "Exploration, Analysis, Appreciation"
{from personal papers, gae, via Dr. Barrie Gilbert, 2020}.
===

Last edited by glene77is on Wed May 01, 2024 4:09 pm, edited 35 times in total.

*Just an old Apprentice caught Tinkering in the Master's WorkShop. *
Glen Ellis ( ͡° ͜ʖ ͡° ) K4KKQ , Electronic Engineering :ugeek:
Website: http://www.GeoCities.WS/glene77is :thumbup2:
Electrical Science , Memphis, TN

User avatar
glene77is
Posts: 52
Joined: Thu Aug 13, 2020 7:44 pm
Location: Univ of TN, Memphis,TN,USA
Has thanked: 39 times
Been thanked: 6 times
Contact:

Re: Menu Framework, V.7

Post by glene77is »

Menu Framework, V-7 ,
Double-Click + Embedded-Image

MGR [Manager] V: 7..1 , running on Puppy Tahr 6.06
Compact Screen Size.
Auxillary Windows are floating style.

:thumbup2: Studies in : BASH and GTK application development. :thumbup2:
MGR [Manager] V: 7.3, is not intended to be a "Turn-Key" application.
MGR system is an Instructional / Educational Project.
dated: 240403-2100
Seminal idea for embedding graphics is from "june1 2012 Don White (don570)" (thanks)
"NoteBook" pages are GTK coded, but not using GTK <notebook> function. This is Bare Bones.

This Script includes <button> for :
(1) Dumping Source code ,
(2) Dumping XML GUI code ,
(3) Dumping Image Code

Colorful Ubuntu Puppy TAHR 6.06 image !
Colorful Ubuntu Puppy TAHR 6.06 image !
Colorful Ubuntu Puppy TAHR 6.06 image !

MGR_Tahr-606_main plus Two_Tool-Tip Windows
MGR_Tahr-606_main plus Two_Tool-Tip Windows
MGR_Tahr-606_main-screen-Two_Tool-Tip_Windows_240325.jpg (191.06 KiB) Viewed 172 times

===

*Just an old Apprentice caught Tinkering in the Master's WorkShop. *
Glen Ellis ( ͡° ͜ʖ ͡° ) K4KKQ , Electronic Engineering :ugeek:
Website: http://www.GeoCities.WS/glene77is :thumbup2:
Electrical Science , Memphis, TN

Post Reply

Return to “Utilities”