Where is gtkdialog documentation?

For discussions about programming, and for programming questions and advice


Moderator: Forum moderators

Post Reply
User avatar
user1234
Posts: 415
Joined: Sat Feb 26, 2022 5:48 am
Location: Somewhere on earth
Has thanked: 156 times
Been thanked: 90 times

Where is gtkdialog documentation?

Post by user1234 »

Where is the gtkdialog documentation? I wanted to use it in one of my projects.

PuppyLinux 🐾 gives new life to old computers ✨

some1
Posts: 86
Joined: Wed Aug 19, 2020 4:32 am
Has thanked: 18 times
Been thanked: 15 times

Re: Where is gtkdialog documentation?

Post by some1 »

???
I dont think the original documentation by the GTK-dialog "creator" Thunar exists anymore.
Closest thing is probably this
http://01micko.com/reference/
The old puppyLinux / Murga-forum -has many examples in the Programming-section.
At a lower level - there is Gnomes GTK2-documentation i,e, the GTK-dialog there.

User avatar
fredx181
Posts: 3085
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 375 times
Been thanked: 1314 times
Contact:

Re: Where is gtkdialog documentation?

Post by fredx181 »

Here are some examples: https://xpt.sourceforge.net/techdocs/la ... es/single/
And @zigbert had a "tips" topic on the old Puppy forum ; https://oldforum.puppylinux.com/viewtop ... 4aae82be7c
(something's not quite right with how old Puppy forum is displayed at this point of time (edit: and sometimes it gives error)).

Probably more can be found.

dimkr
Posts: 2425
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: Where is gtkdialog documentation?

Post by dimkr »

some1
Posts: 86
Joined: Wed Aug 19, 2020 4:32 am
Has thanked: 18 times
Been thanked: 15 times

Re: Where is gtkdialog documentation?

Post by some1 »

@dimkr: Thanks!! A very nice overview,compilation.

woof-CE/gtkdialog
https://github.com/puppylinux-woof-CE/gtkdialog/wiki

Thanks to everyone involved.

User avatar
MochiMoppel
Posts: 1239
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 440 times

Re: Where is gtkdialog documentation?

Post by MochiMoppel »

In most (all?) Puppies the offline documentation can be found in the devx.sfs, usually in folder /usr/share/doc/gtkdialog
It normally contains the documentation as referenced in the precending posts and examples. I copied both to a separate location on my USB stick, which avoids the need to load the devx.sfs

The examples folder contains subfolders for each widget. This is very handy for adding own examples and snippets and over the time the locally kept examples have become almost more valuable for me than the documentation files.

williwaw
Posts: 1957
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 371 times

Re: Where is gtkdialog documentation?

Post by williwaw »

various tips collected, search "gtkdialog site:bkhome.org/news"

User avatar
user1234
Posts: 415
Joined: Sat Feb 26, 2022 5:48 am
Location: Somewhere on earth
Has thanked: 156 times
Been thanked: 90 times

Re: Where is gtkdialog documentation?

Post by user1234 »

Thanks a lot everyone! Your provided links seem to be helpful. I'll try to check all of the links :thumbup:.

PuppyLinux 🐾 gives new life to old computers ✨

User avatar
user1234
Posts: 415
Joined: Sat Feb 26, 2022 5:48 am
Location: Somewhere on earth
Has thanked: 156 times
Been thanked: 90 times

Re: Where is gtkdialog documentation?

Post by user1234 »

I have few doubts:-

  • How to instantaneously run the <action> provided in a <radiobutton> tag just as that radiobutton is clicked (I need to export some variables)?

  • How to change the label of tabs in <notebook> tag?

  • How to change the current tab on click of a button (i.e. an example of button that changes tabs)?

PuppyLinux 🐾 gives new life to old computers ✨

User avatar
user1234
Posts: 415
Joined: Sat Feb 26, 2022 5:48 am
Location: Somewhere on earth
Has thanked: 156 times
Been thanked: 90 times

Re: Where is gtkdialog documentation?

Post by user1234 »

user1234 wrote: Mon Nov 07, 2022 10:28 am

....

  • How to instantaneously run the <action> provided in a <radiobutton> tag just as that radiobutton is clicked (I need to export some variables)?

....

Sorry for this bad question. It was not gtkdialog, just my bad code which caused some errors. Now what I want is answer to this question (@dimkr, @williwaw, @some1 and everyone else)-
How to reload the window (preferably keeping the current tab) after $MAIN_DIALOG has changed?

And these two questions-

How to change the label of tabs in <notebook> tag?
How to change the current tab on click of a button (i.e. an example of button that changes tabs)?

EDIT: Moved these questions to https://forum.puppylinux.com/viewtopic.php?t=7289.

PuppyLinux 🐾 gives new life to old computers ✨

zigbert
Posts: 88
Joined: Sat Jul 18, 2020 10:44 pm
Has thanked: 22 times
Been thanked: 24 times

Re: Where is gtkdialog documentation?

Post by zigbert »

I have updated the gtkdialog Tips & tricks in the Puppy wiki.
It is now possible for everyone to edit the content

https://wikka.puppylinux.com/gtkdialogDocTips

Post Reply

Return to “Programming”