<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GdkGLExt" version="1.0"/>
  <include name="Gtk" version="2.0"/>
  <namespace name="GtkGLExt"
             version="1.0"
             shared-library="libgtkglext-x11-1.0.so.0.0"
             c:identifier-prefixes="GtkGL"
             c:symbol-prefixes="gtk_gl,gtk">
    <function name="init" c:identifier="gtk_gl_init">
      <doc xml:space="preserve"
           filename="gtkglinit.c"
           line="202">Call this function before using any other GtkGLExt functions in your
applications.  It will initialize everything needed to operate the library
and parses some standard command line options. @argc and
@argv are adjusted accordingly so your own code will
never see those standard arguments.

&lt;note&gt;&lt;para&gt;
This function will terminate your program if it was unable to initialize
the library for some reason. If you want your program to fall back to a
textual interface you want to call gtk_gl_init_check() instead.
&lt;/para&gt;&lt;/note&gt;</doc>
      <source-position filename="gtkglinit.h" line="35"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="argc"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtkglinit.c"
               line="204">Address of the &lt;parameter&gt;argc&lt;/parameter&gt; parameter of your
       &lt;function&gt;main()&lt;/function&gt; function. Changed if any arguments
       were handled.</doc>
          <type name="gint" c:type="int*"/>
        </parameter>
        <parameter name="argv"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gtkglinit.c"
               line="207">Address of the &lt;parameter&gt;argv&lt;/parameter&gt; parameter of
       &lt;function&gt;main()&lt;/function&gt;. Any parameters understood by
       gtk_gl_init() are stripped before return.</doc>
          <array length="0" zero-terminated="0" c:type="char***">
            <type name="utf8" c:type="char**"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="init_check" c:identifier="gtk_gl_init_check">
      <doc xml:space="preserve"
           filename="gtkglinit.c"
           line="169">This function does the same work as gtk_gl_init() with only
a single change: It does not terminate the program if the library can't be
initialized. Instead it returns %FALSE on failure.

This way the application can fall back to some other means of communication
with the user - for example a curses or command line interface.</doc>
      <source-position filename="gtkglinit.h" line="32"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gtkglinit.c"
             line="185">%TRUE if the GUI has been successfully initialized,
              %FALSE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="argc"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtkglinit.c"
               line="171">Address of the &lt;parameter&gt;argc&lt;/parameter&gt; parameter of your
       &lt;function&gt;main()&lt;/function&gt; function. Changed if any arguments
       were handled.</doc>
          <type name="gint" c:type="int*"/>
        </parameter>
        <parameter name="argv"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gtkglinit.c"
               line="174">Address of the &lt;parameter&gt;argv&lt;/parameter&gt; parameter of
       &lt;function&gt;main()&lt;/function&gt;. Any parameters understood by
       gtk_gl_init() are stripped before return.</doc>
          <array length="0" zero-terminated="0" c:type="char***">
            <type name="utf8" c:type="char**"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="widget_create_gl_context"
              c:identifier="gtk_widget_create_gl_context">
      <doc xml:space="preserve"
           filename="gtkglwidget.c"
           line="415">Creates a new #GdkGLContext with the appropriate #GdkGLDrawable
for this widget. The GL context must be freed when you're
finished with it. See also gtk_widget_get_gl_context().</doc>
      <source-position filename="gtkglwidget.h" line="39"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gtkglwidget.c"
             line="429">the new #GdkGLContext.</doc>
        <type name="GdkGLExt.Context" c:type="GdkGLContext*"/>
      </return-value>
      <parameters>
        <parameter name="widget" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="417">a #GtkWidget.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </parameter>
        <parameter name="share_list"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="418">the #GdkGLContext with which to share display lists and texture
             objects. NULL indicates that no sharing is to take place.</doc>
          <type name="GdkGLExt.Context" c:type="GdkGLContext*"/>
        </parameter>
        <parameter name="direct" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="420">whether rendering is to be done with a direct connection to
         the graphics system.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="render_type" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="422">GDK_GL_RGBA_TYPE or GDK_GL_COLOR_INDEX_TYPE (currently not
              used).</doc>
          <type name="gint" c:type="int"/>
        </parameter>
      </parameters>
    </function>
    <function name="widget_get_gl_config"
              c:identifier="gtk_widget_get_gl_config">
      <doc xml:space="preserve"
           filename="gtkglwidget.c"
           line="393">Returns the #GdkGLConfig referred by the @widget.</doc>
      <source-position filename="gtkglwidget.h" line="37"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gtkglwidget.c"
             line="399">the #GdkGLConfig.</doc>
        <type name="GdkGLExt.Config" c:type="GdkGLConfig*"/>
      </return-value>
      <parameters>
        <parameter name="widget" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="395">a #GtkWidget.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </parameter>
      </parameters>
    </function>
    <function name="widget_get_gl_context"
              c:identifier="gtk_widget_get_gl_context">
      <doc xml:space="preserve"
           filename="gtkglwidget.c"
           line="466">Returns the #GdkGLContext with the appropriate #GdkGLDrawable
