X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fgtk.texi;h=5d84ee98465b64ba3195201874b62cad6247d195;hb=af4df8850b72a19a6dfad6b6f98613ad9beaae93;hp=90ce9817cf9d0ea23f291d663a906b68c47a3832;hpb=ad6d7f2e12d236d2ecb107df2bdfdfe09ebe4855;p=cl-gtk2.git diff --git a/doc/gtk.texi b/doc/gtk.texi index 90ce981..5d84ee9 100644 --- a/doc/gtk.texi +++ b/doc/gtk.texi @@ -35,11 +35,19 @@ Superclass: @ref{\name\} @end deftp @end macro +@macro EnumVRef {name,value} +@ref{enum.\name\.\value\,@code{:\value\}} +@end macro + @macro Flags {name} @deftp {Flags} \name\ @end deftp @end macro +@macro FlagsVRef {name,value} +@ref{flags.\name\.\value\,@code{:\value\}} +@end macro + @macro Accessor {name} @deffn {Accessor} \name\ @end deffn @@ -58,6 +66,11 @@ Type: \type\ @end deffn @end macro +@macro Method {name} +@deffn {Method} \name\ +@end deffn +@end macro + @macro ForeignType {name} @deftp {Foreign Type} \name\ @end deftp @@ -130,6 +143,11 @@ Type: \type\ @end deffn @end macro +@macro RMethod {name} +@anchor{\name\}@deffn {Method} \name\ +@end deffn +@end macro + @macro RForeignType {name} @anchor{\name\}@deftp {Foreign Type} \name\ @end deftp @@ -150,6 +168,14 @@ Type: \type\ @end defvr @end macro +@macro SlotRef {class, slot} +@ref{slot.\class\.\slot\,\class\-\slot\} +@end macro + +@macro SignalRef {class, signal} +@ref{signal.\class\.\signal\,\class\::\signal\} +@end macro + @macro cffi @acronym{CFFI} @end macro @@ -270,19 +296,17 @@ The important parts of @code{Gtk+} are: @item @uref{http://common-lisp.net/project/closer/closer-mop.html,,Closer-MOP} (version >= 0.55) @end itemize -At first, source code of @code{cl-gtk2} needs to be downloaded. There are two options to download the sources: use @uref{http://git-scm.org/,,Git} or download @code{tar.gz} archive. +At first, source code should be downloded. Current version of CL-GTK2 can be downloaded from @uref{http://common-lisp.net/project/cl-gtk2/files/cl-gtk2-0.1.tar.gz}. -To get sources with Git, clone @code{cl-gtk2} repository: +Development tree of CL-GTK2 can be cloned with @uref{http://git-scm.org/,,Git}: @example git clone git://repo.or.cz/cl-gtk2.git @end example -or the mirror: +or, using the mirror: @example git clone git://github.com/dmitryvk/cl-gtk2.git @end example -Or download and unpack the @code{tar.gz}-archived @uref{http://repo.or.cz/w/cl-gtk2.git?a=snapshot;h=HEAD;sf=tgz,,snapshot} of @code{cl-gtk2}. - To be able to compile, load and use @code{cl-gtk2}, you should register the @code{ASDF} system definitions. To do this, either add @code{glib}, @code{gdk} and @code{gtk} directories to @code{asdf:*central-registry*}: @@ -299,6 +323,14 @@ ln -s /path/to/cl-gtk2/gdk/cl-gtk2-gdk.asd . ln -s /path/to/cl-gtk2/gtk/cl-gtk2-gtk.asd . @end example +In Gentoo Linux, it is possible to use layman (see @uref{http://www.gentoo.org/proj/en/overlays/userguide.xml,,Gentoo Overlays Users' Guide}) to add @code{lisp} and @code{cl-gtk2} overlays that contains neccessary ebuilds: +@example +layman -a lisp +layman --overlays=http://github.com/dmitryvk/cl-gtk2-overlay/raw/master/layman-list.xml -a cl-gtk2 +emerge cl-gtk2 +@end example + + @node GLib Reference @chapter GLib Reference