From 91a5956707f72e6ca4f57c2af51fab378bf22949 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 16 Aug 1999 18:51:52 +0000 Subject: [PATCH] Initial revision --- docs/reference/AUTHORS | 7 + docs/reference/COPYING | 30 + docs/reference/ChangeLog | 0 docs/reference/README | 62 + docs/reference/README.cvs-commits | 39 + docs/reference/gdk/Makefile.am | 50 + docs/reference/gdk/gdk-decl.txt | 2919 ++++ docs/reference/gdk/gdk-docs.sgml | 59 + docs/reference/gdk/gdk-overrides.txt | 23 + docs/reference/gdk/gdk-sections.txt | 572 + docs/reference/gdk/tmpl/color_contexts.sgml | 202 + docs/reference/gdk/tmpl/colors.sgml | 390 + docs/reference/gdk/tmpl/cursors.sgml | 98 + docs/reference/gdk/tmpl/dnd.sgml | 187 + docs/reference/gdk/tmpl/drawing.sgml | 260 + docs/reference/gdk/tmpl/event_structs.sgml | 257 + docs/reference/gdk/tmpl/events.sgml | 185 + docs/reference/gdk/tmpl/fonts.sgml | 581 + docs/reference/gdk/tmpl/gcs.sgml | 314 + docs/reference/gdk/tmpl/gdk-unused.sgml | 0 docs/reference/gdk/tmpl/general.sgml | 265 + docs/reference/gdk/tmpl/images.sgml | 107 + docs/reference/gdk/tmpl/input.sgml | 130 + docs/reference/gdk/tmpl/input_contexts.sgml | 154 + docs/reference/gdk/tmpl/input_devices.sgml | 198 + docs/reference/gdk/tmpl/input_methods.sgml | 101 + docs/reference/gdk/tmpl/keys.sgml | 93 + docs/reference/gdk/tmpl/pixmaps.sgml | 196 + docs/reference/gdk/tmpl/properties.sgml | 152 + docs/reference/gdk/tmpl/regions.sgml | 217 + docs/reference/gdk/tmpl/rgb.sgml | 216 + docs/reference/gdk/tmpl/selections.sgml | 94 + docs/reference/gdk/tmpl/threads.sgml | 50 + docs/reference/gdk/tmpl/visuals.sgml | 391 + docs/reference/gdk/tmpl/windows.sgml | 777 + docs/reference/gtk/Makefile.am | 59 + docs/reference/gtk/gtk-decl.txt | 13819 ++++++++++++++++ docs/reference/gtk/gtk-docs.sgml | 297 + docs/reference/gtk/gtk-overrides.txt | 19 + docs/reference/gtk/gtk-sections.txt | 2955 ++++ docs/reference/gtk/gtk.args | 846 + docs/reference/gtk/gtk.hierarchy | 93 + docs/reference/gtk/gtk.signals | 1097 ++ docs/reference/gtk/gtk.types | 96 + docs/reference/gtk/objects_grouped.sgml | 130 + docs/reference/gtk/tmpl/gtk-unused.sgml | 24 + docs/reference/gtk/tmpl/gtkaccelgroup.sgml | 314 + docs/reference/gtk/tmpl/gtkaccellabel.sgml | 69 + docs/reference/gtk/tmpl/gtkadjustment.sgml | 161 + docs/reference/gtk/tmpl/gtkalignment.sgml | 104 + docs/reference/gtk/tmpl/gtkarg.sgml | 147 + docs/reference/gtk/tmpl/gtkarrow.sgml | 92 + docs/reference/gtk/tmpl/gtkaspectframe.sgml | 71 + docs/reference/gtk/tmpl/gtkbbox.sgml | 159 + docs/reference/gtk/tmpl/gtkbin.sgml | 44 + docs/reference/gtk/tmpl/gtkbindings.sgml | 243 + docs/reference/gtk/tmpl/gtkbox.sgml | 370 + docs/reference/gtk/tmpl/gtkbutton.sgml | 163 + docs/reference/gtk/tmpl/gtkcalendar.sgml | 260 + docs/reference/gtk/tmpl/gtkcheckbutton.sgml | 60 + docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml | 111 + docs/reference/gtk/tmpl/gtkclist.sgml | 1268 ++ docs/reference/gtk/tmpl/gtkcolorsel.sgml | 93 + docs/reference/gtk/tmpl/gtkcolorseldlg.sgml | 38 + docs/reference/gtk/tmpl/gtkcombo.sgml | 109 + docs/reference/gtk/tmpl/gtkcontainer.sgml | 410 + docs/reference/gtk/tmpl/gtkctree.sgml | 1266 ++ docs/reference/gtk/tmpl/gtkcurve.sgml | 109 + docs/reference/gtk/tmpl/gtkdata.sgml | 30 + docs/reference/gtk/tmpl/gtkdebug.sgml | 42 + docs/reference/gtk/tmpl/gtkdialog.sgml | 122 + docs/reference/gtk/tmpl/gtkdnd.sgml | 344 + docs/reference/gtk/tmpl/gtkdrawingarea.sgml | 111 + docs/reference/gtk/tmpl/gtkeditable.sgml | 448 + docs/reference/gtk/tmpl/gtkentry.sgml | 201 + docs/reference/gtk/tmpl/gtkenums.sgml | 361 + docs/reference/gtk/tmpl/gtkeventbox.sgml | 34 + docs/reference/gtk/tmpl/gtkfeatures.sgml | 57 + docs/reference/gtk/tmpl/gtkfilesel.sgml | 188 + docs/reference/gtk/tmpl/gtkfixed.sgml | 104 + docs/reference/gtk/tmpl/gtkfontsel.sgml | 165 + docs/reference/gtk/tmpl/gtkfontseldlg.sgml | 229 + docs/reference/gtk/tmpl/gtkframe.sgml | 96 + docs/reference/gtk/tmpl/gtkgamma.sgml | 37 + docs/reference/gtk/tmpl/gtkgc.sgml | 36 + docs/reference/gtk/tmpl/gtkhandlebox.sgml | 170 + docs/reference/gtk/tmpl/gtkhbbox.sgml | 99 + docs/reference/gtk/tmpl/gtkhbox.sgml | 47 + docs/reference/gtk/tmpl/gtkhpaned.sgml | 33 + docs/reference/gtk/tmpl/gtkhruler.sgml | 38 + docs/reference/gtk/tmpl/gtkhscale.sgml | 45 + docs/reference/gtk/tmpl/gtkhscrollbar.sgml | 42 + docs/reference/gtk/tmpl/gtkhseparator.sgml | 31 + docs/reference/gtk/tmpl/gtkimage.sgml | 55 + docs/reference/gtk/tmpl/gtkinputdialog.sgml | 73 + docs/reference/gtk/tmpl/gtkinvisible.sgml | 31 + docs/reference/gtk/tmpl/gtkitem.sgml | 68 + docs/reference/gtk/tmpl/gtkitemfactory.sgml | 358 + docs/reference/gtk/tmpl/gtklabel.sgml | 146 + docs/reference/gtk/tmpl/gtklayout.sgml | 130 + docs/reference/gtk/tmpl/gtklist.sgml | 283 + docs/reference/gtk/tmpl/gtklistitem.sgml | 133 + docs/reference/gtk/tmpl/gtkmain.sgml | 414 + docs/reference/gtk/tmpl/gtkmarshal.sgml | 482 + docs/reference/gtk/tmpl/gtkmenu.sgml | 287 + docs/reference/gtk/tmpl/gtkmenubar.sgml | 74 + docs/reference/gtk/tmpl/gtkmenufactory.sgml | 132 + docs/reference/gtk/tmpl/gtkmenuitem.sgml | 132 + docs/reference/gtk/tmpl/gtkmenushell.sgml | 191 + docs/reference/gtk/tmpl/gtkmisc.sgml | 109 + docs/reference/gtk/tmpl/gtknotebook.sgml | 446 + docs/reference/gtk/tmpl/gtkobject.sgml | 531 + docs/reference/gtk/tmpl/gtkoptionmenu.sgml | 76 + docs/reference/gtk/tmpl/gtkpacker.sgml | 227 + docs/reference/gtk/tmpl/gtkpaned.sgml | 198 + docs/reference/gtk/tmpl/gtkpixmap.sgml | 80 + docs/reference/gtk/tmpl/gtkplug.sgml | 60 + docs/reference/gtk/tmpl/gtkpreview.sgml | 265 + docs/reference/gtk/tmpl/gtkprivate.sgml | 120 + docs/reference/gtk/tmpl/gtkprogress.sgml | 172 + docs/reference/gtk/tmpl/gtkprogressbar.sgml | 150 + docs/reference/gtk/tmpl/gtkradiobutton.sgml | 85 + docs/reference/gtk/tmpl/gtkradiomenuitem.sgml | 61 + docs/reference/gtk/tmpl/gtkrange.sgml | 202 + docs/reference/gtk/tmpl/gtkrc.sgml | 724 + docs/reference/gtk/tmpl/gtkruler.sgml | 81 + docs/reference/gtk/tmpl/gtkscale.sgml | 100 + docs/reference/gtk/tmpl/gtkscrollbar.sgml | 23 + .../reference/gtk/tmpl/gtkscrolledwindow.sgml | 199 + docs/reference/gtk/tmpl/gtkselection.sgml | 270 + docs/reference/gtk/tmpl/gtkseparator.sgml | 24 + docs/reference/gtk/tmpl/gtksignal.sgml | 473 + docs/reference/gtk/tmpl/gtksocket.sgml | 132 + docs/reference/gtk/tmpl/gtkspinbutton.sgml | 385 + docs/reference/gtk/tmpl/gtkstatusbar.sgml | 136 + docs/reference/gtk/tmpl/gtkstyle.sgml | 887 + docs/reference/gtk/tmpl/gtktable.sgml | 237 + .../gtk/tmpl/gtktearoffmenuitem.sgml | 55 + docs/reference/gtk/tmpl/gtktext.sgml | 246 + docs/reference/gtk/tmpl/gtkthemes.sgml | 73 + docs/reference/gtk/tmpl/gtktipsquery.sgml | 129 + docs/reference/gtk/tmpl/gtktogglebutton.sgml | 166 + docs/reference/gtk/tmpl/gtktoolbar.sgml | 332 + docs/reference/gtk/tmpl/gtktooltips.sgml | 177 + docs/reference/gtk/tmpl/gtktree.sgml | 307 + docs/reference/gtk/tmpl/gtktreeitem.sgml | 115 + docs/reference/gtk/tmpl/gtktypeutils.sgml | 869 + docs/reference/gtk/tmpl/gtkvbbox.sgml | 63 + docs/reference/gtk/tmpl/gtkvbox.sgml | 47 + docs/reference/gtk/tmpl/gtkviewport.sgml | 98 + docs/reference/gtk/tmpl/gtkvpaned.sgml | 33 + docs/reference/gtk/tmpl/gtkvruler.sgml | 38 + docs/reference/gtk/tmpl/gtkvscale.sgml | 45 + docs/reference/gtk/tmpl/gtkvscrollbar.sgml | 42 + docs/reference/gtk/tmpl/gtkvseparator.sgml | 31 + docs/reference/gtk/tmpl/gtkwidget.sgml | 1721 ++ docs/reference/gtk/tmpl/gtkwindow.sgml | 247 + 157 files changed, 51858 insertions(+) create mode 100644 docs/reference/AUTHORS create mode 100644 docs/reference/COPYING create mode 100644 docs/reference/ChangeLog create mode 100644 docs/reference/README create mode 100644 docs/reference/README.cvs-commits create mode 100644 docs/reference/gdk/Makefile.am create mode 100644 docs/reference/gdk/gdk-decl.txt create mode 100644 docs/reference/gdk/gdk-docs.sgml create mode 100644 docs/reference/gdk/gdk-overrides.txt create mode 100644 docs/reference/gdk/gdk-sections.txt create mode 100644 docs/reference/gdk/tmpl/color_contexts.sgml create mode 100644 docs/reference/gdk/tmpl/colors.sgml create mode 100644 docs/reference/gdk/tmpl/cursors.sgml create mode 100644 docs/reference/gdk/tmpl/dnd.sgml create mode 100644 docs/reference/gdk/tmpl/drawing.sgml create mode 100644 docs/reference/gdk/tmpl/event_structs.sgml create mode 100644 docs/reference/gdk/tmpl/events.sgml create mode 100644 docs/reference/gdk/tmpl/fonts.sgml create mode 100644 docs/reference/gdk/tmpl/gcs.sgml create mode 100644 docs/reference/gdk/tmpl/gdk-unused.sgml create mode 100644 docs/reference/gdk/tmpl/general.sgml create mode 100644 docs/reference/gdk/tmpl/images.sgml create mode 100644 docs/reference/gdk/tmpl/input.sgml create mode 100644 docs/reference/gdk/tmpl/input_contexts.sgml create mode 100644 docs/reference/gdk/tmpl/input_devices.sgml create mode 100644 docs/reference/gdk/tmpl/input_methods.sgml create mode 100644 docs/reference/gdk/tmpl/keys.sgml create mode 100644 docs/reference/gdk/tmpl/pixmaps.sgml create mode 100644 docs/reference/gdk/tmpl/properties.sgml create mode 100644 docs/reference/gdk/tmpl/regions.sgml create mode 100644 docs/reference/gdk/tmpl/rgb.sgml create mode 100644 docs/reference/gdk/tmpl/selections.sgml create mode 100644 docs/reference/gdk/tmpl/threads.sgml create mode 100644 docs/reference/gdk/tmpl/visuals.sgml create mode 100644 docs/reference/gdk/tmpl/windows.sgml create mode 100644 docs/reference/gtk/Makefile.am create mode 100644 docs/reference/gtk/gtk-decl.txt create mode 100644 docs/reference/gtk/gtk-docs.sgml create mode 100644 docs/reference/gtk/gtk-overrides.txt create mode 100644 docs/reference/gtk/gtk-sections.txt create mode 100644 docs/reference/gtk/gtk.args create mode 100644 docs/reference/gtk/gtk.hierarchy create mode 100644 docs/reference/gtk/gtk.signals create mode 100644 docs/reference/gtk/gtk.types create mode 100644 docs/reference/gtk/objects_grouped.sgml create mode 100644 docs/reference/gtk/tmpl/gtk-unused.sgml create mode 100644 docs/reference/gtk/tmpl/gtkaccelgroup.sgml create mode 100644 docs/reference/gtk/tmpl/gtkaccellabel.sgml create mode 100644 docs/reference/gtk/tmpl/gtkadjustment.sgml create mode 100644 docs/reference/gtk/tmpl/gtkalignment.sgml create mode 100644 docs/reference/gtk/tmpl/gtkarg.sgml create mode 100644 docs/reference/gtk/tmpl/gtkarrow.sgml create mode 100644 docs/reference/gtk/tmpl/gtkaspectframe.sgml create mode 100644 docs/reference/gtk/tmpl/gtkbbox.sgml create mode 100644 docs/reference/gtk/tmpl/gtkbin.sgml create mode 100644 docs/reference/gtk/tmpl/gtkbindings.sgml create mode 100644 docs/reference/gtk/tmpl/gtkbox.sgml create mode 100644 docs/reference/gtk/tmpl/gtkbutton.sgml create mode 100644 docs/reference/gtk/tmpl/gtkcalendar.sgml create mode 100644 docs/reference/gtk/tmpl/gtkcheckbutton.sgml create mode 100644 docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml create mode 100644 docs/reference/gtk/tmpl/gtkclist.sgml create mode 100644 docs/reference/gtk/tmpl/gtkcolorsel.sgml create mode 100644 docs/reference/gtk/tmpl/gtkcolorseldlg.sgml create mode 100644 docs/reference/gtk/tmpl/gtkcombo.sgml create mode 100644 docs/reference/gtk/tmpl/gtkcontainer.sgml create mode 100644 docs/reference/gtk/tmpl/gtkctree.sgml create mode 100644 docs/reference/gtk/tmpl/gtkcurve.sgml create mode 100644 docs/reference/gtk/tmpl/gtkdata.sgml create mode 100644 docs/reference/gtk/tmpl/gtkdebug.sgml create mode 100644 docs/reference/gtk/tmpl/gtkdialog.sgml create mode 100644 docs/reference/gtk/tmpl/gtkdnd.sgml create mode 100644 docs/reference/gtk/tmpl/gtkdrawingarea.sgml create mode 100644 docs/reference/gtk/tmpl/gtkeditable.sgml create mode 100644 docs/reference/gtk/tmpl/gtkentry.sgml create mode 100644 docs/reference/gtk/tmpl/gtkenums.sgml create mode 100644 docs/reference/gtk/tmpl/gtkeventbox.sgml create mode 100644 docs/reference/gtk/tmpl/gtkfeatures.sgml create mode 100644 docs/reference/gtk/tmpl/gtkfilesel.sgml create mode 100644 docs/reference/gtk/tmpl/gtkfixed.sgml create mode 100644 docs/reference/gtk/tmpl/gtkfontsel.sgml create mode 100644 docs/reference/gtk/tmpl/gtkfontseldlg.sgml create mode 100644 docs/reference/gtk/tmpl/gtkframe.sgml create mode 100644 docs/reference/gtk/tmpl/gtkgamma.sgml create mode 100644 docs/reference/gtk/tmpl/gtkgc.sgml create mode 100644 docs/reference/gtk/tmpl/gtkhandlebox.sgml create mode 100644 docs/reference/gtk/tmpl/gtkhbbox.sgml create mode 100644 docs/reference/gtk/tmpl/gtkhbox.sgml create mode 100644 docs/reference/gtk/tmpl/gtkhpaned.sgml create mode 100644 docs/reference/gtk/tmpl/gtkhruler.sgml create mode 100644 docs/reference/gtk/tmpl/gtkhscale.sgml create mode 100644 docs/reference/gtk/tmpl/gtkhscrollbar.sgml create mode 100644 docs/reference/gtk/tmpl/gtkhseparator.sgml create mode 100644 docs/reference/gtk/tmpl/gtkimage.sgml create mode 100644 docs/reference/gtk/tmpl/gtkinputdialog.sgml create mode 100644 docs/reference/gtk/tmpl/gtkinvisible.sgml create mode 100644 docs/reference/gtk/tmpl/gtkitem.sgml create mode 100644 docs/reference/gtk/tmpl/gtkitemfactory.sgml create mode 100644 docs/reference/gtk/tmpl/gtklabel.sgml create mode 100644 docs/reference/gtk/tmpl/gtklayout.sgml create mode 100644 docs/reference/gtk/tmpl/gtklist.sgml create mode 100644 docs/reference/gtk/tmpl/gtklistitem.sgml create mode 100644 docs/reference/gtk/tmpl/gtkmain.sgml create mode 100644 docs/reference/gtk/tmpl/gtkmarshal.sgml create mode 100644 docs/reference/gtk/tmpl/gtkmenu.sgml create mode 100644 docs/reference/gtk/tmpl/gtkmenubar.sgml create mode 100644 docs/reference/gtk/tmpl/gtkmenufactory.sgml create mode 100644 docs/reference/gtk/tmpl/gtkmenuitem.sgml create mode 100644 docs/reference/gtk/tmpl/gtkmenushell.sgml create mode 100644 docs/reference/gtk/tmpl/gtkmisc.sgml create mode 100644 docs/reference/gtk/tmpl/gtknotebook.sgml create mode 100644 docs/reference/gtk/tmpl/gtkobject.sgml create mode 100644 docs/reference/gtk/tmpl/gtkoptionmenu.sgml create mode 100644 docs/reference/gtk/tmpl/gtkpacker.sgml create mode 100644 docs/reference/gtk/tmpl/gtkpaned.sgml create mode 100644 docs/reference/gtk/tmpl/gtkpixmap.sgml create mode 100644 docs/reference/gtk/tmpl/gtkplug.sgml create mode 100644 docs/reference/gtk/tmpl/gtkpreview.sgml create mode 100644 docs/reference/gtk/tmpl/gtkprivate.sgml create mode 100644 docs/reference/gtk/tmpl/gtkprogress.sgml create mode 100644 docs/reference/gtk/tmpl/gtkprogressbar.sgml create mode 100644 docs/reference/gtk/tmpl/gtkradiobutton.sgml create mode 100644 docs/reference/gtk/tmpl/gtkradiomenuitem.sgml create mode 100644 docs/reference/gtk/tmpl/gtkrange.sgml create mode 100644 docs/reference/gtk/tmpl/gtkrc.sgml create mode 100644 docs/reference/gtk/tmpl/gtkruler.sgml create mode 100644 docs/reference/gtk/tmpl/gtkscale.sgml create mode 100644 docs/reference/gtk/tmpl/gtkscrollbar.sgml create mode 100644 docs/reference/gtk/tmpl/gtkscrolledwindow.sgml create mode 100644 docs/reference/gtk/tmpl/gtkselection.sgml create mode 100644 docs/reference/gtk/tmpl/gtkseparator.sgml create mode 100644 docs/reference/gtk/tmpl/gtksignal.sgml create mode 100644 docs/reference/gtk/tmpl/gtksocket.sgml create mode 100644 docs/reference/gtk/tmpl/gtkspinbutton.sgml create mode 100644 docs/reference/gtk/tmpl/gtkstatusbar.sgml create mode 100644 docs/reference/gtk/tmpl/gtkstyle.sgml create mode 100644 docs/reference/gtk/tmpl/gtktable.sgml create mode 100644 docs/reference/gtk/tmpl/gtktearoffmenuitem.sgml create mode 100644 docs/reference/gtk/tmpl/gtktext.sgml create mode 100644 docs/reference/gtk/tmpl/gtkthemes.sgml create mode 100644 docs/reference/gtk/tmpl/gtktipsquery.sgml create mode 100644 docs/reference/gtk/tmpl/gtktogglebutton.sgml create mode 100644 docs/reference/gtk/tmpl/gtktoolbar.sgml create mode 100644 docs/reference/gtk/tmpl/gtktooltips.sgml create mode 100644 docs/reference/gtk/tmpl/gtktree.sgml create mode 100644 docs/reference/gtk/tmpl/gtktreeitem.sgml create mode 100644 docs/reference/gtk/tmpl/gtktypeutils.sgml create mode 100644 docs/reference/gtk/tmpl/gtkvbbox.sgml create mode 100644 docs/reference/gtk/tmpl/gtkvbox.sgml create mode 100644 docs/reference/gtk/tmpl/gtkviewport.sgml create mode 100644 docs/reference/gtk/tmpl/gtkvpaned.sgml create mode 100644 docs/reference/gtk/tmpl/gtkvruler.sgml create mode 100644 docs/reference/gtk/tmpl/gtkvscale.sgml create mode 100644 docs/reference/gtk/tmpl/gtkvscrollbar.sgml create mode 100644 docs/reference/gtk/tmpl/gtkvseparator.sgml create mode 100644 docs/reference/gtk/tmpl/gtkwidget.sgml create mode 100644 docs/reference/gtk/tmpl/gtkwindow.sgml diff --git a/docs/reference/AUTHORS b/docs/reference/AUTHORS new file mode 100644 index 0000000000..64f46b74b2 --- /dev/null +++ b/docs/reference/AUTHORS @@ -0,0 +1,7 @@ +Damon Chaplin and others. + +See: + + http://www.gtk.org/rdp/status.html + +for a complete list. diff --git a/docs/reference/COPYING b/docs/reference/COPYING new file mode 100644 index 0000000000..df952d3cab --- /dev/null +++ b/docs/reference/COPYING @@ -0,0 +1,30 @@ +This work may be reproduced and distributed in whole or in part, in +any medium, physical or electronic, so as long as this copyright +notice remains intact and unchanged on all copies. Commercial +redistribution is permitted and encouraged, but you may not +redistribute, in whole or in part, under terms more restrictive than +those under which you received it. If you redistribute a modified or +translated version of this work, you must also make the source code to +the modified or translated version available in electronic form +without charge. However, mere aggregation as part of a larger work +shall not count as a modification for this purpose. + +All code examples in this work are placed into the public domain, +and may be used, modified and redistributed without restriction. + +BECAUSE THIS WORK IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE WORK, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE WORK "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. SHOULD THE WORK PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY REPAIR OR CORRECTION. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE WORK AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +WORK, EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/reference/README b/docs/reference/README new file mode 100644 index 0000000000..024306be4b --- /dev/null +++ b/docs/reference/README @@ -0,0 +1,62 @@ +This package contains the reference documentation +for GTK+. For more information about GTK+ +see: + + http://www.gtk.org + +For information about contributing to the +GLib/GTK+ reference documentation project, see: + + http://www.gtk.org/rdp/ + +The GTK+ reference documentation is freely redistributable, +see the file COPYING for details. + + +REQUIREMENTS +============ + +To build the documentation, you must have the gtk-doc +package installed. To rebuild the template files, +you must have the current version of the GTK+ +header files installed. + + +BUILD +===== + +First, run configure to generate the makefiles for this +module. There is one option specific to this package + + --with-html-dir=DIR top of installed HTML documentation tree + + +The Makefiles in the gdk/ and gtk/ subdirs each define three targets: + + templates: + + Scan the headers and merge the results with the current + template files + + sgml: + + Generate SGML files using the DocBook DTD from + the template files + + html: + + Generate HTML from the SGML files. + +To build the documentation, do: + + make sgml + make html + +You should only run the 'make templates' step if you +need to regenerate the templates for a more recent +version of the GTK+ sources. + +INSTALLATION +============ + + make install diff --git a/docs/reference/README.cvs-commits b/docs/reference/README.cvs-commits new file mode 100644 index 0000000000..8b6edbd661 --- /dev/null +++ b/docs/reference/README.cvs-commits @@ -0,0 +1,39 @@ +Before making any changes to this module, please +contact: + + Damon Chaplin + +This will ensure that duplicate work does not occur, +and also make sure we know who has written what +parts of the documentation. See + + http://www.gtk.org/rdp/ + +for more information. + +By contributing work to the Reference Documentation +Project, you agree that it will be covered under the +license terms described in the file COPYING +included in this directory. + + +Other notes: + +- Do not run 'make templates' unless you have + the latest cvs version of the gtk-1-2 + branch of GTK+ and the latest CVS version + of gtk-doc. + + (This is very important. Otherwise, the template + files may be come corrupted.) + + Make sure that gtk-config --prefix points + to the correct version of GTK+. + +- As always, ChangeLog entries should be made for + each commit. These can be really brief + "documented GHashTable"; but if you are editing + something someone else wrote, please be specific. + (Or better, send the changes to them for their + approval, first) + diff --git a/docs/reference/gdk/Makefile.am b/docs/reference/gdk/Makefile.am new file mode 100644 index 0000000000..0b0b0eacff --- /dev/null +++ b/docs/reference/gdk/Makefile.am @@ -0,0 +1,50 @@ +## Process this file with automake to produce Makefile.in + +# The name of the module. +DOC_MODULE=gdk + +# The top-level SGML file. +DOC_MAIN_SGML_FILE=gdk-docs.sgml + +# We could alternatively use this for using installed headers. +INCLUDE_DIR=`gtk-config --prefix`/include/gdk + + +TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) + +scan: + gtkdoc-scan --module=$(DOC_MODULE) $(INCLUDE_DIR)/gdk.h $(INCLUDE_DIR)/gdktypes.h $(INCLUDE_DIR)/gdkrgb.h + +templates: scan + gtkdoc-mktmpl --module=$(DOC_MODULE) + +sgml: + gtkdoc-mkdb --module=$(DOC_MODULE) + +html: + if ! test -d html ; then mkdir html ; fi + -cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) + +clean-local: + rm -f *~ *.bak *.hierarchy *.signals *.args *-unused.txt + +maintainer-clean-local: clean + rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt + +install-data-local: + install -d -m 0755 $(TARGET_DIR) + install -m 0644 html/*.html $(TARGET_DIR) + install -m 0644 html/index.sgml $(TARGET_DIR) + gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR) + +EXTRA_DIST = \ + $(DOC_MAIN_SGML_FILE) \ + $(DOC_MODULE)-sections.txt \ + gdk-overrides.txt \ + gdk-decl.txt + +dist-hook: + mkdir $(distdir)/tmpl + cp -p tmpl/*.sgml $(distdir)/tmpl + +.PHONY : html sgml templates scan diff --git a/docs/reference/gdk/gdk-decl.txt b/docs/reference/gdk/gdk-decl.txt new file mode 100644 index 0000000000..9bfb10e8a8 --- /dev/null +++ b/docs/reference/gdk/gdk-decl.txt @@ -0,0 +1,2919 @@ + +GDK_PRIORITY_EVENTS +#define GDK_PRIORITY_EVENTS (G_PRIORITY_DEFAULT) + + +gdk_init +void +gint *argc,gchar ***argv + + +gdk_init_check +gboolean +gint *argc,gchar ***argv + + +gdk_exit +void +gint error_code + + +gdk_set_locale +gchar * +void + + +gdk_error_trap_push +void +void + + +gdk_error_trap_pop +gint +void + + +gdk_events_pending +gboolean +void + + +gdk_event_get +GdkEvent * +void + + +gdk_event_peek +GdkEvent * +void + + +gdk_event_get_graphics_expose +GdkEvent * +GdkWindow *window + + +gdk_event_put +void +GdkEvent *event + + +gdk_event_copy +GdkEvent * +GdkEvent *event + + +gdk_event_free +void +GdkEvent *event + + +gdk_event_get_time +guint32 +GdkEvent *event + + +gdk_event_handler_set +void +GdkEventFunc func,gpointer data,GDestroyNotify notify + + +gdk_set_show_events +void +gint show_events + + +gdk_set_use_xshm +void +gint use_xshm + + +gdk_get_show_events +gint +void + + +gdk_get_use_xshm +gint +void + + +gdk_get_display +gchar * +void + + +gdk_time_get +guint32 +void + + +gdk_timer_get +guint32 +void + + +gdk_timer_set +void +guint32 milliseconds + + +gdk_timer_enable +void +void + + +gdk_timer_disable +void +void + + +gdk_input_add_full +gint +gint source,GdkInputCondition condition,GdkInputFunction function,gpointer data,GdkDestroyNotify destroy + + +gdk_input_add +gint +gint source,GdkInputCondition condition,GdkInputFunction function,gpointer data + + +gdk_input_remove +void +gint tag + + +gdk_pointer_grab +gint +GdkWindow * window,gint owner_events,GdkEventMask event_mask,GdkWindow * confine_to,GdkCursor * cursor,guint32 time + + +gdk_pointer_ungrab +void +guint32 time + + +gdk_keyboard_grab +gint +GdkWindow * window,gint owner_events,guint32 time + + +gdk_keyboard_ungrab +void +guint32 time + + +gdk_pointer_is_grabbed +gint +void + + +gdk_screen_width +gint +void + + +gdk_screen_height +gint +void + + +gdk_screen_width_mm +gint +void + + +gdk_screen_height_mm +gint +void + + +gdk_flush +void +void + + +gdk_beep +void +void + + +gdk_key_repeat_disable +void +void + + +gdk_key_repeat_restore +void +void + + +gdk_visual_get_best_depth +gint +void + + +gdk_visual_get_best_type +GdkVisualType +void + + +gdk_visual_get_system +GdkVisual * +void + + +gdk_visual_get_best +GdkVisual * +void + + +gdk_visual_get_best_with_depth +GdkVisual * +gint depth + + +gdk_visual_get_best_with_type +GdkVisual * +GdkVisualType visual_type + + +gdk_visual_get_best_with_both +GdkVisual * +gint depth,GdkVisualType visual_type + + +gdk_visual_ref +GdkVisual * +GdkVisual *visual + + +gdk_visual_unref +void +GdkVisual *visual + + +gdk_query_depths +void +gint **depths,gint *count + + +gdk_query_visual_types +void +GdkVisualType **visual_types,gint *count + + +gdk_list_visuals +GList * +void + + +gdk_window_new +GdkWindow * +GdkWindow *parent,GdkWindowAttr *attributes,gint attributes_mask + + +gdk_window_destroy +void +GdkWindow *window + + +gdk_window_ref +GdkWindow * +GdkWindow *window + + +gdk_window_unref +void +GdkWindow *window + + +gdk_window_at_pointer +GdkWindow * +gint *win_x,gint *win_y + + +gdk_window_show +void +GdkWindow *window + + +gdk_window_hide +void +GdkWindow *window + + +gdk_window_withdraw +void +GdkWindow *window + + +gdk_window_move +void +GdkWindow *window,gint x,gint y + + +gdk_window_resize +void +GdkWindow *window,gint width,gint height + + +gdk_window_move_resize +void +GdkWindow *window,gint x,gint y,gint width,gint height + + +gdk_window_reparent +void +GdkWindow *window,GdkWindow *new_parent,gint x,gint y + + +gdk_window_clear +void +GdkWindow *window + + +gdk_window_clear_area +void +GdkWindow *window,gint x,gint y,gint width,gint height + + +gdk_window_clear_area_e +void +GdkWindow *window,gint x,gint y,gint width,gint height + + +gdk_window_copy_area +void +GdkWindow *window,GdkGC *gc,gint x,gint y,GdkWindow *source_window,gint source_x,gint source_y,gint width,gint height + + +gdk_window_raise +void +GdkWindow *window + + +gdk_window_lower +void +GdkWindow *window + + +gdk_window_set_user_data +void +GdkWindow *window,gpointer user_data + + +gdk_window_set_override_redirect +void +GdkWindow *window,gboolean override_redirect + + +gdk_window_add_filter +void +GdkWindow *window,GdkFilterFunc function,gpointer data + + +gdk_window_remove_filter +void +GdkWindow *window,GdkFilterFunc function,gpointer data + + +gdk_window_shape_combine_mask +void +GdkWindow *window,GdkBitmap *shape_mask,gint offset_x,gint offset_y + + +gdk_window_set_child_shapes +void +GdkWindow *window + + +gdk_window_merge_child_shapes +void +GdkWindow *window + + +gdk_window_is_visible +gboolean +GdkWindow *window + + +gdk_window_is_viewable +gboolean +GdkWindow *window + + +gdk_window_set_static_gravities +gboolean +GdkWindow *window,gboolean use_static + + +gdk_add_client_message_filter +void +GdkAtom message_type,GdkFilterFunc func,gpointer data + + +gdk_drag_context_new +GdkDragContext * +void + + +gdk_drag_context_ref +void +GdkDragContext *context + + +gdk_drag_context_unref +void +GdkDragContext *context + + +gdk_drag_status +void +GdkDragContext *context,GdkDragAction action,guint32 time + + +gdk_drop_reply +void +GdkDragContext *context,gboolean ok,guint32 time + + +gdk_drop_finish +void +GdkDragContext *context,gboolean success,guint32 time + + +gdk_drag_get_selection +GdkAtom +GdkDragContext *context + + +gdk_drag_begin +GdkDragContext * +GdkWindow *window,GList *targets + + +gdk_drag_get_protocol +guint32 +guint32 xid,GdkDragProtocol *protocol + + +gdk_drag_find_window +void +GdkDragContext *context,GdkWindow *drag_window,gint x_root,gint y_root,GdkWindow **dest_window,GdkDragProtocol *protocol + + +gdk_drag_motion +gboolean +GdkDragContext *context,GdkWindow *dest_window,GdkDragProtocol protocol,gint x_root,gint y_root,GdkDragAction suggested_action,GdkDragAction possible_actions,guint32 time + + +gdk_drag_drop +void +GdkDragContext *context,guint32 time + + +gdk_drag_abort +void +GdkDragContext *context,guint32 time + + +gdk_drag_get_selection +GdkAtom +GdkDragContext *context + + +gdk_window_set_hints +void +GdkWindow *window,gint x,gint y,gint min_width,gint min_height,gint max_width,gint max_height,gint flags + + +gdk_window_set_geometry_hints +void +GdkWindow *window,GdkGeometry *geometry,GdkWindowHints flags + + +gdk_set_sm_client_id +void +const gchar *sm_client_id + + +gdk_window_set_title +void +GdkWindow *window,const gchar *title + + +gdk_window_set_role +void +GdkWindow *window,const gchar *role + + +gdk_window_set_transient_for +void +GdkWindow *window,GdkWindow *leader + + +gdk_window_set_background +void +GdkWindow *window,GdkColor *color + + +gdk_window_set_back_pixmap +void +GdkWindow *window,GdkPixmap *pixmap,gint parent_relative + + +gdk_window_set_cursor +void +GdkWindow *window,GdkCursor *cursor + + +gdk_window_set_colormap +void +GdkWindow *window,GdkColormap *colormap + + +gdk_window_get_user_data +void +GdkWindow *window,gpointer *data + + +gdk_window_get_geometry +void +GdkWindow *window,gint *x,gint *y,gint *width,gint *height,gint *depth + + +gdk_window_get_position +void +GdkWindow *window,gint *x,gint *y + + +gdk_window_get_size +void +GdkWindow *window,gint *width,gint *height + + +gdk_window_get_visual +GdkVisual * +GdkWindow *window + + +gdk_window_get_colormap +GdkColormap * +GdkWindow *window + + +gdk_window_get_type +GdkWindowType +GdkWindow *window + + +gdk_window_get_origin +gint +GdkWindow *window,gint *x,gint *y + + +gdk_window_get_deskrelative_origin +gboolean +GdkWindow *window,gint *x,gint *y + + +gdk_window_get_root_origin +void +GdkWindow *window,gint *x,gint *y + + +gdk_window_get_pointer +GdkWindow * +GdkWindow *window,gint *x,gint *y,GdkModifierType *mask + + +gdk_window_get_parent +GdkWindow * +GdkWindow *window + + +gdk_window_get_toplevel +GdkWindow * +GdkWindow *window + + +gdk_window_get_children +GList * +GdkWindow *window + + +gdk_window_get_events +GdkEventMask +GdkWindow *window + + +gdk_window_set_events +void +GdkWindow *window,GdkEventMask event_mask + + +gdk_window_set_icon +void +GdkWindow *window,GdkWindow *icon_window,GdkPixmap *pixmap,GdkBitmap *mask + + +gdk_window_set_icon_name +void +GdkWindow *window,gchar *name + + +gdk_window_set_group +void +GdkWindow *window,GdkWindow *leader + + +gdk_window_set_decorations +void +GdkWindow *window,GdkWMDecoration decorations + + +gdk_window_set_functions +void +GdkWindow *window,GdkWMFunction functions + + +gdk_window_get_toplevels +GList * +void + + +gdk_window_register_dnd +void +GdkWindow *window + + +gdk_drawable_set_data +void +GdkDrawable *drawable,const gchar *key,gpointer data,GDestroyNotify destroy_func + + +gdk_cursor_new +GdkCursor * +GdkCursorType cursor_type + + +gdk_cursor_new_from_pixmap +GdkCursor * +GdkPixmap *source,GdkPixmap *mask,GdkColor *fg,GdkColor *bg,gint x,gint y + + +gdk_cursor_destroy +void +GdkCursor *cursor + + +gdk_gc_new +GdkGC * +GdkWindow *window + + +gdk_gc_new_with_values +GdkGC * +GdkWindow *window,GdkGCValues *values,GdkGCValuesMask values_mask + + +gdk_gc_ref +GdkGC * +GdkGC *gc + + +gdk_gc_unref +void +GdkGC *gc + + +gdk_gc_destroy +void +GdkGC *gc + + +gdk_gc_get_values +void +GdkGC *gc,GdkGCValues *values + + +gdk_gc_set_foreground +void +GdkGC *gc,GdkColor *color + + +gdk_gc_set_background +void +GdkGC *gc,GdkColor *color + + +gdk_gc_set_font +void +GdkGC *gc,GdkFont *font + + +gdk_gc_set_function +void +GdkGC *gc,GdkFunction function + + +gdk_gc_set_fill +void +GdkGC *gc,GdkFill fill + + +gdk_gc_set_tile +void +GdkGC *gc,GdkPixmap *tile + + +gdk_gc_set_stipple +void +GdkGC *gc,GdkPixmap *stipple + + +gdk_gc_set_ts_origin +void +GdkGC *gc,gint x,gint y + + +gdk_gc_set_clip_origin +void +GdkGC *gc,gint x,gint y + + +gdk_gc_set_clip_mask +void +GdkGC *gc,GdkBitmap *mask + + +gdk_gc_set_clip_rectangle +void +GdkGC *gc,GdkRectangle *rectangle + + +gdk_gc_set_clip_region +void +GdkGC *gc,GdkRegion *region + + +gdk_gc_set_subwindow +void +GdkGC *gc,GdkSubwindowMode mode + + +gdk_gc_set_exposures +void +GdkGC *gc,gint exposures + + +gdk_gc_set_line_attributes +void +GdkGC *gc,gint line_width,GdkLineStyle line_style,GdkCapStyle cap_style,GdkJoinStyle join_style + + +gdk_gc_set_dashes +void +GdkGC *gc,gint dash_offset,gchar dash_list[],gint n + + +gdk_gc_copy +void +GdkGC *dst_gc,GdkGC *src_gc + + +gdk_pixmap_new +GdkPixmap * +GdkWindow *window,gint width,gint height,gint depth + + +gdk_bitmap_create_from_data +GdkBitmap * +GdkWindow *window,const gchar *data,gint width,gint height + + +gdk_pixmap_create_from_data +GdkPixmap * +GdkWindow *window,const gchar *data,gint width,gint height,gint depth,GdkColor *fg,GdkColor *bg + + +gdk_pixmap_create_from_xpm +GdkPixmap * +GdkWindow *window,GdkBitmap **mask,GdkColor *transparent_color,const gchar *filename + + +gdk_pixmap_colormap_create_from_xpm +GdkPixmap * +GdkWindow *window,GdkColormap *colormap,GdkBitmap **mask,GdkColor *transparent_color,const gchar *filename + + +gdk_pixmap_create_from_xpm_d +GdkPixmap * +GdkWindow *window,GdkBitmap **mask,GdkColor *transparent_color,gchar **data + + +gdk_pixmap_colormap_create_from_xpm_d +GdkPixmap * +GdkWindow *window,GdkColormap *colormap,GdkBitmap **mask,GdkColor *transparent_color,gchar **data + + +gdk_pixmap_ref +GdkPixmap * +GdkPixmap *pixmap + + +gdk_pixmap_unref +void +GdkPixmap *pixmap + + +gdk_bitmap_ref +GdkBitmap * +GdkBitmap *pixmap + + +gdk_bitmap_unref +void +GdkBitmap *pixmap + + +gdk_image_new_bitmap +GdkImage * +GdkVisual *visual,gpointer data,gint width,gint height + + +gdk_image_new +GdkImage * +GdkImageType type,GdkVisual *visual,gint width,gint height + + +gdk_image_get +GdkImage * +GdkWindow *window,gint x,gint y,gint width,gint height + + +gdk_image_put_pixel +void +GdkImage *image,gint x,gint y,guint32 pixel + + +gdk_image_get_pixel +guint32 +GdkImage *image,gint x,gint y + + +gdk_image_destroy +void +GdkImage *image + + +gdk_colormap_new +GdkColormap * +GdkVisual *visual,gint allocate + + +gdk_colormap_ref +GdkColormap * +GdkColormap *cmap + + +gdk_colormap_unref +void +GdkColormap *cmap + + +gdk_colormap_get_system +GdkColormap * +void + + +gdk_colormap_get_system_size +gint +void + + +gdk_colormap_change +void +GdkColormap *colormap,gint ncolors + + +gdk_colormap_alloc_colors +gint +GdkColormap *colormap,GdkColor *colors,gint ncolors,gboolean writeable,gboolean best_match,gboolean *success + + +gdk_colormap_alloc_color +gboolean +GdkColormap *colormap,GdkColor *color,gboolean writeable,gboolean best_match + + +gdk_colormap_free_colors +void +GdkColormap *colormap,GdkColor *colors,gint ncolors + + +gdk_colormap_get_visual +GdkVisual * +GdkColormap *colormap + + +gdk_color_copy +GdkColor * +GdkColor *color + + +gdk_color_free +void +GdkColor *color + + +gdk_color_parse +gint +const gchar *spec,GdkColor *color + + +gdk_color_hash +guint +const GdkColor *colora,const GdkColor *colorb + + +gdk_color_equal +gint +const GdkColor *colora,const GdkColor *colorb + + +gdk_colors_store +void +GdkColormap *colormap,GdkColor *colors,gint ncolors + + +gdk_colors_alloc +gint +GdkColormap *colormap,gint contiguous,gulong *planes,gint nplanes,gulong *pixels,gint npixels + + +gdk_colors_free +void +GdkColormap *colormap,gulong *pixels,gint npixels,gulong planes + + +gdk_color_white +gint +GdkColormap *colormap,GdkColor *color + + +gdk_color_black +gint +GdkColormap *colormap,GdkColor *color + + +gdk_color_alloc +gint +GdkColormap *colormap,GdkColor *color + + +gdk_color_change +gint +GdkColormap *colormap,GdkColor *color + + +gdk_font_load +GdkFont * +const gchar *font_name + + +gdk_fontset_load +GdkFont * +gchar *fontset_name + + +gdk_font_ref +GdkFont * +GdkFont *font + + +gdk_font_unref +void +GdkFont *font + + +gdk_font_id +gint +const GdkFont *font + + +gdk_font_equal +gint +const GdkFont *fonta,const GdkFont *fontb + + +gdk_string_width +gint +GdkFont *font,const gchar *string + + +gdk_text_width +gint +GdkFont *font,const gchar *text,gint text_length + + +gdk_text_width_wc +gint +GdkFont *font,const GdkWChar *text,gint text_length + + +gdk_char_width +gint +GdkFont *font,gchar character + + +gdk_char_width_wc +gint +GdkFont *font,GdkWChar character + + +gdk_string_measure +gint +GdkFont *font,const gchar *string + + +gdk_text_measure +gint +GdkFont *font,const gchar *text,gint text_length + + +gdk_char_measure +gint +GdkFont *font,gchar character + + +gdk_string_height +gint +GdkFont *font,const gchar *string + + +gdk_text_height +gint +GdkFont *font,const gchar *text,gint text_length + + +gdk_char_height +gint +GdkFont *font,gchar character + + +gdk_text_extents +void +GdkFont *font,const gchar *text,gint text_length,gint *lbearing,gint *rbearing,gint *width,gint *ascent,gint *descent + + +gdk_text_extents_wc +void +GdkFont *font,const GdkWChar *text,gint text_length,gint *lbearing,gint *rbearing,gint *width,gint *ascent,gint *descent + + +gdk_string_extents +void +GdkFont *font,const gchar *string,gint *lbearing,gint *rbearing,gint *width,gint *ascent,gint *descent + + +gdk_draw_point +void +GdkDrawable *drawable,GdkGC *gc,gint x,gint y + + +gdk_draw_line +void +GdkDrawable *drawable,GdkGC *gc,gint x1,gint y1,gint x2,gint y2 + + +gdk_draw_rectangle +void +GdkDrawable *drawable,GdkGC *gc,gint filled,gint x,gint y,gint width,gint height + + +gdk_draw_arc +void +GdkDrawable *drawable,GdkGC *gc,gint filled,gint x,gint y,gint width,gint height,gint angle1,gint angle2 + + +gdk_draw_polygon +void +GdkDrawable *drawable,GdkGC *gc,gint filled,GdkPoint *points,gint npoints + + +gdk_draw_string +void +GdkDrawable *drawable,GdkFont *font,GdkGC *gc,gint x,gint y,const gchar *string + + +gdk_draw_text +void +GdkDrawable *drawable,GdkFont *font,GdkGC *gc,gint x,gint y,const gchar *text,gint text_length + + +gdk_draw_text_wc +void +GdkDrawable *drawable,GdkFont *font,GdkGC *gc,gint x,gint y,const GdkWChar *text,gint text_length + + +gdk_draw_pixmap +void +GdkDrawable *drawable,GdkGC *gc,GdkDrawable *src,gint xsrc,gint ysrc,gint xdest,gint ydest,gint width,gint height + + +gdk_draw_bitmap +void +GdkDrawable *drawable,GdkGC *gc,GdkDrawable *src,gint xsrc,gint ysrc,gint xdest,gint ydest,gint width,gint height + + +gdk_draw_image +void +GdkDrawable *drawable,GdkGC *gc,GdkImage *image,gint xsrc,gint ysrc,gint xdest,gint ydest,gint width,gint height + + +gdk_draw_points +void +GdkDrawable *drawable,GdkGC *gc,GdkPoint *points,gint npoints + + +gdk_draw_segments +void +GdkDrawable *drawable,GdkGC *gc,GdkSegment *segs,gint nsegs + + +gdk_draw_lines +void +GdkDrawable *drawable,GdkGC *gc,GdkPoint *points,gint npoints + + +gdk_selection_owner_set +gint +GdkWindow *owner,GdkAtom selection,guint32 time,gint send_event + + +gdk_selection_owner_get +GdkWindow * +GdkAtom selection + + +gdk_selection_convert +void +GdkWindow *requestor,GdkAtom selection,GdkAtom target,guint32 time + + +gdk_selection_property_get +gint +GdkWindow *requestor,guchar **data,GdkAtom *prop_type,gint *prop_format + + +gdk_selection_send_notify +void +guint32 requestor,GdkAtom selection,GdkAtom target,GdkAtom property,guint32 time + + +gdk_text_property_to_text_list +gint +GdkAtom encoding, gint format,guchar *text, gint length,gchar ***list + + +gdk_free_text_list +void +gchar **list + + +gdk_string_to_compound_text +gint +gchar *str,GdkAtom *encoding, gint *format,guchar **ctext, gint *length + + +gdk_free_compound_text +void +guchar *ctext + + +gdk_atom_intern +GdkAtom +const gchar *atom_name,gint only_if_exists + + +gdk_atom_name +gchar * +GdkAtom atom + + +gdk_property_get +gint +GdkWindow *window,GdkAtom property,GdkAtom type,gulong offset,gulong length,gint pdelete,GdkAtom *actual_property_type,gint *actual_format,gint *actual_length,guchar **data + + +gdk_property_change +void +GdkWindow *window,GdkAtom property,GdkAtom type,gint format,GdkPropMode mode,guchar *data,gint nelements + + +gdk_property_delete +void +GdkWindow *window,GdkAtom property + + +gdk_rectangle_intersect +gint +GdkRectangle *src1,GdkRectangle *src2,GdkRectangle *dest + + +gdk_rectangle_union +void +GdkRectangle *src1,GdkRectangle *src2,GdkRectangle *dest + + +gdk_input_init +void +void + + +gdk_input_exit +void +void + + +gdk_input_list_devices +GList * +void + + +gdk_input_set_extension_events +void +GdkWindow *window,gint mask,GdkExtensionMode mode + + +gdk_input_set_source +void +guint32 deviceid,GdkInputSource source + + +gdk_input_set_mode +gint +guint32 deviceid,GdkInputMode mode + + +gdk_input_set_axes +void +guint32 deviceid,GdkAxisUse *axes + + +gdk_input_set_key +void +guint32 deviceid,guint index,guint keyval,GdkModifierType modifiers + + +gdk_input_window_get_pointer +void +GdkWindow *window,guint32 deviceid,gdouble *x,gdouble *y,gdouble *pressure,gdouble *xtilt,gdouble *ytilt,GdkModifierType *mask + + +gdk_input_motion_events +GdkTimeCoord * +GdkWindow *window,guint32 deviceid,guint32 start,guint32 stop,gint *nevents_return + + +gdk_im_ready +gint +void + + +gdk_im_begin +void +GdkIC *ic,GdkWindow *window + + +gdk_im_end +void +void + + +gdk_im_decide_style +GdkIMStyle +GdkIMStyle supported_style + + +gdk_im_set_best_style +GdkIMStyle +GdkIMStyle best_allowed_style + + +gdk_ic_new +GdkIC * +GdkICAttr *attr,GdkICAttributesType mask + + +gdk_ic_destroy +void +GdkIC *ic + + +gdk_ic_get_style +GdkIMStyle +GdkIC *ic + + +gdk_ic_get_events +GdkEventMask +GdkIC *ic + + +gdk_ic_attr_new +GdkICAttr * +void + + +gdk_ic_attr_destroy +void +GdkICAttr *attr + + +gdk_ic_set_attr +GdkICAttributesType +GdkIC *ic,GdkICAttr *attr,GdkICAttributesType mask + + +gdk_ic_get_attr +GdkICAttributesType +GdkIC *ic,GdkICAttr *attr,GdkICAttributesType mask + + +gdk_wcstombs +gchar * +const GdkWChar *src + + +gdk_mbstowcs +gint +GdkWChar *dest,const gchar *src,gint dest_max + + +gdk_color_context_new +GdkColorContext * +GdkVisual *visual,GdkColormap *colormap + + +gdk_color_context_new_mono +GdkColorContext * +GdkVisual *visual,GdkColormap *colormap + + +gdk_color_context_free +void +GdkColorContext *cc + + +gdk_color_context_get_pixel +gulong +GdkColorContext *cc,gushort red,gushort green,gushort blue,gint *failed + + +gdk_color_context_get_pixels +void +GdkColorContext *cc,gushort *reds,gushort *greens,gushort *blues,gint ncolors,gulong *colors,gint *nallocated + + +gdk_color_context_get_pixels_incremental +void +GdkColorContext *cc,gushort *reds,gushort *greens,gushort *blues,gint ncolors,gint *used,gulong *colors,gint *nallocated + + +gdk_color_context_query_color +gint +GdkColorContext *cc,GdkColor *color + + +gdk_color_context_query_colors +gint +GdkColorContext *cc,GdkColor *colors,gint num_colors + + +gdk_color_context_add_palette +gint +GdkColorContext *cc,GdkColor *palette,gint num_palette + + +gdk_color_context_init_dither +void +GdkColorContext *cc + + +gdk_color_context_free_dither +void +GdkColorContext *cc + + +gdk_color_context_get_pixel_from_palette +gulong +GdkColorContext *cc,gushort *red,gushort *green,gushort *blue,gint *failed + + +gdk_color_context_get_index_from_palette +guchar +GdkColorContext *cc,gint *red,gint *green,gint *blue,gint *failed + + +gdk_region_new +GdkRegion * +void + + +gdk_region_destroy +void +GdkRegion *region + + +gdk_region_get_clipbox +void +GdkRegion *region,GdkRectangle *rectangle + + +gdk_region_empty +gboolean +GdkRegion *region + + +gdk_region_equal +gboolean +GdkRegion *region1,GdkRegion *region2 + + +gdk_region_point_in +gboolean +GdkRegion *region,int x,int y + + +gdk_region_rect_in +GdkOverlapType +GdkRegion *region,GdkRectangle *rect + + +gdk_region_polygon +GdkRegion * +GdkPoint *points,gint npoints,GdkFillRule fill_rule + + +gdk_region_offset +void +GdkRegion *region,gint dx,gint dy + + +gdk_region_shrink +void +GdkRegion *region,gint dx,gint dy + + +gdk_region_union_with_rect +GdkRegion * +GdkRegion *region,GdkRectangle *rect + + +gdk_regions_intersect +GdkRegion * +GdkRegion *source1,GdkRegion *source2 + + +gdk_regions_union +GdkRegion * +GdkRegion *source1,GdkRegion *source2 + + +gdk_regions_subtract +GdkRegion * +GdkRegion *source1,GdkRegion *source2 + + +gdk_regions_xor +GdkRegion * +GdkRegion *source1,GdkRegion *source2 + + +gdk_event_send_clientmessage_toall +void +GdkEvent *event + + +gdk_event_send_client_message +gboolean +GdkEvent *event,guint32 xid + + +gdk_keyval_name +gchar * +guint keyval + + +gdk_keyval_from_name +guint +const gchar *keyval_name + + +gdk_keyval_to_upper +guint +guint keyval + + +gdk_keyval_to_lower +guint +guint keyval + + +gdk_keyval_is_upper +gboolean +guint keyval + + +gdk_keyval_is_lower +gboolean +guint keyval + + +gdk_threads_mutex +extern GMutex *gdk_threads_mutex; + + +gdk_threads_enter +void +void + + +gdk_threads_leave +void +void + + +GDK_THREADS_ENTER +# define GDK_THREADS_ENTER() G_STMT_START { \ + if (gdk_threads_mutex) \ + g_mutex_lock (gdk_threads_mutex); \ + } G_STMT_END + + +GDK_THREADS_LEAVE +# define GDK_THREADS_LEAVE() G_STMT_START { \ + if (gdk_threads_mutex) \ + g_mutex_unlock (gdk_threads_mutex); \ + } G_STMT_END + + +GDK_THREADS_ENTER +# define GDK_THREADS_ENTER() + + +GDK_THREADS_LEAVE +# define GDK_THREADS_LEAVE() + + +GDK_NONE +#define GDK_NONE 0L + + +GDK_CURRENT_TIME +#define GDK_CURRENT_TIME 0L + + +GDK_PARENT_RELATIVE +#define GDK_PARENT_RELATIVE 1L + + +GDK_CORE_POINTER +#define GDK_CORE_POINTER 0xfedc + + +GdkAtom +typedef gulong GdkAtom; + + +GdkColor + + +GdkColormap + + +GdkVisual + + +GdkWindowAttr + + +GdkWindow + + +GdkGeometry + + +GdkImage + + +GdkGCValues + + +GdkGC + + +GdkPoint + + +GdkRectangle + + +GdkSegment + + +GdkFont + + +GdkCursor + + +GdkColorContextDither + + +GdkColorContext + + +GdkDragContext + + +GdkEventAny + + +GdkEventExpose + + +GdkEventNoExpose + + +GdkEventVisibility + + +GdkEventMotion + + +GdkEventButton + + +GdkEventKey + + +GdkEventFocus + + +GdkEventCrossing + + +GdkEventConfigure + + +GdkEventProperty + + +GdkEventSelection + + +GdkEventProximity + + +GdkEventClient + + +GdkEventDND + + +GdkDeviceKey + + +GdkDeviceInfo + + +GdkTimeCoord + + +GdkRegion + + +GdkEventFunc +void +GdkEvent *event, + gpointer data + + +GdkIC + + +GdkICAttr + + +GdkWChar +typedef guint32 GdkWChar; + + +GdkWindowType +typedef enum +{ + GDK_WINDOW_ROOT, + GDK_WINDOW_TOPLEVEL, + GDK_WINDOW_CHILD, + GDK_WINDOW_DIALOG, + GDK_WINDOW_TEMP, + GDK_WINDOW_PIXMAP, + GDK_WINDOW_FOREIGN +} GdkWindowType; + + +GdkWindowClass +typedef enum +{ + GDK_INPUT_OUTPUT, + GDK_INPUT_ONLY +} GdkWindowClass; + + +GdkImageType +typedef enum +{ + GDK_IMAGE_NORMAL, + GDK_IMAGE_SHARED, + GDK_IMAGE_FASTEST +} GdkImageType; + + +GdkVisualType +typedef enum +{ + GDK_VISUAL_STATIC_GRAY, + GDK_VISUAL_GRAYSCALE, + GDK_VISUAL_STATIC_COLOR, + GDK_VISUAL_PSEUDO_COLOR, + GDK_VISUAL_TRUE_COLOR, + GDK_VISUAL_DIRECT_COLOR +} GdkVisualType; + + +GdkFontType +typedef enum +{ + GDK_FONT_FONT, + GDK_FONT_FONTSET +} GdkFontType; + + +GdkWindowAttributesType +typedef enum +{ + GDK_WA_TITLE = 1 << 1, + GDK_WA_X = 1 << 2, + GDK_WA_Y = 1 << 3, + GDK_WA_CURSOR = 1 << 4, + GDK_WA_COLORMAP = 1 << 5, + GDK_WA_VISUAL = 1 << 6, + GDK_WA_WMCLASS = 1 << 7, + GDK_WA_NOREDIR = 1 << 8 +} GdkWindowAttributesType; + + +GdkWindowHints +typedef enum +{ + GDK_HINT_POS = 1 << 0, + GDK_HINT_MIN_SIZE = 1 << 1, + GDK_HINT_MAX_SIZE = 1 << 2, + GDK_HINT_BASE_SIZE = 1 << 3, + GDK_HINT_ASPECT = 1 << 4, + GDK_HINT_RESIZE_INC = 1 << 5 +} GdkWindowHints; + + +GdkFunction +typedef enum +{ + GDK_COPY, + GDK_INVERT, + GDK_XOR, + GDK_CLEAR, + GDK_AND, + GDK_AND_REVERSE, + GDK_AND_INVERT, + GDK_NOOP, + GDK_OR, + GDK_EQUIV, + GDK_OR_REVERSE, + GDK_COPY_INVERT, + GDK_OR_INVERT, + GDK_NAND, + GDK_SET +} GdkFunction; + + +GdkFill +typedef enum +{ + GDK_SOLID, + GDK_TILED, + GDK_STIPPLED, + GDK_OPAQUE_STIPPLED +} GdkFill; + + +GdkFillRule +typedef enum +{ + GDK_EVEN_ODD_RULE, + GDK_WINDING_RULE +} GdkFillRule; + + +GdkLineStyle +typedef enum +{ + GDK_LINE_SOLID, + GDK_LINE_ON_OFF_DASH, + GDK_LINE_DOUBLE_DASH +} GdkLineStyle; + + +GdkCapStyle +typedef enum +{ + GDK_CAP_NOT_LAST, + GDK_CAP_BUTT, + GDK_CAP_ROUND, + GDK_CAP_PROJECTING +} GdkCapStyle; + + +GdkJoinStyle +typedef enum +{ + GDK_JOIN_MITER, + GDK_JOIN_ROUND, + GDK_JOIN_BEVEL +} GdkJoinStyle; + + +GdkCursorType +typedef enum +{ +#include + GDK_LAST_CURSOR, + GDK_CURSOR_IS_PIXMAP = -1 +} GdkCursorType; + + +GdkFilterReturn +typedef enum { + GDK_FILTER_CONTINUE, /* Event not handled, continue processesing */ + GDK_FILTER_TRANSLATE, /* Translated event stored */ + GDK_FILTER_REMOVE /* Terminate processing, removing event */ +} GdkFilterReturn; + + +GdkVisibilityState +typedef enum { + GDK_VISIBILITY_UNOBSCURED, + GDK_VISIBILITY_PARTIAL, + GDK_VISIBILITY_FULLY_OBSCURED +} GdkVisibilityState; + + +GdkEventType +typedef enum +{ + GDK_NOTHING = -1, + GDK_DELETE = 0, + GDK_DESTROY = 1, + GDK_EXPOSE = 2, + GDK_MOTION_NOTIFY = 3, + GDK_BUTTON_PRESS = 4, + GDK_2BUTTON_PRESS = 5, + GDK_3BUTTON_PRESS = 6, + GDK_BUTTON_RELEASE = 7, + GDK_KEY_PRESS = 8, + GDK_KEY_RELEASE = 9, + GDK_ENTER_NOTIFY = 10, + GDK_LEAVE_NOTIFY = 11, + GDK_FOCUS_CHANGE = 12, + GDK_CONFIGURE = 13, + GDK_MAP = 14, + GDK_UNMAP = 15, + GDK_PROPERTY_NOTIFY = 16, + GDK_SELECTION_CLEAR = 17, + GDK_SELECTION_REQUEST = 18, + GDK_SELECTION_NOTIFY = 19, + GDK_PROXIMITY_IN = 20, + GDK_PROXIMITY_OUT = 21, + GDK_DRAG_ENTER = 22, + GDK_DRAG_LEAVE = 23, + GDK_DRAG_MOTION = 24, + GDK_DRAG_STATUS = 25, + GDK_DROP_START = 26, + GDK_DROP_FINISHED = 27, + GDK_CLIENT_EVENT = 28, + GDK_VISIBILITY_NOTIFY = 29, + GDK_NO_EXPOSE = 30 +} GdkEventType; + + +GdkEventMask +typedef enum +{ + GDK_EXPOSURE_MASK = 1 << 1, + GDK_POINTER_MOTION_MASK = 1 << 2, + GDK_POINTER_MOTION_HINT_MASK = 1 << 3, + GDK_BUTTON_MOTION_MASK = 1 << 4, + GDK_BUTTON1_MOTION_MASK = 1 << 5, + GDK_BUTTON2_MOTION_MASK = 1 << 6, + GDK_BUTTON3_MOTION_MASK = 1 << 7, + GDK_BUTTON_PRESS_MASK = 1 << 8, + GDK_BUTTON_RELEASE_MASK = 1 << 9, + GDK_KEY_PRESS_MASK = 1 << 10, + GDK_KEY_RELEASE_MASK = 1 << 11, + GDK_ENTER_NOTIFY_MASK = 1 << 12, + GDK_LEAVE_NOTIFY_MASK = 1 << 13, + GDK_FOCUS_CHANGE_MASK = 1 << 14, + GDK_STRUCTURE_MASK = 1 << 15, + GDK_PROPERTY_CHANGE_MASK = 1 << 16, + GDK_VISIBILITY_NOTIFY_MASK = 1 << 17, + GDK_PROXIMITY_IN_MASK = 1 << 18, + GDK_PROXIMITY_OUT_MASK = 1 << 19, + GDK_SUBSTRUCTURE_MASK = 1 << 20, + GDK_ALL_EVENTS_MASK = 0x0FFFFF +} GdkEventMask; + + +GdkNotifyType +typedef enum +{ + GDK_NOTIFY_ANCESTOR = 0, + GDK_NOTIFY_VIRTUAL = 1, + GDK_NOTIFY_INFERIOR = 2, + GDK_NOTIFY_NONLINEAR = 3, + GDK_NOTIFY_NONLINEAR_VIRTUAL = 4, + GDK_NOTIFY_UNKNOWN = 5 +} GdkNotifyType; + + +GdkCrossingMode +typedef enum +{ + GDK_CROSSING_NORMAL, + GDK_CROSSING_GRAB, + GDK_CROSSING_UNGRAB +} GdkCrossingMode; + + +GdkModifierType +typedef enum +{ + GDK_SHIFT_MASK = 1 << 0, + GDK_LOCK_MASK = 1 << 1, + GDK_CONTROL_MASK = 1 << 2, + GDK_MOD1_MASK = 1 << 3, + GDK_MOD2_MASK = 1 << 4, + GDK_MOD3_MASK = 1 << 5, + GDK_MOD4_MASK = 1 << 6, + GDK_MOD5_MASK = 1 << 7, + GDK_BUTTON1_MASK = 1 << 8, + GDK_BUTTON2_MASK = 1 << 9, + GDK_BUTTON3_MASK = 1 << 10, + GDK_BUTTON4_MASK = 1 << 11, + GDK_BUTTON5_MASK = 1 << 12, + GDK_RELEASE_MASK = 1 << 13, + GDK_MODIFIER_MASK = 0x3fff +} GdkModifierType; + + +GdkSubwindowMode +typedef enum +{ + GDK_CLIP_BY_CHILDREN = 0, + GDK_INCLUDE_INFERIORS = 1 +} GdkSubwindowMode; + + +GdkInputCondition +typedef enum +{ + GDK_INPUT_READ = 1 << 0, + GDK_INPUT_WRITE = 1 << 1, + GDK_INPUT_EXCEPTION = 1 << 2 +} GdkInputCondition; + + +GdkStatus +typedef enum +{ + GDK_OK = 0, + GDK_ERROR = -1, + GDK_ERROR_PARAM = -2, + GDK_ERROR_FILE = -3, + GDK_ERROR_MEM = -4 +} GdkStatus; + + +GdkByteOrder +typedef enum +{ + GDK_LSB_FIRST, + GDK_MSB_FIRST +} GdkByteOrder; + + +GdkGCValuesMask +typedef enum +{ + GDK_GC_FOREGROUND = 1 << 0, + GDK_GC_BACKGROUND = 1 << 1, + GDK_GC_FONT = 1 << 2, + GDK_GC_FUNCTION = 1 << 3, + GDK_GC_FILL = 1 << 4, + GDK_GC_TILE = 1 << 5, + GDK_GC_STIPPLE = 1 << 6, + GDK_GC_CLIP_MASK = 1 << 7, + GDK_GC_SUBWINDOW = 1 << 8, + GDK_GC_TS_X_ORIGIN = 1 << 9, + GDK_GC_TS_Y_ORIGIN = 1 << 10, + GDK_GC_CLIP_X_ORIGIN = 1 << 11, + GDK_GC_CLIP_Y_ORIGIN = 1 << 12, + GDK_GC_EXPOSURES = 1 << 13, + GDK_GC_LINE_WIDTH = 1 << 14, + GDK_GC_LINE_STYLE = 1 << 15, + GDK_GC_CAP_STYLE = 1 << 16, + GDK_GC_JOIN_STYLE = 1 << 17 +} GdkGCValuesMask; + + +GdkSelection +typedef enum +{ + GDK_SELECTION_PRIMARY = 1, + GDK_SELECTION_SECONDARY = 2 +} GdkSelection; + + +GdkPropertyState +typedef enum +{ + GDK_PROPERTY_NEW_VALUE, + GDK_PROPERTY_DELETE +} GdkPropertyState; + + +GdkPropMode +typedef enum +{ + GDK_PROP_MODE_REPLACE, + GDK_PROP_MODE_PREPEND, + GDK_PROP_MODE_APPEND +} GdkPropMode; + + +GdkInputSource +typedef enum +{ + GDK_SOURCE_MOUSE, + GDK_SOURCE_PEN, + GDK_SOURCE_ERASER, + GDK_SOURCE_CURSOR +} GdkInputSource; + + +GdkInputMode +typedef enum +{ + GDK_MODE_DISABLED, + GDK_MODE_SCREEN, + GDK_MODE_WINDOW +} GdkInputMode; + + +GdkAxisUse +typedef enum +{ + GDK_AXIS_IGNORE, + GDK_AXIS_X, + GDK_AXIS_Y, + GDK_AXIS_PRESSURE, + GDK_AXIS_XTILT, + GDK_AXIS_YTILT, + GDK_AXIS_LAST +} GdkAxisUse; + + +GdkTarget +typedef enum +{ + GDK_TARGET_BITMAP = 5, + GDK_TARGET_COLORMAP = 7, + GDK_TARGET_DRAWABLE = 17, + GDK_TARGET_PIXMAP = 20, + GDK_TARGET_STRING = 31 +} GdkTarget; + + +GdkSelectionType +typedef enum +{ + GDK_SELECTION_TYPE_ATOM = 4, + GDK_SELECTION_TYPE_BITMAP = 5, + GDK_SELECTION_TYPE_COLORMAP = 7, + GDK_SELECTION_TYPE_DRAWABLE = 17, + GDK_SELECTION_TYPE_INTEGER = 19, + GDK_SELECTION_TYPE_PIXMAP = 20, + GDK_SELECTION_TYPE_WINDOW = 33, + GDK_SELECTION_TYPE_STRING = 31 +} GdkSelectionType; + + +GdkExtensionMode +typedef enum +{ + GDK_EXTENSION_EVENTS_NONE, + GDK_EXTENSION_EVENTS_ALL, + GDK_EXTENSION_EVENTS_CURSOR +} GdkExtensionMode; + + +GdkIMStyle +typedef enum /*< flags >*/ +{ + GDK_IM_PREEDIT_AREA = 0x0001, + GDK_IM_PREEDIT_CALLBACKS = 0x0002, + GDK_IM_PREEDIT_POSITION = 0x0004, + GDK_IM_PREEDIT_NOTHING = 0x0008, + GDK_IM_PREEDIT_NONE = 0x0010, + GDK_IM_PREEDIT_MASK = 0x001f, + + GDK_IM_STATUS_AREA = 0x0100, + GDK_IM_STATUS_CALLBACKS = 0x0200, + GDK_IM_STATUS_NOTHING = 0x0400, + GDK_IM_STATUS_NONE = 0x0800, + GDK_IM_STATUS_MASK = 0x0f00 +} GdkIMStyle; + + +GdkICAttributesType +typedef enum +{ + GDK_IC_STYLE = 1 << 0, + GDK_IC_CLIENT_WINDOW = 1 << 1, + GDK_IC_FOCUS_WINDOW = 1 << 2, + GDK_IC_FILTER_EVENTS = 1 << 3, + GDK_IC_SPOT_LOCATION = 1 << 4, + GDK_IC_LINE_SPACING = 1 << 5, + GDK_IC_CURSOR = 1 << 6, + + GDK_IC_PREEDIT_FONTSET = 1 << 10, + GDK_IC_PREEDIT_AREA = 1 << 11, + GDK_IC_PREEDIT_AREA_NEEDED = 1 << 12, + GDK_IC_PREEDIT_FOREGROUND = 1 << 13, + GDK_IC_PREEDIT_BACKGROUND = 1 << 14, + GDK_IC_PREEDIT_PIXMAP = 1 << 15, + GDK_IC_PREEDIT_COLORMAP = 1 << 16, + + GDK_IC_STATUS_FONTSET = 1 << 21, + GDK_IC_STATUS_AREA = 1 << 22, + GDK_IC_STATUS_AREA_NEEDED = 1 << 23, + GDK_IC_STATUS_FOREGROUND = 1 << 24, + GDK_IC_STATUS_BACKGROUND = 1 << 25, + GDK_IC_STATUS_PIXMAP = 1 << 26, + GDK_IC_STATUS_COLORMAP = 1 << 27, + + GDK_IC_ALL_REQ = GDK_IC_STYLE | + GDK_IC_CLIENT_WINDOW, + + GDK_IC_PREEDIT_AREA_REQ = GDK_IC_PREEDIT_AREA | + GDK_IC_PREEDIT_FONTSET, + GDK_IC_PREEDIT_POSITION_REQ = GDK_IC_PREEDIT_AREA | GDK_IC_SPOT_LOCATION | + GDK_IC_PREEDIT_FONTSET, + + GDK_IC_STATUS_AREA_REQ = GDK_IC_STATUS_AREA | + GDK_IC_STATUS_FONTSET +} GdkICAttributesType; + + +GdkWMDecoration +typedef enum +{ + GDK_DECOR_ALL = 1 << 0, + GDK_DECOR_BORDER = 1 << 1, + GDK_DECOR_RESIZEH = 1 << 2, + GDK_DECOR_TITLE = 1 << 3, + GDK_DECOR_MENU = 1 << 4, + GDK_DECOR_MINIMIZE = 1 << 5, + GDK_DECOR_MAXIMIZE = 1 << 6 +} GdkWMDecoration; + + +GdkWMFunction +typedef enum +{ + GDK_FUNC_ALL = 1 << 0, + GDK_FUNC_RESIZE = 1 << 1, + GDK_FUNC_MOVE = 1 << 2, + GDK_FUNC_MINIMIZE = 1 << 3, + GDK_FUNC_MAXIMIZE = 1 << 4, + GDK_FUNC_CLOSE = 1 << 5 +} GdkWMFunction; + + +GdkInputFunction +void +gpointer data, + gint source, + GdkInputCondition condition + + +GdkDestroyNotify +void +gpointer data + + +GdkColorContextMode +typedef enum +{ + GDK_CC_MODE_UNDEFINED, + GDK_CC_MODE_BW, + GDK_CC_MODE_STD_CMAP, + GDK_CC_MODE_TRUE, + GDK_CC_MODE_MY_GRAY, + GDK_CC_MODE_PALETTE +} GdkColorContextMode; + + +GdkOverlapType +typedef enum +{ + GDK_OVERLAP_RECTANGLE_IN, + GDK_OVERLAP_RECTANGLE_OUT, + GDK_OVERLAP_RECTANGLE_PART +} GdkOverlapType; + + +GdkDragAction +typedef enum { + GDK_ACTION_DEFAULT = 1 << 0, + GDK_ACTION_COPY = 1 << 1, + GDK_ACTION_MOVE = 1 << 2, + GDK_ACTION_LINK = 1 << 3, + GDK_ACTION_PRIVATE = 1 << 4, + GDK_ACTION_ASK = 1 << 5 +} GdkDragAction; + + +GdkDragProtocol +typedef enum { + GDK_DRAG_PROTO_MOTIF, + GDK_DRAG_PROTO_XDND, + GDK_DRAG_PROTO_ROOTWIN, /* A root window with nobody claiming + * drags */ + GDK_DRAG_PROTO_NONE /* Not a valid drag window */ +} GdkDragProtocol; + + +GdkColor +struct GdkColor +{ + gulong pixel; + gushort red; + gushort green; + gushort blue; +}; + + +GdkColormap +struct GdkColormap +{ + gint size; + GdkColor *colors; +}; + + +GdkVisual +struct GdkVisual +{ + GdkVisualType type; + gint depth; + GdkByteOrder byte_order; + gint colormap_size; + gint bits_per_rgb; + + guint32 red_mask; + gint red_shift; + gint red_prec; + + guint32 green_mask; + gint green_shift; + gint green_prec; + + guint32 blue_mask; + gint blue_shift; + gint blue_prec; +}; + + +GdkWindowAttr +struct GdkWindowAttr +{ + gchar *title; + gint event_mask; + gint16 x, y; + gint16 width; + gint16 height; + GdkWindowClass wclass; + GdkVisual *visual; + GdkColormap *colormap; + GdkWindowType window_type; + GdkCursor *cursor; + gchar *wmclass_name; + gchar *wmclass_class; + gboolean override_redirect; +}; + + +GdkWindow +struct GdkWindow +{ + gpointer user_data; +}; + + +GdkGeometry +struct GdkGeometry { + gint min_width; + gint min_height; + gint max_width; + gint max_height; + gint base_width; + gint base_height; + gint width_inc; + gint height_inc; + gdouble min_aspect; + gdouble max_aspect; + /* GdkGravity gravity; */ +}; + + +GdkImage +struct GdkImage +{ + GdkImageType type; + GdkVisual *visual; /* visual used to create the image */ + GdkByteOrder byte_order; + guint16 width; + guint16 height; + guint16 depth; + guint16 bpp; /* bytes per pixel */ + guint16 bpl; /* bytes per line */ + gpointer mem; +}; + + +GdkGCValues +struct GdkGCValues +{ + GdkColor foreground; + GdkColor background; + GdkFont *font; + GdkFunction function; + GdkFill fill; + GdkPixmap *tile; + GdkPixmap *stipple; + GdkPixmap *clip_mask; + GdkSubwindowMode subwindow_mode; + gint ts_x_origin; + gint ts_y_origin; + gint clip_x_origin; + gint clip_y_origin; + gint graphics_exposures; + gint line_width; + GdkLineStyle line_style; + GdkCapStyle cap_style; + GdkJoinStyle join_style; +}; + + +GdkGC +struct GdkGC +{ + gint dummy_var; +}; + + +GdkPoint +struct GdkPoint +{ + gint16 x; + gint16 y; +}; + + +GdkRectangle +struct GdkRectangle +{ + gint16 x; + gint16 y; + guint16 width; + guint16 height; +}; + + +GdkSegment +struct GdkSegment +{ + gint16 x1; + gint16 y1; + gint16 x2; + gint16 y2; +}; + + +GdkFont +struct GdkFont +{ + GdkFontType type; + gint ascent; + gint descent; +}; + + +GdkCursor +struct GdkCursor +{ + GdkCursorType type; +}; + + +GdkColorContextDither +struct GdkColorContextDither +{ + gint fast_rgb[32][32][32]; /* quick look-up table for faster rendering */ + gint fast_err[32][32][32]; /* internal RGB error information */ + gint fast_erg[32][32][32]; + gint fast_erb[32][32][32]; +}; + + +GdkColorContext +struct GdkColorContext +{ + GdkVisual *visual; + GdkColormap *colormap; + + gint num_colors; /* available no. of colors in colormap */ + gint max_colors; /* maximum no. of colors */ + gint num_allocated; /* no. of allocated colors */ + + GdkColorContextMode mode; + gint need_to_free_colormap; + GdkAtom std_cmap_atom; + + gulong *clut; /* color look-up table */ + GdkColor *cmap; /* colormap */ + + GHashTable *color_hash; /* hash table of allocated colors */ + GdkColor *palette; /* preallocated palette */ + gint num_palette; /* size of palette */ + + GdkColorContextDither *fast_dither; /* fast dither matrix */ + + struct + { + gint red; + gint green; + gint blue; + } shifts; + + + +GdkDeviceKey +struct GdkDeviceKey +{ + guint keyval; + GdkModifierType modifiers; +}; + + +GdkDeviceInfo +struct GdkDeviceInfo +{ + guint32 deviceid; + gchar *name; + GdkInputSource source; + GdkInputMode mode; + gint has_cursor; /* TRUE if the X pointer follows device motion */ + gint num_axes; + GdkAxisUse *axes; /* Specifies use for each axis */ + gint num_keys; + GdkDeviceKey *keys; +}; + + +GdkTimeCoord +struct GdkTimeCoord +{ + guint32 time; + gdouble x; + gdouble y; + gdouble pressure; + gdouble xtilt; + gdouble ytilt; +}; + + +GdkDragContext +struct GdkDragContext { + GdkDragProtocol protocol; + + gboolean is_source; + + GdkWindow *source_window; + GdkWindow *dest_window; + + GList *targets; + GdkDragAction actions; + GdkDragAction suggested_action; + GdkDragAction action; + + guint32 start_time; +}; + + +GdkXEvent +typedef void GdkXEvent; /* Can be cast to XEvent */ + + +GdkFilterFunc +GdkFilterReturn +GdkXEvent *xevent, + GdkEvent *event, + gpointer data + + +GdkEventAny +struct GdkEventAny +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; +}; + + +GdkEventExpose +struct GdkEventExpose +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkRectangle area; + gint count; /* If non-zero, how many more events follow. */ +}; + + +GdkEventNoExpose +struct GdkEventNoExpose +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + /* XXX: does anyone need the X major_code or minor_code fields? */ +}; + + +GdkEventVisibility +struct GdkEventVisibility +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkVisibilityState state; +}; + + +GdkEventMotion +struct GdkEventMotion +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + guint32 time; + gdouble x; + gdouble y; + gdouble pressure; + gdouble xtilt; + gdouble ytilt; + guint state; + gint16 is_hint; + GdkInputSource source; + guint32 deviceid; + gdouble x_root, y_root; +}; + + +GdkEventButton +struct GdkEventButton +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + guint32 time; + gdouble x; + gdouble y; + gdouble pressure; + gdouble xtilt; + gdouble ytilt; + guint state; + guint button; + GdkInputSource source; + guint32 deviceid; + gdouble x_root, y_root; +}; + + +GdkEventKey +struct GdkEventKey +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + guint32 time; + guint state; + guint keyval; + gint length; + gchar *string; +}; + + +GdkEventCrossing +struct GdkEventCrossing +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkWindow *subwindow; + guint32 time; + gdouble x; + gdouble y; + gdouble x_root; + gdouble y_root; + GdkCrossingMode mode; + GdkNotifyType detail; + gboolean focus; + guint state; +}; + + +GdkEventFocus +struct GdkEventFocus +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + gint16 in; +}; + + +GdkEventConfigure +struct GdkEventConfigure +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + gint16 x, y; + gint16 width; + gint16 height; +}; + + +GdkEventProperty +struct GdkEventProperty +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkAtom atom; + guint32 time; + guint state; +}; + + +GdkEventSelection +struct GdkEventSelection +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkAtom selection; + GdkAtom target; + GdkAtom property; + guint32 requestor; + guint32 time; +}; + + +GdkEventProximity +struct GdkEventProximity +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + guint32 time; + GdkInputSource source; + guint32 deviceid; +}; + + +GdkEventClient +struct GdkEventClient +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkAtom message_type; + gushort data_format; + union { + char b[20]; + short s[10]; + long l[5]; + } data; +}; + + +GdkEventDND +struct GdkEventDND { + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkDragContext *context; + + guint32 time; + gshort x_root, y_root; +}; + + +GdkEvent +union GdkEvent +{ + GdkEventType type; + GdkEventAny any; + GdkEventExpose expose; + GdkEventNoExpose no_expose; + GdkEventVisibility visibility; + GdkEventMotion motion; + GdkEventButton button; + GdkEventKey key; + GdkEventCrossing crossing; + GdkEventFocus focus_change; + GdkEventConfigure configure; + GdkEventProperty property; + GdkEventSelection selection; + GdkEventProximity proximity; + GdkEventClient client; + GdkEventDND dnd; +}; + + +GdkRegion +struct GdkRegion +{ + gpointer user_data; +}; + + +GdkICAttr +struct GdkICAttr +{ + GdkIMStyle style; + GdkWindow *client_window; + GdkWindow *focus_window; + GdkEventMask filter_events; + GdkPoint spot_location; + gint line_spacing; + GdkCursor *cursor; + + GdkFont *preedit_fontset; + GdkRectangle preedit_area; + GdkRectangle preedit_area_needed; + GdkColor preedit_foreground; + GdkColor preedit_background; + GdkPixmap *preedit_pixmap; + GdkColormap *preedit_colormap; + + GdkFont *status_fontset; + GdkRectangle status_area; + GdkRectangle status_area_needed; + GdkColor status_foreground; + GdkColor status_background; + GdkPixmap *status_pixmap; + GdkColormap *status_colormap; +}; + + +GdkRgbCmap + + +GdkRgbCmap +struct GdkRgbCmap { + guint32 colors[256]; + guchar lut[256]; /* for 8-bit modes */ +}; + + +gdk_rgb_init +void +void + + +gdk_rgb_xpixel_from_rgb +gulong +guint32 rgb + + +gdk_rgb_gc_set_foreground +void +GdkGC *gc, guint32 rgb + + +gdk_rgb_gc_set_background +void +GdkGC *gc, guint32 rgb + + +GdkRgbDither +typedef enum +{ + GDK_RGB_DITHER_NONE, + GDK_RGB_DITHER_NORMAL, + GDK_RGB_DITHER_MAX +} GdkRgbDither; + + +gdk_draw_rgb_image +void +GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *rgb_buf,gint rowstride + + +gdk_draw_rgb_image_dithalign +void +GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *rgb_buf,gint rowstride,gint xdith,gint ydith + + +gdk_draw_rgb_32_image +void +GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *buf,gint rowstride + + +gdk_draw_gray_image +void +GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *buf,gint rowstride + + +gdk_rgb_cmap_new +GdkRgbCmap * +guint32 *colors, gint n_colors + + +gdk_rgb_cmap_free +void +GdkRgbCmap *cmap + + +gdk_draw_indexed_image +void +GdkDrawable *drawable,GdkGC *gc,gint x,gint y,gint width,gint height,GdkRgbDither dith,guchar *buf,gint rowstride,GdkRgbCmap *cmap + + +gdk_rgb_ditherable +gboolean +void + + +gdk_rgb_set_verbose +void +gboolean verbose + + +gdk_rgb_set_install +void +gboolean install + + +gdk_rgb_set_min_colors +void +gint min_colors + + +gdk_rgb_get_cmap +GdkColormap * +void + + +gdk_rgb_get_visual +GdkVisual * +void + diff --git a/docs/reference/gdk/gdk-docs.sgml b/docs/reference/gdk/gdk-docs.sgml new file mode 100644 index 0000000000..022ded73b4 --- /dev/null +++ b/docs/reference/gdk/gdk-docs.sgml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + +]> + + + GDK Reference Manual + + + + GDK + &gdk-General; + &gdk-Bitmaps-and-Pixmaps; + &gdk-Images; + &gdk-GdkRGB; + &gdk-Colormaps-and-Colors; + &gdk-Fonts; + &gdk-Drawing-Primitives; + &gdk-Graphics-Contexts; + &gdk-Visuals; + &gdk-Windows; + &gdk-Selections; + &gdk-Properties-and-Atoms; + &gdk-Input-Methods; + &gdk-Input-Contexts; + &gdk-Color-Contexts; + &gdk-Points-Rectangles-and-Regions; + &gdk-Threads; + &gdk-Key-Values; + &gdk-Input-Devices; + &gdk-Events; + &gdk-Event-Structures; + &gdk-Cursors; + &gdk-Input; + &gdk-Drag-and-Drop; + + diff --git a/docs/reference/gdk/gdk-overrides.txt b/docs/reference/gdk/gdk-overrides.txt new file mode 100644 index 0000000000..939122e78b --- /dev/null +++ b/docs/reference/gdk/gdk-overrides.txt @@ -0,0 +1,23 @@ + +# GdkPixmap, GdkBitmap and GdkDrawable are the same as GdkWindow. + +GdkPixmap +struct GdkPixmap +{ + gpointer user_data; +}; + + +GdkBitmap +struct GdkBitmap +{ + gpointer user_data; +}; + + +GdkDrawable +struct GdkDrawable +{ + gpointer user_data; +}; + diff --git a/docs/reference/gdk/gdk-sections.txt b/docs/reference/gdk/gdk-sections.txt new file mode 100644 index 0000000000..ec46268149 --- /dev/null +++ b/docs/reference/gdk/gdk-sections.txt @@ -0,0 +1,572 @@ + +gdk/gdk.h + +
+General +general +gdk_init +gdk_init_check +gdk_exit +GdkStatus +GDK_NONE +GDK_CURRENT_TIME +GDK_PRIORITY_EVENTS +gdk_set_locale +gdk_get_show_events +gdk_set_show_events +gdk_add_client_message_filter +gdk_set_sm_client_id +gdk_get_use_xshm +gdk_set_use_xshm +gdk_get_display +gdk_screen_width +gdk_screen_height +gdk_screen_width_mm +gdk_screen_height_mm +gdk_pointer_grab +gdk_pointer_ungrab +gdk_keyboard_grab +gdk_keyboard_ungrab +gdk_pointer_is_grabbed +gdk_flush +gdk_beep +gdk_key_repeat_disable +gdk_key_repeat_restore +gdk_error_trap_push +gdk_error_trap_pop + + +gdk_time_get +gdk_timer_get +gdk_timer_set +gdk_timer_enable +gdk_timer_disable +
+ +
+Bitmaps and Pixmaps +pixmaps +GdkPixmap +gdk_pixmap_new +gdk_bitmap_create_from_data +gdk_pixmap_create_from_data +gdk_pixmap_create_from_xpm +gdk_pixmap_colormap_create_from_xpm +gdk_pixmap_create_from_xpm_d +gdk_pixmap_colormap_create_from_xpm_d +gdk_pixmap_ref +gdk_pixmap_unref +GdkBitmap +gdk_bitmap_ref +gdk_bitmap_unref +
+ +
+Images +images +GdkImage +GdkImageType +gdk_image_new_bitmap +gdk_image_new +gdk_image_get +gdk_image_put_pixel +gdk_image_get_pixel +gdk_image_destroy +
+ +
+GdkRGB +rgb +GdkRgbCmap +GdkRgbDither + +gdk_rgb_init +gdk_rgb_cmap_new +gdk_rgb_cmap_free + +gdk_rgb_gc_set_foreground +gdk_rgb_gc_set_background + +gdk_draw_rgb_image +gdk_draw_indexed_image +gdk_draw_gray_image +gdk_draw_rgb_32_image +gdk_draw_rgb_image_dithalign +gdk_rgb_xpixel_from_rgb + +gdk_rgb_set_verbose +gdk_rgb_ditherable +gdk_rgb_set_install +gdk_rgb_set_min_colors +gdk_rgb_get_visual +gdk_rgb_get_cmap +
+ +
+Colormaps and Colors +colors +GdkColor +GdkColormap +gdk_colormap_new +gdk_colormap_ref +gdk_colormap_unref +gdk_colormap_get_system +gdk_colormap_get_system_size +gdk_colormap_change +gdk_colormap_alloc_colors +gdk_colormap_alloc_color +gdk_colormap_free_colors +gdk_colormap_get_visual +gdk_colors_store +gdk_color_copy +gdk_color_free +gdk_colors_alloc +gdk_colors_free +gdk_color_white +gdk_color_black +gdk_color_parse +gdk_color_alloc +gdk_color_change +gdk_color_equal +gdk_color_hash +
+ +
+Fonts +fonts +GdkFont +GdkFontType +gdk_font_load +gdk_fontset_load +gdk_font_ref +gdk_font_unref +gdk_font_id +gdk_font_equal + + +gdk_string_extents +gdk_text_extents +gdk_text_extents_wc +gdk_string_width +gdk_text_width +gdk_text_width_wc +gdk_char_width +gdk_char_width_wc +gdk_string_measure +gdk_text_measure +gdk_char_measure +gdk_string_height +gdk_text_height +gdk_char_height +
+ +
+Drawing Primitives +drawing +GdkFill +GdkFillRule +GdkLineStyle +GdkCapStyle +GdkJoinStyle + +gdk_draw_point +gdk_draw_line +gdk_draw_rectangle +gdk_draw_arc +gdk_draw_polygon +gdk_draw_string +gdk_draw_text +gdk_draw_text_wc +gdk_draw_pixmap +gdk_draw_bitmap +gdk_draw_image +gdk_draw_points +gdk_draw_segments +GdkSegment +gdk_draw_lines +
+ +
+Graphics Contexts +gcs +GdkGC +GdkGCValues +GdkGCValuesMask + +GdkFunction + +gdk_gc_new +gdk_gc_new_with_values +gdk_gc_ref +gdk_gc_unref +gdk_gc_destroy +gdk_gc_get_values +gdk_gc_set_foreground +gdk_gc_set_background +gdk_gc_set_font +gdk_gc_set_function +gdk_gc_set_fill +gdk_gc_set_tile +gdk_gc_set_stipple +gdk_gc_set_ts_origin +gdk_gc_set_clip_origin +gdk_gc_set_clip_mask +gdk_gc_set_clip_rectangle +gdk_gc_set_clip_region +gdk_gc_set_subwindow +GdkSubwindowMode +gdk_gc_set_exposures +gdk_gc_set_line_attributes +gdk_gc_set_dashes +gdk_gc_copy +
+ +
+Visuals +visuals +GdkVisual +GdkVisualType +GdkByteOrder +gdk_query_depths +gdk_query_visual_types +gdk_list_visuals + +gdk_visual_get_best_depth +gdk_visual_get_best_type +gdk_visual_get_system +gdk_visual_get_best +gdk_visual_get_best_with_depth +gdk_visual_get_best_with_type +gdk_visual_get_best_with_both +gdk_visual_ref +gdk_visual_unref +
+ +
+Windows +windows +GdkWindowAttr +GdkWindow +GdkWindowType +GdkWindowClass +GdkWindowAttributesType +GdkWindowHints +GdkGeometry + +gdk_window_new +gdk_window_destroy +gdk_window_ref +gdk_window_unref +gdk_window_at_pointer +gdk_window_show +gdk_window_hide +gdk_window_is_visible +gdk_window_is_viewable +gdk_window_withdraw +gdk_window_move +gdk_window_resize +gdk_window_move_resize +gdk_window_reparent +gdk_window_clear +gdk_window_clear_area +gdk_window_clear_area_e +gdk_window_copy_area +gdk_window_raise +gdk_window_lower +gdk_window_register_dnd +gdk_window_set_user_data +gdk_window_set_override_redirect +gdk_window_add_filter +gdk_window_remove_filter +GdkFilterFunc +GdkFilterReturn +gdk_window_shape_combine_mask +gdk_window_set_child_shapes +gdk_window_merge_child_shapes +gdk_window_set_static_gravities +gdk_window_set_hints +gdk_window_set_title +gdk_window_set_background +gdk_window_set_back_pixmap +GDK_PARENT_RELATIVE +gdk_window_set_cursor +gdk_window_set_colormap +gdk_window_get_user_data +gdk_window_get_geometry +gdk_window_set_geometry_hints +gdk_window_get_position +gdk_window_get_root_origin +gdk_window_get_size +gdk_window_get_visual +gdk_window_get_colormap +gdk_window_get_type +gdk_window_get_origin +gdk_window_get_deskrelative_origin +gdk_window_get_pointer +GdkModifierType +gdk_window_get_parent +gdk_window_get_toplevel +gdk_window_get_children +gdk_window_get_events +gdk_window_set_events +gdk_window_set_icon +gdk_window_set_icon_name +gdk_window_set_transient_for +gdk_window_set_role +gdk_window_set_group +gdk_window_set_decorations +GdkWMDecoration +gdk_window_set_functions +GdkWMFunction +gdk_window_get_toplevels +GdkDrawable +gdk_drawable_set_data +
+ +
+Selections +selections +GdkSelection +GdkSelectionType +gdk_selection_owner_set +gdk_selection_owner_get +gdk_selection_convert +gdk_selection_property_get +gdk_selection_send_notify +
+ +
+Properties and Atoms +properties +GdkAtom +GdkPropertyState +GdkPropMode +GdkTarget +gdk_text_property_to_text_list +gdk_free_text_list +gdk_string_to_compound_text +gdk_free_compound_text +gdk_atom_intern +gdk_atom_name +gdk_property_get +gdk_property_change +gdk_property_delete +
+ +
+Input Methods +input_methods +GdkIMStyle +GdkWChar +gdk_im_ready +gdk_im_begin +gdk_im_end +gdk_im_decide_style +gdk_im_set_best_style + +gdk_wcstombs +gdk_mbstowcs +
+ +
+Input Contexts +input_contexts +GdkIC +GdkICAttr +GdkICAttributesType +gdk_ic_new +gdk_ic_destroy +gdk_ic_get_style +gdk_ic_set_attr +gdk_ic_get_attr +gdk_ic_get_events +gdk_ic_attr_new +gdk_ic_attr_destroy +
+ +
+Color Contexts +color_contexts +GdkColorContext +GdkColorContextDither +GdkColorContextMode + +gdk_color_context_new +gdk_color_context_new_mono +gdk_color_context_free +gdk_color_context_get_pixel +gdk_color_context_get_pixels +gdk_color_context_get_pixels_incremental +gdk_color_context_query_color +gdk_color_context_query_colors +gdk_color_context_add_palette +gdk_color_context_init_dither +gdk_color_context_free_dither +gdk_color_context_get_pixel_from_palette +gdk_color_context_get_index_from_palette +
+ +
+Points, Rectangles and Regions +regions +GdkPoint + +GdkRectangle +gdk_rectangle_intersect +gdk_rectangle_union + +GdkRegion +gdk_region_new +gdk_region_destroy +gdk_region_get_clipbox +gdk_region_empty +gdk_region_equal +gdk_region_point_in +gdk_region_rect_in +GdkOverlapType +gdk_region_polygon +gdk_region_offset +gdk_region_shrink +gdk_region_union_with_rect +gdk_regions_intersect +gdk_regions_union +gdk_regions_subtract +gdk_regions_xor +
+ +
+Threads +threads +gdk_threads_mutex +GDK_THREADS_ENTER +GDK_THREADS_LEAVE +gdk_threads_enter +gdk_threads_leave +
+ +
+Key Values +keys +gdk_keyval_name +gdk_keyval_from_name + + +gdk_keyval_is_upper +gdk_keyval_is_lower + + +gdk_keyval_to_upper +gdk_keyval_to_lower +
+ +
+Input Devices +input_devices +GDK_CORE_POINTER +GdkExtensionMode +GdkDeviceKey +GdkDeviceInfo +gdk_input_init +gdk_input_exit +gdk_input_list_devices +gdk_input_set_extension_events +gdk_input_set_source +GdkInputSource +gdk_input_set_mode +GdkInputMode +gdk_input_set_axes +GdkAxisUse +gdk_input_set_key +gdk_input_window_get_pointer +gdk_input_motion_events +GdkTimeCoord +
+ +
+Events +events +GdkEventType +GdkEventMask + +gdk_events_pending +gdk_event_peek +gdk_event_get +gdk_event_get_graphics_expose +gdk_event_put +gdk_event_copy +gdk_event_free +gdk_event_get_time +gdk_event_handler_set +gdk_event_send_client_message + +GdkEventFunc + +gdk_event_send_clientmessage_toall +
+ +
+Event Structures +event_structs +GdkEventAny +GdkEventExpose +GdkEventNoExpose +GdkEventVisibility +GdkVisibilityState +GdkEventMotion +GdkEventButton +GdkEventKey +GdkEventCrossing +GdkCrossingMode +GdkNotifyType +GdkEventFocus +GdkEventConfigure +GdkEventProperty +GdkEventSelection +GdkEventProximity +GdkEventClient +GdkEventDND +GdkEvent +GdkXEvent +
+ +
+Cursors +cursors +GdkCursor +GdkCursorType +gdk_cursor_new +gdk_cursor_new_from_pixmap +gdk_cursor_destroy +
+ +
+Input +input +gdk_input_add_full +GdkInputCondition +GdkInputFunction +GdkDestroyNotify +gdk_input_add +gdk_input_remove +
+ +
+Drag and Drop +dnd +gdk_drag_get_selection +gdk_drag_abort +gdk_drop_reply +gdk_drag_context_new +gdk_drag_drop +gdk_drag_find_window +gdk_drag_context_ref +gdk_drag_begin +gdk_drag_motion +gdk_drop_finish +gdk_drag_get_protocol +GdkDragProtocol +gdk_drag_context_unref +GdkDragContext +GdkDragAction +gdk_drag_status +
diff --git a/docs/reference/gdk/tmpl/color_contexts.sgml b/docs/reference/gdk/tmpl/color_contexts.sgml new file mode 100644 index 0000000000..506b77f517 --- /dev/null +++ b/docs/reference/gdk/tmpl/color_contexts.sgml @@ -0,0 +1,202 @@ + +Color Contexts + + + + + + + + + + + + + + + + + + + +@visual: +@colormap: +@num_colors: +@max_colors: +@num_allocated: +@mode: +@need_to_free_colormap: +@std_cmap_atom: +@clut: +@cmap: +@color_hash: +@palette: +@num_palette: +@fast_dither: + + + + + + +@fast_rgb: +@fast_err: +@fast_erg: +@fast_erb: + + + + + + +@GDK_CC_MODE_UNDEFINED: +@GDK_CC_MODE_BW: +@GDK_CC_MODE_STD_CMAP: +@GDK_CC_MODE_TRUE: +@GDK_CC_MODE_MY_GRAY: +@GDK_CC_MODE_PALETTE: + + + + + + +@visual: +@colormap: +@Returns: + + + + + + + +@visual: +@colormap: +@Returns: + + + + + + + +@cc: + + + + + + + +@cc: +@red: +@green: +@blue: +@failed: +@Returns: + + + + + + + +@cc: +@reds: +@greens: +@blues: +@ncolors: +@colors: +@nallocated: + + + + + + + +@cc: +@reds: +@greens: +@blues: +@ncolors: +@used: +@colors: +@nallocated: + + + + + + + +@cc: +@color: +@Returns: + + + + + + + +@cc: +@colors: +@num_colors: +@Returns: + + + + + + + +@cc: +@palette: +@num_palette: +@Returns: + + + + + + + +@cc: + + + + + + + +@cc: + + + + + + + +@cc: +@red: +@green: +@blue: +@failed: +@Returns: + + + + + + + +@cc: +@red: +@green: +@blue: +@failed: +@Returns: + + diff --git a/docs/reference/gdk/tmpl/colors.sgml b/docs/reference/gdk/tmpl/colors.sgml new file mode 100644 index 0000000000..f9050d6988 --- /dev/null +++ b/docs/reference/gdk/tmpl/colors.sgml @@ -0,0 +1,390 @@ + +Colormaps and Colors + + +manipulation of colors and colormaps. + + + +These functions are used to modify colormaps. +A colormap is an object that contains the mapping +between the color values stored in memory and +the RGB values that are used to display color +values. In general, colormaps only contain +significant information for pseudo-color visuals, +but even for other visual types, a colormap object +is required in some circumstances. + + + +There are a couple of special colormaps that can +be retrieved. The system colormap (retrieved +with gdk_colormap_get_system()) is the default +colormap of the system. If you are using GdkRGB, +there is another colormap that is important - the +colormap in which GdkRGB works, retrieved with +gdk_rgb_get_cmap(). However, when using GdkRGB, +it is not generally necessary to allocate colors +directly. + + + +In previous revisions of this interface, a number +of functions that take a #GdkColormap parameter +were replaced with functions whose names began +with "gdk_colormap_". This process will probably +be extended somewhat in the future - +gdk_color_white(), gdk_color_black(), and +gdk_color_change() will probably become aliases. + + + + + + + + + +The #GdkColor structure is used to describe an +allocated or unallocated color. + + + + + + +pixel +For allocated colors, the value used to +draw this color on the screen. + + + +red +The red component of the color. This is +a value between 0 and 65535, with 65535 indicating +full intensitiy. + + + +green +the blue component of the color. + + + +blue +the green component of the color.. + + + + + +@pixel: +@red: +@green: +@blue: + + + +The colormap structure contains the following public +fields. + + + + + + +size +For pseudo-color colormaps, the number of colors +in the colormap.. + + + +colors +An array containing the current values in the +colormap. This can be used to map from pixel values +back to RGB values. This is only meaningful for +pseudo-color colormaps. + + + + + +@size: +@colors: + + + +Create a new colormap for the given visual. + + +@visual: a #GdkVisual. +@allocate: if %TRUE, the newly created colormap will be + a private colormap, and all colors in it will be + allocated for the applications use. +@Returns: the new #GdkColormap. + + + + +Increase the reference count of a colormap. + + +@cmap: a #GdkColormap. +@Returns: @cmap + + + + +Decrease the reference count of a colormap. If the +resulting reference count is zero, destroys the colormap. + + +@cmap: a #GdkColormap. + + + + +Returns the system's default colormap. + + +@Returns: the default colormap. + + + + +Returns the size of the system's default colormap. +(See the description of struct #GdkColormap for an +explanation of the size of a colormap.) + + +@Returns: the size of the system's default colormap. + + + + +Change the value of the first @ncolors in a private colormap +to match the values in the colors +array in the color map. This function is obsolete and +should not be used. See gdk_color_change(). + + +@colormap: a #GdkColormap. +@ncolors: the number of colors to change. + + + + +Allocates colors from a colormap. + + +@colormap: a #GdkColormap. +@colors: The color values to allocate. On return, the pixel + values for allocated colors will be filled in. +@ncolors: The number of colors in @colors. +@writeable: If %TRUE, the colors are allocated writeable + (their values can later be changed using gdk_color_change()). + Writeable colors cannot be shared between applications. +@best_match: If %TRUE, GDK will attempt to do matching against + existing colors if the colors cannot be allocated as + requested. +@success: An array of length @ncolors. On return, this + indicates whether the corresponding color in @colors was + sucessfully allocated or not. +@Returns: The number of colors that were not sucessfully + allocated. + + + + +Allocate a single color from a colormap. + + +@colormap: a #GdkColormap. +@color: the color to allocate. On return the +pixel field will be +filled in if allocation succeeds. +@writeable: If %TRUE, the color is allocated writeable + (their values can later be changed using gdk_color_change()). + Writeable colors cannot be shared between applications. +@best_match: If %TRUE, GDK will attempt to do matching against + existing colors if the color cannot be allocated as + requested. +@Returns: %TRUE if the allocation succeeded. + + + + +Free previously allocated colors. + + +@colormap: a #GdkColormap. +@colors: the colors to free. +@ncolors: the number of colors in @colors. + + + + +Return the visual for which a given colormap was created. + + +@colormap: a #GdkColormap. +@Returns: the visual of the colormap. + + + + +Change the value of the first @ncolors colors in +a private colormap. This function is obsolete and +should not be used. See gdk_color_change(). + + +@colormap: a #GdkColormap. +@colors: the new color values. +@ncolors: the number of colors to change. + + + + +Make a copy of a color structure. The result +must be freed using gdk_color_free(). + + +@color: a #GdkColor. +@Returns: a copy of @color. + + + + +Free a color structure created with +gdk_color_copy(). + + +@color: a #GdkColor. + + + + +Allocate colors from a colormap. This function +is obsolete. See gdk_colormap_alloc_colors(). +For full documentation of the fields, see +the Xlib documentation for XAllocColorCells. + + +@colormap: a #GdkColormap. +@contiguous: if %TRUE, the colors should be allocated + in contiguous color cells. +@planes: an array in which to store the plane masks. +@nplanes: the number of planes to allocate. (Or zero, + to indicate that the color allocation should not be + planar.) +@pixels: an array into which to store allocated pixel + values. +@npixels: the number of pixels in each plane to allocate. +@Returns: + + + + +Free colors allocated with gdk_colors_alloc(). This +function is obsolete. See gdk_colormap_free_colors(). + + +@colormap: a #GdkColormap. +@pixels: the pixel values of the colors to free. +@npixels: the number of values in @pixels. +@planes: the plane masks for all planes to free, OR'd + together. + + + + +Return the white color for a given colormap. The resulting +value has already allocated been allocated. + + +@colormap: a #GdkColormap. +@color: the location to store the color. +@Returns: %TRUE if the allocation succeeded. + + + + +Return the black color for a given colormap. The resulting +value has already benn allocated. + + +@colormap: a #GdkColormap. +@color: the location to store the color. +@Returns: %TRUE if the allocation succeeded. + + + + +Parse a textual specification of a color and fill in +the red, +green, and +blue fields of a +#GdkColor structure. The color is not +allocated, you must call gdk_colormap_alloc_color() yourself. +The text string can be in any of the forms accepted +by XParseColor; these include +name for a color from rgb.txt, such as +DarkSlateGray, or a hex specification +such as 305050. + + +@spec: the string specifying the color. +@color: the #GdkColor to fill in +@Returns: + + + + +Allocate a single color from a colormap. +This function is obsolete. See gdk_colormap_alloc_color(). + + +@colormap: a #GdkColormap. +@color: The color to allocate. On return, the +pixel field will be +filled in. +@Returns: %TRUE if the allocation succeeded. + + + + +Change the value of a color that has already +been allocated. If @colormap is not a private +colormap, then the color must have been allocated +using gdk_colormap_alloc_colors() with the +@writeable set to %TRUE. + + +@colormap: a #GdkColormap. +@color: a #GdkColor, with the color to change +in the pixel field, +and the new value in the remaining fields. +@Returns: + + + + +Compare two colors. + + +@colora: a #GdkColor. +@colorb: another #GdkColor. +@Returns: %TRUE if the two colors compare equal + + + + +A hash function suitable for using for a hash +table that stores #GdkColor's. + + +@colora: a #GdkColor. +@colorb: NOT USED. +@Returns: The hash function appled to @colora + + diff --git a/docs/reference/gdk/tmpl/cursors.sgml b/docs/reference/gdk/tmpl/cursors.sgml new file mode 100644 index 0000000000..3757f955c9 --- /dev/null +++ b/docs/reference/gdk/tmpl/cursors.sgml @@ -0,0 +1,98 @@ + +Cursors + + + + + + + + + + + + + + + + + + + +@type: + + + +The standard cursors available. + + + + + +Creates a new standard cursor. + + +@cursor_type: the type of the cursor. +@Returns: a new #GdkCursor. + + + + +Creates a new cursor from a given pixmap and mask. Both the pixmap and mask +must have a depth of 1 (i.e. each pixel has only 2 values - on or off). + +Creating a custom cursor. + +/* This data is in X bitmap format, and can be created with the 'bitmap' + utility. */ +#define cursor1_width 16 +#define cursor1_height 16 +static unsigned char cursor1_bits[] = { + 0x80, 0x01, 0x40, 0x02, 0x20, 0x04, 0x10, 0x08, 0x08, 0x10, 0x04, 0x20, + 0x82, 0x41, 0x41, 0x82, 0x41, 0x82, 0x82, 0x41, 0x04, 0x20, 0x08, 0x10, + 0x10, 0x08, 0x20, 0x04, 0x40, 0x02, 0x80, 0x01}; + +static unsigned char cursor1mask_bits[] = { + 0x80, 0x01, 0xc0, 0x03, 0x60, 0x06, 0x30, 0x0c, 0x18, 0x18, 0x8c, 0x31, + 0xc6, 0x63, 0x63, 0xc6, 0x63, 0xc6, 0xc6, 0x63, 0x8c, 0x31, 0x18, 0x18, + 0x30, 0x0c, 0x60, 0x06, 0xc0, 0x03, 0x80, 0x01}; + + + GdkCursor *cursor; + GdkPixmap *source, *mask; + GdkColor fg = { 0, 65535, 0, 0 }; /* Red. */ + GdkColor bg = { 0, 0, 0, 65535 }; /* Blue. */ + + + source = gdk_bitmap_create_from_data (NULL, cursor1_bits, + cursor1_width, cursor1_height); + mask = gdk_bitmap_create_from_data (NULL, cursor1mask_bits, + cursor1_width, cursor1_height); + cursor = gdk_cursor_new_from_pixmap (source, mask, &fg, &bg, 8, 8); + gdk_pixmap_unref (source); + gdk_pixmap_unref (mask); + + + gdk_window_set_cursor (widget->window, cursor); + + + +@source: the pixmap specifying the cursor. +@mask: the pixmap specifying the mask, which must be the same size as @source. +@fg: the foreground color, used for the bits in the source which are 1. +The color does not have to be allocated first. +@bg: the background color, used for the bits in the source which are 0. +The color does not have to be allocated first. +@x: the horizontal offset of the 'hotspot' of the cursor. +@y: the vertical offset of the 'hotspot' of the cursor. +@Returns: a new #GdkCursor. + + + + +Destroys a cursor, freeing any resources allocated for it. + + +@cursor: a #GdkCursor. + + diff --git a/docs/reference/gdk/tmpl/dnd.sgml b/docs/reference/gdk/tmpl/dnd.sgml new file mode 100644 index 0000000000..1d7110169f --- /dev/null +++ b/docs/reference/gdk/tmpl/dnd.sgml @@ -0,0 +1,187 @@ + +Drag and Drop + + + + + + + + + + + + + + + + + + + +@context: +@Returns: + + + + + + + +@context: +@time: + + + + + + + +@context: +@ok: +@time: + + + + + + + +@Returns: + + + + + + + +@context: +@time: + + + + + + + +@context: +@drag_window: +@x_root: +@y_root: +@dest_window: +@protocol: + + + + + + + +@context: + + + + + + + +@window: +@targets: +@Returns: + +@actions: + + + + + + + +@context: +@dest_window: +@protocol: +@x_root: +@y_root: +@suggested_action: +@possible_actions: +@time: +@Returns: + +@action: + + + + + + + +@context: +@success: +@time: + + + + + + + +@xid: +@protocol: +@Returns: + + + + + + + +@GDK_DRAG_PROTO_MOTIF: +@GDK_DRAG_PROTO_XDND: +@GDK_DRAG_PROTO_ROOTWIN: +@GDK_DRAG_PROTO_NONE: + + + + + + +@context: + + + + + + + +@protocol: +@is_source: +@source_window: +@dest_window: +@targets: +@actions: +@suggested_action: +@action: +@start_time: + + + + + + +@GDK_ACTION_DEFAULT: +@GDK_ACTION_COPY: +@GDK_ACTION_MOVE: +@GDK_ACTION_LINK: +@GDK_ACTION_PRIVATE: +@GDK_ACTION_ASK: + + + + + + +@context: +@action: +@time: + + diff --git a/docs/reference/gdk/tmpl/drawing.sgml b/docs/reference/gdk/tmpl/drawing.sgml new file mode 100644 index 0000000000..159690bace --- /dev/null +++ b/docs/reference/gdk/tmpl/drawing.sgml @@ -0,0 +1,260 @@ + +Drawing Primitives + + + + + + + + + + + + + + + + + + + +@GDK_SOLID: +@GDK_TILED: +@GDK_STIPPLED: +@GDK_OPAQUE_STIPPLED: + + + + + + +@GDK_EVEN_ODD_RULE: +@GDK_WINDING_RULE: + + + + + + +@GDK_LINE_SOLID: +@GDK_LINE_ON_OFF_DASH: +@GDK_LINE_DOUBLE_DASH: + + + + + + +@GDK_CAP_NOT_LAST: +@GDK_CAP_BUTT: +@GDK_CAP_ROUND: +@GDK_CAP_PROJECTING: + + + + + + +@GDK_JOIN_MITER: +@GDK_JOIN_ROUND: +@GDK_JOIN_BEVEL: + + + + + + +@drawable: +@gc: +@x: +@y: + + + + + + + +@drawable: +@gc: +@x1: +@y1: +@x2: +@y2: + + + + + + + +@drawable: +@gc: +@filled: +@x: +@y: +@width: +@height: + + + + + + + +@drawable: +@gc: +@filled: +@x: +@y: +@width: +@height: +@angle1: +@angle2: + + + + + + + +@drawable: +@gc: +@filled: +@points: +@npoints: + + + + + + + +@drawable: +@font: +@gc: +@x: +@y: +@string: + + + + + + + +@drawable: +@font: +@gc: +@x: +@y: +@text: +@text_length: + + + + + + + +@drawable: +@font: +@gc: +@x: +@y: +@text: +@text_length: + + + + + + + +@drawable: +@gc: +@src: +@xsrc: +@ysrc: +@xdest: +@ydest: +@width: +@height: + + + + + + + +@drawable: +@gc: +@src: +@xsrc: +@ysrc: +@xdest: +@ydest: +@width: +@height: + + + + + + + +@drawable: +@gc: +@image: +@xsrc: +@ysrc: +@xdest: +@ydest: +@width: +@height: + + + + + + + +@drawable: +@gc: +@points: +@npoints: + + + + + + + +@drawable: +@gc: +@segs: +@nsegs: + + + + + + + +@x1: +@y1: +@x2: +@y2: + + + + + + +@drawable: +@gc: +@points: +@npoints: + + diff --git a/docs/reference/gdk/tmpl/event_structs.sgml b/docs/reference/gdk/tmpl/event_structs.sgml new file mode 100644 index 0000000000..e2dac3942c --- /dev/null +++ b/docs/reference/gdk/tmpl/event_structs.sgml @@ -0,0 +1,257 @@ + +Event Structures + + + + + + + + + + + + + + + + + + + +@type: +@window: +@send_event: + + + + + + +@type: +@window: +@send_event: +@area: +@count: + + + + + + +@type: +@window: +@send_event: + + + + + + +@type: +@window: +@send_event: +@state: + + + + + + +@GDK_VISIBILITY_UNOBSCURED: +@GDK_VISIBILITY_PARTIAL: +@GDK_VISIBILITY_FULLY_OBSCURED: + + + + + + +@type: +@window: +@send_event: +@time: +@x: +@y: +@pressure: +@xtilt: +@ytilt: +@state: +@is_hint: +@source: +@deviceid: +@x_root: +@y_root: + + + + + + +@type: +@window: +@send_event: +@time: +@x: +@y: +@pressure: +@xtilt: +@ytilt: +@state: +@button: +@source: +@deviceid: +@x_root: +@y_root: + + + + + + +@type: +@window: +@send_event: +@time: +@state: +@keyval: +@length: +@string: + + + + + + +@type: +@window: +@send_event: +@subwindow: +@time: +@x: +@y: +@x_root: +@y_root: +@mode: +@detail: +@focus: +@state: + + + + + + +@GDK_CROSSING_NORMAL: +@GDK_CROSSING_GRAB: +@GDK_CROSSING_UNGRAB: + + + + + + +@GDK_NOTIFY_ANCESTOR: +@GDK_NOTIFY_VIRTUAL: +@GDK_NOTIFY_INFERIOR: +@GDK_NOTIFY_NONLINEAR: +@GDK_NOTIFY_NONLINEAR_VIRTUAL: +@GDK_NOTIFY_UNKNOWN: + + + + + + +@type: +@window: +@send_event: +@in: + + + + + + +@type: +@window: +@send_event: +@x: +@y: +@width: +@height: + + + + + + +@type: +@window: +@send_event: +@atom: +@time: +@state: + + + + + + +@type: +@window: +@send_event: +@selection: +@target: +@property: +@requestor: +@time: + + + + + + +@type: +@window: +@send_event: +@time: +@source: +@deviceid: + + + + + + +@type: +@window: +@send_event: +@message_type: +@data_format: + + + + + + +@type: +@window: +@send_event: +@context: +@time: +@x_root: +@y_root: + + + + + + + + + + + + + diff --git a/docs/reference/gdk/tmpl/events.sgml b/docs/reference/gdk/tmpl/events.sgml new file mode 100644 index 0000000000..126950238a --- /dev/null +++ b/docs/reference/gdk/tmpl/events.sgml @@ -0,0 +1,185 @@ + +Events + + + + + + + + + + + + + + + + + + + +@GDK_NOTHING: +@GDK_DELETE: +@GDK_DESTROY: +@GDK_EXPOSE: +@GDK_MOTION_NOTIFY: +@GDK_BUTTON_PRESS: +@GDK_2BUTTON_PRESS: +@GDK_3BUTTON_PRESS: +@GDK_BUTTON_RELEASE: +@GDK_KEY_PRESS: +@GDK_KEY_RELEASE: +@GDK_ENTER_NOTIFY: +@GDK_LEAVE_NOTIFY: +@GDK_FOCUS_CHANGE: +@GDK_CONFIGURE: +@GDK_MAP: +@GDK_UNMAP: +@GDK_PROPERTY_NOTIFY: +@GDK_SELECTION_CLEAR: +@GDK_SELECTION_REQUEST: +@GDK_SELECTION_NOTIFY: +@GDK_PROXIMITY_IN: +@GDK_PROXIMITY_OUT: +@GDK_DRAG_ENTER: +@GDK_DRAG_LEAVE: +@GDK_DRAG_MOTION: +@GDK_DRAG_STATUS: +@GDK_DROP_START: +@GDK_DROP_FINISHED: +@GDK_CLIENT_EVENT: +@GDK_VISIBILITY_NOTIFY: +@GDK_NO_EXPOSE: + + + + + + +@GDK_EXPOSURE_MASK: +@GDK_POINTER_MOTION_MASK: +@GDK_POINTER_MOTION_HINT_MASK: +@GDK_BUTTON_MOTION_MASK: +@GDK_BUTTON1_MOTION_MASK: +@GDK_BUTTON2_MOTION_MASK: +@GDK_BUTTON3_MOTION_MASK: +@GDK_BUTTON_PRESS_MASK: +@GDK_BUTTON_RELEASE_MASK: +@GDK_KEY_PRESS_MASK: +@GDK_KEY_RELEASE_MASK: +@GDK_ENTER_NOTIFY_MASK: +@GDK_LEAVE_NOTIFY_MASK: +@GDK_FOCUS_CHANGE_MASK: +@GDK_STRUCTURE_MASK: +@GDK_PROPERTY_CHANGE_MASK: +@GDK_VISIBILITY_NOTIFY_MASK: +@GDK_PROXIMITY_IN_MASK: +@GDK_PROXIMITY_OUT_MASK: +@GDK_SUBSTRUCTURE_MASK: +@GDK_ALL_EVENTS_MASK: + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@window: +@Returns: + + + + + + + +@event: + + + + + + + +@event: +@Returns: + + + + + + + +@event: + + + + + + + +@event: +@Returns: + + + + + + + +@func: +@data: +@notify: + + + + + + + +@event: +@xid: +@Returns: + + + + + + + +@event: +@data: + + + + + + + +@event: + + diff --git a/docs/reference/gdk/tmpl/fonts.sgml b/docs/reference/gdk/tmpl/fonts.sgml new file mode 100644 index 0000000000..841b58208a --- /dev/null +++ b/docs/reference/gdk/tmpl/fonts.sgml @@ -0,0 +1,581 @@ + +Fonts + + +loading and manipulating fonts + + + +The GdkFont data type represents a font for drawing on +the screen. These functions provide support for +loading fonts, and also for determining the dimensions +of characters and strings when drawn with a particular +font. + + + +Fonts in X are specified by a +X Logical Font Description. +The following description is considerably simplified. +For definitive information about XLFD's see the +X reference documentation. A X Logical Font Description (XLFD) +consists of a sequence of fields separated (and surrounded by) '-' +characters. For example, Adobe Helvetica Bold 12 pt, has the +full description: + + +"-adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1" + + + + +The fields in the XLFD are: + + + + + + +Foundry +the company or organization where the font originated. + + + +Family +the font family (a group of related font designs). + + + +Weight +A name for the font's typographic weight +For example, 'bold' or 'medium'). + + + +Slant +The slant of the font. Common values are 'R' for Roman, +'I' for italoc, and 'O' for oblique. + + + +Set Width +A name for the width of the font. For example, +'normal' or 'condensed'. + + + +Add Style +Additional information to distinguish a font from +other fonts of the same family. + + + +Pixel Size +The body size of the font in pixels. + + + +Point Size +The body size of the font in 10ths of a point. +(A point is 1/72.27 inch) + + + +Resolution X +The horizontal resolution that the font was designed for. + + + +Resolution Y +The vertical resolution that the font was designed for . + + + +Spacing +The type of spacing for the font - can be 'p' for proportional, +'m' for monospaced or 'c' for charcell. + + + +Average Width +The average width of a glyph in the font. For monospaced +and charcell fonts, all glyphs in the font have this width + + + +Charset Registry +The registration authority that owns the encoding for +the font. Together with the Charset Encoding field, this +defines the character set for the font. + + + +Charset Encoding +An identifier for the particular character set encoding. + + + + + + +When specifying a font via a X logical Font Description, +'*' can be used as a wildcard to match any portion of +the XLFD. For instance, the above example could +also be specified as + + +"-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1" + + +It is generally a good idea to use wildcards for any +portion of the XLFD that your program does not care +about specifically, since that will improve the +chances of finding a matching font. + + + +A fontset is a list of fonts +that is used for drawing international text that may +contain characters from a number of different character +sets. It is represented by a list of XLFD's. + + + +The font for a given character set is determined by going +through the list of XLFD's in order. For each one, if +the registry and and encoding fields match the desired +character set, then that font is used, otherwise if +the XLFD contains wild-cards for the registry and encoding +fields, the registry and encoding for the desired character +set are subsituted in and a lookup is done. If a match is found +that font is used. Otherwise, processing continues +on to the next font in the list. + + + +The functions for determining the metrics of a string +come in several varieties that can take a number +of forms of string input: + + + + 8-bit string + + When using functions like gdk_string_width() that + take a gchar *, if the font is of type + %GDK_FONT_FONT and is an 8-bit font, then each + gchar indexes the glyphs in the font directly. + + + + 16-bit string + + For functions taking a gchar *, if the + font is of type %GDK_FONT_FONT, and is a 16-bit + font, then the gchar * argument is + interpreted as a guint16 * cast to + a gchar * and each guint16 + indexes the glyphs in the font directly. + + + + Multibyte string + + For functions taking a gchar *, if the + font is of type %GDK_FONT_FONTSET, then the input + string is interpreted as a multibyte + encoded according to the current locale. (A multibyte + string is one in which each character may consist + of one or more bytes, with different lengths for different + characters in the string). They can be converted to and + from wide character strings (see below) using + gdk_wcstombs() and gdk_mbstowcs().) The string will + be rendered using one or more different fonts from + the fontset. + + + + Wide character string + + For a number of the text-measuring functions, GTK+ + provides a variant (such as gdk_text_width_wc()) which + takes a GdkWChar * instead of a + gchar *. The input is then taken to + be a wide character string in the encoding of the + current locale. (A wide character string is a string + in which each character consists of several bytes, + and the width of each character in the string is + constant.) + + + + + + +GDK provides functions to determine a number of different +measurements (metrics) for a given string. (Need diagram +here). + + + + ascent + + The vertical distance from the origin of the drawing + opereration to the top of the drawn character. + + + + descent + + The vertical distance from the origin of the drawing + opereration to the bottom of the drawn character. + + + + left bearing + + The horizontal distance from the origin of the drawing + operation to the left-most part of the drawn character. + + + + right bearing + + The horizontal distance from the origin of the drawing + operation to the right-most part of the drawn character. + + + + width bearing + + The horizontal distance from the origin of the drawing + operation to the correct origin for drawing another + string to follow the current one. Depending on the + font, this could be greater than or less than the + right bearing. + + + + + + + + + + + + +The GdkFont structure represents a font or fontset. It +contains the following public fields. A new GdkFont +structure is returned by gdk_font_load() or gdk_fontset_load(), +and is reference counted with gdk_font_ref() and gdk_font_unref() + + + + + + +type +a value of type #GdkFontType which indicates +whether this font is a single font or a fontset. + + + +ascent +the maximum distance that the font, when drawn, +ascends above the baseline. + + + +descent +the maximum distance that the font, when drawn, +descends below the baseline. + + + + + +@type: +@ascent: +@descent: + + + +Indicates the type of a font. The possible values +are currently: + + + + + + +GDK_FONT_FONT +the font is a single font. + + + +GDK_FONT_FONT +the font is a fontset. + + + + + +@GDK_FONT_FONT: +@GDK_FONT_FONTSET: + + + +Loads a font. + + + +Currently, this function will always return a new +font, however, in the future, it may be changed to +look up the font in a cache. You should make no +assumptions about the initial reference count. + + +@font_name: a XLFD describing the font to load. +@Returns: a #GdkFont, or NULL if the font could not be loaded. + + + + +Loads a fontset. + + +Currently this function will always return a new +font, however, in the future, it may be changed to +look up the font in a cache. You should make no +assumptions about the initial reference count. + + +@fontset_name: a comma-separated list of XLFDs describing + the component fonts of the fontset to load. +@Returns: a #GdkFont, or NULL if the fontset could not be loaded. + + + + +Increase the reference count of a count by one. + + +@font: a #GdkFont +@Returns: @font + + + + +Decrease the reference count of a count by one. +If the result is zero, destroys the font. + + +@font: a #GdkFont + + + + +Returns the X Font ID for the given font. + + +@font: a #GdkFont. +@Returns: the numeric X Font ID + + + + +Compares two fonts for equality. Single fonts compare equal +if they have the same X font ID. This operation does +not currently work correctly for fontsets. + + +@fonta: a #GdkFont. +@fontb: another #GdkFont. +@Returns: %TRUE if the fonts are equal. + + + + +Returns the metrics of a NULL-terminated string. + + +@font: a #GdkFont. +@string: the NULL-terminated string to measure. +@lbearing: the left bearing of the string. +@rbearing: the right bearing of the string. +@width: the width of the string. +@ascent: the ascent of the string. +@descent: the descent of the string. + + + + +Returns the metrics of a string. + + +@font: a #GdkFont +@text: the text to measure +@text_length: the length of the text in bytes. (If the + font is a 16-bit font, this is twice the length + of the text in characters.) +@lbearing: the left bearing of the string. +@rbearing: the right bearing of the string. +@width: the width of the string. +@ascent: the ascent of the string. +@descent: the descent of the string. + + + + +Returns the metrics of a string of wide characters. + + +@font: a #GdkFont +@text: the text to measure. +@text_length: the length of the text in character. +@lbearing: the left bearing of the string. +@rbearing: the right bearing of the string. +@width: the width of the string. +@ascent: the ascent of the string. +@descent: the descent of the string. + + + + +Determine the width of a NULL-terminated string. +(The distance from the origin of the string to the +point where the next string in a sequence of strings +should be drawn) + + +@font: a #GdkFont +@string: the NULL-terminated string to measure +@Returns: the width of the string in pixels. + + + + +Determine the width of a given string. + + +@font: a #GdkFont +@text: the text to measure. +@text_length: the length of the text in bytes. +@Returns: the width of the string in pixels. + + + + +Determine the width of a given wide-character string. + + +@font: a #GdkFont +@text: the text to measure. +@text_length: the length of the text in characters. +@Returns: the width of the string in pixels. + + + + +Determine the width of a given character. + + +@font: a #GdkFont +@character: the character to measure. +@Returns: the width of the character in pixels. + + + + +Determine the width of a given wide character. (Encoded +in the wide-character encoding of the current locale). + + +@font: a #GdkFont +@character: the character to measure. +@Returns: the width of the character in pixels. + + + + +Determines the distance from the origin to the rightmost +portion of a NULL-terminated string when drawn. This is not the +correct value for determining the origin of the next +portion when drawing text in multiple pieces. +See gdk_string_width(). + + +@font: a #GdkFont +@string: the NULL-terminated string to measure. +@Returns: the right bearing of the string in pixels. + + + + +Determines the distance from the origin to the rightmost +portion of a string when drawn. This is not the +correct value for determining the origin of the next +portion when drawing text in multiple pieces. +See gdk_text_width(). + + +@font: a #GdkFont +@text: the text to measure. +@text_length: the length of the text in bytes. +@Returns: the right bearing of the string in pixels. + + + + +Determines the distance from the origin to the rightmost +portion of a character when drawn. This is not the +correct value for determining the origin of the next +portion when drawing text in multiple pieces. + + +@font: a #GdkFont +@character: the character to measure. +@Returns: the right bearing of the character in pixels. + + + + +Determines the total height of a given NULL-terminated +string. This value is not generally useful, because you +cannot determine how this total height will be drawn in +relation to the baseline. See gdk_string_extents(). + + +@font: a #GdkFont +@string: the NULL-terminated string to measure. +@Returns: the height of the string in pixels. + + + + +Determines the total height of a given string. +This value is not generally useful, because you cannot +determine how this total height will be drawn in +relation to the baseline. See gdk_text_extents(). + + +@font: a #GdkFont +@text: the text to measure. +@text_length: the length of the text in bytes. +@Returns: the height of the string in pixels. + + + + +Determines the total height of a given character. +This value is not generally useful, because you cannot +determine how this total height will be drawn in +relation to the baseline. See gdk_text_extents(). + + +@font: a #GdkFont +@character: the character to measure. +@Returns: the height of the character in pixels. + + diff --git a/docs/reference/gdk/tmpl/gcs.sgml b/docs/reference/gdk/tmpl/gcs.sgml new file mode 100644 index 0000000000..101e3a3058 --- /dev/null +++ b/docs/reference/gdk/tmpl/gcs.sgml @@ -0,0 +1,314 @@ + +Graphics Contexts + + + + + + + + + + + + + + + + + + + +@dummy_var: + + + + + + +@foreground: +@background: +@font: +@function: +@fill: +@tile: +@stipple: +@clip_mask: +@subwindow_mode: +@ts_x_origin: +@ts_y_origin: +@clip_x_origin: +@clip_y_origin: +@graphics_exposures: +@line_width: +@line_style: +@cap_style: +@join_style: + + + + + + +@GDK_GC_FOREGROUND: +@GDK_GC_BACKGROUND: +@GDK_GC_FONT: +@GDK_GC_FUNCTION: +@GDK_GC_FILL: +@GDK_GC_TILE: +@GDK_GC_STIPPLE: +@GDK_GC_CLIP_MASK: +@GDK_GC_SUBWINDOW: +@GDK_GC_TS_X_ORIGIN: +@GDK_GC_TS_Y_ORIGIN: +@GDK_GC_CLIP_X_ORIGIN: +@GDK_GC_CLIP_Y_ORIGIN: +@GDK_GC_EXPOSURES: +@GDK_GC_LINE_WIDTH: +@GDK_GC_LINE_STYLE: +@GDK_GC_CAP_STYLE: +@GDK_GC_JOIN_STYLE: + + + + + + +@GDK_COPY: +@GDK_INVERT: +@GDK_XOR: +@GDK_CLEAR: +@GDK_AND: +@GDK_AND_REVERSE: +@GDK_AND_INVERT: +@GDK_NOOP: +@GDK_OR: +@GDK_EQUIV: +@GDK_OR_REVERSE: +@GDK_COPY_INVERT: +@GDK_OR_INVERT: +@GDK_NAND: +@GDK_SET: + + + + + + +@window: +@Returns: + + + + + + + +@window: +@values: +@values_mask: +@Returns: + + + + + + + +@gc: +@Returns: + + + + + + + +@gc: + + + + + + + +@gc: + + + + + + + +@gc: +@values: + + + + + + + +@gc: +@color: + + + + + + + +@gc: +@color: + + + + + + + +@gc: +@font: + + + + + + + +@gc: +@function: + + + + + + + +@gc: +@fill: + + + + + + + +@gc: +@tile: + + + + + + + +@gc: +@stipple: + + + + + + + +@gc: +@x: +@y: + + + + + + + +@gc: +@x: +@y: + + + + + + + +@gc: +@mask: + + + + + + + +@gc: +@rectangle: + + + + + + + +@gc: +@region: + + + + + + + +@gc: +@mode: + + + + + + + +@GDK_CLIP_BY_CHILDREN: +@GDK_INCLUDE_INFERIORS: + + + + + + +@gc: +@exposures: + + + + + + + +@gc: +@line_width: +@line_style: +@cap_style: +@join_style: + + + + + + + +@gc: +@dash_offset: +@dash_list: +@n: + + + + + + + +@dst_gc: +@src_gc: + + diff --git a/docs/reference/gdk/tmpl/gdk-unused.sgml b/docs/reference/gdk/tmpl/gdk-unused.sgml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/reference/gdk/tmpl/general.sgml b/docs/reference/gdk/tmpl/general.sgml new file mode 100644 index 0000000000..a2fe3a5b29 --- /dev/null +++ b/docs/reference/gdk/tmpl/general.sgml @@ -0,0 +1,265 @@ + +General + + + + + + + + + + + + + + + + + + + +@argc: +@argv: + + + + + + + +@argc: +@argv: +@Returns: + + + + + + + +@error_code: + + + + + + + +@GDK_OK: +@GDK_ERROR: +@GDK_ERROR_PARAM: +@GDK_ERROR_FILE: +@GDK_ERROR_MEM: + + + + + + + + + + + + + + + + + + + + + + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@show_events: + + + + + + + +@message_type: +@func: +@data: + + + + + + + +@sm_client_id: + + + + + + + +@Returns: + + + + + + + +@use_xshm: + + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@window: +@owner_events: +@event_mask: +@confine_to: +@cursor: +@time: +@Returns: + + + + + + + +@time: + + + + + + + +@window: +@owner_events: +@time: +@Returns: + + + + + + + +@time: + + + + + + + +@Returns: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@Returns: + + diff --git a/docs/reference/gdk/tmpl/images.sgml b/docs/reference/gdk/tmpl/images.sgml new file mode 100644 index 0000000000..cb77444117 --- /dev/null +++ b/docs/reference/gdk/tmpl/images.sgml @@ -0,0 +1,107 @@ + +Images + + + + + + + + + + + + + + + + + + + +@type: +@visual: +@byte_order: +@width: +@height: +@depth: +@bpp: +@bpl: +@mem: + + + + + + +@GDK_IMAGE_NORMAL: +@GDK_IMAGE_SHARED: +@GDK_IMAGE_FASTEST: + + + + + + +@visual: +@data: +@width: +@height: +@Returns: + + + + + + + +@type: +@visual: +@width: +@height: +@Returns: + + + + + + + +@window: +@x: +@y: +@width: +@height: +@Returns: + + + + + + + +@image: +@x: +@y: +@pixel: + + + + + + + +@image: +@x: +@y: +@Returns: + + + + + + + +@image: + + diff --git a/docs/reference/gdk/tmpl/input.sgml b/docs/reference/gdk/tmpl/input.sgml new file mode 100644 index 0000000000..057b1c1c54 --- /dev/null +++ b/docs/reference/gdk/tmpl/input.sgml @@ -0,0 +1,130 @@ + +Input + + +Callbacks on file descriptors. + + + +The functions in this section are used to establish +callbacks when some condition becomes true for +a file descriptor. They are currently just wrappers around +the IO Channel +facility. + + + + + + + +GLib Main Loop +The main loop in which input callbacks run. + + + +IO Channels +A newer and more flexible way of doing IO +callbacks. + + + + + + + +Establish a callback when a condition becomes true on +a file descriptor. + + +@source: a file descriptor. +@condition: the condition. +@function: the callback function. +@data: callback data passed to @function. +@destroy: callback function to call with @data when the input + handler is removed. +@Returns: a tag that can later be used as an argument to + gdk_input_remove(). + + + + +A set of bit flags used to specify conditions for which +an input callback will be triggered. The three members +of this enumeration correspond to the @readfds, +@writefds, and @exceptfds arguments to the +select system call. + + + + + + +GDK_INPUT_READ +the file descriptor has become available for reading. +(Or, as is standard in Unix, a socket or pipe was closed +at the other end; this is the case if a subsequent read +on the file descriptor returns a count of zero.) + + + +GDK_INPUT_WRITE +the file descriptor has become available for writing. + + + +GDK_INPUT_EXCEPTION +an exception was raised on the file descriptor. + + + + + +@GDK_INPUT_READ: +@GDK_INPUT_WRITE: +@GDK_INPUT_EXCEPTION: + + + +A callback function that will be called when some condition +occurs. + + +@data: the user data passed to gdk_input_add() or gdk_input_add_full(). +@source: the source where the condition occurred. +@condition: the triggering condition. + + + + +A callback function called when a piece of user data is +no longer being stored by GDK. Will typically free the +structure or object that @data points to. + + +@data: the user data. + + + + +Establish a callback when a condition becomes true on +a file descriptor. + + +@source: a file descriptor. +@condition: the condition. +@function: the callback function. +@data: callback data passed to @function. +@Returns: a tag that can later be used as an argument to + gdk_input_remove(). + + + + +Remove a callback added with gdk_input_add() or +gdk_input_add_full(). + + +@tag: the tag returned when the callback was set up. + + diff --git a/docs/reference/gdk/tmpl/input_contexts.sgml b/docs/reference/gdk/tmpl/input_contexts.sgml new file mode 100644 index 0000000000..ce23f99e66 --- /dev/null +++ b/docs/reference/gdk/tmpl/input_contexts.sgml @@ -0,0 +1,154 @@ + +Input Contexts + + + + + + + + + + + + + + + + + + + + + + + + + +@style: +@client_window: +@focus_window: +@filter_events: +@spot_location: +@line_spacing: +@cursor: +@preedit_fontset: +@preedit_area: +@preedit_area_needed: +@preedit_foreground: +@preedit_background: +@preedit_pixmap: +@preedit_colormap: +@status_fontset: +@status_area: +@status_area_needed: +@status_foreground: +@status_background: +@status_pixmap: +@status_colormap: + + + + + + +@GDK_IC_STYLE: +@GDK_IC_CLIENT_WINDOW: +@GDK_IC_FOCUS_WINDOW: +@GDK_IC_FILTER_EVENTS: +@GDK_IC_SPOT_LOCATION: +@GDK_IC_LINE_SPACING: +@GDK_IC_CURSOR: +@GDK_IC_PREEDIT_FONTSET: +@GDK_IC_PREEDIT_AREA: +@GDK_IC_PREEDIT_AREA_NEEDED: +@GDK_IC_PREEDIT_FOREGROUND: +@GDK_IC_PREEDIT_BACKGROUND: +@GDK_IC_PREEDIT_PIXMAP: +@GDK_IC_PREEDIT_COLORMAP: +@GDK_IC_STATUS_FONTSET: +@GDK_IC_STATUS_AREA: +@GDK_IC_STATUS_AREA_NEEDED: +@GDK_IC_STATUS_FOREGROUND: +@GDK_IC_STATUS_BACKGROUND: +@GDK_IC_STATUS_PIXMAP: +@GDK_IC_STATUS_COLORMAP: +@GDK_IC_ALL_REQ: +@GDK_IC_PREEDIT_AREA_REQ: +@GDK_IC_PREEDIT_POSITION_REQ: +@GDK_IC_STATUS_AREA_REQ: + + + + + + +@attr: +@mask: +@Returns: + + + + + + + +@ic: + + + + + + + +@ic: +@Returns: + + + + + + + +@ic: +@attr: +@mask: +@Returns: + + + + + + + +@ic: +@attr: +@mask: +@Returns: + + + + + + + +@ic: +@Returns: + + + + + + + +@Returns: + + + + + + + +@attr: + + diff --git a/docs/reference/gdk/tmpl/input_devices.sgml b/docs/reference/gdk/tmpl/input_devices.sgml new file mode 100644 index 0000000000..b8875e842c --- /dev/null +++ b/docs/reference/gdk/tmpl/input_devices.sgml @@ -0,0 +1,198 @@ + +Input Devices + + + + + + + + + + + + + + + + + + + + + + + + + + +@GDK_EXTENSION_EVENTS_NONE: +@GDK_EXTENSION_EVENTS_ALL: +@GDK_EXTENSION_EVENTS_CURSOR: + + + + + + +@keyval: +@modifiers: + + + + + + +@deviceid: +@name: +@source: +@mode: +@has_cursor: +@num_axes: +@axes: +@num_keys: +@keys: + + + + + + + + + + + + + + + + + + + + +@Returns: + + + + + + + +@window: +@mask: +@mode: + + + + + + + +@deviceid: +@source: + + + + + + + +@GDK_SOURCE_MOUSE: +@GDK_SOURCE_PEN: +@GDK_SOURCE_ERASER: +@GDK_SOURCE_CURSOR: + + + + + + +@deviceid: +@mode: +@Returns: + + + + + + + +@GDK_MODE_DISABLED: +@GDK_MODE_SCREEN: +@GDK_MODE_WINDOW: + + + + + + +@deviceid: +@axes: + + + + + + + +@GDK_AXIS_IGNORE: +@GDK_AXIS_X: +@GDK_AXIS_Y: +@GDK_AXIS_PRESSURE: +@GDK_AXIS_XTILT: +@GDK_AXIS_YTILT: +@GDK_AXIS_LAST: + + + + + + +@deviceid: +@index: +@keyval: +@modifiers: + + + + + + + +@window: +@deviceid: +@x: +@y: +@pressure: +@xtilt: +@ytilt: +@mask: + + + + + + + +@window: +@deviceid: +@start: +@stop: +@nevents_return: +@Returns: + + + + + + + +@time: +@x: +@y: +@pressure: +@xtilt: +@ytilt: + diff --git a/docs/reference/gdk/tmpl/input_methods.sgml b/docs/reference/gdk/tmpl/input_methods.sgml new file mode 100644 index 0000000000..0f86c13137 --- /dev/null +++ b/docs/reference/gdk/tmpl/input_methods.sgml @@ -0,0 +1,101 @@ + +Input Methods + + + + + + + + + + + + + + + + + + + +@GDK_IM_PREEDIT_AREA: +@GDK_IM_PREEDIT_CALLBACKS: +@GDK_IM_PREEDIT_POSITION: +@GDK_IM_PREEDIT_NOTHING: +@GDK_IM_PREEDIT_NONE: +@GDK_IM_PREEDIT_MASK: +@GDK_IM_STATUS_AREA: +@GDK_IM_STATUS_CALLBACKS: +@GDK_IM_STATUS_NOTHING: +@GDK_IM_STATUS_NONE: +@GDK_IM_STATUS_MASK: + + + + + + + + + + + + +@Returns: + + + + + + + +@ic: +@window: + + + + + + + + + + + + + + +@supported_style: +@Returns: + + + + + + + +@best_allowed_style: +@Returns: + + + + + + + +@src: +@Returns: + + + + + + + +@dest: +@src: +@dest_max: +@Returns: + + diff --git a/docs/reference/gdk/tmpl/keys.sgml b/docs/reference/gdk/tmpl/keys.sgml new file mode 100644 index 0000000000..e014c6e10f --- /dev/null +++ b/docs/reference/gdk/tmpl/keys.sgml @@ -0,0 +1,93 @@ + +Key Values + + +functions for manipulating keyboard codes. + + + +Key values are the codes which are sent whenever a key is pressed or released. +They appear in the keyval field of the +#GdkEventKey structure, which is passed to signal handlers for the +"key-press-event" and "key-release-event" signals. +The complete list of key values can be found in the <gdk/gdkkeysyms.h> +header file. + + +Key values can be converted into a string representation using +gdk_keyval_name(). The reverse function, converting a string to a key value, +is provided by gdk_keyval_from_name(). + + +The case of key values can be determined using gdk_keyval_is_upper() and +gdk_keyval_is_lower(). Key values can be converted to upper or lower case +using gdk_keyval_to_upper() and gdk_keyval_to_lower(). + + + + + + + + + +Converts a key value into a symbolic name. +The names are the same as those in the <gdk/gdkkeysyms.h> header file +but without the leading "GDK_". + + +@keyval: a key value. +@Returns: a string containing the name of the key, or NULL if @keyval is not +a valid key. The string should not be modified. + + + + +Converts a key name to a key value. + + +@keyval_name: a key name. +@Returns: the corresponding key value, or %GDK_VoidSymbol if the key name is +not a valid key. + + + + +Returns TRUE if the given key value is in upper case. + + +@keyval: a key value. +@Returns: TRUE if @keyval is in upper case, or if @keyval is not subject to +case conversion. + + + + +Returns TRUE if the given key value is in lower case. + + +@keyval: a key value. +@Returns: TRUE if @keyval is in lower case, or if @keyval is not subject to +case conversion. + + + + +Converts a key value to upper case, if applicable. + + +@keyval: a key value. +@Returns: the upper case form of @keyval, or @keyval itself if it is already +in upper case or it is not subject to case conversion. + + + + +Converts a key value to lower case, if applicable. + + +@keyval: a key value. +@Returns: the lower case form of @keyval, or @keyval itself if it is already +in lower case or it is not subject to case conversion. + + diff --git a/docs/reference/gdk/tmpl/pixmaps.sgml b/docs/reference/gdk/tmpl/pixmaps.sgml new file mode 100644 index 0000000000..ea7de9ebdc --- /dev/null +++ b/docs/reference/gdk/tmpl/pixmaps.sgml @@ -0,0 +1,196 @@ + +Bitmaps and Pixmaps + + +Offscreen drawables. + + + +Pixmaps are offscreen drawables. They can be drawn upon with the +standard drawing primitives, then copied to another drawable (such as +a #GdkWindow) with gdk_pixmap_draw(). The depth of a pixmap +is the number of bits per pixels. Bitmaps are simply pixmaps +with a depth of 1. (That is, they are monochrome bitmaps - each +pixel can be either on or off). + + + + + + + + +An opaque structure representing an offscreen drawable. +Pointers to structures of type #GdkPixmap, #GdkBitmap, +and #GdkWindow, can often be used interchangeably. +The type #GdkDrawable refers generically to any of +these types. + + +@user_data: + + + +Create a new pixmap with a given size and depth. + + +@window: a #GdkWindow, used to determine default values for the + new pixmap. Can be %NULL if @depth is specified, +@width: The width of the new pixmap in pixels. +@height: The height of the new pixmap in pixels. +@depth: The depth (number of bits per pixel) of the new pixmap. + If -1, and @window is not %NULL, the depth of the new + pixmap will be equal to that of @window. +@Returns: the #GdkBitmap + + + + +Creates a new bitmap from data in XBM format. + + +@window: a #GdkWindow, used to determine default values for the + new pixmap. Can be %NULL, in which case the root window is + used. +@data: a pointer to the XBM data. +@width: the width of the new pixmap in pixels. +@height: the height of the new pixmap in pixels. +@Returns: the #GdkBitmap + + + + +Create a two-color pixmap from data in XBM data. + + +@window: a #GdkWindow, used to determine default values for the + new pixmap. Can be %NULL, if the depth is given. +@data: a pointer to the data. +@width: the width of the new pixmap in pixels. +@height: the height of the new pixmap in pixels. +@depth: the depth (number of bits per pixel) of the new pixmap. +@fg: the foreground color. +@bg: the background color. +@Returns: the #GdkPixmap + + + + +Create a pixmap from a XPM file. + + +@window: a #GdkWindow, used to determine default values for the + new pixmap. +@mask: a pointer to a place to store a bitmap representing +the transparency mask of the XPM file. Can be %NULL, +in which case transparency will be ignored. +@transparent_color: the color to be used for the pixels +that are transparent in the input file. Can be %NULL, +in which case a default color will be used. +@filename: the filename of a file containing XPM data. +@Returns: the #GdkPixmap + + + + +Create a pixmap from a XPM file using a particular colormap. + + +@window: a #GdkWindow, used to determine default values for the + new pixmap. Can be %NULL if @colormap is given. +@colormap: the #GdkColormap that the new pixmap will be use. + If omitted, the colormap for @window will be used. +@mask: a pointer to a place to store a bitmap representing +the transparency mask of the XPM file. Can be %NULL, +in which case transparency will be ignored. +@transparent_color: the color to be used for the pixels +that are transparent in the input file. Can be %NULL, +in which case a default color will be used. +@filename: the filename of a file containing XPM data. +@Returns: the #GdkPixmap. + + + + +Create a pixmap from data in XPM format. + + +@window: a #GdkWindow, used to determine default values for the + new pixmap. +@mask: Pointer to a place to store a bitmap representing +the transparency mask of the XPM file. Can be %NULL, +in which case transparency will be ignored. +@transparent_color: This color will be used for the pixels +that are transparent in the input file. Can be %NULL +in which case a default color will be used. +@data: Pointer to a string containing the XPM data. +@Returns: the #GdkPixmap + + + + +Create a pixmap from data in XPM format using a particular +colormap. + + +@window: a #GdkWindow, used to determine default values for the + new pixmap. Can be %NULL if @colormap is given. +@colormap: the #GdkColormap that the new pixmap will be use. + If omitted, the colormap for @window will be used. +@mask: a pointer to a place to store a bitmap representing +the transparency mask of the XPM file. Can be %NULL, +in which case transparency will be ignored. +@transparent_color: the color to be used for the pixels +that are transparent in the input file. Can be %NULL, +in which case a default color will be used. +@data: Pointer to a string containing the XPM data. +@Returns: the #GdkPixmap. + + + + +Increase the reference count of a pixmap. + + +@pixmap: a #GdkPixmap +@Returns: @pixmap + + + + +Decrease the reference count of a pixmap. If the resulting +reference count is zero, destroy the pixmap. + + +@pixmap: a #GdkPixmap + + + + +An opaque structure representing an offscreen drawable of depth +1. Pointers to structures of type GdkPixmap, #GdkBitmap, and +#GdkWindow, can often be used interchangeably. The type #GdkDrawable +refers generically to any of these types. + + +@user_data: + + + +Increase the reference count of a bitmap. An alias +for gdk_pixmap_ref(). + + +@pixmap: +@Returns: + + + + +Decrease the reference count of a bitmap. An alias +for gdk_pixmap_unref(). + + +@pixmap: + + diff --git a/docs/reference/gdk/tmpl/properties.sgml b/docs/reference/gdk/tmpl/properties.sgml new file mode 100644 index 0000000000..674c39ec26 --- /dev/null +++ b/docs/reference/gdk/tmpl/properties.sgml @@ -0,0 +1,152 @@ + +Properties and Atoms + + + + + + + + + + + + + + + + + + + + + + + + + +@GDK_PROPERTY_NEW_VALUE: +@GDK_PROPERTY_DELETE: + + + + + + +@GDK_PROP_MODE_REPLACE: +@GDK_PROP_MODE_PREPEND: +@GDK_PROP_MODE_APPEND: + + + + + + +@GDK_TARGET_BITMAP: +@GDK_TARGET_COLORMAP: +@GDK_TARGET_DRAWABLE: +@GDK_TARGET_PIXMAP: +@GDK_TARGET_STRING: + + + + + + +@encoding: +@format: +@text: +@length: +@list: +@Returns: + + + + + + + +@list: + + + + + + + +@str: +@encoding: +@format: +@ctext: +@length: +@Returns: + + + + + + + +@ctext: + + + + + + + +@atom_name: +@only_if_exists: +@Returns: + + + + + + + +@atom: +@Returns: + + + + + + + +@window: +@property: +@type: +@offset: +@length: +@pdelete: +@actual_property_type: +@actual_format: +@actual_length: +@data: +@Returns: + + + + + + + +@window: +@property: +@type: +@format: +@mode: +@data: +@nelements: + + + + + + + +@window: +@property: + + diff --git a/docs/reference/gdk/tmpl/regions.sgml b/docs/reference/gdk/tmpl/regions.sgml new file mode 100644 index 0000000000..5f4f228d2b --- /dev/null +++ b/docs/reference/gdk/tmpl/regions.sgml @@ -0,0 +1,217 @@ + +Points, Rectangles and Regions + + + + + + + + + + + + + + + + + + + +@x: +@y: + + + + + + +@x: +@y: +@width: +@height: + + + + + + +@src1: +@src2: +@dest: +@Returns: + + + + + + + +@src1: +@src2: +@dest: + + + + + + + +@user_data: + + + + + + +@Returns: + + + + + + + +@region: + + + + + + + +@region: +@rectangle: + + + + + + + +@region: +@Returns: + + + + + + + +@region1: +@region2: +@Returns: + + + + + + + +@region: +@x: +@y: +@Returns: + + + + + + + +@region: +@rect: +@Returns: + + + + + + + +@GDK_OVERLAP_RECTANGLE_IN: +@GDK_OVERLAP_RECTANGLE_OUT: +@GDK_OVERLAP_RECTANGLE_PART: + + + + + + +@points: +@npoints: +@fill_rule: +@Returns: + + + + + + + +@region: +@dx: +@dy: + + + + + + + +@region: +@dx: +@dy: + + + + + + + +@region: +@rect: +@Returns: + + + + + + + +@source1: +@source2: +@Returns: + + + + + + + +@source1: +@source2: +@Returns: + + + + + + + +@source1: +@source2: +@Returns: + + + + + + + +@source1: +@source2: +@Returns: + + diff --git a/docs/reference/gdk/tmpl/rgb.sgml b/docs/reference/gdk/tmpl/rgb.sgml new file mode 100644 index 0000000000..12b8f72d87 --- /dev/null +++ b/docs/reference/gdk/tmpl/rgb.sgml @@ -0,0 +1,216 @@ + +GdkRGB + + + + + + + + + + + + + + + + + + + +@colors: +@lut: + + + + + + +@GDK_RGB_DITHER_NONE: +@GDK_RGB_DITHER_NORMAL: +@GDK_RGB_DITHER_MAX: + + + + + + + + + + + + + +@colors: +@n_colors: +@Returns: + + + + + + + +@cmap: + + + + + + + +@gc: +@rgb: + + + + + + + +@gc: +@rgb: + + + + + + + +@drawable: +@gc: +@x: +@y: +@width: +@height: +@dith: +@rgb_buf: +@rowstride: + + + + + + + +@drawable: +@gc: +@x: +@y: +@width: +@height: +@dith: +@buf: +@rowstride: +@cmap: + + + + + + + +@drawable: +@gc: +@x: +@y: +@width: +@height: +@dith: +@buf: +@rowstride: + + + + + + + +@drawable: +@gc: +@x: +@y: +@width: +@height: +@dith: +@buf: +@rowstride: + + + + + + + +@drawable: +@gc: +@x: +@y: +@width: +@height: +@dith: +@rgb_buf: +@rowstride: +@xdith: +@ydith: + + + + + + + +@rgb: +@Returns: + + + + + + + +@verbose: + + + + + + + +@Returns: + + + + + + + +@install: + + + + + + + +@min_colors: + + + + + + + +@Returns: + + + + + + + +@Returns: + + diff --git a/docs/reference/gdk/tmpl/selections.sgml b/docs/reference/gdk/tmpl/selections.sgml new file mode 100644 index 0000000000..c02f982c72 --- /dev/null +++ b/docs/reference/gdk/tmpl/selections.sgml @@ -0,0 +1,94 @@ + +Selections + + + + + + + + + + + + + + + + + + + +@GDK_SELECTION_PRIMARY: +@GDK_SELECTION_SECONDARY: + + + + + + +@GDK_SELECTION_TYPE_ATOM: +@GDK_SELECTION_TYPE_BITMAP: +@GDK_SELECTION_TYPE_COLORMAP: +@GDK_SELECTION_TYPE_DRAWABLE: +@GDK_SELECTION_TYPE_INTEGER: +@GDK_SELECTION_TYPE_PIXMAP: +@GDK_SELECTION_TYPE_WINDOW: +@GDK_SELECTION_TYPE_STRING: + + + + + + +@owner: +@selection: +@time: +@send_event: +@Returns: + + + + + + + +@selection: +@Returns: + + + + + + + +@requestor: +@selection: +@target: +@time: + + + + + + + +@requestor: +@data: +@prop_type: +@prop_format: +@Returns: + + + + + + + +@requestor: +@selection: +@target: +@property: +@time: + + diff --git a/docs/reference/gdk/tmpl/threads.sgml b/docs/reference/gdk/tmpl/threads.sgml new file mode 100644 index 0000000000..3b14e8ce3f --- /dev/null +++ b/docs/reference/gdk/tmpl/threads.sgml @@ -0,0 +1,50 @@ + +Threads + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gdk/tmpl/visuals.sgml b/docs/reference/gdk/tmpl/visuals.sgml new file mode 100644 index 0000000000..bff192930d --- /dev/null +++ b/docs/reference/gdk/tmpl/visuals.sgml @@ -0,0 +1,391 @@ + +Visuals + + +manipulation of visuals. + + + +The way that the data stored on the screen is stored +in memory can vary considerably between different X +servers; some X servers even support multiple formats +used simultaneously. An X visual +represents a particular format for screen data. +It includes information about the number of bits +used for each color, the way the bits are translated +into an RGB value for display, and the way the bits +are stored in memory. + + +There are several standard visuals. The visual returned +by gdk_visual_get_system() is the system's default +visual. gdk_rgb_get_visual() return the visual most +suited to displaying full-color image data. If you +use the calls in GdkRGB, you should create your windows +using this visual (and the colormap returned by +gdk_rgb_get_colormap()). + + +A number of functions are provided for determining +the "best" available visual. For the purposes of +making this determination, higher bit depths are +considered better, and for visuals of the same +bit depth, %GDK_VISUAL_PSEUDO_COLOR is preferred at +8bpp, otherwise, the visual types are ranked in the +order of (highest to lowest) %GDK_VISUAL_DIRECT_COLOR, +%GDK_VISUAL_TRUE_COLOR, %GDK_VISUAL_PSEUDO_COLOR, +%GDK_VISUAL_STATIC_COLOR, %GDK_VISUAL_GRAYSCALE, +then %GDK_VISUAL_STATIC_GRAY. + + + + + + + + + +The GdkVisual structure contains information about +a particular visual. It contains the following +public fields. + + + + + + +type +The type of this visual. + + + +depth +The number of bits per pixel. + + + +byte_order +The byte-order for this visual. + + + +colormap_size +The number of entries in the colormap, for +visuals of type GDK_VISUAL_PSEUDO_COLOR or +GDK_VISUAL_GRAY_SCALE. For other visual types, it +is the number of possible levels per color component. +If the visual has different numbers of levels for +different components, the value of this field is +undefined. + + + +bits_per_rgb + +The number of significant bits per red, green, or blue +when specifying colors for this visual. (For instance, +for gdk_colormap_alloc_color()) + + + + +red_mask + +A mask giving the bits in a pixel value that +correspond to the red field. Significant only for +%GDK_VISUAL_PSEUDOCOLOR and %GDK_VISUAL_DIRECTCOLOR. + + + + +red_shift, red_prec + +The red_shift and +red_prec give an alternate presentation +of the information in red_mask. +red_mask is a contiguous sequence +of red_prec starting at bit +number red_shift. For example, + shows constructing a pixel value +out of three 16 bit color values. + + + + + +green_mask + +A mask giving the bits in a pixel value that +correspond to the green field. + + + + +green_shift, green_prec + +The green_shift and +green_prec give an alternate presentation +of the information in green_mask. + + + + +blue_mask + +A mask giving the bits in a pixel value that +correspond to the blue field. + + + + +blue_shift, blue_prec + +The blue_shift and +blue_prec give an alternate presentation +of the information in blue_mask. + + + + + + +
+Constructing a pixel value from components + +guint +pixel_from_rgb (GdkVisual *visual, + guchar r, guchar b, guchar g) +{ + return ((r >> (16 - visual->red_prec)) << visual->red_shift) | + ((g >> (16 - visual->green_prec)) << visual->green_shift) | + ((r >> (16 - visual->blue_prec)) << visual->blue_shift); +} + +
+ +@type: +@depth: +@byte_order: +@colormap_size: +@bits_per_rgb: +@red_mask: +@red_shift: +@red_prec: +@green_mask: +@green_shift: +@green_prec: +@blue_mask: +@blue_shift: +@blue_prec: + + + +A set of values that describe the manner in which the +pixel values for a visual are converted into RGB +values for display. + + + + + + +GDK_VISUAL_STATIC_GRAY +Each pixel value indexes a grayscale value directly. + + + +GDK_VISUAL_GRAYSCALE +Each pixel is an index into a color map that maps +pixel values into grayscale values. The color map can +be changed by an application. + + + +GDK_VISUAL_STATIC_COLOR +Each pixel value is an index into a predefined, +unmodifiable color map that maps pixel values into +rgb values. + + + +GDK_VISUAL_PSEUDO_COLOR +Each pixel is an index into a color map that maps +pixel values into rgb values. The color map can +be changed by an application. + + + +GDK_TRUE_COLOR +Each pixel value directly contains red, green, +and blue components. The red_mask, +green_mask, and +blue_mask fields of the #GdkVisual +structure describe how the components are assembled into +a pixel value. +. + + + +GDK_DIRECT_COLOR +Each pixel value contains red, green, and blue +components as for %GDK_TRUE_COLOR, but the components +are mapped via a color table into the final output +table instead of being converted directly.. + + + + + +@GDK_VISUAL_STATIC_GRAY: +@GDK_VISUAL_GRAYSCALE: +@GDK_VISUAL_STATIC_COLOR: +@GDK_VISUAL_PSEUDO_COLOR: +@GDK_VISUAL_TRUE_COLOR: +@GDK_VISUAL_DIRECT_COLOR: + + + +A set of values describing the possible byte-orders +for storing pixel values in memory. + + + + + + +GDK_LSB_FIRST +The values are stored with the least-significant byte +first. For instance, the 32-bit value 0xffeecc would be stored +in memory as 0xcc, 0xee, 0xff, 0x00. + + + +GDK_MSB_FIRST +The values are stored with the least-significant byte +first. For instance, the 32-bit value 0xffeecc would be stored +in memory as 0xff, 0xee, 0xcc, 0x00. + + + + + +@GDK_LSB_FIRST: +@GDK_MSB_FIRST: + + + +Lists the available color depths. The returned values +are pointers to static storage and should not be +modified or freed. + + +@depths: a location to store a pointer to an array + holding the available color depths. +@count: a location to store the number of values in @depths. + + + + +Lists the available visual types. The returned values +are pointers to static storage and should not be +modified or freed. + + +@visual_types: a location to store a pointer to an + array holding the available visual types. +@count: a location to store the number of values in @visual types. + + + + +Lists the available visuals. + + +@Returns: A #GList of the available visuals. The list +should be freed this list with g_list_free(). + + + + +Returns the best available color depth. + + +@Returns: the best available color depth. + + + + +Returns the best available visual type. + + +@Returns: the best available visual type. + + + + +Returns the system's default visual. + + +@Returns: the system's default visual. + + + + +Returns the best available visual. + + +@Returns: the best available visual. + + + + +Returns the best available visual with a certain depth. + + +@depth: the desired color depth +@Returns: the best available visual with @depth bits per pixel +or %NULL if no visuals with that type are available. + + + + +Returns the best available visual of a certain visual type. + + +@visual_type: the desired visual type. +@Returns: the visual of the given type with the highest depth +or %NULL if no visuals of that type are available. + + + + +Returns the best available visual + + +@depth: the desired visual type. +@visual_type: the desired depth. +@Returns: the best available visual with the given depth +and visual type, or %NULL if no matching visuals are +available. + + + + +In theory, increases the reference count of a visual. However, +the set of visuals is determined statically when GTK+ is +initialized, so this operation does nothing. + + +@visual: a #GdkVisual. +@Returns: @visual. + + + + +In theory, decreases the reference count of a visual. Like +gdk_visual_ref(), this operation does nothing. + + +@visual: a #GdkVisual. + + diff --git a/docs/reference/gdk/tmpl/windows.sgml b/docs/reference/gdk/tmpl/windows.sgml new file mode 100644 index 0000000000..78addd9666 --- /dev/null +++ b/docs/reference/gdk/tmpl/windows.sgml @@ -0,0 +1,777 @@ + +Windows + + + + + + + + + + + + + + + + + + + +@title: +@event_mask: +@x: +@y: +@width: +@height: +@wclass: +@visual: +@colormap: +@window_type: +@cursor: +@wmclass_name: +@wmclass_class: +@override_redirect: + + + + + + +@user_data: + + + + + + +@GDK_WINDOW_ROOT: +@GDK_WINDOW_TOPLEVEL: +@GDK_WINDOW_CHILD: +@GDK_WINDOW_DIALOG: +@GDK_WINDOW_TEMP: +@GDK_WINDOW_PIXMAP: +@GDK_WINDOW_FOREIGN: + + + + + + +@GDK_INPUT_OUTPUT: +@GDK_INPUT_ONLY: + + + + + + +@GDK_WA_TITLE: +@GDK_WA_X: +@GDK_WA_Y: +@GDK_WA_CURSOR: +@GDK_WA_COLORMAP: +@GDK_WA_VISUAL: +@GDK_WA_WMCLASS: +@GDK_WA_NOREDIR: + + + + + + +@GDK_HINT_POS: +@GDK_HINT_MIN_SIZE: +@GDK_HINT_MAX_SIZE: +@GDK_HINT_BASE_SIZE: +@GDK_HINT_ASPECT: +@GDK_HINT_RESIZE_INC: + + + + + + +@min_width: +@min_height: +@max_width: +@max_height: +@base_width: +@base_height: +@width_inc: +@height_inc: +@min_aspect: +@max_aspect: + + + + + + +@parent: +@attributes: +@attributes_mask: +@Returns: + + + + + + + +@window: + + + + + + + +@window: +@Returns: + + + + + + + +@window: + + + + + + + +@win_x: +@win_y: +@Returns: + + + + + + + +@window: + + + + + + + +@window: + + + + + + + +@window: +@Returns: + + + + + + + +@window: +@Returns: + + + + + + + +@window: + + + + + + + +@window: +@x: +@y: + + + + + + + +@window: +@width: +@height: + + + + + + + +@window: +@x: +@y: +@width: +@height: + + + + + + + +@window: +@new_parent: +@x: +@y: + + + + + + + +@window: + + + + + + + +@window: +@x: +@y: +@width: +@height: + + + + + + + +@window: +@x: +@y: +@width: +@height: + + + + + + + +@window: +@gc: +@x: +@y: +@source_window: +@source_x: +@source_y: +@width: +@height: + + + + + + + +@window: + + + + + + + +@window: + + + + + + + +@window: + + + + + + + +@window: +@user_data: + + + + + + + +@window: +@override_redirect: + + + + + + + +@window: +@function: +@data: + + + + + + + +@window: +@function: +@data: + + + + + + + +@xevent: +@event: +@data: +@Returns: + + + + + + + +@GDK_FILTER_CONTINUE: +@GDK_FILTER_TRANSLATE: +@GDK_FILTER_REMOVE: + + + + + + +@window: +@shape_mask: +@offset_x: +@offset_y: + + + + + + + +@window: + + + + + + + +@window: + + + + + + + +@window: +@use_static: +@Returns: + + + + + + + +@window: +@x: +@y: +@min_width: +@min_height: +@max_width: +@max_height: +@flags: + + + + + + + +@window: +@title: + + + + + + + +@window: +@color: + + + + + + + +@window: +@pixmap: +@parent_relative: + + + + + + + + + + + + + + +@window: +@cursor: + + + + + + + +@window: +@colormap: + + + + + + + +@window: +@data: + + + + + + + +@window: +@x: +@y: +@width: +@height: +@depth: + + + + + + + +@window: +@geometry: +@flags: + + + + + + + +@window: +@x: +@y: + + + + + + + +@window: +@x: +@y: + + + + + + + +@window: +@width: +@height: + + + + + + + +@window: +@Returns: + + + + + + + +@window: +@Returns: + + + + + + + +@window: +@Returns: + + + + + + + +@window: +@x: +@y: +@Returns: + + + + + + + +@window: +@x: +@y: +@Returns: + + + + + + + +@window: +@x: +@y: +@mask: +@Returns: + + + + + + + +@GDK_SHIFT_MASK: +@GDK_LOCK_MASK: +@GDK_CONTROL_MASK: +@GDK_MOD1_MASK: +@GDK_MOD2_MASK: +@GDK_MOD3_MASK: +@GDK_MOD4_MASK: +@GDK_MOD5_MASK: +@GDK_BUTTON1_MASK: +@GDK_BUTTON2_MASK: +@GDK_BUTTON3_MASK: +@GDK_BUTTON4_MASK: +@GDK_BUTTON5_MASK: +@GDK_RELEASE_MASK: +@GDK_MODIFIER_MASK: + + + + + + +@window: +@Returns: + + + + + + + +@window: +@Returns: + + + + + + + +@window: +@Returns: + + + + + + + +@window: +@Returns: + + + + + + + +@window: +@event_mask: + + + + + + + +@window: +@icon_window: +@pixmap: +@mask: + + + + + + + +@window: +@name: + + + + + + + +@window: +@leader: + + + + + + + +@window: +@role: + + + + + + + +@window: +@leader: + + + + + + + +@window: +@decorations: + + + + + + + +@GDK_DECOR_ALL: +@GDK_DECOR_BORDER: +@GDK_DECOR_RESIZEH: +@GDK_DECOR_TITLE: +@GDK_DECOR_MENU: +@GDK_DECOR_MINIMIZE: +@GDK_DECOR_MAXIMIZE: + + + + + + +@window: +@functions: + + + + + + + +@GDK_FUNC_ALL: +@GDK_FUNC_RESIZE: +@GDK_FUNC_MOVE: +@GDK_FUNC_MINIMIZE: +@GDK_FUNC_MAXIMIZE: +@GDK_FUNC_CLOSE: + + + + + + +@Returns: + + + + + + + +@user_data: + + + + + + +@drawable: +@key: +@data: +@destroy_func: + + diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am new file mode 100644 index 0000000000..a836723486 --- /dev/null +++ b/docs/reference/gtk/Makefile.am @@ -0,0 +1,59 @@ +## Process this file with automake to produce Makefile.in + +# The name of the module. +DOC_MODULE=gtk + +# The top-level SGML file. +DOC_MAIN_SGML_FILE=gtk-docs.sgml + +# We could alternatively use this for using installed headers. +INCLUDE_DIR=`gtk-config --prefix`/include/gtk + + +TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) + +CFLAGS=`gtk-config --cflags` +LDFLAGS=`gtk-config --libs` + +scan: + CFLAGS=$(CFLAGS) LDFLAGS=$(LDFLAGS) gtkdoc-scanobj --module=$(DOC_MODULE) + gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers='gtkintl.h' $(INCLUDE_DIR)/*.h + +templates: scan + gtkdoc-mktmpl --module=$(DOC_MODULE) + +sgml: + gtkdoc-mkdb --module=$(DOC_MODULE) + +html: + if ! test -d html ; then mkdir html ; fi + -cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) + +clean-local: + rm -f *~ *.bak *.hierarchy *.signals *.args *-unused.txt + +maintainer-clean-local: clean + rm -rf sgml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt + +install-data-local: + install -d -m 0755 $(TARGET_DIR) + install -m 0644 html/*.html $(TARGET_DIR) + install -m 0644 html/index.sgml $(TARGET_DIR) + gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR) + +EXTRA_DIST = \ + $(DOC_MAIN_SGML_FILE) \ + $(DOC_MODULE)-sections.txt \ + gtk-overrides.txt \ + gtk-decl.txt \ + gtk.hierarchy \ + gtk.signals \ + gtk.args \ + gtk.types \ + objects_grouped.sgml + +dist-hook: + mkdir $(distdir)/tmpl + cp -p tmpl/*.sgml $(distdir)/tmpl + +.PHONY : html sgml templates scan diff --git a/docs/reference/gtk/gtk-decl.txt b/docs/reference/gtk/gtk-decl.txt new file mode 100644 index 0000000000..06169bfa53 --- /dev/null +++ b/docs/reference/gtk/gtk-decl.txt @@ -0,0 +1,13819 @@ + +GtkAccelGroup + + +GtkAccelEntry + + +GtkAccelFlags +typedef enum +{ + /* should the accelerator appear in + * the widget's display? + */ + GTK_ACCEL_VISIBLE = 1 << 0, + /* should the signal associated with + * this accelerator be also visible? + */ + GTK_ACCEL_SIGNAL_VISIBLE = 1 << 1, + /* may the accelerator be removed + * again? + */ + GTK_ACCEL_LOCKED = 1 << 2, + GTK_ACCEL_MASK = 0x07 +} GtkAccelFlags; + + +GtkAccelGroup +struct GtkAccelGroup +{ + guint ref_count; + guint lock_count; + GdkModifierType modifier_mask; + GSList *attach_objects; +}; + + +GtkAccelEntry +struct GtkAccelEntry +{ + /* key portion + */ + GtkAccelGroup *accel_group; + guint accelerator_key; + GdkModifierType accelerator_mods; + + GtkAccelFlags accel_flags; + GtkObject *object; + guint signal_id; +}; + + +gtk_accel_group_new +GtkAccelGroup * +void + + +gtk_accel_group_get_default +GtkAccelGroup * +void + + +gtk_accel_group_ref +GtkAccelGroup * +GtkAccelGroup *accel_group + + +gtk_accel_group_unref +void +GtkAccelGroup *accel_group + + +gtk_accel_group_activate +gboolean +GtkAccelGroup *accel_group,guint accel_key,GdkModifierType accel_mods + + +gtk_accel_groups_activate +gboolean +GtkObject *object,guint accel_key,GdkModifierType accel_mods + + +gtk_accel_group_attach +void +GtkAccelGroup *accel_group,GtkObject *object + + +gtk_accel_group_detach +void +GtkAccelGroup *accel_group,GtkObject *object + + +gtk_accel_group_lock +void +GtkAccelGroup *accel_group + + +gtk_accel_group_unlock +void +GtkAccelGroup *accel_group + + +gtk_accel_group_get_entry +GtkAccelEntry * +GtkAccelGroup *accel_group,guint accel_key,GdkModifierType accel_mods + + +gtk_accel_group_lock_entry +void +GtkAccelGroup *accel_group,guint accel_key,GdkModifierType accel_mods + + +gtk_accel_group_unlock_entry +void +GtkAccelGroup *accel_group,guint accel_key,GdkModifierType accel_mods + + +gtk_accel_group_add +void +GtkAccelGroup *accel_group,guint accel_key,GdkModifierType accel_mods,GtkAccelFlags accel_flags,GtkObject *object,const gchar *accel_signal + + +gtk_accel_group_remove +void +GtkAccelGroup *accel_group,guint accel_key,GdkModifierType accel_mods,GtkObject *object + + +gtk_accel_group_handle_add +void +GtkObject *object,guint accel_signal_id,GtkAccelGroup *accel_group,guint accel_key,GdkModifierType accel_mods,GtkAccelFlags accel_flags + + +gtk_accel_group_handle_remove +void +GtkObject *object,GtkAccelGroup *accel_group,guint accel_key,GdkModifierType accel_mods + + +gtk_accel_group_create_add +guint +GtkType class_type,GtkSignalRunType signal_flags,guint handler_offset + + +gtk_accel_group_create_remove +guint +GtkType class_type,GtkSignalRunType signal_flags,guint handler_offset + + +gtk_accel_group_marshal_add +void +GtkObject *object,GtkSignalFunc func,gpointer func_data,GtkArg *args + + +gtk_accel_group_marshal_remove +void +GtkObject *object,GtkSignalFunc func,gpointer func_data,GtkArg *args + + +gtk_accel_groups_from_object +GSList * +GtkObject *object + + +gtk_accel_group_entries_from_object +GSList * +GtkObject *object + + +gtk_accelerator_valid +gboolean +guint keyval,GdkModifierType modifiers + + +gtk_accelerator_parse +void +const gchar *accelerator,guint *accelerator_key,GdkModifierType *accelerator_mods + + +gtk_accelerator_name +gchar * +guint accelerator_key,GdkModifierType accelerator_mods + + +gtk_accelerator_set_default_mod_mask +void +GdkModifierType default_mod_mask + + +gtk_accelerator_get_default_mod_mask +guint +void + + +GTK_TYPE_ACCEL_LABEL +#define GTK_TYPE_ACCEL_LABEL (gtk_accel_label_get_type ()) + + +GTK_ACCEL_LABEL +#define GTK_ACCEL_LABEL(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabel)) + + +GTK_ACCEL_LABEL_CLASS +#define GTK_ACCEL_LABEL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_LABEL, GtkAccelLabelClass)) + + +GTK_IS_ACCEL_LABEL +#define GTK_IS_ACCEL_LABEL(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ACCEL_LABEL)) + + +GTK_IS_ACCEL_LABEL_CLASS +#define GTK_IS_ACCEL_LABEL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_LABEL)) + + +GtkAccelLabel + + +GtkAccelLabelClass + + +GtkAccelLabel +struct GtkAccelLabel +{ + GtkLabel label; + + guint queue_id; + guint accel_padding; + GtkWidget *accel_widget; + gchar *accel_string; + guint16 accel_string_width; +}; + + +gtk_accel_label_get_type +GtkType +void + + +gtk_accel_label_new +GtkWidget * +const gchar *string + + +gtk_accel_label_get_accel_width +guint +GtkAccelLabel *accel_label + + +gtk_accel_label_set_accel_widget +void +GtkAccelLabel *accel_label,GtkWidget *accel_widget + + +gtk_accel_label_refetch +gboolean +GtkAccelLabel *accel_label + + +GTK_TYPE_ADJUSTMENT +#define GTK_TYPE_ADJUSTMENT (gtk_adjustment_get_type ()) + + +GTK_ADJUSTMENT +#define GTK_ADJUSTMENT(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustment)) + + +GTK_ADJUSTMENT_CLASS +#define GTK_ADJUSTMENT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass)) + + +GTK_IS_ADJUSTMENT +#define GTK_IS_ADJUSTMENT(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ADJUSTMENT)) + + +GTK_IS_ADJUSTMENT_CLASS +#define GTK_IS_ADJUSTMENT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ADJUSTMENT)) + + +GtkAdjustment + + +GtkAdjustmentClass + + +GtkAdjustment +struct GtkAdjustment +{ + GtkData data; + + gfloat lower; + gfloat upper; + gfloat value; + gfloat step_increment; + gfloat page_increment; + gfloat page_size; +}; + + +gtk_adjustment_get_type +GtkType +void + + +gtk_adjustment_new +GtkObject * +gfloat value,gfloat lower,gfloat upper,gfloat step_increment,gfloat page_increment,gfloat page_size + + +gtk_adjustment_changed +void +GtkAdjustment *adjustment + + +gtk_adjustment_value_changed +void +GtkAdjustment *adjustment + + +gtk_adjustment_clamp_page +void +GtkAdjustment *adjustment,gfloat lower,gfloat upper + + +gtk_adjustment_set_value +void +GtkAdjustment *adjustment,gfloat value + + +GTK_TYPE_ALIGNMENT +#define GTK_TYPE_ALIGNMENT (gtk_alignment_get_type ()) + + +GTK_ALIGNMENT +#define GTK_ALIGNMENT(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ALIGNMENT, GtkAlignment)) + + +GTK_ALIGNMENT_CLASS +#define GTK_ALIGNMENT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ALIGNMENT, GtkAlignmentClass)) + + +GTK_IS_ALIGNMENT +#define GTK_IS_ALIGNMENT(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ALIGNMENT)) + + +GTK_IS_ALIGNMENT_CLASS +#define GTK_IS_ALIGNMENT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ALIGNMENT)) + + +GtkAlignment + + +GtkAlignmentClass + + +GtkAlignment +struct GtkAlignment +{ + GtkBin bin; + + gfloat xalign; + gfloat yalign; + gfloat xscale; + gfloat yscale; +}; + + +gtk_alignment_get_type +GtkType +void + + +gtk_alignment_new +GtkWidget * +gfloat xalign,gfloat yalign,gfloat xscale,gfloat yscale + + +gtk_alignment_set +void +GtkAlignment *alignment,gfloat xalign,gfloat yalign,gfloat xscale,gfloat yscale + + +GtkArgInfo + + +GtkArgInfo +struct GtkArgInfo +{ + /* hash key portion */ + GtkType class_type; + gchar *name; + + GtkType type; + guint arg_flags; + gchar *full_name; + + /* private fields */ + guint arg_id; + guint seq_id; +}; + + +gtk_arg_new +GtkArg * +GtkType arg_type + + +gtk_arg_copy +GtkArg * +GtkArg *src_arg,GtkArg *dest_arg + + +gtk_arg_free +void +GtkArg *arg,gboolean free_contents + + +gtk_arg_reset +void +GtkArg *arg + + +gtk_arg_values_equal +gboolean +const GtkArg *arg1,const GtkArg *arg2 + + +gtk_args_collect +gchar * +GtkType object_type,GHashTable *arg_info_hash_table,GSList **arg_list_p,GSList **info_list_p,const gchar *first_arg_name,va_list var_args + + +gtk_args_collect_cleanup +void +GSList *arg_list,GSList *info_list + + +gtk_arg_get_info +gchar * +GtkType object_type,GHashTable *arg_info_hash_table,const gchar *arg_name,GtkArgInfo **info_p + + +gtk_arg_type_new_static +GtkArgInfo * +GtkType base_class_type,const gchar *arg_name,guint class_n_args_offset,GHashTable *arg_info_hash_table,GtkType arg_type,guint arg_flags,guint arg_id + + +gtk_args_query +GtkArg * +GtkType class_type,GHashTable *arg_info_hash_table,guint32 **arg_flags,guint *n_args_p + + +gtk_arg_name_strip_type +gchar * +const gchar *arg_name + + +gtk_arg_info_equal +gint +gconstpointer arg_info_1,gconstpointer arg_info_2 + + +gtk_arg_info_hash +guint +gconstpointer arg_info + + +gtk_arg_to_valueloc +void +GtkArg *arg,gpointer value_pointer + + +GTK_TYPE_ARROW +#define GTK_TYPE_ARROW (gtk_arrow_get_type ()) + + +GTK_ARROW +#define GTK_ARROW(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ARROW, GtkArrow)) + + +GTK_ARROW_CLASS +#define GTK_ARROW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ARROW, GtkArrowClass)) + + +GTK_IS_ARROW +#define GTK_IS_ARROW(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ARROW)) + + +GTK_IS_ARROW_CLASS +#define GTK_IS_ARROW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ARROW)) + + +GtkArrow + + +GtkArrowClass + + +GtkArrow +struct GtkArrow +{ + GtkMisc misc; + + gint16 arrow_type; + gint16 shadow_type; +}; + + +gtk_arrow_get_type +GtkType +void + + +gtk_arrow_new +GtkWidget * +GtkArrowType arrow_type,GtkShadowType shadow_type + + +gtk_arrow_set +void +GtkArrow *arrow,GtkArrowType arrow_type,GtkShadowType shadow_type + + +GTK_TYPE_ASPECT_FRAME +#define GTK_TYPE_ASPECT_FRAME (gtk_aspect_frame_get_type ()) + + +GTK_ASPECT_FRAME +#define GTK_ASPECT_FRAME(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ASPECT_FRAME, GtkAspectFrame)) + + +GTK_ASPECT_FRAME_CLASS +#define GTK_ASPECT_FRAME_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ASPECT_FRAME, GtkAspectFrameClass)) + + +GTK_IS_ASPECT_FRAME +#define GTK_IS_ASPECT_FRAME(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ASPECT_FRAME)) + + +GTK_IS_ASPECT_FRAME_CLASS +#define GTK_IS_ASPECT_FRAME_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ASPECT_FRAME)) + + +GtkAspectFrame + + +GtkAspectFrameClass + + +GtkAspectFrame +struct GtkAspectFrame +{ + GtkFrame frame; + + gfloat xalign; + gfloat yalign; + gfloat ratio; + gint obey_child; + + GtkAllocation center_allocation; +}; + + +gtk_aspect_frame_get_type +GtkType +void + + +gtk_aspect_frame_new +GtkWidget * +const gchar *label,gfloat xalign,gfloat yalign,gfloat ratio,gint obey_child + + +gtk_aspect_frame_set +void +GtkAspectFrame *aspect_frame,gfloat xalign,gfloat yalign,gfloat ratio,gint obey_child + + +GTK_TYPE_BUTTON_BOX +#define GTK_TYPE_BUTTON_BOX (gtk_button_box_get_type ()) + + +GTK_BUTTON_BOX +#define GTK_BUTTON_BOX(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_BUTTON_BOX, GtkButtonBox)) + + +GTK_BUTTON_BOX_CLASS +#define GTK_BUTTON_BOX_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUTTON_BOX, GtkButtonBoxClass)) + + +GTK_IS_BUTTON_BOX +#define GTK_IS_BUTTON_BOX(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_BUTTON_BOX)) + + +GTK_IS_BUTTON_BOX_CLASS +#define GTK_IS_BUTTON_BOX_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUTTON_BOX)) + + +GTK_BUTTONBOX_DEFAULT +#define GTK_BUTTONBOX_DEFAULT -1 + + +GtkButtonBox + + +GtkButtonBoxClass + + +GtkButtonBox +struct GtkButtonBox +{ + GtkBox box; + gint spacing; + gint child_min_width; + gint child_min_height; + gint child_ipad_x; + gint child_ipad_y; + GtkButtonBoxStyle layout_style; +}; + + +gtk_button_box_get_type +GtkType +void + + +gtk_button_box_get_child_size_default +void +gint *min_width, gint *min_height + + +gtk_button_box_get_child_ipadding_default +void +gint *ipad_x, gint *ipad_y + + +gtk_button_box_set_child_size_default +void +gint min_width, gint min_height + + +gtk_button_box_set_child_ipadding_default +void +gint ipad_x, gint ipad_y + + +gtk_button_box_get_spacing +gint +GtkButtonBox *widget + + +gtk_button_box_get_layout +GtkButtonBoxStyle +GtkButtonBox *widget + + +gtk_button_box_get_child_size +void +GtkButtonBox *widget,gint *min_width, gint *min_height + + +gtk_button_box_get_child_ipadding +void +GtkButtonBox *widget, gint *ipad_x, gint *ipad_y + + +gtk_button_box_set_spacing +void +GtkButtonBox *widget, gint spacing + + +gtk_button_box_set_layout +void +GtkButtonBox *widget,GtkButtonBoxStyle layout_style + + +gtk_button_box_set_child_size +void +GtkButtonBox *widget,gint min_width, gint min_height + + +gtk_button_box_set_child_ipadding +void +GtkButtonBox *widget, gint ipad_x, gint ipad_y + + +gtk_button_box_child_requisition +void +GtkWidget *widget,int *nvis_children,int *width,int *height + + +GTK_TYPE_BIN +#define GTK_TYPE_BIN (gtk_bin_get_type ()) + + +GTK_BIN +#define GTK_BIN(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_BIN, GtkBin)) + + +GTK_BIN_CLASS +#define GTK_BIN_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_BIN, GtkBinClass)) + + +GTK_IS_BIN +#define GTK_IS_BIN(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_BIN)) + + +GTK_IS_BIN_CLASS +#define GTK_IS_BIN_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BIN)) + + +GtkBin + + +GtkBinClass + + +GtkBin +struct GtkBin +{ + GtkContainer container; + + GtkWidget *child; +}; + + +gtk_bin_get_type +GtkType +void + + +GtkPatternSpec + + +GtkPatternSpec +struct GtkPatternSpec +{ + GtkMatchType match_type; + guint pattern_length; + gchar *pattern; + gchar *pattern_reversed; + gpointer user_data; + guint seq_id; +}; + + +gtk_pattern_spec_init +void +GtkPatternSpec *pspec,const gchar *pattern + + +gtk_pattern_spec_free_segs +void +GtkPatternSpec *pspec + + +gtk_pattern_match +gboolean +GtkPatternSpec *pspec,guint string_length,const gchar *string,const gchar *string_reversed + + +gtk_pattern_match_string +gboolean +GtkPatternSpec *pspec,const gchar *string + + +gtk_pattern_match_simple +gboolean +const gchar *pattern,const gchar *string + + +GtkBindingSet + + +GtkBindingEntry + + +GtkBindingSignal + + +GtkBindingArg + + +GtkBindingSet +struct GtkBindingSet +{ + gchar *set_name; + gint priority; + GSList *widget_path_pspecs; + GSList *widget_class_pspecs; + GSList *class_branch_pspecs; + GtkBindingEntry *entries; + GtkBindingEntry *current; +}; + + +GtkBindingEntry +struct GtkBindingEntry +{ + /* key portion + */ + guint keyval; + guint modifiers; + + GtkBindingSet *binding_set; + guint destroyed : 1; + guint in_emission : 1; + GtkBindingEntry *set_next; + GtkBindingEntry *hash_next; + GtkBindingSignal *signals; +}; + + +GtkBindingSignal +struct GtkBindingSignal +{ + GtkBindingSignal *next; + gchar *signal_name; + guint n_args; + GtkBindingArg *args; +}; + + +GtkBindingArg +struct GtkBindingArg +{ + GtkType arg_type; + union { + glong long_data; + gdouble double_data; + gchar *string_data; + } d; +}; + + +gtk_binding_set_new +GtkBindingSet * +const gchar *set_name + + +gtk_binding_set_by_class +GtkBindingSet * +gpointer object_class + + +gtk_binding_set_find +GtkBindingSet * +const gchar *set_name + + +gtk_bindings_activate +gboolean +GtkObject *object,guint keyval,guint modifiers + + +gtk_binding_set_activate +gboolean +GtkBindingSet *binding_set,guint keyval,guint modifiers,GtkObject *object + + +gtk_binding_entry_add +#define gtk_binding_entry_add gtk_binding_entry_clear + + +gtk_binding_entry_clear +void +GtkBindingSet *binding_set,guint keyval,guint modifiers + + +gtk_binding_entry_add_signal +void +GtkBindingSet *binding_set,guint keyval,guint modifiers,const gchar *signal_name,guint n_args,... + + +gtk_binding_set_add_path +void +GtkBindingSet *binding_set,GtkPathType path_type,const gchar *path_pattern,GtkPathPriorityType priority + + +gtk_binding_entry_remove +void +GtkBindingSet *binding_set,guint keyval,guint modifiers + + +gtk_binding_entry_add_signall +void +GtkBindingSet *binding_set,guint keyval,guint modifiers,const gchar *signal_name,GSList *binding_args + + +gtk_binding_parse_binding +guint +GScanner *scanner + + +GTK_TYPE_BOX +#define GTK_TYPE_BOX (gtk_box_get_type ()) + + +GTK_BOX +#define GTK_BOX(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_BOX, GtkBox)) + + +GTK_BOX_CLASS +#define GTK_BOX_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_BOX, GtkBoxClass)) + + +GTK_IS_BOX +#define GTK_IS_BOX(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_BOX)) + + +GTK_IS_BOX_CLASS +#define GTK_IS_BOX_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BOX)) + + +GtkBox + + +GtkBoxClass + + +GtkBoxChild + + +GtkBox +struct GtkBox +{ + GtkContainer container; + + GList *children; + gint16 spacing; + guint homogeneous : 1; +}; + + +GtkBoxChild +struct GtkBoxChild +{ + GtkWidget *widget; + guint16 padding; + guint expand : 1; + guint fill : 1; + guint pack : 1; +}; + + +gtk_box_get_type +GtkType +void + + +gtk_box_pack_start +void +GtkBox *box,GtkWidget *child,gboolean expand,gboolean fill,guint padding + + +gtk_box_pack_end +void +GtkBox *box,GtkWidget *child,gboolean expand,gboolean fill,guint padding + + +gtk_box_pack_start_defaults +void +GtkBox *box,GtkWidget *widget + + +gtk_box_pack_end_defaults +void +GtkBox *box,GtkWidget *widget + + +gtk_box_set_homogeneous +void +GtkBox *box,gboolean homogeneous + + +gtk_box_set_spacing +void +GtkBox *box,gint spacing + + +gtk_box_reorder_child +void +GtkBox *box,GtkWidget *child,gint position + + +gtk_box_query_child_packing +void +GtkBox *box,GtkWidget *child,gboolean *expand,gboolean *fill,guint *padding,GtkPackType *pack_type + + +gtk_box_set_child_packing +void +GtkBox *box,GtkWidget *child,gboolean expand,gboolean fill,guint padding,GtkPackType pack_type + + +GTK_TYPE_BUTTON +#define GTK_TYPE_BUTTON (gtk_button_get_type ()) + + +GTK_BUTTON +#define GTK_BUTTON(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_BUTTON, GtkButton)) + + +GTK_BUTTON_CLASS +#define GTK_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUTTON, GtkButtonClass)) + + +GTK_IS_BUTTON +#define GTK_IS_BUTTON(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_BUTTON)) + + +GTK_IS_BUTTON_CLASS +#define GTK_IS_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUTTON)) + + +GtkButton + + +GtkButtonClass + + +GtkButton +struct GtkButton +{ + GtkBin bin; + + GtkWidget *child /* deprecapted field, + * use GTK_BIN (button)->child instead + */; + + guint in_button : 1; + guint button_down : 1; + guint relief : 2; +}; + + +gtk_button_get_type +GtkType +void + + +gtk_button_new +GtkWidget * +void + + +gtk_button_new_with_label +GtkWidget * +const gchar *label + + +gtk_button_pressed +void +GtkButton *button + + +gtk_button_released +void +GtkButton *button + + +gtk_button_clicked +void +GtkButton *button + + +gtk_button_enter +void +GtkButton *button + + +gtk_button_leave +void +GtkButton *button + + +gtk_button_set_relief +void +GtkButton *button,GtkReliefStyle newstyle + + +gtk_button_get_relief +GtkReliefStyle +GtkButton *button + + +GTK_TYPE_CALENDAR +#define GTK_TYPE_CALENDAR (gtk_calendar_get_type ()) + + +GTK_CALENDAR +#define GTK_CALENDAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CALENDAR, GtkCalendar)) + + +GTK_CALENDAR_CLASS +#define GTK_CALENDAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CALENDAR, GtkCalendarClass)) + + +GTK_IS_CALENDAR +#define GTK_IS_CALENDAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CALENDAR)) + + +GTK_IS_CALENDAR_CLASS +#define GTK_IS_CALENDAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CALENDAR)) + + +GtkCalendar + + +GtkCalendarClass + + +GtkCalendarDisplayOptions +typedef enum +{ + GTK_CALENDAR_SHOW_HEADING = 1 << 0, + GTK_CALENDAR_SHOW_DAY_NAMES = 1 << 1, + GTK_CALENDAR_NO_MONTH_CHANGE = 1 << 2, + GTK_CALENDAR_SHOW_WEEK_NUMBERS = 1 << 3, + GTK_CALENDAR_WEEK_START_MONDAY = 1 << 4 +} GtkCalendarDisplayOptions; + + +GtkCalendar +struct GtkCalendar +{ + GtkWidget widget; + + GtkStyle *header_style; + GtkStyle *label_style; + + gint month; + gint year; + gint selected_day; + + gint day_month[6][7]; + gint day[6][7]; + + gint num_marked_dates; + gint marked_date[31]; + GtkCalendarDisplayOptions display_flags; + GdkColor marked_date_color[31]; + + GdkGC *gc; + GdkGC *xor_gc; + + gint focus_row; + gint focus_col; + + gint highlight_row; + gint highlight_col; + + gpointer private_data; + gchar grow_space [32]; +}; + + +gtk_calendar_get_type +GtkType +void + + +gtk_calendar_new +GtkWidget * +void + + +gtk_calendar_select_month +gint +GtkCalendar *calendar,guint month,guint year + + +gtk_calendar_select_day +void +GtkCalendar *calendar,guint day + + +gtk_calendar_mark_day +gint +GtkCalendar *calendar,guint day + + +gtk_calendar_unmark_day +gint +GtkCalendar *calendar,guint day + + +gtk_calendar_clear_marks +void +GtkCalendar *calendar + + +gtk_calendar_display_options +void +GtkCalendar *calendar,GtkCalendarDisplayOptions flags + + +gtk_calendar_get_date +void +GtkCalendar *calendar,guint *year,guint *month,guint *day + + +gtk_calendar_freeze +void +GtkCalendar *calendar + + +gtk_calendar_thaw +void +GtkCalendar *calendar + + +GTK_TYPE_CHECK_BUTTON +#define GTK_TYPE_CHECK_BUTTON (gtk_check_button_get_type ()) + + +GTK_CHECK_BUTTON +#define GTK_CHECK_BUTTON(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CHECK_BUTTON, GtkCheckButton)) + + +GTK_CHECK_BUTTON_CLASS +#define GTK_CHECK_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CHECK_BUTTON, GtkCheckButtonClass)) + + +GTK_IS_CHECK_BUTTON +#define GTK_IS_CHECK_BUTTON(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CHECK_BUTTON)) + + +GTK_IS_CHECK_BUTTON_CLASS +#define GTK_IS_CHECK_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CHECK_BUTTON)) + + +GtkCheckButton + + +GtkCheckButtonClass + + +GtkCheckButton +struct GtkCheckButton +{ + GtkToggleButton toggle_button; +}; + + +gtk_check_button_get_type +GtkType +void + + +gtk_check_button_new +GtkWidget * +void + + +gtk_check_button_new_with_label +GtkWidget * +const gchar *label + + +GTK_TYPE_CHECK_MENU_ITEM +#define GTK_TYPE_CHECK_MENU_ITEM (gtk_check_menu_item_get_type ()) + + +GTK_CHECK_MENU_ITEM +#define GTK_CHECK_MENU_ITEM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CHECK_MENU_ITEM, GtkCheckMenuItem)) + + +GTK_CHECK_MENU_ITEM_CLASS +#define GTK_CHECK_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CHECK_MENU_ITEM, GtkCheckMenuItemClass)) + + +GTK_IS_CHECK_MENU_ITEM +#define GTK_IS_CHECK_MENU_ITEM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CHECK_MENU_ITEM)) + + +GTK_IS_CHECK_MENU_ITEM_CLASS +#define GTK_IS_CHECK_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CHECK_MENU_ITEM)) + + +GtkCheckMenuItem + + +GtkCheckMenuItemClass + + +GtkCheckMenuItem +struct GtkCheckMenuItem +{ + GtkMenuItem menu_item; + + guint active : 1; + guint always_show_toggle : 1; +}; + + +gtk_check_menu_item_get_type +GtkType +void + + +gtk_check_menu_item_new +GtkWidget * +void + + +gtk_check_menu_item_new_with_label +GtkWidget * +const gchar *label + + +gtk_check_menu_item_set_active +void +GtkCheckMenuItem *check_menu_item,gboolean is_active + + +gtk_check_menu_item_set_show_toggle +void +GtkCheckMenuItem *menu_item,gboolean always + + +gtk_check_menu_item_toggled +void +GtkCheckMenuItem *check_menu_item + + +GtkCellType +typedef enum +{ + GTK_CELL_EMPTY, + GTK_CELL_TEXT, + GTK_CELL_PIXMAP, + GTK_CELL_PIXTEXT, + GTK_CELL_WIDGET +} GtkCellType; + + +GtkCListDragPos +typedef enum +{ + GTK_CLIST_DRAG_NONE, + GTK_CLIST_DRAG_BEFORE, + GTK_CLIST_DRAG_INTO, + GTK_CLIST_DRAG_AFTER +} GtkCListDragPos; + + +GtkButtonAction +typedef enum +{ + GTK_BUTTON_IGNORED = 0, + GTK_BUTTON_SELECTS = 1 << 0, + GTK_BUTTON_DRAGS = 1 << 1, + GTK_BUTTON_EXPANDS = 1 << 2 +} GtkButtonAction; + + +GTK_TYPE_CLIST +#define GTK_TYPE_CLIST (gtk_clist_get_type ()) + + +GTK_CLIST +#define GTK_CLIST(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CLIST, GtkCList)) + + +GTK_CLIST_CLASS +#define GTK_CLIST_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CLIST, GtkCListClass)) + + +GTK_IS_CLIST +#define GTK_IS_CLIST(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CLIST)) + + +GTK_IS_CLIST_CLASS +#define GTK_IS_CLIST_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CLIST)) + + +GTK_CLIST_FLAGS +#define GTK_CLIST_FLAGS(clist) (GTK_CLIST (clist)->flags) + + +GTK_CLIST_SET_FLAG +#define GTK_CLIST_SET_FLAG(clist,flag) (GTK_CLIST_FLAGS (clist) |= (GTK_ ## flag)) + + +GTK_CLIST_UNSET_FLAG +#define GTK_CLIST_UNSET_FLAG(clist,flag) (GTK_CLIST_FLAGS (clist) &= ~(GTK_ ## flag)) + + +GTK_CLIST_IN_DRAG +#define GTK_CLIST_IN_DRAG(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_IN_DRAG) + + +GTK_CLIST_ROW_HEIGHT_SET +#define GTK_CLIST_ROW_HEIGHT_SET(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_ROW_HEIGHT_SET) + + +GTK_CLIST_SHOW_TITLES +#define GTK_CLIST_SHOW_TITLES(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_SHOW_TITLES) + + +GTK_CLIST_CHILD_HAS_FOCUS +#define GTK_CLIST_CHILD_HAS_FOCUS(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_CHILD_HAS_FOCUS) + + +GTK_CLIST_ADD_MODE +#define GTK_CLIST_ADD_MODE(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_ADD_MODE) + + +GTK_CLIST_AUTO_SORT +#define GTK_CLIST_AUTO_SORT(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_AUTO_SORT) + + +GTK_CLIST_AUTO_RESIZE_BLOCKED +#define GTK_CLIST_AUTO_RESIZE_BLOCKED(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_AUTO_RESIZE_BLOCKED) + + +GTK_CLIST_REORDERABLE +#define GTK_CLIST_REORDERABLE(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_REORDERABLE) + + +GTK_CLIST_USE_DRAG_ICONS +#define GTK_CLIST_USE_DRAG_ICONS(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_USE_DRAG_ICONS) + + +GTK_CLIST_DRAW_DRAG_LINE +#define GTK_CLIST_DRAW_DRAG_LINE(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_DRAW_DRAG_LINE) + + +GTK_CLIST_DRAW_DRAG_RECT +#define GTK_CLIST_DRAW_DRAG_RECT(clist) (GTK_CLIST_FLAGS (clist) & GTK_CLIST_DRAW_DRAG_RECT) + + +GTK_CLIST_ROW +#define GTK_CLIST_ROW(_glist_) ((GtkCListRow *)((_glist_)->data)) + + +GTK_CELL_TEXT +#define GTK_CELL_TEXT(cell) (((GtkCellText *) &(cell))) + + +GTK_CELL_PIXMAP +#define GTK_CELL_PIXMAP(cell) (((GtkCellPixmap *) &(cell))) + + +GTK_CELL_PIXTEXT +#define GTK_CELL_PIXTEXT(cell) (((GtkCellPixText *) &(cell))) + + +GTK_CELL_WIDGET +#define GTK_CELL_WIDGET(cell) (((GtkCellWidget *) &(cell))) + + +GtkCList + + +GtkCListClass + + +GtkCListColumn + + +GtkCListRow + + +GtkCell + + +GtkCellText + + +GtkCellPixmap + + +GtkCellPixText + + +GtkCellWidget + + +GtkCListCompareFunc +gint +GtkCList *clist, + gconstpointer ptr1, + gconstpointer ptr2 + + +GtkCListCellInfo + + +GtkCListDestInfo + + +GtkCListCellInfo +struct GtkCListCellInfo +{ + gint row; + gint column; +}; + + +GtkCListDestInfo +struct GtkCListDestInfo +{ + GtkCListCellInfo cell; + GtkCListDragPos insert_pos; +}; + + +GtkCList +struct GtkCList +{ + GtkContainer container; + + guint16 flags; + + /* mem chunks */ + GMemChunk *row_mem_chunk; + GMemChunk *cell_mem_chunk; + + guint freeze_count; + + /* allocation rectangle after the conatiner_border_width + * and the width of the shadow border */ + GdkRectangle internal_allocation; + + /* rows */ + gint rows; + gint row_center_offset; + gint row_height; + GList *row_list; + GList *row_list_end; + + /* columns */ + gint columns; + GdkRectangle column_title_area; + GdkWindow *title_window; + + /* dynamicly allocated array of column structures */ + GtkCListColumn *column; + + /*the scrolling window and it's height and width to + * make things a little speedier */ + GdkWindow *clist_window; + gint clist_window_width; + gint clist_window_height; + + /* offsets for scrolling */ + gint hoffset; + gint voffset; + + /* border shadow style */ + GtkShadowType shadow_type; + + /* the list's selection mode (gtkenums.h) */ + GtkSelectionMode selection_mode; + + /* list of selected rows */ + GList *selection; + GList *selection_end; + + GList *undo_selection; + GList *undo_unselection; + gint undo_anchor; + + /* mouse buttons */ + guint8 button_actions[5]; + + guint8 drag_button; + + /* dnd */ + GtkCListCellInfo click_cell; + + /* scroll adjustments */ + GtkAdjustment *hadjustment; + GtkAdjustment *vadjustment; + + /* xor GC for the vertical drag line */ + GdkGC *xor_gc; + + /* gc for drawing unselected cells */ + GdkGC *fg_gc; + GdkGC *bg_gc; + + /* cursor used to indicate dragging */ + GdkCursor *cursor_drag; + + /* the current x-pixel location of the xor-drag line */ + gint x_drag; + + /* focus handling */ + gint focus_row; + + /* dragging the selection */ + gint anchor; + GtkStateType anchor_state; + gint drag_pos; + gint htimer; + gint vtimer; + + GtkSortType sort_type; + GtkCListCompareFunc compare; + gint sort_column; +}; + + +GtkCListColumn +struct GtkCListColumn +{ + gchar *title; + GdkRectangle area; + + GtkWidget *button; + GdkWindow *window; + + gint width; + gint min_width; + gint max_width; + GtkJustification justification; + + guint visible : 1; + guint width_set : 1; + guint resizeable : 1; + guint auto_resize : 1; + guint button_passive : 1; +}; + + +GtkCListRow +struct GtkCListRow +{ + GtkCell *cell; + GtkStateType state; + + GdkColor foreground; + GdkColor background; + + GtkStyle *style; + + gpointer data; + GtkDestroyNotify destroy; + + guint fg_set : 1; + guint bg_set : 1; + guint selectable : 1; +}; + + +GtkCellText +struct GtkCellText +{ + GtkCellType type; + + gint16 vertical; + gint16 horizontal; + + GtkStyle *style; + + gchar *text; +}; + + +GtkCellPixmap +struct GtkCellPixmap +{ + GtkCellType type; + + gint16 vertical; + gint16 horizontal; + + GtkStyle *style; + + GdkPixmap *pixmap; + GdkBitmap *mask; +}; + + +GtkCellPixText +struct GtkCellPixText +{ + GtkCellType type; + + gint16 vertical; + gint16 horizontal; + + GtkStyle *style; + + gchar *text; + guint8 spacing; + GdkPixmap *pixmap; + GdkBitmap *mask; +}; + + +GtkCellWidget +struct GtkCellWidget +{ + GtkCellType type; + + gint16 vertical; + gint16 horizontal; + + GtkStyle *style; + + GtkWidget *widget; +}; + + +GtkCell +struct GtkCell +{ + GtkCellType type; + + gint16 vertical; + gint16 horizontal; + + GtkStyle *style; + + union { + gchar *text; + + struct { + GdkPixmap *pixmap; + GdkBitmap *mask; + } pm; + + struct { + gchar *text; + guint8 spacing; + GdkPixmap *pixmap; + GdkBitmap *mask; + } pt; + + GtkWidget *widget; + } u; +}; + + +gtk_clist_get_type +GtkType +void + + +gtk_clist_construct +void +GtkCList *clist,gint columns,gchar *titles[] + + +gtk_clist_new +GtkWidget * +gint columns + + +gtk_clist_new_with_titles +GtkWidget * +gint columns,gchar *titles[] + + +gtk_clist_set_hadjustment +void +GtkCList *clist,GtkAdjustment *adjustment + + +gtk_clist_set_vadjustment +void +GtkCList *clist,GtkAdjustment *adjustment + + +gtk_clist_get_hadjustment +GtkAdjustment * +GtkCList *clist + + +gtk_clist_get_vadjustment +GtkAdjustment * +GtkCList *clist + + +gtk_clist_set_shadow_type +void +GtkCList *clist,GtkShadowType type + + +gtk_clist_set_selection_mode +void +GtkCList *clist,GtkSelectionMode mode + + +gtk_clist_set_reorderable +void +GtkCList *clist,gboolean reorderable + + +gtk_clist_set_use_drag_icons +void +GtkCList *clist,gboolean use_icons + + +gtk_clist_set_button_actions +void +GtkCList *clist,guint button,guint8 button_actions + + +gtk_clist_freeze +void +GtkCList *clist + + +gtk_clist_thaw +void +GtkCList *clist + + +gtk_clist_column_titles_show +void +GtkCList *clist + + +gtk_clist_column_titles_hide +void +GtkCList *clist + + +gtk_clist_column_title_active +void +GtkCList *clist,gint column + + +gtk_clist_column_title_passive +void +GtkCList *clist,gint column + + +gtk_clist_column_titles_active +void +GtkCList *clist + + +gtk_clist_column_titles_passive +void +GtkCList *clist + + +gtk_clist_set_column_title +void +GtkCList *clist,gint column,const gchar *title + + +gtk_clist_get_column_title +gchar * +GtkCList *clist,gint column + + +gtk_clist_set_column_widget +void +GtkCList *clist,gint column,GtkWidget *widget + + +gtk_clist_get_column_widget +GtkWidget * +GtkCList *clist,gint column + + +gtk_clist_set_column_justification +void +GtkCList *clist,gint column,GtkJustification justification + + +gtk_clist_set_column_visibility +void +GtkCList *clist,gint column,gboolean visible + + +gtk_clist_set_column_resizeable +void +GtkCList *clist,gint column,gboolean resizeable + + +gtk_clist_set_column_auto_resize +void +GtkCList *clist,gint column,gboolean auto_resize + + +gtk_clist_columns_autosize +gint +GtkCList *clist + + +gtk_clist_optimal_column_width +gint +GtkCList *clist,gint column + + +gtk_clist_set_column_width +void +GtkCList *clist,gint column,gint width + + +gtk_clist_set_column_min_width +void +GtkCList *clist,gint column,gint min_width + + +gtk_clist_set_column_max_width +void +GtkCList *clist,gint column,gint max_width + + +gtk_clist_set_row_height +void +GtkCList *clist,guint height + + +gtk_clist_moveto +void +GtkCList *clist,gint row,gint column,gfloat row_align,gfloat col_align + + +gtk_clist_row_is_visible +GtkVisibility +GtkCList *clist,gint row + + +gtk_clist_get_cell_type +GtkCellType +GtkCList *clist,gint row,gint column + + +gtk_clist_set_text +void +GtkCList *clist,gint row,gint column,const gchar *text + + +gtk_clist_get_text +gint +GtkCList *clist,gint row,gint column,gchar **text + + +gtk_clist_set_pixmap +void +GtkCList *clist,gint row,gint column,GdkPixmap *pixmap,GdkBitmap *mask + + +gtk_clist_get_pixmap +gint +GtkCList *clist,gint row,gint column,GdkPixmap **pixmap,GdkBitmap **mask + + +gtk_clist_set_pixtext +void +GtkCList *clist,gint row,gint column,const gchar *text,guint8 spacing,GdkPixmap *pixmap,GdkBitmap *mask + + +gtk_clist_get_pixtext +gint +GtkCList *clist,gint row,gint column,gchar **text,guint8 *spacing,GdkPixmap **pixmap,GdkBitmap **mask + + +gtk_clist_set_foreground +void +GtkCList *clist,gint row,GdkColor *color + + +gtk_clist_set_background +void +GtkCList *clist,gint row,GdkColor *color + + +gtk_clist_set_cell_style +void +GtkCList *clist,gint row,gint column,GtkStyle *style + + +gtk_clist_get_cell_style +GtkStyle * +GtkCList *clist,gint row,gint column + + +gtk_clist_set_row_style +void +GtkCList *clist,gint row,GtkStyle *style + + +gtk_clist_get_row_style +GtkStyle * +GtkCList *clist,gint row + + +gtk_clist_set_shift +void +GtkCList *clist,gint row,gint column,gint vertical,gint horizontal + + +gtk_clist_set_selectable +void +GtkCList *clist,gint row,gboolean selectable + + +gtk_clist_get_selectable +gboolean +GtkCList *clist,gint row + + +gtk_clist_prepend +gint +GtkCList *clist,gchar *text[] + + +gtk_clist_append +gint +GtkCList *clist,gchar *text[] + + +gtk_clist_insert +gint +GtkCList *clist,gint row,gchar *text[] + + +gtk_clist_remove +void +GtkCList *clist,gint row + + +gtk_clist_set_row_data +void +GtkCList *clist,gint row,gpointer data + + +gtk_clist_set_row_data_full +void +GtkCList *clist,gint row,gpointer data,GtkDestroyNotify destroy + + +gtk_clist_get_row_data +gpointer +GtkCList *clist,gint row + + +gtk_clist_find_row_from_data +gint +GtkCList *clist,gpointer data + + +gtk_clist_select_row +void +GtkCList *clist,gint row,gint column + + +gtk_clist_unselect_row +void +GtkCList *clist,gint row,gint column + + +gtk_clist_undo_selection +void +GtkCList *clist + + +gtk_clist_clear +void +GtkCList *clist + + +gtk_clist_get_selection_info +gint +GtkCList *clist,gint x,gint y,gint *row,gint *column + + +gtk_clist_select_all +void +GtkCList *clist + + +gtk_clist_unselect_all +void +GtkCList *clist + + +gtk_clist_swap_rows +void +GtkCList *clist,gint row1,gint row2 + + +gtk_clist_row_move +void +GtkCList *clist,gint source_row,gint dest_row + + +gtk_clist_set_compare_func +void +GtkCList *clist,GtkCListCompareFunc cmp_func + + +gtk_clist_set_sort_column +void +GtkCList *clist,gint column + + +gtk_clist_set_sort_type +void +GtkCList *clist,GtkSortType sort_type + + +gtk_clist_sort +void +GtkCList *clist + + +gtk_clist_set_auto_sort +void +GtkCList *clist,gboolean auto_sort + + +GTK_COLOR_SELECTION +#define GTK_COLOR_SELECTION(obj) GTK_CHECK_CAST (obj, gtk_color_selection_get_type (), GtkColorSelection) + + +GTK_COLOR_SELECTION_CLASS +#define GTK_COLOR_SELECTION_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_color_selection_get_type (), GtkColorSelectionClass) + + +GTK_IS_COLOR_SELECTION +#define GTK_IS_COLOR_SELECTION(obj) GTK_CHECK_TYPE (obj, gtk_color_selection_get_type ()) + + +GTK_COLOR_SELECTION_DIALOG +#define GTK_COLOR_SELECTION_DIALOG(obj) GTK_CHECK_CAST (obj, gtk_color_selection_dialog_get_type (), GtkColorSelectionDialog) + + +GTK_COLOR_SELECTION_DIALOG_CLASS +#define GTK_COLOR_SELECTION_DIALOG_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_color_selection_dialog_get_type (), GtkColorSelectionDialogClass) + + +GTK_IS_COLOR_SELECTION_DIALOG +#define GTK_IS_COLOR_SELECTION_DIALOG(obj) GTK_CHECK_TYPE (obj, gtk_color_selection_dialog_get_type ()) + + +GtkColorSelection + + +GtkColorSelectionClass + + +GtkColorSelectionDialog + + +GtkColorSelectionDialogClass + + +GtkColorSelection +struct GtkColorSelection +{ + GtkVBox vbox; + + GtkWidget *wheel_area; + GtkWidget *value_area; + GtkWidget *sample_area; + GtkWidget *sample_area_eb; + + GtkWidget *scales[8]; + GtkWidget *entries[8]; + GtkWidget *opacity_label; + + GdkGC *wheel_gc; + GdkGC *value_gc; + GdkGC *sample_gc; + + GtkUpdateType policy; + gint use_opacity; + gint timer_active; + gint timer_tag; + gdouble values[8]; + gdouble old_values[8]; + + guchar *wheel_buf; + guchar *value_buf; + guchar *sample_buf; +}; + + +GtkColorSelectionDialog +struct GtkColorSelectionDialog +{ + GtkWindow window; + + GtkWidget *colorsel; + GtkWidget *main_vbox; + GtkWidget *ok_button; + GtkWidget *reset_button; + GtkWidget *cancel_button; + GtkWidget *help_button; +}; + + +gtk_color_selection_get_type +guint +void + + +gtk_color_selection_new +GtkWidget * +void + + +gtk_color_selection_set_update_policy +void +GtkColorSelection *colorsel,GtkUpdateType policy + + +gtk_color_selection_set_opacity +void +GtkColorSelection *colorsel,gint use_opacity + + +gtk_color_selection_set_color +void +GtkColorSelection *colorsel,gdouble *color + + +gtk_color_selection_get_color +void +GtkColorSelection *colorsel,gdouble *color + + +gtk_color_selection_dialog_get_type +guint +void + + +gtk_color_selection_dialog_new +GtkWidget * +const gchar *title + + +GTK_COMBO +#define GTK_COMBO(obj) GTK_CHECK_CAST (obj, gtk_combo_get_type (), GtkCombo) + + +GTK_COMBO_CLASS +#define GTK_COMBO_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_combo_get_type (), GtkComboClass) + + +GTK_IS_COMBO +#define GTK_IS_COMBO(obj) GTK_CHECK_TYPE (obj, gtk_combo_get_type ()) + + +GtkCombo + + +GtkComboClass + + +GtkCombo +struct GtkCombo { + GtkHBox hbox; + GtkWidget *entry; + GtkWidget *button; + GtkWidget *popup; + GtkWidget *popwin; + GtkWidget *list; + + guint entry_change_id; + guint list_change_id; + + guint value_in_list:1; + guint ok_if_empty:1; + guint case_sensitive:1; + guint use_arrows:1; + guint use_arrows_always:1; + + guint16 current_button; + guint activate_id; +}; + + +gtk_combo_get_type +guint +void + + +gtk_combo_new +GtkWidget * +void + + +gtk_combo_set_value_in_list +void +GtkCombo* combo,gint val,gint ok_if_empty + + +gtk_combo_set_use_arrows +void +GtkCombo* combo,gint val + + +gtk_combo_set_use_arrows_always +void +GtkCombo* combo,gint val + + +gtk_combo_set_case_sensitive +void +GtkCombo* combo,gint val + + +gtk_combo_set_item_string +void +GtkCombo* combo,GtkItem* item,const gchar* item_value + + +gtk_combo_set_popdown_strings +void +GtkCombo* combo,GList *strings + + +gtk_combo_disable_activate +void +GtkCombo* combo + + +gtk_accel_label_accelerator_width +#define gtk_accel_label_accelerator_width gtk_accel_label_get_accel_width + + +gtk_container_border_width +#define gtk_container_border_width gtk_container_set_border_width + + +gtk_notebook_current_page +#define gtk_notebook_current_page gtk_notebook_get_current_page + + +gtk_packer_configure +#define gtk_packer_configure gtk_packer_set_child_packing + + +gtk_paned_gutter_size +#define gtk_paned_gutter_size gtk_paned_set_gutter_size + + +gtk_paned_handle_size +#define gtk_paned_handle_size gtk_paned_set_handle_size + + +gtk_scale_value_width +#define gtk_scale_value_width gtk_scale_get_value_width + + +gtk_window_position +#define gtk_window_position gtk_window_set_position + + +gtk_toggle_button_set_state +#define gtk_toggle_button_set_state gtk_toggle_button_set_active + + +gtk_check_menu_item_set_state +#define gtk_check_menu_item_set_state gtk_check_menu_item_set_active + + +gtk_ctree_set_reorderable +#define gtk_ctree_set_reorderable(t,r) gtk_clist_set_reorderable((GtkCList*) (t),(r)) + + +gtk_style_apply_default_pixmap +#define gtk_style_apply_default_pixmap(s,gw,st,a,x,y,w,h) \ + gtk_style_apply_default_background (s,gw,TRUE,st,a,x,y,w,h) + + +GTK_TYPE_CONTAINER +#define GTK_TYPE_CONTAINER (gtk_container_get_type ()) + + +GTK_CONTAINER +#define GTK_CONTAINER(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CONTAINER, GtkContainer)) + + +GTK_CONTAINER_CLASS +#define GTK_CONTAINER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CONTAINER, GtkContainerClass)) + + +GTK_IS_CONTAINER +#define GTK_IS_CONTAINER(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CONTAINER)) + + +GTK_IS_CONTAINER_CLASS +#define GTK_IS_CONTAINER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CONTAINER)) + + +GTK_IS_RESIZE_CONTAINER +#define GTK_IS_RESIZE_CONTAINER(widget) (GTK_IS_CONTAINER (widget) && ((GtkContainer*) (widget))->resize_mode != GTK_RESIZE_PARENT) + + +GtkContainer + + +GtkContainerClass + + +GtkContainer +struct GtkContainer +{ + GtkWidget widget; + + GtkWidget *focus_child; + + guint border_width : 16; + guint need_resize : 1; + guint resize_mode : 2; + + + /* The list of children that requested a resize + */ + GSList *resize_widgets; +}; + + +gtk_container_get_type +GtkType +void + + +gtk_container_set_border_width +void +GtkContainer *container,guint border_width + + +gtk_container_add +void +GtkContainer *container,GtkWidget *widget + + +gtk_container_remove +void +GtkContainer *container,GtkWidget *widget + + +gtk_container_set_resize_mode +void +GtkContainer *container,GtkResizeMode resize_mode + + +gtk_container_check_resize +void +GtkContainer *container + + +gtk_container_foreach +void +GtkContainer *container,GtkCallback callback,gpointer callback_data + + +gtk_container_foreach_full +void +GtkContainer *container,GtkCallback callback,GtkCallbackMarshal marshal,gpointer callback_data,GtkDestroyNotify notify + + +gtk_container_children +GList * +GtkContainer *container + + +gtk_container_focus +gint +GtkContainer *container,GtkDirectionType direction + + +gtk_container_set_focus_child +void +GtkContainer *container,GtkWidget *child + + +gtk_container_set_focus_vadjustment +void +GtkContainer *container,GtkAdjustment *adjustment + + +gtk_container_set_focus_hadjustment +void +GtkContainer *container,GtkAdjustment *adjustment + + +gtk_container_register_toplevel +void +GtkContainer *container + + +gtk_container_unregister_toplevel +void +GtkContainer *container + + +gtk_container_get_toplevels +GList * +void + + +gtk_container_resize_children +void +GtkContainer *container + + +gtk_container_child_type +GtkType +GtkContainer *container + + +gtk_container_add_child_arg_type +void +const gchar *arg_name,GtkType arg_type,guint arg_flags,guint arg_id + + +gtk_container_query_child_args +GtkArg * +GtkType class_type,guint32 **arg_flags,guint *nargs + + +gtk_container_child_getv +void +GtkContainer *container,GtkWidget *child,guint n_args,GtkArg *args + + +gtk_container_child_setv +void +GtkContainer *container,GtkWidget *child,guint n_args,GtkArg *args + + +gtk_container_add_with_args +void +GtkContainer *container,GtkWidget *widget,const gchar *first_arg_name,... + + +gtk_container_addv +void +GtkContainer *container,GtkWidget *widget,guint n_args,GtkArg *args + + +gtk_container_child_set +void +GtkContainer *container,GtkWidget *child,const gchar *first_arg_name,... + + +gtk_container_queue_resize +void +GtkContainer *container + + +gtk_container_clear_resize_widgets +void +GtkContainer *container + + +gtk_container_arg_set +void +GtkContainer *container,GtkWidget *child,GtkArg *arg,GtkArgInfo *info + + +gtk_container_arg_get +void +GtkContainer *container,GtkWidget *child,GtkArg *arg,GtkArgInfo *info + + +gtk_container_child_args_collect +gchar * +GtkType object_type,GSList **arg_list_p,GSList **info_list_p,const gchar *first_arg_name,va_list args + + +gtk_container_child_arg_get_info +gchar * +GtkType object_type,const gchar *arg_name,GtkArgInfo **info_p + + +gtk_container_forall +void +GtkContainer *container,GtkCallback callback,gpointer callback_data + + +gtk_container_child_composite_name +gchar * +GtkContainer *container,GtkWidget *child + + +GTK_TYPE_CTREE +#define GTK_TYPE_CTREE (gtk_ctree_get_type ()) + + +GTK_CTREE +#define GTK_CTREE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CTREE, GtkCTree)) + + +GTK_CTREE_CLASS +#define GTK_CTREE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CTREE, GtkCTreeClass)) + + +GTK_IS_CTREE +#define GTK_IS_CTREE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CTREE)) + + +GTK_IS_CTREE_CLASS +#define GTK_IS_CTREE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CTREE)) + + +GTK_CTREE_ROW +#define GTK_CTREE_ROW(_node_) ((GtkCTreeRow *)(((GList *)(_node_))->data)) + + +GTK_CTREE_NODE +#define GTK_CTREE_NODE(_node_) ((GtkCTreeNode *)((_node_))) + + +GTK_CTREE_NODE_NEXT +#define GTK_CTREE_NODE_NEXT(_nnode_) ((GtkCTreeNode *)(((GList *)(_nnode_))->next)) + + +GTK_CTREE_NODE_PREV +#define GTK_CTREE_NODE_PREV(_pnode_) ((GtkCTreeNode *)(((GList *)(_pnode_))->prev)) + + +GTK_CTREE_FUNC +#define GTK_CTREE_FUNC(_func_) ((GtkCTreeFunc)(_func_)) + + +GtkCTreePos +typedef enum +{ + GTK_CTREE_POS_BEFORE, + GTK_CTREE_POS_AS_CHILD, + GTK_CTREE_POS_AFTER +} GtkCTreePos; + + +GtkCTreeLineStyle +typedef enum +{ + GTK_CTREE_LINES_NONE, + GTK_CTREE_LINES_SOLID, + GTK_CTREE_LINES_DOTTED, + GTK_CTREE_LINES_TABBED +} GtkCTreeLineStyle; + + +GtkCTreeExpanderStyle +typedef enum +{ + GTK_CTREE_EXPANDER_NONE, + GTK_CTREE_EXPANDER_SQUARE, + GTK_CTREE_EXPANDER_TRIANGLE, + GTK_CTREE_EXPANDER_CIRCULAR +} GtkCTreeExpanderStyle; + + +GtkCTreeExpansionType +typedef enum +{ + GTK_CTREE_EXPANSION_EXPAND, + GTK_CTREE_EXPANSION_EXPAND_RECURSIVE, + GTK_CTREE_EXPANSION_COLLAPSE, + GTK_CTREE_EXPANSION_COLLAPSE_RECURSIVE, + GTK_CTREE_EXPANSION_TOGGLE, + GTK_CTREE_EXPANSION_TOGGLE_RECURSIVE +} GtkCTreeExpansionType; + + +GtkCTree + + +GtkCTreeClass + + +GtkCTreeRow + + +GtkCTreeNode + + +GtkCTreeFunc +void +GtkCTree *ctree, + GtkCTreeNode *node, + gpointer data + + +GtkCTreeGNodeFunc +gboolean +GtkCTree *ctree, + guint depth, + GNode *gnode, + GtkCTreeNode *cnode, + gpointer data + + +GtkCTreeCompareDragFunc +gboolean +GtkCTree *ctree, + GtkCTreeNode *source_node, + GtkCTreeNode *new_parent, + GtkCTreeNode *new_sibling + + +GtkCTree +struct GtkCTree +{ + GtkCList clist; + + GdkGC *lines_gc; + + gint tree_indent; + gint tree_spacing; + gint tree_column; + + guint line_style : 2; + guint expander_style : 2; + guint show_stub : 1; + + GtkCTreeCompareDragFunc drag_compare; +}; + + +GtkCTreeRow +struct GtkCTreeRow +{ + GtkCListRow row; + + GtkCTreeNode *parent; + GtkCTreeNode *sibling; + GtkCTreeNode *children; + + GdkPixmap *pixmap_closed; + GdkBitmap *mask_closed; + GdkPixmap *pixmap_opened; + GdkBitmap *mask_opened; + + guint16 level; + + guint is_leaf : 1; + guint expanded : 1; +}; + + +GtkCTreeNode +struct GtkCTreeNode { + GList list; +}; + + +gtk_ctree_get_type +GtkType +void + + +gtk_ctree_construct +void +GtkCTree *ctree,gint columns,gint tree_column,gchar *titles[] + + +gtk_ctree_new_with_titles +GtkWidget * +gint columns,gint tree_column,gchar *titles[] + + +gtk_ctree_new +GtkWidget * +gint columns,gint tree_column + + +gtk_ctree_insert_node +GtkCTreeNode * +GtkCTree *ctree,GtkCTreeNode *parent,GtkCTreeNode *sibling,gchar *text[],guint8 spacing,GdkPixmap *pixmap_closed,GdkBitmap *mask_closed,GdkPixmap *pixmap_opened,GdkBitmap *mask_opened,gboolean is_leaf,gboolean expanded + + +gtk_ctree_remove_node +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_insert_gnode +GtkCTreeNode * +GtkCTree *ctree,GtkCTreeNode *parent,GtkCTreeNode *sibling,GNode *gnode,GtkCTreeGNodeFunc func,gpointer data + + +gtk_ctree_export_to_gnode +GNode * +GtkCTree *ctree,GNode *parent,GNode *sibling,GtkCTreeNode *node,GtkCTreeGNodeFunc func,gpointer data + + +gtk_ctree_post_recursive +void +GtkCTree *ctree,GtkCTreeNode *node,GtkCTreeFunc func,gpointer data + + +gtk_ctree_post_recursive_to_depth +void +GtkCTree *ctree,GtkCTreeNode *node,gint depth,GtkCTreeFunc func,gpointer data + + +gtk_ctree_pre_recursive +void +GtkCTree *ctree,GtkCTreeNode *node,GtkCTreeFunc func,gpointer data + + +gtk_ctree_pre_recursive_to_depth +void +GtkCTree *ctree,GtkCTreeNode *node,gint depth,GtkCTreeFunc func,gpointer data + + +gtk_ctree_is_viewable +gboolean +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_last +GtkCTreeNode * +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_find_node_ptr +GtkCTreeNode * +GtkCTree *ctree,GtkCTreeRow *ctree_row + + +gtk_ctree_node_nth +GtkCTreeNode * +GtkCTree *ctree,guint row + + +gtk_ctree_find +gboolean +GtkCTree *ctree,GtkCTreeNode *node,GtkCTreeNode *child + + +gtk_ctree_is_ancestor +gboolean +GtkCTree *ctree,GtkCTreeNode *node,GtkCTreeNode *child + + +gtk_ctree_find_by_row_data +GtkCTreeNode * +GtkCTree *ctree,GtkCTreeNode *node,gpointer data + + +gtk_ctree_find_all_by_row_data +GList * +GtkCTree *ctree,GtkCTreeNode *node,gpointer data + + +gtk_ctree_find_by_row_data_custom +GtkCTreeNode * +GtkCTree *ctree,GtkCTreeNode *node,gpointer data,GCompareFunc func + + +gtk_ctree_find_all_by_row_data_custom +GList * +GtkCTree *ctree,GtkCTreeNode *node,gpointer data,GCompareFunc func + + +gtk_ctree_is_hot_spot +gboolean +GtkCTree *ctree,gint x,gint y + + +gtk_ctree_move +void +GtkCTree *ctree,GtkCTreeNode *node,GtkCTreeNode *new_parent,GtkCTreeNode *new_sibling + + +gtk_ctree_expand +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_expand_recursive +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_expand_to_depth +void +GtkCTree *ctree,GtkCTreeNode *node,gint depth + + +gtk_ctree_collapse +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_collapse_recursive +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_collapse_to_depth +void +GtkCTree *ctree,GtkCTreeNode *node,gint depth + + +gtk_ctree_toggle_expansion +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_toggle_expansion_recursive +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_select +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_select_recursive +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_unselect +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_unselect_recursive +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_real_select_recursive +void +GtkCTree *ctree,GtkCTreeNode *node,gint state + + +gtk_ctree_node_set_text +void +GtkCTree *ctree,GtkCTreeNode *node,gint column,const gchar *text + + +gtk_ctree_node_set_pixmap +void +GtkCTree *ctree,GtkCTreeNode *node,gint column,GdkPixmap *pixmap,GdkBitmap *mask + + +gtk_ctree_node_set_pixtext +void +GtkCTree *ctree,GtkCTreeNode *node,gint column,const gchar *text,guint8 spacing,GdkPixmap *pixmap,GdkBitmap *mask + + +gtk_ctree_set_node_info +void +GtkCTree *ctree,GtkCTreeNode *node,const gchar *text,guint8 spacing,GdkPixmap *pixmap_closed,GdkBitmap *mask_closed,GdkPixmap *pixmap_opened,GdkBitmap *mask_opened,gboolean is_leaf,gboolean expanded + + +gtk_ctree_node_set_shift +void +GtkCTree *ctree,GtkCTreeNode *node,gint column,gint vertical,gint horizontal + + +gtk_ctree_node_set_selectable +void +GtkCTree *ctree,GtkCTreeNode *node,gboolean selectable + + +gtk_ctree_node_get_selectable +gboolean +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_node_get_cell_type +GtkCellType +GtkCTree *ctree,GtkCTreeNode *node,gint column + + +gtk_ctree_node_get_text +gint +GtkCTree *ctree,GtkCTreeNode *node,gint column,gchar **text + + +gtk_ctree_node_get_pixmap +gint +GtkCTree *ctree,GtkCTreeNode *node,gint column,GdkPixmap **pixmap,GdkBitmap **mask + + +gtk_ctree_node_get_pixtext +gint +GtkCTree *ctree,GtkCTreeNode *node,gint column,gchar **text,guint8 *spacing,GdkPixmap **pixmap,GdkBitmap **mask + + +gtk_ctree_get_node_info +gint +GtkCTree *ctree,GtkCTreeNode *node,gchar **text,guint8 *spacing,GdkPixmap **pixmap_closed,GdkBitmap **mask_closed,GdkPixmap **pixmap_opened,GdkBitmap **mask_opened,gboolean *is_leaf,gboolean *expanded + + +gtk_ctree_node_set_row_style +void +GtkCTree *ctree,GtkCTreeNode *node,GtkStyle *style + + +gtk_ctree_node_get_row_style +GtkStyle * +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_node_set_cell_style +void +GtkCTree *ctree,GtkCTreeNode *node,gint column,GtkStyle *style + + +gtk_ctree_node_get_cell_style +GtkStyle * +GtkCTree *ctree,GtkCTreeNode *node,gint column + + +gtk_ctree_node_set_foreground +void +GtkCTree *ctree,GtkCTreeNode *node,GdkColor *color + + +gtk_ctree_node_set_background +void +GtkCTree *ctree,GtkCTreeNode *node,GdkColor *color + + +gtk_ctree_node_set_row_data +void +GtkCTree *ctree,GtkCTreeNode *node,gpointer data + + +gtk_ctree_node_set_row_data_full +void +GtkCTree *ctree,GtkCTreeNode *node,gpointer data,GtkDestroyNotify destroy + + +gtk_ctree_node_get_row_data +gpointer +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_node_moveto +void +GtkCTree *ctree,GtkCTreeNode *node,gint column,gfloat row_align,gfloat col_align + + +gtk_ctree_node_is_visible +GtkVisibility +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_set_indent +void +GtkCTree *ctree,gint indent + + +gtk_ctree_set_spacing +void +GtkCTree *ctree,gint spacing + + +gtk_ctree_set_show_stub +void +GtkCTree *ctree,gboolean show_stub + + +gtk_ctree_set_line_style +void +GtkCTree *ctree,GtkCTreeLineStyle line_style + + +gtk_ctree_set_expander_style +void +GtkCTree *ctree,GtkCTreeExpanderStyle expander_style + + +gtk_ctree_set_drag_compare_func +void +GtkCTree *ctree,GtkCTreeCompareDragFunc cmp_func + + +gtk_ctree_sort_node +void +GtkCTree *ctree,GtkCTreeNode *node + + +gtk_ctree_sort_recursive +void +GtkCTree *ctree,GtkCTreeNode *node + + +GTK_TYPE_CURVE +#define GTK_TYPE_CURVE (gtk_curve_get_type ()) + + +GTK_CURVE +#define GTK_CURVE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CURVE, GtkCurve)) + + +GTK_CURVE_CLASS +#define GTK_CURVE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CURVE, GtkCurveClass)) + + +GTK_IS_CURVE +#define GTK_IS_CURVE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CURVE)) + + +GTK_IS_CURVE_CLASS +#define GTK_IS_CURVE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CURVE)) + + +GtkCurve + + +GtkCurveClass + + +GtkCurve +struct GtkCurve +{ + GtkDrawingArea graph; + + gint cursor_type; + gfloat min_x; + gfloat max_x; + gfloat min_y; + gfloat max_y; + GdkPixmap *pixmap; + GtkCurveType curve_type; + gint height; /* (cached) graph height in pixels */ + gint grab_point; /* point currently grabbed */ + gint last; + + /* (cached) curve points: */ + gint num_points; + GdkPoint *point; + + /* control points: */ + gint num_ctlpoints; /* number of control points */ + gfloat (*ctlpoint)[2]; /* array of control points */ +}; + + +gtk_curve_get_type +GtkType +void + + +gtk_curve_new +GtkWidget * +void + + +gtk_curve_reset +void +GtkCurve *curve + + +gtk_curve_set_gamma +void +GtkCurve *curve, gfloat gamma + + +gtk_curve_set_range +void +GtkCurve *curve,gfloat min_x, gfloat max_x,gfloat min_y, gfloat max_y + + +gtk_curve_get_vector +void +GtkCurve *curve,int veclen, gfloat vector[] + + +gtk_curve_set_vector +void +GtkCurve *curve,int veclen, gfloat vector[] + + +gtk_curve_set_curve_type +void +GtkCurve *curve, GtkCurveType type + + +GTK_TYPE_DATA +#define GTK_TYPE_DATA (gtk_data_get_type ()) + + +GTK_DATA +#define GTK_DATA(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_DATA, GtkData)) + + +GTK_DATA_CLASS +#define GTK_DATA_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_DATA, GtkDataClass)) + + +GTK_IS_DATA +#define GTK_IS_DATA(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_DATA)) + + +GTK_IS_DATA_CLASS +#define GTK_IS_DATA_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DATA)) + + +GtkData + + +GtkDataClass + + +GtkData +struct GtkData +{ + GtkObject object; +}; + + +gtk_data_get_type +GtkType +void + + +GtkDebugFlag +typedef enum { + GTK_DEBUG_OBJECTS = 1 << 0, + GTK_DEBUG_MISC = 1 << 1, + GTK_DEBUG_SIGNALS = 1 << 2, + GTK_DEBUG_DND = 1 << 3, + GTK_DEBUG_PLUGSOCKET = 1 << 4 +} GtkDebugFlag; + + +GTK_NOTE +#define GTK_NOTE(type,action) G_STMT_START { \ + if (gtk_debug_flags & GTK_DEBUG_##type) \ + { action; }; } G_STMT_END + + +GTK_NOTE +#define GTK_NOTE(type, action) + + +gtk_debug_flags +extern guint gtk_debug_flags; + + +GTK_TYPE_DIALOG +#define GTK_TYPE_DIALOG (gtk_dialog_get_type ()) + + +GTK_DIALOG +#define GTK_DIALOG(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_DIALOG, GtkDialog)) + + +GTK_DIALOG_CLASS +#define GTK_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_DIALOG, GtkDialogClass)) + + +GTK_IS_DIALOG +#define GTK_IS_DIALOG(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_DIALOG)) + + +GTK_IS_DIALOG_CLASS +#define GTK_IS_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DIALOG)) + + +GtkDialog + + +GtkDialogClass + + +GtkDialogButton + + +GtkDialog +struct GtkDialog +{ + GtkWindow window; + + GtkWidget *vbox; + GtkWidget *action_area; +}; + + +gtk_dialog_get_type +GtkType +void + + +gtk_dialog_new +GtkWidget * +void + + +GtkDestDefaults +typedef enum { + GTK_DEST_DEFAULT_MOTION = 1 << 0, /* respond to "drag_motion" */ + GTK_DEST_DEFAULT_HIGHLIGHT = 1 << 1, /* auto-highlight */ + GTK_DEST_DEFAULT_DROP = 1 << 2, /* respond to "drag_drop" */ + GTK_DEST_DEFAULT_ALL = 0x07 +} GtkDestDefaults; + + +GtkTargetFlags +typedef enum { + GTK_TARGET_SAME_APP = 1 << 0, /*< nick=same-app >*/ + GTK_TARGET_SAME_WIDGET = 1 << 1 /*< nick=same-widget >*/ +} GtkTargetFlags; + + +gtk_drag_get_data +void +GtkWidget *widget,GdkDragContext *context,GdkAtom target,guint32 time + + +gtk_drag_finish +void +GdkDragContext *context,gboolean success,gboolean del,guint32 time + + +gtk_drag_get_source_widget +GtkWidget * +GdkDragContext *context + + +gtk_drag_highlight +void +GtkWidget *widget + + +gtk_drag_unhighlight +void +GtkWidget *widget + + +gtk_drag_dest_set +void +GtkWidget *widget,GtkDestDefaults flags,const GtkTargetEntry *targets,gint n_targets,GdkDragAction actions + + +gtk_drag_dest_set_proxy +void +GtkWidget *widget,GdkWindow *proxy_window,GdkDragProtocol protocol,gboolean use_coordinates + + +gtk_drag_dest_unset +void +GtkWidget *widget + + +gtk_drag_source_set +void +GtkWidget *widget,GdkModifierType start_button_mask,const GtkTargetEntry *targets,gint n_targets,GdkDragAction actions + + +gtk_drag_source_unset +void +GtkWidget *widget + + +gtk_drag_source_set_icon +void +GtkWidget *widget,GdkColormap *colormap,GdkPixmap *pixmap,GdkBitmap *mask + + +gtk_drag_begin +GdkDragContext * +GtkWidget *widget,GtkTargetList *targets,GdkDragAction actions,gint button,GdkEvent *event + + +gtk_drag_set_icon_widget +void +GdkDragContext *context,GtkWidget *widget,gint hot_x,gint hot_y + + +gtk_drag_set_icon_pixmap +void +GdkDragContext *context,GdkColormap *colormap,GdkPixmap *pixmap,GdkBitmap *mask,gint hot_x,gint hot_y + + +gtk_drag_set_icon_default +void +GdkDragContext *context + + +gtk_drag_set_default_icon +void +GdkColormap *colormap,GdkPixmap *pixmap,GdkBitmap *mask,gint hot_x,gint hot_y + + +gtk_drag_source_handle_event +void +GtkWidget *widget,GdkEvent *event + + +gtk_drag_dest_handle_event +void +GtkWidget *toplevel,GdkEvent *event + + +GTK_TYPE_DRAWING_AREA +#define GTK_TYPE_DRAWING_AREA (gtk_drawing_area_get_type ()) + + +GTK_DRAWING_AREA +#define GTK_DRAWING_AREA(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_DRAWING_AREA, GtkDrawingArea)) + + +GTK_DRAWING_AREA_CLASS +#define GTK_DRAWING_AREA_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_DRAWING_AREA, GtkDrawingAreaClass)) + + +GTK_IS_DRAWING_AREA +#define GTK_IS_DRAWING_AREA(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_DRAWING_AREA)) + + +GTK_IS_DRAWING_AREA_CLASS +#define GTK_IS_DRAWING_AREA_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DRAWING_AREA)) + + +GtkDrawingArea + + +GtkDrawingAreaClass + + +GtkDrawingArea +struct GtkDrawingArea +{ + GtkWidget widget; + + gpointer draw_data; +}; + + +gtk_drawing_area_get_type +GtkType +void + + +gtk_drawing_area_new +GtkWidget * +void + + +gtk_drawing_area_size +void +GtkDrawingArea *darea,gint width,gint height + + +GTK_TYPE_EDITABLE +#define GTK_TYPE_EDITABLE (gtk_editable_get_type ()) + + +GTK_EDITABLE +#define GTK_EDITABLE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_EDITABLE, GtkEditable)) + + +GTK_EDITABLE_CLASS +#define GTK_EDITABLE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_EDITABLE, GtkEditableClass)) + + +GTK_IS_EDITABLE +#define GTK_IS_EDITABLE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_EDITABLE)) + + +GTK_IS_EDITABLE_CLASS +#define GTK_IS_EDITABLE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EDITABLE)) + + +GtkEditable + + +GtkEditableClass + + +GtkTextFunction +void +GtkEditable *editable, guint32 time + + +GtkEditable +struct GtkEditable +{ + GtkWidget widget; + + /*< public >*/ + guint current_pos; + + guint selection_start_pos; + guint selection_end_pos; + guint has_selection : 1; + + /*< private >*/ + guint editable : 1; + guint visible : 1; + GdkIC *ic; + GdkICAttr *ic_attr; + + gchar *clipboard_text; +}; + + +gtk_editable_get_type +GtkType +void + + +gtk_editable_select_region +void +GtkEditable *editable,gint start,gint end + + +gtk_editable_insert_text +void +GtkEditable *editable,const gchar *new_text,gint new_text_length,gint *position + + +gtk_editable_delete_text +void +GtkEditable *editable,gint start_pos,gint end_pos + + +gtk_editable_get_chars +gchar * +GtkEditable *editable,gint start_pos,gint end_pos + + +gtk_editable_cut_clipboard +void +GtkEditable *editable + + +gtk_editable_copy_clipboard +void +GtkEditable *editable + + +gtk_editable_paste_clipboard +void +GtkEditable *editable + + +gtk_editable_claim_selection +void +GtkEditable *editable,gboolean claim,guint32 time + + +gtk_editable_delete_selection +void +GtkEditable *editable + + +gtk_editable_changed +void +GtkEditable *editable + + +gtk_editable_set_position +void +GtkEditable *editable,gint position + + +gtk_editable_get_position +gint +GtkEditable *editable + + +gtk_editable_set_editable +void +GtkEditable *editable,gboolean is_editable + + +GTK_TYPE_ENTRY +#define GTK_TYPE_ENTRY (gtk_entry_get_type ()) + + +GTK_ENTRY +#define GTK_ENTRY(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ENTRY, GtkEntry)) + + +GTK_ENTRY_CLASS +#define GTK_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY, GtkEntryClass)) + + +GTK_IS_ENTRY +#define GTK_IS_ENTRY(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ENTRY)) + + +GTK_IS_ENTRY_CLASS +#define GTK_IS_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY)) + + +GtkEntry + + +GtkEntryClass + + +GtkEntry +struct GtkEntry +{ + GtkEditable editable; + + GdkWindow *text_area; + GdkPixmap *backing_pixmap; + GdkCursor *cursor; + GdkWChar *text; + + guint16 text_size; /* allocated size */ + guint16 text_length; /* length in use */ + guint16 text_max_length; + gint scroll_offset; + guint visible : 1; /* deprecated - see editable->visible */ + guint32 timer; + guint button; + + /* The x-offset of each character (including the last insertion position) + * only valid when the widget is realized */ + gint *char_offset; + + /* Same as 'text', but in multibyte */ + gchar *text_mb; + /* If true, 'text' and 'text_mb' are not coherent */ + guint text_mb_dirty : 1; + /* If true, we use the encoding of wchar_t as the encoding of 'text'. + * Otherwise we use the encoding of multi-byte characters instead. */ + guint use_wchar : 1; +}; + + +gtk_entry_get_type +GtkType +void + + +gtk_entry_new +GtkWidget * +void + + +gtk_entry_new_with_max_length +GtkWidget * +guint16 max + + +gtk_entry_set_text +void +GtkEntry *entry,const gchar *text + + +gtk_entry_append_text +void +GtkEntry *entry,const gchar *text + + +gtk_entry_prepend_text +void +GtkEntry *entry,const gchar *text + + +gtk_entry_set_position +void +GtkEntry *entry,gint position + + +gtk_entry_get_text +gchar * +GtkEntry *entry + + +gtk_entry_select_region +void +GtkEntry *entry,gint start,gint end + + +gtk_entry_set_visibility +void +GtkEntry *entry,gboolean visible + + +gtk_entry_set_editable +void +GtkEntry *entry,gboolean editable + + +gtk_entry_set_max_length +void +GtkEntry *entry,guint16 max + + +GtkArrowType +typedef enum +{ + GTK_ARROW_UP, + GTK_ARROW_DOWN, + GTK_ARROW_LEFT, + GTK_ARROW_RIGHT +} GtkArrowType; + + +GtkAttachOptions +typedef enum +{ + GTK_EXPAND = 1 << 0, + GTK_SHRINK = 1 << 1, + GTK_FILL = 1 << 2 +} GtkAttachOptions; + + +GtkButtonBoxStyle +typedef enum +{ + GTK_BUTTONBOX_DEFAULT_STYLE, + GTK_BUTTONBOX_SPREAD, + GTK_BUTTONBOX_EDGE, + GTK_BUTTONBOX_START, + GTK_BUTTONBOX_END +} GtkButtonBoxStyle; + + +GtkCurveType +typedef enum +{ + GTK_CURVE_TYPE_LINEAR, /* linear interpolation */ + GTK_CURVE_TYPE_SPLINE, /* spline interpolation */ + GTK_CURVE_TYPE_FREE /* free form curve */ +} GtkCurveType; + + +GtkDirectionType +typedef enum +{ + GTK_DIR_TAB_FORWARD, + GTK_DIR_TAB_BACKWARD, + GTK_DIR_UP, + GTK_DIR_DOWN, + GTK_DIR_LEFT, + GTK_DIR_RIGHT +} GtkDirectionType; + + +GtkJustification +typedef enum +{ + GTK_JUSTIFY_LEFT, + GTK_JUSTIFY_RIGHT, + GTK_JUSTIFY_CENTER, + GTK_JUSTIFY_FILL +} GtkJustification; + + +GtkMatchType +typedef enum +{ + GTK_MATCH_ALL, /* "*A?A*" */ + GTK_MATCH_ALL_TAIL, /* "*A?AA" */ + GTK_MATCH_HEAD, /* "AAAA*" */ + GTK_MATCH_TAIL, /* "*AAAA" */ + GTK_MATCH_EXACT, /* "AAAAA" */ + GTK_MATCH_LAST +} GtkMatchType; + + +GtkMenuDirectionType +typedef enum +{ + GTK_MENU_DIR_PARENT, + GTK_MENU_DIR_CHILD, + GTK_MENU_DIR_NEXT, + GTK_MENU_DIR_PREV +} GtkMenuDirectionType; + + +GtkMenuFactoryType +typedef enum +{ + GTK_MENU_FACTORY_MENU, + GTK_MENU_FACTORY_MENU_BAR, + GTK_MENU_FACTORY_OPTION_MENU +} GtkMenuFactoryType; + + +GtkMetricType +typedef enum +{ + GTK_PIXELS, + GTK_INCHES, + GTK_CENTIMETERS +} GtkMetricType; + + +GtkOrientation +typedef enum +{ + GTK_ORIENTATION_HORIZONTAL, + GTK_ORIENTATION_VERTICAL +} GtkOrientation; + + +GtkCornerType +typedef enum +{ + GTK_CORNER_TOP_LEFT, + GTK_CORNER_BOTTOM_LEFT, + GTK_CORNER_TOP_RIGHT, + GTK_CORNER_BOTTOM_RIGHT +} GtkCornerType; + + +GtkPackType +typedef enum +{ + GTK_PACK_START, + GTK_PACK_END +} GtkPackType; + + +GtkPathPriorityType +typedef enum +{ + GTK_PATH_PRIO_LOWEST = 0, + GTK_PATH_PRIO_GTK = 4, + GTK_PATH_PRIO_APPLICATION = 8, + GTK_PATH_PRIO_RC = 12, + GTK_PATH_PRIO_HIGHEST = 15, + GTK_PATH_PRIO_MASK = 0x0f +} GtkPathPriorityType; + + +GtkPathType +typedef enum +{ + GTK_PATH_WIDGET, + GTK_PATH_WIDGET_CLASS, + GTK_PATH_CLASS +} GtkPathType; + + +GtkPolicyType +typedef enum +{ + GTK_POLICY_ALWAYS, + GTK_POLICY_AUTOMATIC, + GTK_POLICY_NEVER +} GtkPolicyType; + + +GtkPositionType +typedef enum +{ + GTK_POS_LEFT, + GTK_POS_RIGHT, + GTK_POS_TOP, + GTK_POS_BOTTOM +} GtkPositionType; + + +GtkPreviewType +typedef enum +{ + GTK_PREVIEW_COLOR, + GTK_PREVIEW_GRAYSCALE +} GtkPreviewType; + + +GtkReliefStyle +typedef enum +{ + GTK_RELIEF_NORMAL, + GTK_RELIEF_HALF, + GTK_RELIEF_NONE +} GtkReliefStyle; + + +GtkResizeMode +typedef enum +{ + GTK_RESIZE_PARENT, /* Pass resize request to the parent */ + GTK_RESIZE_QUEUE, /* Queue resizes on this widget */ + GTK_RESIZE_IMMEDIATE /* Perform the resizes now */ +} GtkResizeMode; + + +GtkSignalRunType +typedef enum /*< flags >*/ +{ + GTK_RUN_FIRST = 1 << 0, + GTK_RUN_LAST = 1 << 1, + GTK_RUN_BOTH = (GTK_RUN_FIRST | GTK_RUN_LAST), + GTK_RUN_NO_RECURSE = 1 << 2, + GTK_RUN_ACTION = 1 << 3, + GTK_RUN_NO_HOOKS = 1 << 4 +} GtkSignalRunType; + + +GtkScrollType +typedef enum +{ + GTK_SCROLL_NONE, + GTK_SCROLL_STEP_BACKWARD, + GTK_SCROLL_STEP_FORWARD, + GTK_SCROLL_PAGE_BACKWARD, + GTK_SCROLL_PAGE_FORWARD, + GTK_SCROLL_JUMP +} GtkScrollType; + + +GtkSelectionMode +typedef enum +{ + GTK_SELECTION_SINGLE, + GTK_SELECTION_BROWSE, + GTK_SELECTION_MULTIPLE, + GTK_SELECTION_EXTENDED +} GtkSelectionMode; + + +GtkShadowType +typedef enum +{ + GTK_SHADOW_NONE, + GTK_SHADOW_IN, + GTK_SHADOW_OUT, + GTK_SHADOW_ETCHED_IN, + GTK_SHADOW_ETCHED_OUT +} GtkShadowType; + + +GtkStateType +typedef enum +{ + GTK_STATE_NORMAL, + GTK_STATE_ACTIVE, + GTK_STATE_PRELIGHT, + GTK_STATE_SELECTED, + GTK_STATE_INSENSITIVE +} GtkStateType; + + +GtkSubmenuDirection +typedef enum +{ + GTK_DIRECTION_LEFT, + GTK_DIRECTION_RIGHT +} GtkSubmenuDirection; + + +GtkSubmenuPlacement +typedef enum +{ + GTK_TOP_BOTTOM, + GTK_LEFT_RIGHT +} GtkSubmenuPlacement; + + +GtkToolbarStyle +typedef enum +{ + GTK_TOOLBAR_ICONS, + GTK_TOOLBAR_TEXT, + GTK_TOOLBAR_BOTH +} GtkToolbarStyle; + + +GtkTroughType +typedef enum +{ + GTK_TROUGH_NONE, + GTK_TROUGH_START, + GTK_TROUGH_END, + GTK_TROUGH_JUMP +} GtkTroughType; + + +GtkUpdateType +typedef enum +{ + GTK_UPDATE_CONTINUOUS, + GTK_UPDATE_DISCONTINUOUS, + GTK_UPDATE_DELAYED +} GtkUpdateType; + + +GtkVisibility +typedef enum +{ + GTK_VISIBILITY_NONE, + GTK_VISIBILITY_PARTIAL, + GTK_VISIBILITY_FULL +} GtkVisibility; + + +GtkWindowPosition +typedef enum +{ + GTK_WIN_POS_NONE, + GTK_WIN_POS_CENTER, + GTK_WIN_POS_MOUSE +} GtkWindowPosition; + + +GtkWindowType +typedef enum +{ + GTK_WINDOW_TOPLEVEL, + GTK_WINDOW_DIALOG, + GTK_WINDOW_POPUP +} GtkWindowType; + + +GtkSortType +typedef enum +{ + GTK_SORT_ASCENDING, + GTK_SORT_DESCENDING +} GtkSortType; + + +GTK_TYPE_EVENT_BOX +#define GTK_TYPE_EVENT_BOX (gtk_event_box_get_type ()) + + +GTK_EVENT_BOX +#define GTK_EVENT_BOX(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_EVENT_BOX, GtkEventBox)) + + +GTK_EVENT_BOX_CLASS +#define GTK_EVENT_BOX_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_EVENT_BOX, GtkEventBoxClass)) + + +GTK_IS_EVENT_BOX +#define GTK_IS_EVENT_BOX(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_EVENT_BOX)) + + +GTK_IS_EVENT_BOX_CLASS +#define GTK_IS_EVENT_BOX_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EVENT_BOX)) + + +GtkEventBox + + +GtkEventBoxClass + + +GtkEventBox +struct GtkEventBox +{ + GtkBin bin; +}; + + +gtk_event_box_get_type +GtkType +void + + +gtk_event_box_new +GtkWidget * +void + + +GTK_MAJOR_VERSION +#define GTK_MAJOR_VERSION (1) + + +GTK_MINOR_VERSION +#define GTK_MINOR_VERSION (2) + + +GTK_MICRO_VERSION +#define GTK_MICRO_VERSION (3) + + +GTK_BINARY_AGE +#define GTK_BINARY_AGE (3) + + +GTK_INTERFACE_AGE +#define GTK_INTERFACE_AGE (1) + + +GTK_CHECK_VERSION +#define GTK_CHECK_VERSION(major,minor,micro) \ + (GTK_MAJOR_VERSION > (major) || \ + (GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION > (minor)) || \ + (GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION == (minor) && \ + GTK_MICRO_VERSION >= (micro))) + + +GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS +#define GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS 1-0-1 + + +GTK_HAVE_SIGNAL_INIT +#define GTK_HAVE_SIGNAL_INIT 1-0-2 + + +GTK_HAVE_FEATURES_1_1_0 +#define GTK_HAVE_FEATURES_1_1_0 1-1-0 + + +GTK_HAVE_FEATURES_1_1_2 +#define GTK_HAVE_FEATURES_1_1_2 1-1-2 + + +GTK_HAVE_FEATURES_1_1_4 +#define GTK_HAVE_FEATURES_1_1_4 1-1-4 + + +GTK_HAVE_FEATURES_1_1_5 +#define GTK_HAVE_FEATURES_1_1_5 1-1-5 + + +GTK_HAVE_FEATURES_1_1_6 +#define GTK_HAVE_FEATURES_1_1_6 1-1-6 + + +GTK_HAVE_FEATURES_1_1_7 +#define GTK_HAVE_FEATURES_1_1_7 1-1-7 + + +GTK_HAVE_FEATURES_1_1_8 +#define GTK_HAVE_FEATURES_1_1_8 1-1-8 + + +GTK_HAVE_FEATURES_1_1_9 +#define GTK_HAVE_FEATURES_1_1_9 1-1-9 + + +GTK_HAVE_FEATURES_1_1_10 +#define GTK_HAVE_FEATURES_1_1_10 1-1-10 + + +GTK_HAVE_FEATURES_1_1_11 +#define GTK_HAVE_FEATURES_1_1_11 1-1-11 + + +GTK_HAVE_FEATURES_1_1_12 +#define GTK_HAVE_FEATURES_1_1_12 1-1-12 + + +GTK_HAVE_FEATURES_1_1_13 +#define GTK_HAVE_FEATURES_1_1_13 1-1-13 + + +GTK_HAVE_FEATURES_1_1_14 +#define GTK_HAVE_FEATURES_1_1_14 1-1-14 + + +GTK_TYPE_FILE_SELECTION +#define GTK_TYPE_FILE_SELECTION (gtk_file_selection_get_type ()) + + +GTK_FILE_SELECTION +#define GTK_FILE_SELECTION(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_FILE_SELECTION, GtkFileSelection)) + + +GTK_FILE_SELECTION_CLASS +#define GTK_FILE_SELECTION_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_FILE_SELECTION, GtkFileSelectionClass)) + + +GTK_IS_FILE_SELECTION +#define GTK_IS_FILE_SELECTION(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_FILE_SELECTION)) + + +GTK_IS_FILE_SELECTION_CLASS +#define GTK_IS_FILE_SELECTION_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FILE_SELECTION)) + + +GtkFileSelection + + +GtkFileSelectionClass + + +GtkFileSelection +struct GtkFileSelection +{ + GtkWindow window; + + GtkWidget *dir_list; + GtkWidget *file_list; + GtkWidget *selection_entry; + GtkWidget *selection_text; + GtkWidget *main_vbox; + GtkWidget *ok_button; + GtkWidget *cancel_button; + GtkWidget *help_button; + GtkWidget *history_pulldown; + GtkWidget *history_menu; + GList *history_list; + GtkWidget *fileop_dialog; + GtkWidget *fileop_entry; + gchar *fileop_file; + gpointer cmpl_state; + + GtkWidget *fileop_c_dir; + GtkWidget *fileop_del_file; + GtkWidget *fileop_ren_file; + + GtkWidget *button_area; + GtkWidget *action_area; + +}; + + +gtk_file_selection_get_type +GtkType +void + + +gtk_file_selection_new +GtkWidget * +const gchar *title + + +gtk_file_selection_set_filename +void +GtkFileSelection *filesel,const gchar *filename + + +gtk_file_selection_get_filename +gchar * +GtkFileSelection *filesel + + +gtk_file_selection_complete +void +GtkFileSelection *filesel,const gchar *pattern + + +gtk_file_selection_show_fileop_buttons +void +GtkFileSelection *filesel + + +gtk_file_selection_hide_fileop_buttons +void +GtkFileSelection *filesel + + +GTK_TYPE_FIXED +#define GTK_TYPE_FIXED (gtk_fixed_get_type ()) + + +GTK_FIXED +#define GTK_FIXED(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_FIXED, GtkFixed)) + + +GTK_FIXED_CLASS +#define GTK_FIXED_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_FIXED, GtkFixedClass)) + + +GTK_IS_FIXED +#define GTK_IS_FIXED(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_FIXED)) + + +GTK_IS_FIXED_CLASS +#define GTK_IS_FIXED_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FIXED)) + + +GtkFixed + + +GtkFixedClass + + +GtkFixedChild + + +GtkFixed +struct GtkFixed +{ + GtkContainer container; + + GList *children; +}; + + +GtkFixedChild +struct GtkFixedChild +{ + GtkWidget *widget; + gint16 x; + gint16 y; +}; + + +gtk_fixed_get_type +GtkType +void + + +gtk_fixed_new +GtkWidget * +void + + +gtk_fixed_put +void +GtkFixed *fixed,GtkWidget *widget,gint16 x,gint16 y + + +gtk_fixed_move +void +GtkFixed *fixed,GtkWidget *widget,gint16 x,gint16 y + + +GTK_TYPE_FONT_SELECTION +#define GTK_TYPE_FONT_SELECTION (gtk_font_selection_get_type ()) + + +GTK_FONT_SELECTION +#define GTK_FONT_SELECTION(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_FONT_SELECTION, GtkFontSelection)) + + +GTK_FONT_SELECTION_CLASS +#define GTK_FONT_SELECTION_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_FONT_SELECTION, GtkFontSelectionClass)) + + +GTK_IS_FONT_SELECTION +#define GTK_IS_FONT_SELECTION(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_FONT_SELECTION)) + + +GTK_IS_FONT_SELECTION_CLASS +#define GTK_IS_FONT_SELECTION_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FONT_SELECTION)) + + +GTK_TYPE_FONT_SELECTION_DIALOG +#define GTK_TYPE_FONT_SELECTION_DIALOG (gtk_font_selection_dialog_get_type ()) + + +GTK_FONT_SELECTION_DIALOG +#define GTK_FONT_SELECTION_DIALOG(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_FONT_SELECTION_DIALOG, GtkFontSelectionDialog)) + + +GTK_FONT_SELECTION_DIALOG_CLASS +#define GTK_FONT_SELECTION_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_FONT_SELECTION_DIALOG, GtkFontSelectionDialogClass)) + + +GTK_IS_FONT_SELECTION_DIALOG +#define GTK_IS_FONT_SELECTION_DIALOG(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_FONT_SELECTION_DIALOG)) + + +GTK_IS_FONT_SELECTION_DIALOG_CLASS +#define GTK_IS_FONT_SELECTION_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FONT_SELECTION_DIALOG)) + + +GtkFontSelection + + +GtkFontSelectionClass + + +GtkFontSelectionDialog + + +GtkFontSelectionDialogClass + + +GTK_NUM_FONT_PROPERTIES +#define GTK_NUM_FONT_PROPERTIES 6 + + +GTK_NUM_STYLE_PROPERTIES +#define GTK_NUM_STYLE_PROPERTIES 5 + + +GtkFontMetricType +typedef enum +{ + GTK_FONT_METRIC_PIXELS, + GTK_FONT_METRIC_POINTS +} GtkFontMetricType; + + +GtkFontType +typedef enum +{ + GTK_FONT_BITMAP = 1 << 0, + GTK_FONT_SCALABLE = 1 << 1, + GTK_FONT_SCALABLE_BITMAP = 1 << 2, + + GTK_FONT_ALL = 0x07 +} GtkFontType; + + +GTK_NUM_FONT_FILTERS +#define GTK_NUM_FONT_FILTERS 2 + + +GtkFontFilterType +typedef enum +{ + GTK_FONT_FILTER_BASE, + GTK_FONT_FILTER_USER +} GtkFontFilterType; + + +GtkFontFilter + + +GtkFontFilter +struct GtkFontFilter +{ + gint font_type; + guint16 *property_filters[GTK_NUM_FONT_PROPERTIES]; + guint16 property_nfilters[GTK_NUM_FONT_PROPERTIES]; +}; + + +GtkFontSelection +struct GtkFontSelection +{ + GtkNotebook notebook; + + /* These are on the font page. */ + GtkWidget *main_vbox; + GtkWidget *font_label; + GtkWidget *font_entry; + GtkWidget *font_clist; + GtkWidget *font_style_entry; + GtkWidget *font_style_clist; + GtkWidget *size_entry; + GtkWidget *size_clist; + GtkWidget *pixels_button; + GtkWidget *points_button; + GtkWidget *filter_button; + GtkWidget *preview_entry; + GtkWidget *message_label; + + /* These are on the font info page. */ + GtkWidget *info_vbox; + GtkWidget *info_clist; + GtkWidget *requested_font_name; + GtkWidget *actual_font_name; + + /* These are on the filter page. */ + GtkWidget *filter_vbox; + GtkWidget *type_bitmaps_button; + GtkWidget *type_scalable_button; + GtkWidget *type_scaled_bitmaps_button; + GtkWidget *filter_clists[GTK_NUM_FONT_PROPERTIES]; + + GdkFont *font; + gint font_index; + gint style; + GtkFontMetricType metric; + /* The size is either in pixels or deci-points, depending on the metric. */ + gint size; + + /* This is the last size explicitly selected. When the user selects different + fonts we try to find the nearest size to this. */ + gint selected_size; + + /* These are the current property settings. They are indexes into the + strings in the GtkFontSelInfo properties array. */ + guint16 property_values[GTK_NUM_STYLE_PROPERTIES]; + + /* These are the base and user font filters. */ + GtkFontFilter filters[GTK_NUM_FONT_FILTERS]; +}; + + +GtkFontSelectionDialog +struct GtkFontSelectionDialog +{ + GtkWindow window; + + GtkWidget *fontsel; + + GtkWidget *main_vbox; + GtkWidget *action_area; + GtkWidget *ok_button; + /* The 'Apply' button is not shown by default but you can show/hide it. */ + GtkWidget *apply_button; + GtkWidget *cancel_button; + + /* If the user changes the width of the dialog, we turn auto-shrink off. */ + gint dialog_width; + gboolean auto_resize; +}; + + +gtk_font_selection_get_type +GtkType +void + + +gtk_font_selection_new +GtkWidget * +void + + +gtk_font_selection_get_font_name +gchar * +GtkFontSelection *fontsel + + +gtk_font_selection_get_font +GdkFont * +GtkFontSelection *fontsel + + +gtk_font_selection_set_font_name +gboolean +GtkFontSelection *fontsel,const gchar *fontname + + +gtk_font_selection_set_filter +void +GtkFontSelection *fontsel,GtkFontFilterType filter_type,GtkFontType font_type,gchar **foundries,gchar **weights,gchar **slants,gchar **setwidths,gchar **spacings,gchar **charsets + + +gtk_font_selection_get_preview_text +gchar * +GtkFontSelection *fontsel + + +gtk_font_selection_set_preview_text +void +GtkFontSelection *fontsel,const gchar *text + + +gtk_font_selection_dialog_get_type +GtkType +void + + +gtk_font_selection_dialog_new +GtkWidget * +const gchar *title + + +gtk_font_selection_dialog_get_font_name +gchar * +GtkFontSelectionDialog *fsd + + +gtk_font_selection_dialog_get_font +GdkFont * +GtkFontSelectionDialog *fsd + + +gtk_font_selection_dialog_set_font_name +gboolean +GtkFontSelectionDialog *fsd,const gchar *fontname + + +gtk_font_selection_dialog_set_filter +void +GtkFontSelectionDialog *fsd,GtkFontFilterType filter_type,GtkFontType font_type,gchar **foundries,gchar **weights,gchar **slants,gchar **setwidths,gchar **spacings,gchar **charsets + + +gtk_font_selection_dialog_get_preview_text +gchar * +GtkFontSelectionDialog *fsd + + +gtk_font_selection_dialog_set_preview_text +void +GtkFontSelectionDialog *fsd,const gchar *text + + +GTK_TYPE_FRAME +#define GTK_TYPE_FRAME (gtk_frame_get_type ()) + + +GTK_FRAME +#define GTK_FRAME(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_FRAME, GtkFrame)) + + +GTK_FRAME_CLASS +#define GTK_FRAME_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_FRAME, GtkFrameClass)) + + +GTK_IS_FRAME +#define GTK_IS_FRAME(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_FRAME)) + + +GTK_IS_FRAME_CLASS +#define GTK_IS_FRAME_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FRAME)) + + +GtkFrame + + +GtkFrameClass + + +GtkFrame +struct GtkFrame +{ + GtkBin bin; + + gchar *label; + gint16 shadow_type; + gint16 label_width; + gint16 label_height; + gfloat label_xalign; + gfloat label_yalign; +}; + + +gtk_frame_get_type +GtkType +void + + +gtk_frame_new +GtkWidget * +const gchar *label + + +gtk_frame_set_label +void +GtkFrame *frame,const gchar *label + + +gtk_frame_set_label_align +void +GtkFrame *frame,gfloat xalign,gfloat yalign + + +gtk_frame_set_shadow_type +void +GtkFrame *frame,GtkShadowType type + + +GTK_GAMMA_CURVE +#define GTK_GAMMA_CURVE(obj) \ + GTK_CHECK_CAST (obj, gtk_gamma_curve_get_type (), GtkGammaCurve) + + +GTK_GAMMA_CURVE_CLASS +#define GTK_GAMMA_CURVE_CLASS(klass) \ + GTK_CHECK_CLASS_CAST (klass, gtk_gamma_curve_get_type, GtkGammaCurveClass) + + +GTK_IS_GAMMA_CURVE +#define GTK_IS_GAMMA_CURVE(obj) \ + GTK_CHECK_TYPE (obj, gtk_gamma_curve_get_type ()) + + +GtkGammaCurve + + +GtkGammaCurveClass + + +GtkGammaCurve +struct GtkGammaCurve +{ + GtkVBox vbox; + + GtkWidget *table; + GtkWidget *curve; + GtkWidget *button[5]; /* spline, linear, free, gamma, reset */ + + gfloat gamma; + GtkWidget *gamma_dialog; + GtkWidget *gamma_text; +}; + + +gtk_gamma_curve_get_type +guint +void + + +gtk_gamma_curve_new +GtkWidget * +void + + +gtk_gc_get +GdkGC * +gint depth,GdkColormap *colormap,GdkGCValues *values,GdkGCValuesMask values_mask + + +gtk_gc_release +void +GdkGC *gc + + +GTK_HANDLE_BOX +#define GTK_HANDLE_BOX(obj) GTK_CHECK_CAST (obj, gtk_handle_box_get_type (), GtkHandleBox) + + +GTK_HANDLE_BOX_CLASS +#define GTK_HANDLE_BOX_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_handle_box_get_type (), GtkHandleBoxClass) + + +GTK_IS_HANDLE_BOX +#define GTK_IS_HANDLE_BOX(obj) GTK_CHECK_TYPE (obj, gtk_handle_box_get_type ()) + + +GtkHandleBox + + +GtkHandleBoxClass + + +GtkHandleBox +struct GtkHandleBox +{ + GtkBin bin; + + GdkWindow *bin_window; /* parent window for children */ + GdkWindow *float_window; + GtkShadowType shadow_type; + guint handle_position : 2; + guint float_window_mapped : 1; + guint child_detached : 1; + guint in_drag : 1; + guint shrink_on_detach : 1; + + gint snap_edge : 3; /* -1 == unset */ + + /* Variables used during a drag + */ + gint deskoff_x, deskoff_y; /* Offset between root relative coordinates + * and deskrelative coordinates */ + GtkAllocation attach_allocation; + GtkAllocation float_allocation; +}; + + +gtk_handle_box_get_type +guint +void + + +gtk_handle_box_new +GtkWidget * +void + + +gtk_handle_box_set_shadow_type +void +GtkHandleBox *handle_box,GtkShadowType type + + +gtk_handle_box_set_handle_position +void +GtkHandleBox *handle_box,GtkPositionType position + + +gtk_handle_box_set_snap_edge +void +GtkHandleBox *handle_box,GtkPositionType edge + + +GTK_HBUTTON_BOX +#define GTK_HBUTTON_BOX(obj) GTK_CHECK_CAST (obj, gtk_hbutton_box_get_type (), GtkHButtonBox) + + +GTK_HBUTTON_BOX_CLASS +#define GTK_HBUTTON_BOX_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_hbutton_box_get_type (), GtkHButtonBoxClass) + + +GTK_IS_HBUTTON_BOX +#define GTK_IS_HBUTTON_BOX(obj) GTK_CHECK_TYPE (obj, gtk_hbutton_box_get_type ()) + + +GtkHButtonBox + + +GtkHButtonBoxClass + + +GtkHButtonBox +struct GtkHButtonBox +{ + GtkButtonBox button_box; +}; + + +gtk_hbutton_box_get_type +guint +void + + +gtk_hbutton_box_new +GtkWidget * +void + + +gtk_hbutton_box_get_spacing_default +gint +void + + +gtk_hbutton_box_get_layout_default +GtkButtonBoxStyle +void + + +gtk_hbutton_box_set_spacing_default +void +gint spacing + + +gtk_hbutton_box_set_layout_default +void +GtkButtonBoxStyle layout + + +GTK_TYPE_HBOX +#define GTK_TYPE_HBOX (gtk_hbox_get_type ()) + + +GTK_HBOX +#define GTK_HBOX(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_HBOX, GtkHBox)) + + +GTK_HBOX_CLASS +#define GTK_HBOX_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_HBOX, GtkHBoxClass)) + + +GTK_IS_HBOX +#define GTK_IS_HBOX(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_HBOX)) + + +GTK_IS_HBOX_CLASS +#define GTK_IS_HBOX_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HBOX)) + + +GtkHBox + + +GtkHBoxClass + + +GtkHBox +struct GtkHBox +{ + GtkBox box; +}; + + +gtk_hbox_get_type +GtkType +void + + +gtk_hbox_new +GtkWidget * +gboolean homogeneous,gint spacing + + +GTK_HPANED +#define GTK_HPANED(obj) GTK_CHECK_CAST (obj, gtk_hpaned_get_type (), GtkHPaned) + + +GTK_HPANED_CLASS +#define GTK_HPANED_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_hpaned_get_type (), GtkHPanedClass) + + +GTK_IS_HPANED +#define GTK_IS_HPANED(obj) GTK_CHECK_TYPE (obj, gtk_hpaned_get_type ()) + + +GtkHPaned + + +GtkHPanedClass + + +GtkHPaned +struct GtkHPaned +{ + GtkPaned paned; +}; + + +gtk_hpaned_get_type +guint +void + + +gtk_hpaned_new +GtkWidget * +void + + +GTK_HRULER +#define GTK_HRULER(obj) GTK_CHECK_CAST (obj, gtk_hruler_get_type (), GtkHRuler) + + +GTK_HRULER_CLASS +#define GTK_HRULER_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_hruler_get_type (), GtkHRulerClass) + + +GTK_IS_HRULER +#define GTK_IS_HRULER(obj) GTK_CHECK_TYPE (obj, gtk_hruler_get_type ()) + + +GtkHRuler + + +GtkHRulerClass + + +GtkHRuler +struct GtkHRuler +{ + GtkRuler ruler; +}; + + +gtk_hruler_get_type +guint +void + + +gtk_hruler_new +GtkWidget * +void + + +GTK_TYPE_HSCALE +#define GTK_TYPE_HSCALE (gtk_hscale_get_type ()) + + +GTK_HSCALE +#define GTK_HSCALE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_HSCALE, GtkHScale)) + + +GTK_HSCALE_CLASS +#define GTK_HSCALE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSCALE, GtkHScaleClass)) + + +GTK_IS_HSCALE +#define GTK_IS_HSCALE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_HSCALE)) + + +GTK_IS_HSCALE_CLASS +#define GTK_IS_HSCALE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSCALE)) + + +GtkHScale + + +GtkHScaleClass + + +GtkHScale +struct GtkHScale +{ + GtkScale scale; +}; + + +gtk_hscale_get_type +GtkType +void + + +gtk_hscale_new +GtkWidget * +GtkAdjustment *adjustment + + +GTK_TYPE_HSCROLLBAR +#define GTK_TYPE_HSCROLLBAR (gtk_hscrollbar_get_type ()) + + +GTK_HSCROLLBAR +#define GTK_HSCROLLBAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_HSCROLLBAR, GtkHScrollbar)) + + +GTK_HSCROLLBAR_CLASS +#define GTK_HSCROLLBAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSCROLLBAR, GtkHScrollbarClass)) + + +GTK_IS_HSCROLLBAR +#define GTK_IS_HSCROLLBAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_HSCROLLBAR)) + + +GTK_IS_HSCROLLBAR_CLASS +#define GTK_IS_HSCROLLBAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSCROLLBAR)) + + +GtkHScrollbar + + +GtkHScrollbarClass + + +GtkHScrollbar +struct GtkHScrollbar +{ + GtkScrollbar scrollbar; +}; + + +gtk_hscrollbar_get_type +GtkType +void + + +gtk_hscrollbar_new +GtkWidget * +GtkAdjustment *adjustment + + +GTK_TYPE_HSEPARATOR +#define GTK_TYPE_HSEPARATOR (gtk_hseparator_get_type ()) + + +GTK_HSEPARATOR +#define GTK_HSEPARATOR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_HSEPARATOR, GtkHSeparator)) + + +GTK_HSEPARATOR_CLASS +#define GTK_HSEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSEPARATOR, GtkHSeparatorClass)) + + +GTK_IS_HSEPARATOR +#define GTK_IS_HSEPARATOR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_HSEPARATOR)) + + +GTK_IS_HSEPARATOR_CLASS +#define GTK_IS_HSEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSEPARATOR)) + + +GtkHSeparator + + +GtkHSeparatorClass + + +GtkHSeparator +struct GtkHSeparator +{ + GtkSeparator separator; +}; + + +gtk_hseparator_get_type +GtkType +void + + +gtk_hseparator_new +GtkWidget * +void + + +GTK_TYPE_IMAGE +#define GTK_TYPE_IMAGE (gtk_image_get_type ()) + + +GTK_IMAGE +#define GTK_IMAGE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_IMAGE, GtkImage)) + + +GTK_IMAGE_CLASS +#define GTK_IMAGE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_IMAGE, GtkImageClass)) + + +GTK_IS_IMAGE +#define GTK_IS_IMAGE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_IMAGE)) + + +GTK_IS_IMAGE_CLASS +#define GTK_IS_IMAGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IMAGE)) + + +GtkImage + + +GtkImageClass + + +GtkImage +struct GtkImage +{ + GtkMisc misc; + + GdkImage *image; + GdkBitmap *mask; +}; + + +gtk_image_get_type +GtkType +void + + +gtk_image_new +GtkWidget * +GdkImage *val,GdkBitmap *mask + + +gtk_image_set +void +GtkImage *image,GdkImage *val,GdkBitmap *mask + + +gtk_image_get +void +GtkImage *image,GdkImage **val,GdkBitmap **mask + + +GTK_TYPE_INPUT_DIALOG +#define GTK_TYPE_INPUT_DIALOG (gtk_input_dialog_get_type ()) + + +GTK_INPUT_DIALOG +#define GTK_INPUT_DIALOG(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_INPUT_DIALOG, GtkInputDialog)) + + +GTK_INPUT_DIALOG_CLASS +#define GTK_INPUT_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_INPUT_DIALOG, GtkInputDialogClass)) + + +GTK_IS_INPUT_DIALOG +#define GTK_IS_INPUT_DIALOG(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_INPUT_DIALOG)) + + +GTK_IS_INPUT_DIALOG_CLASS +#define GTK_IS_INPUT_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_INPUT_DIALOG)) + + +GtkInputDialog + + +GtkInputDialogClass + + +GtkInputDialog +struct GtkInputDialog +{ + GtkDialog dialog; + + GtkWidget *axis_list; + GtkWidget *axis_listbox; + GtkWidget *mode_optionmenu; + + GtkWidget *close_button; + GtkWidget *save_button; + + GtkWidget *axis_items[GDK_AXIS_LAST]; + guint32 current_device; + + GtkWidget *keys_list; + GtkWidget *keys_listbox; +}; + + +gtk_input_dialog_get_type +GtkType +void + + +gtk_input_dialog_new +GtkWidget * +void + + +GTK_TYPE_INVISIBLE +#define GTK_TYPE_INVISIBLE (gtk_invisible_get_type ()) + + +GTK_INVISIBLE +#define GTK_INVISIBLE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_INVISIBLE, GtkInvisible)) + + +GTK_INVISIBLE_CLASS +#define GTK_INVISIBLE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_INVISIBLE, GtkInvisibleClass)) + + +GTK_IS_INVISIBLE +#define GTK_IS_INVISIBLE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_INVISIBLE)) + + +GTK_IS_INVISIBLE_CLASS +#define GTK_IS_INVISIBLE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_INVISIBLE)) + + +GtkInvisible + + +GtkInvisibleClass + + +GtkInvisible +struct GtkInvisible +{ + GtkBin bin; +}; + + +gtk_invisible_get_type +GtkType +void + + +gtk_invisible_new +GtkWidget * +void + + +GTK_TYPE_ITEM +#define GTK_TYPE_ITEM (gtk_item_get_type ()) + + +GTK_ITEM +#define GTK_ITEM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ITEM, GtkItem)) + + +GTK_ITEM_CLASS +#define GTK_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ITEM, GtkItemClass)) + + +GTK_IS_ITEM +#define GTK_IS_ITEM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ITEM)) + + +GTK_IS_ITEM_CLASS +#define GTK_IS_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ITEM)) + + +GtkItem + + +GtkItemClass + + +GtkItem +struct GtkItem +{ + GtkBin bin; +}; + + +gtk_item_get_type +GtkType +void + + +gtk_item_select +void +GtkItem *item + + +gtk_item_deselect +void +GtkItem *item + + +gtk_item_toggle +void +GtkItem *item + + +GtkPrintFunc +void +gpointer func_data, + gchar *str + + +GtkTranslateFunc +gchar * +const gchar *path, + gpointer func_data + + +GtkItemFactoryCallback +void + + + +GtkItemFactoryCallback1 +void +gpointer callback_data, + guint callback_action, + GtkWidget *widget + + +GTK_TYPE_ITEM_FACTORY +#define GTK_TYPE_ITEM_FACTORY (gtk_item_factory_get_type ()) + + +GTK_ITEM_FACTORY +#define GTK_ITEM_FACTORY(object) (GTK_CHECK_CAST (object, GTK_TYPE_ITEM_FACTORY, GtkItemFactory)) + + +GTK_ITEM_FACTORY_CLASS +#define GTK_ITEM_FACTORY_CLASS(klass) (GTK_CHECK_CLASS_CAST (klass, GTK_TYPE_ITEM_FACTORY, GtkItemFactoryClass)) + + +GTK_IS_ITEM_FACTORY +#define GTK_IS_ITEM_FACTORY(object) (GTK_CHECK_TYPE (object, GTK_TYPE_ITEM_FACTORY)) + + +GTK_IS_ITEM_FACTORY_CLASS +#define GTK_IS_ITEM_FACTORY_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ITEM_FACTORY)) + + +GtkItemFactory + + +GtkItemFactoryClass + + +GtkItemFactoryEntry + + +GtkItemFactoryItem + + +GtkItemFactory +struct GtkItemFactory +{ + GtkObject object; + + gchar *path; + GtkAccelGroup *accel_group; + GtkWidget *widget; + GSList *items; + + GtkTranslateFunc translate_func; + gpointer translate_data; + GtkDestroyNotify translate_notify; +}; + + +GtkItemFactoryEntry +struct GtkItemFactoryEntry +{ + gchar *path; + gchar *accelerator; + + GtkItemFactoryCallback callback; + guint callback_action; + + /* possible values: + * NULL -> "" + * "" -> "" + * "" -> create a title item + * "<Item>" -> create a simple item + * "<CheckItem>" -> create a check item + * "<ToggleItem>" -> create a toggle item + * "<RadioItem>" -> create a radio item + * <path> -> path of a radio item to link against + * "<Separator>" -> create a separator + * "<Branch>" -> create an item to hold sub items + * "<LastBranch>" -> create a right justified item to hold sub items + */ + gchar *item_type; +}; +</STRUCT> +<STRUCT> +<NAME>GtkItemFactoryItem</NAME> +struct GtkItemFactoryItem +{ + gchar *path; + guint accelerator_key; + guint accelerator_mods; + guint modified : 1; + guint in_propagation : 1; + gchar *dummy; + + GSList *widgets; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_item_factory_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_new</NAME> +<RETURNS>GtkItemFactory *</RETURNS> +GtkType container_type,const gchar *path,GtkAccelGroup *accel_group +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_construct</NAME> +<RETURNS>void </RETURNS> +GtkItemFactory *ifactory,GtkType container_type,const gchar *path,GtkAccelGroup *accel_group +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_parse_rc</NAME> +<RETURNS>void </RETURNS> +const gchar *file_name +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_parse_rc_string</NAME> +<RETURNS>void </RETURNS> +const gchar *rc_string +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_parse_rc_scanner</NAME> +<RETURNS>void </RETURNS> +GScanner *scanner +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_add_foreign</NAME> +<RETURNS>void </RETURNS> +GtkWidget *accel_widget,const gchar *full_path,GtkAccelGroup *accel_group,guint keyval,GdkModifierType modifiers +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_from_widget</NAME> +<RETURNS>GtkItemFactory *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_path_from_widget</NAME> +<RETURNS>gchar *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_get_item</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkItemFactory *ifactory,const gchar *path +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_get_widget</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkItemFactory *ifactory,const gchar *path +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_get_widget_by_action</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkItemFactory *ifactory,guint action +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_get_item_by_action</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkItemFactory *ifactory,guint action +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_dump_items</NAME> +<RETURNS>void </RETURNS> +GtkPatternSpec *path_pspec,gboolean modified_only,GtkPrintFunc print_func,gpointer func_data +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_dump_rc</NAME> +<RETURNS>void </RETURNS> +const gchar *file_name,GtkPatternSpec *path_pspec,gboolean modified_only +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_print_func</NAME> +<RETURNS>void </RETURNS> +gpointer FILE_pointer,gchar *string +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_create_item</NAME> +<RETURNS>void </RETURNS> +GtkItemFactory *ifactory,GtkItemFactoryEntry *entry,gpointer callback_data,guint callback_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_create_items</NAME> +<RETURNS>void </RETURNS> +GtkItemFactory *ifactory,guint n_entries,GtkItemFactoryEntry *entries,gpointer callback_data +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_delete_item</NAME> +<RETURNS>void </RETURNS> +GtkItemFactory *ifactory,const gchar *path +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_delete_entry</NAME> +<RETURNS>void </RETURNS> +GtkItemFactory *ifactory,GtkItemFactoryEntry *entry +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_delete_entries</NAME> +<RETURNS>void </RETURNS> +GtkItemFactory *ifactory,guint n_entries,GtkItemFactoryEntry *entries +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_popup</NAME> +<RETURNS>void </RETURNS> +GtkItemFactory *ifactory,guint x,guint y,guint mouse_button,guint32 time +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_popup_with_data</NAME> +<RETURNS>void </RETURNS> +GtkItemFactory *ifactory,gpointer popup_data,GtkDestroyNotify destroy,guint x,guint y,guint mouse_button,guint32 time +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_popup_data</NAME> +<RETURNS>gpointer </RETURNS> +GtkItemFactory *ifactory +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_popup_data_from_widget</NAME> +<RETURNS>gpointer </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_set_translate_func</NAME> +<RETURNS>void </RETURNS> +GtkItemFactory *ifactory,GtkTranslateFunc func,gpointer data,GtkDestroyNotify notify +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_from_path</NAME> +<RETURNS>GtkItemFactory *</RETURNS> +const gchar *path +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_create_menu_entries</NAME> +<RETURNS>void </RETURNS> +guint n_entries,GtkMenuEntry *entries +</FUNCTION> +<FUNCTION> +<NAME>gtk_item_factories_path_delete</NAME> +<RETURNS>void </RETURNS> +const gchar *ifactory_path,const gchar *path +</FUNCTION> +<USER_FUNCTION> +<NAME>GtkItemFactoryCallback2</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget, + gpointer callback_data, + guint callback_action +</USER_FUNCTION> +<FUNCTION> +<NAME>gtk_item_factory_create_items_ac</NAME> +<RETURNS>void </RETURNS> +GtkItemFactory *ifactory,guint n_entries,GtkItemFactoryEntry *entries,gpointer callback_data,guint callback_type +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_LABEL</NAME> +#define GTK_TYPE_LABEL (gtk_label_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_LABEL</NAME> +#define GTK_LABEL(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_LABEL, GtkLabel)) +</MACRO> +<MACRO> +<NAME>GTK_LABEL_CLASS</NAME> +#define GTK_LABEL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_LABEL, GtkLabelClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_LABEL</NAME> +#define GTK_IS_LABEL(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_LABEL)) +</MACRO> +<MACRO> +<NAME>GTK_IS_LABEL_CLASS</NAME> +#define GTK_IS_LABEL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LABEL)) +</MACRO> +<STRUCT> +<NAME>GtkLabel</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkLabelClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkLabelWord</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkLabel</NAME> +struct GtkLabel +{ + GtkMisc misc; + + gchar *label; + GdkWChar *label_wc; + gchar *pattern; + + GtkLabelWord *words; + + guint max_width : 16; + guint jtype : 2; + gboolean wrap; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_label_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_label_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +const gchar *str +</FUNCTION> +<FUNCTION> +<NAME>gtk_label_set_text</NAME> +<RETURNS>void </RETURNS> +GtkLabel *label,const gchar *str +</FUNCTION> +<FUNCTION> +<NAME>gtk_label_set_justify</NAME> +<RETURNS>void </RETURNS> +GtkLabel *label,GtkJustification jtype +</FUNCTION> +<FUNCTION> +<NAME>gtk_label_set_pattern</NAME> +<RETURNS>void </RETURNS> +GtkLabel *label,const gchar *pattern +</FUNCTION> +<FUNCTION> +<NAME>gtk_label_set_line_wrap</NAME> +<RETURNS>void </RETURNS> +GtkLabel *label,gboolean wrap +</FUNCTION> +<FUNCTION> +<NAME>gtk_label_get</NAME> +<RETURNS>void </RETURNS> +GtkLabel *label,gchar **str +</FUNCTION> +<FUNCTION> +<NAME>gtk_label_parse_uline</NAME> +<RETURNS>guint </RETURNS> +GtkLabel *label,const gchar *string +</FUNCTION> +<MACRO> +<NAME>gtk_label_set</NAME> +# define gtk_label_set gtk_label_set_text +</MACRO> +<MACRO> +<NAME>GTK_TYPE_LAYOUT</NAME> +#define GTK_TYPE_LAYOUT (gtk_layout_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_LAYOUT</NAME> +#define GTK_LAYOUT(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_LAYOUT, GtkLayout)) +</MACRO> +<MACRO> +<NAME>GTK_LAYOUT_CLASS</NAME> +#define GTK_LAYOUT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_LAYOUT, GtkLayoutClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_LAYOUT</NAME> +#define GTK_IS_LAYOUT(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_LAYOUT)) +</MACRO> +<MACRO> +<NAME>GTK_IS_LAYOUT_CLASS</NAME> +#define GTK_IS_LAYOUT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LAYOUT)) +</MACRO> +<STRUCT> +<NAME>GtkLayout</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkLayoutClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkLayout</NAME> +struct GtkLayout { + GtkContainer container; + + GList *children; + + guint width; + guint height; + + guint xoffset; + guint yoffset; + + GtkAdjustment *hadjustment; + GtkAdjustment *vadjustment; + + GdkWindow *bin_window; + + GdkVisibilityState visibility; + gulong configure_serial; + gint scroll_x; + gint scroll_y; + + guint freeze_count; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_layout_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_layout_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkAdjustment *hadjustment,GtkAdjustment *vadjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_layout_put</NAME> +<RETURNS>void </RETURNS> +GtkLayout *layout,GtkWidget *widget,gint x,gint y +</FUNCTION> +<FUNCTION> +<NAME>gtk_layout_move</NAME> +<RETURNS>void </RETURNS> +GtkLayout *layout,GtkWidget *widget,gint x,gint y +</FUNCTION> +<FUNCTION> +<NAME>gtk_layout_set_size</NAME> +<RETURNS>void </RETURNS> +GtkLayout *layout,guint width,guint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_layout_get_hadjustment</NAME> +<RETURNS>GtkAdjustment *</RETURNS> +GtkLayout *layout +</FUNCTION> +<FUNCTION> +<NAME>gtk_layout_get_vadjustment</NAME> +<RETURNS>GtkAdjustment *</RETURNS> +GtkLayout *layout +</FUNCTION> +<FUNCTION> +<NAME>gtk_layout_set_hadjustment</NAME> +<RETURNS>void </RETURNS> +GtkLayout *layout,GtkAdjustment *adjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_layout_set_vadjustment</NAME> +<RETURNS>void </RETURNS> +GtkLayout *layout,GtkAdjustment *adjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_layout_freeze</NAME> +<RETURNS>void </RETURNS> +GtkLayout *layout +</FUNCTION> +<FUNCTION> +<NAME>gtk_layout_thaw</NAME> +<RETURNS>void </RETURNS> +GtkLayout *layout +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_LIST</NAME> +#define GTK_TYPE_LIST (gtk_list_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_LIST</NAME> +#define GTK_LIST(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_LIST, GtkList)) +</MACRO> +<MACRO> +<NAME>GTK_LIST_CLASS</NAME> +#define GTK_LIST_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST, GtkListClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_LIST</NAME> +#define GTK_IS_LIST(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_LIST)) +</MACRO> +<MACRO> +<NAME>GTK_IS_LIST_CLASS</NAME> +#define GTK_IS_LIST_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST)) +</MACRO> +<STRUCT> +<NAME>GtkList</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkListClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkList</NAME> +struct GtkList +{ + GtkContainer container; + + GList *children; + GList *selection; + + GList *undo_selection; + GList *undo_unselection; + + GtkWidget *last_focus_child; + GtkWidget *undo_focus_child; + + guint htimer; + guint vtimer; + + gint anchor; + gint drag_pos; + GtkStateType anchor_state; + + guint selection_mode : 2; + guint drag_selection:1; + guint add_mode:1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_list_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_insert_items</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GList *items,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_append_items</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GList *items +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_prepend_items</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GList *items +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_remove_items</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GList *items +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_remove_items_no_unref</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GList *items +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_clear_items</NAME> +<RETURNS>void </RETURNS> +GtkList *list,gint start,gint end +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_select_item</NAME> +<RETURNS>void </RETURNS> +GtkList *list,gint item +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_unselect_item</NAME> +<RETURNS>void </RETURNS> +GtkList *list,gint item +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_select_child</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_unselect_child</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_child_position</NAME> +<RETURNS>gint </RETURNS> +GtkList *list,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_set_selection_mode</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GtkSelectionMode mode +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_extend_selection</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GtkScrollType scroll_type,gfloat position,gboolean auto_start_selection +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_start_selection</NAME> +<RETURNS>void </RETURNS> +GtkList *list +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_end_selection</NAME> +<RETURNS>void </RETURNS> +GtkList *list +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_select_all</NAME> +<RETURNS>void </RETURNS> +GtkList *list +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_unselect_all</NAME> +<RETURNS>void </RETURNS> +GtkList *list +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_scroll_horizontal</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GtkScrollType scroll_type,gfloat position +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_scroll_vertical</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GtkScrollType scroll_type,gfloat position +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_toggle_add_mode</NAME> +<RETURNS>void </RETURNS> +GtkList *list +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_toggle_focus_row</NAME> +<RETURNS>void </RETURNS> +GtkList *list +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_toggle_row</NAME> +<RETURNS>void </RETURNS> +GtkList *list,GtkWidget *item +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_undo_selection</NAME> +<RETURNS>void </RETURNS> +GtkList *list +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_end_drag_selection</NAME> +<RETURNS>void </RETURNS> +GtkList *list +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_LIST_ITEM</NAME> +#define GTK_TYPE_LIST_ITEM (gtk_list_item_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_LIST_ITEM</NAME> +#define GTK_LIST_ITEM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_LIST_ITEM, GtkListItem)) +</MACRO> +<MACRO> +<NAME>GTK_LIST_ITEM_CLASS</NAME> +#define GTK_LIST_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST_ITEM, GtkListItemClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_LIST_ITEM</NAME> +#define GTK_IS_LIST_ITEM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_LIST_ITEM)) +</MACRO> +<MACRO> +<NAME>GTK_IS_LIST_ITEM_CLASS</NAME> +#define GTK_IS_LIST_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_ITEM)) +</MACRO> +<STRUCT> +<NAME>GtkListItem</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkListItemClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkListItem</NAME> +struct GtkListItem +{ + GtkItem item; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_list_item_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_item_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_item_new_with_label</NAME> +<RETURNS>GtkWidget *</RETURNS> +const gchar *label +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_item_select</NAME> +<RETURNS>void </RETURNS> +GtkListItem *list_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_list_item_deselect</NAME> +<RETURNS>void </RETURNS> +GtkListItem *list_item +</FUNCTION> +<MACRO> +<NAME>GTK_PRIORITY_REDRAW</NAME> +#define GTK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20) +</MACRO> +<MACRO> +<NAME>GTK_PRIORITY_RESIZE</NAME> +#define GTK_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 10) +</MACRO> +<MACRO> +<NAME>GTK_PRIORITY_HIGH</NAME> +#define GTK_PRIORITY_HIGH G_PRIORITY_HIGH +</MACRO> +<MACRO> +<NAME>GTK_PRIORITY_INTERNAL</NAME> +#define GTK_PRIORITY_INTERNAL GTK_PRIORITY_REDRAW +</MACRO> +<MACRO> +<NAME>GTK_PRIORITY_DEFAULT</NAME> +#define GTK_PRIORITY_DEFAULT G_PRIORITY_DEFAULT_IDLE +</MACRO> +<MACRO> +<NAME>GTK_PRIORITY_LOW</NAME> +#define GTK_PRIORITY_LOW G_PRIORITY_LOW +</MACRO> +<USER_FUNCTION> +<NAME>GtkModuleInitFunc</NAME> +<RETURNS>void </RETURNS> +gint *argc, + gchar ***argv +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkKeySnoopFunc</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *grab_widget, + GdkEventKey *event, + gpointer func_data +</USER_FUNCTION> +<VARIABLE> +<NAME>gtk_major_version</NAME> +extern const guint gtk_major_version; +</VARIABLE> +<VARIABLE> +<NAME>gtk_minor_version</NAME> +extern const guint gtk_minor_version; +</VARIABLE> +<VARIABLE> +<NAME>gtk_micro_version</NAME> +extern const guint gtk_micro_version; +</VARIABLE> +<VARIABLE> +<NAME>gtk_binary_age</NAME> +extern const guint gtk_binary_age; +</VARIABLE> +<VARIABLE> +<NAME>gtk_interface_age</NAME> +extern const guint gtk_interface_age; +</VARIABLE> +<FUNCTION> +<NAME>gtk_check_version</NAME> +<RETURNS>gchar *</RETURNS> +guint required_major,guint required_minor,guint required_micro +</FUNCTION> +<FUNCTION> +<NAME>gtk_init</NAME> +<RETURNS>void </RETURNS> +int *argc,char ***argv +</FUNCTION> +<FUNCTION> +<NAME>gtk_init_check</NAME> +<RETURNS>gboolean </RETURNS> +int *argc,char ***argv +</FUNCTION> +<FUNCTION> +<NAME>gtk_exit</NAME> +<RETURNS>void </RETURNS> +gint error_code +</FUNCTION> +<FUNCTION> +<NAME>gtk_set_locale</NAME> +<RETURNS>gchar *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_events_pending</NAME> +<RETURNS>gint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_main_do_event</NAME> +<RETURNS>void </RETURNS> +GdkEvent *event +</FUNCTION> +<FUNCTION> +<NAME>gtk_main</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_main_level</NAME> +<RETURNS>guint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_main_quit</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_main_iteration</NAME> +<RETURNS>gint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_main_iteration_do</NAME> +<RETURNS>gint </RETURNS> +gboolean blocking +</FUNCTION> +<FUNCTION> +<NAME>gtk_true</NAME> +<RETURNS>gint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_false</NAME> +<RETURNS>gint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_grab_add</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_grab_get_current</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_grab_remove</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_init_add</NAME> +<RETURNS>void </RETURNS> +GtkFunction function,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_quit_add_destroy</NAME> +<RETURNS>void </RETURNS> +guint main_level,GtkObject *object +</FUNCTION> +<FUNCTION> +<NAME>gtk_quit_add</NAME> +<RETURNS>guint </RETURNS> +guint main_level,GtkFunction function,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_quit_add_full</NAME> +<RETURNS>guint </RETURNS> +guint main_level,GtkFunction function,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify destroy +</FUNCTION> +<FUNCTION> +<NAME>gtk_quit_remove</NAME> +<RETURNS>void </RETURNS> +guint quit_handler_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_quit_remove_by_data</NAME> +<RETURNS>void </RETURNS> +gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_timeout_add</NAME> +<RETURNS>guint </RETURNS> +guint32 interval,GtkFunction function,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_timeout_add_full</NAME> +<RETURNS>guint </RETURNS> +guint32 interval,GtkFunction function,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify destroy +</FUNCTION> +<FUNCTION> +<NAME>gtk_timeout_remove</NAME> +<RETURNS>void </RETURNS> +guint timeout_handler_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_idle_add</NAME> +<RETURNS>guint </RETURNS> +GtkFunction function,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_idle_add_priority</NAME> +<RETURNS>guint </RETURNS> +gint priority,GtkFunction function,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_idle_add_full</NAME> +<RETURNS>guint </RETURNS> +gint priority,GtkFunction function,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify destroy +</FUNCTION> +<FUNCTION> +<NAME>gtk_idle_remove</NAME> +<RETURNS>void </RETURNS> +guint idle_handler_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_idle_remove_by_data</NAME> +<RETURNS>void </RETURNS> +gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_input_add_full</NAME> +<RETURNS>guint </RETURNS> +gint source,GdkInputCondition condition,GdkInputFunction function,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify destroy +</FUNCTION> +<FUNCTION> +<NAME>gtk_input_remove</NAME> +<RETURNS>void </RETURNS> +guint input_handler_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_key_snooper_install</NAME> +<RETURNS>guint </RETURNS> +GtkKeySnoopFunc snooper,gpointer func_data +</FUNCTION> +<FUNCTION> +<NAME>gtk_key_snooper_remove</NAME> +<RETURNS>void </RETURNS> +guint snooper_handler_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_get_current_event</NAME> +<RETURNS>GdkEvent *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_get_event_widget</NAME> +<RETURNS>GtkWidget *</RETURNS> +GdkEvent *event +</FUNCTION> +<FUNCTION> +<NAME>gtk_propagate_event</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GdkEvent *event +</FUNCTION> +<MACRO> +<NAME>gtk_signal_default_marshaller</NAME> +#define gtk_signal_default_marshaller gtk_marshal_NONE__NONE +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_BOOL__NONE</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_BOOL__POINTER</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_BOOL__POINTER_POINTER_INT_INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_BOOL__POINTER_INT_INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_BOOL__POINTER_INT_INT_UINT</NAME> +#define gtk_marshal_BOOL__POINTER_INT_INT_UINT gtk_marshal_BOOL__POINTER_INT_INT_INT +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_BOOL__POINTER_INT_INT_INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_BOOL__POINTER_STRING_STRING_POINTER</NAME> +#define gtk_marshal_BOOL__POINTER_STRING_STRING_POINTER gtk_marshal_BOOL__POINTER_POINTER_POINTER_POINTER +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_BOOL__POINTER_POINTER_POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_ENUM__ENUM</NAME> +#define gtk_marshal_ENUM__ENUM gtk_marshal_INT__INT +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_INT__INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_INT__POINTER</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_INT__POINTER_CHAR_CHAR</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_NONE__BOOL</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__BOXED</NAME> +#define gtk_marshal_NONE__BOXED gtk_marshal_NONE__POINTER +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__POINTER</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_NONE__C_CALLBACK</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_NONE__C_CALLBACK_C_CALLBACK</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__ENUM</NAME> +#define gtk_marshal_NONE__ENUM gtk_marshal_NONE__INT +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__ENUM_FLOAT</NAME> +#define gtk_marshal_NONE__ENUM_FLOAT gtk_marshal_NONE__INT_FLOAT +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__INT_FLOAT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__ENUM_FLOAT_BOOL</NAME> +#define gtk_marshal_NONE__ENUM_FLOAT_BOOL gtk_marshal_NONE__INT_FLOAT_BOOL +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__INT_FLOAT_BOOL</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_NONE__INT_INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_NONE__INT_INT_POINTER</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_NONE__NONE</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__OBJECT</NAME> +#define gtk_marshal_NONE__OBJECT gtk_marshal_NONE__POINTER +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__POINTER_INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_NONE__POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<FUNCTION> +<NAME>gtk_marshal_NONE__POINTER_POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__POINTER_STRING_STRING</NAME> +#define gtk_marshal_NONE__POINTER_STRING_STRING gtk_marshal_NONE__POINTER_POINTER_POINTER +</MACRO> +<MACRO> +<NAME>gtk_marshal_NONE__POINTER_UINT</NAME> +#define gtk_marshal_NONE__POINTER_UINT gtk_marshal_NONE__POINTER_INT +</MACRO> +<MACRO> +<NAME>gtk_marshal_NONE__POINTER_UINT_ENUM</NAME> +#define gtk_marshal_NONE__POINTER_UINT_ENUM gtk_marshal_NONE__POINTER_INT_INT +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__POINTER_INT_INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__POINTER_POINTER_UINT_UINT</NAME> +#define gtk_marshal_NONE__POINTER_POINTER_UINT_UINT gtk_marshal_NONE__POINTER_POINTER_INT_INT +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__POINTER_POINTER_INT_INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__POINTER_INT_INT_POINTER_UINT_UINT</NAME> +#define gtk_marshal_NONE__POINTER_INT_INT_POINTER_UINT_UINT gtk_marshal_NONE__POINTER_INT_INT_POINTER_INT_INT +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__POINTER_INT_INT_POINTER_INT_INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__POINTER_UINT_UINT</NAME> +#define gtk_marshal_NONE__POINTER_UINT_UINT gtk_marshal_NONE__POINTER_INT_INT +</MACRO> +<MACRO> +<NAME>gtk_marshal_NONE__STRING</NAME> +#define gtk_marshal_NONE__STRING gtk_marshal_NONE__POINTER +</MACRO> +<MACRO> +<NAME>gtk_marshal_NONE__STRING_INT_POINTER</NAME> +#define gtk_marshal_NONE__STRING_INT_POINTER gtk_marshal_NONE__POINTER_INT_POINTER +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__POINTER_INT_POINTER</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__UINT</NAME> +#define gtk_marshal_NONE__UINT gtk_marshal_NONE__INT +</MACRO> +<MACRO> +<NAME>gtk_marshal_NONE__UINT_POINTER_UINT_ENUM_ENUM_POINTER</NAME> +#define gtk_marshal_NONE__UINT_POINTER_UINT_ENUM_ENUM_POINTER gtk_marshal_NONE__INT_POINTER_INT_INT_INT_POINTER +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__INT_POINTER_INT_INT_INT_POINTER</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__UINT_POINTER_UINT_UINT_ENUM</NAME> +#define gtk_marshal_NONE__UINT_POINTER_UINT_UINT_ENUM gtk_marshal_NONE__INT_POINTER_INT_INT_INT +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__INT_POINTER_INT_INT_INT</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>gtk_marshal_NONE__UINT_STRING</NAME> +#define gtk_marshal_NONE__UINT_STRING gtk_marshal_NONE__INT_POINTER +</MACRO> +<FUNCTION> +<NAME>gtk_marshal_NONE__INT_POINTER</NAME> +<RETURNS>void </RETURNS> +GtkObject * object,GtkSignalFunc func,gpointer func_data,GtkArg * args +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_MENU</NAME> +#define GTK_TYPE_MENU (gtk_menu_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_MENU</NAME> +#define GTK_MENU(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_MENU, GtkMenu)) +</MACRO> +<MACRO> +<NAME>GTK_MENU_CLASS</NAME> +#define GTK_MENU_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU, GtkMenuClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_MENU</NAME> +#define GTK_IS_MENU(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_MENU)) +</MACRO> +<MACRO> +<NAME>GTK_IS_MENU_CLASS</NAME> +#define GTK_IS_MENU_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU)) +</MACRO> +<STRUCT> +<NAME>GtkMenu</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMenuClass</NAME> +</STRUCT> +<USER_FUNCTION> +<NAME>GtkMenuPositionFunc</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu, + gint *x, + gint *y, + gpointer user_data +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkMenuDetachFunc</NAME> +<RETURNS>void </RETURNS> +GtkWidget *attach_widget, + GtkMenu *menu +</USER_FUNCTION> +<STRUCT> +<NAME>GtkMenu</NAME> +struct GtkMenu +{ + GtkMenuShell menu_shell; + + GtkWidget *parent_menu_item; + GtkWidget *old_active_menu_item; + + GtkAccelGroup *accel_group; + GtkMenuPositionFunc position_func; + gpointer position_func_data; + + /* Do _not_ touch these widgets directly. We hide the reference + * count from the toplevel to the menu, so it must be restored + * before operating on these widgets + */ + GtkWidget *toplevel; + GtkWidget *tearoff_window; + + guint torn_off : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_menu_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_append</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_prepend</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_insert</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu,GtkWidget *child,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_popup</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu,GtkWidget *parent_menu_shell,GtkWidget *parent_menu_item,GtkMenuPositionFunc func,gpointer data,guint button,guint32 activate_time +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_reposition</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_popdown</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_get_active</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkMenu *menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_set_active</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu,guint index +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_set_accel_group</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu,GtkAccelGroup *accel_group +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_get_accel_group</NAME> +<RETURNS>GtkAccelGroup *</RETURNS> +GtkMenu *menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_get_uline_accel_group</NAME> +<RETURNS>GtkAccelGroup *</RETURNS> +GtkMenu *menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_ensure_uline_accel_group</NAME> +<RETURNS>GtkAccelGroup *</RETURNS> +GtkMenu *menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_attach_to_widget</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu,GtkWidget *attach_widget,GtkMenuDetachFunc detacher +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_detach</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_get_attach_widget</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkMenu *menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_detach</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_set_tearoff_state</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu,gboolean torn_off +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_set_title</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu,const gchar *title +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_reorder_child</NAME> +<RETURNS>void </RETURNS> +GtkMenu *menu,GtkWidget *child,gint position +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_MENU_BAR</NAME> +#define GTK_TYPE_MENU_BAR (gtk_menu_bar_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_MENU_BAR</NAME> +#define GTK_MENU_BAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_MENU_BAR, GtkMenuBar)) +</MACRO> +<MACRO> +<NAME>GTK_MENU_BAR_CLASS</NAME> +#define GTK_MENU_BAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_BAR, GtkMenuBarClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_MENU_BAR</NAME> +#define GTK_IS_MENU_BAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_MENU_BAR)) +</MACRO> +<MACRO> +<NAME>GTK_IS_MENU_BAR_CLASS</NAME> +#define GTK_IS_MENU_BAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_BAR)) +</MACRO> +<STRUCT> +<NAME>GtkMenuBar</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMenuBarClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMenuBar</NAME> +struct GtkMenuBar +{ + GtkMenuShell menu_shell; + + GtkShadowType shadow_type; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_menu_bar_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_bar_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_bar_append</NAME> +<RETURNS>void </RETURNS> +GtkMenuBar *menu_bar,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_bar_prepend</NAME> +<RETURNS>void </RETURNS> +GtkMenuBar *menu_bar,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_bar_insert</NAME> +<RETURNS>void </RETURNS> +GtkMenuBar *menu_bar,GtkWidget *child,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_bar_set_shadow_type</NAME> +<RETURNS>void </RETURNS> +GtkMenuBar *menu_bar,GtkShadowType type +</FUNCTION> +<STRUCT> +<NAME>GtkMenuEntry</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMenuPath</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMenuFactory</NAME> +</STRUCT> +<USER_FUNCTION> +<NAME>GtkMenuCallback</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget, + gpointer user_data +</USER_FUNCTION> +<STRUCT> +<NAME>GtkMenuEntry</NAME> +struct GtkMenuEntry +{ + gchar *path; + gchar *accelerator; + GtkMenuCallback callback; + gpointer callback_data; + GtkWidget *widget; +}; +</STRUCT> +<STRUCT> +<NAME>GtkMenuPath</NAME> +struct GtkMenuPath +{ + char *path; + GtkWidget *widget; +}; +</STRUCT> +<STRUCT> +<NAME>GtkMenuFactory</NAME> +struct GtkMenuFactory +{ + gchar *path; + GtkMenuFactoryType type; + GtkAccelGroup *accel_group; + GtkWidget *widget; + GList *subfactories; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_menu_factory_new</NAME> +<RETURNS>GtkMenuFactory *</RETURNS> +GtkMenuFactoryType type +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_factory_destroy</NAME> +<RETURNS>void </RETURNS> +GtkMenuFactory *factory +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_factory_add_entries</NAME> +<RETURNS>void </RETURNS> +GtkMenuFactory *factory,GtkMenuEntry *entries,int nentries +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_factory_add_subfactory</NAME> +<RETURNS>void </RETURNS> +GtkMenuFactory *factory,GtkMenuFactory *subfactory,const char *path +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_factory_remove_paths</NAME> +<RETURNS>void </RETURNS> +GtkMenuFactory *factory,char **paths,int npaths +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_factory_remove_entries</NAME> +<RETURNS>void </RETURNS> +GtkMenuFactory *factory,GtkMenuEntry *entries,int nentries +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_factory_remove_subfactory</NAME> +<RETURNS>void </RETURNS> +GtkMenuFactory *factory,GtkMenuFactory *subfactory,const char *path +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_factory_find</NAME> +<RETURNS>GtkMenuPath *</RETURNS> +GtkMenuFactory *factory,const char *path +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_MENU_ITEM</NAME> +#define GTK_TYPE_MENU_ITEM (gtk_menu_item_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_MENU_ITEM</NAME> +#define GTK_MENU_ITEM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_MENU_ITEM, GtkMenuItem)) +</MACRO> +<MACRO> +<NAME>GTK_MENU_ITEM_CLASS</NAME> +#define GTK_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_ITEM, GtkMenuItemClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_MENU_ITEM</NAME> +#define GTK_IS_MENU_ITEM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_MENU_ITEM)) +</MACRO> +<MACRO> +<NAME>GTK_IS_MENU_ITEM_CLASS</NAME> +#define GTK_IS_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_ITEM)) +</MACRO> +<STRUCT> +<NAME>GtkMenuItem</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMenuItemClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMenuItem</NAME> +struct GtkMenuItem +{ + GtkItem item; + + GtkWidget *submenu; + + guint accelerator_signal; + guint16 toggle_size; + guint16 accelerator_width; + + guint show_toggle_indicator : 1; + guint show_submenu_indicator : 1; + guint submenu_placement : 1; + guint submenu_direction : 1; + guint right_justify: 1; + guint timer; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_menu_item_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_item_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_item_new_with_label</NAME> +<RETURNS>GtkWidget *</RETURNS> +const gchar *label +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_item_set_submenu</NAME> +<RETURNS>void </RETURNS> +GtkMenuItem *menu_item,GtkWidget *submenu +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_item_remove_submenu</NAME> +<RETURNS>void </RETURNS> +GtkMenuItem *menu_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_item_set_placement</NAME> +<RETURNS>void </RETURNS> +GtkMenuItem *menu_item,GtkSubmenuPlacement placement +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_item_configure</NAME> +<RETURNS>void </RETURNS> +GtkMenuItem *menu_item,gint show_toggle_indicator,gint show_submenu_indicator +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_item_select</NAME> +<RETURNS>void </RETURNS> +GtkMenuItem *menu_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_item_deselect</NAME> +<RETURNS>void </RETURNS> +GtkMenuItem *menu_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_item_activate</NAME> +<RETURNS>void </RETURNS> +GtkMenuItem *menu_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_item_right_justify</NAME> +<RETURNS>void </RETURNS> +GtkMenuItem *menu_item +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_MENU_SHELL</NAME> +#define GTK_TYPE_MENU_SHELL (gtk_menu_shell_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_MENU_SHELL</NAME> +#define GTK_MENU_SHELL(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_MENU_SHELL, GtkMenuShell)) +</MACRO> +<MACRO> +<NAME>GTK_MENU_SHELL_CLASS</NAME> +#define GTK_MENU_SHELL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_SHELL, GtkMenuShellClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_MENU_SHELL</NAME> +#define GTK_IS_MENU_SHELL(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_MENU_SHELL)) +</MACRO> +<MACRO> +<NAME>GTK_IS_MENU_SHELL_CLASS</NAME> +#define GTK_IS_MENU_SHELL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_SHELL)) +</MACRO> +<STRUCT> +<NAME>GtkMenuShell</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMenuShellClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMenuShell</NAME> +struct GtkMenuShell +{ + GtkContainer container; + + GList *children; + GtkWidget *active_menu_item; + GtkWidget *parent_menu_shell; + + guint active : 1; + guint have_grab : 1; + guint have_xgrab : 1; + guint button : 2; + guint ignore_leave : 1; + guint menu_flag : 1; + guint ignore_enter : 1; + + guint32 activate_time; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_menu_shell_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_shell_append</NAME> +<RETURNS>void </RETURNS> +GtkMenuShell *menu_shell,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_shell_prepend</NAME> +<RETURNS>void </RETURNS> +GtkMenuShell *menu_shell,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_shell_insert</NAME> +<RETURNS>void </RETURNS> +GtkMenuShell *menu_shell,GtkWidget *child,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_shell_deactivate</NAME> +<RETURNS>void </RETURNS> +GtkMenuShell *menu_shell +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_shell_select_item</NAME> +<RETURNS>void </RETURNS> +GtkMenuShell *menu_shell,GtkWidget *menu_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_shell_deselect</NAME> +<RETURNS>void </RETURNS> +GtkMenuShell *menu_shell +</FUNCTION> +<FUNCTION> +<NAME>gtk_menu_shell_activate_item</NAME> +<RETURNS>void </RETURNS> +GtkMenuShell *menu_shell,GtkWidget *menu_item,gboolean force_deactivate +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_MISC</NAME> +#define GTK_TYPE_MISC (gtk_misc_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_MISC</NAME> +#define GTK_MISC(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_MISC, GtkMisc)) +</MACRO> +<MACRO> +<NAME>GTK_MISC_CLASS</NAME> +#define GTK_MISC_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_MISC, GtkMiscClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_MISC</NAME> +#define GTK_IS_MISC(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_MISC)) +</MACRO> +<MACRO> +<NAME>GTK_IS_MISC_CLASS</NAME> +#define GTK_IS_MISC_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MISC)) +</MACRO> +<STRUCT> +<NAME>GtkMisc</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMiscClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkMisc</NAME> +struct GtkMisc +{ + GtkWidget widget; + + gfloat xalign; + gfloat yalign; + + guint16 xpad; + guint16 ypad; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_misc_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_misc_set_alignment</NAME> +<RETURNS>void </RETURNS> +GtkMisc *misc,gfloat xalign,gfloat yalign +</FUNCTION> +<FUNCTION> +<NAME>gtk_misc_set_padding</NAME> +<RETURNS>void </RETURNS> +GtkMisc *misc,gint xpad,gint ypad +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_NOTEBOOK</NAME> +#define GTK_TYPE_NOTEBOOK (gtk_notebook_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_NOTEBOOK</NAME> +#define GTK_NOTEBOOK(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_NOTEBOOK, GtkNotebook)) +</MACRO> +<MACRO> +<NAME>GTK_NOTEBOOK_CLASS</NAME> +#define GTK_NOTEBOOK_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_NOTEBOOK, GtkNotebookClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_NOTEBOOK</NAME> +#define GTK_IS_NOTEBOOK(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_NOTEBOOK)) +</MACRO> +<MACRO> +<NAME>GTK_IS_NOTEBOOK_CLASS</NAME> +#define GTK_IS_NOTEBOOK_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_NOTEBOOK)) +</MACRO> +<MACRO> +<NAME>GTK_NOTEBOOK_PAGE</NAME> +#define GTK_NOTEBOOK_PAGE(_glist_) ((GtkNotebookPage *)((GList *)(_glist_))->data) +</MACRO> +<STRUCT> +<NAME>GtkNotebook</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkNotebookClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkNotebookPage</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkNotebook</NAME> +struct GtkNotebook +{ + GtkContainer container; + + GtkNotebookPage *cur_page; + GList *children; + GList *first_tab; + GList *focus_tab; + + GtkWidget *menu; + GdkWindow *panel; + + guint32 timer; + + guint16 tab_hborder; + guint16 tab_vborder; + + guint show_tabs : 1; + guint homogeneous : 1; + guint show_border : 1; + guint tab_pos : 2; + guint scrollable : 1; + guint in_child : 2; + guint click_child : 2; + guint button : 2; + guint need_timer : 1; + guint child_has_focus : 1; + guint have_visible_child : 1; +}; +</STRUCT> +<STRUCT> +<NAME>GtkNotebookPage</NAME> +struct GtkNotebookPage +{ + GtkWidget *child; + GtkWidget *tab_label; + GtkWidget *menu_label; + + guint default_menu : 1; + guint default_tab : 1; + guint expand : 1; + guint fill : 1; + guint pack : 1; + + GtkRequisition requisition; + GtkAllocation allocation; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_notebook_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_append_page</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,GtkWidget *tab_label +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_append_page_menu</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,GtkWidget *tab_label,GtkWidget *menu_label +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_prepend_page</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,GtkWidget *tab_label +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_prepend_page_menu</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,GtkWidget *tab_label,GtkWidget *menu_label +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_insert_page</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,GtkWidget *tab_label,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_insert_page_menu</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,GtkWidget *tab_label,GtkWidget *menu_label,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_remove_page</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,gint page_num +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_get_current_page</NAME> +<RETURNS>gint </RETURNS> +GtkNotebook *notebook +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_get_nth_page</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkNotebook *notebook,gint page_num +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_page_num</NAME> +<RETURNS>gint </RETURNS> +GtkNotebook *notebook,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_page</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,gint page_num +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_next_page</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_prev_page</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_show_border</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,gboolean show_border +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_show_tabs</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,gboolean show_tabs +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_tab_pos</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkPositionType pos +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_homogeneous_tabs</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,gboolean homogeneous +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_tab_border</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,guint border_width +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_tab_hborder</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,guint tab_hborder +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_tab_vborder</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,guint tab_vborder +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_scrollable</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,gboolean scrollable +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_popup_enable</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_popup_disable</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_get_tab_label</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkNotebook *notebook,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_tab_label</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,GtkWidget *tab_label +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_tab_label_text</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,const gchar *tab_text +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_get_menu_label</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkNotebook *notebook,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_menu_label</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,GtkWidget *menu_label +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_menu_label_text</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,const gchar *menu_text +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_query_tab_label_packing</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,gboolean *expand,gboolean *fill,GtkPackType *pack_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_set_tab_label_packing</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,gboolean expand,gboolean fill,GtkPackType pack_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_notebook_reorder_child</NAME> +<RETURNS>void </RETURNS> +GtkNotebook *notebook,GtkWidget *child,gint position +</FUNCTION> +<MACRO> +<NAME>GTK_OBJECT</NAME> +#define GTK_OBJECT(object) ( \ + GTK_IS_OBJECT (object) ? \ + (GtkObject*) (object) : \ + (GtkObject*) gtk_type_check_object_cast ((GtkTypeObject*) (object), GTK_TYPE_OBJECT) \ +) +</MACRO> +<MACRO> +<NAME>GTK_OBJECT_CLASS</NAME> +#define GTK_OBJECT_CLASS(klass) ( \ + GTK_IS_OBJECT_CLASS (klass) ? \ + (GtkObjectClass*) (klass) : \ + (GtkObjectClass*) gtk_type_check_class_cast ((GtkTypeClass*) (klass), GTK_TYPE_OBJECT) \ +) +</MACRO> +<MACRO> +<NAME>GTK_IS_OBJECT</NAME> +#define GTK_IS_OBJECT(object) ( \ + (object) != NULL && \ + GTK_IS_OBJECT_CLASS (((GtkObject*) (object))->klass) \ +) +</MACRO> +<MACRO> +<NAME>GTK_IS_OBJECT_CLASS</NAME> +#define GTK_IS_OBJECT_CLASS(klass) ( \ + (klass) != NULL && \ + GTK_FUNDAMENTAL_TYPE (((GtkObjectClass*) (klass))->type) == GTK_TYPE_OBJECT \ +) +</MACRO> +<MACRO> +<NAME>GTK_OBJECT_TYPE</NAME> +#define GTK_OBJECT_TYPE(obj) (GTK_OBJECT (obj)->klass->type) +</MACRO> +<MACRO> +<NAME>GTK_OBJECT_SIGNALS</NAME> +#define GTK_OBJECT_SIGNALS(obj) (GTK_OBJECT (obj)->klass->signals) +</MACRO> +<MACRO> +<NAME>GTK_OBJECT_NSIGNALS</NAME> +#define GTK_OBJECT_NSIGNALS(obj) (GTK_OBJECT (obj)->klass->nsignals) +</MACRO> +<ENUM> +<NAME>GtkObjectFlags</NAME> +typedef enum +{ + GTK_DESTROYED = 1 << 0, + GTK_FLOATING = 1 << 1, + GTK_CONNECTED = 1 << 2, + GTK_CONSTRUCTED = 1 << 3 +} GtkObjectFlags; +</ENUM> +<MACRO> +<NAME>GTK_OBJECT_FLAGS</NAME> +#define GTK_OBJECT_FLAGS(obj) (GTK_OBJECT (obj)->flags) +</MACRO> +<MACRO> +<NAME>GTK_OBJECT_DESTROYED</NAME> +#define GTK_OBJECT_DESTROYED(obj) ((GTK_OBJECT_FLAGS (obj) & GTK_DESTROYED) != 0) +</MACRO> +<MACRO> +<NAME>GTK_OBJECT_FLOATING</NAME> +#define GTK_OBJECT_FLOATING(obj) ((GTK_OBJECT_FLAGS (obj) & GTK_FLOATING) != 0) +</MACRO> +<MACRO> +<NAME>GTK_OBJECT_CONNECTED</NAME> +#define GTK_OBJECT_CONNECTED(obj) ((GTK_OBJECT_FLAGS (obj) & GTK_CONNECTED) != 0) +</MACRO> +<MACRO> +<NAME>GTK_OBJECT_CONSTRUCTED</NAME> +#define GTK_OBJECT_CONSTRUCTED(obj) ((GTK_OBJECT_FLAGS (obj) & GTK_CONSTRUCTED) != 0) +</MACRO> +<MACRO> +<NAME>GTK_OBJECT_SET_FLAGS</NAME> +#define GTK_OBJECT_SET_FLAGS(obj,flag) G_STMT_START{ (GTK_OBJECT_FLAGS (obj) |= (flag)); }G_STMT_END +</MACRO> +<MACRO> +<NAME>GTK_OBJECT_UNSET_FLAGS</NAME> +#define GTK_OBJECT_UNSET_FLAGS(obj,flag) G_STMT_START{ (GTK_OBJECT_FLAGS (obj) &= ~(flag)); }G_STMT_END +</MACRO> +<ENUM> +<NAME>GtkArgFlags</NAME> +typedef enum +{ + GTK_ARG_READABLE = 1 << 0, + GTK_ARG_WRITABLE = 1 << 1, + GTK_ARG_CONSTRUCT = 1 << 2, + GTK_ARG_CONSTRUCT_ONLY = 1 << 3, + GTK_ARG_CHILD_ARG = 1 << 4, + GTK_ARG_MASK = 0x1f, + + /* aliases + */ + GTK_ARG_READWRITE = GTK_ARG_READABLE | GTK_ARG_WRITABLE +} GtkArgFlags; +</ENUM> +<STRUCT> +<NAME>GtkObjectClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkObject</NAME> +struct GtkObject +{ + /* GtkTypeObject related fields: */ + GtkObjectClass *klass; + + + /* 32 bits of flags. GtkObject only uses 4 of these bits and + * GtkWidget uses the rest. This is done because structs are + * aligned on 4 or 8 byte boundaries. If a new bitfield were + * used in GtkWidget much space would be wasted. + */ + guint32 flags; + + /* reference count. + * refer to the file docs/refcounting.txt on this issue. + */ + guint ref_count; + + /* A list of keyed data pointers, used for e.g. the list of signal + * handlers or an object's user_data. + */ + GData *object_data; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_object_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_class_user_signal_new</NAME> +<RETURNS>guint </RETURNS> +GtkObjectClass *klass,const gchar *name,GtkSignalRunType signal_flags,GtkSignalMarshaller marshaller,GtkType return_val,guint nparams,... +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_class_user_signal_newv</NAME> +<RETURNS>guint </RETURNS> +GtkObjectClass *klass,const gchar *name,GtkSignalRunType signal_flags,GtkSignalMarshaller marshaller,GtkType return_val,guint nparams,GtkType *params +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_new</NAME> +<RETURNS>GtkObject *</RETURNS> +GtkType type,const gchar *first_arg_name,... +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_newv</NAME> +<RETURNS>GtkObject *</RETURNS> +GtkType object_type,guint n_args,GtkArg *args +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_default_construct</NAME> +<RETURNS>void </RETURNS> +GtkObject *object +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_constructed</NAME> +<RETURNS>void </RETURNS> +GtkObject *object +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_sink</NAME> +<RETURNS>void </RETURNS> +GtkObject *object +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_ref</NAME> +<RETURNS>void </RETURNS> +GtkObject *object +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_unref</NAME> +<RETURNS>void </RETURNS> +GtkObject *object +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_weakref</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GtkDestroyNotify notify,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_weakunref</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GtkDestroyNotify notify,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_destroy</NAME> +<RETURNS>void </RETURNS> +GtkObject *object +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_getv</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,guint n_args,GtkArg *args +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_get</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *first_arg_name,... +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_set</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *first_arg_name,... +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_setv</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,guint n_args,GtkArg *args +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_query_args</NAME> +<RETURNS>GtkArg *</RETURNS> +GtkType class_type,guint32 **arg_flags,guint *n_args +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_set_data</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *key,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_set_data_full</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *key,gpointer data,GtkDestroyNotify destroy +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_remove_data</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *key +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_get_data</NAME> +<RETURNS>gpointer </RETURNS> +GtkObject *object,const gchar *key +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_remove_no_notify</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *key +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_set_user_data</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_get_user_data</NAME> +<RETURNS>gpointer </RETURNS> +GtkObject *object +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_class_add_signals</NAME> +<RETURNS>void </RETURNS> +GtkObjectClass *klass,guint *signals,guint nsignals +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_add_arg_type</NAME> +<RETURNS>void </RETURNS> +const gchar *arg_name,GtkType arg_type,guint arg_flags,guint arg_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_set_data_by_id</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GQuark data_id,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_set_data_by_id_full</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GQuark data_id,gpointer data,GtkDestroyNotify destroy +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_get_data_by_id</NAME> +<RETURNS>gpointer </RETURNS> +GtkObject *object,GQuark data_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_remove_data_by_id</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GQuark data_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_remove_no_notify_by_id</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GQuark key_id +</FUNCTION> +<MACRO> +<NAME>gtk_object_data_try_key</NAME> +#define gtk_object_data_try_key g_quark_try_string +</MACRO> +<MACRO> +<NAME>gtk_object_data_force_id</NAME> +#define gtk_object_data_force_id g_quark_from_string +</MACRO> +<FUNCTION> +<NAME>gtk_object_arg_set</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GtkArg *arg,GtkArgInfo *info +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_arg_get</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GtkArg *arg,GtkArgInfo *info +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_args_collect</NAME> +<RETURNS>gchar *</RETURNS> +GtkType object_type,GSList **arg_list_p,GSList **info_list_p,const gchar *first_arg_name,va_list var_args +</FUNCTION> +<FUNCTION> +<NAME>gtk_object_arg_get_info</NAME> +<RETURNS>gchar *</RETURNS> +GtkType object_type,const gchar *arg_name,GtkArgInfo **info_p +</FUNCTION> +<FUNCTION> +<NAME>gtk_trace_referencing</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *func,guint dummy,guint line,gboolean do_ref +</FUNCTION> +<MACRO> +<NAME>gtk_object_ref</NAME> +# define gtk_object_ref(o) G_STMT_START{gtk_trace_referencing((o),G_GNUC_PRETTY_FUNCTION,0,__LINE__,1);}G_STMT_END +</MACRO> +<MACRO> +<NAME>gtk_object_unref</NAME> +# define gtk_object_unref(o) G_STMT_START{gtk_trace_referencing((o),G_GNUC_PRETTY_FUNCTION,0,__LINE__,0);}G_STMT_END +</MACRO> +<MACRO> +<NAME>GTK_TYPE_OPTION_MENU</NAME> +#define GTK_TYPE_OPTION_MENU (gtk_option_menu_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_OPTION_MENU</NAME> +#define GTK_OPTION_MENU(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_OPTION_MENU, GtkOptionMenu)) +</MACRO> +<MACRO> +<NAME>GTK_OPTION_MENU_CLASS</NAME> +#define GTK_OPTION_MENU_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_OPTION_MENU, GtkOptionMenuClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_OPTION_MENU</NAME> +#define GTK_IS_OPTION_MENU(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_OPTION_MENU)) +</MACRO> +<MACRO> +<NAME>GTK_IS_OPTION_MENU_CLASS</NAME> +#define GTK_IS_OPTION_MENU_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_OPTION_MENU)) +</MACRO> +<STRUCT> +<NAME>GtkOptionMenu</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkOptionMenuClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkOptionMenu</NAME> +struct GtkOptionMenu +{ + GtkButton button; + + GtkWidget *menu; + GtkWidget *menu_item; + + guint16 width; + guint16 height; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_option_menu_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_option_menu_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_option_menu_get_menu</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkOptionMenu *option_menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_option_menu_set_menu</NAME> +<RETURNS>void </RETURNS> +GtkOptionMenu *option_menu,GtkWidget *menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_option_menu_remove_menu</NAME> +<RETURNS>void </RETURNS> +GtkOptionMenu *option_menu +</FUNCTION> +<FUNCTION> +<NAME>gtk_option_menu_set_history</NAME> +<RETURNS>void </RETURNS> +GtkOptionMenu *option_menu,guint index +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_PACKER</NAME> +#define GTK_TYPE_PACKER (gtk_packer_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_PACKER</NAME> +#define GTK_PACKER(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_PACKER, GtkPacker)) +</MACRO> +<MACRO> +<NAME>GTK_PACKER_CLASS</NAME> +#define GTK_PACKER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_PACKER, GtkPackerClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_PACKER</NAME> +#define GTK_IS_PACKER(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_PACKER)) +</MACRO> +<MACRO> +<NAME>GTK_IS_PACKER_CLASS</NAME> +#define GTK_IS_PACKER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PACKER)) +</MACRO> +<STRUCT> +<NAME>GtkPacker</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPackerClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPackerChild</NAME> +</STRUCT> +<ENUM> +<NAME>GtkPackerOptions</NAME> +typedef enum +{ + GTK_PACK_EXPAND = 1 << 0, /*< nick=expand >*/ + GTK_FILL_X = 1 << 1, + GTK_FILL_Y = 1 << 2 +} GtkPackerOptions; +</ENUM> +<ENUM> +<NAME>GtkSideType</NAME> +typedef enum +{ + GTK_SIDE_TOP, + GTK_SIDE_BOTTOM, + GTK_SIDE_LEFT, + GTK_SIDE_RIGHT +} GtkSideType; +</ENUM> +<ENUM> +<NAME>GtkAnchorType</NAME> +typedef enum +{ + GTK_ANCHOR_CENTER, + GTK_ANCHOR_NORTH, + GTK_ANCHOR_NORTH_WEST, + GTK_ANCHOR_NORTH_EAST, + GTK_ANCHOR_SOUTH, + GTK_ANCHOR_SOUTH_WEST, + GTK_ANCHOR_SOUTH_EAST, + GTK_ANCHOR_WEST, + GTK_ANCHOR_EAST, + GTK_ANCHOR_N = GTK_ANCHOR_NORTH, + GTK_ANCHOR_NW = GTK_ANCHOR_NORTH_WEST, + GTK_ANCHOR_NE = GTK_ANCHOR_NORTH_EAST, + GTK_ANCHOR_S = GTK_ANCHOR_SOUTH, + GTK_ANCHOR_SW = GTK_ANCHOR_SOUTH_WEST, + GTK_ANCHOR_SE = GTK_ANCHOR_SOUTH_EAST, + GTK_ANCHOR_W = GTK_ANCHOR_WEST, + GTK_ANCHOR_E = GTK_ANCHOR_EAST +} GtkAnchorType; +</ENUM> +<STRUCT> +<NAME>GtkPackerChild</NAME> +struct GtkPackerChild +{ + GtkWidget *widget; + + GtkAnchorType anchor; + GtkSideType side; + GtkPackerOptions options; + + guint use_default : 1; + + guint border_width : 16; + guint pad_x : 16; + guint pad_y : 16; + guint i_pad_x : 16; + guint i_pad_y : 16; +}; +</STRUCT> +<STRUCT> +<NAME>GtkPacker</NAME> +struct GtkPacker +{ + GtkContainer parent; + + GList *children; + + guint spacing; + + guint default_border_width : 16; + guint default_pad_x : 16; + guint default_pad_y : 16; + guint default_i_pad_x : 16; + guint default_i_pad_y : 16; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_packer_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_packer_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_packer_add_defaults</NAME> +<RETURNS>void </RETURNS> +GtkPacker *packer,GtkWidget *child,GtkSideType side,GtkAnchorType anchor,GtkPackerOptions options +</FUNCTION> +<FUNCTION> +<NAME>gtk_packer_add</NAME> +<RETURNS>void </RETURNS> +GtkPacker *packer,GtkWidget *child,GtkSideType side,GtkAnchorType anchor,GtkPackerOptions options,guint border_width,guint pad_x,guint pad_y,guint i_pad_x,guint i_pad_y +</FUNCTION> +<FUNCTION> +<NAME>gtk_packer_set_child_packing</NAME> +<RETURNS>void </RETURNS> +GtkPacker *packer,GtkWidget *child,GtkSideType side,GtkAnchorType anchor,GtkPackerOptions options,guint border_width,guint pad_x,guint pad_y,guint i_pad_x,guint i_pad_y +</FUNCTION> +<FUNCTION> +<NAME>gtk_packer_reorder_child</NAME> +<RETURNS>void </RETURNS> +GtkPacker *packer,GtkWidget *child,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_packer_set_spacing</NAME> +<RETURNS>void </RETURNS> +GtkPacker *packer,guint spacing +</FUNCTION> +<FUNCTION> +<NAME>gtk_packer_set_default_border_width</NAME> +<RETURNS>void </RETURNS> +GtkPacker *packer,guint border +</FUNCTION> +<FUNCTION> +<NAME>gtk_packer_set_default_pad</NAME> +<RETURNS>void </RETURNS> +GtkPacker *packer,guint pad_x,guint pad_y +</FUNCTION> +<FUNCTION> +<NAME>gtk_packer_set_default_ipad</NAME> +<RETURNS>void </RETURNS> +GtkPacker *packer,guint i_pad_x,guint i_pad_y +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_PANED</NAME> +#define GTK_TYPE_PANED (gtk_paned_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_PANED</NAME> +#define GTK_PANED(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_PANED, GtkPaned)) +</MACRO> +<MACRO> +<NAME>GTK_PANED_CLASS</NAME> +#define GTK_PANED_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_PANED, GtkPanedClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_PANED</NAME> +#define GTK_IS_PANED(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_PANED)) +</MACRO> +<MACRO> +<NAME>GTK_IS_PANED_CLASS</NAME> +#define GTK_IS_PANED_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PANED)) +</MACRO> +<STRUCT> +<NAME>GtkPaned</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPanedClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPaned</NAME> +struct GtkPaned +{ + GtkContainer container; + + GtkWidget *child1; + GtkWidget *child2; + + GdkWindow *handle; + GdkRectangle groove_rectangle; + GdkGC *xor_gc; + + /*< public >*/ + guint16 handle_size; + guint16 gutter_size; + + /*< private >*/ + gint child1_size; + gint last_allocation; + gint min_position; + gint max_position; + + guint position_set : 1; + guint in_drag : 1; + guint child1_shrink : 1; + guint child1_resize : 1; + guint child2_shrink : 1; + guint child2_resize : 1; + + gint16 handle_xpos; + gint16 handle_ypos; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_paned_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_paned_add1</NAME> +<RETURNS>void </RETURNS> +GtkPaned *paned,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_paned_add2</NAME> +<RETURNS>void </RETURNS> +GtkPaned *paned,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_paned_pack1</NAME> +<RETURNS>void </RETURNS> +GtkPaned *paned,GtkWidget *child,gboolean resize,gboolean shrink +</FUNCTION> +<FUNCTION> +<NAME>gtk_paned_pack2</NAME> +<RETURNS>void </RETURNS> +GtkPaned *paned,GtkWidget *child,gboolean resize,gboolean shrink +</FUNCTION> +<FUNCTION> +<NAME>gtk_paned_set_position</NAME> +<RETURNS>void </RETURNS> +GtkPaned *paned,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_paned_set_handle_size</NAME> +<RETURNS>void </RETURNS> +GtkPaned *paned,guint16 size +</FUNCTION> +<FUNCTION> +<NAME>gtk_paned_set_gutter_size</NAME> +<RETURNS>void </RETURNS> +GtkPaned *paned,guint16 size +</FUNCTION> +<FUNCTION> +<NAME>gtk_paned_compute_position</NAME> +<RETURNS>void </RETURNS> +GtkPaned *paned,gint allocation,gint child1_req,gint child2_req +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_PIXMAP</NAME> +#define GTK_TYPE_PIXMAP (gtk_pixmap_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_PIXMAP</NAME> +#define GTK_PIXMAP(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_PIXMAP, GtkPixmap)) +</MACRO> +<MACRO> +<NAME>GTK_PIXMAP_CLASS</NAME> +#define GTK_PIXMAP_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_PIXMAP, GtkPixmapClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_PIXMAP</NAME> +#define GTK_IS_PIXMAP(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_PIXMAP)) +</MACRO> +<MACRO> +<NAME>GTK_IS_PIXMAP_CLASS</NAME> +#define GTK_IS_PIXMAP_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PIXMAP)) +</MACRO> +<STRUCT> +<NAME>GtkPixmap</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPixmapClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPixmap</NAME> +struct GtkPixmap +{ + GtkMisc misc; + + GdkPixmap *pixmap; + GdkBitmap *mask; + + GdkPixmap *pixmap_insensitive; + guint build_insensitive : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_pixmap_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_pixmap_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GdkPixmap *pixmap,GdkBitmap *mask +</FUNCTION> +<FUNCTION> +<NAME>gtk_pixmap_set</NAME> +<RETURNS>void </RETURNS> +GtkPixmap *pixmap,GdkPixmap *val,GdkBitmap *mask +</FUNCTION> +<FUNCTION> +<NAME>gtk_pixmap_get</NAME> +<RETURNS>void </RETURNS> +GtkPixmap *pixmap,GdkPixmap **val,GdkBitmap **mask +</FUNCTION> +<FUNCTION> +<NAME>gtk_pixmap_set_build_insensitive</NAME> +<RETURNS>void </RETURNS> +GtkPixmap *pixmap,guint build +</FUNCTION> +<MACRO> +<NAME>GTK_PLUG</NAME> +#define GTK_PLUG(obj) GTK_CHECK_CAST (obj, gtk_plug_get_type (), GtkPlug) +</MACRO> +<MACRO> +<NAME>GTK_PLUG_CLASS</NAME> +#define GTK_PLUG_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_plug_get_type (), GtkPlugClass) +</MACRO> +<MACRO> +<NAME>GTK_IS_PLUG</NAME> +#define GTK_IS_PLUG(obj) GTK_CHECK_TYPE (obj, gtk_plug_get_type ()) +</MACRO> +<STRUCT> +<NAME>GtkPlug</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPlugClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPlug</NAME> +struct GtkPlug +{ + GtkWindow window; + + GdkWindow *socket_window; + gint same_app; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_plug_get_type</NAME> +<RETURNS>guint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_plug_construct</NAME> +<RETURNS>void </RETURNS> +GtkPlug *plug, guint32 socket_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_plug_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +guint32 socket_id +</FUNCTION> +<MACRO> +<NAME>GTK_PREVIEW</NAME> +#define GTK_PREVIEW(obj) GTK_CHECK_CAST (obj, gtk_preview_get_type (), GtkPreview) +</MACRO> +<MACRO> +<NAME>GTK_PREVIEW_CLASS</NAME> +#define GTK_PREVIEW_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_preview_get_type (), GtkPreviewClass) +</MACRO> +<MACRO> +<NAME>GTK_IS_PREVIEW</NAME> +#define GTK_IS_PREVIEW(obj) GTK_CHECK_TYPE (obj, gtk_preview_get_type ()) +</MACRO> +<STRUCT> +<NAME>GtkPreview</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPreviewInfo</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPreviewClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPreview</NAME> +struct GtkPreview +{ + GtkWidget widget; + + guchar *buffer; + guint16 buffer_width; + guint16 buffer_height; + + guint16 bpp; + guint16 rowstride; + + GdkRgbDither dither; + + guint type : 1; + guint expand : 1; +}; +</STRUCT> +<STRUCT> +<NAME>GtkPreviewInfo</NAME> +struct GtkPreviewInfo +{ + GdkVisual *visual; + GdkColormap *cmap; + + guchar *lookup; + + gdouble gamma; +}; +</STRUCT> +<UNION> +<NAME>GtkDitherInfo</NAME> +union GtkDitherInfo +{ + gushort s[2]; + guchar c[4]; +}; +</UNION> +<FUNCTION> +<NAME>gtk_preview_get_type</NAME> +<RETURNS>guint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_uninit</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkPreviewType type +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_size</NAME> +<RETURNS>void </RETURNS> +GtkPreview *preview,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_put</NAME> +<RETURNS>void </RETURNS> +GtkPreview *preview,GdkWindow *window,GdkGC *gc,gint srcx,gint srcy,gint destx,gint desty,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_draw_row</NAME> +<RETURNS>void </RETURNS> +GtkPreview *preview,guchar *data,gint x,gint y,gint w +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_set_expand</NAME> +<RETURNS>void </RETURNS> +GtkPreview *preview,gint expand +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_set_gamma</NAME> +<RETURNS>void </RETURNS> +double gamma +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_set_color_cube</NAME> +<RETURNS>void </RETURNS> +guint nred_shades,guint ngreen_shades,guint nblue_shades,guint ngray_shades +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_set_install_cmap</NAME> +<RETURNS>void </RETURNS> +gint install_cmap +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_set_reserved</NAME> +<RETURNS>void </RETURNS> +gint nreserved +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_set_dither</NAME> +<RETURNS>void </RETURNS> +GtkPreview *preview,GdkRgbDither dither +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_get_visual</NAME> +<RETURNS>GdkVisual *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_get_cmap</NAME> +<RETURNS>GdkColormap *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_get_info</NAME> +<RETURNS>GtkPreviewInfo *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_preview_reset</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<ENUM> +<NAME>GtkPrivateFlags</NAME> +typedef enum +{ + PRIVATE_GTK_USER_STYLE = 1 << 0, + PRIVATE_GTK_REDRAW_PENDING = 1 << 1, + PRIVATE_GTK_RESIZE_PENDING = 1 << 2, + PRIVATE_GTK_RESIZE_NEEDED = 1 << 3, + PRIVATE_GTK_LEAVE_PENDING = 1 << 4, + PRIVATE_GTK_HAS_SHAPE_MASK = 1 << 5, + PRIVATE_GTK_IN_REPARENT = 1 << 6, + PRIVATE_GTK_IS_OFFSCREEN = 1 << 7 +} GtkPrivateFlags; +</ENUM> +<MACRO> +<NAME>GTK_PRIVATE_FLAGS</NAME> +#define GTK_PRIVATE_FLAGS(wid) (GTK_WIDGET (wid)->private_flags) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_USER_STYLE</NAME> +#define GTK_WIDGET_USER_STYLE(obj) ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_USER_STYLE) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_REDRAW_PENDING</NAME> +#define GTK_WIDGET_REDRAW_PENDING(obj) ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_REDRAW_PENDING) != 0) +</MACRO> +<MACRO> +<NAME>GTK_CONTAINER_RESIZE_PENDING</NAME> +#define GTK_CONTAINER_RESIZE_PENDING(obj) ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_RESIZE_PENDING) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_RESIZE_NEEDED</NAME> +#define GTK_WIDGET_RESIZE_NEEDED(obj) ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_RESIZE_NEEDED) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_LEAVE_PENDING</NAME> +#define GTK_WIDGET_LEAVE_PENDING(obj) ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_LEAVE_PENDING) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_HAS_SHAPE_MASK</NAME> +#define GTK_WIDGET_HAS_SHAPE_MASK(obj) ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_HAS_SHAPE_MASK) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_IN_REPARENT</NAME> +#define GTK_WIDGET_IN_REPARENT(obj) ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_IN_REPARENT) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_IS_OFFSCREEN</NAME> +#define GTK_WIDGET_IS_OFFSCREEN(obj) ((GTK_PRIVATE_FLAGS (obj) & PRIVATE_GTK_IS_OFFSCREEN) != 0) +</MACRO> +<MACRO> +<NAME>GTK_PRIVATE_SET_FLAG</NAME> +#define GTK_PRIVATE_SET_FLAG(wid,flag) G_STMT_START{ (GTK_PRIVATE_FLAGS (wid) |= (PRIVATE_ ## flag)); }G_STMT_END +</MACRO> +<MACRO> +<NAME>GTK_PRIVATE_UNSET_FLAG</NAME> +#define GTK_PRIVATE_UNSET_FLAG(wid,flag) G_STMT_START{ (GTK_PRIVATE_FLAGS (wid) &= ~(PRIVATE_ ## flag)); }G_STMT_END +</MACRO> +<MACRO> +<NAME>GTK_TYPE_PROGRESS</NAME> +#define GTK_TYPE_PROGRESS (gtk_progress_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_PROGRESS</NAME> +#define GTK_PROGRESS(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_PROGRESS, GtkProgress)) +</MACRO> +<MACRO> +<NAME>GTK_PROGRESS_CLASS</NAME> +#define GTK_PROGRESS_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_PROGRESS, GtkProgressClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_PROGRESS</NAME> +#define GTK_IS_PROGRESS(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_PROGRESS)) +</MACRO> +<MACRO> +<NAME>GTK_IS_PROGRESS_CLASS</NAME> +#define GTK_IS_PROGRESS_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PROGRESS)) +</MACRO> +<STRUCT> +<NAME>GtkProgress</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkProgressClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkProgress</NAME> +struct GtkProgress +{ + GtkWidget widget; + + GtkAdjustment *adjustment; + GdkPixmap *offscreen_pixmap; + gchar *format; + gfloat x_align; + gfloat y_align; + + guint show_text : 1; + guint activity_mode : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_progress_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_set_show_text</NAME> +<RETURNS>void </RETURNS> +GtkProgress *progress,gint show_text +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_set_text_alignment</NAME> +<RETURNS>void </RETURNS> +GtkProgress *progress,gfloat x_align,gfloat y_align +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_set_format_string</NAME> +<RETURNS>void </RETURNS> +GtkProgress *progress,gchar *format +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_set_adjustment</NAME> +<RETURNS>void </RETURNS> +GtkProgress *progress,GtkAdjustment *adjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_configure</NAME> +<RETURNS>void </RETURNS> +GtkProgress *progress,gfloat value,gfloat min,gfloat max +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_set_percentage</NAME> +<RETURNS>void </RETURNS> +GtkProgress *progress,gfloat percentage +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_set_value</NAME> +<RETURNS>void </RETURNS> +GtkProgress *progress,gfloat value +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_get_value</NAME> +<RETURNS>gfloat </RETURNS> +GtkProgress *progress +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_set_activity_mode</NAME> +<RETURNS>void </RETURNS> +GtkProgress *progress,guint activity_mode +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_get_current_text</NAME> +<RETURNS>gchar *</RETURNS> +GtkProgress *progress +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_get_text_from_value</NAME> +<RETURNS>gchar *</RETURNS> +GtkProgress *progress,gfloat value +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_get_current_percentage</NAME> +<RETURNS>gfloat </RETURNS> +GtkProgress *progress +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_get_percentage_from_value</NAME> +<RETURNS>gfloat </RETURNS> +GtkProgress *progress,gfloat value +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_PROGRESS_BAR</NAME> +#define GTK_TYPE_PROGRESS_BAR (gtk_progress_bar_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_PROGRESS_BAR</NAME> +#define GTK_PROGRESS_BAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_PROGRESS_BAR, GtkProgressBar)) +</MACRO> +<MACRO> +<NAME>GTK_PROGRESS_BAR_CLASS</NAME> +#define GTK_PROGRESS_BAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_PROGRESS_BAR, GtkProgressBarClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_PROGRESS_BAR</NAME> +#define GTK_IS_PROGRESS_BAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_PROGRESS_BAR)) +</MACRO> +<MACRO> +<NAME>GTK_IS_PROGRESS_BAR_CLASS</NAME> +#define GTK_IS_PROGRESS_BAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PROGRESS_BAR)) +</MACRO> +<STRUCT> +<NAME>GtkProgressBar</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkProgressBarClass</NAME> +</STRUCT> +<ENUM> +<NAME>GtkProgressBarStyle</NAME> +typedef enum +{ + GTK_PROGRESS_CONTINUOUS, + GTK_PROGRESS_DISCRETE +} GtkProgressBarStyle; +</ENUM> +<ENUM> +<NAME>GtkProgressBarOrientation</NAME> +typedef enum +{ + GTK_PROGRESS_LEFT_TO_RIGHT, + GTK_PROGRESS_RIGHT_TO_LEFT, + GTK_PROGRESS_BOTTOM_TO_TOP, + GTK_PROGRESS_TOP_TO_BOTTOM +} GtkProgressBarOrientation; +</ENUM> +<STRUCT> +<NAME>GtkProgressBar</NAME> +struct GtkProgressBar +{ + GtkProgress progress; + + GtkProgressBarStyle bar_style; + GtkProgressBarOrientation orientation; + + guint blocks; + gint in_block; + + gint activity_pos; + guint activity_step; + guint activity_blocks; + guint activity_dir : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_progress_bar_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_bar_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_bar_new_with_adjustment</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkAdjustment *adjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_bar_set_bar_style</NAME> +<RETURNS>void </RETURNS> +GtkProgressBar *pbar,GtkProgressBarStyle style +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_bar_set_discrete_blocks</NAME> +<RETURNS>void </RETURNS> +GtkProgressBar *pbar,guint blocks +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_bar_set_activity_step</NAME> +<RETURNS>void </RETURNS> +GtkProgressBar *pbar,guint step +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_bar_set_activity_blocks</NAME> +<RETURNS>void </RETURNS> +GtkProgressBar *pbar,guint blocks +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_bar_set_orientation</NAME> +<RETURNS>void </RETURNS> +GtkProgressBar *pbar,GtkProgressBarOrientation orientation +</FUNCTION> +<FUNCTION> +<NAME>gtk_progress_bar_update</NAME> +<RETURNS>void </RETURNS> +GtkProgressBar *pbar,gfloat percentage +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_RADIO_BUTTON</NAME> +#define GTK_TYPE_RADIO_BUTTON (gtk_radio_button_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_RADIO_BUTTON</NAME> +#define GTK_RADIO_BUTTON(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_RADIO_BUTTON, GtkRadioButton)) +</MACRO> +<MACRO> +<NAME>GTK_RADIO_BUTTON_CLASS</NAME> +#define GTK_RADIO_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_RADIO_BUTTON, GtkRadioButtonClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_RADIO_BUTTON</NAME> +#define GTK_IS_RADIO_BUTTON(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_RADIO_BUTTON)) +</MACRO> +<MACRO> +<NAME>GTK_IS_RADIO_BUTTON_CLASS</NAME> +#define GTK_IS_RADIO_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RADIO_BUTTON)) +</MACRO> +<STRUCT> +<NAME>GtkRadioButton</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkRadioButtonClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkRadioButton</NAME> +struct GtkRadioButton +{ + GtkCheckButton check_button; + + GSList *group; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_radio_button_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_radio_button_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GSList *group +</FUNCTION> +<FUNCTION> +<NAME>gtk_radio_button_new_from_widget</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkRadioButton *group +</FUNCTION> +<FUNCTION> +<NAME>gtk_radio_button_new_with_label</NAME> +<RETURNS>GtkWidget *</RETURNS> +GSList *group,const gchar *label +</FUNCTION> +<FUNCTION> +<NAME>gtk_radio_button_new_with_label_from_widget</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkRadioButton *group,const gchar *label +</FUNCTION> +<FUNCTION> +<NAME>gtk_radio_button_group</NAME> +<RETURNS>GSList *</RETURNS> +GtkRadioButton *radio_button +</FUNCTION> +<FUNCTION> +<NAME>gtk_radio_button_set_group</NAME> +<RETURNS>void </RETURNS> +GtkRadioButton *radio_button,GSList *group +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_RADIO_MENU_ITEM</NAME> +#define GTK_TYPE_RADIO_MENU_ITEM (gtk_radio_menu_item_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_RADIO_MENU_ITEM</NAME> +#define GTK_RADIO_MENU_ITEM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_RADIO_MENU_ITEM, GtkRadioMenuItem)) +</MACRO> +<MACRO> +<NAME>GTK_RADIO_MENU_ITEM_CLASS</NAME> +#define GTK_RADIO_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_RADIO_MENU_ITEM, GtkRadioMenuItemClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_RADIO_MENU_ITEM</NAME> +#define GTK_IS_RADIO_MENU_ITEM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_RADIO_MENU_ITEM)) +</MACRO> +<MACRO> +<NAME>GTK_IS_RADIO_MENU_ITEM_CLASS</NAME> +#define GTK_IS_RADIO_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RADIO_MENU_ITEM)) +</MACRO> +<STRUCT> +<NAME>GtkRadioMenuItem</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkRadioMenuItemClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkRadioMenuItem</NAME> +struct GtkRadioMenuItem +{ + GtkCheckMenuItem check_menu_item; + + GSList *group; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_radio_menu_item_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_radio_menu_item_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GSList *group +</FUNCTION> +<FUNCTION> +<NAME>gtk_radio_menu_item_new_with_label</NAME> +<RETURNS>GtkWidget *</RETURNS> +GSList *group,const gchar *label +</FUNCTION> +<FUNCTION> +<NAME>gtk_radio_menu_item_group</NAME> +<RETURNS>GSList *</RETURNS> +GtkRadioMenuItem *radio_menu_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_radio_menu_item_set_group</NAME> +<RETURNS>void </RETURNS> +GtkRadioMenuItem *radio_menu_item,GSList *group +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_RANGE</NAME> +#define GTK_TYPE_RANGE (gtk_range_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_RANGE</NAME> +#define GTK_RANGE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_RANGE, GtkRange)) +</MACRO> +<MACRO> +<NAME>GTK_RANGE_CLASS</NAME> +#define GTK_RANGE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_RANGE, GtkRangeClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_RANGE</NAME> +#define GTK_IS_RANGE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_RANGE)) +</MACRO> +<MACRO> +<NAME>GTK_IS_RANGE_CLASS</NAME> +#define GTK_IS_RANGE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RANGE)) +</MACRO> +<STRUCT> +<NAME>GtkRange</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkRangeClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkRange</NAME> +struct GtkRange +{ + GtkWidget widget; + + GdkWindow *trough; + GdkWindow *slider; + GdkWindow *step_forw; + GdkWindow *step_back; + + gint16 x_click_point; + gint16 y_click_point; + + guint8 button; + gint8 digits; + guint policy : 2; + guint scroll_type : 3; + guint in_child : 3; + guint click_child : 3; + guint need_timer : 1; + + guint32 timer; + + gfloat old_value; + gfloat old_lower; + gfloat old_upper; + gfloat old_page_size; + + GtkAdjustment *adjustment; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_range_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_get_adjustment</NAME> +<RETURNS>GtkAdjustment *</RETURNS> +GtkRange *range +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_set_update_policy</NAME> +<RETURNS>void </RETURNS> +GtkRange *range,GtkUpdateType policy +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_set_adjustment</NAME> +<RETURNS>void </RETURNS> +GtkRange *range,GtkAdjustment *adjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_draw_background</NAME> +<RETURNS>void </RETURNS> +GtkRange *range +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_clear_background</NAME> +<RETURNS>void </RETURNS> +GtkRange *range +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_draw_trough</NAME> +<RETURNS>void </RETURNS> +GtkRange *range +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_draw_slider</NAME> +<RETURNS>void </RETURNS> +GtkRange *range +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_draw_step_forw</NAME> +<RETURNS>void </RETURNS> +GtkRange *range +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_draw_step_back</NAME> +<RETURNS>void </RETURNS> +GtkRange *range +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_slider_update</NAME> +<RETURNS>void </RETURNS> +GtkRange *range +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_trough_click</NAME> +<RETURNS>gint </RETURNS> +GtkRange *range,gint x,gint y,gfloat *jump_perc +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_default_hslider_update</NAME> +<RETURNS>void </RETURNS> +GtkRange *range +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_default_vslider_update</NAME> +<RETURNS>void </RETURNS> +GtkRange *range +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_default_htrough_click</NAME> +<RETURNS>gint </RETURNS> +GtkRange *range,gint x,gint y,gfloat *jump_perc +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_default_vtrough_click</NAME> +<RETURNS>gint </RETURNS> +GtkRange *range,gint x,gint y,gfloat *jump_perc +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_default_hmotion</NAME> +<RETURNS>void </RETURNS> +GtkRange *range,gint xdelta,gint ydelta +</FUNCTION> +<FUNCTION> +<NAME>gtk_range_default_vmotion</NAME> +<RETURNS>void </RETURNS> +GtkRange *range,gint xdelta,gint ydelta +</FUNCTION> +<ENUM> +<NAME>GtkRcFlags</NAME> +typedef enum { + GTK_RC_FG = 1 << 0, + GTK_RC_BG = 1 << 1, + GTK_RC_TEXT = 1 << 2, + GTK_RC_BASE = 1 << 3 +} GtkRcFlags; +</ENUM> +<STRUCT> +<NAME>GtkRcStyle</NAME> +struct GtkRcStyle +{ + gchar *name; + gchar *font_name; + gchar *fontset_name; + gchar *bg_pixmap_name[5]; + + GtkRcFlags color_flags[5]; + GdkColor fg[5]; + GdkColor bg[5]; + GdkColor text[5]; + GdkColor base[5]; + + GtkThemeEngine *engine; + gpointer engine_data; + + /* Private */ + guint ref_count; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_rc_init</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_add_default_file</NAME> +<RETURNS>void </RETURNS> +const gchar *filename +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_set_default_files</NAME> +<RETURNS>void </RETURNS> +gchar **filenames +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_get_default_files</NAME> +<RETURNS>gchar **</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_parse</NAME> +<RETURNS>void </RETURNS> +const gchar *filename +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_parse_string</NAME> +<RETURNS>void </RETURNS> +const gchar *rc_string +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_reparse_all</NAME> +<RETURNS>gboolean </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_get_style</NAME> +<RETURNS>GtkStyle *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_add_widget_name_style</NAME> +<RETURNS>void </RETURNS> +GtkRcStyle *rc_style,const gchar *pattern +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_add_widget_class_style</NAME> +<RETURNS>void </RETURNS> +GtkRcStyle *rc_style,const gchar *pattern +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_add_class_style</NAME> +<RETURNS>void </RETURNS> +GtkRcStyle *rc_style,const gchar *pattern +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_style_new</NAME> +<RETURNS>GtkRcStyle *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_style_ref</NAME> +<RETURNS>void </RETURNS> +GtkRcStyle *rc_style +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_style_unref</NAME> +<RETURNS>void </RETURNS> +GtkRcStyle *rc_style +</FUNCTION> +<USER_FUNCTION> +<NAME>GtkImageLoader</NAME> +<RETURNS>GdkPixmap *</RETURNS> +GdkWindow *window, + GdkColormap *colormap, + GdkBitmap **mask, + GdkColor *transparent_color, + const gchar *filename +</USER_FUNCTION> +<FUNCTION> +<NAME>gtk_rc_set_image_loader</NAME> +<RETURNS>void </RETURNS> +GtkImageLoader loader +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_load_image</NAME> +<RETURNS>GdkPixmap *</RETURNS> +GdkColormap *colormap,GdkColor *transparent_color,const gchar *filename +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_find_pixmap_in_path</NAME> +<RETURNS>gchar *</RETURNS> +GScanner *scanner,const gchar *pixmap_file +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_find_module_in_path</NAME> +<RETURNS>gchar *</RETURNS> +const gchar *module_file +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_get_theme_dir</NAME> +<RETURNS>gchar *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_get_module_dir</NAME> +<RETURNS>gchar *</RETURNS> +void +</FUNCTION> +<ENUM> +<NAME>GtkRcTokenType</NAME> +typedef enum { + GTK_RC_TOKEN_INVALID = G_TOKEN_LAST, + GTK_RC_TOKEN_INCLUDE, + GTK_RC_TOKEN_NORMAL, + GTK_RC_TOKEN_ACTIVE, + GTK_RC_TOKEN_PRELIGHT, + GTK_RC_TOKEN_SELECTED, + GTK_RC_TOKEN_INSENSITIVE, + GTK_RC_TOKEN_FG, + GTK_RC_TOKEN_BG, + GTK_RC_TOKEN_BASE, + GTK_RC_TOKEN_TEXT, + GTK_RC_TOKEN_FONT, + GTK_RC_TOKEN_FONTSET, + GTK_RC_TOKEN_BG_PIXMAP, + GTK_RC_TOKEN_PIXMAP_PATH, + GTK_RC_TOKEN_STYLE, + GTK_RC_TOKEN_BINDING, + GTK_RC_TOKEN_BIND, + GTK_RC_TOKEN_WIDGET, + GTK_RC_TOKEN_WIDGET_CLASS, + GTK_RC_TOKEN_CLASS, + GTK_RC_TOKEN_LOWEST, + GTK_RC_TOKEN_GTK, + GTK_RC_TOKEN_APPLICATION, + GTK_RC_TOKEN_RC, + GTK_RC_TOKEN_HIGHEST, + GTK_RC_TOKEN_ENGINE, + GTK_RC_TOKEN_MODULE_PATH, + GTK_RC_TOKEN_LAST +} GtkRcTokenType; +</ENUM> +<FUNCTION> +<NAME>gtk_rc_parse_color</NAME> +<RETURNS>guint </RETURNS> +GScanner *scanner,GdkColor *color +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_parse_state</NAME> +<RETURNS>guint </RETURNS> +GScanner *scanner,GtkStateType *state +</FUNCTION> +<FUNCTION> +<NAME>gtk_rc_parse_priority</NAME> +<RETURNS>guint </RETURNS> +GScanner *scanner,GtkPathPriorityType *priority +</FUNCTION> +<MACRO> +<NAME>GTK_RULER</NAME> +#define GTK_RULER(obj) GTK_CHECK_CAST (obj, gtk_ruler_get_type (), GtkRuler) +</MACRO> +<MACRO> +<NAME>GTK_RULER_CLASS</NAME> +#define GTK_RULER_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_ruler_get_type (), GtkRulerClass) +</MACRO> +<MACRO> +<NAME>GTK_IS_RULER</NAME> +#define GTK_IS_RULER(obj) GTK_CHECK_TYPE (obj, gtk_ruler_get_type ()) +</MACRO> +<STRUCT> +<NAME>GtkRuler</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkRulerClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkRulerMetric</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkRuler</NAME> +struct GtkRuler +{ + GtkWidget widget; + + GdkPixmap *backing_store; + GdkGC *non_gr_exp_gc; + GtkRulerMetric *metric; + gint xsrc, ysrc; + gint slider_size; + + /* The upper limit of the ruler (in points) */ + gfloat lower; + /* The lower limit of the ruler */ + gfloat upper; + /* The position of the mark on the ruler */ + gfloat position; + /* The maximum size of the ruler */ + gfloat max_size; +}; +</STRUCT> +<STRUCT> +<NAME>GtkRulerMetric</NAME> +struct GtkRulerMetric +{ + gchar *metric_name; + gchar *abbrev; + /* This should be points_per_unit. This is the size of the unit + * in 1/72nd's of an inch and has nothing to do with screen pixels */ + gfloat pixels_per_unit; + gfloat ruler_scale[10]; + gint subdivide[5]; /* five possible modes of subdivision */ +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_ruler_get_type</NAME> +<RETURNS>guint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_ruler_set_metric</NAME> +<RETURNS>void </RETURNS> +GtkRuler *ruler,GtkMetricType metric +</FUNCTION> +<FUNCTION> +<NAME>gtk_ruler_set_range</NAME> +<RETURNS>void </RETURNS> +GtkRuler *ruler,gfloat lower,gfloat upper,gfloat position,gfloat max_size +</FUNCTION> +<FUNCTION> +<NAME>gtk_ruler_draw_ticks</NAME> +<RETURNS>void </RETURNS> +GtkRuler *ruler +</FUNCTION> +<FUNCTION> +<NAME>gtk_ruler_draw_pos</NAME> +<RETURNS>void </RETURNS> +GtkRuler *ruler +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_SCALE</NAME> +#define GTK_TYPE_SCALE (gtk_scale_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_SCALE</NAME> +#define GTK_SCALE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SCALE, GtkScale)) +</MACRO> +<MACRO> +<NAME>GTK_SCALE_CLASS</NAME> +#define GTK_SCALE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE, GtkScaleClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_SCALE</NAME> +#define GTK_IS_SCALE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SCALE)) +</MACRO> +<MACRO> +<NAME>GTK_IS_SCALE_CLASS</NAME> +#define GTK_IS_SCALE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE)) +</MACRO> +<STRUCT> +<NAME>GtkScale</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkScaleClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkScale</NAME> +struct GtkScale +{ + GtkRange range; + + guint draw_value : 1; + guint value_pos : 2; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_scale_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_scale_set_digits</NAME> +<RETURNS>void </RETURNS> +GtkScale *scale,gint digits +</FUNCTION> +<FUNCTION> +<NAME>gtk_scale_set_draw_value</NAME> +<RETURNS>void </RETURNS> +GtkScale *scale,gboolean draw_value +</FUNCTION> +<FUNCTION> +<NAME>gtk_scale_set_value_pos</NAME> +<RETURNS>void </RETURNS> +GtkScale *scale,GtkPositionType pos +</FUNCTION> +<FUNCTION> +<NAME>gtk_scale_get_value_width</NAME> +<RETURNS>gint </RETURNS> +GtkScale *scale +</FUNCTION> +<FUNCTION> +<NAME>gtk_scale_draw_value</NAME> +<RETURNS>void </RETURNS> +GtkScale *scale +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_SCROLLBAR</NAME> +#define GTK_TYPE_SCROLLBAR (gtk_scrollbar_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_SCROLLBAR</NAME> +#define GTK_SCROLLBAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SCROLLBAR, GtkScrollbar)) +</MACRO> +<MACRO> +<NAME>GTK_SCROLLBAR_CLASS</NAME> +#define GTK_SCROLLBAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCROLLBAR, GtkScrollbarClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_SCROLLBAR</NAME> +#define GTK_IS_SCROLLBAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SCROLLBAR)) +</MACRO> +<MACRO> +<NAME>GTK_IS_SCROLLBAR_CLASS</NAME> +#define GTK_IS_SCROLLBAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCROLLBAR)) +</MACRO> +<STRUCT> +<NAME>GtkScrollbar</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkScrollbarClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkScrollbar</NAME> +struct GtkScrollbar +{ + GtkRange range; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_scrollbar_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_SCROLLED_WINDOW</NAME> +#define GTK_TYPE_SCROLLED_WINDOW (gtk_scrolled_window_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_SCROLLED_WINDOW</NAME> +#define GTK_SCROLLED_WINDOW(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindow)) +</MACRO> +<MACRO> +<NAME>GTK_SCROLLED_WINDOW_CLASS</NAME> +#define GTK_SCROLLED_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindowClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_SCROLLED_WINDOW</NAME> +#define GTK_IS_SCROLLED_WINDOW(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SCROLLED_WINDOW)) +</MACRO> +<MACRO> +<NAME>GTK_IS_SCROLLED_WINDOW_CLASS</NAME> +#define GTK_IS_SCROLLED_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCROLLED_WINDOW)) +</MACRO> +<STRUCT> +<NAME>GtkScrolledWindow</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkScrolledWindowClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkScrolledWindow</NAME> +struct GtkScrolledWindow +{ + GtkBin container; + + GtkWidget *hscrollbar; + GtkWidget *vscrollbar; + + guint hscrollbar_policy : 2; + guint vscrollbar_policy : 2; + guint hscrollbar_visible : 1; + guint vscrollbar_visible : 1; + guint window_placement : 2; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_scrolled_window_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_scrolled_window_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkAdjustment *hadjustment,GtkAdjustment *vadjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_scrolled_window_set_hadjustment</NAME> +<RETURNS>void </RETURNS> +GtkScrolledWindow *scrolled_window,GtkAdjustment *hadjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_scrolled_window_set_vadjustment</NAME> +<RETURNS>void </RETURNS> +GtkScrolledWindow *scrolled_window,GtkAdjustment *hadjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_scrolled_window_get_hadjustment</NAME> +<RETURNS>GtkAdjustment *</RETURNS> +GtkScrolledWindow *scrolled_window +</FUNCTION> +<FUNCTION> +<NAME>gtk_scrolled_window_get_vadjustment</NAME> +<RETURNS>GtkAdjustment *</RETURNS> +GtkScrolledWindow *scrolled_window +</FUNCTION> +<FUNCTION> +<NAME>gtk_scrolled_window_set_policy</NAME> +<RETURNS>void </RETURNS> +GtkScrolledWindow *scrolled_window,GtkPolicyType hscrollbar_policy,GtkPolicyType vscrollbar_policy +</FUNCTION> +<FUNCTION> +<NAME>gtk_scrolled_window_set_placement</NAME> +<RETURNS>void </RETURNS> +GtkScrolledWindow *scrolled_window,GtkCornerType window_placement +</FUNCTION> +<FUNCTION> +<NAME>gtk_scrolled_window_add_with_viewport</NAME> +<RETURNS>void </RETURNS> +GtkScrolledWindow *scrolled_window,GtkWidget *child +</FUNCTION> +<STRUCT> +<NAME>GtkTargetList</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTargetEntry</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTargetEntry</NAME> +struct GtkTargetEntry { + gchar *target; + guint flags; + guint info; +}; +</STRUCT> +<STRUCT> +<NAME>GtkTargetPair</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTargetList</NAME> +struct GtkTargetList { + GList *list; + guint ref_count; +}; +</STRUCT> +<STRUCT> +<NAME>GtkTargetPair</NAME> +struct GtkTargetPair { + GdkAtom target; + guint flags; + guint info; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_target_list_new</NAME> +<RETURNS>GtkTargetList *</RETURNS> +const GtkTargetEntry *targets,guint ntargets +</FUNCTION> +<FUNCTION> +<NAME>gtk_target_list_ref</NAME> +<RETURNS>void </RETURNS> +GtkTargetList *list +</FUNCTION> +<FUNCTION> +<NAME>gtk_target_list_unref</NAME> +<RETURNS>void </RETURNS> +GtkTargetList *list +</FUNCTION> +<FUNCTION> +<NAME>gtk_target_list_add</NAME> +<RETURNS>void </RETURNS> +GtkTargetList *list,GdkAtom target,guint flags,guint info +</FUNCTION> +<FUNCTION> +<NAME>gtk_target_list_add_table</NAME> +<RETURNS>void </RETURNS> +GtkTargetList *list,const GtkTargetEntry *targets,guint ntargets +</FUNCTION> +<FUNCTION> +<NAME>gtk_target_list_remove</NAME> +<RETURNS>void </RETURNS> +GtkTargetList *list,GdkAtom target +</FUNCTION> +<FUNCTION> +<NAME>gtk_target_list_find</NAME> +<RETURNS>gboolean </RETURNS> +GtkTargetList *list,GdkAtom target,guint *info +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_owner_set</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget,GdkAtom selection,guint32 time +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_add_target</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GdkAtom selection,GdkAtom target,guint info +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_add_targets</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GdkAtom selection,const GtkTargetEntry *targets,guint ntargets +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_convert</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget,GdkAtom selection,GdkAtom target,guint32 time +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_data_set</NAME> +<RETURNS>void </RETURNS> +GtkSelectionData *selection_data,GdkAtom type,gint format,guchar *data,gint length +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_remove_all</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_clear</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget,GdkEventSelection *event +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_request</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget,GdkEventSelection *event +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_incr_event</NAME> +<RETURNS>gint </RETURNS> +GdkWindow *window,GdkEventProperty *event +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_notify</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget,GdkEventSelection *event +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_property_notify</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget,GdkEventProperty *event +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_data_copy</NAME> +<RETURNS>GtkSelectioData *</RETURNS> +GtkSelectionData *data +</FUNCTION> +<FUNCTION> +<NAME>gtk_selection_data_free</NAME> +<RETURNS>void </RETURNS> +GtkSelectionData *data +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_SEPARATOR</NAME> +#define GTK_TYPE_SEPARATOR (gtk_separator_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_SEPARATOR</NAME> +#define GTK_SEPARATOR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SEPARATOR, GtkSeparator)) +</MACRO> +<MACRO> +<NAME>GTK_SEPARATOR_CLASS</NAME> +#define GTK_SEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEPARATOR, GtkSeparatorClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_SEPARATOR</NAME> +#define GTK_IS_SEPARATOR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SEPARATOR)) +</MACRO> +<MACRO> +<NAME>GTK_IS_SEPARATOR_CLASS</NAME> +#define GTK_IS_SEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEPARATOR)) +</MACRO> +<STRUCT> +<NAME>GtkSeparator</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkSeparatorClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkSeparator</NAME> +struct GtkSeparator +{ + GtkWidget widget; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_separator_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<MACRO> +<NAME>GTK_SIGNAL_OFFSET</NAME> +#define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) +</MACRO> +<USER_FUNCTION> +<NAME>GtkSignalMarshal</NAME> +<RETURNS>void </RETURNS> +GtkObject *object, + gpointer data, + guint nparams, + GtkArg *args, + GtkType *arg_types, + GtkType return_type +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkSignalDestroy</NAME> +<RETURNS>void </RETURNS> +gpointer data +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkEmissionHook</NAME> +<RETURNS>gboolean </RETURNS> +GtkObject *object, + guint signal_id, + guint n_params, + GtkArg *params, + gpointer data +</USER_FUNCTION> +<STRUCT> +<NAME>GtkSignalQuery</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkSignalQuery</NAME> +struct GtkSignalQuery +{ + GtkType object_type; + guint signal_id; + const gchar *signal_name; + guint is_user_signal : 1; + GtkSignalRunType signal_flags; + GtkType return_val; + guint nparams; + const GtkType *params; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_signal_lookup</NAME> +<RETURNS>guint </RETURNS> +const gchar *name,GtkType object_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_name</NAME> +<RETURNS>gchar *</RETURNS> +guint signal_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_n_emissions</NAME> +<RETURNS>guint </RETURNS> +GtkObject *object,guint signal_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_n_emissions_by_name</NAME> +<RETURNS>guint </RETURNS> +GtkObject *object,const gchar *name +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_emit_stop</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,guint signal_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_emit_stop_by_name</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *name +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_connect</NAME> +<RETURNS>guint </RETURNS> +GtkObject *object,const gchar *name,GtkSignalFunc func,gpointer func_data +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_connect_after</NAME> +<RETURNS>guint </RETURNS> +GtkObject *object,const gchar *name,GtkSignalFunc func,gpointer func_data +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_connect_object</NAME> +<RETURNS>guint </RETURNS> +GtkObject *object,const gchar *name,GtkSignalFunc func,GtkObject *slot_object +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_connect_object_after</NAME> +<RETURNS>guint </RETURNS> +GtkObject *object,const gchar *name,GtkSignalFunc func,GtkObject *slot_object +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_connect_full</NAME> +<RETURNS>guint </RETURNS> +GtkObject *object,const gchar *name,GtkSignalFunc func,GtkCallbackMarshal marshal,gpointer data,GtkDestroyNotify destroy_func,gint object_signal,gint after +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_connect_object_while_alive</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *signal,GtkSignalFunc func,GtkObject *alive_object +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_connect_while_alive</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *signal,GtkSignalFunc func,gpointer func_data,GtkObject *alive_object +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_disconnect</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,guint handler_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_disconnect_by_func</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GtkSignalFunc func,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_disconnect_by_data</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_handler_block</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,guint handler_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_handler_block_by_func</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GtkSignalFunc func,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_handler_block_by_data</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_handler_unblock</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,guint handler_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_handler_unblock_by_func</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,GtkSignalFunc func,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_handler_unblock_by_data</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_handler_pending</NAME> +<RETURNS>guint </RETURNS> +GtkObject *object,guint signal_id,gboolean may_be_blocked +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_handler_pending_by_func</NAME> +<RETURNS>guint </RETURNS> +GtkObject *object,guint signal_id,gboolean may_be_blocked,GtkSignalFunc func,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_handler_pending_by_id</NAME> +<RETURNS>gint </RETURNS> +GtkObject *object,guint handler_id,gboolean may_be_blocked +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_add_emission_hook</NAME> +<RETURNS>guint </RETURNS> +guint signal_id,GtkEmissionHook hook_func,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_add_emission_hook_full</NAME> +<RETURNS>guint </RETURNS> +guint signal_id,GtkEmissionHook hook_func,gpointer data,GDestroyNotify destroy +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_remove_emission_hook</NAME> +<RETURNS>void </RETURNS> +guint signal_id,guint hook_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_query</NAME> +<RETURNS>GtkSignalQuery *</RETURNS> +guint signal_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_init</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_new</NAME> +<RETURNS>guint </RETURNS> +const gchar *name,GtkSignalRunType signal_flags,GtkType object_type,guint function_offset,GtkSignalMarshaller marshaller,GtkType return_val,guint nparams,... +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_newv</NAME> +<RETURNS>guint </RETURNS> +const gchar *name,GtkSignalRunType signal_flags,GtkType object_type,guint function_offset,GtkSignalMarshaller marshaller,GtkType return_val,guint nparams,GtkType *params +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_emit</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,guint signal_id,... +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_emit_by_name</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *name,... +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_emitv</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,guint signal_id,GtkArg *params +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_emitv_by_name</NAME> +<RETURNS>void </RETURNS> +GtkObject *object,const gchar *name,GtkArg *params +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_handlers_destroy</NAME> +<RETURNS>void </RETURNS> +GtkObject *object +</FUNCTION> +<FUNCTION> +<NAME>gtk_signal_set_funcs</NAME> +<RETURNS>void </RETURNS> +GtkSignalMarshal marshal_func,GtkSignalDestroy destroy_func +</FUNCTION> +<MACRO> +<NAME>GTK_SOCKET</NAME> +#define GTK_SOCKET(obj) GTK_CHECK_CAST (obj, gtk_socket_get_type (), GtkSocket) +</MACRO> +<MACRO> +<NAME>GTK_SOCKET_CLASS</NAME> +#define GTK_SOCKET_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_socket_get_type (), GtkSocketClass) +</MACRO> +<MACRO> +<NAME>GTK_IS_SOCKET</NAME> +#define GTK_IS_SOCKET(obj) GTK_CHECK_TYPE (obj, gtk_socket_get_type ()) +</MACRO> +<STRUCT> +<NAME>GtkSocket</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkSocketClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkSocket</NAME> +struct GtkSocket +{ + GtkContainer container; + + guint16 request_width; + guint16 request_height; + guint16 current_width; + guint16 current_height; + + GdkWindow *plug_window; + guint same_app : 1; + guint focus_in : 1; + guint have_size : 1; + guint need_map : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_socket_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_socket_get_type</NAME> +<RETURNS>guint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_socket_steal</NAME> +<RETURNS>void </RETURNS> +GtkSocket *socket,guint32 wid +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_SPIN_BUTTON</NAME> +#define GTK_TYPE_SPIN_BUTTON (gtk_spin_button_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_SPIN_BUTTON</NAME> +#define GTK_SPIN_BUTTON(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SPIN_BUTTON, GtkSpinButton)) +</MACRO> +<MACRO> +<NAME>GTK_SPIN_BUTTON_CLASS</NAME> +#define GTK_SPIN_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SPIN_BUTTON, GtkSpinButtonClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_SPIN_BUTTON</NAME> +#define GTK_IS_SPIN_BUTTON(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SPIN_BUTTON)) +</MACRO> +<MACRO> +<NAME>GTK_IS_SPIN_BUTTON_CLASS</NAME> +#define GTK_IS_SPIN_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SPIN_BUTTON)) +</MACRO> +<ENUM> +<NAME>GtkSpinButtonUpdatePolicy</NAME> +typedef enum +{ + GTK_UPDATE_ALWAYS, + GTK_UPDATE_IF_VALID +} GtkSpinButtonUpdatePolicy; +</ENUM> +<ENUM> +<NAME>GtkSpinType</NAME> +typedef enum +{ + GTK_SPIN_STEP_FORWARD, + GTK_SPIN_STEP_BACKWARD, + GTK_SPIN_PAGE_FORWARD, + GTK_SPIN_PAGE_BACKWARD, + GTK_SPIN_HOME, + GTK_SPIN_END, + GTK_SPIN_USER_DEFINED +} GtkSpinType; +</ENUM> +<STRUCT> +<NAME>GtkSpinButton</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkSpinButtonClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkSpinButton</NAME> +struct GtkSpinButton +{ + GtkEntry entry; + + GtkAdjustment *adjustment; + + GdkWindow *panel; + GtkShadowType shadow_type; + + guint32 timer; + guint32 ev_time; + + gfloat climb_rate; + gfloat timer_step; + + GtkSpinButtonUpdatePolicy update_policy; + + guint in_child : 2; + guint click_child : 2; + guint button : 2; + guint need_timer : 1; + guint timer_calls : 3; + guint digits : 3; + guint numeric : 1; + guint wrap : 1; + guint snap_to_ticks : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_spin_button_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_configure</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button,GtkAdjustment *adjustment,gfloat climb_rate,guint digits +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkAdjustment *adjustment,gfloat climb_rate,guint digits +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_set_adjustment</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button,GtkAdjustment *adjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_get_adjustment</NAME> +<RETURNS>GtkAdjustment *</RETURNS> +GtkSpinButton *spin_button +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_set_digits</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button,guint digits +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_get_value_as_float</NAME> +<RETURNS>gfloat </RETURNS> +GtkSpinButton *spin_button +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_get_value_as_int</NAME> +<RETURNS>gint </RETURNS> +GtkSpinButton *spin_button +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_set_value</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button,gfloat value +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_set_update_policy</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button,GtkSpinButtonUpdatePolicy policy +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_set_numeric</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button,gboolean numeric +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_spin</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button,GtkSpinType direction,gfloat increment +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_set_wrap</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button,gboolean wrap +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_set_shadow_type</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button,GtkShadowType shadow_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_set_snap_to_ticks</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button,gboolean snap_to_ticks +</FUNCTION> +<FUNCTION> +<NAME>gtk_spin_button_update</NAME> +<RETURNS>void </RETURNS> +GtkSpinButton *spin_button +</FUNCTION> +<MACRO> +<NAME>GTK_STATUSBAR</NAME> +#define GTK_STATUSBAR(obj) GTK_CHECK_CAST (obj, gtk_statusbar_get_type (), GtkStatusbar) +</MACRO> +<MACRO> +<NAME>GTK_STATUSBAR_CLASS</NAME> +#define GTK_STATUSBAR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_statusbar_get_type (), GtkStatusbarClass) +</MACRO> +<MACRO> +<NAME>GTK_IS_STATUSBAR</NAME> +#define GTK_IS_STATUSBAR(obj) GTK_CHECK_TYPE (obj, gtk_statusbar_get_type ()) +</MACRO> +<STRUCT> +<NAME>GtkStatusbar</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkStatusbarClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkStatusbarMsg</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkStatusbar</NAME> +struct GtkStatusbar +{ + GtkHBox parent_widget; + + GtkWidget *frame; + GtkWidget *label; + + GSList *messages; + GSList *keys; + + guint seq_context_id; + guint seq_message_id; +}; +</STRUCT> +<STRUCT> +<NAME>GtkStatusbarMsg</NAME> +struct GtkStatusbarMsg +{ + gchar *text; + guint context_id; + guint message_id; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_statusbar_get_type</NAME> +<RETURNS>guint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_statusbar_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_statusbar_get_context_id</NAME> +<RETURNS>guint </RETURNS> +GtkStatusbar *statusbar,const gchar *context_description +</FUNCTION> +<FUNCTION> +<NAME>gtk_statusbar_push</NAME> +<RETURNS>guint </RETURNS> +GtkStatusbar *statusbar,guint context_id,const gchar *text +</FUNCTION> +<FUNCTION> +<NAME>gtk_statusbar_pop</NAME> +<RETURNS>void </RETURNS> +GtkStatusbar *statusbar,guint context_id +</FUNCTION> +<FUNCTION> +<NAME>gtk_statusbar_remove</NAME> +<RETURNS>void </RETURNS> +GtkStatusbar *statusbar,guint context_id,guint message_id +</FUNCTION> +<STRUCT> +<NAME>GtkStyle</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkStyleClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkThemeEngine</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkRcStyle</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkWidget</NAME> +</STRUCT> +<MACRO> +<NAME>GTK_STYLE_NUM_STYLECOLORS</NAME> +#define GTK_STYLE_NUM_STYLECOLORS() (7 * 5) +</MACRO> +<MACRO> +<NAME>GTK_STYLE_ATTACHED</NAME> +#define GTK_STYLE_ATTACHED(style) (((GtkStyle*) (style))->attach_count > 0) +</MACRO> +<STRUCT> +<NAME>GtkStyle</NAME> +struct GtkStyle +{ + GtkStyleClass *klass; + + GdkColor fg[5]; + GdkColor bg[5]; + GdkColor light[5]; + GdkColor dark[5]; + GdkColor mid[5]; + GdkColor text[5]; + GdkColor base[5]; + + GdkColor black; + GdkColor white; + GdkFont *font; + + GdkGC *fg_gc[5]; + GdkGC *bg_gc[5]; + GdkGC *light_gc[5]; + GdkGC *dark_gc[5]; + GdkGC *mid_gc[5]; + GdkGC *text_gc[5]; + GdkGC *base_gc[5]; + GdkGC *black_gc; + GdkGC *white_gc; + + GdkPixmap *bg_pixmap[5]; + + /* private */ + + gint ref_count; + gint attach_count; + + gint depth; + GdkColormap *colormap; + + GtkThemeEngine *engine; + + gpointer engine_data; + + GtkRcStyle *rc_style; /* the Rc style from which this style + * was created + */ + GSList *styles; +}; +</STRUCT> +<STRUCT> +<NAME>GtkStyleClass</NAME> +struct GtkStyleClass +{ + gint xthickness; + gint ythickness; + + void (*draw_hline) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x1, + gint x2, + gint y); + void (*draw_vline) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint y1, + gint y2, + gint x); + void (*draw_shadow) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_polygon) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + GdkPoint *point, + gint npoints, + gboolean fill); + void (*draw_arrow) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + GtkArrowType arrow_type, + gboolean fill, + gint x, + gint y, + gint width, + gint height); + void (*draw_diamond) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_oval) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_string) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + const gchar *string); + void (*draw_box) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_flat_box) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_check) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_option) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_cross) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_ramp) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + GtkArrowType arrow_type, + gint x, + gint y, + gint width, + gint height); + void (*draw_tab) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_shadow_gap) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); + void (*draw_box_gap) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); + void (*draw_extension) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side); + void (*draw_focus) (GtkStyle *style, + GdkWindow *window, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_slider) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); + void (*draw_handle) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type, + GtkShadowType shadow_type, + GdkRectangle *area, + GtkWidget *widget, + gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_style_new</NAME> +<RETURNS>GtkStyle *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_style_copy</NAME> +<RETURNS>GtkStyle *</RETURNS> +GtkStyle *style +</FUNCTION> +<FUNCTION> +<NAME>gtk_style_attach</NAME> +<RETURNS>GtkStyle *</RETURNS> +GtkStyle *style,GdkWindow *window +</FUNCTION> +<FUNCTION> +<NAME>gtk_style_detach</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style +</FUNCTION> +<FUNCTION> +<NAME>gtk_style_ref</NAME> +<RETURNS>GtkStyle *</RETURNS> +GtkStyle *style +</FUNCTION> +<FUNCTION> +<NAME>gtk_style_unref</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style +</FUNCTION> +<FUNCTION> +<NAME>gtk_style_set_background</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_style_apply_default_background</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,gboolean set_bg,GtkStateType state_type,GdkRectangle *area,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_hline</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,gint x1,gint x2,gint y +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_vline</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,gint y1,gint y2,gint x +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_shadow</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_polygon</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkPoint *points,gint npoints,gboolean fill +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_arrow</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GtkArrowType arrow_type,gboolean fill,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_diamond</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_oval</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_string</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,gint x,gint y,const gchar *string +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_box</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_flat_box</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_check</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_option</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_cross</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_ramp</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GtkArrowType arrow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_tab</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_shadow_gap</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height,GtkPositionType gap_side,gint gap_x,gint gap_width +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_box_gap</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height,GtkPositionType gap_side,gint gap_x,gint gap_width +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_extension</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height,GtkPositionType gap_side +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_focus</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_slider</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height,GtkOrientation orientation +</FUNCTION> +<FUNCTION> +<NAME>gtk_draw_handle</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,gint x,gint y,gint width,gint height,GtkOrientation orientation +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_hline</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x1,gint x2,gint y +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_vline</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint y1,gint y2,gint x +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_shadow</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_polygon</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,GdkPoint *points,gint npoints,gboolean fill +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_arrow</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,GtkArrowType arrow_type,gboolean fill,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_diamond</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_oval</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_string</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,const gchar *string +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_box</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_flat_box</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_check</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_option</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_cross</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_ramp</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,GtkArrowType arrow_type,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_tab</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_shadow_gap</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height,GtkPositionType gap_side,gint gap_x,gint gap_width +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_box_gap</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height,GtkPositionType gap_side,gint gap_x,gint gap_width +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_extension</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height,GtkPositionType gap_side +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_focus</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_slider</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height,GtkOrientation orientation +</FUNCTION> +<FUNCTION> +<NAME>gtk_paint_handle</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style,GdkWindow *window,GtkStateType state_type,GtkShadowType shadow_type,GdkRectangle *area,GtkWidget *widget,gchar *detail,gint x,gint y,gint width,gint height,GtkOrientation orientation +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_TABLE</NAME> +#define GTK_TYPE_TABLE (gtk_table_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_TABLE</NAME> +#define GTK_TABLE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_TABLE, GtkTable)) +</MACRO> +<MACRO> +<NAME>GTK_TABLE_CLASS</NAME> +#define GTK_TABLE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TABLE, GtkTableClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TABLE</NAME> +#define GTK_IS_TABLE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TABLE)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TABLE_CLASS</NAME> +#define GTK_IS_TABLE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TABLE)) +</MACRO> +<STRUCT> +<NAME>GtkTable</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTableClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTableChild</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTableRowCol</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTable</NAME> +struct GtkTable +{ + GtkContainer container; + + GList *children; + GtkTableRowCol *rows; + GtkTableRowCol *cols; + guint16 nrows; + guint16 ncols; + guint16 column_spacing; + guint16 row_spacing; + guint homogeneous : 1; +}; +</STRUCT> +<STRUCT> +<NAME>GtkTableChild</NAME> +struct GtkTableChild +{ + GtkWidget *widget; + guint16 left_attach; + guint16 right_attach; + guint16 top_attach; + guint16 bottom_attach; + guint16 xpadding; + guint16 ypadding; + guint xexpand : 1; + guint yexpand : 1; + guint xshrink : 1; + guint yshrink : 1; + guint xfill : 1; + guint yfill : 1; +}; +</STRUCT> +<STRUCT> +<NAME>GtkTableRowCol</NAME> +struct GtkTableRowCol +{ + guint16 requisition; + guint16 allocation; + guint16 spacing; + guint need_expand : 1; + guint need_shrink : 1; + guint expand : 1; + guint shrink : 1; + guint empty : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_table_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_table_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +guint rows,guint columns,gboolean homogeneous +</FUNCTION> +<FUNCTION> +<NAME>gtk_table_resize</NAME> +<RETURNS>void </RETURNS> +GtkTable *table,guint rows,guint columns +</FUNCTION> +<FUNCTION> +<NAME>gtk_table_attach</NAME> +<RETURNS>void </RETURNS> +GtkTable *table,GtkWidget *child,guint left_attach,guint right_attach,guint top_attach,guint bottom_attach,GtkAttachOptions xoptions,GtkAttachOptions yoptions,guint xpadding,guint ypadding +</FUNCTION> +<FUNCTION> +<NAME>gtk_table_attach_defaults</NAME> +<RETURNS>void </RETURNS> +GtkTable *table,GtkWidget *widget,guint left_attach,guint right_attach,guint top_attach,guint bottom_attach +</FUNCTION> +<FUNCTION> +<NAME>gtk_table_set_row_spacing</NAME> +<RETURNS>void </RETURNS> +GtkTable *table,guint row,guint spacing +</FUNCTION> +<FUNCTION> +<NAME>gtk_table_set_col_spacing</NAME> +<RETURNS>void </RETURNS> +GtkTable *table,guint column,guint spacing +</FUNCTION> +<FUNCTION> +<NAME>gtk_table_set_row_spacings</NAME> +<RETURNS>void </RETURNS> +GtkTable *table,guint spacing +</FUNCTION> +<FUNCTION> +<NAME>gtk_table_set_col_spacings</NAME> +<RETURNS>void </RETURNS> +GtkTable *table,guint spacing +</FUNCTION> +<FUNCTION> +<NAME>gtk_table_set_homogeneous</NAME> +<RETURNS>void </RETURNS> +GtkTable *table,gboolean homogeneous +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_TEAROFF_MENU_ITEM</NAME> +#define GTK_TYPE_TEAROFF_MENU_ITEM (gtk_tearoff_menu_item_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_TEAROFF_MENU_ITEM</NAME> +#define GTK_TEAROFF_MENU_ITEM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_TEAROFF_MENU_ITEM, GtkTearoffMenuItem)) +</MACRO> +<MACRO> +<NAME>GTK_TEAROFF_MENU_ITEM_CLASS</NAME> +#define GTK_TEAROFF_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEAROFF_MENU_ITEM, GtkTearoffMenuItemClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TEAROFF_MENU_ITEM</NAME> +#define GTK_IS_TEAROFF_MENU_ITEM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TEAROFF_MENU_ITEM)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TEAROFF_MENU_ITEM_CLASS</NAME> +#define GTK_IS_TEAROFF_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEAROFF_MENU_ITEM)) +</MACRO> +<STRUCT> +<NAME>GtkTearoffMenuItem</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTearoffMenuItemClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTearoffMenuItem</NAME> +struct GtkTearoffMenuItem +{ + GtkMenuItem menu_item; + + guint torn_off : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_tearoff_menu_item_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_tearoff_menu_item_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_TEXT</NAME> +#define GTK_TYPE_TEXT (gtk_text_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_TEXT</NAME> +#define GTK_TEXT(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_TEXT, GtkText)) +</MACRO> +<MACRO> +<NAME>GTK_TEXT_CLASS</NAME> +#define GTK_TEXT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT, GtkTextClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TEXT</NAME> +#define GTK_IS_TEXT(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TEXT)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TEXT_CLASS</NAME> +#define GTK_IS_TEXT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT)) +</MACRO> +<STRUCT> +<NAME>GtkTextFont</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPropertyMark</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkText</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTextClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkPropertyMark</NAME> +struct GtkPropertyMark +{ + /* Position in list. */ + GList* property; + + /* Offset into that property. */ + guint offset; + + /* Current index. */ + guint index; +}; +</STRUCT> +<STRUCT> +<NAME>GtkText</NAME> +struct GtkText +{ + GtkEditable editable; + + GdkWindow *text_area; + + GtkAdjustment *hadj; + GtkAdjustment *vadj; + + GdkGC *gc; + + GdkPixmap* line_wrap_bitmap; + GdkPixmap* line_arrow_bitmap; + + /* GAPPED TEXT SEGMENT */ + + /* The text, a single segment of text a'la emacs, with a gap + * where insertion occurs. */ + union { GdkWChar *wc; guchar *ch; } text; +</STRUCT> +<FUNCTION> +<NAME>gtk_text_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkAdjustment *hadj,GtkAdjustment *vadj +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_set_editable</NAME> +<RETURNS>void </RETURNS> +GtkText *text,gboolean editable +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_set_word_wrap</NAME> +<RETURNS>void </RETURNS> +GtkText *text,gint word_wrap +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_set_line_wrap</NAME> +<RETURNS>void </RETURNS> +GtkText *text,gint line_wrap +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_set_adjustments</NAME> +<RETURNS>void </RETURNS> +GtkText *text,GtkAdjustment *hadj,GtkAdjustment *vadj +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_set_point</NAME> +<RETURNS>void </RETURNS> +GtkText *text,guint index +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_get_point</NAME> +<RETURNS>guint </RETURNS> +GtkText *text +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_get_length</NAME> +<RETURNS>guint </RETURNS> +GtkText *text +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_freeze</NAME> +<RETURNS>void </RETURNS> +GtkText *text +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_thaw</NAME> +<RETURNS>void </RETURNS> +GtkText *text +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_insert</NAME> +<RETURNS>void </RETURNS> +GtkText *text,GdkFont *font,GdkColor *fore,GdkColor *back,const char *chars,gint length +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_backward_delete</NAME> +<RETURNS>gint </RETURNS> +GtkText *text,guint nchars +</FUNCTION> +<FUNCTION> +<NAME>gtk_text_forward_delete</NAME> +<RETURNS>gint </RETURNS> +GtkText *text,guint nchars +</FUNCTION> +<MACRO> +<NAME>GTK_TEXT_INDEX</NAME> +#define GTK_TEXT_INDEX(t, index) (((t)->use_wchar) \ + ? ((index) < (t)->gap_position ? (t)->text.wc[index] : \ + (t)->text.wc[(index)+(t)->gap_size]) \ + : ((index) < (t)->gap_position ? (t)->text.ch[index] : \ + (t)->text.ch[(index)+(t)->gap_size])) +</MACRO> +<STRUCT> +<NAME>GtkThemeEngine</NAME> +struct GtkThemeEngine { + /* Fill in engine_data pointer in a GtkRcStyle by parsing contents + * of brackets. Returns G_TOKEN_NONE if succesfull, otherwise returns + * the token it expected but didn't get. + */ + guint (*parse_rc_style) (GScanner *scanner, GtkRcStyle *rc_style); + + /* Combine RC style data from src into dest. If + * dest->engine_data is NULL, it should be initialized to default + * values. + */ + void (*merge_rc_style) (GtkRcStyle *dest, GtkRcStyle *src); + + /* Fill in style->engine_data from rc_style->engine_data */ + void (*rc_style_to_style) (GtkStyle *style, GtkRcStyle *rc_style); + + /* Duplicate engine_data from src to dest. The engine_data will + * not subsequently be modified except by a call to realize_style() + * so if realize_style() does nothing, refcounting is appropriate. + */ + void (*duplicate_style) (GtkStyle *dest, GtkStyle *src); + + /* If style needs to initialize for a particular colormap/depth + * combination, do it here. style->colormap/style->depth will have + * been set at this point, and style itself initialized for + * the colormap + */ + void (*realize_style) (GtkStyle *new_style); + + /* If style needs to clean up for a particular colormap/depth + * combination, do it here. + */ + void (*unrealize_style) (GtkStyle *new_style); + + /* Clean up rc_style->engine_data before rc_style is destroyed */ + void (*destroy_rc_style) (GtkRcStyle *rc_style); + + /* Clean up style->engine_data before style is destroyed */ + void (*destroy_style) (GtkStyle *style); + + void (*set_background) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type); +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_theme_engine_get</NAME> +<RETURNS>GtkThemeEngine *</RETURNS> +gchar *name +</FUNCTION> +<FUNCTION> +<NAME>gtk_theme_engine_ref</NAME> +<RETURNS>void </RETURNS> +GtkThemeEngine *engine +</FUNCTION> +<FUNCTION> +<NAME>gtk_theme_engine_unref</NAME> +<RETURNS>void </RETURNS> +GtkThemeEngine *engine +</FUNCTION> +<FUNCTION> +<NAME>gtk_themes_init</NAME> +<RETURNS>void </RETURNS> +int *argc,char ***argv +</FUNCTION> +<FUNCTION> +<NAME>gtk_themes_exit</NAME> +<RETURNS>void </RETURNS> +gint error_code +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_TIPS_QUERY</NAME> +#define GTK_TYPE_TIPS_QUERY (gtk_tips_query_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_TIPS_QUERY</NAME> +#define GTK_TIPS_QUERY(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_TIPS_QUERY, GtkTipsQuery)) +</MACRO> +<MACRO> +<NAME>GTK_TIPS_QUERY_CLASS</NAME> +#define GTK_TIPS_QUERY_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TIPS_QUERY, GtkTipsQueryClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TIPS_QUERY</NAME> +#define GTK_IS_TIPS_QUERY(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TIPS_QUERY)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TIPS_QUERY_CLASS</NAME> +#define GTK_IS_TIPS_QUERY_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TIPS_QUERY)) +</MACRO> +<STRUCT> +<NAME>GtkTipsQuery</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTipsQueryClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTipsQuery</NAME> +struct GtkTipsQuery +{ + GtkLabel label; + + guint emit_always : 1; + guint in_query : 1; + gchar *label_inactive; + gchar *label_no_tip; + + GtkWidget *caller; + GtkWidget *last_crossed; + + GdkCursor *query_cursor; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_tips_query_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_tips_query_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_tips_query_start_query</NAME> +<RETURNS>void </RETURNS> +GtkTipsQuery *tips_query +</FUNCTION> +<FUNCTION> +<NAME>gtk_tips_query_stop_query</NAME> +<RETURNS>void </RETURNS> +GtkTipsQuery *tips_query +</FUNCTION> +<FUNCTION> +<NAME>gtk_tips_query_set_caller</NAME> +<RETURNS>void </RETURNS> +GtkTipsQuery *tips_query,GtkWidget *caller +</FUNCTION> +<FUNCTION> +<NAME>gtk_tips_query_set_labels</NAME> +<RETURNS>void </RETURNS> +GtkTipsQuery *tips_query,const gchar *label_inactive,const gchar *label_no_tip +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_TOGGLE_BUTTON</NAME> +#define GTK_TYPE_TOGGLE_BUTTON (gtk_toggle_button_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_TOGGLE_BUTTON</NAME> +#define GTK_TOGGLE_BUTTON(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButton)) +</MACRO> +<MACRO> +<NAME>GTK_TOGGLE_BUTTON_CLASS</NAME> +#define GTK_TOGGLE_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TOGGLE_BUTTON</NAME> +#define GTK_IS_TOGGLE_BUTTON(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TOGGLE_BUTTON)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TOGGLE_BUTTON_CLASS</NAME> +#define GTK_IS_TOGGLE_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_BUTTON)) +</MACRO> +<STRUCT> +<NAME>GtkToggleButton</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkToggleButtonClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkToggleButton</NAME> +struct GtkToggleButton +{ + GtkButton button; + + guint active : 1; + guint draw_indicator : 1; + + GdkWindow *event_window; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_toggle_button_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_toggle_button_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_toggle_button_new_with_label</NAME> +<RETURNS>GtkWidget *</RETURNS> +const gchar *label +</FUNCTION> +<FUNCTION> +<NAME>gtk_toggle_button_set_mode</NAME> +<RETURNS>void </RETURNS> +GtkToggleButton *toggle_button,gboolean draw_indicator +</FUNCTION> +<FUNCTION> +<NAME>gtk_toggle_button_set_active</NAME> +<RETURNS>void </RETURNS> +GtkToggleButton *toggle_button,gboolean is_active +</FUNCTION> +<FUNCTION> +<NAME>gtk_toggle_button_get_active</NAME> +<RETURNS>gboolean </RETURNS> +GtkToggleButton *toggle_button +</FUNCTION> +<FUNCTION> +<NAME>gtk_toggle_button_toggled</NAME> +<RETURNS>void </RETURNS> +GtkToggleButton *toggle_button +</FUNCTION> +<MACRO> +<NAME>GTK_TOOLBAR</NAME> +#define GTK_TOOLBAR(obj) GTK_CHECK_CAST (obj, gtk_toolbar_get_type (), GtkToolbar) +</MACRO> +<MACRO> +<NAME>GTK_TOOLBAR_CLASS</NAME> +#define GTK_TOOLBAR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_toolbar_get_type (), GtkToolbarClass) +</MACRO> +<MACRO> +<NAME>GTK_IS_TOOLBAR</NAME> +#define GTK_IS_TOOLBAR(obj) GTK_CHECK_TYPE (obj, gtk_toolbar_get_type ()) +</MACRO> +<ENUM> +<NAME>GtkToolbarChildType</NAME> +typedef enum +{ + GTK_TOOLBAR_CHILD_SPACE, + GTK_TOOLBAR_CHILD_BUTTON, + GTK_TOOLBAR_CHILD_TOGGLEBUTTON, + GTK_TOOLBAR_CHILD_RADIOBUTTON, + GTK_TOOLBAR_CHILD_WIDGET +} GtkToolbarChildType; +</ENUM> +<ENUM> +<NAME>GtkToolbarSpaceStyle</NAME> +typedef enum +{ + GTK_TOOLBAR_SPACE_EMPTY, + GTK_TOOLBAR_SPACE_LINE +} GtkToolbarSpaceStyle; +</ENUM> +<STRUCT> +<NAME>GtkToolbarChild</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkToolbar</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkToolbarClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkToolbarChild</NAME> +struct GtkToolbarChild +{ + GtkToolbarChildType type; + GtkWidget *widget; + GtkWidget *icon; + GtkWidget *label; +}; +</STRUCT> +<STRUCT> +<NAME>GtkToolbar</NAME> +struct GtkToolbar +{ + GtkContainer container; + + gint num_children; + GList *children; + GtkOrientation orientation; + GtkToolbarStyle style; + gint space_size; /* big optional space between buttons */ + GtkToolbarSpaceStyle space_style; + + GtkTooltips *tooltips; + + gint button_maxw; + gint button_maxh; + GtkReliefStyle relief; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_toolbar_get_type</NAME> +<RETURNS>guint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkOrientation orientation,GtkToolbarStyle style +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_append_item</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkToolbar *toolbar,const char *text,const char *tooltip_text,const char *tooltip_private_text,GtkWidget *icon,GtkSignalFunc callback,gpointer user_data +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_prepend_item</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkToolbar *toolbar,const char *text,const char *tooltip_text,const char *tooltip_private_text,GtkWidget *icon,GtkSignalFunc callback,gpointer user_data +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_insert_item</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkToolbar *toolbar,const char *text,const char *tooltip_text,const char *tooltip_private_text,GtkWidget *icon,GtkSignalFunc callback,gpointer user_data,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_append_space</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_prepend_space</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_insert_space</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_append_element</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkToolbar *toolbar,GtkToolbarChildType type,GtkWidget *widget,const char *text,const char *tooltip_text,const char *tooltip_private_text,GtkWidget *icon,GtkSignalFunc callback,gpointer user_data +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_prepend_element</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkToolbar *toolbar,GtkToolbarChildType type,GtkWidget *widget,const char *text,const char *tooltip_text,const char *tooltip_private_text,GtkWidget *icon,GtkSignalFunc callback,gpointer user_data +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_insert_element</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkToolbar *toolbar,GtkToolbarChildType type,GtkWidget *widget,const char *text,const char *tooltip_text,const char *tooltip_private_text,GtkWidget *icon,GtkSignalFunc callback,gpointer user_data,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_append_widget</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar,GtkWidget *widget,const char *tooltip_text,const char *tooltip_private_text +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_prepend_widget</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar,GtkWidget *widget,const char *tooltip_text,const char *tooltip_private_text +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_insert_widget</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar,GtkWidget *widget,const char *tooltip_text,const char *tooltip_private_text,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_set_orientation</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar,GtkOrientation orientation +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_set_style</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar,GtkToolbarStyle style +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_set_space_size</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar,gint space_size +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_set_space_style</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar,GtkToolbarSpaceStyle space_style +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_set_tooltips</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar,gint enable +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_set_button_relief</NAME> +<RETURNS>void </RETURNS> +GtkToolbar *toolbar,GtkReliefStyle relief +</FUNCTION> +<FUNCTION> +<NAME>gtk_toolbar_get_button_relief</NAME> +<RETURNS>GtkReliefStyle </RETURNS> +GtkToolbar *toolbar +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_TOOLTIPS</NAME> +#define GTK_TYPE_TOOLTIPS (gtk_tooltips_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_TOOLTIPS</NAME> +#define GTK_TOOLTIPS(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_TOOLTIPS, GtkTooltips)) +</MACRO> +<MACRO> +<NAME>GTK_TOOLTIPS_CLASS</NAME> +#define GTK_TOOLTIPS_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOOLTIPS, GtkTooltipsClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TOOLTIPS</NAME> +#define GTK_IS_TOOLTIPS(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TOOLTIPS)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TOOLTIPS_CLASS</NAME> +#define GTK_IS_TOOLTIPS_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOOLTIPS)) +</MACRO> +<STRUCT> +<NAME>GtkTooltips</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTooltipsClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTooltipsData</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTooltipsData</NAME> +struct GtkTooltipsData +{ + GtkTooltips *tooltips; + GtkWidget *widget; + gchar *tip_text; + gchar *tip_private; + GdkFont *font; + gint width; + GList *row; +}; +</STRUCT> +<STRUCT> +<NAME>GtkTooltips</NAME> +struct GtkTooltips +{ + GtkData data; + + GtkWidget *tip_window; + GtkTooltipsData *active_tips_data; + GList *tips_data_list; + + GdkGC *gc; + GdkColor *foreground; + GdkColor *background; + + guint delay : 30; + guint enabled : 1; + gint timer_tag; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_tooltips_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_tooltips_new</NAME> +<RETURNS>GtkTooltips *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_tooltips_enable</NAME> +<RETURNS>void </RETURNS> +GtkTooltips *tooltips +</FUNCTION> +<FUNCTION> +<NAME>gtk_tooltips_disable</NAME> +<RETURNS>void </RETURNS> +GtkTooltips *tooltips +</FUNCTION> +<FUNCTION> +<NAME>gtk_tooltips_set_delay</NAME> +<RETURNS>void </RETURNS> +GtkTooltips *tooltips,guint delay +</FUNCTION> +<FUNCTION> +<NAME>gtk_tooltips_set_tip</NAME> +<RETURNS>void </RETURNS> +GtkTooltips *tooltips,GtkWidget *widget,const gchar *tip_text,const gchar *tip_private +</FUNCTION> +<FUNCTION> +<NAME>gtk_tooltips_set_colors</NAME> +<RETURNS>void </RETURNS> +GtkTooltips *tooltips,GdkColor *background,GdkColor *foreground +</FUNCTION> +<FUNCTION> +<NAME>gtk_tooltips_data_get</NAME> +<RETURNS>GtkTooltipsData *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_tooltips_force_window</NAME> +<RETURNS>void </RETURNS> +GtkTooltips *tooltips +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_TREE</NAME> +#define GTK_TYPE_TREE (gtk_tree_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_TREE</NAME> +#define GTK_TREE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_TREE, GtkTree)) +</MACRO> +<MACRO> +<NAME>GTK_TREE_CLASS</NAME> +#define GTK_TREE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE, GtkTreeClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TREE</NAME> +#define GTK_IS_TREE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TREE)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TREE_CLASS</NAME> +#define GTK_IS_TREE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE)) +</MACRO> +<MACRO> +<NAME>GTK_IS_ROOT_TREE</NAME> +#define GTK_IS_ROOT_TREE(obj) ((GtkObject*) GTK_TREE(obj)->root_tree == (GtkObject*)obj) +</MACRO> +<MACRO> +<NAME>GTK_TREE_ROOT_TREE</NAME> +#define GTK_TREE_ROOT_TREE(obj) (GTK_TREE(obj)->root_tree ? GTK_TREE(obj)->root_tree : GTK_TREE(obj)) +</MACRO> +<MACRO> +<NAME>GTK_TREE_SELECTION</NAME> +#define GTK_TREE_SELECTION(obj) (GTK_TREE_ROOT_TREE(obj)->selection) +</MACRO> +<ENUM> +<NAME>GtkTreeViewMode</NAME> +typedef enum +{ + GTK_TREE_VIEW_LINE, /* default view mode */ + GTK_TREE_VIEW_ITEM +} GtkTreeViewMode; +</ENUM> +<STRUCT> +<NAME>GtkTree</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTreeClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTree</NAME> +struct GtkTree +{ + GtkContainer container; + + GList *children; + + GtkTree* root_tree; /* owner of selection list */ + GtkWidget* tree_owner; + GList *selection; + guint level; + guint indent_value; + guint current_indent; + guint selection_mode : 2; + guint view_mode : 1; + guint view_line : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_tree_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_append</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,GtkWidget *tree_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_prepend</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,GtkWidget *tree_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_insert</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,GtkWidget *tree_item,gint position +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_remove_items</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,GList *items +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_clear_items</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,gint start,gint end +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_select_item</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,gint item +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_unselect_item</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,gint item +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_select_child</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,GtkWidget *tree_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_unselect_child</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,GtkWidget *tree_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_child_position</NAME> +<RETURNS>gint </RETURNS> +GtkTree *tree,GtkWidget *child +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_set_selection_mode</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,GtkSelectionMode mode +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_set_view_mode</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,GtkTreeViewMode mode +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_set_view_lines</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,guint flag +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_remove_item</NAME> +<RETURNS>void </RETURNS> +GtkTree *tree,GtkWidget *child +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_TREE_ITEM</NAME> +#define GTK_TYPE_TREE_ITEM (gtk_tree_item_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_TREE_ITEM</NAME> +#define GTK_TREE_ITEM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_TREE_ITEM, GtkTreeItem)) +</MACRO> +<MACRO> +<NAME>GTK_TREE_ITEM_CLASS</NAME> +#define GTK_TREE_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_ITEM, GtkTreeItemClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TREE_ITEM</NAME> +#define GTK_IS_TREE_ITEM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TREE_ITEM)) +</MACRO> +<MACRO> +<NAME>GTK_IS_TREE_ITEM_CLASS</NAME> +#define GTK_IS_TREE_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_ITEM)) +</MACRO> +<MACRO> +<NAME>GTK_TREE_ITEM_SUBTREE</NAME> +#define GTK_TREE_ITEM_SUBTREE(obj) (GTK_TREE_ITEM(obj)->subtree) +</MACRO> +<STRUCT> +<NAME>GtkTreeItem</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTreeItemClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTreeItem</NAME> +struct GtkTreeItem +{ + GtkItem item; + + GtkWidget *subtree; + GtkWidget *pixmaps_box; + GtkWidget *plus_pix_widget, *minus_pix_widget; + + GList *pixmaps; /* pixmap node for this items color depth */ + + guint expanded : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_tree_item_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_item_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_item_new_with_label</NAME> +<RETURNS>GtkWidget *</RETURNS> +gchar *label +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_item_set_subtree</NAME> +<RETURNS>void </RETURNS> +GtkTreeItem *tree_item,GtkWidget *subtree +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_item_remove_subtree</NAME> +<RETURNS>void </RETURNS> +GtkTreeItem *tree_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_item_select</NAME> +<RETURNS>void </RETURNS> +GtkTreeItem *tree_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_item_deselect</NAME> +<RETURNS>void </RETURNS> +GtkTreeItem *tree_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_item_expand</NAME> +<RETURNS>void </RETURNS> +GtkTreeItem *tree_item +</FUNCTION> +<FUNCTION> +<NAME>gtk_tree_item_collapse</NAME> +<RETURNS>void </RETURNS> +GtkTreeItem *tree_item +</FUNCTION> +<VARIABLE> +<NAME>GTK_TYPE_ACCEL_FLAGS</NAME> +extern GtkType GTK_TYPE_ACCEL_FLAGS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_CALENDAR_DISPLAY_OPTIONS</NAME> +extern GtkType GTK_TYPE_CALENDAR_DISPLAY_OPTIONS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_CELL_TYPE</NAME> +extern GtkType GTK_TYPE_CELL_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_CLIST_DRAG_POS</NAME> +extern GtkType GTK_TYPE_CLIST_DRAG_POS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_BUTTON_ACTION</NAME> +extern GtkType GTK_TYPE_BUTTON_ACTION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_CTREE_POS</NAME> +extern GtkType GTK_TYPE_CTREE_POS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_CTREE_LINE_STYLE</NAME> +extern GtkType GTK_TYPE_CTREE_LINE_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_CTREE_EXPANDER_STYLE</NAME> +extern GtkType GTK_TYPE_CTREE_EXPANDER_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_CTREE_EXPANSION_TYPE</NAME> +extern GtkType GTK_TYPE_CTREE_EXPANSION_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_DEBUG_FLAG</NAME> +extern GtkType GTK_TYPE_DEBUG_FLAG; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_DEST_DEFAULTS</NAME> +extern GtkType GTK_TYPE_DEST_DEFAULTS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_TARGET_FLAGS</NAME> +extern GtkType GTK_TYPE_TARGET_FLAGS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_ARROW_TYPE</NAME> +extern GtkType GTK_TYPE_ARROW_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_ATTACH_OPTIONS</NAME> +extern GtkType GTK_TYPE_ATTACH_OPTIONS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_BUTTON_BOX_STYLE</NAME> +extern GtkType GTK_TYPE_BUTTON_BOX_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_CURVE_TYPE</NAME> +extern GtkType GTK_TYPE_CURVE_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_DIRECTION_TYPE</NAME> +extern GtkType GTK_TYPE_DIRECTION_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_JUSTIFICATION</NAME> +extern GtkType GTK_TYPE_JUSTIFICATION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_MATCH_TYPE</NAME> +extern GtkType GTK_TYPE_MATCH_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_MENU_DIRECTION_TYPE</NAME> +extern GtkType GTK_TYPE_MENU_DIRECTION_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_MENU_FACTORY_TYPE</NAME> +extern GtkType GTK_TYPE_MENU_FACTORY_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_METRIC_TYPE</NAME> +extern GtkType GTK_TYPE_METRIC_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_ORIENTATION</NAME> +extern GtkType GTK_TYPE_ORIENTATION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_CORNER_TYPE</NAME> +extern GtkType GTK_TYPE_CORNER_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_PACK_TYPE</NAME> +extern GtkType GTK_TYPE_PACK_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_PATH_PRIORITY_TYPE</NAME> +extern GtkType GTK_TYPE_PATH_PRIORITY_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_PATH_TYPE</NAME> +extern GtkType GTK_TYPE_PATH_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_POLICY_TYPE</NAME> +extern GtkType GTK_TYPE_POLICY_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_POSITION_TYPE</NAME> +extern GtkType GTK_TYPE_POSITION_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_PREVIEW_TYPE</NAME> +extern GtkType GTK_TYPE_PREVIEW_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_RELIEF_STYLE</NAME> +extern GtkType GTK_TYPE_RELIEF_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_RESIZE_MODE</NAME> +extern GtkType GTK_TYPE_RESIZE_MODE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SIGNAL_RUN_TYPE</NAME> +extern GtkType GTK_TYPE_SIGNAL_RUN_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SCROLL_TYPE</NAME> +extern GtkType GTK_TYPE_SCROLL_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SELECTION_MODE</NAME> +extern GtkType GTK_TYPE_SELECTION_MODE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SHADOW_TYPE</NAME> +extern GtkType GTK_TYPE_SHADOW_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_STATE_TYPE</NAME> +extern GtkType GTK_TYPE_STATE_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SUBMENU_DIRECTION</NAME> +extern GtkType GTK_TYPE_SUBMENU_DIRECTION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SUBMENU_PLACEMENT</NAME> +extern GtkType GTK_TYPE_SUBMENU_PLACEMENT; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_TOOLBAR_STYLE</NAME> +extern GtkType GTK_TYPE_TOOLBAR_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_TROUGH_TYPE</NAME> +extern GtkType GTK_TYPE_TROUGH_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_UPDATE_TYPE</NAME> +extern GtkType GTK_TYPE_UPDATE_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_VISIBILITY</NAME> +extern GtkType GTK_TYPE_VISIBILITY; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_WINDOW_POSITION</NAME> +extern GtkType GTK_TYPE_WINDOW_POSITION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_WINDOW_TYPE</NAME> +extern GtkType GTK_TYPE_WINDOW_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SORT_TYPE</NAME> +extern GtkType GTK_TYPE_SORT_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_FONT_METRIC_TYPE</NAME> +extern GtkType GTK_TYPE_FONT_METRIC_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_FONT_TYPE</NAME> +extern GtkType GTK_TYPE_FONT_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_FONT_FILTER_TYPE</NAME> +extern GtkType GTK_TYPE_FONT_FILTER_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_OBJECT_FLAGS</NAME> +extern GtkType GTK_TYPE_OBJECT_FLAGS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_ARG_FLAGS</NAME> +extern GtkType GTK_TYPE_ARG_FLAGS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_PACKER_OPTIONS</NAME> +extern GtkType GTK_TYPE_PACKER_OPTIONS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SIDE_TYPE</NAME> +extern GtkType GTK_TYPE_SIDE_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_ANCHOR_TYPE</NAME> +extern GtkType GTK_TYPE_ANCHOR_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_PRIVATE_FLAGS</NAME> +extern GtkType GTK_TYPE_PRIVATE_FLAGS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_PROGRESS_BAR_STYLE</NAME> +extern GtkType GTK_TYPE_PROGRESS_BAR_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_PROGRESS_BAR_ORIENTATION</NAME> +extern GtkType GTK_TYPE_PROGRESS_BAR_ORIENTATION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_RC_FLAGS</NAME> +extern GtkType GTK_TYPE_RC_FLAGS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_RC_TOKEN_TYPE</NAME> +extern GtkType GTK_TYPE_RC_TOKEN_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY</NAME> +extern GtkType GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SPIN_TYPE</NAME> +extern GtkType GTK_TYPE_SPIN_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_TOOLBAR_CHILD_TYPE</NAME> +extern GtkType GTK_TYPE_TOOLBAR_CHILD_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_TOOLBAR_SPACE_STYLE</NAME> +extern GtkType GTK_TYPE_TOOLBAR_SPACE_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_TREE_VIEW_MODE</NAME> +extern GtkType GTK_TYPE_TREE_VIEW_MODE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_FUNDAMENTAL_TYPE</NAME> +extern GtkType GTK_TYPE_FUNDAMENTAL_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_WIDGET_FLAGS</NAME> +extern GtkType GTK_TYPE_WIDGET_FLAGS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_WINDOW_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_WINDOW_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_WINDOW_CLASS</NAME> +extern GtkType GTK_TYPE_GDK_WINDOW_CLASS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_IMAGE_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_IMAGE_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_VISUAL_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_VISUAL_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_FONT_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_FONT_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_WINDOW_ATTRIBUTES_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_WINDOW_ATTRIBUTES_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_WINDOW_HINTS</NAME> +extern GtkType GTK_TYPE_GDK_WINDOW_HINTS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_FUNCTION</NAME> +extern GtkType GTK_TYPE_GDK_FUNCTION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_FILL</NAME> +extern GtkType GTK_TYPE_GDK_FILL; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_FILL_RULE</NAME> +extern GtkType GTK_TYPE_GDK_FILL_RULE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_LINE_STYLE</NAME> +extern GtkType GTK_TYPE_GDK_LINE_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_CAP_STYLE</NAME> +extern GtkType GTK_TYPE_GDK_CAP_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_JOIN_STYLE</NAME> +extern GtkType GTK_TYPE_GDK_JOIN_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_CURSOR_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_CURSOR_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_FILTER_RETURN</NAME> +extern GtkType GTK_TYPE_GDK_FILTER_RETURN; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_VISIBILITY_STATE</NAME> +extern GtkType GTK_TYPE_GDK_VISIBILITY_STATE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_EVENT_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_EVENT_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_EVENT_MASK</NAME> +extern GtkType GTK_TYPE_GDK_EVENT_MASK; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_NOTIFY_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_NOTIFY_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_CROSSING_MODE</NAME> +extern GtkType GTK_TYPE_GDK_CROSSING_MODE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_MODIFIER_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_MODIFIER_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_SUBWINDOW_MODE</NAME> +extern GtkType GTK_TYPE_GDK_SUBWINDOW_MODE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_INPUT_CONDITION</NAME> +extern GtkType GTK_TYPE_GDK_INPUT_CONDITION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_STATUS</NAME> +extern GtkType GTK_TYPE_GDK_STATUS; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_BYTE_ORDER</NAME> +extern GtkType GTK_TYPE_GDK_BYTE_ORDER; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_GC_VALUES_MASK</NAME> +extern GtkType GTK_TYPE_GDK_GC_VALUES_MASK; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_SELECTION</NAME> +extern GtkType GTK_TYPE_GDK_SELECTION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_PROPERTY_STATE</NAME> +extern GtkType GTK_TYPE_GDK_PROPERTY_STATE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_PROP_MODE</NAME> +extern GtkType GTK_TYPE_GDK_PROP_MODE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_INPUT_SOURCE</NAME> +extern GtkType GTK_TYPE_GDK_INPUT_SOURCE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_INPUT_MODE</NAME> +extern GtkType GTK_TYPE_GDK_INPUT_MODE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_AXIS_USE</NAME> +extern GtkType GTK_TYPE_GDK_AXIS_USE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_TARGET</NAME> +extern GtkType GTK_TYPE_GDK_TARGET; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_SELECTION_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_SELECTION_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_EXTENSION_MODE</NAME> +extern GtkType GTK_TYPE_GDK_EXTENSION_MODE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_IM_STYLE</NAME> +extern GtkType GTK_TYPE_GDK_IM_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_IC_ATTRIBUTES_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_IC_ATTRIBUTES_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_WM_DECORATION</NAME> +extern GtkType GTK_TYPE_GDK_WM_DECORATION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_WM_FUNCTION</NAME> +extern GtkType GTK_TYPE_GDK_WM_FUNCTION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_COLOR_CONTEXT_MODE</NAME> +extern GtkType GTK_TYPE_GDK_COLOR_CONTEXT_MODE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_OVERLAP_TYPE</NAME> +extern GtkType GTK_TYPE_GDK_OVERLAP_TYPE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_DRAG_ACTION</NAME> +extern GtkType GTK_TYPE_GDK_DRAG_ACTION; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_DRAG_PROTOCOL</NAME> +extern GtkType GTK_TYPE_GDK_DRAG_PROTOCOL; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_RGB_DITHER</NAME> +extern GtkType GTK_TYPE_GDK_RGB_DITHER; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_ACCEL_GROUP</NAME> +extern GtkType GTK_TYPE_ACCEL_GROUP; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_SELECTION_DATA</NAME> +extern GtkType GTK_TYPE_SELECTION_DATA; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_STYLE</NAME> +extern GtkType GTK_TYPE_STYLE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_CTREE_NODE</NAME> +extern GtkType GTK_TYPE_CTREE_NODE; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_COLORMAP</NAME> +extern GtkType GTK_TYPE_GDK_COLORMAP; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_VISUAL</NAME> +extern GtkType GTK_TYPE_GDK_VISUAL; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_FONT</NAME> +extern GtkType GTK_TYPE_GDK_FONT; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_WINDOW</NAME> +extern GtkType GTK_TYPE_GDK_WINDOW; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_DRAG_CONTEXT</NAME> +extern GtkType GTK_TYPE_GDK_DRAG_CONTEXT; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_EVENT</NAME> +extern GtkType GTK_TYPE_GDK_EVENT; +</VARIABLE> +<VARIABLE> +<NAME>GTK_TYPE_GDK_COLOR</NAME> +extern GtkType GTK_TYPE_GDK_COLOR; +</VARIABLE> +<MACRO> +<NAME>GTK_TYPE_NUM_BUILTINS</NAME> +#define GTK_TYPE_NUM_BUILTINS (121) +</MACRO> +<ENUM> +<NAME>GtkFundamentalType</NAME> +typedef enum +{ + GTK_TYPE_INVALID, + GTK_TYPE_NONE, + + /* flat types */ + GTK_TYPE_CHAR, + GTK_TYPE_UCHAR, + GTK_TYPE_BOOL, + GTK_TYPE_INT, + GTK_TYPE_UINT, + GTK_TYPE_LONG, + GTK_TYPE_ULONG, + GTK_TYPE_FLOAT, + GTK_TYPE_DOUBLE, + GTK_TYPE_STRING, + GTK_TYPE_ENUM, + GTK_TYPE_FLAGS, + GTK_TYPE_BOXED, + GTK_TYPE_POINTER, + + /* structured types */ + GTK_TYPE_SIGNAL, + GTK_TYPE_ARGS, + GTK_TYPE_CALLBACK, + GTK_TYPE_C_CALLBACK, + GTK_TYPE_FOREIGN, + + /* base type node of the object system */ + GTK_TYPE_OBJECT +} GtkFundamentalType; +</ENUM> +<MACRO> +<NAME>GTK_TYPE_FLAT_FIRST</NAME> +#define GTK_TYPE_FLAT_FIRST GTK_TYPE_CHAR +</MACRO> +<MACRO> +<NAME>GTK_TYPE_FLAT_LAST</NAME> +#define GTK_TYPE_FLAT_LAST GTK_TYPE_POINTER +</MACRO> +<MACRO> +<NAME>GTK_TYPE_STRUCTURED_FIRST</NAME> +#define GTK_TYPE_STRUCTURED_FIRST GTK_TYPE_SIGNAL +</MACRO> +<MACRO> +<NAME>GTK_TYPE_STRUCTURED_LAST</NAME> +#define GTK_TYPE_STRUCTURED_LAST GTK_TYPE_FOREIGN +</MACRO> +<MACRO> +<NAME>GTK_TYPE_FUNDAMENTAL_LAST</NAME> +#define GTK_TYPE_FUNDAMENTAL_LAST GTK_TYPE_OBJECT +</MACRO> +<MACRO> +<NAME>GTK_TYPE_FUNDAMENTAL_MAX</NAME> +#define GTK_TYPE_FUNDAMENTAL_MAX (32) +</MACRO> +<MACRO> +<NAME>GTK_STRUCT_OFFSET</NAME> +#define GTK_STRUCT_OFFSET(struct, field) ((gint) offsetof (struct, field)) +</MACRO> +<MACRO> +<NAME>GTK_STRUCT_OFFSET</NAME> +#define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) +</MACRO> +<MACRO> +<NAME>GTK_CHECK_CAST</NAME> +# define GTK_CHECK_CAST(tobj, cast_type, cast) ((cast*) (tobj)) +</MACRO> +<MACRO> +<NAME>GTK_CHECK_CLASS_CAST</NAME> +# define GTK_CHECK_CLASS_CAST(tclass,cast_type,cast) ((cast*) (tclass)) +</MACRO> +<MACRO> +<NAME>GTK_CHECK_CAST</NAME> +# define GTK_CHECK_CAST(tobj, cast_type, cast) \ + ((cast*) gtk_type_check_object_cast ((GtkTypeObject*) (tobj), (cast_type))) +</MACRO> +<MACRO> +<NAME>GTK_CHECK_CLASS_CAST</NAME> +# define GTK_CHECK_CLASS_CAST(tclass,cast_type,cast) \ + ((cast*) gtk_type_check_class_cast ((GtkTypeClass*) (tclass), (cast_type))) +</MACRO> +<MACRO> +<NAME>GTK_CHECK_TYPE</NAME> +#define GTK_CHECK_TYPE(type_object, otype) ( \ + ((GtkTypeObject*) (type_object)) != NULL && \ + GTK_CHECK_CLASS_TYPE (((GtkTypeObject*) (type_object))->klass, (otype)) \ +) +</MACRO> +<MACRO> +<NAME>GTK_CHECK_CLASS_TYPE</NAME> +#define GTK_CHECK_CLASS_TYPE(type_class, otype) ( \ + ((GtkTypeClass*) (type_class)) != NULL && \ + gtk_type_is_a (((GtkTypeClass*) (type_class))->type, (otype)) \ +) +</MACRO> +<TYPEDEF> +<NAME>GtkType</NAME> +typedef guint GtkType; +</TYPEDEF> +<STRUCT> +<NAME>GtkTypeObject</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTypeClass</NAME> +</STRUCT> +<MACRO> +<NAME>GTK_TYPE_IDENTIFIER</NAME> +#define GTK_TYPE_IDENTIFIER (gtk_identifier_get_type ()) +</MACRO> +<FUNCTION> +<NAME>gtk_identifier_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_MAKE</NAME> +#define GTK_TYPE_MAKE(parent_t, seqno) (((seqno) << 8) | GTK_FUNDAMENTAL_TYPE (parent_t)) +</MACRO> +<MACRO> +<NAME>GTK_FUNDAMENTAL_TYPE</NAME> +#define GTK_FUNDAMENTAL_TYPE(type) ((GtkFundamentalType) ((type) & 0xFF)) +</MACRO> +<MACRO> +<NAME>GTK_TYPE_SEQNO</NAME> +#define GTK_TYPE_SEQNO(type) ((type) > 0xFF ? (type) >> 8 : (type)) +</MACRO> +<STRUCT> +<NAME>GtkArg</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkObject</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTypeInfo</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkTypeQuery</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkEnumValue</NAME> +</STRUCT> +<MACRO> +<NAME>GTK_SIGNAL_FUNC</NAME> +#define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) +</MACRO> +<USER_FUNCTION> +<NAME>GtkClassInitFunc</NAME> +<RETURNS>void </RETURNS> +gpointer klass +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkObjectInitFunc</NAME> +<RETURNS>void </RETURNS> +gpointer object, + gpointer klass +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkSignalFunc</NAME> +<RETURNS>void </RETURNS> + +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkFunction</NAME> +<RETURNS>gint </RETURNS> +gpointer data +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkDestroyNotify</NAME> +<RETURNS>void </RETURNS> +gpointer data +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkCallbackMarshal</NAME> +<RETURNS>void </RETURNS> +GtkObject *object, + gpointer data, + guint n_args, + GtkArg *args +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkSignalMarshaller</NAME> +<RETURNS>void </RETURNS> +GtkObject *object, + GtkSignalFunc func, + gpointer func_data, + GtkArg *args +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkArgGetFunc</NAME> +<RETURNS>void </RETURNS> +GtkObject*, GtkArg*, guint +</USER_FUNCTION> +<USER_FUNCTION> +<NAME>GtkArgSetFunc</NAME> +<RETURNS>void </RETURNS> +GtkObject*, GtkArg*, guint +</USER_FUNCTION> +<STRUCT> +<NAME>GtkTypeObject</NAME> +struct GtkTypeObject +{ + /* A pointer to the objects class. This will actually point to + * the derived objects class struct (which will be derived from + * GtkTypeClass). + */ + GtkTypeClass *klass; +}; +</STRUCT> +<STRUCT> +<NAME>GtkArg</NAME> +struct GtkArg +{ + GtkType type; + gchar *name; + + /* this union only defines the required storage types for + * the possibile values, thus there is no gint enum_data field, + * because that would just be a mere alias for gint int_data. + * use the GTK_VALUE_*() and GTK_RETLOC_*() macros to access + * the discrete memebers. + */ + union { + /* flat values */ + gchar char_data; + guchar uchar_data; + gboolean bool_data; + gint int_data; + guint uint_data; + glong long_data; + gulong ulong_data; + gfloat float_data; + gdouble double_data; + gchar *string_data; + gpointer pointer_data; + GtkObject *object_data; + + /* structured values */ + struct { + GtkSignalFunc f; + gpointer d; + } signal_data; + struct { + gint n_args; + GtkArg *args; + } args_data; + struct { + GtkCallbackMarshal marshal; + gpointer data; + GtkDestroyNotify notify; + } callback_data; + struct { + GtkFunction func; + gpointer func_data; + } c_callback_data; + struct { + gpointer data; + GtkDestroyNotify notify; + } foreign_data; + } d; +}; +</STRUCT> +<MACRO> +<NAME>GTK_VALUE_CHAR</NAME> +#define GTK_VALUE_CHAR(a) ((a).d.char_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_UCHAR</NAME> +#define GTK_VALUE_UCHAR(a) ((a).d.uchar_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_BOOL</NAME> +#define GTK_VALUE_BOOL(a) ((a).d.bool_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_INT</NAME> +#define GTK_VALUE_INT(a) ((a).d.int_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_UINT</NAME> +#define GTK_VALUE_UINT(a) ((a).d.uint_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_LONG</NAME> +#define GTK_VALUE_LONG(a) ((a).d.long_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_ULONG</NAME> +#define GTK_VALUE_ULONG(a) ((a).d.ulong_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_FLOAT</NAME> +#define GTK_VALUE_FLOAT(a) ((a).d.float_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_DOUBLE</NAME> +#define GTK_VALUE_DOUBLE(a) ((a).d.double_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_STRING</NAME> +#define GTK_VALUE_STRING(a) ((a).d.string_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_ENUM</NAME> +#define GTK_VALUE_ENUM(a) ((a).d.int_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_FLAGS</NAME> +#define GTK_VALUE_FLAGS(a) ((a).d.uint_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_BOXED</NAME> +#define GTK_VALUE_BOXED(a) ((a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_POINTER</NAME> +#define GTK_VALUE_POINTER(a) ((a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_OBJECT</NAME> +#define GTK_VALUE_OBJECT(a) ((a).d.object_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_SIGNAL</NAME> +#define GTK_VALUE_SIGNAL(a) ((a).d.signal_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_ARGS</NAME> +#define GTK_VALUE_ARGS(a) ((a).d.args_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_CALLBACK</NAME> +#define GTK_VALUE_CALLBACK(a) ((a).d.callback_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_C_CALLBACK</NAME> +#define GTK_VALUE_C_CALLBACK(a) ((a).d.c_callback_data) +</MACRO> +<MACRO> +<NAME>GTK_VALUE_FOREIGN</NAME> +#define GTK_VALUE_FOREIGN(a) ((a).d.foreign_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_CHAR</NAME> +#define GTK_RETLOC_CHAR(a) ((gchar*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_UCHAR</NAME> +#define GTK_RETLOC_UCHAR(a) ((guchar*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_BOOL</NAME> +#define GTK_RETLOC_BOOL(a) ((gboolean*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_INT</NAME> +#define GTK_RETLOC_INT(a) ((gint*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_UINT</NAME> +#define GTK_RETLOC_UINT(a) ((guint*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_LONG</NAME> +#define GTK_RETLOC_LONG(a) ((glong*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_ULONG</NAME> +#define GTK_RETLOC_ULONG(a) ((gulong*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_FLOAT</NAME> +#define GTK_RETLOC_FLOAT(a) ((gfloat*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_DOUBLE</NAME> +#define GTK_RETLOC_DOUBLE(a) ((gdouble*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_STRING</NAME> +#define GTK_RETLOC_STRING(a) ((gchar**) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_ENUM</NAME> +#define GTK_RETLOC_ENUM(a) ((gint*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_FLAGS</NAME> +#define GTK_RETLOC_FLAGS(a) ((guint*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_BOXED</NAME> +#define GTK_RETLOC_BOXED(a) ((gpointer*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_POINTER</NAME> +#define GTK_RETLOC_POINTER(a) ((gpointer*) (a).d.pointer_data) +</MACRO> +<MACRO> +<NAME>GTK_RETLOC_OBJECT</NAME> +#define GTK_RETLOC_OBJECT(a) ((GtkObject**) (a).d.pointer_data) +</MACRO> +<STRUCT> +<NAME>GtkTypeInfo</NAME> +struct GtkTypeInfo +{ + gchar *type_name; + guint object_size; + guint class_size; + GtkClassInitFunc class_init_func; + GtkObjectInitFunc object_init_func; + gpointer reserved_1; + gpointer reserved_2; + GtkClassInitFunc base_class_init_func; +}; +</STRUCT> +<STRUCT> +<NAME>GtkTypeQuery</NAME> +struct GtkTypeQuery +{ + GtkType type; + const gchar *type_name; + guint object_size; + guint class_size; +}; +</STRUCT> +<STRUCT> +<NAME>GtkEnumValue</NAME> +struct GtkEnumValue +{ + guint value; + gchar *value_name; + gchar *value_nick; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_type_init</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_unique</NAME> +<RETURNS>GtkType </RETURNS> +GtkType parent_type,const GtkTypeInfo *type_info +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_set_chunk_alloc</NAME> +<RETURNS>void </RETURNS> +GtkType type,guint n_chunks +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_name</NAME> +<RETURNS>gchar *</RETURNS> +guint type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_from_name</NAME> +<RETURNS>GtkType </RETURNS> +const gchar *name +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_parent</NAME> +<RETURNS>GtkType </RETURNS> +GtkType type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_class</NAME> +<RETURNS>gpointer </RETURNS> +GtkType type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_parent_class</NAME> +<RETURNS>gpointer </RETURNS> +GtkType type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_children_types</NAME> +<RETURNS>GList *</RETURNS> +GtkType type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_new</NAME> +<RETURNS>gpointer </RETURNS> +GtkType type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_free</NAME> +<RETURNS>void </RETURNS> +GtkType type,gpointer mem +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_describe_heritage</NAME> +<RETURNS>void </RETURNS> +GtkType type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_describe_tree</NAME> +<RETURNS>void </RETURNS> +GtkType type,gboolean show_size +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_is_a</NAME> +<RETURNS>gboolean </RETURNS> +GtkType type,GtkType is_a_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_check_object_cast</NAME> +<RETURNS>GtkTypeObject *</RETURNS> +GtkTypeObject *type_object,GtkType cast_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_check_class_cast</NAME> +<RETURNS>GtkTypeClass *</RETURNS> +GtkTypeClass *klass,GtkType cast_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_register_enum</NAME> +<RETURNS>GtkType </RETURNS> +const gchar *type_name,GtkEnumValue *values +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_register_flags</NAME> +<RETURNS>GtkType </RETURNS> +const gchar *type_name,GtkFlagValue *values +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_enum_get_values</NAME> +<RETURNS>GtkEnumValue *</RETURNS> +GtkType enum_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_flags_get_values</NAME> +<RETURNS>GtkFlagValue *</RETURNS> +GtkType flags_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_enum_find_value</NAME> +<RETURNS>GtkEnumValue *</RETURNS> +GtkType enum_type,const gchar *value_name +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_flags_find_value</NAME> +<RETURNS>GtkFlagValue *</RETURNS> +GtkType flag_type,const gchar *value_name +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_set_varargs_type</NAME> +<RETURNS>void </RETURNS> +GtkType foreign_type,GtkType varargs_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_get_varargs_type</NAME> +<RETURNS>GtkType </RETURNS> +GtkType foreign_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_type_query</NAME> +<RETURNS>GtkTypeQuery *</RETURNS> +GtkType type +</FUNCTION> +<MACRO> +<NAME>GTK_VBUTTON_BOX</NAME> +#define GTK_VBUTTON_BOX(obj) GTK_CHECK_CAST (obj, gtk_vbutton_box_get_type (), GtkVButtonBox) +</MACRO> +<MACRO> +<NAME>GTK_VBUTTON_BOX_CLASS</NAME> +#define GTK_VBUTTON_BOX_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_vbutton_box_get_type (), GtkVButtonBoxClass) +</MACRO> +<MACRO> +<NAME>GTK_IS_VBUTTON_BOX</NAME> +#define GTK_IS_VBUTTON_BOX(obj) GTK_CHECK_TYPE (obj, gtk_vbutton_box_get_type ()) +</MACRO> +<STRUCT> +<NAME>GtkVButtonBox</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVButtonBoxClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVButtonBox</NAME> +struct GtkVButtonBox +{ + GtkButtonBox button_box; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_vbutton_box_get_type</NAME> +<RETURNS>guint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_vbutton_box_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_vbutton_box_get_spacing_default</NAME> +<RETURNS>gint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_vbutton_box_set_spacing_default</NAME> +<RETURNS>void </RETURNS> +gint spacing +</FUNCTION> +<FUNCTION> +<NAME>gtk_vbutton_box_get_layout_default</NAME> +<RETURNS>GtkButtonBoxStyle </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_vbutton_box_set_layout_default</NAME> +<RETURNS>void </RETURNS> +GtkButtonBoxStyle layout +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_VBOX</NAME> +#define GTK_TYPE_VBOX (gtk_vbox_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_VBOX</NAME> +#define GTK_VBOX(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_VBOX, GtkVBox)) +</MACRO> +<MACRO> +<NAME>GTK_VBOX_CLASS</NAME> +#define GTK_VBOX_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_VBOX, GtkVBoxClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_VBOX</NAME> +#define GTK_IS_VBOX(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_VBOX)) +</MACRO> +<MACRO> +<NAME>GTK_IS_VBOX_CLASS</NAME> +#define GTK_IS_VBOX_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VBOX)) +</MACRO> +<STRUCT> +<NAME>GtkVBox</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVBoxClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVBox</NAME> +struct GtkVBox +{ + GtkBox box; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_vbox_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_vbox_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +gboolean homogeneous,gint spacing +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_VIEWPORT</NAME> +#define GTK_TYPE_VIEWPORT (gtk_viewport_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_VIEWPORT</NAME> +#define GTK_VIEWPORT(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_VIEWPORT, GtkViewport)) +</MACRO> +<MACRO> +<NAME>GTK_VIEWPORT_CLASS</NAME> +#define GTK_VIEWPORT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_VIEWPORT, GtkViewportClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_VIEWPORT</NAME> +#define GTK_IS_VIEWPORT(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_VIEWPORT)) +</MACRO> +<MACRO> +<NAME>GTK_IS_VIEWPORT_CLASS</NAME> +#define GTK_IS_VIEWPORT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VIEWPORT)) +</MACRO> +<STRUCT> +<NAME>GtkViewport</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkViewportClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkViewport</NAME> +struct GtkViewport +{ + GtkBin bin; + + GtkShadowType shadow_type; + GdkWindow *view_window; + GdkWindow *bin_window; + GtkAdjustment *hadjustment; + GtkAdjustment *vadjustment; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_viewport_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_viewport_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkAdjustment *hadjustment,GtkAdjustment *vadjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_viewport_get_hadjustment</NAME> +<RETURNS>GtkAdjustment *</RETURNS> +GtkViewport *viewport +</FUNCTION> +<FUNCTION> +<NAME>gtk_viewport_get_vadjustment</NAME> +<RETURNS>GtkAdjustment *</RETURNS> +GtkViewport *viewport +</FUNCTION> +<FUNCTION> +<NAME>gtk_viewport_set_hadjustment</NAME> +<RETURNS>void </RETURNS> +GtkViewport *viewport,GtkAdjustment *adjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_viewport_set_vadjustment</NAME> +<RETURNS>void </RETURNS> +GtkViewport *viewport,GtkAdjustment *adjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_viewport_set_shadow_type</NAME> +<RETURNS>void </RETURNS> +GtkViewport *viewport,GtkShadowType type +</FUNCTION> +<MACRO> +<NAME>GTK_VPANED</NAME> +#define GTK_VPANED(obj) GTK_CHECK_CAST (obj, gtk_vpaned_get_type (), GtkVPaned) +</MACRO> +<MACRO> +<NAME>GTK_VPANED_CLASS</NAME> +#define GTK_VPANED_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_vpaned_get_type (), GtkVPanedClass) +</MACRO> +<MACRO> +<NAME>GTK_IS_VPANED</NAME> +#define GTK_IS_VPANED(obj) GTK_CHECK_TYPE (obj, gtk_vpaned_get_type ()) +</MACRO> +<STRUCT> +<NAME>GtkVPaned</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVPanedClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVPaned</NAME> +struct GtkVPaned +{ + GtkPaned paned; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_vpaned_get_type</NAME> +<RETURNS>guint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_vpaned_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<MACRO> +<NAME>GTK_VRULER</NAME> +#define GTK_VRULER(obj) GTK_CHECK_CAST (obj, gtk_vruler_get_type (), GtkVRuler) +</MACRO> +<MACRO> +<NAME>GTK_VRULER_CLASS</NAME> +#define GTK_VRULER_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_vruler_get_type (), GtkVRulerClass) +</MACRO> +<MACRO> +<NAME>GTK_IS_VRULER</NAME> +#define GTK_IS_VRULER(obj) GTK_CHECK_TYPE (obj, gtk_vruler_get_type ()) +</MACRO> +<STRUCT> +<NAME>GtkVRuler</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVRulerClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVRuler</NAME> +struct GtkVRuler +{ + GtkRuler ruler; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_vruler_get_type</NAME> +<RETURNS>guint </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_vruler_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_VSCALE</NAME> +#define GTK_TYPE_VSCALE (gtk_vscale_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_VSCALE</NAME> +#define GTK_VSCALE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_VSCALE, GtkVScale)) +</MACRO> +<MACRO> +<NAME>GTK_VSCALE_CLASS</NAME> +#define GTK_VSCALE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_VSCALE, GtkVScaleClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_VSCALE</NAME> +#define GTK_IS_VSCALE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_VSCALE)) +</MACRO> +<MACRO> +<NAME>GTK_IS_VSCALE_CLASS</NAME> +#define GTK_IS_VSCALE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VSCALE)) +</MACRO> +<STRUCT> +<NAME>GtkVScale</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVScaleClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVScale</NAME> +struct GtkVScale +{ + GtkScale scale; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_vscale_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_vscale_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkAdjustment *adjustment +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_VSCROLLBAR</NAME> +#define GTK_TYPE_VSCROLLBAR (gtk_vscrollbar_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_VSCROLLBAR</NAME> +#define GTK_VSCROLLBAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_VSCROLLBAR, GtkVScrollbar)) +</MACRO> +<MACRO> +<NAME>GTK_VSCROLLBAR_CLASS</NAME> +#define GTK_VSCROLLBAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_VSCROLLBAR, GtkVScrollbarClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_VSCROLLBAR</NAME> +#define GTK_IS_VSCROLLBAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_VSCROLLBAR)) +</MACRO> +<MACRO> +<NAME>GTK_IS_VSCROLLBAR_CLASS</NAME> +#define GTK_IS_VSCROLLBAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VSCROLLBAR)) +</MACRO> +<STRUCT> +<NAME>GtkVScrollbar</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVScrollbarClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVScrollbar</NAME> +struct GtkVScrollbar +{ + GtkScrollbar scrollbar; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_vscrollbar_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_vscrollbar_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkAdjustment *adjustment +</FUNCTION> +<MACRO> +<NAME>GTK_TYPE_VSEPARATOR</NAME> +#define GTK_TYPE_VSEPARATOR (gtk_vseparator_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_VSEPARATOR</NAME> +#define GTK_VSEPARATOR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_VSEPARATOR, GtkVSeparator)) +</MACRO> +<MACRO> +<NAME>GTK_VSEPARATOR_CLASS</NAME> +#define GTK_VSEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_VSEPARATOR, GtkVSeparatorClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_VSEPARATOR</NAME> +#define GTK_IS_VSEPARATOR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_VSEPARATOR)) +</MACRO> +<MACRO> +<NAME>GTK_IS_VSEPARATOR_CLASS</NAME> +#define GTK_IS_VSEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VSEPARATOR)) +</MACRO> +<STRUCT> +<NAME>GtkVSeparator</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVSeparatorClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkVSeparator</NAME> +struct GtkVSeparator +{ + GtkSeparator separator; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_vseparator_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_vseparator_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +void +</FUNCTION> +<ENUM> +<NAME>GtkWidgetFlags</NAME> +typedef enum +{ + GTK_TOPLEVEL = 1 << 4, + GTK_NO_WINDOW = 1 << 5, + GTK_REALIZED = 1 << 6, + GTK_MAPPED = 1 << 7, + GTK_VISIBLE = 1 << 8, + GTK_SENSITIVE = 1 << 9, + GTK_PARENT_SENSITIVE = 1 << 10, + GTK_CAN_FOCUS = 1 << 11, + GTK_HAS_FOCUS = 1 << 12, + GTK_CAN_DEFAULT = 1 << 13, + GTK_HAS_DEFAULT = 1 << 14, + GTK_HAS_GRAB = 1 << 15, + GTK_RC_STYLE = 1 << 16, + GTK_COMPOSITE_CHILD = 1 << 17, + GTK_NO_REPARENT = 1 << 18, + GTK_APP_PAINTABLE = 1 << 19, + GTK_RECEIVES_DEFAULT = 1 << 20 +} GtkWidgetFlags; +</ENUM> +<MACRO> +<NAME>GTK_TYPE_WIDGET</NAME> +#define GTK_TYPE_WIDGET (gtk_widget_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET</NAME> +#define GTK_WIDGET(widget) (GTK_CHECK_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget)) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_CLASS</NAME> +#define GTK_WIDGET_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_WIDGET, GtkWidgetClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_WIDGET</NAME> +#define GTK_IS_WIDGET(widget) (GTK_CHECK_TYPE ((widget), GTK_TYPE_WIDGET)) +</MACRO> +<MACRO> +<NAME>GTK_IS_WIDGET_CLASS</NAME> +#define GTK_IS_WIDGET_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WIDGET)) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_TYPE</NAME> +#define GTK_WIDGET_TYPE(wid) (GTK_OBJECT_TYPE (wid)) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_STATE</NAME> +#define GTK_WIDGET_STATE(wid) (GTK_WIDGET (wid)->state) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_SAVED_STATE</NAME> +#define GTK_WIDGET_SAVED_STATE(wid) (GTK_WIDGET (wid)->saved_state) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_FLAGS</NAME> +#define GTK_WIDGET_FLAGS(wid) (GTK_OBJECT_FLAGS (wid)) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_TOPLEVEL</NAME> +#define GTK_WIDGET_TOPLEVEL(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_TOPLEVEL) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_NO_WINDOW</NAME> +#define GTK_WIDGET_NO_WINDOW(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_NO_WINDOW) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_REALIZED</NAME> +#define GTK_WIDGET_REALIZED(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_REALIZED) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_MAPPED</NAME> +#define GTK_WIDGET_MAPPED(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_MAPPED) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_VISIBLE</NAME> +#define GTK_WIDGET_VISIBLE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_VISIBLE) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_DRAWABLE</NAME> +#define GTK_WIDGET_DRAWABLE(wid) (GTK_WIDGET_VISIBLE (wid) && GTK_WIDGET_MAPPED (wid)) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_SENSITIVE</NAME> +#define GTK_WIDGET_SENSITIVE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_SENSITIVE) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_PARENT_SENSITIVE</NAME> +#define GTK_WIDGET_PARENT_SENSITIVE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_PARENT_SENSITIVE) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_IS_SENSITIVE</NAME> +#define GTK_WIDGET_IS_SENSITIVE(wid) (GTK_WIDGET_SENSITIVE (wid) && \ + GTK_WIDGET_PARENT_SENSITIVE (wid)) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_CAN_FOCUS</NAME> +#define GTK_WIDGET_CAN_FOCUS(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_CAN_FOCUS) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_HAS_FOCUS</NAME> +#define GTK_WIDGET_HAS_FOCUS(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_HAS_FOCUS) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_CAN_DEFAULT</NAME> +#define GTK_WIDGET_CAN_DEFAULT(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_CAN_DEFAULT) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_HAS_DEFAULT</NAME> +#define GTK_WIDGET_HAS_DEFAULT(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_HAS_DEFAULT) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_HAS_GRAB</NAME> +#define GTK_WIDGET_HAS_GRAB(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_HAS_GRAB) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_RC_STYLE</NAME> +#define GTK_WIDGET_RC_STYLE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_RC_STYLE) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_COMPOSITE_CHILD</NAME> +#define GTK_WIDGET_COMPOSITE_CHILD(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_COMPOSITE_CHILD) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_APP_PAINTABLE</NAME> +#define GTK_WIDGET_APP_PAINTABLE(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_APP_PAINTABLE) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_RECEIVES_DEFAULT</NAME> +#define GTK_WIDGET_RECEIVES_DEFAULT(wid) ((GTK_WIDGET_FLAGS (wid) & GTK_RECEIVES_DEFAULT) != 0) +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_SET_FLAGS</NAME> +#define GTK_WIDGET_SET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) |= (flag)); }G_STMT_END +</MACRO> +<MACRO> +<NAME>GTK_WIDGET_UNSET_FLAGS</NAME> +#define GTK_WIDGET_UNSET_FLAGS(wid,flag) G_STMT_START{ (GTK_WIDGET_FLAGS (wid) &= ~(flag)); }G_STMT_END +</MACRO> +<STRUCT> +<NAME>GtkRequisition</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkAllocation</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkSelectionData</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkWidgetClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkWidgetAuxInfo</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkWidgetShapeInfo</NAME> +</STRUCT> +<USER_FUNCTION> +<NAME>GtkCallback</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget, + gpointer data +</USER_FUNCTION> +<STRUCT> +<NAME>GtkRequisition</NAME> +struct GtkRequisition +{ + gint16 width; + gint16 height; +}; +</STRUCT> +<STRUCT> +<NAME>GtkAllocation</NAME> +struct GtkAllocation +{ + gint16 x; + gint16 y; + guint16 width; + guint16 height; +}; +</STRUCT> +<STRUCT> +<NAME>GtkSelectionData</NAME> +struct GtkSelectionData +{ + GdkAtom selection; + GdkAtom target; + GdkAtom type; + gint format; + guchar *data; + gint length; +}; +</STRUCT> +<STRUCT> +<NAME>GtkWidget</NAME> +struct GtkWidget +{ + /* The object structure needs to be the first + * element in the widget structure in order for + * the object mechanism to work correctly. This + * allows a GtkWidget pointer to be cast to a + * GtkObject pointer. + */ + GtkObject object; + + /* 16 bits of internally used private flags. + * this will be packed into the same 4 byte alignment frame that + * state and saved_state go. we therefore don't waste any new + * space on this. + */ + guint16 private_flags; + + /* The state of the widget. There are actually only + * 5 widget states (defined in "gtkenums.h"). + */ + guint8 state; + + /* The saved state of the widget. When a widgets state + * is changed to GTK_STATE_INSENSITIVE via + * "gtk_widget_set_state" or "gtk_widget_set_sensitive" + * the old state is kept around in this field. The state + * will be restored once the widget gets sensitive again. + */ + guint8 saved_state; + + /* The widgets name. If the widget does not have a name + * (the name is NULL), then its name (as returned by + * "gtk_widget_get_name") is its classes name. + * Among other things, the widget name is used to determine + * the style to use for a widget. + */ + gchar *name; + + /* The style for the widget. The style contains the + * colors the widget should be drawn in for each state + * along with graphics contexts used to draw with and + * the font to use for text. + */ + GtkStyle *style; + + /* The widgets desired size. + */ + GtkRequisition requisition; + + /* The widgets allocated size. + */ + GtkAllocation allocation; + + /* The widgets window or its parent window if it does + * not have a window. (Which will be indicated by the + * GTK_NO_WINDOW flag being set). + */ + GdkWindow *window; + + /* The widgets parent. + */ + GtkWidget *parent; +}; +</STRUCT> +<STRUCT> +<NAME>GtkWidgetAuxInfo</NAME> +struct GtkWidgetAuxInfo +{ + gint16 x; + gint16 y; + gint16 width; + gint16 height; +}; +</STRUCT> +<STRUCT> +<NAME>GtkWidgetShapeInfo</NAME> +struct GtkWidgetShapeInfo +{ + gint16 offset_x; + gint16 offset_y; + GdkBitmap *shape_mask; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_widget_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkType type,const gchar *first_arg_name,... +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_newv</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkType type,guint nargs,GtkArg *args +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_ref</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_unref</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_destroy</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_destroyed</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkWidget **widget_pointer +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkArg *arg +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_getv</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,guint nargs,GtkArg *args +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,const gchar *first_arg_name,... +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_setv</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,guint nargs,GtkArg *args +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_unparent</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_show</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_show_now</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_hide</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_show_all</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_hide_all</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_map</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_unmap</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_realize</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_unrealize</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_queue_draw</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_queue_draw_area</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_queue_clear</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_queue_clear_area</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gint x,gint y,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_queue_resize</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_draw</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GdkRectangle *area +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_draw_focus</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_draw_default</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_size_request</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkRequisition *requisition +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_size_allocate</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkAllocation *allocation +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_child_requisition</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkRequisition *requisition +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_add_accelerator</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,const gchar *accel_signal,GtkAccelGroup *accel_group,guint accel_key,guint accel_mods,GtkAccelFlags accel_flags +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_remove_accelerator</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkAccelGroup *accel_group,guint accel_key,guint accel_mods +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_remove_accelerators</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,const gchar *accel_signal,gboolean visible_only +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_accelerator_signal</NAME> +<RETURNS>guint </RETURNS> +GtkWidget *widget,GtkAccelGroup *accel_group,guint accel_key,guint accel_mods +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_lock_accelerators</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_unlock_accelerators</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_accelerators_locked</NAME> +<RETURNS>gboolean </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_event</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget,GdkEvent *event +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_activate</NAME> +<RETURNS>gboolean </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_scroll_adjustments</NAME> +<RETURNS>gboolean </RETURNS> +GtkWidget *widget,GtkAdjustment *hadjustment,GtkAdjustment *vadjustment +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_reparent</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkWidget *new_parent +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_popup</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gint x,gint y +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_intersect</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget,GdkRectangle *area,GdkRectangle *intersection +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_grab_focus</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_grab_default</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_name</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,const gchar *name +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_name</NAME> +<RETURNS>gchar *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_state</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkStateType state +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_sensitive</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gboolean sensitive +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_app_paintable</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gboolean app_paintable +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_parent</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkWidget *parent +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_parent_window</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GdkWindow *parent_window +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_parent_window</NAME> +<RETURNS>GdkWindow *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_uposition</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gint x,gint y +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_usize</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_events</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gint events +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_add_events</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gint events +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_extension_events</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GdkExtensionMode mode +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_extension_events</NAME> +<RETURNS>GdkExtensionMode </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_toplevel</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_ancestor</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkWidget *widget,GtkType widget_type +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_colormap</NAME> +<RETURNS>GdkColormap *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_visual</NAME> +<RETURNS>GdkVisual *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_colormap</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GdkColormap *colormap +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_visual</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GdkVisual *visual +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_events</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_pointer</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gint *x,gint *y +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_is_ancestor</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget,GtkWidget *ancestor +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_hide_on_delete</NAME> +<RETURNS>gint </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_style</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkStyle *style +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_rc_style</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_ensure_style</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_style</NAME> +<RETURNS>GtkStyle *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_restore_default_style</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_modify_style</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GtkRcStyle *style +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_composite_name</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,gchar *name +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_composite_name</NAME> +<RETURNS>gchar *</RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_reset_rc_styles</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_push_style</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_push_colormap</NAME> +<RETURNS>void </RETURNS> +GdkColormap *cmap +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_push_visual</NAME> +<RETURNS>void </RETURNS> +GdkVisual *visual +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_push_composite_child</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_pop_composite_child</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_pop_style</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_pop_colormap</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_pop_visual</NAME> +<RETURNS>void </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_default_style</NAME> +<RETURNS>void </RETURNS> +GtkStyle *style +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_default_colormap</NAME> +<RETURNS>void </RETURNS> +GdkColormap *colormap +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_set_default_visual</NAME> +<RETURNS>void </RETURNS> +GdkVisual *visual +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_default_style</NAME> +<RETURNS>GtkStyle *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_default_colormap</NAME> +<RETURNS>GdkColormap *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_get_default_visual</NAME> +<RETURNS>GdkVisual *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_shape_combine_mask</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,GdkBitmap *shape_mask,gint offset_x,gint offset_y +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_reset_shapes</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_path</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,guint *path_length,gchar **path,gchar **path_reversed +</FUNCTION> +<FUNCTION> +<NAME>gtk_widget_class_path</NAME> +<RETURNS>void </RETURNS> +GtkWidget *widget,guint *path_length,gchar **path,gchar **path_reversed +</FUNCTION> +<MACRO> +<NAME>gtk_widget_ref</NAME> +# define gtk_widget_ref gtk_object_ref +</MACRO> +<MACRO> +<NAME>gtk_widget_unref</NAME> +# define gtk_widget_unref gtk_object_unref +</MACRO> +<MACRO> +<NAME>GTK_TYPE_WINDOW</NAME> +#define GTK_TYPE_WINDOW (gtk_window_get_type ()) +</MACRO> +<MACRO> +<NAME>GTK_WINDOW</NAME> +#define GTK_WINDOW(obj) (GTK_CHECK_CAST (obj, GTK_TYPE_WINDOW, GtkWindow)) +</MACRO> +<MACRO> +<NAME>GTK_WINDOW_CLASS</NAME> +#define GTK_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST (klass, GTK_TYPE_WINDOW, GtkWindowClass)) +</MACRO> +<MACRO> +<NAME>GTK_IS_WINDOW</NAME> +#define GTK_IS_WINDOW(obj) (GTK_CHECK_TYPE (obj, GTK_TYPE_WINDOW)) +</MACRO> +<MACRO> +<NAME>GTK_IS_WINDOW_CLASS</NAME> +#define GTK_IS_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE (klass, GTK_TYPE_WINDOW)) +</MACRO> +<STRUCT> +<NAME>GtkWindow</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkWindowClass</NAME> +</STRUCT> +<STRUCT> +<NAME>GtkWindow</NAME> +struct GtkWindow +{ + GtkBin bin; + + gchar *title; + gchar *wmclass_name; + gchar *wmclass_class; + GtkWindowType type; + + GtkWidget *focus_widget; + GtkWidget *default_widget; + GtkWindow *transient_parent; + + gushort resize_count; + guint allow_shrink : 1; + guint allow_grow : 1; + guint auto_shrink : 1; + guint handling_resize : 1; + guint position : 2; + + /* The following flag is initially TRUE when a window is mapped. + * and will be set to FALSE after it is first positioned. + * It is also temporarily reset when the window's size changes. + * + * When TRUE, we move the window to the position the app set. + */ + guint use_uposition : 1; + guint modal : 1; +}; +</STRUCT> +<FUNCTION> +<NAME>gtk_window_get_type</NAME> +<RETURNS>GtkType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_new</NAME> +<RETURNS>GtkWidget *</RETURNS> +GtkWindowType type +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_set_title</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,const gchar *title +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_set_wmclass</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,const gchar *wmclass_name,const gchar *wmclass_class +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_set_policy</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,gint allow_shrink,gint allow_grow,gint auto_shrink +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_add_accel_group</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,GtkAccelGroup *accel_group +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_remove_accel_group</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,GtkAccelGroup *accel_group +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_set_position</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,GtkWindowPosition position +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_activate_focus</NAME> +<RETURNS>gint </RETURNS> +GtkWindow *window +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_activate_default</NAME> +<RETURNS>gint </RETURNS> +GtkWindow *window +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_set_transient_for</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,GtkWindow *parent +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_set_geometry_hints</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,GtkWidget *geometry_widget,GdkGeometry *geometry,GdkWindowHints geom_mask +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_set_default_size</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,gint width,gint height +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_set_modal</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,gboolean modal +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_set_focus</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,GtkWidget *focus +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_set_default</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,GtkWidget *defaultw +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_remove_embedded_xid</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,guint xid +</FUNCTION> +<FUNCTION> +<NAME>gtk_window_add_embedded_xid</NAME> +<RETURNS>void </RETURNS> +GtkWindow *window,guint xid +</FUNCTION> diff --git a/docs/reference/gtk/gtk-docs.sgml b/docs/reference/gtk/gtk-docs.sgml new file mode 100644 index 0000000000..b1586642c9 --- /dev/null +++ b/docs/reference/gtk/gtk-docs.sgml @@ -0,0 +1,297 @@ +<!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [ +<!entity GtkAccelLabel SYSTEM "sgml/gtkaccellabel.sgml"> +<!entity GtkAdjustment SYSTEM "sgml/gtkadjustment.sgml"> +<!entity GtkAlignment SYSTEM "sgml/gtkalignment.sgml"> +<!entity GtkArrow SYSTEM "sgml/gtkarrow.sgml"> +<!entity GtkAspectFrame SYSTEM "sgml/gtkaspectframe.sgml"> +<!entity GtkButtonBox SYSTEM "sgml/gtkbbox.sgml"> +<!entity GtkBin SYSTEM "sgml/gtkbin.sgml"> +<!entity GtkBox SYSTEM "sgml/gtkbox.sgml"> +<!entity GtkButton SYSTEM "sgml/gtkbutton.sgml"> +<!entity GtkCalendar SYSTEM "sgml/gtkcalendar.sgml"> +<!entity GtkCheckButton SYSTEM "sgml/gtkcheckbutton.sgml"> +<!entity GtkCheckMenuItem SYSTEM "sgml/gtkcheckmenuitem.sgml"> +<!entity GtkCList SYSTEM "sgml/gtkclist.sgml"> +<!entity GtkColorSelection SYSTEM "sgml/gtkcolorsel.sgml"> +<!entity GtkColorSelectionDialog SYSTEM "sgml/gtkcolorseldlg.sgml"> +<!entity GtkCombo SYSTEM "sgml/gtkcombo.sgml"> +<!entity GtkContainer SYSTEM "sgml/gtkcontainer.sgml"> +<!entity GtkCTree SYSTEM "sgml/gtkctree.sgml"> +<!entity GtkCurve SYSTEM "sgml/gtkcurve.sgml"> +<!entity GtkData SYSTEM "sgml/gtkdata.sgml"> +<!entity GtkDialog SYSTEM "sgml/gtkdialog.sgml"> +<!entity GtkDrawingArea SYSTEM "sgml/gtkdrawingarea.sgml"> +<!entity GtkEditable SYSTEM "sgml/gtkeditable.sgml"> +<!entity GtkEntry SYSTEM "sgml/gtkentry.sgml"> +<!entity GtkEventBox SYSTEM "sgml/gtkeventbox.sgml"> +<!entity GtkFileSelection SYSTEM "sgml/gtkfilesel.sgml"> +<!entity GtkFixed SYSTEM "sgml/gtkfixed.sgml"> +<!entity GtkFontSelection SYSTEM "sgml/gtkfontsel.sgml"> +<!entity GtkFontSelectionDialog SYSTEM "sgml/gtkfontseldlg.sgml"> +<!entity GtkFrame SYSTEM "sgml/gtkframe.sgml"> +<!entity GtkGammaCurve SYSTEM "sgml/gtkgamma.sgml"> +<!entity GtkHandleBox SYSTEM "sgml/gtkhandlebox.sgml"> +<!entity GtkHButtonBox SYSTEM "sgml/gtkhbbox.sgml"> +<!entity GtkHBox SYSTEM "sgml/gtkhbox.sgml"> +<!entity GtkHPaned SYSTEM "sgml/gtkhpaned.sgml"> +<!entity GtkHRuler SYSTEM "sgml/gtkhruler.sgml"> +<!entity GtkHScale SYSTEM "sgml/gtkhscale.sgml"> +<!entity GtkHScrollbar SYSTEM "sgml/gtkhscrollbar.sgml"> +<!entity GtkHSeparator SYSTEM "sgml/gtkhseparator.sgml"> +<!entity GtkImage SYSTEM "sgml/gtkimage.sgml"> +<!entity GtkInputDialog SYSTEM "sgml/gtkinputdialog.sgml"> +<!entity GtkInvisible SYSTEM "sgml/gtkinvisible.sgml"> +<!entity GtkItem SYSTEM "sgml/gtkitem.sgml"> +<!entity GtkItemFactory SYSTEM "sgml/gtkitemfactory.sgml"> +<!entity GtkLabel SYSTEM "sgml/gtklabel.sgml"> +<!entity GtkLayout SYSTEM "sgml/gtklayout.sgml"> +<!entity GtkList SYSTEM "sgml/gtklist.sgml"> +<!entity GtkListItem SYSTEM "sgml/gtklistitem.sgml"> +<!entity GtkMenu SYSTEM "sgml/gtkmenu.sgml"> +<!entity GtkMenuBar SYSTEM "sgml/gtkmenubar.sgml"> +<!entity GtkMenuItem SYSTEM "sgml/gtkmenuitem.sgml"> +<!entity GtkMenuShell SYSTEM "sgml/gtkmenushell.sgml"> +<!entity GtkMisc SYSTEM "sgml/gtkmisc.sgml"> +<!entity GtkNotebook SYSTEM "sgml/gtknotebook.sgml"> +<!entity GtkObject SYSTEM "sgml/gtkobject.sgml"> +<!entity GtkOptionMenu SYSTEM "sgml/gtkoptionmenu.sgml"> +<!entity GtkPacker SYSTEM "sgml/gtkpacker.sgml"> +<!entity GtkPaned SYSTEM "sgml/gtkpaned.sgml"> +<!entity GtkPixmap SYSTEM "sgml/gtkpixmap.sgml"> +<!entity GtkPlug SYSTEM "sgml/gtkplug.sgml"> +<!entity GtkPreview SYSTEM "sgml/gtkpreview.sgml"> +<!entity GtkProgress SYSTEM "sgml/gtkprogress.sgml"> +<!entity GtkProgressBar SYSTEM "sgml/gtkprogressbar.sgml"> +<!entity GtkRadioButton SYSTEM "sgml/gtkradiobutton.sgml"> +<!entity GtkRadioMenuItem SYSTEM "sgml/gtkradiomenuitem.sgml"> +<!entity GtkRange SYSTEM "sgml/gtkrange.sgml"> +<!entity GtkRuler SYSTEM "sgml/gtkruler.sgml"> +<!entity GtkScale SYSTEM "sgml/gtkscale.sgml"> +<!entity GtkScrollbar SYSTEM "sgml/gtkscrollbar.sgml"> +<!entity GtkScrolledWindow SYSTEM "sgml/gtkscrolledwindow.sgml"> +<!entity GtkSeparator SYSTEM "sgml/gtkseparator.sgml"> +<!entity GtkSocket SYSTEM "sgml/gtksocket.sgml"> +<!entity GtkSpinButton SYSTEM "sgml/gtkspinbutton.sgml"> +<!entity GtkStatusbar SYSTEM "sgml/gtkstatusbar.sgml"> +<!entity GtkTable SYSTEM "sgml/gtktable.sgml"> +<!entity GtkTearoffMenuItem SYSTEM "sgml/gtktearoffmenuitem.sgml"> +<!entity GtkText SYSTEM "sgml/gtktext.sgml"> +<!entity GtkTipsQuery SYSTEM "sgml/gtktipsquery.sgml"> +<!entity GtkToggleButton SYSTEM "sgml/gtktogglebutton.sgml"> +<!entity GtkToolbar SYSTEM "sgml/gtktoolbar.sgml"> +<!entity GtkTooltips SYSTEM "sgml/gtktooltips.sgml"> +<!entity GtkTree SYSTEM "sgml/gtktree.sgml"> +<!entity GtkTreeItem SYSTEM "sgml/gtktreeitem.sgml"> +<!entity GtkVButtonBox SYSTEM "sgml/gtkvbbox.sgml"> +<!entity GtkVBox SYSTEM "sgml/gtkvbox.sgml"> +<!entity GtkViewport SYSTEM "sgml/gtkviewport.sgml"> +<!entity GtkVPaned SYSTEM "sgml/gtkvpaned.sgml"> +<!entity GtkVRuler SYSTEM "sgml/gtkvruler.sgml"> +<!entity GtkVScale SYSTEM "sgml/gtkvscale.sgml"> +<!entity GtkVScrollbar SYSTEM "sgml/gtkvscrollbar.sgml"> +<!entity GtkVSeparator SYSTEM "sgml/gtkvseparator.sgml"> +<!entity GtkWidget SYSTEM "sgml/gtkwidget.sgml"> +<!entity GtkWindow SYSTEM "sgml/gtkwindow.sgml"> +<!entity gtk-General SYSTEM "sgml/gtkmain.sgml"> +<!entity gtk-Feature-Test-Macros SYSTEM "sgml/gtkfeatures.sgml"> +<!entity gtk-Graphics-Contexts SYSTEM "sgml/gtkgc.sgml"> +<!entity gtk-Styles SYSTEM "sgml/gtkstyle.sgml"> +<!entity gtk-Themes SYSTEM "sgml/gtkthemes.sgml"> +<!entity gtk-Resource-Files SYSTEM "sgml/gtkrc.sgml"> +<!entity gtk-Keyboard-Accelerators SYSTEM "sgml/gtkaccelgroup.sgml"> +<!entity gtk-Selections SYSTEM "sgml/gtkselection.sgml"> +<!entity gtk-Drag-and-Drop SYSTEM "sgml/gtkdnd.sgml"> +<!entity gtk-Menu-Factory SYSTEM "sgml/gtkmenufactory.sgml"> +<!entity gtk-Signals SYSTEM "sgml/gtksignal.sgml"> +<!entity gtk-Signal-Marshallers SYSTEM "sgml/gtkmarshal.sgml"> +<!entity gtk-Object-Properties SYSTEM "sgml/gtkarg.sgml"> +<!entity gtk-Types SYSTEM "sgml/gtktypeutils.sgml"> +<!entity gtk-Bindings SYSTEM "sgml/gtkbindings.sgml"> +<!entity gtk-Standard-Enumerations SYSTEM "sgml/gtkenums.sgml"> +<!entity gtk-Debugging SYSTEM "sgml/gtkdebug.sgml"> +<!entity gtk-Private-Information SYSTEM "sgml/gtkprivate.sgml"> + +<!entity index-Object-Tree SYSTEM "sgml/tree_index.sgml"> + +<!entity index-Objects-Grouped SYSTEM "objects_grouped.sgml"> +]> +<book id="index"> + <bookinfo> + <title>GTK+ Reference Manual + + + + GTK+ + +GTK+ is a multi-platform open source GUI Toolkit. Everything about +GTK+ from the object-oriented design to the Free Software LGPL +licensing allows you to code your project with the most freedom +possible. You can develop open software, free software, or even +commercial non-free software without having to spend a dime for +licenses or royalties. + + +GTK+ is a set of libraries to create graphical user interfaces. It +works on many Unix-like platforms, and a Windows version is in +development. GTK+ is released under the GNU Library General Public +License (GNU LGPL), which allows for flexible licensing of client +applications. GTK+ has a C-based object-oriented architecture that +allows for maximum flexibility. Bindings for other languages have +been written, including C++, Objective-C, Guile/Scheme, Perl, Python, +TOM, Ada95, Free Pascal, and Eiffel. + + +GTK+ consists of the following component libraries: + + + +GLib + +Provides many useful data types, macros, type conversions, +string utilities and a lexical scanner. Includes Win32 support. + + + + +GDK + +A wrapper for low-level windowing functions. + + + + +GTK+ + +An advanced widget set. + + + + + + >k-General; + >k-Feature-Test-Macros; + >k-Graphics-Contexts; + >k-Styles; + >k-Themes; + >k-Resource-Files; + >k-Keyboard-Accelerators; + >k-Selections; + >k-Drag-and-Drop; + >k-Menu-Factory; + >k-Signals; + >k-Signal-Marshallers; + >k-Object-Properties; + >k-Types; + >k-Bindings; + >k-Standard-Enumerations; + >k-Debugging; + >k-Private-Information; + + + + GTK+ Widgets and Objects + &index-Objects-Grouped; + + &GtkAccelLabel; + &GtkAdjustment; + &GtkAlignment; + &GtkArrow; + &GtkAspectFrame; + &GtkButtonBox; + &GtkBin; + &GtkBox; + &GtkButton; + &GtkCalendar; + &GtkCheckButton; + &GtkCheckMenuItem; + &GtkCList; + &GtkColorSelection; + &GtkColorSelectionDialog; + &GtkCombo; + &GtkContainer; + &GtkCTree; + &GtkCurve; + &GtkData; + &GtkDialog; + &GtkDrawingArea; + &GtkEditable; + &GtkEntry; + &GtkEventBox; + &GtkFileSelection; + &GtkFixed; + &GtkFontSelection; + &GtkFontSelectionDialog; + &GtkFrame; + &GtkGammaCurve; + &GtkHandleBox; + &GtkHButtonBox; + &GtkHBox; + &GtkHPaned; + &GtkHRuler; + &GtkHScale; + &GtkHScrollbar; + &GtkHSeparator; + &GtkImage; + &GtkInputDialog; + &GtkInvisible; + &GtkItem; + &GtkItemFactory; + &GtkLabel; + &GtkLayout; + &GtkList; + &GtkListItem; + &GtkMenu; + &GtkMenuBar; + &GtkMenuItem; + &GtkMenuShell; + &GtkMisc; + &GtkNotebook; + &GtkObject; + &GtkOptionMenu; + &GtkPacker; + &GtkPaned; + &GtkPixmap; + &GtkPlug; + &GtkPreview; + &GtkProgress; + &GtkProgressBar; + &GtkRadioButton; + &GtkRadioMenuItem; + &GtkRange; + &GtkRuler; + &GtkScale; + &GtkScrollbar; + &GtkScrolledWindow; + &GtkSeparator; + &GtkSocket; + &GtkSpinButton; + &GtkStatusbar; + &GtkTable; + &GtkTearoffMenuItem; + &GtkText; + &GtkTipsQuery; + &GtkToggleButton; + &GtkToolbar; + &GtkTooltips; + &GtkTree; + &GtkTreeItem; + &GtkVButtonBox; + &GtkVBox; + &GtkViewport; + &GtkVPaned; + &GtkVRuler; + &GtkVScale; + &GtkVScrollbar; + &GtkVSeparator; + &GtkWidget; + &GtkWindow; + + + + Index + + Object Hierarchy + &index-Object-Tree; + + + diff --git a/docs/reference/gtk/gtk-overrides.txt b/docs/reference/gtk/gtk-overrides.txt new file mode 100644 index 0000000000..485996d6ed --- /dev/null +++ b/docs/reference/gtk/gtk-overrides.txt @@ -0,0 +1,19 @@ +# These are manually-edited to override or add declarations to those scanned +# from the GTK header files. + +# These haven't been given parameter names in the header files. + +GtkArgGetFunc +void +GtkObject *object, +GtkArg *arg, +guint arg_id + + + +GtkArgSetFunc +void +GtkObject *object, +GtkArg *arg, +guint arg_id + diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt new file mode 100644 index 0000000000..b5be4c6e67 --- /dev/null +++ b/docs/reference/gtk/gtk-sections.txt @@ -0,0 +1,2955 @@ + +gtk/gtk.h + +
+gtkaccellabel +GtkAccelLabel +GtkAccelLabel +gtk_accel_label_new +gtk_accel_label_set_accel_widget +gtk_accel_label_get_accel_width +gtk_accel_label_refetch + +GTK_ACCEL_LABEL +GTK_IS_ACCEL_LABEL +GTK_TYPE_ACCEL_LABEL +gtk_accel_label_get_type +GTK_ACCEL_LABEL_CLASS +GTK_IS_ACCEL_LABEL_CLASS + +gtk_accel_label_accelerator_width +
+ +
+gtkadjustment +GtkAdjustment +GtkAdjustment +gtk_adjustment_new +gtk_adjustment_set_value +gtk_adjustment_clamp_page +gtk_adjustment_changed +gtk_adjustment_value_changed + +GTK_ADJUSTMENT +GTK_IS_ADJUSTMENT +GTK_TYPE_ADJUSTMENT +gtk_adjustment_get_type +GTK_ADJUSTMENT_CLASS +GTK_IS_ADJUSTMENT_CLASS +
+ +
+gtkalignment +GtkAlignment +GtkAlignment +gtk_alignment_new +gtk_alignment_set + +GTK_ALIGNMENT +GTK_IS_ALIGNMENT +GTK_TYPE_ALIGNMENT +gtk_alignment_get_type +GTK_ALIGNMENT_CLASS +GTK_IS_ALIGNMENT_CLASS +
+ +
+gtkarrow +GtkArrow +GtkArrow +gtk_arrow_new +gtk_arrow_set + +GTK_ARROW +GTK_IS_ARROW +GTK_TYPE_ARROW +gtk_arrow_get_type +GTK_ARROW_CLASS +GTK_IS_ARROW_CLASS +
+ +
+gtkaspectframe +GtkAspectFrame +GtkAspectFrame +gtk_aspect_frame_new +gtk_aspect_frame_set + +GTK_ASPECT_FRAME +GTK_IS_ASPECT_FRAME +GTK_TYPE_ASPECT_FRAME +gtk_aspect_frame_get_type +GTK_ASPECT_FRAME_CLASS +GTK_IS_ASPECT_FRAME_CLASS +
+ +
+gtkbbox +GtkButtonBox +GtkButtonBox +GTK_BUTTONBOX_DEFAULT +gtk_button_box_get_child_size_default +gtk_button_box_get_child_ipadding_default +gtk_button_box_set_child_size_default +gtk_button_box_set_child_ipadding_default +gtk_button_box_get_spacing +gtk_button_box_get_layout +gtk_button_box_get_child_size +gtk_button_box_get_child_ipadding +gtk_button_box_set_spacing +gtk_button_box_set_layout +gtk_button_box_set_child_size +gtk_button_box_set_child_ipadding +gtk_button_box_child_requisition + +GTK_BUTTON_BOX +GTK_IS_BUTTON_BOX +GTK_TYPE_BUTTON_BOX +gtk_button_box_get_type +GTK_BUTTON_BOX_CLASS +GTK_IS_BUTTON_BOX_CLASS +
+ +
+gtkbin +GtkBin +GtkBin + +GTK_BIN +GTK_IS_BIN +GTK_TYPE_BIN +gtk_bin_get_type +GTK_BIN_CLASS +GTK_IS_BIN_CLASS +
+ +
+gtkbox +GtkBox +GtkBox +GtkBoxChild +gtk_box_pack_start +gtk_box_pack_end +gtk_box_pack_start_defaults +gtk_box_pack_end_defaults +gtk_box_set_homogeneous +gtk_box_set_spacing +gtk_box_reorder_child +gtk_box_query_child_packing +gtk_box_set_child_packing + +GTK_BOX +GTK_IS_BOX +GTK_TYPE_BOX +gtk_box_get_type +GTK_BOX_CLASS +GTK_IS_BOX_CLASS +
+ +
+gtkbutton +GtkButton +GtkButton +gtk_button_new +gtk_button_new_with_label +gtk_button_pressed +gtk_button_released +gtk_button_clicked +gtk_button_enter +gtk_button_leave +gtk_button_set_relief +gtk_button_get_relief + +GTK_BUTTON +GTK_IS_BUTTON +GTK_TYPE_BUTTON +gtk_button_get_type +GTK_BUTTON_CLASS +GTK_IS_BUTTON_CLASS +
+ +
+gtkcalendar +GtkCalendar +GtkCalendarDisplayOptions +GtkCalendar +gtk_calendar_new +gtk_calendar_select_month +gtk_calendar_select_day +gtk_calendar_mark_day +gtk_calendar_unmark_day +gtk_calendar_clear_marks +gtk_calendar_display_options +gtk_calendar_get_date +gtk_calendar_freeze +gtk_calendar_thaw + +GTK_CALENDAR +GTK_IS_CALENDAR +GTK_TYPE_CALENDAR +gtk_calendar_get_type +GTK_CALENDAR_CLASS +GTK_IS_CALENDAR_CLASS +
+ +
+gtkcheckbutton +GtkCheckButton +GtkCheckButton +gtk_check_button_new +gtk_check_button_new_with_label + +GTK_CHECK_BUTTON +GTK_IS_CHECK_BUTTON +GTK_TYPE_CHECK_BUTTON +gtk_check_button_get_type +GTK_CHECK_BUTTON_CLASS +GTK_IS_CHECK_BUTTON_CLASS +
+ +
+gtkcheckmenuitem +GtkCheckMenuItem +GtkCheckMenuItem +gtk_check_menu_item_new +gtk_check_menu_item_new_with_label +gtk_check_menu_item_set_state +gtk_check_menu_item_set_active +gtk_check_menu_item_set_show_toggle +gtk_check_menu_item_toggled + +GTK_CHECK_MENU_ITEM +GTK_IS_CHECK_MENU_ITEM +GTK_TYPE_CHECK_MENU_ITEM +gtk_check_menu_item_get_type +GTK_CHECK_MENU_ITEM_CLASS +GTK_IS_CHECK_MENU_ITEM_CLASS +
+ +
+gtkclist +GtkCList +GtkCellType +GtkButtonAction +GTK_CLIST_FLAGS +GTK_CLIST_SET_FLAG +GTK_CLIST_UNSET_FLAG +GTK_CLIST_IN_DRAG +GTK_CLIST_ROW_HEIGHT_SET +GTK_CLIST_SHOW_TITLES +GTK_CLIST_CHILD_HAS_FOCUS +GTK_CLIST_ADD_MODE +GTK_CLIST_AUTO_SORT +GTK_CLIST_AUTO_RESIZE_BLOCKED +GTK_CLIST_REORDERABLE +GTK_CLIST_USE_DRAG_ICONS +GTK_CLIST_DRAW_DRAG_LINE +GTK_CLIST_DRAW_DRAG_RECT +GTK_CLIST_ROW +GTK_CELL_TEXT +GTK_CELL_PIXMAP +GTK_CELL_PIXTEXT +GTK_CELL_WIDGET +GtkCListCompareFunc +GtkCList +GtkCListColumn +GtkCListRow +GtkCellText +GtkCellPixmap +GtkCellPixText +GtkCellWidget +GtkCell +GtkCListCellInfo +GtkCListDestInfo +GtkCListDragPos +gtk_clist_construct +gtk_clist_new +gtk_clist_new_with_titles +gtk_clist_set_shadow_type +gtk_clist_set_selection_mode +gtk_clist_freeze +gtk_clist_thaw +gtk_clist_column_titles_show +gtk_clist_column_titles_hide +gtk_clist_column_title_active +gtk_clist_column_title_passive +gtk_clist_column_titles_active +gtk_clist_column_titles_passive +gtk_clist_set_column_title +gtk_clist_set_column_widget +gtk_clist_set_column_justification +gtk_clist_set_column_visibility +gtk_clist_set_column_resizeable +gtk_clist_set_column_auto_resize +gtk_clist_optimal_column_width +gtk_clist_set_column_width +gtk_clist_set_column_min_width +gtk_clist_set_column_max_width +gtk_clist_set_row_height +gtk_clist_moveto +gtk_clist_row_is_visible +gtk_clist_get_cell_type +gtk_clist_set_text +gtk_clist_get_text +gtk_clist_set_pixmap +gtk_clist_get_pixmap +gtk_clist_set_pixtext +gtk_clist_get_pixtext +gtk_clist_set_foreground +gtk_clist_set_background +gtk_clist_set_cell_style +gtk_clist_get_cell_style +gtk_clist_set_row_style +gtk_clist_get_row_style +gtk_clist_set_shift +gtk_clist_set_selectable +gtk_clist_get_selectable +gtk_clist_prepend +gtk_clist_append +gtk_clist_insert +gtk_clist_remove +gtk_clist_set_row_data +gtk_clist_set_row_data_full +gtk_clist_get_row_data +gtk_clist_find_row_from_data +gtk_clist_select_row +gtk_clist_unselect_row +gtk_clist_undo_selection +gtk_clist_clear +gtk_clist_get_selection_info +gtk_clist_select_all +gtk_clist_unselect_all +gtk_clist_swap_rows +gtk_clist_set_compare_func +gtk_clist_set_sort_column +gtk_clist_set_sort_type +gtk_clist_sort +gtk_clist_set_auto_sort +gtk_clist_columns_autosize +gtk_clist_get_column_title +gtk_clist_get_column_widget +gtk_clist_get_hadjustment +gtk_clist_get_vadjustment +gtk_clist_row_move +gtk_clist_set_button_actions +gtk_clist_set_hadjustment +gtk_clist_set_reorderable +gtk_clist_set_use_drag_icons +gtk_clist_set_vadjustment + +GTK_CLIST +GTK_IS_CLIST +GTK_TYPE_CLIST +gtk_clist_get_type +GTK_CLIST_CLASS +GTK_IS_CLIST_CLASS +
+ +
+gtkcolorsel +GtkColorSelection +GtkColorSelection +gtk_color_selection_new +gtk_color_selection_set_update_policy +gtk_color_selection_set_opacity +gtk_color_selection_set_color +gtk_color_selection_get_color + +GTK_COLOR_SELECTION +GTK_IS_COLOR_SELECTION +gtk_color_selection_get_type +GTK_COLOR_SELECTION_CLASS +
+ +
+gtkcolorseldlg +GtkColorSelectionDialog +GtkColorSelectionDialog +gtk_color_selection_dialog_new + +GTK_COLOR_SELECTION_DIALOG +GTK_IS_COLOR_SELECTION_DIALOG +gtk_color_selection_dialog_get_type +GTK_COLOR_SELECTION_DIALOG_CLASS +
+ +
+gtkcombo +GtkCombo +GtkCombo +gtk_combo_new +gtk_combo_set_value_in_list +gtk_combo_set_use_arrows +gtk_combo_set_use_arrows_always +gtk_combo_set_case_sensitive +gtk_combo_set_item_string +gtk_combo_set_popdown_strings +gtk_combo_disable_activate + +GTK_COMBO +GTK_IS_COMBO +gtk_combo_get_type +GTK_COMBO_CLASS +
+ +
+gtkcontainer +GtkContainer +GTK_IS_RESIZE_CONTAINER +GtkContainer +gtk_container_border_width +gtk_container_add +gtk_container_remove +gtk_container_set_resize_mode +gtk_container_check_resize +gtk_container_foreach +gtk_container_foreach_full +gtk_container_children +gtk_container_focus +gtk_container_set_focus_child +gtk_container_set_focus_vadjustment +gtk_container_set_focus_hadjustment +gtk_container_register_toplevel +gtk_container_unregister_toplevel +gtk_container_resize_children +gtk_container_child_type +gtk_container_add_child_arg_type +gtk_container_query_child_args +gtk_container_child_getv +gtk_container_child_setv +gtk_container_add_with_args +gtk_container_addv +gtk_container_child_set +gtk_container_queue_resize +gtk_container_clear_resize_widgets +gtk_container_arg_set +gtk_container_arg_get +gtk_container_child_args_collect +gtk_container_child_arg_get_info +gtk_container_forall +gtk_container_child_composite_name +gtk_container_get_toplevels +gtk_container_set_border_width + +GTK_CONTAINER +GTK_IS_CONTAINER +GTK_TYPE_CONTAINER +gtk_container_get_type +GTK_CONTAINER_CLASS +GTK_IS_CONTAINER_CLASS +
+ +
+gtkctree +GtkCTree +GTK_CTREE_ROW +GTK_CTREE_NODE +GTK_CTREE_NODE_NEXT +GTK_CTREE_NODE_PREV +GTK_CTREE_FUNC +GtkCTreePos +GtkCTreeLineStyle +GtkCTreeExpanderStyle +GtkCTreeExpansionType +GtkCTreeFunc +GtkCTreeGNodeFunc +GtkCTreeCompareDragFunc +GtkCTree +GtkCTreeRow +GtkCTreeNode +gtk_ctree_construct +gtk_ctree_new_with_titles +gtk_ctree_new +gtk_ctree_insert_node +gtk_ctree_remove_node +gtk_ctree_insert_gnode +gtk_ctree_export_to_gnode +gtk_ctree_post_recursive +gtk_ctree_post_recursive_to_depth +gtk_ctree_pre_recursive +gtk_ctree_pre_recursive_to_depth +gtk_ctree_is_viewable +gtk_ctree_last +gtk_ctree_find_node_ptr +gtk_ctree_find +gtk_ctree_is_ancestor +gtk_ctree_find_by_row_data +gtk_ctree_find_all_by_row_data +gtk_ctree_find_by_row_data_custom +gtk_ctree_find_all_by_row_data_custom +gtk_ctree_is_hot_spot +gtk_ctree_move +gtk_ctree_expand +gtk_ctree_expand_recursive +gtk_ctree_expand_to_depth +gtk_ctree_collapse +gtk_ctree_collapse_recursive +gtk_ctree_collapse_to_depth +gtk_ctree_toggle_expansion +gtk_ctree_toggle_expansion_recursive +gtk_ctree_select +gtk_ctree_select_recursive +gtk_ctree_unselect +gtk_ctree_unselect_recursive +gtk_ctree_real_select_recursive +gtk_ctree_node_set_text +gtk_ctree_node_set_pixmap +gtk_ctree_node_set_pixtext +gtk_ctree_set_node_info +gtk_ctree_node_set_shift +gtk_ctree_node_set_selectable +gtk_ctree_node_get_selectable +gtk_ctree_node_get_cell_type +gtk_ctree_node_get_text +gtk_ctree_node_get_pixmap +gtk_ctree_node_get_pixtext +gtk_ctree_get_node_info +gtk_ctree_node_set_row_style +gtk_ctree_node_get_row_style +gtk_ctree_node_set_cell_style +gtk_ctree_node_get_cell_style +gtk_ctree_node_set_foreground +gtk_ctree_node_set_background +gtk_ctree_node_set_row_data +gtk_ctree_node_set_row_data_full +gtk_ctree_node_get_row_data +gtk_ctree_node_moveto +gtk_ctree_node_is_visible +gtk_ctree_set_indent +gtk_ctree_set_spacing +gtk_ctree_set_reorderable +gtk_ctree_set_line_style +gtk_ctree_set_expander_style +gtk_ctree_set_drag_compare_func +gtk_ctree_sort_node +gtk_ctree_sort_recursive +gtk_ctree_node_nth +gtk_ctree_set_show_stub + +GTK_CTREE +GTK_IS_CTREE +GTK_TYPE_CTREE +gtk_ctree_get_type +GTK_CTREE_CLASS +GTK_IS_CTREE_CLASS +
+ +
+GtkCurve +gtkcurve +GtkCurve +gtk_curve_new +gtk_curve_reset +gtk_curve_set_gamma +gtk_curve_set_range +gtk_curve_get_vector +gtk_curve_set_vector +gtk_curve_set_curve_type + +GTK_CURVE +GTK_IS_CURVE +GTK_TYPE_CURVE +gtk_curve_get_type +GTK_CURVE_CLASS +GTK_IS_CURVE_CLASS +
+ +
+gtkdata +GtkData +GtkData + +GTK_DATA +GTK_IS_DATA +GTK_TYPE_DATA +gtk_data_get_type +GTK_DATA_CLASS +GTK_IS_DATA_CLASS +
+ +
+gtkdialog +GtkDialog +GtkDialog +GtkDialogButton +gtk_dialog_new + +GTK_DIALOG +GTK_IS_DIALOG +GTK_TYPE_DIALOG +gtk_dialog_get_type +GTK_DIALOG_CLASS +GTK_IS_DIALOG_CLASS +
+ +
+gtkdrawingarea +GtkDrawingArea +GtkDrawingArea +gtk_drawing_area_new +gtk_drawing_area_size + +GTK_DRAWING_AREA +GTK_IS_DRAWING_AREA +gtk_drawing_area_get_type +GTK_DRAWING_AREA_CLASS +
+ +
+gtkeditable +GtkEditable +GtkTextFunction +GtkEditable +gtk_editable_select_region +gtk_editable_insert_text +gtk_editable_delete_text +gtk_editable_get_chars +gtk_editable_cut_clipboard +gtk_editable_copy_clipboard +gtk_editable_paste_clipboard +gtk_editable_claim_selection +gtk_editable_delete_selection +gtk_editable_changed +gtk_editable_set_position +gtk_editable_get_position +gtk_editable_set_editable + +GTK_EDITABLE +GTK_IS_EDITABLE +GTK_TYPE_EDITABLE +gtk_editable_get_type +GTK_EDITABLE_CLASS +GTK_IS_EDITABLE_CLASS +
+ +
+gtkentry +GtkEntry +GtkEntry +gtk_entry_new +gtk_entry_new_with_max_length +gtk_entry_set_text +gtk_entry_append_text +gtk_entry_prepend_text +gtk_entry_set_position +gtk_entry_get_text +gtk_entry_select_region +gtk_entry_set_visibility +gtk_entry_set_editable +gtk_entry_set_max_length + +GTK_ENTRY +GTK_IS_ENTRY +GTK_TYPE_ENTRY +gtk_entry_get_type +GTK_ENTRY_CLASS +GTK_IS_ENTRY_CLASS +
+ +
+gtkeventbox +GtkEventBox +GtkEventBox +gtk_event_box_new + +GTK_EVENT_BOX +GTK_IS_EVENT_BOX +GTK_TYPE_EVENT_BOX +gtk_event_box_get_type +GTK_EVENT_BOX_CLASS +GTK_IS_EVENT_BOX_CLASS +
+ +
+gtkfilesel +GtkFileSelection +GtkFileSelection +gtk_file_selection_new +gtk_file_selection_set_filename +gtk_file_selection_get_filename +gtk_file_selection_complete +gtk_file_selection_show_fileop_buttons +gtk_file_selection_hide_fileop_buttons + +GTK_FILE_SELECTION +GTK_IS_FILE_SELECTION +GTK_TYPE_FILE_SELECTION +gtk_file_selection_get_type +GTK_FILE_SELECTION_CLASS +GTK_IS_FILE_SELECTION_CLASS +
+ +
+gtkfixed +GtkFixed +GtkFixed +GtkFixedChild +gtk_fixed_new +gtk_fixed_put +gtk_fixed_move + +GTK_FIXED +GTK_IS_FIXED +GTK_TYPE_FIXED +gtk_fixed_get_type +GTK_FIXED_CLASS +GTK_IS_FIXED_CLASS +
+ +
+gtkfontsel +GtkFontSelection +GtkFontSelection +gtk_font_selection_new +gtk_font_selection_get_font +gtk_font_selection_get_font_name +gtk_font_selection_set_font_name +gtk_font_selection_get_preview_text +gtk_font_selection_set_preview_text +gtk_font_selection_set_filter + + +GTK_FONT_SELECTION +GTK_IS_FONT_SELECTION +GTK_TYPE_FONT_SELECTION +gtk_font_selection_get_type +GTK_FONT_SELECTION_CLASS +GTK_IS_FONT_SELECTION_CLASS + +GTK_NUM_FONT_PROPERTIES +GTK_NUM_STYLE_PROPERTIES +GTK_NUM_FONT_FILTERS +GtkFontMetricType +GtkFontFilter +
+ +
+gtkfontseldlg +GtkFontSelectionDialog +GtkFontSelectionDialog +gtk_font_selection_dialog_new +gtk_font_selection_dialog_get_font +gtk_font_selection_dialog_get_font_name +gtk_font_selection_dialog_set_font_name +gtk_font_selection_dialog_get_preview_text +gtk_font_selection_dialog_set_preview_text +gtk_font_selection_dialog_set_filter +GtkFontType +GtkFontFilterType + + +GTK_FONT_SELECTION_DIALOG +GTK_IS_FONT_SELECTION_DIALOG +GTK_TYPE_FONT_SELECTION_DIALOG +gtk_font_selection_dialog_get_type +GTK_FONT_SELECTION_DIALOG_CLASS +GTK_IS_FONT_SELECTION_DIALOG_CLASS +
+ +
+gtkframe +GtkFrame +GtkFrame +gtk_frame_new +gtk_frame_set_label +gtk_frame_set_label_align +gtk_frame_set_shadow_type + +GTK_FRAME +GTK_IS_FRAME +GTK_TYPE_FRAME +gtk_frame_get_type +GTK_FRAME_CLASS +GTK_IS_FRAME_CLASS +
+ +
+gtkgamma +GtkGammaCurve +GtkGammaCurve +gtk_gamma_curve_new + +GTK_GAMMA_CURVE +GTK_IS_GAMMA_CURVE +gtk_gamma_curve_get_type +GTK_GAMMA_CURVE_CLASS +
+ +
+gtkhandlebox +GtkHandleBox +GtkHandleBox +gtk_handle_box_new +gtk_handle_box_set_shadow_type +gtk_handle_box_set_handle_position +gtk_handle_box_set_snap_edge + +GTK_HANDLE_BOX +GTK_IS_HANDLE_BOX +gtk_handle_box_get_type +GTK_HANDLE_BOX_CLASS +
+ +
+gtkhbbox +GtkHButtonBox +GtkHButtonBox +gtk_hbutton_box_new +gtk_hbutton_box_get_spacing_default +gtk_hbutton_box_get_layout_default +gtk_hbutton_box_set_spacing_default +gtk_hbutton_box_set_layout_default + +GTK_HBUTTON_BOX +GTK_IS_HBUTTON_BOX +gtk_hbutton_box_get_type +GTK_HBUTTON_BOX_CLASS +
+ +
+gtkhbox +GtkHBox +GtkHBox +gtk_hbox_new + +GTK_HBOX +GTK_IS_HBOX +GTK_TYPE_HBOX +gtk_hbox_get_type +GTK_HBOX_CLASS +GTK_IS_HBOX_CLASS +
+ +
+gtkhpaned +GtkHPaned +GtkHPaned +gtk_hpaned_new + +GTK_HPANED +GTK_IS_HPANED +gtk_hpaned_get_type +GTK_HPANED_CLASS +
+ +
+gtkhruler +GtkHRuler +GtkHRuler +gtk_hruler_new + +GTK_HRULER +GTK_IS_HRULER +gtk_hruler_get_type +GTK_HRULER_CLASS +
+ +
+gtkhscale +GtkHScale +GtkHScale +gtk_hscale_new + +GTK_HSCALE +GTK_TYPE_HSCALE +GTK_IS_HSCALE +GTK_IS_HSCALE_CLASS +gtk_hscale_get_type +GTK_HSCALE_CLASS +
+ +
+gtkhscrollbar +GtkHScrollbar +GtkHScrollbar +gtk_hscrollbar_new + +GTK_HSCROLLBAR +GTK_TYPE_HSCROLLBAR +GTK_IS_HSCROLLBAR +GTK_IS_HSCROLLBAR_CLASS +gtk_hscrollbar_get_type +GTK_HSCROLLBAR_CLASS +
+ +
+gtkhseparator +GtkHSeparator +GtkHSeparator +gtk_hseparator_new + +GTK_HSEPARATOR +GTK_IS_HSEPARATOR +GTK_TYPE_HSEPARATOR +gtk_hseparator_get_type +GTK_HSEPARATOR_CLASS +GTK_IS_HSEPARATOR_CLASS +
+ +
+gtkimage +GtkImage +GtkImage +gtk_image_new +gtk_image_set +gtk_image_get + +GTK_IMAGE +GTK_TYPE_IMAGE +GTK_IS_IMAGE +GTK_IS_IMAGE_CLASS +gtk_image_get_type +GTK_IMAGE_CLASS +
+ +
+gtkinputdialog +GtkInputDialog +GtkInputDialog +gtk_input_dialog_new + +GTK_INPUT_DIALOG +GTK_TYPE_INPUT_DIALOG +GTK_IS_INPUT_DIALOG +GTK_IS_INPUT_DIALOG_CLASS +gtk_input_dialog_get_type +GTK_INPUT_DIALOG_CLASS +
+ +
+gtkinvisible +GtkInvisible +GtkInvisible +gtk_invisible_new + +GTK_INVISIBLE +GTK_IS_INVISIBLE +GTK_TYPE_INVISIBLE +gtk_invisible_get_type +GTK_INVISIBLE_CLASS +GTK_IS_INVISIBLE_CLASS +
+ +
+gtkitem +GtkItem +GtkItem +gtk_item_select +gtk_item_deselect +gtk_item_toggle + +GTK_ITEM +GTK_IS_ITEM +GTK_TYPE_ITEM +gtk_item_get_type +GTK_ITEM_CLASS +GTK_IS_ITEM_CLASS +
+ +
+gtkitemfactory +GtkItemFactory +GtkPrintFunc +GtkTranslateFunc +GtkItemFactoryCallback +GtkItemFactoryCallback1 +GtkItemFactoryCallback2 +GtkItemFactory +GtkItemFactoryEntry +GtkItemFactoryItem +gtk_item_factory_new +gtk_item_factory_construct +gtk_item_factory_parse_rc +gtk_item_factory_parse_rc_string +gtk_item_factory_parse_rc_scanner +gtk_item_factory_from_widget +gtk_item_factory_path_from_widget +gtk_item_factory_get_widget +gtk_item_factory_get_widget_by_action +gtk_item_factory_dump_items +gtk_item_factory_dump_rc +gtk_item_factory_print_func +gtk_item_factory_create_item +gtk_item_factory_create_items +gtk_item_factory_create_items_ac +gtk_item_factory_delete_item +gtk_item_factory_delete_entry +gtk_item_factory_delete_entries +gtk_item_factory_popup +gtk_item_factory_popup_with_data +gtk_item_factory_popup_data +gtk_item_factory_popup_data_from_widget +gtk_item_factory_from_path +gtk_item_factory_create_menu_entries +gtk_item_factories_path_delete +gtk_item_factory_set_translate_func + +GTK_ITEM_FACTORY +GTK_IS_ITEM_FACTORY +GTK_TYPE_ITEM_FACTORY +gtk_item_factory_get_type +GTK_ITEM_FACTORY_CLASS +GTK_IS_ITEM_FACTORY_CLASS +
+ +
+gtklabel +GtkLabel +GtkLabel +GtkLabelWord +gtk_label_new +gtk_label_set +gtk_label_set_pattern +gtk_label_set_justify +gtk_label_get +gtk_label_parse_uline +gtk_label_set_line_wrap +gtk_label_set_text + +GTK_LABEL +GTK_IS_LABEL +GTK_TYPE_LABEL +gtk_label_get_type +GTK_LABEL_CLASS +GTK_IS_LABEL_CLASS +
+ +
+gtklayout +GtkLayout +GtkLayout +gtk_layout_new +gtk_layout_put +gtk_layout_move +gtk_layout_set_size +gtk_layout_freeze +gtk_layout_thaw +gtk_layout_get_hadjustment +gtk_layout_get_vadjustment +gtk_layout_set_hadjustment +gtk_layout_set_vadjustment + +GTK_LAYOUT +GTK_IS_LAYOUT +GTK_TYPE_LAYOUT +gtk_layout_get_type +GTK_LAYOUT_CLASS +GTK_IS_LAYOUT_CLASS +
+ +
+gtklist +GtkList +GtkList +gtk_list_new +gtk_list_insert_items +gtk_list_append_items +gtk_list_prepend_items +gtk_list_remove_items +gtk_list_remove_items_no_unref +gtk_list_clear_items +gtk_list_select_item +gtk_list_unselect_item +gtk_list_select_child +gtk_list_unselect_child +gtk_list_child_position +gtk_list_set_selection_mode +gtk_list_extend_selection +gtk_list_start_selection +gtk_list_end_selection +gtk_list_select_all +gtk_list_unselect_all +gtk_list_scroll_horizontal +gtk_list_scroll_vertical +gtk_list_toggle_add_mode +gtk_list_toggle_focus_row +gtk_list_toggle_row +gtk_list_undo_selection +gtk_list_end_drag_selection + +GTK_LIST +GTK_IS_LIST +GTK_TYPE_LIST +gtk_list_get_type +GTK_LIST_CLASS +GTK_IS_LIST_CLASS +
+ +
+gtklistitem +GtkListItem +GtkListItem +gtk_list_item_new +gtk_list_item_new_with_label +gtk_list_item_select +gtk_list_item_deselect + +GTK_LIST_ITEM +GTK_IS_LIST_ITEM +GTK_TYPE_LIST_ITEM +gtk_list_item_get_type +GTK_LIST_ITEM_CLASS +GTK_IS_LIST_ITEM_CLASS +
+ +
+gtkmenu +GtkMenu +GtkMenu +gtk_menu_new +gtk_menu_append +gtk_menu_prepend +gtk_menu_insert +gtk_menu_reorder_child +gtk_menu_popup +gtk_menu_set_accel_group +gtk_menu_set_title + +gtk_menu_popdown +gtk_menu_reposition +gtk_menu_get_active +gtk_menu_set_active +gtk_menu_set_tearoff_state +gtk_menu_attach_to_widget +gtk_menu_detach +gtk_menu_get_attach_widget +GtkMenuPositionFunc +GtkMenuDetachFunc + +GTK_MENU +GTK_IS_MENU +GTK_TYPE_MENU +gtk_menu_get_type +GTK_MENU_CLASS +GTK_IS_MENU_CLASS +
+ +
+gtkmenubar +GtkMenuBar +GtkMenuBar +gtk_menu_bar_new +gtk_menu_bar_append +gtk_menu_bar_prepend +gtk_menu_bar_insert +gtk_menu_bar_set_shadow_type + +GTK_MENU_BAR +GTK_IS_MENU_BAR +GTK_TYPE_MENU_BAR +gtk_menu_bar_get_type +GTK_MENU_BAR_CLASS +GTK_IS_MENU_BAR_CLASS +
+ +
+gtkmenuitem +GtkMenuItem +GtkMenuItem +gtk_menu_item_new +gtk_menu_item_new_with_label +gtk_menu_item_set_submenu +gtk_menu_item_remove_submenu +gtk_menu_item_set_placement +gtk_menu_item_configure +gtk_menu_item_select +gtk_menu_item_deselect +gtk_menu_item_activate +gtk_menu_item_right_justify + +GTK_MENU_ITEM +GTK_IS_MENU_ITEM +GTK_TYPE_MENU_ITEM +gtk_menu_item_get_type +GTK_MENU_ITEM_CLASS +GTK_IS_MENU_ITEM_CLASS +
+ +
+gtkmenushell +GtkMenuShell +GtkMenuShell +gtk_menu_shell_append +gtk_menu_shell_prepend +gtk_menu_shell_insert +gtk_menu_shell_deactivate +gtk_menu_shell_select_item +gtk_menu_shell_activate_item +GtkMenuDirectionType + +GTK_MENU_SHELL +GTK_IS_MENU_SHELL +GTK_TYPE_MENU_SHELL +gtk_menu_shell_get_type +GTK_MENU_SHELL_CLASS +GTK_IS_MENU_SHELL_CLASS +
+ +
+gtkmisc +GtkMisc +GtkMisc +gtk_misc_set_alignment +gtk_misc_set_padding + +GTK_MISC +GTK_IS_MISC +GTK_TYPE_MISC +gtk_misc_get_type +GTK_MISC_CLASS +GTK_IS_MISC_CLASS +
+ +
+gtknotebook +GtkNotebook +GtkNotebook +GTK_NOTEBOOK_PAGE +GtkNotebookPage +gtk_notebook_new +gtk_notebook_append_page +gtk_notebook_append_page_menu +gtk_notebook_prepend_page +gtk_notebook_prepend_page_menu +gtk_notebook_insert_page +gtk_notebook_insert_page_menu +gtk_notebook_remove_page +gtk_notebook_current_page +gtk_notebook_page_num +gtk_notebook_set_page +gtk_notebook_next_page +gtk_notebook_prev_page +gtk_notebook_reorder_child +gtk_notebook_set_tab_pos +gtk_notebook_set_show_tabs +gtk_notebook_set_show_border +gtk_notebook_set_scrollable +gtk_notebook_set_tab_border +gtk_notebook_popup_enable +gtk_notebook_popup_disable +gtk_notebook_get_current_page +gtk_notebook_get_menu_label +gtk_notebook_get_nth_page +gtk_notebook_get_tab_label +gtk_notebook_query_tab_label_packing +gtk_notebook_set_homogeneous_tabs +gtk_notebook_set_menu_label +gtk_notebook_set_menu_label_text +gtk_notebook_set_tab_hborder +gtk_notebook_set_tab_label +gtk_notebook_set_tab_label_packing +gtk_notebook_set_tab_label_text +gtk_notebook_set_tab_vborder + +GTK_NOTEBOOK +GTK_IS_NOTEBOOK +GTK_TYPE_NOTEBOOK +gtk_notebook_get_type +GTK_NOTEBOOK_CLASS +GTK_IS_NOTEBOOK_CLASS +
+ +
+gtkobject +GtkObject +GTK_OBJECT_TYPE +GTK_OBJECT_SIGNALS +GTK_OBJECT_NSIGNALS +GtkObjectFlags +GTK_OBJECT_FLAGS +GTK_OBJECT_DESTROYED +GTK_OBJECT_FLOATING +GTK_OBJECT_CONNECTED +GTK_OBJECT_CONSTRUCTED +GTK_OBJECT_SET_FLAGS +GTK_OBJECT_UNSET_FLAGS +GtkArgFlags +GtkObject +gtk_object_class_user_signal_new +gtk_object_class_user_signal_newv +gtk_object_new +gtk_object_newv +gtk_object_constructed +gtk_object_default_construct +gtk_object_sink +gtk_object_ref +gtk_object_unref +gtk_object_weakref +gtk_object_weakunref +gtk_object_destroy +gtk_object_getv +gtk_object_set +gtk_object_setv +gtk_object_query_args +gtk_object_set_data +gtk_object_set_data_full +gtk_object_remove_data +gtk_object_get_data +gtk_object_remove_no_notify +gtk_object_set_user_data +gtk_object_get_user_data +gtk_object_class_add_signals +gtk_object_add_arg_type +gtk_object_set_data_by_id +gtk_object_set_data_by_id_full +gtk_object_get_data_by_id +gtk_object_remove_data_by_id +gtk_object_remove_no_notify_by_id +gtk_object_data_try_key +gtk_object_data_force_id +gtk_object_arg_set +gtk_object_arg_get +gtk_object_args_collect +gtk_object_arg_get_info +gtk_trace_referencing + +GTK_OBJECT +GTK_IS_OBJECT +gtk_object_get_type +GTK_OBJECT_CLASS +GTK_IS_OBJECT_CLASS +
+ +
+gtkoptionmenu +GtkOptionMenu +GtkOptionMenu +gtk_option_menu_new +gtk_option_menu_get_menu +gtk_option_menu_set_menu +gtk_option_menu_remove_menu +gtk_option_menu_set_history + +GTK_OPTION_MENU +GTK_IS_OPTION_MENU +GTK_TYPE_OPTION_MENU +gtk_option_menu_get_type +GTK_OPTION_MENU_CLASS +GTK_IS_OPTION_MENU_CLASS +
+ +
+gtkpacker +GtkPacker +GtkPackerOptions +GtkSideType +GtkAnchorType +GtkPackerChild +GtkPacker +gtk_packer_new +gtk_packer_add_defaults +gtk_packer_add +gtk_packer_configure +gtk_packer_reorder_child +gtk_packer_set_spacing +gtk_packer_set_default_border_width +gtk_packer_set_default_pad +gtk_packer_set_default_ipad +gtk_packer_set_child_packing + +GTK_PACKER +GTK_IS_PACKER +GTK_TYPE_PACKER +gtk_packer_get_type +GTK_PACKER_CLASS +GTK_IS_PACKER_CLASS +
+ +
+gtkpaned +GtkPaned +GtkPaned +gtk_paned_add1 +gtk_paned_add2 +gtk_paned_handle_size +gtk_paned_gutter_size +gtk_paned_compute_position +gtk_paned_pack1 +gtk_paned_pack2 +gtk_paned_set_gutter_size +gtk_paned_set_handle_size +gtk_paned_set_position + +GTK_PANED +GTK_IS_PANED +GTK_TYPE_PANED +gtk_paned_get_type +GTK_PANED_CLASS +GTK_IS_PANED_CLASS +
+ +
+gtkpixmap +GtkPixmap +GtkPixmap +gtk_pixmap_new +gtk_pixmap_set +gtk_pixmap_get +gtk_pixmap_set_build_insensitive + +GTK_PIXMAP +GTK_IS_PIXMAP +GTK_TYPE_PIXMAP +gtk_pixmap_get_type +GTK_PIXMAP_CLASS +GTK_IS_PIXMAP_CLASS +
+ +
+gtkplug +GtkPlug +GtkPlug +gtk_plug_construct +gtk_plug_new + +GTK_PLUG +GTK_IS_PLUG +gtk_plug_get_type +GTK_PLUG_CLASS +
+ +
+gtkpreview +GtkPreview +GtkPreviewInfo +GtkDitherInfo +GtkPreview +gtk_preview_uninit +gtk_preview_new +gtk_preview_size +gtk_preview_put +gtk_preview_draw_row +gtk_preview_set_expand +gtk_preview_set_gamma +gtk_preview_set_color_cube +gtk_preview_set_install_cmap +gtk_preview_set_reserved +gtk_preview_set_dither +gtk_preview_get_visual +gtk_preview_get_cmap +gtk_preview_get_info +gtk_preview_reset + +GTK_PREVIEW +GTK_IS_PREVIEW +gtk_preview_get_type +GTK_PREVIEW_CLASS +
+ +
+gtkprogress +GtkProgress +GtkProgress +gtk_progress_set_show_text +gtk_progress_set_text_alignment +gtk_progress_set_format_string +gtk_progress_set_adjustment +gtk_progress_set_percentage +gtk_progress_set_value +gtk_progress_get_value +gtk_progress_set_activity_mode +gtk_progress_get_current_text +gtk_progress_get_text_from_value +gtk_progress_get_current_percentage +gtk_progress_get_percentage_from_value +gtk_progress_configure + +GTK_PROGRESS +GTK_TYPE_PROGRESS +GTK_IS_PROGRESS +gtk_progress_get_type +GTK_PROGRESS_CLASS +GTK_IS_PROGRESS_CLASS +
+ +
+gtkprogressbar +GtkProgressBar +GtkProgressBarStyle +GtkProgressBarOrientation +GtkProgressBar +gtk_progress_bar_new +gtk_progress_bar_new_with_adjustment +gtk_progress_bar_set_bar_style +gtk_progress_bar_set_discrete_blocks +gtk_progress_bar_set_activity_step +gtk_progress_bar_set_activity_blocks +gtk_progress_bar_set_orientation +gtk_progress_bar_update + +GTK_PROGRESS_BAR +GTK_TYPE_PROGRESS_BAR +GTK_IS_PROGRESS_BAR +GTK_IS_PROGRESS_BAR_CLASS +gtk_progress_bar_get_type +GTK_PROGRESS_BAR_CLASS +
+ +
+gtkradiobutton +GtkRadioButton +GtkRadioButton +gtk_radio_button_new +gtk_radio_button_new_from_widget +gtk_radio_button_new_with_label +gtk_radio_button_new_with_label_from_widget +gtk_radio_button_group +gtk_radio_button_set_group + +GTK_RADIO_BUTTON +GTK_IS_RADIO_BUTTON +GTK_TYPE_RADIO_BUTTON +gtk_radio_button_get_type +GTK_RADIO_BUTTON_CLASS +GTK_IS_RADIO_BUTTON_CLASS +
+ +
+gtkradiomenuitem +GtkRadioMenuItem +GtkRadioMenuItem +gtk_radio_menu_item_new +gtk_radio_menu_item_new_with_label +gtk_radio_menu_item_group +gtk_radio_menu_item_set_group + +GTK_RADIO_MENU_ITEM +GTK_IS_RADIO_MENU_ITEM +GTK_TYPE_RADIO_MENU_ITEM +gtk_radio_menu_item_get_type +GTK_RADIO_MENU_ITEM_CLASS +GTK_IS_RADIO_MENU_ITEM_CLASS +
+ +
+gtkrange +GtkRange +GtkRange +gtk_range_get_adjustment +gtk_range_set_update_policy +gtk_range_set_adjustment +gtk_range_draw_background +gtk_range_draw_trough +gtk_range_draw_slider +gtk_range_draw_step_forw +gtk_range_draw_step_back +gtk_range_slider_update +gtk_range_trough_click +gtk_range_default_hslider_update +gtk_range_default_vslider_update +gtk_range_default_htrough_click +gtk_range_default_vtrough_click +gtk_range_default_hmotion +gtk_range_default_vmotion +gtk_range_clear_background + +GTK_RANGE +GTK_TYPE_RANGE +GTK_IS_RANGE +gtk_range_get_type +GTK_RANGE_CLASS +GTK_IS_RANGE_CLASS +
+ +
+gtkruler +GtkRuler +GtkRuler +GtkRulerMetric +gtk_ruler_set_metric +gtk_ruler_set_range +gtk_ruler_draw_ticks +gtk_ruler_draw_pos + +GTK_RULER +GTK_IS_RULER +gtk_ruler_get_type +GTK_RULER_CLASS +
+ +
+gtkscale +GtkScale +GtkScale +gtk_scale_set_digits +gtk_scale_set_draw_value +gtk_scale_set_value_pos +gtk_scale_get_value_width + +GTK_SCALE +GTK_TYPE_SCALE +GTK_IS_SCALE +gtk_scale_get_type +GTK_SCALE_CLASS +GTK_IS_SCALE_CLASS + +gtk_scale_value_width +gtk_scale_draw_value +
+ +
+gtkscrollbar +GtkScrollbar +GtkScrollbar + +GTK_SCROLLBAR +GTK_TYPE_SCROLLBAR +GTK_IS_SCROLLBAR +gtk_scrollbar_get_type +GTK_SCROLLBAR_CLASS +GTK_IS_SCROLLBAR_CLASS +
+ +
+gtkscrolledwindow +GtkScrolledWindow +GtkScrolledWindow +gtk_scrolled_window_new +gtk_scrolled_window_get_hadjustment +gtk_scrolled_window_get_vadjustment +gtk_scrolled_window_set_policy +gtk_scrolled_window_add_with_viewport +gtk_scrolled_window_set_hadjustment +gtk_scrolled_window_set_placement +gtk_scrolled_window_set_vadjustment + +GTK_SCROLLED_WINDOW +GTK_IS_SCROLLED_WINDOW +GTK_TYPE_SCROLLED_WINDOW +gtk_scrolled_window_get_type +GTK_SCROLLED_WINDOW_CLASS +GTK_IS_SCROLLED_WINDOW_CLASS +
+ +
+gtkseparator +GtkSeparator +GtkSeparator + +GTK_SEPARATOR +GTK_IS_SEPARATOR +GTK_TYPE_SEPARATOR +gtk_separator_get_type +GTK_SEPARATOR_CLASS +GTK_IS_SEPARATOR_CLASS +
+ +
+gtksocket +GtkSocket +GtkSocket +gtk_socket_new +gtk_socket_steal + +GTK_SOCKET +GTK_IS_SOCKET +gtk_socket_get_type +GTK_SOCKET_CLASS +
+ +
+gtkspinbutton +GtkSpinButton +GtkSpinButtonUpdatePolicy +GtkSpinType +GtkSpinButton +gtk_spin_button_configure +gtk_spin_button_new +gtk_spin_button_set_adjustment +gtk_spin_button_get_adjustment +gtk_spin_button_set_digits +gtk_spin_button_get_value_as_float +gtk_spin_button_get_value_as_int +gtk_spin_button_set_value +gtk_spin_button_set_update_policy +gtk_spin_button_set_numeric +gtk_spin_button_spin +gtk_spin_button_set_wrap +gtk_spin_button_set_shadow_type +gtk_spin_button_set_snap_to_ticks +gtk_spin_button_update + +GTK_SPIN_BUTTON +GTK_IS_SPIN_BUTTON +GTK_TYPE_SPIN_BUTTON +gtk_spin_button_get_type +GTK_SPIN_BUTTON_CLASS +GTK_IS_SPIN_BUTTON_CLASS +
+ +
+gtkstatusbar +GtkStatusbar +GtkStatusbar +GtkStatusbarMsg +gtk_statusbar_new +gtk_statusbar_get_context_id +gtk_statusbar_push +gtk_statusbar_pop +gtk_statusbar_remove + +GTK_STATUSBAR +GTK_IS_STATUSBAR +gtk_statusbar_get_type +GTK_STATUSBAR_CLASS +
+ +
+gtktable +GtkTable +GtkTable +GtkTableChild +GtkTableRowCol +gtk_table_new +gtk_table_resize +gtk_table_attach +gtk_table_attach_defaults +gtk_table_set_row_spacing +gtk_table_set_col_spacing +gtk_table_set_row_spacings +gtk_table_set_col_spacings +gtk_table_set_homogeneous + +GTK_TABLE +GTK_IS_TABLE +GTK_TYPE_TABLE +gtk_table_get_type +GTK_TABLE_CLASS +GTK_IS_TABLE_CLASS +
+ +
+gtktearoffmenuitem +GtkTearoffMenuItem +GtkTearoffMenuItem +gtk_tearoff_menu_item_new + +GTK_TEAROFF_MENU_ITEM +GTK_IS_TEAROFF_MENU_ITEM +GTK_TYPE_TEAROFF_MENU_ITEM +gtk_tearoff_menu_item_get_type +GTK_TEAROFF_MENU_ITEM_CLASS +GTK_IS_TEAROFF_MENU_ITEM_CLASS +
+ +
+gtktext +GtkText +GtkTextFont +GtkPropertyMark +GtkText +gtk_text_new +gtk_text_set_editable +gtk_text_set_word_wrap +gtk_text_set_line_wrap +gtk_text_set_adjustments +gtk_text_set_point +gtk_text_get_point +gtk_text_get_length +gtk_text_freeze +gtk_text_thaw +gtk_text_insert +gtk_text_backward_delete +gtk_text_forward_delete +GTK_TEXT_INDEX + +GTK_TEXT +GTK_IS_TEXT +GTK_TYPE_TEXT +gtk_text_get_type +GTK_TEXT_CLASS +GTK_IS_TEXT_CLASS +
+ +
+gtktipsquery +GtkTipsQuery +GtkTipsQuery +gtk_tips_query_new +gtk_tips_query_start_query +gtk_tips_query_stop_query +gtk_tips_query_set_caller +gtk_tips_query_set_labels + +GTK_TIPS_QUERY +GTK_IS_TIPS_QUERY +GTK_TYPE_TIPS_QUERY +gtk_tips_query_get_type +GTK_TIPS_QUERY_CLASS +GTK_IS_TIPS_QUERY_CLASS +
+ +
+gtktogglebutton +GtkToggleButton +GtkToggleButton +gtk_toggle_button_new +gtk_toggle_button_new_with_label +gtk_toggle_button_set_mode +gtk_toggle_button_set_state +gtk_toggle_button_toggled +gtk_toggle_button_get_active +gtk_toggle_button_set_active + +GTK_TOGGLE_BUTTON +GTK_IS_TOGGLE_BUTTON +GTK_TYPE_TOGGLE_BUTTON +gtk_toggle_button_get_type +GTK_TOGGLE_BUTTON_CLASS +GTK_IS_TOGGLE_BUTTON_CLASS +
+ +
+gtktoolbar +GtkToolbar +GtkToolbarChildType +GtkToolbarSpaceStyle +GtkToolbarChild +GtkToolbar +gtk_toolbar_new +gtk_toolbar_append_item +gtk_toolbar_prepend_item +gtk_toolbar_insert_item +gtk_toolbar_append_space +gtk_toolbar_prepend_space +gtk_toolbar_insert_space +gtk_toolbar_append_element +gtk_toolbar_prepend_element +gtk_toolbar_insert_element +gtk_toolbar_append_widget +gtk_toolbar_prepend_widget +gtk_toolbar_insert_widget +gtk_toolbar_set_orientation +gtk_toolbar_set_style +gtk_toolbar_set_space_size +gtk_toolbar_set_space_style +gtk_toolbar_set_tooltips +gtk_toolbar_set_button_relief +gtk_toolbar_get_button_relief + +GTK_TOOLBAR +GTK_IS_TOOLBAR +gtk_toolbar_get_type +GTK_TOOLBAR_CLASS +
+ +
+gtktooltips +GtkTooltips +GtkTooltipsData +GtkTooltips +gtk_tooltips_new +gtk_tooltips_enable +gtk_tooltips_disable +gtk_tooltips_set_delay +gtk_tooltips_set_tip +gtk_tooltips_set_colors +gtk_tooltips_data_get +gtk_tooltips_force_window + +GTK_TOOLTIPS +GTK_IS_TOOLTIPS +GTK_TYPE_TOOLTIPS +gtk_tooltips_get_type +GTK_TOOLTIPS_CLASS +GTK_IS_TOOLTIPS_CLASS +
+ +
+gtktree +GtkTree +GTK_IS_ROOT_TREE +GTK_TREE_ROOT_TREE +GTK_TREE_SELECTION +GtkTreeViewMode +GtkTree +gtk_tree_new +gtk_tree_append +gtk_tree_prepend +gtk_tree_insert +gtk_tree_remove_items +gtk_tree_clear_items +gtk_tree_select_item +gtk_tree_unselect_item +gtk_tree_select_child +gtk_tree_unselect_child +gtk_tree_child_position +gtk_tree_set_selection_mode +gtk_tree_set_view_mode +gtk_tree_set_view_lines +gtk_tree_remove_item + +GTK_TREE +GTK_IS_TREE +GTK_TYPE_TREE +gtk_tree_get_type +GTK_TREE_CLASS +GTK_IS_TREE_CLASS +
+ +
+gtktreeitem +GtkTreeItem +GTK_TREE_ITEM_SUBTREE +GtkTreeItem +gtk_tree_item_new +gtk_tree_item_new_with_label +gtk_tree_item_set_subtree +gtk_tree_item_remove_subtree +gtk_tree_item_select +gtk_tree_item_deselect +gtk_tree_item_expand +gtk_tree_item_collapse + +GTK_TREE_ITEM +GTK_IS_TREE_ITEM +GTK_TYPE_TREE_ITEM +gtk_tree_item_get_type +GTK_TREE_ITEM_CLASS +GTK_IS_TREE_ITEM_CLASS +
+ +
+gtkvbbox +GtkVButtonBox +GtkVButtonBox +gtk_vbutton_box_new +gtk_vbutton_box_get_spacing_default +gtk_vbutton_box_set_spacing_default +gtk_vbutton_box_get_layout_default +gtk_vbutton_box_set_layout_default + +GTK_VBUTTON_BOX +GTK_IS_VBUTTON_BOX +gtk_vbutton_box_get_type +GTK_VBUTTON_BOX_CLASS +
+ +
+gtkvbox +GtkVBox +GtkVBox +gtk_vbox_new + +GTK_VBOX +GTK_IS_VBOX +GTK_TYPE_VBOX +gtk_vbox_get_type +GTK_VBOX_CLASS +GTK_IS_VBOX_CLASS +
+ +
+gtkviewport +GtkViewport +GtkViewport +gtk_viewport_new +gtk_viewport_get_hadjustment +gtk_viewport_get_vadjustment +gtk_viewport_set_hadjustment +gtk_viewport_set_vadjustment +gtk_viewport_set_shadow_type + +GTK_VIEWPORT +GTK_IS_VIEWPORT +GTK_TYPE_VIEWPORT +gtk_viewport_get_type +GTK_VIEWPORT_CLASS +GTK_IS_VIEWPORT_CLASS +
+ +
+gtkvpaned +GtkVPaned +GtkVPaned +gtk_vpaned_new + +GTK_VPANED +GTK_IS_VPANED +gtk_vpaned_get_type +GTK_VPANED_CLASS +
+ +
+gtkvruler +GtkVRuler +GtkVRuler +gtk_vruler_new + +GTK_VRULER +GTK_IS_VRULER +gtk_vruler_get_type +GTK_VRULER_CLASS +
+ +
+gtkvscale +GtkVScale +GtkVScale +gtk_vscale_new + +GTK_VSCALE +GTK_TYPE_VSCALE +GTK_IS_VSCALE +gtk_vscale_get_type +GTK_VSCALE_CLASS +GTK_IS_VSCALE_CLASS +
+ +
+gtkvscrollbar +GtkVScrollbar +GtkVScrollbar +gtk_vscrollbar_new + +GTK_VSCROLLBAR +GTK_TYPE_VSCROLLBAR +GTK_IS_VSCROLLBAR +gtk_vscrollbar_get_type +GTK_VSCROLLBAR_CLASS +GTK_IS_VSCROLLBAR_CLASS +
+ +
+gtkvseparator +GtkVSeparator +GtkVSeparator +gtk_vseparator_new + +GTK_VSEPARATOR +GTK_IS_VSEPARATOR +GTK_TYPE_VSEPARATOR +gtk_vseparator_get_type +GTK_VSEPARATOR_CLASS +GTK_IS_VSEPARATOR_CLASS +
+ +
+gtkwidget +GtkWidget +GtkWidgetFlags +GTK_WIDGET_TYPE +GTK_WIDGET_STATE +GTK_WIDGET_SAVED_STATE +GTK_WIDGET_FLAGS +GTK_WIDGET_TOPLEVEL +GTK_WIDGET_NO_WINDOW +GTK_WIDGET_REALIZED +GTK_WIDGET_MAPPED +GTK_WIDGET_VISIBLE +GTK_WIDGET_DRAWABLE +GTK_WIDGET_SENSITIVE +GTK_WIDGET_PARENT_SENSITIVE +GTK_WIDGET_IS_SENSITIVE +GTK_WIDGET_CAN_FOCUS +GTK_WIDGET_HAS_FOCUS +GTK_WIDGET_CAN_DEFAULT +GTK_WIDGET_RECEIVES_DEFAULT +GTK_WIDGET_HAS_DEFAULT +GTK_WIDGET_HAS_GRAB +GTK_WIDGET_RC_STYLE +GTK_WIDGET_COMPOSITE_CHILD +GTK_WIDGET_APP_PAINTABLE +GTK_WIDGET_SET_FLAGS +GTK_WIDGET_UNSET_FLAGS +GtkCallback +GtkRequisition +GtkAllocation +GtkSelectionData +GtkWidget +GtkWidgetAuxInfo +GtkWidgetShapeInfo +gtk_widget_new +gtk_widget_newv +gtk_widget_ref +gtk_widget_unref +gtk_widget_destroy +gtk_widget_destroyed +gtk_widget_get +gtk_widget_getv +gtk_widget_set +gtk_widget_setv +gtk_widget_unparent +gtk_widget_show +gtk_widget_show_now +gtk_widget_hide +gtk_widget_show_all +gtk_widget_hide_all +gtk_widget_map +gtk_widget_unmap +gtk_widget_realize +gtk_widget_unrealize +gtk_widget_queue_draw +gtk_widget_queue_resize +gtk_widget_draw +gtk_widget_draw_focus +gtk_widget_draw_default +gtk_widget_size_request +gtk_widget_get_child_requisition +gtk_widget_size_allocate +gtk_widget_add_accelerator +gtk_widget_remove_accelerator +gtk_widget_remove_accelerators +gtk_widget_accelerator_signal +gtk_widget_event +gtk_widget_activate +gtk_widget_reparent +gtk_widget_popup +gtk_widget_intersect +gtk_widget_grab_focus +gtk_widget_grab_default +gtk_widget_set_name +gtk_widget_get_name +gtk_widget_set_state +gtk_widget_set_sensitive +gtk_widget_set_parent +gtk_widget_set_parent_window +gtk_widget_get_parent_window +gtk_widget_set_uposition +gtk_widget_set_usize +gtk_widget_set_events +gtk_widget_add_events +gtk_widget_set_extension_events +gtk_widget_get_extension_events +gtk_widget_get_toplevel +gtk_widget_get_ancestor +gtk_widget_get_colormap +gtk_widget_set_colormap +gtk_widget_get_visual +gtk_widget_set_visual +gtk_widget_get_events +gtk_widget_get_pointer +gtk_widget_is_ancestor +gtk_widget_hide_on_delete +gtk_widget_set_style +gtk_widget_set_rc_style +gtk_widget_ensure_style +gtk_widget_get_style +gtk_widget_restore_default_style +gtk_widget_reset_rc_styles +gtk_widget_push_style +gtk_widget_push_colormap +gtk_widget_push_visual +gtk_widget_pop_style +gtk_widget_pop_colormap +gtk_widget_pop_visual +gtk_widget_set_default_style +gtk_widget_set_default_colormap +gtk_widget_set_default_visual +gtk_widget_get_default_style +gtk_widget_get_default_colormap +gtk_widget_get_default_visual +gtk_widget_shape_combine_mask +gtk_widget_path +gtk_widget_class_path +gtk_widget_get_composite_name +gtk_widget_lock_accelerators +gtk_widget_modify_style +gtk_widget_pop_composite_child +gtk_widget_push_composite_child +gtk_widget_queue_clear +gtk_widget_queue_clear_area +gtk_widget_queue_draw_area +gtk_widget_reset_shapes +gtk_widget_set_app_paintable +gtk_widget_set_composite_name +gtk_widget_set_scroll_adjustments +gtk_widget_unlock_accelerators + +GTK_WIDGET +GTK_IS_WIDGET +GTK_TYPE_WIDGET +gtk_widget_get_type +GTK_WIDGET_CLASS +GTK_IS_WIDGET_CLASS +
+ +
+gtkwindow +GtkWindow +GtkWindow +gtk_window_new +gtk_window_set_title +gtk_window_set_wmclass +gtk_window_set_focus +gtk_window_set_default +gtk_window_set_policy +gtk_window_add_accel_group +gtk_window_remove_accel_group +gtk_window_position +gtk_window_activate_focus +gtk_window_activate_default +gtk_window_set_modal +gtk_window_add_embedded_xid +gtk_window_remove_embedded_xid +gtk_window_set_default_size +gtk_window_set_geometry_hints +gtk_window_set_position +gtk_window_set_transient_for + +GTK_WINDOW +GTK_IS_WINDOW +GTK_TYPE_WINDOW +gtk_window_get_type +GTK_WINDOW_CLASS +GTK_IS_WINDOW_CLASS +
+ + +
+gtkmain +General +gtk_set_locale +gtk_init +gtk_init_check +gtk_exit +gtk_events_pending +gtk_main +gtk_main_level +gtk_main_quit +gtk_main_iteration +gtk_main_iteration_do +gtk_main_do_event + +GtkModuleInitFunc + + +gtk_true +gtk_false + + +gtk_grab_add +gtk_grab_get_current +gtk_grab_remove + + +gtk_init_add +gtk_quit_add_destroy +gtk_quit_add +gtk_quit_add_full +gtk_quit_remove +gtk_quit_remove_by_data + + +gtk_timeout_add_full +gtk_timeout_add +gtk_timeout_remove + + +gtk_idle_add +gtk_idle_add_priority +gtk_idle_add_full +gtk_idle_remove +gtk_idle_remove_by_data + + +gtk_input_add_full +gtk_input_remove + + +GTK_PRIORITY_REDRAW +GTK_PRIORITY_RESIZE +GTK_PRIORITY_HIGH +GTK_PRIORITY_INTERNAL +GTK_PRIORITY_DEFAULT +GTK_PRIORITY_LOW + + +gtk_key_snooper_install +GtkKeySnoopFunc +gtk_key_snooper_remove + + +gtk_get_current_event +gtk_get_event_widget +gtk_propagate_event +
+ + +
+gtkfeatures +Feature Test Macros +gtk_major_version +gtk_minor_version +gtk_micro_version +gtk_binary_age +gtk_interface_age +gtk_check_version + +GTK_MAJOR_VERSION +GTK_MINOR_VERSION +GTK_MICRO_VERSION +GTK_BINARY_AGE +GTK_INTERFACE_AGE +GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS +GTK_HAVE_SIGNAL_INIT +GTK_HAVE_FEATURES_1_1_0 +GTK_HAVE_FEATURES_1_1_2 +GTK_HAVE_FEATURES_1_1_4 +GTK_HAVE_FEATURES_1_1_5 +GTK_HAVE_FEATURES_1_1_6 +GTK_HAVE_FEATURES_1_1_7 +GTK_HAVE_FEATURES_1_1_8 +GTK_HAVE_FEATURES_1_1_9 +GTK_HAVE_FEATURES_1_1_10 +GTK_HAVE_FEATURES_1_1_11 +GTK_HAVE_FEATURES_1_1_12 +GTK_HAVE_FEATURES_1_1_13 +GTK_HAVE_FEATURES_1_1_14 +
+ + +
+gtkgc +Graphics Contexts +gtk_gc_get +gtk_gc_release +
+ +
+gtkstyle +Styles +GTK_STYLE_NUM_STYLECOLORS +GTK_STYLE_ATTACHED +GtkStyle +GtkStyleClass +gtk_style_new +gtk_style_copy +gtk_style_attach +gtk_style_detach +gtk_style_ref +gtk_style_unref +gtk_style_set_background +gtk_style_apply_default_background +gtk_style_apply_default_pixmap +gtk_draw_hline +gtk_draw_vline +gtk_draw_shadow +gtk_draw_polygon +gtk_draw_arrow +gtk_draw_diamond +gtk_draw_oval +gtk_draw_string +gtk_draw_box +gtk_draw_box_gap +gtk_draw_check +gtk_draw_cross +gtk_draw_extension +gtk_draw_flat_box +gtk_draw_focus +gtk_draw_handle +gtk_draw_option +gtk_draw_ramp +gtk_draw_shadow_gap +gtk_draw_slider +gtk_draw_tab +gtk_paint_arrow +gtk_paint_box +gtk_paint_box_gap +gtk_paint_check +gtk_paint_cross +gtk_paint_diamond +gtk_paint_extension +gtk_paint_flat_box +gtk_paint_focus +gtk_paint_handle +gtk_paint_hline +gtk_paint_option +gtk_paint_oval +gtk_paint_polygon +gtk_paint_ramp +gtk_paint_shadow +gtk_paint_shadow_gap +gtk_paint_slider +gtk_paint_string +gtk_paint_tab +gtk_paint_vline +
+ +
+gtkthemes +Themes +GtkThemeEngine +gtk_theme_engine_get +gtk_theme_engine_ref +gtk_theme_engine_unref +gtk_themes_init +gtk_themes_exit +
+ +
+gtkrc +Resource Files +GtkRcStyle +GtkRcFlags +GtkImageLoader +GtkRcTokenType +gtk_rc_get_style +gtk_rc_add_widget_name_style +gtk_rc_add_widget_class_style +gtk_rc_add_class_style +gtk_rc_parse +gtk_rc_parse_string +gtk_rc_reparse_all +gtk_rc_add_default_file +gtk_rc_get_default_files +gtk_rc_set_default_files +gtk_rc_parse_color +gtk_rc_parse_state +gtk_rc_parse_priority +gtk_rc_find_module_in_path +gtk_rc_find_pixmap_in_path +gtk_rc_get_module_dir +gtk_rc_get_theme_dir +gtk_rc_set_image_loader +gtk_rc_load_image +gtk_rc_style_new +gtk_rc_style_ref +gtk_rc_style_unref + +gtk_rc_init +
+ +
+gtkaccelgroup +Keyboard Accelerators +GtkAccelGroup +GtkAccelEntry +gtk_accel_group_new +gtk_accel_group_get_default +gtk_accel_group_ref +gtk_accel_group_unref +gtk_accel_group_activate +gtk_accel_groups_activate +gtk_accel_group_attach +gtk_accel_group_detach +gtk_accel_group_lock +gtk_accel_group_unlock +gtk_accel_group_get_entry +gtk_accel_group_lock_entry +gtk_accel_group_unlock_entry +gtk_accel_group_add +gtk_accel_group_remove +gtk_accel_group_handle_add +gtk_accel_group_handle_remove +gtk_accel_group_create_add +gtk_accel_group_create_remove +gtk_accel_group_marshal_add +gtk_accel_group_marshal_remove +gtk_accel_groups_from_object +gtk_accel_group_entries_from_object +gtk_accelerator_valid +gtk_accelerator_parse +gtk_accelerator_name +gtk_accelerator_set_default_mod_mask +gtk_accelerator_get_default_mod_mask +
+ +
+gtkselection +Selections +GtkTargetEntry +GtkTargetList +GtkTargetPair +gtk_target_list_new +gtk_target_list_ref +gtk_target_list_unref +gtk_target_list_add +gtk_target_list_add_table +gtk_target_list_remove +gtk_target_list_find +gtk_selection_owner_set +gtk_selection_add_target +gtk_selection_add_targets +gtk_selection_convert +gtk_selection_data_set +gtk_selection_remove_all +gtk_selection_data_copy +gtk_selection_data_free + +gtk_selection_clear +gtk_selection_incr_event +gtk_selection_notify +gtk_selection_property_notify +gtk_selection_request +
+ +
+gtkdnd +Drag and Drop +GtkDestDefaults +GtkTargetFlags + +gtk_drag_dest_set +gtk_drag_dest_set_proxy +gtk_drag_dest_unset +gtk_drag_finish +gtk_drag_get_data +gtk_drag_get_source_widget +gtk_drag_highlight +gtk_drag_unhighlight + +gtk_drag_begin +gtk_drag_set_icon_widget +gtk_drag_set_icon_pixmap +gtk_drag_set_icon_default +gtk_drag_set_default_icon +gtk_drag_source_set +gtk_drag_source_set_icon +gtk_drag_source_unset + +gtk_drag_source_handle_event +gtk_drag_dest_handle_event +
+ + +
+gtkmenufactory +Menu Factory +GtkMenuCallback +GtkMenuEntry +GtkMenuPath +GtkMenuFactory +gtk_menu_factory_new +gtk_menu_factory_destroy +gtk_menu_factory_add_entries +gtk_menu_factory_add_subfactory +gtk_menu_factory_remove_paths +gtk_menu_factory_remove_entries +gtk_menu_factory_remove_subfactory +gtk_menu_factory_find +
+ +
+gtksignal +Signals +GTK_SIGNAL_OFFSET +GtkSignalMarshal +GtkSignalDestroy +GtkEmissionHook +GtkSignalQuery +gtk_signal_init +gtk_signal_new +gtk_signal_newv +gtk_signal_lookup +gtk_signal_name +gtk_signal_emit +gtk_signal_emit_by_name +gtk_signal_emitv +gtk_signal_emitv_by_name +gtk_signal_n_emissions +gtk_signal_n_emissions_by_name +gtk_signal_emit_stop +gtk_signal_emit_stop_by_name +gtk_signal_connect +gtk_signal_connect_after +gtk_signal_connect_object +gtk_signal_connect_object_after +gtk_signal_connect_full +gtk_signal_connect_object_while_alive +gtk_signal_connect_while_alive +gtk_signal_disconnect +gtk_signal_disconnect_by_func +gtk_signal_disconnect_by_data +gtk_signal_handler_block +gtk_signal_handler_block_by_func +gtk_signal_handler_block_by_data +gtk_signal_handler_unblock +gtk_signal_handler_unblock_by_func +gtk_signal_handler_unblock_by_data +gtk_signal_handler_pending +gtk_signal_handler_pending_by_func +gtk_signal_handler_pending_by_id +gtk_signal_handlers_destroy +gtk_signal_set_funcs +gtk_signal_query +gtk_signal_add_emission_hook +gtk_signal_add_emission_hook_full +gtk_signal_remove_emission_hook +
+ +
+gtkmarshal +Signal Marshallers +gtk_signal_default_marshaller +gtk_marshal_BOOL__POINTER_INT_INT_UINT +gtk_marshal_BOOL__POINTER_STRING_STRING_POINTER +gtk_marshal_ENUM__ENUM +gtk_marshal_NONE__BOXED +gtk_marshal_NONE__ENUM +gtk_marshal_NONE__ENUM_FLOAT +gtk_marshal_NONE__ENUM_FLOAT_BOOL +gtk_marshal_NONE__OBJECT +gtk_marshal_NONE__POINTER_STRING_STRING +gtk_marshal_NONE__POINTER_UINT +gtk_marshal_NONE__POINTER_UINT_ENUM +gtk_marshal_NONE__POINTER_POINTER_UINT_UINT +gtk_marshal_NONE__POINTER_INT_INT_POINTER_UINT_UINT +gtk_marshal_NONE__POINTER_UINT_UINT +gtk_marshal_NONE__STRING +gtk_marshal_NONE__STRING_INT_POINTER +gtk_marshal_NONE__UINT +gtk_marshal_NONE__UINT_POINTER_UINT_ENUM_ENUM_POINTER +gtk_marshal_NONE__UINT_POINTER_UINT_UINT_ENUM +gtk_marshal_NONE__UINT_STRING +gtk_marshal_BOOL__NONE +gtk_marshal_BOOL__POINTER +gtk_marshal_BOOL__POINTER_INT_INT +gtk_marshal_BOOL__POINTER_INT_INT_INT +gtk_marshal_BOOL__POINTER_POINTER_INT_INT +gtk_marshal_BOOL__POINTER_POINTER_POINTER_POINTER +gtk_marshal_INT__INT +gtk_marshal_INT__POINTER +gtk_marshal_INT__POINTER_CHAR_CHAR +gtk_marshal_NONE__BOOL +gtk_marshal_NONE__C_CALLBACK +gtk_marshal_NONE__C_CALLBACK_C_CALLBACK +gtk_marshal_NONE__INT +gtk_marshal_NONE__INT_FLOAT +gtk_marshal_NONE__INT_FLOAT_BOOL +gtk_marshal_NONE__INT_INT +gtk_marshal_NONE__INT_INT_POINTER +gtk_marshal_NONE__INT_POINTER +gtk_marshal_NONE__INT_POINTER_INT_INT_INT +gtk_marshal_NONE__INT_POINTER_INT_INT_INT_POINTER +gtk_marshal_NONE__NONE +gtk_marshal_NONE__POINTER +gtk_marshal_NONE__POINTER_INT +gtk_marshal_NONE__POINTER_INT_INT +gtk_marshal_NONE__POINTER_INT_INT_POINTER_INT_INT +gtk_marshal_NONE__POINTER_INT_POINTER +gtk_marshal_NONE__POINTER_POINTER +gtk_marshal_NONE__POINTER_POINTER_INT_INT +gtk_marshal_NONE__POINTER_POINTER_POINTER +
+ +
+gtkarg +Object Properties +GtkArgInfo +gtk_arg_new +gtk_arg_copy +gtk_arg_free +gtk_args_collect +gtk_args_collect_cleanup +gtk_arg_get_info +gtk_arg_type_new_static +gtk_args_query +gtk_arg_name_strip_type +gtk_arg_info_equal +gtk_arg_info_hash +
+ +
+gtktypeutils +Types +GtkType +GtkFundamentalType +GTK_TYPE_NUM_BUILTINS +GTK_TYPE_FLAT_FIRST +GTK_TYPE_FLAT_LAST +GTK_TYPE_STRUCTURED_FIRST +GTK_TYPE_STRUCTURED_LAST +GTK_TYPE_FUNDAMENTAL_LAST +GTK_TYPE_FUNDAMENTAL_MAX +GTK_STRUCT_OFFSET +GTK_CHECK_CAST +GTK_CHECK_CLASS_CAST +GTK_CHECK_TYPE +GTK_CHECK_CLASS_TYPE +GTK_TYPE_IDENTIFIER +gtk_identifier_get_type +GTK_TYPE_MAKE +GTK_FUNDAMENTAL_TYPE +GTK_TYPE_SEQNO +GTK_SIGNAL_FUNC +GtkClassInitFunc +GtkObjectInitFunc +GtkSignalFunc +GtkFunction +GtkDestroyNotify +GtkCallbackMarshal +GtkSignalMarshaller +GtkArgGetFunc +GtkArgSetFunc +GtkTypeObject +GtkArg +GTK_VALUE_CHAR +GTK_VALUE_UCHAR +GTK_VALUE_BOOL +GTK_VALUE_INT +GTK_VALUE_UINT +GTK_VALUE_LONG +GTK_VALUE_ULONG +GTK_VALUE_FLOAT +GTK_VALUE_DOUBLE +GTK_VALUE_STRING +GTK_VALUE_ENUM +GTK_VALUE_FLAGS +GTK_VALUE_BOXED +GTK_VALUE_POINTER +GTK_VALUE_OBJECT +GTK_VALUE_SIGNAL +GTK_VALUE_ARGS +GTK_VALUE_CALLBACK +GTK_VALUE_C_CALLBACK +GTK_VALUE_FOREIGN +GTK_RETLOC_CHAR +GTK_RETLOC_UCHAR +GTK_RETLOC_BOOL +GTK_RETLOC_INT +GTK_RETLOC_UINT +GTK_RETLOC_LONG +GTK_RETLOC_ULONG +GTK_RETLOC_FLOAT +GTK_RETLOC_DOUBLE +GTK_RETLOC_STRING +GTK_RETLOC_ENUM +GTK_RETLOC_FLAGS +GTK_RETLOC_BOXED +GTK_RETLOC_POINTER +GTK_RETLOC_OBJECT +GtkTypeInfo +GtkTypeQuery +GtkTypeClass +GtkEnumValue +gtk_type_init +gtk_type_unique +gtk_type_set_chunk_alloc +gtk_type_name +gtk_type_from_name +gtk_type_parent +gtk_type_class +gtk_type_parent_class +gtk_type_children_types +gtk_type_new +gtk_type_free +gtk_type_describe_heritage +gtk_type_describe_tree +gtk_type_is_a +gtk_type_check_object_cast +gtk_type_check_class_cast +gtk_type_register_enum +gtk_type_register_flags +gtk_type_enum_get_values +gtk_type_flags_get_values +gtk_type_enum_find_value +gtk_type_flags_find_value +gtk_type_set_varargs_type +gtk_type_get_varargs_type +gtk_type_query + +GTK_TYPE_ACCEL_FLAGS +GTK_TYPE_CALENDAR_DISPLAY_OPTIONS +GTK_TYPE_CELL_TYPE +GTK_TYPE_CLIST_DRAG_POS +GTK_TYPE_BUTTON_ACTION +GTK_TYPE_CTREE_POS +GTK_TYPE_CTREE_LINE_STYLE +GTK_TYPE_CTREE_EXPANDER_STYLE +GTK_TYPE_CTREE_EXPANSION_TYPE +GTK_TYPE_DEBUG_FLAG +GTK_TYPE_DEST_DEFAULTS +GTK_TYPE_TARGET_FLAGS +GTK_TYPE_ARROW_TYPE +GTK_TYPE_ATTACH_OPTIONS +GTK_TYPE_BUTTON_BOX_STYLE +GTK_TYPE_CURVE_TYPE +GTK_TYPE_DIRECTION_TYPE +GTK_TYPE_JUSTIFICATION +GTK_TYPE_MATCH_TYPE +GTK_TYPE_MENU_DIRECTION_TYPE +GTK_TYPE_MENU_FACTORY_TYPE +GTK_TYPE_METRIC_TYPE +GTK_TYPE_ORIENTATION +GTK_TYPE_CORNER_TYPE +GTK_TYPE_PACK_TYPE +GTK_TYPE_PATH_PRIORITY_TYPE +GTK_TYPE_PATH_TYPE +GTK_TYPE_POLICY_TYPE +GTK_TYPE_POSITION_TYPE +GTK_TYPE_PREVIEW_TYPE +GTK_TYPE_RELIEF_STYLE +GTK_TYPE_RESIZE_MODE +GTK_TYPE_SIGNAL_RUN_TYPE +GTK_TYPE_SCROLL_TYPE +GTK_TYPE_SELECTION_MODE +GTK_TYPE_SHADOW_TYPE +GTK_TYPE_STATE_TYPE +GTK_TYPE_SUBMENU_DIRECTION +GTK_TYPE_SUBMENU_PLACEMENT +GTK_TYPE_TOOLBAR_STYLE +GTK_TYPE_TROUGH_TYPE +GTK_TYPE_UPDATE_TYPE +GTK_TYPE_VISIBILITY +GTK_TYPE_WINDOW_POSITION +GTK_TYPE_WINDOW_TYPE +GTK_TYPE_SORT_TYPE +GTK_TYPE_FONT_METRIC_TYPE +GTK_TYPE_FONT_TYPE +GTK_TYPE_FONT_FILTER_TYPE +GTK_TYPE_OBJECT_FLAGS +GTK_TYPE_ARG_FLAGS +GTK_TYPE_PACKER_OPTIONS +GTK_TYPE_SIDE_TYPE +GTK_TYPE_ANCHOR_TYPE +GTK_TYPE_PRIVATE_FLAGS +GTK_TYPE_PROGRESS_BAR_STYLE +GTK_TYPE_PROGRESS_BAR_ORIENTATION +GTK_TYPE_RC_FLAGS +GTK_TYPE_RC_TOKEN_TYPE +GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY +GTK_TYPE_SPIN_TYPE +GTK_TYPE_TOOLBAR_CHILD_TYPE +GTK_TYPE_TOOLBAR_SPACE_STYLE +GTK_TYPE_TREE_VIEW_MODE +GTK_TYPE_FUNDAMENTAL_TYPE +GTK_TYPE_WIDGET_FLAGS +GTK_TYPE_GDK_WINDOW_TYPE +GTK_TYPE_GDK_WINDOW_CLASS +GTK_TYPE_GDK_IMAGE_TYPE +GTK_TYPE_GDK_VISUAL_TYPE +GTK_TYPE_GDK_FONT_TYPE +GTK_TYPE_GDK_WINDOW_ATTRIBUTES_TYPE +GTK_TYPE_GDK_WINDOW_HINTS +GTK_TYPE_GDK_FUNCTION +GTK_TYPE_GDK_FILL +GTK_TYPE_GDK_FILL_RULE +GTK_TYPE_GDK_LINE_STYLE +GTK_TYPE_GDK_CAP_STYLE +GTK_TYPE_GDK_JOIN_STYLE +GTK_TYPE_GDK_CURSOR_TYPE +GTK_TYPE_GDK_FILTER_RETURN +GTK_TYPE_GDK_VISIBILITY_STATE +GTK_TYPE_GDK_EVENT_TYPE +GTK_TYPE_GDK_EVENT_MASK +GTK_TYPE_GDK_NOTIFY_TYPE +GTK_TYPE_GDK_CROSSING_MODE +GTK_TYPE_GDK_MODIFIER_TYPE +GTK_TYPE_GDK_SUBWINDOW_MODE +GTK_TYPE_GDK_INPUT_CONDITION +GTK_TYPE_GDK_STATUS +GTK_TYPE_GDK_BYTE_ORDER +GTK_TYPE_GDK_GC_VALUES_MASK +GTK_TYPE_GDK_SELECTION +GTK_TYPE_GDK_PROPERTY_STATE +GTK_TYPE_GDK_PROP_MODE +GTK_TYPE_GDK_INPUT_SOURCE +GTK_TYPE_GDK_INPUT_MODE +GTK_TYPE_GDK_AXIS_USE +GTK_TYPE_GDK_TARGET +GTK_TYPE_GDK_SELECTION_TYPE +GTK_TYPE_GDK_EXTENSION_MODE +GTK_TYPE_GDK_IM_STYLE +GTK_TYPE_GDK_IC_ATTRIBUTES_TYPE +GTK_TYPE_GDK_WM_DECORATION +GTK_TYPE_GDK_WM_FUNCTION +GTK_TYPE_GDK_COLOR_CONTEXT_MODE +GTK_TYPE_GDK_OVERLAP_TYPE +GTK_TYPE_GDK_DRAG_ACTION +GTK_TYPE_GDK_DRAG_PROTOCOL +GTK_TYPE_GDK_RGB_DITHER +GTK_TYPE_ACCEL_GROUP +GTK_TYPE_SELECTION_DATA +GTK_TYPE_STYLE +GTK_TYPE_CTREE_NODE +GTK_TYPE_GDK_COLORMAP +GTK_TYPE_GDK_VISUAL +GTK_TYPE_GDK_FONT +GTK_TYPE_GDK_WINDOW +GTK_TYPE_GDK_DRAG_CONTEXT +GTK_TYPE_GDK_EVENT +GTK_TYPE_GDK_COLOR +
+ +
+gtkbindings +Bindings +GtkPatternSpec +gtk_pattern_spec_init +gtk_pattern_spec_free_segs +gtk_pattern_match +gtk_pattern_match_string +gtk_pattern_match_simple +GtkBindingSet +GtkBindingEntry +GtkBindingSignal +GtkBindingArg +gtk_binding_set_new +gtk_binding_set_by_class +gtk_binding_set_find +gtk_bindings_activate +gtk_binding_set_activate +gtk_binding_entry_add +gtk_binding_entry_clear +gtk_binding_entry_add_signal +gtk_binding_set_add_path +gtk_binding_entry_remove +gtk_binding_entry_add_signall +gtk_binding_parse_binding +
+ +
+gtkenums +Standard Enumerations +GtkAccelFlags +GtkArrowType +GtkAttachOptions +GtkButtonBoxStyle +GtkCornerType +GtkCurveType +GtkDirectionType +GtkJustification +GtkMatchType +GtkMenuFactoryType +GtkMetricType +GtkOrientation +GtkPackType +GtkPathPriorityType +GtkPathType +GtkPolicyType +GtkPositionType +GtkPreviewType +GtkReliefStyle +GtkResizeMode +GtkSignalRunType +GtkScrollType +GtkSelectionMode +GtkShadowType +GtkStateType +GtkSubmenuDirection +GtkSubmenuPlacement +GtkToolbarStyle +GtkTroughType +GtkUpdateType +GtkVisibility +GtkWindowPosition +GtkWindowType +GtkSortType +
+ +
+gtkdebug +Debugging +GtkDebugFlag +gtk_debug_flags +GTK_NOTE +
+ +
+gtkprivate +Private Information +GtkPrivateFlags +GTK_PRIVATE_FLAGS +GTK_WIDGET_USER_STYLE +GTK_WIDGET_REDRAW_PENDING +GTK_CONTAINER_RESIZE_PENDING +GTK_WIDGET_RESIZE_NEEDED +GTK_WIDGET_LEAVE_PENDING +GTK_WIDGET_HAS_SHAPE_MASK +GTK_WIDGET_IN_REPARENT +GTK_WIDGET_IS_OFFSCREEN +GTK_PRIVATE_SET_FLAG +GTK_PRIVATE_UNSET_FLAG +
+ diff --git a/docs/reference/gtk/gtk.args b/docs/reference/gtk/gtk.args new file mode 100644 index 0000000000..56aaf56253 --- /dev/null +++ b/docs/reference/gtk/gtk.args @@ -0,0 +1,846 @@ + +GtkAccelLabel::accel_widget +GtkWidget +rw + + + +GtkAlignment::xalign +gfloat +rw + + + +GtkAlignment::yalign +gfloat +rw + + + +GtkAlignment::xscale +gfloat +rw + + + +GtkAlignment::yscale +gfloat +rw + + + +GtkArrow::arrow_type +GtkArrowType +rw + + + +GtkArrow::shadow_type +GtkShadowType +rw + + + +GtkBox::spacing +gint +rw + + + +GtkBox::homogeneous +gboolean +rw + + + +GtkButton::label +GtkString +rw + + + +GtkButton::relief +GtkReliefStyle +rw + + + +GtkCList::n_columns +guint +rwX + + + +GtkCList::shadow_type +GtkShadowType +rw + + + +GtkCList::selection_mode +GtkSelectionMode +rw + + + +GtkCList::row_height +guint +rw + + + +GtkCList::reorderable +gboolean +rw + + + +GtkCList::titles_active +gboolean +rw + + + +GtkCList::use_drag_icons +gboolean +rw + + + +GtkContainer::border_width +gulong +rw + + + +GtkContainer::resize_mode +GtkResizeMode +rw + + + +GtkContainer::child +GtkWidget +w + + + +GtkCTree::n_columns +guint +rwX + + + +GtkCTree::tree_column +guint +rwX + + + +GtkCTree::indent +guint +rw + + + +GtkCTree::spacing +guint +rw + + + +GtkCTree::show_stub +gboolean +rw + + + +GtkCTree::line_style +GtkCTreeLineStyle +rw + + + +GtkCTree::expander_style +GtkCTreeExpanderStyle +rw + + + +GtkEditable::text_position +gint +rw + + + +GtkEditable::editable +gboolean +rw + + + +GtkEntry::max_length +guint +rw + + + +GtkEntry::visibility +gboolean +rw + + + +GtkFrame::label +GtkString +rw + + + +GtkFrame::label_xalign +gfloat +rw + + + +GtkFrame::label_yalign +gfloat +rw + + + +GtkFrame::shadow +GtkShadowType +rw + + + +GtkHandleBox::shadow +GtkShadowType +rw + + + +GtkHScale::adjustment +GtkAdjustment +rwx + + + +GtkHScrollbar::adjustment +GtkAdjustment +rwx + + + +GtkLabel::label +GtkString +rw + + + +GtkLabel::pattern +GtkString +rw + + + +GtkLabel::justify +GtkJustification +rw + + + +GtkMenuBar::shadow +GtkShadowType +rw + + + +GtkMisc::xalign +gfloat +rw + + + +GtkMisc::yalign +gfloat +rw + + + +GtkMisc::xpad +gint +rw + + + +GtkMisc::ypad +gint +rw + + + +GtkNotebook::page +gint +rw + + + +GtkNotebook::tab_pos +GtkPositionType +rw + + + +GtkNotebook::tab_border +guint +w + + + +GtkNotebook::tab_hborder +guint +rw + + + +GtkNotebook::tab_vborder +guint +rw + + + +GtkNotebook::show_tabs +gboolean +rw + + + +GtkNotebook::show_border +gboolean +rw + + + +GtkNotebook::scrollable +gboolean +rw + + + +GtkNotebook::enable_popup +gboolean +rw + + + +GtkObject::user_data +gpointer +rw + + + +GtkObject::signal +GtkSignal +w + + + +GtkObject::signal_after +GtkSignal +w + + + +GtkObject::object_signal +GtkSignal +w + + + +GtkObject::object_signal_after +GtkSignal +w + + + +GtkPacker::spacing +guint +rw + + + +GtkPacker::default_border_width +guint +rw + + + +GtkPacker::default_pad_x +guint +rw + + + +GtkPacker::default_pad_y +guint +rw + + + +GtkPacker::default_ipad_x +guint +rw + + + +GtkPacker::default_ipad_y +guint +rw + + + +GtkProgress::activity_mode +gboolean +rw + + + +GtkProgress::show_text +gboolean +rw + + + +GtkProgress::text_xalign +gfloat +rw + + + +GtkProgress::text_yalign +gfloat +rw + + + +GtkProgressBar::adjustment +GtkAdjustment +rwx + + + +GtkProgressBar::orientation +GtkProgressBarOrientation +rw + + + +GtkProgressBar::bar_style +GtkProgressBarStyle +rw + + + +GtkProgressBar::activity_step +guint +rw + + + +GtkProgressBar::activity_blocks +guint +rw + + + +GtkProgressBar::discrete_blocks +guint +rw + + + +GtkRadioButton::group +GtkRadioButton +w + + + +GtkRange::update_policy +GtkUpdateType +rw + + + +GtkScale::digits +gint +rw + + + +GtkScale::draw_value +gboolean +rw + + + +GtkScale::value_pos +GtkPositionType +rw + + + +GtkScrolledWindow::hadjustment +GtkAdjustment +rwx + + + +GtkScrolledWindow::vadjustment +GtkAdjustment +rwx + + + +GtkScrolledWindow::hscrollbar_policy +GtkPolicyType +rw + + + +GtkScrolledWindow::vscrollbar_policy +GtkPolicyType +rw + + + +GtkScrolledWindow::window_placement +GtkCornerType +rw + + + +GtkSpinButton::adjustment +GtkAdjustment +rw + + + +GtkSpinButton::climb_rate +gfloat +rw + + + +GtkSpinButton::digits +guint +rw + + + +GtkSpinButton::snap_to_ticks +gboolean +rw + + + +GtkSpinButton::numeric +gboolean +rw + + + +GtkSpinButton::wrap +gboolean +rw + + + +GtkSpinButton::update_policy +GtkSpinButtonUpdatePolicy +rw + + + +GtkSpinButton::shadow_type +GtkShadowType +rw + + + +GtkSpinButton::value +gfloat +rw + + + +GtkTable::n_rows +guint +rw + + + +GtkTable::n_columns +guint +rw + + + +GtkTable::row_spacing +guint +rw + + + +GtkTable::column_spacing +guint +rw + + + +GtkTable::homogeneous +gboolean +rw + + + +GtkText::hadjustment +GtkAdjustment +rwx + + + +GtkText::vadjustment +GtkAdjustment +rwx + + + +GtkText::line_wrap +gboolean +rw + + + +GtkText::word_wrap +gboolean +rw + + + +GtkTipsQuery::emit_always +gboolean +rw + + + +GtkTipsQuery::caller +GtkWidget +rw + + + +GtkTipsQuery::label_inactive +GtkString +rw + + + +GtkTipsQuery::label_no_tip +GtkString +rw + + + +GtkToggleButton::active +gboolean +rw + + + +GtkToggleButton::draw_indicator +gboolean +rw + + + +GtkViewport::hadjustment +GtkAdjustment +rwx + + + +GtkViewport::vadjustment +GtkAdjustment +rwx + + + +GtkViewport::shadow_type +GtkShadowType +rw + + + +GtkVScale::adjustment +GtkAdjustment +rwx + + + +GtkVScrollbar::adjustment +GtkAdjustment +rwx + + + +GtkWidget::name +GtkString +rw + + + +GtkWidget::parent +GtkContainer +rw + + + +GtkWidget::x +gint +rw + + + +GtkWidget::y +gint +rw + + + +GtkWidget::width +gint +rw + + + +GtkWidget::height +gint +rw + + + +GtkWidget::visible +gboolean +rw + + + +GtkWidget::sensitive +gboolean +rw + + + +GtkWidget::app_paintable +gboolean +rw + + + +GtkWidget::can_focus +gboolean +rw + + + +GtkWidget::has_focus +gboolean +rw + + + +GtkWidget::can_default +gboolean +rw + + + +GtkWidget::has_default +gboolean +rw + + + +GtkWidget::receives_default +gboolean +rw + + + +GtkWidget::composite_child +gboolean +rw + + + +GtkWidget::style +GtkStyle +rw + + + +GtkWidget::events +GdkEventMask +rw + + + +GtkWidget::extension_events +GdkEventMask +rw + + + +GtkWindow::type +GtkWindowType +rw + + + +GtkWindow::title +GtkString +rw + + + +GtkWindow::auto_shrink +gboolean +rw + + + +GtkWindow::allow_shrink +gboolean +rw + + + +GtkWindow::allow_grow +gboolean +rw + + + +GtkWindow::modal +gboolean +rw + + + +GtkWindow::window_position +GtkWindowPosition +rw + + diff --git a/docs/reference/gtk/gtk.hierarchy b/docs/reference/gtk/gtk.hierarchy new file mode 100644 index 0000000000..dbf000ed21 --- /dev/null +++ b/docs/reference/gtk/gtk.hierarchy @@ -0,0 +1,93 @@ +GtkObject + GtkWidget + GtkMisc + GtkLabel + GtkAccelLabel + GtkTipsQuery + GtkArrow + GtkImage + GtkPixmap + GtkContainer + GtkBin + GtkAlignment + GtkFrame + GtkAspectFrame + GtkButton + GtkToggleButton + GtkCheckButton + GtkRadioButton + GtkOptionMenu + GtkItem + GtkMenuItem + GtkCheckMenuItem + GtkRadioMenuItem + GtkTearoffMenuItem + GtkListItem + GtkTreeItem + GtkWindow + GtkColorSelectionDialog + GtkDialog + GtkInputDialog + GtkFileSelection + GtkFontSelectionDialog + GtkPlug + GtkEventBox + GtkHandleBox + GtkScrolledWindow + GtkViewport + GtkBox + GtkButtonBox + GtkHButtonBox + GtkVButtonBox + GtkVBox + GtkColorSelection + GtkGammaCurve + GtkHBox + GtkCombo + GtkStatusbar + GtkCList + GtkCTree + GtkFixed + GtkNotebook + GtkFontSelection + GtkPaned + GtkHPaned + GtkVPaned + GtkLayout + GtkList + GtkMenuShell + GtkMenu + GtkMenuBar + GtkPacker + GtkSocket + GtkTable + GtkToolbar + GtkTree + GtkCalendar + GtkDrawingArea + GtkCurve + GtkEditable + GtkEntry + GtkSpinButton + GtkText + GtkRuler + GtkHRuler + GtkVRuler + GtkRange + GtkScale + GtkHScale + GtkVScale + GtkScrollbar + GtkHScrollbar + GtkVScrollbar + GtkSeparator + GtkHSeparator + GtkVSeparator + GtkInvisible + GtkPreview + GtkProgress + GtkProgressBar + GtkData + GtkAdjustment + GtkTooltips + GtkItemFactory diff --git a/docs/reference/gtk/gtk.signals b/docs/reference/gtk/gtk.signals new file mode 100644 index 0000000000..336b40d731 --- /dev/null +++ b/docs/reference/gtk/gtk.signals @@ -0,0 +1,1097 @@ + +GtkAdjustment::changed +void +GtkAdjustment *adjustment + + + +GtkAdjustment::value-changed +void +GtkAdjustment *adjustment + + + +GtkButton::pressed +void +GtkButton *button + + + +GtkButton::released +void +GtkButton *button + + + +GtkButton::clicked +void +GtkButton *button + + + +GtkButton::enter +void +GtkButton *button + + + +GtkButton::leave +void +GtkButton *button + + + +GtkCalendar::month-changed +void +GtkCalendar *calendar + + + +GtkCalendar::day-selected +void +GtkCalendar *calendar + + + +GtkCalendar::day-selected-double-click +void +GtkCalendar *calendar + + + +GtkCalendar::prev-month +void +GtkCalendar *calendar + + + +GtkCalendar::next-month +void +GtkCalendar *calendar + + + +GtkCalendar::prev-year +void +GtkCalendar *calendar + + + +GtkCalendar::next-year +void +GtkCalendar *calendar + + + +GtkCheckMenuItem::toggled +void +GtkCheckMenuItem *checkmenuitem + + + +GtkCList::select-row +void +GtkCList *clist +gint row +gint column +GdkEventButton *event + + + +GtkCList::unselect-row +void +GtkCList *clist +gint row +gint column +GdkEventButton *event + + + +GtkCList::row-move +void +GtkCList *clist +gint arg1 +gint arg2 + + + +GtkCList::click-column +void +GtkCList *clist +gint column + + + +GtkCList::resize-column +void +GtkCList *clist +gint column +gint width + + + +GtkCList::toggle-focus-row +void +GtkCList *clist + + + +GtkCList::select-all +void +GtkCList *clist + + + +GtkCList::unselect-all +void +GtkCList *clist + + + +GtkCList::undo-selection +void +GtkCList *clist + + + +GtkCList::start-selection +void +GtkCList *clist + + + +GtkCList::end-selection +void +GtkCList *clist + + + +GtkCList::toggle-add-mode +void +GtkCList *clist + + + +GtkCList::extend-selection +void +GtkCList *clist +GtkScrollType scroll_type +gfloat position +gboolean auto_start_selection + + + +GtkCList::scroll-vertical +void +GtkCList *clist +GtkScrollType scroll_type +gfloat position + + + +GtkCList::scroll-horizontal +void +GtkCList *clist +GtkScrollType scroll_type +gfloat position + + + +GtkCList::abort-column-resize +void +GtkCList *clist + + + +GtkColorSelection::color-changed +void +GtkColorSelection *colorselection + + + +GtkContainer::add +void +GtkContainer *container +GtkWidget *widget + + + +GtkContainer::remove +void +GtkContainer *container +GtkWidget *widget + + + +GtkContainer::check-resize +void +GtkContainer *container + + + +GtkContainer::focus +GtkDirectionType +GtkContainer *container +GtkDirectionType direction + + + +GtkContainer::set-focus-child +void +GtkContainer *container +GtkWidget *widget + + + +GtkCTree::tree-select-row +void +GtkCTree *ctree +GList *node +gint column + + + +GtkCTree::tree-unselect-row +void +GtkCTree *ctree +GList *node +gint column + + + +GtkCTree::tree-expand +void +GtkCTree *ctree +GList *node + + + +GtkCTree::tree-collapse +void +GtkCTree *ctree +GList *node + + + +GtkCTree::tree-move +void +GtkCTree *ctree +GList *node +GList *new_parent +GList *new_sibling + + + +GtkCTree::change-focus-row-expansion +void +GtkCTree *ctree +GtkCTreeExpansionType expansion + + + +GtkCurve::curve-type-changed +void +GtkCurve *curve + + + +GtkData::disconnect +void +GtkData *data + + + +GtkEditable::changed +void +GtkEditable *editable + + + +GtkEditable::insert-text +void +GtkEditable *editable +gchar *new_text +gint new_text_length +gint *position + + + +GtkEditable::delete-text +void +GtkEditable *editable +gint start_pos +gint end_pos + + + +GtkEditable::activate +void +GtkEditable *editable + + + +GtkEditable::set-editable +void +GtkEditable *editable +gboolean is_editable + + + +GtkEditable::move-cursor +void +GtkEditable *editable +gint x +gint y + + + +GtkEditable::move-word +void +GtkEditable *editable +gint num_words + + + +GtkEditable::move-page +void +GtkEditable *editable +gint x +gint y + + + +GtkEditable::move-to-row +void +GtkEditable *editable +gint row + + + +GtkEditable::move-to-column +void +GtkEditable *editable +gint column + + + +GtkEditable::kill-char +void +GtkEditable *editable +gint direction + + + +GtkEditable::kill-word +void +GtkEditable *editable +gint direction + + + +GtkEditable::kill-line +void +GtkEditable *editable +gint direction + + + +GtkEditable::cut-clipboard +void +GtkEditable *editable + + + +GtkEditable::copy-clipboard +void +GtkEditable *editable + + + +GtkEditable::paste-clipboard +void +GtkEditable *editable + + + +GtkHandleBox::child-attached +void +GtkHandleBox *handlebox +GtkWidget *widget + + + +GtkHandleBox::child-detached +void +GtkHandleBox *handlebox +GtkWidget *widget + + + +GtkInputDialog::enable-device +void +GtkInputDialog *inputdialog +gint deviceid + + + +GtkInputDialog::disable-device +void +GtkInputDialog *inputdialog +gint deviceid + + + +GtkItem::select +void +GtkItem *item + + + +GtkItem::deselect +void +GtkItem *item + + + +GtkItem::toggle +void +GtkItem *item + + + +GtkList::selection-changed +void +GtkList *list + + + +GtkList::select-child +void +GtkList *list +GtkWidget *widget + + + +GtkList::unselect-child +void +GtkList *list +GtkWidget *widget + + + +GtkListItem::toggle-focus-row +void +GtkListItem *listitem + + + +GtkListItem::select-all +void +GtkListItem *listitem + + + +GtkListItem::unselect-all +void +GtkListItem *listitem + + + +GtkListItem::undo-selection +void +GtkListItem *listitem + + + +GtkListItem::start-selection +void +GtkListItem *listitem + + + +GtkListItem::end-selection +void +GtkListItem *listitem + + + +GtkListItem::toggle-add-mode +void +GtkListItem *listitem + + + +GtkListItem::extend-selection +void +GtkListItem *listitem +GtkScrollType scroll_type +gfloat position +gboolean auto_start_selection + + + +GtkListItem::scroll-vertical +void +GtkListItem *listitem +GtkScrollType scroll_type +gfloat position + + + +GtkListItem::scroll-horizontal +void +GtkListItem *listitem +GtkScrollType scroll_type +gfloat position + + + +GtkMenuItem::activate +void +GtkMenuItem *menuitem + + + +GtkMenuItem::activate-item +void +GtkMenuItem *menuitem + + + +GtkMenuShell::deactivate +void +GtkMenuShell *menushell + + + +GtkMenuShell::selection-done +void +GtkMenuShell *menushell + + + +GtkMenuShell::move-current +void +GtkMenuShell *menushell +GtkMenuDirectionType direction + + + +GtkMenuShell::activate-current +void +GtkMenuShell *menushell +gboolean force_hide + + + +GtkMenuShell::cancel +void +GtkMenuShell *menushell + + + +GtkNotebook::switch-page +void +GtkNotebook *notebook +GtkNotebookPage *page +gint page_num + + + +GtkObject::destroy +void +GtkObject *object + + + +GtkStatusbar::text-pushed +void +GtkStatusbar *statusbar +guint context_id +gchar *text + + + +GtkStatusbar::text-popped +void +GtkStatusbar *statusbar +guint context_id +gchar *text + + + +GtkTipsQuery::start-query +void +GtkTipsQuery *tipsquery + + + +GtkTipsQuery::stop-query +void +GtkTipsQuery *tipsquery + + + +GtkTipsQuery::widget-entered +void +GtkTipsQuery *tipsquery +GtkWidget *widget +gchar *tip_text +gchar *tip_private + + + +GtkTipsQuery::widget-selected +gboolean +GtkTipsQuery *tipsquery +GtkWidget *widget +gchar *tip_text +gchar *tip_private +GdkEventButton *event + + + +GtkToggleButton::toggled +void +GtkToggleButton *togglebutton + + + +GtkToolbar::orientation-changed +void +GtkToolbar *toolbar +GtkOrientation orientation + + + +GtkToolbar::style-changed +void +GtkToolbar *toolbar +GtkToolbarStyle style + + + +GtkTree::selection-changed +void +GtkTree *tree + + + +GtkTree::select-child +void +GtkTree *tree +GtkWidget *widget + + + +GtkTree::unselect-child +void +GtkTree *tree +GtkWidget *widget + + + +GtkTreeItem::collapse +void +GtkTreeItem *treeitem + + + +GtkTreeItem::expand +void +GtkTreeItem *treeitem + + + +GtkWidget::show +void +GtkWidget *widget + + + +GtkWidget::hide +void +GtkWidget *widget + + + +GtkWidget::map +void +GtkWidget *widget + + + +GtkWidget::unmap +void +GtkWidget *widget + + + +GtkWidget::realize +void +GtkWidget *widget + + + +GtkWidget::unrealize +void +GtkWidget *widget + + + +GtkWidget::draw +void +GtkWidget *widget +GdkRectangle *area + + + +GtkWidget::draw-focus +void +GtkWidget *widget + + + +GtkWidget::draw-default +void +GtkWidget *widget + + + +GtkWidget::size-request +void +GtkWidget *widget +GtkRequisition *requisition + + + +GtkWidget::size-allocate +void +GtkWidget *widget +GtkAllocation *allocation + + + +GtkWidget::state-changed +void +GtkWidget *widget +GtkStateType state + + + +GtkWidget::parent-set +void +GtkWidget *widget +GtkObject *old_parent + + + +GtkWidget::style-set +void +GtkWidget *widget +GtkStyle *previous_style + + + +GtkWidget::add-accelerator +void +GtkWidget *widget +guint accel_signal_id +GtkAccelGroup *accel_group +guint accel_key +GdkModifierType accel_mods +GtkAccelFlags accel_flags + + + +GtkWidget::remove-accelerator +void +GtkWidget *widget +GtkAccelGroup *accel_group +guint accel_key +GdkModifierType accel_mods + + + +GtkWidget::grab-focus +void +GtkWidget *widget + + + +GtkWidget::event +gboolean +GtkWidget *widget +GdkEvent *event + + + +GtkWidget::button-press-event +gboolean +GtkWidget *widget +GdkEventButton *event + + + +GtkWidget::button-release-event +gboolean +GtkWidget *widget +GdkEventButton *event + + + +GtkWidget::motion-notify-event +gboolean +GtkWidget *widget +GdkEventMotion *event + + + +GtkWidget::delete-event +gboolean +GtkWidget *widget +GdkEvent *event + + + +GtkWidget::destroy-event +gboolean +GtkWidget *widget +GdkEvent *event + + + +GtkWidget::expose-event +gboolean +GtkWidget *widget +GdkEventExpose *event + + + +GtkWidget::key-press-event +gboolean +GtkWidget *widget +GdkEventKey *event + + + +GtkWidget::key-release-event +gboolean +GtkWidget *widget +GdkEventKey *event + + + +GtkWidget::enter-notify-event +gboolean +GtkWidget *widget +GdkEventCrossing *event + + + +GtkWidget::leave-notify-event +gboolean +GtkWidget *widget +GdkEventCrossing *event + + + +GtkWidget::configure-event +gboolean +GtkWidget *widget +GdkEventConfigure *event + + + +GtkWidget::focus-in-event +gboolean +GtkWidget *widget +GdkEventFocus *event + + + +GtkWidget::focus-out-event +gboolean +GtkWidget *widget +GdkEventFocus *event + + + +GtkWidget::map-event +gboolean +GtkWidget *widget +GdkEvent *event + + + +GtkWidget::unmap-event +gboolean +GtkWidget *widget +GdkEvent *event + + + +GtkWidget::property-notify-event +gboolean +GtkWidget *widget +GdkEventProperty *event + + + +GtkWidget::selection-clear-event +gboolean +GtkWidget *widget +GdkEventSelection *event + + + +GtkWidget::selection-request-event +gboolean +GtkWidget *widget +GdkEventSelection *event + + + +GtkWidget::selection-notify-event +gboolean +GtkWidget *widget +GdkEventSelection *event + + + +GtkWidget::selection-get +void +GtkWidget *widget +GtkSelectionData *data +guint info +guint time + + + +GtkWidget::selection-received +void +GtkWidget *widget +GtkSelectionData *data +guint time + + + +GtkWidget::proximity-in-event +gboolean +GtkWidget *widget +GdkEventProximity *event + + + +GtkWidget::proximity-out-event +gboolean +GtkWidget *widget +GdkEventProximity *event + + + +GtkWidget::drag-begin +void +GtkWidget *widget +GdkDragContext *drag_context + + + +GtkWidget::drag-end +void +GtkWidget *widget +GdkDragContext *drag_context + + + +GtkWidget::drag-data-delete +void +GtkWidget *widget +GdkDragContext *drag_context + + + +GtkWidget::drag-leave +void +GtkWidget *widget +GdkDragContext *drag_context +guint time + + + +GtkWidget::drag-motion +gboolean +GtkWidget *widget +GdkDragContext *drag_context +gint x +gint y +guint time + + + +GtkWidget::drag-drop +gboolean +GtkWidget *widget +GdkDragContext *drag_context +gint x +gint y +guint time + + + +GtkWidget::drag-data-get +void +GtkWidget *widget +GdkDragContext *drag_context +GtkSelectionData *data +guint info +guint time + + + +GtkWidget::drag-data-received +void +GtkWidget *widget +GdkDragContext *drag_context +gint x +gint y +GtkSelectionData *data +guint info +guint time + + + +GtkWidget::client-event +gboolean +GtkWidget *widget +GdkEventClient *event + + + +GtkWidget::no-expose-event +gboolean +GtkWidget *widget +GdkEventNoExpose *event + + + +GtkWidget::visibility-notify-event +gboolean +GtkWidget *widget +GdkEvent *event + + + +GtkWidget::debug-msg +void +GtkWidget *widget +gchar *message + + + +GtkWindow::set-focus +void +GtkWindow *window +GtkWidget *widget + + diff --git a/docs/reference/gtk/gtk.types b/docs/reference/gtk/gtk.types new file mode 100644 index 0000000000..1bc77ae576 --- /dev/null +++ b/docs/reference/gtk/gtk.types @@ -0,0 +1,96 @@ +#include + +gtk_accel_label_get_type +gtk_adjustment_get_type +gtk_alignment_get_type +gtk_arrow_get_type +gtk_aspect_frame_get_type +gtk_bin_get_type +gtk_box_get_type +gtk_button_get_type +gtk_button_box_get_type +gtk_calendar_get_type +gtk_check_button_get_type +gtk_check_menu_item_get_type +gtk_clist_get_type +gtk_color_selection_get_type +gtk_color_selection_dialog_get_type +gtk_combo_get_type +gtk_container_get_type +gtk_ctree_get_type +gtk_curve_get_type +gtk_data_get_type +gtk_dialog_get_type +gtk_drawing_area_get_type +gtk_editable_get_type +gtk_entry_get_type +gtk_event_box_get_type +gtk_file_selection_get_type +gtk_fixed_get_type +gtk_font_selection_get_type +gtk_font_selection_dialog_get_type +gtk_frame_get_type +gtk_gamma_curve_get_type +gtk_handle_box_get_type +gtk_hbox_get_type +gtk_hbutton_box_get_type +gtk_hpaned_get_type +gtk_hruler_get_type +gtk_hscale_get_type +gtk_hscrollbar_get_type +gtk_hseparator_get_type +gtk_identifier_get_type +gtk_image_get_type +gtk_input_dialog_get_type +gtk_invisible_get_type +gtk_item_get_type +gtk_item_factory_get_type +gtk_label_get_type +gtk_layout_get_type +gtk_list_get_type +gtk_list_item_get_type +gtk_menu_get_type +gtk_menu_bar_get_type +gtk_menu_item_get_type +gtk_menu_shell_get_type +gtk_misc_get_type +gtk_notebook_get_type +gtk_object_get_type +gtk_option_menu_get_type +gtk_packer_get_type +gtk_paned_get_type +gtk_pixmap_get_type +gtk_plug_get_type +gtk_preview_get_type +gtk_progress_get_type +gtk_progress_bar_get_type +gtk_radio_button_get_type +gtk_radio_menu_item_get_type +gtk_range_get_type +gtk_ruler_get_type +gtk_scale_get_type +gtk_scrollbar_get_type +gtk_scrolled_window_get_type +gtk_separator_get_type +gtk_socket_get_type +gtk_spin_button_get_type +gtk_statusbar_get_type +gtk_table_get_type +gtk_tearoff_menu_item_get_type +gtk_text_get_type +gtk_tips_query_get_type +gtk_toggle_button_get_type +gtk_toolbar_get_type +gtk_tooltips_get_type +gtk_tree_get_type +gtk_tree_item_get_type +gtk_vbox_get_type +gtk_vbutton_box_get_type +gtk_viewport_get_type +gtk_vpaned_get_type +gtk_vruler_get_type +gtk_vscale_get_type +gtk_vscrollbar_get_type +gtk_vseparator_get_type +gtk_widget_get_type +gtk_window_get_type diff --git a/docs/reference/gtk/objects_grouped.sgml b/docs/reference/gtk/objects_grouped.sgml new file mode 100644 index 0000000000..da6e073e02 --- /dev/null +++ b/docs/reference/gtk/objects_grouped.sgml @@ -0,0 +1,130 @@ + + + + + + + + +Windows & Dialogs + GtkWindow + GtkDialog + GtkColorSelectionDialog + GtkFileSelection + GtkFontSelectionDialog + GtkInputDialog + +Containers + GtkHBox + GtkVBox + GtkTable + GtkToolbar + GtkHandleBox + GtkNotebook + GtkFrame + GtkAspectFrame + GtkFixed + GtkPacker + GtkLayout + GtkScrolledWindow + GtkViewport + GtkEventBox + GtkAlignment + GtkInvisible + GtkHButtonBox + GtkVButtonBox + GtkHPaned + GtkVPaned + + +Labels & Buttons + GtkLabel + GtkAccelLabel + GtkButton + GtkCheckButton + GtkToggleButton + GtkRadioButton + +Data Entry Widgets + GtkEntry + GtkText + GtkSpinButton + GtkOptionMenu + GtkCombo + GtkHScale + GtkVScale + +Lists & Trees + GtkCList + GtkCTree + GtkList + GtkListItem + GtkTree + GtkTreeItem + +Tooltips + GtkTooltips + GtkTipsQuery + + +Menus & Menu Bars + GtkMenuBar + GtkMenu + GtkMenuItem + GtkCheckMenuItem + GtkRadioMenuItem + GtkTearoffMenuItem + +Graphical Widgets + GtkDrawingArea + GtkImage + GtkPixmap + GtkPreview + GtkCurve + GtkGammaCurve + +Misc. Widgets + GtkArrow + GtkCalendar + GtkProgressBar + GtkStatusbar + GtkHRuler + GtkVRuler + GtkHScrollbar + GtkVScrollbar + GtkHSeparator + GtkVSeparator + GtkColorSelection + GtkFontSelection + + +Abstract Base Classes + GtkWidget + GtkObject + GtkContainer + GtkBin + GtkBox + GtkButtonBox + GtkData + GtkEditable + GtkItem + GtkMenuShell + GtkMisc + GtkPaned + GtkProgress + GtkRange + GtkRuler + GtkScale + GtkScrollbar + GtkSeparator + +Integrating with other X Applications + GtkPlug + GtkSocket + +Misc. Objects + GtkAdjustment + GtkItemFactory + + + diff --git a/docs/reference/gtk/tmpl/gtk-unused.sgml b/docs/reference/gtk/tmpl/gtk-unused.sgml new file mode 100644 index 0000000000..3e32cdde96 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtk-unused.sgml @@ -0,0 +1,24 @@ + + +Determines the way that the the preview widget behaves +when the size it is allocated is larger than the requested +size. See gtk_preview_set_expand(). + + + + + +Determines the snap edge of a handlebox. The snap edge is +the edge of the detached child that must be aligned +with the corresponding edge of the "ghost" left +behind when the child was detached to reattach +the torn-off window. See gtk_handle_box_set_snap_edge(). + + + + + +Determines the side of the handlebox where the handle is drawn. + + + diff --git a/docs/reference/gtk/tmpl/gtkaccelgroup.sgml b/docs/reference/gtk/tmpl/gtkaccelgroup.sgml new file mode 100644 index 0000000000..ccf0ce427a --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkaccelgroup.sgml @@ -0,0 +1,314 @@ + +Keyboard Accelerators + + + + + + + + + + + + + + + + + + + +@ref_count: +@lock_count: +@modifier_mask: +@attach_objects: + + + + + + +@accel_group: +@accelerator_key: +@accelerator_mods: +@accel_flags: +@object: +@signal_id: + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@accel_group: +@Returns: + + + + + + + +@accel_group: + + + + + + + +@accel_group: +@accel_key: +@accel_mods: +@Returns: + + + + + + + +@object: +@accel_key: +@accel_mods: +@Returns: + + + + + + + +@accel_group: +@object: + + + + + + + +@accel_group: +@object: + + + + + + + +@accel_group: + + + + + + + +@accel_group: + + + + + + + +@accel_group: +@accel_key: +@accel_mods: +@Returns: + + + + + + + +@accel_group: +@accel_key: +@accel_mods: + + + + + + + +@accel_group: +@accel_key: +@accel_mods: + + + + + + + +@accel_group: +@accel_key: +@accel_mods: +@accel_flags: +@object: +@accel_signal: + + + + + + + +@accel_group: +@accel_key: +@accel_mods: +@object: + + + + + + + +@object: +@accel_signal_id: +@accel_group: +@accel_key: +@accel_mods: +@accel_flags: + + + + + + + +@object: +@accel_group: +@accel_key: +@accel_mods: + + + + + + + +@class_type: +@signal_flags: +@handler_offset: +@Returns: + + + + + + + +@class_type: +@signal_flags: +@handler_offset: +@Returns: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@Returns: + + + + + + + +@object: +@Returns: + + + + + + + +@keyval: +@modifiers: +@Returns: + + + + + + + +@accelerator: +@accelerator_key: +@accelerator_mods: + + + + + + + +@accelerator_key: +@accelerator_mods: +@Returns: + + + + + + + +@default_mod_mask: + + + + + + + +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkaccellabel.sgml b/docs/reference/gtk/tmpl/gtkaccellabel.sgml new file mode 100644 index 0000000000..bd1c8c05a4 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkaccellabel.sgml @@ -0,0 +1,69 @@ + +GtkAccelLabel + + + + + + + + + + + + + + + + + + + +@label: +@queue_id: +@accel_padding: +@accel_widget: +@accel_string: +@accel_string_width: + + + + + + +@string: +@Returns: + + + + + + + +@accel_label: +@accel_widget: + + + + + + + +@accel_label: +@Returns: + + + + + + + +@accel_label: +@Returns: + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkadjustment.sgml b/docs/reference/gtk/tmpl/gtkadjustment.sgml new file mode 100644 index 0000000000..4d8540ad42 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkadjustment.sgml @@ -0,0 +1,161 @@ + +GtkAdjustment + + +a #GtkObject representing an adjustable bounded value. + + + +The #GtkAdjustment object represents a value which has an associated lower +and upper bound, together with step and page increments, and a page size. +It is used within several GTK+ widgets, including +#GtkSpinButton, #GtkViewport, and #GtkRange (which is a base class for +#GtkHScrollbar, #GtkVScrollbar, #GtkHScale, and #GtkVScale). + + +The #GtkAdjustment object does not update the value itself. Instead +it is left up to the owner of the #GtkAdjustment to control the value. + + +The owner of the #GtkAdjustment typically calls the +gtk_adjustment_value_changed() and gtk_adjustment_changed() functions +after changing the value and its bounds. This results in the emission of the +"value_changed" or "changed" signal respectively. + + + + + + + + + +The #GtkAdjustment-struct struct contains the following fields. + + + + + + +#gfloat lower; +the minimum value. + + + +#gfloat upper; +the maximum value. + + + +#gfloat value; +the current value. + + + +#gfloat step_increment; +the increment to use to make minor changes to the value. +In a #GtkScrollbar this increment is used when the mouse is clicked on the +arrows at the top and bottom of the scrollbar, to scroll by a small amount. + + + + +#gfloat page_increment; +the increment to use to make major changes to the value. +In a #GtkScrollbar this increment is used when the mouse is clicked in the +trough, to scroll by a large amount. + + + + +#gfloat page_size; +the page size. +In a #GtkScrollbar this is the size of the area which is currently visible. + + + + + + + +@data: +@lower: +@upper: +@value: +@step_increment: +@page_increment: +@page_size: + + + +Creates a new #GtkAdjustment. + + +@value: the initial value. +@lower: the minimum value. +@upper: the maximum value. +@step_increment: the step increment. +@page_increment: the page increment. +@page_size: the page size. +@Returns: a new #GtkAdjustment. + + + + +Sets the #GtkAdjustment value. + + +@adjustment: a #GtkAdjustment. +@value: the new value. + + + + +Updates the #GtkAdjustment @value to ensure that the range between @lower +and @upper is in the current page (i.e. between @value and @value + +@page_size). +If the range is larger than the page size, then only the start of it will +be in the current page. +A "changed" signal will be emitted if the value is changed. + + +@adjustment: a #GtkAdjustment. +@lower: the lower value. +@upper: the upper value. + + + + +Emits a "changed" signal from the #GtkAdjustment. +This is typically called by the owner of the #GtkAdjustment after it has +changed any of the #GtkAdjustment fields other than the value. + + +@adjustment: + + + + +Emits a "value_changed" signal from the #GtkAdjusmtent. +This is typically called by the owner of the #GtkAdjustment after it has +changed the #GtkAdjustment value field. + + +@adjustment: + + + + +Emitted when one or more of the #GtkAdjustment fields have been changed, +other than the value field. + + +@adjustment: the object which received the signal. + + + +Emitted when the #GtkAdjustment value field has been changed. + + +@adjustment: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkalignment.sgml b/docs/reference/gtk/tmpl/gtkalignment.sgml new file mode 100644 index 0000000000..5a2b5b51a8 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkalignment.sgml @@ -0,0 +1,104 @@ + +GtkAlignment + + +a widget which controls the alignment and size of its child. + + + +The #GtkAlignment widget controls the alignment and size of its child widget. +It has four settings: xscale, yscale, xalign, and yalign. + + +The scale settings are used to specify how much the child widget should +expand to fill the space allocated to the #GtkAlignment. +The values can range from 0 (meaning the child doesn't expand at all) to +1 (meaning the child expands to fill all of the available space). + + +The align settings are used to place the child widget within the available +area. The values range from 0 (top or left) to 1 (bottom or right). +Of course, if the scale settings are both set to 1, the alignment settings +have no effect. + + + + + + + + + +The #GtkAlignment-struct struct contains private data only, and should +be accessed using the functions below. + + +@bin: +@xalign: +@yalign: +@xscale: +@yscale: + + + +Creates a new #GtkAlignment. + + +@xalign: the horizontal alignment of the child widget, from 0 (left) to 1 +(right). +@yalign: the vertical alignment of the child widget, from 0 (top) to 1 +(bottom). +@xscale: the amount that the child widget expands horizontally to fill up +unused space, from 0 to 1. +A value of 0 indicates that the child widget should never expand. +A value of 1 indicates that the child widget will expand to fill all of the +space allocated for the #GtkAlignment. +@yscale: the amount that the child widget expands vertically to fill up +unused space, from 0 to 1. The values are similar to @xscale. +@Returns: the new #GtkAlignment. + + + + +Sets the #GtkAlignment values. + + +@alignment: a #GtkAlignment. +@xalign: the horizontal alignment of the child widget, from 0 (left) to 1 +(right). +@yalign: the vertical alignment of the child widget, from 0 (top) to 1 +(bottom). +@xscale: the amount that the child widget expands horizontally to fill up +unused space, from 0 to 1. +A value of 0 indicates that the child widget should never expand. +A value of 1 indicates that the child widget will expand to fill all of the +space allocated for the #GtkAlignment. +@yscale: the amount that the child widget expands vertically to fill up +unused space, from 0 to 1. The values are similar to @xscale. + + + + +the horizontal alignment of the child widget, from 0 (left) to 1 (right). + + + + +the vertical alignment of the child widget, from 0 (top) to 1 (bottom). + + + + +the amount that the child widget expands horizontally to fill up +unused space, from 0 to 1. +A value of 0 indicates that the child widget should never expand. +A value of 1 indicates that the child widget will expand to fill all of the +space allocated for the #GtkAlignment. + + + + +the amount that the child widget expands vertically to fill up +unused space, from 0 to 1. The values are similar to @xscale. + + diff --git a/docs/reference/gtk/tmpl/gtkarg.sgml b/docs/reference/gtk/tmpl/gtkarg.sgml new file mode 100644 index 0000000000..3b8bec4ebf --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkarg.sgml @@ -0,0 +1,147 @@ + +Object Properties + + + + + + + + + + + + + + + + + + + +@class_type: +@name: +@type: +@arg_flags: +@full_name: +@arg_id: +@seq_id: + + + + + + +@arg_type: +@Returns: + + + + + + + +@src_arg: +@dest_arg: +@Returns: + + + + + + + +@arg: +@free_contents: + + + + + + + +@object_type: +@arg_info_hash_table: +@arg_list_p: +@info_list_p: +@first_arg_name: +@var_args: +@Returns: + + + + + + + +@arg_list: +@info_list: + + + + + + + +@object_type: +@arg_info_hash_table: +@arg_name: +@info_p: +@Returns: + + + + + + + +@base_class_type: +@arg_name: +@class_n_args_offset: +@arg_info_hash_table: +@arg_type: +@arg_flags: +@arg_id: +@Returns: + + + + + + + +@class_type: +@arg_info_hash_table: +@arg_flags: +@n_args_p: +@Returns: + + + + + + + +@arg_name: +@Returns: + + + + + + + +@arg_info_1: +@arg_info_2: +@Returns: + + + + + + + +@arg_info: +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkarrow.sgml b/docs/reference/gtk/tmpl/gtkarrow.sgml new file mode 100644 index 0000000000..30538600cd --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkarrow.sgml @@ -0,0 +1,92 @@ + +GtkArrow + + +produces an arrow pointing in one of the four cardinal directions. + + + +GtkArrow should be used to draw simple arrows that need to point in +one of the four cardinal directions (up, down, left, or right). The +style of the arrow can be one of shadow in, shadow out, etched in, or +etched out. Note that these directions and style types may be +ammended in versions of Gtk to come. + + +GtkArrow will fill any space alloted to it, but since it is inherited +from #GtkMisc, it can be padded and/or aligned, to fill exactly the +space the programmer desires. + + +Arrows are created with a call to gtk_arrow_new(). The direction or +style of an arrow can be changed after creation by using gtk_arrow_set(). + + + + + + + +gtk_paint_arrow() +the function used internally to paint the arrow. + + + + + + + +The #GtkArrow-struct containes the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +#gint16 arrow_type; +the direction of the arrow, one of #GtkArrowType. + + + +#gint16 shadow_type; +the style of the arrow, one of #GtkShadowType. + + + + +@misc: +@arrow_type: +@shadow_type: + + + +Creates a new arrow widget. + + +@arrow_type: a valid #GtkArrowType. +@shadow_type: a valid #GtkShadowType. +@Returns: the new #GtkArrow widget. + + + + +Sets the direction and style of the #GtkArrow, @arrow. + + +@arrow: a widget of type #GtkArrow. +@arrow_type: a valid #GtkArrowType. +@shadow_type: a valid #GtkShadowType. + + + + +the arrow direction, one of #GtkArrowType. + + + + +the arrow style, one of #GtkShadowType. + + diff --git a/docs/reference/gtk/tmpl/gtkaspectframe.sgml b/docs/reference/gtk/tmpl/gtkaspectframe.sgml new file mode 100644 index 0000000000..868a488684 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkaspectframe.sgml @@ -0,0 +1,71 @@ + +GtkAspectFrame + + +A frame that constrains its child to a particular aspect ratio. + + + +The #GtkAspectFrame is useful when you want +pack a widget so that it can resize but always retains +the same aspect ratio. For instance, one might be +drawing a small preview of a larger image. #GtkAspectFrame +derives from #GtkFrame, so it can draw a label and +a frame around the child. The frame will be +"shrink-wrapped" to the size of the child. + + + + + + + + + + + + +@frame: +@xalign: +@yalign: +@ratio: +@obey_child: +@center_allocation: + + + +Create a new #GtkAspectFrame. + + +@label: Label text. +@xalign: Horizontal lignment of the child within the allocation of +the #GtkAspectFrame. This ranges from 0.0 (left aligned) +to 1.0 (right aligned) +@yalign: Vertical lignment of the child within the allocation of +the #GtkAspectFrame. This ranges from 0.0 (left aligned) +to 1.0 (right aligned) +@ratio: The desired aspect ratio. +@obey_child: If %TRUE, @ratio is ignored, and the aspect + ratio is taken from the requistion of the child. +@Returns: the new #GtkAspectFrame. + +@ratio: The desired aspect ratio. + + + + +Set parameters for an existing #GtkAspectFrame. + + +@aspect_frame: a #GtkAspectFrame +@xalign: Horizontal lignment of the child within the allocation of +the #GtkAspectFrame. This ranges from 0.0 (left aligned) +to 1.0 (right aligned) +@yalign: Vertical lignment of the child within the allocation of +the #GtkAspectFrame. This ranges from 0.0 (left aligned) +to 1.0 (right aligned) +@ratio: The desired aspect ratio. +@obey_child: If %TRUE, @ratio is ignored, and the aspect + ratio is taken from the requistion of the child. + + diff --git a/docs/reference/gtk/tmpl/gtkbbox.sgml b/docs/reference/gtk/tmpl/gtkbbox.sgml new file mode 100644 index 0000000000..834df6912f --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkbbox.sgml @@ -0,0 +1,159 @@ + +GtkButtonBox + + + + + + + + + + + + + + + + + + + +@box: +@spacing: +@child_min_width: +@child_min_height: +@child_ipad_x: +@child_ipad_y: +@layout_style: + + + + + + + + + + + + + +@min_width: +@min_height: + + + + + + + +@ipad_x: +@ipad_y: + + + + + + + +@min_width: +@min_height: + + + + + + + +@ipad_x: +@ipad_y: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@min_width: +@min_height: + + + + + + + +@widget: +@ipad_x: +@ipad_y: + + + + + + + +@widget: +@spacing: + + + + + + + +@widget: +@layout_style: + + + + + + + +@widget: +@min_width: +@min_height: + + + + + + + +@widget: +@ipad_x: +@ipad_y: + + + + + + + +@widget: +@nvis_children: +@width: +@height: + + diff --git a/docs/reference/gtk/tmpl/gtkbin.sgml b/docs/reference/gtk/tmpl/gtkbin.sgml new file mode 100644 index 0000000000..1aa48ce5a2 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkbin.sgml @@ -0,0 +1,44 @@ + +GtkBin + + +a container with just one child. + + + +The #GtkBin widget is a container with just one child. +It is not very useful itself, but it is useful for deriving subclasses, +since it provides common code needed for handling a single child widget. + + +Many GTK+ widgets are subclasses of #GtkBin, including #GtkWindow, #GtkButton, +#GtkFrame, #GtkHandleBox, and #GtkScrolledWindow. + + + + + + + + + +The #GtkBin-struct struct contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +#GtkWidget *child; +the child widget. + + + + + + +@container: +@child: + diff --git a/docs/reference/gtk/tmpl/gtkbindings.sgml b/docs/reference/gtk/tmpl/gtkbindings.sgml new file mode 100644 index 0000000000..a5c84f097d --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkbindings.sgml @@ -0,0 +1,243 @@ + +Bindings + + + + + + + + + + + + + + + + + + + +@match_type: +@pattern_length: +@pattern: +@pattern_reversed: +@user_data: +@seq_id: + + + + + + +@pspec: +@pattern: + + + + + + + +@pspec: + + + + + + + +@pspec: +@string_length: +@string: +@string_reversed: +@Returns: + + + + + + + +@pspec: +@string: +@Returns: + + + + + + + +@pattern: +@string: +@Returns: + + + + + + + +@set_name: +@priority: +@widget_path_pspecs: +@widget_class_pspecs: +@class_branch_pspecs: +@entries: +@current: + + + + + + +@keyval: +@modifiers: +@binding_set: +@destroyed: +@in_emission: +@set_next: +@hash_next: +@signals: + + + + + + +@next: +@signal_name: +@n_args: +@args: + + + + + + +@arg_type: + + + + + + +@set_name: +@Returns: + + + + + + + +@object_class: +@Returns: + + + + + + + +@set_name: +@Returns: + + + + + + + +@object: +@keyval: +@modifiers: +@Returns: + + + + + + + +@binding_set: +@keyval: +@modifiers: +@object: +@Returns: + + + + + + + + + + + + + + +@binding_set: +@keyval: +@modifiers: + + + + + + + +@binding_set: +@keyval: +@modifiers: +@signal_name: +@n_args: +@Varargs: + + + + + + + +@binding_set: +@path_type: +@path_pattern: +@priority: + + + + + + + +@binding_set: +@keyval: +@modifiers: + + + + + + + +@binding_set: +@keyval: +@modifiers: +@signal_name: +@binding_args: + + + + + + + +@scanner: +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkbox.sgml b/docs/reference/gtk/tmpl/gtkbox.sgml new file mode 100644 index 0000000000..0ff6c7c8f9 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkbox.sgml @@ -0,0 +1,370 @@ + +GtkBox + + +a base class for box containers + + + +GtkBox is an abstract widget which encapsulates functionallity for a +particular kind of container, one that organizes a variable number of +widgets into a rectangular area. GtkBox currently has two derived +classes, #GtkHBox and #GtkVBox. + + +The rectangular area of a GtkBox is organized into either a single row +or a single column of child widgets depending upon whether the box is +of type #GtkHBox or #GtkVBox, respectively. Thus, all children of a +GtkBox are allocated one dimension in common, which is the height of a +row, or the width of a column. + + +GtkBox uses a notion of packing. Packing refers to +adding widgets with reference to a particular position in a +#GtkContainer. For a GtkBox, there are two reference positions: the +start and the end of the box. For a +#GtkVBox, the start is defined as the top of the box and the end is +defined as the bottom. For a #GtkHBox the start is defined as the +left side and the end is defined as the right side. + + +Use repeated calls to gtk_box_pack_start() to pack widgets into a +GtkBox from start to end. Use gtk_box_pack_end() to add widgets from +end to start. You may intersperse these calls and add widgets from +both ends of the same GtkBox. + + +Use gtk_box_pack_start_defaults() or gtk_box_pack_end_defaults() +to pack widgets into a GtkBox if you do not need to specify the +expand, fill, or +padding attributes of the child to be +added. + + +Because GtkBox is a #GtkContainer, you may also use +gtk_container_add() to insert widgets into the box, and they will be +packed as if with gtk_box_pack_start_defaults(). Use +gtk_container_remove() to remove widgets from the GtkBox. + + +Use gtk_box_set_homogeneous() to specify whether or not all children +of the GtkBox are forced to get the same amount of space. + + +Use gtk_box_set_spacing() to determine how much space will be +minimally placed between all children in the GtkBox. + + +Use gtk_box_reorder_child() to move a GtkBox child to a different +place in the box. + + +Use gtk_box_set_child_packing() to reset the +expand, fill, +and padding attributes of any GtkBox child. +Use gtk_box_query_child_packing() to query these fields. + + + + + + + +#GtkHBox +a derived class that organizes widgets into a row. + + + +#GtkVBox +a derived class that organizes widgets into a column. + + + +#GtkFrame +a #GtkWidget useful for drawing a border around a GtkBox. + + + +#GtkTable +a #GtkContainer for organizing widgets into a grid, +rather than independent rows or columns. + + + +#GtkLayout +a #GtkContainer for organizing widgets into arbitrary +layouts. + + + + + + + + +The #GtkBox-struct describes an instance of GtkBox and contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +#GList * children; +a list of children belonging the GtkBox. The data is a list of +structures of type #GtkBoxChild-struct. + + + +#gint16 spacing; +the number of pixels to put between children of the GtkBox, zero +by default. Use gtk_box_set_spacing() to set this field. + + + +#guint homogeneous; +a flag that if %TRUE forces all children to get equal space in +the GtkBox; %FALSE by default. Use gtk_box_set_homogeneous() to set this +field. + + + + +@container: +@children: +@spacing: +@homogeneous: + + + +The #GtkBoxChild-struct holds a child widget of GtkBox and describes +how the child is to be packed into the GtkBox. Use +gtk_box_query_child_packing() and gtk_box_set_child_packing() to query +and reset the padding, +expand, fill, +and pack fields. + + +#GtkBoxChild-struct contains the following fields. (These fields +should be considered read-only. They should never be directly set by an +application.) + + + + + + +#GtkWidget * widget; +the child widget, packed into the GtkBox. + + + +#guint16 padding; +the number of extra pixels to put between this child and its +neighbors, set when packed, zero by default. + + + +#guint expand; +flag indicates whether extra space should be given to this +child. Any extra space given to the parent GtkBox is divided up among +all children with this attribute set to %TRUE; set when packed, %TRUE by +default. + + + +#guint fill; +flag indicates whether any extra space given to this child due to its +expand attribute being set is actually +allocated to the child, rather than being used as padding +around the widget; set when packed, %TRUE by default. + + + +#guint pack; one of +#GtkPackType indicating whether the child is packed with reference to +the start (top/left) or end (bottom/right) of the GtkBox. + + + + +@widget: +@padding: +@expand: +@fill: +@pack: + + + +Adds @child to @box, packed with reference to the start of @box. The +@child is packed after any other child packed with reference to the +start of @box. + + +@box: a #GtkBox. +@child: the #GtkWidget to be added to @box. +@expand: %TRUE if the new child is to be given extra space allocated to +@box. The extra space will be divided evenly between all children of +@box that use this option. +@fill: %TRUE if space given to @child by the @expand option is +actually allocated to @child, rather than just padding it. This +parameter has no effect if @expand is set to %FALSE. A child is +always allocated the full height of a #GtkHBox and the full width of a +#GtkVBox. This option affects the other dimension. +@padding: extra space in pixels to put between this child and its +neighbors, over and above the global amount specified by +spacing in #GtkBox-struct. If @child is a +widget at one of the reference ends of @box, then @padding pixels are also put +between @child and the reference edge of @box. + + + + +Adds @child to @box, packed with reference to the end of @box. The +@child is packed after (away from end of) any other child packed with reference to the +end of @box. + + +@box: a #GtkBox. +@child: the #GtkWidget to be added to @box. +@expand: %TRUE if the new child is to be given extra space allocated to +@box. The extra space will be divided evenly between all children of +@box that use this option. +@fill: %TRUE if space given to @child by the @expand option is +actually allocated to @child, rather than just padding it. This +parameter has no effect if @expand is set to %FALSE. A child is +always allocated the full height of a #GtkHBox and the full width of a +#GtkVBox. This option affects the other dimension. +@padding: extra space in pixels to put between this child and its +neighbors, over and above the global amount specified by +spacing in #GtkBox-struct. If @child is a +widget at one of the reference ends of @box, then @padding pixels are also put +between @child and the reference edge of @box. + + + + +Adds @widget to @box, packed with reference to the start of @box. The +child is packed after any other child packed with reference to the +start of @box. + + +Parameters for how to pack the child @widget, +expand, fill, +and padding in #GtkBoxChild-struct, are given their default +values, %TRUE, %TRUE, and 0, respectively. + + +@box: a #GtkBox. +@widget: the #GtkWidget to be added to @box. + + + + +Adds @widget to @box, packed with reference to the end of @box. The +child is packed after (away from end of) any other child packed with +reference to the end of @box. + + +Parameters for how to pack the child @widget, +expand, fill, +and padding in #GtkBoxChild-struct, are given their default +values, %TRUE, %TRUE, and 0, respectively. + + +@box: a #GtkBox. +@widget: the #GtkWidget to be added to @box. + + + + +Sets the homogeneous field of +#GtkBox-struct, controlling whether or not all children of @box are +given equal space in the box. + + +@box: a #GtkBox. +@homogeneous: a boolean value, %TRUE to create equal allotments, +%FALSE for variable allotments. + + + + +Sets the spacing field of #GtkBox-struct, +which is the number of pixels to place between children of @box. + + +@box: a #GtkBox. +@spacing: the number of pixels to put between children. + + + + +Moves @child to a new @position in the list of @box children. The +list is the children field of +#GtkBox-struct, and contains both widgets packed #GTK_PACK_START as +well as widgets packed #GTK_PACK_END, in the order that these widgets +were added to @box. + + +A widget's position in the @box children list determines where the +widget is packed into @box. A child widget at some position in the +list will be packed just after all other widgets of the same packing +type that appear earlier in the list. A negative value of @position is +interpreted as position 0. + + +@box: a #GtkBox. +@child: the #GtkWidget to move. +@position: the new position for @child in the +children list of #GtkBox-struct, starting +from 0. + + + + +Returns information about how @child is packed into @box. + + +@box: a #GtkBox. +@child: the #GtkWidget of the child to query. +@expand: the returned value of the expand +field in #GtkBoxChild-struct. +@fill: the returned value of the fill field +in #GtkBoxChild-struct. +@padding: the returned value of the padding +field in #GtkBoxChild-struct. +@pack_type: the returned value of the pack +field in #GtkBoxChild-struct. + + + + +Sets the way @child is packed into @box. + + +@box: a #GtkBox. +@child: the #GtkWidget of the child to set. +@expand: the new value of the expand field +in #GtkBoxChild-struct. +@fill: the new value of the fill field in +#GtkBoxChild-struct. +@padding: the new value of the padding +field in #GtkBoxChild-struct. +@pack_type: the new value of the pack field +in #GtkBoxChild-struct. + + + + +the minimum amount of space to put between children. Refers to the +spacing field of #GtkBox-struct. + + + + +how to allocate space for children, equally or variably. Refers to +the homogeneous field of #GtkBox-struct. + + diff --git a/docs/reference/gtk/tmpl/gtkbutton.sgml b/docs/reference/gtk/tmpl/gtkbutton.sgml new file mode 100644 index 0000000000..32a88b5c4a --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkbutton.sgml @@ -0,0 +1,163 @@ + +GtkButton + + +A widget that creates a signal when clicked on. + + + +The #GtkButton widget is generally used to attach a function to that +is called when the button is pressed. The various signals and how to use +them are outlined below. + + +The #GtkButton widget can hold any valid child widget. That is it can +hold most any other standard #GtkWidget. The most commonly used child is +the #GtkLabel. + + + + + + + + + +This should not be accessed directly. Use the accessor functions below. + + +@bin: +@child: +@in_button: +@button_down: +@relief: + + + +Creates a new #GtkButton widget. + + +@Returns: The newly created #GtkButton widget. + + + + +Creates a #GtkButton widget with a #GtkLabel child containing the given +text. + + +@label: The text you want the #GtkLabel to hold. +@Returns: The newly created #GtkButton widget. + + + + +Emits a #GtkButton::pressed signal to the given #GtkButton. + + +@button: The #GtkButton you want to send the signal to. + + + + +Emits a #GtkButton::released signal to the given #GtkButton. + + +@button: The #GtkButton you want to send the signal to. + + + + +Emits a #GtkButton::clicked signal to the given #GtkButton. + + +@button: The #GtkButton you want to send the signal to. + + + + +Emits a #GtkButton::enter signal to the given #GtkButton. + + +@button: The #GtkButton you want to send the signal to. + + + + +Emits a #GtkButton::leave signal to the given #GtkButton. + + +@button: The #GtkButton you want to send the signal to. + + + + +Sets the relief style of the edges of the given #GtkButton widget. +Three styles exist, GTK_RELIEF_NORMAL, GTK_RELIEF_HALF, GTK_RELIEF_NONE. +The default style is, as one can guess, GTK_RELIEF_NORMAL. + + + + +@button: The #GtkButton you want to set relief styles of. +@newstyle: The GtkReliefStyle as described above. + + + + +Returns the current relief style of the given #GtkButton. + + +@button: The #GtkButton you want the #GtkReliefStyle from. +@Returns: The current #GtkReliefStyle + + + + +Emitted when the button is initially pressed. + + +@button: the object which received the signal. + + + +Emitted when a button which is pressed is released, no matter where the +mouse cursor is. + + +@button: the object which received the signal. + + + +Emitted when a button clicked on by the mouse and the cursor stays on the +button. If the cursor is not on the button when the mouse button is released, +the signal is not emitted. + + +@button: the object which received the signal. + + + +Emitted when the mouse cursor enters the region of the button. + + +@button: the object which received the signal. + + + +Emitted when the mouse cursor leaves the region of the button. + + +@button: the object which received the signal. + + + +The text within the child #GtkLabel of the #GtkButton. Only useful if +there is actually a #GtkLabel inside of the #GtkButton. + + + + +The #GtkReliefStyle as outlined in gtk_button_set_relief(). + + diff --git a/docs/reference/gtk/tmpl/gtkcalendar.sgml b/docs/reference/gtk/tmpl/gtkcalendar.sgml new file mode 100644 index 0000000000..4ca84c2837 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkcalendar.sgml @@ -0,0 +1,260 @@ + +GtkCalendar + + +display a calendar and/or allow the user to select a date. + + + +#GtkCalendar is a widget that displays a calendar, one month at a time. +It can be created with gtk_calendar_new(). + + +The month and year currently displayed can be altered with +gtk_calendar_select_month(). The exact day can be selected from the displayed +month using gtk_calendar_select_day(). + + +FIXME: (check)To place a visual marker on a particular day, use +gtk_calendar_mark_day() and to remove the marker, gtk_calendar_unmark_day(). +Alternative, all marks can be cleared with gtk_calendar_clear_marks(). + + +The way in which the calendar itself is displayed can be altered using +gtk_calendar_display_options(). + + +The selected date can be retrieved from a #GtkCalendar using +gtk_calendar_get_date(). + + +If performing many 'mark' operations, the calendar can be frozen to prevent +flicker, using gtk_calendar_freeze(), and 'thawed' again using +gtk_calendar_thaw(). + + + + + + + + + +num_marked_dates is an integer containing the +number of days that have a mark over them. + + +marked_date is an array containing the day numbers +that currently have a mark over them. + + +month, year, and +selected_day contain the currently visible month, +year, and selected day respectively. + + +All of these fields should be considered read only, and everything in this +struct should only be modified using the functions provided below. + + +@widget: +@header_style: +@label_style: +@month: +@year: +@selected_day: +@day_month: +@day: +@num_marked_dates: +@marked_date: +@display_flags: +@marked_date_color: +@gc: +@xor_gc: +@focus_row: +@focus_col: +@highlight_row: +@highlight_col: +@private_data: +@grow_space: + + + + + + + + +GTK_CALENDAR_SHOW_HEADING +Specifies that the month and year should be displayed. + + +GTK_CALENDAR_SHOW_DAY_NAMES +Specifies that three letter day descriptions should be present. + + +GTK_CALENDAR_NO_MONTH_CHANGE +Prevents the user from switching months with the calendar. + + +GTK_CALENDAR_SHOW_WEEK_NUMBERS +Displays each week numbers of the current year, down the left side of +the calendar. + + +GTK_CALENDAR_WEEK_START_MONDAY +Starts the calendar week on Monday, instead of the default Sunday. + + + + + +@GTK_CALENDAR_SHOW_HEADING: +@GTK_CALENDAR_SHOW_DAY_NAMES: +@GTK_CALENDAR_NO_MONTH_CHANGE: +@GTK_CALENDAR_SHOW_WEEK_NUMBERS: +@GTK_CALENDAR_WEEK_START_MONDAY: + + + +Creates a new calendar. FIXME:default date. + + +@Returns: a #GtkCalendar. + + + + +Shifts the calendar to a different month. + + +@calendar: a #GtkCalendar. +@month: a month number. +@year: the year the month is in. +@Returns: FIXME. + + + + +Selects a day from the current month. + + +@calendar: a #GtkCalendar. +@day: the day number to select. + + + + + + + +@calendar: +@day: +@Returns: + + + + + + + +@calendar: +@day: +@Returns: + + + + + + + +@calendar: + + + + + + + +@calendar: +@flags: + + + + + + + +@calendar: +@year: +@month: +@day: + + + + +Locks the display of the calendar until it is thawed with gtk_calendar_thaw(). + + +@calendar: a #GtkCalendar. + + + + +Defrosts a calendar; all the changes made since the last +gtk_calendar_freeze() are displayed. + + +@calendar: a #GtkCalendar. + + + + +Emitted when the user clicks a button to change the selected month on a +calendar. + + +@calendar: the object which received the signal. + + + +Emitted when the user selects a day. + + +@calendar: the object which received the signal. + + + + + + +@calendar: the object which received the signal. + + + + + + +@calendar: the object which received the signal. + + + + + + +@calendar: the object which received the signal. + + + + + + +@calendar: the object which received the signal. + + + + + + +@calendar: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkcheckbutton.sgml b/docs/reference/gtk/tmpl/gtkcheckbutton.sgml new file mode 100644 index 0000000000..bdbbbf7ab3 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkcheckbutton.sgml @@ -0,0 +1,60 @@ + +GtkCheckButton + + +create widgets with a discrete toggle button. + + + +A #GtkCheckButton places a discrete #GtkToggleButton next to a widget, (usually a #GtkLabel). See the section on #GtkToggleButton widgets for more information about toggle/check buttons. + + +The important signal ('toggled') is also inherited from #GtkToggleButton. + + + + + + +#GtkCheckMenuItem +add check buttons to your menus. + + +#GtkButton +a more general button. + + +#GtkToggleButton +#GtkCheckButton's parent. + + +#GtkRadioButton +group check buttons together. + + + + + + +toggle_button is a #GtkToggleButton representing the actual toggle button that composes the check button. + + +@toggle_button: + + + +Creates a new #GtkCheckButton. + + +@Returns: a #GtkWidget. + + + + +Creates a new #GtkCheckButton with a #GtkLabel to the right of it. + + +@label: the text for the check button. +@Returns: a #GtkWidget. + + diff --git a/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml b/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml new file mode 100644 index 0000000000..451e0cf7ac --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml @@ -0,0 +1,111 @@ + +GtkCheckMenuItem + + +a menu item with a check box. + + + +A #GtkCheckMenuItem is a menu item that maintains the state of a boolean +value in addition to a #GtkMenuItem's usual role in activating application +code. + + + +A check box indicating the state of the boolean value is displayed +at the left side of the #GtkMenuItem. Activating the #GtkMenuItem +toggles the value. + + + + + + + + + +The #GtkCheckMenuItem-struct struct contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +#guint active; +TRUE if the check box is active. + + + + + +@menu_item: +@active: +@always_show_toggle: + + + +Creates a new #GtkCheckMenuItem. + + +@Returns: a new #GtkCheckMenuItem. + + + + +Creates a new #GtkCheckMenuItem with a label. + + +@label: the string to use for the label. +@Returns: a new #GtkCheckMenuItem. + + + + +This macro is provided to preserve compatibility with older code. +New code should use gtk_check_menu_item_set_active() function instead. + + + + + + +Sets the active state of the menu item's check box. + + +@check_menu_item: a #GtkCheckMenuItem. +@is_active: boolean value indicating whether the check box is active. + + + + +Controls whether the check box is shown at all times. +Normally the check box is shown only when it is active or while the +menu item is selected. + + +@menu_item: a #GtkCheckMenuItem. +@always: boolean value indicating whether to always show the check box. + + + + +Emits the GtkCheckMenuItem::toggled signal. + + +@check_menu_item: a #GtkCheckMenuItem. + + + + +This signal is emitted when the state of the check box is changed. + + + +A signal handler can examine the active +field of the #GtkCheckMenuItem-struct struct to discover the new state. + + +@checkmenuitem: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkclist.sgml b/docs/reference/gtk/tmpl/gtkclist.sgml new file mode 100644 index 0000000000..6c6d8a4a2e --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkclist.sgml @@ -0,0 +1,1268 @@ + +GtkCList + + + + + + + + + + + + + + + + + + + +@container: +@flags: +@row_mem_chunk: +@cell_mem_chunk: +@freeze_count: +@internal_allocation: +@rows: +@row_center_offset: +@row_height: +@row_list: +@row_list_end: +@columns: +@column_title_area: +@title_window: +@column: +@clist_window: +@clist_window_width: +@clist_window_height: +@hoffset: +@voffset: +@shadow_type: +@selection_mode: +@selection: +@selection_end: +@undo_selection: +@undo_unselection: +@undo_anchor: +@button_actions: +@drag_button: +@click_cell: +@hadjustment: +@vadjustment: +@xor_gc: +@fg_gc: +@bg_gc: +@cursor_drag: +@x_drag: +@focus_row: +@anchor: +@anchor_state: +@drag_pos: +@htimer: +@vtimer: +@sort_type: +@compare: +@sort_column: + + + + + + +@GTK_CELL_EMPTY: +@GTK_CELL_TEXT: +@GTK_CELL_PIXMAP: +@GTK_CELL_PIXTEXT: +@GTK_CELL_WIDGET: + + + + + + +@GTK_BUTTON_IGNORED: +@GTK_BUTTON_SELECTS: +@GTK_BUTTON_DRAGS: +@GTK_BUTTON_EXPANDS: + + + + + + +@clist: + + + + + + + +@clist: +@flag: + + + + + + + +@clist: +@flag: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@_glist_: + + + + + + + +@cell: + + + + + + + +@cell: + + + + + + + +@cell: + + + + + + + +@cell: + + + + + + + +@clist: +@ptr1: +@ptr2: +@Returns: + + + + + + + +@title: +@area: +@button: +@window: +@width: +@min_width: +@max_width: +@justification: +@visible: +@width_set: +@resizeable: +@auto_resize: +@button_passive: + + + + + + +@cell: +@state: +@foreground: +@background: +@style: +@data: +@destroy: +@fg_set: +@bg_set: +@selectable: + + + + + + +@type: +@vertical: +@horizontal: +@style: +@text: + + + + + + +@type: +@vertical: +@horizontal: +@style: +@pixmap: +@mask: + + + + + + +@type: +@vertical: +@horizontal: +@style: +@text: +@spacing: +@pixmap: +@mask: + + + + + + +@type: +@vertical: +@horizontal: +@style: +@widget: + + + + + + +@type: +@vertical: +@horizontal: +@style: +@widget: + + + + + + +@row: +@column: + + + + + + +@cell: +@insert_pos: + + + + + + +@GTK_CLIST_DRAG_NONE: +@GTK_CLIST_DRAG_BEFORE: +@GTK_CLIST_DRAG_INTO: +@GTK_CLIST_DRAG_AFTER: + + + + + + +@clist: +@columns: +@titles: + + + + + + + +@columns: +@Returns: + + + + + + + +@columns: +@titles: +@Returns: + + + + + + + +@clist: +@type: + + + + + + + +@clist: +@mode: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: +@column: + + + + + + + +@clist: +@column: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: +@column: +@title: + + + + + + + +@clist: +@column: +@widget: + + + + + + + +@clist: +@column: +@justification: + + + + + + + +@clist: +@column: +@visible: + + + + + + + +@clist: +@column: +@resizeable: + + + + + + + +@clist: +@column: +@auto_resize: + + + + + + + +@clist: +@column: +@Returns: + + + + + + + +@clist: +@column: +@width: + + + + + + + +@clist: +@column: +@min_width: + + + + + + + +@clist: +@column: +@max_width: + + + + + + + +@clist: +@height: + + + + + + + +@clist: +@row: +@column: +@row_align: +@col_align: + + + + + + + +@clist: +@row: +@Returns: + + + + + + + +@clist: +@row: +@column: +@Returns: + + + + + + + +@clist: +@row: +@column: +@text: + + + + + + + +@clist: +@row: +@column: +@text: +@Returns: + + + + + + + +@clist: +@row: +@column: +@pixmap: +@mask: + + + + + + + +@clist: +@row: +@column: +@pixmap: +@mask: +@Returns: + + + + + + + +@clist: +@row: +@column: +@text: +@spacing: +@pixmap: +@mask: + + + + + + + +@clist: +@row: +@column: +@text: +@spacing: +@pixmap: +@mask: +@Returns: + + + + + + + +@clist: +@row: +@color: + + + + + + + +@clist: +@row: +@color: + + + + + + + +@clist: +@row: +@column: +@style: + + + + + + + +@clist: +@row: +@column: +@Returns: + + + + + + + +@clist: +@row: +@style: + + + + + + + +@clist: +@row: +@Returns: + + + + + + + +@clist: +@row: +@column: +@vertical: +@horizontal: + + + + + + + +@clist: +@row: +@selectable: + + + + + + + +@clist: +@row: +@Returns: + + + + + + + +@clist: +@text: +@Returns: + + + + + + + +@clist: +@text: +@Returns: + + + + + + + +@clist: +@row: +@text: +@Returns: + + + + + + + +@clist: +@row: + + + + + + + +@clist: +@row: +@data: + + + + + + + +@clist: +@row: +@data: +@destroy: + + + + + + + +@clist: +@row: +@Returns: + + + + + + + +@clist: +@data: +@Returns: + + + + + + + +@clist: +@row: +@column: + + + + + + + +@clist: +@row: +@column: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: +@x: +@y: +@row: +@column: +@Returns: + + + + + + + +@clist: + + + + + + + +@clist: + + + + + + + +@clist: +@row1: +@row2: + + + + + + + +@clist: +@cmp_func: + + + + + + + +@clist: +@column: + + + + + + + +@clist: +@sort_type: + + + + + + + +@clist: + + + + + + + +@clist: +@auto_sort: + + + + + + + +@clist: +@Returns: + + + + + + + +@clist: +@column: +@Returns: + + + + + + + +@clist: +@column: +@Returns: + + + + + + + +@clist: +@Returns: + + + + + + + +@clist: +@Returns: + + + + + + + +@clist: +@source_row: +@dest_row: + + + + + + + +@clist: +@button: +@button_actions: + + + + + + + +@clist: +@adjustment: + + + + + + + +@clist: +@reorderable: + + + + + + + +@clist: +@use_icons: + + + + + + + +@clist: +@adjustment: + + + + + + + +@clist: the object which received the signal. +@row: +@column: +@event: + + + + + + +@clist: the object which received the signal. +@row: +@column: +@event: + + + + + + +@clist: the object which received the signal. +@arg1: +@arg2: + + + + + + +@clist: the object which received the signal. +@column: + + + + + + +@clist: the object which received the signal. +@column: +@width: + + + + + + +@clist: the object which received the signal. + + + + + + +@clist: the object which received the signal. + + + + + + +@clist: the object which received the signal. + + + + + + +@clist: the object which received the signal. + + + + + + +@clist: the object which received the signal. + + + + + + +@clist: the object which received the signal. + + + + + + +@clist: the object which received the signal. + + + + + + +@clist: the object which received the signal. +@scroll_type: +@position: +@auto_start_selection: + + + + + + +@clist: the object which received the signal. +@scroll_type: +@position: + + + + + + +@clist: the object which received the signal. +@scroll_type: +@position: + + + + + + +@clist: the object which received the signal. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkcolorsel.sgml b/docs/reference/gtk/tmpl/gtkcolorsel.sgml new file mode 100644 index 0000000000..819a072de3 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkcolorsel.sgml @@ -0,0 +1,93 @@ + +GtkColorSelection + + + + + + + + + + + + + + + + + + + +@vbox: +@wheel_area: +@value_area: +@sample_area: +@sample_area_eb: +@scales: +@entries: +@opacity_label: +@wheel_gc: +@value_gc: +@sample_gc: +@policy: +@use_opacity: +@timer_active: +@timer_tag: +@values: +@old_values: +@wheel_buf: +@value_buf: +@sample_buf: + + + + + + +@Returns: + + + + + + + +@colorsel: +@policy: + + + + + + + +@colorsel: +@use_opacity: + + + + + + + +@colorsel: +@color: + + + + + + + +@colorsel: +@color: + + + + + + + +@colorselection: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkcolorseldlg.sgml b/docs/reference/gtk/tmpl/gtkcolorseldlg.sgml new file mode 100644 index 0000000000..2dc847a654 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkcolorseldlg.sgml @@ -0,0 +1,38 @@ + +GtkColorSelectionDialog + + + + + + + + + + + + + + + + + + + +@window: +@colorsel: +@main_vbox: +@ok_button: +@reset_button: +@cancel_button: +@help_button: + + + + + + +@title: +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkcombo.sgml b/docs/reference/gtk/tmpl/gtkcombo.sgml new file mode 100644 index 0000000000..ce8e542db2 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkcombo.sgml @@ -0,0 +1,109 @@ + +GtkCombo + + + + + + + + + + + + + + + + + + + +@hbox: +@entry: +@button: +@popup: +@popwin: +@list: +@entry_change_id: +@list_change_id: +@value_in_list: +@ok_if_empty: +@case_sensitive: +@use_arrows: +@use_arrows_always: +@current_button: +@activate_id: + + + + + + +@Returns: + + + + + + + +@combo: +@val: +@ok_if_empty: + + + + + + + +@combo: +@val: + + + + + + + +@combo: +@val: + + + + + + + +@combo: +@val: + + + + + + + +@combo: +@item: +@item_value: + + + + + + + +@combo: +@strings: + + + + + + + +@combo: + + diff --git a/docs/reference/gtk/tmpl/gtkcontainer.sgml b/docs/reference/gtk/tmpl/gtkcontainer.sgml new file mode 100644 index 0000000000..3786dce30c --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkcontainer.sgml @@ -0,0 +1,410 @@ + +GtkContainer + + + + + + + + + + + + + + + + + + + +@widget: +@focus_child: +@border_width: +@need_resize: +@resize_mode: +@resize_widgets: + + + + + + +@widget: + + + + + + + + + + + + + + +@container: +@widget: + + + + + + + +@container: +@widget: + + + + + + + +@container: +@resize_mode: + + + + + + + +@container: + + + + + + + +@container: +@callback: +@callback_data: + + + + + + + +@container: +@callback: +@marshal: +@callback_data: +@notify: + + + + + + + +@container: +@Returns: + + + + + + + +@container: +@direction: +@Returns: + + + + + + + +@container: +@child: + + + + + + + +@container: +@adjustment: + + + + + + + +@container: +@adjustment: + + + + + + + +@container: + + + + + + + +@container: + + + + + + + +@container: + + + + + + + +@container: +@Returns: + + + + + + + +@arg_name: +@arg_type: +@arg_flags: +@arg_id: + + + + + + + +@class_type: +@arg_flags: +@nargs: +@Returns: + + + + + + + +@container: +@child: +@n_args: +@args: + + + + + + + +@container: +@child: +@n_args: +@args: + + + + + + + +@container: +@widget: +@first_arg_name: +@Varargs: + + + + + + + +@container: +@widget: +@n_args: +@args: + + + + + + + +@container: +@child: +@first_arg_name: +@Varargs: + + + + + + + +@container: + + + + + + + +@container: + + + + + + + +@container: +@child: +@arg: +@info: + + + + + + + +@container: +@child: +@arg: +@info: + + + + + + + +@object_type: +@arg_list_p: +@info_list_p: +@first_arg_name: +@args: +@Returns: + + + + + + + +@object_type: +@arg_name: +@info_p: +@Returns: + + + + + + + +@container: +@callback: +@callback_data: + + + + + + + +@container: +@child: +@Returns: + + + + + + + +@Returns: + + + + + + + +@container: +@border_width: + + + + + + + +@container: the object which received the signal. +@widget: + + + + + + +@container: the object which received the signal. +@widget: + + + + + + +@container: the object which received the signal. + + + + + + +@container: the object which received the signal. +@direction: +@Returns: + + + + + + +@container: the object which received the signal. +@widget: + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkctree.sgml b/docs/reference/gtk/tmpl/gtkctree.sgml new file mode 100644 index 0000000000..08a610a295 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkctree.sgml @@ -0,0 +1,1266 @@ + +GtkCTree + + +a widget displaying a hierarchical tree. + + + +The #GtkCTree widget is used for showing a hierarchical tree +to the user, for example a directory tree. + + +The tree is internally represented as a set of #GtkCTreeNode structures. + + +The interface has much in common with the #GtkCList widget: rows (nodes) +can be selected by the user etc. + + +Positions in the tree are often indicated by two arguments, a +parent and a sibling, both #GtkCTreeNode pointers. If the parent +is %NULL, the position is at the root of the tree and if the sibling +is %NULL, it will be the last child of parent, otherwise it will be +inserted just before the sibling. + + + + + + + + + +The #GtkCTree-struct contains the following user-accessible fields. +These fields should be considered read-only; to set the values, +use the methods below. + + + + + + +#gint tree_indent; +The number of pixels each successive level of the tree is +indented in the display. + + + +#gint tree_spacing; +The space in pixels between the graphical tree and the text in the +node. + + + +#gint tree_column; +The index of the column for which the tree graphics is drawn. + + + +#GtkCTreeLineStyle line_style; +The style in which the lines in the tree graphics are drawn. + + + +#GtkCTreeExpanderStyle expander_style; +The style in which the expander buttons are drawn. + + + +#GtkCTreeExpanderStyle expander_style; +FIXME. + + + + + +@clist: +@lines_gc: +@tree_indent: +@tree_spacing: +@tree_column: +@line_style: +@expander_style: +@show_stub: +@drag_compare: + + + +Used to get the #GtkCTreeRow structure corresponding to the given #GtkCTreeNode. + + +@_node_: + + + + + + + +@_node_: + + + + +FIXME + + +@_nnode_: + + + + +FIXME + + +@_pnode_: + + + + + + + +@_func_: + + + + +A value specifying the position of a new node relative to an old one. + + + + + + +GTK_CTREE_POS_BEFORE +As a sibling, before the specified node. + + + +GTK_CTREE_POS_AS_CHILD +As a child of the specified node. + + + +GTK_CTREE_POS_AFTER +As a sibling, after the specified node. + + + + + + +@GTK_CTREE_POS_BEFORE: +@GTK_CTREE_POS_AS_CHILD: +@GTK_CTREE_POS_AFTER: + + + +The appearance of the lines in the tree graphics. + + + + + + +GTK_CTREE_LINES_NONE +No lines. + + + +GTK_CTREE_LINES_SOLID +Solid lines. + + + +GTK_CTREE_LINES_DOTTED +Dotted lines. + + + +GTK_CTREE_LINES_TABBED +FIXME. + + + + + + + +@GTK_CTREE_LINES_NONE: +@GTK_CTREE_LINES_SOLID: +@GTK_CTREE_LINES_DOTTED: +@GTK_CTREE_LINES_TABBED: + + + +The appearance of the expander buttons, i.e. the small buttons +which expand or contract parts of the tree when pressed. + + + + + + + +GTK_CTREE_EXPANDER_NONE +No expanders. + + + +GTK_CTREE_EXPANDER_SQUARE +Square expanders. + + + +GTK_CTREE_EXPANDER_TRIANGLE +Triangular expanders. + + + +GTK_CTREE_EXPANDER_CIRCULAR +Round expanders. + + + + + + + +@GTK_CTREE_EXPANDER_NONE: +@GTK_CTREE_EXPANDER_SQUARE: +@GTK_CTREE_EXPANDER_TRIANGLE: +@GTK_CTREE_EXPANDER_CIRCULAR: + + + +How to expand or collapse a part of a tree. + + + + + + +GTK_CTREE_EXPANSION_EXPAND +Expand this node. + + + +GTK_CTREE_EXPANSION_EXPAND_RECURSIVE +Expand this node and everything below it in the hierarchy. + + + +GTK_CTREE_EXPANSION_COLLAPSE +Collapse this node. + + + +GTK_CTREE_EXPANSION_COLLAPSE_RECURSIVE +Collapse this node and everything below it in the hierarchy. + + + +GTK_CTREE_EXPANSION_TOGGLE +Toggle this node (i.e. expand if collapsed and vice versa). + + + +GTK_CTREE_EXPANSION_TOGGLE_RECURSIVE +Toggle this node and everything below it in the hierarchy. + + + + + + + + +@GTK_CTREE_EXPANSION_EXPAND: +@GTK_CTREE_EXPANSION_EXPAND_RECURSIVE: +@GTK_CTREE_EXPANSION_COLLAPSE: +@GTK_CTREE_EXPANSION_COLLAPSE_RECURSIVE: +@GTK_CTREE_EXPANSION_TOGGLE: +@GTK_CTREE_EXPANSION_TOGGLE_RECURSIVE: + + + +A generic callback type to do something with a particular node. + + +@ctree: The #GtkCTree object. +@node: The #GtkCTreeNode in the tree. +@data: The user data associated with the node. + + + + +FIXME + + +@ctree: +@depth: +@gnode: +@cnode: +@data: +@Returns: + + + + +FIXME + + +@ctree: +@source_node: +@new_parent: +@new_sibling: +@Returns: + + + + +A structure representing a single row in the tree graph. +The values inside the structure should be considered read-only. +This structure is derived from the #GtkCListRow structure. + + + + + + +#GtkCTreeNode *parent; +The parent node of the node corresponding to this row. + + + + +#GtkCTreeNode *sibling; +The next sibling node of the node corresponding to this row. + + + + +#GtkCTreeNode *children; +The first child node corresponding to this row; to access +the other children, just use the siblings of that node. + + + + +#GdkPixmap *pixmap_closed; + The pixmap to be shown when the node is collapsed. + + + + +#GdkBitmap *mask_closed; + The mask for the above pixmap. + + + + +#GdkPixmap *pixmap_opened; + The pixmap to be shown when the node is expanded. + + + + +#GdkBitmap *mask_opened; + The mask for the above pixmap. + + + + +#guint16 level; +The level of this node in the tree. + + + + + +#guint is_leaf : 1; +Whether this row is a leaf. + + + + +#guint expanded : 1; +Whether the children of this row are visible. + + + + + + +@row: +@parent: +@sibling: +@children: +@pixmap_closed: +@mask_closed: +@pixmap_opened: +@mask_opened: +@level: +@is_leaf: +@expanded: + + + +This structure is opaque - you should use the +macros #GTK_CTREE_ROW, #GTK_CTREE_NODE_NEXT etc. as well +as the functions below to access it. + + +@list: + + + +This function is not usually used by users. + + +@ctree: +@columns: +@tree_column: +@titles: + + + + +Create a new #GtkCTree widget with the given titles for the columns. + + +@columns: Number of columns. +@tree_column: Which column has the tree graphic; 0 = leftmost. +@titles: The titles for the columns. +@Returns: The #GtkCTree widget. + + + + +Create a new #GtkCTree widget. + + +@columns: Number of columns. +@tree_column: Which columns has the tree graphic. +@Returns: The new #GtkCTree widget. + + + + +Insert a new node to the tree. The position is specified through +the parent-sibling notation, as explained in the introduction above. + + +@ctree: The #GtkCTree widget. +@parent: The parent node to be. +@sibling: The sibling node to be. +@text: The texts to be shown in each column. +@spacing: The extra space between the pixmap and the text. +@pixmap_closed: The pixmap to be used when the node is collapsed. Can be %NULL. +@mask_closed: The mask for the above pixmap. Can be %NULL. +@pixmap_opened: The pixmap to be used when the children are visible. Can be %NULL. +@mask_opened: The mask for the above pixmap. Can be %NULL. +@is_leaf: Whether this node is going to be a leaf. +@expanded: Whether this node should start out expanded or not. +@Returns: + + + + +Remove the node and all nodes underneath it from the tree. + + +@ctree: The widget. +@node: The node to be removed. + + + + +FIXME + + +@ctree: +@parent: +@sibling: +@gnode: +@func: +@data: +@Returns: + + + + +FIXME + + +@ctree: +@parent: +@sibling: +@node: +@func: +@data: +@Returns: + + + + +Recursively apply a function to all nodes of the tree at or below a certain +node. +The function is called for each node after it has been called +for that node's children. + + +@ctree: +@node: The node where to start. %NULL means to start at the root. +@func: The function to apply to each node. +@data: A closure argument given to each invocation of the function. + + + + +Recursively apply a function to nodes up to a certain depth. +The function is called for each node after it has been called +for that node's children. + + +@ctree: +@node: The node where to start. +@depth: The maximum absolute depth for applying the function. If depth is negative, this function just calls #gtk_ctree_post_recursive. +@func: The function to apply to each node. +@data: A closure argument given to each invocation of the function. + + + + +Recursively apply a function to all nodes of the tree at or below a certain +node. +The function is called for each node after it has been called +for its parent. + + +@ctree: +@node: The node where to start. %NULL means to start at the root. +@func: The function to apply to each node. +@data: A closure argument given to each invocation of the function. + + + + +Recursively apply a function to nodes up to a certain depth. +The function is called for each node after it has been called +for that node's children. + + +@ctree: +@node: The node where to start. +@depth: The maximum absolute depth for applying the function. If depth is negative, this function just calls #gtk_ctree_post_recursive. +@func: The function to apply to each node. +@data: A closure argument given to each invocation of the function. + + + + +This function checks whether the given node is viewable i.e. so that +all of its parent nodes are expanded. This is different from being +actually visible: the node can be viewable but outside the scrolling +area of the window. + + +@ctree: +@node: +@Returns: Whether the node is viewable. + + + + +Returns the last child of the last child of the last child... +of the given node. + + +@ctree: +@node: +@Returns: + + + + +Finds the node pointer given a #GtkCTreeRow structure. + + +@ctree: +@ctree_row: +@Returns: The node pointer. + + + + + + + +@ctree: +@node: The node to start searching from. May be %NULL. +@child: +@Returns: True if @child is on some level a child (grandchild...) of the @node. + + + + + + + +@ctree: +@node: +@child: +@Returns: True is @node is an ancestor of @child. + + + + +Finds a node in the tree under @node that has the given user data pointer. + + +@ctree: +@node: +@data: +@Returns: The node, or %NULL if not found. + + + + +Finds all nodes in the tree under @node that have the given user data pointer. + + +@ctree: +@node: +@data: +@Returns: A list of nodes that have the given data pointer. + + + + +Find the first node under @node whose row data pointer fulfills +a custom criterion. + + +@ctree: +@node: The node where to start searching. +@data: User data for the criterion function. +@func: The criterion function. +@Returns: The first node found. + + + + +Find all nodes under @node whose row data pointer fulfills +a custom criterion. + + + +@ctree: +@node: The node where to start searching. +@data: User data for the criterion function. +@func: The criterion function. +@Returns: A list of all nodes found. + + + + + + +@ctree: +@x: +@y: +@Returns: True if the given coordinates lie on an expander button. + + + + +Move a node in the tree to another location. + + +@ctree: +@node: The node to be moved. +@new_parent: The new parent-to-be of the node. +@new_sibling: The new sibling-to-be of the node. + + + + +Expand one node. + + +@ctree: +@node: + + + + +Expand one node and all nodes underneath. + + +@ctree: +@node: + + + + +Expand a node and its children up to the depth given. + + +@ctree: +@node: +@depth: The (absolute) depth up to which to expand nodes. + + + + +Collapse one node. + + +@ctree: +@node: + + + + +Collapse one node and all its subnodes. + + +@ctree: +@node: + + + + +Collapse a node and its children up to the depth given. + + +@ctree: +@node: +@depth: The (absolute) depth up to which to collapse nodes. + + + + +Toggle a node, i.e. if it is collapsed, expand it and vice versa. + + +@ctree: +@node: + + + + +Toggle the expansion of a node and all its children. + + +@ctree: +@node: + + + + +Cause the given node to be selected and emit the appropriate signal. + + +@ctree: +@node: + + + + +Cause the given node and its subnodes to be selected and emit the appropriate signal(s). + + +@ctree: +@node: + + + + +Unselect the given node and emit the appropriate signal. + + +@ctree: +@node: + + + + +Unselect the given node and its subnodes and emit the appropriate signal(s). + + +@ctree: +@node: + + + + +The function that implements both #gtk_ctree_select_recursive and +#gtk_ctree_unselect_recursive. + + +@ctree: +@node: +@state: True for selecting, false for unselecting. + + + + +Set the text in a node. + + +@ctree: +@node: +@column: The column whose text to change. +@text: The new text. + + + + +FIXME + + +@ctree: +@node: +@column: +@pixmap: +@mask: + + + + +FIXME + + +@ctree: +@node: +@column: +@text: +@spacing: +@pixmap: +@mask: + + + + +Change the information. Most parameters correspond +to the parameters of #gtk_ctree_insert_node. + + +@ctree: +@node: +@text: The text to be in the tree column. +@spacing: +@pixmap_closed: +@mask_closed: +@pixmap_opened: +@mask_opened: +@is_leaf: +@expanded: + + + + +Shift the given cell the given amounts in pixels. + + +@ctree: +@node: +@column: +@vertical: +@horizontal: + + + + + + + +@ctree: +@node: +@selectable: Whether this node can be selected by the user. + + + + + + + +@ctree: +@node: +@Returns: Whether this node can be selected by the user. + + + + + + + +@ctree: +@node: +@column: +@Returns: The type of the given cell. + + + + + + + +@ctree: +@node: +@column: +@text: If nonnull, the pointer to the text string is assigned to *@text. +@Returns: True if the given cell has text in it. + + + + + + + +@ctree: +@node: +@column: +@pixmap: If nonnull, the pointer to the pixmap is returned through this. +@mask: If nonnull, the pointer to the mask is returned through this. +@Returns: True if the given cell contains a pixmap. + + + + +Get the parameters of a cell containing both a pixmap and text. + + +@ctree: +@node: +@column: +@text: +@spacing: +@pixmap: +@mask: +@Returns: + + + + +Get information corresponding to a node. +Any of the return parameters can be null. + + +@ctree: +@node: +@text: +@spacing: +@pixmap_closed: +@mask_closed: +@pixmap_opened: +@mask_opened: +@is_leaf: +@expanded: +@Returns: + + + + +Set the style of a row. + + +@ctree: +@node: +@style: + + + + +Get the style of a row. + + +@ctree: +@node: +@Returns: + + + + +Set the style of an individual cell. + + +@ctree: +@node: +@column: +@style: + + + + +Get the style of an individual cell. + + +@ctree: +@node: +@column: +@Returns: + + + + + + + +@ctree: +@node: +@color: + + + + + + + +@ctree: +@node: +@color: + + + + +Set the custom data associated with a node. + + +@ctree: +@node: +@data: + + + + +This is the full interface to setting row data, so that a destructor +can be given for the data. + + +@ctree: +@node: +@data: +@destroy: The routine to be called when @data is no longer needed. + + + + + + + +@ctree: +@node: +@Returns: + + + + +This function makes the given column of the given node visible by +scrolling. + + +@ctree: +@node: The node to be made visible. +@column: The column to be made visible. +@row_align: Where in the window the row should appear. +@col_align: Where in the window the column should appear. + + + + + + + +@ctree: +@node: +@Returns: True if the node is currently inside the bounds of the window. +Note that this function can return true even if the node is not +viewable, if the node's ancestor is visible. + + + + + + + +@ctree: +@indent: The number of pixels to shift the levels of the tree. + + + + +The spacing between the tree graphic and the actual node content. + + +@ctree: +@spacing: + + + + + + + +@t: +@r: + + + + + + + +@ctree: +@line_style: + + + + + + + +@ctree: +@expander_style: + + + + +FIXME + + +@ctree: +@cmp_func: + + + + +Sort the children of a node. See #GtkCList for how to set the sorting +criteria etc. + + +@ctree: +@node: + + + + +Sort the descendants of a node. See #GtkCList for how to set the sorting +criteria etc. + + +@ctree: +@node: + + + + + + + +@ctree: +@row: +@Returns: The node corresponding to the @row th row. + + + + + + + +@ctree: +@show_stub: + + + + +Emitted when a row is selected. + + +@ctree: the object which received the signal. +@node: The node corresponding to the selected row. +@column: The column which was selected. + + + +Emitted when a node is unselected. + + +@ctree: the object which received the signal. +@node: The node corresponding to the selected row. +@column: + + + +Emitted when a node is expanded. + + +@ctree: the object which received the signal. +@node: + + + +Emitted when a node is collapsed. + + +@ctree: the object which received the signal. +@node: + + + +Emitted when a node is moved. + + +@ctree: the object which received the signal. +@node: The node that is moved. +@new_parent: The new parent of the node. +@new_sibling: The new sibling of the node. + + + +The row which has the focus is either collapsed or expanded +or toggled. + + +@ctree: the object which received the signal. +@expansion: What is being done. + + + +The number of columns in the tree. + + + + +The column in which the actual tree graphic appears. + + + + +The number of pixels to indent the tree levels. + + + + +The number of pixels between the tree and the columns. + + + + +FIXME + + + + +The style of the lines in the tree graphic. + + + + +The style of the expander buttons. + + diff --git a/docs/reference/gtk/tmpl/gtkcurve.sgml b/docs/reference/gtk/tmpl/gtkcurve.sgml new file mode 100644 index 0000000000..b8119415b4 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkcurve.sgml @@ -0,0 +1,109 @@ + +GtkCurve + + + + + + + + + + + + + + + + + + + +@graph: +@cursor_type: +@min_x: +@max_x: +@min_y: +@max_y: +@pixmap: +@curve_type: +@height: +@grab_point: +@last: +@num_points: +@point: +@num_ctlpoints: + + + + + + +@Returns: + + + + + + + +@curve: + + + + + + + +@curve: +@gamma: + + + + + + + +@curve: +@min_x: +@max_x: +@min_y: +@max_y: + + + + + + + +@curve: +@veclen: +@vector: + + + + + + + +@curve: +@veclen: +@vector: + + + + + + + +@curve: +@type: + + + + + + + +@curve: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkdata.sgml b/docs/reference/gtk/tmpl/gtkdata.sgml new file mode 100644 index 0000000000..2da64638d0 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkdata.sgml @@ -0,0 +1,30 @@ + +GtkData + + + + + + + + + + + + + + + + + + + +@object: + + + + + + +@data: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkdebug.sgml b/docs/reference/gtk/tmpl/gtkdebug.sgml new file mode 100644 index 0000000000..12195b2279 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkdebug.sgml @@ -0,0 +1,42 @@ + +Debugging + + + + + + + + + + + + + + + + + + + +@GTK_DEBUG_OBJECTS: +@GTK_DEBUG_MISC: +@GTK_DEBUG_SIGNALS: +@GTK_DEBUG_DND: +@GTK_DEBUG_PLUGSOCKET: + + + + + + + + + + + + +@type: +@action: + + diff --git a/docs/reference/gtk/tmpl/gtkdialog.sgml b/docs/reference/gtk/tmpl/gtkdialog.sgml new file mode 100644 index 0000000000..2ce5355409 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkdialog.sgml @@ -0,0 +1,122 @@ + +GtkDialog + + + +create popup windows. + + + +Dialog boxes are a convenient way to prompt the user for a small amount of +input, eg. to display +a message, ask a question, or anything else that does not require extensive +effort on the user's part. + + +Gtk+ treats a dialog as a window split horizontally. The top section is a +#GtkVBox, and is where widgets such as a #GtkLabel or a #GtkEntry should be +packed. The second area is known as the action_area. This is generally used +for packing buttons into the dialog which may perform functions such as cancel, ok, or apply. The two +areas are separated by a #GtkHSeparator. + + +#GtkDialog boxes are created with a call to gtk_dialog_new(). + + +If 'dialog' is a newly created dialog, the two primary areas of the window +can be accessed as GTK_DIALOG(dialog)->vbox and GTK_DIALOG(dialog)->action_area, +as can be seen from the example, below. + + +A 'modal' dialog (that is, one which freezes the rest of the application +from user input), can be created by calling gtk_window_set_modal() on the dialog. Use the +GTK_WINDOW() macro to cast the widget returned from gtk_dialog_new() into a +#GtkWindow. + + + +Using a #GtkDialog to keep the user informed. + + +/* Function to open a dialog box displaying the message provided. */ + +void quick_message(#gchar *message) { + + #GtkWidget *dialog, *label, *okay_button; + + /* Create the widgets */ + + dialog = gtk_dialog_new(); + label = gtk_label_new (message); + okay_button = gtk_button_new_with_label("Okay"); + + /* Ensure that the dialog box is destroyed when the user clicks ok. */ + + gtk_signal_connect_object (GTK_OBJECT (okay_button), "clicked", + GTK_SIGNAL_FUNC (gtk_widget_destroy), dialog); + gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->action_area), + okay_button); + + /* Add the label, and show everything we've added to the dialog. */ + + gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->vbox), + label); + gtk_widget_show_all (dialog); +} + + + + + + + + + + +#GtkVBox +Pack widgets vertically. + + +#GtkWindow +Alter the properties of your dialog box. + + +#GtkButton +Add them to the action_area to get a +response from the user. + + + + + + +window is a #GtkWindow, but should not be +modified directly, (use the functions provided, such as +gtk_window_set_title(). See the #GtkWindow section for more). + + +vbox is a #GtkVBox - the main part of the dialog box. + + +action_area is a #GtkHBox packed below the dividing #GtkHSeparator in the dialog. It is treated exactly the same as any other #GtkHBox. + + +@window: +@vbox: +@action_area: + + + +Deprecated. + + + + + +Creates a new dialog box. Widgets should not be packed into this #GtkWindow +directly, but into the vbox and action_area, as described above. + + +@Returns: a #GtkWidget - the newly created dialog box. + + diff --git a/docs/reference/gtk/tmpl/gtkdnd.sgml b/docs/reference/gtk/tmpl/gtkdnd.sgml new file mode 100644 index 0000000000..cf93b8f5f3 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkdnd.sgml @@ -0,0 +1,344 @@ + +Drag and Drop + + +Functions for controlling drag and drop handling. + + + +GTK+ has a rich set of functions for doing inter-process +communication via the drag-and-drop metaphore. GTK+ +can do drag and drop (DND) via multiple protocols. +The currently supported protocols are the Xdnd and +Motif protocols. + +As well as the functions listed here, applications +may need to use some facilities provided for +Selections. +Also, the Drag and Drop API makes use of signals +in the #GtkWidget class. + + + + + + + + + +The #GtkDestfaults enumeration specifies the various +types of action that will be taken on behalf +of the user for a drag destination site. + + + + + + +GTK_DEST_DEFAULT_MOTION + + If set for a widget, GTK+, during a drag over this + widget will check if the drag matches this widget's + list of possible targets and actions. + GTK+ will then call gtk_drag_status() as appropriate. + + + + +GTK_DEST_DEFAULT_HIGHLIGHT + + If set for a widget, GTK+ will draw a highlight on + this widget as long as a drag is over this widget + and the wiget drag format and action is accetable. + + + +GTK_DEST_DEFAULT_DROP + + If set for a widget, when a drop occurs, GTK+ will + will check if the drag matches this widget's + list of possible targets and actions. If so, + GTK+ will call gtk_drag_data_get() on behalf + of the widget. Whether or not the drop is succesful, + GTK+ will call gtk_drag_finish(). If the action + was a move, then if the drag was succesful, then + %TRUE will be passed for the @delete parameter + to gtk_drag_finish(). + + + + +GTK_DEST_DEFAULT_ALL + + If set, specifies that all default actions should + be taken. + + + + + +@GTK_DEST_DEFAULT_MOTION: +@GTK_DEST_DEFAULT_HIGHLIGHT: +@GTK_DEST_DEFAULT_DROP: +@GTK_DEST_DEFAULT_ALL: + + + +The #GtkTargetFlags enumeration is used to specifies +constraints on an entry in a GtkTargetTable. + + %GTK_TARGET_SAME_APP + + + If this is set, the target will only be selected + for drags within a single application. + + + + %GTK_TARGET_SAME_WIDGET + + + If this is set, the target will only be selected + for drags within a single widget. + + + + + +@GTK_TARGET_SAME_APP: +@GTK_TARGET_SAME_WIDGET: + + + +Set a widget as a potential drop destination. + + +@widget: a widget +@flags: the flags that specify what actions GTK+ should take + on behalf of a widget for drops onto that widget. The @targets + and @actions fields only are used if %GTK_DEST_DEFAULT_MOTION + or %GTK_DEST_DEFAULT_DROP are given. +@targets: a pointer to an array of #GtkTargetEntry indicating + the drop types that this widget will accept. +@n_targets: the number of entries in @targets. +@actions: a bitmask of possible actions for a drop onto this + widget. + + + + +Set this widget as a proxy for drops to another window. + + +@widget: a #GtkWidget +@proxy_window: the window to which to forward drag events +@protocol: the drag protocol which the @proxy_window accepts + (You can use gdk_drag_get_protocol() to determine this) +@use_coordinates: If true, send the same coordinates to the + destination, because it is a embedded + subwindow. + + + + +Clear information about a drop destination set with +gtk_drag_dest_set(). The widget will no longer receive +notification of drags. + + +@widget: a #GtkWidget + + + + +Inform the drag source that the drop is finished, and +that the data of the drag will no longer be required. + + +@context: the drag context. +@success: a flag indicating whether the drop was succesful +@del: a flag indicating whether the source should delete the + original data. (This should be %TRUE for a move) +@time: the timestamp from the "drag_data_drop" signal. + + + + +Get the data associated with a drag. When the data +is received or the retrieval fails, GTK+ will emit a +"drag_data_received" signal. Failure of the retrieval +is indicated by the length field of the @selection_data +signal parameter being negative. However, when gtk_drag_get_data() +is called implicitely because the %GTK_DRAG_DEFAULT_DROP was set, +then the widget will not receive notification of failed +drops. + + +@widget: the widget that will receive the "drag_data_received" + signal. +@context: the drag context +@target: the target (form of the data) to retrieve. +@time: a timestamp for retrieving the data. This will + generally be the time received in a "drag_data_motion" + or "drag_data_drop" signal. + + + + +Determine the source widget for a drag. + + +@context: a (destination side) drag context. +@Returns: if the drag is occurring within a single application, + a pointer to the source widget. Otherwise, NULL. + + + + +Draw a highlight around a widget. This will attach +handlers to "expose_event" and "draw", so the highlight +will continue to be displayed until gtk_drag_unhighlight +is called. + + +@widget: a widget to highlight + + + + +Remove a highlight set by gtk_drag_highlight() from +a widget. +is called. + + +@widget: a widget to remove the highlight from. + + + + +Initiate a drag on the source side. The function +only needs to be used when the application is +starting drags itself, and is not needed when +gtk_drag_source_set() is used. + + +@widget: the source widget. +@targets: The targets (data formats) in which the + source can provide the data. +@actions: A bitmask of the allowed drag actions for this + drag. +@button: The button the user clicked to start the drag. +@event: The event that triggered the start of the + drag. Usually +@Returns: The context for this drag. + + + + +Change the icon for a widget to a given widget. GTK+ +will not destroy the icon, so if you don't want +it to persist, you should connect to the "drag_end" +signal and destroy it yourself. + + +@context: the context for a drag. (This must be called + with a context for the source side of a drag) +@widget: A toplevel window to use as an icon. +@hot_x: The X offset within @widget of the hotspot. +@hot_y: The Y offset within @widget of the hotspot. + + + + +Sets a given pixmap as the icon for a given drag. +GTK+ retains a reference count for the arguments, and +will release them when they are no longer needed. + + +@context: the context for a drag. (This must be called + with a context for the source side of a drag) +@colormap: the colormap of the icon +@pixmap: the image data for the icon +@mask: the transparency mask for an image. +@hot_x: The X offset within @widget of the hotspot. +@hot_y: The Y offset within @widget of the hotspot. + + + + +Set the icon for a particular drag to the default +icon. + + +@context: the context for a drag. (This must be called + with a context for the source side of a drag) + + + + +Change the default drag icon. GTK+ retains a reference count for the +arguments, and will release them when they are no longer needed. + + +@colormap: the colormap of the icon +@pixmap: the image data for the icon +@mask: the transparency mask for an image. +@hot_x: The X offset within @widget of the hotspot. +@hot_y: The Y offset within @widget of the hotspot. + + + + +Sets up a widget so that GTK+ will start a drag +operation when the user clicks and drags on the +widget. The widget must have a window. + + +@widget: a #GtkWidget +@start_button_mask: the bitmask of buttons that can start the drag +@targets: the table of targets that the drag will support +@n_targets: the number of items in @targets +@actions: the bitmask of possible actions for a drag from this + widget. + + + + +Sets the icon that will be used for drags from a +particular widget. GTK+ retains a reference count +for the arguments, and will release them when +they are no longer needed. + + +@widget: a #GtkWidget +@colormap: the colormap of the icon +@pixmap: the image data for the icon +@mask: the transparency mask for an image. + + + + +Undo the effects of gtk_drag_source_set(). + + +@widget: a #GtkWidget + + + + +Internal function. + + +@widget: +@event: + + + + +Internal function. + + +@toplevel: +@event: + + diff --git a/docs/reference/gtk/tmpl/gtkdrawingarea.sgml b/docs/reference/gtk/tmpl/gtkdrawingarea.sgml new file mode 100644 index 0000000000..b78eae267d --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkdrawingarea.sgml @@ -0,0 +1,111 @@ + +GtkDrawingArea + + +a widget for custom user interface elements. + + + +The #GtkDrawingArea widget is used for creating custom +user interface elements. After creating a drawing +area, the application may want to connect to: + + + + Mouse and button press signals to respond to input from + the user. + + + + + The "realize" signal to take any necessary actions + when the widget + + + + + The "size_allocate" signal to take any necessary actions + when the widget changes size. + + + + + The "expose_event" signal to handle redrawing the + contents of the widget. + + + +As a convenience, the #GtkDrawingArea widget synthesizes +a "configure_event" when the widget is realized +and any time the size of a widget changes when it +is realized. It often suffices to connect to this +signal instead of "realize" and "size_allocate". + + +The following code portion demonstrates using a drawing +area to implement a widget that draws a circle. +As this example demonstrates, an expose handler should +draw only the pixels within the requested area and +should draw or clear all these pixels. + + +gboolean +expose_event (GdkWidget *widget, GdkEventExpose *event, gpointer data) +{ + gdk_window_clear_area (widget->window, + event->area.x, event->area.y, + event->area.width, event->area.height); + gdk_gc_set_clip_rectangle (widget->style->fg_gc[widget->state], + &event->area); + gdk_draw_arc (widget->window, + widget->style->fg_gc[widget->state], + TRUE, + 0, 0, widget->allocation->width, widget->allocation.height, + 0, 64 * 360); + gdk_gc_set_clip_rectangle (widget->style->fg_gc[widget->state]); + + return TRUE; +} +[...] + GtkWidget *drawing_area = gdk_drawing_area_new (); + gdk_drawing_area_size (GTK_DRAWING_AREA (drawing_area), + 100, 100); + gtk_signal_connect (GTK_OBJECT (drawing_area), + + + + + + + + + +The #GtkDrawingArea-struct struct contains private data only, and +should be accessed using the functions below. + + +@widget: +@draw_data: + + + +Create a new drawing area. + + +@Returns: + + + + +Set the size that the drawing area will request +in response to a "size_request" signal. The +drawing area may actually be allocated a size +larger than this depending on how it is packed +within the enclosing containers. + + +@darea: a #GtkDrawingArea. +@width: the width to request. +@height: the height to request. + + diff --git a/docs/reference/gtk/tmpl/gtkeditable.sgml b/docs/reference/gtk/tmpl/gtkeditable.sgml new file mode 100644 index 0000000000..f822b3bfe0 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkeditable.sgml @@ -0,0 +1,448 @@ + +GtkEditable + + +Base class for text-editing widgets. + + + +The #GtkEditable class is a base class for widgets +for editing text, such as #GtkEntry and #GtkText. It +cannot be instantiated by itself. The editable +class contains functions for generically manipulating +an editable widget, a large number of action signals +used for key bindings, and several signals that +an application can connect to to modify the behavior +of a widget. + + + +As an example of the latter usage, by connecting +the following handler to "insert_text", an application +can convert all entry into a widget into uppercase. + + + Forcing entry to uppercase + +#include <ctype.h> + +void +insert_text_handler (GtkEditable *editable, + const gchar *text, + gint length, + gint *position, + gpointer data) +{ + int i; + gchar *result = g_new (gchar, length); + + for (i=0; i<length; i++) + result[i] = islower(text[i]) ? toupper(text[i]) : text[i]; + + gtk_signal_handler_block_by_func (GTK_OBJECT (editable), + GTK_SIGNAL_FUNC (insert_text_handler), + data); + gtk_editable_insert_text (editable, result, length, position); + gtk_signal_handler_unblock_by_func (GTK_OBJECT (editable), + GTK_SIGNAL_FUNC (insert_text_handler), + data); + + gtk_signal_emit_stop_by_name (GTK_OBJECT (editable), "insert_text"); + + g_free (result); +} + + + + + + + + + + + +The #GtkEditable structure contains the following fields. +(These fields should be considered read-only. They should +never be set by an application.) + + + + + + +#guint selection_start; +the starting position of the selected characters + in the widget. + + + +#guint selection_end; +the end position of the selected characters + in the widget. + + + +#guint editable; +a flag indicating whether or not the widget is +editable by the user. + + + + + +@widget: +@current_pos: +@selection_start_pos: +@selection_end_pos: +@has_selection: +@editable: +@visible: +@ic: +@ic_attr: +@clipboard_text: + + + +Callback function for old method of setting key bindings. +No longer publically used. + + +@editable: +@time: + + + + +Selects a region of text. The characters that +are selected are those characters at positions from +@start_pos up to, but not including @end_pos. If +@end_pos is negative, then the the characters selected +will be those characters from @start_pos to the end +of the text. + + +@editable: a #GtkEditable widget. +@start: the starting position. +@end: the end position. + + + + +Insert text at a given position. + + +@editable: a #GtkEditable widget. +@new_text: the text to insert. +@new_text_length: the length of the text to insert, in bytes +@position: an inout parameter. The caller initializes it to + the position at which to insert the text. After the + call it points at the position after the newly + inserted text. + + + + +Delete a sequence of characters. The characters that +are deleted are those characters at positions from +@start_pos up to, but not including @end_pos. If +@end_pos is negative, then the the characters deleted +will be those characters from @start_pos to the end +of the text. + + +@editable: a #GtkEditable widget. +@start_pos: the starting position. +@end_pos: the end position. + + + + +Retrieves a sequence of characters. The characters that +are retrieved are those characters at positions from +@start_pos up to, but not including @end_pos. If +@end_pos is negative, then the the characters retrieved +will be those characters from @start_pos to the end +of the text. + + +@editable: a #GtkEditable widget. +@start_pos: the starting position. +@end_pos: the end position. +@Returns: the characters in the indicated region. + The result must be freed with g_free() when + the application is finished with it. + + + + +Causes the characters in the current selection to +be copied to the clipboard and then deleted from +the widget. + + +@editable: a #GtkEditable widget. + + + + +Causes the characters in the current selection to +be copied to the clipboard. + + +@editable: a #GtkEditable widget. + + + + +Causes the contents of the clipboard to be pasted into +the given widget at the current cursor position. + + +@editable: a #GtkEditable widget. + + + + +Claim or disclaim ownership of the PRIMARY X selection. + + +@editable: a #GtkEditable widget. +@claim: if %TRUE, claim the selection, otherwise, disclaim it. +@time: the timestamp for claiming the selection. + + + + +Deletes the current contents of the widgets selection and +disclaims the selection. + + +@editable: a #GtkEditable widget. + + + + +Causes the "changed" signal to be emitted. + + +@editable: a #GtkEditable widget. + + + + +Sets the cursor position. + + +@editable: a #GtkEditable widget. +@position: the position of the cursor. The cursor is displayed + before the character with the given (base 0) index + in the widget. The value must be less than or + equal to the number of characters in the widget. + A value of -1 indicates that the position should + be set after the last character in the entry. + Note that this position is in characters, not in + bytes. + + + + +Retrieves the current cursor position. + + +@editable: a #GtkEditable widget. +@Returns: the position of the cursor. The cursor is displayed + before the character with the given (base 0) index + in the widget. The value will be less than or + equal to the number of characters in the widget. + Note that this position is in characters, not in + bytes. + + + + +Determines if the user can edit the text in the editable +widget or not. + + +@editable: a #GtkEditable widget. +@is_editable: %TRUE if the user is allowed to edit the text + in the widget. + + + + +Indicates that the user has changed the contents +of the widget. + + +@editable: the object which received the signal. + + + +This signal is emitted when text is inserted into +the widget by the user. The default handler for +this signal will normally be responsible for inserting +the text, so by connecting to this signal and then +stopping the signal with gtk_signal_emit_stop(), it +is possible to modify the inserted text, or prevent +it from being inserted entirely. + + +@editable: the object which received the signal. +@new_text: the new text to insert. +@new_text_length: the length of the new text. +@position: the position at which to insert the new text. + this is an in-out paramter. After the signal + emission is finished, it should point after + the newly inserted text. + + + +This signal is emitted when text is deleted from +the widget by the user. The default handler for +this signal will normally be responsible for inserting +the text, so by connecting to this signal and then +stopping the signal with gtk_signal_emit_stop(), it +is possible to modify the inserted text, or prevent +it from being inserted entirely. The @start_pos +and @end_pos parameters are interpreted as for +gtk_editable_delete_text() + + +@editable: the object which received the signal. +@start_pos: the starting position. +@end_pos: the end position. + + + +Indicates that the user has activated the widget +in some fashion. Generally, this will be done +with a keystroke. (The default binding for this +action is Return for #GtkEntry and +Control-Return for #GtkText.) + + +@editable: the object which received the signal. + + + +Determines if the user can edit the text in the editable +widget or not. This is meant to be overriden by +child classes and should not generally useful to +applications. + + +@editable: the object which received the signal. +@is_editable: %TRUE if the user is allowed to edit the text + in the widget. + + + +An action signal. Move the cursor position. + + +@editable: the object which received the signal. +@x: horizontal distance to move the cursor. +@y: vertical distance to move the cursor. + + + +An action signal. Move the cursor by words. + + +@editable: the object which received the signal. +@num_words: The number of words to move the +cursor. (Can be negative). + + + +An action signal. Move the cursor by pages. + + +@editable: the object which received the signal. +@x: Number of pages to move the cursor horizontally. +@y: Number of pages to move the cursor vertically. + + + +An action signal. Move the cursor to the given row. + + +@editable: the object which received the signal. +@row: the row to move to. (A negative value indicates + the last row) + + + +An action signal. Move the cursor to the given column. + + +@editable: the object which received the signal. +@column: the column to move to. (A negative value indicates + the last column) + + + +An action signal. Delete a single character. + + +@editable: the object which received the signal. +@direction: the direction in which to delete. Positive + indicates forward deletion, negative, backwards deletion. + + + +An action signal. Delete a single word. + + +@editable: the object which received the signal. +@direction: the direction in which to delete. Positive + indicates forward deletion, negative, backwards deletion. + + + +An action signal. Delete a single line. + + +@editable: the object which received the signal. +@direction: the direction in which to delete. Positive + indicates forward deletion, negative, backwards deletion. + + + +An action signal. Causes the characters in the current +selection to be copied to the clipboard and then deleted from +the widget. + + +@editable: the object which received the signal. + + + +An action signal. Causes the characters in the current selection to +be copied to the clipboard. + + +@editable: the object which received the signal. + + + +An action signal. Causes the contents of the clipboard to +be pasted into the editable widget at the current cursor +position. + + +@editable: the object which received the signal. + + + +The position of the cursor. + + + + +A boolean indicating whether the widget is editable by +the user. + + diff --git a/docs/reference/gtk/tmpl/gtkentry.sgml b/docs/reference/gtk/tmpl/gtkentry.sgml new file mode 100644 index 0000000000..0552539a33 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkentry.sgml @@ -0,0 +1,201 @@ + +GtkEntry + + +a single line text entry field. + + + +The #GtkEntry widget is a single line text entry +widget. A fairly large set of key bindings are supported +by default. If the entered text is longer than the allocation +of the widget, the widget will scroll so that the cursor +position is visible. + + + + + + + +#GtkText +a widget for handling multi-line text entry. + + + + + + + +The #GtkEntry-struct struct contains only private data. + + +@editable: +@text_area: +@backing_pixmap: +@cursor: +@text: +@text_size: +@text_length: +@text_max_length: +@scroll_offset: +@visible: +@timer: +@button: +@char_offset: +@text_mb: +@text_mb_dirty: +@use_wchar: + + + +Creates a new #GtkEntry widget. + + +@Returns: a new #GtkEntry. + + + + +Creates a new #GtkEntry widget with the given maximum +length. + + +Note: the existance of this function is inconsistent +with the rest of the GTK+ API. The normal setup would +be to just require the user to make an extra call +to gtk_entry_set_max_length() instead. It is not +expected that this function will be removed, but +it would be better practice not to use it. + + +@max: the new maximum length. +@Returns: a new #GtkEntry. + + + + +Sets the text in the widget to the given +value, replacing the current contents. + + +@entry: a #GtkEntry. +@text: the new text. + + + + +Appends the given text to the contents of the widget. + + +@entry: a #GtkEntry. +@text: the text to append. + + + + +Prepends the given text to the contents of th ewidget. + + +@entry: a #GtkEntry. +@text: the text to prepend. + + + + +Sets the cursor position in an entry to the given +value. This function is obsolete. You should use +gtk_editable_set_position() instead. + + +@entry: a #GtkEntry. +@position: the position of the cursor. The cursor is displayed + before the character with the given (base 0) index + in the widget. The value must be less than or + equal to the number of characters in the widget. + A value of -1 indicates that the position should + be set after the last character in the entry. + Note that this position is in characters, not in + bytes. + + + + +Retrieve the contents of the entry widget. The returned +pointer points to internally allocated storage in the +widget and must not be freed, modified or stored. For +this reason, this function is deprecated. Use +gtk_editable_get_chars() instead. + + +@entry: a #GtkEntry. +@Returns: the pointer the the contents of the text widget as a + string. + + + + +Selects a region of text. The characters that +are selected are those characters at positions from +@start_pos up to, but not including @end_pos. If +@end_pos is negative, then the the characters selected +will be those characters from @start_pos to the end +of the text. This function is obsolete. You should +use gtk_editable_select_region() instead. + + +@entry: a #GtkEntry. +@start: the starting position. +@end: the end position. + + + + +Sets whether the contents of the entry are visible or +not. When visibility is set to %FALSE, characters +are displayed as asterisks (*'s), and will also appear +that way when the text in the entry widget is copied +elsewhere. + + +@entry: a #GtkEntry. +@visible: %TRUE if the contents of the entry are displayd + as plaintext. + + + + +Determines if the user can edit the text in the editable +widget or not. This function is obsolete. You should +use gtk_editable_set_editable() instead. + + +@entry: a #GtkEntry. +@editable: %TRUE if the user is allowed to edit the text + in the widget. + + + + +Sets the maximum allowed length of the contents +of the widget. If the current contents are longer +than the given length, then they will be truncated +to fit. + + +@entry: a #GtkEntry. +@max: the new maximum length. + + + + +Determines the maximum allowed length of the contents +of the widget. See gtk_entry_set_max_length(). + + + + +Determines whether the contents of the entry widget +are visible or not. See gtk_entry_set_visibility(). + + diff --git a/docs/reference/gtk/tmpl/gtkenums.sgml b/docs/reference/gtk/tmpl/gtkenums.sgml new file mode 100644 index 0000000000..5b8b1ede8f --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkenums.sgml @@ -0,0 +1,361 @@ + +Standard Enumerations + + + + + + + + + + + + + + + + + + + +@GTK_ACCEL_VISIBLE: +@GTK_ACCEL_SIGNAL_VISIBLE: +@GTK_ACCEL_LOCKED: +@GTK_ACCEL_MASK: + + + + + + +@GTK_ARROW_UP: +@GTK_ARROW_DOWN: +@GTK_ARROW_LEFT: +@GTK_ARROW_RIGHT: + + + + + + +@GTK_EXPAND: +@GTK_SHRINK: +@GTK_FILL: + + + + + + +@GTK_BUTTONBOX_DEFAULT_STYLE: +@GTK_BUTTONBOX_SPREAD: +@GTK_BUTTONBOX_EDGE: +@GTK_BUTTONBOX_START: +@GTK_BUTTONBOX_END: + + + + + + +@GTK_CORNER_TOP_LEFT: +@GTK_CORNER_BOTTOM_LEFT: +@GTK_CORNER_TOP_RIGHT: +@GTK_CORNER_BOTTOM_RIGHT: + + + + + + +@GTK_CURVE_TYPE_LINEAR: +@GTK_CURVE_TYPE_SPLINE: +@GTK_CURVE_TYPE_FREE: + + + + + + +@GTK_DIR_TAB_FORWARD: +@GTK_DIR_TAB_BACKWARD: +@GTK_DIR_UP: +@GTK_DIR_DOWN: +@GTK_DIR_LEFT: +@GTK_DIR_RIGHT: + + + + + + +@GTK_JUSTIFY_LEFT: +@GTK_JUSTIFY_RIGHT: +@GTK_JUSTIFY_CENTER: +@GTK_JUSTIFY_FILL: + + + + + + +@GTK_MATCH_ALL: +@GTK_MATCH_ALL_TAIL: +@GTK_MATCH_HEAD: +@GTK_MATCH_TAIL: +@GTK_MATCH_EXACT: +@GTK_MATCH_LAST: + + + + + + +@GTK_MENU_FACTORY_MENU: +@GTK_MENU_FACTORY_MENU_BAR: +@GTK_MENU_FACTORY_OPTION_MENU: + + + + + + +@GTK_PIXELS: +@GTK_INCHES: +@GTK_CENTIMETERS: + + + + + + +@GTK_ORIENTATION_HORIZONTAL: +@GTK_ORIENTATION_VERTICAL: + + + + + + +@GTK_PACK_START: +@GTK_PACK_END: + + + + + + +@GTK_PATH_PRIO_LOWEST: +@GTK_PATH_PRIO_GTK: +@GTK_PATH_PRIO_APPLICATION: +@GTK_PATH_PRIO_RC: +@GTK_PATH_PRIO_HIGHEST: +@GTK_PATH_PRIO_MASK: + + + + + + +@GTK_PATH_WIDGET: +@GTK_PATH_WIDGET_CLASS: +@GTK_PATH_CLASS: + + + + + + +@GTK_POLICY_ALWAYS: +@GTK_POLICY_AUTOMATIC: +@GTK_POLICY_NEVER: + + + + + + +@GTK_POS_LEFT: +@GTK_POS_RIGHT: +@GTK_POS_TOP: +@GTK_POS_BOTTOM: + + + +An enumeration which describes whether a preview +contains grayscale or red-green-blue data. + + + + + + +GTK_PREVIEW_COLOR +the preview contains red-green-blue data. + + + +GTK_PREVIEW_GRAYSCALE +The preview contains grayscale data. + + + + + +@GTK_PREVIEW_COLOR: +@GTK_PREVIEW_GRAYSCALE: + + + + + + +@GTK_RELIEF_NORMAL: +@GTK_RELIEF_HALF: +@GTK_RELIEF_NONE: + + + + + + +@GTK_RESIZE_PARENT: +@GTK_RESIZE_QUEUE: +@GTK_RESIZE_IMMEDIATE: + + + + + + +@GTK_RUN_FIRST: +@GTK_RUN_LAST: +@GTK_RUN_BOTH: +@GTK_RUN_NO_RECURSE: +@GTK_RUN_ACTION: +@GTK_RUN_NO_HOOKS: + + + + + + +@GTK_SCROLL_NONE: +@GTK_SCROLL_STEP_BACKWARD: +@GTK_SCROLL_STEP_FORWARD: +@GTK_SCROLL_PAGE_BACKWARD: +@GTK_SCROLL_PAGE_FORWARD: +@GTK_SCROLL_JUMP: + + + + + + +@GTK_SELECTION_SINGLE: +@GTK_SELECTION_BROWSE: +@GTK_SELECTION_MULTIPLE: +@GTK_SELECTION_EXTENDED: + + + + + + +@GTK_SHADOW_NONE: +@GTK_SHADOW_IN: +@GTK_SHADOW_OUT: +@GTK_SHADOW_ETCHED_IN: +@GTK_SHADOW_ETCHED_OUT: + + + + + + +@GTK_STATE_NORMAL: +@GTK_STATE_ACTIVE: +@GTK_STATE_PRELIGHT: +@GTK_STATE_SELECTED: +@GTK_STATE_INSENSITIVE: + + + + + + +@GTK_DIRECTION_LEFT: +@GTK_DIRECTION_RIGHT: + + + + + + +@GTK_TOP_BOTTOM: +@GTK_LEFT_RIGHT: + + + + + + +@GTK_TOOLBAR_ICONS: +@GTK_TOOLBAR_TEXT: +@GTK_TOOLBAR_BOTH: + + + + + + +@GTK_TROUGH_NONE: +@GTK_TROUGH_START: +@GTK_TROUGH_END: +@GTK_TROUGH_JUMP: + + + + + + +@GTK_UPDATE_CONTINUOUS: +@GTK_UPDATE_DISCONTINUOUS: +@GTK_UPDATE_DELAYED: + + + + + + +@GTK_VISIBILITY_NONE: +@GTK_VISIBILITY_PARTIAL: +@GTK_VISIBILITY_FULL: + + + + + + +@GTK_WIN_POS_NONE: +@GTK_WIN_POS_CENTER: +@GTK_WIN_POS_MOUSE: + + + + + + +@GTK_WINDOW_TOPLEVEL: +@GTK_WINDOW_DIALOG: +@GTK_WINDOW_POPUP: + + + + + + +@GTK_SORT_ASCENDING: +@GTK_SORT_DESCENDING: + diff --git a/docs/reference/gtk/tmpl/gtkeventbox.sgml b/docs/reference/gtk/tmpl/gtkeventbox.sgml new file mode 100644 index 0000000000..463a9f9963 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkeventbox.sgml @@ -0,0 +1,34 @@ + +GtkEventBox + + +a widget used to catch events for widgets which do not have their own window. + + + +The #GtkEventBox widget is a subclass of #GtkBin which also has its own window. +It is useful since it allows you to catch events for widgets which do not +have their own window. + + + + + + + + + +The #GtkEventBox-struct struct contains private data only, and +should be accessed using the functions below. + + +@bin: + + + +Creates a new #GtkEventBox. + + +@Returns: a new #GtkEventBox. + + diff --git a/docs/reference/gtk/tmpl/gtkfeatures.sgml b/docs/reference/gtk/tmpl/gtkfeatures.sgml new file mode 100644 index 0000000000..bf85207886 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkfeatures.sgml @@ -0,0 +1,57 @@ + +Feature Test Macros + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@required_major: +@required_minor: +@required_micro: +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkfilesel.sgml b/docs/reference/gtk/tmpl/gtkfilesel.sgml new file mode 100644 index 0000000000..6a36d803b2 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkfilesel.sgml @@ -0,0 +1,188 @@ + +GtkFileSelection + + +prompt the user for a file or directory name. + + + +GtkFileSelection should be used to retrieve file or directory names from the user. It will create a new dialog window containing a directory list, and a file list corresponding to the current working directory. The filesystem can be navigated using the directory list or the drop-down history menu. Alternatively, the TAB key can be used to navigate using filename completion - common in text based editors such as emacs and jed. + + +File selection dialogs are created with a call to gtk_file_selection_new(). + + +The default filename can be set using gtk_file_selection_set_filename() and the selected filename retrieved using gtk_file_selection_get_filename(). + + +Use gtk_file_selection_complete() to display files that match a given pattern. This can be used for example, to show only *.txt files, or only files beginning with gtk*. + + +Simple file operations; create directory, delete file, and rename file, are available from buttons at the top of the dialog. These can be hidden using gtk_file_selection_hide_fileop_buttons() and shown again using gtk_file_selection_show_fileop_buttons(). + + + +Getting a filename from the user + + +/* The file selection widget and the string to store the chosen filename */ + +GtkWidget *file_selector; +gchar *selected_filename; + +void store_filename(GtkFileSelection *selector, gpointer user_data) { + selected_filename = gtk_file_selection_get_filename (GTK_FILE_SELECTION(file_selector)); +} + +void create_file_selection(void) { + + /* Create the selector */ + + file_selector = gtk_file_selection_new("Please select a file for editing."); + + gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION(file_selector)->ok_button)), + "clicked", GTK_SIGNAL_FUNC (store_filename), NULL); + + /* Ensure that the dialog box is destroyed when the user clicks a button. */ + + gtk_signal_connect_object (GTK_OBJECT (GTK_FILE_SELECTION(file_selector)->ok_button)), + "clicked", GTK_SIGNAL_FUNC (gtk_widget_destroy), + (gpointer) file_selector); + + gtk_signal_connect_object (GTK_OBJECT (GTK_FILE_SELECTION(file_selector)->cancel_button)), + "clicked", GTK_SIGNAL_FUNC (gtk_widget_destroy), + (gpointer) file_selector); + + /* Display that dialog */ + + gtk_widget_show (file_selector); +} + + + + + + + + + + +#GtkDialog +Add your own widgets into the #GtkFileSelection. + + + + + + +The #GtkFileSelection struct contains the following #GtkWidget fields: + + + + + + +*fileop_dialog; +the dialog box used to display the #GtkFileSelection. It can be customized by adding/removing widgets from it using the standard #GtkDialog functions. + + + +*dir_list, *file_list; +the two #GtkCList widgets corresponding to directories and files. + + + +*ok_button, *cancel_button; +the two main buttons that signals should be connected to in order to perform an action when the user hits either OK or Cancel. + + + +*history_pulldown; +the #GtkOptionMenu used to create the drop-down directory history. + + + +*fileop_c_dir, *fileop_del_file, *fileop_ren_file; +the buttons that appear at the top of the file selection dialog. These "operation buttons" can be hidden and redisplayed with gtk_file_selection_hide_fileop_buttons() and gtk_file_selection_show_fileop_buttons() respectively. + + + + + + +@window: +@dir_list: +@file_list: +@selection_entry: +@selection_text: +@main_vbox: +@ok_button: +@cancel_button: +@help_button: +@history_pulldown: +@history_menu: +@history_list: +@fileop_dialog: +@fileop_entry: +@fileop_file: +@cmpl_state: +@fileop_c_dir: +@fileop_del_file: +@fileop_ren_file: +@button_area: +@action_area: + + + +Creates a new file selection dialog box. By default it will contain a #GtkCList of the application's current working directory, and a file listing. Operation buttons that allow the user to create a directory, delete files and rename files, are also present. + + +@title: a message that will be placed in the file requestor's titlebar. +@Returns: the new file selection. + + + + +Sets a default path for the file requestor. If @filename includes a directory path, then the requestor will open with that path as its current working directory. + + + +@filesel: a #GtkFileSelection. +@filename: a string to set as the default file name. + + + + +Retrieves the currently selected filename from the file selection dialog. If no file is selected then the selected directory path is returned. + + +@filesel: a #GtkFileSelection +@Returns: a string containing the selected file's full path. + + + + +Will attempt to match @pattern to a valid filename in the current directory. If a match can be made, the matched filename will appear in the text entry field of the file selection dialog. +If a partial match can be made, the "Files" list will contain those file names which have been partially matched. + + +@filesel: a #GtkFileSelection. +@pattern: a string of characters which may or may not match any filenames in the current directory. + + + + +Shows the file operation buttons, if they have previously been hidden. The rest of the widgets in the dialog will be resized accordingly. + + +@filesel: a #GtkFileSelection. + + + + +Hides the file operation buttons that normally appear at the top of the dialog. Useful if you wish to create a custom file selector, based on #GtkFileSelection. + + +@filesel: a #GtkFileSelection. + + diff --git a/docs/reference/gtk/tmpl/gtkfixed.sgml b/docs/reference/gtk/tmpl/gtkfixed.sgml new file mode 100644 index 0000000000..20f6c085a9 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkfixed.sgml @@ -0,0 +1,104 @@ + +GtkFixed + + +a container which supports fixed sizes and positions of its children. + + + +The #GtkFixed widget is a container which can place child widgets at fixed +positions and with fixed sizes, given in pixels. + + + + + + + + + + +The #GtkFixed-struct struct contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +#GList *children; +a list of #GtkFixedChild elements, containing the child widgets and +their positions. + + + + + +@container: +@children: + + + +The #GtkFixedChild-struct struct contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +#GtkWidget *widget; +the child #GtkWidget. + + + +#gint16 x; +the horizontal position of the widget within the #GtkFixed +container. + + + +#gint16 y; +the vertical position of the widget within the #GtkFixed +container. + + + + + +@widget: +@x: +@y: + + + +Creates a new #GtkFixed. + + +@Returns: a new #GtkFixed. + + + + +Adds a widget to a #GtkFixed container at the given position. + + +@fixed: a #GtkFixed. +@widget: the widget to add. +@x: the horizontal position to place the widget at. +@y: the vertical position to place the widget at. + + + + +Moves a child of a #GtkFixed container to the given position. + + +@fixed: a #GtkFixed. +@widget: the child widget. +@x: the horizontal position to move the widget to. +@y: the vertical position to move the widget to. + + diff --git a/docs/reference/gtk/tmpl/gtkfontsel.sgml b/docs/reference/gtk/tmpl/gtkfontsel.sgml new file mode 100644 index 0000000000..caf3f88471 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkfontsel.sgml @@ -0,0 +1,165 @@ + +GtkFontSelection + + +a widget for selecting fonts. + + + +The #GtkFontSelection widget lists the available fonts, styles and sizes, +allowing the user to select a font. +It is used in the #GtkFontSelectionDialog widget to provide a dialog box for +selecting fonts. + + +To set the font which is initially selected, use +gtk_font_selection_set_font_name(). + + +To get the selected font use gtk_font_selection_get_font() +or gtk_font_selection_get_font_name(). + + +To change the text which is shown in the preview area, use +gtk_font_selection_set_preview_text(). + + +Filters can be used to limit the fonts shown. There are 2 filters in the +#GtkFontSelection - a base filter and a user filter. The base filter +can not be changed by the user, so this can be used when the user must choose +from the restricted set of fonts (e.g. for a terminal-type application you may +want to force the user to select a fixed-width font). The user filter can be +changed or reset by the user, by using the 'Reset Filter' button or changing +the options on the 'Filter' page of the widget. + + + + + + + +#GtkFontSelectionDialog +a dialog box which uses #GtkFontSelection. + + + + + + + +The #GtkFontSelection struct contains private data only, and should +only be accessed using the functions below. + + +@notebook: +@main_vbox: +@font_label: +@font_entry: +@font_clist: +@font_style_entry: +@font_style_clist: +@size_entry: +@size_clist: +@pixels_button: +@points_button: +@filter_button: +@preview_entry: +@message_label: +@info_vbox: +@info_clist: +@requested_font_name: +@actual_font_name: +@filter_vbox: +@type_bitmaps_button: +@type_scalable_button: +@type_scaled_bitmaps_button: +@filter_clists: +@font: +@font_index: +@style: +@metric: +@size: +@selected_size: +@property_values: +@filters: + + + +Creates a new #GtkFontSelection. + + +@Returns: a new #GtkFontSelection. + + + + +Gets the currently-selected font. + + +@fontsel: a #GtkFontSelection. +@Returns: the currently-selected font, or NULL if no font is selected. + + + + +Gets the currently-selected font name. + + +@fontsel: a #GtkFontSelection. +@Returns: + + + + +Sets the currently-selected font. + + +@fontsel: a #GtkFontSelection. +@fontname: a fontname. +@Returns: TRUE if the font was found. + + + + +Gets the text displayed in the preview area. + + +@fontsel: a #GtkFontSelection. +@Returns: the text displayed in the preview area. + + + + +Sets the text displayed in the preview area. + + +@fontsel: a #GtkFontSelection. +@text: the text to display in the preview area. + + + + +Sets one of the two font filters, to limit the fonts shown. + + +@fontsel: a #GtkFontSelection. +@filter_type: which of the two font filters to set, either +#GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter +can be changed by the user, but the base filter is permanent. +@font_type: the types of font to be shown. This is a bitwise combination of +#GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP, +or #GTK_FONT_ALL to show all three font types. +@foundries: a NULL-terminated array of strings containing foundry names which +will be shown, or NULL to show all foundries. +@weights: a NULL-terminated array of strings containing weight names which +will be shown, or NULL to show all weights. +@slants: a NULL-terminated array of strings containing slant names which +will be shown, or NULL to show all slants. +@setwidths: a NULL-terminated array of strings containing setwidth names which +will be shown, or NULL to show all setwidths. +@spacings: a NULL-terminated array of strings containing spacings which +will be shown, or NULL to show all spacings. +@charsets: a NULL-terminated array of strings containing charset names which +will be shown, or NULL to show all charsets. + + diff --git a/docs/reference/gtk/tmpl/gtkfontseldlg.sgml b/docs/reference/gtk/tmpl/gtkfontseldlg.sgml new file mode 100644 index 0000000000..8c32d89a27 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkfontseldlg.sgml @@ -0,0 +1,229 @@ + +GtkFontSelectionDialog + + +a dialog box for selecting fonts. + + + +The #GtkFontSelectionDialog widget is a dialog box for selecting a font. + + +To set the font which is initially selected, use +gtk_font_selection_dialog_set_font_name(). + + +To get the selected font use gtk_font_selection_dialog_get_font() +or gtk_font_selection_dialog_get_font_name(). + + +To change the text which is shown in the preview area, use +gtk_font_selection_dialog_set_preview_text(). + + +Filters can be used to limit the fonts shown. There are 2 filters in the +#GtkFontSelectionDialog - a base filter and a user filter. The base filter +can not be changed by the user, so this can be used when the user must choose +from the restricted set of fonts (e.g. for a terminal-type application you may +want to force the user to select a fixed-width font). The user filter can be +changed or reset by the user, by using the 'Reset Filter' button or changing +the options on the 'Filter' page of the dialog. + + + +Setting a filter to show only fixed-width fonts. + + gchar *spacings[] = { "c", "m", NULL }; + gtk_font_selection_dialog_set_filter (GTK_FONT_SELECTION_DIALOG (fontsel), + GTK_FONT_FILTER_BASE, GTK_FONT_ALL, + NULL, NULL, NULL, NULL, spacings, NULL); + + + + +To allow only true scalable fonts to be selected use: + + + +Setting a filter to show only true scalable fonts. + + gtk_font_selection_dialog_set_filter (GTK_FONT_SELECTION_DIALOG (fontsel), + GTK_FONT_FILTER_BASE, GTK_FONT_SCALABLE, + NULL, NULL, NULL, NULL, NULL, NULL); + + + + + + + + +#GtkFontSelection +the underlying widget for selecting fonts. + + + + + + + +The #GtkFontSelectionDialog struct contains private data only, and should +only be accessed using the functions below. + + +@window: +@fontsel: +@main_vbox: +@action_area: +@ok_button: +@apply_button: +@cancel_button: +@dialog_width: +@auto_resize: + + + +Creates a new #GtkFontSelectionDialog. + + +@title: the title of the dialog box. +@Returns: a new #GtkFontSelectionDialog. + + + + +Gets the currently-selected font. + + +@fsd: a #GtkFontSelectionDialog. +@Returns: the currently-selected font, or NULL if no font is selected. + + + + +Gets the currently-selected font name. + + +@fsd: a #GtkFontSelectionDialog. +@Returns: the currently-selected font name, or NULL if no font is selected. + + + + +Sets the currently-selected font. + + +@fsd: a #GtkFontSelectionDialog. +@fontname: a fontname. +@Returns: TRUE if the font was found. + + + + +Gets the text displayed in the preview area. + + +@fsd: a #GtkFontSelectionDialog. +@Returns: the text displayed in the preview area. + + + + +Sets the text displayed in the preview area. + + +@fsd: a #GtkFontSelectionDialog. +@text: the text to display in the preview area. + + + + +Sets one of the two font filters, to limit the fonts shown. + + +@fsd: a #GtkFontSelectionDialog. +@filter_type: which of the two font filters to set, either +#GTK_FONT_FILTER_BASE or #GTK_FONT_FILTER_USER. The user filter +can be changed by the user, but the base filter is permanent. +@font_type: the types of font to be shown. This is a bitwise combination of +#GTK_FONT_BITMAP, #GTK_FONT_SCALABLE and #GTK_FONT_SCALABLE_BITMAP, +or #GTK_FONT_ALL to show all three font types. +@foundries: a NULL-terminated array of strings containing foundry names which +will be shown, or NULL to show all foundries. +@weights: a NULL-terminated array of strings containing weight names which +will be shown, or NULL to show all weights. +@slants: a NULL-terminated array of strings containing slant names which +will be shown, or NULL to show all slants. +@setwidths: a NULL-terminated array of strings containing setwidth names which +will be shown, or NULL to show all setwidths. +@spacings: a NULL-terminated array of strings containing spacings which +will be shown, or NULL to show all spacings. +@charsets: a NULL-terminated array of strings containing charset names which +will be shown, or NULL to show all charsets. + + + + +A set of bit flags used to specify the type of fonts shown +when calling gtk_font_selection_dialog_set_filter() or +gtk_font_selection_set_filter(). + + + + + + +GTK_FONT_BITMAP +bitmap fonts. + + + +GTK_FONT_SCALABLE +scalable fonts. + + + +GTK_FONT_SCALED_BITMAP +scaled bitmap fonts. + + + +GTK_FONT_ALL +a bitwise combination of all of the above. + + + + + +@GTK_FONT_BITMAP: +@GTK_FONT_SCALABLE: +@GTK_FONT_SCALABLE_BITMAP: +@GTK_FONT_ALL: + + + +A set of bit flags used to specify the filter being set +when calling gtk_font_selection_dialog_set_filter() or +gtk_font_selection_set_filter(). + + + + + + +GTK_FONT_FILTER_BASE +the base filter, which can't be changed by the user. + + + +GTK_FONT_FILTER_USER +the user filter, which can be changed from within the 'Filter' page +of the #GtkFontSelection widget. + + + + + +@GTK_FONT_FILTER_BASE: +@GTK_FONT_FILTER_USER: + diff --git a/docs/reference/gtk/tmpl/gtkframe.sgml b/docs/reference/gtk/tmpl/gtkframe.sgml new file mode 100644 index 0000000000..492ceefc31 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkframe.sgml @@ -0,0 +1,96 @@ + +GtkFrame + + +A bin with a decorative frame and optional label. + + + +The frame widget is a Bin that surrounds its child +with a decorative frame and an optional label. +If present, the label is drawn in a gap in the +top side of the frame. The position of the +label can be controlled with gtk_frame_set_label_align(). + + + + + + + + + + + + +@bin: +@label: +@shadow_type: +@label_width: +@label_height: +@label_xalign: +@label_yalign: + + + +Create a new Frame, with optional label @label. +If @label is %NULL, the label is omitted. + + +@label: +@Returns: + + + + + +Set the text of the label. If @label is %NULL, +the current label, if any, is removed. + + +@frame: +@label: + + + + +Set the alignment of the Frame widget's label. The +default value for a newly created Frame is 0.0. + + +@frame: The Frame widget. +@xalign: The position of the label along the top edge + of the widget. A value of 0.0 represents left alignment; + 1.0 represents right alignment. +@yalign: The y alignment of the label. Currently ignored. + + + + +Set the shadow type for the Frame widget. + + +@frame: The Frame widget. +@type: New shadow type. + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkgamma.sgml b/docs/reference/gtk/tmpl/gtkgamma.sgml new file mode 100644 index 0000000000..114c74548a --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkgamma.sgml @@ -0,0 +1,37 @@ + +GtkGammaCurve + + + + + + + + + + + + + + + + + + + +@vbox: +@table: +@curve: +@button: +@gamma: +@gamma_dialog: +@gamma_text: + + + + + + +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkgc.sgml b/docs/reference/gtk/tmpl/gtkgc.sgml new file mode 100644 index 0000000000..e1cd99b423 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkgc.sgml @@ -0,0 +1,36 @@ + +Graphics Contexts + + + + + + + + + + + + + + + + + + + +@depth: +@colormap: +@values: +@values_mask: +@Returns: + + + + + + + +@gc: + + diff --git a/docs/reference/gtk/tmpl/gtkhandlebox.sgml b/docs/reference/gtk/tmpl/gtkhandlebox.sgml new file mode 100644 index 0000000000..fdc52202fd --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkhandlebox.sgml @@ -0,0 +1,170 @@ + +GtkHandleBox + + +a widget for detachable window portions. + + + +The #GtkHandleBox widget allows a portion of a window to be "torn +off". It is a bin widget which displays its child and a handle that +the user can drag to tear off a separate window (the float +window) containing the child widget. A thin +ghost is drawn in the original location of the +handlebox. By dragging the separate window back to its original +location, it can be reattached. + + +When reattaching, the ghost and float window, must be aligned +along one of the edges, the snap edge. +This either can be specified by the application programmer +explicitely, or GTK+ will pick a reasonable default based +on the handle position. + + +To make detaching and reattaching the handlebox as minimally confusing +as possible to the user, it is important to set the snap edge so that +the snap edge does not move when the handlebox is deattached. For +instance, if the handlebox is packed at the bottom of a VBox, then +when the handlebox is detached, the bottom edge of the handlebox's +allocation will remain fixed as the height of the handlebox shrinks, +so the snap edge should be set to %GTK_POS_BOTTOM. + + + + + + + + + +The #GtkHandleBox-struct struct contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +GtkShadowType shadow_type; +The shadow type for the entry. (See gtk_handle_box_set_shadow_type()). + + + +GtkPositionType handle_position; +The position of the handlebox's handle with respect +to the child. (See gtk_handle_box_set_handle_position()) + + + +gint snap_edge; +A value of type #GtkPosition type indicating snap edge for the widget. +(See gtk_handle_box_set_snap_edge). The value of -1 indicates +that this value has not been set. + + +#gboolean child_detached; +A boolean value indicating whether the handlebox's +child is attached or detached. + + + + + + + + +@bin: +@bin_window: +@float_window: +@shadow_type: +@handle_position: +@float_window_mapped: +@child_detached: +@in_drag: +@shrink_on_detach: +@snap_edge: +@deskoff_x: +@deskoff_y: +@attach_allocation: +@float_allocation: + + + +Create a new handle box. + + +@Returns: a new #GtkHandleBox. + + + + +Sets the type of shadow to be drawn around the border +of the + + +@handle_box: a #GtkHandleBox +@type: the shadow type. + + + + +Sets the side of the handlebox where the handle is drawn. + + +@handle_box: a #GtkHandleBox +@position: the side of the handlebox where the handle should be drawn. + + + + +Sets the snap edge of a handlebox. The snap edge is +the edge of the detached child that must be aligned +with the corresponding edge of the "ghost" left +behind when the child was detached to reattach +the torn-off window. Usually, the snap edge should +be chosen so that it stays in the same place on +the screen when the handlebox is torn off. + + +If the snap edge is not set, then an appropriate value +will be guessed from the handle position. If the +handle position is %GTK_POS_RIGHT or %GTK_POS_LEFT, +then the snap edge will be %GTK_POS_TOP, otherwise +it will be %GTK_POS_LEFT. + + +@handle_box: a #GtkHandleBox +@edge: the snap edge, or -1 to unset the value; in which +case GTK+ will try to guess an appropriate value +in the future. + + + + +This signal is emitted when the contents of the +handlebox are reattached to the main window. + + +@handlebox: the object which received the signal. +@widget: the child widget of the handlebox. + (this argument provides no extra information + and is here only for backwards-compatibility) + + + +This signal is emitted when the contents of the +handlebox are detached from the main window. + + +@handlebox: the object which received the signal. +@widget: the child widget of the handlebox. + (this argument provides no extra information + and is here only for backwards-compatibility) + + + +Determines the shadow type for the handlebox. + + diff --git a/docs/reference/gtk/tmpl/gtkhbbox.sgml b/docs/reference/gtk/tmpl/gtkhbbox.sgml new file mode 100644 index 0000000000..0a67e4445d --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkhbbox.sgml @@ -0,0 +1,99 @@ + +GtkHButtonBox + + +a container for arranging button horizontally. + + + +A button box should be used to provide a consistent layout of buttons +throughout your application. There is one default layout and a default +spacing value that are persistant across all #HButtonBox widgets. + + +The layout/spacing can then be altered by the programmer, or if desired, by +the user to alter the 'feel' of a program to a small degree. + + +A #HButtonBox is created with gtk_hbutton_box_new(). Buttons are packed into +a button box the same way as any other box, using gtk_box_pack_start() or +gtk_box_pack_end(). + + +The default spacing between buttons can be set with +gtk_hbutton_box_set_spacing_default() and queried with +gtk_hbutton_box_get_spacing_default(). + + +The arrangement and layout of the buttons can be changed using +gtk_hbutton_box_set_layout_default() and queried with +gtk_hbutton_box_get_layout_default(). + + + + + + +#GtkBox +Used to pack widgets into button boxes. + +#GtkButtonBox +Provides functions for controlling button boxes. + + +#GtkVButtonBox +Pack buttons vertically + + + + + + +button_box is the #GtkHButtonBox widget itself and +should not be modified directly. + + +@button_box: + + + +Creates a new horizontal button box. + + +@Returns: a new button box #GtkWidget. + + + + +Retrieves the current default spacing for horizontal button boxes. This is the number of pixels +to be placed between the buttons when they are arranged. + + +@Returns: the default number of pixels between buttons. + + + + +Retrieves the current layout used to arrange buttons in button box widgets. + + +@Returns: the current #GtkButtonBoxStyle. + + + + +Changes the default spacing that is placed between widgets in an +horizontal button box. + + +@spacing: an integer value. + + + + +Sets a new layout mode that will be used by all button boxes. + + +@layout: a new #GtkButtonBoxStyle. + + diff --git a/docs/reference/gtk/tmpl/gtkhbox.sgml b/docs/reference/gtk/tmpl/gtkhbox.sgml new file mode 100644 index 0000000000..0fd5acff22 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkhbox.sgml @@ -0,0 +1,47 @@ + +GtkHBox + + +horizontal container box + + + +GtkHBox is a container that organizes child widgets into a single row. + + + +Use the #GtkBox packing interface to determine the arrangement, +spacing, width, and alignment of GtkHBox children. + + + +All children are allocated the same height. + + + + + + + +#GtkVBox +a sister class that organizes widgets into a column. + + + + + + + + +@box: + + + +Creates a new GtkHBox. + + +@homogeneous: %TRUE if all children are to be given equal space allotments. +@spacing: the number of pixels to place by default between children. +@Returns: a new GtkHBox. + + diff --git a/docs/reference/gtk/tmpl/gtkhpaned.sgml b/docs/reference/gtk/tmpl/gtkhpaned.sgml new file mode 100644 index 0000000000..369a0beaf3 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkhpaned.sgml @@ -0,0 +1,33 @@ + +GtkHPaned + + +A container with two panes arranged horizontally. + + + +The HPaned widget is a container widget with two +children arranged horizontally. The division between +the two panes is adjustable by the user by dragging +a handle. See #GtkPaned for details. + + + + + + + + + + + +@paned: + + + +Create a new #GtkHPaned + + +@Returns: the new #GtkHPaned + + diff --git a/docs/reference/gtk/tmpl/gtkhruler.sgml b/docs/reference/gtk/tmpl/gtkhruler.sgml new file mode 100644 index 0000000000..21658d405b --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkhruler.sgml @@ -0,0 +1,38 @@ + +GtkHRuler + + +A horizontal ruler. + + + +The HRuler widget is a widget arranged horizontally creating a ruler that is +utilized around other widgets such as a text widget. The ruler is used to show +the location of the mouse on the window and to show the size of the window in +specified units. The available units of measurement are GTK_PIXELS, GTK_INCHES +and GTK_CENTIMETERS. GTK_PIXELS is the default. +rulers. + + + + + + + + + + +The #GtkHRuler struct contains private data and should be accessed +with the functions below. + + +@ruler: + + + +Creates a new horizontal ruler. + + +@Returns: the new GTKHRuler. + + diff --git a/docs/reference/gtk/tmpl/gtkhscale.sgml b/docs/reference/gtk/tmpl/gtkhscale.sgml new file mode 100644 index 0000000000..9c9803d84b --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkhscale.sgml @@ -0,0 +1,45 @@ + +GtkHScale + + +a horizontal slider widget for selecting a value from a range. + + + +The #GtkHScale widget is used to allow the user to select a value using +a horizontal slider. +A #GtkAdjustment is used to set the initial value, the lower +and upper bounds, and the step and page increments. + + +The position to show the current value, and the number of decimal places +shown can be set using the parent #GtkScale class's functions. + + + + + + + + + +The #GtkHScale-struct struct contains private data only, and +should be accessed using the functions below. + + +@scale: + + + +Creates a new #GtkHScale. + + +@adjustment: the #GtkAdjustment which sets the range of the scale. +@Returns: a new #GtkHScale. + + + + +the #GtkAdjustment which sets the range of the scale. + + diff --git a/docs/reference/gtk/tmpl/gtkhscrollbar.sgml b/docs/reference/gtk/tmpl/gtkhscrollbar.sgml new file mode 100644 index 0000000000..fa0a60b6a9 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkhscrollbar.sgml @@ -0,0 +1,42 @@ + +GtkHScrollbar + + +A horizontal scrollbar + + + +The HScrollbar widget is a widget arranged horizontally creating a scroll +bar. See #GtkScrollbar for details on scrollbars. #GtkAdjustment pointers may be +added to handle the adjustment of the scrollbars or it may be left NULL in which +case one will be created you. See #GtkAdjustment for details. + + + + + + + + + + +The #GtkHScrollbar struct contains private data and should be accessed +unsing the functions below. + + +@scrollbar: + + + +Creates a new horizontal scrollbar. + + +@adjustment: +@Returns: the new GTKHScrollbar + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkhseparator.sgml b/docs/reference/gtk/tmpl/gtkhseparator.sgml new file mode 100644 index 0000000000..4c3dc810d3 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkhseparator.sgml @@ -0,0 +1,31 @@ + +GtkHSeparator + + + + + + + + + + + + + + + + + + + +@separator: + + + + + + +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkimage.sgml b/docs/reference/gtk/tmpl/gtkimage.sgml new file mode 100644 index 0000000000..476f4ae10e --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkimage.sgml @@ -0,0 +1,55 @@ + +GtkImage + + + + + + + + + + + + + + + + + + + +@misc: +@image: +@mask: + + + + + + +@val: +@mask: +@Returns: + + + + + + + +@image: +@val: +@mask: + + + + + + + +@image: +@val: +@mask: + + diff --git a/docs/reference/gtk/tmpl/gtkinputdialog.sgml b/docs/reference/gtk/tmpl/gtkinputdialog.sgml new file mode 100644 index 0000000000..065889214a --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkinputdialog.sgml @@ -0,0 +1,73 @@ + +GtkInputDialog + + +Configure devices for the XInput extension. + + + +#GtkInputDialog displays a dialog which allows the user +to configure XInput extension devices. For each +device, they can control the mode of the device +(disabled, screen-relative, or window-relative), +the mapping of axes to coordinates, and the +mapping of the devices macro keys to key press +events. + + +#GtkInputDialog contains two buttons to which +the application can connect; one for closing +the dialog, and one for saving the changes. +No actions are bound to these by default. +The changes that the user makes take effect +immediately. + + + + + + + + + + + +@dialog: +@axis_list: +@axis_listbox: +@mode_optionmenu: +@close_button: +@save_button: +@axis_items: +@current_device: +@keys_list: +@keys_listbox: + + + +Creates a new #GtkInputDialog. + + +@Returns: the new #GtkInputDialog. + + + + +This signal is emitted when the user changes the +mode of a device from #GDK_MODE_DISABLED to a +#GDK_MODE_SCREEN or #GDK_MODE_WINDOW. + + +@inputdialog: the object which received the signal. +@deviceid: The ID of the newly enabled device. + + + +This signal is emitted when the user changes the +mode of a device from a #GDK_MODE_SCREEN or #GDK_MODE_WINDOW +to #GDK_MODE_ENABLED. + + +@inputdialog: the object which received the signal. +@deviceid: The ID of the newly disabled device. + diff --git a/docs/reference/gtk/tmpl/gtkinvisible.sgml b/docs/reference/gtk/tmpl/gtkinvisible.sgml new file mode 100644 index 0000000000..692e4138c9 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkinvisible.sgml @@ -0,0 +1,31 @@ + +GtkInvisible + + + + + + + + + + + + + + + + + + + +@bin: + + + + + + +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkitem.sgml b/docs/reference/gtk/tmpl/gtkitem.sgml new file mode 100644 index 0000000000..42461654d4 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkitem.sgml @@ -0,0 +1,68 @@ + +GtkItem + + + + + + + + + + + + + + + + + + + +@bin: + + + + + + +@item: + + + + + + + +@item: + + + + + + + +@item: + + + + + + + +@item: the object which received the signal. + + + + + + +@item: the object which received the signal. + + + + + + +@item: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkitemfactory.sgml b/docs/reference/gtk/tmpl/gtkitemfactory.sgml new file mode 100644 index 0000000000..9eb4b7a368 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkitemfactory.sgml @@ -0,0 +1,358 @@ + +GtkItemFactory + + + + + + + + + + + + + + + + + + + +@object: +@path: +@accel_group: +@widget: +@items: +@translate_func: +@translate_data: +@translate_notify: + + + + + + +@func_data: +@str: + + + + + + + +@path: +@func_data: +@Returns: + + + + + + + + + + + + + + +@callback_data: +@callback_action: +@widget: + + + + + + + +@widget: +@callback_data: +@callback_action: + + + + + + + +@path: +@accelerator: +@callback: +@callback_action: +@item_type: + + + + + + +@path: +@accelerator_key: +@accelerator_mods: +@modified: +@in_propagation: +@dummy: +@widgets: + + + + + + +@container_type: +@path: +@accel_group: +@Returns: + + + + + + + +@ifactory: +@container_type: +@path: +@accel_group: + + + + + + + +@file_name: + + + + + + + +@rc_string: + + + + + + + +@scanner: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@Returns: + + + + + + + +@ifactory: +@path: +@Returns: + + + + + + + +@ifactory: +@action: +@Returns: + + + + + + + +@path_pspec: +@modified_only: +@print_func: +@func_data: + + + + + + + +@file_name: +@path_pspec: +@modified_only: + + + + + + + +@FILE_pointer: +@string: + + + + + + + +@ifactory: +@entry: +@callback_data: +@callback_type: + + + + + + + +@ifactory: +@n_entries: +@entries: +@callback_data: + + + + + + + +@ifactory: +@n_entries: +@entries: +@callback_data: +@callback_type: + + + + + + + +@ifactory: +@path: + + + + + + + +@ifactory: +@entry: + + + + + + + +@ifactory: +@n_entries: +@entries: + + + + + + + +@ifactory: +@x: +@y: +@mouse_button: +@time: + + + + + + + +@ifactory: +@popup_data: +@destroy: +@x: +@y: +@mouse_button: +@time: + + + + + + + +@ifactory: +@Returns: + + + + + + + +@widget: +@Returns: + + + + + + + +@path: +@Returns: + + + + + + + +@n_entries: +@entries: + + + + + + + +@ifactory_path: +@path: + + + + + + + +@ifactory: +@func: +@data: +@notify: + + diff --git a/docs/reference/gtk/tmpl/gtklabel.sgml b/docs/reference/gtk/tmpl/gtklabel.sgml new file mode 100644 index 0000000000..6d5c308352 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtklabel.sgml @@ -0,0 +1,146 @@ + +GtkLabel + + +A widget that displays a small to medium amount of text. + + + +The #GtkLabel widget is usually used directly by the programmer to display +word(s) describing an adjacent widget or its use. It is also used internally +by Gtk+ as #GtkButton labels, #GtkMenu items, and many other widgets which +use text. + + + + + + + + + +This should not be accessed directly. Use the accessor functions as +described below. + + +@misc: +@label: +@label_wc: +@pattern: +@words: +@max_width: +@jtype: +@wrap: + + + +Internal to #GtkLabel. + + + + + +Creates a new label with the given string of text inside it. You can +pass NULL to get an empty label widget. + + +@str: The string you want to display in the #GtkLabel +@Returns: The newly allocated #GtkLabel widget + + + + +Aliases gtk_label_set_text. Probably used for backward compatibility with +Gtk+ 1.0.x. + + + + + + +The pattern of underlines you want under the existing text within the +#GtkLabel widget. For example if the current text of the label says +"FooBarBaz" passing a pattern of "___ ___" will underline +"Foo" and "Baz" but not "Bar". + + +@label: The #GtkLabel you want to set the pattern to. +@pattern: The pattern as described above. + + + + +Set where the text within the #GtkLabel will align to. This can be one of +four values: GTK_JUSTIFY_LEFT, GTK_JUSTIFY_RIGHT, GTK_JUSTIFY_CENTER, +and GTK_JUSTIFY_FILL. GTK_JUSTIFY_CENTER is the default value when the +widget is first created with gtk_label_new(). + + +@label: The #GtkLabel widget you want to set justification for. +@jtype: The #GtkJustification type as described above. + + + + +Gets the current string of text within the #GtkLabel and writes it to +the given str argument. It does not make a copy of this string so you +must not write to it. + + +@label: The #GtkLabel widget you want to get the text from. +@str: The reference to the pointer you want to point to the text. + + + + +Parses the given string for underscores and converts the next +character to an underlined character. The last character that +was underlined will have its lower-cased accelerator keyval returned (i.e. +"_File" would return the keyval for "f". This is +probably only used within the Gtk+ library itself for menu items and such. + + +@label: The #GtkLabel you want to affect. +@string: The string you want to parse for underlines. +@Returns: The lowercase keyval of the last character underlined. + + + + +Toggles line wrapping within the #GtkLabel widget. TRUE makes it break +lines if text exceeds the widget's size. FALSE lets the text get cut off +by the edge of the widget if it exceeds the widget size. + + +@label: The #GtkLabel you want to set line wrapping for. +@wrap: TRUE turns it on; FALSE turns it off. + + + + +Sets the text within the #GtkLabel widget. It overwrites any text that +was there before. Note that underlines that were there before do not +get overwritten. If you want to erase underlines just send NULL to +gtk_label_set_pattern(). + + +@label: The #GtkLabel you want to set the text for. +@str: The text you want to add. + + + + +The actual label text. Do not write to this pointer, it is not copied. + + + + +The pattern of underlines under the existing text. Do not change the +pointer, it isn't copied. + + + + +The #GtkJustification setting. See gtk_label_set_justify() for more info. + + diff --git a/docs/reference/gtk/tmpl/gtklayout.sgml b/docs/reference/gtk/tmpl/gtklayout.sgml new file mode 100644 index 0000000000..dc058a3e6d --- /dev/null +++ b/docs/reference/gtk/tmpl/gtklayout.sgml @@ -0,0 +1,130 @@ + +GtkLayout + + + + + + + + + + + + + + + + + + + +@container: +@children: +@width: +@height: +@xoffset: +@yoffset: +@hadjustment: +@vadjustment: +@bin_window: +@visibility: +@configure_serial: +@scroll_x: +@scroll_y: +@freeze_count: + + + + + + +@hadjustment: +@vadjustment: +@Returns: + + + + + + + +@layout: +@widget: +@x: +@y: + + + + + + + +@layout: +@widget: +@x: +@y: + + + + + + + +@layout: +@width: +@height: + + + + + + + +@layout: + + + + + + + +@layout: + + + + + + + +@layout: +@Returns: + + + + + + + +@layout: +@Returns: + + + + + + + +@layout: +@adjustment: + + + + + + + +@layout: +@adjustment: + + diff --git a/docs/reference/gtk/tmpl/gtklist.sgml b/docs/reference/gtk/tmpl/gtklist.sgml new file mode 100644 index 0000000000..a640713ca3 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtklist.sgml @@ -0,0 +1,283 @@ + +GtkList + + + + + + + + + + + + + + + + + + + +@container: +@children: +@selection: +@undo_selection: +@undo_unselection: +@last_focus_child: +@undo_focus_child: +@htimer: +@vtimer: +@anchor: +@drag_pos: +@anchor_state: +@selection_mode: +@drag_selection: +@add_mode: + + + + + + +@Returns: + + + + + + + +@list: +@items: +@position: + + + + + + + +@list: +@items: + + + + + + + +@list: +@items: + + + + + + + +@list: +@items: + + + + + + + +@list: +@items: + + + + + + + +@list: +@start: +@end: + + + + + + + +@list: +@item: + + + + + + + +@list: +@item: + + + + + + + +@list: +@child: + + + + + + + +@list: +@child: + + + + + + + +@list: +@child: +@Returns: + + + + + + + +@list: +@mode: + + + + + + + +@list: +@scroll_type: +@position: +@auto_start_selection: + + + + + + + +@list: + + + + + + + +@list: + + + + + + + +@list: + + + + + + + +@list: + + + + + + + +@list: +@scroll_type: +@position: + + + + + + + +@list: +@scroll_type: +@position: + + + + + + + +@list: + + + + + + + +@list: + + + + + + + +@list: +@item: + + + + + + + +@list: + + + + + + + +@list: + + + + + + + +@list: the object which received the signal. + + + + + + +@list: the object which received the signal. +@widget: + + + + + + +@list: the object which received the signal. +@widget: + diff --git a/docs/reference/gtk/tmpl/gtklistitem.sgml b/docs/reference/gtk/tmpl/gtklistitem.sgml new file mode 100644 index 0000000000..f4b7585568 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtklistitem.sgml @@ -0,0 +1,133 @@ + +GtkListItem + + + + + + + + + + + + + + + + + + + +@item: + + + + + + +@Returns: + + + + + + + +@label: +@Returns: + + + + + + + +@list_item: + + + + + + + +@list_item: + + + + + + + +@listitem: the object which received the signal. + + + + + + +@listitem: the object which received the signal. + + + + + + +@listitem: the object which received the signal. + + + + + + +@listitem: the object which received the signal. + + + + + + +@listitem: the object which received the signal. + + + + + + +@listitem: the object which received the signal. + + + + + + +@listitem: the object which received the signal. + + + + + + +@listitem: the object which received the signal. +@scroll_type: +@position: +@auto_start_selection: + + + + + + +@listitem: the object which received the signal. +@scroll_type: +@position: + + + + + + +@listitem: the object which received the signal. +@scroll_type: +@position: + diff --git a/docs/reference/gtk/tmpl/gtkmain.sgml b/docs/reference/gtk/tmpl/gtkmain.sgml new file mode 100644 index 0000000000..d75ab873c3 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkmain.sgml @@ -0,0 +1,414 @@ + +General + + + + + + + + + + + + + + + + + + + +@Returns: + + + + + + + +@argc: +@argv: + + + + + + + +@argc: +@argv: +@Returns: + + + + + + + +@error_code: + + + + + + + +@Returns: + + + + + + + + + + + + + + +@Returns: + + + + + + + + + + + + + + +@Returns: + + + + + + + +@blocking: +@Returns: + + + + + + + +@event: + + + + + + + +@argc: +@argv: + + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@widget: + + + + + + + +@Returns: + + + + + + + +@widget: + + + + + + + +@function: +@data: + + + + + + + +@main_level: +@object: + + + + + + + +@main_level: +@function: +@data: +@Returns: + + + + + + + +@main_level: +@function: +@marshal: +@data: +@destroy: +@Returns: + + + + + + + +@quit_handler_id: + + + + + + + +@data: + + + + + + + +@interval: +@function: +@marshal: +@data: +@destroy: +@Returns: + + + + + + + +@interval: +@function: +@data: +@Returns: + + + + + + + +@timeout_handler_id: + + + + + + + +@function: +@data: +@Returns: + + + + + + + +@priority: +@function: +@data: +@Returns: + + + + + + + +@priority: +@function: +@marshal: +@data: +@destroy: +@Returns: + + + + + + + +@idle_handler_id: + + + + + + + +@data: + + + + + + + +@source: +@condition: +@function: +@marshal: +@data: +@destroy: +@Returns: + + + + + + + +@input_handler_id: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@snooper: +@func_data: +@Returns: + + + + + + + +@grab_widget: +@event: +@func_data: +@Returns: + + + + + + + +@snooper_handler_id: + + + + + + + +@Returns: + + + + + + + +@event: +@Returns: + + + + + + + +@widget: +@event: + + diff --git a/docs/reference/gtk/tmpl/gtkmarshal.sgml b/docs/reference/gtk/tmpl/gtkmarshal.sgml new file mode 100644 index 0000000000..288a5cb459 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkmarshal.sgml @@ -0,0 +1,482 @@ + +Signal Marshallers + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + + + + + + +@object: +@func: +@func_data: +@args: + + diff --git a/docs/reference/gtk/tmpl/gtkmenu.sgml b/docs/reference/gtk/tmpl/gtkmenu.sgml new file mode 100644 index 0000000000..7411912cbc --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkmenu.sgml @@ -0,0 +1,287 @@ + +GtkMenu + + +a drop down menu widget. + + + +A #GtkMenu is a #GtkMenuShell that implements a drop down menu consisting of +a list of #GtkMenuItem objects which can be navigated and activated by the +user to perform application functions. + + + +A #GtkMenu is most commonly dropped down by activating a #GtkMenuItem in a +#GtkMenuBar or popped up by activating a #GtkMenuItem in another #GtkMenu. + + + +A #GtkMenu can also be popped up by activating a #GtkOptionMenu. +Other composite widgets such as the #GtkNotebook can pop up a #GtkMenu +as well. + + + +Applications can display a #GtkMenu as a popup menu by calling the +gtk_menu_popup() function. The example below shows how an application +can pop up a menu when the 3rd mouse button is pressed. + + + +Connecting the popup signal handler. + + /* connect our handler which will popup the menu */ + gtk_signal_connect_object(GTK_OBJECT(window), "button_press_event", + GTK_SIGNAL_FUNC (my_popup_handler), GTK_OBJECT(menu)); + + + + +Signal handler which displays a popup menu. + +static gint +my_popup_handler(GtkWidget *widget, GdkEvent *event) +{ + GtkMenu *menu; + GdkEventButton *event_button; + + g_return_val_if_fail (widget != NULL, FALSE); + g_return_val_if_fail (GTK_IS_MENU (widget), FALSE); + g_return_val_if_fail (event != NULL, FALSE); + + /* The "widget" is the menu that was supplied when + * gtk_signal_connect_object was called. + */ + menu = GTK_MENU (widget); + + if (event->type == GDK_BUTTON_PRESS) + { + event_button = (GdkEventButton *) event; + if (event_button->button == 3) + { + gtk_menu_popup (menu, NULL, NULL, NULL, NULL, + event_button->button, event_button->time); + return TRUE; + } + } + + return FALSE; +} + + + + + + + + + + +The #GtkMenu-struct struct contains private data only, and +should be accessed using the functions below. + + +@menu_shell: +@parent_menu_item: +@old_active_menu_item: +@accel_group: +@position_func: +@position_func_data: +@toplevel: +@tearoff_window: +@torn_off: + + + +Creates a new #GtkMenu. + + +@Returns: a new #GtkMenu. + + + + +Adds a new #GtkMenuItem to the end of the menu's item list. + + +@menu: a #GtkMenu. +@child: The #GtkMenuItem to add. + + + + +Adds a new #GtkMenuItem to the beginning of the menu's item list. + + +@menu: a #GtkMenu. +@child: The #GtkMenuItem to add. + + + + +Adds a new #GtkMenuItem to the menu's item list at the position +indicated by @position. + + +@menu: a #GtkMenu. +@child: The #GtkMenuItem to add. +@position: The position in the item list where @child is added. +Positions are numbered from 0 to n-1. + + + + +Moves a #GtkMenuItem to a new position within the #GtkMenu. + + +@menu: a #GtkMenu. +@child: the #GtkMenuItem to move. +@position: the new position to place @child. Positions are numbered from +0 to n-1. + + + + +Displays a menu and makes it available for selection. Applications can use +this function to display context-sensitive menus, and will typically supply +NULL for the @parent_menu_shell, @parent_menu_item, @func and @data +parameters. The default menu positioning function will position the menu +at the current pointer position. + + +@menu: a #GtkMenu. +@parent_menu_shell: the menu shell containing the triggering menu item. +@parent_menu_item: the menu item whose activation triggered the popup. +@func: a user supplied function used to position the menu. +@data: user supplied data to be passed to @func. +@button: the button which was pressed to initiate the event. +@activate_time: the time at which the activation event occurred. + + + + +Set the #GtkAccelGroup which holds global accelerators for the menu. + + +@menu: a #GtkMenu. +@accel_group: the #GtkAccelGroup to be associated with the menu. + + + + +Sets the title string for the menu. The title is displayed when the menu +is shown as a tearoff menu. + + +@menu: a #GtkMenu. +@title: a string containing the title for the menu. + + + + +Removes the menu from the screen. + + +@menu: a #GtkMenu. + + + + +Repositions the menu according to its position function. + + +@menu: a #GtkMenu. + + + + +Returns the selected menu item from the menu. This is used by the +#GtkOptionMenu. + + +@menu: a #GtkMenu. +@Returns: the #GtkMenuItem that was last selected in the menu. If a +selection has not yet been made, the first menu item is selected. + + + + +Selects the specified menu item within the menu. This is used by the +#GtkOptionMenu. + + +@menu: a #GtkMenu. +@index: the index of the menu item to select. Index values are from +0 to n-1. + + + + +Changes the tearoff state of the menu. A menu is normally displayed +as drop down menu which persists as long as the menu is active. It can +also be displayed as a tearoff menu which persists until it is closed +or reattached. + + +@menu: a #GtkMenu. +@torn_off: If TRUE, menu is displayed as a tearoff menu. + + + + +Attaches the menu to the widget and provides a callback function that will +be invoked when the menu calls gtk_menu_detach() during its destruction. + + +@menu: a #GtkMenu. +@attach_widget: the #GtkWidget that the menu will be attached to. +@detacher: the user supplied callback function that will be called when +the menu calls gtk_menu_detach(). + + + + +Detaches the menu from the widget to which it had been attached. +This function will call the callback function, @detacher, provided +when the gtk_menu_attach_to_widget() function was called. + + +@menu: a #GtkMenu. + + + + +Returns the #GtkWidget that the menu is attached to. + + +@menu: a #GtkMenu. +@Returns: the #GtkWidget that the menu is attached to. + + + + +A user function supplied when calling gtk_menu_popup() which controls the +positioning of the menu when it is displayed. The function sets the @x +and @y parameters to the coordinates where the menu is to be drawn. + + +@menu: a #GtkMenu. +@x: address of the #gint representing the horizontal position where the +menu shall be drawn. This is an output parameter. +@y: address of the #gint representing the vertical position where the +menu shall be drawn. This is an output parameter. +@user_data: the data supplied by the user in the gtk_menu_popup() @data +parameter. + + + + +A user function supplied when calling gtk_menu_attach_to_widget() which +will be called when the menu is later detached from the widget. + + +@attach_widget: the #GtkWidget that the menu is being detached from. +@menu: the #GtkMenu being detached. + + diff --git a/docs/reference/gtk/tmpl/gtkmenubar.sgml b/docs/reference/gtk/tmpl/gtkmenubar.sgml new file mode 100644 index 0000000000..d26a5bd690 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkmenubar.sgml @@ -0,0 +1,74 @@ + +GtkMenuBar + + + + + + + + + + + + + + + + + + + +@menu_shell: +@shadow_type: + + + + + + +@Returns: + + + + + + + +@menu_bar: +@child: + + + + + + + +@menu_bar: +@child: + + + + + + + +@menu_bar: +@child: +@position: + + + + + + + +@menu_bar: +@type: + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkmenufactory.sgml b/docs/reference/gtk/tmpl/gtkmenufactory.sgml new file mode 100644 index 0000000000..77a9754c46 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkmenufactory.sgml @@ -0,0 +1,132 @@ + +Menu Factory + + + + + + + + + + + + + + + + + + + +@widget: +@user_data: + + + + + + + +@path: +@accelerator: +@callback: +@callback_data: +@widget: + + + + + + +@path: +@widget: + + + + + + +@path: +@type: +@accel_group: +@widget: +@subfactories: + + + + + + +@type: +@Returns: + + + + + + + +@factory: + + + + + + + +@factory: +@entries: +@nentries: + + + + + + + +@factory: +@subfactory: +@path: + + + + + + + +@factory: +@paths: +@npaths: + + + + + + + +@factory: +@entries: +@nentries: + + + + + + + +@factory: +@subfactory: +@path: + + + + + + + +@factory: +@path: +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkmenuitem.sgml b/docs/reference/gtk/tmpl/gtkmenuitem.sgml new file mode 100644 index 0000000000..2eed9a2436 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkmenuitem.sgml @@ -0,0 +1,132 @@ + +GtkMenuItem + + + + + + + + + + + + + + + + + + + +@item: +@submenu: +@accelerator_signal: +@toggle_size: +@accelerator_width: +@show_toggle_indicator: +@show_submenu_indicator: +@submenu_placement: +@submenu_direction: +@right_justify: +@timer: + + + + + + +@Returns: + + + + + + + +@label: +@Returns: + + + + + + + +@menu_item: +@submenu: + + + + + + + +@menu_item: + + + + + + + +@menu_item: +@placement: + + + + + + + +@menu_item: +@show_toggle_indicator: +@show_submenu_indicator: + + + + + + + +@menu_item: + + + + + + + +@menu_item: + + + + + + + +@menu_item: + + + + + + + +@menu_item: + + + + + + + +@menuitem: the object which received the signal. + + + + + + +@menuitem: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkmenushell.sgml b/docs/reference/gtk/tmpl/gtkmenushell.sgml new file mode 100644 index 0000000000..cad3bdefe2 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkmenushell.sgml @@ -0,0 +1,191 @@ + +GtkMenuShell + + +a base class for menu objects. + + + +A #GtkMenuShell is the abstract base class used to derive the +#GtkMenu and #GtkMenuBar subclasses. + + + +A #GtkMenuShell is a container of #GtkMenuItem objects arranged in a +list which can be navigated, selected, and activated by the user to perform +application functions. A #GtkMenuItem can have a submenu associated with it, +allowing for nested hierarchical menus. + + + + + + + + + +The #GtkMenuShell-struct struct contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +#GList *children; +The list of #GtkMenuItem objects contained by this #GtkMenuShell. + + + + + +@container: +@children: +@active_menu_item: +@parent_menu_shell: +@active: +@have_grab: +@have_xgrab: +@button: +@ignore_leave: +@menu_flag: +@ignore_enter: +@activate_time: + + + +Adds a new #GtkMenuItem to the end of the menu shell's item list. + + +@menu_shell: a #GtkMenuShell. +@child: The #GtkMenuItem to add. + + + + +Adds a new #GtkMenuItem to the beginning of the menu shell's item list. + + +@menu_shell: a #GtkMenuShell. +@child: The #GtkMenuItem to add. + + + + +Adds a new #GtkMenuItem to the menu shell's item list at the position +indicated by @position. + + +@menu_shell: a #GtkMenuShell. +@child: The #GtkMenuItem to add. +@position: The position in the item list where @child is added. +Positions are numbered from 0 to n-1. + + + + +Deactivates the menu shell. Typically this results in the menu shell +being erased from the screen. + + +@menu_shell: a #GtkMenuShell. + + + + +Selects the menu item from the menu shell. + + +@menu_shell: a #GtkMenuShell. +@menu_item: The #GtkMenuItem to select. + + + + +Activates the menu item within the menu shell. + + +@menu_shell: a #GtkMenuShell. +@menu_item: The #GtkMenuItem to activate. +@force_deactivate: If TRUE, force the deactivation of the menu shell +after the menu item is activated. + + + + +An enumeration representing directional movements within a menu. + + + + + + +GTK_MENU_DIR_PARENT +To the parent menu shell. + + + +GTK_MENU_DIR_CHILD +To the submenu, if any, associated with the item. + + + +GTK_MENU_DIR_NEXT +To the next menu item. + + + +GTK_MENU_DIR_PREV +To the previous menu item. + + + + + +@GTK_MENU_DIR_PARENT: +@GTK_MENU_DIR_CHILD: +@GTK_MENU_DIR_NEXT: +@GTK_MENU_DIR_PREV: + + + +This signal is emitted when a menu shell is deactivated. + + +@menushell: the object which received the signal. + + + +This signal is emitted when a selection has been completed within a menu +shell. + + +@menushell: the object which received the signal. + + + +An action signal which moves the current menu item in the direction +specified by @direction. + + +@menushell: the object which received the signal. +@direction: the direction to move. + + + +An action signal that activates the current menu item within the menu +shell. + + +@menushell: the object which received the signal. +@force_hide: if TRUE, hide the menu after activating the menu item. + + + +An action signal which cancels the selection within the menu shell. +Causes the GtkMenuShell::selection-done signal to be emitted. + + +@menushell: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtkmisc.sgml b/docs/reference/gtk/tmpl/gtkmisc.sgml new file mode 100644 index 0000000000..10f5662c6c --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkmisc.sgml @@ -0,0 +1,109 @@ + +GtkMisc + + +a base class for widgets with alignments and padding. + + + +The #GtkMisc widget is an abstract widget which is not useful itself, but +is used to derive subclasses which have alignment and padding attributes. + + +The horizontal and vertical padding attributes allows extra space to be +added around the widget. + + +The horizontal and vertical alignment attributes enable the widget to be +positioned within its allocated area. Note that if the widget is added to +a container in such a way that it expands automatically to fill its +allocated area, the alignment settings will not alter the widgets position. + + + + + + + + + +The #GtkMisc-struct struct contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +#gfloat xalign; +the horizontal alignment, from 0 (left) to 1 (right). + + + +#gfloat yalign; +the vertical alignment, from 0 (top) to 1 (bottom). + + + +#guint16 xpad; +the amount of space to add on the left and right of the widget, +in pixels. + + + +#guint16 ypad; +the amount of space to add on the top and bottom of the widget, +in pixels. + + + + +@widget: +@xalign: +@yalign: +@xpad: +@ypad: + + + +Sets the alignment of the widget. + + +@misc: a #GtkMisc. +@xalign: the horizontal alignment, from 0 (left) to 1 (right). +@yalign: the vertical alignment, from 0 (top) to 1 (bottom). + + + + +Sets the amount of space to add around the widget. + + +@misc: a #GtkMisc. +@xpad: the amount of space to add on the left and right of the widget, +in pixels. +@ypad: the amount of space to add on the top and bottom of the widget, +in pixels. + + + + +the horizontal alignment, from 0 (left) to 1 (right). + + + + +the vertical alignment, from 0 (top) to 1 (bottom). + + + + +the amount of space to add on the left and right of the widget, in pixels. + + + + +the amount of space to add on the top and bottom of the widget, in pixels. + + diff --git a/docs/reference/gtk/tmpl/gtknotebook.sgml b/docs/reference/gtk/tmpl/gtknotebook.sgml new file mode 100644 index 0000000000..dc6014b070 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtknotebook.sgml @@ -0,0 +1,446 @@ + +GtkNotebook + + + + + + + + + + + + + + + + + + + +@container: +@cur_page: +@children: +@first_tab: +@focus_tab: +@menu: +@panel: +@timer: +@tab_hborder: +@tab_vborder: +@show_tabs: +@homogeneous: +@show_border: +@tab_pos: +@scrollable: +@in_child: +@click_child: +@button: +@need_timer: +@child_has_focus: +@have_visible_child: + + + + + + +@_glist_: + + + + + + + +@child: +@tab_label: +@menu_label: +@default_menu: +@default_tab: +@expand: +@fill: +@pack: +@requisition: +@allocation: + + + + + + +@Returns: + + + + + + + +@notebook: +@child: +@tab_label: + + + + + + + +@notebook: +@child: +@tab_label: +@menu_label: + + + + + + + +@notebook: +@child: +@tab_label: + + + + + + + +@notebook: +@child: +@tab_label: +@menu_label: + + + + + + + +@notebook: +@child: +@tab_label: +@position: + + + + + + + +@notebook: +@child: +@tab_label: +@menu_label: +@position: + + + + + + + +@notebook: +@page_num: + + + + + + + + + + + + + + +@notebook: +@child: +@Returns: + + + + + + + +@notebook: +@page_num: + + + + + + + +@notebook: + + + + + + + +@notebook: + + + + + + + +@notebook: +@child: +@position: + + + + + + + +@notebook: +@pos: + + + + + + + +@notebook: +@show_tabs: + + + + + + + +@notebook: +@show_border: + + + + + + + +@notebook: +@scrollable: + + + + + + + +@notebook: +@border_width: + + + + + + + +@notebook: + + + + + + + +@notebook: + + + + + + + +@notebook: +@Returns: + + + + + + + +@notebook: +@child: +@Returns: + + + + + + + +@notebook: +@page_num: +@Returns: + + + + + + + +@notebook: +@child: +@Returns: + + + + + + + +@notebook: +@child: +@expand: +@fill: +@pack_type: + + + + + + + +@notebook: +@homogeneous: + + + + + + + +@notebook: +@child: +@menu_label: + + + + + + + +@notebook: +@child: +@menu_text: + + + + + + + +@notebook: +@tab_hborder: + + + + + + + +@notebook: +@child: +@tab_label: + + + + + + + +@notebook: +@child: +@expand: +@fill: +@pack_type: + + + + + + + +@notebook: +@child: +@tab_text: + + + + + + + +@notebook: +@tab_vborder: + + + + + + + +@notebook: the object which received the signal. +@page: +@page_num: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkobject.sgml b/docs/reference/gtk/tmpl/gtkobject.sgml new file mode 100644 index 0000000000..c4d5a576e1 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkobject.sgml @@ -0,0 +1,531 @@ + +GtkObject + + + + + + + + + + + + + + + + + + + +@klass: +@flags: +@ref_count: +@object_data: + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@GTK_DESTROYED: +@GTK_FLOATING: +@GTK_CONNECTED: +@GTK_CONSTRUCTED: + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: +@flag: + + + + + + + +@obj: +@flag: + + + + + + + +@GTK_ARG_READABLE: +@GTK_ARG_WRITABLE: +@GTK_ARG_CONSTRUCT: +@GTK_ARG_CONSTRUCT_ONLY: +@GTK_ARG_CHILD_ARG: +@GTK_ARG_MASK: +@GTK_ARG_READWRITE: + + + + + + +@klass: +@name: +@signal_flags: +@marshaller: +@return_val: +@nparams: +@Varargs: +@Returns: + + + + + + + +@klass: +@name: +@signal_flags: +@marshaller: +@return_val: +@nparams: +@params: +@Returns: + + + + + + + +@type: +@first_arg_name: +@Varargs: +@Returns: + + + + + + + +@object_type: +@n_args: +@args: +@Returns: + + + + + + + +@object: + + + + + + + +@object: + + + + + + + +@object: + + + + + + + +@object: + + + + + + + +@object: + + + + + + + +@object: +@notify: +@data: + + + + + + + +@object: +@notify: +@data: + + + + + + + +@object: + + + + + + + +@object: +@n_args: +@args: + + + + + + + +@object: +@first_arg_name: +@Varargs: + + + + + + + +@object: +@n_args: +@args: + + + + + + + +@class_type: +@arg_flags: +@n_args: +@Returns: + + + + + + + +@object: +@key: +@data: + + + + + + + +@object: +@key: +@data: +@destroy: + + + + + + + +@object: +@key: + + + + + + + +@object: +@key: +@Returns: + + + + + + + +@object: +@key: + + + + + + + +@object: +@data: + + + + + + + +@object: +@Returns: + + + + + + + +@klass: +@signals: +@nsignals: + + + + + + + +@arg_name: +@arg_type: +@arg_flags: +@arg_id: + + + + + + + +@object: +@data_id: +@data: + + + + + + + +@object: +@data_id: +@data: +@destroy: + + + + + + + +@object: +@data_id: +@Returns: + + + + + + + +@object: +@data_id: + + + + + + + +@object: +@key_id: + + + + + + + + + + + + + + + + + + + + + +@object: +@arg: +@info: + + + + + + + +@object: +@arg: +@info: + + + + + + + +@object_type: +@arg_list_p: +@info_list_p: +@first_arg_name: +@var_args: +@Returns: + + + + + + + +@object_type: +@arg_name: +@info_p: +@Returns: + + + + + + + +@object: +@func: +@dummy: +@line: +@do_ref: + + + + + + + +@object: the object which received the signal. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkoptionmenu.sgml b/docs/reference/gtk/tmpl/gtkoptionmenu.sgml new file mode 100644 index 0000000000..429a319f48 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkoptionmenu.sgml @@ -0,0 +1,76 @@ + +GtkOptionMenu + + +a widget used to choose from a list of valid choices. + + + +A #GtkOptionMenu is a widget that allows the user to choose from a +list of valid choices. The #GtkOptionMenu displays the selected +choice. When activated the #GtkOptionMenu displays a popup #GtkMenu +which allows the user to make a new choice. + + + + + + + +The #GtkOptionMenu-struct struct contains private data only, and +should be accessed using the functions below. + + +@button: +@menu: +@menu_item: +@width: +@height: + + + +Creates a new #GtkOptionMenu. + + +@Returns: a new #GtkOptionMenu. + + + + +Returns the #GtkMenu associated with the #GtkOptionMenu. + + +@option_menu: a #GtkOptionMenu. +@Returns: the #GtkMenu associated with the #GtkOptionMenu. + + + + +Provides the #GtkMenu that is popped up to allow the user to choose +a new value. You should provide a simple menu avoiding the +use of tearoff menu items, submenus, and accelerators. + + +@option_menu: a #GtkOptionMenu. +@menu: the #GtkMenu to associate with the #GtkOptionMenu. + + + + +Removes the menu from the option menu. + + +@option_menu: a #GtkOptionMenu. + + + + +Selects the menu item specified by @index making it the newly +selected value for the option menu. + + +@option_menu: a #GtkOptionMenu. +@index: the index of the menu item to select. Index values are from +0 to n-1. + + diff --git a/docs/reference/gtk/tmpl/gtkpacker.sgml b/docs/reference/gtk/tmpl/gtkpacker.sgml new file mode 100644 index 0000000000..d9a0fdde06 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkpacker.sgml @@ -0,0 +1,227 @@ + +GtkPacker + + + + + + + + + + + + + + + + + + + +@parent: +@children: +@spacing: +@default_border_width: +@default_pad_x: +@default_pad_y: +@default_i_pad_x: +@default_i_pad_y: + + + + + + +@GTK_PACK_EXPAND: +@GTK_FILL_X: +@GTK_FILL_Y: + + + + + + +@GTK_SIDE_TOP: +@GTK_SIDE_BOTTOM: +@GTK_SIDE_LEFT: +@GTK_SIDE_RIGHT: + + + + + + +@GTK_ANCHOR_CENTER: +@GTK_ANCHOR_NORTH: +@GTK_ANCHOR_NORTH_WEST: +@GTK_ANCHOR_NORTH_EAST: +@GTK_ANCHOR_SOUTH: +@GTK_ANCHOR_SOUTH_WEST: +@GTK_ANCHOR_SOUTH_EAST: +@GTK_ANCHOR_WEST: +@GTK_ANCHOR_EAST: +@GTK_ANCHOR_N: +@GTK_ANCHOR_NW: +@GTK_ANCHOR_NE: +@GTK_ANCHOR_S: +@GTK_ANCHOR_SW: +@GTK_ANCHOR_SE: +@GTK_ANCHOR_W: +@GTK_ANCHOR_E: + + + + + + +@widget: +@anchor: +@side: +@options: +@use_default: +@border_width: +@pad_x: +@pad_y: +@i_pad_x: +@i_pad_y: + + + + + + +@Returns: + + + + + + + +@packer: +@child: +@side: +@anchor: +@options: + + + + + + + +@packer: +@child: +@side: +@anchor: +@options: +@border_width: +@pad_x: +@pad_y: +@i_pad_x: +@i_pad_y: + + + + + + + + + + + + + + +@packer: +@child: +@position: + + + + + + + +@packer: +@spacing: + + + + + + + +@packer: +@border: + + + + + + + +@packer: +@pad_x: +@pad_y: + + + + + + + +@packer: +@i_pad_x: +@i_pad_y: + + + + + + + +@packer: +@child: +@side: +@anchor: +@options: +@border_width: +@pad_x: +@pad_y: +@i_pad_x: +@i_pad_y: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkpaned.sgml b/docs/reference/gtk/tmpl/gtkpaned.sgml new file mode 100644 index 0000000000..63d2f3c549 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkpaned.sgml @@ -0,0 +1,198 @@ + +GtkPaned + + +Base class for widgets with two adjustable panes + + + +GtkPaned is the base class for widgets with two panes, +arranged either horizontally (#GtkHPaned) or +vertically (#GtkVPaned). Child widgets are +added to the panes of the widget with +gtk_paned_pack1() and gtk_paned_pack2(). The division +beween the two children is set by default from the +size requests of the children, but it can be adjusted +by the user. + + +A paned widget draws a separator between the two +child widgets and a small handle that the user +can drag to adjust the division. It does not +draw any relief around the children or around +the separator. (The space in which the separator +is called the gutter). Often, it is useful +to put each child inside a #GtkFrame with the +shadow type set to %GTK_SHADOW_IN so that the +gutter appears as a ridge. + +Each child has two options that can be set, +@resize and @shrink. If @resize is true, then when the +#GtkPaned is resized, that child will expand +or shrink along with the paned widget. If @shrink +is true, then when that child can be made smaller +than it's requisition by the user. Setting @shrink +to FALSE allows the application to set a minimum +size. If @resize is false for both children, then +this is treated as if @resize is true for both +children. + + +The application can set the position of the slider +as if it were set by the user, by calling +gtk_paned_set_position(). + + + + Creating a paned widget with minimum sizes + +GtkWidget *hpaned = gtk_hpaned_new(); +GtkWidget *frame1 = gtk_frame_new(NULL); +GtkWidget *frame2 = gtk_frame_new(NULL); +gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_IN); +gtk_frame_set_shadow_type (GTK_FRAME (frame2), GTK_SHADOW_IN); + +gtk_widget_set_usize (hpaned, 200 + GTK_PANED (hpaned)->gutter_size, -1); + +gtk_paned_pack1 (GTK_PANED (hpaned), frame1, TRUE, FALSE); +gtk_widget_set_usize (frame1, 50, -1); + +gtk_paned_pack2 (GTK_PANED (hpaned), frame1, FALSE, FALSE); +gtk_widget_set_usize (frame1, 50, -1); + + + + + + + + + + + + +@container: +@child1: +@child2: +@handle: +@groove_rectangle: +@xor_gc: +@handle_size: +@gutter_size: +@child1_size: +@last_allocation: +@min_position: +@max_position: +@position_set: +@in_drag: +@child1_shrink: +@child1_resize: +@child2_shrink: +@child2_resize: +@handle_xpos: +@handle_ypos: + + + +Add a child to the top or left pane with +default parameters. This is equivalent +to + +gtk_paned_pack1(paned, FALSE, TRUE); + + + +@paned: a paned widget +@child: the child to add + + + + +Add a child to the bottom or right pane with default +parameters. This is equivalent to + +gtk_paned_pack1(paned, FALSE, FALSE); + + + +@paned: a paned widget +@child: the child to add + + + + +Old name for gtk_paned_set_handle_size() + + + + + + +Old name for gtk_paned_set_gutter_size() + + + + + + +Internal function used by #GtkHPaned and #GtkVPaned + + +@paned: +@allocation: +@child1_req: +@child2_req: + + + + +Add a child to the top or left pane. + + +@paned: a paned widget +@child: the child to add +@resize: should this child expand when the paned widget is resized. +@shrink: can this child be made smaller than its requsition. + + + + +Add a child to the bottom or right pane. + + +@paned: a paned widget +@child: the child to add +@resize: should this child expand when the paned widget is resized. +@shrink: can this child be made smaller than its requsition. + + + + +Set the width of the gutter. (The area between the two panes). + + +@paned: a paned widget +@size: the width of the widget in pixels + + + + +Set the the handle size to @size x @size pixels. + + +@paned: a paned widget +@size: the size in pixels + + + + +Set the position of the separator, as if set by the user. +If position is negative, the remembered position is +forgotten, and the division is recomputed from the +the requisitions of the children. + + +@paned: a paned widget +@position: the new position of the separator. + + diff --git a/docs/reference/gtk/tmpl/gtkpixmap.sgml b/docs/reference/gtk/tmpl/gtkpixmap.sgml new file mode 100644 index 0000000000..57444d8279 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkpixmap.sgml @@ -0,0 +1,80 @@ + +GtkPixmap + + +a widget displaying a graphical image or icon. + + + +The #GtkPixmap widget displays a graphical image or icon. +The icon is typically created using gdk_pixmap_colormap_create_from_xpm() +or gdk_pixmap_colormap_create_from_xpm_d(). + + +The pixels in a #GtkPixmap cannot be manipulated by the application after +creation, since under the X Window system the pixel data is stored on the +X server and so is not available to the client application. +If you want to create graphical images which can be manipulated by the +application, look at #GtkImage and #GdkRGB. + + + + + + + + + +The #GtkPixmap-struct struct contains private data only, and +should be accessed using the functions below. + + +@misc: +@pixmap: +@mask: +@pixmap_insensitive: +@build_insensitive: + + + +Creates a new #GtkPixmap, using the given GDK pixmap and mask. + + +@pixmap: a #GDKPixmap. +@mask: a #GDKBitmap which indicates which parts of the @pixmap should be +transparent. +@Returns: a new #GtkPixmap. + + + + +Sets the #GdkPixmap and #GdkBitmap mask. + + +@pixmap: a #GtkPixmap. +@val: a #GdkPixmap. +@mask: a #GdkBitmap, which indicates which parts of the @pixmap should be +transparent. This can be NULL, in which case none of the @pixmap is +transparent. + + + + +Gets the current #GdkPixmap and #GdkBitmap mask. + + +@pixmap: a #GtkPixmap. +@val: returns the current #GdkPixmap. +@mask: returns the current #GdkBitmap mask. + + + + + + + +@pixmap: a #GtkPixmap. +@build: set to TRUE if an extra pixmap should be automatically created to use +when the pixmap is insensitive. + + diff --git a/docs/reference/gtk/tmpl/gtkplug.sgml b/docs/reference/gtk/tmpl/gtkplug.sgml new file mode 100644 index 0000000000..1f71fb5dc9 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkplug.sgml @@ -0,0 +1,60 @@ + +GtkPlug + + +Toplevel for embedding into other processes. + + + +Together with #GtkSocket, #GtkPlug provides the ability +to embed widgets from one process into another process +in a fashion that is transparent to the user. One +process creates a #GtkSocket widget and, passes the +XID of that widgets window to the other process, +which then creates a #GtkPlug window with that XID. +Any widgets contained in the #GtkPlug then will appear +inside the first applications window. + + + + + + + +#GtkSocket +the widget that a #GtkPlug plugs into. + + + + + + + + + + +@window: +@socket_window: +@same_app: + + + +Finish the creation of a #GtkPlug widget. This function +will generally only be used by classes deriving +from #GtkPlug. + + +@plug: a #GtkPlug widget. +@socket_id: the XID of the socket's window. + + + + +Create a new plug widget inside the #GtkSocket identified +by @socket_id. + + +@socket_id: the XID of the socket's window. +@Returns: the new #GtkPlug widget. + + diff --git a/docs/reference/gtk/tmpl/gtkpreview.sgml b/docs/reference/gtk/tmpl/gtkpreview.sgml new file mode 100644 index 0000000000..d5448de0bd --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkpreview.sgml @@ -0,0 +1,265 @@ + +GtkPreview + + +a widget to display RGB or grayscale data. + + + +The #GtkPreview widget provides a simple interface +used to display images as RGB or grayscale data. + + + + + + + +#GdkRGB +the backend used by #GtkPreview. + + + + + + + +The #GtkPreview-struct struct contains private data only, and +should be accessed using the functions below. + + +@widget: +@buffer: +@buffer_width: +@buffer_height: +@bpp: +@rowstride: +@dither: +@type: +@expand: + + + +Contains information about global properties +of preview widgets. + +The #GtkPreviewInfo struct contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +#GdkVisual *visual; +the visual used by all previews. + + + +#GdkColormap *cmap; +the colormap used by all previews. + + + +gdouble gamma; +the gamma correction value used by all previews (See gtk_preview_set_gamma()). + + + + + + + + +@visual: +@cmap: +@lookup: +@gamma: + + + +This union not used in GTK+. + + + + + +This function is deprecated and does nothing. + + + + + + +Create a new preview widget. + + +@type: the type data contained by the widget. +(Grayscale or RGB) +@Returns: + + + + +Set the size that the preview widget will request +in response to a "size_request" signal. The +drawing area may actually be allocated a size +larger than this depending on how it is packed +within the enclosing containers. The effect +of this is determined by whether the preview +is set to expand or not (see gtk_preview_expand()) + + +@preview: a #GtkPreview. +@width: the new width. +@height: the new height. + + + + +Takes a portion of the contents of a preview widget +and draws it onto the given drawable, @window. + + +@preview: a #GtkPreview. +@window: a window or pixmap. +@gc: The graphics context for the operation. Only the + clip mask for this GC matters. +@srcx: the x coordinate of the upper left corner in the source image. +@srcy: the y coordinate of the upper left corner in the source image. +@destx: the x coordinate of the upper left corner in the destination image. +@desty: the y coordinate of the upper left corner in the destination image. +@width: the width of the rectangular portion to draw. +@height: the height of the rectangular portion to draw. + + + + +Sets the data for a portion of a row. + + +@preview: a #GtkPreview. +@data: the new data for the portion. It should contain + @w bytes of data if the preview is of type + GTK_TYPE_GRAYSCALE, and 3*@w bytes of data + if the preview is of type GTK_TYPE_COLOR. +@x: the starting value on the row to set. +@y: the row to change. +@w: the number of pixels in the row to change. + + + + +Determines the way that the the preview widget behaves +when the size it is allocated is larger than the requested +size. If @expand is %FALSE, then the preview's window +and buffer will be no larger than the size set with +gtk_preview_size(), and the data set will be centered +in the allocation if it is larger. If @expand is %TRUE +then the window and buffer will expand with the allocation; +the application is responsible for catching +the "size_allocate" signal and providing the data +appropriate for this size. + + +@preview: a #GtkPreview. +@expand: whether the preview's window should expand or not. + + + + +Set the gamma-correction value for all preview widgets. +(This function will eventually be replaced with a +function that sets a per-preview-widget gamma value). +The resulting intensity is given by: +destination_value * pow (source_value/255, 1/gamma). +The gamma value is applied when the data is +set with gtk_preview_draw_row() so changing this +value will not affect existing data in preview +widgets. + + +@gamma: the new gamma value. + + + + +This function is deprecated and does nothing. GdkRGB +automatically picks an optimium color cube for the +display. + + +@nred_shades: ignored +@ngreen_shades: ignored +@nblue_shades: ignored +@ngray_shades: ignored + + + + +This function is deprecated +and does nothing. GdkRGB will automatically pick +a private colormap if it cannot allocate sufficient +colors. + + +@install_cmap: ignored. + + + + +This function is deprecated and does nothing. + + +@nreserved: ignored. + + + + +Set the dithering mode for the display. + + +@preview: a #GtkPreview. +@dither: the dithering mode. + + + + +Returns the visual used by preview widgets. This +function is deprecated, and you should use +gdk_rgb_get_visual() instead. + + +@Returns: the visual for previews. + + + + +Returns the colormap used by preview widgets. This +function is deprecated, and you should use +gdk_rgb_get_cmap() instead. + + +@Returns: the colormap for previews. + + + + +Return a #GtkPreviewInfo structure containing +global information about preview widgets. + + +@Returns: a #GtkPreviewInfo structure. The return + value belongs to GTK+ and must not be modified + or freed. + + + + +This function is deprecated and does nothing. It was +once used for changing the colormap and visual on the fly. + + + + diff --git a/docs/reference/gtk/tmpl/gtkprivate.sgml b/docs/reference/gtk/tmpl/gtkprivate.sgml new file mode 100644 index 0000000000..3be551b997 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkprivate.sgml @@ -0,0 +1,120 @@ + +Private Information + + + + + + + + + + + + + + + + + + + +@PRIVATE_GTK_USER_STYLE: +@PRIVATE_GTK_REDRAW_PENDING: +@PRIVATE_GTK_RESIZE_PENDING: +@PRIVATE_GTK_RESIZE_NEEDED: +@PRIVATE_GTK_LEAVE_PENDING: +@PRIVATE_GTK_HAS_SHAPE_MASK: +@PRIVATE_GTK_IN_REPARENT: +@PRIVATE_GTK_IS_OFFSCREEN: + + + + + + +@wid: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@obj: + + + + + + + +@wid: +@flag: + + + + + + + +@wid: +@flag: + + diff --git a/docs/reference/gtk/tmpl/gtkprogress.sgml b/docs/reference/gtk/tmpl/gtkprogress.sgml new file mode 100644 index 0000000000..f977ff9913 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkprogress.sgml @@ -0,0 +1,172 @@ + +GtkProgress + + + + + + + + + + + + + + + + + + + +@widget: +@adjustment: +@offscreen_pixmap: +@format: +@x_align: +@y_align: +@show_text: +@activity_mode: + + + + + + +@progress: +@show_text: + + + + + + + +@progress: +@x_align: +@y_align: + + + + + + + +@progress: +@format: + + + + + + + +@progress: +@adjustment: + + + + + + + +@progress: +@percentage: + + + + + + + +@progress: +@value: + + + + + + + +@progress: +@Returns: + + + + + + + +@progress: +@activity_mode: + + + + + + + +@progress: +@Returns: + + + + + + + +@progress: +@value: +@Returns: + + + + + + + +@progress: +@Returns: + + + + + + + +@progress: +@value: +@Returns: + + + + + + + +@progress: +@value: +@min: +@max: + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkprogressbar.sgml b/docs/reference/gtk/tmpl/gtkprogressbar.sgml new file mode 100644 index 0000000000..5838aba506 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkprogressbar.sgml @@ -0,0 +1,150 @@ + +GtkProgressBar + + + + + + + + + + + + + + + + + + + +@progress: +@bar_style: +@orientation: +@blocks: +@in_block: +@activity_pos: +@activity_step: +@activity_blocks: +@activity_dir: + + + + + + +@GTK_PROGRESS_CONTINUOUS: +@GTK_PROGRESS_DISCRETE: + + + + + + +@GTK_PROGRESS_LEFT_TO_RIGHT: +@GTK_PROGRESS_RIGHT_TO_LEFT: +@GTK_PROGRESS_BOTTOM_TO_TOP: +@GTK_PROGRESS_TOP_TO_BOTTOM: + + + + + + +@Returns: + + + + + + + +@adjustment: +@Returns: + + + + + + + +@pbar: +@style: + + + + + + + +@pbar: +@blocks: + + + + + + + +@pbar: +@step: + + + + + + + +@pbar: +@blocks: + + + + + + + +@pbar: +@orientation: + + + + + + + +@pbar: +@percentage: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkradiobutton.sgml b/docs/reference/gtk/tmpl/gtkradiobutton.sgml new file mode 100644 index 0000000000..681ceec23f --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkradiobutton.sgml @@ -0,0 +1,85 @@ + +GtkRadioButton + + + + + + + + + + + + + + + + + + + +@check_button: +@group: + + + + + + +@group: +@Returns: + + + + + + + +@group: +@Returns: + + + + + + + +@group: +@label: +@Returns: + + + + + + + +@group: +@label: +@Returns: + + + + + + + +@radio_button: +@Returns: + + + + + + + +@radio_button: +@group: + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkradiomenuitem.sgml b/docs/reference/gtk/tmpl/gtkradiomenuitem.sgml new file mode 100644 index 0000000000..58d7fa5afe --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkradiomenuitem.sgml @@ -0,0 +1,61 @@ + +GtkRadioMenuItem + + + + + + + + + + + + + + + + + + + +@check_menu_item: +@group: + + + + + + +@group: +@Returns: + + + + + + + +@group: +@label: +@Returns: + + + + + + + +@radio_menu_item: +@Returns: + + + + + + + +@radio_menu_item: +@group: + + diff --git a/docs/reference/gtk/tmpl/gtkrange.sgml b/docs/reference/gtk/tmpl/gtkrange.sgml new file mode 100644 index 0000000000..2908bce5a0 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkrange.sgml @@ -0,0 +1,202 @@ + +GtkRange + + + + + + + + + + + + + + + + + + + +@widget: +@trough: +@slider: +@step_forw: +@step_back: +@x_click_point: +@y_click_point: +@button: +@digits: +@policy: +@scroll_type: +@in_child: +@click_child: +@need_timer: +@timer: +@old_value: +@old_lower: +@old_upper: +@old_page_size: +@adjustment: + + + + + + +@range: +@Returns: + + + + + + + +@range: +@policy: + + + + + + + +@range: +@adjustment: + + + + + + + +@range: + + + + + + + +@range: + + + + + + + +@range: + + + + + + + +@range: + + + + + + + +@range: + + + + + + + +@range: + + + + + + + +@range: +@x: +@y: +@jump_perc: +@Returns: + + + + + + + +@range: + + + + + + + +@range: + + + + + + + +@range: +@x: +@y: +@jump_perc: +@Returns: + + + + + + + +@range: +@x: +@y: +@jump_perc: +@Returns: + + + + + + + +@range: +@xdelta: +@ydelta: + + + + + + + +@range: +@xdelta: +@ydelta: + + + + + + + +@range: + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkrc.sgml b/docs/reference/gtk/tmpl/gtkrc.sgml new file mode 100644 index 0000000000..850384c402 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkrc.sgml @@ -0,0 +1,724 @@ + +Resource Files + + +Routines for handling resource files + + + +GTK+ provides resource file mechanism for configuring +various aspects of the operation of a GTK+ program +at runtime. + + +Default files + +An application can cause GTK+ to parse a specific RC +file by calling gtk_rc_parse(). In addition to this, +certain files will be read at the end of gtk_init(). +Unless modified, the files looked for will be .gtkrc +in the users home directory, and +$localstatedir/gtk/gtkrc +($localstatedir defaults to +/usr/local/etc). + + + +The set of these default files +can be retrieved with gtk_rc_get_default_files() +and modified with gtk_rc_add_default_file() and +gtk_rc_set_default_files(). + + + +For each default file, in addition to the file itself, +GTK+ will look for a locale-specific file that will +be parsed in addition to the main file. For instance, +if LANG is set to ja_JP.ujis, +when loading the default file ~/.gtkrc +then GTK+ looks for ~/.gtkrc.ja_JP.ujis, +~/.gtkrc.ja_JP, and +~/.gtkrc.ja, and parses the +first one it finds. + + + +Toplevel declarations + +An RC file is a text file which is composed of a sequence +of declarations. '#' characters delimit comments and +the portion of a line after a '#' is ignored when parsing +an RC file. + + + +The possible toplevel declarations are: + + + + binding name + { ... } + + Declare a binding set + + + + class pattern + [ style | binding [ : priority ]] + name + + Specify a style or binding set for a particular + branch of the inheritance heirarchy. + + + + include filename + + Parse another file at this point + + + + module_path path> + + Sets a path (a list of directories separated + by colons) that will be searched for theme engines referenced in + RC files. + + + + pixmap_path path> + + Sets a path (a list of directories separated + by colons) that will be searched for pixmaps referenced in + RC files. + + + + style name [ = + parent ] { ... } + + Declare a style + + + + widget pattern + [ style | binding [ : priority ]] + name + + Specify a style or binding set for a particular + group of widgets by matching on the widget path. + + + + widget_class pattern + [ style | binding [ : priority ]] + name + + Specify a style or binding set for a particular + group of widgets by matching on the class path. + + + + + +Styles + +A RC style is specified by a style +declaration in a RC file, and then bound to widgets +with a widget, widget_class, +or class declaration. All styles +applying to a particular widget are composited together +with widget declarations overriding +widget_class declarations which, in +turn, override widget declarations. +Within each type of declaration, later declarations override +earlier ones. + + + +Within a style declaration, the possible +elements are: + + + + bg[state] = + color + + + Set color used for the background of most widgets. + + + + + fg[state] = + color + + + Set color used for the foreground of most widgets. + + + + + base[state] = + color + + + Set color used for the background of widgets displaying + editable text. This color is used for the background + of, among others, #GtkText, #GtkEntry, #GtkList, and #GtkClist. + + + + + text[state] = + color + + + Set color used for foreground of widgets using + base for the background color. + + + + + bg_text[state] = + color + + + Set a background pixmap to be used in place of + the bg color (or for #GtkText, + in place of the base color. + + + + + font = font + + + Set the font for a widget. + + + + + fontset = font + + + Set the fontset for a widget. Overrides any + font declarations. + + + + + + +The colors and background pixmaps are specified as a function of the +state of the widget. The states are: + + + + NORMAL + + + A color used for a widget in its normal state + + + + + ACTIVE + + + A variant of the NORMAL color used when the + widget is in the %GTK_STATE_ACTIVE state, and also for + the trough of a ScrollBar, tabs of a NoteBook + other than the current tab and similar areas. + Frequently, this should be a darker variant + of the NORMAL color. + + + + + PRELIGHT + + + A color used for widgets in the %GTK_STATE_PRELIGHT state. This + state is the used for Buttons and MenuItems + that have the mouse cursor over them, and for + their children. + + + + + SELECTED + + + A color used to highlight data selected by the user. + for instance, the selected ListItems in a List widget, and the + selection in an Editable widget. + + + + + INSENSITIVE + + + A color used for the background of widgets that have + been set insenstivie with gtk_widget_set_senstive() + + + + + + + +Colors can be specified as a string "#rrrrggggbbbb", +"#rrrgggbbb", "#rrggbb", +or "#rgb", where r +g, and b are +hex digits, or they can be specified as a triplet of floats +{ r, g, +b}. + + + +Key bindings + +Key bindings allow the user to specify actions to be +taken on particular key presses. The form of a binding +set declaration is: + + + +binding name { + bind key { + signalname (param, ...) + ... + } + ... +} + + + +key is a string consisting of a +series of modifiers followed by the name of a key. The +modifiers can be: + +<alt> +<control> +<mod1> +<mod2> +<mod3> +<mod4> +<mod5> +<release> +<shft> +<shift> + +<shft> is an alias for +<shift> and +<alt> is an alias for +<mod1>. + + + +The action that is bound to the key is a sequence +of signal names (strings) followed by parameters for +each signal. The signals must be action signals. +(See gtk_signal_new()). Each parameter can be +a float, integer, string, or unquoted string +representing an enumeration value. The types of +the parameters specified must match the types of the +parameters of the signal. + + + +Binding sets are connected to widgets in the +same manner as styles, with one addition. +A priority can be specified for each pattern, +and within each type of pattern, binding sets +override other binding sets first by priority, +and only then by order of specification. (Later +overrides earlier). The priorities that can +be specified are (highest to lowest): + +HIGHEST +RC +APPLICATION +GTK +LOWEST + +RC is the default for bindings +read from an RC file, APPLICATION +should be used for bindings an application sets +up, and GTK is used for bindings +that GTK+ creates internally. + + + + + + + + + + +The #GtkRcStyle structure is used to represent a set +of information about the appearance of a widget. +This can later be composited together with other +#GtkRcStyle structures to form a #GtkStyle. + + +@name: +@font_name: +@fontset_name: +@bg_pixmap_name: +@color_flags: +@fg: +@bg: +@text: +@base: +@engine: +@engine_data: +@ref_count: + + + +The #GtkRcFlags enumeration is used as a bitmask +to specify which fields of a #GtkRcStyle have been +set for each state. + + + %GTK_RC_FG + + + If present, the foreground color has been set for this state. + + + + %GTK_RC_BG + + + If present, the background color has been set for this state. + + + + %GTK_RC_TEXT + + + If present, the text color has been set for this state. + + + + %GTK_RC_BASE + + + If present, the base color has been set for this state. + + + + + +@GTK_RC_FG: +@GTK_RC_BG: +@GTK_RC_TEXT: +@GTK_RC_BASE: + + + +A GtkImageLoader is used to load a filename found in +a RC file. + + +@window: the window for creating image +@colormap: the colormap for this image +@mask: a pointer to the location to store the mask +@transparent_color: the transparent color for the image +@filename: filename to load +@Returns: a #GtkPixmap representing @filename + + + + +The #GtkRcTokenType enumeration represents the tokens +in the RC file. It is exposed so that theme engines +can reuse these tokens when parsing the theme-engine +specific portions of a RC file. + + +@GTK_RC_TOKEN_INVALID: +@GTK_RC_TOKEN_INCLUDE: +@GTK_RC_TOKEN_NORMAL: +@GTK_RC_TOKEN_ACTIVE: +@GTK_RC_TOKEN_PRELIGHT: +@GTK_RC_TOKEN_SELECTED: +@GTK_RC_TOKEN_INSENSITIVE: +@GTK_RC_TOKEN_FG: +@GTK_RC_TOKEN_BG: +@GTK_RC_TOKEN_BASE: +@GTK_RC_TOKEN_TEXT: +@GTK_RC_TOKEN_FONT: +@GTK_RC_TOKEN_FONTSET: +@GTK_RC_TOKEN_BG_PIXMAP: +@GTK_RC_TOKEN_PIXMAP_PATH: +@GTK_RC_TOKEN_STYLE: +@GTK_RC_TOKEN_BINDING: +@GTK_RC_TOKEN_BIND: +@GTK_RC_TOKEN_WIDGET: +@GTK_RC_TOKEN_WIDGET_CLASS: +@GTK_RC_TOKEN_CLASS: +@GTK_RC_TOKEN_LOWEST: +@GTK_RC_TOKEN_GTK: +@GTK_RC_TOKEN_APPLICATION: +@GTK_RC_TOKEN_RC: +@GTK_RC_TOKEN_HIGHEST: +@GTK_RC_TOKEN_ENGINE: +@GTK_RC_TOKEN_MODULE_PATH: +@GTK_RC_TOKEN_LAST: + + + +Finds all matching RC styles for a given widget, +composites them together, and then creates a +#GtkStyle representing the composite appearance. +(GTK+ actually keeps a cache of previously +created styles, so a new style may not be +created.) + + +@widget: a #GtkWidget +@Returns: the resulting style. The caller should +reference the result, since GTK+ will retain the +initial reference count itself for the cache +of created styles. + + + + +Add a RcStyle that will be looked up by a match against +the widget's pathname. This is equivalent to a: + +widget PATTERN style STYLE + +statement in a RC file. + + +@rc_style: the #GtkRcStyle to use for widgets matching @pattern +@pattern: the pattern + + + + +Add a RcStyle that will be looked up by a match against +the widget's class pathname. This is equivalent to a: + + +widget_class PATTERN style STYLE + +statement in a RC file. + + +@rc_style: the #GtkRcStyle to use for widgets matching @pattern +@pattern: the pattern + + + + +Add a RcStyle that will be looked up by a matching against +the class heirarchy of the widget. This is equivalent to a: + +class PATTERN style STYLE + +statement in a RC file. + + +@rc_style: the #GtkRcStyle to use for widgets deriving from @pattern +@pattern: the pattern + + + + +Parse a given resource file. + + +@filename: the filename of a file to parse. + + + + +Parse resource information directly from a string. + + +@rc_string: a string to parse. + + + + +If the modification time on any previously read file +has changed, discard all style information +and then reread all previously read RC files. + + +@Returns: %TRUE if the files were reread. + + + + +Adds a file to the list of files to be parsed at the +end of gtk_init(). + + +@filename: the pathname to the file. + + + + +Retrieves the current list of RC files that will be parsed +at the end of gtk_init() + + +@Returns: A NULL terminated array of filenames. This memory +is owned by GTK+ and must not be freed by the application. +If you want to store this information, you should make a +copy. + + + + +Sets the list of files that GTK+ will read at the +end of gtk_init() + + +@filenames: A %NULL terminated list of filenames. + + + + +Parses a color in the format expected in a RC file. + + +@scanner: a #GtkScanner +@color: a pointer to a #GtkColor structure in which to store the result +@Returns: %G_TOKEN_NONE if parsing suceeded, otherwise the token +that was expected but not found. + + + + +Parses a #GtkStateType variable from the format expected +in a RC file. + + +@scanner: a #GtkScanner (must be initialized for parsing an RC file) +@state: A pointer to a #GtkStateType variable in which to +store the result. +@Returns: %G_TOKEN_NONE if parsing suceeded, otherwise the token +that was expected but not found. + + + + +Parses a #GtkPathPriorityType variable from the format expected +in a RC file. + + +@scanner: a #GtkScanner (must be initialized for parsing an RC file) +@priority: A pointer to #GtkPathPriorityType variable in which +to store the result. +@Returns: %G_TOKEN_NONE if parsing suceeded, otherwise the token +that was expected but not found. + + + + +Looks up a file in the current module path. + + +@module_file: The name of the module to search for. +@Returns: The filename, if found. (Must be freed with g_free()), +otherwise %NULL. + + + + +Looks up a file in the current pixmap path. If the file is +not found, it outputs a warning message using g_warning() +and returns %NULL. + + +@scanner: a #GtkScanner. Used for printing out warning messages +if the file is not found. +@pixmap_file: The name of the file to search for. +@Returns: The filename, if found. (Must be freed with g_free()), +otherwise %NULL. + + + + +Returns the directory in which GTK+ will look for +theme engines. + + +@Returns: The directory. (Must be freed with g_free()) + + + + +Returns the standard directory in which themes should +be installed. (GTK+ does not actually use this directory +itself.) + + +@Returns: The directory. (Must be freed with g_free()) + + + + +Sets the function that GTK+ will use to load images + + +@loader: the #GtkImageLoader to use + + + + +Internal function. Loads an image using the current +image loader. + + +@colormap: the colormap to use for the image +@transparent_color: the transparent color for the image +@filename: the filename of the image file +@Returns: a #GtkPixmap representing @filename + + + + +Create a new #GtkRcStyle with no fields set and +a reference count of 1. + + +@Returns: the newly create #GtkRcStyle + + + + +Increment the reference count of a #GtkRcStyle. + + +@rc_style: a #GtkRcStyle + + + + +Decrement the reference count of a #GtkRcStyle and +free if the result is 0. + + +@rc_style: a #GtkRcStyle + + + + +Internal function. + + + + diff --git a/docs/reference/gtk/tmpl/gtkruler.sgml b/docs/reference/gtk/tmpl/gtkruler.sgml new file mode 100644 index 0000000000..2dcf0028ac --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkruler.sgml @@ -0,0 +1,81 @@ + +GtkRuler + + + + + + + + + + + + + + + + + + + +@widget: +@backing_store: +@non_gr_exp_gc: +@metric: +@xsrc: +@ysrc: +@slider_size: +@lower: +@upper: +@position: +@max_size: + + + + + + +@metric_name: +@abbrev: +@pixels_per_unit: +@ruler_scale: +@subdivide: + + + + + + +@ruler: +@metric: + + + + + + + +@ruler: +@lower: +@upper: +@position: +@max_size: + + + + + + + +@ruler: + + + + + + + +@ruler: + + diff --git a/docs/reference/gtk/tmpl/gtkscale.sgml b/docs/reference/gtk/tmpl/gtkscale.sgml new file mode 100644 index 0000000000..8eaf201008 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkscale.sgml @@ -0,0 +1,100 @@ + +GtkScale + + +a base class for #GtkHScale and #GtkVScale. + + + +The #GtkScale widget is an abstract class, used only for deriving the +subclasses #GtkHScale and #GtkVScale. + + + + + + + + + +The #GtkScale-struct struct contains the following fields. +(These fields should be considered read-only. They should never be set by +an application.) + + + + + + +#guint draw_value; +non-zero if the scale's current value is displayed next to the +slider. + + + +#guint value_pos; +the position in which the textual value is displayed, selected from +#GtkPositionType. + + + + + +@range: +@draw_value: +@value_pos: + + + +Sets the number of decimal places that are displayed in the value. + + +@scale: a #GtkScale. +@digits: the number of decimal places to display, e.g. use 1 to display 1.0, +2 to display 1.00 etc. + + + + +Specifies whether the current value is displayed as a string next to the +slider. + + +@scale: a #GtkScale. +@draw_value: + + + + +Sets the position in which the current value is displayed. + + +@scale: a #GtkScale. +@pos: the position in which the current value is displayed. + + + + +An internal function used to get the maximum width needed to display the value +string. + + +@scale: a #GtkScale. +@Returns: the maximum width needed to display the value string. + + + + +The number of decimal places that are displayed in the value. + + + + +If the current value is displayed as a string next to the slider. + + + + +The position in which the current value is displayed. + + diff --git a/docs/reference/gtk/tmpl/gtkscrollbar.sgml b/docs/reference/gtk/tmpl/gtkscrollbar.sgml new file mode 100644 index 0000000000..a459493b09 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkscrollbar.sgml @@ -0,0 +1,23 @@ + +GtkScrollbar + + + + + + + + + + + + + + + + + + + +@range: + diff --git a/docs/reference/gtk/tmpl/gtkscrolledwindow.sgml b/docs/reference/gtk/tmpl/gtkscrolledwindow.sgml new file mode 100644 index 0000000000..02163acd9c --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkscrolledwindow.sgml @@ -0,0 +1,199 @@ + +GtkScrolledWindow + + + +Adds scrollbars to its child widget. + + + +#GtkScrolledWindow is a #GtkBin subclass: it's a container +the accepts a single child widget. #GtkScrolledWindow adds scrollbars +to the child widget. + + + +The scrolled window can work in two ways. Some widgets have native +scrolling support; these widgets have "slots" for #GtkAdjustment +objects. The scrolled window installs #GtkAdjustment objects in the +child window's slots using the set_scroll_adjustments_signal, found in +#GtkWidgetClass. (Conceptually, these widgets implement a "Scrollable" +interface; because GTK+ 1.2 lacks multiple inheritance, this interface +is hackily implemented as a signal in #GtkWidgetClass.) + + + +The second way to use the scrolled window is useful with widgets that +lack the set_scroll_adjustments_signal. The #GtkViewport widget acts as +a proxy, implementing scrollability for child widgets that lack their +own scrolling capabilities. + + + +If a widget has native scrolling abilities, it can be added to the +#GtkScrolledWindow with gtk_container_add(). If a widget does not, you +must first add the widget to a #GtkViewport, then add the GtkViewport +to the scrolled window. The convenience function +gtk_scrolled_window_add_with_viewport() does exactly this, so you can +ignore the presence of the viewport. + + + + +#GtkViewport, #GtkAdjustment, #GtkWidgetClass + + + + +There are no public fields in the #GtkScrolledWindow struct; it should +only be accessed using the functions below. + + +@container: +@hscrollbar: +@vscrollbar: +@hscrollbar_policy: +@vscrollbar_policy: +@hscrollbar_visible: +@vscrollbar_visible: +@window_placement: + + + +Creates a new scrolled window. The two arguments are the scrolled +window's adjustments; these will be shared with the scrollbars and the +child widget to keep the bars in sync with the child. Usually you want +to pass NULL for the adjustments, which will cause the scrolled window +to create them for you. + + +@hadjustment: Horizontal adjustment. +@vadjustment: Vertical adjustment. +@Returns: New scrolled window. + + + + +Returns the horizontal scrollbar's adjustment, used to connect the +horizontal scrollbar to the child widget's horizontal scroll +functionality. + + +@scrolled_window: A #GtkScrolledWindow. +@Returns: The horizontal #GtkAdjustment. + + + + +Returns the vertical scrollbar's adjustment, used to connect the +vertical scrollbar to the child widget's vertical scroll +functionality. + + +@scrolled_window: A #GtkScrolledWindow. +@Returns: The vertical #GtkAdjustment. + + + + +Sets the scrollbar policy for the horizontal and vertical scrollbars. +The policy determines when the scrollbar should appear; it is a value +from the #GtkPolicyType enumeration. If %GTK_POLICY_ALWAYS, the +scrollbar is always present; if %GTK_POLICY_NEVER, the scrollbar is +never present; if %GTK_POLICY_AUTOMATIC, the scrollbar is present only +if needed (that is, if the slider part of the bar would be smaller +than the trough - the display is larger than the page size). + + +@scrolled_window: A #GtkScrolledWindow. +@hscrollbar_policy: Policy for horizontal bar. +@vscrollbar_policy: Policy for vertical bar. + + + + +Used to add children without native scrolling capabilities. This is +simply a convenience function; it is equivalent to adding the +unscrollable child to a viewport, then adding the viewport to the +scrolled window. If a child has native scrolling, use +gtk_container_add() instead of this function. + + + +The viewport scrolls the child by moving its #GdkWindow, and takes the +size of the child to be the size of its toplevel #GdkWindow. This will +be very wrong for most widgets that support native scrolling; for +example, if you add a #GtkCList with a viewport, the whole widget will +scroll, including the column headings. Thus #GtkCList supports +scrolling already, and should not be used with the #GtkViewport proxy. + + + +A widget supports scrolling natively if the +set_scroll_adjustments_signal field in #GtkWidgetClass is non-zero, +i.e. has been filled in with a valid signal identifier. + + +@scrolled_window: A #GtkScrolledWindow. +@child: Widget you want to scroll. + + + + +Sets the #GtkAdjustment for the horizontal scrollbar. + + +@scrolled_window: A #GtkScrolledWindow. +@hadjustment: Horizontal scroll adjustment. + + + + +Determines the location of the child widget with respect to the +scrollbars. The default is %GTK_CORNER_TOP_LEFT, meaning the child is +in the top left, with the scrollbars underneath and to the right. +Other values in #GtkCornerType are %GTK_CORNER_TOP_RIGHT, +%GTK_CORNER_BOTTOM_LEFT, and %GTK_CORNER_BOTTOM_RIGHT. + + +@scrolled_window: A #GtkScrolledWindow. +@window_placement: Position of the child window. + + + + +Sets the #GtkAdjustment for the vertical scrollbar. + + +@scrolled_window: A #GtkScrolledWindow. +@hadjustment: + +@vadjustment: Vertical scroll adjustment. + + + + +Horizontal adjustment. See gtk_scrolled_window_set_hadjustment(), gtk_scrolled_window_get_hadjustment(). + + + + +Vertical adjustment. See gtk_scrolled_window_set_vadjustment(), gtk_scrolled_window_get_vadjustment(). + + + + +Horizontal scrollbar policy (show scrollbar always, never, or "when appropriate"). + + + + +Vertical scrollbar policy (show scrollbar always, never, or "when appropriate"). + + + + +Position of child window with respect to scrollbars; top left, top +right, bottom left, bottom right. + + diff --git a/docs/reference/gtk/tmpl/gtkselection.sgml b/docs/reference/gtk/tmpl/gtkselection.sgml new file mode 100644 index 0000000000..6e873df058 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkselection.sgml @@ -0,0 +1,270 @@ + +Selections + + +Functions for handling inter-process communication via selections. + + + + +See the documentation for #GtkWidget for descriptions +of the "selection_get" and "selection_received" signals. + + + + + + + + + +A #GtkTargetEntry structure represents a single type of +data than can be supplied for by a widget for a selection +or for supplied or received during drag-and-drop. It +contains a string representing the drag type, a flags +field (used only for drag and drop - see #GtkTargetFlags), +and an application assigned integer ID. The integer +ID will later be passed as a signal parameter for signals +like "selection_get". It allows the application to identify +the target type without extensive string compares. + + +@target: +@flags: +@info: + + + +A #GtkTargetList structure is a reference counted list +of #GtkTargetPair. It is used to represent the same +information as a table of #GtkTargetEntry, but in +an efficient form. This structure should be treated as +opaque. + + +@list: +@ref_count: + + + +Internally used structure in the drag-and-drop and +selection handling code. + +@target: +@flags: +@info: + + + +Create a new #GtkTargetList from an array of #GtkTargetEntry. + + +@targets: Pointer to an array of #GtkTargetEntry +@ntargets: number of entries in @targets. +@Returns: the new #GtkTargetList. + + + + +Increase the reference count of a #GtkTargetList by one. + + +@list: a #GtkTargetList + + + + +Decrease the reference count of a #GtkTargetList by one. +If the resulting reference count is zero, free the list. + + +@list: a #GtkTargetList + + + + +Add another target to a #GtkTargetList + + +@list: a #GtkTargetList +@target: the interned atom representing the target +@flags: the flags for this target +@info: an ID that will be passed back to the application + + + + +Add a table of #GtkTargetEntry into a target list + + +@list: a #GtkTargetList +@targets: the table of #GtkTargetEntry +@ntargets: number of targets in the table + + + + +Remove a target from a target list + + +@list: a #GtkTargetList +@target: the interned atom representing the target + + + + +Look up a given target in a #GtkTargetList + + +@list: a #GtkTargetList +@target: an interned atom representing the target to search for +@info: a pointer to the location to store application info for target +@Returns: %TRUE if the target was found, otherwise %FALSE + + + + +Claim ownership of a given selection for a particular widget, +or, if @widget is %NULL, release ownership of the selection. + + +@widget: a #GtkWidget, or %NULL. +@selection: an interned atom representing the selection to claim +@time: the time stamp for claiming the selection +@Returns: %TRUE if the operation succeeded + + + + +Add specified target to the list of supported targets for a +given widget and selection. + + +@widget: a #GtkTarget +@selection: the selection +@target: target to add. +@info: A unsigned integer which will be passed back to the application. + + + + +Add a table of targets to the list of supported targets +for a given widget and selection. + + +@widget: a #GtkWidget +@selection: the selection +@targets: a table of targets to add +@ntargets: number of entries in @targets + + + + +Request the contents of a selection. When received, +a "selection_received" signal will be generated. + + +@widget: The widget which acts as requestor +@selection: Which selection to get +@target: Form of information desired (e.g., STRING) +@time: Time of request (usually of triggering event) + In emergency, you could use GDK_CURRENT_TIME +@Returns: TRUE if requested succeeded. FALSE if we could not process + request. (e.g., there was already a request in process for + this widget). + + + + +Store new data into a GtkSelectionData object. Should +_only_ by called from a selection handler callback. +Null terminates the stored data. + + +@selection_data: +@type: the type of selection data +@format: format (number of bits in a unit) +@data: pointer to the data (will be copied) +@length: length of the data + + + + +Removes all handlers and unsets ownership of all +selections for a widget. Called when widget is being +destroyed. This function will not generally be +called by applications. + + +@widget: a #GtkWidget + + + + +Make a copy of a #GtkSelection data structure and its +data. + + +@data: a pointer to a #GtkSelectionData structure. +@Returns: a pointer to a copy of @data. + + + + +Free a #GtkSelectionData structure returned from +gtk_selection_data_copy(). + + +@data: a pointer to a #GtkSelectionData structure. + + + + +Internal function. + + +@widget: +@event: +@Returns: + + + + +Internal function. + + +@window: +@event: +@Returns: + + + + +Internal function. + + +@widget: +@event: +@Returns: + + + + +Internal function. + + +@widget: +@event: +@Returns: + + + + +Internal function. + + +@widget: +@event: +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkseparator.sgml b/docs/reference/gtk/tmpl/gtkseparator.sgml new file mode 100644 index 0000000000..1f116c1d4e --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkseparator.sgml @@ -0,0 +1,24 @@ + +GtkSeparator + + +a base class for #GtkHSeparator and #GtkVseparator. + + + +The #GtkSeparator widget is an abstract class, used only for deriving the +subclasses #GtkHSeparator and #GtkVSeparator. + + + + + + + + + +The #GtkSeparator-struct struct contains private data only. + + +@widget: + diff --git a/docs/reference/gtk/tmpl/gtksignal.sgml b/docs/reference/gtk/tmpl/gtksignal.sgml new file mode 100644 index 0000000000..3a450f3246 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtksignal.sgml @@ -0,0 +1,473 @@ + +Signals + + + + + + + + + + + + + + + + + + + +@struct: +@field: + + + + + + + +@object: +@data: +@nparams: +@args: +@arg_types: +@return_type: + + + + + + + +@data: + + + + + + + +@object: +@signal_id: +@n_params: +@params: +@data: +@Returns: + + + + + + + +@object_type: +@signal_id: +@signal_name: +@is_user_signal: +@signal_flags: +@return_val: +@nparams: +@params: + + + + + + + + + + + + + +@name: +@signal_flags: +@object_type: +@function_offset: +@marshaller: +@return_val: +@nparams: +@Varargs: +@Returns: + + + + + + + +@name: +@signal_flags: +@object_type: +@function_offset: +@marshaller: +@return_val: +@nparams: +@params: +@Returns: + + + + + + + +@name: +@object_type: +@Returns: + + + + + + + +@signal_id: +@Returns: + + + + + + + +@object: +@signal_id: +@Varargs: + + + + + + + +@object: +@name: +@Varargs: + + + + + + + +@object: +@signal_id: +@params: + + + + + + + +@object: +@name: +@params: + + + + + + + +@object: +@signal_id: +@Returns: + + + + + + + +@object: +@name: +@Returns: + + + + + + + +@object: +@signal_id: + + + + + + + +@object: +@name: + + + + + + + +@object: +@name: +@func: +@func_data: +@Returns: + + + + + + + +@object: +@name: +@func: +@func_data: +@Returns: + + + + + + + +@object: +@name: +@func: +@slot_object: +@Returns: + + + + + + + +@object: +@name: +@func: +@slot_object: +@Returns: + + + + + + + +@object: +@name: +@func: +@marshal: +@data: +@destroy_func: +@object_signal: +@after: +@Returns: + + + + + + + +@object: +@signal: +@func: +@alive_object: + + + + + + + +@object: +@signal: +@func: +@func_data: +@alive_object: + + + + + + + +@object: +@handler_id: + + + + + + + +@object: +@func: +@data: + + + + + + + +@object: +@data: + + + + + + + +@object: +@handler_id: + + + + + + + +@object: +@func: +@data: + + + + + + + +@object: +@data: + + + + + + + +@object: +@handler_id: + + + + + + + +@object: +@func: +@data: + + + + + + + +@object: +@data: + + + + + + + +@object: +@signal_id: +@may_be_blocked: +@Returns: + + + + + + + +@object: +@signal_id: +@may_be_blocked: +@func: +@data: +@Returns: + + + + + + + +@object: +@handler_id: +@may_be_blocked: +@Returns: + + + + + + + +@object: + + + + + + + +@marshal_func: +@destroy_func: + + + + + + + +@signal_id: +@Returns: + + + + + + + +@signal_id: +@hook_func: +@data: +@Returns: + + + + + + + +@signal_id: +@hook_func: +@data: +@destroy: +@Returns: + + + + + + + +@signal_id: +@hook_id: + + diff --git a/docs/reference/gtk/tmpl/gtksocket.sgml b/docs/reference/gtk/tmpl/gtksocket.sgml new file mode 100644 index 0000000000..ae9ea670f2 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtksocket.sgml @@ -0,0 +1,132 @@ + +GtkSocket + + +Container for widgets from other processes. + + + +Together with #GtkPlug, #GtkSocket provides the ability +to embed widgets from one process into another process +in a fashion that is transparent to the user. One +process creates a #GtkSocket widget and, passes the +XID of that widget's window to the other process, +which then creates a #GtkPlug window with that XID. +Any widgets contained in the #GtkPlug then will appear +inside the first applications window. + + + +The XID of the socket's window is obtained by using +the GTK_WINDOW_XWINDOW() macro from the header +file <gdk/gdkx.h>. Before using this macro, +the socket must have been realized, and for hence, +have been added to its parent. + + + Obtaining the XID of a socket + +#include <gdk/gdkx.h> + +GtkWidget *socket = gtk_socket_new(); +gtk_widget_show (socket); +gtk_container_add (GTK_CONTAINER (parent), socket); + +/* The following call is only necessary if one of + * the ancestors of the socket is not yet visible. + */ +gtk_widget_realize (socket); +g_print ("The XID of the sockets window is %#x\n", + GDK_WINDOW_XWINDOW (socket->window)); + + + + + +Note that if you pass the XID of the socket to another +process that will create a plug in the socket, you +must make sure that the socket widget is not destroyed +until that plug is created. Violating this rule will +cause unpredictable consequences, the most likely +consequence being that the plug will appear as a +separate toplevel window. You can check if the plug +has been created by examining the +plug_window field of the +#GtkSocket structure. If this field is non-NULL, +then the plug has been succesfully created inside +of the socket. + + + +When GTK+ is notified that the embedded window has been +destroyed, then it will destroy the socket as well. You +should always, therefore, be prepared for your sockets +to be destroyed at any time when the main event loop +is running. + + + +A socket can also be used to swallow arbitrary +pre-existing top-level windows using gtk_socket_steal(), +though the integration when this is done will not be as close +as between a #GtkPlug and a #GtkSocket. + + + + + + +#GtkPlug +the widget that plugs into a #GtkSocket. + + + + + + + +The #GtkEditable structure contains the following field. +(This field should be considered read-only. It should +never be set by an application.) + + + + + + +#GdkWindow *plug_window; +the window embedded inside this #GtkSocket. + + + + + +@container: +@request_width: +@request_height: +@current_width: +@current_height: +@plug_window: +@same_app: +@focus_in: +@have_size: +@need_map: + + + +Create a new empty #GtkSocket. + + +@Returns: the new #GtkSocket. + + + + +Reparents a pre-existing toplevel window into a +#GtkSocket. + + +@socket: a #GtkSocket. +@wid: the XID of an existing toplevel window. + + diff --git a/docs/reference/gtk/tmpl/gtkspinbutton.sgml b/docs/reference/gtk/tmpl/gtkspinbutton.sgml new file mode 100644 index 0000000000..661ea26e1c --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkspinbutton.sgml @@ -0,0 +1,385 @@ + +GtkSpinButton + + +retrieve an integer or floating-point number from the user. + + + +A #GtkSpinButton is an ideal way to allow the user to set the value of some attribute. Rather than having to directly type a number into a #GtkEntry, #GtkSpinButton allows the user to click on one of two arrows to increment or decrement the displayed value. A value can still be typed in, with the bonus that it can be checked to ensure it is in a given range. + + +The main properties of a #GtkSpinButton are through a #GtkAdjustment. See the #GtkAdjustment section for more details about an adjustment's properties. + + +#GtkSpinButton widgets are created with a call to gtk_spin_button_new(). + + +The #GtkAdjustment of a spin button can be set or retrieved with a call to gtk_spin_button_set_adjustment() or gtk_spin_button_get_adjustment(), respectively. + + +The number of digits after the decimal point of a spin button can be altered with gtk_spin_button_set_digits(). + + +To retrieve values from a spin button, use gtk_spin_button_get_value_as_float() if you require a floating point number, or gtk_spin_button_get_value_as_int() if you require an integer. + + +To set the value of a #GtkSpinButton, use gtk_spin_button_set_value(). To change the update behaviour of a spin button, use gtk_spin_button_set_update_policy(). + + +When a spin button reaches it's upper or lower limit, it can either stop spinning, or wrap around and continue spinning from the opposite limit. For example, if five is the upper limit and the lower limit is zero, upon reaching the value five, the spin button can change it's value back to zero and continue spinning upwards. +This behaviour is set with gtk_spin_button_set_wrap(). + + +A border around a spin button's arrows can be created using gtk_spin_button_set_shadow_type(). + + +A number may be entered that is invalid, given a spin button's range. An erroneous number can be corrected as soon as the spin button is 'activated' using gtk_spin_button_snap_to_ticks(), which will alter the current value to the nearest step increment. (See #GtkAdjustment for step increments). + + +Because a spin contains a #GtkEntry, alphabetic characters may be entered. These can be ignored by using gtk_spin_button_set_numeric() with a value of TRUE. Then only numeric values, '-' and a decimal point will be accepted. + + +To manually increment or decrement the spin button, use gtk_spin_button_spin(), and to force an update (refresh), use gtk_spin_button_update(). + + + +Using a GtkSpinButton to get an integer. + + +/* Provides a function to retrieve an integer value from a GtkSpinButton + * and creates a spin button to model percentage values. + */ + +gint grab_int_value (GtkSpinButton *a_spinner, gpointer user_data) { + return gtk_spin_button_get_value_as_int (a_spinner); +} + +void create_integer_spin_button(void) { + + GtkWidget *window, *spinner; + GtkAdjustment *spinner_adj; + + spinner_adj = (GtkAdjustment *) gtk_adjustment_new(50.0, 0.0, 100.0, 1.0, 5.0, 5.0); + + window = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (window), 5); + + /* creates the spinner, with no decimal places */ + spinner = gtk_spin_button_new (spinner_adj, 1.0, 0); + gtk_container_add (GTK_CONTAINER(window), spinner); + + gtk_widget_show_all (window); + return; +} + + + + + + + +Using a GtkSpinButton to get a floating point value. + + +/* Provides a function to retrieve a floating point value from a + * GtkSpinButton, and creates a high precision spin button. + */ + +gfloat grab_int_value (GtkSpinButton *a_spinner, gpointer user_data) { + return gtk_spin_button_get_value_as_float (a_spinner); +} + +void create_floating_spin_button(void) { + + GtkWidget *window, *spinner; + GtkAdjustment *spinner_adj; + + spinner_adj = (GtkAdjustment *) gtk_adjustment_new(2.500, 0.0, 5.0, 0.001, 0.1, 0.1); + + window = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_container_set_border_width (GTK_CONTAINER (window), 5); + + /* creates the spinner, with three decimal places */ + spinner = gtk_spin_button_new (spinner_adj, 0.001, 3); + gtk_container_add (GTK_CONTAINER(window), spinner); + + gtk_widget_show_all (window); + return; +} + + + + + + + + + +#GtkEntry +retrieve text rather than numbers. + + + + + + +entry is the #GtkEntry part of the #GtkSpinButton widget, and can be used accordingly. All other fields contain private data and should only be modified using the functions below. + + +@entry: +@adjustment: +@panel: +@shadow_type: +@timer: +@ev_time: +@climb_rate: +@timer_step: +@update_policy: +@in_child: +@click_child: +@button: +@need_timer: +@timer_calls: +@digits: +@numeric: +@wrap: +@snap_to_ticks: + + + + + + + + +GTK_UPDATE_ALWAYS +When refreshing your #GtkSpinButton, the value is always displayed. + + +GTK_UPDATE_IF_VALID +When refreshing your #GtkSpinButton, the value is only displayed if it is valid within the bounds of the spin button's #GtkAdjustment. + + + + +@GTK_UPDATE_ALWAYS: +@GTK_UPDATE_IF_VALID: + + + + + + + + +GTK_SPIN_STEP_FORWARD, +GTK_SPIN_STEP_BACKWARD, +GTK_SPIN_PAGE_FORWARD, +GTK_SPIN_PAGE_BACKWARD +These values spin a #GtkSpinButton by the relevant values of the spin button's #GtkAdjustment. + + +GTK_SPIN_HOME, +GTK_SPIN_END +These set the spin button's value to the minimum or maxmimum possible values, (set by it's #GtkAdjustment), respectively. + + +GTK_SPIN_USER_DEFINED +The programmer must specify the exact amount to spin the #GtkSpinButton. + + + + +@GTK_SPIN_STEP_FORWARD: +@GTK_SPIN_STEP_BACKWARD: +@GTK_SPIN_PAGE_FORWARD: +@GTK_SPIN_PAGE_BACKWARD: +@GTK_SPIN_HOME: +@GTK_SPIN_END: +@GTK_SPIN_USER_DEFINED: + + + +Changes the properties of an existing spin button. The adjustment, climb rate, and number of decimal places are all changed accordingly, after this function call. + + +@spin_button: a #GtkSpinButton. +@adjustment: a #GtkAdjustment. +@climb_rate: the new climb rate. +@digits: the number of decimal places to display in the spin button. + + + + +Creates a new #GtkSpinButton. + + +@adjustment: the #GtkAdjustment object that this spin button should use. +@climb_rate: specifies how much the spin button changes when an arrow is clicked on. +@digits: the number of decimal places to display. +@Returns: a #GtkWidget. + + + + +Changes which #GtkAdjustment is associated with a spin button. + + +@spin_button: a #GtkSpinButton. +@adjustment: a #GtkAdjustment. + + + + +Retrieves the #GtkAdjustment used by a given spin button. + + +@spin_button: a #GtkSpinButton. +@Returns: a #GtkAdjustment. + + + + +Alters the number of decimal places that are displayed in a spin button. + + +@spin_button: a #GtkSpinButton. +@digits: the number of decimal places. + + + + +Retrieves the current value of a #GtkSpinButton. If the number has no decimal places, it is converted to a float before the function returns. + + +@spin_button: a #GtkSpinButton. +@Returns: the value of @spin_button as a #gfloat. + + + + +Retrieves the current integer value of a #GtkSpinButton. + + +@spin_button: a #GtkSpinButton. +@Returns: the value of @spin_button as a #gint. + + + + +Sets the value of a spin button. + + +@spin_button: a #GtkSpinButton. +@value: the new floating point value. + + + + +Changes the way a spin button refreshes and updates itself. See %GtkSpinButtonUpdatePolicy for more information. + + +@spin_button: a #GtkSpinButton. +@policy: the new update policy. + + + + +Sets how the spin button's #GtkEntry reacts to alphabetic characters. A value of TRUE to @numeric means that all non-numeric characters (except '-' and a decimal point) are ignored. + + +@spin_button: a #GtkSpinButton. +@numeric: whether letters should be ignored. + + + + +Performs an explicit 'spin' on a spin button. + + +@spin_button: a #GtkSpinButton. +@direction: the type of spin to perform. +@increment: the amount to spin. + + + + +Sets a spin button's value to the lower limit when it's upper limit is reached, and vice versa. + + +@spin_button: a #GtkSpinButton. +@wrap: defaults to FALSE, set to TRUE to make the spin button wrap. + + + + +Creates a border around the arrows of a #GtkSpinButton. The type of border is determined by @shadow_type. + + +@spin_button: a #GtkSpinButton +@shadow_type: the new border type. + + + + +Sets whether a number typed into a spin button should be snapped to the nearest step increment. + + +@spin_button: a #GtkButton. +@snap_to_ticks: TRUE or FALSE. + + + + +Refreshes a spin button. The behaviour of the update is determined by gtk_spin_button_set_update_policy(). + + +@spin_button: a #GtkSpinButton. + + + + +the #GtkAdjustment that defines a spin button's main properties. + + + + +the amount a spin button changes when an arrow is clicked. + + + + +the number of decimal places to display. + + + + +whether erroneous values are automatically changed to a spin button's nearest step increment. + + + + +whether non-numeric characters should be ignored. + + + + +whether a spin button should wrap upon reaching its limits. + + + + +how a spin button should be updated. + + + + +the type of border that surrounds the arrows of a spin button. + + + + +reads the current value, or sets a new value. + + diff --git a/docs/reference/gtk/tmpl/gtkstatusbar.sgml b/docs/reference/gtk/tmpl/gtkstatusbar.sgml new file mode 100644 index 0000000000..13fa228c75 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkstatusbar.sgml @@ -0,0 +1,136 @@ + +GtkStatusbar + + +report messages of minor importance to the user. + + + +A #GtkStatusbar is usually placed along the bottom of an application's main +#GtkWindow. It may provide a regular commentary of the application's status +(as is usually the case in a web browser, for example), or may be used to +simply output a message when the status changes, (when an upload is complete +in an FTP client, for example). + + +Status bars in Gtk+ maintain a stack of messages. The message at +the top of the each bar's stack is the one that will currently be displayed. + + +Any messages added to a statusbar's stack must specify a context_id +that is used to uniquely identify the source of a message. This context_id can be +generated by gtk_statusbar_get_context_id(), given a message and the +statusbar that it will be added to. Note that messages are stored in a +stack, and when choosing which message to display, the stack structure is +adhered to, regardless of the context identifier of a message. + + +Status bars are created using gtk_statusbar_new(). + + +Messages are added to the bar's stack with gtk_statusbar_push(). + + +The message at the top of the stack can be removed using gtk_statusbar_pop(). A message can be removed from anywhere in the stack if it's message_id was recorded at the time it was added. This is done using gtk_statusbar_remove(). + + + + + + +#GtkDialog +another way of reporting information to the user. + + + + + + +Contains private data that should be modified with the functions described below. + + +@parent_widget: +@frame: +@label: +@messages: +@keys: +@seq_context_id: +@seq_message_id: + + + +Holds the data for a statusbar message. text holds the actual text string. context_id is the context that this message is associated with, and message_id is this particular message's identifier. However, these fields should not be modified directly. + + +@text: +@context_id: +@message_id: + + + +Creates a new #GtkStatusbar ready for messages. + + +@Returns: the new #GtkStatusbar. + + + + +Returns a new context identifier, given a description of the actual context. + + +@statusbar: a #GtkStatusbar. +@context_description: textual description of what context the new message is +being used in. +@Returns: an integer id. + + + + +Pushes a new message onto a statusbar's stack. + + +@statusbar: a #GtkStatusbar. +@context_id: the message's context id, as returned by +gkt_statusbar_get_context_id(). +@text: the message to add to the statusbar. +@Returns: the message's new message id for use with gtk_statusbar_remove(). + + + + +Removes the message at the top of a #GtkStatusBar's stack. + + +@statusbar: a #GtkStatusBar. +@context_id: a context identifier. + + + + +Forces the removal of a message from a statusbar's stack. The exact context_id and message_id must be specified. + + +@statusbar: a #GtkStatusBar. +@context_id: a context identifier. +@message_id: a message identifier, as returned by gtk_statusbar_push(). + + + + +Is emitted whenever a new message gets pushed onto a statusbar's stack. + + +@statusbar: the object which received the signal. +@context_id: the context id of the relevant message/statusbar. +@text: the message that was pushed. + + + +Is emitted whenever a new message is popped off a statusbar's stack. + + +@statusbar: the object which received the signal. +@context_id: the context id of the relevant message/statusbar. +@text: the message that was just popped. + diff --git a/docs/reference/gtk/tmpl/gtkstyle.sgml b/docs/reference/gtk/tmpl/gtkstyle.sgml new file mode 100644 index 0000000000..0fbac43c7b --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkstyle.sgml @@ -0,0 +1,887 @@ + +Styles + + + + + + + + + + + + + + + + + + + + + + + + + + +@style: + + + + + + + +@klass: +@fg: +@bg: +@light: +@dark: +@mid: +@text: +@base: +@black: +@white: +@font: +@fg_gc: +@bg_gc: +@light_gc: +@dark_gc: +@mid_gc: +@text_gc: +@base_gc: +@black_gc: +@white_gc: +@bg_pixmap: +@ref_count: +@attach_count: +@depth: +@colormap: +@engine: +@engine_data: +@rc_style: +@styles: + + + + + + +@xthickness: +@ythickness: +@draw_hline: +@draw_vline: +@draw_shadow: +@draw_polygon: +@draw_arrow: +@draw_diamond: +@draw_oval: +@draw_string: +@draw_box: +@draw_flat_box: +@draw_check: +@draw_option: +@draw_cross: +@draw_ramp: +@draw_tab: +@draw_shadow_gap: +@draw_box_gap: +@draw_extension: +@draw_focus: +@draw_slider: +@draw_handle: + + + + + + +@Returns: + + + + + + + +@style: +@Returns: + + + + + + + +@style: +@window: +@Returns: + + + + + + + +@style: + + + + + + + +@style: +@Returns: + + + + + + + +@style: + + + + + + + +@style: +@window: +@state_type: + + + + + + + +@style: +@window: +@set_bg: +@state_type: +@area: +@x: +@y: +@width: +@height: + + + + + + + +@s: +@gw: +@st: +@a: +@x: +@y: +@w: +@h: + + + + + + + +@style: +@window: +@state_type: +@x1: +@x2: +@y: + + + + + + + +@style: +@window: +@state_type: +@y1: +@y2: +@x: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@points: +@npoints: +@fill: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@arrow_type: +@fill: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@x: +@y: +@string: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: +@gap_side: +@gap_x: +@gap_width: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: +@gap_side: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: +@orientation: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@arrow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: +@gap_side: +@gap_x: +@gap_width: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: +@orientation: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@arrow_type: +@fill: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: +@gap_side: +@gap_x: +@gap_width: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: +@gap_side: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: +@orientation: + + + + + + + +@style: +@window: +@state_type: +@area: +@widget: +@detail: +@x1: +@x2: +@y: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@points: +@npoints: +@fill: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@arrow_type: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: +@gap_side: +@gap_x: +@gap_width: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: +@orientation: + + + + + + + +@style: +@window: +@state_type: +@area: +@widget: +@detail: +@x: +@y: +@string: + + + + + + + +@style: +@window: +@state_type: +@shadow_type: +@area: +@widget: +@detail: +@x: +@y: +@width: +@height: + + + + + + + +@style: +@window: +@state_type: +@area: +@widget: +@detail: +@y1: +@y2: +@x: + + diff --git a/docs/reference/gtk/tmpl/gtktable.sgml b/docs/reference/gtk/tmpl/gtktable.sgml new file mode 100644 index 0000000000..0ba1ce02e0 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtktable.sgml @@ -0,0 +1,237 @@ + +GtkTable + + +Pack widgets in regular patterns. + + + +The GtkTable functions allow the programmer to arrange widgets in rows and +columns, making it easy to align many widgets next to each other, +horizontally and vertically. + + +Tables are created with a call to gtk_table_new(), the size of which can +later be changed with gtk_table_resize(). + + +Widgets can be added to a table using gtk_table_attach() or the more +convenient (but slightly less flexible) gtk_table_attach_defaults(). + + +To alter the space next to a specific row, use gtk_table_set_row_spacing(), +and for a column, gtk_table_set_col_spacing(). + +The gaps between all rows or columns can be changed by calling +gtk_table_set_row_spacings() or gtk_table_set_col_spacings() respectively. + + +gtk_table_set_homogeneous(), can be used to set whether all cells in the +table will resize themselves to the size of the largest widget in the table. + + + + + + +#GtkVBox +For packing widgets vertically only. + + +#GtkHBox +For packing widgets horizontally only. + + + + + + +The GtkTable structure holds the data for the actual table itself. + +children is a #GList of all the widgets the table contains. rows and columns are pointers to #GtkTableRowCol structures, which contain the default spacing and expansion details for the #GtkTable's rows and columns, respectively. + + +nrows and ncols are 16bit integers storing the number of rows and columns the table has. + + +@container: +@children: +@rows: +@cols: +@nrows: +@ncols: +@column_spacing: +@row_spacing: +@homogeneous: + + + +The widget field is a pointer to the widget that +this %GtkTableChild structure is keeping track of. +The left_attach, +right_attach, +top_attach, and +bottom_attach fields specify the row and column +numbers which make up the invisible rectangle that the child widget is packed into. + + +xpadding and ypadding +specify the space between this widget and the surrounding table cells. + + +@widget: +@left_attach: +@right_attach: +@top_attach: +@bottom_attach: +@xpadding: +@ypadding: +@xexpand: +@yexpand: +@xshrink: +@yshrink: +@xfill: +@yfill: + + + +These fields should be considered read-only and not be modified directly. + + +@requisition: +@allocation: +@spacing: +@need_expand: +@need_shrink: +@expand: +@shrink: +@empty: + + + +Used to create a new table widget. An initial size must be given by specifying how many rows and columns the table should have, although this can be changed later with gtk_table_resize(). + + +@rows: The number of rows the new table should have. +@columns: The number of columns the new table should have. +@homogeneous: If set to TRUE, all table cells are resized to the size of the cell +containing the largest widget. +@Returns: A pointer to the the newly created table widget. + + + + +If you need to change a table's size after it has been created, this function allows you to do so. + + +@table: The #GtkTable you wish to change the size of. +@rows: The new number of rows. +@columns: The new number of columns. + + + + +Adds a widget to a table. The number of 'cells' that a widget will occupy is +specified by @left_attach, @right_attach, @top_attach and @bottom_attach. +These each represent the leftmost, rightmost, uppermost and lowest column +and row numbers of the table. (Columns and rows are indexed from zero). + + +@table: The #GtkTable to add a new widget to. +@child: The widget to add. +@left_attach: the column number to attach the left side of a child widget to. +@right_attach: the column number to attach the right side of a child widget to. +@top_attach: the row number to attach the left side of a child widget to. +@bottom_attach: the column number to attach the right side of a child widget to. +@xoptions: Used to specify the properties of the child widget when the table is resized. +@yoptions: The same as xoptions, except this field determines behaviour of vertical resizing. +@xpadding: An integer value specifying the padding on the left and right of the widget being added to the table. +@ypadding: The amount of padding above and below the child widget. + + + + +As there are many options associated with gtk_table_attach(), this convenience function provides the programmer with a means to add children to a table with identical padding and expansion options. + + +@table: The table to add a new child widget to. +@widget: The child widget to add. +@left_attach: The column number to attach the left side of the child widget to. +@right_attach: The column number to attach the right side of the child widget to. +@top_attach: The row number to attach the top of the child widget to. +@bottom_attach: The row number to attach the bottom of the child widget to. + + + + +changes the space between a given table row and its surrounding rows. + + +@table: a #GtkTable containing the row whose properties you wish to change. +@row: row number whose spacing will be changed. +@spacing: number of pixels that the spacing should take up. + + + + +alters the amount of space between a given table column and the adjacent columns. + + +@table: a #GtkTable. +@column: the column whose spacing should be changed. +@spacing: number of pixels that the spacing should take up. + + + + +sets the space between every row in @table equal to @spacing. + + +@table: a #GtkTable. +@spacing: the number of pixels of space to place between every row in the table. + + + + +sets the space between every column in @table equal to @spacing. + + +@table: a #GtkTable. +@spacing: the number of pixels of space to place between every column in the table. + + + + +changes the homogenous property of table cells. Ie. whether all cells are an equal size or not. + + +@table: The GtkTable you wish to set the homogeneous properties of. +@homogeneous: Set to TRUE to ensure all table cells are the same size. Set +to FALSE if this is not your desired behaviour. + + + + +set or retrieve the number of rows in a table. + + + + +set or retrieve the number of columnsin a table. + + + + +set or retrieve the number of pixels of space between each row. + + + + +set or retrieve the number of pixels of space between each column. + + + + +whether each cell in the table should be the same size or not. + + diff --git a/docs/reference/gtk/tmpl/gtktearoffmenuitem.sgml b/docs/reference/gtk/tmpl/gtktearoffmenuitem.sgml new file mode 100644 index 0000000000..a065298e81 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtktearoffmenuitem.sgml @@ -0,0 +1,55 @@ + +GtkTearoffMenuItem + + +a menu item used to tear off and reattach its menu. + + + +a #GtkTearoffMenuItem is a special #GtkMenuItem which is used to +tear off and reattach its menu. + + + +When its menu is shown normally, the #GtkTearoffMenuItem is drawn as a +dotted line indicating that the menu can be torn off. Activating it +causes its menu to be torn off and displayed in its own window +as a tearoff menu. + + + +When its menu is shown as a tearoff menu, the #GtkTearoffMenuItem is drawn +as a dotted line which has a left pointing arrow graphic indicating that +the tearoff menu can be reattached. Activating it will erase the tearoff +menu window. + + + + + + + +#GtkMenu +for further discussion of menus in GTK. + + + + + + + +The #GtkTearoffMenuItem-struct struct contains private data only, and +should be accessed using the functions below. + + +@menu_item: +@torn_off: + + + +Creates a new #GtkTearoffMenuItem. + + +@Returns: a new #GtkTearoffMenuItem. + + diff --git a/docs/reference/gtk/tmpl/gtktext.sgml b/docs/reference/gtk/tmpl/gtktext.sgml new file mode 100644 index 0000000000..73cd8f0039 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtktext.sgml @@ -0,0 +1,246 @@ + +GtkText + + +text widget which allows display and manipulation of arbitrary text + + + +A #GtkText widget allows one to display any given text and manipulate it +by deleting from one point to another, selecting a region, and various +other functions as outlined below. It is inherited from #GtkEditable. + + + + + + + + + +Most of the #GtkText-struct struct members should not be accessed directly. +Listed below are a few exceptions and how to use them. + + + + + + +GtkAdjustment *hadj; +Allows you to see the state of an attached horizontal #GtkScrollbar. +See #GtkAdjustment for more info. This allows easy access to the adjustments +of the #GtkText struct without having to keep track of ones that you initialize +at widget creation. + + + +GtkAdjustment *vadj; +Same as hadj except it involves the vertical #GtkScrollbar. + + + + + + +@editable: +@text_area: +@hadj: +@vadj: +@gc: +@line_wrap_bitmap: +@line_arrow_bitmap: + + + +Internal #GtkText data type. + + + + + + +Internal #GtkText data type. Should not be access directly. + + + +@property: +@offset: +@index: + + + +Creates a new #GtkText widget, initialized with the given pointers to +#GtkAdjustments. These pointers can be used to track the viewing position +of the #GtkText widget. Passing NULL to either or both of them will make +the #GtkText create it's own. You can set these later with the function +gtk_text_set_adjustment() + + +@hadj: horizontal adjustment. +@vadj: vertical adjustment. +@Returns: the new #GtkText widget. + + + + +Set whether the #GtkText widget can be edited by the user or not. This +still allows you the programmer to make changes with the various #GtkText +functions. + + +@text: the #GtkText widget +@editable: %TRUE makes it editable, %FALSE makes it immutable by the user + + + + +Sets whether the #GtkText widget wraps words down to the next line if it +can't be completed on the current line. + + +@text: the #GtkText widget +@word_wrap: %TRUE makes it word wrap, %FALSE disables word wrapping + + + + +Controls how #GtkText handles long lines of continuous text. If line wrap +is on, the line is broken when it reaches the extent of the #GtkText widget +viewing area and the rest is displayed on the next line. If it is not set, +the line continues regardless size of current viewing area. Similar to word +wrap but it disregards word boundaries. + + +@text: the #GtkText widget +@line_wrap: %TRUE turns line wrap on, %FALSE turns it off + + + + +Allows you to set #GtkAdjustment pointers which in turn allows you to +keep track of the viewing position of the #GtkText widget. + + +@text: the #GtkText widget +@hadj: the horizontal adjustment +@vadj: the vertical adjustment + + + + +Sets the cursor at the given point. In this case a point constitutes +the number of characters from the extreme upper left corner of the #GtkText +widget. + + +@text: the #GtkText widget +@index: the number of characters from the upper left corner + + + + +Gets the current position of the cursor as the number of characters from +the upper left corner of the #GtkText widget. + + +@text: the #GtkText widget +@Returns: the number of characters from the upper left corner + + + + +Returns the length of the all the text contained within the #GtkText widget; +disregards current point position. + + +@text: the #GtkText widget +@Returns: the length of the text + + + + +Freezes the #GtkText widget which disallows redrawing of the widget until +it is thawed. This is useful if a large number of changes are going to +made to the text within the widget, reducing the amount of flicker seen +by the user. + + +@text: the #GtkText widget + + + + +Allows the #GtkText widget to be redrawn again by GTK. + + +@text: the #GtkText widget + + + + +Inserts given text into the #GtkText widget with the given properties as +outlined below. + + +@text: the #GtkText widget +@font: the #GdkFont to use +@fore: the foreground color to insert with +@back: the background color to insert with +@chars: the actual text to be inserted +@length: the length of the text to be inserted, passing -1 makes it insert +all the text. + + + + +Deletes from the current point position backward the given number of +characters. + + +@text: the #GtkText widget +@nchars: the number of characters to delete +@Returns: %TRUE if the operation was successful, otherwise returns %FALSE + + + + +Deletes from the current point position forward the given number of +characters. + + +@text: the #GtkText widget +@nchars: the number of characters to delete +@Returns: %TRUE if the operation was successful, otherwise returns %FALSE + + + + +Returns the character at the given index within the #GtkText widget. + + +@t: the #GtkText widget +@index: the number of characters from the upper left corner + + + + +Used by the #GtkText widget to keep track of the size of it's horizontal +text. + + + + +Used by the #GtkText widget to keep track of the size of it's vertical +text. + + + + +Boolean value indicating whether line wrap is enabled or not. + + + + +Boolean value indicated whether word wrap is enabled or not. + + diff --git a/docs/reference/gtk/tmpl/gtkthemes.sgml b/docs/reference/gtk/tmpl/gtkthemes.sgml new file mode 100644 index 0000000000..7dd4163a76 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkthemes.sgml @@ -0,0 +1,73 @@ + +Themes + + + + + + + + + + + + + + + + + + + +@parse_rc_style: +@merge_rc_style: +@rc_style_to_style: +@duplicate_style: +@realize_style: +@unrealize_style: +@destroy_rc_style: +@destroy_style: +@set_background: + + + + + + +@name: +@Returns: + + + + + + + +@engine: + + + + + + + +@engine: + + + + + + + +@argc: +@argv: + + + + + + + +@error_code: + + diff --git a/docs/reference/gtk/tmpl/gtktipsquery.sgml b/docs/reference/gtk/tmpl/gtktipsquery.sgml new file mode 100644 index 0000000000..0bc6abfaac --- /dev/null +++ b/docs/reference/gtk/tmpl/gtktipsquery.sgml @@ -0,0 +1,129 @@ + +GtkTipsQuery + + + + + + + + + + + + + + + + + + + +@label: +@emit_always: +@in_query: +@label_inactive: +@label_no_tip: +@caller: +@last_crossed: +@query_cursor: + + + + + + +@Returns: + + + + + + + +@tips_query: + + + + + + + +@tips_query: + + + + + + + +@tips_query: +@caller: + + + + + + + +@tips_query: +@label_inactive: +@label_no_tip: + + + + + + + +@tipsquery: the object which received the signal. + + + + + + +@tipsquery: the object which received the signal. + + + + + + +@tipsquery: the object which received the signal. +@widget: +@tip_text: +@tip_private: + + + + + + +@tipsquery: the object which received the signal. +@widget: +@tip_text: +@tip_private: +@event: +@Returns: + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtktogglebutton.sgml b/docs/reference/gtk/tmpl/gtktogglebutton.sgml new file mode 100644 index 0000000000..3ba8121c48 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtktogglebutton.sgml @@ -0,0 +1,166 @@ + +GtkToggleButton + + +create buttons which retain their state. + + + +A #GtkToggleButton is a #GtkButton which will remain 'pressed-in' when +clicked. Clicking again will cause the toggle button to return to it's +normal state. + + +A toggle button is created by calling either gtk_toggle_button_new() or +gtk_toggle_button_new_with_label(). If using the former, it is advisable to +pack a widget, (such as a #GtkLabel and/or a #GtkPixmap), into the toggle +button's container. (See #GtkButton for more information). + + +The state of a #GtkToggleButton can be set specifically using +gtk_toggle_button_set_active(), and retrieved using +gtk_toggle_button_get_active(). + + +To simply switch the state of a toggle button, use gtk_toggle_button_toggled. + + +Creating two #GtkToggleButton widgets. + + +void make_toggles(void) { + GtkWidget *dialog, *toggle1, *toggle2; + + dialog = gtk_dialog_new(); + toggle1 = gtk_toggle_button_new_with_label("Hi, i'm a toggle button."); + + /* Makes this toggle button invisible */ + gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (toggle1), TRUE); + + gtk_signal_connect (GTK_OBJECT (toggle1), "toggled", + GTK_SIGNAL_FUNC (output_state), NULL); + gtk_box_pack_start (GTK_BOX (GTK_DIALOG(dialog)->action_area), + toggle1, FALSE, FALSE, 2); + + toggle2 = gtk_toggle_button_new_with_label("Hi, i'm another toggle button."); + gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (toggle2), FALSE); + gtk_signal_connect (GTK_OBJECT (toggle2), "toggled", + GTK_SIGNAL_FUNC (output_state), NULL); + gtk_box_pack_start (GTK_BOX (GTK_DIALOG(dialog)->action_area), + toggle2, FALSE, FALSE, 2); + + gtk_widget_show_all (dialog); +} + + + + + + + + +#GtkButton +a more general button. + + +#GtkCheckButton +another way of presenting a toggle option. + + +#GtkCheckMenuItem +a #GtkToggleButton as a menu item. + + + + + + +The #GtkToggleButton struct contains private data only, and should be manipulated using the functions below. + + +@button: +@active: +@draw_indicator: +@event_window: + + + +Creates a new toggle button. A widget should be packed into the button, as in gtk_button_new(). + + +@Returns: a new toggle button. + + + + +Creates a new toggle button with a text label. + + +@label: a string containing the message to be placed in the toggle button. +@Returns: a new toggle button. + + + + +Determines whether or not the toggle button is drawn on screen. The default mode is FALSE, which results in the button being displayed. To make the button invisible, set draw_indicator to TRUE. + + +@toggle_button: a #GtkToggleButton. +@draw_indicator: TRUE or FALSE. + + + + +This is a deprecated macro, and is only maintained for compatability reasons. + + + + + + +Changes the state of the toggle button. + + +@toggle_button: a #GtkToggleButton. + + + + +Queries a #GtkToggleButton and returns it's current state. Returns TRUE if +the toggle button is pressed in and FALSE if it is raised. + + +@toggle_button: a #GtkToggleButton. +@Returns: a #gboolean value. + + + + +Sets the status of the toggle button. Set to TRUE if you want the +GtkToggleButton to be 'pressed in', and FALSE to raise it. +This action causes the toggled signal to be emitted. + + +@toggle_button: a #GtkToggleButton. +@is_active: TRUE or FALSE. + + + + +Should be connected if you wish to perform an action whenever the +#GtkToggleButton's state is changed. + + +@togglebutton: the object which received the signal. + + + +Sets whether the toggle button should be pressed in or not. + + + + +A value of TRUE causes the toggle button to be invisible. FALSE displays it +again. + + diff --git a/docs/reference/gtk/tmpl/gtktoolbar.sgml b/docs/reference/gtk/tmpl/gtktoolbar.sgml new file mode 100644 index 0000000000..7debeba9f7 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtktoolbar.sgml @@ -0,0 +1,332 @@ + +GtkToolbar + + +create bars of buttons and other widgets. + + + +A toolbar is created with a call to gtk_toolbar_new(). + + +Buttons with text and/or images are added with gtk_toolbar_append_item(), gtk_toolbar_prepend_item(), and gtk_toolbar_insert_item(). + + +Any of #GtkToggleButton, #GtkRadioButton, or an arbitrary widget can be added to the toolbar with gtk_toolbar_append_element(), gtk_toolbar_prepend_element(), and gtk_toolbar_insert_element(). + + +Widgets can be visibily grouped by adding gaps between widgets using gtk_toolbar_append_space(), gtk_toolbar_prepend_space, and gtk_toolbar_insert_space(). + + + + + + +#GtkToolTips +Change the properties of a #GtkToolbar's #GtkTooltips. + + +#GtkTipsQuery +Make use of the private tips of toolbar elements. + + + + + + +num_children is an integer specifying how many toolbar items the #GtkToolbar contains. children is a #GList of the child widgets of the toolbar. + + +orientation + + +@container: +@num_children: +@children: +@orientation: +@style: +@space_size: +@space_style: +@tooltips: +@button_maxw: +@button_maxh: +@relief: + + + +is used to set the type of new elements that are added to a #GtkToolbar. + + +SPACE is just a space in the style of the toolbar's GtkToolbarSpaceStyle. BUTTON denotes a #GtkButton. TOGGLEBUTTON denotes a #GtkToggleButton, RADIOBUTTON denotes a #GtkRadioButton, and WIDGET denotes a standard #GtkWidget. + + +@GTK_TOOLBAR_CHILD_SPACE: +@GTK_TOOLBAR_CHILD_BUTTON: +@GTK_TOOLBAR_CHILD_TOGGLEBUTTON: +@GTK_TOOLBAR_CHILD_RADIOBUTTON: +@GTK_TOOLBAR_CHILD_WIDGET: + + + + + + +@GTK_TOOLBAR_SPACE_EMPTY: +@GTK_TOOLBAR_SPACE_LINE: + + + + + + +@type: +@widget: +@icon: +@label: + + + +creates a new toolbar. + + +@orientation: a #GtkOrientation. It determines whether the toolbar appears horizontally or vertically. +@style: a #GtkToolbarStyle. It determines if the toolbar will contain buttons with just labels, just images, or both. +@Returns: the newly created toolbar. + + + + +adds a new button to the beginning (left or top edges) of the given toolbar. + + +@toolbar: a #GtkToolbar. +@text: give your toolbar button a label. +@tooltip_text: a string that appears when the user holds the mouse over this item. +@tooltip_private_text: use with #GtkTipsQuery. +@icon: a #GtkWidget that should be used as the button's icon. +@callback: the function to be executed when the button is pressed. +@user_data: a pointer to any data you wish to be passed to the callback. +@Returns: the new toolbar item as a #GtkWidget. + + + + +adds a new button to the beginning of the given toolbar. + + +@toolbar: a #GtkToolbar. +@text: give your toolbar button a label. +@tooltip_text: a string that appears when the user holds the mouse over this item. +@tooltip_private_text: use with #GtkTipsQuery. +@icon: a #GtkWidget that should be used as the button's icon. +@callback: the function to be executed when the button is pressed. +@user_data: a pointer to any data you wish to be passed to the callback. +@Returns: the new toolbar item as a #GtkWidget. + + + + +inserts a new item into the toolbar. You must specify the position in the toolbar where it will be inserted. + + +@toolbar: a #GtkToolbar. +@text: give your toolbar button a label. +@tooltip_text: a string that appears when the user holds the mouse over this item. +@tooltip_private_text: use with #GtkTipsQuery. +@icon: a #GtkWidget that should be used as the button's icon. +@callback: the function to be executed when the button is pressed. +@user_data: a pointer to any data you wish to be passed to the callback. +@position: the number of widgets to insert this item after. +@Returns: the new toolbar item as a #GtkWidget. + + + + +adds a new space to the end of the toolbar. + + +@toolbar: a #GtkToolbar. + + + + +adds a new space to the beginning of the toolbar. + + +@toolbar: a #GtkToolbar. + + + + +inserts a new space in the toolbar at the specified position. + + +@toolbar: a #GtkToolbar +@position: the number of widgets after which a space should be inserted. + + + + +adds a new element to the end of a toolbar. + + +@toolbar: a #GtkToolbar. +@type: a value of type #GtkToolbarChildType that determines what @widget will be. +@widget: a #GtkWidget to add to the toolbar. (FIXME: double check this). +@text: the element's label. +@tooltip_text: the element's tooltip. +@tooltip_private_text: used for context-sensitive help about this toolbar element. +@icon: a #GtkWidget that provides pictorial representation of the element's function. +@callback: the function to be executed when the button is pressed. +@user_data: any data you wish to pass to the callback. +@Returns: the new toolbar element as a #GtkWidget. + + + + +adds a new element to the beginning of a toolbar. + + +@toolbar: a #GtkToolbar. +@type: a value of type #GtkToolbarChildType that determines what @widget will be. +@widget: a #GtkWidget to add to the toolbar. (FIXME: double check this). +@text: the element's label. +@tooltip_text: the element's tooltip. +@tooltip_private_text: used for context-sensitive help about this toolbar element. +@icon: a #GtkWidget that provides pictorial representation of the element's function. +@callback: the function to be executed when the button is pressed. +@user_data: any data you wish to pass to the callback. +@Returns: the new toolbar element as a #GtkWidget. + + + + + + + +@toolbar: a #GtkToolbar. +@type: a value of type #GtkToolbarChildType that determines what @widget will be. +@widget: a #GtkWidget to add to the toolbar. (FIXME: double check this). +@text: the element's label. +@tooltip_text: the element's tooltip. +@tooltip_private_text: used for context-sensitive help about this toolbar element. +@icon: a #GtkWidget that provides pictorial representation of the element's function. +@callback: the function to be executed when the button is pressed. +@user_data: any data you wish to pass to the callback. +@position: the number of widgets to insert this element after. +@Returns: the new toolbar element as a #GtkWidget. + + + + + + + +@toolbar: +@widget: +@tooltip_text: +@tooltip_private_text: + + + + + + + +@toolbar: +@widget: +@tooltip_text: +@tooltip_private_text: + + + + + + + +@toolbar: +@widget: +@tooltip_text: +@tooltip_private_text: +@position: + + + + +sets whether a toolbar should appear horizontally or vertically. + + +@toolbar: a #GtkToolbar. +@orientation: a new #GtkOrientation. + + + + +alters the view of @toolbar to display either icons only, text only, or both. + + +@toolbar: a #GtkToolbar. +@style: the new style for @toolbar. + + + + +should be used to set the number of pixels each item of space takes up in a toolbar. + + +@toolbar: a #GtkToolbar. +@space_size: the new number of pixels that spaces should consume. + + + + +sets whether a 'space' in the toolbar appears as a line or just plain empty space. + + +@toolbar: a #GtkToolbar. +@space_style: the new style for the toolbar's spaces. + + + + +sets if the tooltips of a toolbar should be active or not. + + +@toolbar: a #GtkToolbar. +@enable: set to 0 to disable the tooltips, or 1 to enable them. + + + + + + + +@toolbar: +@relief: + + + + + + + +@toolbar: +@Returns: + + + + +should be used if you wish to perform an action when the orientation of a toolbar is changed. + + +@toolbar: the object which received the signal. +@orientation: the new #GtkOrientation of the toolbar. + + + +should be used if you wish to perform an action when ever the style of a toolbar is adjusted. For example, this would be a useful signal to connect to if you want to display more items on the toolbar when it is in icon-only mode; each item takes less space on the bar. + + +@toolbar: the object which received the signal. +@style: the new #GtkToolbarStyle of @toolbar. + diff --git a/docs/reference/gtk/tmpl/gtktooltips.sgml b/docs/reference/gtk/tmpl/gtktooltips.sgml new file mode 100644 index 0000000000..fba097eb9f --- /dev/null +++ b/docs/reference/gtk/tmpl/gtktooltips.sgml @@ -0,0 +1,177 @@ + +GtkTooltips + + +Add tips to your widgets. + + + +Tooltips are the messages that appear next to a widget when the mouse pointer is held over it for a short amount of time. They are especially helpful for adding more verbose descriptions of things such as buttons in a toolbar. + + +An individual tooltip belongs to a group of tooltips. A group is created with a call to gtk_tooltips_new(). Every tooltip in the group can then be turned off with a call to gtk_tooltips_disable() and enabled with gtk_tooltips_enable(). + + +The length of time the user must keep the mouse over a widget before the tip is shown, can be altered with gtk_tooltips_set_delay(). This is set on a 'per group of tooltips' basis. + + +To assign a tip to a particular #GtkWidget, gtk_tooltips_set_tip() is used. + + +The default appearance of all tooltips in a program is determined by the current gtk theme that the user has selected. To change the tooltip appearance manually, use gtk_tooltips_set_colors(). Again, this is per group of tooltips. + + +Information about the tooltip (if any) associated with an arbitrary widget can be retrieved using gtk_tooltips_data_get(). + + + +Adding tooltips to buttons. + + GtkWidget *load_button, *save_button, *hbox; + GtkTooltips *button_bar_tips; + + button_bar_tips = gtk_tooltips_new(); + + /* Create the buttons and pack them into a #GtkHBox */ + hbox = gtk_hbox_new(TRUE, 2); + + load_button = gtk_button_new_with_label("Load a file"); + gtk_box_pack_start(GTK_BOX (hbox), load_button, TRUE, TRUE, 2); + gtk_widget_show(load_button); + + save_button = gtk_button_new_with_label("Save a file"); + gtk_box_pack_start(GTK_BOX (hbox), save_button, TRUE, TRUE, 2); + gtk_widget_show(save_button); + gtk_widget_show(hbox); + + /* Add the tips */ + gtk_tooltips_set_tip(GTK_TOOLTIPS (button_bar_tips), load_button, + "Load a new document into this window", + "Requests the filename of a document. + This will then be loaded into the current + window, replacing the contents of whatever + is already loaded."); + gtk_tooltips_set_tip(GTK_TOOLTIPS (button_bar_tips), save_button, + "Saves the current document to a file", + "If you have saved the document previously, + then the new version will be saved over the + old one. Otherwise, you will be prompted for + a filename."); + + + + + + + +#GtkToolbar +Create groups of widgets with their own tooltips. + + +#GtkTipsQuery +Query tooltips to create context-sensitive help. + + + + + +Holds information about a group of tooltips. Fields should be changed using the functions provided, rather than directly accessing the struct's members. + + +@data: +@tip_window: +@active_tips_data: +@tips_data_list: +@gc: +@foreground: +@background: +@delay: +@enabled: +@timer_tag: + + + +tooltips is the #GtkTooltips group that this tooltip belongs to. widget is the #GtkWidget that this tooltip data is associated with. tip_text is a string containing the tooltip message itself. + +tip_private is a string that is not shown as the default tooltip. Instead, this message may be more informative and go towards forming a context-sensitive help system for your application. (FIXME: how to actually "switch on" private tips?) + + +@tooltips: +@widget: +@tip_text: +@tip_private: +@font: +@width: +@row: + + + +Creates an empty group of tooltips. This function initialises a #GtkTooltips structure. Without at least one such structure, you can not add tips to your application. + + +@Returns: a new #GtkTooltips group for you to use. + + + + +Allows the user to see your tooltips as they navigate your application. + + +@tooltips: a #GtkTooltips. + + + + +Causes all tooltips in @tooltips to become inactive. Any widgets that have tips associated with that group will no longer display their tips until they are enabled again with gtk_tooltips_enable(). + + +@tooltips: a #GtkTooltips. + + + + +Sets the time between the user moving the mouse over a widget and the widget's tooltip appearing. + + +@tooltips: a #GtkTooltips. +@delay: an integer value representing seconds (FIXME: double-check this). + + + + +Adds a tooltip containing the message @tip_text to the specified #GtkWidget. + + +@tooltips: a #GtkTooltips. +@widget: the #GtkWidget you wish to associate the tip with. +@tip_text: a string containing the tip itself. +@tip_private: a string of any further information that may be useful if the user gets stuck. + + + + +Changes the foreground and background colors of a #GtkTooltips. + + +@tooltips: a #GtkTooltip +@background: a #GdkColor that your tooltip text will be shown in. +@foreground: a #GdkColor that your tooltip backgrounds will be shown in. + + + + +Retrieves any #GtkTooltipsData previously associated with the given widget. + + +@widget: a #GtkWidget. +@Returns: a #GtkTooltipsData struct, or NULL if the widget has no tooltip. + + + + +Soon as I play with this, I'll report what it does. + + +@tooltips: + + diff --git a/docs/reference/gtk/tmpl/gtktree.sgml b/docs/reference/gtk/tmpl/gtktree.sgml new file mode 100644 index 0000000000..84be04bd2a --- /dev/null +++ b/docs/reference/gtk/tmpl/gtktree.sgml @@ -0,0 +1,307 @@ + +GtkTree + + +A treelist widget. + + + +The #GtkTree widget is a container that shows users a list of items, in a tree format complete with branches and leafnodes. Branches can be expanded to show their child items, or collapsed to hide them. + + + + +#GtkTreeList for the items to put into a #GtkTree. + + +#GtkScrolledWindow for details on how to scroll around a #GtkTree. + + + + + +struct _GtkTree +{ + GtkContainer container; + GList *children; + GtkTree* root_tree; /* owner of selection list */ + GtkWidget* tree_owner; + GList *selection; + guint level; + guint indent_value; + guint current_indent; + guint selection_mode : 2; + guint view_mode : 1; + guint view_line : 1; +}; + + + +@container: +@children: +@root_tree: +@tree_owner: +@selection: +@level: +@indent_value: +@current_indent: +@selection_mode: +@view_mode: +@view_line: + + + +A macro that returns a boolean value which indicates if @obj is a root tree or not. + + +@obj: A pointer to the #GtkTree. @obj will accept any pointer, but if the pointer does not point to a #GtkTree, the results are undefined. + + + + +A macro that returns the root tree of @obj. + + +If @obj is already a root tree, @obj is cast to #GtkTree and returned. + + +@obj: A pointer to the #GtkTree. @obj will accept any pointer, but if the pointer does not point to a #GtkTree, the results are undefined. + + + + +A macro that returns a GList that contains the selection of the root tree of @obj. + + +@obj: A pointer to the #GtkTree. @obj will accept any pointer, but it the pointer does not point to a #GtkTree, the results are undefined. + + + + + + + +@GTK_TREE_VIEW_LINE: +@GTK_TREE_VIEW_ITEM: + + + +Creates a new #GtkTree. + + +@Returns: A pointer to the newly allocated widget. + + + + +Adds the #GtkTreeItem in @tree_item to the end of the items in @tree. + + +@tree: A pointer to a #GtkTree. +@tree_item: A pointer to the #GtkWidget that is to be appended to the tree. + + + + +Adds the #GtkTreeItem in @tree_item to the start of the items in @tree. + + +@tree: A pointer to a #GtkTree. +@tree_item: A pointer to the #GtkWidget that is to be prepended to the tree. + + + + +Adds the #GtkTreeItem in @tree_item to the list of items in @tree at the position indicated by @position. + + +@tree: A pointer to a #GtkTree. +@tree_item: A pointer to the #GtkWidget that is to be added to the tree. +@position: A #gint that indicates the position in the tree, that the tree_item is to be added at. + + + + +Removes a list of items from the #GtkTree in @tree. + + +If only one item is to be removed from the #GtkTree, gtk_container_remove() can be used instead. + + +Removing an item from a #GtkTree dereferences the item, and thus usually destroys the item and any subtrees it may contain. If the item is not to be destroyed, use gtk_object_ref() before removing it. + + +@tree: A pointer to a #GtkTree. +@items: A pointer to a #GList that contains the items to be removed. + + + + +Removes the items at positions between @start and @end from the #GtkTree @tree. + + +Removing an item from a #GtkTree dereferences the item, and thus usually destroys the item and any subtrees it may contain. If the item is not to be destroyed, use gtk_object_ref() before removing it. + + +@tree: A pointer to a #GtkTree. +@start: A gint. +@end: A gint. + + + + +Emits the #select_item signal for the child at position @item, and thus selects it (unless it is unselected in a signal handler). + + +@tree: A pointer to a #GtkTree. +@item: A gint. + + + + +Emits the #unselect_item for the child at position @item, and thus unselects it. + + +@tree: A pointer to a #GtkTree. +@item: A gint. + + + + +Emits the #select_item signal for the child @tree_item, and thus selects it (unless it is unselected in a signal handler). + + +@tree: A pointer to a #GtkTree. +@tree_item: A pointer to the #GtkWidget that is to be selected. + + + + +Emits the #unselect_item signal for the child @tree_item, and thus unselects it. + + +@tree: A pointer to a #GtkTree. +@tree_item: A pointer to the #GtkWidget that is to be selected. + + + + +Returns the position of @child in the #GtkTree @tree. + + +If @child is not a child of @tree, then -1 is returned. + + +@tree: A pointer to a #GtkTree. +@child: A pointer to a #GtkWidget. +@Returns: A gint. + + + + +Sets the selection mode for the #GtkTree @tree. + + +@mode can be one of + + + + +%GTK_SELECTION_SINGLE for when only one item can be selected at a time. + + + + +%GTK_SELECTION_BROWSE for when one item must be selected. + + + + +%GTK_SELECTION_MULTIPLE for when many items can be selected at once. + + + + +%GTK_SELECTION_EXTENDED Reserved for later use. + + + + +The selection mode is only defined for a root tree, as the root tree "owns" the selection. + + +The default mode is %GTK_SELECTION_SINGLE. + + +@tree: A pointer to a #GtkTree. +@mode: A #GtkSelectionMode. + + + + +Sets the 'viewmode' for the #GtkTree in @tree. The 'viewmode' defines how the tree looks when an item is selected. + + +@mode can be one of: + + + + +%GTK_TREE_VIEW_LINE : When an item is selected the entire #GtkTreeItem is highlighted. + + + + +%GTK_TREE_VIEW_ITEM : When an item is selected only the selected item's child widget is highlighted. + + + + +The default mode is %GTK_TREE_VIEW_LINE. + + +@tree: A pointer to a #GtkTree. +@mode: A #GtkTreeViewMode. + + + + +Sets whether or not the connecting lines between branches and children are drawn. + + +@tree: A pointer to a #GtkTree. +@flag: A guint, indicating %TRUE, or %FALSE. + + + + +Removes the item @child from the #GtkTree @tree. + + +@tree: A pointer to a #GtkTree. +@child: A pointer to the #GtkWidget that is to be removed from the tree. + + + + +This signal is emitted by the root tree whenever the selection changes. + + +@tree: the object which received the signal. + + + +This signal is emitted by @tree whenever @widget is about to be selected. + + +@tree: the object which received the signal. +@widget: The child that is about to be selected. + + + +This signal is emitted by @tree whenever @widget is about to be unselected. + + +@tree: the object which received the signal. +@widget: The child that is about to be unselected. + diff --git a/docs/reference/gtk/tmpl/gtktreeitem.sgml b/docs/reference/gtk/tmpl/gtktreeitem.sgml new file mode 100644 index 0000000000..fd745a7293 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtktreeitem.sgml @@ -0,0 +1,115 @@ + +GtkTreeItem + + + + + + + + + + + + + + + + + + + +@item: +@subtree: +@pixmaps_box: +@pixmaps: +@expanded: + + + + + + +@obj: + + + + + + + +@Returns: + + + + + + + +@label: +@Returns: + + + + + + + +@tree_item: +@subtree: + + + + + + + +@tree_item: + + + + + + + +@tree_item: + + + + + + + +@tree_item: + + + + + + + +@tree_item: + + + + + + + +@tree_item: + + + + + + + +@treeitem: the object which received the signal. + + + + + + +@treeitem: the object which received the signal. + diff --git a/docs/reference/gtk/tmpl/gtktypeutils.sgml b/docs/reference/gtk/tmpl/gtktypeutils.sgml new file mode 100644 index 0000000000..6580d98173 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtktypeutils.sgml @@ -0,0 +1,869 @@ + +Types + + +Handle run-time type creation. + + + +Gtk's type system is extensible. Because of that, types have to be +managed at runtime. + + + + + + + + + +@GtkType is unique integer identifying the type. The guts of the +information about the type is held in a private struct named +GtkTypeNode. + + + + + +@GtkFundamentalType is an enumerated type which lists all the possible +fundamental types (e.g. char, uchar, int, long, float, etc). + + +@GTK_TYPE_INVALID: +@GTK_TYPE_NONE: +@GTK_TYPE_CHAR: +@GTK_TYPE_UCHAR: +@GTK_TYPE_BOOL: +@GTK_TYPE_INT: +@GTK_TYPE_UINT: +@GTK_TYPE_LONG: +@GTK_TYPE_ULONG: +@GTK_TYPE_FLOAT: +@GTK_TYPE_DOUBLE: +@GTK_TYPE_STRING: +@GTK_TYPE_ENUM: +@GTK_TYPE_FLAGS: +@GTK_TYPE_BOXED: +@GTK_TYPE_POINTER: +@GTK_TYPE_SIGNAL: +@GTK_TYPE_ARGS: +@GTK_TYPE_CALLBACK: +@GTK_TYPE_C_CALLBACK: +@GTK_TYPE_FOREIGN: +@GTK_TYPE_OBJECT: + + + +No idea. + + + + + + +The first "flat" (no struct) enumerated type value. + + + + + + +The last "flat" (no struct) enumerated type value. + + + + + + +The first structured enumerated type value. + + + + + + +The last structured enumerated type value. + + + + + + +The highest-numbered structured or flat enumerated type value. + + + + + + +The highest maximum fundamental enumerated type value. + + + + + + +Use in place of offsetof(), which is used if it exists. + + +@struct: The type of the structure. +@field: The field within the structure. + + + + +Cast the object in @tobj into @cast. If GTK_NO_CHECK_CASTS is +defined, just cast it. Otherwise, check to see if we can cast @tobj +into a @cast. + + +@tobj: a pointer to a GtkObject. +@cast_type: a Gtk type. +@cast: a C type + + + + +Cast the object in @tobj into @cast. If GTK_NO_CHECK_CASTS is +defined, just cast it. Otherwise, check to see if we can cast @tobj +into a @cast. + + +@tclass: a pointer to a GtkClassInitFunc +@cast_type: a Gtk type. +@cast: a C type + + + + +Determines whether @type_object is a type of @otype. + + +@type_object: A GtkTypeObject object. +@otype: + + + + +Determines whether @type_class is a type of @otype. + + +@type_class: A GtkTypeClass class. +@otype: + + + + +Hide the name of gtk_identifier_get_type + + + + + + +Get the type of GtkIdentifier. + + +@Returns: GtkType -- the enumerated type of something. + + + + +Combine a fundemantal type and a sequence number to create a gtk type. + + +@parent_t: +@seqno: + + + + +Convert a gtk type into a fundamental type + + +@type: + + + + +Convert a gtk type into its sequence number + + +@type: + + + + +Just a macroized cast into a GtkSignalFunc + + +@f: + + + + +Define a function pointer. + + +@klass: a gpointer + + + + +Define a function pointer. + + +@object: a gpointer +@klass: a gpointer + + + + +Define a function pointer. + + + + + + +Define a function pointer. + + +@data: gpointer +@Returns: gint + + + + +Define a function pointer. + + +@data: gpointer + + + + +Define a function pointer. + + +@object: GtkObject* +@data: gpointer +@n_args: guint +@args: GtkArg* + + + + +Define a function pointer. + + +@object: GtkObject* +@func: GtkSignalFunc +@func_data: gpointer +@args: GtkArg* + + + + +Define a function pointer. Deprecated. + + +@object: +@arg: +@arg_id: + + + + +Define a function pointer. Deprecated. + + +@object: +@arg: +@arg_id: + + + + +A GtkTypeObject defines the minimum structure requirements +for type instances. Type instances returned from gtk_type_new () +and initialized through a GtkObjectInitFunc need to directly inherit +from this structure or at least copy its fields one by one. + + +@klass: + + + +This is a structure that we use to pass in typed values (and names). + + +@type: +@name: + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_CHAR + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_UCHAR + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_BOOL + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_INT + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_UINT + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_LONG + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ULONG + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_FLOAT + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_DOUBLE + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_STRING + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ENUM + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_FLAGS + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_BOXED + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_POINTER + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_OBJECT + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_SIGNAL + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_ARGS + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_CALLBACK + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_CALLBACK + + +@a: + + + + +Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_CHAR + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_UCHAR + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_BOOL + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_INT + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_UINT + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_LONG + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_ULONG + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_FLOAT + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_DOUBLE + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_STRING + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_ENUM + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_FLAGS + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_BOXED + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_POINTER + + +@a: + + + + +If the GtkArg contains a pointer to the value, this macro will be a pointer to a GTK_TYPE_OBJECT + + +@a: + + + + +Holds information about the type. @gtk_type_name returns the name. +@object_size is somehow set to the number of bytes that an instance of +the object will occupy. @class_init_func holds the type's +initialization function. @object_init_func holds the initialization +function for an instance of the object. @reserved_1 is used for +GtkEnumValue to hold the enumerated values. + + +@type_name: +@object_size: +@class_size: +@class_init_func: +@object_init_func: +@reserved_1: +@reserved_2: +@base_class_init_func: + + + +A structure used to return values from @gtk_type_query. + + +@type: +@type_name: +@object_size: +@class_size: + + + +The base structure for a Gtk Type. Every type inherits this as a base structure. + + + + + +A structure which contains a single enum value, and its name, and it's +nickname. + + +@value: +@value_name: +@value_nick: + + + +Initialize the data structures associated with gtk types. + + + + + + +Create a new, unique type. + + +@parent_type: if zero, a fundamental type is created. +@type_info: must not be null, and @type_info->type_name must also not be null. +@Returns: the new GtkType. + + + + +Set the mem_chunk size so it will hold @n_chunks of the objects of that @type. + + +@type: There must be an unlocked TypeNode associated with this type otherwise nothing happens. +@n_chunks: + + + + + + +@type: a GtkType +@Returns: a pointer to the name of a type, or NULL if it has none. + + + + +Get the internal representation of a type given its name. + + +@name: the name of a gtk type +@Returns: a GtkType + + + + + + + +@type: a GtkType +@Returns: the GtkType of the parent + + + + +Return a gpointer pointing to the class of @type or NULL if there was +any trouble identifying @type. Initialize the class if necessary. + + +@type: a GtkType +@Returns: gpointer to the klass. + + + + +Return the class of the parent. Initialize the class if necessary. +Return NULL if anything goes wrong. + + +@type: GtkType +@Returns: gpointer to the klass. + + + + +Return the pointer to the type's children's types. + + +@type: GtkType +@Returns: pointer to a GList + + + + +Create a new object of a given type, and return a gpointer to it. +Returns NULL if you give it an invalid type. It allocates the object +out of the type's memory chunk if there is a memory chunk. The object +has all the proper initializers called. + + +@type: GtkType +@Returns: gpointer to a GtkTypeObject + + + + +Given the type of an object and a pointer to it, the object is freed. + + +@type: GtkType +@mem: gpointer to the object + + + + +Print the types @type inherits from. + + +@type: GtkType + + + + +Given a @type, describe all of its children, and their children. Only +show the size if @show_size is true. + + +@type: GtkType +@show_size: gboolean + + + + +Look in the type hierarchy to see if @type has @is_a_type among its +ancestors. Do so with a simple lookup, not a loop. + + +@type: GtkType +@is_a_type: GtkType +@Returns: + + + + +Given a pointer to a GtkTypeObject @type_object, and a GtkType @cast_type, +make sure that it's okay to cast @type_object into a @cast_type. + + +@type_object: GtkTypeObject* +@cast_type: GtkType +@Returns: the same GtkTypeObject* as @type_object + + + + +Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make +sure that it's okay to cast something of that @klass into a @cast_type. + + +@klass: GtkTypeClass* +@cast_type: GtkType +@Returns: Always return @klass. + + + + +Register a new set of enum @values and give them the name in +@type_name. + + +@type_name: must not be null. +@values: GtkEnumValue* +@Returns: + + + + +Register a new set of flags @values and give them the name in +@type_name. +ara> + +@type_name: must not be null. +@values: GtkFlagValue* +@Returns: + + + + +If @enum_type has values, then return a pointer to all of them. + + +@enum_type: GtkType +@Returns: GtkEnumValue* + + + + +If @flags_type has values, then return a pointer to all of them. + + +@flags_type: +@Returns: GtkFlagValue* + + + + +Return a pointer to one of @enum_type's GtkEnumValues's whose name (or nickname) matches @value_name. + + +@enum_type: GtkType +@value_name: +@Returns: GtkEnumValue* + + + + +Return a pointer to one of @flag_type's GtkFlagValue's whose name (or nickname) matches @value_name. + + +@flag_type: GtkType +@value_name: +@Returns: GtkFlagValue* + + + + +Set the varargs type for a fundamental type @foreign_type. + + +@foreign_type: Must be a GtkType with a sequence number of zero. Must not be a +fundamental type. +@varargs_type: Must be a GtkType which is either structured or flag, or NONE. + + + + +Get the varargs type associated with @foreign_type + + +@foreign_type: GtkType +@Returns: GtkType + + + + +Given a type, return various interesting parameters of the type. + + +@type: GtkType +@Returns: GtkTypeQuery* + + diff --git a/docs/reference/gtk/tmpl/gtkvbbox.sgml b/docs/reference/gtk/tmpl/gtkvbbox.sgml new file mode 100644 index 0000000000..d0fe4c8652 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkvbbox.sgml @@ -0,0 +1,63 @@ + +GtkVButtonBox + + + + + + + + + + + + + + + + + + + +@button_box: + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@spacing: + + + + + + + +@Returns: + + + + + + + +@layout: + + diff --git a/docs/reference/gtk/tmpl/gtkvbox.sgml b/docs/reference/gtk/tmpl/gtkvbox.sgml new file mode 100644 index 0000000000..306f685abe --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkvbox.sgml @@ -0,0 +1,47 @@ + +GtkVBox + + +vertical container box + + + +GtkVBox is a container that organizes child widgets into a single column. + + + +Use the #GtkBox packing interface to determine the arrangement, +spacing, height, and alignment of GtkVBox children. + + + +All children are allocated the same width. + + + + + + + +#GtkHBox +a sister class that organizes widgets into a row. + + + + + + + + +@box: + + + +Creates a new GtkVBox. + + +@homogeneous: %TRUE if all children are to be given equal space allotments. +@spacing: the number of pixels to place by default between children. +@Returns: a new GtkVBox. + + diff --git a/docs/reference/gtk/tmpl/gtkviewport.sgml b/docs/reference/gtk/tmpl/gtkviewport.sgml new file mode 100644 index 0000000000..a43582f0c7 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkviewport.sgml @@ -0,0 +1,98 @@ + +GtkViewport + + + + + + + + + + + + + + + + + + + +@bin: +@shadow_type: +@view_window: +@bin_window: +@hadjustment: +@vadjustment: + + + + + + +@hadjustment: +@vadjustment: +@Returns: + + + + + + + +@viewport: +@Returns: + + + + + + + +@viewport: +@Returns: + + + + + + + +@viewport: +@adjustment: + + + + + + + +@viewport: +@adjustment: + + + + + + + +@viewport: +@type: + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkvpaned.sgml b/docs/reference/gtk/tmpl/gtkvpaned.sgml new file mode 100644 index 0000000000..f6d41bc5a6 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkvpaned.sgml @@ -0,0 +1,33 @@ + +GtkVPaned + + +A container with two panes arranged vertically. + + + +The VPaned widget is a container widget with two +children arranged vertically. The division between +the two panes is adjustable by the user by dragging +a handle. See #GtkPaned for details. + + + + + + + + + + + +@paned: + + + +Create a new #GtkVPaned + + +@Returns: the new #GtkVPaned + + diff --git a/docs/reference/gtk/tmpl/gtkvruler.sgml b/docs/reference/gtk/tmpl/gtkvruler.sgml new file mode 100644 index 0000000000..789cd16ce8 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkvruler.sgml @@ -0,0 +1,38 @@ + +GtkVRuler + + +A vertical ruler. + + + +The VRuler widget is a widget arranged vertically creating a ruler that is +utilized around other widgets such as a text widget. The ruler is used to show +the location of the mouse on the window and to show the size of the window in +specified units. The available units of measurement are GTK_PIXELS, GTK_INCHES +and GTK_CENTIMETERS. GTK_PIXELS is the default. +rulers. + + + + + + + + + + +The #GtkVRuler struct contains private data and should be accessed +using the functions below. + + +@ruler: + + + +Creates a new vertical ruler + + +@Returns: the new GTKVRuler. + + diff --git a/docs/reference/gtk/tmpl/gtkvscale.sgml b/docs/reference/gtk/tmpl/gtkvscale.sgml new file mode 100644 index 0000000000..0b0e0171d1 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkvscale.sgml @@ -0,0 +1,45 @@ + +GtkVScale + + +a vertical slider widget for selecting a value from a range. + + + +The #GtkVScale widget is used to allow the user to select a value using +a vertical slider. +A #GtkAdjustment is used to set the initial value, the lower +and upper bounds, and the step and page increments. + + +The position to show the current value, and the number of decimal places +shown can be set using the parent #GtkScale class's functions. + + + + + + + + + +The #GtkVScale-struct struct contains private data only, and +should be accessed using the functions below. + + +@scale: + + + +Creates a new #GtkVScale. + + +@adjustment: the #GtkAdjustment which sets the range of the scale. +@Returns: a new #GtkVScale. + + + + +the #GtkAdjustment which sets the range of the scale. + + diff --git a/docs/reference/gtk/tmpl/gtkvscrollbar.sgml b/docs/reference/gtk/tmpl/gtkvscrollbar.sgml new file mode 100644 index 0000000000..ecff50a5b0 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkvscrollbar.sgml @@ -0,0 +1,42 @@ + +GtkVScrollbar + + +A vertical scrollbar + + + +The VScrollbar widget is a widget arranged vertically creating a scroll bar. See +#GtkScrollbar for details on scrollbars. #GtkAdjustment pointers may be added to +handle the adjustment of the scrollbars or it may be left NULL in which case one +will be created you. See #GtkAdjustment for details. + + + + + + + + + + +The #GtkVScrollbar struct contains private data and should be accessed +using the functions below. + + +@scrollbar: + + + +Creates a new vertical scrollbar. + + +@adjustment: +@Returns: the new GTKVScrollbar + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkvseparator.sgml b/docs/reference/gtk/tmpl/gtkvseparator.sgml new file mode 100644 index 0000000000..6e4b7047c3 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkvseparator.sgml @@ -0,0 +1,31 @@ + +GtkVSeparator + + + + + + + + + + + + + + + + + + + +@separator: + + + + + + +@Returns: + + diff --git a/docs/reference/gtk/tmpl/gtkwidget.sgml b/docs/reference/gtk/tmpl/gtkwidget.sgml new file mode 100644 index 0000000000..3ecc84727b --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkwidget.sgml @@ -0,0 +1,1721 @@ + +GtkWidget + + + + + + + + + + + + + + + + + + + +@object: +@private_flags: +@state: +@saved_state: +@name: +@style: +@requisition: +@allocation: +@window: +@parent: + + + + + + +@GTK_TOPLEVEL: +@GTK_NO_WINDOW: +@GTK_REALIZED: +@GTK_MAPPED: +@GTK_VISIBLE: +@GTK_SENSITIVE: +@GTK_PARENT_SENSITIVE: +@GTK_CAN_FOCUS: +@GTK_HAS_FOCUS: +@GTK_CAN_DEFAULT: +@GTK_HAS_DEFAULT: +@GTK_HAS_GRAB: +@GTK_RC_STYLE: +@GTK_COMPOSITE_CHILD: +@GTK_NO_REPARENT: +@GTK_APP_PAINTABLE: +@GTK_RECEIVES_DEFAULT: + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: + + + + + + + +@wid: +@flag: + + + + + + + +@wid: +@flag: + + + + + + + +@widget: +@data: + + + + + + + +@width: +@height: + + + + + + +@x: +@y: +@width: +@height: + + + + + + +@selection: +@target: +@type: +@format: +@data: +@length: + + + + + + +@x: +@y: +@width: +@height: + + + + + + +@offset_x: +@offset_y: +@shape_mask: + + + + + + +@type: +@first_arg_name: +@Varargs: +@Returns: + + + + + + + +@type: +@nargs: +@args: +@Returns: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: +@widget_pointer: + + + + + + + +@widget: +@arg: + + + + + + + +@widget: +@nargs: +@args: + + + + + + + +@widget: +@first_arg_name: +@Varargs: + + + + + + + +@widget: +@nargs: +@args: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: +@area: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: +@requisition: + + + + + + + +@widget: +@requisition: + + + + + + + +@widget: +@allocation: + + + + + + + +@widget: +@accel_signal: +@accel_group: +@accel_key: +@accel_mods: +@accel_flags: + + + + + + + +@widget: +@accel_group: +@accel_key: +@accel_mods: + + + + + + + +@widget: +@accel_signal: +@visible_only: + + + + + + + +@widget: +@accel_group: +@accel_key: +@accel_mods: +@Returns: + + + + + + + +@widget: +@event: +@Returns: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@new_parent: + + + + + + + +@widget: +@x: +@y: + + + + + + + +@widget: +@area: +@intersection: +@Returns: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: +@name: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@state: + + + + + + + +@widget: +@sensitive: + + + + + + + +@widget: +@parent: + + + + + + + +@widget: +@parent_window: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@x: +@y: + + + + + + + +@widget: +@width: +@height: + + + + + + + +@widget: +@events: + + + + + + + +@widget: +@events: + + + + + + + +@widget: +@mode: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@widget_type: +@Returns: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@colormap: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@visual: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@x: +@y: + + + + + + + +@widget: +@ancestor: +@Returns: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: +@style: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: + + + + + + + +@widget: + + + + + + + +@style: + + + + + + + +@cmap: + + + + + + + +@visual: + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@style: + + + + + + + +@colormap: + + + + + + + +@visual: + + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@Returns: + + + + + + + +@widget: +@shape_mask: +@offset_x: +@offset_y: + + + + + + + +@widget: +@path_length: +@path: +@path_reversed: + + + + + + + +@widget: +@path_length: +@path: +@path_reversed: + + + + + + + +@widget: +@Returns: + + + + + + + +@widget: + + + + + + + +@widget: +@style: + + + + + + + + + + + + + + + + + + + + + +@widget: + + + + + + + +@widget: +@x: +@y: +@width: +@height: + + + + + + + +@widget: +@x: +@y: +@width: +@height: + + + + + + + +@widget: + + + + + + + +@widget: +@app_paintable: + + + + + + + +@widget: +@name: + + + + + + + +@widget: +@hadjustment: +@vadjustment: +@Returns: + + + + + + + +@widget: + + + + + + + +@widget: the object which received the signal. + + + + + + +@widget: the object which received the signal. + + + + + + +@widget: the object which received the signal. + + + + + + +@widget: the object which received the signal. + + + + + + +@widget: the object which received the signal. + + + + + + +@widget: the object which received the signal. + + + + + + +@widget: the object which received the signal. +@area: + + + + + + +@widget: the object which received the signal. + + + + + + +@widget: the object which received the signal. + + + + + + +@widget: the object which received the signal. +@requisition: + + + + + + +@widget: the object which received the signal. +@allocation: + + + + + + +@widget: the object which received the signal. +@state: + + + + + + +@widget: the object which received the signal. +@old_parent: + + + + + + +@widget: the object which received the signal. +@previous_style: + + + + + + +@widget: the object which received the signal. +@accel_signal_id: +@accel_group: +@accel_key: +@accel_mods: +@accel_flags: + + + + + + +@widget: the object which received the signal. +@accel_group: +@accel_key: +@accel_mods: + + + + + + +@widget: the object which received the signal. + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@data: +@info: +@time: + + + + + + +@widget: the object which received the signal. +@data: +@time: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@drag_context: + + + + + + +@widget: the object which received the signal. +@drag_context: + + + + + + +@widget: the object which received the signal. +@drag_context: + + + + + + +@widget: the object which received the signal. +@drag_context: +@time: + + + + + + +@widget: the object which received the signal. +@drag_context: +@x: +@y: +@time: +@Returns: + + + + + + +@widget: the object which received the signal. +@drag_context: +@x: +@y: +@time: +@Returns: + + + + + + +@widget: the object which received the signal. +@drag_context: +@data: +@info: +@time: + + + + + + +@widget: the object which received the signal. +@drag_context: +@x: +@y: +@data: +@info: +@time: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@event: +@Returns: + + + + + + +@widget: the object which received the signal. +@message: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkwindow.sgml b/docs/reference/gtk/tmpl/gtkwindow.sgml new file mode 100644 index 0000000000..abb94a3fa6 --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkwindow.sgml @@ -0,0 +1,247 @@ + +GtkWindow + + + + + + + + + + + + + + + + + + + +@bin: +@title: +@wmclass_name: +@wmclass_class: +@type: +@focus_widget: +@default_widget: +@transient_parent: +@resize_count: +@allow_shrink: +@allow_grow: +@auto_shrink: +@handling_resize: +@position: +@use_uposition: +@modal: + + + + + + +@type: +@Returns: + + + + + + + +@window: +@title: + + + + + + + +@window: +@wmclass_name: +@wmclass_class: + + + + + + + +@window: +@focus: + + + + + + + +@window: +@defaultw: + + + + + + + +@window: +@allow_shrink: +@allow_grow: +@auto_shrink: + + + + + + + +@window: +@accel_group: + + + + + + + +@window: +@accel_group: + + + + + + + + + + + + + + +@window: +@Returns: + + + + + + + +@window: +@Returns: + + + + + + + +@window: +@modal: + + + + + + + +@window: +@xid: + + + + + + + +@window: +@xid: + + + + + + + +@window: +@width: +@height: + + + + + + + +@window: +@geometry_widget: +@geometry: +@geom_mask: + + + + + + + +@window: +@position: + + + + + + + +@window: +@parent: + + + + + + + +@window: the object which received the signal. +@widget: + + + +The type of the window. + + + + +The title of the window. + + + + +If the window shrinks automatically when widgets within it shrink. + + + + +If the window can be resized to a smaller size by the user. + + + + +If the window can be resized to a larger size by the user. + + + + +If the window is modal, i.e. it grabs all GTK+ events. + + + + +The position of the window. + +