for this widget. Unlike the GL context returned by
gtk_widget_create_gl_context(),  this context is owned by the widget.

#GdkGLContext is needed for the function gdk_gl_drawable_begin,
or for sharing display lists (see gtk_widget_set_gl_capability()).</doc>
      <source-position filename="gtkglwidget.h" line="44"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gtkglwidget.c"
             line="477">the #GdkGLContext.</doc>
        <type name="GdkGLExt.Context" c:type="GdkGLContext*"/>
      </return-value>
      <parameters>
        <parameter name="widget" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="468">a #GtkWidget.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </parameter>
      </parameters>
    </function>
    <function-macro name="widget_get_gl_drawable"
                    c:identifier="gtk_widget_get_gl_drawable"
                    introspectable="0">
      <source-position filename="gtkglwidget.h" line="48"/>
      <parameters>
        <parameter name="widget">
        </parameter>
      </parameters>
    </function-macro>
    <function name="widget_get_gl_window"
              c:identifier="gtk_widget_get_gl_window">
      <doc xml:space="preserve"
           filename="gtkglwidget.c"
           line="500">Returns the #GdkGLWindow owned by the @widget.</doc>
      <source-position filename="gtkglwidget.h" line="46"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gtkglwidget.c"
             line="506">the #GdkGLWindow.</doc>
        <type name="GdkGLExt.Window" c:type="GdkGLWindow*"/>
      </return-value>
      <parameters>
        <parameter name="widget" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="502">a #GtkWidget.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </parameter>
      </parameters>
    </function>
    <function name="widget_is_gl_capable"
              c:identifier="gtk_widget_is_gl_capable">
      <doc xml:space="preserve"
           filename="gtkglwidget.c"
           line="377">Returns whether the @widget is OpenGL-capable.</doc>
      <source-position filename="gtkglwidget.h" line="34"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gtkglwidget.c"
             line="383">TRUE if the @widget is OpenGL-capable, FALSE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="widget" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="379">a #GtkWidget.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </parameter>
      </parameters>
    </function>
    <function name="widget_set_gl_capability"
              c:identifier="gtk_widget_set_gl_capability">
      <doc xml:space="preserve"
           filename="gtkglwidget.c"
           line="232">Set the OpenGL-capability to the @widget.
This function prepares the widget for its use with OpenGL.</doc>
      <source-position filename="gtkglwidget.h" line="28"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gtkglwidget.c"
             line="246">TRUE if it is successful, FALSE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="widget" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="234">the #GtkWidget to be used as the rendering area.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </parameter>
        <parameter name="glconfig" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="235">a #GdkGLConfig.</doc>
          <type name="GdkGLExt.Config" c:type="GdkGLConfig*"/>
        </parameter>
        <parameter name="share_list"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="236">the #GdkGLContext with which to share display lists and texture
             objects. NULL indicates that no sharing is to take place.</doc>
          <type name="GdkGLExt.Context" c:type="GdkGLContext*"/>
        </parameter>
        <parameter name="direct" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="238">whether rendering is to be done with a direct connection to
         the graphics system.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="render_type" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtkglwidget.c"
               line="240">GDK_GL_RGBA_TYPE or GDK_GL_COLOR_INDEX_TYPE (currently not
              used).</doc>
          <type name="gint" c:type="int"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>
