Gtkdialog Tutorial Manual

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Gtkdialog Tutorial Manual

#1 Post by don570 »

Gtkdialog Tutorial Manual 1.2
Oct 1 - Updated to version 1.3
Oct 3 - Updated to version 1.4
Oct 7 -Updated to version 1.6
Oct 10 - updated to version 1.7
Oct 12 - updated to version 1.8
Oct 16 - updated to version 1.9
Oct 19 - updated to version 2.0
Oct 28 - updated to version 2.1
Nov 6 - updated to version 2.2
Dec 2 - updated to version 2.23


I've been working for the past week on a manual for Gtkdialog
scripting that would be suitable for beginners.

It's based on Mendel Cooper's Advanced Bash-Scripting Guide.

It launches from 'Documents' in the start menu. The user will see an
index. Most of the links should work :lol:

The user should have a background in bash scripting basics.
But it's not that hard..

Pet package --->


http://sourceforge.net/projects/puppyst ... %20Manual/

______________________________________________

Special debian version
http://sourceforge.net/projects/puppyst ... orted/DEB/

_____________________________________________


_____________________________________________________
Last edited by don570 on Sat 19 Dec 2015, 21:14, edited 26 times in total.

User avatar
koulaxizis
Posts: 452
Joined: Sun 17 Jul 2011, 18:43
Location: Greece
Contact:

Re: Gtkdialog Tutorial Manual

#2 Post by koulaxizis »

don570 wrote:Gtkdialog Tutorial Manual 1.2


I've been working for the past week on a manual for Gtkdialog
scripting that would be suitable for beginners.

It's based on Mendel Cooper's Advanced Bash-Scripting Guide.

It launches from 'Documents' in the start menu. The user will see an
index. Most of the links should work :lol:

The user should have a background in bash scripting basics.
But it's not that hard..

Pet package --->

http://www1.datafilehost.com/d/8bd31221



I also made an archive of the html files if anyone wants those.
http://www1.datafilehost.com/d/c505e4d9

_____________________________________________________
Downloading now... Thanks for that mate!! :)
[b]Christos Koulaxizis[/b]
[i]Woof woof from Greece![/i]

[color=darkred][url=https://sourceforge.net/projects/puppystuff/][ Puppy Stuff Repository ][/url][/color]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#3 Post by zigbert »

Thumbs up !!!

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#4 Post by oldyeller »

Thumbs up !!!
+1

Cheers

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#5 Post by don570 »

new version 1.3

-added a couple of new pages ( tips page and input directive)
-rewrote the text to make explanations clearer
-put in credits to Sigmond and Thunor


Note: Anyone who wants to contribute an example should
send it to me for inclusion. I like short scripts that
demonstrate a principle.


______________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#6 Post by don570 »

New version 1.4

-Added in some new info about SVG image buttons

-Show/hide

-Notebook widget and togglebutton widget

-Creating a menu and disabling a menu

-Added recobayu's script to count upwards using SVG images

-yes/no buttons

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#7 Post by sunburnt »

Don`t click on the download button, you won`t get anything but an error.

Just right-click and "Save Link As".

Thanks Don570...

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#8 Post by don570 »

On download page there is box to untick.

version 1.5

-minor upgrade. I changed a few pages --> Show/hide with tooglebutton
and fixed a bad link

_________________________________________

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#9 Post by disciple »

Have you thought about putting this in version control somewhere?
Maybe in markdown format or something?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#10 Post by don570 »

To Disciple : I'd like Thunor to list it beside gtkdialog source code

___________________________________
new version 1.6

-design principles
-diary example --> shows how to save to file
-another refresh example given

_________________________________

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#11 Post by disciple »

Are you writing it directly in html?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#12 Post by don570 »

No. I am taking Mendel Cooper's work and modifying it
with Composer. That's why it looks like Advanced bash manual by
Mendel Cooper.

I don't have the training to do html pages.

_______________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#13 Post by don570 »

version 1.7

- SVG image ---> rounded corners explained

- A text editor is constructed using gtkdialog

_____________________________________

User avatar
koulaxizis
Posts: 452
Joined: Sun 17 Jul 2011, 18:43
Location: Greece
Contact:

#14 Post by koulaxizis »

don570 wrote:version 1.7

- SVG image ---> rounded corners explained

- A text editor is constructed using gtkdialog

_____________________________________

Thank you! :D
[b]Christos Koulaxizis[/b]
[i]Woof woof from Greece![/i]

[color=darkred][url=https://sourceforge.net/projects/puppystuff/][ Puppy Stuff Repository ][/url][/color]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#15 Post by don570 »

version 1.8

- help button page gives two examples of developing a help button

________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

version 1.9 available

#16 Post by don570 »

version 1.9

1) Previous package had packaging problem

2) Page added to explain the building of button with a function

3) Neat text editor example added

4) Added font-family to SVG images because I found problems
in displaying text in Porteus distribution

5) I made a special version for Porteus distribution ---> It requires
a special command to open the pages with the default browser.
I posted it on first post (also on Porteus forum).

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#17 Post by don570 »

version 2.0

-created a 'homogeneous' page

-added a new combobox example

-texteditor example changed 'fileselect' method

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#18 Post by don570 »

I put together a debian version that I made on Ubuntu.
Available on first post.

_____________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Gtkdialog Tutorial Manual version 2.1

#19 Post by don570 »

version 2.1

2 new pages

1) checkbox widget (suggested by Argolance)

2) SVG button generators

_____________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#20 Post by don570 »

Version 22

-added a couple more pages - refresh comboboxtext and background
processes

Post Reply