[gtkmm] Add the Actionable interface.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Add the Actionable interface.
- Date: Mon, 27 Feb 2012 00:37:27 +0000 (UTC)
commit 2adad4a910253795725f03007d47fd1287986419
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Sun Feb 26 19:29:11 2012 -0500
Add the Actionable interface.
* tools/extra_defs_gen/generate_defs_gtk.cc: Add the GtkActionable
GType to the extra defs generation utility so that its properties are
generated.
* gtk/src/gtk_signals.defs: Regenerate to get the properties of the
new interface.
* gtk/src/gtk_vfuncs.defs: Add the virtual function definitions.
* gtk/src/gtk_methods.defs: Regenerate to get the methods for the new
interface.
* gtk/src/actionable.{ccg,hg}: Add the sources wrapping the methods,
properties and virtual functions.
* gtk/src/filelist.am: Include the sources in the list of sources to
be built.
* gtk/src/gtk_extra_objects.defs: Add the new interface to the list
extra objects so that there no missing object definition warnings from
gmmproc.
Bug #637445.
ChangeLog | 23 +
gtk/src/actionable.ccg | 25 +
gtk/src/actionable.hg | 80 +
gtk/src/filelist.am | 1 +
gtk/src/gtk_extra_objects.defs | 6 +
gtk/src/gtk_methods.defs | 9203 ++++++++++++++++++-----------
gtk/src/gtk_signals.defs | 173 +-
gtk/src/gtk_vfuncs.defs | 28 +
tools/extra_defs_gen/generate_defs_gtk.cc | 1 +
9 files changed, 5949 insertions(+), 3591 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1aebdb0..5d914b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+2012-02-26 Josà Alburquerque <jaalburquerque gmail com>
+
+ Add the Actionable interface.
+
+ * tools/extra_defs_gen/generate_defs_gtk.cc: Add the GtkActionable
+ GType to the extra defs generation utility so that its properties are
+ generated.
+ * gtk/src/gtk_signals.defs: Regenerate to get the properties of the
+ new interface.
+ * gtk/src/gtk_vfuncs.defs: Add the virtual function definitions.
+ * gtk/src/gtk_methods.defs: Regenerate to get the methods for the new
+ interface.
+
+ * gtk/src/actionable.{ccg,hg}: Add the sources wrapping the methods,
+ properties and virtual functions.
+ * gtk/src/filelist.am: Include the sources in the list of sources to
+ be built.
+ * gtk/src/gtk_extra_objects.defs: Add the new interface to the list
+ extra objects so that there no missing object definition warnings from
+ gmmproc.
+
+ Bug #637445.
+
2012-02-24 Murray Cumming <murrayc murrayc com>
Deprecate some properties that use Gdk::Color.
diff --git a/gtk/src/actionable.ccg b/gtk/src/actionable.ccg
new file mode 100644
index 0000000..acae810
--- /dev/null
+++ b/gtk/src/actionable.ccg
@@ -0,0 +1,25 @@
+// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+
+/* Copyright (C) 2011 The giomm Development Team
+ *
+ * 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, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <gtk/gtk.h>
+
+namespace Gtk
+{
+
+} // namespace Gtk
diff --git a/gtk/src/actionable.hg b/gtk/src/actionable.hg
new file mode 100644
index 0000000..6018909
--- /dev/null
+++ b/gtk/src/actionable.hg
@@ -0,0 +1,80 @@
+// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+
+/* Copyright (C) 2012 The gtkmm Development Team
+ *
+ * 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, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <glibmm/interface.h>
+
+_DEFS(gtkmm,gtk)
+_PINCLUDE(glibmm/private/interface_p.h)
+
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+extern "C"
+{
+typedef struct _GtkActionableInterface GtkActionableInterface;
+}
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
+namespace Gtk
+{
+
+//TODO: Have the appropriate widgets derive from this interface when there is
+//an ABI break. See:
+//http://developer.gnome.org/gtk3/3.3/GtkActionable.html#GtkActionable.implementations.
+
+/** This interface provides a convenient way of associating widgets with
+ * actions on a ApplicationWindow or Application.
+ *
+ * It primarily consists of two properties: "action-name" and "action-target".
+ * There are also some convenience APIs for setting these properties.
+ *
+ * This interface is presently only meaningful if used on a widget that is (or
+ * will be) located inside of a ApplicationWindow and can only be used to
+ * associate the widget with actions on that window, or its associated
+ * Application.
+ * @newin{3,4}
+ */
+class Actionable : public Glib::Interface
+{
+ _CLASS_INTERFACE(Actionable, GtkActionable, GTK_ACTIONABLE, GtkActionableInterface)
+
+public:
+ _WRAP_METHOD(Glib::ustring get_action_name() const, gtk_actionable_get_action_name)
+ _WRAP_METHOD(void set_action_name(const Glib::ustring& action_name), gtk_actionable_set_action_name)
+ _WRAP_METHOD(Glib::VariantBase get_action_target_value(), gtk_actionable_get_action_target_value)
+ _WRAP_METHOD(void set_action_target_value(const Glib::VariantBase& target_value), gtk_actionable_set_action_target_value)
+
+ //TODO: _WRAP_METHOD(void set_action_target(const char* format_string, ...), gtk_actionable_set_action_target)
+
+ _WRAP_METHOD(void set_detailed_action_name(const Glib::ustring& detailed_action_name), gtk_actionable_set_detailed_action_name)
+
+ _WRAP_PROPERTY("action-name", Glib::ustring)
+ _WRAP_PROPERTY("action-target", Glib::VariantBase)
+
+#m4 _CONVERSION(`Glib::ustring',`const gchar*',`$3.c_str()')
+ _WRAP_VFUNC(Glib::ustring get_action_name() const, "get_action_name")
+
+ _WRAP_VFUNC(void set_action_name(const Glib::ustring& action_name), "set_action_name")
+
+#m4 _CONVERSION(`Glib::VariantBase',`GVariant*',`$3.gobj()')
+ _WRAP_VFUNC(Glib::VariantBase get_action_target_value() const, "get_action_target_value")
+
+#m4 _CONVERSION(`GVariant*',`const Glib::VariantBase&',`Glib::wrap($3,true)')
+ _WRAP_VFUNC(void set_action_target_value(const Glib::VariantBase& action_target_value), "set_action_target_value")
+};
+
+} // namespace Gio
diff --git a/gtk/src/filelist.am b/gtk/src/filelist.am
index faeaf0a..d1fef89 100644
--- a/gtk/src/filelist.am
+++ b/gtk/src/filelist.am
@@ -18,6 +18,7 @@ gtkmm_files_any_hg = \
accelgroup.hg \
accellabel.hg \
action.hg \
+ actionable.hg \
actiongroup.hg \
activatable.hg \
adjustment.hg \
diff --git a/gtk/src/gtk_extra_objects.defs b/gtk/src/gtk_extra_objects.defs
index 6e97bbb..92cfa76 100644
--- a/gtk/src/gtk_extra_objects.defs
+++ b/gtk/src/gtk_extra_objects.defs
@@ -6,6 +6,12 @@
; that are mentioned in documentation text.
; (DocsParser.pm:substitute_function(), which uses GtkDefs.pm:lookup_object().)
+(define-object Actionable
+ (in-module "Gtk")
+ (c-name "GtkActionable")
+ (gtype-id "GTK_TYPE_ACTIONABLE")
+)
+
(define-object AccelMap
(in-module "Gtk")
(c-name "GtkAccelMap")
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index f9f9814..baa5a77 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -41,6 +41,19 @@
(gtype-id "GTK_TYPE_ADJUSTMENT")
)
+(define-object AppChooser
+ (in-module "Gtk")
+ (c-name "GtkAppChooser")
+ (gtype-id "GTK_TYPE_APP_CHOOSER")
+)
+
+(define-object AppChooserOnlinePk
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkAppChooserOnlinePk")
+ (gtype-id "GTK_TYPE_APP_CHOOSER_ONLINE_PK")
+)
+
(define-object Application
(in-module "Gtk")
(parent "GApplication")
@@ -89,13 +102,6 @@
(gtype-id "GTK_TYPE_CELL_AREA_BOX_CONTEXT")
)
-(define-object CellAreaBoxContext
- (in-module "Gtk")
- (parent "GtkCellAreaContext")
- (c-name "GtkCellAreaBoxContext")
- (gtype-id "GTK_TYPE_CELL_AREA_BOX_CONTEXT")
-)
-
(define-object CellEditable
(in-module "Gtk")
(c-name "GtkCellEditable")
@@ -171,6 +177,48 @@
(gtype-id "GTK_TYPE_CELL_RENDERER_TOGGLE")
)
+(define-object CssComputedValues
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkCssComputedValues")
+ (gtype-id "GTK_TYPE_CSS_COMPUTED_VALUES")
+)
+
+(define-object CssImage
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkCssImage")
+ (gtype-id "GTK_TYPE_CSS_IMAGE")
+)
+
+(define-object CssImageGradient
+ (in-module "Gtk")
+ (parent "GtkCssImage")
+ (c-name "GtkCssImageGradient")
+ (gtype-id "GTK_TYPE_CSS_IMAGE_GRADIENT")
+)
+
+(define-object CssImageLinear
+ (in-module "Gtk")
+ (parent "GtkCssImage")
+ (c-name "GtkCssImageLinear")
+ (gtype-id "GTK_TYPE_CSS_IMAGE_LINEAR")
+)
+
+(define-object CssImageUrl
+ (in-module "Gtk")
+ (parent "GtkCssImage")
+ (c-name "GtkCssImageUrl")
+ (gtype-id "GTK_TYPE_CSS_IMAGE_URL")
+)
+
+(define-object CssImageWin32
+ (in-module "Gtk")
+ (parent "GtkCssImage")
+ (c-name "GtkCssImageWin32")
+ (gtype-id "GTK_TYPE_CSS_IMAGE_WIN32")
+)
+
(define-object CssProvider
(in-module "Gtk")
(parent "GObject")
@@ -192,6 +240,18 @@
(gtype-id "GTK_TYPE_ENTRY_COMPLETION")
)
+(define-object FileChooser
+ (in-module "Gtk")
+ (c-name "GtkFileChooser")
+ (gtype-id "GTK_TYPE_FILE_CHOOSER")
+)
+
+(define-object FileChooserEmbed
+ (in-module "Gtk")
+ (c-name "GtkFileChooserEmbed")
+ (gtype-id "GTK_TYPE_FILE_CHOOSER_EMBED")
+)
+
(define-object FontChooser
(in-module "Gtk")
(c-name "GtkFontChooser")
@@ -226,6 +286,13 @@
(gtype-id "GTK_TYPE_ICON_FACTORY")
)
+(define-object IconHelper
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkIconHelper")
+ (gtype-id "GTK_TYPE_ICON_HELPER")
+)
+
(define-object IconTheme
(in-module "Gtk")
(parent "GObject")
@@ -240,6 +307,13 @@
(gtype-id "GTK_TYPE_LIST_STORE")
)
+(define-object ModifierStyle
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkModifierStyle")
+ (gtype-id "GTK_TYPE_MODIFIER_STYLE")
+)
+
(define-object MountOperation
(in-module "Gtk")
(parent "GMountOperation")
@@ -260,6 +334,13 @@
(gtype-id "GTK_TYPE_ORIENTABLE")
)
+(define-object PrintBackend
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkPrintBackend")
+ (gtype-id "GTK_TYPE_PRINT_BACKEND")
+)
+
(define-object PrintJob
(in-module "Gtk")
(parent "GObject")
@@ -287,6 +368,27 @@
(gtype-id "GTK_TYPE_PRINTER")
)
+(define-object PrinterOption
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkPrinterOption")
+ (gtype-id "GTK_TYPE_PRINTER_OPTION")
+)
+
+(define-object PrinterOptionSet
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkPrinterOptionSet")
+ (gtype-id "GTK_TYPE_PRINTER_OPTION_SET")
+)
+
+(define-object Query
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkQuery")
+ (gtype-id "GTK_TYPE_QUERY")
+)
+
(define-object RcStyle
(in-module "Gtk")
(parent "GObject")
@@ -314,6 +416,34 @@
(gtype-id "GTK_TYPE_RECENT_MANAGER")
)
+(define-object SearchEngine
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkSearchEngine")
+ (gtype-id "GTK_TYPE_SEARCH_ENGINE")
+)
+
+(define-object SearchEngineQuartz
+ (in-module "Gtk")
+ (parent "GtkSearchEngine")
+ (c-name "GtkSearchEngineQuartz")
+ (gtype-id "GTK_TYPE_SEARCH_ENGINE_QUARTZ")
+)
+
+(define-object SearchEngineSimple
+ (in-module "Gtk")
+ (parent "GtkSearchEngine")
+ (c-name "GtkSearchEngineSimple")
+ (gtype-id "GTK_TYPE_SEARCH_ENGINE_SIMPLE")
+)
+
+(define-object SearchEngineTracker
+ (in-module "Gtk")
+ (parent "GtkSearchEngine")
+ (c-name "GtkSearchEngineTracker")
+ (gtype-id "GTK_TYPE_SEARCH_ENGINE_TRACKER")
+)
+
(define-object Settings
(in-module "Gtk")
(parent "GObject")
@@ -356,6 +486,34 @@
(gtype-id "GTK_TYPE_STYLE_PROPERTIES")
)
+(define-object StyleProperty
+ (in-module "Gtk")
+ (parent "GObject")
+ (c-name "GtkStyleProperty")
+ (gtype-id "GTK_TYPE_STYLE_PROPERTY")
+)
+
+(define-object CssStyleProperty
+ (in-module "Gtk")
+ (parent "GtkStyleProperty")
+ (c-name "GtkCssStyleProperty")
+ (gtype-id "GTK_TYPE_CSS_STYLE_PROPERTY")
+)
+
+(define-object CssCustomProperty
+ (in-module "Gtk")
+ (parent "GtkCssStyleProperty")
+ (c-name "GtkCssCustomProperty")
+ (gtype-id "GTK_TYPE_CSS_CUSTOM_PROPERTY")
+)
+
+(define-object CssShorthandProperty
+ (in-module "Gtk")
+ (parent "GtkStyleProperty")
+ (c-name "GtkCssShorthandProperty")
+ (gtype-id "GTK_TYPE_CSS_SHORTHAND_PROPERTY")
+)
+
(define-object StyleProvider
(in-module "Gtk")
(c-name "GtkStyleProvider")
@@ -581,6 +739,13 @@
(gtype-id "GTK_TYPE_VSCALE")
)
+(define-object ColorScale
+ (in-module "Gtk")
+ (parent "GtkScale")
+ (c-name "GtkColorScale")
+ (gtype-id "GTK_TYPE_COLOR_SCALE")
+)
+
(define-object HScale
(in-module "Gtk")
(parent "GtkScale")
@@ -665,6 +830,13 @@
(gtype-id "GTK_TYPE_DRAWING_AREA")
)
+(define-object ColorPlane
+ (in-module "Gtk")
+ (parent "GtkDrawingArea")
+ (c-name "GtkColorPlane")
+ (gtype-id "GTK_TYPE_COLOR_PLANE")
+)
+
(define-object Container
(in-module "Gtk")
(parent "GtkWidget")
@@ -721,6 +893,13 @@
(gtype-id "GTK_TYPE_SOCKET")
)
+(define-object PathBar
+ (in-module "Gtk")
+ (parent "GtkContainer")
+ (c-name "GtkPathBar")
+ (gtype-id "GTK_TYPE_PATH_BAR")
+)
+
(define-object Paned
(in-module "Gtk")
(parent "GtkContainer")
@@ -763,6 +942,13 @@
(gtype-id "GTK_TYPE_MENU")
)
+(define-object TreeMenu
+ (in-module "Gtk")
+ (parent "GtkMenu")
+ (c-name "GtkTreeMenu")
+ (gtype-id "GTK_TYPE_TREE_MENU")
+)
+
(define-object RecentChooserMenu
(in-module "Gtk")
(parent "GtkMenu")
@@ -1078,6 +1264,13 @@
(gtype-id "GTK_TYPE_RECENT_CHOOSER_WIDGET")
)
+(define-object PrinterOptionWidget
+ (in-module "Gtk")
+ (parent "GtkBox")
+ (c-name "GtkPrinterOptionWidget")
+ (gtype-id "GTK_TYPE_PRINTER_OPTION_WIDGET")
+)
+
(define-object InfoBar
(in-module "Gtk")
(parent "GtkBox")
@@ -1148,6 +1341,20 @@
(gtype-id "GTK_TYPE_HBUTTON_BOX")
)
+(define-object ColorChooserWidget
+ (in-module "Gtk")
+ (parent "GtkBox")
+ (c-name "GtkColorChooserWidget")
+ (gtype-id "GTK_TYPE_COLOR_CHOOSER_WIDGET")
+)
+
+(define-object ColorEditor
+ (in-module "Gtk")
+ (parent "GtkBox")
+ (c-name "GtkColorEditor")
+ (gtype-id "GTK_TYPE_COLOR_EDITOR")
+)
+
(define-object ColorSelection
(in-module "Gtk")
(parent "GtkBox")
@@ -1155,6 +1362,13 @@
(gtype-id "GTK_TYPE_COLOR_SELECTION")
)
+(define-object ColorSwatch
+ (in-module "Gtk")
+ (parent "GtkWidget")
+ (c-name "GtkColorSwatch")
+ (gtype-id "GTK_TYPE_COLOR_SWATCH")
+)
+
(define-object CellView
(in-module "Gtk")
(parent "GtkWidget")
@@ -1176,6 +1390,13 @@
(gtype-id "GTK_TYPE_WINDOW")
)
+(define-object Win32EmbedWidget
+ (in-module "Gtk")
+ (parent "GtkWindow")
+ (c-name "GtkWin32EmbedWidget")
+ (gtype-id "GTK_TYPE_WIN32_EMBED_WIDGET")
+)
+
(define-object Plug
(in-module "Gtk")
(parent "GtkWindow")
@@ -1183,6 +1404,13 @@
(gtype-id "GTK_TYPE_PLUG")
)
+(define-object TrayIcon
+ (in-module "Gtk")
+ (parent "GtkPlug")
+ (c-name "GtkTrayIcon")
+ (gtype-id "GTK_TYPE_TRAY_ICON")
+)
+
(define-object OffscreenWindow
(in-module "Gtk")
(parent "GtkWindow")
@@ -1260,6 +1488,13 @@
(gtype-id "GTK_TYPE_APP_CHOOSER_DIALOG")
)
+(define-object ColorChooserDialog
+ (in-module "Gtk")
+ (parent "GtkDialog")
+ (c-name "GtkColorChooserDialog")
+ (gtype-id "GTK_TYPE_COLOR_CHOOSER_DIALOG")
+)
+
(define-object ColorSelectionDialog
(in-module "Gtk")
(parent "GtkDialog")
@@ -1267,6 +1502,13 @@
(gtype-id "GTK_TYPE_COLOR_SELECTION_DIALOG")
)
+(define-object CustomPaperUnixDialog
+ (in-module "Gtk")
+ (parent "GtkDialog")
+ (c-name "GtkCustomPaperUnixDialog")
+ (gtype-id "GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG")
+)
+
(define-object Assistant
(in-module "Gtk")
(parent "GtkWindow")
@@ -1274,6 +1516,13 @@
(gtype-id "GTK_TYPE_ASSISTANT")
)
+(define-object ApplicationWindow
+ (in-module "Gtk")
+ (parent "GtkWindow")
+ (c-name "GtkApplicationWindow")
+ (gtype-id "GTK_TYPE_APPLICATION_WINDOW")
+)
+
(define-object WindowGroup
(in-module "Gtk")
(parent "GObject")
@@ -1311,6 +1560,18 @@
)
)
+(define-flags ApplicationInhibitFlags
+ (in-module "Gtk")
+ (c-name "GtkApplicationInhibitFlags")
+ (gtype-id "GTK_TYPE_APPLICATION_INHIBIT_FLAGS")
+ (values
+ '("logout" "GTK_APPLICATION_INHIBIT_LOGOUT")
+ '("switch" "GTK_APPLICATION_INHIBIT_SWITCH")
+ '("suspend" "GTK_APPLICATION_INHIBIT_SUSPEND")
+ '("idle" "GTK_APPLICATION_INHIBIT_IDLE")
+ )
+)
+
(define-enum AssistantPageType
(in-module "Gtk")
(c-name "GtkAssistantPageType")
@@ -1375,6 +1636,8 @@
'("insensitive" "GTK_CELL_RENDERER_INSENSITIVE")
'("sorted" "GTK_CELL_RENDERER_SORTED")
'("focused" "GTK_CELL_RENDERER_FOCUSED")
+ '("expandable" "GTK_CELL_RENDERER_EXPANDABLE")
+ '("expanded" "GTK_CELL_RENDERER_EXPANDED")
)
)
@@ -1389,6 +1652,30 @@
)
)
+(define-enum ColorScaleType
+ (in-module "Gtk")
+ (c-name "GtkColorScaleType")
+ (gtype-id "GTK_TYPE_COLOR_SCALE_TYPE")
+ (values
+ '("hue" "GTK_COLOR_SCALE_HUE")
+ '("alpha" "GTK_COLOR_SCALE_ALPHA")
+ )
+)
+
+(define-flags CssNumberParseFlags
+ (in-module "Gtk")
+ (c-name "GtkCssNumberParseFlags")
+ (gtype-id "GTK_TYPE_CSS_NUMBER_PARSE_FLAGS")
+ (values
+ '("positive-only" "GTK_CSS_POSITIVE_ONLY")
+ '("parse-percent" "GTK_CSS_PARSE_PERCENT")
+ '("parse-number" "GTK_CSS_PARSE_NUMBER")
+ '("number-as-pixels" "GTK_CSS_NUMBER_AS_PIXELS")
+ '("parse-length" "GTK_CSS_PARSE_LENGTH")
+ '("parse-angle" "GTK_CSS_PARSE_ANGLE")
+ )
+)
+
(define-enum CssProviderError
(in-module "Gtk")
(c-name "GtkCssProviderError")
@@ -1419,6 +1706,110 @@
)
)
+(define-enum CssCombinator
+ (in-module "Gtk")
+ (c-name "GtkCssCombinator")
+ (gtype-id "GTK_TYPE_CSS_COMBINATOR")
+ (values
+ '("descandant" "GTK_CSS_COMBINE_DESCANDANT")
+ '("child" "GTK_CSS_COMBINE_CHILD")
+ )
+)
+
+(define-enum CssSpecialValue
+ (in-module "Gtk")
+ (c-name "GtkCssSpecialValue")
+ (gtype-id "GTK_TYPE_CSS_SPECIAL_VALUE")
+ (values
+ '("inherit" "GTK_CSS_INHERIT")
+ '("initial" "GTK_CSS_INITIAL")
+ )
+)
+
+(define-enum CssBackgroundRepeat
+ (in-module "Gtk")
+ (c-name "GtkCssBackgroundRepeat")
+ (gtype-id "GTK_TYPE_CSS_BACKGROUND_REPEAT")
+ (values
+ '("invalid" "GTK_CSS_BACKGROUND_INVALID")
+ '("repeat" "GTK_CSS_BACKGROUND_REPEAT")
+ '("space" "GTK_CSS_BACKGROUND_SPACE")
+ '("round" "GTK_CSS_BACKGROUND_ROUND")
+ '("no-repeat" "GTK_CSS_BACKGROUND_NO_REPEAT")
+ '("repeat-x" "GTK_CSS_BACKGROUND_REPEAT_X")
+ '("repeat-y" "GTK_CSS_BACKGROUND_REPEAT_Y")
+ )
+)
+
+(define-enum CssBorderRepeatStyle
+ (in-module "Gtk")
+ (c-name "GtkCssBorderRepeatStyle")
+ (gtype-id "GTK_TYPE_CSS_BORDER_REPEAT_STYLE")
+ (values
+ '("stretch" "GTK_CSS_REPEAT_STYLE_STRETCH")
+ '("repeat" "GTK_CSS_REPEAT_STYLE_REPEAT")
+ '("round" "GTK_CSS_REPEAT_STYLE_ROUND")
+ '("space" "GTK_CSS_REPEAT_STYLE_SPACE")
+ )
+)
+
+(define-enum CssArea
+ (in-module "Gtk")
+ (c-name "GtkCssArea")
+ (gtype-id "GTK_TYPE_CSS_AREA")
+ (values
+ '("border-box" "GTK_CSS_AREA_BORDER_BOX")
+ '("padding-box" "GTK_CSS_AREA_PADDING_BOX")
+ '("content-box" "GTK_CSS_AREA_CONTENT_BOX")
+ )
+)
+
+(define-enum CssSide
+ (in-module "Gtk")
+ (c-name "GtkCssSide")
+ (gtype-id "GTK_TYPE_CSS_SIDE")
+ (values
+ '("top" "GTK_CSS_TOP")
+ '("right" "GTK_CSS_RIGHT")
+ '("bottom" "GTK_CSS_BOTTOM")
+ '("left" "GTK_CSS_LEFT")
+ )
+)
+
+(define-enum CssCorner
+ (in-module "Gtk")
+ (c-name "GtkCssCorner")
+ (gtype-id "GTK_TYPE_CSS_CORNER")
+ (values
+ '("top-left" "GTK_CSS_TOP_LEFT")
+ '("top-right" "GTK_CSS_TOP_RIGHT")
+ '("bottom-right" "GTK_CSS_BOTTOM_RIGHT")
+ '("bottom-left" "GTK_CSS_BOTTOM_LEFT")
+ )
+)
+
+(define-enum CssUnit
+ (in-module "Gtk")
+ (c-name "GtkCssUnit")
+ (gtype-id "GTK_TYPE_CSS_UNIT")
+ (values
+ '("number" "GTK_CSS_NUMBER")
+ '("percent" "GTK_CSS_PERCENT")
+ '("px" "GTK_CSS_PX")
+ '("pt" "GTK_CSS_PT")
+ '("em" "GTK_CSS_EM")
+ '("ex" "GTK_CSS_EX")
+ '("pc" "GTK_CSS_PC")
+ '("in" "GTK_CSS_IN")
+ '("cm" "GTK_CSS_CM")
+ '("mm" "GTK_CSS_MM")
+ '("rad" "GTK_CSS_RAD")
+ '("deg" "GTK_CSS_DEG")
+ '("grad" "GTK_CSS_GRAD")
+ '("turn" "GTK_CSS_TURN")
+ )
+)
+
(define-flags DebugFlag
(in-module "Gtk")
(c-name "GtkDebugFlag")
@@ -2113,6 +2504,7 @@
'("insensitive" "GTK_STATE_FLAG_INSENSITIVE")
'("inconsistent" "GTK_STATE_FLAG_INCONSISTENT")
'("focused" "GTK_STATE_FLAG_FOCUSED")
+ '("backdrop" "GTK_STATE_FLAG_BACKDROP")
)
)
@@ -2125,6 +2517,7 @@
'("odd" "GTK_REGION_ODD")
'("first" "GTK_REGION_FIRST")
'("last" "GTK_REGION_LAST")
+ '("only" "GTK_REGION_ONLY")
'("sorted" "GTK_REGION_SORTED")
)
)
@@ -2155,6 +2548,12 @@
'("solid" "GTK_BORDER_STYLE_SOLID")
'("inset" "GTK_BORDER_STYLE_INSET")
'("outset" "GTK_BORDER_STYLE_OUTSET")
+ '("hidden" "GTK_BORDER_STYLE_HIDDEN")
+ '("dotted" "GTK_BORDER_STYLE_DOTTED")
+ '("dashed" "GTK_BORDER_STYLE_DASHED")
+ '("double" "GTK_BORDER_STYLE_DOUBLE")
+ '("groove" "GTK_BORDER_STYLE_GROOVE")
+ '("ridge" "GTK_BORDER_STYLE_RIDGE")
)
)
@@ -2193,6 +2592,70 @@
)
)
+(define-enum State
+ (in-module "Load")
+ (c-name "LoadState")
+ (gtype-id "LOAD_TYPE_STATE")
+ (values
+ '("empty" "LOAD_EMPTY")
+ '("preload" "LOAD_PRELOAD")
+ '("loading" "LOAD_LOADING")
+ '("finished" "LOAD_FINISHED")
+ )
+)
+
+(define-enum State
+ (in-module "Reload")
+ (c-name "ReloadState")
+ (gtype-id "RELOAD_TYPE_STATE")
+ (values
+ '("empty" "RELOAD_EMPTY")
+ '("has-folder" "RELOAD_HAS_FOLDER")
+ )
+)
+
+(define-enum Mode
+ (in-module "Location")
+ (c-name "LocationMode")
+ (gtype-id "LOCATION_TYPE_MODE")
+ (values
+ '("path-bar" "LOCATION_MODE_PATH_BAR")
+ '("filename-entry" "LOCATION_MODE_FILENAME_ENTRY")
+ )
+)
+
+(define-enum Mode
+ (in-module "Operation")
+ (c-name "OperationMode")
+ (gtype-id "OPERATION_TYPE_MODE")
+ (values
+ '("browse" "OPERATION_MODE_BROWSE")
+ '("search" "OPERATION_MODE_SEARCH")
+ '("recent" "OPERATION_MODE_RECENT")
+ )
+)
+
+(define-enum FileChooserProp
+ (in-module "Gtk")
+ (c-name "GtkFileChooserProp")
+ (gtype-id "GTK_TYPE_FILE_CHOOSER_PROP")
+ (values
+ '("first" "GTK_FILE_CHOOSER_PROP_FIRST")
+ '("action" "GTK_FILE_CHOOSER_PROP_ACTION")
+ '("filter" "GTK_FILE_CHOOSER_PROP_FILTER")
+ '("local-only" "GTK_FILE_CHOOSER_PROP_LOCAL_ONLY")
+ '("preview-widget" "GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET")
+ '("preview-widget-active" "GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE")
+ '("use-preview-label" "GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL")
+ '("extra-widget" "GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET")
+ '("select-multiple" "GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE")
+ '("show-hidden" "GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN")
+ '("do-overwrite-confirmation" "GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION")
+ '("create-folders" "GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS")
+ '("last" "GTK_FILE_CHOOSER_PROP_LAST")
+ )
+)
+
(define-flags FileFilterFlags
(in-module "Gtk")
(c-name "GtkFileFilterFlags")
@@ -2205,6 +2668,20 @@
)
)
+(define-enum FontChooserProp
+ (in-module "Gtk")
+ (c-name "GtkFontChooserProp")
+ (gtype-id "GTK_TYPE_FONT_CHOOSER_PROP")
+ (values
+ '("first" "GTK_FONT_CHOOSER_PROP_FIRST")
+ '("font" "GTK_FONT_CHOOSER_PROP_FONT")
+ '("font-desc" "GTK_FONT_CHOOSER_PROP_FONT_DESC")
+ '("preview-text" "GTK_FONT_CHOOSER_PROP_PREVIEW_TEXT")
+ '("show-preview-entry" "GTK_FONT_CHOOSER_PROP_SHOW_PREVIEW_ENTRY")
+ '("last" "GTK_FONT_CHOOSER_PROP_LAST")
+ )
+)
+
(define-flags IconLookupFlags
(in-module "Gtk")
(c-name "GtkIconLookupFlags")
@@ -2257,6 +2734,26 @@
)
)
+(define-enum SubmenuDirection
+ (in-module "Gtk")
+ (c-name "GtkSubmenuDirection")
+ (gtype-id "GTK_TYPE_SUBMENU_DIRECTION")
+ (values
+ '("left" "GTK_DIRECTION_LEFT")
+ '("right" "GTK_DIRECTION_RIGHT")
+ )
+)
+
+(define-enum SubmenuPlacement
+ (in-module "Gtk")
+ (c-name "GtkSubmenuPlacement")
+ (gtype-id "GTK_TYPE_SUBMENU_PLACEMENT")
+ (values
+ '("top-bottom" "GTK_TOP_BOTTOM")
+ '("left-right" "GTK_LEFT_RIGHT")
+ )
+)
+
(define-enum ButtonsType
(in-module "Gtk")
(c-name "GtkButtonsType")
@@ -2281,6 +2778,63 @@
)
)
+(define-enum PrintBackendError
+ (in-module "Gtk")
+ (c-name "GtkPrintBackendError")
+ (gtype-id "GTK_TYPE_PRINT_BACKEND_ERROR")
+ (values
+ '("generic" "GTK_PRINT_BACKEND_ERROR_GENERIC")
+ )
+)
+
+(define-enum PrintBackendStatus
+ (in-module "Gtk")
+ (c-name "GtkPrintBackendStatus")
+ (gtype-id "GTK_TYPE_PRINT_BACKEND_STATUS")
+ (values
+ '("unknown" "GTK_PRINT_BACKEND_STATUS_UNKNOWN")
+ '("ok" "GTK_PRINT_BACKEND_STATUS_OK")
+ '("unavailable" "GTK_PRINT_BACKEND_STATUS_UNAVAILABLE")
+ )
+)
+
+(define-flags PrintCapabilities
+ (in-module "Gtk")
+ (c-name "GtkPrintCapabilities")
+ (gtype-id "GTK_TYPE_PRINT_CAPABILITIES")
+ (values
+ '("page-set" "GTK_PRINT_CAPABILITY_PAGE_SET")
+ '("copies" "GTK_PRINT_CAPABILITY_COPIES")
+ '("collate" "GTK_PRINT_CAPABILITY_COLLATE")
+ '("reverse" "GTK_PRINT_CAPABILITY_REVERSE")
+ '("scale" "GTK_PRINT_CAPABILITY_SCALE")
+ '("generate-pdf" "GTK_PRINT_CAPABILITY_GENERATE_PDF")
+ '("generate-ps" "GTK_PRINT_CAPABILITY_GENERATE_PS")
+ '("preview" "GTK_PRINT_CAPABILITY_PREVIEW")
+ '("number-up" "GTK_PRINT_CAPABILITY_NUMBER_UP")
+ '("number-up-layout" "GTK_PRINT_CAPABILITY_NUMBER_UP_LAYOUT")
+ )
+)
+
+(define-enum PrinterOptionType
+ (in-module "Gtk")
+ (c-name "GtkPrinterOptionType")
+ (gtype-id "GTK_TYPE_PRINTER_OPTION_TYPE")
+ (values
+ '("boolean" "GTK_PRINTER_OPTION_TYPE_BOOLEAN")
+ '("pickone" "GTK_PRINTER_OPTION_TYPE_PICKONE")
+ '("pickone-password" "GTK_PRINTER_OPTION_TYPE_PICKONE_PASSWORD")
+ '("pickone-passcode" "GTK_PRINTER_OPTION_TYPE_PICKONE_PASSCODE")
+ '("pickone-real" "GTK_PRINTER_OPTION_TYPE_PICKONE_REAL")
+ '("pickone-int" "GTK_PRINTER_OPTION_TYPE_PICKONE_INT")
+ '("pickone-string" "GTK_PRINTER_OPTION_TYPE_PICKONE_STRING")
+ '("alternative" "GTK_PRINTER_OPTION_TYPE_ALTERNATIVE")
+ '("string" "GTK_PRINTER_OPTION_TYPE_STRING")
+ '("filesave" "GTK_PRINTER_OPTION_TYPE_FILESAVE")
+ '("info" "GTK_PRINTER_OPTION_TYPE_INFO")
+ )
+)
+
(define-enum PrintStatus
(in-module "Gtk")
(c-name "GtkPrintStatus")
@@ -2334,63 +2888,31 @@
)
)
-(define-flags RcFlags
+(define-enum PageDrawingState
(in-module "Gtk")
- (c-name "GtkRcFlags")
- (gtype-id "GTK_TYPE_RC_FLAGS")
+ (c-name "GtkPageDrawingState")
+ (gtype-id "GTK_TYPE_PAGE_DRAWING_STATE")
(values
- '("fg" "GTK_RC_FG")
- '("bg" "GTK_RC_BG")
- '("text" "GTK_RC_TEXT")
- '("base" "GTK_RC_BASE")
+ '("ready" "GTK_PAGE_DRAWING_STATE_READY")
+ '("drawing" "GTK_PAGE_DRAWING_STATE_DRAWING")
+ '("deferred-drawing" "GTK_PAGE_DRAWING_STATE_DEFERRED_DRAWING")
)
)
-(define-enum RcTokenType
+(define-flags RBNodeColor
(in-module "Gtk")
- (c-name "GtkRcTokenType")
- (gtype-id "GTK_TYPE_RC_TOKEN_TYPE")
+ (c-name "GtkRBNodeColor")
+ (gtype-id "GTK_TYPE_RB_NODE_COLOR")
(values
- '("invalid" "GTK_RC_TOKEN_INVALID")
- '("include" "GTK_RC_TOKEN_INCLUDE")
- '("normal" "GTK_RC_TOKEN_NORMAL")
- '("active" "GTK_RC_TOKEN_ACTIVE")
- '("prelight" "GTK_RC_TOKEN_PRELIGHT")
- '("selected" "GTK_RC_TOKEN_SELECTED")
- '("insensitive" "GTK_RC_TOKEN_INSENSITIVE")
- '("fg" "GTK_RC_TOKEN_FG")
- '("bg" "GTK_RC_TOKEN_BG")
- '("text" "GTK_RC_TOKEN_TEXT")
- '("base" "GTK_RC_TOKEN_BASE")
- '("xthickness" "GTK_RC_TOKEN_XTHICKNESS")
- '("ythickness" "GTK_RC_TOKEN_YTHICKNESS")
- '("font" "GTK_RC_TOKEN_FONT")
- '("fontset" "GTK_RC_TOKEN_FONTSET")
- '("font-name" "GTK_RC_TOKEN_FONT_NAME")
- '("bg-pixmap" "GTK_RC_TOKEN_BG_PIXMAP")
- '("pixmap-path" "GTK_RC_TOKEN_PIXMAP_PATH")
- '("style" "GTK_RC_TOKEN_STYLE")
- '("binding" "GTK_RC_TOKEN_BINDING")
- '("bind" "GTK_RC_TOKEN_BIND")
- '("widget" "GTK_RC_TOKEN_WIDGET")
- '("widget-class" "GTK_RC_TOKEN_WIDGET_CLASS")
- '("class" "GTK_RC_TOKEN_CLASS")
- '("lowest" "GTK_RC_TOKEN_LOWEST")
- '("gtk" "GTK_RC_TOKEN_GTK")
- '("application" "GTK_RC_TOKEN_APPLICATION")
- '("theme" "GTK_RC_TOKEN_THEME")
- '("rc" "GTK_RC_TOKEN_RC")
- '("highest" "GTK_RC_TOKEN_HIGHEST")
- '("engine" "GTK_RC_TOKEN_ENGINE")
- '("module-path" "GTK_RC_TOKEN_MODULE_PATH")
- '("im-module-path" "GTK_RC_TOKEN_IM_MODULE_PATH")
- '("im-module-file" "GTK_RC_TOKEN_IM_MODULE_FILE")
- '("stock" "GTK_RC_TOKEN_STOCK")
- '("ltr" "GTK_RC_TOKEN_LTR")
- '("rtl" "GTK_RC_TOKEN_RTL")
- '("color" "GTK_RC_TOKEN_COLOR")
- '("unbind" "GTK_RC_TOKEN_UNBIND")
- '("last" "GTK_RC_TOKEN_LAST")
+ '("black" "GTK_RBNODE_BLACK")
+ '("red" "GTK_RBNODE_RED")
+ '("is-parent" "GTK_RBNODE_IS_PARENT")
+ '("is-selected" "GTK_RBNODE_IS_SELECTED")
+ '("is-prelit" "GTK_RBNODE_IS_PRELIT")
+ '("invalid" "GTK_RBNODE_INVALID")
+ '("column-invalid" "GTK_RBNODE_COLUMN_INVALID")
+ '("descendants-invalid" "GTK_RBNODE_DESCENDANTS_INVALID")
+ '("non-colors" "GTK_RBNODE_NON_COLORS")
)
)
@@ -2416,6 +2938,26 @@
)
)
+(define-enum RecentChooserProp
+ (in-module "Gtk")
+ (c-name "GtkRecentChooserProp")
+ (gtype-id "GTK_TYPE_RECENT_CHOOSER_PROP")
+ (values
+ '("first" "GTK_RECENT_CHOOSER_PROP_FIRST")
+ '("recent-manager" "GTK_RECENT_CHOOSER_PROP_RECENT_MANAGER")
+ '("show-private" "GTK_RECENT_CHOOSER_PROP_SHOW_PRIVATE")
+ '("show-not-found" "GTK_RECENT_CHOOSER_PROP_SHOW_NOT_FOUND")
+ '("show-tips" "GTK_RECENT_CHOOSER_PROP_SHOW_TIPS")
+ '("show-icons" "GTK_RECENT_CHOOSER_PROP_SHOW_ICONS")
+ '("select-multiple" "GTK_RECENT_CHOOSER_PROP_SELECT_MULTIPLE")
+ '("limit" "GTK_RECENT_CHOOSER_PROP_LIMIT")
+ '("local-only" "GTK_RECENT_CHOOSER_PROP_LOCAL_ONLY")
+ '("sort-type" "GTK_RECENT_CHOOSER_PROP_SORT_TYPE")
+ '("filter" "GTK_RECENT_CHOOSER_PROP_FILTER")
+ '("last" "GTK_RECENT_CHOOSER_PROP_LAST")
+ )
+)
+
(define-flags RecentFilterFlags
(in-module "Gtk")
(c-name "GtkRecentFilterFlags")
@@ -2457,6 +2999,15 @@
)
)
+(define-flags QueueResizeFlags
+ (in-module "Gtk")
+ (c-name "GtkQueueResizeFlags")
+ (gtype-id "GTK_TYPE_QUEUE_RESIZE_FLAGS")
+ (values
+ '("only" "GTK_QUEUE_RESIZE_INVALIDATE_ONLY")
+ )
+)
+
(define-enum SpinButtonUpdatePolicy
(in-module "Gtk")
(c-name "GtkSpinButtonUpdatePolicy")
@@ -2482,6 +3033,15 @@
)
)
+(define-flags StylePropertyFlags
+ (in-module "Gtk")
+ (c-name "GtkStylePropertyFlags")
+ (gtype-id "GTK_TYPE_STYLE_PROPERTY_FLAGS")
+ (values
+ '("inherit" "GTK_STYLE_PROPERTY_INHERIT")
+ )
+)
+
(define-enum TextBufferTargetInfo
(in-module "Gtk")
(c-name "GtkTextBufferTargetInfo")
@@ -2519,6 +3079,29 @@
)
)
+(define-enum TimelineDirection
+ (in-module "Gtk")
+ (c-name "GtkTimelineDirection")
+ (gtype-id "GTK_TYPE_TIMELINE_DIRECTION")
+ (values
+ '("forward" "GTK_TIMELINE_DIRECTION_FORWARD")
+ '("backward" "GTK_TIMELINE_DIRECTION_BACKWARD")
+ )
+)
+
+(define-enum TimelineProgressType
+ (in-module "Gtk")
+ (c-name "GtkTimelineProgressType")
+ (gtype-id "GTK_TYPE_TIMELINE_PROGRESS_TYPE")
+ (values
+ '("linear" "GTK_TIMELINE_PROGRESS_LINEAR")
+ '("ease" "GTK_TIMELINE_PROGRESS_EASE")
+ '("ease-in" "GTK_TIMELINE_PROGRESS_EASE_IN")
+ '("ease-out" "GTK_TIMELINE_PROGRESS_EASE_OUT")
+ '("ease-in-out" "GTK_TIMELINE_PROGRESS_EASE_IN_OUT")
+ )
+)
+
(define-enum ToolbarSpaceStyle
(in-module "Gtk")
(c-name "GtkToolbarSpaceStyle")
@@ -2549,6 +3132,16 @@
)
)
+(define-flags TreeSelectMode
+ (in-module "Gtk")
+ (c-name "GtkTreeSelectMode")
+ (gtype-id "GTK_TYPE_TREE_SELECT_MODE")
+ (values
+ '("toggle" "GTK_TREE_SELECT_MODE_TOGGLE")
+ '("extend" "GTK_TREE_SELECT_MODE_EXTEND")
+ )
+)
+
(define-enum TreeViewColumnSizing
(in-module "Gtk")
(c-name "GtkTreeViewColumnSizing")
@@ -2601,24 +3194,104 @@
)
)
-(define-flags PrintCapabilities
+(define-enum MessageType
+ (in-module "XEmbed")
+ (c-name "XEmbedMessageType")
+ (gtype-id "X_TYPE_EMBED_MESSAGE_TYPE")
+ (values
+ '("embedded-notify" "XEMBED_EMBEDDED_NOTIFY")
+ '("window-activate" "XEMBED_WINDOW_ACTIVATE")
+ '("window-deactivate" "XEMBED_WINDOW_DEACTIVATE")
+ '("request-focus" "XEMBED_REQUEST_FOCUS")
+ '("focus-in" "XEMBED_FOCUS_IN")
+ '("focus-out" "XEMBED_FOCUS_OUT")
+ '("focus-next" "XEMBED_FOCUS_NEXT")
+ '("focus-prev" "XEMBED_FOCUS_PREV")
+ '("grab-key" "XEMBED_GRAB_KEY")
+ '("ungrab-key" "XEMBED_UNGRAB_KEY")
+ '("modality-on" "XEMBED_MODALITY_ON")
+ '("modality-off" "XEMBED_MODALITY_OFF")
+ '("gtk-grab-key" "XEMBED_GTK_GRAB_KEY")
+ '("gtk-ungrab-key" "XEMBED_GTK_UNGRAB_KEY")
+ )
+)
+
+(define-flags RcFlags
(in-module "Gtk")
- (c-name "GtkPrintCapabilities")
- (gtype-id "GTK_TYPE_PRINT_CAPABILITIES")
+ (c-name "GtkRcFlags")
+ (gtype-id "GTK_TYPE_RC_FLAGS")
(values
- '("page-set" "GTK_PRINT_CAPABILITY_PAGE_SET")
- '("copies" "GTK_PRINT_CAPABILITY_COPIES")
- '("collate" "GTK_PRINT_CAPABILITY_COLLATE")
- '("reverse" "GTK_PRINT_CAPABILITY_REVERSE")
- '("scale" "GTK_PRINT_CAPABILITY_SCALE")
- '("generate-pdf" "GTK_PRINT_CAPABILITY_GENERATE_PDF")
- '("generate-ps" "GTK_PRINT_CAPABILITY_GENERATE_PS")
- '("preview" "GTK_PRINT_CAPABILITY_PREVIEW")
- '("number-up" "GTK_PRINT_CAPABILITY_NUMBER_UP")
- '("number-up-layout" "GTK_PRINT_CAPABILITY_NUMBER_UP_LAYOUT")
+ '("fg" "GTK_RC_FG")
+ '("bg" "GTK_RC_BG")
+ '("text" "GTK_RC_TEXT")
+ '("base" "GTK_RC_BASE")
)
)
+(define-enum RcTokenType
+ (in-module "Gtk")
+ (c-name "GtkRcTokenType")
+ (gtype-id "GTK_TYPE_RC_TOKEN_TYPE")
+ (values
+ '("invalid" "GTK_RC_TOKEN_INVALID")
+ '("include" "GTK_RC_TOKEN_INCLUDE")
+ '("normal" "GTK_RC_TOKEN_NORMAL")
+ '("active" "GTK_RC_TOKEN_ACTIVE")
+ '("prelight" "GTK_RC_TOKEN_PRELIGHT")
+ '("selected" "GTK_RC_TOKEN_SELECTED")
+ '("insensitive" "GTK_RC_TOKEN_INSENSITIVE")
+ '("fg" "GTK_RC_TOKEN_FG")
+ '("bg" "GTK_RC_TOKEN_BG")
+ '("text" "GTK_RC_TOKEN_TEXT")
+ '("base" "GTK_RC_TOKEN_BASE")
+ '("xthickness" "GTK_RC_TOKEN_XTHICKNESS")
+ '("ythickness" "GTK_RC_TOKEN_YTHICKNESS")
+ '("font" "GTK_RC_TOKEN_FONT")
+ '("fontset" "GTK_RC_TOKEN_FONTSET")
+ '("font-name" "GTK_RC_TOKEN_FONT_NAME")
+ '("bg-pixmap" "GTK_RC_TOKEN_BG_PIXMAP")
+ '("pixmap-path" "GTK_RC_TOKEN_PIXMAP_PATH")
+ '("style" "GTK_RC_TOKEN_STYLE")
+ '("binding" "GTK_RC_TOKEN_BINDING")
+ '("bind" "GTK_RC_TOKEN_BIND")
+ '("widget" "GTK_RC_TOKEN_WIDGET")
+ '("widget-class" "GTK_RC_TOKEN_WIDGET_CLASS")
+ '("class" "GTK_RC_TOKEN_CLASS")
+ '("lowest" "GTK_RC_TOKEN_LOWEST")
+ '("gtk" "GTK_RC_TOKEN_GTK")
+ '("application" "GTK_RC_TOKEN_APPLICATION")
+ '("theme" "GTK_RC_TOKEN_THEME")
+ '("rc" "GTK_RC_TOKEN_RC")
+ '("highest" "GTK_RC_TOKEN_HIGHEST")
+ '("engine" "GTK_RC_TOKEN_ENGINE")
+ '("module-path" "GTK_RC_TOKEN_MODULE_PATH")
+ '("im-module-path" "GTK_RC_TOKEN_IM_MODULE_PATH")
+ '("im-module-file" "GTK_RC_TOKEN_IM_MODULE_FILE")
+ '("stock" "GTK_RC_TOKEN_STOCK")
+ '("ltr" "GTK_RC_TOKEN_LTR")
+ '("rtl" "GTK_RC_TOKEN_RTL")
+ '("color" "GTK_RC_TOKEN_COLOR")
+ '("unbind" "GTK_RC_TOKEN_UNBIND")
+ '("last" "GTK_RC_TOKEN_LAST")
+ )
+)
+
+
+;; From gactionmuxer.h
+
+
+
+;; From gactionobservable.h
+
+
+
+;; From gactionobserver.h
+
+
+
+;; From gsimpleactionobserver.h
+
+
;; From gtkaboutdialog.h
@@ -2781,7 +3454,7 @@
(define-method get_authors
(of-object "GtkAboutDialog")
(c-name "gtk_about_dialog_get_authors")
- (return-type "const-gchar**")
+ (return-type "const-gchar*-const*")
)
(define-method set_authors
@@ -2796,7 +3469,7 @@
(define-method get_documenters
(of-object "GtkAboutDialog")
(c-name "gtk_about_dialog_get_documenters")
- (return-type "const-gchar**")
+ (return-type "const-gchar*-const*")
)
(define-method set_documenters
@@ -2811,7 +3484,7 @@
(define-method get_artists
(of-object "GtkAboutDialog")
(c-name "gtk_about_dialog_get_artists")
- (return-type "const-gchar**")
+ (return-type "const-gchar*-const*")
)
(define-method set_artists
@@ -2868,6 +3541,18 @@
)
)
+(define-method add_credit_section
+ (of-object "GtkAboutDialog")
+ (c-name "gtk_about_dialog_add_credit_section")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "section_name")
+ '("const-gchar**" "people")
+ )
+)
+
+
+
;; From gtkaccelgroup.h
(define-function gtk_accel_group_get_type
@@ -3013,6 +3698,17 @@
)
)
+(define-function gtk_accelerator_parse_with_keycode
+ (c-name "gtk_accelerator_parse_with_keycode")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "accelerator")
+ '("guint*" "accelerator_key")
+ '("guint**" "accelerator_codes")
+ '("GdkModifierType*" "accelerator_mods")
+ )
+)
+
(define-function gtk_accelerator_name
(c-name "gtk_accelerator_name")
(return-type "gchar*")
@@ -3022,6 +3718,17 @@
)
)
+(define-function gtk_accelerator_name_with_keycode
+ (c-name "gtk_accelerator_name_with_keycode")
+ (return-type "gchar*")
+ (parameters
+ '("GdkDisplay*" "display")
+ '("guint" "accelerator_key")
+ '("guint" "keycode")
+ '("GdkModifierType" "accelerator_mods")
+ )
+)
+
(define-function gtk_accelerator_get_label
(c-name "gtk_accelerator_get_label")
(return-type "gchar*")
@@ -3031,6 +3738,17 @@
)
)
+(define-function gtk_accelerator_get_label_with_keycode
+ (c-name "gtk_accelerator_get_label_with_keycode")
+ (return-type "gchar*")
+ (parameters
+ '("GdkDisplay*" "display")
+ '("guint" "accelerator_key")
+ '("guint" "keycode")
+ '("GdkModifierType" "accelerator_mods")
+ )
+)
+
(define-function gtk_accelerator_set_default_mod_mask
(c-name "gtk_accelerator_set_default_mod_mask")
(return-type "none")
@@ -3241,6 +3959,10 @@
+;; From gtkaccelmapprivate.h
+
+
+
;; From gtkaccessible.h
(define-function gtk_accessible_get_type
@@ -3271,6 +3993,64 @@
+;; From gtkactionable.h
+
+(define-function gtk_actionable_get_type
+ (c-name "gtk_actionable_get_type")
+ (return-type "GType")
+)
+
+(define-method get_action_name
+ (of-object "GtkActionable")
+ (c-name "gtk_actionable_get_action_name")
+ (return-type "const-gchar*")
+)
+
+(define-method set_action_name
+ (of-object "GtkActionable")
+ (c-name "gtk_actionable_set_action_name")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
+)
+
+(define-method get_action_target_value
+ (of-object "GtkActionable")
+ (c-name "gtk_actionable_get_action_target_value")
+ (return-type "GVariant*")
+)
+
+(define-method set_action_target_value
+ (of-object "GtkActionable")
+ (c-name "gtk_actionable_set_action_target_value")
+ (return-type "none")
+ (parameters
+ '("GVariant*" "target_value")
+ )
+)
+
+(define-method set_action_target
+ (of-object "GtkActionable")
+ (c-name "gtk_actionable_set_action_target")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "format_string")
+ )
+ (varargs #t)
+)
+
+(define-method set_detailed_action_name
+ (of-object "GtkActionable")
+ (c-name "gtk_actionable_set_detailed_action_name")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "detailed_action_name")
+ )
+)
+
+
+
;; From gtkactiongroup.h
(define-function gtk_action_group_get_type
@@ -4051,6 +4831,10 @@
+;; From gtkanimationdescription.h
+
+
+
;; From gtkappchooserbutton.h
(define-function gtk_app_chooser_button_get_type
@@ -4218,6 +5002,22 @@
+;; From gtkappchoosermodule.h
+
+
+
+;; From gtkappchooseronline.h
+
+
+
+;; From gtkappchooseronlinepk.h
+
+
+
+;; From gtkappchooserprivate.h
+
+
+
;; From gtkappchooserwidget.h
(define-function gtk_app_chooser_widget_get_type
@@ -4367,6 +5167,120 @@
(return-type "GList*")
)
+(define-method get_app_menu
+ (of-object "GtkApplication")
+ (c-name "gtk_application_get_app_menu")
+ (return-type "GMenuModel*")
+)
+
+(define-method set_app_menu
+ (of-object "GtkApplication")
+ (c-name "gtk_application_set_app_menu")
+ (return-type "none")
+ (parameters
+ '("GMenuModel*" "app_menu")
+ )
+)
+
+(define-method get_menubar
+ (of-object "GtkApplication")
+ (c-name "gtk_application_get_menubar")
+ (return-type "GMenuModel*")
+)
+
+(define-method set_menubar
+ (of-object "GtkApplication")
+ (c-name "gtk_application_set_menubar")
+ (return-type "none")
+ (parameters
+ '("GMenuModel*" "menubar")
+ )
+)
+
+(define-method add_accelerator
+ (of-object "GtkApplication")
+ (c-name "gtk_application_add_accelerator")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "accelerator")
+ '("const-gchar*" "action_name")
+ '("GVariant*" "parameter")
+ )
+)
+
+(define-method remove_accelerator
+ (of-object "GtkApplication")
+ (c-name "gtk_application_remove_accelerator")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "action_name")
+ '("GVariant*" "parameter")
+ )
+)
+
+(define-method inhibit
+ (of-object "GtkApplication")
+ (c-name "gtk_application_inhibit")
+ (return-type "guint")
+ (parameters
+ '("GtkWindow*" "window")
+ '("GtkApplicationInhibitFlags" "flags")
+ '("const-gchar*" "reason")
+ )
+)
+
+(define-method uninhibit
+ (of-object "GtkApplication")
+ (c-name "gtk_application_uninhibit")
+ (return-type "none")
+ (parameters
+ '("guint" "cookie")
+ )
+)
+
+(define-method is_inhibited
+ (of-object "GtkApplication")
+ (c-name "gtk_application_is_inhibited")
+ (return-type "gboolean")
+ (parameters
+ '("GtkApplicationInhibitFlags" "flags")
+ )
+)
+
+
+
+;; From gtkapplicationprivate.h
+
+
+
+;; From gtkapplicationwindow.h
+
+(define-function gtk_application_window_get_type
+ (c-name "gtk_application_window_get_type")
+ (return-type "GType")
+)
+
+(define-method window_new
+ (of-object "GtkApplication")
+ (c-name "gtk_application_window_new")
+ (return-type "GtkWidget*")
+)
+
+(define-method set_show_menubar
+ (of-object "GtkApplicationWindow")
+ (c-name "gtk_application_window_set_show_menubar")
+ (return-type "none")
+ (parameters
+ '("gboolean" "show_menubar")
+ )
+)
+
+(define-method get_show_menubar
+ (of-object "GtkApplicationWindow")
+ (c-name "gtk_application_window_get_show_menubar")
+ (return-type "gboolean")
+)
+
;; From gtkarrow.h
@@ -4857,6 +5771,10 @@
+;; From gtkbindingsprivate.h
+
+
+
;; From gtkbin.h
(define-function gtk_bin_get_type
@@ -4872,6 +5790,10 @@
+;; From gtkbitmaskprivate.h
+
+
+
;; From gtkborder.h
(define-function gtk_border_get_type
@@ -4899,6 +5821,10 @@
+;; From gtkborderimageprivate.h
+
+
+
;; From gtkbox.h
(define-function gtk_box_get_type
@@ -5008,6 +5934,10 @@
+;; From gtkboxprivate.h
+
+
+
;; From gtkbuildable.h
(define-function gtk_buildable_get_type
@@ -5148,6 +6078,16 @@
)
)
+(define-method add_from_resource
+ (of-object "GtkBuilder")
+ (c-name "gtk_builder_add_from_resource")
+ (return-type "guint")
+ (parameters
+ '("const-gchar*" "resource_path")
+ '("GError**" "error")
+ )
+)
+
(define-method add_from_string
(of-object "GtkBuilder")
(c-name "gtk_builder_add_from_string")
@@ -5170,6 +6110,17 @@
)
)
+(define-method add_objects_from_resource
+ (of-object "GtkBuilder")
+ (c-name "gtk_builder_add_objects_from_resource")
+ (return-type "guint")
+ (parameters
+ '("const-gchar*" "resource_path")
+ '("gchar**" "object_ids")
+ '("GError**" "error")
+ )
+)
+
(define-method add_objects_from_string
(of-object "GtkBuilder")
(c-name "gtk_builder_add_objects_from_string")
@@ -5266,6 +6217,14 @@
+;; From gtkbuilderprivate.h
+
+
+
+;; From gtkbuiltincache.h
+
+
+
;; From gtkbutton.h
(define-function gtk_button_get_type
@@ -5303,21 +6262,21 @@
)
)
-(define-method pressed
+(define-method clicked
(of-object "GtkButton")
- (c-name "gtk_button_pressed")
+ (c-name "gtk_button_clicked")
(return-type "none")
)
-(define-method released
+(define-method pressed
(of-object "GtkButton")
- (c-name "gtk_button_released")
+ (c-name "gtk_button_pressed")
(return-type "none")
)
-(define-method clicked
+(define-method released
(of-object "GtkButton")
- (c-name "gtk_button_clicked")
+ (c-name "gtk_button_released")
(return-type "none")
)
@@ -5466,6 +6425,10 @@
+;; From gtkbuttonprivate.h
+
+
+
;; From gtkcalendar.h
(define-function gtk_calendar_get_type
@@ -5600,167 +6563,8 @@
-;; From gtkcellareaboxcontext.h
-
-(define-function gtk_cell_area_box_context_get_type
- (c-name "gtk_cell_area_box_context_get_type")
- (return-type "GType")
-)
-
-(define-method context_copy
- (of-object "GtkCellAreaBox")
- (c-name "gtk_cell_area_box_context_copy")
- (return-type "GtkCellAreaBoxContext*")
- (parameters
- '("GtkCellAreaBoxContext*" "box_context")
- )
-)
-
-(define-function gtk_cell_area_box_init_groups
- (c-name "gtk_cell_area_box_init_groups")
- (return-type "none")
- (parameters
- '("GtkCellAreaBoxContext*" "box_context")
- '("guint" "n_groups")
- '("gboolean*" "expand_groups")
- '("gboolean*" "align_groups")
- )
-)
-
-(define-method push_group_width
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_push_group_width")
- (return-type "none")
- (parameters
- '("gint" "group_idx")
- '("gint" "minimum_width")
- '("gint" "natural_width")
- )
-)
-
-(define-method push_group_height_for_width
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_push_group_height_for_width")
- (return-type "none")
- (parameters
- '("gint" "group_idx")
- '("gint" "for_width")
- '("gint" "minimum_height")
- '("gint" "natural_height")
- )
-)
-
-(define-method push_group_height
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_push_group_height")
- (return-type "none")
- (parameters
- '("gint" "group_idx")
- '("gint" "minimum_height")
- '("gint" "natural_height")
- )
-)
-
-(define-method push_group_width_for_height
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_push_group_width_for_height")
- (return-type "none")
- (parameters
- '("gint" "group_idx")
- '("gint" "for_height")
- '("gint" "minimum_width")
- '("gint" "natural_width")
- )
-)
-
-(define-method get_group_width
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_get_group_width")
- (return-type "none")
- (parameters
- '("gint" "group_idx")
- '("gint*" "minimum_width")
- '("gint*" "natural_width")
- )
-)
-
-(define-method get_group_height_for_width
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_get_group_height_for_width")
- (return-type "none")
- (parameters
- '("gint" "group_idx")
- '("gint" "for_width")
- '("gint*" "minimum_height")
- '("gint*" "natural_height")
- )
-)
-
-(define-method get_group_height
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_get_group_height")
- (return-type "none")
- (parameters
- '("gint" "group_idx")
- '("gint*" "minimum_height")
- '("gint*" "natural_height")
- )
-)
-
-(define-method get_group_width_for_height
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_get_group_width_for_height")
- (return-type "none")
- (parameters
- '("gint" "group_idx")
- '("gint" "for_height")
- '("gint*" "minimum_width")
- '("gint*" "natural_width")
- )
-)
-
-(define-method get_widths
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_get_widths")
- (return-type "GtkRequestedSize*")
- (parameters
- '("gint*" "n_widths")
- )
-)
-
-(define-method get_heights
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_get_heights")
- (return-type "GtkRequestedSize*")
- (parameters
- '("gint*" "n_heights")
- )
-)
-
-(define-method get_orientation_allocs
- (of-object "GtkCellAreaBoxContext")
- (c-name "gtk_cell_area_box_context_get_orientation_allocs")
- (return-type "GtkCellAreaBoxAllocation*")
- (parameters
- '("gint*" "n_allocs")
- )
-)
-
-
-
;; From gtkcellareaboxcontextprivate.h
-(define-function gtk_cell_area_box_init_groups
- (c-name "gtk_cell_area_box_init_groups")
- (return-type "none")
- (parameters
- '("GtkCellAreaBoxContext*" "box_context")
- '("guint" "n_groups")
- '("gboolean*" "expand_groups")
- '("gboolean*" "align_groups")
- )
-)
-
;; From gtkcellareabox.h
@@ -7033,15 +7837,6 @@
(return-type "GtkTreePath*")
)
-(define-method set_background_color
- (of-object "GtkCellView")
- (c-name "gtk_cell_view_set_background_color")
- (return-type "none")
- (parameters
- '("const-GdkColor*" "color")
- )
-)
-
(define-method set_background_rgba
(of-object "GtkCellView")
(c-name "gtk_cell_view_set_background_rgba")
@@ -7091,6 +7886,15 @@
)
)
+(define-method set_background_color
+ (of-object "GtkCellView")
+ (c-name "gtk_cell_view_set_background_color")
+ (return-type "none")
+ (parameters
+ '("const-GdkColor*" "color")
+ )
+)
+
;; From gtkcheckbutton.h
@@ -7470,19 +8274,34 @@
(return-type "GtkWidget*")
)
-(define-function gtk_color_button_new_with_color
- (c-name "gtk_color_button_new_with_color")
+(define-function gtk_color_button_new_with_rgba
+ (c-name "gtk_color_button_new_with_rgba")
(return-type "GtkWidget*")
(parameters
- '("const-GdkColor*" "color")
+ '("const-GdkRGBA*" "rgba")
)
)
-(define-function gtk_color_button_new_with_rgba
- (c-name "gtk_color_button_new_with_rgba")
+(define-method set_title
+ (of-object "GtkColorButton")
+ (c-name "gtk_color_button_set_title")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "title")
+ )
+)
+
+(define-method get_title
+ (of-object "GtkColorButton")
+ (c-name "gtk_color_button_get_title")
+ (return-type "const-gchar*")
+)
+
+(define-function gtk_color_button_new_with_color
+ (c-name "gtk_color_button_new_with_color")
(return-type "GtkWidget*")
(parameters
- '("const-GdkRGBA*" "rgba")
+ '("const-GdkColor*" "color")
)
)
@@ -7495,21 +8314,21 @@
)
)
-(define-method set_alpha
+(define-method get_color
(of-object "GtkColorButton")
- (c-name "gtk_color_button_set_alpha")
+ (c-name "gtk_color_button_get_color")
(return-type "none")
(parameters
- '("guint16" "alpha")
+ '("GdkColor*" "color")
)
)
-(define-method get_color
+(define-method set_alpha
(of-object "GtkColorButton")
- (c-name "gtk_color_button_get_color")
+ (c-name "gtk_color_button_set_alpha")
(return-type "none")
(parameters
- '("GdkColor*" "color")
+ '("guint16" "alpha")
)
)
@@ -7552,222 +8371,141 @@
)
)
-(define-method set_title
- (of-object "GtkColorButton")
- (c-name "gtk_color_button_set_title")
- (return-type "none")
- (parameters
- '("const-gchar*" "title")
- )
-)
-
-(define-method get_title
- (of-object "GtkColorButton")
- (c-name "gtk_color_button_get_title")
- (return-type "const-gchar*")
-)
-
-;; From gtkcolorseldialog.h
+;; From gtkcolorchooserdialog.h
-(define-function gtk_color_selection_dialog_get_type
- (c-name "gtk_color_selection_dialog_get_type")
+(define-function gtk_color_chooser_dialog_get_type
+ (c-name "gtk_color_chooser_dialog_get_type")
(return-type "GType")
)
-(define-function gtk_color_selection_dialog_new
- (c-name "gtk_color_selection_dialog_new")
- (is-constructor-of "GtkColorSelectionDialog")
+(define-function gtk_color_chooser_dialog_new
+ (c-name "gtk_color_chooser_dialog_new")
+ (is-constructor-of "GtkColorChooserDialog")
(return-type "GtkWidget*")
(parameters
'("const-gchar*" "title")
+ '("GtkWindow*" "parent")
)
)
-(define-method get_color_selection
- (of-object "GtkColorSelectionDialog")
- (c-name "gtk_color_selection_dialog_get_color_selection")
- (return-type "GtkWidget*")
-)
-
-;; From gtkcolorsel.h
+;; From gtkcolorchooser.h
-(define-function gtk_color_selection_get_type
- (c-name "gtk_color_selection_get_type")
+(define-function gtk_color_chooser_get_type
+ (c-name "gtk_color_chooser_get_type")
(return-type "GType")
)
-(define-function gtk_color_selection_new
- (c-name "gtk_color_selection_new")
- (is-constructor-of "GtkColorSelection")
- (return-type "GtkWidget*")
-)
-
-(define-method get_has_opacity_control
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_get_has_opacity_control")
- (return-type "gboolean")
-)
-
-(define-method set_has_opacity_control
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_set_has_opacity_control")
+(define-method get_rgba
+ (of-object "GtkColorChooser")
+ (c-name "gtk_color_chooser_get_rgba")
(return-type "none")
(parameters
- '("gboolean" "has_opacity")
+ '("GdkRGBA*" "color")
)
)
-(define-method get_has_palette
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_get_has_palette")
- (return-type "gboolean")
-)
-
-(define-method set_has_palette
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_set_has_palette")
+(define-method set_rgba
+ (of-object "GtkColorChooser")
+ (c-name "gtk_color_chooser_set_rgba")
(return-type "none")
(parameters
- '("gboolean" "has_palette")
+ '("const-GdkRGBA*" "color")
)
)
-(define-method set_current_color
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_set_current_color")
- (return-type "none")
- (parameters
- '("const-GdkColor*" "color")
- )
+(define-method get_use_alpha
+ (of-object "GtkColorChooser")
+ (c-name "gtk_color_chooser_get_use_alpha")
+ (return-type "gboolean")
)
-(define-method set_current_alpha
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_set_current_alpha")
+(define-method set_use_alpha
+ (of-object "GtkColorChooser")
+ (c-name "gtk_color_chooser_set_use_alpha")
(return-type "none")
(parameters
- '("guint16" "alpha")
+ '("gboolean" "use_alpha")
)
)
-(define-method get_current_color
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_get_current_color")
+(define-method add_palette
+ (of-object "GtkColorChooser")
+ (c-name "gtk_color_chooser_add_palette")
(return-type "none")
(parameters
- '("GdkColor*" "color")
+ '("gboolean" "horizontal")
+ '("gint" "colors_per_line")
+ '("gint" "n_colors")
+ '("GdkRGBA*" "colors")
)
)
-(define-method get_current_alpha
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_get_current_alpha")
- (return-type "guint16")
-)
-(define-method set_previous_color
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_set_previous_color")
- (return-type "none")
- (parameters
- '("const-GdkColor*" "color")
- )
-)
-(define-method set_previous_alpha
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_set_previous_alpha")
- (return-type "none")
- (parameters
- '("guint16" "alpha")
- )
-)
+;; From gtkcolorchooserprivate.h
-(define-method get_previous_color
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_get_previous_color")
- (return-type "none")
- (parameters
- '("GdkColor*" "color")
- )
-)
-(define-method get_previous_alpha
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_get_previous_alpha")
- (return-type "guint16")
-)
-(define-method set_current_rgba
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_set_current_rgba")
- (return-type "none")
- (parameters
- '("const-GdkRGBA*" "rgba")
- )
-)
+;; From gtkcolorchooserwidget.h
-(define-method get_current_rgba
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_get_current_rgba")
- (return-type "none")
- (parameters
- '("GdkRGBA*" "rgba")
- )
+(define-function gtk_color_chooser_widget_get_type
+ (c-name "gtk_color_chooser_widget_get_type")
+ (return-type "GType")
)
-(define-method set_previous_rgba
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_set_previous_rgba")
- (return-type "none")
- (parameters
- '("const-GdkRGBA*" "rgba")
- )
+(define-function gtk_color_chooser_widget_new
+ (c-name "gtk_color_chooser_widget_new")
+ (is-constructor-of "GtkColorChooserWidget")
+ (return-type "GtkWidget*")
)
-(define-method get_previous_rgba
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_get_previous_rgba")
- (return-type "none")
- (parameters
- '("GdkRGBA*" "rgba")
- )
-)
-(define-method is_adjusting
- (of-object "GtkColorSelection")
- (c-name "gtk_color_selection_is_adjusting")
- (return-type "gboolean")
-)
-(define-function gtk_color_selection_palette_from_string
- (c-name "gtk_color_selection_palette_from_string")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "str")
- '("GdkColor**" "colors")
- '("gint*" "n_colors")
- )
-)
+;; From gtkcoloreditorprivate.h
-(define-function gtk_color_selection_palette_to_string
- (c-name "gtk_color_selection_palette_to_string")
- (return-type "gchar*")
+
+
+;; From gtkcolorplaneprivate.h
+
+
+
+;; From gtkcolorscaleprivate.h
+
+
+
+;; From gtkcolorswatchprivate.h
+
+
+
+;; From gtkcolorutils.h
+
+(define-function gtk_hsv_to_rgb
+ (c-name "gtk_hsv_to_rgb")
+ (return-type "none")
(parameters
- '("const-GdkColor*" "colors")
- '("gint" "n_colors")
+ '("gdouble" "h")
+ '("gdouble" "s")
+ '("gdouble" "v")
+ '("gdouble*" "r")
+ '("gdouble*" "g")
+ '("gdouble*" "b")
)
)
-(define-function gtk_color_selection_set_change_palette_with_screen_hook
- (c-name "gtk_color_selection_set_change_palette_with_screen_hook")
- (return-type "GtkColorSelectionChangePaletteWithScreenFunc")
+(define-function gtk_rgb_to_hsv
+ (c-name "gtk_rgb_to_hsv")
+ (return-type "none")
(parameters
- '("GtkColorSelectionChangePaletteWithScreenFunc" "func")
+ '("gdouble" "r")
+ '("gdouble" "g")
+ '("gdouble" "b")
+ '("gdouble*" "h")
+ '("gdouble*" "s")
+ '("gdouble*" "v")
)
)
@@ -8507,6 +9245,46 @@
+;; From gtkcontainerprivate.h
+
+
+
+;; From gtkcsscomputedvaluesprivate.h
+
+
+
+;; From gtkcsscustompropertyprivate.h
+
+
+
+;; From gtkcssimagegradientprivate.h
+
+
+
+;; From gtkcssimagelinearprivate.h
+
+
+
+;; From gtkcssimageprivate.h
+
+
+
+;; From gtkcssimageurlprivate.h
+
+
+
+;; From gtkcssimagewin32private.h
+
+
+
+;; From gtkcsslookupprivate.h
+
+
+
+;; From gtkcssparserprivate.h
+
+
+
;; From gtkcssprovider.h
(define-function gtk_css_provider_error_quark
@@ -8578,6 +9356,10 @@
+;; From gtkcssproviderprivate.h
+
+
+
;; From gtkcsssection.h
(define-function gtk_css_section_get_type
@@ -8641,6 +9423,39 @@
+;; From gtkcsssectionprivate.h
+
+
+
+;; From gtkcssselectorprivate.h
+
+
+
+;; From gtkcssshorthandpropertyprivate.h
+
+
+
+;; From gtkcssstylefuncsprivate.h
+
+
+
+;; From gtkcssstylepropertyprivate.h
+
+
+
+;; From gtkcsstypesprivate.h
+
+
+
+;; From gtkcustompaperunixdialog.h
+
+(define-function gtk_custom_paper_unix_dialog_get_type
+ (c-name "gtk_custom_paper_unix_dialog_get_type")
+ (return-type "GType")
+)
+
+
+
;; From gtkdebug.h
(define-function gtk_get_debug_flags
@@ -9450,6 +10265,15 @@
(return-type "gint")
)
+(define-method compute_prefix
+ (of-object "GtkEntryCompletion")
+ (c-name "gtk_entry_completion_compute_prefix")
+ (return-type "gchar*")
+ (parameters
+ '("const-char*" "key")
+ )
+)
+
(define-method complete
(of-object "GtkEntryCompletion")
(c-name "gtk_entry_completion_complete")
@@ -10126,6 +10950,10 @@
+;; From gtkentryprivate.h
+
+
+
;; From gtkenums.h
@@ -10393,6 +11221,10 @@
+;; From gtkfilechooserdefault.h
+
+
+
;; From gtkfilechooserdialog.h
(define-function gtk_file_chooser_dialog_get_type
@@ -10415,6 +11247,14 @@
+;; From gtkfilechooserembed.h
+
+
+
+;; From gtkfilechooserentry.h
+
+
+
;; From gtkfilechooser.h
(define-function gtk_file_chooser_get_type
@@ -10874,6 +11714,14 @@
+;; From gtkfilechooserprivate.h
+
+
+
+;; From gtkfilechooserutils.h
+
+
+
;; From gtkfilechooserwidget.h
(define-function gtk_file_chooser_widget_get_type
@@ -10973,6 +11821,14 @@
+;; From gtkfilesystem.h
+
+
+
+;; From gtkfilesystemmodel.h
+
+
+
;; From gtkfixed.h
(define-function gtk_fixed_get_type
@@ -11136,7 +11992,7 @@
(return-type "GtkWidget*")
(parameters
'("const-gchar*" "title")
- '("GtkWindow*" "window")
+ '("GtkWindow*" "parent")
)
)
@@ -11240,174 +12096,27 @@
-;; From gtkfontchooserwidget.h
-
-(define-function gtk_font_chooser_widget_get_type
- (c-name "gtk_font_chooser_widget_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_font_chooser_widget_new
- (c-name "gtk_font_chooser_widget_new")
- (is-constructor-of "GtkFontChooserWidget")
- (return-type "GtkWidget*")
-)
-
-
-
-;; From gtkfontsel.h
-
-(define-function gtk_font_selection_get_type
- (c-name "gtk_font_selection_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_font_selection_new
- (c-name "gtk_font_selection_new")
- (is-constructor-of "GtkFontSelection")
- (return-type "GtkWidget*")
-)
-
-(define-method get_family_list
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_get_family_list")
- (return-type "GtkWidget*")
-)
-
-(define-method get_face_list
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_get_face_list")
- (return-type "GtkWidget*")
-)
-
-(define-method get_size_entry
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_get_size_entry")
- (return-type "GtkWidget*")
-)
-
-(define-method get_size_list
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_get_size_list")
- (return-type "GtkWidget*")
-)
-
-(define-method get_preview_entry
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_get_preview_entry")
- (return-type "GtkWidget*")
-)
-
-(define-method get_family
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_get_family")
- (return-type "PangoFontFamily*")
-)
+;; From gtkfontchooserprivate.h
-(define-method get_face
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_get_face")
- (return-type "PangoFontFace*")
-)
-(define-method get_size
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_get_size")
- (return-type "gint")
-)
-(define-method get_font_name
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_get_font_name")
- (return-type "gchar*")
-)
+;; From gtkfontchooserutils.h
-(define-method set_font_name
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_set_font_name")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "fontname")
- )
-)
-(define-method get_preview_text
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_get_preview_text")
- (return-type "const-gchar*")
-)
-(define-method set_preview_text
- (of-object "GtkFontSelection")
- (c-name "gtk_font_selection_set_preview_text")
- (return-type "none")
- (parameters
- '("const-gchar*" "text")
- )
-)
+;; From gtkfontchooserwidget.h
-(define-function gtk_font_selection_dialog_get_type
- (c-name "gtk_font_selection_dialog_get_type")
+(define-function gtk_font_chooser_widget_get_type
+ (c-name "gtk_font_chooser_widget_get_type")
(return-type "GType")
)
-(define-function gtk_font_selection_dialog_new
- (c-name "gtk_font_selection_dialog_new")
- (is-constructor-of "GtkFontSelectionDialog")
- (return-type "GtkWidget*")
- (parameters
- '("const-gchar*" "title")
- )
-)
-
-(define-method get_ok_button
- (of-object "GtkFontSelectionDialog")
- (c-name "gtk_font_selection_dialog_get_ok_button")
- (return-type "GtkWidget*")
-)
-
-(define-method get_cancel_button
- (of-object "GtkFontSelectionDialog")
- (c-name "gtk_font_selection_dialog_get_cancel_button")
- (return-type "GtkWidget*")
-)
-
-(define-method get_font_selection
- (of-object "GtkFontSelectionDialog")
- (c-name "gtk_font_selection_dialog_get_font_selection")
+(define-function gtk_font_chooser_widget_new
+ (c-name "gtk_font_chooser_widget_new")
+ (is-constructor-of "GtkFontChooserWidget")
(return-type "GtkWidget*")
)
-(define-method get_font_name
- (of-object "GtkFontSelectionDialog")
- (c-name "gtk_font_selection_dialog_get_font_name")
- (return-type "gchar*")
-)
-
-(define-method set_font_name
- (of-object "GtkFontSelectionDialog")
- (c-name "gtk_font_selection_dialog_set_font_name")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "fontname")
- )
-)
-
-(define-method get_preview_text
- (of-object "GtkFontSelectionDialog")
- (c-name "gtk_font_selection_dialog_get_preview_text")
- (return-type "const-gchar*")
-)
-
-(define-method set_preview_text
- (of-object "GtkFontSelectionDialog")
- (c-name "gtk_font_selection_dialog_set_preview_text")
- (return-type "none")
- (parameters
- '("const-gchar*" "text")
- )
-)
-
;; From gtkframe.h
@@ -11556,6 +12265,15 @@
)
)
+(define-method resolve_for_context
+ (of-object "GtkGradient")
+ (c-name "gtk_gradient_resolve_for_context")
+ (return-type "cairo_pattern_t*")
+ (parameters
+ '("GtkStyleContext*" "context")
+ )
+)
+
(define-method to_string
(of-object "GtkGradient")
(c-name "gtk_gradient_to_string")
@@ -11707,468 +12425,211 @@
-;; From gtkhandlebox.h
+;; From gtkiconcache.h
-(define-function gtk_handle_box_get_type
- (c-name "gtk_handle_box_get_type")
+
+
+;; From gtkiconcachevalidator.h
+
+
+
+;; From gtkiconfactory.h
+
+(define-function gtk_icon_factory_get_type
+ (c-name "gtk_icon_factory_get_type")
(return-type "GType")
)
-(define-function gtk_handle_box_new
- (c-name "gtk_handle_box_new")
- (is-constructor-of "GtkHandleBox")
- (return-type "GtkWidget*")
+(define-function gtk_icon_factory_new
+ (c-name "gtk_icon_factory_new")
+ (is-constructor-of "GtkIconFactory")
+ (return-type "GtkIconFactory*")
)
-(define-method set_shadow_type
- (of-object "GtkHandleBox")
- (c-name "gtk_handle_box_set_shadow_type")
+(define-method add
+ (of-object "GtkIconFactory")
+ (c-name "gtk_icon_factory_add")
(return-type "none")
(parameters
- '("GtkShadowType" "type")
+ '("const-gchar*" "stock_id")
+ '("GtkIconSet*" "icon_set")
)
)
-(define-method get_shadow_type
- (of-object "GtkHandleBox")
- (c-name "gtk_handle_box_get_shadow_type")
- (return-type "GtkShadowType")
-)
-
-(define-method set_handle_position
- (of-object "GtkHandleBox")
- (c-name "gtk_handle_box_set_handle_position")
- (return-type "none")
+(define-method lookup
+ (of-object "GtkIconFactory")
+ (c-name "gtk_icon_factory_lookup")
+ (return-type "GtkIconSet*")
(parameters
- '("GtkPositionType" "position")
+ '("const-gchar*" "stock_id")
)
)
-(define-method get_handle_position
- (of-object "GtkHandleBox")
- (c-name "gtk_handle_box_get_handle_position")
- (return-type "GtkPositionType")
+(define-method add_default
+ (of-object "GtkIconFactory")
+ (c-name "gtk_icon_factory_add_default")
+ (return-type "none")
)
-(define-method set_snap_edge
- (of-object "GtkHandleBox")
- (c-name "gtk_handle_box_set_snap_edge")
+(define-method remove_default
+ (of-object "GtkIconFactory")
+ (c-name "gtk_icon_factory_remove_default")
(return-type "none")
- (parameters
- '("GtkPositionType" "edge")
- )
)
-(define-method get_snap_edge
- (of-object "GtkHandleBox")
- (c-name "gtk_handle_box_get_snap_edge")
- (return-type "GtkPositionType")
+(define-function gtk_icon_factory_lookup_default
+ (c-name "gtk_icon_factory_lookup_default")
+ (return-type "GtkIconSet*")
+ (parameters
+ '("const-gchar*" "stock_id")
+ )
)
-(define-method get_child_detached
- (of-object "GtkHandleBox")
- (c-name "gtk_handle_box_get_child_detached")
+(define-method lookup
+ (of-object "GtkIconSize")
+ (c-name "gtk_icon_size_lookup")
(return-type "gboolean")
+ (parameters
+ '("gint*" "width")
+ '("gint*" "height")
+ )
)
-
-
-;; From gtkhbbox.h
-
-(define-function gtk_hbutton_box_get_type
- (c-name "gtk_hbutton_box_get_type")
- (return-type "GType")
+(define-function gtk_icon_size_lookup_for_settings
+ (c-name "gtk_icon_size_lookup_for_settings")
+ (return-type "gboolean")
+ (parameters
+ '("GtkSettings*" "settings")
+ '("GtkIconSize" "size")
+ '("gint*" "width")
+ '("gint*" "height")
+ )
)
-(define-function gtk_hbutton_box_new
- (c-name "gtk_hbutton_box_new")
- (is-constructor-of "GtkHbuttonBox")
- (return-type "GtkWidget*")
+(define-function gtk_icon_size_register
+ (c-name "gtk_icon_size_register")
+ (return-type "GtkIconSize")
+ (parameters
+ '("const-gchar*" "name")
+ '("gint" "width")
+ '("gint" "height")
+ )
)
-
-
-;; From gtkhbox.h
-
-(define-function gtk_hbox_get_type
- (c-name "gtk_hbox_get_type")
- (return-type "GType")
+(define-function gtk_icon_size_register_alias
+ (c-name "gtk_icon_size_register_alias")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "alias")
+ '("GtkIconSize" "target")
+ )
)
-(define-function gtk_hbox_new
- (c-name "gtk_hbox_new")
- (is-constructor-of "GtkHbox")
- (return-type "GtkWidget*")
+(define-function gtk_icon_size_from_name
+ (c-name "gtk_icon_size_from_name")
+ (return-type "GtkIconSize")
(parameters
- '("gboolean" "homogeneous")
- '("gint" "spacing")
+ '("const-gchar*" "name")
)
)
+(define-method get_name
+ (of-object "GtkIconSize")
+ (c-name "gtk_icon_size_get_name")
+ (return-type "const-gchar*")
+)
-
-;; From gtkhpaned.h
-
-(define-function gtk_hpaned_get_type
- (c-name "gtk_hpaned_get_type")
+(define-function gtk_icon_set_get_type
+ (c-name "gtk_icon_set_get_type")
(return-type "GType")
)
-(define-function gtk_hpaned_new
- (c-name "gtk_hpaned_new")
- (is-constructor-of "GtkHpaned")
- (return-type "GtkWidget*")
+(define-function gtk_icon_set_new
+ (c-name "gtk_icon_set_new")
+ (is-constructor-of "GtkIconSet")
+ (return-type "GtkIconSet*")
)
+(define-function gtk_icon_set_new_from_pixbuf
+ (c-name "gtk_icon_set_new_from_pixbuf")
+ (return-type "GtkIconSet*")
+ (parameters
+ '("GdkPixbuf*" "pixbuf")
+ )
+)
+(define-method ref
+ (of-object "GtkIconSet")
+ (c-name "gtk_icon_set_ref")
+ (return-type "GtkIconSet*")
+)
-;; From gtkhscale.h
+(define-method unref
+ (of-object "GtkIconSet")
+ (c-name "gtk_icon_set_unref")
+ (return-type "none")
+)
-(define-function gtk_hscale_get_type
- (c-name "gtk_hscale_get_type")
- (return-type "GType")
+(define-method copy
+ (of-object "GtkIconSet")
+ (c-name "gtk_icon_set_copy")
+ (return-type "GtkIconSet*")
)
-(define-function gtk_hscale_new
- (c-name "gtk_hscale_new")
- (is-constructor-of "GtkHscale")
- (return-type "GtkWidget*")
+(define-method render_icon
+ (of-object "GtkIconSet")
+ (c-name "gtk_icon_set_render_icon")
+ (return-type "GdkPixbuf*")
(parameters
- '("GtkAdjustment*" "adjustment")
+ '("GtkStyle*" "style")
+ '("GtkTextDirection" "direction")
+ '("GtkStateType" "state")
+ '("GtkIconSize" "size")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
)
)
-(define-function gtk_hscale_new_with_range
- (c-name "gtk_hscale_new_with_range")
- (return-type "GtkWidget*")
+(define-method add_source
+ (of-object "GtkIconSet")
+ (c-name "gtk_icon_set_add_source")
+ (return-type "none")
(parameters
- '("gdouble" "min")
- '("gdouble" "max")
- '("gdouble" "step")
+ '("const-GtkIconSource*" "source")
)
)
-
-
-;; From gtkhscrollbar.h
-
-(define-function gtk_hscrollbar_get_type
- (c-name "gtk_hscrollbar_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_hscrollbar_new
- (c-name "gtk_hscrollbar_new")
- (is-constructor-of "GtkHscrollbar")
- (return-type "GtkWidget*")
+(define-method get_sizes
+ (of-object "GtkIconSet")
+ (c-name "gtk_icon_set_get_sizes")
+ (return-type "none")
(parameters
- '("GtkAdjustment*" "adjustment")
+ '("GtkIconSize**" "sizes")
+ '("gint*" "n_sizes")
)
)
-
-
-;; From gtkhseparator.h
-
-(define-function gtk_hseparator_get_type
- (c-name "gtk_hseparator_get_type")
+(define-function gtk_icon_source_get_type
+ (c-name "gtk_icon_source_get_type")
(return-type "GType")
)
-(define-function gtk_hseparator_new
- (c-name "gtk_hseparator_new")
- (is-constructor-of "GtkHseparator")
- (return-type "GtkWidget*")
+(define-function gtk_icon_source_new
+ (c-name "gtk_icon_source_new")
+ (is-constructor-of "GtkIconSource")
+ (return-type "GtkIconSource*")
)
+(define-method copy
+ (of-object "GtkIconSource")
+ (c-name "gtk_icon_source_copy")
+ (return-type "GtkIconSource*")
+)
-
-;; From gtkhsv.h
-
-(define-function gtk_hsv_get_type
- (c-name "gtk_hsv_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_hsv_new
- (c-name "gtk_hsv_new")
- (is-constructor-of "GtkHsv")
- (return-type "GtkWidget*")
-)
-
-(define-method set_color
- (of-object "GtkHSV")
- (c-name "gtk_hsv_set_color")
- (return-type "none")
- (parameters
- '("double" "h")
- '("double" "s")
- '("double" "v")
- )
-)
-
-(define-method get_color
- (of-object "GtkHSV")
- (c-name "gtk_hsv_get_color")
- (return-type "none")
- (parameters
- '("gdouble*" "h")
- '("gdouble*" "s")
- '("gdouble*" "v")
- )
-)
-
-(define-method set_metrics
- (of-object "GtkHSV")
- (c-name "gtk_hsv_set_metrics")
- (return-type "none")
- (parameters
- '("gint" "size")
- '("gint" "ring_width")
- )
-)
-
-(define-method get_metrics
- (of-object "GtkHSV")
- (c-name "gtk_hsv_get_metrics")
- (return-type "none")
- (parameters
- '("gint*" "size")
- '("gint*" "ring_width")
- )
-)
-
-(define-method is_adjusting
- (of-object "GtkHSV")
- (c-name "gtk_hsv_is_adjusting")
- (return-type "gboolean")
-)
-
-(define-function gtk_hsv_to_rgb
- (c-name "gtk_hsv_to_rgb")
- (return-type "none")
- (parameters
- '("gdouble" "h")
- '("gdouble" "s")
- '("gdouble" "v")
- '("gdouble*" "r")
- '("gdouble*" "g")
- '("gdouble*" "b")
- )
-)
-
-(define-function gtk_rgb_to_hsv
- (c-name "gtk_rgb_to_hsv")
- (return-type "none")
- (parameters
- '("gdouble" "r")
- '("gdouble" "g")
- '("gdouble" "b")
- '("gdouble*" "h")
- '("gdouble*" "s")
- '("gdouble*" "v")
- )
-)
-
-
-
-;; From gtkiconfactory.h
-
-(define-function gtk_icon_factory_get_type
- (c-name "gtk_icon_factory_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_icon_factory_new
- (c-name "gtk_icon_factory_new")
- (is-constructor-of "GtkIconFactory")
- (return-type "GtkIconFactory*")
-)
-
-(define-method add
- (of-object "GtkIconFactory")
- (c-name "gtk_icon_factory_add")
- (return-type "none")
- (parameters
- '("const-gchar*" "stock_id")
- '("GtkIconSet*" "icon_set")
- )
-)
-
-(define-method lookup
- (of-object "GtkIconFactory")
- (c-name "gtk_icon_factory_lookup")
- (return-type "GtkIconSet*")
- (parameters
- '("const-gchar*" "stock_id")
- )
-)
-
-(define-method add_default
- (of-object "GtkIconFactory")
- (c-name "gtk_icon_factory_add_default")
- (return-type "none")
-)
-
-(define-method remove_default
- (of-object "GtkIconFactory")
- (c-name "gtk_icon_factory_remove_default")
- (return-type "none")
-)
-
-(define-function gtk_icon_factory_lookup_default
- (c-name "gtk_icon_factory_lookup_default")
- (return-type "GtkIconSet*")
- (parameters
- '("const-gchar*" "stock_id")
- )
-)
-
-(define-method lookup
- (of-object "GtkIconSize")
- (c-name "gtk_icon_size_lookup")
- (return-type "gboolean")
- (parameters
- '("gint*" "width")
- '("gint*" "height")
- )
-)
-
-(define-function gtk_icon_size_lookup_for_settings
- (c-name "gtk_icon_size_lookup_for_settings")
- (return-type "gboolean")
- (parameters
- '("GtkSettings*" "settings")
- '("GtkIconSize" "size")
- '("gint*" "width")
- '("gint*" "height")
- )
-)
-
-(define-function gtk_icon_size_register
- (c-name "gtk_icon_size_register")
- (return-type "GtkIconSize")
- (parameters
- '("const-gchar*" "name")
- '("gint" "width")
- '("gint" "height")
- )
-)
-
-(define-function gtk_icon_size_register_alias
- (c-name "gtk_icon_size_register_alias")
- (return-type "none")
- (parameters
- '("const-gchar*" "alias")
- '("GtkIconSize" "target")
- )
-)
-
-(define-function gtk_icon_size_from_name
- (c-name "gtk_icon_size_from_name")
- (return-type "GtkIconSize")
- (parameters
- '("const-gchar*" "name")
- )
-)
-
-(define-method get_name
- (of-object "GtkIconSize")
- (c-name "gtk_icon_size_get_name")
- (return-type "const-gchar*")
-)
-
-(define-function gtk_icon_set_get_type
- (c-name "gtk_icon_set_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_icon_set_new
- (c-name "gtk_icon_set_new")
- (is-constructor-of "GtkIconSet")
- (return-type "GtkIconSet*")
-)
-
-(define-function gtk_icon_set_new_from_pixbuf
- (c-name "gtk_icon_set_new_from_pixbuf")
- (return-type "GtkIconSet*")
- (parameters
- '("GdkPixbuf*" "pixbuf")
- )
-)
-
-(define-method ref
- (of-object "GtkIconSet")
- (c-name "gtk_icon_set_ref")
- (return-type "GtkIconSet*")
-)
-
-(define-method unref
- (of-object "GtkIconSet")
- (c-name "gtk_icon_set_unref")
- (return-type "none")
-)
-
-(define-method copy
- (of-object "GtkIconSet")
- (c-name "gtk_icon_set_copy")
- (return-type "GtkIconSet*")
-)
-
-(define-method render_icon
- (of-object "GtkIconSet")
- (c-name "gtk_icon_set_render_icon")
- (return-type "GdkPixbuf*")
- (parameters
- '("GtkStyle*" "style")
- '("GtkTextDirection" "direction")
- '("GtkStateType" "state")
- '("GtkIconSize" "size")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- )
-)
-
-(define-method add_source
- (of-object "GtkIconSet")
- (c-name "gtk_icon_set_add_source")
- (return-type "none")
- (parameters
- '("const-GtkIconSource*" "source")
- )
-)
-
-(define-method get_sizes
- (of-object "GtkIconSet")
- (c-name "gtk_icon_set_get_sizes")
- (return-type "none")
- (parameters
- '("GtkIconSize**" "sizes")
- '("gint*" "n_sizes")
- )
-)
-
-(define-function gtk_icon_source_get_type
- (c-name "gtk_icon_source_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_icon_source_new
- (c-name "gtk_icon_source_new")
- (is-constructor-of "GtkIconSource")
- (return-type "GtkIconSource*")
-)
-
-(define-method copy
- (of-object "GtkIconSource")
- (c-name "gtk_icon_source_copy")
- (return-type "GtkIconSource*")
-)
-
-(define-method free
- (of-object "GtkIconSource")
- (c-name "gtk_icon_source_free")
- (return-type "none")
+(define-method free
+ (of-object "GtkIconSource")
+ (c-name "gtk_icon_source_free")
+ (return-type "none")
)
(define-method set_filename
@@ -12308,6 +12769,10 @@
+;; From gtkiconhelperprivate.h
+
+
+
;; From gtkicontheme.h
(define-function gtk_icon_theme_error_quark
@@ -13147,6 +13612,10 @@
+;; From gtkiconviewprivate.h
+
+
+
;; From gtkimage.h
(define-function gtk_image_get_type
@@ -13168,6 +13637,14 @@
)
)
+(define-function gtk_image_new_from_resource
+ (c-name "gtk_image_new_from_resource")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "resource_path")
+ )
+)
+
(define-function gtk_image_new_from_pixbuf
(c-name "gtk_image_new_from_pixbuf")
(return-type "GtkWidget*")
@@ -13235,6 +13712,15 @@
)
)
+(define-method set_from_resource
+ (of-object "GtkImage")
+ (c-name "gtk_image_set_from_resource")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "resource_path")
+ )
+)
+
(define-method set_from_pixbuf
(of-object "GtkImage")
(c-name "gtk_image_set_from_pixbuf")
@@ -13462,6 +13948,10 @@
+;; From gtkimageprivate.h
+
+
+
;; From gtkimcontext.h
(define-function gtk_im_context_get_type
@@ -13567,6 +14057,10 @@
+;; From gtkimcontextinfo.h
+
+
+
;; From gtkimcontextsimple.h
(define-function gtk_im_context_simple_get_type
@@ -13593,10 +14087,18 @@
+;; From gtkimcontextsimpleseqs.h
+
+
+
;; From gtkimmodule.h
+;; From gtkimmoduleprivate.h
+
+
+
;; From gtkimmulticontext.h
(define-function gtk_im_multicontext_get_type
@@ -13745,6 +14247,10 @@
+;; From gtkintl.h
+
+
+
;; From gtkinvisible.h
(define-function gtk_invisible_get_type
@@ -13783,6 +14289,10 @@
+;; From gtkkeyhash.h
+
+
+
;; From gtklabel.h
(define-function gtk_label_get_type
@@ -14805,6 +15315,10 @@
+;; From gtkmarshalers.h
+
+
+
;; From gtkmenubar.h
(define-function gtk_menu_bar_get_type
@@ -14818,6 +15332,14 @@
(return-type "GtkWidget*")
)
+(define-function gtk_menu_bar_new_from_model
+ (c-name "gtk_menu_bar_new_from_model")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GMenuModel*" "model")
+ )
+)
+
(define-method get_pack_direction
(of-object "GtkMenuBar")
(c-name "gtk_menu_bar_get_pack_direction")
@@ -14863,6 +15385,14 @@
(return-type "GtkWidget*")
)
+(define-function gtk_menu_new_from_model
+ (c-name "gtk_menu_new_from_model")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GMenuModel*" "model")
+ )
+)
+
(define-method popup
(of-object "GtkMenu")
(c-name "gtk_menu_popup")
@@ -15231,6 +15761,14 @@
+;; From gtkmenuitemprivate.h
+
+
+
+;; From gtkmenuprivate.h
+
+
+
;; From gtkmenushell.h
(define-function gtk_menu_shell_get_type
@@ -15341,6 +15879,10 @@
+;; From gtkmenushellprivate.h
+
+
+
;; From gtkmenutoolbutton.h
(define-function gtk_menu_tool_button_get_type
@@ -15536,10 +16078,30 @@
+;; From gtkmnemonichash.h
+
+
+
+;; From gtkmodelmenu.h
+
+
+
+;; From gtkmodelmenuitem.h
+
+
+
+;; From gtkmodifierstyle.h
+
+
+
;; From gtkmodules.h
+;; From gtkmodulesprivate.h
+
+
+
;; From gtkmountoperation.h
(define-function gtk_mount_operation_get_type
@@ -15594,6 +16156,10 @@
+;; From gtkmountoperationprivate.h
+
+
+
;; From gtknotebook.h
(define-function gtk_notebook_get_type
@@ -16078,6 +16644,10 @@
+;; From gtknumerableiconprivate.h
+
+
+
;; From gtkoffscreenwindow.h
(define-function gtk_offscreen_window_get_type
@@ -16129,6 +16699,10 @@
+;; From gtkorientableprivate.h
+
+
+
;; From gtkoverlay.h
(define-function gtk_overlay_get_type
@@ -16385,6 +16959,55 @@
+;; From gtkpagesetupunixdialog.h
+
+(define-function gtk_page_setup_unix_dialog_get_type
+ (c-name "gtk_page_setup_unix_dialog_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_page_setup_unix_dialog_new
+ (c-name "gtk_page_setup_unix_dialog_new")
+ (is-constructor-of "GtkPageSetupUnixDialog")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "title")
+ '("GtkWindow*" "parent")
+ )
+)
+
+(define-method set_page_setup
+ (of-object "GtkPageSetupUnixDialog")
+ (c-name "gtk_page_setup_unix_dialog_set_page_setup")
+ (return-type "none")
+ (parameters
+ '("GtkPageSetup*" "page_setup")
+ )
+)
+
+(define-method get_page_setup
+ (of-object "GtkPageSetupUnixDialog")
+ (c-name "gtk_page_setup_unix_dialog_get_page_setup")
+ (return-type "GtkPageSetup*")
+)
+
+(define-method set_print_settings
+ (of-object "GtkPageSetupUnixDialog")
+ (c-name "gtk_page_setup_unix_dialog_set_print_settings")
+ (return-type "none")
+ (parameters
+ '("GtkPrintSettings*" "print_settings")
+ )
+)
+
+(define-method get_print_settings
+ (of-object "GtkPageSetupUnixDialog")
+ (c-name "gtk_page_setup_unix_dialog_get_print_settings")
+ (return-type "GtkPrintSettings*")
+)
+
+
+
;; From gtkpaned.h
(define-function gtk_paned_get_type
@@ -16476,6 +17099,10 @@
+;; From gtkpango.h
+
+
+
;; From gtkpapersize.h
(define-function gtk_paper_size_get_type
@@ -16660,6 +17287,15 @@
+;; From gtkpathbar.h
+
+(define-function gtk_path_bar_get_type
+ (c-name "gtk_path_bar_get_type")
+ (return-type "GType")
+)
+
+
+
;; From gtkplug.h
(define-function gtk_plug_get_type
@@ -16724,6 +17360,222 @@
+;; From gtkprintbackend.h
+
+(define-function gtk_print_backend_error_quark
+ (c-name "gtk_print_backend_error_quark")
+ (return-type "GQuark")
+)
+
+(define-function gtk_print_backend_get_type
+ (c-name "gtk_print_backend_get_type")
+ (return-type "GType")
+)
+
+(define-method get_printer_list
+ (of-object "GtkPrintBackend")
+ (c-name "gtk_print_backend_get_printer_list")
+ (return-type "GList*")
+)
+
+(define-method printer_list_is_done
+ (of-object "GtkPrintBackend")
+ (c-name "gtk_print_backend_printer_list_is_done")
+ (return-type "gboolean")
+)
+
+(define-method find_printer
+ (of-object "GtkPrintBackend")
+ (c-name "gtk_print_backend_find_printer")
+ (return-type "GtkPrinter*")
+ (parameters
+ '("const-gchar*" "printer_name")
+ )
+)
+
+(define-method print_stream
+ (of-object "GtkPrintBackend")
+ (c-name "gtk_print_backend_print_stream")
+ (return-type "none")
+ (parameters
+ '("GtkPrintJob*" "job")
+ '("GIOChannel*" "data_io")
+ '("GtkPrintJobCompleteFunc" "callback")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "dnotify")
+ )
+)
+
+(define-function gtk_print_backend_load_modules
+ (c-name "gtk_print_backend_load_modules")
+ (return-type "GList*")
+)
+
+(define-method destroy
+ (of-object "GtkPrintBackend")
+ (c-name "gtk_print_backend_destroy")
+ (return-type "none")
+)
+
+(define-method set_password
+ (of-object "GtkPrintBackend")
+ (c-name "gtk_print_backend_set_password")
+ (return-type "none")
+ (parameters
+ '("gchar**" "auth_info_required")
+ '("gchar**" "auth_info")
+ )
+)
+
+(define-method add_printer
+ (of-object "GtkPrintBackend")
+ (c-name "gtk_print_backend_add_printer")
+ (return-type "none")
+ (parameters
+ '("GtkPrinter*" "printer")
+ )
+)
+
+(define-method remove_printer
+ (of-object "GtkPrintBackend")
+ (c-name "gtk_print_backend_remove_printer")
+ (return-type "none")
+ (parameters
+ '("GtkPrinter*" "printer")
+ )
+)
+
+(define-method set_list_done
+ (of-object "GtkPrintBackend")
+ (c-name "gtk_print_backend_set_list_done")
+ (return-type "none")
+)
+
+(define-method is_new
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_is_new")
+ (return-type "gboolean")
+)
+
+(define-method set_accepts_pdf
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_accepts_pdf")
+ (return-type "none")
+ (parameters
+ '("gboolean" "val")
+ )
+)
+
+(define-method set_accepts_ps
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_accepts_ps")
+ (return-type "none")
+ (parameters
+ '("gboolean" "val")
+ )
+)
+
+(define-method set_is_new
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_is_new")
+ (return-type "none")
+ (parameters
+ '("gboolean" "val")
+ )
+)
+
+(define-method set_is_active
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_is_active")
+ (return-type "none")
+ (parameters
+ '("gboolean" "val")
+ )
+)
+
+(define-method set_is_paused
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_is_paused")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "val")
+ )
+)
+
+(define-method set_is_accepting_jobs
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_is_accepting_jobs")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "val")
+ )
+)
+
+(define-method set_has_details
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_has_details")
+ (return-type "none")
+ (parameters
+ '("gboolean" "val")
+ )
+)
+
+(define-method set_is_default
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_is_default")
+ (return-type "none")
+ (parameters
+ '("gboolean" "val")
+ )
+)
+
+(define-method set_icon_name
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_icon_name")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "icon")
+ )
+)
+
+(define-method set_job_count
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_job_count")
+ (return-type "gboolean")
+ (parameters
+ '("gint" "count")
+ )
+)
+
+(define-method set_location
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_location")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "location")
+ )
+)
+
+(define-method set_description
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_description")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "description")
+ )
+)
+
+(define-method set_state_message
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_set_state_message")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "message")
+ )
+)
+
+
+
;; From gtkprintcontext.h
(define-function gtk_print_context_get_type
@@ -16810,1722 +17662,2411 @@
-;; From gtkprintoperation.h
-
-(define-function gtk_print_error_quark
- (c-name "gtk_print_error_quark")
- (return-type "GQuark")
-)
+;; From gtkprinter.h
-(define-function gtk_print_operation_get_type
- (c-name "gtk_print_operation_get_type")
+(define-function gtk_print_capabilities_get_type
+ (c-name "gtk_print_capabilities_get_type")
(return-type "GType")
)
-(define-function gtk_print_operation_new
- (c-name "gtk_print_operation_new")
- (is-constructor-of "GtkPrintOperation")
- (return-type "GtkPrintOperation*")
+(define-function gtk_printer_get_type
+ (c-name "gtk_printer_get_type")
+ (return-type "GType")
)
-(define-method set_default_page_setup
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_default_page_setup")
- (return-type "none")
+(define-function gtk_printer_new
+ (c-name "gtk_printer_new")
+ (is-constructor-of "GtkPrinter")
+ (return-type "GtkPrinter*")
(parameters
- '("GtkPageSetup*" "default_page_setup")
+ '("const-gchar*" "name")
+ '("GtkPrintBackend*" "backend")
+ '("gboolean" "virtual_")
)
)
-(define-method get_default_page_setup
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_get_default_page_setup")
+(define-method get_backend
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_get_backend")
+ (return-type "GtkPrintBackend*")
+)
+
+(define-method get_name
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_get_name")
+ (return-type "const-gchar*")
+)
+
+(define-method get_state_message
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_get_state_message")
+ (return-type "const-gchar*")
+)
+
+(define-method get_description
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_get_description")
+ (return-type "const-gchar*")
+)
+
+(define-method get_location
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_get_location")
+ (return-type "const-gchar*")
+)
+
+(define-method get_icon_name
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_get_icon_name")
+ (return-type "const-gchar*")
+)
+
+(define-method get_job_count
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_get_job_count")
+ (return-type "gint")
+)
+
+(define-method is_active
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_is_active")
+ (return-type "gboolean")
+)
+
+(define-method is_paused
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_is_paused")
+ (return-type "gboolean")
+)
+
+(define-method is_accepting_jobs
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_is_accepting_jobs")
+ (return-type "gboolean")
+)
+
+(define-method is_virtual
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_is_virtual")
+ (return-type "gboolean")
+)
+
+(define-method is_default
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_is_default")
+ (return-type "gboolean")
+)
+
+(define-method accepts_pdf
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_accepts_pdf")
+ (return-type "gboolean")
+)
+
+(define-method accepts_ps
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_accepts_ps")
+ (return-type "gboolean")
+)
+
+(define-method list_papers
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_list_papers")
+ (return-type "GList*")
+)
+
+(define-method get_default_page_size
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_get_default_page_size")
(return-type "GtkPageSetup*")
)
-(define-method set_print_settings
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_print_settings")
- (return-type "none")
+(define-method compare
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_compare")
+ (return-type "gint")
(parameters
- '("GtkPrintSettings*" "print_settings")
+ '("GtkPrinter*" "b")
)
)
-(define-method get_print_settings
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_get_print_settings")
- (return-type "GtkPrintSettings*")
+(define-method has_details
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_has_details")
+ (return-type "gboolean")
)
-(define-method set_job_name
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_job_name")
+(define-method request_details
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_request_details")
(return-type "none")
- (parameters
- '("const-gchar*" "job_name")
- )
)
-(define-method set_n_pages
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_n_pages")
- (return-type "none")
+(define-method get_capabilities
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_get_capabilities")
+ (return-type "GtkPrintCapabilities")
+)
+
+(define-method get_hard_margins
+ (of-object "GtkPrinter")
+ (c-name "gtk_printer_get_hard_margins")
+ (return-type "gboolean")
(parameters
- '("gint" "n_pages")
+ '("gdouble*" "top")
+ '("gdouble*" "bottom")
+ '("gdouble*" "left")
+ '("gdouble*" "right")
)
)
-(define-method set_current_page
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_current_page")
+(define-function gtk_enumerate_printers
+ (c-name "gtk_enumerate_printers")
(return-type "none")
(parameters
- '("gint" "current_page")
+ '("GtkPrinterFunc" "func")
+ '("gpointer" "data")
+ '("GDestroyNotify" "destroy")
+ '("gboolean" "wait")
)
)
-(define-method set_use_full_page
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_use_full_page")
- (return-type "none")
+
+
+;; From gtkprinteroption.h
+
+(define-function gtk_printer_option_get_type
+ (c-name "gtk_printer_option_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_printer_option_new
+ (c-name "gtk_printer_option_new")
+ (is-constructor-of "GtkPrinterOption")
+ (return-type "GtkPrinterOption*")
(parameters
- '("gboolean" "full_page")
+ '("const-char*" "name")
+ '("const-char*" "display_text")
+ '("GtkPrinterOptionType" "type")
)
)
-(define-method set_unit
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_unit")
+(define-method set
+ (of-object "GtkPrinterOption")
+ (c-name "gtk_printer_option_set")
(return-type "none")
(parameters
- '("GtkUnit" "unit")
+ '("const-char*" "value")
)
)
-(define-method set_export_filename
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_export_filename")
+(define-method set_has_conflict
+ (of-object "GtkPrinterOption")
+ (c-name "gtk_printer_option_set_has_conflict")
(return-type "none")
(parameters
- '("const-gchar*" "filename")
+ '("gboolean" "has_conflict")
)
)
-(define-method set_track_print_status
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_track_print_status")
+(define-method clear_has_conflict
+ (of-object "GtkPrinterOption")
+ (c-name "gtk_printer_option_clear_has_conflict")
(return-type "none")
- (parameters
- '("gboolean" "track_status")
- )
)
-(define-method set_show_progress
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_show_progress")
+(define-method set_boolean
+ (of-object "GtkPrinterOption")
+ (c-name "gtk_printer_option_set_boolean")
(return-type "none")
(parameters
- '("gboolean" "show_progress")
+ '("gboolean" "value")
)
)
-(define-method set_allow_async
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_allow_async")
+(define-method allocate_choices
+ (of-object "GtkPrinterOption")
+ (c-name "gtk_printer_option_allocate_choices")
(return-type "none")
(parameters
- '("gboolean" "allow_async")
+ '("int" "num")
)
)
-(define-method set_custom_tab_label
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_custom_tab_label")
+(define-method choices_from_array
+ (of-object "GtkPrinterOption")
+ (c-name "gtk_printer_option_choices_from_array")
(return-type "none")
(parameters
- '("const-gchar*" "label")
+ '("int" "num_choices")
+ '("char*[]" "choices")
+ '("char*[]" "choices_display")
)
)
-(define-method run
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_run")
- (return-type "GtkPrintOperationResult")
+(define-method has_choice
+ (of-object "GtkPrinterOption")
+ (c-name "gtk_printer_option_has_choice")
+ (return-type "gboolean")
(parameters
- '("GtkPrintOperationAction" "action")
- '("GtkWindow*" "parent")
- '("GError**" "error")
+ '("const-char*" "choice")
)
)
-(define-method get_error
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_get_error")
+(define-method set_activates_default
+ (of-object "GtkPrinterOption")
+ (c-name "gtk_printer_option_set_activates_default")
(return-type "none")
(parameters
- '("GError**" "error")
+ '("gboolean" "activates")
)
)
-(define-method get_status
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_get_status")
- (return-type "GtkPrintStatus")
+(define-method get_activates_default
+ (of-object "GtkPrinterOption")
+ (c-name "gtk_printer_option_get_activates_default")
+ (return-type "gboolean")
)
-(define-method get_status_string
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_get_status_string")
- (return-type "const-gchar*")
-)
-(define-method is_finished
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_is_finished")
- (return-type "gboolean")
-)
-(define-method cancel
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_cancel")
- (return-type "none")
-)
+;; From gtkprinteroptionset.h
-(define-method draw_page_finish
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_draw_page_finish")
- (return-type "none")
+(define-function gtk_printer_option_set_get_type
+ (c-name "gtk_printer_option_set_get_type")
+ (return-type "GType")
)
-(define-method set_defer_drawing
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_defer_drawing")
- (return-type "none")
+(define-function gtk_printer_option_set_new
+ (c-name "gtk_printer_option_set_new")
+ (is-constructor-of "GtkPrinterOptionSet")
+ (return-type "GtkPrinterOptionSet*")
)
-(define-method set_support_selection
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_support_selection")
+(define-method add
+ (of-object "GtkPrinterOptionSet")
+ (c-name "gtk_printer_option_set_add")
(return-type "none")
(parameters
- '("gboolean" "support_selection")
+ '("GtkPrinterOption*" "option")
)
)
-(define-method get_support_selection
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_get_support_selection")
- (return-type "gboolean")
-)
-
-(define-method set_has_selection
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_has_selection")
+(define-method remove
+ (of-object "GtkPrinterOptionSet")
+ (c-name "gtk_printer_option_set_remove")
(return-type "none")
(parameters
- '("gboolean" "has_selection")
+ '("GtkPrinterOption*" "option")
)
)
-(define-method get_has_selection
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_get_has_selection")
- (return-type "gboolean")
+(define-method lookup
+ (of-object "GtkPrinterOptionSet")
+ (c-name "gtk_printer_option_set_lookup")
+ (return-type "GtkPrinterOption*")
+ (parameters
+ '("const-char*" "name")
+ )
)
-(define-method set_embed_page_setup
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_set_embed_page_setup")
+(define-method foreach
+ (of-object "GtkPrinterOptionSet")
+ (c-name "gtk_printer_option_set_foreach")
(return-type "none")
(parameters
- '("gboolean" "embed")
+ '("GtkPrinterOptionSetFunc" "func")
+ '("gpointer" "user_data")
)
)
-(define-method get_embed_page_setup
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_get_embed_page_setup")
- (return-type "gboolean")
-)
-
-(define-method get_n_pages_to_print
- (of-object "GtkPrintOperation")
- (c-name "gtk_print_operation_get_n_pages_to_print")
- (return-type "gint")
+(define-method clear_conflicts
+ (of-object "GtkPrinterOptionSet")
+ (c-name "gtk_printer_option_set_clear_conflicts")
+ (return-type "none")
)
-(define-function gtk_print_run_page_setup_dialog
- (c-name "gtk_print_run_page_setup_dialog")
- (return-type "GtkPageSetup*")
- (parameters
- '("GtkWindow*" "parent")
- '("GtkPageSetup*" "page_setup")
- '("GtkPrintSettings*" "settings")
- )
+(define-method get_groups
+ (of-object "GtkPrinterOptionSet")
+ (c-name "gtk_printer_option_set_get_groups")
+ (return-type "GList*")
)
-(define-function gtk_print_run_page_setup_dialog_async
- (c-name "gtk_print_run_page_setup_dialog_async")
+(define-method foreach_in_group
+ (of-object "GtkPrinterOptionSet")
+ (c-name "gtk_printer_option_set_foreach_in_group")
(return-type "none")
(parameters
- '("GtkWindow*" "parent")
- '("GtkPageSetup*" "page_setup")
- '("GtkPrintSettings*" "settings")
- '("GtkPageSetupDoneFunc" "done_cb")
- '("gpointer" "data")
+ '("const-char*" "group")
+ '("GtkPrinterOptionSetFunc" "func")
+ '("gpointer" "user_data")
)
)
-;; From gtkprintoperationpreview.h
+;; From gtkprinteroptionwidget.h
-(define-function gtk_print_operation_preview_get_type
- (c-name "gtk_print_operation_preview_get_type")
+(define-function gtk_printer_option_widget_get_type
+ (c-name "gtk_printer_option_widget_get_type")
(return-type "GType")
)
-(define-method render_page
- (of-object "GtkPrintOperationPreview")
- (c-name "gtk_print_operation_preview_render_page")
+(define-method widget_new
+ (of-object "GtkPrinterOption")
+ (c-name "gtk_printer_option_widget_new")
+ (return-type "GtkWidget*")
+)
+
+(define-method set_source
+ (of-object "GtkPrinterOptionWidget")
+ (c-name "gtk_printer_option_widget_set_source")
(return-type "none")
(parameters
- '("gint" "page_nr")
+ '("GtkPrinterOption*" "source")
)
)
-(define-method end_preview
- (of-object "GtkPrintOperationPreview")
- (c-name "gtk_print_operation_preview_end_preview")
- (return-type "none")
+(define-method has_external_label
+ (of-object "GtkPrinterOptionWidget")
+ (c-name "gtk_printer_option_widget_has_external_label")
+ (return-type "gboolean")
)
-(define-method is_selected
- (of-object "GtkPrintOperationPreview")
- (c-name "gtk_print_operation_preview_is_selected")
- (return-type "gboolean")
+(define-method get_external_label
+ (of-object "GtkPrinterOptionWidget")
+ (c-name "gtk_printer_option_widget_get_external_label")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_value
+ (of-object "GtkPrinterOptionWidget")
+ (c-name "gtk_printer_option_widget_get_value")
+ (return-type "const-gchar*")
+)
+
+
+
+;; From gtkprinter-private.h
+
+(define-method set_status
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_status")
+ (return-type "none")
(parameters
- '("gint" "page_nr")
+ '("GtkPrintStatus" "status")
)
)
-;; From gtkprintsettings.h
+;; From gtkprintjob.h
-(define-function gtk_print_settings_get_type
- (c-name "gtk_print_settings_get_type")
+(define-function gtk_print_job_get_type
+ (c-name "gtk_print_job_get_type")
(return-type "GType")
)
-(define-function gtk_print_settings_new
- (c-name "gtk_print_settings_new")
- (is-constructor-of "GtkPrintSettings")
- (return-type "GtkPrintSettings*")
+(define-function gtk_print_job_new
+ (c-name "gtk_print_job_new")
+ (is-constructor-of "GtkPrintJob")
+ (return-type "GtkPrintJob*")
+ (parameters
+ '("const-gchar*" "title")
+ '("GtkPrinter*" "printer")
+ '("GtkPrintSettings*" "settings")
+ '("GtkPageSetup*" "page_setup")
+ )
)
-(define-method copy
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_copy")
+(define-method get_settings
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_settings")
(return-type "GtkPrintSettings*")
)
-(define-function gtk_print_settings_new_from_file
- (c-name "gtk_print_settings_new_from_file")
- (return-type "GtkPrintSettings*")
- (parameters
- '("const-gchar*" "file_name")
- '("GError**" "error")
- )
+(define-method get_printer
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_printer")
+ (return-type "GtkPrinter*")
)
-(define-method load_file
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_load_file")
+(define-method get_title
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_title")
+ (return-type "const-gchar*")
+)
+
+(define-method get_status
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_status")
+ (return-type "GtkPrintStatus")
+)
+
+(define-method set_source_file
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_source_file")
(return-type "gboolean")
(parameters
- '("const-gchar*" "file_name")
+ '("const-gchar*" "filename")
'("GError**" "error")
)
)
-(define-method to_file
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_to_file")
- (return-type "gboolean")
+(define-method get_surface
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_surface")
+ (return-type "cairo_surface_t*")
(parameters
- '("const-gchar*" "file_name")
'("GError**" "error")
)
)
-(define-function gtk_print_settings_new_from_key_file
- (c-name "gtk_print_settings_new_from_key_file")
- (return-type "GtkPrintSettings*")
+(define-method set_track_print_status
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_track_print_status")
+ (return-type "none")
(parameters
- '("GKeyFile*" "key_file")
- '("const-gchar*" "group_name")
- '("GError**" "error")
+ '("gboolean" "track_status")
)
)
-(define-method load_key_file
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_load_key_file")
+(define-method get_track_print_status
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_track_print_status")
(return-type "gboolean")
- (parameters
- '("GKeyFile*" "key_file")
- '("const-gchar*" "group_name")
- '("GError**" "error")
- )
)
-(define-method to_key_file
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_to_key_file")
+(define-method send
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_send")
(return-type "none")
(parameters
- '("GKeyFile*" "key_file")
- '("const-gchar*" "group_name")
+ '("GtkPrintJobCompleteFunc" "callback")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "dnotify")
)
)
-(define-method has_key
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_has_key")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- )
+(define-method get_pages
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_pages")
+ (return-type "GtkPrintPages")
)
-(define-method get
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get")
- (return-type "const-gchar*")
+(define-method set_pages
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_pages")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
+ '("GtkPrintPages" "pages")
)
)
-(define-method set
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set")
- (return-type "none")
+(define-method get_page_ranges
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_page_ranges")
+ (return-type "GtkPageRange*")
(parameters
- '("const-gchar*" "key")
- '("const-gchar*" "value")
+ '("gint*" "n_ranges")
)
)
-(define-method unset
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_unset")
+(define-method set_page_ranges
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_page_ranges")
(return-type "none")
(parameters
- '("const-gchar*" "key")
+ '("GtkPageRange*" "ranges")
+ '("gint" "n_ranges")
)
)
-(define-method foreach
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_foreach")
+(define-method get_page_set
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_page_set")
+ (return-type "GtkPageSet")
+)
+
+(define-method set_page_set
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_page_set")
(return-type "none")
(parameters
- '("GtkPrintSettingsFunc" "func")
- '("gpointer" "user_data")
+ '("GtkPageSet" "page_set")
)
)
-(define-method get_bool
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_bool")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "key")
- )
+(define-method get_num_copies
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_num_copies")
+ (return-type "gint")
)
-(define-method set_bool
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_bool")
+(define-method set_num_copies
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_num_copies")
(return-type "none")
(parameters
- '("const-gchar*" "key")
- '("gboolean" "value")
+ '("gint" "num_copies")
)
)
-(define-method get_double
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_double")
+(define-method get_scale
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_scale")
(return-type "gdouble")
- (parameters
- '("const-gchar*" "key")
- )
)
-(define-method get_double_with_default
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_double_with_default")
- (return-type "gdouble")
+(define-method set_scale
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_scale")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
- '("gdouble" "def")
+ '("gdouble" "scale")
)
)
-(define-method set_double
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_double")
+(define-method get_n_up
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_n_up")
+ (return-type "guint")
+)
+
+(define-method set_n_up
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_n_up")
(return-type "none")
(parameters
- '("const-gchar*" "key")
- '("gdouble" "value")
+ '("guint" "n_up")
)
)
-(define-method get_length
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_length")
- (return-type "gdouble")
- (parameters
- '("const-gchar*" "key")
- '("GtkUnit" "unit")
- )
+(define-method get_n_up_layout
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_n_up_layout")
+ (return-type "GtkNumberUpLayout")
)
-(define-method set_length
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_length")
+(define-method set_n_up_layout
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_n_up_layout")
(return-type "none")
(parameters
- '("const-gchar*" "key")
- '("gdouble" "value")
- '("GtkUnit" "unit")
+ '("GtkNumberUpLayout" "layout")
)
)
-(define-method get_int
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_int")
- (return-type "gint")
+(define-method get_rotate
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_rotate")
+ (return-type "gboolean")
+)
+
+(define-method set_rotate
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_rotate")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
+ '("gboolean" "rotate")
)
)
-(define-method get_int_with_default
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_int_with_default")
- (return-type "gint")
+(define-method get_collate
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_collate")
+ (return-type "gboolean")
+)
+
+(define-method set_collate
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_collate")
+ (return-type "none")
(parameters
- '("const-gchar*" "key")
- '("gint" "def")
+ '("gboolean" "collate")
)
)
-(define-method set_int
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_int")
+(define-method get_reverse
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_get_reverse")
+ (return-type "gboolean")
+)
+
+(define-method set_reverse
+ (of-object "GtkPrintJob")
+ (c-name "gtk_print_job_set_reverse")
(return-type "none")
(parameters
- '("const-gchar*" "key")
- '("gint" "value")
+ '("gboolean" "reverse")
)
)
-(define-method get_printer
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_printer")
- (return-type "const-gchar*")
+
+
+;; From gtkprintoperation.h
+
+(define-function gtk_print_error_quark
+ (c-name "gtk_print_error_quark")
+ (return-type "GQuark")
)
-(define-method set_printer
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_printer")
+(define-function gtk_print_operation_get_type
+ (c-name "gtk_print_operation_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_print_operation_new
+ (c-name "gtk_print_operation_new")
+ (is-constructor-of "GtkPrintOperation")
+ (return-type "GtkPrintOperation*")
+)
+
+(define-method set_default_page_setup
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_default_page_setup")
(return-type "none")
(parameters
- '("const-gchar*" "printer")
+ '("GtkPageSetup*" "default_page_setup")
)
)
-(define-method get_orientation
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_orientation")
- (return-type "GtkPageOrientation")
+(define-method get_default_page_setup
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_get_default_page_setup")
+ (return-type "GtkPageSetup*")
)
-(define-method set_orientation
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_orientation")
+(define-method set_print_settings
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_print_settings")
(return-type "none")
(parameters
- '("GtkPageOrientation" "orientation")
+ '("GtkPrintSettings*" "print_settings")
)
)
-(define-method get_paper_size
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_paper_size")
- (return-type "GtkPaperSize*")
+(define-method get_print_settings
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_get_print_settings")
+ (return-type "GtkPrintSettings*")
)
-(define-method set_paper_size
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_paper_size")
+(define-method set_job_name
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_job_name")
(return-type "none")
(parameters
- '("GtkPaperSize*" "paper_size")
+ '("const-gchar*" "job_name")
)
)
-(define-method get_paper_width
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_paper_width")
- (return-type "gdouble")
+(define-method set_n_pages
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_n_pages")
+ (return-type "none")
(parameters
- '("GtkUnit" "unit")
+ '("gint" "n_pages")
)
)
-(define-method set_paper_width
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_paper_width")
+(define-method set_current_page
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_current_page")
(return-type "none")
(parameters
- '("gdouble" "width")
- '("GtkUnit" "unit")
+ '("gint" "current_page")
)
)
-(define-method get_paper_height
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_paper_height")
- (return-type "gdouble")
+(define-method set_use_full_page
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_use_full_page")
+ (return-type "none")
(parameters
- '("GtkUnit" "unit")
+ '("gboolean" "full_page")
)
)
-(define-method set_paper_height
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_paper_height")
+(define-method set_unit
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_unit")
(return-type "none")
(parameters
- '("gdouble" "height")
'("GtkUnit" "unit")
)
)
-(define-method get_use_color
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_use_color")
- (return-type "gboolean")
-)
-
-(define-method set_use_color
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_use_color")
+(define-method set_export_filename
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_export_filename")
(return-type "none")
(parameters
- '("gboolean" "use_color")
+ '("const-gchar*" "filename")
)
)
-(define-method get_collate
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_collate")
- (return-type "gboolean")
+(define-method set_track_print_status
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_track_print_status")
+ (return-type "none")
+ (parameters
+ '("gboolean" "track_status")
+ )
)
-(define-method set_collate
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_collate")
+(define-method set_show_progress
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_show_progress")
(return-type "none")
(parameters
- '("gboolean" "collate")
+ '("gboolean" "show_progress")
)
)
-(define-method get_reverse
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_reverse")
- (return-type "gboolean")
+(define-method set_allow_async
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_allow_async")
+ (return-type "none")
+ (parameters
+ '("gboolean" "allow_async")
+ )
)
-(define-method set_reverse
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_reverse")
+(define-method set_custom_tab_label
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_custom_tab_label")
(return-type "none")
(parameters
- '("gboolean" "reverse")
+ '("const-gchar*" "label")
)
)
-(define-method get_duplex
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_duplex")
- (return-type "GtkPrintDuplex")
+(define-method run
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_run")
+ (return-type "GtkPrintOperationResult")
+ (parameters
+ '("GtkPrintOperationAction" "action")
+ '("GtkWindow*" "parent")
+ '("GError**" "error")
+ )
)
-(define-method set_duplex
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_duplex")
+(define-method get_error
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_get_error")
(return-type "none")
(parameters
- '("GtkPrintDuplex" "duplex")
+ '("GError**" "error")
)
)
-(define-method get_quality
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_quality")
- (return-type "GtkPrintQuality")
+(define-method get_status
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_get_status")
+ (return-type "GtkPrintStatus")
)
-(define-method set_quality
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_quality")
- (return-type "none")
- (parameters
- '("GtkPrintQuality" "quality")
- )
+(define-method get_status_string
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_get_status_string")
+ (return-type "const-gchar*")
)
-(define-method get_n_copies
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_n_copies")
- (return-type "gint")
+(define-method is_finished
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_is_finished")
+ (return-type "gboolean")
)
-(define-method set_n_copies
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_n_copies")
+(define-method cancel
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_cancel")
(return-type "none")
- (parameters
- '("gint" "num_copies")
- )
)
-(define-method get_number_up
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_number_up")
- (return-type "gint")
+(define-method draw_page_finish
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_draw_page_finish")
+ (return-type "none")
)
-(define-method set_number_up
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_number_up")
+(define-method set_defer_drawing
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_defer_drawing")
+ (return-type "none")
+)
+
+(define-method set_support_selection
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_support_selection")
(return-type "none")
(parameters
- '("gint" "number_up")
+ '("gboolean" "support_selection")
)
)
-(define-method get_number_up_layout
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_number_up_layout")
- (return-type "GtkNumberUpLayout")
+(define-method get_support_selection
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_get_support_selection")
+ (return-type "gboolean")
)
-(define-method set_number_up_layout
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_number_up_layout")
+(define-method set_has_selection
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_has_selection")
(return-type "none")
(parameters
- '("GtkNumberUpLayout" "number_up_layout")
+ '("gboolean" "has_selection")
)
)
-(define-method get_resolution
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_resolution")
- (return-type "gint")
+(define-method get_has_selection
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_get_has_selection")
+ (return-type "gboolean")
)
-(define-method set_resolution
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_resolution")
+(define-method set_embed_page_setup
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_set_embed_page_setup")
(return-type "none")
(parameters
- '("gint" "resolution")
+ '("gboolean" "embed")
)
)
-(define-method get_resolution_x
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_resolution_x")
- (return-type "gint")
+(define-method get_embed_page_setup
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_get_embed_page_setup")
+ (return-type "gboolean")
)
-(define-method get_resolution_y
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_resolution_y")
+(define-method get_n_pages_to_print
+ (of-object "GtkPrintOperation")
+ (c-name "gtk_print_operation_get_n_pages_to_print")
(return-type "gint")
)
-(define-method set_resolution_xy
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_resolution_xy")
+(define-function gtk_print_run_page_setup_dialog
+ (c-name "gtk_print_run_page_setup_dialog")
+ (return-type "GtkPageSetup*")
+ (parameters
+ '("GtkWindow*" "parent")
+ '("GtkPageSetup*" "page_setup")
+ '("GtkPrintSettings*" "settings")
+ )
+)
+
+(define-function gtk_print_run_page_setup_dialog_async
+ (c-name "gtk_print_run_page_setup_dialog_async")
(return-type "none")
(parameters
- '("gint" "resolution_x")
- '("gint" "resolution_y")
+ '("GtkWindow*" "parent")
+ '("GtkPageSetup*" "page_setup")
+ '("GtkPrintSettings*" "settings")
+ '("GtkPageSetupDoneFunc" "done_cb")
+ '("gpointer" "data")
)
)
-(define-method get_printer_lpi
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_printer_lpi")
- (return-type "gdouble")
+
+
+;; From gtkprintoperationpreview.h
+
+(define-function gtk_print_operation_preview_get_type
+ (c-name "gtk_print_operation_preview_get_type")
+ (return-type "GType")
)
-(define-method set_printer_lpi
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_printer_lpi")
+(define-method render_page
+ (of-object "GtkPrintOperationPreview")
+ (c-name "gtk_print_operation_preview_render_page")
(return-type "none")
(parameters
- '("gdouble" "lpi")
+ '("gint" "page_nr")
)
)
-(define-method get_scale
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_scale")
- (return-type "gdouble")
+(define-method end_preview
+ (of-object "GtkPrintOperationPreview")
+ (c-name "gtk_print_operation_preview_end_preview")
+ (return-type "none")
)
-(define-method set_scale
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_scale")
- (return-type "none")
+(define-method is_selected
+ (of-object "GtkPrintOperationPreview")
+ (c-name "gtk_print_operation_preview_is_selected")
+ (return-type "gboolean")
(parameters
- '("gdouble" "scale")
+ '("gint" "page_nr")
)
)
-(define-method get_print_pages
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_print_pages")
- (return-type "GtkPrintPages")
+
+
+;; From gtkprintoperation-private.h
+
+
+
+;; From gtkprintsettings.h
+
+(define-function gtk_print_settings_get_type
+ (c-name "gtk_print_settings_get_type")
+ (return-type "GType")
)
-(define-method set_print_pages
+(define-function gtk_print_settings_new
+ (c-name "gtk_print_settings_new")
+ (is-constructor-of "GtkPrintSettings")
+ (return-type "GtkPrintSettings*")
+)
+
+(define-method copy
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_print_pages")
- (return-type "none")
+ (c-name "gtk_print_settings_copy")
+ (return-type "GtkPrintSettings*")
+)
+
+(define-function gtk_print_settings_new_from_file
+ (c-name "gtk_print_settings_new_from_file")
+ (return-type "GtkPrintSettings*")
(parameters
- '("GtkPrintPages" "pages")
+ '("const-gchar*" "file_name")
+ '("GError**" "error")
)
)
-(define-method get_page_ranges
+(define-method load_file
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_page_ranges")
- (return-type "GtkPageRange*")
+ (c-name "gtk_print_settings_load_file")
+ (return-type "gboolean")
(parameters
- '("gint*" "num_ranges")
+ '("const-gchar*" "file_name")
+ '("GError**" "error")
)
)
-(define-method set_page_ranges
+(define-method to_file
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_page_ranges")
- (return-type "none")
+ (c-name "gtk_print_settings_to_file")
+ (return-type "gboolean")
(parameters
- '("GtkPageRange*" "page_ranges")
- '("gint" "num_ranges")
+ '("const-gchar*" "file_name")
+ '("GError**" "error")
)
)
-(define-method get_page_set
- (of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_page_set")
- (return-type "GtkPageSet")
+(define-function gtk_print_settings_new_from_key_file
+ (c-name "gtk_print_settings_new_from_key_file")
+ (return-type "GtkPrintSettings*")
+ (parameters
+ '("GKeyFile*" "key_file")
+ '("const-gchar*" "group_name")
+ '("GError**" "error")
+ )
)
-(define-method set_page_set
+(define-method load_key_file
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_page_set")
- (return-type "none")
+ (c-name "gtk_print_settings_load_key_file")
+ (return-type "gboolean")
(parameters
- '("GtkPageSet" "page_set")
+ '("GKeyFile*" "key_file")
+ '("const-gchar*" "group_name")
+ '("GError**" "error")
)
)
-(define-method get_default_source
+(define-method to_key_file
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_default_source")
- (return-type "const-gchar*")
+ (c-name "gtk_print_settings_to_key_file")
+ (return-type "none")
+ (parameters
+ '("GKeyFile*" "key_file")
+ '("const-gchar*" "group_name")
+ )
)
-(define-method set_default_source
+(define-method has_key
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_default_source")
- (return-type "none")
+ (c-name "gtk_print_settings_has_key")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "default_source")
+ '("const-gchar*" "key")
)
)
-(define-method get_media_type
+(define-method get
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_media_type")
+ (c-name "gtk_print_settings_get")
(return-type "const-gchar*")
+ (parameters
+ '("const-gchar*" "key")
+ )
)
-(define-method set_media_type
+(define-method set
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_media_type")
+ (c-name "gtk_print_settings_set")
(return-type "none")
(parameters
- '("const-gchar*" "media_type")
+ '("const-gchar*" "key")
+ '("const-gchar*" "value")
)
)
-(define-method get_dither
+(define-method unset
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_dither")
- (return-type "const-gchar*")
+ (c-name "gtk_print_settings_unset")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "key")
+ )
)
-(define-method set_dither
+(define-method foreach
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_dither")
+ (c-name "gtk_print_settings_foreach")
(return-type "none")
(parameters
- '("const-gchar*" "dither")
+ '("GtkPrintSettingsFunc" "func")
+ '("gpointer" "user_data")
)
)
-(define-method get_finishings
+(define-method get_bool
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_finishings")
- (return-type "const-gchar*")
+ (c-name "gtk_print_settings_get_bool")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "key")
+ )
)
-(define-method set_finishings
+(define-method set_bool
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_finishings")
+ (c-name "gtk_print_settings_set_bool")
(return-type "none")
(parameters
- '("const-gchar*" "finishings")
+ '("const-gchar*" "key")
+ '("gboolean" "value")
)
)
-(define-method get_output_bin
+(define-method get_double
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_get_output_bin")
- (return-type "const-gchar*")
+ (c-name "gtk_print_settings_get_double")
+ (return-type "gdouble")
+ (parameters
+ '("const-gchar*" "key")
+ )
)
-(define-method set_output_bin
+(define-method get_double_with_default
(of-object "GtkPrintSettings")
- (c-name "gtk_print_settings_set_output_bin")
- (return-type "none")
+ (c-name "gtk_print_settings_get_double_with_default")
+ (return-type "gdouble")
(parameters
- '("const-gchar*" "output_bin")
+ '("const-gchar*" "key")
+ '("gdouble" "def")
)
)
+(define-method set_double
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_double")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "key")
+ '("gdouble" "value")
+ )
+)
+(define-method get_length
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_length")
+ (return-type "gdouble")
+ (parameters
+ '("const-gchar*" "key")
+ '("GtkUnit" "unit")
+ )
+)
-;; From gtkprogressbar.h
+(define-method set_length
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_length")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "key")
+ '("gdouble" "value")
+ '("GtkUnit" "unit")
+ )
+)
-(define-function gtk_progress_bar_get_type
- (c-name "gtk_progress_bar_get_type")
- (return-type "GType")
+(define-method get_int
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_int")
+ (return-type "gint")
+ (parameters
+ '("const-gchar*" "key")
+ )
)
-(define-function gtk_progress_bar_new
- (c-name "gtk_progress_bar_new")
- (is-constructor-of "GtkProgressBar")
- (return-type "GtkWidget*")
+(define-method get_int_with_default
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_int_with_default")
+ (return-type "gint")
+ (parameters
+ '("const-gchar*" "key")
+ '("gint" "def")
+ )
)
-(define-method pulse
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_pulse")
+(define-method set_int
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_int")
(return-type "none")
+ (parameters
+ '("const-gchar*" "key")
+ '("gint" "value")
+ )
)
-(define-method set_text
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_set_text")
+(define-method get_printer
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_printer")
+ (return-type "const-gchar*")
+)
+
+(define-method set_printer
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_printer")
(return-type "none")
(parameters
- '("const-gchar*" "text")
+ '("const-gchar*" "printer")
)
)
-(define-method set_fraction
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_set_fraction")
+(define-method get_orientation
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_orientation")
+ (return-type "GtkPageOrientation")
+)
+
+(define-method set_orientation
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_orientation")
(return-type "none")
(parameters
- '("gdouble" "fraction")
+ '("GtkPageOrientation" "orientation")
)
)
-(define-method set_pulse_step
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_set_pulse_step")
+(define-method get_paper_size
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_paper_size")
+ (return-type "GtkPaperSize*")
+)
+
+(define-method set_paper_size
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_paper_size")
(return-type "none")
(parameters
- '("gdouble" "fraction")
+ '("GtkPaperSize*" "paper_size")
)
)
-(define-method set_inverted
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_set_inverted")
- (return-type "none")
+(define-method get_paper_width
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_paper_width")
+ (return-type "gdouble")
(parameters
- '("gboolean" "inverted")
+ '("GtkUnit" "unit")
)
)
-(define-method get_text
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_get_text")
- (return-type "const-gchar*")
+(define-method set_paper_width
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_paper_width")
+ (return-type "none")
+ (parameters
+ '("gdouble" "width")
+ '("GtkUnit" "unit")
+ )
)
-(define-method get_fraction
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_get_fraction")
+(define-method get_paper_height
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_paper_height")
(return-type "gdouble")
+ (parameters
+ '("GtkUnit" "unit")
+ )
)
-(define-method get_pulse_step
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_get_pulse_step")
- (return-type "gdouble")
+(define-method set_paper_height
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_paper_height")
+ (return-type "none")
+ (parameters
+ '("gdouble" "height")
+ '("GtkUnit" "unit")
+ )
)
-(define-method get_inverted
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_get_inverted")
+(define-method get_use_color
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_use_color")
(return-type "gboolean")
)
-(define-method set_ellipsize
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_set_ellipsize")
+(define-method set_use_color
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_use_color")
(return-type "none")
(parameters
- '("PangoEllipsizeMode" "mode")
+ '("gboolean" "use_color")
)
)
-(define-method get_ellipsize
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_get_ellipsize")
- (return-type "PangoEllipsizeMode")
+(define-method get_collate
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_collate")
+ (return-type "gboolean")
)
-(define-method set_show_text
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_set_show_text")
+(define-method set_collate
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_collate")
(return-type "none")
(parameters
- '("gboolean" "show_text")
+ '("gboolean" "collate")
)
)
-(define-method get_show_text
- (of-object "GtkProgressBar")
- (c-name "gtk_progress_bar_get_show_text")
+(define-method get_reverse
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_reverse")
(return-type "gboolean")
)
+(define-method set_reverse
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_reverse")
+ (return-type "none")
+ (parameters
+ '("gboolean" "reverse")
+ )
+)
-
-;; From gtkradioaction.h
-
-(define-function gtk_radio_action_get_type
- (c-name "gtk_radio_action_get_type")
- (return-type "GType")
+(define-method get_duplex
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_duplex")
+ (return-type "GtkPrintDuplex")
)
-(define-function gtk_radio_action_new
- (c-name "gtk_radio_action_new")
- (is-constructor-of "GtkRadioAction")
- (return-type "GtkRadioAction*")
+(define-method set_duplex
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_duplex")
+ (return-type "none")
(parameters
- '("const-gchar*" "name")
- '("const-gchar*" "label")
- '("const-gchar*" "tooltip")
- '("const-gchar*" "stock_id")
- '("gint" "value")
+ '("GtkPrintDuplex" "duplex")
)
)
-(define-method get_group
- (of-object "GtkRadioAction")
- (c-name "gtk_radio_action_get_group")
- (return-type "GSList*")
+(define-method get_quality
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_quality")
+ (return-type "GtkPrintQuality")
)
-(define-method set_group
- (of-object "GtkRadioAction")
- (c-name "gtk_radio_action_set_group")
+(define-method set_quality
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_quality")
(return-type "none")
(parameters
- '("GSList*" "group")
+ '("GtkPrintQuality" "quality")
)
)
-(define-method join_group
- (of-object "GtkRadioAction")
- (c-name "gtk_radio_action_join_group")
+(define-method get_n_copies
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_n_copies")
+ (return-type "gint")
+)
+
+(define-method set_n_copies
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_n_copies")
(return-type "none")
(parameters
- '("GtkRadioAction*" "group_source")
+ '("gint" "num_copies")
)
)
-(define-method get_current_value
- (of-object "GtkRadioAction")
- (c-name "gtk_radio_action_get_current_value")
+(define-method get_number_up
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_number_up")
(return-type "gint")
)
-(define-method set_current_value
- (of-object "GtkRadioAction")
- (c-name "gtk_radio_action_set_current_value")
+(define-method set_number_up
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_number_up")
(return-type "none")
(parameters
- '("gint" "current_value")
+ '("gint" "number_up")
)
)
-
-
-;; From gtkradiobutton.h
-
-(define-function gtk_radio_button_get_type
- (c-name "gtk_radio_button_get_type")
- (return-type "GType")
+(define-method get_number_up_layout
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_number_up_layout")
+ (return-type "GtkNumberUpLayout")
)
-(define-function gtk_radio_button_new
- (c-name "gtk_radio_button_new")
- (is-constructor-of "GtkRadioButton")
- (return-type "GtkWidget*")
+(define-method set_number_up_layout
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_number_up_layout")
+ (return-type "none")
(parameters
- '("GSList*" "group")
+ '("GtkNumberUpLayout" "number_up_layout")
)
)
-(define-method new_from_widget
- (of-object "GtkRadioButton")
- (c-name "gtk_radio_button_new_from_widget")
- (return-type "GtkWidget*")
+(define-method get_resolution
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_resolution")
+ (return-type "gint")
)
-(define-function gtk_radio_button_new_with_label
- (c-name "gtk_radio_button_new_with_label")
- (return-type "GtkWidget*")
+(define-method set_resolution
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_resolution")
+ (return-type "none")
(parameters
- '("GSList*" "group")
- '("const-gchar*" "label")
+ '("gint" "resolution")
)
)
-(define-method new_with_label_from_widget
- (of-object "GtkRadioButton")
- (c-name "gtk_radio_button_new_with_label_from_widget")
- (return-type "GtkWidget*")
- (parameters
- '("const-gchar*" "label")
- )
+(define-method get_resolution_x
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_resolution_x")
+ (return-type "gint")
)
-(define-function gtk_radio_button_new_with_mnemonic
- (c-name "gtk_radio_button_new_with_mnemonic")
- (return-type "GtkWidget*")
- (parameters
- '("GSList*" "group")
- '("const-gchar*" "label")
- )
+(define-method get_resolution_y
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_resolution_y")
+ (return-type "gint")
)
-(define-method new_with_mnemonic_from_widget
- (of-object "GtkRadioButton")
- (c-name "gtk_radio_button_new_with_mnemonic_from_widget")
- (return-type "GtkWidget*")
+(define-method set_resolution_xy
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_resolution_xy")
+ (return-type "none")
(parameters
- '("const-gchar*" "label")
+ '("gint" "resolution_x")
+ '("gint" "resolution_y")
)
)
-(define-method get_group
- (of-object "GtkRadioButton")
- (c-name "gtk_radio_button_get_group")
- (return-type "GSList*")
+(define-method get_printer_lpi
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_printer_lpi")
+ (return-type "gdouble")
)
-(define-method set_group
- (of-object "GtkRadioButton")
- (c-name "gtk_radio_button_set_group")
+(define-method set_printer_lpi
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_printer_lpi")
(return-type "none")
(parameters
- '("GSList*" "group")
+ '("gdouble" "lpi")
)
)
-(define-method join_group
- (of-object "GtkRadioButton")
- (c-name "gtk_radio_button_join_group")
+(define-method get_scale
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_scale")
+ (return-type "gdouble")
+)
+
+(define-method set_scale
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_scale")
(return-type "none")
(parameters
- '("GtkRadioButton*" "group_source")
+ '("gdouble" "scale")
)
)
-
-
-;; From gtkradiomenuitem.h
-
-(define-function gtk_radio_menu_item_get_type
- (c-name "gtk_radio_menu_item_get_type")
- (return-type "GType")
+(define-method get_print_pages
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_print_pages")
+ (return-type "GtkPrintPages")
)
-(define-function gtk_radio_menu_item_new
- (c-name "gtk_radio_menu_item_new")
- (is-constructor-of "GtkRadioMenuItem")
- (return-type "GtkWidget*")
+(define-method set_print_pages
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_print_pages")
+ (return-type "none")
(parameters
- '("GSList*" "group")
+ '("GtkPrintPages" "pages")
)
)
-(define-function gtk_radio_menu_item_new_with_label
- (c-name "gtk_radio_menu_item_new_with_label")
- (return-type "GtkWidget*")
+(define-method get_page_ranges
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_page_ranges")
+ (return-type "GtkPageRange*")
(parameters
- '("GSList*" "group")
- '("const-gchar*" "label")
+ '("gint*" "num_ranges")
)
)
-(define-function gtk_radio_menu_item_new_with_mnemonic
- (c-name "gtk_radio_menu_item_new_with_mnemonic")
- (return-type "GtkWidget*")
+(define-method set_page_ranges
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_page_ranges")
+ (return-type "none")
(parameters
- '("GSList*" "group")
- '("const-gchar*" "label")
+ '("GtkPageRange*" "page_ranges")
+ '("gint" "num_ranges")
)
)
-(define-method new_from_widget
- (of-object "GtkRadioMenuItem")
- (c-name "gtk_radio_menu_item_new_from_widget")
- (return-type "GtkWidget*")
+(define-method get_page_set
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_page_set")
+ (return-type "GtkPageSet")
)
-(define-method new_with_mnemonic_from_widget
- (of-object "GtkRadioMenuItem")
- (c-name "gtk_radio_menu_item_new_with_mnemonic_from_widget")
- (return-type "GtkWidget*")
+(define-method set_page_set
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_page_set")
+ (return-type "none")
(parameters
- '("const-gchar*" "label")
+ '("GtkPageSet" "page_set")
)
)
-(define-method new_with_label_from_widget
- (of-object "GtkRadioMenuItem")
- (c-name "gtk_radio_menu_item_new_with_label_from_widget")
- (return-type "GtkWidget*")
+(define-method get_default_source
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_default_source")
+ (return-type "const-gchar*")
+)
+
+(define-method set_default_source
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_default_source")
+ (return-type "none")
(parameters
- '("const-gchar*" "label")
+ '("const-gchar*" "default_source")
)
)
-(define-method get_group
- (of-object "GtkRadioMenuItem")
- (c-name "gtk_radio_menu_item_get_group")
- (return-type "GSList*")
+(define-method get_media_type
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_media_type")
+ (return-type "const-gchar*")
)
-(define-method set_group
- (of-object "GtkRadioMenuItem")
- (c-name "gtk_radio_menu_item_set_group")
+(define-method set_media_type
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_media_type")
(return-type "none")
(parameters
- '("GSList*" "group")
+ '("const-gchar*" "media_type")
)
)
+(define-method get_dither
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_dither")
+ (return-type "const-gchar*")
+)
+(define-method set_dither
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_dither")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "dither")
+ )
+)
-;; From gtkradiotoolbutton.h
-
-(define-function gtk_radio_tool_button_get_type
- (c-name "gtk_radio_tool_button_get_type")
- (return-type "GType")
+(define-method get_finishings
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_finishings")
+ (return-type "const-gchar*")
)
-(define-function gtk_radio_tool_button_new
- (c-name "gtk_radio_tool_button_new")
- (is-constructor-of "GtkRadioToolButton")
- (return-type "GtkToolItem*")
+(define-method set_finishings
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_finishings")
+ (return-type "none")
(parameters
- '("GSList*" "group")
+ '("const-gchar*" "finishings")
)
)
-(define-function gtk_radio_tool_button_new_from_stock
- (c-name "gtk_radio_tool_button_new_from_stock")
- (return-type "GtkToolItem*")
+(define-method get_output_bin
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_get_output_bin")
+ (return-type "const-gchar*")
+)
+
+(define-method set_output_bin
+ (of-object "GtkPrintSettings")
+ (c-name "gtk_print_settings_set_output_bin")
+ (return-type "none")
(parameters
- '("GSList*" "group")
- '("const-gchar*" "stock_id")
+ '("const-gchar*" "output_bin")
)
)
-(define-method new_from_widget
- (of-object "GtkRadioToolButton")
- (c-name "gtk_radio_tool_button_new_from_widget")
- (return-type "GtkToolItem*")
+
+
+;; From gtkprintunixdialog.h
+
+(define-function gtk_print_unix_dialog_get_type
+ (c-name "gtk_print_unix_dialog_get_type")
+ (return-type "GType")
)
-(define-method new_with_stock_from_widget
- (of-object "GtkRadioToolButton")
- (c-name "gtk_radio_tool_button_new_with_stock_from_widget")
- (return-type "GtkToolItem*")
+(define-function gtk_print_unix_dialog_new
+ (c-name "gtk_print_unix_dialog_new")
+ (is-constructor-of "GtkPrintUnixDialog")
+ (return-type "GtkWidget*")
(parameters
- '("const-gchar*" "stock_id")
+ '("const-gchar*" "title")
+ '("GtkWindow*" "parent")
)
)
-(define-method get_group
- (of-object "GtkRadioToolButton")
- (c-name "gtk_radio_tool_button_get_group")
- (return-type "GSList*")
+(define-method set_page_setup
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_set_page_setup")
+ (return-type "none")
+ (parameters
+ '("GtkPageSetup*" "page_setup")
+ )
)
-(define-method set_group
- (of-object "GtkRadioToolButton")
- (c-name "gtk_radio_tool_button_set_group")
+(define-method get_page_setup
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_get_page_setup")
+ (return-type "GtkPageSetup*")
+)
+
+(define-method set_current_page
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_set_current_page")
(return-type "none")
(parameters
- '("GSList*" "group")
+ '("gint" "current_page")
)
)
+(define-method get_current_page
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_get_current_page")
+ (return-type "gint")
+)
+(define-method set_settings
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_set_settings")
+ (return-type "none")
+ (parameters
+ '("GtkPrintSettings*" "settings")
+ )
+)
-;; From gtkrange.h
+(define-method get_settings
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_get_settings")
+ (return-type "GtkPrintSettings*")
+)
-(define-function gtk_range_get_type
- (c-name "gtk_range_get_type")
- (return-type "GType")
+(define-method get_selected_printer
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_get_selected_printer")
+ (return-type "GtkPrinter*")
)
-(define-method set_adjustment
- (of-object "GtkRange")
- (c-name "gtk_range_set_adjustment")
+(define-method add_custom_tab
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_add_custom_tab")
(return-type "none")
(parameters
- '("GtkAdjustment*" "adjustment")
+ '("GtkWidget*" "child")
+ '("GtkWidget*" "tab_label")
)
)
-(define-method get_adjustment
- (of-object "GtkRange")
- (c-name "gtk_range_get_adjustment")
- (return-type "GtkAdjustment*")
-)
-
-(define-method set_inverted
- (of-object "GtkRange")
- (c-name "gtk_range_set_inverted")
+(define-method set_manual_capabilities
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_set_manual_capabilities")
(return-type "none")
(parameters
- '("gboolean" "setting")
+ '("GtkPrintCapabilities" "capabilities")
)
)
-(define-method get_inverted
- (of-object "GtkRange")
- (c-name "gtk_range_get_inverted")
- (return-type "gboolean")
+(define-method get_manual_capabilities
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_get_manual_capabilities")
+ (return-type "GtkPrintCapabilities")
)
-(define-method set_flippable
- (of-object "GtkRange")
- (c-name "gtk_range_set_flippable")
+(define-method set_support_selection
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_set_support_selection")
(return-type "none")
(parameters
- '("gboolean" "flippable")
+ '("gboolean" "support_selection")
)
)
-(define-method get_flippable
- (of-object "GtkRange")
- (c-name "gtk_range_get_flippable")
+(define-method get_support_selection
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_get_support_selection")
(return-type "gboolean")
)
-(define-method set_slider_size_fixed
- (of-object "GtkRange")
- (c-name "gtk_range_set_slider_size_fixed")
+(define-method set_has_selection
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_set_has_selection")
(return-type "none")
(parameters
- '("gboolean" "size_fixed")
+ '("gboolean" "has_selection")
)
)
-(define-method get_slider_size_fixed
- (of-object "GtkRange")
- (c-name "gtk_range_get_slider_size_fixed")
+(define-method get_has_selection
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_get_has_selection")
(return-type "gboolean")
)
-(define-method set_min_slider_size
- (of-object "GtkRange")
- (c-name "gtk_range_set_min_slider_size")
+(define-method set_embed_page_setup
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_set_embed_page_setup")
(return-type "none")
(parameters
- '("gint" "min_size")
+ '("gboolean" "embed")
)
)
-(define-method get_min_slider_size
- (of-object "GtkRange")
- (c-name "gtk_range_get_min_slider_size")
- (return-type "gint")
+(define-method get_embed_page_setup
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_get_embed_page_setup")
+ (return-type "gboolean")
)
-(define-method get_range_rect
- (of-object "GtkRange")
- (c-name "gtk_range_get_range_rect")
- (return-type "none")
- (parameters
- '("GdkRectangle*" "range_rect")
- )
+(define-method get_page_setup_set
+ (of-object "GtkPrintUnixDialog")
+ (c-name "gtk_print_unix_dialog_get_page_setup_set")
+ (return-type "gboolean")
)
-(define-method get_slider_range
- (of-object "GtkRange")
- (c-name "gtk_range_get_slider_range")
+
+
+;; From gtkprintutils.h
+
+
+
+;; From gtkprint-win32.h
+
+(define-method free
+ (of-object "GtkPrintWin32Devnames")
+ (c-name "gtk_print_win32_devnames_free")
(return-type "none")
+)
+
+(define-function gtk_print_win32_devnames_from_win32
+ (c-name "gtk_print_win32_devnames_from_win32")
+ (return-type "GtkPrintWin32Devnames*")
(parameters
- '("gint*" "slider_start")
- '("gint*" "slider_end")
+ '("HGLOBAL" "global")
)
)
-(define-method set_lower_stepper_sensitivity
- (of-object "GtkRange")
- (c-name "gtk_range_set_lower_stepper_sensitivity")
- (return-type "none")
+(define-function gtk_print_win32_devnames_from_printer_name
+ (c-name "gtk_print_win32_devnames_from_printer_name")
+ (return-type "GtkPrintWin32Devnames*")
(parameters
- '("GtkSensitivityType" "sensitivity")
+ '("const-char*" "printer")
)
)
-(define-method get_lower_stepper_sensitivity
- (of-object "GtkRange")
- (c-name "gtk_range_get_lower_stepper_sensitivity")
- (return-type "GtkSensitivityType")
+(define-method to_win32
+ (of-object "GtkPrintWin32Devnames")
+ (c-name "gtk_print_win32_devnames_to_win32")
+ (return-type "HGLOBAL")
)
-(define-method set_upper_stepper_sensitivity
- (of-object "GtkRange")
- (c-name "gtk_range_set_upper_stepper_sensitivity")
- (return-type "none")
+(define-function gtk_print_win32_devnames_to_win32_from_printer_name
+ (c-name "gtk_print_win32_devnames_to_win32_from_printer_name")
+ (return-type "HGLOBAL")
(parameters
- '("GtkSensitivityType" "sensitivity")
+ '("const-char*" "printer")
)
)
-(define-method get_upper_stepper_sensitivity
- (of-object "GtkRange")
- (c-name "gtk_range_get_upper_stepper_sensitivity")
- (return-type "GtkSensitivityType")
+
+
+;; From gtkprivate.h
+
+
+
+;; From gtkprivatetypebuiltins.h
+
+
+
+;; From gtkprogressbar.h
+
+(define-function gtk_progress_bar_get_type
+ (c-name "gtk_progress_bar_get_type")
+ (return-type "GType")
)
-(define-method set_increments
- (of-object "GtkRange")
- (c-name "gtk_range_set_increments")
+(define-function gtk_progress_bar_new
+ (c-name "gtk_progress_bar_new")
+ (is-constructor-of "GtkProgressBar")
+ (return-type "GtkWidget*")
+)
+
+(define-method pulse
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_pulse")
(return-type "none")
- (parameters
- '("gdouble" "step")
- '("gdouble" "page")
- )
)
-(define-method set_range
- (of-object "GtkRange")
- (c-name "gtk_range_set_range")
+(define-method set_text
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_set_text")
(return-type "none")
(parameters
- '("gdouble" "min")
- '("gdouble" "max")
+ '("const-gchar*" "text")
)
)
-(define-method set_value
- (of-object "GtkRange")
- (c-name "gtk_range_set_value")
+(define-method set_fraction
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_set_fraction")
(return-type "none")
(parameters
- '("gdouble" "value")
+ '("gdouble" "fraction")
)
)
-(define-method get_value
- (of-object "GtkRange")
- (c-name "gtk_range_get_value")
- (return-type "gdouble")
+(define-method set_pulse_step
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_set_pulse_step")
+ (return-type "none")
+ (parameters
+ '("gdouble" "fraction")
+ )
)
-(define-method set_show_fill_level
- (of-object "GtkRange")
- (c-name "gtk_range_set_show_fill_level")
+(define-method set_inverted
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_set_inverted")
(return-type "none")
(parameters
- '("gboolean" "show_fill_level")
+ '("gboolean" "inverted")
)
)
-(define-method get_show_fill_level
- (of-object "GtkRange")
- (c-name "gtk_range_get_show_fill_level")
- (return-type "gboolean")
+(define-method get_text
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_get_text")
+ (return-type "const-gchar*")
)
-(define-method set_restrict_to_fill_level
- (of-object "GtkRange")
- (c-name "gtk_range_set_restrict_to_fill_level")
- (return-type "none")
- (parameters
- '("gboolean" "restrict_to_fill_level")
- )
+(define-method get_fraction
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_get_fraction")
+ (return-type "gdouble")
)
-(define-method get_restrict_to_fill_level
- (of-object "GtkRange")
- (c-name "gtk_range_get_restrict_to_fill_level")
+(define-method get_pulse_step
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_get_pulse_step")
+ (return-type "gdouble")
+)
+
+(define-method get_inverted
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_get_inverted")
(return-type "gboolean")
)
-(define-method set_fill_level
- (of-object "GtkRange")
- (c-name "gtk_range_set_fill_level")
+(define-method set_ellipsize
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_set_ellipsize")
(return-type "none")
(parameters
- '("gdouble" "fill_level")
+ '("PangoEllipsizeMode" "mode")
)
)
-(define-method get_fill_level
- (of-object "GtkRange")
- (c-name "gtk_range_get_fill_level")
- (return-type "gdouble")
+(define-method get_ellipsize
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_get_ellipsize")
+ (return-type "PangoEllipsizeMode")
)
-(define-method set_round_digits
- (of-object "GtkRange")
- (c-name "gtk_range_set_round_digits")
+(define-method set_show_text
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_set_show_text")
(return-type "none")
(parameters
- '("gint" "round_digits")
+ '("gboolean" "show_text")
)
)
-(define-method get_round_digits
- (of-object "GtkRange")
- (c-name "gtk_range_get_round_digits")
- (return-type "gint")
+(define-method get_show_text
+ (of-object "GtkProgressBar")
+ (c-name "gtk_progress_bar_get_show_text")
+ (return-type "gboolean")
)
-;; From gtkrc.h
+;; From gtkquartz.h
-(define-function gtk_rc_add_default_file
- (c-name "gtk_rc_add_default_file")
- (return-type "none")
- (parameters
- '("const-gchar*" "filename")
- )
-)
-(define-function gtk_rc_set_default_files
- (c-name "gtk_rc_set_default_files")
+
+;; From gtkquartz-menu.h
+
+(define-function gtk_quartz_set_main_menu
+ (c-name "gtk_quartz_set_main_menu")
(return-type "none")
(parameters
- '("gchar**" "filenames")
+ '("GMenuModel*" "model")
+ '("GActionObservable*" "observable")
)
)
-(define-function gtk_rc_get_default_files
- (c-name "gtk_rc_get_default_files")
- (return-type "gchar**")
-)
-(define-function gtk_rc_get_style
- (c-name "gtk_rc_get_style")
- (return-type "GtkStyle*")
- (parameters
- '("GtkWidget*" "widget")
- )
+
+;; From gtkquery.h
+
+
+
+;; From gtkradioaction.h
+
+(define-function gtk_radio_action_get_type
+ (c-name "gtk_radio_action_get_type")
+ (return-type "GType")
)
-(define-function gtk_rc_get_style_by_paths
- (c-name "gtk_rc_get_style_by_paths")
- (return-type "GtkStyle*")
+(define-function gtk_radio_action_new
+ (c-name "gtk_radio_action_new")
+ (is-constructor-of "GtkRadioAction")
+ (return-type "GtkRadioAction*")
(parameters
- '("GtkSettings*" "settings")
- '("const-char*" "widget_path")
- '("const-char*" "class_path")
- '("GType" "type")
+ '("const-gchar*" "name")
+ '("const-gchar*" "label")
+ '("const-gchar*" "tooltip")
+ '("const-gchar*" "stock_id")
+ '("gint" "value")
)
)
-(define-function gtk_rc_reparse_all_for_settings
- (c-name "gtk_rc_reparse_all_for_settings")
- (return-type "gboolean")
- (parameters
- '("GtkSettings*" "settings")
- '("gboolean" "force_load")
- )
+(define-method get_group
+ (of-object "GtkRadioAction")
+ (c-name "gtk_radio_action_get_group")
+ (return-type "GSList*")
)
-(define-function gtk_rc_reset_styles
- (c-name "gtk_rc_reset_styles")
+(define-method set_group
+ (of-object "GtkRadioAction")
+ (c-name "gtk_radio_action_set_group")
(return-type "none")
(parameters
- '("GtkSettings*" "settings")
+ '("GSList*" "group")
)
)
-(define-function gtk_rc_find_pixmap_in_path
- (c-name "gtk_rc_find_pixmap_in_path")
- (return-type "gchar*")
+(define-method join_group
+ (of-object "GtkRadioAction")
+ (c-name "gtk_radio_action_join_group")
+ (return-type "none")
(parameters
- '("GtkSettings*" "settings")
- '("GScanner*" "scanner")
- '("const-gchar*" "pixmap_file")
+ '("GtkRadioAction*" "group_source")
)
)
-(define-function gtk_rc_parse
- (c-name "gtk_rc_parse")
- (return-type "none")
- (parameters
- '("const-gchar*" "filename")
- )
+(define-method get_current_value
+ (of-object "GtkRadioAction")
+ (c-name "gtk_radio_action_get_current_value")
+ (return-type "gint")
)
-(define-function gtk_rc_parse_string
- (c-name "gtk_rc_parse_string")
+(define-method set_current_value
+ (of-object "GtkRadioAction")
+ (c-name "gtk_radio_action_set_current_value")
(return-type "none")
(parameters
- '("const-gchar*" "rc_string")
+ '("gint" "current_value")
)
)
-(define-function gtk_rc_reparse_all
- (c-name "gtk_rc_reparse_all")
- (return-type "gboolean")
-)
-(define-function gtk_rc_style_get_type
- (c-name "gtk_rc_style_get_type")
- (return-type "GType")
-)
-(define-function gtk_rc_style_new
- (c-name "gtk_rc_style_new")
- (is-constructor-of "GtkRcStyle")
- (return-type "GtkRcStyle*")
+;; From gtkradiobutton.h
+
+(define-function gtk_radio_button_get_type
+ (c-name "gtk_radio_button_get_type")
+ (return-type "GType")
)
-(define-method copy
- (of-object "GtkRcStyle")
- (c-name "gtk_rc_style_copy")
- (return-type "GtkRcStyle*")
+(define-function gtk_radio_button_new
+ (c-name "gtk_radio_button_new")
+ (is-constructor-of "GtkRadioButton")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GSList*" "group")
+ )
)
-(define-function gtk_rc_find_module_in_path
- (c-name "gtk_rc_find_module_in_path")
- (return-type "gchar*")
+(define-method new_from_widget
+ (of-object "GtkRadioButton")
+ (c-name "gtk_radio_button_new_from_widget")
+ (return-type "GtkWidget*")
+)
+
+(define-function gtk_radio_button_new_with_label
+ (c-name "gtk_radio_button_new_with_label")
+ (return-type "GtkWidget*")
(parameters
- '("const-gchar*" "module_file")
+ '("GSList*" "group")
+ '("const-gchar*" "label")
)
)
-(define-function gtk_rc_get_theme_dir
- (c-name "gtk_rc_get_theme_dir")
- (return-type "gchar*")
+(define-method new_with_label_from_widget
+ (of-object "GtkRadioButton")
+ (c-name "gtk_radio_button_new_with_label_from_widget")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "label")
+ )
)
-(define-function gtk_rc_get_module_dir
- (c-name "gtk_rc_get_module_dir")
- (return-type "gchar*")
+(define-function gtk_radio_button_new_with_mnemonic
+ (c-name "gtk_radio_button_new_with_mnemonic")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GSList*" "group")
+ '("const-gchar*" "label")
+ )
)
-(define-function gtk_rc_get_im_module_path
- (c-name "gtk_rc_get_im_module_path")
- (return-type "gchar*")
+(define-method new_with_mnemonic_from_widget
+ (of-object "GtkRadioButton")
+ (c-name "gtk_radio_button_new_with_mnemonic_from_widget")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "label")
+ )
)
-(define-function gtk_rc_get_im_module_file
- (c-name "gtk_rc_get_im_module_file")
- (return-type "gchar*")
+(define-method get_group
+ (of-object "GtkRadioButton")
+ (c-name "gtk_radio_button_get_group")
+ (return-type "GSList*")
)
-(define-function gtk_rc_scanner_new
- (c-name "gtk_rc_scanner_new")
- (is-constructor-of "GtkRcScanner")
- (return-type "GScanner*")
+(define-method set_group
+ (of-object "GtkRadioButton")
+ (c-name "gtk_radio_button_set_group")
+ (return-type "none")
+ (parameters
+ '("GSList*" "group")
+ )
)
-(define-function gtk_rc_parse_color
- (c-name "gtk_rc_parse_color")
- (return-type "guint")
+(define-method join_group
+ (of-object "GtkRadioButton")
+ (c-name "gtk_radio_button_join_group")
+ (return-type "none")
(parameters
- '("GScanner*" "scanner")
- '("GdkColor*" "color")
+ '("GtkRadioButton*" "group_source")
)
)
-(define-function gtk_rc_parse_color_full
- (c-name "gtk_rc_parse_color_full")
- (return-type "guint")
+
+
+;; From gtkradiomenuitem.h
+
+(define-function gtk_radio_menu_item_get_type
+ (c-name "gtk_radio_menu_item_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_radio_menu_item_new
+ (c-name "gtk_radio_menu_item_new")
+ (is-constructor-of "GtkRadioMenuItem")
+ (return-type "GtkWidget*")
(parameters
- '("GScanner*" "scanner")
- '("GtkRcStyle*" "style")
- '("GdkColor*" "color")
+ '("GSList*" "group")
)
)
-(define-function gtk_rc_parse_state
- (c-name "gtk_rc_parse_state")
- (return-type "guint")
+(define-function gtk_radio_menu_item_new_with_label
+ (c-name "gtk_radio_menu_item_new_with_label")
+ (return-type "GtkWidget*")
(parameters
- '("GScanner*" "scanner")
- '("GtkStateType*" "state")
+ '("GSList*" "group")
+ '("const-gchar*" "label")
)
)
-(define-function gtk_rc_parse_priority
- (c-name "gtk_rc_parse_priority")
- (return-type "guint")
+(define-function gtk_radio_menu_item_new_with_mnemonic
+ (c-name "gtk_radio_menu_item_new_with_mnemonic")
+ (return-type "GtkWidget*")
(parameters
- '("GScanner*" "scanner")
- '("GtkPathPriorityType*" "priority")
+ '("GSList*" "group")
+ '("const-gchar*" "label")
+ )
+)
+
+(define-method new_from_widget
+ (of-object "GtkRadioMenuItem")
+ (c-name "gtk_radio_menu_item_new_from_widget")
+ (return-type "GtkWidget*")
+)
+
+(define-method new_with_mnemonic_from_widget
+ (of-object "GtkRadioMenuItem")
+ (c-name "gtk_radio_menu_item_new_with_mnemonic_from_widget")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "label")
+ )
+)
+
+(define-method new_with_label_from_widget
+ (of-object "GtkRadioMenuItem")
+ (c-name "gtk_radio_menu_item_new_with_label_from_widget")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "label")
+ )
+)
+
+(define-method get_group
+ (of-object "GtkRadioMenuItem")
+ (c-name "gtk_radio_menu_item_get_group")
+ (return-type "GSList*")
+)
+
+(define-method set_group
+ (of-object "GtkRadioMenuItem")
+ (c-name "gtk_radio_menu_item_set_group")
+ (return-type "none")
+ (parameters
+ '("GSList*" "group")
+ )
+)
+
+
+
+;; From gtkradiotoolbutton.h
+
+(define-function gtk_radio_tool_button_get_type
+ (c-name "gtk_radio_tool_button_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_radio_tool_button_new
+ (c-name "gtk_radio_tool_button_new")
+ (is-constructor-of "GtkRadioToolButton")
+ (return-type "GtkToolItem*")
+ (parameters
+ '("GSList*" "group")
)
)
+(define-function gtk_radio_tool_button_new_from_stock
+ (c-name "gtk_radio_tool_button_new_from_stock")
+ (return-type "GtkToolItem*")
+ (parameters
+ '("GSList*" "group")
+ '("const-gchar*" "stock_id")
+ )
+)
+
+(define-method new_from_widget
+ (of-object "GtkRadioToolButton")
+ (c-name "gtk_radio_tool_button_new_from_widget")
+ (return-type "GtkToolItem*")
+)
+
+(define-method new_with_stock_from_widget
+ (of-object "GtkRadioToolButton")
+ (c-name "gtk_radio_tool_button_new_with_stock_from_widget")
+ (return-type "GtkToolItem*")
+ (parameters
+ '("const-gchar*" "stock_id")
+ )
+)
+
+(define-method get_group
+ (of-object "GtkRadioToolButton")
+ (c-name "gtk_radio_tool_button_get_group")
+ (return-type "GSList*")
+)
+
+(define-method set_group
+ (of-object "GtkRadioToolButton")
+ (c-name "gtk_radio_tool_button_set_group")
+ (return-type "none")
+ (parameters
+ '("GSList*" "group")
+ )
+)
+
+
+
+;; From gtkrange.h
+
+(define-function gtk_range_get_type
+ (c-name "gtk_range_get_type")
+ (return-type "GType")
+)
+
+(define-method set_adjustment
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_adjustment")
+ (return-type "none")
+ (parameters
+ '("GtkAdjustment*" "adjustment")
+ )
+)
+
+(define-method get_adjustment
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_adjustment")
+ (return-type "GtkAdjustment*")
+)
+
+(define-method set_inverted
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_inverted")
+ (return-type "none")
+ (parameters
+ '("gboolean" "setting")
+ )
+)
+
+(define-method get_inverted
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_inverted")
+ (return-type "gboolean")
+)
+
+(define-method set_flippable
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_flippable")
+ (return-type "none")
+ (parameters
+ '("gboolean" "flippable")
+ )
+)
+
+(define-method get_flippable
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_flippable")
+ (return-type "gboolean")
+)
+
+(define-method set_slider_size_fixed
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_slider_size_fixed")
+ (return-type "none")
+ (parameters
+ '("gboolean" "size_fixed")
+ )
+)
+
+(define-method get_slider_size_fixed
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_slider_size_fixed")
+ (return-type "gboolean")
+)
+
+(define-method set_min_slider_size
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_min_slider_size")
+ (return-type "none")
+ (parameters
+ '("gint" "min_size")
+ )
+)
+
+(define-method get_min_slider_size
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_min_slider_size")
+ (return-type "gint")
+)
+
+(define-method get_range_rect
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_range_rect")
+ (return-type "none")
+ (parameters
+ '("GdkRectangle*" "range_rect")
+ )
+)
+
+(define-method get_slider_range
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_slider_range")
+ (return-type "none")
+ (parameters
+ '("gint*" "slider_start")
+ '("gint*" "slider_end")
+ )
+)
+
+(define-method set_lower_stepper_sensitivity
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_lower_stepper_sensitivity")
+ (return-type "none")
+ (parameters
+ '("GtkSensitivityType" "sensitivity")
+ )
+)
+
+(define-method get_lower_stepper_sensitivity
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_lower_stepper_sensitivity")
+ (return-type "GtkSensitivityType")
+)
+
+(define-method set_upper_stepper_sensitivity
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_upper_stepper_sensitivity")
+ (return-type "none")
+ (parameters
+ '("GtkSensitivityType" "sensitivity")
+ )
+)
+
+(define-method get_upper_stepper_sensitivity
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_upper_stepper_sensitivity")
+ (return-type "GtkSensitivityType")
+)
+
+(define-method set_increments
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_increments")
+ (return-type "none")
+ (parameters
+ '("gdouble" "step")
+ '("gdouble" "page")
+ )
+)
+
+(define-method set_range
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_range")
+ (return-type "none")
+ (parameters
+ '("gdouble" "min")
+ '("gdouble" "max")
+ )
+)
+
+(define-method set_value
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_value")
+ (return-type "none")
+ (parameters
+ '("gdouble" "value")
+ )
+)
+
+(define-method get_value
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_value")
+ (return-type "gdouble")
+)
+
+(define-method set_show_fill_level
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_show_fill_level")
+ (return-type "none")
+ (parameters
+ '("gboolean" "show_fill_level")
+ )
+)
+
+(define-method get_show_fill_level
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_show_fill_level")
+ (return-type "gboolean")
+)
+
+(define-method set_restrict_to_fill_level
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_restrict_to_fill_level")
+ (return-type "none")
+ (parameters
+ '("gboolean" "restrict_to_fill_level")
+ )
+)
+
+(define-method get_restrict_to_fill_level
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_restrict_to_fill_level")
+ (return-type "gboolean")
+)
+
+(define-method set_fill_level
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_fill_level")
+ (return-type "none")
+ (parameters
+ '("gdouble" "fill_level")
+ )
+)
+
+(define-method get_fill_level
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_fill_level")
+ (return-type "gdouble")
+)
+
+(define-method set_round_digits
+ (of-object "GtkRange")
+ (c-name "gtk_range_set_round_digits")
+ (return-type "none")
+ (parameters
+ '("gint" "round_digits")
+ )
+)
+
+(define-method get_round_digits
+ (of-object "GtkRange")
+ (c-name "gtk_range_get_round_digits")
+ (return-type "gint")
+)
+
+
+
+;; From gtkrbtree.h
+
;; From gtkrecentaction.h
@@ -18576,6 +20117,10 @@
+;; From gtkrecentchooserdefault.h
+
+
+
;; From gtkrecentchooserdialog.h
(define-function gtk_recent_chooser_dialog_get_type
@@ -18899,6 +20444,14 @@
+;; From gtkrecentchooserprivate.h
+
+
+
+;; From gtkrecentchooserutils.h
+
+
+
;; From gtkrecentchooserwidget.h
(define-function gtk_recent_chooser_widget_get_type
@@ -19312,6 +20865,14 @@
+;; From gtkresources.h
+
+
+
+;; From gtkroundedboxprivate.h
+
+
+
;; From gtkscalebutton.h
(define-function gtk_scale_button_get_type
@@ -19449,6 +21010,21 @@
(return-type "gboolean")
)
+(define-method set_has_origin
+ (of-object "GtkScale")
+ (c-name "gtk_scale_set_has_origin")
+ (return-type "none")
+ (parameters
+ '("gboolean" "has_origin")
+ )
+)
+
+(define-method get_has_origin
+ (of-object "GtkScale")
+ (c-name "gtk_scale_get_has_origin")
+ (return-type "gboolean")
+)
+
(define-method set_value_pos
(of-object "GtkScale")
(c-name "gtk_scale_set_value_pos")
@@ -19499,6 +21075,10 @@
+;; From gtkscaleprivate.h
+
+
+
;; From gtkscrollable.h
(define-function gtk_scrollable_get_type
@@ -19743,6 +21323,22 @@
+;; From gtksearchengine.h
+
+
+
+;; From gtksearchenginequartz.h
+
+
+
+;; From gtksearchenginesimple.h
+
+
+
+;; From gtksearchenginetracker.h
+
+
+
;; From gtkselection.h
(define-function gtk_target_list_get_type
@@ -20174,6 +21770,10 @@
+;; From gtkselectionprivate.h
+
+
+
;; From gtkseparator.h
(define-function gtk_separator_get_type
@@ -20369,6 +21969,14 @@
+;; From gtksettingsprivate.h
+
+
+
+;; From gtkshadowprivate.h
+
+
+
;; From gtkshow.h
(define-function gtk_show_uri
@@ -20456,6 +22064,10 @@
+;; From gtksizegroup-private.h
+
+
+
;; From gtksizerequest.h
(define-function gtk_distribute_natural_allocation
@@ -20506,6 +22118,10 @@
+;; From gtksocketprivate.h
+
+
+
;; From gtkspinbutton.h
(define-function gtk_spin_button_get_type
@@ -21201,6 +22817,15 @@
(return-type "none")
)
+(define-method get_section
+ (of-object "GtkStyleContext")
+ (c-name "gtk_style_context_get_section")
+ (return-type "GtkCssSection*")
+ (parameters
+ '("const-gchar*" "property")
+ )
+)
+
(define-method get_property
(of-object "GtkStyleContext")
(c-name "gtk_style_context_get_property")
@@ -21272,6 +22897,21 @@
(return-type "const-GtkWidgetPath*")
)
+(define-method set_parent
+ (of-object "GtkStyleContext")
+ (c-name "gtk_style_context_set_parent")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "parent")
+ )
+)
+
+(define-method get_parent
+ (of-object "GtkStyleContext")
+ (c-name "gtk_style_context_get_parent")
+ (return-type "GtkStyleContext*")
+)
+
(define-method list_classes
(of-object "GtkStyleContext")
(c-name "gtk_style_context_list_classes")
@@ -21789,1242 +23429,645 @@
)
)
+(define-function gtk_render_insertion_cursor
+ (c-name "gtk_render_insertion_cursor")
+ (return-type "none")
+ (parameters
+ '("GtkStyleContext*" "context")
+ '("cairo_t*" "cr")
+ '("gdouble" "x")
+ '("gdouble" "y")
+ '("PangoLayout*" "layout")
+ '("int" "index")
+ '("PangoDirection" "direction")
+ )
+)
+
+(define-function gtk_draw_insertion_cursor
+ (c-name "gtk_draw_insertion_cursor")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("cairo_t*" "cr")
+ '("const-GdkRectangle*" "location")
+ '("gboolean" "is_primary")
+ '("GtkTextDirection" "direction")
+ '("gboolean" "draw_arrow")
+ )
+)
-;; From gtkstyle.h
-(define-function gtk_style_get_type
- (c-name "gtk_style_get_type")
- (return-type "GType")
-)
+;; From gtkstylecontextprivate.h
-(define-function gtk_style_new
- (c-name "gtk_style_new")
- (is-constructor-of "GtkStyle")
- (return-type "GtkStyle*")
-)
-(define-method copy
- (of-object "GtkStyle")
- (c-name "gtk_style_copy")
- (return-type "GtkStyle*")
-)
-(define-method attach
- (of-object "GtkStyle")
- (c-name "gtk_style_attach")
- (return-type "GtkStyle*")
- (parameters
- '("GdkWindow*" "window")
- )
-)
+;; From gtkstyleproperties.h
-(define-method detach
- (of-object "GtkStyle")
- (c-name "gtk_style_detach")
- (return-type "none")
+(define-function gtk_style_properties_get_type
+ (c-name "gtk_style_properties_get_type")
+ (return-type "GType")
)
-(define-method set_background
- (of-object "GtkStyle")
- (c-name "gtk_style_set_background")
+(define-function gtk_style_properties_register_property
+ (c-name "gtk_style_properties_register_property")
(return-type "none")
(parameters
- '("GdkWindow*" "window")
- '("GtkStateType" "state_type")
+ '("GtkStylePropertyParser" "parse_func")
+ '("GParamSpec*" "pspec")
)
)
-(define-method apply_default_background
- (of-object "GtkStyle")
- (c-name "gtk_style_apply_default_background")
- (return-type "none")
+(define-function gtk_style_properties_lookup_property
+ (c-name "gtk_style_properties_lookup_property")
+ (return-type "gboolean")
(parameters
- '("cairo_t*" "cr")
- '("GdkWindow*" "window")
- '("GtkStateType" "state_type")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
+ '("const-gchar*" "property_name")
+ '("GtkStylePropertyParser*" "parse_func")
+ '("GParamSpec**" "pspec")
)
)
-(define-method lookup_icon_set
- (of-object "GtkStyle")
- (c-name "gtk_style_lookup_icon_set")
- (return-type "GtkIconSet*")
- (parameters
- '("const-gchar*" "stock_id")
- )
+(define-function gtk_style_properties_new
+ (c-name "gtk_style_properties_new")
+ (is-constructor-of "GtkStyleProperties")
+ (return-type "GtkStyleProperties*")
)
-(define-method lookup_color
- (of-object "GtkStyle")
- (c-name "gtk_style_lookup_color")
- (return-type "gboolean")
+(define-method map_color
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_map_color")
+ (return-type "none")
(parameters
- '("const-gchar*" "color_name")
- '("GdkColor*" "color")
+ '("const-gchar*" "name")
+ '("GtkSymbolicColor*" "color")
)
)
-(define-method render_icon
- (of-object "GtkStyle")
- (c-name "gtk_style_render_icon")
- (return-type "GdkPixbuf*")
+(define-method lookup_color
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_lookup_color")
+ (return-type "GtkSymbolicColor*")
(parameters
- '("const-GtkIconSource*" "source")
- '("GtkTextDirection" "direction")
- '("GtkStateType" "state")
- '("GtkIconSize" "size")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
+ '("const-gchar*" "name")
)
)
-(define-function gtk_paint_hline
- (c-name "gtk_paint_hline")
+(define-method set_property
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_set_property")
(return-type "none")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x1")
- '("gint" "x2")
- '("gint" "y")
+ '("const-gchar*" "property")
+ '("GtkStateFlags" "state")
+ '("const-GValue*" "value")
)
)
-(define-function gtk_paint_vline
- (c-name "gtk_paint_vline")
+(define-method set_valist
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_set_valist")
(return-type "none")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "y1_")
- '("gint" "y2_")
- '("gint" "x")
+ '("GtkStateFlags" "state")
+ '("va_list" "args")
)
)
-(define-function gtk_paint_shadow
- (c-name "gtk_paint_shadow")
+(define-method set
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_set")
(return-type "none")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkShadowType" "shadow_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
+ '("GtkStateFlags" "state")
)
+ (varargs #t)
)
-(define-function gtk_paint_arrow
- (c-name "gtk_paint_arrow")
- (return-type "none")
+(define-method get_property
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_get_property")
+ (return-type "gboolean")
(parameters
- '("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")
+ '("const-gchar*" "property")
+ '("GtkStateFlags" "state")
+ '("GValue*" "value")
)
)
-(define-function gtk_paint_diamond
- (c-name "gtk_paint_diamond")
+(define-method get_valist
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_get_valist")
(return-type "none")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkShadowType" "shadow_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
+ '("GtkStateFlags" "state")
+ '("va_list" "args")
)
)
-(define-function gtk_paint_box
- (c-name "gtk_paint_box")
+(define-method get
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_get")
(return-type "none")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkShadowType" "shadow_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
+ '("GtkStateFlags" "state")
)
+ (varargs #t)
)
-(define-function gtk_paint_flat_box
- (c-name "gtk_paint_flat_box")
+(define-method unset_property
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_unset_property")
(return-type "none")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkShadowType" "shadow_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
+ '("const-gchar*" "property")
+ '("GtkStateFlags" "state")
)
)
-(define-function gtk_paint_check
- (c-name "gtk_paint_check")
+(define-method clear
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_clear")
(return-type "none")
- (parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkShadowType" "shadow_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
- )
)
-(define-function gtk_paint_option
- (c-name "gtk_paint_option")
+(define-method merge
+ (of-object "GtkStyleProperties")
+ (c-name "gtk_style_properties_merge")
(return-type "none")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkShadowType" "shadow_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
+ '("const-GtkStyleProperties*" "props_to_merge")
+ '("gboolean" "replace")
)
)
-(define-function gtk_paint_tab
- (c-name "gtk_paint_tab")
- (return-type "none")
+
+
+;; From gtkstylepropertiesprivate.h
+
+
+
+;; From gtkstylepropertyprivate.h
+
+
+
+;; From gtkstyleprovider.h
+
+(define-function gtk_style_provider_get_type
+ (c-name "gtk_style_provider_get_type")
+ (return-type "GType")
+)
+
+(define-method get_style
+ (of-object "GtkStyleProvider")
+ (c-name "gtk_style_provider_get_style")
+ (return-type "GtkStyleProperties*")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkShadowType" "shadow_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
+ '("GtkWidgetPath*" "path")
)
)
-(define-function gtk_paint_shadow_gap
- (c-name "gtk_paint_shadow_gap")
- (return-type "none")
+(define-method get_style_property
+ (of-object "GtkStyleProvider")
+ (c-name "gtk_style_provider_get_style_property")
+ (return-type "gboolean")
(parameters
- '("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")
+ '("GtkWidgetPath*" "path")
+ '("GtkStateFlags" "state")
+ '("GParamSpec*" "pspec")
+ '("GValue*" "value")
)
)
-(define-function gtk_paint_box_gap
- (c-name "gtk_paint_box_gap")
- (return-type "none")
+(define-method get_icon_factory
+ (of-object "GtkStyleProvider")
+ (c-name "gtk_style_provider_get_icon_factory")
+ (return-type "GtkIconFactory*")
(parameters
- '("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")
+ '("GtkWidgetPath*" "path")
)
)
-(define-function gtk_paint_extension
- (c-name "gtk_paint_extension")
+
+
+;; From gtkstyleproviderprivate.h
+
+
+
+;; From gtkswitch.h
+
+(define-function gtk_switch_get_type
+ (c-name "gtk_switch_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_switch_new
+ (c-name "gtk_switch_new")
+ (is-constructor-of "GtkSwitch")
+ (return-type "GtkWidget*")
+)
+
+(define-method set_active
+ (of-object "GtkSwitch")
+ (c-name "gtk_switch_set_active")
(return-type "none")
(parameters
- '("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")
+ '("gboolean" "is_active")
)
)
-(define-function gtk_paint_focus
- (c-name "gtk_paint_focus")
- (return-type "none")
+(define-method get_active
+ (of-object "GtkSwitch")
+ (c-name "gtk_switch_get_active")
+ (return-type "gboolean")
+)
+
+
+
+;; From gtksymboliccolor.h
+
+(define-function gtk_symbolic_color_get_type
+ (c-name "gtk_symbolic_color_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_symbolic_color_new_literal
+ (c-name "gtk_symbolic_color_new_literal")
+ (return-type "GtkSymbolicColor*")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
+ '("const-GdkRGBA*" "color")
)
)
-(define-function gtk_paint_slider
- (c-name "gtk_paint_slider")
- (return-type "none")
+(define-function gtk_symbolic_color_new_name
+ (c-name "gtk_symbolic_color_new_name")
+ (return-type "GtkSymbolicColor*")
(parameters
- '("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")
+ '("const-gchar*" "name")
)
)
-(define-function gtk_paint_handle
- (c-name "gtk_paint_handle")
- (return-type "none")
+(define-method new_shade
+ (of-object "GtkSymbolicColor")
+ (c-name "gtk_symbolic_color_new_shade")
+ (return-type "GtkSymbolicColor*")
(parameters
- '("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")
+ '("gdouble" "factor")
)
)
-(define-function gtk_paint_expander
- (c-name "gtk_paint_expander")
- (return-type "none")
+(define-method new_alpha
+ (of-object "GtkSymbolicColor")
+ (c-name "gtk_symbolic_color_new_alpha")
+ (return-type "GtkSymbolicColor*")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x")
- '("gint" "y")
- '("GtkExpanderStyle" "expander_style")
+ '("gdouble" "factor")
)
)
-(define-function gtk_paint_layout
- (c-name "gtk_paint_layout")
- (return-type "none")
+(define-method new_mix
+ (of-object "GtkSymbolicColor")
+ (c-name "gtk_symbolic_color_new_mix")
+ (return-type "GtkSymbolicColor*")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("gboolean" "use_text")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("gint" "x")
- '("gint" "y")
- '("PangoLayout*" "layout")
+ '("GtkSymbolicColor*" "color2")
+ '("gdouble" "factor")
)
)
-(define-function gtk_paint_resize_grip
- (c-name "gtk_paint_resize_grip")
- (return-type "none")
+(define-function gtk_symbolic_color_new_win32
+ (c-name "gtk_symbolic_color_new_win32")
+ (return-type "GtkSymbolicColor*")
(parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("GdkWindowEdge" "edge")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
+ '("const-gchar*" "theme_class")
+ '("gint" "id")
)
)
-(define-function gtk_paint_spinner
- (c-name "gtk_paint_spinner")
- (return-type "none")
- (parameters
- '("GtkStyle*" "style")
- '("cairo_t*" "cr")
- '("GtkStateType" "state_type")
- '("GtkWidget*" "widget")
- '("const-gchar*" "detail")
- '("guint" "step")
- '("gint" "x")
- '("gint" "y")
- '("gint" "width")
- '("gint" "height")
- )
+(define-method ref
+ (of-object "GtkSymbolicColor")
+ (c-name "gtk_symbolic_color_ref")
+ (return-type "GtkSymbolicColor*")
)
-(define-method get_style_property
- (of-object "GtkStyle")
- (c-name "gtk_style_get_style_property")
+(define-method unref
+ (of-object "GtkSymbolicColor")
+ (c-name "gtk_symbolic_color_unref")
(return-type "none")
- (parameters
- '("GType" "widget_type")
- '("const-gchar*" "property_name")
- '("GValue*" "value")
- )
)
-(define-method get_valist
- (of-object "GtkStyle")
- (c-name "gtk_style_get_valist")
- (return-type "none")
- (parameters
- '("GType" "widget_type")
- '("const-gchar*" "first_property_name")
- '("va_list" "var_args")
- )
+(define-method to_string
+ (of-object "GtkSymbolicColor")
+ (c-name "gtk_symbolic_color_to_string")
+ (return-type "char*")
)
-(define-method get
- (of-object "GtkStyle")
- (c-name "gtk_style_get")
- (return-type "none")
+(define-method resolve
+ (of-object "GtkSymbolicColor")
+ (c-name "gtk_symbolic_color_resolve")
+ (return-type "gboolean")
(parameters
- '("GType" "widget_type")
- '("const-gchar*" "first_property_name")
+ '("GtkStyleProperties*" "props")
+ '("GdkRGBA*" "resolved_color")
)
- (varargs #t)
)
-(define-function gtk_draw_insertion_cursor
- (c-name "gtk_draw_insertion_cursor")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("cairo_t*" "cr")
- '("const-GdkRectangle*" "location")
- '("gboolean" "is_primary")
- '("GtkTextDirection" "direction")
- '("gboolean" "draw_arrow")
- )
-)
-(define-method has_context
- (of-object "GtkStyle")
- (c-name "gtk_style_has_context")
- (return-type "gboolean")
-)
+;; From gtksymboliccolorprivate.h
-;; From gtkstyleproperties.h
-(define-function gtk_style_properties_get_type
- (c-name "gtk_style_properties_get_type")
- (return-type "GType")
-)
+;; From gtktestutils.h
-(define-function gtk_style_properties_register_property
- (c-name "gtk_style_properties_register_property")
+(define-function gtk_test_init
+ (c-name "gtk_test_init")
(return-type "none")
(parameters
- '("GtkStylePropertyParser" "parse_func")
- '("GParamSpec*" "pspec")
- )
-)
-
-(define-function gtk_style_properties_lookup_property
- (c-name "gtk_style_properties_lookup_property")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "property_name")
- '("GtkStylePropertyParser*" "parse_func")
- '("GParamSpec**" "pspec")
+ '("int*" "argcp")
+ '("char***" "argvp")
)
+ (varargs #t)
)
-(define-function gtk_style_properties_new
- (c-name "gtk_style_properties_new")
- (is-constructor-of "GtkStyleProperties")
- (return-type "GtkStyleProperties*")
+(define-function gtk_test_register_all_types
+ (c-name "gtk_test_register_all_types")
+ (return-type "none")
)
-(define-method map_color
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_map_color")
- (return-type "none")
+(define-function gtk_test_list_all_types
+ (c-name "gtk_test_list_all_types")
+ (return-type "const-GType*")
(parameters
- '("const-gchar*" "name")
- '("GtkSymbolicColor*" "color")
+ '("guint*" "n_types")
)
)
-(define-method lookup_color
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_lookup_color")
- (return-type "GtkSymbolicColor*")
+(define-function gtk_test_find_widget
+ (c-name "gtk_test_find_widget")
+ (return-type "GtkWidget*")
(parameters
- '("const-gchar*" "name")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "label_pattern")
+ '("GType" "widget_type")
)
)
-(define-method set_property
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_set_property")
- (return-type "none")
+(define-function gtk_test_create_widget
+ (c-name "gtk_test_create_widget")
+ (return-type "GtkWidget*")
(parameters
- '("const-gchar*" "property")
- '("GtkStateFlags" "state")
- '("const-GValue*" "value")
+ '("GType" "widget_type")
+ '("const-gchar*" "first_property_name")
)
+ (varargs #t)
)
-(define-method set_valist
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_set_valist")
- (return-type "none")
+(define-function gtk_test_create_simple_window
+ (c-name "gtk_test_create_simple_window")
+ (return-type "GtkWidget*")
(parameters
- '("GtkStateFlags" "state")
- '("va_list" "args")
+ '("const-gchar*" "window_title")
+ '("const-gchar*" "dialog_text")
)
)
-(define-method set
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_set")
- (return-type "none")
+(define-function gtk_test_display_button_window
+ (c-name "gtk_test_display_button_window")
+ (return-type "GtkWidget*")
(parameters
- '("GtkStateFlags" "state")
+ '("const-gchar*" "window_title")
+ '("const-gchar*" "dialog_text")
)
(varargs #t)
)
-(define-method get_property
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_get_property")
- (return-type "gboolean")
+(define-function gtk_test_slider_set_perc
+ (c-name "gtk_test_slider_set_perc")
+ (return-type "none")
(parameters
- '("const-gchar*" "property")
- '("GtkStateFlags" "state")
- '("GValue*" "value")
+ '("GtkWidget*" "widget")
+ '("double" "percentage")
)
)
-(define-method get_valist
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_get_valist")
- (return-type "none")
+(define-function gtk_test_slider_get_value
+ (c-name "gtk_test_slider_get_value")
+ (return-type "double")
(parameters
- '("GtkStateFlags" "state")
- '("va_list" "args")
+ '("GtkWidget*" "widget")
)
)
-(define-method get
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_get")
- (return-type "none")
+(define-function gtk_test_spin_button_click
+ (c-name "gtk_test_spin_button_click")
+ (return-type "gboolean")
(parameters
- '("GtkStateFlags" "state")
+ '("GtkSpinButton*" "spinner")
+ '("guint" "button")
+ '("gboolean" "upwards")
)
- (varargs #t)
)
-(define-method unset_property
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_unset_property")
- (return-type "none")
+(define-function gtk_test_widget_click
+ (c-name "gtk_test_widget_click")
+ (return-type "gboolean")
(parameters
- '("const-gchar*" "property")
- '("GtkStateFlags" "state")
+ '("GtkWidget*" "widget")
+ '("guint" "button")
+ '("GdkModifierType" "modifiers")
)
)
-(define-method clear
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_clear")
- (return-type "none")
+(define-function gtk_test_widget_send_key
+ (c-name "gtk_test_widget_send_key")
+ (return-type "gboolean")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("guint" "keyval")
+ '("GdkModifierType" "modifiers")
+ )
)
-(define-method merge
- (of-object "GtkStyleProperties")
- (c-name "gtk_style_properties_merge")
+(define-function gtk_test_text_set
+ (c-name "gtk_test_text_set")
(return-type "none")
(parameters
- '("const-GtkStyleProperties*" "props_to_merge")
- '("gboolean" "replace")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "string")
)
)
-
-
-;; From gtkstyleprovider.h
-
-(define-function gtk_style_provider_get_type
- (c-name "gtk_style_provider_get_type")
- (return-type "GType")
-)
-
-(define-method get_style
- (of-object "GtkStyleProvider")
- (c-name "gtk_style_provider_get_style")
- (return-type "GtkStyleProperties*")
+(define-function gtk_test_text_get
+ (c-name "gtk_test_text_get")
+ (return-type "gchar*")
(parameters
- '("GtkWidgetPath*" "path")
+ '("GtkWidget*" "widget")
)
)
-(define-method get_style_property
- (of-object "GtkStyleProvider")
- (c-name "gtk_style_provider_get_style_property")
- (return-type "gboolean")
+(define-function gtk_test_find_sibling
+ (c-name "gtk_test_find_sibling")
+ (return-type "GtkWidget*")
(parameters
- '("GtkWidgetPath*" "path")
- '("GtkStateFlags" "state")
- '("GParamSpec*" "pspec")
- '("GValue*" "value")
+ '("GtkWidget*" "base_widget")
+ '("GType" "widget_type")
)
)
-(define-method get_icon_factory
- (of-object "GtkStyleProvider")
- (c-name "gtk_style_provider_get_icon_factory")
- (return-type "GtkIconFactory*")
+(define-function gtk_test_find_label
+ (c-name "gtk_test_find_label")
+ (return-type "GtkWidget*")
(parameters
- '("GtkWidgetPath*" "path")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "label_pattern")
)
)
-;; From gtkswitch.h
+;; From gtktextattributes.h
-(define-function gtk_switch_get_type
- (c-name "gtk_switch_get_type")
- (return-type "GType")
+(define-function gtk_text_attributes_new
+ (c-name "gtk_text_attributes_new")
+ (is-constructor-of "GtkTextAttributes")
+ (return-type "GtkTextAttributes*")
)
-(define-function gtk_switch_new
- (c-name "gtk_switch_new")
- (is-constructor-of "GtkSwitch")
- (return-type "GtkWidget*")
+(define-method copy
+ (of-object "GtkTextAttributes")
+ (c-name "gtk_text_attributes_copy")
+ (return-type "GtkTextAttributes*")
)
-(define-method set_active
- (of-object "GtkSwitch")
- (c-name "gtk_switch_set_active")
+(define-method copy_values
+ (of-object "GtkTextAttributes")
+ (c-name "gtk_text_attributes_copy_values")
(return-type "none")
(parameters
- '("gboolean" "is_active")
+ '("GtkTextAttributes*" "dest")
)
)
-(define-method get_active
- (of-object "GtkSwitch")
- (c-name "gtk_switch_get_active")
- (return-type "gboolean")
+(define-method unref
+ (of-object "GtkTextAttributes")
+ (c-name "gtk_text_attributes_unref")
+ (return-type "none")
+)
+
+(define-method ref
+ (of-object "GtkTextAttributes")
+ (c-name "gtk_text_attributes_ref")
+ (return-type "GtkTextAttributes*")
)
+(define-function gtk_text_attributes_get_type
+ (c-name "gtk_text_attributes_get_type")
+ (return-type "GType")
+)
-;; From gtksymboliccolor.h
-(define-function gtk_symbolic_color_get_type
- (c-name "gtk_symbolic_color_get_type")
+;; From gtktextbtree.h
+
+
+
+;; From gtktextbuffer.h
+
+(define-function gtk_text_buffer_get_type
+ (c-name "gtk_text_buffer_get_type")
(return-type "GType")
)
-(define-function gtk_symbolic_color_new_literal
- (c-name "gtk_symbolic_color_new_literal")
- (return-type "GtkSymbolicColor*")
+(define-function gtk_text_buffer_new
+ (c-name "gtk_text_buffer_new")
+ (is-constructor-of "GtkTextBuffer")
+ (return-type "GtkTextBuffer*")
(parameters
- '("const-GdkRGBA*" "color")
+ '("GtkTextTagTable*" "table")
)
)
-(define-function gtk_symbolic_color_new_name
- (c-name "gtk_symbolic_color_new_name")
- (return-type "GtkSymbolicColor*")
- (parameters
- '("const-gchar*" "name")
- )
+(define-method get_line_count
+ (of-object "GtkTextBuffer")
+ (c-name "gtk_text_buffer_get_line_count")
+ (return-type "gint")
)
-(define-method new_shade
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_new_shade")
- (return-type "GtkSymbolicColor*")
- (parameters
- '("gdouble" "factor")
- )
+(define-method get_char_count
+ (of-object "GtkTextBuffer")
+ (c-name "gtk_text_buffer_get_char_count")
+ (return-type "gint")
)
-(define-method new_alpha
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_new_alpha")
- (return-type "GtkSymbolicColor*")
- (parameters
- '("gdouble" "factor")
- )
+(define-method get_tag_table
+ (of-object "GtkTextBuffer")
+ (c-name "gtk_text_buffer_get_tag_table")
+ (return-type "GtkTextTagTable*")
)
-(define-method new_mix
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_new_mix")
- (return-type "GtkSymbolicColor*")
+(define-method set_text
+ (of-object "GtkTextBuffer")
+ (c-name "gtk_text_buffer_set_text")
+ (return-type "none")
(parameters
- '("GtkSymbolicColor*" "color2")
- '("gdouble" "factor")
+ '("const-gchar*" "text")
+ '("gint" "len")
)
)
-(define-method ref
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_ref")
- (return-type "GtkSymbolicColor*")
-)
-
-(define-method unref
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_unref")
+(define-method insert
+ (of-object "GtkTextBuffer")
+ (c-name "gtk_text_buffer_insert")
(return-type "none")
-)
-
-(define-method to_string
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_to_string")
- (return-type "char*")
-)
-
-(define-method resolve
- (of-object "GtkSymbolicColor")
- (c-name "gtk_symbolic_color_resolve")
- (return-type "gboolean")
(parameters
- '("GtkStyleProperties*" "props")
- '("GdkRGBA*" "resolved_color")
+ '("GtkTextIter*" "iter")
+ '("const-gchar*" "text")
+ '("gint" "len")
)
)
-
-
-;; From gtktable.h
-
-(define-function gtk_table_get_type
- (c-name "gtk_table_get_type")
- (return-type "GType")
+(define-method insert_at_cursor
+ (of-object "GtkTextBuffer")
+ (c-name "gtk_text_buffer_insert_at_cursor")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "text")
+ '("gint" "len")
+ )
)
-(define-function gtk_table_new
- (c-name "gtk_table_new")
- (is-constructor-of "GtkTable")
- (return-type "GtkWidget*")
+(define-method insert_interactive
+ (of-object "GtkTextBuffer")
+ (c-name "gtk_text_buffer_insert_interactive")
+ (return-type "gboolean")
(parameters
- '("guint" "rows")
- '("guint" "columns")
- '("gboolean" "homogeneous")
+ '("GtkTextIter*" "iter")
+ '("const-gchar*" "text")
+ '("gint" "len")
+ '("gboolean" "default_editable")
)
)
-(define-method resize
- (of-object "GtkTable")
- (c-name "gtk_table_resize")
- (return-type "none")
+(define-method insert_interactive_at_cursor
+ (of-object "GtkTextBuffer")
+ (c-name "gtk_text_buffer_insert_interactive_at_cursor")
+ (return-type "gboolean")
(parameters
- '("guint" "rows")
- '("guint" "columns")
+ '("const-gchar*" "text")
+ '("gint" "len")
+ '("gboolean" "default_editable")
)
)
-(define-method attach
- (of-object "GtkTable")
- (c-name "gtk_table_attach")
+(define-method insert_range
+ (of-object "GtkTextBuffer")
+ (c-name "gtk_text_buffer_insert_range")
(return-type "none")
(parameters
- '("GtkWidget*" "child")
- '("guint" "left_attach")
- '("guint" "right_attach")
- '("guint" "top_attach")
- '("guint" "bottom_attach")
- '("GtkAttachOptions" "xoptions")
- '("GtkAttachOptions" "yoptions")
- '("guint" "xpadding")
- '("guint" "ypadding")
- )
-)
-
-(define-method attach_defaults
- (of-object "GtkTable")
- (c-name "gtk_table_attach_defaults")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("guint" "left_attach")
- '("guint" "right_attach")
- '("guint" "top_attach")
- '("guint" "bottom_attach")
- )
-)
-
-(define-method set_row_spacing
- (of-object "GtkTable")
- (c-name "gtk_table_set_row_spacing")
- (return-type "none")
- (parameters
- '("guint" "row")
- '("guint" "spacing")
- )
-)
-
-(define-method get_row_spacing
- (of-object "GtkTable")
- (c-name "gtk_table_get_row_spacing")
- (return-type "guint")
- (parameters
- '("guint" "row")
- )
-)
-
-(define-method set_col_spacing
- (of-object "GtkTable")
- (c-name "gtk_table_set_col_spacing")
- (return-type "none")
- (parameters
- '("guint" "column")
- '("guint" "spacing")
- )
-)
-
-(define-method get_col_spacing
- (of-object "GtkTable")
- (c-name "gtk_table_get_col_spacing")
- (return-type "guint")
- (parameters
- '("guint" "column")
- )
-)
-
-(define-method set_row_spacings
- (of-object "GtkTable")
- (c-name "gtk_table_set_row_spacings")
- (return-type "none")
- (parameters
- '("guint" "spacing")
- )
-)
-
-(define-method get_default_row_spacing
- (of-object "GtkTable")
- (c-name "gtk_table_get_default_row_spacing")
- (return-type "guint")
-)
-
-(define-method set_col_spacings
- (of-object "GtkTable")
- (c-name "gtk_table_set_col_spacings")
- (return-type "none")
- (parameters
- '("guint" "spacing")
- )
-)
-
-(define-method get_default_col_spacing
- (of-object "GtkTable")
- (c-name "gtk_table_get_default_col_spacing")
- (return-type "guint")
-)
-
-(define-method set_homogeneous
- (of-object "GtkTable")
- (c-name "gtk_table_set_homogeneous")
- (return-type "none")
- (parameters
- '("gboolean" "homogeneous")
- )
-)
-
-(define-method get_homogeneous
- (of-object "GtkTable")
- (c-name "gtk_table_get_homogeneous")
- (return-type "gboolean")
-)
-
-(define-method get_size
- (of-object "GtkTable")
- (c-name "gtk_table_get_size")
- (return-type "none")
- (parameters
- '("guint*" "rows")
- '("guint*" "columns")
- )
-)
-
-
-
-;; From gtktearoffmenuitem.h
-
-(define-function gtk_tearoff_menu_item_get_type
- (c-name "gtk_tearoff_menu_item_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_tearoff_menu_item_new
- (c-name "gtk_tearoff_menu_item_new")
- (is-constructor-of "GtkTearoffMenuItem")
- (return-type "GtkWidget*")
-)
-
-
-
-;; From gtktestutils.h
-
-(define-function gtk_test_init
- (c-name "gtk_test_init")
- (return-type "none")
- (parameters
- '("int*" "argcp")
- '("char***" "argvp")
- )
- (varargs #t)
-)
-
-(define-function gtk_test_register_all_types
- (c-name "gtk_test_register_all_types")
- (return-type "none")
-)
-
-(define-function gtk_test_list_all_types
- (c-name "gtk_test_list_all_types")
- (return-type "const-GType*")
- (parameters
- '("guint*" "n_types")
- )
-)
-
-(define-function gtk_test_find_widget
- (c-name "gtk_test_find_widget")
- (return-type "GtkWidget*")
- (parameters
- '("GtkWidget*" "widget")
- '("const-gchar*" "label_pattern")
- '("GType" "widget_type")
- )
-)
-
-(define-function gtk_test_create_widget
- (c-name "gtk_test_create_widget")
- (return-type "GtkWidget*")
- (parameters
- '("GType" "widget_type")
- '("const-gchar*" "first_property_name")
- )
- (varargs #t)
-)
-
-(define-function gtk_test_create_simple_window
- (c-name "gtk_test_create_simple_window")
- (return-type "GtkWidget*")
- (parameters
- '("const-gchar*" "window_title")
- '("const-gchar*" "dialog_text")
- )
-)
-
-(define-function gtk_test_display_button_window
- (c-name "gtk_test_display_button_window")
- (return-type "GtkWidget*")
- (parameters
- '("const-gchar*" "window_title")
- '("const-gchar*" "dialog_text")
- )
- (varargs #t)
-)
-
-(define-function gtk_test_slider_set_perc
- (c-name "gtk_test_slider_set_perc")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("double" "percentage")
- )
-)
-
-(define-function gtk_test_slider_get_value
- (c-name "gtk_test_slider_get_value")
- (return-type "double")
- (parameters
- '("GtkWidget*" "widget")
- )
-)
-
-(define-function gtk_test_spin_button_click
- (c-name "gtk_test_spin_button_click")
- (return-type "gboolean")
- (parameters
- '("GtkSpinButton*" "spinner")
- '("guint" "button")
- '("gboolean" "upwards")
- )
-)
-
-(define-function gtk_test_widget_click
- (c-name "gtk_test_widget_click")
- (return-type "gboolean")
- (parameters
- '("GtkWidget*" "widget")
- '("guint" "button")
- '("GdkModifierType" "modifiers")
- )
-)
-
-(define-function gtk_test_widget_send_key
- (c-name "gtk_test_widget_send_key")
- (return-type "gboolean")
- (parameters
- '("GtkWidget*" "widget")
- '("guint" "keyval")
- '("GdkModifierType" "modifiers")
- )
-)
-
-(define-function gtk_test_text_set
- (c-name "gtk_test_text_set")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("const-gchar*" "string")
- )
-)
-
-(define-function gtk_test_text_get
- (c-name "gtk_test_text_get")
- (return-type "gchar*")
- (parameters
- '("GtkWidget*" "widget")
- )
-)
-
-(define-function gtk_test_find_sibling
- (c-name "gtk_test_find_sibling")
- (return-type "GtkWidget*")
- (parameters
- '("GtkWidget*" "base_widget")
- '("GType" "widget_type")
- )
-)
-
-(define-function gtk_test_find_label
- (c-name "gtk_test_find_label")
- (return-type "GtkWidget*")
- (parameters
- '("GtkWidget*" "widget")
- '("const-gchar*" "label_pattern")
- )
-)
-
-
-
-;; From gtktextattributes.h
-
-(define-function gtk_text_attributes_new
- (c-name "gtk_text_attributes_new")
- (is-constructor-of "GtkTextAttributes")
- (return-type "GtkTextAttributes*")
-)
-
-(define-method copy
- (of-object "GtkTextAttributes")
- (c-name "gtk_text_attributes_copy")
- (return-type "GtkTextAttributes*")
-)
-
-(define-method copy_values
- (of-object "GtkTextAttributes")
- (c-name "gtk_text_attributes_copy_values")
- (return-type "none")
- (parameters
- '("GtkTextAttributes*" "dest")
- )
-)
-
-(define-method unref
- (of-object "GtkTextAttributes")
- (c-name "gtk_text_attributes_unref")
- (return-type "none")
-)
-
-(define-method ref
- (of-object "GtkTextAttributes")
- (c-name "gtk_text_attributes_ref")
- (return-type "GtkTextAttributes*")
-)
-
-(define-function gtk_text_attributes_get_type
- (c-name "gtk_text_attributes_get_type")
- (return-type "GType")
-)
-
-
-
-;; From gtktextbuffer.h
-
-(define-function gtk_text_buffer_get_type
- (c-name "gtk_text_buffer_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_text_buffer_new
- (c-name "gtk_text_buffer_new")
- (is-constructor-of "GtkTextBuffer")
- (return-type "GtkTextBuffer*")
- (parameters
- '("GtkTextTagTable*" "table")
- )
-)
-
-(define-method get_line_count
- (of-object "GtkTextBuffer")
- (c-name "gtk_text_buffer_get_line_count")
- (return-type "gint")
-)
-
-(define-method get_char_count
- (of-object "GtkTextBuffer")
- (c-name "gtk_text_buffer_get_char_count")
- (return-type "gint")
-)
-
-(define-method get_tag_table
- (of-object "GtkTextBuffer")
- (c-name "gtk_text_buffer_get_tag_table")
- (return-type "GtkTextTagTable*")
-)
-
-(define-method set_text
- (of-object "GtkTextBuffer")
- (c-name "gtk_text_buffer_set_text")
- (return-type "none")
- (parameters
- '("const-gchar*" "text")
- '("gint" "len")
- )
-)
-
-(define-method insert
- (of-object "GtkTextBuffer")
- (c-name "gtk_text_buffer_insert")
- (return-type "none")
- (parameters
- '("GtkTextIter*" "iter")
- '("const-gchar*" "text")
- '("gint" "len")
- )
-)
-
-(define-method insert_at_cursor
- (of-object "GtkTextBuffer")
- (c-name "gtk_text_buffer_insert_at_cursor")
- (return-type "none")
- (parameters
- '("const-gchar*" "text")
- '("gint" "len")
- )
-)
-
-(define-method insert_interactive
- (of-object "GtkTextBuffer")
- (c-name "gtk_text_buffer_insert_interactive")
- (return-type "gboolean")
- (parameters
- '("GtkTextIter*" "iter")
- '("const-gchar*" "text")
- '("gint" "len")
- '("gboolean" "default_editable")
- )
-)
-
-(define-method insert_interactive_at_cursor
- (of-object "GtkTextBuffer")
- (c-name "gtk_text_buffer_insert_interactive_at_cursor")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "text")
- '("gint" "len")
- '("gboolean" "default_editable")
- )
-)
-
-(define-method insert_range
- (of-object "GtkTextBuffer")
- (c-name "gtk_text_buffer_insert_range")
- (return-type "none")
- (parameters
- '("GtkTextIter*" "iter")
- '("const-GtkTextIter*" "start")
- '("const-GtkTextIter*" "end")
+ '("GtkTextIter*" "iter")
+ '("const-GtkTextIter*" "start")
+ '("const-GtkTextIter*" "end")
)
)
@@ -23646,6 +24689,10 @@
+;; From gtktextbufferserialize.h
+
+
+
;; From gtktextchild.h
(define-function gtk_text_child_anchor_get_type
@@ -23673,6 +24720,10 @@
+;; From gtktextchildprivate.h
+
+
+
;; From gtktextdisplay.h
(define-method draw
@@ -24391,6 +25442,10 @@
+;; From gtktextiterprivate.h
+
+
+
;; From gtktextlayout.h
(define-function gtk_text_layout_get_type
@@ -24894,6 +25949,22 @@
+;; From gtktextmarkprivate.h
+
+
+
+;; From gtktextsegment.h
+
+(define-function gtk_text_line_segment_split
+ (c-name "gtk_text_line_segment_split")
+ (return-type "GtkTextLineSegment*")
+ (parameters
+ '("const-GtkTextIter*" "iter")
+ )
+)
+
+
+
;; From gtktexttag.h
(define-function gtk_text_tag_get_type
@@ -24938,6 +26009,10 @@
+;; From gtktexttagprivate.h
+
+
+
;; From gtktexttagtable.h
(define-function gtk_text_tag_table_get_type
@@ -24996,6 +26071,27 @@
+;; From gtktexttypes.h
+
+(define-function gtk_text_unknown_char_utf8_gtk_tests_only
+ (c-name "gtk_text_unknown_char_utf8_gtk_tests_only")
+ (return-type "const-gchar*")
+)
+
+(define-function gtk_text_byte_begins_utf8_char
+ (c-name "gtk_text_byte_begins_utf8_char")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "byte")
+ )
+)
+
+
+
+;; From gtktextutil.h
+
+
+
;; From gtktextview.h
(define-function gtk_text_view_get_type
@@ -25538,6 +26634,10 @@
+;; From gtkthemingbackgroundprivate.h
+
+
+
;; From gtkthemingengine.h
(define-function gtk_theming_engine_get_type
@@ -25762,6 +26862,14 @@
+;; From gtkthemingengineprivate.h
+
+
+
+;; From gtktimeline.h
+
+
+
;; From gtktoggleaction.h
(define-function gtk_toggle_action_get_type
@@ -26729,6 +27837,10 @@
+;; From gtktoolpaletteprivate.h
+
+
+
;; From gtktoolshell.h
(define-function gtk_tool_shell_get_type
@@ -26884,6 +27996,19 @@
+;; From gtktrayicon.h
+
+(define-function gtk_tray_icon_get_type
+ (c-name "gtk_tray_icon_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From gtktreedatalist.h
+
+
+
;; From gtktreednd.h
(define-function gtk_tree_drag_source_get_type
@@ -26966,6 +28091,10 @@
+;; From gtktreemenu.h
+
+
+
;; From gtktreemodelfilter.h
(define-function gtk_tree_model_filter_get_type
@@ -27648,6 +28777,10 @@
+;; From gtktreeprivate.h
+
+
+
;; From gtktreeselection.h
(define-function gtk_tree_selection_get_type
@@ -28734,6 +29867,12 @@
)
)
+(define-method get_n_columns
+ (of-object "GtkTreeView")
+ (c-name "gtk_tree_view_get_n_columns")
+ (return-type "guint")
+)
+
(define-method get_column
(of-object "GtkTreeView")
(c-name "gtk_tree_view_get_column")
@@ -29446,6 +30585,11 @@
(return-type "GType")
)
+(define-function gtk_application_inhibit_flags_get_type
+ (c-name "gtk_application_inhibit_flags_get_type")
+ (return-type "GType")
+)
+
(define-function gtk_assistant_page_type_get_type
(c-name "gtk_assistant_page_type_get_type")
(return-type "GType")
@@ -29846,16 +30990,6 @@
(return-type "GType")
)
-(define-function gtk_rc_flags_get_type
- (c-name "gtk_rc_flags_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_rc_token_type_get_type
- (c-name "gtk_rc_token_type_get_type")
- (return-type "GType")
-)
-
(define-function gtk_recent_sort_type_get_type
(c-name "gtk_recent_sort_type_get_type")
(return-type "GType")
@@ -29941,12 +31075,13 @@
(return-type "GType")
)
+(define-function gtk_rc_flags_get_type
+ (c-name "gtk_rc_flags_get_type")
+ (return-type "GType")
+)
-
-;; From gtktypeutils.h
-
-(define-function gtk_identifier_get_type
- (c-name "gtk_identifier_get_type")
+(define-function gtk_rc_token_type_get_type
+ (c-name "gtk_rc_token_type_get_type")
(return-type "GType")
)
@@ -30059,6 +31194,16 @@
)
)
+(define-method add_ui_from_resource
+ (of-object "GtkUIManager")
+ (c-name "gtk_ui_manager_add_ui_from_resource")
+ (return-type "guint")
+ (parameters
+ '("const-gchar*" "resource_path")
+ '("GError**" "error")
+ )
+)
+
(define-method add_ui
(of-object "GtkUIManager")
(c-name "gtk_ui_manager_add_ui")
@@ -30102,37 +31247,7 @@
-;; From gtkvbbox.h
-
-(define-function gtk_vbutton_box_get_type
- (c-name "gtk_vbutton_box_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_vbutton_box_new
- (c-name "gtk_vbutton_box_new")
- (is-constructor-of "GtkVbuttonBox")
- (return-type "GtkWidget*")
-)
-
-
-
-;; From gtkvbox.h
-
-(define-function gtk_vbox_get_type
- (c-name "gtk_vbox_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_vbox_new
- (c-name "gtk_vbox_new")
- (is-constructor-of "GtkVbox")
- (return-type "GtkWidget*")
- (parameters
- '("gboolean" "homogeneous")
- '("gint" "spacing")
- )
-)
+;; From gtkunixprint.h
@@ -30231,82 +31346,6 @@
-;; From gtkvpaned.h
-
-(define-function gtk_vpaned_get_type
- (c-name "gtk_vpaned_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_vpaned_new
- (c-name "gtk_vpaned_new")
- (is-constructor-of "GtkVpaned")
- (return-type "GtkWidget*")
-)
-
-
-
-;; From gtkvscale.h
-
-(define-function gtk_vscale_get_type
- (c-name "gtk_vscale_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_vscale_new
- (c-name "gtk_vscale_new")
- (is-constructor-of "GtkVscale")
- (return-type "GtkWidget*")
- (parameters
- '("GtkAdjustment*" "adjustment")
- )
-)
-
-(define-function gtk_vscale_new_with_range
- (c-name "gtk_vscale_new_with_range")
- (return-type "GtkWidget*")
- (parameters
- '("gdouble" "min")
- '("gdouble" "max")
- '("gdouble" "step")
- )
-)
-
-
-
-;; From gtkvscrollbar.h
-
-(define-function gtk_vscrollbar_get_type
- (c-name "gtk_vscrollbar_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_vscrollbar_new
- (c-name "gtk_vscrollbar_new")
- (is-constructor-of "GtkVscrollbar")
- (return-type "GtkWidget*")
- (parameters
- '("GtkAdjustment*" "adjustment")
- )
-)
-
-
-
-;; From gtkvseparator.h
-
-(define-function gtk_vseparator_get_type
- (c-name "gtk_vseparator_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_vseparator_new
- (c-name "gtk_vseparator_new")
- (is-constructor-of "GtkVseparator")
- (return-type "GtkWidget*")
-)
-
-
-
;; From gtkwidget.h
(define-function gtk_widget_get_type
@@ -31546,157 +32585,6 @@
(return-type "none")
)
-(define-method style_attach
- (of-object "GtkWidget")
- (c-name "gtk_widget_style_attach")
- (return-type "none")
-)
-
-(define-method has_rc_style
- (of-object "GtkWidget")
- (c-name "gtk_widget_has_rc_style")
- (return-type "gboolean")
-)
-
-(define-method set_style
- (of-object "GtkWidget")
- (c-name "gtk_widget_set_style")
- (return-type "none")
- (parameters
- '("GtkStyle*" "style")
- )
-)
-
-(define-method ensure_style
- (of-object "GtkWidget")
- (c-name "gtk_widget_ensure_style")
- (return-type "none")
-)
-
-(define-method get_style
- (of-object "GtkWidget")
- (c-name "gtk_widget_get_style")
- (return-type "GtkStyle*")
-)
-
-(define-method modify_style
- (of-object "GtkWidget")
- (c-name "gtk_widget_modify_style")
- (return-type "none")
- (parameters
- '("GtkRcStyle*" "style")
- )
-)
-
-(define-method get_modifier_style
- (of-object "GtkWidget")
- (c-name "gtk_widget_get_modifier_style")
- (return-type "GtkRcStyle*")
-)
-
-(define-method modify_fg
- (of-object "GtkWidget")
- (c-name "gtk_widget_modify_fg")
- (return-type "none")
- (parameters
- '("GtkStateType" "state")
- '("const-GdkColor*" "color")
- )
-)
-
-(define-method modify_bg
- (of-object "GtkWidget")
- (c-name "gtk_widget_modify_bg")
- (return-type "none")
- (parameters
- '("GtkStateType" "state")
- '("const-GdkColor*" "color")
- )
-)
-
-(define-method modify_text
- (of-object "GtkWidget")
- (c-name "gtk_widget_modify_text")
- (return-type "none")
- (parameters
- '("GtkStateType" "state")
- '("const-GdkColor*" "color")
- )
-)
-
-(define-method modify_base
- (of-object "GtkWidget")
- (c-name "gtk_widget_modify_base")
- (return-type "none")
- (parameters
- '("GtkStateType" "state")
- '("const-GdkColor*" "color")
- )
-)
-
-(define-method modify_cursor
- (of-object "GtkWidget")
- (c-name "gtk_widget_modify_cursor")
- (return-type "none")
- (parameters
- '("const-GdkColor*" "primary")
- '("const-GdkColor*" "secondary")
- )
-)
-
-(define-method modify_font
- (of-object "GtkWidget")
- (c-name "gtk_widget_modify_font")
- (return-type "none")
- (parameters
- '("PangoFontDescription*" "font_desc")
- )
-)
-
-(define-method reset_rc_styles
- (of-object "GtkWidget")
- (c-name "gtk_widget_reset_rc_styles")
- (return-type "none")
-)
-
-(define-function gtk_widget_get_default_style
- (c-name "gtk_widget_get_default_style")
- (return-type "GtkStyle*")
-)
-
-(define-method path
- (of-object "GtkWidget")
- (c-name "gtk_widget_path")
- (return-type "none")
- (parameters
- '("guint*" "path_length")
- '("gchar**" "path")
- '("gchar**" "path_reversed")
- )
-)
-
-(define-method class_path
- (of-object "GtkWidget")
- (c-name "gtk_widget_class_path")
- (return-type "none")
- (parameters
- '("guint*" "path_length")
- '("gchar**" "path")
- '("gchar**" "path_reversed")
- )
-)
-
-(define-method render_icon
- (of-object "GtkWidget")
- (c-name "gtk_widget_render_icon")
- (return-type "GdkPixbuf*")
- (parameters
- '("const-gchar*" "stock_id")
- '("GtkIconSize" "size")
- '("const-gchar*" "detail")
- )
-)
-
(define-method create_pango_context
(of-object "GtkWidget")
(c-name "gtk_widget_create_pango_context")
@@ -32022,6 +32910,15 @@
(return-type "GtkWidgetPath*")
)
+(define-method get_modifier_mask
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_get_modifier_mask")
+ (return-type "GdkModifierType")
+ (parameters
+ '("GdkModifierIntent" "intent")
+ )
+)
+
;; From gtkwidgetpath.h
@@ -32331,6 +33228,27 @@
+;; From gtkwidgetprivate.h
+
+
+
+;; From gtkwin32embed.h
+
+
+
+;; From gtkwin32embedwidget.h
+
+(define-function gtk_win32_embed_widget_get_type
+ (c-name "gtk_win32_embed_widget_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From gtkwin32themeprivate.h
+
+
+
;; From gtkwindow.h
(define-function gtk_window_get_type
@@ -32480,6 +33398,21 @@
(return-type "GtkWindow*")
)
+(define-method set_attached_to
+ (of-object "GtkWindow")
+ (c-name "gtk_window_set_attached_to")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "attach_widget")
+ )
+)
+
+(define-method get_attached_to
+ (of-object "GtkWindow")
+ (c-name "gtk_window_get_attached_to")
+ (return-type "GtkWidget*")
+)
+
(define-method set_opacity
(of-object "GtkWindow")
(c-name "gtk_window_set_opacity")
@@ -32600,6 +33533,21 @@
(return-type "gboolean")
)
+(define-method set_hide_titlebar_when_maximized
+ (of-object "GtkWindow")
+ (c-name "gtk_window_set_hide_titlebar_when_maximized")
+ (return-type "none")
+ (parameters
+ '("gboolean" "setting")
+ )
+)
+
+(define-method get_hide_titlebar_when_maximized
+ (of-object "GtkWindow")
+ (c-name "gtk_window_get_hide_titlebar_when_maximized")
+ (return-type "gboolean")
+)
+
(define-method set_mnemonics_visible
(of-object "GtkWindow")
(c-name "gtk_window_set_mnemonics_visible")
@@ -33242,620 +34190,1713 @@
+;; From gtkwindowprivate.h
+
+
+
+;; From gtkxembed.h
+
+
+
;; From gtkx.h
-;; From gtkpagesetupunixdialog.h
+;; From stamp-gtkmarshalers.h
-(define-function gtk_page_setup_unix_dialog_get_type
- (c-name "gtk_page_setup_unix_dialog_get_type")
+
+
+;; From stamp-gtkprivatetypebuiltins.h
+
+
+
+;; From stamp-gtktypebuiltins.h
+
+
+
+;; From xembed.h
+
+
+
+;; From gtkcolorseldialog.h
+
+(define-function gtk_color_selection_dialog_get_type
+ (c-name "gtk_color_selection_dialog_get_type")
(return-type "GType")
)
-(define-function gtk_page_setup_unix_dialog_new
- (c-name "gtk_page_setup_unix_dialog_new")
- (is-constructor-of "GtkPageSetupUnixDialog")
+(define-function gtk_color_selection_dialog_new
+ (c-name "gtk_color_selection_dialog_new")
+ (is-constructor-of "GtkColorSelectionDialog")
(return-type "GtkWidget*")
(parameters
'("const-gchar*" "title")
- '("GtkWindow*" "parent")
)
)
-(define-method set_page_setup
- (of-object "GtkPageSetupUnixDialog")
- (c-name "gtk_page_setup_unix_dialog_set_page_setup")
+(define-method get_color_selection
+ (of-object "GtkColorSelectionDialog")
+ (c-name "gtk_color_selection_dialog_get_color_selection")
+ (return-type "GtkWidget*")
+)
+
+
+
+;; From gtkcolorsel.h
+
+(define-function gtk_color_selection_get_type
+ (c-name "gtk_color_selection_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_color_selection_new
+ (c-name "gtk_color_selection_new")
+ (is-constructor-of "GtkColorSelection")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_has_opacity_control
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_get_has_opacity_control")
+ (return-type "gboolean")
+)
+
+(define-method set_has_opacity_control
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_set_has_opacity_control")
(return-type "none")
(parameters
- '("GtkPageSetup*" "page_setup")
+ '("gboolean" "has_opacity")
)
)
-(define-method get_page_setup
- (of-object "GtkPageSetupUnixDialog")
- (c-name "gtk_page_setup_unix_dialog_get_page_setup")
- (return-type "GtkPageSetup*")
+(define-method get_has_palette
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_get_has_palette")
+ (return-type "gboolean")
)
-(define-method set_print_settings
- (of-object "GtkPageSetupUnixDialog")
- (c-name "gtk_page_setup_unix_dialog_set_print_settings")
+(define-method set_has_palette
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_set_has_palette")
(return-type "none")
(parameters
- '("GtkPrintSettings*" "print_settings")
+ '("gboolean" "has_palette")
)
)
-(define-method get_print_settings
- (of-object "GtkPageSetupUnixDialog")
- (c-name "gtk_page_setup_unix_dialog_get_print_settings")
- (return-type "GtkPrintSettings*")
+(define-method set_current_alpha
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_set_current_alpha")
+ (return-type "none")
+ (parameters
+ '("guint16" "alpha")
+ )
)
+(define-method get_current_alpha
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_get_current_alpha")
+ (return-type "guint16")
+)
+(define-method set_previous_alpha
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_set_previous_alpha")
+ (return-type "none")
+ (parameters
+ '("guint16" "alpha")
+ )
+)
-;; From gtkprinter.h
+(define-method get_previous_alpha
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_get_previous_alpha")
+ (return-type "guint16")
+)
-(define-function gtk_print_capabilities_get_type
- (c-name "gtk_print_capabilities_get_type")
- (return-type "GType")
+(define-method set_current_rgba
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_set_current_rgba")
+ (return-type "none")
+ (parameters
+ '("const-GdkRGBA*" "rgba")
+ )
)
-(define-function gtk_printer_get_type
- (c-name "gtk_printer_get_type")
- (return-type "GType")
+(define-method get_current_rgba
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_get_current_rgba")
+ (return-type "none")
+ (parameters
+ '("GdkRGBA*" "rgba")
+ )
)
-(define-function gtk_printer_new
- (c-name "gtk_printer_new")
- (is-constructor-of "GtkPrinter")
- (return-type "GtkPrinter*")
+(define-method set_previous_rgba
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_set_previous_rgba")
+ (return-type "none")
(parameters
- '("const-gchar*" "name")
- '("GtkPrintBackend*" "backend")
- '("gboolean" "virtual_")
+ '("const-GdkRGBA*" "rgba")
)
)
-(define-method get_backend
- (of-object "GtkPrinter")
- (c-name "gtk_printer_get_backend")
- (return-type "GtkPrintBackend*")
+(define-method get_previous_rgba
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_get_previous_rgba")
+ (return-type "none")
+ (parameters
+ '("GdkRGBA*" "rgba")
+ )
)
-(define-method get_name
- (of-object "GtkPrinter")
- (c-name "gtk_printer_get_name")
- (return-type "const-gchar*")
+(define-method is_adjusting
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_is_adjusting")
+ (return-type "gboolean")
)
-(define-method get_state_message
- (of-object "GtkPrinter")
- (c-name "gtk_printer_get_state_message")
- (return-type "const-gchar*")
+(define-function gtk_color_selection_palette_from_string
+ (c-name "gtk_color_selection_palette_from_string")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "str")
+ '("GdkColor**" "colors")
+ '("gint*" "n_colors")
+ )
)
-(define-method get_description
- (of-object "GtkPrinter")
- (c-name "gtk_printer_get_description")
- (return-type "const-gchar*")
+(define-function gtk_color_selection_palette_to_string
+ (c-name "gtk_color_selection_palette_to_string")
+ (return-type "gchar*")
+ (parameters
+ '("const-GdkColor*" "colors")
+ '("gint" "n_colors")
+ )
)
-(define-method get_location
- (of-object "GtkPrinter")
- (c-name "gtk_printer_get_location")
- (return-type "const-gchar*")
+(define-function gtk_color_selection_set_change_palette_with_screen_hook
+ (c-name "gtk_color_selection_set_change_palette_with_screen_hook")
+ (return-type "GtkColorSelectionChangePaletteWithScreenFunc")
+ (parameters
+ '("GtkColorSelectionChangePaletteWithScreenFunc" "func")
+ )
)
-(define-method get_icon_name
- (of-object "GtkPrinter")
- (c-name "gtk_printer_get_icon_name")
- (return-type "const-gchar*")
+(define-method set_current_color
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_set_current_color")
+ (return-type "none")
+ (parameters
+ '("const-GdkColor*" "color")
+ )
)
-(define-method get_job_count
- (of-object "GtkPrinter")
- (c-name "gtk_printer_get_job_count")
+(define-method get_current_color
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_get_current_color")
+ (return-type "none")
+ (parameters
+ '("GdkColor*" "color")
+ )
+)
+
+(define-method set_previous_color
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_set_previous_color")
+ (return-type "none")
+ (parameters
+ '("const-GdkColor*" "color")
+ )
+)
+
+(define-method get_previous_color
+ (of-object "GtkColorSelection")
+ (c-name "gtk_color_selection_get_previous_color")
+ (return-type "none")
+ (parameters
+ '("GdkColor*" "color")
+ )
+)
+
+
+
+;; From gtkfontsel.h
+
+(define-function gtk_font_selection_get_type
+ (c-name "gtk_font_selection_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_font_selection_new
+ (c-name "gtk_font_selection_new")
+ (is-constructor-of "GtkFontSelection")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_family_list
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_get_family_list")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_face_list
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_get_face_list")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_size_entry
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_get_size_entry")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_size_list
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_get_size_list")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_preview_entry
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_get_preview_entry")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_family
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_get_family")
+ (return-type "PangoFontFamily*")
+)
+
+(define-method get_face
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_get_face")
+ (return-type "PangoFontFace*")
+)
+
+(define-method get_size
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_get_size")
(return-type "gint")
)
-(define-method is_active
- (of-object "GtkPrinter")
- (c-name "gtk_printer_is_active")
- (return-type "gboolean")
+(define-method get_font_name
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_get_font_name")
+ (return-type "gchar*")
)
-(define-method is_paused
- (of-object "GtkPrinter")
- (c-name "gtk_printer_is_paused")
+(define-method set_font_name
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_set_font_name")
(return-type "gboolean")
+ (parameters
+ '("const-gchar*" "fontname")
+ )
)
-(define-method is_accepting_jobs
- (of-object "GtkPrinter")
- (c-name "gtk_printer_is_accepting_jobs")
- (return-type "gboolean")
+(define-method get_preview_text
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_get_preview_text")
+ (return-type "const-gchar*")
)
-(define-method is_virtual
- (of-object "GtkPrinter")
- (c-name "gtk_printer_is_virtual")
- (return-type "gboolean")
+(define-method set_preview_text
+ (of-object "GtkFontSelection")
+ (c-name "gtk_font_selection_set_preview_text")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "text")
+ )
)
-(define-method is_default
- (of-object "GtkPrinter")
- (c-name "gtk_printer_is_default")
- (return-type "gboolean")
+(define-function gtk_font_selection_dialog_get_type
+ (c-name "gtk_font_selection_dialog_get_type")
+ (return-type "GType")
)
-(define-method accepts_pdf
- (of-object "GtkPrinter")
- (c-name "gtk_printer_accepts_pdf")
- (return-type "gboolean")
+(define-function gtk_font_selection_dialog_new
+ (c-name "gtk_font_selection_dialog_new")
+ (is-constructor-of "GtkFontSelectionDialog")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "title")
+ )
)
-(define-method accepts_ps
- (of-object "GtkPrinter")
- (c-name "gtk_printer_accepts_ps")
+(define-method get_ok_button
+ (of-object "GtkFontSelectionDialog")
+ (c-name "gtk_font_selection_dialog_get_ok_button")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_cancel_button
+ (of-object "GtkFontSelectionDialog")
+ (c-name "gtk_font_selection_dialog_get_cancel_button")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_font_selection
+ (of-object "GtkFontSelectionDialog")
+ (c-name "gtk_font_selection_dialog_get_font_selection")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_font_name
+ (of-object "GtkFontSelectionDialog")
+ (c-name "gtk_font_selection_dialog_get_font_name")
+ (return-type "gchar*")
+)
+
+(define-method set_font_name
+ (of-object "GtkFontSelectionDialog")
+ (c-name "gtk_font_selection_dialog_set_font_name")
(return-type "gboolean")
+ (parameters
+ '("const-gchar*" "fontname")
+ )
)
-(define-method list_papers
- (of-object "GtkPrinter")
- (c-name "gtk_printer_list_papers")
- (return-type "GList*")
+(define-method get_preview_text
+ (of-object "GtkFontSelectionDialog")
+ (c-name "gtk_font_selection_dialog_get_preview_text")
+ (return-type "const-gchar*")
)
-(define-method get_default_page_size
- (of-object "GtkPrinter")
- (c-name "gtk_printer_get_default_page_size")
- (return-type "GtkPageSetup*")
+(define-method set_preview_text
+ (of-object "GtkFontSelectionDialog")
+ (c-name "gtk_font_selection_dialog_set_preview_text")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "text")
+ )
)
-(define-method compare
- (of-object "GtkPrinter")
- (c-name "gtk_printer_compare")
- (return-type "gint")
+
+
+;; From gtkhandlebox.h
+
+(define-function gtk_handle_box_get_type
+ (c-name "gtk_handle_box_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_handle_box_new
+ (c-name "gtk_handle_box_new")
+ (is-constructor-of "GtkHandleBox")
+ (return-type "GtkWidget*")
+)
+
+(define-method set_shadow_type
+ (of-object "GtkHandleBox")
+ (c-name "gtk_handle_box_set_shadow_type")
+ (return-type "none")
(parameters
- '("GtkPrinter*" "b")
+ '("GtkShadowType" "type")
)
)
-(define-method has_details
- (of-object "GtkPrinter")
- (c-name "gtk_printer_has_details")
- (return-type "gboolean")
+(define-method get_shadow_type
+ (of-object "GtkHandleBox")
+ (c-name "gtk_handle_box_get_shadow_type")
+ (return-type "GtkShadowType")
)
-(define-method request_details
- (of-object "GtkPrinter")
- (c-name "gtk_printer_request_details")
+(define-method set_handle_position
+ (of-object "GtkHandleBox")
+ (c-name "gtk_handle_box_set_handle_position")
(return-type "none")
+ (parameters
+ '("GtkPositionType" "position")
+ )
)
-(define-method get_capabilities
- (of-object "GtkPrinter")
- (c-name "gtk_printer_get_capabilities")
- (return-type "GtkPrintCapabilities")
+(define-method get_handle_position
+ (of-object "GtkHandleBox")
+ (c-name "gtk_handle_box_get_handle_position")
+ (return-type "GtkPositionType")
)
-(define-method get_hard_margins
- (of-object "GtkPrinter")
- (c-name "gtk_printer_get_hard_margins")
- (return-type "gboolean")
+(define-method set_snap_edge
+ (of-object "GtkHandleBox")
+ (c-name "gtk_handle_box_set_snap_edge")
+ (return-type "none")
(parameters
- '("gdouble*" "top")
- '("gdouble*" "bottom")
- '("gdouble*" "left")
- '("gdouble*" "right")
+ '("GtkPositionType" "edge")
)
)
-(define-function gtk_enumerate_printers
- (c-name "gtk_enumerate_printers")
+(define-method get_snap_edge
+ (of-object "GtkHandleBox")
+ (c-name "gtk_handle_box_get_snap_edge")
+ (return-type "GtkPositionType")
+)
+
+(define-method get_child_detached
+ (of-object "GtkHandleBox")
+ (c-name "gtk_handle_box_get_child_detached")
+ (return-type "gboolean")
+)
+
+
+
+;; From gtkhbbox.h
+
+(define-function gtk_hbutton_box_get_type
+ (c-name "gtk_hbutton_box_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_hbutton_box_new
+ (c-name "gtk_hbutton_box_new")
+ (is-constructor-of "GtkHbuttonBox")
+ (return-type "GtkWidget*")
+)
+
+
+
+;; From gtkhbox.h
+
+(define-function gtk_hbox_get_type
+ (c-name "gtk_hbox_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_hbox_new
+ (c-name "gtk_hbox_new")
+ (is-constructor-of "GtkHbox")
+ (return-type "GtkWidget*")
+ (parameters
+ '("gboolean" "homogeneous")
+ '("gint" "spacing")
+ )
+)
+
+
+
+;; From gtkhpaned.h
+
+(define-function gtk_hpaned_get_type
+ (c-name "gtk_hpaned_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_hpaned_new
+ (c-name "gtk_hpaned_new")
+ (is-constructor-of "GtkHpaned")
+ (return-type "GtkWidget*")
+)
+
+
+
+;; From gtkhscale.h
+
+(define-function gtk_hscale_get_type
+ (c-name "gtk_hscale_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_hscale_new
+ (c-name "gtk_hscale_new")
+ (is-constructor-of "GtkHscale")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkAdjustment*" "adjustment")
+ )
+)
+
+(define-function gtk_hscale_new_with_range
+ (c-name "gtk_hscale_new_with_range")
+ (return-type "GtkWidget*")
+ (parameters
+ '("gdouble" "min")
+ '("gdouble" "max")
+ '("gdouble" "step")
+ )
+)
+
+
+
+;; From gtkhscrollbar.h
+
+(define-function gtk_hscrollbar_get_type
+ (c-name "gtk_hscrollbar_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_hscrollbar_new
+ (c-name "gtk_hscrollbar_new")
+ (is-constructor-of "GtkHscrollbar")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkAdjustment*" "adjustment")
+ )
+)
+
+
+
+;; From gtkhseparator.h
+
+(define-function gtk_hseparator_get_type
+ (c-name "gtk_hseparator_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_hseparator_new
+ (c-name "gtk_hseparator_new")
+ (is-constructor-of "GtkHseparator")
+ (return-type "GtkWidget*")
+)
+
+
+
+;; From gtkhsv.h
+
+(define-function gtk_hsv_get_type
+ (c-name "gtk_hsv_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_hsv_new
+ (c-name "gtk_hsv_new")
+ (is-constructor-of "GtkHsv")
+ (return-type "GtkWidget*")
+)
+
+(define-method set_color
+ (of-object "GtkHSV")
+ (c-name "gtk_hsv_set_color")
+ (return-type "none")
+ (parameters
+ '("double" "h")
+ '("double" "s")
+ '("double" "v")
+ )
+)
+
+(define-method get_color
+ (of-object "GtkHSV")
+ (c-name "gtk_hsv_get_color")
+ (return-type "none")
+ (parameters
+ '("gdouble*" "h")
+ '("gdouble*" "s")
+ '("gdouble*" "v")
+ )
+)
+
+(define-method set_metrics
+ (of-object "GtkHSV")
+ (c-name "gtk_hsv_set_metrics")
+ (return-type "none")
+ (parameters
+ '("gint" "size")
+ '("gint" "ring_width")
+ )
+)
+
+(define-method get_metrics
+ (of-object "GtkHSV")
+ (c-name "gtk_hsv_get_metrics")
+ (return-type "none")
+ (parameters
+ '("gint*" "size")
+ '("gint*" "ring_width")
+ )
+)
+
+(define-method is_adjusting
+ (of-object "GtkHSV")
+ (c-name "gtk_hsv_is_adjusting")
+ (return-type "gboolean")
+)
+
+
+
+;; From gtkrc.h
+
+(define-function gtk_rc_add_default_file
+ (c-name "gtk_rc_add_default_file")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "filename")
+ )
+)
+
+(define-function gtk_rc_set_default_files
+ (c-name "gtk_rc_set_default_files")
+ (return-type "none")
+ (parameters
+ '("gchar**" "filenames")
+ )
+)
+
+(define-function gtk_rc_get_default_files
+ (c-name "gtk_rc_get_default_files")
+ (return-type "gchar**")
+)
+
+(define-function gtk_rc_get_style
+ (c-name "gtk_rc_get_style")
+ (return-type "GtkStyle*")
+ (parameters
+ '("GtkWidget*" "widget")
+ )
+)
+
+(define-function gtk_rc_get_style_by_paths
+ (c-name "gtk_rc_get_style_by_paths")
+ (return-type "GtkStyle*")
+ (parameters
+ '("GtkSettings*" "settings")
+ '("const-char*" "widget_path")
+ '("const-char*" "class_path")
+ '("GType" "type")
+ )
+)
+
+(define-function gtk_rc_reparse_all_for_settings
+ (c-name "gtk_rc_reparse_all_for_settings")
+ (return-type "gboolean")
+ (parameters
+ '("GtkSettings*" "settings")
+ '("gboolean" "force_load")
+ )
+)
+
+(define-function gtk_rc_reset_styles
+ (c-name "gtk_rc_reset_styles")
+ (return-type "none")
+ (parameters
+ '("GtkSettings*" "settings")
+ )
+)
+
+(define-function gtk_rc_find_pixmap_in_path
+ (c-name "gtk_rc_find_pixmap_in_path")
+ (return-type "gchar*")
+ (parameters
+ '("GtkSettings*" "settings")
+ '("GScanner*" "scanner")
+ '("const-gchar*" "pixmap_file")
+ )
+)
+
+(define-function gtk_rc_parse
+ (c-name "gtk_rc_parse")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "filename")
+ )
+)
+
+(define-function gtk_rc_parse_string
+ (c-name "gtk_rc_parse_string")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "rc_string")
+ )
+)
+
+(define-function gtk_rc_reparse_all
+ (c-name "gtk_rc_reparse_all")
+ (return-type "gboolean")
+)
+
+(define-function gtk_rc_style_get_type
+ (c-name "gtk_rc_style_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_rc_style_new
+ (c-name "gtk_rc_style_new")
+ (is-constructor-of "GtkRcStyle")
+ (return-type "GtkRcStyle*")
+)
+
+(define-method copy
+ (of-object "GtkRcStyle")
+ (c-name "gtk_rc_style_copy")
+ (return-type "GtkRcStyle*")
+)
+
+(define-function gtk_rc_find_module_in_path
+ (c-name "gtk_rc_find_module_in_path")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "module_file")
+ )
+)
+
+(define-function gtk_rc_get_theme_dir
+ (c-name "gtk_rc_get_theme_dir")
+ (return-type "gchar*")
+)
+
+(define-function gtk_rc_get_module_dir
+ (c-name "gtk_rc_get_module_dir")
+ (return-type "gchar*")
+)
+
+(define-function gtk_rc_get_im_module_path
+ (c-name "gtk_rc_get_im_module_path")
+ (return-type "gchar*")
+)
+
+(define-function gtk_rc_get_im_module_file
+ (c-name "gtk_rc_get_im_module_file")
+ (return-type "gchar*")
+)
+
+(define-function gtk_rc_scanner_new
+ (c-name "gtk_rc_scanner_new")
+ (is-constructor-of "GtkRcScanner")
+ (return-type "GScanner*")
+)
+
+(define-function gtk_rc_parse_color
+ (c-name "gtk_rc_parse_color")
+ (return-type "guint")
+ (parameters
+ '("GScanner*" "scanner")
+ '("GdkColor*" "color")
+ )
+)
+
+(define-function gtk_rc_parse_color_full
+ (c-name "gtk_rc_parse_color_full")
+ (return-type "guint")
+ (parameters
+ '("GScanner*" "scanner")
+ '("GtkRcStyle*" "style")
+ '("GdkColor*" "color")
+ )
+)
+
+(define-function gtk_rc_parse_state
+ (c-name "gtk_rc_parse_state")
+ (return-type "guint")
+ (parameters
+ '("GScanner*" "scanner")
+ '("GtkStateType*" "state")
+ )
+)
+
+(define-function gtk_rc_parse_priority
+ (c-name "gtk_rc_parse_priority")
+ (return-type "guint")
+ (parameters
+ '("GScanner*" "scanner")
+ '("GtkPathPriorityType*" "priority")
+ )
+)
+
+
+
+;; From gtkstyle.h
+
+(define-function gtk_style_get_type
+ (c-name "gtk_style_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_style_new
+ (c-name "gtk_style_new")
+ (is-constructor-of "GtkStyle")
+ (return-type "GtkStyle*")
+)
+
+(define-method copy
+ (of-object "GtkStyle")
+ (c-name "gtk_style_copy")
+ (return-type "GtkStyle*")
+)
+
+(define-method attach
+ (of-object "GtkStyle")
+ (c-name "gtk_style_attach")
+ (return-type "GtkStyle*")
+ (parameters
+ '("GdkWindow*" "window")
+ )
+)
+
+(define-method detach
+ (of-object "GtkStyle")
+ (c-name "gtk_style_detach")
+ (return-type "none")
+)
+
+(define-method set_background
+ (of-object "GtkStyle")
+ (c-name "gtk_style_set_background")
+ (return-type "none")
+ (parameters
+ '("GdkWindow*" "window")
+ '("GtkStateType" "state_type")
+ )
+)
+
+(define-method apply_default_background
+ (of-object "GtkStyle")
+ (c-name "gtk_style_apply_default_background")
+ (return-type "none")
+ (parameters
+ '("cairo_t*" "cr")
+ '("GdkWindow*" "window")
+ '("GtkStateType" "state_type")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-method lookup_icon_set
+ (of-object "GtkStyle")
+ (c-name "gtk_style_lookup_icon_set")
+ (return-type "GtkIconSet*")
+ (parameters
+ '("const-gchar*" "stock_id")
+ )
+)
+
+(define-method lookup_color
+ (of-object "GtkStyle")
+ (c-name "gtk_style_lookup_color")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "color_name")
+ '("GdkColor*" "color")
+ )
+)
+
+(define-method render_icon
+ (of-object "GtkStyle")
+ (c-name "gtk_style_render_icon")
+ (return-type "GdkPixbuf*")
+ (parameters
+ '("const-GtkIconSource*" "source")
+ '("GtkTextDirection" "direction")
+ '("GtkStateType" "state")
+ '("GtkIconSize" "size")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ )
+)
+
+(define-function gtk_paint_hline
+ (c-name "gtk_paint_hline")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x1")
+ '("gint" "x2")
+ '("gint" "y")
+ )
+)
+
+(define-function gtk_paint_vline
+ (c-name "gtk_paint_vline")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "y1_")
+ '("gint" "y2_")
+ '("gint" "x")
+ )
+)
+
+(define-function gtk_paint_shadow
+ (c-name "gtk_paint_shadow")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkShadowType" "shadow_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-function gtk_paint_arrow
+ (c-name "gtk_paint_arrow")
+ (return-type "none")
+ (parameters
+ '("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")
+ )
+)
+
+(define-function gtk_paint_diamond
+ (c-name "gtk_paint_diamond")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkShadowType" "shadow_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-function gtk_paint_box
+ (c-name "gtk_paint_box")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkShadowType" "shadow_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-function gtk_paint_flat_box
+ (c-name "gtk_paint_flat_box")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkShadowType" "shadow_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-function gtk_paint_check
+ (c-name "gtk_paint_check")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkShadowType" "shadow_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-function gtk_paint_option
+ (c-name "gtk_paint_option")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkShadowType" "shadow_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-function gtk_paint_tab
+ (c-name "gtk_paint_tab")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkShadowType" "shadow_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-function gtk_paint_shadow_gap
+ (c-name "gtk_paint_shadow_gap")
+ (return-type "none")
+ (parameters
+ '("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")
+ )
+)
+
+(define-function gtk_paint_box_gap
+ (c-name "gtk_paint_box_gap")
+ (return-type "none")
+ (parameters
+ '("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")
+ )
+)
+
+(define-function gtk_paint_extension
+ (c-name "gtk_paint_extension")
+ (return-type "none")
+ (parameters
+ '("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")
+ )
+)
+
+(define-function gtk_paint_focus
+ (c-name "gtk_paint_focus")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-function gtk_paint_slider
+ (c-name "gtk_paint_slider")
+ (return-type "none")
+ (parameters
+ '("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")
+ )
+)
+
+(define-function gtk_paint_handle
+ (c-name "gtk_paint_handle")
+ (return-type "none")
+ (parameters
+ '("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")
+ )
+)
+
+(define-function gtk_paint_expander
+ (c-name "gtk_paint_expander")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x")
+ '("gint" "y")
+ '("GtkExpanderStyle" "expander_style")
+ )
+)
+
+(define-function gtk_paint_layout
+ (c-name "gtk_paint_layout")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("gboolean" "use_text")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("gint" "x")
+ '("gint" "y")
+ '("PangoLayout*" "layout")
+ )
+)
+
+(define-function gtk_paint_resize_grip
+ (c-name "gtk_paint_resize_grip")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("GdkWindowEdge" "edge")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-function gtk_paint_spinner
+ (c-name "gtk_paint_spinner")
+ (return-type "none")
+ (parameters
+ '("GtkStyle*" "style")
+ '("cairo_t*" "cr")
+ '("GtkStateType" "state_type")
+ '("GtkWidget*" "widget")
+ '("const-gchar*" "detail")
+ '("guint" "step")
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
+(define-method get_style_property
+ (of-object "GtkStyle")
+ (c-name "gtk_style_get_style_property")
+ (return-type "none")
+ (parameters
+ '("GType" "widget_type")
+ '("const-gchar*" "property_name")
+ '("GValue*" "value")
+ )
+)
+
+(define-method get_valist
+ (of-object "GtkStyle")
+ (c-name "gtk_style_get_valist")
+ (return-type "none")
+ (parameters
+ '("GType" "widget_type")
+ '("const-gchar*" "first_property_name")
+ '("va_list" "var_args")
+ )
+)
+
+(define-method get
+ (of-object "GtkStyle")
+ (c-name "gtk_style_get")
+ (return-type "none")
+ (parameters
+ '("GType" "widget_type")
+ '("const-gchar*" "first_property_name")
+ )
+ (varargs #t)
+)
+
+(define-method has_context
+ (of-object "GtkStyle")
+ (c-name "gtk_style_has_context")
+ (return-type "gboolean")
+)
+
+(define-method style_attach
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_style_attach")
+ (return-type "none")
+)
+
+(define-method has_rc_style
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_has_rc_style")
+ (return-type "gboolean")
+)
+
+(define-method set_style
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_set_style")
(return-type "none")
(parameters
- '("GtkPrinterFunc" "func")
- '("gpointer" "data")
- '("GDestroyNotify" "destroy")
- '("gboolean" "wait")
+ '("GtkStyle*" "style")
)
)
+(define-method ensure_style
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_ensure_style")
+ (return-type "none")
+)
-
-;; From gtkprintjob.h
-
-(define-function gtk_print_job_get_type
- (c-name "gtk_print_job_get_type")
- (return-type "GType")
+(define-method get_style
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_get_style")
+ (return-type "GtkStyle*")
)
-(define-function gtk_print_job_new
- (c-name "gtk_print_job_new")
- (is-constructor-of "GtkPrintJob")
- (return-type "GtkPrintJob*")
+(define-method modify_style
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_modify_style")
+ (return-type "none")
(parameters
- '("const-gchar*" "title")
- '("GtkPrinter*" "printer")
- '("GtkPrintSettings*" "settings")
- '("GtkPageSetup*" "page_setup")
+ '("GtkRcStyle*" "style")
)
)
-(define-method get_settings
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_settings")
- (return-type "GtkPrintSettings*")
-)
-
-(define-method get_printer
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_printer")
- (return-type "GtkPrinter*")
-)
-
-(define-method get_title
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_title")
- (return-type "const-gchar*")
+(define-method get_modifier_style
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_get_modifier_style")
+ (return-type "GtkRcStyle*")
)
-(define-method get_status
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_status")
- (return-type "GtkPrintStatus")
+(define-method modify_fg
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_modify_fg")
+ (return-type "none")
+ (parameters
+ '("GtkStateType" "state")
+ '("const-GdkColor*" "color")
+ )
)
-(define-method set_source_file
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_source_file")
- (return-type "gboolean")
+(define-method modify_bg
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_modify_bg")
+ (return-type "none")
(parameters
- '("const-gchar*" "filename")
- '("GError**" "error")
+ '("GtkStateType" "state")
+ '("const-GdkColor*" "color")
)
)
-(define-method get_surface
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_surface")
- (return-type "cairo_surface_t*")
+(define-method modify_text
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_modify_text")
+ (return-type "none")
(parameters
- '("GError**" "error")
+ '("GtkStateType" "state")
+ '("const-GdkColor*" "color")
)
)
-(define-method set_track_print_status
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_track_print_status")
+(define-method modify_base
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_modify_base")
(return-type "none")
(parameters
- '("gboolean" "track_status")
+ '("GtkStateType" "state")
+ '("const-GdkColor*" "color")
)
)
-(define-method get_track_print_status
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_track_print_status")
- (return-type "gboolean")
+(define-method modify_cursor
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_modify_cursor")
+ (return-type "none")
+ (parameters
+ '("const-GdkColor*" "primary")
+ '("const-GdkColor*" "secondary")
+ )
)
-(define-method send
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_send")
+(define-method modify_font
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_modify_font")
(return-type "none")
(parameters
- '("GtkPrintJobCompleteFunc" "callback")
- '("gpointer" "user_data")
- '("GDestroyNotify" "dnotify")
+ '("PangoFontDescription*" "font_desc")
)
)
-(define-method get_pages
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_pages")
- (return-type "GtkPrintPages")
+(define-method reset_rc_styles
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_reset_rc_styles")
+ (return-type "none")
)
-(define-method set_pages
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_pages")
+(define-function gtk_widget_get_default_style
+ (c-name "gtk_widget_get_default_style")
+ (return-type "GtkStyle*")
+)
+
+(define-method path
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_path")
(return-type "none")
(parameters
- '("GtkPrintPages" "pages")
+ '("guint*" "path_length")
+ '("gchar**" "path")
+ '("gchar**" "path_reversed")
)
)
-(define-method get_page_ranges
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_page_ranges")
- (return-type "GtkPageRange*")
+(define-method class_path
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_class_path")
+ (return-type "none")
(parameters
- '("gint*" "n_ranges")
+ '("guint*" "path_length")
+ '("gchar**" "path")
+ '("gchar**" "path_reversed")
)
)
-(define-method set_page_ranges
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_page_ranges")
- (return-type "none")
+(define-method render_icon
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_render_icon")
+ (return-type "GdkPixbuf*")
(parameters
- '("GtkPageRange*" "ranges")
- '("gint" "n_ranges")
+ '("const-gchar*" "stock_id")
+ '("GtkIconSize" "size")
+ '("const-gchar*" "detail")
)
)
-(define-method get_page_set
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_page_set")
- (return-type "GtkPageSet")
+
+
+;; From gtktable.h
+
+(define-function gtk_table_get_type
+ (c-name "gtk_table_get_type")
+ (return-type "GType")
)
-(define-method set_page_set
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_page_set")
- (return-type "none")
+(define-function gtk_table_new
+ (c-name "gtk_table_new")
+ (is-constructor-of "GtkTable")
+ (return-type "GtkWidget*")
(parameters
- '("GtkPageSet" "page_set")
+ '("guint" "rows")
+ '("guint" "columns")
+ '("gboolean" "homogeneous")
)
)
-(define-method get_num_copies
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_num_copies")
- (return-type "gint")
+(define-method resize
+ (of-object "GtkTable")
+ (c-name "gtk_table_resize")
+ (return-type "none")
+ (parameters
+ '("guint" "rows")
+ '("guint" "columns")
+ )
)
-(define-method set_num_copies
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_num_copies")
+(define-method attach
+ (of-object "GtkTable")
+ (c-name "gtk_table_attach")
(return-type "none")
(parameters
- '("gint" "num_copies")
+ '("GtkWidget*" "child")
+ '("guint" "left_attach")
+ '("guint" "right_attach")
+ '("guint" "top_attach")
+ '("guint" "bottom_attach")
+ '("GtkAttachOptions" "xoptions")
+ '("GtkAttachOptions" "yoptions")
+ '("guint" "xpadding")
+ '("guint" "ypadding")
)
)
-(define-method get_scale
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_scale")
- (return-type "gdouble")
+(define-method attach_defaults
+ (of-object "GtkTable")
+ (c-name "gtk_table_attach_defaults")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("guint" "left_attach")
+ '("guint" "right_attach")
+ '("guint" "top_attach")
+ '("guint" "bottom_attach")
+ )
)
-(define-method set_scale
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_scale")
+(define-method set_row_spacing
+ (of-object "GtkTable")
+ (c-name "gtk_table_set_row_spacing")
(return-type "none")
(parameters
- '("gdouble" "scale")
+ '("guint" "row")
+ '("guint" "spacing")
)
)
-(define-method get_n_up
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_n_up")
+(define-method get_row_spacing
+ (of-object "GtkTable")
+ (c-name "gtk_table_get_row_spacing")
(return-type "guint")
+ (parameters
+ '("guint" "row")
+ )
)
-(define-method set_n_up
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_n_up")
+(define-method set_col_spacing
+ (of-object "GtkTable")
+ (c-name "gtk_table_set_col_spacing")
(return-type "none")
(parameters
- '("guint" "n_up")
+ '("guint" "column")
+ '("guint" "spacing")
)
)
-(define-method get_n_up_layout
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_n_up_layout")
- (return-type "GtkNumberUpLayout")
+(define-method get_col_spacing
+ (of-object "GtkTable")
+ (c-name "gtk_table_get_col_spacing")
+ (return-type "guint")
+ (parameters
+ '("guint" "column")
+ )
)
-(define-method set_n_up_layout
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_n_up_layout")
+(define-method set_row_spacings
+ (of-object "GtkTable")
+ (c-name "gtk_table_set_row_spacings")
(return-type "none")
(parameters
- '("GtkNumberUpLayout" "layout")
+ '("guint" "spacing")
)
)
-(define-method get_rotate
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_rotate")
- (return-type "gboolean")
+(define-method get_default_row_spacing
+ (of-object "GtkTable")
+ (c-name "gtk_table_get_default_row_spacing")
+ (return-type "guint")
)
-(define-method set_rotate
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_rotate")
+(define-method set_col_spacings
+ (of-object "GtkTable")
+ (c-name "gtk_table_set_col_spacings")
(return-type "none")
(parameters
- '("gboolean" "rotate")
+ '("guint" "spacing")
)
)
-(define-method get_collate
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_collate")
- (return-type "gboolean")
+(define-method get_default_col_spacing
+ (of-object "GtkTable")
+ (c-name "gtk_table_get_default_col_spacing")
+ (return-type "guint")
)
-(define-method set_collate
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_collate")
+(define-method set_homogeneous
+ (of-object "GtkTable")
+ (c-name "gtk_table_set_homogeneous")
(return-type "none")
(parameters
- '("gboolean" "collate")
+ '("gboolean" "homogeneous")
)
)
-(define-method get_reverse
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_get_reverse")
+(define-method get_homogeneous
+ (of-object "GtkTable")
+ (c-name "gtk_table_get_homogeneous")
(return-type "gboolean")
)
-(define-method set_reverse
- (of-object "GtkPrintJob")
- (c-name "gtk_print_job_set_reverse")
+(define-method get_size
+ (of-object "GtkTable")
+ (c-name "gtk_table_get_size")
(return-type "none")
(parameters
- '("gboolean" "reverse")
+ '("guint*" "rows")
+ '("guint*" "columns")
)
)
-;; From gtkprintunixdialog.h
+;; From gtktearoffmenuitem.h
-(define-function gtk_print_unix_dialog_get_type
- (c-name "gtk_print_unix_dialog_get_type")
+(define-function gtk_tearoff_menu_item_get_type
+ (c-name "gtk_tearoff_menu_item_get_type")
(return-type "GType")
)
-(define-function gtk_print_unix_dialog_new
- (c-name "gtk_print_unix_dialog_new")
- (is-constructor-of "GtkPrintUnixDialog")
+(define-function gtk_tearoff_menu_item_new
+ (c-name "gtk_tearoff_menu_item_new")
+ (is-constructor-of "GtkTearoffMenuItem")
(return-type "GtkWidget*")
- (parameters
- '("const-gchar*" "title")
- '("GtkWindow*" "parent")
- )
)
-(define-method set_page_setup
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_set_page_setup")
- (return-type "none")
- (parameters
- '("GtkPageSetup*" "page_setup")
- )
-)
-(define-method get_page_setup
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_get_page_setup")
- (return-type "GtkPageSetup*")
+
+;; From gtkvbbox.h
+
+(define-function gtk_vbutton_box_get_type
+ (c-name "gtk_vbutton_box_get_type")
+ (return-type "GType")
)
-(define-method set_current_page
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_set_current_page")
- (return-type "none")
- (parameters
- '("gint" "current_page")
- )
+(define-function gtk_vbutton_box_new
+ (c-name "gtk_vbutton_box_new")
+ (is-constructor-of "GtkVbuttonBox")
+ (return-type "GtkWidget*")
)
-(define-method get_current_page
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_get_current_page")
- (return-type "gint")
+
+
+;; From gtkvbox.h
+
+(define-function gtk_vbox_get_type
+ (c-name "gtk_vbox_get_type")
+ (return-type "GType")
)
-(define-method set_settings
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_set_settings")
- (return-type "none")
+(define-function gtk_vbox_new
+ (c-name "gtk_vbox_new")
+ (is-constructor-of "GtkVbox")
+ (return-type "GtkWidget*")
(parameters
- '("GtkPrintSettings*" "settings")
+ '("gboolean" "homogeneous")
+ '("gint" "spacing")
)
)
-(define-method get_settings
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_get_settings")
- (return-type "GtkPrintSettings*")
-)
-(define-method get_selected_printer
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_get_selected_printer")
- (return-type "GtkPrinter*")
-)
-(define-method add_custom_tab
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_add_custom_tab")
- (return-type "none")
- (parameters
- '("GtkWidget*" "child")
- '("GtkWidget*" "tab_label")
- )
+;; From gtkvpaned.h
+
+(define-function gtk_vpaned_get_type
+ (c-name "gtk_vpaned_get_type")
+ (return-type "GType")
)
-(define-method set_manual_capabilities
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_set_manual_capabilities")
- (return-type "none")
- (parameters
- '("GtkPrintCapabilities" "capabilities")
- )
+(define-function gtk_vpaned_new
+ (c-name "gtk_vpaned_new")
+ (is-constructor-of "GtkVpaned")
+ (return-type "GtkWidget*")
)
-(define-method get_manual_capabilities
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_get_manual_capabilities")
- (return-type "GtkPrintCapabilities")
+
+
+;; From gtkvscale.h
+
+(define-function gtk_vscale_get_type
+ (c-name "gtk_vscale_get_type")
+ (return-type "GType")
)
-(define-method set_support_selection
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_set_support_selection")
- (return-type "none")
+(define-function gtk_vscale_new
+ (c-name "gtk_vscale_new")
+ (is-constructor-of "GtkVscale")
+ (return-type "GtkWidget*")
(parameters
- '("gboolean" "support_selection")
+ '("GtkAdjustment*" "adjustment")
)
)
-(define-method get_support_selection
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_get_support_selection")
- (return-type "gboolean")
-)
-
-(define-method set_has_selection
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_set_has_selection")
- (return-type "none")
+(define-function gtk_vscale_new_with_range
+ (c-name "gtk_vscale_new_with_range")
+ (return-type "GtkWidget*")
(parameters
- '("gboolean" "has_selection")
+ '("gdouble" "min")
+ '("gdouble" "max")
+ '("gdouble" "step")
)
)
-(define-method get_has_selection
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_get_has_selection")
- (return-type "gboolean")
+
+
+;; From gtkvscrollbar.h
+
+(define-function gtk_vscrollbar_get_type
+ (c-name "gtk_vscrollbar_get_type")
+ (return-type "GType")
)
-(define-method set_embed_page_setup
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_set_embed_page_setup")
- (return-type "none")
+(define-function gtk_vscrollbar_new
+ (c-name "gtk_vscrollbar_new")
+ (is-constructor-of "GtkVscrollbar")
+ (return-type "GtkWidget*")
(parameters
- '("gboolean" "embed")
+ '("GtkAdjustment*" "adjustment")
)
)
-(define-method get_embed_page_setup
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_get_embed_page_setup")
- (return-type "gboolean")
-)
-(define-method get_page_setup_set
- (of-object "GtkPrintUnixDialog")
- (c-name "gtk_print_unix_dialog_get_page_setup_set")
- (return-type "gboolean")
-)
+;; From gtkvseparator.h
+(define-function gtk_vseparator_get_type
+ (c-name "gtk_vseparator_get_type")
+ (return-type "GType")
+)
-;; From gtkunixprint.h
+(define-function gtk_vseparator_new
+ (c-name "gtk_vseparator_new")
+ (is-constructor-of "GtkVseparator")
+ (return-type "GtkWidget*")
+)
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 13b1166..7914541 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -673,6 +673,26 @@
(construct-only #f)
)
+;; From GtkActionable
+
+(define-property action-name
+ (of-object "GtkActionable")
+ (prop-type "GParamString")
+ (docs "The name of the associated action, like 'app.quit'")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property action-target
+ (of-object "GtkActionable")
+ (prop-type "GParamVariant")
+ (docs "The parameter for action invocations")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkActivatable
(define-property related-action
@@ -866,6 +886,15 @@
(construct-only #f)
)
+(define-property show-default-item
+ (of-object "GtkAppChooserButton")
+ (prop-type "GParamBoolean")
+ (docs "Whether the combobox should show the default application on top")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property heading
(of-object "GtkAppChooserButton")
(prop-type "GParamString")
@@ -999,6 +1028,39 @@
)
)
+(define-signal quit
+ (of-object "GtkApplication")
+ (return-type "void")
+ (when "first")
+)
+
+(define-property register-session
+ (of-object "GtkApplication")
+ (prop-type "GParamBoolean")
+ (docs "Register with the session manager")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property app-menu
+ (of-object "GtkApplication")
+ (prop-type "GParamObject")
+ (docs "The GMenuModel for the application menu")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property menubar
+ (of-object "GtkApplication")
+ (prop-type "GParamObject")
+ (docs "The GMenuModel for the menubar")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkArrow
(define-property arrow-type
@@ -2766,6 +2828,15 @@
)
)
+(define-signal format-entry-text
+ (of-object "GtkComboBox")
+ (return-type "const-gchar*")
+ (when "last")
+ (parameters
+ '("const-gchar*" "p0")
+ )
+)
+
(define-property model
(of-object "GtkComboBox")
(prop-type "GParamObject")
@@ -4070,7 +4141,7 @@
(define-property title
(of-object "GtkFontButton")
(prop-type "GParamString")
- (docs "The title of the font selection dialog")
+ (docs "The title of the font chooser dialog")
(readable #t)
(writable #t)
(construct-only #f)
@@ -4501,6 +4572,12 @@
(when "last")
)
+(define-signal selection-changed
+ (of-object "GtkIconView")
+ (return-type "void")
+ (when "first")
+)
+
(define-signal item-activated
(of-object "GtkIconView")
(return-type "void")
@@ -4510,12 +4587,6 @@
)
)
-(define-signal selection-changed
- (of-object "GtkIconView")
- (return-type "void")
- (when "first")
-)
-
(define-signal select-cursor-item
(of-object "GtkIconView")
(return-type "void")
@@ -5186,6 +5257,16 @@
)
)
+(define-signal insert
+ (of-object "GtkMenuShell")
+ (return-type "void")
+ (when "first")
+ (parameters
+ '("GtkWidget*" "p0")
+ '("gint" "p1")
+ )
+)
+
(define-property take-focus
(of-object "GtkMenuShell")
(prop-type "GParamBoolean")
@@ -6462,13 +6543,13 @@
;; From GtkRecentChooser
-(define-signal item-activated
+(define-signal selection-changed
(of-object "GtkRecentChooser")
(return-type "void")
(when "last")
)
-(define-signal selection-changed
+(define-signal item-activated
(of-object "GtkRecentChooser")
(return-type "void")
(when "last")
@@ -6634,6 +6715,15 @@
(construct-only #f)
)
+(define-property has-origin
+ (of-object "GtkScale")
+ (prop-type "GParamBoolean")
+ (docs "Whether the scale has an origin")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property value-pos
(of-object "GtkScale")
(prop-type "GParamEnum")
@@ -7354,6 +7444,15 @@
(construct-only #f)
)
+(define-property gtk-visible-focus
+ (of-object "GtkSettings")
+ (prop-type "GParamEnum")
+ (docs "Whether 'focus rectangles' should be hidden until the user starts to use the keyboard.")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property gtk-application-prefer-dark-theme
(of-object "GtkSettings")
(prop-type "GParamBoolean")
@@ -7480,6 +7579,24 @@
(construct-only #f)
)
+(define-property gtk-shell-shows-app-menu
+ (of-object "GtkSettings")
+ (prop-type "GParamBoolean")
+ (docs "Set to TRUE if the desktop environment is displaying the app menu, FALSE if the app should display it itself.")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property gtk-shell-shows-menubar
+ (of-object "GtkSettings")
+ (prop-type "GParamBoolean")
+ (docs "Set to TRUE if the desktop environment is displaying the menubar, FALSE if the app should display it itself.")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkSizeGroup
(define-property mode
@@ -7884,6 +8001,15 @@
(construct-only #f)
)
+(define-property parent
+ (of-object "GtkStyleContext")
+ (prop-type "GParamObject")
+ (docs "The parent style context")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkStyleProvider
;; From GtkSwitch
@@ -8773,7 +8899,7 @@
(define-property paragraph-background-rgba
(of-object "GtkTextTag")
(prop-type "GParamBoxed")
- (docs "Paragraph background rgba as a GdkRGBA")
+ (docs "Paragraph background RGBA as a GdkRGBA")
(readable #t)
(writable #t)
(construct-only #f)
@@ -11037,6 +11163,15 @@
(construct-only #f)
)
+(define-property hide-titlebar-when-maximized
+ (of-object "GtkWindow")
+ (prop-type "GParamBoolean")
+ (docs "If this window's titlebar should be hidden when the window is maximized")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property icon
(of-object "GtkWindow")
(prop-type "GParamObject")
@@ -11154,6 +11289,15 @@
(construct-only #f)
)
+(define-property attached-to
+ (of-object "GtkWindow")
+ (prop-type "GParamObject")
+ (docs "The widget where the window is attached")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
(define-property opacity
(of-object "GtkWindow")
(prop-type "GParamDouble")
@@ -11226,3 +11370,12 @@
(construct-only #f)
)
+(define-property focus-visible
+ (of-object "GtkWindow")
+ (prop-type "GParamBoolean")
+ (docs "Whether focus rectangles are currently visible in this window")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
diff --git a/gtk/src/gtk_vfuncs.defs b/gtk/src/gtk_vfuncs.defs
index 1188d59..55db784 100644
--- a/gtk/src/gtk_vfuncs.defs
+++ b/gtk/src/gtk_vfuncs.defs
@@ -30,6 +30,34 @@
)
)
+; GtkActionable
+
+(define-vfunc get_action_name
+ (of-object "GtkActionable")
+ (return-type "const-gchar*")
+)
+
+(define-vfunc set_action_name
+ (of-object "GtkActionable")
+ (return-type "void")
+ (parameters
+ '("const-gchar*" "action_name")
+ )
+)
+
+(define-vfunc get_action_target_value
+ (of-object "GtkActionable")
+ (return-type "GVariant*")
+)
+
+(define-vfunc set_action_target_value
+ (of-object "GtkActionable")
+ (return-type "void")
+ (parameters
+ '("GVariant*" "action_target_value")
+ )
+)
+
; GtkActivatable
(define-vfunc update
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index 861a29b..bb26ce7 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -59,6 +59,7 @@ int main(int argc, char** argv)
<< get_defs( GTK_TYPE_ACCEL_LABEL )
<< get_defs( GTK_TYPE_ACTION )
<< get_defs( GTK_TYPE_ACTION_GROUP )
+ << get_defs( GTK_TYPE_ACTIONABLE )
<< get_defs( GTK_TYPE_ACTIVATABLE )
<< get_defs( GTK_TYPE_ADJUSTMENT )
<< get_defs( GTK_TYPE_ALIGNMENT)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]