From a4460f6d9453bbd7e584937686449cef3e19f052 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 20 Aug 2018 20:34:57 -0400 Subject: Initial commit --- gtk+-mingw/include/gtk-3.0/gdk/gdk.h | 61 + .../include/gtk-3.0/gdk/gdkapplaunchcontext.h | 60 + gtk+-mingw/include/gtk-3.0/gdk/gdkcairo.h | 63 + gtk+-mingw/include/gtk-3.0/gdk/gdkcolor.h | 77 + gtk+-mingw/include/gtk-3.0/gdk/gdkconfig.h | 22 + gtk+-mingw/include/gtk-3.0/gdk/gdkcursor.h | 240 ++ gtk+-mingw/include/gtk-3.0/gdk/gdkdevice.h | 237 ++ gtk+-mingw/include/gtk-3.0/gdk/gdkdevicemanager.h | 44 + gtk+-mingw/include/gtk-3.0/gdk/gdkdisplay.h | 141 ++ gtk+-mingw/include/gtk-3.0/gdk/gdkdisplaymanager.h | 55 + gtk+-mingw/include/gtk-3.0/gdk/gdkdnd.h | 153 ++ gtk+-mingw/include/gtk-3.0/gdk/gdkenumtypes.h | 105 + gtk+-mingw/include/gtk-3.0/gdk/gdkevents.h | 1277 +++++++++++ gtk+-mingw/include/gtk-3.0/gdk/gdkkeys.h | 142 ++ gtk+-mingw/include/gtk-3.0/gdk/gdkkeysyms-compat.h | 2300 +++++++++++++++++++ gtk+-mingw/include/gtk-3.0/gdk/gdkkeysyms.h | 2309 ++++++++++++++++++++ gtk+-mingw/include/gtk-3.0/gdk/gdkmain.h | 122 ++ gtk+-mingw/include/gtk-3.0/gdk/gdkpango.h | 56 + gtk+-mingw/include/gtk-3.0/gdk/gdkpixbuf.h | 52 + gtk+-mingw/include/gtk-3.0/gdk/gdkprivate.h | 40 + gtk+-mingw/include/gtk-3.0/gdk/gdkproperty.h | 91 + gtk+-mingw/include/gtk-3.0/gdk/gdkrectangle.h | 51 + gtk+-mingw/include/gtk-3.0/gdk/gdkrgba.h | 62 + gtk+-mingw/include/gtk-3.0/gdk/gdkscreen.h | 100 + gtk+-mingw/include/gtk-3.0/gdk/gdkselection.h | 208 ++ gtk+-mingw/include/gtk-3.0/gdk/gdktestutils.h | 58 + gtk+-mingw/include/gtk-3.0/gdk/gdkthreads.h | 87 + gtk+-mingw/include/gtk-3.0/gdk/gdktypes.h | 421 ++++ gtk+-mingw/include/gtk-3.0/gdk/gdkversionmacros.h | 220 ++ gtk+-mingw/include/gtk-3.0/gdk/gdkvisual.h | 123 ++ gtk+-mingw/include/gtk-3.0/gdk/gdkwin32.h | 105 + gtk+-mingw/include/gtk-3.0/gdk/gdkwindow.h | 884 ++++++++ .../include/gtk-3.0/gdk/win32/gdkwin32cursor.h | 54 + .../include/gtk-3.0/gdk/win32/gdkwin32display.h | 54 + .../gtk-3.0/gdk/win32/gdkwin32displaymanager.h | 47 + gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32dnd.h | 47 + .../include/gtk-3.0/gdk/win32/gdkwin32keys.h | 47 + .../include/gtk-3.0/gdk/win32/gdkwin32screen.h | 54 + .../include/gtk-3.0/gdk/win32/gdkwin32window.h | 54 + .../include/gtk-3.0/gtk/deprecated/gtkcolorsel.h | 157 ++ .../gtk-3.0/gtk/deprecated/gtkcolorseldialog.h | 80 + .../include/gtk-3.0/gtk/deprecated/gtkfontsel.h | 165 ++ .../include/gtk-3.0/gtk/deprecated/gtkhandlebox.h | 100 + .../include/gtk-3.0/gtk/deprecated/gtkhbbox.h | 65 + .../include/gtk-3.0/gtk/deprecated/gtkhbox.h | 67 + .../include/gtk-3.0/gtk/deprecated/gtkhpaned.h | 64 + .../include/gtk-3.0/gtk/deprecated/gtkhscale.h | 68 + .../include/gtk-3.0/gtk/deprecated/gtkhscrollbar.h | 64 + .../include/gtk-3.0/gtk/deprecated/gtkhseparator.h | 64 + gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhsv.h | 106 + gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkrc.h | 322 +++ .../include/gtk-3.0/gtk/deprecated/gtkstyle.h | 703 ++++++ .../include/gtk-3.0/gtk/deprecated/gtktable.h | 162 ++ .../gtk-3.0/gtk/deprecated/gtktearoffmenuitem.h | 74 + .../include/gtk-3.0/gtk/deprecated/gtkvbbox.h | 64 + .../include/gtk-3.0/gtk/deprecated/gtkvbox.h | 65 + .../include/gtk-3.0/gtk/deprecated/gtkvpaned.h | 64 + .../include/gtk-3.0/gtk/deprecated/gtkvscale.h | 74 + .../include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h | 70 + .../include/gtk-3.0/gtk/deprecated/gtkvseparator.h | 70 + gtk+-mingw/include/gtk-3.0/gtk/gtk.h | 250 +++ gtk+-mingw/include/gtk-3.0/gtk/gtkaboutdialog.h | 169 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkaccelgroup.h | 209 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkaccellabel.h | 101 + gtk+-mingw/include/gtk-3.0/gtk/gtkaccelmap.h | 93 + gtk+-mingw/include/gtk-3.0/gtk/gtkaccessible.h | 75 + gtk+-mingw/include/gtk-3.0/gtk/gtkaction.h | 166 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkactionable.h | 77 + gtk+-mingw/include/gtk-3.0/gtk/gtkactiongroup.h | 232 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkactivatable.h | 85 + gtk+-mingw/include/gtk-3.0/gtk/gtkadjustment.h | 121 + gtk+-mingw/include/gtk-3.0/gtk/gtkalignment.h | 96 + gtk+-mingw/include/gtk-3.0/gtk/gtkappchooser.h | 49 + .../include/gtk-3.0/gtk/gtkappchooserbutton.h | 89 + .../include/gtk-3.0/gtk/gtkappchooserdialog.h | 78 + .../include/gtk-3.0/gtk/gtkappchooserwidget.h | 103 + gtk+-mingw/include/gtk-3.0/gtk/gtkapplication.h | 125 ++ .../include/gtk-3.0/gtk/gtkapplicationwindow.h | 75 + gtk+-mingw/include/gtk-3.0/gtk/gtkarrow.h | 81 + gtk+-mingw/include/gtk-3.0/gtk/gtkaspectframe.h | 84 + gtk+-mingw/include/gtk-3.0/gtk/gtkassistant.h | 188 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkbbox.h | 90 + gtk+-mingw/include/gtk-3.0/gtk/gtkbin.h | 79 + gtk+-mingw/include/gtk-3.0/gtk/gtkbindings.h | 189 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkborder.h | 66 + gtk+-mingw/include/gtk-3.0/gtk/gtkbox.h | 112 + gtk+-mingw/include/gtk-3.0/gtk/gtkbuildable.h | 173 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkbuilder.h | 178 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkbutton.h | 128 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkcalendar.h | 169 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkcellarea.h | 482 ++++ gtk+-mingw/include/gtk-3.0/gtk/gtkcellareabox.h | 87 + .../include/gtk-3.0/gtk/gtkcellareacontext.h | 135 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkcelleditable.h | 62 + gtk+-mingw/include/gtk-3.0/gtk/gtkcelllayout.h | 135 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderer.h | 280 +++ .../include/gtk-3.0/gtk/gtkcellrendereraccel.h | 84 + .../include/gtk-3.0/gtk/gtkcellrenderercombo.h | 65 + .../include/gtk-3.0/gtk/gtkcellrendererpixbuf.h | 68 + .../include/gtk-3.0/gtk/gtkcellrendererprogress.h | 72 + .../include/gtk-3.0/gtk/gtkcellrendererspin.h | 64 + .../include/gtk-3.0/gtk/gtkcellrendererspinner.h | 67 + .../include/gtk-3.0/gtk/gtkcellrenderertext.h | 75 + .../include/gtk-3.0/gtk/gtkcellrenderertoggle.h | 82 + gtk+-mingw/include/gtk-3.0/gtk/gtkcellview.h | 95 + gtk+-mingw/include/gtk-3.0/gtk/gtkcheckbutton.h | 80 + gtk+-mingw/include/gtk-3.0/gtk/gtkcheckmenuitem.h | 98 + gtk+-mingw/include/gtk-3.0/gtk/gtkclipboard.h | 237 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkcolorbutton.h | 108 + gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooser.h | 87 + .../include/gtk-3.0/gtk/gtkcolorchooserdialog.h | 68 + .../include/gtk-3.0/gtk/gtkcolorchooserwidget.h | 71 + gtk+-mingw/include/gtk-3.0/gtk/gtkcolorutils.h | 48 + gtk+-mingw/include/gtk-3.0/gtk/gtkcombobox.h | 147 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkcomboboxtext.h | 88 + gtk+-mingw/include/gtk-3.0/gtk/gtkcontainer.h | 227 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkcssprovider.h | 96 + gtk+-mingw/include/gtk-3.0/gtk/gtkcsssection.h | 93 + gtk+-mingw/include/gtk-3.0/gtk/gtkdebug.h | 70 + gtk+-mingw/include/gtk-3.0/gtk/gtkdialog.h | 181 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkdnd.h | 212 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkdrawingarea.h | 74 + gtk+-mingw/include/gtk-3.0/gtk/gtkeditable.h | 113 + gtk+-mingw/include/gtk-3.0/gtk/gtkentry.h | 283 +++ gtk+-mingw/include/gtk-3.0/gtk/gtkentrybuffer.h | 133 ++ .../include/gtk-3.0/gtk/gtkentrycompletion.h | 154 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkenums.h | 938 ++++++++ gtk+-mingw/include/gtk-3.0/gtk/gtkeventbox.h | 79 + gtk+-mingw/include/gtk-3.0/gtk/gtkexpander.h | 107 + gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooser.h | 247 +++ .../include/gtk-3.0/gtk/gtkfilechooserbutton.h | 81 + .../include/gtk-3.0/gtk/gtkfilechooserdialog.h | 69 + .../include/gtk-3.0/gtk/gtkfilechooserwidget.h | 65 + gtk+-mingw/include/gtk-3.0/gtk/gtkfilefilter.h | 116 + gtk+-mingw/include/gtk-3.0/gtk/gtkfixed.h | 91 + gtk+-mingw/include/gtk-3.0/gtk/gtkfontbutton.h | 99 + gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooser.h | 118 + .../include/gtk-3.0/gtk/gtkfontchooserdialog.h | 67 + .../include/gtk-3.0/gtk/gtkfontchooserwidget.h | 71 + gtk+-mingw/include/gtk-3.0/gtk/gtkframe.h | 96 + gtk+-mingw/include/gtk-3.0/gtk/gtkgradient.h | 66 + gtk+-mingw/include/gtk-3.0/gtk/gtkgrid.h | 110 + gtk+-mingw/include/gtk-3.0/gtk/gtkiconfactory.h | 183 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkicontheme.h | 233 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkiconview.h | 261 +++ gtk+-mingw/include/gtk-3.0/gtk/gtkimage.h | 168 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkimagemenuitem.h | 90 + gtk+-mingw/include/gtk-3.0/gtk/gtkimcontext.h | 126 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkimcontextinfo.h | 44 + .../include/gtk-3.0/gtk/gtkimcontextsimple.h | 74 + gtk+-mingw/include/gtk-3.0/gtk/gtkimmodule.h | 34 + gtk+-mingw/include/gtk-3.0/gtk/gtkimmulticontext.h | 73 + gtk+-mingw/include/gtk-3.0/gtk/gtkinfobar.h | 116 + gtk+-mingw/include/gtk-3.0/gtk/gtkinvisible.h | 77 + gtk+-mingw/include/gtk-3.0/gtk/gtklabel.h | 176 ++ gtk+-mingw/include/gtk-3.0/gtk/gtklayout.h | 108 + gtk+-mingw/include/gtk-3.0/gtk/gtklinkbutton.h | 100 + gtk+-mingw/include/gtk-3.0/gtk/gtkliststore.h | 133 ++ gtk+-mingw/include/gtk-3.0/gtk/gtklockbutton.h | 72 + gtk+-mingw/include/gtk-3.0/gtk/gtkmain.h | 172 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkmenu.h | 215 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkmenubar.h | 90 + gtk+-mingw/include/gtk-3.0/gtk/gtkmenuitem.h | 128 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkmenushell.h | 117 + gtk+-mingw/include/gtk-3.0/gtk/gtkmenutoolbutton.h | 79 + gtk+-mingw/include/gtk-3.0/gtk/gtkmessagedialog.h | 132 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkmisc.h | 89 + gtk+-mingw/include/gtk-3.0/gtk/gtkmodules.h | 58 + gtk+-mingw/include/gtk-3.0/gtk/gtkmountoperation.h | 81 + gtk+-mingw/include/gtk-3.0/gtk/gtknotebook.h | 250 +++ gtk+-mingw/include/gtk-3.0/gtk/gtknumerableicon.h | 87 + .../include/gtk-3.0/gtk/gtkoffscreenwindow.h | 64 + gtk+-mingw/include/gtk-3.0/gtk/gtkorientable.h | 58 + gtk+-mingw/include/gtk-3.0/gtk/gtkoverlay.h | 79 + gtk+-mingw/include/gtk-3.0/gtk/gtkpagesetup.h | 106 + gtk+-mingw/include/gtk-3.0/gtk/gtkpaned.h | 105 + gtk+-mingw/include/gtk-3.0/gtk/gtkpapersize.h | 140 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkplug.h | 97 + gtk+-mingw/include/gtk-3.0/gtk/gtkprintcontext.h | 69 + gtk+-mingw/include/gtk-3.0/gtk/gtkprintoperation.h | 280 +++ .../include/gtk-3.0/gtk/gtkprintoperationpreview.h | 79 + gtk+-mingw/include/gtk-3.0/gtk/gtkprintsettings.h | 248 +++ gtk+-mingw/include/gtk-3.0/gtk/gtkprogressbar.h | 97 + gtk+-mingw/include/gtk-3.0/gtk/gtkradioaction.h | 89 + gtk+-mingw/include/gtk-3.0/gtk/gtkradiobutton.h | 92 + gtk+-mingw/include/gtk-3.0/gtk/gtkradiomenuitem.h | 91 + .../include/gtk-3.0/gtk/gtkradiotoolbutton.h | 72 + gtk+-mingw/include/gtk-3.0/gtk/gtkrange.h | 167 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkrecentaction.h | 78 + gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooser.h | 203 ++ .../include/gtk-3.0/gtk/gtkrecentchooserdialog.h | 78 + .../include/gtk-3.0/gtk/gtkrecentchoosermenu.h | 72 + .../include/gtk-3.0/gtk/gtkrecentchooserwidget.h | 68 + gtk+-mingw/include/gtk-3.0/gtk/gtkrecentfilter.h | 125 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkrecentmanager.h | 234 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkscale.h | 114 + gtk+-mingw/include/gtk-3.0/gtk/gtkscalebutton.h | 99 + gtk+-mingw/include/gtk-3.0/gtk/gtkscrollable.h | 60 + gtk+-mingw/include/gtk-3.0/gtk/gtkscrollbar.h | 72 + gtk+-mingw/include/gtk-3.0/gtk/gtkscrolledwindow.h | 136 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkselection.h | 192 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkseparator.h | 75 + .../include/gtk-3.0/gtk/gtkseparatormenuitem.h | 72 + .../include/gtk-3.0/gtk/gtkseparatortoolitem.h | 70 + gtk+-mingw/include/gtk-3.0/gtk/gtksettings.h | 127 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkshow.h | 37 + gtk+-mingw/include/gtk-3.0/gtk/gtksizegroup.h | 95 + gtk+-mingw/include/gtk-3.0/gtk/gtksizerequest.h | 57 + gtk+-mingw/include/gtk-3.0/gtk/gtksocket.h | 84 + gtk+-mingw/include/gtk-3.0/gtk/gtkspinbutton.h | 213 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkspinner.h | 71 + gtk+-mingw/include/gtk-3.0/gtk/gtkstatusbar.h | 101 + gtk+-mingw/include/gtk-3.0/gtk/gtkstatusicon.h | 147 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkstock.h | 1029 +++++++++ gtk+-mingw/include/gtk-3.0/gtk/gtkstylecontext.h | 996 +++++++++ .../include/gtk-3.0/gtk/gtkstyleproperties.h | 117 + gtk+-mingw/include/gtk-3.0/gtk/gtkstyleprovider.h | 126 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkswitch.h | 93 + gtk+-mingw/include/gtk-3.0/gtk/gtksymboliccolor.h | 57 + gtk+-mingw/include/gtk-3.0/gtk/gtktestutils.h | 72 + gtk+-mingw/include/gtk-3.0/gtk/gtktextattributes.h | 180 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktextbuffer.h | 408 ++++ .../include/gtk-3.0/gtk/gtktextbufferrichtext.h | 126 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktextchild.h | 83 + gtk+-mingw/include/gtk-3.0/gtk/gtktextdisplay.h | 101 + gtk+-mingw/include/gtk-3.0/gtk/gtktextiter.h | 306 +++ gtk+-mingw/include/gtk-3.0/gtk/gtktextlayout.h | 433 ++++ gtk+-mingw/include/gtk-3.0/gtk/gtktextmark.h | 103 + gtk+-mingw/include/gtk-3.0/gtk/gtktexttag.h | 115 + gtk+-mingw/include/gtk-3.0/gtk/gtktexttagtable.h | 96 + gtk+-mingw/include/gtk-3.0/gtk/gtktextview.h | 285 +++ gtk+-mingw/include/gtk-3.0/gtk/gtkthemingengine.h | 260 +++ gtk+-mingw/include/gtk-3.0/gtk/gtktoggleaction.h | 92 + gtk+-mingw/include/gtk-3.0/gtk/gtktogglebutton.h | 93 + .../include/gtk-3.0/gtk/gtktoggletoolbutton.h | 75 + gtk+-mingw/include/gtk-3.0/gtk/gtktoolbar.h | 135 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktoolbutton.h | 97 + gtk+-mingw/include/gtk-3.0/gtk/gtktoolitem.h | 124 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktoolitemgroup.h | 104 + gtk+-mingw/include/gtk-3.0/gtk/gtktoolpalette.h | 140 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktoolshell.h | 89 + gtk+-mingw/include/gtk-3.0/gtk/gtktooltip.h | 75 + gtk+-mingw/include/gtk-3.0/gtk/gtktreednd.h | 123 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktreemodel.h | 302 +++ .../include/gtk-3.0/gtk/gtktreemodelfilter.h | 144 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktreemodelsort.h | 84 + gtk+-mingw/include/gtk-3.0/gtk/gtktreeselection.h | 146 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktreesortable.h | 123 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktreestore.h | 147 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktreeview.h | 501 +++++ gtk+-mingw/include/gtk-3.0/gtk/gtktreeviewcolumn.h | 224 ++ gtk+-mingw/include/gtk-3.0/gtk/gtktypebuiltins.h | 301 +++ gtk+-mingw/include/gtk-3.0/gtk/gtktypes.h | 56 + gtk+-mingw/include/gtk-3.0/gtk/gtkuimanager.h | 171 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkversion.h | 102 + gtk+-mingw/include/gtk-3.0/gtk/gtkviewport.h | 96 + gtk+-mingw/include/gtk-3.0/gtk/gtkvolumebutton.h | 70 + gtk+-mingw/include/gtk-3.0/gtk/gtkwidget.h | 892 ++++++++ gtk+-mingw/include/gtk-3.0/gtk/gtkwidgetpath.h | 132 ++ gtk+-mingw/include/gtk-3.0/gtk/gtkwindow.h | 351 +++ gtk+-mingw/include/gtk-3.0/gtk/gtkx.h | 28 + 261 files changed, 41844 insertions(+) create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdk.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkapplaunchcontext.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkcairo.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkcolor.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkconfig.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkcursor.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkdevice.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkdevicemanager.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkdisplay.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkdisplaymanager.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkdnd.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkenumtypes.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkevents.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkkeys.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkkeysyms-compat.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkkeysyms.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkmain.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkpango.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkpixbuf.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkprivate.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkproperty.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkrectangle.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkrgba.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkscreen.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkselection.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdktestutils.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkthreads.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdktypes.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkversionmacros.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkvisual.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkwin32.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/gdkwindow.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32cursor.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32display.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32displaymanager.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32dnd.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32keys.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32screen.h create mode 100644 gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32window.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkfontsel.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhbbox.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhbox.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhpaned.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhscale.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhscrollbar.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhseparator.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhsv.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkrc.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkstyle.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtktable.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtktearoffmenuitem.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvbbox.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvbox.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvpaned.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvscale.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvseparator.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtk.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkaboutdialog.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkaccelgroup.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkaccellabel.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkaccelmap.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkaccessible.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkaction.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkactionable.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkactiongroup.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkactivatable.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkadjustment.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkalignment.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkappchooser.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserdialog.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserwidget.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkapplication.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkapplicationwindow.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkarrow.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkaspectframe.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkassistant.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkbbox.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkbin.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkbindings.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkborder.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkbox.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkbuildable.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkbuilder.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcalendar.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellarea.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellareabox.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellareacontext.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcelleditable.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcelllayout.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderer.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendereraccel.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderercombo.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererpixbuf.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererprogress.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererspin.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererspinner.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderertext.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderertoggle.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcellview.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcheckbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcheckmenuitem.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkclipboard.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcolorbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooser.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooserdialog.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooserwidget.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcolorutils.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcombobox.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcomboboxtext.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcontainer.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcssprovider.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkcsssection.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkdebug.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkdialog.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkdnd.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkdrawingarea.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkeditable.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkentry.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkentrybuffer.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkentrycompletion.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkenums.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkeventbox.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkexpander.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooser.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserdialog.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserwidget.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkfilefilter.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkfixed.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkfontbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooser.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooserdialog.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooserwidget.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkframe.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkgradient.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkgrid.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkiconfactory.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkicontheme.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkiconview.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkimage.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkimagemenuitem.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkimcontext.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkimcontextinfo.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkimcontextsimple.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkimmodule.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkimmulticontext.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkinfobar.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkinvisible.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtklabel.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtklayout.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtklinkbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkliststore.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtklockbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkmain.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkmenu.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkmenubar.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkmenuitem.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkmenushell.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkmenutoolbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkmessagedialog.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkmisc.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkmodules.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkmountoperation.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtknotebook.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtknumerableicon.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkoffscreenwindow.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkorientable.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkoverlay.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkpagesetup.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkpaned.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkpapersize.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkplug.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkprintcontext.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkprintoperation.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkprintoperationpreview.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkprintsettings.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkprogressbar.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkradioaction.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkradiobutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkradiomenuitem.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkradiotoolbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkrange.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkrecentaction.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooser.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooserdialog.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchoosermenu.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooserwidget.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkrecentfilter.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkrecentmanager.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkscale.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkscalebutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkscrollable.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkscrollbar.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkscrolledwindow.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkselection.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkseparator.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkseparatormenuitem.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkseparatortoolitem.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtksettings.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkshow.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtksizegroup.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtksizerequest.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtksocket.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkspinbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkspinner.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkstatusbar.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkstatusicon.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkstock.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkstylecontext.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkstyleproperties.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkstyleprovider.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkswitch.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtksymboliccolor.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktestutils.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktextattributes.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktextbuffer.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktextbufferrichtext.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktextchild.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktextdisplay.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktextiter.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktextlayout.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktextmark.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktexttag.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktexttagtable.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktextview.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkthemingengine.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktoggleaction.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktogglebutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktoggletoolbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktoolbar.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktoolbutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktoolitem.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktoolitemgroup.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktoolpalette.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktoolshell.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktooltip.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktreednd.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktreemodel.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktreemodelfilter.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktreemodelsort.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktreeselection.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktreesortable.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktreestore.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktreeview.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktreeviewcolumn.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktypebuiltins.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtktypes.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkuimanager.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkversion.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkviewport.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkvolumebutton.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkwidget.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkwidgetpath.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkwindow.h create mode 100644 gtk+-mingw/include/gtk-3.0/gtk/gtkx.h (limited to 'gtk+-mingw/include/gtk-3.0') diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdk.h b/gtk+-mingw/include/gtk-3.0/gdk/gdk.h new file mode 100644 index 0000000..7af805f --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdk.h @@ -0,0 +1,61 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#ifndef __GDK_H__ +#define __GDK_H__ + +#define __GDK_H_INSIDE__ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#undef __GDK_H_INSIDE__ + +#endif /* __GDK_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkapplaunchcontext.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkapplaunchcontext.h new file mode 100644 index 0000000..899fe01 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkapplaunchcontext.h @@ -0,0 +1,60 @@ +/* gdkapplaunchcontext.h - Gtk+ implementation for GAppLaunchContext + * + * Copyright (C) 2007 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Author: Alexander Larsson + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_APP_LAUNCH_CONTEXT_H__ +#define __GDK_APP_LAUNCH_CONTEXT_H__ + +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_APP_LAUNCH_CONTEXT (gdk_app_launch_context_get_type ()) +#define GDK_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContext)) + #define GDK_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_APP_LAUNCH_CONTEXT)) + + +GType gdk_app_launch_context_get_type (void); + +GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context) +GdkAppLaunchContext *gdk_app_launch_context_new (void); +GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context) +void gdk_app_launch_context_set_display (GdkAppLaunchContext *context, + GdkDisplay *display); +void gdk_app_launch_context_set_screen (GdkAppLaunchContext *context, + GdkScreen *screen); +void gdk_app_launch_context_set_desktop (GdkAppLaunchContext *context, + gint desktop); +void gdk_app_launch_context_set_timestamp (GdkAppLaunchContext *context, + guint32 timestamp); +void gdk_app_launch_context_set_icon (GdkAppLaunchContext *context, + GIcon *icon); +void gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context, + const char *icon_name); + +G_END_DECLS + +#endif /* __GDK_APP_LAUNCH_CONTEXT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkcairo.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkcairo.h new file mode 100644 index 0000000..5a969d2 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkcairo.h @@ -0,0 +1,63 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 2005 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_CAIRO_H__ +#define __GDK_CAIRO_H__ + +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +cairo_t * gdk_cairo_create (GdkWindow *window); +gboolean gdk_cairo_get_clip_rectangle (cairo_t *cr, + GdkRectangle *rect); + +void gdk_cairo_set_source_rgba (cairo_t *cr, + const GdkRGBA *rgba); +void gdk_cairo_set_source_pixbuf (cairo_t *cr, + const GdkPixbuf *pixbuf, + gdouble pixbuf_x, + gdouble pixbuf_y); +void gdk_cairo_set_source_window (cairo_t *cr, + GdkWindow *window, + gdouble x, + gdouble y); + +void gdk_cairo_rectangle (cairo_t *cr, + const GdkRectangle *rectangle); +void gdk_cairo_region (cairo_t *cr, + const cairo_region_t *region); + +cairo_region_t * + gdk_cairo_region_create_from_surface + (cairo_surface_t *surface); + +GDK_DEPRECATED_IN_3_4_FOR(gdk_cairo_set_source_rgba) +void gdk_cairo_set_source_color (cairo_t *cr, + const GdkColor *color); + +G_END_DECLS + +#endif /* __GDK_CAIRO_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkcolor.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkcolor.h new file mode 100644 index 0000000..9554c0e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkcolor.h @@ -0,0 +1,77 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_COLOR_H__ +#define __GDK_COLOR_H__ + +#include +#include + +G_BEGIN_DECLS + + +/** + * GdkColor: + * @pixel: For allocated colors, the pixel value used to + * draw this color on the screen. Not used anymore. + * @red: The red component of the color. This is + * a value between 0 and 65535, with 65535 indicating + * full intensity + * @green: The green component of the color + * @blue: The blue component of the color + * + * The #GdkColor structure is used to describe a color, + * similar to the XColor struct used in the X11 drawing API. + */ +struct _GdkColor +{ + guint32 pixel; + guint16 red; + guint16 green; + guint16 blue; +}; + +#define GDK_TYPE_COLOR (gdk_color_get_type ()) + +GType gdk_color_get_type (void) G_GNUC_CONST; + +GdkColor *gdk_color_copy (const GdkColor *color); +void gdk_color_free (GdkColor *color); + +guint gdk_color_hash (const GdkColor *color); +gboolean gdk_color_equal (const GdkColor *colora, + const GdkColor *colorb); + +gboolean gdk_color_parse (const gchar *spec, + GdkColor *color); +gchar * gdk_color_to_string (const GdkColor *color); + + +G_END_DECLS + +#endif /* __GDK_COLOR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkconfig.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkconfig.h new file mode 100644 index 0000000..c941eb8 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkconfig.h @@ -0,0 +1,22 @@ +/* gdkconfig.h + * + * This is a generated file. Please modify `configure.ac' + */ + +#ifndef __GDKCONFIG_H__ +#define __GDKCONFIG_H__ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#include + +G_BEGIN_DECLS + + +#define GDK_WINDOWING_WIN32 + +G_END_DECLS + +#endif /* __GDKCONFIG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkcursor.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkcursor.h new file mode 100644 index 0000000..9c53997 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkcursor.h @@ -0,0 +1,240 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_CURSOR_H__ +#define __GDK_CURSOR_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_CURSOR (gdk_cursor_get_type ()) +#define GDK_CURSOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_CURSOR, GdkCursor)) +#define GDK_IS_CURSOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_CURSOR)) + + +/** + * GdkCursorType: + * @GDK_X_CURSOR: + * @GDK_ARROW: + * @GDK_BASED_ARROW_DOWN: + * @GDK_BASED_ARROW_UP: + * @GDK_BOAT: + * @GDK_BOGOSITY: + * @GDK_BOTTOM_LEFT_CORNER: + * @GDK_BOTTOM_RIGHT_CORNER: + * @GDK_BOTTOM_SIDE: + * @GDK_BOTTOM_TEE: + * @GDK_BOX_SPIRAL: + * @GDK_CENTER_PTR: + * @GDK_CIRCLE: + * @GDK_CLOCK: + * @GDK_COFFEE_MUG: + * @GDK_CROSS: + * @GDK_CROSS_REVERSE: + * @GDK_CROSSHAIR: + * @GDK_DIAMOND_CROSS: + * @GDK_DOT: + * @GDK_DOTBOX: + * @GDK_DOUBLE_ARROW: + * @GDK_DRAFT_LARGE: + * @GDK_DRAFT_SMALL: + * @GDK_DRAPED_BOX: + * @GDK_EXCHANGE: + * @GDK_FLEUR: + * @GDK_GOBBLER: + * @GDK_GUMBY: + * @GDK_HAND1: + * @GDK_HAND2: + * @GDK_HEART: + * @GDK_ICON: + * @GDK_IRON_CROSS: + * @GDK_LEFT_PTR: + * @GDK_LEFT_SIDE: + * @GDK_LEFT_TEE: + * @GDK_LEFTBUTTON: + * @GDK_LL_ANGLE: + * @GDK_LR_ANGLE: + * @GDK_MAN: + * @GDK_MIDDLEBUTTON: + * @GDK_MOUSE: + * @GDK_PENCIL: + * @GDK_PIRATE: + * @GDK_PLUS: + * @GDK_QUESTION_ARROW: + * @GDK_RIGHT_PTR: + * @GDK_RIGHT_SIDE: + * @GDK_RIGHT_TEE: + * @GDK_RIGHTBUTTON: + * @GDK_RTL_LOGO: + * @GDK_SAILBOAT: + * @GDK_SB_DOWN_ARROW: + * @GDK_SB_H_DOUBLE_ARROW: + * @GDK_SB_LEFT_ARROW: + * @GDK_SB_RIGHT_ARROW: + * @GDK_SB_UP_ARROW: + * @GDK_SB_V_DOUBLE_ARROW: + * @GDK_SHUTTLE: + * @GDK_SIZING: + * @GDK_SPIDER: + * @GDK_SPRAYCAN: + * @GDK_STAR: + * @GDK_TARGET: + * @GDK_TCROSS: + * @GDK_TOP_LEFT_ARROW: + * @GDK_TOP_LEFT_CORNER: + * @GDK_TOP_RIGHT_CORNER: + * @GDK_TOP_SIDE: + * @GDK_TOP_TEE: + * @GDK_TREK: + * @GDK_UL_ANGLE: + * @GDK_UMBRELLA: + * @GDK_UR_ANGLE: + * @GDK_WATCH: + * @GDK_XTERM: + * @GDK_LAST_CURSOR: last cursor type + * @GDK_BLANK_CURSOR: Blank cursor. Since 2.16 + * @GDK_CURSOR_IS_PIXMAP: type of cursors constructed with + * gdk_cursor_new_from_pixbuf() + * + * The standard cursors available. + */ +typedef enum +{ + GDK_X_CURSOR = 0, + GDK_ARROW = 2, + GDK_BASED_ARROW_DOWN = 4, + GDK_BASED_ARROW_UP = 6, + GDK_BOAT = 8, + GDK_BOGOSITY = 10, + GDK_BOTTOM_LEFT_CORNER = 12, + GDK_BOTTOM_RIGHT_CORNER = 14, + GDK_BOTTOM_SIDE = 16, + GDK_BOTTOM_TEE = 18, + GDK_BOX_SPIRAL = 20, + GDK_CENTER_PTR = 22, + GDK_CIRCLE = 24, + GDK_CLOCK = 26, + GDK_COFFEE_MUG = 28, + GDK_CROSS = 30, + GDK_CROSS_REVERSE = 32, + GDK_CROSSHAIR = 34, + GDK_DIAMOND_CROSS = 36, + GDK_DOT = 38, + GDK_DOTBOX = 40, + GDK_DOUBLE_ARROW = 42, + GDK_DRAFT_LARGE = 44, + GDK_DRAFT_SMALL = 46, + GDK_DRAPED_BOX = 48, + GDK_EXCHANGE = 50, + GDK_FLEUR = 52, + GDK_GOBBLER = 54, + GDK_GUMBY = 56, + GDK_HAND1 = 58, + GDK_HAND2 = 60, + GDK_HEART = 62, + GDK_ICON = 64, + GDK_IRON_CROSS = 66, + GDK_LEFT_PTR = 68, + GDK_LEFT_SIDE = 70, + GDK_LEFT_TEE = 72, + GDK_LEFTBUTTON = 74, + GDK_LL_ANGLE = 76, + GDK_LR_ANGLE = 78, + GDK_MAN = 80, + GDK_MIDDLEBUTTON = 82, + GDK_MOUSE = 84, + GDK_PENCIL = 86, + GDK_PIRATE = 88, + GDK_PLUS = 90, + GDK_QUESTION_ARROW = 92, + GDK_RIGHT_PTR = 94, + GDK_RIGHT_SIDE = 96, + GDK_RIGHT_TEE = 98, + GDK_RIGHTBUTTON = 100, + GDK_RTL_LOGO = 102, + GDK_SAILBOAT = 104, + GDK_SB_DOWN_ARROW = 106, + GDK_SB_H_DOUBLE_ARROW = 108, + GDK_SB_LEFT_ARROW = 110, + GDK_SB_RIGHT_ARROW = 112, + GDK_SB_UP_ARROW = 114, + GDK_SB_V_DOUBLE_ARROW = 116, + GDK_SHUTTLE = 118, + GDK_SIZING = 120, + GDK_SPIDER = 122, + GDK_SPRAYCAN = 124, + GDK_STAR = 126, + GDK_TARGET = 128, + GDK_TCROSS = 130, + GDK_TOP_LEFT_ARROW = 132, + GDK_TOP_LEFT_CORNER = 134, + GDK_TOP_RIGHT_CORNER = 136, + GDK_TOP_SIDE = 138, + GDK_TOP_TEE = 140, + GDK_TREK = 142, + GDK_UL_ANGLE = 144, + GDK_UMBRELLA = 146, + GDK_UR_ANGLE = 148, + GDK_WATCH = 150, + GDK_XTERM = 152, + GDK_LAST_CURSOR, + GDK_BLANK_CURSOR = -2, + GDK_CURSOR_IS_PIXMAP = -1 +} GdkCursorType; + +/* Cursors + */ + +GType gdk_cursor_get_type (void) G_GNUC_CONST; + +GdkCursor* gdk_cursor_new_for_display (GdkDisplay *display, + GdkCursorType cursor_type); +#ifndef GDK_MULTIHEAD_SAFE +GdkCursor* gdk_cursor_new (GdkCursorType cursor_type); +#endif +GdkCursor* gdk_cursor_new_from_pixbuf (GdkDisplay *display, + GdkPixbuf *pixbuf, + gint x, + gint y); +GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display, + const gchar *name); +GdkDisplay* gdk_cursor_get_display (GdkCursor *cursor); +GDK_DEPRECATED_IN_3_0_FOR(g_object_ref) +GdkCursor * gdk_cursor_ref (GdkCursor *cursor); +GDK_DEPRECATED_IN_3_0_FOR(g_object_unref) +void gdk_cursor_unref (GdkCursor *cursor); +GdkPixbuf* gdk_cursor_get_image (GdkCursor *cursor); +GdkCursorType gdk_cursor_get_cursor_type (GdkCursor *cursor); + + +G_END_DECLS + +#endif /* __GDK_CURSOR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkdevice.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkdevice.h new file mode 100644 index 0000000..02c26cc --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkdevice.h @@ -0,0 +1,237 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 2009 Carlos Garnacho + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_DEVICE_H__ +#define __GDK_DEVICE_H__ + +#include + + +G_BEGIN_DECLS + +#define GDK_TYPE_DEVICE (gdk_device_get_type ()) +#define GDK_DEVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_DEVICE, GdkDevice)) +#define GDK_IS_DEVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_DEVICE)) + +typedef struct _GdkTimeCoord GdkTimeCoord; + +/** + * GdkInputSource: + * @GDK_SOURCE_MOUSE: the device is a mouse. (This will be reported for the core + * pointer, even if it is something else, such as a trackball.) + * @GDK_SOURCE_PEN: the device is a stylus of a graphics tablet or similar device. + * @GDK_SOURCE_ERASER: the device is an eraser. Typically, this would be the other end + * of a stylus on a graphics tablet. + * @GDK_SOURCE_CURSOR: the device is a graphics tablet "puck" or similar device. + * @GDK_SOURCE_KEYBOARD: the device is a keyboard. + * @GDK_SOURCE_TOUCHSCREEN: the device is a direct-input touch device, such + * as a touchscreen or tablet. This device type has been added in 3.4. + * @GDK_SOURCE_TOUCHPAD: the device is an indirect touch device, such + * as a touchpad. This device type has been added in 3.4. + * + * An enumeration describing the type of an input device in general terms. + */ +typedef enum +{ + GDK_SOURCE_MOUSE, + GDK_SOURCE_PEN, + GDK_SOURCE_ERASER, + GDK_SOURCE_CURSOR, + GDK_SOURCE_KEYBOARD, + GDK_SOURCE_TOUCHSCREEN, + GDK_SOURCE_TOUCHPAD +} GdkInputSource; + +/** + * GdkInputMode: + * @GDK_MODE_DISABLED: the device is disabled and will not report any events. + * @GDK_MODE_SCREEN: the device is enabled. The device's coordinate space + * maps to the entire screen. + * @GDK_MODE_WINDOW: the device is enabled. The device's coordinate space + * is mapped to a single window. The manner in which this window + * is chosen is undefined, but it will typically be the same + * way in which the focus window for key events is determined. + * + * An enumeration that describes the mode of an input device. + */ +typedef enum +{ + GDK_MODE_DISABLED, + GDK_MODE_SCREEN, + GDK_MODE_WINDOW +} GdkInputMode; + +/** + * GdkAxisUse: + * @GDK_AXIS_IGNORE: the axis is ignored. + * @GDK_AXIS_X: the axis is used as the x axis. + * @GDK_AXIS_Y: the axis is used as the y axis. + * @GDK_AXIS_PRESSURE: the axis is used for pressure information. + * @GDK_AXIS_XTILT: the axis is used for x tilt information. + * @GDK_AXIS_YTILT: the axis is used for y tilt information. + * @GDK_AXIS_WHEEL: the axis is used for wheel information. + * @GDK_AXIS_LAST: a constant equal to the numerically highest axis value. + * + * An enumeration describing the way in which a device + * axis (valuator) maps onto the predefined valuator + * types that GTK+ understands. + */ +typedef enum +{ + GDK_AXIS_IGNORE, + GDK_AXIS_X, + GDK_AXIS_Y, + GDK_AXIS_PRESSURE, + GDK_AXIS_XTILT, + GDK_AXIS_YTILT, + GDK_AXIS_WHEEL, + GDK_AXIS_LAST +} GdkAxisUse; + +/** + * GdkDeviceType: + * @GDK_DEVICE_TYPE_MASTER: Device is a master (or virtual) device. There will + * be an associated focus indicator on the screen. + * @GDK_DEVICE_TYPE_SLAVE: Device is a slave (or physical) device. + * @GDK_DEVICE_TYPE_FLOATING: Device is a physical device, currently not attached to + * any virtual device. + * + * Indicates the device type. See above + * for more information about the meaning of these device types. + */ +typedef enum { + GDK_DEVICE_TYPE_MASTER, + GDK_DEVICE_TYPE_SLAVE, + GDK_DEVICE_TYPE_FLOATING +} GdkDeviceType; + +/* We don't allocate each coordinate this big, but we use it to + * be ANSI compliant and avoid accessing past the defined limits. + */ +#define GDK_MAX_TIMECOORD_AXES 128 + +/** + * GdkTimeCoord: + * @time: The timestamp for this event. + * @axes: the values of the device's axes. + * + * The #GdkTimeCoord structure stores a single event in a motion history. + */ +struct _GdkTimeCoord +{ + guint32 time; + gdouble axes[GDK_MAX_TIMECOORD_AXES]; +}; + +GType gdk_device_get_type (void) G_GNUC_CONST; + +const gchar * gdk_device_get_name (GdkDevice *device); +gboolean gdk_device_get_has_cursor (GdkDevice *device); + +/* Functions to configure a device */ +GdkInputSource gdk_device_get_source (GdkDevice *device); + +GdkInputMode gdk_device_get_mode (GdkDevice *device); +gboolean gdk_device_set_mode (GdkDevice *device, + GdkInputMode mode); + +gint gdk_device_get_n_keys (GdkDevice *device); +gboolean gdk_device_get_key (GdkDevice *device, + guint index_, + guint *keyval, + GdkModifierType *modifiers); +void gdk_device_set_key (GdkDevice *device, + guint index_, + guint keyval, + GdkModifierType modifiers); + +GdkAxisUse gdk_device_get_axis_use (GdkDevice *device, + guint index_); +void gdk_device_set_axis_use (GdkDevice *device, + guint index_, + GdkAxisUse use); + + +void gdk_device_get_state (GdkDevice *device, + GdkWindow *window, + gdouble *axes, + GdkModifierType *mask); +void gdk_device_get_position (GdkDevice *device, + GdkScreen **screen, + gint *x, + gint *y); +GdkWindow * + gdk_device_get_window_at_position + (GdkDevice *device, + gint *win_x, + gint *win_y); +gboolean gdk_device_get_history (GdkDevice *device, + GdkWindow *window, + guint32 start, + guint32 stop, + GdkTimeCoord ***events, + gint *n_events); +void gdk_device_free_history (GdkTimeCoord **events, + gint n_events); + +gint gdk_device_get_n_axes (GdkDevice *device); +GList * gdk_device_list_axes (GdkDevice *device); +gboolean gdk_device_get_axis_value (GdkDevice *device, + gdouble *axes, + GdkAtom axis_label, + gdouble *value); + +gboolean gdk_device_get_axis (GdkDevice *device, + gdouble *axes, + GdkAxisUse use, + gdouble *value); +GdkDisplay * gdk_device_get_display (GdkDevice *device); + +GdkDevice * gdk_device_get_associated_device (GdkDevice *device); +GList * gdk_device_list_slave_devices (GdkDevice *device); + +GdkDeviceType gdk_device_get_device_type (GdkDevice *device); + +GdkGrabStatus gdk_device_grab (GdkDevice *device, + GdkWindow *window, + GdkGrabOwnership grab_ownership, + gboolean owner_events, + GdkEventMask event_mask, + GdkCursor *cursor, + guint32 time_); + +void gdk_device_ungrab (GdkDevice *device, + guint32 time_); + +void gdk_device_warp (GdkDevice *device, + GdkScreen *screen, + gint x, + gint y); + +gboolean gdk_device_grab_info_libgtk_only (GdkDisplay *display, + GdkDevice *device, + GdkWindow **grab_window, + gboolean *owner_events); + + +G_END_DECLS + +#endif /* __GDK_DEVICE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkdevicemanager.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkdevicemanager.h new file mode 100644 index 0000000..3c21c9c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkdevicemanager.h @@ -0,0 +1,44 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 2009 Carlos Garnacho + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_DEVICE_MANAGER_H__ +#define __GDK_DEVICE_MANAGER_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_DEVICE_MANAGER (gdk_device_manager_get_type ()) +#define GDK_DEVICE_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_DEVICE_MANAGER, GdkDeviceManager)) +#define GDK_IS_DEVICE_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_DEVICE_MANAGER)) + + +GType gdk_device_manager_get_type (void) G_GNUC_CONST; + +GdkDisplay * gdk_device_manager_get_display (GdkDeviceManager *device_manager); +GList * gdk_device_manager_list_devices (GdkDeviceManager *device_manager, + GdkDeviceType type); +GdkDevice * gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager); + +G_END_DECLS + +#endif /* __GDK_DEVICE_MANAGER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkdisplay.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkdisplay.h new file mode 100644 index 0000000..86e0735 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkdisplay.h @@ -0,0 +1,141 @@ +/* + * gdkdisplay.h + * + * Copyright 2001 Sun Microsystems Inc. + * + * Erwann Chenede + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_DISPLAY_H__ +#define __GDK_DISPLAY_H__ + +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_DISPLAY (gdk_display_get_type ()) +#define GDK_DISPLAY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DISPLAY, GdkDisplay)) +#define GDK_IS_DISPLAY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DISPLAY)) +#ifndef GDK_DISABLE_DEPRECATED +#define GDK_DISPLAY_OBJECT(object) GDK_DISPLAY(object) +#endif + +GType gdk_display_get_type (void) G_GNUC_CONST; +GdkDisplay *gdk_display_open (const gchar *display_name); + +const gchar * gdk_display_get_name (GdkDisplay *display); + +gint gdk_display_get_n_screens (GdkDisplay *display); +GdkScreen * gdk_display_get_screen (GdkDisplay *display, + gint screen_num); +GdkScreen * gdk_display_get_default_screen (GdkDisplay *display); + +#ifndef GDK_MULTIDEVICE_SAFE +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_ungrab) +void gdk_display_pointer_ungrab (GdkDisplay *display, + guint32 time_); +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_ungrab) +void gdk_display_keyboard_ungrab (GdkDisplay *display, + guint32 time_); +GDK_DEPRECATED_IN_3_0_FOR(gdk_display_device_is_grabbed) +gboolean gdk_display_pointer_is_grabbed (GdkDisplay *display); +#endif /* GDK_MULTIDEVICE_SAFE */ + +gboolean gdk_display_device_is_grabbed (GdkDisplay *display, + GdkDevice *device); +void gdk_display_beep (GdkDisplay *display); +void gdk_display_sync (GdkDisplay *display); +void gdk_display_flush (GdkDisplay *display); + +void gdk_display_close (GdkDisplay *display); +gboolean gdk_display_is_closed (GdkDisplay *display); + +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_manager_list_devices) +GList * gdk_display_list_devices (GdkDisplay *display); + +GdkEvent* gdk_display_get_event (GdkDisplay *display); +GdkEvent* gdk_display_peek_event (GdkDisplay *display); +void gdk_display_put_event (GdkDisplay *display, + const GdkEvent *event); +gboolean gdk_display_has_pending (GdkDisplay *display); + +void gdk_display_set_double_click_time (GdkDisplay *display, + guint msec); +void gdk_display_set_double_click_distance (GdkDisplay *display, + guint distance); + +GdkDisplay *gdk_display_get_default (void); + +#ifndef GDK_MULTIDEVICE_SAFE +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_get_position) +void gdk_display_get_pointer (GdkDisplay *display, + GdkScreen **screen, + gint *x, + gint *y, + GdkModifierType *mask); +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_get_window_at_position) +GdkWindow * gdk_display_get_window_at_pointer (GdkDisplay *display, + gint *win_x, + gint *win_y); +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_warp) +void gdk_display_warp_pointer (GdkDisplay *display, + GdkScreen *screen, + gint x, + gint y); +#endif /* GDK_MULTIDEVICE_SAFE */ + +GdkDisplay *gdk_display_open_default_libgtk_only (void); + +gboolean gdk_display_supports_cursor_alpha (GdkDisplay *display); +gboolean gdk_display_supports_cursor_color (GdkDisplay *display); +guint gdk_display_get_default_cursor_size (GdkDisplay *display); +void gdk_display_get_maximal_cursor_size (GdkDisplay *display, + guint *width, + guint *height); + +GdkWindow *gdk_display_get_default_group (GdkDisplay *display); + +gboolean gdk_display_supports_selection_notification (GdkDisplay *display); +gboolean gdk_display_request_selection_notification (GdkDisplay *display, + GdkAtom selection); + +gboolean gdk_display_supports_clipboard_persistence (GdkDisplay *display); +void gdk_display_store_clipboard (GdkDisplay *display, + GdkWindow *clipboard_window, + guint32 time_, + const GdkAtom *targets, + gint n_targets); + +gboolean gdk_display_supports_shapes (GdkDisplay *display); +gboolean gdk_display_supports_input_shapes (GdkDisplay *display); +gboolean gdk_display_supports_composite (GdkDisplay *display); +void gdk_display_notify_startup_complete (GdkDisplay *display, + const gchar *startup_id); + +GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display); + +GdkAppLaunchContext *gdk_display_get_app_launch_context (GdkDisplay *display); + +G_END_DECLS + +#endif /* __GDK_DISPLAY_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkdisplaymanager.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkdisplaymanager.h new file mode 100644 index 0000000..a248bbd --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkdisplaymanager.h @@ -0,0 +1,55 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_DISPLAY_MANAGER_H__ +#define __GDK_DISPLAY_MANAGER_H__ + +#include +#include + +G_BEGIN_DECLS + + +#define GDK_TYPE_DISPLAY_MANAGER (gdk_display_manager_get_type ()) +#define GDK_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DISPLAY_MANAGER, GdkDisplayManager)) +#define GDK_IS_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DISPLAY_MANAGER)) + + +GType gdk_display_manager_get_type (void) G_GNUC_CONST; + +GdkDisplayManager *gdk_display_manager_get (void); +GdkDisplay * gdk_display_manager_get_default_display (GdkDisplayManager *manager); +void gdk_display_manager_set_default_display (GdkDisplayManager *manager, + GdkDisplay *display); +GSList * gdk_display_manager_list_displays (GdkDisplayManager *manager); +GdkDisplay * gdk_display_manager_open_display (GdkDisplayManager *manager, + const gchar *name); + +G_END_DECLS + +#endif /* __GDK_DISPLAY_MANAGER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkdnd.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkdnd.h new file mode 100644 index 0000000..3b51487 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkdnd.h @@ -0,0 +1,153 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_DND_H__ +#define __GDK_DND_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_DRAG_CONTEXT (gdk_drag_context_get_type ()) +#define GDK_DRAG_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DRAG_CONTEXT, GdkDragContext)) +#define GDK_IS_DRAG_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DRAG_CONTEXT)) + +/** + * GdkDragAction: + * @GDK_ACTION_DEFAULT: Means nothing, and should not be used. + * @GDK_ACTION_COPY: Copy the data. + * @GDK_ACTION_MOVE: Move the data, i.e. first copy it, then delete + * it from the source using the DELETE target of the X selection protocol. + * @GDK_ACTION_LINK: Add a link to the data. Note that this is only + * useful if source and destination agree on what it means. + * @GDK_ACTION_PRIVATE: Special action which tells the source that the + * destination will do something that the source doesn't understand. + * @GDK_ACTION_ASK: Ask the user what to do with the data. + * + * Used in #GdkDragContext to indicate what the destination + * should do with the dropped data. + */ +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: + * @GDK_DRAG_PROTO_NONE: no protocol. + * @GDK_DRAG_PROTO_MOTIF: The Motif DND protocol. + * @GDK_DRAG_PROTO_XDND: The Xdnd protocol. + * @GDK_DRAG_PROTO_ROOTWIN: An extension to the Xdnd protocol for + * unclaimed root window drops. + * @GDK_DRAG_PROTO_WIN32_DROPFILES: The simple WM_DROPFILES protocol. + * @GDK_DRAG_PROTO_OLE2: The complex OLE2 DND protocol (not implemented). + * @GDK_DRAG_PROTO_LOCAL: Intra-application DND. + * + * Used in #GdkDragContext to indicate the protocol according to + * which DND is done. + */ +typedef enum +{ + GDK_DRAG_PROTO_NONE = 0, + GDK_DRAG_PROTO_MOTIF, + GDK_DRAG_PROTO_XDND, + GDK_DRAG_PROTO_ROOTWIN, + GDK_DRAG_PROTO_WIN32_DROPFILES, + GDK_DRAG_PROTO_OLE2, + GDK_DRAG_PROTO_LOCAL +} GdkDragProtocol; + + +GType gdk_drag_context_get_type (void) G_GNUC_CONST; + +void gdk_drag_context_set_device (GdkDragContext *context, + GdkDevice *device); +GdkDevice * gdk_drag_context_get_device (GdkDragContext *context); + +GList *gdk_drag_context_list_targets (GdkDragContext *context); +GdkDragAction gdk_drag_context_get_actions (GdkDragContext *context); +GdkDragAction gdk_drag_context_get_suggested_action (GdkDragContext *context); +GdkDragAction gdk_drag_context_get_selected_action (GdkDragContext *context); + +GdkWindow *gdk_drag_context_get_source_window (GdkDragContext *context); +GdkWindow *gdk_drag_context_get_dest_window (GdkDragContext *context); +GdkDragProtocol gdk_drag_context_get_protocol (GdkDragContext *context); + +/* Destination side */ + +void gdk_drag_status (GdkDragContext *context, + GdkDragAction action, + guint32 time_); +void gdk_drop_reply (GdkDragContext *context, + gboolean accepted, + guint32 time_); +void gdk_drop_finish (GdkDragContext *context, + gboolean success, + guint32 time_); +GdkAtom gdk_drag_get_selection (GdkDragContext *context); + +/* Source side */ + +GdkDragContext * gdk_drag_begin (GdkWindow *window, + GList *targets); + +GdkDragContext * gdk_drag_begin_for_device (GdkWindow *window, + GdkDevice *device, + GList *targets); + +void gdk_drag_find_window_for_screen (GdkDragContext *context, + GdkWindow *drag_window, + GdkScreen *screen, + gint x_root, + gint y_root, + GdkWindow **dest_window, + GdkDragProtocol *protocol); + +gboolean gdk_drag_motion (GdkDragContext *context, + GdkWindow *dest_window, + GdkDragProtocol protocol, + gint x_root, + gint y_root, + GdkDragAction suggested_action, + GdkDragAction possible_actions, + guint32 time_); +void gdk_drag_drop (GdkDragContext *context, + guint32 time_); +void gdk_drag_abort (GdkDragContext *context, + guint32 time_); +gboolean gdk_drag_drop_succeeded (GdkDragContext *context); + +G_END_DECLS + +#endif /* __GDK_DND_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkenumtypes.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkenumtypes.h new file mode 100644 index 0000000..c212f83 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkenumtypes.h @@ -0,0 +1,105 @@ + +/* Generated data (by glib-mkenums) */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_ENUM_TYPES_H__ +#define __GDK_ENUM_TYPES_H__ + +#include + +G_BEGIN_DECLS + +/* enumerations from "gdkcursor.h" */ +GType gdk_cursor_type_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_CURSOR_TYPE (gdk_cursor_type_get_type ()) + +/* enumerations from "gdkdevice.h" */ +GType gdk_input_source_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_INPUT_SOURCE (gdk_input_source_get_type ()) +GType gdk_input_mode_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_INPUT_MODE (gdk_input_mode_get_type ()) +GType gdk_axis_use_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_AXIS_USE (gdk_axis_use_get_type ()) +GType gdk_device_type_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_DEVICE_TYPE (gdk_device_type_get_type ()) + +/* enumerations from "gdkdnd.h" */ +GType gdk_drag_action_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_DRAG_ACTION (gdk_drag_action_get_type ()) +GType gdk_drag_protocol_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_DRAG_PROTOCOL (gdk_drag_protocol_get_type ()) + +/* enumerations from "gdkevents.h" */ +GType gdk_filter_return_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_FILTER_RETURN (gdk_filter_return_get_type ()) +GType gdk_event_type_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_EVENT_TYPE (gdk_event_type_get_type ()) +GType gdk_visibility_state_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_VISIBILITY_STATE (gdk_visibility_state_get_type ()) +GType gdk_scroll_direction_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_SCROLL_DIRECTION (gdk_scroll_direction_get_type ()) +GType gdk_notify_type_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_NOTIFY_TYPE (gdk_notify_type_get_type ()) +GType gdk_crossing_mode_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_CROSSING_MODE (gdk_crossing_mode_get_type ()) +GType gdk_property_state_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_PROPERTY_STATE (gdk_property_state_get_type ()) +GType gdk_window_state_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_WINDOW_STATE (gdk_window_state_get_type ()) +GType gdk_setting_action_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_SETTING_ACTION (gdk_setting_action_get_type ()) +GType gdk_owner_change_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_OWNER_CHANGE (gdk_owner_change_get_type ()) + +/* enumerations from "gdkproperty.h" */ +GType gdk_prop_mode_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_PROP_MODE (gdk_prop_mode_get_type ()) + +/* enumerations from "gdktypes.h" */ +GType gdk_byte_order_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_BYTE_ORDER (gdk_byte_order_get_type ()) +GType gdk_modifier_type_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_MODIFIER_TYPE (gdk_modifier_type_get_type ()) +GType gdk_modifier_intent_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_MODIFIER_INTENT (gdk_modifier_intent_get_type ()) +GType gdk_status_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_STATUS (gdk_status_get_type ()) +GType gdk_grab_status_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_GRAB_STATUS (gdk_grab_status_get_type ()) +GType gdk_grab_ownership_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_GRAB_OWNERSHIP (gdk_grab_ownership_get_type ()) +GType gdk_event_mask_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_EVENT_MASK (gdk_event_mask_get_type ()) + +/* enumerations from "gdkvisual.h" */ +GType gdk_visual_type_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_VISUAL_TYPE (gdk_visual_type_get_type ()) + +/* enumerations from "gdkwindow.h" */ +GType gdk_window_window_class_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_WINDOW_WINDOW_CLASS (gdk_window_window_class_get_type ()) +GType gdk_window_type_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_WINDOW_TYPE (gdk_window_type_get_type ()) +GType gdk_window_attributes_type_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_WINDOW_ATTRIBUTES_TYPE (gdk_window_attributes_type_get_type ()) +GType gdk_window_hints_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_WINDOW_HINTS (gdk_window_hints_get_type ()) +GType gdk_window_type_hint_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_WINDOW_TYPE_HINT (gdk_window_type_hint_get_type ()) +GType gdk_wm_decoration_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_WM_DECORATION (gdk_wm_decoration_get_type ()) +GType gdk_wm_function_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_WM_FUNCTION (gdk_wm_function_get_type ()) +GType gdk_gravity_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_GRAVITY (gdk_gravity_get_type ()) +GType gdk_window_edge_get_type (void) G_GNUC_CONST; +#define GDK_TYPE_WINDOW_EDGE (gdk_window_edge_get_type ()) +G_END_DECLS + +#endif /* __GDK_ENUM_TYPES_H__ */ + +/* Generated data ends here */ + diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkevents.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkevents.h new file mode 100644 index 0000000..b410529 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkevents.h @@ -0,0 +1,1277 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_EVENTS_H__ +#define __GDK_EVENTS_H__ + +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + + +/** + * SECTION:event_structs + * @Short_description: Data structures specific to each type of event + * @Title: Event Structures + * + * The event structs contain data specific to each type of event in GDK. + * + * + * + * A common mistake is to forget to set the event mask of a widget so that + * the required events are received. See gtk_widget_set_events(). + * + * + */ + + +#define GDK_TYPE_EVENT (gdk_event_get_type ()) + +/** + * GDK_PRIORITY_EVENTS: + * + * This is the priority that events from the X server are given in the + * GLib Main Loop. + */ +#define GDK_PRIORITY_EVENTS (G_PRIORITY_DEFAULT) + +/** + * GDK_PRIORITY_REDRAW: + * + * This is the priority that the idle handler processing window updates + * is given in the + * GLib Main Loop. + */ +#define GDK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20) + +/** + * GDK_EVENT_PROPAGATE: + * + * Use this macro as the return value for continuing the propagation of + * an event handler. + * + * Since: 3.4 + */ +#define GDK_EVENT_PROPAGATE (FALSE) + +/** + * GDK_EVENT_STOP: + * + * Use this macro as the return value for stopping the propagation of + * an event handler. + * + * Since: 3.4 + */ +#define GDK_EVENT_STOP (TRUE) + +/** + * GDK_BUTTON_PRIMARY: + * + * The primary button. This is typically the left mouse button, or the + * right button in a left-handed setup. + * + * Since: 3.4 + */ +#define GDK_BUTTON_PRIMARY (1) + +/** + * GDK_BUTTON_MIDDLE: + * + * The middle button. + * + * Since: 3.4 + */ +#define GDK_BUTTON_MIDDLE (2) + +/** + * GDK_BUTTON_SECONDARY: + * + * The secondary button. This is typically the right mouse button, or the + * left button in a left-handed setup. + * + * Since: 3.4 + */ +#define GDK_BUTTON_SECONDARY (3) + + + +typedef struct _GdkEventAny GdkEventAny; +typedef struct _GdkEventExpose GdkEventExpose; +typedef struct _GdkEventVisibility GdkEventVisibility; +typedef struct _GdkEventMotion GdkEventMotion; +typedef struct _GdkEventButton GdkEventButton; +typedef struct _GdkEventTouch GdkEventTouch; +typedef struct _GdkEventScroll GdkEventScroll; +typedef struct _GdkEventKey GdkEventKey; +typedef struct _GdkEventFocus GdkEventFocus; +typedef struct _GdkEventCrossing GdkEventCrossing; +typedef struct _GdkEventConfigure GdkEventConfigure; +typedef struct _GdkEventProperty GdkEventProperty; +typedef struct _GdkEventSelection GdkEventSelection; +typedef struct _GdkEventOwnerChange GdkEventOwnerChange; +typedef struct _GdkEventProximity GdkEventProximity; +typedef struct _GdkEventDND GdkEventDND; +typedef struct _GdkEventWindowState GdkEventWindowState; +typedef struct _GdkEventSetting GdkEventSetting; +typedef struct _GdkEventGrabBroken GdkEventGrabBroken; + +typedef struct _GdkEventSequence GdkEventSequence; + +typedef union _GdkEvent GdkEvent; + +/** + * GdkEventFunc: + * @event: the #GdkEvent to process. + * @data: (closure): user data set when the event handler was installed with + * gdk_event_handler_set(). + * + * Specifies the type of function passed to gdk_event_handler_set() to + * handle all GDK events. + */ +typedef void (*GdkEventFunc) (GdkEvent *event, + gpointer data); + +/* Event filtering */ + +/** + * GdkXEvent: + * + * Used to represent native events (XEvents for the X11 + * backend, MSGs for Win32). + */ +typedef void GdkXEvent; /* Can be cast to window system specific + * even type, XEvent on X11, MSG on Win32. + */ + +/** + * GdkFilterReturn: + * @GDK_FILTER_CONTINUE: event not handled, continue processing. + * @GDK_FILTER_TRANSLATE: native event translated into a GDK event and stored + * in the event structure that was passed in. + * @GDK_FILTER_REMOVE: event handled, terminate processing. + * + * Specifies the result of applying a #GdkFilterFunc to a native event. + */ +typedef enum { + GDK_FILTER_CONTINUE, /* Event not handled, continue processesing */ + GDK_FILTER_TRANSLATE, /* Native event translated into a GDK event and + stored in the "event" structure that was + passed in */ + GDK_FILTER_REMOVE /* Terminate processing, removing event */ +} GdkFilterReturn; + +/** + * GdkFilterFunc: + * @xevent: the native event to filter. + * @event: the GDK event to which the X event will be translated. + * @data: user data set when the filter was installed. + * + * Specifies the type of function used to filter native events before they are + * converted to GDK events. + * + * When a filter is called, @event is unpopulated, except for + * event->window. The filter may translate the native + * event to a GDK event and store the result in @event, or handle it without + * translation. If the filter translates the event and processing should + * continue, it should return %GDK_FILTER_TRANSLATE. + * + * Returns: a #GdkFilterReturn value. + */ +typedef GdkFilterReturn (*GdkFilterFunc) (GdkXEvent *xevent, + GdkEvent *event, + gpointer data); + + +/** + * GdkEventType: + * @GDK_NOTHING: a special code to indicate a null event. + * @GDK_DELETE: the window manager has requested that the toplevel window be + * hidden or destroyed, usually when the user clicks on a special icon in the + * title bar. + * @GDK_DESTROY: the window has been destroyed. + * @GDK_EXPOSE: all or part of the window has become visible and needs to be + * redrawn. + * @GDK_MOTION_NOTIFY: the pointer (usually a mouse) has moved. + * @GDK_BUTTON_PRESS: a mouse button has been pressed. + * @GDK_2BUTTON_PRESS: a mouse button has been double-clicked (clicked twice + * within a short period of time). Note that each click also generates a + * %GDK_BUTTON_PRESS event. + * @GDK_DOUBLE_BUTTON_PRESS: alias for %GDK_2BUTTON_PRESS, added in 3.6. + * @GDK_3BUTTON_PRESS: a mouse button has been clicked 3 times in a short period + * of time. Note that each click also generates a %GDK_BUTTON_PRESS event. + * @GDK_TRIPLE_BUTTON_PRESS: alias for %GDK_3BUTTON_PRESS, added in 3.6. + * @GDK_BUTTON_RELEASE: a mouse button has been released. + * @GDK_KEY_PRESS: a key has been pressed. + * @GDK_KEY_RELEASE: a key has been released. + * @GDK_ENTER_NOTIFY: the pointer has entered the window. + * @GDK_LEAVE_NOTIFY: the pointer has left the window. + * @GDK_FOCUS_CHANGE: the keyboard focus has entered or left the window. + * @GDK_CONFIGURE: the size, position or stacking order of the window has changed. + * Note that GTK+ discards these events for %GDK_WINDOW_CHILD windows. + * @GDK_MAP: the window has been mapped. + * @GDK_UNMAP: the window has been unmapped. + * @GDK_PROPERTY_NOTIFY: a property on the window has been changed or deleted. + * @GDK_SELECTION_CLEAR: the application has lost ownership of a selection. + * @GDK_SELECTION_REQUEST: another application has requested a selection. + * @GDK_SELECTION_NOTIFY: a selection has been received. + * @GDK_PROXIMITY_IN: an input device has moved into contact with a sensing + * surface (e.g. a touchscreen or graphics tablet). + * @GDK_PROXIMITY_OUT: an input device has moved out of contact with a sensing + * surface. + * @GDK_DRAG_ENTER: the mouse has entered the window while a drag is in progress. + * @GDK_DRAG_LEAVE: the mouse has left the window while a drag is in progress. + * @GDK_DRAG_MOTION: the mouse has moved in the window while a drag is in + * progress. + * @GDK_DRAG_STATUS: the status of the drag operation initiated by the window + * has changed. + * @GDK_DROP_START: a drop operation onto the window has started. + * @GDK_DROP_FINISHED: the drop operation initiated by the window has completed. + * @GDK_CLIENT_EVENT: a message has been received from another application. + * @GDK_VISIBILITY_NOTIFY: the window visibility status has changed. + * @GDK_SCROLL: the scroll wheel was turned + * @GDK_WINDOW_STATE: the state of a window has changed. See #GdkWindowState + * for the possible window states + * @GDK_SETTING: a setting has been modified. + * @GDK_OWNER_CHANGE: the owner of a selection has changed. This event type + * was added in 2.6 + * @GDK_GRAB_BROKEN: a pointer or keyboard grab was broken. This event type + * was added in 2.8. + * @GDK_DAMAGE: the content of the window has been changed. This event type + * was added in 2.14. + * @GDK_TOUCH_BEGIN: A new touch event sequence has just started. This event + * type was added in 3.4. + * @GDK_TOUCH_UPDATE: A touch event sequence has been updated. This event type + * was added in 3.4. + * @GDK_TOUCH_END: A touch event sequence has finished. This event type + * was added in 3.4. + * @GDK_TOUCH_CANCEL: A touch event sequence has been canceled. This event type + * was added in 3.4. + * @GDK_EVENT_LAST: marks the end of the GdkEventType enumeration. Added in 2.18 + * + * Specifies the type of the event. + * + * Do not confuse these events with the signals that GTK+ widgets emit. + * Although many of these events result in corresponding signals being emitted, + * the events are often transformed or filtered along the way. + * + * In some language bindings, the values %GDK_2BUTTON_PRESS and + * %GDK_3BUTTON_PRESS would translate into something syntactically + * invalid (eg Gdk.EventType.2ButtonPress, where a + * symbol is not allowed to start with a number). In that case, the + * aliases %GDK_DOUBLE_BUTTON_PRESS and %GDK_TRIPLE_BUTTON_PRESS can + * be used instead. + */ +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_DOUBLE_BUTTON_PRESS = GDK_2BUTTON_PRESS, + GDK_3BUTTON_PRESS = 6, + GDK_TRIPLE_BUTTON_PRESS = GDK_3BUTTON_PRESS, + 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_SCROLL = 31, + GDK_WINDOW_STATE = 32, + GDK_SETTING = 33, + GDK_OWNER_CHANGE = 34, + GDK_GRAB_BROKEN = 35, + GDK_DAMAGE = 36, + GDK_TOUCH_BEGIN = 37, + GDK_TOUCH_UPDATE = 38, + GDK_TOUCH_END = 39, + GDK_TOUCH_CANCEL = 40, + GDK_EVENT_LAST /* helper variable for decls */ +} GdkEventType; + +/** + * GdkVisibilityState: + * @GDK_VISIBILITY_UNOBSCURED: the window is completely visible. + * @GDK_VISIBILITY_PARTIAL: the window is partially visible. + * @GDK_VISIBILITY_FULLY_OBSCURED: the window is not visible at all. + * + * Specifies the visiblity status of a window for a #GdkEventVisibility. + */ +typedef enum +{ + GDK_VISIBILITY_UNOBSCURED, + GDK_VISIBILITY_PARTIAL, + GDK_VISIBILITY_FULLY_OBSCURED +} GdkVisibilityState; + +/** + * GdkScrollDirection: + * @GDK_SCROLL_UP: the window is scrolled up. + * @GDK_SCROLL_DOWN: the window is scrolled down. + * @GDK_SCROLL_LEFT: the window is scrolled to the left. + * @GDK_SCROLL_RIGHT: the window is scrolled to the right. + * @GDK_SCROLL_SMOOTH: the scrolling is determined by the delta values + * in #GdkEventScroll. See gdk_event_get_scroll_deltas(). Since: 3.4 + * + * Specifies the direction for #GdkEventScroll. + */ +typedef enum +{ + GDK_SCROLL_UP, + GDK_SCROLL_DOWN, + GDK_SCROLL_LEFT, + GDK_SCROLL_RIGHT, + GDK_SCROLL_SMOOTH +} GdkScrollDirection; + +/** + * GdkNotifyType: + * @GDK_NOTIFY_ANCESTOR: the window is entered from an ancestor or + * left towards an ancestor. + * @GDK_NOTIFY_VIRTUAL: the pointer moves between an ancestor and an + * inferior of the window. + * @GDK_NOTIFY_INFERIOR: the window is entered from an inferior or + * left towards an inferior. + * @GDK_NOTIFY_NONLINEAR: the window is entered from or left towards + * a window which is neither an ancestor nor an inferior. + * @GDK_NOTIFY_NONLINEAR_VIRTUAL: the pointer moves between two windows + * which are not ancestors of each other and the window is part of + * the ancestor chain between one of these windows and their least + * common ancestor. + * @GDK_NOTIFY_UNKNOWN: an unknown type of enter/leave event occurred. + * + * Specifies the kind of crossing for #GdkEventCrossing. + * + * See the X11 protocol specification of LeaveNotify for + * full details of crossing event generation. + */ +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: + * @GDK_CROSSING_NORMAL: crossing because of pointer motion. + * @GDK_CROSSING_GRAB: crossing because a grab is activated. + * @GDK_CROSSING_UNGRAB: crossing because a grab is deactivated. + * @GDK_CROSSING_GTK_GRAB: crossing because a GTK+ grab is activated. + * @GDK_CROSSING_GTK_UNGRAB: crossing because a GTK+ grab is deactivated. + * @GDK_CROSSING_STATE_CHANGED: crossing because a GTK+ widget changed + * state (e.g. sensitivity). + * @GDK_CROSSING_TOUCH_BEGIN: crossing because a touch sequence has begun, + * this event is synthetic as the pointer might have not left the window. + * @GDK_CROSSING_TOUCH_END: crossing because a touch sequence has ended, + * this event is synthetic as the pointer might have not left the window. + * @GDK_CROSSING_DEVICE_SWITCH: crossing because of a device switch (i.e. + * a mouse taking control of the pointer after a touch device), this event + * is synthetic as the pointer didn't leave the window. + * + * Specifies the crossing mode for #GdkEventCrossing. + */ +typedef enum +{ + GDK_CROSSING_NORMAL, + GDK_CROSSING_GRAB, + GDK_CROSSING_UNGRAB, + GDK_CROSSING_GTK_GRAB, + GDK_CROSSING_GTK_UNGRAB, + GDK_CROSSING_STATE_CHANGED, + GDK_CROSSING_TOUCH_BEGIN, + GDK_CROSSING_TOUCH_END, + GDK_CROSSING_DEVICE_SWITCH +} GdkCrossingMode; + +/** + * GdkPropertyState: + * @GDK_PROPERTY_NEW_VALUE: the property value was changed. + * @GDK_PROPERTY_DELETE: the property was deleted. + * + * Specifies the type of a property change for a #GdkEventProperty. + */ +typedef enum +{ + GDK_PROPERTY_NEW_VALUE, + GDK_PROPERTY_DELETE +} GdkPropertyState; + +/** + * GdkWindowState: + * @GDK_WINDOW_STATE_WITHDRAWN: the window is not shown. + * @GDK_WINDOW_STATE_ICONIFIED: the window is minimized. + * @GDK_WINDOW_STATE_MAXIMIZED: the window is maximized. + * @GDK_WINDOW_STATE_STICKY: the window is sticky. + * @GDK_WINDOW_STATE_FULLSCREEN: the window is maximized without + * decorations. + * @GDK_WINDOW_STATE_ABOVE: the window is kept above other windows. + * @GDK_WINDOW_STATE_BELOW: the window is kept below other windows. + * @GDK_WINDOW_STATE_FOCUSED: the window is presented as focused (with active decorations). + * + * Specifies the state of a toplevel window. + */ +typedef enum +{ + GDK_WINDOW_STATE_WITHDRAWN = 1 << 0, + GDK_WINDOW_STATE_ICONIFIED = 1 << 1, + GDK_WINDOW_STATE_MAXIMIZED = 1 << 2, + GDK_WINDOW_STATE_STICKY = 1 << 3, + GDK_WINDOW_STATE_FULLSCREEN = 1 << 4, + GDK_WINDOW_STATE_ABOVE = 1 << 5, + GDK_WINDOW_STATE_BELOW = 1 << 6, + GDK_WINDOW_STATE_FOCUSED = 1 << 7 +} GdkWindowState; + +/** + * GdkSettingAction: + * @GDK_SETTING_ACTION_NEW: a setting was added. + * @GDK_SETTING_ACTION_CHANGED: a setting was changed. + * @GDK_SETTING_ACTION_DELETED: a setting was deleted. + * + * Specifies the kind of modification applied to a setting in a + * #GdkEventSetting. + */ +typedef enum +{ + GDK_SETTING_ACTION_NEW, + GDK_SETTING_ACTION_CHANGED, + GDK_SETTING_ACTION_DELETED +} GdkSettingAction; + +/** + * GdkOwnerChange: + * @GDK_OWNER_CHANGE_NEW_OWNER: some other app claimed the ownership + * @GDK_OWNER_CHANGE_DESTROY: the window was destroyed + * @GDK_OWNER_CHANGE_CLOSE: the client was closed + * + * Specifies why a selection ownership was changed. + */ +typedef enum +{ + GDK_OWNER_CHANGE_NEW_OWNER, + GDK_OWNER_CHANGE_DESTROY, + GDK_OWNER_CHANGE_CLOSE +} GdkOwnerChange; + +/** + * GdkEventAny: + * @type: the type of the event. + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * + * Contains the fields which are common to all event structs. + * Any event pointer can safely be cast to a pointer to a #GdkEventAny to + * access these fields. + */ +struct _GdkEventAny +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; +}; + +/** + * GdkEventExpose: + * @type: the type of the event (%GDK_EXPOSE or %GDK_DAMAGE). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @area: bounding box of @region. + * @region: the region that needs to be redrawn. + * @count: the number of contiguous %GDK_EXPOSE events following this one. + * The only use for this is "exposure compression", i.e. handling all + * contiguous %GDK_EXPOSE events in one go, though GDK performs some + * exposure compression so this is not normally needed. + * + * Generated when all or part of a window becomes visible and needs to be + * redrawn. + */ +struct _GdkEventExpose +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkRectangle area; + cairo_region_t *region; + gint count; /* If non-zero, how many more events follow. */ +}; + +/** + * GdkEventVisibility: + * @type: the type of the event (%GDK_VISIBILITY_NOTIFY). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @state: the new visibility state (%GDK_VISIBILITY_FULLY_OBSCURED, + * %GDK_VISIBILITY_PARTIAL or %GDK_VISIBILITY_UNOBSCURED). + * + * Generated when the window visibility status has changed. + */ +struct _GdkEventVisibility +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkVisibilityState state; +}; + +/** + * GdkEventMotion: + * @type: the type of the event. + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @time: the time of the event in milliseconds. + * @x: the x coordinate of the pointer relative to the window. + * @y: the y coordinate of the pointer relative to the window. + * @axes: @x, @y translated to the axes of @device, or %NULL if @device is + * the mouse. + * @state: (type GdkModifierType): a bit-mask representing the state of + * the modifier keys (e.g. Control, Shift and Alt) and the pointer + * buttons. See #GdkModifierType. + * @is_hint: set to 1 if this event is just a hint, see the + * %GDK_POINTER_MOTION_HINT_MASK value of #GdkEventMask. + * @device: the device where the event originated. + * @x_root: the x coordinate of the pointer relative to the root of the + * screen. + * @y_root: the y coordinate of the pointer relative to the root of the + * screen. + * + * Generated when the pointer moves. + */ +struct _GdkEventMotion +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + guint32 time; + gdouble x; + gdouble y; + gdouble *axes; + guint state; + gint16 is_hint; + GdkDevice *device; + gdouble x_root, y_root; +}; + +/** + * GdkEventButton: + * @type: the type of the event (%GDK_BUTTON_PRESS, %GDK_2BUTTON_PRESS, + * %GDK_3BUTTON_PRESS or %GDK_BUTTON_RELEASE). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @time: the time of the event in milliseconds. + * @x: the x coordinate of the pointer relative to the window. + * @y: the y coordinate of the pointer relative to the window. + * @axes: @x, @y translated to the axes of @device, or %NULL if @device is + * the mouse. + * @state: (type GdkModifierType): a bit-mask representing the state of + * the modifier keys (e.g. Control, Shift and Alt) and the pointer + * buttons. See #GdkModifierType. + * @button: the button which was pressed or released, numbered from 1 to 5. + * Normally button 1 is the left mouse button, 2 is the middle button, + * and 3 is the right button. On 2-button mice, the middle button can + * often be simulated by pressing both mouse buttons together. + * @device: the device where the event originated. + * @x_root: the x coordinate of the pointer relative to the root of the + * screen. + * @y_root: the y coordinate of the pointer relative to the root of the + * screen. + * + * Used for button press and button release events. The + * @type field will be one of %GDK_BUTTON_PRESS, + * %GDK_2BUTTON_PRESS, %GDK_3BUTTON_PRESS or %GDK_BUTTON_RELEASE, + * + * Double and triple-clicks result in a sequence of events being received. + * For double-clicks the order of events will be: + * + * %GDK_BUTTON_PRESS + * %GDK_BUTTON_RELEASE + * %GDK_BUTTON_PRESS + * %GDK_2BUTTON_PRESS + * %GDK_BUTTON_RELEASE + * + * Note that the first click is received just like a normal + * button press, while the second click results in a %GDK_2BUTTON_PRESS + * being received just after the %GDK_BUTTON_PRESS. + * + * Triple-clicks are very similar to double-clicks, except that + * %GDK_3BUTTON_PRESS is inserted after the third click. The order of the + * events is: + * + * %GDK_BUTTON_PRESS + * %GDK_BUTTON_RELEASE + * %GDK_BUTTON_PRESS + * %GDK_2BUTTON_PRESS + * %GDK_BUTTON_RELEASE + * %GDK_BUTTON_PRESS + * %GDK_3BUTTON_PRESS + * %GDK_BUTTON_RELEASE + * + * + * For a double click to occur, the second button press must occur within + * 1/4 of a second of the first. For a triple click to occur, the third + * button press must also occur within 1/2 second of the first button press. + */ +struct _GdkEventButton +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + guint32 time; + gdouble x; + gdouble y; + gdouble *axes; + guint state; + guint button; + GdkDevice *device; + gdouble x_root, y_root; +}; + +/** + * GdkEventTouch: + * @type: the type of the event (%GDK_TOUCH_BEGIN, %GDK_TOUCH_UPDATE, + * %GDK_TOUCH_END, %GDK_TOUCH_CANCEL) + * @window: the window which received the event + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent) + * @time: the time of the event in milliseconds. + * @x: the x coordinate of the pointer relative to the window + * @y: the y coordinate of the pointer relative to the window + * @axes: @x, @y translated to the axes of @device, or %NULL if @device is + * the mouse + * @state: (type GdkModifierType): a bit-mask representing the state of + * the modifier keys (e.g. Control, Shift and Alt) and the pointer + * buttons. See #GdkModifierType + * @sequence: the event sequence that the event belongs to + * @emulating_pointer: whether the event should be used for emulating + * pointer event + * @device: the device where the event originated + * @x_root: the x coordinate of the pointer relative to the root of the + * screen + * @y_root: the y coordinate of the pointer relative to the root of the + * screen + * + * Used for touch events. + * @type field will be one of %GDK_TOUCH_BEGIN, %GDK_TOUCH_UPDATE, + * %GDK_TOUCH_END or %GDK_TOUCH_CANCEL. + * + * Touch events are grouped into sequences by means of the @sequence + * field, which can also be obtained with gdk_event_get_event_sequence(). + * Each sequence begins with a %GDK_TOUCH_BEGIN event, followed by + * any number of %GDK_TOUCH_UPDATE events, and ends with a %GDK_TOUCH_END + * (or %GDK_TOUCH_CANCEL) event. With multitouch devices, there may be + * several active sequences at the same time. + */ +struct _GdkEventTouch +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + guint32 time; + gdouble x; + gdouble y; + gdouble *axes; + guint state; + GdkEventSequence *sequence; + gboolean emulating_pointer; + GdkDevice *device; + gdouble x_root, y_root; +}; + +/** + * GdkEventScroll: + * @type: the type of the event (%GDK_SCROLL). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @time: the time of the event in milliseconds. + * @x: the x coordinate of the pointer relative to the window. + * @y: the y coordinate of the pointer relative to the window. + * @state: (type GdkModifierType): a bit-mask representing the state of + * the modifier keys (e.g. Control, Shift and Alt) and the pointer + * buttons. See #GdkModifierType. + * @direction: the direction to scroll to (one of %GDK_SCROLL_UP, + * %GDK_SCROLL_DOWN, %GDK_SCROLL_LEFT, %GDK_SCROLL_RIGHT or + * %GDK_SCROLL_SMOOTH). + * @device: the device where the event originated. + * @x_root: the x coordinate of the pointer relative to the root of the + * screen. + * @y_root: the y coordinate of the pointer relative to the root of the + * screen. + * + * Generated from button presses for the buttons 4 to 7. Wheel mice are + * usually configured to generate button press events for buttons 4 and 5 + * when the wheel is turned. + * + * Some GDK backends can also generate 'smooth' scroll events, which + * can be recognized by the %GDK_SCROLL_SMOOTH scroll direction. For + * these, the scroll deltas can be obtained with + * gdk_event_get_scroll_deltas(). + */ +struct _GdkEventScroll +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + guint32 time; + gdouble x; + gdouble y; + guint state; + GdkScrollDirection direction; + GdkDevice *device; + gdouble x_root, y_root; + gdouble delta_x; + gdouble delta_y; +}; + +/** + * GdkEventKey: + * @type: the type of the event (%GDK_KEY_PRESS or %GDK_KEY_RELEASE). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @time: the time of the event in milliseconds. + * @state: (type GdkModifierType): a bit-mask representing the state of + * the modifier keys (e.g. Control, Shift and Alt) and the pointer + * buttons. See #GdkModifierType. + * @keyval: the key that was pressed or released. See the + * <gdk/gdkkeysyms.h> header file for a + * complete list of GDK key codes. + * @length: the length of @string. + * @string: a string containing the an approximation of the text that + * would result from this keypress. The only correct way to handle text + * input of text is using input methods (see #GtkIMContext), so this + * field is deprecated and should never be used. + * (gdk_unicode_to_keyval() provides a non-deprecated way of getting + * an approximate translation for a key.) The string is encoded in the + * encoding of the current locale (Note: this for backwards compatibility: + * strings in GTK+ and GDK are typically in UTF-8.) and NUL-terminated. + * In some cases, the translation of the key code will be a single + * NUL byte, in which case looking at @length is necessary to distinguish + * it from the an empty translation. + * @hardware_keycode: the raw code of the key that was pressed or released. + * @group: the keyboard group. + * @is_modifier: a flag that indicates if @hardware_keycode is mapped to a + * modifier. Since 2.10 + * + * Describes a key press or key release event. + */ +struct _GdkEventKey +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + guint32 time; + guint state; + guint keyval; + gint length; + gchar *string; + guint16 hardware_keycode; + guint8 group; + guint is_modifier : 1; +}; + +/** + * GdkEventCrossing: + * @type: the type of the event (%GDK_ENTER_NOTIFY or %GDK_LEAVE_NOTIFY). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @subwindow: the window that was entered or left. + * @time: the time of the event in milliseconds. + * @x: the x coordinate of the pointer relative to the window. + * @y: the y coordinate of the pointer relative to the window. + * @x_root: the x coordinate of the pointer relative to the root of the screen. + * @y_root: the y coordinate of the pointer relative to the root of the screen. + * @mode: the crossing mode (%GDK_CROSSING_NORMAL, %GDK_CROSSING_GRAB, + * %GDK_CROSSING_UNGRAB, %GDK_CROSSING_GTK_GRAB, %GDK_CROSSING_GTK_UNGRAB or + * %GDK_CROSSING_STATE_CHANGED). %GDK_CROSSING_GTK_GRAB, %GDK_CROSSING_GTK_UNGRAB, + * and %GDK_CROSSING_STATE_CHANGED were added in 2.14 and are always synthesized, + * never native. + * @detail: the kind of crossing that happened (%GDK_NOTIFY_INFERIOR, + * %GDK_NOTIFY_ANCESTOR, %GDK_NOTIFY_VIRTUAL, %GDK_NOTIFY_NONLINEAR or + * %GDK_NOTIFY_NONLINEAR_VIRTUAL). + * @focus: %TRUE if @window is the focus window or an inferior. + * @state: (type GdkModifierType): a bit-mask representing the state of + * the modifier keys (e.g. Control, Shift and Alt) and the pointer + * buttons. See #GdkModifierType. + * + * Generated when the pointer enters or leaves a window. + */ +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: + * @type: the type of the event (%GDK_FOCUS_CHANGE). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @in: %TRUE if the window has gained the keyboard focus, %FALSE if + * it has lost the focus. + * + * Describes a change of keyboard focus. + */ +struct _GdkEventFocus +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + gint16 in; +}; + +/** + * GdkEventConfigure: + * @type: the type of the event (%GDK_CONFIGURE). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @x: the new x coordinate of the window, relative to its parent. + * @y: the new y coordinate of the window, relative to its parent. + * @width: the new width of the window. + * @height: the new height of the window. + * + * Generated when a window size or position has changed. + */ +struct _GdkEventConfigure +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + gint x, y; + gint width; + gint height; +}; + +/** + * GdkEventProperty: + * @type: the type of the event (%GDK_PROPERTY_NOTIFY). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @atom: the property that was changed. + * @time: the time of the event in milliseconds. + * @state: whether the property was changed (%GDK_PROPERTY_NEW_VALUE) or + * deleted (%GDK_PROPERTY_DELETE). + * + * Describes a property change on a window. + */ +struct _GdkEventProperty +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkAtom atom; + guint32 time; + guint state; +}; + +/** + * GdkEventSelection: + * @type: the type of the event (%GDK_SELECTION_CLEAR, + * %GDK_SELECTION_NOTIFY or %GDK_SELECTION_REQUEST). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @selection: the selection. + * @target: the target to which the selection should be converted. + * @property: the property in which to place the result of the conversion. + * @time: the time of the event in milliseconds. + * @requestor: the window on which to place @property or %NULL if none. + * + * Generated when a selection is requested or ownership of a selection + * is taken over by another client application. + */ +struct _GdkEventSelection +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkAtom selection; + GdkAtom target; + GdkAtom property; + guint32 time; + GdkWindow *requestor; +}; + +/** + * GdkEventOwnerChange: + * @type: the type of the event (%GDK_OWNER_CHANGE). + * @window: the window which received the event + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent) + * @owner: the new owner of the selection, or %NULL if there is none + * @reason: the reason for the ownership change as a #GdkOwnerChange value + * @selection: the atom identifying the selection + * @time: the timestamp of the event + * @selection_time: the time at which the selection ownership was taken + * over + * + * Generated when the owner of a selection changes. On X11, this + * information is only available if the X server supports the XFIXES + * extension. + * + * Since: 2.6 + */ +struct _GdkEventOwnerChange +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkWindow *owner; + GdkOwnerChange reason; + GdkAtom selection; + guint32 time; + guint32 selection_time; +}; + +/** + * GdkEventProximity: + * @type: the type of the event (%GDK_PROXIMITY_IN or %GDK_PROXIMITY_OUT). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using XSendEvent). + * @time: the time of the event in milliseconds. + * @device: the device where the event originated. + * + * Proximity events are generated when using GDK's wrapper for the + * XInput extension. The XInput extension is an add-on for standard X + * that allows you to use nonstandard devices such as graphics tablets. + * A proximity event indicates that the stylus has moved in or out of + * contact with the tablet, or perhaps that the user's finger has moved + * in or out of contact with a touch screen. + * + * This event type will be used pretty rarely. It only is important for + * XInput aware programs that are drawing their own cursor. + */ +struct _GdkEventProximity +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + guint32 time; + GdkDevice *device; +}; + +/** + * GdkEventSetting: + * @type: the type of the event (%GDK_SETTING). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @action: what happened to the setting (%GDK_SETTING_ACTION_NEW, + * %GDK_SETTING_ACTION_CHANGED or %GDK_SETTING_ACTION_DELETED). + * @name: the name of the setting. + * + * Generated when a setting is modified. + */ +struct _GdkEventSetting +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkSettingAction action; + char *name; +}; + +/** + * GdkEventWindowState: + * @type: the type of the event (%GDK_WINDOW_STATE). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @changed_mask: mask specifying what flags have changed. + * @new_window_state: the new window state, a combination of + * #GdkWindowState bits. + * + * Generated when the state of a toplevel window changes. + */ +struct _GdkEventWindowState +{ + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkWindowState changed_mask; + GdkWindowState new_window_state; +}; + +/** + * GdkEventGrabBroken: + * @type: the type of the event (%GDK_GRAB_BROKEN) + * @window: the window which received the event, i.e. the window + * that previously owned the grab + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @keyboard: %TRUE if a keyboard grab was broken, %FALSE if a pointer + * grab was broken + * @implicit: %TRUE if the broken grab was implicit + * @grab_window: If this event is caused by another grab in the same + * application, @grab_window contains the new grab window. Otherwise + * @grab_window is %NULL. + * + * Generated when a pointer or keyboard grab is broken. On X11, this happens + * when the grab window becomes unviewable (i.e. it or one of its ancestors + * is unmapped), or if the same application grabs the pointer or keyboard + * again. Note that implicit grabs (which are initiated by button presses) + * can also cause #GdkEventGrabBroken events. + * + * Since: 2.8 + */ +struct _GdkEventGrabBroken { + GdkEventType type; + GdkWindow *window; + gint8 send_event; + gboolean keyboard; + gboolean implicit; + GdkWindow *grab_window; +}; + +/** + * GdkEventDND: + * @type: the type of the event (%GDK_DRAG_ENTER, %GDK_DRAG_LEAVE, + * %GDK_DRAG_MOTION, %GDK_DRAG_STATUS, %GDK_DROP_START or + * %GDK_DROP_FINISHED). + * @window: the window which received the event. + * @send_event: %TRUE if the event was sent explicitly (e.g. using + * XSendEvent). + * @context: the #GdkDragContext for the current DND operation. + * @time: the time of the event in milliseconds. + * @x_root: the x coordinate of the pointer relative to the root of the + * screen, only set for %GDK_DRAG_MOTION and %GDK_DROP_START. + * @y_root: the y coordinate of the pointer relative to the root of the + * screen, only set for %GDK_DRAG_MOTION and %GDK_DROP_START. + * + * Generated during DND operations. + */ +struct _GdkEventDND { + GdkEventType type; + GdkWindow *window; + gint8 send_event; + GdkDragContext *context; + + guint32 time; + gshort x_root, y_root; +}; + +/** + * GdkEvent: + * + * The #GdkEvent struct contains a union of all of the event structs, + * and allows access to the data fields in a number of ways. + * + * The event type is always the first field in all of the event structs, and + * can always be accessed with the following code, no matter what type of + * event it is: + * + * + * GdkEvent *event; + * GdkEventType type; + * + * type = event->type; + * + * + * + * To access other fields of the event structs, the pointer to the event + * can be cast to the appropriate event struct pointer, or the union member + * name can be used. For example if the event type is %GDK_BUTTON_PRESS + * then the x coordinate of the button press can be accessed with: + * + * + * GdkEvent *event; + * gdouble x; + * + * x = ((GdkEventButton*)event)->x; + * + * + * or: + * + * + * GdkEvent *event; + * gdouble x; + * + * x = event->button.x; + * + * + */ +union _GdkEvent +{ + GdkEventType type; + GdkEventAny any; + GdkEventExpose expose; + GdkEventVisibility visibility; + GdkEventMotion motion; + GdkEventButton button; + GdkEventTouch touch; + GdkEventScroll scroll; + GdkEventKey key; + GdkEventCrossing crossing; + GdkEventFocus focus_change; + GdkEventConfigure configure; + GdkEventProperty property; + GdkEventSelection selection; + GdkEventOwnerChange owner_change; + GdkEventProximity proximity; + GdkEventDND dnd; + GdkEventWindowState window_state; + GdkEventSetting setting; + GdkEventGrabBroken grab_broken; +}; + +GType gdk_event_get_type (void) G_GNUC_CONST; + +gboolean gdk_events_pending (void); +GdkEvent* gdk_event_get (void); + +GdkEvent* gdk_event_peek (void); +void gdk_event_put (const GdkEvent *event); + +GdkEvent* gdk_event_new (GdkEventType type); +GdkEvent* gdk_event_copy (const GdkEvent *event); +void gdk_event_free (GdkEvent *event); + +guint32 gdk_event_get_time (const GdkEvent *event); +gboolean gdk_event_get_state (const GdkEvent *event, + GdkModifierType *state); +gboolean gdk_event_get_coords (const GdkEvent *event, + gdouble *x_win, + gdouble *y_win); +gboolean gdk_event_get_root_coords (const GdkEvent *event, + gdouble *x_root, + gdouble *y_root); +GDK_AVAILABLE_IN_3_2 +gboolean gdk_event_get_button (const GdkEvent *event, + guint *button); +GDK_AVAILABLE_IN_3_2 +gboolean gdk_event_get_click_count (const GdkEvent *event, + guint *click_count); +GDK_AVAILABLE_IN_3_2 +gboolean gdk_event_get_keyval (const GdkEvent *event, + guint *keyval); +GDK_AVAILABLE_IN_3_2 +gboolean gdk_event_get_keycode (const GdkEvent *event, + guint16 *keycode); +GDK_AVAILABLE_IN_3_2 +gboolean gdk_event_get_scroll_direction (const GdkEvent *event, + GdkScrollDirection *direction); +GDK_AVAILABLE_IN_3_4 +gboolean gdk_event_get_scroll_deltas (const GdkEvent *event, + gdouble *delta_x, + gdouble *delta_y); + +gboolean gdk_event_get_axis (const GdkEvent *event, + GdkAxisUse axis_use, + gdouble *value); +void gdk_event_set_device (GdkEvent *event, + GdkDevice *device); +GdkDevice* gdk_event_get_device (const GdkEvent *event); +void gdk_event_set_source_device (GdkEvent *event, + GdkDevice *device); +GdkDevice* gdk_event_get_source_device (const GdkEvent *event); +void gdk_event_request_motions (const GdkEventMotion *event); +GDK_AVAILABLE_IN_3_4 +gboolean gdk_event_triggers_context_menu (const GdkEvent *event); + +gboolean gdk_events_get_distance (GdkEvent *event1, + GdkEvent *event2, + gdouble *distance); +gboolean gdk_events_get_angle (GdkEvent *event1, + GdkEvent *event2, + gdouble *angle); +gboolean gdk_events_get_center (GdkEvent *event1, + GdkEvent *event2, + gdouble *x, + gdouble *y); + +void gdk_event_handler_set (GdkEventFunc func, + gpointer data, + GDestroyNotify notify); + +void gdk_event_set_screen (GdkEvent *event, + GdkScreen *screen); +GdkScreen *gdk_event_get_screen (const GdkEvent *event); + +GDK_AVAILABLE_IN_3_4 +GdkEventSequence *gdk_event_get_event_sequence (const GdkEvent *event); + +void gdk_set_show_events (gboolean show_events); +gboolean gdk_get_show_events (void); + +#ifndef GDK_MULTIHEAD_SAFE + +gboolean gdk_setting_get (const gchar *name, + GValue *value); + +#endif /* GDK_MULTIHEAD_SAFE */ + +G_END_DECLS + +#endif /* __GDK_EVENTS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkkeys.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkkeys.h new file mode 100644 index 0000000..28d46d2 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkkeys.h @@ -0,0 +1,142 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_KEYS_H__ +#define __GDK_KEYS_H__ + +#include +#include + +G_BEGIN_DECLS + + +typedef struct _GdkKeymapKey GdkKeymapKey; + +/** + * GdkKeymapKey: + * @keycode: the hardware keycode. This is an identifying number for a + * physical key. + * @group: indicates movement in a horizontal direction. Usually groups are used + * for two different languages. In group 0, a key might have two English + * characters, and in group 1 it might have two Hebrew characters. The Hebrew + * characters will be printed on the key next to the English characters. + * @level: indicates which symbol on the key will be used, in a vertical direction. + * So on a standard US keyboard, the key with the number "1" on it also has the + * exclamation point ("!") character on it. The level indicates whether to use + * the "1" or the "!" symbol. The letter keys are considered to have a lowercase + * letter at level 0, and an uppercase letter at level 1, though only the + * uppercase letter is printed. + * + * A #GdkKeymapKey is a hardware key that can be mapped to a keyval. + */ +struct _GdkKeymapKey +{ + guint keycode; + gint group; + gint level; +}; + + +#define GDK_TYPE_KEYMAP (gdk_keymap_get_type ()) +#define GDK_KEYMAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_KEYMAP, GdkKeymap)) +#define GDK_IS_KEYMAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_KEYMAP)) + +/** + * GdkKeymap: + * + * A #GdkKeymap defines the translation from keyboard state + * (including a hardware key, a modifier mask, and active keyboard group) + * to a keyval. This translation has two phases. The first phase is + * to determine the effective keyboard group and level for the keyboard + * state; the second phase is to look up the keycode/group/level triplet + * in the keymap and see what keyval it corresponds to. + */ + +GType gdk_keymap_get_type (void) G_GNUC_CONST; + +#ifndef GDK_MULTIHEAD_SAFE +GdkKeymap* gdk_keymap_get_default (void); +#endif +GdkKeymap* gdk_keymap_get_for_display (GdkDisplay *display); + + +guint gdk_keymap_lookup_key (GdkKeymap *keymap, + const GdkKeymapKey *key); +gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap, + guint hardware_keycode, + GdkModifierType state, + gint group, + guint *keyval, + gint *effective_group, + gint *level, + GdkModifierType *consumed_modifiers); +gboolean gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap, + guint keyval, + GdkKeymapKey **keys, + gint *n_keys); +gboolean gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap, + guint hardware_keycode, + GdkKeymapKey **keys, + guint **keyvals, + gint *n_entries); + +PangoDirection gdk_keymap_get_direction (GdkKeymap *keymap); +gboolean gdk_keymap_have_bidi_layouts (GdkKeymap *keymap); +gboolean gdk_keymap_get_caps_lock_state (GdkKeymap *keymap); +gboolean gdk_keymap_get_num_lock_state (GdkKeymap *keymap); +GDK_AVAILABLE_IN_3_4 +guint gdk_keymap_get_modifier_state (GdkKeymap *keymap); +void gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap, + GdkModifierType *state); +gboolean gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap, + GdkModifierType *state); +GDK_AVAILABLE_IN_3_4 +GdkModifierType gdk_keymap_get_modifier_mask (GdkKeymap *keymap, + GdkModifierIntent intent); + + +/* Key values + */ +gchar* gdk_keyval_name (guint keyval) G_GNUC_CONST; + +guint gdk_keyval_from_name (const gchar *keyval_name); +void gdk_keyval_convert_case (guint symbol, + guint *lower, + guint *upper); +guint gdk_keyval_to_upper (guint keyval) G_GNUC_CONST; +guint gdk_keyval_to_lower (guint keyval) G_GNUC_CONST; +gboolean gdk_keyval_is_upper (guint keyval) G_GNUC_CONST; +gboolean gdk_keyval_is_lower (guint keyval) G_GNUC_CONST; + +guint32 gdk_keyval_to_unicode (guint keyval) G_GNUC_CONST; +guint gdk_unicode_to_keyval (guint32 wc) G_GNUC_CONST; + + +G_END_DECLS + +#endif /* __GDK_KEYS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkkeysyms-compat.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkkeysyms-compat.h new file mode 100644 index 0000000..5b220e8 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkkeysyms-compat.h @@ -0,0 +1,2300 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * Copyright (C) 2005, 2006, 2007, 2009 GNOME Foundation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Compatibility version of gdkkeysyms.h. + * + * In GTK3, keysyms changed to have a KEY_ prefix. This is a compatibility header + * your application can include to gain access to the old names as well. Consider + * porting to the new names instead. + */ + +#ifndef __GDK_KEYSYMS_COMPAT_H__ +#define __GDK_KEYSYMS_COMPAT_H__ + +#define GDK_VoidSymbol 0xffffff +#define GDK_BackSpace 0xff08 +#define GDK_Tab 0xff09 +#define GDK_Linefeed 0xff0a +#define GDK_Clear 0xff0b +#define GDK_Return 0xff0d +#define GDK_Pause 0xff13 +#define GDK_Scroll_Lock 0xff14 +#define GDK_Sys_Req 0xff15 +#define GDK_Escape 0xff1b +#define GDK_Delete 0xffff +#define GDK_Multi_key 0xff20 +#define GDK_Codeinput 0xff37 +#define GDK_SingleCandidate 0xff3c +#define GDK_MultipleCandidate 0xff3d +#define GDK_PreviousCandidate 0xff3e +#define GDK_Kanji 0xff21 +#define GDK_Muhenkan 0xff22 +#define GDK_Henkan_Mode 0xff23 +#define GDK_Henkan 0xff23 +#define GDK_Romaji 0xff24 +#define GDK_Hiragana 0xff25 +#define GDK_Katakana 0xff26 +#define GDK_Hiragana_Katakana 0xff27 +#define GDK_Zenkaku 0xff28 +#define GDK_Hankaku 0xff29 +#define GDK_Zenkaku_Hankaku 0xff2a +#define GDK_Touroku 0xff2b +#define GDK_Massyo 0xff2c +#define GDK_Kana_Lock 0xff2d +#define GDK_Kana_Shift 0xff2e +#define GDK_Eisu_Shift 0xff2f +#define GDK_Eisu_toggle 0xff30 +#define GDK_Kanji_Bangou 0xff37 +#define GDK_Zen_Koho 0xff3d +#define GDK_Mae_Koho 0xff3e +#define GDK_Home 0xff50 +#define GDK_Left 0xff51 +#define GDK_Up 0xff52 +#define GDK_Right 0xff53 +#define GDK_Down 0xff54 +#define GDK_Prior 0xff55 +#define GDK_Page_Up 0xff55 +#define GDK_Next 0xff56 +#define GDK_Page_Down 0xff56 +#define GDK_End 0xff57 +#define GDK_Begin 0xff58 +#define GDK_Select 0xff60 +#define GDK_Print 0xff61 +#define GDK_Execute 0xff62 +#define GDK_Insert 0xff63 +#define GDK_Undo 0xff65 +#define GDK_Redo 0xff66 +#define GDK_Menu 0xff67 +#define GDK_Find 0xff68 +#define GDK_Cancel 0xff69 +#define GDK_Help 0xff6a +#define GDK_Break 0xff6b +#define GDK_Mode_switch 0xff7e +#define GDK_script_switch 0xff7e +#define GDK_Num_Lock 0xff7f +#define GDK_KP_Space 0xff80 +#define GDK_KP_Tab 0xff89 +#define GDK_KP_Enter 0xff8d +#define GDK_KP_F1 0xff91 +#define GDK_KP_F2 0xff92 +#define GDK_KP_F3 0xff93 +#define GDK_KP_F4 0xff94 +#define GDK_KP_Home 0xff95 +#define GDK_KP_Left 0xff96 +#define GDK_KP_Up 0xff97 +#define GDK_KP_Right 0xff98 +#define GDK_KP_Down 0xff99 +#define GDK_KP_Prior 0xff9a +#define GDK_KP_Page_Up 0xff9a +#define GDK_KP_Next 0xff9b +#define GDK_KP_Page_Down 0xff9b +#define GDK_KP_End 0xff9c +#define GDK_KP_Begin 0xff9d +#define GDK_KP_Insert 0xff9e +#define GDK_KP_Delete 0xff9f +#define GDK_KP_Equal 0xffbd +#define GDK_KP_Multiply 0xffaa +#define GDK_KP_Add 0xffab +#define GDK_KP_Separator 0xffac +#define GDK_KP_Subtract 0xffad +#define GDK_KP_Decimal 0xffae +#define GDK_KP_Divide 0xffaf +#define GDK_KP_0 0xffb0 +#define GDK_KP_1 0xffb1 +#define GDK_KP_2 0xffb2 +#define GDK_KP_3 0xffb3 +#define GDK_KP_4 0xffb4 +#define GDK_KP_5 0xffb5 +#define GDK_KP_6 0xffb6 +#define GDK_KP_7 0xffb7 +#define GDK_KP_8 0xffb8 +#define GDK_KP_9 0xffb9 +#define GDK_F1 0xffbe +#define GDK_F2 0xffbf +#define GDK_F3 0xffc0 +#define GDK_F4 0xffc1 +#define GDK_F5 0xffc2 +#define GDK_F6 0xffc3 +#define GDK_F7 0xffc4 +#define GDK_F8 0xffc5 +#define GDK_F9 0xffc6 +#define GDK_F10 0xffc7 +#define GDK_F11 0xffc8 +#define GDK_L1 0xffc8 +#define GDK_F12 0xffc9 +#define GDK_L2 0xffc9 +#define GDK_F13 0xffca +#define GDK_L3 0xffca +#define GDK_F14 0xffcb +#define GDK_L4 0xffcb +#define GDK_F15 0xffcc +#define GDK_L5 0xffcc +#define GDK_F16 0xffcd +#define GDK_L6 0xffcd +#define GDK_F17 0xffce +#define GDK_L7 0xffce +#define GDK_F18 0xffcf +#define GDK_L8 0xffcf +#define GDK_F19 0xffd0 +#define GDK_L9 0xffd0 +#define GDK_F20 0xffd1 +#define GDK_L10 0xffd1 +#define GDK_F21 0xffd2 +#define GDK_R1 0xffd2 +#define GDK_F22 0xffd3 +#define GDK_R2 0xffd3 +#define GDK_F23 0xffd4 +#define GDK_R3 0xffd4 +#define GDK_F24 0xffd5 +#define GDK_R4 0xffd5 +#define GDK_F25 0xffd6 +#define GDK_R5 0xffd6 +#define GDK_F26 0xffd7 +#define GDK_R6 0xffd7 +#define GDK_F27 0xffd8 +#define GDK_R7 0xffd8 +#define GDK_F28 0xffd9 +#define GDK_R8 0xffd9 +#define GDK_F29 0xffda +#define GDK_R9 0xffda +#define GDK_F30 0xffdb +#define GDK_R10 0xffdb +#define GDK_F31 0xffdc +#define GDK_R11 0xffdc +#define GDK_F32 0xffdd +#define GDK_R12 0xffdd +#define GDK_F33 0xffde +#define GDK_R13 0xffde +#define GDK_F34 0xffdf +#define GDK_R14 0xffdf +#define GDK_F35 0xffe0 +#define GDK_R15 0xffe0 +#define GDK_Shift_L 0xffe1 +#define GDK_Shift_R 0xffe2 +#define GDK_Control_L 0xffe3 +#define GDK_Control_R 0xffe4 +#define GDK_Caps_Lock 0xffe5 +#define GDK_Shift_Lock 0xffe6 +#define GDK_Meta_L 0xffe7 +#define GDK_Meta_R 0xffe8 +#define GDK_Alt_L 0xffe9 +#define GDK_Alt_R 0xffea +#define GDK_Super_L 0xffeb +#define GDK_Super_R 0xffec +#define GDK_Hyper_L 0xffed +#define GDK_Hyper_R 0xffee +#define GDK_ISO_Lock 0xfe01 +#define GDK_ISO_Level2_Latch 0xfe02 +#define GDK_ISO_Level3_Shift 0xfe03 +#define GDK_ISO_Level3_Latch 0xfe04 +#define GDK_ISO_Level3_Lock 0xfe05 +#define GDK_ISO_Level5_Shift 0xfe11 +#define GDK_ISO_Level5_Latch 0xfe12 +#define GDK_ISO_Level5_Lock 0xfe13 +#define GDK_ISO_Group_Shift 0xff7e +#define GDK_ISO_Group_Latch 0xfe06 +#define GDK_ISO_Group_Lock 0xfe07 +#define GDK_ISO_Next_Group 0xfe08 +#define GDK_ISO_Next_Group_Lock 0xfe09 +#define GDK_ISO_Prev_Group 0xfe0a +#define GDK_ISO_Prev_Group_Lock 0xfe0b +#define GDK_ISO_First_Group 0xfe0c +#define GDK_ISO_First_Group_Lock 0xfe0d +#define GDK_ISO_Last_Group 0xfe0e +#define GDK_ISO_Last_Group_Lock 0xfe0f +#define GDK_ISO_Left_Tab 0xfe20 +#define GDK_ISO_Move_Line_Up 0xfe21 +#define GDK_ISO_Move_Line_Down 0xfe22 +#define GDK_ISO_Partial_Line_Up 0xfe23 +#define GDK_ISO_Partial_Line_Down 0xfe24 +#define GDK_ISO_Partial_Space_Left 0xfe25 +#define GDK_ISO_Partial_Space_Right 0xfe26 +#define GDK_ISO_Set_Margin_Left 0xfe27 +#define GDK_ISO_Set_Margin_Right 0xfe28 +#define GDK_ISO_Release_Margin_Left 0xfe29 +#define GDK_ISO_Release_Margin_Right 0xfe2a +#define GDK_ISO_Release_Both_Margins 0xfe2b +#define GDK_ISO_Fast_Cursor_Left 0xfe2c +#define GDK_ISO_Fast_Cursor_Right 0xfe2d +#define GDK_ISO_Fast_Cursor_Up 0xfe2e +#define GDK_ISO_Fast_Cursor_Down 0xfe2f +#define GDK_ISO_Continuous_Underline 0xfe30 +#define GDK_ISO_Discontinuous_Underline 0xfe31 +#define GDK_ISO_Emphasize 0xfe32 +#define GDK_ISO_Center_Object 0xfe33 +#define GDK_ISO_Enter 0xfe34 +#define GDK_dead_grave 0xfe50 +#define GDK_dead_acute 0xfe51 +#define GDK_dead_circumflex 0xfe52 +#define GDK_dead_tilde 0xfe53 +#define GDK_dead_perispomeni 0xfe53 +#define GDK_dead_macron 0xfe54 +#define GDK_dead_breve 0xfe55 +#define GDK_dead_abovedot 0xfe56 +#define GDK_dead_diaeresis 0xfe57 +#define GDK_dead_abovering 0xfe58 +#define GDK_dead_doubleacute 0xfe59 +#define GDK_dead_caron 0xfe5a +#define GDK_dead_cedilla 0xfe5b +#define GDK_dead_ogonek 0xfe5c +#define GDK_dead_iota 0xfe5d +#define GDK_dead_voiced_sound 0xfe5e +#define GDK_dead_semivoiced_sound 0xfe5f +#define GDK_dead_belowdot 0xfe60 +#define GDK_dead_hook 0xfe61 +#define GDK_dead_horn 0xfe62 +#define GDK_dead_stroke 0xfe63 +#define GDK_dead_abovecomma 0xfe64 +#define GDK_dead_psili 0xfe64 +#define GDK_dead_abovereversedcomma 0xfe65 +#define GDK_dead_dasia 0xfe65 +#define GDK_dead_doublegrave 0xfe66 +#define GDK_dead_belowring 0xfe67 +#define GDK_dead_belowmacron 0xfe68 +#define GDK_dead_belowcircumflex 0xfe69 +#define GDK_dead_belowtilde 0xfe6a +#define GDK_dead_belowbreve 0xfe6b +#define GDK_dead_belowdiaeresis 0xfe6c +#define GDK_dead_invertedbreve 0xfe6d +#define GDK_dead_belowcomma 0xfe6e +#define GDK_dead_currency 0xfe6f +#define GDK_dead_a 0xfe80 +#define GDK_dead_A 0xfe81 +#define GDK_dead_e 0xfe82 +#define GDK_dead_E 0xfe83 +#define GDK_dead_i 0xfe84 +#define GDK_dead_I 0xfe85 +#define GDK_dead_o 0xfe86 +#define GDK_dead_O 0xfe87 +#define GDK_dead_u 0xfe88 +#define GDK_dead_U 0xfe89 +#define GDK_dead_small_schwa 0xfe8a +#define GDK_dead_capital_schwa 0xfe8b +#define GDK_dead_greek 0xfe8c +#define GDK_First_Virtual_Screen 0xfed0 +#define GDK_Prev_Virtual_Screen 0xfed1 +#define GDK_Next_Virtual_Screen 0xfed2 +#define GDK_Last_Virtual_Screen 0xfed4 +#define GDK_Terminate_Server 0xfed5 +#define GDK_AccessX_Enable 0xfe70 +#define GDK_AccessX_Feedback_Enable 0xfe71 +#define GDK_RepeatKeys_Enable 0xfe72 +#define GDK_SlowKeys_Enable 0xfe73 +#define GDK_BounceKeys_Enable 0xfe74 +#define GDK_StickyKeys_Enable 0xfe75 +#define GDK_MouseKeys_Enable 0xfe76 +#define GDK_MouseKeys_Accel_Enable 0xfe77 +#define GDK_Overlay1_Enable 0xfe78 +#define GDK_Overlay2_Enable 0xfe79 +#define GDK_AudibleBell_Enable 0xfe7a +#define GDK_Pointer_Left 0xfee0 +#define GDK_Pointer_Right 0xfee1 +#define GDK_Pointer_Up 0xfee2 +#define GDK_Pointer_Down 0xfee3 +#define GDK_Pointer_UpLeft 0xfee4 +#define GDK_Pointer_UpRight 0xfee5 +#define GDK_Pointer_DownLeft 0xfee6 +#define GDK_Pointer_DownRight 0xfee7 +#define GDK_Pointer_Button_Dflt 0xfee8 +#define GDK_Pointer_Button1 0xfee9 +#define GDK_Pointer_Button2 0xfeea +#define GDK_Pointer_Button3 0xfeeb +#define GDK_Pointer_Button4 0xfeec +#define GDK_Pointer_Button5 0xfeed +#define GDK_Pointer_DblClick_Dflt 0xfeee +#define GDK_Pointer_DblClick1 0xfeef +#define GDK_Pointer_DblClick2 0xfef0 +#define GDK_Pointer_DblClick3 0xfef1 +#define GDK_Pointer_DblClick4 0xfef2 +#define GDK_Pointer_DblClick5 0xfef3 +#define GDK_Pointer_Drag_Dflt 0xfef4 +#define GDK_Pointer_Drag1 0xfef5 +#define GDK_Pointer_Drag2 0xfef6 +#define GDK_Pointer_Drag3 0xfef7 +#define GDK_Pointer_Drag4 0xfef8 +#define GDK_Pointer_Drag5 0xfefd +#define GDK_Pointer_EnableKeys 0xfef9 +#define GDK_Pointer_Accelerate 0xfefa +#define GDK_Pointer_DfltBtnNext 0xfefb +#define GDK_Pointer_DfltBtnPrev 0xfefc +#define GDK_ch 0xfea0 +#define GDK_Ch 0xfea1 +#define GDK_CH 0xfea2 +#define GDK_c_h 0xfea3 +#define GDK_C_h 0xfea4 +#define GDK_C_H 0xfea5 +#define GDK_3270_Duplicate 0xfd01 +#define GDK_3270_FieldMark 0xfd02 +#define GDK_3270_Right2 0xfd03 +#define GDK_3270_Left2 0xfd04 +#define GDK_3270_BackTab 0xfd05 +#define GDK_3270_EraseEOF 0xfd06 +#define GDK_3270_EraseInput 0xfd07 +#define GDK_3270_Reset 0xfd08 +#define GDK_3270_Quit 0xfd09 +#define GDK_3270_PA1 0xfd0a +#define GDK_3270_PA2 0xfd0b +#define GDK_3270_PA3 0xfd0c +#define GDK_3270_Test 0xfd0d +#define GDK_3270_Attn 0xfd0e +#define GDK_3270_CursorBlink 0xfd0f +#define GDK_3270_AltCursor 0xfd10 +#define GDK_3270_KeyClick 0xfd11 +#define GDK_3270_Jump 0xfd12 +#define GDK_3270_Ident 0xfd13 +#define GDK_3270_Rule 0xfd14 +#define GDK_3270_Copy 0xfd15 +#define GDK_3270_Play 0xfd16 +#define GDK_3270_Setup 0xfd17 +#define GDK_3270_Record 0xfd18 +#define GDK_3270_ChangeScreen 0xfd19 +#define GDK_3270_DeleteWord 0xfd1a +#define GDK_3270_ExSelect 0xfd1b +#define GDK_3270_CursorSelect 0xfd1c +#define GDK_3270_PrintScreen 0xfd1d +#define GDK_3270_Enter 0xfd1e +#define GDK_space 0x020 +#define GDK_exclam 0x021 +#define GDK_quotedbl 0x022 +#define GDK_numbersign 0x023 +#define GDK_dollar 0x024 +#define GDK_percent 0x025 +#define GDK_ampersand 0x026 +#define GDK_apostrophe 0x027 +#define GDK_quoteright 0x027 +#define GDK_parenleft 0x028 +#define GDK_parenright 0x029 +#define GDK_asterisk 0x02a +#define GDK_plus 0x02b +#define GDK_comma 0x02c +#define GDK_minus 0x02d +#define GDK_period 0x02e +#define GDK_slash 0x02f +#define GDK_0 0x030 +#define GDK_1 0x031 +#define GDK_2 0x032 +#define GDK_3 0x033 +#define GDK_4 0x034 +#define GDK_5 0x035 +#define GDK_6 0x036 +#define GDK_7 0x037 +#define GDK_8 0x038 +#define GDK_9 0x039 +#define GDK_colon 0x03a +#define GDK_semicolon 0x03b +#define GDK_less 0x03c +#define GDK_equal 0x03d +#define GDK_greater 0x03e +#define GDK_question 0x03f +#define GDK_at 0x040 +#define GDK_A 0x041 +#define GDK_B 0x042 +#define GDK_C 0x043 +#define GDK_D 0x044 +#define GDK_E 0x045 +#define GDK_F 0x046 +#define GDK_G 0x047 +#define GDK_H 0x048 +#define GDK_I 0x049 +#define GDK_J 0x04a +#define GDK_K 0x04b +#define GDK_L 0x04c +#define GDK_M 0x04d +#define GDK_N 0x04e +#define GDK_O 0x04f +#define GDK_P 0x050 +#define GDK_Q 0x051 +#define GDK_R 0x052 +#define GDK_S 0x053 +#define GDK_T 0x054 +#define GDK_U 0x055 +#define GDK_V 0x056 +#define GDK_W 0x057 +#define GDK_X 0x058 +#define GDK_Y 0x059 +#define GDK_Z 0x05a +#define GDK_bracketleft 0x05b +#define GDK_backslash 0x05c +#define GDK_bracketright 0x05d +#define GDK_asciicircum 0x05e +#define GDK_underscore 0x05f +#define GDK_grave 0x060 +#define GDK_quoteleft 0x060 +#define GDK_a 0x061 +#define GDK_b 0x062 +#define GDK_c 0x063 +#define GDK_d 0x064 +#define GDK_e 0x065 +#define GDK_f 0x066 +#define GDK_g 0x067 +#define GDK_h 0x068 +#define GDK_i 0x069 +#define GDK_j 0x06a +#define GDK_k 0x06b +#define GDK_l 0x06c +#define GDK_m 0x06d +#define GDK_n 0x06e +#define GDK_o 0x06f +#define GDK_p 0x070 +#define GDK_q 0x071 +#define GDK_r 0x072 +#define GDK_s 0x073 +#define GDK_t 0x074 +#define GDK_u 0x075 +#define GDK_v 0x076 +#define GDK_w 0x077 +#define GDK_x 0x078 +#define GDK_y 0x079 +#define GDK_z 0x07a +#define GDK_braceleft 0x07b +#define GDK_bar 0x07c +#define GDK_braceright 0x07d +#define GDK_asciitilde 0x07e +#define GDK_nobreakspace 0x0a0 +#define GDK_exclamdown 0x0a1 +#define GDK_cent 0x0a2 +#define GDK_sterling 0x0a3 +#define GDK_currency 0x0a4 +#define GDK_yen 0x0a5 +#define GDK_brokenbar 0x0a6 +#define GDK_section 0x0a7 +#define GDK_diaeresis 0x0a8 +#define GDK_copyright 0x0a9 +#define GDK_ordfeminine 0x0aa +#define GDK_guillemotleft 0x0ab +#define GDK_notsign 0x0ac +#define GDK_hyphen 0x0ad +#define GDK_registered 0x0ae +#define GDK_macron 0x0af +#define GDK_degree 0x0b0 +#define GDK_plusminus 0x0b1 +#define GDK_twosuperior 0x0b2 +#define GDK_threesuperior 0x0b3 +#define GDK_acute 0x0b4 +#define GDK_mu 0x0b5 +#define GDK_paragraph 0x0b6 +#define GDK_periodcentered 0x0b7 +#define GDK_cedilla 0x0b8 +#define GDK_onesuperior 0x0b9 +#define GDK_masculine 0x0ba +#define GDK_guillemotright 0x0bb +#define GDK_onequarter 0x0bc +#define GDK_onehalf 0x0bd +#define GDK_threequarters 0x0be +#define GDK_questiondown 0x0bf +#define GDK_Agrave 0x0c0 +#define GDK_Aacute 0x0c1 +#define GDK_Acircumflex 0x0c2 +#define GDK_Atilde 0x0c3 +#define GDK_Adiaeresis 0x0c4 +#define GDK_Aring 0x0c5 +#define GDK_AE 0x0c6 +#define GDK_Ccedilla 0x0c7 +#define GDK_Egrave 0x0c8 +#define GDK_Eacute 0x0c9 +#define GDK_Ecircumflex 0x0ca +#define GDK_Ediaeresis 0x0cb +#define GDK_Igrave 0x0cc +#define GDK_Iacute 0x0cd +#define GDK_Icircumflex 0x0ce +#define GDK_Idiaeresis 0x0cf +#define GDK_ETH 0x0d0 +#define GDK_Eth 0x0d0 +#define GDK_Ntilde 0x0d1 +#define GDK_Ograve 0x0d2 +#define GDK_Oacute 0x0d3 +#define GDK_Ocircumflex 0x0d4 +#define GDK_Otilde 0x0d5 +#define GDK_Odiaeresis 0x0d6 +#define GDK_multiply 0x0d7 +#define GDK_Oslash 0x0d8 +#define GDK_Ooblique 0x0d8 +#define GDK_Ugrave 0x0d9 +#define GDK_Uacute 0x0da +#define GDK_Ucircumflex 0x0db +#define GDK_Udiaeresis 0x0dc +#define GDK_Yacute 0x0dd +#define GDK_THORN 0x0de +#define GDK_Thorn 0x0de +#define GDK_ssharp 0x0df +#define GDK_agrave 0x0e0 +#define GDK_aacute 0x0e1 +#define GDK_acircumflex 0x0e2 +#define GDK_atilde 0x0e3 +#define GDK_adiaeresis 0x0e4 +#define GDK_aring 0x0e5 +#define GDK_ae 0x0e6 +#define GDK_ccedilla 0x0e7 +#define GDK_egrave 0x0e8 +#define GDK_eacute 0x0e9 +#define GDK_ecircumflex 0x0ea +#define GDK_ediaeresis 0x0eb +#define GDK_igrave 0x0ec +#define GDK_iacute 0x0ed +#define GDK_icircumflex 0x0ee +#define GDK_idiaeresis 0x0ef +#define GDK_eth 0x0f0 +#define GDK_ntilde 0x0f1 +#define GDK_ograve 0x0f2 +#define GDK_oacute 0x0f3 +#define GDK_ocircumflex 0x0f4 +#define GDK_otilde 0x0f5 +#define GDK_odiaeresis 0x0f6 +#define GDK_division 0x0f7 +#define GDK_oslash 0x0f8 +#define GDK_ooblique 0x0f8 +#define GDK_ugrave 0x0f9 +#define GDK_uacute 0x0fa +#define GDK_ucircumflex 0x0fb +#define GDK_udiaeresis 0x0fc +#define GDK_yacute 0x0fd +#define GDK_thorn 0x0fe +#define GDK_ydiaeresis 0x0ff +#define GDK_Aogonek 0x1a1 +#define GDK_breve 0x1a2 +#define GDK_Lstroke 0x1a3 +#define GDK_Lcaron 0x1a5 +#define GDK_Sacute 0x1a6 +#define GDK_Scaron 0x1a9 +#define GDK_Scedilla 0x1aa +#define GDK_Tcaron 0x1ab +#define GDK_Zacute 0x1ac +#define GDK_Zcaron 0x1ae +#define GDK_Zabovedot 0x1af +#define GDK_aogonek 0x1b1 +#define GDK_ogonek 0x1b2 +#define GDK_lstroke 0x1b3 +#define GDK_lcaron 0x1b5 +#define GDK_sacute 0x1b6 +#define GDK_caron 0x1b7 +#define GDK_scaron 0x1b9 +#define GDK_scedilla 0x1ba +#define GDK_tcaron 0x1bb +#define GDK_zacute 0x1bc +#define GDK_doubleacute 0x1bd +#define GDK_zcaron 0x1be +#define GDK_zabovedot 0x1bf +#define GDK_Racute 0x1c0 +#define GDK_Abreve 0x1c3 +#define GDK_Lacute 0x1c5 +#define GDK_Cacute 0x1c6 +#define GDK_Ccaron 0x1c8 +#define GDK_Eogonek 0x1ca +#define GDK_Ecaron 0x1cc +#define GDK_Dcaron 0x1cf +#define GDK_Dstroke 0x1d0 +#define GDK_Nacute 0x1d1 +#define GDK_Ncaron 0x1d2 +#define GDK_Odoubleacute 0x1d5 +#define GDK_Rcaron 0x1d8 +#define GDK_Uring 0x1d9 +#define GDK_Udoubleacute 0x1db +#define GDK_Tcedilla 0x1de +#define GDK_racute 0x1e0 +#define GDK_abreve 0x1e3 +#define GDK_lacute 0x1e5 +#define GDK_cacute 0x1e6 +#define GDK_ccaron 0x1e8 +#define GDK_eogonek 0x1ea +#define GDK_ecaron 0x1ec +#define GDK_dcaron 0x1ef +#define GDK_dstroke 0x1f0 +#define GDK_nacute 0x1f1 +#define GDK_ncaron 0x1f2 +#define GDK_odoubleacute 0x1f5 +#define GDK_rcaron 0x1f8 +#define GDK_uring 0x1f9 +#define GDK_udoubleacute 0x1fb +#define GDK_tcedilla 0x1fe +#define GDK_abovedot 0x1ff +#define GDK_Hstroke 0x2a1 +#define GDK_Hcircumflex 0x2a6 +#define GDK_Iabovedot 0x2a9 +#define GDK_Gbreve 0x2ab +#define GDK_Jcircumflex 0x2ac +#define GDK_hstroke 0x2b1 +#define GDK_hcircumflex 0x2b6 +#define GDK_idotless 0x2b9 +#define GDK_gbreve 0x2bb +#define GDK_jcircumflex 0x2bc +#define GDK_Cabovedot 0x2c5 +#define GDK_Ccircumflex 0x2c6 +#define GDK_Gabovedot 0x2d5 +#define GDK_Gcircumflex 0x2d8 +#define GDK_Ubreve 0x2dd +#define GDK_Scircumflex 0x2de +#define GDK_cabovedot 0x2e5 +#define GDK_ccircumflex 0x2e6 +#define GDK_gabovedot 0x2f5 +#define GDK_gcircumflex 0x2f8 +#define GDK_ubreve 0x2fd +#define GDK_scircumflex 0x2fe +#define GDK_kra 0x3a2 +#define GDK_kappa 0x3a2 +#define GDK_Rcedilla 0x3a3 +#define GDK_Itilde 0x3a5 +#define GDK_Lcedilla 0x3a6 +#define GDK_Emacron 0x3aa +#define GDK_Gcedilla 0x3ab +#define GDK_Tslash 0x3ac +#define GDK_rcedilla 0x3b3 +#define GDK_itilde 0x3b5 +#define GDK_lcedilla 0x3b6 +#define GDK_emacron 0x3ba +#define GDK_gcedilla 0x3bb +#define GDK_tslash 0x3bc +#define GDK_ENG 0x3bd +#define GDK_eng 0x3bf +#define GDK_Amacron 0x3c0 +#define GDK_Iogonek 0x3c7 +#define GDK_Eabovedot 0x3cc +#define GDK_Imacron 0x3cf +#define GDK_Ncedilla 0x3d1 +#define GDK_Omacron 0x3d2 +#define GDK_Kcedilla 0x3d3 +#define GDK_Uogonek 0x3d9 +#define GDK_Utilde 0x3dd +#define GDK_Umacron 0x3de +#define GDK_amacron 0x3e0 +#define GDK_iogonek 0x3e7 +#define GDK_eabovedot 0x3ec +#define GDK_imacron 0x3ef +#define GDK_ncedilla 0x3f1 +#define GDK_omacron 0x3f2 +#define GDK_kcedilla 0x3f3 +#define GDK_uogonek 0x3f9 +#define GDK_utilde 0x3fd +#define GDK_umacron 0x3fe +#define GDK_Wcircumflex 0x1000174 +#define GDK_wcircumflex 0x1000175 +#define GDK_Ycircumflex 0x1000176 +#define GDK_ycircumflex 0x1000177 +#define GDK_Babovedot 0x1001e02 +#define GDK_babovedot 0x1001e03 +#define GDK_Dabovedot 0x1001e0a +#define GDK_dabovedot 0x1001e0b +#define GDK_Fabovedot 0x1001e1e +#define GDK_fabovedot 0x1001e1f +#define GDK_Mabovedot 0x1001e40 +#define GDK_mabovedot 0x1001e41 +#define GDK_Pabovedot 0x1001e56 +#define GDK_pabovedot 0x1001e57 +#define GDK_Sabovedot 0x1001e60 +#define GDK_sabovedot 0x1001e61 +#define GDK_Tabovedot 0x1001e6a +#define GDK_tabovedot 0x1001e6b +#define GDK_Wgrave 0x1001e80 +#define GDK_wgrave 0x1001e81 +#define GDK_Wacute 0x1001e82 +#define GDK_wacute 0x1001e83 +#define GDK_Wdiaeresis 0x1001e84 +#define GDK_wdiaeresis 0x1001e85 +#define GDK_Ygrave 0x1001ef2 +#define GDK_ygrave 0x1001ef3 +#define GDK_OE 0x13bc +#define GDK_oe 0x13bd +#define GDK_Ydiaeresis 0x13be +#define GDK_overline 0x47e +#define GDK_kana_fullstop 0x4a1 +#define GDK_kana_openingbracket 0x4a2 +#define GDK_kana_closingbracket 0x4a3 +#define GDK_kana_comma 0x4a4 +#define GDK_kana_conjunctive 0x4a5 +#define GDK_kana_middledot 0x4a5 +#define GDK_kana_WO 0x4a6 +#define GDK_kana_a 0x4a7 +#define GDK_kana_i 0x4a8 +#define GDK_kana_u 0x4a9 +#define GDK_kana_e 0x4aa +#define GDK_kana_o 0x4ab +#define GDK_kana_ya 0x4ac +#define GDK_kana_yu 0x4ad +#define GDK_kana_yo 0x4ae +#define GDK_kana_tsu 0x4af +#define GDK_kana_tu 0x4af +#define GDK_prolongedsound 0x4b0 +#define GDK_kana_A 0x4b1 +#define GDK_kana_I 0x4b2 +#define GDK_kana_U 0x4b3 +#define GDK_kana_E 0x4b4 +#define GDK_kana_O 0x4b5 +#define GDK_kana_KA 0x4b6 +#define GDK_kana_KI 0x4b7 +#define GDK_kana_KU 0x4b8 +#define GDK_kana_KE 0x4b9 +#define GDK_kana_KO 0x4ba +#define GDK_kana_SA 0x4bb +#define GDK_kana_SHI 0x4bc +#define GDK_kana_SU 0x4bd +#define GDK_kana_SE 0x4be +#define GDK_kana_SO 0x4bf +#define GDK_kana_TA 0x4c0 +#define GDK_kana_CHI 0x4c1 +#define GDK_kana_TI 0x4c1 +#define GDK_kana_TSU 0x4c2 +#define GDK_kana_TU 0x4c2 +#define GDK_kana_TE 0x4c3 +#define GDK_kana_TO 0x4c4 +#define GDK_kana_NA 0x4c5 +#define GDK_kana_NI 0x4c6 +#define GDK_kana_NU 0x4c7 +#define GDK_kana_NE 0x4c8 +#define GDK_kana_NO 0x4c9 +#define GDK_kana_HA 0x4ca +#define GDK_kana_HI 0x4cb +#define GDK_kana_FU 0x4cc +#define GDK_kana_HU 0x4cc +#define GDK_kana_HE 0x4cd +#define GDK_kana_HO 0x4ce +#define GDK_kana_MA 0x4cf +#define GDK_kana_MI 0x4d0 +#define GDK_kana_MU 0x4d1 +#define GDK_kana_ME 0x4d2 +#define GDK_kana_MO 0x4d3 +#define GDK_kana_YA 0x4d4 +#define GDK_kana_YU 0x4d5 +#define GDK_kana_YO 0x4d6 +#define GDK_kana_RA 0x4d7 +#define GDK_kana_RI 0x4d8 +#define GDK_kana_RU 0x4d9 +#define GDK_kana_RE 0x4da +#define GDK_kana_RO 0x4db +#define GDK_kana_WA 0x4dc +#define GDK_kana_N 0x4dd +#define GDK_voicedsound 0x4de +#define GDK_semivoicedsound 0x4df +#define GDK_kana_switch 0xff7e +#define GDK_Farsi_0 0x10006f0 +#define GDK_Farsi_1 0x10006f1 +#define GDK_Farsi_2 0x10006f2 +#define GDK_Farsi_3 0x10006f3 +#define GDK_Farsi_4 0x10006f4 +#define GDK_Farsi_5 0x10006f5 +#define GDK_Farsi_6 0x10006f6 +#define GDK_Farsi_7 0x10006f7 +#define GDK_Farsi_8 0x10006f8 +#define GDK_Farsi_9 0x10006f9 +#define GDK_Arabic_percent 0x100066a +#define GDK_Arabic_superscript_alef 0x1000670 +#define GDK_Arabic_tteh 0x1000679 +#define GDK_Arabic_peh 0x100067e +#define GDK_Arabic_tcheh 0x1000686 +#define GDK_Arabic_ddal 0x1000688 +#define GDK_Arabic_rreh 0x1000691 +#define GDK_Arabic_comma 0x5ac +#define GDK_Arabic_fullstop 0x10006d4 +#define GDK_Arabic_0 0x1000660 +#define GDK_Arabic_1 0x1000661 +#define GDK_Arabic_2 0x1000662 +#define GDK_Arabic_3 0x1000663 +#define GDK_Arabic_4 0x1000664 +#define GDK_Arabic_5 0x1000665 +#define GDK_Arabic_6 0x1000666 +#define GDK_Arabic_7 0x1000667 +#define GDK_Arabic_8 0x1000668 +#define GDK_Arabic_9 0x1000669 +#define GDK_Arabic_semicolon 0x5bb +#define GDK_Arabic_question_mark 0x5bf +#define GDK_Arabic_hamza 0x5c1 +#define GDK_Arabic_maddaonalef 0x5c2 +#define GDK_Arabic_hamzaonalef 0x5c3 +#define GDK_Arabic_hamzaonwaw 0x5c4 +#define GDK_Arabic_hamzaunderalef 0x5c5 +#define GDK_Arabic_hamzaonyeh 0x5c6 +#define GDK_Arabic_alef 0x5c7 +#define GDK_Arabic_beh 0x5c8 +#define GDK_Arabic_tehmarbuta 0x5c9 +#define GDK_Arabic_teh 0x5ca +#define GDK_Arabic_theh 0x5cb +#define GDK_Arabic_jeem 0x5cc +#define GDK_Arabic_hah 0x5cd +#define GDK_Arabic_khah 0x5ce +#define GDK_Arabic_dal 0x5cf +#define GDK_Arabic_thal 0x5d0 +#define GDK_Arabic_ra 0x5d1 +#define GDK_Arabic_zain 0x5d2 +#define GDK_Arabic_seen 0x5d3 +#define GDK_Arabic_sheen 0x5d4 +#define GDK_Arabic_sad 0x5d5 +#define GDK_Arabic_dad 0x5d6 +#define GDK_Arabic_tah 0x5d7 +#define GDK_Arabic_zah 0x5d8 +#define GDK_Arabic_ain 0x5d9 +#define GDK_Arabic_ghain 0x5da +#define GDK_Arabic_tatweel 0x5e0 +#define GDK_Arabic_feh 0x5e1 +#define GDK_Arabic_qaf 0x5e2 +#define GDK_Arabic_kaf 0x5e3 +#define GDK_Arabic_lam 0x5e4 +#define GDK_Arabic_meem 0x5e5 +#define GDK_Arabic_noon 0x5e6 +#define GDK_Arabic_ha 0x5e7 +#define GDK_Arabic_heh 0x5e7 +#define GDK_Arabic_waw 0x5e8 +#define GDK_Arabic_alefmaksura 0x5e9 +#define GDK_Arabic_yeh 0x5ea +#define GDK_Arabic_fathatan 0x5eb +#define GDK_Arabic_dammatan 0x5ec +#define GDK_Arabic_kasratan 0x5ed +#define GDK_Arabic_fatha 0x5ee +#define GDK_Arabic_damma 0x5ef +#define GDK_Arabic_kasra 0x5f0 +#define GDK_Arabic_shadda 0x5f1 +#define GDK_Arabic_sukun 0x5f2 +#define GDK_Arabic_madda_above 0x1000653 +#define GDK_Arabic_hamza_above 0x1000654 +#define GDK_Arabic_hamza_below 0x1000655 +#define GDK_Arabic_jeh 0x1000698 +#define GDK_Arabic_veh 0x10006a4 +#define GDK_Arabic_keheh 0x10006a9 +#define GDK_Arabic_gaf 0x10006af +#define GDK_Arabic_noon_ghunna 0x10006ba +#define GDK_Arabic_heh_doachashmee 0x10006be +#define GDK_Farsi_yeh 0x10006cc +#define GDK_Arabic_farsi_yeh 0x10006cc +#define GDK_Arabic_yeh_baree 0x10006d2 +#define GDK_Arabic_heh_goal 0x10006c1 +#define GDK_Arabic_switch 0xff7e +#define GDK_Cyrillic_GHE_bar 0x1000492 +#define GDK_Cyrillic_ghe_bar 0x1000493 +#define GDK_Cyrillic_ZHE_descender 0x1000496 +#define GDK_Cyrillic_zhe_descender 0x1000497 +#define GDK_Cyrillic_KA_descender 0x100049a +#define GDK_Cyrillic_ka_descender 0x100049b +#define GDK_Cyrillic_KA_vertstroke 0x100049c +#define GDK_Cyrillic_ka_vertstroke 0x100049d +#define GDK_Cyrillic_EN_descender 0x10004a2 +#define GDK_Cyrillic_en_descender 0x10004a3 +#define GDK_Cyrillic_U_straight 0x10004ae +#define GDK_Cyrillic_u_straight 0x10004af +#define GDK_Cyrillic_U_straight_bar 0x10004b0 +#define GDK_Cyrillic_u_straight_bar 0x10004b1 +#define GDK_Cyrillic_HA_descender 0x10004b2 +#define GDK_Cyrillic_ha_descender 0x10004b3 +#define GDK_Cyrillic_CHE_descender 0x10004b6 +#define GDK_Cyrillic_che_descender 0x10004b7 +#define GDK_Cyrillic_CHE_vertstroke 0x10004b8 +#define GDK_Cyrillic_che_vertstroke 0x10004b9 +#define GDK_Cyrillic_SHHA 0x10004ba +#define GDK_Cyrillic_shha 0x10004bb +#define GDK_Cyrillic_SCHWA 0x10004d8 +#define GDK_Cyrillic_schwa 0x10004d9 +#define GDK_Cyrillic_I_macron 0x10004e2 +#define GDK_Cyrillic_i_macron 0x10004e3 +#define GDK_Cyrillic_O_bar 0x10004e8 +#define GDK_Cyrillic_o_bar 0x10004e9 +#define GDK_Cyrillic_U_macron 0x10004ee +#define GDK_Cyrillic_u_macron 0x10004ef +#define GDK_Serbian_dje 0x6a1 +#define GDK_Macedonia_gje 0x6a2 +#define GDK_Cyrillic_io 0x6a3 +#define GDK_Ukrainian_ie 0x6a4 +#define GDK_Ukranian_je 0x6a4 +#define GDK_Macedonia_dse 0x6a5 +#define GDK_Ukrainian_i 0x6a6 +#define GDK_Ukranian_i 0x6a6 +#define GDK_Ukrainian_yi 0x6a7 +#define GDK_Ukranian_yi 0x6a7 +#define GDK_Cyrillic_je 0x6a8 +#define GDK_Serbian_je 0x6a8 +#define GDK_Cyrillic_lje 0x6a9 +#define GDK_Serbian_lje 0x6a9 +#define GDK_Cyrillic_nje 0x6aa +#define GDK_Serbian_nje 0x6aa +#define GDK_Serbian_tshe 0x6ab +#define GDK_Macedonia_kje 0x6ac +#define GDK_Ukrainian_ghe_with_upturn 0x6ad +#define GDK_Byelorussian_shortu 0x6ae +#define GDK_Cyrillic_dzhe 0x6af +#define GDK_Serbian_dze 0x6af +#define GDK_numerosign 0x6b0 +#define GDK_Serbian_DJE 0x6b1 +#define GDK_Macedonia_GJE 0x6b2 +#define GDK_Cyrillic_IO 0x6b3 +#define GDK_Ukrainian_IE 0x6b4 +#define GDK_Ukranian_JE 0x6b4 +#define GDK_Macedonia_DSE 0x6b5 +#define GDK_Ukrainian_I 0x6b6 +#define GDK_Ukranian_I 0x6b6 +#define GDK_Ukrainian_YI 0x6b7 +#define GDK_Ukranian_YI 0x6b7 +#define GDK_Cyrillic_JE 0x6b8 +#define GDK_Serbian_JE 0x6b8 +#define GDK_Cyrillic_LJE 0x6b9 +#define GDK_Serbian_LJE 0x6b9 +#define GDK_Cyrillic_NJE 0x6ba +#define GDK_Serbian_NJE 0x6ba +#define GDK_Serbian_TSHE 0x6bb +#define GDK_Macedonia_KJE 0x6bc +#define GDK_Ukrainian_GHE_WITH_UPTURN 0x6bd +#define GDK_Byelorussian_SHORTU 0x6be +#define GDK_Cyrillic_DZHE 0x6bf +#define GDK_Serbian_DZE 0x6bf +#define GDK_Cyrillic_yu 0x6c0 +#define GDK_Cyrillic_a 0x6c1 +#define GDK_Cyrillic_be 0x6c2 +#define GDK_Cyrillic_tse 0x6c3 +#define GDK_Cyrillic_de 0x6c4 +#define GDK_Cyrillic_ie 0x6c5 +#define GDK_Cyrillic_ef 0x6c6 +#define GDK_Cyrillic_ghe 0x6c7 +#define GDK_Cyrillic_ha 0x6c8 +#define GDK_Cyrillic_i 0x6c9 +#define GDK_Cyrillic_shorti 0x6ca +#define GDK_Cyrillic_ka 0x6cb +#define GDK_Cyrillic_el 0x6cc +#define GDK_Cyrillic_em 0x6cd +#define GDK_Cyrillic_en 0x6ce +#define GDK_Cyrillic_o 0x6cf +#define GDK_Cyrillic_pe 0x6d0 +#define GDK_Cyrillic_ya 0x6d1 +#define GDK_Cyrillic_er 0x6d2 +#define GDK_Cyrillic_es 0x6d3 +#define GDK_Cyrillic_te 0x6d4 +#define GDK_Cyrillic_u 0x6d5 +#define GDK_Cyrillic_zhe 0x6d6 +#define GDK_Cyrillic_ve 0x6d7 +#define GDK_Cyrillic_softsign 0x6d8 +#define GDK_Cyrillic_yeru 0x6d9 +#define GDK_Cyrillic_ze 0x6da +#define GDK_Cyrillic_sha 0x6db +#define GDK_Cyrillic_e 0x6dc +#define GDK_Cyrillic_shcha 0x6dd +#define GDK_Cyrillic_che 0x6de +#define GDK_Cyrillic_hardsign 0x6df +#define GDK_Cyrillic_YU 0x6e0 +#define GDK_Cyrillic_A 0x6e1 +#define GDK_Cyrillic_BE 0x6e2 +#define GDK_Cyrillic_TSE 0x6e3 +#define GDK_Cyrillic_DE 0x6e4 +#define GDK_Cyrillic_IE 0x6e5 +#define GDK_Cyrillic_EF 0x6e6 +#define GDK_Cyrillic_GHE 0x6e7 +#define GDK_Cyrillic_HA 0x6e8 +#define GDK_Cyrillic_I 0x6e9 +#define GDK_Cyrillic_SHORTI 0x6ea +#define GDK_Cyrillic_KA 0x6eb +#define GDK_Cyrillic_EL 0x6ec +#define GDK_Cyrillic_EM 0x6ed +#define GDK_Cyrillic_EN 0x6ee +#define GDK_Cyrillic_O 0x6ef +#define GDK_Cyrillic_PE 0x6f0 +#define GDK_Cyrillic_YA 0x6f1 +#define GDK_Cyrillic_ER 0x6f2 +#define GDK_Cyrillic_ES 0x6f3 +#define GDK_Cyrillic_TE 0x6f4 +#define GDK_Cyrillic_U 0x6f5 +#define GDK_Cyrillic_ZHE 0x6f6 +#define GDK_Cyrillic_VE 0x6f7 +#define GDK_Cyrillic_SOFTSIGN 0x6f8 +#define GDK_Cyrillic_YERU 0x6f9 +#define GDK_Cyrillic_ZE 0x6fa +#define GDK_Cyrillic_SHA 0x6fb +#define GDK_Cyrillic_E 0x6fc +#define GDK_Cyrillic_SHCHA 0x6fd +#define GDK_Cyrillic_CHE 0x6fe +#define GDK_Cyrillic_HARDSIGN 0x6ff +#define GDK_Greek_ALPHAaccent 0x7a1 +#define GDK_Greek_EPSILONaccent 0x7a2 +#define GDK_Greek_ETAaccent 0x7a3 +#define GDK_Greek_IOTAaccent 0x7a4 +#define GDK_Greek_IOTAdieresis 0x7a5 +#define GDK_Greek_IOTAdiaeresis 0x7a5 +#define GDK_Greek_OMICRONaccent 0x7a7 +#define GDK_Greek_UPSILONaccent 0x7a8 +#define GDK_Greek_UPSILONdieresis 0x7a9 +#define GDK_Greek_OMEGAaccent 0x7ab +#define GDK_Greek_accentdieresis 0x7ae +#define GDK_Greek_horizbar 0x7af +#define GDK_Greek_alphaaccent 0x7b1 +#define GDK_Greek_epsilonaccent 0x7b2 +#define GDK_Greek_etaaccent 0x7b3 +#define GDK_Greek_iotaaccent 0x7b4 +#define GDK_Greek_iotadieresis 0x7b5 +#define GDK_Greek_iotaaccentdieresis 0x7b6 +#define GDK_Greek_omicronaccent 0x7b7 +#define GDK_Greek_upsilonaccent 0x7b8 +#define GDK_Greek_upsilondieresis 0x7b9 +#define GDK_Greek_upsilonaccentdieresis 0x7ba +#define GDK_Greek_omegaaccent 0x7bb +#define GDK_Greek_ALPHA 0x7c1 +#define GDK_Greek_BETA 0x7c2 +#define GDK_Greek_GAMMA 0x7c3 +#define GDK_Greek_DELTA 0x7c4 +#define GDK_Greek_EPSILON 0x7c5 +#define GDK_Greek_ZETA 0x7c6 +#define GDK_Greek_ETA 0x7c7 +#define GDK_Greek_THETA 0x7c8 +#define GDK_Greek_IOTA 0x7c9 +#define GDK_Greek_KAPPA 0x7ca +#define GDK_Greek_LAMDA 0x7cb +#define GDK_Greek_LAMBDA 0x7cb +#define GDK_Greek_MU 0x7cc +#define GDK_Greek_NU 0x7cd +#define GDK_Greek_XI 0x7ce +#define GDK_Greek_OMICRON 0x7cf +#define GDK_Greek_PI 0x7d0 +#define GDK_Greek_RHO 0x7d1 +#define GDK_Greek_SIGMA 0x7d2 +#define GDK_Greek_TAU 0x7d4 +#define GDK_Greek_UPSILON 0x7d5 +#define GDK_Greek_PHI 0x7d6 +#define GDK_Greek_CHI 0x7d7 +#define GDK_Greek_PSI 0x7d8 +#define GDK_Greek_OMEGA 0x7d9 +#define GDK_Greek_alpha 0x7e1 +#define GDK_Greek_beta 0x7e2 +#define GDK_Greek_gamma 0x7e3 +#define GDK_Greek_delta 0x7e4 +#define GDK_Greek_epsilon 0x7e5 +#define GDK_Greek_zeta 0x7e6 +#define GDK_Greek_eta 0x7e7 +#define GDK_Greek_theta 0x7e8 +#define GDK_Greek_iota 0x7e9 +#define GDK_Greek_kappa 0x7ea +#define GDK_Greek_lamda 0x7eb +#define GDK_Greek_lambda 0x7eb +#define GDK_Greek_mu 0x7ec +#define GDK_Greek_nu 0x7ed +#define GDK_Greek_xi 0x7ee +#define GDK_Greek_omicron 0x7ef +#define GDK_Greek_pi 0x7f0 +#define GDK_Greek_rho 0x7f1 +#define GDK_Greek_sigma 0x7f2 +#define GDK_Greek_finalsmallsigma 0x7f3 +#define GDK_Greek_tau 0x7f4 +#define GDK_Greek_upsilon 0x7f5 +#define GDK_Greek_phi 0x7f6 +#define GDK_Greek_chi 0x7f7 +#define GDK_Greek_psi 0x7f8 +#define GDK_Greek_omega 0x7f9 +#define GDK_Greek_switch 0xff7e +#define GDK_leftradical 0x8a1 +#define GDK_topleftradical 0x8a2 +#define GDK_horizconnector 0x8a3 +#define GDK_topintegral 0x8a4 +#define GDK_botintegral 0x8a5 +#define GDK_vertconnector 0x8a6 +#define GDK_topleftsqbracket 0x8a7 +#define GDK_botleftsqbracket 0x8a8 +#define GDK_toprightsqbracket 0x8a9 +#define GDK_botrightsqbracket 0x8aa +#define GDK_topleftparens 0x8ab +#define GDK_botleftparens 0x8ac +#define GDK_toprightparens 0x8ad +#define GDK_botrightparens 0x8ae +#define GDK_leftmiddlecurlybrace 0x8af +#define GDK_rightmiddlecurlybrace 0x8b0 +#define GDK_topleftsummation 0x8b1 +#define GDK_botleftsummation 0x8b2 +#define GDK_topvertsummationconnector 0x8b3 +#define GDK_botvertsummationconnector 0x8b4 +#define GDK_toprightsummation 0x8b5 +#define GDK_botrightsummation 0x8b6 +#define GDK_rightmiddlesummation 0x8b7 +#define GDK_lessthanequal 0x8bc +#define GDK_notequal 0x8bd +#define GDK_greaterthanequal 0x8be +#define GDK_integral 0x8bf +#define GDK_therefore 0x8c0 +#define GDK_variation 0x8c1 +#define GDK_infinity 0x8c2 +#define GDK_nabla 0x8c5 +#define GDK_approximate 0x8c8 +#define GDK_similarequal 0x8c9 +#define GDK_ifonlyif 0x8cd +#define GDK_implies 0x8ce +#define GDK_identical 0x8cf +#define GDK_radical 0x8d6 +#define GDK_includedin 0x8da +#define GDK_includes 0x8db +#define GDK_intersection 0x8dc +#define GDK_union 0x8dd +#define GDK_logicaland 0x8de +#define GDK_logicalor 0x8df +#define GDK_partialderivative 0x8ef +#define GDK_function 0x8f6 +#define GDK_leftarrow 0x8fb +#define GDK_uparrow 0x8fc +#define GDK_rightarrow 0x8fd +#define GDK_downarrow 0x8fe +#define GDK_blank 0x9df +#define GDK_soliddiamond 0x9e0 +#define GDK_checkerboard 0x9e1 +#define GDK_ht 0x9e2 +#define GDK_ff 0x9e3 +#define GDK_cr 0x9e4 +#define GDK_lf 0x9e5 +#define GDK_nl 0x9e8 +#define GDK_vt 0x9e9 +#define GDK_lowrightcorner 0x9ea +#define GDK_uprightcorner 0x9eb +#define GDK_upleftcorner 0x9ec +#define GDK_lowleftcorner 0x9ed +#define GDK_crossinglines 0x9ee +#define GDK_horizlinescan1 0x9ef +#define GDK_horizlinescan3 0x9f0 +#define GDK_horizlinescan5 0x9f1 +#define GDK_horizlinescan7 0x9f2 +#define GDK_horizlinescan9 0x9f3 +#define GDK_leftt 0x9f4 +#define GDK_rightt 0x9f5 +#define GDK_bott 0x9f6 +#define GDK_topt 0x9f7 +#define GDK_vertbar 0x9f8 +#define GDK_emspace 0xaa1 +#define GDK_enspace 0xaa2 +#define GDK_em3space 0xaa3 +#define GDK_em4space 0xaa4 +#define GDK_digitspace 0xaa5 +#define GDK_punctspace 0xaa6 +#define GDK_thinspace 0xaa7 +#define GDK_hairspace 0xaa8 +#define GDK_emdash 0xaa9 +#define GDK_endash 0xaaa +#define GDK_signifblank 0xaac +#define GDK_ellipsis 0xaae +#define GDK_doubbaselinedot 0xaaf +#define GDK_onethird 0xab0 +#define GDK_twothirds 0xab1 +#define GDK_onefifth 0xab2 +#define GDK_twofifths 0xab3 +#define GDK_threefifths 0xab4 +#define GDK_fourfifths 0xab5 +#define GDK_onesixth 0xab6 +#define GDK_fivesixths 0xab7 +#define GDK_careof 0xab8 +#define GDK_figdash 0xabb +#define GDK_leftanglebracket 0xabc +#define GDK_decimalpoint 0xabd +#define GDK_rightanglebracket 0xabe +#define GDK_marker 0xabf +#define GDK_oneeighth 0xac3 +#define GDK_threeeighths 0xac4 +#define GDK_fiveeighths 0xac5 +#define GDK_seveneighths 0xac6 +#define GDK_trademark 0xac9 +#define GDK_signaturemark 0xaca +#define GDK_trademarkincircle 0xacb +#define GDK_leftopentriangle 0xacc +#define GDK_rightopentriangle 0xacd +#define GDK_emopencircle 0xace +#define GDK_emopenrectangle 0xacf +#define GDK_leftsinglequotemark 0xad0 +#define GDK_rightsinglequotemark 0xad1 +#define GDK_leftdoublequotemark 0xad2 +#define GDK_rightdoublequotemark 0xad3 +#define GDK_prescription 0xad4 +#define GDK_permille 0xad5 +#define GDK_minutes 0xad6 +#define GDK_seconds 0xad7 +#define GDK_latincross 0xad9 +#define GDK_hexagram 0xada +#define GDK_filledrectbullet 0xadb +#define GDK_filledlefttribullet 0xadc +#define GDK_filledrighttribullet 0xadd +#define GDK_emfilledcircle 0xade +#define GDK_emfilledrect 0xadf +#define GDK_enopencircbullet 0xae0 +#define GDK_enopensquarebullet 0xae1 +#define GDK_openrectbullet 0xae2 +#define GDK_opentribulletup 0xae3 +#define GDK_opentribulletdown 0xae4 +#define GDK_openstar 0xae5 +#define GDK_enfilledcircbullet 0xae6 +#define GDK_enfilledsqbullet 0xae7 +#define GDK_filledtribulletup 0xae8 +#define GDK_filledtribulletdown 0xae9 +#define GDK_leftpointer 0xaea +#define GDK_rightpointer 0xaeb +#define GDK_club 0xaec +#define GDK_diamond 0xaed +#define GDK_heart 0xaee +#define GDK_maltesecross 0xaf0 +#define GDK_dagger 0xaf1 +#define GDK_doubledagger 0xaf2 +#define GDK_checkmark 0xaf3 +#define GDK_ballotcross 0xaf4 +#define GDK_musicalsharp 0xaf5 +#define GDK_musicalflat 0xaf6 +#define GDK_malesymbol 0xaf7 +#define GDK_femalesymbol 0xaf8 +#define GDK_telephone 0xaf9 +#define GDK_telephonerecorder 0xafa +#define GDK_phonographcopyright 0xafb +#define GDK_caret 0xafc +#define GDK_singlelowquotemark 0xafd +#define GDK_doublelowquotemark 0xafe +#define GDK_cursor 0xaff +#define GDK_leftcaret 0xba3 +#define GDK_rightcaret 0xba6 +#define GDK_downcaret 0xba8 +#define GDK_upcaret 0xba9 +#define GDK_overbar 0xbc0 +#define GDK_downtack 0xbc2 +#define GDK_upshoe 0xbc3 +#define GDK_downstile 0xbc4 +#define GDK_underbar 0xbc6 +#define GDK_jot 0xbca +#define GDK_quad 0xbcc +#define GDK_uptack 0xbce +#define GDK_circle 0xbcf +#define GDK_upstile 0xbd3 +#define GDK_downshoe 0xbd6 +#define GDK_rightshoe 0xbd8 +#define GDK_leftshoe 0xbda +#define GDK_lefttack 0xbdc +#define GDK_righttack 0xbfc +#define GDK_hebrew_doublelowline 0xcdf +#define GDK_hebrew_aleph 0xce0 +#define GDK_hebrew_bet 0xce1 +#define GDK_hebrew_beth 0xce1 +#define GDK_hebrew_gimel 0xce2 +#define GDK_hebrew_gimmel 0xce2 +#define GDK_hebrew_dalet 0xce3 +#define GDK_hebrew_daleth 0xce3 +#define GDK_hebrew_he 0xce4 +#define GDK_hebrew_waw 0xce5 +#define GDK_hebrew_zain 0xce6 +#define GDK_hebrew_zayin 0xce6 +#define GDK_hebrew_chet 0xce7 +#define GDK_hebrew_het 0xce7 +#define GDK_hebrew_tet 0xce8 +#define GDK_hebrew_teth 0xce8 +#define GDK_hebrew_yod 0xce9 +#define GDK_hebrew_finalkaph 0xcea +#define GDK_hebrew_kaph 0xceb +#define GDK_hebrew_lamed 0xcec +#define GDK_hebrew_finalmem 0xced +#define GDK_hebrew_mem 0xcee +#define GDK_hebrew_finalnun 0xcef +#define GDK_hebrew_nun 0xcf0 +#define GDK_hebrew_samech 0xcf1 +#define GDK_hebrew_samekh 0xcf1 +#define GDK_hebrew_ayin 0xcf2 +#define GDK_hebrew_finalpe 0xcf3 +#define GDK_hebrew_pe 0xcf4 +#define GDK_hebrew_finalzade 0xcf5 +#define GDK_hebrew_finalzadi 0xcf5 +#define GDK_hebrew_zade 0xcf6 +#define GDK_hebrew_zadi 0xcf6 +#define GDK_hebrew_qoph 0xcf7 +#define GDK_hebrew_kuf 0xcf7 +#define GDK_hebrew_resh 0xcf8 +#define GDK_hebrew_shin 0xcf9 +#define GDK_hebrew_taw 0xcfa +#define GDK_hebrew_taf 0xcfa +#define GDK_Hebrew_switch 0xff7e +#define GDK_Thai_kokai 0xda1 +#define GDK_Thai_khokhai 0xda2 +#define GDK_Thai_khokhuat 0xda3 +#define GDK_Thai_khokhwai 0xda4 +#define GDK_Thai_khokhon 0xda5 +#define GDK_Thai_khorakhang 0xda6 +#define GDK_Thai_ngongu 0xda7 +#define GDK_Thai_chochan 0xda8 +#define GDK_Thai_choching 0xda9 +#define GDK_Thai_chochang 0xdaa +#define GDK_Thai_soso 0xdab +#define GDK_Thai_chochoe 0xdac +#define GDK_Thai_yoying 0xdad +#define GDK_Thai_dochada 0xdae +#define GDK_Thai_topatak 0xdaf +#define GDK_Thai_thothan 0xdb0 +#define GDK_Thai_thonangmontho 0xdb1 +#define GDK_Thai_thophuthao 0xdb2 +#define GDK_Thai_nonen 0xdb3 +#define GDK_Thai_dodek 0xdb4 +#define GDK_Thai_totao 0xdb5 +#define GDK_Thai_thothung 0xdb6 +#define GDK_Thai_thothahan 0xdb7 +#define GDK_Thai_thothong 0xdb8 +#define GDK_Thai_nonu 0xdb9 +#define GDK_Thai_bobaimai 0xdba +#define GDK_Thai_popla 0xdbb +#define GDK_Thai_phophung 0xdbc +#define GDK_Thai_fofa 0xdbd +#define GDK_Thai_phophan 0xdbe +#define GDK_Thai_fofan 0xdbf +#define GDK_Thai_phosamphao 0xdc0 +#define GDK_Thai_moma 0xdc1 +#define GDK_Thai_yoyak 0xdc2 +#define GDK_Thai_rorua 0xdc3 +#define GDK_Thai_ru 0xdc4 +#define GDK_Thai_loling 0xdc5 +#define GDK_Thai_lu 0xdc6 +#define GDK_Thai_wowaen 0xdc7 +#define GDK_Thai_sosala 0xdc8 +#define GDK_Thai_sorusi 0xdc9 +#define GDK_Thai_sosua 0xdca +#define GDK_Thai_hohip 0xdcb +#define GDK_Thai_lochula 0xdcc +#define GDK_Thai_oang 0xdcd +#define GDK_Thai_honokhuk 0xdce +#define GDK_Thai_paiyannoi 0xdcf +#define GDK_Thai_saraa 0xdd0 +#define GDK_Thai_maihanakat 0xdd1 +#define GDK_Thai_saraaa 0xdd2 +#define GDK_Thai_saraam 0xdd3 +#define GDK_Thai_sarai 0xdd4 +#define GDK_Thai_saraii 0xdd5 +#define GDK_Thai_saraue 0xdd6 +#define GDK_Thai_sarauee 0xdd7 +#define GDK_Thai_sarau 0xdd8 +#define GDK_Thai_sarauu 0xdd9 +#define GDK_Thai_phinthu 0xdda +#define GDK_Thai_maihanakat_maitho 0xdde +#define GDK_Thai_baht 0xddf +#define GDK_Thai_sarae 0xde0 +#define GDK_Thai_saraae 0xde1 +#define GDK_Thai_sarao 0xde2 +#define GDK_Thai_saraaimaimuan 0xde3 +#define GDK_Thai_saraaimaimalai 0xde4 +#define GDK_Thai_lakkhangyao 0xde5 +#define GDK_Thai_maiyamok 0xde6 +#define GDK_Thai_maitaikhu 0xde7 +#define GDK_Thai_maiek 0xde8 +#define GDK_Thai_maitho 0xde9 +#define GDK_Thai_maitri 0xdea +#define GDK_Thai_maichattawa 0xdeb +#define GDK_Thai_thanthakhat 0xdec +#define GDK_Thai_nikhahit 0xded +#define GDK_Thai_leksun 0xdf0 +#define GDK_Thai_leknung 0xdf1 +#define GDK_Thai_leksong 0xdf2 +#define GDK_Thai_leksam 0xdf3 +#define GDK_Thai_leksi 0xdf4 +#define GDK_Thai_lekha 0xdf5 +#define GDK_Thai_lekhok 0xdf6 +#define GDK_Thai_lekchet 0xdf7 +#define GDK_Thai_lekpaet 0xdf8 +#define GDK_Thai_lekkao 0xdf9 +#define GDK_Hangul 0xff31 +#define GDK_Hangul_Start 0xff32 +#define GDK_Hangul_End 0xff33 +#define GDK_Hangul_Hanja 0xff34 +#define GDK_Hangul_Jamo 0xff35 +#define GDK_Hangul_Romaja 0xff36 +#define GDK_Hangul_Codeinput 0xff37 +#define GDK_Hangul_Jeonja 0xff38 +#define GDK_Hangul_Banja 0xff39 +#define GDK_Hangul_PreHanja 0xff3a +#define GDK_Hangul_PostHanja 0xff3b +#define GDK_Hangul_SingleCandidate 0xff3c +#define GDK_Hangul_MultipleCandidate 0xff3d +#define GDK_Hangul_PreviousCandidate 0xff3e +#define GDK_Hangul_Special 0xff3f +#define GDK_Hangul_switch 0xff7e +#define GDK_Hangul_Kiyeog 0xea1 +#define GDK_Hangul_SsangKiyeog 0xea2 +#define GDK_Hangul_KiyeogSios 0xea3 +#define GDK_Hangul_Nieun 0xea4 +#define GDK_Hangul_NieunJieuj 0xea5 +#define GDK_Hangul_NieunHieuh 0xea6 +#define GDK_Hangul_Dikeud 0xea7 +#define GDK_Hangul_SsangDikeud 0xea8 +#define GDK_Hangul_Rieul 0xea9 +#define GDK_Hangul_RieulKiyeog 0xeaa +#define GDK_Hangul_RieulMieum 0xeab +#define GDK_Hangul_RieulPieub 0xeac +#define GDK_Hangul_RieulSios 0xead +#define GDK_Hangul_RieulTieut 0xeae +#define GDK_Hangul_RieulPhieuf 0xeaf +#define GDK_Hangul_RieulHieuh 0xeb0 +#define GDK_Hangul_Mieum 0xeb1 +#define GDK_Hangul_Pieub 0xeb2 +#define GDK_Hangul_SsangPieub 0xeb3 +#define GDK_Hangul_PieubSios 0xeb4 +#define GDK_Hangul_Sios 0xeb5 +#define GDK_Hangul_SsangSios 0xeb6 +#define GDK_Hangul_Ieung 0xeb7 +#define GDK_Hangul_Jieuj 0xeb8 +#define GDK_Hangul_SsangJieuj 0xeb9 +#define GDK_Hangul_Cieuc 0xeba +#define GDK_Hangul_Khieuq 0xebb +#define GDK_Hangul_Tieut 0xebc +#define GDK_Hangul_Phieuf 0xebd +#define GDK_Hangul_Hieuh 0xebe +#define GDK_Hangul_A 0xebf +#define GDK_Hangul_AE 0xec0 +#define GDK_Hangul_YA 0xec1 +#define GDK_Hangul_YAE 0xec2 +#define GDK_Hangul_EO 0xec3 +#define GDK_Hangul_E 0xec4 +#define GDK_Hangul_YEO 0xec5 +#define GDK_Hangul_YE 0xec6 +#define GDK_Hangul_O 0xec7 +#define GDK_Hangul_WA 0xec8 +#define GDK_Hangul_WAE 0xec9 +#define GDK_Hangul_OE 0xeca +#define GDK_Hangul_YO 0xecb +#define GDK_Hangul_U 0xecc +#define GDK_Hangul_WEO 0xecd +#define GDK_Hangul_WE 0xece +#define GDK_Hangul_WI 0xecf +#define GDK_Hangul_YU 0xed0 +#define GDK_Hangul_EU 0xed1 +#define GDK_Hangul_YI 0xed2 +#define GDK_Hangul_I 0xed3 +#define GDK_Hangul_J_Kiyeog 0xed4 +#define GDK_Hangul_J_SsangKiyeog 0xed5 +#define GDK_Hangul_J_KiyeogSios 0xed6 +#define GDK_Hangul_J_Nieun 0xed7 +#define GDK_Hangul_J_NieunJieuj 0xed8 +#define GDK_Hangul_J_NieunHieuh 0xed9 +#define GDK_Hangul_J_Dikeud 0xeda +#define GDK_Hangul_J_Rieul 0xedb +#define GDK_Hangul_J_RieulKiyeog 0xedc +#define GDK_Hangul_J_RieulMieum 0xedd +#define GDK_Hangul_J_RieulPieub 0xede +#define GDK_Hangul_J_RieulSios 0xedf +#define GDK_Hangul_J_RieulTieut 0xee0 +#define GDK_Hangul_J_RieulPhieuf 0xee1 +#define GDK_Hangul_J_RieulHieuh 0xee2 +#define GDK_Hangul_J_Mieum 0xee3 +#define GDK_Hangul_J_Pieub 0xee4 +#define GDK_Hangul_J_PieubSios 0xee5 +#define GDK_Hangul_J_Sios 0xee6 +#define GDK_Hangul_J_SsangSios 0xee7 +#define GDK_Hangul_J_Ieung 0xee8 +#define GDK_Hangul_J_Jieuj 0xee9 +#define GDK_Hangul_J_Cieuc 0xeea +#define GDK_Hangul_J_Khieuq 0xeeb +#define GDK_Hangul_J_Tieut 0xeec +#define GDK_Hangul_J_Phieuf 0xeed +#define GDK_Hangul_J_Hieuh 0xeee +#define GDK_Hangul_RieulYeorinHieuh 0xeef +#define GDK_Hangul_SunkyeongeumMieum 0xef0 +#define GDK_Hangul_SunkyeongeumPieub 0xef1 +#define GDK_Hangul_PanSios 0xef2 +#define GDK_Hangul_KkogjiDalrinIeung 0xef3 +#define GDK_Hangul_SunkyeongeumPhieuf 0xef4 +#define GDK_Hangul_YeorinHieuh 0xef5 +#define GDK_Hangul_AraeA 0xef6 +#define GDK_Hangul_AraeAE 0xef7 +#define GDK_Hangul_J_PanSios 0xef8 +#define GDK_Hangul_J_KkogjiDalrinIeung 0xef9 +#define GDK_Hangul_J_YeorinHieuh 0xefa +#define GDK_Korean_Won 0xeff +#define GDK_Armenian_ligature_ew 0x1000587 +#define GDK_Armenian_full_stop 0x1000589 +#define GDK_Armenian_verjaket 0x1000589 +#define GDK_Armenian_separation_mark 0x100055d +#define GDK_Armenian_but 0x100055d +#define GDK_Armenian_hyphen 0x100058a +#define GDK_Armenian_yentamna 0x100058a +#define GDK_Armenian_exclam 0x100055c +#define GDK_Armenian_amanak 0x100055c +#define GDK_Armenian_accent 0x100055b +#define GDK_Armenian_shesht 0x100055b +#define GDK_Armenian_question 0x100055e +#define GDK_Armenian_paruyk 0x100055e +#define GDK_Armenian_AYB 0x1000531 +#define GDK_Armenian_ayb 0x1000561 +#define GDK_Armenian_BEN 0x1000532 +#define GDK_Armenian_ben 0x1000562 +#define GDK_Armenian_GIM 0x1000533 +#define GDK_Armenian_gim 0x1000563 +#define GDK_Armenian_DA 0x1000534 +#define GDK_Armenian_da 0x1000564 +#define GDK_Armenian_YECH 0x1000535 +#define GDK_Armenian_yech 0x1000565 +#define GDK_Armenian_ZA 0x1000536 +#define GDK_Armenian_za 0x1000566 +#define GDK_Armenian_E 0x1000537 +#define GDK_Armenian_e 0x1000567 +#define GDK_Armenian_AT 0x1000538 +#define GDK_Armenian_at 0x1000568 +#define GDK_Armenian_TO 0x1000539 +#define GDK_Armenian_to 0x1000569 +#define GDK_Armenian_ZHE 0x100053a +#define GDK_Armenian_zhe 0x100056a +#define GDK_Armenian_INI 0x100053b +#define GDK_Armenian_ini 0x100056b +#define GDK_Armenian_LYUN 0x100053c +#define GDK_Armenian_lyun 0x100056c +#define GDK_Armenian_KHE 0x100053d +#define GDK_Armenian_khe 0x100056d +#define GDK_Armenian_TSA 0x100053e +#define GDK_Armenian_tsa 0x100056e +#define GDK_Armenian_KEN 0x100053f +#define GDK_Armenian_ken 0x100056f +#define GDK_Armenian_HO 0x1000540 +#define GDK_Armenian_ho 0x1000570 +#define GDK_Armenian_DZA 0x1000541 +#define GDK_Armenian_dza 0x1000571 +#define GDK_Armenian_GHAT 0x1000542 +#define GDK_Armenian_ghat 0x1000572 +#define GDK_Armenian_TCHE 0x1000543 +#define GDK_Armenian_tche 0x1000573 +#define GDK_Armenian_MEN 0x1000544 +#define GDK_Armenian_men 0x1000574 +#define GDK_Armenian_HI 0x1000545 +#define GDK_Armenian_hi 0x1000575 +#define GDK_Armenian_NU 0x1000546 +#define GDK_Armenian_nu 0x1000576 +#define GDK_Armenian_SHA 0x1000547 +#define GDK_Armenian_sha 0x1000577 +#define GDK_Armenian_VO 0x1000548 +#define GDK_Armenian_vo 0x1000578 +#define GDK_Armenian_CHA 0x1000549 +#define GDK_Armenian_cha 0x1000579 +#define GDK_Armenian_PE 0x100054a +#define GDK_Armenian_pe 0x100057a +#define GDK_Armenian_JE 0x100054b +#define GDK_Armenian_je 0x100057b +#define GDK_Armenian_RA 0x100054c +#define GDK_Armenian_ra 0x100057c +#define GDK_Armenian_SE 0x100054d +#define GDK_Armenian_se 0x100057d +#define GDK_Armenian_VEV 0x100054e +#define GDK_Armenian_vev 0x100057e +#define GDK_Armenian_TYUN 0x100054f +#define GDK_Armenian_tyun 0x100057f +#define GDK_Armenian_RE 0x1000550 +#define GDK_Armenian_re 0x1000580 +#define GDK_Armenian_TSO 0x1000551 +#define GDK_Armenian_tso 0x1000581 +#define GDK_Armenian_VYUN 0x1000552 +#define GDK_Armenian_vyun 0x1000582 +#define GDK_Armenian_PYUR 0x1000553 +#define GDK_Armenian_pyur 0x1000583 +#define GDK_Armenian_KE 0x1000554 +#define GDK_Armenian_ke 0x1000584 +#define GDK_Armenian_O 0x1000555 +#define GDK_Armenian_o 0x1000585 +#define GDK_Armenian_FE 0x1000556 +#define GDK_Armenian_fe 0x1000586 +#define GDK_Armenian_apostrophe 0x100055a +#define GDK_Georgian_an 0x10010d0 +#define GDK_Georgian_ban 0x10010d1 +#define GDK_Georgian_gan 0x10010d2 +#define GDK_Georgian_don 0x10010d3 +#define GDK_Georgian_en 0x10010d4 +#define GDK_Georgian_vin 0x10010d5 +#define GDK_Georgian_zen 0x10010d6 +#define GDK_Georgian_tan 0x10010d7 +#define GDK_Georgian_in 0x10010d8 +#define GDK_Georgian_kan 0x10010d9 +#define GDK_Georgian_las 0x10010da +#define GDK_Georgian_man 0x10010db +#define GDK_Georgian_nar 0x10010dc +#define GDK_Georgian_on 0x10010dd +#define GDK_Georgian_par 0x10010de +#define GDK_Georgian_zhar 0x10010df +#define GDK_Georgian_rae 0x10010e0 +#define GDK_Georgian_san 0x10010e1 +#define GDK_Georgian_tar 0x10010e2 +#define GDK_Georgian_un 0x10010e3 +#define GDK_Georgian_phar 0x10010e4 +#define GDK_Georgian_khar 0x10010e5 +#define GDK_Georgian_ghan 0x10010e6 +#define GDK_Georgian_qar 0x10010e7 +#define GDK_Georgian_shin 0x10010e8 +#define GDK_Georgian_chin 0x10010e9 +#define GDK_Georgian_can 0x10010ea +#define GDK_Georgian_jil 0x10010eb +#define GDK_Georgian_cil 0x10010ec +#define GDK_Georgian_char 0x10010ed +#define GDK_Georgian_xan 0x10010ee +#define GDK_Georgian_jhan 0x10010ef +#define GDK_Georgian_hae 0x10010f0 +#define GDK_Georgian_he 0x10010f1 +#define GDK_Georgian_hie 0x10010f2 +#define GDK_Georgian_we 0x10010f3 +#define GDK_Georgian_har 0x10010f4 +#define GDK_Georgian_hoe 0x10010f5 +#define GDK_Georgian_fi 0x10010f6 +#define GDK_Xabovedot 0x1001e8a +#define GDK_Ibreve 0x100012c +#define GDK_Zstroke 0x10001b5 +#define GDK_Gcaron 0x10001e6 +#define GDK_Ocaron 0x10001d1 +#define GDK_Obarred 0x100019f +#define GDK_xabovedot 0x1001e8b +#define GDK_ibreve 0x100012d +#define GDK_zstroke 0x10001b6 +#define GDK_gcaron 0x10001e7 +#define GDK_ocaron 0x10001d2 +#define GDK_obarred 0x1000275 +#define GDK_SCHWA 0x100018f +#define GDK_schwa 0x1000259 +#define GDK_EZH 0x10001b7 +#define GDK_ezh 0x1000292 +#define GDK_Lbelowdot 0x1001e36 +#define GDK_lbelowdot 0x1001e37 +#define GDK_Abelowdot 0x1001ea0 +#define GDK_abelowdot 0x1001ea1 +#define GDK_Ahook 0x1001ea2 +#define GDK_ahook 0x1001ea3 +#define GDK_Acircumflexacute 0x1001ea4 +#define GDK_acircumflexacute 0x1001ea5 +#define GDK_Acircumflexgrave 0x1001ea6 +#define GDK_acircumflexgrave 0x1001ea7 +#define GDK_Acircumflexhook 0x1001ea8 +#define GDK_acircumflexhook 0x1001ea9 +#define GDK_Acircumflextilde 0x1001eaa +#define GDK_acircumflextilde 0x1001eab +#define GDK_Acircumflexbelowdot 0x1001eac +#define GDK_acircumflexbelowdot 0x1001ead +#define GDK_Abreveacute 0x1001eae +#define GDK_abreveacute 0x1001eaf +#define GDK_Abrevegrave 0x1001eb0 +#define GDK_abrevegrave 0x1001eb1 +#define GDK_Abrevehook 0x1001eb2 +#define GDK_abrevehook 0x1001eb3 +#define GDK_Abrevetilde 0x1001eb4 +#define GDK_abrevetilde 0x1001eb5 +#define GDK_Abrevebelowdot 0x1001eb6 +#define GDK_abrevebelowdot 0x1001eb7 +#define GDK_Ebelowdot 0x1001eb8 +#define GDK_ebelowdot 0x1001eb9 +#define GDK_Ehook 0x1001eba +#define GDK_ehook 0x1001ebb +#define GDK_Etilde 0x1001ebc +#define GDK_etilde 0x1001ebd +#define GDK_Ecircumflexacute 0x1001ebe +#define GDK_ecircumflexacute 0x1001ebf +#define GDK_Ecircumflexgrave 0x1001ec0 +#define GDK_ecircumflexgrave 0x1001ec1 +#define GDK_Ecircumflexhook 0x1001ec2 +#define GDK_ecircumflexhook 0x1001ec3 +#define GDK_Ecircumflextilde 0x1001ec4 +#define GDK_ecircumflextilde 0x1001ec5 +#define GDK_Ecircumflexbelowdot 0x1001ec6 +#define GDK_ecircumflexbelowdot 0x1001ec7 +#define GDK_Ihook 0x1001ec8 +#define GDK_ihook 0x1001ec9 +#define GDK_Ibelowdot 0x1001eca +#define GDK_ibelowdot 0x1001ecb +#define GDK_Obelowdot 0x1001ecc +#define GDK_obelowdot 0x1001ecd +#define GDK_Ohook 0x1001ece +#define GDK_ohook 0x1001ecf +#define GDK_Ocircumflexacute 0x1001ed0 +#define GDK_ocircumflexacute 0x1001ed1 +#define GDK_Ocircumflexgrave 0x1001ed2 +#define GDK_ocircumflexgrave 0x1001ed3 +#define GDK_Ocircumflexhook 0x1001ed4 +#define GDK_ocircumflexhook 0x1001ed5 +#define GDK_Ocircumflextilde 0x1001ed6 +#define GDK_ocircumflextilde 0x1001ed7 +#define GDK_Ocircumflexbelowdot 0x1001ed8 +#define GDK_ocircumflexbelowdot 0x1001ed9 +#define GDK_Ohornacute 0x1001eda +#define GDK_ohornacute 0x1001edb +#define GDK_Ohorngrave 0x1001edc +#define GDK_ohorngrave 0x1001edd +#define GDK_Ohornhook 0x1001ede +#define GDK_ohornhook 0x1001edf +#define GDK_Ohorntilde 0x1001ee0 +#define GDK_ohorntilde 0x1001ee1 +#define GDK_Ohornbelowdot 0x1001ee2 +#define GDK_ohornbelowdot 0x1001ee3 +#define GDK_Ubelowdot 0x1001ee4 +#define GDK_ubelowdot 0x1001ee5 +#define GDK_Uhook 0x1001ee6 +#define GDK_uhook 0x1001ee7 +#define GDK_Uhornacute 0x1001ee8 +#define GDK_uhornacute 0x1001ee9 +#define GDK_Uhorngrave 0x1001eea +#define GDK_uhorngrave 0x1001eeb +#define GDK_Uhornhook 0x1001eec +#define GDK_uhornhook 0x1001eed +#define GDK_Uhorntilde 0x1001eee +#define GDK_uhorntilde 0x1001eef +#define GDK_Uhornbelowdot 0x1001ef0 +#define GDK_uhornbelowdot 0x1001ef1 +#define GDK_Ybelowdot 0x1001ef4 +#define GDK_ybelowdot 0x1001ef5 +#define GDK_Yhook 0x1001ef6 +#define GDK_yhook 0x1001ef7 +#define GDK_Ytilde 0x1001ef8 +#define GDK_ytilde 0x1001ef9 +#define GDK_Ohorn 0x10001a0 +#define GDK_ohorn 0x10001a1 +#define GDK_Uhorn 0x10001af +#define GDK_uhorn 0x10001b0 +#define GDK_EcuSign 0x10020a0 +#define GDK_ColonSign 0x10020a1 +#define GDK_CruzeiroSign 0x10020a2 +#define GDK_FFrancSign 0x10020a3 +#define GDK_LiraSign 0x10020a4 +#define GDK_MillSign 0x10020a5 +#define GDK_NairaSign 0x10020a6 +#define GDK_PesetaSign 0x10020a7 +#define GDK_RupeeSign 0x10020a8 +#define GDK_WonSign 0x10020a9 +#define GDK_NewSheqelSign 0x10020aa +#define GDK_DongSign 0x10020ab +#define GDK_EuroSign 0x20ac +#define GDK_zerosuperior 0x1002070 +#define GDK_foursuperior 0x1002074 +#define GDK_fivesuperior 0x1002075 +#define GDK_sixsuperior 0x1002076 +#define GDK_sevensuperior 0x1002077 +#define GDK_eightsuperior 0x1002078 +#define GDK_ninesuperior 0x1002079 +#define GDK_zerosubscript 0x1002080 +#define GDK_onesubscript 0x1002081 +#define GDK_twosubscript 0x1002082 +#define GDK_threesubscript 0x1002083 +#define GDK_foursubscript 0x1002084 +#define GDK_fivesubscript 0x1002085 +#define GDK_sixsubscript 0x1002086 +#define GDK_sevensubscript 0x1002087 +#define GDK_eightsubscript 0x1002088 +#define GDK_ninesubscript 0x1002089 +#define GDK_partdifferential 0x1002202 +#define GDK_emptyset 0x1002205 +#define GDK_elementof 0x1002208 +#define GDK_notelementof 0x1002209 +#define GDK_containsas 0x100220b +#define GDK_squareroot 0x100221a +#define GDK_cuberoot 0x100221b +#define GDK_fourthroot 0x100221c +#define GDK_dintegral 0x100222c +#define GDK_tintegral 0x100222d +#define GDK_because 0x1002235 +#define GDK_approxeq 0x1002248 +#define GDK_notapproxeq 0x1002247 +#define GDK_notidentical 0x1002262 +#define GDK_stricteq 0x1002263 +#define GDK_braille_dot_1 0xfff1 +#define GDK_braille_dot_2 0xfff2 +#define GDK_braille_dot_3 0xfff3 +#define GDK_braille_dot_4 0xfff4 +#define GDK_braille_dot_5 0xfff5 +#define GDK_braille_dot_6 0xfff6 +#define GDK_braille_dot_7 0xfff7 +#define GDK_braille_dot_8 0xfff8 +#define GDK_braille_dot_9 0xfff9 +#define GDK_braille_dot_10 0xfffa +#define GDK_braille_blank 0x1002800 +#define GDK_braille_dots_1 0x1002801 +#define GDK_braille_dots_2 0x1002802 +#define GDK_braille_dots_12 0x1002803 +#define GDK_braille_dots_3 0x1002804 +#define GDK_braille_dots_13 0x1002805 +#define GDK_braille_dots_23 0x1002806 +#define GDK_braille_dots_123 0x1002807 +#define GDK_braille_dots_4 0x1002808 +#define GDK_braille_dots_14 0x1002809 +#define GDK_braille_dots_24 0x100280a +#define GDK_braille_dots_124 0x100280b +#define GDK_braille_dots_34 0x100280c +#define GDK_braille_dots_134 0x100280d +#define GDK_braille_dots_234 0x100280e +#define GDK_braille_dots_1234 0x100280f +#define GDK_braille_dots_5 0x1002810 +#define GDK_braille_dots_15 0x1002811 +#define GDK_braille_dots_25 0x1002812 +#define GDK_braille_dots_125 0x1002813 +#define GDK_braille_dots_35 0x1002814 +#define GDK_braille_dots_135 0x1002815 +#define GDK_braille_dots_235 0x1002816 +#define GDK_braille_dots_1235 0x1002817 +#define GDK_braille_dots_45 0x1002818 +#define GDK_braille_dots_145 0x1002819 +#define GDK_braille_dots_245 0x100281a +#define GDK_braille_dots_1245 0x100281b +#define GDK_braille_dots_345 0x100281c +#define GDK_braille_dots_1345 0x100281d +#define GDK_braille_dots_2345 0x100281e +#define GDK_braille_dots_12345 0x100281f +#define GDK_braille_dots_6 0x1002820 +#define GDK_braille_dots_16 0x1002821 +#define GDK_braille_dots_26 0x1002822 +#define GDK_braille_dots_126 0x1002823 +#define GDK_braille_dots_36 0x1002824 +#define GDK_braille_dots_136 0x1002825 +#define GDK_braille_dots_236 0x1002826 +#define GDK_braille_dots_1236 0x1002827 +#define GDK_braille_dots_46 0x1002828 +#define GDK_braille_dots_146 0x1002829 +#define GDK_braille_dots_246 0x100282a +#define GDK_braille_dots_1246 0x100282b +#define GDK_braille_dots_346 0x100282c +#define GDK_braille_dots_1346 0x100282d +#define GDK_braille_dots_2346 0x100282e +#define GDK_braille_dots_12346 0x100282f +#define GDK_braille_dots_56 0x1002830 +#define GDK_braille_dots_156 0x1002831 +#define GDK_braille_dots_256 0x1002832 +#define GDK_braille_dots_1256 0x1002833 +#define GDK_braille_dots_356 0x1002834 +#define GDK_braille_dots_1356 0x1002835 +#define GDK_braille_dots_2356 0x1002836 +#define GDK_braille_dots_12356 0x1002837 +#define GDK_braille_dots_456 0x1002838 +#define GDK_braille_dots_1456 0x1002839 +#define GDK_braille_dots_2456 0x100283a +#define GDK_braille_dots_12456 0x100283b +#define GDK_braille_dots_3456 0x100283c +#define GDK_braille_dots_13456 0x100283d +#define GDK_braille_dots_23456 0x100283e +#define GDK_braille_dots_123456 0x100283f +#define GDK_braille_dots_7 0x1002840 +#define GDK_braille_dots_17 0x1002841 +#define GDK_braille_dots_27 0x1002842 +#define GDK_braille_dots_127 0x1002843 +#define GDK_braille_dots_37 0x1002844 +#define GDK_braille_dots_137 0x1002845 +#define GDK_braille_dots_237 0x1002846 +#define GDK_braille_dots_1237 0x1002847 +#define GDK_braille_dots_47 0x1002848 +#define GDK_braille_dots_147 0x1002849 +#define GDK_braille_dots_247 0x100284a +#define GDK_braille_dots_1247 0x100284b +#define GDK_braille_dots_347 0x100284c +#define GDK_braille_dots_1347 0x100284d +#define GDK_braille_dots_2347 0x100284e +#define GDK_braille_dots_12347 0x100284f +#define GDK_braille_dots_57 0x1002850 +#define GDK_braille_dots_157 0x1002851 +#define GDK_braille_dots_257 0x1002852 +#define GDK_braille_dots_1257 0x1002853 +#define GDK_braille_dots_357 0x1002854 +#define GDK_braille_dots_1357 0x1002855 +#define GDK_braille_dots_2357 0x1002856 +#define GDK_braille_dots_12357 0x1002857 +#define GDK_braille_dots_457 0x1002858 +#define GDK_braille_dots_1457 0x1002859 +#define GDK_braille_dots_2457 0x100285a +#define GDK_braille_dots_12457 0x100285b +#define GDK_braille_dots_3457 0x100285c +#define GDK_braille_dots_13457 0x100285d +#define GDK_braille_dots_23457 0x100285e +#define GDK_braille_dots_123457 0x100285f +#define GDK_braille_dots_67 0x1002860 +#define GDK_braille_dots_167 0x1002861 +#define GDK_braille_dots_267 0x1002862 +#define GDK_braille_dots_1267 0x1002863 +#define GDK_braille_dots_367 0x1002864 +#define GDK_braille_dots_1367 0x1002865 +#define GDK_braille_dots_2367 0x1002866 +#define GDK_braille_dots_12367 0x1002867 +#define GDK_braille_dots_467 0x1002868 +#define GDK_braille_dots_1467 0x1002869 +#define GDK_braille_dots_2467 0x100286a +#define GDK_braille_dots_12467 0x100286b +#define GDK_braille_dots_3467 0x100286c +#define GDK_braille_dots_13467 0x100286d +#define GDK_braille_dots_23467 0x100286e +#define GDK_braille_dots_123467 0x100286f +#define GDK_braille_dots_567 0x1002870 +#define GDK_braille_dots_1567 0x1002871 +#define GDK_braille_dots_2567 0x1002872 +#define GDK_braille_dots_12567 0x1002873 +#define GDK_braille_dots_3567 0x1002874 +#define GDK_braille_dots_13567 0x1002875 +#define GDK_braille_dots_23567 0x1002876 +#define GDK_braille_dots_123567 0x1002877 +#define GDK_braille_dots_4567 0x1002878 +#define GDK_braille_dots_14567 0x1002879 +#define GDK_braille_dots_24567 0x100287a +#define GDK_braille_dots_124567 0x100287b +#define GDK_braille_dots_34567 0x100287c +#define GDK_braille_dots_134567 0x100287d +#define GDK_braille_dots_234567 0x100287e +#define GDK_braille_dots_1234567 0x100287f +#define GDK_braille_dots_8 0x1002880 +#define GDK_braille_dots_18 0x1002881 +#define GDK_braille_dots_28 0x1002882 +#define GDK_braille_dots_128 0x1002883 +#define GDK_braille_dots_38 0x1002884 +#define GDK_braille_dots_138 0x1002885 +#define GDK_braille_dots_238 0x1002886 +#define GDK_braille_dots_1238 0x1002887 +#define GDK_braille_dots_48 0x1002888 +#define GDK_braille_dots_148 0x1002889 +#define GDK_braille_dots_248 0x100288a +#define GDK_braille_dots_1248 0x100288b +#define GDK_braille_dots_348 0x100288c +#define GDK_braille_dots_1348 0x100288d +#define GDK_braille_dots_2348 0x100288e +#define GDK_braille_dots_12348 0x100288f +#define GDK_braille_dots_58 0x1002890 +#define GDK_braille_dots_158 0x1002891 +#define GDK_braille_dots_258 0x1002892 +#define GDK_braille_dots_1258 0x1002893 +#define GDK_braille_dots_358 0x1002894 +#define GDK_braille_dots_1358 0x1002895 +#define GDK_braille_dots_2358 0x1002896 +#define GDK_braille_dots_12358 0x1002897 +#define GDK_braille_dots_458 0x1002898 +#define GDK_braille_dots_1458 0x1002899 +#define GDK_braille_dots_2458 0x100289a +#define GDK_braille_dots_12458 0x100289b +#define GDK_braille_dots_3458 0x100289c +#define GDK_braille_dots_13458 0x100289d +#define GDK_braille_dots_23458 0x100289e +#define GDK_braille_dots_123458 0x100289f +#define GDK_braille_dots_68 0x10028a0 +#define GDK_braille_dots_168 0x10028a1 +#define GDK_braille_dots_268 0x10028a2 +#define GDK_braille_dots_1268 0x10028a3 +#define GDK_braille_dots_368 0x10028a4 +#define GDK_braille_dots_1368 0x10028a5 +#define GDK_braille_dots_2368 0x10028a6 +#define GDK_braille_dots_12368 0x10028a7 +#define GDK_braille_dots_468 0x10028a8 +#define GDK_braille_dots_1468 0x10028a9 +#define GDK_braille_dots_2468 0x10028aa +#define GDK_braille_dots_12468 0x10028ab +#define GDK_braille_dots_3468 0x10028ac +#define GDK_braille_dots_13468 0x10028ad +#define GDK_braille_dots_23468 0x10028ae +#define GDK_braille_dots_123468 0x10028af +#define GDK_braille_dots_568 0x10028b0 +#define GDK_braille_dots_1568 0x10028b1 +#define GDK_braille_dots_2568 0x10028b2 +#define GDK_braille_dots_12568 0x10028b3 +#define GDK_braille_dots_3568 0x10028b4 +#define GDK_braille_dots_13568 0x10028b5 +#define GDK_braille_dots_23568 0x10028b6 +#define GDK_braille_dots_123568 0x10028b7 +#define GDK_braille_dots_4568 0x10028b8 +#define GDK_braille_dots_14568 0x10028b9 +#define GDK_braille_dots_24568 0x10028ba +#define GDK_braille_dots_124568 0x10028bb +#define GDK_braille_dots_34568 0x10028bc +#define GDK_braille_dots_134568 0x10028bd +#define GDK_braille_dots_234568 0x10028be +#define GDK_braille_dots_1234568 0x10028bf +#define GDK_braille_dots_78 0x10028c0 +#define GDK_braille_dots_178 0x10028c1 +#define GDK_braille_dots_278 0x10028c2 +#define GDK_braille_dots_1278 0x10028c3 +#define GDK_braille_dots_378 0x10028c4 +#define GDK_braille_dots_1378 0x10028c5 +#define GDK_braille_dots_2378 0x10028c6 +#define GDK_braille_dots_12378 0x10028c7 +#define GDK_braille_dots_478 0x10028c8 +#define GDK_braille_dots_1478 0x10028c9 +#define GDK_braille_dots_2478 0x10028ca +#define GDK_braille_dots_12478 0x10028cb +#define GDK_braille_dots_3478 0x10028cc +#define GDK_braille_dots_13478 0x10028cd +#define GDK_braille_dots_23478 0x10028ce +#define GDK_braille_dots_123478 0x10028cf +#define GDK_braille_dots_578 0x10028d0 +#define GDK_braille_dots_1578 0x10028d1 +#define GDK_braille_dots_2578 0x10028d2 +#define GDK_braille_dots_12578 0x10028d3 +#define GDK_braille_dots_3578 0x10028d4 +#define GDK_braille_dots_13578 0x10028d5 +#define GDK_braille_dots_23578 0x10028d6 +#define GDK_braille_dots_123578 0x10028d7 +#define GDK_braille_dots_4578 0x10028d8 +#define GDK_braille_dots_14578 0x10028d9 +#define GDK_braille_dots_24578 0x10028da +#define GDK_braille_dots_124578 0x10028db +#define GDK_braille_dots_34578 0x10028dc +#define GDK_braille_dots_134578 0x10028dd +#define GDK_braille_dots_234578 0x10028de +#define GDK_braille_dots_1234578 0x10028df +#define GDK_braille_dots_678 0x10028e0 +#define GDK_braille_dots_1678 0x10028e1 +#define GDK_braille_dots_2678 0x10028e2 +#define GDK_braille_dots_12678 0x10028e3 +#define GDK_braille_dots_3678 0x10028e4 +#define GDK_braille_dots_13678 0x10028e5 +#define GDK_braille_dots_23678 0x10028e6 +#define GDK_braille_dots_123678 0x10028e7 +#define GDK_braille_dots_4678 0x10028e8 +#define GDK_braille_dots_14678 0x10028e9 +#define GDK_braille_dots_24678 0x10028ea +#define GDK_braille_dots_124678 0x10028eb +#define GDK_braille_dots_34678 0x10028ec +#define GDK_braille_dots_134678 0x10028ed +#define GDK_braille_dots_234678 0x10028ee +#define GDK_braille_dots_1234678 0x10028ef +#define GDK_braille_dots_5678 0x10028f0 +#define GDK_braille_dots_15678 0x10028f1 +#define GDK_braille_dots_25678 0x10028f2 +#define GDK_braille_dots_125678 0x10028f3 +#define GDK_braille_dots_35678 0x10028f4 +#define GDK_braille_dots_135678 0x10028f5 +#define GDK_braille_dots_235678 0x10028f6 +#define GDK_braille_dots_1235678 0x10028f7 +#define GDK_braille_dots_45678 0x10028f8 +#define GDK_braille_dots_145678 0x10028f9 +#define GDK_braille_dots_245678 0x10028fa +#define GDK_braille_dots_1245678 0x10028fb +#define GDK_braille_dots_345678 0x10028fc +#define GDK_braille_dots_1345678 0x10028fd +#define GDK_braille_dots_2345678 0x10028fe +#define GDK_braille_dots_12345678 0x10028ff +#define GDK_Sinh_ng 0x1000d82 +#define GDK_Sinh_h2 0x1000d83 +#define GDK_Sinh_a 0x1000d85 +#define GDK_Sinh_aa 0x1000d86 +#define GDK_Sinh_ae 0x1000d87 +#define GDK_Sinh_aee 0x1000d88 +#define GDK_Sinh_i 0x1000d89 +#define GDK_Sinh_ii 0x1000d8a +#define GDK_Sinh_u 0x1000d8b +#define GDK_Sinh_uu 0x1000d8c +#define GDK_Sinh_ri 0x1000d8d +#define GDK_Sinh_rii 0x1000d8e +#define GDK_Sinh_lu 0x1000d8f +#define GDK_Sinh_luu 0x1000d90 +#define GDK_Sinh_e 0x1000d91 +#define GDK_Sinh_ee 0x1000d92 +#define GDK_Sinh_ai 0x1000d93 +#define GDK_Sinh_o 0x1000d94 +#define GDK_Sinh_oo 0x1000d95 +#define GDK_Sinh_au 0x1000d96 +#define GDK_Sinh_ka 0x1000d9a +#define GDK_Sinh_kha 0x1000d9b +#define GDK_Sinh_ga 0x1000d9c +#define GDK_Sinh_gha 0x1000d9d +#define GDK_Sinh_ng2 0x1000d9e +#define GDK_Sinh_nga 0x1000d9f +#define GDK_Sinh_ca 0x1000da0 +#define GDK_Sinh_cha 0x1000da1 +#define GDK_Sinh_ja 0x1000da2 +#define GDK_Sinh_jha 0x1000da3 +#define GDK_Sinh_nya 0x1000da4 +#define GDK_Sinh_jnya 0x1000da5 +#define GDK_Sinh_nja 0x1000da6 +#define GDK_Sinh_tta 0x1000da7 +#define GDK_Sinh_ttha 0x1000da8 +#define GDK_Sinh_dda 0x1000da9 +#define GDK_Sinh_ddha 0x1000daa +#define GDK_Sinh_nna 0x1000dab +#define GDK_Sinh_ndda 0x1000dac +#define GDK_Sinh_tha 0x1000dad +#define GDK_Sinh_thha 0x1000dae +#define GDK_Sinh_dha 0x1000daf +#define GDK_Sinh_dhha 0x1000db0 +#define GDK_Sinh_na 0x1000db1 +#define GDK_Sinh_ndha 0x1000db3 +#define GDK_Sinh_pa 0x1000db4 +#define GDK_Sinh_pha 0x1000db5 +#define GDK_Sinh_ba 0x1000db6 +#define GDK_Sinh_bha 0x1000db7 +#define GDK_Sinh_ma 0x1000db8 +#define GDK_Sinh_mba 0x1000db9 +#define GDK_Sinh_ya 0x1000dba +#define GDK_Sinh_ra 0x1000dbb +#define GDK_Sinh_la 0x1000dbd +#define GDK_Sinh_va 0x1000dc0 +#define GDK_Sinh_sha 0x1000dc1 +#define GDK_Sinh_ssha 0x1000dc2 +#define GDK_Sinh_sa 0x1000dc3 +#define GDK_Sinh_ha 0x1000dc4 +#define GDK_Sinh_lla 0x1000dc5 +#define GDK_Sinh_fa 0x1000dc6 +#define GDK_Sinh_al 0x1000dca +#define GDK_Sinh_aa2 0x1000dcf +#define GDK_Sinh_ae2 0x1000dd0 +#define GDK_Sinh_aee2 0x1000dd1 +#define GDK_Sinh_i2 0x1000dd2 +#define GDK_Sinh_ii2 0x1000dd3 +#define GDK_Sinh_u2 0x1000dd4 +#define GDK_Sinh_uu2 0x1000dd6 +#define GDK_Sinh_ru2 0x1000dd8 +#define GDK_Sinh_e2 0x1000dd9 +#define GDK_Sinh_ee2 0x1000dda +#define GDK_Sinh_ai2 0x1000ddb +#define GDK_Sinh_o2 0x1000ddc +#define GDK_Sinh_oo2 0x1000ddd +#define GDK_Sinh_au2 0x1000dde +#define GDK_Sinh_lu2 0x1000ddf +#define GDK_Sinh_ruu2 0x1000df2 +#define GDK_Sinh_luu2 0x1000df3 +#define GDK_Sinh_kunddaliya 0x1000df4 +#define GDK_ModeLock 0x1008ff01 +#define GDK_MonBrightnessUp 0x1008ff02 +#define GDK_MonBrightnessDown 0x1008ff03 +#define GDK_KbdLightOnOff 0x1008ff04 +#define GDK_KbdBrightnessUp 0x1008ff05 +#define GDK_KbdBrightnessDown 0x1008ff06 +#define GDK_Standby 0x1008ff10 +#define GDK_AudioLowerVolume 0x1008ff11 +#define GDK_AudioMute 0x1008ff12 +#define GDK_AudioRaiseVolume 0x1008ff13 +#define GDK_AudioPlay 0x1008ff14 +#define GDK_AudioStop 0x1008ff15 +#define GDK_AudioPrev 0x1008ff16 +#define GDK_AudioNext 0x1008ff17 +#define GDK_HomePage 0x1008ff18 +#define GDK_Mail 0x1008ff19 +#define GDK_Start 0x1008ff1a +#define GDK_Search 0x1008ff1b +#define GDK_AudioRecord 0x1008ff1c +#define GDK_Calculator 0x1008ff1d +#define GDK_Memo 0x1008ff1e +#define GDK_ToDoList 0x1008ff1f +#define GDK_Calendar 0x1008ff20 +#define GDK_PowerDown 0x1008ff21 +#define GDK_ContrastAdjust 0x1008ff22 +#define GDK_RockerUp 0x1008ff23 +#define GDK_RockerDown 0x1008ff24 +#define GDK_RockerEnter 0x1008ff25 +#define GDK_Back 0x1008ff26 +#define GDK_Forward 0x1008ff27 +#define GDK_Stop 0x1008ff28 +#define GDK_Refresh 0x1008ff29 +#define GDK_PowerOff 0x1008ff2a +#define GDK_WakeUp 0x1008ff2b +#define GDK_Eject 0x1008ff2c +#define GDK_ScreenSaver 0x1008ff2d +#define GDK_WWW 0x1008ff2e +#define GDK_Sleep 0x1008ff2f +#define GDK_Favorites 0x1008ff30 +#define GDK_AudioPause 0x1008ff31 +#define GDK_AudioMedia 0x1008ff32 +#define GDK_MyComputer 0x1008ff33 +#define GDK_VendorHome 0x1008ff34 +#define GDK_LightBulb 0x1008ff35 +#define GDK_Shop 0x1008ff36 +#define GDK_History 0x1008ff37 +#define GDK_OpenURL 0x1008ff38 +#define GDK_AddFavorite 0x1008ff39 +#define GDK_HotLinks 0x1008ff3a +#define GDK_BrightnessAdjust 0x1008ff3b +#define GDK_Finance 0x1008ff3c +#define GDK_Community 0x1008ff3d +#define GDK_AudioRewind 0x1008ff3e +#define GDK_BackForward 0x1008ff3f +#define GDK_Launch0 0x1008ff40 +#define GDK_Launch1 0x1008ff41 +#define GDK_Launch2 0x1008ff42 +#define GDK_Launch3 0x1008ff43 +#define GDK_Launch4 0x1008ff44 +#define GDK_Launch5 0x1008ff45 +#define GDK_Launch6 0x1008ff46 +#define GDK_Launch7 0x1008ff47 +#define GDK_Launch8 0x1008ff48 +#define GDK_Launch9 0x1008ff49 +#define GDK_LaunchA 0x1008ff4a +#define GDK_LaunchB 0x1008ff4b +#define GDK_LaunchC 0x1008ff4c +#define GDK_LaunchD 0x1008ff4d +#define GDK_LaunchE 0x1008ff4e +#define GDK_LaunchF 0x1008ff4f +#define GDK_ApplicationLeft 0x1008ff50 +#define GDK_ApplicationRight 0x1008ff51 +#define GDK_Book 0x1008ff52 +#define GDK_CD 0x1008ff53 +#define GDK_WindowClear 0x1008ff55 +#define GDK_Close 0x1008ff56 +#define GDK_Copy 0x1008ff57 +#define GDK_Cut 0x1008ff58 +#define GDK_Display 0x1008ff59 +#define GDK_DOS 0x1008ff5a +#define GDK_Documents 0x1008ff5b +#define GDK_Excel 0x1008ff5c +#define GDK_Explorer 0x1008ff5d +#define GDK_Game 0x1008ff5e +#define GDK_Go 0x1008ff5f +#define GDK_iTouch 0x1008ff60 +#define GDK_LogOff 0x1008ff61 +#define GDK_Market 0x1008ff62 +#define GDK_Meeting 0x1008ff63 +#define GDK_MenuKB 0x1008ff65 +#define GDK_MenuPB 0x1008ff66 +#define GDK_MySites 0x1008ff67 +#define GDK_New 0x1008ff68 +#define GDK_News 0x1008ff69 +#define GDK_OfficeHome 0x1008ff6a +#define GDK_Open 0x1008ff6b +#define GDK_Option 0x1008ff6c +#define GDK_Paste 0x1008ff6d +#define GDK_Phone 0x1008ff6e +#define GDK_Reply 0x1008ff72 +#define GDK_Reload 0x1008ff73 +#define GDK_RotateWindows 0x1008ff74 +#define GDK_RotationPB 0x1008ff75 +#define GDK_RotationKB 0x1008ff76 +#define GDK_Save 0x1008ff77 +#define GDK_ScrollUp 0x1008ff78 +#define GDK_ScrollDown 0x1008ff79 +#define GDK_ScrollClick 0x1008ff7a +#define GDK_Send 0x1008ff7b +#define GDK_Spell 0x1008ff7c +#define GDK_SplitScreen 0x1008ff7d +#define GDK_Support 0x1008ff7e +#define GDK_TaskPane 0x1008ff7f +#define GDK_Terminal 0x1008ff80 +#define GDK_Tools 0x1008ff81 +#define GDK_Travel 0x1008ff82 +#define GDK_UserPB 0x1008ff84 +#define GDK_User1KB 0x1008ff85 +#define GDK_User2KB 0x1008ff86 +#define GDK_Video 0x1008ff87 +#define GDK_WheelButton 0x1008ff88 +#define GDK_Word 0x1008ff89 +#define GDK_Xfer 0x1008ff8a +#define GDK_ZoomIn 0x1008ff8b +#define GDK_ZoomOut 0x1008ff8c +#define GDK_Away 0x1008ff8d +#define GDK_Messenger 0x1008ff8e +#define GDK_WebCam 0x1008ff8f +#define GDK_MailForward 0x1008ff90 +#define GDK_Pictures 0x1008ff91 +#define GDK_Music 0x1008ff92 +#define GDK_Battery 0x1008ff93 +#define GDK_Bluetooth 0x1008ff94 +#define GDK_WLAN 0x1008ff95 +#define GDK_UWB 0x1008ff96 +#define GDK_AudioForward 0x1008ff97 +#define GDK_AudioRepeat 0x1008ff98 +#define GDK_AudioRandomPlay 0x1008ff99 +#define GDK_Subtitle 0x1008ff9a +#define GDK_AudioCycleTrack 0x1008ff9b +#define GDK_CycleAngle 0x1008ff9c +#define GDK_FrameBack 0x1008ff9d +#define GDK_FrameForward 0x1008ff9e +#define GDK_Time 0x1008ff9f +#define GDK_SelectButton 0x1008ffa0 +#define GDK_View 0x1008ffa1 +#define GDK_TopMenu 0x1008ffa2 +#define GDK_Red 0x1008ffa3 +#define GDK_Green 0x1008ffa4 +#define GDK_Yellow 0x1008ffa5 +#define GDK_Blue 0x1008ffa6 +#define GDK_Suspend 0x1008ffa7 +#define GDK_Hibernate 0x1008ffa8 +#define GDK_TouchpadToggle 0x1008ffa9 +#define GDK_TouchpadOn 0x1008ffb0 +#define GDK_TouchpadOff 0x1008ffb1 +#define GDK_Switch_VT_1 0x1008fe01 +#define GDK_Switch_VT_2 0x1008fe02 +#define GDK_Switch_VT_3 0x1008fe03 +#define GDK_Switch_VT_4 0x1008fe04 +#define GDK_Switch_VT_5 0x1008fe05 +#define GDK_Switch_VT_6 0x1008fe06 +#define GDK_Switch_VT_7 0x1008fe07 +#define GDK_Switch_VT_8 0x1008fe08 +#define GDK_Switch_VT_9 0x1008fe09 +#define GDK_Switch_VT_10 0x1008fe0a +#define GDK_Switch_VT_11 0x1008fe0b +#define GDK_Switch_VT_12 0x1008fe0c +#define GDK_Ungrab 0x1008fe20 +#define GDK_ClearGrab 0x1008fe21 +#define GDK_Next_VMode 0x1008fe22 +#define GDK_Prev_VMode 0x1008fe23 +#define GDK_LogWindowTree 0x1008fe24 +#define GDK_LogGrabInfo 0x1008fe25 + +#endif /* __GDK_KEYSYMS_COMPAT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkkeysyms.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkkeysyms.h new file mode 100644 index 0000000..b5c2e95 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkkeysyms.h @@ -0,0 +1,2309 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * Copyright (C) 2005, 2006, 2007, 2009 GNOME Foundation + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + + +/* + * File auto-generated from script http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms-update.pl + * using the input file + * http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h + * and + * http://cgit.freedesktop.org/xorg/proto/x11proto/plain/XF86keysym.h + */ + +/* + * Modified by the GTK+ Team and others 1997-2007. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#ifndef __GDK_KEYSYMS_H__ +#define __GDK_KEYSYMS_H__ + + +#define GDK_KEY_VoidSymbol 0xffffff +#define GDK_KEY_BackSpace 0xff08 +#define GDK_KEY_Tab 0xff09 +#define GDK_KEY_Linefeed 0xff0a +#define GDK_KEY_Clear 0xff0b +#define GDK_KEY_Return 0xff0d +#define GDK_KEY_Pause 0xff13 +#define GDK_KEY_Scroll_Lock 0xff14 +#define GDK_KEY_Sys_Req 0xff15 +#define GDK_KEY_Escape 0xff1b +#define GDK_KEY_Delete 0xffff +#define GDK_KEY_Multi_key 0xff20 +#define GDK_KEY_Codeinput 0xff37 +#define GDK_KEY_SingleCandidate 0xff3c +#define GDK_KEY_MultipleCandidate 0xff3d +#define GDK_KEY_PreviousCandidate 0xff3e +#define GDK_KEY_Kanji 0xff21 +#define GDK_KEY_Muhenkan 0xff22 +#define GDK_KEY_Henkan_Mode 0xff23 +#define GDK_KEY_Henkan 0xff23 +#define GDK_KEY_Romaji 0xff24 +#define GDK_KEY_Hiragana 0xff25 +#define GDK_KEY_Katakana 0xff26 +#define GDK_KEY_Hiragana_Katakana 0xff27 +#define GDK_KEY_Zenkaku 0xff28 +#define GDK_KEY_Hankaku 0xff29 +#define GDK_KEY_Zenkaku_Hankaku 0xff2a +#define GDK_KEY_Touroku 0xff2b +#define GDK_KEY_Massyo 0xff2c +#define GDK_KEY_Kana_Lock 0xff2d +#define GDK_KEY_Kana_Shift 0xff2e +#define GDK_KEY_Eisu_Shift 0xff2f +#define GDK_KEY_Eisu_toggle 0xff30 +#define GDK_KEY_Kanji_Bangou 0xff37 +#define GDK_KEY_Zen_Koho 0xff3d +#define GDK_KEY_Mae_Koho 0xff3e +#define GDK_KEY_Home 0xff50 +#define GDK_KEY_Left 0xff51 +#define GDK_KEY_Up 0xff52 +#define GDK_KEY_Right 0xff53 +#define GDK_KEY_Down 0xff54 +#define GDK_KEY_Prior 0xff55 +#define GDK_KEY_Page_Up 0xff55 +#define GDK_KEY_Next 0xff56 +#define GDK_KEY_Page_Down 0xff56 +#define GDK_KEY_End 0xff57 +#define GDK_KEY_Begin 0xff58 +#define GDK_KEY_Select 0xff60 +#define GDK_KEY_Print 0xff61 +#define GDK_KEY_Execute 0xff62 +#define GDK_KEY_Insert 0xff63 +#define GDK_KEY_Undo 0xff65 +#define GDK_KEY_Redo 0xff66 +#define GDK_KEY_Menu 0xff67 +#define GDK_KEY_Find 0xff68 +#define GDK_KEY_Cancel 0xff69 +#define GDK_KEY_Help 0xff6a +#define GDK_KEY_Break 0xff6b +#define GDK_KEY_Mode_switch 0xff7e +#define GDK_KEY_script_switch 0xff7e +#define GDK_KEY_Num_Lock 0xff7f +#define GDK_KEY_KP_Space 0xff80 +#define GDK_KEY_KP_Tab 0xff89 +#define GDK_KEY_KP_Enter 0xff8d +#define GDK_KEY_KP_F1 0xff91 +#define GDK_KEY_KP_F2 0xff92 +#define GDK_KEY_KP_F3 0xff93 +#define GDK_KEY_KP_F4 0xff94 +#define GDK_KEY_KP_Home 0xff95 +#define GDK_KEY_KP_Left 0xff96 +#define GDK_KEY_KP_Up 0xff97 +#define GDK_KEY_KP_Right 0xff98 +#define GDK_KEY_KP_Down 0xff99 +#define GDK_KEY_KP_Prior 0xff9a +#define GDK_KEY_KP_Page_Up 0xff9a +#define GDK_KEY_KP_Next 0xff9b +#define GDK_KEY_KP_Page_Down 0xff9b +#define GDK_KEY_KP_End 0xff9c +#define GDK_KEY_KP_Begin 0xff9d +#define GDK_KEY_KP_Insert 0xff9e +#define GDK_KEY_KP_Delete 0xff9f +#define GDK_KEY_KP_Equal 0xffbd +#define GDK_KEY_KP_Multiply 0xffaa +#define GDK_KEY_KP_Add 0xffab +#define GDK_KEY_KP_Separator 0xffac +#define GDK_KEY_KP_Subtract 0xffad +#define GDK_KEY_KP_Decimal 0xffae +#define GDK_KEY_KP_Divide 0xffaf +#define GDK_KEY_KP_0 0xffb0 +#define GDK_KEY_KP_1 0xffb1 +#define GDK_KEY_KP_2 0xffb2 +#define GDK_KEY_KP_3 0xffb3 +#define GDK_KEY_KP_4 0xffb4 +#define GDK_KEY_KP_5 0xffb5 +#define GDK_KEY_KP_6 0xffb6 +#define GDK_KEY_KP_7 0xffb7 +#define GDK_KEY_KP_8 0xffb8 +#define GDK_KEY_KP_9 0xffb9 +#define GDK_KEY_F1 0xffbe +#define GDK_KEY_F2 0xffbf +#define GDK_KEY_F3 0xffc0 +#define GDK_KEY_F4 0xffc1 +#define GDK_KEY_F5 0xffc2 +#define GDK_KEY_F6 0xffc3 +#define GDK_KEY_F7 0xffc4 +#define GDK_KEY_F8 0xffc5 +#define GDK_KEY_F9 0xffc6 +#define GDK_KEY_F10 0xffc7 +#define GDK_KEY_F11 0xffc8 +#define GDK_KEY_L1 0xffc8 +#define GDK_KEY_F12 0xffc9 +#define GDK_KEY_L2 0xffc9 +#define GDK_KEY_F13 0xffca +#define GDK_KEY_L3 0xffca +#define GDK_KEY_F14 0xffcb +#define GDK_KEY_L4 0xffcb +#define GDK_KEY_F15 0xffcc +#define GDK_KEY_L5 0xffcc +#define GDK_KEY_F16 0xffcd +#define GDK_KEY_L6 0xffcd +#define GDK_KEY_F17 0xffce +#define GDK_KEY_L7 0xffce +#define GDK_KEY_F18 0xffcf +#define GDK_KEY_L8 0xffcf +#define GDK_KEY_F19 0xffd0 +#define GDK_KEY_L9 0xffd0 +#define GDK_KEY_F20 0xffd1 +#define GDK_KEY_L10 0xffd1 +#define GDK_KEY_F21 0xffd2 +#define GDK_KEY_R1 0xffd2 +#define GDK_KEY_F22 0xffd3 +#define GDK_KEY_R2 0xffd3 +#define GDK_KEY_F23 0xffd4 +#define GDK_KEY_R3 0xffd4 +#define GDK_KEY_F24 0xffd5 +#define GDK_KEY_R4 0xffd5 +#define GDK_KEY_F25 0xffd6 +#define GDK_KEY_R5 0xffd6 +#define GDK_KEY_F26 0xffd7 +#define GDK_KEY_R6 0xffd7 +#define GDK_KEY_F27 0xffd8 +#define GDK_KEY_R7 0xffd8 +#define GDK_KEY_F28 0xffd9 +#define GDK_KEY_R8 0xffd9 +#define GDK_KEY_F29 0xffda +#define GDK_KEY_R9 0xffda +#define GDK_KEY_F30 0xffdb +#define GDK_KEY_R10 0xffdb +#define GDK_KEY_F31 0xffdc +#define GDK_KEY_R11 0xffdc +#define GDK_KEY_F32 0xffdd +#define GDK_KEY_R12 0xffdd +#define GDK_KEY_F33 0xffde +#define GDK_KEY_R13 0xffde +#define GDK_KEY_F34 0xffdf +#define GDK_KEY_R14 0xffdf +#define GDK_KEY_F35 0xffe0 +#define GDK_KEY_R15 0xffe0 +#define GDK_KEY_Shift_L 0xffe1 +#define GDK_KEY_Shift_R 0xffe2 +#define GDK_KEY_Control_L 0xffe3 +#define GDK_KEY_Control_R 0xffe4 +#define GDK_KEY_Caps_Lock 0xffe5 +#define GDK_KEY_Shift_Lock 0xffe6 +#define GDK_KEY_Meta_L 0xffe7 +#define GDK_KEY_Meta_R 0xffe8 +#define GDK_KEY_Alt_L 0xffe9 +#define GDK_KEY_Alt_R 0xffea +#define GDK_KEY_Super_L 0xffeb +#define GDK_KEY_Super_R 0xffec +#define GDK_KEY_Hyper_L 0xffed +#define GDK_KEY_Hyper_R 0xffee +#define GDK_KEY_ISO_Lock 0xfe01 +#define GDK_KEY_ISO_Level2_Latch 0xfe02 +#define GDK_KEY_ISO_Level3_Shift 0xfe03 +#define GDK_KEY_ISO_Level3_Latch 0xfe04 +#define GDK_KEY_ISO_Level3_Lock 0xfe05 +#define GDK_KEY_ISO_Level5_Shift 0xfe11 +#define GDK_KEY_ISO_Level5_Latch 0xfe12 +#define GDK_KEY_ISO_Level5_Lock 0xfe13 +#define GDK_KEY_ISO_Group_Shift 0xff7e +#define GDK_KEY_ISO_Group_Latch 0xfe06 +#define GDK_KEY_ISO_Group_Lock 0xfe07 +#define GDK_KEY_ISO_Next_Group 0xfe08 +#define GDK_KEY_ISO_Next_Group_Lock 0xfe09 +#define GDK_KEY_ISO_Prev_Group 0xfe0a +#define GDK_KEY_ISO_Prev_Group_Lock 0xfe0b +#define GDK_KEY_ISO_First_Group 0xfe0c +#define GDK_KEY_ISO_First_Group_Lock 0xfe0d +#define GDK_KEY_ISO_Last_Group 0xfe0e +#define GDK_KEY_ISO_Last_Group_Lock 0xfe0f +#define GDK_KEY_ISO_Left_Tab 0xfe20 +#define GDK_KEY_ISO_Move_Line_Up 0xfe21 +#define GDK_KEY_ISO_Move_Line_Down 0xfe22 +#define GDK_KEY_ISO_Partial_Line_Up 0xfe23 +#define GDK_KEY_ISO_Partial_Line_Down 0xfe24 +#define GDK_KEY_ISO_Partial_Space_Left 0xfe25 +#define GDK_KEY_ISO_Partial_Space_Right 0xfe26 +#define GDK_KEY_ISO_Set_Margin_Left 0xfe27 +#define GDK_KEY_ISO_Set_Margin_Right 0xfe28 +#define GDK_KEY_ISO_Release_Margin_Left 0xfe29 +#define GDK_KEY_ISO_Release_Margin_Right 0xfe2a +#define GDK_KEY_ISO_Release_Both_Margins 0xfe2b +#define GDK_KEY_ISO_Fast_Cursor_Left 0xfe2c +#define GDK_KEY_ISO_Fast_Cursor_Right 0xfe2d +#define GDK_KEY_ISO_Fast_Cursor_Up 0xfe2e +#define GDK_KEY_ISO_Fast_Cursor_Down 0xfe2f +#define GDK_KEY_ISO_Continuous_Underline 0xfe30 +#define GDK_KEY_ISO_Discontinuous_Underline 0xfe31 +#define GDK_KEY_ISO_Emphasize 0xfe32 +#define GDK_KEY_ISO_Center_Object 0xfe33 +#define GDK_KEY_ISO_Enter 0xfe34 +#define GDK_KEY_dead_grave 0xfe50 +#define GDK_KEY_dead_acute 0xfe51 +#define GDK_KEY_dead_circumflex 0xfe52 +#define GDK_KEY_dead_tilde 0xfe53 +#define GDK_KEY_dead_perispomeni 0xfe53 +#define GDK_KEY_dead_macron 0xfe54 +#define GDK_KEY_dead_breve 0xfe55 +#define GDK_KEY_dead_abovedot 0xfe56 +#define GDK_KEY_dead_diaeresis 0xfe57 +#define GDK_KEY_dead_abovering 0xfe58 +#define GDK_KEY_dead_doubleacute 0xfe59 +#define GDK_KEY_dead_caron 0xfe5a +#define GDK_KEY_dead_cedilla 0xfe5b +#define GDK_KEY_dead_ogonek 0xfe5c +#define GDK_KEY_dead_iota 0xfe5d +#define GDK_KEY_dead_voiced_sound 0xfe5e +#define GDK_KEY_dead_semivoiced_sound 0xfe5f +#define GDK_KEY_dead_belowdot 0xfe60 +#define GDK_KEY_dead_hook 0xfe61 +#define GDK_KEY_dead_horn 0xfe62 +#define GDK_KEY_dead_stroke 0xfe63 +#define GDK_KEY_dead_abovecomma 0xfe64 +#define GDK_KEY_dead_psili 0xfe64 +#define GDK_KEY_dead_abovereversedcomma 0xfe65 +#define GDK_KEY_dead_dasia 0xfe65 +#define GDK_KEY_dead_doublegrave 0xfe66 +#define GDK_KEY_dead_belowring 0xfe67 +#define GDK_KEY_dead_belowmacron 0xfe68 +#define GDK_KEY_dead_belowcircumflex 0xfe69 +#define GDK_KEY_dead_belowtilde 0xfe6a +#define GDK_KEY_dead_belowbreve 0xfe6b +#define GDK_KEY_dead_belowdiaeresis 0xfe6c +#define GDK_KEY_dead_invertedbreve 0xfe6d +#define GDK_KEY_dead_belowcomma 0xfe6e +#define GDK_KEY_dead_currency 0xfe6f +#define GDK_KEY_dead_a 0xfe80 +#define GDK_KEY_dead_A 0xfe81 +#define GDK_KEY_dead_e 0xfe82 +#define GDK_KEY_dead_E 0xfe83 +#define GDK_KEY_dead_i 0xfe84 +#define GDK_KEY_dead_I 0xfe85 +#define GDK_KEY_dead_o 0xfe86 +#define GDK_KEY_dead_O 0xfe87 +#define GDK_KEY_dead_u 0xfe88 +#define GDK_KEY_dead_U 0xfe89 +#define GDK_KEY_dead_small_schwa 0xfe8a +#define GDK_KEY_dead_capital_schwa 0xfe8b +#define GDK_KEY_dead_greek 0xfe8c +#define GDK_KEY_First_Virtual_Screen 0xfed0 +#define GDK_KEY_Prev_Virtual_Screen 0xfed1 +#define GDK_KEY_Next_Virtual_Screen 0xfed2 +#define GDK_KEY_Last_Virtual_Screen 0xfed4 +#define GDK_KEY_Terminate_Server 0xfed5 +#define GDK_KEY_AccessX_Enable 0xfe70 +#define GDK_KEY_AccessX_Feedback_Enable 0xfe71 +#define GDK_KEY_RepeatKeys_Enable 0xfe72 +#define GDK_KEY_SlowKeys_Enable 0xfe73 +#define GDK_KEY_BounceKeys_Enable 0xfe74 +#define GDK_KEY_StickyKeys_Enable 0xfe75 +#define GDK_KEY_MouseKeys_Enable 0xfe76 +#define GDK_KEY_MouseKeys_Accel_Enable 0xfe77 +#define GDK_KEY_Overlay1_Enable 0xfe78 +#define GDK_KEY_Overlay2_Enable 0xfe79 +#define GDK_KEY_AudibleBell_Enable 0xfe7a +#define GDK_KEY_Pointer_Left 0xfee0 +#define GDK_KEY_Pointer_Right 0xfee1 +#define GDK_KEY_Pointer_Up 0xfee2 +#define GDK_KEY_Pointer_Down 0xfee3 +#define GDK_KEY_Pointer_UpLeft 0xfee4 +#define GDK_KEY_Pointer_UpRight 0xfee5 +#define GDK_KEY_Pointer_DownLeft 0xfee6 +#define GDK_KEY_Pointer_DownRight 0xfee7 +#define GDK_KEY_Pointer_Button_Dflt 0xfee8 +#define GDK_KEY_Pointer_Button1 0xfee9 +#define GDK_KEY_Pointer_Button2 0xfeea +#define GDK_KEY_Pointer_Button3 0xfeeb +#define GDK_KEY_Pointer_Button4 0xfeec +#define GDK_KEY_Pointer_Button5 0xfeed +#define GDK_KEY_Pointer_DblClick_Dflt 0xfeee +#define GDK_KEY_Pointer_DblClick1 0xfeef +#define GDK_KEY_Pointer_DblClick2 0xfef0 +#define GDK_KEY_Pointer_DblClick3 0xfef1 +#define GDK_KEY_Pointer_DblClick4 0xfef2 +#define GDK_KEY_Pointer_DblClick5 0xfef3 +#define GDK_KEY_Pointer_Drag_Dflt 0xfef4 +#define GDK_KEY_Pointer_Drag1 0xfef5 +#define GDK_KEY_Pointer_Drag2 0xfef6 +#define GDK_KEY_Pointer_Drag3 0xfef7 +#define GDK_KEY_Pointer_Drag4 0xfef8 +#define GDK_KEY_Pointer_Drag5 0xfefd +#define GDK_KEY_Pointer_EnableKeys 0xfef9 +#define GDK_KEY_Pointer_Accelerate 0xfefa +#define GDK_KEY_Pointer_DfltBtnNext 0xfefb +#define GDK_KEY_Pointer_DfltBtnPrev 0xfefc +#define GDK_KEY_ch 0xfea0 +#define GDK_KEY_Ch 0xfea1 +#define GDK_KEY_CH 0xfea2 +#define GDK_KEY_c_h 0xfea3 +#define GDK_KEY_C_h 0xfea4 +#define GDK_KEY_C_H 0xfea5 +#define GDK_KEY_3270_Duplicate 0xfd01 +#define GDK_KEY_3270_FieldMark 0xfd02 +#define GDK_KEY_3270_Right2 0xfd03 +#define GDK_KEY_3270_Left2 0xfd04 +#define GDK_KEY_3270_BackTab 0xfd05 +#define GDK_KEY_3270_EraseEOF 0xfd06 +#define GDK_KEY_3270_EraseInput 0xfd07 +#define GDK_KEY_3270_Reset 0xfd08 +#define GDK_KEY_3270_Quit 0xfd09 +#define GDK_KEY_3270_PA1 0xfd0a +#define GDK_KEY_3270_PA2 0xfd0b +#define GDK_KEY_3270_PA3 0xfd0c +#define GDK_KEY_3270_Test 0xfd0d +#define GDK_KEY_3270_Attn 0xfd0e +#define GDK_KEY_3270_CursorBlink 0xfd0f +#define GDK_KEY_3270_AltCursor 0xfd10 +#define GDK_KEY_3270_KeyClick 0xfd11 +#define GDK_KEY_3270_Jump 0xfd12 +#define GDK_KEY_3270_Ident 0xfd13 +#define GDK_KEY_3270_Rule 0xfd14 +#define GDK_KEY_3270_Copy 0xfd15 +#define GDK_KEY_3270_Play 0xfd16 +#define GDK_KEY_3270_Setup 0xfd17 +#define GDK_KEY_3270_Record 0xfd18 +#define GDK_KEY_3270_ChangeScreen 0xfd19 +#define GDK_KEY_3270_DeleteWord 0xfd1a +#define GDK_KEY_3270_ExSelect 0xfd1b +#define GDK_KEY_3270_CursorSelect 0xfd1c +#define GDK_KEY_3270_PrintScreen 0xfd1d +#define GDK_KEY_3270_Enter 0xfd1e +#define GDK_KEY_space 0x020 +#define GDK_KEY_exclam 0x021 +#define GDK_KEY_quotedbl 0x022 +#define GDK_KEY_numbersign 0x023 +#define GDK_KEY_dollar 0x024 +#define GDK_KEY_percent 0x025 +#define GDK_KEY_ampersand 0x026 +#define GDK_KEY_apostrophe 0x027 +#define GDK_KEY_quoteright 0x027 +#define GDK_KEY_parenleft 0x028 +#define GDK_KEY_parenright 0x029 +#define GDK_KEY_asterisk 0x02a +#define GDK_KEY_plus 0x02b +#define GDK_KEY_comma 0x02c +#define GDK_KEY_minus 0x02d +#define GDK_KEY_period 0x02e +#define GDK_KEY_slash 0x02f +#define GDK_KEY_0 0x030 +#define GDK_KEY_1 0x031 +#define GDK_KEY_2 0x032 +#define GDK_KEY_3 0x033 +#define GDK_KEY_4 0x034 +#define GDK_KEY_5 0x035 +#define GDK_KEY_6 0x036 +#define GDK_KEY_7 0x037 +#define GDK_KEY_8 0x038 +#define GDK_KEY_9 0x039 +#define GDK_KEY_colon 0x03a +#define GDK_KEY_semicolon 0x03b +#define GDK_KEY_less 0x03c +#define GDK_KEY_equal 0x03d +#define GDK_KEY_greater 0x03e +#define GDK_KEY_question 0x03f +#define GDK_KEY_at 0x040 +#define GDK_KEY_A 0x041 +#define GDK_KEY_B 0x042 +#define GDK_KEY_C 0x043 +#define GDK_KEY_D 0x044 +#define GDK_KEY_E 0x045 +#define GDK_KEY_F 0x046 +#define GDK_KEY_G 0x047 +#define GDK_KEY_H 0x048 +#define GDK_KEY_I 0x049 +#define GDK_KEY_J 0x04a +#define GDK_KEY_K 0x04b +#define GDK_KEY_L 0x04c +#define GDK_KEY_M 0x04d +#define GDK_KEY_N 0x04e +#define GDK_KEY_O 0x04f +#define GDK_KEY_P 0x050 +#define GDK_KEY_Q 0x051 +#define GDK_KEY_R 0x052 +#define GDK_KEY_S 0x053 +#define GDK_KEY_T 0x054 +#define GDK_KEY_U 0x055 +#define GDK_KEY_V 0x056 +#define GDK_KEY_W 0x057 +#define GDK_KEY_X 0x058 +#define GDK_KEY_Y 0x059 +#define GDK_KEY_Z 0x05a +#define GDK_KEY_bracketleft 0x05b +#define GDK_KEY_backslash 0x05c +#define GDK_KEY_bracketright 0x05d +#define GDK_KEY_asciicircum 0x05e +#define GDK_KEY_underscore 0x05f +#define GDK_KEY_grave 0x060 +#define GDK_KEY_quoteleft 0x060 +#define GDK_KEY_a 0x061 +#define GDK_KEY_b 0x062 +#define GDK_KEY_c 0x063 +#define GDK_KEY_d 0x064 +#define GDK_KEY_e 0x065 +#define GDK_KEY_f 0x066 +#define GDK_KEY_g 0x067 +#define GDK_KEY_h 0x068 +#define GDK_KEY_i 0x069 +#define GDK_KEY_j 0x06a +#define GDK_KEY_k 0x06b +#define GDK_KEY_l 0x06c +#define GDK_KEY_m 0x06d +#define GDK_KEY_n 0x06e +#define GDK_KEY_o 0x06f +#define GDK_KEY_p 0x070 +#define GDK_KEY_q 0x071 +#define GDK_KEY_r 0x072 +#define GDK_KEY_s 0x073 +#define GDK_KEY_t 0x074 +#define GDK_KEY_u 0x075 +#define GDK_KEY_v 0x076 +#define GDK_KEY_w 0x077 +#define GDK_KEY_x 0x078 +#define GDK_KEY_y 0x079 +#define GDK_KEY_z 0x07a +#define GDK_KEY_braceleft 0x07b +#define GDK_KEY_bar 0x07c +#define GDK_KEY_braceright 0x07d +#define GDK_KEY_asciitilde 0x07e +#define GDK_KEY_nobreakspace 0x0a0 +#define GDK_KEY_exclamdown 0x0a1 +#define GDK_KEY_cent 0x0a2 +#define GDK_KEY_sterling 0x0a3 +#define GDK_KEY_currency 0x0a4 +#define GDK_KEY_yen 0x0a5 +#define GDK_KEY_brokenbar 0x0a6 +#define GDK_KEY_section 0x0a7 +#define GDK_KEY_diaeresis 0x0a8 +#define GDK_KEY_copyright 0x0a9 +#define GDK_KEY_ordfeminine 0x0aa +#define GDK_KEY_guillemotleft 0x0ab +#define GDK_KEY_notsign 0x0ac +#define GDK_KEY_hyphen 0x0ad +#define GDK_KEY_registered 0x0ae +#define GDK_KEY_macron 0x0af +#define GDK_KEY_degree 0x0b0 +#define GDK_KEY_plusminus 0x0b1 +#define GDK_KEY_twosuperior 0x0b2 +#define GDK_KEY_threesuperior 0x0b3 +#define GDK_KEY_acute 0x0b4 +#define GDK_KEY_mu 0x0b5 +#define GDK_KEY_paragraph 0x0b6 +#define GDK_KEY_periodcentered 0x0b7 +#define GDK_KEY_cedilla 0x0b8 +#define GDK_KEY_onesuperior 0x0b9 +#define GDK_KEY_masculine 0x0ba +#define GDK_KEY_guillemotright 0x0bb +#define GDK_KEY_onequarter 0x0bc +#define GDK_KEY_onehalf 0x0bd +#define GDK_KEY_threequarters 0x0be +#define GDK_KEY_questiondown 0x0bf +#define GDK_KEY_Agrave 0x0c0 +#define GDK_KEY_Aacute 0x0c1 +#define GDK_KEY_Acircumflex 0x0c2 +#define GDK_KEY_Atilde 0x0c3 +#define GDK_KEY_Adiaeresis 0x0c4 +#define GDK_KEY_Aring 0x0c5 +#define GDK_KEY_AE 0x0c6 +#define GDK_KEY_Ccedilla 0x0c7 +#define GDK_KEY_Egrave 0x0c8 +#define GDK_KEY_Eacute 0x0c9 +#define GDK_KEY_Ecircumflex 0x0ca +#define GDK_KEY_Ediaeresis 0x0cb +#define GDK_KEY_Igrave 0x0cc +#define GDK_KEY_Iacute 0x0cd +#define GDK_KEY_Icircumflex 0x0ce +#define GDK_KEY_Idiaeresis 0x0cf +#define GDK_KEY_ETH 0x0d0 +#define GDK_KEY_Eth 0x0d0 +#define GDK_KEY_Ntilde 0x0d1 +#define GDK_KEY_Ograve 0x0d2 +#define GDK_KEY_Oacute 0x0d3 +#define GDK_KEY_Ocircumflex 0x0d4 +#define GDK_KEY_Otilde 0x0d5 +#define GDK_KEY_Odiaeresis 0x0d6 +#define GDK_KEY_multiply 0x0d7 +#define GDK_KEY_Oslash 0x0d8 +#define GDK_KEY_Ooblique 0x0d8 +#define GDK_KEY_Ugrave 0x0d9 +#define GDK_KEY_Uacute 0x0da +#define GDK_KEY_Ucircumflex 0x0db +#define GDK_KEY_Udiaeresis 0x0dc +#define GDK_KEY_Yacute 0x0dd +#define GDK_KEY_THORN 0x0de +#define GDK_KEY_Thorn 0x0de +#define GDK_KEY_ssharp 0x0df +#define GDK_KEY_agrave 0x0e0 +#define GDK_KEY_aacute 0x0e1 +#define GDK_KEY_acircumflex 0x0e2 +#define GDK_KEY_atilde 0x0e3 +#define GDK_KEY_adiaeresis 0x0e4 +#define GDK_KEY_aring 0x0e5 +#define GDK_KEY_ae 0x0e6 +#define GDK_KEY_ccedilla 0x0e7 +#define GDK_KEY_egrave 0x0e8 +#define GDK_KEY_eacute 0x0e9 +#define GDK_KEY_ecircumflex 0x0ea +#define GDK_KEY_ediaeresis 0x0eb +#define GDK_KEY_igrave 0x0ec +#define GDK_KEY_iacute 0x0ed +#define GDK_KEY_icircumflex 0x0ee +#define GDK_KEY_idiaeresis 0x0ef +#define GDK_KEY_eth 0x0f0 +#define GDK_KEY_ntilde 0x0f1 +#define GDK_KEY_ograve 0x0f2 +#define GDK_KEY_oacute 0x0f3 +#define GDK_KEY_ocircumflex 0x0f4 +#define GDK_KEY_otilde 0x0f5 +#define GDK_KEY_odiaeresis 0x0f6 +#define GDK_KEY_division 0x0f7 +#define GDK_KEY_oslash 0x0f8 +#define GDK_KEY_ooblique 0x0f8 +#define GDK_KEY_ugrave 0x0f9 +#define GDK_KEY_uacute 0x0fa +#define GDK_KEY_ucircumflex 0x0fb +#define GDK_KEY_udiaeresis 0x0fc +#define GDK_KEY_yacute 0x0fd +#define GDK_KEY_thorn 0x0fe +#define GDK_KEY_ydiaeresis 0x0ff +#define GDK_KEY_Aogonek 0x1a1 +#define GDK_KEY_breve 0x1a2 +#define GDK_KEY_Lstroke 0x1a3 +#define GDK_KEY_Lcaron 0x1a5 +#define GDK_KEY_Sacute 0x1a6 +#define GDK_KEY_Scaron 0x1a9 +#define GDK_KEY_Scedilla 0x1aa +#define GDK_KEY_Tcaron 0x1ab +#define GDK_KEY_Zacute 0x1ac +#define GDK_KEY_Zcaron 0x1ae +#define GDK_KEY_Zabovedot 0x1af +#define GDK_KEY_aogonek 0x1b1 +#define GDK_KEY_ogonek 0x1b2 +#define GDK_KEY_lstroke 0x1b3 +#define GDK_KEY_lcaron 0x1b5 +#define GDK_KEY_sacute 0x1b6 +#define GDK_KEY_caron 0x1b7 +#define GDK_KEY_scaron 0x1b9 +#define GDK_KEY_scedilla 0x1ba +#define GDK_KEY_tcaron 0x1bb +#define GDK_KEY_zacute 0x1bc +#define GDK_KEY_doubleacute 0x1bd +#define GDK_KEY_zcaron 0x1be +#define GDK_KEY_zabovedot 0x1bf +#define GDK_KEY_Racute 0x1c0 +#define GDK_KEY_Abreve 0x1c3 +#define GDK_KEY_Lacute 0x1c5 +#define GDK_KEY_Cacute 0x1c6 +#define GDK_KEY_Ccaron 0x1c8 +#define GDK_KEY_Eogonek 0x1ca +#define GDK_KEY_Ecaron 0x1cc +#define GDK_KEY_Dcaron 0x1cf +#define GDK_KEY_Dstroke 0x1d0 +#define GDK_KEY_Nacute 0x1d1 +#define GDK_KEY_Ncaron 0x1d2 +#define GDK_KEY_Odoubleacute 0x1d5 +#define GDK_KEY_Rcaron 0x1d8 +#define GDK_KEY_Uring 0x1d9 +#define GDK_KEY_Udoubleacute 0x1db +#define GDK_KEY_Tcedilla 0x1de +#define GDK_KEY_racute 0x1e0 +#define GDK_KEY_abreve 0x1e3 +#define GDK_KEY_lacute 0x1e5 +#define GDK_KEY_cacute 0x1e6 +#define GDK_KEY_ccaron 0x1e8 +#define GDK_KEY_eogonek 0x1ea +#define GDK_KEY_ecaron 0x1ec +#define GDK_KEY_dcaron 0x1ef +#define GDK_KEY_dstroke 0x1f0 +#define GDK_KEY_nacute 0x1f1 +#define GDK_KEY_ncaron 0x1f2 +#define GDK_KEY_odoubleacute 0x1f5 +#define GDK_KEY_rcaron 0x1f8 +#define GDK_KEY_uring 0x1f9 +#define GDK_KEY_udoubleacute 0x1fb +#define GDK_KEY_tcedilla 0x1fe +#define GDK_KEY_abovedot 0x1ff +#define GDK_KEY_Hstroke 0x2a1 +#define GDK_KEY_Hcircumflex 0x2a6 +#define GDK_KEY_Iabovedot 0x2a9 +#define GDK_KEY_Gbreve 0x2ab +#define GDK_KEY_Jcircumflex 0x2ac +#define GDK_KEY_hstroke 0x2b1 +#define GDK_KEY_hcircumflex 0x2b6 +#define GDK_KEY_idotless 0x2b9 +#define GDK_KEY_gbreve 0x2bb +#define GDK_KEY_jcircumflex 0x2bc +#define GDK_KEY_Cabovedot 0x2c5 +#define GDK_KEY_Ccircumflex 0x2c6 +#define GDK_KEY_Gabovedot 0x2d5 +#define GDK_KEY_Gcircumflex 0x2d8 +#define GDK_KEY_Ubreve 0x2dd +#define GDK_KEY_Scircumflex 0x2de +#define GDK_KEY_cabovedot 0x2e5 +#define GDK_KEY_ccircumflex 0x2e6 +#define GDK_KEY_gabovedot 0x2f5 +#define GDK_KEY_gcircumflex 0x2f8 +#define GDK_KEY_ubreve 0x2fd +#define GDK_KEY_scircumflex 0x2fe +#define GDK_KEY_kra 0x3a2 +#define GDK_KEY_kappa 0x3a2 +#define GDK_KEY_Rcedilla 0x3a3 +#define GDK_KEY_Itilde 0x3a5 +#define GDK_KEY_Lcedilla 0x3a6 +#define GDK_KEY_Emacron 0x3aa +#define GDK_KEY_Gcedilla 0x3ab +#define GDK_KEY_Tslash 0x3ac +#define GDK_KEY_rcedilla 0x3b3 +#define GDK_KEY_itilde 0x3b5 +#define GDK_KEY_lcedilla 0x3b6 +#define GDK_KEY_emacron 0x3ba +#define GDK_KEY_gcedilla 0x3bb +#define GDK_KEY_tslash 0x3bc +#define GDK_KEY_ENG 0x3bd +#define GDK_KEY_eng 0x3bf +#define GDK_KEY_Amacron 0x3c0 +#define GDK_KEY_Iogonek 0x3c7 +#define GDK_KEY_Eabovedot 0x3cc +#define GDK_KEY_Imacron 0x3cf +#define GDK_KEY_Ncedilla 0x3d1 +#define GDK_KEY_Omacron 0x3d2 +#define GDK_KEY_Kcedilla 0x3d3 +#define GDK_KEY_Uogonek 0x3d9 +#define GDK_KEY_Utilde 0x3dd +#define GDK_KEY_Umacron 0x3de +#define GDK_KEY_amacron 0x3e0 +#define GDK_KEY_iogonek 0x3e7 +#define GDK_KEY_eabovedot 0x3ec +#define GDK_KEY_imacron 0x3ef +#define GDK_KEY_ncedilla 0x3f1 +#define GDK_KEY_omacron 0x3f2 +#define GDK_KEY_kcedilla 0x3f3 +#define GDK_KEY_uogonek 0x3f9 +#define GDK_KEY_utilde 0x3fd +#define GDK_KEY_umacron 0x3fe +#define GDK_KEY_Wcircumflex 0x1000174 +#define GDK_KEY_wcircumflex 0x1000175 +#define GDK_KEY_Ycircumflex 0x1000176 +#define GDK_KEY_ycircumflex 0x1000177 +#define GDK_KEY_Babovedot 0x1001e02 +#define GDK_KEY_babovedot 0x1001e03 +#define GDK_KEY_Dabovedot 0x1001e0a +#define GDK_KEY_dabovedot 0x1001e0b +#define GDK_KEY_Fabovedot 0x1001e1e +#define GDK_KEY_fabovedot 0x1001e1f +#define GDK_KEY_Mabovedot 0x1001e40 +#define GDK_KEY_mabovedot 0x1001e41 +#define GDK_KEY_Pabovedot 0x1001e56 +#define GDK_KEY_pabovedot 0x1001e57 +#define GDK_KEY_Sabovedot 0x1001e60 +#define GDK_KEY_sabovedot 0x1001e61 +#define GDK_KEY_Tabovedot 0x1001e6a +#define GDK_KEY_tabovedot 0x1001e6b +#define GDK_KEY_Wgrave 0x1001e80 +#define GDK_KEY_wgrave 0x1001e81 +#define GDK_KEY_Wacute 0x1001e82 +#define GDK_KEY_wacute 0x1001e83 +#define GDK_KEY_Wdiaeresis 0x1001e84 +#define GDK_KEY_wdiaeresis 0x1001e85 +#define GDK_KEY_Ygrave 0x1001ef2 +#define GDK_KEY_ygrave 0x1001ef3 +#define GDK_KEY_OE 0x13bc +#define GDK_KEY_oe 0x13bd +#define GDK_KEY_Ydiaeresis 0x13be +#define GDK_KEY_overline 0x47e +#define GDK_KEY_kana_fullstop 0x4a1 +#define GDK_KEY_kana_openingbracket 0x4a2 +#define GDK_KEY_kana_closingbracket 0x4a3 +#define GDK_KEY_kana_comma 0x4a4 +#define GDK_KEY_kana_conjunctive 0x4a5 +#define GDK_KEY_kana_middledot 0x4a5 +#define GDK_KEY_kana_WO 0x4a6 +#define GDK_KEY_kana_a 0x4a7 +#define GDK_KEY_kana_i 0x4a8 +#define GDK_KEY_kana_u 0x4a9 +#define GDK_KEY_kana_e 0x4aa +#define GDK_KEY_kana_o 0x4ab +#define GDK_KEY_kana_ya 0x4ac +#define GDK_KEY_kana_yu 0x4ad +#define GDK_KEY_kana_yo 0x4ae +#define GDK_KEY_kana_tsu 0x4af +#define GDK_KEY_kana_tu 0x4af +#define GDK_KEY_prolongedsound 0x4b0 +#define GDK_KEY_kana_A 0x4b1 +#define GDK_KEY_kana_I 0x4b2 +#define GDK_KEY_kana_U 0x4b3 +#define GDK_KEY_kana_E 0x4b4 +#define GDK_KEY_kana_O 0x4b5 +#define GDK_KEY_kana_KA 0x4b6 +#define GDK_KEY_kana_KI 0x4b7 +#define GDK_KEY_kana_KU 0x4b8 +#define GDK_KEY_kana_KE 0x4b9 +#define GDK_KEY_kana_KO 0x4ba +#define GDK_KEY_kana_SA 0x4bb +#define GDK_KEY_kana_SHI 0x4bc +#define GDK_KEY_kana_SU 0x4bd +#define GDK_KEY_kana_SE 0x4be +#define GDK_KEY_kana_SO 0x4bf +#define GDK_KEY_kana_TA 0x4c0 +#define GDK_KEY_kana_CHI 0x4c1 +#define GDK_KEY_kana_TI 0x4c1 +#define GDK_KEY_kana_TSU 0x4c2 +#define GDK_KEY_kana_TU 0x4c2 +#define GDK_KEY_kana_TE 0x4c3 +#define GDK_KEY_kana_TO 0x4c4 +#define GDK_KEY_kana_NA 0x4c5 +#define GDK_KEY_kana_NI 0x4c6 +#define GDK_KEY_kana_NU 0x4c7 +#define GDK_KEY_kana_NE 0x4c8 +#define GDK_KEY_kana_NO 0x4c9 +#define GDK_KEY_kana_HA 0x4ca +#define GDK_KEY_kana_HI 0x4cb +#define GDK_KEY_kana_FU 0x4cc +#define GDK_KEY_kana_HU 0x4cc +#define GDK_KEY_kana_HE 0x4cd +#define GDK_KEY_kana_HO 0x4ce +#define GDK_KEY_kana_MA 0x4cf +#define GDK_KEY_kana_MI 0x4d0 +#define GDK_KEY_kana_MU 0x4d1 +#define GDK_KEY_kana_ME 0x4d2 +#define GDK_KEY_kana_MO 0x4d3 +#define GDK_KEY_kana_YA 0x4d4 +#define GDK_KEY_kana_YU 0x4d5 +#define GDK_KEY_kana_YO 0x4d6 +#define GDK_KEY_kana_RA 0x4d7 +#define GDK_KEY_kana_RI 0x4d8 +#define GDK_KEY_kana_RU 0x4d9 +#define GDK_KEY_kana_RE 0x4da +#define GDK_KEY_kana_RO 0x4db +#define GDK_KEY_kana_WA 0x4dc +#define GDK_KEY_kana_N 0x4dd +#define GDK_KEY_voicedsound 0x4de +#define GDK_KEY_semivoicedsound 0x4df +#define GDK_KEY_kana_switch 0xff7e +#define GDK_KEY_Farsi_0 0x10006f0 +#define GDK_KEY_Farsi_1 0x10006f1 +#define GDK_KEY_Farsi_2 0x10006f2 +#define GDK_KEY_Farsi_3 0x10006f3 +#define GDK_KEY_Farsi_4 0x10006f4 +#define GDK_KEY_Farsi_5 0x10006f5 +#define GDK_KEY_Farsi_6 0x10006f6 +#define GDK_KEY_Farsi_7 0x10006f7 +#define GDK_KEY_Farsi_8 0x10006f8 +#define GDK_KEY_Farsi_9 0x10006f9 +#define GDK_KEY_Arabic_percent 0x100066a +#define GDK_KEY_Arabic_superscript_alef 0x1000670 +#define GDK_KEY_Arabic_tteh 0x1000679 +#define GDK_KEY_Arabic_peh 0x100067e +#define GDK_KEY_Arabic_tcheh 0x1000686 +#define GDK_KEY_Arabic_ddal 0x1000688 +#define GDK_KEY_Arabic_rreh 0x1000691 +#define GDK_KEY_Arabic_comma 0x5ac +#define GDK_KEY_Arabic_fullstop 0x10006d4 +#define GDK_KEY_Arabic_0 0x1000660 +#define GDK_KEY_Arabic_1 0x1000661 +#define GDK_KEY_Arabic_2 0x1000662 +#define GDK_KEY_Arabic_3 0x1000663 +#define GDK_KEY_Arabic_4 0x1000664 +#define GDK_KEY_Arabic_5 0x1000665 +#define GDK_KEY_Arabic_6 0x1000666 +#define GDK_KEY_Arabic_7 0x1000667 +#define GDK_KEY_Arabic_8 0x1000668 +#define GDK_KEY_Arabic_9 0x1000669 +#define GDK_KEY_Arabic_semicolon 0x5bb +#define GDK_KEY_Arabic_question_mark 0x5bf +#define GDK_KEY_Arabic_hamza 0x5c1 +#define GDK_KEY_Arabic_maddaonalef 0x5c2 +#define GDK_KEY_Arabic_hamzaonalef 0x5c3 +#define GDK_KEY_Arabic_hamzaonwaw 0x5c4 +#define GDK_KEY_Arabic_hamzaunderalef 0x5c5 +#define GDK_KEY_Arabic_hamzaonyeh 0x5c6 +#define GDK_KEY_Arabic_alef 0x5c7 +#define GDK_KEY_Arabic_beh 0x5c8 +#define GDK_KEY_Arabic_tehmarbuta 0x5c9 +#define GDK_KEY_Arabic_teh 0x5ca +#define GDK_KEY_Arabic_theh 0x5cb +#define GDK_KEY_Arabic_jeem 0x5cc +#define GDK_KEY_Arabic_hah 0x5cd +#define GDK_KEY_Arabic_khah 0x5ce +#define GDK_KEY_Arabic_dal 0x5cf +#define GDK_KEY_Arabic_thal 0x5d0 +#define GDK_KEY_Arabic_ra 0x5d1 +#define GDK_KEY_Arabic_zain 0x5d2 +#define GDK_KEY_Arabic_seen 0x5d3 +#define GDK_KEY_Arabic_sheen 0x5d4 +#define GDK_KEY_Arabic_sad 0x5d5 +#define GDK_KEY_Arabic_dad 0x5d6 +#define GDK_KEY_Arabic_tah 0x5d7 +#define GDK_KEY_Arabic_zah 0x5d8 +#define GDK_KEY_Arabic_ain 0x5d9 +#define GDK_KEY_Arabic_ghain 0x5da +#define GDK_KEY_Arabic_tatweel 0x5e0 +#define GDK_KEY_Arabic_feh 0x5e1 +#define GDK_KEY_Arabic_qaf 0x5e2 +#define GDK_KEY_Arabic_kaf 0x5e3 +#define GDK_KEY_Arabic_lam 0x5e4 +#define GDK_KEY_Arabic_meem 0x5e5 +#define GDK_KEY_Arabic_noon 0x5e6 +#define GDK_KEY_Arabic_ha 0x5e7 +#define GDK_KEY_Arabic_heh 0x5e7 +#define GDK_KEY_Arabic_waw 0x5e8 +#define GDK_KEY_Arabic_alefmaksura 0x5e9 +#define GDK_KEY_Arabic_yeh 0x5ea +#define GDK_KEY_Arabic_fathatan 0x5eb +#define GDK_KEY_Arabic_dammatan 0x5ec +#define GDK_KEY_Arabic_kasratan 0x5ed +#define GDK_KEY_Arabic_fatha 0x5ee +#define GDK_KEY_Arabic_damma 0x5ef +#define GDK_KEY_Arabic_kasra 0x5f0 +#define GDK_KEY_Arabic_shadda 0x5f1 +#define GDK_KEY_Arabic_sukun 0x5f2 +#define GDK_KEY_Arabic_madda_above 0x1000653 +#define GDK_KEY_Arabic_hamza_above 0x1000654 +#define GDK_KEY_Arabic_hamza_below 0x1000655 +#define GDK_KEY_Arabic_jeh 0x1000698 +#define GDK_KEY_Arabic_veh 0x10006a4 +#define GDK_KEY_Arabic_keheh 0x10006a9 +#define GDK_KEY_Arabic_gaf 0x10006af +#define GDK_KEY_Arabic_noon_ghunna 0x10006ba +#define GDK_KEY_Arabic_heh_doachashmee 0x10006be +#define GDK_KEY_Farsi_yeh 0x10006cc +#define GDK_KEY_Arabic_farsi_yeh 0x10006cc +#define GDK_KEY_Arabic_yeh_baree 0x10006d2 +#define GDK_KEY_Arabic_heh_goal 0x10006c1 +#define GDK_KEY_Arabic_switch 0xff7e +#define GDK_KEY_Cyrillic_GHE_bar 0x1000492 +#define GDK_KEY_Cyrillic_ghe_bar 0x1000493 +#define GDK_KEY_Cyrillic_ZHE_descender 0x1000496 +#define GDK_KEY_Cyrillic_zhe_descender 0x1000497 +#define GDK_KEY_Cyrillic_KA_descender 0x100049a +#define GDK_KEY_Cyrillic_ka_descender 0x100049b +#define GDK_KEY_Cyrillic_KA_vertstroke 0x100049c +#define GDK_KEY_Cyrillic_ka_vertstroke 0x100049d +#define GDK_KEY_Cyrillic_EN_descender 0x10004a2 +#define GDK_KEY_Cyrillic_en_descender 0x10004a3 +#define GDK_KEY_Cyrillic_U_straight 0x10004ae +#define GDK_KEY_Cyrillic_u_straight 0x10004af +#define GDK_KEY_Cyrillic_U_straight_bar 0x10004b0 +#define GDK_KEY_Cyrillic_u_straight_bar 0x10004b1 +#define GDK_KEY_Cyrillic_HA_descender 0x10004b2 +#define GDK_KEY_Cyrillic_ha_descender 0x10004b3 +#define GDK_KEY_Cyrillic_CHE_descender 0x10004b6 +#define GDK_KEY_Cyrillic_che_descender 0x10004b7 +#define GDK_KEY_Cyrillic_CHE_vertstroke 0x10004b8 +#define GDK_KEY_Cyrillic_che_vertstroke 0x10004b9 +#define GDK_KEY_Cyrillic_SHHA 0x10004ba +#define GDK_KEY_Cyrillic_shha 0x10004bb +#define GDK_KEY_Cyrillic_SCHWA 0x10004d8 +#define GDK_KEY_Cyrillic_schwa 0x10004d9 +#define GDK_KEY_Cyrillic_I_macron 0x10004e2 +#define GDK_KEY_Cyrillic_i_macron 0x10004e3 +#define GDK_KEY_Cyrillic_O_bar 0x10004e8 +#define GDK_KEY_Cyrillic_o_bar 0x10004e9 +#define GDK_KEY_Cyrillic_U_macron 0x10004ee +#define GDK_KEY_Cyrillic_u_macron 0x10004ef +#define GDK_KEY_Serbian_dje 0x6a1 +#define GDK_KEY_Macedonia_gje 0x6a2 +#define GDK_KEY_Cyrillic_io 0x6a3 +#define GDK_KEY_Ukrainian_ie 0x6a4 +#define GDK_KEY_Ukranian_je 0x6a4 +#define GDK_KEY_Macedonia_dse 0x6a5 +#define GDK_KEY_Ukrainian_i 0x6a6 +#define GDK_KEY_Ukranian_i 0x6a6 +#define GDK_KEY_Ukrainian_yi 0x6a7 +#define GDK_KEY_Ukranian_yi 0x6a7 +#define GDK_KEY_Cyrillic_je 0x6a8 +#define GDK_KEY_Serbian_je 0x6a8 +#define GDK_KEY_Cyrillic_lje 0x6a9 +#define GDK_KEY_Serbian_lje 0x6a9 +#define GDK_KEY_Cyrillic_nje 0x6aa +#define GDK_KEY_Serbian_nje 0x6aa +#define GDK_KEY_Serbian_tshe 0x6ab +#define GDK_KEY_Macedonia_kje 0x6ac +#define GDK_KEY_Ukrainian_ghe_with_upturn 0x6ad +#define GDK_KEY_Byelorussian_shortu 0x6ae +#define GDK_KEY_Cyrillic_dzhe 0x6af +#define GDK_KEY_Serbian_dze 0x6af +#define GDK_KEY_numerosign 0x6b0 +#define GDK_KEY_Serbian_DJE 0x6b1 +#define GDK_KEY_Macedonia_GJE 0x6b2 +#define GDK_KEY_Cyrillic_IO 0x6b3 +#define GDK_KEY_Ukrainian_IE 0x6b4 +#define GDK_KEY_Ukranian_JE 0x6b4 +#define GDK_KEY_Macedonia_DSE 0x6b5 +#define GDK_KEY_Ukrainian_I 0x6b6 +#define GDK_KEY_Ukranian_I 0x6b6 +#define GDK_KEY_Ukrainian_YI 0x6b7 +#define GDK_KEY_Ukranian_YI 0x6b7 +#define GDK_KEY_Cyrillic_JE 0x6b8 +#define GDK_KEY_Serbian_JE 0x6b8 +#define GDK_KEY_Cyrillic_LJE 0x6b9 +#define GDK_KEY_Serbian_LJE 0x6b9 +#define GDK_KEY_Cyrillic_NJE 0x6ba +#define GDK_KEY_Serbian_NJE 0x6ba +#define GDK_KEY_Serbian_TSHE 0x6bb +#define GDK_KEY_Macedonia_KJE 0x6bc +#define GDK_KEY_Ukrainian_GHE_WITH_UPTURN 0x6bd +#define GDK_KEY_Byelorussian_SHORTU 0x6be +#define GDK_KEY_Cyrillic_DZHE 0x6bf +#define GDK_KEY_Serbian_DZE 0x6bf +#define GDK_KEY_Cyrillic_yu 0x6c0 +#define GDK_KEY_Cyrillic_a 0x6c1 +#define GDK_KEY_Cyrillic_be 0x6c2 +#define GDK_KEY_Cyrillic_tse 0x6c3 +#define GDK_KEY_Cyrillic_de 0x6c4 +#define GDK_KEY_Cyrillic_ie 0x6c5 +#define GDK_KEY_Cyrillic_ef 0x6c6 +#define GDK_KEY_Cyrillic_ghe 0x6c7 +#define GDK_KEY_Cyrillic_ha 0x6c8 +#define GDK_KEY_Cyrillic_i 0x6c9 +#define GDK_KEY_Cyrillic_shorti 0x6ca +#define GDK_KEY_Cyrillic_ka 0x6cb +#define GDK_KEY_Cyrillic_el 0x6cc +#define GDK_KEY_Cyrillic_em 0x6cd +#define GDK_KEY_Cyrillic_en 0x6ce +#define GDK_KEY_Cyrillic_o 0x6cf +#define GDK_KEY_Cyrillic_pe 0x6d0 +#define GDK_KEY_Cyrillic_ya 0x6d1 +#define GDK_KEY_Cyrillic_er 0x6d2 +#define GDK_KEY_Cyrillic_es 0x6d3 +#define GDK_KEY_Cyrillic_te 0x6d4 +#define GDK_KEY_Cyrillic_u 0x6d5 +#define GDK_KEY_Cyrillic_zhe 0x6d6 +#define GDK_KEY_Cyrillic_ve 0x6d7 +#define GDK_KEY_Cyrillic_softsign 0x6d8 +#define GDK_KEY_Cyrillic_yeru 0x6d9 +#define GDK_KEY_Cyrillic_ze 0x6da +#define GDK_KEY_Cyrillic_sha 0x6db +#define GDK_KEY_Cyrillic_e 0x6dc +#define GDK_KEY_Cyrillic_shcha 0x6dd +#define GDK_KEY_Cyrillic_che 0x6de +#define GDK_KEY_Cyrillic_hardsign 0x6df +#define GDK_KEY_Cyrillic_YU 0x6e0 +#define GDK_KEY_Cyrillic_A 0x6e1 +#define GDK_KEY_Cyrillic_BE 0x6e2 +#define GDK_KEY_Cyrillic_TSE 0x6e3 +#define GDK_KEY_Cyrillic_DE 0x6e4 +#define GDK_KEY_Cyrillic_IE 0x6e5 +#define GDK_KEY_Cyrillic_EF 0x6e6 +#define GDK_KEY_Cyrillic_GHE 0x6e7 +#define GDK_KEY_Cyrillic_HA 0x6e8 +#define GDK_KEY_Cyrillic_I 0x6e9 +#define GDK_KEY_Cyrillic_SHORTI 0x6ea +#define GDK_KEY_Cyrillic_KA 0x6eb +#define GDK_KEY_Cyrillic_EL 0x6ec +#define GDK_KEY_Cyrillic_EM 0x6ed +#define GDK_KEY_Cyrillic_EN 0x6ee +#define GDK_KEY_Cyrillic_O 0x6ef +#define GDK_KEY_Cyrillic_PE 0x6f0 +#define GDK_KEY_Cyrillic_YA 0x6f1 +#define GDK_KEY_Cyrillic_ER 0x6f2 +#define GDK_KEY_Cyrillic_ES 0x6f3 +#define GDK_KEY_Cyrillic_TE 0x6f4 +#define GDK_KEY_Cyrillic_U 0x6f5 +#define GDK_KEY_Cyrillic_ZHE 0x6f6 +#define GDK_KEY_Cyrillic_VE 0x6f7 +#define GDK_KEY_Cyrillic_SOFTSIGN 0x6f8 +#define GDK_KEY_Cyrillic_YERU 0x6f9 +#define GDK_KEY_Cyrillic_ZE 0x6fa +#define GDK_KEY_Cyrillic_SHA 0x6fb +#define GDK_KEY_Cyrillic_E 0x6fc +#define GDK_KEY_Cyrillic_SHCHA 0x6fd +#define GDK_KEY_Cyrillic_CHE 0x6fe +#define GDK_KEY_Cyrillic_HARDSIGN 0x6ff +#define GDK_KEY_Greek_ALPHAaccent 0x7a1 +#define GDK_KEY_Greek_EPSILONaccent 0x7a2 +#define GDK_KEY_Greek_ETAaccent 0x7a3 +#define GDK_KEY_Greek_IOTAaccent 0x7a4 +#define GDK_KEY_Greek_IOTAdieresis 0x7a5 +#define GDK_KEY_Greek_IOTAdiaeresis 0x7a5 +#define GDK_KEY_Greek_OMICRONaccent 0x7a7 +#define GDK_KEY_Greek_UPSILONaccent 0x7a8 +#define GDK_KEY_Greek_UPSILONdieresis 0x7a9 +#define GDK_KEY_Greek_OMEGAaccent 0x7ab +#define GDK_KEY_Greek_accentdieresis 0x7ae +#define GDK_KEY_Greek_horizbar 0x7af +#define GDK_KEY_Greek_alphaaccent 0x7b1 +#define GDK_KEY_Greek_epsilonaccent 0x7b2 +#define GDK_KEY_Greek_etaaccent 0x7b3 +#define GDK_KEY_Greek_iotaaccent 0x7b4 +#define GDK_KEY_Greek_iotadieresis 0x7b5 +#define GDK_KEY_Greek_iotaaccentdieresis 0x7b6 +#define GDK_KEY_Greek_omicronaccent 0x7b7 +#define GDK_KEY_Greek_upsilonaccent 0x7b8 +#define GDK_KEY_Greek_upsilondieresis 0x7b9 +#define GDK_KEY_Greek_upsilonaccentdieresis 0x7ba +#define GDK_KEY_Greek_omegaaccent 0x7bb +#define GDK_KEY_Greek_ALPHA 0x7c1 +#define GDK_KEY_Greek_BETA 0x7c2 +#define GDK_KEY_Greek_GAMMA 0x7c3 +#define GDK_KEY_Greek_DELTA 0x7c4 +#define GDK_KEY_Greek_EPSILON 0x7c5 +#define GDK_KEY_Greek_ZETA 0x7c6 +#define GDK_KEY_Greek_ETA 0x7c7 +#define GDK_KEY_Greek_THETA 0x7c8 +#define GDK_KEY_Greek_IOTA 0x7c9 +#define GDK_KEY_Greek_KAPPA 0x7ca +#define GDK_KEY_Greek_LAMDA 0x7cb +#define GDK_KEY_Greek_LAMBDA 0x7cb +#define GDK_KEY_Greek_MU 0x7cc +#define GDK_KEY_Greek_NU 0x7cd +#define GDK_KEY_Greek_XI 0x7ce +#define GDK_KEY_Greek_OMICRON 0x7cf +#define GDK_KEY_Greek_PI 0x7d0 +#define GDK_KEY_Greek_RHO 0x7d1 +#define GDK_KEY_Greek_SIGMA 0x7d2 +#define GDK_KEY_Greek_TAU 0x7d4 +#define GDK_KEY_Greek_UPSILON 0x7d5 +#define GDK_KEY_Greek_PHI 0x7d6 +#define GDK_KEY_Greek_CHI 0x7d7 +#define GDK_KEY_Greek_PSI 0x7d8 +#define GDK_KEY_Greek_OMEGA 0x7d9 +#define GDK_KEY_Greek_alpha 0x7e1 +#define GDK_KEY_Greek_beta 0x7e2 +#define GDK_KEY_Greek_gamma 0x7e3 +#define GDK_KEY_Greek_delta 0x7e4 +#define GDK_KEY_Greek_epsilon 0x7e5 +#define GDK_KEY_Greek_zeta 0x7e6 +#define GDK_KEY_Greek_eta 0x7e7 +#define GDK_KEY_Greek_theta 0x7e8 +#define GDK_KEY_Greek_iota 0x7e9 +#define GDK_KEY_Greek_kappa 0x7ea +#define GDK_KEY_Greek_lamda 0x7eb +#define GDK_KEY_Greek_lambda 0x7eb +#define GDK_KEY_Greek_mu 0x7ec +#define GDK_KEY_Greek_nu 0x7ed +#define GDK_KEY_Greek_xi 0x7ee +#define GDK_KEY_Greek_omicron 0x7ef +#define GDK_KEY_Greek_pi 0x7f0 +#define GDK_KEY_Greek_rho 0x7f1 +#define GDK_KEY_Greek_sigma 0x7f2 +#define GDK_KEY_Greek_finalsmallsigma 0x7f3 +#define GDK_KEY_Greek_tau 0x7f4 +#define GDK_KEY_Greek_upsilon 0x7f5 +#define GDK_KEY_Greek_phi 0x7f6 +#define GDK_KEY_Greek_chi 0x7f7 +#define GDK_KEY_Greek_psi 0x7f8 +#define GDK_KEY_Greek_omega 0x7f9 +#define GDK_KEY_Greek_switch 0xff7e +#define GDK_KEY_leftradical 0x8a1 +#define GDK_KEY_topleftradical 0x8a2 +#define GDK_KEY_horizconnector 0x8a3 +#define GDK_KEY_topintegral 0x8a4 +#define GDK_KEY_botintegral 0x8a5 +#define GDK_KEY_vertconnector 0x8a6 +#define GDK_KEY_topleftsqbracket 0x8a7 +#define GDK_KEY_botleftsqbracket 0x8a8 +#define GDK_KEY_toprightsqbracket 0x8a9 +#define GDK_KEY_botrightsqbracket 0x8aa +#define GDK_KEY_topleftparens 0x8ab +#define GDK_KEY_botleftparens 0x8ac +#define GDK_KEY_toprightparens 0x8ad +#define GDK_KEY_botrightparens 0x8ae +#define GDK_KEY_leftmiddlecurlybrace 0x8af +#define GDK_KEY_rightmiddlecurlybrace 0x8b0 +#define GDK_KEY_topleftsummation 0x8b1 +#define GDK_KEY_botleftsummation 0x8b2 +#define GDK_KEY_topvertsummationconnector 0x8b3 +#define GDK_KEY_botvertsummationconnector 0x8b4 +#define GDK_KEY_toprightsummation 0x8b5 +#define GDK_KEY_botrightsummation 0x8b6 +#define GDK_KEY_rightmiddlesummation 0x8b7 +#define GDK_KEY_lessthanequal 0x8bc +#define GDK_KEY_notequal 0x8bd +#define GDK_KEY_greaterthanequal 0x8be +#define GDK_KEY_integral 0x8bf +#define GDK_KEY_therefore 0x8c0 +#define GDK_KEY_variation 0x8c1 +#define GDK_KEY_infinity 0x8c2 +#define GDK_KEY_nabla 0x8c5 +#define GDK_KEY_approximate 0x8c8 +#define GDK_KEY_similarequal 0x8c9 +#define GDK_KEY_ifonlyif 0x8cd +#define GDK_KEY_implies 0x8ce +#define GDK_KEY_identical 0x8cf +#define GDK_KEY_radical 0x8d6 +#define GDK_KEY_includedin 0x8da +#define GDK_KEY_includes 0x8db +#define GDK_KEY_intersection 0x8dc +#define GDK_KEY_union 0x8dd +#define GDK_KEY_logicaland 0x8de +#define GDK_KEY_logicalor 0x8df +#define GDK_KEY_partialderivative 0x8ef +#define GDK_KEY_function 0x8f6 +#define GDK_KEY_leftarrow 0x8fb +#define GDK_KEY_uparrow 0x8fc +#define GDK_KEY_rightarrow 0x8fd +#define GDK_KEY_downarrow 0x8fe +#define GDK_KEY_blank 0x9df +#define GDK_KEY_soliddiamond 0x9e0 +#define GDK_KEY_checkerboard 0x9e1 +#define GDK_KEY_ht 0x9e2 +#define GDK_KEY_ff 0x9e3 +#define GDK_KEY_cr 0x9e4 +#define GDK_KEY_lf 0x9e5 +#define GDK_KEY_nl 0x9e8 +#define GDK_KEY_vt 0x9e9 +#define GDK_KEY_lowrightcorner 0x9ea +#define GDK_KEY_uprightcorner 0x9eb +#define GDK_KEY_upleftcorner 0x9ec +#define GDK_KEY_lowleftcorner 0x9ed +#define GDK_KEY_crossinglines 0x9ee +#define GDK_KEY_horizlinescan1 0x9ef +#define GDK_KEY_horizlinescan3 0x9f0 +#define GDK_KEY_horizlinescan5 0x9f1 +#define GDK_KEY_horizlinescan7 0x9f2 +#define GDK_KEY_horizlinescan9 0x9f3 +#define GDK_KEY_leftt 0x9f4 +#define GDK_KEY_rightt 0x9f5 +#define GDK_KEY_bott 0x9f6 +#define GDK_KEY_topt 0x9f7 +#define GDK_KEY_vertbar 0x9f8 +#define GDK_KEY_emspace 0xaa1 +#define GDK_KEY_enspace 0xaa2 +#define GDK_KEY_em3space 0xaa3 +#define GDK_KEY_em4space 0xaa4 +#define GDK_KEY_digitspace 0xaa5 +#define GDK_KEY_punctspace 0xaa6 +#define GDK_KEY_thinspace 0xaa7 +#define GDK_KEY_hairspace 0xaa8 +#define GDK_KEY_emdash 0xaa9 +#define GDK_KEY_endash 0xaaa +#define GDK_KEY_signifblank 0xaac +#define GDK_KEY_ellipsis 0xaae +#define GDK_KEY_doubbaselinedot 0xaaf +#define GDK_KEY_onethird 0xab0 +#define GDK_KEY_twothirds 0xab1 +#define GDK_KEY_onefifth 0xab2 +#define GDK_KEY_twofifths 0xab3 +#define GDK_KEY_threefifths 0xab4 +#define GDK_KEY_fourfifths 0xab5 +#define GDK_KEY_onesixth 0xab6 +#define GDK_KEY_fivesixths 0xab7 +#define GDK_KEY_careof 0xab8 +#define GDK_KEY_figdash 0xabb +#define GDK_KEY_leftanglebracket 0xabc +#define GDK_KEY_decimalpoint 0xabd +#define GDK_KEY_rightanglebracket 0xabe +#define GDK_KEY_marker 0xabf +#define GDK_KEY_oneeighth 0xac3 +#define GDK_KEY_threeeighths 0xac4 +#define GDK_KEY_fiveeighths 0xac5 +#define GDK_KEY_seveneighths 0xac6 +#define GDK_KEY_trademark 0xac9 +#define GDK_KEY_signaturemark 0xaca +#define GDK_KEY_trademarkincircle 0xacb +#define GDK_KEY_leftopentriangle 0xacc +#define GDK_KEY_rightopentriangle 0xacd +#define GDK_KEY_emopencircle 0xace +#define GDK_KEY_emopenrectangle 0xacf +#define GDK_KEY_leftsinglequotemark 0xad0 +#define GDK_KEY_rightsinglequotemark 0xad1 +#define GDK_KEY_leftdoublequotemark 0xad2 +#define GDK_KEY_rightdoublequotemark 0xad3 +#define GDK_KEY_prescription 0xad4 +#define GDK_KEY_permille 0xad5 +#define GDK_KEY_minutes 0xad6 +#define GDK_KEY_seconds 0xad7 +#define GDK_KEY_latincross 0xad9 +#define GDK_KEY_hexagram 0xada +#define GDK_KEY_filledrectbullet 0xadb +#define GDK_KEY_filledlefttribullet 0xadc +#define GDK_KEY_filledrighttribullet 0xadd +#define GDK_KEY_emfilledcircle 0xade +#define GDK_KEY_emfilledrect 0xadf +#define GDK_KEY_enopencircbullet 0xae0 +#define GDK_KEY_enopensquarebullet 0xae1 +#define GDK_KEY_openrectbullet 0xae2 +#define GDK_KEY_opentribulletup 0xae3 +#define GDK_KEY_opentribulletdown 0xae4 +#define GDK_KEY_openstar 0xae5 +#define GDK_KEY_enfilledcircbullet 0xae6 +#define GDK_KEY_enfilledsqbullet 0xae7 +#define GDK_KEY_filledtribulletup 0xae8 +#define GDK_KEY_filledtribulletdown 0xae9 +#define GDK_KEY_leftpointer 0xaea +#define GDK_KEY_rightpointer 0xaeb +#define GDK_KEY_club 0xaec +#define GDK_KEY_diamond 0xaed +#define GDK_KEY_heart 0xaee +#define GDK_KEY_maltesecross 0xaf0 +#define GDK_KEY_dagger 0xaf1 +#define GDK_KEY_doubledagger 0xaf2 +#define GDK_KEY_checkmark 0xaf3 +#define GDK_KEY_ballotcross 0xaf4 +#define GDK_KEY_musicalsharp 0xaf5 +#define GDK_KEY_musicalflat 0xaf6 +#define GDK_KEY_malesymbol 0xaf7 +#define GDK_KEY_femalesymbol 0xaf8 +#define GDK_KEY_telephone 0xaf9 +#define GDK_KEY_telephonerecorder 0xafa +#define GDK_KEY_phonographcopyright 0xafb +#define GDK_KEY_caret 0xafc +#define GDK_KEY_singlelowquotemark 0xafd +#define GDK_KEY_doublelowquotemark 0xafe +#define GDK_KEY_cursor 0xaff +#define GDK_KEY_leftcaret 0xba3 +#define GDK_KEY_rightcaret 0xba6 +#define GDK_KEY_downcaret 0xba8 +#define GDK_KEY_upcaret 0xba9 +#define GDK_KEY_overbar 0xbc0 +#define GDK_KEY_downtack 0xbc2 +#define GDK_KEY_upshoe 0xbc3 +#define GDK_KEY_downstile 0xbc4 +#define GDK_KEY_underbar 0xbc6 +#define GDK_KEY_jot 0xbca +#define GDK_KEY_quad 0xbcc +#define GDK_KEY_uptack 0xbce +#define GDK_KEY_circle 0xbcf +#define GDK_KEY_upstile 0xbd3 +#define GDK_KEY_downshoe 0xbd6 +#define GDK_KEY_rightshoe 0xbd8 +#define GDK_KEY_leftshoe 0xbda +#define GDK_KEY_lefttack 0xbdc +#define GDK_KEY_righttack 0xbfc +#define GDK_KEY_hebrew_doublelowline 0xcdf +#define GDK_KEY_hebrew_aleph 0xce0 +#define GDK_KEY_hebrew_bet 0xce1 +#define GDK_KEY_hebrew_beth 0xce1 +#define GDK_KEY_hebrew_gimel 0xce2 +#define GDK_KEY_hebrew_gimmel 0xce2 +#define GDK_KEY_hebrew_dalet 0xce3 +#define GDK_KEY_hebrew_daleth 0xce3 +#define GDK_KEY_hebrew_he 0xce4 +#define GDK_KEY_hebrew_waw 0xce5 +#define GDK_KEY_hebrew_zain 0xce6 +#define GDK_KEY_hebrew_zayin 0xce6 +#define GDK_KEY_hebrew_chet 0xce7 +#define GDK_KEY_hebrew_het 0xce7 +#define GDK_KEY_hebrew_tet 0xce8 +#define GDK_KEY_hebrew_teth 0xce8 +#define GDK_KEY_hebrew_yod 0xce9 +#define GDK_KEY_hebrew_finalkaph 0xcea +#define GDK_KEY_hebrew_kaph 0xceb +#define GDK_KEY_hebrew_lamed 0xcec +#define GDK_KEY_hebrew_finalmem 0xced +#define GDK_KEY_hebrew_mem 0xcee +#define GDK_KEY_hebrew_finalnun 0xcef +#define GDK_KEY_hebrew_nun 0xcf0 +#define GDK_KEY_hebrew_samech 0xcf1 +#define GDK_KEY_hebrew_samekh 0xcf1 +#define GDK_KEY_hebrew_ayin 0xcf2 +#define GDK_KEY_hebrew_finalpe 0xcf3 +#define GDK_KEY_hebrew_pe 0xcf4 +#define GDK_KEY_hebrew_finalzade 0xcf5 +#define GDK_KEY_hebrew_finalzadi 0xcf5 +#define GDK_KEY_hebrew_zade 0xcf6 +#define GDK_KEY_hebrew_zadi 0xcf6 +#define GDK_KEY_hebrew_qoph 0xcf7 +#define GDK_KEY_hebrew_kuf 0xcf7 +#define GDK_KEY_hebrew_resh 0xcf8 +#define GDK_KEY_hebrew_shin 0xcf9 +#define GDK_KEY_hebrew_taw 0xcfa +#define GDK_KEY_hebrew_taf 0xcfa +#define GDK_KEY_Hebrew_switch 0xff7e +#define GDK_KEY_Thai_kokai 0xda1 +#define GDK_KEY_Thai_khokhai 0xda2 +#define GDK_KEY_Thai_khokhuat 0xda3 +#define GDK_KEY_Thai_khokhwai 0xda4 +#define GDK_KEY_Thai_khokhon 0xda5 +#define GDK_KEY_Thai_khorakhang 0xda6 +#define GDK_KEY_Thai_ngongu 0xda7 +#define GDK_KEY_Thai_chochan 0xda8 +#define GDK_KEY_Thai_choching 0xda9 +#define GDK_KEY_Thai_chochang 0xdaa +#define GDK_KEY_Thai_soso 0xdab +#define GDK_KEY_Thai_chochoe 0xdac +#define GDK_KEY_Thai_yoying 0xdad +#define GDK_KEY_Thai_dochada 0xdae +#define GDK_KEY_Thai_topatak 0xdaf +#define GDK_KEY_Thai_thothan 0xdb0 +#define GDK_KEY_Thai_thonangmontho 0xdb1 +#define GDK_KEY_Thai_thophuthao 0xdb2 +#define GDK_KEY_Thai_nonen 0xdb3 +#define GDK_KEY_Thai_dodek 0xdb4 +#define GDK_KEY_Thai_totao 0xdb5 +#define GDK_KEY_Thai_thothung 0xdb6 +#define GDK_KEY_Thai_thothahan 0xdb7 +#define GDK_KEY_Thai_thothong 0xdb8 +#define GDK_KEY_Thai_nonu 0xdb9 +#define GDK_KEY_Thai_bobaimai 0xdba +#define GDK_KEY_Thai_popla 0xdbb +#define GDK_KEY_Thai_phophung 0xdbc +#define GDK_KEY_Thai_fofa 0xdbd +#define GDK_KEY_Thai_phophan 0xdbe +#define GDK_KEY_Thai_fofan 0xdbf +#define GDK_KEY_Thai_phosamphao 0xdc0 +#define GDK_KEY_Thai_moma 0xdc1 +#define GDK_KEY_Thai_yoyak 0xdc2 +#define GDK_KEY_Thai_rorua 0xdc3 +#define GDK_KEY_Thai_ru 0xdc4 +#define GDK_KEY_Thai_loling 0xdc5 +#define GDK_KEY_Thai_lu 0xdc6 +#define GDK_KEY_Thai_wowaen 0xdc7 +#define GDK_KEY_Thai_sosala 0xdc8 +#define GDK_KEY_Thai_sorusi 0xdc9 +#define GDK_KEY_Thai_sosua 0xdca +#define GDK_KEY_Thai_hohip 0xdcb +#define GDK_KEY_Thai_lochula 0xdcc +#define GDK_KEY_Thai_oang 0xdcd +#define GDK_KEY_Thai_honokhuk 0xdce +#define GDK_KEY_Thai_paiyannoi 0xdcf +#define GDK_KEY_Thai_saraa 0xdd0 +#define GDK_KEY_Thai_maihanakat 0xdd1 +#define GDK_KEY_Thai_saraaa 0xdd2 +#define GDK_KEY_Thai_saraam 0xdd3 +#define GDK_KEY_Thai_sarai 0xdd4 +#define GDK_KEY_Thai_saraii 0xdd5 +#define GDK_KEY_Thai_saraue 0xdd6 +#define GDK_KEY_Thai_sarauee 0xdd7 +#define GDK_KEY_Thai_sarau 0xdd8 +#define GDK_KEY_Thai_sarauu 0xdd9 +#define GDK_KEY_Thai_phinthu 0xdda +#define GDK_KEY_Thai_maihanakat_maitho 0xdde +#define GDK_KEY_Thai_baht 0xddf +#define GDK_KEY_Thai_sarae 0xde0 +#define GDK_KEY_Thai_saraae 0xde1 +#define GDK_KEY_Thai_sarao 0xde2 +#define GDK_KEY_Thai_saraaimaimuan 0xde3 +#define GDK_KEY_Thai_saraaimaimalai 0xde4 +#define GDK_KEY_Thai_lakkhangyao 0xde5 +#define GDK_KEY_Thai_maiyamok 0xde6 +#define GDK_KEY_Thai_maitaikhu 0xde7 +#define GDK_KEY_Thai_maiek 0xde8 +#define GDK_KEY_Thai_maitho 0xde9 +#define GDK_KEY_Thai_maitri 0xdea +#define GDK_KEY_Thai_maichattawa 0xdeb +#define GDK_KEY_Thai_thanthakhat 0xdec +#define GDK_KEY_Thai_nikhahit 0xded +#define GDK_KEY_Thai_leksun 0xdf0 +#define GDK_KEY_Thai_leknung 0xdf1 +#define GDK_KEY_Thai_leksong 0xdf2 +#define GDK_KEY_Thai_leksam 0xdf3 +#define GDK_KEY_Thai_leksi 0xdf4 +#define GDK_KEY_Thai_lekha 0xdf5 +#define GDK_KEY_Thai_lekhok 0xdf6 +#define GDK_KEY_Thai_lekchet 0xdf7 +#define GDK_KEY_Thai_lekpaet 0xdf8 +#define GDK_KEY_Thai_lekkao 0xdf9 +#define GDK_KEY_Hangul 0xff31 +#define GDK_KEY_Hangul_Start 0xff32 +#define GDK_KEY_Hangul_End 0xff33 +#define GDK_KEY_Hangul_Hanja 0xff34 +#define GDK_KEY_Hangul_Jamo 0xff35 +#define GDK_KEY_Hangul_Romaja 0xff36 +#define GDK_KEY_Hangul_Codeinput 0xff37 +#define GDK_KEY_Hangul_Jeonja 0xff38 +#define GDK_KEY_Hangul_Banja 0xff39 +#define GDK_KEY_Hangul_PreHanja 0xff3a +#define GDK_KEY_Hangul_PostHanja 0xff3b +#define GDK_KEY_Hangul_SingleCandidate 0xff3c +#define GDK_KEY_Hangul_MultipleCandidate 0xff3d +#define GDK_KEY_Hangul_PreviousCandidate 0xff3e +#define GDK_KEY_Hangul_Special 0xff3f +#define GDK_KEY_Hangul_switch 0xff7e +#define GDK_KEY_Hangul_Kiyeog 0xea1 +#define GDK_KEY_Hangul_SsangKiyeog 0xea2 +#define GDK_KEY_Hangul_KiyeogSios 0xea3 +#define GDK_KEY_Hangul_Nieun 0xea4 +#define GDK_KEY_Hangul_NieunJieuj 0xea5 +#define GDK_KEY_Hangul_NieunHieuh 0xea6 +#define GDK_KEY_Hangul_Dikeud 0xea7 +#define GDK_KEY_Hangul_SsangDikeud 0xea8 +#define GDK_KEY_Hangul_Rieul 0xea9 +#define GDK_KEY_Hangul_RieulKiyeog 0xeaa +#define GDK_KEY_Hangul_RieulMieum 0xeab +#define GDK_KEY_Hangul_RieulPieub 0xeac +#define GDK_KEY_Hangul_RieulSios 0xead +#define GDK_KEY_Hangul_RieulTieut 0xeae +#define GDK_KEY_Hangul_RieulPhieuf 0xeaf +#define GDK_KEY_Hangul_RieulHieuh 0xeb0 +#define GDK_KEY_Hangul_Mieum 0xeb1 +#define GDK_KEY_Hangul_Pieub 0xeb2 +#define GDK_KEY_Hangul_SsangPieub 0xeb3 +#define GDK_KEY_Hangul_PieubSios 0xeb4 +#define GDK_KEY_Hangul_Sios 0xeb5 +#define GDK_KEY_Hangul_SsangSios 0xeb6 +#define GDK_KEY_Hangul_Ieung 0xeb7 +#define GDK_KEY_Hangul_Jieuj 0xeb8 +#define GDK_KEY_Hangul_SsangJieuj 0xeb9 +#define GDK_KEY_Hangul_Cieuc 0xeba +#define GDK_KEY_Hangul_Khieuq 0xebb +#define GDK_KEY_Hangul_Tieut 0xebc +#define GDK_KEY_Hangul_Phieuf 0xebd +#define GDK_KEY_Hangul_Hieuh 0xebe +#define GDK_KEY_Hangul_A 0xebf +#define GDK_KEY_Hangul_AE 0xec0 +#define GDK_KEY_Hangul_YA 0xec1 +#define GDK_KEY_Hangul_YAE 0xec2 +#define GDK_KEY_Hangul_EO 0xec3 +#define GDK_KEY_Hangul_E 0xec4 +#define GDK_KEY_Hangul_YEO 0xec5 +#define GDK_KEY_Hangul_YE 0xec6 +#define GDK_KEY_Hangul_O 0xec7 +#define GDK_KEY_Hangul_WA 0xec8 +#define GDK_KEY_Hangul_WAE 0xec9 +#define GDK_KEY_Hangul_OE 0xeca +#define GDK_KEY_Hangul_YO 0xecb +#define GDK_KEY_Hangul_U 0xecc +#define GDK_KEY_Hangul_WEO 0xecd +#define GDK_KEY_Hangul_WE 0xece +#define GDK_KEY_Hangul_WI 0xecf +#define GDK_KEY_Hangul_YU 0xed0 +#define GDK_KEY_Hangul_EU 0xed1 +#define GDK_KEY_Hangul_YI 0xed2 +#define GDK_KEY_Hangul_I 0xed3 +#define GDK_KEY_Hangul_J_Kiyeog 0xed4 +#define GDK_KEY_Hangul_J_SsangKiyeog 0xed5 +#define GDK_KEY_Hangul_J_KiyeogSios 0xed6 +#define GDK_KEY_Hangul_J_Nieun 0xed7 +#define GDK_KEY_Hangul_J_NieunJieuj 0xed8 +#define GDK_KEY_Hangul_J_NieunHieuh 0xed9 +#define GDK_KEY_Hangul_J_Dikeud 0xeda +#define GDK_KEY_Hangul_J_Rieul 0xedb +#define GDK_KEY_Hangul_J_RieulKiyeog 0xedc +#define GDK_KEY_Hangul_J_RieulMieum 0xedd +#define GDK_KEY_Hangul_J_RieulPieub 0xede +#define GDK_KEY_Hangul_J_RieulSios 0xedf +#define GDK_KEY_Hangul_J_RieulTieut 0xee0 +#define GDK_KEY_Hangul_J_RieulPhieuf 0xee1 +#define GDK_KEY_Hangul_J_RieulHieuh 0xee2 +#define GDK_KEY_Hangul_J_Mieum 0xee3 +#define GDK_KEY_Hangul_J_Pieub 0xee4 +#define GDK_KEY_Hangul_J_PieubSios 0xee5 +#define GDK_KEY_Hangul_J_Sios 0xee6 +#define GDK_KEY_Hangul_J_SsangSios 0xee7 +#define GDK_KEY_Hangul_J_Ieung 0xee8 +#define GDK_KEY_Hangul_J_Jieuj 0xee9 +#define GDK_KEY_Hangul_J_Cieuc 0xeea +#define GDK_KEY_Hangul_J_Khieuq 0xeeb +#define GDK_KEY_Hangul_J_Tieut 0xeec +#define GDK_KEY_Hangul_J_Phieuf 0xeed +#define GDK_KEY_Hangul_J_Hieuh 0xeee +#define GDK_KEY_Hangul_RieulYeorinHieuh 0xeef +#define GDK_KEY_Hangul_SunkyeongeumMieum 0xef0 +#define GDK_KEY_Hangul_SunkyeongeumPieub 0xef1 +#define GDK_KEY_Hangul_PanSios 0xef2 +#define GDK_KEY_Hangul_KkogjiDalrinIeung 0xef3 +#define GDK_KEY_Hangul_SunkyeongeumPhieuf 0xef4 +#define GDK_KEY_Hangul_YeorinHieuh 0xef5 +#define GDK_KEY_Hangul_AraeA 0xef6 +#define GDK_KEY_Hangul_AraeAE 0xef7 +#define GDK_KEY_Hangul_J_PanSios 0xef8 +#define GDK_KEY_Hangul_J_KkogjiDalrinIeung 0xef9 +#define GDK_KEY_Hangul_J_YeorinHieuh 0xefa +#define GDK_KEY_Korean_Won 0xeff +#define GDK_KEY_Armenian_ligature_ew 0x1000587 +#define GDK_KEY_Armenian_full_stop 0x1000589 +#define GDK_KEY_Armenian_verjaket 0x1000589 +#define GDK_KEY_Armenian_separation_mark 0x100055d +#define GDK_KEY_Armenian_but 0x100055d +#define GDK_KEY_Armenian_hyphen 0x100058a +#define GDK_KEY_Armenian_yentamna 0x100058a +#define GDK_KEY_Armenian_exclam 0x100055c +#define GDK_KEY_Armenian_amanak 0x100055c +#define GDK_KEY_Armenian_accent 0x100055b +#define GDK_KEY_Armenian_shesht 0x100055b +#define GDK_KEY_Armenian_question 0x100055e +#define GDK_KEY_Armenian_paruyk 0x100055e +#define GDK_KEY_Armenian_AYB 0x1000531 +#define GDK_KEY_Armenian_ayb 0x1000561 +#define GDK_KEY_Armenian_BEN 0x1000532 +#define GDK_KEY_Armenian_ben 0x1000562 +#define GDK_KEY_Armenian_GIM 0x1000533 +#define GDK_KEY_Armenian_gim 0x1000563 +#define GDK_KEY_Armenian_DA 0x1000534 +#define GDK_KEY_Armenian_da 0x1000564 +#define GDK_KEY_Armenian_YECH 0x1000535 +#define GDK_KEY_Armenian_yech 0x1000565 +#define GDK_KEY_Armenian_ZA 0x1000536 +#define GDK_KEY_Armenian_za 0x1000566 +#define GDK_KEY_Armenian_E 0x1000537 +#define GDK_KEY_Armenian_e 0x1000567 +#define GDK_KEY_Armenian_AT 0x1000538 +#define GDK_KEY_Armenian_at 0x1000568 +#define GDK_KEY_Armenian_TO 0x1000539 +#define GDK_KEY_Armenian_to 0x1000569 +#define GDK_KEY_Armenian_ZHE 0x100053a +#define GDK_KEY_Armenian_zhe 0x100056a +#define GDK_KEY_Armenian_INI 0x100053b +#define GDK_KEY_Armenian_ini 0x100056b +#define GDK_KEY_Armenian_LYUN 0x100053c +#define GDK_KEY_Armenian_lyun 0x100056c +#define GDK_KEY_Armenian_KHE 0x100053d +#define GDK_KEY_Armenian_khe 0x100056d +#define GDK_KEY_Armenian_TSA 0x100053e +#define GDK_KEY_Armenian_tsa 0x100056e +#define GDK_KEY_Armenian_KEN 0x100053f +#define GDK_KEY_Armenian_ken 0x100056f +#define GDK_KEY_Armenian_HO 0x1000540 +#define GDK_KEY_Armenian_ho 0x1000570 +#define GDK_KEY_Armenian_DZA 0x1000541 +#define GDK_KEY_Armenian_dza 0x1000571 +#define GDK_KEY_Armenian_GHAT 0x1000542 +#define GDK_KEY_Armenian_ghat 0x1000572 +#define GDK_KEY_Armenian_TCHE 0x1000543 +#define GDK_KEY_Armenian_tche 0x1000573 +#define GDK_KEY_Armenian_MEN 0x1000544 +#define GDK_KEY_Armenian_men 0x1000574 +#define GDK_KEY_Armenian_HI 0x1000545 +#define GDK_KEY_Armenian_hi 0x1000575 +#define GDK_KEY_Armenian_NU 0x1000546 +#define GDK_KEY_Armenian_nu 0x1000576 +#define GDK_KEY_Armenian_SHA 0x1000547 +#define GDK_KEY_Armenian_sha 0x1000577 +#define GDK_KEY_Armenian_VO 0x1000548 +#define GDK_KEY_Armenian_vo 0x1000578 +#define GDK_KEY_Armenian_CHA 0x1000549 +#define GDK_KEY_Armenian_cha 0x1000579 +#define GDK_KEY_Armenian_PE 0x100054a +#define GDK_KEY_Armenian_pe 0x100057a +#define GDK_KEY_Armenian_JE 0x100054b +#define GDK_KEY_Armenian_je 0x100057b +#define GDK_KEY_Armenian_RA 0x100054c +#define GDK_KEY_Armenian_ra 0x100057c +#define GDK_KEY_Armenian_SE 0x100054d +#define GDK_KEY_Armenian_se 0x100057d +#define GDK_KEY_Armenian_VEV 0x100054e +#define GDK_KEY_Armenian_vev 0x100057e +#define GDK_KEY_Armenian_TYUN 0x100054f +#define GDK_KEY_Armenian_tyun 0x100057f +#define GDK_KEY_Armenian_RE 0x1000550 +#define GDK_KEY_Armenian_re 0x1000580 +#define GDK_KEY_Armenian_TSO 0x1000551 +#define GDK_KEY_Armenian_tso 0x1000581 +#define GDK_KEY_Armenian_VYUN 0x1000552 +#define GDK_KEY_Armenian_vyun 0x1000582 +#define GDK_KEY_Armenian_PYUR 0x1000553 +#define GDK_KEY_Armenian_pyur 0x1000583 +#define GDK_KEY_Armenian_KE 0x1000554 +#define GDK_KEY_Armenian_ke 0x1000584 +#define GDK_KEY_Armenian_O 0x1000555 +#define GDK_KEY_Armenian_o 0x1000585 +#define GDK_KEY_Armenian_FE 0x1000556 +#define GDK_KEY_Armenian_fe 0x1000586 +#define GDK_KEY_Armenian_apostrophe 0x100055a +#define GDK_KEY_Georgian_an 0x10010d0 +#define GDK_KEY_Georgian_ban 0x10010d1 +#define GDK_KEY_Georgian_gan 0x10010d2 +#define GDK_KEY_Georgian_don 0x10010d3 +#define GDK_KEY_Georgian_en 0x10010d4 +#define GDK_KEY_Georgian_vin 0x10010d5 +#define GDK_KEY_Georgian_zen 0x10010d6 +#define GDK_KEY_Georgian_tan 0x10010d7 +#define GDK_KEY_Georgian_in 0x10010d8 +#define GDK_KEY_Georgian_kan 0x10010d9 +#define GDK_KEY_Georgian_las 0x10010da +#define GDK_KEY_Georgian_man 0x10010db +#define GDK_KEY_Georgian_nar 0x10010dc +#define GDK_KEY_Georgian_on 0x10010dd +#define GDK_KEY_Georgian_par 0x10010de +#define GDK_KEY_Georgian_zhar 0x10010df +#define GDK_KEY_Georgian_rae 0x10010e0 +#define GDK_KEY_Georgian_san 0x10010e1 +#define GDK_KEY_Georgian_tar 0x10010e2 +#define GDK_KEY_Georgian_un 0x10010e3 +#define GDK_KEY_Georgian_phar 0x10010e4 +#define GDK_KEY_Georgian_khar 0x10010e5 +#define GDK_KEY_Georgian_ghan 0x10010e6 +#define GDK_KEY_Georgian_qar 0x10010e7 +#define GDK_KEY_Georgian_shin 0x10010e8 +#define GDK_KEY_Georgian_chin 0x10010e9 +#define GDK_KEY_Georgian_can 0x10010ea +#define GDK_KEY_Georgian_jil 0x10010eb +#define GDK_KEY_Georgian_cil 0x10010ec +#define GDK_KEY_Georgian_char 0x10010ed +#define GDK_KEY_Georgian_xan 0x10010ee +#define GDK_KEY_Georgian_jhan 0x10010ef +#define GDK_KEY_Georgian_hae 0x10010f0 +#define GDK_KEY_Georgian_he 0x10010f1 +#define GDK_KEY_Georgian_hie 0x10010f2 +#define GDK_KEY_Georgian_we 0x10010f3 +#define GDK_KEY_Georgian_har 0x10010f4 +#define GDK_KEY_Georgian_hoe 0x10010f5 +#define GDK_KEY_Georgian_fi 0x10010f6 +#define GDK_KEY_Xabovedot 0x1001e8a +#define GDK_KEY_Ibreve 0x100012c +#define GDK_KEY_Zstroke 0x10001b5 +#define GDK_KEY_Gcaron 0x10001e6 +#define GDK_KEY_Ocaron 0x10001d1 +#define GDK_KEY_Obarred 0x100019f +#define GDK_KEY_xabovedot 0x1001e8b +#define GDK_KEY_ibreve 0x100012d +#define GDK_KEY_zstroke 0x10001b6 +#define GDK_KEY_gcaron 0x10001e7 +#define GDK_KEY_ocaron 0x10001d2 +#define GDK_KEY_obarred 0x1000275 +#define GDK_KEY_SCHWA 0x100018f +#define GDK_KEY_schwa 0x1000259 +#define GDK_KEY_EZH 0x10001b7 +#define GDK_KEY_ezh 0x1000292 +#define GDK_KEY_Lbelowdot 0x1001e36 +#define GDK_KEY_lbelowdot 0x1001e37 +#define GDK_KEY_Abelowdot 0x1001ea0 +#define GDK_KEY_abelowdot 0x1001ea1 +#define GDK_KEY_Ahook 0x1001ea2 +#define GDK_KEY_ahook 0x1001ea3 +#define GDK_KEY_Acircumflexacute 0x1001ea4 +#define GDK_KEY_acircumflexacute 0x1001ea5 +#define GDK_KEY_Acircumflexgrave 0x1001ea6 +#define GDK_KEY_acircumflexgrave 0x1001ea7 +#define GDK_KEY_Acircumflexhook 0x1001ea8 +#define GDK_KEY_acircumflexhook 0x1001ea9 +#define GDK_KEY_Acircumflextilde 0x1001eaa +#define GDK_KEY_acircumflextilde 0x1001eab +#define GDK_KEY_Acircumflexbelowdot 0x1001eac +#define GDK_KEY_acircumflexbelowdot 0x1001ead +#define GDK_KEY_Abreveacute 0x1001eae +#define GDK_KEY_abreveacute 0x1001eaf +#define GDK_KEY_Abrevegrave 0x1001eb0 +#define GDK_KEY_abrevegrave 0x1001eb1 +#define GDK_KEY_Abrevehook 0x1001eb2 +#define GDK_KEY_abrevehook 0x1001eb3 +#define GDK_KEY_Abrevetilde 0x1001eb4 +#define GDK_KEY_abrevetilde 0x1001eb5 +#define GDK_KEY_Abrevebelowdot 0x1001eb6 +#define GDK_KEY_abrevebelowdot 0x1001eb7 +#define GDK_KEY_Ebelowdot 0x1001eb8 +#define GDK_KEY_ebelowdot 0x1001eb9 +#define GDK_KEY_Ehook 0x1001eba +#define GDK_KEY_ehook 0x1001ebb +#define GDK_KEY_Etilde 0x1001ebc +#define GDK_KEY_etilde 0x1001ebd +#define GDK_KEY_Ecircumflexacute 0x1001ebe +#define GDK_KEY_ecircumflexacute 0x1001ebf +#define GDK_KEY_Ecircumflexgrave 0x1001ec0 +#define GDK_KEY_ecircumflexgrave 0x1001ec1 +#define GDK_KEY_Ecircumflexhook 0x1001ec2 +#define GDK_KEY_ecircumflexhook 0x1001ec3 +#define GDK_KEY_Ecircumflextilde 0x1001ec4 +#define GDK_KEY_ecircumflextilde 0x1001ec5 +#define GDK_KEY_Ecircumflexbelowdot 0x1001ec6 +#define GDK_KEY_ecircumflexbelowdot 0x1001ec7 +#define GDK_KEY_Ihook 0x1001ec8 +#define GDK_KEY_ihook 0x1001ec9 +#define GDK_KEY_Ibelowdot 0x1001eca +#define GDK_KEY_ibelowdot 0x1001ecb +#define GDK_KEY_Obelowdot 0x1001ecc +#define GDK_KEY_obelowdot 0x1001ecd +#define GDK_KEY_Ohook 0x1001ece +#define GDK_KEY_ohook 0x1001ecf +#define GDK_KEY_Ocircumflexacute 0x1001ed0 +#define GDK_KEY_ocircumflexacute 0x1001ed1 +#define GDK_KEY_Ocircumflexgrave 0x1001ed2 +#define GDK_KEY_ocircumflexgrave 0x1001ed3 +#define GDK_KEY_Ocircumflexhook 0x1001ed4 +#define GDK_KEY_ocircumflexhook 0x1001ed5 +#define GDK_KEY_Ocircumflextilde 0x1001ed6 +#define GDK_KEY_ocircumflextilde 0x1001ed7 +#define GDK_KEY_Ocircumflexbelowdot 0x1001ed8 +#define GDK_KEY_ocircumflexbelowdot 0x1001ed9 +#define GDK_KEY_Ohornacute 0x1001eda +#define GDK_KEY_ohornacute 0x1001edb +#define GDK_KEY_Ohorngrave 0x1001edc +#define GDK_KEY_ohorngrave 0x1001edd +#define GDK_KEY_Ohornhook 0x1001ede +#define GDK_KEY_ohornhook 0x1001edf +#define GDK_KEY_Ohorntilde 0x1001ee0 +#define GDK_KEY_ohorntilde 0x1001ee1 +#define GDK_KEY_Ohornbelowdot 0x1001ee2 +#define GDK_KEY_ohornbelowdot 0x1001ee3 +#define GDK_KEY_Ubelowdot 0x1001ee4 +#define GDK_KEY_ubelowdot 0x1001ee5 +#define GDK_KEY_Uhook 0x1001ee6 +#define GDK_KEY_uhook 0x1001ee7 +#define GDK_KEY_Uhornacute 0x1001ee8 +#define GDK_KEY_uhornacute 0x1001ee9 +#define GDK_KEY_Uhorngrave 0x1001eea +#define GDK_KEY_uhorngrave 0x1001eeb +#define GDK_KEY_Uhornhook 0x1001eec +#define GDK_KEY_uhornhook 0x1001eed +#define GDK_KEY_Uhorntilde 0x1001eee +#define GDK_KEY_uhorntilde 0x1001eef +#define GDK_KEY_Uhornbelowdot 0x1001ef0 +#define GDK_KEY_uhornbelowdot 0x1001ef1 +#define GDK_KEY_Ybelowdot 0x1001ef4 +#define GDK_KEY_ybelowdot 0x1001ef5 +#define GDK_KEY_Yhook 0x1001ef6 +#define GDK_KEY_yhook 0x1001ef7 +#define GDK_KEY_Ytilde 0x1001ef8 +#define GDK_KEY_ytilde 0x1001ef9 +#define GDK_KEY_Ohorn 0x10001a0 +#define GDK_KEY_ohorn 0x10001a1 +#define GDK_KEY_Uhorn 0x10001af +#define GDK_KEY_uhorn 0x10001b0 +#define GDK_KEY_EcuSign 0x10020a0 +#define GDK_KEY_ColonSign 0x10020a1 +#define GDK_KEY_CruzeiroSign 0x10020a2 +#define GDK_KEY_FFrancSign 0x10020a3 +#define GDK_KEY_LiraSign 0x10020a4 +#define GDK_KEY_MillSign 0x10020a5 +#define GDK_KEY_NairaSign 0x10020a6 +#define GDK_KEY_PesetaSign 0x10020a7 +#define GDK_KEY_RupeeSign 0x10020a8 +#define GDK_KEY_WonSign 0x10020a9 +#define GDK_KEY_NewSheqelSign 0x10020aa +#define GDK_KEY_DongSign 0x10020ab +#define GDK_KEY_EuroSign 0x20ac +#define GDK_KEY_zerosuperior 0x1002070 +#define GDK_KEY_foursuperior 0x1002074 +#define GDK_KEY_fivesuperior 0x1002075 +#define GDK_KEY_sixsuperior 0x1002076 +#define GDK_KEY_sevensuperior 0x1002077 +#define GDK_KEY_eightsuperior 0x1002078 +#define GDK_KEY_ninesuperior 0x1002079 +#define GDK_KEY_zerosubscript 0x1002080 +#define GDK_KEY_onesubscript 0x1002081 +#define GDK_KEY_twosubscript 0x1002082 +#define GDK_KEY_threesubscript 0x1002083 +#define GDK_KEY_foursubscript 0x1002084 +#define GDK_KEY_fivesubscript 0x1002085 +#define GDK_KEY_sixsubscript 0x1002086 +#define GDK_KEY_sevensubscript 0x1002087 +#define GDK_KEY_eightsubscript 0x1002088 +#define GDK_KEY_ninesubscript 0x1002089 +#define GDK_KEY_partdifferential 0x1002202 +#define GDK_KEY_emptyset 0x1002205 +#define GDK_KEY_elementof 0x1002208 +#define GDK_KEY_notelementof 0x1002209 +#define GDK_KEY_containsas 0x100220b +#define GDK_KEY_squareroot 0x100221a +#define GDK_KEY_cuberoot 0x100221b +#define GDK_KEY_fourthroot 0x100221c +#define GDK_KEY_dintegral 0x100222c +#define GDK_KEY_tintegral 0x100222d +#define GDK_KEY_because 0x1002235 +#define GDK_KEY_approxeq 0x1002248 +#define GDK_KEY_notapproxeq 0x1002247 +#define GDK_KEY_notidentical 0x1002262 +#define GDK_KEY_stricteq 0x1002263 +#define GDK_KEY_braille_dot_1 0xfff1 +#define GDK_KEY_braille_dot_2 0xfff2 +#define GDK_KEY_braille_dot_3 0xfff3 +#define GDK_KEY_braille_dot_4 0xfff4 +#define GDK_KEY_braille_dot_5 0xfff5 +#define GDK_KEY_braille_dot_6 0xfff6 +#define GDK_KEY_braille_dot_7 0xfff7 +#define GDK_KEY_braille_dot_8 0xfff8 +#define GDK_KEY_braille_dot_9 0xfff9 +#define GDK_KEY_braille_dot_10 0xfffa +#define GDK_KEY_braille_blank 0x1002800 +#define GDK_KEY_braille_dots_1 0x1002801 +#define GDK_KEY_braille_dots_2 0x1002802 +#define GDK_KEY_braille_dots_12 0x1002803 +#define GDK_KEY_braille_dots_3 0x1002804 +#define GDK_KEY_braille_dots_13 0x1002805 +#define GDK_KEY_braille_dots_23 0x1002806 +#define GDK_KEY_braille_dots_123 0x1002807 +#define GDK_KEY_braille_dots_4 0x1002808 +#define GDK_KEY_braille_dots_14 0x1002809 +#define GDK_KEY_braille_dots_24 0x100280a +#define GDK_KEY_braille_dots_124 0x100280b +#define GDK_KEY_braille_dots_34 0x100280c +#define GDK_KEY_braille_dots_134 0x100280d +#define GDK_KEY_braille_dots_234 0x100280e +#define GDK_KEY_braille_dots_1234 0x100280f +#define GDK_KEY_braille_dots_5 0x1002810 +#define GDK_KEY_braille_dots_15 0x1002811 +#define GDK_KEY_braille_dots_25 0x1002812 +#define GDK_KEY_braille_dots_125 0x1002813 +#define GDK_KEY_braille_dots_35 0x1002814 +#define GDK_KEY_braille_dots_135 0x1002815 +#define GDK_KEY_braille_dots_235 0x1002816 +#define GDK_KEY_braille_dots_1235 0x1002817 +#define GDK_KEY_braille_dots_45 0x1002818 +#define GDK_KEY_braille_dots_145 0x1002819 +#define GDK_KEY_braille_dots_245 0x100281a +#define GDK_KEY_braille_dots_1245 0x100281b +#define GDK_KEY_braille_dots_345 0x100281c +#define GDK_KEY_braille_dots_1345 0x100281d +#define GDK_KEY_braille_dots_2345 0x100281e +#define GDK_KEY_braille_dots_12345 0x100281f +#define GDK_KEY_braille_dots_6 0x1002820 +#define GDK_KEY_braille_dots_16 0x1002821 +#define GDK_KEY_braille_dots_26 0x1002822 +#define GDK_KEY_braille_dots_126 0x1002823 +#define GDK_KEY_braille_dots_36 0x1002824 +#define GDK_KEY_braille_dots_136 0x1002825 +#define GDK_KEY_braille_dots_236 0x1002826 +#define GDK_KEY_braille_dots_1236 0x1002827 +#define GDK_KEY_braille_dots_46 0x1002828 +#define GDK_KEY_braille_dots_146 0x1002829 +#define GDK_KEY_braille_dots_246 0x100282a +#define GDK_KEY_braille_dots_1246 0x100282b +#define GDK_KEY_braille_dots_346 0x100282c +#define GDK_KEY_braille_dots_1346 0x100282d +#define GDK_KEY_braille_dots_2346 0x100282e +#define GDK_KEY_braille_dots_12346 0x100282f +#define GDK_KEY_braille_dots_56 0x1002830 +#define GDK_KEY_braille_dots_156 0x1002831 +#define GDK_KEY_braille_dots_256 0x1002832 +#define GDK_KEY_braille_dots_1256 0x1002833 +#define GDK_KEY_braille_dots_356 0x1002834 +#define GDK_KEY_braille_dots_1356 0x1002835 +#define GDK_KEY_braille_dots_2356 0x1002836 +#define GDK_KEY_braille_dots_12356 0x1002837 +#define GDK_KEY_braille_dots_456 0x1002838 +#define GDK_KEY_braille_dots_1456 0x1002839 +#define GDK_KEY_braille_dots_2456 0x100283a +#define GDK_KEY_braille_dots_12456 0x100283b +#define GDK_KEY_braille_dots_3456 0x100283c +#define GDK_KEY_braille_dots_13456 0x100283d +#define GDK_KEY_braille_dots_23456 0x100283e +#define GDK_KEY_braille_dots_123456 0x100283f +#define GDK_KEY_braille_dots_7 0x1002840 +#define GDK_KEY_braille_dots_17 0x1002841 +#define GDK_KEY_braille_dots_27 0x1002842 +#define GDK_KEY_braille_dots_127 0x1002843 +#define GDK_KEY_braille_dots_37 0x1002844 +#define GDK_KEY_braille_dots_137 0x1002845 +#define GDK_KEY_braille_dots_237 0x1002846 +#define GDK_KEY_braille_dots_1237 0x1002847 +#define GDK_KEY_braille_dots_47 0x1002848 +#define GDK_KEY_braille_dots_147 0x1002849 +#define GDK_KEY_braille_dots_247 0x100284a +#define GDK_KEY_braille_dots_1247 0x100284b +#define GDK_KEY_braille_dots_347 0x100284c +#define GDK_KEY_braille_dots_1347 0x100284d +#define GDK_KEY_braille_dots_2347 0x100284e +#define GDK_KEY_braille_dots_12347 0x100284f +#define GDK_KEY_braille_dots_57 0x1002850 +#define GDK_KEY_braille_dots_157 0x1002851 +#define GDK_KEY_braille_dots_257 0x1002852 +#define GDK_KEY_braille_dots_1257 0x1002853 +#define GDK_KEY_braille_dots_357 0x1002854 +#define GDK_KEY_braille_dots_1357 0x1002855 +#define GDK_KEY_braille_dots_2357 0x1002856 +#define GDK_KEY_braille_dots_12357 0x1002857 +#define GDK_KEY_braille_dots_457 0x1002858 +#define GDK_KEY_braille_dots_1457 0x1002859 +#define GDK_KEY_braille_dots_2457 0x100285a +#define GDK_KEY_braille_dots_12457 0x100285b +#define GDK_KEY_braille_dots_3457 0x100285c +#define GDK_KEY_braille_dots_13457 0x100285d +#define GDK_KEY_braille_dots_23457 0x100285e +#define GDK_KEY_braille_dots_123457 0x100285f +#define GDK_KEY_braille_dots_67 0x1002860 +#define GDK_KEY_braille_dots_167 0x1002861 +#define GDK_KEY_braille_dots_267 0x1002862 +#define GDK_KEY_braille_dots_1267 0x1002863 +#define GDK_KEY_braille_dots_367 0x1002864 +#define GDK_KEY_braille_dots_1367 0x1002865 +#define GDK_KEY_braille_dots_2367 0x1002866 +#define GDK_KEY_braille_dots_12367 0x1002867 +#define GDK_KEY_braille_dots_467 0x1002868 +#define GDK_KEY_braille_dots_1467 0x1002869 +#define GDK_KEY_braille_dots_2467 0x100286a +#define GDK_KEY_braille_dots_12467 0x100286b +#define GDK_KEY_braille_dots_3467 0x100286c +#define GDK_KEY_braille_dots_13467 0x100286d +#define GDK_KEY_braille_dots_23467 0x100286e +#define GDK_KEY_braille_dots_123467 0x100286f +#define GDK_KEY_braille_dots_567 0x1002870 +#define GDK_KEY_braille_dots_1567 0x1002871 +#define GDK_KEY_braille_dots_2567 0x1002872 +#define GDK_KEY_braille_dots_12567 0x1002873 +#define GDK_KEY_braille_dots_3567 0x1002874 +#define GDK_KEY_braille_dots_13567 0x1002875 +#define GDK_KEY_braille_dots_23567 0x1002876 +#define GDK_KEY_braille_dots_123567 0x1002877 +#define GDK_KEY_braille_dots_4567 0x1002878 +#define GDK_KEY_braille_dots_14567 0x1002879 +#define GDK_KEY_braille_dots_24567 0x100287a +#define GDK_KEY_braille_dots_124567 0x100287b +#define GDK_KEY_braille_dots_34567 0x100287c +#define GDK_KEY_braille_dots_134567 0x100287d +#define GDK_KEY_braille_dots_234567 0x100287e +#define GDK_KEY_braille_dots_1234567 0x100287f +#define GDK_KEY_braille_dots_8 0x1002880 +#define GDK_KEY_braille_dots_18 0x1002881 +#define GDK_KEY_braille_dots_28 0x1002882 +#define GDK_KEY_braille_dots_128 0x1002883 +#define GDK_KEY_braille_dots_38 0x1002884 +#define GDK_KEY_braille_dots_138 0x1002885 +#define GDK_KEY_braille_dots_238 0x1002886 +#define GDK_KEY_braille_dots_1238 0x1002887 +#define GDK_KEY_braille_dots_48 0x1002888 +#define GDK_KEY_braille_dots_148 0x1002889 +#define GDK_KEY_braille_dots_248 0x100288a +#define GDK_KEY_braille_dots_1248 0x100288b +#define GDK_KEY_braille_dots_348 0x100288c +#define GDK_KEY_braille_dots_1348 0x100288d +#define GDK_KEY_braille_dots_2348 0x100288e +#define GDK_KEY_braille_dots_12348 0x100288f +#define GDK_KEY_braille_dots_58 0x1002890 +#define GDK_KEY_braille_dots_158 0x1002891 +#define GDK_KEY_braille_dots_258 0x1002892 +#define GDK_KEY_braille_dots_1258 0x1002893 +#define GDK_KEY_braille_dots_358 0x1002894 +#define GDK_KEY_braille_dots_1358 0x1002895 +#define GDK_KEY_braille_dots_2358 0x1002896 +#define GDK_KEY_braille_dots_12358 0x1002897 +#define GDK_KEY_braille_dots_458 0x1002898 +#define GDK_KEY_braille_dots_1458 0x1002899 +#define GDK_KEY_braille_dots_2458 0x100289a +#define GDK_KEY_braille_dots_12458 0x100289b +#define GDK_KEY_braille_dots_3458 0x100289c +#define GDK_KEY_braille_dots_13458 0x100289d +#define GDK_KEY_braille_dots_23458 0x100289e +#define GDK_KEY_braille_dots_123458 0x100289f +#define GDK_KEY_braille_dots_68 0x10028a0 +#define GDK_KEY_braille_dots_168 0x10028a1 +#define GDK_KEY_braille_dots_268 0x10028a2 +#define GDK_KEY_braille_dots_1268 0x10028a3 +#define GDK_KEY_braille_dots_368 0x10028a4 +#define GDK_KEY_braille_dots_1368 0x10028a5 +#define GDK_KEY_braille_dots_2368 0x10028a6 +#define GDK_KEY_braille_dots_12368 0x10028a7 +#define GDK_KEY_braille_dots_468 0x10028a8 +#define GDK_KEY_braille_dots_1468 0x10028a9 +#define GDK_KEY_braille_dots_2468 0x10028aa +#define GDK_KEY_braille_dots_12468 0x10028ab +#define GDK_KEY_braille_dots_3468 0x10028ac +#define GDK_KEY_braille_dots_13468 0x10028ad +#define GDK_KEY_braille_dots_23468 0x10028ae +#define GDK_KEY_braille_dots_123468 0x10028af +#define GDK_KEY_braille_dots_568 0x10028b0 +#define GDK_KEY_braille_dots_1568 0x10028b1 +#define GDK_KEY_braille_dots_2568 0x10028b2 +#define GDK_KEY_braille_dots_12568 0x10028b3 +#define GDK_KEY_braille_dots_3568 0x10028b4 +#define GDK_KEY_braille_dots_13568 0x10028b5 +#define GDK_KEY_braille_dots_23568 0x10028b6 +#define GDK_KEY_braille_dots_123568 0x10028b7 +#define GDK_KEY_braille_dots_4568 0x10028b8 +#define GDK_KEY_braille_dots_14568 0x10028b9 +#define GDK_KEY_braille_dots_24568 0x10028ba +#define GDK_KEY_braille_dots_124568 0x10028bb +#define GDK_KEY_braille_dots_34568 0x10028bc +#define GDK_KEY_braille_dots_134568 0x10028bd +#define GDK_KEY_braille_dots_234568 0x10028be +#define GDK_KEY_braille_dots_1234568 0x10028bf +#define GDK_KEY_braille_dots_78 0x10028c0 +#define GDK_KEY_braille_dots_178 0x10028c1 +#define GDK_KEY_braille_dots_278 0x10028c2 +#define GDK_KEY_braille_dots_1278 0x10028c3 +#define GDK_KEY_braille_dots_378 0x10028c4 +#define GDK_KEY_braille_dots_1378 0x10028c5 +#define GDK_KEY_braille_dots_2378 0x10028c6 +#define GDK_KEY_braille_dots_12378 0x10028c7 +#define GDK_KEY_braille_dots_478 0x10028c8 +#define GDK_KEY_braille_dots_1478 0x10028c9 +#define GDK_KEY_braille_dots_2478 0x10028ca +#define GDK_KEY_braille_dots_12478 0x10028cb +#define GDK_KEY_braille_dots_3478 0x10028cc +#define GDK_KEY_braille_dots_13478 0x10028cd +#define GDK_KEY_braille_dots_23478 0x10028ce +#define GDK_KEY_braille_dots_123478 0x10028cf +#define GDK_KEY_braille_dots_578 0x10028d0 +#define GDK_KEY_braille_dots_1578 0x10028d1 +#define GDK_KEY_braille_dots_2578 0x10028d2 +#define GDK_KEY_braille_dots_12578 0x10028d3 +#define GDK_KEY_braille_dots_3578 0x10028d4 +#define GDK_KEY_braille_dots_13578 0x10028d5 +#define GDK_KEY_braille_dots_23578 0x10028d6 +#define GDK_KEY_braille_dots_123578 0x10028d7 +#define GDK_KEY_braille_dots_4578 0x10028d8 +#define GDK_KEY_braille_dots_14578 0x10028d9 +#define GDK_KEY_braille_dots_24578 0x10028da +#define GDK_KEY_braille_dots_124578 0x10028db +#define GDK_KEY_braille_dots_34578 0x10028dc +#define GDK_KEY_braille_dots_134578 0x10028dd +#define GDK_KEY_braille_dots_234578 0x10028de +#define GDK_KEY_braille_dots_1234578 0x10028df +#define GDK_KEY_braille_dots_678 0x10028e0 +#define GDK_KEY_braille_dots_1678 0x10028e1 +#define GDK_KEY_braille_dots_2678 0x10028e2 +#define GDK_KEY_braille_dots_12678 0x10028e3 +#define GDK_KEY_braille_dots_3678 0x10028e4 +#define GDK_KEY_braille_dots_13678 0x10028e5 +#define GDK_KEY_braille_dots_23678 0x10028e6 +#define GDK_KEY_braille_dots_123678 0x10028e7 +#define GDK_KEY_braille_dots_4678 0x10028e8 +#define GDK_KEY_braille_dots_14678 0x10028e9 +#define GDK_KEY_braille_dots_24678 0x10028ea +#define GDK_KEY_braille_dots_124678 0x10028eb +#define GDK_KEY_braille_dots_34678 0x10028ec +#define GDK_KEY_braille_dots_134678 0x10028ed +#define GDK_KEY_braille_dots_234678 0x10028ee +#define GDK_KEY_braille_dots_1234678 0x10028ef +#define GDK_KEY_braille_dots_5678 0x10028f0 +#define GDK_KEY_braille_dots_15678 0x10028f1 +#define GDK_KEY_braille_dots_25678 0x10028f2 +#define GDK_KEY_braille_dots_125678 0x10028f3 +#define GDK_KEY_braille_dots_35678 0x10028f4 +#define GDK_KEY_braille_dots_135678 0x10028f5 +#define GDK_KEY_braille_dots_235678 0x10028f6 +#define GDK_KEY_braille_dots_1235678 0x10028f7 +#define GDK_KEY_braille_dots_45678 0x10028f8 +#define GDK_KEY_braille_dots_145678 0x10028f9 +#define GDK_KEY_braille_dots_245678 0x10028fa +#define GDK_KEY_braille_dots_1245678 0x10028fb +#define GDK_KEY_braille_dots_345678 0x10028fc +#define GDK_KEY_braille_dots_1345678 0x10028fd +#define GDK_KEY_braille_dots_2345678 0x10028fe +#define GDK_KEY_braille_dots_12345678 0x10028ff +#define GDK_KEY_Sinh_ng 0x1000d82 +#define GDK_KEY_Sinh_h2 0x1000d83 +#define GDK_KEY_Sinh_a 0x1000d85 +#define GDK_KEY_Sinh_aa 0x1000d86 +#define GDK_KEY_Sinh_ae 0x1000d87 +#define GDK_KEY_Sinh_aee 0x1000d88 +#define GDK_KEY_Sinh_i 0x1000d89 +#define GDK_KEY_Sinh_ii 0x1000d8a +#define GDK_KEY_Sinh_u 0x1000d8b +#define GDK_KEY_Sinh_uu 0x1000d8c +#define GDK_KEY_Sinh_ri 0x1000d8d +#define GDK_KEY_Sinh_rii 0x1000d8e +#define GDK_KEY_Sinh_lu 0x1000d8f +#define GDK_KEY_Sinh_luu 0x1000d90 +#define GDK_KEY_Sinh_e 0x1000d91 +#define GDK_KEY_Sinh_ee 0x1000d92 +#define GDK_KEY_Sinh_ai 0x1000d93 +#define GDK_KEY_Sinh_o 0x1000d94 +#define GDK_KEY_Sinh_oo 0x1000d95 +#define GDK_KEY_Sinh_au 0x1000d96 +#define GDK_KEY_Sinh_ka 0x1000d9a +#define GDK_KEY_Sinh_kha 0x1000d9b +#define GDK_KEY_Sinh_ga 0x1000d9c +#define GDK_KEY_Sinh_gha 0x1000d9d +#define GDK_KEY_Sinh_ng2 0x1000d9e +#define GDK_KEY_Sinh_nga 0x1000d9f +#define GDK_KEY_Sinh_ca 0x1000da0 +#define GDK_KEY_Sinh_cha 0x1000da1 +#define GDK_KEY_Sinh_ja 0x1000da2 +#define GDK_KEY_Sinh_jha 0x1000da3 +#define GDK_KEY_Sinh_nya 0x1000da4 +#define GDK_KEY_Sinh_jnya 0x1000da5 +#define GDK_KEY_Sinh_nja 0x1000da6 +#define GDK_KEY_Sinh_tta 0x1000da7 +#define GDK_KEY_Sinh_ttha 0x1000da8 +#define GDK_KEY_Sinh_dda 0x1000da9 +#define GDK_KEY_Sinh_ddha 0x1000daa +#define GDK_KEY_Sinh_nna 0x1000dab +#define GDK_KEY_Sinh_ndda 0x1000dac +#define GDK_KEY_Sinh_tha 0x1000dad +#define GDK_KEY_Sinh_thha 0x1000dae +#define GDK_KEY_Sinh_dha 0x1000daf +#define GDK_KEY_Sinh_dhha 0x1000db0 +#define GDK_KEY_Sinh_na 0x1000db1 +#define GDK_KEY_Sinh_ndha 0x1000db3 +#define GDK_KEY_Sinh_pa 0x1000db4 +#define GDK_KEY_Sinh_pha 0x1000db5 +#define GDK_KEY_Sinh_ba 0x1000db6 +#define GDK_KEY_Sinh_bha 0x1000db7 +#define GDK_KEY_Sinh_ma 0x1000db8 +#define GDK_KEY_Sinh_mba 0x1000db9 +#define GDK_KEY_Sinh_ya 0x1000dba +#define GDK_KEY_Sinh_ra 0x1000dbb +#define GDK_KEY_Sinh_la 0x1000dbd +#define GDK_KEY_Sinh_va 0x1000dc0 +#define GDK_KEY_Sinh_sha 0x1000dc1 +#define GDK_KEY_Sinh_ssha 0x1000dc2 +#define GDK_KEY_Sinh_sa 0x1000dc3 +#define GDK_KEY_Sinh_ha 0x1000dc4 +#define GDK_KEY_Sinh_lla 0x1000dc5 +#define GDK_KEY_Sinh_fa 0x1000dc6 +#define GDK_KEY_Sinh_al 0x1000dca +#define GDK_KEY_Sinh_aa2 0x1000dcf +#define GDK_KEY_Sinh_ae2 0x1000dd0 +#define GDK_KEY_Sinh_aee2 0x1000dd1 +#define GDK_KEY_Sinh_i2 0x1000dd2 +#define GDK_KEY_Sinh_ii2 0x1000dd3 +#define GDK_KEY_Sinh_u2 0x1000dd4 +#define GDK_KEY_Sinh_uu2 0x1000dd6 +#define GDK_KEY_Sinh_ru2 0x1000dd8 +#define GDK_KEY_Sinh_e2 0x1000dd9 +#define GDK_KEY_Sinh_ee2 0x1000dda +#define GDK_KEY_Sinh_ai2 0x1000ddb +#define GDK_KEY_Sinh_o2 0x1000ddc +#define GDK_KEY_Sinh_oo2 0x1000ddd +#define GDK_KEY_Sinh_au2 0x1000dde +#define GDK_KEY_Sinh_lu2 0x1000ddf +#define GDK_KEY_Sinh_ruu2 0x1000df2 +#define GDK_KEY_Sinh_luu2 0x1000df3 +#define GDK_KEY_Sinh_kunddaliya 0x1000df4 +#define GDK_KEY_ModeLock 0x1008ff01 +#define GDK_KEY_MonBrightnessUp 0x1008ff02 +#define GDK_KEY_MonBrightnessDown 0x1008ff03 +#define GDK_KEY_KbdLightOnOff 0x1008ff04 +#define GDK_KEY_KbdBrightnessUp 0x1008ff05 +#define GDK_KEY_KbdBrightnessDown 0x1008ff06 +#define GDK_KEY_Standby 0x1008ff10 +#define GDK_KEY_AudioLowerVolume 0x1008ff11 +#define GDK_KEY_AudioMute 0x1008ff12 +#define GDK_KEY_AudioRaiseVolume 0x1008ff13 +#define GDK_KEY_AudioPlay 0x1008ff14 +#define GDK_KEY_AudioStop 0x1008ff15 +#define GDK_KEY_AudioPrev 0x1008ff16 +#define GDK_KEY_AudioNext 0x1008ff17 +#define GDK_KEY_HomePage 0x1008ff18 +#define GDK_KEY_Mail 0x1008ff19 +#define GDK_KEY_Start 0x1008ff1a +#define GDK_KEY_Search 0x1008ff1b +#define GDK_KEY_AudioRecord 0x1008ff1c +#define GDK_KEY_Calculator 0x1008ff1d +#define GDK_KEY_Memo 0x1008ff1e +#define GDK_KEY_ToDoList 0x1008ff1f +#define GDK_KEY_Calendar 0x1008ff20 +#define GDK_KEY_PowerDown 0x1008ff21 +#define GDK_KEY_ContrastAdjust 0x1008ff22 +#define GDK_KEY_RockerUp 0x1008ff23 +#define GDK_KEY_RockerDown 0x1008ff24 +#define GDK_KEY_RockerEnter 0x1008ff25 +#define GDK_KEY_Back 0x1008ff26 +#define GDK_KEY_Forward 0x1008ff27 +#define GDK_KEY_Stop 0x1008ff28 +#define GDK_KEY_Refresh 0x1008ff29 +#define GDK_KEY_PowerOff 0x1008ff2a +#define GDK_KEY_WakeUp 0x1008ff2b +#define GDK_KEY_Eject 0x1008ff2c +#define GDK_KEY_ScreenSaver 0x1008ff2d +#define GDK_KEY_WWW 0x1008ff2e +#define GDK_KEY_Sleep 0x1008ff2f +#define GDK_KEY_Favorites 0x1008ff30 +#define GDK_KEY_AudioPause 0x1008ff31 +#define GDK_KEY_AudioMedia 0x1008ff32 +#define GDK_KEY_MyComputer 0x1008ff33 +#define GDK_KEY_VendorHome 0x1008ff34 +#define GDK_KEY_LightBulb 0x1008ff35 +#define GDK_KEY_Shop 0x1008ff36 +#define GDK_KEY_History 0x1008ff37 +#define GDK_KEY_OpenURL 0x1008ff38 +#define GDK_KEY_AddFavorite 0x1008ff39 +#define GDK_KEY_HotLinks 0x1008ff3a +#define GDK_KEY_BrightnessAdjust 0x1008ff3b +#define GDK_KEY_Finance 0x1008ff3c +#define GDK_KEY_Community 0x1008ff3d +#define GDK_KEY_AudioRewind 0x1008ff3e +#define GDK_KEY_BackForward 0x1008ff3f +#define GDK_KEY_Launch0 0x1008ff40 +#define GDK_KEY_Launch1 0x1008ff41 +#define GDK_KEY_Launch2 0x1008ff42 +#define GDK_KEY_Launch3 0x1008ff43 +#define GDK_KEY_Launch4 0x1008ff44 +#define GDK_KEY_Launch5 0x1008ff45 +#define GDK_KEY_Launch6 0x1008ff46 +#define GDK_KEY_Launch7 0x1008ff47 +#define GDK_KEY_Launch8 0x1008ff48 +#define GDK_KEY_Launch9 0x1008ff49 +#define GDK_KEY_LaunchA 0x1008ff4a +#define GDK_KEY_LaunchB 0x1008ff4b +#define GDK_KEY_LaunchC 0x1008ff4c +#define GDK_KEY_LaunchD 0x1008ff4d +#define GDK_KEY_LaunchE 0x1008ff4e +#define GDK_KEY_LaunchF 0x1008ff4f +#define GDK_KEY_ApplicationLeft 0x1008ff50 +#define GDK_KEY_ApplicationRight 0x1008ff51 +#define GDK_KEY_Book 0x1008ff52 +#define GDK_KEY_CD 0x1008ff53 +#define GDK_KEY_WindowClear 0x1008ff55 +#define GDK_KEY_Close 0x1008ff56 +#define GDK_KEY_Copy 0x1008ff57 +#define GDK_KEY_Cut 0x1008ff58 +#define GDK_KEY_Display 0x1008ff59 +#define GDK_KEY_DOS 0x1008ff5a +#define GDK_KEY_Documents 0x1008ff5b +#define GDK_KEY_Excel 0x1008ff5c +#define GDK_KEY_Explorer 0x1008ff5d +#define GDK_KEY_Game 0x1008ff5e +#define GDK_KEY_Go 0x1008ff5f +#define GDK_KEY_iTouch 0x1008ff60 +#define GDK_KEY_LogOff 0x1008ff61 +#define GDK_KEY_Market 0x1008ff62 +#define GDK_KEY_Meeting 0x1008ff63 +#define GDK_KEY_MenuKB 0x1008ff65 +#define GDK_KEY_MenuPB 0x1008ff66 +#define GDK_KEY_MySites 0x1008ff67 +#define GDK_KEY_New 0x1008ff68 +#define GDK_KEY_News 0x1008ff69 +#define GDK_KEY_OfficeHome 0x1008ff6a +#define GDK_KEY_Open 0x1008ff6b +#define GDK_KEY_Option 0x1008ff6c +#define GDK_KEY_Paste 0x1008ff6d +#define GDK_KEY_Phone 0x1008ff6e +#define GDK_KEY_Reply 0x1008ff72 +#define GDK_KEY_Reload 0x1008ff73 +#define GDK_KEY_RotateWindows 0x1008ff74 +#define GDK_KEY_RotationPB 0x1008ff75 +#define GDK_KEY_RotationKB 0x1008ff76 +#define GDK_KEY_Save 0x1008ff77 +#define GDK_KEY_ScrollUp 0x1008ff78 +#define GDK_KEY_ScrollDown 0x1008ff79 +#define GDK_KEY_ScrollClick 0x1008ff7a +#define GDK_KEY_Send 0x1008ff7b +#define GDK_KEY_Spell 0x1008ff7c +#define GDK_KEY_SplitScreen 0x1008ff7d +#define GDK_KEY_Support 0x1008ff7e +#define GDK_KEY_TaskPane 0x1008ff7f +#define GDK_KEY_Terminal 0x1008ff80 +#define GDK_KEY_Tools 0x1008ff81 +#define GDK_KEY_Travel 0x1008ff82 +#define GDK_KEY_UserPB 0x1008ff84 +#define GDK_KEY_User1KB 0x1008ff85 +#define GDK_KEY_User2KB 0x1008ff86 +#define GDK_KEY_Video 0x1008ff87 +#define GDK_KEY_WheelButton 0x1008ff88 +#define GDK_KEY_Word 0x1008ff89 +#define GDK_KEY_Xfer 0x1008ff8a +#define GDK_KEY_ZoomIn 0x1008ff8b +#define GDK_KEY_ZoomOut 0x1008ff8c +#define GDK_KEY_Away 0x1008ff8d +#define GDK_KEY_Messenger 0x1008ff8e +#define GDK_KEY_WebCam 0x1008ff8f +#define GDK_KEY_MailForward 0x1008ff90 +#define GDK_KEY_Pictures 0x1008ff91 +#define GDK_KEY_Music 0x1008ff92 +#define GDK_KEY_Battery 0x1008ff93 +#define GDK_KEY_Bluetooth 0x1008ff94 +#define GDK_KEY_WLAN 0x1008ff95 +#define GDK_KEY_UWB 0x1008ff96 +#define GDK_KEY_AudioForward 0x1008ff97 +#define GDK_KEY_AudioRepeat 0x1008ff98 +#define GDK_KEY_AudioRandomPlay 0x1008ff99 +#define GDK_KEY_Subtitle 0x1008ff9a +#define GDK_KEY_AudioCycleTrack 0x1008ff9b +#define GDK_KEY_CycleAngle 0x1008ff9c +#define GDK_KEY_FrameBack 0x1008ff9d +#define GDK_KEY_FrameForward 0x1008ff9e +#define GDK_KEY_Time 0x1008ff9f +#define GDK_KEY_SelectButton 0x1008ffa0 +#define GDK_KEY_View 0x1008ffa1 +#define GDK_KEY_TopMenu 0x1008ffa2 +#define GDK_KEY_Red 0x1008ffa3 +#define GDK_KEY_Green 0x1008ffa4 +#define GDK_KEY_Yellow 0x1008ffa5 +#define GDK_KEY_Blue 0x1008ffa6 +#define GDK_KEY_Suspend 0x1008ffa7 +#define GDK_KEY_Hibernate 0x1008ffa8 +#define GDK_KEY_TouchpadToggle 0x1008ffa9 +#define GDK_KEY_TouchpadOn 0x1008ffb0 +#define GDK_KEY_TouchpadOff 0x1008ffb1 +#define GDK_KEY_Switch_VT_1 0x1008fe01 +#define GDK_KEY_Switch_VT_2 0x1008fe02 +#define GDK_KEY_Switch_VT_3 0x1008fe03 +#define GDK_KEY_Switch_VT_4 0x1008fe04 +#define GDK_KEY_Switch_VT_5 0x1008fe05 +#define GDK_KEY_Switch_VT_6 0x1008fe06 +#define GDK_KEY_Switch_VT_7 0x1008fe07 +#define GDK_KEY_Switch_VT_8 0x1008fe08 +#define GDK_KEY_Switch_VT_9 0x1008fe09 +#define GDK_KEY_Switch_VT_10 0x1008fe0a +#define GDK_KEY_Switch_VT_11 0x1008fe0b +#define GDK_KEY_Switch_VT_12 0x1008fe0c +#define GDK_KEY_Ungrab 0x1008fe20 +#define GDK_KEY_ClearGrab 0x1008fe21 +#define GDK_KEY_Next_VMode 0x1008fe22 +#define GDK_KEY_Prev_VMode 0x1008fe23 +#define GDK_KEY_LogWindowTree 0x1008fe24 +#define GDK_KEY_LogGrabInfo 0x1008fe25 + +#endif /* __GDK_KEYSYMS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkmain.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkmain.h new file mode 100644 index 0000000..d251c42 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkmain.h @@ -0,0 +1,122 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_MAIN_H__ +#define __GDK_MAIN_H__ + +#include +#include + +G_BEGIN_DECLS + + +/* Initialization, exit and events + */ + +#define GDK_PRIORITY_EVENTS (G_PRIORITY_DEFAULT) + +void gdk_parse_args (gint *argc, + gchar ***argv); +void gdk_init (gint *argc, + gchar ***argv); +gboolean gdk_init_check (gint *argc, + gchar ***argv); +void gdk_add_option_entries_libgtk_only (GOptionGroup *group); +void gdk_pre_parse_libgtk_only (void); + +const gchar * gdk_get_program_class (void); +void gdk_set_program_class (const gchar *program_class); + +void gdk_notify_startup_complete (void); +void gdk_notify_startup_complete_with_id (const gchar* startup_id); + +/* Push and pop error handlers for X errors + */ +void gdk_error_trap_push (void); +/* warn unused because you could use pop_ignored otherwise */ +G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop (void); +void gdk_error_trap_pop_ignored (void); + + +const gchar * gdk_get_display_arg_name (void); + +/** + * gdk_get_display: + * + * Gets the name of the display, which usually comes from the + * DISPLAY environment variable or the + * command line option. + * + * Returns: the name of the display. + */ +gchar* gdk_get_display (void); + +#ifndef GDK_MULTIDEVICE_SAFE +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_grab) +GdkGrabStatus gdk_pointer_grab (GdkWindow *window, + gboolean owner_events, + GdkEventMask event_mask, + GdkWindow *confine_to, + GdkCursor *cursor, + guint32 time_); +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_grab) +GdkGrabStatus gdk_keyboard_grab (GdkWindow *window, + gboolean owner_events, + guint32 time_); +#endif /* GDK_MULTIDEVICE_SAFE */ + +#ifndef GDK_MULTIHEAD_SAFE + +#ifndef GDK_MULTIDEVICE_SAFE +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_ungrab) +void gdk_pointer_ungrab (guint32 time_); +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_ungrab) +void gdk_keyboard_ungrab (guint32 time_); +GDK_DEPRECATED_IN_3_0_FOR(gdk_display_device_is_grabbed) +gboolean gdk_pointer_is_grabbed (void); +#endif /* GDK_MULTIDEVICE_SAFE */ + +gint gdk_screen_width (void) G_GNUC_CONST; +gint gdk_screen_height (void) G_GNUC_CONST; + +gint gdk_screen_width_mm (void) G_GNUC_CONST; +gint gdk_screen_height_mm (void) G_GNUC_CONST; + +void gdk_set_double_click_time (guint msec); + +void gdk_beep (void); + +#endif /* GDK_MULTIHEAD_SAFE */ + +void gdk_flush (void); + +void gdk_disable_multidevice (void); + +G_END_DECLS + +#endif /* __GDK_MAIN_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkpango.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkpango.h new file mode 100644 index 0000000..c05d135 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkpango.h @@ -0,0 +1,56 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_PANGO_H__ +#define __GDK_PANGO_H__ + +#include + +G_BEGIN_DECLS + +/************************************************************************/ + +PangoContext *gdk_pango_context_get_for_screen (GdkScreen *screen); +#ifndef GDK_MULTIHEAD_SAFE +PangoContext *gdk_pango_context_get (void); +#endif + + +/* Get a clip region to draw only part of a layout or + * line. index_ranges contains alternating range starts/stops. The + * region is the region which contains the given ranges, i.e. if you + * draw with the region as clip, only the given ranges are drawn. + */ + +cairo_region_t *gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line, + gint x_origin, + gint y_origin, + const gint *index_ranges, + gint n_ranges); +cairo_region_t *gdk_pango_layout_get_clip_region (PangoLayout *layout, + gint x_origin, + gint y_origin, + const gint *index_ranges, + gint n_ranges); + +G_END_DECLS + +#endif /* __GDK_PANGO_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkpixbuf.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkpixbuf.h new file mode 100644 index 0000000..b8b8bda --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkpixbuf.h @@ -0,0 +1,52 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_PIXBUF_H__ +#define __GDK_PIXBUF_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +GdkPixbuf *gdk_pixbuf_get_from_window (GdkWindow *window, + gint src_x, + gint src_y, + gint width, + gint height); + +GdkPixbuf *gdk_pixbuf_get_from_surface (cairo_surface_t *surface, + gint src_x, + gint src_y, + gint width, + gint height); + +G_END_DECLS + +#endif /* __GDK_PIXBUF_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkprivate.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkprivate.h new file mode 100644 index 0000000..7cf006a --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkprivate.h @@ -0,0 +1,40 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#ifndef __GDK_PRIVATE_H__ +#define __GDK_PRIVATE_H__ + +#include + +G_BEGIN_DECLS + +void gdk_window_destroy_notify (GdkWindow *window); + +void gdk_synthesize_window_state (GdkWindow *window, + GdkWindowState unset_flags, + GdkWindowState set_flags); + +G_END_DECLS + +#endif /* __GDK_PRIVATE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkproperty.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkproperty.h new file mode 100644 index 0000000..eca0ae0 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkproperty.h @@ -0,0 +1,91 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_PROPERTY_H__ +#define __GDK_PROPERTY_H__ + +#include + +G_BEGIN_DECLS + + +/** + * GdkPropMode: + * @GDK_PROP_MODE_REPLACE: the new data replaces the existing data. + * @GDK_PROP_MODE_PREPEND: the new data is prepended to the existing data. + * @GDK_PROP_MODE_APPEND: the new data is appended to the existing data. + * + * Describes how existing data is combined with new data when + * using gdk_property_change(). + */ +typedef enum +{ + GDK_PROP_MODE_REPLACE, + GDK_PROP_MODE_PREPEND, + GDK_PROP_MODE_APPEND +} GdkPropMode; + + +GdkAtom gdk_atom_intern (const gchar *atom_name, + gboolean only_if_exists); +GdkAtom gdk_atom_intern_static_string (const gchar *atom_name); +gchar* gdk_atom_name (GdkAtom atom); + + +gboolean gdk_property_get (GdkWindow *window, + GdkAtom property, + GdkAtom type, + gulong offset, + gulong length, + gint pdelete, + GdkAtom *actual_property_type, + gint *actual_format, + gint *actual_length, + guchar **data); +void gdk_property_change (GdkWindow *window, + GdkAtom property, + GdkAtom type, + gint format, + GdkPropMode mode, + const guchar *data, + gint nelements); +void gdk_property_delete (GdkWindow *window, + GdkAtom property); + +gint gdk_text_property_to_utf8_list_for_display (GdkDisplay *display, + GdkAtom encoding, + gint format, + const guchar *text, + gint length, + gchar ***list); + +gchar *gdk_utf8_to_string_target (const gchar *str); + +G_END_DECLS + +#endif /* __GDK_PROPERTY_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkrectangle.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkrectangle.h new file mode 100644 index 0000000..f3ad7a0 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkrectangle.h @@ -0,0 +1,51 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_RECTANGLE_H__ +#define __GDK_RECTANGLE_H__ + +#include + +G_BEGIN_DECLS + +/* Rectangle utilities + */ +gboolean gdk_rectangle_intersect (const GdkRectangle *src1, + const GdkRectangle *src2, + GdkRectangle *dest); +void gdk_rectangle_union (const GdkRectangle *src1, + const GdkRectangle *src2, + GdkRectangle *dest); + +GType gdk_rectangle_get_type (void) G_GNUC_CONST; + +#define GDK_TYPE_RECTANGLE (gdk_rectangle_get_type ()) + +G_END_DECLS + +#endif /* __GDK__RECTANGLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkrgba.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkrgba.h new file mode 100644 index 0000000..3e6aed5 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkrgba.h @@ -0,0 +1,62 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_RGBA_H__ +#define __GDK_RGBA_H__ + +#include + +G_BEGIN_DECLS + +struct _GdkRGBA +{ + gdouble red; + gdouble green; + gdouble blue; + gdouble alpha; +}; + +#define GDK_TYPE_RGBA (gdk_rgba_get_type ()) + +GType gdk_rgba_get_type (void) G_GNUC_CONST; + +GdkRGBA * gdk_rgba_copy (const GdkRGBA *rgba); +void gdk_rgba_free (GdkRGBA *rgba); + +guint gdk_rgba_hash (gconstpointer p); +gboolean gdk_rgba_equal (gconstpointer p1, + gconstpointer p2); + +gboolean gdk_rgba_parse (GdkRGBA *rgba, + const gchar *spec); +gchar * gdk_rgba_to_string (const GdkRGBA *rgba); + + +G_END_DECLS + +#endif /* __GDK_RGBA_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkscreen.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkscreen.h new file mode 100644 index 0000000..b26f261 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkscreen.h @@ -0,0 +1,100 @@ +/* + * gdkscreen.h + * + * Copyright 2001 Sun Microsystems Inc. + * + * Erwann Chenede + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_SCREEN_H__ +#define __GDK_SCREEN_H__ + +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_SCREEN (gdk_screen_get_type ()) +#define GDK_SCREEN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_SCREEN, GdkScreen)) +#define GDK_IS_SCREEN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_SCREEN)) + + +GType gdk_screen_get_type (void) G_GNUC_CONST; + +GdkVisual * gdk_screen_get_system_visual (GdkScreen *screen); +GdkVisual * gdk_screen_get_rgba_visual (GdkScreen *screen); +gboolean gdk_screen_is_composited (GdkScreen *screen); + +GdkWindow * gdk_screen_get_root_window (GdkScreen *screen); +GdkDisplay * gdk_screen_get_display (GdkScreen *screen); +gint gdk_screen_get_number (GdkScreen *screen); +gint gdk_screen_get_width (GdkScreen *screen); +gint gdk_screen_get_height (GdkScreen *screen); +gint gdk_screen_get_width_mm (GdkScreen *screen); +gint gdk_screen_get_height_mm (GdkScreen *screen); + +GList * gdk_screen_list_visuals (GdkScreen *screen); +GList * gdk_screen_get_toplevel_windows (GdkScreen *screen); +gchar * gdk_screen_make_display_name (GdkScreen *screen); + +gint gdk_screen_get_n_monitors (GdkScreen *screen); +gint gdk_screen_get_primary_monitor (GdkScreen *screen); +void gdk_screen_get_monitor_geometry (GdkScreen *screen, + gint monitor_num, + GdkRectangle *dest); +GDK_AVAILABLE_IN_3_4 +void gdk_screen_get_monitor_workarea (GdkScreen *screen, + gint monitor_num, + GdkRectangle *dest); + +gint gdk_screen_get_monitor_at_point (GdkScreen *screen, + gint x, + gint y); +gint gdk_screen_get_monitor_at_window (GdkScreen *screen, + GdkWindow *window); +gint gdk_screen_get_monitor_width_mm (GdkScreen *screen, + gint monitor_num); +gint gdk_screen_get_monitor_height_mm (GdkScreen *screen, + gint monitor_num); +gchar * gdk_screen_get_monitor_plug_name (GdkScreen *screen, + gint monitor_num); + +GdkScreen *gdk_screen_get_default (void); + +gboolean gdk_screen_get_setting (GdkScreen *screen, + const gchar *name, + GValue *value); + +void gdk_screen_set_font_options (GdkScreen *screen, + const cairo_font_options_t *options); +const cairo_font_options_t *gdk_screen_get_font_options (GdkScreen *screen); + +void gdk_screen_set_resolution (GdkScreen *screen, + gdouble dpi); +gdouble gdk_screen_get_resolution (GdkScreen *screen); + +GdkWindow *gdk_screen_get_active_window (GdkScreen *screen); +GList *gdk_screen_get_window_stack (GdkScreen *screen); + +G_END_DECLS + +#endif /* __GDK_SCREEN_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkselection.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkselection.h new file mode 100644 index 0000000..f8a5195 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkselection.h @@ -0,0 +1,208 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_SELECTION_H__ +#define __GDK_SELECTION_H__ + +#include + +G_BEGIN_DECLS + +/* Predefined atoms relating to selections. In general, one will need to use + * gdk_intern_atom + */ +/** + * GDK_SELECTION_PRIMARY: + * + * A #GdkAtom representing the PRIMARY selection. + */ +#define GDK_SELECTION_PRIMARY _GDK_MAKE_ATOM (1) + +/** + * GDK_SELECTION_SECONDARY: + * + * A #GdkAtom representing the SECONDARY selection. + */ +#define GDK_SELECTION_SECONDARY _GDK_MAKE_ATOM (2) + +/** + * GDK_SELECTION_CLIPBOARD: + * + * A #GdkAtom representing the CLIPBOARD selection. + */ +#define GDK_SELECTION_CLIPBOARD _GDK_MAKE_ATOM (69) + +/** + * GDK_TARGET_BITMAP: + * + * A #GdkAtom representing the BITMAP selection target. + */ +#define GDK_TARGET_BITMAP _GDK_MAKE_ATOM (5) + +/** + * GDK_TARGET_COLORMAP: + * + * A #GdkAtom representing the COLORMAP selection target. + */ +#define GDK_TARGET_COLORMAP _GDK_MAKE_ATOM (7) + +/** + * GDK_TARGET_DRAWABLE: + * + * A #GdkAtom representing the DRAWABLE selection target. + */ +#define GDK_TARGET_DRAWABLE _GDK_MAKE_ATOM (17) + +/** + * GDK_TARGET_PIXMAP: + * + * A #GdkAtom representing the PIXMAP selection target. + */ +#define GDK_TARGET_PIXMAP _GDK_MAKE_ATOM (20) + +/** + * GDK_TARGET_STRING: + * + * A #GdkAtom representing the STRING selection target. + */ +#define GDK_TARGET_STRING _GDK_MAKE_ATOM (31) + +/** + * GDK_SELECTION_TYPE_ATOM: + * + * A #GdkAtom representing the ATOM selection type. + */ +#define GDK_SELECTION_TYPE_ATOM _GDK_MAKE_ATOM (4) + +/** + * GDK_SELECTION_TYPE_BITMAP: + * + * A #GdkAtom representing the BITMAP selection type. + */ +#define GDK_SELECTION_TYPE_BITMAP _GDK_MAKE_ATOM (5) + +/** + * GDK_SELECTION_TYPE_COLORMAP: + * + * A #GdkAtom representing the COLORMAP selection type. + */ +#define GDK_SELECTION_TYPE_COLORMAP _GDK_MAKE_ATOM (7) + +/** + * GDK_SELECTION_TYPE_DRAWABLE: + * + * A #GdkAtom representing the DRAWABLE selection type. + */ +#define GDK_SELECTION_TYPE_DRAWABLE _GDK_MAKE_ATOM (17) + +/** + * GDK_SELECTION_TYPE_INTEGER: + * + * A #GdkAtom representing the INTEGER selection type. + */ +#define GDK_SELECTION_TYPE_INTEGER _GDK_MAKE_ATOM (19) + +/** + * GDK_SELECTION_TYPE_PIXMAP: + * + * A #GdkAtom representing the PIXMAP selection type. + */ +#define GDK_SELECTION_TYPE_PIXMAP _GDK_MAKE_ATOM (20) + +/** + * GDK_SELECTION_TYPE_WINDOW: + * + * A #GdkAtom representing the WINDOW selection type. + */ +#define GDK_SELECTION_TYPE_WINDOW _GDK_MAKE_ATOM (33) + +/** + * GDK_SELECTION_TYPE_STRING: + * + * A #GdkAtom representing the STRING selection type. + */ +#define GDK_SELECTION_TYPE_STRING _GDK_MAKE_ATOM (31) + +/* Selections + */ + +#ifndef GDK_MULTIHEAD_SAFE +gboolean gdk_selection_owner_set (GdkWindow *owner, + GdkAtom selection, + guint32 time_, + gboolean send_event); +GdkWindow* gdk_selection_owner_get (GdkAtom selection); +#endif/* GDK_MULTIHEAD_SAFE */ + +gboolean gdk_selection_owner_set_for_display (GdkDisplay *display, + GdkWindow *owner, + GdkAtom selection, + guint32 time_, + gboolean send_event); +GdkWindow *gdk_selection_owner_get_for_display (GdkDisplay *display, + GdkAtom selection); + +/** + * gdk_selection_convert: + * @requestor: a #GdkWindow. + * @selection: an atom identifying the selection to get the + * contents of. + * @target: the form in which to retrieve the selection. + * @time_: the timestamp to use when retrieving the + * selection. The selection owner may refuse the + * request if it did not own the selection at + * the time indicated by the timestamp. + * + * Retrieves the contents of a selection in a given + * form. + */ +void gdk_selection_convert (GdkWindow *requestor, + GdkAtom selection, + GdkAtom target, + guint32 time_); +gint gdk_selection_property_get (GdkWindow *requestor, + guchar **data, + GdkAtom *prop_type, + gint *prop_format); + +void gdk_selection_send_notify (GdkWindow *requestor, + GdkAtom selection, + GdkAtom target, + GdkAtom property, + guint32 time_); + +void gdk_selection_send_notify_for_display (GdkDisplay *display, + GdkWindow *requestor, + GdkAtom selection, + GdkAtom target, + GdkAtom property, + guint32 time_); + +G_END_DECLS + +#endif /* __GDK_SELECTION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdktestutils.h b/gtk+-mingw/include/gtk-3.0/gdk/gdktestutils.h new file mode 100644 index 0000000..39f19c7 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdktestutils.h @@ -0,0 +1,58 @@ +/* Gdk testing utilities + * Copyright (C) 2007 Imendio AB + * Authors: Tim Janik + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_TEST_UTILS_H__ +#define __GDK_TEST_UTILS_H__ + +#include + +G_BEGIN_DECLS + + +/** + * SECTION:gdktesting + * @Short_description: Test utilities + * @Title: Testing + * + * The functions in this section are intended to be used in test programs. + * They allow to simulate some user input. + */ + + +/* --- Gdk Test Utility API --- */ +void gdk_test_render_sync (GdkWindow *window); +gboolean gdk_test_simulate_key (GdkWindow *window, + gint x, + gint y, + guint keyval, + GdkModifierType modifiers, + GdkEventType key_pressrelease); +gboolean gdk_test_simulate_button (GdkWindow *window, + gint x, + gint y, + guint button, /*1..3*/ + GdkModifierType modifiers, + GdkEventType button_pressrelease); + +G_END_DECLS + +#endif /* __GDK_TEST_UTILS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkthreads.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkthreads.h new file mode 100644 index 0000000..74e4899 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkthreads.h @@ -0,0 +1,87 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_THREADS_H__ +#define __GDK_THREADS_H__ + +#include + +G_BEGIN_DECLS + +void gdk_threads_init (void); +void gdk_threads_enter (void); +void gdk_threads_leave (void); +void gdk_threads_set_lock_functions (GCallback enter_fn, + GCallback leave_fn); + +guint gdk_threads_add_idle_full (gint priority, + GSourceFunc function, + gpointer data, + GDestroyNotify notify); +guint gdk_threads_add_idle (GSourceFunc function, + gpointer data); +guint gdk_threads_add_timeout_full (gint priority, + guint interval, + GSourceFunc function, + gpointer data, + GDestroyNotify notify); +guint gdk_threads_add_timeout (guint interval, + GSourceFunc function, + gpointer data); +guint gdk_threads_add_timeout_seconds_full (gint priority, + guint interval, + GSourceFunc function, + gpointer data, + GDestroyNotify notify); +guint gdk_threads_add_timeout_seconds (guint interval, + GSourceFunc function, + gpointer data); + +/** + * GDK_THREADS_ENTER: + * + * This macro marks the beginning of a critical section in which GDK and + * GTK+ functions can be called safely and without causing race + * conditions. Only one thread at a time can be in such a critial + * section. The macro expands to a no-op if #G_THREADS_ENABLED has not + * been defined. Typically gdk_threads_enter() should be used instead of + * this macro. + */ +#define GDK_THREADS_ENTER() gdk_threads_enter() + +/** + * GDK_THREADS_LEAVE: + * + * This macro marks the end of a critical section + * begun with #GDK_THREADS_ENTER. + */ +#define GDK_THREADS_LEAVE() gdk_threads_leave() + +G_END_DECLS + +#endif /* __GDK_THREADS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdktypes.h b/gtk+-mingw/include/gtk-3.0/gdk/gdktypes.h new file mode 100644 index 0000000..2b25473 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdktypes.h @@ -0,0 +1,421 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_TYPES_H__ +#define __GDK_TYPES_H__ + +/* GDK uses "glib". (And so does GTK). + */ +#include +#include +#include +#include + +/* The system specific file gdkconfig.h contains such configuration + * settings that are needed not only when compiling GDK (or GTK) + * itself, but also occasionally when compiling programs that use GDK + * (or GTK). One such setting is what windowing API backend is in use. + */ +#include + +/* some common magic values */ + +/** + * GDK_CURRENT_TIME: + * + * Represents the current time, and can be used anywhere a time is expected. + */ +#define GDK_CURRENT_TIME 0L + +/** + * GDK_PARENT_RELATIVE: + * + * A special value, indicating that the background + * for a window should be inherited from the parent window. + */ +#define GDK_PARENT_RELATIVE 1L + + + +G_BEGIN_DECLS + + +/* Type definitions for the basic structures. + */ +typedef struct _GdkPoint GdkPoint; + +/** + * GdkRectangle: + * + * Defines the position and size of a rectangle. It is identical to + * #cairo_rectangle_int_t. + */ +typedef cairo_rectangle_int_t GdkRectangle; + +/** + * GdkAtom: + * + * An opaque type representing a string as an index into a table + * of strings on the X server. + */ +typedef struct _GdkAtom *GdkAtom; + +/** + * GDK_ATOM_TO_POINTER: + * @atom: a #GdkAtom. + * + * Converts a #GdkAtom into a pointer type. + */ +#define GDK_ATOM_TO_POINTER(atom) (atom) + +/** + * GDK_POINTER_TO_ATOM: + * @ptr: a pointer containing a #GdkAtom. + * + * Extracts a #GdkAtom from a pointer. The #GdkAtom must have been + * stored in the pointer with GDK_ATOM_TO_POINTER(). + */ +#define GDK_POINTER_TO_ATOM(ptr) ((GdkAtom)(ptr)) + +#define _GDK_MAKE_ATOM(val) ((GdkAtom)GUINT_TO_POINTER(val)) + +/** + * GDK_NONE: + * + * A null value for #GdkAtom, used in a similar way as + * None in the Xlib API. + */ +#define GDK_NONE _GDK_MAKE_ATOM (0) + +/* Forward declarations of commonly used types */ +typedef struct _GdkColor GdkColor; +typedef struct _GdkRGBA GdkRGBA; +typedef struct _GdkCursor GdkCursor; +typedef struct _GdkVisual GdkVisual; +typedef struct _GdkDevice GdkDevice; +typedef struct _GdkDragContext GdkDragContext; + +typedef struct _GdkDisplayManager GdkDisplayManager; +typedef struct _GdkDeviceManager GdkDeviceManager; +typedef struct _GdkDisplay GdkDisplay; +typedef struct _GdkScreen GdkScreen; +typedef struct _GdkWindow GdkWindow; +typedef struct _GdkKeymap GdkKeymap; +typedef struct _GdkAppLaunchContext GdkAppLaunchContext; + +/** + * GdkByteOrder: + * @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 most-significant byte + * first. For instance, the 32-bit value 0xffeecc would be stored + * in memory as 0x00, 0xff, 0xee, 0xcc. + * + * A set of values describing the possible byte-orders + * for storing pixel values in memory. + */ +typedef enum +{ + GDK_LSB_FIRST, + GDK_MSB_FIRST +} GdkByteOrder; + +/* Types of modifiers. + */ +/** + * GdkModifierType: + * @GDK_SHIFT_MASK: the Shift key. + * @GDK_LOCK_MASK: a Lock key (depending on the modifier mapping of the + * X server this may either be CapsLock or ShiftLock). + * @GDK_CONTROL_MASK: the Control key. + * @GDK_MOD1_MASK: the fourth modifier key (it depends on the modifier + * mapping of the X server which key is interpreted as this modifier, but + * normally it is the Alt key). + * @GDK_MOD2_MASK: the fifth modifier key (it depends on the modifier + * mapping of the X server which key is interpreted as this modifier). + * @GDK_MOD3_MASK: the sixth modifier key (it depends on the modifier + * mapping of the X server which key is interpreted as this modifier). + * @GDK_MOD4_MASK: the seventh modifier key (it depends on the modifier + * mapping of the X server which key is interpreted as this modifier). + * @GDK_MOD5_MASK: the eighth modifier key (it depends on the modifier + * mapping of the X server which key is interpreted as this modifier). + * @GDK_BUTTON1_MASK: the first mouse button. + * @GDK_BUTTON2_MASK: the second mouse button. + * @GDK_BUTTON3_MASK: the third mouse button. + * @GDK_BUTTON4_MASK: the fourth mouse button. + * @GDK_BUTTON5_MASK: the fifth mouse button. + * @GDK_MODIFIER_RESERVED_13_MASK: A reserved bit flag; do not use in your own code + * @GDK_SUPER_MASK: the Super modifier. Since 2.10 + * @GDK_HYPER_MASK: the Hyper modifier. Since 2.10 + * @GDK_META_MASK: the Meta modifier. Since 2.10 + * @GDK_RELEASE_MASK: not used in GDK itself. GTK+ uses it to differentiate + * between (keyval, modifiers) pairs from key press and release events. + * @GDK_MODIFIER_MASK: a mask covering all modifier types. + * + * A set of bit-flags to indicate the state of modifier keys and mouse buttons + * in various event types. Typical modifier keys are Shift, Control, Meta, + * Super, Hyper, Alt, Compose, Apple, CapsLock or ShiftLock. + * + * Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons. + * + * Since 2.10, GDK recognizes which of the Meta, Super or Hyper keys are mapped + * to Mod2 - Mod5, and indicates this by setting %GDK_SUPER_MASK, + * %GDK_HYPER_MASK or %GDK_META_MASK in the state field of key events. + * + * Note that GDK may add internal values to events which include + * reserved values such as %GDK_MODIFIER_RESERVED_13_MASK. Your code + * should preserve and ignore them. You can use %GDK_MODIFIER_MASK to + * remove all reserved values. + */ +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_MODIFIER_RESERVED_13_MASK = 1 << 13, + GDK_MODIFIER_RESERVED_14_MASK = 1 << 14, + GDK_MODIFIER_RESERVED_15_MASK = 1 << 15, + GDK_MODIFIER_RESERVED_16_MASK = 1 << 16, + GDK_MODIFIER_RESERVED_17_MASK = 1 << 17, + GDK_MODIFIER_RESERVED_18_MASK = 1 << 18, + GDK_MODIFIER_RESERVED_19_MASK = 1 << 19, + GDK_MODIFIER_RESERVED_20_MASK = 1 << 20, + GDK_MODIFIER_RESERVED_21_MASK = 1 << 21, + GDK_MODIFIER_RESERVED_22_MASK = 1 << 22, + GDK_MODIFIER_RESERVED_23_MASK = 1 << 23, + GDK_MODIFIER_RESERVED_24_MASK = 1 << 24, + GDK_MODIFIER_RESERVED_25_MASK = 1 << 25, + + /* The next few modifiers are used by XKB, so we skip to the end. + * Bits 15 - 25 are currently unused. Bit 29 is used internally. + */ + + GDK_SUPER_MASK = 1 << 26, + GDK_HYPER_MASK = 1 << 27, + GDK_META_MASK = 1 << 28, + + GDK_MODIFIER_RESERVED_29_MASK = 1 << 29, + + GDK_RELEASE_MASK = 1 << 30, + + /* Combination of GDK_SHIFT_MASK..GDK_BUTTON5_MASK + GDK_SUPER_MASK + + GDK_HYPER_MASK + GDK_META_MASK + GDK_RELEASE_MASK */ + GDK_MODIFIER_MASK = 0x5c001fff +} GdkModifierType; + +/** + * GdkModifierIntent: + * @GDK_MODIFIER_INTENT_PRIMARY_ACCELERATOR: the primary modifier used to invoke + * menu accelerators. + * @GDK_MODIFIER_INTENT_CONTEXT_MENU: the modifier used to invoke context menus. + * Note that mouse button 3 always triggers context menus. When this modifier + * is not 0, it additionally triggers context menus when used + * with mouse button 1. + * @GDK_MODIFIER_INTENT_EXTEND_SELECTION: the modifier used to extend selections + * using <modifier>-click or <modifier>-cursor-key + * @GDK_MODIFIER_INTENT_MODIFY_SELECTION: the modifier used to modify selections, + * which in most cases means toggling the clicked item into or out of the selection. + * @GDK_MODIFIER_INTENT_NO_TEXT_INPUT: when any of these modifiers is pressed, the + * key event cannot produce a symbol directly. This is meant to be used for + * input methods, and for use cases like typeahead search. + * @GDK_MODIFIER_INTENT_SHIFT_GROUP: the modifier that switches between keyboard + * groups (AltGr on X11/Windows and Option/Alt on OS X). + * + * This enum is used with gdk_keymap_get_modifier_mask() and + * gdk_get_modifier_mask() in order to determine what modifiers the + * currently used windowing system backend uses for particular + * purposes. For example, on X11/Windows, the Control key is used for + * invoking menu shortcuts (accelerators), whereas on Apple computers + * it's the Command key (which correspond to %GDK_CONTROL_MASK and + * %GDK_MOD2_MASK, respectively). + * + * Since: 3.4 + **/ +typedef enum +{ + GDK_MODIFIER_INTENT_PRIMARY_ACCELERATOR, + GDK_MODIFIER_INTENT_CONTEXT_MENU, + GDK_MODIFIER_INTENT_EXTEND_SELECTION, + GDK_MODIFIER_INTENT_MODIFY_SELECTION, + GDK_MODIFIER_INTENT_NO_TEXT_INPUT, + GDK_MODIFIER_INTENT_SHIFT_GROUP +} GdkModifierIntent; + +typedef enum +{ + GDK_OK = 0, + GDK_ERROR = -1, + GDK_ERROR_PARAM = -2, + GDK_ERROR_FILE = -3, + GDK_ERROR_MEM = -4 +} GdkStatus; + +/** + * GdkGrabStatus: + * @GDK_GRAB_SUCCESS: the resource was successfully grabbed. + * @GDK_GRAB_ALREADY_GRABBED: the resource is actively grabbed by another client. + * @GDK_GRAB_INVALID_TIME: the resource was grabbed more recently than the + * specified time. + * @GDK_GRAB_NOT_VIEWABLE: the grab window or the @confine_to window are not + * viewable. + * @GDK_GRAB_FROZEN: the resource is frozen by an active grab of another client. + * + * Returned by gdk_pointer_grab() and gdk_keyboard_grab() to indicate + * success or the reason for the failure of the grab attempt. + */ +typedef enum +{ + GDK_GRAB_SUCCESS = 0, + GDK_GRAB_ALREADY_GRABBED = 1, + GDK_GRAB_INVALID_TIME = 2, + GDK_GRAB_NOT_VIEWABLE = 3, + GDK_GRAB_FROZEN = 4 +} GdkGrabStatus; + +/** + * GdkGrabOwnership: + * @GDK_OWNERSHIP_NONE: All other devices' events are allowed. + * @GDK_OWNERSHIP_WINDOW: Other devices' events are blocked for the grab window. + * @GDK_OWNERSHIP_APPLICATION: Other devices' events are blocked for the whole application. + * + * Defines how device grabs interact with other devices. + */ +typedef enum +{ + GDK_OWNERSHIP_NONE, + GDK_OWNERSHIP_WINDOW, + GDK_OWNERSHIP_APPLICATION +} GdkGrabOwnership; + +/** + * GdkEventMask: + * @GDK_EXPOSURE_MASK: receive expose events + * @GDK_POINTER_MOTION_MASK: receive all pointer motion events + * @GDK_POINTER_MOTION_HINT_MASK: see the explanation above + * @GDK_BUTTON_MOTION_MASK: receive pointer motion events while any button is pressed + * @GDK_BUTTON1_MOTION_MASK: receive pointer motion events while 1 button is pressed + * @GDK_BUTTON2_MOTION_MASK: receive pointer motion events while 2 button is pressed + * @GDK_BUTTON3_MOTION_MASK: receive pointer motion events while 3 button is pressed + * @GDK_BUTTON_PRESS_MASK: receive button press events + * @GDK_BUTTON_RELEASE_MASK: receive button release events + * @GDK_KEY_PRESS_MASK: receive key press events + * @GDK_KEY_RELEASE_MASK: receive key release events + * @GDK_ENTER_NOTIFY_MASK: receive window enter events + * @GDK_LEAVE_NOTIFY_MASK: receive window leave events + * @GDK_FOCUS_CHANGE_MASK: receive focus change events + * @GDK_STRUCTURE_MASK: receive events about window configuration change + * @GDK_PROPERTY_CHANGE_MASK: receive property change events + * @GDK_VISIBILITY_NOTIFY_MASK: receive visibility change events + * @GDK_PROXIMITY_IN_MASK: receive proximity in events + * @GDK_PROXIMITY_OUT_MASK: receive proximity out events + * @GDK_SUBSTRUCTURE_MASK: receive events about window configuration changes of + * child windows + * @GDK_SCROLL_MASK: receive scroll events + * @GDK_TOUCH_MASK: receive touch events. Since 3.4 + * @GDK_SMOOTH_SCROLL_MASK: receive smooth scrolling events. Since 3.4 + * @GDK_ALL_EVENTS_MASK: the combination of all the above event masks. + * + * A set of bit-flags to indicate which events a window is to receive. + * Most of these masks map onto one or more of the #GdkEventType event types + * above. + * + * %GDK_POINTER_MOTION_HINT_MASK is a special mask which is used to reduce the + * number of %GDK_MOTION_NOTIFY events received. Normally a %GDK_MOTION_NOTIFY + * event is received each time the mouse moves. However, if the application + * spends a lot of time processing the event (updating the display, for example), + * it can lag behind the position of the mouse. When using + * %GDK_POINTER_MOTION_HINT_MASK, fewer %GDK_MOTION_NOTIFY events will be sent, + * some of which are marked as a hint (the is_hint member is %TRUE). + * To receive more motion events after a motion hint event, the application + * needs to asks for more, by calling gdk_event_request_motions(). + * + * If %GDK_TOUCH_MASK is enabled, the window will receive touch events + * from touch-enabled devices. Those will come as sequences of #GdkEventTouch + * with type %GDK_TOUCH_UPDATE, enclosed by two events with + * type %GDK_TOUCH_BEGIN and %GDK_TOUCH_END (or %GDK_TOUCH_CANCEL). + * gdk_event_get_event_sequence() returns the event sequence for these + * events, so different sequences may be distinguished. + */ +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_SCROLL_MASK = 1 << 21, + GDK_TOUCH_MASK = 1 << 22, + GDK_SMOOTH_SCROLL_MASK = 1 << 23, + GDK_ALL_EVENTS_MASK = 0xFFFFFE +} GdkEventMask; + +/** + * GdkPoint: + * @x: the x coordinate of the point. + * @y: the y coordinate of the point. + * + * Defines the x and y coordinates of a point. + */ +struct _GdkPoint +{ + gint x; + gint y; +}; + + +G_END_DECLS + + +#endif /* __GDK_TYPES_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkversionmacros.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkversionmacros.h new file mode 100644 index 0000000..c950bb8 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkversionmacros.h @@ -0,0 +1,220 @@ +/* gdkversionmacros.h - version boundaries checks + * Copyright (C) 2012 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.▸ See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_VERSION_MACROS_H__ +#define __GDK_VERSION_MACROS_H__ + +#include + +#define GDK_MAJOR_VERSION (3) +#define GDK_MINOR_VERSION (5) +#define GDK_MICRO_VERSION (4) + +/** + * GDK_DISABLE_DEPRECATION_WARNINGS: + * + * A macro that should be defined before including the gdk.h header. + * If it is defined, no compiler warnings will be produced for uses + * of deprecated GDK and GTK+ APIs. + */ + +#ifdef GDK_DISABLE_DEPRECATION_WARNINGS +#define GDK_DEPRECATED +#define GDK_DEPRECATED_FOR(f) +#define GDK_UNAVAILABLE(maj,min) +#else +#define GDK_DEPRECATED G_DEPRECATED +#define GDK_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) +#define GDK_UNAVAILABLE(maj,min) G_UNAVAILABLE(maj,min) +#endif + +/* XXX: Every new stable minor release bump should add a macro here */ + +/** + * GDK_VERSION_3_0: + * + * A macro that evaluates to the 3.0 version of GDK, in a format + * that can be used by the C pre-processor. + * + * Since: 3.4 + */ +#define GDK_VERSION_3_0 (G_ENCODE_VERSION (3, 0)) + +/** + * GDK_VERSION_3_2: + * + * A macro that evaluates to the 3.2 version of GDK, in a format + * that can be used by the C pre-processor. + * + * Since: 3.4 + */ +#define GDK_VERSION_3_2 (G_ENCODE_VERSION (3, 2)) + +/** + * GDK_VERSION_3_4: + * + * A macro that evaluates to the 3.4 version of GDK, in a format + * that can be used by the C pre-processor. + * + * Since: 3.4 + */ +#define GDK_VERSION_3_4 (G_ENCODE_VERSION (3, 4)) + +/** + * GDK_VERSION_3_6: + * + * A macro that evaluates to the 3.6 version of GDK, in a format + * that can be used by the C pre-processor. + * + * Since: 3.6 + */ +#define GDK_VERSION_3_6 (G_ENCODE_VERSION (3, 6)) + + +/* evaluates to the current stable version; for development cycles, + * this means the next stable target + */ +#if (GDK_MINOR_VERSION % 2) +#define GDK_VERSION_CUR_STABLE (G_ENCODE_VERSION (GDK_MAJOR_VERSION, GDK_MINOR_VERSION + 1)) +#else +#define GDK_VERSION_CUR_STABLE (G_ENCODE_VERSION (GDK_MAJOR_VERSION, GDK_MINOR_VERSION)) +#endif + +/* evaluates to the previous stable version */ +#if (GDK_MINOR_VERSION % 2) +#define GDK_VERSION_PREV_STABLE (G_ENCODE_VERSION (GDK_MAJOR_VERSION, GDK_MINOR_VERSION - 1)) +#else +#define GDK_VERSION_PREV_STABLE (G_ENCODE_VERSION (GDK_MAJOR_VERSION, GDK_MINOR_VERSION - 2)) +#endif + +/** + * GDK_VERSION_MIN_REQUIRED: + * + * A macro that should be defined by the user prior to including + * the gdk.h header. + * The definition should be one of the predefined GDK version + * macros: %GDK_VERSION_3_0, %GDK_VERSION_3_2,... + * + * This macro defines the lower bound for the GDK API to use. + * + * If a function has been deprecated in a newer version of GDK, + * it is possible to use this symbol to avoid the compiler warnings + * without disabling warning for every deprecated function. + * + * Since: 3.4 + */ +#ifndef GDK_VERSION_MIN_REQUIRED +# define GDK_VERSION_MIN_REQUIRED (GDK_VERSION_CUR_STABLE) +#endif + +/** + * GDK_VERSION_MAX_ALLOWED: + * + * A macro that should be defined by the user prior to including + * the gdk.h header. + * The definition should be one of the predefined GDK version + * macros: %GDK_VERSION_3_0, %GDK_VERSION_3_2,... + * + * This macro defines the upper bound for the GDK API to use. + * + * If a function has been introduced in a newer version of GDK, + * it is possible to use this symbol to get compiler warnings when + * trying to use that function. + * + * Since: 3.4 + */ +#ifndef GDK_VERSION_MAX_ALLOWED +# if GDK_VERSION_MIN_REQUIRED > GDK_VERSION_PREV_STABLE +# define GDK_VERSION_MAX_ALLOWED GDK_VERSION_MIN_REQUIRED +# else +# define GDK_VERSION_MAX_ALLOWED GDK_VERSION_CUR_STABLE +# endif +#endif + +/* sanity checks */ +#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_MIN_REQUIRED +#error "GDK_VERSION_MAX_ALLOWED must be >= GDK_VERSION_MIN_REQUIRED" +#endif +#if GDK_VERSION_MIN_REQUIRED < GDK_VERSION_3_0 +#error "GDK_VERSION_MIN_REQUIRED must be >= GDK_VERSION_3_0" +#endif + +/* XXX: Every new stable minor release should add a set of macros here */ + +#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_0 +# define GDK_DEPRECATED_IN_3_0 GDK_DEPRECATED +# define GDK_DEPRECATED_IN_3_0_FOR(f) GDK_DEPRECATED_FOR(f) +#else +# define GDK_DEPRECATED_IN_3_0 +# define GDK_DEPRECATED_IN_3_0_FOR(f) +#endif + +#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_0 +# define GDK_AVAILABLE_IN_3_0 GDK_UNAVAILABLE(3, 0) +#else +# define GDK_AVAILABLE_IN_3_0 +#endif + +#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_2 +# define GDK_DEPRECATED_IN_3_2 GDK_DEPRECATED +# define GDK_DEPRECATED_IN_3_2_FOR(f) GDK_DEPRECATED_FOR(f) +#else +# define GDK_DEPRECATED_IN_3_2 +# define GDK_DEPRECATED_IN_3_2_FOR(f) +#endif + +#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_2 +# define GDK_AVAILABLE_IN_3_2 GDK_UNAVAILABLE(3, 2) +#else +# define GDK_AVAILABLE_IN_3_2 +#endif + +#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_4 +# define GDK_DEPRECATED_IN_3_4 GDK_DEPRECATED +# define GDK_DEPRECATED_IN_3_4_FOR(f) GDK_DEPRECATED_FOR(f) +#else +# define GDK_DEPRECATED_IN_3_4 +# define GDK_DEPRECATED_IN_3_4_FOR(f) +#endif + +#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_4 +# define GDK_AVAILABLE_IN_3_4 GDK_UNAVAILABLE(3, 4) +#else +# define GDK_AVAILABLE_IN_3_4 +#endif + +#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_6 +# define GDK_DEPRECATED_IN_3_6 GDK_DEPRECATED +# define GDK_DEPRECATED_IN_3_6_FOR(f) GDK_DEPRECATED_FOR(f) +#else +# define GDK_DEPRECATED_IN_3_6 +# define GDK_DEPRECATED_IN_3_6_FOR(f) +#endif + +#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_6 +# define GDK_AVAILABLE_IN_3_6 GDK_UNAVAILABLE(3, 6) +#else +# define GDK_AVAILABLE_IN_3_6 +#endif + +#endif /* __GDK_VERSION_MACROS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkvisual.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkvisual.h new file mode 100644 index 0000000..207e09a --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkvisual.h @@ -0,0 +1,123 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_VISUAL_H__ +#define __GDK_VISUAL_H__ + +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_VISUAL (gdk_visual_get_type ()) +#define GDK_VISUAL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_VISUAL, GdkVisual)) +#define GDK_IS_VISUAL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_VISUAL)) + +/** + * GdkVisualType: + * @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_VISUAL_TRUE_COLOR: Each pixel value directly contains red, green, + * and blue components. Use gdk_visual_get_red_pixel_details(), etc, + * to obtain information about how the components are assembled into + * a pixel value. + * @GDK_VISUAL_DIRECT_COLOR: Each pixel value contains red, green, and blue + * components as for %GDK_VISUAL_TRUE_COLOR, but the components are + * mapped via a color table into the final output table instead of + * being converted directly. + * + * A set of values that describe the manner in which the pixel values + * for a visual are converted into RGB values for display. + */ +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; + +/** + * GdkVisual: + * + * The #GdkVisual structure contains information about + * a particular visual. + */ + +GType gdk_visual_get_type (void) G_GNUC_CONST; + +#ifndef GDK_MULTIHEAD_SAFE +gint gdk_visual_get_best_depth (void); +GdkVisualType gdk_visual_get_best_type (void); +GdkVisual* gdk_visual_get_system (void); +GdkVisual* gdk_visual_get_best (void); +GdkVisual* gdk_visual_get_best_with_depth (gint depth); +GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type); +GdkVisual* gdk_visual_get_best_with_both (gint depth, + GdkVisualType visual_type); + +void gdk_query_depths (gint **depths, + gint *count); +void gdk_query_visual_types (GdkVisualType **visual_types, + gint *count); + +GList* gdk_list_visuals (void); +#endif + +GdkScreen *gdk_visual_get_screen (GdkVisual *visual); + +GdkVisualType gdk_visual_get_visual_type (GdkVisual *visual); +gint gdk_visual_get_depth (GdkVisual *visual); +GdkByteOrder gdk_visual_get_byte_order (GdkVisual *visual); +gint gdk_visual_get_colormap_size (GdkVisual *visual); +gint gdk_visual_get_bits_per_rgb (GdkVisual *visual); +void gdk_visual_get_red_pixel_details (GdkVisual *visual, + guint32 *mask, + gint *shift, + gint *precision); +void gdk_visual_get_green_pixel_details (GdkVisual *visual, + guint32 *mask, + gint *shift, + gint *precision); +void gdk_visual_get_blue_pixel_details (GdkVisual *visual, + guint32 *mask, + gint *shift, + gint *precision); + +G_END_DECLS + +#endif /* __GDK_VISUAL_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkwin32.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkwin32.h new file mode 100644 index 0000000..cf3f89c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkwin32.h @@ -0,0 +1,105 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#ifndef __GDK_WIN32_H__ +#define __GDK_WIN32_H__ + +#define __GDKWIN32_H_INSIDE__ + +#include +#include +#include +#include +#include +#include +#include + +#undef __GDKWIN32_H_INSIDE__ + +#include + +#ifndef STRICT +#define STRICT /* We want strict type checks */ +#endif +#include +#include + +G_BEGIN_DECLS + +#ifdef INSIDE_GDK_WIN32 + +#include "gdkprivate-win32.h" + +#define GDK_WINDOW_HWND(win) (GDK_WINDOW_IMPL_WIN32(win->impl)->handle) +#else +/* definition for exported 'internals' go here */ +#define GDK_WINDOW_HWND(d) (gdk_win32_window_get_handle (d)) + +#endif + +/* These need to be here so gtkstatusicon.c can pick them up if needed. */ +#ifndef WM_XBUTTONDOWN +#define WM_XBUTTONDOWN 0x020B +#endif +#ifndef WM_XBUTTONUP +#define WM_XBUTTONUP 0x020C +#endif +#ifndef GET_XBUTTON_WPARAM +#define GET_XBUTTON_WPARAM(w) (HIWORD(w)) +#endif +#ifndef XBUTTON1 +#define XBUTTON1 1 +#endif +#ifndef XBUTTON2 +#define XBUTTON2 2 +#endif + + +/* Return true if the GdkWindow is a win32 implemented window */ +gboolean gdk_win32_window_is_win32 (GdkWindow *window); +HWND gdk_win32_window_get_impl_hwnd (GdkWindow *window); + +/* Return the Gdk* for a particular HANDLE */ +gpointer gdk_win32_handle_table_lookup (HWND handle); +/* Translate from window to Windows handle */ +HGDIOBJ gdk_win32_window_get_handle (GdkWindow *window); + +void gdk_win32_selection_add_targets (GdkWindow *owner, + GdkAtom selection, + gint n_targets, + GdkAtom *targets); + +/* For internal GTK use only */ +GdkPixbuf *gdk_win32_icon_to_pixbuf_libgtk_only (HICON hicon); +HICON gdk_win32_pixbuf_to_hicon_libgtk_only (GdkPixbuf *pixbuf); +void gdk_win32_set_modal_dialog_libgtk_only (HWND window); + +GdkWindow * gdk_win32_window_foreign_new_for_display (GdkDisplay *display, + HWND anid); +GdkWindow * gdk_win32_window_lookup_for_display (GdkDisplay *display, + HWND anid); + +G_END_DECLS + +#endif /* __GDK_WIN32_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/gdkwindow.h b/gtk+-mingw/include/gtk-3.0/gdk/gdkwindow.h new file mode 100644 index 0000000..fded029 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/gdkwindow.h @@ -0,0 +1,884 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_WINDOW_H__ +#define __GDK_WINDOW_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +typedef struct _GdkGeometry GdkGeometry; +typedef struct _GdkWindowAttr GdkWindowAttr; +typedef struct _GdkWindowRedirect GdkWindowRedirect; + +/** + * GdkWindowWindowClass: + * @GDK_INPUT_OUTPUT: window for graphics and events + * @GDK_INPUT_ONLY: window for events only + * + * @GDK_INPUT_OUTPUT windows are the standard kind of window you might expect. + * Such windows receive events and are also displayed on screen. + * @GDK_INPUT_ONLY windows are invisible; they are usually placed above other + * windows in order to trap or filter the events. You can't draw on + * @GDK_INPUT_ONLY windows. + */ +typedef enum +{ + GDK_INPUT_OUTPUT, /*< nick=input-output >*/ + GDK_INPUT_ONLY /*< nick=input-only >*/ +} GdkWindowWindowClass; + +/** + * GdkWindowType: + * @GDK_WINDOW_ROOT: root window; this window has no parent, covers the entire + * screen, and is created by the window system + * @GDK_WINDOW_TOPLEVEL: toplevel window (used to implement #GtkWindow) + * @GDK_WINDOW_CHILD: child window (used to implement e.g. #GtkEntry) + * @GDK_WINDOW_TEMP: override redirect temporary window (used to implement + * #GtkMenu) + * @GDK_WINDOW_FOREIGN: foreign window (see gdk_window_foreign_new()) + * @GDK_WINDOW_OFFSCREEN: offscreen window (see + * ). Since 2.18 + * + * Describes the kind of window. + */ +typedef enum +{ + GDK_WINDOW_ROOT, + GDK_WINDOW_TOPLEVEL, + GDK_WINDOW_CHILD, + GDK_WINDOW_TEMP, + GDK_WINDOW_FOREIGN, + GDK_WINDOW_OFFSCREEN +} GdkWindowType; + +/** + * GdkWindowAttributesType: + * @GDK_WA_TITLE: Honor the title field + * @GDK_WA_X: Honor the X coordinate field + * @GDK_WA_Y: Honor the Y coordinate field + * @GDK_WA_CURSOR: Honor the cursor field + * @GDK_WA_VISUAL: Honor the visual field + * @GDK_WA_WMCLASS: Honor the wmclass_class and wmclass_name fields + * @GDK_WA_NOREDIR: Honor the override_redirect field + * @GDK_WA_TYPE_HINT: Honor the type_hint field + * + * Used to indicate which fields in the #GdkWindowAttr struct should be honored. + * For example, if you filled in the "cursor" and "x" fields of #GdkWindowAttr, + * pass "@GDK_WA_X | @GDK_WA_CURSOR" to gdk_window_new(). Fields in + * #GdkWindowAttr not covered by a bit in this enum are required; for example, + * the @width/@height, @wclass, and @window_type fields are required, they have + * no corresponding flag in #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_VISUAL = 1 << 5, + GDK_WA_WMCLASS = 1 << 6, + GDK_WA_NOREDIR = 1 << 7, + GDK_WA_TYPE_HINT = 1 << 8 +} GdkWindowAttributesType; + +/* Size restriction enumeration. + */ +/** + * GdkWindowHints: + * @GDK_HINT_POS: indicates that the program has positioned the window + * @GDK_HINT_MIN_SIZE: min size fields are set + * @GDK_HINT_MAX_SIZE: max size fields are set + * @GDK_HINT_BASE_SIZE: base size fields are set + * @GDK_HINT_ASPECT: aspect ratio fields are set + * @GDK_HINT_RESIZE_INC: resize increment fields are set + * @GDK_HINT_WIN_GRAVITY: window gravity field is set + * @GDK_HINT_USER_POS: indicates that the window's position was explicitly set + * by the user + * @GDK_HINT_USER_SIZE: indicates that the window's size was explicitly set by + * the user + * + * Used to indicate which fields of a #GdkGeometry struct should be paid + * attention to. Also, the presence/absence of @GDK_HINT_POS, + * @GDK_HINT_USER_POS, and @GDK_HINT_USER_SIZE is significant, though they don't + * directly refer to #GdkGeometry fields. @GDK_HINT_USER_POS will be set + * automatically by #GtkWindow if you call gtk_window_move(). + * @GDK_HINT_USER_POS and @GDK_HINT_USER_SIZE should be set if the user + * specified a size/position using a --geometry command-line argument; + * gtk_window_parse_geometry() automatically sets these flags. + */ +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, + GDK_HINT_WIN_GRAVITY = 1 << 6, + GDK_HINT_USER_POS = 1 << 7, + GDK_HINT_USER_SIZE = 1 << 8 +} GdkWindowHints; + + +/** + * GdkWindowTypeHint: + * @GDK_WINDOW_TYPE_HINT_NORMAL: Normal toplevel window. + * @GDK_WINDOW_TYPE_HINT_DIALOG: Dialog window. + * @GDK_WINDOW_TYPE_HINT_MENU: Window used to implement a menu; GTK+ uses + * this hint only for torn-off menus, see #GtkTearoffMenuItem. + * @GDK_WINDOW_TYPE_HINT_TOOLBAR: Window used to implement toolbars. + * @GDK_WINDOW_TYPE_HINT_SPLASHSCREEN: Window used to display a splash + * screen during application startup. + * @GDK_WINDOW_TYPE_HINT_UTILITY: Utility windows which are not detached + * toolbars or dialogs. + * @GDK_WINDOW_TYPE_HINT_DOCK: Used for creating dock or panel windows. + * @GDK_WINDOW_TYPE_HINT_DESKTOP: Used for creating the desktop background + * window. + * @GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU: A menu that belongs to a menubar. + * @GDK_WINDOW_TYPE_HINT_POPUP_MENU: A menu that does not belong to a menubar, + * e.g. a context menu. + * @GDK_WINDOW_TYPE_HINT_TOOLTIP: A tooltip. + * @GDK_WINDOW_TYPE_HINT_NOTIFICATION: A notification - typically a "bubble" + * that belongs to a status icon. + * @GDK_WINDOW_TYPE_HINT_COMBO: A popup from a combo box. + * @GDK_WINDOW_TYPE_HINT_DND: A window that is used to implement a DND cursor. + * + * These are hints for the window manager that indicate what type of function + * the window has. The window manager can use this when determining decoration + * and behaviour of the window. The hint must be set before mapping the window. + * + * See the + * Extended + * Window Manager Hints specification for more details about + * window types. + */ +typedef enum +{ + GDK_WINDOW_TYPE_HINT_NORMAL, + GDK_WINDOW_TYPE_HINT_DIALOG, + GDK_WINDOW_TYPE_HINT_MENU, /* Torn off menu */ + GDK_WINDOW_TYPE_HINT_TOOLBAR, + GDK_WINDOW_TYPE_HINT_SPLASHSCREEN, + GDK_WINDOW_TYPE_HINT_UTILITY, + GDK_WINDOW_TYPE_HINT_DOCK, + GDK_WINDOW_TYPE_HINT_DESKTOP, + GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU, /* A drop down menu (from a menubar) */ + GDK_WINDOW_TYPE_HINT_POPUP_MENU, /* A popup menu (from right-click) */ + GDK_WINDOW_TYPE_HINT_TOOLTIP, + GDK_WINDOW_TYPE_HINT_NOTIFICATION, + GDK_WINDOW_TYPE_HINT_COMBO, + GDK_WINDOW_TYPE_HINT_DND +} GdkWindowTypeHint; + +/* The next two enumeration values current match the + * Motif constants. If this is changed, the implementation + * of gdk_window_set_decorations/gdk_window_set_functions + * will need to change as well. + */ +/** + * GdkWMDecoration: + * @GDK_DECOR_ALL: all decorations should be applied. + * @GDK_DECOR_BORDER: a frame should be drawn around the window. + * @GDK_DECOR_RESIZEH: the frame should have resize handles. + * @GDK_DECOR_TITLE: a titlebar should be placed above the window. + * @GDK_DECOR_MENU: a button for opening a menu should be included. + * @GDK_DECOR_MINIMIZE: a minimize button should be included. + * @GDK_DECOR_MAXIMIZE: a maximize button should be included. + * + * These are hints originally defined by the Motif toolkit. + * The window manager can use them when determining how to decorate + * the window. The hint must be set before mapping the window. + */ +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: + * @GDK_FUNC_ALL: all functions should be offered. + * @GDK_FUNC_RESIZE: the window should be resizable. + * @GDK_FUNC_MOVE: the window should be movable. + * @GDK_FUNC_MINIMIZE: the window should be minimizable. + * @GDK_FUNC_MAXIMIZE: the window should be maximizable. + * @GDK_FUNC_CLOSE: the window should be closable. + * + * These are hints originally defined by the Motif toolkit. The window manager + * can use them when determining the functions to offer for the window. The + * hint must be set before mapping the window. + */ +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; + +/* Currently, these are the same values numerically as in the + * X protocol. If you change that, gdkwindow-x11.c/gdk_window_set_geometry_hints() + * will need fixing. + */ +/** + * GdkGravity: + * @GDK_GRAVITY_NORTH_WEST: the reference point is at the top left corner. + * @GDK_GRAVITY_NORTH: the reference point is in the middle of the top edge. + * @GDK_GRAVITY_NORTH_EAST: the reference point is at the top right corner. + * @GDK_GRAVITY_WEST: the reference point is at the middle of the left edge. + * @GDK_GRAVITY_CENTER: the reference point is at the center of the window. + * @GDK_GRAVITY_EAST: the reference point is at the middle of the right edge. + * @GDK_GRAVITY_SOUTH_WEST: the reference point is at the lower left corner. + * @GDK_GRAVITY_SOUTH: the reference point is at the middle of the lower edge. + * @GDK_GRAVITY_SOUTH_EAST: the reference point is at the lower right corner. + * @GDK_GRAVITY_STATIC: the reference point is at the top left corner of the + * window itself, ignoring window manager decorations. + * + * Defines the reference point of a window and the meaning of coordinates + * passed to gtk_window_move(). See gtk_window_move() and the "implementation + * notes" section of the + * Extended + * Window Manager Hints specification for more details. + */ +typedef enum +{ + GDK_GRAVITY_NORTH_WEST = 1, + GDK_GRAVITY_NORTH, + GDK_GRAVITY_NORTH_EAST, + GDK_GRAVITY_WEST, + GDK_GRAVITY_CENTER, + GDK_GRAVITY_EAST, + GDK_GRAVITY_SOUTH_WEST, + GDK_GRAVITY_SOUTH, + GDK_GRAVITY_SOUTH_EAST, + GDK_GRAVITY_STATIC +} GdkGravity; + + +/** + * GdkWindowEdge: + * @GDK_WINDOW_EDGE_NORTH_WEST: the top left corner. + * @GDK_WINDOW_EDGE_NORTH: the top edge. + * @GDK_WINDOW_EDGE_NORTH_EAST: the top right corner. + * @GDK_WINDOW_EDGE_WEST: the left edge. + * @GDK_WINDOW_EDGE_EAST: the right edge. + * @GDK_WINDOW_EDGE_SOUTH_WEST: the lower left corner. + * @GDK_WINDOW_EDGE_SOUTH: the lower edge. + * @GDK_WINDOW_EDGE_SOUTH_EAST: the lower right corner. + * + * Determines a window edge or corner. + */ +typedef enum +{ + GDK_WINDOW_EDGE_NORTH_WEST, + GDK_WINDOW_EDGE_NORTH, + GDK_WINDOW_EDGE_NORTH_EAST, + GDK_WINDOW_EDGE_WEST, + GDK_WINDOW_EDGE_EAST, + GDK_WINDOW_EDGE_SOUTH_WEST, + GDK_WINDOW_EDGE_SOUTH, + GDK_WINDOW_EDGE_SOUTH_EAST +} GdkWindowEdge; + +/** + * GdkWindowAttr: + * @title: title of the window (for toplevel windows) + * @event_mask: event mask (see gdk_window_set_events()) + * @x: X coordinate relative to parent window (see gdk_window_move()) + * @y: Y coordinate relative to parent window (see gdk_window_move()) + * @width: width of window + * @height: height of window + * @wclass: #GDK_INPUT_OUTPUT (normal window) or #GDK_INPUT_ONLY (invisible + * window that receives events) + * @visual: #GdkVisual for window + * @window_type: type of window + * @cursor: cursor for the window (see gdk_window_set_cursor()) + * @wmclass_name: don't use (see gtk_window_set_wmclass()) + * @wmclass_class: don't use (see gtk_window_set_wmclass()) + * @override_redirect: %TRUE to bypass the window manager + * @type_hint: a hint of the function of the window + * + * Attributes to use for a newly-created window. + */ +struct _GdkWindowAttr +{ + gchar *title; + gint event_mask; + gint x, y; + gint width; + gint height; + GdkWindowWindowClass wclass; + GdkVisual *visual; + GdkWindowType window_type; + GdkCursor *cursor; + gchar *wmclass_name; + gchar *wmclass_class; + gboolean override_redirect; + GdkWindowTypeHint type_hint; +}; + +/** + * GdkGeometry: + * @min_width: minimum width of window (or -1 to use requisition, with + * #GtkWindow only) + * @min_height: minimum height of window (or -1 to use requisition, with + * #GtkWindow only) + * @max_width: maximum width of window (or -1 to use requisition, with + * #GtkWindow only) + * @max_height: maximum height of window (or -1 to use requisition, with + * #GtkWindow only) + * @base_width: allowed window widths are @base_width + @width_inc * N where N + * is any integer (-1 allowed with #GtkWindow) + * @base_height: allowed window widths are @base_height + @height_inc * N where + * N is any integer (-1 allowed with #GtkWindow) + * @width_inc: width resize increment + * @height_inc: height resize increment + * @min_aspect: minimum width/height ratio + * @max_aspect: maximum width/height ratio + * @win_gravity: window gravity, see gtk_window_set_gravity() + * + * The #GdkGeometry struct gives the window manager information about + * a window's geometry constraints. Normally you would set these on + * the GTK+ level using gtk_window_set_geometry_hints(). #GtkWindow + * then sets the hints on the #GdkWindow it creates. + * + * gdk_window_set_geometry_hints() expects the hints to be fully valid already + * and simply passes them to the window manager; in contrast, + * gtk_window_set_geometry_hints() performs some interpretation. For example, + * #GtkWindow will apply the hints to the geometry widget instead of the + * toplevel window, if you set a geometry widget. Also, the + * @min_width/@min_height/@max_width/@max_height fields may be set to -1, and + * #GtkWindow will substitute the size request of the window or geometry widget. + * If the minimum size hint is not provided, #GtkWindow will use its requisition + * as the minimum size. If the minimum size is provided and a geometry widget is + * set, #GtkWindow will take the minimum size as the minimum size of the + * geometry widget rather than the entire window. The base size is treated + * similarly. + * + * The canonical use-case for gtk_window_set_geometry_hints() is to get a + * terminal widget to resize properly. Here, the terminal text area should be + * the geometry widget; #GtkWindow will then automatically set the base size to + * the size of other widgets in the terminal window, such as the menubar and + * scrollbar. Then, the @width_inc and @height_inc fields should be set to the + * size of one character in the terminal. Finally, the base size should be set + * to the size of one character. The net effect is that the minimum size of the + * terminal will have a 1x1 character terminal area, and only terminal sizes on + * the "character grid" will be allowed. + * + * Here's an example of how the terminal example would be implemented, assuming + * a terminal area widget called "terminal" and a toplevel window "toplevel": + * + * char_width; + * hints.base_height = terminal->char_height; + * hints.min_width = terminal->char_width; + * hints.min_height = terminal->char_height; + * hints.width_inc = terminal->char_width; + * hints.height_inc = terminal->char_height; + * + * gtk_window_set_geometry_hints (GTK_WINDOW (toplevel), + * GTK_WIDGET (terminal), + * &hints, + * GDK_HINT_RESIZE_INC | + * GDK_HINT_MIN_SIZE | + * GDK_HINT_BASE_SIZE); + * ]]> + * + * The other useful fields are the @min_aspect and @max_aspect fields; these + * contain a width/height ratio as a floating point number. If a geometry widget + * is set, the aspect applies to the geometry widget rather than the entire + * window. The most common use of these hints is probably to set @min_aspect and + * @max_aspect to the same value, thus forcing the window to keep a constant + * aspect ratio. + */ +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 win_gravity; +}; + +typedef struct _GdkWindowClass GdkWindowClass; + +#define GDK_TYPE_WINDOW (gdk_window_get_type ()) +#define GDK_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WINDOW, GdkWindow)) +#define GDK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WINDOW, GdkWindowClass)) +#define GDK_IS_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WINDOW)) +#define GDK_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WINDOW)) +#define GDK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WINDOW, GdkWindowClass)) + + +struct _GdkWindowClass +{ + GObjectClass parent_class; + + GdkWindow * (* pick_embedded_child) (GdkWindow *window, + gdouble x, + gdouble y); + + /* the following 3 signals will only be emitted by offscreen windows */ + void (* to_embedder) (GdkWindow *window, + gdouble offscreen_x, + gdouble offscreen_y, + gdouble *embedder_x, + gdouble *embedder_y); + void (* from_embedder) (GdkWindow *window, + gdouble embedder_x, + gdouble embedder_y, + gdouble *offscreen_x, + gdouble *offscreen_y); + cairo_surface_t * (* create_surface) (GdkWindow *window, + gint width, + gint height); + + /* Padding for future expansion */ + void (*_gdk_reserved1) (void); + void (*_gdk_reserved2) (void); + void (*_gdk_reserved3) (void); + void (*_gdk_reserved4) (void); + void (*_gdk_reserved5) (void); + void (*_gdk_reserved6) (void); + void (*_gdk_reserved7) (void); + void (*_gdk_reserved8) (void); +}; + +/* Windows + */ +GType gdk_window_get_type (void) G_GNUC_CONST; +GdkWindow* gdk_window_new (GdkWindow *parent, + GdkWindowAttr *attributes, + gint attributes_mask); +void gdk_window_destroy (GdkWindow *window); +GdkWindowType gdk_window_get_window_type (GdkWindow *window); +gboolean gdk_window_is_destroyed (GdkWindow *window); + +GdkVisual * gdk_window_get_visual (GdkWindow *window); +GdkScreen * gdk_window_get_screen (GdkWindow *window); +GdkDisplay * gdk_window_get_display (GdkWindow *window); +#ifndef GDK_MULTIDEVICE_SAFE +GDK_DEPRECATED_IN_3_0_FOR(gdk_device_get_window_at_position) +GdkWindow* gdk_window_at_pointer (gint *win_x, + gint *win_y); +#endif /* GDK_MULTIDEVICE_SAFE */ +void gdk_window_show (GdkWindow *window); +void gdk_window_hide (GdkWindow *window); +void gdk_window_withdraw (GdkWindow *window); +void gdk_window_show_unraised (GdkWindow *window); +void gdk_window_move (GdkWindow *window, + gint x, + gint y); +void gdk_window_resize (GdkWindow *window, + gint width, + gint height); +void gdk_window_move_resize (GdkWindow *window, + gint x, + gint y, + gint width, + gint height); +void gdk_window_reparent (GdkWindow *window, + GdkWindow *new_parent, + gint x, + gint y); +void gdk_window_raise (GdkWindow *window); +void gdk_window_lower (GdkWindow *window); +void gdk_window_restack (GdkWindow *window, + GdkWindow *sibling, + gboolean above); +void gdk_window_focus (GdkWindow *window, + guint32 timestamp); +void gdk_window_set_user_data (GdkWindow *window, + gpointer user_data); +void gdk_window_set_override_redirect (GdkWindow *window, + gboolean override_redirect); +gboolean gdk_window_get_accept_focus (GdkWindow *window); +void gdk_window_set_accept_focus (GdkWindow *window, + gboolean accept_focus); +gboolean gdk_window_get_focus_on_map (GdkWindow *window); +void gdk_window_set_focus_on_map (GdkWindow *window, + gboolean focus_on_map); +void gdk_window_add_filter (GdkWindow *window, + GdkFilterFunc function, + gpointer data); +void gdk_window_remove_filter (GdkWindow *window, + GdkFilterFunc function, + gpointer data); +void gdk_window_scroll (GdkWindow *window, + gint dx, + gint dy); +void gdk_window_move_region (GdkWindow *window, + const cairo_region_t *region, + gint dx, + gint dy); +gboolean gdk_window_ensure_native (GdkWindow *window); + +/* + * This allows for making shaped (partially transparent) windows + * - cool feature, needed for Drag and Drag for example. + */ +void gdk_window_shape_combine_region (GdkWindow *window, + const cairo_region_t *shape_region, + gint offset_x, + gint offset_y); + +/* + * This routine allows you to quickly take the shapes of all the child windows + * of a window and use their shapes as the shape mask for this window - useful + * for container windows that dont want to look like a big box + * + * - Raster + */ +void gdk_window_set_child_shapes (GdkWindow *window); + +gboolean gdk_window_get_composited (GdkWindow *window); +void gdk_window_set_composited (GdkWindow *window, + gboolean composited); + +/* + * This routine allows you to merge (ie ADD) child shapes to your + * own window's shape keeping its current shape and ADDING the child + * shapes to it. + * + * - Raster + */ +void gdk_window_merge_child_shapes (GdkWindow *window); + +void gdk_window_input_shape_combine_region (GdkWindow *window, + const cairo_region_t *shape_region, + gint offset_x, + gint offset_y); +void gdk_window_set_child_input_shapes (GdkWindow *window); +void gdk_window_merge_child_input_shapes (GdkWindow *window); + + +/* + * Check if a window has been shown, and whether all its + * parents up to a toplevel have been shown, respectively. + * Note that a window that is_viewable below is not necessarily + * viewable in the X sense. + */ +gboolean gdk_window_is_visible (GdkWindow *window); +gboolean gdk_window_is_viewable (GdkWindow *window); +gboolean gdk_window_is_input_only (GdkWindow *window); +gboolean gdk_window_is_shaped (GdkWindow *window); + +GdkWindowState gdk_window_get_state (GdkWindow *window); + +/* Set static bit gravity on the parent, and static + * window gravity on all children. + */ +gboolean gdk_window_set_static_gravities (GdkWindow *window, + gboolean use_static); + +/* GdkWindow */ + +gboolean gdk_window_has_native (GdkWindow *window); +void gdk_window_set_type_hint (GdkWindow *window, + GdkWindowTypeHint hint); +GdkWindowTypeHint gdk_window_get_type_hint (GdkWindow *window); + +gboolean gdk_window_get_modal_hint (GdkWindow *window); +void gdk_window_set_modal_hint (GdkWindow *window, + gboolean modal); + +void gdk_window_set_skip_taskbar_hint (GdkWindow *window, + gboolean skips_taskbar); +void gdk_window_set_skip_pager_hint (GdkWindow *window, + gboolean skips_pager); +void gdk_window_set_urgency_hint (GdkWindow *window, + gboolean urgent); + +void gdk_window_set_geometry_hints (GdkWindow *window, + const GdkGeometry *geometry, + GdkWindowHints geom_mask); + +cairo_region_t *gdk_window_get_clip_region (GdkWindow *window); +cairo_region_t *gdk_window_get_visible_region(GdkWindow *window); + + +void gdk_window_begin_paint_rect (GdkWindow *window, + const GdkRectangle *rectangle); +void gdk_window_begin_paint_region (GdkWindow *window, + const cairo_region_t *region); +void gdk_window_end_paint (GdkWindow *window); +void gdk_window_flush (GdkWindow *window); + +void gdk_window_set_title (GdkWindow *window, + const gchar *title); +void gdk_window_set_role (GdkWindow *window, + const gchar *role); +void gdk_window_set_startup_id (GdkWindow *window, + const gchar *startup_id); +void gdk_window_set_transient_for (GdkWindow *window, + GdkWindow *parent); +GDK_DEPRECATED_IN_3_4_FOR(gdk_window_set_background_rgba) +void gdk_window_set_background (GdkWindow *window, + const GdkColor *color); +void gdk_window_set_background_rgba (GdkWindow *window, + GdkRGBA *rgba); +void gdk_window_set_background_pattern (GdkWindow *window, + cairo_pattern_t *pattern); +cairo_pattern_t *gdk_window_get_background_pattern (GdkWindow *window); + +void gdk_window_set_cursor (GdkWindow *window, + GdkCursor *cursor); +GdkCursor *gdk_window_get_cursor (GdkWindow *window); +void gdk_window_set_device_cursor (GdkWindow *window, + GdkDevice *device, + GdkCursor *cursor); +GdkCursor *gdk_window_get_device_cursor (GdkWindow *window, + GdkDevice *device); +void gdk_window_get_user_data (GdkWindow *window, + gpointer *data); +void gdk_window_get_geometry (GdkWindow *window, + gint *x, + gint *y, + gint *width, + gint *height); +int gdk_window_get_width (GdkWindow *window); +int gdk_window_get_height (GdkWindow *window); +void gdk_window_get_position (GdkWindow *window, + gint *x, + gint *y); +gint gdk_window_get_origin (GdkWindow *window, + gint *x, + gint *y); +void gdk_window_get_root_coords (GdkWindow *window, + gint x, + gint y, + gint *root_x, + gint *root_y); +void gdk_window_coords_to_parent (GdkWindow *window, + gdouble x, + gdouble y, + gdouble *parent_x, + gdouble *parent_y); +void gdk_window_coords_from_parent (GdkWindow *window, + gdouble parent_x, + gdouble parent_y, + gdouble *x, + gdouble *y); + +void gdk_window_get_root_origin (GdkWindow *window, + gint *x, + gint *y); +void gdk_window_get_frame_extents (GdkWindow *window, + GdkRectangle *rect); + +#ifndef GDK_MULTIDEVICE_SAFE +GDK_DEPRECATED_IN_3_0_FOR(gdk_window_get_device_position) +GdkWindow * gdk_window_get_pointer (GdkWindow *window, + gint *x, + gint *y, + GdkModifierType *mask); +#endif /* GDK_MULTIDEVICE_SAFE */ +GdkWindow * gdk_window_get_device_position (GdkWindow *window, + GdkDevice *device, + gint *x, + gint *y, + GdkModifierType *mask); +GdkWindow * gdk_window_get_parent (GdkWindow *window); +GdkWindow * gdk_window_get_toplevel (GdkWindow *window); + +GdkWindow * gdk_window_get_effective_parent (GdkWindow *window); +GdkWindow * gdk_window_get_effective_toplevel (GdkWindow *window); + +GList * gdk_window_get_children (GdkWindow *window); +GList * gdk_window_peek_children (GdkWindow *window); +GdkEventMask gdk_window_get_events (GdkWindow *window); +void gdk_window_set_events (GdkWindow *window, + GdkEventMask event_mask); +void gdk_window_set_device_events (GdkWindow *window, + GdkDevice *device, + GdkEventMask event_mask); +GdkEventMask gdk_window_get_device_events (GdkWindow *window, + GdkDevice *device); + +void gdk_window_set_source_events (GdkWindow *window, + GdkInputSource source, + GdkEventMask event_mask); +GdkEventMask gdk_window_get_source_events (GdkWindow *window, + GdkInputSource source); + +void gdk_window_set_icon_list (GdkWindow *window, + GList *pixbufs); +void gdk_window_set_icon_name (GdkWindow *window, + const gchar *name); +void gdk_window_set_group (GdkWindow *window, + GdkWindow *leader); +GdkWindow* gdk_window_get_group (GdkWindow *window); +void gdk_window_set_decorations (GdkWindow *window, + GdkWMDecoration decorations); +gboolean gdk_window_get_decorations (GdkWindow *window, + GdkWMDecoration *decorations); +void gdk_window_set_functions (GdkWindow *window, + GdkWMFunction functions); + +cairo_surface_t * + gdk_window_create_similar_surface (GdkWindow *window, + cairo_content_t content, + int width, + int height); + +void gdk_window_beep (GdkWindow *window); +void gdk_window_iconify (GdkWindow *window); +void gdk_window_deiconify (GdkWindow *window); +void gdk_window_stick (GdkWindow *window); +void gdk_window_unstick (GdkWindow *window); +void gdk_window_maximize (GdkWindow *window); +void gdk_window_unmaximize (GdkWindow *window); +void gdk_window_fullscreen (GdkWindow *window); +void gdk_window_unfullscreen (GdkWindow *window); +void gdk_window_set_keep_above (GdkWindow *window, + gboolean setting); +void gdk_window_set_keep_below (GdkWindow *window, + gboolean setting); +void gdk_window_set_opacity (GdkWindow *window, + gdouble opacity); +void gdk_window_register_dnd (GdkWindow *window); + +GdkDragProtocol + gdk_window_get_drag_protocol(GdkWindow *window, + GdkWindow **target); + +void gdk_window_begin_resize_drag (GdkWindow *window, + GdkWindowEdge edge, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); +GDK_AVAILABLE_IN_3_4 +void gdk_window_begin_resize_drag_for_device (GdkWindow *window, + GdkWindowEdge edge, + GdkDevice *device, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); +void gdk_window_begin_move_drag (GdkWindow *window, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); +GDK_AVAILABLE_IN_3_4 +void gdk_window_begin_move_drag_for_device (GdkWindow *window, + GdkDevice *device, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); + +/* Interface for dirty-region queueing */ +void gdk_window_invalidate_rect (GdkWindow *window, + const GdkRectangle *rect, + gboolean invalidate_children); +void gdk_window_invalidate_region (GdkWindow *window, + const cairo_region_t *region, + gboolean invalidate_children); + +/** + * GdkWindowChildFunc: + * @window: a #GdkWindow + * @user_data: user data + * + * A function of this type is passed to gdk_window_invalidate_maybe_recurse(). + * It gets called for each child of the window to determine whether to + * recursively invalidate it or now. + * + * Returns: %TRUE to invalidate @window recursively + */ +typedef gboolean (*GdkWindowChildFunc) (GdkWindow *window, + gpointer user_data); + +void gdk_window_invalidate_maybe_recurse (GdkWindow *window, + const cairo_region_t *region, + GdkWindowChildFunc child_func, + gpointer user_data); +cairo_region_t *gdk_window_get_update_area (GdkWindow *window); + +void gdk_window_freeze_updates (GdkWindow *window); +void gdk_window_thaw_updates (GdkWindow *window); + +void gdk_window_freeze_toplevel_updates_libgtk_only (GdkWindow *window); +void gdk_window_thaw_toplevel_updates_libgtk_only (GdkWindow *window); + +void gdk_window_process_all_updates (void); +void gdk_window_process_updates (GdkWindow *window, + gboolean update_children); + +/* Enable/disable flicker, so you can tell if your code is inefficient. */ +void gdk_window_set_debug_updates (gboolean setting); + +void gdk_window_constrain_size (GdkGeometry *geometry, + guint flags, + gint width, + gint height, + gint *new_width, + gint *new_height); + +void gdk_window_enable_synchronized_configure (GdkWindow *window); +void gdk_window_configure_finished (GdkWindow *window); + +GdkWindow *gdk_get_default_root_window (void); + +/* Offscreen redirection */ +cairo_surface_t * + gdk_offscreen_window_get_surface (GdkWindow *window); +void gdk_offscreen_window_set_embedder (GdkWindow *window, + GdkWindow *embedder); +GdkWindow *gdk_offscreen_window_get_embedder (GdkWindow *window); +void gdk_window_geometry_changed (GdkWindow *window); + +/* Multidevice support */ +void gdk_window_set_support_multidevice (GdkWindow *window, + gboolean support_multidevice); +gboolean gdk_window_get_support_multidevice (GdkWindow *window); + +G_END_DECLS + +#endif /* __GDK_WINDOW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32cursor.h b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32cursor.h new file mode 100644 index 0000000..361cb92 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32cursor.h @@ -0,0 +1,54 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_WIN32_CURSOR_H__ +#define __GDK_WIN32_CURSOR_H__ + +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_WIN32_CURSOR (gdk_win32_cursor_get_type ()) +#define GDK_WIN32_CURSOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_CURSOR, GdkWin32Cursor)) +#define GDK_WIN32_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WIN32_CURSOR, GdkWin32CursorClass)) +#define GDK_IS_WIN32_CURSOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_CURSOR)) +#define GDK_IS_WIN32_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_CURSOR)) +#define GDK_WIN32_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_CURSOR, GdkWin32CursorClass)) + +#ifdef GDK_COMPILATION +typedef struct _GdkWin32Cursor GdkWin32Cursor; +#else +typedef GdkCursor GdkWin32Cursor; +#endif +typedef struct _GdkWin32CursorClass GdkWin32CursorClass; + +GType gdk_win32_cursor_get_type (void); + +G_END_DECLS + +#endif /* __GDK_WIN32_CURSOR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32display.h b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32display.h new file mode 100644 index 0000000..eb1bfeb --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32display.h @@ -0,0 +1,54 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_WIN32_DISPLAY_H__ +#define __GDK_WIN32_DISPLAY_H__ + +#include + +G_BEGIN_DECLS + +#ifdef GDK_COMPILATION +typedef struct _GdkWin32Display GdkWin32Display; +#else +typedef GdkDisplay GdkWin32Display; +#endif +typedef struct _GdkWin32DisplayClass GdkWin32DisplayClass; + +#define GDK_TYPE_WIN32_DISPLAY (gdk_win32_display_get_type()) +#define GDK_WIN32_DISPLAY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_DISPLAY, GdkWin32Display)) +#define GDK_WIN32_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WIN32_DISPLAY, GdkWin32DisplayClass)) +#define GDK_IS_WIN32_DISPLAY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_DISPLAY)) +#define GDK_IS_WIN32_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_DISPLAY)) +#define GDK_WIN32_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_DISPLAY, GdkWin32DisplayClass)) + +GType gdk_win32_display_get_type (void); + +G_END_DECLS + +#endif /* __GDK_WIN32_DISPLAY_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32displaymanager.h b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32displaymanager.h new file mode 100644 index 0000000..9217f43 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32displaymanager.h @@ -0,0 +1,47 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_WIN32_DISPLAY_MANAGER_H__ +#define __GDK_WIN32_DISPLAY_MANAGER_H__ + +#include + +G_BEGIN_DECLS + +#ifdef GDK_COMPILATION +typedef struct _GdkWin32DisplayManager GdkWin32DisplayManager; +#else +typedef GdkDisplayManager GdkWin32DisplayManager; +#endif +typedef struct _GdkWin32DisplayManagerClass GdkWin32DisplayManagerClass; + +#define GDK_TYPE_WIN32_DISPLAY_MANAGER (gdk_win32_display_manager_get_type()) +#define GDK_WIN32_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_DISPLAY_MANAGER, GdkWin32DisplayManager)) +#define GDK_WIN32_DISPLAY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WIN32_DISPLAY_MANAGER, GdkWin32DisplayManagerClass)) +#define GDK_IS_WIN32_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_DISPLAY_MANAGER)) +#define GDK_IS_WIN32_DISPLAY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_DISPLAY_MANAGER)) +#define GDK_WIN32_DISPLAY_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_DISPLAY_MANAGER, GdkWin32DisplayManagerClass)) + +GType gdk_win32_display_manager_get_type (void); + +G_END_DECLS + +#endif /* __GDK_WIN32_DISPLAY_MANAGER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32dnd.h b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32dnd.h new file mode 100644 index 0000000..06ad679 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32dnd.h @@ -0,0 +1,47 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_WIN32_DND_H__ +#define __GDK_WIN32_DND_H__ + +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_WIN32_DRAG_CONTEXT (gdk_win32_drag_context_get_type ()) +#define GDK_WIN32_DRAG_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_DRAG_CONTEXT, GdkWin32DragContext)) +#define GDK_WIN32_DRAG_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WIN32_DRAG_CONTEXT, GdkWin32DragContextClass)) +#define GDK_IS_WIN32_DRAG_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_DRAG_CONTEXT)) +#define GDK_IS_WIN32_DRAG_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_DRAG_CONTEXT)) +#define GDK_WIN32_DRAG_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_DRAG_CONTEXT, GdkWin32DragContextClass)) + +#ifdef GDK_COMPILATION +typedef struct _GdkWin32DragContext GdkWin32DragContext; +#else +typedef GdkDragContext GdkWin32DragContext; +#endif +typedef struct _GdkWin32DragContextClass GdkWin32DragContextClass; + +GType gdk_win32_drag_context_get_type (void); + +G_END_DECLS + +#endif /* __GDK_WIN32_DRAG_CONTEXT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32keys.h b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32keys.h new file mode 100644 index 0000000..af90763 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32keys.h @@ -0,0 +1,47 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_WIN32_KEYS_H__ +#define __GDK_WIN32_KEYS_H__ + +#include + +G_BEGIN_DECLS + +#ifdef GDK_COMPILATION +typedef struct _GdkWin32Keymap GdkWin32Keymap; +#else +typedef GdkKeymap GdkWin32Keymap; +#endif +typedef struct _GdkWin32KeymapClass GdkWin32KeymapClass; + +#define GDK_TYPE_WIN32_KEYMAP (gdk_win32_keymap_get_type()) +#define GDK_WIN32_KEYMAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_KEYMAP, GdkWin32Keymap)) +#define GDK_WIN32_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WIN32_KEYMAP, GdkWin32KeymapClass)) +#define GDK_IS_WIN32_KEYMAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_KEYMAP)) +#define GDK_IS_WIN32_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_KEYMAP)) +#define GDK_WIN32_KEYMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_KEYMAP, GdkWin32KeymapClass)) + +GType gdk_win32_keymap_get_type (void); + +G_END_DECLS + +#endif /* __GDK_WIN32_KEYMAP_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32screen.h b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32screen.h new file mode 100644 index 0000000..a239166 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32screen.h @@ -0,0 +1,54 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_WIN32_SCREEN_H__ +#define __GDK_WIN32_SCREEN_H__ + +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_WIN32_SCREEN (gdk_win32_screen_get_type ()) +#define GDK_WIN32_SCREEN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_SCREEN, GdkWin32Screen)) +#define GDK_WIN32_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WIN32_SCREEN, GdkWin32ScreenClass)) +#define GDK_IS_WIN32_SCREEN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_SCREEN)) +#define GDK_IS_WIN32_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_SCREEN)) +#define GDK_WIN32_SCREEN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_SCREEN, GdkWin32ScreenClass)) + +#ifdef GDK_COMPILATION +typedef struct _GdkWin32Screen GdkWin32Screen; +#else +typedef GdkScreen GdkWin32Screen; +#endif +typedef struct _GdkWin32ScreenClass GdkWin32ScreenClass; + +GType gdk_win32_screen_get_type (void); + +G_END_DECLS + +#endif /* __GDK_WIN32_SCREEN_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32window.h b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32window.h new file mode 100644 index 0000000..3bb29fc --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gdk/win32/gdkwin32window.h @@ -0,0 +1,54 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GDK_WIN32_WINDOW_H__ +#define __GDK_WIN32_WINDOW_H__ + +#include + +G_BEGIN_DECLS + +#define GDK_TYPE_WIN32_WINDOW (gdk_win32_window_get_type ()) +#define GDK_WIN32_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_WINDOW, GdkWin32Window)) +#define GDK_WIN32_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WIN32_WINDOW, GdkWin32WindowClass)) +#define GDK_IS_WIN32_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_WINDOW)) +#define GDK_IS_WIN32_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_WINDOW)) +#define GDK_WIN32_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_WINDOW, GdkWin32WindowClass)) + +#ifdef GDK_COMPILATION +typedef struct _GdkWin32Window GdkWin32Window; +#else +typedef GdkWindow GdkWin32Window; +#endif +typedef struct _GdkWin32WindowClass GdkWin32WindowClass; + +GType gdk_win32_window_get_type (void); + +G_END_DECLS + +#endif /* __GDK_X11_WINDOW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h new file mode 100644 index 0000000..3dd3712 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h @@ -0,0 +1,157 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat, Inc. + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_COLOR_SELECTION_H__ +#define __GTK_COLOR_SELECTION_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_COLOR_SELECTION (gtk_color_selection_get_type ()) +#define GTK_COLOR_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_SELECTION, GtkColorSelection)) +#define GTK_COLOR_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COLOR_SELECTION, GtkColorSelectionClass)) +#define GTK_IS_COLOR_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_SELECTION)) +#define GTK_IS_COLOR_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COLOR_SELECTION)) +#define GTK_COLOR_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_SELECTION, GtkColorSelectionClass)) + + +typedef struct _GtkColorSelection GtkColorSelection; +typedef struct _GtkColorSelectionPrivate GtkColorSelectionPrivate; +typedef struct _GtkColorSelectionClass GtkColorSelectionClass; + +typedef void (* GtkColorSelectionChangePaletteFunc) (const GdkColor *colors, + gint n_colors); + +/** + * GtkColorSelectionChangePaletteWithScreenFunc: + * @screen: + * @colors: + * @n_colors: + * + * Since: 2.2 + */ +typedef void (* GtkColorSelectionChangePaletteWithScreenFunc) (GdkScreen *screen, + const GdkColor *colors, + gint n_colors); + +struct _GtkColorSelection +{ + GtkBox parent_instance; + + /* < private_data > */ + GtkColorSelectionPrivate *private_data; +}; + +struct _GtkColorSelectionClass +{ + GtkBoxClass parent_class; + + void (*color_changed) (GtkColorSelection *color_selection); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +/* ColorSelection */ + +GType gtk_color_selection_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_widget_new) +GtkWidget *gtk_color_selection_new (void); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_use_alpha) +gboolean gtk_color_selection_get_has_opacity_control (GtkColorSelection *colorsel); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_use_alpha) +void gtk_color_selection_set_has_opacity_control (GtkColorSelection *colorsel, + gboolean has_opacity); +GDK_DEPRECATED_IN_3_4 +gboolean gtk_color_selection_get_has_palette (GtkColorSelection *colorsel); +GDK_DEPRECATED_IN_3_4 +void gtk_color_selection_set_has_palette (GtkColorSelection *colorsel, + gboolean has_palette); + + +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba) +void gtk_color_selection_set_current_alpha (GtkColorSelection *colorsel, + guint16 alpha); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba) +guint16 gtk_color_selection_get_current_alpha (GtkColorSelection *colorsel); +GDK_DEPRECATED_IN_3_4 +void gtk_color_selection_set_previous_alpha (GtkColorSelection *colorsel, + guint16 alpha); +GDK_DEPRECATED_IN_3_4 +guint16 gtk_color_selection_get_previous_alpha (GtkColorSelection *colorsel); + +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba) +void gtk_color_selection_set_current_rgba (GtkColorSelection *colorsel, + const GdkRGBA *rgba); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba) +void gtk_color_selection_get_current_rgba (GtkColorSelection *colorsel, + GdkRGBA *rgba); +GDK_DEPRECATED_IN_3_4 +void gtk_color_selection_set_previous_rgba (GtkColorSelection *colorsel, + const GdkRGBA *rgba); +GDK_DEPRECATED_IN_3_4 +void gtk_color_selection_get_previous_rgba (GtkColorSelection *colorsel, + GdkRGBA *rgba); + +GDK_DEPRECATED_IN_3_4 +gboolean gtk_color_selection_is_adjusting (GtkColorSelection *colorsel); + +GDK_DEPRECATED_IN_3_4 +gboolean gtk_color_selection_palette_from_string (const gchar *str, + GdkColor **colors, + gint *n_colors); +GDK_DEPRECATED_IN_3_4 +gchar* gtk_color_selection_palette_to_string (const GdkColor *colors, + gint n_colors); + +GtkColorSelectionChangePaletteWithScreenFunc gtk_color_selection_set_change_palette_with_screen_hook (GtkColorSelectionChangePaletteWithScreenFunc func); + +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba) +void gtk_color_selection_set_current_color (GtkColorSelection *colorsel, + const GdkColor *color); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba) +void gtk_color_selection_get_current_color (GtkColorSelection *colorsel, + GdkColor *color); +GDK_DEPRECATED_IN_3_4 +void gtk_color_selection_set_previous_color (GtkColorSelection *colorsel, + const GdkColor *color); +GDK_DEPRECATED_IN_3_4 +void gtk_color_selection_get_previous_color (GtkColorSelection *colorsel, + GdkColor *color); + + +G_END_DECLS + +#endif /* __GTK_COLOR_SELECTION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h new file mode 100644 index 0000000..8a681ac --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h @@ -0,0 +1,80 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_COLOR_SELECTION_DIALOG_H__ +#define __GTK_COLOR_SELECTION_DIALOG_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_COLOR_SELECTION_DIALOG (gtk_color_selection_dialog_get_type ()) +#define GTK_COLOR_SELECTION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_SELECTION_DIALOG, GtkColorSelectionDialog)) +#define GTK_COLOR_SELECTION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COLOR_SELECTION_DIALOG, GtkColorSelectionDialogClass)) +#define GTK_IS_COLOR_SELECTION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_SELECTION_DIALOG)) +#define GTK_IS_COLOR_SELECTION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COLOR_SELECTION_DIALOG)) +#define GTK_COLOR_SELECTION_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_SELECTION_DIALOG, GtkColorSelectionDialogClass)) + + +typedef struct _GtkColorSelectionDialog GtkColorSelectionDialog; +typedef struct _GtkColorSelectionDialogPrivate GtkColorSelectionDialogPrivate; +typedef struct _GtkColorSelectionDialogClass GtkColorSelectionDialogClass; + + +struct _GtkColorSelectionDialog +{ + GtkDialog parent_instance; + + /*< private >*/ + GtkColorSelectionDialogPrivate *priv; +}; + +struct _GtkColorSelectionDialogClass +{ + GtkDialogClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +/* ColorSelectionDialog */ +GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_dialog_new) +GtkWidget* gtk_color_selection_dialog_new (const gchar *title); +GDK_DEPRECATED_IN_3_4_FOR(GtkColorChooser) +GtkWidget* gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel); + + +G_END_DECLS + +#endif /* __GTK_COLOR_SELECTION_DIALOG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkfontsel.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkfontsel.h new file mode 100644 index 0000000..f33ad76 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkfontsel.h @@ -0,0 +1,165 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * GtkFontSelection widget for Gtk+, by Damon Chaplin, May 1998. + * Based on the GnomeFontSelector widget, by Elliot Lee, but major changes. + * The GnomeFontSelector was derived from app/text_tool.c in the GIMP. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FONTSEL_H__ +#define __GTK_FONTSEL_H__ + + +#include +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_FONT_SELECTION (gtk_font_selection_get_type ()) +#define GTK_FONT_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_SELECTION, GtkFontSelection)) +#define GTK_FONT_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FONT_SELECTION, GtkFontSelectionClass)) +#define GTK_IS_FONT_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_SELECTION)) +#define GTK_IS_FONT_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FONT_SELECTION)) +#define GTK_FONT_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FONT_SELECTION, GtkFontSelectionClass)) + + +#define GTK_TYPE_FONT_SELECTION_DIALOG (gtk_font_selection_dialog_get_type ()) +#define GTK_FONT_SELECTION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_SELECTION_DIALOG, GtkFontSelectionDialog)) +#define GTK_FONT_SELECTION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FONT_SELECTION_DIALOG, GtkFontSelectionDialogClass)) +#define GTK_IS_FONT_SELECTION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_SELECTION_DIALOG)) +#define GTK_IS_FONT_SELECTION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FONT_SELECTION_DIALOG)) +#define GTK_FONT_SELECTION_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FONT_SELECTION_DIALOG, GtkFontSelectionDialogClass)) + + +typedef struct _GtkFontSelection GtkFontSelection; +typedef struct _GtkFontSelectionPrivate GtkFontSelectionPrivate; +typedef struct _GtkFontSelectionClass GtkFontSelectionClass; + +typedef struct _GtkFontSelectionDialog GtkFontSelectionDialog; +typedef struct _GtkFontSelectionDialogPrivate GtkFontSelectionDialogPrivate; +typedef struct _GtkFontSelectionDialogClass GtkFontSelectionDialogClass; + +struct _GtkFontSelection +{ + GtkBox parent_instance; + + /*< private >*/ + GtkFontSelectionPrivate *priv; +}; + +struct _GtkFontSelectionClass +{ + GtkBoxClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +struct _GtkFontSelectionDialog +{ + GtkDialog parent_instance; + + /*< private >*/ + GtkFontSelectionDialogPrivate *priv; +}; + +struct _GtkFontSelectionDialogClass +{ + GtkDialogClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_font_selection_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +GtkWidget * gtk_font_selection_new (void); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +GtkWidget * gtk_font_selection_get_family_list (GtkFontSelection *fontsel); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +GtkWidget * gtk_font_selection_get_face_list (GtkFontSelection *fontsel); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +GtkWidget * gtk_font_selection_get_size_entry (GtkFontSelection *fontsel); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +GtkWidget * gtk_font_selection_get_size_list (GtkFontSelection *fontsel); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +GtkWidget * gtk_font_selection_get_preview_entry (GtkFontSelection *fontsel); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +PangoFontFamily * + gtk_font_selection_get_family (GtkFontSelection *fontsel); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +PangoFontFace * + gtk_font_selection_get_face (GtkFontSelection *fontsel); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +gint gtk_font_selection_get_size (GtkFontSelection *fontsel); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +gchar* gtk_font_selection_get_font_name (GtkFontSelection *fontsel); + +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +gboolean gtk_font_selection_set_font_name (GtkFontSelection *fontsel, + const gchar *fontname); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +const gchar* gtk_font_selection_get_preview_text (GtkFontSelection *fontsel); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +void gtk_font_selection_set_preview_text (GtkFontSelection *fontsel, + const gchar *text); + + +GType gtk_font_selection_dialog_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +GtkWidget *gtk_font_selection_dialog_new (const gchar *title); + +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +GtkWidget *gtk_font_selection_dialog_get_ok_button (GtkFontSelectionDialog *fsd); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +GtkWidget *gtk_font_selection_dialog_get_cancel_button (GtkFontSelectionDialog *fsd); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +GtkWidget *gtk_font_selection_dialog_get_font_selection (GtkFontSelectionDialog *fsd); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +gchar* gtk_font_selection_dialog_get_font_name (GtkFontSelectionDialog *fsd); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +gboolean gtk_font_selection_dialog_set_font_name (GtkFontSelectionDialog *fsd, + const gchar *fontname); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +const gchar* + gtk_font_selection_dialog_get_preview_text (GtkFontSelectionDialog *fsd); +GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser) +void gtk_font_selection_dialog_set_preview_text (GtkFontSelectionDialog *fsd, + const gchar *text); + +G_END_DECLS + + +#endif /* __GTK_FONTSEL_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h new file mode 100644 index 0000000..0f84fc6 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h @@ -0,0 +1,100 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * Copyright (C) 1998 Elliot Lee + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +/* The GtkHandleBox is to allow widgets to be dragged in and out of + * their parents. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_HANDLE_BOX_H__ +#define __GTK_HANDLE_BOX_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_HANDLE_BOX (gtk_handle_box_get_type ()) +#define GTK_HANDLE_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HANDLE_BOX, GtkHandleBox)) +#define GTK_HANDLE_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HANDLE_BOX, GtkHandleBoxClass)) +#define GTK_IS_HANDLE_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HANDLE_BOX)) +#define GTK_IS_HANDLE_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HANDLE_BOX)) +#define GTK_HANDLE_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HANDLE_BOX, GtkHandleBoxClass)) + +typedef struct _GtkHandleBox GtkHandleBox; +typedef struct _GtkHandleBoxPrivate GtkHandleBoxPrivate; +typedef struct _GtkHandleBoxClass GtkHandleBoxClass; + +struct _GtkHandleBox +{ + GtkBin bin; + + /*< private >*/ + GtkHandleBoxPrivate *priv; +}; + +struct _GtkHandleBoxClass +{ + GtkBinClass parent_class; + + void (*child_attached) (GtkHandleBox *handle_box, + GtkWidget *child); + void (*child_detached) (GtkHandleBox *handle_box, + GtkWidget *child); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_handle_box_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_4 +GtkWidget* gtk_handle_box_new (void); +GDK_DEPRECATED_IN_3_4 +void gtk_handle_box_set_shadow_type (GtkHandleBox *handle_box, + GtkShadowType type); +GDK_DEPRECATED_IN_3_4 +GtkShadowType gtk_handle_box_get_shadow_type (GtkHandleBox *handle_box); +GDK_DEPRECATED_IN_3_4 +void gtk_handle_box_set_handle_position (GtkHandleBox *handle_box, + GtkPositionType position); +GDK_DEPRECATED_IN_3_4 +GtkPositionType gtk_handle_box_get_handle_position(GtkHandleBox *handle_box); +GDK_DEPRECATED_IN_3_4 +void gtk_handle_box_set_snap_edge (GtkHandleBox *handle_box, + GtkPositionType edge); +GDK_DEPRECATED_IN_3_4 +GtkPositionType gtk_handle_box_get_snap_edge (GtkHandleBox *handle_box); +GDK_DEPRECATED_IN_3_4 +gboolean gtk_handle_box_get_child_detached (GtkHandleBox *handle_box); + +G_END_DECLS + +#endif /* __GTK_HANDLE_BOX_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhbbox.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhbbox.h new file mode 100644 index 0000000..26714c8 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhbbox.h @@ -0,0 +1,65 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_HBUTTON_BOX_H__ +#define __GTK_HBUTTON_BOX_H__ + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_HBUTTON_BOX (gtk_hbutton_box_get_type ()) +#define GTK_HBUTTON_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HBUTTON_BOX, GtkHButtonBox)) +#define GTK_HBUTTON_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HBUTTON_BOX, GtkHButtonBoxClass)) +#define GTK_IS_HBUTTON_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HBUTTON_BOX)) +#define GTK_IS_HBUTTON_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HBUTTON_BOX)) +#define GTK_HBUTTON_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HBUTTON_BOX, GtkHButtonBoxClass)) + + +typedef struct _GtkHButtonBox GtkHButtonBox; +typedef struct _GtkHButtonBoxClass GtkHButtonBoxClass; + +struct _GtkHButtonBox +{ + GtkButtonBox button_box; +}; + +struct _GtkHButtonBoxClass +{ + GtkButtonBoxClass parent_class; +}; + + +GType gtk_hbutton_box_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_button_box_new) +GtkWidget* gtk_hbutton_box_new (void); + +G_END_DECLS + +#endif /* __GTK_HBUTTON_BOX_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhbox.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhbox.h new file mode 100644 index 0000000..ec4f9c5 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhbox.h @@ -0,0 +1,67 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_HBOX_H__ +#define __GTK_HBOX_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_HBOX (gtk_hbox_get_type ()) +#define GTK_HBOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HBOX, GtkHBox)) +#define GTK_HBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HBOX, GtkHBoxClass)) +#define GTK_IS_HBOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HBOX)) +#define GTK_IS_HBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HBOX)) +#define GTK_HBOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HBOX, GtkHBoxClass)) + + +typedef struct _GtkHBox GtkHBox; +typedef struct _GtkHBoxClass GtkHBoxClass; + +struct _GtkHBox +{ + GtkBox box; +}; + +struct _GtkHBoxClass +{ + GtkBoxClass parent_class; +}; + + +GType gtk_hbox_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_box_new) +GtkWidget * gtk_hbox_new (gboolean homogeneous, + gint spacing); + +G_END_DECLS + +#endif /* __GTK_HBOX_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhpaned.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhpaned.h new file mode 100644 index 0000000..e637939 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhpaned.h @@ -0,0 +1,64 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_HPANED_H__ +#define __GTK_HPANED_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_HPANED (gtk_hpaned_get_type ()) +#define GTK_HPANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HPANED, GtkHPaned)) +#define GTK_HPANED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HPANED, GtkHPanedClass)) +#define GTK_IS_HPANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HPANED)) +#define GTK_IS_HPANED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HPANED)) +#define GTK_HPANED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HPANED, GtkHPanedClass)) + + +typedef struct _GtkHPaned GtkHPaned; +typedef struct _GtkHPanedClass GtkHPanedClass; + +struct _GtkHPaned +{ + GtkPaned paned; +}; + +struct _GtkHPanedClass +{ + GtkPanedClass parent_class; +}; + + +GType gtk_hpaned_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_paned_new) +GtkWidget * gtk_hpaned_new (void); + +G_END_DECLS + +#endif /* __GTK_HPANED_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhscale.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhscale.h new file mode 100644 index 0000000..486a31f --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhscale.h @@ -0,0 +1,68 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_HSCALE_H__ +#define __GTK_HSCALE_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_HSCALE (gtk_hscale_get_type ()) +#define GTK_HSCALE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HSCALE, GtkHScale)) +#define GTK_HSCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSCALE, GtkHScaleClass)) +#define GTK_IS_HSCALE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HSCALE)) +#define GTK_IS_HSCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSCALE)) +#define GTK_HSCALE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HSCALE, GtkHScaleClass)) + + +typedef struct _GtkHScale GtkHScale; +typedef struct _GtkHScaleClass GtkHScaleClass; + +struct _GtkHScale +{ + GtkScale scale; +}; + +struct _GtkHScaleClass +{ + GtkScaleClass parent_class; +}; + + +GType gtk_hscale_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new) +GtkWidget* gtk_hscale_new (GtkAdjustment *adjustment); +GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new_with_range) +GtkWidget* gtk_hscale_new_with_range (gdouble min, + gdouble max, + gdouble step); + +G_END_DECLS + +#endif /* __GTK_HSCALE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhscrollbar.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhscrollbar.h new file mode 100644 index 0000000..c325c3c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhscrollbar.h @@ -0,0 +1,64 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_HSCROLLBAR_H__ +#define __GTK_HSCROLLBAR_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_HSCROLLBAR (gtk_hscrollbar_get_type ()) +#define GTK_HSCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HSCROLLBAR, GtkHScrollbar)) +#define GTK_HSCROLLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSCROLLBAR, GtkHScrollbarClass)) +#define GTK_IS_HSCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HSCROLLBAR)) +#define GTK_IS_HSCROLLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSCROLLBAR)) +#define GTK_HSCROLLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HSCROLLBAR, GtkHScrollbarClass)) + + +typedef struct _GtkHScrollbar GtkHScrollbar; +typedef struct _GtkHScrollbarClass GtkHScrollbarClass; + +struct _GtkHScrollbar +{ + GtkScrollbar scrollbar; +}; + +struct _GtkHScrollbarClass +{ + GtkScrollbarClass parent_class; +}; + + +GType gtk_hscrollbar_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_scrollbar_new) +GtkWidget* gtk_hscrollbar_new (GtkAdjustment *adjustment); + +G_END_DECLS + +#endif /* __GTK_HSCROLLBAR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhseparator.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhseparator.h new file mode 100644 index 0000000..f9bdaa9 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhseparator.h @@ -0,0 +1,64 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_HSEPARATOR_H__ +#define __GTK_HSEPARATOR_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_HSEPARATOR (gtk_hseparator_get_type ()) +#define GTK_HSEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HSEPARATOR, GtkHSeparator)) +#define GTK_HSEPARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSEPARATOR, GtkHSeparatorClass)) +#define GTK_IS_HSEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HSEPARATOR)) +#define GTK_IS_HSEPARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSEPARATOR)) +#define GTK_HSEPARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HSEPARATOR, GtkHSeparatorClass)) + + +typedef struct _GtkHSeparator GtkHSeparator; +typedef struct _GtkHSeparatorClass GtkHSeparatorClass; + +struct _GtkHSeparator +{ + GtkSeparator separator; +}; + +struct _GtkHSeparatorClass +{ + GtkSeparatorClass parent_class; +}; + + +GType gtk_hseparator_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_separator_new) +GtkWidget* gtk_hseparator_new (void); + +G_END_DECLS + +#endif /* __GTK_HSEPARATOR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhsv.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhsv.h new file mode 100644 index 0000000..9f9436c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkhsv.h @@ -0,0 +1,106 @@ +/* HSV color selector for GTK+ + * + * Copyright (C) 1999 The Free Software Foundation + * + * Authors: Simon Budig (original code) + * Federico Mena-Quintero (cleanup for GTK+) + * Jonathan Blandford (cleanup for GTK+) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_HSV_H__ +#define __GTK_HSV_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_HSV (gtk_hsv_get_type ()) +#define GTK_HSV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HSV, GtkHSV)) +#define GTK_HSV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSV, GtkHSVClass)) +#define GTK_IS_HSV(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HSV)) +#define GTK_IS_HSV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSV)) +#define GTK_HSV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_HSV, GtkHSVClass)) + + +typedef struct _GtkHSV GtkHSV; +typedef struct _GtkHSVPrivate GtkHSVPrivate; +typedef struct _GtkHSVClass GtkHSVClass; + +struct _GtkHSV +{ + GtkWidget parent_instance; + + /*< private >*/ + GtkHSVPrivate *priv; +}; + +struct _GtkHSVClass +{ + GtkWidgetClass parent_class; + + /* Notification signals */ + void (* changed) (GtkHSV *hsv); + + /* Keybindings */ + void (* move) (GtkHSV *hsv, + GtkDirectionType type); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_hsv_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_4 +GtkWidget* gtk_hsv_new (void); +GDK_DEPRECATED_IN_3_4 +void gtk_hsv_set_color (GtkHSV *hsv, + double h, + double s, + double v); +GDK_DEPRECATED_IN_3_4 +void gtk_hsv_get_color (GtkHSV *hsv, + gdouble *h, + gdouble *s, + gdouble *v); +GDK_DEPRECATED_IN_3_4 +void gtk_hsv_set_metrics (GtkHSV *hsv, + gint size, + gint ring_width); +GDK_DEPRECATED_IN_3_4 +void gtk_hsv_get_metrics (GtkHSV *hsv, + gint *size, + gint *ring_width); +GDK_DEPRECATED_IN_3_4 +gboolean gtk_hsv_is_adjusting (GtkHSV *hsv); + +G_END_DECLS + +#endif /* __GTK_HSV_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkrc.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkrc.h new file mode 100644 index 0000000..2f19183 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkrc.h @@ -0,0 +1,322 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RC_H__ +#define __GTK_RC_H__ + +#include + +G_BEGIN_DECLS + +/* Forward declarations */ +typedef struct _GtkRcContext GtkRcContext; +typedef struct _GtkRcStyleClass GtkRcStyleClass; + +#define GTK_TYPE_RC_STYLE (gtk_rc_style_get_type ()) +#define GTK_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_RC_STYLE, GtkRcStyle)) +#define GTK_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RC_STYLE, GtkRcStyleClass)) +#define GTK_IS_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_RC_STYLE)) +#define GTK_IS_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RC_STYLE)) +#define GTK_RC_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RC_STYLE, GtkRcStyleClass)) + +typedef enum +{ + GTK_RC_FG = 1 << 0, + GTK_RC_BG = 1 << 1, + GTK_RC_TEXT = 1 << 2, + GTK_RC_BASE = 1 << 3 +} GtkRcFlags; + +/** + * GtkRcStyle: + * @name: + * @bg_pixmap_name: + * @font_desc: + * @color_flags: + * @fg: + * @bg: + * @text: + * @base: + * @xthickness: + * @ythickness: + * + * 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. + */ +struct _GtkRcStyle +{ + GObject parent_instance; + + /*< public >*/ + + gchar *name; + gchar *bg_pixmap_name[5]; + PangoFontDescription *font_desc; + + GtkRcFlags color_flags[5]; + GdkColor fg[5]; + GdkColor bg[5]; + GdkColor text[5]; + GdkColor base[5]; + + gint xthickness; + gint ythickness; + + /*< private >*/ + GArray *rc_properties; + + /* list of RC style lists including this RC style */ + GSList *rc_style_lists; + + GSList *icon_factories; + + guint engine_specified : 1; /* The RC file specified the engine */ +}; + +struct _GtkRcStyleClass +{ + GObjectClass parent_class; + + /* Create an empty RC style of the same type as this RC style. + * The default implementation, which does + * g_object_new (G_OBJECT_TYPE (style), NULL); + * should work in most cases. + */ + GtkRcStyle * (*create_rc_style) (GtkRcStyle *rc_style); + + /* Fill in engine specific parts of GtkRcStyle by parsing contents + * of brackets. Returns G_TOKEN_NONE if successful, otherwise returns + * the token it expected but didn't get. + */ + guint (*parse) (GtkRcStyle *rc_style, + GtkSettings *settings, + GScanner *scanner); + + /* Combine RC style data from src into dest. If overridden, this + * function should chain to the parent. + */ + void (*merge) (GtkRcStyle *dest, + GtkRcStyle *src); + + /* Create an empty style suitable to this RC style + */ + GtkStyle * (*create_style) (GtkRcStyle *rc_style); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GSList* _gtk_rc_parse_widget_class_path (const gchar *pattern); +void _gtk_rc_free_widget_class_path (GSList *list); +gboolean _gtk_rc_match_widget_class (GSList *list, + gint length, + gchar *path, + gchar *path_reversed); + +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_rc_add_default_file (const gchar *filename); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_rc_set_default_files (gchar **filenames); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +gchar** gtk_rc_get_default_files (void); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +GtkStyle* gtk_rc_get_style (GtkWidget *widget); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +GtkStyle* gtk_rc_get_style_by_paths (GtkSettings *settings, + const char *widget_path, + const char *class_path, + GType type); + +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +gboolean gtk_rc_reparse_all_for_settings (GtkSettings *settings, + gboolean force_load); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_rc_reset_styles (GtkSettings *settings); + +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +gchar* gtk_rc_find_pixmap_in_path (GtkSettings *settings, + GScanner *scanner, + const gchar *pixmap_file); + +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_rc_parse (const gchar *filename); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_rc_parse_string (const gchar *rc_string); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +gboolean gtk_rc_reparse_all (void); + +GType gtk_rc_style_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +GtkRcStyle* gtk_rc_style_new (void); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +GtkRcStyle* gtk_rc_style_copy (GtkRcStyle *orig); + +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +gchar* gtk_rc_find_module_in_path (const gchar *module_file); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +gchar* gtk_rc_get_theme_dir (void); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +gchar* gtk_rc_get_module_dir (void); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +gchar* gtk_rc_get_im_module_path (void); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +gchar* gtk_rc_get_im_module_file (void); + +/* private functions/definitions */ + +/** + * GtkRcTokenType: + * @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_TEXT: + * @GTK_RC_TOKEN_BASE: + * @GTK_RC_TOKEN_XTHICKNESS: + * @GTK_RC_TOKEN_YTHICKNESS: + * @GTK_RC_TOKEN_FONT: + * @GTK_RC_TOKEN_FONTSET: + * @GTK_RC_TOKEN_FONT_NAME: + * @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_THEME: + * @GTK_RC_TOKEN_RC: + * @GTK_RC_TOKEN_HIGHEST: + * @GTK_RC_TOKEN_ENGINE: + * @GTK_RC_TOKEN_MODULE_PATH: + * @GTK_RC_TOKEN_IM_MODULE_PATH: + * @GTK_RC_TOKEN_IM_MODULE_FILE: + * @GTK_RC_TOKEN_STOCK: + * @GTK_RC_TOKEN_LTR: + * @GTK_RC_TOKEN_RTL: + * @GTK_RC_TOKEN_COLOR: + * @GTK_RC_TOKEN_UNBIND: + * @GTK_RC_TOKEN_LAST: + * + * 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. + * + * Deprecated: 3.0: Use #GtkCssProvider instead. + */ +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_TEXT, + GTK_RC_TOKEN_BASE, + GTK_RC_TOKEN_XTHICKNESS, + GTK_RC_TOKEN_YTHICKNESS, + GTK_RC_TOKEN_FONT, + GTK_RC_TOKEN_FONTSET, + GTK_RC_TOKEN_FONT_NAME, + 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_THEME, + GTK_RC_TOKEN_RC, + GTK_RC_TOKEN_HIGHEST, + GTK_RC_TOKEN_ENGINE, + GTK_RC_TOKEN_MODULE_PATH, + GTK_RC_TOKEN_IM_MODULE_PATH, + GTK_RC_TOKEN_IM_MODULE_FILE, + GTK_RC_TOKEN_STOCK, + GTK_RC_TOKEN_LTR, + GTK_RC_TOKEN_RTL, + GTK_RC_TOKEN_COLOR, + GTK_RC_TOKEN_UNBIND, + GTK_RC_TOKEN_LAST +} GtkRcTokenType; + +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +GScanner* gtk_rc_scanner_new (void); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +guint gtk_rc_parse_color (GScanner *scanner, + GdkColor *color); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +guint gtk_rc_parse_color_full (GScanner *scanner, + GtkRcStyle *style, + GdkColor *color); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +guint gtk_rc_parse_state (GScanner *scanner, + GtkStateType *state); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +guint gtk_rc_parse_priority (GScanner *scanner, + GtkPathPriorityType *priority); + +/* rc properties + * (structure forward declared in gtkstyle.h) + */ +struct _GtkRcProperty +{ + /* quark-ified property identifier like "GtkScrollbar::spacing" */ + GQuark type_name; + GQuark property_name; + + /* fields similar to GtkSettingsValue */ + gchar *origin; + GValue value; +}; + +G_END_DECLS + +#endif /* __GTK_RC_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkstyle.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkstyle.h new file mode 100644 index 0000000..1dd7100 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkstyle.h @@ -0,0 +1,703 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_STYLE_H__ +#define __GTK_STYLE_H__ + + +#include +#include +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_STYLE (gtk_style_get_type ()) +#define GTK_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_STYLE, GtkStyle)) +#define GTK_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_STYLE, GtkStyleClass)) +#define GTK_IS_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_STYLE)) +#define GTK_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_STYLE)) +#define GTK_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_STYLE, GtkStyleClass)) + +/* Some forward declarations needed to rationalize the header + * files. + */ +typedef struct _GtkStyleClass GtkStyleClass; +typedef struct _GtkThemeEngine GtkThemeEngine; +typedef struct _GtkRcProperty GtkRcProperty; + +/** + * GTK_STYLE_ATTACHED: + * @style: a #GtkStyle. + * + * Returns whether the style is attached to a window. + */ +#define GTK_STYLE_ATTACHED(style) (GTK_STYLE (style)->attach_count > 0) + +struct _GtkStyle +{ + GObject parent_instance; + + /*< public >*/ + + GdkColor fg[5]; + GdkColor bg[5]; + GdkColor light[5]; + GdkColor dark[5]; + GdkColor mid[5]; + GdkColor text[5]; + GdkColor base[5]; + GdkColor text_aa[5]; /* Halfway between text/base */ + + GdkColor black; + GdkColor white; + PangoFontDescription *font_desc; + + gint xthickness; + gint ythickness; + + cairo_pattern_t *background[5]; + + /*< private >*/ + + gint attach_count; + + GdkVisual *visual; + PangoFontDescription *private_font_desc; /* Font description for style->private_font or %NULL */ + + /* the RcStyle from which this style was created */ + GtkRcStyle *rc_style; + + GSList *styles; /* of type GtkStyle* */ + GArray *property_cache; + GSList *icon_factories; /* of type GtkIconFactory* */ +}; + +struct _GtkStyleClass +{ + GObjectClass parent_class; + + /* Initialize for a particular visual. style->visual + * will have been set at this point. Will typically chain + * to parent. + */ + void (*realize) (GtkStyle *style); + + /* Clean up for a particular visual. Will typically chain + * to parent. + */ + void (*unrealize) (GtkStyle *style); + + /* Make style an exact duplicate of src. + */ + void (*copy) (GtkStyle *style, + GtkStyle *src); + + /* Create an empty style of the same type as this style. + * The default implementation, which does + * g_object_new (G_OBJECT_TYPE (style), NULL); + * should work in most cases. + */ + GtkStyle *(*clone) (GtkStyle *style); + + /* Initialize the GtkStyle with the values in the GtkRcStyle. + * should chain to the parent implementation. + */ + void (*init_from_rc) (GtkStyle *style, + GtkRcStyle *rc_style); + + void (*set_background) (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type); + + + GdkPixbuf * (* render_icon) (GtkStyle *style, + const GtkIconSource *source, + GtkTextDirection direction, + GtkStateType state, + GtkIconSize size, + GtkWidget *widget, + const gchar *detail); + + /* Drawing functions + */ + + void (*draw_hline) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + gint x1, + gint x2, + gint y); + void (*draw_vline) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + gint y1_, + gint y2_, + gint x); + void (*draw_shadow) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_arrow) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + GtkArrowType arrow_type, + gboolean fill, + gint x, + gint y, + gint width, + gint height); + void (*draw_diamond) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_box) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_flat_box) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_check) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_option) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_tab) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_shadow_gap) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const 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, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); + void (*draw_extension) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side); + void (*draw_focus) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); + void (*draw_slider) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); + void (*draw_handle) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); + + void (*draw_expander) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + GtkExpanderStyle expander_style); + void (*draw_layout) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + gboolean use_text, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + PangoLayout *layout); + void (*draw_resize_grip) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + GdkWindowEdge edge, + gint x, + gint y, + gint width, + gint height); + void (*draw_spinner) (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + guint step, + gint x, + gint y, + gint width, + gint height); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); + void (*_gtk_reserved9) (void); + void (*_gtk_reserved10) (void); + void (*_gtk_reserved11) (void); +}; + +GType gtk_style_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +GtkStyle* gtk_style_new (void); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +GtkStyle* gtk_style_copy (GtkStyle *style); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +GtkStyle* gtk_style_attach (GtkStyle *style, + GdkWindow *window); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_style_detach (GtkStyle *style); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_style_set_background (GtkStyle *style, + GdkWindow *window, + GtkStateType state_type); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_style_apply_default_background (GtkStyle *style, + cairo_t *cr, + GdkWindow *window, + GtkStateType state_type, + gint x, + gint y, + gint width, + gint height); + +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +GtkIconSet* gtk_style_lookup_icon_set (GtkStyle *style, + const gchar *stock_id); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +gboolean gtk_style_lookup_color (GtkStyle *style, + const gchar *color_name, + GdkColor *color); + +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +GdkPixbuf* gtk_style_render_icon (GtkStyle *style, + const GtkIconSource *source, + GtkTextDirection direction, + GtkStateType state, + GtkIconSize size, + GtkWidget *widget, + const gchar *detail); + +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_hline (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + gint x1, + gint x2, + gint y); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_vline (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + gint y1_, + gint y2_, + gint x); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_shadow (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_arrow (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + GtkArrowType arrow_type, + gboolean fill, + gint x, + gint y, + gint width, + gint height); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_diamond (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_box (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_flat_box (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_check (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_option (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_tab (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_shadow_gap (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_box_gap (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side, + gint gap_x, + gint gap_width); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_extension (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkPositionType gap_side); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_focus (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_slider (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_handle (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkShadowType shadow_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + gint width, + gint height, + GtkOrientation orientation); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_expander (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + GtkExpanderStyle expander_style); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_layout (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + gboolean use_text, + GtkWidget *widget, + const gchar *detail, + gint x, + gint y, + PangoLayout *layout); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_resize_grip (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + GdkWindowEdge edge, + gint x, + gint y, + gint width, + gint height); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_paint_spinner (GtkStyle *style, + cairo_t *cr, + GtkStateType state_type, + GtkWidget *widget, + const gchar *detail, + guint step, + gint x, + gint y, + gint width, + gint height); + +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_style_get_style_property (GtkStyle *style, + GType widget_type, + const gchar *property_name, + GValue *value); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_style_get_valist (GtkStyle *style, + GType widget_type, + const gchar *first_property_name, + va_list var_args); +GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext) +void gtk_style_get (GtkStyle *style, + GType widget_type, + const gchar *first_property_name, + ...) G_GNUC_NULL_TERMINATED; + + +/* --- private API --- */ +GtkStyle* _gtk_style_new_for_path (GdkScreen *screen, + GtkWidgetPath *path); +void _gtk_style_shade (const GdkColor *a, + GdkColor *b, + gdouble k); + +gboolean gtk_style_has_context (GtkStyle *style); + +void gtk_widget_style_attach (GtkWidget *widget); +gboolean gtk_widget_has_rc_style (GtkWidget *widget); +void gtk_widget_set_style (GtkWidget *widget, + GtkStyle *style); +void gtk_widget_ensure_style (GtkWidget *widget); +GtkStyle * gtk_widget_get_style (GtkWidget *widget); +void gtk_widget_modify_style (GtkWidget *widget, + GtkRcStyle *style); +GtkRcStyle *gtk_widget_get_modifier_style (GtkWidget *widget); +void gtk_widget_modify_fg (GtkWidget *widget, + GtkStateType state, + const GdkColor *color); +void gtk_widget_modify_bg (GtkWidget *widget, + GtkStateType state, + const GdkColor *color); +void gtk_widget_modify_text (GtkWidget *widget, + GtkStateType state, + const GdkColor *color); +void gtk_widget_modify_base (GtkWidget *widget, + GtkStateType state, + const GdkColor *color); +void gtk_widget_modify_cursor (GtkWidget *widget, + const GdkColor *primary, + const GdkColor *secondary); +void gtk_widget_modify_font (GtkWidget *widget, + PangoFontDescription *font_desc); +void gtk_widget_reset_rc_styles (GtkWidget *widget); +GtkStyle* gtk_widget_get_default_style (void); +void gtk_widget_path (GtkWidget *widget, + guint *path_length, + gchar **path, + gchar **path_reversed); +void gtk_widget_class_path (GtkWidget *widget, + guint *path_length, + gchar **path, + gchar **path_reversed); +GdkPixbuf *gtk_widget_render_icon (GtkWidget *widget, + const gchar *stock_id, + GtkIconSize size, + const gchar *detail); + +G_END_DECLS + +#endif /* __GTK_STYLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtktable.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtktable.h new file mode 100644 index 0000000..bb53c7b --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtktable.h @@ -0,0 +1,162 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TABLE_H__ +#define __GTK_TABLE_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TABLE (gtk_table_get_type ()) +#define GTK_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TABLE, GtkTable)) +#define GTK_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TABLE, GtkTableClass)) +#define GTK_IS_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TABLE)) +#define GTK_IS_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TABLE)) +#define GTK_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TABLE, GtkTableClass)) + + +typedef struct _GtkTable GtkTable; +typedef struct _GtkTablePrivate GtkTablePrivate; +typedef struct _GtkTableClass GtkTableClass; +typedef struct _GtkTableChild GtkTableChild; +typedef struct _GtkTableRowCol GtkTableRowCol; + +struct _GtkTable +{ + GtkContainer container; + + /*< private >*/ + GtkTablePrivate *priv; +}; + +struct _GtkTableClass +{ + GtkContainerClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +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 _GtkTableRowCol +{ + guint16 requisition; + guint16 allocation; + guint16 spacing; + guint need_expand : 1; + guint need_shrink : 1; + guint expand : 1; + guint shrink : 1; + guint empty : 1; +}; + + +GType gtk_table_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +GtkWidget* gtk_table_new (guint rows, + guint columns, + gboolean homogeneous); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +void gtk_table_resize (GtkTable *table, + guint rows, + guint columns); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +void gtk_table_attach (GtkTable *table, + GtkWidget *child, + guint left_attach, + guint right_attach, + guint top_attach, + guint bottom_attach, + GtkAttachOptions xoptions, + GtkAttachOptions yoptions, + guint xpadding, + guint ypadding); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +void gtk_table_attach_defaults (GtkTable *table, + GtkWidget *widget, + guint left_attach, + guint right_attach, + guint top_attach, + guint bottom_attach); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +void gtk_table_set_row_spacing (GtkTable *table, + guint row, + guint spacing); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +guint gtk_table_get_row_spacing (GtkTable *table, + guint row); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +void gtk_table_set_col_spacing (GtkTable *table, + guint column, + guint spacing); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +guint gtk_table_get_col_spacing (GtkTable *table, + guint column); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +void gtk_table_set_row_spacings (GtkTable *table, + guint spacing); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +guint gtk_table_get_default_row_spacing (GtkTable *table); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +void gtk_table_set_col_spacings (GtkTable *table, + guint spacing); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +guint gtk_table_get_default_col_spacing (GtkTable *table); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +void gtk_table_set_homogeneous (GtkTable *table, + gboolean homogeneous); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +gboolean gtk_table_get_homogeneous (GtkTable *table); +GDK_DEPRECATED_IN_3_4_FOR(GtkGrid) +void gtk_table_get_size (GtkTable *table, + guint *rows, + guint *columns); + +G_END_DECLS + +#endif /* __GTK_TABLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtktearoffmenuitem.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtktearoffmenuitem.h new file mode 100644 index 0000000..d20ea07 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtktearoffmenuitem.h @@ -0,0 +1,74 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEAROFF_MENU_ITEM_H__ +#define __GTK_TEAROFF_MENU_ITEM_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TEAROFF_MENU_ITEM (gtk_tearoff_menu_item_get_type ()) +#define GTK_TEAROFF_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEAROFF_MENU_ITEM, GtkTearoffMenuItem)) +#define GTK_TEAROFF_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEAROFF_MENU_ITEM, GtkTearoffMenuItemClass)) +#define GTK_IS_TEAROFF_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEAROFF_MENU_ITEM)) +#define GTK_IS_TEAROFF_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEAROFF_MENU_ITEM)) +#define GTK_TEAROFF_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEAROFF_MENU_ITEM, GtkTearoffMenuItemClass)) + + +typedef struct _GtkTearoffMenuItem GtkTearoffMenuItem; +typedef struct _GtkTearoffMenuItemPrivate GtkTearoffMenuItemPrivate; +typedef struct _GtkTearoffMenuItemClass GtkTearoffMenuItemClass; + +struct _GtkTearoffMenuItem +{ + GtkMenuItem menu_item; + + /*< private >*/ + GtkTearoffMenuItemPrivate *priv; +}; + +struct _GtkTearoffMenuItemClass +{ + GtkMenuItemClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_tearoff_menu_item_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_4 +GtkWidget* gtk_tearoff_menu_item_new (void); + +G_END_DECLS + +#endif /* __GTK_TEAROFF_MENU_ITEM_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvbbox.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvbbox.h new file mode 100644 index 0000000..04e64d1 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvbbox.h @@ -0,0 +1,64 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VBBOX_H__ +#define __GTK_VBBOX_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_VBUTTON_BOX (gtk_vbutton_box_get_type ()) +#define GTK_VBUTTON_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VBUTTON_BOX, GtkVButtonBox)) +#define GTK_VBUTTON_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VBUTTON_BOX, GtkVButtonBoxClass)) +#define GTK_IS_VBUTTON_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VBUTTON_BOX)) +#define GTK_IS_VBUTTON_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VBUTTON_BOX)) +#define GTK_VBUTTON_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_VBUTTON_BOX, GtkVButtonBoxClass)) + + +typedef struct _GtkVButtonBox GtkVButtonBox; +typedef struct _GtkVButtonBoxClass GtkVButtonBoxClass; + +struct _GtkVButtonBox +{ + GtkButtonBox button_box; +}; + +struct _GtkVButtonBoxClass +{ + GtkButtonBoxClass parent_class; +}; + + +GType gtk_vbutton_box_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_button_box_new) +GtkWidget *gtk_vbutton_box_new (void); + +G_END_DECLS + +#endif /* __GTK_VBBOX_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvbox.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvbox.h new file mode 100644 index 0000000..1dcc2a8 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvbox.h @@ -0,0 +1,65 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VBOX_H__ +#define __GTK_VBOX_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_VBOX (gtk_vbox_get_type ()) +#define GTK_VBOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VBOX, GtkVBox)) +#define GTK_VBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VBOX, GtkVBoxClass)) +#define GTK_IS_VBOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VBOX)) +#define GTK_IS_VBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VBOX)) +#define GTK_VBOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_VBOX, GtkVBoxClass)) + + +typedef struct _GtkVBox GtkVBox; +typedef struct _GtkVBoxClass GtkVBoxClass; + +struct _GtkVBox +{ + GtkBox box; +}; + +struct _GtkVBoxClass +{ + GtkBoxClass parent_class; +}; + + +GType gtk_vbox_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_box_new) +GtkWidget * gtk_vbox_new (gboolean homogeneous, + gint spacing); + +G_END_DECLS + +#endif /* __GTK_VBOX_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvpaned.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvpaned.h new file mode 100644 index 0000000..bc54966 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvpaned.h @@ -0,0 +1,64 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VPANED_H__ +#define __GTK_VPANED_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_VPANED (gtk_vpaned_get_type ()) +#define GTK_VPANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VPANED, GtkVPaned)) +#define GTK_VPANED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VPANED, GtkVPanedClass)) +#define GTK_IS_VPANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VPANED)) +#define GTK_IS_VPANED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VPANED)) +#define GTK_VPANED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_VPANED, GtkVPanedClass)) + + +typedef struct _GtkVPaned GtkVPaned; +typedef struct _GtkVPanedClass GtkVPanedClass; + +struct _GtkVPaned +{ + GtkPaned paned; +}; + +struct _GtkVPanedClass +{ + GtkPanedClass parent_class; +}; + + +GType gtk_vpaned_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_paned_new) +GtkWidget * gtk_vpaned_new (void); + +G_END_DECLS + +#endif /* __GTK_VPANED_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvscale.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvscale.h new file mode 100644 index 0000000..8d191c0 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvscale.h @@ -0,0 +1,74 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VSCALE_H__ +#define __GTK_VSCALE_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_VSCALE (gtk_vscale_get_type ()) +#define GTK_VSCALE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VSCALE, GtkVScale)) +#define GTK_VSCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VSCALE, GtkVScaleClass)) +#define GTK_IS_VSCALE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VSCALE)) +#define GTK_IS_VSCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VSCALE)) +#define GTK_VSCALE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_VSCALE, GtkVScaleClass)) + + +typedef struct _GtkVScale GtkVScale; +typedef struct _GtkVScaleClass GtkVScaleClass; + +/** + * GtkVScale: + * + * The #GtkVScale struct contains private data only, and + * should be accessed using the functions below. + */ +struct _GtkVScale +{ + GtkScale scale; +}; + +struct _GtkVScaleClass +{ + GtkScaleClass parent_class; +}; + + +GType gtk_vscale_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new) +GtkWidget* gtk_vscale_new (GtkAdjustment *adjustment); +GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new_with_range) +GtkWidget* gtk_vscale_new_with_range (gdouble min, + gdouble max, + gdouble step); + +G_END_DECLS + +#endif /* __GTK_VSCALE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h new file mode 100644 index 0000000..8f641a9 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h @@ -0,0 +1,70 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VSCROLLBAR_H__ +#define __GTK_VSCROLLBAR_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_VSCROLLBAR (gtk_vscrollbar_get_type ()) +#define GTK_VSCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VSCROLLBAR, GtkVScrollbar)) +#define GTK_VSCROLLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VSCROLLBAR, GtkVScrollbarClass)) +#define GTK_IS_VSCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VSCROLLBAR)) +#define GTK_IS_VSCROLLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VSCROLLBAR)) +#define GTK_VSCROLLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_VSCROLLBAR, GtkVScrollbarClass)) + + +typedef struct _GtkVScrollbar GtkVScrollbar; +typedef struct _GtkVScrollbarClass GtkVScrollbarClass; + +/** + * GtkVScrollbar: + * + * The #GtkVScrollbar struct contains private data and should be accessed + * using the functions below. + */ +struct _GtkVScrollbar +{ + GtkScrollbar scrollbar; +}; + +struct _GtkVScrollbarClass +{ + GtkScrollbarClass parent_class; +}; + + +GType gtk_vscrollbar_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_scrollbar_new) +GtkWidget* gtk_vscrollbar_new (GtkAdjustment *adjustment); + +G_END_DECLS + +#endif /* __GTK_VSCROLLBAR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvseparator.h b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvseparator.h new file mode 100644 index 0000000..f0f4451 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/deprecated/gtkvseparator.h @@ -0,0 +1,70 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VSEPARATOR_H__ +#define __GTK_VSEPARATOR_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_VSEPARATOR (gtk_vseparator_get_type ()) +#define GTK_VSEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VSEPARATOR, GtkVSeparator)) +#define GTK_VSEPARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VSEPARATOR, GtkVSeparatorClass)) +#define GTK_IS_VSEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VSEPARATOR)) +#define GTK_IS_VSEPARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VSEPARATOR)) +#define GTK_VSEPARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_VSEPARATOR, GtkVSeparatorClass)) + + +typedef struct _GtkVSeparator GtkVSeparator; +typedef struct _GtkVSeparatorClass GtkVSeparatorClass; + +/** + * GtkVSeparator: + * + * The #GtkVSeparator struct contains private data only, and + * should be accessed using the functions below. + */ +struct _GtkVSeparator +{ + GtkSeparator separator; +}; + +struct _GtkVSeparatorClass +{ + GtkSeparatorClass parent_class; +}; + + +GType gtk_vseparator_get_type (void) G_GNUC_CONST; +GDK_DEPRECATED_IN_3_2_FOR(gtk_separator_new) +GtkWidget* gtk_vseparator_new (void); + +G_END_DECLS + +#endif /* __GTK_VSEPARATOR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtk.h b/gtk+-mingw/include/gtk-3.0/gtk/gtk.h new file mode 100644 index 0000000..de0181b --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtk.h @@ -0,0 +1,250 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#ifndef __GTK_H__ +#define __GTK_H__ + +#define __GTK_H_INSIDE__ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#undef __GTK_H_INSIDE__ + +#endif /* __GTK_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkaboutdialog.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkaboutdialog.h new file mode 100644 index 0000000..eae37f3 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkaboutdialog.h @@ -0,0 +1,169 @@ +/* GTK - The GIMP Toolkit + + Copyright (C) 2001 CodeFactory AB + Copyright (C) 2001 Anders Carlsson + Copyright (C) 2003, 2004 Matthias Clasen + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library. If not, see . + + Author: Anders Carlsson +*/ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ABOUT_DIALOG_H__ +#define __GTK_ABOUT_DIALOG_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ABOUT_DIALOG (gtk_about_dialog_get_type ()) +#define GTK_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialog)) +#define GTK_ABOUT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass)) +#define GTK_IS_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ABOUT_DIALOG)) +#define GTK_IS_ABOUT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ABOUT_DIALOG)) +#define GTK_ABOUT_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialogClass)) + +typedef struct _GtkAboutDialog GtkAboutDialog; +typedef struct _GtkAboutDialogClass GtkAboutDialogClass; +typedef struct _GtkAboutDialogPrivate GtkAboutDialogPrivate; + +/** + * GtkLicense: + * @GTK_LICENSE_UNKNOWN: No license specified + * @GTK_LICENSE_CUSTOM: A license text is going to be specified by the + * developer + * @GTK_LICENSE_GPL_2_0: The GNU General Public License, version 2.0 + * @GTK_LICENSE_GPL_3_0: The GNU General Public License, version 3.0 + * @GTK_LICENSE_LGPL_2_1: The GNU Lesser General Public License, version 2.1 + * @GTK_LICENSE_LGPL_3_0: The GNU Lesser General Public License, version 3.0 + * @GTK_LICENSE_BSD: The BSD standard license + * @GTK_LICENSE_MIT_X11: The MIT/X11 standard license + * @GTK_LICENSE_ARTISTIC: The Artistic License, version 2.0 + * + * The type of license for an application. + * + * This enumeration can be expanded at later date. + * + * Since: 3.0 + */ +typedef enum { + GTK_LICENSE_UNKNOWN, + GTK_LICENSE_CUSTOM, + + GTK_LICENSE_GPL_2_0, + GTK_LICENSE_GPL_3_0, + + GTK_LICENSE_LGPL_2_1, + GTK_LICENSE_LGPL_3_0, + + GTK_LICENSE_BSD, + GTK_LICENSE_MIT_X11, + + GTK_LICENSE_ARTISTIC +} GtkLicense; + +/** + * GtkAboutDialog: + * + * The GtkAboutDialog struct contains + * only private fields and should not be directly accessed. + */ +struct _GtkAboutDialog +{ + GtkDialog parent_instance; + + /*< private >*/ + GtkAboutDialogPrivate *priv; +}; + +struct _GtkAboutDialogClass +{ + GtkDialogClass parent_class; + + gboolean (*activate_link) (GtkAboutDialog *dialog, + const gchar *uri); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_about_dialog_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_about_dialog_new (void); +void gtk_show_about_dialog (GtkWindow *parent, + const gchar *first_property_name, + ...) G_GNUC_NULL_TERMINATED; +const gchar * gtk_about_dialog_get_program_name (GtkAboutDialog *about); +void gtk_about_dialog_set_program_name (GtkAboutDialog *about, + const gchar *name); +const gchar * gtk_about_dialog_get_version (GtkAboutDialog *about); +void gtk_about_dialog_set_version (GtkAboutDialog *about, + const gchar *version); +const gchar * gtk_about_dialog_get_copyright (GtkAboutDialog *about); +void gtk_about_dialog_set_copyright (GtkAboutDialog *about, + const gchar *copyright); +const gchar * gtk_about_dialog_get_comments (GtkAboutDialog *about); +void gtk_about_dialog_set_comments (GtkAboutDialog *about, + const gchar *comments); +const gchar * gtk_about_dialog_get_license (GtkAboutDialog *about); +void gtk_about_dialog_set_license (GtkAboutDialog *about, + const gchar *license); +void gtk_about_dialog_set_license_type (GtkAboutDialog *about, + GtkLicense license_type); +GtkLicense gtk_about_dialog_get_license_type (GtkAboutDialog *about); + +gboolean gtk_about_dialog_get_wrap_license (GtkAboutDialog *about); +void gtk_about_dialog_set_wrap_license (GtkAboutDialog *about, + gboolean wrap_license); + +const gchar * gtk_about_dialog_get_website (GtkAboutDialog *about); +void gtk_about_dialog_set_website (GtkAboutDialog *about, + const gchar *website); +const gchar * gtk_about_dialog_get_website_label (GtkAboutDialog *about); +void gtk_about_dialog_set_website_label (GtkAboutDialog *about, + const gchar *website_label); +const gchar* const * gtk_about_dialog_get_authors (GtkAboutDialog *about); +void gtk_about_dialog_set_authors (GtkAboutDialog *about, + const gchar **authors); +const gchar* const * gtk_about_dialog_get_documenters (GtkAboutDialog *about); +void gtk_about_dialog_set_documenters (GtkAboutDialog *about, + const gchar **documenters); +const gchar* const * gtk_about_dialog_get_artists (GtkAboutDialog *about); +void gtk_about_dialog_set_artists (GtkAboutDialog *about, + const gchar **artists); +const gchar * gtk_about_dialog_get_translator_credits (GtkAboutDialog *about); +void gtk_about_dialog_set_translator_credits (GtkAboutDialog *about, + const gchar *translator_credits); +GdkPixbuf *gtk_about_dialog_get_logo (GtkAboutDialog *about); +void gtk_about_dialog_set_logo (GtkAboutDialog *about, + GdkPixbuf *logo); +const gchar * gtk_about_dialog_get_logo_icon_name (GtkAboutDialog *about); +void gtk_about_dialog_set_logo_icon_name (GtkAboutDialog *about, + const gchar *icon_name); +GDK_AVAILABLE_IN_3_4 +void gtk_about_dialog_add_credit_section (GtkAboutDialog *about, + const gchar *section_name, + const gchar **people); + +G_END_DECLS + +#endif /* __GTK_ABOUT_DIALOG_H__ */ + + diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkaccelgroup.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkaccelgroup.h new file mode 100644 index 0000000..6274a44 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkaccelgroup.h @@ -0,0 +1,209 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1998, 2001 Tim Janik + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ACCEL_GROUP_H__ +#define __GTK_ACCEL_GROUP_H__ + + +#include +#include + +G_BEGIN_DECLS + + +/* --- type macros --- */ +#define GTK_TYPE_ACCEL_GROUP (gtk_accel_group_get_type ()) +#define GTK_ACCEL_GROUP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ACCEL_GROUP, GtkAccelGroup)) +#define GTK_ACCEL_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass)) +#define GTK_IS_ACCEL_GROUP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ACCEL_GROUP)) +#define GTK_IS_ACCEL_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_GROUP)) +#define GTK_ACCEL_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass)) + + +/* --- accel flags --- */ +typedef enum +{ + GTK_ACCEL_VISIBLE = 1 << 0, /* display in GtkAccelLabel? */ + GTK_ACCEL_LOCKED = 1 << 1, /* is it removable? */ + GTK_ACCEL_MASK = 0x07 +} GtkAccelFlags; + + +/* --- typedefs & structures --- */ +typedef struct _GtkAccelGroup GtkAccelGroup; +typedef struct _GtkAccelGroupClass GtkAccelGroupClass; +typedef struct _GtkAccelGroupPrivate GtkAccelGroupPrivate; +typedef struct _GtkAccelKey GtkAccelKey; +typedef struct _GtkAccelGroupEntry GtkAccelGroupEntry; +typedef gboolean (*GtkAccelGroupActivate) (GtkAccelGroup *accel_group, + GObject *acceleratable, + guint keyval, + GdkModifierType modifier); + +/** + * GtkAccelGroupFindFunc: + * @key: + * @closure: + * @data: (closure): + * + * Since: 2.2 + */ +typedef gboolean (*GtkAccelGroupFindFunc) (GtkAccelKey *key, + GClosure *closure, + gpointer data); + +/** + * GtkAccelGroup: + * + * An object representing and maintaining a group of accelerators. + */ +struct _GtkAccelGroup +{ + GObject parent; + GtkAccelGroupPrivate *priv; +}; + +struct _GtkAccelGroupClass +{ + GObjectClass parent_class; + + void (*accel_changed) (GtkAccelGroup *accel_group, + guint keyval, + GdkModifierType modifier, + GClosure *accel_closure); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +struct _GtkAccelKey +{ + guint accel_key; + GdkModifierType accel_mods; + guint accel_flags : 16; +}; + + +/* -- Accelerator Groups --- */ +GType gtk_accel_group_get_type (void) G_GNUC_CONST; +GtkAccelGroup* gtk_accel_group_new (void); +gboolean gtk_accel_group_get_is_locked (GtkAccelGroup *accel_group); +GdkModifierType + gtk_accel_group_get_modifier_mask (GtkAccelGroup *accel_group); +void gtk_accel_group_lock (GtkAccelGroup *accel_group); +void gtk_accel_group_unlock (GtkAccelGroup *accel_group); +void gtk_accel_group_connect (GtkAccelGroup *accel_group, + guint accel_key, + GdkModifierType accel_mods, + GtkAccelFlags accel_flags, + GClosure *closure); +void gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group, + const gchar *accel_path, + GClosure *closure); +gboolean gtk_accel_group_disconnect (GtkAccelGroup *accel_group, + GClosure *closure); +gboolean gtk_accel_group_disconnect_key (GtkAccelGroup *accel_group, + guint accel_key, + GdkModifierType accel_mods); +gboolean gtk_accel_group_activate (GtkAccelGroup *accel_group, + GQuark accel_quark, + GObject *acceleratable, + guint accel_key, + GdkModifierType accel_mods); + + +/* --- GtkActivatable glue --- */ +void _gtk_accel_group_attach (GtkAccelGroup *accel_group, + GObject *object); +void _gtk_accel_group_detach (GtkAccelGroup *accel_group, + GObject *object); +gboolean gtk_accel_groups_activate (GObject *object, + guint accel_key, + GdkModifierType accel_mods); +GSList* gtk_accel_groups_from_object (GObject *object); +GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group, + GtkAccelGroupFindFunc find_func, + gpointer data); +GtkAccelGroup* gtk_accel_group_from_accel_closure (GClosure *closure); + + +/* --- Accelerators--- */ +gboolean gtk_accelerator_valid (guint keyval, + GdkModifierType modifiers) G_GNUC_CONST; +void gtk_accelerator_parse (const gchar *accelerator, + guint *accelerator_key, + GdkModifierType *accelerator_mods); +GDK_AVAILABLE_IN_3_4 +void gtk_accelerator_parse_with_keycode (const gchar *accelerator, + guint *accelerator_key, + guint **accelerator_codes, + GdkModifierType *accelerator_mods); +gchar* gtk_accelerator_name (guint accelerator_key, + GdkModifierType accelerator_mods); +GDK_AVAILABLE_IN_3_4 +gchar* gtk_accelerator_name_with_keycode (GdkDisplay *display, + guint accelerator_key, + guint keycode, + GdkModifierType accelerator_mods); +gchar* gtk_accelerator_get_label (guint accelerator_key, + GdkModifierType accelerator_mods); +GDK_AVAILABLE_IN_3_4 +gchar* gtk_accelerator_get_label_with_keycode (GdkDisplay *display, + guint accelerator_key, + guint keycode, + GdkModifierType accelerator_mods); +void gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask); +GdkModifierType + gtk_accelerator_get_default_mod_mask (void); + + +/* --- internal --- */ +GtkAccelGroupEntry* gtk_accel_group_query (GtkAccelGroup *accel_group, + guint accel_key, + GdkModifierType accel_mods, + guint *n_entries); + +void _gtk_accel_group_reconnect (GtkAccelGroup *accel_group, + GQuark accel_path_quark); +GSList* _gtk_accel_group_get_accelerables (GtkAccelGroup *accel_group); + +struct _GtkAccelGroupEntry +{ + GtkAccelKey key; + GClosure *closure; + GQuark accel_path_quark; +}; + + +G_END_DECLS + + +#endif /* __GTK_ACCEL_GROUP_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkaccellabel.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkaccellabel.h new file mode 100644 index 0000000..a1a9e02 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkaccellabel.h @@ -0,0 +1,101 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * GtkAccelLabel: GtkLabel with accelerator monitoring facilities. + * Copyright (C) 1998 Tim Janik + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ACCEL_LABEL_H__ +#define __GTK_ACCEL_LABEL_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_ACCEL_LABEL (gtk_accel_label_get_type ()) +#define GTK_ACCEL_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabel)) +#define GTK_ACCEL_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_LABEL, GtkAccelLabelClass)) +#define GTK_IS_ACCEL_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACCEL_LABEL)) +#define GTK_IS_ACCEL_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_LABEL)) +#define GTK_ACCEL_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabelClass)) + + +typedef struct _GtkAccelLabel GtkAccelLabel; +typedef struct _GtkAccelLabelClass GtkAccelLabelClass; +typedef struct _GtkAccelLabelPrivate GtkAccelLabelPrivate; + +/** + * GtkAccelLabel: + * + * The #GtkAccelLabel-struct struct contains private data only, and + * should be accessed using the functions below. + */ +struct _GtkAccelLabel +{ + GtkLabel label; + GtkAccelLabelPrivate *priv; +}; + +struct _GtkAccelLabelClass +{ + GtkLabelClass parent_class; + + gchar *signal_quote1; + gchar *signal_quote2; + gchar *mod_name_shift; + gchar *mod_name_control; + gchar *mod_name_alt; + gchar *mod_separator; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_accel_label_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_accel_label_new (const gchar *string); +GtkWidget* gtk_accel_label_get_accel_widget (GtkAccelLabel *accel_label); +guint gtk_accel_label_get_accel_width (GtkAccelLabel *accel_label); +void gtk_accel_label_set_accel_widget (GtkAccelLabel *accel_label, + GtkWidget *accel_widget); +void gtk_accel_label_set_accel_closure (GtkAccelLabel *accel_label, + GClosure *accel_closure); +gboolean gtk_accel_label_refetch (GtkAccelLabel *accel_label); + +/* private */ +gchar * _gtk_accel_label_class_get_accelerator_label (GtkAccelLabelClass *klass, + guint accelerator_key, + GdkModifierType accelerator_mods); + +G_END_DECLS + +#endif /* __GTK_ACCEL_LABEL_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkaccelmap.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkaccelmap.h new file mode 100644 index 0000000..e77fb83 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkaccelmap.h @@ -0,0 +1,93 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1998, 2001 Tim Janik + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ACCEL_MAP_H__ +#define __GTK_ACCEL_MAP_H__ + + +#include + +G_BEGIN_DECLS + +/* --- global GtkAccelMap object --- */ +#define GTK_TYPE_ACCEL_MAP (gtk_accel_map_get_type ()) +#define GTK_ACCEL_MAP(accel_map) (G_TYPE_CHECK_INSTANCE_CAST ((accel_map), GTK_TYPE_ACCEL_MAP, GtkAccelMap)) +#define GTK_ACCEL_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass)) +#define GTK_IS_ACCEL_MAP(accel_map) (G_TYPE_CHECK_INSTANCE_TYPE ((accel_map), GTK_TYPE_ACCEL_MAP)) +#define GTK_IS_ACCEL_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_MAP)) +#define GTK_ACCEL_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass)) + +typedef struct _GtkAccelMap GtkAccelMap; +typedef struct _GtkAccelMapClass GtkAccelMapClass; + +/* --- notifier --- */ +/** + * GtkAccelMapForeach: + * @data: User data passed to gtk_accel_map_foreach() or + * gtk_accel_map_foreach_unfiltered() + * @accel_path: Accel path of the current accelerator + * @accel_key: Key of the current accelerator + * @accel_mods: Modifiers of the current accelerator + * @changed: Changed flag of the accelerator (if %TRUE, accelerator has changed + * during runtime and would need to be saved during an accelerator dump) + */ +typedef void (*GtkAccelMapForeach) (gpointer data, + const gchar *accel_path, + guint accel_key, + GdkModifierType accel_mods, + gboolean changed); + + +/* --- public API --- */ + +void gtk_accel_map_add_entry (const gchar *accel_path, + guint accel_key, + GdkModifierType accel_mods); +gboolean gtk_accel_map_lookup_entry (const gchar *accel_path, + GtkAccelKey *key); +gboolean gtk_accel_map_change_entry (const gchar *accel_path, + guint accel_key, + GdkModifierType accel_mods, + gboolean replace); +void gtk_accel_map_load (const gchar *file_name); +void gtk_accel_map_save (const gchar *file_name); +void gtk_accel_map_foreach (gpointer data, + GtkAccelMapForeach foreach_func); +void gtk_accel_map_load_fd (gint fd); +void gtk_accel_map_load_scanner (GScanner *scanner); +void gtk_accel_map_save_fd (gint fd); + +void gtk_accel_map_lock_path (const gchar *accel_path); +void gtk_accel_map_unlock_path (const gchar *accel_path); + +/* --- filter functions --- */ +void gtk_accel_map_add_filter (const gchar *filter_pattern); +void gtk_accel_map_foreach_unfiltered (gpointer data, + GtkAccelMapForeach foreach_func); + +/* --- notification --- */ +GType gtk_accel_map_get_type (void) G_GNUC_CONST; +GtkAccelMap *gtk_accel_map_get (void); + + +G_END_DECLS + +#endif /* __GTK_ACCEL_MAP_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkaccessible.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkaccessible.h new file mode 100644 index 0000000..5479224 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkaccessible.h @@ -0,0 +1,75 @@ +/* GTK - The GIMP Toolkit + * Copyright 2001 Sun Microsystems Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ACCESSIBLE_H__ +#define __GTK_ACCESSIBLE_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ACCESSIBLE (gtk_accessible_get_type ()) +#define GTK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessible)) +#define GTK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass)) +#define GTK_IS_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACCESSIBLE)) +#define GTK_IS_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCESSIBLE)) +#define GTK_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass)) + +typedef struct _GtkAccessible GtkAccessible; +typedef struct _GtkAccessiblePrivate GtkAccessiblePrivate; +typedef struct _GtkAccessibleClass GtkAccessibleClass; + +struct _GtkAccessible +{ + AtkObject parent; + + /*< private >*/ + GtkAccessiblePrivate *priv; +}; + +struct _GtkAccessibleClass +{ + AtkObjectClass parent_class; + + void (*connect_widget_destroyed) (GtkAccessible *accessible); + + void (*widget_set) (GtkAccessible *accessible); + void (*widget_unset) (GtkAccessible *accessible); + /* Padding for future expansion */ + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_accessible_get_type (void) G_GNUC_CONST; + +void gtk_accessible_set_widget (GtkAccessible *accessible, + GtkWidget *widget); +GtkWidget *gtk_accessible_get_widget (GtkAccessible *accessible); + +GDK_DEPRECATED_IN_3_4_FOR(gtk_accessible_set_widget) +void gtk_accessible_connect_widget_destroyed (GtkAccessible *accessible); + +G_END_DECLS + +#endif /* __GTK_ACCESSIBLE_H__ */ + + diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkaction.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkaction.h new file mode 100644 index 0000000..944fb29 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkaction.h @@ -0,0 +1,166 @@ +/* + * GTK - The GIMP Toolkit + * Copyright (C) 1998, 1999 Red Hat, Inc. + * All rights reserved. + * + * This Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +/* + * Author: James Henstridge + * + * Modified by the GTK+ Team and others 2003. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ACTION_H__ +#define __GTK_ACTION_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ACTION (gtk_action_get_type ()) +#define GTK_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTION, GtkAction)) +#define GTK_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACTION, GtkActionClass)) +#define GTK_IS_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACTION)) +#define GTK_IS_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACTION)) +#define GTK_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_ACTION, GtkActionClass)) + +typedef struct _GtkAction GtkAction; +typedef struct _GtkActionClass GtkActionClass; +typedef struct _GtkActionPrivate GtkActionPrivate; + +struct _GtkAction +{ + GObject object; + + /*< private >*/ + GtkActionPrivate *private_data; +}; + +struct _GtkActionClass +{ + GObjectClass parent_class; + + /* activation signal */ + void (* activate) (GtkAction *action); + + GType menu_item_type; + GType toolbar_item_type; + + /* widget creation routines (not signals) */ + GtkWidget *(* create_menu_item) (GtkAction *action); + GtkWidget *(* create_tool_item) (GtkAction *action); + void (* connect_proxy) (GtkAction *action, + GtkWidget *proxy); + void (* disconnect_proxy) (GtkAction *action, + GtkWidget *proxy); + + GtkWidget *(* create_menu) (GtkAction *action); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_action_get_type (void) G_GNUC_CONST; +GtkAction *gtk_action_new (const gchar *name, + const gchar *label, + const gchar *tooltip, + const gchar *stock_id); +const gchar* gtk_action_get_name (GtkAction *action); +gboolean gtk_action_is_sensitive (GtkAction *action); +gboolean gtk_action_get_sensitive (GtkAction *action); +void gtk_action_set_sensitive (GtkAction *action, + gboolean sensitive); +gboolean gtk_action_is_visible (GtkAction *action); +gboolean gtk_action_get_visible (GtkAction *action); +void gtk_action_set_visible (GtkAction *action, + gboolean visible); +void gtk_action_activate (GtkAction *action); +GtkWidget * gtk_action_create_icon (GtkAction *action, + GtkIconSize icon_size); +GtkWidget * gtk_action_create_menu_item (GtkAction *action); +GtkWidget * gtk_action_create_tool_item (GtkAction *action); +GtkWidget * gtk_action_create_menu (GtkAction *action); +GSList * gtk_action_get_proxies (GtkAction *action); +void gtk_action_connect_accelerator (GtkAction *action); +void gtk_action_disconnect_accelerator (GtkAction *action); +const gchar *gtk_action_get_accel_path (GtkAction *action); +GClosure *gtk_action_get_accel_closure (GtkAction *action); +void gtk_action_block_activate (GtkAction *action); +void gtk_action_unblock_activate (GtkAction *action); + + +void _gtk_action_add_to_proxy_list (GtkAction *action, + GtkWidget *proxy); +void _gtk_action_remove_from_proxy_list(GtkAction *action, + GtkWidget *proxy); + +/* protected ... for use by child actions */ +void _gtk_action_emit_activate (GtkAction *action); + +/* protected ... for use by action groups */ +void gtk_action_set_accel_path (GtkAction *action, + const gchar *accel_path); +void gtk_action_set_accel_group (GtkAction *action, + GtkAccelGroup *accel_group); +void _gtk_action_sync_menu_visible (GtkAction *action, + GtkWidget *proxy, + gboolean empty); + +void gtk_action_set_label (GtkAction *action, + const gchar *label); +const gchar * gtk_action_get_label (GtkAction *action); +void gtk_action_set_short_label (GtkAction *action, + const gchar *short_label); +const gchar * gtk_action_get_short_label (GtkAction *action); +void gtk_action_set_tooltip (GtkAction *action, + const gchar *tooltip); +const gchar * gtk_action_get_tooltip (GtkAction *action); +void gtk_action_set_stock_id (GtkAction *action, + const gchar *stock_id); +const gchar * gtk_action_get_stock_id (GtkAction *action); +void gtk_action_set_gicon (GtkAction *action, + GIcon *icon); +GIcon *gtk_action_get_gicon (GtkAction *action); +void gtk_action_set_icon_name (GtkAction *action, + const gchar *icon_name); +const gchar * gtk_action_get_icon_name (GtkAction *action); +void gtk_action_set_visible_horizontal (GtkAction *action, + gboolean visible_horizontal); +gboolean gtk_action_get_visible_horizontal (GtkAction *action); +void gtk_action_set_visible_vertical (GtkAction *action, + gboolean visible_vertical); +gboolean gtk_action_get_visible_vertical (GtkAction *action); +void gtk_action_set_is_important (GtkAction *action, + gboolean is_important); +gboolean gtk_action_get_is_important (GtkAction *action); +void gtk_action_set_always_show_image (GtkAction *action, + gboolean always_show); +gboolean gtk_action_get_always_show_image (GtkAction *action); + + +G_END_DECLS + +#endif /* __GTK_ACTION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkactionable.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkactionable.h new file mode 100644 index 0000000..f8ea75e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkactionable.h @@ -0,0 +1,77 @@ +/* + * Copyright © 2012 Canonical Limited + * + * This library is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2 of the + * licence or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Authors: Ryan Lortie + */ + +#ifndef __GTK_ACTIONABLE_H__ +#define __GTK_ACTIONABLE_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ACTIONABLE (gtk_actionable_get_type ()) +#define GTK_ACTIONABLE(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ + GTK_TYPE_ACTIONABLE, GtkActionable)) +#define GTK_IS_ACTIONABLE(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \ + GTK_TYPE_ACTIONABLE)) +#define GTK_ACTIONABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), \ + GTK_TYPE_ACTIONABLE, GtkActionableInterface)) + +typedef struct _GtkActionableInterface GtkActionableInterface; +typedef struct _GtkActionable GtkActionable; + +struct _GtkActionableInterface +{ + GTypeInterface g_iface; + + const gchar * (* get_action_name) (GtkActionable *actionable); + void (* set_action_name) (GtkActionable *actionable, + const gchar *action_name); + GVariant * (* get_action_target_value) (GtkActionable *actionable); + void (* set_action_target_value) (GtkActionable *actionable, + GVariant *action_target_value); +}; + +GDK_AVAILABLE_IN_3_4 +GType gtk_actionable_get_type (void) G_GNUC_CONST; + +GDK_AVAILABLE_IN_3_4 +const gchar * gtk_actionable_get_action_name (GtkActionable *actionable); +GDK_AVAILABLE_IN_3_4 +void gtk_actionable_set_action_name (GtkActionable *actionable, + const gchar *action_name); + +GDK_AVAILABLE_IN_3_4 +GVariant * gtk_actionable_get_action_target_value (GtkActionable *actionable); +GDK_AVAILABLE_IN_3_4 +void gtk_actionable_set_action_target_value (GtkActionable *actionable, + GVariant *target_value); + +GDK_AVAILABLE_IN_3_4 +void gtk_actionable_set_action_target (GtkActionable *actionable, + const gchar *format_string, + ...); + +GDK_AVAILABLE_IN_3_4 +void gtk_actionable_set_detailed_action_name (GtkActionable *actionable, + const gchar *detailed_action_name); + +G_END_DECLS + +#endif /* __GTK_ACTIONABLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkactiongroup.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkactiongroup.h new file mode 100644 index 0000000..5f1658a --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkactiongroup.h @@ -0,0 +1,232 @@ +/* + * GTK - The GIMP Toolkit + * Copyright (C) 1998, 1999 Red Hat, Inc. + * All rights reserved. + * + * This Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +/* + * Author: James Henstridge + * + * Modified by the GTK+ Team and others 2003. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ACTION_GROUP_H__ +#define __GTK_ACTION_GROUP_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ACTION_GROUP (gtk_action_group_get_type ()) +#define GTK_ACTION_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTION_GROUP, GtkActionGroup)) +#define GTK_ACTION_GROUP_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_ACTION_GROUP, GtkActionGroupClass)) +#define GTK_IS_ACTION_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACTION_GROUP)) +#define GTK_IS_ACTION_GROUP_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_ACTION_GROUP)) +#define GTK_ACTION_GROUP_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), GTK_TYPE_ACTION_GROUP, GtkActionGroupClass)) + +typedef struct _GtkActionGroup GtkActionGroup; +typedef struct _GtkActionGroupPrivate GtkActionGroupPrivate; +typedef struct _GtkActionGroupClass GtkActionGroupClass; +typedef struct _GtkActionEntry GtkActionEntry; +typedef struct _GtkToggleActionEntry GtkToggleActionEntry; +typedef struct _GtkRadioActionEntry GtkRadioActionEntry; + +struct _GtkActionGroup +{ + GObject parent; + + /*< private >*/ + GtkActionGroupPrivate *priv; +}; + +struct _GtkActionGroupClass +{ + GObjectClass parent_class; + + GtkAction *(* get_action) (GtkActionGroup *action_group, + const gchar *action_name); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +/** + * GtkActionEntry: + * @name: The name of the action. + * @stock_id: The stock id for the action, or the name of an icon from the + * icon theme. + * @label: The label for the action. This field should typically be marked + * for translation, see gtk_action_group_set_translation_domain(). If + * @label is %NULL, the label of the stock item with id @stock_id is used. + * @accelerator: The accelerator for the action, in the format understood by + * gtk_accelerator_parse(). + * @tooltip: The tooltip for the action. This field should typically be + * marked for translation, see gtk_action_group_set_translation_domain(). + * @callback: The function to call when the action is activated. + * + * #GtkActionEntry structs are used with gtk_action_group_add_actions() to + * construct actions. + */ +struct _GtkActionEntry +{ + const gchar *name; + const gchar *stock_id; + const gchar *label; + const gchar *accelerator; + const gchar *tooltip; + GCallback callback; +}; + +/** + * GtkToggleActionEntry: + * @name: The name of the action. + * @stock_id: The stock id for the action, or the name of an icon from the + * icon theme. + * @label: The label for the action. This field should typically be marked + * for translation, see gtk_action_group_set_translation_domain(). + * @accelerator: The accelerator for the action, in the format understood by + * gtk_accelerator_parse(). + * @tooltip: The tooltip for the action. This field should typically be + * marked for translation, see gtk_action_group_set_translation_domain(). + * @callback: The function to call when the action is activated. + * @is_active: The initial state of the toggle action. + * + * #GtkToggleActionEntry structs are used with + * gtk_action_group_add_toggle_actions() to construct toggle actions. + */ +struct _GtkToggleActionEntry +{ + const gchar *name; + const gchar *stock_id; + const gchar *label; + const gchar *accelerator; + const gchar *tooltip; + GCallback callback; + gboolean is_active; +}; + +/** + * GtkRadioActionEntry: + * @name: The name of the action. + * @stock_id: The stock id for the action, or the name of an icon from the + * icon theme. + * @label: The label for the action. This field should typically be marked + * for translation, see gtk_action_group_set_translation_domain(). + * @accelerator: The accelerator for the action, in the format understood by + * gtk_accelerator_parse(). + * @tooltip: The tooltip for the action. This field should typically be + * marked for translation, see gtk_action_group_set_translation_domain(). + * @value: The value to set on the radio action. See + * gtk_radio_action_get_current_value(). + * + * #GtkRadioActionEntry structs are used with + * gtk_action_group_add_radio_actions() to construct groups of radio actions. + */ +struct _GtkRadioActionEntry +{ + const gchar *name; + const gchar *stock_id; + const gchar *label; + const gchar *accelerator; + const gchar *tooltip; + gint value; +}; + +GType gtk_action_group_get_type (void) G_GNUC_CONST; +GtkActionGroup *gtk_action_group_new (const gchar *name); +const gchar *gtk_action_group_get_name (GtkActionGroup *action_group); +gboolean gtk_action_group_get_sensitive (GtkActionGroup *action_group); +void gtk_action_group_set_sensitive (GtkActionGroup *action_group, + gboolean sensitive); +gboolean gtk_action_group_get_visible (GtkActionGroup *action_group); +void gtk_action_group_set_visible (GtkActionGroup *action_group, + gboolean visible); +GtkAction *gtk_action_group_get_action (GtkActionGroup *action_group, + const gchar *action_name); +GList *gtk_action_group_list_actions (GtkActionGroup *action_group); +void gtk_action_group_add_action (GtkActionGroup *action_group, + GtkAction *action); +void gtk_action_group_add_action_with_accel (GtkActionGroup *action_group, + GtkAction *action, + const gchar *accelerator); +void gtk_action_group_remove_action (GtkActionGroup *action_group, + GtkAction *action); +void gtk_action_group_add_actions (GtkActionGroup *action_group, + const GtkActionEntry *entries, + guint n_entries, + gpointer user_data); +void gtk_action_group_add_toggle_actions (GtkActionGroup *action_group, + const GtkToggleActionEntry *entries, + guint n_entries, + gpointer user_data); +void gtk_action_group_add_radio_actions (GtkActionGroup *action_group, + const GtkRadioActionEntry *entries, + guint n_entries, + gint value, + GCallback on_change, + gpointer user_data); +void gtk_action_group_add_actions_full (GtkActionGroup *action_group, + const GtkActionEntry *entries, + guint n_entries, + gpointer user_data, + GDestroyNotify destroy); +void gtk_action_group_add_toggle_actions_full (GtkActionGroup *action_group, + const GtkToggleActionEntry *entries, + guint n_entries, + gpointer user_data, + GDestroyNotify destroy); +void gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group, + const GtkRadioActionEntry *entries, + guint n_entries, + gint value, + GCallback on_change, + gpointer user_data, + GDestroyNotify destroy); +void gtk_action_group_set_translate_func (GtkActionGroup *action_group, + GtkTranslateFunc func, + gpointer data, + GDestroyNotify notify); +void gtk_action_group_set_translation_domain (GtkActionGroup *action_group, + const gchar *domain); +const gchar * gtk_action_group_translate_string (GtkActionGroup *action_group, + const gchar *string); + +/* Protected for use by GtkAction */ +void _gtk_action_group_emit_connect_proxy (GtkActionGroup *action_group, + GtkAction *action, + GtkWidget *proxy); +void _gtk_action_group_emit_disconnect_proxy (GtkActionGroup *action_group, + GtkAction *action, + GtkWidget *proxy); +void _gtk_action_group_emit_pre_activate (GtkActionGroup *action_group, + GtkAction *action); +void _gtk_action_group_emit_post_activate (GtkActionGroup *action_group, + GtkAction *action); + +G_END_DECLS + +#endif /* __GTK_ACTION_GROUP_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkactivatable.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkactivatable.h new file mode 100644 index 0000000..6b13c17 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkactivatable.h @@ -0,0 +1,85 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2008 Tristan Van Berkom + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ACTIVATABLE_H__ +#define __GTK_ACTIVATABLE_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ACTIVATABLE (gtk_activatable_get_type ()) +#define GTK_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTIVATABLE, GtkActivatable)) +#define GTK_ACTIVATABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_ACTIVATABLE, GtkActivatableIface)) +#define GTK_IS_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACTIVATABLE)) +#define GTK_ACTIVATABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_ACTIVATABLE, GtkActivatableIface)) + + +typedef struct _GtkActivatable GtkActivatable; /* Dummy typedef */ +typedef struct _GtkActivatableIface GtkActivatableIface; + + +/** + * GtkActivatableIface: + * @update: Called to update the activatable when its related action's properties change. + * You must check the #GtkActivatable:use-action-appearance property only apply action + * properties that are meant to effect the appearance accordingly. + * @sync_action_properties: Called to update the activatable completely, this is called internally when + * #GtkActivatable:related-action property is set or unset and by the implementor when + * #GtkActivatable:use-action-appearance changes.This method can be called + * with a %NULL action at times + * + * Since: 2.16 + */ + +struct _GtkActivatableIface +{ + GTypeInterface g_iface; + + /* virtual table */ + void (* update) (GtkActivatable *activatable, + GtkAction *action, + const gchar *property_name); + void (* sync_action_properties) (GtkActivatable *activatable, + GtkAction *action); +}; + + +GType gtk_activatable_get_type (void) G_GNUC_CONST; + +void gtk_activatable_sync_action_properties (GtkActivatable *activatable, + GtkAction *action); + +void gtk_activatable_set_related_action (GtkActivatable *activatable, + GtkAction *action); +GtkAction *gtk_activatable_get_related_action (GtkActivatable *activatable); + +void gtk_activatable_set_use_action_appearance (GtkActivatable *activatable, + gboolean use_appearance); +gboolean gtk_activatable_get_use_action_appearance (GtkActivatable *activatable); + +/* For use in activatable implementations */ +void gtk_activatable_do_set_related_action (GtkActivatable *activatable, + GtkAction *action); + +G_END_DECLS + +#endif /* __GTK_ACTIVATABLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkadjustment.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkadjustment.h new file mode 100644 index 0000000..8af9685 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkadjustment.h @@ -0,0 +1,121 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ADJUSTMENT_H__ +#define __GTK_ADJUSTMENT_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ADJUSTMENT (gtk_adjustment_get_type ()) +#define GTK_ADJUSTMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustment)) +#define GTK_ADJUSTMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass)) +#define GTK_IS_ADJUSTMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ADJUSTMENT)) +#define GTK_IS_ADJUSTMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ADJUSTMENT)) +#define GTK_ADJUSTMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass)) + + +typedef struct _GtkAdjustmentPrivate GtkAdjustmentPrivate; +typedef struct _GtkAdjustmentClass GtkAdjustmentClass; + +/** + * GtkAdjustment: + * + * The #GtkAdjustment struct contains only private fields and + * should not be directly accessed. + */ +struct _GtkAdjustment +{ + GInitiallyUnowned parent_instance; + + GtkAdjustmentPrivate *priv; +}; + +struct _GtkAdjustmentClass +{ + GInitiallyUnownedClass parent_class; + + void (* changed) (GtkAdjustment *adjustment); + void (* value_changed) (GtkAdjustment *adjustment); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_adjustment_get_type (void) G_GNUC_CONST; +GtkAdjustment* gtk_adjustment_new (gdouble value, + gdouble lower, + gdouble upper, + gdouble step_increment, + gdouble page_increment, + gdouble page_size); + +void gtk_adjustment_changed (GtkAdjustment *adjustment); +void gtk_adjustment_value_changed (GtkAdjustment *adjustment); +void gtk_adjustment_clamp_page (GtkAdjustment *adjustment, + gdouble lower, + gdouble upper); + +gdouble gtk_adjustment_get_value (GtkAdjustment *adjustment); +void gtk_adjustment_set_value (GtkAdjustment *adjustment, + gdouble value); +gdouble gtk_adjustment_get_lower (GtkAdjustment *adjustment); +void gtk_adjustment_set_lower (GtkAdjustment *adjustment, + gdouble lower); +gdouble gtk_adjustment_get_upper (GtkAdjustment *adjustment); +void gtk_adjustment_set_upper (GtkAdjustment *adjustment, + gdouble upper); +gdouble gtk_adjustment_get_step_increment (GtkAdjustment *adjustment); +void gtk_adjustment_set_step_increment (GtkAdjustment *adjustment, + gdouble step_increment); +gdouble gtk_adjustment_get_page_increment (GtkAdjustment *adjustment); +void gtk_adjustment_set_page_increment (GtkAdjustment *adjustment, + gdouble page_increment); +gdouble gtk_adjustment_get_page_size (GtkAdjustment *adjustment); +void gtk_adjustment_set_page_size (GtkAdjustment *adjustment, + gdouble page_size); + +void gtk_adjustment_configure (GtkAdjustment *adjustment, + gdouble value, + gdouble lower, + gdouble upper, + gdouble step_increment, + gdouble page_increment, + gdouble page_size); +GDK_AVAILABLE_IN_3_2 +gdouble gtk_adjustment_get_minimum_increment (GtkAdjustment *adjustment); + +G_END_DECLS + +#endif /* __GTK_ADJUSTMENT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkalignment.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkalignment.h new file mode 100644 index 0000000..9720cbc --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkalignment.h @@ -0,0 +1,96 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ALIGNMENT_H__ +#define __GTK_ALIGNMENT_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_ALIGNMENT (gtk_alignment_get_type ()) +#define GTK_ALIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ALIGNMENT, GtkAlignment)) +#define GTK_ALIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ALIGNMENT, GtkAlignmentClass)) +#define GTK_IS_ALIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ALIGNMENT)) +#define GTK_IS_ALIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ALIGNMENT)) +#define GTK_ALIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ALIGNMENT, GtkAlignmentClass)) + + +typedef struct _GtkAlignment GtkAlignment; +typedef struct _GtkAlignmentPrivate GtkAlignmentPrivate; +typedef struct _GtkAlignmentClass GtkAlignmentClass; + +struct _GtkAlignment +{ + GtkBin bin; + + /*< private >*/ + GtkAlignmentPrivate *priv; +}; + +struct _GtkAlignmentClass +{ + GtkBinClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_alignment_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_alignment_new (gfloat xalign, + gfloat yalign, + gfloat xscale, + gfloat yscale); +void gtk_alignment_set (GtkAlignment *alignment, + gfloat xalign, + gfloat yalign, + gfloat xscale, + gfloat yscale); + +void gtk_alignment_set_padding (GtkAlignment *alignment, + guint padding_top, + guint padding_bottom, + guint padding_left, + guint padding_right); + +void gtk_alignment_get_padding (GtkAlignment *alignment, + guint *padding_top, + guint *padding_bottom, + guint *padding_left, + guint *padding_right); + +G_END_DECLS + + +#endif /* __GTK_ALIGNMENT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooser.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooser.h new file mode 100644 index 0000000..29143e8 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooser.h @@ -0,0 +1,49 @@ +/* + * gtkappchooser.h: app-chooser interface + * + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + * + * Authors: Cosimo Cecchi + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_APP_CHOOSER_H__ +#define __GTK_APP_CHOOSER_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_APP_CHOOSER (gtk_app_chooser_get_type ()) +#define GTK_APP_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER, GtkAppChooser)) +#define GTK_IS_APP_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER)) + +typedef struct _GtkAppChooser GtkAppChooser; + +GType gtk_app_chooser_get_type (void) G_GNUC_CONST; + +GAppInfo * gtk_app_chooser_get_app_info (GtkAppChooser *self); +gchar * gtk_app_chooser_get_content_type (GtkAppChooser *self); +void gtk_app_chooser_refresh (GtkAppChooser *self); + +G_END_DECLS + +#endif /* __GTK_APP_CHOOSER_H__ */ + diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserbutton.h new file mode 100644 index 0000000..fae9800 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserbutton.h @@ -0,0 +1,89 @@ +/* + * gtkappchooserbutton.h: an app-chooser combobox + * + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + * + * Authors: Cosimo Cecchi + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_APP_CHOOSER_BUTTON_H__ +#define __GTK_APP_CHOOSER_BUTTON_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_APP_CHOOSER_BUTTON (gtk_app_chooser_button_get_type ()) +#define GTK_APP_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_BUTTON, GtkAppChooserButton)) +#define GTK_APP_CHOOSER_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_APP_CHOOSER_BUTTON, GtkAppChooserButtonClass)) +#define GTK_IS_APP_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_BUTTON)) +#define GTK_IS_APP_CHOOSER_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_APP_CHOOSER_BUTTON)) +#define GTK_APP_CHOOSER_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_APP_CHOOSER_BUTTON, GtkAppChooserButtonClass)) + +typedef struct _GtkAppChooserButton GtkAppChooserButton; +typedef struct _GtkAppChooserButtonClass GtkAppChooserButtonClass; +typedef struct _GtkAppChooserButtonPrivate GtkAppChooserButtonPrivate; + +struct _GtkAppChooserButton { + GtkComboBox parent; + + /*< private >*/ + GtkAppChooserButtonPrivate *priv; +}; + +struct _GtkAppChooserButtonClass { + GtkComboBoxClass parent_class; + + void (* custom_item_activated) (GtkAppChooserButton *self, + const gchar *item_name); + + /* padding for future class expansion */ + gpointer padding[16]; +}; + +GType gtk_app_chooser_button_get_type (void) G_GNUC_CONST; + +GtkWidget * gtk_app_chooser_button_new (const gchar *content_type); + +void gtk_app_chooser_button_append_separator (GtkAppChooserButton *self); +void gtk_app_chooser_button_append_custom_item (GtkAppChooserButton *self, + const gchar *name, + const gchar *label, + GIcon *icon); +void gtk_app_chooser_button_set_active_custom_item (GtkAppChooserButton *self, + const gchar *name); + +void gtk_app_chooser_button_set_show_dialog_item (GtkAppChooserButton *self, + gboolean setting); +gboolean gtk_app_chooser_button_get_show_dialog_item (GtkAppChooserButton *self); +void gtk_app_chooser_button_set_heading (GtkAppChooserButton *self, + const gchar *heading); +const gchar * + gtk_app_chooser_button_get_heading (GtkAppChooserButton *self); +GDK_AVAILABLE_IN_3_2 +void gtk_app_chooser_button_set_show_default_item (GtkAppChooserButton *self, + gboolean setting); +GDK_AVAILABLE_IN_3_2 +gboolean gtk_app_chooser_button_get_show_default_item (GtkAppChooserButton *self); + +G_END_DECLS + +#endif /* __GTK_APP_CHOOSER_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserdialog.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserdialog.h new file mode 100644 index 0000000..1958ec3 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserdialog.h @@ -0,0 +1,78 @@ +/* + * gtkappchooserdialog.h: an app-chooser dialog + * + * Copyright (C) 2004 Novell, Inc. + * Copyright (C) 2007, 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + * + * Authors: Dave Camp + * Alexander Larsson + * Cosimo Cecchi + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_APP_CHOOSER_DIALOG_H__ +#define __GTK_APP_CHOOSER_DIALOG_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_APP_CHOOSER_DIALOG (gtk_app_chooser_dialog_get_type ()) +#define GTK_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialog)) +#define GTK_APP_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialogClass)) +#define GTK_IS_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_DIALOG)) +#define GTK_IS_APP_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_APP_CHOOSER_DIALOG)) +#define GTK_APP_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialogClass)) + +typedef struct _GtkAppChooserDialog GtkAppChooserDialog; +typedef struct _GtkAppChooserDialogClass GtkAppChooserDialogClass; +typedef struct _GtkAppChooserDialogPrivate GtkAppChooserDialogPrivate; + +struct _GtkAppChooserDialog { + GtkDialog parent; + + /*< private >*/ + GtkAppChooserDialogPrivate *priv; +}; + +struct _GtkAppChooserDialogClass { + GtkDialogClass parent_class; + + /* padding for future class expansion */ + gpointer padding[16]; +}; + +GType gtk_app_chooser_dialog_get_type (void) G_GNUC_CONST; + +GtkWidget * gtk_app_chooser_dialog_new (GtkWindow *parent, + GtkDialogFlags flags, + GFile *file); +GtkWidget * gtk_app_chooser_dialog_new_for_content_type (GtkWindow *parent, + GtkDialogFlags flags, + const gchar *content_type); + +GtkWidget * gtk_app_chooser_dialog_get_widget (GtkAppChooserDialog *self); +void gtk_app_chooser_dialog_set_heading (GtkAppChooserDialog *self, + const gchar *heading); +const gchar * gtk_app_chooser_dialog_get_heading (GtkAppChooserDialog *self); + +G_END_DECLS + +#endif /* __GTK_APP_CHOOSER_DIALOG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserwidget.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserwidget.h new file mode 100644 index 0000000..a80555e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkappchooserwidget.h @@ -0,0 +1,103 @@ +/* + * gtkappchooserwidget.h: an app-chooser widget + * + * Copyright (C) 2004 Novell, Inc. + * Copyright (C) 2007, 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + * + * Authors: Dave Camp + * Alexander Larsson + * Cosimo Cecchi + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_APP_CHOOSER_WIDGET_H__ +#define __GTK_APP_CHOOSER_WIDGET_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_APP_CHOOSER_WIDGET (gtk_app_chooser_widget_get_type ()) +#define GTK_APP_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_WIDGET, GtkAppChooserWidget)) +#define GTK_APP_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_APP_CHOOSER_WIDGET, GtkAppChooserWidgetClass)) +#define GTK_IS_APP_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_WIDGET)) +#define GTK_IS_APP_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_APP_CHOOSER_WIDGET)) +#define GTK_APP_CHOOSER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_APP_CHOOSER_WIDGET, GtkAppChooserWidgetClass)) + +typedef struct _GtkAppChooserWidget GtkAppChooserWidget; +typedef struct _GtkAppChooserWidgetClass GtkAppChooserWidgetClass; +typedef struct _GtkAppChooserWidgetPrivate GtkAppChooserWidgetPrivate; + +struct _GtkAppChooserWidget { + GtkBox parent; + + /*< private >*/ + GtkAppChooserWidgetPrivate *priv; +}; + +struct _GtkAppChooserWidgetClass { + GtkBoxClass parent_class; + + void (* application_selected) (GtkAppChooserWidget *self, + GAppInfo *app_info); + + void (* application_activated) (GtkAppChooserWidget *self, + GAppInfo *app_info); + + void (* populate_popup) (GtkAppChooserWidget *self, + GtkMenu *menu, + GAppInfo *app_info); + + /* padding for future class expansion */ + gpointer padding[16]; +}; + +GType gtk_app_chooser_widget_get_type (void) G_GNUC_CONST; + +GtkWidget * gtk_app_chooser_widget_new (const gchar *content_type); + +void gtk_app_chooser_widget_set_show_default (GtkAppChooserWidget *self, + gboolean setting); +gboolean gtk_app_chooser_widget_get_show_default (GtkAppChooserWidget *self); + +void gtk_app_chooser_widget_set_show_recommended (GtkAppChooserWidget *self, + gboolean setting); +gboolean gtk_app_chooser_widget_get_show_recommended (GtkAppChooserWidget *self); + +void gtk_app_chooser_widget_set_show_fallback (GtkAppChooserWidget *self, + gboolean setting); +gboolean gtk_app_chooser_widget_get_show_fallback (GtkAppChooserWidget *self); + +void gtk_app_chooser_widget_set_show_other (GtkAppChooserWidget *self, + gboolean setting); +gboolean gtk_app_chooser_widget_get_show_other (GtkAppChooserWidget *self); + +void gtk_app_chooser_widget_set_show_all (GtkAppChooserWidget *self, + gboolean setting); +gboolean gtk_app_chooser_widget_get_show_all (GtkAppChooserWidget *self); + +void gtk_app_chooser_widget_set_default_text (GtkAppChooserWidget *self, + const gchar *text); +const gchar * gtk_app_chooser_widget_get_default_text (GtkAppChooserWidget *self); + +G_END_DECLS + +#endif /* __GTK_APP_CHOOSER_WIDGET_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkapplication.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkapplication.h new file mode 100644 index 0000000..21cd389 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkapplication.h @@ -0,0 +1,125 @@ +/* + * Copyright © 2010 Codethink Limited + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the licence, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Author: Ryan Lortie + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_APPLICATION_H__ +#define __GTK_APPLICATION_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_APPLICATION (gtk_application_get_type ()) +#define GTK_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APPLICATION, GtkApplication)) +#define GTK_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_APPLICATION, GtkApplicationClass)) +#define GTK_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APPLICATION)) +#define GTK_IS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_APPLICATION)) +#define GTK_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_APPLICATION, GtkApplicationClass)) + +typedef struct _GtkApplication GtkApplication; +typedef struct _GtkApplicationClass GtkApplicationClass; +typedef struct _GtkApplicationPrivate GtkApplicationPrivate; + +struct _GtkApplication +{ + GApplication parent; + + /*< private >*/ + GtkApplicationPrivate *priv; +}; + +struct _GtkApplicationClass +{ + GApplicationClass parent_class; + + void (*window_added) (GtkApplication *application, + GtkWindow *window); + void (*window_removed) (GtkApplication *application, + GtkWindow *window); + + /*< private >*/ + gpointer padding[12]; +}; + +GType gtk_application_get_type (void) G_GNUC_CONST; + +GtkApplication * gtk_application_new (const gchar *application_id, + GApplicationFlags flags); + +void gtk_application_add_window (GtkApplication *application, + GtkWindow *window); + +void gtk_application_remove_window (GtkApplication *application, + GtkWindow *window); +GList * gtk_application_get_windows (GtkApplication *application); + +GDK_AVAILABLE_IN_3_4 +GMenuModel * gtk_application_get_app_menu (GtkApplication *application); +GDK_AVAILABLE_IN_3_4 +void gtk_application_set_app_menu (GtkApplication *application, + GMenuModel *app_menu); + +GDK_AVAILABLE_IN_3_4 +GMenuModel * gtk_application_get_menubar (GtkApplication *application); +GDK_AVAILABLE_IN_3_4 +void gtk_application_set_menubar (GtkApplication *application, + GMenuModel *menubar); + +GDK_AVAILABLE_IN_3_4 +void gtk_application_add_accelerator (GtkApplication *application, + const gchar *accelerator, + const gchar *action_name, + GVariant *parameter); +GDK_AVAILABLE_IN_3_4 +void gtk_application_remove_accelerator (GtkApplication *application, + const gchar *action_name, + GVariant *parameter); + +typedef enum +{ + GTK_APPLICATION_INHIBIT_LOGOUT = (1 << 0), + GTK_APPLICATION_INHIBIT_SWITCH = (1 << 1), + GTK_APPLICATION_INHIBIT_SUSPEND = (1 << 2), + GTK_APPLICATION_INHIBIT_IDLE = (1 << 3) +} GtkApplicationInhibitFlags; + +GDK_AVAILABLE_IN_3_4 +guint gtk_application_inhibit (GtkApplication *application, + GtkWindow *window, + GtkApplicationInhibitFlags flags, + const gchar *reason); +GDK_AVAILABLE_IN_3_4 +void gtk_application_uninhibit (GtkApplication *application, + guint cookie); +GDK_AVAILABLE_IN_3_4 +gboolean gtk_application_is_inhibited (GtkApplication *application, + GtkApplicationInhibitFlags flags); + +GDK_AVAILABLE_IN_3_6 +GtkWindow * gtk_application_get_window_by_id (GtkApplication *application, + guint id); + +G_END_DECLS + +#endif /* __GTK_APPLICATION_H__ */ + diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkapplicationwindow.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkapplicationwindow.h new file mode 100644 index 0000000..32fd068 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkapplicationwindow.h @@ -0,0 +1,75 @@ +/* + * Copyright © 2011 Canonical Limited + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the licence, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Author: Ryan Lortie + */ + +#ifndef __GTK_APPLICATION_WINDOW_H__ +#define __GTK_APPLICATION_WINDOW_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_APPLICATION_WINDOW (gtk_application_window_get_type ()) +#define GTK_APPLICATION_WINDOW(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ + GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindow)) +#define GTK_APPLICATION_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \ + GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindowClass)) +#define GTK_IS_APPLICATION_WINDOW(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \ + GTK_TYPE_APPLICATION_WINDOW)) +#define GTK_IS_APPLICATION_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \ + GTK_TYPE_APPLICATION_WINDOW)) +#define GTK_APPLICATION_WINDOW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \ + GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindowClass)) + +typedef struct _GtkApplicationWindowPrivate GtkApplicationWindowPrivate; +typedef struct _GtkApplicationWindowClass GtkApplicationWindowClass; +typedef struct _GtkApplicationWindow GtkApplicationWindow; + +struct _GtkApplicationWindow +{ + GtkWindow parent_instance; + + /*< private >*/ + GtkApplicationWindowPrivate *priv; +}; + +struct _GtkApplicationWindowClass +{ + GtkWindowClass parent_class; + + /*< private >*/ + gpointer padding[14]; +}; + +GDK_AVAILABLE_IN_3_4 +GType gtk_application_window_get_type (void) G_GNUC_CONST; +GDK_AVAILABLE_IN_3_4 +GtkWidget * gtk_application_window_new (GtkApplication *application); + +GDK_AVAILABLE_IN_3_4 +void gtk_application_window_set_show_menubar (GtkApplicationWindow *window, + gboolean show_menubar); +GDK_AVAILABLE_IN_3_4 +gboolean gtk_application_window_get_show_menubar (GtkApplicationWindow *window); + +GDK_AVAILABLE_IN_3_6 +guint gtk_application_window_get_id (GtkApplicationWindow *window); + +G_END_DECLS + +#endif /* __GTK_APPLICATION_WINDOW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkarrow.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkarrow.h new file mode 100644 index 0000000..009e2c1 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkarrow.h @@ -0,0 +1,81 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ARROW_H__ +#define __GTK_ARROW_H__ + + +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_ARROW (gtk_arrow_get_type ()) +#define GTK_ARROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ARROW, GtkArrow)) +#define GTK_ARROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ARROW, GtkArrowClass)) +#define GTK_IS_ARROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ARROW)) +#define GTK_IS_ARROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ARROW)) +#define GTK_ARROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ARROW, GtkArrowClass)) + +typedef struct _GtkArrow GtkArrow; +typedef struct _GtkArrowPrivate GtkArrowPrivate; +typedef struct _GtkArrowClass GtkArrowClass; + +struct _GtkArrow +{ + GtkMisc misc; + + /*< private >*/ + GtkArrowPrivate *priv; +}; + +struct _GtkArrowClass +{ + GtkMiscClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_arrow_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_arrow_new (GtkArrowType arrow_type, + GtkShadowType shadow_type); +void gtk_arrow_set (GtkArrow *arrow, + GtkArrowType arrow_type, + GtkShadowType shadow_type); + + +G_END_DECLS + + +#endif /* __GTK_ARROW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkaspectframe.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkaspectframe.h new file mode 100644 index 0000000..5585561 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkaspectframe.h @@ -0,0 +1,84 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ASPECT_FRAME_H__ +#define __GTK_ASPECT_FRAME_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_ASPECT_FRAME (gtk_aspect_frame_get_type ()) +#define GTK_ASPECT_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ASPECT_FRAME, GtkAspectFrame)) +#define GTK_ASPECT_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ASPECT_FRAME, GtkAspectFrameClass)) +#define GTK_IS_ASPECT_FRAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ASPECT_FRAME)) +#define GTK_IS_ASPECT_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ASPECT_FRAME)) +#define GTK_ASPECT_FRAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ASPECT_FRAME, GtkAspectFrameClass)) + +typedef struct _GtkAspectFrame GtkAspectFrame; +typedef struct _GtkAspectFramePrivate GtkAspectFramePrivate; +typedef struct _GtkAspectFrameClass GtkAspectFrameClass; + +struct _GtkAspectFrame +{ + GtkFrame frame; + + /*< private >*/ + GtkAspectFramePrivate *priv; +}; + +struct _GtkAspectFrameClass +{ + GtkFrameClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_aspect_frame_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_aspect_frame_new (const gchar *label, + gfloat xalign, + gfloat yalign, + gfloat ratio, + gboolean obey_child); +void gtk_aspect_frame_set (GtkAspectFrame *aspect_frame, + gfloat xalign, + gfloat yalign, + gfloat ratio, + gboolean obey_child); + + +G_END_DECLS + +#endif /* __GTK_ASPECT_FRAME_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkassistant.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkassistant.h new file mode 100644 index 0000000..03764af --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkassistant.h @@ -0,0 +1,188 @@ +/* + * GTK - The GIMP Toolkit + * Copyright (C) 1999 Red Hat, Inc. + * Copyright (C) 2002 Anders Carlsson + * Copyright (C) 2003 Matthias Clasen + * Copyright (C) 2005 Carlos Garnacho Parro + * + * All rights reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ASSISTANT_H__ +#define __GTK_ASSISTANT_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ASSISTANT (gtk_assistant_get_type ()) +#define GTK_ASSISTANT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_ASSISTANT, GtkAssistant)) +#define GTK_ASSISTANT_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_ASSISTANT, GtkAssistantClass)) +#define GTK_IS_ASSISTANT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_ASSISTANT)) +#define GTK_IS_ASSISTANT_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_ASSISTANT)) +#define GTK_ASSISTANT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_ASSISTANT, GtkAssistantClass)) + +/** + * GtkAssistantPageType: + * @GTK_ASSISTANT_PAGE_CONTENT: The page has regular contents. Both the + * Back and forward buttons will be shown. + * @GTK_ASSISTANT_PAGE_INTRO: The page contains an introduction to the + * assistant task. Only the Forward button will be shown if there is a + * next page. + * @GTK_ASSISTANT_PAGE_CONFIRM: The page lets the user confirm or deny the + * changes. The Back and Apply buttons will be shown. + * @GTK_ASSISTANT_PAGE_SUMMARY: The page informs the user of the changes + * done. Only the Close button will be shown. + * @GTK_ASSISTANT_PAGE_PROGRESS: Used for tasks that take a long time to + * complete, blocks the assistant until the page is marked as complete. + * Only the back button will be shown. + * @GTK_ASSISTANT_PAGE_CUSTOM: Used for when other page types are not + * appropriate. No buttons will be shown, and the application must + * add its own buttons through gtk_assistant_add_action_widget(). + * + * An enum for determining the page role inside the #GtkAssistant. It's + * used to handle buttons sensitivity and visibility. + * + * Note that an assistant needs to end its page flow with a page of type + * %GTK_ASSISTANT_PAGE_CONFIRM, %GTK_ASSISTANT_PAGE_SUMMARY or + * %GTK_ASSISTANT_PAGE_PROGRESS to be correct. + * + * The Cancel button will only be shown if the page isn't "committed". + * See gtk_assistant_commit() for details. + */ +typedef enum +{ + GTK_ASSISTANT_PAGE_CONTENT, + GTK_ASSISTANT_PAGE_INTRO, + GTK_ASSISTANT_PAGE_CONFIRM, + GTK_ASSISTANT_PAGE_SUMMARY, + GTK_ASSISTANT_PAGE_PROGRESS, + GTK_ASSISTANT_PAGE_CUSTOM +} GtkAssistantPageType; + +typedef struct _GtkAssistant GtkAssistant; +typedef struct _GtkAssistantPrivate GtkAssistantPrivate; +typedef struct _GtkAssistantClass GtkAssistantClass; + +struct _GtkAssistant +{ + GtkWindow parent; + + /*< private >*/ + GtkAssistantPrivate *priv; +}; + +struct _GtkAssistantClass +{ + GtkWindowClass parent_class; + + void (* prepare) (GtkAssistant *assistant, GtkWidget *page); + void (* apply) (GtkAssistant *assistant); + void (* close) (GtkAssistant *assistant); + void (* cancel) (GtkAssistant *assistant); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); +}; + +/** + * GtkAssistantPageFunc: + * @current_page: The page number used to calculate the next page. + * @data: (closure): user data. + * + * A function used by gtk_assistant_set_forward_page_func() to know which + * is the next page given a current one. It's called both for computing the + * next page when the user presses the "forward" button and for handling + * the behavior of the "last" button. + * + * Returns: The next page number. + */ +typedef gint (*GtkAssistantPageFunc) (gint current_page, gpointer data); + +GType gtk_assistant_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_assistant_new (void); +void gtk_assistant_next_page (GtkAssistant *assistant); +void gtk_assistant_previous_page (GtkAssistant *assistant); +gint gtk_assistant_get_current_page (GtkAssistant *assistant); +void gtk_assistant_set_current_page (GtkAssistant *assistant, + gint page_num); +gint gtk_assistant_get_n_pages (GtkAssistant *assistant); +GtkWidget *gtk_assistant_get_nth_page (GtkAssistant *assistant, + gint page_num); +gint gtk_assistant_prepend_page (GtkAssistant *assistant, + GtkWidget *page); +gint gtk_assistant_append_page (GtkAssistant *assistant, + GtkWidget *page); +gint gtk_assistant_insert_page (GtkAssistant *assistant, + GtkWidget *page, + gint position); +GDK_AVAILABLE_IN_3_2 +void gtk_assistant_remove_page (GtkAssistant *assistant, + gint page_num); +void gtk_assistant_set_forward_page_func (GtkAssistant *assistant, + GtkAssistantPageFunc page_func, + gpointer data, + GDestroyNotify destroy); +void gtk_assistant_set_page_type (GtkAssistant *assistant, + GtkWidget *page, + GtkAssistantPageType type); +GtkAssistantPageType gtk_assistant_get_page_type (GtkAssistant *assistant, + GtkWidget *page); +void gtk_assistant_set_page_title (GtkAssistant *assistant, + GtkWidget *page, + const gchar *title); +const gchar * gtk_assistant_get_page_title (GtkAssistant *assistant, + GtkWidget *page); + +GDK_DEPRECATED_IN_3_2 +void gtk_assistant_set_page_header_image (GtkAssistant *assistant, + GtkWidget *page, + GdkPixbuf *pixbuf); +GDK_DEPRECATED_IN_3_2 +GdkPixbuf *gtk_assistant_get_page_header_image (GtkAssistant *assistant, + GtkWidget *page); +GDK_DEPRECATED_IN_3_2 +void gtk_assistant_set_page_side_image (GtkAssistant *assistant, + GtkWidget *page, + GdkPixbuf *pixbuf); +GDK_DEPRECATED_IN_3_2 +GdkPixbuf *gtk_assistant_get_page_side_image (GtkAssistant *assistant, + GtkWidget *page); + +void gtk_assistant_set_page_complete (GtkAssistant *assistant, + GtkWidget *page, + gboolean complete); +gboolean gtk_assistant_get_page_complete (GtkAssistant *assistant, + GtkWidget *page); +void gtk_assistant_add_action_widget (GtkAssistant *assistant, + GtkWidget *child); +void gtk_assistant_remove_action_widget (GtkAssistant *assistant, + GtkWidget *child); + +void gtk_assistant_update_buttons_state (GtkAssistant *assistant); +void gtk_assistant_commit (GtkAssistant *assistant); + +G_END_DECLS + +#endif /* __GTK_ASSISTANT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkbbox.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkbbox.h new file mode 100644 index 0000000..46e488a --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkbbox.h @@ -0,0 +1,90 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_BUTTON_BOX_H__ +#define __GTK_BUTTON_BOX_H__ + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_BUTTON_BOX (gtk_button_box_get_type ()) +#define GTK_BUTTON_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUTTON_BOX, GtkButtonBox)) +#define GTK_BUTTON_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUTTON_BOX, GtkButtonBoxClass)) +#define GTK_IS_BUTTON_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUTTON_BOX)) +#define GTK_IS_BUTTON_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUTTON_BOX)) +#define GTK_BUTTON_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUTTON_BOX, GtkButtonBoxClass)) + + +typedef struct _GtkButtonBox GtkButtonBox; +typedef struct _GtkButtonBoxPrivate GtkButtonBoxPrivate; +typedef struct _GtkButtonBoxClass GtkButtonBoxClass; + +struct _GtkButtonBox +{ + GtkBox box; + + /*< private >*/ + GtkButtonBoxPrivate *priv; +}; + +struct _GtkButtonBoxClass +{ + GtkBoxClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_button_box_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_button_box_new (GtkOrientation orientation); +GtkButtonBoxStyle gtk_button_box_get_layout (GtkButtonBox *widget); +void gtk_button_box_set_layout (GtkButtonBox *widget, + GtkButtonBoxStyle layout_style); +gboolean gtk_button_box_get_child_secondary (GtkButtonBox *widget, + GtkWidget *child); +void gtk_button_box_set_child_secondary (GtkButtonBox *widget, + GtkWidget *child, + gboolean is_secondary); +GDK_AVAILABLE_IN_3_2 +gboolean gtk_button_box_get_child_non_homogeneous (GtkButtonBox *widget, + GtkWidget *child); +GDK_AVAILABLE_IN_3_2 +void gtk_button_box_set_child_non_homogeneous (GtkButtonBox *widget, + GtkWidget *child, + gboolean non_homogeneous); + + +G_END_DECLS + +#endif /* __GTK_BUTTON_BOX_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkbin.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkbin.h new file mode 100644 index 0000000..6d96576 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkbin.h @@ -0,0 +1,79 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_BIN_H__ +#define __GTK_BIN_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_BIN (gtk_bin_get_type ()) +#define GTK_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BIN, GtkBin)) +#define GTK_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BIN, GtkBinClass)) +#define GTK_IS_BIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BIN)) +#define GTK_IS_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BIN)) +#define GTK_BIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BIN, GtkBinClass)) + + +typedef struct _GtkBin GtkBin; +typedef struct _GtkBinPrivate GtkBinPrivate; +typedef struct _GtkBinClass GtkBinClass; + +struct _GtkBin +{ + GtkContainer container; + + /*< private >*/ + GtkBinPrivate *priv; +}; + +struct _GtkBinClass +{ + GtkContainerClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_bin_get_type (void) G_GNUC_CONST; + +GtkWidget *gtk_bin_get_child (GtkBin *bin); + +void _gtk_bin_set_child (GtkBin *bin, + GtkWidget *widget); + +G_END_DECLS + +#endif /* __GTK_BIN_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkbindings.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkbindings.h new file mode 100644 index 0000000..4d23ed7 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkbindings.h @@ -0,0 +1,189 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * GtkBindingSet: Keybinding manager for GObjects. + * Copyright (C) 1998 Tim Janik + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_BINDINGS_H__ +#define __GTK_BINDINGS_H__ + + +#include +#include + +G_BEGIN_DECLS + +typedef struct _GtkBindingSet GtkBindingSet; +typedef struct _GtkBindingEntry GtkBindingEntry; +typedef struct _GtkBindingSignal GtkBindingSignal; +typedef struct _GtkBindingArg GtkBindingArg; + +/** + * GtkBindingSet: + * @set_name: unique name of this binding set + * @priority: unused + * @widget_path_pspecs: unused + * @widget_class_pspecs: unused + * @class_branch_pspecs: unused + * @entries: the key binding entries in this binding set + * @current: implementation detail + * @parsed: whether this binding set stems from a CSS file and is reset upon theme changes + * + * A binding set maintains a list of activatable key bindings. + * A single binding set can match multiple types of widgets. + * Similar to style contexts, can be matched by any information contained + * in a widgets #GtkWidgetPath. When a binding within a set is matched upon + * activation, an action signal is emitted on the target widget to carry out + * the actual activation. + */ +struct _GtkBindingSet +{ + gchar *set_name; + gint priority; + GSList *widget_path_pspecs; + GSList *widget_class_pspecs; + GSList *class_branch_pspecs; + GtkBindingEntry *entries; + GtkBindingEntry *current; + guint parsed : 1; +}; + +/** + * GtkBindingEntry: + * @keyval: key value to match + * @modifiers: key modifiers to match + * @binding_set: binding set this entry belongs to + * @destroyed: implementation detail + * @in_emission: implementation detail + * @marks_unbound: implementation detail + * @set_next: linked list of entries maintained by binding set + * @hash_next: implementation detail + * @signals: action signals of this entry + * + * Each key binding element of a binding sets binding list is + * represented by a GtkBindingEntry. + */ +struct _GtkBindingEntry +{ + /* key portion */ + guint keyval; + GdkModifierType modifiers; + + GtkBindingSet *binding_set; + guint destroyed : 1; + guint in_emission : 1; + guint marks_unbound : 1; + GtkBindingEntry *set_next; + GtkBindingEntry *hash_next; + GtkBindingSignal *signals; +}; + +/** + * GtkBindingArg: + * @arg_type: implementation detail + * + * A #GtkBindingArg holds the data associated with + * an argument for a key binding signal emission as + * stored in #GtkBindingSignal. + */ +struct _GtkBindingArg +{ + GType arg_type; + union { + glong long_data; + gdouble double_data; + gchar *string_data; + } d; +}; + +/** + * GtkBindingSignal: + * @next: implementation detail + * @signal_name: the action signal to be emitted + * @n_args: number of arguments specified for the signal + * @args: the arguments specified for the signal + * + * + * A GtkBindingSignal stores the necessary information to + * activate a widget in response to a key press via a signal + * emission. + */ +struct _GtkBindingSignal +{ + GtkBindingSignal *next; + gchar *signal_name; + guint n_args; + GtkBindingArg *args; +}; + +GtkBindingSet *gtk_binding_set_new (const gchar *set_name); +GtkBindingSet *gtk_binding_set_by_class (gpointer object_class); +GtkBindingSet *gtk_binding_set_find (const gchar *set_name); + +gboolean gtk_bindings_activate (GObject *object, + guint keyval, + GdkModifierType modifiers); +gboolean gtk_bindings_activate_event (GObject *object, + GdkEventKey *event); +gboolean gtk_binding_set_activate (GtkBindingSet *binding_set, + guint keyval, + GdkModifierType modifiers, + GObject *object); + +void gtk_binding_entry_skip (GtkBindingSet *binding_set, + guint keyval, + GdkModifierType modifiers); +void gtk_binding_entry_add_signal (GtkBindingSet *binding_set, + guint keyval, + GdkModifierType modifiers, + const gchar *signal_name, + guint n_args, + ...); +void gtk_binding_entry_add_signall (GtkBindingSet *binding_set, + guint keyval, + GdkModifierType modifiers, + const gchar *signal_name, + GSList *binding_args); + +GTokenType gtk_binding_entry_add_signal_from_string + (GtkBindingSet *binding_set, + const gchar *signal_desc); + +void gtk_binding_entry_remove (GtkBindingSet *binding_set, + guint keyval, + GdkModifierType modifiers); + +GDK_DEPRECATED_IN_3_0 +void gtk_binding_set_add_path (GtkBindingSet *binding_set, + GtkPathType path_type, + const gchar *path_pattern, + GtkPathPriorityType priority); + +G_END_DECLS + +#endif /* __GTK_BINDINGS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkborder.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkborder.h new file mode 100644 index 0000000..1243e81 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkborder.h @@ -0,0 +1,66 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_BORDER_H__ +#define __GTK_BORDER_H__ + +#include + +G_BEGIN_DECLS + +typedef struct _GtkBorder GtkBorder; + +#define GTK_TYPE_BORDER (gtk_border_get_type ()) + +/** + * GtkBorder: + * @left: The width of the left border + * @right: The width of the right border + * @top: The width of the top border + * @bottom: The width of the bottom border + * + * A struct that specifies a border around a rectangular area + * that can be of different width on each side. + */ +struct _GtkBorder +{ + gint16 left; + gint16 right; + gint16 top; + gint16 bottom; +}; + +GType gtk_border_get_type (void) G_GNUC_CONST; +GtkBorder *gtk_border_new (void) G_GNUC_MALLOC; +GtkBorder *gtk_border_copy (const GtkBorder *border_); +void gtk_border_free (GtkBorder *border_); + + +G_END_DECLS + +#endif /* __GTK_BORDER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkbox.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkbox.h new file mode 100644 index 0000000..3f80117 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkbox.h @@ -0,0 +1,112 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_BOX_H__ +#define __GTK_BOX_H__ + + +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_BOX (gtk_box_get_type ()) +#define GTK_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BOX, GtkBox)) +#define GTK_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BOX, GtkBoxClass)) +#define GTK_IS_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BOX)) +#define GTK_IS_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BOX)) +#define GTK_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BOX, GtkBoxClass)) + + +typedef struct _GtkBox GtkBox; +typedef struct _GtkBoxPrivate GtkBoxPrivate; +typedef struct _GtkBoxClass GtkBoxClass; + +struct _GtkBox +{ + GtkContainer container; + + /*< private >*/ + GtkBoxPrivate *priv; +}; + +struct _GtkBoxClass +{ + GtkContainerClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_box_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_box_new (GtkOrientation orientation, + gint spacing); + +void gtk_box_pack_start (GtkBox *box, + GtkWidget *child, + gboolean expand, + gboolean fill, + guint padding); +void gtk_box_pack_end (GtkBox *box, + GtkWidget *child, + gboolean expand, + gboolean fill, + guint padding); + +void gtk_box_set_homogeneous (GtkBox *box, + gboolean homogeneous); +gboolean gtk_box_get_homogeneous (GtkBox *box); +void gtk_box_set_spacing (GtkBox *box, + gint spacing); +gint gtk_box_get_spacing (GtkBox *box); + +void gtk_box_reorder_child (GtkBox *box, + GtkWidget *child, + gint position); + +void gtk_box_query_child_packing (GtkBox *box, + GtkWidget *child, + gboolean *expand, + gboolean *fill, + guint *padding, + GtkPackType *pack_type); +void gtk_box_set_child_packing (GtkBox *box, + GtkWidget *child, + gboolean expand, + gboolean fill, + guint padding, + GtkPackType pack_type); + +G_END_DECLS + +#endif /* __GTK_BOX_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkbuildable.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkbuildable.h new file mode 100644 index 0000000..2a1f65e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkbuildable.h @@ -0,0 +1,173 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2006-2007 Async Open Source, + * Johan Dahlin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_BUILDABLE_H__ +#define __GTK_BUILDABLE_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_BUILDABLE (gtk_buildable_get_type ()) +#define GTK_BUILDABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUILDABLE, GtkBuildable)) +#define GTK_BUILDABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_BUILDABLE, GtkBuildableIface)) +#define GTK_IS_BUILDABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUILDABLE)) +#define GTK_BUILDABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_BUILDABLE, GtkBuildableIface)) + + +typedef struct _GtkBuildable GtkBuildable; /* Dummy typedef */ +typedef struct _GtkBuildableIface GtkBuildableIface; + +/** + * GtkBuildableIface: + * @g_iface: the parent class + * @set_name: Stores the name attribute given in the GtkBuilder UI definition. + * #GtkWidget stores the name as object data. Implement this method if your + * object has some notion of "name" and it makes sense to map the XML name + * attribute to it. + * @get_name: The getter corresponding to @set_name. Implement this + * if you implement @set_name. + * @add_child: Adds a child. The @type parameter can be used to + * differentiate the kind of child. #GtkContainer implements this + * to add add a child widget to the container, #GtkNotebook uses + * the @type to distinguish between page labels (of type "page-label") + * and normal children. + * @set_buildable_property: Sets a property of a buildable object. + * It is normally not necessary to implement this, g_object_set_property() + * is used by default. #GtkWindow implements this to delay showing itself + * (i.e. setting the #GtkWidget:visible property) until the whole interface + * is created. + * @construct_child: Constructs a child of a buildable that has been + * specified as "constructor" in the UI definition. #GtkUIManager implements + * this to reference to a widget created in a <ui> tag which is outside + * of the normal GtkBuilder UI definition hierarchy. A reference to the + * constructed object is returned and becomes owned by the caller. + * @custom_tag_start: Implement this if the buildable needs to parse + * content below <child>. To handle an element, the implementation + * must fill in the @parser structure and @user_data and return %TRUE. + * #GtkWidget implements this to parse keyboard accelerators specified + * in <accelerator> elements. #GtkContainer implements it to map + * properties defined via <packing> elements to child properties. + * Note that @user_data must be freed in @custom_tag_end or @custom_finished. + * @custom_tag_end: Called for the end tag of each custom element that is + * handled by the buildable (see @custom_tag_start). + * @custom_finished: Called for each custom tag handled by the buildable + * when the builder finishes parsing (see @custom_tag_start) + * @parser_finished: Called when a builder finishes the parsing + * of a UI definition. It is normally not necessary to implement this, + * unless you need to perform special cleanup actions. #GtkWindow sets + * the #GtkWidget:visible property here. + * @get_internal_child: Returns an internal child of a buildable. + * #GtkDialog implements this to give access to its @vbox, making + * it possible to add children to the vbox in a UI definition. + * Implement this if the buildable has internal children that may + * need to be accessed from a UI definition. + * + * The GtkBuildableIface interface contains method that are + * necessary to allow #GtkBuilder to construct an object from + * a GtkBuilder UI definition. + */ +struct _GtkBuildableIface +{ + GTypeInterface g_iface; + + /* virtual table */ + void (* set_name) (GtkBuildable *buildable, + const gchar *name); + const gchar * (* get_name) (GtkBuildable *buildable); + void (* add_child) (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *type); + void (* set_buildable_property) (GtkBuildable *buildable, + GtkBuilder *builder, + const gchar *name, + const GValue *value); + GObject * (* construct_child) (GtkBuildable *buildable, + GtkBuilder *builder, + const gchar *name); + gboolean (* custom_tag_start) (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + GMarkupParser *parser, + gpointer *data); + void (* custom_tag_end) (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + gpointer *data); + void (* custom_finished) (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + gpointer data); + void (* parser_finished) (GtkBuildable *buildable, + GtkBuilder *builder); + + GObject * (* get_internal_child) (GtkBuildable *buildable, + GtkBuilder *builder, + const gchar *childname); +}; + + +GType gtk_buildable_get_type (void) G_GNUC_CONST; + +void gtk_buildable_set_name (GtkBuildable *buildable, + const gchar *name); +const gchar * gtk_buildable_get_name (GtkBuildable *buildable); +void gtk_buildable_add_child (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *type); +void gtk_buildable_set_buildable_property (GtkBuildable *buildable, + GtkBuilder *builder, + const gchar *name, + const GValue *value); +GObject * gtk_buildable_construct_child (GtkBuildable *buildable, + GtkBuilder *builder, + const gchar *name); +gboolean gtk_buildable_custom_tag_start (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + GMarkupParser *parser, + gpointer *data); +void gtk_buildable_custom_tag_end (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + gpointer *data); +void gtk_buildable_custom_finished (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + gpointer data); +void gtk_buildable_parser_finished (GtkBuildable *buildable, + GtkBuilder *builder); +GObject * gtk_buildable_get_internal_child (GtkBuildable *buildable, + GtkBuilder *builder, + const gchar *childname); + +G_END_DECLS + +#endif /* __GTK_BUILDABLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkbuilder.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkbuilder.h new file mode 100644 index 0000000..f4950eb --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkbuilder.h @@ -0,0 +1,178 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2006-2007 Async Open Source, + * Johan Dahlin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_BUILDER_H__ +#define __GTK_BUILDER_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_BUILDER (gtk_builder_get_type ()) +#define GTK_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUILDER, GtkBuilder)) +#define GTK_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUILDER, GtkBuilderClass)) +#define GTK_IS_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUILDER)) +#define GTK_IS_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUILDER)) +#define GTK_BUILDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUILDER, GtkBuilderClass)) + +#define GTK_BUILDER_ERROR (gtk_builder_error_quark ()) + +typedef struct _GtkBuilder GtkBuilder; +typedef struct _GtkBuilderClass GtkBuilderClass; +typedef struct _GtkBuilderPrivate GtkBuilderPrivate; + +/** + * GtkBuilderError: + * @GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION: A type-func attribute didn't name + * a function that returns a #GType. + * @GTK_BUILDER_ERROR_UNHANDLED_TAG: The input contained a tag that #GtkBuilder + * can't handle. + * @GTK_BUILDER_ERROR_MISSING_ATTRIBUTE: An attribute that is required by + * #GtkBuilder was missing. + * @GTK_BUILDER_ERROR_INVALID_ATTRIBUTE: #GtkBuilder found an attribute that + * it doesn't understand. + * @GTK_BUILDER_ERROR_INVALID_TAG: #GtkBuilder found a tag that + * it doesn't understand. + * @GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE: A required property value was + * missing. + * @GTK_BUILDER_ERROR_INVALID_VALUE: #GtkBuilder couldn't parse + * some attribute value. + * @GTK_BUILDER_ERROR_VERSION_MISMATCH: The input file requires a newer version + * of GTK+. + * @GTK_BUILDER_ERROR_DUPLICATE_ID: An object id occurred twice. + * + * Error codes that identify various errors that can occur while using + * #GtkBuilder. + */ +typedef enum +{ + GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION, + GTK_BUILDER_ERROR_UNHANDLED_TAG, + GTK_BUILDER_ERROR_MISSING_ATTRIBUTE, + GTK_BUILDER_ERROR_INVALID_ATTRIBUTE, + GTK_BUILDER_ERROR_INVALID_TAG, + GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE, + GTK_BUILDER_ERROR_INVALID_VALUE, + GTK_BUILDER_ERROR_VERSION_MISMATCH, + GTK_BUILDER_ERROR_DUPLICATE_ID +} GtkBuilderError; + +GQuark gtk_builder_error_quark (void); + +struct _GtkBuilder +{ + GObject parent_instance; + + GtkBuilderPrivate *priv; +}; + +struct _GtkBuilderClass +{ + GObjectClass parent_class; + + GType (* get_type_from_name) (GtkBuilder *builder, + const char *type_name); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +typedef void (*GtkBuilderConnectFunc) (GtkBuilder *builder, + GObject *object, + const gchar *signal_name, + const gchar *handler_name, + GObject *connect_object, + GConnectFlags flags, + gpointer user_data); + +GType gtk_builder_get_type (void) G_GNUC_CONST; +GtkBuilder* gtk_builder_new (void); + +guint gtk_builder_add_from_file (GtkBuilder *builder, + const gchar *filename, + GError **error); +guint gtk_builder_add_from_resource (GtkBuilder *builder, + const gchar *resource_path, + GError **error); +guint gtk_builder_add_from_string (GtkBuilder *builder, + const gchar *buffer, + gsize length, + GError **error); +guint gtk_builder_add_objects_from_file (GtkBuilder *builder, + const gchar *filename, + gchar **object_ids, + GError **error); +guint gtk_builder_add_objects_from_resource(GtkBuilder *builder, + const gchar *resource_path, + gchar **object_ids, + GError **error); +guint gtk_builder_add_objects_from_string (GtkBuilder *builder, + const gchar *buffer, + gsize length, + gchar **object_ids, + GError **error); +GObject* gtk_builder_get_object (GtkBuilder *builder, + const gchar *name); +GSList* gtk_builder_get_objects (GtkBuilder *builder); +void gtk_builder_connect_signals (GtkBuilder *builder, + gpointer user_data); +void gtk_builder_connect_signals_full (GtkBuilder *builder, + GtkBuilderConnectFunc func, + gpointer user_data); +void gtk_builder_set_translation_domain (GtkBuilder *builder, + const gchar *domain); +const gchar* gtk_builder_get_translation_domain (GtkBuilder *builder); +GType gtk_builder_get_type_from_name (GtkBuilder *builder, + const char *type_name); + +gboolean gtk_builder_value_from_string (GtkBuilder *builder, + GParamSpec *pspec, + const gchar *string, + GValue *value, + GError **error); +gboolean gtk_builder_value_from_string_type (GtkBuilder *builder, + GType type, + const gchar *string, + GValue *value, + GError **error); + +/** + * GTK_BUILDER_WARN_INVALID_CHILD_TYPE: + * @object: the #GtkBuildable on which the warning ocurred + * @type: the unexpected type value + * + * This macro should be used to emit a warning about and unexpected @type value + * in a #GtkBuildable add_child implementation. + */ +#define GTK_BUILDER_WARN_INVALID_CHILD_TYPE(object, type) \ + g_warning ("'%s' is not a valid child type of '%s'", type, g_type_name (G_OBJECT_TYPE (object))) + +G_END_DECLS + +#endif /* __GTK_BUILDER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkbutton.h new file mode 100644 index 0000000..e97ad5f --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkbutton.h @@ -0,0 +1,128 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_BUTTON_H__ +#define __GTK_BUTTON_H__ + + +#include +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_BUTTON (gtk_button_get_type ()) +#define GTK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUTTON, GtkButton)) +#define GTK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUTTON, GtkButtonClass)) +#define GTK_IS_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUTTON)) +#define GTK_IS_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUTTON)) +#define GTK_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUTTON, GtkButtonClass)) + +typedef struct _GtkButton GtkButton; +typedef struct _GtkButtonPrivate GtkButtonPrivate; +typedef struct _GtkButtonClass GtkButtonClass; + +struct _GtkButton +{ + /*< private >*/ + GtkBin bin; + + GtkButtonPrivate *priv; +}; + +struct _GtkButtonClass +{ + GtkBinClass parent_class; + + void (* pressed) (GtkButton *button); + void (* released) (GtkButton *button); + void (* clicked) (GtkButton *button); + void (* enter) (GtkButton *button); + void (* leave) (GtkButton *button); + void (* activate) (GtkButton *button); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_button_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_button_new (void); +GtkWidget* gtk_button_new_with_label (const gchar *label); +GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); +GtkWidget* gtk_button_new_with_mnemonic (const gchar *label); +void gtk_button_clicked (GtkButton *button); +GDK_DEPRECATED +void gtk_button_pressed (GtkButton *button); +GDK_DEPRECATED +void gtk_button_released (GtkButton *button); +GDK_DEPRECATED +void gtk_button_enter (GtkButton *button); +GDK_DEPRECATED +void gtk_button_leave (GtkButton *button); + +void gtk_button_set_relief (GtkButton *button, + GtkReliefStyle newstyle); +GtkReliefStyle gtk_button_get_relief (GtkButton *button); +void gtk_button_set_label (GtkButton *button, + const gchar *label); +const gchar * gtk_button_get_label (GtkButton *button); +void gtk_button_set_use_underline (GtkButton *button, + gboolean use_underline); +gboolean gtk_button_get_use_underline (GtkButton *button); +void gtk_button_set_use_stock (GtkButton *button, + gboolean use_stock); +gboolean gtk_button_get_use_stock (GtkButton *button); +void gtk_button_set_focus_on_click (GtkButton *button, + gboolean focus_on_click); +gboolean gtk_button_get_focus_on_click (GtkButton *button); +void gtk_button_set_alignment (GtkButton *button, + gfloat xalign, + gfloat yalign); +void gtk_button_get_alignment (GtkButton *button, + gfloat *xalign, + gfloat *yalign); +void gtk_button_set_image (GtkButton *button, + GtkWidget *image); +GtkWidget* gtk_button_get_image (GtkButton *button); +void gtk_button_set_image_position (GtkButton *button, + GtkPositionType position); +GtkPositionType gtk_button_get_image_position (GtkButton *button); +void gtk_button_set_always_show_image (GtkButton *button, + gboolean always_show); +gboolean gtk_button_get_always_show_image (GtkButton *button); + +GdkWindow* gtk_button_get_event_window (GtkButton *button); + + +G_END_DECLS + +#endif /* __GTK_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcalendar.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcalendar.h new file mode 100644 index 0000000..8d745fa --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcalendar.h @@ -0,0 +1,169 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * GTK Calendar Widget + * Copyright (C) 1998 Cesar Miquel and Shawn T. Amundson + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CALENDAR_H__ +#define __GTK_CALENDAR_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_CALENDAR (gtk_calendar_get_type ()) +#define GTK_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CALENDAR, GtkCalendar)) +#define GTK_CALENDAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CALENDAR, GtkCalendarClass)) +#define GTK_IS_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CALENDAR)) +#define GTK_IS_CALENDAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CALENDAR)) +#define GTK_CALENDAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CALENDAR, GtkCalendarClass)) + + +typedef struct _GtkCalendar GtkCalendar; +typedef struct _GtkCalendarClass GtkCalendarClass; + +typedef struct _GtkCalendarPrivate GtkCalendarPrivate; + +/** + * GtkCalendarDisplayOptions: + * @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_SHOW_DETAILS: Just show an indicator, not the full details + * text when details are provided. See gtk_calendar_set_detail_func(). + * + * These options can be used to influence the display and behaviour of a #GtkCalendar. + */ +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_SHOW_DETAILS = 1 << 5 +} GtkCalendarDisplayOptions; + +/** + * GtkCalendarDetailFunc: + * @calendar: a #GtkCalendar. + * @year: the year for which details are needed. + * @month: the month for which details are needed. + * @day: the day of @month for which details are needed. + * @user_data: the data passed with gtk_calendar_set_detail_func(). + * + * This kind of functions provide Pango markup with detail information for the + * specified day. Examples for such details are holidays or appointments. The + * function returns %NULL when no information is available. + * + * Since: 2.14 + * + * Return value: Newly allocated string with Pango markup with details + * for the specified day, or %NULL. + */ +typedef gchar* (*GtkCalendarDetailFunc) (GtkCalendar *calendar, + guint year, + guint month, + guint day, + gpointer user_data); + +struct _GtkCalendar +{ + GtkWidget widget; + + GtkCalendarPrivate *priv; +}; + +struct _GtkCalendarClass +{ + GtkWidgetClass parent_class; + + /* Signal handlers */ + void (* month_changed) (GtkCalendar *calendar); + void (* day_selected) (GtkCalendar *calendar); + void (* day_selected_double_click) (GtkCalendar *calendar); + void (* prev_month) (GtkCalendar *calendar); + void (* next_month) (GtkCalendar *calendar); + void (* prev_year) (GtkCalendar *calendar); + void (* next_year) (GtkCalendar *calendar); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_calendar_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_calendar_new (void); + +void gtk_calendar_select_month (GtkCalendar *calendar, + guint month, + guint year); +void gtk_calendar_select_day (GtkCalendar *calendar, + guint day); + +void gtk_calendar_mark_day (GtkCalendar *calendar, + guint day); +void gtk_calendar_unmark_day (GtkCalendar *calendar, + guint day); +void gtk_calendar_clear_marks (GtkCalendar *calendar); + + +void gtk_calendar_set_display_options (GtkCalendar *calendar, + GtkCalendarDisplayOptions flags); +GtkCalendarDisplayOptions + gtk_calendar_get_display_options (GtkCalendar *calendar); +void gtk_calendar_get_date (GtkCalendar *calendar, + guint *year, + guint *month, + guint *day); + +void gtk_calendar_set_detail_func (GtkCalendar *calendar, + GtkCalendarDetailFunc func, + gpointer data, + GDestroyNotify destroy); + +void gtk_calendar_set_detail_width_chars (GtkCalendar *calendar, + gint chars); +void gtk_calendar_set_detail_height_rows (GtkCalendar *calendar, + gint rows); + +gint gtk_calendar_get_detail_width_chars (GtkCalendar *calendar); +gint gtk_calendar_get_detail_height_rows (GtkCalendar *calendar); + +gboolean gtk_calendar_get_day_is_marked (GtkCalendar *calendar, + guint day); + +G_END_DECLS + +#endif /* __GTK_CALENDAR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellarea.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellarea.h new file mode 100644 index 0000000..23fd02b --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellarea.h @@ -0,0 +1,482 @@ +/* gtkcellarea.h + * + * Copyright (C) 2010 Openismus GmbH + * + * Authors: + * Tristan Van Berkom + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_AREA_H__ +#define __GTK_CELL_AREA_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_AREA (gtk_cell_area_get_type ()) +#define GTK_CELL_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA, GtkCellArea)) +#define GTK_CELL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_AREA, GtkCellAreaClass)) +#define GTK_IS_CELL_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA)) +#define GTK_IS_CELL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_AREA)) +#define GTK_CELL_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_AREA, GtkCellAreaClass)) + +typedef struct _GtkCellArea GtkCellArea; +typedef struct _GtkCellAreaClass GtkCellAreaClass; +typedef struct _GtkCellAreaPrivate GtkCellAreaPrivate; +typedef struct _GtkCellAreaContext GtkCellAreaContext; + +/** + * GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID: + * @object: the #GObject on which set_cell_property() or get_get_property() + * was called + * @property_id: the numeric id of the property + * @pspec: the #GParamSpec of the property + * + * This macro should be used to emit a standard warning about unexpected + * properties in set_cell_property() and get_cell_property() implementations. + */ +#define GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID(object, property_id, pspec) \ + G_OBJECT_WARN_INVALID_PSPEC ((object), "cell property id", (property_id), (pspec)) + +/** + * GtkCellCallback: + * @renderer: the cell renderer to operate on + * @data: (closure): user-supplied data + * + * The type of the callback functions used for iterating over + * the cell renderers of a #GtkCellArea, see gtk_cell_area_foreach(). + * + * Return value: %TRUE to stop iterating over cells. + */ +typedef gboolean (*GtkCellCallback) (GtkCellRenderer *renderer, + gpointer data); + +/** + * GtkCellAllocCallback: + * @renderer: the cell renderer to operate on + * @cell_area: the area allocated to @renderer inside the rectangle + * provided to gtk_cell_area_foreach_alloc(). + * @cell_background: the background area for @renderer inside the + * background area provided to gtk_cell_area_foreach_alloc(). + * @data: (closure): user-supplied data + * + * The type of the callback functions used for iterating over the + * cell renderers and their allocated areas inside a #GtkCellArea, + * see gtk_cell_area_foreach_alloc(). + * + * Return value: %TRUE to stop iterating over cells. + */ +typedef gboolean (*GtkCellAllocCallback) (GtkCellRenderer *renderer, + const GdkRectangle *cell_area, + const GdkRectangle *cell_background, + gpointer data); + + +struct _GtkCellArea +{ + /*< private >*/ + GInitiallyUnowned parent_instance; + + GtkCellAreaPrivate *priv; +}; + + +/** + * GtkCellAreaClass: + * @add: adds a #GtkCellRenderer to the area. + * @remove: removes a #GtkCellRenderer from the area. + * @foreach: calls the #GtkCellCallback function on every #GtkCellRenderer in + * the area with the provided user data until the callback returns %TRUE. + * @foreach_alloc: Calls the #GtkCellAllocCallback function on every + * #GtkCellRenderer in the area with the allocated area for the cell + * and the provided user data until the callback returns %TRUE. + * @event: Handle an event in the area, this is generally used to activate + * a cell at the event location for button events but can also be used + * to generically pass events to #GtkWidgets drawn onto the area. + * @render: Actually render the area's cells to the specified rectangle, + * @background_area should be correctly distributed to the cells + * corresponding background areas. + * @apply_attributes: Apply the cell attributes to the cells. This is + * implemented as a signal and generally #GtkCellArea subclasses don't + * need to implement it since it is handled by the base class. + * @create_context: Creates and returns a class specific #GtkCellAreaContext + * to store cell alignment and allocation details for a said #GtkCellArea + * class. + * @copy_context: Creates a new #GtkCellAreaContext in the same state as + * the passed @context with any cell alignment data and allocations intact. + * @get_request_mode: This allows an area to tell its layouting widget whether + * it prefers to be allocated in %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or + * %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode. + * @get_preferred_width: Calculates the minimum and natural width of the + * areas cells with the current attributes applied while considering + * the particular layouting details of the said #GtkCellArea. While + * requests are performed over a series of rows, alignments and overall + * minimum and natural sizes should be stored in the corresponding + * #GtkCellAreaContext. + * @get_preferred_height_for_width: Calculates the minimum and natural height + * for the area if the passed @context would be allocated the given width. + * When implementing this virtual method it is safe to assume that @context + * has already stored the aligned cell widths for every #GtkTreeModel row + * that @context will be allocated for since this information was stored + * at #GtkCellAreaClass.get_preferred_width() time. This virtual method + * should also store any necessary alignments of cell heights for the + * case that the context is allocated a height. + * @get_preferred_height: Calculates the minimum and natural height of the + * areas cells with the current attributes applied. Essentially this is + * the same as #GtkCellAreaClass.get_preferred_width() only for areas + * that are being requested as %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT. + * @get_preferred_width_for_height: Calculates the minimum and natural width + * for the area if the passed @context would be allocated the given + * height. The same as #GtkCellAreaClass.get_preferred_height_for_width() + * only for handling requests in the %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT + * mode. + * @set_cell_property: This should be implemented to handle changes in child + * cell properties for a given #GtkCellRenderer that were previously + * installed on the #GtkCellAreaClass with gtk_cell_area_class_install_cell_property(). + * @get_cell_property: This should be implemented to report the values of + * child cell properties for a given child #GtkCellRenderer. + * @focus: This virtual method should be implemented to navigate focus from + * cell to cell inside the #GtkCellArea. The #GtkCellArea should move + * focus from cell to cell inside the area and return %FALSE if focus + * logically leaves the area with the following exceptions: When the + * area contains no activatable cells, the entire area recieves focus. + * Focus should not be given to cells that are actually "focus siblings" + * of other sibling cells (see gtk_cell_area_get_focus_from_sibling()). + * Focus is set by calling gtk_cell_area_set_focus_cell(). + * @is_activatable: Returns whether the #GtkCellArea can respond to + * #GtkCellAreaClass.activate(), usually this does not need to be + * implemented since the base class takes care of this however it can + * be enhanced if the #GtkCellArea subclass can handle activation in + * other ways than activating its #GtkCellRenderers. + * @activate: This is called when the layouting widget rendering the + * #GtkCellArea activates the focus cell (see gtk_cell_area_get_focus_cell()). + */ +struct _GtkCellAreaClass +{ + /*< private >*/ + GInitiallyUnownedClass parent_class; + + /*< public >*/ + + /* Basic methods */ + void (* add) (GtkCellArea *area, + GtkCellRenderer *renderer); + void (* remove) (GtkCellArea *area, + GtkCellRenderer *renderer); + void (* foreach) (GtkCellArea *area, + GtkCellCallback callback, + gpointer callback_data); + void (* foreach_alloc) (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + const GdkRectangle *cell_area, + const GdkRectangle *background_area, + GtkCellAllocCallback callback, + gpointer callback_data); + gint (* event) (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + GdkEvent *event, + const GdkRectangle *cell_area, + GtkCellRendererState flags); + void (* render) (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + cairo_t *cr, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags, + gboolean paint_focus); + void (* apply_attributes) (GtkCellArea *area, + GtkTreeModel *tree_model, + GtkTreeIter *iter, + gboolean is_expander, + gboolean is_expanded); + + /* Geometry */ + GtkCellAreaContext *(* create_context) (GtkCellArea *area); + GtkCellAreaContext *(* copy_context) (GtkCellArea *area, + GtkCellAreaContext *context); + GtkSizeRequestMode (* get_request_mode) (GtkCellArea *area); + void (* get_preferred_width) (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + gint *minimum_width, + gint *natural_width); + void (* get_preferred_height_for_width) (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + gint width, + gint *minimum_height, + gint *natural_height); + void (* get_preferred_height) (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + gint *minimum_height, + gint *natural_height); + void (* get_preferred_width_for_height) (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + gint height, + gint *minimum_width, + gint *natural_width); + + /* Cell Properties */ + void (* set_cell_property) (GtkCellArea *area, + GtkCellRenderer *renderer, + guint property_id, + const GValue *value, + GParamSpec *pspec); + void (* get_cell_property) (GtkCellArea *area, + GtkCellRenderer *renderer, + guint property_id, + GValue *value, + GParamSpec *pspec); + + /* Focus */ + gboolean (* focus) (GtkCellArea *area, + GtkDirectionType direction); + gboolean (* is_activatable) (GtkCellArea *area); + gboolean (* activate) (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + const GdkRectangle *cell_area, + GtkCellRendererState flags, + gboolean edit_only); + + /*< private >*/ + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +GType gtk_cell_area_get_type (void) G_GNUC_CONST; + +/* Basic methods */ +void gtk_cell_area_add (GtkCellArea *area, + GtkCellRenderer *renderer); +void gtk_cell_area_remove (GtkCellArea *area, + GtkCellRenderer *renderer); +gboolean gtk_cell_area_has_renderer (GtkCellArea *area, + GtkCellRenderer *renderer); +void gtk_cell_area_foreach (GtkCellArea *area, + GtkCellCallback callback, + gpointer callback_data); +void gtk_cell_area_foreach_alloc (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + const GdkRectangle *cell_area, + const GdkRectangle *background_area, + GtkCellAllocCallback callback, + gpointer callback_data); +gint gtk_cell_area_event (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + GdkEvent *event, + const GdkRectangle *cell_area, + GtkCellRendererState flags); +void gtk_cell_area_render (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + cairo_t *cr, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags, + gboolean paint_focus); + +void gtk_cell_area_get_cell_allocation (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + GtkCellRenderer *renderer, + const GdkRectangle *cell_area, + GdkRectangle *allocation); +GtkCellRenderer *gtk_cell_area_get_cell_at_position (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + const GdkRectangle *cell_area, + gint x, + gint y, + GdkRectangle *alloc_area); + +/* Geometry */ +GtkCellAreaContext *gtk_cell_area_create_context (GtkCellArea *area); +GtkCellAreaContext *gtk_cell_area_copy_context (GtkCellArea *area, + GtkCellAreaContext *context); +GtkSizeRequestMode gtk_cell_area_get_request_mode (GtkCellArea *area); +void gtk_cell_area_get_preferred_width (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + gint *minimum_width, + gint *natural_width); +void gtk_cell_area_get_preferred_height_for_width (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + gint width, + gint *minimum_height, + gint *natural_height); +void gtk_cell_area_get_preferred_height (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + gint *minimum_height, + gint *natural_height); +void gtk_cell_area_get_preferred_width_for_height (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + gint height, + gint *minimum_width, + gint *natural_width); +const gchar * gtk_cell_area_get_current_path_string (GtkCellArea *area); + + +/* Attributes */ +void gtk_cell_area_apply_attributes (GtkCellArea *area, + GtkTreeModel *tree_model, + GtkTreeIter *iter, + gboolean is_expander, + gboolean is_expanded); +void gtk_cell_area_attribute_connect (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *attribute, + gint column); +void gtk_cell_area_attribute_disconnect (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *attribute); + +/* Cell Properties */ +void gtk_cell_area_class_install_cell_property (GtkCellAreaClass *aclass, + guint property_id, + GParamSpec *pspec); +GParamSpec* gtk_cell_area_class_find_cell_property (GtkCellAreaClass *aclass, + const gchar *property_name); +GParamSpec** gtk_cell_area_class_list_cell_properties (GtkCellAreaClass *aclass, + guint *n_properties); +void gtk_cell_area_add_with_properties (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *first_prop_name, + ...) G_GNUC_NULL_TERMINATED; +void gtk_cell_area_cell_set (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *first_prop_name, + ...) G_GNUC_NULL_TERMINATED; +void gtk_cell_area_cell_get (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *first_prop_name, + ...) G_GNUC_NULL_TERMINATED; +void gtk_cell_area_cell_set_valist (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *first_property_name, + va_list var_args); +void gtk_cell_area_cell_get_valist (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *first_property_name, + va_list var_args); +void gtk_cell_area_cell_set_property (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *property_name, + const GValue *value); +void gtk_cell_area_cell_get_property (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *property_name, + GValue *value); + +/* Focus */ +gboolean gtk_cell_area_is_activatable (GtkCellArea *area); +gboolean gtk_cell_area_activate (GtkCellArea *area, + GtkCellAreaContext *context, + GtkWidget *widget, + const GdkRectangle *cell_area, + GtkCellRendererState flags, + gboolean edit_only); +gboolean gtk_cell_area_focus (GtkCellArea *area, + GtkDirectionType direction); +void gtk_cell_area_set_focus_cell (GtkCellArea *area, + GtkCellRenderer *renderer); +GtkCellRenderer *gtk_cell_area_get_focus_cell (GtkCellArea *area); + + +/* Focus siblings */ +void gtk_cell_area_add_focus_sibling (GtkCellArea *area, + GtkCellRenderer *renderer, + GtkCellRenderer *sibling); +void gtk_cell_area_remove_focus_sibling (GtkCellArea *area, + GtkCellRenderer *renderer, + GtkCellRenderer *sibling); +gboolean gtk_cell_area_is_focus_sibling (GtkCellArea *area, + GtkCellRenderer *renderer, + GtkCellRenderer *sibling); +const GList * gtk_cell_area_get_focus_siblings (GtkCellArea *area, + GtkCellRenderer *renderer); +GtkCellRenderer *gtk_cell_area_get_focus_from_sibling (GtkCellArea *area, + GtkCellRenderer *renderer); + +/* Cell Activation/Editing */ +GtkCellRenderer *gtk_cell_area_get_edited_cell (GtkCellArea *area); +GtkCellEditable *gtk_cell_area_get_edit_widget (GtkCellArea *area); +gboolean gtk_cell_area_activate_cell (GtkCellArea *area, + GtkWidget *widget, + GtkCellRenderer *renderer, + GdkEvent *event, + const GdkRectangle *cell_area, + GtkCellRendererState flags); +void gtk_cell_area_stop_editing (GtkCellArea *area, + gboolean canceled); + +/* Functions for area implementations */ + +/* Distinguish the inner cell area from the whole requested area including margins */ +void gtk_cell_area_inner_cell_area (GtkCellArea *area, + GtkWidget *widget, + const GdkRectangle *cell_area, + GdkRectangle *inner_area); + +/* Request the size of a cell while respecting the cell margins (requests are margin inclusive) */ +void gtk_cell_area_request_renderer (GtkCellArea *area, + GtkCellRenderer *renderer, + GtkOrientation orientation, + GtkWidget *widget, + gint for_size, + gint *minimum_size, + gint *natural_size); + +/* For api stability, this is called from gtkcelllayout.c in order to ensure the correct + * object is passed to the user function in gtk_cell_layout_set_cell_data_func. + * + * This private api takes gpointer & GFunc arguments to circumvent circular header file + * dependancies. + */ +void _gtk_cell_area_set_cell_data_func_with_proxy (GtkCellArea *area, + GtkCellRenderer *cell, + GFunc func, + gpointer func_data, + GDestroyNotify destroy, + gpointer proxy); + +G_END_DECLS + +#endif /* __GTK_CELL_AREA_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellareabox.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellareabox.h new file mode 100644 index 0000000..5deccd9 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellareabox.h @@ -0,0 +1,87 @@ +/* gtkcellareabox.h + * + * Copyright (C) 2010 Openismus GmbH + * + * Authors: + * Tristan Van Berkom + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_AREA_BOX_H__ +#define __GTK_CELL_AREA_BOX_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_AREA_BOX (gtk_cell_area_box_get_type ()) +#define GTK_CELL_AREA_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA_BOX, GtkCellAreaBox)) +#define GTK_CELL_AREA_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_AREA_BOX, GtkCellAreaBoxClass)) +#define GTK_IS_CELL_AREA_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA_BOX)) +#define GTK_IS_CELL_AREA_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_AREA_BOX)) +#define GTK_CELL_AREA_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_AREA_BOX, GtkCellAreaBoxClass)) + +typedef struct _GtkCellAreaBox GtkCellAreaBox; +typedef struct _GtkCellAreaBoxClass GtkCellAreaBoxClass; +typedef struct _GtkCellAreaBoxPrivate GtkCellAreaBoxPrivate; + +struct _GtkCellAreaBox +{ + /*< private >*/ + GtkCellArea parent_instance; + + GtkCellAreaBoxPrivate *priv; +}; + +struct _GtkCellAreaBoxClass +{ + /*< private >*/ + GtkCellAreaClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_area_box_get_type (void) G_GNUC_CONST; + +GtkCellArea *gtk_cell_area_box_new (void); +void gtk_cell_area_box_pack_start (GtkCellAreaBox *box, + GtkCellRenderer *renderer, + gboolean expand, + gboolean align, + gboolean fixed); +void gtk_cell_area_box_pack_end (GtkCellAreaBox *box, + GtkCellRenderer *renderer, + gboolean expand, + gboolean align, + gboolean fixed); +gint gtk_cell_area_box_get_spacing (GtkCellAreaBox *box); +void gtk_cell_area_box_set_spacing (GtkCellAreaBox *box, + gint spacing); + +/* Private interaction with GtkCellAreaBoxContext */ +gboolean _gtk_cell_area_box_group_visible (GtkCellAreaBox *box, + gint group_idx); + +G_END_DECLS + +#endif /* __GTK_CELL_AREA_BOX_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellareacontext.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellareacontext.h new file mode 100644 index 0000000..7daca08 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellareacontext.h @@ -0,0 +1,135 @@ +/* gtkcellareacontext.h + * + * Copyright (C) 2010 Openismus GmbH + * + * Authors: + * Tristan Van Berkom + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_AREA_CONTEXT_H__ +#define __GTK_CELL_AREA_CONTEXT_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_AREA_CONTEXT (gtk_cell_area_context_get_type ()) +#define GTK_CELL_AREA_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA_CONTEXT, GtkCellAreaContext)) +#define GTK_CELL_AREA_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_AREA_CONTEXT, GtkCellAreaContextClass)) +#define GTK_IS_CELL_AREA_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA_CONTEXT)) +#define GTK_IS_CELL_AREA_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_AREA_CONTEXT)) +#define GTK_CELL_AREA_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_AREA_CONTEXT, GtkCellAreaContextClass)) + +typedef struct _GtkCellAreaContextPrivate GtkCellAreaContextPrivate; +typedef struct _GtkCellAreaContextClass GtkCellAreaContextClass; + +struct _GtkCellAreaContext +{ + /*< private >*/ + GObject parent_instance; + + GtkCellAreaContextPrivate *priv; +}; + +/** + * GtkCellAreaContextClass: + * @allocate: This tells the context that an allocation width or height + * (or both) have been decided for a group of rows. The context should + * store any allocations for internally aligned cells at this point so + * that they dont need to be recalculated at gtk_cell_area_render() time. + * @reset: Clear any previously stored information about requested and + * allocated sizes for the context. + * @get_preferred_height_for_width: Returns the aligned height for the given + * width that context must store while collecting sizes for it's rows. + * @get_preferred_width_for_height: Returns the aligned width for the given + * height that context must store while collecting sizes for it's rows. + */ +struct _GtkCellAreaContextClass +{ + /*< private >*/ + GObjectClass parent_class; + + /*< public >*/ + void (* allocate) (GtkCellAreaContext *context, + gint width, + gint height); + void (* reset) (GtkCellAreaContext *context); + void (* get_preferred_height_for_width) (GtkCellAreaContext *context, + gint width, + gint *minimum_height, + gint *natural_height); + void (* get_preferred_width_for_height) (GtkCellAreaContext *context, + gint height, + gint *minimum_width, + gint *natural_width); + + /*< private >*/ + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); +}; + +GType gtk_cell_area_context_get_type (void) G_GNUC_CONST; + +/* Main apis */ +GtkCellArea *gtk_cell_area_context_get_area (GtkCellAreaContext *context); +void gtk_cell_area_context_allocate (GtkCellAreaContext *context, + gint width, + gint height); +void gtk_cell_area_context_reset (GtkCellAreaContext *context); + +/* Apis for GtkCellArea clients to consult cached values + * for a series of GtkTreeModel rows + */ +void gtk_cell_area_context_get_preferred_width (GtkCellAreaContext *context, + gint *minimum_width, + gint *natural_width); +void gtk_cell_area_context_get_preferred_height (GtkCellAreaContext *context, + gint *minimum_height, + gint *natural_height); +void gtk_cell_area_context_get_preferred_height_for_width (GtkCellAreaContext *context, + gint width, + gint *minimum_height, + gint *natural_height); +void gtk_cell_area_context_get_preferred_width_for_height (GtkCellAreaContext *context, + gint height, + gint *minimum_width, + gint *natural_width); +void gtk_cell_area_context_get_allocation (GtkCellAreaContext *context, + gint *width, + gint *height); + +/* Apis for GtkCellArea implementations to update cached values + * for multiple GtkTreeModel rows + */ +void gtk_cell_area_context_push_preferred_width (GtkCellAreaContext *context, + gint minimum_width, + gint natural_width); +void gtk_cell_area_context_push_preferred_height (GtkCellAreaContext *context, + gint minimum_height, + gint natural_height); + +G_END_DECLS + +#endif /* __GTK_CELL_AREA_CONTEXT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcelleditable.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcelleditable.h new file mode 100644 index 0000000..7cd3fbf --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcelleditable.h @@ -0,0 +1,62 @@ +/* gtkcelleditable.h + * Copyright (C) 2001 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_EDITABLE_H__ +#define __GTK_CELL_EDITABLE_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_EDITABLE (gtk_cell_editable_get_type ()) +#define GTK_CELL_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditable)) +#define GTK_CELL_EDITABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditableIface)) +#define GTK_IS_CELL_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_EDITABLE)) +#define GTK_CELL_EDITABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditableIface)) + +typedef struct _GtkCellEditable GtkCellEditable; /* Dummy typedef */ +typedef struct _GtkCellEditableIface GtkCellEditableIface; + +struct _GtkCellEditableIface +{ + GTypeInterface g_iface; + + /* signals */ + void (* editing_done) (GtkCellEditable *cell_editable); + void (* remove_widget) (GtkCellEditable *cell_editable); + + /* virtual table */ + void (* start_editing) (GtkCellEditable *cell_editable, + GdkEvent *event); +}; + + +GType gtk_cell_editable_get_type (void) G_GNUC_CONST; + +void gtk_cell_editable_start_editing (GtkCellEditable *cell_editable, + GdkEvent *event); +void gtk_cell_editable_editing_done (GtkCellEditable *cell_editable); +void gtk_cell_editable_remove_widget (GtkCellEditable *cell_editable); + + +G_END_DECLS + +#endif /* __GTK_CELL_EDITABLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcelllayout.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcelllayout.h new file mode 100644 index 0000000..28dfcaa --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcelllayout.h @@ -0,0 +1,135 @@ +/* gtkcelllayout.h + * Copyright (C) 2003 Kristian Rietveld + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_LAYOUT_H__ +#define __GTK_CELL_LAYOUT_H__ + +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_LAYOUT (gtk_cell_layout_get_type ()) +#define GTK_CELL_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_LAYOUT, GtkCellLayout)) +#define GTK_IS_CELL_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_LAYOUT)) +#define GTK_CELL_LAYOUT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_CELL_LAYOUT, GtkCellLayoutIface)) + +typedef struct _GtkCellLayout GtkCellLayout; /* dummy typedef */ +typedef struct _GtkCellLayoutIface GtkCellLayoutIface; + +/* keep in sync with GtkTreeCellDataFunc */ +/** + * GtkCellLayoutDataFunc: + * @cell_layout: a #GtkCellLayout + * @cell: the cell renderer whose value is to be set + * @tree_model: the model + * @iter: a #GtkTreeIter indicating the row to set the value for + * @data: user data passed to gtk_cell_layout_set_cell_data_func() + * + * A function which should set the value of @cell_layout's cell renderer(s) + * as appropriate. + */ +typedef void (* GtkCellLayoutDataFunc) (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + GtkTreeModel *tree_model, + GtkTreeIter *iter, + gpointer data); + +struct _GtkCellLayoutIface +{ + GTypeInterface g_iface; + + /* Virtual Table */ + void (* pack_start) (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + gboolean expand); + void (* pack_end) (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + gboolean expand); + void (* clear) (GtkCellLayout *cell_layout); + void (* add_attribute) (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + const gchar *attribute, + gint column); + void (* set_cell_data_func) (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + GtkCellLayoutDataFunc func, + gpointer func_data, + GDestroyNotify destroy); + void (* clear_attributes) (GtkCellLayout *cell_layout, + GtkCellRenderer *cell); + void (* reorder) (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + gint position); + GList* (* get_cells) (GtkCellLayout *cell_layout); + + GtkCellArea *(* get_area) (GtkCellLayout *cell_layout); +}; + +GType gtk_cell_layout_get_type (void) G_GNUC_CONST; +void gtk_cell_layout_pack_start (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + gboolean expand); +void gtk_cell_layout_pack_end (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + gboolean expand); +GList *gtk_cell_layout_get_cells (GtkCellLayout *cell_layout); +void gtk_cell_layout_clear (GtkCellLayout *cell_layout); +void gtk_cell_layout_set_attributes (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + ...) G_GNUC_NULL_TERMINATED; +void gtk_cell_layout_add_attribute (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + const gchar *attribute, + gint column); +void gtk_cell_layout_set_cell_data_func (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + GtkCellLayoutDataFunc func, + gpointer func_data, + GDestroyNotify destroy); +void gtk_cell_layout_clear_attributes (GtkCellLayout *cell_layout, + GtkCellRenderer *cell); +void gtk_cell_layout_reorder (GtkCellLayout *cell_layout, + GtkCellRenderer *cell, + gint position); +GtkCellArea *gtk_cell_layout_get_area (GtkCellLayout *cell_layout); + +gboolean _gtk_cell_layout_buildable_custom_tag_start (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + GMarkupParser *parser, + gpointer *data); +gboolean _gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *tagname, + gpointer *data); +void _gtk_cell_layout_buildable_add_child (GtkBuildable *buildable, + GtkBuilder *builder, + GObject *child, + const gchar *type); + +G_END_DECLS + +#endif /* __GTK_CELL_LAYOUT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderer.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderer.h new file mode 100644 index 0000000..f9a31dd --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderer.h @@ -0,0 +1,280 @@ +/* gtkcellrenderer.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_RENDERER_H__ +#define __GTK_CELL_RENDERER_H__ + +#include + +G_BEGIN_DECLS + + +/** + * GtkCellRendererState: + * @GTK_CELL_RENDERER_SELECTED: The cell is currently selected, and + * probably has a selection colored background to render to. + * @GTK_CELL_RENDERER_PRELIT: The mouse is hovering over the cell. + * @GTK_CELL_RENDERER_INSENSITIVE: The cell is drawn in an insensitive manner + * @GTK_CELL_RENDERER_SORTED: The cell is in a sorted row + * @GTK_CELL_RENDERER_FOCUSED: The cell is in the focus row. + * @GTK_CELL_RENDERER_EXPANDABLE: The cell is in a row that can be expanded. Since 3.4 + * @GTK_CELL_RENDERER_EXPANDED: The cell is in a row that is expanded. Since 3.4 + * + * Tells how a cell is to be rendererd. + */ +typedef enum +{ + GTK_CELL_RENDERER_SELECTED = 1 << 0, + GTK_CELL_RENDERER_PRELIT = 1 << 1, + GTK_CELL_RENDERER_INSENSITIVE = 1 << 2, + /* this flag means the cell is in the sort column/row */ + GTK_CELL_RENDERER_SORTED = 1 << 3, + GTK_CELL_RENDERER_FOCUSED = 1 << 4, + GTK_CELL_RENDERER_EXPANDABLE = 1 << 5, + GTK_CELL_RENDERER_EXPANDED = 1 << 6 +} GtkCellRendererState; + +/** + * GtkCellRendererMode: + * @GTK_CELL_RENDERER_MODE_INERT: The cell is just for display + * and cannot be interacted with. Note that this doesn't mean that eg. the + * row being drawn can't be selected -- just that a particular element of + * it cannot be individually modified. + * @GTK_CELL_RENDERER_MODE_ACTIVATABLE: The cell can be clicked. + * @GTK_CELL_RENDERER_MODE_EDITABLE: The cell can be edited or otherwise modified. + * + * Identifies how the user can interact with a particular cell. + */ +typedef enum +{ + GTK_CELL_RENDERER_MODE_INERT, + GTK_CELL_RENDERER_MODE_ACTIVATABLE, + GTK_CELL_RENDERER_MODE_EDITABLE +} GtkCellRendererMode; + +#define GTK_TYPE_CELL_RENDERER (gtk_cell_renderer_get_type ()) +#define GTK_CELL_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER, GtkCellRenderer)) +#define GTK_CELL_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER, GtkCellRendererClass)) +#define GTK_IS_CELL_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER)) +#define GTK_IS_CELL_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER)) +#define GTK_CELL_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER, GtkCellRendererClass)) + +typedef struct _GtkCellRenderer GtkCellRenderer; +typedef struct _GtkCellRendererPrivate GtkCellRendererPrivate; +typedef struct _GtkCellRendererClass GtkCellRendererClass; +typedef struct _GtkCellRendererClassPrivate GtkCellRendererClassPrivate; + +struct _GtkCellRenderer +{ + GInitiallyUnowned parent_instance; + + /*< private >*/ + GtkCellRendererPrivate *priv; +}; + +struct _GtkCellRendererClass +{ + GInitiallyUnownedClass parent_class; + + /* vtable - not signals */ + GtkSizeRequestMode (* get_request_mode) (GtkCellRenderer *cell); + void (* get_preferred_width) (GtkCellRenderer *cell, + GtkWidget *widget, + gint *minimum_size, + gint *natural_size); + void (* get_preferred_height_for_width) (GtkCellRenderer *cell, + GtkWidget *widget, + gint width, + gint *minimum_height, + gint *natural_height); + void (* get_preferred_height) (GtkCellRenderer *cell, + GtkWidget *widget, + gint *minimum_size, + gint *natural_size); + void (* get_preferred_width_for_height) (GtkCellRenderer *cell, + GtkWidget *widget, + gint height, + gint *minimum_width, + gint *natural_width); + void (* get_aligned_area) (GtkCellRenderer *cell, + GtkWidget *widget, + GtkCellRendererState flags, + const GdkRectangle *cell_area, + GdkRectangle *aligned_area); + void (* get_size) (GtkCellRenderer *cell, + GtkWidget *widget, + const GdkRectangle *cell_area, + gint *x_offset, + gint *y_offset, + gint *width, + gint *height); + void (* render) (GtkCellRenderer *cell, + cairo_t *cr, + GtkWidget *widget, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags); + gboolean (* activate) (GtkCellRenderer *cell, + GdkEvent *event, + GtkWidget *widget, + const gchar *path, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags); + GtkCellEditable * (* start_editing) (GtkCellRenderer *cell, + GdkEvent *event, + GtkWidget *widget, + const gchar *path, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags); + + /* Signals */ + void (* editing_canceled) (GtkCellRenderer *cell); + void (* editing_started) (GtkCellRenderer *cell, + GtkCellEditable *editable, + const gchar *path); + + GtkCellRendererClassPrivate *priv; + + /* Padding for future expansion */ + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_renderer_get_type (void) G_GNUC_CONST; + +GtkSizeRequestMode gtk_cell_renderer_get_request_mode (GtkCellRenderer *cell); +void gtk_cell_renderer_get_preferred_width (GtkCellRenderer *cell, + GtkWidget *widget, + gint *minimum_size, + gint *natural_size); +void gtk_cell_renderer_get_preferred_height_for_width (GtkCellRenderer *cell, + GtkWidget *widget, + gint width, + gint *minimum_height, + gint *natural_height); +void gtk_cell_renderer_get_preferred_height (GtkCellRenderer *cell, + GtkWidget *widget, + gint *minimum_size, + gint *natural_size); +void gtk_cell_renderer_get_preferred_width_for_height (GtkCellRenderer *cell, + GtkWidget *widget, + gint height, + gint *minimum_width, + gint *natural_width); +void gtk_cell_renderer_get_preferred_size (GtkCellRenderer *cell, + GtkWidget *widget, + GtkRequisition *minimum_size, + GtkRequisition *natural_size); +void gtk_cell_renderer_get_aligned_area (GtkCellRenderer *cell, + GtkWidget *widget, + GtkCellRendererState flags, + const GdkRectangle *cell_area, + GdkRectangle *aligned_area); + +GDK_DEPRECATED_IN_3_0_FOR(gtk_cell_renderer_get_preferred_size) +void gtk_cell_renderer_get_size (GtkCellRenderer *cell, + GtkWidget *widget, + const GdkRectangle *cell_area, + gint *x_offset, + gint *y_offset, + gint *width, + gint *height); +void gtk_cell_renderer_render (GtkCellRenderer *cell, + cairo_t *cr, + GtkWidget *widget, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags); +gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell, + GdkEvent *event, + GtkWidget *widget, + const gchar *path, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags); +GtkCellEditable *gtk_cell_renderer_start_editing (GtkCellRenderer *cell, + GdkEvent *event, + GtkWidget *widget, + const gchar *path, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags); + +void gtk_cell_renderer_set_fixed_size (GtkCellRenderer *cell, + gint width, + gint height); +void gtk_cell_renderer_get_fixed_size (GtkCellRenderer *cell, + gint *width, + gint *height); + +void gtk_cell_renderer_set_alignment (GtkCellRenderer *cell, + gfloat xalign, + gfloat yalign); +void gtk_cell_renderer_get_alignment (GtkCellRenderer *cell, + gfloat *xalign, + gfloat *yalign); + +void gtk_cell_renderer_set_padding (GtkCellRenderer *cell, + gint xpad, + gint ypad); +void gtk_cell_renderer_get_padding (GtkCellRenderer *cell, + gint *xpad, + gint *ypad); + +void gtk_cell_renderer_set_visible (GtkCellRenderer *cell, + gboolean visible); +gboolean gtk_cell_renderer_get_visible (GtkCellRenderer *cell); + +void gtk_cell_renderer_set_sensitive (GtkCellRenderer *cell, + gboolean sensitive); +gboolean gtk_cell_renderer_get_sensitive (GtkCellRenderer *cell); + +gboolean gtk_cell_renderer_is_activatable (GtkCellRenderer *cell); + +/* For use by cell renderer implementations only */ +void gtk_cell_renderer_stop_editing (GtkCellRenderer *cell, + gboolean canceled); + + +void _gtk_cell_renderer_calc_offset (GtkCellRenderer *cell, + const GdkRectangle *cell_area, + GtkTextDirection direction, + gint width, + gint height, + gint *x_offset, + gint *y_offset); + +GtkStateFlags gtk_cell_renderer_get_state (GtkCellRenderer *cell, + GtkWidget *widget, + GtkCellRendererState cell_state); + +void _gtk_cell_renderer_class_set_accessible_type + (GtkCellRendererClass *renderer_class, + GType type); +GType _gtk_cell_renderer_get_accessible_type + (GtkCellRenderer * renderer); + +G_END_DECLS + +#endif /* __GTK_CELL_RENDERER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendereraccel.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendereraccel.h new file mode 100644 index 0000000..a4fe49c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendereraccel.h @@ -0,0 +1,84 @@ +/* gtkcellrendereraccel.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_RENDERER_ACCEL_H__ +#define __GTK_CELL_RENDERER_ACCEL_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_RENDERER_ACCEL (gtk_cell_renderer_accel_get_type ()) +#define GTK_CELL_RENDERER_ACCEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccel)) +#define GTK_CELL_RENDERER_ACCEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccelClass)) +#define GTK_IS_CELL_RENDERER_ACCEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_ACCEL)) +#define GTK_IS_CELL_RENDERER_ACCEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_ACCEL)) +#define GTK_CELL_RENDERER_ACCEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccelClass)) + +typedef struct _GtkCellRendererAccel GtkCellRendererAccel; +typedef struct _GtkCellRendererAccelPrivate GtkCellRendererAccelPrivate; +typedef struct _GtkCellRendererAccelClass GtkCellRendererAccelClass; + + +typedef enum +{ + GTK_CELL_RENDERER_ACCEL_MODE_GTK, + GTK_CELL_RENDERER_ACCEL_MODE_OTHER +} GtkCellRendererAccelMode; + + +struct _GtkCellRendererAccel +{ + GtkCellRendererText parent; + + /*< private >*/ + GtkCellRendererAccelPrivate *priv; +}; + +struct _GtkCellRendererAccelClass +{ + GtkCellRendererTextClass parent_class; + + void (* accel_edited) (GtkCellRendererAccel *accel, + const gchar *path_string, + guint accel_key, + GdkModifierType accel_mods, + guint hardware_keycode); + + void (* accel_cleared) (GtkCellRendererAccel *accel, + const gchar *path_string); + + /* Padding for future expansion */ + void (*_gtk_reserved0) (void); + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_renderer_accel_get_type (void) G_GNUC_CONST; +GtkCellRenderer *gtk_cell_renderer_accel_new (void); + + +G_END_DECLS + + +#endif /* __GTK_CELL_RENDERER_ACCEL_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderercombo.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderercombo.h new file mode 100644 index 0000000..acbbbf4 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderercombo.h @@ -0,0 +1,65 @@ +/* GtkCellRendererCombo + * Copyright (C) 2004 Lorenzo Gil Sanchez + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_RENDERER_COMBO_H__ +#define __GTK_CELL_RENDERER_COMBO_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_RENDERER_COMBO (gtk_cell_renderer_combo_get_type ()) +#define GTK_CELL_RENDERER_COMBO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_COMBO, GtkCellRendererCombo)) +#define GTK_CELL_RENDERER_COMBO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_COMBO, GtkCellRendererComboClass)) +#define GTK_IS_CELL_RENDERER_COMBO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_COMBO)) +#define GTK_IS_CELL_RENDERER_COMBO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_COMBO)) +#define GTK_CELL_RENDERER_COMBO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_COMBO, GtkCellRendererTextClass)) + +typedef struct _GtkCellRendererCombo GtkCellRendererCombo; +typedef struct _GtkCellRendererComboPrivate GtkCellRendererComboPrivate; +typedef struct _GtkCellRendererComboClass GtkCellRendererComboClass; + +struct _GtkCellRendererCombo +{ + GtkCellRendererText parent; + + /*< private >*/ + GtkCellRendererComboPrivate *priv; +}; + +struct _GtkCellRendererComboClass +{ + GtkCellRendererTextClass parent; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_renderer_combo_get_type (void) G_GNUC_CONST; +GtkCellRenderer *gtk_cell_renderer_combo_new (void); + +G_END_DECLS + +#endif /* __GTK_CELL_RENDERER_COMBO_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererpixbuf.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererpixbuf.h new file mode 100644 index 0000000..3417b4d --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererpixbuf.h @@ -0,0 +1,68 @@ +/* gtkcellrendererpixbuf.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_RENDERER_PIXBUF_H__ +#define __GTK_CELL_RENDERER_PIXBUF_H__ + +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_CELL_RENDERER_PIXBUF (gtk_cell_renderer_pixbuf_get_type ()) +#define GTK_CELL_RENDERER_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_PIXBUF, GtkCellRendererPixbuf)) +#define GTK_CELL_RENDERER_PIXBUF_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_PIXBUF, GtkCellRendererPixbufClass)) +#define GTK_IS_CELL_RENDERER_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PIXBUF)) +#define GTK_IS_CELL_RENDERER_PIXBUF_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_PIXBUF)) +#define GTK_CELL_RENDERER_PIXBUF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_PIXBUF, GtkCellRendererPixbufClass)) + +typedef struct _GtkCellRendererPixbuf GtkCellRendererPixbuf; +typedef struct _GtkCellRendererPixbufPrivate GtkCellRendererPixbufPrivate; +typedef struct _GtkCellRendererPixbufClass GtkCellRendererPixbufClass; + +struct _GtkCellRendererPixbuf +{ + GtkCellRenderer parent; + + /*< private >*/ + GtkCellRendererPixbufPrivate *priv; +}; + +struct _GtkCellRendererPixbufClass +{ + GtkCellRendererClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_renderer_pixbuf_get_type (void) G_GNUC_CONST; +GtkCellRenderer *gtk_cell_renderer_pixbuf_new (void); + + +G_END_DECLS + + +#endif /* __GTK_CELL_RENDERER_PIXBUF_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererprogress.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererprogress.h new file mode 100644 index 0000000..809d062 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererprogress.h @@ -0,0 +1,72 @@ +/* gtkcellrendererprogress.h + * Copyright (C) 2002 Naba Kumar + * modified by Jörgen Scheibengruber + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2004. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_RENDERER_PROGRESS_H__ +#define __GTK_CELL_RENDERER_PROGRESS_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_RENDERER_PROGRESS (gtk_cell_renderer_progress_get_type ()) +#define GTK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgress)) +#define GTK_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass)) +#define GTK_IS_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS)) +#define GTK_IS_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS)) +#define GTK_CELL_RENDERER_PROGRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass)) + +typedef struct _GtkCellRendererProgress GtkCellRendererProgress; +typedef struct _GtkCellRendererProgressClass GtkCellRendererProgressClass; +typedef struct _GtkCellRendererProgressPrivate GtkCellRendererProgressPrivate; + +struct _GtkCellRendererProgress +{ + GtkCellRenderer parent_instance; + + /*< private >*/ + GtkCellRendererProgressPrivate *priv; +}; + +struct _GtkCellRendererProgressClass +{ + GtkCellRendererClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_renderer_progress_get_type (void) G_GNUC_CONST; +GtkCellRenderer* gtk_cell_renderer_progress_new (void); + +G_END_DECLS + +#endif /* __GTK_CELL_RENDERER_PROGRESS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererspin.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererspin.h new file mode 100644 index 0000000..56e3bc7 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererspin.h @@ -0,0 +1,64 @@ +/* GtkCellRendererSpin + * Copyright (C) 2004 Lorenzo Gil Sanchez + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_RENDERER_SPIN_H__ +#define __GTK_CELL_RENDERER_SPIN_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_RENDERER_SPIN (gtk_cell_renderer_spin_get_type ()) +#define GTK_CELL_RENDERER_SPIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_SPIN, GtkCellRendererSpin)) +#define GTK_CELL_RENDERER_SPIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_SPIN, GtkCellRendererSpinClass)) +#define GTK_IS_CELL_RENDERER_SPIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_SPIN)) +#define GTK_IS_CELL_RENDERER_SPIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_SPIN)) +#define GTK_CELL_RENDERER_SPIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_SPIN, GtkCellRendererTextClass)) + +typedef struct _GtkCellRendererSpin GtkCellRendererSpin; +typedef struct _GtkCellRendererSpinClass GtkCellRendererSpinClass; +typedef struct _GtkCellRendererSpinPrivate GtkCellRendererSpinPrivate; + +struct _GtkCellRendererSpin +{ + GtkCellRendererText parent; + + /*< private >*/ + GtkCellRendererSpinPrivate *priv; +}; + +struct _GtkCellRendererSpinClass +{ + GtkCellRendererTextClass parent; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_renderer_spin_get_type (void); +GtkCellRenderer *gtk_cell_renderer_spin_new (void); + +G_END_DECLS + +#endif /* __GTK_CELL_RENDERER_SPIN_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererspinner.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererspinner.h new file mode 100644 index 0000000..7ce0a80 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrendererspinner.h @@ -0,0 +1,67 @@ +/* GTK - The GIMP Toolkit + * + * Copyright (C) 2009 Matthias Clasen + * Copyright (C) 2008 Richard Hughes + * Copyright (C) 2009 Bastien Nocera + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_RENDERER_SPINNER_H__ +#define __GTK_CELL_RENDERER_SPINNER_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_RENDERER_SPINNER (gtk_cell_renderer_spinner_get_type ()) +#define GTK_CELL_RENDERER_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_SPINNER, GtkCellRendererSpinner)) +#define GTK_CELL_RENDERER_SPINNER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_SPINNER, GtkCellRendererSpinnerClass)) +#define GTK_IS_CELL_RENDERER_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_SPINNER)) +#define GTK_IS_CELL_RENDERER_SPINNER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_SPINNER)) +#define GTK_CELL_RENDERER_SPINNER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_SPINNER, GtkCellRendererSpinnerClass)) + +typedef struct _GtkCellRendererSpinner GtkCellRendererSpinner; +typedef struct _GtkCellRendererSpinnerClass GtkCellRendererSpinnerClass; +typedef struct _GtkCellRendererSpinnerPrivate GtkCellRendererSpinnerPrivate; + +struct _GtkCellRendererSpinner +{ + GtkCellRenderer parent; + + /*< private >*/ + GtkCellRendererSpinnerPrivate *priv; +}; + +struct _GtkCellRendererSpinnerClass +{ + GtkCellRendererClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_renderer_spinner_get_type (void) G_GNUC_CONST; +GtkCellRenderer *gtk_cell_renderer_spinner_new (void); + +G_END_DECLS + +#endif /* __GTK_CELL_RENDERER_SPINNER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderertext.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderertext.h new file mode 100644 index 0000000..82c94df --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderertext.h @@ -0,0 +1,75 @@ +/* gtkcellrenderertext.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_RENDERER_TEXT_H__ +#define __GTK_CELL_RENDERER_TEXT_H__ + + +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_CELL_RENDERER_TEXT (gtk_cell_renderer_text_get_type ()) +#define GTK_CELL_RENDERER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_TEXT, GtkCellRendererText)) +#define GTK_CELL_RENDERER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_TEXT, GtkCellRendererTextClass)) +#define GTK_IS_CELL_RENDERER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_TEXT)) +#define GTK_IS_CELL_RENDERER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_TEXT)) +#define GTK_CELL_RENDERER_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_TEXT, GtkCellRendererTextClass)) + +typedef struct _GtkCellRendererText GtkCellRendererText; +typedef struct _GtkCellRendererTextPrivate GtkCellRendererTextPrivate; +typedef struct _GtkCellRendererTextClass GtkCellRendererTextClass; + +struct _GtkCellRendererText +{ + GtkCellRenderer parent; + + /*< private >*/ + GtkCellRendererTextPrivate *priv; +}; + +struct _GtkCellRendererTextClass +{ + GtkCellRendererClass parent_class; + + void (* edited) (GtkCellRendererText *cell_renderer_text, + const gchar *path, + const gchar *new_text); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_renderer_text_get_type (void) G_GNUC_CONST; +GtkCellRenderer *gtk_cell_renderer_text_new (void); + +void gtk_cell_renderer_text_set_fixed_height_from_font (GtkCellRendererText *renderer, + gint number_of_rows); + + +G_END_DECLS + +#endif /* __GTK_CELL_RENDERER_TEXT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderertoggle.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderertoggle.h new file mode 100644 index 0000000..dd26c74 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellrenderertoggle.h @@ -0,0 +1,82 @@ +/* gtkcellrenderertoggle.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_RENDERER_TOGGLE_H__ +#define __GTK_CELL_RENDERER_TOGGLE_H__ + +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_CELL_RENDERER_TOGGLE (gtk_cell_renderer_toggle_get_type ()) +#define GTK_CELL_RENDERER_TOGGLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_TOGGLE, GtkCellRendererToggle)) +#define GTK_CELL_RENDERER_TOGGLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_TOGGLE, GtkCellRendererToggleClass)) +#define GTK_IS_CELL_RENDERER_TOGGLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_TOGGLE)) +#define GTK_IS_CELL_RENDERER_TOGGLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_TOGGLE)) +#define GTK_CELL_RENDERER_TOGGLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_TOGGLE, GtkCellRendererToggleClass)) + +typedef struct _GtkCellRendererToggle GtkCellRendererToggle; +typedef struct _GtkCellRendererTogglePrivate GtkCellRendererTogglePrivate; +typedef struct _GtkCellRendererToggleClass GtkCellRendererToggleClass; + +struct _GtkCellRendererToggle +{ + GtkCellRenderer parent; + + /*< private >*/ + GtkCellRendererTogglePrivate *priv; +}; + +struct _GtkCellRendererToggleClass +{ + GtkCellRendererClass parent_class; + + void (* toggled) (GtkCellRendererToggle *cell_renderer_toggle, + const gchar *path); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_renderer_toggle_get_type (void) G_GNUC_CONST; +GtkCellRenderer *gtk_cell_renderer_toggle_new (void); + +gboolean gtk_cell_renderer_toggle_get_radio (GtkCellRendererToggle *toggle); +void gtk_cell_renderer_toggle_set_radio (GtkCellRendererToggle *toggle, + gboolean radio); + +gboolean gtk_cell_renderer_toggle_get_active (GtkCellRendererToggle *toggle); +void gtk_cell_renderer_toggle_set_active (GtkCellRendererToggle *toggle, + gboolean setting); + +gboolean gtk_cell_renderer_toggle_get_activatable (GtkCellRendererToggle *toggle); +void gtk_cell_renderer_toggle_set_activatable (GtkCellRendererToggle *toggle, + gboolean setting); + + +G_END_DECLS + +#endif /* __GTK_CELL_RENDERER_TOGGLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcellview.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellview.h new file mode 100644 index 0000000..3a02b02 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcellview.h @@ -0,0 +1,95 @@ +/* gtkcellview.h + * Copyright (C) 2002, 2003 Kristian Rietveld + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CELL_VIEW_H__ +#define __GTK_CELL_VIEW_H__ + +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CELL_VIEW (gtk_cell_view_get_type ()) +#define GTK_CELL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_VIEW, GtkCellView)) +#define GTK_CELL_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_CELL_VIEW, GtkCellViewClass)) +#define GTK_IS_CELL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_VIEW)) +#define GTK_IS_CELL_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_CELL_VIEW)) +#define GTK_CELL_VIEW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), GTK_TYPE_CELL_VIEW, GtkCellViewClass)) + +typedef struct _GtkCellView GtkCellView; +typedef struct _GtkCellViewClass GtkCellViewClass; +typedef struct _GtkCellViewPrivate GtkCellViewPrivate; + +struct _GtkCellView +{ + GtkWidget parent_instance; + + /*< private >*/ + GtkCellViewPrivate *priv; +}; + +struct _GtkCellViewClass +{ + GtkWidgetClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_cell_view_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_cell_view_new (void); +GtkWidget *gtk_cell_view_new_with_context (GtkCellArea *area, + GtkCellAreaContext *context); +GtkWidget *gtk_cell_view_new_with_text (const gchar *text); +GtkWidget *gtk_cell_view_new_with_markup (const gchar *markup); +GtkWidget *gtk_cell_view_new_with_pixbuf (GdkPixbuf *pixbuf); +void gtk_cell_view_set_model (GtkCellView *cell_view, + GtkTreeModel *model); +GtkTreeModel *gtk_cell_view_get_model (GtkCellView *cell_view); +void gtk_cell_view_set_displayed_row (GtkCellView *cell_view, + GtkTreePath *path); +GtkTreePath *gtk_cell_view_get_displayed_row (GtkCellView *cell_view); +void gtk_cell_view_set_background_rgba (GtkCellView *cell_view, + const GdkRGBA *rgba); +gboolean gtk_cell_view_get_draw_sensitive (GtkCellView *cell_view); +void gtk_cell_view_set_draw_sensitive (GtkCellView *cell_view, + gboolean draw_sensitive); +gboolean gtk_cell_view_get_fit_model (GtkCellView *cell_view); +void gtk_cell_view_set_fit_model (GtkCellView *cell_view, + gboolean fit_model); + +GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_size) +gboolean gtk_cell_view_get_size_of_row (GtkCellView *cell_view, + GtkTreePath *path, + GtkRequisition *requisition); +GDK_DEPRECATED_IN_3_4_FOR(gtk_cell_view_set_background_rgba) +void gtk_cell_view_set_background_color (GtkCellView *cell_view, + const GdkColor *color); + +G_END_DECLS + +#endif /* __GTK_CELL_VIEW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcheckbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcheckbutton.h new file mode 100644 index 0000000..cf33b68 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcheckbutton.h @@ -0,0 +1,80 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CHECK_BUTTON_H__ +#define __GTK_CHECK_BUTTON_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_CHECK_BUTTON (gtk_check_button_get_type ()) +#define GTK_CHECK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CHECK_BUTTON, GtkCheckButton)) +#define GTK_CHECK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CHECK_BUTTON, GtkCheckButtonClass)) +#define GTK_IS_CHECK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CHECK_BUTTON)) +#define GTK_IS_CHECK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CHECK_BUTTON)) +#define GTK_CHECK_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CHECK_BUTTON, GtkCheckButtonClass)) + + +typedef struct _GtkCheckButton GtkCheckButton; +typedef struct _GtkCheckButtonClass GtkCheckButtonClass; + +struct _GtkCheckButton +{ + GtkToggleButton toggle_button; +}; + +struct _GtkCheckButtonClass +{ + GtkToggleButtonClass parent_class; + + void (* draw_indicator) (GtkCheckButton *check_button, + cairo_t *cr); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_check_button_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_check_button_new (void); +GtkWidget* gtk_check_button_new_with_label (const gchar *label); +GtkWidget* gtk_check_button_new_with_mnemonic (const gchar *label); + +void _gtk_check_button_get_props (GtkCheckButton *check_button, + gint *indicator_size, + gint *indicator_spacing); + +G_END_DECLS + +#endif /* __GTK_CHECK_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcheckmenuitem.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcheckmenuitem.h new file mode 100644 index 0000000..0a2fe64 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcheckmenuitem.h @@ -0,0 +1,98 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2001. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CHECK_MENU_ITEM_H__ +#define __GTK_CHECK_MENU_ITEM_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_CHECK_MENU_ITEM (gtk_check_menu_item_get_type ()) +#define GTK_CHECK_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CHECK_MENU_ITEM, GtkCheckMenuItem)) +#define GTK_CHECK_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CHECK_MENU_ITEM, GtkCheckMenuItemClass)) +#define GTK_IS_CHECK_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CHECK_MENU_ITEM)) +#define GTK_IS_CHECK_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CHECK_MENU_ITEM)) +#define GTK_CHECK_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CHECK_MENU_ITEM, GtkCheckMenuItemClass)) + + +typedef struct _GtkCheckMenuItem GtkCheckMenuItem; +typedef struct _GtkCheckMenuItemPrivate GtkCheckMenuItemPrivate; +typedef struct _GtkCheckMenuItemClass GtkCheckMenuItemClass; + +struct _GtkCheckMenuItem +{ + GtkMenuItem menu_item; + + /*< private >*/ + GtkCheckMenuItemPrivate *priv; +}; + +struct _GtkCheckMenuItemClass +{ + GtkMenuItemClass parent_class; + + void (* toggled) (GtkCheckMenuItem *check_menu_item); + void (* draw_indicator) (GtkCheckMenuItem *check_menu_item, + cairo_t *cr); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_check_menu_item_get_type (void) G_GNUC_CONST; + +GtkWidget* gtk_check_menu_item_new (void); +GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label); +GtkWidget* gtk_check_menu_item_new_with_mnemonic (const gchar *label); +void gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item, + gboolean is_active); +gboolean gtk_check_menu_item_get_active (GtkCheckMenuItem *check_menu_item); +void gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item); +void gtk_check_menu_item_set_inconsistent (GtkCheckMenuItem *check_menu_item, + gboolean setting); +gboolean gtk_check_menu_item_get_inconsistent (GtkCheckMenuItem *check_menu_item); +void gtk_check_menu_item_set_draw_as_radio (GtkCheckMenuItem *check_menu_item, + gboolean draw_as_radio); +gboolean gtk_check_menu_item_get_draw_as_radio (GtkCheckMenuItem *check_menu_item); + + +/* private */ +void _gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item, + gboolean is_active); + + +G_END_DECLS + +#endif /* __GTK_CHECK_MENU_ITEM_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkclipboard.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkclipboard.h new file mode 100644 index 0000000..d47dba1 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkclipboard.h @@ -0,0 +1,237 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Global clipboard abstraction. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CLIPBOARD_H__ +#define __GTK_CLIPBOARD_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CLIPBOARD (gtk_clipboard_get_type ()) +#define GTK_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CLIPBOARD, GtkClipboard)) +#define GTK_IS_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CLIPBOARD)) + +/** + * GtkClipboardReceivedFunc: + * @clipboard: the #GtkClipboard + * @selection_data: a #GtkSelectionData containing the data was received. + * If retrieving the data failed, then then length field + * of @selection_data will be negative. + * @data: the @user_data supplied to gtk_clipboard_request_contents(). + * + * A function to be called when the results of gtk_clipboard_request_contents() + * are received, or when the request fails. + */ +typedef void (* GtkClipboardReceivedFunc) (GtkClipboard *clipboard, + GtkSelectionData *selection_data, + gpointer data); + +/** + * GtkClipboardTextReceivedFunc: + * @clipboard: the #GtkClipboard + * @text: the text received, as a UTF-8 encoded string, or %NULL + * if retrieving the data failed. + * @data: the @user_data supplied to gtk_clipboard_request_text(). + * + * A function to be called when the results of gtk_clipboard_request_text() + * are received, or when the request fails. + */ +typedef void (* GtkClipboardTextReceivedFunc) (GtkClipboard *clipboard, + const gchar *text, + gpointer data); + +typedef void (* GtkClipboardRichTextReceivedFunc) (GtkClipboard *clipboard, + GdkAtom format, + const guint8 *text, + gsize length, + gpointer data); + +/** + * GtkClipboardImageReceivedFunc: + * @clipboard: the #GtkClipboard + * @pixbuf: the received image + * @data: the @user_data supplied to gtk_clipboard_request_image(). + * + * A function to be called when the results of gtk_clipboard_request_image() + * are received, or when the request fails. + * + * Since: 2.6 + */ +typedef void (* GtkClipboardImageReceivedFunc) (GtkClipboard *clipboard, + GdkPixbuf *pixbuf, + gpointer data); + +typedef void (* GtkClipboardURIReceivedFunc) (GtkClipboard *clipboard, + gchar **uris, + gpointer data); + +/** + * GtkClipboardTargetsReceivedFunc: + * @clipboard: the #GtkClipboard + * @atoms: the supported targets, as array of #GdkAtom, or %NULL + * if retrieving the data failed. + * @n_atoms: the length of the @atoms array. + * @data: the @user_data supplied to gtk_clipboard_request_targets(). + * + * A function to be called when the results of gtk_clipboard_request_targets() + * are received, or when the request fails. + * + * Since: 2.4 + */ +typedef void (* GtkClipboardTargetsReceivedFunc) (GtkClipboard *clipboard, + GdkAtom *atoms, + gint n_atoms, + gpointer data); + +/* Should these functions have GtkClipboard *clipboard as the first argument? + * right now for ClearFunc, you may have trouble determining _which_ clipboard + * was cleared, if you reuse your ClearFunc for multiple clipboards. + */ +/** + * GtkClipboardGetFunc: + * @clipboard: the #GtkClipboard + * @selection_data: a #GtkSelectionData argument in which the requested + * data should be stored. + * @info: the info field corresponding to the requested target from the + * #GtkTargetEntry array passed to gtk_clipboard_set_with_data() or + * gtk_clipboard_set_with_owner(). + * @user_data_or_owner: the @user_data argument passed to + * gtk_clipboard_set_with_data(), or the @owner argument passed to + * gtk_clipboard_set_with_owner() + * + * A function that will be called to provide the contents of the selection. + * If multiple types of data were advertised, the requested type can + * be determined from the @info parameter or by checking the target field + * of @selection_data. If the data could successfully be converted into + * then it should be stored into the @selection_data object by + * calling gtk_selection_data_set() (or related functions such + * as gtk_selection_data_set_text()). If no data is set, the requestor + * will be informed that the attempt to get the data failed. + */ +typedef void (* GtkClipboardGetFunc) (GtkClipboard *clipboard, + GtkSelectionData *selection_data, + guint info, + gpointer user_data_or_owner); + +/** + * GtkClipboardClearFunc: + * @clipboard: the #GtkClipboard + * @user_data_or_owner: the @user_data argument passed to gtk_clipboard_set_with_data(), + * or the @owner argument passed to gtk_clipboard_set_with_owner() + * + * A function that will be called when the contents of the clipboard are changed + * or cleared. Once this has called, the @user_data_or_owner argument + * will not be used again. + */ +typedef void (* GtkClipboardClearFunc) (GtkClipboard *clipboard, + gpointer user_data_or_owner); + +GType gtk_clipboard_get_type (void) G_GNUC_CONST; + +GtkClipboard *gtk_clipboard_get_for_display (GdkDisplay *display, + GdkAtom selection); +#ifndef GDK_MULTIHEAD_SAFE +GtkClipboard *gtk_clipboard_get (GdkAtom selection); +#endif + +GdkDisplay *gtk_clipboard_get_display (GtkClipboard *clipboard); + + +gboolean gtk_clipboard_set_with_data (GtkClipboard *clipboard, + const GtkTargetEntry *targets, + guint n_targets, + GtkClipboardGetFunc get_func, + GtkClipboardClearFunc clear_func, + gpointer user_data); +gboolean gtk_clipboard_set_with_owner (GtkClipboard *clipboard, + const GtkTargetEntry *targets, + guint n_targets, + GtkClipboardGetFunc get_func, + GtkClipboardClearFunc clear_func, + GObject *owner); +GObject *gtk_clipboard_get_owner (GtkClipboard *clipboard); +void gtk_clipboard_clear (GtkClipboard *clipboard); +void gtk_clipboard_set_text (GtkClipboard *clipboard, + const gchar *text, + gint len); +void gtk_clipboard_set_image (GtkClipboard *clipboard, + GdkPixbuf *pixbuf); + +void gtk_clipboard_request_contents (GtkClipboard *clipboard, + GdkAtom target, + GtkClipboardReceivedFunc callback, + gpointer user_data); +void gtk_clipboard_request_text (GtkClipboard *clipboard, + GtkClipboardTextReceivedFunc callback, + gpointer user_data); +void gtk_clipboard_request_rich_text (GtkClipboard *clipboard, + GtkTextBuffer *buffer, + GtkClipboardRichTextReceivedFunc callback, + gpointer user_data); +void gtk_clipboard_request_image (GtkClipboard *clipboard, + GtkClipboardImageReceivedFunc callback, + gpointer user_data); +void gtk_clipboard_request_uris (GtkClipboard *clipboard, + GtkClipboardURIReceivedFunc callback, + gpointer user_data); +void gtk_clipboard_request_targets (GtkClipboard *clipboard, + GtkClipboardTargetsReceivedFunc callback, + gpointer user_data); + +GtkSelectionData *gtk_clipboard_wait_for_contents (GtkClipboard *clipboard, + GdkAtom target); +gchar * gtk_clipboard_wait_for_text (GtkClipboard *clipboard); +guint8 * gtk_clipboard_wait_for_rich_text (GtkClipboard *clipboard, + GtkTextBuffer *buffer, + GdkAtom *format, + gsize *length); +GdkPixbuf * gtk_clipboard_wait_for_image (GtkClipboard *clipboard); +gchar ** gtk_clipboard_wait_for_uris (GtkClipboard *clipboard); +gboolean gtk_clipboard_wait_for_targets (GtkClipboard *clipboard, + GdkAtom **targets, + gint *n_targets); + +gboolean gtk_clipboard_wait_is_text_available (GtkClipboard *clipboard); +gboolean gtk_clipboard_wait_is_rich_text_available (GtkClipboard *clipboard, + GtkTextBuffer *buffer); +gboolean gtk_clipboard_wait_is_image_available (GtkClipboard *clipboard); +gboolean gtk_clipboard_wait_is_uris_available (GtkClipboard *clipboard); +gboolean gtk_clipboard_wait_is_target_available (GtkClipboard *clipboard, + GdkAtom target); + + +void gtk_clipboard_set_can_store (GtkClipboard *clipboard, + const GtkTargetEntry *targets, + gint n_targets); + +void gtk_clipboard_store (GtkClipboard *clipboard); + +/* private */ +void _gtk_clipboard_handle_event (GdkEventOwnerChange *event); + +void _gtk_clipboard_store_all (void); + +G_END_DECLS + +#endif /* __GTK_CLIPBOARD_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorbutton.h new file mode 100644 index 0000000..3dd7f39 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorbutton.h @@ -0,0 +1,108 @@ +/* + * GTK - The GIMP Toolkit + * Copyright (C) 1998, 1999 Red Hat, Inc. + * All rights reserved. + * + * This Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +/* Color picker button for GNOME + * + * Author: Federico Mena + * + * Modified by the GTK+ Team and others 2003. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_COLOR_BUTTON_H__ +#define __GTK_COLOR_BUTTON_H__ + + +#include + +G_BEGIN_DECLS + + +#define GTK_TYPE_COLOR_BUTTON (gtk_color_button_get_type ()) +#define GTK_COLOR_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_BUTTON, GtkColorButton)) +#define GTK_COLOR_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COLOR_BUTTON, GtkColorButtonClass)) +#define GTK_IS_COLOR_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_BUTTON)) +#define GTK_IS_COLOR_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COLOR_BUTTON)) +#define GTK_COLOR_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_BUTTON, GtkColorButtonClass)) + +typedef struct _GtkColorButton GtkColorButton; +typedef struct _GtkColorButtonClass GtkColorButtonClass; +typedef struct _GtkColorButtonPrivate GtkColorButtonPrivate; + +struct _GtkColorButton { + GtkButton button; + + /*< private >*/ + GtkColorButtonPrivate *priv; +}; + +struct _GtkColorButtonClass { + GtkButtonClass parent_class; + + void (* color_set) (GtkColorButton *cp); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_color_button_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_color_button_new (void); +GtkWidget * gtk_color_button_new_with_rgba (const GdkRGBA *rgba); +void gtk_color_button_set_title (GtkColorButton *button, + const gchar *title); +const gchar *gtk_color_button_get_title (GtkColorButton *button); + +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_new_with_rgba) +GtkWidget *gtk_color_button_new_with_color (const GdkColor *color); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_set_rgba) +void gtk_color_button_set_color (GtkColorButton *button, + const GdkColor *color); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_get_rgba) +void gtk_color_button_get_color (GtkColorButton *button, + GdkColor *color); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_set_rgba) +void gtk_color_button_set_alpha (GtkColorButton *button, + guint16 alpha); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_get_rgba) +guint16 gtk_color_button_get_alpha (GtkColorButton *button); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_use_alpha) +void gtk_color_button_set_use_alpha (GtkColorButton *button, + gboolean use_alpha); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_use_alpha) +gboolean gtk_color_button_get_use_alpha (GtkColorButton *button); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba) +void gtk_color_button_set_rgba (GtkColorButton *button, + const GdkRGBA *rgba); +GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba) +void gtk_color_button_get_rgba (GtkColorButton *button, + GdkRGBA *rgba); + +G_END_DECLS + +#endif /* __GTK_COLOR_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooser.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooser.h new file mode 100644 index 0000000..6d3a891 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooser.h @@ -0,0 +1,87 @@ +/* GTK - The GIMP Toolkit + * + * Copyright (C) 2012 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_COLOR_CHOOSER_H__ +#define __GTK_COLOR_CHOOSER_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_COLOR_CHOOSER (gtk_color_chooser_get_type ()) +#define GTK_COLOR_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_CHOOSER, GtkColorChooser)) +#define GTK_IS_COLOR_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_CHOOSER)) +#define GTK_COLOR_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_COLOR_CHOOSER, GtkColorChooserInterface)) + +typedef struct _GtkColorChooser GtkColorChooser; +typedef struct _GtkColorChooserInterface GtkColorChooserInterface; + +struct _GtkColorChooserInterface +{ + GTypeInterface base_interface; + + /* Methods */ + void (* get_rgba) (GtkColorChooser *chooser, + GdkRGBA *color); + void (* set_rgba) (GtkColorChooser *chooser, + const GdkRGBA *color); + + void (* add_palette) (GtkColorChooser *chooser, + GtkOrientation orientation, + gint colors_per_line, + gint n_colors, + GdkRGBA *colors); + + /* Signals */ + void (* color_activated) (GtkColorChooser *chooser, + const GdkRGBA *color); + + /* Padding */ + gpointer padding[12]; +}; + +GDK_AVAILABLE_IN_3_4 +GType gtk_color_chooser_get_type (void) G_GNUC_CONST; + +GDK_AVAILABLE_IN_3_4 +void gtk_color_chooser_get_rgba (GtkColorChooser *chooser, + GdkRGBA *color); +GDK_AVAILABLE_IN_3_4 +void gtk_color_chooser_set_rgba (GtkColorChooser *chooser, + const GdkRGBA *color); +GDK_AVAILABLE_IN_3_4 +gboolean gtk_color_chooser_get_use_alpha (GtkColorChooser *chooser); + +GDK_AVAILABLE_IN_3_4 +void gtk_color_chooser_set_use_alpha (GtkColorChooser *chooser, + gboolean use_alpha); + +GDK_AVAILABLE_IN_3_4 +void gtk_color_chooser_add_palette (GtkColorChooser *chooser, + GtkOrientation orientation, + gint colors_per_line, + gint n_colors, + GdkRGBA *colors); + +G_END_DECLS + +#endif /* __GTK_COLOR_CHOOSER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooserdialog.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooserdialog.h new file mode 100644 index 0000000..9d65643 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooserdialog.h @@ -0,0 +1,68 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2012 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_COLOR_CHOOSER_DIALOG_H__ +#define __GTK_COLOR_CHOOSER_DIALOG_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_COLOR_CHOOSER_DIALOG (gtk_color_chooser_dialog_get_type ()) +#define GTK_COLOR_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_CHOOSER_DIALOG, GtkColorChooserDialog)) +#define GTK_COLOR_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COLOR_CHOOSER_DIALOG, GtkColorChooserDialogClass)) +#define GTK_IS_COLOR_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_CHOOSER_DIALOG)) +#define GTK_IS_COLOR_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COLOR_CHOOSER_DIALOG)) +#define GTK_COLOR_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_CHOOSER_DIALOG, GtkColorChooserDialogClass)) + +typedef struct _GtkColorChooserDialog GtkColorChooserDialog; +typedef struct _GtkColorChooserDialogPrivate GtkColorChooserDialogPrivate; +typedef struct _GtkColorChooserDialogClass GtkColorChooserDialogClass; + +struct _GtkColorChooserDialog +{ + GtkDialog parent_instance; + + /*< private >*/ + GtkColorChooserDialogPrivate *priv; +}; + +struct _GtkColorChooserDialogClass +{ + GtkDialogClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GDK_AVAILABLE_IN_3_4 +GType gtk_color_chooser_dialog_get_type (void) G_GNUC_CONST; + +GDK_AVAILABLE_IN_3_4 +GtkWidget * gtk_color_chooser_dialog_new (const gchar *title, + GtkWindow *parent); + +G_END_DECLS + +#endif /* __GTK_COLOR_CHOOSER_DIALOG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooserwidget.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooserwidget.h new file mode 100644 index 0000000..beecc78 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorchooserwidget.h @@ -0,0 +1,71 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2012 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_COLOR_CHOOSER_WIDGET_H__ +#define __GTK_COLOR_CHOOSER_WIDGET_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_COLOR_CHOOSER_WIDGET (gtk_color_chooser_widget_get_type ()) +#define GTK_COLOR_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_CHOOSER_WIDGET, GtkColorChooserWidget)) +#define GTK_COLOR_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COLOR_CHOOSER_WIDGET, GtkColorChooserWidgetClass)) +#define GTK_IS_COLOR_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_CHOOSER_WIDGET)) +#define GTK_IS_COLOR_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COLOR_CHOOSER_WIDGET)) +#define GTK_COLOR_CHOOSER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_CHOOSER_WIDGET, GtkColorChooserWidgetClass)) + +typedef struct _GtkColorChooserWidget GtkColorChooserWidget; +typedef struct _GtkColorChooserWidgetPrivate GtkColorChooserWidgetPrivate; +typedef struct _GtkColorChooserWidgetClass GtkColorChooserWidgetClass; + +struct _GtkColorChooserWidget +{ + GtkBox parent_instance; + + /*< private >*/ + GtkColorChooserWidgetPrivate *priv; +}; + +struct _GtkColorChooserWidgetClass +{ + GtkBoxClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +GDK_AVAILABLE_IN_3_4 +GType gtk_color_chooser_widget_get_type (void) G_GNUC_CONST; + +GDK_AVAILABLE_IN_3_4 +GtkWidget * gtk_color_chooser_widget_new (void); + +G_END_DECLS + +#endif /* __GTK_COLOR_CHOOSER_WIDGET_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorutils.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorutils.h new file mode 100644 index 0000000..8fdef92 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcolorutils.h @@ -0,0 +1,48 @@ +/* Color utilties + * + * Copyright (C) 1999 The Free Software Foundation + * + * Authors: Simon Budig (original code) + * Federico Mena-Quintero (cleanup for GTK+) + * Jonathan Blandford (cleanup for GTK+) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_COLOR_UTILS_H__ +#define __GTK_COLOR_UTILS_H__ + +#include + +G_BEGIN_DECLS + +void gtk_hsv_to_rgb (gdouble h, gdouble s, gdouble v, + gdouble *r, gdouble *g, gdouble *b); +void gtk_rgb_to_hsv (gdouble r, gdouble g, gdouble b, + gdouble *h, gdouble *s, gdouble *v); + +G_END_DECLS + +#endif /* __GTK_COLOR_UTILS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcombobox.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcombobox.h new file mode 100644 index 0000000..8378d2d --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcombobox.h @@ -0,0 +1,147 @@ +/* gtkcombobox.h + * Copyright (C) 2002, 2003 Kristian Rietveld + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_COMBO_BOX_H__ +#define __GTK_COMBO_BOX_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_COMBO_BOX (gtk_combo_box_get_type ()) +#define GTK_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMBO_BOX, GtkComboBox)) +#define GTK_COMBO_BOX_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_COMBO_BOX, GtkComboBoxClass)) +#define GTK_IS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMBO_BOX)) +#define GTK_IS_COMBO_BOX_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_COMBO_BOX)) +#define GTK_COMBO_BOX_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), GTK_TYPE_COMBO_BOX, GtkComboBoxClass)) + +typedef struct _GtkComboBox GtkComboBox; +typedef struct _GtkComboBoxClass GtkComboBoxClass; +typedef struct _GtkComboBoxPrivate GtkComboBoxPrivate; + +struct _GtkComboBox +{ + GtkBin parent_instance; + + /*< private >*/ + GtkComboBoxPrivate *priv; +}; + +struct _GtkComboBoxClass +{ + GtkBinClass parent_class; + + /* signals */ + void (* changed) (GtkComboBox *combo_box); + gchar *(* format_entry_text) (GtkComboBox *combo_box, + const gchar *path); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); +}; + + +/* construction */ +GType gtk_combo_box_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_combo_box_new (void); +GtkWidget *gtk_combo_box_new_with_area (GtkCellArea *area); +GtkWidget *gtk_combo_box_new_with_area_and_entry (GtkCellArea *area); +GtkWidget *gtk_combo_box_new_with_entry (void); +GtkWidget *gtk_combo_box_new_with_model (GtkTreeModel *model); +GtkWidget *gtk_combo_box_new_with_model_and_entry (GtkTreeModel *model); + +/* grids */ +gint gtk_combo_box_get_wrap_width (GtkComboBox *combo_box); +void gtk_combo_box_set_wrap_width (GtkComboBox *combo_box, + gint width); +gint gtk_combo_box_get_row_span_column (GtkComboBox *combo_box); +void gtk_combo_box_set_row_span_column (GtkComboBox *combo_box, + gint row_span); +gint gtk_combo_box_get_column_span_column (GtkComboBox *combo_box); +void gtk_combo_box_set_column_span_column (GtkComboBox *combo_box, + gint column_span); + +gboolean gtk_combo_box_get_add_tearoffs (GtkComboBox *combo_box); +void gtk_combo_box_set_add_tearoffs (GtkComboBox *combo_box, + gboolean add_tearoffs); + +const gchar * gtk_combo_box_get_title (GtkComboBox *combo_box); +void gtk_combo_box_set_title (GtkComboBox *combo_box, + const gchar *title); + +gboolean gtk_combo_box_get_focus_on_click (GtkComboBox *combo); +void gtk_combo_box_set_focus_on_click (GtkComboBox *combo, + gboolean focus_on_click); + +/* get/set active item */ +gint gtk_combo_box_get_active (GtkComboBox *combo_box); +void gtk_combo_box_set_active (GtkComboBox *combo_box, + gint index_); +gboolean gtk_combo_box_get_active_iter (GtkComboBox *combo_box, + GtkTreeIter *iter); +void gtk_combo_box_set_active_iter (GtkComboBox *combo_box, + GtkTreeIter *iter); + +/* getters and setters */ +void gtk_combo_box_set_model (GtkComboBox *combo_box, + GtkTreeModel *model); +GtkTreeModel *gtk_combo_box_get_model (GtkComboBox *combo_box); + +GtkTreeViewRowSeparatorFunc gtk_combo_box_get_row_separator_func (GtkComboBox *combo_box); +void gtk_combo_box_set_row_separator_func (GtkComboBox *combo_box, + GtkTreeViewRowSeparatorFunc func, + gpointer data, + GDestroyNotify destroy); + +void gtk_combo_box_set_button_sensitivity (GtkComboBox *combo_box, + GtkSensitivityType sensitivity); +GtkSensitivityType gtk_combo_box_get_button_sensitivity (GtkComboBox *combo_box); + +gboolean gtk_combo_box_get_has_entry (GtkComboBox *combo_box); +void gtk_combo_box_set_entry_text_column (GtkComboBox *combo_box, + gint text_column); +gint gtk_combo_box_get_entry_text_column (GtkComboBox *combo_box); + +void gtk_combo_box_set_popup_fixed_width (GtkComboBox *combo_box, + gboolean fixed); +gboolean gtk_combo_box_get_popup_fixed_width (GtkComboBox *combo_box); + +/* programmatic control */ +void gtk_combo_box_popup (GtkComboBox *combo_box); +void gtk_combo_box_popup_for_device (GtkComboBox *combo_box, + GdkDevice *device); +void gtk_combo_box_popdown (GtkComboBox *combo_box); +AtkObject* gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box); + +gint gtk_combo_box_get_id_column (GtkComboBox *combo_box); +void gtk_combo_box_set_id_column (GtkComboBox *combo_box, + gint id_column); +const gchar * gtk_combo_box_get_active_id (GtkComboBox *combo_box); +gboolean gtk_combo_box_set_active_id (GtkComboBox *combo_box, + const gchar *active_id); + +G_END_DECLS + +#endif /* __GTK_COMBO_BOX_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcomboboxtext.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcomboboxtext.h new file mode 100644 index 0000000..d1c362f --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcomboboxtext.h @@ -0,0 +1,88 @@ +/* GTK - The GIMP Toolkit + * + * Copyright (C) 2010 Christian Dywan + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_COMBO_BOX_TEXT_H__ +#define __GTK_COMBO_BOX_TEXT_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_COMBO_BOX_TEXT (gtk_combo_box_text_get_type ()) +#define GTK_COMBO_BOX_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMBO_BOX_TEXT, GtkComboBoxText)) +#define GTK_COMBO_BOX_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COMBO_BOX_TEXT, GtkComboBoxTextClass)) +#define GTK_IS_COMBO_BOX_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMBO_BOX_TEXT)) +#define GTK_IS_COMBO_BOX_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COMBO_BOX_TEXT)) +#define GTK_COMBO_BOX_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COMBO_BOX_TEXT, GtkComboBoxTextClass)) + +typedef struct _GtkComboBoxText GtkComboBoxText; +typedef struct _GtkComboBoxTextPrivate GtkComboBoxTextPrivate; +typedef struct _GtkComboBoxTextClass GtkComboBoxTextClass; + +struct _GtkComboBoxText +{ + /*< private >*/ + GtkComboBox parent_instance; + + GtkComboBoxTextPrivate *priv; +}; + +struct _GtkComboBoxTextClass +{ + GtkComboBoxClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_combo_box_text_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_combo_box_text_new (void); +GtkWidget* gtk_combo_box_text_new_with_entry (void); +void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box, + const gchar *text); +void gtk_combo_box_text_insert_text (GtkComboBoxText *combo_box, + gint position, + const gchar *text); +void gtk_combo_box_text_prepend_text (GtkComboBoxText *combo_box, + const gchar *text); +void gtk_combo_box_text_remove (GtkComboBoxText *combo_box, + gint position); +void gtk_combo_box_text_remove_all (GtkComboBoxText *combo_box); +gchar *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box); + +void gtk_combo_box_text_insert (GtkComboBoxText *combo_box, + gint position, + const gchar *id, + const gchar *text); +void gtk_combo_box_text_append (GtkComboBoxText *combo_box, + const gchar *id, + const gchar *text); +void gtk_combo_box_text_prepend (GtkComboBoxText *combo_box, + const gchar *id, + const gchar *text); + +G_END_DECLS + +#endif /* __GTK_COMBO_BOX_TEXT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcontainer.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcontainer.h new file mode 100644 index 0000000..2db2488 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcontainer.h @@ -0,0 +1,227 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_CONTAINER_H__ +#define __GTK_CONTAINER_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_CONTAINER (gtk_container_get_type ()) +#define GTK_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER, GtkContainer)) +#define GTK_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CONTAINER, GtkContainerClass)) +#define GTK_IS_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CONTAINER)) +#define GTK_IS_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CONTAINER)) +#define GTK_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CONTAINER, GtkContainerClass)) + + +typedef struct _GtkContainer GtkContainer; +typedef struct _GtkContainerPrivate GtkContainerPrivate; +typedef struct _GtkContainerClass GtkContainerClass; + +struct _GtkContainer +{ + GtkWidget widget; + + /*< private >*/ + GtkContainerPrivate *priv; +}; + +struct _GtkContainerClass +{ + GtkWidgetClass parent_class; + + void (*add) (GtkContainer *container, + GtkWidget *widget); + void (*remove) (GtkContainer *container, + GtkWidget *widget); + void (*check_resize) (GtkContainer *container); + void (*forall) (GtkContainer *container, + gboolean include_internals, + GtkCallback callback, + gpointer callback_data); + void (*set_focus_child) (GtkContainer *container, + GtkWidget *child); + GType (*child_type) (GtkContainer *container); + gchar* (*composite_name) (GtkContainer *container, + GtkWidget *child); + void (*set_child_property) (GtkContainer *container, + GtkWidget *child, + guint property_id, + const GValue *value, + GParamSpec *pspec); + void (*get_child_property) (GtkContainer *container, + GtkWidget *child, + guint property_id, + GValue *value, + GParamSpec *pspec); + GtkWidgetPath * (*get_path_for_child) (GtkContainer *container, + GtkWidget *child); + + + /*< private >*/ + + unsigned int _handle_border_width : 1; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + + +/* Application-level methods */ + +GType gtk_container_get_type (void) G_GNUC_CONST; +void gtk_container_set_border_width (GtkContainer *container, + guint border_width); +guint gtk_container_get_border_width (GtkContainer *container); +void gtk_container_add (GtkContainer *container, + GtkWidget *widget); +void gtk_container_remove (GtkContainer *container, + GtkWidget *widget); + +void gtk_container_set_resize_mode (GtkContainer *container, + GtkResizeMode resize_mode); +GtkResizeMode gtk_container_get_resize_mode (GtkContainer *container); + +void gtk_container_check_resize (GtkContainer *container); + +void gtk_container_foreach (GtkContainer *container, + GtkCallback callback, + gpointer callback_data); +GList* gtk_container_get_children (GtkContainer *container); + +void gtk_container_propagate_draw (GtkContainer *container, + GtkWidget *child, + cairo_t *cr); + +void gtk_container_set_focus_chain (GtkContainer *container, + GList *focusable_widgets); +gboolean gtk_container_get_focus_chain (GtkContainer *container, + GList **focusable_widgets); +void gtk_container_unset_focus_chain (GtkContainer *container); + +#define GTK_IS_RESIZE_CONTAINER(widget) (GTK_IS_CONTAINER (widget) && \ + (gtk_container_get_resize_mode (GTK_CONTAINER (widget)) != GTK_RESIZE_PARENT)) + +/* Widget-level methods */ + +void gtk_container_set_reallocate_redraws (GtkContainer *container, + gboolean needs_redraws); +void gtk_container_set_focus_child (GtkContainer *container, + GtkWidget *child); +GtkWidget * + gtk_container_get_focus_child (GtkContainer *container); +void gtk_container_set_focus_vadjustment (GtkContainer *container, + GtkAdjustment *adjustment); +GtkAdjustment *gtk_container_get_focus_vadjustment (GtkContainer *container); +void gtk_container_set_focus_hadjustment (GtkContainer *container, + GtkAdjustment *adjustment); +GtkAdjustment *gtk_container_get_focus_hadjustment (GtkContainer *container); + +void gtk_container_resize_children (GtkContainer *container); + +GType gtk_container_child_type (GtkContainer *container); + + +void gtk_container_class_install_child_property (GtkContainerClass *cclass, + guint property_id, + GParamSpec *pspec); +GParamSpec* gtk_container_class_find_child_property (GObjectClass *cclass, + const gchar *property_name); +GParamSpec** gtk_container_class_list_child_properties (GObjectClass *cclass, + guint *n_properties); +void gtk_container_add_with_properties (GtkContainer *container, + GtkWidget *widget, + const gchar *first_prop_name, + ...) G_GNUC_NULL_TERMINATED; +void gtk_container_child_set (GtkContainer *container, + GtkWidget *child, + const gchar *first_prop_name, + ...) G_GNUC_NULL_TERMINATED; +void gtk_container_child_get (GtkContainer *container, + GtkWidget *child, + const gchar *first_prop_name, + ...) G_GNUC_NULL_TERMINATED; +void gtk_container_child_set_valist (GtkContainer *container, + GtkWidget *child, + const gchar *first_property_name, + va_list var_args); +void gtk_container_child_get_valist (GtkContainer *container, + GtkWidget *child, + const gchar *first_property_name, + va_list var_args); +void gtk_container_child_set_property (GtkContainer *container, + GtkWidget *child, + const gchar *property_name, + const GValue *value); +void gtk_container_child_get_property (GtkContainer *container, + GtkWidget *child, + const gchar *property_name, + GValue *value); + +GDK_AVAILABLE_IN_3_2 +void gtk_container_child_notify (GtkContainer *container, + GtkWidget *child, + const gchar *child_property); + +/** + * GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID: + * @object: the #GObject on which set_child_property() or get_child_property() + * was called + * @property_id: the numeric id of the property + * @pspec: the #GParamSpec of the property + * + * This macro should be used to emit a standard warning about unexpected + * properties in set_child_property() and get_child_property() implementations. + */ +#define GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID(object, property_id, pspec) \ + G_OBJECT_WARN_INVALID_PSPEC ((object), "child property id", (property_id), (pspec)) + + +void gtk_container_forall (GtkContainer *container, + GtkCallback callback, + gpointer callback_data); + +void gtk_container_class_handle_border_width (GtkContainerClass *klass); + +GtkWidgetPath * gtk_container_get_path_for_child (GtkContainer *container, + GtkWidget *child); + +G_END_DECLS + +#endif /* __GTK_CONTAINER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcssprovider.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcssprovider.h new file mode 100644 index 0000000..db0222b --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcssprovider.h @@ -0,0 +1,96 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Carlos Garnacho + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#ifndef __GTK_CSS_PROVIDER_H__ +#define __GTK_CSS_PROVIDER_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CSS_PROVIDER (gtk_css_provider_get_type ()) +#define GTK_CSS_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_CSS_PROVIDER, GtkCssProvider)) +#define GTK_CSS_PROVIDER_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_CSS_PROVIDER, GtkCssProviderClass)) +#define GTK_IS_CSS_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_CSS_PROVIDER)) +#define GTK_IS_CSS_PROVIDER_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_CSS_PROVIDER)) +#define GTK_CSS_PROVIDER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_CSS_PROVIDER, GtkCssProviderClass)) + +#define GTK_CSS_PROVIDER_ERROR (gtk_css_provider_error_quark ()) + +typedef enum +{ + GTK_CSS_PROVIDER_ERROR_FAILED, + GTK_CSS_PROVIDER_ERROR_SYNTAX, + GTK_CSS_PROVIDER_ERROR_IMPORT, + GTK_CSS_PROVIDER_ERROR_NAME, + GTK_CSS_PROVIDER_ERROR_DEPRECATED, + GTK_CSS_PROVIDER_ERROR_UNKNOWN_VALUE +} GtkCssProviderError; + +GQuark gtk_css_provider_error_quark (void); + +typedef struct _GtkCssProvider GtkCssProvider; +typedef struct _GtkCssProviderClass GtkCssProviderClass; +typedef struct _GtkCssProviderPrivate GtkCssProviderPrivate; + +struct _GtkCssProvider +{ + GObject parent_instance; + GtkCssProviderPrivate *priv; +}; + +struct _GtkCssProviderClass +{ + GObjectClass parent_class; + + void (* parsing_error) (GtkCssProvider *provider, + GtkCssSection *section, + const GError * error); + + /* Padding for future expansion */ + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_css_provider_get_type (void) G_GNUC_CONST; + +GtkCssProvider * gtk_css_provider_new (void); + +GDK_AVAILABLE_IN_3_2 +char * gtk_css_provider_to_string (GtkCssProvider *provider); + +gboolean gtk_css_provider_load_from_data (GtkCssProvider *css_provider, + const gchar *data, + gssize length, + GError **error); +gboolean gtk_css_provider_load_from_file (GtkCssProvider *css_provider, + GFile *file, + GError **error); +gboolean gtk_css_provider_load_from_path (GtkCssProvider *css_provider, + const gchar *path, + GError **error); + +GtkCssProvider * gtk_css_provider_get_default (void); + +GtkCssProvider * gtk_css_provider_get_named (const gchar *name, + const gchar *variant); + +G_END_DECLS + +#endif /* __GTK_CSS_PROVIDER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkcsssection.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkcsssection.h new file mode 100644 index 0000000..7901a43 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkcsssection.h @@ -0,0 +1,93 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2011 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#ifndef __GTK_CSS_SECTION_H__ +#define __GTK_CSS_SECTION_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_CSS_SECTION (gtk_css_section_get_type ()) + +/** + * GtkCssSectionType: + * @GTK_CSS_SECTION_DOCUMENT: The section describes a complete document. + * This section time is the only one where gtk_css_section_get_parent() + * might return %NULL. + * @GTK_CSS_SECTION_IMPORT: The section defines an import rule. + * @GTK_CSS_SECTION_COLOR_DEFINITION: The section defines a color. This + * is a GTK extension to CSS. + * @GTK_CSS_SECTION_BINDING_SET: The section defines a binding set. This + * is a GTK extension to CSS. + * @GTK_CSS_SECTION_RULESET: The section defines a CSS ruleset. + * @GTK_CSS_SECTION_SELECTOR: The section defines a CSS selector. + * @GTK_CSS_SECTION_DECLARATION: The section defines the declaration of + * a CSS variable. + * @GTK_CSS_SECTION_VALUE: The section defines the value of a CSS declaration. + * + * The different types of sections indicate parts of a CSS document as + * parsed by GTK's CSS parser. They are oriented towards the CSS grammar + * CSS grammer, + * but may contain extensions. + * + * More types might be added in the future as the parser incorporates + * more features. + * + * Since: 3.2 + */ +typedef enum +{ + GTK_CSS_SECTION_DOCUMENT, + GTK_CSS_SECTION_IMPORT, + GTK_CSS_SECTION_COLOR_DEFINITION, + GTK_CSS_SECTION_BINDING_SET, + GTK_CSS_SECTION_RULESET, + GTK_CSS_SECTION_SELECTOR, + GTK_CSS_SECTION_DECLARATION, + GTK_CSS_SECTION_VALUE +} GtkCssSectionType; + +typedef struct _GtkCssSection GtkCssSection; + +GDK_AVAILABLE_IN_3_2 +GType gtk_css_section_get_type (void) G_GNUC_CONST; + +GDK_AVAILABLE_IN_3_2 +GtkCssSection * gtk_css_section_ref (GtkCssSection *section); +GDK_AVAILABLE_IN_3_2 +void gtk_css_section_unref (GtkCssSection *section); + +GDK_AVAILABLE_IN_3_2 +GtkCssSectionType gtk_css_section_get_section_type (const GtkCssSection *section); +GDK_AVAILABLE_IN_3_2 +GtkCssSection * gtk_css_section_get_parent (const GtkCssSection *section); +GDK_AVAILABLE_IN_3_2 +GFile * gtk_css_section_get_file (const GtkCssSection *section); +GDK_AVAILABLE_IN_3_2 +guint gtk_css_section_get_start_line (const GtkCssSection *section); +GDK_AVAILABLE_IN_3_2 +guint gtk_css_section_get_start_position (const GtkCssSection *section); +GDK_AVAILABLE_IN_3_2 +guint gtk_css_section_get_end_line (const GtkCssSection *section); +GDK_AVAILABLE_IN_3_2 +guint gtk_css_section_get_end_position (const GtkCssSection *section); + +G_END_DECLS + +#endif /* __GTK_CSS_SECTION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkdebug.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkdebug.h new file mode 100644 index 0000000..1eed41a --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkdebug.h @@ -0,0 +1,70 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_DEBUG_H__ +#define __GTK_DEBUG_H__ + +#include + +G_BEGIN_DECLS + +typedef enum { + GTK_DEBUG_MISC = 1 << 0, + GTK_DEBUG_PLUGSOCKET = 1 << 1, + GTK_DEBUG_TEXT = 1 << 2, + GTK_DEBUG_TREE = 1 << 3, + GTK_DEBUG_UPDATES = 1 << 4, + GTK_DEBUG_KEYBINDINGS = 1 << 5, + GTK_DEBUG_MULTIHEAD = 1 << 6, + GTK_DEBUG_MODULES = 1 << 7, + GTK_DEBUG_GEOMETRY = 1 << 8, + GTK_DEBUG_ICONTHEME = 1 << 9, + GTK_DEBUG_PRINTING = 1 << 10, + GTK_DEBUG_BUILDER = 1 << 11, + GTK_DEBUG_SIZE_REQUEST = 1 << 12, + GTK_DEBUG_NO_CSS_CACHE = 1 << 13 +} GtkDebugFlag; + +#ifdef G_ENABLE_DEBUG + +#define GTK_NOTE(type,action) G_STMT_START { \ + if (gtk_get_debug_flags () & GTK_DEBUG_##type) \ + { action; }; } G_STMT_END + +#else /* !G_ENABLE_DEBUG */ + +#define GTK_NOTE(type, action) + +#endif /* G_ENABLE_DEBUG */ + +guint gtk_get_debug_flags (void); +void gtk_set_debug_flags (guint flags); + +G_END_DECLS + +#endif /* __GTK_DEBUG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkdialog.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkdialog.h new file mode 100644 index 0000000..d73aef7 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkdialog.h @@ -0,0 +1,181 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_DIALOG_H__ +#define __GTK_DIALOG_H__ + + +#include + + +G_BEGIN_DECLS + +/** + * GtkDialogFlags: + * @GTK_DIALOG_MODAL: Make the constructed dialog modal, + * see gtk_window_set_modal() + * @GTK_DIALOG_DESTROY_WITH_PARENT: Destroy the dialog when its + * parent is destroyed, see gtk_window_set_destroy_with_parent() + * + * Flags used to influence dialog construction. + */ +typedef enum +{ + GTK_DIALOG_MODAL = 1 << 0, + GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1 +} GtkDialogFlags; + +/** + * GtkResponseType: + * @GTK_RESPONSE_NONE: Returned if an action widget has no response id, + * or if the dialog gets programmatically hidden or destroyed + * @GTK_RESPONSE_REJECT: Generic response id, not used by GTK+ dialogs + * @GTK_RESPONSE_ACCEPT: Generic response id, not used by GTK+ dialogs + * @GTK_RESPONSE_DELETE_EVENT: Returned if the dialog is deleted + * @GTK_RESPONSE_OK: Returned by OK buttons in GTK+ dialogs + * @GTK_RESPONSE_CANCEL: Returned by Cancel buttons in GTK+ dialogs + * @GTK_RESPONSE_CLOSE: Returned by Close buttons in GTK+ dialogs + * @GTK_RESPONSE_YES: Returned by Yes buttons in GTK+ dialogs + * @GTK_RESPONSE_NO: Returned by No buttons in GTK+ dialogs + * @GTK_RESPONSE_APPLY: Returned by Apply buttons in GTK+ dialogs + * @GTK_RESPONSE_HELP: Returned by Help buttons in GTK+ dialogs + * + * Predefined values for use as response ids in gtk_dialog_add_button(). + * All predefined values are negative, GTK+ leaves positive values for + * application-defined response ids. + */ +typedef enum +{ + GTK_RESPONSE_NONE = -1, + GTK_RESPONSE_REJECT = -2, + GTK_RESPONSE_ACCEPT = -3, + GTK_RESPONSE_DELETE_EVENT = -4, + GTK_RESPONSE_OK = -5, + GTK_RESPONSE_CANCEL = -6, + GTK_RESPONSE_CLOSE = -7, + GTK_RESPONSE_YES = -8, + GTK_RESPONSE_NO = -9, + GTK_RESPONSE_APPLY = -10, + GTK_RESPONSE_HELP = -11 +} GtkResponseType; + + +#define GTK_TYPE_DIALOG (gtk_dialog_get_type ()) +#define GTK_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_DIALOG, GtkDialog)) +#define GTK_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_DIALOG, GtkDialogClass)) +#define GTK_IS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_DIALOG)) +#define GTK_IS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DIALOG)) +#define GTK_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_DIALOG, GtkDialogClass)) + + +typedef struct _GtkDialog GtkDialog; +typedef struct _GtkDialogPrivate GtkDialogPrivate; +typedef struct _GtkDialogClass GtkDialogClass; + +/** + * GtkDialog: + * + * The GtkDialog struct contains only private fields + * and should not be directly accessed. + */ +struct _GtkDialog +{ + GtkWindow window; + + /*< private >*/ + GtkDialogPrivate *priv; +}; + +struct _GtkDialogClass +{ + GtkWindowClass parent_class; + + void (* response) (GtkDialog *dialog, gint response_id); + + /* Keybinding signals */ + + void (* close) (GtkDialog *dialog); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_dialog_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_dialog_new (void); + +GtkWidget* gtk_dialog_new_with_buttons (const gchar *title, + GtkWindow *parent, + GtkDialogFlags flags, + const gchar *first_button_text, + ...) G_GNUC_NULL_TERMINATED; + +void gtk_dialog_add_action_widget (GtkDialog *dialog, + GtkWidget *child, + gint response_id); +GtkWidget* gtk_dialog_add_button (GtkDialog *dialog, + const gchar *button_text, + gint response_id); +void gtk_dialog_add_buttons (GtkDialog *dialog, + const gchar *first_button_text, + ...) G_GNUC_NULL_TERMINATED; + +void gtk_dialog_set_response_sensitive (GtkDialog *dialog, + gint response_id, + gboolean setting); +void gtk_dialog_set_default_response (GtkDialog *dialog, + gint response_id); +GtkWidget* gtk_dialog_get_widget_for_response (GtkDialog *dialog, + gint response_id); +gint gtk_dialog_get_response_for_widget (GtkDialog *dialog, + GtkWidget *widget); + +gboolean gtk_alternative_dialog_button_order (GdkScreen *screen); +void gtk_dialog_set_alternative_button_order (GtkDialog *dialog, + gint first_response_id, + ...); +void gtk_dialog_set_alternative_button_order_from_array (GtkDialog *dialog, + gint n_params, + gint *new_order); + +/* Emit response signal */ +void gtk_dialog_response (GtkDialog *dialog, + gint response_id); + +/* Returns response_id */ +gint gtk_dialog_run (GtkDialog *dialog); + +GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog); +GtkWidget * gtk_dialog_get_content_area (GtkDialog *dialog); + +G_END_DECLS + +#endif /* __GTK_DIALOG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkdnd.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkdnd.h new file mode 100644 index 0000000..4eaa056 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkdnd.h @@ -0,0 +1,212 @@ +/* -*- Mode: C; c-file-style: "gnu"; tab-width: 8 -*- */ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_DND_H__ +#define __GTK_DND_H__ + + +#include +#include + + +G_BEGIN_DECLS + +/** + * GtkDestDefaults: + * @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 gdk_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 widget drag format + * and action are acceptable. + * @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_get_data() on behalf of the widget. + * Whether or not the drop is successful, GTK+ will call gtk_drag_finish(). If + * the action was a move, then if the drag was successful, 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. + * + * The #GtkDestDefaults enumeration specifies the various + * types of action that will be taken on behalf + * of the user for a drag destination site. + */ +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: + * @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_OTHER_APP: If this is set, the target will not be selected + * for drags within a single application. + * @GTK_TARGET_OTHER_WIDGET: If this is set, the target will not be selected + * for drags withing a single widget. + * + * The #GtkTargetFlags enumeration is used to specify + * constraints on an entry in a #GtkTargetTable. + */ +typedef enum { + GTK_TARGET_SAME_APP = 1 << 0, /*< nick=same-app >*/ + GTK_TARGET_SAME_WIDGET = 1 << 1, /*< nick=same-widget >*/ + GTK_TARGET_OTHER_APP = 1 << 2, /*< nick=other-app >*/ + GTK_TARGET_OTHER_WIDGET = 1 << 3 /*< nick=other-widget >*/ +} GtkTargetFlags; + +/* Destination side */ + +void gtk_drag_get_data (GtkWidget *widget, + GdkDragContext *context, + GdkAtom target, + guint32 time_); +void gtk_drag_finish (GdkDragContext *context, + gboolean success, + gboolean del, + guint32 time_); + +GtkWidget *gtk_drag_get_source_widget (GdkDragContext *context); + +void gtk_drag_highlight (GtkWidget *widget); +void gtk_drag_unhighlight (GtkWidget *widget); + +void gtk_drag_dest_set (GtkWidget *widget, + GtkDestDefaults flags, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions); + +void gtk_drag_dest_set_proxy (GtkWidget *widget, + GdkWindow *proxy_window, + GdkDragProtocol protocol, + gboolean use_coordinates); + +void gtk_drag_dest_unset (GtkWidget *widget); + +GdkAtom gtk_drag_dest_find_target (GtkWidget *widget, + GdkDragContext *context, + GtkTargetList *target_list); +GtkTargetList* gtk_drag_dest_get_target_list (GtkWidget *widget); +void gtk_drag_dest_set_target_list (GtkWidget *widget, + GtkTargetList *target_list); +void gtk_drag_dest_add_text_targets (GtkWidget *widget); +void gtk_drag_dest_add_image_targets (GtkWidget *widget); +void gtk_drag_dest_add_uri_targets (GtkWidget *widget); + +void gtk_drag_dest_set_track_motion (GtkWidget *widget, + gboolean track_motion); +gboolean gtk_drag_dest_get_track_motion (GtkWidget *widget); + +/* Source side */ + +void gtk_drag_source_set (GtkWidget *widget, + GdkModifierType start_button_mask, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions); + +void gtk_drag_source_unset (GtkWidget *widget); + +GtkTargetList* gtk_drag_source_get_target_list (GtkWidget *widget); +void gtk_drag_source_set_target_list (GtkWidget *widget, + GtkTargetList *target_list); +void gtk_drag_source_add_text_targets (GtkWidget *widget); +void gtk_drag_source_add_image_targets (GtkWidget *widget); +void gtk_drag_source_add_uri_targets (GtkWidget *widget); + +void gtk_drag_source_set_icon_pixbuf (GtkWidget *widget, + GdkPixbuf *pixbuf); +void gtk_drag_source_set_icon_stock (GtkWidget *widget, + const gchar *stock_id); +void gtk_drag_source_set_icon_name (GtkWidget *widget, + const gchar *icon_name); +GDK_AVAILABLE_IN_3_2 +void gtk_drag_source_set_icon_gicon (GtkWidget *widget, + GIcon *icon); + +/* There probably should be functions for setting the targets + * as a GtkTargetList + */ + +GdkDragContext *gtk_drag_begin (GtkWidget *widget, + GtkTargetList *targets, + GdkDragAction actions, + gint button, + GdkEvent *event); + +/* Set the image being dragged around + */ +void gtk_drag_set_icon_widget (GdkDragContext *context, + GtkWidget *widget, + gint hot_x, + gint hot_y); +void gtk_drag_set_icon_pixbuf (GdkDragContext *context, + GdkPixbuf *pixbuf, + gint hot_x, + gint hot_y); +void gtk_drag_set_icon_stock (GdkDragContext *context, + const gchar *stock_id, + gint hot_x, + gint hot_y); +void gtk_drag_set_icon_surface(GdkDragContext *context, + cairo_surface_t *surface); +void gtk_drag_set_icon_name (GdkDragContext *context, + const gchar *icon_name, + gint hot_x, + gint hot_y); +GDK_AVAILABLE_IN_3_2 +void gtk_drag_set_icon_gicon (GdkDragContext *context, + GIcon *icon, + gint hot_x, + gint hot_y); + +void gtk_drag_set_icon_default (GdkDragContext *context); + +gboolean gtk_drag_check_threshold (GtkWidget *widget, + gint start_x, + gint start_y, + gint current_x, + gint current_y); + +/* Internal functions */ +void _gtk_drag_source_handle_event (GtkWidget *widget, + GdkEvent *event); +void _gtk_drag_dest_handle_event (GtkWidget *toplevel, + GdkEvent *event); + +G_END_DECLS + +#endif /* __GTK_DND_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkdrawingarea.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkdrawingarea.h new file mode 100644 index 0000000..1029b24 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkdrawingarea.h @@ -0,0 +1,74 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_DRAWING_AREA_H__ +#define __GTK_DRAWING_AREA_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_DRAWING_AREA (gtk_drawing_area_get_type ()) +#define GTK_DRAWING_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_DRAWING_AREA, GtkDrawingArea)) +#define GTK_DRAWING_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_DRAWING_AREA, GtkDrawingAreaClass)) +#define GTK_IS_DRAWING_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_DRAWING_AREA)) +#define GTK_IS_DRAWING_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DRAWING_AREA)) +#define GTK_DRAWING_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_DRAWING_AREA, GtkDrawingAreaClass)) + + +typedef struct _GtkDrawingArea GtkDrawingArea; +typedef struct _GtkDrawingAreaClass GtkDrawingAreaClass; + +struct _GtkDrawingArea +{ + GtkWidget widget; + + /*< private >*/ + gpointer dummy; +}; + +struct _GtkDrawingAreaClass +{ + GtkWidgetClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_drawing_area_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_drawing_area_new (void); + +G_END_DECLS + +#endif /* __GTK_DRAWING_AREA_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkeditable.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkeditable.h new file mode 100644 index 0000000..15758db --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkeditable.h @@ -0,0 +1,113 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_EDITABLE_H__ +#define __GTK_EDITABLE_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_EDITABLE (gtk_editable_get_type ()) +#define GTK_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EDITABLE, GtkEditable)) +#define GTK_IS_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EDITABLE)) +#define GTK_EDITABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_EDITABLE, GtkEditableInterface)) + +typedef struct _GtkEditable GtkEditable; /* Dummy typedef */ +typedef struct _GtkEditableInterface GtkEditableInterface; + +struct _GtkEditableInterface +{ + GTypeInterface base_iface; + + /* signals */ + void (* insert_text) (GtkEditable *editable, + const gchar *new_text, + gint new_text_length, + gint *position); + void (* delete_text) (GtkEditable *editable, + gint start_pos, + gint end_pos); + void (* changed) (GtkEditable *editable); + + /* vtable */ + void (* do_insert_text) (GtkEditable *editable, + const gchar *new_text, + gint new_text_length, + gint *position); + void (* do_delete_text) (GtkEditable *editable, + gint start_pos, + gint end_pos); + + gchar* (* get_chars) (GtkEditable *editable, + gint start_pos, + gint end_pos); + void (* set_selection_bounds) (GtkEditable *editable, + gint start_pos, + gint end_pos); + gboolean (* get_selection_bounds) (GtkEditable *editable, + gint *start_pos, + gint *end_pos); + void (* set_position) (GtkEditable *editable, + gint position); + gint (* get_position) (GtkEditable *editable); +}; + +GType gtk_editable_get_type (void) G_GNUC_CONST; +void gtk_editable_select_region (GtkEditable *editable, + gint start_pos, + gint end_pos); +gboolean gtk_editable_get_selection_bounds (GtkEditable *editable, + gint *start_pos, + gint *end_pos); +void gtk_editable_insert_text (GtkEditable *editable, + const gchar *new_text, + gint new_text_length, + gint *position); +void gtk_editable_delete_text (GtkEditable *editable, + gint start_pos, + gint end_pos); +gchar* gtk_editable_get_chars (GtkEditable *editable, + gint start_pos, + gint end_pos); +void gtk_editable_cut_clipboard (GtkEditable *editable); +void gtk_editable_copy_clipboard (GtkEditable *editable); +void gtk_editable_paste_clipboard (GtkEditable *editable); +void gtk_editable_delete_selection (GtkEditable *editable); +void gtk_editable_set_position (GtkEditable *editable, + gint position); +gint gtk_editable_get_position (GtkEditable *editable); +void gtk_editable_set_editable (GtkEditable *editable, + gboolean is_editable); +gboolean gtk_editable_get_editable (GtkEditable *editable); + +G_END_DECLS + +#endif /* __GTK_EDITABLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkentry.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkentry.h new file mode 100644 index 0000000..1d44ae9 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkentry.h @@ -0,0 +1,283 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * Copyright (C) 2004-2006 Christian Hammond + * Copyright (C) 2008 Cody Russell + * Copyright (C) 2008 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ENTRY_H__ +#define __GTK_ENTRY_H__ + + +#include +#include +#include +#include +#include +#include +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_ENTRY (gtk_entry_get_type ()) +#define GTK_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY, GtkEntry)) +#define GTK_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY, GtkEntryClass)) +#define GTK_IS_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY)) +#define GTK_IS_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY)) +#define GTK_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY, GtkEntryClass)) + +/** + * GtkEntryIconPosition: + * @GTK_ENTRY_ICON_PRIMARY: At the beginning of the entry (depending on the text direction). + * @GTK_ENTRY_ICON_SECONDARY: At the end of the entry (depending on the text direction). + * + * Specifies the side of the entry at which an icon is placed. + * + * Since: 2.16 + */ +typedef enum +{ + GTK_ENTRY_ICON_PRIMARY, + GTK_ENTRY_ICON_SECONDARY +} GtkEntryIconPosition; + +typedef struct _GtkEntry GtkEntry; +typedef struct _GtkEntryPrivate GtkEntryPrivate; +typedef struct _GtkEntryClass GtkEntryClass; + +struct _GtkEntry +{ + /*< private >*/ + GtkWidget parent_instance; + + GtkEntryPrivate *priv; +}; + +struct _GtkEntryClass +{ + GtkWidgetClass parent_class; + + /* Hook to customize right-click popup */ + void (* populate_popup) (GtkEntry *entry, + GtkMenu *menu); + + /* Action signals + */ + void (* activate) (GtkEntry *entry); + void (* move_cursor) (GtkEntry *entry, + GtkMovementStep step, + gint count, + gboolean extend_selection); + void (* insert_at_cursor) (GtkEntry *entry, + const gchar *str); + void (* delete_from_cursor) (GtkEntry *entry, + GtkDeleteType type, + gint count); + void (* backspace) (GtkEntry *entry); + void (* cut_clipboard) (GtkEntry *entry); + void (* copy_clipboard) (GtkEntry *entry); + void (* paste_clipboard) (GtkEntry *entry); + void (* toggle_overwrite) (GtkEntry *entry); + + /* hook to add other objects beside the entry (like in GtkSpinButton) */ + void (* get_text_area_size) (GtkEntry *entry, + gint *x, + gint *y, + gint *width, + gint *height); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +GType gtk_entry_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_entry_new (void); +GtkWidget* gtk_entry_new_with_buffer (GtkEntryBuffer *buffer); + +GtkEntryBuffer* gtk_entry_get_buffer (GtkEntry *entry); +void gtk_entry_set_buffer (GtkEntry *entry, + GtkEntryBuffer *buffer); + +void gtk_entry_get_text_area (GtkEntry *entry, + GdkRectangle *text_area); + +void gtk_entry_set_visibility (GtkEntry *entry, + gboolean visible); +gboolean gtk_entry_get_visibility (GtkEntry *entry); + +void gtk_entry_set_invisible_char (GtkEntry *entry, + gunichar ch); +gunichar gtk_entry_get_invisible_char (GtkEntry *entry); +void gtk_entry_unset_invisible_char (GtkEntry *entry); + +void gtk_entry_set_has_frame (GtkEntry *entry, + gboolean setting); +gboolean gtk_entry_get_has_frame (GtkEntry *entry); + +GDK_DEPRECATED_IN_3_4 +void gtk_entry_set_inner_border (GtkEntry *entry, + const GtkBorder *border); +GDK_DEPRECATED_IN_3_4 +const GtkBorder* gtk_entry_get_inner_border (GtkEntry *entry); + +void gtk_entry_set_overwrite_mode (GtkEntry *entry, + gboolean overwrite); +gboolean gtk_entry_get_overwrite_mode (GtkEntry *entry); + +/* text is truncated if needed */ +void gtk_entry_set_max_length (GtkEntry *entry, + gint max); +gint gtk_entry_get_max_length (GtkEntry *entry); +guint16 gtk_entry_get_text_length (GtkEntry *entry); + +void gtk_entry_set_activates_default (GtkEntry *entry, + gboolean setting); +gboolean gtk_entry_get_activates_default (GtkEntry *entry); + +void gtk_entry_set_width_chars (GtkEntry *entry, + gint n_chars); +gint gtk_entry_get_width_chars (GtkEntry *entry); + +/* Somewhat more convenient than the GtkEditable generic functions + */ +void gtk_entry_set_text (GtkEntry *entry, + const gchar *text); +/* returns a reference to the text */ +const gchar* gtk_entry_get_text (GtkEntry *entry); + +PangoLayout* gtk_entry_get_layout (GtkEntry *entry); +void gtk_entry_get_layout_offsets (GtkEntry *entry, + gint *x, + gint *y); +void gtk_entry_set_alignment (GtkEntry *entry, + gfloat xalign); +gfloat gtk_entry_get_alignment (GtkEntry *entry); + +void gtk_entry_set_completion (GtkEntry *entry, + GtkEntryCompletion *completion); +GtkEntryCompletion *gtk_entry_get_completion (GtkEntry *entry); + +gint gtk_entry_layout_index_to_text_index (GtkEntry *entry, + gint layout_index); +gint gtk_entry_text_index_to_layout_index (GtkEntry *entry, + gint text_index); + +/* For scrolling cursor appropriately + */ +void gtk_entry_set_cursor_hadjustment (GtkEntry *entry, + GtkAdjustment *adjustment); +GtkAdjustment* gtk_entry_get_cursor_hadjustment (GtkEntry *entry); + +/* Progress API + */ +void gtk_entry_set_progress_fraction (GtkEntry *entry, + gdouble fraction); +gdouble gtk_entry_get_progress_fraction (GtkEntry *entry); + +void gtk_entry_set_progress_pulse_step (GtkEntry *entry, + gdouble fraction); +gdouble gtk_entry_get_progress_pulse_step (GtkEntry *entry); + +void gtk_entry_progress_pulse (GtkEntry *entry); +GDK_AVAILABLE_IN_3_2 +const gchar* gtk_entry_get_placeholder_text (GtkEntry *entry); +GDK_AVAILABLE_IN_3_2 +void gtk_entry_set_placeholder_text (GtkEntry *entry, + const gchar *text); +/* Setting and managing icons + */ +void gtk_entry_set_icon_from_pixbuf (GtkEntry *entry, + GtkEntryIconPosition icon_pos, + GdkPixbuf *pixbuf); +void gtk_entry_set_icon_from_stock (GtkEntry *entry, + GtkEntryIconPosition icon_pos, + const gchar *stock_id); +void gtk_entry_set_icon_from_icon_name (GtkEntry *entry, + GtkEntryIconPosition icon_pos, + const gchar *icon_name); +void gtk_entry_set_icon_from_gicon (GtkEntry *entry, + GtkEntryIconPosition icon_pos, + GIcon *icon); +GtkImageType gtk_entry_get_icon_storage_type (GtkEntry *entry, + GtkEntryIconPosition icon_pos); +GdkPixbuf* gtk_entry_get_icon_pixbuf (GtkEntry *entry, + GtkEntryIconPosition icon_pos); +const gchar* gtk_entry_get_icon_stock (GtkEntry *entry, + GtkEntryIconPosition icon_pos); +const gchar* gtk_entry_get_icon_name (GtkEntry *entry, + GtkEntryIconPosition icon_pos); +GIcon* gtk_entry_get_icon_gicon (GtkEntry *entry, + GtkEntryIconPosition icon_pos); +void gtk_entry_set_icon_activatable (GtkEntry *entry, + GtkEntryIconPosition icon_pos, + gboolean activatable); +gboolean gtk_entry_get_icon_activatable (GtkEntry *entry, + GtkEntryIconPosition icon_pos); +void gtk_entry_set_icon_sensitive (GtkEntry *entry, + GtkEntryIconPosition icon_pos, + gboolean sensitive); +gboolean gtk_entry_get_icon_sensitive (GtkEntry *entry, + GtkEntryIconPosition icon_pos); +gint gtk_entry_get_icon_at_pos (GtkEntry *entry, + gint x, + gint y); +void gtk_entry_set_icon_tooltip_text (GtkEntry *entry, + GtkEntryIconPosition icon_pos, + const gchar *tooltip); +gchar * gtk_entry_get_icon_tooltip_text (GtkEntry *entry, + GtkEntryIconPosition icon_pos); +void gtk_entry_set_icon_tooltip_markup (GtkEntry *entry, + GtkEntryIconPosition icon_pos, + const gchar *tooltip); +gchar * gtk_entry_get_icon_tooltip_markup (GtkEntry *entry, + GtkEntryIconPosition icon_pos); +void gtk_entry_set_icon_drag_source (GtkEntry *entry, + GtkEntryIconPosition icon_pos, + GtkTargetList *target_list, + GdkDragAction actions); +gint gtk_entry_get_current_icon_drag_source (GtkEntry *entry); +void gtk_entry_get_icon_area (GtkEntry *entry, + GtkEntryIconPosition icon_pos, + GdkRectangle *icon_area); + +gboolean gtk_entry_im_context_filter_keypress (GtkEntry *entry, + GdkEventKey *event); +void gtk_entry_reset_im_context (GtkEntry *entry); + + +G_END_DECLS + +#endif /* __GTK_ENTRY_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkentrybuffer.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkentrybuffer.h new file mode 100644 index 0000000..04570b7 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkentrybuffer.h @@ -0,0 +1,133 @@ +/* gtkentrybuffer.h + * Copyright (C) 2009 Stefan Walter + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ENTRY_BUFFER_H__ +#define __GTK_ENTRY_BUFFER_H__ + +#include + +G_BEGIN_DECLS + +/* Maximum size of text buffer, in bytes */ +#define GTK_ENTRY_BUFFER_MAX_SIZE G_MAXUSHORT + +#define GTK_TYPE_ENTRY_BUFFER (gtk_entry_buffer_get_type ()) +#define GTK_ENTRY_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY_BUFFER, GtkEntryBuffer)) +#define GTK_ENTRY_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY_BUFFER, GtkEntryBufferClass)) +#define GTK_IS_ENTRY_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY_BUFFER)) +#define GTK_IS_ENTRY_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY_BUFFER)) +#define GTK_ENTRY_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY_BUFFER, GtkEntryBufferClass)) + +typedef struct _GtkEntryBuffer GtkEntryBuffer; +typedef struct _GtkEntryBufferClass GtkEntryBufferClass; +typedef struct _GtkEntryBufferPrivate GtkEntryBufferPrivate; + +struct _GtkEntryBuffer +{ + GObject parent_instance; + + /*< private >*/ + GtkEntryBufferPrivate *priv; +}; + +struct _GtkEntryBufferClass +{ + GObjectClass parent_class; + + /* Signals */ + + void (*inserted_text) (GtkEntryBuffer *buffer, + guint position, + const gchar *chars, + guint n_chars); + + void (*deleted_text) (GtkEntryBuffer *buffer, + guint position, + guint n_chars); + + /* Virtual Methods */ + + const gchar* (*get_text) (GtkEntryBuffer *buffer, + gsize *n_bytes); + + guint (*get_length) (GtkEntryBuffer *buffer); + + guint (*insert_text) (GtkEntryBuffer *buffer, + guint position, + const gchar *chars, + guint n_chars); + + guint (*delete_text) (GtkEntryBuffer *buffer, + guint position, + guint n_chars); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +GType gtk_entry_buffer_get_type (void) G_GNUC_CONST; + +GtkEntryBuffer* gtk_entry_buffer_new (const gchar *initial_chars, + gint n_initial_chars); + +gsize gtk_entry_buffer_get_bytes (GtkEntryBuffer *buffer); + +guint gtk_entry_buffer_get_length (GtkEntryBuffer *buffer); + +const gchar* gtk_entry_buffer_get_text (GtkEntryBuffer *buffer); + +void gtk_entry_buffer_set_text (GtkEntryBuffer *buffer, + const gchar *chars, + gint n_chars); + +void gtk_entry_buffer_set_max_length (GtkEntryBuffer *buffer, + gint max_length); + +gint gtk_entry_buffer_get_max_length (GtkEntryBuffer *buffer); + +guint gtk_entry_buffer_insert_text (GtkEntryBuffer *buffer, + guint position, + const gchar *chars, + gint n_chars); + +guint gtk_entry_buffer_delete_text (GtkEntryBuffer *buffer, + guint position, + gint n_chars); + +void gtk_entry_buffer_emit_inserted_text (GtkEntryBuffer *buffer, + guint position, + const gchar *chars, + guint n_chars); + +void gtk_entry_buffer_emit_deleted_text (GtkEntryBuffer *buffer, + guint position, + guint n_chars); + +G_END_DECLS + +#endif /* __GTK_ENTRY_BUFFER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkentrycompletion.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkentrycompletion.h new file mode 100644 index 0000000..726685c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkentrycompletion.h @@ -0,0 +1,154 @@ +/* gtkentrycompletion.h + * Copyright (C) 2003 Kristian Rietveld + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ENTRY_COMPLETION_H__ +#define __GTK_ENTRY_COMPLETION_H__ + +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ENTRY_COMPLETION (gtk_entry_completion_get_type ()) +#define GTK_ENTRY_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletion)) +#define GTK_ENTRY_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletionClass)) +#define GTK_IS_ENTRY_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY_COMPLETION)) +#define GTK_IS_ENTRY_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY_COMPLETION)) +#define GTK_ENTRY_COMPLETION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletionClass)) + +typedef struct _GtkEntryCompletion GtkEntryCompletion; +typedef struct _GtkEntryCompletionClass GtkEntryCompletionClass; +typedef struct _GtkEntryCompletionPrivate GtkEntryCompletionPrivate; + +/** + * GtkEntryCompletionMatchFunc: + * @completion: the #GtkEntryCompletion + * @key: the string to match, normalized and case-folded + * @iter: a #GtkTreeIter indicating the row to match + * @user_data: user data given to gtk_entry_completion_set_match_func() + * + * A function which decides whether the row indicated by @iter matches + * a given @key, and should be displayed as a possible completion for @key. + * Note that @key is normalized and case-folded (see g_utf8_normalize() + * and g_utf8_casefold()). If this is not appropriate, match functions + * have access to the unmodified key via + * gtk_entry_get_text (GTK_ENTRY (gtk_entry_completion_get_entry ())). + * + * Returns: %TRUE if @iter should be displayed as a possible completion + * for @key + */ +typedef gboolean (* GtkEntryCompletionMatchFunc) (GtkEntryCompletion *completion, + const gchar *key, + GtkTreeIter *iter, + gpointer user_data); + + +struct _GtkEntryCompletion +{ + GObject parent_instance; + + /*< private >*/ + GtkEntryCompletionPrivate *priv; +}; + +struct _GtkEntryCompletionClass +{ + GObjectClass parent_class; + + gboolean (* match_selected) (GtkEntryCompletion *completion, + GtkTreeModel *model, + GtkTreeIter *iter); + void (* action_activated) (GtkEntryCompletion *completion, + gint index_); + gboolean (* insert_prefix) (GtkEntryCompletion *completion, + const gchar *prefix); + gboolean (* cursor_on_match) (GtkEntryCompletion *completion, + GtkTreeModel *model, + GtkTreeIter *iter); + + /* Padding for future expansion */ + void (*_gtk_reserved0) (void); + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); +}; + +/* core */ +GType gtk_entry_completion_get_type (void) G_GNUC_CONST; +GtkEntryCompletion *gtk_entry_completion_new (void); +GtkEntryCompletion *gtk_entry_completion_new_with_area (GtkCellArea *area); + +GtkWidget *gtk_entry_completion_get_entry (GtkEntryCompletion *completion); + +void gtk_entry_completion_set_model (GtkEntryCompletion *completion, + GtkTreeModel *model); +GtkTreeModel *gtk_entry_completion_get_model (GtkEntryCompletion *completion); + +void gtk_entry_completion_set_match_func (GtkEntryCompletion *completion, + GtkEntryCompletionMatchFunc func, + gpointer func_data, + GDestroyNotify func_notify); +void gtk_entry_completion_set_minimum_key_length (GtkEntryCompletion *completion, + gint length); +gint gtk_entry_completion_get_minimum_key_length (GtkEntryCompletion *completion); +GDK_AVAILABLE_IN_3_4 +gchar * gtk_entry_completion_compute_prefix (GtkEntryCompletion *completion, + const char *key); +void gtk_entry_completion_complete (GtkEntryCompletion *completion); +void gtk_entry_completion_insert_prefix (GtkEntryCompletion *completion); + +void gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion, + gint index_, + const gchar *text); +void gtk_entry_completion_insert_action_markup (GtkEntryCompletion *completion, + gint index_, + const gchar *markup); +void gtk_entry_completion_delete_action (GtkEntryCompletion *completion, + gint index_); + +void gtk_entry_completion_set_inline_completion (GtkEntryCompletion *completion, + gboolean inline_completion); +gboolean gtk_entry_completion_get_inline_completion (GtkEntryCompletion *completion); +void gtk_entry_completion_set_inline_selection (GtkEntryCompletion *completion, + gboolean inline_selection); +gboolean gtk_entry_completion_get_inline_selection (GtkEntryCompletion *completion); +void gtk_entry_completion_set_popup_completion (GtkEntryCompletion *completion, + gboolean popup_completion); +gboolean gtk_entry_completion_get_popup_completion (GtkEntryCompletion *completion); +void gtk_entry_completion_set_popup_set_width (GtkEntryCompletion *completion, + gboolean popup_set_width); +gboolean gtk_entry_completion_get_popup_set_width (GtkEntryCompletion *completion); +void gtk_entry_completion_set_popup_single_match (GtkEntryCompletion *completion, + gboolean popup_single_match); +gboolean gtk_entry_completion_get_popup_single_match (GtkEntryCompletion *completion); + +const gchar *gtk_entry_completion_get_completion_prefix (GtkEntryCompletion *completion); +/* convenience */ +void gtk_entry_completion_set_text_column (GtkEntryCompletion *completion, + gint column); +gint gtk_entry_completion_get_text_column (GtkEntryCompletion *completion); + +G_END_DECLS + +#endif /* __GTK_ENTRY_COMPLETION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkenums.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkenums.h new file mode 100644 index 0000000..e409d79 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkenums.h @@ -0,0 +1,938 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ENUMS_H__ +#define __GTK_ENUMS_H__ + +#include + + +/** + * SECTION:gtkenum + * @Short_description: Public enumerated types used throughout GTK+ + * @Title: Standard Enumerations + */ + + +G_BEGIN_DECLS + +/** + * GtkAlign: + * @GTK_ALIGN_FILL: stretch to fill all space if possible, center if + * no meaningful way to stretch + * @GTK_ALIGN_START: snap to left or top side, leaving space on right + * or bottom + * @GTK_ALIGN_END: snap to right or bottom side, leaving space on left + * or top + * @GTK_ALIGN_CENTER: center natural width of widget inside the + * allocation + * + * Controls how a widget deals with extra space in a single (x or y) + * dimension. + * + * Alignment only matters if the widget receives a "too large" allocation, + * for example if you packed the widget with the #GtkWidget:expand + * flag inside a #GtkBox, then the widget might get extra space. If + * you have for example a 16x16 icon inside a 32x32 space, the icon + * could be scaled and stretched, it could be centered, or it could be + * positioned to one side of the space. + * + * Note that in horizontal context @GTK_ALIGN_START and @GTK_ALIGN_END + * are interpreted relative to text direction. + */ +typedef enum +{ + GTK_ALIGN_FILL, + GTK_ALIGN_START, + GTK_ALIGN_END, + GTK_ALIGN_CENTER +} GtkAlign; + + +/** + * GtkArrowPlacement: + * @GTK_ARROWS_BOTH: Place one arrow on each end of the menu. + * @GTK_ARROWS_START: Place both arrows at the top of the menu. + * @GTK_ARROWS_END: Place both arrows at the bottom of the menu. + * + * Used to specify the placement of scroll arrows in scrolling menus. + */ +typedef enum +{ + GTK_ARROWS_BOTH, + GTK_ARROWS_START, + GTK_ARROWS_END +} GtkArrowPlacement; + +/** + * GtkArrowType: + * @GTK_ARROW_UP: Represents an upward pointing arrow. + * @GTK_ARROW_DOWN: Represents a downward pointing arrow. + * @GTK_ARROW_LEFT: Represents a left pointing arrow. + * @GTK_ARROW_RIGHT: Represents a right pointing arrow. + * @GTK_ARROW_NONE: No arrow. Since 2.10. + * + * Used to indicate the direction in which a #GtkArrow should point. + */ +typedef enum +{ + GTK_ARROW_UP, + GTK_ARROW_DOWN, + GTK_ARROW_LEFT, + GTK_ARROW_RIGHT, + GTK_ARROW_NONE +} GtkArrowType; + +/** + * GtkAttachOptions: + * @GTK_EXPAND: the widget should expand to take up any extra space in its + * container that has been allocated. + * @GTK_SHRINK: the widget should shrink as and when possible. + * @GTK_FILL: the widget should fill the space allocated to it. + * + * Denotes the expansion properties that a widget will have when it (or its + * parent) is resized. + */ +typedef enum +{ + GTK_EXPAND = 1 << 0, + GTK_SHRINK = 1 << 1, + GTK_FILL = 1 << 2 +} GtkAttachOptions; + +/** + * GtkButtonBoxStyle: + * @GTK_BUTTONBOX_DEFAULT_STYLE: Default packing. + * @GTK_BUTTONBOX_SPREAD: Buttons are evenly spread across the box. + * @GTK_BUTTONBOX_EDGE: Buttons are placed at the edges of the box. + * @GTK_BUTTONBOX_START: Buttons are grouped towards the start of the box, + * (on the left for a HBox, or the top for a VBox). + * @GTK_BUTTONBOX_END: Buttons are grouped towards the end of the box, + * (on the right for a HBox, or the bottom for a VBox). + * @GTK_BUTTONBOX_CENTER: Buttons are centered in the box. Since 2.12. + * + * Used to dictate the style that a #GtkButtonBox uses to layout the buttons it + * contains. (See also: #GtkVButtonBox and #GtkHButtonBox). + */ +typedef enum +{ + GTK_BUTTONBOX_SPREAD = 1, + GTK_BUTTONBOX_EDGE, + GTK_BUTTONBOX_START, + GTK_BUTTONBOX_END, + GTK_BUTTONBOX_CENTER +} GtkButtonBoxStyle; + + +typedef enum +{ + GTK_DELETE_CHARS, + GTK_DELETE_WORD_ENDS, /* delete only the portion of the word to the + * left/right of cursor if we're in the middle + * of a word */ + GTK_DELETE_WORDS, + GTK_DELETE_DISPLAY_LINES, + GTK_DELETE_DISPLAY_LINE_ENDS, + GTK_DELETE_PARAGRAPH_ENDS, /* like C-k in Emacs (or its reverse) */ + GTK_DELETE_PARAGRAPHS, /* C-k in pico, kill whole line */ + GTK_DELETE_WHITESPACE /* M-\ in Emacs */ +} GtkDeleteType; + +/* Focus movement types */ +typedef enum +{ + GTK_DIR_TAB_FORWARD, + GTK_DIR_TAB_BACKWARD, + GTK_DIR_UP, + GTK_DIR_DOWN, + GTK_DIR_LEFT, + GTK_DIR_RIGHT +} GtkDirectionType; + +/** + * GtkExpanderStyle: + * @GTK_EXPANDER_COLLAPSED: The style used for a collapsed subtree. + * @GTK_EXPANDER_SEMI_COLLAPSED: Intermediate style used during animation. + * @GTK_EXPANDER_SEMI_EXPANDED: Intermediate style used during animation. + * @GTK_EXPANDER_EXPANDED: The style used for an expanded subtree. + * + * Used to specify the style of the expanders drawn by a #GtkTreeView. + */ +typedef enum +{ + GTK_EXPANDER_COLLAPSED, + GTK_EXPANDER_SEMI_COLLAPSED, + GTK_EXPANDER_SEMI_EXPANDED, + GTK_EXPANDER_EXPANDED +} GtkExpanderStyle; + +/* Built-in stock icon sizes */ +typedef enum +{ + GTK_ICON_SIZE_INVALID, + GTK_ICON_SIZE_MENU, + GTK_ICON_SIZE_SMALL_TOOLBAR, + GTK_ICON_SIZE_LARGE_TOOLBAR, + GTK_ICON_SIZE_BUTTON, + GTK_ICON_SIZE_DND, + GTK_ICON_SIZE_DIALOG +} GtkIconSize; + +/** + * GtkSensitivityType: + * @GTK_SENSITIVITY_AUTO: The arrow is made insensitive if the + * thumb is at the end + * @GTK_SENSITIVITY_ON: The arrow is always sensitive + * @GTK_SENSITIVITY_OFF: The arrow is always insensitive + * + * Determines how GTK+ handles the sensitivity of stepper arrows + * at the end of range widgets. + */ +typedef enum +{ + GTK_SENSITIVITY_AUTO, + GTK_SENSITIVITY_ON, + GTK_SENSITIVITY_OFF +} GtkSensitivityType; + +/* Reading directions for text */ +typedef enum +{ + GTK_TEXT_DIR_NONE, + GTK_TEXT_DIR_LTR, + GTK_TEXT_DIR_RTL +} GtkTextDirection; + +/** + * GtkJustification: + * @GTK_JUSTIFY_LEFT: The text is placed at the left edge of the label. + * @GTK_JUSTIFY_RIGHT: The text is placed at the right edge of the label. + * @GTK_JUSTIFY_CENTER: The text is placed in the center of the label. + * @GTK_JUSTIFY_FILL: The text is placed is distributed across the label. + * + * Used for justifying the text inside a #GtkLabel widget. (See also + * #GtkAlignment). + */ +typedef enum +{ + GTK_JUSTIFY_LEFT, + GTK_JUSTIFY_RIGHT, + GTK_JUSTIFY_CENTER, + GTK_JUSTIFY_FILL +} GtkJustification; + +/** + * GtkMenuDirectionType: + * @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 + * + * An enumeration representing directional movements within a menu. + */ +typedef enum +{ + GTK_MENU_DIR_PARENT, + GTK_MENU_DIR_CHILD, + GTK_MENU_DIR_NEXT, + GTK_MENU_DIR_PREV +} GtkMenuDirectionType; + +/** + * GtkMessageType: + * @GTK_MESSAGE_INFO: Informational message + * @GTK_MESSAGE_WARNING: Nonfatal warning message + * @GTK_MESSAGE_QUESTION: Question requiring a choice + * @GTK_MESSAGE_ERROR: Fatal error message + * @GTK_MESSAGE_OTHER: None of the above, doesn't get an icon + * + * The type of message being displayed in the dialog. + */ +typedef enum +{ + GTK_MESSAGE_INFO, + GTK_MESSAGE_WARNING, + GTK_MESSAGE_QUESTION, + GTK_MESSAGE_ERROR, + GTK_MESSAGE_OTHER +} GtkMessageType; + +/** + * GtkMovementStep: + * @GTK_MOVEMENT_LOGICAL_POSITIONS: Move forward or back by graphemes + * @GTK_MOVEMENT_VISUAL_POSITIONS: Move left or right by graphemes + * @GTK_MOVEMENT_WORDS: Move forward or back by words + * @GTK_MOVEMENT_DISPLAY_LINES: Move up or down lines (wrapped lines) + * @GTK_MOVEMENT_DISPLAY_LINE_ENDS: Move to either end of a line + * @GTK_MOVEMENT_PARAGRAPHS: Move up or down paragraphs (newline-ended lines) + * @GTK_MOVEMENT_PARAGRAPH_ENDS: Move to either end of a paragraph + * @GTK_MOVEMENT_PAGES: Move by pages + * @GTK_MOVEMENT_BUFFER_ENDS: Move to ends of the buffer + * @GTK_MOVEMENT_HORIZONTAL_PAGES: Move horizontally by pages + */ +typedef enum +{ + GTK_MOVEMENT_LOGICAL_POSITIONS, + GTK_MOVEMENT_VISUAL_POSITIONS, + GTK_MOVEMENT_WORDS, + GTK_MOVEMENT_DISPLAY_LINES, + GTK_MOVEMENT_DISPLAY_LINE_ENDS, + GTK_MOVEMENT_PARAGRAPHS, + GTK_MOVEMENT_PARAGRAPH_ENDS, + GTK_MOVEMENT_PAGES, + GTK_MOVEMENT_BUFFER_ENDS, + GTK_MOVEMENT_HORIZONTAL_PAGES +} GtkMovementStep; + +typedef enum +{ + GTK_SCROLL_STEPS, + GTK_SCROLL_PAGES, + GTK_SCROLL_ENDS, + GTK_SCROLL_HORIZONTAL_STEPS, + GTK_SCROLL_HORIZONTAL_PAGES, + GTK_SCROLL_HORIZONTAL_ENDS +} GtkScrollStep; + +/** + * GtkOrientation: + * @GTK_ORIENTATION_HORIZONTAL: The widget is in horizontal orientation. + * @GTK_ORIENTATION_VERTICAL: The widget is in vertical orientation. + * + * Represents the orientation of widgets which can be switched between horizontal + * and vertical orientation on the fly, like #GtkToolbar. + */ +typedef enum +{ + GTK_ORIENTATION_HORIZONTAL, + GTK_ORIENTATION_VERTICAL +} GtkOrientation; + +/** + * GtkCornerType: + * @GTK_CORNER_TOP_LEFT: Place the scrollbars on the right and bottom of the + * widget (default behaviour). + * @GTK_CORNER_BOTTOM_LEFT: Place the scrollbars on the top and right of the + * widget. + * @GTK_CORNER_TOP_RIGHT: Place the scrollbars on the left and bottom of the + * widget. + * @GTK_CORNER_BOTTOM_RIGHT: Place the scrollbars on the top and left of the + * widget. + * + * Specifies which corner a child widget should be placed in when packed into + * a #GtkScrolledWindow. This is effectively the opposite of where the scroll + * bars are placed. + */ +typedef enum +{ + GTK_CORNER_TOP_LEFT, + GTK_CORNER_BOTTOM_LEFT, + GTK_CORNER_TOP_RIGHT, + GTK_CORNER_BOTTOM_RIGHT +} GtkCornerType; + +/** + * GtkPackType: + * @GTK_PACK_START: The child is packed into the start of the box + * @GTK_PACK_END: The child is packed into the end of the box + * + * Represents the packing location #GtkBox children. (See: #GtkVBox, + * #GtkHBox, and #GtkButtonBox). + */ +typedef enum +{ + GTK_PACK_START, + GTK_PACK_END +} GtkPackType; + +/* priorities for path lookups */ +typedef enum +{ + GTK_PATH_PRIO_LOWEST = 0, + GTK_PATH_PRIO_GTK = 4, + GTK_PATH_PRIO_APPLICATION = 8, + GTK_PATH_PRIO_THEME = 10, + GTK_PATH_PRIO_RC = 12, + GTK_PATH_PRIO_HIGHEST = 15 +} GtkPathPriorityType; +#define GTK_PATH_PRIO_MASK 0x0f + +/* widget path types */ +typedef enum +{ + GTK_PATH_WIDGET, + GTK_PATH_WIDGET_CLASS, + GTK_PATH_CLASS +} GtkPathType; + +/** + * GtkPolicyType: + * @GTK_POLICY_ALWAYS: The scrollbar is always visible. + * @GTK_POLICY_AUTOMATIC: The scrollbar will appear and disappear as necessary. For example, + * when all of a #GtkCList can not be seen. + * @GTK_POLICY_NEVER: The scrollbar will never appear. + * + * Determines when a scroll bar will be visible. + */ +typedef enum +{ + GTK_POLICY_ALWAYS, + GTK_POLICY_AUTOMATIC, + GTK_POLICY_NEVER +} GtkPolicyType; + +/** + * GtkPositionType: + * @GTK_POS_LEFT: The feature is at the left edge. + * @GTK_POS_RIGHT: The feature is at the right edge. + * @GTK_POS_TOP: The feature is at the top edge. + * @GTK_POS_BOTTOM: The feature is at the bottom edge. + * + * Describes which edge of a widget a certain feature is positioned at, e.g. the + * tabs of a #GtkNotebook, the handle of a #GtkHandleBox or the label of a + * #GtkScale. + */ +typedef enum +{ + GTK_POS_LEFT, + GTK_POS_RIGHT, + GTK_POS_TOP, + GTK_POS_BOTTOM +} GtkPositionType; + +/** + * GtkReliefStyle: + * @GTK_RELIEF_NORMAL: Draw a normal relief. + * @GTK_RELIEF_HALF: A half relief. + * @GTK_RELIEF_NONE: No relief. + * + * Indicated the relief to be drawn around a #GtkButton. + */ +typedef enum +{ + GTK_RELIEF_NORMAL, + GTK_RELIEF_HALF, + GTK_RELIEF_NONE +} GtkReliefStyle; + +/** + * GtkResizeMode: + * @GTK_RESIZE_PARENT: Pass resize request to the parent + * @GTK_RESIZE_QUEUE: Queue resizes on this widget + * @GTK_RESIZE_IMMEDIATE: Resize immediately. Deprecated. + */ +typedef enum +{ + GTK_RESIZE_PARENT, + GTK_RESIZE_QUEUE, + GTK_RESIZE_IMMEDIATE +} GtkResizeMode; + +/* scrolling types */ +typedef enum +{ + GTK_SCROLL_NONE, + GTK_SCROLL_JUMP, + GTK_SCROLL_STEP_BACKWARD, + GTK_SCROLL_STEP_FORWARD, + GTK_SCROLL_PAGE_BACKWARD, + GTK_SCROLL_PAGE_FORWARD, + GTK_SCROLL_STEP_UP, + GTK_SCROLL_STEP_DOWN, + GTK_SCROLL_PAGE_UP, + GTK_SCROLL_PAGE_DOWN, + GTK_SCROLL_STEP_LEFT, + GTK_SCROLL_STEP_RIGHT, + GTK_SCROLL_PAGE_LEFT, + GTK_SCROLL_PAGE_RIGHT, + GTK_SCROLL_START, + GTK_SCROLL_END +} GtkScrollType; + +/** + * GtkSelectionMode: + * @GTK_SELECTION_NONE: No selection is possible. + * @GTK_SELECTION_SINGLE: Zero or one element may be selected. + * @GTK_SELECTION_BROWSE: Exactly one element is selected. + * In some circumstances, such as initially or during a search + * operation, it's possible for no element to be selected with + * %GTK_SELECTION_BROWSE. What is really enforced is that the user + * can't deselect a currently selected element except by selecting + * another element. + * @GTK_SELECTION_MULTIPLE: Any number of elements may be selected. + * The Ctrl key may be used to enlarge the selection, and Shift + * key to select between the focus and the child pointed to. + * Some widgets may also allow Click-drag to select a range of elements. + * @GTK_SELECTION_EXTENDED: Deprecated, behaves identical to %GTK_SELECTION_MULTIPLE. + * + * Used to control what selections users are allowed to make. + */ +typedef enum +{ + GTK_SELECTION_NONE, + GTK_SELECTION_SINGLE, + GTK_SELECTION_BROWSE, + GTK_SELECTION_MULTIPLE +} GtkSelectionMode; + +/** + * GtkShadowType: + * @GTK_SHADOW_NONE: No outline. + * @GTK_SHADOW_IN: The outline is bevelled inwards. + * @GTK_SHADOW_OUT: The outline is bevelled outwards like a button. + * @GTK_SHADOW_ETCHED_IN: The outline has a sunken 3d appearance. + * @GTK_SHADOW_ETCHED_OUT: The outline has a raised 3d appearance. + * + * Used to change the appearance of an outline typically provided by a #GtkFrame. + */ +typedef enum +{ + GTK_SHADOW_NONE, + GTK_SHADOW_IN, + GTK_SHADOW_OUT, + GTK_SHADOW_ETCHED_IN, + GTK_SHADOW_ETCHED_OUT +} GtkShadowType; + +/* Widget states */ + +/** + * GtkStateType: + * @GTK_STATE_NORMAL: State during normal operation. + * @GTK_STATE_ACTIVE: State of a currently active widget, such as a depressed button. + * @GTK_STATE_PRELIGHT: State indicating that the mouse pointer is over + * the widget and the widget will respond to mouse clicks. + * @GTK_STATE_SELECTED: State of a selected item, such the selected row in a list. + * @GTK_STATE_INSENSITIVE: State indicating that the widget is + * unresponsive to user actions. + * @GTK_STATE_INCONSISTENT: The widget is inconsistent, such as checkbuttons + * or radiobuttons that aren't either set to %TRUE nor %FALSE, + * or buttons requiring the user attention. + * @GTK_STATE_FOCUSED: The widget has the keyboard focus. + * + * This type indicates the current state of a widget; the state determines how + * the widget is drawn. The #GtkStateType enumeration is also used to + * identify different colors in a #GtkStyle for drawing, so states can be + * used for subparts of a widget as well as entire widgets. + */ +typedef enum +{ + GTK_STATE_NORMAL, + GTK_STATE_ACTIVE, + GTK_STATE_PRELIGHT, + GTK_STATE_SELECTED, + GTK_STATE_INSENSITIVE, + GTK_STATE_INCONSISTENT, + GTK_STATE_FOCUSED +} GtkStateType; + +/** + * GtkToolbarStyle: + * @GTK_TOOLBAR_ICONS: Buttons display only icons in the toolbar. + * @GTK_TOOLBAR_TEXT: Buttons display only text labels in the toolbar. + * @GTK_TOOLBAR_BOTH: Buttons display text and icons in the toolbar. + * @GTK_TOOLBAR_BOTH_HORIZ: Buttons display icons and text alongside each + * other, rather than vertically stacked + * + * Used to customize the appearance of a #GtkToolbar. Note that + * setting the toolbar style overrides the user's preferences + * for the default toolbar style. Note that if the button has only + * a label set and GTK_TOOLBAR_ICONS is used, the label will be + * visible, and vice versa. + */ +typedef enum +{ + GTK_TOOLBAR_ICONS, + GTK_TOOLBAR_TEXT, + GTK_TOOLBAR_BOTH, + GTK_TOOLBAR_BOTH_HORIZ +} GtkToolbarStyle; + +/** + * GtkWindowPosition: + * @GTK_WIN_POS_NONE: No influence is made on placement. + * @GTK_WIN_POS_CENTER: Windows should be placed in the center of the screen. + * @GTK_WIN_POS_MOUSE: Windows should be placed at the current mouse position. + * @GTK_WIN_POS_CENTER_ALWAYS: Keep window centered as it changes size, etc. + * @GTK_WIN_POS_CENTER_ON_PARENT: Center the window on its transient + * parent (see gtk_window_set_transient_for()). + * + * Window placement can be influenced using this enumeration. Note that + * using #GTK_WIN_POS_CENTER_ALWAYS is almost always a bad idea. + * It won't necessarily work well with all window managers or on all windowing systems. + */ +typedef enum +{ + GTK_WIN_POS_NONE, + GTK_WIN_POS_CENTER, + GTK_WIN_POS_MOUSE, + GTK_WIN_POS_CENTER_ALWAYS, + GTK_WIN_POS_CENTER_ON_PARENT +} GtkWindowPosition; + +/** + * GtkWindowType: + * @GTK_WINDOW_TOPLEVEL: A regular window, such as a dialog. + * @GTK_WINDOW_POPUP: A special window such as a tooltip. + * + * A #GtkWindow can be one of these types. Most things you'd consider a + * "window" should have type #GTK_WINDOW_TOPLEVEL; windows with this type + * are managed by the window manager and have a frame by default (call + * gtk_window_set_decorated() to toggle the frame). Windows with type + * #GTK_WINDOW_POPUP are ignored by the window manager; window manager + * keybindings won't work on them, the window manager won't decorate the + * window with a frame, many GTK+ features that rely on the window + * manager will not work (e.g. resize grips and + * maximization/minimization). #GTK_WINDOW_POPUP is used to implement + * widgets such as #GtkMenu or tooltips that you normally don't think of + * as windows per se. Nearly all windows should be #GTK_WINDOW_TOPLEVEL. + * In particular, do not use #GTK_WINDOW_POPUP just to turn off + * the window borders; use gtk_window_set_decorated() for that. + */ +typedef enum +{ + GTK_WINDOW_TOPLEVEL, + GTK_WINDOW_POPUP +} GtkWindowType; + +/** + * GtkWrapMode: + * @GTK_WRAP_NONE: do not wrap lines; just make the text area wider + * @GTK_WRAP_CHAR: wrap text, breaking lines anywhere the cursor can + * appear (between characters, usually - if you want to be technical, + * between graphemes, see pango_get_log_attrs()) + * @GTK_WRAP_WORD: wrap text, breaking lines in between words + * @GTK_WRAP_WORD_CHAR: wrap text, breaking lines in between words, or if + * that is not enough, also between graphemes + * + * Describes a type of line wrapping. + */ +typedef enum +{ + GTK_WRAP_NONE, + GTK_WRAP_CHAR, + GTK_WRAP_WORD, + GTK_WRAP_WORD_CHAR +} GtkWrapMode; + +/** + * GtkSortType: + * @GTK_SORT_ASCENDING: Sorting is in ascending order. + * @GTK_SORT_DESCENDING: Sorting is in descending order. + * + * Determines the direction of a sort. + */ +typedef enum +{ + GTK_SORT_ASCENDING, + GTK_SORT_DESCENDING +} GtkSortType; + +/* Style for gtk input method preedit/status */ +typedef enum +{ + GTK_IM_PREEDIT_NOTHING, + GTK_IM_PREEDIT_CALLBACK, + GTK_IM_PREEDIT_NONE +} GtkIMPreeditStyle; + +typedef enum +{ + GTK_IM_STATUS_NOTHING, + GTK_IM_STATUS_CALLBACK, + GTK_IM_STATUS_NONE +} GtkIMStatusStyle; + +/** + * GtkPackDirection: + * @GTK_PACK_DIRECTION_LTR: Widgets are packed left-to-right + * @GTK_PACK_DIRECTION_RTL: Widgets are packed right-to-left + * @GTK_PACK_DIRECTION_TTB: Widgets are packed top-to-bottom + * @GTK_PACK_DIRECTION_BTT: Widgets are packed bottom-to-top + * + * Determines how widgets should be packed insided menubars + * and menuitems contained in menubars. + */ +typedef enum +{ + GTK_PACK_DIRECTION_LTR, + GTK_PACK_DIRECTION_RTL, + GTK_PACK_DIRECTION_TTB, + GTK_PACK_DIRECTION_BTT +} GtkPackDirection; + +typedef enum +{ + GTK_PRINT_PAGES_ALL, + GTK_PRINT_PAGES_CURRENT, + GTK_PRINT_PAGES_RANGES, + GTK_PRINT_PAGES_SELECTION +} GtkPrintPages; + +typedef enum +{ + GTK_PAGE_SET_ALL, + GTK_PAGE_SET_EVEN, + GTK_PAGE_SET_ODD +} GtkPageSet; + +/** + * GtkNumberUpLayout: + * @GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM: + * @GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP: + * @GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM: + * @GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP: + * @GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT: + * @GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT: + * @GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT: + * @GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT: + * + * Used to determine the layout of pages on a sheet when printing + * multiple pages per sheet. + */ +typedef enum +{ + GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM, /*< nick=lrtb >*/ + GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP, /*< nick=lrbt >*/ + GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM, /*< nick=rltb >*/ + GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP, /*< nick=rlbt >*/ + GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT, /*< nick=tblr >*/ + GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT, /*< nick=tbrl >*/ + GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT, /*< nick=btlr >*/ + GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT /*< nick=btrl >*/ +} GtkNumberUpLayout; + +typedef enum +{ + GTK_PAGE_ORIENTATION_PORTRAIT, + GTK_PAGE_ORIENTATION_LANDSCAPE, + GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT, + GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE +} GtkPageOrientation; + +typedef enum +{ + GTK_PRINT_QUALITY_LOW, + GTK_PRINT_QUALITY_NORMAL, + GTK_PRINT_QUALITY_HIGH, + GTK_PRINT_QUALITY_DRAFT +} GtkPrintQuality; + +typedef enum +{ + GTK_PRINT_DUPLEX_SIMPLEX, + GTK_PRINT_DUPLEX_HORIZONTAL, + GTK_PRINT_DUPLEX_VERTICAL +} GtkPrintDuplex; + + +typedef enum +{ + GTK_UNIT_NONE, + GTK_UNIT_POINTS, + GTK_UNIT_INCH, + GTK_UNIT_MM +} GtkUnit; + +#define GTK_UNIT_PIXEL GTK_UNIT_NONE + +/** + * GtkTreeViewGridLines: + * @GTK_TREE_VIEW_GRID_LINES_NONE: No grid lines. + * @GTK_TREE_VIEW_GRID_LINES_HORIZONTAL: Horizontal grid lines. + * @GTK_TREE_VIEW_GRID_LINES_VERTICAL: Vertical grid lines. + * @GTK_TREE_VIEW_GRID_LINES_BOTH: Horizontal and vertical grid lines. + * + * Used to indicate which grid lines to draw in a tree view. + */ +typedef enum +{ + GTK_TREE_VIEW_GRID_LINES_NONE, + GTK_TREE_VIEW_GRID_LINES_HORIZONTAL, + GTK_TREE_VIEW_GRID_LINES_VERTICAL, + GTK_TREE_VIEW_GRID_LINES_BOTH +} GtkTreeViewGridLines; + +/** + * GtkDragResult: + * @GTK_DRAG_RESULT_SUCCESS: The drag operation was successful. + * @GTK_DRAG_RESULT_NO_TARGET: No suitable drag target. + * @GTK_DRAG_RESULT_USER_CANCELLED: The user cancelled the drag operation. + * @GTK_DRAG_RESULT_TIMEOUT_EXPIRED: The drag operation timed out. + * @GTK_DRAG_RESULT_GRAB_BROKEN: The pointer or keyboard grab used + * for the drag operation was broken. + * @GTK_DRAG_RESULT_ERROR: The drag operation failed due to some + * unspecified error. + * + * Gives an indication why a drag operation failed. + * The value can by obtained by connecting to the + * #GtkWidget::drag-failed signal. + */ +typedef enum +{ + GTK_DRAG_RESULT_SUCCESS, + GTK_DRAG_RESULT_NO_TARGET, + GTK_DRAG_RESULT_USER_CANCELLED, + GTK_DRAG_RESULT_TIMEOUT_EXPIRED, + GTK_DRAG_RESULT_GRAB_BROKEN, + GTK_DRAG_RESULT_ERROR +} GtkDragResult; + +/** + * GtkSizeRequestMode: + * @GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH: Prefer height-for-width geometry management + * @GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT: Prefer width-for-height geometry management + * @GTK_SIZE_REQUEST_CONSTANT_SIZE: Dont trade height-for-width or width-for-height + * + * Specifies a preference for height-for-width or + * width-for-height geometry management. + */ +typedef enum +{ + GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH = 0, + GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT, + GTK_SIZE_REQUEST_CONSTANT_SIZE +} GtkSizeRequestMode; + +/** + * GtkScrollablePolicy: + * @GTK_SCROLL_MINIMUM: Scrollable adjustments are based on the minimum size + * @GTK_SCROLL_NATURAL: Scrollable adjustments are based on the natural size + * + * Defines the policy to be used in a scrollable widget when updating + * the scrolled window adjustments in a given orientation. + */ +typedef enum +{ + GTK_SCROLL_MINIMUM = 0, + GTK_SCROLL_NATURAL +} GtkScrollablePolicy; + +/** + * GtkStateFlags: + * @GTK_STATE_FLAG_NORMAL: State during normal operation. + * @GTK_STATE_FLAG_ACTIVE: Widget is active. + * @GTK_STATE_FLAG_PRELIGHT: Widget has a mouse pointer over it. + * @GTK_STATE_FLAG_SELECTED: Widget is selected. + * @GTK_STATE_FLAG_INSENSITIVE: Widget is insensitive. + * @GTK_STATE_FLAG_INCONSISTENT: Widget is inconsistent. + * @GTK_STATE_FLAG_FOCUSED: Widget has the keyboard focus. + * @GTK_STATE_FLAG_BACKDROP: Widget is in a background toplevel window. + * + * Describes a widget state. + */ +typedef enum +{ + GTK_STATE_FLAG_NORMAL = 0, + GTK_STATE_FLAG_ACTIVE = 1 << 0, + GTK_STATE_FLAG_PRELIGHT = 1 << 1, + GTK_STATE_FLAG_SELECTED = 1 << 2, + GTK_STATE_FLAG_INSENSITIVE = 1 << 3, + GTK_STATE_FLAG_INCONSISTENT = 1 << 4, + GTK_STATE_FLAG_FOCUSED = 1 << 5, + GTK_STATE_FLAG_BACKDROP = 1 << 6 +} GtkStateFlags; + +/** + * GtkRegionFlags: + * @GTK_REGION_EVEN: Region has an even number within a set. + * @GTK_REGION_ODD: Region has an odd number within a set. + * @GTK_REGION_FIRST: Region is the first one within a set. + * @GTK_REGION_LAST: Region is the last one within a set. + * @GTK_REGION_ONLY: Region is the only one within a set. + * @GTK_REGION_SORTED: Region is part of a sorted area. + * + * Describes a region within a widget. + */ +typedef enum { + GTK_REGION_EVEN = 1 << 0, + GTK_REGION_ODD = 1 << 1, + GTK_REGION_FIRST = 1 << 2, + GTK_REGION_LAST = 1 << 3, + GTK_REGION_ONLY = 1 << 4, + GTK_REGION_SORTED = 1 << 5 +} GtkRegionFlags; + +/** + * GtkJunctionSides: + * @GTK_JUNCTION_NONE: No junctions. + * @GTK_JUNCTION_CORNER_TOPLEFT: Element connects on the top-left corner. + * @GTK_JUNCTION_CORNER_TOPRIGHT: Element connects on the top-right corner. + * @GTK_JUNCTION_CORNER_BOTTOMLEFT: Element connects on the bottom-left corner. + * @GTK_JUNCTION_CORNER_BOTTOMRIGHT: Element connects on the bottom-right corner. + * @GTK_JUNCTION_TOP: Element connects on the top side. + * @GTK_JUNCTION_BOTTOM: Element connects on the bottom side. + * @GTK_JUNCTION_LEFT: Element connects on the left side. + * @GTK_JUNCTION_RIGHT: Element connects on the right side. + * + * Describes how a rendered element connects to adjacent elements. + */ +typedef enum { + GTK_JUNCTION_NONE = 0, + GTK_JUNCTION_CORNER_TOPLEFT = 1 << 0, + GTK_JUNCTION_CORNER_TOPRIGHT = 1 << 1, + GTK_JUNCTION_CORNER_BOTTOMLEFT = 1 << 2, + GTK_JUNCTION_CORNER_BOTTOMRIGHT = 1 << 3, + GTK_JUNCTION_TOP = (GTK_JUNCTION_CORNER_TOPLEFT | GTK_JUNCTION_CORNER_TOPRIGHT), + GTK_JUNCTION_BOTTOM = (GTK_JUNCTION_CORNER_BOTTOMLEFT | GTK_JUNCTION_CORNER_BOTTOMRIGHT), + GTK_JUNCTION_LEFT = (GTK_JUNCTION_CORNER_TOPLEFT | GTK_JUNCTION_CORNER_BOTTOMLEFT), + GTK_JUNCTION_RIGHT = (GTK_JUNCTION_CORNER_TOPRIGHT | GTK_JUNCTION_CORNER_BOTTOMRIGHT) +} GtkJunctionSides; + +/** + * GtkBorderStyle: + * @GTK_BORDER_STYLE_NONE: No visible border + * @GTK_BORDER_STYLE_SOLID: A single line segment + * @GTK_BORDER_STYLE_INSET: Looks as if the content is sunken into the canvas + * @GTK_BORDER_STYLE_OUTSET: Looks as if the content is coming out of the canvas + * @GTK_BORDER_STYLE_HIDDEN: Same as @GTK_BORDER_STYLE_NONE + * @GTK_BORDER_STYLE_DOTTED: A series of round dots + * @GTK_BORDER_STYLE_DASHED: A series of square-ended dashes + * @GTK_BORDER_STYLE_DOUBLE: Two parrallel lines with some space between them + * @GTK_BORDER_STYLE_GROOVE: Looks as if it were carved in the canvas + * @GTK_BORDER_STYLE_RIDGE: Looks as if it were coming out of the canvas + * + * Describes how the border of a UI element should be rendered. + */ +typedef enum { + GTK_BORDER_STYLE_NONE, + GTK_BORDER_STYLE_SOLID, + GTK_BORDER_STYLE_INSET, + GTK_BORDER_STYLE_OUTSET, + GTK_BORDER_STYLE_HIDDEN, + GTK_BORDER_STYLE_DOTTED, + GTK_BORDER_STYLE_DASHED, + GTK_BORDER_STYLE_DOUBLE, + GTK_BORDER_STYLE_GROOVE, + GTK_BORDER_STYLE_RIDGE +} GtkBorderStyle; + +G_END_DECLS + + +#endif /* __GTK_ENUMS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkeventbox.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkeventbox.h new file mode 100644 index 0000000..adada8c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkeventbox.h @@ -0,0 +1,79 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_EVENT_BOX_H__ +#define __GTK_EVENT_BOX_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_EVENT_BOX (gtk_event_box_get_type ()) +#define GTK_EVENT_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EVENT_BOX, GtkEventBox)) +#define GTK_EVENT_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_EVENT_BOX, GtkEventBoxClass)) +#define GTK_IS_EVENT_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EVENT_BOX)) +#define GTK_IS_EVENT_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EVENT_BOX)) +#define GTK_EVENT_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_EVENT_BOX, GtkEventBoxClass)) + +typedef struct _GtkEventBox GtkEventBox; +typedef struct _GtkEventBoxClass GtkEventBoxClass; +typedef struct _GtkEventBoxPrivate GtkEventBoxPrivate; + +struct _GtkEventBox +{ + GtkBin bin; + + /*< private >*/ + GtkEventBoxPrivate *priv; +}; + +struct _GtkEventBoxClass +{ + GtkBinClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_event_box_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_event_box_new (void); +gboolean gtk_event_box_get_visible_window (GtkEventBox *event_box); +void gtk_event_box_set_visible_window (GtkEventBox *event_box, + gboolean visible_window); +gboolean gtk_event_box_get_above_child (GtkEventBox *event_box); +void gtk_event_box_set_above_child (GtkEventBox *event_box, + gboolean above_child); + +G_END_DECLS + +#endif /* __GTK_EVENT_BOX_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkexpander.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkexpander.h new file mode 100644 index 0000000..a9ca742 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkexpander.h @@ -0,0 +1,107 @@ +/* GTK - The GIMP Toolkit + * + * Copyright (C) 2003 Sun Microsystems, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + * + * Authors: + * Mark McLoughlin + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_EXPANDER_H__ +#define __GTK_EXPANDER_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_EXPANDER (gtk_expander_get_type ()) +#define GTK_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EXPANDER, GtkExpander)) +#define GTK_EXPANDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_EXPANDER, GtkExpanderClass)) +#define GTK_IS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EXPANDER)) +#define GTK_IS_EXPANDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EXPANDER)) +#define GTK_EXPANDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_EXPANDER, GtkExpanderClass)) + +typedef struct _GtkExpander GtkExpander; +typedef struct _GtkExpanderClass GtkExpanderClass; +typedef struct _GtkExpanderPrivate GtkExpanderPrivate; + +struct _GtkExpander +{ + GtkBin bin; + + GtkExpanderPrivate *priv; +}; + +struct _GtkExpanderClass +{ + GtkBinClass parent_class; + + /* Key binding signal; to get notification on the expansion + * state connect to notify:expanded. + */ + void (* activate) (GtkExpander *expander); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_expander_get_type (void) G_GNUC_CONST; + +GtkWidget *gtk_expander_new (const gchar *label); +GtkWidget *gtk_expander_new_with_mnemonic (const gchar *label); + +void gtk_expander_set_expanded (GtkExpander *expander, + gboolean expanded); +gboolean gtk_expander_get_expanded (GtkExpander *expander); + +/* Spacing between the expander/label and the child */ +void gtk_expander_set_spacing (GtkExpander *expander, + gint spacing); +gint gtk_expander_get_spacing (GtkExpander *expander); + +void gtk_expander_set_label (GtkExpander *expander, + const gchar *label); +const gchar * gtk_expander_get_label (GtkExpander *expander); + +void gtk_expander_set_use_underline (GtkExpander *expander, + gboolean use_underline); +gboolean gtk_expander_get_use_underline (GtkExpander *expander); + +void gtk_expander_set_use_markup (GtkExpander *expander, + gboolean use_markup); +gboolean gtk_expander_get_use_markup (GtkExpander *expander); + +void gtk_expander_set_label_widget (GtkExpander *expander, + GtkWidget *label_widget); +GtkWidget *gtk_expander_get_label_widget (GtkExpander *expander); +void gtk_expander_set_label_fill (GtkExpander *expander, + gboolean label_fill); +gboolean gtk_expander_get_label_fill (GtkExpander *expander); +GDK_AVAILABLE_IN_3_2 +void gtk_expander_set_resize_toplevel (GtkExpander *expander, + gboolean resize_toplevel); +GDK_AVAILABLE_IN_3_2 +gboolean gtk_expander_get_resize_toplevel (GtkExpander *expander); + +G_END_DECLS + +#endif /* __GTK_EXPANDER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooser.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooser.h new file mode 100644 index 0000000..6e7d416 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooser.h @@ -0,0 +1,247 @@ +/* GTK - The GIMP Toolkit + * gtkfilechooser.h: Abstract interface for file selector GUIs + * Copyright (C) 2003, Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FILE_CHOOSER_H__ +#define __GTK_FILE_CHOOSER_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_FILE_CHOOSER (gtk_file_chooser_get_type ()) +#define GTK_FILE_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER, GtkFileChooser)) +#define GTK_IS_FILE_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER)) + +typedef struct _GtkFileChooser GtkFileChooser; + +/** + * GtkFileChooserAction: + * @GTK_FILE_CHOOSER_ACTION_OPEN: Indicates open mode. The file chooser + * will only let the user pick an existing file. + * @GTK_FILE_CHOOSER_ACTION_SAVE: Indicates save mode. The file chooser + * will let the user pick an existing file, or type in a new + * filename. + * @GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER: Indicates an Open mode for + * selecting folders. The file chooser will let the user pick an + * existing folder. + * @GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER: Indicates a mode for creating a + * new folder. The file chooser will let the user name an existing or + * new folder. + * + * Describes whether a #GtkFileChooser is being used to open existing files + * or to save to a possibly new file. + */ +typedef enum +{ + GTK_FILE_CHOOSER_ACTION_OPEN, + GTK_FILE_CHOOSER_ACTION_SAVE, + GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, + GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER +} GtkFileChooserAction; + +/** + * GtkFileChooserConfirmation: + * @GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM: The file chooser will present + * its stock dialog to confirm about overwriting an existing file. + * @GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME: The file chooser will + * terminate and accept the user's choice of a file name. + * @GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN: The file chooser will + * continue running, so as to let the user select another file name. + * + * Used as a return value of handlers for the + * #GtkFileChooser::confirm-overwrite signal of a #GtkFileChooser. This + * value determines whether the file chooser will present the stock + * confirmation dialog, accept the user's choice of a filename, or + * let the user choose another filename. + * + * Since: 2.8 + */ +typedef enum +{ + GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM, + GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME, + GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN +} GtkFileChooserConfirmation; + +GType gtk_file_chooser_get_type (void) G_GNUC_CONST; + +/* GError enumeration for GtkFileChooser */ +/** + * GTK_FILE_CHOOSER_ERROR: + * + * Used to get the #GError quark for #GtkFileChooser errors. + */ +#define GTK_FILE_CHOOSER_ERROR (gtk_file_chooser_error_quark ()) + +/** + * GtkFileChooserError: + * @GTK_FILE_CHOOSER_ERROR_NONEXISTENT: Indicates that a file does not exist. + * @GTK_FILE_CHOOSER_ERROR_BAD_FILENAME: Indicates a malformed filename. + * @GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS: Indicates a duplicate path (e.g. when + * adding a bookmark). + * @GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME: Indicates an incomplete hostname (e.g. "http://foo" without a slash after that). + * + * These identify the various errors that can occur while calling + * #GtkFileChooser functions. + */ +typedef enum { + GTK_FILE_CHOOSER_ERROR_NONEXISTENT, + GTK_FILE_CHOOSER_ERROR_BAD_FILENAME, + GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS, + GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME +} GtkFileChooserError; + +GQuark gtk_file_chooser_error_quark (void); + +/* Configuration + */ +void gtk_file_chooser_set_action (GtkFileChooser *chooser, + GtkFileChooserAction action); +GtkFileChooserAction gtk_file_chooser_get_action (GtkFileChooser *chooser); +void gtk_file_chooser_set_local_only (GtkFileChooser *chooser, + gboolean local_only); +gboolean gtk_file_chooser_get_local_only (GtkFileChooser *chooser); +void gtk_file_chooser_set_select_multiple (GtkFileChooser *chooser, + gboolean select_multiple); +gboolean gtk_file_chooser_get_select_multiple (GtkFileChooser *chooser); +void gtk_file_chooser_set_show_hidden (GtkFileChooser *chooser, + gboolean show_hidden); +gboolean gtk_file_chooser_get_show_hidden (GtkFileChooser *chooser); + +void gtk_file_chooser_set_do_overwrite_confirmation (GtkFileChooser *chooser, + gboolean do_overwrite_confirmation); +gboolean gtk_file_chooser_get_do_overwrite_confirmation (GtkFileChooser *chooser); + +void gtk_file_chooser_set_create_folders (GtkFileChooser *chooser, + gboolean create_folders); +gboolean gtk_file_chooser_get_create_folders (GtkFileChooser *chooser); + +/* Suggested name for the Save-type actions + */ +void gtk_file_chooser_set_current_name (GtkFileChooser *chooser, + const gchar *name); + +/* Filename manipulation + */ +gchar * gtk_file_chooser_get_filename (GtkFileChooser *chooser); +gboolean gtk_file_chooser_set_filename (GtkFileChooser *chooser, + const char *filename); +gboolean gtk_file_chooser_select_filename (GtkFileChooser *chooser, + const char *filename); +void gtk_file_chooser_unselect_filename (GtkFileChooser *chooser, + const char *filename); +void gtk_file_chooser_select_all (GtkFileChooser *chooser); +void gtk_file_chooser_unselect_all (GtkFileChooser *chooser); +GSList * gtk_file_chooser_get_filenames (GtkFileChooser *chooser); +gboolean gtk_file_chooser_set_current_folder (GtkFileChooser *chooser, + const gchar *filename); +gchar * gtk_file_chooser_get_current_folder (GtkFileChooser *chooser); + + +/* URI manipulation + */ +gchar * gtk_file_chooser_get_uri (GtkFileChooser *chooser); +gboolean gtk_file_chooser_set_uri (GtkFileChooser *chooser, + const char *uri); +gboolean gtk_file_chooser_select_uri (GtkFileChooser *chooser, + const char *uri); +void gtk_file_chooser_unselect_uri (GtkFileChooser *chooser, + const char *uri); +GSList * gtk_file_chooser_get_uris (GtkFileChooser *chooser); +gboolean gtk_file_chooser_set_current_folder_uri (GtkFileChooser *chooser, + const gchar *uri); +gchar * gtk_file_chooser_get_current_folder_uri (GtkFileChooser *chooser); + +/* GFile manipulation */ +GFile * gtk_file_chooser_get_file (GtkFileChooser *chooser); +gboolean gtk_file_chooser_set_file (GtkFileChooser *chooser, + GFile *file, + GError **error); +gboolean gtk_file_chooser_select_file (GtkFileChooser *chooser, + GFile *file, + GError **error); +void gtk_file_chooser_unselect_file (GtkFileChooser *chooser, + GFile *file); +GSList * gtk_file_chooser_get_files (GtkFileChooser *chooser); +gboolean gtk_file_chooser_set_current_folder_file (GtkFileChooser *chooser, + GFile *file, + GError **error); +GFile * gtk_file_chooser_get_current_folder_file (GtkFileChooser *chooser); + +/* Preview widget + */ +void gtk_file_chooser_set_preview_widget (GtkFileChooser *chooser, + GtkWidget *preview_widget); +GtkWidget *gtk_file_chooser_get_preview_widget (GtkFileChooser *chooser); +void gtk_file_chooser_set_preview_widget_active (GtkFileChooser *chooser, + gboolean active); +gboolean gtk_file_chooser_get_preview_widget_active (GtkFileChooser *chooser); +void gtk_file_chooser_set_use_preview_label (GtkFileChooser *chooser, + gboolean use_label); +gboolean gtk_file_chooser_get_use_preview_label (GtkFileChooser *chooser); + +char *gtk_file_chooser_get_preview_filename (GtkFileChooser *chooser); +char *gtk_file_chooser_get_preview_uri (GtkFileChooser *chooser); +GFile *gtk_file_chooser_get_preview_file (GtkFileChooser *chooser); + +/* Extra widget + */ +void gtk_file_chooser_set_extra_widget (GtkFileChooser *chooser, + GtkWidget *extra_widget); +GtkWidget *gtk_file_chooser_get_extra_widget (GtkFileChooser *chooser); + +/* List of user selectable filters + */ +void gtk_file_chooser_add_filter (GtkFileChooser *chooser, + GtkFileFilter *filter); +void gtk_file_chooser_remove_filter (GtkFileChooser *chooser, + GtkFileFilter *filter); +GSList *gtk_file_chooser_list_filters (GtkFileChooser *chooser); + +/* Current filter + */ +void gtk_file_chooser_set_filter (GtkFileChooser *chooser, + GtkFileFilter *filter); +GtkFileFilter *gtk_file_chooser_get_filter (GtkFileChooser *chooser); + +/* Per-application shortcut folders */ + +gboolean gtk_file_chooser_add_shortcut_folder (GtkFileChooser *chooser, + const char *folder, + GError **error); +gboolean gtk_file_chooser_remove_shortcut_folder (GtkFileChooser *chooser, + const char *folder, + GError **error); +GSList *gtk_file_chooser_list_shortcut_folders (GtkFileChooser *chooser); + +gboolean gtk_file_chooser_add_shortcut_folder_uri (GtkFileChooser *chooser, + const char *uri, + GError **error); +gboolean gtk_file_chooser_remove_shortcut_folder_uri (GtkFileChooser *chooser, + const char *uri, + GError **error); +GSList *gtk_file_chooser_list_shortcut_folder_uris (GtkFileChooser *chooser); + +G_END_DECLS + +#endif /* __GTK_FILE_CHOOSER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserbutton.h new file mode 100644 index 0000000..ae02a76 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserbutton.h @@ -0,0 +1,81 @@ +/* GTK+: gtkfilechooserbutton.h + * + * Copyright (c) 2004 James M. Cape + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FILE_CHOOSER_BUTTON_H__ +#define __GTK_FILE_CHOOSER_BUTTON_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_FILE_CHOOSER_BUTTON (gtk_file_chooser_button_get_type ()) +#define GTK_FILE_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButton)) +#define GTK_FILE_CHOOSER_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButtonClass)) +#define GTK_IS_FILE_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_BUTTON)) +#define GTK_IS_FILE_CHOOSER_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FILE_CHOOSER_BUTTON)) +#define GTK_FILE_CHOOSER_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButtonClass)) + +typedef struct _GtkFileChooserButton GtkFileChooserButton; +typedef struct _GtkFileChooserButtonPrivate GtkFileChooserButtonPrivate; +typedef struct _GtkFileChooserButtonClass GtkFileChooserButtonClass; + +struct _GtkFileChooserButton +{ + GtkBox parent; + + /*< private >*/ + GtkFileChooserButtonPrivate *priv; +}; + +struct _GtkFileChooserButtonClass +{ + /*< private >*/ + GtkBoxClass parent_class; + + void (* file_set) (GtkFileChooserButton *fc); + + /* Padding for future expansion */ + void (*__gtk_reserved1); + void (*__gtk_reserved2); + void (*__gtk_reserved3); + void (*__gtk_reserved4); +}; + + +GType gtk_file_chooser_button_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_file_chooser_button_new (const gchar *title, + GtkFileChooserAction action); +GtkWidget * gtk_file_chooser_button_new_with_dialog (GtkWidget *dialog); +const gchar * gtk_file_chooser_button_get_title (GtkFileChooserButton *button); +void gtk_file_chooser_button_set_title (GtkFileChooserButton *button, + const gchar *title); +gint gtk_file_chooser_button_get_width_chars (GtkFileChooserButton *button); +void gtk_file_chooser_button_set_width_chars (GtkFileChooserButton *button, + gint n_chars); +gboolean gtk_file_chooser_button_get_focus_on_click (GtkFileChooserButton *button); +void gtk_file_chooser_button_set_focus_on_click (GtkFileChooserButton *button, + gboolean focus_on_click); + +G_END_DECLS + +#endif /* !__GTK_FILE_CHOOSER_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserdialog.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserdialog.h new file mode 100644 index 0000000..1b5ec12 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserdialog.h @@ -0,0 +1,69 @@ +/* GTK - The GIMP Toolkit + * gtkfilechooserdialog.h: File selector dialog + * Copyright (C) 2003, Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FILE_CHOOSER_DIALOG_H__ +#define __GTK_FILE_CHOOSER_DIALOG_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_FILE_CHOOSER_DIALOG (gtk_file_chooser_dialog_get_type ()) +#define GTK_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG, GtkFileChooserDialog)) +#define GTK_FILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FILE_CHOOSER_DIALOG, GtkFileChooserDialogClass)) +#define GTK_IS_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG)) +#define GTK_IS_FILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FILE_CHOOSER_DIALOG)) +#define GTK_FILE_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG, GtkFileChooserDialogClass)) + +typedef struct _GtkFileChooserDialog GtkFileChooserDialog; +typedef struct _GtkFileChooserDialogPrivate GtkFileChooserDialogPrivate; +typedef struct _GtkFileChooserDialogClass GtkFileChooserDialogClass; + +struct _GtkFileChooserDialog +{ + GtkDialog parent_instance; + + GtkFileChooserDialogPrivate *priv; +}; + +struct _GtkFileChooserDialogClass +{ + GtkDialogClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_file_chooser_dialog_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_file_chooser_dialog_new (const gchar *title, + GtkWindow *parent, + GtkFileChooserAction action, + const gchar *first_button_text, + ...) G_GNUC_NULL_TERMINATED; + +G_END_DECLS + +#endif /* __GTK_FILE_CHOOSER_DIALOG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserwidget.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserwidget.h new file mode 100644 index 0000000..841567c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkfilechooserwidget.h @@ -0,0 +1,65 @@ +/* GTK - The GIMP Toolkit + * gtkfilechooserwidget.h: Embeddable file selector widget + * Copyright (C) 2003, Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FILE_CHOOSER_WIDGET_H__ +#define __GTK_FILE_CHOOSER_WIDGET_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_FILE_CHOOSER_WIDGET (gtk_file_chooser_widget_get_type ()) +#define GTK_FILE_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_WIDGET, GtkFileChooserWidget)) +#define GTK_FILE_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FILE_CHOOSER_WIDGET, GtkFileChooserWidgetClass)) +#define GTK_IS_FILE_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_WIDGET)) +#define GTK_IS_FILE_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FILE_CHOOSER_WIDGET)) +#define GTK_FILE_CHOOSER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FILE_CHOOSER_WIDGET, GtkFileChooserWidgetClass)) + +typedef struct _GtkFileChooserWidget GtkFileChooserWidget; +typedef struct _GtkFileChooserWidgetPrivate GtkFileChooserWidgetPrivate; +typedef struct _GtkFileChooserWidgetClass GtkFileChooserWidgetClass; + +struct _GtkFileChooserWidget +{ + GtkBox parent_instance; + + GtkFileChooserWidgetPrivate *priv; +}; + +struct _GtkFileChooserWidgetClass +{ + GtkBoxClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_file_chooser_widget_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_file_chooser_widget_new (GtkFileChooserAction action); + +G_END_DECLS + +#endif /* __GTK_FILE_CHOOSER_WIDGET_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkfilefilter.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkfilefilter.h new file mode 100644 index 0000000..b7c6c68 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkfilefilter.h @@ -0,0 +1,116 @@ +/* GTK - The GIMP Toolkit + * gtkfilefilter.h: Filters for selecting a file subset + * Copyright (C) 2003, Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FILE_FILTER_H__ +#define __GTK_FILE_FILTER_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_FILE_FILTER (gtk_file_filter_get_type ()) +#define GTK_FILE_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_FILTER, GtkFileFilter)) +#define GTK_IS_FILE_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_FILTER)) + +typedef struct _GtkFileFilter GtkFileFilter; +typedef struct _GtkFileFilterInfo GtkFileFilterInfo; + +/** + * GtkFileFilterFlags: + * @GTK_FILE_FILTER_FILENAME: the filename of the file being tested + * @GTK_FILE_FILTER_URI: the URI for the file being tested + * @GTK_FILE_FILTER_DISPLAY_NAME: the string that will be used to + * display the file in the file chooser + * @GTK_FILE_FILTER_MIME_TYPE: the mime type of the file + * + * These flags indicate what parts of a #GtkFileFilterInfo struct + * are filled or need to be filled. + */ +typedef enum { + GTK_FILE_FILTER_FILENAME = 1 << 0, + GTK_FILE_FILTER_URI = 1 << 1, + GTK_FILE_FILTER_DISPLAY_NAME = 1 << 2, + GTK_FILE_FILTER_MIME_TYPE = 1 << 3 +} GtkFileFilterFlags; + +/** + * GtkFileFilterFunc: + * @filter_info: a #GtkFileFilterInfo that is filled according + * to the @needed flags passed to gtk_file_filter_add_custom() + * @data: (closure): user data passed to gtk_file_filter_add_custom() + * + * The type of function that is used with custom filters, see + * gtk_file_filter_add_custom(). + * + * Returns: %TRUE if the file should be displayed + */ +typedef gboolean (*GtkFileFilterFunc) (const GtkFileFilterInfo *filter_info, + gpointer data); + +/** + * GtkFileFilterInfo: + * @contains: Flags indicating which of the following fields need + * are filled + * @filename: the filename of the file being tested + * @uri: the URI for the file being tested + * @display_name: the string that will be used to display the file + * in the file chooser + * @mime_type: the mime type of the file + * + * A #GtkFileFilterInfo struct is used to pass information about the + * tested file to gtk_file_filter_filter(). + */ +struct _GtkFileFilterInfo +{ + GtkFileFilterFlags contains; + + const gchar *filename; + const gchar *uri; + const gchar *display_name; + const gchar *mime_type; +}; + +GType gtk_file_filter_get_type (void) G_GNUC_CONST; + +GtkFileFilter * gtk_file_filter_new (void); +void gtk_file_filter_set_name (GtkFileFilter *filter, + const gchar *name); +const gchar * gtk_file_filter_get_name (GtkFileFilter *filter); + +void gtk_file_filter_add_mime_type (GtkFileFilter *filter, + const gchar *mime_type); +void gtk_file_filter_add_pattern (GtkFileFilter *filter, + const gchar *pattern); +void gtk_file_filter_add_pixbuf_formats (GtkFileFilter *filter); +void gtk_file_filter_add_custom (GtkFileFilter *filter, + GtkFileFilterFlags needed, + GtkFileFilterFunc func, + gpointer data, + GDestroyNotify notify); + +GtkFileFilterFlags gtk_file_filter_get_needed (GtkFileFilter *filter); +gboolean gtk_file_filter_filter (GtkFileFilter *filter, + const GtkFileFilterInfo *filter_info); + +G_END_DECLS + +#endif /* __GTK_FILE_FILTER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkfixed.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkfixed.h new file mode 100644 index 0000000..50a00ce --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkfixed.h @@ -0,0 +1,91 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FIXED_H__ +#define __GTK_FIXED_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_FIXED (gtk_fixed_get_type ()) +#define GTK_FIXED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FIXED, GtkFixed)) +#define GTK_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FIXED, GtkFixedClass)) +#define GTK_IS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FIXED)) +#define GTK_IS_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FIXED)) +#define GTK_FIXED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FIXED, GtkFixedClass)) + +typedef struct _GtkFixed GtkFixed; +typedef struct _GtkFixedPrivate GtkFixedPrivate; +typedef struct _GtkFixedClass GtkFixedClass; +typedef struct _GtkFixedChild GtkFixedChild; + +struct _GtkFixed +{ + GtkContainer container; + + /*< private >*/ + GtkFixedPrivate *priv; +}; + +struct _GtkFixedClass +{ + GtkContainerClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +struct _GtkFixedChild +{ + GtkWidget *widget; + gint x; + gint y; +}; + + +GType gtk_fixed_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_fixed_new (void); +void gtk_fixed_put (GtkFixed *fixed, + GtkWidget *widget, + gint x, + gint y); +void gtk_fixed_move (GtkFixed *fixed, + GtkWidget *widget, + gint x, + gint y); + + +G_END_DECLS + +#endif /* __GTK_FIXED_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkfontbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkfontbutton.h new file mode 100644 index 0000000..5175498 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkfontbutton.h @@ -0,0 +1,99 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1998 David Abilleira Freijeiro + * All rights reserved + * Based on gnome-color-picker by Federico Mena + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ +/* + * Modified by the GTK+ Team and others 2003. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FONT_BUTTON_H__ +#define __GTK_FONT_BUTTON_H__ + +#include + + +G_BEGIN_DECLS + +/* GtkFontButton is a button widget that allow user to select a font. + */ + +#define GTK_TYPE_FONT_BUTTON (gtk_font_button_get_type ()) +#define GTK_FONT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_BUTTON, GtkFontButton)) +#define GTK_FONT_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FONT_BUTTON, GtkFontButtonClass)) +#define GTK_IS_FONT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_BUTTON)) +#define GTK_IS_FONT_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FONT_BUTTON)) +#define GTK_FONT_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FONT_BUTTON, GtkFontButtonClass)) + +typedef struct _GtkFontButton GtkFontButton; +typedef struct _GtkFontButtonClass GtkFontButtonClass; +typedef struct _GtkFontButtonPrivate GtkFontButtonPrivate; + +struct _GtkFontButton { + GtkButton button; + + /*< private >*/ + GtkFontButtonPrivate *priv; +}; + +struct _GtkFontButtonClass { + GtkButtonClass parent_class; + + /* font_set signal is emitted when font is chosen */ + void (* font_set) (GtkFontButton *gfp); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_font_button_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_font_button_new (void); +GtkWidget *gtk_font_button_new_with_font (const gchar *fontname); + +const gchar * gtk_font_button_get_title (GtkFontButton *font_button); +void gtk_font_button_set_title (GtkFontButton *font_button, + const gchar *title); +gboolean gtk_font_button_get_use_font (GtkFontButton *font_button); +void gtk_font_button_set_use_font (GtkFontButton *font_button, + gboolean use_font); +gboolean gtk_font_button_get_use_size (GtkFontButton *font_button); +void gtk_font_button_set_use_size (GtkFontButton *font_button, + gboolean use_size); +const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); +gboolean gtk_font_button_set_font_name (GtkFontButton *font_button, + const gchar *fontname); +gboolean gtk_font_button_get_show_style (GtkFontButton *font_button); +void gtk_font_button_set_show_style (GtkFontButton *font_button, + gboolean show_style); +gboolean gtk_font_button_get_show_size (GtkFontButton *font_button); +void gtk_font_button_set_show_size (GtkFontButton *font_button, + gboolean show_size); + +G_END_DECLS + + +#endif /* __GTK_FONT_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooser.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooser.h new file mode 100644 index 0000000..93323f3 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooser.h @@ -0,0 +1,118 @@ +/* GTK - The GIMP Toolkit + * gtkfontchooser.h - Abstract interface for font file selectors GUIs + * + * Copyright (C) 2006, Emmanuele Bassi + * Copyright (C) 2011 Alberto Ruiz + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FONT_CHOOSER_H__ +#define __GTK_FONT_CHOOSER_H__ + +#include + +G_BEGIN_DECLS + +/** + * GtkFontFilterFunc: + * @family: a #PangoFontFamily + * @face: a #PangoFontFace belonging to @family + * @data: (closure): user data passed to gtk_font_chooser_set_filter_func() + * + * The type of function that is used for deciding what fonts get + * shown in a #GtkFontChooser. See gtk_font_chooser_set_filter_func(). + * + * Returns: %TRUE if the font should be displayed + */ +typedef gboolean (*GtkFontFilterFunc) (const PangoFontFamily *family, + const PangoFontFace *face, + gpointer data); + +#define GTK_TYPE_FONT_CHOOSER (gtk_font_chooser_get_type ()) +#define GTK_FONT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_CHOOSER, GtkFontChooser)) +#define GTK_IS_FONT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_CHOOSER)) +#define GTK_FONT_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_FONT_CHOOSER, GtkFontChooserIface)) + +typedef struct _GtkFontChooser GtkFontChooser; /* dummy */ +typedef struct _GtkFontChooserIface GtkFontChooserIface; + +struct _GtkFontChooserIface +{ + GTypeInterface base_iface; + + /* Methods */ + PangoFontFamily * (* get_font_family) (GtkFontChooser *chooser); + PangoFontFace * (* get_font_face) (GtkFontChooser *chooser); + gint (* get_font_size) (GtkFontChooser *chooser); + + void (* set_filter_func) (GtkFontChooser *chooser, + GtkFontFilterFunc filter, + gpointer data, + GDestroyNotify destroy); + + /* Signals */ + void (* font_activated) (GtkFontChooser *chooser, + const gchar *fontname); + + /* Padding */ + gpointer padding[12]; +}; + +GDK_AVAILABLE_IN_3_2 +GType gtk_font_chooser_get_type (void) G_GNUC_CONST; + +GDK_AVAILABLE_IN_3_2 +PangoFontFamily *gtk_font_chooser_get_font_family (GtkFontChooser *fontchooser); +GDK_AVAILABLE_IN_3_2 +PangoFontFace *gtk_font_chooser_get_font_face (GtkFontChooser *fontchooser); +GDK_AVAILABLE_IN_3_2 +gint gtk_font_chooser_get_font_size (GtkFontChooser *fontchooser); + +GDK_AVAILABLE_IN_3_2 +PangoFontDescription * + gtk_font_chooser_get_font_desc (GtkFontChooser *fontchooser); +GDK_AVAILABLE_IN_3_2 +void gtk_font_chooser_set_font_desc (GtkFontChooser *fontchooser, + const PangoFontDescription *font_desc); + +GDK_AVAILABLE_IN_3_2 +gchar* gtk_font_chooser_get_font (GtkFontChooser *fontchooser); + +GDK_AVAILABLE_IN_3_2 +void gtk_font_chooser_set_font (GtkFontChooser *fontchooser, + const gchar *fontname); +GDK_AVAILABLE_IN_3_2 +gchar* gtk_font_chooser_get_preview_text (GtkFontChooser *fontchooser); +GDK_AVAILABLE_IN_3_2 +void gtk_font_chooser_set_preview_text (GtkFontChooser *fontchooser, + const gchar *text); +GDK_AVAILABLE_IN_3_2 +gboolean gtk_font_chooser_get_show_preview_entry (GtkFontChooser *fontchooser); +GDK_AVAILABLE_IN_3_2 +void gtk_font_chooser_set_show_preview_entry (GtkFontChooser *fontchooser, + gboolean show_preview_entry); +GDK_AVAILABLE_IN_3_2 +void gtk_font_chooser_set_filter_func (GtkFontChooser *fontchooser, + GtkFontFilterFunc filter, + gpointer user_data, + GDestroyNotify destroy); + +G_END_DECLS + +#endif /* __GTK_FONT_CHOOSER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooserdialog.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooserdialog.h new file mode 100644 index 0000000..ad8d7c7 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooserdialog.h @@ -0,0 +1,67 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2011 Alberto Ruiz + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FONT_CHOOSER_DIALOG_H__ +#define __GTK_FONT_CHOOSER_DIALOG_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_FONT_CHOOSER_DIALOG (gtk_font_chooser_dialog_get_type ()) +#define GTK_FONT_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_CHOOSER_DIALOG, GtkFontChooserDialog)) +#define GTK_FONT_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FONT_CHOOSER_DIALOG, GtkFontChooserDialogClass)) +#define GTK_IS_FONT_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_CHOOSER_DIALOG)) +#define GTK_IS_FONT_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FONT_CHOOSER_DIALOG)) +#define GTK_FONT_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FONT_CHOOSER_DIALOG, GtkFontChooserDialogClass)) + +typedef struct _GtkFontChooserDialog GtkFontChooserDialog; +typedef struct _GtkFontChooserDialogPrivate GtkFontChooserDialogPrivate; +typedef struct _GtkFontChooserDialogClass GtkFontChooserDialogClass; + +struct _GtkFontChooserDialog +{ + GtkDialog parent_instance; + + /*< private >*/ + GtkFontChooserDialogPrivate *priv; +}; + +struct _GtkFontChooserDialogClass +{ + GtkDialogClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GDK_AVAILABLE_IN_3_2 +GType gtk_font_chooser_dialog_get_type (void) G_GNUC_CONST; +GDK_AVAILABLE_IN_3_2 +GtkWidget* gtk_font_chooser_dialog_new (const gchar *title, + GtkWindow *parent); + +G_END_DECLS + +#endif /* __GTK_FONT_CHOOSER_DIALOG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooserwidget.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooserwidget.h new file mode 100644 index 0000000..c998085 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkfontchooserwidget.h @@ -0,0 +1,71 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2011 Alberto Ruiz + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FONT_CHOOSER_WIDGET_H__ +#define __GTK_FONT_CHOOSER_WIDGET_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_FONT_CHOOSER_WIDGET (gtk_font_chooser_widget_get_type ()) +#define GTK_FONT_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_CHOOSER_WIDGET, GtkFontChooserWidget)) +#define GTK_FONT_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FONT_CHOOSER_WIDGET, GtkFontChooserWidgetClass)) +#define GTK_IS_FONT_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_CHOOSER_WIDGET)) +#define GTK_IS_FONT_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FONT_CHOOSER_WIDGET)) +#define GTK_FONT_CHOOSER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FONT_CHOOSER_WIDGET, GtkFontChooserWidgetClass)) + +typedef struct _GtkFontChooserWidget GtkFontChooserWidget; +typedef struct _GtkFontChooserWidgetPrivate GtkFontChooserWidgetPrivate; +typedef struct _GtkFontChooserWidgetClass GtkFontChooserWidgetClass; + +struct _GtkFontChooserWidget +{ + GtkBox parent_instance; + + /*< private >*/ + GtkFontChooserWidgetPrivate *priv; +}; + +struct _GtkFontChooserWidgetClass +{ + GtkBoxClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +GDK_AVAILABLE_IN_3_2 +GType gtk_font_chooser_widget_get_type (void) G_GNUC_CONST; + +GDK_AVAILABLE_IN_3_2 +GtkWidget* gtk_font_chooser_widget_new (void); + +G_END_DECLS + +#endif /* __GTK_FONT_CHOOSER_WIDGET_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkframe.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkframe.h new file mode 100644 index 0000000..2d981f0 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkframe.h @@ -0,0 +1,96 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_FRAME_H__ +#define __GTK_FRAME_H__ + + +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_FRAME (gtk_frame_get_type ()) +#define GTK_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FRAME, GtkFrame)) +#define GTK_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FRAME, GtkFrameClass)) +#define GTK_IS_FRAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FRAME)) +#define GTK_IS_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FRAME)) +#define GTK_FRAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FRAME, GtkFrameClass)) + +typedef struct _GtkFrame GtkFrame; +typedef struct _GtkFramePrivate GtkFramePrivate; +typedef struct _GtkFrameClass GtkFrameClass; + +struct _GtkFrame +{ + GtkBin bin; + + /*< private >*/ + GtkFramePrivate *priv; +}; + +struct _GtkFrameClass +{ + GtkBinClass parent_class; + + void (*compute_child_allocation) (GtkFrame *frame, GtkAllocation *allocation); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_frame_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_frame_new (const gchar *label); + +void gtk_frame_set_label (GtkFrame *frame, + const gchar *label); +const gchar * gtk_frame_get_label (GtkFrame *frame); + +void gtk_frame_set_label_widget (GtkFrame *frame, + GtkWidget *label_widget); +GtkWidget *gtk_frame_get_label_widget (GtkFrame *frame); +void gtk_frame_set_label_align (GtkFrame *frame, + gfloat xalign, + gfloat yalign); +void gtk_frame_get_label_align (GtkFrame *frame, + gfloat *xalign, + gfloat *yalign); +void gtk_frame_set_shadow_type (GtkFrame *frame, + GtkShadowType type); +GtkShadowType gtk_frame_get_shadow_type (GtkFrame *frame); + + +G_END_DECLS + + +#endif /* __GTK_FRAME_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkgradient.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkgradient.h new file mode 100644 index 0000000..59a0710 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkgradient.h @@ -0,0 +1,66 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Carlos Garnacho + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_GRADIENT_H__ +#define __GTK_GRADIENT_H__ + +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_GRADIENT (gtk_gradient_get_type ()) + +GType gtk_gradient_get_type (void) G_GNUC_CONST; + +GtkGradient * gtk_gradient_new_linear (gdouble x0, + gdouble y0, + gdouble x1, + gdouble y1); +GtkGradient * gtk_gradient_new_radial (gdouble x0, + gdouble y0, + gdouble radius0, + gdouble x1, + gdouble y1, + gdouble radius1); + +void gtk_gradient_add_color_stop (GtkGradient *gradient, + gdouble offset, + GtkSymbolicColor *color); + +GtkGradient * gtk_gradient_ref (GtkGradient *gradient); +void gtk_gradient_unref (GtkGradient *gradient); + +gboolean gtk_gradient_resolve (GtkGradient *gradient, + GtkStyleProperties *props, + cairo_pattern_t **resolved_gradient); +cairo_pattern_t * + gtk_gradient_resolve_for_context + (GtkGradient *gradient, + GtkStyleContext *context); + +char * gtk_gradient_to_string (GtkGradient *gradient); + +G_END_DECLS + +#endif /* __GTK_GRADIENT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkgrid.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkgrid.h new file mode 100644 index 0000000..0c72d19 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkgrid.h @@ -0,0 +1,110 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Red Hat, Inc. + * Author: Matthias Clasen + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_GRID_H__ +#define __GTK_GRID_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_GRID (gtk_grid_get_type ()) +#define GTK_GRID(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_GRID, GtkGrid)) +#define GTK_GRID_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_GRID, GtkGridClass)) +#define GTK_IS_GRID(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_GRID)) +#define GTK_IS_GRID_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_GRID)) +#define GTK_GRID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_GRID, GtkGridClass)) + + +typedef struct _GtkGrid GtkGrid; +typedef struct _GtkGridPrivate GtkGridPrivate; +typedef struct _GtkGridClass GtkGridClass; + +struct _GtkGrid +{ + /*< private >*/ + GtkContainer container; + + GtkGridPrivate *priv; +}; + +struct _GtkGridClass +{ + GtkContainerClass parent_class; + + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +GType gtk_grid_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_grid_new (void); +void gtk_grid_attach (GtkGrid *grid, + GtkWidget *child, + gint left, + gint top, + gint width, + gint height); +void gtk_grid_attach_next_to (GtkGrid *grid, + GtkWidget *child, + GtkWidget *sibling, + GtkPositionType side, + gint width, + gint height); +GDK_AVAILABLE_IN_3_2 +GtkWidget *gtk_grid_get_child_at (GtkGrid *grid, + gint left, + gint top); +GDK_AVAILABLE_IN_3_2 +void gtk_grid_insert_row (GtkGrid *grid, + gint position); +GDK_AVAILABLE_IN_3_2 +void gtk_grid_insert_column (GtkGrid *grid, + gint position); +GDK_AVAILABLE_IN_3_2 +void gtk_grid_insert_next_to (GtkGrid *grid, + GtkWidget *sibling, + GtkPositionType side); +void gtk_grid_set_row_homogeneous (GtkGrid *grid, + gboolean homogeneous); +gboolean gtk_grid_get_row_homogeneous (GtkGrid *grid); +void gtk_grid_set_row_spacing (GtkGrid *grid, + guint spacing); +guint gtk_grid_get_row_spacing (GtkGrid *grid); +void gtk_grid_set_column_homogeneous (GtkGrid *grid, + gboolean homogeneous); +gboolean gtk_grid_get_column_homogeneous (GtkGrid *grid); +void gtk_grid_set_column_spacing (GtkGrid *grid, + guint spacing); +guint gtk_grid_get_column_spacing (GtkGrid *grid); + + +G_END_DECLS + +#endif /* __GTK_GRID_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkiconfactory.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkiconfactory.h new file mode 100644 index 0000000..8e49e62 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkiconfactory.h @@ -0,0 +1,183 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ICON_FACTORY_H__ +#define __GTK_ICON_FACTORY_H__ + +#include +#include +#include + +G_BEGIN_DECLS + + +#define GTK_TYPE_ICON_FACTORY (gtk_icon_factory_get_type ()) +#define GTK_ICON_FACTORY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ICON_FACTORY, GtkIconFactory)) +#define GTK_ICON_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ICON_FACTORY, GtkIconFactoryClass)) +#define GTK_IS_ICON_FACTORY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ICON_FACTORY)) +#define GTK_IS_ICON_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ICON_FACTORY)) +#define GTK_ICON_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ICON_FACTORY, GtkIconFactoryClass)) +#define GTK_TYPE_ICON_SET (gtk_icon_set_get_type ()) +#define GTK_TYPE_ICON_SOURCE (gtk_icon_source_get_type ()) + +typedef struct _GtkIconFactory GtkIconFactory; +typedef struct _GtkIconFactoryPrivate GtkIconFactoryPrivate; +typedef struct _GtkIconFactoryClass GtkIconFactoryClass; + +struct _GtkIconFactory +{ + GObject parent_instance; + + /*< private >*/ + GtkIconFactoryPrivate *priv; +}; + +struct _GtkIconFactoryClass +{ + GObjectClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_icon_factory_get_type (void) G_GNUC_CONST; +GtkIconFactory* gtk_icon_factory_new (void); +void gtk_icon_factory_add (GtkIconFactory *factory, + const gchar *stock_id, + GtkIconSet *icon_set); +GtkIconSet* gtk_icon_factory_lookup (GtkIconFactory *factory, + const gchar *stock_id); + +/* Manage the default icon factory stack */ + +void gtk_icon_factory_add_default (GtkIconFactory *factory); +void gtk_icon_factory_remove_default (GtkIconFactory *factory); +GtkIconSet* gtk_icon_factory_lookup_default (const gchar *stock_id); + +/* Get preferred real size from registered semantic size. Note that + * themes SHOULD use this size, but they aren't required to; for size + * requests and such, you should get the actual pixbuf from the icon + * set and see what size was rendered. + * + * This function is intended for people who are scaling icons, + * rather than for people who are displaying already-scaled icons. + * That is, if you are displaying an icon, you should get the + * size from the rendered pixbuf, not from here. + */ + +#ifndef GDK_MULTIHEAD_SAFE +gboolean gtk_icon_size_lookup (GtkIconSize size, + gint *width, + gint *height); +#endif /* GDK_MULTIHEAD_SAFE */ +gboolean gtk_icon_size_lookup_for_settings (GtkSettings *settings, + GtkIconSize size, + gint *width, + gint *height); + +GtkIconSize gtk_icon_size_register (const gchar *name, + gint width, + gint height); +void gtk_icon_size_register_alias (const gchar *alias, + GtkIconSize target); +GtkIconSize gtk_icon_size_from_name (const gchar *name); +const gchar* gtk_icon_size_get_name (GtkIconSize size); + +/* Icon sets */ + +GType gtk_icon_set_get_type (void) G_GNUC_CONST; +GtkIconSet* gtk_icon_set_new (void); +GtkIconSet* gtk_icon_set_new_from_pixbuf (GdkPixbuf *pixbuf); + +GtkIconSet* gtk_icon_set_ref (GtkIconSet *icon_set); +void gtk_icon_set_unref (GtkIconSet *icon_set); +GtkIconSet* gtk_icon_set_copy (GtkIconSet *icon_set); + +GDK_DEPRECATED_IN_3_0_FOR(gtk_icon_set_render_icon_pixbuf) +GdkPixbuf* gtk_icon_set_render_icon (GtkIconSet *icon_set, + GtkStyle *style, + GtkTextDirection direction, + GtkStateType state, + GtkIconSize size, + GtkWidget *widget, + const gchar *detail); + +void gtk_icon_set_add_source (GtkIconSet *icon_set, + const GtkIconSource *source); + +void gtk_icon_set_get_sizes (GtkIconSet *icon_set, + GtkIconSize **sizes, + gint *n_sizes); + +GType gtk_icon_source_get_type (void) G_GNUC_CONST; +GtkIconSource* gtk_icon_source_new (void); +GtkIconSource* gtk_icon_source_copy (const GtkIconSource *source); +void gtk_icon_source_free (GtkIconSource *source); + +void gtk_icon_source_set_filename (GtkIconSource *source, + const gchar *filename); +void gtk_icon_source_set_icon_name (GtkIconSource *source, + const gchar *icon_name); +void gtk_icon_source_set_pixbuf (GtkIconSource *source, + GdkPixbuf *pixbuf); + +const gchar * gtk_icon_source_get_filename (const GtkIconSource *source); +const gchar * gtk_icon_source_get_icon_name (const GtkIconSource *source); +GdkPixbuf* gtk_icon_source_get_pixbuf (const GtkIconSource *source); + +void gtk_icon_source_set_direction_wildcarded (GtkIconSource *source, + gboolean setting); +void gtk_icon_source_set_state_wildcarded (GtkIconSource *source, + gboolean setting); +void gtk_icon_source_set_size_wildcarded (GtkIconSource *source, + gboolean setting); +gboolean gtk_icon_source_get_size_wildcarded (const GtkIconSource *source); +gboolean gtk_icon_source_get_state_wildcarded (const GtkIconSource *source); +gboolean gtk_icon_source_get_direction_wildcarded (const GtkIconSource *source); +void gtk_icon_source_set_direction (GtkIconSource *source, + GtkTextDirection direction); +void gtk_icon_source_set_state (GtkIconSource *source, + GtkStateType state); +void gtk_icon_source_set_size (GtkIconSource *source, + GtkIconSize size); +GtkTextDirection gtk_icon_source_get_direction (const GtkIconSource *source); +GtkStateType gtk_icon_source_get_state (const GtkIconSource *source); +GtkIconSize gtk_icon_source_get_size (const GtkIconSource *source); + + +/* ignore this */ +void _gtk_icon_set_invalidate_caches (void); +GList* _gtk_icon_factory_list_ids (void); +void _gtk_icon_factory_ensure_default_icons (void); + +G_END_DECLS + +#endif /* __GTK_ICON_FACTORY_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkicontheme.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkicontheme.h new file mode 100644 index 0000000..3ecae6e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkicontheme.h @@ -0,0 +1,233 @@ +/* GtkIconTheme - a loader for icon themes + * gtk-icon-loader.h Copyright (C) 2002, 2003 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ICON_THEME_H__ +#define __GTK_ICON_THEME_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ICON_INFO (gtk_icon_info_get_type ()) + +#define GTK_TYPE_ICON_THEME (gtk_icon_theme_get_type ()) +#define GTK_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_THEME, GtkIconTheme)) +#define GTK_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ICON_THEME, GtkIconThemeClass)) +#define GTK_IS_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_THEME)) +#define GTK_IS_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ICON_THEME)) +#define GTK_ICON_THEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ICON_THEME, GtkIconThemeClass)) + +/** + * GtkIconInfo: + * + * Contains information found when looking up an icon in + * an icon theme. + */ +typedef struct _GtkIconInfo GtkIconInfo; +typedef struct _GtkIconTheme GtkIconTheme; +typedef struct _GtkIconThemeClass GtkIconThemeClass; +typedef struct _GtkIconThemePrivate GtkIconThemePrivate; + +/** + * GtkIconTheme: + * + * Acts as a database of information about an icon theme. + * Normally, you retrieve the icon theme for a particular + * screen using gtk_icon_theme_get_for_screen() and it + * will contain information about current icon theme for + * that screen, but you can also create a new #GtkIconTheme + * object and set the icon theme name explicitely using + * gtk_icon_theme_set_custom_theme(). + */ +struct _GtkIconTheme +{ + /*< private >*/ + GObject parent_instance; + + GtkIconThemePrivate *priv; +}; + +struct _GtkIconThemeClass +{ + GObjectClass parent_class; + + void (* changed) (GtkIconTheme *icon_theme); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +/** + * GtkIconLookupFlags: + * @GTK_ICON_LOOKUP_NO_SVG: Never return SVG icons, even if gdk-pixbuf + * supports them. Cannot be used together with %GTK_ICON_LOOKUP_FORCE_SVG. + * @GTK_ICON_LOOKUP_FORCE_SVG: Return SVG icons, even if gdk-pixbuf + * doesn't support them. + * Cannot be used together with %GTK_ICON_LOOKUP_NO_SVG. + * @GTK_ICON_LOOKUP_USE_BUILTIN: When passed to + * gtk_icon_theme_lookup_icon() includes builtin icons + * as well as files. For a builtin icon, gtk_icon_info_get_filename() + * returns %NULL and you need to call gtk_icon_info_get_builtin_pixbuf(). + * @GTK_ICON_LOOKUP_GENERIC_FALLBACK: Try to shorten icon name at '-' + * characters before looking at inherited themes. For more general + * fallback, see gtk_icon_theme_choose_icon(). Since 2.12. + * @GTK_ICON_LOOKUP_FORCE_SIZE: Always return the icon scaled to the + * requested size. Since 2.14. + * + * Used to specify options for gtk_icon_theme_lookup_icon() + **/ +typedef enum +{ + GTK_ICON_LOOKUP_NO_SVG = 1 << 0, + GTK_ICON_LOOKUP_FORCE_SVG = 1 << 1, + GTK_ICON_LOOKUP_USE_BUILTIN = 1 << 2, + GTK_ICON_LOOKUP_GENERIC_FALLBACK = 1 << 3, + GTK_ICON_LOOKUP_FORCE_SIZE = 1 << 4 +} GtkIconLookupFlags; + +/** + * GTK_ICON_THEME_ERROR: + * + * The #GQuark used for #GtkIconThemeError errors. + */ +#define GTK_ICON_THEME_ERROR gtk_icon_theme_error_quark () + +/** + * GtkIconThemeError: + * @GTK_ICON_THEME_NOT_FOUND: The icon specified does not exist in the theme + * @GTK_ICON_THEME_FAILED: An unspecified error occurred. + * + * Error codes for GtkIconTheme operations. + **/ +typedef enum { + GTK_ICON_THEME_NOT_FOUND, + GTK_ICON_THEME_FAILED +} GtkIconThemeError; + +GQuark gtk_icon_theme_error_quark (void); + +GType gtk_icon_theme_get_type (void) G_GNUC_CONST; + +GtkIconTheme *gtk_icon_theme_new (void); +GtkIconTheme *gtk_icon_theme_get_default (void); +GtkIconTheme *gtk_icon_theme_get_for_screen (GdkScreen *screen); +void gtk_icon_theme_set_screen (GtkIconTheme *icon_theme, + GdkScreen *screen); + +void gtk_icon_theme_set_search_path (GtkIconTheme *icon_theme, + const gchar *path[], + gint n_elements); +void gtk_icon_theme_get_search_path (GtkIconTheme *icon_theme, + gchar **path[], + gint *n_elements); +void gtk_icon_theme_append_search_path (GtkIconTheme *icon_theme, + const gchar *path); +void gtk_icon_theme_prepend_search_path (GtkIconTheme *icon_theme, + const gchar *path); + +void gtk_icon_theme_set_custom_theme (GtkIconTheme *icon_theme, + const gchar *theme_name); + +gboolean gtk_icon_theme_has_icon (GtkIconTheme *icon_theme, + const gchar *icon_name); +gint *gtk_icon_theme_get_icon_sizes (GtkIconTheme *icon_theme, + const gchar *icon_name); +GtkIconInfo * gtk_icon_theme_lookup_icon (GtkIconTheme *icon_theme, + const gchar *icon_name, + gint size, + GtkIconLookupFlags flags); +GtkIconInfo * gtk_icon_theme_choose_icon (GtkIconTheme *icon_theme, + const gchar *icon_names[], + gint size, + GtkIconLookupFlags flags); +GdkPixbuf * gtk_icon_theme_load_icon (GtkIconTheme *icon_theme, + const gchar *icon_name, + gint size, + GtkIconLookupFlags flags, + GError **error); + +GtkIconInfo * gtk_icon_theme_lookup_by_gicon (GtkIconTheme *icon_theme, + GIcon *icon, + gint size, + GtkIconLookupFlags flags); + +GList * gtk_icon_theme_list_icons (GtkIconTheme *icon_theme, + const gchar *context); +GList * gtk_icon_theme_list_contexts (GtkIconTheme *icon_theme); +char * gtk_icon_theme_get_example_icon_name (GtkIconTheme *icon_theme); + +gboolean gtk_icon_theme_rescan_if_needed (GtkIconTheme *icon_theme); + +void gtk_icon_theme_add_builtin_icon (const gchar *icon_name, + gint size, + GdkPixbuf *pixbuf); + +GType gtk_icon_info_get_type (void) G_GNUC_CONST; +GtkIconInfo * gtk_icon_info_copy (GtkIconInfo *icon_info); +void gtk_icon_info_free (GtkIconInfo *icon_info); + +GtkIconInfo * gtk_icon_info_new_for_pixbuf (GtkIconTheme *icon_theme, + GdkPixbuf *pixbuf); + +gint gtk_icon_info_get_base_size (GtkIconInfo *icon_info); +const gchar * gtk_icon_info_get_filename (GtkIconInfo *icon_info); +GdkPixbuf * gtk_icon_info_get_builtin_pixbuf (GtkIconInfo *icon_info); +GdkPixbuf * gtk_icon_info_load_icon (GtkIconInfo *icon_info, + GError **error); +GdkPixbuf * gtk_icon_info_load_symbolic (GtkIconInfo *icon_info, + const GdkRGBA *fg, + const GdkRGBA *success_color, + const GdkRGBA *warning_color, + const GdkRGBA *error_color, + gboolean *was_symbolic, + GError **error); +GdkPixbuf * gtk_icon_info_load_symbolic_for_context (GtkIconInfo *icon_info, + GtkStyleContext *context, + gboolean *was_symbolic, + GError **error); +GDK_DEPRECATED_IN_3_0_FOR(gtk_icon_info_load_symbol_for_context) +GdkPixbuf * gtk_icon_info_load_symbolic_for_style (GtkIconInfo *icon_info, + GtkStyle *style, + GtkStateType state, + gboolean *was_symbolic, + GError **error); +void gtk_icon_info_set_raw_coordinates (GtkIconInfo *icon_info, + gboolean raw_coordinates); + +gboolean gtk_icon_info_get_embedded_rect (GtkIconInfo *icon_info, + GdkRectangle *rectangle); +gboolean gtk_icon_info_get_attach_points (GtkIconInfo *icon_info, + GdkPoint **points, + gint *n_points); +const gchar * gtk_icon_info_get_display_name (GtkIconInfo *icon_info); + +/* Non-public methods */ +void _gtk_icon_theme_check_reload (GdkDisplay *display); +void _gtk_icon_theme_ensure_builtin_cache (void); + +G_END_DECLS + +#endif /* __GTK_ICON_THEME_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkiconview.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkiconview.h new file mode 100644 index 0000000..6e9f6c4 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkiconview.h @@ -0,0 +1,261 @@ +/* gtkiconview.h + * Copyright (C) 2002, 2004 Anders Carlsson + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ICON_VIEW_H__ +#define __GTK_ICON_VIEW_H__ + +#include +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ICON_VIEW (gtk_icon_view_get_type ()) +#define GTK_ICON_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_VIEW, GtkIconView)) +#define GTK_ICON_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ICON_VIEW, GtkIconViewClass)) +#define GTK_IS_ICON_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_VIEW)) +#define GTK_IS_ICON_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ICON_VIEW)) +#define GTK_ICON_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ICON_VIEW, GtkIconViewClass)) + +typedef struct _GtkIconView GtkIconView; +typedef struct _GtkIconViewClass GtkIconViewClass; +typedef struct _GtkIconViewPrivate GtkIconViewPrivate; + +/** + * GtkIconViewForeachFunc: + * @icon_view: a #GtkIconView + * @path: The #GtkTreePath of a selected row + * @data: user data + * + * A function used by gtk_icon_view_selected_foreach() to map all + * selected rows. It will be called on every selected row in the view. + */ +typedef void (* GtkIconViewForeachFunc) (GtkIconView *icon_view, + GtkTreePath *path, + gpointer data); + +/** + * GtkIconViewDropPosition: + * @GTK_ICON_VIEW_NO_DROP: no drop possible + * @GTK_ICON_VIEW_DROP_INTO: dropped item replaces the item + * @GTK_ICON_VIEW_DROP_LEFT: droppped item is inserted to the left + * @GTK_ICON_VIEW_DROP_RIGHT: dropped item is inserted to the right + * @GTK_ICON_VIEW_DROP_ABOVE: dropped item is inserted above + * @GTK_ICON_VIEW_DROP_BELOW: dropped item is inserted below + * + * An enum for determining where a dropped item goes. + */ +typedef enum +{ + GTK_ICON_VIEW_NO_DROP, + GTK_ICON_VIEW_DROP_INTO, + GTK_ICON_VIEW_DROP_LEFT, + GTK_ICON_VIEW_DROP_RIGHT, + GTK_ICON_VIEW_DROP_ABOVE, + GTK_ICON_VIEW_DROP_BELOW +} GtkIconViewDropPosition; + +struct _GtkIconView +{ + GtkContainer parent; + + /*< private >*/ + GtkIconViewPrivate *priv; +}; + +struct _GtkIconViewClass +{ + GtkContainerClass parent_class; + + void (* item_activated) (GtkIconView *icon_view, + GtkTreePath *path); + void (* selection_changed) (GtkIconView *icon_view); + + /* Key binding signals */ + void (* select_all) (GtkIconView *icon_view); + void (* unselect_all) (GtkIconView *icon_view); + void (* select_cursor_item) (GtkIconView *icon_view); + void (* toggle_cursor_item) (GtkIconView *icon_view); + gboolean (* move_cursor) (GtkIconView *icon_view, + GtkMovementStep step, + gint count); + gboolean (* activate_cursor_item) (GtkIconView *icon_view); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_icon_view_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_icon_view_new (void); +GtkWidget * gtk_icon_view_new_with_area (GtkCellArea *area); +GtkWidget * gtk_icon_view_new_with_model (GtkTreeModel *model); + +void gtk_icon_view_set_model (GtkIconView *icon_view, + GtkTreeModel *model); +GtkTreeModel * gtk_icon_view_get_model (GtkIconView *icon_view); +void gtk_icon_view_set_text_column (GtkIconView *icon_view, + gint column); +gint gtk_icon_view_get_text_column (GtkIconView *icon_view); +void gtk_icon_view_set_markup_column (GtkIconView *icon_view, + gint column); +gint gtk_icon_view_get_markup_column (GtkIconView *icon_view); +void gtk_icon_view_set_pixbuf_column (GtkIconView *icon_view, + gint column); +gint gtk_icon_view_get_pixbuf_column (GtkIconView *icon_view); + +void gtk_icon_view_set_item_orientation (GtkIconView *icon_view, + GtkOrientation orientation); +GtkOrientation gtk_icon_view_get_item_orientation (GtkIconView *icon_view); +void gtk_icon_view_set_columns (GtkIconView *icon_view, + gint columns); +gint gtk_icon_view_get_columns (GtkIconView *icon_view); +void gtk_icon_view_set_item_width (GtkIconView *icon_view, + gint item_width); +gint gtk_icon_view_get_item_width (GtkIconView *icon_view); +void gtk_icon_view_set_spacing (GtkIconView *icon_view, + gint spacing); +gint gtk_icon_view_get_spacing (GtkIconView *icon_view); +void gtk_icon_view_set_row_spacing (GtkIconView *icon_view, + gint row_spacing); +gint gtk_icon_view_get_row_spacing (GtkIconView *icon_view); +void gtk_icon_view_set_column_spacing (GtkIconView *icon_view, + gint column_spacing); +gint gtk_icon_view_get_column_spacing (GtkIconView *icon_view); +void gtk_icon_view_set_margin (GtkIconView *icon_view, + gint margin); +gint gtk_icon_view_get_margin (GtkIconView *icon_view); +void gtk_icon_view_set_item_padding (GtkIconView *icon_view, + gint item_padding); +gint gtk_icon_view_get_item_padding (GtkIconView *icon_view); + +GtkTreePath * gtk_icon_view_get_path_at_pos (GtkIconView *icon_view, + gint x, + gint y); +gboolean gtk_icon_view_get_item_at_pos (GtkIconView *icon_view, + gint x, + gint y, + GtkTreePath **path, + GtkCellRenderer **cell); +gboolean gtk_icon_view_get_visible_range (GtkIconView *icon_view, + GtkTreePath **start_path, + GtkTreePath **end_path); + +void gtk_icon_view_selected_foreach (GtkIconView *icon_view, + GtkIconViewForeachFunc func, + gpointer data); +void gtk_icon_view_set_selection_mode (GtkIconView *icon_view, + GtkSelectionMode mode); +GtkSelectionMode gtk_icon_view_get_selection_mode (GtkIconView *icon_view); +void gtk_icon_view_select_path (GtkIconView *icon_view, + GtkTreePath *path); +void gtk_icon_view_unselect_path (GtkIconView *icon_view, + GtkTreePath *path); +gboolean gtk_icon_view_path_is_selected (GtkIconView *icon_view, + GtkTreePath *path); +gint gtk_icon_view_get_item_row (GtkIconView *icon_view, + GtkTreePath *path); +gint gtk_icon_view_get_item_column (GtkIconView *icon_view, + GtkTreePath *path); +GList *gtk_icon_view_get_selected_items (GtkIconView *icon_view); +void gtk_icon_view_select_all (GtkIconView *icon_view); +void gtk_icon_view_unselect_all (GtkIconView *icon_view); +void gtk_icon_view_item_activated (GtkIconView *icon_view, + GtkTreePath *path); +void gtk_icon_view_set_cursor (GtkIconView *icon_view, + GtkTreePath *path, + GtkCellRenderer *cell, + gboolean start_editing); +gboolean gtk_icon_view_get_cursor (GtkIconView *icon_view, + GtkTreePath **path, + GtkCellRenderer **cell); +void gtk_icon_view_scroll_to_path (GtkIconView *icon_view, + GtkTreePath *path, + gboolean use_align, + gfloat row_align, + gfloat col_align); + +/* Drag-and-Drop support */ +void gtk_icon_view_enable_model_drag_source (GtkIconView *icon_view, + GdkModifierType start_button_mask, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions); +void gtk_icon_view_enable_model_drag_dest (GtkIconView *icon_view, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions); +void gtk_icon_view_unset_model_drag_source (GtkIconView *icon_view); +void gtk_icon_view_unset_model_drag_dest (GtkIconView *icon_view); +void gtk_icon_view_set_reorderable (GtkIconView *icon_view, + gboolean reorderable); +gboolean gtk_icon_view_get_reorderable (GtkIconView *icon_view); + + +/* These are useful to implement your own custom stuff. */ +void gtk_icon_view_set_drag_dest_item (GtkIconView *icon_view, + GtkTreePath *path, + GtkIconViewDropPosition pos); +void gtk_icon_view_get_drag_dest_item (GtkIconView *icon_view, + GtkTreePath **path, + GtkIconViewDropPosition *pos); +gboolean gtk_icon_view_get_dest_item_at_pos (GtkIconView *icon_view, + gint drag_x, + gint drag_y, + GtkTreePath **path, + GtkIconViewDropPosition *pos); +cairo_surface_t *gtk_icon_view_create_drag_icon (GtkIconView *icon_view, + GtkTreePath *path); + +void gtk_icon_view_convert_widget_to_bin_window_coords (GtkIconView *icon_view, + gint wx, + gint wy, + gint *bx, + gint *by); + + +void gtk_icon_view_set_tooltip_item (GtkIconView *icon_view, + GtkTooltip *tooltip, + GtkTreePath *path); +void gtk_icon_view_set_tooltip_cell (GtkIconView *icon_view, + GtkTooltip *tooltip, + GtkTreePath *path, + GtkCellRenderer *cell); +gboolean gtk_icon_view_get_tooltip_context (GtkIconView *icon_view, + gint *x, + gint *y, + gboolean keyboard_tip, + GtkTreeModel **model, + GtkTreePath **path, + GtkTreeIter *iter); +void gtk_icon_view_set_tooltip_column (GtkIconView *icon_view, + gint column); +gint gtk_icon_view_get_tooltip_column (GtkIconView *icon_view); + + +G_END_DECLS + +#endif /* __GTK_ICON_VIEW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkimage.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkimage.h new file mode 100644 index 0000000..6fb4532 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkimage.h @@ -0,0 +1,168 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_IMAGE_H__ +#define __GTK_IMAGE_H__ + + +#include +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_IMAGE (gtk_image_get_type ()) +#define GTK_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE, GtkImage)) +#define GTK_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IMAGE, GtkImageClass)) +#define GTK_IS_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE)) +#define GTK_IS_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IMAGE)) +#define GTK_IMAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IMAGE, GtkImageClass)) + + +typedef struct _GtkImage GtkImage; +typedef struct _GtkImagePrivate GtkImagePrivate; +typedef struct _GtkImageClass GtkImageClass; + +/** + * GtkImageType: + * @GTK_IMAGE_EMPTY: there is no image displayed by the widget + * @GTK_IMAGE_PIXBUF: the widget contains a #GdkPixbuf + * @GTK_IMAGE_STOCK: the widget contains a stock icon name (see + * ) + * @GTK_IMAGE_ICON_SET: the widget contains a #GtkIconSet + * @GTK_IMAGE_ANIMATION: the widget contains a #GdkPixbufAnimation + * @GTK_IMAGE_ICON_NAME: the widget contains a named icon. + * This image type was added in GTK+ 2.6 + * @GTK_IMAGE_GICON: the widget contains a #GIcon. + * This image type was added in GTK+ 2.14 + * + * Describes the image data representation used by a #GtkImage. If you + * want to get the image from the widget, you can only get the + * currently-stored representation. e.g. if the + * gtk_image_get_storage_type() returns #GTK_IMAGE_PIXBUF, then you can + * call gtk_image_get_pixbuf() but not gtk_image_get_stock(). For empty + * images, you can request any storage type (call any of the "get" + * functions), but they will all return %NULL values. + */ +typedef enum +{ + GTK_IMAGE_EMPTY, + GTK_IMAGE_PIXBUF, + GTK_IMAGE_STOCK, + GTK_IMAGE_ICON_SET, + GTK_IMAGE_ANIMATION, + GTK_IMAGE_ICON_NAME, + GTK_IMAGE_GICON +} GtkImageType; + +/** + * GtkImage: + * + * This struct contain private data only and should be accessed by the functions + * below. + */ +struct _GtkImage +{ + GtkMisc misc; + + /*< private >*/ + GtkImagePrivate *priv; +}; + +struct _GtkImageClass +{ + GtkMiscClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_image_get_type (void) G_GNUC_CONST; + +GtkWidget* gtk_image_new (void); +GtkWidget* gtk_image_new_from_file (const gchar *filename); +GtkWidget* gtk_image_new_from_resource (const gchar *resource_path); +GtkWidget* gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf); +GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, + GtkIconSize size); +GtkWidget* gtk_image_new_from_icon_set (GtkIconSet *icon_set, + GtkIconSize size); +GtkWidget* gtk_image_new_from_animation (GdkPixbufAnimation *animation); +GtkWidget* gtk_image_new_from_icon_name (const gchar *icon_name, + GtkIconSize size); +GtkWidget* gtk_image_new_from_gicon (GIcon *icon, + GtkIconSize size); + +void gtk_image_clear (GtkImage *image); +void gtk_image_set_from_file (GtkImage *image, + const gchar *filename); +void gtk_image_set_from_resource (GtkImage *image, + const gchar *resource_path); +void gtk_image_set_from_pixbuf (GtkImage *image, + GdkPixbuf *pixbuf); +void gtk_image_set_from_stock (GtkImage *image, + const gchar *stock_id, + GtkIconSize size); +void gtk_image_set_from_icon_set (GtkImage *image, + GtkIconSet *icon_set, + GtkIconSize size); +void gtk_image_set_from_animation (GtkImage *image, + GdkPixbufAnimation *animation); +void gtk_image_set_from_icon_name (GtkImage *image, + const gchar *icon_name, + GtkIconSize size); +void gtk_image_set_from_gicon (GtkImage *image, + GIcon *icon, + GtkIconSize size); +void gtk_image_set_pixel_size (GtkImage *image, + gint pixel_size); + +GtkImageType gtk_image_get_storage_type (GtkImage *image); + +GdkPixbuf* gtk_image_get_pixbuf (GtkImage *image); +void gtk_image_get_stock (GtkImage *image, + gchar **stock_id, + GtkIconSize *size); +void gtk_image_get_icon_set (GtkImage *image, + GtkIconSet **icon_set, + GtkIconSize *size); +GdkPixbufAnimation* gtk_image_get_animation (GtkImage *image); +void gtk_image_get_icon_name (GtkImage *image, + const gchar **icon_name, + GtkIconSize *size); +void gtk_image_get_gicon (GtkImage *image, + GIcon **gicon, + GtkIconSize *size); +gint gtk_image_get_pixel_size (GtkImage *image); + +G_END_DECLS + +#endif /* __GTK_IMAGE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkimagemenuitem.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkimagemenuitem.h new file mode 100644 index 0000000..f53cc68 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkimagemenuitem.h @@ -0,0 +1,90 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_IMAGE_MENU_ITEM_H__ +#define __GTK_IMAGE_MENU_ITEM_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_IMAGE_MENU_ITEM (gtk_image_menu_item_get_type ()) +#define GTK_IMAGE_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE_MENU_ITEM, GtkImageMenuItem)) +#define GTK_IMAGE_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IMAGE_MENU_ITEM, GtkImageMenuItemClass)) +#define GTK_IS_IMAGE_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE_MENU_ITEM)) +#define GTK_IS_IMAGE_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IMAGE_MENU_ITEM)) +#define GTK_IMAGE_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IMAGE_MENU_ITEM, GtkImageMenuItemClass)) + + +typedef struct _GtkImageMenuItem GtkImageMenuItem; +typedef struct _GtkImageMenuItemPrivate GtkImageMenuItemPrivate; +typedef struct _GtkImageMenuItemClass GtkImageMenuItemClass; + +struct _GtkImageMenuItem +{ + GtkMenuItem menu_item; + + /*< private >*/ + GtkImageMenuItemPrivate *priv; +}; + +struct _GtkImageMenuItemClass +{ + GtkMenuItemClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_image_menu_item_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_image_menu_item_new (void); +GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label); +GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); +GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, + GtkAccelGroup *accel_group); +void gtk_image_menu_item_set_always_show_image (GtkImageMenuItem *image_menu_item, + gboolean always_show); +gboolean gtk_image_menu_item_get_always_show_image (GtkImageMenuItem *image_menu_item); +void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, + GtkWidget *image); +GtkWidget* gtk_image_menu_item_get_image (GtkImageMenuItem *image_menu_item); +void gtk_image_menu_item_set_use_stock (GtkImageMenuItem *image_menu_item, + gboolean use_stock); +gboolean gtk_image_menu_item_get_use_stock (GtkImageMenuItem *image_menu_item); +void gtk_image_menu_item_set_accel_group (GtkImageMenuItem *image_menu_item, + GtkAccelGroup *accel_group); + +G_END_DECLS + +#endif /* __GTK_IMAGE_MENU_ITEM_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkimcontext.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkimcontext.h new file mode 100644 index 0000000..85025d9 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkimcontext.h @@ -0,0 +1,126 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_IM_CONTEXT_H__ +#define __GTK_IM_CONTEXT_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_IM_CONTEXT (gtk_im_context_get_type ()) +#define GTK_IM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContext)) +#define GTK_IM_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT, GtkIMContextClass)) +#define GTK_IS_IM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT)) +#define GTK_IS_IM_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT)) +#define GTK_IM_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContextClass)) + + +typedef struct _GtkIMContext GtkIMContext; +typedef struct _GtkIMContextClass GtkIMContextClass; + +struct _GtkIMContext +{ + GObject parent_instance; +}; + +struct _GtkIMContextClass +{ + /*< private >*/ + GObjectClass parent_class; + + /*< public >*/ + /* Signals */ + void (*preedit_start) (GtkIMContext *context); + void (*preedit_end) (GtkIMContext *context); + void (*preedit_changed) (GtkIMContext *context); + void (*commit) (GtkIMContext *context, const gchar *str); + gboolean (*retrieve_surrounding) (GtkIMContext *context); + gboolean (*delete_surrounding) (GtkIMContext *context, + gint offset, + gint n_chars); + + /* Virtual functions */ + void (*set_client_window) (GtkIMContext *context, + GdkWindow *window); + void (*get_preedit_string) (GtkIMContext *context, + gchar **str, + PangoAttrList **attrs, + gint *cursor_pos); + gboolean (*filter_keypress) (GtkIMContext *context, + GdkEventKey *event); + void (*focus_in) (GtkIMContext *context); + void (*focus_out) (GtkIMContext *context); + void (*reset) (GtkIMContext *context); + void (*set_cursor_location) (GtkIMContext *context, + GdkRectangle *area); + void (*set_use_preedit) (GtkIMContext *context, + gboolean use_preedit); + void (*set_surrounding) (GtkIMContext *context, + const gchar *text, + gint len, + gint cursor_index); + gboolean (*get_surrounding) (GtkIMContext *context, + gchar **text, + gint *cursor_index); + /*< private >*/ + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); +}; + +GType gtk_im_context_get_type (void) G_GNUC_CONST; + +void gtk_im_context_set_client_window (GtkIMContext *context, + GdkWindow *window); +void gtk_im_context_get_preedit_string (GtkIMContext *context, + gchar **str, + PangoAttrList **attrs, + gint *cursor_pos); +gboolean gtk_im_context_filter_keypress (GtkIMContext *context, + GdkEventKey *event); +void gtk_im_context_focus_in (GtkIMContext *context); +void gtk_im_context_focus_out (GtkIMContext *context); +void gtk_im_context_reset (GtkIMContext *context); +void gtk_im_context_set_cursor_location (GtkIMContext *context, + const GdkRectangle *area); +void gtk_im_context_set_use_preedit (GtkIMContext *context, + gboolean use_preedit); +void gtk_im_context_set_surrounding (GtkIMContext *context, + const gchar *text, + gint len, + gint cursor_index); +gboolean gtk_im_context_get_surrounding (GtkIMContext *context, + gchar **text, + gint *cursor_index); +gboolean gtk_im_context_delete_surrounding (GtkIMContext *context, + gint offset, + gint n_chars); + +G_END_DECLS + +#endif /* __GTK_IM_CONTEXT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkimcontextinfo.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkimcontextinfo.h new file mode 100644 index 0000000..1c3fdae --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkimcontextinfo.h @@ -0,0 +1,44 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_IM_CONTEXT_INFO_H__ +#define __GTK_IM_CONTEXT_INFO_H__ + + +#include + +G_BEGIN_DECLS + +typedef struct _GtkIMContextInfo GtkIMContextInfo; + +struct _GtkIMContextInfo +{ + const gchar *context_id; + const gchar *context_name; + const gchar *domain; + const gchar *domain_dirname; + const gchar *default_locales; +}; + + +G_END_DECLS + +#endif /* __GTK_IM_CONTEXT_INFO_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkimcontextsimple.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkimcontextsimple.h new file mode 100644 index 0000000..03479c8 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkimcontextsimple.h @@ -0,0 +1,74 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_IM_CONTEXT_SIMPLE_H__ +#define __GTK_IM_CONTEXT_SIMPLE_H__ + +#include + + +G_BEGIN_DECLS + +/** + * GTK_MAX_COMPOSE_LEN: + * + * The maximum length of sequences in compose tables. + */ +#define GTK_MAX_COMPOSE_LEN 7 + +#define GTK_TYPE_IM_CONTEXT_SIMPLE (gtk_im_context_simple_get_type ()) +#define GTK_IM_CONTEXT_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimple)) +#define GTK_IM_CONTEXT_SIMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimpleClass)) +#define GTK_IS_IM_CONTEXT_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE)) +#define GTK_IS_IM_CONTEXT_SIMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_SIMPLE)) +#define GTK_IM_CONTEXT_SIMPLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimpleClass)) + + +typedef struct _GtkIMContextSimple GtkIMContextSimple; +typedef struct _GtkIMContextSimplePrivate GtkIMContextSimplePrivate; +typedef struct _GtkIMContextSimpleClass GtkIMContextSimpleClass; + +struct _GtkIMContextSimple +{ + GtkIMContext object; + + /*< private >*/ + GtkIMContextSimplePrivate *priv; +}; + +struct _GtkIMContextSimpleClass +{ + GtkIMContextClass parent_class; +}; + +GType gtk_im_context_simple_get_type (void) G_GNUC_CONST; +GtkIMContext *gtk_im_context_simple_new (void); + +void gtk_im_context_simple_add_table (GtkIMContextSimple *context_simple, + guint16 *data, + gint max_seq_len, + gint n_seqs); + + +G_END_DECLS + + +#endif /* __GTK_IM_CONTEXT_SIMPLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkimmodule.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkimmodule.h new file mode 100644 index 0000000..db5d70f --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkimmodule.h @@ -0,0 +1,34 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#ifndef __GTK_IM_MODULE_H__ +#define __GTK_IM_MODULE_H__ + +#include + +/* The following entry points are exported by each input method module + */ + +/* +void im_module_list (const GtkIMContextInfo ***contexts, + guint *n_contexts); +void im_module_init (GtkModule *module); +void im_module_exit (void); +GtkIMContext *im_module_create (const gchar *context_id); +*/ + +#endif /* __GTK_IM_MODULE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkimmulticontext.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkimmulticontext.h new file mode 100644 index 0000000..08779a7 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkimmulticontext.h @@ -0,0 +1,73 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_IM_MULTICONTEXT_H__ +#define __GTK_IM_MULTICONTEXT_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_IM_MULTICONTEXT (gtk_im_multicontext_get_type ()) +#define GTK_IM_MULTICONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_MULTICONTEXT, GtkIMMulticontext)) +#define GTK_IM_MULTICONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_MULTICONTEXT, GtkIMMulticontextClass)) +#define GTK_IS_IM_MULTICONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_MULTICONTEXT)) +#define GTK_IS_IM_MULTICONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_MULTICONTEXT)) +#define GTK_IM_MULTICONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_MULTICONTEXT, GtkIMMulticontextClass)) + + +typedef struct _GtkIMMulticontext GtkIMMulticontext; +typedef struct _GtkIMMulticontextClass GtkIMMulticontextClass; +typedef struct _GtkIMMulticontextPrivate GtkIMMulticontextPrivate; + +struct _GtkIMMulticontext +{ + GtkIMContext object; + + /*< private >*/ + GtkIMMulticontextPrivate *priv; +}; + +struct _GtkIMMulticontextClass +{ + GtkIMContextClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_im_multicontext_get_type (void) G_GNUC_CONST; +GtkIMContext *gtk_im_multicontext_new (void); + +void gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context, + GtkMenuShell *menushell); +const char * gtk_im_multicontext_get_context_id (GtkIMMulticontext *context); + +void gtk_im_multicontext_set_context_id (GtkIMMulticontext *context, + const char *context_id); + +G_END_DECLS + +#endif /* __GTK_IM_MULTICONTEXT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkinfobar.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkinfobar.h new file mode 100644 index 0000000..9a3ca0e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkinfobar.h @@ -0,0 +1,116 @@ +/* + * gtkinfobar.h + * This file is part of GTK+ + * + * Copyright (C) 2005 - Paolo Maggi + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the gedit Team, 2005. See the gedit AUTHORS file for a + * list of people on the gedit Team. + * See the gedit ChangeLog files for a list of changes. + * + * Modified by the GTK+ Team, 2008-2009. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_INFO_BAR_H__ +#define __GTK_INFO_BAR_H__ + +#include +#include + +G_BEGIN_DECLS + +/* + * Type checking and casting macros + */ +#define GTK_TYPE_INFO_BAR (gtk_info_bar_get_type()) +#define GTK_INFO_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INFO_BAR, GtkInfoBar)) +#define GTK_INFO_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INFO_BAR, GtkInfoBarClass)) +#define GTK_IS_INFO_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INFO_BAR)) +#define GTK_IS_INFO_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_INFO_BAR)) +#define GTK_INFO_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INFO_BAR, GtkInfoBarClass)) + + +typedef struct _GtkInfoBarPrivate GtkInfoBarPrivate; +typedef struct _GtkInfoBarClass GtkInfoBarClass; +typedef struct _GtkInfoBar GtkInfoBar; + + +struct _GtkInfoBar +{ + GtkBox parent; + + /*< private > */ + GtkInfoBarPrivate *priv; +}; + + +struct _GtkInfoBarClass +{ + GtkBoxClass parent_class; + + /* Signals */ + void (* response) (GtkInfoBar *info_bar, gint response_id); + + /* Keybinding signals */ + void (* close) (GtkInfoBar *info_bar); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_info_bar_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_info_bar_new (void); + +GtkWidget *gtk_info_bar_new_with_buttons (const gchar *first_button_text, + ...); + +GtkWidget *gtk_info_bar_get_action_area (GtkInfoBar *info_bar); +GtkWidget *gtk_info_bar_get_content_area (GtkInfoBar *info_bar); +void gtk_info_bar_add_action_widget (GtkInfoBar *info_bar, + GtkWidget *child, + gint response_id); +GtkWidget *gtk_info_bar_add_button (GtkInfoBar *info_bar, + const gchar *button_text, + gint response_id); +void gtk_info_bar_add_buttons (GtkInfoBar *info_bar, + const gchar *first_button_text, + ...); +void gtk_info_bar_set_response_sensitive (GtkInfoBar *info_bar, + gint response_id, + gboolean setting); +void gtk_info_bar_set_default_response (GtkInfoBar *info_bar, + gint response_id); + +/* Emit response signal */ +void gtk_info_bar_response (GtkInfoBar *info_bar, + gint response_id); + +void gtk_info_bar_set_message_type (GtkInfoBar *info_bar, + GtkMessageType message_type); +GtkMessageType gtk_info_bar_get_message_type (GtkInfoBar *info_bar); + +G_END_DECLS + +#endif /* __GTK_INFO_BAR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkinvisible.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkinvisible.h new file mode 100644 index 0000000..c574568 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkinvisible.h @@ -0,0 +1,77 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_INVISIBLE_H__ +#define __GTK_INVISIBLE_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_INVISIBLE (gtk_invisible_get_type ()) +#define GTK_INVISIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_INVISIBLE, GtkInvisible)) +#define GTK_INVISIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_INVISIBLE, GtkInvisibleClass)) +#define GTK_IS_INVISIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_INVISIBLE)) +#define GTK_IS_INVISIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_INVISIBLE)) +#define GTK_INVISIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_INVISIBLE, GtkInvisibleClass)) + + +typedef struct _GtkInvisible GtkInvisible; +typedef struct _GtkInvisiblePrivate GtkInvisiblePrivate; +typedef struct _GtkInvisibleClass GtkInvisibleClass; + +struct _GtkInvisible +{ + GtkWidget widget; + + /*< private >*/ + GtkInvisiblePrivate *priv; +}; + +struct _GtkInvisibleClass +{ + GtkWidgetClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_invisible_get_type (void) G_GNUC_CONST; + +GtkWidget* gtk_invisible_new (void); +GtkWidget* gtk_invisible_new_for_screen (GdkScreen *screen); +void gtk_invisible_set_screen (GtkInvisible *invisible, + GdkScreen *screen); +GdkScreen* gtk_invisible_get_screen (GtkInvisible *invisible); + +G_END_DECLS + +#endif /* __GTK_INVISIBLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtklabel.h b/gtk+-mingw/include/gtk-3.0/gtk/gtklabel.h new file mode 100644 index 0000000..81c9ac8 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtklabel.h @@ -0,0 +1,176 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_LABEL_H__ +#define __GTK_LABEL_H__ + + +#include +#include +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_LABEL (gtk_label_get_type ()) +#define GTK_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LABEL, GtkLabel)) +#define GTK_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LABEL, GtkLabelClass)) +#define GTK_IS_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LABEL)) +#define GTK_IS_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LABEL)) +#define GTK_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LABEL, GtkLabelClass)) + + +typedef struct _GtkLabel GtkLabel; +typedef struct _GtkLabelPrivate GtkLabelPrivate; +typedef struct _GtkLabelClass GtkLabelClass; + +typedef struct _GtkLabelSelectionInfo GtkLabelSelectionInfo; + +struct _GtkLabel +{ + GtkMisc misc; + + /*< private >*/ + GtkLabelPrivate *priv; +}; + +struct _GtkLabelClass +{ + GtkMiscClass parent_class; + + void (* move_cursor) (GtkLabel *label, + GtkMovementStep step, + gint count, + gboolean extend_selection); + void (* copy_clipboard) (GtkLabel *label); + + /* Hook to customize right-click popup for selectable labels */ + void (* populate_popup) (GtkLabel *label, + GtkMenu *menu); + + gboolean (*activate_link) (GtkLabel *label, + const gchar *uri); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +GType gtk_label_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_label_new (const gchar *str); +GtkWidget* gtk_label_new_with_mnemonic (const gchar *str); +void gtk_label_set_text (GtkLabel *label, + const gchar *str); +const gchar* gtk_label_get_text (GtkLabel *label); +void gtk_label_set_attributes (GtkLabel *label, + PangoAttrList *attrs); +PangoAttrList *gtk_label_get_attributes (GtkLabel *label); +void gtk_label_set_label (GtkLabel *label, + const gchar *str); +const gchar * gtk_label_get_label (GtkLabel *label); +void gtk_label_set_markup (GtkLabel *label, + const gchar *str); +void gtk_label_set_use_markup (GtkLabel *label, + gboolean setting); +gboolean gtk_label_get_use_markup (GtkLabel *label); +void gtk_label_set_use_underline (GtkLabel *label, + gboolean setting); +gboolean gtk_label_get_use_underline (GtkLabel *label); + +void gtk_label_set_markup_with_mnemonic (GtkLabel *label, + const gchar *str); +guint gtk_label_get_mnemonic_keyval (GtkLabel *label); +void gtk_label_set_mnemonic_widget (GtkLabel *label, + GtkWidget *widget); +GtkWidget *gtk_label_get_mnemonic_widget (GtkLabel *label); +void gtk_label_set_text_with_mnemonic (GtkLabel *label, + const gchar *str); +void gtk_label_set_justify (GtkLabel *label, + GtkJustification jtype); +GtkJustification gtk_label_get_justify (GtkLabel *label); +void gtk_label_set_ellipsize (GtkLabel *label, + PangoEllipsizeMode mode); +PangoEllipsizeMode gtk_label_get_ellipsize (GtkLabel *label); +void gtk_label_set_width_chars (GtkLabel *label, + gint n_chars); +gint gtk_label_get_width_chars (GtkLabel *label); +void gtk_label_set_max_width_chars (GtkLabel *label, + gint n_chars); +gint gtk_label_get_max_width_chars (GtkLabel *label); +void gtk_label_set_pattern (GtkLabel *label, + const gchar *pattern); +void gtk_label_set_line_wrap (GtkLabel *label, + gboolean wrap); +gboolean gtk_label_get_line_wrap (GtkLabel *label); +void gtk_label_set_line_wrap_mode (GtkLabel *label, + PangoWrapMode wrap_mode); +PangoWrapMode gtk_label_get_line_wrap_mode (GtkLabel *label); +void gtk_label_set_selectable (GtkLabel *label, + gboolean setting); +gboolean gtk_label_get_selectable (GtkLabel *label); +void gtk_label_set_angle (GtkLabel *label, + gdouble angle); +gdouble gtk_label_get_angle (GtkLabel *label); +void gtk_label_select_region (GtkLabel *label, + gint start_offset, + gint end_offset); +gboolean gtk_label_get_selection_bounds (GtkLabel *label, + gint *start, + gint *end); + +PangoLayout *gtk_label_get_layout (GtkLabel *label); +void gtk_label_get_layout_offsets (GtkLabel *label, + gint *x, + gint *y); + +void gtk_label_set_single_line_mode (GtkLabel *label, + gboolean single_line_mode); +gboolean gtk_label_get_single_line_mode (GtkLabel *label); + +const gchar *gtk_label_get_current_uri (GtkLabel *label); +void gtk_label_set_track_visited_links (GtkLabel *label, + gboolean track_links); +gboolean gtk_label_get_track_visited_links (GtkLabel *label); + + +/* private */ + +void _gtk_label_mnemonics_visible_apply_recursively (GtkWidget *widget, + gboolean mnemonics_visible); +gint _gtk_label_get_cursor_position (GtkLabel *label); +gint _gtk_label_get_selection_bound (GtkLabel *label); + +G_END_DECLS + +#endif /* __GTK_LABEL_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtklayout.h b/gtk+-mingw/include/gtk-3.0/gtk/gtklayout.h new file mode 100644 index 0000000..f5b710e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtklayout.h @@ -0,0 +1,108 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * GtkLayout: Widget for scrolling of arbitrary-sized areas. + * + * Copyright Owen Taylor, 1998 + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_LAYOUT_H__ +#define __GTK_LAYOUT_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_LAYOUT (gtk_layout_get_type ()) +#define GTK_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LAYOUT, GtkLayout)) +#define GTK_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LAYOUT, GtkLayoutClass)) +#define GTK_IS_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LAYOUT)) +#define GTK_IS_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LAYOUT)) +#define GTK_LAYOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LAYOUT, GtkLayoutClass)) + + +typedef struct _GtkLayout GtkLayout; +typedef struct _GtkLayoutPrivate GtkLayoutPrivate; +typedef struct _GtkLayoutClass GtkLayoutClass; + +struct _GtkLayout +{ + GtkContainer container; + + /*< private >*/ + GtkLayoutPrivate *priv; +}; + +struct _GtkLayoutClass +{ + GtkContainerClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_layout_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_layout_new (GtkAdjustment *hadjustment, + GtkAdjustment *vadjustment); +GdkWindow* gtk_layout_get_bin_window (GtkLayout *layout); +void gtk_layout_put (GtkLayout *layout, + GtkWidget *child_widget, + gint x, + gint y); + +void gtk_layout_move (GtkLayout *layout, + GtkWidget *child_widget, + gint x, + gint y); + +void gtk_layout_set_size (GtkLayout *layout, + guint width, + guint height); +void gtk_layout_get_size (GtkLayout *layout, + guint *width, + guint *height); + +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment) +GtkAdjustment* gtk_layout_get_hadjustment (GtkLayout *layout); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment) +GtkAdjustment* gtk_layout_get_vadjustment (GtkLayout *layout); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_hadjustment) +void gtk_layout_set_hadjustment (GtkLayout *layout, + GtkAdjustment *adjustment); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_vadjustment) +void gtk_layout_set_vadjustment (GtkLayout *layout, + GtkAdjustment *adjustment); + + +G_END_DECLS + +#endif /* __GTK_LAYOUT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtklinkbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtklinkbutton.h new file mode 100644 index 0000000..0de6685 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtklinkbutton.h @@ -0,0 +1,100 @@ +/* GTK - The GIMP Toolkit + * gtklinkbutton.h - an hyperlink-enabled button + * + * Copyright (C) 2005 Emmanuele Bassi + * All rights reserved. + * + * Based on gnome-href code by: + * James Henstridge + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_LINK_BUTTON_H__ +#define __GTK_LINK_BUTTON_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_LINK_BUTTON (gtk_link_button_get_type ()) +#define GTK_LINK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LINK_BUTTON, GtkLinkButton)) +#define GTK_IS_LINK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LINK_BUTTON)) +#define GTK_LINK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LINK_BUTTON, GtkLinkButtonClass)) +#define GTK_IS_LINK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LINK_BUTTON)) +#define GTK_LINK_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LINK_BUTTON, GtkLinkButtonClass)) + +typedef struct _GtkLinkButton GtkLinkButton; +typedef struct _GtkLinkButtonClass GtkLinkButtonClass; +typedef struct _GtkLinkButtonPrivate GtkLinkButtonPrivate; + +/** + * GtkLinkButton: + * + * The GtkLinkButton structure contains only + * private data and should be accessed using the provided API. + */ +struct _GtkLinkButton +{ + /*< private >*/ + GtkButton parent_instance; + + GtkLinkButtonPrivate *priv; +}; + +/** + * GtkLinkButtonClass: + * @activate_link: class handler for the #GtkLinkButton::activate-link signal + * + * The GtkLinkButtonClass structure contains only + * private data. + */ +struct _GtkLinkButtonClass +{ + /*< private >*/ + GtkButtonClass parent_class; + + /*< public >*/ + gboolean (* activate_link) (GtkLinkButton *button); + + /*< private >*/ + /* Padding for future expansion */ + void (*_gtk_padding1) (void); + void (*_gtk_padding2) (void); + void (*_gtk_padding3) (void); + void (*_gtk_padding4) (void); +}; + +GType gtk_link_button_get_type (void) G_GNUC_CONST; + +GtkWidget * gtk_link_button_new (const gchar *uri); +GtkWidget * gtk_link_button_new_with_label (const gchar *uri, + const gchar *label); + +const gchar * gtk_link_button_get_uri (GtkLinkButton *link_button); +void gtk_link_button_set_uri (GtkLinkButton *link_button, + const gchar *uri); + +gboolean gtk_link_button_get_visited (GtkLinkButton *link_button); +void gtk_link_button_set_visited (GtkLinkButton *link_button, + gboolean visited); + + +G_END_DECLS + +#endif /* __GTK_LINK_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkliststore.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkliststore.h new file mode 100644 index 0000000..568e10c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkliststore.h @@ -0,0 +1,133 @@ +/* gtkliststore.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_LIST_STORE_H__ +#define __GTK_LIST_STORE_H__ + +#include +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_LIST_STORE (gtk_list_store_get_type ()) +#define GTK_LIST_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_STORE, GtkListStore)) +#define GTK_LIST_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST_STORE, GtkListStoreClass)) +#define GTK_IS_LIST_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_STORE)) +#define GTK_IS_LIST_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_STORE)) +#define GTK_LIST_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LIST_STORE, GtkListStoreClass)) + +typedef struct _GtkListStore GtkListStore; +typedef struct _GtkListStorePrivate GtkListStorePrivate; +typedef struct _GtkListStoreClass GtkListStoreClass; + +struct _GtkListStore +{ + GObject parent; + + /*< private >*/ + GtkListStorePrivate *priv; +}; + +struct _GtkListStoreClass +{ + GObjectClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_list_store_get_type (void) G_GNUC_CONST; +GtkListStore *gtk_list_store_new (gint n_columns, + ...); +GtkListStore *gtk_list_store_newv (gint n_columns, + GType *types); +void gtk_list_store_set_column_types (GtkListStore *list_store, + gint n_columns, + GType *types); + +/* NOTE: use gtk_tree_model_get to get values from a GtkListStore */ + +void gtk_list_store_set_value (GtkListStore *list_store, + GtkTreeIter *iter, + gint column, + GValue *value); +void gtk_list_store_set (GtkListStore *list_store, + GtkTreeIter *iter, + ...); +void gtk_list_store_set_valuesv (GtkListStore *list_store, + GtkTreeIter *iter, + gint *columns, + GValue *values, + gint n_values); +void gtk_list_store_set_valist (GtkListStore *list_store, + GtkTreeIter *iter, + va_list var_args); +gboolean gtk_list_store_remove (GtkListStore *list_store, + GtkTreeIter *iter); +void gtk_list_store_insert (GtkListStore *list_store, + GtkTreeIter *iter, + gint position); +void gtk_list_store_insert_before (GtkListStore *list_store, + GtkTreeIter *iter, + GtkTreeIter *sibling); +void gtk_list_store_insert_after (GtkListStore *list_store, + GtkTreeIter *iter, + GtkTreeIter *sibling); +void gtk_list_store_insert_with_values (GtkListStore *list_store, + GtkTreeIter *iter, + gint position, + ...); +void gtk_list_store_insert_with_valuesv (GtkListStore *list_store, + GtkTreeIter *iter, + gint position, + gint *columns, + GValue *values, + gint n_values); +void gtk_list_store_prepend (GtkListStore *list_store, + GtkTreeIter *iter); +void gtk_list_store_append (GtkListStore *list_store, + GtkTreeIter *iter); +void gtk_list_store_clear (GtkListStore *list_store); +gboolean gtk_list_store_iter_is_valid (GtkListStore *list_store, + GtkTreeIter *iter); +void gtk_list_store_reorder (GtkListStore *store, + gint *new_order); +void gtk_list_store_swap (GtkListStore *store, + GtkTreeIter *a, + GtkTreeIter *b); +void gtk_list_store_move_after (GtkListStore *store, + GtkTreeIter *iter, + GtkTreeIter *position); +void gtk_list_store_move_before (GtkListStore *store, + GtkTreeIter *iter, + GtkTreeIter *position); + + +G_END_DECLS + + +#endif /* __GTK_LIST_STORE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtklockbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtklockbutton.h new file mode 100644 index 0000000..1d08973 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtklockbutton.h @@ -0,0 +1,72 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Red Hat, Inc. + * Author: Matthias Clasen + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#ifndef __GTK_LOCK_BUTTON_H__ +#define __GTK_LOCK_BUTTON_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_LOCK_BUTTON (gtk_lock_button_get_type ()) +#define GTK_LOCK_BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_LOCK_BUTTON, GtkLockButton)) +#define GTK_LOCK_BUTTON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_LOCK_BUTTON, GtkLockButtonClass)) +#define GTK_IS_LOCK_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_LOCK_BUTTON)) +#define GTK_IS_LOCK_BUTTON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_LOCK_BUTTON)) +#define GTK_LOCK_BUTTON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_LOCK_BUTTON, GtkLockButtonClass)) + +typedef struct _GtkLockButton GtkLockButton; +typedef struct _GtkLockButtonClass GtkLockButtonClass; +typedef struct _GtkLockButtonPrivate GtkLockButtonPrivate; + +struct _GtkLockButton +{ + GtkButton parent; + + GtkLockButtonPrivate *priv; +}; + +struct _GtkLockButtonClass +{ + GtkButtonClass parent_class; + + void (*reserved0) (void); + void (*reserved1) (void); + void (*reserved2) (void); + void (*reserved3) (void); + void (*reserved4) (void); + void (*reserved5) (void); + void (*reserved6) (void); + void (*reserved7) (void); +}; + +GDK_AVAILABLE_IN_3_2 +GType gtk_lock_button_get_type (void) G_GNUC_CONST; +GDK_AVAILABLE_IN_3_2 +GtkWidget *gtk_lock_button_new (GPermission *permission); +GDK_AVAILABLE_IN_3_2 +GPermission *gtk_lock_button_get_permission (GtkLockButton *button); +GDK_AVAILABLE_IN_3_2 +void gtk_lock_button_set_permission (GtkLockButton *button, + GPermission *permission); + + +G_END_DECLS + +#endif /* __GTK_LOCK_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkmain.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkmain.h new file mode 100644 index 0000000..b2ae0a3 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkmain.h @@ -0,0 +1,172 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_MAIN_H__ +#define __GTK_MAIN_H__ + + +#include +#include +#ifdef G_PLATFORM_WIN32 +#include +#include +#endif + +G_BEGIN_DECLS + +/** + * GTK_PRIORITY_RESIZE: + * + * Use this priority for functionality related to size allocation. + * + * It is used internally by GTK+ to compute the sizes of widgets. + * This priority is higher than %GDK_PRIORITY_REDRAW to avoid + * resizing a widget which was just redrawn. + */ +#define GTK_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 10) + +/** + * GtkKeySnoopFunc: + * @grab_widget: the widget to which the event will be delivered + * @event: the key event + * @func_data: data supplied to gtk_key_snooper_install() + * + * Key snooper functions are called before normal event delivery. + * They can be used to implement custom key event handling. + * + * Returns: %TRUE to stop further processing of @event, %FALSE to continue. + */ +typedef gint (*GtkKeySnoopFunc) (GtkWidget *grab_widget, + GdkEventKey *event, + gpointer func_data); + +/* GTK+ version + */ +guint gtk_get_major_version (void) G_GNUC_CONST; +guint gtk_get_minor_version (void) G_GNUC_CONST; +guint gtk_get_micro_version (void) G_GNUC_CONST; +guint gtk_get_binary_age (void) G_GNUC_CONST; +guint gtk_get_interface_age (void) G_GNUC_CONST; + +#define gtk_major_version gtk_get_major_version () +#define gtk_minor_version gtk_get_minor_version () +#define gtk_micro_version gtk_get_micro_version () +#define gtk_binary_age gtk_get_binary_age () +#define gtk_interface_age gtk_get_interface_age () + +const gchar* gtk_check_version (guint required_major, + guint required_minor, + guint required_micro); + + +/* Initialization, exit, mainloop and miscellaneous routines + */ + +gboolean gtk_parse_args (int *argc, + char ***argv); + +void gtk_init (int *argc, + char ***argv); + +gboolean gtk_init_check (int *argc, + char ***argv); + +gboolean gtk_init_with_args (gint *argc, + gchar ***argv, + const gchar *parameter_string, + const GOptionEntry *entries, + const gchar *translation_domain, + GError **error); + +GOptionGroup *gtk_get_option_group (gboolean open_default_display); + +#ifdef G_OS_WIN32 + +/* Variants that are used to check for correct struct packing + * when building GTK+-using code. + */ +void gtk_init_abi_check (int *argc, + char ***argv, + int num_checks, + size_t sizeof_GtkWindow, + size_t sizeof_GtkBox); +gboolean gtk_init_check_abi_check (int *argc, + char ***argv, + int num_checks, + size_t sizeof_GtkWindow, + size_t sizeof_GtkBox); + +#define gtk_init(argc, argv) gtk_init_abi_check (argc, argv, 2, sizeof (GtkWindow), sizeof (GtkBox)) +#define gtk_init_check(argc, argv) gtk_init_check_abi_check (argc, argv, 2, sizeof (GtkWindow), sizeof (GtkBox)) + +#endif + +void gtk_disable_setlocale (void); +PangoLanguage *gtk_get_default_language (void); +gboolean gtk_events_pending (void); + +void gtk_main_do_event (GdkEvent *event); +void gtk_main (void); +guint gtk_main_level (void); +void gtk_main_quit (void); +gboolean gtk_main_iteration (void); +gboolean gtk_main_iteration_do (gboolean blocking); + +gboolean gtk_true (void) G_GNUC_CONST; +gboolean gtk_false (void) G_GNUC_CONST; + +void gtk_grab_add (GtkWidget *widget); +GtkWidget* gtk_grab_get_current (void); +void gtk_grab_remove (GtkWidget *widget); + +void gtk_device_grab_add (GtkWidget *widget, + GdkDevice *device, + gboolean block_others); +void gtk_device_grab_remove (GtkWidget *widget, + GdkDevice *device); + +GDK_DEPRECATED_IN_3_4 +guint gtk_key_snooper_install (GtkKeySnoopFunc snooper, + gpointer func_data); +GDK_DEPRECATED_IN_3_4 +void gtk_key_snooper_remove (guint snooper_handler_id); + +GdkEvent * gtk_get_current_event (void); +guint32 gtk_get_current_event_time (void); +gboolean gtk_get_current_event_state (GdkModifierType *state); +GdkDevice *gtk_get_current_event_device (void); + +GtkWidget *gtk_get_event_widget (GdkEvent *event); + +void gtk_propagate_event (GtkWidget *widget, + GdkEvent *event); + + +G_END_DECLS + +#endif /* __GTK_MAIN_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkmenu.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkmenu.h new file mode 100644 index 0000000..1c50ca1 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkmenu.h @@ -0,0 +1,215 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_MENU_H__ +#define __GTK_MENU_H__ + + +#include +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_MENU (gtk_menu_get_type ()) +#define GTK_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU, GtkMenu)) +#define GTK_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU, GtkMenuClass)) +#define GTK_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU)) +#define GTK_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU)) +#define GTK_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MENU, GtkMenuClass)) + + +typedef struct _GtkMenu GtkMenu; +typedef struct _GtkMenuClass GtkMenuClass; +typedef struct _GtkMenuPrivate GtkMenuPrivate; + +/** + * GtkMenuPositionFunc: + * @menu: a #GtkMenu. + * @x: (out): address of the #gint representing the horizontal + * position where the menu shall be drawn. + * @y: (out): address of the #gint representing the vertical position + * where the menu shall be drawn. This is an output parameter. + * @push_in: (out): This parameter controls how menus placed outside + * the monitor are handled. If this is set to %TRUE and part of + * the menu is outside the monitor then GTK+ pushes the window + * into the visible area, effectively modifying the popup + * position. Note that moving and possibly resizing the menu + * around will alter the scroll position to keep the menu items + * "in place", i.e. at the same monitor position they would have + * been without resizing. In practice, this behavior is only + * useful for combobox popups or option menus and cannot be used + * to simply confine a menu to monitor boundaries. In that case, + * changing the scroll offset is not desirable. + * @user_data: the data supplied by the user in the gtk_menu_popup() + * @data parameter. + * + * 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. To make the menu appear on a different + * monitor than the mouse pointer, gtk_menu_set_monitor() must be + * called. + */ +typedef void (*GtkMenuPositionFunc) (GtkMenu *menu, + gint *x, + gint *y, + gboolean *push_in, + gpointer user_data); + +/** + * GtkMenuDetachFunc: + * @attach_widget: the #GtkWidget that the menu is being detached from. + * @menu: the #GtkMenu being detached. + * + * A user function supplied when calling gtk_menu_attach_to_widget() which + * will be called when the menu is later detached from the widget. + */ +typedef void (*GtkMenuDetachFunc) (GtkWidget *attach_widget, + GtkMenu *menu); + +struct _GtkMenu +{ + GtkMenuShell menu_shell; + + /*< private >*/ + GtkMenuPrivate *priv; +}; + +struct _GtkMenuClass +{ + GtkMenuShellClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_menu_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_menu_new (void); +GDK_AVAILABLE_IN_3_4 +GtkWidget* gtk_menu_new_from_model (GMenuModel *model); + +/* Display the menu onscreen */ +void gtk_menu_popup (GtkMenu *menu, + GtkWidget *parent_menu_shell, + GtkWidget *parent_menu_item, + GtkMenuPositionFunc func, + gpointer data, + guint button, + guint32 activate_time); +void gtk_menu_popup_for_device (GtkMenu *menu, + GdkDevice *device, + GtkWidget *parent_menu_shell, + GtkWidget *parent_menu_item, + GtkMenuPositionFunc func, + gpointer data, + GDestroyNotify destroy, + guint button, + guint32 activate_time); + +/* Position the menu according to its position function. Called + * from gtkmenuitem.c when a menu-item changes its allocation + */ +void gtk_menu_reposition (GtkMenu *menu); + +void gtk_menu_popdown (GtkMenu *menu); + +/* Keep track of the last menu item selected. (For the purposes + * of the option menu + */ +GtkWidget* gtk_menu_get_active (GtkMenu *menu); +void gtk_menu_set_active (GtkMenu *menu, + guint index); + +/* set/get the accelerator group that holds global accelerators (should + * be added to the corresponding toplevel with gtk_window_add_accel_group(). + */ +void gtk_menu_set_accel_group (GtkMenu *menu, + GtkAccelGroup *accel_group); +GtkAccelGroup* gtk_menu_get_accel_group (GtkMenu *menu); +void gtk_menu_set_accel_path (GtkMenu *menu, + const gchar *accel_path); +const gchar* gtk_menu_get_accel_path (GtkMenu *menu); + +/* A reference count is kept for a widget when it is attached to + * a particular widget. This is typically a menu item; it may also + * be a widget with a popup menu - for instance, the Notebook widget. + */ +void gtk_menu_attach_to_widget (GtkMenu *menu, + GtkWidget *attach_widget, + GtkMenuDetachFunc detacher); +void gtk_menu_detach (GtkMenu *menu); + +/* This should be dumped in favor of data set when the menu is popped + * up - that is currently in the ItemFactory code, but should be + * in the Menu code. + */ +GtkWidget* gtk_menu_get_attach_widget (GtkMenu *menu); + +void gtk_menu_set_tearoff_state (GtkMenu *menu, + gboolean torn_off); +gboolean gtk_menu_get_tearoff_state (GtkMenu *menu); + +/* This sets the window manager title for the window that + * appears when a menu is torn off + */ +void gtk_menu_set_title (GtkMenu *menu, + const gchar *title); +const gchar * gtk_menu_get_title (GtkMenu *menu); + +void gtk_menu_reorder_child (GtkMenu *menu, + GtkWidget *child, + gint position); + +void gtk_menu_set_screen (GtkMenu *menu, + GdkScreen *screen); + +void gtk_menu_attach (GtkMenu *menu, + GtkWidget *child, + guint left_attach, + guint right_attach, + guint top_attach, + guint bottom_attach); + +void gtk_menu_set_monitor (GtkMenu *menu, + gint monitor_num); +gint gtk_menu_get_monitor (GtkMenu *menu); +GList* gtk_menu_get_for_attach_widget (GtkWidget *widget); + +void gtk_menu_set_reserve_toggle_size (GtkMenu *menu, + gboolean reserve_toggle_size); +gboolean gtk_menu_get_reserve_toggle_size (GtkMenu *menu); + + +G_END_DECLS + +#endif /* __GTK_MENU_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkmenubar.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkmenubar.h new file mode 100644 index 0000000..5529ecf --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkmenubar.h @@ -0,0 +1,90 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_MENU_BAR_H__ +#define __GTK_MENU_BAR_H__ + + +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_MENU_BAR (gtk_menu_bar_get_type ()) +#define GTK_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU_BAR, GtkMenuBar)) +#define GTK_MENU_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_BAR, GtkMenuBarClass)) +#define GTK_IS_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU_BAR)) +#define GTK_IS_MENU_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_BAR)) +#define GTK_MENU_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MENU_BAR, GtkMenuBarClass)) + +typedef struct _GtkMenuBar GtkMenuBar; +typedef struct _GtkMenuBarPrivate GtkMenuBarPrivate; +typedef struct _GtkMenuBarClass GtkMenuBarClass; + +struct _GtkMenuBar +{ + GtkMenuShell menu_shell; + + /*< private >*/ + GtkMenuBarPrivate *priv; +}; + +struct _GtkMenuBarClass +{ + GtkMenuShellClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_menu_bar_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_menu_bar_new (void); +GDK_AVAILABLE_IN_3_4 +GtkWidget* gtk_menu_bar_new_from_model (GMenuModel *model); + +GtkPackDirection gtk_menu_bar_get_pack_direction (GtkMenuBar *menubar); +void gtk_menu_bar_set_pack_direction (GtkMenuBar *menubar, + GtkPackDirection pack_dir); +GtkPackDirection gtk_menu_bar_get_child_pack_direction (GtkMenuBar *menubar); +void gtk_menu_bar_set_child_pack_direction (GtkMenuBar *menubar, + GtkPackDirection child_pack_dir); + +/* Private functions */ +void _gtk_menu_bar_cycle_focus (GtkMenuBar *menubar, + GtkDirectionType dir); + + +G_END_DECLS + + +#endif /* __GTK_MENU_BAR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkmenuitem.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkmenuitem.h new file mode 100644 index 0000000..e9e6ef2 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkmenuitem.h @@ -0,0 +1,128 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_MENU_ITEM_H__ +#define __GTK_MENU_ITEM_H__ + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_MENU_ITEM (gtk_menu_item_get_type ()) +#define GTK_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU_ITEM, GtkMenuItem)) +#define GTK_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_ITEM, GtkMenuItemClass)) +#define GTK_IS_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU_ITEM)) +#define GTK_IS_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_ITEM)) +#define GTK_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MENU_ITEM, GtkMenuItemClass)) + + +typedef struct _GtkMenuItem GtkMenuItem; +typedef struct _GtkMenuItemClass GtkMenuItemClass; +typedef struct _GtkMenuItemPrivate GtkMenuItemPrivate; + +struct _GtkMenuItem +{ + GtkBin bin; + + /*< private >*/ + GtkMenuItemPrivate *priv; +}; + +struct _GtkMenuItemClass +{ + GtkBinClass parent_class; + + /* If the following flag is true, then we should always + * hide the menu when the MenuItem is activated. Otherwise, + * it is up to the caller. For instance, when navigating + * a menu with the keyboard, doesn't hide, but + * does. + */ + guint hide_on_activate : 1; + + void (* activate) (GtkMenuItem *menu_item); + void (* activate_item) (GtkMenuItem *menu_item); + void (* toggle_size_request) (GtkMenuItem *menu_item, + gint *requisition); + void (* toggle_size_allocate) (GtkMenuItem *menu_item, + gint allocation); + void (* set_label) (GtkMenuItem *menu_item, + const gchar *label); + const gchar * (* get_label) (GtkMenuItem *menu_item); + + void (* select) (GtkMenuItem *menu_item); + void (* deselect) (GtkMenuItem *menu_item); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_menu_item_get_type (void) G_GNUC_CONST; + +GtkWidget* gtk_menu_item_new (void); +GtkWidget* gtk_menu_item_new_with_label (const gchar *label); +GtkWidget* gtk_menu_item_new_with_mnemonic (const gchar *label); +void gtk_menu_item_set_submenu (GtkMenuItem *menu_item, + GtkWidget *submenu); +GtkWidget* gtk_menu_item_get_submenu (GtkMenuItem *menu_item); +void gtk_menu_item_select (GtkMenuItem *menu_item); +void gtk_menu_item_deselect (GtkMenuItem *menu_item); +void gtk_menu_item_activate (GtkMenuItem *menu_item); +void gtk_menu_item_toggle_size_request (GtkMenuItem *menu_item, + gint *requisition); +void gtk_menu_item_toggle_size_allocate (GtkMenuItem *menu_item, + gint allocation); +GDK_DEPRECATED_IN_3_2 +void gtk_menu_item_set_right_justified (GtkMenuItem *menu_item, + gboolean right_justified); +GDK_DEPRECATED_IN_3_2 +gboolean gtk_menu_item_get_right_justified (GtkMenuItem *menu_item); +void gtk_menu_item_set_accel_path (GtkMenuItem *menu_item, + const gchar *accel_path); +const gchar * gtk_menu_item_get_accel_path (GtkMenuItem *menu_item); + +void gtk_menu_item_set_label (GtkMenuItem *menu_item, + const gchar *label); +const gchar * gtk_menu_item_get_label (GtkMenuItem *menu_item); + +void gtk_menu_item_set_use_underline (GtkMenuItem *menu_item, + gboolean setting); +gboolean gtk_menu_item_get_use_underline (GtkMenuItem *menu_item); + +void gtk_menu_item_set_reserve_indicator (GtkMenuItem *menu_item, + gboolean reserve); +gboolean gtk_menu_item_get_reserve_indicator (GtkMenuItem *menu_item); + +G_END_DECLS + +#endif /* __GTK_MENU_ITEM_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkmenushell.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkmenushell.h new file mode 100644 index 0000000..6e15ffc --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkmenushell.h @@ -0,0 +1,117 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_MENU_SHELL_H__ +#define __GTK_MENU_SHELL_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_MENU_SHELL (gtk_menu_shell_get_type ()) +#define GTK_MENU_SHELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU_SHELL, GtkMenuShell)) +#define GTK_MENU_SHELL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_SHELL, GtkMenuShellClass)) +#define GTK_IS_MENU_SHELL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU_SHELL)) +#define GTK_IS_MENU_SHELL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_SHELL)) +#define GTK_MENU_SHELL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MENU_SHELL, GtkMenuShellClass)) + + +typedef struct _GtkMenuShell GtkMenuShell; +typedef struct _GtkMenuShellClass GtkMenuShellClass; +typedef struct _GtkMenuShellPrivate GtkMenuShellPrivate; + +struct _GtkMenuShell +{ + GtkContainer container; + + /*< private >*/ + GtkMenuShellPrivate *priv; +}; + +struct _GtkMenuShellClass +{ + GtkContainerClass parent_class; + + guint submenu_placement : 1; + + void (*deactivate) (GtkMenuShell *menu_shell); + void (*selection_done) (GtkMenuShell *menu_shell); + + void (*move_current) (GtkMenuShell *menu_shell, + GtkMenuDirectionType direction); + void (*activate_current) (GtkMenuShell *menu_shell, + gboolean force_hide); + void (*cancel) (GtkMenuShell *menu_shell); + void (*select_item) (GtkMenuShell *menu_shell, + GtkWidget *menu_item); + void (*insert) (GtkMenuShell *menu_shell, + GtkWidget *child, + gint position); + gint (*get_popup_delay) (GtkMenuShell *menu_shell); + gboolean (*move_selected) (GtkMenuShell *menu_shell, + gint distance); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_menu_shell_get_type (void) G_GNUC_CONST; + +void gtk_menu_shell_append (GtkMenuShell *menu_shell, + GtkWidget *child); +void gtk_menu_shell_prepend (GtkMenuShell *menu_shell, + GtkWidget *child); +void gtk_menu_shell_insert (GtkMenuShell *menu_shell, + GtkWidget *child, + gint position); +void gtk_menu_shell_deactivate (GtkMenuShell *menu_shell); +void gtk_menu_shell_select_item (GtkMenuShell *menu_shell, + GtkWidget *menu_item); +void gtk_menu_shell_deselect (GtkMenuShell *menu_shell); +void gtk_menu_shell_activate_item (GtkMenuShell *menu_shell, + GtkWidget *menu_item, + gboolean force_deactivate); +void gtk_menu_shell_select_first (GtkMenuShell *menu_shell, + gboolean search_sensitive); +void gtk_menu_shell_cancel (GtkMenuShell *menu_shell); +gboolean gtk_menu_shell_get_take_focus (GtkMenuShell *menu_shell); +void gtk_menu_shell_set_take_focus (GtkMenuShell *menu_shell, + gboolean take_focus); + +GtkWidget *gtk_menu_shell_get_selected_item (GtkMenuShell *menu_shell); +GtkWidget *gtk_menu_shell_get_parent_shell (GtkMenuShell *menu_shell); + +G_END_DECLS + +#endif /* __GTK_MENU_SHELL_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkmenutoolbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkmenutoolbutton.h new file mode 100644 index 0000000..fb7977b --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkmenutoolbutton.h @@ -0,0 +1,79 @@ +/* GTK - The GIMP Toolkit + * + * Copyright (C) 2003 Ricardo Fernandez Pascual + * Copyright (C) 2004 Paolo Borelli + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_MENU_TOOL_BUTTON_H__ +#define __GTK_MENU_TOOL_BUTTON_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_MENU_TOOL_BUTTON (gtk_menu_tool_button_get_type ()) +#define GTK_MENU_TOOL_BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_MENU_TOOL_BUTTON, GtkMenuToolButton)) +#define GTK_MENU_TOOL_BUTTON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GTK_TYPE_MENU_TOOL_BUTTON, GtkMenuToolButtonClass)) +#define GTK_IS_MENU_TOOL_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_MENU_TOOL_BUTTON)) +#define GTK_IS_MENU_TOOL_BUTTON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_MENU_TOOL_BUTTON)) +#define GTK_MENU_TOOL_BUTTON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_MENU_TOOL_BUTTON, GtkMenuToolButtonClass)) + +typedef struct _GtkMenuToolButtonClass GtkMenuToolButtonClass; +typedef struct _GtkMenuToolButton GtkMenuToolButton; +typedef struct _GtkMenuToolButtonPrivate GtkMenuToolButtonPrivate; + +struct _GtkMenuToolButton +{ + GtkToolButton parent; + + /*< private >*/ + GtkMenuToolButtonPrivate *priv; +}; + +struct _GtkMenuToolButtonClass +{ + GtkToolButtonClass parent_class; + + void (*show_menu) (GtkMenuToolButton *button); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_menu_tool_button_get_type (void) G_GNUC_CONST; +GtkToolItem *gtk_menu_tool_button_new (GtkWidget *icon_widget, + const gchar *label); +GtkToolItem *gtk_menu_tool_button_new_from_stock (const gchar *stock_id); + +void gtk_menu_tool_button_set_menu (GtkMenuToolButton *button, + GtkWidget *menu); +GtkWidget *gtk_menu_tool_button_get_menu (GtkMenuToolButton *button); +void gtk_menu_tool_button_set_arrow_tooltip_text (GtkMenuToolButton *button, + const gchar *text); +void gtk_menu_tool_button_set_arrow_tooltip_markup (GtkMenuToolButton *button, + const gchar *markup); + +G_END_DECLS + +#endif /* __GTK_MENU_TOOL_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkmessagedialog.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkmessagedialog.h new file mode 100644 index 0000000..5f5d1a9 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkmessagedialog.h @@ -0,0 +1,132 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2003. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_MESSAGE_DIALOG_H__ +#define __GTK_MESSAGE_DIALOG_H__ + +#include +#include + +G_BEGIN_DECLS + + +#define GTK_TYPE_MESSAGE_DIALOG (gtk_message_dialog_get_type ()) +#define GTK_MESSAGE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialog)) +#define GTK_MESSAGE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialogClass)) +#define GTK_IS_MESSAGE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MESSAGE_DIALOG)) +#define GTK_IS_MESSAGE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MESSAGE_DIALOG)) +#define GTK_MESSAGE_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialogClass)) + +typedef struct _GtkMessageDialog GtkMessageDialog; +typedef struct _GtkMessageDialogPrivate GtkMessageDialogPrivate; +typedef struct _GtkMessageDialogClass GtkMessageDialogClass; + +struct _GtkMessageDialog +{ + GtkDialog parent_instance; + + /*< private >*/ + GtkMessageDialogPrivate *priv; +}; + +struct _GtkMessageDialogClass +{ + GtkDialogClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +/** + * GtkButtonsType: + * @GTK_BUTTONS_NONE: no buttons at all + * @GTK_BUTTONS_OK: an OK button + * @GTK_BUTTONS_CLOSE: a Close button + * @GTK_BUTTONS_CANCEL: a Cancel button + * @GTK_BUTTONS_YES_NO: Yes and No buttons + * @GTK_BUTTONS_OK_CANCEL: OK and Cancel buttons + * + * Prebuilt sets of buttons for the dialog. If + * none of these choices are appropriate, simply use %GTK_BUTTONS_NONE + * then call gtk_dialog_add_buttons(). + * + * Please note that %GTK_BUTTONS_OK, %GTK_BUTTONS_YES_NO + * and %GTK_BUTTONS_OK_CANCEL are discouraged by the + * GNOME HIG. + * + */ +typedef enum +{ + GTK_BUTTONS_NONE, + GTK_BUTTONS_OK, + GTK_BUTTONS_CLOSE, + GTK_BUTTONS_CANCEL, + GTK_BUTTONS_YES_NO, + GTK_BUTTONS_OK_CANCEL +} GtkButtonsType; + +GType gtk_message_dialog_get_type (void) G_GNUC_CONST; + +GtkWidget* gtk_message_dialog_new (GtkWindow *parent, + GtkDialogFlags flags, + GtkMessageType type, + GtkButtonsType buttons, + const gchar *message_format, + ...) G_GNUC_PRINTF (5, 6); + +GtkWidget* gtk_message_dialog_new_with_markup (GtkWindow *parent, + GtkDialogFlags flags, + GtkMessageType type, + GtkButtonsType buttons, + const gchar *message_format, + ...) G_GNUC_PRINTF (5, 6); + +void gtk_message_dialog_set_image (GtkMessageDialog *dialog, + GtkWidget *image); + +GtkWidget * gtk_message_dialog_get_image (GtkMessageDialog *dialog); + +void gtk_message_dialog_set_markup (GtkMessageDialog *message_dialog, + const gchar *str); + +void gtk_message_dialog_format_secondary_text (GtkMessageDialog *message_dialog, + const gchar *message_format, + ...) G_GNUC_PRINTF (2, 3); + +void gtk_message_dialog_format_secondary_markup (GtkMessageDialog *message_dialog, + const gchar *message_format, + ...) G_GNUC_PRINTF (2, 3); + +GtkWidget *gtk_message_dialog_get_message_area (GtkMessageDialog *message_dialog); + +G_END_DECLS + +#endif /* __GTK_MESSAGE_DIALOG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkmisc.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkmisc.h new file mode 100644 index 0000000..b767dd4 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkmisc.h @@ -0,0 +1,89 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_MISC_H__ +#define __GTK_MISC_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_MISC (gtk_misc_get_type ()) +#define GTK_MISC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MISC, GtkMisc)) +#define GTK_MISC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MISC, GtkMiscClass)) +#define GTK_IS_MISC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MISC)) +#define GTK_IS_MISC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MISC)) +#define GTK_MISC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MISC, GtkMiscClass)) + + +typedef struct _GtkMisc GtkMisc; +typedef struct _GtkMiscPrivate GtkMiscPrivate; +typedef struct _GtkMiscClass GtkMiscClass; + +struct _GtkMisc +{ + GtkWidget widget; + + /*< private >*/ + GtkMiscPrivate *priv; +}; + +struct _GtkMiscClass +{ + GtkWidgetClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_misc_get_type (void) G_GNUC_CONST; +void gtk_misc_set_alignment (GtkMisc *misc, + gfloat xalign, + gfloat yalign); +void gtk_misc_get_alignment (GtkMisc *misc, + gfloat *xalign, + gfloat *yalign); +void gtk_misc_set_padding (GtkMisc *misc, + gint xpad, + gint ypad); +void gtk_misc_get_padding (GtkMisc *misc, + gint *xpad, + gint *ypad); + +void _gtk_misc_get_padding_and_border (GtkMisc *misc, + GtkBorder *border); + +G_END_DECLS + +#endif /* __GTK_MISC_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkmodules.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkmodules.h new file mode 100644 index 0000000..594f99e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkmodules.h @@ -0,0 +1,58 @@ +/* GTK - The GIMP Toolkit + * Copyright 1998-2002 Tim Janik, Red Hat, Inc., and others. + * Copyright (C) 2003 Alex Graveley + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_MODULES_H__ +#define __GTK_MODULES_H__ + +#include + +G_BEGIN_DECLS + +/** + * GtkModuleInitFunc: + * @argc: (allow-none): GTK+ always passes %NULL for this argument + * @argv: (allow-none) (array length=argc): GTK+ always passes %NULL for this argument + * + * Each GTK+ module must have a function gtk_module_init() + * with this prototype. This function is called after loading + * the module. + */ +typedef void (*GtkModuleInitFunc) (gint *argc, + gchar ***argv); + +/** + * GtkModuleDisplayInitFunc: + * @display: an open #GdkDisplay + * + * A multihead-aware GTK+ module may have a gtk_module_display_init() + * function with this prototype. GTK+ calls this function for each + * opened display. + * + * Since: 2.2 + */ +typedef void (*GtkModuleDisplayInitFunc) (GdkDisplay *display); + + +G_END_DECLS + + +#endif /* __GTK_MODULES_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkmountoperation.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkmountoperation.h new file mode 100644 index 0000000..e75561c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkmountoperation.h @@ -0,0 +1,81 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) Christian Kellner + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_MOUNT_OPERATION_H__ +#define __GTK_MOUNT_OPERATION_H__ + +G_BEGIN_DECLS + +#define GTK_TYPE_MOUNT_OPERATION (gtk_mount_operation_get_type ()) +#define GTK_MOUNT_OPERATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_MOUNT_OPERATION, GtkMountOperation)) +#define GTK_MOUNT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GTK_TYPE_MOUNT_OPERATION, GtkMountOperationClass)) +#define GTK_IS_MOUNT_OPERATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_MOUNT_OPERATION)) +#define GTK_IS_MOUNT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_MOUNT_OPERATION)) +#define GTK_MOUNT_OPERATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_MOUNT_OPERATION, GtkMountOperationClass)) + +typedef struct _GtkMountOperation GtkMountOperation; +typedef struct _GtkMountOperationClass GtkMountOperationClass; +typedef struct _GtkMountOperationPrivate GtkMountOperationPrivate; + +/** + * GtkMountOperation: + * + * This should not be accessed directly. Use the accessor functions below. + */ +struct _GtkMountOperation +{ + GMountOperation parent_instance; + + GtkMountOperationPrivate *priv; +}; + +struct _GtkMountOperationClass +{ + GMountOperationClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_mount_operation_get_type (void); +GMountOperation *gtk_mount_operation_new (GtkWindow *parent); +gboolean gtk_mount_operation_is_showing (GtkMountOperation *op); +void gtk_mount_operation_set_parent (GtkMountOperation *op, + GtkWindow *parent); +GtkWindow * gtk_mount_operation_get_parent (GtkMountOperation *op); +void gtk_mount_operation_set_screen (GtkMountOperation *op, + GdkScreen *screen); +GdkScreen *gtk_mount_operation_get_screen (GtkMountOperation *op); + +G_END_DECLS + +#endif /* __GTK_MOUNT_OPERATION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtknotebook.h b/gtk+-mingw/include/gtk-3.0/gtk/gtknotebook.h new file mode 100644 index 0000000..5fa72af --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtknotebook.h @@ -0,0 +1,250 @@ +/* -*- Mode: C; c-file-style: "gnu"; tab-width: 8 -*- */ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_NOTEBOOK_H__ +#define __GTK_NOTEBOOK_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_NOTEBOOK (gtk_notebook_get_type ()) +#define GTK_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_NOTEBOOK, GtkNotebook)) +#define GTK_NOTEBOOK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_NOTEBOOK, GtkNotebookClass)) +#define GTK_IS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK)) +#define GTK_IS_NOTEBOOK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_NOTEBOOK)) +#define GTK_NOTEBOOK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_NOTEBOOK, GtkNotebookClass)) + + +typedef enum +{ + GTK_NOTEBOOK_TAB_FIRST, + GTK_NOTEBOOK_TAB_LAST +} GtkNotebookTab; + +typedef struct _GtkNotebook GtkNotebook; +typedef struct _GtkNotebookPrivate GtkNotebookPrivate; +typedef struct _GtkNotebookClass GtkNotebookClass; + +struct _GtkNotebook +{ + /*< private >*/ + GtkContainer container; + + GtkNotebookPrivate *priv; +}; + +struct _GtkNotebookClass +{ + GtkContainerClass parent_class; + + void (* switch_page) (GtkNotebook *notebook, + GtkWidget *page, + guint page_num); + + /* Action signals for keybindings */ + gboolean (* select_page) (GtkNotebook *notebook, + gboolean move_focus); + gboolean (* focus_tab) (GtkNotebook *notebook, + GtkNotebookTab type); + gboolean (* change_current_page) (GtkNotebook *notebook, + gint offset); + void (* move_focus_out) (GtkNotebook *notebook, + GtkDirectionType direction); + gboolean (* reorder_tab) (GtkNotebook *notebook, + GtkDirectionType direction, + gboolean move_to_last); + + /* More vfuncs */ + gint (* insert_page) (GtkNotebook *notebook, + GtkWidget *child, + GtkWidget *tab_label, + GtkWidget *menu_label, + gint position); + + GtkNotebook * (* create_window) (GtkNotebook *notebook, + GtkWidget *page, + gint x, + gint y); + + void (* page_reordered) (GtkNotebook *notebook, + GtkWidget *child, + guint page_num); + + void (* page_removed) (GtkNotebook *notebook, + GtkWidget *child, + guint page_num); + + void (* page_added) (GtkNotebook *notebook, + GtkWidget *child, + guint page_num); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +/*********************************************************** + * Creation, insertion, deletion * + ***********************************************************/ + +GType gtk_notebook_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_notebook_new (void); +gint gtk_notebook_append_page (GtkNotebook *notebook, + GtkWidget *child, + GtkWidget *tab_label); +gint gtk_notebook_append_page_menu (GtkNotebook *notebook, + GtkWidget *child, + GtkWidget *tab_label, + GtkWidget *menu_label); +gint gtk_notebook_prepend_page (GtkNotebook *notebook, + GtkWidget *child, + GtkWidget *tab_label); +gint gtk_notebook_prepend_page_menu (GtkNotebook *notebook, + GtkWidget *child, + GtkWidget *tab_label, + GtkWidget *menu_label); +gint gtk_notebook_insert_page (GtkNotebook *notebook, + GtkWidget *child, + GtkWidget *tab_label, + gint position); +gint gtk_notebook_insert_page_menu (GtkNotebook *notebook, + GtkWidget *child, + GtkWidget *tab_label, + GtkWidget *menu_label, + gint position); +void gtk_notebook_remove_page (GtkNotebook *notebook, + gint page_num); + +/*********************************************************** + * Tabs drag and drop * + ***********************************************************/ + +void gtk_notebook_set_group_name (GtkNotebook *notebook, + const gchar *group_name); +const gchar *gtk_notebook_get_group_name (GtkNotebook *notebook); + + + +/*********************************************************** + * query, set current NotebookPage * + ***********************************************************/ + +gint gtk_notebook_get_current_page (GtkNotebook *notebook); +GtkWidget* gtk_notebook_get_nth_page (GtkNotebook *notebook, + gint page_num); +gint gtk_notebook_get_n_pages (GtkNotebook *notebook); +gint gtk_notebook_page_num (GtkNotebook *notebook, + GtkWidget *child); +void gtk_notebook_set_current_page (GtkNotebook *notebook, + gint page_num); +void gtk_notebook_next_page (GtkNotebook *notebook); +void gtk_notebook_prev_page (GtkNotebook *notebook); + +/*********************************************************** + * set Notebook, NotebookTab style * + ***********************************************************/ + +void gtk_notebook_set_show_border (GtkNotebook *notebook, + gboolean show_border); +gboolean gtk_notebook_get_show_border (GtkNotebook *notebook); +void gtk_notebook_set_show_tabs (GtkNotebook *notebook, + gboolean show_tabs); +gboolean gtk_notebook_get_show_tabs (GtkNotebook *notebook); +void gtk_notebook_set_tab_pos (GtkNotebook *notebook, + GtkPositionType pos); +GtkPositionType gtk_notebook_get_tab_pos (GtkNotebook *notebook); +void gtk_notebook_set_scrollable (GtkNotebook *notebook, + gboolean scrollable); +gboolean gtk_notebook_get_scrollable (GtkNotebook *notebook); +guint16 gtk_notebook_get_tab_hborder (GtkNotebook *notebook); +guint16 gtk_notebook_get_tab_vborder (GtkNotebook *notebook); + +/*********************************************************** + * enable/disable PopupMenu * + ***********************************************************/ + +void gtk_notebook_popup_enable (GtkNotebook *notebook); +void gtk_notebook_popup_disable (GtkNotebook *notebook); + +/*********************************************************** + * query/set NotebookPage Properties * + ***********************************************************/ + +GtkWidget * gtk_notebook_get_tab_label (GtkNotebook *notebook, + GtkWidget *child); +void gtk_notebook_set_tab_label (GtkNotebook *notebook, + GtkWidget *child, + GtkWidget *tab_label); +void gtk_notebook_set_tab_label_text (GtkNotebook *notebook, + GtkWidget *child, + const gchar *tab_text); +const gchar * gtk_notebook_get_tab_label_text (GtkNotebook *notebook, + GtkWidget *child); +GtkWidget * gtk_notebook_get_menu_label (GtkNotebook *notebook, + GtkWidget *child); +void gtk_notebook_set_menu_label (GtkNotebook *notebook, + GtkWidget *child, + GtkWidget *menu_label); +void gtk_notebook_set_menu_label_text (GtkNotebook *notebook, + GtkWidget *child, + const gchar *menu_text); +const gchar * gtk_notebook_get_menu_label_text (GtkNotebook *notebook, + GtkWidget *child); +void gtk_notebook_reorder_child (GtkNotebook *notebook, + GtkWidget *child, + gint position); +gboolean gtk_notebook_get_tab_reorderable (GtkNotebook *notebook, + GtkWidget *child); +void gtk_notebook_set_tab_reorderable (GtkNotebook *notebook, + GtkWidget *child, + gboolean reorderable); +gboolean gtk_notebook_get_tab_detachable (GtkNotebook *notebook, + GtkWidget *child); +void gtk_notebook_set_tab_detachable (GtkNotebook *notebook, + GtkWidget *child, + gboolean detachable); + +GtkWidget* gtk_notebook_get_action_widget (GtkNotebook *notebook, + GtkPackType pack_type); +void gtk_notebook_set_action_widget (GtkNotebook *notebook, + GtkWidget *widget, + GtkPackType pack_type); + +G_END_DECLS + +#endif /* __GTK_NOTEBOOK_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtknumerableicon.h b/gtk+-mingw/include/gtk-3.0/gtk/gtknumerableicon.h new file mode 100644 index 0000000..850506d --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtknumerableicon.h @@ -0,0 +1,87 @@ +/* + * gtknumerableicon.h: an emblemed icon with number emblems + * + * Copyright (C) 2010 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + * + * Authors: Cosimo Cecchi + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_NUMERABLE_ICON_H__ +#define __GTK_NUMERABLE_ICON_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_NUMERABLE_ICON (gtk_numerable_icon_get_type ()) +#define GTK_NUMERABLE_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_NUMERABLE_ICON, GtkNumerableIcon)) +#define GTK_NUMERABLE_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_NUMERABLE_ICON, GtkNumerableIconClass)) +#define GTK_IS_NUMERABLE_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NUMERABLE_ICON)) +#define GTK_IS_NUMERABLE_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_NUMERABLE_ICON)) +#define GTK_NUMERABLE_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_NUMERABLE_ICON, GtkNumerableIconClass)) + +typedef struct _GtkNumerableIcon GtkNumerableIcon; +typedef struct _GtkNumerableIconClass GtkNumerableIconClass; +typedef struct _GtkNumerableIconPrivate GtkNumerableIconPrivate; + +struct _GtkNumerableIcon { + GEmblemedIcon parent; + + /*< private >*/ + GtkNumerableIconPrivate *priv; +}; + +struct _GtkNumerableIconClass { + GEmblemedIconClass parent_class; + + /* padding for future class expansion */ + gpointer padding[16]; +}; + +GType gtk_numerable_icon_get_type (void) G_GNUC_CONST; + +GIcon * gtk_numerable_icon_new (GIcon *base_icon); +GIcon * gtk_numerable_icon_new_with_style_context (GIcon *base_icon, + GtkStyleContext *context); + +GtkStyleContext * gtk_numerable_icon_get_style_context (GtkNumerableIcon *self); +void gtk_numerable_icon_set_style_context (GtkNumerableIcon *self, + GtkStyleContext *style); + +gint gtk_numerable_icon_get_count (GtkNumerableIcon *self); +void gtk_numerable_icon_set_count (GtkNumerableIcon *self, + gint count); + +const gchar * gtk_numerable_icon_get_label (GtkNumerableIcon *self); +void gtk_numerable_icon_set_label (GtkNumerableIcon *self, + const gchar *label); + +void gtk_numerable_icon_set_background_gicon (GtkNumerableIcon *self, + GIcon *icon); +GIcon * gtk_numerable_icon_get_background_gicon (GtkNumerableIcon *self); + +void gtk_numerable_icon_set_background_icon_name (GtkNumerableIcon *self, + const gchar *icon_name); +const gchar * gtk_numerable_icon_get_background_icon_name (GtkNumerableIcon *self); + +G_END_DECLS + +#endif /* __GTK_NUMERABLE_ICON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkoffscreenwindow.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkoffscreenwindow.h new file mode 100644 index 0000000..9b5837a --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkoffscreenwindow.h @@ -0,0 +1,64 @@ +/* + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Authors: Cody Russell + * Alexander Larsson + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_OFFSCREEN_WINDOW_H__ +#define __GTK_OFFSCREEN_WINDOW_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_OFFSCREEN_WINDOW (gtk_offscreen_window_get_type ()) +#define GTK_OFFSCREEN_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_OFFSCREEN_WINDOW, GtkOffscreenWindow)) +#define GTK_OFFSCREEN_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_OFFSCREEN_WINDOW, GtkOffscreenWindowClass)) +#define GTK_IS_OFFSCREEN_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_OFFSCREEN_WINDOW)) +#define GTK_IS_OFFSCREEN_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_OFFSCREEN_WINDOW)) +#define GTK_OFFSCREEN_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_OFFSCREEN_WINDOW, GtkOffscreenWindowClass)) + +typedef struct _GtkOffscreenWindow GtkOffscreenWindow; +typedef struct _GtkOffscreenWindowClass GtkOffscreenWindowClass; + +struct _GtkOffscreenWindow +{ + GtkWindow parent_object; +}; + +struct _GtkOffscreenWindowClass +{ + GtkWindowClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_offscreen_window_get_type (void) G_GNUC_CONST; + +GtkWidget *gtk_offscreen_window_new (void); +cairo_surface_t *gtk_offscreen_window_get_surface (GtkOffscreenWindow *offscreen); +GdkPixbuf *gtk_offscreen_window_get_pixbuf (GtkOffscreenWindow *offscreen); + +G_END_DECLS + +#endif /* __GTK_OFFSCREEN_WINDOW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkorientable.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkorientable.h new file mode 100644 index 0000000..bdc34d3 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkorientable.h @@ -0,0 +1,58 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * gtkorientable.h + * Copyright (C) 2008 Imendio AB + * Contact: Michael Natterer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_ORIENTABLE_H__ +#define __GTK_ORIENTABLE_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ORIENTABLE (gtk_orientable_get_type ()) +#define GTK_ORIENTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ORIENTABLE, GtkOrientable)) +#define GTK_ORIENTABLE_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_ORIENTABLE, GtkOrientableIface)) +#define GTK_IS_ORIENTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ORIENTABLE)) +#define GTK_IS_ORIENTABLE_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_ORIENTABLE)) +#define GTK_ORIENTABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_ORIENTABLE, GtkOrientableIface)) + + +typedef struct _GtkOrientable GtkOrientable; /* Dummy typedef */ +typedef struct _GtkOrientableIface GtkOrientableIface; + +struct _GtkOrientableIface +{ + GTypeInterface base_iface; +}; + + +GType gtk_orientable_get_type (void) G_GNUC_CONST; + +void gtk_orientable_set_orientation (GtkOrientable *orientable, + GtkOrientation orientation); +GtkOrientation gtk_orientable_get_orientation (GtkOrientable *orientable); + +G_END_DECLS + +#endif /* __GTK_ORIENTABLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkoverlay.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkoverlay.h new file mode 100644 index 0000000..fb186d3 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkoverlay.h @@ -0,0 +1,79 @@ +/* + * gtkoverlay.h + * This file is part of gtk + * + * Copyright (C) 2011 - Ignacio Casal Quinteiro + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_OVERLAY_H__ +#define __GTK_OVERLAY_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_OVERLAY (gtk_overlay_get_type ()) +#define GTK_OVERLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_OVERLAY, GtkOverlay)) +#define GTK_OVERLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_OVERLAY, GtkOverlayClass)) +#define GTK_IS_OVERLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_OVERLAY)) +#define GTK_IS_OVERLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_OVERLAY)) +#define GTK_OVERLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_OVERLAY, GtkOverlayClass)) + +typedef struct _GtkOverlay GtkOverlay; +typedef struct _GtkOverlayClass GtkOverlayClass; +typedef struct _GtkOverlayPrivate GtkOverlayPrivate; + +struct _GtkOverlay +{ + GtkBin parent; + + GtkOverlayPrivate *priv; +}; + +struct _GtkOverlayClass +{ + GtkBinClass parent_class; + + gboolean (*get_child_position) (GtkOverlay *overlay, + GtkWidget *widget, + GtkAllocation *allocation); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +GDK_AVAILABLE_IN_3_2 +GType gtk_overlay_get_type (void) G_GNUC_CONST; +GDK_AVAILABLE_IN_3_2 +GtkWidget *gtk_overlay_new (void); +GDK_AVAILABLE_IN_3_2 +void gtk_overlay_add_overlay (GtkOverlay *overlay, + GtkWidget *widget); + +G_END_DECLS + +#endif /* __GTK_OVERLAY_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkpagesetup.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkpagesetup.h new file mode 100644 index 0000000..cd4607d --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkpagesetup.h @@ -0,0 +1,106 @@ +/* GTK - The GIMP Toolkit + * gtkpagesetup.h: Page Setup + * Copyright (C) 2006, Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_PAGE_SETUP_H__ +#define __GTK_PAGE_SETUP_H__ + + +#include + + +G_BEGIN_DECLS + +typedef struct _GtkPageSetup GtkPageSetup; + +#define GTK_TYPE_PAGE_SETUP (gtk_page_setup_get_type ()) +#define GTK_PAGE_SETUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PAGE_SETUP, GtkPageSetup)) +#define GTK_IS_PAGE_SETUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PAGE_SETUP)) + +GType gtk_page_setup_get_type (void) G_GNUC_CONST; +GtkPageSetup * gtk_page_setup_new (void); +GtkPageSetup * gtk_page_setup_copy (GtkPageSetup *other); +GtkPageOrientation gtk_page_setup_get_orientation (GtkPageSetup *setup); +void gtk_page_setup_set_orientation (GtkPageSetup *setup, + GtkPageOrientation orientation); +GtkPaperSize * gtk_page_setup_get_paper_size (GtkPageSetup *setup); +void gtk_page_setup_set_paper_size (GtkPageSetup *setup, + GtkPaperSize *size); +gdouble gtk_page_setup_get_top_margin (GtkPageSetup *setup, + GtkUnit unit); +void gtk_page_setup_set_top_margin (GtkPageSetup *setup, + gdouble margin, + GtkUnit unit); +gdouble gtk_page_setup_get_bottom_margin (GtkPageSetup *setup, + GtkUnit unit); +void gtk_page_setup_set_bottom_margin (GtkPageSetup *setup, + gdouble margin, + GtkUnit unit); +gdouble gtk_page_setup_get_left_margin (GtkPageSetup *setup, + GtkUnit unit); +void gtk_page_setup_set_left_margin (GtkPageSetup *setup, + gdouble margin, + GtkUnit unit); +gdouble gtk_page_setup_get_right_margin (GtkPageSetup *setup, + GtkUnit unit); +void gtk_page_setup_set_right_margin (GtkPageSetup *setup, + gdouble margin, + GtkUnit unit); + +void gtk_page_setup_set_paper_size_and_default_margins (GtkPageSetup *setup, + GtkPaperSize *size); + +/* These take orientation, but not margins into consideration */ +gdouble gtk_page_setup_get_paper_width (GtkPageSetup *setup, + GtkUnit unit); +gdouble gtk_page_setup_get_paper_height (GtkPageSetup *setup, + GtkUnit unit); + + +/* These take orientation, and margins into consideration */ +gdouble gtk_page_setup_get_page_width (GtkPageSetup *setup, + GtkUnit unit); +gdouble gtk_page_setup_get_page_height (GtkPageSetup *setup, + GtkUnit unit); + +/* Saving and restoring page setup */ +GtkPageSetup *gtk_page_setup_new_from_file (const gchar *file_name, + GError **error); +gboolean gtk_page_setup_load_file (GtkPageSetup *setup, + const char *file_name, + GError **error); +gboolean gtk_page_setup_to_file (GtkPageSetup *setup, + const char *file_name, + GError **error); +GtkPageSetup *gtk_page_setup_new_from_key_file (GKeyFile *key_file, + const gchar *group_name, + GError **error); +gboolean gtk_page_setup_load_key_file (GtkPageSetup *setup, + GKeyFile *key_file, + const gchar *group_name, + GError **error); +void gtk_page_setup_to_key_file (GtkPageSetup *setup, + GKeyFile *key_file, + const gchar *group_name); + +G_END_DECLS + +#endif /* __GTK_PAGE_SETUP_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkpaned.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkpaned.h new file mode 100644 index 0000000..67642a3 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkpaned.h @@ -0,0 +1,105 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_PANED_H__ +#define __GTK_PANED_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_PANED (gtk_paned_get_type ()) +#define GTK_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PANED, GtkPaned)) +#define GTK_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PANED, GtkPanedClass)) +#define GTK_IS_PANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PANED)) +#define GTK_IS_PANED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PANED)) +#define GTK_PANED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PANED, GtkPanedClass)) + + +typedef struct _GtkPaned GtkPaned; +typedef struct _GtkPanedClass GtkPanedClass; +typedef struct _GtkPanedPrivate GtkPanedPrivate; + +struct _GtkPaned +{ + GtkContainer container; + + /*< private >*/ + GtkPanedPrivate *priv; +}; + +struct _GtkPanedClass +{ + GtkContainerClass parent_class; + + gboolean (* cycle_child_focus) (GtkPaned *paned, + gboolean reverse); + gboolean (* toggle_handle_focus) (GtkPaned *paned); + gboolean (* move_handle) (GtkPaned *paned, + GtkScrollType scroll); + gboolean (* cycle_handle_focus) (GtkPaned *paned, + gboolean reverse); + gboolean (* accept_position) (GtkPaned *paned); + gboolean (* cancel_position) (GtkPaned *paned); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_paned_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_paned_new (GtkOrientation orientation); +void gtk_paned_add1 (GtkPaned *paned, + GtkWidget *child); +void gtk_paned_add2 (GtkPaned *paned, + GtkWidget *child); +void gtk_paned_pack1 (GtkPaned *paned, + GtkWidget *child, + gboolean resize, + gboolean shrink); +void gtk_paned_pack2 (GtkPaned *paned, + GtkWidget *child, + gboolean resize, + gboolean shrink); + +gint gtk_paned_get_position (GtkPaned *paned); +void gtk_paned_set_position (GtkPaned *paned, + gint position); + +GtkWidget * gtk_paned_get_child1 (GtkPaned *paned); +GtkWidget * gtk_paned_get_child2 (GtkPaned *paned); + +GdkWindow * gtk_paned_get_handle_window (GtkPaned *paned); + + +G_END_DECLS + +#endif /* __GTK_PANED_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkpapersize.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkpapersize.h new file mode 100644 index 0000000..f3cfa6e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkpapersize.h @@ -0,0 +1,140 @@ +/* GTK - The GIMP Toolkit + * gtkpapersize.h: Paper Size + * Copyright (C) 2006, Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_PAPER_SIZE_H__ +#define __GTK_PAPER_SIZE_H__ + + +#include + + +G_BEGIN_DECLS + +typedef struct _GtkPaperSize GtkPaperSize; + +#define GTK_TYPE_PAPER_SIZE (gtk_paper_size_get_type ()) + +/* Common names, from PWG 5101.1-2002 PWG: Standard for Media Standardized Names */ +/** + * GTK_PAPER_NAME_A3: + * + * Name for the A4 paper size. + */ +#define GTK_PAPER_NAME_A3 "iso_a3" + +/** + * GTK_PAPER_NAME_A4: + * + * Name for the A4 paper size. + */ +#define GTK_PAPER_NAME_A4 "iso_a4" + +/** + * GTK_PAPER_NAME_A5: + * + * Name for the A5 paper size. + */ +#define GTK_PAPER_NAME_A5 "iso_a5" + +/** + * GTK_PAPER_NAME_B5: + * + * Name for the B5 paper size. + */ +#define GTK_PAPER_NAME_B5 "iso_b5" + +/** + * GTK_PAPER_NAME_LETTER: + * + * Name for the Letter paper size. + */ +#define GTK_PAPER_NAME_LETTER "na_letter" + +/** + * GTK_PAPER_NAME_EXECUTIVE: + * + * Name for the Executive paper size. + */ +#define GTK_PAPER_NAME_EXECUTIVE "na_executive" + +/** + * GTK_PAPER_NAME_LEGAL: + * + * Name for the Legal paper size. + */ +#define GTK_PAPER_NAME_LEGAL "na_legal" + +GType gtk_paper_size_get_type (void) G_GNUC_CONST; + +GtkPaperSize *gtk_paper_size_new (const gchar *name); +GtkPaperSize *gtk_paper_size_new_from_ppd (const gchar *ppd_name, + const gchar *ppd_display_name, + gdouble width, + gdouble height); +GtkPaperSize *gtk_paper_size_new_custom (const gchar *name, + const gchar *display_name, + gdouble width, + gdouble height, + GtkUnit unit); +GtkPaperSize *gtk_paper_size_copy (GtkPaperSize *other); +void gtk_paper_size_free (GtkPaperSize *size); +gboolean gtk_paper_size_is_equal (GtkPaperSize *size1, + GtkPaperSize *size2); + +GList *gtk_paper_size_get_paper_sizes (gboolean include_custom); + +/* The width is always the shortest side, measure in mm */ +const gchar *gtk_paper_size_get_name (GtkPaperSize *size); +const gchar *gtk_paper_size_get_display_name (GtkPaperSize *size); +const gchar *gtk_paper_size_get_ppd_name (GtkPaperSize *size); + +gdouble gtk_paper_size_get_width (GtkPaperSize *size, GtkUnit unit); +gdouble gtk_paper_size_get_height (GtkPaperSize *size, GtkUnit unit); +gboolean gtk_paper_size_is_custom (GtkPaperSize *size); + +/* Only for custom sizes: */ +void gtk_paper_size_set_size (GtkPaperSize *size, + gdouble width, + gdouble height, + GtkUnit unit); + +gdouble gtk_paper_size_get_default_top_margin (GtkPaperSize *size, + GtkUnit unit); +gdouble gtk_paper_size_get_default_bottom_margin (GtkPaperSize *size, + GtkUnit unit); +gdouble gtk_paper_size_get_default_left_margin (GtkPaperSize *size, + GtkUnit unit); +gdouble gtk_paper_size_get_default_right_margin (GtkPaperSize *size, + GtkUnit unit); + +const gchar *gtk_paper_size_get_default (void); + +GtkPaperSize *gtk_paper_size_new_from_key_file (GKeyFile *key_file, + const gchar *group_name, + GError **error); +void gtk_paper_size_to_key_file (GtkPaperSize *size, + GKeyFile *key_file, + const gchar *group_name); + +G_END_DECLS + +#endif /* __GTK_PAPER_SIZE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkplug.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkplug.h new file mode 100644 index 0000000..60156ce --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkplug.h @@ -0,0 +1,97 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTKX_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_PLUG_H__ +#define __GTK_PLUG_H__ + +#include + +#ifdef GDK_WINDOWING_X11 + +#include + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_PLUG (gtk_plug_get_type ()) +#define GTK_PLUG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PLUG, GtkPlug)) +#define GTK_PLUG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PLUG, GtkPlugClass)) +#define GTK_IS_PLUG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PLUG)) +#define GTK_IS_PLUG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PLUG)) +#define GTK_PLUG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PLUG, GtkPlugClass)) + + +typedef struct _GtkPlug GtkPlug; +typedef struct _GtkPlugPrivate GtkPlugPrivate; +typedef struct _GtkPlugClass GtkPlugClass; + + +struct _GtkPlug +{ + GtkWindow window; + + GtkPlugPrivate *priv; +}; + +struct _GtkPlugClass +{ + GtkWindowClass parent_class; + + void (*embedded) (GtkPlug *plug); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_plug_get_type (void) G_GNUC_CONST; + +#ifndef GDK_MULTIHEAD_SAFE +void gtk_plug_construct (GtkPlug *plug, + Window socket_id); +GtkWidget *gtk_plug_new (Window socket_id); +#endif + +void gtk_plug_construct_for_display (GtkPlug *plug, + GdkDisplay *display, + Window socket_id); +GtkWidget *gtk_plug_new_for_display (GdkDisplay *display, + Window socket_id); +Window gtk_plug_get_id (GtkPlug *plug); +gboolean gtk_plug_get_embedded (GtkPlug *plug); +GdkWindow *gtk_plug_get_socket_window (GtkPlug *plug); + +G_END_DECLS + +#endif /* GDK_WINDOWING_X11 */ + +#endif /* __GTK_PLUG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkprintcontext.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkprintcontext.h new file mode 100644 index 0000000..561d0c4 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkprintcontext.h @@ -0,0 +1,69 @@ +/* GTK - The GIMP Toolkit + * gtkprintcontext.h: Print Context + * Copyright (C) 2006, Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_PRINT_CONTEXT_H__ +#define __GTK_PRINT_CONTEXT_H__ + + +#include +#include + + +G_BEGIN_DECLS + +typedef struct _GtkPrintContext GtkPrintContext; + +#define GTK_TYPE_PRINT_CONTEXT (gtk_print_context_get_type ()) +#define GTK_PRINT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_CONTEXT, GtkPrintContext)) +#define GTK_IS_PRINT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_CONTEXT)) + +GType gtk_print_context_get_type (void) G_GNUC_CONST; + + +/* Rendering */ +cairo_t *gtk_print_context_get_cairo_context (GtkPrintContext *context); + +GtkPageSetup *gtk_print_context_get_page_setup (GtkPrintContext *context); +gdouble gtk_print_context_get_width (GtkPrintContext *context); +gdouble gtk_print_context_get_height (GtkPrintContext *context); +gdouble gtk_print_context_get_dpi_x (GtkPrintContext *context); +gdouble gtk_print_context_get_dpi_y (GtkPrintContext *context); +gboolean gtk_print_context_get_hard_margins (GtkPrintContext *context, + gdouble *top, + gdouble *bottom, + gdouble *left, + gdouble *right); + +/* Fonts */ +PangoFontMap *gtk_print_context_get_pango_fontmap (GtkPrintContext *context); +PangoContext *gtk_print_context_create_pango_context (GtkPrintContext *context); +PangoLayout *gtk_print_context_create_pango_layout (GtkPrintContext *context); + +/* Needed for preview implementations */ +void gtk_print_context_set_cairo_context (GtkPrintContext *context, + cairo_t *cr, + double dpi_x, + double dpi_y); + +G_END_DECLS + +#endif /* __GTK_PRINT_CONTEXT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkprintoperation.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkprintoperation.h new file mode 100644 index 0000000..a1e8aec --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkprintoperation.h @@ -0,0 +1,280 @@ +/* GTK - The GIMP Toolkit + * gtkprintoperation.h: Print Operation + * Copyright (C) 2006, Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_PRINT_OPERATION_H__ +#define __GTK_PRINT_OPERATION_H__ + + +#include +#include +#include +#include +#include +#include +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_PRINT_OPERATION (gtk_print_operation_get_type ()) +#define GTK_PRINT_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_OPERATION, GtkPrintOperation)) +#define GTK_PRINT_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PRINT_OPERATION, GtkPrintOperationClass)) +#define GTK_IS_PRINT_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_OPERATION)) +#define GTK_IS_PRINT_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINT_OPERATION)) +#define GTK_PRINT_OPERATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINT_OPERATION, GtkPrintOperationClass)) + +typedef struct _GtkPrintOperationClass GtkPrintOperationClass; +typedef struct _GtkPrintOperationPrivate GtkPrintOperationPrivate; +typedef struct _GtkPrintOperation GtkPrintOperation; + +/** + * GtkPrintStatus: + * @GTK_PRINT_STATUS_INITIAL: The printing has not started yet; this + * status is set initially, and while the print dialog is shown. + * @GTK_PRINT_STATUS_PREPARING: This status is set while the begin-print + * signal is emitted and during pagination. + * @GTK_PRINT_STATUS_GENERATING_DATA: This status is set while the + * pages are being rendered. + * @GTK_PRINT_STATUS_SENDING_DATA: The print job is being sent off to the + * printer. + * @GTK_PRINT_STATUS_PENDING: The print job has been sent to the printer, + * but is not printed for some reason, e.g. the printer may be stopped. + * @GTK_PRINT_STATUS_PENDING_ISSUE: Some problem has occurred during + * printing, e.g. a paper jam. + * @GTK_PRINT_STATUS_PRINTING: The printer is processing the print job. + * @GTK_PRINT_STATUS_FINISHED: The printing has been completed successfully. + * @GTK_PRINT_STATUS_FINISHED_ABORTED: The printing has been aborted. + * + * The status gives a rough indication of the completion of a running + * print operation. + */ +typedef enum { + GTK_PRINT_STATUS_INITIAL, + GTK_PRINT_STATUS_PREPARING, + GTK_PRINT_STATUS_GENERATING_DATA, + GTK_PRINT_STATUS_SENDING_DATA, + GTK_PRINT_STATUS_PENDING, + GTK_PRINT_STATUS_PENDING_ISSUE, + GTK_PRINT_STATUS_PRINTING, + GTK_PRINT_STATUS_FINISHED, + GTK_PRINT_STATUS_FINISHED_ABORTED +} GtkPrintStatus; + +/** + * GtkPrintOperationResult: + * @GTK_PRINT_OPERATION_RESULT_ERROR: An error has occured. + * @GTK_PRINT_OPERATION_RESULT_APPLY: The print settings should be stored. + * @GTK_PRINT_OPERATION_RESULT_CANCEL: The print operation has been canceled, + * the print settings should not be stored. + * @GTK_PRINT_OPERATION_RESULT_IN_PROGRESS: The print operation is not complete + * yet. This value will only be returned when running asynchronously. + * + * A value of this type is returned by gtk_print_operation_run(). + */ +typedef enum { + GTK_PRINT_OPERATION_RESULT_ERROR, + GTK_PRINT_OPERATION_RESULT_APPLY, + GTK_PRINT_OPERATION_RESULT_CANCEL, + GTK_PRINT_OPERATION_RESULT_IN_PROGRESS +} GtkPrintOperationResult; + +/** + * GtkPrintOperationAction: + * @GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG: Show the print dialog. + * @GTK_PRINT_OPERATION_ACTION_PRINT: Start to print without showing + * the print dialog, based on the current print settings. + * @GTK_PRINT_OPERATION_ACTION_PREVIEW: Show the print preview. + * @GTK_PRINT_OPERATION_ACTION_EXPORT: Export to a file. This requires + * the export-filename property to be set. + * + * The @action parameter to gtk_print_operation_run() + * determines what action the print operation should perform. + */ +typedef enum { + GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG, + GTK_PRINT_OPERATION_ACTION_PRINT, + GTK_PRINT_OPERATION_ACTION_PREVIEW, + GTK_PRINT_OPERATION_ACTION_EXPORT +} GtkPrintOperationAction; + + +struct _GtkPrintOperation +{ + GObject parent_instance; + + /*< private >*/ + GtkPrintOperationPrivate *priv; +}; + +struct _GtkPrintOperationClass +{ + GObjectClass parent_class; + + void (*done) (GtkPrintOperation *operation, + GtkPrintOperationResult result); + void (*begin_print) (GtkPrintOperation *operation, + GtkPrintContext *context); + gboolean (*paginate) (GtkPrintOperation *operation, + GtkPrintContext *context); + void (*request_page_setup) (GtkPrintOperation *operation, + GtkPrintContext *context, + gint page_nr, + GtkPageSetup *setup); + void (*draw_page) (GtkPrintOperation *operation, + GtkPrintContext *context, + gint page_nr); + void (*end_print) (GtkPrintOperation *operation, + GtkPrintContext *context); + void (*status_changed) (GtkPrintOperation *operation); + + GtkWidget *(*create_custom_widget) (GtkPrintOperation *operation); + void (*custom_widget_apply) (GtkPrintOperation *operation, + GtkWidget *widget); + + gboolean (*preview) (GtkPrintOperation *operation, + GtkPrintOperationPreview *preview, + GtkPrintContext *context, + GtkWindow *parent); + + void (*update_custom_widget) (GtkPrintOperation *operation, + GtkWidget *widget, + GtkPageSetup *setup, + GtkPrintSettings *settings); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +/** + * GTK_PRINT_ERROR: + * + * The error domain for #GtkPrintError errors. + */ +#define GTK_PRINT_ERROR gtk_print_error_quark () + +/** + * GtkPrintError: + * @GTK_PRINT_ERROR_GENERAL: An unspecified error occurred. + * @GTK_PRINT_ERROR_INTERNAL_ERROR: An internal error occurred. + * @GTK_PRINT_ERROR_NOMEM: A memory allocation failed. + * @GTK_PRINT_ERROR_INVALID_FILE: An error occurred while loading a page setup + * or paper size from a key file. + * + * Error codes that identify various errors that can occur while + * using the GTK+ printing support. + */ +typedef enum +{ + GTK_PRINT_ERROR_GENERAL, + GTK_PRINT_ERROR_INTERNAL_ERROR, + GTK_PRINT_ERROR_NOMEM, + GTK_PRINT_ERROR_INVALID_FILE +} GtkPrintError; + +GQuark gtk_print_error_quark (void); + +GType gtk_print_operation_get_type (void) G_GNUC_CONST; +GtkPrintOperation * gtk_print_operation_new (void); +void gtk_print_operation_set_default_page_setup (GtkPrintOperation *op, + GtkPageSetup *default_page_setup); +GtkPageSetup * gtk_print_operation_get_default_page_setup (GtkPrintOperation *op); +void gtk_print_operation_set_print_settings (GtkPrintOperation *op, + GtkPrintSettings *print_settings); +GtkPrintSettings * gtk_print_operation_get_print_settings (GtkPrintOperation *op); +void gtk_print_operation_set_job_name (GtkPrintOperation *op, + const gchar *job_name); +void gtk_print_operation_set_n_pages (GtkPrintOperation *op, + gint n_pages); +void gtk_print_operation_set_current_page (GtkPrintOperation *op, + gint current_page); +void gtk_print_operation_set_use_full_page (GtkPrintOperation *op, + gboolean full_page); +void gtk_print_operation_set_unit (GtkPrintOperation *op, + GtkUnit unit); +void gtk_print_operation_set_export_filename (GtkPrintOperation *op, + const gchar *filename); +void gtk_print_operation_set_track_print_status (GtkPrintOperation *op, + gboolean track_status); +void gtk_print_operation_set_show_progress (GtkPrintOperation *op, + gboolean show_progress); +void gtk_print_operation_set_allow_async (GtkPrintOperation *op, + gboolean allow_async); +void gtk_print_operation_set_custom_tab_label (GtkPrintOperation *op, + const gchar *label); +GtkPrintOperationResult gtk_print_operation_run (GtkPrintOperation *op, + GtkPrintOperationAction action, + GtkWindow *parent, + GError **error); +void gtk_print_operation_get_error (GtkPrintOperation *op, + GError **error); +GtkPrintStatus gtk_print_operation_get_status (GtkPrintOperation *op); +const gchar * gtk_print_operation_get_status_string (GtkPrintOperation *op); +gboolean gtk_print_operation_is_finished (GtkPrintOperation *op); +void gtk_print_operation_cancel (GtkPrintOperation *op); +void gtk_print_operation_draw_page_finish (GtkPrintOperation *op); +void gtk_print_operation_set_defer_drawing (GtkPrintOperation *op); +void gtk_print_operation_set_support_selection (GtkPrintOperation *op, + gboolean support_selection); +gboolean gtk_print_operation_get_support_selection (GtkPrintOperation *op); +void gtk_print_operation_set_has_selection (GtkPrintOperation *op, + gboolean has_selection); +gboolean gtk_print_operation_get_has_selection (GtkPrintOperation *op); +void gtk_print_operation_set_embed_page_setup (GtkPrintOperation *op, + gboolean embed); +gboolean gtk_print_operation_get_embed_page_setup (GtkPrintOperation *op); +gint gtk_print_operation_get_n_pages_to_print (GtkPrintOperation *op); + +GtkPageSetup *gtk_print_run_page_setup_dialog (GtkWindow *parent, + GtkPageSetup *page_setup, + GtkPrintSettings *settings); + +/** + * GtkPageSetupDoneFunc: + * @page_setup: the #GtkPageSetup that has been + * @data: (closure): user data that has been passed to + * gtk_print_run_page_setup_dialog_async() + * + * The type of function that is passed to + * gtk_print_run_page_setup_dialog_async(). + * + * This function will be called when the page setup dialog + * is dismissed, and also serves as destroy notify for @data. + */ +typedef void (* GtkPageSetupDoneFunc) (GtkPageSetup *page_setup, + gpointer data); + +void gtk_print_run_page_setup_dialog_async (GtkWindow *parent, + GtkPageSetup *page_setup, + GtkPrintSettings *settings, + GtkPageSetupDoneFunc done_cb, + gpointer data); + +G_END_DECLS + +#endif /* __GTK_PRINT_OPERATION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkprintoperationpreview.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkprintoperationpreview.h new file mode 100644 index 0000000..e932e7c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkprintoperationpreview.h @@ -0,0 +1,79 @@ +/* GTK - The GIMP Toolkit + * gtkprintoperationpreview.h: Abstract print preview interface + * Copyright (C) 2006, Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_PRINT_OPERATION_PREVIEW_H__ +#define __GTK_PRINT_OPERATION_PREVIEW_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_PRINT_OPERATION_PREVIEW (gtk_print_operation_preview_get_type ()) +#define GTK_PRINT_OPERATION_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_OPERATION_PREVIEW, GtkPrintOperationPreview)) +#define GTK_IS_PRINT_OPERATION_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_OPERATION_PREVIEW)) +#define GTK_PRINT_OPERATION_PREVIEW_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_PRINT_OPERATION_PREVIEW, GtkPrintOperationPreviewIface)) + +typedef struct _GtkPrintOperationPreview GtkPrintOperationPreview; /*dummy typedef */ +typedef struct _GtkPrintOperationPreviewIface GtkPrintOperationPreviewIface; + + +struct _GtkPrintOperationPreviewIface +{ + GTypeInterface g_iface; + + /* signals */ + void (*ready) (GtkPrintOperationPreview *preview, + GtkPrintContext *context); + void (*got_page_size) (GtkPrintOperationPreview *preview, + GtkPrintContext *context, + GtkPageSetup *page_setup); + + /* methods */ + void (*render_page) (GtkPrintOperationPreview *preview, + gint page_nr); + gboolean (*is_selected) (GtkPrintOperationPreview *preview, + gint page_nr); + void (*end_preview) (GtkPrintOperationPreview *preview); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +GType gtk_print_operation_preview_get_type (void) G_GNUC_CONST; + +void gtk_print_operation_preview_render_page (GtkPrintOperationPreview *preview, + gint page_nr); +void gtk_print_operation_preview_end_preview (GtkPrintOperationPreview *preview); +gboolean gtk_print_operation_preview_is_selected (GtkPrintOperationPreview *preview, + gint page_nr); + +G_END_DECLS + +#endif /* __GTK_PRINT_OPERATION_PREVIEW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkprintsettings.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkprintsettings.h new file mode 100644 index 0000000..3323a7b --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkprintsettings.h @@ -0,0 +1,248 @@ +/* GTK - The GIMP Toolkit + * gtkprintsettings.h: Print Settings + * Copyright (C) 2006, Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_PRINT_SETTINGS_H__ +#define __GTK_PRINT_SETTINGS_H__ + +#include + +G_BEGIN_DECLS + +typedef struct _GtkPrintSettings GtkPrintSettings; + +#define GTK_TYPE_PRINT_SETTINGS (gtk_print_settings_get_type ()) +#define GTK_PRINT_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_SETTINGS, GtkPrintSettings)) +#define GTK_IS_PRINT_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_SETTINGS)) + +typedef void (*GtkPrintSettingsFunc) (const gchar *key, + const gchar *value, + gpointer user_data); + +typedef struct _GtkPageRange GtkPageRange; +struct _GtkPageRange +{ + gint start; + gint end; +}; + +GType gtk_print_settings_get_type (void) G_GNUC_CONST; +GtkPrintSettings *gtk_print_settings_new (void); + +GtkPrintSettings *gtk_print_settings_copy (GtkPrintSettings *other); + +GtkPrintSettings *gtk_print_settings_new_from_file (const gchar *file_name, + GError **error); +gboolean gtk_print_settings_load_file (GtkPrintSettings *settings, + const gchar *file_name, + GError **error); +gboolean gtk_print_settings_to_file (GtkPrintSettings *settings, + const gchar *file_name, + GError **error); +GtkPrintSettings *gtk_print_settings_new_from_key_file (GKeyFile *key_file, + const gchar *group_name, + GError **error); +gboolean gtk_print_settings_load_key_file (GtkPrintSettings *settings, + GKeyFile *key_file, + const gchar *group_name, + GError **error); +void gtk_print_settings_to_key_file (GtkPrintSettings *settings, + GKeyFile *key_file, + const gchar *group_name); +gboolean gtk_print_settings_has_key (GtkPrintSettings *settings, + const gchar *key); +const gchar * gtk_print_settings_get (GtkPrintSettings *settings, + const gchar *key); +void gtk_print_settings_set (GtkPrintSettings *settings, + const gchar *key, + const gchar *value); +void gtk_print_settings_unset (GtkPrintSettings *settings, + const gchar *key); +void gtk_print_settings_foreach (GtkPrintSettings *settings, + GtkPrintSettingsFunc func, + gpointer user_data); +gboolean gtk_print_settings_get_bool (GtkPrintSettings *settings, + const gchar *key); +void gtk_print_settings_set_bool (GtkPrintSettings *settings, + const gchar *key, + gboolean value); +gdouble gtk_print_settings_get_double (GtkPrintSettings *settings, + const gchar *key); +gdouble gtk_print_settings_get_double_with_default (GtkPrintSettings *settings, + const gchar *key, + gdouble def); +void gtk_print_settings_set_double (GtkPrintSettings *settings, + const gchar *key, + gdouble value); +gdouble gtk_print_settings_get_length (GtkPrintSettings *settings, + const gchar *key, + GtkUnit unit); +void gtk_print_settings_set_length (GtkPrintSettings *settings, + const gchar *key, + gdouble value, + GtkUnit unit); +gint gtk_print_settings_get_int (GtkPrintSettings *settings, + const gchar *key); +gint gtk_print_settings_get_int_with_default (GtkPrintSettings *settings, + const gchar *key, + gint def); +void gtk_print_settings_set_int (GtkPrintSettings *settings, + const gchar *key, + gint value); + +#define GTK_PRINT_SETTINGS_PRINTER "printer" +#define GTK_PRINT_SETTINGS_ORIENTATION "orientation" +#define GTK_PRINT_SETTINGS_PAPER_FORMAT "paper-format" +#define GTK_PRINT_SETTINGS_PAPER_WIDTH "paper-width" +#define GTK_PRINT_SETTINGS_PAPER_HEIGHT "paper-height" +#define GTK_PRINT_SETTINGS_N_COPIES "n-copies" +#define GTK_PRINT_SETTINGS_DEFAULT_SOURCE "default-source" +#define GTK_PRINT_SETTINGS_QUALITY "quality" +#define GTK_PRINT_SETTINGS_RESOLUTION "resolution" +#define GTK_PRINT_SETTINGS_USE_COLOR "use-color" +#define GTK_PRINT_SETTINGS_DUPLEX "duplex" +#define GTK_PRINT_SETTINGS_COLLATE "collate" +#define GTK_PRINT_SETTINGS_REVERSE "reverse" +#define GTK_PRINT_SETTINGS_MEDIA_TYPE "media-type" +#define GTK_PRINT_SETTINGS_DITHER "dither" +#define GTK_PRINT_SETTINGS_SCALE "scale" +#define GTK_PRINT_SETTINGS_PRINT_PAGES "print-pages" +#define GTK_PRINT_SETTINGS_PAGE_RANGES "page-ranges" +#define GTK_PRINT_SETTINGS_PAGE_SET "page-set" +#define GTK_PRINT_SETTINGS_FINISHINGS "finishings" +#define GTK_PRINT_SETTINGS_NUMBER_UP "number-up" +#define GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT "number-up-layout" +#define GTK_PRINT_SETTINGS_OUTPUT_BIN "output-bin" +#define GTK_PRINT_SETTINGS_RESOLUTION_X "resolution-x" +#define GTK_PRINT_SETTINGS_RESOLUTION_Y "resolution-y" +#define GTK_PRINT_SETTINGS_PRINTER_LPI "printer-lpi" +#define GTK_PRINT_SETTINGS_OUTPUT_DIR "output-dir" +#define GTK_PRINT_SETTINGS_OUTPUT_BASENAME "output-basename" + +/** + * GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT: + * + * The key used by the "Print to file" printer to store the format + * of the output. The supported values are "PS" and "PDF". + */ +#define GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT "output-file-format" + +/** + * GTK_PRINT_SETTINGS_OUTPUT_URI: + * + * The key used by the "Print to file" printer to store the URI + * to which the output should be written. GTK+ itself supports + * only "file://" URIs. + */ +#define GTK_PRINT_SETTINGS_OUTPUT_URI "output-uri" + +#define GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION "win32-driver-version" +#define GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA "win32-driver-extra" + +/* Helpers: */ + +const gchar * gtk_print_settings_get_printer (GtkPrintSettings *settings); +void gtk_print_settings_set_printer (GtkPrintSettings *settings, + const gchar *printer); +GtkPageOrientation gtk_print_settings_get_orientation (GtkPrintSettings *settings); +void gtk_print_settings_set_orientation (GtkPrintSettings *settings, + GtkPageOrientation orientation); +GtkPaperSize * gtk_print_settings_get_paper_size (GtkPrintSettings *settings); +void gtk_print_settings_set_paper_size (GtkPrintSettings *settings, + GtkPaperSize *paper_size); +gdouble gtk_print_settings_get_paper_width (GtkPrintSettings *settings, + GtkUnit unit); +void gtk_print_settings_set_paper_width (GtkPrintSettings *settings, + gdouble width, + GtkUnit unit); +gdouble gtk_print_settings_get_paper_height (GtkPrintSettings *settings, + GtkUnit unit); +void gtk_print_settings_set_paper_height (GtkPrintSettings *settings, + gdouble height, + GtkUnit unit); +gboolean gtk_print_settings_get_use_color (GtkPrintSettings *settings); +void gtk_print_settings_set_use_color (GtkPrintSettings *settings, + gboolean use_color); +gboolean gtk_print_settings_get_collate (GtkPrintSettings *settings); +void gtk_print_settings_set_collate (GtkPrintSettings *settings, + gboolean collate); +gboolean gtk_print_settings_get_reverse (GtkPrintSettings *settings); +void gtk_print_settings_set_reverse (GtkPrintSettings *settings, + gboolean reverse); +GtkPrintDuplex gtk_print_settings_get_duplex (GtkPrintSettings *settings); +void gtk_print_settings_set_duplex (GtkPrintSettings *settings, + GtkPrintDuplex duplex); +GtkPrintQuality gtk_print_settings_get_quality (GtkPrintSettings *settings); +void gtk_print_settings_set_quality (GtkPrintSettings *settings, + GtkPrintQuality quality); +gint gtk_print_settings_get_n_copies (GtkPrintSettings *settings); +void gtk_print_settings_set_n_copies (GtkPrintSettings *settings, + gint num_copies); +gint gtk_print_settings_get_number_up (GtkPrintSettings *settings); +void gtk_print_settings_set_number_up (GtkPrintSettings *settings, + gint number_up); +GtkNumberUpLayout gtk_print_settings_get_number_up_layout (GtkPrintSettings *settings); +void gtk_print_settings_set_number_up_layout (GtkPrintSettings *settings, + GtkNumberUpLayout number_up_layout); +gint gtk_print_settings_get_resolution (GtkPrintSettings *settings); +void gtk_print_settings_set_resolution (GtkPrintSettings *settings, + gint resolution); +gint gtk_print_settings_get_resolution_x (GtkPrintSettings *settings); +gint gtk_print_settings_get_resolution_y (GtkPrintSettings *settings); +void gtk_print_settings_set_resolution_xy (GtkPrintSettings *settings, + gint resolution_x, + gint resolution_y); +gdouble gtk_print_settings_get_printer_lpi (GtkPrintSettings *settings); +void gtk_print_settings_set_printer_lpi (GtkPrintSettings *settings, + gdouble lpi); +gdouble gtk_print_settings_get_scale (GtkPrintSettings *settings); +void gtk_print_settings_set_scale (GtkPrintSettings *settings, + gdouble scale); +GtkPrintPages gtk_print_settings_get_print_pages (GtkPrintSettings *settings); +void gtk_print_settings_set_print_pages (GtkPrintSettings *settings, + GtkPrintPages pages); +GtkPageRange * gtk_print_settings_get_page_ranges (GtkPrintSettings *settings, + gint *num_ranges); +void gtk_print_settings_set_page_ranges (GtkPrintSettings *settings, + GtkPageRange *page_ranges, + gint num_ranges); +GtkPageSet gtk_print_settings_get_page_set (GtkPrintSettings *settings); +void gtk_print_settings_set_page_set (GtkPrintSettings *settings, + GtkPageSet page_set); +const gchar * gtk_print_settings_get_default_source (GtkPrintSettings *settings); +void gtk_print_settings_set_default_source (GtkPrintSettings *settings, + const gchar *default_source); +const gchar * gtk_print_settings_get_media_type (GtkPrintSettings *settings); +void gtk_print_settings_set_media_type (GtkPrintSettings *settings, + const gchar *media_type); +const gchar * gtk_print_settings_get_dither (GtkPrintSettings *settings); +void gtk_print_settings_set_dither (GtkPrintSettings *settings, + const gchar *dither); +const gchar * gtk_print_settings_get_finishings (GtkPrintSettings *settings); +void gtk_print_settings_set_finishings (GtkPrintSettings *settings, + const gchar *finishings); +const gchar * gtk_print_settings_get_output_bin (GtkPrintSettings *settings); +void gtk_print_settings_set_output_bin (GtkPrintSettings *settings, + const gchar *output_bin); + +G_END_DECLS + +#endif /* __GTK_PRINT_SETTINGS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkprogressbar.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkprogressbar.h new file mode 100644 index 0000000..ae07bdc --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkprogressbar.h @@ -0,0 +1,97 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_PROGRESS_BAR_H__ +#define __GTK_PROGRESS_BAR_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_PROGRESS_BAR (gtk_progress_bar_get_type ()) +#define GTK_PROGRESS_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PROGRESS_BAR, GtkProgressBar)) +#define GTK_PROGRESS_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PROGRESS_BAR, GtkProgressBarClass)) +#define GTK_IS_PROGRESS_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PROGRESS_BAR)) +#define GTK_IS_PROGRESS_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PROGRESS_BAR)) +#define GTK_PROGRESS_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PROGRESS_BAR, GtkProgressBarClass)) + + +typedef struct _GtkProgressBar GtkProgressBar; +typedef struct _GtkProgressBarPrivate GtkProgressBarPrivate; +typedef struct _GtkProgressBarClass GtkProgressBarClass; + +struct _GtkProgressBar +{ + GtkWidget parent; + + /*< private >*/ + GtkProgressBarPrivate *priv; +}; + +struct _GtkProgressBarClass +{ + GtkWidgetClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_progress_bar_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_progress_bar_new (void); + +void gtk_progress_bar_pulse (GtkProgressBar *pbar); +void gtk_progress_bar_set_text (GtkProgressBar *pbar, + const gchar *text); +void gtk_progress_bar_set_fraction (GtkProgressBar *pbar, + gdouble fraction); + +void gtk_progress_bar_set_pulse_step (GtkProgressBar *pbar, + gdouble fraction); +void gtk_progress_bar_set_inverted (GtkProgressBar *pbar, + gboolean inverted); + +const gchar * gtk_progress_bar_get_text (GtkProgressBar *pbar); +gdouble gtk_progress_bar_get_fraction (GtkProgressBar *pbar); +gdouble gtk_progress_bar_get_pulse_step (GtkProgressBar *pbar); + +gboolean gtk_progress_bar_get_inverted (GtkProgressBar *pbar); +void gtk_progress_bar_set_ellipsize (GtkProgressBar *pbar, + PangoEllipsizeMode mode); +PangoEllipsizeMode gtk_progress_bar_get_ellipsize (GtkProgressBar *pbar); + +void gtk_progress_bar_set_show_text (GtkProgressBar *pbar, + gboolean show_text); +gboolean gtk_progress_bar_get_show_text (GtkProgressBar *pbar); + +G_END_DECLS + +#endif /* __GTK_PROGRESS_BAR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkradioaction.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkradioaction.h new file mode 100644 index 0000000..84eac16 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkradioaction.h @@ -0,0 +1,89 @@ +/* + * GTK - The GIMP Toolkit + * Copyright (C) 1998, 1999 Red Hat, Inc. + * All rights reserved. + * + * This Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +/* + * Author: James Henstridge + * + * Modified by the GTK+ Team and others 2003. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RADIO_ACTION_H__ +#define __GTK_RADIO_ACTION_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_RADIO_ACTION (gtk_radio_action_get_type ()) +#define GTK_RADIO_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RADIO_ACTION, GtkRadioAction)) +#define GTK_RADIO_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RADIO_ACTION, GtkRadioActionClass)) +#define GTK_IS_RADIO_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RADIO_ACTION)) +#define GTK_IS_RADIO_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RADIO_ACTION)) +#define GTK_RADIO_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_RADIO_ACTION, GtkRadioActionClass)) + +typedef struct _GtkRadioAction GtkRadioAction; +typedef struct _GtkRadioActionPrivate GtkRadioActionPrivate; +typedef struct _GtkRadioActionClass GtkRadioActionClass; + +struct _GtkRadioAction +{ + GtkToggleAction parent; + + /*< private >*/ + GtkRadioActionPrivate *private_data; +}; + +struct _GtkRadioActionClass +{ + GtkToggleActionClass parent_class; + + void (* changed) (GtkRadioAction *action, GtkRadioAction *current); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_radio_action_get_type (void) G_GNUC_CONST; +GtkRadioAction *gtk_radio_action_new (const gchar *name, + const gchar *label, + const gchar *tooltip, + const gchar *stock_id, + gint value); +GSList *gtk_radio_action_get_group (GtkRadioAction *action); +void gtk_radio_action_set_group (GtkRadioAction *action, + GSList *group); +void gtk_radio_action_join_group (GtkRadioAction *action, + GtkRadioAction *group_source); +gint gtk_radio_action_get_current_value (GtkRadioAction *action); +void gtk_radio_action_set_current_value (GtkRadioAction *action, + gint current_value); + +G_END_DECLS + +#endif /* __GTK_RADIO_ACTION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkradiobutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkradiobutton.h new file mode 100644 index 0000000..14ad10d --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkradiobutton.h @@ -0,0 +1,92 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RADIO_BUTTON_H__ +#define __GTK_RADIO_BUTTON_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_RADIO_BUTTON (gtk_radio_button_get_type ()) +#define GTK_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RADIO_BUTTON, GtkRadioButton)) +#define GTK_RADIO_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RADIO_BUTTON, GtkRadioButtonClass)) +#define GTK_IS_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RADIO_BUTTON)) +#define GTK_IS_RADIO_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RADIO_BUTTON)) +#define GTK_RADIO_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RADIO_BUTTON, GtkRadioButtonClass)) + + +typedef struct _GtkRadioButton GtkRadioButton; +typedef struct _GtkRadioButtonPrivate GtkRadioButtonPrivate; +typedef struct _GtkRadioButtonClass GtkRadioButtonClass; + +struct _GtkRadioButton +{ + GtkCheckButton check_button; + + /*< private >*/ + GtkRadioButtonPrivate *priv; +}; + +struct _GtkRadioButtonClass +{ + GtkCheckButtonClass parent_class; + + /* Signals */ + void (*group_changed) (GtkRadioButton *radio_button); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_radio_button_get_type (void) G_GNUC_CONST; + +GtkWidget* gtk_radio_button_new (GSList *group); +GtkWidget* gtk_radio_button_new_from_widget (GtkRadioButton *radio_group_member); +GtkWidget* gtk_radio_button_new_with_label (GSList *group, + const gchar *label); +GtkWidget* gtk_radio_button_new_with_label_from_widget (GtkRadioButton *radio_group_member, + const gchar *label); +GtkWidget* gtk_radio_button_new_with_mnemonic (GSList *group, + const gchar *label); +GtkWidget* gtk_radio_button_new_with_mnemonic_from_widget (GtkRadioButton *radio_group_member, + const gchar *label); +GSList* gtk_radio_button_get_group (GtkRadioButton *radio_button); +void gtk_radio_button_set_group (GtkRadioButton *radio_button, + GSList *group); +void gtk_radio_button_join_group (GtkRadioButton *radio_button, + GtkRadioButton *group_source); +G_END_DECLS + +#endif /* __GTK_RADIO_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkradiomenuitem.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkradiomenuitem.h new file mode 100644 index 0000000..e9e36a5 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkradiomenuitem.h @@ -0,0 +1,91 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RADIO_MENU_ITEM_H__ +#define __GTK_RADIO_MENU_ITEM_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_RADIO_MENU_ITEM (gtk_radio_menu_item_get_type ()) +#define GTK_RADIO_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RADIO_MENU_ITEM, GtkRadioMenuItem)) +#define GTK_RADIO_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RADIO_MENU_ITEM, GtkRadioMenuItemClass)) +#define GTK_IS_RADIO_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RADIO_MENU_ITEM)) +#define GTK_IS_RADIO_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RADIO_MENU_ITEM)) +#define GTK_RADIO_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RADIO_MENU_ITEM, GtkRadioMenuItemClass)) + + +typedef struct _GtkRadioMenuItem GtkRadioMenuItem; +typedef struct _GtkRadioMenuItemPrivate GtkRadioMenuItemPrivate; +typedef struct _GtkRadioMenuItemClass GtkRadioMenuItemClass; + +struct _GtkRadioMenuItem +{ + GtkCheckMenuItem check_menu_item; + + /*< private >*/ + GtkRadioMenuItemPrivate *priv; +}; + +struct _GtkRadioMenuItemClass +{ + GtkCheckMenuItemClass parent_class; + + /* Signals */ + void (*group_changed) (GtkRadioMenuItem *radio_menu_item); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_radio_menu_item_get_type (void) G_GNUC_CONST; + +GtkWidget* gtk_radio_menu_item_new (GSList *group); +GtkWidget* gtk_radio_menu_item_new_with_label (GSList *group, + const gchar *label); +GtkWidget* gtk_radio_menu_item_new_with_mnemonic (GSList *group, + const gchar *label); +GtkWidget* gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group); +GtkWidget *gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group, + const gchar *label); +GtkWidget *gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group, + const gchar *label); +GSList* gtk_radio_menu_item_get_group (GtkRadioMenuItem *radio_menu_item); +void gtk_radio_menu_item_set_group (GtkRadioMenuItem *radio_menu_item, + GSList *group); + +G_END_DECLS + +#endif /* __GTK_RADIO_MENU_ITEM_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkradiotoolbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkradiotoolbutton.h new file mode 100644 index 0000000..3c5e605 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkradiotoolbutton.h @@ -0,0 +1,72 @@ +/* gtkradiotoolbutton.h + * + * Copyright (C) 2002 Anders Carlsson + * Copyright (C) 2002 James Henstridge + * Copyright (C) 2003 Soeren Sandmann + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RADIO_TOOL_BUTTON_H__ +#define __GTK_RADIO_TOOL_BUTTON_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_RADIO_TOOL_BUTTON (gtk_radio_tool_button_get_type ()) +#define GTK_RADIO_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RADIO_TOOL_BUTTON, GtkRadioToolButton)) +#define GTK_RADIO_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RADIO_TOOL_BUTTON, GtkRadioToolButtonClass)) +#define GTK_IS_RADIO_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RADIO_TOOL_BUTTON)) +#define GTK_IS_RADIO_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RADIO_TOOL_BUTTON)) +#define GTK_RADIO_TOOL_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_RADIO_TOOL_BUTTON, GtkRadioToolButtonClass)) + +typedef struct _GtkRadioToolButton GtkRadioToolButton; +typedef struct _GtkRadioToolButtonClass GtkRadioToolButtonClass; + +struct _GtkRadioToolButton +{ + GtkToggleToolButton parent; +}; + +struct _GtkRadioToolButtonClass +{ + GtkToggleToolButtonClass parent_class; + + /* Padding for future expansion */ + void (* _gtk_reserved1) (void); + void (* _gtk_reserved2) (void); + void (* _gtk_reserved3) (void); + void (* _gtk_reserved4) (void); +}; + +GType gtk_radio_tool_button_get_type (void) G_GNUC_CONST; + +GtkToolItem *gtk_radio_tool_button_new (GSList *group); +GtkToolItem *gtk_radio_tool_button_new_from_stock (GSList *group, + const gchar *stock_id); +GtkToolItem *gtk_radio_tool_button_new_from_widget (GtkRadioToolButton *group); +GtkToolItem *gtk_radio_tool_button_new_with_stock_from_widget (GtkRadioToolButton *group, + const gchar *stock_id); +GSList * gtk_radio_tool_button_get_group (GtkRadioToolButton *button); +void gtk_radio_tool_button_set_group (GtkRadioToolButton *button, + GSList *group); + +G_END_DECLS + +#endif /* __GTK_RADIO_TOOL_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkrange.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkrange.h new file mode 100644 index 0000000..99bbb7d --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkrange.h @@ -0,0 +1,167 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RANGE_H__ +#define __GTK_RANGE_H__ + + +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_RANGE (gtk_range_get_type ()) +#define GTK_RANGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RANGE, GtkRange)) +#define GTK_RANGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RANGE, GtkRangeClass)) +#define GTK_IS_RANGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RANGE)) +#define GTK_IS_RANGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RANGE)) +#define GTK_RANGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RANGE, GtkRangeClass)) + +typedef struct _GtkRange GtkRange; +typedef struct _GtkRangePrivate GtkRangePrivate; +typedef struct _GtkRangeClass GtkRangeClass; + +struct _GtkRange +{ + GtkWidget widget; + + GtkRangePrivate *priv; +}; + +struct _GtkRangeClass +{ + GtkWidgetClass parent_class; + + /* what detail to pass to GTK drawing functions */ + gchar *slider_detail; + gchar *stepper_detail; + + void (* value_changed) (GtkRange *range); + void (* adjust_bounds) (GtkRange *range, + gdouble new_value); + + /* action signals for keybindings */ + void (* move_slider) (GtkRange *range, + GtkScrollType scroll); + + /* Virtual functions */ + void (* get_range_border) (GtkRange *range, + GtkBorder *border_); + + gboolean (* change_value) (GtkRange *range, + GtkScrollType scroll, + gdouble new_value); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_range_get_type (void) G_GNUC_CONST; + +void gtk_range_set_adjustment (GtkRange *range, + GtkAdjustment *adjustment); +GtkAdjustment* gtk_range_get_adjustment (GtkRange *range); + +void gtk_range_set_inverted (GtkRange *range, + gboolean setting); +gboolean gtk_range_get_inverted (GtkRange *range); + +void gtk_range_set_flippable (GtkRange *range, + gboolean flippable); +gboolean gtk_range_get_flippable (GtkRange *range); + +void gtk_range_set_slider_size_fixed (GtkRange *range, + gboolean size_fixed); +gboolean gtk_range_get_slider_size_fixed (GtkRange *range); + +void gtk_range_set_min_slider_size (GtkRange *range, + gint min_size); +gint gtk_range_get_min_slider_size (GtkRange *range); + +void gtk_range_get_range_rect (GtkRange *range, + GdkRectangle *range_rect); +void gtk_range_get_slider_range (GtkRange *range, + gint *slider_start, + gint *slider_end); + +void gtk_range_set_lower_stepper_sensitivity (GtkRange *range, + GtkSensitivityType sensitivity); +GtkSensitivityType gtk_range_get_lower_stepper_sensitivity (GtkRange *range); +void gtk_range_set_upper_stepper_sensitivity (GtkRange *range, + GtkSensitivityType sensitivity); +GtkSensitivityType gtk_range_get_upper_stepper_sensitivity (GtkRange *range); + +void gtk_range_set_increments (GtkRange *range, + gdouble step, + gdouble page); +void gtk_range_set_range (GtkRange *range, + gdouble min, + gdouble max); +void gtk_range_set_value (GtkRange *range, + gdouble value); +gdouble gtk_range_get_value (GtkRange *range); + +void gtk_range_set_show_fill_level (GtkRange *range, + gboolean show_fill_level); +gboolean gtk_range_get_show_fill_level (GtkRange *range); +void gtk_range_set_restrict_to_fill_level (GtkRange *range, + gboolean restrict_to_fill_level); +gboolean gtk_range_get_restrict_to_fill_level (GtkRange *range); +void gtk_range_set_fill_level (GtkRange *range, + gdouble fill_level); +gdouble gtk_range_get_fill_level (GtkRange *range); +void gtk_range_set_round_digits (GtkRange *range, + gint round_digits); +gint gtk_range_get_round_digits (GtkRange *range); + +/* internal API */ +gdouble _gtk_range_get_wheel_delta (GtkRange *range, + GdkEventScroll *event); +void _gtk_range_set_has_origin (GtkRange *range, + gboolean has_origin); +gboolean _gtk_range_get_has_origin (GtkRange *range); +void _gtk_range_set_stop_values (GtkRange *range, + gdouble *values, + gint n_values); +gint _gtk_range_get_stop_positions (GtkRange *range, + gint **values); +void _gtk_range_set_steppers (GtkRange *range, + gboolean has_a, + gboolean has_b, + gboolean has_c, + gboolean has_d); + +G_END_DECLS + + +#endif /* __GTK_RANGE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentaction.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentaction.h new file mode 100644 index 0000000..016b587 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentaction.h @@ -0,0 +1,78 @@ +/* GTK - The GIMP Toolkit + * Recent chooser action for GtkUIManager + * + * Copyright (C) 2007, Emmanuele Bassi + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RECENT_ACTION_H__ +#define __GTK_RECENT_ACTION_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_RECENT_ACTION (gtk_recent_action_get_type ()) +#define GTK_RECENT_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_ACTION, GtkRecentAction)) +#define GTK_IS_RECENT_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_ACTION)) +#define GTK_RECENT_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RECENT_ACTION, GtkRecentActionClass)) +#define GTK_IS_RECENT_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RECENT_ACTION)) +#define GTK_RECENT_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RECENT_ACTION, GtkRecentActionClass)) + +typedef struct _GtkRecentAction GtkRecentAction; +typedef struct _GtkRecentActionPrivate GtkRecentActionPrivate; +typedef struct _GtkRecentActionClass GtkRecentActionClass; + +struct _GtkRecentAction +{ + GtkAction parent_instance; + + /*< private >*/ + GtkRecentActionPrivate *priv; +}; + +struct _GtkRecentActionClass +{ + GtkActionClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_recent_action_get_type (void) G_GNUC_CONST; +GtkAction *gtk_recent_action_new (const gchar *name, + const gchar *label, + const gchar *tooltip, + const gchar *stock_id); +GtkAction *gtk_recent_action_new_for_manager (const gchar *name, + const gchar *label, + const gchar *tooltip, + const gchar *stock_id, + GtkRecentManager *manager); +gboolean gtk_recent_action_get_show_numbers (GtkRecentAction *action); +void gtk_recent_action_set_show_numbers (GtkRecentAction *action, + gboolean show_numbers); + +G_END_DECLS + +#endif /* __GTK_RECENT_ACTION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooser.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooser.h new file mode 100644 index 0000000..ae222c6 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooser.h @@ -0,0 +1,203 @@ +/* GTK - The GIMP Toolkit + * gtkrecentchooser.h - Abstract interface for recent file selectors GUIs + * + * Copyright (C) 2006, Emmanuele Bassi + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RECENT_CHOOSER_H__ +#define __GTK_RECENT_CHOOSER_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_RECENT_CHOOSER (gtk_recent_chooser_get_type ()) +#define GTK_RECENT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_CHOOSER, GtkRecentChooser)) +#define GTK_IS_RECENT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_CHOOSER)) +#define GTK_RECENT_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_RECENT_CHOOSER, GtkRecentChooserIface)) + +/** + * GtkRecentSortType: + * @GTK_RECENT_SORT_NONE: Do not sort the returned list of recently used + * resources. + * @GTK_RECENT_SORT_MRU: Sort the returned list with the most recently used + * items first. + * @GTK_RECENT_SORT_LRU: Sort the returned list with the least recently used + * items first. + * @GTK_RECENT_SORT_CUSTOM: Sort the returned list using a custom sorting + * function passed using gtk_recent_manager_set_sort_func(). + * + * Used to specify the sorting method to be applyed to the recently + * used resource list. + * + * Since: 2.10 + */ +typedef enum +{ + GTK_RECENT_SORT_NONE = 0, + GTK_RECENT_SORT_MRU, + GTK_RECENT_SORT_LRU, + GTK_RECENT_SORT_CUSTOM +} GtkRecentSortType; + +typedef gint (*GtkRecentSortFunc) (GtkRecentInfo *a, + GtkRecentInfo *b, + gpointer user_data); + + +typedef struct _GtkRecentChooser GtkRecentChooser; /* dummy */ +typedef struct _GtkRecentChooserIface GtkRecentChooserIface; + +/** + * GTK_RECENT_CHOOSER_ERROR: + * + * Used to get the #GError quark for #GtkRecentChooser errors. + * + * Since: 2.10 + */ +#define GTK_RECENT_CHOOSER_ERROR (gtk_recent_chooser_error_quark ()) + +/** + * GtkRecentChooserError: + * @GTK_RECENT_CHOOSER_ERROR_NOT_FOUND: Indicates that a file does not exist + * @GTK_RECENT_CHOOSER_ERROR_INVALID_URI: Indicates a malformed URI + * + * These identify the various errors that can occur while calling + * #GtkRecentChooser functions. + * + * Since: 2.10 + */ +typedef enum +{ + GTK_RECENT_CHOOSER_ERROR_NOT_FOUND, + GTK_RECENT_CHOOSER_ERROR_INVALID_URI +} GtkRecentChooserError; + +GQuark gtk_recent_chooser_error_quark (void); + + +struct _GtkRecentChooserIface +{ + GTypeInterface base_iface; + + /* + * Methods + */ + gboolean (* set_current_uri) (GtkRecentChooser *chooser, + const gchar *uri, + GError **error); + gchar * (* get_current_uri) (GtkRecentChooser *chooser); + gboolean (* select_uri) (GtkRecentChooser *chooser, + const gchar *uri, + GError **error); + void (* unselect_uri) (GtkRecentChooser *chooser, + const gchar *uri); + void (* select_all) (GtkRecentChooser *chooser); + void (* unselect_all) (GtkRecentChooser *chooser); + GList * (* get_items) (GtkRecentChooser *chooser); + GtkRecentManager *(* get_recent_manager) (GtkRecentChooser *chooser); + void (* add_filter) (GtkRecentChooser *chooser, + GtkRecentFilter *filter); + void (* remove_filter) (GtkRecentChooser *chooser, + GtkRecentFilter *filter); + GSList * (* list_filters) (GtkRecentChooser *chooser); + void (* set_sort_func) (GtkRecentChooser *chooser, + GtkRecentSortFunc sort_func, + gpointer sort_data, + GDestroyNotify data_destroy); + + /* + * Signals + */ + void (* item_activated) (GtkRecentChooser *chooser); + void (* selection_changed) (GtkRecentChooser *chooser); +}; + +GType gtk_recent_chooser_get_type (void) G_GNUC_CONST; + +/* + * Configuration + */ +void gtk_recent_chooser_set_show_private (GtkRecentChooser *chooser, + gboolean show_private); +gboolean gtk_recent_chooser_get_show_private (GtkRecentChooser *chooser); +void gtk_recent_chooser_set_show_not_found (GtkRecentChooser *chooser, + gboolean show_not_found); +gboolean gtk_recent_chooser_get_show_not_found (GtkRecentChooser *chooser); +void gtk_recent_chooser_set_select_multiple (GtkRecentChooser *chooser, + gboolean select_multiple); +gboolean gtk_recent_chooser_get_select_multiple (GtkRecentChooser *chooser); +void gtk_recent_chooser_set_limit (GtkRecentChooser *chooser, + gint limit); +gint gtk_recent_chooser_get_limit (GtkRecentChooser *chooser); +void gtk_recent_chooser_set_local_only (GtkRecentChooser *chooser, + gboolean local_only); +gboolean gtk_recent_chooser_get_local_only (GtkRecentChooser *chooser); +void gtk_recent_chooser_set_show_tips (GtkRecentChooser *chooser, + gboolean show_tips); +gboolean gtk_recent_chooser_get_show_tips (GtkRecentChooser *chooser); +void gtk_recent_chooser_set_show_icons (GtkRecentChooser *chooser, + gboolean show_icons); +gboolean gtk_recent_chooser_get_show_icons (GtkRecentChooser *chooser); +void gtk_recent_chooser_set_sort_type (GtkRecentChooser *chooser, + GtkRecentSortType sort_type); +GtkRecentSortType gtk_recent_chooser_get_sort_type (GtkRecentChooser *chooser); +void gtk_recent_chooser_set_sort_func (GtkRecentChooser *chooser, + GtkRecentSortFunc sort_func, + gpointer sort_data, + GDestroyNotify data_destroy); + +/* + * Items handling + */ +gboolean gtk_recent_chooser_set_current_uri (GtkRecentChooser *chooser, + const gchar *uri, + GError **error); +gchar * gtk_recent_chooser_get_current_uri (GtkRecentChooser *chooser); +GtkRecentInfo *gtk_recent_chooser_get_current_item (GtkRecentChooser *chooser); +gboolean gtk_recent_chooser_select_uri (GtkRecentChooser *chooser, + const gchar *uri, + GError **error); +void gtk_recent_chooser_unselect_uri (GtkRecentChooser *chooser, + const gchar *uri); +void gtk_recent_chooser_select_all (GtkRecentChooser *chooser); +void gtk_recent_chooser_unselect_all (GtkRecentChooser *chooser); +GList * gtk_recent_chooser_get_items (GtkRecentChooser *chooser); +gchar ** gtk_recent_chooser_get_uris (GtkRecentChooser *chooser, + gsize *length); + +/* + * Filters + */ +void gtk_recent_chooser_add_filter (GtkRecentChooser *chooser, + GtkRecentFilter *filter); +void gtk_recent_chooser_remove_filter (GtkRecentChooser *chooser, + GtkRecentFilter *filter); +GSList * gtk_recent_chooser_list_filters (GtkRecentChooser *chooser); +void gtk_recent_chooser_set_filter (GtkRecentChooser *chooser, + GtkRecentFilter *filter); +GtkRecentFilter *gtk_recent_chooser_get_filter (GtkRecentChooser *chooser); + + +G_END_DECLS + +#endif /* __GTK_RECENT_CHOOSER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooserdialog.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooserdialog.h new file mode 100644 index 0000000..5d950b5 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooserdialog.h @@ -0,0 +1,78 @@ +/* GTK - The GIMP Toolkit + * gtkrecentchooserdialog.h: Recent files selector dialog + * Copyright (C) 2006 Emmanuele Bassi + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RECENT_CHOOSER_DIALOG_H__ +#define __GTK_RECENT_CHOOSER_DIALOG_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_RECENT_CHOOSER_DIALOG (gtk_recent_chooser_dialog_get_type ()) +#define GTK_RECENT_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_CHOOSER_DIALOG, GtkRecentChooserDialog)) +#define GTK_IS_RECENT_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_CHOOSER_DIALOG)) +#define GTK_RECENT_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RECENT_CHOOSER_DIALOG, GtkRecentChooserDialogClass)) +#define GTK_IS_RECENT_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RECENT_CHOOSER_DIALOG)) +#define GTK_RECENT_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RECENT_CHOOSER_DIALOG, GtkRecentChooserDialogClass)) + +typedef struct _GtkRecentChooserDialog GtkRecentChooserDialog; +typedef struct _GtkRecentChooserDialogClass GtkRecentChooserDialogClass; + +typedef struct _GtkRecentChooserDialogPrivate GtkRecentChooserDialogPrivate; + + +struct _GtkRecentChooserDialog +{ + GtkDialog parent_instance; + + /*< private >*/ + GtkRecentChooserDialogPrivate *priv; +}; + +struct _GtkRecentChooserDialogClass +{ + GtkDialogClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_recent_chooser_dialog_get_type (void) G_GNUC_CONST; + +GtkWidget *gtk_recent_chooser_dialog_new (const gchar *title, + GtkWindow *parent, + const gchar *first_button_text, + ...) G_GNUC_NULL_TERMINATED; +GtkWidget *gtk_recent_chooser_dialog_new_for_manager (const gchar *title, + GtkWindow *parent, + GtkRecentManager *manager, + const gchar *first_button_text, + ...) G_GNUC_NULL_TERMINATED; + +G_END_DECLS + +#endif /* __GTK_RECENT_CHOOSER_DIALOG_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchoosermenu.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchoosermenu.h new file mode 100644 index 0000000..b2a0277 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchoosermenu.h @@ -0,0 +1,72 @@ +/* GTK - The GIMP Toolkit + * gtkrecentchoosermenu.h - Recently used items menu widget + * Copyright (C) 2006, Emmanuele Bassi + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RECENT_CHOOSER_MENU_H__ +#define __GTK_RECENT_CHOOSER_MENU_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_RECENT_CHOOSER_MENU (gtk_recent_chooser_menu_get_type ()) +#define GTK_RECENT_CHOOSER_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_CHOOSER_MENU, GtkRecentChooserMenu)) +#define GTK_IS_RECENT_CHOOSER_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_CHOOSER_MENU)) +#define GTK_RECENT_CHOOSER_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RECENT_CHOOSER_MENU, GtkRecentChooserMenuClass)) +#define GTK_IS_RECENT_CHOOSER_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RECENT_CHOOSER_MENU)) +#define GTK_RECENT_CHOOSER_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RECENT_CHOOSER_MENU, GtkRecentChooserMenuClass)) + +typedef struct _GtkRecentChooserMenu GtkRecentChooserMenu; +typedef struct _GtkRecentChooserMenuClass GtkRecentChooserMenuClass; +typedef struct _GtkRecentChooserMenuPrivate GtkRecentChooserMenuPrivate; + +struct _GtkRecentChooserMenu +{ + GtkMenu parent_instance; + + /*< private >*/ + GtkRecentChooserMenuPrivate *priv; +}; + +struct _GtkRecentChooserMenuClass +{ + GtkMenuClass parent_class; + + /* padding for future expansion */ + void (* gtk_recent1) (void); + void (* gtk_recent2) (void); + void (* gtk_recent3) (void); + void (* gtk_recent4) (void); +}; + +GType gtk_recent_chooser_menu_get_type (void) G_GNUC_CONST; + +GtkWidget *gtk_recent_chooser_menu_new (void); +GtkWidget *gtk_recent_chooser_menu_new_for_manager (GtkRecentManager *manager); + +gboolean gtk_recent_chooser_menu_get_show_numbers (GtkRecentChooserMenu *menu); +void gtk_recent_chooser_menu_set_show_numbers (GtkRecentChooserMenu *menu, + gboolean show_numbers); + +G_END_DECLS + +#endif /* ! __GTK_RECENT_CHOOSER_MENU_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooserwidget.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooserwidget.h new file mode 100644 index 0000000..18a4042 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentchooserwidget.h @@ -0,0 +1,68 @@ +/* GTK - The GIMP Toolkit + * gtkrecentchooserwidget.h: embeddable recently used resources chooser widget + * Copyright (C) 2006 Emmanuele Bassi + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RECENT_CHOOSER_WIDGET_H__ +#define __GTK_RECENT_CHOOSER_WIDGET_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_RECENT_CHOOSER_WIDGET (gtk_recent_chooser_widget_get_type ()) +#define GTK_RECENT_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_CHOOSER_WIDGET, GtkRecentChooserWidget)) +#define GTK_IS_RECENT_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_CHOOSER_WIDGET)) +#define GTK_RECENT_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RECENT_CHOOSER_WIDGET, GtkRecentChooserWidgetClass)) +#define GTK_IS_RECENT_CHOOSER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RECENT_CHOOSER_WIDGET)) +#define GTK_RECENT_CHOOSER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RECENT_CHOOSER_WIDGET, GtkRecentChooserWidgetClass)) + +typedef struct _GtkRecentChooserWidget GtkRecentChooserWidget; +typedef struct _GtkRecentChooserWidgetClass GtkRecentChooserWidgetClass; + +typedef struct _GtkRecentChooserWidgetPrivate GtkRecentChooserWidgetPrivate; + +struct _GtkRecentChooserWidget +{ + GtkBox parent_instance; + + /*< private >*/ + GtkRecentChooserWidgetPrivate *priv; +}; + +struct _GtkRecentChooserWidgetClass +{ + GtkBoxClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_recent_chooser_widget_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_recent_chooser_widget_new (void); +GtkWidget *gtk_recent_chooser_widget_new_for_manager (GtkRecentManager *manager); + +G_END_DECLS + +#endif /* __GTK_RECENT_CHOOSER_WIDGET_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentfilter.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentfilter.h new file mode 100644 index 0000000..4f19c9b --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentfilter.h @@ -0,0 +1,125 @@ +/* GTK - The GIMP Toolkit + * gtkrecentfilter.h - Filter object for recently used resources + * Copyright (C) 2006, Emmanuele Bassi + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RECENT_FILTER_H__ +#define __GTK_RECENT_FILTER_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_RECENT_FILTER (gtk_recent_filter_get_type ()) +#define GTK_RECENT_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_FILTER, GtkRecentFilter)) +#define GTK_IS_RECENT_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_FILTER)) + +typedef struct _GtkRecentFilter GtkRecentFilter; +typedef struct _GtkRecentFilterInfo GtkRecentFilterInfo; + +/** + * GtkRecentFilterFlags: + * @GTK_RECENT_FILTER_URI: the URI of the file being tested + * @GTK_RECENT_FILTER_DISPLAY_NAME: the string that will be used to + * display the file in the recent chooser + * @GTK_RECENT_FILTER_MIME_TYPE: the mime type of the file + * @GTK_RECENT_FILTER_APPLICATION: the list of applications that have + * registered the file + * @GTK_RECENT_FILTER_GROUP: the groups to which the file belongs to + * @GTK_RECENT_FILTER_AGE: the number of days elapsed since the file + * has been registered + * + * These flags indicate what parts of a #GtkRecentFilterInfo struct + * are filled or need to be filled. + */ +typedef enum { + GTK_RECENT_FILTER_URI = 1 << 0, + GTK_RECENT_FILTER_DISPLAY_NAME = 1 << 1, + GTK_RECENT_FILTER_MIME_TYPE = 1 << 2, + GTK_RECENT_FILTER_APPLICATION = 1 << 3, + GTK_RECENT_FILTER_GROUP = 1 << 4, + GTK_RECENT_FILTER_AGE = 1 << 5 +} GtkRecentFilterFlags; + +/** + * GtkRecentFilterFunc: + * @filter_info: a #GtkRecentFilterInfo that is filled according + * to the @needed flags passed to gtk_recent_filter_add_custom() + * @user_data: user data passed to gtk_recent_filter_add_custom() + * + * The type of function that is used with custom filters, + * see gtk_recent_filter_add_custom(). + * + * Return value: %TRUE if the file should be displayed + */ +typedef gboolean (*GtkRecentFilterFunc) (const GtkRecentFilterInfo *filter_info, + gpointer user_data); + + +/** + * GtkRecentFilterInfo: + * + * A GtkRecentFilterInfo struct is used + * to pass information about the tested file to gtk_recent_filter_filter(). + */ +struct _GtkRecentFilterInfo +{ + GtkRecentFilterFlags contains; + + const gchar *uri; + const gchar *display_name; + const gchar *mime_type; + const gchar **applications; + const gchar **groups; + + gint age; +}; + +GType gtk_recent_filter_get_type (void) G_GNUC_CONST; + +GtkRecentFilter * gtk_recent_filter_new (void); +void gtk_recent_filter_set_name (GtkRecentFilter *filter, + const gchar *name); +const gchar * gtk_recent_filter_get_name (GtkRecentFilter *filter); + +void gtk_recent_filter_add_mime_type (GtkRecentFilter *filter, + const gchar *mime_type); +void gtk_recent_filter_add_pattern (GtkRecentFilter *filter, + const gchar *pattern); +void gtk_recent_filter_add_pixbuf_formats (GtkRecentFilter *filter); +void gtk_recent_filter_add_application (GtkRecentFilter *filter, + const gchar *application); +void gtk_recent_filter_add_group (GtkRecentFilter *filter, + const gchar *group); +void gtk_recent_filter_add_age (GtkRecentFilter *filter, + gint days); +void gtk_recent_filter_add_custom (GtkRecentFilter *filter, + GtkRecentFilterFlags needed, + GtkRecentFilterFunc func, + gpointer data, + GDestroyNotify data_destroy); + +GtkRecentFilterFlags gtk_recent_filter_get_needed (GtkRecentFilter *filter); +gboolean gtk_recent_filter_filter (GtkRecentFilter *filter, + const GtkRecentFilterInfo *filter_info); + +G_END_DECLS + +#endif /* ! __GTK_RECENT_FILTER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentmanager.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentmanager.h new file mode 100644 index 0000000..893a835 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkrecentmanager.h @@ -0,0 +1,234 @@ +/* GTK - The GIMP Toolkit + * gtkrecentmanager.h: a manager for the recently used resources + * + * Copyright (C) 2006 Emmanuele Bassi + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_RECENT_MANAGER_H__ +#define __GTK_RECENT_MANAGER_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_RECENT_INFO (gtk_recent_info_get_type ()) + +#define GTK_TYPE_RECENT_MANAGER (gtk_recent_manager_get_type ()) +#define GTK_RECENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_MANAGER, GtkRecentManager)) +#define GTK_IS_RECENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_MANAGER)) +#define GTK_RECENT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RECENT_MANAGER, GtkRecentManagerClass)) +#define GTK_IS_RECENT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RECENT_MANAGER)) +#define GTK_RECENT_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RECENT_MANAGER, GtkRecentManagerClass)) + +typedef struct _GtkRecentInfo GtkRecentInfo; +typedef struct _GtkRecentData GtkRecentData; +typedef struct _GtkRecentManager GtkRecentManager; +typedef struct _GtkRecentManagerClass GtkRecentManagerClass; +typedef struct _GtkRecentManagerPrivate GtkRecentManagerPrivate; + +/** + * GtkRecentData: + * @display_name: a UTF-8 encoded string, containing the name of the recently + * used resource to be displayed, or %NULL; + * @description: a UTF-8 encoded string, containing a short description of + * the resource, or %NULL; + * @mime_type: the MIME type of the resource; + * @app_name: the name of the application that is registering this recently + * used resource; + * @app_exec: command line used to launch this resource; may contain the + * "%f" and "%u" escape characters which will be expanded + * to the resource file path and URI respectively when the command line + * is retrieved; + * @groups: a vector of strings containing groups names; + * @is_private: whether this resource should be displayed only by the + * applications that have registered it or not. + * + * Meta-data to be passed to gtk_recent_manager_add_full() when + * registering a recently used resource. + **/ +struct _GtkRecentData +{ + gchar *display_name; + gchar *description; + + gchar *mime_type; + + gchar *app_name; + gchar *app_exec; + + gchar **groups; + + gboolean is_private; +}; + +/** + * GtkRecentManager: + * + * #GtkRecentManager contains only private data + * and should be accessed using the provided API. + * + * Since: 2.10 + */ +struct _GtkRecentManager +{ + /*< private >*/ + GObject parent_instance; + + GtkRecentManagerPrivate *priv; +}; + +/** + * GtkRecentManagerClass: + * + * #GtkRecentManagerClass contains only private data. + * + * Since: 2.10 + */ +struct _GtkRecentManagerClass +{ + /*< private >*/ + GObjectClass parent_class; + + void (*changed) (GtkRecentManager *manager); + + /* padding for future expansion */ + void (*_gtk_recent1) (void); + void (*_gtk_recent2) (void); + void (*_gtk_recent3) (void); + void (*_gtk_recent4) (void); +}; + +/** + * GtkRecentManagerError: + * @GTK_RECENT_MANAGER_ERROR_NOT_FOUND: the URI specified does not exists in + * the recently used resources list. + * @GTK_RECENT_MANAGER_ERROR_INVALID_URI: the URI specified is not valid. + * @GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING: the supplied string is not + * UTF-8 encoded. + * @GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED: no application has registered + * the specified item. + * @GTK_RECENT_MANAGER_ERROR_READ: failure while reading the recently used + * resources file. + * @GTK_RECENT_MANAGER_ERROR_WRITE: failure while writing the recently used + * resources file. + * @GTK_RECENT_MANAGER_ERROR_UNKNOWN: unspecified error. + * + * Error codes for #GtkRecentManager operations + * + * Since: 2.10 + */ +typedef enum +{ + GTK_RECENT_MANAGER_ERROR_NOT_FOUND, + GTK_RECENT_MANAGER_ERROR_INVALID_URI, + GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING, + GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED, + GTK_RECENT_MANAGER_ERROR_READ, + GTK_RECENT_MANAGER_ERROR_WRITE, + GTK_RECENT_MANAGER_ERROR_UNKNOWN +} GtkRecentManagerError; + +/** + * GTK_RECENT_MANAGER_ERROR: + * + * The #GError domain for #GtkRecentManager errors. + * + * Since: 2.10 + */ +#define GTK_RECENT_MANAGER_ERROR (gtk_recent_manager_error_quark ()) +GQuark gtk_recent_manager_error_quark (void); + + +GType gtk_recent_manager_get_type (void) G_GNUC_CONST; + +GtkRecentManager *gtk_recent_manager_new (void); +GtkRecentManager *gtk_recent_manager_get_default (void); + +gboolean gtk_recent_manager_add_item (GtkRecentManager *manager, + const gchar *uri); +gboolean gtk_recent_manager_add_full (GtkRecentManager *manager, + const gchar *uri, + const GtkRecentData *recent_data); +gboolean gtk_recent_manager_remove_item (GtkRecentManager *manager, + const gchar *uri, + GError **error); +GtkRecentInfo * gtk_recent_manager_lookup_item (GtkRecentManager *manager, + const gchar *uri, + GError **error); +gboolean gtk_recent_manager_has_item (GtkRecentManager *manager, + const gchar *uri); +gboolean gtk_recent_manager_move_item (GtkRecentManager *manager, + const gchar *uri, + const gchar *new_uri, + GError **error); +GList * gtk_recent_manager_get_items (GtkRecentManager *manager); +gint gtk_recent_manager_purge_items (GtkRecentManager *manager, + GError **error); + + +GType gtk_recent_info_get_type (void) G_GNUC_CONST; + +GtkRecentInfo * gtk_recent_info_ref (GtkRecentInfo *info); +void gtk_recent_info_unref (GtkRecentInfo *info); + +const gchar * gtk_recent_info_get_uri (GtkRecentInfo *info); +const gchar * gtk_recent_info_get_display_name (GtkRecentInfo *info); +const gchar * gtk_recent_info_get_description (GtkRecentInfo *info); +const gchar * gtk_recent_info_get_mime_type (GtkRecentInfo *info); +time_t gtk_recent_info_get_added (GtkRecentInfo *info); +time_t gtk_recent_info_get_modified (GtkRecentInfo *info); +time_t gtk_recent_info_get_visited (GtkRecentInfo *info); +gboolean gtk_recent_info_get_private_hint (GtkRecentInfo *info); +gboolean gtk_recent_info_get_application_info (GtkRecentInfo *info, + const gchar *app_name, + const gchar **app_exec, + guint *count, + time_t *time_); +GAppInfo * gtk_recent_info_create_app_info (GtkRecentInfo *info, + const gchar *app_name, + GError **error); +gchar ** gtk_recent_info_get_applications (GtkRecentInfo *info, + gsize *length) G_GNUC_MALLOC; +gchar * gtk_recent_info_last_application (GtkRecentInfo *info) G_GNUC_MALLOC; +gboolean gtk_recent_info_has_application (GtkRecentInfo *info, + const gchar *app_name); +gchar ** gtk_recent_info_get_groups (GtkRecentInfo *info, + gsize *length) G_GNUC_MALLOC; +gboolean gtk_recent_info_has_group (GtkRecentInfo *info, + const gchar *group_name); +GdkPixbuf * gtk_recent_info_get_icon (GtkRecentInfo *info, + gint size); +GIcon * gtk_recent_info_get_gicon (GtkRecentInfo *info); +gchar * gtk_recent_info_get_short_name (GtkRecentInfo *info) G_GNUC_MALLOC; +gchar * gtk_recent_info_get_uri_display (GtkRecentInfo *info) G_GNUC_MALLOC; +gint gtk_recent_info_get_age (GtkRecentInfo *info); +gboolean gtk_recent_info_is_local (GtkRecentInfo *info); +gboolean gtk_recent_info_exists (GtkRecentInfo *info); +gboolean gtk_recent_info_match (GtkRecentInfo *info_a, + GtkRecentInfo *info_b); + +/* private */ +void _gtk_recent_manager_sync (void); + +G_END_DECLS + +#endif /* __GTK_RECENT_MANAGER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkscale.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkscale.h new file mode 100644 index 0000000..51202e3 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkscale.h @@ -0,0 +1,114 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SCALE_H__ +#define __GTK_SCALE_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_SCALE (gtk_scale_get_type ()) +#define GTK_SCALE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE, GtkScale)) +#define GTK_SCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE, GtkScaleClass)) +#define GTK_IS_SCALE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE)) +#define GTK_IS_SCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE)) +#define GTK_SCALE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE, GtkScaleClass)) + + +typedef struct _GtkScale GtkScale; +typedef struct _GtkScalePrivate GtkScalePrivate; +typedef struct _GtkScaleClass GtkScaleClass; + +struct _GtkScale +{ + GtkRange range; + + /*< private >*/ + GtkScalePrivate *priv; +}; + +struct _GtkScaleClass +{ + GtkRangeClass parent_class; + + gchar* (* format_value) (GtkScale *scale, + gdouble value); + + void (* draw_value) (GtkScale *scale); + + void (* get_layout_offsets) (GtkScale *scale, + gint *x, + gint *y); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_scale_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_scale_new (GtkOrientation orientation, + GtkAdjustment *adjustment); +GtkWidget * gtk_scale_new_with_range (GtkOrientation orientation, + gdouble min, + gdouble max, + gdouble step); +void gtk_scale_set_digits (GtkScale *scale, + gint digits); +gint gtk_scale_get_digits (GtkScale *scale); +void gtk_scale_set_draw_value (GtkScale *scale, + gboolean draw_value); +gboolean gtk_scale_get_draw_value (GtkScale *scale); +GDK_AVAILABLE_IN_3_4 +void gtk_scale_set_has_origin (GtkScale *scale, + gboolean has_origin); +GDK_AVAILABLE_IN_3_4 +gboolean gtk_scale_get_has_origin (GtkScale *scale); +void gtk_scale_set_value_pos (GtkScale *scale, + GtkPositionType pos); +GtkPositionType gtk_scale_get_value_pos (GtkScale *scale); + +PangoLayout * gtk_scale_get_layout (GtkScale *scale); +void gtk_scale_get_layout_offsets (GtkScale *scale, + gint *x, + gint *y); + +void gtk_scale_add_mark (GtkScale *scale, + gdouble value, + GtkPositionType position, + const gchar *markup); +void gtk_scale_clear_marks (GtkScale *scale); + + +G_END_DECLS + +#endif /* __GTK_SCALE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkscalebutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkscalebutton.h new file mode 100644 index 0000000..4ba4dc9 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkscalebutton.h @@ -0,0 +1,99 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2005 Ronald S. Bultje + * Copyright (C) 2006, 2007 Christian Persch + * Copyright (C) 2006 Jan Arne Petersen + * Copyright (C) 2007 Red Hat, Inc. + * + * Authors: + * - Ronald S. Bultje + * - Bastien Nocera + * - Jan Arne Petersen + * - Christian Persch + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 2007. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SCALE_BUTTON_H__ +#define __GTK_SCALE_BUTTON_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_SCALE_BUTTON (gtk_scale_button_get_type ()) +#define GTK_SCALE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE_BUTTON, GtkScaleButton)) +#define GTK_SCALE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE_BUTTON, GtkScaleButtonClass)) +#define GTK_IS_SCALE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE_BUTTON)) +#define GTK_IS_SCALE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE_BUTTON)) +#define GTK_SCALE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE_BUTTON, GtkScaleButtonClass)) + +typedef struct _GtkScaleButton GtkScaleButton; +typedef struct _GtkScaleButtonClass GtkScaleButtonClass; +typedef struct _GtkScaleButtonPrivate GtkScaleButtonPrivate; + +struct _GtkScaleButton +{ + GtkButton parent; + + /*< private >*/ + GtkScaleButtonPrivate *priv; +}; + +struct _GtkScaleButtonClass +{ + GtkButtonClass parent_class; + + /* signals */ + void (* value_changed) (GtkScaleButton *button, + gdouble value); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_scale_button_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_scale_button_new (GtkIconSize size, + gdouble min, + gdouble max, + gdouble step, + const gchar **icons); +void gtk_scale_button_set_icons (GtkScaleButton *button, + const gchar **icons); +gdouble gtk_scale_button_get_value (GtkScaleButton *button); +void gtk_scale_button_set_value (GtkScaleButton *button, + gdouble value); +GtkAdjustment * gtk_scale_button_get_adjustment (GtkScaleButton *button); +void gtk_scale_button_set_adjustment (GtkScaleButton *button, + GtkAdjustment *adjustment); +GtkWidget * gtk_scale_button_get_plus_button (GtkScaleButton *button); +GtkWidget * gtk_scale_button_get_minus_button (GtkScaleButton *button); +GtkWidget * gtk_scale_button_get_popup (GtkScaleButton *button); + +G_END_DECLS + +#endif /* __GTK_SCALE_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkscrollable.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkscrollable.h new file mode 100644 index 0000000..ba68e90 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkscrollable.h @@ -0,0 +1,60 @@ +/* gtkscrollable.h + * Copyright (C) 2008 Tadej Borovšak + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SCROLLABLE_H__ +#define __GTK_SCROLLABLE_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_SCROLLABLE (gtk_scrollable_get_type ()) +#define GTK_SCROLLABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLABLE, GtkScrollable)) +#define GTK_IS_SCROLLABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLABLE)) +#define GTK_SCROLLABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_SCROLLABLE, GtkScrollableInterface)) + +typedef struct _GtkScrollable GtkScrollable; /* Dummy */ +typedef struct _GtkScrollableInterface GtkScrollableInterface; + +struct _GtkScrollableInterface +{ + GTypeInterface base_iface; +}; + +/* Public API */ +GType gtk_scrollable_get_type (void) G_GNUC_CONST; +GtkAdjustment *gtk_scrollable_get_hadjustment (GtkScrollable *scrollable); +void gtk_scrollable_set_hadjustment (GtkScrollable *scrollable, + GtkAdjustment *hadjustment); +GtkAdjustment *gtk_scrollable_get_vadjustment (GtkScrollable *scrollable); +void gtk_scrollable_set_vadjustment (GtkScrollable *scrollable, + GtkAdjustment *vadjustment); +GtkScrollablePolicy gtk_scrollable_get_hscroll_policy (GtkScrollable *scrollable); +void gtk_scrollable_set_hscroll_policy (GtkScrollable *scrollable, + GtkScrollablePolicy policy); +GtkScrollablePolicy gtk_scrollable_get_vscroll_policy (GtkScrollable *scrollable); +void gtk_scrollable_set_vscroll_policy (GtkScrollable *scrollable, + GtkScrollablePolicy policy); + +G_END_DECLS + +#endif /* __GTK_SCROLLABLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkscrollbar.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkscrollbar.h new file mode 100644 index 0000000..51fee71 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkscrollbar.h @@ -0,0 +1,72 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SCROLLBAR_H__ +#define __GTK_SCROLLBAR_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_SCROLLBAR (gtk_scrollbar_get_type ()) +#define GTK_SCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLBAR, GtkScrollbar)) +#define GTK_SCROLLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCROLLBAR, GtkScrollbarClass)) +#define GTK_IS_SCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLBAR)) +#define GTK_IS_SCROLLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCROLLBAR)) +#define GTK_SCROLLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCROLLBAR, GtkScrollbarClass)) + + +typedef struct _GtkScrollbar GtkScrollbar; +typedef struct _GtkScrollbarClass GtkScrollbarClass; + +struct _GtkScrollbar +{ + GtkRange range; +}; + +struct _GtkScrollbarClass +{ + GtkRangeClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_scrollbar_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_scrollbar_new (GtkOrientation orientation, + GtkAdjustment *adjustment); + +G_END_DECLS + +#endif /* __GTK_SCROLLBAR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkscrolledwindow.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkscrolledwindow.h new file mode 100644 index 0000000..780f198 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkscrolledwindow.h @@ -0,0 +1,136 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SCROLLED_WINDOW_H__ +#define __GTK_SCROLLED_WINDOW_H__ + +#include + +G_BEGIN_DECLS + + +#define GTK_TYPE_SCROLLED_WINDOW (gtk_scrolled_window_get_type ()) +#define GTK_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindow)) +#define GTK_SCROLLED_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindowClass)) +#define GTK_IS_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLED_WINDOW)) +#define GTK_IS_SCROLLED_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCROLLED_WINDOW)) +#define GTK_SCROLLED_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindowClass)) + + +typedef struct _GtkScrolledWindow GtkScrolledWindow; +typedef struct _GtkScrolledWindowPrivate GtkScrolledWindowPrivate; +typedef struct _GtkScrolledWindowClass GtkScrolledWindowClass; + +struct _GtkScrolledWindow +{ + GtkBin container; + + GtkScrolledWindowPrivate *priv; +}; + +struct _GtkScrolledWindowClass +{ + GtkBinClass parent_class; + + gint scrollbar_spacing; + + /* Action signals for keybindings. Do not connect to these signals + */ + + /* Unfortunately, GtkScrollType is deficient in that there is + * no horizontal/vertical variants for GTK_SCROLL_START/END, + * so we have to add an additional boolean flag. + */ + gboolean (*scroll_child) (GtkScrolledWindow *scrolled_window, + GtkScrollType scroll, + gboolean horizontal); + + void (* move_focus_out) (GtkScrolledWindow *scrolled_window, + GtkDirectionType direction); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_scrolled_window_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_scrolled_window_new (GtkAdjustment *hadjustment, + GtkAdjustment *vadjustment); +void gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window, + GtkAdjustment *hadjustment); +void gtk_scrolled_window_set_vadjustment (GtkScrolledWindow *scrolled_window, + GtkAdjustment *vadjustment); +GtkAdjustment* gtk_scrolled_window_get_hadjustment (GtkScrolledWindow *scrolled_window); +GtkAdjustment* gtk_scrolled_window_get_vadjustment (GtkScrolledWindow *scrolled_window); +GtkWidget* gtk_scrolled_window_get_hscrollbar (GtkScrolledWindow *scrolled_window); +GtkWidget* gtk_scrolled_window_get_vscrollbar (GtkScrolledWindow *scrolled_window); +void gtk_scrolled_window_set_policy (GtkScrolledWindow *scrolled_window, + GtkPolicyType hscrollbar_policy, + GtkPolicyType vscrollbar_policy); +void gtk_scrolled_window_get_policy (GtkScrolledWindow *scrolled_window, + GtkPolicyType *hscrollbar_policy, + GtkPolicyType *vscrollbar_policy); +void gtk_scrolled_window_set_placement (GtkScrolledWindow *scrolled_window, + GtkCornerType window_placement); +void gtk_scrolled_window_unset_placement (GtkScrolledWindow *scrolled_window); + +GtkCornerType gtk_scrolled_window_get_placement (GtkScrolledWindow *scrolled_window); +void gtk_scrolled_window_set_shadow_type (GtkScrolledWindow *scrolled_window, + GtkShadowType type); +GtkShadowType gtk_scrolled_window_get_shadow_type (GtkScrolledWindow *scrolled_window); +void gtk_scrolled_window_add_with_viewport (GtkScrolledWindow *scrolled_window, + GtkWidget *child); + +gint gtk_scrolled_window_get_min_content_width (GtkScrolledWindow *scrolled_window); +void gtk_scrolled_window_set_min_content_width (GtkScrolledWindow *scrolled_window, + gint width); +gint gtk_scrolled_window_get_min_content_height (GtkScrolledWindow *scrolled_window); +void gtk_scrolled_window_set_min_content_height (GtkScrolledWindow *scrolled_window, + gint height); +GDK_AVAILABLE_IN_3_4 +void gtk_scrolled_window_set_kinetic_scrolling (GtkScrolledWindow *scrolled_window, + gboolean kinetic_scrolling); +GDK_AVAILABLE_IN_3_4 +gboolean gtk_scrolled_window_get_kinetic_scrolling (GtkScrolledWindow *scrolled_window); + +GDK_AVAILABLE_IN_3_4 +void gtk_scrolled_window_set_capture_button_press (GtkScrolledWindow *scrolled_window, + gboolean capture_button_press); +GDK_AVAILABLE_IN_3_4 +gboolean gtk_scrolled_window_get_capture_button_press (GtkScrolledWindow *scrolled_window); + +gint _gtk_scrolled_window_get_scrollbar_spacing (GtkScrolledWindow *scrolled_window); + + +G_END_DECLS + + +#endif /* __GTK_SCROLLED_WINDOW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkselection.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkselection.h new file mode 100644 index 0000000..402a0dc --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkselection.h @@ -0,0 +1,192 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SELECTION_H__ +#define __GTK_SELECTION_H__ + +#include +#include + +G_BEGIN_DECLS + +/** + * GtkTargetList: + * + * 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. + */ +typedef struct _GtkTargetList GtkTargetList; +typedef struct _GtkTargetEntry GtkTargetEntry; + +#define GTK_TYPE_SELECTION_DATA (gtk_selection_data_get_type ()) +#define GTK_TYPE_TARGET_LIST (gtk_target_list_get_type ()) + +/** + * GtkTargetEntry: + * @target: a string representation of the target type + * @flags: #GtkTargetFlags for DND + * @info: an application-assigned integer ID which will + * get passed as a parater to e.g the #GtkWiget::selection-get + * signal. It allows the application to identify the target + * type without extensive string compares. + * + * 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. + */ +struct _GtkTargetEntry +{ + gchar *target; + guint flags; + guint info; +}; + +GType gtk_target_list_get_type (void) G_GNUC_CONST; +GtkTargetList *gtk_target_list_new (const GtkTargetEntry *targets, + guint ntargets); +GtkTargetList *gtk_target_list_ref (GtkTargetList *list); +void gtk_target_list_unref (GtkTargetList *list); +void gtk_target_list_add (GtkTargetList *list, + GdkAtom target, + guint flags, + guint info); +void gtk_target_list_add_text_targets (GtkTargetList *list, + guint info); +void gtk_target_list_add_rich_text_targets (GtkTargetList *list, + guint info, + gboolean deserializable, + GtkTextBuffer *buffer); +void gtk_target_list_add_image_targets (GtkTargetList *list, + guint info, + gboolean writable); +void gtk_target_list_add_uri_targets (GtkTargetList *list, + guint info); +void gtk_target_list_add_table (GtkTargetList *list, + const GtkTargetEntry *targets, + guint ntargets); +void gtk_target_list_remove (GtkTargetList *list, + GdkAtom target); +gboolean gtk_target_list_find (GtkTargetList *list, + GdkAtom target, + guint *info); + +GtkTargetEntry * gtk_target_table_new_from_list (GtkTargetList *list, + gint *n_targets); +void gtk_target_table_free (GtkTargetEntry *targets, + gint n_targets); + +gboolean gtk_selection_owner_set (GtkWidget *widget, + GdkAtom selection, + guint32 time_); +gboolean gtk_selection_owner_set_for_display (GdkDisplay *display, + GtkWidget *widget, + GdkAtom selection, + guint32 time_); + +void gtk_selection_add_target (GtkWidget *widget, + GdkAtom selection, + GdkAtom target, + guint info); +void gtk_selection_add_targets (GtkWidget *widget, + GdkAtom selection, + const GtkTargetEntry *targets, + guint ntargets); +void gtk_selection_clear_targets (GtkWidget *widget, + GdkAtom selection); +gboolean gtk_selection_convert (GtkWidget *widget, + GdkAtom selection, + GdkAtom target, + guint32 time_); +void gtk_selection_remove_all (GtkWidget *widget); + +GdkAtom gtk_selection_data_get_selection (const GtkSelectionData *selection_data); +GdkAtom gtk_selection_data_get_target (const GtkSelectionData *selection_data); +GdkAtom gtk_selection_data_get_data_type (const GtkSelectionData *selection_data); +gint gtk_selection_data_get_format (const GtkSelectionData *selection_data); +const guchar *gtk_selection_data_get_data (const GtkSelectionData *selection_data); +gint gtk_selection_data_get_length (const GtkSelectionData *selection_data); +const guchar *gtk_selection_data_get_data_with_length + (const GtkSelectionData *selection_data, + gint *length); + +GdkDisplay *gtk_selection_data_get_display (const GtkSelectionData *selection_data); + +void gtk_selection_data_set (GtkSelectionData *selection_data, + GdkAtom type, + gint format, + const guchar *data, + gint length); +gboolean gtk_selection_data_set_text (GtkSelectionData *selection_data, + const gchar *str, + gint len); +guchar * gtk_selection_data_get_text (const GtkSelectionData *selection_data); +gboolean gtk_selection_data_set_pixbuf (GtkSelectionData *selection_data, + GdkPixbuf *pixbuf); +GdkPixbuf *gtk_selection_data_get_pixbuf (const GtkSelectionData *selection_data); +gboolean gtk_selection_data_set_uris (GtkSelectionData *selection_data, + gchar **uris); +gchar **gtk_selection_data_get_uris (const GtkSelectionData *selection_data); + +gboolean gtk_selection_data_get_targets (const GtkSelectionData *selection_data, + GdkAtom **targets, + gint *n_atoms); +gboolean gtk_selection_data_targets_include_text (const GtkSelectionData *selection_data); +gboolean gtk_selection_data_targets_include_rich_text (const GtkSelectionData *selection_data, + GtkTextBuffer *buffer); +gboolean gtk_selection_data_targets_include_image (const GtkSelectionData *selection_data, + gboolean writable); +gboolean gtk_selection_data_targets_include_uri (const GtkSelectionData *selection_data); +gboolean gtk_targets_include_text (GdkAtom *targets, + gint n_targets); +gboolean gtk_targets_include_rich_text (GdkAtom *targets, + gint n_targets, + GtkTextBuffer *buffer); +gboolean gtk_targets_include_image (GdkAtom *targets, + gint n_targets, + gboolean writable); +gboolean gtk_targets_include_uri (GdkAtom *targets, + gint n_targets); + + +GType gtk_selection_data_get_type (void) G_GNUC_CONST; +GtkSelectionData *gtk_selection_data_copy (const GtkSelectionData *data); +void gtk_selection_data_free (GtkSelectionData *data); + +GType gtk_target_entry_get_type (void) G_GNUC_CONST; +GtkTargetEntry *gtk_target_entry_new (const gchar *target, + guint flags, + guint info); +GtkTargetEntry *gtk_target_entry_copy (GtkTargetEntry *data); +void gtk_target_entry_free (GtkTargetEntry *data); + +G_END_DECLS + +#endif /* __GTK_SELECTION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkseparator.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkseparator.h new file mode 100644 index 0000000..dacb6c4 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkseparator.h @@ -0,0 +1,75 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SEPARATOR_H__ +#define __GTK_SEPARATOR_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_SEPARATOR (gtk_separator_get_type ()) +#define GTK_SEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEPARATOR, GtkSeparator)) +#define GTK_SEPARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEPARATOR, GtkSeparatorClass)) +#define GTK_IS_SEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEPARATOR)) +#define GTK_IS_SEPARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEPARATOR)) +#define GTK_SEPARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEPARATOR, GtkSeparatorClass)) + + +typedef struct _GtkSeparator GtkSeparator; +typedef struct _GtkSeparatorPrivate GtkSeparatorPrivate; +typedef struct _GtkSeparatorClass GtkSeparatorClass; + +struct _GtkSeparator +{ + GtkWidget widget; + + GtkSeparatorPrivate *priv; +}; + +struct _GtkSeparatorClass +{ + GtkWidgetClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_separator_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_separator_new (GtkOrientation orientation); + + +G_END_DECLS + +#endif /* __GTK_SEPARATOR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkseparatormenuitem.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkseparatormenuitem.h new file mode 100644 index 0000000..f475a79 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkseparatormenuitem.h @@ -0,0 +1,72 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SEPARATOR_MENU_ITEM_H__ +#define __GTK_SEPARATOR_MENU_ITEM_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_SEPARATOR_MENU_ITEM (gtk_separator_menu_item_get_type ()) +#define GTK_SEPARATOR_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEPARATOR_MENU_ITEM, GtkSeparatorMenuItem)) +#define GTK_SEPARATOR_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEPARATOR_MENU_ITEM, GtkSeparatorMenuItemClass)) +#define GTK_IS_SEPARATOR_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEPARATOR_MENU_ITEM)) +#define GTK_IS_SEPARATOR_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEPARATOR_MENU_ITEM)) +#define GTK_SEPARATOR_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEPARATOR_MENU_ITEM, GtkSeparatorMenuItemClass)) + + +typedef struct _GtkSeparatorMenuItem GtkSeparatorMenuItem; +typedef struct _GtkSeparatorMenuItemClass GtkSeparatorMenuItemClass; + +struct _GtkSeparatorMenuItem +{ + GtkMenuItem menu_item; +}; + +struct _GtkSeparatorMenuItemClass +{ + GtkMenuItemClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_separator_menu_item_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_separator_menu_item_new (void); + + +G_END_DECLS + +#endif /* __GTK_SEPARATOR_MENU_ITEM_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkseparatortoolitem.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkseparatortoolitem.h new file mode 100644 index 0000000..2e57141 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkseparatortoolitem.h @@ -0,0 +1,70 @@ +/* gtktoggletoolbutton.h + * + * Copyright (C) 2002 Anders Carlsson + * Copyright (C) 2002 James Henstridge + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SEPARATOR_TOOL_ITEM_H__ +#define __GTK_SEPARATOR_TOOL_ITEM_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_SEPARATOR_TOOL_ITEM (gtk_separator_tool_item_get_type ()) +#define GTK_SEPARATOR_TOOL_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItem)) +#define GTK_SEPARATOR_TOOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItemClass)) +#define GTK_IS_SEPARATOR_TOOL_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM)) +#define GTK_IS_SEPARATOR_TOOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEPARATOR_TOOL_ITEM)) +#define GTK_SEPARATOR_TOOL_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItemClass)) + +typedef struct _GtkSeparatorToolItem GtkSeparatorToolItem; +typedef struct _GtkSeparatorToolItemClass GtkSeparatorToolItemClass; +typedef struct _GtkSeparatorToolItemPrivate GtkSeparatorToolItemPrivate; + +struct _GtkSeparatorToolItem +{ + GtkToolItem parent; + + /*< private >*/ + GtkSeparatorToolItemPrivate *priv; +}; + +struct _GtkSeparatorToolItemClass +{ + GtkToolItemClass parent_class; + + /* Padding for future expansion */ + void (* _gtk_reserved1) (void); + void (* _gtk_reserved2) (void); + void (* _gtk_reserved3) (void); + void (* _gtk_reserved4) (void); +}; + +GType gtk_separator_tool_item_get_type (void) G_GNUC_CONST; +GtkToolItem *gtk_separator_tool_item_new (void); + +gboolean gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *item); +void gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *item, + gboolean draw); + +G_END_DECLS + +#endif /* __GTK_SEPARATOR_TOOL_ITEM_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtksettings.h b/gtk+-mingw/include/gtk-3.0/gtk/gtksettings.h new file mode 100644 index 0000000..4a33093 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtksettings.h @@ -0,0 +1,127 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SETTINGS_H__ +#define __GTK_SETTINGS_H__ + +#include +#include + +G_BEGIN_DECLS + + +/* -- type macros --- */ +#define GTK_TYPE_SETTINGS (gtk_settings_get_type ()) +#define GTK_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SETTINGS, GtkSettings)) +#define GTK_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SETTINGS, GtkSettingsClass)) +#define GTK_IS_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SETTINGS)) +#define GTK_IS_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SETTINGS)) +#define GTK_SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SETTINGS, GtkSettingsClass)) + + +/* --- typedefs --- */ +typedef struct _GtkSettingsPrivate GtkSettingsPrivate; +typedef struct _GtkSettingsClass GtkSettingsClass; +typedef struct _GtkSettingsValue GtkSettingsValue; + + +/* --- structures --- */ +struct _GtkSettings +{ + GObject parent_instance; + + /*< private >*/ + GtkSettingsPrivate *priv; +}; + +struct _GtkSettingsClass +{ + GObjectClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +struct _GtkSettingsValue +{ + /* origin should be something like "filename:linenumber" for rc files, + * or e.g. "XProperty" for other sources + */ + gchar *origin; + + /* valid types are LONG, DOUBLE and STRING corresponding to the token parsed, + * or a GSTRING holding an unparsed statement + */ + GValue value; +}; + + +/* --- functions --- */ +GType gtk_settings_get_type (void) G_GNUC_CONST; +#ifndef GDK_MULTIHEAD_SAFE +GtkSettings* gtk_settings_get_default (void); +#endif +GtkSettings* gtk_settings_get_for_screen (GdkScreen *screen); + +void gtk_settings_install_property (GParamSpec *pspec); +void gtk_settings_install_property_parser (GParamSpec *pspec, + GtkRcPropertyParser parser); + +/* --- precoded parsing functions --- */ +gboolean gtk_rc_property_parse_color (const GParamSpec *pspec, + const GString *gstring, + GValue *property_value); +gboolean gtk_rc_property_parse_enum (const GParamSpec *pspec, + const GString *gstring, + GValue *property_value); +gboolean gtk_rc_property_parse_flags (const GParamSpec *pspec, + const GString *gstring, + GValue *property_value); +gboolean gtk_rc_property_parse_requisition (const GParamSpec *pspec, + const GString *gstring, + GValue *property_value); +gboolean gtk_rc_property_parse_border (const GParamSpec *pspec, + const GString *gstring, + GValue *property_value); + +void gtk_settings_set_property_value (GtkSettings *settings, + const gchar *name, + const GtkSettingsValue *svalue); +void gtk_settings_set_string_property (GtkSettings *settings, + const gchar *name, + const gchar *v_string, + const gchar *origin); +void gtk_settings_set_long_property (GtkSettings *settings, + const gchar *name, + glong v_long, + const gchar *origin); +void gtk_settings_set_double_property (GtkSettings *settings, + const gchar *name, + gdouble v_double, + const gchar *origin); + + +G_END_DECLS + +#endif /* __GTK_SETTINGS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkshow.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkshow.h new file mode 100644 index 0000000..b52f2c6 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkshow.h @@ -0,0 +1,37 @@ +/* + * GTK - The GIMP Toolkit + * Copyright (C) 2008 Jaap Haitsma + * + * All rights reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SHOW_H__ +#define __GTK_SHOW_H__ + +G_BEGIN_DECLS + +gboolean gtk_show_uri (GdkScreen *screen, + const gchar *uri, + guint32 timestamp, + GError **error); + +G_END_DECLS + +#endif /* __GTK_SHOW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtksizegroup.h b/gtk+-mingw/include/gtk-3.0/gtk/gtksizegroup.h new file mode 100644 index 0000000..7af1338 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtksizegroup.h @@ -0,0 +1,95 @@ +/* GTK - The GIMP Toolkit + * gtksizegroup.h: + * Copyright (C) 2000 Red Hat Software + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SIZE_GROUP_H__ +#define __GTK_SIZE_GROUP_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_SIZE_GROUP (gtk_size_group_get_type ()) +#define GTK_SIZE_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SIZE_GROUP, GtkSizeGroup)) +#define GTK_SIZE_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SIZE_GROUP, GtkSizeGroupClass)) +#define GTK_IS_SIZE_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SIZE_GROUP)) +#define GTK_IS_SIZE_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SIZE_GROUP)) +#define GTK_SIZE_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SIZE_GROUP, GtkSizeGroupClass)) + + +typedef struct _GtkSizeGroup GtkSizeGroup; +typedef struct _GtkSizeGroupPrivate GtkSizeGroupPrivate; +typedef struct _GtkSizeGroupClass GtkSizeGroupClass; + +struct _GtkSizeGroup +{ + GObject parent_instance; + + /*< private >*/ + GtkSizeGroupPrivate *priv; +}; + +struct _GtkSizeGroupClass +{ + GObjectClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +/** + * GtkSizeGroupMode: + * @GTK_SIZE_GROUP_NONE: group has no effect + * @GTK_SIZE_GROUP_HORIZONTAL: group affects horizontal requisition + * @GTK_SIZE_GROUP_VERTICAL: group affects vertical requisition + * @GTK_SIZE_GROUP_BOTH: group affects both horizontal and vertical requisition + * + * The mode of the size group determines the directions in which the size + * group affects the requested sizes of its component widgets. + **/ +typedef enum { + GTK_SIZE_GROUP_NONE, + GTK_SIZE_GROUP_HORIZONTAL, + GTK_SIZE_GROUP_VERTICAL, + GTK_SIZE_GROUP_BOTH +} GtkSizeGroupMode; + +GType gtk_size_group_get_type (void) G_GNUC_CONST; + +GtkSizeGroup * gtk_size_group_new (GtkSizeGroupMode mode); +void gtk_size_group_set_mode (GtkSizeGroup *size_group, + GtkSizeGroupMode mode); +GtkSizeGroupMode gtk_size_group_get_mode (GtkSizeGroup *size_group); +void gtk_size_group_set_ignore_hidden (GtkSizeGroup *size_group, + gboolean ignore_hidden); +gboolean gtk_size_group_get_ignore_hidden (GtkSizeGroup *size_group); +void gtk_size_group_add_widget (GtkSizeGroup *size_group, + GtkWidget *widget); +void gtk_size_group_remove_widget (GtkSizeGroup *size_group, + GtkWidget *widget); +GSList * gtk_size_group_get_widgets (GtkSizeGroup *size_group); + +G_END_DECLS + +#endif /* __GTK_SIZE_GROUP_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtksizerequest.h b/gtk+-mingw/include/gtk-3.0/gtk/gtksizerequest.h new file mode 100644 index 0000000..3e22f96 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtksizerequest.h @@ -0,0 +1,57 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2007-2010 Openismus GmbH + * + * Authors: + * Mathias Hasselmann + * Tristan Van Berkom + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#ifndef __GTK_SIZE_REQUEST_H__ +#define __GTK_SIZE_REQUEST_H__ + +#include + +G_BEGIN_DECLS + +typedef struct _GtkRequestedSize GtkRequestedSize; + +/** + * GtkRequestedSize: + * @data: A client pointer + * @minimum_size: The minimum size needed for allocation in a given orientation + * @natural_size: The natural size for allocation in a given orientation + * + * Represents a request of a screen object in a given orientation. These + * are primarily used in container implementations when allocating a natural + * size for children calling. See gtk_distribute_natural_allocation(). + */ +struct _GtkRequestedSize +{ + gpointer data; + gint minimum_size; + gint natural_size; +}; + + +/* General convenience function to aid in allocating natural sizes */ +gint gtk_distribute_natural_allocation (gint extra_space, + guint n_requested_sizes, + GtkRequestedSize *sizes); + + +G_END_DECLS + +#endif /* __GTK_SIZE_REQUEST_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtksocket.h b/gtk+-mingw/include/gtk-3.0/gtk/gtksocket.h new file mode 100644 index 0000000..b5ae4e9 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtksocket.h @@ -0,0 +1,84 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTKX_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SOCKET_H__ +#define __GTK_SOCKET_H__ + +#include + +#ifdef GDK_WINDOWING_X11 + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_SOCKET (gtk_socket_get_type ()) +#define GTK_SOCKET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SOCKET, GtkSocket)) +#define GTK_SOCKET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SOCKET, GtkSocketClass)) +#define GTK_IS_SOCKET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SOCKET)) +#define GTK_IS_SOCKET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SOCKET)) +#define GTK_SOCKET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SOCKET, GtkSocketClass)) + + +typedef struct _GtkSocket GtkSocket; +typedef struct _GtkSocketClass GtkSocketClass; +typedef struct _GtkSocketPrivate GtkSocketPrivate; + +struct _GtkSocket +{ + GtkContainer container; + + GtkSocketPrivate *priv; +}; + +struct _GtkSocketClass +{ + GtkContainerClass parent_class; + + void (*plug_added) (GtkSocket *socket_); + gboolean (*plug_removed) (GtkSocket *socket_); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_socket_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_socket_new (void); +void gtk_socket_add_id (GtkSocket *socket_, + Window window); +Window gtk_socket_get_id (GtkSocket *socket_); +GdkWindow *gtk_socket_get_plug_window (GtkSocket *socket_); + +G_END_DECLS + +#endif /* GDK_WINDOWING_X11 */ + +#endif /* __GTK_SOCKET_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkspinbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkspinbutton.h new file mode 100644 index 0000000..362c4d5 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkspinbutton.h @@ -0,0 +1,213 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * GtkSpinButton widget for GTK+ + * Copyright (C) 1998 Lars Hamann and Stefan Jeske + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SPIN_BUTTON_H__ +#define __GTK_SPIN_BUTTON_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_SPIN_BUTTON (gtk_spin_button_get_type ()) +#define GTK_SPIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPIN_BUTTON, GtkSpinButton)) +#define GTK_SPIN_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SPIN_BUTTON, GtkSpinButtonClass)) +#define GTK_IS_SPIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPIN_BUTTON)) +#define GTK_IS_SPIN_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SPIN_BUTTON)) +#define GTK_SPIN_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SPIN_BUTTON, GtkSpinButtonClass)) + +/** + * GTK_INPUT_ERROR: + * + * Constant to return from a signal handler for the #GtkSpinButton::input + * signal in case of conversion failure. + */ +#define GTK_INPUT_ERROR -1 + +/** + * GtkSpinButtonUpdatePolicy: + * @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 + * adjustment + * + * The spin button update policy determines whether the spin button displays + * values even if they are outside the bounds of its adjustment. + * See gtk_spin_button_set_update_policy(). + */ +typedef enum +{ + GTK_UPDATE_ALWAYS, + GTK_UPDATE_IF_VALID +} GtkSpinButtonUpdatePolicy; + +/** + * GtkSpinType: + * @GTK_SPIN_STEP_FORWARD: Increment by the adjustments step increment. + * @GTK_SPIN_STEP_BACKWARD: Decrement by the adjustments step increment. + * @GTK_SPIN_PAGE_FORWARD: Increment by the adjustments page increment. + * @GTK_SPIN_PAGE_BACKWARD: Decrement by the adjustments page increment. + * @GTK_SPIN_HOME: Go to the adjustments lower bound. + * @GTK_SPIN_END: Go to the adjustments upper bound. + * @GTK_SPIN_USER_DEFINED: Change by a specified amount. + * + * The values of the GtkSpinType enumeration are used to specify the + * change to make in gtk_spin_button_spin(). + */ +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; + + +typedef struct _GtkSpinButton GtkSpinButton; +typedef struct _GtkSpinButtonPrivate GtkSpinButtonPrivate; +typedef struct _GtkSpinButtonClass GtkSpinButtonClass; + +/** + * GtkSpinButton: + * + * The #GtkSpinButton struct contains only private data and should + * not be directly modified. + */ +struct _GtkSpinButton +{ + GtkEntry entry; + + /*< private >*/ + GtkSpinButtonPrivate *priv; +}; + +struct _GtkSpinButtonClass +{ + GtkEntryClass parent_class; + + gint (*input) (GtkSpinButton *spin_button, + gdouble *new_value); + gint (*output) (GtkSpinButton *spin_button); + void (*value_changed) (GtkSpinButton *spin_button); + + /* Action signals for keybindings, do not connect to these */ + void (*change_value) (GtkSpinButton *spin_button, + GtkScrollType scroll); + + void (*wrapped) (GtkSpinButton *spin_button); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_spin_button_get_type (void) G_GNUC_CONST; + +void gtk_spin_button_configure (GtkSpinButton *spin_button, + GtkAdjustment *adjustment, + gdouble climb_rate, + guint digits); + +GtkWidget* gtk_spin_button_new (GtkAdjustment *adjustment, + gdouble climb_rate, + guint digits); + +GtkWidget* gtk_spin_button_new_with_range (gdouble min, + gdouble max, + gdouble step); + +void gtk_spin_button_set_adjustment (GtkSpinButton *spin_button, + GtkAdjustment *adjustment); + +GtkAdjustment* gtk_spin_button_get_adjustment (GtkSpinButton *spin_button); + +void gtk_spin_button_set_digits (GtkSpinButton *spin_button, + guint digits); +guint gtk_spin_button_get_digits (GtkSpinButton *spin_button); + +void gtk_spin_button_set_increments (GtkSpinButton *spin_button, + gdouble step, + gdouble page); +void gtk_spin_button_get_increments (GtkSpinButton *spin_button, + gdouble *step, + gdouble *page); + +void gtk_spin_button_set_range (GtkSpinButton *spin_button, + gdouble min, + gdouble max); +void gtk_spin_button_get_range (GtkSpinButton *spin_button, + gdouble *min, + gdouble *max); + +gdouble gtk_spin_button_get_value (GtkSpinButton *spin_button); + +gint gtk_spin_button_get_value_as_int (GtkSpinButton *spin_button); + +void gtk_spin_button_set_value (GtkSpinButton *spin_button, + gdouble value); + +void gtk_spin_button_set_update_policy (GtkSpinButton *spin_button, + GtkSpinButtonUpdatePolicy policy); +GtkSpinButtonUpdatePolicy gtk_spin_button_get_update_policy (GtkSpinButton *spin_button); + +void gtk_spin_button_set_numeric (GtkSpinButton *spin_button, + gboolean numeric); +gboolean gtk_spin_button_get_numeric (GtkSpinButton *spin_button); + +void gtk_spin_button_spin (GtkSpinButton *spin_button, + GtkSpinType direction, + gdouble increment); + +void gtk_spin_button_set_wrap (GtkSpinButton *spin_button, + gboolean wrap); +gboolean gtk_spin_button_get_wrap (GtkSpinButton *spin_button); + +void gtk_spin_button_set_snap_to_ticks (GtkSpinButton *spin_button, + gboolean snap_to_ticks); +gboolean gtk_spin_button_get_snap_to_ticks (GtkSpinButton *spin_button); +void gtk_spin_button_update (GtkSpinButton *spin_button); + +/* private */ +void _gtk_spin_button_get_panels (GtkSpinButton *spin_button, + GdkWindow **down_panel, + GdkWindow **up_panel); + +G_END_DECLS + +#endif /* __GTK_SPIN_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkspinner.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkspinner.h new file mode 100644 index 0000000..1d57bf9 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkspinner.h @@ -0,0 +1,71 @@ +/* GTK - The GIMP Toolkit + * + * Copyright (C) 2007 John Stowers, Neil Jagdish Patel. + * Copyright (C) 2009 Bastien Nocera, David Zeuthen + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Code adapted from egg-spinner + * by Christian Hergert + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SPINNER_H__ +#define __GTK_SPINNER_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_SPINNER (gtk_spinner_get_type ()) +#define GTK_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPINNER, GtkSpinner)) +#define GTK_SPINNER_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_SPINNER, GtkSpinnerClass)) +#define GTK_IS_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPINNER)) +#define GTK_IS_SPINNER_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), GTK_TYPE_SPINNER)) +#define GTK_SPINNER_GET_CLASS (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SPINNER, GtkSpinnerClass)) + +typedef struct _GtkSpinner GtkSpinner; +typedef struct _GtkSpinnerClass GtkSpinnerClass; +typedef struct _GtkSpinnerPrivate GtkSpinnerPrivate; + +struct _GtkSpinner +{ + GtkWidget parent; + + /*< private >*/ + GtkSpinnerPrivate *priv; +}; + +struct _GtkSpinnerClass +{ + GtkWidgetClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_spinner_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_spinner_new (void); +void gtk_spinner_start (GtkSpinner *spinner); +void gtk_spinner_stop (GtkSpinner *spinner); + +G_END_DECLS + +#endif /* __GTK_SPINNER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkstatusbar.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkstatusbar.h new file mode 100644 index 0000000..adcbb2d --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkstatusbar.h @@ -0,0 +1,101 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * GtkStatusbar Copyright (C) 1998 Shawn T. Amundson + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_STATUSBAR_H__ +#define __GTK_STATUSBAR_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_STATUSBAR (gtk_statusbar_get_type ()) +#define GTK_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STATUSBAR, GtkStatusbar)) +#define GTK_STATUSBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_STATUSBAR, GtkStatusbarClass)) +#define GTK_IS_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STATUSBAR)) +#define GTK_IS_STATUSBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_STATUSBAR)) +#define GTK_STATUSBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_STATUSBAR, GtkStatusbarClass)) + + +typedef struct _GtkStatusbar GtkStatusbar; +typedef struct _GtkStatusbarPrivate GtkStatusbarPrivate; +typedef struct _GtkStatusbarClass GtkStatusbarClass; + +struct _GtkStatusbar +{ + GtkBox parent_widget; + + /*< private >*/ + GtkStatusbarPrivate *priv; +}; + +struct _GtkStatusbarClass +{ + GtkBoxClass parent_class; + + gpointer reserved; + + void (*text_pushed) (GtkStatusbar *statusbar, + guint context_id, + const gchar *text); + void (*text_popped) (GtkStatusbar *statusbar, + guint context_id, + const gchar *text); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_statusbar_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_statusbar_new (void); +/* If you don't want to use contexts, 0 is a predefined global + * context_id you can pass to push/pop/remove + */ +guint gtk_statusbar_get_context_id (GtkStatusbar *statusbar, + const gchar *context_description); +/* Returns message_id used for gtk_statusbar_remove */ +guint gtk_statusbar_push (GtkStatusbar *statusbar, + guint context_id, + const gchar *text); +void gtk_statusbar_pop (GtkStatusbar *statusbar, + guint context_id); +void gtk_statusbar_remove (GtkStatusbar *statusbar, + guint context_id, + guint message_id); +void gtk_statusbar_remove_all (GtkStatusbar *statusbar, + guint context_id); + +GtkWidget* gtk_statusbar_get_message_area (GtkStatusbar *statusbar); + +G_END_DECLS + +#endif /* __GTK_STATUSBAR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkstatusicon.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkstatusicon.h new file mode 100644 index 0000000..e819aa7 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkstatusicon.h @@ -0,0 +1,147 @@ +/* gtkstatusicon.h: + * + * Copyright (C) 2003 Sun Microsystems, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Authors: + * Mark McLoughlin + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_STATUS_ICON_H__ +#define __GTK_STATUS_ICON_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_STATUS_ICON (gtk_status_icon_get_type ()) +#define GTK_STATUS_ICON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_STATUS_ICON, GtkStatusIcon)) +#define GTK_STATUS_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_STATUS_ICON, GtkStatusIconClass)) +#define GTK_IS_STATUS_ICON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STATUS_ICON)) +#define GTK_IS_STATUS_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_STATUS_ICON)) +#define GTK_STATUS_ICON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_STATUS_ICON, GtkStatusIconClass)) + +typedef struct _GtkStatusIcon GtkStatusIcon; +typedef struct _GtkStatusIconClass GtkStatusIconClass; +typedef struct _GtkStatusIconPrivate GtkStatusIconPrivate; + +struct _GtkStatusIcon +{ + GObject parent_instance; + + GtkStatusIconPrivate *priv; +}; + +struct _GtkStatusIconClass +{ + GObjectClass parent_class; + + void (* activate) (GtkStatusIcon *status_icon); + void (* popup_menu) (GtkStatusIcon *status_icon, + guint button, + guint32 activate_time); + gboolean (* size_changed) (GtkStatusIcon *status_icon, + gint size); + gboolean (* button_press_event) (GtkStatusIcon *status_icon, + GdkEventButton *event); + gboolean (* button_release_event) (GtkStatusIcon *status_icon, + GdkEventButton *event); + gboolean (* scroll_event) (GtkStatusIcon *status_icon, + GdkEventScroll *event); + gboolean (* query_tooltip) (GtkStatusIcon *status_icon, + gint x, + gint y, + gboolean keyboard_mode, + GtkTooltip *tooltip); + + void (*__gtk_reserved1); + void (*__gtk_reserved2); + void (*__gtk_reserved3); + void (*__gtk_reserved4); +}; + +GType gtk_status_icon_get_type (void) G_GNUC_CONST; + +GtkStatusIcon *gtk_status_icon_new (void); +GtkStatusIcon *gtk_status_icon_new_from_pixbuf (GdkPixbuf *pixbuf); +GtkStatusIcon *gtk_status_icon_new_from_file (const gchar *filename); +GtkStatusIcon *gtk_status_icon_new_from_stock (const gchar *stock_id); +GtkStatusIcon *gtk_status_icon_new_from_icon_name (const gchar *icon_name); +GtkStatusIcon *gtk_status_icon_new_from_gicon (GIcon *icon); + +void gtk_status_icon_set_from_pixbuf (GtkStatusIcon *status_icon, + GdkPixbuf *pixbuf); +void gtk_status_icon_set_from_file (GtkStatusIcon *status_icon, + const gchar *filename); +void gtk_status_icon_set_from_stock (GtkStatusIcon *status_icon, + const gchar *stock_id); +void gtk_status_icon_set_from_icon_name (GtkStatusIcon *status_icon, + const gchar *icon_name); +void gtk_status_icon_set_from_gicon (GtkStatusIcon *status_icon, + GIcon *icon); + +GtkImageType gtk_status_icon_get_storage_type (GtkStatusIcon *status_icon); + +GdkPixbuf *gtk_status_icon_get_pixbuf (GtkStatusIcon *status_icon); +const gchar * gtk_status_icon_get_stock (GtkStatusIcon *status_icon); +const gchar * gtk_status_icon_get_icon_name (GtkStatusIcon *status_icon); +GIcon *gtk_status_icon_get_gicon (GtkStatusIcon *status_icon); + +gint gtk_status_icon_get_size (GtkStatusIcon *status_icon); + +void gtk_status_icon_set_screen (GtkStatusIcon *status_icon, + GdkScreen *screen); +GdkScreen *gtk_status_icon_get_screen (GtkStatusIcon *status_icon); + +void gtk_status_icon_set_has_tooltip (GtkStatusIcon *status_icon, + gboolean has_tooltip); +void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon, + const gchar *text); +void gtk_status_icon_set_tooltip_markup (GtkStatusIcon *status_icon, + const gchar *markup); +void gtk_status_icon_set_title (GtkStatusIcon *status_icon, + const gchar *title); +const gchar * gtk_status_icon_get_title (GtkStatusIcon *status_icon); +void gtk_status_icon_set_name (GtkStatusIcon *status_icon, + const gchar *name); +void gtk_status_icon_set_visible (GtkStatusIcon *status_icon, + gboolean visible); +gboolean gtk_status_icon_get_visible (GtkStatusIcon *status_icon); + +gboolean gtk_status_icon_is_embedded (GtkStatusIcon *status_icon); + +void gtk_status_icon_position_menu (GtkMenu *menu, + gint *x, + gint *y, + gboolean *push_in, + gpointer user_data); +gboolean gtk_status_icon_get_geometry (GtkStatusIcon *status_icon, + GdkScreen **screen, + GdkRectangle *area, + GtkOrientation *orientation); +gboolean gtk_status_icon_get_has_tooltip (GtkStatusIcon *status_icon); +gchar *gtk_status_icon_get_tooltip_text (GtkStatusIcon *status_icon); +gchar *gtk_status_icon_get_tooltip_markup (GtkStatusIcon *status_icon); + +guint32 gtk_status_icon_get_x11_window_id (GtkStatusIcon *status_icon); + +G_END_DECLS + +#endif /* __GTK_STATUS_ICON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkstock.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkstock.h new file mode 100644 index 0000000..ff40979 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkstock.h @@ -0,0 +1,1029 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_STOCK_H__ +#define __GTK_STOCK_H__ + + +#include + +G_BEGIN_DECLS + +/* + * GtkTranslateFunc: + * @path: The id of the message. In #GtkActionGroup this will be a label + * or tooltip from a #GtkActionEntry. + * @func_data: user data passed in when registering the function + * + * The function used to translate messages in e.g. #GtkIconFactory + * and #GtkActionGroup. + * + * Returns: the translated message + */ +typedef gchar * (*GtkTranslateFunc) (const gchar *path, + gpointer func_data); + +typedef struct _GtkStockItem GtkStockItem; + +struct _GtkStockItem +{ + gchar *stock_id; + gchar *label; + GdkModifierType modifier; + guint keyval; + gchar *translation_domain; +}; + +void gtk_stock_add (const GtkStockItem *items, + guint n_items); +void gtk_stock_add_static (const GtkStockItem *items, + guint n_items); +gboolean gtk_stock_lookup (const gchar *stock_id, + GtkStockItem *item); + +/* Should free the list (and free each string in it also). + * This function is only useful for GUI builders and such. + */ +GSList* gtk_stock_list_ids (void); + +GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item); +void gtk_stock_item_free (GtkStockItem *item); + +void gtk_stock_set_translate_func (const gchar *domain, + GtkTranslateFunc func, + gpointer data, + GDestroyNotify notify); + +/* Stock IDs (not all are stock items; some are images only) */ +/** + * GTK_STOCK_ABOUT: + * + * The "About" item. + * + * + * Since: 2.6 + */ +#define GTK_STOCK_ABOUT "gtk-about" + +/** + * GTK_STOCK_ADD: + * + * The "Add" item. + * + */ +#define GTK_STOCK_ADD "gtk-add" + +/** + * GTK_STOCK_APPLY: + * + * The "Apply" item. + * + */ +#define GTK_STOCK_APPLY "gtk-apply" + +/** + * GTK_STOCK_BOLD: + * + * The "Bold" item. + * + */ +#define GTK_STOCK_BOLD "gtk-bold" + +/** + * GTK_STOCK_CANCEL: + * + * The "Cancel" item. + * + */ +#define GTK_STOCK_CANCEL "gtk-cancel" + +/** + * GTK_STOCK_CAPS_LOCK_WARNING: + * + * The "Caps Lock Warning" icon. + * + * + * Since: 2.16 + */ +#define GTK_STOCK_CAPS_LOCK_WARNING "gtk-caps-lock-warning" + +/** + * GTK_STOCK_CDROM: + * + * The "CD-Rom" item. + * + */ +#define GTK_STOCK_CDROM "gtk-cdrom" + +/** + * GTK_STOCK_CLEAR: + * + * The "Clear" item. + * + */ +#define GTK_STOCK_CLEAR "gtk-clear" + +/** + * GTK_STOCK_CLOSE: + * + * The "Close" item. + * + */ +#define GTK_STOCK_CLOSE "gtk-close" + +/** + * GTK_STOCK_COLOR_PICKER: + * + * The "Color Picker" item. + * + * + * Since: 2.2 + */ +#define GTK_STOCK_COLOR_PICKER "gtk-color-picker" + +/** + * GTK_STOCK_CONNECT: + * + * The "Connect" icon. + * + * + * Since: 2.6 + */ +#define GTK_STOCK_CONNECT "gtk-connect" + +/** + * GTK_STOCK_CONVERT: + * + * The "Convert" item. + * + */ +#define GTK_STOCK_CONVERT "gtk-convert" + +/** + * GTK_STOCK_COPY: + * + * The "Copy" item. + * + */ +#define GTK_STOCK_COPY "gtk-copy" + +/** + * GTK_STOCK_CUT: + * + * The "Cut" item. + * + */ +#define GTK_STOCK_CUT "gtk-cut" + +/** + * GTK_STOCK_DELETE: + * + * The "Delete" item. + * + */ +#define GTK_STOCK_DELETE "gtk-delete" + +/** + * GTK_STOCK_DIALOG_AUTHENTICATION: + * + * The "Authentication" item. + * + * + * Since: 2.4 + */ +#define GTK_STOCK_DIALOG_AUTHENTICATION "gtk-dialog-authentication" + +/** + * GTK_STOCK_DIALOG_INFO: + * + * The "Information" item. + * + */ +#define GTK_STOCK_DIALOG_INFO "gtk-dialog-info" + +/** + * GTK_STOCK_DIALOG_WARNING: + * + * The "Warning" item. + * + */ +#define GTK_STOCK_DIALOG_WARNING "gtk-dialog-warning" + +/** + * GTK_STOCK_DIALOG_ERROR: + * + * The "Error" item. + * + */ +#define GTK_STOCK_DIALOG_ERROR "gtk-dialog-error" + +/** + * GTK_STOCK_DIALOG_QUESTION: + * + * The "Question" item. + * + */ +#define GTK_STOCK_DIALOG_QUESTION "gtk-dialog-question" + +/** + * GTK_STOCK_DIRECTORY: + * + * The "Directory" icon. + * + * + * Since: 2.6 + */ +#define GTK_STOCK_DIRECTORY "gtk-directory" + +/** + * GTK_STOCK_DISCARD: + * + * The "Discard" item. + * + * Since: 2.12 + */ +#define GTK_STOCK_DISCARD "gtk-discard" + +/** + * GTK_STOCK_DISCONNECT: + * + * The "Disconnect" icon. + * + * + * Since: 2.6 + */ +#define GTK_STOCK_DISCONNECT "gtk-disconnect" + +/** + * GTK_STOCK_DND: + * + * The "Drag-And-Drop" icon. + * + */ +#define GTK_STOCK_DND "gtk-dnd" + +/** + * GTK_STOCK_DND_MULTIPLE: + * + * The "Drag-And-Drop multiple" icon. + * + */ +#define GTK_STOCK_DND_MULTIPLE "gtk-dnd-multiple" + +/** + * GTK_STOCK_EDIT: + * + * The "Edit" item. + * + * + * Since: 2.6 + */ +#define GTK_STOCK_EDIT "gtk-edit" + +/** + * GTK_STOCK_EXECUTE: + * + * The "Execute" item. + * + */ +#define GTK_STOCK_EXECUTE "gtk-execute" + +/** + * GTK_STOCK_FILE: + * + * The "File" item. + * + * + * Since 3.0, this item has a label, before it only had an icon. + * + * Since: 2.6 + */ +#define GTK_STOCK_FILE "gtk-file" + +/** + * GTK_STOCK_FIND: + * + * The "Find" item. + * + */ +#define GTK_STOCK_FIND "gtk-find" + +/** + * GTK_STOCK_FIND_AND_REPLACE: + * + * The "Find and Replace" item. + * + */ +#define GTK_STOCK_FIND_AND_REPLACE "gtk-find-and-replace" + +/** + * GTK_STOCK_FLOPPY: + * + * The "Floppy" item. + * + */ +#define GTK_STOCK_FLOPPY "gtk-floppy" + +/** + * GTK_STOCK_FULLSCREEN: + * + * The "Fullscreen" item. + * + * + * Since: 2.8 + */ +#define GTK_STOCK_FULLSCREEN "gtk-fullscreen" + +/** + * GTK_STOCK_GOTO_BOTTOM: + * + * The "Bottom" item. + * + */ +#define GTK_STOCK_GOTO_BOTTOM "gtk-goto-bottom" + +/** + * GTK_STOCK_GOTO_FIRST: + * + * The "First" item. + * + * RTL variant + * + */ +#define GTK_STOCK_GOTO_FIRST "gtk-goto-first" + +/** + * GTK_STOCK_GOTO_LAST: + * + * The "Last" item. + * + * RTL variant + * + */ +#define GTK_STOCK_GOTO_LAST "gtk-goto-last" + +/** + * GTK_STOCK_GOTO_TOP: + * + * The "Top" item. + * + */ +#define GTK_STOCK_GOTO_TOP "gtk-goto-top" + +/** + * GTK_STOCK_GO_BACK: + * + * The "Back" item. + * + * RTL variant + * + */ +#define GTK_STOCK_GO_BACK "gtk-go-back" + +/** + * GTK_STOCK_GO_DOWN: + * + * The "Down" item. + * + */ +#define GTK_STOCK_GO_DOWN "gtk-go-down" + +/** + * GTK_STOCK_GO_FORWARD: + * + * The "Forward" item. + * + * RTL variant + * + */ +#define GTK_STOCK_GO_FORWARD "gtk-go-forward" + +/** + * GTK_STOCK_GO_UP: + * + * The "Up" item. + * + */ +#define GTK_STOCK_GO_UP "gtk-go-up" + +/** + * GTK_STOCK_HARDDISK: + * + * The "Harddisk" item. + * + * + * Since: 2.4 + */ +#define GTK_STOCK_HARDDISK "gtk-harddisk" + +/** + * GTK_STOCK_HELP: + * + * The "Help" item. + * + */ +#define GTK_STOCK_HELP "gtk-help" + +/** + * GTK_STOCK_HOME: + * + * The "Home" item. + * + */ +#define GTK_STOCK_HOME "gtk-home" + +/** + * GTK_STOCK_INDEX: + * + * The "Index" item. + * + */ +#define GTK_STOCK_INDEX "gtk-index" + +/** + * GTK_STOCK_INDENT: + * + * The "Indent" item. + * + * RTL variant + * + * + * Since: 2.4 + */ +#define GTK_STOCK_INDENT "gtk-indent" + +/** + * GTK_STOCK_INFO: + * + * The "Info" item. + * + * + * Since: 2.8 + */ +#define GTK_STOCK_INFO "gtk-info" + +/** + * GTK_STOCK_ITALIC: + * + * The "Italic" item. + * + */ +#define GTK_STOCK_ITALIC "gtk-italic" + +/** + * GTK_STOCK_JUMP_TO: + * + * The "Jump to" item. + * + * RTL-variant + * + */ +#define GTK_STOCK_JUMP_TO "gtk-jump-to" + +/** + * GTK_STOCK_JUSTIFY_CENTER: + * + * The "Center" item. + * + */ +#define GTK_STOCK_JUSTIFY_CENTER "gtk-justify-center" + +/** + * GTK_STOCK_JUSTIFY_FILL: + * + * The "Fill" item. + * + */ +#define GTK_STOCK_JUSTIFY_FILL "gtk-justify-fill" + +/** + * GTK_STOCK_JUSTIFY_LEFT: + * + * The "Left" item. + * + */ +#define GTK_STOCK_JUSTIFY_LEFT "gtk-justify-left" + +/** + * GTK_STOCK_JUSTIFY_RIGHT: + * + * The "Right" item. + * + */ +#define GTK_STOCK_JUSTIFY_RIGHT "gtk-justify-right" + +/** + * GTK_STOCK_LEAVE_FULLSCREEN: + * + * The "Leave Fullscreen" item. + * + * + * Since: 2.8 + */ +#define GTK_STOCK_LEAVE_FULLSCREEN "gtk-leave-fullscreen" + +/** + * GTK_STOCK_MISSING_IMAGE: + * + * The "Missing image" icon. + * + */ +#define GTK_STOCK_MISSING_IMAGE "gtk-missing-image" + +/** + * GTK_STOCK_MEDIA_FORWARD: + * + * The "Media Forward" item. + * + * RTL variant + * + * + * Since: 2.6 + */ +#define GTK_STOCK_MEDIA_FORWARD "gtk-media-forward" + +/** + * GTK_STOCK_MEDIA_NEXT: + * + * The "Media Next" item. + * + * RTL variant + * + * + * Since: 2.6 + */ +#define GTK_STOCK_MEDIA_NEXT "gtk-media-next" + +/** + * GTK_STOCK_MEDIA_PAUSE: + * + * The "Media Pause" item. + * + * + * Since: 2.6 + */ +#define GTK_STOCK_MEDIA_PAUSE "gtk-media-pause" + +/** + * GTK_STOCK_MEDIA_PLAY: + * + * The "Media Play" item. + * + * RTL variant + * + * + * Since: 2.6 + */ +#define GTK_STOCK_MEDIA_PLAY "gtk-media-play" + +/** + * GTK_STOCK_MEDIA_PREVIOUS: + * + * The "Media Previous" item. + * + * RTL variant + * + * + * Since: 2.6 + */ +#define GTK_STOCK_MEDIA_PREVIOUS "gtk-media-previous" + +/** + * GTK_STOCK_MEDIA_RECORD: + * + * The "Media Record" item. + * + * + * Since: 2.6 + */ +#define GTK_STOCK_MEDIA_RECORD "gtk-media-record" + +/** + * GTK_STOCK_MEDIA_REWIND: + * + * The "Media Rewind" item. + * + * RTL variant + * + * + * Since: 2.6 + */ +#define GTK_STOCK_MEDIA_REWIND "gtk-media-rewind" + +/** + * GTK_STOCK_MEDIA_STOP: + * + * The "Media Stop" item. + * + * + * Since: 2.6 + */ +#define GTK_STOCK_MEDIA_STOP "gtk-media-stop" + +/** + * GTK_STOCK_NETWORK: + * + * The "Network" item. + * + * + * Since: 2.4 + */ +#define GTK_STOCK_NETWORK "gtk-network" + +/** + * GTK_STOCK_NEW: + * + * The "New" item. + * + */ +#define GTK_STOCK_NEW "gtk-new" + +/** + * GTK_STOCK_NO: + * + * The "No" item. + * + */ +#define GTK_STOCK_NO "gtk-no" + +/** + * GTK_STOCK_OK: + * + * The "OK" item. + * + */ +#define GTK_STOCK_OK "gtk-ok" + +/** + * GTK_STOCK_OPEN: + * + * The "Open" item. + * + */ +#define GTK_STOCK_OPEN "gtk-open" + +/** + * GTK_STOCK_ORIENTATION_PORTRAIT: + * + * The "Portrait Orientation" item. + * + * + * Since: 2.10 + */ +#define GTK_STOCK_ORIENTATION_PORTRAIT "gtk-orientation-portrait" + +/** + * GTK_STOCK_ORIENTATION_LANDSCAPE: + * + * The "Landscape Orientation" item. + * + * + * Since: 2.10 + */ +#define GTK_STOCK_ORIENTATION_LANDSCAPE "gtk-orientation-landscape" + +/** + * GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE: + * + * The "Reverse Landscape Orientation" item. + * + * + * Since: 2.10 + */ +#define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE "gtk-orientation-reverse-landscape" + +/** + * GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT: + * + * The "Reverse Portrait Orientation" item. + * + * + * Since: 2.10 + */ +#define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT "gtk-orientation-reverse-portrait" + +/** + * GTK_STOCK_PAGE_SETUP: + * + * The "Page Setup" item. + * + * + * Since: 2.14 + */ +#define GTK_STOCK_PAGE_SETUP "gtk-page-setup" + +/** + * GTK_STOCK_PASTE: + * + * The "Paste" item. + * + */ +#define GTK_STOCK_PASTE "gtk-paste" + +/** + * GTK_STOCK_PREFERENCES: + * + * The "Preferences" item. + * + */ +#define GTK_STOCK_PREFERENCES "gtk-preferences" + +/** + * GTK_STOCK_PRINT: + * + * The "Print" item. + * + */ +#define GTK_STOCK_PRINT "gtk-print" + +/** + * GTK_STOCK_PRINT_ERROR: + * + * The "Print Error" icon. + * + * + * Since: 2.14 + */ +#define GTK_STOCK_PRINT_ERROR "gtk-print-error" + +/** + * GTK_STOCK_PRINT_PAUSED: + * + * The "Print Paused" icon. + * + * + * Since: 2.14 + */ +#define GTK_STOCK_PRINT_PAUSED "gtk-print-paused" + +/** + * GTK_STOCK_PRINT_PREVIEW: + * + * The "Print Preview" item. + * + */ +#define GTK_STOCK_PRINT_PREVIEW "gtk-print-preview" + +/** + * GTK_STOCK_PRINT_REPORT: + * + * The "Print Report" icon. + * + * + * Since: 2.14 + */ +#define GTK_STOCK_PRINT_REPORT "gtk-print-report" + + +/** + * GTK_STOCK_PRINT_WARNING: + * + * The "Print Warning" icon. + * + * + * Since: 2.14 + */ +#define GTK_STOCK_PRINT_WARNING "gtk-print-warning" + +/** + * GTK_STOCK_PROPERTIES: + * + * The "Properties" item. + * + */ +#define GTK_STOCK_PROPERTIES "gtk-properties" + +/** + * GTK_STOCK_QUIT: + * + * The "Quit" item. + * + */ +#define GTK_STOCK_QUIT "gtk-quit" + +/** + * GTK_STOCK_REDO: + * + * The "Redo" item. + * + * RTL variant + * + */ +#define GTK_STOCK_REDO "gtk-redo" + +/** + * GTK_STOCK_REFRESH: + * + * The "Refresh" item. + * + */ +#define GTK_STOCK_REFRESH "gtk-refresh" + +/** + * GTK_STOCK_REMOVE: + * + * The "Remove" item. + * + */ +#define GTK_STOCK_REMOVE "gtk-remove" + +/** + * GTK_STOCK_REVERT_TO_SAVED: + * + * The "Revert" item. + * + * RTL variant + * + */ +#define GTK_STOCK_REVERT_TO_SAVED "gtk-revert-to-saved" + +/** + * GTK_STOCK_SAVE: + * + * The "Save" item. + * + */ +#define GTK_STOCK_SAVE "gtk-save" + +/** + * GTK_STOCK_SAVE_AS: + * + * The "Save As" item. + * + */ +#define GTK_STOCK_SAVE_AS "gtk-save-as" + +/** + * GTK_STOCK_SELECT_ALL: + * + * The "Select All" item. + * + * + * Since: 2.10 + */ +#define GTK_STOCK_SELECT_ALL "gtk-select-all" + +/** + * GTK_STOCK_SELECT_COLOR: + * + * The "Color" item. + * + */ +#define GTK_STOCK_SELECT_COLOR "gtk-select-color" + +/** + * GTK_STOCK_SELECT_FONT: + * + * The "Font" item. + * + */ +#define GTK_STOCK_SELECT_FONT "gtk-select-font" + +/** + * GTK_STOCK_SORT_ASCENDING: + * + * The "Ascending" item. + * + */ +#define GTK_STOCK_SORT_ASCENDING "gtk-sort-ascending" + +/** + * GTK_STOCK_SORT_DESCENDING: + * + * The "Descending" item. + * + */ +#define GTK_STOCK_SORT_DESCENDING "gtk-sort-descending" + +/** + * GTK_STOCK_SPELL_CHECK: + * + * The "Spell Check" item. + * + */ +#define GTK_STOCK_SPELL_CHECK "gtk-spell-check" + +/** + * GTK_STOCK_STOP: + * + * The "Stop" item. + * + */ +#define GTK_STOCK_STOP "gtk-stop" + +/** + * GTK_STOCK_STRIKETHROUGH: + * + * The "Strikethrough" item. + * + */ +#define GTK_STOCK_STRIKETHROUGH "gtk-strikethrough" + +/** + * GTK_STOCK_UNDELETE: + * + * The "Undelete" item. + * + * RTL variant + * + */ +#define GTK_STOCK_UNDELETE "gtk-undelete" + +/** + * GTK_STOCK_UNDERLINE: + * + * The "Underline" item. + * + */ +#define GTK_STOCK_UNDERLINE "gtk-underline" + +/** + * GTK_STOCK_UNDO: + * + * The "Undo" item. + * + * RTL variant + * + */ +#define GTK_STOCK_UNDO "gtk-undo" + +/** + * GTK_STOCK_UNINDENT: + * + * The "Unindent" item. + * + * RTL variant + * + * + * Since: 2.4 + */ +#define GTK_STOCK_UNINDENT "gtk-unindent" + +/** + * GTK_STOCK_YES: + * + * The "Yes" item. + * + */ +#define GTK_STOCK_YES "gtk-yes" + +/** + * GTK_STOCK_ZOOM_100: + * + * The "Zoom 100%" item. + * + */ +#define GTK_STOCK_ZOOM_100 "gtk-zoom-100" + +/** + * GTK_STOCK_ZOOM_FIT: + * + * The "Zoom to Fit" item. + * + */ +#define GTK_STOCK_ZOOM_FIT "gtk-zoom-fit" + +/** + * GTK_STOCK_ZOOM_IN: + * + * The "Zoom In" item. + * + */ +#define GTK_STOCK_ZOOM_IN "gtk-zoom-in" + +/** + * GTK_STOCK_ZOOM_OUT: + * + * The "Zoom Out" item. + * + */ +#define GTK_STOCK_ZOOM_OUT "gtk-zoom-out" + +G_END_DECLS + +#endif /* __GTK_STOCK_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkstylecontext.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkstylecontext.h new file mode 100644 index 0000000..4975862 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkstylecontext.h @@ -0,0 +1,996 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Carlos Garnacho + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_STYLE_CONTEXT_H__ +#define __GTK_STYLE_CONTEXT_H__ + +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_STYLE_CONTEXT (gtk_style_context_get_type ()) +#define GTK_STYLE_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_STYLE_CONTEXT, GtkStyleContext)) +#define GTK_STYLE_CONTEXT_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_STYLE_CONTEXT, GtkStyleContextClass)) +#define GTK_IS_STYLE_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STYLE_CONTEXT)) +#define GTK_IS_STYLE_CONTEXT_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_STYLE_CONTEXT)) +#define GTK_STYLE_CONTEXT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_STYLE_CONTEXT, GtkStyleContextClass)) + +typedef struct _GtkStyleContextClass GtkStyleContextClass; +typedef struct _GtkStyleContextPrivate GtkStyleContextPrivate; + +struct _GtkStyleContext +{ + GObject parent_object; + GtkStyleContextPrivate *priv; +}; + +struct _GtkStyleContextClass +{ + GObjectClass parent_class; + + void (* changed) (GtkStyleContext *context); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +/* Default set of properties that GtkStyleContext may contain */ + +/** + * GTK_STYLE_PROPERTY_BACKGROUND_COLOR: + * + * A property holding the background color of rendered elements as a #GdkRGBA. + */ +#define GTK_STYLE_PROPERTY_BACKGROUND_COLOR "background-color" + +/** + * GTK_STYLE_PROPERTY_COLOR: + * + * A property holding the foreground color of rendered elements as a #GdkRGBA. + */ +#define GTK_STYLE_PROPERTY_COLOR "color" + +/** + * GTK_STYLE_PROPERTY_FONT: + * + * A property holding the font properties used when rendering text + * as a #PangoFontDescription. + */ +#define GTK_STYLE_PROPERTY_FONT "font" + +/** + * GTK_STYLE_PROPERTY_PADDING: + * + * A property holding the rendered element's padding as a #GtkBorder. The + * padding is defined as the spacing between the inner part of the element border + * and its child. It's the innermost spacing property of the padding/border/margin + * series. + */ +#define GTK_STYLE_PROPERTY_PADDING "padding" + +/** + * GTK_STYLE_PROPERTY_BORDER_WIDTH: + * + * A property holding the rendered element's border width in pixels as + * a #GtkBorder. The border is the intermediary spacing property of the + * padding/border/margin series. + * + * gtk_render_frame() uses this property to find out the frame line width, + * so #GtkWidgets rendering frames may need to add up this padding when + * requesting size + */ +#define GTK_STYLE_PROPERTY_BORDER_WIDTH "border-width" + +/** + * GTK_STYLE_PROPERTY_MARGIN: + * + * A property holding the rendered element's margin as a #GtkBorder. The + * margin is defined as the spacing between the border of the element + * and its surrounding elements. It is external to #GtkWidgets's + * size allocations, and the most external spacing property of the + * padding/border/margin series. + */ +#define GTK_STYLE_PROPERTY_MARGIN "margin" + +/** + * GTK_STYLE_PROPERTY_BORDER_RADIUS: + * + * A property holding the rendered element's border radius in pixels as a #gint. + */ +#define GTK_STYLE_PROPERTY_BORDER_RADIUS "border-radius" + +/** + * GTK_STYLE_PROPERTY_BORDER_STYLE: + * + * A property holding the element's border style as a #GtkBorderStyle. + */ +#define GTK_STYLE_PROPERTY_BORDER_STYLE "border-style" + +/** + * GTK_STYLE_PROPERTY_BORDER_COLOR: + * + * A property holding the element's border color as a #GdkRGBA. + */ +#define GTK_STYLE_PROPERTY_BORDER_COLOR "border-color" + +/** + * GTK_STYLE_PROPERTY_BACKGROUND_IMAGE: + * + * A property holding the element's background as a #cairo_pattern_t. + */ +#define GTK_STYLE_PROPERTY_BACKGROUND_IMAGE "background-image" + +/* Predefined set of CSS classes */ + +/** + * GTK_STYLE_CLASS_CELL: + * + * A CSS class to match content rendered in cell views. + * + * This is used by cell renderers, e.g. in #GtkIconView + * and #GtkTreeView. + */ +#define GTK_STYLE_CLASS_CELL "cell" + +/** + * GTK_STYLE_CLASS_DIM_LABEL: + * + * A CSS class to match dimmed labels. + * + * This should be used for toning down right aligned labels as + * compared to the entry value. + */ +#define GTK_STYLE_CLASS_DIM_LABEL "dim-label" + +/** + * GTK_STYLE_CLASS_ENTRY: + * + * A CSS class to match text entries. + * + * This is used by #GtkEntry. + */ +#define GTK_STYLE_CLASS_ENTRY "entry" + +/** + * GTK_STYLE_CLASS_COMBOBOX_ENTRY: + * + * A CSS class to match combobox entries. + * + * This is used by #GtkComboBox. + */ +#define GTK_STYLE_CLASS_COMBOBOX_ENTRY "combobox-entry" + +/** + * GTK_STYLE_CLASS_BUTTON: + * + * A CSS class to match buttons. + * + * This is used by #GtkButton and its subclasses, as well + * as various other widget pieces that appear like buttons, + * e.g. the arrows in a #GtkCalendar. + */ +#define GTK_STYLE_CLASS_BUTTON "button" + +/** + * GTK_STYLE_CLASS_CALENDAR: + * + * A CSS class to match calendars. + * + * This is not used by GTK+ itself, currently. + */ +#define GTK_STYLE_CLASS_CALENDAR "calendar" + +/** + * GTK_STYLE_CLASS_SLIDER: + * + * A CSS class to match sliders. + * + * This is used by #GtkSwitch and #GtkRange and its subclasses. + */ +#define GTK_STYLE_CLASS_SLIDER "slider" + +/** + * GTK_STYLE_CLASS_BACKGROUND: + * + * A CSS class to match the window background. + */ +#define GTK_STYLE_CLASS_BACKGROUND "background" + +/** + * GTK_STYLE_CLASS_RUBBERBAND: + * + * A CSS class to match the rubberband selection rectangle. + * + * This is used in #GtkIconView and #GtkTreeView. + */ +#define GTK_STYLE_CLASS_RUBBERBAND "rubberband" + +/** + * GTK_STYLE_CLASS_TOOLTIP: + * + * A CSS class to match tooltip windows. + */ +#define GTK_STYLE_CLASS_TOOLTIP "tooltip" + +/** + * GTK_STYLE_CLASS_MENU: + * + * A CSS class to match popup menus. + * + * This is used in #GtkMenu. + */ +#define GTK_STYLE_CLASS_MENU "menu" + +/** + * GTK_STYLE_CLASS_MENUBAR: + * + * A CSS class to menubars. + * + * This is used in #GtkMenuBar. + */ +#define GTK_STYLE_CLASS_MENUBAR "menubar" + +/** + * GTK_STYLE_CLASS_MENUITEM: + * + * A CSS class to match menu items. + * + * This is used in #GtkMenuItem and its subclasses. + */ +#define GTK_STYLE_CLASS_MENUITEM "menuitem" + +/** + * GTK_STYLE_CLASS_TOOLBAR: + * + * A CSS class to match toolbars. + * + * This is used in #GtkToolbar. + */ +#define GTK_STYLE_CLASS_TOOLBAR "toolbar" + +/** + * GTK_STYLE_CLASS_PRIMARY_TOOLBAR: + * + * A CSS class to match primary toolbars. + * + * This should be used for the 'main' toolbar of an application, + * right below its menubar. + */ +#define GTK_STYLE_CLASS_PRIMARY_TOOLBAR "primary-toolbar" + +/** + * GTK_STYLE_CLASS_INLINE_TOOLBAR: + * + * A CSS class to match inline toolbars. + * + * This should be used for toolbars that are used to hold + * actions below lists, as seen e.g. in the left pane of the + * file chooser. + */ +#define GTK_STYLE_CLASS_INLINE_TOOLBAR "inline-toolbar" + +/** + * GTK_STYLE_CLASS_RADIO: + * + * A CSS class to match radio buttons. + * + * This is used in #GtkRadioButton, #GtkRadioMenuItem and + * #GtkCellRendererToggle. + */ +#define GTK_STYLE_CLASS_RADIO "radio" + +/** + * GTK_STYLE_CLASS_CHECK: + * + * A CSS class to match check boxes. + * + * This is used in #GtkCheckButton, #GtkCheckMenuItem and + * #GtkCellRendererToggle. + */ +#define GTK_STYLE_CLASS_CHECK "check" + +/** + * GTK_STYLE_CLASS_DEFAULT: + * + * A CSS class to match the default widget. + * + * This is used by #GtkButton. + */ +#define GTK_STYLE_CLASS_DEFAULT "default" + +/** + * GTK_STYLE_CLASS_TROUGH: + * + * A CSS class to match troughs, as in scrollbars and progressbars. + * + * This is used in #GtkRange and its subclasses, #GtkProgressBar + * and #GtkSwitch. + */ +#define GTK_STYLE_CLASS_TROUGH "trough" + +/** + * GTK_STYLE_CLASS_SCROLLBAR: + * + * A CSS class to match scrollbars. + */ +#define GTK_STYLE_CLASS_SCROLLBAR "scrollbar" + +/** + * GTK_STYLE_CLASS_SCROLLBARS_JUNCTION: + * + * A CSS class to match the junction area between an horizontal + * and vertical scrollbar, when they're both shown. + * + * This is used in #GtkScrolledWindow. + */ +#define GTK_STYLE_CLASS_SCROLLBARS_JUNCTION "scrollbars-junction" + +/** + * GTK_STYLE_CLASS_SCALE: + * + * A CSS class to match scale widgets. + * + * This is used in #GtkScale. + */ +#define GTK_STYLE_CLASS_SCALE "scale" + +/** + * GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE: + * + * A CSS class to match scale widgets with marks attached, + * all the marks are above for horizontal #GtkScale. + * left for vertical #GtkScale. + */ +#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE "scale-has-marks-above" + +/** + * GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW: + * + * A CSS class to match scale widgets with marks attached, + * all the marks are below for horizontal #GtkScale, + * right for vertical #GtkScale. + */ +#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW "scale-has-marks-below" + +/** + * GTK_STYLE_CLASS_HEADER: + * + * A CSS class to match a header element. + * + * This is used for the header in #GtkCalendar. + */ +#define GTK_STYLE_CLASS_HEADER "header" + +/** + * GTK_STYLE_CLASS_ACCELERATOR: + * + * A CSS class to match an accelerator. + * + * This is used for the accelerator in #GtkAccelLabel. + */ +#define GTK_STYLE_CLASS_ACCELERATOR "accelerator" + +/** + * GTK_STYLE_CLASS_RAISED: + * + * A CSS class to match a raised control, such as a raised + * button on a toolbar. + * + * This should be used in conjunction with #GTK_STYLE_CLASS_PRIMARY_TOOLBAR. + */ +#define GTK_STYLE_CLASS_RAISED "raised" + +/** + * GTK_STYLE_CLASS_LINKED: + * + * A CSS class to match a linked area, such as a box containing buttons + * belonging to the same control. + */ +#define GTK_STYLE_CLASS_LINKED "linked" + +/** + * GTK_STYLE_CLASS_GRIP: + * + * A CSS class defining a resize grip. + * + * This is used for the resize grip in #GtkWindow. + */ +#define GTK_STYLE_CLASS_GRIP "grip" + +/** + * GTK_STYLE_CLASS_DOCK: + * + * A CSS class defining a dock area. + * + * This is used by #GtkHandleBox. + */ +#define GTK_STYLE_CLASS_DOCK "dock" + +/** + * GTK_STYLE_CLASS_PROGRESSBAR: + * + * A CSS class to use when rendering activity as a progressbar. + * + * This is used in #GtkProgressBar and when drawing progress + * inside a #GtkEntry or in #GtkCellRendererProgress. + */ +#define GTK_STYLE_CLASS_PROGRESSBAR "progressbar" + +/** + * GTK_STYLE_CLASS_SPINNER: + * + * A CSS class to use when rendering activity as a 'spinner'. + * + * This is used by #GtkSpinner and #GtkCellRendererSpinner. + */ +#define GTK_STYLE_CLASS_SPINNER "spinner" + +/** + * GTK_STYLE_CLASS_MARK: + * + * A CSS class defining marks in a widget, such as in scales. + * + * Used in #GtkScale. + */ +#define GTK_STYLE_CLASS_MARK "mark" + +/** + * GTK_STYLE_CLASS_EXPANDER: + * + * A CSS class defining an expander, such as those in treeviews. + * + * Used for drawing expanders in #GtkTreeView, GtkExpander and + * #GtkToolItemGroup. + */ +#define GTK_STYLE_CLASS_EXPANDER "expander" + +/** + * GTK_STYLE_CLASS_SPINBUTTON: + * + * A CSS class defining an spinbutton. + * + * This is used in #GtkSpinButton. + */ +#define GTK_STYLE_CLASS_SPINBUTTON "spinbutton" + +/** + * GTK_STYLE_CLASS_NOTEBOOK: + * + * A CSS class defining a notebook. + * + * Used in #GtkNotebook. + */ +#define GTK_STYLE_CLASS_NOTEBOOK "notebook" + +/** + * GTK_STYLE_CLASS_VIEW: + * + * A CSS class defining a view, such as iconviews or treeviews. + * + * This is used in #GtkTreeView, #GtkIconView, #GtkTextView, + * as well as #GtkCalendar. + */ +#define GTK_STYLE_CLASS_VIEW "view" + +/** + * GTK_STYLE_CLASS_SIDEBAR: + * + * A CSS class defining a sidebar, such as the left side in + * a file chooser. + * + * This is used in #GtkFileChooser and in #GtkAssistant. + */ +#define GTK_STYLE_CLASS_SIDEBAR "sidebar" + +/** + * GTK_STYLE_CLASS_IMAGE: + * + * A CSS class defining an image, such as the icon in an entry. + * + * This is used when rendering icons in #GtkEntry. + */ +#define GTK_STYLE_CLASS_IMAGE "image" + +/** + * GTK_STYLE_CLASS_HIGHLIGHT: + * + * A CSS class defining a highlighted area, such as headings in + * assistants and calendars. + * + * This is used in #GtkAssistant and #GtkCalendar. + */ +#define GTK_STYLE_CLASS_HIGHLIGHT "highlight" + +/** + * GTK_STYLE_CLASS_FRAME: + * + * A CSS class defining a frame delimiting content, such as + * #GtkFrame or the scrolled window frame around the + * scrollable area. + * + * This is used in #GtkFrame and #GtkScrollbar. + */ +#define GTK_STYLE_CLASS_FRAME "frame" + +/** + * GTK_STYLE_CLASS_DND: + * + * A CSS class for a drag-and-drop indicator. + * + * This is used when drawing an outline around a potential + * drop target during DND. + */ +#define GTK_STYLE_CLASS_DND "dnd" + +/** + * GTK_STYLE_CLASS_PANE_SEPARATOR: + * + * A CSS class for a pane separator, such as those in #GtkPaned. + * + * Used in #GtkPaned. + */ +#define GTK_STYLE_CLASS_PANE_SEPARATOR "pane-separator" + +/** + * GTK_STYLE_CLASS_SEPARATOR: + * + * A CSS class for a separator. + * + * This is used in #GtkSeparator, #GtkSeparatorMenuItem, + * #GtkSeparatorToolItem, and when drawing separators in #GtkTreeView. + */ +#define GTK_STYLE_CLASS_SEPARATOR "separator" + +/** + * GTK_STYLE_CLASS_INFO: + * + * A CSS class for an area displaying an informational message, + * such as those in infobars. + * + * This is used by #GtkInfoBar. + */ +#define GTK_STYLE_CLASS_INFO "info" + +/** + * GTK_STYLE_CLASS_WARNING: + * + * A CSS class for an area displaying a warning message, + * such as those in infobars. + * + * This is used by #GtkInfoBar. + */ +#define GTK_STYLE_CLASS_WARNING "warning" + +/** + * GTK_STYLE_CLASS_QUESTION: + * + * A CSS class for an area displaying a question to the user, + * such as those in infobars. + * + * This is used by #GtkInfoBar. + */ +#define GTK_STYLE_CLASS_QUESTION "question" + +/** + * GTK_STYLE_CLASS_ERROR: + * + * A CSS class for an area displaying an error message, + * such as those in infobars. + * + * This is used by #GtkInfoBar. + */ +#define GTK_STYLE_CLASS_ERROR "error" + +/** + * GTK_STYLE_CLASS_HORIZONTAL: + * + * A CSS class for horizontally layered widgets. + * + * This is used by widgets implementing #GtkOrientable. + */ +#define GTK_STYLE_CLASS_HORIZONTAL "horizontal" + +/** + * GTK_STYLE_CLASS_VERTICAL: + * + * A CSS class for vertically layered widgets. + * + * This is used by widgets implementing #GtkOrientable. + */ +#define GTK_STYLE_CLASS_VERTICAL "vertical" + +/** + * GTK_STYLE_CLASS_TOP: + * + * A CSS class to indicate an area at the top of a widget. + * + * This is used by widgets that can render an area in different + * positions, such as tabs in a #GtkNotebook. + */ +#define GTK_STYLE_CLASS_TOP "top" + +/** + * GTK_STYLE_CLASS_BOTTOM: + * + * A CSS class to indicate an area at the bottom of a widget. + * + * This is used by widgets that can render an area in different + * positions, such as tabs in a #GtkNotebook. + */ +#define GTK_STYLE_CLASS_BOTTOM "bottom" + +/** + * GTK_STYLE_CLASS_LEFT: + * + * A CSS class to indicate an area at the left of a widget. + * + * This is used by widgets that can render an area in different + * positions, such as tabs in a #GtkNotebook. + */ +#define GTK_STYLE_CLASS_LEFT "left" + +/** + * GTK_STYLE_CLASS_RIGHT: + * + * A CSS class to indicate an area at the right of a widget. + * + * This is used by widgets that can render an area in different + * positions, such as tabs in a #GtkNotebook. + */ +#define GTK_STYLE_CLASS_RIGHT "right" + +/** + * GTK_STYLE_CLASS_PULSE: + * + * A CSS class to use when rendering a pulse in an indeterminate progress bar. + * + * This is used by #GtkProgressBar and #GtkEntry. + */ +#define GTK_STYLE_CLASS_PULSE "pulse" + +/** + * GTK_STYLE_CLASS_ARROW: + * + * A CSS class used when rendering an arrow element. + * + * Note that #gtk_render_arrow automatically adds this style class + * to the style context when rendering an arrow element. + */ +#define GTK_STYLE_CLASS_ARROW "arrow" + +/** + * GTK_STYLE_CLASS_OSD: + * + * A CSS class used when rendering an OSD (On Screen Display) element, + * on top of another container. + */ +#define GTK_STYLE_CLASS_OSD "osd" + +/* Predefined set of widget regions */ + +/** + * GTK_STYLE_REGION_ROW: + * + * A widget region name to define a treeview row. + */ +#define GTK_STYLE_REGION_ROW "row" + +/** + * GTK_STYLE_REGION_COLUMN: + * + * A widget region name to define a treeview column. + */ +#define GTK_STYLE_REGION_COLUMN "column" + +/** + * GTK_STYLE_REGION_COLUMN_HEADER: + * + * A widget region name to define a treeview column header. + */ +#define GTK_STYLE_REGION_COLUMN_HEADER "column-header" + +/** + * GTK_STYLE_REGION_TAB: + * + * A widget region name to define a notebook tab. + */ +#define GTK_STYLE_REGION_TAB "tab" + +GType gtk_style_context_get_type (void) G_GNUC_CONST; + +GtkStyleContext * gtk_style_context_new (void); + +void gtk_style_context_add_provider_for_screen (GdkScreen *screen, + GtkStyleProvider *provider, + guint priority); +void gtk_style_context_remove_provider_for_screen (GdkScreen *screen, + GtkStyleProvider *provider); + +void gtk_style_context_add_provider (GtkStyleContext *context, + GtkStyleProvider *provider, + guint priority); + +void gtk_style_context_remove_provider (GtkStyleContext *context, + GtkStyleProvider *provider); + +void gtk_style_context_save (GtkStyleContext *context); +void gtk_style_context_restore (GtkStyleContext *context); + +GtkCssSection * gtk_style_context_get_section (GtkStyleContext *context, + const gchar *property); +void gtk_style_context_get_property (GtkStyleContext *context, + const gchar *property, + GtkStateFlags state, + GValue *value); +void gtk_style_context_get_valist (GtkStyleContext *context, + GtkStateFlags state, + va_list args); +void gtk_style_context_get (GtkStyleContext *context, + GtkStateFlags state, + ...) G_GNUC_NULL_TERMINATED; + +void gtk_style_context_set_state (GtkStyleContext *context, + GtkStateFlags flags); +GtkStateFlags gtk_style_context_get_state (GtkStyleContext *context); + +GDK_DEPRECATED_IN_3_6 +gboolean gtk_style_context_state_is_running (GtkStyleContext *context, + GtkStateType state, + gdouble *progress); + +void gtk_style_context_set_path (GtkStyleContext *context, + GtkWidgetPath *path); +const GtkWidgetPath * gtk_style_context_get_path (GtkStyleContext *context); +GDK_AVAILABLE_IN_3_4 +void gtk_style_context_set_parent (GtkStyleContext *context, + GtkStyleContext *parent); +GtkStyleContext *gtk_style_context_get_parent (GtkStyleContext *context); + +GList * gtk_style_context_list_classes (GtkStyleContext *context); + +void gtk_style_context_add_class (GtkStyleContext *context, + const gchar *class_name); +void gtk_style_context_remove_class (GtkStyleContext *context, + const gchar *class_name); +gboolean gtk_style_context_has_class (GtkStyleContext *context, + const gchar *class_name); + +GList * gtk_style_context_list_regions (GtkStyleContext *context); + +void gtk_style_context_add_region (GtkStyleContext *context, + const gchar *region_name, + GtkRegionFlags flags); +void gtk_style_context_remove_region (GtkStyleContext *context, + const gchar *region_name); +gboolean gtk_style_context_has_region (GtkStyleContext *context, + const gchar *region_name, + GtkRegionFlags *flags_return); + +void gtk_style_context_get_style_property (GtkStyleContext *context, + const gchar *property_name, + GValue *value); +void gtk_style_context_get_style_valist (GtkStyleContext *context, + va_list args); +void gtk_style_context_get_style (GtkStyleContext *context, + ...); + +GtkIconSet * gtk_style_context_lookup_icon_set (GtkStyleContext *context, + const gchar *stock_id); +GdkPixbuf * gtk_icon_set_render_icon_pixbuf (GtkIconSet *icon_set, + GtkStyleContext *context, + GtkIconSize size); + +void gtk_style_context_set_screen (GtkStyleContext *context, + GdkScreen *screen); +GdkScreen * gtk_style_context_get_screen (GtkStyleContext *context); + +void gtk_style_context_set_direction (GtkStyleContext *context, + GtkTextDirection direction); +GtkTextDirection gtk_style_context_get_direction (GtkStyleContext *context); + +void gtk_style_context_set_junction_sides (GtkStyleContext *context, + GtkJunctionSides sides); +GtkJunctionSides gtk_style_context_get_junction_sides (GtkStyleContext *context); + +gboolean gtk_style_context_lookup_color (GtkStyleContext *context, + const gchar *color_name, + GdkRGBA *color); + +GDK_DEPRECATED_IN_3_6 +void gtk_style_context_notify_state_change (GtkStyleContext *context, + GdkWindow *window, + gpointer region_id, + GtkStateType state, + gboolean state_value); +GDK_DEPRECATED_IN_3_6 +void gtk_style_context_cancel_animations (GtkStyleContext *context, + gpointer region_id); +GDK_DEPRECATED_IN_3_6 +void gtk_style_context_scroll_animations (GtkStyleContext *context, + GdkWindow *window, + gint dx, + gint dy); + +GDK_DEPRECATED_IN_3_6 +void gtk_style_context_push_animatable_region (GtkStyleContext *context, + gpointer region_id); +GDK_DEPRECATED_IN_3_6 +void gtk_style_context_pop_animatable_region (GtkStyleContext *context); + +/* Some helper functions to retrieve most common properties */ +void gtk_style_context_get_color (GtkStyleContext *context, + GtkStateFlags state, + GdkRGBA *color); +void gtk_style_context_get_background_color (GtkStyleContext *context, + GtkStateFlags state, + GdkRGBA *color); +void gtk_style_context_get_border_color (GtkStyleContext *context, + GtkStateFlags state, + GdkRGBA *color); +const PangoFontDescription * + gtk_style_context_get_font (GtkStyleContext *context, + GtkStateFlags state); +void gtk_style_context_get_border (GtkStyleContext *context, + GtkStateFlags state, + GtkBorder *border); +void gtk_style_context_get_padding (GtkStyleContext *context, + GtkStateFlags state, + GtkBorder *padding); +void gtk_style_context_get_margin (GtkStyleContext *context, + GtkStateFlags state, + GtkBorder *margin); + +void gtk_style_context_invalidate (GtkStyleContext *context); +void gtk_style_context_reset_widgets (GdkScreen *screen); + +void gtk_style_context_set_background (GtkStyleContext *context, + GdkWindow *window); + +/* Paint methods */ +void gtk_render_check (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); +void gtk_render_option (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); +void gtk_render_arrow (GtkStyleContext *context, + cairo_t *cr, + gdouble angle, + gdouble x, + gdouble y, + gdouble size); +void gtk_render_background (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); +void gtk_render_frame (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); +void gtk_render_expander (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); +void gtk_render_focus (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); +void gtk_render_layout (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + PangoLayout *layout); +void gtk_render_line (GtkStyleContext *context, + cairo_t *cr, + gdouble x0, + gdouble y0, + gdouble x1, + gdouble y1); +void gtk_render_slider (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height, + GtkOrientation orientation); +void gtk_render_frame_gap (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height, + GtkPositionType gap_side, + gdouble xy0_gap, + gdouble xy1_gap); +void gtk_render_extension (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height, + GtkPositionType gap_side); +void gtk_render_handle (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); +void gtk_render_activity (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); +GdkPixbuf * gtk_render_icon_pixbuf (GtkStyleContext *context, + const GtkIconSource *source, + GtkIconSize size); +GDK_AVAILABLE_IN_3_2 +void gtk_render_icon (GtkStyleContext *context, + cairo_t *cr, + GdkPixbuf *pixbuf, + gdouble x, + gdouble y); +GDK_AVAILABLE_IN_3_4 +void gtk_render_insertion_cursor + (GtkStyleContext *context, + cairo_t *cr, + gdouble x, + gdouble y, + PangoLayout *layout, + int index, + PangoDirection direction); +GDK_DEPRECATED_IN_3_4 +void gtk_draw_insertion_cursor (GtkWidget *widget, + cairo_t *cr, + const GdkRectangle *location, + gboolean is_primary, + GtkTextDirection direction, + gboolean draw_arrow); + +/* Accessibility support */ +AtkAttributeSet *_gtk_style_context_get_attributes (AtkAttributeSet *attributes, + GtkStyleContext *context, + GtkStateFlags flags); + +G_END_DECLS + +#endif /* __GTK_STYLE_CONTEXT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkstyleproperties.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkstyleproperties.h new file mode 100644 index 0000000..cf644d9 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkstyleproperties.h @@ -0,0 +1,117 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Carlos Garnacho + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_STYLE_PROPERTIES_H__ +#define __GTK_STYLE_PROPERTIES_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_STYLE_PROPERTIES (gtk_style_properties_get_type ()) +#define GTK_STYLE_PROPERTIES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_STYLE_PROPERTIES, GtkStyleProperties)) +#define GTK_STYLE_PROPERTIES_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_STYLE_PROPERTIES, GtkStylePropertiesClass)) +#define GTK_IS_STYLE_PROPERTIES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STYLE_PROPERTIES)) +#define GTK_IS_STYLE_PROPERTIES_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_STYLE_PROPERTIES)) +#define GTK_STYLE_PROPERTIES_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_STYLE_PROPERTIES, GtkStylePropertiesClass)) + +typedef struct _GtkStyleProperties GtkStyleProperties; +typedef struct _GtkStylePropertiesClass GtkStylePropertiesClass; +typedef struct _GtkStylePropertiesPrivate GtkStylePropertiesPrivate; + +typedef struct _GtkSymbolicColor GtkSymbolicColor; +typedef struct _GtkGradient GtkGradient; + +struct _GtkStyleProperties +{ + GObject parent_object; + GtkStylePropertiesPrivate *priv; +}; + +struct _GtkStylePropertiesClass +{ + GObjectClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +typedef gboolean (* GtkStylePropertyParser) (const gchar *string, + GValue *value, + GError **error); + +GType gtk_style_properties_get_type (void) G_GNUC_CONST; + +/* Next 2 are implemented in gtkcsscustomproperty.c */ +void gtk_style_properties_register_property (GtkStylePropertyParser parse_func, + GParamSpec *pspec); +gboolean gtk_style_properties_lookup_property (const gchar *property_name, + GtkStylePropertyParser *parse_func, + GParamSpec **pspec); + +GtkStyleProperties * gtk_style_properties_new (void); + +void gtk_style_properties_map_color (GtkStyleProperties *props, + const gchar *name, + GtkSymbolicColor *color); +GtkSymbolicColor * gtk_style_properties_lookup_color (GtkStyleProperties *props, + const gchar *name); + +void gtk_style_properties_set_property (GtkStyleProperties *props, + const gchar *property, + GtkStateFlags state, + const GValue *value); +void gtk_style_properties_set_valist (GtkStyleProperties *props, + GtkStateFlags state, + va_list args); +void gtk_style_properties_set (GtkStyleProperties *props, + GtkStateFlags state, + ...) G_GNUC_NULL_TERMINATED; + +gboolean gtk_style_properties_get_property (GtkStyleProperties *props, + const gchar *property, + GtkStateFlags state, + GValue *value); +void gtk_style_properties_get_valist (GtkStyleProperties *props, + GtkStateFlags state, + va_list args); +void gtk_style_properties_get (GtkStyleProperties *props, + GtkStateFlags state, + ...) G_GNUC_NULL_TERMINATED; + +void gtk_style_properties_unset_property (GtkStyleProperties *props, + const gchar *property, + GtkStateFlags state); + +void gtk_style_properties_clear (GtkStyleProperties *props); + +void gtk_style_properties_merge (GtkStyleProperties *props, + const GtkStyleProperties *props_to_merge, + gboolean replace); + +G_END_DECLS + +#endif /* __GTK_STYLE_PROPERTIES_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkstyleprovider.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkstyleprovider.h new file mode 100644 index 0000000..62b3aeb --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkstyleprovider.h @@ -0,0 +1,126 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Carlos Garnacho + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_STYLE_PROVIDER_H__ +#define __GTK_STYLE_PROVIDER_H__ + +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_STYLE_PROVIDER (gtk_style_provider_get_type ()) +#define GTK_STYLE_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_STYLE_PROVIDER, GtkStyleProvider)) +#define GTK_IS_STYLE_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STYLE_PROVIDER)) +#define GTK_STYLE_PROVIDER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GTK_TYPE_STYLE_PROVIDER, GtkStyleProviderIface)) + +/** + * GTK_STYLE_PROVIDER_PRIORITY_FALLBACK: + * + * The priority used for default style information + * that is used in the absence of themes. + */ +#define GTK_STYLE_PROVIDER_PRIORITY_FALLBACK 1 + +/** + * GTK_STYLE_PROVIDER_PRIORITY_THEME: + * + * The priority used for style information provided + * by themes. + */ +#define GTK_STYLE_PROVIDER_PRIORITY_THEME 200 + +/** + * GTK_STYLE_PROVIDER_PRIORITY_SETTINGS: + * + * The priority used for style information provided + * via #GtkSettings. + * + * This priority is higher than #GTK_STYLE_PROVIDER_PRIORITY_THEME + * to let settings override themes. + */ +#define GTK_STYLE_PROVIDER_PRIORITY_SETTINGS 400 + +/** + * GTK_STYLE_PROVIDER_PRIORITY_APPLICATION: + * + * A priority that can be used when adding a #GtkStyleProvider + * for application-specific style information. + */ +#define GTK_STYLE_PROVIDER_PRIORITY_APPLICATION 600 + +/** + * GTK_STYLE_PROVIDER_PRIORITY_USER: + * + * The priority used for the style information from + * ~/.gtk-3.0.css. + * + * You should not use priorities higher than this, to + * give the user the last word. + */ +#define GTK_STYLE_PROVIDER_PRIORITY_USER 800 + +typedef struct _GtkStyleProviderIface GtkStyleProviderIface; +typedef struct _GtkStyleProvider GtkStyleProvider; /* dummy typedef */ + +/** + * GtkStyleProviderIface: + * @get_style: Gets a set of style information that applies to a widget path. + * @get_style_property: Gets the value of a widget style property that applies to a widget path. + * @get_icon_factory: Gets the icon factory that applies to a widget path. + */ +struct _GtkStyleProviderIface +{ + GTypeInterface g_iface; + + GtkStyleProperties * (* get_style) (GtkStyleProvider *provider, + GtkWidgetPath *path); + + gboolean (* get_style_property) (GtkStyleProvider *provider, + GtkWidgetPath *path, + GtkStateFlags state, + GParamSpec *pspec, + GValue *value); + + GtkIconFactory * (* get_icon_factory) (GtkStyleProvider *provider, + GtkWidgetPath *path); +}; + +GType gtk_style_provider_get_type (void) G_GNUC_CONST; + +GtkStyleProperties *gtk_style_provider_get_style (GtkStyleProvider *provider, + GtkWidgetPath *path); + +gboolean gtk_style_provider_get_style_property (GtkStyleProvider *provider, + GtkWidgetPath *path, + GtkStateFlags state, + GParamSpec *pspec, + GValue *value); + +GtkIconFactory * gtk_style_provider_get_icon_factory (GtkStyleProvider *provider, + GtkWidgetPath *path); + +G_END_DECLS + +#endif /* __GTK_STYLE_PROVIDER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkswitch.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkswitch.h new file mode 100644 index 0000000..d288cc2 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkswitch.h @@ -0,0 +1,93 @@ +/* GTK - The GIMP Toolkit + * + * Copyright (C) 2010 Intel Corporation + * Copyright (C) 2010 RedHat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Author: + * Emmanuele Bassi + * Matthias Clasen + * + * Based on similar code from Mx. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SWITCH_H__ +#define __GTK_SWITCH_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_SWITCH (gtk_switch_get_type ()) +#define GTK_SWITCH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SWITCH, GtkSwitch)) +#define GTK_IS_SWITCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SWITCH)) +#define GTK_SWITCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SWITCH, GtkSwitchClass)) +#define GTK_IS_SWITCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SWITCH)) +#define GTK_SWITCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SWITCH, GtkSwitchClass)) + +typedef struct _GtkSwitch GtkSwitch; +typedef struct _GtkSwitchPrivate GtkSwitchPrivate; +typedef struct _GtkSwitchClass GtkSwitchClass; + +/** + * GtkSwitch: + * + * The GtkSwitch structure contains private + * data and it should only be accessed using the provided API. + */ +struct _GtkSwitch +{ + /*< private >*/ + GtkWidget parent_instance; + + GtkSwitchPrivate *priv; +}; + +/** + * GtkSwitchClass: + * + * The GtkSwitchClass structure contains only + * private data. + */ +struct _GtkSwitchClass +{ + /*< private >*/ + GtkWidgetClass parent_class; + + void (* activate) (GtkSwitch *sw); + + void (* _switch_padding_1) (void); + void (* _switch_padding_2) (void); + void (* _switch_padding_3) (void); + void (* _switch_padding_4) (void); + void (* _switch_padding_5) (void); + void (* _switch_padding_6) (void); +}; + +GType gtk_switch_get_type (void) G_GNUC_CONST; + +GtkWidget * gtk_switch_new (void); + +void gtk_switch_set_active (GtkSwitch *sw, + gboolean is_active); +gboolean gtk_switch_get_active (GtkSwitch *sw); + +G_END_DECLS + +#endif /* __GTK_SWITCH_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtksymboliccolor.h b/gtk+-mingw/include/gtk-3.0/gtk/gtksymboliccolor.h new file mode 100644 index 0000000..ee0c55e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtksymboliccolor.h @@ -0,0 +1,57 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Carlos Garnacho + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_SYMBOLIC_COLOR_H__ +#define __GTK_SYMBOLIC_COLOR_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_SYMBOLIC_COLOR (gtk_symbolic_color_get_type ()) + +GType gtk_symbolic_color_get_type (void) G_GNUC_CONST; + +GtkSymbolicColor * gtk_symbolic_color_new_literal (const GdkRGBA *color); +GtkSymbolicColor * gtk_symbolic_color_new_name (const gchar *name); +GtkSymbolicColor * gtk_symbolic_color_new_shade (GtkSymbolicColor *color, + gdouble factor); +GtkSymbolicColor * gtk_symbolic_color_new_alpha (GtkSymbolicColor *color, + gdouble factor); +GtkSymbolicColor * gtk_symbolic_color_new_mix (GtkSymbolicColor *color1, + GtkSymbolicColor *color2, + gdouble factor); +GtkSymbolicColor * gtk_symbolic_color_new_win32 (const gchar *theme_class, + gint id); + +GtkSymbolicColor * gtk_symbolic_color_ref (GtkSymbolicColor *color); +void gtk_symbolic_color_unref (GtkSymbolicColor *color); + +char * gtk_symbolic_color_to_string (GtkSymbolicColor *color); + +gboolean gtk_symbolic_color_resolve (GtkSymbolicColor *color, + GtkStyleProperties *props, + GdkRGBA *resolved_color); + +G_END_DECLS + +#endif /* __GTK_SYMBOLIC_COLOR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktestutils.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktestutils.h new file mode 100644 index 0000000..207fefd --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktestutils.h @@ -0,0 +1,72 @@ +/* Gtk+ testing utilities + * Copyright (C) 2007 Imendio AB + * Authors: Tim Janik + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEST_UTILS_H__ +#define __GTK_TEST_UTILS_H__ + +#include +#include + +G_BEGIN_DECLS + +/* --- Gtk+ Test Utility API --- */ +void gtk_test_init (int *argcp, + char ***argvp, + ...); +void gtk_test_register_all_types (void); +const GType* gtk_test_list_all_types (guint *n_types); +GtkWidget* gtk_test_find_widget (GtkWidget *widget, + const gchar *label_pattern, + GType widget_type); +GtkWidget* gtk_test_create_widget (GType widget_type, + const gchar *first_property_name, + ...); +GtkWidget* gtk_test_create_simple_window (const gchar *window_title, + const gchar *dialog_text); +GtkWidget* gtk_test_display_button_window (const gchar *window_title, + const gchar *dialog_text, + ...); /* NULL terminated list of (label, &int) pairs */ +void gtk_test_slider_set_perc (GtkWidget *widget, /* GtkRange-alike */ + double percentage); +double gtk_test_slider_get_value (GtkWidget *widget); +gboolean gtk_test_spin_button_click (GtkSpinButton *spinner, + guint button, + gboolean upwards); +gboolean gtk_test_widget_click (GtkWidget *widget, + guint button, + GdkModifierType modifiers); +gboolean gtk_test_widget_send_key (GtkWidget *widget, + guint keyval, + GdkModifierType modifiers); +/* operate on GtkEntry, GtkText, GtkTextView or GtkLabel */ +void gtk_test_text_set (GtkWidget *widget, + const gchar *string); +gchar* gtk_test_text_get (GtkWidget *widget); + +/* --- Gtk+ Test low-level API --- */ +GtkWidget* gtk_test_find_sibling (GtkWidget *base_widget, + GType widget_type); +GtkWidget* gtk_test_find_label (GtkWidget *widget, + const gchar *label_pattern); +G_END_DECLS + +#endif /* __GTK_TEST_UTILS_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktextattributes.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktextattributes.h new file mode 100644 index 0000000..d07a2ee --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktextattributes.h @@ -0,0 +1,180 @@ +/* gtktexttag.c - text tag object + * + * Copyright (c) 1992-1994 The Regents of the University of California. + * Copyright (c) 1994-1997 Sun Microsystems, Inc. + * Copyright (c) 2000 Red Hat, Inc. + * Tk -> Gtk port by Havoc Pennington + * + * This software is copyrighted by the Regents of the University of + * California, Sun Microsystems, Inc., and other parties. The + * following terms apply to all files associated with the software + * unless explicitly disclaimed in individual files. + * + * The authors hereby grant permission to use, copy, modify, + * distribute, and license this software and its documentation for any + * purpose, provided that existing copyright notices are retained in + * all copies and that this notice is included verbatim in any + * distributions. No written agreement, license, or royalty fee is + * required for any of the authorized uses. Modifications to this + * software may be copyrighted by their authors and need not follow + * the licensing terms described here, provided that the new terms are + * clearly indicated on the first page of each file where they apply. + * + * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY + * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL + * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, + * OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND + * NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, + * AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE + * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + * GOVERNMENT USE: If you are acquiring this software on behalf of the + * U.S. government, the Government shall have only "Restricted Rights" + * in the software and related documentation as defined in the Federal + * Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + * are acquiring the software on behalf of the Department of Defense, + * the software shall be classified as "Commercial Computer Software" + * and the Government shall have only "Restricted Rights" as defined + * in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the + * foregoing, the authors grant the U.S. Government and others acting + * in its behalf permission to use and distribute the software in + * accordance with the terms specified in this license. + * + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEXT_ATTRIBUTES_H__ +#define __GTK_TEXT_ATTRIBUTES_H__ + + +#include +#include + + +G_BEGIN_DECLS + +typedef struct _GtkTextAttributes GtkTextAttributes; + +#define GTK_TYPE_TEXT_ATTRIBUTES (gtk_text_attributes_get_type ()) + +typedef struct _GtkTextAppearance GtkTextAppearance; + +/** + * GtkTextAttributes: + * + * Using #GtkTextAttributes directly should rarely be necessary. + * It's primarily useful with gtk_text_iter_get_attributes(). + * As with most GTK+ structs, the fields in this struct should only + * be read, never modified directly. + */ +struct _GtkTextAppearance +{ + /*< public >*/ + GdkColor bg_color; + GdkColor fg_color; + + /* super/subscript rise, can be negative */ + gint rise; + + /*< public >*/ + guint underline : 4; /* PangoUnderline */ + guint strikethrough : 1; + + /* Whether to use background-related values; this is irrelevant for + * the values struct when in a tag, but is used for the composite + * values struct; it's true if any of the tags being composited + * had background stuff set. + */ + guint draw_bg : 1; + + /* These are only used when we are actually laying out and rendering + * a paragraph; not when a GtkTextAppearance is part of a + * GtkTextAttributes. + */ + guint inside_selection : 1; + guint is_text : 1; + + GdkRGBA *rgba[2]; + +#if (defined(__SIZEOF_INT__) && defined(__SIZEOF_POINTER__)) && (__SIZEOF_INT__ == __SIZEOF_POINTER__) + /* unusable, just for ABI compat */ + guint padding[2]; +#endif +}; + +struct _GtkTextAttributes +{ + /*< private >*/ + guint refcount; + + /*< public >*/ + GtkTextAppearance appearance; + + GtkJustification justification; + GtkTextDirection direction; + + /* Individual chunks of this can be set/unset as a group */ + PangoFontDescription *font; + + gdouble font_scale; + + gint left_margin; + gint right_margin; + gint indent; + + gint pixels_above_lines; + gint pixels_below_lines; + gint pixels_inside_wrap; + + PangoTabArray *tabs; + + GtkWrapMode wrap_mode; /* How to handle wrap-around for this tag. + * Must be GTK_WRAPMODE_CHAR, + * GTK_WRAPMODE_NONE, GTK_WRAPMODE_WORD + */ + + PangoLanguage *language; + + /*< private >*/ + GdkColor *pg_bg_color; + + /*< public >*/ + /* hide the text */ + guint invisible : 1; + + /* Background is fit to full line height rather than + * baseline +/- ascent/descent (font height) + */ + guint bg_full_height : 1; + + /* can edit this text */ + guint editable : 1; + + /*< private >*/ + GdkRGBA *pg_bg_rgba; + + guint padding[3]; +}; + +GtkTextAttributes* gtk_text_attributes_new (void); +GtkTextAttributes* gtk_text_attributes_copy (GtkTextAttributes *src); +void gtk_text_attributes_copy_values (GtkTextAttributes *src, + GtkTextAttributes *dest); +void gtk_text_attributes_unref (GtkTextAttributes *values); +GtkTextAttributes *gtk_text_attributes_ref (GtkTextAttributes *values); + +GType gtk_text_attributes_get_type (void) G_GNUC_CONST; + + +G_END_DECLS + +#endif + diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktextbuffer.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktextbuffer.h new file mode 100644 index 0000000..9255155 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktextbuffer.h @@ -0,0 +1,408 @@ +/* GTK - The GIMP Toolkit + * gtktextbuffer.h Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEXT_BUFFER_H__ +#define __GTK_TEXT_BUFFER_H__ + +#include +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +/* + * This is the PUBLIC representation of a text buffer. + * GtkTextBTree is the PRIVATE internal representation of it. + */ + +/* these values are used as "info" for the targets contained in the + * lists returned by gtk_text_buffer_get_copy,paste_target_list() + * + * the enum counts down from G_MAXUINT to avoid clashes with application + * added drag destinations which usually start at 0. + */ +typedef enum +{ + GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = - 1, + GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT = - 2, + GTK_TEXT_BUFFER_TARGET_INFO_TEXT = - 3 +} GtkTextBufferTargetInfo; + +typedef struct _GtkTextBTree GtkTextBTree; + +#define GTK_TYPE_TEXT_BUFFER (gtk_text_buffer_get_type ()) +#define GTK_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_BUFFER, GtkTextBuffer)) +#define GTK_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_BUFFER, GtkTextBufferClass)) +#define GTK_IS_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_BUFFER)) +#define GTK_IS_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_BUFFER)) +#define GTK_TEXT_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_BUFFER, GtkTextBufferClass)) + +typedef struct _GtkTextBufferPrivate GtkTextBufferPrivate; +typedef struct _GtkTextBufferClass GtkTextBufferClass; + +struct _GtkTextBuffer +{ + GObject parent_instance; + + GtkTextBufferPrivate *priv; +}; + +struct _GtkTextBufferClass +{ + GObjectClass parent_class; + + void (* insert_text) (GtkTextBuffer *buffer, + GtkTextIter *pos, + const gchar *new_text, + gint new_text_length); + + void (* insert_pixbuf) (GtkTextBuffer *buffer, + GtkTextIter *iter, + GdkPixbuf *pixbuf); + + void (* insert_child_anchor) (GtkTextBuffer *buffer, + GtkTextIter *iter, + GtkTextChildAnchor *anchor); + + void (* delete_range) (GtkTextBuffer *buffer, + GtkTextIter *start, + GtkTextIter *end); + + /* Only for text/widgets/pixbuf changed, marks/tags don't cause this + * to be emitted + */ + void (* changed) (GtkTextBuffer *buffer); + + + /* New value for the modified flag */ + void (* modified_changed) (GtkTextBuffer *buffer); + + /* Mark moved or created */ + void (* mark_set) (GtkTextBuffer *buffer, + const GtkTextIter *location, + GtkTextMark *mark); + + void (* mark_deleted) (GtkTextBuffer *buffer, + GtkTextMark *mark); + + void (* apply_tag) (GtkTextBuffer *buffer, + GtkTextTag *tag, + const GtkTextIter *start, + const GtkTextIter *end); + + void (* remove_tag) (GtkTextBuffer *buffer, + GtkTextTag *tag, + const GtkTextIter *start, + const GtkTextIter *end); + + /* Called at the start and end of an atomic user action */ + void (* begin_user_action) (GtkTextBuffer *buffer); + void (* end_user_action) (GtkTextBuffer *buffer); + + void (* paste_done) (GtkTextBuffer *buffer, + GtkClipboard *clipboard); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_text_buffer_get_type (void) G_GNUC_CONST; + + + +/* table is NULL to create a new one */ +GtkTextBuffer *gtk_text_buffer_new (GtkTextTagTable *table); +gint gtk_text_buffer_get_line_count (GtkTextBuffer *buffer); +gint gtk_text_buffer_get_char_count (GtkTextBuffer *buffer); + + +GtkTextTagTable* gtk_text_buffer_get_tag_table (GtkTextBuffer *buffer); + +/* Delete whole buffer, then insert */ +void gtk_text_buffer_set_text (GtkTextBuffer *buffer, + const gchar *text, + gint len); + +/* Insert into the buffer */ +void gtk_text_buffer_insert (GtkTextBuffer *buffer, + GtkTextIter *iter, + const gchar *text, + gint len); +void gtk_text_buffer_insert_at_cursor (GtkTextBuffer *buffer, + const gchar *text, + gint len); + +gboolean gtk_text_buffer_insert_interactive (GtkTextBuffer *buffer, + GtkTextIter *iter, + const gchar *text, + gint len, + gboolean default_editable); +gboolean gtk_text_buffer_insert_interactive_at_cursor (GtkTextBuffer *buffer, + const gchar *text, + gint len, + gboolean default_editable); + +void gtk_text_buffer_insert_range (GtkTextBuffer *buffer, + GtkTextIter *iter, + const GtkTextIter *start, + const GtkTextIter *end); +gboolean gtk_text_buffer_insert_range_interactive (GtkTextBuffer *buffer, + GtkTextIter *iter, + const GtkTextIter *start, + const GtkTextIter *end, + gboolean default_editable); + +void gtk_text_buffer_insert_with_tags (GtkTextBuffer *buffer, + GtkTextIter *iter, + const gchar *text, + gint len, + GtkTextTag *first_tag, + ...) G_GNUC_NULL_TERMINATED; + +void gtk_text_buffer_insert_with_tags_by_name (GtkTextBuffer *buffer, + GtkTextIter *iter, + const gchar *text, + gint len, + const gchar *first_tag_name, + ...) G_GNUC_NULL_TERMINATED; + +/* Delete from the buffer */ +void gtk_text_buffer_delete (GtkTextBuffer *buffer, + GtkTextIter *start, + GtkTextIter *end); +gboolean gtk_text_buffer_delete_interactive (GtkTextBuffer *buffer, + GtkTextIter *start_iter, + GtkTextIter *end_iter, + gboolean default_editable); +gboolean gtk_text_buffer_backspace (GtkTextBuffer *buffer, + GtkTextIter *iter, + gboolean interactive, + gboolean default_editable); + +/* Obtain strings from the buffer */ +gchar *gtk_text_buffer_get_text (GtkTextBuffer *buffer, + const GtkTextIter *start, + const GtkTextIter *end, + gboolean include_hidden_chars); + +gchar *gtk_text_buffer_get_slice (GtkTextBuffer *buffer, + const GtkTextIter *start, + const GtkTextIter *end, + gboolean include_hidden_chars); + +/* Insert a pixbuf */ +void gtk_text_buffer_insert_pixbuf (GtkTextBuffer *buffer, + GtkTextIter *iter, + GdkPixbuf *pixbuf); + +/* Insert a child anchor */ +void gtk_text_buffer_insert_child_anchor (GtkTextBuffer *buffer, + GtkTextIter *iter, + GtkTextChildAnchor *anchor); + +/* Convenience, create and insert a child anchor */ +GtkTextChildAnchor *gtk_text_buffer_create_child_anchor (GtkTextBuffer *buffer, + GtkTextIter *iter); + +/* Mark manipulation */ +void gtk_text_buffer_add_mark (GtkTextBuffer *buffer, + GtkTextMark *mark, + const GtkTextIter *where); +GtkTextMark *gtk_text_buffer_create_mark (GtkTextBuffer *buffer, + const gchar *mark_name, + const GtkTextIter *where, + gboolean left_gravity); +void gtk_text_buffer_move_mark (GtkTextBuffer *buffer, + GtkTextMark *mark, + const GtkTextIter *where); +void gtk_text_buffer_delete_mark (GtkTextBuffer *buffer, + GtkTextMark *mark); +GtkTextMark* gtk_text_buffer_get_mark (GtkTextBuffer *buffer, + const gchar *name); + +void gtk_text_buffer_move_mark_by_name (GtkTextBuffer *buffer, + const gchar *name, + const GtkTextIter *where); +void gtk_text_buffer_delete_mark_by_name (GtkTextBuffer *buffer, + const gchar *name); + +GtkTextMark* gtk_text_buffer_get_insert (GtkTextBuffer *buffer); +GtkTextMark* gtk_text_buffer_get_selection_bound (GtkTextBuffer *buffer); + +/* efficiently move insert and selection_bound at the same time */ +void gtk_text_buffer_place_cursor (GtkTextBuffer *buffer, + const GtkTextIter *where); +void gtk_text_buffer_select_range (GtkTextBuffer *buffer, + const GtkTextIter *ins, + const GtkTextIter *bound); + + + +/* Tag manipulation */ +void gtk_text_buffer_apply_tag (GtkTextBuffer *buffer, + GtkTextTag *tag, + const GtkTextIter *start, + const GtkTextIter *end); +void gtk_text_buffer_remove_tag (GtkTextBuffer *buffer, + GtkTextTag *tag, + const GtkTextIter *start, + const GtkTextIter *end); +void gtk_text_buffer_apply_tag_by_name (GtkTextBuffer *buffer, + const gchar *name, + const GtkTextIter *start, + const GtkTextIter *end); +void gtk_text_buffer_remove_tag_by_name (GtkTextBuffer *buffer, + const gchar *name, + const GtkTextIter *start, + const GtkTextIter *end); +void gtk_text_buffer_remove_all_tags (GtkTextBuffer *buffer, + const GtkTextIter *start, + const GtkTextIter *end); + + +/* You can either ignore the return value, or use it to + * set the attributes of the tag. tag_name can be NULL + */ +GtkTextTag *gtk_text_buffer_create_tag (GtkTextBuffer *buffer, + const gchar *tag_name, + const gchar *first_property_name, + ...); + +/* Obtain iterators pointed at various places, then you can move the + * iterator around using the GtkTextIter operators + */ +void gtk_text_buffer_get_iter_at_line_offset (GtkTextBuffer *buffer, + GtkTextIter *iter, + gint line_number, + gint char_offset); +void gtk_text_buffer_get_iter_at_line_index (GtkTextBuffer *buffer, + GtkTextIter *iter, + gint line_number, + gint byte_index); +void gtk_text_buffer_get_iter_at_offset (GtkTextBuffer *buffer, + GtkTextIter *iter, + gint char_offset); +void gtk_text_buffer_get_iter_at_line (GtkTextBuffer *buffer, + GtkTextIter *iter, + gint line_number); +void gtk_text_buffer_get_start_iter (GtkTextBuffer *buffer, + GtkTextIter *iter); +void gtk_text_buffer_get_end_iter (GtkTextBuffer *buffer, + GtkTextIter *iter); +void gtk_text_buffer_get_bounds (GtkTextBuffer *buffer, + GtkTextIter *start, + GtkTextIter *end); +void gtk_text_buffer_get_iter_at_mark (GtkTextBuffer *buffer, + GtkTextIter *iter, + GtkTextMark *mark); + +void gtk_text_buffer_get_iter_at_child_anchor (GtkTextBuffer *buffer, + GtkTextIter *iter, + GtkTextChildAnchor *anchor); + +/* There's no get_first_iter because you just get the iter for + line or char 0 */ + +/* Used to keep track of whether the buffer needs saving; anytime the + buffer contents change, the modified flag is turned on. Whenever + you save, turn it off. Tags and marks do not affect the modified + flag, but if you would like them to you can connect a handler to + the tag/mark signals and call set_modified in your handler */ + +gboolean gtk_text_buffer_get_modified (GtkTextBuffer *buffer); +void gtk_text_buffer_set_modified (GtkTextBuffer *buffer, + gboolean setting); + +gboolean gtk_text_buffer_get_has_selection (GtkTextBuffer *buffer); + +void gtk_text_buffer_add_selection_clipboard (GtkTextBuffer *buffer, + GtkClipboard *clipboard); +void gtk_text_buffer_remove_selection_clipboard (GtkTextBuffer *buffer, + GtkClipboard *clipboard); + +void gtk_text_buffer_cut_clipboard (GtkTextBuffer *buffer, + GtkClipboard *clipboard, + gboolean default_editable); +void gtk_text_buffer_copy_clipboard (GtkTextBuffer *buffer, + GtkClipboard *clipboard); +void gtk_text_buffer_paste_clipboard (GtkTextBuffer *buffer, + GtkClipboard *clipboard, + GtkTextIter *override_location, + gboolean default_editable); + +gboolean gtk_text_buffer_get_selection_bounds (GtkTextBuffer *buffer, + GtkTextIter *start, + GtkTextIter *end); +gboolean gtk_text_buffer_delete_selection (GtkTextBuffer *buffer, + gboolean interactive, + gboolean default_editable); + +/* Called to specify atomic user actions, used to implement undo */ +void gtk_text_buffer_begin_user_action (GtkTextBuffer *buffer); +void gtk_text_buffer_end_user_action (GtkTextBuffer *buffer); + +GtkTargetList * gtk_text_buffer_get_copy_target_list (GtkTextBuffer *buffer); +GtkTargetList * gtk_text_buffer_get_paste_target_list (GtkTextBuffer *buffer); + +/* INTERNAL private stuff */ +void _gtk_text_buffer_spew (GtkTextBuffer *buffer); + +GtkTextBTree* _gtk_text_buffer_get_btree (GtkTextBuffer *buffer); + +const PangoLogAttr* _gtk_text_buffer_get_line_log_attrs (GtkTextBuffer *buffer, + const GtkTextIter *anywhere_in_line, + gint *char_len); + +void _gtk_text_buffer_notify_will_remove_tag (GtkTextBuffer *buffer, + GtkTextTag *tag); + +void _gtk_text_buffer_get_text_before (GtkTextBuffer *buffer, + AtkTextBoundary boundary_type, + GtkTextIter *position, + GtkTextIter *start, + GtkTextIter *end); +void _gtk_text_buffer_get_text_at (GtkTextBuffer *buffer, + AtkTextBoundary boundary_type, + GtkTextIter *position, + GtkTextIter *start, + GtkTextIter *end); +void _gtk_text_buffer_get_text_after (GtkTextBuffer *buffer, + AtkTextBoundary boundary_type, + GtkTextIter *position, + GtkTextIter *start, + GtkTextIter *end); + +G_END_DECLS + +#endif diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktextbufferrichtext.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktextbufferrichtext.h new file mode 100644 index 0000000..4dec3f3 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktextbufferrichtext.h @@ -0,0 +1,126 @@ +/* gtkrichtext.h + * + * Copyright (C) 2006 Imendio AB + * Contact: Michael Natterer + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEXT_BUFFER_RICH_TEXT_H__ +#define __GTK_TEXT_BUFFER_RICH_TEXT_H__ + +#include + +G_BEGIN_DECLS + +/** + * GtkTextBufferSerializeFunc: + * @register_buffer: the #GtkTextBuffer for which the format is registered + * @content_buffer: the #GtkTextBuffer to serialize + * @start: start of the block of text to serialize + * @end: end of the block of text to serialize + * @length: Return location for the length of the serialized data + * @user_data: user data that was specified when registering the format + * + * A function that is called to serialize the content of a text buffer. + * It must return the serialized form of the content. + * + * Returns: a newly-allocated array of guint8 which contains the serialized + * data, or %NULL if an error occurred + */ +typedef guint8 * (* GtkTextBufferSerializeFunc) (GtkTextBuffer *register_buffer, + GtkTextBuffer *content_buffer, + const GtkTextIter *start, + const GtkTextIter *end, + gsize *length, + gpointer user_data); + +/** + * GtkTextBufferDeserializeFunc: + * @register_buffer: the #GtkTextBuffer the format is registered with + * @content_buffer: the #GtkTextBuffer to deserialize into + * @iter: insertion point for the deserialized text + * @data: data to deserialize + * @length: length of %data + * @create_tags: %TRUE if deserializing may create tags + * @user_data: user data that was specified when registering the format + * @error: return location for a #GError + * + * A function that is called to deserialize rich text that has been + * serialized with gtk_text_buffer_serialize(), and insert it at @iter. + * + * Returns: %TRUE on success, %FALSE otherwise + */ +typedef gboolean (* GtkTextBufferDeserializeFunc) (GtkTextBuffer *register_buffer, + GtkTextBuffer *content_buffer, + GtkTextIter *iter, + const guint8 *data, + gsize length, + gboolean create_tags, + gpointer user_data, + GError **error); + +GdkAtom gtk_text_buffer_register_serialize_format (GtkTextBuffer *buffer, + const gchar *mime_type, + GtkTextBufferSerializeFunc function, + gpointer user_data, + GDestroyNotify user_data_destroy); +GdkAtom gtk_text_buffer_register_serialize_tagset (GtkTextBuffer *buffer, + const gchar *tagset_name); + +GdkAtom gtk_text_buffer_register_deserialize_format (GtkTextBuffer *buffer, + const gchar *mime_type, + GtkTextBufferDeserializeFunc function, + gpointer user_data, + GDestroyNotify user_data_destroy); +GdkAtom gtk_text_buffer_register_deserialize_tagset (GtkTextBuffer *buffer, + const gchar *tagset_name); + +void gtk_text_buffer_unregister_serialize_format (GtkTextBuffer *buffer, + GdkAtom format); +void gtk_text_buffer_unregister_deserialize_format (GtkTextBuffer *buffer, + GdkAtom format); + +void gtk_text_buffer_deserialize_set_can_create_tags (GtkTextBuffer *buffer, + GdkAtom format, + gboolean can_create_tags); +gboolean gtk_text_buffer_deserialize_get_can_create_tags (GtkTextBuffer *buffer, + GdkAtom format); + +GdkAtom * gtk_text_buffer_get_serialize_formats (GtkTextBuffer *buffer, + gint *n_formats); +GdkAtom * gtk_text_buffer_get_deserialize_formats (GtkTextBuffer *buffer, + gint *n_formats); + +guint8 * gtk_text_buffer_serialize (GtkTextBuffer *register_buffer, + GtkTextBuffer *content_buffer, + GdkAtom format, + const GtkTextIter *start, + const GtkTextIter *end, + gsize *length); +gboolean gtk_text_buffer_deserialize (GtkTextBuffer *register_buffer, + GtkTextBuffer *content_buffer, + GdkAtom format, + GtkTextIter *iter, + const guint8 *data, + gsize length, + GError **error); + +G_END_DECLS + +#endif /* __GTK_TEXT_BUFFER_RICH_TEXT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktextchild.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktextchild.h new file mode 100644 index 0000000..6884432 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktextchild.h @@ -0,0 +1,83 @@ +/* GTK - The GIMP Toolkit + * gtktextchild.h Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEXT_CHILD_H__ +#define __GTK_TEXT_CHILD_H__ + +#include +#include + +G_BEGIN_DECLS + + +/** + * GtkTextChildAnchor: + * + * A #GtkTextChildAnchor is a spot in the buffer where child widgets can + * be "anchored" (inserted inline, as if they were characters). The anchor + * can have multiple widgets anchored, to allow for multiple views. + */ +typedef struct _GtkTextChildAnchor GtkTextChildAnchor; +typedef struct _GtkTextChildAnchorClass GtkTextChildAnchorClass; + +#define GTK_TYPE_TEXT_CHILD_ANCHOR (gtk_text_child_anchor_get_type ()) +#define GTK_TEXT_CHILD_ANCHOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchor)) +#define GTK_TEXT_CHILD_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchorClass)) +#define GTK_IS_TEXT_CHILD_ANCHOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_TEXT_CHILD_ANCHOR)) +#define GTK_IS_TEXT_CHILD_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_CHILD_ANCHOR)) +#define GTK_TEXT_CHILD_ANCHOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchorClass)) + +struct _GtkTextChildAnchor +{ + GObject parent_instance; + + /*< private >*/ + gpointer segment; +}; + +struct _GtkTextChildAnchorClass +{ + GObjectClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_text_child_anchor_get_type (void) G_GNUC_CONST; + +GtkTextChildAnchor* gtk_text_child_anchor_new (void); + +GList* gtk_text_child_anchor_get_widgets (GtkTextChildAnchor *anchor); +gboolean gtk_text_child_anchor_get_deleted (GtkTextChildAnchor *anchor); + +G_END_DECLS + +#endif diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktextdisplay.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktextdisplay.h new file mode 100644 index 0000000..3f130b4 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktextdisplay.h @@ -0,0 +1,101 @@ +/* gtktextdisplay.c - display layed-out text + * + * Copyright (c) 1992-1994 The Regents of the University of California. + * Copyright (c) 1994-1997 Sun Microsystems, Inc. + * Copyright (c) 2000 Red Hat, Inc. + * Tk->Gtk port by Havoc Pennington + * + * This file can be used under your choice of two licenses, the LGPL + * and the original Tk license. + * + * LGPL: + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Original Tk license: + * + * This software is copyrighted by the Regents of the University of + * California, Sun Microsystems, Inc., and other parties. The + * following terms apply to all files associated with the software + * unless explicitly disclaimed in individual files. + * + * The authors hereby grant permission to use, copy, modify, + * distribute, and license this software and its documentation for any + * purpose, provided that existing copyright notices are retained in + * all copies and that this notice is included verbatim in any + * distributions. No written agreement, license, or royalty fee is + * required for any of the authorized uses. Modifications to this + * software may be copyrighted by their authors and need not follow + * the licensing terms described here, provided that the new terms are + * clearly indicated on the first page of each file where they apply. + * + * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY + * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL + * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, + * OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND + * NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, + * AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE + * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + * GOVERNMENT USE: If you are acquiring this software on behalf of the + * U.S. government, the Government shall have only "Restricted Rights" + * in the software and related documentation as defined in the Federal + * Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + * are acquiring the software on behalf of the Department of Defense, + * the software shall be classified as "Commercial Computer Software" + * and the Government shall have only "Restricted Rights" as defined + * in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the + * foregoing, the authors grant the U.S. Government and others acting + * in its behalf permission to use and distribute the software in + * accordance with the terms specified in this license. + * + */ +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#ifndef __GTK_TEXT_DISPLAY_H__ +#define __GTK_TEXT_DISPLAY_H__ + +#include + +G_BEGIN_DECLS + +/* A semi-public header intended for use by code that also + * uses GtkTextLayout + */ + +/* The drawable should be pre-initialized to your preferred background. + * widget - Widget to grab some style info from + * cr - Context to render to, matrix set so that (0, 0) + * is the top left of the layout + * widgets - list of widgets that need exposing + */ +void gtk_text_layout_draw (GtkTextLayout *layout, + GtkWidget *widget, + cairo_t *cr, + GList **widgets); + + +G_END_DECLS + +#endif /* __GTK_TEXT_DISPLAY_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktextiter.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktextiter.h new file mode 100644 index 0000000..723ce52 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktextiter.h @@ -0,0 +1,306 @@ +/* GTK - The GIMP Toolkit + * gtktextiter.h Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEXT_ITER_H__ +#define __GTK_TEXT_ITER_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +typedef enum { + GTK_TEXT_SEARCH_VISIBLE_ONLY = 1 << 0, + GTK_TEXT_SEARCH_TEXT_ONLY = 1 << 1, + GTK_TEXT_SEARCH_CASE_INSENSITIVE = 1 << 2 + /* Possible future plans: SEARCH_REGEXP */ +} GtkTextSearchFlags; + +/* + * Iter: represents a location in the text. Becomes invalid if the + * characters/pixmaps/widgets (indexable objects) in the text buffer + * are changed. + */ + +typedef struct _GtkTextBuffer GtkTextBuffer; + +#define GTK_TYPE_TEXT_ITER (gtk_text_iter_get_type ()) + +struct _GtkTextIter { + /* GtkTextIter is an opaque datatype; ignore all these fields. + * Initialize the iter with gtk_text_buffer_get_iter_* + * functions + */ + /*< private >*/ + gpointer dummy1; + gpointer dummy2; + gint dummy3; + gint dummy4; + gint dummy5; + gint dummy6; + gint dummy7; + gint dummy8; + gpointer dummy9; + gpointer dummy10; + gint dummy11; + gint dummy12; + /* padding */ + gint dummy13; + gpointer dummy14; +}; + + +/* This is primarily intended for language bindings that want to avoid + a "buffer" argument to text insertions, deletions, etc. */ +GtkTextBuffer *gtk_text_iter_get_buffer (const GtkTextIter *iter); + +/* + * Life cycle + */ + +GtkTextIter *gtk_text_iter_copy (const GtkTextIter *iter); +void gtk_text_iter_free (GtkTextIter *iter); +GDK_AVAILABLE_IN_3_2 +void gtk_text_iter_assign (GtkTextIter *iter, + const GtkTextIter *other); + +GType gtk_text_iter_get_type (void) G_GNUC_CONST; + +/* + * Convert to different kinds of index + */ + +gint gtk_text_iter_get_offset (const GtkTextIter *iter); +gint gtk_text_iter_get_line (const GtkTextIter *iter); +gint gtk_text_iter_get_line_offset (const GtkTextIter *iter); +gint gtk_text_iter_get_line_index (const GtkTextIter *iter); + +gint gtk_text_iter_get_visible_line_offset (const GtkTextIter *iter); +gint gtk_text_iter_get_visible_line_index (const GtkTextIter *iter); + + +/* + * "Dereference" operators + */ +gunichar gtk_text_iter_get_char (const GtkTextIter *iter); + +/* includes the 0xFFFC char for pixmaps/widgets, so char offsets + * into the returned string map properly into buffer char offsets + */ +gchar *gtk_text_iter_get_slice (const GtkTextIter *start, + const GtkTextIter *end); + +/* includes only text, no 0xFFFC */ +gchar *gtk_text_iter_get_text (const GtkTextIter *start, + const GtkTextIter *end); +/* exclude invisible chars */ +gchar *gtk_text_iter_get_visible_slice (const GtkTextIter *start, + const GtkTextIter *end); +gchar *gtk_text_iter_get_visible_text (const GtkTextIter *start, + const GtkTextIter *end); + +GdkPixbuf* gtk_text_iter_get_pixbuf (const GtkTextIter *iter); +GSList * gtk_text_iter_get_marks (const GtkTextIter *iter); + +GtkTextChildAnchor* gtk_text_iter_get_child_anchor (const GtkTextIter *iter); + +/* Return list of tags toggled at this point (toggled_on determines + * whether the list is of on-toggles or off-toggles) + */ +GSList *gtk_text_iter_get_toggled_tags (const GtkTextIter *iter, + gboolean toggled_on); + +gboolean gtk_text_iter_begins_tag (const GtkTextIter *iter, + GtkTextTag *tag); + +gboolean gtk_text_iter_ends_tag (const GtkTextIter *iter, + GtkTextTag *tag); + +gboolean gtk_text_iter_toggles_tag (const GtkTextIter *iter, + GtkTextTag *tag); + +gboolean gtk_text_iter_has_tag (const GtkTextIter *iter, + GtkTextTag *tag); +GSList *gtk_text_iter_get_tags (const GtkTextIter *iter); + +gboolean gtk_text_iter_editable (const GtkTextIter *iter, + gboolean default_setting); +gboolean gtk_text_iter_can_insert (const GtkTextIter *iter, + gboolean default_editability); + +gboolean gtk_text_iter_starts_word (const GtkTextIter *iter); +gboolean gtk_text_iter_ends_word (const GtkTextIter *iter); +gboolean gtk_text_iter_inside_word (const GtkTextIter *iter); +gboolean gtk_text_iter_starts_sentence (const GtkTextIter *iter); +gboolean gtk_text_iter_ends_sentence (const GtkTextIter *iter); +gboolean gtk_text_iter_inside_sentence (const GtkTextIter *iter); +gboolean gtk_text_iter_starts_line (const GtkTextIter *iter); +gboolean gtk_text_iter_ends_line (const GtkTextIter *iter); +gboolean gtk_text_iter_is_cursor_position (const GtkTextIter *iter); + +gint gtk_text_iter_get_chars_in_line (const GtkTextIter *iter); +gint gtk_text_iter_get_bytes_in_line (const GtkTextIter *iter); + +gboolean gtk_text_iter_get_attributes (const GtkTextIter *iter, + GtkTextAttributes *values); +PangoLanguage* gtk_text_iter_get_language (const GtkTextIter *iter); +gboolean gtk_text_iter_is_end (const GtkTextIter *iter); +gboolean gtk_text_iter_is_start (const GtkTextIter *iter); + +/* + * Moving around the buffer + */ + +gboolean gtk_text_iter_forward_char (GtkTextIter *iter); +gboolean gtk_text_iter_backward_char (GtkTextIter *iter); +gboolean gtk_text_iter_forward_chars (GtkTextIter *iter, + gint count); +gboolean gtk_text_iter_backward_chars (GtkTextIter *iter, + gint count); +gboolean gtk_text_iter_forward_line (GtkTextIter *iter); +gboolean gtk_text_iter_backward_line (GtkTextIter *iter); +gboolean gtk_text_iter_forward_lines (GtkTextIter *iter, + gint count); +gboolean gtk_text_iter_backward_lines (GtkTextIter *iter, + gint count); +gboolean gtk_text_iter_forward_word_end (GtkTextIter *iter); +gboolean gtk_text_iter_backward_word_start (GtkTextIter *iter); +gboolean gtk_text_iter_forward_word_ends (GtkTextIter *iter, + gint count); +gboolean gtk_text_iter_backward_word_starts (GtkTextIter *iter, + gint count); + +gboolean gtk_text_iter_forward_visible_line (GtkTextIter *iter); +gboolean gtk_text_iter_backward_visible_line (GtkTextIter *iter); +gboolean gtk_text_iter_forward_visible_lines (GtkTextIter *iter, + gint count); +gboolean gtk_text_iter_backward_visible_lines (GtkTextIter *iter, + gint count); + +gboolean gtk_text_iter_forward_visible_word_end (GtkTextIter *iter); +gboolean gtk_text_iter_backward_visible_word_start (GtkTextIter *iter); +gboolean gtk_text_iter_forward_visible_word_ends (GtkTextIter *iter, + gint count); +gboolean gtk_text_iter_backward_visible_word_starts (GtkTextIter *iter, + gint count); + +gboolean gtk_text_iter_forward_sentence_end (GtkTextIter *iter); +gboolean gtk_text_iter_backward_sentence_start (GtkTextIter *iter); +gboolean gtk_text_iter_forward_sentence_ends (GtkTextIter *iter, + gint count); +gboolean gtk_text_iter_backward_sentence_starts (GtkTextIter *iter, + gint count); +/* cursor positions are almost equivalent to chars, but not quite; + * in some languages, you can't put the cursor between certain + * chars. Also, you can't put the cursor between \r\n at the end + * of a line. + */ +gboolean gtk_text_iter_forward_cursor_position (GtkTextIter *iter); +gboolean gtk_text_iter_backward_cursor_position (GtkTextIter *iter); +gboolean gtk_text_iter_forward_cursor_positions (GtkTextIter *iter, + gint count); +gboolean gtk_text_iter_backward_cursor_positions (GtkTextIter *iter, + gint count); + +gboolean gtk_text_iter_forward_visible_cursor_position (GtkTextIter *iter); +gboolean gtk_text_iter_backward_visible_cursor_position (GtkTextIter *iter); +gboolean gtk_text_iter_forward_visible_cursor_positions (GtkTextIter *iter, + gint count); +gboolean gtk_text_iter_backward_visible_cursor_positions (GtkTextIter *iter, + gint count); + +void gtk_text_iter_set_offset (GtkTextIter *iter, + gint char_offset); +void gtk_text_iter_set_line (GtkTextIter *iter, + gint line_number); +void gtk_text_iter_set_line_offset (GtkTextIter *iter, + gint char_on_line); +void gtk_text_iter_set_line_index (GtkTextIter *iter, + gint byte_on_line); +void gtk_text_iter_forward_to_end (GtkTextIter *iter); +gboolean gtk_text_iter_forward_to_line_end (GtkTextIter *iter); + +void gtk_text_iter_set_visible_line_offset (GtkTextIter *iter, + gint char_on_line); +void gtk_text_iter_set_visible_line_index (GtkTextIter *iter, + gint byte_on_line); + +/* returns TRUE if a toggle was found; NULL for the tag pointer + * means "any tag toggle", otherwise the next toggle of the + * specified tag is located. + */ +gboolean gtk_text_iter_forward_to_tag_toggle (GtkTextIter *iter, + GtkTextTag *tag); + +gboolean gtk_text_iter_backward_to_tag_toggle (GtkTextIter *iter, + GtkTextTag *tag); + +typedef gboolean (* GtkTextCharPredicate) (gunichar ch, gpointer user_data); + +gboolean gtk_text_iter_forward_find_char (GtkTextIter *iter, + GtkTextCharPredicate pred, + gpointer user_data, + const GtkTextIter *limit); +gboolean gtk_text_iter_backward_find_char (GtkTextIter *iter, + GtkTextCharPredicate pred, + gpointer user_data, + const GtkTextIter *limit); + +gboolean gtk_text_iter_forward_search (const GtkTextIter *iter, + const gchar *str, + GtkTextSearchFlags flags, + GtkTextIter *match_start, + GtkTextIter *match_end, + const GtkTextIter *limit); + +gboolean gtk_text_iter_backward_search (const GtkTextIter *iter, + const gchar *str, + GtkTextSearchFlags flags, + GtkTextIter *match_start, + GtkTextIter *match_end, + const GtkTextIter *limit); + +/* + * Comparisons + */ +gboolean gtk_text_iter_equal (const GtkTextIter *lhs, + const GtkTextIter *rhs); +gint gtk_text_iter_compare (const GtkTextIter *lhs, + const GtkTextIter *rhs); +gboolean gtk_text_iter_in_range (const GtkTextIter *iter, + const GtkTextIter *start, + const GtkTextIter *end); + +/* Put these two in ascending order */ +void gtk_text_iter_order (GtkTextIter *first, + GtkTextIter *second); + +G_END_DECLS + +#endif diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktextlayout.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktextlayout.h new file mode 100644 index 0000000..819aaf2 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktextlayout.h @@ -0,0 +1,433 @@ +/* GTK - The GIMP Toolkit + * gtktextlayout.h + * + * Copyright (c) 1992-1994 The Regents of the University of California. + * Copyright (c) 1994-1997 Sun Microsystems, Inc. + * Copyright (c) 2000 Red Hat, Inc. + * Tk->Gtk port by Havoc Pennington + * Pango support by Owen Taylor + * + * This file can be used under your choice of two licenses, the LGPL + * and the original Tk license. + * + * LGPL: + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Original Tk license: + * + * This software is copyrighted by the Regents of the University of + * California, Sun Microsystems, Inc., and other parties. The + * following terms apply to all files associated with the software + * unless explicitly disclaimed in individual files. + * + * The authors hereby grant permission to use, copy, modify, + * distribute, and license this software and its documentation for any + * purpose, provided that existing copyright notices are retained in + * all copies and that this notice is included verbatim in any + * distributions. No written agreement, license, or royalty fee is + * required for any of the authorized uses. Modifications to this + * software may be copyrighted by their authors and need not follow + * the licensing terms described here, provided that the new terms are + * clearly indicated on the first page of each file where they apply. + * + * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY + * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL + * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, + * OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND + * NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, + * AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE + * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + * GOVERNMENT USE: If you are acquiring this software on behalf of the + * U.S. government, the Government shall have only "Restricted Rights" + * in the software and related documentation as defined in the Federal + * Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + * are acquiring the software on behalf of the Department of Defense, + * the software shall be classified as "Commercial Computer Software" + * and the Government shall have only "Restricted Rights" as defined + * in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the + * foregoing, the authors grant the U.S. Government and others acting + * in its behalf permission to use and distribute the software in + * accordance with the terms specified in this license. + * + */ +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#ifndef __GTK_TEXT_LAYOUT_H__ +#define __GTK_TEXT_LAYOUT_H__ + +/* This is a "semi-private" header; it is intended for + * use by the text widget, and the text canvas item, + * but that's all. We may have to install it so the + * canvas item can use it, but users are not supposed + * to use it. + */ +#ifndef GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API +#error "You are not supposed to be including this file; the equivalent public API is in gtktextview.h" +#endif + +#include + +G_BEGIN_DECLS + +/* forward declarations that have to be here to avoid including + * gtktextbtree.h + */ +typedef struct _GtkTextLine GtkTextLine; +typedef struct _GtkTextLineData GtkTextLineData; + +#define GTK_TYPE_TEXT_LAYOUT (gtk_text_layout_get_type ()) +#define GTK_TEXT_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_LAYOUT, GtkTextLayout)) +#define GTK_TEXT_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_LAYOUT, GtkTextLayoutClass)) +#define GTK_IS_TEXT_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_LAYOUT)) +#define GTK_IS_TEXT_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_LAYOUT)) +#define GTK_TEXT_LAYOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_LAYOUT, GtkTextLayoutClass)) + +typedef struct _GtkTextLayout GtkTextLayout; +typedef struct _GtkTextLayoutClass GtkTextLayoutClass; +typedef struct _GtkTextLineDisplay GtkTextLineDisplay; +typedef struct _GtkTextAttrAppearance GtkTextAttrAppearance; + +struct _GtkTextLayout +{ + GObject parent_instance; + + /* width of the display area on-screen, + * i.e. pixels we should wrap to fit inside. */ + gint screen_width; + + /* width/height of the total logical area being layed out */ + gint width; + gint height; + + /* Pixel offsets from the left and from the top to be used when we + * draw; these allow us to create left/top margins. We don't need + * anything special for bottom/right margins, because those don't + * affect drawing. + */ + /* gint left_edge; */ + /* gint top_edge; */ + + GtkTextBuffer *buffer; + + /* Default style used if no tags override it */ + GtkTextAttributes *default_style; + + /* Pango contexts used for creating layouts */ + PangoContext *ltr_context; + PangoContext *rtl_context; + + /* A cache of one style; this is used to ensure + * we don't constantly regenerate the style + * over long runs with the same style. */ + GtkTextAttributes *one_style_cache; + + /* A cache of one line display. Getting the same line + * many times in a row is the most common case. + */ + GtkTextLineDisplay *one_display_cache; + + /* Whether we are allowed to wrap right now */ + gint wrap_loop_count; + + /* Whether to show the insertion cursor */ + guint cursor_visible : 1; + + /* For what GtkTextDirection to draw cursor GTK_TEXT_DIR_NONE - + * means draw both cursors. + */ + guint cursor_direction : 2; + + /* The keyboard direction is used to default the alignment when + there are no strong characters. + */ + guint keyboard_direction : 2; + + /* The preedit string and attributes, if any */ + + gchar *preedit_string; + PangoAttrList *preedit_attrs; + gint preedit_len; + gint preedit_cursor; + + guint overwrite_mode : 1; +}; + +struct _GtkTextLayoutClass +{ + GObjectClass parent_class; + + /* Some portion of the layout was invalidated + */ + void (*invalidated) (GtkTextLayout *layout); + + /* A range of the layout changed appearance and possibly height + */ + void (*changed) (GtkTextLayout *layout, + gint y, + gint old_height, + gint new_height); + GtkTextLineData* (*wrap) (GtkTextLayout *layout, + GtkTextLine *line, + GtkTextLineData *line_data); /* may be NULL */ + void (*get_log_attrs) (GtkTextLayout *layout, + GtkTextLine *line, + PangoLogAttr **attrs, + gint *n_attrs); + void (*invalidate) (GtkTextLayout *layout, + const GtkTextIter *start, + const GtkTextIter *end); + void (*free_line_data) (GtkTextLayout *layout, + GtkTextLine *line, + GtkTextLineData *line_data); + + void (*allocate_child) (GtkTextLayout *layout, + GtkWidget *child, + gint x, + gint y); + + void (*invalidate_cursors) (GtkTextLayout *layout, + const GtkTextIter *start, + const GtkTextIter *end); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); +}; + +struct _GtkTextAttrAppearance +{ + PangoAttribute attr; + GtkTextAppearance appearance; +}; + +struct _GtkTextLineDisplay +{ + PangoLayout *layout; + GArray *cursors; /* indexes of cursors in the PangoLayout */ + + GtkTextDirection direction; + + gint width; /* Width of layout */ + gint total_width; /* width - margins, if no width set on layout, if width set on layout, -1 */ + gint height; + /* Amount layout is shifted from left edge - this is the left margin + * plus any other factors, such as alignment or indentation. + */ + gint x_offset; + gint left_margin; + gint right_margin; + gint top_margin; + gint bottom_margin; + gint insert_index; /* Byte index of insert cursor within para or -1 */ + + GtkTextLine *line; + + GdkColor *pg_bg_color; + + GdkRectangle block_cursor; + guint cursors_invalid : 1; + guint has_block_cursor : 1; + guint cursor_at_line_end : 1; + guint size_only : 1; + + GdkRGBA *pg_bg_rgba; +}; + +#ifdef GTK_COMPILATION +extern G_GNUC_INTERNAL PangoAttrType gtk_text_attr_appearance_type; +#endif + +GType gtk_text_layout_get_type (void) G_GNUC_CONST; + +GtkTextLayout* gtk_text_layout_new (void); +void gtk_text_layout_set_buffer (GtkTextLayout *layout, + GtkTextBuffer *buffer); +GtkTextBuffer *gtk_text_layout_get_buffer (GtkTextLayout *layout); +void gtk_text_layout_set_default_style (GtkTextLayout *layout, + GtkTextAttributes *values); +void gtk_text_layout_set_contexts (GtkTextLayout *layout, + PangoContext *ltr_context, + PangoContext *rtl_context); +void gtk_text_layout_set_cursor_direction (GtkTextLayout *layout, + GtkTextDirection direction); +void gtk_text_layout_set_overwrite_mode (GtkTextLayout *layout, + gboolean overwrite); +void gtk_text_layout_set_keyboard_direction (GtkTextLayout *layout, + GtkTextDirection keyboard_dir); +void gtk_text_layout_default_style_changed (GtkTextLayout *layout); + +void gtk_text_layout_set_screen_width (GtkTextLayout *layout, + gint width); +void gtk_text_layout_set_preedit_string (GtkTextLayout *layout, + const gchar *preedit_string, + PangoAttrList *preedit_attrs, + gint cursor_pos); + +void gtk_text_layout_set_cursor_visible (GtkTextLayout *layout, + gboolean cursor_visible); +gboolean gtk_text_layout_get_cursor_visible (GtkTextLayout *layout); + +/* Getting the size or the lines potentially results in a call to + * recompute, which is pretty massively expensive. Thus it should + * basically only be done in an idle handler. + * + * Long-term, we would really like to be able to do these without + * a full recompute so they may get cheaper over time. + */ +void gtk_text_layout_get_size (GtkTextLayout *layout, + gint *width, + gint *height); +GSList* gtk_text_layout_get_lines (GtkTextLayout *layout, + /* [top_y, bottom_y) */ + gint top_y, + gint bottom_y, + gint *first_line_y); + +void gtk_text_layout_wrap_loop_start (GtkTextLayout *layout); +void gtk_text_layout_wrap_loop_end (GtkTextLayout *layout); + +GtkTextLineDisplay* gtk_text_layout_get_line_display (GtkTextLayout *layout, + GtkTextLine *line, + gboolean size_only); +void gtk_text_layout_free_line_display (GtkTextLayout *layout, + GtkTextLineDisplay *display); + +void gtk_text_layout_get_line_at_y (GtkTextLayout *layout, + GtkTextIter *target_iter, + gint y, + gint *line_top); +void gtk_text_layout_get_iter_at_pixel (GtkTextLayout *layout, + GtkTextIter *iter, + gint x, + gint y); +void gtk_text_layout_get_iter_at_position (GtkTextLayout *layout, + GtkTextIter *iter, + gint *trailing, + gint x, + gint y); +void gtk_text_layout_invalidate (GtkTextLayout *layout, + const GtkTextIter *start, + const GtkTextIter *end); +void gtk_text_layout_invalidate_cursors(GtkTextLayout *layout, + const GtkTextIter *start, + const GtkTextIter *end); +void gtk_text_layout_free_line_data (GtkTextLayout *layout, + GtkTextLine *line, + GtkTextLineData *line_data); + +gboolean gtk_text_layout_is_valid (GtkTextLayout *layout); +void gtk_text_layout_validate_yrange (GtkTextLayout *layout, + GtkTextIter *anchor_line, + gint y0_, + gint y1_); +void gtk_text_layout_validate (GtkTextLayout *layout, + gint max_pixels); + +/* This function should return the passed-in line data, + * OR remove the existing line data from the line, and + * return a NEW line data after adding it to the line. + * That is, invariant after calling the callback is that + * there should be exactly one line data for this view + * stored on the btree line. + */ +GtkTextLineData* gtk_text_layout_wrap (GtkTextLayout *layout, + GtkTextLine *line, + GtkTextLineData *line_data); /* may be NULL */ +void gtk_text_layout_changed (GtkTextLayout *layout, + gint y, + gint old_height, + gint new_height); +void gtk_text_layout_cursors_changed (GtkTextLayout *layout, + gint y, + gint old_height, + gint new_height); +void gtk_text_layout_get_iter_location (GtkTextLayout *layout, + const GtkTextIter *iter, + GdkRectangle *rect); +void gtk_text_layout_get_line_yrange (GtkTextLayout *layout, + const GtkTextIter *iter, + gint *y, + gint *height); +void _gtk_text_layout_get_line_xrange (GtkTextLayout *layout, + const GtkTextIter *iter, + gint *x, + gint *width); +void gtk_text_layout_get_cursor_locations (GtkTextLayout *layout, + GtkTextIter *iter, + GdkRectangle *strong_pos, + GdkRectangle *weak_pos); +gboolean _gtk_text_layout_get_block_cursor (GtkTextLayout *layout, + GdkRectangle *pos); +gboolean gtk_text_layout_clamp_iter_to_vrange (GtkTextLayout *layout, + GtkTextIter *iter, + gint top, + gint bottom); + +gboolean gtk_text_layout_move_iter_to_line_end (GtkTextLayout *layout, + GtkTextIter *iter, + gint direction); +gboolean gtk_text_layout_move_iter_to_previous_line (GtkTextLayout *layout, + GtkTextIter *iter); +gboolean gtk_text_layout_move_iter_to_next_line (GtkTextLayout *layout, + GtkTextIter *iter); +void gtk_text_layout_move_iter_to_x (GtkTextLayout *layout, + GtkTextIter *iter, + gint x); +gboolean gtk_text_layout_move_iter_visually (GtkTextLayout *layout, + GtkTextIter *iter, + gint count); + +gboolean gtk_text_layout_iter_starts_line (GtkTextLayout *layout, + const GtkTextIter *iter); + +void gtk_text_layout_get_iter_at_line (GtkTextLayout *layout, + GtkTextIter *iter, + GtkTextLine *line, + gint byte_offset); + +/* Don't use these. Use gtk_text_view_add_child_at_anchor(). + * These functions are defined in gtktextchild.c, but here + * since they are semi-public and require GtkTextLayout to + * be declared. + */ +void gtk_text_child_anchor_register_child (GtkTextChildAnchor *anchor, + GtkWidget *child, + GtkTextLayout *layout); +void gtk_text_child_anchor_unregister_child (GtkTextChildAnchor *anchor, + GtkWidget *child); + +void gtk_text_child_anchor_queue_resize (GtkTextChildAnchor *anchor, + GtkTextLayout *layout); + +void gtk_text_anchored_child_set_layout (GtkWidget *child, + GtkTextLayout *layout); + +void gtk_text_layout_spew (GtkTextLayout *layout); + +G_END_DECLS + +#endif /* __GTK_TEXT_LAYOUT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktextmark.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktextmark.h new file mode 100644 index 0000000..3e45d3c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktextmark.h @@ -0,0 +1,103 @@ +/* gtktextmark.h - mark segments + * + * Copyright (c) 1994 The Regents of the University of California. + * Copyright (c) 1994-1997 Sun Microsystems, Inc. + * Copyright (c) 2000 Red Hat, Inc. + * Tk -> Gtk port by Havoc Pennington + * + * This software is copyrighted by the Regents of the University of + * California, Sun Microsystems, Inc., and other parties. The + * following terms apply to all files associated with the software + * unless explicitly disclaimed in individual files. + * + * The authors hereby grant permission to use, copy, modify, + * distribute, and license this software and its documentation for any + * purpose, provided that existing copyright notices are retained in + * all copies and that this notice is included verbatim in any + * distributions. No written agreement, license, or royalty fee is + * required for any of the authorized uses. Modifications to this + * software may be copyrighted by their authors and need not follow + * the licensing terms described here, provided that the new terms are + * clearly indicated on the first page of each file where they apply. + * + * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY + * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL + * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, + * OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND + * NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, + * AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE + * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + * GOVERNMENT USE: If you are acquiring this software on behalf of the + * U.S. government, the Government shall have only "Restricted Rights" + * in the software and related documentation as defined in the Federal + * Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + * are acquiring the software on behalf of the Department of Defense, + * the software shall be classified as "Commercial Computer Software" + * and the Government shall have only "Restricted Rights" as defined + * in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the + * foregoing, the authors grant the U.S. Government and others acting + * in its behalf permission to use and distribute the software in + * accordance with the terms specified in this license. + * + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEXT_MARK_H__ +#define __GTK_TEXT_MARK_H__ + +G_BEGIN_DECLS + +typedef struct _GtkTextMark GtkTextMark; +typedef struct _GtkTextMarkClass GtkTextMarkClass; + +#define GTK_TYPE_TEXT_MARK (gtk_text_mark_get_type ()) +#define GTK_TEXT_MARK(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_TEXT_MARK, GtkTextMark)) +#define GTK_TEXT_MARK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_MARK, GtkTextMarkClass)) +#define GTK_IS_TEXT_MARK(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_TEXT_MARK)) +#define GTK_IS_TEXT_MARK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_MARK)) +#define GTK_TEXT_MARK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_MARK, GtkTextMarkClass)) + +struct _GtkTextMark +{ + GObject parent_instance; + + /*< private >*/ + gpointer segment; +}; + +struct _GtkTextMarkClass +{ + GObjectClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_text_mark_get_type (void) G_GNUC_CONST; + +GtkTextMark *gtk_text_mark_new (const gchar *name, + gboolean left_gravity); +void gtk_text_mark_set_visible (GtkTextMark *mark, + gboolean setting); +gboolean gtk_text_mark_get_visible (GtkTextMark *mark); + +const gchar * gtk_text_mark_get_name (GtkTextMark *mark); +gboolean gtk_text_mark_get_deleted (GtkTextMark *mark); +GtkTextBuffer* gtk_text_mark_get_buffer (GtkTextMark *mark); +gboolean gtk_text_mark_get_left_gravity (GtkTextMark *mark); + +G_END_DECLS + +#endif /* __GTK_TEXT_MARK_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktexttag.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktexttag.h new file mode 100644 index 0000000..1286b37 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktexttag.h @@ -0,0 +1,115 @@ +/* gtktexttag.c - text tag object + * + * Copyright (c) 1992-1994 The Regents of the University of California. + * Copyright (c) 1994-1997 Sun Microsystems, Inc. + * Copyright (c) 2000 Red Hat, Inc. + * Tk -> Gtk port by Havoc Pennington + * + * This software is copyrighted by the Regents of the University of + * California, Sun Microsystems, Inc., and other parties. The + * following terms apply to all files associated with the software + * unless explicitly disclaimed in individual files. + * + * The authors hereby grant permission to use, copy, modify, + * distribute, and license this software and its documentation for any + * purpose, provided that existing copyright notices are retained in + * all copies and that this notice is included verbatim in any + * distributions. No written agreement, license, or royalty fee is + * required for any of the authorized uses. Modifications to this + * software may be copyrighted by their authors and need not follow + * the licensing terms described here, provided that the new terms are + * clearly indicated on the first page of each file where they apply. + * + * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY + * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL + * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, + * OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND + * NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, + * AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE + * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + * + * GOVERNMENT USE: If you are acquiring this software on behalf of the + * U.S. government, the Government shall have only "Restricted Rights" + * in the software and related documentation as defined in the Federal + * Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you + * are acquiring the software on behalf of the Department of Defense, + * the software shall be classified as "Commercial Computer Software" + * and the Government shall have only "Restricted Rights" as defined + * in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the + * foregoing, the authors grant the U.S. Government and others acting + * in its behalf permission to use and distribute the software in + * accordance with the terms specified in this license. + * + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEXT_TAG_H__ +#define __GTK_TEXT_TAG_H__ + + +#include +#include + + +G_BEGIN_DECLS + +typedef struct _GtkTextIter GtkTextIter; +typedef struct _GtkTextTagTable GtkTextTagTable; + +#define GTK_TYPE_TEXT_TAG (gtk_text_tag_get_type ()) +#define GTK_TEXT_TAG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_TAG, GtkTextTag)) +#define GTK_TEXT_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_TAG, GtkTextTagClass)) +#define GTK_IS_TEXT_TAG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_TAG)) +#define GTK_IS_TEXT_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_TAG)) +#define GTK_TEXT_TAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_TAG, GtkTextTagClass)) + +typedef struct _GtkTextTag GtkTextTag; +typedef struct _GtkTextTagPrivate GtkTextTagPrivate; +typedef struct _GtkTextTagClass GtkTextTagClass; + +struct _GtkTextTag +{ + GObject parent_instance; + + GtkTextTagPrivate *priv; +}; + +struct _GtkTextTagClass +{ + GObjectClass parent_class; + + gboolean (* event) (GtkTextTag *tag, + GObject *event_object, /* widget, canvas item, whatever */ + GdkEvent *event, /* the event itself */ + const GtkTextIter *iter); /* location of event in buffer */ + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_text_tag_get_type (void) G_GNUC_CONST; +GtkTextTag *gtk_text_tag_new (const gchar *name); +gint gtk_text_tag_get_priority (GtkTextTag *tag); +void gtk_text_tag_set_priority (GtkTextTag *tag, + gint priority); +gboolean gtk_text_tag_event (GtkTextTag *tag, + GObject *event_object, + GdkEvent *event, + const GtkTextIter *iter); + + +G_END_DECLS + +#endif + diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktexttagtable.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktexttagtable.h new file mode 100644 index 0000000..1ea04ee --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktexttagtable.h @@ -0,0 +1,96 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEXT_TAG_TABLE_H__ +#define __GTK_TEXT_TAG_TABLE_H__ + +#include + +G_BEGIN_DECLS + +typedef void (* GtkTextTagTableForeach) (GtkTextTag *tag, gpointer data); + +#define GTK_TYPE_TEXT_TAG_TABLE (gtk_text_tag_table_get_type ()) +#define GTK_TEXT_TAG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_TAG_TABLE, GtkTextTagTable)) +#define GTK_TEXT_TAG_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_TAG_TABLE, GtkTextTagTableClass)) +#define GTK_IS_TEXT_TAG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_TAG_TABLE)) +#define GTK_IS_TEXT_TAG_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_TAG_TABLE)) +#define GTK_TEXT_TAG_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_TAG_TABLE, GtkTextTagTableClass)) + +typedef struct _GtkTextTagTablePrivate GtkTextTagTablePrivate; +typedef struct _GtkTextTagTableClass GtkTextTagTableClass; + +struct _GtkTextTagTable +{ + GObject parent_instance; + + GtkTextTagTablePrivate *priv; +}; + +struct _GtkTextTagTableClass +{ + GObjectClass parent_class; + + void (* tag_changed) (GtkTextTagTable *table, GtkTextTag *tag, gboolean size_changed); + void (* tag_added) (GtkTextTagTable *table, GtkTextTag *tag); + void (* tag_removed) (GtkTextTagTable *table, GtkTextTag *tag); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_text_tag_table_get_type (void) G_GNUC_CONST; + +GtkTextTagTable *gtk_text_tag_table_new (void); +void gtk_text_tag_table_add (GtkTextTagTable *table, + GtkTextTag *tag); +void gtk_text_tag_table_remove (GtkTextTagTable *table, + GtkTextTag *tag); +GtkTextTag *gtk_text_tag_table_lookup (GtkTextTagTable *table, + const gchar *name); +void gtk_text_tag_table_foreach (GtkTextTagTable *table, + GtkTextTagTableForeach func, + gpointer data); +gint gtk_text_tag_table_get_size (GtkTextTagTable *table); + + +/* INTERNAL private stuff - not even exported from the library on + * many platforms + */ +void _gtk_text_tag_table_add_buffer (GtkTextTagTable *table, + gpointer buffer); +void _gtk_text_tag_table_remove_buffer (GtkTextTagTable *table, + gpointer buffer); + +G_END_DECLS + +#endif + diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktextview.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktextview.h new file mode 100644 index 0000000..21667bb --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktextview.h @@ -0,0 +1,285 @@ +/* GTK - The GIMP Toolkit + * gtktextview.h Copyright (C) 2000 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TEXT_VIEW_H__ +#define __GTK_TEXT_VIEW_H__ + +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TEXT_VIEW (gtk_text_view_get_type ()) +#define GTK_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_VIEW, GtkTextView)) +#define GTK_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_VIEW, GtkTextViewClass)) +#define GTK_IS_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_VIEW)) +#define GTK_IS_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_VIEW)) +#define GTK_TEXT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_VIEW, GtkTextViewClass)) + +typedef enum +{ + GTK_TEXT_WINDOW_PRIVATE, + GTK_TEXT_WINDOW_WIDGET, + GTK_TEXT_WINDOW_TEXT, + GTK_TEXT_WINDOW_LEFT, + GTK_TEXT_WINDOW_RIGHT, + GTK_TEXT_WINDOW_TOP, + GTK_TEXT_WINDOW_BOTTOM +} GtkTextWindowType; + +/** + * GTK_TEXT_VIEW_PRIORITY_VALIDATE: + * + * The priority at which the text view validates onscreen lines + * in an idle job in the background. + */ +#define GTK_TEXT_VIEW_PRIORITY_VALIDATE (GDK_PRIORITY_REDRAW + 5) + +typedef struct _GtkTextView GtkTextView; +typedef struct _GtkTextViewPrivate GtkTextViewPrivate; +typedef struct _GtkTextViewClass GtkTextViewClass; + +struct _GtkTextView +{ + GtkContainer parent_instance; + + GtkTextViewPrivate *priv; +}; + +struct _GtkTextViewClass +{ + GtkContainerClass parent_class; + + void (* populate_popup) (GtkTextView *text_view, + GtkMenu *menu); + + /* These are all RUN_ACTION signals for keybindings */ + + /* move insertion point */ + void (* move_cursor) (GtkTextView *text_view, + GtkMovementStep step, + gint count, + gboolean extend_selection); + + /* move the "anchor" (what Emacs calls the mark) to the cursor position */ + void (* set_anchor) (GtkTextView *text_view); + + /* Edits */ + void (* insert_at_cursor) (GtkTextView *text_view, + const gchar *str); + void (* delete_from_cursor) (GtkTextView *text_view, + GtkDeleteType type, + gint count); + void (* backspace) (GtkTextView *text_view); + + /* cut copy paste */ + void (* cut_clipboard) (GtkTextView *text_view); + void (* copy_clipboard) (GtkTextView *text_view); + void (* paste_clipboard) (GtkTextView *text_view); + /* overwrite */ + void (* toggle_overwrite) (GtkTextView *text_view); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +GType gtk_text_view_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_text_view_new (void); +GtkWidget * gtk_text_view_new_with_buffer (GtkTextBuffer *buffer); +void gtk_text_view_set_buffer (GtkTextView *text_view, + GtkTextBuffer *buffer); +GtkTextBuffer *gtk_text_view_get_buffer (GtkTextView *text_view); +gboolean gtk_text_view_scroll_to_iter (GtkTextView *text_view, + GtkTextIter *iter, + gdouble within_margin, + gboolean use_align, + gdouble xalign, + gdouble yalign); +void gtk_text_view_scroll_to_mark (GtkTextView *text_view, + GtkTextMark *mark, + gdouble within_margin, + gboolean use_align, + gdouble xalign, + gdouble yalign); +void gtk_text_view_scroll_mark_onscreen (GtkTextView *text_view, + GtkTextMark *mark); +gboolean gtk_text_view_move_mark_onscreen (GtkTextView *text_view, + GtkTextMark *mark); +gboolean gtk_text_view_place_cursor_onscreen (GtkTextView *text_view); + +void gtk_text_view_get_visible_rect (GtkTextView *text_view, + GdkRectangle *visible_rect); +void gtk_text_view_set_cursor_visible (GtkTextView *text_view, + gboolean setting); +gboolean gtk_text_view_get_cursor_visible (GtkTextView *text_view); + +void gtk_text_view_get_cursor_locations (GtkTextView *text_view, + const GtkTextIter *iter, + GdkRectangle *strong, + GdkRectangle *weak); +void gtk_text_view_get_iter_location (GtkTextView *text_view, + const GtkTextIter *iter, + GdkRectangle *location); +void gtk_text_view_get_iter_at_location (GtkTextView *text_view, + GtkTextIter *iter, + gint x, + gint y); +void gtk_text_view_get_iter_at_position (GtkTextView *text_view, + GtkTextIter *iter, + gint *trailing, + gint x, + gint y); +void gtk_text_view_get_line_yrange (GtkTextView *text_view, + const GtkTextIter *iter, + gint *y, + gint *height); + +void gtk_text_view_get_line_at_y (GtkTextView *text_view, + GtkTextIter *target_iter, + gint y, + gint *line_top); + +void gtk_text_view_buffer_to_window_coords (GtkTextView *text_view, + GtkTextWindowType win, + gint buffer_x, + gint buffer_y, + gint *window_x, + gint *window_y); +void gtk_text_view_window_to_buffer_coords (GtkTextView *text_view, + GtkTextWindowType win, + gint window_x, + gint window_y, + gint *buffer_x, + gint *buffer_y); + +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment) +GtkAdjustment* gtk_text_view_get_hadjustment (GtkTextView *text_view); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment) +GtkAdjustment* gtk_text_view_get_vadjustment (GtkTextView *text_view); + +GdkWindow* gtk_text_view_get_window (GtkTextView *text_view, + GtkTextWindowType win); +GtkTextWindowType gtk_text_view_get_window_type (GtkTextView *text_view, + GdkWindow *window); + +void gtk_text_view_set_border_window_size (GtkTextView *text_view, + GtkTextWindowType type, + gint size); +gint gtk_text_view_get_border_window_size (GtkTextView *text_view, + GtkTextWindowType type); + +gboolean gtk_text_view_forward_display_line (GtkTextView *text_view, + GtkTextIter *iter); +gboolean gtk_text_view_backward_display_line (GtkTextView *text_view, + GtkTextIter *iter); +gboolean gtk_text_view_forward_display_line_end (GtkTextView *text_view, + GtkTextIter *iter); +gboolean gtk_text_view_backward_display_line_start (GtkTextView *text_view, + GtkTextIter *iter); +gboolean gtk_text_view_starts_display_line (GtkTextView *text_view, + const GtkTextIter *iter); +gboolean gtk_text_view_move_visually (GtkTextView *text_view, + GtkTextIter *iter, + gint count); + +gboolean gtk_text_view_im_context_filter_keypress (GtkTextView *text_view, + GdkEventKey *event); +void gtk_text_view_reset_im_context (GtkTextView *text_view); + +/* Adding child widgets */ +void gtk_text_view_add_child_at_anchor (GtkTextView *text_view, + GtkWidget *child, + GtkTextChildAnchor *anchor); + +void gtk_text_view_add_child_in_window (GtkTextView *text_view, + GtkWidget *child, + GtkTextWindowType which_window, + /* window coordinates */ + gint xpos, + gint ypos); + +void gtk_text_view_move_child (GtkTextView *text_view, + GtkWidget *child, + /* window coordinates */ + gint xpos, + gint ypos); + +/* Default style settings (fallbacks if no tag affects the property) */ + +void gtk_text_view_set_wrap_mode (GtkTextView *text_view, + GtkWrapMode wrap_mode); +GtkWrapMode gtk_text_view_get_wrap_mode (GtkTextView *text_view); +void gtk_text_view_set_editable (GtkTextView *text_view, + gboolean setting); +gboolean gtk_text_view_get_editable (GtkTextView *text_view); +void gtk_text_view_set_overwrite (GtkTextView *text_view, + gboolean overwrite); +gboolean gtk_text_view_get_overwrite (GtkTextView *text_view); +void gtk_text_view_set_accepts_tab (GtkTextView *text_view, + gboolean accepts_tab); +gboolean gtk_text_view_get_accepts_tab (GtkTextView *text_view); +void gtk_text_view_set_pixels_above_lines (GtkTextView *text_view, + gint pixels_above_lines); +gint gtk_text_view_get_pixels_above_lines (GtkTextView *text_view); +void gtk_text_view_set_pixels_below_lines (GtkTextView *text_view, + gint pixels_below_lines); +gint gtk_text_view_get_pixels_below_lines (GtkTextView *text_view); +void gtk_text_view_set_pixels_inside_wrap (GtkTextView *text_view, + gint pixels_inside_wrap); +gint gtk_text_view_get_pixels_inside_wrap (GtkTextView *text_view); +void gtk_text_view_set_justification (GtkTextView *text_view, + GtkJustification justification); +GtkJustification gtk_text_view_get_justification (GtkTextView *text_view); +void gtk_text_view_set_left_margin (GtkTextView *text_view, + gint left_margin); +gint gtk_text_view_get_left_margin (GtkTextView *text_view); +void gtk_text_view_set_right_margin (GtkTextView *text_view, + gint right_margin); +gint gtk_text_view_get_right_margin (GtkTextView *text_view); +void gtk_text_view_set_indent (GtkTextView *text_view, + gint indent); +gint gtk_text_view_get_indent (GtkTextView *text_view); +void gtk_text_view_set_tabs (GtkTextView *text_view, + PangoTabArray *tabs); +PangoTabArray* gtk_text_view_get_tabs (GtkTextView *text_view); + +/* note that the return value of this changes with the theme */ +GtkTextAttributes* gtk_text_view_get_default_attributes (GtkTextView *text_view); + +G_END_DECLS + +#endif /* __GTK_TEXT_VIEW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkthemingengine.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkthemingengine.h new file mode 100644 index 0000000..8ea017d --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkthemingengine.h @@ -0,0 +1,260 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Carlos Garnacho + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_THEMING_ENGINE_H__ +#define __GTK_THEMING_ENGINE_H__ + +#include +#include + +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_THEMING_ENGINE (gtk_theming_engine_get_type ()) +#define GTK_THEMING_ENGINE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_THEMING_ENGINE, GtkThemingEngine)) +#define GTK_THEMING_ENGINE_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_THEMING_ENGINE, GtkThemingEngineClass)) +#define GTK_IS_THEMING_ENGINE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_THEMING_ENGINE)) +#define GTK_IS_THEMING_ENGINE_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_THEMING_ENGINE)) +#define GTK_THEMING_ENGINE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_THEMING_ENGINE, GtkThemingEngineClass)) + +typedef struct _GtkThemingEngine GtkThemingEngine; +typedef struct GtkThemingEnginePrivate GtkThemingEnginePrivate; +typedef struct _GtkThemingEngineClass GtkThemingEngineClass; + +struct _GtkThemingEngine +{ + GObject parent_object; + GtkThemingEnginePrivate *priv; +}; + +/** + * GtkThemingEngineClass: + * @parent_class: The parent class. + * @render_line: Renders a line between two points. + * @render_background: Renders the background area of a widget region. + * @render_frame: Renders the frame around a widget area. + * @render_frame_gap: Renders the frame around a widget area with a gap in it. + * @render_extension: Renders a extension to a box, usually a notebook tab. + * @render_check: Renders a checkmark, as in #GtkCheckButton. + * @render_option: Renders an option, as in #GtkRadioButton. + * @render_arrow: Renders an arrow pointing to a certain direction. + * @render_expander: Renders an element what will expose/expand part of + * the UI, as in #GtkExpander. + * @render_focus: Renders the focus indicator. + * @render_layout: Renders a #PangoLayout + * @render_slider: Renders a slider control, as in #GtkScale. + * @render_handle: Renders a handle to drag UI elements, as in #GtkPaned. + * @render_activity: Renders an area displaying activity, such as in #GtkSpinner, + * or #GtkProgressBar. + * @render_icon_pixbuf: Renders an icon as a #GdkPixbuf. + * @render_icon: Renders an icon given as a #GdkPixbuf. + * + * Base class for theming engines. + */ +struct _GtkThemingEngineClass +{ + GObjectClass parent_class; + + void (* render_line) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x0, + gdouble y0, + gdouble x1, + gdouble y1); + void (* render_background) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); + void (* render_frame) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); + void (* render_frame_gap) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height, + GtkPositionType gap_side, + gdouble xy0_gap, + gdouble xy1_gap); + void (* render_extension) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height, + GtkPositionType gap_side); + void (* render_check) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); + void (* render_option) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); + void (* render_arrow) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble angle, + gdouble x, + gdouble y, + gdouble size); + void (* render_expander) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); + void (* render_focus) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); + void (* render_layout) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + PangoLayout *layout); + void (* render_slider) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height, + GtkOrientation orientation); + void (* render_handle) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); + void (* render_activity) (GtkThemingEngine *engine, + cairo_t *cr, + gdouble x, + gdouble y, + gdouble width, + gdouble height); + + GdkPixbuf * (* render_icon_pixbuf) (GtkThemingEngine *engine, + const GtkIconSource *source, + GtkIconSize size); + void (* render_icon) (GtkThemingEngine *engine, + cairo_t *cr, + GdkPixbuf *pixbuf, + gdouble x, + gdouble y); + + /*< private >*/ + gpointer padding[15]; +}; + +GType gtk_theming_engine_get_type (void) G_GNUC_CONST; + +/* function implemented in gtkcsscustomproperty.c */ +void gtk_theming_engine_register_property (const gchar *name_space, + GtkStylePropertyParser parse_func, + GParamSpec *pspec); + +void gtk_theming_engine_get_property (GtkThemingEngine *engine, + const gchar *property, + GtkStateFlags state, + GValue *value); +void gtk_theming_engine_get_valist (GtkThemingEngine *engine, + GtkStateFlags state, + va_list args); +void gtk_theming_engine_get (GtkThemingEngine *engine, + GtkStateFlags state, + ...) G_GNUC_NULL_TERMINATED; + +void gtk_theming_engine_get_style_property (GtkThemingEngine *engine, + const gchar *property_name, + GValue *value); +void gtk_theming_engine_get_style_valist (GtkThemingEngine *engine, + va_list args); +void gtk_theming_engine_get_style (GtkThemingEngine *engine, + ...); + +gboolean gtk_theming_engine_lookup_color (GtkThemingEngine *engine, + const gchar *color_name, + GdkRGBA *color); + +const GtkWidgetPath * gtk_theming_engine_get_path (GtkThemingEngine *engine); + +gboolean gtk_theming_engine_has_class (GtkThemingEngine *engine, + const gchar *style_class); +gboolean gtk_theming_engine_has_region (GtkThemingEngine *engine, + const gchar *style_region, + GtkRegionFlags *flags); + +GtkStateFlags gtk_theming_engine_get_state (GtkThemingEngine *engine); +GDK_DEPRECATED_IN_3_6 +gboolean gtk_theming_engine_state_is_running (GtkThemingEngine *engine, + GtkStateType state, + gdouble *progress); + +GtkTextDirection gtk_theming_engine_get_direction (GtkThemingEngine *engine); + +GtkJunctionSides gtk_theming_engine_get_junction_sides (GtkThemingEngine *engine); + +/* Helper functions */ +void gtk_theming_engine_get_color (GtkThemingEngine *engine, + GtkStateFlags state, + GdkRGBA *color); +void gtk_theming_engine_get_background_color (GtkThemingEngine *engine, + GtkStateFlags state, + GdkRGBA *color); +void gtk_theming_engine_get_border_color (GtkThemingEngine *engine, + GtkStateFlags state, + GdkRGBA *color); + +void gtk_theming_engine_get_border (GtkThemingEngine *engine, + GtkStateFlags state, + GtkBorder *border); +void gtk_theming_engine_get_padding (GtkThemingEngine *engine, + GtkStateFlags state, + GtkBorder *padding); +void gtk_theming_engine_get_margin (GtkThemingEngine *engine, + GtkStateFlags state, + GtkBorder *margin); + +const PangoFontDescription * gtk_theming_engine_get_font (GtkThemingEngine *engine, + GtkStateFlags state); + +GtkThemingEngine * gtk_theming_engine_load (const gchar *name); + +GdkScreen * gtk_theming_engine_get_screen (GtkThemingEngine *engine); + +G_END_DECLS + +#endif /* __GTK_THEMING_ENGINE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktoggleaction.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktoggleaction.h new file mode 100644 index 0000000..a9af96f --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktoggleaction.h @@ -0,0 +1,92 @@ +/* + * GTK - The GIMP Toolkit + * Copyright (C) 1998, 1999 Red Hat, Inc. + * All rights reserved. + * + * This Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +/* + * Author: James Henstridge + * + * Modified by the GTK+ Team and others 2003. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TOGGLE_ACTION_H__ +#define __GTK_TOGGLE_ACTION_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TOGGLE_ACTION (gtk_toggle_action_get_type ()) +#define GTK_TOGGLE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOGGLE_ACTION, GtkToggleAction)) +#define GTK_TOGGLE_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOGGLE_ACTION, GtkToggleActionClass)) +#define GTK_IS_TOGGLE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOGGLE_ACTION)) +#define GTK_IS_TOGGLE_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_ACTION)) +#define GTK_TOGGLE_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TOGGLE_ACTION, GtkToggleActionClass)) + +typedef struct _GtkToggleAction GtkToggleAction; +typedef struct _GtkToggleActionPrivate GtkToggleActionPrivate; +typedef struct _GtkToggleActionClass GtkToggleActionClass; + +struct _GtkToggleAction +{ + GtkAction parent; + + /*< private >*/ + GtkToggleActionPrivate *private_data; +}; + +struct _GtkToggleActionClass +{ + GtkActionClass parent_class; + + void (* toggled) (GtkToggleAction *action); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_toggle_action_get_type (void) G_GNUC_CONST; +GtkToggleAction *gtk_toggle_action_new (const gchar *name, + const gchar *label, + const gchar *tooltip, + const gchar *stock_id); +void gtk_toggle_action_toggled (GtkToggleAction *action); +void gtk_toggle_action_set_active (GtkToggleAction *action, + gboolean is_active); +gboolean gtk_toggle_action_get_active (GtkToggleAction *action); +void gtk_toggle_action_set_draw_as_radio (GtkToggleAction *action, + gboolean draw_as_radio); +gboolean gtk_toggle_action_get_draw_as_radio (GtkToggleAction *action); + +/* private */ +void _gtk_toggle_action_set_active (GtkToggleAction *toggle_action, + gboolean is_active); + + +G_END_DECLS + +#endif /* __GTK_TOGGLE_ACTION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktogglebutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktogglebutton.h new file mode 100644 index 0000000..3d6c516 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktogglebutton.h @@ -0,0 +1,93 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TOGGLE_BUTTON_H__ +#define __GTK_TOGGLE_BUTTON_H__ + + +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_TOGGLE_BUTTON (gtk_toggle_button_get_type ()) +#define GTK_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButton)) +#define GTK_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass)) +#define GTK_IS_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOGGLE_BUTTON)) +#define GTK_IS_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_BUTTON)) +#define GTK_TOGGLE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass)) + +typedef struct _GtkToggleButton GtkToggleButton; +typedef struct _GtkToggleButtonPrivate GtkToggleButtonPrivate; +typedef struct _GtkToggleButtonClass GtkToggleButtonClass; + +struct _GtkToggleButton +{ + /*< private >*/ + GtkButton button; + + GtkToggleButtonPrivate *priv; +}; + +struct _GtkToggleButtonClass +{ + GtkButtonClass parent_class; + + void (* toggled) (GtkToggleButton *toggle_button); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_toggle_button_get_type (void) G_GNUC_CONST; + +GtkWidget* gtk_toggle_button_new (void); +GtkWidget* gtk_toggle_button_new_with_label (const gchar *label); +GtkWidget* gtk_toggle_button_new_with_mnemonic (const gchar *label); +void gtk_toggle_button_set_mode (GtkToggleButton *toggle_button, + gboolean draw_indicator); +gboolean gtk_toggle_button_get_mode (GtkToggleButton *toggle_button); +void gtk_toggle_button_set_active (GtkToggleButton *toggle_button, + gboolean is_active); +gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button); +void gtk_toggle_button_toggled (GtkToggleButton *toggle_button); +void gtk_toggle_button_set_inconsistent (GtkToggleButton *toggle_button, + gboolean setting); +gboolean gtk_toggle_button_get_inconsistent (GtkToggleButton *toggle_button); + +void _gtk_toggle_button_set_active (GtkToggleButton *toggle_button, + gboolean is_active); + + +G_END_DECLS + +#endif /* __GTK_TOGGLE_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktoggletoolbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktoggletoolbutton.h new file mode 100644 index 0000000..0ef029c --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktoggletoolbutton.h @@ -0,0 +1,75 @@ +/* gtktoggletoolbutton.h + * + * Copyright (C) 2002 Anders Carlsson + * Copyright (C) 2002 James Henstridge + * Copyright (C) 2003 Soeren Sandmann + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TOGGLE_TOOL_BUTTON_H__ +#define __GTK_TOGGLE_TOOL_BUTTON_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TOGGLE_TOOL_BUTTON (gtk_toggle_tool_button_get_type ()) +#define GTK_TOGGLE_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON, GtkToggleToolButton)) +#define GTK_TOGGLE_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOGGLE_TOOL_BUTTON, GtkToggleToolButtonClass)) +#define GTK_IS_TOGGLE_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON)) +#define GTK_IS_TOGGLE_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_TOOL_BUTTON)) +#define GTK_TOGGLE_TOOL_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON, GtkToggleToolButtonClass)) + +typedef struct _GtkToggleToolButton GtkToggleToolButton; +typedef struct _GtkToggleToolButtonClass GtkToggleToolButtonClass; +typedef struct _GtkToggleToolButtonPrivate GtkToggleToolButtonPrivate; + +struct _GtkToggleToolButton +{ + GtkToolButton parent; + + /*< private >*/ + GtkToggleToolButtonPrivate *priv; +}; + +struct _GtkToggleToolButtonClass +{ + GtkToolButtonClass parent_class; + + /* signal */ + void (* toggled) (GtkToggleToolButton *button); + + /* Padding for future expansion */ + void (* _gtk_reserved1) (void); + void (* _gtk_reserved2) (void); + void (* _gtk_reserved3) (void); + void (* _gtk_reserved4) (void); +}; + +GType gtk_toggle_tool_button_get_type (void) G_GNUC_CONST; +GtkToolItem *gtk_toggle_tool_button_new (void); +GtkToolItem *gtk_toggle_tool_button_new_from_stock (const gchar *stock_id); + +void gtk_toggle_tool_button_set_active (GtkToggleToolButton *button, + gboolean is_active); +gboolean gtk_toggle_tool_button_get_active (GtkToggleToolButton *button); + +G_END_DECLS + +#endif /* __GTK_TOGGLE_TOOL_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktoolbar.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolbar.h new file mode 100644 index 0000000..ce5186a --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolbar.h @@ -0,0 +1,135 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * GtkToolbar copyright (C) Federico Mena + * + * Copyright (C) 2002 Anders Carlsson + * Copyright (C) 2002 James Henstridge + * Copyright (C) 2003 Soeren Sandmann + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TOOLBAR_H__ +#define __GTK_TOOLBAR_H__ + + +#include +#include + +G_BEGIN_DECLS + + +#define GTK_TYPE_TOOLBAR (gtk_toolbar_get_type ()) +#define GTK_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOLBAR, GtkToolbar)) +#define GTK_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOOLBAR, GtkToolbarClass)) +#define GTK_IS_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOLBAR)) +#define GTK_IS_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOOLBAR)) +#define GTK_TOOLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOOLBAR, GtkToolbarClass)) + +typedef enum +{ + GTK_TOOLBAR_SPACE_EMPTY, + GTK_TOOLBAR_SPACE_LINE +} GtkToolbarSpaceStyle; + +typedef struct _GtkToolbar GtkToolbar; +typedef struct _GtkToolbarPrivate GtkToolbarPrivate; +typedef struct _GtkToolbarClass GtkToolbarClass; + +struct _GtkToolbar +{ + GtkContainer container; + + GtkToolbarPrivate *priv; +}; + +struct _GtkToolbarClass +{ + GtkContainerClass parent_class; + + /* signals */ + void (* orientation_changed) (GtkToolbar *toolbar, + GtkOrientation orientation); + void (* style_changed) (GtkToolbar *toolbar, + GtkToolbarStyle style); + gboolean (* popup_context_menu) (GtkToolbar *toolbar, + gint x, + gint y, + gint button_number); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_toolbar_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_toolbar_new (void); + +void gtk_toolbar_insert (GtkToolbar *toolbar, + GtkToolItem *item, + gint pos); + +gint gtk_toolbar_get_item_index (GtkToolbar *toolbar, + GtkToolItem *item); +gint gtk_toolbar_get_n_items (GtkToolbar *toolbar); +GtkToolItem * gtk_toolbar_get_nth_item (GtkToolbar *toolbar, + gint n); + +gboolean gtk_toolbar_get_show_arrow (GtkToolbar *toolbar); +void gtk_toolbar_set_show_arrow (GtkToolbar *toolbar, + gboolean show_arrow); + +GtkToolbarStyle gtk_toolbar_get_style (GtkToolbar *toolbar); +void gtk_toolbar_set_style (GtkToolbar *toolbar, + GtkToolbarStyle style); +void gtk_toolbar_unset_style (GtkToolbar *toolbar); + +GtkIconSize gtk_toolbar_get_icon_size (GtkToolbar *toolbar); +void gtk_toolbar_set_icon_size (GtkToolbar *toolbar, + GtkIconSize icon_size); +void gtk_toolbar_unset_icon_size (GtkToolbar *toolbar); + +GtkReliefStyle gtk_toolbar_get_relief_style (GtkToolbar *toolbar); +gint gtk_toolbar_get_drop_index (GtkToolbar *toolbar, + gint x, + gint y); +void gtk_toolbar_set_drop_highlight_item (GtkToolbar *toolbar, + GtkToolItem *tool_item, + gint index_); + + +/* internal functions */ +gchar * _gtk_toolbar_elide_underscores (const gchar *original); +void _gtk_toolbar_paint_space_line (GtkWidget *widget, + GtkToolbar *toolbar, + cairo_t *cr); +gint _gtk_toolbar_get_default_space_size (void); + + +G_END_DECLS + +#endif /* __GTK_TOOLBAR_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktoolbutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolbutton.h new file mode 100644 index 0000000..e9d3734 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolbutton.h @@ -0,0 +1,97 @@ +/* gtktoolbutton.h + * + * Copyright (C) 2002 Anders Carlsson + * Copyright (C) 2002 James Henstridge + * Copyright (C) 2003 Soeren Sandmann + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TOOL_BUTTON_H__ +#define __GTK_TOOL_BUTTON_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TOOL_BUTTON (gtk_tool_button_get_type ()) +#define GTK_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButton)) +#define GTK_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOOL_BUTTON, GtkToolButtonClass)) +#define GTK_IS_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOL_BUTTON)) +#define GTK_IS_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOOL_BUTTON)) +#define GTK_TOOL_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButtonClass)) + +typedef struct _GtkToolButton GtkToolButton; +typedef struct _GtkToolButtonClass GtkToolButtonClass; +typedef struct _GtkToolButtonPrivate GtkToolButtonPrivate; + +struct _GtkToolButton +{ + GtkToolItem parent; + + /*< private >*/ + GtkToolButtonPrivate *priv; +}; + +struct _GtkToolButtonClass +{ + GtkToolItemClass parent_class; + + GType button_type; + + /* signal */ + void (* clicked) (GtkToolButton *tool_item); + + /* Padding for future expansion */ + void (* _gtk_reserved1) (void); + void (* _gtk_reserved2) (void); + void (* _gtk_reserved3) (void); + void (* _gtk_reserved4) (void); +}; + +GType gtk_tool_button_get_type (void) G_GNUC_CONST; +GtkToolItem *gtk_tool_button_new (GtkWidget *icon_widget, + const gchar *label); +GtkToolItem *gtk_tool_button_new_from_stock (const gchar *stock_id); + +void gtk_tool_button_set_label (GtkToolButton *button, + const gchar *label); +const gchar * gtk_tool_button_get_label (GtkToolButton *button); +void gtk_tool_button_set_use_underline (GtkToolButton *button, + gboolean use_underline); +gboolean gtk_tool_button_get_use_underline (GtkToolButton *button); +void gtk_tool_button_set_stock_id (GtkToolButton *button, + const gchar *stock_id); +const gchar * gtk_tool_button_get_stock_id (GtkToolButton *button); +void gtk_tool_button_set_icon_name (GtkToolButton *button, + const gchar *icon_name); +const gchar * gtk_tool_button_get_icon_name (GtkToolButton *button); +void gtk_tool_button_set_icon_widget (GtkToolButton *button, + GtkWidget *icon_widget); +GtkWidget * gtk_tool_button_get_icon_widget (GtkToolButton *button); +void gtk_tool_button_set_label_widget (GtkToolButton *button, + GtkWidget *label_widget); +GtkWidget * gtk_tool_button_get_label_widget (GtkToolButton *button); + + +/* internal function */ +GtkWidget *_gtk_tool_button_get_button (GtkToolButton *button); + +G_END_DECLS + +#endif /* __GTK_TOOL_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktoolitem.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolitem.h new file mode 100644 index 0000000..3a706b2 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolitem.h @@ -0,0 +1,124 @@ +/* gtktoolitem.c + * + * Copyright (C) 2002 Anders Carlsson + * Copyright (C) 2002 James Henstridge + * Copyright (C) 2003 Soeren Sandmann + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TOOL_ITEM_H__ +#define __GTK_TOOL_ITEM_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TOOL_ITEM (gtk_tool_item_get_type ()) +#define GTK_TOOL_ITEM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_TOOL_ITEM, GtkToolItem)) +#define GTK_TOOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOOL_ITEM, GtkToolItemClass)) +#define GTK_IS_TOOL_ITEM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_TOOL_ITEM)) +#define GTK_IS_TOOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOOL_ITEM)) +#define GTK_TOOL_ITEM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), GTK_TYPE_TOOL_ITEM, GtkToolItemClass)) + +typedef struct _GtkToolItem GtkToolItem; +typedef struct _GtkToolItemClass GtkToolItemClass; +typedef struct _GtkToolItemPrivate GtkToolItemPrivate; + +struct _GtkToolItem +{ + GtkBin parent; + + /*< private >*/ + GtkToolItemPrivate *priv; +}; + +struct _GtkToolItemClass +{ + GtkBinClass parent_class; + + /* signals */ + gboolean (* create_menu_proxy) (GtkToolItem *tool_item); + void (* toolbar_reconfigured) (GtkToolItem *tool_item); + + /* Padding for future expansion */ + void (* _gtk_reserved1) (void); + void (* _gtk_reserved2) (void); + void (* _gtk_reserved3) (void); + void (* _gtk_reserved4) (void); +}; + +GType gtk_tool_item_get_type (void) G_GNUC_CONST; +GtkToolItem *gtk_tool_item_new (void); + +void gtk_tool_item_set_homogeneous (GtkToolItem *tool_item, + gboolean homogeneous); +gboolean gtk_tool_item_get_homogeneous (GtkToolItem *tool_item); + +void gtk_tool_item_set_expand (GtkToolItem *tool_item, + gboolean expand); +gboolean gtk_tool_item_get_expand (GtkToolItem *tool_item); +void gtk_tool_item_set_tooltip_text (GtkToolItem *tool_item, + const gchar *text); +void gtk_tool_item_set_tooltip_markup (GtkToolItem *tool_item, + const gchar *markup); + +void gtk_tool_item_set_use_drag_window (GtkToolItem *tool_item, + gboolean use_drag_window); +gboolean gtk_tool_item_get_use_drag_window (GtkToolItem *tool_item); + +void gtk_tool_item_set_visible_horizontal (GtkToolItem *tool_item, + gboolean visible_horizontal); +gboolean gtk_tool_item_get_visible_horizontal (GtkToolItem *tool_item); + +void gtk_tool_item_set_visible_vertical (GtkToolItem *tool_item, + gboolean visible_vertical); +gboolean gtk_tool_item_get_visible_vertical (GtkToolItem *tool_item); + +gboolean gtk_tool_item_get_is_important (GtkToolItem *tool_item); +void gtk_tool_item_set_is_important (GtkToolItem *tool_item, + gboolean is_important); + +PangoEllipsizeMode gtk_tool_item_get_ellipsize_mode (GtkToolItem *tool_item); +GtkIconSize gtk_tool_item_get_icon_size (GtkToolItem *tool_item); +GtkOrientation gtk_tool_item_get_orientation (GtkToolItem *tool_item); +GtkToolbarStyle gtk_tool_item_get_toolbar_style (GtkToolItem *tool_item); +GtkReliefStyle gtk_tool_item_get_relief_style (GtkToolItem *tool_item); +gfloat gtk_tool_item_get_text_alignment (GtkToolItem *tool_item); +GtkOrientation gtk_tool_item_get_text_orientation (GtkToolItem *tool_item); +GtkSizeGroup * gtk_tool_item_get_text_size_group (GtkToolItem *tool_item); + +GtkWidget * gtk_tool_item_retrieve_proxy_menu_item (GtkToolItem *tool_item); +GtkWidget * gtk_tool_item_get_proxy_menu_item (GtkToolItem *tool_item, + const gchar *menu_item_id); +void gtk_tool_item_set_proxy_menu_item (GtkToolItem *tool_item, + const gchar *menu_item_id, + GtkWidget *menu_item); +void gtk_tool_item_rebuild_menu (GtkToolItem *tool_item); + +void gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item); + +/* private */ + +gboolean _gtk_tool_item_create_menu_proxy (GtkToolItem *tool_item); + +G_END_DECLS + +#endif /* __GTK_TOOL_ITEM_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktoolitemgroup.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolitemgroup.h new file mode 100644 index 0000000..350728e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolitemgroup.h @@ -0,0 +1,104 @@ +/* GtkToolPalette -- A tool palette with categories and DnD support + * Copyright (C) 2008 Openismus GmbH + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Authors: + * Mathias Hasselmann + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TOOL_ITEM_GROUP_H__ +#define __GTK_TOOL_ITEM_GROUP_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TOOL_ITEM_GROUP (gtk_tool_item_group_get_type ()) +#define GTK_TOOL_ITEM_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GTK_TYPE_TOOL_ITEM_GROUP, GtkToolItemGroup)) +#define GTK_TOOL_ITEM_GROUP_CLASS(cls) (G_TYPE_CHECK_CLASS_CAST (cls, GTK_TYPE_TOOL_ITEM_GROUP, GtkToolItemGroupClass)) +#define GTK_IS_TOOL_ITEM_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GTK_TYPE_TOOL_ITEM_GROUP)) +#define GTK_IS_TOOL_ITEM_GROUP_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE (obj, GTK_TYPE_TOOL_ITEM_GROUP)) +#define GTK_TOOL_ITEM_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOOL_ITEM_GROUP, GtkToolItemGroupClass)) + +typedef struct _GtkToolItemGroup GtkToolItemGroup; +typedef struct _GtkToolItemGroupClass GtkToolItemGroupClass; +typedef struct _GtkToolItemGroupPrivate GtkToolItemGroupPrivate; + +/** + * GtkToolItemGroup: + * + * This should not be accessed directly. Use the accessor functions below. + */ +struct _GtkToolItemGroup +{ + GtkContainer parent_instance; + GtkToolItemGroupPrivate *priv; +}; + +struct _GtkToolItemGroupClass +{ + GtkContainerClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_tool_item_group_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_tool_item_group_new (const gchar *label); + +void gtk_tool_item_group_set_label (GtkToolItemGroup *group, + const gchar *label); +void gtk_tool_item_group_set_label_widget (GtkToolItemGroup *group, + GtkWidget *label_widget); +void gtk_tool_item_group_set_collapsed (GtkToolItemGroup *group, + gboolean collapsed); +void gtk_tool_item_group_set_ellipsize (GtkToolItemGroup *group, + PangoEllipsizeMode ellipsize); +void gtk_tool_item_group_set_header_relief (GtkToolItemGroup *group, + GtkReliefStyle style); + +const gchar * gtk_tool_item_group_get_label (GtkToolItemGroup *group); +GtkWidget *gtk_tool_item_group_get_label_widget (GtkToolItemGroup *group); +gboolean gtk_tool_item_group_get_collapsed (GtkToolItemGroup *group); +PangoEllipsizeMode gtk_tool_item_group_get_ellipsize (GtkToolItemGroup *group); +GtkReliefStyle gtk_tool_item_group_get_header_relief (GtkToolItemGroup *group); + +void gtk_tool_item_group_insert (GtkToolItemGroup *group, + GtkToolItem *item, + gint position); +void gtk_tool_item_group_set_item_position (GtkToolItemGroup *group, + GtkToolItem *item, + gint position); +gint gtk_tool_item_group_get_item_position (GtkToolItemGroup *group, + GtkToolItem *item); + +guint gtk_tool_item_group_get_n_items (GtkToolItemGroup *group); +GtkToolItem* gtk_tool_item_group_get_nth_item (GtkToolItemGroup *group, + guint index); +GtkToolItem* gtk_tool_item_group_get_drop_item (GtkToolItemGroup *group, + gint x, + gint y); + +G_END_DECLS + +#endif /* __GTK_TOOL_ITEM_GROUP_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktoolpalette.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolpalette.h new file mode 100644 index 0000000..88e2b01 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolpalette.h @@ -0,0 +1,140 @@ +/* GtkToolPalette -- A tool palette with categories and DnD support + * Copyright (C) 2008 Openismus GmbH + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Authors: + * Mathias Hasselmann + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TOOL_PALETTE_H__ +#define __GTK_TOOL_PALETTE_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TOOL_PALETTE (gtk_tool_palette_get_type ()) +#define GTK_TOOL_PALETTE(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GTK_TYPE_TOOL_PALETTE, GtkToolPalette)) +#define GTK_TOOL_PALETTE_CLASS(cls) (G_TYPE_CHECK_CLASS_CAST (cls, GTK_TYPE_TOOL_PALETTE, GtkToolPaletteClass)) +#define GTK_IS_TOOL_PALETTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GTK_TYPE_TOOL_PALETTE)) +#define GTK_IS_TOOL_PALETTE_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE (obj, GTK_TYPE_TOOL_PALETTE)) +#define GTK_TOOL_PALETTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOOL_PALETTE, GtkToolPaletteClass)) + +typedef struct _GtkToolPalette GtkToolPalette; +typedef struct _GtkToolPaletteClass GtkToolPaletteClass; +typedef struct _GtkToolPalettePrivate GtkToolPalettePrivate; + +/** + * GtkToolPaletteDragTargets: + * @GTK_TOOL_PALETTE_DRAG_ITEMS: Support drag of items. + * @GTK_TOOL_PALETTE_DRAG_GROUPS: Support drag of groups. + * + * Flags used to specify the supported drag targets. + */ +typedef enum /*< flags >*/ +{ + GTK_TOOL_PALETTE_DRAG_ITEMS = (1 << 0), + GTK_TOOL_PALETTE_DRAG_GROUPS = (1 << 1) +} +GtkToolPaletteDragTargets; + +/** + * GtkToolPalette: + * + * This should not be accessed directly. Use the accessor functions below. + */ +struct _GtkToolPalette +{ + GtkContainer parent_instance; + GtkToolPalettePrivate *priv; +}; + +struct _GtkToolPaletteClass +{ + GtkContainerClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_tool_palette_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_tool_palette_new (void); + +void gtk_tool_palette_set_group_position (GtkToolPalette *palette, + GtkToolItemGroup *group, + gint position); +void gtk_tool_palette_set_exclusive (GtkToolPalette *palette, + GtkToolItemGroup *group, + gboolean exclusive); +void gtk_tool_palette_set_expand (GtkToolPalette *palette, + GtkToolItemGroup *group, + gboolean expand); + +gint gtk_tool_palette_get_group_position (GtkToolPalette *palette, + GtkToolItemGroup *group); +gboolean gtk_tool_palette_get_exclusive (GtkToolPalette *palette, + GtkToolItemGroup *group); +gboolean gtk_tool_palette_get_expand (GtkToolPalette *palette, + GtkToolItemGroup *group); + +void gtk_tool_palette_set_icon_size (GtkToolPalette *palette, + GtkIconSize icon_size); +void gtk_tool_palette_unset_icon_size (GtkToolPalette *palette); +void gtk_tool_palette_set_style (GtkToolPalette *palette, + GtkToolbarStyle style); +void gtk_tool_palette_unset_style (GtkToolPalette *palette); + +GtkIconSize gtk_tool_palette_get_icon_size (GtkToolPalette *palette); +GtkToolbarStyle gtk_tool_palette_get_style (GtkToolPalette *palette); + +GtkToolItem* gtk_tool_palette_get_drop_item (GtkToolPalette *palette, + gint x, + gint y); +GtkToolItemGroup* gtk_tool_palette_get_drop_group (GtkToolPalette *palette, + gint x, + gint y); +GtkWidget* gtk_tool_palette_get_drag_item (GtkToolPalette *palette, + const GtkSelectionData *selection); + +void gtk_tool_palette_set_drag_source (GtkToolPalette *palette, + GtkToolPaletteDragTargets targets); +void gtk_tool_palette_add_drag_dest (GtkToolPalette *palette, + GtkWidget *widget, + GtkDestDefaults flags, + GtkToolPaletteDragTargets targets, + GdkDragAction actions); + + +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment) +GtkAdjustment* gtk_tool_palette_get_hadjustment (GtkToolPalette *palette); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment) +GtkAdjustment* gtk_tool_palette_get_vadjustment (GtkToolPalette *palette); + +const GtkTargetEntry* gtk_tool_palette_get_drag_target_item (void) G_GNUC_CONST; +const GtkTargetEntry* gtk_tool_palette_get_drag_target_group (void) G_GNUC_CONST; + + +G_END_DECLS + +#endif /* __GTK_TOOL_PALETTE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktoolshell.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolshell.h new file mode 100644 index 0000000..effa171 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktoolshell.h @@ -0,0 +1,89 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2007 Openismus GmbH + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + * + * Author: + * Mathias Hasselmann + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TOOL_SHELL_H__ +#define __GTK_TOOL_SHELL_H__ + + +#include +#include +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_TOOL_SHELL (gtk_tool_shell_get_type ()) +#define GTK_TOOL_SHELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_SHELL, GtkToolShell)) +#define GTK_IS_TOOL_SHELL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOL_SHELL)) +#define GTK_TOOL_SHELL_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TOOL_SHELL, GtkToolShellIface)) + +typedef struct _GtkToolShell GtkToolShell; /* dummy typedef */ +typedef struct _GtkToolShellIface GtkToolShellIface; + +/** + * GtkToolShellIface: + * @get_icon_size: mandatory implementation of gtk_tool_shell_get_icon_size(). + * @get_orientation: mandatory implementation of gtk_tool_shell_get_orientation(). + * @get_style: mandatory implementation of gtk_tool_shell_get_style(). + * @get_relief_style: optional implementation of gtk_tool_shell_get_relief_style(). + * @rebuild_menu: optional implementation of gtk_tool_shell_rebuild_menu(). + * @get_text_orientation: optional implementation of gtk_tool_shell_get_text_orientation(). + * @get_text_alignment: optional implementation of gtk_tool_shell_get_text_alignment(). + * @get_ellipsize_mode: optional implementation of gtk_tool_shell_get_ellipsize_mode(). + * @get_text_size_group: optional implementation of gtk_tool_shell_get_text_size_group(). + * + * Virtual function table for the #GtkToolShell interface. + */ +struct _GtkToolShellIface +{ + /*< private >*/ + GTypeInterface g_iface; + + /*< public >*/ + GtkIconSize (*get_icon_size) (GtkToolShell *shell); + GtkOrientation (*get_orientation) (GtkToolShell *shell); + GtkToolbarStyle (*get_style) (GtkToolShell *shell); + GtkReliefStyle (*get_relief_style) (GtkToolShell *shell); + void (*rebuild_menu) (GtkToolShell *shell); + GtkOrientation (*get_text_orientation) (GtkToolShell *shell); + gfloat (*get_text_alignment) (GtkToolShell *shell); + PangoEllipsizeMode (*get_ellipsize_mode) (GtkToolShell *shell); + GtkSizeGroup * (*get_text_size_group) (GtkToolShell *shell); +}; + +GType gtk_tool_shell_get_type (void) G_GNUC_CONST; + +GtkIconSize gtk_tool_shell_get_icon_size (GtkToolShell *shell); +GtkOrientation gtk_tool_shell_get_orientation (GtkToolShell *shell); +GtkToolbarStyle gtk_tool_shell_get_style (GtkToolShell *shell); +GtkReliefStyle gtk_tool_shell_get_relief_style (GtkToolShell *shell); +void gtk_tool_shell_rebuild_menu (GtkToolShell *shell); +GtkOrientation gtk_tool_shell_get_text_orientation (GtkToolShell *shell); +gfloat gtk_tool_shell_get_text_alignment (GtkToolShell *shell); +PangoEllipsizeMode gtk_tool_shell_get_ellipsize_mode (GtkToolShell *shell); +GtkSizeGroup * gtk_tool_shell_get_text_size_group (GtkToolShell *shell); + +G_END_DECLS + +#endif /* __GTK_TOOL_SHELL_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktooltip.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktooltip.h new file mode 100644 index 0000000..ab8f3eb --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktooltip.h @@ -0,0 +1,75 @@ +/* gtktooltip.h + * + * Copyright (C) 2006-2007 Imendio AB + * Contact: Kristian Rietveld + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TOOLTIP_H__ +#define __GTK_TOOLTIP_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TOOLTIP (gtk_tooltip_get_type ()) +#define GTK_TOOLTIP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOLTIP, GtkTooltip)) +#define GTK_IS_TOOLTIP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOLTIP)) + +GType gtk_tooltip_get_type (void); + +void gtk_tooltip_set_markup (GtkTooltip *tooltip, + const gchar *markup); +void gtk_tooltip_set_text (GtkTooltip *tooltip, + const gchar *text); +void gtk_tooltip_set_icon (GtkTooltip *tooltip, + GdkPixbuf *pixbuf); +void gtk_tooltip_set_icon_from_stock (GtkTooltip *tooltip, + const gchar *stock_id, + GtkIconSize size); +void gtk_tooltip_set_icon_from_icon_name (GtkTooltip *tooltip, + const gchar *icon_name, + GtkIconSize size); +void gtk_tooltip_set_icon_from_gicon (GtkTooltip *tooltip, + GIcon *gicon, + GtkIconSize size); +void gtk_tooltip_set_custom (GtkTooltip *tooltip, + GtkWidget *custom_widget); + +void gtk_tooltip_set_tip_area (GtkTooltip *tooltip, + const GdkRectangle *rect); + +void gtk_tooltip_trigger_tooltip_query (GdkDisplay *display); + + +void _gtk_tooltip_focus_in (GtkWidget *widget); +void _gtk_tooltip_focus_out (GtkWidget *widget); +void _gtk_tooltip_toggle_keyboard_mode (GtkWidget *widget); +void _gtk_tooltip_handle_event (GdkEvent *event); +void _gtk_tooltip_hide (GtkWidget *widget); + +GtkWidget * _gtk_widget_find_at_coords (GdkWindow *window, + gint window_x, + gint window_y, + gint *widget_x, + gint *widget_y); + +G_END_DECLS + +#endif /* __GTK_TOOLTIP_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktreednd.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktreednd.h new file mode 100644 index 0000000..98ba618 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktreednd.h @@ -0,0 +1,123 @@ +/* gtktreednd.h + * Copyright (C) 2001 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TREE_DND_H__ +#define __GTK_TREE_DND_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TREE_DRAG_SOURCE (gtk_tree_drag_source_get_type ()) +#define GTK_TREE_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_DRAG_SOURCE, GtkTreeDragSource)) +#define GTK_IS_TREE_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_DRAG_SOURCE)) +#define GTK_TREE_DRAG_SOURCE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_DRAG_SOURCE, GtkTreeDragSourceIface)) + +typedef struct _GtkTreeDragSource GtkTreeDragSource; /* Dummy typedef */ +typedef struct _GtkTreeDragSourceIface GtkTreeDragSourceIface; + +struct _GtkTreeDragSourceIface +{ + GTypeInterface g_iface; + + /* VTable - not signals */ + + gboolean (* row_draggable) (GtkTreeDragSource *drag_source, + GtkTreePath *path); + + gboolean (* drag_data_get) (GtkTreeDragSource *drag_source, + GtkTreePath *path, + GtkSelectionData *selection_data); + + gboolean (* drag_data_delete) (GtkTreeDragSource *drag_source, + GtkTreePath *path); +}; + +GType gtk_tree_drag_source_get_type (void) G_GNUC_CONST; + +/* Returns whether the given row can be dragged */ +gboolean gtk_tree_drag_source_row_draggable (GtkTreeDragSource *drag_source, + GtkTreePath *path); + +/* Deletes the given row, or returns FALSE if it can't */ +gboolean gtk_tree_drag_source_drag_data_delete (GtkTreeDragSource *drag_source, + GtkTreePath *path); + +/* Fills in selection_data with type selection_data->target based on + * the row denoted by path, returns TRUE if it does anything + */ +gboolean gtk_tree_drag_source_drag_data_get (GtkTreeDragSource *drag_source, + GtkTreePath *path, + GtkSelectionData *selection_data); + +#define GTK_TYPE_TREE_DRAG_DEST (gtk_tree_drag_dest_get_type ()) +#define GTK_TREE_DRAG_DEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_DRAG_DEST, GtkTreeDragDest)) +#define GTK_IS_TREE_DRAG_DEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_DRAG_DEST)) +#define GTK_TREE_DRAG_DEST_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_DRAG_DEST, GtkTreeDragDestIface)) + +typedef struct _GtkTreeDragDest GtkTreeDragDest; /* Dummy typedef */ +typedef struct _GtkTreeDragDestIface GtkTreeDragDestIface; + +struct _GtkTreeDragDestIface +{ + GTypeInterface g_iface; + + /* VTable - not signals */ + + gboolean (* drag_data_received) (GtkTreeDragDest *drag_dest, + GtkTreePath *dest, + GtkSelectionData *selection_data); + + gboolean (* row_drop_possible) (GtkTreeDragDest *drag_dest, + GtkTreePath *dest_path, + GtkSelectionData *selection_data); +}; + +GType gtk_tree_drag_dest_get_type (void) G_GNUC_CONST; + +/* Inserts a row before dest which contains data in selection_data, + * or returns FALSE if it can't + */ +gboolean gtk_tree_drag_dest_drag_data_received (GtkTreeDragDest *drag_dest, + GtkTreePath *dest, + GtkSelectionData *selection_data); + + +/* Returns TRUE if we can drop before path; path may not exist. */ +gboolean gtk_tree_drag_dest_row_drop_possible (GtkTreeDragDest *drag_dest, + GtkTreePath *dest_path, + GtkSelectionData *selection_data); + + +/* The selection data would normally have target type GTK_TREE_MODEL_ROW in this + * case. If the target is wrong these functions return FALSE. + */ +gboolean gtk_tree_set_row_drag_data (GtkSelectionData *selection_data, + GtkTreeModel *tree_model, + GtkTreePath *path); +gboolean gtk_tree_get_row_drag_data (GtkSelectionData *selection_data, + GtkTreeModel **tree_model, + GtkTreePath **path); + +G_END_DECLS + +#endif /* __GTK_TREE_DND_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktreemodel.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktreemodel.h new file mode 100644 index 0000000..ea81a21 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktreemodel.h @@ -0,0 +1,302 @@ +/* gtktreemodel.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TREE_MODEL_H__ +#define __GTK_TREE_MODEL_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TREE_MODEL (gtk_tree_model_get_type ()) +#define GTK_TREE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModel)) +#define GTK_IS_TREE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL)) +#define GTK_TREE_MODEL_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModelIface)) + +#define GTK_TYPE_TREE_ITER (gtk_tree_iter_get_type ()) +#define GTK_TYPE_TREE_PATH (gtk_tree_path_get_type ()) +#define GTK_TYPE_TREE_ROW_REFERENCE (gtk_tree_row_reference_get_type ()) + +typedef struct _GtkTreeIter GtkTreeIter; +typedef struct _GtkTreePath GtkTreePath; +typedef struct _GtkTreeRowReference GtkTreeRowReference; +typedef struct _GtkTreeModel GtkTreeModel; /* Dummy typedef */ +typedef struct _GtkTreeModelIface GtkTreeModelIface; + +/** + * GtkTreeModelForeachFunc: + * @model: the #GtkTreeModel being iterated + * @path: the current #GtkTreePath + * @iter: the current #GtkTreeIter + * @data: The user data passed to gtk_tree_model_foreach() + * + * Type of the callback passed to gtk_tree_model_foreach() to + * iterate over the rows in a tree model. + * + * Return value: %TRUE to stop iterating, %FALSE to continue + * + */ +typedef gboolean (* GtkTreeModelForeachFunc) (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data); + +/** + * GtkTreeModelFlags: + * @GTK_TREE_MODEL_ITERS_PERSIST: iterators survive all signals + * emitted by the tree + * @GTK_TREE_MODEL_LIST_ONLY: the model is a list only, and never + * has children + * + * These flags indicate various properties of a #GtkTreeModel. + * + * They are returned by gtk_tree_model_get_flags(), and must be + * static for the lifetime of the object. A more complete description + * of #GTK_TREE_MODEL_ITERS_PERSIST can be found in the overview of + * this section. + */ +typedef enum +{ + GTK_TREE_MODEL_ITERS_PERSIST = 1 << 0, + GTK_TREE_MODEL_LIST_ONLY = 1 << 1 +} GtkTreeModelFlags; + +/** + * GtkTreeIter: + * @stamp: a unique stamp to catch invalid iterators + * @user_data: model-specific data + * @user_data2: model-specific data + * @user_data3: model-specific data + * + * The GtkTreeIter is the primary structure + * for accessing a #GtkTreeModel. Models are expected to put a unique + * integer in the stamp member, and put + * model-specific data in the three user_data + * members. + */ +struct _GtkTreeIter +{ + gint stamp; + gpointer user_data; + gpointer user_data2; + gpointer user_data3; +}; + +struct _GtkTreeModelIface +{ + GTypeInterface g_iface; + + /* Signals */ + void (* row_changed) (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter); + void (* row_inserted) (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter); + void (* row_has_child_toggled) (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter); + void (* row_deleted) (GtkTreeModel *tree_model, + GtkTreePath *path); + void (* rows_reordered) (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter, + gint *new_order); + + /* Virtual Table */ + GtkTreeModelFlags (* get_flags) (GtkTreeModel *tree_model); + + gint (* get_n_columns) (GtkTreeModel *tree_model); + GType (* get_column_type) (GtkTreeModel *tree_model, + gint index_); + gboolean (* get_iter) (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreePath *path); + GtkTreePath *(* get_path) (GtkTreeModel *tree_model, + GtkTreeIter *iter); + void (* get_value) (GtkTreeModel *tree_model, + GtkTreeIter *iter, + gint column, + GValue *value); + gboolean (* iter_next) (GtkTreeModel *tree_model, + GtkTreeIter *iter); + gboolean (* iter_previous) (GtkTreeModel *tree_model, + GtkTreeIter *iter); + gboolean (* iter_children) (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreeIter *parent); + gboolean (* iter_has_child) (GtkTreeModel *tree_model, + GtkTreeIter *iter); + gint (* iter_n_children) (GtkTreeModel *tree_model, + GtkTreeIter *iter); + gboolean (* iter_nth_child) (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreeIter *parent, + gint n); + gboolean (* iter_parent) (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreeIter *child); + void (* ref_node) (GtkTreeModel *tree_model, + GtkTreeIter *iter); + void (* unref_node) (GtkTreeModel *tree_model, + GtkTreeIter *iter); +}; + + +/* GtkTreePath operations */ +GtkTreePath *gtk_tree_path_new (void); +GtkTreePath *gtk_tree_path_new_from_string (const gchar *path); +GtkTreePath *gtk_tree_path_new_from_indices (gint first_index, + ...); +gchar *gtk_tree_path_to_string (GtkTreePath *path); +GtkTreePath *gtk_tree_path_new_first (void); +void gtk_tree_path_append_index (GtkTreePath *path, + gint index_); +void gtk_tree_path_prepend_index (GtkTreePath *path, + gint index_); +gint gtk_tree_path_get_depth (GtkTreePath *path); +gint *gtk_tree_path_get_indices (GtkTreePath *path); + +gint *gtk_tree_path_get_indices_with_depth (GtkTreePath *path, + gint *depth); + +void gtk_tree_path_free (GtkTreePath *path); +GtkTreePath *gtk_tree_path_copy (const GtkTreePath *path); +GType gtk_tree_path_get_type (void) G_GNUC_CONST; +gint gtk_tree_path_compare (const GtkTreePath *a, + const GtkTreePath *b); +void gtk_tree_path_next (GtkTreePath *path); +gboolean gtk_tree_path_prev (GtkTreePath *path); +gboolean gtk_tree_path_up (GtkTreePath *path); +void gtk_tree_path_down (GtkTreePath *path); + +gboolean gtk_tree_path_is_ancestor (GtkTreePath *path, + GtkTreePath *descendant); +gboolean gtk_tree_path_is_descendant (GtkTreePath *path, + GtkTreePath *ancestor); + +/* Row reference (an object that tracks model changes so it refers to the same + * row always; a path refers to a position, not a fixed row). You almost always + * want to call gtk_tree_row_reference_new. + */ + +GType gtk_tree_row_reference_get_type (void) G_GNUC_CONST; +GtkTreeRowReference *gtk_tree_row_reference_new (GtkTreeModel *model, + GtkTreePath *path); +GtkTreeRowReference *gtk_tree_row_reference_new_proxy (GObject *proxy, + GtkTreeModel *model, + GtkTreePath *path); +GtkTreePath *gtk_tree_row_reference_get_path (GtkTreeRowReference *reference); +GtkTreeModel *gtk_tree_row_reference_get_model (GtkTreeRowReference *reference); +gboolean gtk_tree_row_reference_valid (GtkTreeRowReference *reference); +GtkTreeRowReference *gtk_tree_row_reference_copy (GtkTreeRowReference *reference); +void gtk_tree_row_reference_free (GtkTreeRowReference *reference); +/* These two functions are only needed if you created the row reference with a + * proxy object */ +void gtk_tree_row_reference_inserted (GObject *proxy, + GtkTreePath *path); +void gtk_tree_row_reference_deleted (GObject *proxy, + GtkTreePath *path); +void gtk_tree_row_reference_reordered (GObject *proxy, + GtkTreePath *path, + GtkTreeIter *iter, + gint *new_order); + +/* GtkTreeIter operations */ +GtkTreeIter * gtk_tree_iter_copy (GtkTreeIter *iter); +void gtk_tree_iter_free (GtkTreeIter *iter); +GType gtk_tree_iter_get_type (void) G_GNUC_CONST; + +GType gtk_tree_model_get_type (void) G_GNUC_CONST; +GtkTreeModelFlags gtk_tree_model_get_flags (GtkTreeModel *tree_model); +gint gtk_tree_model_get_n_columns (GtkTreeModel *tree_model); +GType gtk_tree_model_get_column_type (GtkTreeModel *tree_model, + gint index_); + + +/* Iterator movement */ +gboolean gtk_tree_model_get_iter (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreePath *path); +gboolean gtk_tree_model_get_iter_from_string (GtkTreeModel *tree_model, + GtkTreeIter *iter, + const gchar *path_string); +gchar * gtk_tree_model_get_string_from_iter (GtkTreeModel *tree_model, + GtkTreeIter *iter); +gboolean gtk_tree_model_get_iter_first (GtkTreeModel *tree_model, + GtkTreeIter *iter); +GtkTreePath * gtk_tree_model_get_path (GtkTreeModel *tree_model, + GtkTreeIter *iter); +void gtk_tree_model_get_value (GtkTreeModel *tree_model, + GtkTreeIter *iter, + gint column, + GValue *value); +gboolean gtk_tree_model_iter_previous (GtkTreeModel *tree_model, + GtkTreeIter *iter); +gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model, + GtkTreeIter *iter); +gboolean gtk_tree_model_iter_children (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreeIter *parent); +gboolean gtk_tree_model_iter_has_child (GtkTreeModel *tree_model, + GtkTreeIter *iter); +gint gtk_tree_model_iter_n_children (GtkTreeModel *tree_model, + GtkTreeIter *iter); +gboolean gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreeIter *parent, + gint n); +gboolean gtk_tree_model_iter_parent (GtkTreeModel *tree_model, + GtkTreeIter *iter, + GtkTreeIter *child); +void gtk_tree_model_ref_node (GtkTreeModel *tree_model, + GtkTreeIter *iter); +void gtk_tree_model_unref_node (GtkTreeModel *tree_model, + GtkTreeIter *iter); +void gtk_tree_model_get (GtkTreeModel *tree_model, + GtkTreeIter *iter, + ...); +void gtk_tree_model_get_valist (GtkTreeModel *tree_model, + GtkTreeIter *iter, + va_list var_args); + + +void gtk_tree_model_foreach (GtkTreeModel *model, + GtkTreeModelForeachFunc func, + gpointer user_data); + +/* Signals */ +void gtk_tree_model_row_changed (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter); +void gtk_tree_model_row_inserted (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter); +void gtk_tree_model_row_has_child_toggled (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter); +void gtk_tree_model_row_deleted (GtkTreeModel *tree_model, + GtkTreePath *path); +void gtk_tree_model_rows_reordered (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeIter *iter, + gint *new_order); + +G_END_DECLS + +#endif /* __GTK_TREE_MODEL_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktreemodelfilter.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktreemodelfilter.h new file mode 100644 index 0000000..b3e0c00 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktreemodelfilter.h @@ -0,0 +1,144 @@ +/* gtktreemodelfilter.h + * Copyright (C) 2000,2001 Red Hat, Inc., Jonathan Blandford + * Copyright (C) 2001-2003 Kristian Rietveld + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TREE_MODEL_FILTER_H__ +#define __GTK_TREE_MODEL_FILTER_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TREE_MODEL_FILTER (gtk_tree_model_filter_get_type ()) +#define GTK_TREE_MODEL_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilter)) +#define GTK_TREE_MODEL_FILTER_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilterClass)) +#define GTK_IS_TREE_MODEL_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL_FILTER)) +#define GTK_IS_TREE_MODEL_FILTER_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_TREE_MODEL_FILTER)) +#define GTK_TREE_MODEL_FILTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilterClass)) + +/** + * GtkTreeModelFilterVisibleFunc: + * @model: the child model of the #GtkTreeModelFilter + * @iter: a #GtkTreeIter pointing to the row in @model whose visibility + * is determined + * @data: (closure): user data given to gtk_tree_model_filter_set_visible_func() + * + * A function which decides whether the row indicated by @iter is visible. + * + * Returns: Whether the row indicated by @iter is visible. + */ +typedef gboolean (* GtkTreeModelFilterVisibleFunc) (GtkTreeModel *model, + GtkTreeIter *iter, + gpointer data); + +/** + * GtkTreeModelFilterModifyFunc: + * @model: the #GtkTreeModelFilter + * @iter: a #GtkTreeIter pointing to the row whose display values are determined + * @value: A #GValue which is already initialized for with the correct type for + * the column @column. + * @column: the column whose display value is determined + * @data: (closure): user data given to gtk_tree_model_filter_set_modify_func() + * + * A function which calculates display values from raw values in the model. + * It must fill @value with the display value for the column @column in the + * row indicated by @iter. + * + * Since this function is called for each data access, it's not a + * particularly efficient operation. + */ + +typedef void (* GtkTreeModelFilterModifyFunc) (GtkTreeModel *model, + GtkTreeIter *iter, + GValue *value, + gint column, + gpointer data); + +typedef struct _GtkTreeModelFilter GtkTreeModelFilter; +typedef struct _GtkTreeModelFilterClass GtkTreeModelFilterClass; +typedef struct _GtkTreeModelFilterPrivate GtkTreeModelFilterPrivate; + +struct _GtkTreeModelFilter +{ + GObject parent; + + /*< private >*/ + GtkTreeModelFilterPrivate *priv; +}; + +struct _GtkTreeModelFilterClass +{ + GObjectClass parent_class; + + gboolean (* visible) (GtkTreeModelFilter *self, + GtkTreeModel *child_model, + GtkTreeIter *iter); + void (* modify) (GtkTreeModelFilter *self, + GtkTreeModel *child_model, + GtkTreeIter *iter, + GValue *value, + gint column); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +/* base */ +GType gtk_tree_model_filter_get_type (void) G_GNUC_CONST; +GtkTreeModel *gtk_tree_model_filter_new (GtkTreeModel *child_model, + GtkTreePath *root); +void gtk_tree_model_filter_set_visible_func (GtkTreeModelFilter *filter, + GtkTreeModelFilterVisibleFunc func, + gpointer data, + GDestroyNotify destroy); +void gtk_tree_model_filter_set_modify_func (GtkTreeModelFilter *filter, + gint n_columns, + GType *types, + GtkTreeModelFilterModifyFunc func, + gpointer data, + GDestroyNotify destroy); +void gtk_tree_model_filter_set_visible_column (GtkTreeModelFilter *filter, + gint column); + +GtkTreeModel *gtk_tree_model_filter_get_model (GtkTreeModelFilter *filter); + +/* conversion */ +gboolean gtk_tree_model_filter_convert_child_iter_to_iter (GtkTreeModelFilter *filter, + GtkTreeIter *filter_iter, + GtkTreeIter *child_iter); +void gtk_tree_model_filter_convert_iter_to_child_iter (GtkTreeModelFilter *filter, + GtkTreeIter *child_iter, + GtkTreeIter *filter_iter); +GtkTreePath *gtk_tree_model_filter_convert_child_path_to_path (GtkTreeModelFilter *filter, + GtkTreePath *child_path); +GtkTreePath *gtk_tree_model_filter_convert_path_to_child_path (GtkTreeModelFilter *filter, + GtkTreePath *filter_path); + +/* extras */ +void gtk_tree_model_filter_refilter (GtkTreeModelFilter *filter); +void gtk_tree_model_filter_clear_cache (GtkTreeModelFilter *filter); + +G_END_DECLS + +#endif /* __GTK_TREE_MODEL_FILTER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktreemodelsort.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktreemodelsort.h new file mode 100644 index 0000000..7ac5e55 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktreemodelsort.h @@ -0,0 +1,84 @@ +/* gtktreemodelsort.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TREE_MODEL_SORT_H__ +#define __GTK_TREE_MODEL_SORT_H__ + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_TREE_MODEL_SORT (gtk_tree_model_sort_get_type ()) +#define GTK_TREE_MODEL_SORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL_SORT, GtkTreeModelSort)) +#define GTK_TREE_MODEL_SORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_MODEL_SORT, GtkTreeModelSortClass)) +#define GTK_IS_TREE_MODEL_SORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL_SORT)) +#define GTK_IS_TREE_MODEL_SORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_MODEL_SORT)) +#define GTK_TREE_MODEL_SORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_MODEL_SORT, GtkTreeModelSortClass)) + +typedef struct _GtkTreeModelSort GtkTreeModelSort; +typedef struct _GtkTreeModelSortClass GtkTreeModelSortClass; +typedef struct _GtkTreeModelSortPrivate GtkTreeModelSortPrivate; + +struct _GtkTreeModelSort +{ + GObject parent; + + /* < private > */ + GtkTreeModelSortPrivate *priv; +}; + +struct _GtkTreeModelSortClass +{ + GObjectClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_tree_model_sort_get_type (void) G_GNUC_CONST; +GtkTreeModel *gtk_tree_model_sort_new_with_model (GtkTreeModel *child_model); + +GtkTreeModel *gtk_tree_model_sort_get_model (GtkTreeModelSort *tree_model); +GtkTreePath *gtk_tree_model_sort_convert_child_path_to_path (GtkTreeModelSort *tree_model_sort, + GtkTreePath *child_path); +gboolean gtk_tree_model_sort_convert_child_iter_to_iter (GtkTreeModelSort *tree_model_sort, + GtkTreeIter *sort_iter, + GtkTreeIter *child_iter); +GtkTreePath *gtk_tree_model_sort_convert_path_to_child_path (GtkTreeModelSort *tree_model_sort, + GtkTreePath *sorted_path); +void gtk_tree_model_sort_convert_iter_to_child_iter (GtkTreeModelSort *tree_model_sort, + GtkTreeIter *child_iter, + GtkTreeIter *sorted_iter); +void gtk_tree_model_sort_reset_default_sort_func (GtkTreeModelSort *tree_model_sort); +void gtk_tree_model_sort_clear_cache (GtkTreeModelSort *tree_model_sort); +gboolean gtk_tree_model_sort_iter_is_valid (GtkTreeModelSort *tree_model_sort, + GtkTreeIter *iter); + + +G_END_DECLS + +#endif /* __GTK_TREE_MODEL_SORT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktreeselection.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktreeselection.h new file mode 100644 index 0000000..0b99f33 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktreeselection.h @@ -0,0 +1,146 @@ +/* gtktreeselection.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TREE_SELECTION_H__ +#define __GTK_TREE_SELECTION_H__ + +#include + +G_BEGIN_DECLS + + +#define GTK_TYPE_TREE_SELECTION (gtk_tree_selection_get_type ()) +#define GTK_TREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SELECTION, GtkTreeSelection)) +#define GTK_TREE_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_SELECTION, GtkTreeSelectionClass)) +#define GTK_IS_TREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_SELECTION)) +#define GTK_IS_TREE_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_SELECTION)) +#define GTK_TREE_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_SELECTION, GtkTreeSelectionClass)) + +typedef struct _GtkTreeSelectionPrivate GtkTreeSelectionPrivate; + +/** + * GtkTreeSelectionFunc: + * @selection: A #GtkTreeSelection + * @model: A #GtkTreeModel being viewed + * @path: The #GtkTreePath of the row in question + * @path_currently_selected: %TRUE, if the path is currently selected + * @data: (closure): user data + * + * A function used by gtk_tree_selection_set_select_function() to filter + * whether or not a row may be selected. It is called whenever a row's + * state might change. A return value of %TRUE indicates to @selection + * that it is okay to change the selection. + * + * Returns: %TRUE, if the selection state of the row can be toggled + */ +typedef gboolean (* GtkTreeSelectionFunc) (GtkTreeSelection *selection, + GtkTreeModel *model, + GtkTreePath *path, + gboolean path_currently_selected, + gpointer data); + +/** + * GtkTreeSelectionForeachFunc: + * @model: The #GtkTreeModel being viewed + * @path: The #GtkTreePath of a selected row + * @iter: A #GtkTreeIter pointing to a selected row + * @data: (closure): user data + * + * A function used by gtk_tree_selection_selected_foreach() to map all + * selected rows. It will be called on every selected row in the view. + */ +typedef void (* GtkTreeSelectionForeachFunc) (GtkTreeModel *model, + GtkTreePath *path, + GtkTreeIter *iter, + gpointer data); + +struct _GtkTreeSelection +{ + /*< private >*/ + GObject parent; + + GtkTreeSelectionPrivate *priv; +}; + +struct _GtkTreeSelectionClass +{ + GObjectClass parent_class; + + void (* changed) (GtkTreeSelection *selection); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_tree_selection_get_type (void) G_GNUC_CONST; + +void gtk_tree_selection_set_mode (GtkTreeSelection *selection, + GtkSelectionMode type); +GtkSelectionMode gtk_tree_selection_get_mode (GtkTreeSelection *selection); +void gtk_tree_selection_set_select_function (GtkTreeSelection *selection, + GtkTreeSelectionFunc func, + gpointer data, + GDestroyNotify destroy); +gpointer gtk_tree_selection_get_user_data (GtkTreeSelection *selection); +GtkTreeView* gtk_tree_selection_get_tree_view (GtkTreeSelection *selection); + +GtkTreeSelectionFunc gtk_tree_selection_get_select_function (GtkTreeSelection *selection); + +/* Only meaningful if GTK_SELECTION_SINGLE or GTK_SELECTION_BROWSE is set */ +/* Use selected_foreach or get_selected_rows for GTK_SELECTION_MULTIPLE */ +gboolean gtk_tree_selection_get_selected (GtkTreeSelection *selection, + GtkTreeModel **model, + GtkTreeIter *iter); +GList * gtk_tree_selection_get_selected_rows (GtkTreeSelection *selection, + GtkTreeModel **model); +gint gtk_tree_selection_count_selected_rows (GtkTreeSelection *selection); +void gtk_tree_selection_selected_foreach (GtkTreeSelection *selection, + GtkTreeSelectionForeachFunc func, + gpointer data); +void gtk_tree_selection_select_path (GtkTreeSelection *selection, + GtkTreePath *path); +void gtk_tree_selection_unselect_path (GtkTreeSelection *selection, + GtkTreePath *path); +void gtk_tree_selection_select_iter (GtkTreeSelection *selection, + GtkTreeIter *iter); +void gtk_tree_selection_unselect_iter (GtkTreeSelection *selection, + GtkTreeIter *iter); +gboolean gtk_tree_selection_path_is_selected (GtkTreeSelection *selection, + GtkTreePath *path); +gboolean gtk_tree_selection_iter_is_selected (GtkTreeSelection *selection, + GtkTreeIter *iter); +void gtk_tree_selection_select_all (GtkTreeSelection *selection); +void gtk_tree_selection_unselect_all (GtkTreeSelection *selection); +void gtk_tree_selection_select_range (GtkTreeSelection *selection, + GtkTreePath *start_path, + GtkTreePath *end_path); +void gtk_tree_selection_unselect_range (GtkTreeSelection *selection, + GtkTreePath *start_path, + GtkTreePath *end_path); + + +G_END_DECLS + +#endif /* __GTK_TREE_SELECTION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktreesortable.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktreesortable.h new file mode 100644 index 0000000..1d46388 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktreesortable.h @@ -0,0 +1,123 @@ +/* gtktreesortable.h + * Copyright (C) 2001 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TREE_SORTABLE_H__ +#define __GTK_TREE_SORTABLE_H__ + + +#include +#include + + +G_BEGIN_DECLS + +#define GTK_TYPE_TREE_SORTABLE (gtk_tree_sortable_get_type ()) +#define GTK_TREE_SORTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortable)) +#define GTK_TREE_SORTABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface)) +#define GTK_IS_TREE_SORTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_SORTABLE)) +#define GTK_TREE_SORTABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface)) + +enum { + GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID = -1, + GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID = -2 +}; + +typedef struct _GtkTreeSortable GtkTreeSortable; /* Dummy typedef */ +typedef struct _GtkTreeSortableIface GtkTreeSortableIface; + +/** + * GtkTreeIterCompareFunc: + * @model: The #GtkTreeModel the comparison is within + * @a: A #GtkTreeIter in @model + * @b: Another #GtkTreeIter in @model + * @user_data: Data passed when the compare func is assigned e.g. by + * gtk_tree_sortable_set_sort_func() + * + * A GtkTreeIterCompareFunc should return a negative integer, zero, or a positive + * integer if @a sorts before @b, @a sorts with @b, or @a sorts after @b + * respectively. If two iters compare as equal, their order in the sorted model + * is undefined. In order to ensure that the #GtkTreeSortable behaves as + * expected, the GtkTreeIterCompareFunc must define a partial order on + * the model, i.e. it must be reflexive, antisymmetric and transitive. + * + * For example, if @model is a product catalogue, then a compare function + * for the "price" column could be one which returns + * price_of(@a) - price_of(@b). + * + * Returns: a negative integer, zero or a positive integer depending on whether + * @a sorts before, with or after @b + */ +typedef gint (* GtkTreeIterCompareFunc) (GtkTreeModel *model, + GtkTreeIter *a, + GtkTreeIter *b, + gpointer user_data); + + +struct _GtkTreeSortableIface +{ + GTypeInterface g_iface; + + /* signals */ + void (* sort_column_changed) (GtkTreeSortable *sortable); + + /* virtual table */ + gboolean (* get_sort_column_id) (GtkTreeSortable *sortable, + gint *sort_column_id, + GtkSortType *order); + void (* set_sort_column_id) (GtkTreeSortable *sortable, + gint sort_column_id, + GtkSortType order); + void (* set_sort_func) (GtkTreeSortable *sortable, + gint sort_column_id, + GtkTreeIterCompareFunc sort_func, + gpointer user_data, + GDestroyNotify destroy); + void (* set_default_sort_func) (GtkTreeSortable *sortable, + GtkTreeIterCompareFunc sort_func, + gpointer user_data, + GDestroyNotify destroy); + gboolean (* has_default_sort_func) (GtkTreeSortable *sortable); +}; + + +GType gtk_tree_sortable_get_type (void) G_GNUC_CONST; + +void gtk_tree_sortable_sort_column_changed (GtkTreeSortable *sortable); +gboolean gtk_tree_sortable_get_sort_column_id (GtkTreeSortable *sortable, + gint *sort_column_id, + GtkSortType *order); +void gtk_tree_sortable_set_sort_column_id (GtkTreeSortable *sortable, + gint sort_column_id, + GtkSortType order); +void gtk_tree_sortable_set_sort_func (GtkTreeSortable *sortable, + gint sort_column_id, + GtkTreeIterCompareFunc sort_func, + gpointer user_data, + GDestroyNotify destroy); +void gtk_tree_sortable_set_default_sort_func (GtkTreeSortable *sortable, + GtkTreeIterCompareFunc sort_func, + gpointer user_data, + GDestroyNotify destroy); +gboolean gtk_tree_sortable_has_default_sort_func (GtkTreeSortable *sortable); + +G_END_DECLS + +#endif /* __GTK_TREE_SORTABLE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktreestore.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktreestore.h new file mode 100644 index 0000000..9ea6d3a --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktreestore.h @@ -0,0 +1,147 @@ +/* gtktreestore.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TREE_STORE_H__ +#define __GTK_TREE_STORE_H__ + +#include +#include +#include +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_TREE_STORE (gtk_tree_store_get_type ()) +#define GTK_TREE_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_STORE, GtkTreeStore)) +#define GTK_TREE_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_STORE, GtkTreeStoreClass)) +#define GTK_IS_TREE_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_STORE)) +#define GTK_IS_TREE_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_STORE)) +#define GTK_TREE_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_STORE, GtkTreeStoreClass)) + +typedef struct _GtkTreeStore GtkTreeStore; +typedef struct _GtkTreeStoreClass GtkTreeStoreClass; +typedef struct _GtkTreeStorePrivate GtkTreeStorePrivate; + +struct _GtkTreeStore +{ + GObject parent; + + GtkTreeStorePrivate *priv; +}; + +struct _GtkTreeStoreClass +{ + GObjectClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_tree_store_get_type (void) G_GNUC_CONST; +GtkTreeStore *gtk_tree_store_new (gint n_columns, + ...); +GtkTreeStore *gtk_tree_store_newv (gint n_columns, + GType *types); +void gtk_tree_store_set_column_types (GtkTreeStore *tree_store, + gint n_columns, + GType *types); + +/* NOTE: use gtk_tree_model_get to get values from a GtkTreeStore */ + +void gtk_tree_store_set_value (GtkTreeStore *tree_store, + GtkTreeIter *iter, + gint column, + GValue *value); +void gtk_tree_store_set (GtkTreeStore *tree_store, + GtkTreeIter *iter, + ...); +void gtk_tree_store_set_valuesv (GtkTreeStore *tree_store, + GtkTreeIter *iter, + gint *columns, + GValue *values, + gint n_values); +void gtk_tree_store_set_valist (GtkTreeStore *tree_store, + GtkTreeIter *iter, + va_list var_args); +gboolean gtk_tree_store_remove (GtkTreeStore *tree_store, + GtkTreeIter *iter); +void gtk_tree_store_insert (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent, + gint position); +void gtk_tree_store_insert_before (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent, + GtkTreeIter *sibling); +void gtk_tree_store_insert_after (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent, + GtkTreeIter *sibling); +void gtk_tree_store_insert_with_values (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent, + gint position, + ...); +void gtk_tree_store_insert_with_valuesv (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent, + gint position, + gint *columns, + GValue *values, + gint n_values); +void gtk_tree_store_prepend (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent); +void gtk_tree_store_append (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *parent); +gboolean gtk_tree_store_is_ancestor (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *descendant); +gint gtk_tree_store_iter_depth (GtkTreeStore *tree_store, + GtkTreeIter *iter); +void gtk_tree_store_clear (GtkTreeStore *tree_store); +gboolean gtk_tree_store_iter_is_valid (GtkTreeStore *tree_store, + GtkTreeIter *iter); +void gtk_tree_store_reorder (GtkTreeStore *tree_store, + GtkTreeIter *parent, + gint *new_order); +void gtk_tree_store_swap (GtkTreeStore *tree_store, + GtkTreeIter *a, + GtkTreeIter *b); +void gtk_tree_store_move_before (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *position); +void gtk_tree_store_move_after (GtkTreeStore *tree_store, + GtkTreeIter *iter, + GtkTreeIter *position); + + +G_END_DECLS + + +#endif /* __GTK_TREE_STORE_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktreeview.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktreeview.h new file mode 100644 index 0000000..8bab066 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktreeview.h @@ -0,0 +1,501 @@ +/* gtktreeview.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TREE_VIEW_H__ +#define __GTK_TREE_VIEW_H__ + +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +/** + * GtkTreeViewDropPosition: + * @GTK_TREE_VIEW_DROP_BEFORE: dropped row is inserted before + * @GTK_TREE_VIEW_DROP_AFTER: dropped row is inserted after + * @GTK_TREE_VIEW_DROP_INTO_OR_BEFORE: dropped row becomes a child or is inserted before + * @GTK_TREE_VIEW_DROP_INTO_OR_AFTER: dropped row becomes a child or is inserted after + * + * An enum for determining where a dropped row goes. + */ +typedef enum +{ + /* drop before/after this row */ + GTK_TREE_VIEW_DROP_BEFORE, + GTK_TREE_VIEW_DROP_AFTER, + /* drop as a child of this row (with fallback to before or after + * if into is not possible) + */ + GTK_TREE_VIEW_DROP_INTO_OR_BEFORE, + GTK_TREE_VIEW_DROP_INTO_OR_AFTER +} GtkTreeViewDropPosition; + +#define GTK_TYPE_TREE_VIEW (gtk_tree_view_get_type ()) +#define GTK_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_VIEW, GtkTreeView)) +#define GTK_TREE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_VIEW, GtkTreeViewClass)) +#define GTK_IS_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_VIEW)) +#define GTK_IS_TREE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_VIEW)) +#define GTK_TREE_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_VIEW, GtkTreeViewClass)) + +typedef struct _GtkTreeView GtkTreeView; +typedef struct _GtkTreeViewClass GtkTreeViewClass; +typedef struct _GtkTreeViewPrivate GtkTreeViewPrivate; +typedef struct _GtkTreeSelection GtkTreeSelection; +typedef struct _GtkTreeSelectionClass GtkTreeSelectionClass; + +struct _GtkTreeView +{ + GtkContainer parent; + + /*< private >*/ + GtkTreeViewPrivate *priv; +}; + +struct _GtkTreeViewClass +{ + GtkContainerClass parent_class; + + void (* row_activated) (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewColumn *column); + gboolean (* test_expand_row) (GtkTreeView *tree_view, + GtkTreeIter *iter, + GtkTreePath *path); + gboolean (* test_collapse_row) (GtkTreeView *tree_view, + GtkTreeIter *iter, + GtkTreePath *path); + void (* row_expanded) (GtkTreeView *tree_view, + GtkTreeIter *iter, + GtkTreePath *path); + void (* row_collapsed) (GtkTreeView *tree_view, + GtkTreeIter *iter, + GtkTreePath *path); + void (* columns_changed) (GtkTreeView *tree_view); + void (* cursor_changed) (GtkTreeView *tree_view); + + /* Key Binding signals */ + gboolean (* move_cursor) (GtkTreeView *tree_view, + GtkMovementStep step, + gint count); + gboolean (* select_all) (GtkTreeView *tree_view); + gboolean (* unselect_all) (GtkTreeView *tree_view); + gboolean (* select_cursor_row) (GtkTreeView *tree_view, + gboolean start_editing); + gboolean (* toggle_cursor_row) (GtkTreeView *tree_view); + gboolean (* expand_collapse_cursor_row) (GtkTreeView *tree_view, + gboolean logical, + gboolean expand, + gboolean open_all); + gboolean (* select_cursor_parent) (GtkTreeView *tree_view); + gboolean (* start_interactive_search) (GtkTreeView *tree_view); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); + void (*_gtk_reserved8) (void); +}; + +/** + * GtkTreeViewColumnDropFunc: + * @tree_view: A #GtkTreeView + * @column: The #GtkTreeViewColumn being dragged + * @prev_column: A #GtkTreeViewColumn on one side of @column + * @next_column: A #GtkTreeViewColumn on the other side of @column + * @data: (closure): user data + * + * Function type for determining whether @column can be dropped in a + * particular spot (as determined by @prev_column and @next_column). In + * left to right locales, @prev_column is on the left of the potential drop + * spot, and @next_column is on the right. In right to left mode, this is + * reversed. This function should return %TRUE if the spot is a valid drop + * spot. Please note that returning %TRUE does not actually indicate that + * the column drop was made, but is meant only to indicate a possible drop + * spot to the user. + * + * Returns: %TRUE, if @column can be dropped in this spot + */ +typedef gboolean (* GtkTreeViewColumnDropFunc) (GtkTreeView *tree_view, + GtkTreeViewColumn *column, + GtkTreeViewColumn *prev_column, + GtkTreeViewColumn *next_column, + gpointer data); + +/** + * GtkTreeViewMappingFunc: + * @tree_view: A #GtkTreeView + * @path: The path that's expanded + * @user_data: user data + * + * Function used for gtk_tree_view_map_expanded_rows(). + */ +typedef void (* GtkTreeViewMappingFunc) (GtkTreeView *tree_view, + GtkTreePath *path, + gpointer user_data); + +/** + * GtkTreeViewSearchEqualFunc: + * @model: the #GtkTreeModel being searched + * @column: the search column set by gtk_tree_view_set_search_column() + * @key: the key string to compare with + * @iter: a #GtkTreeIter pointing the row of @model that should be compared + * with @key. + * @search_data: (closure): user data from gtk_tree_view_set_search_equal_func() + * + * A function used for checking whether a row in @model matches + * a search key string entered by the user. Note the return value + * is reversed from what you would normally expect, though it + * has some similarity to strcmp() returning 0 for equal strings. + * + * Returns: %FALSE if the row matches, %TRUE otherwise. + */ +typedef gboolean (*GtkTreeViewSearchEqualFunc) (GtkTreeModel *model, + gint column, + const gchar *key, + GtkTreeIter *iter, + gpointer search_data); + +/** + * GtkTreeViewRowSeparatorFunc: + * @model: the #GtkTreeModel + * @iter: a #GtkTreeIter pointing at a row in @model + * @data: (closure): user data + * + * Function type for determining whether the row pointed to by @iter should + * be rendered as a separator. A common way to implement this is to have a + * boolean column in the model, whose values the #GtkTreeViewRowSeparatorFunc + * returns. + * + * Returns: %TRUE if the row is a separator + */ +typedef gboolean (*GtkTreeViewRowSeparatorFunc) (GtkTreeModel *model, + GtkTreeIter *iter, + gpointer data); +typedef void (*GtkTreeViewSearchPositionFunc) (GtkTreeView *tree_view, + GtkWidget *search_dialog, + gpointer user_data); + + +/* Creators */ +GType gtk_tree_view_get_type (void) G_GNUC_CONST; +GtkWidget *gtk_tree_view_new (void); +GtkWidget *gtk_tree_view_new_with_model (GtkTreeModel *model); + +/* Accessors */ +GtkTreeModel *gtk_tree_view_get_model (GtkTreeView *tree_view); +void gtk_tree_view_set_model (GtkTreeView *tree_view, + GtkTreeModel *model); +GtkTreeSelection *gtk_tree_view_get_selection (GtkTreeView *tree_view); + +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment) +GtkAdjustment *gtk_tree_view_get_hadjustment (GtkTreeView *tree_view); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_hadjustment) +void gtk_tree_view_set_hadjustment (GtkTreeView *tree_view, + GtkAdjustment *adjustment); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment) +GtkAdjustment *gtk_tree_view_get_vadjustment (GtkTreeView *tree_view); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_vadjustment) +void gtk_tree_view_set_vadjustment (GtkTreeView *tree_view, + GtkAdjustment *adjustment); + + +gboolean gtk_tree_view_get_headers_visible (GtkTreeView *tree_view); +void gtk_tree_view_set_headers_visible (GtkTreeView *tree_view, + gboolean headers_visible); +void gtk_tree_view_columns_autosize (GtkTreeView *tree_view); +gboolean gtk_tree_view_get_headers_clickable (GtkTreeView *tree_view); +void gtk_tree_view_set_headers_clickable (GtkTreeView *tree_view, + gboolean setting); +void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, + gboolean setting); +gboolean gtk_tree_view_get_rules_hint (GtkTreeView *tree_view); + +/* Column funtions */ +gint gtk_tree_view_append_column (GtkTreeView *tree_view, + GtkTreeViewColumn *column); +gint gtk_tree_view_remove_column (GtkTreeView *tree_view, + GtkTreeViewColumn *column); +gint gtk_tree_view_insert_column (GtkTreeView *tree_view, + GtkTreeViewColumn *column, + gint position); +gint gtk_tree_view_insert_column_with_attributes (GtkTreeView *tree_view, + gint position, + const gchar *title, + GtkCellRenderer *cell, + ...) G_GNUC_NULL_TERMINATED; +gint gtk_tree_view_insert_column_with_data_func (GtkTreeView *tree_view, + gint position, + const gchar *title, + GtkCellRenderer *cell, + GtkTreeCellDataFunc func, + gpointer data, + GDestroyNotify dnotify); + +GDK_AVAILABLE_IN_3_4 +guint gtk_tree_view_get_n_columns (GtkTreeView *tree_view); +GtkTreeViewColumn *gtk_tree_view_get_column (GtkTreeView *tree_view, + gint n); +GList *gtk_tree_view_get_columns (GtkTreeView *tree_view); +void gtk_tree_view_move_column_after (GtkTreeView *tree_view, + GtkTreeViewColumn *column, + GtkTreeViewColumn *base_column); +void gtk_tree_view_set_expander_column (GtkTreeView *tree_view, + GtkTreeViewColumn *column); +GtkTreeViewColumn *gtk_tree_view_get_expander_column (GtkTreeView *tree_view); +void gtk_tree_view_set_column_drag_function (GtkTreeView *tree_view, + GtkTreeViewColumnDropFunc func, + gpointer user_data, + GDestroyNotify destroy); + +/* Actions */ +void gtk_tree_view_scroll_to_point (GtkTreeView *tree_view, + gint tree_x, + gint tree_y); +void gtk_tree_view_scroll_to_cell (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewColumn *column, + gboolean use_align, + gfloat row_align, + gfloat col_align); +void gtk_tree_view_row_activated (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewColumn *column); +void gtk_tree_view_expand_all (GtkTreeView *tree_view); +void gtk_tree_view_collapse_all (GtkTreeView *tree_view); +void gtk_tree_view_expand_to_path (GtkTreeView *tree_view, + GtkTreePath *path); +gboolean gtk_tree_view_expand_row (GtkTreeView *tree_view, + GtkTreePath *path, + gboolean open_all); +gboolean gtk_tree_view_collapse_row (GtkTreeView *tree_view, + GtkTreePath *path); +void gtk_tree_view_map_expanded_rows (GtkTreeView *tree_view, + GtkTreeViewMappingFunc func, + gpointer data); +gboolean gtk_tree_view_row_expanded (GtkTreeView *tree_view, + GtkTreePath *path); +void gtk_tree_view_set_reorderable (GtkTreeView *tree_view, + gboolean reorderable); +gboolean gtk_tree_view_get_reorderable (GtkTreeView *tree_view); +void gtk_tree_view_set_cursor (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewColumn *focus_column, + gboolean start_editing); +void gtk_tree_view_set_cursor_on_cell (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewColumn *focus_column, + GtkCellRenderer *focus_cell, + gboolean start_editing); +void gtk_tree_view_get_cursor (GtkTreeView *tree_view, + GtkTreePath **path, + GtkTreeViewColumn **focus_column); + + +/* Layout information */ +GdkWindow *gtk_tree_view_get_bin_window (GtkTreeView *tree_view); +gboolean gtk_tree_view_get_path_at_pos (GtkTreeView *tree_view, + gint x, + gint y, + GtkTreePath **path, + GtkTreeViewColumn **column, + gint *cell_x, + gint *cell_y); +void gtk_tree_view_get_cell_area (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewColumn *column, + GdkRectangle *rect); +void gtk_tree_view_get_background_area (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewColumn *column, + GdkRectangle *rect); +void gtk_tree_view_get_visible_rect (GtkTreeView *tree_view, + GdkRectangle *visible_rect); +gboolean gtk_tree_view_get_visible_range (GtkTreeView *tree_view, + GtkTreePath **start_path, + GtkTreePath **end_path); +gboolean gtk_tree_view_is_blank_at_pos (GtkTreeView *tree_view, + gint x, + gint y, + GtkTreePath **path, + GtkTreeViewColumn **column, + gint *cell_x, + gint *cell_y); + +/* Drag-and-Drop support */ +void gtk_tree_view_enable_model_drag_source (GtkTreeView *tree_view, + GdkModifierType start_button_mask, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions); +void gtk_tree_view_enable_model_drag_dest (GtkTreeView *tree_view, + const GtkTargetEntry *targets, + gint n_targets, + GdkDragAction actions); +void gtk_tree_view_unset_rows_drag_source (GtkTreeView *tree_view); +void gtk_tree_view_unset_rows_drag_dest (GtkTreeView *tree_view); + + +/* These are useful to implement your own custom stuff. */ +void gtk_tree_view_set_drag_dest_row (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewDropPosition pos); +void gtk_tree_view_get_drag_dest_row (GtkTreeView *tree_view, + GtkTreePath **path, + GtkTreeViewDropPosition *pos); +gboolean gtk_tree_view_get_dest_row_at_pos (GtkTreeView *tree_view, + gint drag_x, + gint drag_y, + GtkTreePath **path, + GtkTreeViewDropPosition *pos); +cairo_surface_t *gtk_tree_view_create_row_drag_icon (GtkTreeView *tree_view, + GtkTreePath *path); + +/* Interactive search */ +void gtk_tree_view_set_enable_search (GtkTreeView *tree_view, + gboolean enable_search); +gboolean gtk_tree_view_get_enable_search (GtkTreeView *tree_view); +gint gtk_tree_view_get_search_column (GtkTreeView *tree_view); +void gtk_tree_view_set_search_column (GtkTreeView *tree_view, + gint column); +GtkTreeViewSearchEqualFunc gtk_tree_view_get_search_equal_func (GtkTreeView *tree_view); +void gtk_tree_view_set_search_equal_func (GtkTreeView *tree_view, + GtkTreeViewSearchEqualFunc search_equal_func, + gpointer search_user_data, + GDestroyNotify search_destroy); + +GtkEntry *gtk_tree_view_get_search_entry (GtkTreeView *tree_view); +void gtk_tree_view_set_search_entry (GtkTreeView *tree_view, + GtkEntry *entry); +GtkTreeViewSearchPositionFunc gtk_tree_view_get_search_position_func (GtkTreeView *tree_view); +void gtk_tree_view_set_search_position_func (GtkTreeView *tree_view, + GtkTreeViewSearchPositionFunc func, + gpointer data, + GDestroyNotify destroy); + +/* Convert between the different coordinate systems */ +void gtk_tree_view_convert_widget_to_tree_coords (GtkTreeView *tree_view, + gint wx, + gint wy, + gint *tx, + gint *ty); +void gtk_tree_view_convert_tree_to_widget_coords (GtkTreeView *tree_view, + gint tx, + gint ty, + gint *wx, + gint *wy); +void gtk_tree_view_convert_widget_to_bin_window_coords (GtkTreeView *tree_view, + gint wx, + gint wy, + gint *bx, + gint *by); +void gtk_tree_view_convert_bin_window_to_widget_coords (GtkTreeView *tree_view, + gint bx, + gint by, + gint *wx, + gint *wy); +void gtk_tree_view_convert_tree_to_bin_window_coords (GtkTreeView *tree_view, + gint tx, + gint ty, + gint *bx, + gint *by); +void gtk_tree_view_convert_bin_window_to_tree_coords (GtkTreeView *tree_view, + gint bx, + gint by, + gint *tx, + gint *ty); + +/* This function should really never be used. It is just for use by ATK. + */ +typedef void (* GtkTreeDestroyCountFunc) (GtkTreeView *tree_view, + GtkTreePath *path, + gint children, + gpointer user_data); +GDK_DEPRECATED_IN_3_4 +void gtk_tree_view_set_destroy_count_func (GtkTreeView *tree_view, + GtkTreeDestroyCountFunc func, + gpointer data, + GDestroyNotify destroy); + +void gtk_tree_view_set_fixed_height_mode (GtkTreeView *tree_view, + gboolean enable); +gboolean gtk_tree_view_get_fixed_height_mode (GtkTreeView *tree_view); +void gtk_tree_view_set_hover_selection (GtkTreeView *tree_view, + gboolean hover); +gboolean gtk_tree_view_get_hover_selection (GtkTreeView *tree_view); +void gtk_tree_view_set_hover_expand (GtkTreeView *tree_view, + gboolean expand); +gboolean gtk_tree_view_get_hover_expand (GtkTreeView *tree_view); +void gtk_tree_view_set_rubber_banding (GtkTreeView *tree_view, + gboolean enable); +gboolean gtk_tree_view_get_rubber_banding (GtkTreeView *tree_view); + +gboolean gtk_tree_view_is_rubber_banding_active (GtkTreeView *tree_view); + +GtkTreeViewRowSeparatorFunc gtk_tree_view_get_row_separator_func (GtkTreeView *tree_view); +void gtk_tree_view_set_row_separator_func (GtkTreeView *tree_view, + GtkTreeViewRowSeparatorFunc func, + gpointer data, + GDestroyNotify destroy); + +GtkTreeViewGridLines gtk_tree_view_get_grid_lines (GtkTreeView *tree_view); +void gtk_tree_view_set_grid_lines (GtkTreeView *tree_view, + GtkTreeViewGridLines grid_lines); +gboolean gtk_tree_view_get_enable_tree_lines (GtkTreeView *tree_view); +void gtk_tree_view_set_enable_tree_lines (GtkTreeView *tree_view, + gboolean enabled); +void gtk_tree_view_set_show_expanders (GtkTreeView *tree_view, + gboolean enabled); +gboolean gtk_tree_view_get_show_expanders (GtkTreeView *tree_view); +void gtk_tree_view_set_level_indentation (GtkTreeView *tree_view, + gint indentation); +gint gtk_tree_view_get_level_indentation (GtkTreeView *tree_view); + +/* Convenience functions for setting tooltips */ +void gtk_tree_view_set_tooltip_row (GtkTreeView *tree_view, + GtkTooltip *tooltip, + GtkTreePath *path); +void gtk_tree_view_set_tooltip_cell (GtkTreeView *tree_view, + GtkTooltip *tooltip, + GtkTreePath *path, + GtkTreeViewColumn *column, + GtkCellRenderer *cell); +gboolean gtk_tree_view_get_tooltip_context(GtkTreeView *tree_view, + gint *x, + gint *y, + gboolean keyboard_tip, + GtkTreeModel **model, + GtkTreePath **path, + GtkTreeIter *iter); +void gtk_tree_view_set_tooltip_column (GtkTreeView *tree_view, + gint column); +gint gtk_tree_view_get_tooltip_column (GtkTreeView *tree_view); + +G_END_DECLS + + +#endif /* __GTK_TREE_VIEW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktreeviewcolumn.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktreeviewcolumn.h new file mode 100644 index 0000000..9555ab2 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktreeviewcolumn.h @@ -0,0 +1,224 @@ +/* gtktreeviewcolumn.h + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TREE_VIEW_COLUMN_H__ +#define __GTK_TREE_VIEW_COLUMN_H__ + +#include +#include +#include +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_TREE_VIEW_COLUMN (gtk_tree_view_column_get_type ()) +#define GTK_TREE_VIEW_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_VIEW_COLUMN, GtkTreeViewColumn)) +#define GTK_TREE_VIEW_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_VIEW_COLUMN, GtkTreeViewColumnClass)) +#define GTK_IS_TREE_VIEW_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_VIEW_COLUMN)) +#define GTK_IS_TREE_VIEW_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_VIEW_COLUMN)) +#define GTK_TREE_VIEW_COLUMN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_VIEW_COLUMN, GtkTreeViewColumnClass)) + +typedef struct _GtkTreeViewColumn GtkTreeViewColumn; +typedef struct _GtkTreeViewColumnClass GtkTreeViewColumnClass; +typedef struct _GtkTreeViewColumnPrivate GtkTreeViewColumnPrivate; + +/** + * GtkTreeViewColumnSizing: + * @GTK_TREE_VIEW_COLUMN_GROW_ONLY: Columns only get bigger in reaction to changes in the model + * @GTK_TREE_VIEW_COLUMN_AUTOSIZE: Columns resize to be the optimal size everytime the model changes. + * @GTK_TREE_VIEW_COLUMN_FIXED: Columns are a fixed numbers of pixels wide. + * + * The sizing method the column uses to determine its width. Please note + * that @GTK_TREE_VIEW_COLUMN_AUTOSIZE are inefficient for large views, and + * can make columns appear choppy. + */ +typedef enum +{ + GTK_TREE_VIEW_COLUMN_GROW_ONLY, + GTK_TREE_VIEW_COLUMN_AUTOSIZE, + GTK_TREE_VIEW_COLUMN_FIXED +} GtkTreeViewColumnSizing; + +/** + * GtkTreeCellDataFunc: + * @tree_column: A #GtkTreeColumn + * @cell: The #GtkCellRenderer that is being rendered by @tree_column + * @tree_model: The #GtkTreeModel being rendered + * @iter: A #GtkTreeIter of the current row rendered + * @data: user data + * + * A function to set the properties of a cell instead of just using the + * straight mapping between the cell and the model. This is useful for + * customizing the cell renderer. For example, a function might get an + * integer from the @tree_model, and render it to the "text" attribute of + * "cell" by converting it to its written equivilent. This is set by + * calling gtk_tree_view_column_set_cell_data_func() + */ +typedef void (* GtkTreeCellDataFunc) (GtkTreeViewColumn *tree_column, + GtkCellRenderer *cell, + GtkTreeModel *tree_model, + GtkTreeIter *iter, + gpointer data); + + +struct _GtkTreeViewColumn +{ + GInitiallyUnowned parent_instance; + + GtkTreeViewColumnPrivate *priv; +}; + +struct _GtkTreeViewColumnClass +{ + GInitiallyUnownedClass parent_class; + + void (*clicked) (GtkTreeViewColumn *tree_column); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_tree_view_column_get_type (void) G_GNUC_CONST; +GtkTreeViewColumn *gtk_tree_view_column_new (void); +GtkTreeViewColumn *gtk_tree_view_column_new_with_area (GtkCellArea *area); +GtkTreeViewColumn *gtk_tree_view_column_new_with_attributes (const gchar *title, + GtkCellRenderer *cell, + ...) G_GNUC_NULL_TERMINATED; +void gtk_tree_view_column_pack_start (GtkTreeViewColumn *tree_column, + GtkCellRenderer *cell, + gboolean expand); +void gtk_tree_view_column_pack_end (GtkTreeViewColumn *tree_column, + GtkCellRenderer *cell, + gboolean expand); +void gtk_tree_view_column_clear (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_add_attribute (GtkTreeViewColumn *tree_column, + GtkCellRenderer *cell_renderer, + const gchar *attribute, + gint column); +void gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column, + GtkCellRenderer *cell_renderer, + ...) G_GNUC_NULL_TERMINATED; +void gtk_tree_view_column_set_cell_data_func (GtkTreeViewColumn *tree_column, + GtkCellRenderer *cell_renderer, + GtkTreeCellDataFunc func, + gpointer func_data, + GDestroyNotify destroy); +void gtk_tree_view_column_clear_attributes (GtkTreeViewColumn *tree_column, + GtkCellRenderer *cell_renderer); +void gtk_tree_view_column_set_spacing (GtkTreeViewColumn *tree_column, + gint spacing); +gint gtk_tree_view_column_get_spacing (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_visible (GtkTreeViewColumn *tree_column, + gboolean visible); +gboolean gtk_tree_view_column_get_visible (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_resizable (GtkTreeViewColumn *tree_column, + gboolean resizable); +gboolean gtk_tree_view_column_get_resizable (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_sizing (GtkTreeViewColumn *tree_column, + GtkTreeViewColumnSizing type); +GtkTreeViewColumnSizing gtk_tree_view_column_get_sizing (GtkTreeViewColumn *tree_column); +GDK_AVAILABLE_IN_3_2 +gint gtk_tree_view_column_get_x_offset (GtkTreeViewColumn *tree_column); +gint gtk_tree_view_column_get_width (GtkTreeViewColumn *tree_column); +gint gtk_tree_view_column_get_fixed_width (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_fixed_width (GtkTreeViewColumn *tree_column, + gint fixed_width); +void gtk_tree_view_column_set_min_width (GtkTreeViewColumn *tree_column, + gint min_width); +gint gtk_tree_view_column_get_min_width (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_max_width (GtkTreeViewColumn *tree_column, + gint max_width); +gint gtk_tree_view_column_get_max_width (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_clicked (GtkTreeViewColumn *tree_column); + + + +/* Options for manipulating the column headers + */ +void gtk_tree_view_column_set_title (GtkTreeViewColumn *tree_column, + const gchar *title); +const gchar * gtk_tree_view_column_get_title (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_expand (GtkTreeViewColumn *tree_column, + gboolean expand); +gboolean gtk_tree_view_column_get_expand (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_clickable (GtkTreeViewColumn *tree_column, + gboolean clickable); +gboolean gtk_tree_view_column_get_clickable (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_widget (GtkTreeViewColumn *tree_column, + GtkWidget *widget); +GtkWidget *gtk_tree_view_column_get_widget (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_alignment (GtkTreeViewColumn *tree_column, + gfloat xalign); +gfloat gtk_tree_view_column_get_alignment (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_reorderable (GtkTreeViewColumn *tree_column, + gboolean reorderable); +gboolean gtk_tree_view_column_get_reorderable (GtkTreeViewColumn *tree_column); + + + +/* You probably only want to use gtk_tree_view_column_set_sort_column_id. The + * other sorting functions exist primarily to let others do their own custom sorting. + */ +void gtk_tree_view_column_set_sort_column_id (GtkTreeViewColumn *tree_column, + gint sort_column_id); +gint gtk_tree_view_column_get_sort_column_id (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_sort_indicator (GtkTreeViewColumn *tree_column, + gboolean setting); +gboolean gtk_tree_view_column_get_sort_indicator (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_sort_order (GtkTreeViewColumn *tree_column, + GtkSortType order); +GtkSortType gtk_tree_view_column_get_sort_order (GtkTreeViewColumn *tree_column); + + +/* These functions are meant primarily for interaction between the GtkTreeView and the column. + */ +void gtk_tree_view_column_cell_set_cell_data (GtkTreeViewColumn *tree_column, + GtkTreeModel *tree_model, + GtkTreeIter *iter, + gboolean is_expander, + gboolean is_expanded); +void gtk_tree_view_column_cell_get_size (GtkTreeViewColumn *tree_column, + const GdkRectangle *cell_area, + gint *x_offset, + gint *y_offset, + gint *width, + gint *height); +gboolean gtk_tree_view_column_cell_is_visible (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_focus_cell (GtkTreeViewColumn *tree_column, + GtkCellRenderer *cell); +gboolean gtk_tree_view_column_cell_get_position (GtkTreeViewColumn *tree_column, + GtkCellRenderer *cell_renderer, + gint *x_offset, + gint *width); +void gtk_tree_view_column_queue_resize (GtkTreeViewColumn *tree_column); +GtkWidget *gtk_tree_view_column_get_tree_view (GtkTreeViewColumn *tree_column); +GtkWidget *gtk_tree_view_column_get_button (GtkTreeViewColumn *tree_column); + + +G_END_DECLS + + +#endif /* __GTK_TREE_VIEW_COLUMN_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktypebuiltins.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktypebuiltins.h new file mode 100644 index 0000000..1db8ee0 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktypebuiltins.h @@ -0,0 +1,301 @@ + +/* Generated data (by glib-mkenums) */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TYPE_BUILTINS_H__ +#define __GTK_TYPE_BUILTINS_H__ + +#include + +G_BEGIN_DECLS + +/* enumerations from "gtkaboutdialog.h" */ +GType gtk_license_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_LICENSE (gtk_license_get_type ()) + +/* enumerations from "gtkaccelgroup.h" */ +GType gtk_accel_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ACCEL_FLAGS (gtk_accel_flags_get_type ()) + +/* enumerations from "gtkapplication.h" */ +GType gtk_application_inhibit_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_APPLICATION_INHIBIT_FLAGS (gtk_application_inhibit_flags_get_type ()) + +/* enumerations from "gtkassistant.h" */ +GType gtk_assistant_page_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ASSISTANT_PAGE_TYPE (gtk_assistant_page_type_get_type ()) + +/* enumerations from "gtkbuilder.h" */ +GType gtk_builder_error_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_BUILDER_ERROR (gtk_builder_error_get_type ()) + +/* enumerations from "gtkcalendar.h" */ +GType gtk_calendar_display_options_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_CALENDAR_DISPLAY_OPTIONS (gtk_calendar_display_options_get_type ()) + +/* enumerations from "gtkcellrenderer.h" */ +GType gtk_cell_renderer_state_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_CELL_RENDERER_STATE (gtk_cell_renderer_state_get_type ()) +GType gtk_cell_renderer_mode_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_CELL_RENDERER_MODE (gtk_cell_renderer_mode_get_type ()) + +/* enumerations from "gtkcellrendereraccel.h" */ +GType gtk_cell_renderer_accel_mode_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_CELL_RENDERER_ACCEL_MODE (gtk_cell_renderer_accel_mode_get_type ()) + +/* enumerations from "gtkcssprovider.h" */ +GType gtk_css_provider_error_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_CSS_PROVIDER_ERROR (gtk_css_provider_error_get_type ()) + +/* enumerations from "gtkcsssection.h" */ +GType gtk_css_section_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_CSS_SECTION_TYPE (gtk_css_section_type_get_type ()) + +/* enumerations from "gtkdebug.h" */ +GType gtk_debug_flag_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_DEBUG_FLAG (gtk_debug_flag_get_type ()) + +/* enumerations from "gtkdialog.h" */ +GType gtk_dialog_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_DIALOG_FLAGS (gtk_dialog_flags_get_type ()) +GType gtk_response_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_RESPONSE_TYPE (gtk_response_type_get_type ()) + +/* enumerations from "gtkdnd.h" */ +GType gtk_dest_defaults_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_DEST_DEFAULTS (gtk_dest_defaults_get_type ()) +GType gtk_target_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TARGET_FLAGS (gtk_target_flags_get_type ()) + +/* enumerations from "gtkentry.h" */ +GType gtk_entry_icon_position_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ENTRY_ICON_POSITION (gtk_entry_icon_position_get_type ()) + +/* enumerations from "gtkenums.h" */ +GType gtk_align_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ALIGN (gtk_align_get_type ()) +GType gtk_arrow_placement_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ARROW_PLACEMENT (gtk_arrow_placement_get_type ()) +GType gtk_arrow_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ARROW_TYPE (gtk_arrow_type_get_type ()) +GType gtk_attach_options_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ATTACH_OPTIONS (gtk_attach_options_get_type ()) +GType gtk_button_box_style_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_BUTTON_BOX_STYLE (gtk_button_box_style_get_type ()) +GType gtk_delete_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_DELETE_TYPE (gtk_delete_type_get_type ()) +GType gtk_direction_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_DIRECTION_TYPE (gtk_direction_type_get_type ()) +GType gtk_expander_style_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_EXPANDER_STYLE (gtk_expander_style_get_type ()) +GType gtk_icon_size_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ICON_SIZE (gtk_icon_size_get_type ()) +GType gtk_sensitivity_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SENSITIVITY_TYPE (gtk_sensitivity_type_get_type ()) +GType gtk_text_direction_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TEXT_DIRECTION (gtk_text_direction_get_type ()) +GType gtk_justification_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_JUSTIFICATION (gtk_justification_get_type ()) +GType gtk_menu_direction_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_MENU_DIRECTION_TYPE (gtk_menu_direction_type_get_type ()) +GType gtk_message_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_MESSAGE_TYPE (gtk_message_type_get_type ()) +GType gtk_movement_step_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_MOVEMENT_STEP (gtk_movement_step_get_type ()) +GType gtk_scroll_step_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SCROLL_STEP (gtk_scroll_step_get_type ()) +GType gtk_orientation_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ORIENTATION (gtk_orientation_get_type ()) +GType gtk_corner_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_CORNER_TYPE (gtk_corner_type_get_type ()) +GType gtk_pack_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PACK_TYPE (gtk_pack_type_get_type ()) +GType gtk_path_priority_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PATH_PRIORITY_TYPE (gtk_path_priority_type_get_type ()) +GType gtk_path_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PATH_TYPE (gtk_path_type_get_type ()) +GType gtk_policy_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_POLICY_TYPE (gtk_policy_type_get_type ()) +GType gtk_position_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_POSITION_TYPE (gtk_position_type_get_type ()) +GType gtk_relief_style_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_RELIEF_STYLE (gtk_relief_style_get_type ()) +GType gtk_resize_mode_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_RESIZE_MODE (gtk_resize_mode_get_type ()) +GType gtk_scroll_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SCROLL_TYPE (gtk_scroll_type_get_type ()) +GType gtk_selection_mode_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SELECTION_MODE (gtk_selection_mode_get_type ()) +GType gtk_shadow_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SHADOW_TYPE (gtk_shadow_type_get_type ()) +GType gtk_state_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_STATE_TYPE (gtk_state_type_get_type ()) +GType gtk_toolbar_style_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TOOLBAR_STYLE (gtk_toolbar_style_get_type ()) +GType gtk_window_position_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_WINDOW_POSITION (gtk_window_position_get_type ()) +GType gtk_window_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_WINDOW_TYPE (gtk_window_type_get_type ()) +GType gtk_wrap_mode_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_WRAP_MODE (gtk_wrap_mode_get_type ()) +GType gtk_sort_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SORT_TYPE (gtk_sort_type_get_type ()) +GType gtk_im_preedit_style_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_IM_PREEDIT_STYLE (gtk_im_preedit_style_get_type ()) +GType gtk_im_status_style_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_IM_STATUS_STYLE (gtk_im_status_style_get_type ()) +GType gtk_pack_direction_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PACK_DIRECTION (gtk_pack_direction_get_type ()) +GType gtk_print_pages_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PRINT_PAGES (gtk_print_pages_get_type ()) +GType gtk_page_set_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PAGE_SET (gtk_page_set_get_type ()) +GType gtk_number_up_layout_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_NUMBER_UP_LAYOUT (gtk_number_up_layout_get_type ()) +GType gtk_page_orientation_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PAGE_ORIENTATION (gtk_page_orientation_get_type ()) +GType gtk_print_quality_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PRINT_QUALITY (gtk_print_quality_get_type ()) +GType gtk_print_duplex_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PRINT_DUPLEX (gtk_print_duplex_get_type ()) +GType gtk_unit_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_UNIT (gtk_unit_get_type ()) +GType gtk_tree_view_grid_lines_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TREE_VIEW_GRID_LINES (gtk_tree_view_grid_lines_get_type ()) +GType gtk_drag_result_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_DRAG_RESULT (gtk_drag_result_get_type ()) +GType gtk_size_request_mode_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SIZE_REQUEST_MODE (gtk_size_request_mode_get_type ()) +GType gtk_scrollable_policy_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SCROLLABLE_POLICY (gtk_scrollable_policy_get_type ()) +GType gtk_state_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_STATE_FLAGS (gtk_state_flags_get_type ()) +GType gtk_region_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_REGION_FLAGS (gtk_region_flags_get_type ()) +GType gtk_junction_sides_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_JUNCTION_SIDES (gtk_junction_sides_get_type ()) +GType gtk_border_style_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_BORDER_STYLE (gtk_border_style_get_type ()) + +/* enumerations from "gtkfilechooser.h" */ +GType gtk_file_chooser_action_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_FILE_CHOOSER_ACTION (gtk_file_chooser_action_get_type ()) +GType gtk_file_chooser_confirmation_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_FILE_CHOOSER_CONFIRMATION (gtk_file_chooser_confirmation_get_type ()) +GType gtk_file_chooser_error_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_FILE_CHOOSER_ERROR (gtk_file_chooser_error_get_type ()) + +/* enumerations from "gtkfilefilter.h" */ +GType gtk_file_filter_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_FILE_FILTER_FLAGS (gtk_file_filter_flags_get_type ()) + +/* enumerations from "gtkicontheme.h" */ +GType gtk_icon_lookup_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ICON_LOOKUP_FLAGS (gtk_icon_lookup_flags_get_type ()) +GType gtk_icon_theme_error_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ICON_THEME_ERROR (gtk_icon_theme_error_get_type ()) + +/* enumerations from "gtkiconview.h" */ +GType gtk_icon_view_drop_position_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_ICON_VIEW_DROP_POSITION (gtk_icon_view_drop_position_get_type ()) + +/* enumerations from "gtkimage.h" */ +GType gtk_image_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_IMAGE_TYPE (gtk_image_type_get_type ()) + +/* enumerations from "gtkmessagedialog.h" */ +GType gtk_buttons_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_BUTTONS_TYPE (gtk_buttons_type_get_type ()) + +/* enumerations from "gtknotebook.h" */ +GType gtk_notebook_tab_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_NOTEBOOK_TAB (gtk_notebook_tab_get_type ()) + +/* enumerations from "gtkprintoperation.h" */ +GType gtk_print_status_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PRINT_STATUS (gtk_print_status_get_type ()) +GType gtk_print_operation_result_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PRINT_OPERATION_RESULT (gtk_print_operation_result_get_type ()) +GType gtk_print_operation_action_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PRINT_OPERATION_ACTION (gtk_print_operation_action_get_type ()) +GType gtk_print_error_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_PRINT_ERROR (gtk_print_error_get_type ()) + +/* enumerations from "gtkrecentchooser.h" */ +GType gtk_recent_sort_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_RECENT_SORT_TYPE (gtk_recent_sort_type_get_type ()) +GType gtk_recent_chooser_error_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_RECENT_CHOOSER_ERROR (gtk_recent_chooser_error_get_type ()) + +/* enumerations from "gtkrecentfilter.h" */ +GType gtk_recent_filter_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_RECENT_FILTER_FLAGS (gtk_recent_filter_flags_get_type ()) + +/* enumerations from "gtkrecentmanager.h" */ +GType gtk_recent_manager_error_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_RECENT_MANAGER_ERROR (gtk_recent_manager_error_get_type ()) + +/* enumerations from "gtksizegroup.h" */ +GType gtk_size_group_mode_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SIZE_GROUP_MODE (gtk_size_group_mode_get_type ()) + +/* enumerations from "gtkspinbutton.h" */ +GType gtk_spin_button_update_policy_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY (gtk_spin_button_update_policy_get_type ()) +GType gtk_spin_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_SPIN_TYPE (gtk_spin_type_get_type ()) + +/* enumerations from "gtktextbuffer.h" */ +GType gtk_text_buffer_target_info_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TEXT_BUFFER_TARGET_INFO (gtk_text_buffer_target_info_get_type ()) + +/* enumerations from "gtktextiter.h" */ +GType gtk_text_search_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TEXT_SEARCH_FLAGS (gtk_text_search_flags_get_type ()) + +/* enumerations from "gtktextview.h" */ +GType gtk_text_window_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TEXT_WINDOW_TYPE (gtk_text_window_type_get_type ()) + +/* enumerations from "gtktoolbar.h" */ +GType gtk_toolbar_space_style_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TOOLBAR_SPACE_STYLE (gtk_toolbar_space_style_get_type ()) + +/* enumerations from "gtktoolpalette.h" */ +GType gtk_tool_palette_drag_targets_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TOOL_PALETTE_DRAG_TARGETS (gtk_tool_palette_drag_targets_get_type ()) + +/* enumerations from "gtktreemodel.h" */ +GType gtk_tree_model_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TREE_MODEL_FLAGS (gtk_tree_model_flags_get_type ()) + +/* enumerations from "gtktreeview.h" */ +GType gtk_tree_view_drop_position_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TREE_VIEW_DROP_POSITION (gtk_tree_view_drop_position_get_type ()) + +/* enumerations from "gtktreeviewcolumn.h" */ +GType gtk_tree_view_column_sizing_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_TREE_VIEW_COLUMN_SIZING (gtk_tree_view_column_sizing_get_type ()) + +/* enumerations from "gtkuimanager.h" */ +GType gtk_ui_manager_item_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_UI_MANAGER_ITEM_TYPE (gtk_ui_manager_item_type_get_type ()) + +/* enumerations from "gtkwidget.h" */ +GType gtk_widget_help_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_WIDGET_HELP_TYPE (gtk_widget_help_type_get_type ()) + +/* enumerations from "deprecated/gtkrc.h" */ +GType gtk_rc_flags_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_RC_FLAGS (gtk_rc_flags_get_type ()) +GType gtk_rc_token_type_get_type (void) G_GNUC_CONST; +#define GTK_TYPE_RC_TOKEN_TYPE (gtk_rc_token_type_get_type ()) +G_END_DECLS + +#endif /* __GTK_TYPE_BUILTINS_H__ */ + +/* Generated data ends here */ + diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtktypes.h b/gtk+-mingw/include/gtk-3.0/gtk/gtktypes.h new file mode 100644 index 0000000..b3eade3 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtktypes.h @@ -0,0 +1,56 @@ +/* GDK - The GIMP Drawing Kit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_TYPES_H__ +#define __GTK_TYPES_H__ + +G_BEGIN_DECLS + +typedef struct _GtkAdjustment GtkAdjustment; +typedef struct _GtkClipboard GtkClipboard; +typedef struct _GtkIconSet GtkIconSet; +typedef struct _GtkIconSource GtkIconSource; +typedef struct _GtkRcStyle GtkRcStyle; +typedef struct _GtkRequisition GtkRequisition; +typedef struct _GtkSelectionData GtkSelectionData; +typedef struct _GtkSettings GtkSettings; +typedef struct _GtkStyle GtkStyle; +typedef struct _GtkStyleContext GtkStyleContext; +typedef struct _GtkTooltip GtkTooltip; +typedef struct _GtkWidget GtkWidget; +typedef struct _GtkWidgetPath GtkWidgetPath; +typedef struct _GtkWindow GtkWindow; + + +typedef gboolean (*GtkRcPropertyParser) (const GParamSpec *pspec, + const GString *rc_string, + GValue *property_value); + +G_END_DECLS + +#endif /* __GTK_TYPES_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkuimanager.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkuimanager.h new file mode 100644 index 0000000..181cfa5 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkuimanager.h @@ -0,0 +1,171 @@ +/* + * GTK - The GIMP Toolkit + * Copyright (C) 1998, 1999 Red Hat, Inc. + * All rights reserved. + * + * This Library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This Library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library. If not, see . + */ + +/* + * Author: James Henstridge + * + * Modified by the GTK+ Team and others 2003. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_UI_MANAGER_H__ +#define __GTK_UI_MANAGER_H__ + +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_UI_MANAGER (gtk_ui_manager_get_type ()) +#define GTK_UI_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_UI_MANAGER, GtkUIManager)) +#define GTK_UI_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_UI_MANAGER, GtkUIManagerClass)) +#define GTK_IS_UI_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_UI_MANAGER)) +#define GTK_IS_UI_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_UI_MANAGER)) +#define GTK_UI_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_UI_MANAGER, GtkUIManagerClass)) + +typedef struct _GtkUIManager GtkUIManager; +typedef struct _GtkUIManagerClass GtkUIManagerClass; +typedef struct _GtkUIManagerPrivate GtkUIManagerPrivate; + + +struct _GtkUIManager { + GObject parent; + + /*< private >*/ + GtkUIManagerPrivate *private_data; +}; + +struct _GtkUIManagerClass { + GObjectClass parent_class; + + /* Signals */ + void (* add_widget) (GtkUIManager *manager, + GtkWidget *widget); + void (* actions_changed) (GtkUIManager *manager); + void (* connect_proxy) (GtkUIManager *manager, + GtkAction *action, + GtkWidget *proxy); + void (* disconnect_proxy) (GtkUIManager *manager, + GtkAction *action, + GtkWidget *proxy); + void (* pre_activate) (GtkUIManager *manager, + GtkAction *action); + void (* post_activate) (GtkUIManager *manager, + GtkAction *action); + + /* Virtual functions */ + GtkWidget * (* get_widget) (GtkUIManager *manager, + const gchar *path); + GtkAction * (* get_action) (GtkUIManager *manager, + const gchar *path); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +/** + * GtkUIManagerItemType: + * @GTK_UI_MANAGER_AUTO: Pick the type of the UI element according to context. + * @GTK_UI_MANAGER_MENUBAR: Create a menubar. + * @GTK_UI_MANAGER_MENU: Create a menu. + * @GTK_UI_MANAGER_TOOLBAR: Create a toolbar. + * @GTK_UI_MANAGER_PLACEHOLDER: Insert a placeholder. + * @GTK_UI_MANAGER_POPUP: Create a popup menu. + * @GTK_UI_MANAGER_MENUITEM: Create a menuitem. + * @GTK_UI_MANAGER_TOOLITEM: Create a toolitem. + * @GTK_UI_MANAGER_SEPARATOR: Create a separator. + * @GTK_UI_MANAGER_ACCELERATOR: Install an accelerator. + * @GTK_UI_MANAGER_POPUP_WITH_ACCELS: Same as %GTK_UI_MANAGER_POPUP, but the + * actions' accelerators are shown. + * + * These enumeration values are used by gtk_ui_manager_add_ui() to determine + * what UI element to create. + */ +typedef enum { + GTK_UI_MANAGER_AUTO = 0, + GTK_UI_MANAGER_MENUBAR = 1 << 0, + GTK_UI_MANAGER_MENU = 1 << 1, + GTK_UI_MANAGER_TOOLBAR = 1 << 2, + GTK_UI_MANAGER_PLACEHOLDER = 1 << 3, + GTK_UI_MANAGER_POPUP = 1 << 4, + GTK_UI_MANAGER_MENUITEM = 1 << 5, + GTK_UI_MANAGER_TOOLITEM = 1 << 6, + GTK_UI_MANAGER_SEPARATOR = 1 << 7, + GTK_UI_MANAGER_ACCELERATOR = 1 << 8, + GTK_UI_MANAGER_POPUP_WITH_ACCELS = 1 << 9 +} GtkUIManagerItemType; + +GType gtk_ui_manager_get_type (void) G_GNUC_CONST; +GtkUIManager *gtk_ui_manager_new (void); +GDK_DEPRECATED_IN_3_4 +void gtk_ui_manager_set_add_tearoffs (GtkUIManager *manager, + gboolean add_tearoffs); +GDK_DEPRECATED_IN_3_4 +gboolean gtk_ui_manager_get_add_tearoffs (GtkUIManager *manager); + +void gtk_ui_manager_insert_action_group (GtkUIManager *manager, + GtkActionGroup *action_group, + gint pos); +void gtk_ui_manager_remove_action_group (GtkUIManager *manager, + GtkActionGroup *action_group); +GList *gtk_ui_manager_get_action_groups (GtkUIManager *manager); +GtkAccelGroup *gtk_ui_manager_get_accel_group (GtkUIManager *manager); +GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager, + const gchar *path); +GSList *gtk_ui_manager_get_toplevels (GtkUIManager *manager, + GtkUIManagerItemType types); +GtkAction *gtk_ui_manager_get_action (GtkUIManager *manager, + const gchar *path); +guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager, + const gchar *buffer, + gssize length, + GError **error); +guint gtk_ui_manager_add_ui_from_file (GtkUIManager *manager, + const gchar *filename, + GError **error); +guint gtk_ui_manager_add_ui_from_resource(GtkUIManager *manager, + const gchar *resource_path, + GError **error); +void gtk_ui_manager_add_ui (GtkUIManager *manager, + guint merge_id, + const gchar *path, + const gchar *name, + const gchar *action, + GtkUIManagerItemType type, + gboolean top); +void gtk_ui_manager_remove_ui (GtkUIManager *manager, + guint merge_id); +gchar *gtk_ui_manager_get_ui (GtkUIManager *manager); +void gtk_ui_manager_ensure_update (GtkUIManager *manager); +guint gtk_ui_manager_new_merge_id (GtkUIManager *manager); + +G_END_DECLS + +#endif /* __GTK_UI_MANAGER_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkversion.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkversion.h new file mode 100644 index 0000000..3570c7f --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkversion.h @@ -0,0 +1,102 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-1999. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +/** + * SECTION:gtkfeatures + * @Short_description: Variables and functions to check the GTK+ version + * @Title: Version Information + * + * GTK+ provides version information, primarily useful in configure checks + * for builds that have a configure script. Applications will not typically + * use the features described here. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VERSION_H__ +#define __GTK_VERSION_H__ + +/** + * GTK_MAJOR_VERSION: + * + * Like gtk_get_major_version(), but from the headers used at + * application compile time, rather than from the library linked + * against at application run time. + */ +#define GTK_MAJOR_VERSION (3) + +/** + * GTK_MINOR_VERSION: + * + * Like gtk_get_minor_version(), but from the headers used at + * application compile time, rather than from the library linked + * against at application run time. + */ +#define GTK_MINOR_VERSION (5) + +/** + * GTK_MICRO_VERSION: + * + * Like gtk_get_micro_version(), but from the headers used at + * application compile time, rather than from the library linked + * against at application run time. + */ +#define GTK_MICRO_VERSION (4) + +/** + * GTK_BINARY_AGE: + * + * Like gtk_get_binary_age(), but from the headers used at + * application compile time, rather than from the library linked + * against at application run time. + */ +#define GTK_BINARY_AGE (504) + +/** + * GTK_INTERFACE_AGE: + * + * Like gtk_get_interface_age(), but from the headers used at + * application compile time, rather than from the library linked + * against at application run time. + */ +#define GTK_INTERFACE_AGE (0) + +/** + * GTK_CHECK_VERSION: + * @major: major version (e.g. 1 for version 1.2.5) + * @minor: minor version (e.g. 2 for version 1.2.5) + * @micro: micro version (e.g. 5 for version 1.2.5) + * + * Returns %TRUE if the version of the GTK+ header files + * is the same as or newer than the passed-in 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))) + +#endif /* __GTK_VERSION_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkviewport.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkviewport.h new file mode 100644 index 0000000..68aaa85 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkviewport.h @@ -0,0 +1,96 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VIEWPORT_H__ +#define __GTK_VIEWPORT_H__ + + +#include + + +G_BEGIN_DECLS + + +#define GTK_TYPE_VIEWPORT (gtk_viewport_get_type ()) +#define GTK_VIEWPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VIEWPORT, GtkViewport)) +#define GTK_VIEWPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VIEWPORT, GtkViewportClass)) +#define GTK_IS_VIEWPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VIEWPORT)) +#define GTK_IS_VIEWPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VIEWPORT)) +#define GTK_VIEWPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_VIEWPORT, GtkViewportClass)) + + +typedef struct _GtkViewport GtkViewport; +typedef struct _GtkViewportPrivate GtkViewportPrivate; +typedef struct _GtkViewportClass GtkViewportClass; + +struct _GtkViewport +{ + GtkBin bin; + + /*< private >*/ + GtkViewportPrivate *priv; +}; + +struct _GtkViewportClass +{ + GtkBinClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + + +GType gtk_viewport_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_viewport_new (GtkAdjustment *hadjustment, + GtkAdjustment *vadjustment); + +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment) +GtkAdjustment* gtk_viewport_get_hadjustment (GtkViewport *viewport); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment) +GtkAdjustment* gtk_viewport_get_vadjustment (GtkViewport *viewport); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_hadjustment) +void gtk_viewport_set_hadjustment (GtkViewport *viewport, + GtkAdjustment *adjustment); +GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_vadjustment) +void gtk_viewport_set_vadjustment (GtkViewport *viewport, + GtkAdjustment *adjustment); + +void gtk_viewport_set_shadow_type (GtkViewport *viewport, + GtkShadowType type); +GtkShadowType gtk_viewport_get_shadow_type (GtkViewport *viewport); +GdkWindow* gtk_viewport_get_bin_window (GtkViewport *viewport); +GdkWindow* gtk_viewport_get_view_window (GtkViewport *viewport); + + +G_END_DECLS + + +#endif /* __GTK_VIEWPORT_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkvolumebutton.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkvolumebutton.h new file mode 100644 index 0000000..6c4cc21 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkvolumebutton.h @@ -0,0 +1,70 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2007 Red Hat, Inc. + * + * Authors: + * - Bastien Nocera + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 2007. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VOLUME_BUTTON_H__ +#define __GTK_VOLUME_BUTTON_H__ + +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_VOLUME_BUTTON (gtk_volume_button_get_type ()) +#define GTK_VOLUME_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VOLUME_BUTTON, GtkVolumeButton)) +#define GTK_VOLUME_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VOLUME_BUTTON, GtkVolumeButtonClass)) +#define GTK_IS_VOLUME_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VOLUME_BUTTON)) +#define GTK_IS_VOLUME_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VOLUME_BUTTON)) +#define GTK_VOLUME_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_VOLUME_BUTTON, GtkVolumeButtonClass)) + +typedef struct _GtkVolumeButton GtkVolumeButton; +typedef struct _GtkVolumeButtonClass GtkVolumeButtonClass; + +struct _GtkVolumeButton +{ + GtkScaleButton parent; +}; + +struct _GtkVolumeButtonClass +{ + GtkScaleButtonClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_volume_button_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_volume_button_new (void); + +G_END_DECLS + +#endif /* __GTK_VOLUME_BUTTON_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkwidget.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkwidget.h new file mode 100644 index 0000000..5a4ac4f --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkwidget.h @@ -0,0 +1,892 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_WIDGET_H__ +#define __GTK_WIDGET_H__ + +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +/* Kinds of widget-specific help */ +typedef enum +{ + GTK_WIDGET_HELP_TOOLTIP, + GTK_WIDGET_HELP_WHATS_THIS +} GtkWidgetHelpType; + +/* Macro for casting a pointer to a GtkWidget or GtkWidgetClass pointer. + * Macros for testing whether `widget' or `klass' are of type GTK_TYPE_WIDGET. + */ +#define GTK_TYPE_WIDGET (gtk_widget_get_type ()) +#define GTK_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget)) +#define GTK_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WIDGET, GtkWidgetClass)) +#define GTK_IS_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_TYPE ((widget), GTK_TYPE_WIDGET)) +#define GTK_IS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WIDGET)) +#define GTK_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WIDGET, GtkWidgetClass)) + +#define GTK_TYPE_REQUISITION (gtk_requisition_get_type ()) + +typedef struct _GtkWidgetPrivate GtkWidgetPrivate; +typedef struct _GtkWidgetClass GtkWidgetClass; +typedef struct _GtkWidgetClassPrivate GtkWidgetClassPrivate; +typedef struct _GtkWidgetAuxInfo GtkWidgetAuxInfo; + +/** + * GtkAllocation: + * @x: the X position of the widget's area relative to its parents allocation. + * @y: the Y position of the widget's area relative to its parents allocation. + * @width: the width of the widget's allocated area. + * @height: the height of the widget's allocated area. + * + * A GtkAllocation of a widget represents region + * which has been allocated to the widget by its parent. It is a subregion + * of its parents allocation. See for + * more information. + */ +typedef GdkRectangle GtkAllocation; + +/** + * GtkCallback: + * @widget: the widget to operate on + * @data: user-supplied data + * + * The type of the callback functions used for e.g. iterating over + * the children of a container, see gtk_container_foreach(). + */ +typedef void (*GtkCallback) (GtkWidget *widget, + gpointer data); + +/** + * GtkRequisition: + * @width: the widget's desired width + * @height: the widget's desired height + * + * A GtkRequisition represents the desired size of a widget. See + * for more information. + */ +struct _GtkRequisition +{ + gint width; + gint height; +}; + +/* The widget is the base of the tree for displayable objects. + * (A displayable object is one which takes up some amount + * of screen real estate). It provides a common base and interface + * which actual widgets must adhere to. + */ +struct _GtkWidget +{ + GInitiallyUnowned parent_instance; + + GtkWidgetPrivate *priv; +}; + +/** + * GtkWidgetClass: + * @parent_class: The object class structure needs to be the first + * element in the widget class structure in order for the class mechanism + * to work correctly. This allows a GtkWidgetClass pointer to be cast to + * a GObjectClass pointer. + * @activate_signal: The signal to emit when a widget of this class is + * activated, gtk_widget_activate() handles the emission. + * Implementation of this signal is optional. + * @get_request_mode: This allows a widget to tell its parent container whether + * it prefers to be allocated in %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or + * %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode. + * %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH means the widget prefers to have + * #GtkWidgetClass.get_preferred_width() called and then + * #GtkWidgetClass.get_preferred_height_for_width(). + * %GTK_SIZE_REQUEST_CONSTANT_SIZE disables any height-for-width or + * width-for-height geometry management for a said widget and is the + * default return. + * It's important to note (as described below) that any widget + * which trades height-for-width or width-for-height must respond properly + * to both of the virtual methods #GtkWidgetClass.get_preferred_height_for_width() + * and #GtkWidgetClass.get_preferred_width_for_height() since it might be + * queried in either #GtkSizeRequestMode by its parent container. + * @get_preferred_height: This is called by containers to obtain the minimum + * and natural height of a widget. A widget that does not actually trade + * any height for width or width for height only has to implement these + * two virtual methods (#GtkWidgetClass.get_preferred_width() and + * #GtkWidgetClass.get_preferred_height()). + * @get_preferred_width_for_height: This is analogous to + * #GtkWidgetClass.get_preferred_height_for_width() except that it + * operates in the oposite orientation. It's rare that a widget actually + * does %GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT requests but this can happen + * when, for example, a widget or container gets additional columns to + * compensate for a smaller allocated height. + * @get_preferred_width: This is called by containers to obtain the minimum + * and natural width of a widget. A widget will never be allocated a width + * less than its minimum and will only ever be allocated a width greater + * than the natural width once all of the said widget's siblings have + * received their natural widths. + * Furthermore, a widget will only ever be allocated a width greater than + * its natural width if it was configured to receive extra expand space + * from its parent container. + * @get_preferred_height_for_width: This is similar to + * #GtkWidgetClass.get_preferred_height() except that it is passed a + * contextual width to request height for. By implementing this virtual + * method it is possible for a #GtkLabel to tell its parent how much height + * would be required if the label were to be allocated a said width. + * @adjust_size_request: Convert an initial size request from a widget's + * #GtkSizeRequest virtual method implementations into a size request to + * be used by parent containers in laying out the widget. + * adjust_size_request adjusts from a child widget's + * original request to what a parent container should + * use for layout. The @for_size argument will be -1 if the request should + * not be for a particular size in the opposing orientation, i.e. if the + * request is not height-for-width or width-for-height. If @for_size is + * greater than -1, it is the proposed allocation in the opposing + * orientation that we need the request for. Implementations of + * adjust_size_request should chain up to the default implementation, + * which applies #GtkWidget's margin properties and imposes any values + * from gtk_widget_set_size_request(). Chaining up should be last, + * after your subclass adjusts the request, so + * #GtkWidget can apply constraints and add the margin properly. + * @adjust_size_allocation: Convert an initial size allocation assigned + * by a #GtkContainer using gtk_widget_size_allocate(), into an actual + * size allocation to be used by the widget. adjust_size_allocation + * adjusts to a child widget's actual allocation + * from what a parent container computed for the + * child. The adjusted allocation must be entirely within the original + * allocation. In any custom implementation, chain up to the default + * #GtkWidget implementation of this method, which applies the margin + * and alignment properties of #GtkWidget. Chain up + * before performing your own adjustments so your + * own adjustments remove more allocation after the #GtkWidget base + * class has already removed margin and alignment. The natural size + * passed in should be adjusted in the same way as the allocated size, + * which allows adjustments to perform alignments or other changes + * based on natural size. + */ +struct _GtkWidgetClass +{ + GInitiallyUnownedClass parent_class; + + /*< public >*/ + + guint activate_signal; + + /* seldomly overidden */ + void (*dispatch_child_properties_changed) (GtkWidget *widget, + guint n_pspecs, + GParamSpec **pspecs); + + /* basics */ + void (* destroy) (GtkWidget *widget); + void (* show) (GtkWidget *widget); + void (* show_all) (GtkWidget *widget); + void (* hide) (GtkWidget *widget); + void (* map) (GtkWidget *widget); + void (* unmap) (GtkWidget *widget); + void (* realize) (GtkWidget *widget); + void (* unrealize) (GtkWidget *widget); + void (* size_allocate) (GtkWidget *widget, + GtkAllocation *allocation); + void (* state_changed) (GtkWidget *widget, + GtkStateType previous_state); + void (* state_flags_changed) (GtkWidget *widget, + GtkStateFlags previous_state_flags); + void (* parent_set) (GtkWidget *widget, + GtkWidget *previous_parent); + void (* hierarchy_changed) (GtkWidget *widget, + GtkWidget *previous_toplevel); + void (* style_set) (GtkWidget *widget, + GtkStyle *previous_style); + void (* direction_changed) (GtkWidget *widget, + GtkTextDirection previous_direction); + void (* grab_notify) (GtkWidget *widget, + gboolean was_grabbed); + void (* child_notify) (GtkWidget *widget, + GParamSpec *pspec); + gboolean (* draw) (GtkWidget *widget, + cairo_t *cr); + + /* size requests */ + GtkSizeRequestMode (* get_request_mode) (GtkWidget *widget); + + void (* get_preferred_height) (GtkWidget *widget, + gint *minimum_height, + gint *natural_height); + void (* get_preferred_width_for_height) (GtkWidget *widget, + gint height, + gint *minimum_width, + gint *natural_width); + void (* get_preferred_width) (GtkWidget *widget, + gint *minimum_width, + gint *natural_width); + void (* get_preferred_height_for_width) (GtkWidget *widget, + gint width, + gint *minimum_height, + gint *natural_height); + + /* Mnemonics */ + gboolean (* mnemonic_activate) (GtkWidget *widget, + gboolean group_cycling); + + /* explicit focus */ + void (* grab_focus) (GtkWidget *widget); + gboolean (* focus) (GtkWidget *widget, + GtkDirectionType direction); + + /* keyboard navigation */ + void (* move_focus) (GtkWidget *widget, + GtkDirectionType direction); + gboolean (* keynav_failed) (GtkWidget *widget, + GtkDirectionType direction); + + /* events */ + gboolean (* event) (GtkWidget *widget, + GdkEvent *event); + gboolean (* button_press_event) (GtkWidget *widget, + GdkEventButton *event); + gboolean (* button_release_event) (GtkWidget *widget, + GdkEventButton *event); + gboolean (* scroll_event) (GtkWidget *widget, + GdkEventScroll *event); + gboolean (* motion_notify_event) (GtkWidget *widget, + GdkEventMotion *event); + gboolean (* delete_event) (GtkWidget *widget, + GdkEventAny *event); + gboolean (* destroy_event) (GtkWidget *widget, + GdkEventAny *event); + gboolean (* key_press_event) (GtkWidget *widget, + GdkEventKey *event); + gboolean (* key_release_event) (GtkWidget *widget, + GdkEventKey *event); + gboolean (* enter_notify_event) (GtkWidget *widget, + GdkEventCrossing *event); + gboolean (* leave_notify_event) (GtkWidget *widget, + GdkEventCrossing *event); + gboolean (* configure_event) (GtkWidget *widget, + GdkEventConfigure *event); + gboolean (* focus_in_event) (GtkWidget *widget, + GdkEventFocus *event); + gboolean (* focus_out_event) (GtkWidget *widget, + GdkEventFocus *event); + gboolean (* map_event) (GtkWidget *widget, + GdkEventAny *event); + gboolean (* unmap_event) (GtkWidget *widget, + GdkEventAny *event); + gboolean (* property_notify_event) (GtkWidget *widget, + GdkEventProperty *event); + gboolean (* selection_clear_event) (GtkWidget *widget, + GdkEventSelection *event); + gboolean (* selection_request_event) (GtkWidget *widget, + GdkEventSelection *event); + gboolean (* selection_notify_event) (GtkWidget *widget, + GdkEventSelection *event); + gboolean (* proximity_in_event) (GtkWidget *widget, + GdkEventProximity *event); + gboolean (* proximity_out_event) (GtkWidget *widget, + GdkEventProximity *event); + gboolean (* visibility_notify_event) (GtkWidget *widget, + GdkEventVisibility *event); + gboolean (* window_state_event) (GtkWidget *widget, + GdkEventWindowState *event); + gboolean (* damage_event) (GtkWidget *widget, + GdkEventExpose *event); + gboolean (* grab_broken_event) (GtkWidget *widget, + GdkEventGrabBroken *event); + + /* selection */ + void (* selection_get) (GtkWidget *widget, + GtkSelectionData *selection_data, + guint info, + guint time_); + void (* selection_received) (GtkWidget *widget, + GtkSelectionData *selection_data, + guint time_); + + /* Source side drag signals */ + void (* drag_begin) (GtkWidget *widget, + GdkDragContext *context); + void (* drag_end) (GtkWidget *widget, + GdkDragContext *context); + void (* drag_data_get) (GtkWidget *widget, + GdkDragContext *context, + GtkSelectionData *selection_data, + guint info, + guint time_); + void (* drag_data_delete) (GtkWidget *widget, + GdkDragContext *context); + + /* Target side drag signals */ + void (* drag_leave) (GtkWidget *widget, + GdkDragContext *context, + guint time_); + gboolean (* drag_motion) (GtkWidget *widget, + GdkDragContext *context, + gint x, + gint y, + guint time_); + gboolean (* drag_drop) (GtkWidget *widget, + GdkDragContext *context, + gint x, + gint y, + guint time_); + void (* drag_data_received) (GtkWidget *widget, + GdkDragContext *context, + gint x, + gint y, + GtkSelectionData *selection_data, + guint info, + guint time_); + gboolean (* drag_failed) (GtkWidget *widget, + GdkDragContext *context, + GtkDragResult result); + + /* Signals used only for keybindings */ + gboolean (* popup_menu) (GtkWidget *widget); + + /* If a widget has multiple tooltips/whatsthis, it should show the + * one for the current focus location, or if that doesn't make + * sense, should cycle through them showing each tip alongside + * whatever piece of the widget it applies to. + */ + gboolean (* show_help) (GtkWidget *widget, + GtkWidgetHelpType help_type); + + /* accessibility support + */ + AtkObject * (* get_accessible) (GtkWidget *widget); + + void (* screen_changed) (GtkWidget *widget, + GdkScreen *previous_screen); + gboolean (* can_activate_accel) (GtkWidget *widget, + guint signal_id); + + + void (* composited_changed) (GtkWidget *widget); + + gboolean (* query_tooltip) (GtkWidget *widget, + gint x, + gint y, + gboolean keyboard_tooltip, + GtkTooltip *tooltip); + + void (* compute_expand) (GtkWidget *widget, + gboolean *hexpand_p, + gboolean *vexpand_p); + + void (* adjust_size_request) (GtkWidget *widget, + GtkOrientation orientation, + gint *minimum_size, + gint *natural_size); + void (* adjust_size_allocation) (GtkWidget *widget, + GtkOrientation orientation, + gint *minimum_size, + gint *natural_size, + gint *allocated_pos, + gint *allocated_size); + + void (* style_updated) (GtkWidget *widget); + + gboolean (* touch_event) (GtkWidget *widget, + GdkEventTouch *event); + + /*< private >*/ + + GtkWidgetClassPrivate *priv; + + /* Padding for future expansion */ + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); + void (*_gtk_reserved5) (void); + void (*_gtk_reserved6) (void); + void (*_gtk_reserved7) (void); +}; + +struct _GtkWidgetAuxInfo +{ + gint width; + gint height; + + guint halign : 4; + guint valign : 4; + + GtkBorder margin; +}; + +GType gtk_widget_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_widget_new (GType type, + const gchar *first_property_name, + ...); +void gtk_widget_destroy (GtkWidget *widget); +void gtk_widget_destroyed (GtkWidget *widget, + GtkWidget **widget_pointer); +void gtk_widget_unparent (GtkWidget *widget); +void gtk_widget_show (GtkWidget *widget); +void gtk_widget_hide (GtkWidget *widget); +void gtk_widget_show_now (GtkWidget *widget); +void gtk_widget_show_all (GtkWidget *widget); +void gtk_widget_set_no_show_all (GtkWidget *widget, + gboolean no_show_all); +gboolean gtk_widget_get_no_show_all (GtkWidget *widget); +void gtk_widget_map (GtkWidget *widget); +void gtk_widget_unmap (GtkWidget *widget); +void gtk_widget_realize (GtkWidget *widget); +void gtk_widget_unrealize (GtkWidget *widget); + +void gtk_widget_draw (GtkWidget *widget, + cairo_t *cr); +/* Queuing draws */ +void gtk_widget_queue_draw (GtkWidget *widget); +void gtk_widget_queue_draw_area (GtkWidget *widget, + gint x, + gint y, + gint width, + gint height); +void gtk_widget_queue_draw_region (GtkWidget *widget, + const cairo_region_t*region); +void gtk_widget_queue_resize (GtkWidget *widget); +void gtk_widget_queue_resize_no_redraw (GtkWidget *widget); +GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_size) +void gtk_widget_size_request (GtkWidget *widget, + GtkRequisition *requisition); +void gtk_widget_size_allocate (GtkWidget *widget, + GtkAllocation *allocation); + +GtkSizeRequestMode gtk_widget_get_request_mode (GtkWidget *widget); +void gtk_widget_get_preferred_width (GtkWidget *widget, + gint *minimum_width, + gint *natural_width); +void gtk_widget_get_preferred_height_for_width (GtkWidget *widget, + gint width, + gint *minimum_height, + gint *natural_height); +void gtk_widget_get_preferred_height (GtkWidget *widget, + gint *minimum_height, + gint *natural_height); +void gtk_widget_get_preferred_width_for_height (GtkWidget *widget, + gint height, + gint *minimum_width, + gint *natural_width); +void gtk_widget_get_preferred_size (GtkWidget *widget, + GtkRequisition *minimum_size, + GtkRequisition *natural_size); + +GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_size) +void gtk_widget_get_child_requisition (GtkWidget *widget, + GtkRequisition *requisition); +void gtk_widget_add_accelerator (GtkWidget *widget, + const gchar *accel_signal, + GtkAccelGroup *accel_group, + guint accel_key, + GdkModifierType accel_mods, + GtkAccelFlags accel_flags); +gboolean gtk_widget_remove_accelerator (GtkWidget *widget, + GtkAccelGroup *accel_group, + guint accel_key, + GdkModifierType accel_mods); +void gtk_widget_set_accel_path (GtkWidget *widget, + const gchar *accel_path, + GtkAccelGroup *accel_group); +GList* gtk_widget_list_accel_closures (GtkWidget *widget); +gboolean gtk_widget_can_activate_accel (GtkWidget *widget, + guint signal_id); +gboolean gtk_widget_mnemonic_activate (GtkWidget *widget, + gboolean group_cycling); +gboolean gtk_widget_event (GtkWidget *widget, + GdkEvent *event); +gint gtk_widget_send_expose (GtkWidget *widget, + GdkEvent *event); +gboolean gtk_widget_send_focus_change (GtkWidget *widget, + GdkEvent *event); + +gboolean gtk_widget_activate (GtkWidget *widget); + +void gtk_widget_reparent (GtkWidget *widget, + GtkWidget *new_parent); +gboolean gtk_widget_intersect (GtkWidget *widget, + const GdkRectangle *area, + GdkRectangle *intersection); +cairo_region_t *gtk_widget_region_intersect (GtkWidget *widget, + const cairo_region_t *region); + +void gtk_widget_freeze_child_notify (GtkWidget *widget); +void gtk_widget_child_notify (GtkWidget *widget, + const gchar *child_property); +void gtk_widget_thaw_child_notify (GtkWidget *widget); + +void gtk_widget_set_can_focus (GtkWidget *widget, + gboolean can_focus); +gboolean gtk_widget_get_can_focus (GtkWidget *widget); +gboolean gtk_widget_has_focus (GtkWidget *widget); +gboolean gtk_widget_is_focus (GtkWidget *widget); +GDK_AVAILABLE_IN_3_2 +gboolean gtk_widget_has_visible_focus (GtkWidget *widget); +void gtk_widget_grab_focus (GtkWidget *widget); + +void gtk_widget_set_can_default (GtkWidget *widget, + gboolean can_default); +gboolean gtk_widget_get_can_default (GtkWidget *widget); +gboolean gtk_widget_has_default (GtkWidget *widget); +void gtk_widget_grab_default (GtkWidget *widget); + +void gtk_widget_set_receives_default (GtkWidget *widget, + gboolean receives_default); +gboolean gtk_widget_get_receives_default (GtkWidget *widget); + +gboolean gtk_widget_has_grab (GtkWidget *widget); + +gboolean gtk_widget_device_is_shadowed (GtkWidget *widget, + GdkDevice *device); + + +void gtk_widget_set_name (GtkWidget *widget, + const gchar *name); +const gchar * gtk_widget_get_name (GtkWidget *widget); + +void gtk_widget_set_state (GtkWidget *widget, + GtkStateType state); +GtkStateType gtk_widget_get_state (GtkWidget *widget); + +void gtk_widget_set_state_flags (GtkWidget *widget, + GtkStateFlags flags, + gboolean clear); +void gtk_widget_unset_state_flags (GtkWidget *widget, + GtkStateFlags flags); +GtkStateFlags gtk_widget_get_state_flags (GtkWidget *widget); + +void gtk_widget_set_sensitive (GtkWidget *widget, + gboolean sensitive); +gboolean gtk_widget_get_sensitive (GtkWidget *widget); +gboolean gtk_widget_is_sensitive (GtkWidget *widget); + +void gtk_widget_set_visible (GtkWidget *widget, + gboolean visible); +gboolean gtk_widget_get_visible (GtkWidget *widget); + +void gtk_widget_set_has_window (GtkWidget *widget, + gboolean has_window); +gboolean gtk_widget_get_has_window (GtkWidget *widget); + +gboolean gtk_widget_is_toplevel (GtkWidget *widget); +gboolean gtk_widget_is_drawable (GtkWidget *widget); +void gtk_widget_set_realized (GtkWidget *widget, + gboolean realized); +gboolean gtk_widget_get_realized (GtkWidget *widget); +void gtk_widget_set_mapped (GtkWidget *widget, + gboolean mapped); +gboolean gtk_widget_get_mapped (GtkWidget *widget); + +void gtk_widget_set_app_paintable (GtkWidget *widget, + gboolean app_paintable); +gboolean gtk_widget_get_app_paintable (GtkWidget *widget); + +void gtk_widget_set_double_buffered (GtkWidget *widget, + gboolean double_buffered); +gboolean gtk_widget_get_double_buffered (GtkWidget *widget); + +void gtk_widget_set_redraw_on_allocate (GtkWidget *widget, + gboolean redraw_on_allocate); + +void gtk_widget_set_parent (GtkWidget *widget, + GtkWidget *parent); +GtkWidget * gtk_widget_get_parent (GtkWidget *widget); + +void gtk_widget_set_parent_window (GtkWidget *widget, + GdkWindow *parent_window); +GdkWindow * gtk_widget_get_parent_window (GtkWidget *widget); + +void gtk_widget_set_child_visible (GtkWidget *widget, + gboolean is_visible); +gboolean gtk_widget_get_child_visible (GtkWidget *widget); + +void gtk_widget_set_window (GtkWidget *widget, + GdkWindow *window); +GdkWindow * gtk_widget_get_window (GtkWidget *widget); + +int gtk_widget_get_allocated_width (GtkWidget *widget); +int gtk_widget_get_allocated_height (GtkWidget *widget); + +void gtk_widget_get_allocation (GtkWidget *widget, + GtkAllocation *allocation); +void gtk_widget_set_allocation (GtkWidget *widget, + const GtkAllocation *allocation); + +void gtk_widget_get_requisition (GtkWidget *widget, + GtkRequisition *requisition); + +gboolean gtk_widget_child_focus (GtkWidget *widget, + GtkDirectionType direction); +gboolean gtk_widget_keynav_failed (GtkWidget *widget, + GtkDirectionType direction); +void gtk_widget_error_bell (GtkWidget *widget); + +void gtk_widget_set_size_request (GtkWidget *widget, + gint width, + gint height); +void gtk_widget_get_size_request (GtkWidget *widget, + gint *width, + gint *height); +void gtk_widget_set_events (GtkWidget *widget, + gint events); +void gtk_widget_add_events (GtkWidget *widget, + gint events); +void gtk_widget_set_device_events (GtkWidget *widget, + GdkDevice *device, + GdkEventMask events); +void gtk_widget_add_device_events (GtkWidget *widget, + GdkDevice *device, + GdkEventMask events); + +void gtk_widget_set_device_enabled (GtkWidget *widget, + GdkDevice *device, + gboolean enabled); +gboolean gtk_widget_get_device_enabled (GtkWidget *widget, + GdkDevice *device); + +GtkWidget* gtk_widget_get_toplevel (GtkWidget *widget); +GtkWidget* gtk_widget_get_ancestor (GtkWidget *widget, + GType widget_type); +GdkVisual* gtk_widget_get_visual (GtkWidget *widget); +void gtk_widget_set_visual (GtkWidget *widget, + GdkVisual *visual); + +GdkScreen * gtk_widget_get_screen (GtkWidget *widget); +gboolean gtk_widget_has_screen (GtkWidget *widget); +GdkDisplay * gtk_widget_get_display (GtkWidget *widget); +GdkWindow * gtk_widget_get_root_window (GtkWidget *widget); +GtkSettings* gtk_widget_get_settings (GtkWidget *widget); +GtkClipboard *gtk_widget_get_clipboard (GtkWidget *widget, + GdkAtom selection); + + +/* Expand flags and related support */ +gboolean gtk_widget_get_hexpand (GtkWidget *widget); +void gtk_widget_set_hexpand (GtkWidget *widget, + gboolean expand); +gboolean gtk_widget_get_hexpand_set (GtkWidget *widget); +void gtk_widget_set_hexpand_set (GtkWidget *widget, + gboolean set); +gboolean gtk_widget_get_vexpand (GtkWidget *widget); +void gtk_widget_set_vexpand (GtkWidget *widget, + gboolean expand); +gboolean gtk_widget_get_vexpand_set (GtkWidget *widget); +void gtk_widget_set_vexpand_set (GtkWidget *widget, + gboolean set); +void gtk_widget_queue_compute_expand (GtkWidget *widget); +gboolean gtk_widget_compute_expand (GtkWidget *widget, + GtkOrientation orientation); + + +/* Multidevice support */ +gboolean gtk_widget_get_support_multidevice (GtkWidget *widget); +void gtk_widget_set_support_multidevice (GtkWidget *widget, + gboolean support_multidevice); + +/* Accessibility support */ +GDK_AVAILABLE_IN_3_2 +void gtk_widget_class_set_accessible_type (GtkWidgetClass *widget_class, + GType type); +GDK_AVAILABLE_IN_3_2 +void gtk_widget_class_set_accessible_role (GtkWidgetClass *widget_class, + AtkRole role); +AtkObject* gtk_widget_get_accessible (GtkWidget *widget); + + +/* Margin and alignment */ +GtkAlign gtk_widget_get_halign (GtkWidget *widget); +void gtk_widget_set_halign (GtkWidget *widget, + GtkAlign align); +GtkAlign gtk_widget_get_valign (GtkWidget *widget); +void gtk_widget_set_valign (GtkWidget *widget, + GtkAlign align); +gint gtk_widget_get_margin_left (GtkWidget *widget); +void gtk_widget_set_margin_left (GtkWidget *widget, + gint margin); +gint gtk_widget_get_margin_right (GtkWidget *widget); +void gtk_widget_set_margin_right (GtkWidget *widget, + gint margin); +gint gtk_widget_get_margin_top (GtkWidget *widget); +void gtk_widget_set_margin_top (GtkWidget *widget, + gint margin); +gint gtk_widget_get_margin_bottom (GtkWidget *widget); +void gtk_widget_set_margin_bottom (GtkWidget *widget, + gint margin); + + +gint gtk_widget_get_events (GtkWidget *widget); +GdkEventMask gtk_widget_get_device_events (GtkWidget *widget, + GdkDevice *device); +GDK_DEPRECATED_IN_3_0_FOR(gdk_window_get_device_position) +void gtk_widget_get_pointer (GtkWidget *widget, + gint *x, + gint *y); + +gboolean gtk_widget_is_ancestor (GtkWidget *widget, + GtkWidget *ancestor); + +gboolean gtk_widget_translate_coordinates (GtkWidget *src_widget, + GtkWidget *dest_widget, + gint src_x, + gint src_y, + gint *dest_x, + gint *dest_y); + +/* Hide widget and return TRUE. + */ +gboolean gtk_widget_hide_on_delete (GtkWidget *widget); + +/* Functions to override widget styling */ +void gtk_widget_override_color (GtkWidget *widget, + GtkStateFlags state, + const GdkRGBA *color); +void gtk_widget_override_background_color (GtkWidget *widget, + GtkStateFlags state, + const GdkRGBA *color); + +void gtk_widget_override_font (GtkWidget *widget, + const PangoFontDescription *font_desc); + +void gtk_widget_override_symbolic_color (GtkWidget *widget, + const gchar *name, + const GdkRGBA *color); +void gtk_widget_override_cursor (GtkWidget *widget, + const GdkRGBA *cursor, + const GdkRGBA *secondary_cursor); + +void gtk_widget_reset_style (GtkWidget *widget); + +PangoContext *gtk_widget_create_pango_context (GtkWidget *widget); +PangoContext *gtk_widget_get_pango_context (GtkWidget *widget); +PangoLayout *gtk_widget_create_pango_layout (GtkWidget *widget, + const gchar *text); + +GdkPixbuf *gtk_widget_render_icon_pixbuf (GtkWidget *widget, + const gchar *stock_id, + GtkIconSize size); + +/* handle composite names for GTK_COMPOSITE_CHILD widgets, + * the returned name is newly allocated. + */ +void gtk_widget_set_composite_name (GtkWidget *widget, + const gchar *name); +gchar* gtk_widget_get_composite_name (GtkWidget *widget); + +/* Push/pop pairs, to change default values upon a widget's creation. + * This will override the values that got set by the + * gtk_widget_set_default_* () functions. + */ +void gtk_widget_push_composite_child (void); +void gtk_widget_pop_composite_child (void); + +/* widget style properties + */ +void gtk_widget_class_install_style_property (GtkWidgetClass *klass, + GParamSpec *pspec); +void gtk_widget_class_install_style_property_parser (GtkWidgetClass *klass, + GParamSpec *pspec, + GtkRcPropertyParser parser); +GParamSpec* gtk_widget_class_find_style_property (GtkWidgetClass *klass, + const gchar *property_name); +GParamSpec** gtk_widget_class_list_style_properties (GtkWidgetClass *klass, + guint *n_properties); +void gtk_widget_style_get_property (GtkWidget *widget, + const gchar *property_name, + GValue *value); +void gtk_widget_style_get_valist (GtkWidget *widget, + const gchar *first_property_name, + va_list var_args); +void gtk_widget_style_get (GtkWidget *widget, + const gchar *first_property_name, + ...) G_GNUC_NULL_TERMINATED; + +/* Functions for setting directionality for widgets */ + +void gtk_widget_set_direction (GtkWidget *widget, + GtkTextDirection dir); +GtkTextDirection gtk_widget_get_direction (GtkWidget *widget); + +void gtk_widget_set_default_direction (GtkTextDirection dir); +GtkTextDirection gtk_widget_get_default_direction (void); + +/* Compositing manager functionality */ +gboolean gtk_widget_is_composited (GtkWidget *widget); + +/* Counterpart to gdk_window_shape_combine_region. + */ +void gtk_widget_shape_combine_region (GtkWidget *widget, + cairo_region_t *region); +void gtk_widget_input_shape_combine_region (GtkWidget *widget, + cairo_region_t *region); + +GList* gtk_widget_list_mnemonic_labels (GtkWidget *widget); +void gtk_widget_add_mnemonic_label (GtkWidget *widget, + GtkWidget *label); +void gtk_widget_remove_mnemonic_label (GtkWidget *widget, + GtkWidget *label); + +void gtk_widget_set_tooltip_window (GtkWidget *widget, + GtkWindow *custom_window); +GtkWindow *gtk_widget_get_tooltip_window (GtkWidget *widget); +void gtk_widget_trigger_tooltip_query (GtkWidget *widget); +void gtk_widget_set_tooltip_text (GtkWidget *widget, + const gchar *text); +gchar * gtk_widget_get_tooltip_text (GtkWidget *widget); +void gtk_widget_set_tooltip_markup (GtkWidget *widget, + const gchar *markup); +gchar * gtk_widget_get_tooltip_markup (GtkWidget *widget); +void gtk_widget_set_has_tooltip (GtkWidget *widget, + gboolean has_tooltip); +gboolean gtk_widget_get_has_tooltip (GtkWidget *widget); + +gboolean gtk_cairo_should_draw_window (cairo_t *cr, + GdkWindow *window); +void gtk_cairo_transform_to_window (cairo_t *cr, + GtkWidget *widget, + GdkWindow *window); + +GType gtk_requisition_get_type (void) G_GNUC_CONST; +GtkRequisition *gtk_requisition_new (void) G_GNUC_MALLOC; +GtkRequisition *gtk_requisition_copy (const GtkRequisition *requisition); +void gtk_requisition_free (GtkRequisition *requisition); + +gboolean gtk_widget_in_destruction (GtkWidget *widget); + +GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget); + +GtkWidgetPath * gtk_widget_get_path (GtkWidget *widget); + +GDK_AVAILABLE_IN_3_4 +GdkModifierType gtk_widget_get_modifier_mask (GtkWidget *widget, + GdkModifierIntent intent); + + +G_END_DECLS + +#endif /* __GTK_WIDGET_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkwidgetpath.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkwidgetpath.h new file mode 100644 index 0000000..4c2c674 --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkwidgetpath.h @@ -0,0 +1,132 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2010 Carlos Garnacho + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_WIDGET_PATH_H__ +#define __GTK_WIDGET_PATH_H__ + +#include +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_WIDGET_PATH (gtk_widget_path_get_type ()) + +GType gtk_widget_path_get_type (void) G_GNUC_CONST; +GtkWidgetPath * gtk_widget_path_new (void); + +GtkWidgetPath * gtk_widget_path_copy (const GtkWidgetPath *path); +GDK_AVAILABLE_IN_3_2 +GtkWidgetPath * gtk_widget_path_ref (GtkWidgetPath *path); +GDK_AVAILABLE_IN_3_2 +void gtk_widget_path_unref (GtkWidgetPath *path); +void gtk_widget_path_free (GtkWidgetPath *path); + +GDK_AVAILABLE_IN_3_2 +char * gtk_widget_path_to_string (const GtkWidgetPath *path); +gint gtk_widget_path_length (const GtkWidgetPath *path); + +gint gtk_widget_path_append_type (GtkWidgetPath *path, + GType type); +void gtk_widget_path_prepend_type (GtkWidgetPath *path, + GType type); +GDK_AVAILABLE_IN_3_2 +gint gtk_widget_path_append_with_siblings(GtkWidgetPath *path, + GtkWidgetPath *siblings, + guint sibling_index); +/* gtk_widget_path_append_for_widget() is declared in gtkwidget.c */ +GDK_AVAILABLE_IN_3_2 +gint gtk_widget_path_append_for_widget (GtkWidgetPath *path, + GtkWidget *widget); + +GType gtk_widget_path_iter_get_object_type (const GtkWidgetPath *path, + gint pos); +void gtk_widget_path_iter_set_object_type (GtkWidgetPath *path, + gint pos, + GType type); +const GtkWidgetPath * + gtk_widget_path_iter_get_siblings (const GtkWidgetPath *path, + gint pos); +guint gtk_widget_path_iter_get_sibling_index(const GtkWidgetPath *path, + gint pos); + +const gchar * gtk_widget_path_iter_get_name (const GtkWidgetPath *path, + gint pos); +void gtk_widget_path_iter_set_name (GtkWidgetPath *path, + gint pos, + const gchar *name); +gboolean gtk_widget_path_iter_has_name (const GtkWidgetPath *path, + gint pos, + const gchar *name); +gboolean gtk_widget_path_iter_has_qname (const GtkWidgetPath *path, + gint pos, + GQuark qname); + +void gtk_widget_path_iter_add_class (GtkWidgetPath *path, + gint pos, + const gchar *name); +void gtk_widget_path_iter_remove_class (GtkWidgetPath *path, + gint pos, + const gchar *name); +void gtk_widget_path_iter_clear_classes (GtkWidgetPath *path, + gint pos); +GSList * gtk_widget_path_iter_list_classes (const GtkWidgetPath *path, + gint pos); +gboolean gtk_widget_path_iter_has_class (const GtkWidgetPath *path, + gint pos, + const gchar *name); +gboolean gtk_widget_path_iter_has_qclass (const GtkWidgetPath *path, + gint pos, + GQuark qname); + +void gtk_widget_path_iter_add_region (GtkWidgetPath *path, + gint pos, + const gchar *name, + GtkRegionFlags flags); +void gtk_widget_path_iter_remove_region (GtkWidgetPath *path, + gint pos, + const gchar *name); +void gtk_widget_path_iter_clear_regions (GtkWidgetPath *path, + gint pos); + +GSList * gtk_widget_path_iter_list_regions (const GtkWidgetPath *path, + gint pos); + +gboolean gtk_widget_path_iter_has_region (const GtkWidgetPath *path, + gint pos, + const gchar *name, + GtkRegionFlags *flags); +gboolean gtk_widget_path_iter_has_qregion (const GtkWidgetPath *path, + gint pos, + GQuark qname, + GtkRegionFlags *flags); + +GType gtk_widget_path_get_object_type (const GtkWidgetPath *path); + +gboolean gtk_widget_path_is_type (const GtkWidgetPath *path, + GType type); +gboolean gtk_widget_path_has_parent (const GtkWidgetPath *path, + GType type); + +G_END_DECLS + +#endif /* __GTK_WIDGET_PATH_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkwindow.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkwindow.h new file mode 100644 index 0000000..0f8491e --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkwindow.h @@ -0,0 +1,351 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_WINDOW_H__ +#define __GTK_WINDOW_H__ + + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_WINDOW (gtk_window_get_type ()) +#define GTK_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_WINDOW, GtkWindow)) +#define GTK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW, GtkWindowClass)) +#define GTK_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_WINDOW)) +#define GTK_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW)) +#define GTK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW, GtkWindowClass)) + +typedef struct _GtkWindowPrivate GtkWindowPrivate; +typedef struct _GtkWindowClass GtkWindowClass; +typedef struct _GtkWindowGeometryInfo GtkWindowGeometryInfo; +typedef struct _GtkWindowGroup GtkWindowGroup; +typedef struct _GtkWindowGroupClass GtkWindowGroupClass; +typedef struct _GtkWindowGroupPrivate GtkWindowGroupPrivate; + +struct _GtkWindow +{ + GtkBin bin; + + GtkWindowPrivate *priv; +}; + +struct _GtkWindowClass +{ + GtkBinClass parent_class; + + void (* set_focus) (GtkWindow *window, + GtkWidget *focus); + + /* G_SIGNAL_ACTION signals for keybindings */ + + void (* activate_focus) (GtkWindow *window); + void (* activate_default) (GtkWindow *window); + void (* keys_changed) (GtkWindow *window); + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +#define GTK_TYPE_WINDOW_GROUP (gtk_window_group_get_type ()) +#define GTK_WINDOW_GROUP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_WINDOW_GROUP, GtkWindowGroup)) +#define GTK_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass)) +#define GTK_IS_WINDOW_GROUP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_WINDOW_GROUP)) +#define GTK_IS_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW_GROUP)) +#define GTK_WINDOW_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass)) + +struct _GtkWindowGroup +{ + GObject parent_instance; + + GtkWindowGroupPrivate *priv; +}; + +struct _GtkWindowGroupClass +{ + GObjectClass parent_class; + + /* Padding for future expansion */ + void (*_gtk_reserved1) (void); + void (*_gtk_reserved2) (void); + void (*_gtk_reserved3) (void); + void (*_gtk_reserved4) (void); +}; + +GType gtk_window_get_type (void) G_GNUC_CONST; +GtkWidget* gtk_window_new (GtkWindowType type); +void gtk_window_set_title (GtkWindow *window, + const gchar *title); +const gchar * gtk_window_get_title (GtkWindow *window); +void gtk_window_set_wmclass (GtkWindow *window, + const gchar *wmclass_name, + const gchar *wmclass_class); +void gtk_window_set_role (GtkWindow *window, + const gchar *role); +void gtk_window_set_startup_id (GtkWindow *window, + const gchar *startup_id); +const gchar * gtk_window_get_role (GtkWindow *window); +void gtk_window_add_accel_group (GtkWindow *window, + GtkAccelGroup *accel_group); +void gtk_window_remove_accel_group (GtkWindow *window, + GtkAccelGroup *accel_group); +void gtk_window_set_position (GtkWindow *window, + GtkWindowPosition position); +gboolean gtk_window_activate_focus (GtkWindow *window); +void gtk_window_set_focus (GtkWindow *window, + GtkWidget *focus); +GtkWidget *gtk_window_get_focus (GtkWindow *window); +void gtk_window_set_default (GtkWindow *window, + GtkWidget *default_widget); +GtkWidget *gtk_window_get_default_widget (GtkWindow *window); +gboolean gtk_window_activate_default (GtkWindow *window); + +void gtk_window_set_transient_for (GtkWindow *window, + GtkWindow *parent); +GtkWindow *gtk_window_get_transient_for (GtkWindow *window); +GDK_AVAILABLE_IN_3_4 +void gtk_window_set_attached_to (GtkWindow *window, + GtkWidget *attach_widget); +GDK_AVAILABLE_IN_3_4 +GtkWidget *gtk_window_get_attached_to (GtkWindow *window); +void gtk_window_set_opacity (GtkWindow *window, + gdouble opacity); +gdouble gtk_window_get_opacity (GtkWindow *window); +void gtk_window_set_type_hint (GtkWindow *window, + GdkWindowTypeHint hint); +GdkWindowTypeHint gtk_window_get_type_hint (GtkWindow *window); +void gtk_window_set_skip_taskbar_hint (GtkWindow *window, + gboolean setting); +gboolean gtk_window_get_skip_taskbar_hint (GtkWindow *window); +void gtk_window_set_skip_pager_hint (GtkWindow *window, + gboolean setting); +gboolean gtk_window_get_skip_pager_hint (GtkWindow *window); +void gtk_window_set_urgency_hint (GtkWindow *window, + gboolean setting); +gboolean gtk_window_get_urgency_hint (GtkWindow *window); +void gtk_window_set_accept_focus (GtkWindow *window, + gboolean setting); +gboolean gtk_window_get_accept_focus (GtkWindow *window); +void gtk_window_set_focus_on_map (GtkWindow *window, + gboolean setting); +gboolean gtk_window_get_focus_on_map (GtkWindow *window); +void gtk_window_set_destroy_with_parent (GtkWindow *window, + gboolean setting); +gboolean gtk_window_get_destroy_with_parent (GtkWindow *window); +GDK_AVAILABLE_IN_3_4 +void gtk_window_set_hide_titlebar_when_maximized (GtkWindow *window, + gboolean setting); +GDK_AVAILABLE_IN_3_4 +gboolean gtk_window_get_hide_titlebar_when_maximized (GtkWindow *window); +void gtk_window_set_mnemonics_visible (GtkWindow *window, + gboolean setting); +gboolean gtk_window_get_mnemonics_visible (GtkWindow *window); +GDK_AVAILABLE_IN_3_2 +void gtk_window_set_focus_visible (GtkWindow *window, + gboolean setting); +GDK_AVAILABLE_IN_3_2 +gboolean gtk_window_get_focus_visible (GtkWindow *window); + +void gtk_window_set_resizable (GtkWindow *window, + gboolean resizable); +gboolean gtk_window_get_resizable (GtkWindow *window); + +void gtk_window_set_gravity (GtkWindow *window, + GdkGravity gravity); +GdkGravity gtk_window_get_gravity (GtkWindow *window); + + +void gtk_window_set_geometry_hints (GtkWindow *window, + GtkWidget *geometry_widget, + GdkGeometry *geometry, + GdkWindowHints geom_mask); + +void gtk_window_set_screen (GtkWindow *window, + GdkScreen *screen); +GdkScreen* gtk_window_get_screen (GtkWindow *window); + +gboolean gtk_window_is_active (GtkWindow *window); +gboolean gtk_window_has_toplevel_focus (GtkWindow *window); + +void gtk_window_set_decorated (GtkWindow *window, + gboolean setting); +gboolean gtk_window_get_decorated (GtkWindow *window); +void gtk_window_set_deletable (GtkWindow *window, + gboolean setting); +gboolean gtk_window_get_deletable (GtkWindow *window); + +void gtk_window_set_icon_list (GtkWindow *window, + GList *list); +GList* gtk_window_get_icon_list (GtkWindow *window); +void gtk_window_set_icon (GtkWindow *window, + GdkPixbuf *icon); +void gtk_window_set_icon_name (GtkWindow *window, + const gchar *name); +gboolean gtk_window_set_icon_from_file (GtkWindow *window, + const gchar *filename, + GError **err); +GdkPixbuf* gtk_window_get_icon (GtkWindow *window); +const gchar * gtk_window_get_icon_name (GtkWindow *window); +void gtk_window_set_default_icon_list (GList *list); +GList* gtk_window_get_default_icon_list (void); +void gtk_window_set_default_icon (GdkPixbuf *icon); +void gtk_window_set_default_icon_name (const gchar *name); +const gchar * gtk_window_get_default_icon_name (void); +gboolean gtk_window_set_default_icon_from_file (const gchar *filename, + GError **err); + +void gtk_window_set_auto_startup_notification (gboolean setting); + +/* If window is set modal, input will be grabbed when show and released when hide */ +void gtk_window_set_modal (GtkWindow *window, + gboolean modal); +gboolean gtk_window_get_modal (GtkWindow *window); +GList* gtk_window_list_toplevels (void); +void gtk_window_set_has_user_ref_count (GtkWindow *window, + gboolean setting); + +void gtk_window_add_mnemonic (GtkWindow *window, + guint keyval, + GtkWidget *target); +void gtk_window_remove_mnemonic (GtkWindow *window, + guint keyval, + GtkWidget *target); +gboolean gtk_window_mnemonic_activate (GtkWindow *window, + guint keyval, + GdkModifierType modifier); +void gtk_window_set_mnemonic_modifier (GtkWindow *window, + GdkModifierType modifier); +GdkModifierType gtk_window_get_mnemonic_modifier (GtkWindow *window); + +gboolean gtk_window_activate_key (GtkWindow *window, + GdkEventKey *event); +gboolean gtk_window_propagate_key_event (GtkWindow *window, + GdkEventKey *event); + +void gtk_window_present (GtkWindow *window); +void gtk_window_present_with_time (GtkWindow *window, + guint32 timestamp); +void gtk_window_iconify (GtkWindow *window); +void gtk_window_deiconify (GtkWindow *window); +void gtk_window_stick (GtkWindow *window); +void gtk_window_unstick (GtkWindow *window); +void gtk_window_maximize (GtkWindow *window); +void gtk_window_unmaximize (GtkWindow *window); +void gtk_window_fullscreen (GtkWindow *window); +void gtk_window_unfullscreen (GtkWindow *window); +void gtk_window_set_keep_above (GtkWindow *window, gboolean setting); +void gtk_window_set_keep_below (GtkWindow *window, gboolean setting); + +void gtk_window_begin_resize_drag (GtkWindow *window, + GdkWindowEdge edge, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); +void gtk_window_begin_move_drag (GtkWindow *window, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); + +/* Set initial default size of the window (does not constrain user + * resize operations) + */ +void gtk_window_set_default_size (GtkWindow *window, + gint width, + gint height); +void gtk_window_get_default_size (GtkWindow *window, + gint *width, + gint *height); +void gtk_window_resize (GtkWindow *window, + gint width, + gint height); +void gtk_window_get_size (GtkWindow *window, + gint *width, + gint *height); +void gtk_window_move (GtkWindow *window, + gint x, + gint y); +void gtk_window_get_position (GtkWindow *window, + gint *root_x, + gint *root_y); +gboolean gtk_window_parse_geometry (GtkWindow *window, + const gchar *geometry); + +void gtk_window_set_default_geometry (GtkWindow *window, + gint width, + gint height); +void gtk_window_resize_to_geometry (GtkWindow *window, + gint width, + gint height); + +GtkWindowGroup *gtk_window_get_group (GtkWindow *window); +gboolean gtk_window_has_group (GtkWindow *window); + +/* Ignore this unless you are writing a GUI builder */ +void gtk_window_reshow_with_initial_size (GtkWindow *window); + +GtkWindowType gtk_window_get_window_type (GtkWindow *window); + +/* Window groups + */ +GType gtk_window_group_get_type (void) G_GNUC_CONST; + +GtkWindowGroup * gtk_window_group_new (void); +void gtk_window_group_add_window (GtkWindowGroup *window_group, + GtkWindow *window); +void gtk_window_group_remove_window (GtkWindowGroup *window_group, + GtkWindow *window); +GList * gtk_window_group_list_windows (GtkWindowGroup *window_group); + +GtkWidget * gtk_window_group_get_current_grab (GtkWindowGroup *window_group); +GtkWidget * gtk_window_group_get_current_device_grab (GtkWindowGroup *window_group, + GdkDevice *device); + +GtkApplication *gtk_window_get_application (GtkWindow *window); +void gtk_window_set_application (GtkWindow *window, + GtkApplication *application); + + +/* Window grips + */ +void gtk_window_set_has_resize_grip (GtkWindow *window, + gboolean value); +gboolean gtk_window_get_has_resize_grip (GtkWindow *window); +gboolean gtk_window_resize_grip_is_visible (GtkWindow *window); +gboolean gtk_window_get_resize_grip_area (GtkWindow *window, + GdkRectangle *rect); + +G_END_DECLS + +#endif /* __GTK_WINDOW_H__ */ diff --git a/gtk+-mingw/include/gtk-3.0/gtk/gtkx.h b/gtk+-mingw/include/gtk-3.0/gtk/gtkx.h new file mode 100644 index 0000000..4033d5d --- /dev/null +++ b/gtk+-mingw/include/gtk-3.0/gtk/gtkx.h @@ -0,0 +1,28 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 2011 Red Hat, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see . + */ + +#ifndef __GTK_X_H__ +#define __GTK_X_H__ + +#define __GTKX_H_INSIDE__ + +#include +#include + +#undef __GTKX_H_INSIDE__ + +#endif /* __GTK_X_H__ */ -- cgit v1.2.3