Skip to content
Snippets Groups Projects
Select Git revision
  • 396d5f88b091f6aa865a9b29b5a3666acd7cc37d
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2016
  • v8.0.2014
  • v8.0.2012
  • v8.0.2008
  • v8.0.2006
  • v8.0.2004
  • v8.0.2002
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
41 results

Crypto.pmod

Blame
  • gtk_part1.wmml 9.35 KiB
    <section title="The Pike GTK wrapper library" name=gtk>
    
    <section title="Introduction">
    
    The GTK module provides an object oriented wrapper library for the <a
    href="http://www.gtk.org/">GTK+ Widget library</a>
    
    <p>
    From the GTK web-site:
    
    <p>
    <i>
    GTK (GIMP Toolkit) is a library for creating graphical user
    interfaces. It is licensed using the LGPL license, so you can develop
    open software, free software, or even commercial non-free software
    using GTK without having to spend anything for licenses or royalties.
    
    <p>
    It's called the GIMP toolkit because it was originally written for
    developing the General Image Manipulation Program (GIMP), but GTK has
    now been used in a large number of software projects, including the
    GNU Network Object Model Environment (GNOME) project. GTK is built on
    top of GDK (GIMP Drawing Kit) which is basically a wrapper around the
    low-level functions for accessing the underlying windowing functions
    (Xlib in the case of the X windows system). The primary authors of GTK
    are:
    
    <ul>
    <li>Peter Mattis <a href=mailto:petm@xcf.berkeley.edu>petm@xcf.berkeley.edu</a>
    <li>Spencer Kimball <a href=mailto:spencer@xcf.berkeley.edu>spencer@xcf.berkeley.edu</a>
    <li>Josh MacDonald <a href="mailto:jmacd@xcf.berkeley.edu">jmacd@xcf.berkeley.edu</a>
    </ul>
    <p>
    </i>
    
    The Pike GTK module is written mainly by <a
    href=http://per.hedbor.org>Per Hedbor</a> <a
    href="mailto:per@idonex.se">per@idonex.se</a>
    
    
    <p>
    
    Pike GTK contains more than simple wrappers for all GTK functions,
    especially image handling capabilities has been added.
    
    <p>
    </section>
    
    <section title="Tutorial">
    <section title="Getting started with Pike GTK">
    
    First, you must have GTK 1.2 or newer installed when you compile pike,
    otherwise the GTK module will not be enabled.
    
    <p>
    If you are unsure whether or not the pike you are using has GTK, try
    running 'pike -e GTK.setup_gtk()' from a shell, if you do not get an
    error message, GTK is available.
    
    <p>
    
    The first program is a (very) short example program that creates a
    window, and then does nothing else.
    
    <example language=pike>
    #!/usr/local/bin/pike
    void main(int argc, array argv)
    {
      argv = GTK.setup_gtk( argv );
      GTK.Window( GTK.WindowToplevel )->show();