Page 1 of 1

Where is gtkdialog documentation?

Posted: Sun Nov 06, 2022 4:41 pm
by user1234

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


Re: Where is gtkdialog documentation?

Posted: Sun Nov 06, 2022 6:25 pm
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.


Re: Where is gtkdialog documentation?

Posted: Sun Nov 06, 2022 6:38 pm
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.


Re: Where is gtkdialog documentation?

Posted: Sun Nov 06, 2022 7:23 pm
by dimkr

Re: Where is gtkdialog documentation?

Posted: Mon Nov 07, 2022 2:13 am
by some1

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

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

Thanks to everyone involved.


Re: Where is gtkdialog documentation?

Posted: Mon Nov 07, 2022 2:47 am
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.


Re: Where is gtkdialog documentation?

Posted: Mon Nov 07, 2022 4:35 am
by williwaw

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


Re: Where is gtkdialog documentation?

Posted: Mon Nov 07, 2022 7:58 am
by user1234

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


Re: Where is gtkdialog documentation?

Posted: Mon Nov 07, 2022 10:28 am
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)?


Re: Where is gtkdialog documentation?

Posted: Mon Nov 07, 2022 12:19 pm
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.


Re: Where is gtkdialog documentation?

Posted: Fri Feb 24, 2023 2:06 pm
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