Re: Tutorial

Arie van Wingerden <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <CADkALSG6sydnVcD=4OX0d19M6Kmg8-tYw+SRDHx-=8LbddfktQ@mail.gmail.com>
2016-12-08 14:04 GMT+01:00 Chris Angelico <[email protected]>:

> Oh... yeah, sorry about that. The GTK tutorial is way out of date.
> It's been on my TODO list for ages, but that doesn't really help much.
>

​I see ...​



>
> Here's a GTK2 hello-world:
>
> int main()
> {
>     GTK2.setup_gtk();
>     GTK2.MessageDialog(0, 0, GTK2.BUTTONS_OK, "Hello, world!")->show();
>     return -1;
> }
>
>
​Nice! That works out of the box - so no need for extra GTK installs etc.

So, I guess the API for GTK has changed and dropped the Alert function then?

Check out my GitHub repositories for some cool stuff you can do with Pike.
>
> https://github.com/Rosuav
>

​Will certainly check out.​

QUESTION: is Pike self-contained in the sense that all module functionality
is included (so, no extra installs needed to function)?

Reason is that Python is so difficult to deploy. If I can:
1. install Pike for somebody
2. hand them a Pike script
and then the script runs right out of the box, that would be a huge
improvement over the Python way, where you have to 'pip install' a lot of
extra stuff in many cases ...!

Thx for helping!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.