From 399971b6385ebcbccf018c2e553575fbb277a657 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Thu, 2 May 2024 16:05:10 -0600 Subject: [PATCH] gir/girgen/cmt: Drop back-compat whitespace hacks I added these in the previous commit so that the formatting would match exactly. Now that we've verified that there are no regressions, let's drop them. --- gir/girgen/cmt/cmt.go | 7 - pkg/atk/atk.go | 403 +- pkg/gdk/v3/gdk.go | 718 +-- pkg/gdk/v4/gdk.go | 462 +- pkg/gdkpixbuf/v2/gdkpixbuf.go | 176 +- pkg/gdkpixdata/v2/gdkpixdata.go | 3 - pkg/gdkwayland/v4/gdkwayland.go | 8 - pkg/gdkx11/v3/gdkx11.go | 28 - pkg/gdkx11/v4/gdkx11.go | 36 - pkg/gio/v2/gio.go | 3566 ++++----------- pkg/glib/v2/glib.go | 925 +--- pkg/graphene/graphene.go | 387 +- pkg/gsk/v4/gsk.go | 218 +- pkg/gtk/v3/gtk.go | 186 - pkg/gtk/v4/gtk.go | 7426 +++++++++---------------------- pkg/pango/pango.go | 435 +- pkg/pangocairo/pangocairo.go | 22 - 17 files changed, 3337 insertions(+), 11669 deletions(-) diff --git a/gir/girgen/cmt/cmt.go b/gir/girgen/cmt/cmt.go index 4326bc8a9..34c06939f 100644 --- a/gir/girgen/cmt/cmt.go +++ b/gir/girgen/cmt/cmt.go @@ -262,7 +262,6 @@ func goDoc(v interface{}, indentLvl int, opts []Option) string { docBuilder.Reset() docBuilder.WriteString(docStr) - baseLen := docBuilder.Len() if len(inf.ParamDocs) > 0 { writeParamDocs(&docBuilder, "\n\nThe function takes the following parameters:\n", @@ -273,7 +272,6 @@ func goDoc(v interface{}, indentLvl int, opts []Option) string { "\n\nThe function returns the following values:\n", inf.ReturnDocs) } - hasTail := docBuilder.Len() > baseLen cmt := convertMarkdownToComment(docBuilder.String()) @@ -294,7 +292,6 @@ func goDoc(v interface{}, indentLvl int, opts []Option) string { // gofmt step to turn them into tabs. TextPrefix: strings.Repeat(" ", CommentsTabWidth*indentLvl) + "// ", } - printer.TextCodePrefix = printer.TextPrefix + strings.Repeat(" ", CommentsTabWidth-1) cmtStr := string(printer.Text(cmt)) cmtStr = transformLines(cmtStr, func(n, d int, line string) string { if line == "" && n+1 != d { @@ -303,10 +300,6 @@ func goDoc(v interface{}, indentLvl int, opts []Option) string { return line }) - if hasTail && !synopsize && !strings.HasSuffix(cmtStr, "\n//\n") { - cmtStr += "//\n" - } - if !searchOptsBool(opts, trailingNewLine{}) { cmtStr = strings.TrimSuffix(cmtStr, "\n") } diff --git a/pkg/atk/atk.go b/pkg/atk/atk.go index 55c77988c..b0abaf9d1 100644 --- a/pkg/atk/atk.go +++ b/pkg/atk/atk.go @@ -1034,7 +1034,6 @@ func (r RelationType) String() string { // // - relationType enumerated type corresponding to the specified name, // or K_RELATION_NULL if no matching relation type is found. -// func RelationTypeForName(name string) RelationType { var _arg1 *C.gchar // out var _cret C.AtkRelationType // in @@ -1062,7 +1061,6 @@ func RelationTypeForName(name string) RelationType { // The function returns the following values: // // - utf8: string describing the AtkRelationType. -// func RelationTypeGetName(typ RelationType) string { var _arg1 C.AtkRelationType // out var _cret *C.gchar // in @@ -1088,7 +1086,6 @@ func RelationTypeGetName(typ RelationType) string { // The function returns the following values: // // - relationType associated with name. -// func RelationTypeRegister(name string) RelationType { var _arg1 *C.gchar // out var _cret C.AtkRelationType // in @@ -1812,7 +1809,6 @@ func (r Role) String() string { // // - role enumerated type corresponding to the specified name, or // K_ROLE_INVALID if no matching role is found. -// func RoleForName(name string) Role { var _arg1 *C.gchar // out var _cret C.AtkRole // in @@ -1840,7 +1836,6 @@ func RoleForName(name string) Role { // The function returns the following values: // // - utf8: localized string describing the AtkRole. -// func RoleGetLocalizedName(role Role) string { var _arg1 C.AtkRole // out var _cret *C.gchar // in @@ -1866,7 +1861,6 @@ func RoleGetLocalizedName(role Role) string { // The function returns the following values: // // - utf8: string describing the AtkRole. -// func RoleGetName(role Role) string { var _arg1 C.AtkRole // out var _cret *C.gchar // in @@ -1898,7 +1892,6 @@ func RoleGetName(role Role) string { // // - role for the new role if added properly. ATK_ROLE_INVALID in case of // error. -// func RoleRegister(name string) Role { var _arg1 *C.gchar // out var _cret C.AtkRole // in @@ -2309,7 +2302,6 @@ func (s StateType) String() string { // The function returns the following values: // // - stateType corresponding to name. -// func StateTypeForName(name string) StateType { var _arg1 *C.gchar // out var _cret C.AtkStateType // in @@ -2336,7 +2328,6 @@ func StateTypeForName(name string) StateType { // The function returns the following values: // // - utf8: string describing the AtkStateType. -// func StateTypeGetName(typ StateType) string { var _arg1 C.AtkStateType // out var _cret *C.gchar // in @@ -2362,7 +2353,6 @@ func StateTypeGetName(typ StateType) string { // The function returns the following values: // // - stateType value for the new state. -// func StateTypeRegister(name string) StateType { var _arg1 *C.gchar // out var _cret C.AtkStateType // in @@ -2555,7 +2545,6 @@ func (t TextAttribute) String() string { // // - textAttribute enumerated type corresponding to the specified name, // or K_TEXT_ATTRIBUTE_INVALID if no matching text attribute is found. -// func TextAttributeForName(name string) TextAttribute { var _arg1 *C.gchar // out var _cret C.AtkTextAttribute // in @@ -2582,7 +2571,6 @@ func TextAttributeForName(name string) TextAttribute { // The function returns the following values: // // - utf8: string containing the name; this string should not be freed. -// func TextAttributeGetName(attr TextAttribute) string { var _arg1 C.AtkTextAttribute // out var _cret *C.gchar // in @@ -2611,7 +2599,6 @@ func TextAttributeGetName(attr TextAttribute) string { // - utf8 (optional): string containing the value; this string should not be // freed; NULL is returned if there are no values maintained for the attr // value. -// func TextAttributeGetValue(attr TextAttribute, index_ int) string { var _arg1 C.AtkTextAttribute // out var _arg2 C.gint // out @@ -2642,7 +2629,6 @@ func TextAttributeGetValue(attr TextAttribute, index_ int) string { // The function returns the following values: // // - textAttribute associated with name. -// func TextAttributeRegister(name string) TextAttribute { var _arg1 *C.gchar // out var _cret C.AtkTextAttribute // in @@ -2875,7 +2861,6 @@ func (v ValueType) String() string { // The function returns the following values: // // - utf8: localized string describing the ValueType. -// func ValueTypeGetLocalizedName(valueType ValueType) string { var _arg1 C.AtkValueType // out var _cret *C.gchar // in @@ -2902,7 +2887,6 @@ func ValueTypeGetLocalizedName(valueType ValueType) string { // The function returns the following values: // // - utf8: string describing the ValueType. -// func ValueTypeGetName(valueType ValueType) string { var _arg1 C.AtkValueType // out var _cret *C.gchar // in @@ -2983,7 +2967,6 @@ type KeySnoopFunc func(event *KeyEventStruct) (gint int) // The function takes the following parameters: // // - object: Object. -// func FocusTrackerNotify(object *AtkObject) { var _arg1 *C.AtkObject // out @@ -2999,7 +2982,6 @@ func FocusTrackerNotify(object *AtkObject) { // The function returns the following values: // // - guint: binary age of the ATK library. -// func GetBinaryAge() uint { var _cret C.guint // in @@ -3022,7 +3004,6 @@ func GetBinaryAge() uint { // The function returns the following values: // // - registry: default implementation of the ObjectFactory/type registry. -// func GetDefaultRegistry() *Registry { var _cret *C.AtkRegistry // in @@ -3040,7 +3021,6 @@ func GetDefaultRegistry() *Registry { // The function returns the following values: // // - object: currently focused object for the current application. -// func GetFocusObject() *AtkObject { var _cret *C.AtkObject // in @@ -3059,7 +3039,6 @@ func GetFocusObject() *AtkObject { // The function returns the following values: // // - guint: interface age of the ATK library. -// func GetInterfaceAge() uint { var _cret C.guint // in @@ -3082,7 +3061,6 @@ func GetInterfaceAge() uint { // The function returns the following values: // // - guint: major version number of the ATK library. -// func GetMajorVersion() uint { var _cret C.guint // in @@ -3105,7 +3083,6 @@ func GetMajorVersion() uint { // The function returns the following values: // // - guint: micro version number of the ATK library. -// func GetMicroVersion() uint { var _cret C.guint // in @@ -3128,7 +3105,6 @@ func GetMicroVersion() uint { // The function returns the following values: // // - guint: minor version number of the ATK library. -// func GetMinorVersion() uint { var _cret C.guint // in @@ -3146,7 +3122,6 @@ func GetMinorVersion() uint { // The function returns the following values: // // - object: root accessible container for the current application. -// func GetRoot() *AtkObject { var _cret *C.AtkObject // in @@ -3166,7 +3141,6 @@ func GetRoot() *AtkObject { // // - utf8: name string for the GUI toolkit implementing ATK for this // application. -// func GetToolkitName() string { var _cret *C.gchar // in @@ -3186,7 +3160,6 @@ func GetToolkitName() string { // // - utf8: version string for the GUI toolkit implementing ATK for this // application. -// func GetToolkitVersion() string { var _cret *C.gchar // in @@ -3204,7 +3177,6 @@ func GetToolkitVersion() string { // The function returns the following values: // // - utf8: version string for ATK. -// func GetVersion() string { var _cret *C.gchar // in @@ -3227,7 +3199,6 @@ func GetVersion() string { // The function takes the following parameters: // // - trackerId: id of the focus tracker to remove. -// func RemoveFocusTracker(trackerId uint) { var _arg1 C.guint // out @@ -3252,7 +3223,6 @@ func RemoveFocusTracker(trackerId uint) { // The function takes the following parameters: // // - listenerId: id of the event listener to remove. -// func RemoveGlobalEventListener(listenerId uint) { var _arg1 C.guint // out @@ -3270,7 +3240,6 @@ func RemoveGlobalEventListener(listenerId uint) { // The function takes the following parameters: // // - listenerId: id of the event listener to remove. -// func RemoveKeyEventListener(listenerId uint) { var _arg1 C.guint // out @@ -3350,7 +3319,6 @@ func marshalAction(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if success, FALSE otherwise. -// func (action *Action) DoAction(i int) bool { var _arg0 *C.AtkAction // out var _arg1 C.gint // out @@ -3382,7 +3350,6 @@ func (action *Action) DoAction(i int) bool { // // - utf8 (optional): description string, or NULL if action does not implement // this interface. -// func (action *Action) Description(i int) string { var _arg0 *C.AtkAction // out var _arg1 C.gint // out @@ -3437,7 +3404,6 @@ func (action *Action) Description(i int) string { // // - utf8 (optional): keybinding which can be used to activate this action, // or NULL if there is no keybinding for this action. -// func (action *Action) Keybinding(i int) string { var _arg0 *C.AtkAction // out var _arg1 C.gint // out @@ -3470,7 +3436,6 @@ func (action *Action) Keybinding(i int) string { // // - utf8 (optional): name string, or NULL if action does not implement this // interface. -// func (action *Action) LocalizedName(i int) string { var _arg0 *C.AtkAction // out var _arg1 C.gint // out @@ -3500,7 +3465,6 @@ func (action *Action) LocalizedName(i int) string { // // - gint: the number of actions, or 0 if action does not implement this // interface. -// func (action *Action) NActions() int { var _arg0 *C.AtkAction // out var _cret C.gint // in @@ -3538,7 +3502,6 @@ func (action *Action) NActions() int { // // - utf8 (optional): name string, or NULL if action does not implement this // interface. -// func (action *Action) Name(i int) string { var _arg0 *C.AtkAction // out var _arg1 C.gint // out @@ -3570,7 +3533,6 @@ func (action *Action) Name(i int) string { // The function returns the following values: // // - ok: gboolean representing if the description was successfully set;. -// func (action *Action) SetDescription(i int, desc string) bool { var _arg0 *C.AtkAction // out var _arg1 C.gint // out @@ -3605,7 +3567,6 @@ func (action *Action) SetDescription(i int, desc string) bool { // The function returns the following values: // // - ok: TRUE if success, FALSE otherwise. -// func (action *Action) doAction(i int) bool { gclass := (*C.AtkActionIface)(coreglib.PeekParentClass(action)) fnarg := gclass.do_action @@ -3640,7 +3601,6 @@ func (action *Action) doAction(i int) bool { // // - utf8 (optional): description string, or NULL if action does not implement // this interface. -// func (action *Action) description(i int) string { gclass := (*C.AtkActionIface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_description @@ -3698,7 +3658,6 @@ func (action *Action) description(i int) string { // // - utf8 (optional): keybinding which can be used to activate this action, // or NULL if there is no keybinding for this action. -// func (action *Action) keybinding(i int) string { gclass := (*C.AtkActionIface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_keybinding @@ -3734,7 +3693,6 @@ func (action *Action) keybinding(i int) string { // // - utf8 (optional): name string, or NULL if action does not implement this // interface. -// func (action *Action) localizedName(i int) string { gclass := (*C.AtkActionIface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_localized_name @@ -3767,7 +3725,6 @@ func (action *Action) localizedName(i int) string { // // - gint: the number of actions, or 0 if action does not implement this // interface. -// func (action *Action) nActions() int { gclass := (*C.AtkActionIface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_n_actions @@ -3808,7 +3765,6 @@ func (action *Action) nActions() int { // // - utf8 (optional): name string, or NULL if action does not implement this // interface. -// func (action *Action) name(i int) string { gclass := (*C.AtkActionIface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_name @@ -3843,7 +3799,6 @@ func (action *Action) name(i int) string { // The function returns the following values: // // - ok: gboolean representing if the description was successfully set;. -// func (action *Action) setDescription(i int, desc string) bool { gclass := (*C.AtkActionIface)(coreglib.PeekParentClass(action)) fnarg := gclass.set_description @@ -3976,7 +3931,6 @@ func (component *Component) ConnectBoundsChanged(f func(arg1 *Rectangle)) coregl // // - ok: TRUE or FALSE indicating whether the specified point is within the // extent of the component or not. -// func (component *Component) Contains(x, y int, coordType CoordType) bool { var _arg0 *C.AtkComponent // out var _arg1 C.gint // out @@ -4010,7 +3964,6 @@ func (component *Component) Contains(x, y int, coordType CoordType) bool { // The function returns the following values: // // - gdouble: alpha value from 0 to 1.0, inclusive. -// func (component *Component) Alpha() float64 { var _arg0 *C.AtkComponent // out var _cret C.gdouble // in @@ -4043,7 +3996,6 @@ func (component *Component) Alpha() float64 { // - y (optional) address of #gint to put y coordinate. // - width (optional) address of #gint to put width. // - height (optional) address of #gint to put height. -// func (component *Component) Extents(coordType CoordType) (x, y, width, height int) { var _arg0 *C.AtkComponent // out var _arg1 C.gint // in @@ -4077,7 +4029,6 @@ func (component *Component) Extents(coordType CoordType) (x, y, width, height in // The function returns the following values: // // - layer which is the layer of the component. -// func (component *Component) Layer() Layer { var _arg0 *C.AtkComponent // out var _cret C.AtkLayer // in @@ -4102,7 +4053,6 @@ func (component *Component) Layer() Layer { // // - gint which is the zorder of the component, i.e. the depth at which the // component is shown in relation to other components in the same container. -// func (component *Component) MDIZOrder() int { var _arg0 *C.AtkComponent // out var _cret C.gint // in @@ -4136,7 +4086,6 @@ func (component *Component) MDIZOrder() int { // // - x (optional) address of #gint to put x coordinate position. // - y (optional) address of #gint to put y coordinate position. -// func (component *Component) Position(coordType CoordType) (x, y int) { var _arg0 *C.AtkComponent // out var _arg1 C.gint // in @@ -4170,7 +4119,6 @@ func (component *Component) Position(coordType CoordType) (x, y int) { // // - width (optional) address of #gint to put width of component. // - height (optional) address of #gint to put height of component. -// func (component *Component) Size() (width, height int) { var _arg0 *C.AtkComponent // out var _arg1 C.gint // in @@ -4195,7 +4143,6 @@ func (component *Component) Size() (width, height int) { // The function returns the following values: // // - ok: TRUE if successful, FALSE otherwise. -// func (component *Component) GrabFocus() bool { var _arg0 *C.AtkComponent // out var _cret C.gboolean // in @@ -4227,7 +4174,6 @@ func (component *Component) GrabFocus() bool { // The function returns the following values: // // - object (optional): reference to the accessible child, if one exists. -// func (component *Component) RefAccessibleAtPoint(x, y int, coordType CoordType) *AtkObject { var _arg0 *C.AtkComponent // out var _arg1 C.gint // out @@ -4265,7 +4211,6 @@ func (component *Component) RefAccessibleAtPoint(x, y int, coordType CoordType) // The function takes the following parameters: // // - handlerId: handler id of the focus handler to be removed from component. -// func (component *Component) RemoveFocusHandler(handlerId uint) { var _arg0 *C.AtkComponent // out var _arg1 C.guint // out @@ -4292,7 +4237,6 @@ func (component *Component) RemoveFocusHandler(handlerId uint) { // The function returns the following values: // // - ok: whether scrolling was successful. -// func (component *Component) ScrollTo(typ ScrollType) bool { var _arg0 *C.AtkComponent // out var _arg1 C.AtkScrollType // out @@ -4327,7 +4271,6 @@ func (component *Component) ScrollTo(typ ScrollType) bool { // The function returns the following values: // // - ok: whether scrolling was successful. -// func (component *Component) ScrollToPoint(coords CoordType, x, y int) bool { var _arg0 *C.AtkComponent // out var _arg1 C.AtkCoordType // out @@ -4369,7 +4312,6 @@ func (component *Component) ScrollToPoint(coords CoordType, x, y int) bool { // The function returns the following values: // // - ok: TRUE or FALSE whether the extents were set or not. -// func (component *Component) SetExtents(x, y, width, height int, coordType CoordType) bool { var _arg0 *C.AtkComponent // out var _arg1 C.gint // out @@ -4418,7 +4360,6 @@ func (component *Component) SetExtents(x, y, width, height int, coordType CoordT // The function returns the following values: // // - ok: TRUE or FALSE whether or not the position was set or not. -// func (component *Component) SetPosition(x, y int, coordType CoordType) bool { var _arg0 *C.AtkComponent // out var _arg1 C.gint // out @@ -4456,7 +4397,6 @@ func (component *Component) SetPosition(x, y int, coordType CoordType) bool { // The function returns the following values: // // - ok: TRUE or FALSE whether the size was set or not. -// func (component *Component) SetSize(width, height int) bool { var _arg0 *C.AtkComponent // out var _arg1 C.gint // out @@ -4513,7 +4453,6 @@ func (component *Component) boundsChanged(bounds *Rectangle) { // // - ok: TRUE or FALSE indicating whether the specified point is within the // extent of the component or not. -// func (component *Component) contains(x, y int, coordType CoordType) bool { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.contains @@ -4550,7 +4489,6 @@ func (component *Component) contains(x, y int, coordType CoordType) bool { // The function returns the following values: // // - gdouble: alpha value from 0 to 1.0, inclusive. -// func (component *Component) alpha() float64 { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.get_alpha @@ -4586,7 +4524,6 @@ func (component *Component) alpha() float64 { // - y (optional) address of #gint to put y coordinate. // - width (optional) address of #gint to put width. // - height (optional) address of #gint to put height. -// func (component *Component) extents(coordType CoordType) (x, y, width, height int) { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.get_extents @@ -4623,7 +4560,6 @@ func (component *Component) extents(coordType CoordType) (x, y, width, height in // The function returns the following values: // // - layer which is the layer of the component. -// func (component *Component) layer() Layer { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.get_layer @@ -4651,7 +4587,6 @@ func (component *Component) layer() Layer { // // - gint which is the zorder of the component, i.e. the depth at which the // component is shown in relation to other components in the same container. -// func (component *Component) mdizOrder() int { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.get_mdi_zorder @@ -4688,7 +4623,6 @@ func (component *Component) mdizOrder() int { // // - x (optional) address of #gint to put x coordinate position. // - y (optional) address of #gint to put y coordinate position. -// func (component *Component) position(coordType CoordType) (x, y int) { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.get_position @@ -4725,7 +4659,6 @@ func (component *Component) position(coordType CoordType) (x, y int) { // // - width (optional) address of #gint to put width of component. // - height (optional) address of #gint to put height of component. -// func (component *Component) size() (width, height int) { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.get_size @@ -4753,7 +4686,6 @@ func (component *Component) size() (width, height int) { // The function returns the following values: // // - ok: TRUE if successful, FALSE otherwise. -// func (component *Component) grabFocus() bool { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.grab_focus @@ -4788,7 +4720,6 @@ func (component *Component) grabFocus() bool { // The function returns the following values: // // - object (optional): reference to the accessible child, if one exists. -// func (component *Component) refAccessibleAtPoint(x, y int, coordType CoordType) *AtkObject { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.ref_accessible_at_point @@ -4829,7 +4760,6 @@ func (component *Component) refAccessibleAtPoint(x, y int, coordType CoordType) // The function takes the following parameters: // // - handlerId: handler id of the focus handler to be removed from component. -// func (component *Component) removeFocusHandler(handlerId uint) { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.remove_focus_handler @@ -4859,7 +4789,6 @@ func (component *Component) removeFocusHandler(handlerId uint) { // The function returns the following values: // // - ok: whether scrolling was successful. -// func (component *Component) scrollTo(typ ScrollType) bool { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.scroll_to @@ -4897,7 +4826,6 @@ func (component *Component) scrollTo(typ ScrollType) bool { // The function returns the following values: // // - ok: whether scrolling was successful. -// func (component *Component) scrollToPoint(coords CoordType, x, y int) bool { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.scroll_to_point @@ -4942,7 +4870,6 @@ func (component *Component) scrollToPoint(coords CoordType, x, y int) bool { // The function returns the following values: // // - ok: TRUE or FALSE whether the extents were set or not. -// func (component *Component) setExtents(x, y, width, height int, coordType CoordType) bool { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.set_extents @@ -4994,7 +4921,6 @@ func (component *Component) setExtents(x, y, width, height int, coordType CoordT // The function returns the following values: // // - ok: TRUE or FALSE whether or not the position was set or not. -// func (component *Component) setPosition(x, y int, coordType CoordType) bool { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.set_position @@ -5035,7 +4961,6 @@ func (component *Component) setPosition(x, y int, coordType CoordType) bool { // The function returns the following values: // // - ok: TRUE or FALSE whether the size was set or not. -// func (component *Component) setSize(width, height int) bool { gclass := (*C.AtkComponentIface)(coreglib.PeekParentClass(component)) fnarg := gclass.set_size @@ -5177,7 +5102,6 @@ func (document *Document) ConnectReload(f func()) coreglib.SignalHandle { // - utf8 (optional): string value associated with the named attribute // for this document, or NULL if a value for attribute_name has not been // specified for this document. -// func (document *Document) AttributeValue(attributeName string) string { var _arg0 *C.AtkDocument // out var _arg1 *C.gchar // out @@ -5206,7 +5130,6 @@ func (document *Document) AttributeValue(attributeName string) string { // // - gint: current page number inside document, or -1 if not implemented, // not know by the implementor, or irrelevant. -// func (document *Document) CurrentPageNumber() int { var _arg0 *C.AtkDocument // out var _cret C.gint // in @@ -5233,7 +5156,6 @@ func (document *Document) CurrentPageNumber() int { // The function returns the following values: // // - gpointer (optional) that points to an instance of the DOM. -// func (document *Document) Document() unsafe.Pointer { var _arg0 *C.AtkDocument // out var _cret C.gpointer // in @@ -5258,7 +5180,6 @@ func (document *Document) Document() unsafe.Pointer { // The function returns the following values: // // - utf8: string indicating the document type. -// func (document *Document) DocumentType() string { var _arg0 *C.AtkDocument // out var _cret *C.gchar // in @@ -5287,7 +5208,6 @@ func (document *Document) DocumentType() string { // - utf8: UTF-8 string indicating the POSIX-style LC_MESSAGES locale of the // document content as a whole, or NULL if the document content does not // specify a locale. -// func (document *Document) Locale() string { var _arg0 *C.AtkDocument // out var _cret *C.gchar // in @@ -5310,7 +5230,6 @@ func (document *Document) Locale() string { // // - gint: total page count of document, or -1 if not implemented, not know by // the implementor or irrelevant. -// func (document *Document) PageCount() int { var _arg0 *C.AtkDocument // out var _cret C.gint // in @@ -5341,7 +5260,6 @@ func (document *Document) PageCount() int { // - ok: TRUE if attribute_value is successfully associated with // attribute_name for this document, and FALSE if if the document does not // allow the attribute to be modified. -// func (document *Document) SetAttributeValue(attributeName, attributeValue string) bool { var _arg0 *C.AtkDocument // out var _arg1 *C.gchar // out @@ -5374,7 +5292,6 @@ func (document *Document) SetAttributeValue(attributeName, attributeValue string // // - gint: current page number inside document, or -1 if not implemented, // not know by the implementor, or irrelevant. -// func (document *Document) currentPageNumber() int { gclass := (*C.AtkDocumentIface)(coreglib.PeekParentClass(document)) fnarg := gclass.get_current_page_number @@ -5404,7 +5321,6 @@ func (document *Document) currentPageNumber() int { // The function returns the following values: // // - gpointer (optional) that points to an instance of the DOM. -// func (document *Document) document() unsafe.Pointer { gclass := (*C.AtkDocumentIface)(coreglib.PeekParentClass(document)) fnarg := gclass.get_document @@ -5437,7 +5353,6 @@ func (document *Document) document() unsafe.Pointer { // - utf8 (optional): string value associated with the named attribute // for this document, or NULL if a value for attribute_name has not been // specified for this document. -// func (document *Document) documentAttributeValue(attributeName string) string { gclass := (*C.AtkDocumentIface)(coreglib.PeekParentClass(document)) fnarg := gclass.get_document_attribute_value @@ -5475,7 +5390,6 @@ func (document *Document) documentAttributeValue(attributeName string) string { // - utf8: UTF-8 string indicating the POSIX-style LC_MESSAGES locale of the // document content as a whole, or NULL if the document content does not // specify a locale. -// func (document *Document) documentLocale() string { gclass := (*C.AtkDocumentIface)(coreglib.PeekParentClass(document)) fnarg := gclass.get_document_locale @@ -5503,7 +5417,6 @@ func (document *Document) documentLocale() string { // The function returns the following values: // // - utf8: string indicating the document type. -// func (document *Document) documentType() string { gclass := (*C.AtkDocumentIface)(coreglib.PeekParentClass(document)) fnarg := gclass.get_document_type @@ -5529,7 +5442,6 @@ func (document *Document) documentType() string { // // - gint: total page count of document, or -1 if not implemented, not know by // the implementor or irrelevant. -// func (document *Document) pageCount() int { gclass := (*C.AtkDocumentIface)(coreglib.PeekParentClass(document)) fnarg := gclass.get_page_count @@ -5563,7 +5475,6 @@ func (document *Document) pageCount() int { // - ok: TRUE if attribute_value is successfully associated with // attribute_name for this document, and FALSE if if the document does not // allow the attribute to be modified. -// func (document *Document) setDocumentAttribute(attributeName, attributeValue string) bool { gclass := (*C.AtkDocumentIface)(coreglib.PeekParentClass(document)) fnarg := gclass.set_document_attribute @@ -5652,7 +5563,6 @@ func marshalEditableText(p uintptr) (interface{}, error) { // // - startPos: start position. // - endPos: end position. -// func (text *EditableText) CopyText(startPos, endPos int) { var _arg0 *C.AtkEditableText // out var _arg1 C.gint // out @@ -5675,7 +5585,6 @@ func (text *EditableText) CopyText(startPos, endPos int) { // // - startPos: start position. // - endPos: end position. -// func (text *EditableText) CutText(startPos, endPos int) { var _arg0 *C.AtkEditableText // out var _arg1 C.gint // out @@ -5697,7 +5606,6 @@ func (text *EditableText) CutText(startPos, endPos int) { // // - startPos: start position. // - endPos: end position. -// func (text *EditableText) DeleteText(startPos, endPos int) { var _arg0 *C.AtkEditableText // out var _arg1 C.gint // out @@ -5722,7 +5630,6 @@ func (text *EditableText) DeleteText(startPos, endPos int) { // - position: caller initializes this to the position at which to insert the // text. After the call it points at the position after the newly inserted // text. -// func (text *EditableText) InsertText(str string, length int, position *int) { var _arg0 *C.AtkEditableText // out var _arg1 *C.gchar // out @@ -5747,7 +5654,6 @@ func (text *EditableText) InsertText(str string, length int, position *int) { // The function takes the following parameters: // // - position to paste. -// func (text *EditableText) PasteText(position int) { var _arg0 *C.AtkEditableText // out var _arg1 C.gint // out @@ -5765,7 +5671,6 @@ func (text *EditableText) PasteText(position int) { // The function takes the following parameters: // // - str: string to set for text contents of text. -// func (text *EditableText) SetTextContents(str string) { var _arg0 *C.AtkEditableText // out var _arg1 *C.gchar // out @@ -5786,7 +5691,6 @@ func (text *EditableText) SetTextContents(str string) { // // - startPos: start position. // - endPos: end position. -// func (text *EditableText) copyText(startPos, endPos int) { gclass := (*C.AtkEditableTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.copy_text @@ -5812,7 +5716,6 @@ func (text *EditableText) copyText(startPos, endPos int) { // // - startPos: start position. // - endPos: end position. -// func (text *EditableText) cutText(startPos, endPos int) { gclass := (*C.AtkEditableTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.cut_text @@ -5837,7 +5740,6 @@ func (text *EditableText) cutText(startPos, endPos int) { // // - startPos: start position. // - endPos: end position. -// func (text *EditableText) deleteText(startPos, endPos int) { gclass := (*C.AtkEditableTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.delete_text @@ -5865,7 +5767,6 @@ func (text *EditableText) deleteText(startPos, endPos int) { // - position: caller initializes this to the position at which to insert the // text. After the call it points at the position after the newly inserted // text. -// func (text *EditableText) insertText(str string, length int, position *int) { gclass := (*C.AtkEditableTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.insert_text @@ -5893,7 +5794,6 @@ func (text *EditableText) insertText(str string, length int, position *int) { // The function takes the following parameters: // // - position to paste. -// func (text *EditableText) pasteText(position int) { gclass := (*C.AtkEditableTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.paste_text @@ -5914,7 +5814,6 @@ func (text *EditableText) pasteText(position int) { // The function takes the following parameters: // // - str: string to set for text contents of text. -// func (text *EditableText) setTextContents(str string) { gclass := (*C.AtkEditableTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.set_text_contents @@ -5993,7 +5892,6 @@ func marshalHyperlinkImpl(p uintptr) (interface{}, error) { // // - hyperlink: atkHyperlink object which points to this implementing // AtkObject. -// func (impl *HyperlinkImpl) Hyperlink() *Hyperlink { var _arg0 *C.AtkHyperlinkImpl // out var _cret *C.AtkHyperlink // in @@ -6016,7 +5914,6 @@ func (impl *HyperlinkImpl) Hyperlink() *Hyperlink { // // - hyperlink: atkHyperlink object which points to this implementing // AtkObject. -// func (impl *HyperlinkImpl) hyperlink() *Hyperlink { gclass := (*C.AtkHyperlinkImplIface)(coreglib.PeekParentClass(impl)) fnarg := gclass.get_hyperlink @@ -6099,7 +5996,6 @@ func (hypertext *Hypertext) ConnectLinkSelected(f func(arg1 int)) coreglib.Signa // The function returns the following values: // // - hyperlink: link in this hypertext document at index link_index. -// func (hypertext *Hypertext) Link(linkIndex int) *Hyperlink { var _arg0 *C.AtkHypertext // out var _arg1 C.gint // out @@ -6130,7 +6026,6 @@ func (hypertext *Hypertext) Link(linkIndex int) *Hyperlink { // // - gint: index into the array of hyperlinks in hypertext, or -1 if there is // no hyperlink associated with this character. -// func (hypertext *Hypertext) LinkIndex(charIndex int) int { var _arg0 *C.AtkHypertext // out var _arg1 C.gint // out @@ -6155,7 +6050,6 @@ func (hypertext *Hypertext) LinkIndex(charIndex int) int { // The function returns the following values: // // - gint: number of links within this hypertext document. -// func (hypertext *Hypertext) NLinks() int { var _arg0 *C.AtkHypertext // out var _cret C.gint // in @@ -6181,7 +6075,6 @@ func (hypertext *Hypertext) NLinks() int { // The function returns the following values: // // - hyperlink: link in this hypertext document at index link_index. -// func (hypertext *Hypertext) link(linkIndex int) *Hyperlink { gclass := (*C.AtkHypertextIface)(coreglib.PeekParentClass(hypertext)) fnarg := gclass.get_link @@ -6215,7 +6108,6 @@ func (hypertext *Hypertext) link(linkIndex int) *Hyperlink { // // - gint: index into the array of hyperlinks in hypertext, or -1 if there is // no hyperlink associated with this character. -// func (hypertext *Hypertext) linkIndex(charIndex int) int { gclass := (*C.AtkHypertextIface)(coreglib.PeekParentClass(hypertext)) fnarg := gclass.get_link_index @@ -6243,7 +6135,6 @@ func (hypertext *Hypertext) linkIndex(charIndex int) int { // The function returns the following values: // // - gint: number of links within this hypertext document. -// func (hypertext *Hypertext) nLinks() int { gclass := (*C.AtkHypertextIface)(coreglib.PeekParentClass(hypertext)) fnarg := gclass.get_n_links @@ -6335,7 +6226,6 @@ func marshalImage(p uintptr) (interface{}, error) { // The function returns the following values: // // - utf8: string representing the image description. -// func (image *Image) ImageDescription() string { var _arg0 *C.AtkImage // out var _cret *C.gchar // in @@ -6359,7 +6249,6 @@ func (image *Image) ImageDescription() string { // - utf8 (optional): string corresponding to the POSIX LC_MESSAGES locale // used by the image description, or NULL if the image does not specify a // locale. -// func (image *Image) ImageLocale() string { var _arg0 *C.AtkImage // out var _cret *C.gchar // in @@ -6395,7 +6284,6 @@ func (image *Image) ImageLocale() string { // -1 if value cannot be obtained. // - y (optional) address of #gint to put y coordinate position; otherwise, // -1 if value cannot be obtained. -// func (image *Image) ImagePosition(coordType CoordType) (x, y int) { var _arg0 *C.AtkImage // out var _arg1 C.gint // in @@ -6431,7 +6319,6 @@ func (image *Image) ImagePosition(coordType CoordType) (x, y int) { // be obtained. // - height (optional): filled with the image height, or -1 if the value // cannot be obtained. -// func (image *Image) ImageSize() (width, height int) { var _arg0 *C.AtkImage // out var _arg1 C.gint // in @@ -6460,7 +6347,6 @@ func (image *Image) ImageSize() (width, height int) { // The function returns the following values: // // - ok: boolean TRUE, or FALSE if operation could not be completed. -// func (image *Image) SetImageDescription(description string) bool { var _arg0 *C.AtkImage // out var _arg1 *C.gchar // out @@ -6488,7 +6374,6 @@ func (image *Image) SetImageDescription(description string) bool { // The function returns the following values: // // - utf8: string representing the image description. -// func (image *Image) imageDescription() string { gclass := (*C.AtkImageIface)(coreglib.PeekParentClass(image)) fnarg := gclass.get_image_description @@ -6515,7 +6400,6 @@ func (image *Image) imageDescription() string { // - utf8 (optional): string corresponding to the POSIX LC_MESSAGES locale // used by the image description, or NULL if the image does not specify a // locale. -// func (image *Image) imageLocale() string { gclass := (*C.AtkImageIface)(coreglib.PeekParentClass(image)) fnarg := gclass.get_image_locale @@ -6554,7 +6438,6 @@ func (image *Image) imageLocale() string { // -1 if value cannot be obtained. // - y (optional) address of #gint to put y coordinate position; otherwise, // -1 if value cannot be obtained. -// func (image *Image) imagePosition(coordType CoordType) (x, y int) { gclass := (*C.AtkImageIface)(coreglib.PeekParentClass(image)) fnarg := gclass.get_image_position @@ -6593,7 +6476,6 @@ func (image *Image) imagePosition(coordType CoordType) (x, y int) { // be obtained. // - height (optional): filled with the image height, or -1 if the value // cannot be obtained. -// func (image *Image) imageSize() (width, height int) { gclass := (*C.AtkImageIface)(coreglib.PeekParentClass(image)) fnarg := gclass.get_image_size @@ -6625,7 +6507,6 @@ func (image *Image) imageSize() (width, height int) { // The function returns the following values: // // - ok: boolean TRUE, or FALSE if operation could not be completed. -// func (image *Image) setImageDescription(description string) bool { gclass := (*C.AtkImageIface)(coreglib.PeekParentClass(image)) fnarg := gclass.set_image_description @@ -6776,7 +6657,6 @@ func (selection *Selection) ConnectSelectionChanged(f func()) coreglib.SignalHan // The function returns the following values: // // - ok: TRUE if success, FALSE otherwise. -// func (selection *Selection) AddSelection(i int) bool { var _arg0 *C.AtkSelection // out var _arg1 C.gint // out @@ -6804,7 +6684,6 @@ func (selection *Selection) AddSelection(i int) bool { // The function returns the following values: // // - ok: TRUE if success, FALSE otherwise. -// func (selection *Selection) ClearSelection() bool { var _arg0 *C.AtkSelection // out var _cret C.gboolean // in @@ -6833,7 +6712,6 @@ func (selection *Selection) ClearSelection() bool { // // - gint representing the number of items selected, or 0 if selection does // not implement this interface. -// func (selection *Selection) SelectionCount() int { var _arg0 *C.AtkSelection // out var _cret C.gint // in @@ -6864,7 +6742,6 @@ func (selection *Selection) SelectionCount() int { // // - ok: gboolean representing the specified child is selected, or 0 if // selection does not implement this interface. -// func (selection *Selection) IsChildSelected(i int) bool { var _arg0 *C.AtkSelection // out var _arg1 C.gint // out @@ -6901,7 +6778,6 @@ func (selection *Selection) IsChildSelected(i int) bool { // // - object (optional) representing the selected accessible, or NULL if // selection does not implement this interface. -// func (selection *Selection) RefSelection(i int) *AtkObject { var _arg0 *C.AtkSelection // out var _arg1 C.gint // out @@ -6934,7 +6810,6 @@ func (selection *Selection) RefSelection(i int) *AtkObject { // The function returns the following values: // // - ok: TRUE if success, FALSE otherwise. -// func (selection *Selection) RemoveSelection(i int) bool { var _arg0 *C.AtkSelection // out var _arg1 C.gint // out @@ -6962,7 +6837,6 @@ func (selection *Selection) RemoveSelection(i int) bool { // The function returns the following values: // // - ok: TRUE if success, FALSE otherwise. -// func (selection *Selection) SelectAllSelection() bool { var _arg0 *C.AtkSelection // out var _cret C.gboolean // in @@ -6991,7 +6865,6 @@ func (selection *Selection) SelectAllSelection() bool { // The function returns the following values: // // - ok: TRUE if success, FALSE otherwise. -// func (selection *Selection) addSelection(i int) bool { gclass := (*C.AtkSelectionIface)(coreglib.PeekParentClass(selection)) fnarg := gclass.add_selection @@ -7022,7 +6895,6 @@ func (selection *Selection) addSelection(i int) bool { // The function returns the following values: // // - ok: TRUE if success, FALSE otherwise. -// func (selection *Selection) clearSelection() bool { gclass := (*C.AtkSelectionIface)(coreglib.PeekParentClass(selection)) fnarg := gclass.clear_selection @@ -7054,7 +6926,6 @@ func (selection *Selection) clearSelection() bool { // // - gint representing the number of items selected, or 0 if selection does // not implement this interface. -// func (selection *Selection) selectionCount() int { gclass := (*C.AtkSelectionIface)(coreglib.PeekParentClass(selection)) fnarg := gclass.get_selection_count @@ -7088,7 +6959,6 @@ func (selection *Selection) selectionCount() int { // // - ok: gboolean representing the specified child is selected, or 0 if // selection does not implement this interface. -// func (selection *Selection) isChildSelected(i int) bool { gclass := (*C.AtkSelectionIface)(coreglib.PeekParentClass(selection)) fnarg := gclass.is_child_selected @@ -7128,7 +6998,6 @@ func (selection *Selection) isChildSelected(i int) bool { // // - object (optional) representing the selected accessible, or NULL if // selection does not implement this interface. -// func (selection *Selection) refSelection(i int) *AtkObject { gclass := (*C.AtkSelectionIface)(coreglib.PeekParentClass(selection)) fnarg := gclass.ref_selection @@ -7164,7 +7033,6 @@ func (selection *Selection) refSelection(i int) *AtkObject { // The function returns the following values: // // - ok: TRUE if success, FALSE otherwise. -// func (selection *Selection) removeSelection(i int) bool { gclass := (*C.AtkSelectionIface)(coreglib.PeekParentClass(selection)) fnarg := gclass.remove_selection @@ -7195,7 +7063,6 @@ func (selection *Selection) removeSelection(i int) bool { // The function returns the following values: // // - ok: TRUE if success, FALSE otherwise. -// func (selection *Selection) selectAllSelection() bool { gclass := (*C.AtkSelectionIface)(coreglib.PeekParentClass(selection)) fnarg := gclass.select_all_selection @@ -7295,7 +7162,6 @@ func marshalStreamableContent(p uintptr) (interface{}, error) { // // - utf8: gchar* representing the specified mime type; the caller should not // free the character string. -// func (streamable *StreamableContent) MIMEType(i int) string { var _arg0 *C.AtkStreamableContent // out var _arg1 C.gint // out @@ -7320,7 +7186,6 @@ func (streamable *StreamableContent) MIMEType(i int) string { // The function returns the following values: // // - gint which is the number of mime types supported by the object. -// func (streamable *StreamableContent) NMIMETypes() int { var _arg0 *C.AtkStreamableContent // out var _cret C.gint // in @@ -7346,7 +7211,6 @@ func (streamable *StreamableContent) NMIMETypes() int { // The function returns the following values: // // - ioChannel which contains the content in the specified mime type. -// func (streamable *StreamableContent) Stream(mimeType string) *glib.IOChannel { var _arg0 *C.AtkStreamableContent // out var _arg1 *C.gchar // out @@ -7390,7 +7254,6 @@ func (streamable *StreamableContent) Stream(mimeType string) *glib.IOChannel { // // - utf8 (optional) returns a string representing a URI, or NULL if no // corresponding URI can be constructed. -// func (streamable *StreamableContent) URI(mimeType string) string { var _arg0 *C.AtkStreamableContent // out var _arg1 *C.gchar // out @@ -7424,7 +7287,6 @@ func (streamable *StreamableContent) URI(mimeType string) string { // // - utf8: gchar* representing the specified mime type; the caller should not // free the character string. -// func (streamable *StreamableContent) mimeType(i int) string { gclass := (*C.AtkStreamableContentIface)(coreglib.PeekParentClass(streamable)) fnarg := gclass.get_mime_type @@ -7452,7 +7314,6 @@ func (streamable *StreamableContent) mimeType(i int) string { // The function returns the following values: // // - gint which is the number of mime types supported by the object. -// func (streamable *StreamableContent) nmimeTypes() int { gclass := (*C.AtkStreamableContentIface)(coreglib.PeekParentClass(streamable)) fnarg := gclass.get_n_mime_types @@ -7481,7 +7342,6 @@ func (streamable *StreamableContent) nmimeTypes() int { // The function returns the following values: // // - ioChannel which contains the content in the specified mime type. -// func (streamable *StreamableContent) stream(mimeType string) *glib.IOChannel { gclass := (*C.AtkStreamableContentIface)(coreglib.PeekParentClass(streamable)) fnarg := gclass.get_stream @@ -7528,7 +7388,6 @@ func (streamable *StreamableContent) stream(mimeType string) *glib.IOChannel { // // - utf8 (optional) returns a string representing a URI, or NULL if no // corresponding URI can be constructed. -// func (streamable *StreamableContent) urI(mimeType string) string { gclass := (*C.AtkStreamableContentIface)(coreglib.PeekParentClass(streamable)) fnarg := gclass.get_uri @@ -7756,7 +7615,6 @@ func (table *Table) ConnectRowReordered(f func()) coreglib.SignalHandle { // // - ok: gboolean representing if the column was successfully added to the // selection, or 0 if value does not implement this interface. -// func (table *Table) AddColumnSelection(column int) bool { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -7788,7 +7646,6 @@ func (table *Table) AddColumnSelection(column int) bool { // // - ok: gboolean representing if row was successfully added to selection, // or 0 if value does not implement this interface. -// func (table *Table) AddRowSelection(row int) bool { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -7816,7 +7673,6 @@ func (table *Table) AddRowSelection(row int) bool { // // - object (optional): atkObject* representing the table caption, or NULL if // value does not implement this interface. -// func (table *Table) Caption() *AtkObject { var _arg0 *C.AtkTable // out var _cret *C.AtkObject // in @@ -7847,7 +7703,6 @@ func (table *Table) Caption() *AtkObject { // // - gint representing the column at the specified index, or -1 if the table // does not implement this method. -// func (table *Table) ColumnAtIndex(index_ int) int { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -7878,7 +7733,6 @@ func (table *Table) ColumnAtIndex(index_ int) int { // // - utf8: gchar* representing the column description, or NULL if value does // not implement this interface. -// func (table *Table) ColumnDescription(column int) string { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -7910,7 +7764,6 @@ func (table *Table) ColumnDescription(column int) string { // // - gint representing the column extent at specified position, or 0 if value // does not implement this interface. -// func (table *Table) ColumnExtentAt(row, column int) int { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -7944,7 +7797,6 @@ func (table *Table) ColumnExtentAt(row, column int) int { // // - object (optional): atkObject* representing the specified column header, // or NULL if value does not implement this interface. -// func (table *Table) ColumnHeader(column int) *AtkObject { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -7981,7 +7833,6 @@ func (table *Table) ColumnHeader(column int) *AtkObject { // - gint representing the index at specified position. The value -1 is // returned if the object at row,column is not a child of table or table // does not implement this interface. -// func (table *Table) IndexAt(row, column int) int { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8010,7 +7861,6 @@ func (table *Table) IndexAt(row, column int) int { // // - gint representing the number of columns, or 0 if value does not implement // this interface. -// func (table *Table) NColumns() int { var _arg0 *C.AtkTable // out var _cret C.gint // in @@ -8033,7 +7883,6 @@ func (table *Table) NColumns() int { // // - gint representing the number of rows, or 0 if value does not implement // this interface. -// func (table *Table) NRows() int { var _arg0 *C.AtkTable // out var _cret C.gint // in @@ -8062,7 +7911,6 @@ func (table *Table) NRows() int { // // - gint representing the row at the specified index, or -1 if the table does // not implement this method. -// func (table *Table) RowAtIndex(index_ int) int { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8092,7 +7940,6 @@ func (table *Table) RowAtIndex(index_ int) int { // // - utf8 (optional): gchar* representing the row description, or NULL if // value does not implement this interface. -// func (table *Table) RowDescription(row int) string { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8126,7 +7973,6 @@ func (table *Table) RowDescription(row int) string { // // - gint representing the row extent at specified position, or 0 if value // does not implement this interface. -// func (table *Table) RowExtentAt(row, column int) int { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8159,7 +8005,6 @@ func (table *Table) RowExtentAt(row, column int) int { // // - object (optional): atkObject* representing the specified row header, // or NULL if value does not implement this interface. -// func (table *Table) RowHeader(row int) *AtkObject { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8193,7 +8038,6 @@ func (table *Table) RowHeader(row int) *AtkObject { // // - gint representing the number of selected columns, or 0 if value does not // implement this interface. -// func (table *Table) SelectedColumns(selected **int) int { var _arg0 *C.AtkTable // out var _arg1 **C.gint // out @@ -8224,7 +8068,6 @@ func (table *Table) SelectedColumns(selected **int) int { // // - gint representing the number of selected rows, or zero if value does not // implement this interface. -// func (table *Table) SelectedRows(selected **int) int { var _arg0 *C.AtkTable // out var _arg1 **C.gint // out @@ -8250,7 +8093,6 @@ func (table *Table) SelectedRows(selected **int) int { // // - object: atkObject* representing a summary description of the table, // or zero if value does not implement this interface. -// func (table *Table) Summary() *AtkObject { var _arg0 *C.AtkTable // out var _cret *C.AtkObject // in @@ -8278,7 +8120,6 @@ func (table *Table) Summary() *AtkObject { // // - ok: gboolean representing if the column is selected, or 0 if value does // not implement this interface. -// func (table *Table) IsColumnSelected(column int) bool { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8311,7 +8152,6 @@ func (table *Table) IsColumnSelected(column int) bool { // // - ok: gboolean representing if the row is selected, or 0 if value does not // implement this interface. -// func (table *Table) IsRowSelected(row int) bool { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8345,7 +8185,6 @@ func (table *Table) IsRowSelected(row int) bool { // // - ok: gboolean representing if the cell is selected, or 0 if value does not // implement this interface. -// func (table *Table) IsSelected(row, column int) bool { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8381,7 +8220,6 @@ func (table *Table) IsSelected(row, column int) bool { // The function returns the following values: // // - object representing the referred to accessible. -// func (table *Table) RefAt(row, column int) *AtkObject { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8414,7 +8252,6 @@ func (table *Table) RefAt(row, column int) *AtkObject { // // - ok: gboolean representing if the column was successfully removed from the // selection, or 0 if value does not implement this interface. -// func (table *Table) RemoveColumnSelection(column int) bool { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8446,7 +8283,6 @@ func (table *Table) RemoveColumnSelection(column int) bool { // // - ok: gboolean representing if the row was successfully removed from the // selection, or 0 if value does not implement this interface. -// func (table *Table) RemoveRowSelection(row int) bool { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8473,7 +8309,6 @@ func (table *Table) RemoveRowSelection(row int) bool { // The function takes the following parameters: // // - caption representing the caption to set for table. -// func (table *Table) SetCaption(caption *AtkObject) { var _arg0 *C.AtkTable // out var _arg1 *C.AtkObject // out @@ -8494,7 +8329,6 @@ func (table *Table) SetCaption(caption *AtkObject) { // - column representing a column in table. // - description representing the description text to set for the specified // column of the table. -// func (table *Table) SetColumnDescription(column int, description string) { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8517,7 +8351,6 @@ func (table *Table) SetColumnDescription(column int, description string) { // // - column representing a column in table. // - header: Table. -// func (table *Table) SetColumnHeader(column int, header *AtkObject) { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8540,7 +8373,6 @@ func (table *Table) SetColumnHeader(column int, header *AtkObject) { // - row representing a row in table. // - description representing the description text to set for the specified // row of table. -// func (table *Table) SetRowDescription(row int, description string) { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8563,7 +8395,6 @@ func (table *Table) SetRowDescription(row int, description string) { // // - row representing a row in table. // - header: Table. -// func (table *Table) SetRowHeader(row int, header *AtkObject) { var _arg0 *C.AtkTable // out var _arg1 C.gint // out @@ -8584,7 +8415,6 @@ func (table *Table) SetRowHeader(row int, header *AtkObject) { // The function takes the following parameters: // // - accessible representing the summary description to set for table. -// func (table *Table) SetSummary(accessible *AtkObject) { var _arg0 *C.AtkTable // out var _arg1 *C.AtkObject // out @@ -8607,7 +8437,6 @@ func (table *Table) SetSummary(accessible *AtkObject) { // // - ok: gboolean representing if the column was successfully added to the // selection, or 0 if value does not implement this interface. -// func (table *Table) addColumnSelection(column int) bool { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.add_column_selection @@ -8642,7 +8471,6 @@ func (table *Table) addColumnSelection(column int) bool { // // - ok: gboolean representing if row was successfully added to selection, // or 0 if value does not implement this interface. -// func (table *Table) addRowSelection(row int) bool { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.add_row_selection @@ -8671,7 +8499,6 @@ func (table *Table) addRowSelection(row int) bool { // // - column // - numDeleted -// func (table *Table) columnDeleted(column, numDeleted int) { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.column_deleted @@ -8694,7 +8521,6 @@ func (table *Table) columnDeleted(column, numDeleted int) { // // - column // - numInserted -// func (table *Table) columnInserted(column, numInserted int) { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.column_inserted @@ -8731,7 +8557,6 @@ func (table *Table) columnReordered() { // // - object (optional): atkObject* representing the table caption, or NULL if // value does not implement this interface. -// func (table *Table) caption() *AtkObject { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_caption @@ -8765,7 +8590,6 @@ func (table *Table) caption() *AtkObject { // // - gint representing the column at the specified index, or -1 if the table // does not implement this method. -// func (table *Table) columnAtIndex(index_ int) int { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_column_at_index @@ -8799,7 +8623,6 @@ func (table *Table) columnAtIndex(index_ int) int { // // - utf8: gchar* representing the column description, or NULL if value does // not implement this interface. -// func (table *Table) columnDescription(column int) string { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_column_description @@ -8834,7 +8657,6 @@ func (table *Table) columnDescription(column int) string { // // - gint representing the column extent at specified position, or 0 if value // does not implement this interface. -// func (table *Table) columnExtentAt(row, column int) int { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_column_extent_at @@ -8871,7 +8693,6 @@ func (table *Table) columnExtentAt(row, column int) int { // // - object (optional): atkObject* representing the specified column header, // or NULL if value does not implement this interface. -// func (table *Table) columnHeader(column int) *AtkObject { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_column_header @@ -8911,7 +8732,6 @@ func (table *Table) columnHeader(column int) *AtkObject { // - gint representing the index at specified position. The value -1 is // returned if the object at row,column is not a child of table or table // does not implement this interface. -// func (table *Table) indexAt(row, column int) int { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_index_at @@ -8943,7 +8763,6 @@ func (table *Table) indexAt(row, column int) int { // // - gint representing the number of columns, or 0 if value does not implement // this interface. -// func (table *Table) nColumns() int { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_n_columns @@ -8969,7 +8788,6 @@ func (table *Table) nColumns() int { // // - gint representing the number of rows, or 0 if value does not implement // this interface. -// func (table *Table) nRows() int { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_n_rows @@ -9001,7 +8819,6 @@ func (table *Table) nRows() int { // // - gint representing the row at the specified index, or -1 if the table does // not implement this method. -// func (table *Table) rowAtIndex(index_ int) int { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_row_at_index @@ -9034,7 +8851,6 @@ func (table *Table) rowAtIndex(index_ int) int { // // - utf8 (optional): gchar* representing the row description, or NULL if // value does not implement this interface. -// func (table *Table) rowDescription(row int) string { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_row_description @@ -9071,7 +8887,6 @@ func (table *Table) rowDescription(row int) string { // // - gint representing the row extent at specified position, or 0 if value // does not implement this interface. -// func (table *Table) rowExtentAt(row, column int) int { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_row_extent_at @@ -9107,7 +8922,6 @@ func (table *Table) rowExtentAt(row, column int) int { // // - object (optional): atkObject* representing the specified row header, // or NULL if value does not implement this interface. -// func (table *Table) rowHeader(row int) *AtkObject { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_row_header @@ -9144,7 +8958,6 @@ func (table *Table) rowHeader(row int) *AtkObject { // // - gint representing the number of selected columns, or 0 if value does not // implement this interface. -// func (table *Table) selectedColumns(selected **int) int { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_selected_columns @@ -9178,7 +8991,6 @@ func (table *Table) selectedColumns(selected **int) int { // // - gint representing the number of selected rows, or zero if value does not // implement this interface. -// func (table *Table) selectedRows(selected **int) int { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_selected_rows @@ -9207,7 +9019,6 @@ func (table *Table) selectedRows(selected **int) int { // // - object: atkObject* representing a summary description of the table, // or zero if value does not implement this interface. -// func (table *Table) summary() *AtkObject { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.get_summary @@ -9238,7 +9049,6 @@ func (table *Table) summary() *AtkObject { // // - ok: gboolean representing if the column is selected, or 0 if value does // not implement this interface. -// func (table *Table) isColumnSelected(column int) bool { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.is_column_selected @@ -9274,7 +9084,6 @@ func (table *Table) isColumnSelected(column int) bool { // // - ok: gboolean representing if the row is selected, or 0 if value does not // implement this interface. -// func (table *Table) isRowSelected(row int) bool { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.is_row_selected @@ -9311,7 +9120,6 @@ func (table *Table) isRowSelected(row int) bool { // // - ok: gboolean representing if the cell is selected, or 0 if value does not // implement this interface. -// func (table *Table) isSelected(row, column int) bool { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.is_selected @@ -9362,7 +9170,6 @@ func (table *Table) modelChanged() { // The function returns the following values: // // - object representing the referred to accessible. -// func (table *Table) refAt(row, column int) *AtkObject { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.ref_at @@ -9398,7 +9205,6 @@ func (table *Table) refAt(row, column int) *AtkObject { // // - ok: gboolean representing if the column was successfully removed from the // selection, or 0 if value does not implement this interface. -// func (table *Table) removeColumnSelection(column int) bool { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.remove_column_selection @@ -9433,7 +9239,6 @@ func (table *Table) removeColumnSelection(column int) bool { // // - ok: gboolean representing if the row was successfully removed from the // selection, or 0 if value does not implement this interface. -// func (table *Table) removeRowSelection(row int) bool { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.remove_row_selection @@ -9462,7 +9267,6 @@ func (table *Table) removeRowSelection(row int) bool { // // - row // - numDeleted -// func (table *Table) rowDeleted(row, numDeleted int) { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.row_deleted @@ -9485,7 +9289,6 @@ func (table *Table) rowDeleted(row, numDeleted int) { // // - row // - numInserted -// func (table *Table) rowInserted(row, numInserted int) { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.row_inserted @@ -9521,7 +9324,6 @@ func (table *Table) rowReordered() { // The function takes the following parameters: // // - caption representing the caption to set for table. -// func (table *Table) setCaption(caption *AtkObject) { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.set_caption @@ -9545,7 +9347,6 @@ func (table *Table) setCaption(caption *AtkObject) { // - column representing a column in table. // - description representing the description text to set for the specified // column of the table. -// func (table *Table) setColumnDescription(column int, description string) { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.set_column_description @@ -9571,7 +9372,6 @@ func (table *Table) setColumnDescription(column int, description string) { // // - column representing a column in table. // - header: Table. -// func (table *Table) setColumnHeader(column int, header *AtkObject) { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.set_column_header @@ -9597,7 +9397,6 @@ func (table *Table) setColumnHeader(column int, header *AtkObject) { // - row representing a row in table. // - description representing the description text to set for the specified // row of table. -// func (table *Table) setRowDescription(row int, description string) { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.set_row_description @@ -9623,7 +9422,6 @@ func (table *Table) setRowDescription(row int, description string) { // // - row representing a row in table. // - header: Table. -// func (table *Table) setRowHeader(row int, header *AtkObject) { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.set_row_header @@ -9647,7 +9445,6 @@ func (table *Table) setRowHeader(row int, header *AtkObject) { // The function takes the following parameters: // // - accessible representing the summary description to set for table. -// func (table *Table) setSummary(accessible *AtkObject) { gclass := (*C.AtkTableIface)(coreglib.PeekParentClass(table)) fnarg := gclass.set_summary @@ -9718,7 +9515,6 @@ func marshalTableCell(p uintptr) (interface{}, error) { // // - gint representing the number of columns occupied by this cell, or 0 if // the cell does not implement this method. -// func (cell *TableCell) ColumnSpan() int { var _arg0 *C.AtkTableCell // out var _cret C.gint // in @@ -9742,7 +9538,6 @@ func (cell *TableCell) ColumnSpan() int { // - row of the given cell. // - column of the given cell. // - ok: TRUE if successful; FALSE otherwise. -// func (cell *TableCell) Position() (row, column int, ok bool) { var _arg0 *C.AtkTableCell // out var _arg1 C.gint // in @@ -9781,7 +9576,6 @@ func (cell *TableCell) Position() (row, column int, ok bool) { // - rowSpan: number of rows occupied by this cell. // - columnSpan: number of columns occupied by this cell. // - ok: TRUE if successful; FALSE otherwise. -// func (cell *TableCell) RowColumnSpan() (row, column, rowSpan, columnSpan int, ok bool) { var _arg0 *C.AtkTableCell // out var _arg1 C.gint // in @@ -9818,7 +9612,6 @@ func (cell *TableCell) RowColumnSpan() (row, column, rowSpan, columnSpan int, ok // // - gint representing the number of rows occupied by this cell, or 0 if the // cell does not implement this method. -// func (cell *TableCell) RowSpan() int { var _arg0 *C.AtkTableCell // out var _cret C.gint // in @@ -9840,7 +9633,6 @@ func (cell *TableCell) RowSpan() int { // The function returns the following values: // // - object: atk object for the containing table. -// func (cell *TableCell) Table() *AtkObject { var _arg0 *C.AtkTableCell // out var _cret *C.AtkObject // in @@ -9863,7 +9655,6 @@ func (cell *TableCell) Table() *AtkObject { // // - gint representing the number of columns occupied by this cell, or 0 if // the cell does not implement this method. -// func (cell *TableCell) columnSpan() int { gclass := (*C.AtkTableCellIface)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_column_span @@ -9890,7 +9681,6 @@ func (cell *TableCell) columnSpan() int { // - row of the given cell. // - column of the given cell. // - ok: TRUE if successful; FALSE otherwise. -// func (cell *TableCell) position() (row, column int, ok bool) { gclass := (*C.AtkTableCellIface)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_position @@ -9932,7 +9722,6 @@ func (cell *TableCell) position() (row, column int, ok bool) { // - rowSpan: number of rows occupied by this cell. // - columnSpan: number of columns occupied by this cell. // - ok: TRUE if successful; FALSE otherwise. -// func (cell *TableCell) rowColumnSpan() (row, column, rowSpan, columnSpan int, ok bool) { gclass := (*C.AtkTableCellIface)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_row_column_span @@ -9972,7 +9761,6 @@ func (cell *TableCell) rowColumnSpan() (row, column, rowSpan, columnSpan int, ok // // - gint representing the number of rows occupied by this cell, or 0 if the // cell does not implement this method. -// func (cell *TableCell) rowSpan() int { gclass := (*C.AtkTableCellIface)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_row_span @@ -9997,7 +9785,6 @@ func (cell *TableCell) rowSpan() int { // The function returns the following values: // // - object: atk object for the containing table. -// func (cell *TableCell) table() *AtkObject { gclass := (*C.AtkTableCellIface)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_table @@ -10027,7 +9814,7 @@ func (cell *TableCell) table() *AtkObject { // In the case of editable text content, EditableText (a subtype of the Text // interface) should be implemented instead. // -// Text provides not only traversal facilities and change +// Text provides not only traversal facilities and change // // notification for text content, but also caret tracking and glyph bounding // box calculations. Note that the text strings are exposed as UTF-8, and are @@ -10180,7 +9967,6 @@ func (text *Text) ConnectTextSelectionChanged(f func()) coreglib.SignalHandle { // The function returns the following values: // // - ok: TRUE if successful, FALSE otherwise. -// func (text *Text) AddSelection(startOffset, endOffset int) bool { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10219,7 +10005,6 @@ func (text *Text) AddSelection(startOffset, endOffset int) bool { // // - textRanges: array of AtkTextRange. The last element of the array returned // by this function will be NULL. -// func (text *Text) BoundedRanges(rect *TextRectangle, coordType CoordType, xClipType, yClipType TextClipType) []*TextRange { var _arg0 *C.AtkText // out var _arg1 *C.AtkTextRectangle // out @@ -10273,7 +10058,6 @@ func (text *Text) BoundedRanges(rect *TextRectangle, coordType CoordType, xClipT // // - gint: character offset of the position of the caret or -1 if the caret is // not located inside the element or in the case of any other failure. -// func (text *Text) CaretOffset() int { var _arg0 *C.AtkText // out var _cret C.gint // in @@ -10299,7 +10083,6 @@ func (text *Text) CaretOffset() int { // The function returns the following values: // // - gunichar: character at offset or 0 in the case of failure. -// func (text *Text) CharacterAtOffset(offset int) uint32 { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10324,7 +10107,6 @@ func (text *Text) CharacterAtOffset(offset int) uint32 { // The function returns the following values: // // - gint: number of characters or -1 in case of failure. -// func (text *Text) CharacterCount() int { var _arg0 *C.AtkText // out var _cret C.gint // in @@ -10359,7 +10141,6 @@ func (text *Text) CharacterCount() int { // - y (optional): pointer for the y coordinate of the bounding box. // - width (optional): pointer for the width of the bounding box. // - height (optional): pointer for the height of the bounding box. -// func (text *Text) CharacterExtents(offset int, coords CoordType) (x, y, width, height int) { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10396,7 +10177,6 @@ func (text *Text) CharacterExtents(offset int, coords CoordType) (x, y, width, h // The function returns the following values: // // - gint: number of selected regions, or -1 in the case of failure. -// func (text *Text) NSelections() int { var _arg0 *C.AtkText // out var _cret C.gint // in @@ -10428,7 +10208,6 @@ func (text *Text) NSelections() int { // // - gint: offset to the character which is located at the specified x and y // coordinates of -1 in case of failure. -// func (text *Text) OffsetAtPoint(x, y int, coords CoordType) int { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10471,7 +10250,6 @@ func (text *Text) OffsetAtPoint(x, y int, coords CoordType) int { // The function returns the following values: // // - rect: pointer to a AtkTextRectangle which is filled in by this function. -// func (text *Text) RangeExtents(startOffset, endOffset int, coordType CoordType) *TextRectangle { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10515,7 +10293,6 @@ func (text *Text) RangeExtents(startOffset, endOffset int, coordType CoordType) // past) of the selected region. // - utf8: newly allocated string containing the selected text. Use g_free() // to free the returned string. -// func (text *Text) Selection(selectionNum int) (startOffset, endOffset int, utf8 string) { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10586,7 +10363,6 @@ func (text *Text) Selection(selectionNum int) (startOffset, endOffset int, utf8 // bounded by the specified granularity. Use g_free() to free the returned // string. Returns NULL if the offset is invalid or no implementation is // available. -// func (text *Text) StringAtOffset(offset int, granularity TextGranularity) (startOffset, endOffset int, utf8 string) { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10630,7 +10406,6 @@ func (text *Text) StringAtOffset(offset int, granularity TextGranularity) (start // // - utf8: newly allocated string containing the text from start_offset up to, // but not including end_offset. Use g_free() to free the returned string. -// func (text *Text) Text(startOffset, endOffset int) string { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10669,7 +10444,6 @@ func (text *Text) Text(startOffset, endOffset int) string { // - endOffset: offset of the first character after the returned substring. // - utf8: newly allocated string containing the text after offset bounded by // the specified boundary_type. Use g_free() to free the returned string. -// func (text *Text) TextAfterOffset(offset int, boundaryType TextBoundary) (startOffset, endOffset int, utf8 string) { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10738,7 +10512,6 @@ func (text *Text) TextAfterOffset(offset int, boundaryType TextBoundary) (startO // - endOffset: offset of the first character after the returned substring. // - utf8: newly allocated string containing the text at offset bounded by the // specified boundary_type. Use g_free() to free the returned string. -// func (text *Text) TextAtOffset(offset int, boundaryType TextBoundary) (startOffset, endOffset int, utf8 string) { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10783,7 +10556,6 @@ func (text *Text) TextAtOffset(offset int, boundaryType TextBoundary) (startOffs // - endOffset: offset of the first character after the returned substring. // - utf8: newly allocated string containing the text before offset bounded by // the specified boundary_type. Use g_free() to free the returned string. -// func (text *Text) TextBeforeOffset(offset int, boundaryType TextBoundary) (startOffset, endOffset int, utf8 string) { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10826,7 +10598,6 @@ func (text *Text) TextBeforeOffset(offset int, boundaryType TextBoundary) (start // The function returns the following values: // // - ok: TRUE if successful, FALSE otherwise. -// func (text *Text) RemoveSelection(selectionNum int) bool { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10860,7 +10631,6 @@ func (text *Text) RemoveSelection(selectionNum int) bool { // The function returns the following values: // // - ok: whether scrolling was successful. -// func (text *Text) ScrollSubstringTo(startOffset, endOffset int, typ ScrollType) bool { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10903,7 +10673,6 @@ func (text *Text) ScrollSubstringTo(startOffset, endOffset int, typ ScrollType) // The function returns the following values: // // - ok: whether scrolling was successful. -// func (text *Text) ScrollSubstringToPoint(startOffset, endOffset int, coords CoordType, x, y int) bool { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -10962,7 +10731,6 @@ func (text *Text) ScrollSubstringToPoint(startOffset, endOffset int, coords Coor // The function returns the following values: // // - ok: TRUE if successful, FALSE otherwise. -// func (text *Text) SetCaretOffset(offset int) bool { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -11000,7 +10768,6 @@ func (text *Text) SetCaretOffset(offset int) bool { // The function returns the following values: // // - ok: TRUE if successful, FALSE otherwise. -// func (text *Text) SetSelection(selectionNum, startOffset, endOffset int) bool { var _arg0 *C.AtkText // out var _arg1 C.gint // out @@ -11038,7 +10805,6 @@ func (text *Text) SetSelection(selectionNum, startOffset, endOffset int) bool { // The function returns the following values: // // - ok: TRUE if successful, FALSE otherwise. -// func (text *Text) addSelection(startOffset, endOffset int) bool { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.add_selection @@ -11080,7 +10846,6 @@ func (text *Text) addSelection(startOffset, endOffset int) bool { // // - textRanges: array of AtkTextRange. The last element of the array returned // by this function will be NULL. -// func (text *Text) boundedRanges(rect *TextRectangle, coordType CoordType, xClipType, yClipType TextClipType) []*TextRange { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_bounded_ranges @@ -11137,7 +10902,6 @@ func (text *Text) boundedRanges(rect *TextRectangle, coordType CoordType, xClipT // // - gint: character offset of the position of the caret or -1 if the caret is // not located inside the element or in the case of any other failure. -// func (text *Text) caretOffset() int { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_caret_offset @@ -11166,7 +10930,6 @@ func (text *Text) caretOffset() int { // The function returns the following values: // // - gunichar: character at offset or 0 in the case of failure. -// func (text *Text) characterAtOffset(offset int) uint32 { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_character_at_offset @@ -11194,7 +10957,6 @@ func (text *Text) characterAtOffset(offset int) uint32 { // The function returns the following values: // // - gint: number of characters or -1 in case of failure. -// func (text *Text) characterCount() int { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_character_count @@ -11232,7 +10994,6 @@ func (text *Text) characterCount() int { // - y (optional): pointer for the y coordinate of the bounding box. // - width (optional): pointer for the width of the bounding box. // - height (optional): pointer for the height of the bounding box. -// func (text *Text) characterExtents(offset int, coords CoordType) (x, y, width, height int) { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_character_extents @@ -11272,7 +11033,6 @@ func (text *Text) characterExtents(offset int, coords CoordType) (x, y, width, h // The function returns the following values: // // - gint: number of selected regions, or -1 in the case of failure. -// func (text *Text) nSelections() int { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_n_selections @@ -11307,7 +11067,6 @@ func (text *Text) nSelections() int { // // - gint: offset to the character which is located at the specified x and y // coordinates of -1 in case of failure. -// func (text *Text) offsetAtPoint(x, y int, coords CoordType) int { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_offset_at_point @@ -11353,7 +11112,6 @@ func (text *Text) offsetAtPoint(x, y int, coords CoordType) int { // The function returns the following values: // // - rect: pointer to a AtkTextRectangle which is filled in by this function. -// func (text *Text) rangeExtents(startOffset, endOffset int, coordType CoordType) *TextRectangle { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_range_extents @@ -11400,7 +11158,6 @@ func (text *Text) rangeExtents(startOffset, endOffset int, coordType CoordType) // past) of the selected region. // - utf8: newly allocated string containing the selected text. Use g_free() // to free the returned string. -// func (text *Text) selection(selectionNum int) (startOffset, endOffset int, utf8 string) { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_selection @@ -11474,7 +11231,6 @@ func (text *Text) selection(selectionNum int) (startOffset, endOffset int, utf8 // bounded by the specified granularity. Use g_free() to free the returned // string. Returns NULL if the offset is invalid or no implementation is // available. -// func (text *Text) stringAtOffset(offset int, granularity TextGranularity) (startOffset, endOffset int, utf8 string) { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_string_at_offset @@ -11521,7 +11277,6 @@ func (text *Text) stringAtOffset(offset int, granularity TextGranularity) (start // // - utf8: newly allocated string containing the text from start_offset up to, // but not including end_offset. Use g_free() to free the returned string. -// func (text *Text) text(startOffset, endOffset int) string { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_text @@ -11563,7 +11318,6 @@ func (text *Text) text(startOffset, endOffset int) string { // - endOffset: offset of the first character after the returned substring. // - utf8: newly allocated string containing the text after offset bounded by // the specified boundary_type. Use g_free() to free the returned string. -// func (text *Text) textAfterOffset(offset int, boundaryType TextBoundary) (startOffset, endOffset int, utf8 string) { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_text_after_offset @@ -11635,7 +11389,6 @@ func (text *Text) textAfterOffset(offset int, boundaryType TextBoundary) (startO // - endOffset: offset of the first character after the returned substring. // - utf8: newly allocated string containing the text at offset bounded by the // specified boundary_type. Use g_free() to free the returned string. -// func (text *Text) textAtOffset(offset int, boundaryType TextBoundary) (startOffset, endOffset int, utf8 string) { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_text_at_offset @@ -11683,7 +11436,6 @@ func (text *Text) textAtOffset(offset int, boundaryType TextBoundary) (startOffs // - endOffset: offset of the first character after the returned substring. // - utf8: newly allocated string containing the text before offset bounded by // the specified boundary_type. Use g_free() to free the returned string. -// func (text *Text) textBeforeOffset(offset int, boundaryType TextBoundary) (startOffset, endOffset int, utf8 string) { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.get_text_before_offset @@ -11729,7 +11481,6 @@ func (text *Text) textBeforeOffset(offset int, boundaryType TextBoundary) (start // The function returns the following values: // // - ok: TRUE if successful, FALSE otherwise. -// func (text *Text) removeSelection(selectionNum int) bool { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.remove_selection @@ -11766,7 +11517,6 @@ func (text *Text) removeSelection(selectionNum int) bool { // The function returns the following values: // // - ok: whether scrolling was successful. -// func (text *Text) scrollSubstringTo(startOffset, endOffset int, typ ScrollType) bool { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.scroll_substring_to @@ -11812,7 +11562,6 @@ func (text *Text) scrollSubstringTo(startOffset, endOffset int, typ ScrollType) // The function returns the following values: // // - ok: whether scrolling was successful. -// func (text *Text) scrollSubstringToPoint(startOffset, endOffset int, coords CoordType, x, y int) bool { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.scroll_substring_to_point @@ -11874,7 +11623,6 @@ func (text *Text) scrollSubstringToPoint(startOffset, endOffset int, coords Coor // The function returns the following values: // // - ok: TRUE if successful, FALSE otherwise. -// func (text *Text) setCaretOffset(offset int) bool { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.set_caret_offset @@ -11915,7 +11663,6 @@ func (text *Text) setCaretOffset(offset int) bool { // The function returns the following values: // // - ok: TRUE if successful, FALSE otherwise. -// func (text *Text) setSelection(selectionNum, startOffset, endOffset int) bool { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.set_selection @@ -11977,7 +11724,6 @@ func (text *Text) textCaretMoved(location int) { // // - position // - length -// func (text *Text) textChanged(position, length int) { gclass := (*C.AtkTextIface)(coreglib.PeekParentClass(text)) fnarg := gclass.text_changed @@ -12176,7 +11922,6 @@ func (obj *Value) ConnectValueChanged(f func(value float64, text string)) coregl // The function returns the following values: // // - value representing the current accessible value. -// func (obj *Value) CurrentValue() coreglib.Value { var _arg0 *C.AtkValue // out var _arg1 C.GValue // in @@ -12201,7 +11946,6 @@ func (obj *Value) CurrentValue() coreglib.Value { // // - gdouble: minimum increment by which the value of this object may be // changed. zero if undefined. -// func (obj *Value) Increment() float64 { var _arg0 *C.AtkValue // out var _cret C.gdouble // in @@ -12225,7 +11969,6 @@ func (obj *Value) Increment() float64 { // The function returns the following values: // // - value representing the maximum accessible value. -// func (obj *Value) MaximumValue() coreglib.Value { var _arg0 *C.AtkValue // out var _arg1 C.GValue // in @@ -12252,7 +11995,6 @@ func (obj *Value) MaximumValue() coreglib.Value { // // - value representing the minimum increment by which the accessible value // may be changed. -// func (obj *Value) MinimumIncrement() coreglib.Value { var _arg0 *C.AtkValue // out var _arg1 C.GValue // in @@ -12276,7 +12018,6 @@ func (obj *Value) MinimumIncrement() coreglib.Value { // The function returns the following values: // // - value representing the minimum accessible value. -// func (obj *Value) MinimumValue() coreglib.Value { var _arg0 *C.AtkValue // out var _arg1 C.GValue // in @@ -12300,7 +12041,6 @@ func (obj *Value) MinimumValue() coreglib.Value { // - _range (optional): newly allocated Range that represents the minimum, // maximum and descriptor (if available) of obj. NULL if that range is not // defined. -// func (obj *Value) Range() *Range { var _arg0 *C.AtkValue // out var _cret *C.AtkRange // in @@ -12332,7 +12072,6 @@ func (obj *Value) Range() *Range { // // - sList of Range which each of the subranges defined for this object. // Free the returns list with g_slist_free(). -// func (obj *Value) SubRanges() []*Range { var _arg0 *C.AtkValue // out var _cret *C.GSList // in @@ -12370,7 +12109,6 @@ func (obj *Value) SubRanges() []*Range { // - value address of #gdouble to put the current value of obj. // - text (optional) address of #gchar to put the human readable text // alternative for value. -// func (obj *Value) ValueAndText() (float64, string) { var _arg0 *C.AtkValue // out var _arg1 C.gdouble // in @@ -12404,7 +12142,6 @@ func (obj *Value) ValueAndText() (float64, string) { // The function returns the following values: // // - ok: TRUE if new value is successfully set, FALSE otherwise. -// func (obj *Value) SetCurrentValue(value *coreglib.Value) bool { var _arg0 *C.AtkValue // out var _arg1 *C.GValue // out @@ -12442,7 +12179,6 @@ func (obj *Value) SetCurrentValue(value *coreglib.Value) bool { // The function takes the following parameters: // // - newValue: double which is the desired new accessible value. -// func (obj *Value) SetValue(newValue float64) { var _arg0 *C.AtkValue // out var _arg1 C.gdouble // out @@ -12462,7 +12198,6 @@ func (obj *Value) SetValue(newValue float64) { // The function returns the following values: // // - value representing the current accessible value. -// func (obj *Value) currentValue() coreglib.Value { gclass := (*C.AtkValueIface)(coreglib.PeekParentClass(obj)) fnarg := gclass.get_current_value @@ -12490,7 +12225,6 @@ func (obj *Value) currentValue() coreglib.Value { // // - gdouble: minimum increment by which the value of this object may be // changed. zero if undefined. -// func (obj *Value) increment() float64 { gclass := (*C.AtkValueIface)(coreglib.PeekParentClass(obj)) fnarg := gclass.get_increment @@ -12517,7 +12251,6 @@ func (obj *Value) increment() float64 { // The function returns the following values: // // - value representing the maximum accessible value. -// func (obj *Value) maximumValue() coreglib.Value { gclass := (*C.AtkValueIface)(coreglib.PeekParentClass(obj)) fnarg := gclass.get_maximum_value @@ -12547,7 +12280,6 @@ func (obj *Value) maximumValue() coreglib.Value { // // - value representing the minimum increment by which the accessible value // may be changed. -// func (obj *Value) minimumIncrement() coreglib.Value { gclass := (*C.AtkValueIface)(coreglib.PeekParentClass(obj)) fnarg := gclass.get_minimum_increment @@ -12574,7 +12306,6 @@ func (obj *Value) minimumIncrement() coreglib.Value { // The function returns the following values: // // - value representing the minimum accessible value. -// func (obj *Value) minimumValue() coreglib.Value { gclass := (*C.AtkValueIface)(coreglib.PeekParentClass(obj)) fnarg := gclass.get_minimum_value @@ -12601,7 +12332,6 @@ func (obj *Value) minimumValue() coreglib.Value { // - _range (optional): newly allocated Range that represents the minimum, // maximum and descriptor (if available) of obj. NULL if that range is not // defined. -// func (obj *Value) _range() *Range { gclass := (*C.AtkValueIface)(coreglib.PeekParentClass(obj)) fnarg := gclass.get_range @@ -12636,7 +12366,6 @@ func (obj *Value) _range() *Range { // // - sList of Range which each of the subranges defined for this object. // Free the returns list with g_slist_free(). -// func (obj *Value) subRanges() []*Range { gclass := (*C.AtkValueIface)(coreglib.PeekParentClass(obj)) fnarg := gclass.get_sub_ranges @@ -12677,7 +12406,6 @@ func (obj *Value) subRanges() []*Range { // - value address of #gdouble to put the current value of obj. // - text (optional) address of #gchar to put the human readable text // alternative for value. -// func (obj *Value) valueAndText() (float64, string) { gclass := (*C.AtkValueIface)(coreglib.PeekParentClass(obj)) fnarg := gclass.get_value_and_text @@ -12714,7 +12442,6 @@ func (obj *Value) valueAndText() (float64, string) { // The function returns the following values: // // - ok: TRUE if new value is successfully set, FALSE otherwise. -// func (obj *Value) setCurrentValue(value *coreglib.Value) bool { gclass := (*C.AtkValueIface)(coreglib.PeekParentClass(obj)) fnarg := gclass.set_current_value @@ -12755,7 +12482,6 @@ func (obj *Value) setCurrentValue(value *coreglib.Value) bool { // The function takes the following parameters: // // - newValue: double which is the desired new accessible value. -// func (obj *Value) setValue(newValue float64) { gclass := (*C.AtkValueIface)(coreglib.PeekParentClass(obj)) fnarg := gclass.set_value @@ -12925,7 +12651,6 @@ func marshalGObjectAccessible(p uintptr) (interface{}, error) { // The function returns the following values: // // - object which is the object for which obj is the accessible object. -// func (obj *GObjectAccessible) Object() *coreglib.Object { var _arg0 *C.AtkGObjectAccessible // out var _cret *C.GObject // in @@ -12951,7 +12676,6 @@ func (obj *GObjectAccessible) Object() *coreglib.Object { // The function returns the following values: // // - object which is the accessible object for the obj. -// func GObjectAccessibleForObject(obj *coreglib.Object) *AtkObject { var _arg1 *C.GObject // out var _cret *C.AtkObject // in @@ -12976,14 +12700,12 @@ type HyperlinkOverrides struct { // The function returns the following values: // // - gint: index with the hypertext document at which this link ends. - // EndIndex func() int // NAnchors gets the number of anchors associated with this hyperlink. // // The function returns the following values: // // - gint: number of anchors associated with this hyperlink. - // NAnchors func() int // GetObject returns the item associated with this hyperlinks nth anchor. // For instance, the returned Object will implement Text if link_ is a text @@ -12998,7 +12720,6 @@ type HyperlinkOverrides struct { // The function returns the following values: // // - object associated with this hyperlinks i-th anchor. - // GetObject func(i int) *AtkObject // StartIndex gets the index with the hypertext document at which this link // begins. @@ -13006,7 +12727,6 @@ type HyperlinkOverrides struct { // The function returns the following values: // // - gint: index with the hypertext document at which this link begins. - // StartIndex func() int // URI: get a the URI associated with the anchor specified by i of link_. // @@ -13019,7 +12739,6 @@ type HyperlinkOverrides struct { // The function returns the following values: // // - utf8: string specifying the URI. - // URI func(i int) string // IsSelectedLink determines whether this AtkHyperlink is selected // @@ -13029,7 +12748,6 @@ type HyperlinkOverrides struct { // The function returns the following values: // // - ok: true if the AtkHyperlink is selected, False otherwise. - // IsSelectedLink func() bool // IsValid: since the document that a link is associated with may have // changed this method returns TRUE if the link is still valid (with respect @@ -13038,7 +12756,6 @@ type HyperlinkOverrides struct { // The function returns the following values: // // - ok: whether or not this link is still valid. - // IsValid func() bool LinkActivated func() LinkState func() uint @@ -13152,7 +12869,6 @@ func (link_ *Hyperlink) ConnectLinkActivated(f func()) coreglib.SignalHandle { // The function returns the following values: // // - gint: index with the hypertext document at which this link ends. -// func (link_ *Hyperlink) EndIndex() int { var _arg0 *C.AtkHyperlink // out var _cret C.gint // in @@ -13174,7 +12890,6 @@ func (link_ *Hyperlink) EndIndex() int { // The function returns the following values: // // - gint: number of anchors associated with this hyperlink. -// func (link_ *Hyperlink) NAnchors() int { var _arg0 *C.AtkHyperlink // out var _cret C.gint // in @@ -13204,7 +12919,6 @@ func (link_ *Hyperlink) NAnchors() int { // The function returns the following values: // // - object associated with this hyperlinks i-th anchor. -// func (link_ *Hyperlink) GetObject(i int) *AtkObject { var _arg0 *C.AtkHyperlink // out var _arg1 C.gint // out @@ -13230,7 +12944,6 @@ func (link_ *Hyperlink) GetObject(i int) *AtkObject { // The function returns the following values: // // - gint: index with the hypertext document at which this link begins. -// func (link_ *Hyperlink) StartIndex() int { var _arg0 *C.AtkHyperlink // out var _cret C.gint // in @@ -13258,7 +12971,6 @@ func (link_ *Hyperlink) StartIndex() int { // The function returns the following values: // // - utf8: string specifying the URI. -// func (link_ *Hyperlink) URI(i int) string { var _arg0 *C.AtkHyperlink // out var _arg1 C.gint // out @@ -13286,7 +12998,6 @@ func (link_ *Hyperlink) URI(i int) string { // The function returns the following values: // // - ok: whether or not this link displays its content inline. -// func (link_ *Hyperlink) IsInline() bool { var _arg0 *C.AtkHyperlink // out var _cret C.gboolean // in @@ -13313,7 +13024,6 @@ func (link_ *Hyperlink) IsInline() bool { // The function returns the following values: // // - ok: true if the AtkHyperlink is selected, False otherwise. -// func (link_ *Hyperlink) IsSelectedLink() bool { var _arg0 *C.AtkHyperlink // out var _cret C.gboolean // in @@ -13339,7 +13049,6 @@ func (link_ *Hyperlink) IsSelectedLink() bool { // The function returns the following values: // // - ok: whether or not this link is still valid. -// func (link_ *Hyperlink) IsValid() bool { var _arg0 *C.AtkHyperlink // out var _cret C.gboolean // in @@ -13363,7 +13072,6 @@ func (link_ *Hyperlink) IsValid() bool { // The function returns the following values: // // - gint: index with the hypertext document at which this link ends. -// func (link_ *Hyperlink) endIndex() int { gclass := (*C.AtkHyperlinkClass)(coreglib.PeekParentClass(link_)) fnarg := gclass.get_end_index @@ -13388,7 +13096,6 @@ func (link_ *Hyperlink) endIndex() int { // The function returns the following values: // // - gint: number of anchors associated with this hyperlink. -// func (link_ *Hyperlink) nAnchors() int { gclass := (*C.AtkHyperlinkClass)(coreglib.PeekParentClass(link_)) fnarg := gclass.get_n_anchors @@ -13421,7 +13128,6 @@ func (link_ *Hyperlink) nAnchors() int { // The function returns the following values: // // - object associated with this hyperlinks i-th anchor. -// func (link_ *Hyperlink) getObject(i int) *AtkObject { gclass := (*C.AtkHyperlinkClass)(coreglib.PeekParentClass(link_)) fnarg := gclass.get_object @@ -13450,7 +13156,6 @@ func (link_ *Hyperlink) getObject(i int) *AtkObject { // The function returns the following values: // // - gint: index with the hypertext document at which this link begins. -// func (link_ *Hyperlink) startIndex() int { gclass := (*C.AtkHyperlinkClass)(coreglib.PeekParentClass(link_)) fnarg := gclass.get_start_index @@ -13481,7 +13186,6 @@ func (link_ *Hyperlink) startIndex() int { // The function returns the following values: // // - utf8: string specifying the URI. -// func (link_ *Hyperlink) urI(i int) string { gclass := (*C.AtkHyperlinkClass)(coreglib.PeekParentClass(link_)) fnarg := gclass.get_uri @@ -13513,7 +13217,6 @@ func (link_ *Hyperlink) urI(i int) string { // The function returns the following values: // // - ok: true if the AtkHyperlink is selected, False otherwise. -// func (link_ *Hyperlink) isSelectedLink() bool { gclass := (*C.AtkHyperlinkClass)(coreglib.PeekParentClass(link_)) fnarg := gclass.is_selected_link @@ -13542,7 +13245,6 @@ func (link_ *Hyperlink) isSelectedLink() bool { // The function returns the following values: // // - ok: whether or not this link is still valid. -// func (link_ *Hyperlink) isValid() bool { gclass := (*C.AtkHyperlinkClass)(coreglib.PeekParentClass(link_)) fnarg := gclass.is_valid @@ -13751,7 +13453,6 @@ func (misc *Misc) threadsLeave() { // The function returns the following values: // // - misc: singleton instance of AtkMisc for this application. -// func MiscGetInstance() *Misc { var _cret *C.AtkMisc // in @@ -13877,7 +13578,6 @@ func marshalNoOpObject(p uintptr) (interface{}, error) { // The function returns the following values: // // - noOpObject: default (non-functioning stub) Object. -// func NewNoOpObject(obj *coreglib.Object) *NoOpObject { var _arg1 *C.GObject // out var _cret *C.AtkObject // in @@ -13948,7 +13648,6 @@ func marshalNoOpObjectFactory(p uintptr) (interface{}, error) { // The function returns the following values: // // - noOpObjectFactory: instance of an ObjectFactory. -// func NewNoOpObjectFactory() *NoOpObjectFactory { var _cret *C.AtkObjectFactory // in @@ -13968,7 +13667,6 @@ type AtkObjectOverrides struct { // // - changeIndex // - changedChild (optional) - // ChildrenChanged func(changeIndex uint, changedChild unsafe.Pointer) FocusEvent func(focusIn bool) // Description gets the accessible description of the accessible. @@ -13977,7 +13675,6 @@ type AtkObjectOverrides struct { // // - utf8: character string representing the accessible description of the // accessible. - // Description func() string // IndexInParent gets the 0-based index of this accessible in its parent; // returns -1 if the accessible does not have an accessible parent. @@ -13985,7 +13682,6 @@ type AtkObjectOverrides struct { // The function returns the following values: // // - gint: integer which is the index of the accessible in its parent. - // IndexInParent func() int // Layer gets the layer of the accessible. // @@ -13994,7 +13690,6 @@ type AtkObjectOverrides struct { // The function returns the following values: // // - layer which is the layer of the accessible. - // Layer func() Layer // MDIZOrder gets the zorder of the accessible. The value G_MININT will be // returned if the layer of the accessible is not ATK_LAYER_MDI. @@ -14006,7 +13701,6 @@ type AtkObjectOverrides struct { // - gint which is the zorder of the accessible, i.e. the depth at which // the component is shown in relation to other components in the same // container. - // MDIZOrder func() int NChildren func() int // Name gets the accessible name of the accessible. @@ -14015,7 +13709,6 @@ type AtkObjectOverrides struct { // // - utf8: character string representing the accessible name of the // object. - // Name func() string // ObjectLocale gets a UTF-8 string indicating the POSIX-style LC_MESSAGES // locale of accessible. @@ -14024,7 +13717,6 @@ type AtkObjectOverrides struct { // // - utf8: UTF-8 string indicating the POSIX-style LC_MESSAGES locale of // accessible. - // ObjectLocale func() string // Parent gets the accessible parent of the accessible. By default this is // the one assigned with atk_object_set_parent(), but it is assumed that ATK @@ -14038,14 +13730,12 @@ type AtkObjectOverrides struct { // The function returns the following values: // // - object representing the accessible parent of the accessible. - // Parent func() *AtkObject // Role gets the role of the accessible. // // The function returns the following values: // // - role which is the role of the accessible. - // Role func() Role // Initialize: this function is called when implementing subclasses of // Object. It does initialization required for the new object. It is @@ -14056,7 +13746,6 @@ type AtkObjectOverrides struct { // // - data (optional) which identifies the object for which the AtkObject // was created. - // Initialize func(data unsafe.Pointer) PropertyChange func(values *PropertyValues) // RefRelationSet gets the RelationSet associated with the object. @@ -14064,7 +13753,6 @@ type AtkObjectOverrides struct { // The function returns the following values: // // - relationSet representing the relation set of the object. - // RefRelationSet func() *RelationSet // RefStateSet gets a reference to the state set of the accessible; // the caller must unreference it when it is no longer needed. @@ -14073,7 +13761,6 @@ type AtkObjectOverrides struct { // // - stateSet: reference to an StateSet which is the state set of the // accessible. - // RefStateSet func() *StateSet // RemovePropertyChangeHandler removes a property change handler. // @@ -14082,7 +13769,6 @@ type AtkObjectOverrides struct { // The function takes the following parameters: // // - handlerId: guint which identifies the handler to be removed. - // RemovePropertyChangeHandler func(handlerId uint) // SetDescription sets the accessible description of the accessible. // You can't set the description to NULL. This is reserved for the initial @@ -14093,7 +13779,6 @@ type AtkObjectOverrides struct { // // - description: character string to be set as the accessible // description. - // SetDescription func(description string) // SetName sets the accessible name of the accessible. You can't set the // name to NULL. This is reserved for the initial value. In this aspect NULL @@ -14103,7 +13788,6 @@ type AtkObjectOverrides struct { // The function takes the following parameters: // // - name: character string to be set as the accessible name. - // SetName func(name string) // SetParent sets the accessible parent of the accessible. parent can be // NULL. @@ -14111,20 +13795,17 @@ type AtkObjectOverrides struct { // The function takes the following parameters: // // - parent to be set as the accessible parent. - // SetParent func(parent *AtkObject) // SetRole sets the role of the accessible. // // The function takes the following parameters: // // - role to be set as the role. - // SetRole func(role Role) // The function takes the following parameters: // // - name // - stateSet - // StateChange func(name string, stateSet bool) VisibleDataChanged func() } @@ -14360,7 +14041,6 @@ func (object *AtkObject) ConnectVisibleDataChanged(f func()) coreglib.SignalHand // The function returns the following values: // // - ok: TRUE if the relationship is added. -// func (object *AtkObject) AddRelationship(relationship RelationType, target *AtkObject) bool { var _arg0 *C.AtkObject // out var _arg1 C.AtkRelationType // out @@ -14391,7 +14071,6 @@ func (object *AtkObject) AddRelationship(relationship RelationType, target *AtkO // // - utf8: character string representing the accessible id of the object, // or NULL if no such string was set. -// func (accessible *AtkObject) AccessibleID() string { var _arg0 *C.AtkObject // out var _cret *C.gchar // in @@ -14414,7 +14093,6 @@ func (accessible *AtkObject) AccessibleID() string { // // - utf8: character string representing the accessible description of the // accessible. -// func (accessible *AtkObject) Description() string { var _arg0 *C.AtkObject // out var _cret *C.gchar // in @@ -14437,7 +14115,6 @@ func (accessible *AtkObject) Description() string { // The function returns the following values: // // - gint: integer which is the index of the accessible in its parent. -// func (accessible *AtkObject) IndexInParent() int { var _arg0 *C.AtkObject // out var _cret C.gint // in @@ -14461,7 +14138,6 @@ func (accessible *AtkObject) IndexInParent() int { // The function returns the following values: // // - layer which is the layer of the accessible. -// func (accessible *AtkObject) Layer() Layer { var _arg0 *C.AtkObject // out var _cret C.AtkLayer // in @@ -14487,7 +14163,6 @@ func (accessible *AtkObject) Layer() Layer { // // - gint which is the zorder of the accessible, i.e. the depth at which the // component is shown in relation to other components in the same container. -// func (accessible *AtkObject) MDIZOrder() int { var _arg0 *C.AtkObject // out var _cret C.gint // in @@ -14510,7 +14185,6 @@ func (accessible *AtkObject) MDIZOrder() int { // // - gint: integer representing the number of accessible children of the // accessible. -// func (accessible *AtkObject) NAccessibleChildren() int { var _arg0 *C.AtkObject // out var _cret C.gint // in @@ -14532,7 +14206,6 @@ func (accessible *AtkObject) NAccessibleChildren() int { // The function returns the following values: // // - utf8: character string representing the accessible name of the object. -// func (accessible *AtkObject) Name() string { var _arg0 *C.AtkObject // out var _cret *C.gchar // in @@ -14556,7 +14229,6 @@ func (accessible *AtkObject) Name() string { // // - utf8: UTF-8 string indicating the POSIX-style LC_MESSAGES locale of // accessible. -// func (accessible *AtkObject) ObjectLocale() string { var _arg0 *C.AtkObject // out var _cret *C.gchar // in @@ -14585,7 +14257,6 @@ func (accessible *AtkObject) ObjectLocale() string { // The function returns the following values: // // - object representing the accessible parent of the accessible. -// func (accessible *AtkObject) Parent() *AtkObject { var _arg0 *C.AtkObject // out var _cret *C.AtkObject // in @@ -14607,7 +14278,6 @@ func (accessible *AtkObject) Parent() *AtkObject { // The function returns the following values: // // - role which is the role of the accessible. -// func (accessible *AtkObject) Role() Role { var _arg0 *C.AtkObject // out var _cret C.AtkRole // in @@ -14633,7 +14303,6 @@ func (accessible *AtkObject) Role() Role { // // - data (optional) which identifies the object for which the AtkObject was // created. -// func (accessible *AtkObject) Initialize(data unsafe.Pointer) { var _arg0 *C.AtkObject // out var _arg1 C.gpointer // out @@ -14655,7 +14324,6 @@ func (accessible *AtkObject) Initialize(data unsafe.Pointer) { // // - state whose state is changed. // - value: gboolean which indicates whether the state is being set on or off. -// func (accessible *AtkObject) NotifyStateChange(state State, value bool) { var _arg0 *C.AtkObject // out var _arg1 C.AtkState // out @@ -14686,7 +14354,6 @@ func (accessible *AtkObject) NotifyStateChange(state State, value bool) { // The function returns the following values: // // - object representing the accessible parent of the accessible if assigned. -// func (accessible *AtkObject) PeekParent() *AtkObject { var _arg0 *C.AtkObject // out var _cret *C.AtkObject // in @@ -14714,7 +14381,6 @@ func (accessible *AtkObject) PeekParent() *AtkObject { // The function returns the following values: // // - object representing the specified accessible child of the accessible. -// func (accessible *AtkObject) RefAccessibleChild(i int) *AtkObject { var _arg0 *C.AtkObject // out var _arg1 C.gint // out @@ -14739,7 +14405,6 @@ func (accessible *AtkObject) RefAccessibleChild(i int) *AtkObject { // The function returns the following values: // // - relationSet representing the relation set of the object. -// func (accessible *AtkObject) RefRelationSet() *RelationSet { var _arg0 *C.AtkObject // out var _cret *C.AtkRelationSet // in @@ -14763,7 +14428,6 @@ func (accessible *AtkObject) RefRelationSet() *RelationSet { // // - stateSet: reference to an StateSet which is the state set of the // accessible. -// func (accessible *AtkObject) RefStateSet() *StateSet { var _arg0 *C.AtkObject // out var _cret *C.AtkStateSet // in @@ -14787,7 +14451,6 @@ func (accessible *AtkObject) RefStateSet() *StateSet { // The function takes the following parameters: // // - handlerId: guint which identifies the handler to be removed. -// func (accessible *AtkObject) RemovePropertyChangeHandler(handlerId uint) { var _arg0 *C.AtkObject // out var _arg1 C.guint // out @@ -14811,7 +14474,6 @@ func (accessible *AtkObject) RemovePropertyChangeHandler(handlerId uint) { // The function returns the following values: // // - ok: TRUE if the relationship is removed. -// func (object *AtkObject) RemoveRelationship(relationship RelationType, target *AtkObject) bool { var _arg0 *C.AtkObject // out var _arg1 C.AtkRelationType // out @@ -14845,7 +14507,6 @@ func (object *AtkObject) RemoveRelationship(relationship RelationType, target *A // The function takes the following parameters: // // - name: character string to be set as the accessible id. -// func (accessible *AtkObject) SetAccessibleID(name string) { var _arg0 *C.AtkObject // out var _arg1 *C.gchar // out @@ -14867,7 +14528,6 @@ func (accessible *AtkObject) SetAccessibleID(name string) { // The function takes the following parameters: // // - description: character string to be set as the accessible description. -// func (accessible *AtkObject) SetDescription(description string) { var _arg0 *C.AtkObject // out var _arg1 *C.gchar // out @@ -14889,7 +14549,6 @@ func (accessible *AtkObject) SetDescription(description string) { // The function takes the following parameters: // // - name: character string to be set as the accessible name. -// func (accessible *AtkObject) SetName(name string) { var _arg0 *C.AtkObject // out var _arg1 *C.gchar // out @@ -14908,7 +14567,6 @@ func (accessible *AtkObject) SetName(name string) { // The function takes the following parameters: // // - parent to be set as the accessible parent. -// func (accessible *AtkObject) SetParent(parent *AtkObject) { var _arg0 *C.AtkObject // out var _arg1 *C.AtkObject // out @@ -14926,7 +14584,6 @@ func (accessible *AtkObject) SetParent(parent *AtkObject) { // The function takes the following parameters: // // - role to be set as the role. -// func (accessible *AtkObject) SetRole(role Role) { var _arg0 *C.AtkObject // out var _arg1 C.AtkRole // out @@ -14960,7 +14617,6 @@ func (accessible *AtkObject) activeDescendantChanged(child *unsafe.Pointer) { // // - changeIndex // - changedChild (optional) -// func (accessible *AtkObject) childrenChanged(changeIndex uint, changedChild unsafe.Pointer) { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.children_changed @@ -15002,7 +14658,6 @@ func (accessible *AtkObject) focusEvent(focusIn bool) { // // - utf8: character string representing the accessible description of the // accessible. -// func (accessible *AtkObject) description() string { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.get_description @@ -15028,7 +14683,6 @@ func (accessible *AtkObject) description() string { // The function returns the following values: // // - gint: integer which is the index of the accessible in its parent. -// func (accessible *AtkObject) indexInParent() int { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.get_index_in_parent @@ -15055,7 +14709,6 @@ func (accessible *AtkObject) indexInParent() int { // The function returns the following values: // // - layer which is the layer of the accessible. -// func (accessible *AtkObject) layer() Layer { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.get_layer @@ -15084,7 +14737,6 @@ func (accessible *AtkObject) layer() Layer { // // - gint which is the zorder of the accessible, i.e. the depth at which the // component is shown in relation to other components in the same container. -// func (accessible *AtkObject) mdizOrder() int { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.get_mdi_zorder @@ -15128,7 +14780,6 @@ func (accessible *AtkObject) nChildren() int { // The function returns the following values: // // - utf8: character string representing the accessible name of the object. -// func (accessible *AtkObject) name() string { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.get_name @@ -15155,7 +14806,6 @@ func (accessible *AtkObject) name() string { // // - utf8: UTF-8 string indicating the POSIX-style LC_MESSAGES locale of // accessible. -// func (accessible *AtkObject) objectLocale() string { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.get_object_locale @@ -15187,7 +14837,6 @@ func (accessible *AtkObject) objectLocale() string { // The function returns the following values: // // - object representing the accessible parent of the accessible. -// func (accessible *AtkObject) parent() *AtkObject { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.get_parent @@ -15212,7 +14861,6 @@ func (accessible *AtkObject) parent() *AtkObject { // The function returns the following values: // // - role which is the role of the accessible. -// func (accessible *AtkObject) role() Role { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.get_role @@ -15241,7 +14889,6 @@ func (accessible *AtkObject) role() Role { // // - data (optional) which identifies the object for which the AtkObject was // created. -// func (accessible *AtkObject) initialize(data unsafe.Pointer) { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.initialize @@ -15277,7 +14924,6 @@ func (accessible *AtkObject) propertyChange(values *PropertyValues) { // The function returns the following values: // // - relationSet representing the relation set of the object. -// func (accessible *AtkObject) refRelationSet() *RelationSet { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.ref_relation_set @@ -15304,7 +14950,6 @@ func (accessible *AtkObject) refRelationSet() *RelationSet { // // - stateSet: reference to an StateSet which is the state set of the // accessible. -// func (accessible *AtkObject) refStateSet() *StateSet { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.ref_state_set @@ -15331,7 +14976,6 @@ func (accessible *AtkObject) refStateSet() *StateSet { // The function takes the following parameters: // // - handlerId: guint which identifies the handler to be removed. -// func (accessible *AtkObject) removePropertyChangeHandler(handlerId uint) { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.remove_property_change_handler @@ -15355,7 +14999,6 @@ func (accessible *AtkObject) removePropertyChangeHandler(handlerId uint) { // The function takes the following parameters: // // - description: character string to be set as the accessible description. -// func (accessible *AtkObject) setDescription(description string) { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.set_description @@ -15380,7 +15023,6 @@ func (accessible *AtkObject) setDescription(description string) { // The function takes the following parameters: // // - name: character string to be set as the accessible name. -// func (accessible *AtkObject) setName(name string) { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.set_name @@ -15402,7 +15044,6 @@ func (accessible *AtkObject) setName(name string) { // The function takes the following parameters: // // - parent to be set as the accessible parent. -// func (accessible *AtkObject) setParent(parent *AtkObject) { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.set_parent @@ -15423,7 +15064,6 @@ func (accessible *AtkObject) setParent(parent *AtkObject) { // The function takes the following parameters: // // - role to be set as the role. -// func (accessible *AtkObject) setRole(role Role) { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.set_role @@ -15443,7 +15083,6 @@ func (accessible *AtkObject) setRole(role Role) { // // - name // - stateSet -// func (accessible *AtkObject) stateChange(name string, stateSet bool) { gclass := (*C.AtkObjectClass)(coreglib.PeekParentClass(accessible)) fnarg := gclass.state_change @@ -15547,7 +15186,6 @@ func marshalObjectFactory(p uintptr) (interface{}, error) { // The function returns the following values: // // - object that implements an accessibility interface on behalf of obj. -// func (factory *ObjectFactory) CreateAccessible(obj *coreglib.Object) *AtkObject { var _arg0 *C.AtkObjectFactory // out var _arg1 *C.GObject // out @@ -15574,7 +15212,6 @@ func (factory *ObjectFactory) CreateAccessible(obj *coreglib.Object) *AtkObject // // - gType: type of the accessible which is created by the factory. The value // G_TYPE_INVALID is returned if no type if found. -// func (factory *ObjectFactory) AccessibleType() coreglib.Type { var _arg0 *C.AtkObjectFactory // out var _cret C.GType // in @@ -15687,7 +15324,6 @@ func marshalPlug(p uintptr) (interface{}, error) { // The function returns the following values: // // - plug: newly created Plug. -// func NewPlug() *Plug { var _cret *C.AtkObject // in @@ -15711,7 +15347,6 @@ func NewPlug() *Plug { // The function returns the following values: // // - utf8: unique ID for the plug. -// func (plug *Plug) ID() string { var _arg0 *C.AtkPlug // out var _cret *C.gchar // in @@ -15742,7 +15377,6 @@ func (plug *Plug) ID() string { // The function takes the following parameters: // // - child to be set as accessible child of plug. -// func (plug *Plug) SetChild(child *AtkObject) { var _arg0 *C.AtkPlug // out var _arg1 *C.AtkObject // out @@ -15833,7 +15467,6 @@ func marshalRegistry(p uintptr) (interface{}, error) { // The function returns the following values: // // - objectFactory appropriate for creating Objects appropriate for type. -// func (registry *Registry) Factory(typ coreglib.Type) *ObjectFactory { var _arg0 *C.AtkRegistry // out var _arg1 C.GType // out @@ -15863,7 +15496,6 @@ func (registry *Registry) Factory(typ coreglib.Type) *ObjectFactory { // The function returns the following values: // // - gType associated with type type. -// func (registry *Registry) FactoryType(typ coreglib.Type) coreglib.Type { var _arg0 *C.AtkRegistry // out var _arg1 C.GType // out @@ -15892,7 +15524,6 @@ func (registry *Registry) FactoryType(typ coreglib.Type) coreglib.Type { // - typ: Object type. // - factoryType type to associate with type. Must implement AtkObject // appropriate for type. -// func (registry *Registry) SetFactoryType(typ, factoryType coreglib.Type) { var _arg0 *C.AtkRegistry // out var _arg1 C.GType // out @@ -15965,7 +15596,6 @@ func marshalRelation(p uintptr) (interface{}, error) { // The function returns the following values: // // - relation: pointer to a new Relation. -// func NewRelation(targets []*AtkObject, relationship RelationType) *Relation { var _arg1 **C.AtkObject // out var _arg2 C.gint @@ -16000,7 +15630,6 @@ func NewRelation(targets []*AtkObject, relationship RelationType) *Relation { // The function takes the following parameters: // // - target: Object. -// func (relation *Relation) AddTarget(target *AtkObject) { var _arg0 *C.AtkRelation // out var _arg1 *C.AtkObject // out @@ -16018,7 +15647,6 @@ func (relation *Relation) AddTarget(target *AtkObject) { // The function returns the following values: // // - relationType: type of relation. -// func (relation *Relation) RelationType() RelationType { var _arg0 *C.AtkRelation // out var _cret C.AtkRelationType // in @@ -16045,7 +15673,6 @@ func (relation *Relation) RelationType() RelationType { // The function returns the following values: // // - ok: TRUE if the removal is successful. -// func (relation *Relation) RemoveTarget(target *AtkObject) bool { var _arg0 *C.AtkRelation // out var _arg1 *C.AtkObject // out @@ -16121,7 +15748,6 @@ func marshalRelationSet(p uintptr) (interface{}, error) { // The function returns the following values: // // - relationSet: new RelationSet. -// func NewRelationSet() *RelationSet { var _cret *C.AtkRelationSet // in @@ -16142,7 +15768,6 @@ func NewRelationSet() *RelationSet { // The function takes the following parameters: // // - relation: Relation. -// func (set *RelationSet) Add(relation *Relation) { var _arg0 *C.AtkRelationSet // out var _arg1 *C.AtkRelation // out @@ -16164,7 +15789,6 @@ func (set *RelationSet) Add(relation *Relation) { // // - relationship: RelationType. // - target: Object. -// func (set *RelationSet) AddRelationByType(relationship RelationType, target *AtkObject) { var _arg0 *C.AtkRelationSet // out var _arg1 C.AtkRelationType // out @@ -16191,7 +15815,6 @@ func (set *RelationSet) AddRelationByType(relationship RelationType, target *Atk // // - ok: TRUE if relationship is the relationship type of a relation in set, // FALSE otherwise. -// func (set *RelationSet) Contains(relationship RelationType) bool { var _arg0 *C.AtkRelationSet // out var _arg1 C.AtkRelationType // out @@ -16225,7 +15848,6 @@ func (set *RelationSet) Contains(relationship RelationType) bool { // // - ok: TRUE if set contains a relation with the relationship type // relationship with an object target, FALSE otherwise. -// func (set *RelationSet) ContainsTarget(relationship RelationType, target *AtkObject) bool { var _arg0 *C.AtkRelationSet // out var _arg1 C.AtkRelationType // out @@ -16255,7 +15877,6 @@ func (set *RelationSet) ContainsTarget(relationship RelationType, target *AtkObj // The function returns the following values: // // - gint: integer representing the number of relations in the set. -// func (set *RelationSet) NRelations() int { var _arg0 *C.AtkRelationSet // out var _cret C.gint // in @@ -16282,7 +15903,6 @@ func (set *RelationSet) NRelations() int { // The function returns the following values: // // - relation which is the relation at position i in the set. -// func (set *RelationSet) Relation(i int) *Relation { var _arg0 *C.AtkRelationSet // out var _arg1 C.gint // out @@ -16311,7 +15931,6 @@ func (set *RelationSet) Relation(i int) *Relation { // The function returns the following values: // // - relation which is a relation matching the specified type. -// func (set *RelationSet) RelationByType(relationship RelationType) *Relation { var _arg0 *C.AtkRelationSet // out var _arg1 C.AtkRelationType // out @@ -16337,7 +15956,6 @@ func (set *RelationSet) RelationByType(relationship RelationType) *Relation { // The function takes the following parameters: // // - relation: Relation. -// func (set *RelationSet) Remove(relation *Relation) { var _arg0 *C.AtkRelationSet // out var _arg1 *C.AtkRelation // out @@ -16364,7 +15982,6 @@ type SocketOverrides struct { // The function takes the following parameters: // // - plugId: ID of an Plug. - // Embed func(plugId string) } @@ -16449,7 +16066,6 @@ func marshalSocket(p uintptr) (interface{}, error) { // The function returns the following values: // // - socket: newly created Socket instance. -// func NewSocket() *Socket { var _cret *C.AtkObject // in @@ -16474,7 +16090,6 @@ func NewSocket() *Socket { // The function takes the following parameters: // // - plugId: ID of an Plug. -// func (obj *Socket) Embed(plugId string) { var _arg0 *C.AtkSocket // out var _arg1 *C.gchar // out @@ -16493,7 +16108,6 @@ func (obj *Socket) Embed(plugId string) { // The function returns the following values: // // - ok: TRUE if a plug is embedded in the socket. -// func (obj *Socket) IsOccupied() bool { var _arg0 *C.AtkSocket // out var _cret C.gboolean // in @@ -16524,7 +16138,6 @@ func (obj *Socket) IsOccupied() bool { // The function takes the following parameters: // // - plugId: ID of an Plug. -// func (obj *Socket) embed(plugId string) { gclass := (*C.AtkSocketClass)(coreglib.PeekParentClass(obj)) fnarg := gclass.embed @@ -16592,7 +16205,6 @@ func marshalStateSet(p uintptr) (interface{}, error) { // The function returns the following values: // // - stateSet: new StateSet. -// func NewStateSet() *StateSet { var _cret *C.AtkStateSet // in @@ -16620,7 +16232,6 @@ func NewStateSet() *StateSet { // The function returns the following values: // // - ok: TRUE if the state for type is not already in set. -// func (set *StateSet) AddState(typ StateType) bool { var _arg0 *C.AtkStateSet // out var _arg1 C.AtkStateType // out @@ -16652,7 +16263,6 @@ func (set *StateSet) AddState(typ StateType) bool { // The function takes the following parameters: // // - types: array of StateType. -// func (set *StateSet) AddStates(types []StateType) { var _arg0 *C.AtkStateSet // out var _arg1 *C.AtkStateType // out @@ -16679,7 +16289,6 @@ func (set *StateSet) AddStates(types []StateType) { // The function returns the following values: // // - stateSet: new StateSet which is the intersection of the two sets. -// func (set *StateSet) AndSets(compareSet *StateSet) *StateSet { var _arg0 *C.AtkStateSet // out var _arg1 *C.AtkStateSet // out @@ -16719,7 +16328,6 @@ func (set *StateSet) ClearStates() { // The function returns the following values: // // - ok: TRUE if type is the state type is in set. -// func (set *StateSet) ContainsState(typ StateType) bool { var _arg0 *C.AtkStateSet // out var _arg1 C.AtkStateType // out @@ -16751,7 +16359,6 @@ func (set *StateSet) ContainsState(typ StateType) bool { // The function returns the following values: // // - ok: TRUE if all the states for type are in set. -// func (set *StateSet) ContainsStates(types []StateType) bool { var _arg0 *C.AtkStateSet // out var _arg1 *C.AtkStateType // out @@ -16782,7 +16389,6 @@ func (set *StateSet) ContainsStates(types []StateType) bool { // The function returns the following values: // // - ok: TRUE if set has no states set, otherwise FALSE. -// func (set *StateSet) IsEmpty() bool { var _arg0 *C.AtkStateSet // out var _cret C.gboolean // in @@ -16811,7 +16417,6 @@ func (set *StateSet) IsEmpty() bool { // // - stateSet (optional): new StateSet which is the union of the two sets, // returning NULL is empty. -// func (set *StateSet) OrSets(compareSet *StateSet) *StateSet { var _arg0 *C.AtkStateSet // out var _arg1 *C.AtkStateSet // out @@ -16847,7 +16452,6 @@ func (set *StateSet) OrSets(compareSet *StateSet) *StateSet { // The function returns the following values: // // - ok: TRUE if type was the state type is in set. -// func (set *StateSet) RemoveState(typ StateType) bool { var _arg0 *C.AtkStateSet // out var _arg1 C.AtkStateType // out @@ -16881,7 +16485,6 @@ func (set *StateSet) RemoveState(typ StateType) bool { // // - stateSet: new StateSet which contains the states which are in exactly one // of the two sets. -// func (set *StateSet) XorSets(compareSet *StateSet) *StateSet { var _arg0 *C.AtkStateSet // out var _arg1 *C.AtkStateSet // out @@ -17385,7 +16988,6 @@ func NewRange(lowerLimit float64, upperLimit float64, description string) *Range // The function returns the following values: // // - _range: new Range copy of src. -// func (src *Range) Copy() *Range { var _arg0 *C.AtkRange // out var _cret *C.AtkRange // in @@ -17413,7 +17015,6 @@ func (src *Range) Copy() *Range { // The function returns the following values: // // - utf8: human-readable description of range. -// func (_range *Range) Description() string { var _arg0 *C.AtkRange // out var _cret *C.gchar // in @@ -17435,7 +17036,6 @@ func (_range *Range) Description() string { // The function returns the following values: // // - gdouble: lower limit of range. -// func (_range *Range) LowerLimit() float64 { var _arg0 *C.AtkRange // out var _cret C.gdouble // in @@ -17457,7 +17057,6 @@ func (_range *Range) LowerLimit() float64 { // The function returns the following values: // // - gdouble: upper limit of range. -// func (_range *Range) UpperLimit() float64 { var _arg0 *C.AtkRange // out var _cret C.gdouble // in diff --git a/pkg/gdk/v3/gdk.go b/pkg/gdk/v3/gdk.go index 47aa10bf0..7cff73a2f 100644 --- a/pkg/gdk/v3/gdk.go +++ b/pkg/gdk/v3/gdk.go @@ -5704,7 +5704,6 @@ type WindowChildFunc func(window Windower) (ok bool) // The function takes the following parameters: // // - group: option group. -// func AddOptionEntriesLibgtkOnly(group *glib.OptionGroup) { var _arg1 *C.GOptionGroup // out @@ -5744,7 +5743,6 @@ func Beep() { // // - context: newly created Cairo context. Free with cairo_destroy() when you // are done drawing. -// func CairoCreate(window Windower) *cairo.Context { var _arg1 *C.GdkWindow // out var _cret *C.cairo_t // in @@ -5791,7 +5789,6 @@ func CairoCreate(window Windower) *cairo.Context { // - y: source y position in source to start copying from in GL coordinates. // - width of the region to draw. // - height of the region to draw. -// func CairoDrawFromGL(cr *cairo.Context, window Windower, source, sourceType, bufferScale, x, y, width, height int) { var _arg1 *C.cairo_t // out var _arg2 *C.GdkWindow // out @@ -5838,7 +5835,6 @@ func CairoDrawFromGL(cr *cairo.Context, window Windower, source, sourceType, buf // - rect (optional): return location for the clip, or NULL. // - ok: TRUE if a clip rectangle exists, FALSE if all of cr is clipped and // all drawing can be skipped. -// func CairoGetClipRectangle(cr *cairo.Context) (*Rectangle, bool) { var _arg1 *C.cairo_t // out var _arg2 C.GdkRectangle // in @@ -5870,7 +5866,6 @@ func CairoGetClipRectangle(cr *cairo.Context) (*Rectangle, bool) { // The function returns the following values: // // - drawingContext (optional) if any is set. -// func CairoGetDrawingContext(cr *cairo.Context) *DrawingContext { var _arg1 *C.cairo_t // out var _cret *C.GdkDrawingContext // in @@ -5895,7 +5890,6 @@ func CairoGetDrawingContext(cr *cairo.Context) *DrawingContext { // // - cr: cairo context. // - rectangle: Rectangle. -// func CairoRectangle(cr *cairo.Context, rectangle *Rectangle) { var _arg1 *C.cairo_t // out var _arg2 *C.GdkRectangle // out @@ -5914,7 +5908,6 @@ func CairoRectangle(cr *cairo.Context, rectangle *Rectangle) { // // - cr: cairo context. // - region: #cairo_region_t. -// func CairoRegion(cr *cairo.Context, region *cairo.Region) { var _arg1 *C.cairo_t // out var _arg2 *C.cairo_region_t // out @@ -5940,7 +5933,6 @@ func CairoRegion(cr *cairo.Context, region *cairo.Region) { // The function returns the following values: // // - region must be freed with cairo_region_destroy(). -// func CairoRegionCreateFromSurface(surface *cairo.Surface) *cairo.Region { var _arg1 *C.cairo_surface_t // out var _cret *C.cairo_region_t // in @@ -5971,7 +5963,6 @@ func CairoRegionCreateFromSurface(surface *cairo.Surface) *cairo.Region { // // - cr: cairo context. // - color: Color. -// func CairoSetSourceColor(cr *cairo.Context, color *Color) { var _arg1 *C.cairo_t // out var _arg2 *C.GdkColor // out @@ -5995,7 +5986,6 @@ func CairoSetSourceColor(cr *cairo.Context, color *Color) { // - pixbuf: Pixbuf. // - pixbufX: x coordinate of location to place upper left corner of pixbuf. // - pixbufY: y coordinate of location to place upper left corner of pixbuf. -// func CairoSetSourcePixbuf(cr *cairo.Context, pixbuf *gdkpixbuf.Pixbuf, pixbufX, pixbufY float64) { var _arg1 *C.cairo_t // out var _arg2 *C.GdkPixbuf // out @@ -6020,7 +6010,6 @@ func CairoSetSourcePixbuf(cr *cairo.Context, pixbuf *gdkpixbuf.Pixbuf, pixbufX, // // - cr: cairo context. // - rgba: RGBA. -// func CairoSetSourceRGBA(cr *cairo.Context, rgba *RGBA) { var _arg1 *C.cairo_t // out var _arg2 *C.GdkRGBA // out @@ -6048,7 +6037,6 @@ func CairoSetSourceRGBA(cr *cairo.Context, rgba *RGBA) { // - window: Window. // - x: x coordinate of location to place upper left corner of window. // - y: y coordinate of location to place upper left corner of window. -// func CairoSetSourceWindow(cr *cairo.Context, window Windower, x, y float64) { var _arg1 *C.cairo_t // out var _arg2 *C.GdkWindow // out @@ -6079,7 +6067,6 @@ func CairoSetSourceWindow(cr *cairo.Context, window Windower, x, y float64) { // The function returns the following values: // // - surface: new cairo surface, must be freed with cairo_surface_destroy(). -// func CairoSurfaceCreateFromPixbuf(pixbuf *gdkpixbuf.Pixbuf, scale int, forWindow Windower) *cairo.Surface { var _arg1 *C.GdkPixbuf // out var _arg2 C.int // out @@ -6130,7 +6117,6 @@ func DisableMultidevice() { // // - context: DragContext. // - time_: timestamp for this operation. -// func DragAbort(context *DragContext, time_ uint32) { var _arg1 *C.GdkDragContext // out var _arg2 C.guint32 // out @@ -6154,7 +6140,6 @@ func DragAbort(context *DragContext, time_ uint32) { // // - context: DragContext. // - time_: timestamp for this operation. -// func DragDrop(context *DragContext, time_ uint32) { var _arg1 *C.GdkDragContext // out var _arg2 C.guint32 // out @@ -6181,7 +6166,6 @@ func DragDrop(context *DragContext, time_ uint32) { // // - context: DragContext. // - success: whether the drag was ultimatively successful. -// func DragDropDone(context *DragContext, success bool) { var _arg1 *C.GdkDragContext // out var _arg2 C.gboolean // out @@ -6207,7 +6191,6 @@ func DragDropDone(context *DragContext, success bool) { // The function returns the following values: // // - ok: TRUE if the drop was successful. -// func DragDropSucceeded(context *DragContext) bool { var _arg1 *C.GdkDragContext // out var _cret C.gboolean // in @@ -6245,7 +6228,6 @@ func DragDropSucceeded(context *DragContext) bool { // // - destWindow: location to store the destination window in. // - protocol: location to store the DND protocol in. -// func DragFindWindowForScreen(context *DragContext, dragWindow Windower, screen *Screen, xRoot, yRoot int) (Windower, DragProtocol) { var _arg1 *C.GdkDragContext // out var _arg2 *C.GdkWindow // out @@ -6311,7 +6293,6 @@ func DragFindWindowForScreen(context *DragContext, dragWindow Windower, screen * // - suggestedAction: suggested action. // - possibleActions: possible actions. // - time_: timestamp for this operation. -// func DragMotion(context *DragContext, destWindow Windower, protocol DragProtocol, xRoot, yRoot int, suggestedAction, possibleActions DragAction, time_ uint32) bool { var _arg1 *C.GdkDragContext // out var _arg2 *C.GdkWindow // out @@ -6362,7 +6343,6 @@ func DragMotion(context *DragContext, destWindow Windower, protocol DragProtocol // - action: selected action which will be taken when a drop happens, or 0 to // indicate that a drop will not be accepted. // - time_: timestamp for this operation. -// func DragStatus(context *DragContext, action DragAction, time_ uint32) { var _arg1 *C.GdkDragContext // out var _arg2 C.GdkDragAction // out @@ -6387,7 +6367,6 @@ func DragStatus(context *DragContext, action DragAction, time_ uint32) { // - context: DragContext. // - success: TRUE if the data was successfully received. // - time_: timestamp for this operation. -// func DropFinish(context *DragContext, success bool, time_ uint32) { var _arg1 *C.GdkDragContext // out var _arg2 C.gboolean // out @@ -6415,7 +6394,6 @@ func DropFinish(context *DragContext, success bool, time_ uint32) { // - context: DragContext. // - accepted: TRUE if the drop is accepted. // - time_: timestamp for this operation. -// func DropReply(context *DragContext, accepted bool, time_ uint32) { var _arg1 *C.GdkDragContext // out var _arg2 C.gboolean // out @@ -6445,7 +6423,6 @@ func DropReply(context *DragContext, accepted bool, time_ uint32) { // The function returns the following values: // // - gint: x error code or 0 on success. -// func ErrorTrapPop() int { var _cret C.gint // in @@ -6482,15 +6459,15 @@ func ErrorTrapPopIgnored() { // // Trapping an X error // -// gdk_error_trap_push (); +// gdk_error_trap_push (); // -// // ... Call the X function which may cause an error here ... +// // ... Call the X function which may cause an error here ... // // -// if (gdk_error_trap_pop ()) -// { -// // ... Handle the error here ... -// }. +// if (gdk_error_trap_pop ()) +// { +// // ... Handle the error here ... +// }. func ErrorTrapPush() { C.gdk_error_trap_push() } @@ -6509,7 +6486,6 @@ func ErrorTrapPush() { // // - angle: return location for the relative angle between both events. // - ok: TRUE if the angle could be calculated. -// func EventsGetAngle(event1, event2 *Event) (float64, bool) { var _arg1 *C.GdkEvent // out var _arg2 *C.GdkEvent // out @@ -6547,7 +6523,6 @@ func EventsGetAngle(event1, event2 *Event) (float64, bool) { // - x: return location for the X coordinate of the center. // - y: return location for the Y coordinate of the center. // - ok: TRUE if the center could be calculated. -// func EventsGetCenter(event1, event2 *Event) (x, y float64, ok bool) { var _arg1 *C.GdkEvent // out var _arg2 *C.GdkEvent // out @@ -6588,7 +6563,6 @@ func EventsGetCenter(event1, event2 *Event) (x, y float64, ok bool) { // // - distance: return location for the distance. // - ok: TRUE if the distance could be calculated. -// func EventsGetDistance(event1, event2 *Event) (float64, bool) { var _arg1 *C.GdkEvent // out var _arg2 *C.GdkEvent // out @@ -6618,7 +6592,6 @@ func EventsGetDistance(event1, event2 *Event) (float64, bool) { // The function returns the following values: // // - ok: TRUE if any events are pending. -// func EventsPending() bool { var _cret C.gboolean // in @@ -6645,7 +6618,6 @@ func Flush() { // The function returns the following values: // // - window: default root window. -// func GetDefaultRootWindow() Windower { var _cret *C.GdkWindow // in @@ -6682,7 +6654,6 @@ func GetDefaultRootWindow() Windower { // The function returns the following values: // // - utf8: name of the display. -// func GetDisplay() string { var _cret *C.gchar // in @@ -6703,7 +6674,6 @@ func GetDisplay() string { // // - utf8 (optional): display name, if specified explicitly, otherwise NULL // this string is owned by GTK+ and must not be modified or freed. -// func GetDisplayArgName() string { var _cret *C.gchar // in @@ -6726,7 +6696,6 @@ func GetDisplayArgName() string { // The function returns the following values: // // - utf8: program class. -// func GetProgramClass() string { var _cret *C.gchar // in @@ -6744,7 +6713,6 @@ func GetProgramClass() string { // The function returns the following values: // // - ok: TRUE if event debugging output is enabled. -// func GetShowEvents() bool { var _cret C.gboolean // in @@ -6783,7 +6751,6 @@ func GetShowEvents() bool { // The function returns the following values: // // - grabStatus: GDK_GRAB_SUCCESS if the grab was successful. -// func KeyboardGrab(window Windower, ownerEvents bool, time_ uint32) GrabStatus { var _arg1 *C.GdkWindow // out var _arg2 C.gboolean // out @@ -6817,7 +6784,6 @@ func KeyboardGrab(window Windower, ownerEvents bool, time_ uint32) GrabStatus { // // - time_: timestamp from a Event, or GDK_CURRENT_TIME if no timestamp is // available. -// func KeyboardUngrab(time_ uint32) { var _arg1 C.guint32 // out @@ -6838,7 +6804,6 @@ func KeyboardUngrab(time_ uint32) { // // - lower: return location for lowercase version of symbol. // - upper: return location for uppercase version of symbol. -// func KeyvalConvertCase(symbol uint) (lower, upper uint) { var _arg1 C.guint // out var _arg2 C.guint // in @@ -6871,7 +6836,6 @@ func KeyvalConvertCase(symbol uint) (lower, upper uint) { // // - guint: corresponding key value, or GDK_KEY_VoidSymbol if the key name is // not a valid key. -// func KeyvalFromName(keyvalName string) uint { var _arg1 *C.gchar // out var _cret C.guint // in @@ -6899,7 +6863,6 @@ func KeyvalFromName(keyvalName string) uint { // // - ok: TRUE if keyval is in lower case, or if keyval is not subject to case // conversion. -// func KeyvalIsLower(keyval uint) bool { var _arg1 C.guint // out var _cret C.gboolean // in @@ -6928,7 +6891,6 @@ func KeyvalIsLower(keyval uint) bool { // // - ok: TRUE if keyval is in upper case, or if keyval is not subject to case // conversion. -// func KeyvalIsUpper(keyval uint) bool { var _arg1 C.guint // out var _cret C.gboolean // in @@ -6960,7 +6922,6 @@ func KeyvalIsUpper(keyval uint) bool { // // - utf8 (optional): string containing the name of the key, or NULL if keyval // is not a valid key. The string should not be modified. -// func KeyvalName(keyval uint) string { var _arg1 C.guint // out var _cret *C.gchar // in @@ -6989,7 +6950,6 @@ func KeyvalName(keyval uint) string { // // - guint: lower case form of keyval, or keyval itself if it is already in // lower case or it is not subject to case conversion. -// func KeyvalToLower(keyval uint) uint { var _arg1 C.guint // out var _cret C.guint // in @@ -7017,7 +6977,6 @@ func KeyvalToLower(keyval uint) uint { // // - guint32: corresponding unicode character, or 0 if there is no // corresponding character. -// func KeyvalToUnicode(keyval uint) uint32 { var _arg1 C.guint // out var _cret C.guint32 // in @@ -7044,7 +7003,6 @@ func KeyvalToUnicode(keyval uint) uint32 { // // - guint: upper case form of keyval, or keyval itself if it is already in // upper case or it is not subject to case conversion. -// func KeyvalToUpper(keyval uint) uint { var _arg1 C.guint // out var _cret C.guint // in @@ -7073,7 +7031,6 @@ func KeyvalToUpper(keyval uint) uint { // The function returns the following values: // // - list: a list of visuals; the list must be freed, but not its contents. -// func ListVisuals() []*Visual { var _cret *C.GList // in @@ -7114,7 +7071,6 @@ func NotifyStartupComplete() { // // - startupId: startup-notification identifier, for which notification // process should be completed. -// func NotifyStartupCompleteWithID(startupId string) { var _arg1 *C.gchar // out @@ -7135,7 +7091,6 @@ func NotifyStartupCompleteWithID(startupId string) { // // - ret (optional): embedding Window, or NULL if window is not an mbedded // offscreen window. -// func OffscreenWindowGetEmbedder(window Windower) Windower { var _arg1 *C.GdkWindow // out var _cret *C.GdkWindow // in @@ -7178,7 +7133,6 @@ func OffscreenWindowGetEmbedder(window Windower) Windower { // The function returns the following values: // // - surface (optional): offscreen surface, or NULL if not offscreen. -// func OffscreenWindowGetSurface(window Windower) *cairo.Surface { var _arg1 *C.GdkWindow // out var _cret *C.cairo_surface_t // in @@ -7212,7 +7166,6 @@ func OffscreenWindowGetSurface(window Windower) *cairo.Surface { // // - window: Window. // - embedder that window gets embedded in. -// func OffscreenWindowSetEmbedder(window, embedder Windower) { var _arg1 *C.GdkWindow // out var _arg2 *C.GdkWindow // out @@ -7242,7 +7195,6 @@ func OffscreenWindowSetEmbedder(window, embedder Windower) { // The function returns the following values: // // - context: new Context for the default display. -// func PangoContextGet() *pango.Context { var _cret *C.PangoContext // in @@ -7281,7 +7233,6 @@ func PangoContextGet() *pango.Context { // The function returns the following values: // // - context: new Context for display. -// func PangoContextGetForDisplay(display *Display) *pango.Context { var _arg1 *C.GdkDisplay // out var _cret *C.PangoContext // in @@ -7324,7 +7275,6 @@ func PangoContextGetForDisplay(display *Display) *pango.Context { // The function returns the following values: // // - context: new Context for screen. -// func PangoContextGetForScreen(screen *Screen) *pango.Context { var _arg1 *C.GdkScreen // out var _cret *C.PangoContext // in @@ -7366,7 +7316,6 @@ func PangoContextGetForScreen(screen *Screen) *pango.Context { // // - pixbuf (optional): newly-created pixbuf with a reference count of 1, // or NULL on error. -// func PixbufGetFromSurface(surface *cairo.Surface, srcX, srcY, width, height int) *gdkpixbuf.Pixbuf { var _arg1 *C.cairo_surface_t // out var _arg2 C.gint // out @@ -7445,7 +7394,6 @@ func PixbufGetFromSurface(surface *cairo.Surface, srcX, srcY, width, height int) // // - pixbuf (optional): newly-created pixbuf with a reference count of 1, // or NULL on error. -// func PixbufGetFromWindow(window Windower, srcX, srcY, width, height int) *gdkpixbuf.Pixbuf { var _arg1 *C.GdkWindow // out var _arg2 C.gint // out @@ -7535,7 +7483,6 @@ func PixbufGetFromWindow(window Windower, srcX, srcY, width, height int) *gdkpix // The function returns the following values: // // - grabStatus: GDK_GRAB_SUCCESS if the grab was successful. -// func PointerGrab(window Windower, ownerEvents bool, eventMask EventMask, confineTo Windower, cursor Cursorrer, time_ uint32) GrabStatus { var _arg1 *C.GdkWindow // out var _arg2 C.gboolean // out @@ -7584,7 +7531,6 @@ func PointerGrab(window Windower, ownerEvents bool, eventMask EventMask, confine // The function returns the following values: // // - ok: TRUE if the pointer is currently grabbed by this application. -// func PointerIsGrabbed() bool { var _cret C.gboolean // in @@ -7608,7 +7554,6 @@ func PointerIsGrabbed() bool { // // - time_: timestamp from a Event, or GDK_CURRENT_TIME if no timestamp is // available. -// func PointerUngrab(time_ uint32) { var _arg1 C.guint32 // out @@ -7638,7 +7583,6 @@ func PreParseLibgtkOnly() { // The function returns the following values: // // - depths: return location for available depths. -// func QueryDepths() []int { var _arg1 *C.gint // in var _arg2 C.gint // in @@ -7670,7 +7614,6 @@ func QueryDepths() []int { // The function returns the following values: // // - visualTypes: return location for the available visual types. -// func QueryVisualTypes() []VisualType { var _arg1 *C.GdkVisualType // in var _arg2 C.gint // in @@ -7694,7 +7637,7 @@ func QueryVisualTypes() []VisualType { // // For example, // -// gdk_set_allowed_backends ("wayland,quartz,*"); +// gdk_set_allowed_backends ("wayland,quartz,*"); // // instructs GDK to try the Wayland backend first, followed by the Quartz // backend, and then all others. @@ -7712,7 +7655,6 @@ func QueryVisualTypes() []VisualType { // The function takes the following parameters: // // - backends: comma-separated list of backends. -// func SetAllowedBackends(backends string) { var _arg1 *C.gchar // out @@ -7731,7 +7673,6 @@ func SetAllowedBackends(backends string) { // The function takes the following parameters: // // - msec: double click time in milliseconds (thousandths of a second). -// func SetDoubleClickTime(msec uint) { var _arg1 C.guint // out @@ -7751,7 +7692,6 @@ func SetDoubleClickTime(msec uint) { // The function takes the following parameters: // // - programClass: string. -// func SetProgramClass(programClass string) { var _arg1 *C.gchar // out @@ -7769,7 +7709,6 @@ func SetProgramClass(programClass string) { // The function takes the following parameters: // // - showEvents: TRUE to output event debugging information. -// func SetShowEvents(showEvents bool) { var _arg1 C.gboolean // out @@ -7793,7 +7732,6 @@ func SetShowEvents(showEvents bool) { // // - ok: TRUE if the setting existed and a value was stored in value, FALSE // otherwise. -// func SettingGet(name string, value *coreglib.Value) bool { var _arg1 *C.gchar // out var _arg2 *C.GValue // out @@ -7825,7 +7763,6 @@ func SettingGet(name string, value *coreglib.Value) bool { // The function takes the following parameters: // // - window: mapped Window. -// func TestRenderSync(window Windower) { var _arg1 *C.GdkWindow // out @@ -7860,7 +7797,6 @@ func TestRenderSync(window Windower) { // // - ok: whether all actions necessary for a button event simulation were // carried out successfully. -// func TestSimulateButton(window Windower, x, y int, button uint, modifiers ModifierType, buttonPressrelease EventType) bool { var _arg1 *C.GdkWindow // out var _arg2 C.gint // out @@ -7922,7 +7858,6 @@ func TestSimulateButton(window Windower, x, y int, button uint, modifiers Modifi // // - ok: whether all actions necessary for a key event simulation were carried // out successfully. -// func TestSimulateKey(window Windower, x, y int, keyval uint, modifiers ModifierType, keyPressrelease EventType) bool { var _arg1 *C.GdkWindow // out var _arg2 C.gint // out @@ -7965,35 +7900,35 @@ func TestSimulateKey(window Windower, x, y int, keyval uint, modifiers ModifierT // case, where you have to worry about idle_callback() running in thread A and // accessing self after it has been finalized in thread B: // -// static gboolean -// idle_callback (gpointer data) -// { -// // gdk_threads_enter(); would be needed for g_idle_add() +// static gboolean +// idle_callback (gpointer data) +// { +// // gdk_threads_enter(); would be needed for g_idle_add() // -// SomeWidget *self = data; -// // do stuff with self +// SomeWidget *self = data; +// // do stuff with self // -// self->idle_id = 0; +// self->idle_id = 0; // -// // gdk_threads_leave(); would be needed for g_idle_add() -// return FALSE; -// } +// // gdk_threads_leave(); would be needed for g_idle_add() +// return FALSE; +// } // -// static void -// some_widget_do_stuff_later (SomeWidget *self) -// { -// self->idle_id = gdk_threads_add_idle (idle_callback, self) -// // using g_idle_add() here would require thread protection in the callback -// } +// static void +// some_widget_do_stuff_later (SomeWidget *self) +// { +// self->idle_id = gdk_threads_add_idle (idle_callback, self) +// // using g_idle_add() here would require thread protection in the callback +// } // -// static void -// some_widget_finalize (GObject *object) -// { -// SomeWidget *self = SOME_WIDGET (object); -// if (self->idle_id) -// g_source_remove (self->idle_id); -// G_OBJECT_CLASS (parent_class)->finalize (object); -// }. +// static void +// some_widget_finalize (GObject *object) +// { +// SomeWidget *self = SOME_WIDGET (object); +// if (self->idle_id) +// g_source_remove (self->idle_id); +// G_OBJECT_CLASS (parent_class)->finalize (object); +// }. // // The function takes the following parameters: // @@ -8004,7 +7939,6 @@ func TestSimulateKey(window Windower, x, y int, keyval uint, modifiers ModifierT // The function returns the following values: // // - guint: ID (greater than 0) of the event source. -// func ThreadsAddIdle(priority int, function glib.SourceFunc) uint { var _arg1 C.gint // out var _arg2 C.GSourceFunc // out @@ -8044,31 +7978,31 @@ func ThreadsAddIdle(priority int, function glib.SourceFunc) uint { // This variant of g_timeout_add_full() can be thought of a MT-safe version for // GTK+ widgets for the following use case: // -// static gboolean timeout_callback (gpointer data) -// { -// SomeWidget *self = data; +// static gboolean timeout_callback (gpointer data) +// { +// SomeWidget *self = data; // -// // do stuff with self +// // do stuff with self // -// self->timeout_id = 0; +// self->timeout_id = 0; // -// return G_SOURCE_REMOVE; -// } +// return G_SOURCE_REMOVE; +// } // -// static void some_widget_do_stuff_later (SomeWidget *self) -// { -// self->timeout_id = g_timeout_add (timeout_callback, self) -// } +// static void some_widget_do_stuff_later (SomeWidget *self) +// { +// self->timeout_id = g_timeout_add (timeout_callback, self) +// } // -// static void some_widget_finalize (GObject *object) -// { -// SomeWidget *self = SOME_WIDGET (object); +// static void some_widget_finalize (GObject *object) +// { +// SomeWidget *self = SOME_WIDGET (object); // -// if (self->timeout_id) -// g_source_remove (self->timeout_id); +// if (self->timeout_id) +// g_source_remove (self->timeout_id); // -// G_OBJECT_CLASS (parent_class)->finalize (object); -// }. +// G_OBJECT_CLASS (parent_class)->finalize (object); +// }. // // The function takes the following parameters: // @@ -8081,7 +8015,6 @@ func ThreadsAddIdle(priority int, function glib.SourceFunc) uint { // The function returns the following values: // // - guint: ID (greater than 0) of the event source. -// func ThreadsAddTimeout(priority int, interval uint, function glib.SourceFunc) uint { var _arg1 C.gint // out var _arg2 C.guint // out @@ -8122,7 +8055,6 @@ func ThreadsAddTimeout(priority int, interval uint, function glib.SourceFunc) ui // The function returns the following values: // // - guint: ID (greater than 0) of the event source. -// func ThreadsAddTimeoutSeconds(priority int, interval uint, function glib.SourceFunc) uint { var _arg1 C.gint // out var _arg2 C.guint // out @@ -8186,7 +8118,6 @@ func ThreadsLeave() { // // - guint: corresponding GDK key symbol, if one exists. or, if there is no // corresponding symbol, wc | 0x01000000. -// func UnicodeToKeyval(wc uint32) uint { var _arg1 C.guint32 // out var _cret C.guint // in @@ -8217,7 +8148,6 @@ func UnicodeToKeyval(wc uint32) uint { // - utf8 (optional): newly-allocated string, or NULL if the conversion // failed. (It should not fail for any properly formed UTF-8 string unless // system limits like memory or file descriptors are exceeded.). -// func UTF8ToStringTarget(str string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -8306,7 +8236,6 @@ func marshalDevicePad(p uintptr) (interface{}, error) { // The function returns the following values: // // - gint: group number of the queried pad feature. -// func (pad *DevicePad) FeatureGroup(feature DevicePadFeature, featureIdx int) int { var _arg0 *C.GdkDevicePad // out var _arg1 C.GdkDevicePadFeature // out @@ -8338,7 +8267,6 @@ func (pad *DevicePad) FeatureGroup(feature DevicePadFeature, featureIdx int) int // The function returns the following values: // // - gint: number of modes available in group. -// func (pad *DevicePad) GroupNModes(groupIdx int) int { var _arg0 *C.GdkDevicePad // out var _arg1 C.gint // out @@ -8367,7 +8295,6 @@ func (pad *DevicePad) GroupNModes(groupIdx int) int { // The function returns the following values: // // - gint: amount of elements of type feature that this pad has. -// func (pad *DevicePad) NFeatures(feature DevicePadFeature) int { var _arg0 *C.GdkDevicePad // out var _arg1 C.GdkDevicePadFeature // out @@ -8394,7 +8321,6 @@ func (pad *DevicePad) NFeatures(feature DevicePadFeature) int { // The function returns the following values: // // - gint: number of button/ring/strip groups in the pad. -// func (pad *DevicePad) NGroups() int { var _arg0 *C.GdkDevicePad // out var _cret C.gint // in @@ -8417,17 +8343,17 @@ func (pad *DevicePad) NGroups() int { // // Launching an application // -// GdkAppLaunchContext *context; +// GdkAppLaunchContext *context; // -// context = gdk_display_get_app_launch_context (display); +// context = gdk_display_get_app_launch_context (display); // -// gdk_app_launch_context_set_screen (screen); -// gdk_app_launch_context_set_timestamp (event->time); +// gdk_app_launch_context_set_screen (screen); +// gdk_app_launch_context_set_timestamp (event->time); // -// if (!g_app_info_launch_default_for_uri ("http://www.gtk.org", context, &error)) -// g_warning ("Launching failed: s\n", error->message); +// if (!g_app_info_launch_default_for_uri ("http://www.gtk.org", context, &error)) +// g_warning ("Launching failed: s\n", error->message); // -// g_object_unref (context);. +// g_object_unref (context);. type AppLaunchContext struct { _ [0]func() // equal guard gio.AppLaunchContext @@ -8456,7 +8382,6 @@ func marshalAppLaunchContext(p uintptr) (interface{}, error) { // The function returns the following values: // // - appLaunchContext: new AppLaunchContext. -// func NewAppLaunchContext() *AppLaunchContext { var _cret *C.GdkAppLaunchContext // in @@ -8480,7 +8405,6 @@ func NewAppLaunchContext() *AppLaunchContext { // The function takes the following parameters: // // - desktop: number of a workspace, or -1. -// func (context *AppLaunchContext) SetDesktop(desktop int) { var _arg0 *C.GdkAppLaunchContext // out var _arg1 C.gint // out @@ -8501,7 +8425,6 @@ func (context *AppLaunchContext) SetDesktop(desktop int) { // The function takes the following parameters: // // - display: Display. -// func (context *AppLaunchContext) SetDisplay(display *Display) { var _arg0 *C.GdkAppLaunchContext // out var _arg1 *C.GdkDisplay // out @@ -8524,7 +8447,6 @@ func (context *AppLaunchContext) SetDisplay(display *Display) { // The function takes the following parameters: // // - icon (optional) or NULL. -// func (context *AppLaunchContext) SetIcon(icon gio.Iconner) { var _arg0 *C.GdkAppLaunchContext // out var _arg1 *C.GIcon // out @@ -8551,7 +8473,6 @@ func (context *AppLaunchContext) SetIcon(icon gio.Iconner) { // The function takes the following parameters: // // - iconName (optional): icon name, or NULL. -// func (context *AppLaunchContext) SetIconName(iconName string) { var _arg0 *C.GdkAppLaunchContext // out var _arg1 *C.char // out @@ -8576,7 +8497,6 @@ func (context *AppLaunchContext) SetIconName(iconName string) { // The function takes the following parameters: // // - screen: Screen. -// func (context *AppLaunchContext) SetScreen(screen *Screen) { var _arg0 *C.GdkAppLaunchContext // out var _arg1 *C.GdkScreen // out @@ -8599,7 +8519,6 @@ func (context *AppLaunchContext) SetScreen(screen *Screen) { // The function takes the following parameters: // // - timestamp: timestamp. -// func (context *AppLaunchContext) SetTimestamp(timestamp uint32) { var _arg0 *C.GdkAppLaunchContext // out var _arg1 C.guint32 // out @@ -8666,7 +8585,6 @@ func BaseCursor(obj Cursorrer) *Cursor { // The function returns the following values: // // - cursor: new Cursor. -// func NewCursor(cursorType CursorType) *Cursor { var _arg1 C.GdkCursorType // out var _cret *C.GdkCursor // in @@ -8693,7 +8611,6 @@ func NewCursor(cursorType CursorType) *Cursor { // The function returns the following values: // // - cursor (optional): new Cursor, or NULL on failure. -// func NewCursorForDisplay(display *Display, cursorType CursorType) *Cursor { var _arg1 *C.GdkDisplay // out var _arg2 C.GdkCursorType // out @@ -8800,7 +8717,6 @@ func NewCursorForDisplay(display *Display, cursorType CursorType) *Cursor { // // - cursor (optional): new Cursor, or NULL if there is no cursor with the // given name. -// func NewCursorFromName(display *Display, name string) *Cursor { var _arg1 *C.GdkDisplay // out var _arg2 *C.gchar // out @@ -8849,7 +8765,6 @@ func NewCursorFromName(display *Display, name string) *Cursor { // The function returns the following values: // // - cursor: new Cursor. -// func NewCursorFromPixbuf(display *Display, pixbuf *gdkpixbuf.Pixbuf, x, y int) *Cursor { var _arg1 *C.GdkDisplay // out var _arg2 *C.GdkPixbuf // out @@ -8897,7 +8812,6 @@ func NewCursorFromPixbuf(display *Display, pixbuf *gdkpixbuf.Pixbuf, x, y int) * // The function returns the following values: // // - cursor: new Cursor. -// func NewCursorFromSurface(display *Display, surface *cairo.Surface, x, y float64) *Cursor { var _arg1 *C.GdkDisplay // out var _arg2 *C.cairo_surface_t // out @@ -8928,7 +8842,6 @@ func NewCursorFromSurface(display *Display, surface *cairo.Surface, x, y float64 // The function returns the following values: // // - cursorType: CursorType. -// func (cursor *Cursor) CursorType() CursorType { var _arg0 *C.GdkCursor // out var _cret C.GdkCursorType // in @@ -8950,7 +8863,6 @@ func (cursor *Cursor) CursorType() CursorType { // The function returns the following values: // // - display associated to cursor. -// func (cursor *Cursor) Display() *Display { var _arg0 *C.GdkCursor // out var _cret *C.GdkDisplay // in @@ -8976,7 +8888,6 @@ func (cursor *Cursor) Display() *Display { // The function returns the following values: // // - pixbuf (optional) representing cursor, or NULL. -// func (cursor *Cursor) Image() *gdkpixbuf.Pixbuf { var _arg0 *C.GdkCursor // out var _cret *C.GdkPixbuf // in @@ -9017,7 +8928,6 @@ func (cursor *Cursor) Image() *gdkpixbuf.Pixbuf { // - xHot (optional): location to store the hotspot x position, or NULL. // - yHot (optional): location to store the hotspot y position, or NULL. // - surface (optional): #cairo_surface_t representing cursor, or NULL. -// func (cursor *Cursor) Surface() (xHot, yHot float64, surface *cairo.Surface) { var _arg0 *C.GdkCursor // out var _arg1 C.gdouble // in @@ -9116,7 +9026,6 @@ func (device *Device) ConnectToolChanged(f func(tool *DeviceTool)) coreglib.Sign // The function returns the following values: // // - ret (optional): associated device, or NULL. -// func (device *Device) AssociatedDevice() Devicer { var _arg0 *C.GdkDevice // out var _cret *C.GdkDevice // in @@ -9174,7 +9083,6 @@ func (device *Device) Axes() AxisFlags { // The function returns the following values: // // - axisUse specifying how the axis is used. -// func (device *Device) AxisUse(index_ uint) AxisUse { var _arg0 *C.GdkDevice // out var _arg1 C.guint // out @@ -9199,7 +9107,6 @@ func (device *Device) AxisUse(index_ uint) AxisUse { // The function returns the following values: // // - deviceType for device. -// func (device *Device) DeviceType() DeviceType { var _arg0 *C.GdkDevice // out var _cret C.GdkDeviceType // in @@ -9221,7 +9128,6 @@ func (device *Device) DeviceType() DeviceType { // The function returns the following values: // // - display This memory is owned by GTK+, and must not be freed or unreffed. -// func (device *Device) Display() *Display { var _arg0 *C.GdkDevice // out var _cret *C.GdkDisplay // in @@ -9244,7 +9150,6 @@ func (device *Device) Display() *Display { // The function returns the following values: // // - ok: TRUE if the pointer follows device motion. -// func (device *Device) HasCursor() bool { var _arg0 *C.GdkDevice // out var _cret C.gboolean // in @@ -9275,7 +9180,6 @@ func (device *Device) HasCursor() bool { // - keyval: return value for the keyval. // - modifiers: return value for modifiers. // - ok: TRUE if keyval is set for index. -// func (device *Device) Key(index_ uint) (uint, ModifierType, bool) { var _arg0 *C.GdkDevice // out var _arg1 C.guint // out @@ -9312,7 +9216,6 @@ func (device *Device) Key(index_ uint) (uint, ModifierType, bool) { // The function returns the following values: // // - window (optional): last window the device. -// func (device *Device) LastEventWindow() Windower { var _arg0 *C.GdkDevice // out var _cret *C.GdkWindow // in @@ -9349,7 +9252,6 @@ func (device *Device) LastEventWindow() Windower { // The function returns the following values: // // - inputMode: InputSource. -// func (device *Device) Mode() InputMode { var _arg0 *C.GdkDevice // out var _cret C.GdkInputMode // in @@ -9371,7 +9273,6 @@ func (device *Device) Mode() InputMode { // The function returns the following values: // // - gint: number of axes. -// func (device *Device) NAxes() int { var _arg0 *C.GdkDevice // out var _cret C.gint // in @@ -9393,7 +9294,6 @@ func (device *Device) NAxes() int { // The function returns the following values: // // - gint: number of keys. -// func (device *Device) NKeys() int { var _arg0 *C.GdkDevice // out var _cret C.gint // in @@ -9415,7 +9315,6 @@ func (device *Device) NKeys() int { // The function returns the following values: // // - utf8: name. -// func (device *Device) Name() string { var _arg0 *C.GdkDevice // out var _cret *C.gchar // in @@ -9445,7 +9344,6 @@ func (device *Device) Name() string { // or NULL. // - y (optional): location to store root window Y coordinate of device, // or NULL. -// func (device *Device) Position() (screen *Screen, x, y int) { var _arg0 *C.GdkDevice // out var _arg1 *C.GdkScreen // in @@ -9483,7 +9381,6 @@ func (device *Device) Position() (screen *Screen, x, y int) { // or NULL. // - y (optional): location to store root window Y coordinate of device, // or NULL. -// func (device *Device) PositionDouble() (screen *Screen, x, y float64) { var _arg0 *C.GdkDevice // out var _arg1 *C.GdkScreen // in @@ -9515,7 +9412,6 @@ func (device *Device) PositionDouble() (screen *Screen, x, y float64) { // The function returns the following values: // // - utf8 (optional): product ID, or NULL. -// func (device *Device) ProductID() string { var _arg0 *C.GdkDevice // out var _cret *C.gchar // in @@ -9539,7 +9435,6 @@ func (device *Device) ProductID() string { // The function returns the following values: // // - seat This memory is owned by GTK+ and must not be freed. -// func (device *Device) Seat() Seater { var _arg0 *C.GdkDevice // out var _cret *C.GdkSeat // in @@ -9577,7 +9472,6 @@ func (device *Device) Seat() Seater { // The function returns the following values: // // - inputSource: InputSource. -// func (device *Device) Source() InputSource { var _arg0 *C.GdkDevice // out var _cret C.GdkInputSource // in @@ -9601,28 +9495,27 @@ func (device *Device) Source() InputSource { // This function, together with gdk_device_get_product_id(), can be used to eg. // compose #GSettings paths to store settings for this device. // -// static GSettings * -// get_device_settings (GdkDevice *device) -// { -// const gchar *vendor, *product; -// GSettings *settings; -// GdkDevice *device; -// gchar *path; +// static GSettings * +// get_device_settings (GdkDevice *device) +// { +// const gchar *vendor, *product; +// GSettings *settings; +// GdkDevice *device; +// gchar *path; // -// vendor = gdk_device_get_vendor_id (device); -// product = gdk_device_get_product_id (device); +// vendor = gdk_device_get_vendor_id (device); +// product = gdk_device_get_product_id (device); // -// path = g_strdup_printf ("/org/example/app/devices/s:s/", vendor, product); -// settings = g_settings_new_with_path (DEVICE_SCHEMA, path); -// g_free (path); +// path = g_strdup_printf ("/org/example/app/devices/s:s/", vendor, product); +// settings = g_settings_new_with_path (DEVICE_SCHEMA, path); +// g_free (path); // -// return settings; -// }. +// return settings; +// }. // // The function returns the following values: // // - utf8 (optional): vendor ID, or NULL. -// func (device *Device) VendorID() string { var _arg0 *C.GdkDevice // out var _cret *C.gchar // in @@ -9656,7 +9549,6 @@ func (device *Device) VendorID() string { // - winY (optional): return location for the Y coordinate of the device // location, relative to the window origin, or NULL. // - window (optional) under the device position, or NULL. -// func (device *Device) WindowAtPosition() (winX, winY int, window Windower) { var _arg0 *C.GdkDevice // out var _arg1 C.gint // in @@ -9710,7 +9602,6 @@ func (device *Device) WindowAtPosition() (winX, winY int, window Windower) { // - winY (optional): return location for the Y coordinate of the device // location, relative to the window origin, or NULL. // - window (optional) under the device position, or NULL. -// func (device *Device) WindowAtPositionDouble() (winX, winY float64, window Windower) { var _arg0 *C.GdkDevice // out var _arg1 C.gdouble // in @@ -9794,7 +9685,6 @@ func (device *Device) WindowAtPositionDouble() (winX, winY float64, window Windo // The function returns the following values: // // - grabStatus: GDK_GRAB_SUCCESS if the grab was successful. -// func (device *Device) Grab(window Windower, grabOwnership GrabOwnership, ownerEvents bool, eventMask EventMask, cursor Cursorrer, time_ uint32) GrabStatus { var _arg0 *C.GdkDevice // out var _arg1 *C.GdkWindow // out @@ -9842,7 +9732,6 @@ func (device *Device) Grab(window Windower, grabOwnership GrabOwnership, ownerEv // - list (optional): the list of slave devices, or NULL. The list must be // freed with g_list_free(), the contents of the list are owned by GTK+ and // should not be freed. -// func (device *Device) ListSlaveDevices() []Devicer { var _arg0 *C.GdkDevice // out var _cret *C.GList // in @@ -9889,7 +9778,6 @@ func (device *Device) ListSlaveDevices() []Devicer { // // - index_: index of the axis. // - use specifies how the axis is used. -// func (device *Device) SetAxisUse(index_ uint, use AxisUse) { var _arg0 *C.GdkDevice // out var _arg1 C.guint // out @@ -9913,7 +9801,6 @@ func (device *Device) SetAxisUse(index_ uint, use AxisUse) { // - index_: index of the macro button to set. // - keyval to generate. // - modifiers to set. -// func (device *Device) SetKey(index_, keyval uint, modifiers ModifierType) { var _arg0 *C.GdkDevice // out var _arg1 C.guint // out @@ -9947,7 +9834,6 @@ func (device *Device) SetKey(index_, keyval uint, modifiers ModifierType) { // The function returns the following values: // // - ok: TRUE if the mode was successfully changed. -// func (device *Device) SetMode(mode InputMode) bool { var _arg0 *C.GdkDevice // out var _arg1 C.GdkInputMode // out @@ -9976,7 +9862,6 @@ func (device *Device) SetMode(mode InputMode) bool { // The function takes the following parameters: // // - time_: timestap (e.g. GDK_CURRENT_TIME). -// func (device *Device) Ungrab(time_ uint32) { var _arg0 *C.GdkDevice // out var _arg1 C.guint32 // out @@ -10003,7 +9888,6 @@ func (device *Device) Ungrab(time_ uint32) { // - screen to warp device to. // - x: x coordinate of the destination. // - y: y coordinate of the destination. -// func (device *Device) Warp(screen *Screen, x, y int) { var _arg0 *C.GdkDevice // out var _arg1 *C.GdkScreen // out @@ -10038,7 +9922,6 @@ func (device *Device) Warp(screen *Screen, x, y int) { // - ownerEvents: location to store boolean indicating whether the // owner_events flag to gdk_keyboard_grab() or gdk_pointer_grab() was TRUE. // - ok: TRUE if this application currently has the keyboard grabbed. -// func DeviceGrabInfoLibgtkOnly(display *Display, device Devicer) (grabWindow Windower, ownerEvents, ok bool) { var _arg1 *C.GdkDisplay // out var _arg2 *C.GdkDevice // out @@ -10132,22 +10015,22 @@ func DeviceGrabInfoLibgtkOnly(display *Display, device Devicer) (grabWindow Wind // // Master and slave devices // -// carlossacarino:~$ xinput list -// ⎡ Virtual core pointer id=2 [master pointer (3)] -// ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] -// ⎜ ↳ Wacom ISDv4 E6 Pen stylus id=10 [slave pointer (2)] -// ⎜ ↳ Wacom ISDv4 E6 Finger touch id=11 [slave pointer (2)] -// ⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)] -// ⎜ ↳ TPPS/2 IBM TrackPoint id=14 [slave pointer (2)] -// ⎜ ↳ Wacom ISDv4 E6 Pen eraser id=16 [slave pointer (2)] -// ⎣ Virtual core keyboard id=3 [master keyboard (2)] -// ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] -// ↳ Power Button id=6 [slave keyboard (3)] -// ↳ Video Bus id=7 [slave keyboard (3)] -// ↳ Sleep Button id=8 [slave keyboard (3)] -// ↳ Integrated Camera id=9 [slave keyboard (3)] -// ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)] -// ↳ ThinkPad Extra Buttons id=15 [slave keyboard (3)] +// carlossacarino:~$ xinput list +// ⎡ Virtual core pointer id=2 [master pointer (3)] +// ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] +// ⎜ ↳ Wacom ISDv4 E6 Pen stylus id=10 [slave pointer (2)] +// ⎜ ↳ Wacom ISDv4 E6 Finger touch id=11 [slave pointer (2)] +// ⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)] +// ⎜ ↳ TPPS/2 IBM TrackPoint id=14 [slave pointer (2)] +// ⎜ ↳ Wacom ISDv4 E6 Pen eraser id=16 [slave pointer (2)] +// ⎣ Virtual core keyboard id=3 [master keyboard (2)] +// ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] +// ↳ Power Button id=6 [slave keyboard (3)] +// ↳ Video Bus id=7 [slave keyboard (3)] +// ↳ Sleep Button id=8 [slave keyboard (3)] +// ↳ Integrated Camera id=9 [slave keyboard (3)] +// ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)] +// ↳ ThinkPad Extra Buttons id=15 [slave keyboard (3)] // // By default, GDK will automatically listen for events coming from all master // devices, setting the Device for all events coming from input devices. @@ -10266,7 +10149,6 @@ func (deviceManager *DeviceManager) ConnectDeviceRemoved(f func(device Devicer)) // // - device: client pointer. This memory is owned by GDK and must not be freed // or unreferenced. -// func (deviceManager *DeviceManager) ClientPointer() Devicer { var _arg0 *C.GdkDeviceManager // out var _cret *C.GdkDevice // in @@ -10305,7 +10187,6 @@ func (deviceManager *DeviceManager) ClientPointer() Devicer { // // - display (optional) to which device_manager is associated to, or NULL. // This memory is owned by GDK and must not be freed or unreferenced. -// func (deviceManager *DeviceManager) Display() *Display { var _arg0 *C.GdkDeviceManager // out var _cret *C.GdkDisplay // in @@ -10338,7 +10219,6 @@ func (deviceManager *DeviceManager) Display() *Display { // // - list of Devices. The returned list must be freed with g_list_free (). // The list elements are owned by GTK+ and must not be freed or unreffed. -// func (deviceManager *DeviceManager) ListDevices(typ DeviceType) []Devicer { var _arg0 *C.GdkDeviceManager // out var _arg1 C.GdkDeviceType // out @@ -10412,7 +10292,6 @@ func marshalDeviceTool(p uintptr) (interface{}, error) { // The function returns the following values: // // - guint64: hardware identificator of this tool. -// func (tool *DeviceTool) HardwareID() uint64 { var _arg0 *C.GdkDeviceTool // out var _cret C.guint64 // in @@ -10435,7 +10314,6 @@ func (tool *DeviceTool) HardwareID() uint64 { // The function returns the following values: // // - guint64: serial ID for this tool. -// func (tool *DeviceTool) Serial() uint64 { var _arg0 *C.GdkDeviceTool // out var _cret C.guint64 // in @@ -10458,7 +10336,6 @@ func (tool *DeviceTool) Serial() uint64 { // // - deviceToolType: physical type for this tool. This can be used to figure // out what sort of pen is being used, such as an airbrush or a pencil. -// func (tool *DeviceTool) ToolType() DeviceToolType { var _arg0 *C.GdkDeviceTool // out var _cret C.GdkDeviceToolType // in @@ -10575,7 +10452,6 @@ func (display *Display) Close() { // The function returns the following values: // // - ok: TRUE if there is a grab in effect for device. -// func (display *Display) DeviceIsGrabbed(device Devicer) bool { var _arg0 *C.GdkDisplay // out var _arg1 *C.GdkDevice // out @@ -10622,7 +10498,6 @@ func (display *Display) Flush() { // // - appLaunchContext: new AppLaunchContext for display. Free with // g_object_unref() when done. -// func (display *Display) AppLaunchContext() *AppLaunchContext { var _arg0 *C.GdkDisplay // out var _cret *C.GdkAppLaunchContext // in @@ -10644,7 +10519,6 @@ func (display *Display) AppLaunchContext() *AppLaunchContext { // The function returns the following values: // // - guint: default cursor size. -// func (display *Display) DefaultCursorSize() uint { var _arg0 *C.GdkDisplay // out var _cret C.guint // in @@ -10668,7 +10542,6 @@ func (display *Display) DefaultCursorSize() uint { // The function returns the following values: // // - window: default group leader window for display. -// func (display *Display) DefaultGroup() Windower { var _arg0 *C.GdkDisplay // out var _cret *C.GdkWindow // in @@ -10706,7 +10579,6 @@ func (display *Display) DefaultGroup() Windower { // The function returns the following values: // // - screen: default Screen object for display. -// func (display *Display) DefaultScreen() *Screen { var _arg0 *C.GdkDisplay // out var _cret *C.GdkScreen // in @@ -10728,7 +10600,6 @@ func (display *Display) DefaultScreen() *Screen { // The function returns the following values: // // - seat: default seat. -// func (display *Display) DefaultSeat() Seater { var _arg0 *C.GdkDisplay // out var _cret *C.GdkSeat // in @@ -10769,7 +10640,6 @@ func (display *Display) DefaultSeat() Seater { // // - deviceManager (optional) or NULL. This memory is owned by GDK and must // not be freed or unreferenced. -// func (display *Display) DeviceManager() DeviceManagerer { var _arg0 *C.GdkDisplay // out var _cret *C.GdkDeviceManager // in @@ -10808,7 +10678,6 @@ func (display *Display) DeviceManager() DeviceManagerer { // // - event (optional): next Event to be processed, or NULL if no events are // pending. The returned Event should be freed with gdk_event_free(). -// func (display *Display) Event() *Event { var _arg0 *C.GdkDisplay // out var _cret *C.GdkEvent // in @@ -10836,7 +10705,6 @@ func (display *Display) Event() *Event { // // - width: return location for the maximal cursor width. // - height: return location for the maximal cursor height. -// func (display *Display) MaximalCursorSize() (width, height uint) { var _arg0 *C.GdkDisplay // out var _arg1 C.guint // in @@ -10865,7 +10733,6 @@ func (display *Display) MaximalCursorSize() (width, height uint) { // The function returns the following values: // // - monitor (optional) or NULL if monitor_num is not a valid monitor number. -// func (display *Display) Monitor(monitorNum int) *Monitor { var _arg0 *C.GdkDisplay // out var _arg1 C.int // out @@ -10898,7 +10765,6 @@ func (display *Display) Monitor(monitorNum int) *Monitor { // The function returns the following values: // // - monitor containing the point. -// func (display *Display) MonitorAtPoint(x, y int) *Monitor { var _arg0 *C.GdkDisplay // out var _arg1 C.int // out @@ -10931,7 +10797,6 @@ func (display *Display) MonitorAtPoint(x, y int) *Monitor { // The function returns the following values: // // - monitor with the largest overlap with window. -// func (display *Display) MonitorAtWindow(window Windower) *Monitor { var _arg0 *C.GdkDisplay // out var _arg1 *C.GdkWindow // out @@ -10959,7 +10824,6 @@ func (display *Display) MonitorAtWindow(window Windower) *Monitor { // The function returns the following values: // // - gint: number of monitors. -// func (display *Display) NMonitors() int { var _arg0 *C.GdkDisplay // out var _cret C.int // in @@ -10983,7 +10847,6 @@ func (display *Display) NMonitors() int { // The function returns the following values: // // - gint: number of screens. -// func (display *Display) NScreens() int { var _arg0 *C.GdkDisplay // out var _cret C.gint // in @@ -11006,7 +10869,6 @@ func (display *Display) NScreens() int { // // - utf8: string representing the display name. This string is owned by GDK // and should not be modified or freed. -// func (display *Display) Name() string { var _arg0 *C.GdkDisplay // out var _cret *C.gchar // in @@ -11037,7 +10899,6 @@ func (display *Display) Name() string { // - y (optional): location to store root window Y coordinate of pointer, // or NULL. // - mask (optional): location to store current modifier mask, or NULL. -// func (display *Display) Pointer() (screen *Screen, x, y int, mask ModifierType) { var _arg0 *C.GdkDisplay // out var _arg1 *C.GdkScreen // in @@ -11076,7 +10937,6 @@ func (display *Display) Pointer() (screen *Screen, x, y int, mask ModifierType) // // - monitor (optional): primary monitor, or NULL if no primary monitor is // configured by the user. -// func (display *Display) PrimaryMonitor() *Monitor { var _arg0 *C.GdkDisplay // out var _cret *C.GdkMonitor // in @@ -11107,7 +10967,6 @@ func (display *Display) PrimaryMonitor() *Monitor { // The function returns the following values: // // - screen: Screen object. -// func (display *Display) Screen(screenNum int) *Screen { var _arg0 *C.GdkDisplay // out var _arg1 C.gint // out @@ -11141,7 +11000,6 @@ func (display *Display) Screen(screenNum int) *Screen { // - winY (optional): return location for y coordinate of the pointer location // relative & to the window origin, or NULL. // - window (optional) under the mouse pointer, or NULL. -// func (display *Display) WindowAtPointer() (winX, winY int, window Windower) { var _arg0 *C.GdkDisplay // out var _arg1 C.gint // in @@ -11185,7 +11043,6 @@ func (display *Display) WindowAtPointer() (winX, winY int, window Windower) { // The function returns the following values: // // - ok: TRUE if there are events ready to be processed. -// func (display *Display) HasPending() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -11209,7 +11066,6 @@ func (display *Display) HasPending() bool { // The function returns the following values: // // - ok: TRUE if the display is closed. -// func (display *Display) IsClosed() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -11235,7 +11091,6 @@ func (display *Display) IsClosed() bool { // The function takes the following parameters: // // - time_: timestap (e.g K_CURRENT_TIME). -// func (display *Display) KeyboardUngrab(time_ uint32) { var _arg0 *C.GdkDisplay // out var _arg1 C.guint32 // out @@ -11256,7 +11111,6 @@ func (display *Display) KeyboardUngrab(time_ uint32) { // The function returns the following values: // // - list: a list of Device. -// func (display *Display) ListDevices() []Devicer { var _arg0 *C.GdkDisplay // out var _cret *C.GList // in @@ -11300,7 +11154,6 @@ func (display *Display) ListDevices() []Devicer { // The function returns the following values: // // - list: the list of seats known to the Display. -// func (display *Display) ListSeats() []Seater { var _arg0 *C.GdkDisplay // out var _cret *C.GList // in @@ -11350,7 +11203,6 @@ func (display *Display) ListSeats() []Seater { // // - startupId: startup-notification identifier, for which notification // process should be completed. -// func (display *Display) NotifyStartupComplete(startupId string) { var _arg0 *C.GdkDisplay // out var _arg1 *C.gchar // out @@ -11374,7 +11226,6 @@ func (display *Display) NotifyStartupComplete(startupId string) { // - event (optional): copy of the first Event on the event queue, or NULL // if no events are in the queue. The returned Event should be freed with // gdk_event_free(). -// func (display *Display) PeekEvent() *Event { var _arg0 *C.GdkDisplay // out var _cret *C.GdkEvent // in @@ -11403,7 +11254,6 @@ func (display *Display) PeekEvent() *Event { // The function returns the following values: // // - ok: TRUE if an active X pointer grab is in effect. -// func (display *Display) PointerIsGrabbed() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -11429,7 +11279,6 @@ func (display *Display) PointerIsGrabbed() bool { // The function takes the following parameters: // // - time_: timestap (e.g. GDK_CURRENT_TIME). -// func (display *Display) PointerUngrab(time_ uint32) { var _arg0 *C.GdkDisplay // out var _arg1 C.guint32 // out @@ -11448,7 +11297,6 @@ func (display *Display) PointerUngrab(time_ uint32) { // The function takes the following parameters: // // - event: Event. -// func (display *Display) PutEvent(event *Event) { var _arg0 *C.GdkDisplay // out var _arg1 *C.GdkEvent // out @@ -11469,7 +11317,6 @@ func (display *Display) PutEvent(event *Event) { // The function takes the following parameters: // // - distance in pixels. -// func (display *Display) SetDoubleClickDistance(distance uint) { var _arg0 *C.GdkDisplay // out var _arg1 C.guint // out @@ -11489,7 +11336,6 @@ func (display *Display) SetDoubleClickDistance(distance uint) { // The function takes the following parameters: // // - msec: double click time in milliseconds (thousandths of a second). -// func (display *Display) SetDoubleClickTime(msec uint) { var _arg0 *C.GdkDisplay // out var _arg1 C.guint // out @@ -11510,7 +11356,6 @@ func (display *Display) SetDoubleClickTime(msec uint) { // The function returns the following values: // // - ok: TRUE if the display supports clipboard persistance. -// func (display *Display) SupportsClipboardPersistence() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -11541,7 +11386,6 @@ func (display *Display) SupportsClipboardPersistence() bool { // The function returns the following values: // // - ok: TRUE if windows may be composited. -// func (display *Display) SupportsComposite() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -11566,7 +11410,6 @@ func (display *Display) SupportsComposite() bool { // The function returns the following values: // // - ok: whether cursors can have alpha channels. -// func (display *Display) SupportsCursorAlpha() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -11591,7 +11434,6 @@ func (display *Display) SupportsCursorAlpha() bool { // The function returns the following values: // // - ok: whether cursors can have multiple colors. -// func (display *Display) SupportsCursorColor() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -11616,7 +11458,6 @@ func (display *Display) SupportsCursorColor() bool { // The function returns the following values: // // - ok: TRUE if windows with modified input shape are supported. -// func (display *Display) SupportsInputShapes() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -11641,7 +11482,6 @@ func (display *Display) SupportsInputShapes() bool { // The function returns the following values: // // - ok: whether EventOwnerChange events will be sent. -// func (display *Display) SupportsSelectionNotification() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -11666,7 +11506,6 @@ func (display *Display) SupportsSelectionNotification() bool { // The function returns the following values: // // - ok: TRUE if shaped windows are supported. -// func (display *Display) SupportsShapes() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -11718,7 +11557,6 @@ func (display *Display) Sync() { // - screen of display to warp the pointer to. // - x coordinate of the destination. // - y coordinate of the destination. -// func (display *Display) WarpPointer(screen *Screen, x, y int) { var _arg0 *C.GdkDisplay // out var _arg1 *C.GdkScreen // out @@ -11743,7 +11581,6 @@ func (display *Display) WarpPointer(screen *Screen, x, y int) { // The function returns the following values: // // - display (optional) or NULL if there is no default display. -// func DisplayGetDefault() *Display { var _cret *C.GdkDisplay // in @@ -11767,7 +11604,6 @@ func DisplayGetDefault() *Display { // The function returns the following values: // // - display (optional) or NULL if the display could not be opened. -// func DisplayOpen(displayName string) *Display { var _arg1 *C.gchar // out var _cret *C.GdkDisplay // in @@ -11799,7 +11635,6 @@ func DisplayOpen(displayName string) *Display { // // - display (optional): default display, if it could be opened, otherwise // NULL. -// func DisplayOpenDefaultLibgtkOnly() *Display { var _cret *C.GdkDisplay // in @@ -11834,21 +11669,21 @@ func DisplayOpenDefaultLibgtkOnly() *Display { // // Backend-specific code // -// #ifdef GDK_WINDOWING_X11 -// if (GDK_IS_X11_DISPLAY (display)) -// { -// // make X11-specific calls here -// } -// else -// #endif -// #ifdef GDK_WINDOWING_QUARTZ -// if (GDK_IS_QUARTZ_DISPLAY (display)) -// { -// // make Quartz-specific calls here -// } -// else -// #endif -// g_error ("Unsupported GDK backend");. +// #ifdef GDK_WINDOWING_X11 +// if (GDK_IS_X11_DISPLAY (display)) +// { +// // make X11-specific calls here +// } +// else +// #endif +// #ifdef GDK_WINDOWING_QUARTZ +// if (GDK_IS_QUARTZ_DISPLAY (display)) +// { +// // make Quartz-specific calls here +// } +// else +// #endif +// g_error ("Unsupported GDK backend");. type DisplayManager struct { _ [0]func() // equal guard *coreglib.Object @@ -11878,7 +11713,6 @@ func (manager *DisplayManager) ConnectDisplayOpened(f func(display *Display)) co // The function returns the following values: // // - display (optional) or NULL if there is no default display. -// func (manager *DisplayManager) DefaultDisplay() *Display { var _arg0 *C.GdkDisplayManager // out var _cret *C.GdkDisplay // in @@ -11903,7 +11737,6 @@ func (manager *DisplayManager) DefaultDisplay() *Display { // // - sList: newly allocated List of Display objects. Free with g_slist_free() // when you are done with it. -// func (manager *DisplayManager) ListDisplays() []*Display { var _arg0 *C.GdkDisplayManager // out var _cret *C.GSList // in @@ -11935,7 +11768,6 @@ func (manager *DisplayManager) ListDisplays() []*Display { // The function returns the following values: // // - display (optional) or NULL if the display could not be opened. -// func (manager *DisplayManager) OpenDisplay(name string) *Display { var _arg0 *C.GdkDisplayManager // out var _arg1 *C.gchar // out @@ -11963,7 +11795,6 @@ func (manager *DisplayManager) OpenDisplay(name string) *Display { // The function takes the following parameters: // // - display: Display. -// func (manager *DisplayManager) SetDefaultDisplay(display *Display) { var _arg0 *C.GdkDisplayManager // out var _arg1 *C.GdkDisplay // out @@ -11987,7 +11818,6 @@ func (manager *DisplayManager) SetDefaultDisplay(display *Display) { // // - displayManager: global DisplayManager singleton; gdk_parse_args(), // gdk_init(), or gdk_init_check() must have been called first. -// func DisplayManagerGet() *DisplayManager { var _cret *C.GdkDisplayManager // in @@ -12061,7 +11891,6 @@ func (context *DragContext) ConnectDropPerformed(f func(time int)) coreglib.Sign // The function returns the following values: // // - dragAction: DragAction flags. -// func (context *DragContext) Actions() DragAction { var _arg0 *C.GdkDragContext // out var _cret C.GdkDragAction // in @@ -12083,7 +11912,6 @@ func (context *DragContext) Actions() DragAction { // The function returns the following values: // // - window: Window. -// func (context *DragContext) DestWindow() Windower { var _arg0 *C.GdkDragContext // out var _cret *C.GdkWindow // in @@ -12121,7 +11949,6 @@ func (context *DragContext) DestWindow() Windower { // The function returns the following values: // // - device associated to context. -// func (context *DragContext) Device() Devicer { var _arg0 *C.GdkDragContext // out var _cret *C.GdkDevice // in @@ -12163,7 +11990,6 @@ func (context *DragContext) Device() Devicer { // The function returns the following values: // // - window (optional): drag window, or NULL. -// func (context *DragContext) DragWindow() Windower { var _arg0 *C.GdkDragContext // out var _cret *C.GdkWindow // in @@ -12200,7 +12026,6 @@ func (context *DragContext) DragWindow() Windower { // The function returns the following values: // // - dragProtocol: drag protocol. -// func (context *DragContext) Protocol() DragProtocol { var _arg0 *C.GdkDragContext // out var _cret C.GdkDragProtocol // in @@ -12222,7 +12047,6 @@ func (context *DragContext) Protocol() DragProtocol { // The function returns the following values: // // - dragAction: DragAction value. -// func (context *DragContext) SelectedAction() DragAction { var _arg0 *C.GdkDragContext // out var _cret C.GdkDragAction // in @@ -12244,7 +12068,6 @@ func (context *DragContext) SelectedAction() DragAction { // The function returns the following values: // // - window: Window. -// func (context *DragContext) SourceWindow() Windower { var _arg0 *C.GdkDragContext // out var _cret *C.GdkWindow // in @@ -12282,7 +12105,6 @@ func (context *DragContext) SourceWindow() Windower { // The function returns the following values: // // - dragAction: DragAction value. -// func (context *DragContext) SuggestedAction() DragAction { var _arg0 *C.GdkDragContext // out var _cret C.GdkDragAction // in @@ -12328,7 +12150,6 @@ func (context *DragContext) SuggestedAction() DragAction { // The function returns the following values: // // - ok if the drag and drop operation is managed. -// func (context *DragContext) ManageDND(ipcWindow Windower, actions DragAction) bool { var _arg0 *C.GdkDragContext // out var _arg1 *C.GdkWindow // out @@ -12359,7 +12180,6 @@ func (context *DragContext) ManageDND(ipcWindow Windower, actions DragAction) bo // The function takes the following parameters: // // - device: Device. -// func (context *DragContext) SetDevice(device Devicer) { var _arg0 *C.GdkDragContext // out var _arg1 *C.GdkDevice // out @@ -12380,7 +12200,6 @@ func (context *DragContext) SetDevice(device Devicer) { // // - hotX: x coordinate of the drag window hotspot. // - hotY: y coordinate of the drag window hotspot. -// func (context *DragContext) SetHotspot(hotX, hotY int) { var _arg0 *C.GdkDragContext // out var _arg1 C.gint // out @@ -12436,7 +12255,6 @@ func marshalDrawingContext(p uintptr) (interface{}, error) { // // - ret: cairo context to be used to draw the contents of the Window. // The context is owned by the DrawingContext and should not be destroyed. -// func (context *DrawingContext) CairoContext() *cairo.Context { var _arg0 *C.GdkDrawingContext // out var _cret *C.cairo_t // in @@ -12462,7 +12280,6 @@ func (context *DrawingContext) CairoContext() *cairo.Context { // The function returns the following values: // // - region (optional): cairo region. -// func (context *DrawingContext) Clip() *cairo.Region { var _arg0 *C.GdkDrawingContext // out var _cret *C.cairo_region_t // in @@ -12492,7 +12309,6 @@ func (context *DrawingContext) Clip() *cairo.Region { // The function returns the following values: // // - window: Window. -// func (context *DrawingContext) Window() Windower { var _arg0 *C.GdkDrawingContext // out var _cret *C.GdkWindow // in @@ -12530,7 +12346,6 @@ func (context *DrawingContext) Window() Windower { // The function returns the following values: // // - ok: TRUE if the context is valid. -// func (context *DrawingContext) IsValid() bool { var _arg0 *C.GdkDrawingContext // out var _cret C.gboolean // in @@ -12699,7 +12514,6 @@ func (frameClock *FrameClock) EndUpdating() { // - frameTimings (optional) for the frame currently being processed, or even // no frame is being processed, for the previous frame. Before any frames // have been processed, returns NULL. -// func (frameClock *FrameClock) CurrentTimings() *FrameTimings { var _arg0 *C.GdkFrameClock // out var _cret *C.GdkFrameTimings // in @@ -12732,7 +12546,6 @@ func (frameClock *FrameClock) CurrentTimings() *FrameTimings { // - gint64: inside frame processing, the value of the frame counter for the // current frame. Outside of frame processing, the frame counter for the // last frame. -// func (frameClock *FrameClock) FrameCounter() int64 { var _arg0 *C.GdkFrameClock // out var _cret C.gint64 // in @@ -12759,7 +12572,6 @@ func (frameClock *FrameClock) FrameCounter() int64 { // // - gint64: timestamp in microseconds, in the timescale of of // g_get_monotonic_time(). -// func (frameClock *FrameClock) FrameTime() int64 { var _arg0 *C.GdkFrameClock // out var _cret C.gint64 // in @@ -12786,7 +12598,6 @@ func (frameClock *FrameClock) FrameTime() int64 { // // - gint64: frame counter value for the oldest frame that is available in the // internal frame history of the FrameClock. -// func (frameClock *FrameClock) HistoryStart() int64 { var _arg0 *C.GdkFrameClock // out var _cret C.gint64 // in @@ -12821,7 +12632,6 @@ func (frameClock *FrameClock) HistoryStart() int64 { // - presentationTimeReturn: location to store the next candidate presentation // time after the given base time. 0 will be will be stored if no history is // present. -// func (frameClock *FrameClock) RefreshInfo(baseTime int64) (refreshIntervalReturn, presentationTimeReturn int64) { var _arg0 *C.GdkFrameClock // out var _arg1 C.gint64 // out @@ -12856,7 +12666,6 @@ func (frameClock *FrameClock) RefreshInfo(baseTime int64) (refreshIntervalReturn // // - frameTimings (optional) object for the specified frame, or NULL if it is // not available. See gdk_frame_clock_get_history_start(). -// func (frameClock *FrameClock) Timings(frameCounter int64) *FrameTimings { var _arg0 *C.GdkFrameClock // out var _arg1 C.gint64 // out @@ -12897,7 +12706,6 @@ func (frameClock *FrameClock) Timings(frameCounter int64) *FrameTimings { // The function takes the following parameters: // // - phase that is requested. -// func (frameClock *FrameClock) RequestPhase(phase FrameClockPhase) { var _arg0 *C.GdkFrameClock // out var _arg1 C.GdkFrameClockPhase // out @@ -12949,7 +12757,7 @@ func (frameClock *FrameClock) RequestPhase(phase FrameClockPhase) { // is possible to have multiple contexts, so you always need to ensure that the // one which you want to draw with is the current one before issuing commands: // -// gdk_gl_context_make_current (context); +// gdk_gl_context_make_current (context); // // You can now perform your drawing using OpenGL commands. // @@ -13001,7 +12809,6 @@ func BaseGLContext(obj GLContexter) *GLContext { // The function returns the following values: // // - ok: TRUE if debugging is enabled. -// func (context *GLContext) DebugEnabled() bool { var _arg0 *C.GdkGLContext // out var _cret C.gboolean // in @@ -13025,7 +12832,6 @@ func (context *GLContext) DebugEnabled() bool { // The function returns the following values: // // - display (optional) or NULL. -// func (context *GLContext) Display() *Display { var _arg0 *C.GdkGLContext // out var _cret *C.GdkDisplay // in @@ -13050,7 +12856,6 @@ func (context *GLContext) Display() *Display { // The function returns the following values: // // - ok: TRUE if the context should be forward compatible. -// func (context *GLContext) ForwardCompatible() bool { var _arg0 *C.GdkGLContext // out var _cret C.gboolean // in @@ -13076,7 +12881,6 @@ func (context *GLContext) ForwardCompatible() bool { // // - major (optional): return location for the major version to request. // - minor (optional): return location for the minor version to request. -// func (context *GLContext) RequiredVersion() (major, minor int) { var _arg0 *C.GdkGLContext // out var _arg1 C.int // in @@ -13101,7 +12905,6 @@ func (context *GLContext) RequiredVersion() (major, minor int) { // The function returns the following values: // // - glContext (optional) or NULL. -// func (context *GLContext) SharedContext() GLContexter { var _arg0 *C.GdkGLContext // out var _cret *C.GdkGLContext // in @@ -13138,7 +12941,6 @@ func (context *GLContext) SharedContext() GLContexter { // The function returns the following values: // // - ok: TRUE if the GLContext is using an OpenGL ES profile. -// func (context *GLContext) UseES() bool { var _arg0 *C.GdkGLContext // out var _cret C.gboolean // in @@ -13165,7 +12967,6 @@ func (context *GLContext) UseES() bool { // // - major: return location for the major version. // - minor: return location for the minor version. -// func (context *GLContext) Version() (major, minor int) { var _arg0 *C.GdkGLContext // out var _arg1 C.int // in @@ -13190,7 +12991,6 @@ func (context *GLContext) Version() (major, minor int) { // The function returns the following values: // // - window (optional) or NULL. -// func (context *GLContext) Window() Windower { var _arg0 *C.GdkGLContext // out var _cret *C.GdkWindow // in @@ -13242,7 +13042,6 @@ func (context *GLContext) Window() Windower { // The function returns the following values: // // - ok: TRUE if the GL context is in legacy mode. -// func (context *GLContext) IsLegacy() bool { var _arg0 *C.GdkGLContext // out var _cret C.gboolean // in @@ -13302,7 +13101,6 @@ func (context *GLContext) Realize() error { // The function takes the following parameters: // // - enabled: whether to enable debugging in the context. -// func (context *GLContext) SetDebugEnabled(enabled bool) { var _arg0 *C.GdkGLContext // out var _arg1 C.gboolean // out @@ -13330,7 +13128,6 @@ func (context *GLContext) SetDebugEnabled(enabled bool) { // The function takes the following parameters: // // - compatible: whether the context should be forward compatible. -// func (context *GLContext) SetForwardCompatible(compatible bool) { var _arg0 *C.GdkGLContext // out var _arg1 C.gboolean // out @@ -13356,7 +13153,6 @@ func (context *GLContext) SetForwardCompatible(compatible bool) { // // - major version to request. // - minor version to request. -// func (context *GLContext) SetRequiredVersion(major, minor int) { var _arg0 *C.GdkGLContext // out var _arg1 C.int // out @@ -13388,7 +13184,6 @@ func (context *GLContext) SetRequiredVersion(major, minor int) { // // - useEs: whether the context should use OpenGL ES instead of OpenGL, // or -1 to allow auto-detection. -// func (context *GLContext) SetUseES(useEs int) { var _arg0 *C.GdkGLContext // out var _arg1 C.int // out @@ -13414,7 +13209,6 @@ func GLContextClearCurrent() { // The function returns the following values: // // - glContext (optional): current GLContext, or NULL. -// func GLContextGetCurrent() GLContexter { var _cret *C.GdkGLContext // in @@ -13490,7 +13284,6 @@ func (keymap *Keymap) ConnectStateChanged(f func()) coreglib.SignalHandle { // The function returns the following values: // // - ok: TRUE if Caps Lock is on. -// func (keymap *Keymap) CapsLockState() bool { var _arg0 *C.GdkKeymap // out var _cret C.gboolean // in @@ -13515,7 +13308,6 @@ func (keymap *Keymap) CapsLockState() bool { // // - direction: PANGO_DIRECTION_LTR or PANGO_DIRECTION_RTL if it can determine // the direction. PANGO_DIRECTION_NEUTRAL otherwise. -// func (keymap *Keymap) Direction() pango.Direction { var _arg0 *C.GdkKeymap // out var _cret C.PangoDirection // in @@ -13547,7 +13339,6 @@ func (keymap *Keymap) Direction() pango.Direction { // - keys (optional): return location for array of KeymapKey, or NULL. // - keyvals (optional): return location for array of keyvals, or NULL. // - ok: TRUE if there were any entries. -// func (keymap *Keymap) EntriesForKeycode(hardwareKeycode uint) ([]KeymapKey, []uint, bool) { var _arg0 *C.GdkKeymap // out var _arg1 C.guint // out @@ -13618,7 +13409,6 @@ func (keymap *Keymap) EntriesForKeycode(hardwareKeycode uint) ([]KeymapKey, []ui // // - keys: return location for an array of KeymapKey. // - ok: TRUE if keys were found and returned. -// func (keymap *Keymap) EntriesForKeyval(keyval uint) ([]KeymapKey, bool) { var _arg0 *C.GdkKeymap // out var _arg1 C.guint // out @@ -13673,7 +13463,6 @@ func (keymap *Keymap) EntriesForKeyval(keyval uint) ([]KeymapKey, bool) { // The function returns the following values: // // - modifierType: modifier mask used for intent. -// func (keymap *Keymap) ModifierMask(intent ModifierIntent) ModifierType { var _arg0 *C.GdkKeymap // out var _arg1 C.GdkModifierIntent // out @@ -13698,7 +13487,6 @@ func (keymap *Keymap) ModifierMask(intent ModifierIntent) ModifierType { // The function returns the following values: // // - guint: current modifier state. -// func (keymap *Keymap) ModifierState() uint { var _arg0 *C.GdkKeymap // out var _cret C.guint // in @@ -13720,7 +13508,6 @@ func (keymap *Keymap) ModifierState() uint { // The function returns the following values: // // - ok: TRUE if Num Lock is on. -// func (keymap *Keymap) NumLockState() bool { var _arg0 *C.GdkKeymap // out var _cret C.gboolean // in @@ -13744,7 +13531,6 @@ func (keymap *Keymap) NumLockState() bool { // The function returns the following values: // // - ok: TRUE if Scroll Lock is on. -// func (keymap *Keymap) ScrollLockState() bool { var _arg0 *C.GdkKeymap // out var _cret C.gboolean // in @@ -13769,7 +13555,6 @@ func (keymap *Keymap) ScrollLockState() bool { // The function returns the following values: // // - ok: TRUE if there are layouts in both directions, FALSE otherwise. -// func (keymap *Keymap) HaveBidiLayouts() bool { var _arg0 *C.GdkKeymap // out var _cret C.gboolean // in @@ -13800,7 +13585,6 @@ func (keymap *Keymap) HaveBidiLayouts() bool { // The function returns the following values: // // - guint: keyval, or 0 if none was mapped to the given key. -// func (keymap *Keymap) LookupKey(key *KeymapKey) uint { var _arg0 *C.GdkKeymap // out var _arg1 *C.GdkKeymapKey // out @@ -13834,10 +13618,10 @@ func (keymap *Keymap) LookupKey(key *KeymapKey) uint { // the plus symbol is shifted, so when comparing a key press to a plus // accelerator should be masked out. // -// // XXX Don’t do this XXX -// if (keyval == accel_keyval && -// (event->state & ~consumed & ALL_ACCELS_MASK) == (accel_mods & ~consumed)) -// // Accelerator was pressed +// // XXX Don’t do this XXX +// if (keyval == accel_keyval && +// (event->state & ~consumed & ALL_ACCELS_MASK) == (accel_mods & ~consumed)) +// // Accelerator was pressed // // However, this did not work if multi-modifier combinations were used in the // keymap, since, for instance, would be masked out even if only @@ -13862,7 +13646,6 @@ func (keymap *Keymap) LookupKey(key *KeymapKey) uint { // - consumedModifiers (optional): return location for modifiers that were // used to determine the group or level, or NULL. // - ok: TRUE if there was a keyval bound to the keycode/state/group. -// func (keymap *Keymap) TranslateKeyboardState(hardwareKeycode uint, state ModifierType, group int) (keyval uint, effectiveGroup, level int, consumedModifiers ModifierType, ok bool) { var _arg0 *C.GdkKeymap // out var _arg1 C.guint // out @@ -13909,7 +13692,6 @@ func (keymap *Keymap) TranslateKeyboardState(hardwareKeycode uint, state Modifie // The function returns the following values: // // - keymap attached to the default display. -// func KeymapGetDefault() *Keymap { var _cret *C.GdkKeymap // in @@ -13931,7 +13713,6 @@ func KeymapGetDefault() *Keymap { // The function returns the following values: // // - keymap attached to display. -// func KeymapGetForDisplay(display *Display) *Keymap { var _arg1 *C.GdkDisplay // out var _cret *C.GdkKeymap // in @@ -13984,7 +13765,6 @@ func (monitor *Monitor) ConnectInvalidate(f func()) coreglib.SignalHandle { // The function returns the following values: // // - display: display. -// func (monitor *Monitor) Display() *Display { var _arg0 *C.GdkMonitor // out var _cret *C.GdkDisplay // in @@ -14008,7 +13788,6 @@ func (monitor *Monitor) Display() *Display { // The function returns the following values: // // - geometry to be filled with the monitor geometry. -// func (monitor *Monitor) Geometry() *Rectangle { var _arg0 *C.GdkMonitor // out var _arg1 C.GdkRectangle // in @@ -14030,7 +13809,6 @@ func (monitor *Monitor) Geometry() *Rectangle { // The function returns the following values: // // - gint: physical height of the monitor. -// func (monitor *Monitor) HeightMm() int { var _arg0 *C.GdkMonitor // out var _cret C.int // in @@ -14057,7 +13835,6 @@ func (monitor *Monitor) HeightMm() int { // The function returns the following values: // // - utf8 (optional): name of the manufacturer, or NULL. -// func (monitor *Monitor) Manufacturer() string { var _arg0 *C.GdkMonitor // out var _cret *C.char // in @@ -14081,7 +13858,6 @@ func (monitor *Monitor) Manufacturer() string { // The function returns the following values: // // - utf8 (optional): monitor model, or NULL. -// func (monitor *Monitor) Model() string { var _arg0 *C.GdkMonitor // out var _cret *C.char // in @@ -14107,7 +13883,6 @@ func (monitor *Monitor) Model() string { // The function returns the following values: // // - gint: refresh rate in milli-Hertz, or 0. -// func (monitor *Monitor) RefreshRate() int { var _arg0 *C.GdkMonitor // out var _cret C.int // in @@ -14135,7 +13910,6 @@ func (monitor *Monitor) RefreshRate() int { // The function returns the following values: // // - gint: scale factor. -// func (monitor *Monitor) ScaleFactor() int { var _arg0 *C.GdkMonitor // out var _cret C.int // in @@ -14158,7 +13932,6 @@ func (monitor *Monitor) ScaleFactor() int { // The function returns the following values: // // - subpixelLayout: subpixel layout. -// func (monitor *Monitor) SubpixelLayout() SubpixelLayout { var _arg0 *C.GdkMonitor // out var _cret C.GdkSubpixelLayout // in @@ -14180,7 +13953,6 @@ func (monitor *Monitor) SubpixelLayout() SubpixelLayout { // The function returns the following values: // // - gint: physical width of the monitor. -// func (monitor *Monitor) WidthMm() int { var _arg0 *C.GdkMonitor // out var _cret C.int // in @@ -14211,7 +13983,6 @@ func (monitor *Monitor) WidthMm() int { // The function returns the following values: // // - workarea to be filled with the monitor workarea. -// func (monitor *Monitor) Workarea() *Rectangle { var _arg0 *C.GdkMonitor // out var _arg1 C.GdkRectangle // in @@ -14234,7 +14005,6 @@ func (monitor *Monitor) Workarea() *Rectangle { // The function returns the following values: // // - ok: TRUE if monitor is primary. -// func (monitor *Monitor) IsPrimary() bool { var _arg0 *C.GdkMonitor // out var _cret C.gboolean // in @@ -14322,7 +14092,6 @@ func (screen *Screen) ConnectSizeChanged(f func()) coreglib.SignalHandle { // The function returns the following values: // // - window (optional): currently active window, or NULL. -// func (screen *Screen) ActiveWindow() Windower { var _arg0 *C.GdkScreen // out var _cret *C.GdkWindow // in @@ -14359,7 +14128,6 @@ func (screen *Screen) ActiveWindow() Windower { // The function returns the following values: // // - display to which screen belongs. -// func (screen *Screen) Display() *Display { var _arg0 *C.GdkScreen // out var _cret *C.GdkDisplay // in @@ -14383,7 +14151,6 @@ func (screen *Screen) Display() *Display { // // - fontOptions (optional): current font options, or NULL if no default font // options have been set. -// func (screen *Screen) FontOptions() *cairo.FontOptions { var _arg0 *C.GdkScreen // out var _cret *C.cairo_font_options_t // in @@ -14411,7 +14178,6 @@ func (screen *Screen) FontOptions() *cairo.FontOptions { // The function returns the following values: // // - gint: height of screen in pixels. -// func (screen *Screen) Height() int { var _arg0 *C.GdkScreen // out var _cret C.gint // in @@ -14439,7 +14205,6 @@ func (screen *Screen) Height() int { // The function returns the following values: // // - gint: heigth of screen in millimeters. -// func (screen *Screen) HeightMm() int { var _arg0 *C.GdkScreen // out var _cret C.gint // in @@ -14470,7 +14235,6 @@ func (screen *Screen) HeightMm() int { // // - gint: monitor number in which the point (x,y) lies, or a monitor close to // (x,y) if the point is not in any monitor. -// func (screen *Screen) MonitorAtPoint(x, y int) int { var _arg0 *C.GdkScreen // out var _arg1 C.gint // out @@ -14506,7 +14270,6 @@ func (screen *Screen) MonitorAtPoint(x, y int) int { // // - gint: monitor number in which most of window is located, or if window // does not intersect any monitors, a monitor, close to window. -// func (screen *Screen) MonitorAtWindow(window Windower) int { var _arg0 *C.GdkScreen // out var _arg1 *C.GdkWindow // out @@ -14546,7 +14309,6 @@ func (screen *Screen) MonitorAtWindow(window Windower) int { // The function returns the following values: // // - dest (optional) to be filled with the monitor geometry. -// func (screen *Screen) MonitorGeometry(monitorNum int) *Rectangle { var _arg0 *C.GdkScreen // out var _arg1 C.gint // out @@ -14578,7 +14340,6 @@ func (screen *Screen) MonitorGeometry(monitorNum int) *Rectangle { // The function returns the following values: // // - gint: height of the monitor, or -1 if not available. -// func (screen *Screen) MonitorHeightMm(monitorNum int) int { var _arg0 *C.GdkScreen // out var _arg1 C.gint // out @@ -14613,7 +14374,6 @@ func (screen *Screen) MonitorHeightMm(monitorNum int) int { // // - utf8 (optional): newly-allocated string containing the name of the // monitor, or NULL if the name cannot be determined. -// func (screen *Screen) MonitorPlugName(monitorNum int) string { var _arg0 *C.GdkScreen // out var _arg1 C.gint // out @@ -14654,7 +14414,6 @@ func (screen *Screen) MonitorPlugName(monitorNum int) string { // The function returns the following values: // // - gint: scale factor. -// func (screen *Screen) MonitorScaleFactor(monitorNum int) int { var _arg0 *C.GdkScreen // out var _arg1 C.gint // out @@ -14687,7 +14446,6 @@ func (screen *Screen) MonitorScaleFactor(monitorNum int) int { // The function returns the following values: // // - gint: width of the monitor, or -1 if not available. -// func (screen *Screen) MonitorWidthMm(monitorNum int) int { var _arg0 *C.GdkScreen // out var _arg1 C.gint // out @@ -14731,7 +14489,6 @@ func (screen *Screen) MonitorWidthMm(monitorNum int) int { // The function returns the following values: // // - dest (optional) to be filled with the monitor workarea. -// func (screen *Screen) MonitorWorkarea(monitorNum int) *Rectangle { var _arg0 *C.GdkScreen // out var _arg1 C.gint // out @@ -14758,7 +14515,6 @@ func (screen *Screen) MonitorWorkarea(monitorNum int) *Rectangle { // The function returns the following values: // // - gint: number of monitors which screen consists of. -// func (screen *Screen) NMonitors() int { var _arg0 *C.GdkScreen // out var _cret C.gint // in @@ -14783,7 +14539,6 @@ func (screen *Screen) NMonitors() int { // The function returns the following values: // // - gint: index. -// func (screen *Screen) Number() int { var _arg0 *C.GdkScreen // out var _cret C.gint // in @@ -14814,7 +14569,6 @@ func (screen *Screen) Number() int { // The function returns the following values: // // - gint: integer index for the primary monitor, or 0 if none is configured. -// func (screen *Screen) PrimaryMonitor() int { var _arg0 *C.GdkScreen // out var _cret C.gint // in @@ -14837,7 +14591,6 @@ func (screen *Screen) PrimaryMonitor() int { // The function returns the following values: // // - gdouble: current resolution, or -1 if no resolution has been set. -// func (screen *Screen) Resolution() float64 { var _arg0 *C.GdkScreen // out var _cret C.gdouble // in @@ -14871,7 +14624,6 @@ func (screen *Screen) Resolution() float64 { // // - visual (optional) to use for windows with an alpha channel or NULL if the // capability is not available. -// func (screen *Screen) RGBAVisual() *Visual { var _arg0 *C.GdkScreen // out var _cret *C.GdkVisual // in @@ -14895,7 +14647,6 @@ func (screen *Screen) RGBAVisual() *Visual { // The function returns the following values: // // - window: root window. -// func (screen *Screen) RootWindow() Windower { var _arg0 *C.GdkScreen // out var _cret *C.GdkWindow // in @@ -14942,7 +14693,6 @@ func (screen *Screen) RootWindow() Windower { // // - ok: TRUE if the setting existed and a value was stored in value, FALSE // otherwise. -// func (screen *Screen) Setting(name string, value *coreglib.Value) bool { var _arg0 *C.GdkScreen // out var _arg1 *C.gchar // out @@ -14974,7 +14724,6 @@ func (screen *Screen) Setting(name string, value *coreglib.Value) bool { // The function returns the following values: // // - visual: system visual. -// func (screen *Screen) SystemVisual() *Visual { var _arg0 *C.GdkScreen // out var _cret *C.GdkVisual // in @@ -15001,7 +14750,6 @@ func (screen *Screen) SystemVisual() *Visual { // The function returns the following values: // // - list: list of toplevel windows, free with g_list_free(). -// func (screen *Screen) ToplevelWindows() []Windower { var _arg0 *C.GdkScreen // out var _cret *C.GList // in @@ -15049,7 +14797,6 @@ func (screen *Screen) ToplevelWindows() []Windower { // The function returns the following values: // // - gint: width of screen in pixels. -// func (screen *Screen) Width() int { var _arg0 *C.GdkScreen // out var _cret C.gint // in @@ -15077,7 +14824,6 @@ func (screen *Screen) Width() int { // The function returns the following values: // // - gint: width of screen in millimeters. -// func (screen *Screen) WidthMm() int { var _arg0 *C.GdkScreen // out var _cret C.gint // in @@ -15112,7 +14858,6 @@ func (screen *Screen) WidthMm() int { // The function returns the following values: // // - list (optional): a list of Windows for the current window stack, or NULL. -// func (screen *Screen) WindowStack() []Windower { var _arg0 *C.GdkScreen // out var _cret *C.GList // in @@ -15163,7 +14908,6 @@ func (screen *Screen) WindowStack() []Windower { // // - ok: whether windows with RGBA visuals can reasonably be expected to have // their alpha channels drawn correctly on the screen. -// func (screen *Screen) IsComposited() bool { var _arg0 *C.GdkScreen // out var _cret C.gboolean // in @@ -15192,7 +14936,6 @@ func (screen *Screen) IsComposited() bool { // The function returns the following values: // // - list: a list of visuals; the list must be freed, but not its contents. -// func (screen *Screen) ListVisuals() []*Visual { var _arg0 *C.GdkScreen // out var _cret *C.GList // in @@ -15223,7 +14966,6 @@ func (screen *Screen) ListVisuals() []*Visual { // The function returns the following values: // // - utf8: newly allocated string, free with g_free(). -// func (screen *Screen) MakeDisplayName() string { var _arg0 *C.GdkScreen // out var _cret *C.gchar // in @@ -15250,7 +14992,6 @@ func (screen *Screen) MakeDisplayName() string { // // - options (optional) or NULL to unset any previously set default font // options. -// func (screen *Screen) SetFontOptions(options *cairo.FontOptions) { var _arg0 *C.GdkScreen // out var _arg1 *C.cairo_font_options_t // out @@ -15274,7 +15015,6 @@ func (screen *Screen) SetFontOptions(options *cairo.FontOptions) { // // - dpi: resolution in “dots per inch”. (Physical inches aren’t actually // involved; the terminology is conventional.). -// func (screen *Screen) SetResolution(dpi float64) { var _arg0 *C.GdkScreen // out var _arg1 C.gdouble // out @@ -15293,7 +15033,6 @@ func (screen *Screen) SetResolution(dpi float64) { // The function returns the following values: // // - screen (optional) or NULL if there is no default display. -// func ScreenGetDefault() *Screen { var _cret *C.GdkScreen // in @@ -15317,7 +15056,6 @@ func ScreenGetDefault() *Screen { // The function returns the following values: // // - gint: height of the default screen in pixels. -// func ScreenHeight() int { var _cret C.gint // in @@ -15339,7 +15077,6 @@ func ScreenHeight() int { // // - gint: height of the default screen in millimeters, though it is not // always correct. -// func ScreenHeightMm() int { var _cret C.gint // in @@ -15361,7 +15098,6 @@ func ScreenHeightMm() int { // The function returns the following values: // // - gint: width of the default screen in pixels. -// func ScreenWidth() int { var _cret C.gint // in @@ -15383,7 +15119,6 @@ func ScreenWidth() int { // // - gint: width of the default screen in millimeters, though it is not always // correct. -// func ScreenWidthMm() int { var _cret C.gint // in @@ -15468,7 +15203,6 @@ func (seat *Seat) ConnectToolRemoved(f func(tool *DeviceTool)) coreglib.SignalHa // The function returns the following values: // // - seatCapabilities: seat capabilities. -// func (seat *Seat) Capabilities() SeatCapabilities { var _arg0 *C.GdkSeat // out var _cret C.GdkSeatCapabilities // in @@ -15490,7 +15224,6 @@ func (seat *Seat) Capabilities() SeatCapabilities { // The function returns the following values: // // - display This object is owned by GTK+ and must not be freed. -// func (seat *Seat) Display() *Display { var _arg0 *C.GdkSeat // out var _cret *C.GdkDisplay // in @@ -15513,7 +15246,6 @@ func (seat *Seat) Display() *Display { // // - device (optional): master Device with keyboard capabilities. This object // is owned by GTK+ and must not be freed. -// func (seat *Seat) Keyboard() Devicer { var _arg0 *C.GdkSeat // out var _cret *C.GdkDevice // in @@ -15551,7 +15283,6 @@ func (seat *Seat) Keyboard() Devicer { // // - device (optional): master Device with pointer capabilities. This object // is owned by GTK+ and must not be freed. -// func (seat *Seat) Pointer() Devicer { var _arg0 *C.GdkSeat // out var _cret *C.GdkDevice // in @@ -15593,7 +15324,6 @@ func (seat *Seat) Pointer() Devicer { // // - list of Devices. The list must be freed with g_list_free(), the elements // are owned by GDK and must not be freed. -// func (seat *Seat) Slaves(capabilities SeatCapabilities) []Devicer { var _arg0 *C.GdkSeat // out var _arg1 C.GdkSeatCapabilities // out @@ -15680,7 +15410,6 @@ func (seat *Seat) Slaves(capabilities SeatCapabilities) []Devicer { // The function returns the following values: // // - grabStatus: GDK_GRAB_SUCCESS if the grab was successful. -// func (seat *Seat) Grab(window Windower, capabilities SeatCapabilities, ownerEvents bool, cursor Cursorrer, event *Event, prepareFunc SeatGrabPrepareFunc) GrabStatus { var _arg0 *C.GdkSeat // out var _arg1 *C.GdkWindow // out @@ -15767,7 +15496,6 @@ func marshalVisual(p uintptr) (interface{}, error) { // The function returns the following values: // // - gint: number of significant bits per color value for visual. -// func (visual *Visual) BitsPerRGB() int { var _arg0 *C.GdkVisual // out var _cret C.gint // in @@ -15796,7 +15524,6 @@ func (visual *Visual) BitsPerRGB() int { // - mask (optional): pointer to a #guint32 to be filled in, or NULL. // - shift (optional): pointer to a #gint to be filled in, or NULL. // - precision (optional): pointer to a #gint to be filled in, or NULL. -// func (visual *Visual) BluePixelDetails() (mask uint32, shift, precision int) { var _arg0 *C.GdkVisual // out var _arg1 C.guint32 // in @@ -15829,7 +15556,6 @@ func (visual *Visual) BluePixelDetails() (mask uint32, shift, precision int) { // The function returns the following values: // // - byteOrder stating the byte order of visual. -// func (visual *Visual) ByteOrder() ByteOrder { var _arg0 *C.GdkVisual // out var _cret C.GdkByteOrder // in @@ -15856,7 +15582,6 @@ func (visual *Visual) ByteOrder() ByteOrder { // The function returns the following values: // // - gint: size of a colormap that is suitable for visual. -// func (visual *Visual) ColormapSize() int { var _arg0 *C.GdkVisual // out var _cret C.gint // in @@ -15878,7 +15603,6 @@ func (visual *Visual) ColormapSize() int { // The function returns the following values: // // - gint: bit depth of this visual. -// func (visual *Visual) Depth() int { var _arg0 *C.GdkVisual // out var _cret C.gint // in @@ -15907,7 +15631,6 @@ func (visual *Visual) Depth() int { // - mask (optional): pointer to a #guint32 to be filled in, or NULL. // - shift (optional): pointer to a #gint to be filled in, or NULL. // - precision (optional): pointer to a #gint to be filled in, or NULL. -// func (visual *Visual) GreenPixelDetails() (mask uint32, shift, precision int) { var _arg0 *C.GdkVisual // out var _arg1 C.guint32 // in @@ -15941,7 +15664,6 @@ func (visual *Visual) GreenPixelDetails() (mask uint32, shift, precision int) { // - mask (optional): pointer to a #guint32 to be filled in, or NULL. // - shift (optional): pointer to a #gint to be filled in, or NULL. // - precision (optional): pointer to a #gint to be filled in, or NULL. -// func (visual *Visual) RedPixelDetails() (mask uint32, shift, precision int) { var _arg0 *C.GdkVisual // out var _arg1 C.guint32 // in @@ -15969,7 +15691,6 @@ func (visual *Visual) RedPixelDetails() (mask uint32, shift, precision int) { // The function returns the following values: // // - screen to which this visual belongs. -// func (visual *Visual) Screen() *Screen { var _arg0 *C.GdkVisual // out var _cret *C.GdkScreen // in @@ -15991,7 +15712,6 @@ func (visual *Visual) Screen() *Screen { // The function returns the following values: // // - visualType stating the type of visual. -// func (visual *Visual) VisualType() VisualType { var _arg0 *C.GdkVisual // out var _cret C.GdkVisualType // in @@ -16017,7 +15737,6 @@ func (visual *Visual) VisualType() VisualType { // The function returns the following values: // // - visual: best visual. -// func VisualGetBest() *Visual { var _cret *C.GdkVisual // in @@ -16040,7 +15759,6 @@ func VisualGetBest() *Visual { // The function returns the following values: // // - gint: best available depth. -// func VisualGetBestDepth() int { var _cret C.gint // in @@ -16062,7 +15780,6 @@ func VisualGetBestDepth() int { // The function returns the following values: // // - visualType: best visual type. -// func VisualGetBestType() VisualType { var _cret C.GdkVisualType // in @@ -16090,7 +15807,6 @@ func VisualGetBestType() VisualType { // // - visual (optional): best visual with both depth and visual_type, or NULL // if none. -// func VisualGetBestWithBoth(depth int, visualType VisualType) *Visual { var _arg1 C.gint // out var _arg2 C.GdkVisualType // out @@ -16127,7 +15843,6 @@ func VisualGetBestWithBoth(depth int, visualType VisualType) *Visual { // The function returns the following values: // // - visual: best visual for the given depth. -// func VisualGetBestWithDepth(depth int) *Visual { var _arg1 C.gint // out var _cret *C.GdkVisual // in @@ -16159,7 +15874,6 @@ func VisualGetBestWithDepth(depth int) *Visual { // The function returns the following values: // // - visual: best visual of the given type. -// func VisualGetBestWithType(visualType VisualType) *Visual { var _arg1 C.GdkVisualType // out var _cret *C.GdkVisual // in @@ -16185,7 +15899,6 @@ func VisualGetBestWithType(visualType VisualType) *Visual { // The function returns the following values: // // - visual: system visual. -// func VisualGetSystem() *Visual { var _cret *C.GdkVisual // in @@ -16204,7 +15917,6 @@ type WindowOverrides struct { // // - width // - height - // CreateSurface func(width, height int) *cairo.Surface // The function takes the following parameters: // @@ -16212,7 +15924,6 @@ type WindowOverrides struct { // - embedderY // - offscreenX // - offscreenY - // FromEmbedder func(embedderX, embedderY float64, offscreenX, offscreenY *float64) // The function takes the following parameters: // @@ -16220,7 +15931,6 @@ type WindowOverrides struct { // - offscreenY // - embedderX // - embedderY - // ToEmbedder func(offscreenX, offscreenY float64, embedderX, embedderY *float64) } @@ -16349,7 +16059,6 @@ func (window *Window) ConnectPickEmbeddedChild(f func(x, y float64) (window Wind // The function returns the following values: // // - window: new Window. -// func NewWindow(parent Windower, attributes *WindowAttr, attributesMask WindowAttributesType) *Window { var _arg1 *C.GdkWindow // out var _arg2 *C.GdkWindowAttr // out @@ -16420,7 +16129,6 @@ func (window *Window) Beep() { // // - drawingContext context that should be used to draw the contents of the // window; the returned context is owned by GDK. -// func (window *Window) BeginDrawFrame(region *cairo.Region) *DrawingContext { var _arg0 *C.GdkWindow // out var _arg1 *C.cairo_region_t // out @@ -16452,7 +16160,6 @@ func (window *Window) BeginDrawFrame(region *cairo.Region) *DrawingContext { // - rootX: root window X coordinate of mouse click that began the drag. // - rootY: root window Y coordinate of mouse click that began the drag. // - timestamp of mouse click that began the drag. -// func (window *Window) BeginMoveDrag(button, rootX, rootY int, timestamp uint32) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // out @@ -16487,7 +16194,6 @@ func (window *Window) BeginMoveDrag(button, rootX, rootY int, timestamp uint32) // - rootX: root window X coordinate of mouse click that began the drag. // - rootY: root window Y coordinate of mouse click that began the drag. // - timestamp of mouse click that began the drag. -// func (window *Window) BeginMoveDragForDevice(device Devicer, button, rootX, rootY int, timestamp uint32) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkDevice // out @@ -16521,7 +16227,6 @@ func (window *Window) BeginMoveDragForDevice(device Devicer, button, rootX, root // The function takes the following parameters: // // - rectangle you intend to draw to. -// func (window *Window) BeginPaintRect(rectangle *Rectangle) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkRectangle // out @@ -16574,7 +16279,6 @@ func (window *Window) BeginPaintRect(rectangle *Rectangle) { // The function takes the following parameters: // // - region you intend to draw to. -// func (window *Window) BeginPaintRegion(region *cairo.Region) { var _arg0 *C.GdkWindow // out var _arg1 *C.cairo_region_t // out @@ -16600,7 +16304,6 @@ func (window *Window) BeginPaintRegion(region *cairo.Region) { // - rootX: root window X coordinate of mouse click that began the drag. // - rootY: root window Y coordinate of mouse click that began the drag. // - timestamp of mouse click that began the drag (use gdk_event_get_time()). -// func (window *Window) BeginResizeDrag(edge WindowEdge, button, rootX, rootY int, timestamp uint32) { var _arg0 *C.GdkWindow // out var _arg1 C.GdkWindowEdge // out @@ -16640,7 +16343,6 @@ func (window *Window) BeginResizeDrag(edge WindowEdge, button, rootX, rootY int, // - rootX: root window X coordinate of mouse click that began the drag. // - rootY: root window Y coordinate of mouse click that began the drag. // - timestamp of mouse click that began the drag (use gdk_event_get_time()). -// func (window *Window) BeginResizeDragForDevice(edge WindowEdge, device Devicer, button, rootX, rootY int, timestamp uint32) { var _arg0 *C.GdkWindow // out var _arg1 C.GdkWindowEdge // out @@ -16707,7 +16409,6 @@ func (window *Window) ConfigureFinished() { // system. // - y (optional): return location for Y coordinate in child’s coordinate // system. -// func (window *Window) CoordsFromParent(parentX, parentY float64) (x, y float64) { var _arg0 *C.GdkWindow // out var _arg1 C.gdouble // out @@ -16759,7 +16460,6 @@ func (window *Window) CoordsFromParent(parentX, parentY float64) (x, y float64) // coordinate system, or NULL. // - parentY (optional): return location for Y coordinate in parent’s // coordinate system, or NULL. -// func (window *Window) CoordsToParent(x, y float64) (parentX, parentY float64) { var _arg0 *C.GdkWindow // out var _arg1 C.gdouble // out @@ -16797,7 +16497,6 @@ func (window *Window) CoordsToParent(x, y float64) (parentX, parentY float64) { // The function returns the following values: // // - glContext: newly created GLContext, or NULL on error. -// func (window *Window) CreateGLContext() (GLContexter, error) { var _arg0 *C.GdkWindow // out var _cret *C.GdkGLContext // in @@ -16846,16 +16545,16 @@ func (window *Window) CreateGLContext() (GLContexter, error) { // surface in device pixels. If you wish to create an image surface capable of // holding the contents of window you can use: // -// int scale = gdk_window_get_scale_factor (window); -// int width = gdk_window_get_width (window) * scale; -// int height = gdk_window_get_height (window) * scale; +// int scale = gdk_window_get_scale_factor (window); +// int width = gdk_window_get_width (window) * scale; +// int height = gdk_window_get_height (window) * scale; // -// // format is set elsewhere -// cairo_surface_t *surface = -// gdk_window_create_similar_image_surface (window, -// format, -// width, height, -// scale); +// // format is set elsewhere +// cairo_surface_t *surface = +// gdk_window_create_similar_image_surface (window, +// format, +// width, height, +// scale); // // Note that unlike cairo_surface_create_similar_image(), the new surface's // device scale is set to scale, or to the scale factor of window if scale is 0. @@ -16875,7 +16574,6 @@ func (window *Window) CreateGLContext() (GLContexter, error) { // This function always returns a valid pointer, but it will return a // pointer to a “nil” surface if other is already in an error state or any // other error occurs. -// func (window *Window) CreateSimilarImageSurface(format cairo.Format, width, height, scale int) *cairo.Surface { var _arg0 *C.GdkWindow // out var _arg1 C.cairo_format_t // out @@ -16933,7 +16631,6 @@ func (window *Window) CreateSimilarImageSurface(format cairo.Format, width, heig // This function always returns a valid pointer, but it will return a // pointer to a “nil” surface if other is already in an error state or any // other error occurs. -// func (window *Window) CreateSimilarSurface(content cairo.Content, width, height int) *cairo.Surface { var _arg0 *C.GdkWindow // out var _arg1 C.cairo_content_t // out @@ -17015,7 +16712,6 @@ func (window *Window) EnableSynchronizedConfigure() { // The function takes the following parameters: // // - context created by gdk_window_begin_draw_frame(). -// func (window *Window) EndDrawFrame(context *DrawingContext) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkDrawingContext // out @@ -17054,7 +16750,6 @@ func (window *Window) EndPaint() { // The function returns the following values: // // - ok: TRUE if the window has a native window, FALSE otherwise. -// func (window *Window) EnsureNative() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -17092,7 +16787,6 @@ func (window *Window) Flush() { // The function takes the following parameters: // // - timestamp of the event triggering the window focus. -// func (window *Window) Focus(timestamp uint32) { var _arg0 *C.GdkWindow // out var _arg1 C.guint32 // out @@ -17168,7 +16862,6 @@ func (window *Window) Fullscreen() { // The function takes the following parameters: // // - monitor: which monitor to display fullscreen on. -// func (window *Window) FullscreenOnMonitor(monitor int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // out @@ -17199,7 +16892,6 @@ func (window *Window) GeometryChanged() { // The function returns the following values: // // - ok: whether or not the window should receive input focus. -// func (window *Window) AcceptFocus() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -17226,7 +16918,6 @@ func (window *Window) AcceptFocus() bool { // // - pattern (optional) to use for the background or NULL if there is no // background. -// func (window *Window) BackgroundPattern() *cairo.Pattern { var _arg0 *C.GdkWindow // out var _cret *C.cairo_pattern_t // in @@ -17261,7 +16952,6 @@ func (window *Window) BackgroundPattern() *cairo.Pattern { // The function returns the following values: // // - list: list of child windows inside window. -// func (window *Window) Children() []Windower { var _arg0 *C.GdkWindow // out var _cret *C.GList // in @@ -17315,7 +17005,6 @@ func (window *Window) Children() []Windower { // The function returns the following values: // // - list: list of child windows inside window. -// func (window *Window) ChildrenWithUserData(userData unsafe.Pointer) []Windower { var _arg0 *C.GdkWindow // out var _arg1 C.gpointer // out @@ -17365,7 +17054,6 @@ func (window *Window) ChildrenWithUserData(userData unsafe.Pointer) []Windower { // The function returns the following values: // // - region This must be freed with cairo_region_destroy() when you are done. -// func (window *Window) ClipRegion() *cairo.Region { var _arg0 *C.GdkWindow // out var _cret *C.cairo_region_t // in @@ -17398,7 +17086,6 @@ func (window *Window) ClipRegion() *cairo.Region { // The function returns the following values: // // - ok: TRUE if the window is composited. -// func (window *Window) Composited() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -17427,7 +17114,6 @@ func (window *Window) Composited() bool { // - cursor (optional) or NULL. The returned object is owned by the Window and // should not be unreferenced directly. Use gdk_window_set_cursor() to unset // the cursor of the window. -// func (window *Window) Cursor() Cursorrer { var _arg0 *C.GdkWindow // out var _cret *C.GdkCursor // in @@ -17466,7 +17152,6 @@ func (window *Window) Cursor() Cursorrer { // // - decorations: window decorations will be written here. // - ok: TRUE if the window has decorations set, FALSE otherwise. -// func (window *Window) Decorations() (WMDecoration, bool) { var _arg0 *C.GdkWindow // out var _arg1 C.GdkWMDecoration // in @@ -17502,7 +17187,6 @@ func (window *Window) Decorations() (WMDecoration, bool) { // - cursor (optional) or NULL. The returned object is owned by the Window and // should not be unreferenced directly. Use gdk_window_set_cursor() to unset // the cursor of the window. -// func (window *Window) DeviceCursor(device Devicer) Cursorrer { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkDevice // out @@ -17547,7 +17231,6 @@ func (window *Window) DeviceCursor(device Devicer) Cursorrer { // The function returns the following values: // // - eventMask: device event mask for window. -// func (window *Window) DeviceEvents(device Devicer) EventMask { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkDevice // out @@ -17584,7 +17267,6 @@ func (window *Window) DeviceEvents(device Devicer) EventMask { // - ret (optional): window underneath device (as with // gdk_device_get_window_at_position()), or NULL if the window is not known // to GDK. -// func (window *Window) DevicePosition(device Devicer) (x, y int, mask ModifierType, ret Windower) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkDevice // out @@ -17644,7 +17326,6 @@ func (window *Window) DevicePosition(device Devicer) (x, y int, mask ModifierTyp // - ret (optional): window underneath device (as with // gdk_device_get_window_at_position()), or NULL if the window is not known // to GDK. -// func (window *Window) DevicePositionDouble(device Devicer) (x, y float64, mask ModifierType, ret Windower) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkDevice // out @@ -17693,7 +17374,6 @@ func (window *Window) DevicePositionDouble(device Devicer) (x, y float64, mask M // The function returns the following values: // // - display associated with window. -// func (window *Window) Display() *Display { var _arg0 *C.GdkWindow // out var _cret *C.GdkDisplay // in @@ -17718,7 +17398,6 @@ func (window *Window) Display() *Display { // This may be window or a proxy window, or NULL if window does not support // Drag and Drop. // - dragProtocol: supported DND protocol. -// func (window *Window) DragProtocol() (Windower, DragProtocol) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkWindow // in @@ -17762,7 +17441,6 @@ func (window *Window) DragProtocol() (Windower, DragProtocol) { // The function returns the following values: // // - ret: effective parent of window. -// func (window *Window) EffectiveParent() Windower { var _arg0 *C.GdkWindow // out var _cret *C.GdkWindow // in @@ -17805,7 +17483,6 @@ func (window *Window) EffectiveParent() Windower { // The function returns the following values: // // - ret: effective toplevel window containing window. -// func (window *Window) EffectiveToplevel() Windower { var _arg0 *C.GdkWindow // out var _cret *C.GdkWindow // in @@ -17843,7 +17520,6 @@ func (window *Window) EffectiveToplevel() Windower { // The function returns the following values: // // - ok: TRUE if motion events will be compressed. -// func (window *Window) EventCompression() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -17868,7 +17544,6 @@ func (window *Window) EventCompression() bool { // The function returns the following values: // // - eventMask: event mask for window. -// func (window *Window) Events() EventMask { var _arg0 *C.GdkWindow // out var _cret C.GdkEventMask // in @@ -17892,7 +17567,6 @@ func (window *Window) Events() EventMask { // // - ok: whether or not the window wants to receive input focus when it is // mapped. -// func (window *Window) FocusOnMap() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -17917,7 +17591,6 @@ func (window *Window) FocusOnMap() bool { // The function returns the following values: // // - frameClock: frame clock. -// func (window *Window) FrameClock() FrameClocker { var _arg0 *C.GdkWindow // out var _cret *C.GdkFrameClock // in @@ -17958,7 +17631,6 @@ func (window *Window) FrameClock() FrameClocker { // The function returns the following values: // // - rect: rectangle to fill with bounding box of the window frame. -// func (window *Window) FrameExtents() *Rectangle { var _arg0 *C.GdkWindow // out var _arg1 C.GdkRectangle // in @@ -17980,7 +17652,6 @@ func (window *Window) FrameExtents() *Rectangle { // The function returns the following values: // // - fullscreenMode applied to the window when fullscreen. -// func (window *Window) FullscreenMode() FullscreenMode { var _arg0 *C.GdkWindow // out var _cret C.GdkFullscreenMode // in @@ -18025,7 +17696,6 @@ func (window *Window) FullscreenMode() FullscreenMode { // parent). // - width (optional): return location for width of window. // - height (optional): return location for height of window. -// func (window *Window) Geometry() (x, y, width, height int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // in @@ -18056,7 +17726,6 @@ func (window *Window) Geometry() (x, y, width, height int) { // The function returns the following values: // // - ret: group leader window for window. -// func (window *Window) Group() Windower { var _arg0 *C.GdkWindow // out var _cret *C.GdkWindow // in @@ -18098,7 +17767,6 @@ func (window *Window) Group() Windower { // The function returns the following values: // // - gint: height of window. -// func (window *Window) Height() int { var _arg0 *C.GdkWindow // out var _cret C.int // in @@ -18121,7 +17789,6 @@ func (window *Window) Height() int { // The function returns the following values: // // - ok: whether or not the window has the modal hint set. -// func (window *Window) ModalHint() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -18149,7 +17816,6 @@ func (window *Window) ModalHint() bool { // - x (optional): return location for X coordinate. // - y (optional): return location for Y coordinate. // - gint: not meaningful, ignore. -// func (window *Window) Origin() (x, y, gint int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // in @@ -18186,7 +17852,6 @@ func (window *Window) Origin() (x, y, gint int) { // The function returns the following values: // // - ret: parent of window. -// func (window *Window) Parent() Windower { var _arg0 *C.GdkWindow // out var _cret *C.GdkWindow // in @@ -18257,7 +17922,6 @@ func (window *Window) PassThrough() bool { // - ret (optional): window containing the pointer (as with // gdk_window_at_pointer()), or NULL if the window containing the pointer // isn’t known to GDK. -// func (window *Window) Pointer() (x, y int, mask ModifierType, ret Windower) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // in @@ -18309,7 +17973,6 @@ func (window *Window) Pointer() (x, y int, mask ModifierType, ret Windower) { // // - x (optional): x coordinate of window. // - y (optional): y coordinate of window. -// func (window *Window) Position() (x, y int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // in @@ -18342,7 +18005,6 @@ func (window *Window) Position() (x, y int) { // // - rootX: return location for X coordinate. // - rootY: return location for Y coordinate. -// func (window *Window) RootCoords(x, y int) (rootX, rootY int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // out @@ -18375,7 +18037,6 @@ func (window *Window) RootCoords(x, y int) (rootX, rootY int) { // // - x: return location for X position of window frame. // - y: return location for Y position of window frame. -// func (window *Window) RootOrigin() (x, y int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // in @@ -18410,7 +18071,6 @@ func (window *Window) RootOrigin() (x, y int) { // The function returns the following values: // // - gint: scale factor. -// func (window *Window) ScaleFactor() int { var _arg0 *C.GdkWindow // out var _cret C.gint // in @@ -18432,7 +18092,6 @@ func (window *Window) ScaleFactor() int { // The function returns the following values: // // - screen associated with window. -// func (window *Window) Screen() *Screen { var _arg0 *C.GdkWindow // out var _cret *C.GdkScreen // in @@ -18459,7 +18118,6 @@ func (window *Window) Screen() *Screen { // The function returns the following values: // // - eventMask: source event mask for window. -// func (window *Window) SourceEvents(source InputSource) EventMask { var _arg0 *C.GdkWindow // out var _arg1 C.GdkInputSource // out @@ -18485,7 +18143,6 @@ func (window *Window) SourceEvents(source InputSource) EventMask { // The function returns the following values: // // - windowState: window state bitfield. -// func (window *Window) State() WindowState { var _arg0 *C.GdkWindow // out var _cret C.GdkWindowState // in @@ -18508,7 +18165,6 @@ func (window *Window) State() WindowState { // The function returns the following values: // // - ok: TRUE if the window handles multidevice features. -// func (window *Window) SupportMultidevice() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -18540,7 +18196,6 @@ func (window *Window) SupportMultidevice() bool { // The function returns the following values: // // - ret: toplevel window containing window. -// func (window *Window) Toplevel() Windower { var _arg0 *C.GdkWindow // out var _cret *C.GdkWindow // in @@ -18578,7 +18233,6 @@ func (window *Window) Toplevel() Windower { // The function returns the following values: // // - windowTypeHint: type hint set for window. -// func (window *Window) TypeHint() WindowTypeHint { var _arg0 *C.GdkWindow // out var _cret C.GdkWindowTypeHint // in @@ -18605,7 +18259,6 @@ func (window *Window) TypeHint() WindowTypeHint { // The function returns the following values: // // - region: update area for window. -// func (window *Window) UpdateArea() *cairo.Region { var _arg0 *C.GdkWindow // out var _cret *C.cairo_region_t // in @@ -18634,7 +18287,6 @@ func (window *Window) UpdateArea() *cairo.Region { // The function returns the following values: // // - data (optional): return location for user data. -// func (window *Window) UserData() unsafe.Pointer { var _arg0 *C.GdkWindow // out var _arg1 C.gpointer // in @@ -18658,7 +18310,6 @@ func (window *Window) UserData() unsafe.Pointer { // The function returns the following values: // // - region This must be freed with cairo_region_destroy() when you are done. -// func (window *Window) VisibleRegion() *cairo.Region { var _arg0 *C.GdkWindow // out var _cret *C.cairo_region_t // in @@ -18686,7 +18337,6 @@ func (window *Window) VisibleRegion() *cairo.Region { // The function returns the following values: // // - visual: Visual. -// func (window *Window) Visual() *Visual { var _arg0 *C.GdkWindow // out var _cret *C.GdkVisual // in @@ -18712,7 +18362,6 @@ func (window *Window) Visual() *Visual { // The function returns the following values: // // - gint: width of window. -// func (window *Window) Width() int { var _arg0 *C.GdkWindow // out var _cret C.int // in @@ -18734,7 +18383,6 @@ func (window *Window) Width() int { // The function returns the following values: // // - windowType: type of window. -// func (window *Window) WindowType() WindowType { var _arg0 *C.GdkWindow // out var _cret C.GdkWindowType // in @@ -18757,7 +18405,6 @@ func (window *Window) WindowType() WindowType { // The function returns the following values: // // - ok: TRUE if the window has a native window, FALSE otherwise. -// func (window *Window) HasNative() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -18821,7 +18468,6 @@ func (window *Window) Iconify() { // - shapeRegion: region of window to be non-transparent. // - offsetX: x position of shape_region in window coordinates. // - offsetY: y position of shape_region in window coordinates. -// func (window *Window) InputShapeCombineRegion(shapeRegion *cairo.Region, offsetX, offsetY int) { var _arg0 *C.GdkWindow // out var _arg1 *C.cairo_region_t // out @@ -18860,7 +18506,6 @@ func (window *Window) InputShapeCombineRegion(shapeRegion *cairo.Region, offsetX // - region: #cairo_region_t. // - childFunc (optional): function to use to decide if to recurse to a child, // NULL means never recurse. -// func (window *Window) InvalidateMaybeRecurse(region *cairo.Region, childFunc WindowChildFunc) { var _arg0 *C.GdkWindow // out var _arg1 *C.cairo_region_t // out @@ -18890,7 +18535,6 @@ func (window *Window) InvalidateMaybeRecurse(region *cairo.Region, childFunc Win // - rect (optional): rectangle to invalidate or NULL to invalidate the whole // window. // - invalidateChildren: whether to also invalidate child windows. -// func (window *Window) InvalidateRect(rect *Rectangle, invalidateChildren bool) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkRectangle // out @@ -18931,7 +18575,6 @@ func (window *Window) InvalidateRect(rect *Rectangle, invalidateChildren bool) { // // - region: #cairo_region_t. // - invalidateChildren: TRUE to also invalidate child windows. -// func (window *Window) InvalidateRegion(region *cairo.Region, invalidateChildren bool) { var _arg0 *C.GdkWindow // out var _arg1 *C.cairo_region_t // out @@ -18954,7 +18597,6 @@ func (window *Window) InvalidateRegion(region *cairo.Region, invalidateChildren // The function returns the following values: // // - ok: TRUE if the window is destroyed. -// func (window *Window) IsDestroyed() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -18978,7 +18620,6 @@ func (window *Window) IsDestroyed() bool { // The function returns the following values: // // - ok: TRUE if window is input only. -// func (window *Window) IsInputOnly() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -19002,7 +18643,6 @@ func (window *Window) IsInputOnly() bool { // The function returns the following values: // // - ok: TRUE if window is shaped. -// func (window *Window) IsShaped() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -19028,7 +18668,6 @@ func (window *Window) IsShaped() bool { // The function returns the following values: // // - ok: TRUE if the window is viewable. -// func (window *Window) IsViewable() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -19053,7 +18692,6 @@ func (window *Window) IsViewable() bool { // The function returns the following values: // // - ok: TRUE if the window is mapped. -// func (window *Window) IsVisible() bool { var _arg0 *C.GdkWindow // out var _cret C.gboolean // in @@ -19104,7 +18742,6 @@ func (window *Window) Lower() { // The function takes the following parameters: // // - cr: #cairo_t. -// func (window *Window) MarkPaintFromClip(cr *cairo.Context) { var _arg0 *C.GdkWindow // out var _arg1 *C.cairo_t // out @@ -19179,7 +18816,6 @@ func (window *Window) MergeChildShapes() { // // - x: x coordinate relative to window’s parent. // - y: y coordinate relative to window’s parent. -// func (window *Window) Move(x, y int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // out @@ -19206,7 +18842,6 @@ func (window *Window) Move(x, y int) { // - region to move. // - dx: amount to move in the X direction. // - dy: amount to move in the Y direction. -// func (window *Window) MoveRegion(region *cairo.Region, dx, dy int) { var _arg0 *C.GdkWindow // out var _arg1 *C.cairo_region_t // out @@ -19236,7 +18871,6 @@ func (window *Window) MoveRegion(region *cairo.Region, dx, dy int) { // - y: new Y position relative to window’s parent. // - width: new width. // - height: new height. -// func (window *Window) MoveResize(x, y, width, height int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // out @@ -19283,7 +18917,6 @@ func (window *Window) MoveResize(x, y, width, height int) { // - rectAnchorDx: horizontal offset to shift window, i.e. rect's anchor // point. // - rectAnchorDy: vertical offset to shift window, i.e. rect's anchor point. -// func (window *Window) MoveToRect(rect *Rectangle, rectAnchor, windowAnchor Gravity, anchorHints AnchorHints, rectAnchorDx, rectAnchorDy int) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkRectangle // out @@ -19317,7 +18950,6 @@ func (window *Window) MoveToRect(rect *Rectangle, rectAnchor, windowAnchor Gravi // The function returns the following values: // // - list: a reference to the list of child windows in window. -// func (window *Window) PeekChildren() []Windower { var _arg0 *C.GdkWindow // out var _cret *C.GList // in @@ -19370,7 +19002,6 @@ func (window *Window) PeekChildren() []Windower { // The function takes the following parameters: // // - updateChildren: whether to also process updates for child windows. -// func (window *Window) ProcessUpdates(updateChildren bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -19419,7 +19050,6 @@ func (window *Window) RegisterDND() { // - newParent: new parent to move window into. // - x: x location inside the new parent. // - y: y location inside the new parent. -// func (window *Window) Reparent(newParent Windower, x, y int) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkWindow // out @@ -19451,7 +19081,6 @@ func (window *Window) Reparent(newParent Windower, x, y int) { // // - width: new width of the window. // - height: new height of the window. -// func (window *Window) Resize(width, height int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // out @@ -19482,7 +19111,6 @@ func (window *Window) Resize(width, height int) { // // - sibling (optional) that is a sibling of window, or NULL. // - above: boolean. -// func (window *Window) Restack(sibling Windower, above bool) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkWindow // out @@ -19516,7 +19144,6 @@ func (window *Window) Restack(sibling Windower, above bool) { // // - dx: amount to scroll in the X direction. // - dy: amount to scroll in the Y direction. -// func (window *Window) Scroll(dx, dy int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // out @@ -19541,7 +19168,6 @@ func (window *Window) Scroll(dx, dy int) { // The function takes the following parameters: // // - acceptFocus: TRUE if the window should receive input focus. -// func (window *Window) SetAcceptFocus(acceptFocus bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -19567,7 +19193,6 @@ func (window *Window) SetAcceptFocus(acceptFocus bool) { // The function takes the following parameters: // // - color: Color. -// func (window *Window) SetBackground(color *Color) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkColor // out @@ -19594,7 +19219,6 @@ func (window *Window) SetBackground(color *Color) { // The function takes the following parameters: // // - pattern (optional) to use, or NULL. -// func (window *Window) SetBackgroundPattern(pattern *cairo.Pattern) { var _arg0 *C.GdkWindow // out var _arg1 *C.cairo_pattern_t // out @@ -19618,7 +19242,6 @@ func (window *Window) SetBackgroundPattern(pattern *cairo.Pattern) { // The function takes the following parameters: // // - rgba: RGBA color. -// func (window *Window) SetBackgroundRGBA(rgba *RGBA) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkRGBA // out @@ -19682,7 +19305,6 @@ func (window *Window) SetChildShapes() { // The function takes the following parameters: // // - composited: TRUE to set the window as composited. -// func (window *Window) SetComposited(composited bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -19709,7 +19331,6 @@ func (window *Window) SetComposited(composited bool) { // The function takes the following parameters: // // - cursor (optional): cursor. -// func (window *Window) SetCursor(cursor Cursorrer) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkCursor // out @@ -19741,7 +19362,6 @@ func (window *Window) SetCursor(cursor Cursorrer) { // The function takes the following parameters: // // - decorations: decoration hint mask. -// func (window *Window) SetDecorations(decorations WMDecoration) { var _arg0 *C.GdkWindow // out var _arg1 C.GdkWMDecoration // out @@ -19765,7 +19385,6 @@ func (window *Window) SetDecorations(decorations WMDecoration) { // // - device: master, pointer Device. // - cursor: Cursor. -// func (window *Window) SetDeviceCursor(device Devicer, cursor Cursorrer) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkDevice // out @@ -19793,7 +19412,6 @@ func (window *Window) SetDeviceCursor(device Devicer, cursor Cursorrer) { // // - device to enable events for. // - eventMask: event mask for window. -// func (window *Window) SetDeviceEvents(device Devicer, eventMask EventMask) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkDevice // out @@ -19821,7 +19439,6 @@ func (window *Window) SetDeviceEvents(device Devicer, eventMask EventMask) { // The function takes the following parameters: // // - eventCompression: TRUE if motion events should be compressed. -// func (window *Window) SetEventCompression(eventCompression bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -19847,7 +19464,6 @@ func (window *Window) SetEventCompression(eventCompression bool) { // The function takes the following parameters: // // - eventMask: event mask for window. -// func (window *Window) SetEvents(eventMask EventMask) { var _arg0 *C.GdkWindow // out var _arg1 C.GdkEventMask // out @@ -19872,7 +19488,6 @@ func (window *Window) SetEvents(eventMask EventMask) { // The function takes the following parameters: // // - focusOnMap: TRUE if the window should receive input focus when mapped. -// func (window *Window) SetFocusOnMap(focusOnMap bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -19908,7 +19523,6 @@ func (window *Window) SetFocusOnMap(focusOnMap bool) { // The function takes the following parameters: // // - mode: fullscreen mode. -// func (window *Window) SetFullscreenMode(mode FullscreenMode) { var _arg0 *C.GdkWindow // out var _arg1 C.GdkFullscreenMode // out @@ -19936,7 +19550,6 @@ func (window *Window) SetFullscreenMode(mode FullscreenMode) { // The function takes the following parameters: // // - functions: bitmask of operations to allow on window. -// func (window *Window) SetFunctions(functions WMFunction) { var _arg0 *C.GdkWindow // out var _arg1 C.GdkWMFunction // out @@ -19972,7 +19585,6 @@ func (window *Window) SetFunctions(functions WMFunction) { // // - geometry hints. // - geomMask: bitmask indicating fields of geometry to pay attention to. -// func (window *Window) SetGeometryHints(geometry *Geometry, geomMask WindowHints) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkGeometry // out @@ -20002,7 +19614,6 @@ func (window *Window) SetGeometryHints(geometry *Geometry, geomMask WindowHints) // // - leader (optional): group leader window, or NULL to restore the default // group leader window. -// func (window *Window) SetGroup(leader Windower) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkWindow // out @@ -20029,7 +19640,6 @@ func (window *Window) SetGroup(leader Windower) { // The function takes the following parameters: // // - pixbufs: A list of pixbufs, of different sizes. -// func (window *Window) SetIconList(pixbufs []*gdkpixbuf.Pixbuf) { var _arg0 *C.GdkWindow // out var _arg1 *C.GList // out @@ -20064,7 +19674,6 @@ func (window *Window) SetIconList(pixbufs []*gdkpixbuf.Pixbuf) { // The function takes the following parameters: // // - name (optional) of window while iconified (minimized). -// func (window *Window) SetIconName(name string) { var _arg0 *C.GdkWindow // out var _arg1 *C.gchar // out @@ -20092,7 +19701,6 @@ func (window *Window) SetIconName(name string) { // The function takes the following parameters: // // - setting: whether to keep window above other windows. -// func (window *Window) SetKeepAbove(setting bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -20119,7 +19727,6 @@ func (window *Window) SetKeepAbove(setting bool) { // The function takes the following parameters: // // - setting: whether to keep window below other windows. -// func (window *Window) SetKeepBelow(setting bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -20144,7 +19751,6 @@ func (window *Window) SetKeepBelow(setting bool) { // The function takes the following parameters: // // - modal: TRUE if the window is modal, FALSE otherwise. -// func (window *Window) SetModalHint(modal bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -20181,7 +19787,6 @@ func (window *Window) SetModalHint(modal bool) { // The function takes the following parameters: // // - opacity: opacity. -// func (window *Window) SetOpacity(opacity float64) { var _arg0 *C.GdkWindow // out var _arg1 C.gdouble // out @@ -20210,7 +19815,6 @@ func (window *Window) SetOpacity(opacity float64) { // The function takes the following parameters: // // - region (optional): region, or NULL. -// func (window *Window) SetOpaqueRegion(region *cairo.Region) { var _arg0 *C.GdkWindow // out var _arg1 *C.cairo_region_t // out @@ -20237,7 +19841,6 @@ func (window *Window) SetOpaqueRegion(region *cairo.Region) { // The function takes the following parameters: // // - overrideRedirect: TRUE if window should be override redirect. -// func (window *Window) SetOverrideRedirect(overrideRedirect bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -20273,7 +19876,6 @@ func (window *Window) SetOverrideRedirect(overrideRedirect bool) { // The function takes the following parameters: // // - passThrough: boolean. -// func (window *Window) SetPassThrough(passThrough bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -20303,7 +19905,6 @@ func (window *Window) SetPassThrough(passThrough bool) { // The function takes the following parameters: // // - role: string indicating its role. -// func (window *Window) SetRole(role string) { var _arg0 *C.GdkWindow // out var _arg1 *C.gchar // out @@ -20333,7 +19934,6 @@ func (window *Window) SetRole(role string) { // - right extent. // - top extent. // - bottom extent. -// func (window *Window) SetShadowWidth(left, right, top, bottom int) { var _arg0 *C.GdkWindow // out var _arg1 C.gint // out @@ -20365,7 +19965,6 @@ func (window *Window) SetShadowWidth(left, right, top, bottom int) { // The function takes the following parameters: // // - skipsPager: TRUE to skip the pager. -// func (window *Window) SetSkipPagerHint(skipsPager bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -20389,7 +19988,6 @@ func (window *Window) SetSkipPagerHint(skipsPager bool) { // The function takes the following parameters: // // - skipsTaskbar: TRUE to skip the taskbar. -// func (window *Window) SetSkipTaskbarHint(skipsTaskbar bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -20413,7 +20011,6 @@ func (window *Window) SetSkipTaskbarHint(skipsTaskbar bool) { // // - source to define the source class. // - eventMask: event mask for window. -// func (window *Window) SetSourceEvents(source InputSource, eventMask EventMask) { var _arg0 *C.GdkWindow // out var _arg1 C.GdkInputSource // out @@ -20435,7 +20032,6 @@ func (window *Window) SetSourceEvents(source InputSource, eventMask EventMask) { // The function takes the following parameters: // // - startupId: string with startup-notification identifier. -// func (window *Window) SetStartupID(startupId string) { var _arg0 *C.GdkWindow // out var _arg1 *C.gchar // out @@ -20464,7 +20060,6 @@ func (window *Window) SetStartupID(startupId string) { // The function returns the following values: // // - ok: FALSE. -// func (window *Window) SetStaticGravities(useStatic bool) bool { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -20497,7 +20092,6 @@ func (window *Window) SetStaticGravities(useStatic bool) bool { // The function takes the following parameters: // // - supportMultidevice: TRUE to enable multidevice support in window. -// func (window *Window) SetSupportMultidevice(supportMultidevice bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -20521,7 +20115,6 @@ func (window *Window) SetSupportMultidevice(supportMultidevice bool) { // The function takes the following parameters: // // - title of window. -// func (window *Window) SetTitle(title string) { var _arg0 *C.GdkWindow // out var _arg1 *C.gchar // out @@ -20545,7 +20138,6 @@ func (window *Window) SetTitle(title string) { // The function takes the following parameters: // // - parent: another toplevel Window. -// func (window *Window) SetTransientFor(parent Windower) { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkWindow // out @@ -20567,7 +20159,6 @@ func (window *Window) SetTransientFor(parent Windower) { // The function takes the following parameters: // // - hint of the function this window will have. -// func (window *Window) SetTypeHint(hint WindowTypeHint) { var _arg0 *C.GdkWindow // out var _arg1 C.GdkWindowTypeHint // out @@ -20585,7 +20176,6 @@ func (window *Window) SetTypeHint(hint WindowTypeHint) { // The function takes the following parameters: // // - urgent: TRUE if the window is urgent. -// func (window *Window) SetUrgencyHint(urgent bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -20610,7 +20200,6 @@ func (window *Window) SetUrgencyHint(urgent bool) { // The function takes the following parameters: // // - userData (optional): user data. -// func (window *Window) SetUserData(userData *coreglib.Object) { var _arg0 *C.GdkWindow // out var _arg1 C.gpointer // out @@ -20641,7 +20230,6 @@ func (window *Window) SetUserData(userData *coreglib.Object) { // - shapeRegion (optional): region of window to be non-transparent. // - offsetX: x position of shape_region in window coordinates. // - offsetY: y position of shape_region in window coordinates. -// func (window *Window) ShapeCombineRegion(shapeRegion *cairo.Region, offsetX, offsetY int) { var _arg0 *C.GdkWindow // out var _arg1 *C.cairo_region_t // out @@ -20708,7 +20296,6 @@ func (window *Window) ShowUnraised() { // The function returns the following values: // // - ok: TRUE if the window menu was shown and FALSE otherwise. -// func (window *Window) ShowWindowMenu(event *Event) bool { var _arg0 *C.GdkWindow // out var _arg1 *C.GdkEvent // out @@ -20837,7 +20424,6 @@ func (window *Window) Withdraw() { // // - width // - height -// func (window *Window) createSurface(width, height int) *cairo.Surface { gclass := (*C.GdkWindowClass)(coreglib.PeekParentClass(window)) fnarg := gclass.create_surface @@ -20872,7 +20458,6 @@ func (window *Window) createSurface(width, height int) *cairo.Surface { // - embedderY // - offscreenX // - offscreenY -// func (window *Window) fromEmbedder(embedderX, embedderY float64, offscreenX, offscreenY *float64) { gclass := (*C.GdkWindowClass)(coreglib.PeekParentClass(window)) fnarg := gclass.from_embedder @@ -20903,7 +20488,6 @@ func (window *Window) fromEmbedder(embedderX, embedderY float64, offscreenX, off // - offscreenY // - embedderX // - embedderY -// func (window *Window) toEmbedder(offscreenX, offscreenY float64, embedderX, embedderY *float64) { gclass := (*C.GdkWindowClass)(coreglib.PeekParentClass(window)) fnarg := gclass.to_embedder @@ -20946,7 +20530,6 @@ func (window *Window) toEmbedder(offscreenX, offscreenY float64, embedderX, embe // - winY (optional): return location for origin of the window under the // pointer. // - window under the mouse pointer. -// func WindowAtPointer() (winX, winY int, window Windower) { var _arg1 C.gint // in var _arg2 C.gint // in @@ -20995,7 +20578,6 @@ func WindowAtPointer() (winX, winY int, window Windower) { // // - newWidth: location to store resulting width. // - newHeight: location to store resulting height. -// func WindowConstrainSize(geometry *Geometry, flags WindowHints, width, height int) (newWidth, newHeight int) { var _arg1 *C.GdkGeometry // out var _arg2 C.GdkWindowHints // out @@ -21055,7 +20637,6 @@ func WindowProcessAllUpdates() { // The function takes the following parameters: // // - setting: TRUE to turn on update debugging. -// func WindowSetDebugUpdates(setting bool) { var _arg1 C.gboolean // out @@ -21179,7 +20760,6 @@ func (c *Color) SetBlue(blue uint16) { // The function returns the following values: // // - ret: copy of color. -// func (color *Color) Copy() *Color { var _arg0 *C.GdkColor // out var _cret *C.GdkColor // in @@ -21213,7 +20793,6 @@ func (color *Color) Copy() *Color { // The function returns the following values: // // - ok: TRUE if the two colors compare equal. -// func (colora *Color) Equal(colorb *Color) bool { var _arg0 *C.GdkColor // out var _arg1 *C.GdkColor // out @@ -21242,7 +20821,6 @@ func (colora *Color) Equal(colorb *Color) bool { // The function returns the following values: // // - guint: hash function applied to color. -// func (color *Color) Hash() uint { var _arg0 *C.GdkColor // out var _cret C.guint // in @@ -21270,7 +20848,6 @@ func (color *Color) Hash() uint { // The function returns the following values: // // - utf8: newly-allocated text string. -// func (color *Color) String() string { var _arg0 *C.GdkColor // out var _cret *C.gchar // in @@ -21308,7 +20885,6 @@ func (color *Color) String() string { // // - color to fill in. // - ok: TRUE if the parsing succeeded. -// func ColorParse(spec string) (*Color, bool) { var _arg1 *C.gchar // out var _arg2 C.GdkColor // in @@ -24296,7 +23872,6 @@ func marshalFrameTimings(p uintptr) (interface{}, error) { // // - ok: TRUE if all information that will be available for the frame has been // filled in. -// func (timings *FrameTimings) Complete() bool { var _arg0 *C.GdkFrameTimings // out var _cret C.gboolean // in @@ -24321,7 +23896,6 @@ func (timings *FrameTimings) Complete() bool { // The function returns the following values: // // - gint64: frame counter value for this frame. -// func (timings *FrameTimings) FrameCounter() int64 { var _arg0 *C.GdkFrameTimings // out var _cret C.gint64 // in @@ -24346,7 +23920,6 @@ func (timings *FrameTimings) FrameCounter() int64 { // // - gint64: frame time for the frame, in the timescale of // g_get_monotonic_time(). -// func (timings *FrameTimings) FrameTime() int64 { var _arg0 *C.GdkFrameTimings // out var _cret C.gint64 // in @@ -24378,7 +23951,6 @@ func (timings *FrameTimings) FrameTime() int64 { // - gint64: predicted time at which the frame will be presented, in the // timescale of g_get_monotonic_time(), or 0 if no predicted presentation // time is available. -// func (timings *FrameTimings) PredictedPresentationTime() int64 { var _arg0 *C.GdkFrameTimings // out var _cret C.gint64 // in @@ -24403,7 +23975,6 @@ func (timings *FrameTimings) PredictedPresentationTime() int64 { // - gint64: time the frame was displayed to the user, in the timescale of // g_get_monotonic_time(), or 0 if no presentation time is available. // See gdk_frame_timings_get_complete(). -// func (timings *FrameTimings) PresentationTime() int64 { var _arg0 *C.GdkFrameTimings // out var _cret C.gint64 // in @@ -24428,7 +23999,6 @@ func (timings *FrameTimings) PresentationTime() int64 { // // - gint64: refresh interval of the display, in microseconds, or 0 if the // refresh interval is not available. See gdk_frame_timings_get_complete(). -// func (timings *FrameTimings) RefreshInterval() int64 { var _arg0 *C.GdkFrameTimings // out var _cret C.gint64 // in @@ -24475,21 +24045,21 @@ func (timings *FrameTimings) RefreshInterval() int64 { // Here’s an example of how the terminal example would be implemented, assuming // a terminal area widget called “terminal” and a toplevel window “toplevel”: // -// GdkGeometry hints; +// GdkGeometry hints; // -// hints.base_width = terminal->char_width; -// hints.base_height = terminal->char_height; -// hints.min_width = terminal->char_width; -// hints.min_height = terminal->char_height; -// hints.width_inc = terminal->char_width; -// hints.height_inc = terminal->char_height; +// hints.base_width = terminal->char_width; +// hints.base_height = terminal->char_height; +// hints.min_width = terminal->char_width; +// hints.min_height = terminal->char_height; +// hints.width_inc = terminal->char_width; +// hints.height_inc = terminal->char_height; // -// gtk_window_set_geometry_hints (GTK_WINDOW (toplevel), -// GTK_WIDGET (terminal), -// &hints, -// GDK_HINT_RESIZE_INC | -// GDK_HINT_MIN_SIZE | -// GDK_HINT_BASE_SIZE); +// gtk_window_set_geometry_hints (GTK_WINDOW (toplevel), +// GTK_WIDGET (terminal), +// &hints, +// GDK_HINT_RESIZE_INC | +// GDK_HINT_MIN_SIZE | +// GDK_HINT_BASE_SIZE); // // The other useful fields are the min_aspect and max_aspect fields; these // contain a width/height ratio as a floating point number. If a geometry widget @@ -24921,7 +24491,6 @@ func (r *RGBA) SetAlpha(alpha float64) { // The function returns the following values: // // - rgbA: newly allocated RGBA, with the same contents as rgba. -// func (rgba *RGBA) Copy() *RGBA { var _arg0 *C.GdkRGBA // out var _cret *C.GdkRGBA // in @@ -24953,7 +24522,6 @@ func (rgba *RGBA) Copy() *RGBA { // The function returns the following values: // // - ok: TRUE if the two colors compare equal. -// func (p1 *RGBA) Equal(p2 *RGBA) bool { var _arg0 C.gconstpointer // out var _arg1 C.gconstpointer // out @@ -24980,7 +24548,6 @@ func (p1 *RGBA) Equal(p2 *RGBA) bool { // The function returns the following values: // // - guint: hash value for p. -// func (p *RGBA) Hash() uint { var _arg0 C.gconstpointer // out var _cret C.guint // in @@ -25024,7 +24591,6 @@ func (p *RGBA) Hash() uint { // The function returns the following values: // // - ok: TRUE if the parsing succeeded. -// func (rgba *RGBA) Parse(spec string) bool { var _arg0 *C.GdkRGBA // out var _arg1 *C.gchar // out @@ -25063,7 +24629,6 @@ func (rgba *RGBA) Parse(spec string) bool { // The function returns the following values: // // - utf8: newly allocated text string. -// func (rgba *RGBA) String() string { var _arg0 *C.GdkRGBA // out var _cret *C.gchar // in @@ -25179,7 +24744,6 @@ func (r *Rectangle) SetHeight(height int) { // The function returns the following values: // // - ok: TRUE if the rectangles are equal. -// func (rect1 *Rectangle) Equal(rect2 *Rectangle) bool { var _arg0 *C.GdkRectangle // out var _arg1 *C.GdkRectangle // out @@ -25216,7 +24780,6 @@ func (rect1 *Rectangle) Equal(rect2 *Rectangle) bool { // - dest (optional): return location for the intersection of src1 and src2, // or NULL. // - ok: TRUE if the rectangles intersect. -// func (src1 *Rectangle) Intersect(src2 *Rectangle) (*Rectangle, bool) { var _arg0 *C.GdkRectangle // out var _arg1 *C.GdkRectangle // out @@ -25255,7 +24818,6 @@ func (src1 *Rectangle) Intersect(src2 *Rectangle) (*Rectangle, bool) { // The function returns the following values: // // - dest: return location for the union of src1 and src2. -// func (src1 *Rectangle) Union(src2 *Rectangle) *Rectangle { var _arg0 *C.GdkRectangle // out var _arg1 *C.GdkRectangle // out @@ -25507,10 +25069,10 @@ type windowClass struct { // always be accessed with the following code, no matter what type of event it // is: // -// GdkEvent *event; -// gdouble x; +// GdkEvent *event; +// gdouble x; // -// x = event->button.x;. +// x = event->button.x;. type Event struct { *event } @@ -26125,7 +25687,6 @@ func (e *Event) AsPadGroupMode() *EventPadGroupMode { // // - event (optional): next Event to be processed, or NULL if no events are // pending. The returned Event should be freed with gdk_event_free(). -// func EventGet() *Event { var _cret *C.GdkEvent // in @@ -26152,7 +25713,6 @@ func EventGet() *Event { // The function takes the following parameters: // // - fn: function to call to handle events from GDK. -// func EventHandlerSet(fn EventFunc) { var _arg1 C.GdkEventFunc // out var _arg2 C.gpointer @@ -26174,7 +25734,6 @@ func EventHandlerSet(fn EventFunc) { // - event (optional): copy of the first Event on some event queue, or NULL // if no events are in any queues. The returned Event should be freed with // gdk_event_free(). -// func EventPeek() *Event { var _cret *C.GdkEvent // in @@ -26201,18 +25760,17 @@ func EventPeek() *Event { // Coordinate extraction, processing and requesting more motion events from a // GDK_MOTION_NOTIFY event usually works like this: // -// { -// // motion_event handler -// x = motion_event->x; -// y = motion_event->y; -// // handle (x,y) motion -// gdk_event_request_motions (motion_event); // handles is_hint events -// }. +// { +// // motion_event handler +// x = motion_event->x; +// y = motion_event->y; +// // handle (x,y) motion +// gdk_event_request_motions (motion_event); // handles is_hint events +// }. // // The function takes the following parameters: // // - event: valid Event. -// func EventRequestMotions(event *EventMotion) { var _arg1 *C.GdkEventMotion // out diff --git a/pkg/gdk/v4/gdk.go b/pkg/gdk/v4/gdk.go index d3a74954d..70d0e74ab 100644 --- a/pkg/gdk/v4/gdk.go +++ b/pkg/gdk/v4/gdk.go @@ -3788,7 +3788,6 @@ func (d DragAction) Has(other DragAction) bool { // The function returns the following values: // // - ok: TRUE if exactly one action was given. -// func DragActionIsUnique(action DragAction) bool { var _arg1 C.GdkDragAction // out var _cret C.gboolean // in @@ -4245,7 +4244,6 @@ func (t ToplevelState) Has(other ToplevelState) bool { // - y: source y position in source to start copying from in GL coordinates. // - width of the region to draw. // - height of the region to draw. -// func CairoDrawFromGL(cr *cairo.Context, surface Surfacer, source, sourceType, bufferScale, x, y, width, height int) { var _arg1 *C.cairo_t // out var _arg2 *C.GdkSurface // out @@ -4285,7 +4283,6 @@ func CairoDrawFromGL(cr *cairo.Context, surface Surfacer, source, sourceType, bu // // - cr: cairo context. // - rectangle: Rectangle. -// func CairoRectangle(cr *cairo.Context, rectangle *Rectangle) { var _arg1 *C.cairo_t // out var _arg2 *C.GdkRectangle // out @@ -4304,7 +4301,6 @@ func CairoRectangle(cr *cairo.Context, rectangle *Rectangle) { // // - cr: cairo context. // - region: #cairo_region_t. -// func CairoRegion(cr *cairo.Context, region *cairo.Region) { var _arg1 *C.cairo_t // out var _arg2 *C.cairo_region_t // out @@ -4330,7 +4326,6 @@ func CairoRegion(cr *cairo.Context, region *cairo.Region) { // The function returns the following values: // // - region: cairo_region_t; must be freed with cairo_region_destroy(). -// func CairoRegionCreateFromSurface(surface *cairo.Surface) *cairo.Region { var _arg1 *C.cairo_surface_t // out var _cret *C.cairo_region_t // in @@ -4364,7 +4359,6 @@ func CairoRegionCreateFromSurface(surface *cairo.Surface) *cairo.Region { // - pixbuf: Pixbuf. // - pixbufX: x coordinate of location to place upper left corner of pixbuf. // - pixbufY: y coordinate of location to place upper left corner of pixbuf. -// func CairoSetSourcePixbuf(cr *cairo.Context, pixbuf *gdkpixbuf.Pixbuf, pixbufX, pixbufY float64) { var _arg1 *C.cairo_t // out var _arg2 *C.GdkPixbuf // out @@ -4389,7 +4383,6 @@ func CairoSetSourcePixbuf(cr *cairo.Context, pixbuf *gdkpixbuf.Pixbuf, pixbufX, // // - cr: cairo context. // - rgba: RGBA. -// func CairoSetSourceRGBA(cr *cairo.Context, rgba *RGBA) { var _arg1 *C.cairo_t // out var _arg2 *C.GdkRGBA // out @@ -4419,7 +4412,6 @@ func CairoSetSourceRGBA(cr *cairo.Context, rgba *RGBA) { // - typ: GType to deserialize from. // - ioPriority: i/O priority of the operation. // - callback (optional) to call when the operation is done. -// func ContentDeserializeAsync(ctx context.Context, stream gio.InputStreamer, mimeType string, typ coreglib.Type, ioPriority int, callback gio.AsyncReadyCallback) { var _arg5 *C.GCancellable // out var _arg1 *C.GInputStream // out @@ -4459,7 +4451,6 @@ func ContentDeserializeAsync(ctx context.Context, stream gio.InputStreamer, mime // // - result: GAsyncResult. // - value: return location for the result of the operation. -// func ContentDeserializeFinish(result gio.AsyncResulter, value *coreglib.Value) error { var _arg1 *C.GAsyncResult // out var _arg2 *C.GValue // out @@ -4498,7 +4489,6 @@ func ContentDeserializeFinish(result gio.AsyncResulter, value *coreglib.Value) e // - value: content to serialize. // - ioPriority: i/O priority of the operation. // - callback (optional) to call when the operation is done. -// func ContentSerializeAsync(ctx context.Context, stream gio.OutputStreamer, mimeType string, value *coreglib.Value, ioPriority int, callback gio.AsyncReadyCallback) { var _arg5 *C.GCancellable // out var _arg1 *C.GOutputStream // out @@ -4537,7 +4527,6 @@ func ContentSerializeAsync(ctx context.Context, stream gio.OutputStreamer, mimeT // The function takes the following parameters: // // - result: GAsyncResult. -// func ContentSerializeFinish(result gio.AsyncResulter) error { var _arg1 *C.GAsyncResult // out var _cerr *C.GError // in @@ -4574,7 +4563,6 @@ func ContentSerializeFinish(result gio.AsyncResulter) error { // // - angle: return location for the relative angle between both events. // - ok: TRUE if the angle could be calculated. -// func EventsGetAngle(event1, event2 Eventer) (float64, bool) { var _arg1 *C.GdkEvent // out var _arg2 *C.GdkEvent // out @@ -4614,7 +4602,6 @@ func EventsGetAngle(event1, event2 Eventer) (float64, bool) { // - x: return location for the X coordinate of the center. // - y: return location for the Y coordinate of the center. // - ok: TRUE if the center could be calculated. -// func EventsGetCenter(event1, event2 Eventer) (x, y float64, ok bool) { var _arg1 *C.GdkEvent // out var _arg2 *C.GdkEvent // out @@ -4656,7 +4643,6 @@ func EventsGetCenter(event1, event2 Eventer) (x, y float64, ok bool) { // // - distance: return location for the distance. // - ok: TRUE if the distance could be calculated. -// func EventsGetDistance(event1, event2 Eventer) (float64, bool) { var _arg1 *C.GdkEvent // out var _arg2 *C.GdkEvent // out @@ -4694,7 +4680,6 @@ func EventsGetDistance(event1, event2 Eventer) (float64, bool) { // // - utf8: interned string for the canonicalized mime type or NULL if the // string wasn't a valid mime type. -// func InternMIMEType(str string) string { var _arg1 *C.char // out var _cret *C.char // in @@ -4725,7 +4710,6 @@ func InternMIMEType(str string) string { // // - lower: return location for lowercase version of symbol. // - upper: return location for uppercase version of symbol. -// func KeyvalConvertCase(symbol uint) (lower, upper uint) { var _arg1 C.guint // out var _arg2 C.guint // in @@ -4758,7 +4742,6 @@ func KeyvalConvertCase(symbol uint) (lower, upper uint) { // // - guint: corresponding key value, or GDK_KEY_VoidSymbol if the key name is // not a valid key. -// func KeyvalFromName(keyvalName string) uint { var _arg1 *C.char // out var _cret C.guint // in @@ -4786,7 +4769,6 @@ func KeyvalFromName(keyvalName string) uint { // // - ok: TRUE if keyval is in lower case, or if keyval is not subject to case // conversion. -// func KeyvalIsLower(keyval uint) bool { var _arg1 C.guint // out var _cret C.gboolean // in @@ -4815,7 +4797,6 @@ func KeyvalIsLower(keyval uint) bool { // // - ok: TRUE if keyval is in upper case, or if keyval is not subject to case // conversion. -// func KeyvalIsUpper(keyval uint) bool { var _arg1 C.guint // out var _cret C.gboolean // in @@ -4847,7 +4828,6 @@ func KeyvalIsUpper(keyval uint) bool { // // - utf8 (optional): string containing the name of the key, or NULL if keyval // is not a valid key. The string should not be modified. -// func KeyvalName(keyval uint) string { var _arg1 C.guint // out var _cret *C.char // in @@ -4876,7 +4856,6 @@ func KeyvalName(keyval uint) string { // // - guint: lower case form of keyval, or keyval itself if it is already in // lower case or it is not subject to case conversion. -// func KeyvalToLower(keyval uint) uint { var _arg1 C.guint // out var _cret C.guint // in @@ -4907,7 +4886,6 @@ func KeyvalToLower(keyval uint) uint { // // - guint32: corresponding unicode character, or 0 if there is no // corresponding character. -// func KeyvalToUnicode(keyval uint) uint32 { var _arg1 C.guint // out var _cret C.guint32 // in @@ -4934,7 +4912,6 @@ func KeyvalToUnicode(keyval uint) uint32 { // // - guint: upper case form of keyval, or keyval itself if it is already in // upper case or it is not subject to case conversion. -// func KeyvalToUpper(keyval uint) uint { var _arg1 C.guint // out var _cret C.guint // in @@ -4971,7 +4948,6 @@ func KeyvalToUpper(keyval uint) uint { // // - pixbuf (optional): newly-created pixbuf with a reference count of 1, // or NULL on error. -// func PixbufGetFromSurface(surface *cairo.Surface, srcX, srcY, width, height int) *gdkpixbuf.Pixbuf { var _arg1 *C.cairo_surface_t // out var _arg2 C.int // out @@ -5024,7 +5000,6 @@ func PixbufGetFromSurface(surface *cairo.Surface, srcX, srcY, width, height int) // The function returns the following values: // // - pixbuf (optional): new Pixbuf or NULL in case of an error. -// func PixbufGetFromTexture(texture Texturer) *gdkpixbuf.Pixbuf { var _arg1 *C.GdkTexture // out var _cret *C.GdkPixbuf // in @@ -5062,7 +5037,7 @@ func PixbufGetFromTexture(texture Texturer) *gdkpixbuf.Pixbuf { // // For example: // -// gdk_set_allowed_backends ("wayland,macos,*"); +// gdk_set_allowed_backends ("wayland,macos,*"); // // instructs GDK to try the Wayland backend first, followed by the MacOs // backend, and then all others. @@ -5087,7 +5062,6 @@ func PixbufGetFromTexture(texture Texturer) *gdkpixbuf.Pixbuf { // The function takes the following parameters: // // - backends: comma-separated list of backends. -// func SetAllowedBackends(backends string) { var _arg1 *C.char // out @@ -5120,7 +5094,6 @@ func ToplevelSizeGetType() coreglib.Type { // // - guint: corresponding GDK key symbol, if one exists. or, if there is no // corresponding symbol, wc | 0x01000000. -// func UnicodeToKeyval(wc uint32) uint { var _arg1 C.guint32 // out var _cret C.guint // in @@ -5206,7 +5179,6 @@ func marshalDevicePad(p uintptr) (interface{}, error) { // The function returns the following values: // // - gint: group number of the queried pad feature. -// func (pad *DevicePad) FeatureGroup(feature DevicePadFeature, featureIdx int) int { var _arg0 *C.GdkDevicePad // out var _arg1 C.GdkDevicePadFeature // out @@ -5238,7 +5210,6 @@ func (pad *DevicePad) FeatureGroup(feature DevicePadFeature, featureIdx int) int // The function returns the following values: // // - gint: number of modes available in group. -// func (pad *DevicePad) GroupNModes(groupIdx int) int { var _arg0 *C.GdkDevicePad // out var _arg1 C.int // out @@ -5267,7 +5238,6 @@ func (pad *DevicePad) GroupNModes(groupIdx int) int { // The function returns the following values: // // - gint: amount of elements of type feature that this pad has. -// func (pad *DevicePad) NFeatures(feature DevicePadFeature) int { var _arg0 *C.GdkDevicePad // out var _arg1 C.GdkDevicePadFeature // out @@ -5295,7 +5265,6 @@ func (pad *DevicePad) NFeatures(feature DevicePadFeature) int { // The function returns the following values: // // - gint: number of button/ring/strip groups in the pad. -// func (pad *DevicePad) NGroups() int { var _arg0 *C.GdkDevicePad // out var _cret C.int // in @@ -5357,7 +5326,6 @@ func marshalDragSurface(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: FALSE if it failed to be presented, otherwise TRUE. -// func (dragSurface *DragSurface) Present(width, height int) bool { var _arg0 *C.GdkDragSurface // out var _arg1 C.int // out @@ -5532,7 +5500,6 @@ func (paintable *Paintable) ConnectInvalidateSize(f func()) coreglib.SignalHandl // // - concreteWidth will be set to the concrete width computed. // - concreteHeight will be set to the concrete height computed. -// func (paintable *Paintable) ComputeConcreteSize(specifiedWidth, specifiedHeight, defaultWidth, defaultHeight float64) (concreteWidth, concreteHeight float64) { var _arg0 *C.GdkPaintable // out var _arg1 C.double // out @@ -5575,7 +5542,6 @@ func (paintable *Paintable) ComputeConcreteSize(specifiedWidth, specifiedHeight, // The function returns the following values: // // - ret: immutable paintable for the current contents of paintable. -// func (paintable *Paintable) CurrentImage() *Paintable { var _arg0 *C.GdkPaintable // out var _cret *C.GdkPaintable // in @@ -5601,7 +5567,6 @@ func (paintable *Paintable) CurrentImage() *Paintable { // The function returns the following values: // // - paintableFlags: GdkPaintableFlags for this paintable. -// func (paintable *Paintable) Flags() PaintableFlags { var _arg0 *C.GdkPaintable // out var _cret C.GdkPaintableFlags // in @@ -5639,7 +5604,6 @@ func (paintable *Paintable) Flags() PaintableFlags { // The function returns the following values: // // - gdouble: intrinsic aspect ratio of paintable or 0 if none. -// func (paintable *Paintable) IntrinsicAspectRatio() float64 { var _arg0 *C.GdkPaintable // out var _cret C.double // in @@ -5671,7 +5635,6 @@ func (paintable *Paintable) IntrinsicAspectRatio() float64 { // The function returns the following values: // // - gint: intrinsic height of paintable or 0 if none. -// func (paintable *Paintable) IntrinsicHeight() int { var _arg0 *C.GdkPaintable // out var _cret C.int // in @@ -5703,7 +5666,6 @@ func (paintable *Paintable) IntrinsicHeight() int { // The function returns the following values: // // - gint: intrinsic width of paintable or 0 if none. -// func (paintable *Paintable) IntrinsicWidth() int { var _arg0 *C.GdkPaintable // out var _cret C.int // in @@ -5768,7 +5730,6 @@ func (paintable *Paintable) InvalidateSize() { // - snapshot: GdkSnapshot to snapshot to. // - width to snapshot in. // - height to snapshot in. -// func (paintable *Paintable) Snapshot(snapshot Snapshotter, width, height float64) { var _arg0 *C.GdkPaintable // out var _arg1 *C.GdkSnapshot // out @@ -5798,7 +5759,6 @@ func (paintable *Paintable) Snapshot(snapshot Snapshotter, width, height float64 // The function returns the following values: // // - ret: immutable paintable for the current contents of paintable. -// func (paintable *Paintable) currentImage() *Paintable { gclass := (*C.GdkPaintableInterface)(coreglib.PeekParentClass(paintable)) fnarg := gclass.get_current_image @@ -5827,7 +5787,6 @@ func (paintable *Paintable) currentImage() *Paintable { // The function returns the following values: // // - paintableFlags: GdkPaintableFlags for this paintable. -// func (paintable *Paintable) flags() PaintableFlags { gclass := (*C.GdkPaintableInterface)(coreglib.PeekParentClass(paintable)) fnarg := gclass.get_flags @@ -5868,7 +5827,6 @@ func (paintable *Paintable) flags() PaintableFlags { // The function returns the following values: // // - gdouble: intrinsic aspect ratio of paintable or 0 if none. -// func (paintable *Paintable) intrinsicAspectRatio() float64 { gclass := (*C.GdkPaintableInterface)(coreglib.PeekParentClass(paintable)) fnarg := gclass.get_intrinsic_aspect_ratio @@ -5903,7 +5861,6 @@ func (paintable *Paintable) intrinsicAspectRatio() float64 { // The function returns the following values: // // - gint: intrinsic height of paintable or 0 if none. -// func (paintable *Paintable) intrinsicHeight() int { gclass := (*C.GdkPaintableInterface)(coreglib.PeekParentClass(paintable)) fnarg := gclass.get_intrinsic_height @@ -5938,7 +5895,6 @@ func (paintable *Paintable) intrinsicHeight() int { // The function returns the following values: // // - gint: intrinsic width of paintable or 0 if none. -// func (paintable *Paintable) intrinsicWidth() int { gclass := (*C.GdkPaintableInterface)(coreglib.PeekParentClass(paintable)) fnarg := gclass.get_intrinsic_width @@ -5968,7 +5924,6 @@ func (paintable *Paintable) intrinsicWidth() int { // - snapshot: GdkSnapshot to snapshot to. // - width to snapshot in. // - height to snapshot in. -// func (paintable *Paintable) snapshot(snapshot Snapshotter, width, height float64) { gclass := (*C.GdkPaintableInterface)(coreglib.PeekParentClass(paintable)) fnarg := gclass.snapshot @@ -6006,7 +5961,6 @@ func (paintable *Paintable) snapshot(snapshot Snapshotter, width, height float64 // The function returns the following values: // // - paintable: GdkPaintable. -// func NewPaintableEmpty(intrinsicWidth, intrinsicHeight int) *Paintable { var _arg1 C.int // out var _arg2 C.int // out @@ -6083,7 +6037,6 @@ func marshalPopup(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if popup will autohide. -// func (popup *Popup) Autohide() bool { var _arg0 *C.GdkPopup // out var _cret C.gboolean // in @@ -6107,7 +6060,6 @@ func (popup *Popup) Autohide() bool { // The function returns the following values: // // - surface: parent surface. -// func (popup *Popup) Parent() Surfacer { var _arg0 *C.GdkPopup // out var _cret *C.GdkSurface // in @@ -6145,7 +6097,6 @@ func (popup *Popup) Parent() Surfacer { // The function returns the following values: // // - gint: x coordinate of popup position. -// func (popup *Popup) PositionX() int { var _arg0 *C.GdkPopup // out var _cret C.int // in @@ -6167,7 +6118,6 @@ func (popup *Popup) PositionX() int { // The function returns the following values: // // - gint: y coordinate of popup position. -// func (popup *Popup) PositionY() int { var _arg0 *C.GdkPopup // out var _cret C.int // in @@ -6192,7 +6142,6 @@ func (popup *Popup) PositionY() int { // The function returns the following values: // // - gravity: current rectangle anchor value of popup. -// func (popup *Popup) RectAnchor() Gravity { var _arg0 *C.GdkPopup // out var _cret C.GdkGravity // in @@ -6217,7 +6166,6 @@ func (popup *Popup) RectAnchor() Gravity { // The function returns the following values: // // - gravity: current surface anchor value of popup. -// func (popup *Popup) SurfaceAnchor() Gravity { var _arg0 *C.GdkPopup // out var _cret C.GdkGravity // in @@ -6259,7 +6207,6 @@ func (popup *Popup) SurfaceAnchor() Gravity { // The function returns the following values: // // - ok: FALSE if it failed to be presented, otherwise TRUE. -// func (popup *Popup) Present(width, height int, layout *PopupLayout) bool { var _arg0 *C.GdkPopup // out var _arg1 C.int // out @@ -6375,7 +6322,6 @@ func marshalToplevel(p uintptr) (interface{}, error) { // - x: surface X coordinate of mouse click that began the drag. // - y: surface Y coordinate of mouse click that began the drag. // - timestamp of mouse click that began the drag (use gdk.Event.GetTime()). -// func (toplevel *Toplevel) BeginMove(device Devicer, button int, x, y float64, timestamp uint32) { var _arg0 *C.GdkToplevel // out var _arg1 *C.GdkDevice // out @@ -6412,7 +6358,6 @@ func (toplevel *Toplevel) BeginMove(device Devicer, button int, x, y float64, ti // - x: surface X coordinate of mouse click that began the drag. // - y: surface Y coordinate of mouse click that began the drag. // - timestamp of mouse click that began the drag (use gdk.Event.GetTime()). -// func (toplevel *Toplevel) BeginResize(edge SurfaceEdge, device Devicer, button int, x, y float64, timestamp uint32) { var _arg0 *C.GdkToplevel // out var _arg1 C.GdkSurfaceEdge // out @@ -6450,7 +6395,6 @@ func (toplevel *Toplevel) BeginResize(edge SurfaceEdge, device Devicer, button i // The function takes the following parameters: // // - timestamp of the event triggering the surface focus. -// func (toplevel *Toplevel) Focus(timestamp uint32) { var _arg0 *C.GdkToplevel // out var _arg1 C.guint32 // out @@ -6469,7 +6413,6 @@ func (toplevel *Toplevel) Focus(timestamp uint32) { // The function returns the following values: // // - toplevelState: surface state bitfield. -// func (toplevel *Toplevel) State() ToplevelState { var _arg0 *C.GdkToplevel // out var _cret C.GdkToplevelState // in @@ -6511,7 +6454,6 @@ func (toplevel *Toplevel) State() ToplevelState { // // - event (optional): GdkEvent that is triggering the inhibit request, // or NULL if none is available. -// func (toplevel *Toplevel) InhibitSystemShortcuts(event Eventer) { var _arg0 *C.GdkToplevel // out var _arg1 *C.GdkEvent // out @@ -6533,7 +6475,6 @@ func (toplevel *Toplevel) InhibitSystemShortcuts(event Eventer) { // The function returns the following values: // // - ok: TRUE if the surface was lowered. -// func (toplevel *Toplevel) Lower() bool { var _arg0 *C.GdkToplevel // out var _cret C.gboolean // in @@ -6559,7 +6500,6 @@ func (toplevel *Toplevel) Lower() bool { // The function returns the following values: // // - ok: TRUE if the surface was minimized. -// func (toplevel *Toplevel) Minimize() bool { var _arg0 *C.GdkToplevel // out var _cret C.gboolean // in @@ -6592,7 +6532,6 @@ func (toplevel *Toplevel) Minimize() bool { // The function takes the following parameters: // // - layout: GdkToplevelLayout object used to layout. -// func (toplevel *Toplevel) Present(layout *ToplevelLayout) { var _arg0 *C.GdkToplevel // out var _arg1 *C.GdkToplevelLayout // out @@ -6627,7 +6566,6 @@ func (toplevel *Toplevel) RestoreSystemShortcuts() { // The function takes the following parameters: // // - decorated: TRUE to request decorations. -// func (toplevel *Toplevel) SetDecorated(decorated bool) { var _arg0 *C.GdkToplevel // out var _arg1 C.gboolean // out @@ -6650,7 +6588,6 @@ func (toplevel *Toplevel) SetDecorated(decorated bool) { // The function takes the following parameters: // // - deletable: TRUE to request a delete button. -// func (toplevel *Toplevel) SetDeletable(deletable bool) { var _arg0 *C.GdkToplevel // out var _arg1 C.gboolean // out @@ -6677,7 +6614,6 @@ func (toplevel *Toplevel) SetDeletable(deletable bool) { // The function takes the following parameters: // // - surfaces: A list of textures to use as icon, of different sizes. -// func (toplevel *Toplevel) SetIconList(surfaces []Texturer) { var _arg0 *C.GdkToplevel // out var _arg1 *C.GList // out @@ -6708,7 +6644,6 @@ func (toplevel *Toplevel) SetIconList(surfaces []Texturer) { // The function takes the following parameters: // // - modal: TRUE if the surface is modal, FALSE otherwise. -// func (toplevel *Toplevel) SetModal(modal bool) { var _arg0 *C.GdkToplevel // out var _arg1 C.gboolean // out @@ -6731,7 +6666,6 @@ func (toplevel *Toplevel) SetModal(modal bool) { // The function takes the following parameters: // // - startupId: string with startup-notification identifier. -// func (toplevel *Toplevel) SetStartupID(startupId string) { var _arg0 *C.GdkToplevel // out var _arg1 *C.char // out @@ -6752,7 +6686,6 @@ func (toplevel *Toplevel) SetStartupID(startupId string) { // The function takes the following parameters: // // - title of surface. -// func (toplevel *Toplevel) SetTitle(title string) { var _arg0 *C.GdkToplevel // out var _arg1 *C.char // out @@ -6777,7 +6710,6 @@ func (toplevel *Toplevel) SetTitle(title string) { // The function takes the following parameters: // // - parent: another toplevel GdkSurface. -// func (toplevel *Toplevel) SetTransientFor(parent Surfacer) { var _arg0 *C.GdkToplevel // out var _arg1 *C.GdkSurface // out @@ -6804,7 +6736,6 @@ func (toplevel *Toplevel) SetTransientFor(parent Surfacer) { // The function returns the following values: // // - ok: TRUE if the window menu was shown and FALSE otherwise. -// func (toplevel *Toplevel) ShowWindowMenu(event Eventer) bool { var _arg0 *C.GdkToplevel // out var _arg1 *C.GdkEvent // out @@ -6832,7 +6763,6 @@ func (toplevel *Toplevel) ShowWindowMenu(event Eventer) bool { // The function returns the following values: // // - ok: TRUE if the desktop environment supports tiled window states. -// func (toplevel *Toplevel) SupportsEdgeConstraints() bool { var _arg0 *C.GdkToplevel // out var _cret C.gboolean // in @@ -6860,17 +6790,17 @@ func (toplevel *Toplevel) SupportsEdgeConstraints() bool { // // Launching an application // -// GdkAppLaunchContext *context; +// GdkAppLaunchContext *context; // -// context = gdk_display_get_app_launch_context (display); +// context = gdk_display_get_app_launch_context (display); // -// gdk_app_launch_context_set_display (display); -// gdk_app_launch_context_set_timestamp (gdk_event_get_time (event)); +// gdk_app_launch_context_set_display (display); +// gdk_app_launch_context_set_timestamp (gdk_event_get_time (event)); // -// if (!g_app_info_launch_default_for_uri ("http://www.gtk.org", context, &error)) -// g_warning ("Launching failed: s\n", error->message); +// if (!g_app_info_launch_default_for_uri ("http://www.gtk.org", context, &error)) +// g_warning ("Launching failed: s\n", error->message); // -// g_object_unref (context);. +// g_object_unref (context);. type AppLaunchContext struct { _ [0]func() // equal guard gio.AppLaunchContext @@ -6897,7 +6827,6 @@ func marshalAppLaunchContext(p uintptr) (interface{}, error) { // The function returns the following values: // // - display of context. -// func (context *AppLaunchContext) Display() *Display { var _arg0 *C.GdkAppLaunchContext // out var _cret *C.GdkDisplay // in @@ -6926,7 +6855,6 @@ func (context *AppLaunchContext) Display() *Display { // The function takes the following parameters: // // - desktop: number of a workspace, or -1. -// func (context *AppLaunchContext) SetDesktop(desktop int) { var _arg0 *C.GdkAppLaunchContext // out var _arg1 C.int // out @@ -6949,7 +6877,6 @@ func (context *AppLaunchContext) SetDesktop(desktop int) { // The function takes the following parameters: // // - icon (optional) or NULL. -// func (context *AppLaunchContext) SetIcon(icon gio.Iconner) { var _arg0 *C.GdkAppLaunchContext // out var _arg1 *C.GIcon // out @@ -6978,7 +6905,6 @@ func (context *AppLaunchContext) SetIcon(icon gio.Iconner) { // The function takes the following parameters: // // - iconName (optional): icon name, or NULL. -// func (context *AppLaunchContext) SetIconName(iconName string) { var _arg0 *C.GdkAppLaunchContext // out var _arg1 *C.char // out @@ -7006,7 +6932,6 @@ func (context *AppLaunchContext) SetIconName(iconName string) { // The function takes the following parameters: // // - timestamp: timestamp. -// func (context *AppLaunchContext) SetTimestamp(timestamp uint32) { var _arg0 *C.GdkAppLaunchContext // out var _arg1 C.guint32 // out @@ -7046,7 +6971,6 @@ func marshalButtonEvent(p uintptr) (interface{}, error) { // The function returns the following values: // // - guint: button of event. -// func (event *ButtonEvent) Button() uint { var _arg0 *C.GdkEvent // out var _cret C.guint // in @@ -7123,7 +7047,6 @@ func BaseCairoContext(obj CairoContexter) *CairoContext { // // - context (optional): cairo context to be used to draw the contents of the // GdkSurface. NULL is returned when context is not drawing. -// func (self *CairoContext) CairoCreate() *cairo.Context { var _arg0 *C.GdkCairoContext // out var _cret *C.cairo_t // in @@ -7192,7 +7115,6 @@ func (clipboard *Clipboard) ConnectChanged(f func()) coreglib.SignalHandle { // // - contentProvider (optional): content of a clipboard or NULL if the // clipboard does not maintain any content. -// func (clipboard *Clipboard) Content() *ContentProvider { var _arg0 *C.GdkClipboard // out var _cret *C.GdkContentProvider // in @@ -7216,7 +7138,6 @@ func (clipboard *Clipboard) Content() *ContentProvider { // The function returns the following values: // // - display: GdkDisplay. -// func (clipboard *Clipboard) Display() *Display { var _arg0 *C.GdkClipboard // out var _cret *C.GdkDisplay // in @@ -7239,7 +7160,6 @@ func (clipboard *Clipboard) Display() *Display { // The function returns the following values: // // - contentFormats formats of the clipboard. -// func (clipboard *Clipboard) Formats() *ContentFormats { var _arg0 *C.GdkClipboard // out var _cret *C.GdkContentFormats // in @@ -7274,7 +7194,6 @@ func (clipboard *Clipboard) Formats() *ContentFormats { // The function returns the following values: // // - ok: TRUE if the clipboard is local. -// func (clipboard *Clipboard) IsLocal() bool { var _arg0 *C.GdkClipboard // out var _cret C.gboolean // in @@ -7308,7 +7227,6 @@ func (clipboard *Clipboard) IsLocal() bool { // - mimeTypes: NULL-terminated array of mime types to choose from. // - ioPriority: i/O priority of the request. // - callback (optional) to call when the request is satisfied. -// func (clipboard *Clipboard) ReadAsync(ctx context.Context, mimeTypes []string, ioPriority int, callback gio.AsyncReadyCallback) { var _arg0 *C.GdkClipboard // out var _arg3 *C.GCancellable // out @@ -7362,7 +7280,6 @@ func (clipboard *Clipboard) ReadAsync(ctx context.Context, mimeTypes []string, i // // - outMimeType (optional): pointer to store the chosen mime type in or NULL. // - inputStream (optional): GInputStream or NULL on error. -// func (clipboard *Clipboard) ReadFinish(result gio.AsyncResulter) (string, gio.InputStreamer, error) { var _arg0 *C.GdkClipboard // out var _arg1 *C.GAsyncResult // out @@ -7421,7 +7338,6 @@ func (clipboard *Clipboard) ReadFinish(result gio.AsyncResulter) (string, gio.In // // - ctx (optional): optional GCancellable object, NULL to ignore. // - callback (optional) to call when the request is satisfied. -// func (clipboard *Clipboard) ReadTextAsync(ctx context.Context, callback gio.AsyncReadyCallback) { var _arg0 *C.GdkClipboard // out var _arg1 *C.GCancellable // out @@ -7456,7 +7372,6 @@ func (clipboard *Clipboard) ReadTextAsync(ctx context.Context, callback gio.Asyn // The function returns the following values: // // - utf8 (optional): new string or NULL on error. -// func (clipboard *Clipboard) ReadTextFinish(result gio.AsyncResulter) (string, error) { var _arg0 *C.GdkClipboard // out var _arg1 *C.GAsyncResult // out @@ -7498,7 +7413,6 @@ func (clipboard *Clipboard) ReadTextFinish(result gio.AsyncResulter) (string, er // // - ctx (optional): optional GCancellable object, NULL to ignore. // - callback (optional) to call when the request is satisfied. -// func (clipboard *Clipboard) ReadTextureAsync(ctx context.Context, callback gio.AsyncReadyCallback) { var _arg0 *C.GdkClipboard // out var _arg1 *C.GCancellable // out @@ -7533,7 +7447,6 @@ func (clipboard *Clipboard) ReadTextureAsync(ctx context.Context, callback gio.A // The function returns the following values: // // - texture (optional): new GdkTexture or NULL on error. -// func (clipboard *Clipboard) ReadTextureFinish(result gio.AsyncResulter) (Texturer, error) { var _arg0 *C.GdkClipboard // out var _arg1 *C.GAsyncResult // out @@ -7589,7 +7502,6 @@ func (clipboard *Clipboard) ReadTextureFinish(result gio.AsyncResulter) (Texture // - typ: GType to read. // - ioPriority: i/O priority of the request. // - callback (optional) to call when the request is satisfied. -// func (clipboard *Clipboard) ReadValueAsync(ctx context.Context, typ coreglib.Type, ioPriority int, callback gio.AsyncReadyCallback) { var _arg0 *C.GdkClipboard // out var _arg3 *C.GCancellable // out @@ -7630,7 +7542,6 @@ func (clipboard *Clipboard) ReadValueAsync(ctx context.Context, typ coreglib.Typ // The function returns the following values: // // - value: GValue containing the result. -// func (clipboard *Clipboard) ReadValueFinish(result gio.AsyncResulter) (*coreglib.Value, error) { var _arg0 *C.GdkClipboard // out var _arg1 *C.GAsyncResult // out @@ -7675,7 +7586,6 @@ func (clipboard *Clipboard) ReadValueFinish(result gio.AsyncResulter) (*coreglib // The function returns the following values: // // - ok: TRUE if setting the clipboard succeeded. -// func (clipboard *Clipboard) SetContent(provider *ContentProvider) bool { var _arg0 *C.GdkClipboard // out var _arg1 *C.GdkContentProvider // out @@ -7704,7 +7614,6 @@ func (clipboard *Clipboard) SetContent(provider *ContentProvider) bool { // The function takes the following parameters: // // - text: text to put into the clipboard. -// func (clipboard *Clipboard) SetText(text string) { var _arg0 *C.GdkClipboard // out var _arg1 *C.char // out @@ -7723,7 +7632,6 @@ func (clipboard *Clipboard) SetText(text string) { // The function takes the following parameters: // // - texture: GdkTexture to put into the clipboard. -// func (clipboard *Clipboard) SetTexture(texture Texturer) { var _arg0 *C.GdkClipboard // out var _arg1 *C.GdkTexture // out @@ -7741,7 +7649,6 @@ func (clipboard *Clipboard) SetTexture(texture Texturer) { // The function takes the following parameters: // // - value: GValue to set. -// func (clipboard *Clipboard) Set(value *coreglib.Value) { var _arg0 *C.GdkClipboard // out var _arg1 *C.GValue // out @@ -7774,7 +7681,6 @@ func (clipboard *Clipboard) Set(value *coreglib.Value) { // - ctx (optional): optional GCancellable object, NULL to ignore. // - ioPriority: i/O priority of the request. // - callback (optional) to call when the request is satisfied. -// func (clipboard *Clipboard) StoreAsync(ctx context.Context, ioPriority int, callback gio.AsyncReadyCallback) { var _arg0 *C.GdkClipboard // out var _arg2 *C.GCancellable // out @@ -7808,7 +7714,6 @@ func (clipboard *Clipboard) StoreAsync(ctx context.Context, ioPriority int, call // The function takes the following parameters: // // - result: GAsyncResult. -// func (clipboard *Clipboard) StoreFinish(result gio.AsyncResulter) error { var _arg0 *C.GdkClipboard // out var _arg1 *C.GAsyncResult // out @@ -7872,7 +7777,6 @@ func marshalContentDeserializer(p uintptr) (interface{}, error) { // The function returns the following values: // // - cancellable for the current operation. -// func (deserializer *ContentDeserializer) Cancellable() *gio.Cancellable { var _arg0 *C.GdkContentDeserializer // out var _cret *C.GCancellable // in @@ -7899,7 +7803,6 @@ func (deserializer *ContentDeserializer) Cancellable() *gio.Cancellable { // The function returns the following values: // // - gType: GType for the current operation. -// func (deserializer *ContentDeserializer) GType() coreglib.Type { var _arg0 *C.GdkContentDeserializer // out var _cret C.GType // in @@ -7923,7 +7826,6 @@ func (deserializer *ContentDeserializer) GType() coreglib.Type { // The function returns the following values: // // - inputStream: input stream for the current operation. -// func (deserializer *ContentDeserializer) InputStream() gio.InputStreamer { var _arg0 *C.GdkContentDeserializer // out var _cret *C.GInputStream // in @@ -7961,7 +7863,6 @@ func (deserializer *ContentDeserializer) InputStream() gio.InputStreamer { // The function returns the following values: // // - utf8: mime type for the current operation. -// func (deserializer *ContentDeserializer) MIMEType() string { var _arg0 *C.GdkContentDeserializer // out var _cret *C.char // in @@ -7985,7 +7886,6 @@ func (deserializer *ContentDeserializer) MIMEType() string { // The function returns the following values: // // - gint: i/O priority for the current operation. -// func (deserializer *ContentDeserializer) Priority() int { var _arg0 *C.GdkContentDeserializer // out var _cret C.int // in @@ -8009,7 +7909,6 @@ func (deserializer *ContentDeserializer) Priority() int { // The function returns the following values: // // - gpointer (optional): task data for deserializer. -// func (deserializer *ContentDeserializer) TaskData() unsafe.Pointer { var _arg0 *C.GdkContentDeserializer // out var _cret C.gpointer // in @@ -8032,7 +7931,6 @@ func (deserializer *ContentDeserializer) TaskData() unsafe.Pointer { // The function returns the following values: // // - gpointer (optional): user data for this deserializer. -// func (deserializer *ContentDeserializer) UserData() unsafe.Pointer { var _arg0 *C.GdkContentDeserializer // out var _cret C.gpointer // in @@ -8054,7 +7952,6 @@ func (deserializer *ContentDeserializer) UserData() unsafe.Pointer { // The function returns the following values: // // - value: GValue for the current operation. -// func (deserializer *ContentDeserializer) Value() *coreglib.Value { var _arg0 *C.GdkContentDeserializer // out var _cret *C.GValue // in @@ -8078,7 +7975,6 @@ func (deserializer *ContentDeserializer) Value() *coreglib.Value { // The function takes the following parameters: // // - err: GError. -// func (deserializer *ContentDeserializer) ReturnError(err error) { var _arg0 *C.GdkContentDeserializer // out var _arg1 *C.GError // out @@ -8121,7 +8017,6 @@ type ContentProviderOverrides struct { // The function takes the following parameters: // // - value: GValue to fill. - // Value func(value *coreglib.Value) error // RefFormats gets the formats that the provider can provide its current // contents in. @@ -8129,7 +8024,6 @@ type ContentProviderOverrides struct { // The function returns the following values: // // - contentFormats formats of the provider. - // RefFormats func() *ContentFormats // RefStorableFormats gets the formats that the provider suggests other // applications to store the data in. @@ -8141,7 +8035,6 @@ type ContentProviderOverrides struct { // The function returns the following values: // // - contentFormats: storable formats of the provider. - // RefStorableFormats func() *ContentFormats // WriteMIMETypeFinish finishes an asynchronous write operation. // @@ -8150,7 +8043,6 @@ type ContentProviderOverrides struct { // The function takes the following parameters: // // - result: GAsyncResult. - // WriteMIMETypeFinish func(result gio.AsyncResulter) error } @@ -8257,7 +8149,6 @@ func (provider *ContentProvider) ConnectContentChanged(f func()) coreglib.Signal // The function returns the following values: // // - contentProvider: new GdkContentProvider. -// func NewContentProviderForBytes(mimeType string, bytes *glib.Bytes) *ContentProvider { var _arg1 *C.char // out var _arg2 *C.GBytes // out @@ -8288,7 +8179,6 @@ func NewContentProviderForBytes(mimeType string, bytes *glib.Bytes) *ContentProv // The function returns the following values: // // - contentProvider: new GdkContentProvider. -// func NewContentProviderForValue(value *coreglib.Value) *ContentProvider { var _arg1 *C.GValue // out var _cret *C.GdkContentProvider // in @@ -8316,10 +8206,10 @@ func NewContentProviderForValue(value *coreglib.Value) *ContentProvider { // For example, an image may be provided by its file and by the image contents // with a call such as // -// gdk_content_provider_new_union ((GdkContentProvider *[2]) { -// gdk_content_provider_new_typed (G_TYPE_FILE, file), -// gdk_content_provider_new_typed (G_TYPE_TEXTURE, texture) -// }, 2);. +// gdk_content_provider_new_union ((GdkContentProvider *[2]) { +// gdk_content_provider_new_typed (G_TYPE_FILE, file), +// gdk_content_provider_new_typed (G_TYPE_TEXTURE, texture) +// }, 2);. // // The function takes the following parameters: // @@ -8328,7 +8218,6 @@ func NewContentProviderForValue(value *coreglib.Value) *ContentProvider { // The function returns the following values: // // - contentProvider: new GdkContentProvider. -// func NewContentProviderUnion(providers []*ContentProvider) *ContentProvider { var _arg1 **C.GdkContentProvider // out var _arg2 C.gsize @@ -8377,7 +8266,6 @@ func (provider *ContentProvider) ContentChanged() { // The function takes the following parameters: // // - value: GValue to fill. -// func (provider *ContentProvider) Value(value *coreglib.Value) error { var _arg0 *C.GdkContentProvider // out var _arg1 *C.GValue // out @@ -8405,7 +8293,6 @@ func (provider *ContentProvider) Value(value *coreglib.Value) error { // The function returns the following values: // // - contentFormats formats of the provider. -// func (provider *ContentProvider) RefFormats() *ContentFormats { var _arg0 *C.GdkContentProvider // out var _cret *C.GdkContentFormats // in @@ -8438,7 +8325,6 @@ func (provider *ContentProvider) RefFormats() *ContentFormats { // The function returns the following values: // // - contentFormats: storable formats of the provider. -// func (provider *ContentProvider) RefStorableFormats() *ContentFormats { var _arg0 *C.GdkContentProvider // out var _cret *C.GdkContentFormats // in @@ -8480,7 +8366,6 @@ func (provider *ContentProvider) RefStorableFormats() *ContentFormats { // - stream: GOutputStream to write to. // - ioPriority: i/O priority of the request. // - callback (optional) to call when the request is satisfied. -// func (provider *ContentProvider) WriteMIMETypeAsync(ctx context.Context, mimeType string, stream gio.OutputStreamer, ioPriority int, callback gio.AsyncReadyCallback) { var _arg0 *C.GdkContentProvider // out var _arg4 *C.GCancellable // out @@ -8521,7 +8406,6 @@ func (provider *ContentProvider) WriteMIMETypeAsync(ctx context.Context, mimeTyp // The function takes the following parameters: // // - result: GAsyncResult. -// func (provider *ContentProvider) WriteMIMETypeFinish(result gio.AsyncResulter) error { var _arg0 *C.GdkContentProvider // out var _arg1 *C.GAsyncResult // out @@ -8597,7 +8481,6 @@ func (provider *ContentProvider) detachClipboard(clipboard *Clipboard) { // The function takes the following parameters: // // - value: GValue to fill. -// func (provider *ContentProvider) value(value *coreglib.Value) error { gclass := (*C.GdkContentProviderClass)(coreglib.PeekParentClass(provider)) fnarg := gclass.get_value @@ -8628,7 +8511,6 @@ func (provider *ContentProvider) value(value *coreglib.Value) error { // The function returns the following values: // // - contentFormats formats of the provider. -// func (provider *ContentProvider) refFormats() *ContentFormats { gclass := (*C.GdkContentProviderClass)(coreglib.PeekParentClass(provider)) fnarg := gclass.ref_formats @@ -8664,7 +8546,6 @@ func (provider *ContentProvider) refFormats() *ContentFormats { // The function returns the following values: // // - contentFormats: storable formats of the provider. -// func (provider *ContentProvider) refStorableFormats() *ContentFormats { gclass := (*C.GdkContentProviderClass)(coreglib.PeekParentClass(provider)) fnarg := gclass.ref_storable_formats @@ -8709,7 +8590,6 @@ func (provider *ContentProvider) refStorableFormats() *ContentFormats { // - stream: GOutputStream to write to. // - ioPriority: i/O priority of the request. // - callback (optional) to call when the request is satisfied. -// func (provider *ContentProvider) writeMIMETypeAsync(ctx context.Context, mimeType string, stream gio.OutputStreamer, ioPriority int, callback gio.AsyncReadyCallback) { gclass := (*C.GdkContentProviderClass)(coreglib.PeekParentClass(provider)) fnarg := gclass.write_mime_type_async @@ -8753,7 +8633,6 @@ func (provider *ContentProvider) writeMIMETypeAsync(ctx context.Context, mimeTyp // The function takes the following parameters: // // - result: GAsyncResult. -// func (provider *ContentProvider) writeMIMETypeFinish(result gio.AsyncResulter) error { gclass := (*C.GdkContentProviderClass)(coreglib.PeekParentClass(provider)) fnarg := gclass.write_mime_type_finish @@ -8821,7 +8700,6 @@ func marshalContentSerializer(p uintptr) (interface{}, error) { // The function returns the following values: // // - cancellable for the current operation. -// func (serializer *ContentSerializer) Cancellable() *gio.Cancellable { var _arg0 *C.GdkContentSerializer // out var _cret *C.GCancellable // in @@ -8848,7 +8726,6 @@ func (serializer *ContentSerializer) Cancellable() *gio.Cancellable { // The function returns the following values: // // - gType: GType for the current operation. -// func (serializer *ContentSerializer) GType() coreglib.Type { var _arg0 *C.GdkContentSerializer // out var _cret C.GType // in @@ -8870,7 +8747,6 @@ func (serializer *ContentSerializer) GType() coreglib.Type { // The function returns the following values: // // - utf8: mime type for the current operation. -// func (serializer *ContentSerializer) MIMEType() string { var _arg0 *C.GdkContentSerializer // out var _cret *C.char // in @@ -8894,7 +8770,6 @@ func (serializer *ContentSerializer) MIMEType() string { // The function returns the following values: // // - outputStream: output stream for the current operation. -// func (serializer *ContentSerializer) OutputStream() gio.OutputStreamer { var _arg0 *C.GdkContentSerializer // out var _cret *C.GOutputStream // in @@ -8934,7 +8809,6 @@ func (serializer *ContentSerializer) OutputStream() gio.OutputStreamer { // The function returns the following values: // // - gint: i/O priority for the current operation. -// func (serializer *ContentSerializer) Priority() int { var _arg0 *C.GdkContentSerializer // out var _cret C.int // in @@ -8958,7 +8832,6 @@ func (serializer *ContentSerializer) Priority() int { // The function returns the following values: // // - gpointer (optional): task data for serializer. -// func (serializer *ContentSerializer) TaskData() unsafe.Pointer { var _arg0 *C.GdkContentSerializer // out var _cret C.gpointer // in @@ -8981,7 +8854,6 @@ func (serializer *ContentSerializer) TaskData() unsafe.Pointer { // The function returns the following values: // // - gpointer (optional): user data for this serializer. -// func (serializer *ContentSerializer) UserData() unsafe.Pointer { var _arg0 *C.GdkContentSerializer // out var _cret C.gpointer // in @@ -9003,7 +8875,6 @@ func (serializer *ContentSerializer) UserData() unsafe.Pointer { // The function returns the following values: // // - value: GValue for the current operation. -// func (serializer *ContentSerializer) Value() *coreglib.Value { var _arg0 *C.GdkContentSerializer // out var _cret *C.GValue // in @@ -9027,7 +8898,6 @@ func (serializer *ContentSerializer) Value() *coreglib.Value { // The function takes the following parameters: // // - err: GError. -// func (serializer *ContentSerializer) ReturnError(err error) { var _arg0 *C.GdkContentSerializer // out var _arg1 *C.GError // out @@ -9080,7 +8950,6 @@ func marshalCrossingEvent(p uintptr) (interface{}, error) { // The function returns the following values: // // - notifyType: notify detail of event. -// func (event *CrossingEvent) Detail() NotifyType { var _arg0 *C.GdkEvent // out var _cret C.GdkNotifyType // in @@ -9102,7 +8971,6 @@ func (event *CrossingEvent) Detail() NotifyType { // The function returns the following values: // // - ok: TRUE if the surface is the focus surface. -// func (event *CrossingEvent) Focus() bool { var _arg0 *C.GdkEvent // out var _cret C.gboolean // in @@ -9126,7 +8994,6 @@ func (event *CrossingEvent) Focus() bool { // The function returns the following values: // // - crossingMode: mode of event. -// func (event *CrossingEvent) Mode() CrossingMode { var _arg0 *C.GdkEvent // out var _cret C.GdkCrossingMode // in @@ -9229,7 +9096,6 @@ func marshalCursor(p uintptr) (interface{}, error) { // // - cursor (optional): new GdkCursor, or NULL if there is no cursor with the // given name. -// func NewCursorFromName(name string, fallback *Cursor) *Cursor { var _arg1 *C.char // out var _arg2 *C.GdkCursor // out @@ -9267,7 +9133,6 @@ func NewCursorFromName(name string, fallback *Cursor) *Cursor { // The function returns the following values: // // - cursor: new GdkCursor. -// func NewCursorFromTexture(texture Texturer, hotspotX, hotspotY int, fallback *Cursor) *Cursor { var _arg1 *C.GdkTexture // out var _arg2 C.int // out @@ -9307,7 +9172,6 @@ func NewCursorFromTexture(texture Texturer, hotspotX, hotspotY int, fallback *Cu // // - ret (optional): fallback of the cursor or NULL to use the default cursor // as fallback. -// func (cursor *Cursor) Fallback() *Cursor { var _arg0 *C.GdkCursor // out var _cret *C.GdkCursor // in @@ -9337,7 +9201,6 @@ func (cursor *Cursor) Fallback() *Cursor { // The function returns the following values: // // - gint: horizontal offset of the hotspot or 0 for named cursors. -// func (cursor *Cursor) HotspotX() int { var _arg0 *C.GdkCursor // out var _cret C.int // in @@ -9365,7 +9228,6 @@ func (cursor *Cursor) HotspotX() int { // The function returns the following values: // // - gint: vertical offset of the hotspot or 0 for named cursors. -// func (cursor *Cursor) HotspotY() int { var _arg0 *C.GdkCursor // out var _cret C.int // in @@ -9389,7 +9251,6 @@ func (cursor *Cursor) HotspotY() int { // The function returns the following values: // // - utf8 (optional): name of the cursor or NULL if it is not a named cursor. -// func (cursor *Cursor) Name() string { var _arg0 *C.GdkCursor // out var _cret *C.char // in @@ -9415,7 +9276,6 @@ func (cursor *Cursor) Name() string { // The function returns the following values: // // - texture (optional) for cursor or NULL if it is a named cursor. -// func (cursor *Cursor) Texture() Texturer { var _arg0 *C.GdkCursor // out var _cret *C.GdkTexture // in @@ -9474,7 +9334,6 @@ func marshalDNDEvent(p uintptr) (interface{}, error) { // The function returns the following values: // // - drop (optional): drop. -// func (event *DNDEvent) Drop() Dropper { var _arg0 *C.GdkEvent // out var _cret *C.GdkDrop // in @@ -9597,7 +9456,6 @@ func (device *Device) ConnectToolChanged(f func(tool *DeviceTool)) coreglib.Sign // The function returns the following values: // // - ok: TRUE if Caps Lock is on for device. -// func (device *Device) CapsLockState() bool { var _arg0 *C.GdkDevice // out var _cret C.gboolean // in @@ -9621,7 +9479,6 @@ func (device *Device) CapsLockState() bool { // The function returns the following values: // // - deviceTool: GdkDeviceTool, or NULL. -// func (device *Device) DeviceTool() *DeviceTool { var _arg0 *C.GdkDevice // out var _cret *C.GdkDeviceTool // in @@ -9649,7 +9506,6 @@ func (device *Device) DeviceTool() *DeviceTool { // // - direction: PANGO_DIRECTION_LTR or PANGO_DIRECTION_RTL if it can determine // the direction. PANGO_DIRECTION_NEUTRAL otherwise. -// func (device *Device) Direction() pango.Direction { var _arg0 *C.GdkDevice // out var _cret C.PangoDirection // in @@ -9671,7 +9527,6 @@ func (device *Device) Direction() pango.Direction { // The function returns the following values: // // - display: GdkDisplay. -// func (device *Device) Display() *Display { var _arg0 *C.GdkDevice // out var _cret *C.GdkDisplay // in @@ -9695,7 +9550,6 @@ func (device *Device) Display() *Display { // The function returns the following values: // // - ok: TRUE if the pointer follows device motion. -// func (device *Device) HasCursor() bool { var _arg0 *C.GdkDevice // out var _cret C.gboolean // in @@ -9721,7 +9575,6 @@ func (device *Device) HasCursor() bool { // The function returns the following values: // // - modifierType: current modifier state. -// func (device *Device) ModifierState() ModifierType { var _arg0 *C.GdkDevice // out var _cret C.GdkModifierType // in @@ -9743,7 +9596,6 @@ func (device *Device) ModifierState() ModifierType { // The function returns the following values: // // - utf8: name. -// func (device *Device) Name() string { var _arg0 *C.GdkDevice // out var _cret *C.char // in @@ -9768,7 +9620,6 @@ func (device *Device) Name() string { // The function returns the following values: // // - ok: TRUE if Num Lock is on for device. -// func (device *Device) NumLockState() bool { var _arg0 *C.GdkDevice // out var _cret C.gboolean // in @@ -9792,7 +9643,6 @@ func (device *Device) NumLockState() bool { // The function returns the following values: // // - guint: number of touch points. -// func (device *Device) NumTouches() uint { var _arg0 *C.GdkDevice // out var _cret C.guint // in @@ -9817,7 +9667,6 @@ func (device *Device) NumTouches() uint { // The function returns the following values: // // - utf8 (optional): product ID, or NULL. -// func (device *Device) ProductID() string { var _arg0 *C.GdkDevice // out var _cret *C.char // in @@ -9844,7 +9693,6 @@ func (device *Device) ProductID() string { // The function returns the following values: // // - ok: TRUE if Scroll Lock is on for device. -// func (device *Device) ScrollLockState() bool { var _arg0 *C.GdkDevice // out var _cret C.gboolean // in @@ -9868,7 +9716,6 @@ func (device *Device) ScrollLockState() bool { // The function returns the following values: // // - seat: GdkSeat. -// func (device *Device) Seat() Seater { var _arg0 *C.GdkDevice // out var _cret *C.GdkSeat // in @@ -9906,7 +9753,6 @@ func (device *Device) Seat() Seater { // The function returns the following values: // // - inputSource: GdkInputSource. -// func (device *Device) Source() InputSource { var _arg0 *C.GdkDevice // out var _cret C.GdkInputSource // in @@ -9936,7 +9782,6 @@ func (device *Device) Source() InputSource { // - winY (optional): return location for the Y coordinate of the device // location, relative to the surface origin, or NULL. // - surface (optional): GdkSurface under the device position, or NULL. -// func (device *Device) SurfaceAtPosition() (winX, winY float64, surface Surfacer) { var _arg0 *C.GdkDevice // out var _arg1 C.double // in @@ -9983,7 +9828,6 @@ func (device *Device) SurfaceAtPosition() (winX, winY float64, surface Surfacer) // The function returns the following values: // // - guint32: timestamp of the last activity for this device. -// func (device *Device) Timestamp() uint32 { var _arg0 *C.GdkDevice // out var _cret C.guint32 // in @@ -10007,28 +9851,27 @@ func (device *Device) Timestamp() uint32 { // This function, together with gdk.Device.GetProductID(), can be used to eg. // compose GSettings paths to store settings for this device. // -// static GSettings * -// get_device_settings (GdkDevice *device) -// { -// const char *vendor, *product; -// GSettings *settings; -// GdkDevice *device; -// char *path; +// static GSettings * +// get_device_settings (GdkDevice *device) +// { +// const char *vendor, *product; +// GSettings *settings; +// GdkDevice *device; +// char *path; // -// vendor = gdk_device_get_vendor_id (device); -// product = gdk_device_get_product_id (device); +// vendor = gdk_device_get_vendor_id (device); +// product = gdk_device_get_product_id (device); // -// path = g_strdup_printf ("/org/example/app/devices/s:s/", vendor, product); -// settings = g_settings_new_with_path (DEVICE_SCHEMA, path); -// g_free (path); +// path = g_strdup_printf ("/org/example/app/devices/s:s/", vendor, product); +// settings = g_settings_new_with_path (DEVICE_SCHEMA, path); +// g_free (path); // -// return settings; -// }. +// return settings; +// }. // // The function returns the following values: // // - utf8 (optional): vendor ID, or NULL. -// func (device *Device) VendorID() string { var _arg0 *C.GdkDevice // out var _cret *C.char // in @@ -10055,7 +9898,6 @@ func (device *Device) VendorID() string { // The function returns the following values: // // - ok: TRUE if there are layouts with both directions, FALSE otherwise. -// func (device *Device) HasBidiLayouts() bool { var _arg0 *C.GdkDevice // out var _cret C.gboolean // in @@ -10099,7 +9941,6 @@ func marshalDeviceTool(p uintptr) (interface{}, error) { // The function returns the following values: // // - axisFlags axes of tool. -// func (tool *DeviceTool) Axes() AxisFlags { var _arg0 *C.GdkDeviceTool // out var _cret C.GdkAxisFlags // in @@ -10130,7 +9971,6 @@ func (tool *DeviceTool) Axes() AxisFlags { // The function returns the following values: // // - guint64: hardware identificator of this tool. -// func (tool *DeviceTool) HardwareID() uint64 { var _arg0 *C.GdkDeviceTool // out var _cret C.guint64 // in @@ -10155,7 +9995,6 @@ func (tool *DeviceTool) HardwareID() uint64 { // The function returns the following values: // // - guint64: serial ID for this tool. -// func (tool *DeviceTool) Serial() uint64 { var _arg0 *C.GdkDeviceTool // out var _cret C.guint64 // in @@ -10178,7 +10017,6 @@ func (tool *DeviceTool) Serial() uint64 { // // - deviceToolType: physical type for this tool. This can be used to figure // out what sort of pen is being used, such as an airbrush or a pencil. -// func (tool *DeviceTool) ToolType() DeviceToolType { var _arg0 *C.GdkDeviceTool // out var _cret C.GdkDeviceToolType // in @@ -10291,7 +10129,6 @@ func (display *Display) Close() { // The function returns the following values: // // - ok: TRUE if there is a grab in effect for device. -// func (display *Display) DeviceIsGrabbed(device Devicer) bool { var _arg0 *C.GdkDisplay // out var _arg1 *C.GdkDevice // out @@ -10339,7 +10176,6 @@ func (display *Display) Flush() { // // - appLaunchContext: new GdkAppLaunchContext for display. Free with // g_object_unref() when done. -// func (display *Display) AppLaunchContext() *AppLaunchContext { var _arg0 *C.GdkDisplay // out var _cret *C.GdkAppLaunchContext // in @@ -10361,7 +10197,6 @@ func (display *Display) AppLaunchContext() *AppLaunchContext { // The function returns the following values: // // - clipboard display's clipboard. -// func (display *Display) Clipboard() *Clipboard { var _arg0 *C.GdkDisplay // out var _cret *C.GdkClipboard // in @@ -10386,7 +10221,6 @@ func (display *Display) Clipboard() *Clipboard { // The function returns the following values: // // - seat (optional): default seat. -// func (display *Display) DefaultSeat() Seater { var _arg0 *C.GdkDisplay // out var _cret *C.GdkSeat // in @@ -10430,7 +10264,6 @@ func (display *Display) DefaultSeat() Seater { // The function returns the following values: // // - monitor with the largest overlap with surface. -// func (display *Display) MonitorAtSurface(surface Surfacer) *Monitor { var _arg0 *C.GdkDisplay // out var _arg1 *C.GdkSurface // out @@ -10461,7 +10294,6 @@ func (display *Display) MonitorAtSurface(surface Surfacer) *Monitor { // The function returns the following values: // // - listModel of GdkMonitor. -// func (self *Display) Monitors() *gio.ListModel { var _arg0 *C.GdkDisplay // out var _cret *C.GListModel // in @@ -10489,7 +10321,6 @@ func (self *Display) Monitors() *gio.ListModel { // // - utf8: string representing the display name. This string is owned by GDK // and should not be modified or freed. -// func (display *Display) Name() string { var _arg0 *C.GdkDisplay // out var _cret *C.char // in @@ -10514,7 +10345,6 @@ func (display *Display) Name() string { // The function returns the following values: // // - clipboard: primary clipboard. -// func (display *Display) PrimaryClipboard() *Clipboard { var _arg0 *C.GdkDisplay // out var _cret *C.GdkClipboard // in @@ -10543,7 +10373,6 @@ func (display *Display) PrimaryClipboard() *Clipboard { // // - ok: TRUE if the setting existed and a value was stored in value, FALSE // otherwise. -// func (display *Display) Setting(name string, value *coreglib.Value) bool { var _arg0 *C.GdkDisplay // out var _arg1 *C.char // out @@ -10575,7 +10404,6 @@ func (display *Display) Setting(name string, value *coreglib.Value) bool { // The function returns the following values: // // - utf8 (optional): startup notification ID for display, or NULL. -// func (display *Display) StartupNotificationID() string { var _arg0 *C.GdkDisplay // out var _cret *C.char // in @@ -10599,7 +10427,6 @@ func (display *Display) StartupNotificationID() string { // The function returns the following values: // // - ok: TRUE if the display is closed. -// func (display *Display) IsClosed() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -10632,7 +10459,6 @@ func (display *Display) IsClosed() bool { // // - ok: whether surfaces with RGBA visuals can reasonably be expected to have // their alpha channels drawn correctly on the screen. -// func (display *Display) IsComposited() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -10666,7 +10492,6 @@ func (display *Display) IsComposited() bool { // // - ok: TRUE if surfaces are created with an alpha channel or FALSE if the // display does not support this functionality. -// func (display *Display) IsRGBA() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -10690,7 +10515,6 @@ func (display *Display) IsRGBA() bool { // The function returns the following values: // // - list: the list of seats known to the GdkDisplay. -// func (display *Display) ListSeats() []Seater { var _arg0 *C.GdkDisplay // out var _cret *C.GList // in @@ -10747,7 +10571,6 @@ func (display *Display) ListSeats() []Seater { // - keys (optional): return location for array of GdkKeymapKey, or NULL. // - keyvals (optional): return location for array of keyvals, or NULL. // - ok: TRUE if there were any entries. -// func (display *Display) MapKeycode(keycode uint) ([]KeymapKey, []uint, bool) { var _arg0 *C.GdkDisplay // out var _arg1 C.guint // out @@ -10824,7 +10647,6 @@ func (display *Display) MapKeycode(keycode uint) ([]KeymapKey, []uint, bool) { // // - keys: return location for an array of GdkKeymapKey. // - ok: TRUE if keys were found and returned. -// func (display *Display) MapKeyval(keyval uint) ([]KeymapKey, bool) { var _arg0 *C.GdkDisplay // out var _arg1 C.guint // out @@ -10874,7 +10696,6 @@ func (display *Display) MapKeyval(keyval uint) ([]KeymapKey, bool) { // // - startupId: startup-notification identifier, for which notification // process should be completed. -// func (display *Display) NotifyStartupComplete(startupId string) { var _arg0 *C.GdkDisplay // out var _arg1 *C.char // out @@ -10897,7 +10718,6 @@ func (display *Display) NotifyStartupComplete(startupId string) { // The function takes the following parameters: // // - event: GdkEvent. -// func (display *Display) PutEvent(event Eventer) { var _arg0 *C.GdkDisplay // out var _arg1 *C.GdkEvent // out @@ -10920,7 +10740,6 @@ func (display *Display) PutEvent(event Eventer) { // The function returns the following values: // // - ok: TRUE if surfaces with modified input shape are supported. -// func (display *Display) SupportsInputShapes() bool { var _arg0 *C.GdkDisplay // out var _cret C.gboolean // in @@ -10991,7 +10810,6 @@ func (display *Display) Sync() { // - consumed (optional): return location for modifiers that were used to // determine the group or level, or NULL. // - ok: TRUE if there was a keyval bound to keycode/state/group. -// func (display *Display) TranslateKey(keycode uint, state ModifierType, group int) (keyval uint, effectiveGroup, level int, consumed ModifierType, ok bool) { var _arg0 *C.GdkDisplay // out var _arg1 C.guint // out @@ -11039,7 +10857,6 @@ func (display *Display) TranslateKey(keycode uint, state ModifierType, group int // The function returns the following values: // // - display (optional): GdkDisplay, or NULL if there is no default display. -// func DisplayGetDefault() *Display { var _cret *C.GdkDisplay // in @@ -11064,7 +10881,6 @@ func DisplayGetDefault() *Display { // // - display (optional): GdkDisplay, or NULL if the display could not be // opened. -// func DisplayOpen(displayName string) *Display { var _arg1 *C.char // out var _cret *C.GdkDisplay // in @@ -11108,21 +10924,21 @@ func DisplayOpen(displayName string) *Display { // building your application against. At runtime, use type-check macros like // GDK_IS_X11_DISPLAY() to find out which backend is in use: // -// #ifdef GDK_WINDOWING_X11 -// if (GDK_IS_X11_DISPLAY (display)) -// { -// // make X11-specific calls here -// } -// else -// #endif -// #ifdef GDK_WINDOWING_MACOS -// if (GDK_IS_MACOS_DISPLAY (display)) -// { -// // make Quartz-specific calls here -// } -// else -// #endif -// g_error ("Unsupported GDK backend");. +// #ifdef GDK_WINDOWING_X11 +// if (GDK_IS_X11_DISPLAY (display)) +// { +// // make X11-specific calls here +// } +// else +// #endif +// #ifdef GDK_WINDOWING_MACOS +// if (GDK_IS_MACOS_DISPLAY (display)) +// { +// // make Quartz-specific calls here +// } +// else +// #endif +// g_error ("Unsupported GDK backend");. type DisplayManager struct { _ [0]func() // equal guard *coreglib.Object @@ -11152,7 +10968,6 @@ func (manager *DisplayManager) ConnectDisplayOpened(f func(display *Display)) co // The function returns the following values: // // - display (optional): GdkDisplay, or NULL if there is no default display. -// func (manager *DisplayManager) DefaultDisplay() *Display { var _arg0 *C.GdkDisplayManager // out var _cret *C.GdkDisplay // in @@ -11177,7 +10992,6 @@ func (manager *DisplayManager) DefaultDisplay() *Display { // // - sList: newly allocated GSList of GdkDisplay objects. Free with // g_slist_free() when you are done with it. -// func (manager *DisplayManager) ListDisplays() []*Display { var _arg0 *C.GdkDisplayManager // out var _cret *C.GSList // in @@ -11210,7 +11024,6 @@ func (manager *DisplayManager) ListDisplays() []*Display { // // - display (optional): GdkDisplay, or NULL if the display could not be // opened. -// func (manager *DisplayManager) OpenDisplay(name string) *Display { var _arg0 *C.GdkDisplayManager // out var _arg1 *C.char // out @@ -11238,7 +11051,6 @@ func (manager *DisplayManager) OpenDisplay(name string) *Display { // The function takes the following parameters: // // - display: GdkDisplay. -// func (manager *DisplayManager) SetDefaultDisplay(display *Display) { var _arg0 *C.GdkDisplayManager // out var _arg1 *C.GdkDisplay // out @@ -11262,7 +11074,6 @@ func (manager *DisplayManager) SetDefaultDisplay(display *Display) { // The function returns the following values: // // - displayManager: global GdkDisplayManager singleton. -// func DisplayManagerGet() *DisplayManager { var _cret *C.GdkDisplayManager // in @@ -11357,7 +11168,6 @@ func (drag *Drag) ConnectDropPerformed(f func()) coreglib.SignalHandle { // The function takes the following parameters: // // - success: whether the drag was ultimatively successful. -// func (drag *Drag) DropDone(success bool) { var _arg0 *C.GdkDrag // out var _arg1 C.gboolean // out @@ -11377,7 +11187,6 @@ func (drag *Drag) DropDone(success bool) { // The function returns the following values: // // - dragAction: GdkDragAction flags. -// func (drag *Drag) Actions() DragAction { var _arg0 *C.GdkDrag // out var _cret C.GdkDragAction // in @@ -11399,7 +11208,6 @@ func (drag *Drag) Actions() DragAction { // The function returns the following values: // // - contentProvider: GdkContentProvider associated to drag. -// func (drag *Drag) Content() *ContentProvider { var _arg0 *C.GdkDrag // out var _cret *C.GdkContentProvider // in @@ -11421,7 +11229,6 @@ func (drag *Drag) Content() *ContentProvider { // The function returns the following values: // // - device: GdkDevice associated to drag. -// func (drag *Drag) Device() Devicer { var _arg0 *C.GdkDrag // out var _cret *C.GdkDevice // in @@ -11459,7 +11266,6 @@ func (drag *Drag) Device() Devicer { // The function returns the following values: // // - display: GdkDisplay. -// func (drag *Drag) Display() *Display { var _arg0 *C.GdkDrag // out var _cret *C.GdkDisplay // in @@ -11487,7 +11293,6 @@ func (drag *Drag) Display() *Display { // The function returns the following values: // // - surface (optional): drag surface, or NULL. -// func (drag *Drag) DragSurface() Surfacer { var _arg0 *C.GdkDrag // out var _cret *C.GdkSurface // in @@ -11524,7 +11329,6 @@ func (drag *Drag) DragSurface() Surfacer { // The function returns the following values: // // - contentFormats: GdkContentFormats. -// func (drag *Drag) Formats() *ContentFormats { var _arg0 *C.GdkDrag // out var _cret *C.GdkContentFormats // in @@ -11553,7 +11357,6 @@ func (drag *Drag) Formats() *ContentFormats { // The function returns the following values: // // - dragAction: GdkDragAction value. -// func (drag *Drag) SelectedAction() DragAction { var _arg0 *C.GdkDrag // out var _cret C.GdkDragAction // in @@ -11575,7 +11378,6 @@ func (drag *Drag) SelectedAction() DragAction { // The function returns the following values: // // - surface: GdkSurface where the drag originates. -// func (drag *Drag) Surface() Surfacer { var _arg0 *C.GdkDrag // out var _cret *C.GdkSurface // in @@ -11617,7 +11419,6 @@ func (drag *Drag) Surface() Surfacer { // // - hotX: x coordinate of the drag surface hotspot. // - hotY: y coordinate of the drag surface hotspot. -// func (drag *Drag) SetHotspot(hotX, hotY int) { var _arg0 *C.GdkDrag // out var _arg1 C.int // out @@ -11658,7 +11459,6 @@ func (drag *Drag) SetHotspot(hotX, hotY int) { // The function returns the following values: // // - drag (optional): newly created gdk.Drag or NULL on error. -// func DragBegin(surface Surfacer, device Devicer, content *ContentProvider, actions DragAction, dx, dy float64) Dragger { var _arg1 *C.GdkSurface // out var _arg2 *C.GdkDevice // out @@ -11779,7 +11579,6 @@ func BaseDrawContext(obj DrawContexter) *DrawContext { // The function takes the following parameters: // // - region: minimum region that should be drawn. -// func (context *DrawContext) BeginFrame(region *cairo.Region) { var _arg0 *C.GdkDrawContext // out var _arg1 *C.cairo_region_t // out @@ -11815,7 +11614,6 @@ func (context *DrawContext) EndFrame() { // The function returns the following values: // // - display (optional): GdkDisplay or NULL. -// func (context *DrawContext) Display() *Display { var _arg0 *C.GdkDrawContext // out var _cret *C.GdkDisplay // in @@ -11846,7 +11644,6 @@ func (context *DrawContext) Display() *Display { // The function returns the following values: // // - region (optional): cairo region or NULL if not drawing a frame. -// func (context *DrawContext) FrameRegion() *cairo.Region { var _arg0 *C.GdkDrawContext // out var _cret *C.cairo_region_t // in @@ -11877,7 +11674,6 @@ func (context *DrawContext) FrameRegion() *cairo.Region { // The function returns the following values: // // - surface (optional) or NULL. -// func (context *DrawContext) Surface() Surfacer { var _arg0 *C.GdkDrawContext // out var _cret *C.GdkSurface // in @@ -11920,7 +11716,6 @@ func (context *DrawContext) Surface() Surfacer { // // - ok: TRUE if the context is between gdk.DrawContext.BeginFrame() and // gdk.DrawContext.EndFrame() calls. -// func (context *DrawContext) IsInFrame() bool { var _arg0 *C.GdkDrawContext // out var _cret C.gboolean // in @@ -12000,7 +11795,6 @@ func BaseDrop(obj Dropper) *Drop { // The function takes the following parameters: // // - action performed by the destination or 0 if the drop failed. -// func (self *Drop) Finish(action DragAction) { var _arg0 *C.GdkDrop // out var _arg1 C.GdkDragAction // out @@ -12030,7 +11824,6 @@ func (self *Drop) Finish(action DragAction) { // The function returns the following values: // // - dragAction: possible GdkDragActions. -// func (self *Drop) Actions() DragAction { var _arg0 *C.GdkDrop // out var _cret C.GdkDragAction // in @@ -12052,7 +11845,6 @@ func (self *Drop) Actions() DragAction { // The function returns the following values: // // - device: GdkDevice performing the drop. -// func (self *Drop) Device() Devicer { var _arg0 *C.GdkDrop // out var _cret *C.GdkDevice // in @@ -12090,7 +11882,6 @@ func (self *Drop) Device() Devicer { // The function returns the following values: // // - display: GdkDisplay. -// func (self *Drop) Display() *Display { var _arg0 *C.GdkDrop // out var _cret *C.GdkDisplay // in @@ -12115,7 +11906,6 @@ func (self *Drop) Display() *Display { // The function returns the following values: // // - drag (optional): corresponding GdkDrag. -// func (self *Drop) Drag() Dragger { var _arg0 *C.GdkDrop // out var _cret *C.GdkDrag // in @@ -12153,7 +11943,6 @@ func (self *Drop) Drag() Dragger { // The function returns the following values: // // - contentFormats: possible GdkContentFormats. -// func (self *Drop) Formats() *ContentFormats { var _arg0 *C.GdkDrop // out var _cret *C.GdkContentFormats // in @@ -12182,7 +11971,6 @@ func (self *Drop) Formats() *ContentFormats { // The function returns the following values: // // - surface: GdkSurface performing the drop. -// func (self *Drop) Surface() Surfacer { var _arg0 *C.GdkDrop // out var _cret *C.GdkSurface // in @@ -12225,7 +12013,6 @@ func (self *Drop) Surface() Surfacer { // - ioPriority: i/O priority for the read operation. // - callback (optional): GAsyncReadyCallback to call when the request is // satisfied. -// func (self *Drop) ReadAsync(ctx context.Context, mimeTypes []string, ioPriority int, callback gio.AsyncReadyCallback) { var _arg0 *C.GdkDrop // out var _arg3 *C.GCancellable // out @@ -12284,7 +12071,6 @@ func (self *Drop) ReadAsync(ctx context.Context, mimeTypes []string, ioPriority // // - outMimeType: return location for the used mime type. // - inputStream (optional): GInputStream, or NULL. -// func (self *Drop) ReadFinish(result gio.AsyncResulter) (string, gio.InputStreamer, error) { var _arg0 *C.GdkDrop // out var _arg1 *C.GAsyncResult // out @@ -12344,7 +12130,6 @@ func (self *Drop) ReadFinish(result gio.AsyncResulter) (string, gio.InputStreame // - typ: GType to read. // - ioPriority: i/O priority of the request. // - callback (optional) to call when the request is satisfied. -// func (self *Drop) ReadValueAsync(ctx context.Context, typ coreglib.Type, ioPriority int, callback gio.AsyncReadyCallback) { var _arg0 *C.GdkDrop // out var _arg3 *C.GCancellable // out @@ -12385,7 +12170,6 @@ func (self *Drop) ReadValueAsync(ctx context.Context, typ coreglib.Type, ioPrior // The function returns the following values: // // - value: GValue containing the result. -// func (self *Drop) ReadValueFinish(result gio.AsyncResulter) (*coreglib.Value, error) { var _arg0 *C.GdkDrop // out var _arg1 *C.GAsyncResult // out @@ -12430,7 +12214,6 @@ func (self *Drop) ReadValueFinish(result gio.AsyncResulter) (*coreglib.Value, er // drop will not be accepted. // - preferred: unique action that's a member of actions indicating the // preferred action. -// func (self *Drop) Status(actions, preferred DragAction) { var _arg0 *C.GdkDrop // out var _arg1 C.GdkDragAction // out @@ -12497,7 +12280,6 @@ func BaseEvent(obj Eventer) *Event { // // - axes: array of values for all axes. // - ok: TRUE on success, otherwise FALSE. -// func (event *Event) Axes() ([]float64, bool) { var _arg0 *C.GdkEvent // out var _arg1 *C.double // in @@ -12532,7 +12314,6 @@ func (event *Event) Axes() ([]float64, bool) { // // - value: location to store the value found. // - ok: TRUE if the specified axis was found, otherwise FALSE. -// func (event *Event) Axis(axisUse AxisUse) (float64, bool) { var _arg0 *C.GdkEvent // out var _arg1 C.GdkAxisUse // out @@ -12562,7 +12343,6 @@ func (event *Event) Axis(axisUse AxisUse) (float64, bool) { // The function returns the following values: // // - device (optional): Device. -// func (event *Event) Device() Devicer { var _arg0 *C.GdkEvent // out var _cret *C.GdkDevice // in @@ -12607,7 +12387,6 @@ func (event *Event) Device() Devicer { // The function returns the following values: // // - deviceTool (optional): current device tool, or NULL. -// func (event *Event) DeviceTool() *DeviceTool { var _arg0 *C.GdkEvent // out var _cret *C.GdkDeviceTool // in @@ -12631,7 +12410,6 @@ func (event *Event) DeviceTool() *DeviceTool { // The function returns the following values: // // - display (optional): Display. -// func (event *Event) Display() *Display { var _arg0 *C.GdkEvent // out var _cret *C.GdkDisplay // in @@ -12658,7 +12436,6 @@ func (event *Event) Display() *Display { // The function returns the following values: // // - eventSequence: event sequence that the event belongs to. -// func (event *Event) EventSequence() *EventSequence { var _arg0 *C.GdkEvent // out var _cret *C.GdkEventSequence // in @@ -12680,7 +12457,6 @@ func (event *Event) EventSequence() *EventSequence { // The function returns the following values: // // - eventType: GdkEventType. -// func (event *Event) EventType() EventType { var _arg0 *C.GdkEvent // out var _cret C.GdkEventType // in @@ -12709,7 +12485,6 @@ func (event *Event) EventType() EventType { // The function returns the following values: // // - timeCoords (optional): an array of time and coordinates. -// func (event *Event) History() []TimeCoord { var _arg0 *C.GdkEvent // out var _cret *C.GdkTimeCoord // in @@ -12741,7 +12516,6 @@ func (event *Event) History() []TimeCoord { // The function returns the following values: // // - modifierType: modifier state of event. -// func (event *Event) ModifierState() ModifierType { var _arg0 *C.GdkEvent // out var _cret C.GdkModifierType // in @@ -12765,7 +12539,6 @@ func (event *Event) ModifierState() ModifierType { // The function returns the following values: // // - ok: TRUE if this event is emulated. -// func (event *Event) PointerEmulated() bool { var _arg0 *C.GdkEvent // out var _cret C.gboolean // in @@ -12791,7 +12564,6 @@ func (event *Event) PointerEmulated() bool { // - x: location to put event surface x coordinate. // - y: location to put event surface y coordinate. // - ok -// func (event *Event) Position() (x, y float64, ok bool) { var _arg0 *C.GdkEvent // out var _arg1 C.double // in @@ -12821,7 +12593,6 @@ func (event *Event) Position() (x, y float64, ok bool) { // The function returns the following values: // // - seat (optional): Seat. -// func (event *Event) Seat() Seater { var _arg0 *C.GdkEvent // out var _cret *C.GdkSeat // in @@ -12858,7 +12629,6 @@ func (event *Event) Seat() Seater { // The function returns the following values: // // - surface associated with the event. -// func (event *Event) Surface() Surfacer { var _arg0 *C.GdkEvent // out var _cret *C.GdkSurface // in @@ -12899,7 +12669,6 @@ func (event *Event) Surface() Surfacer { // The function returns the following values: // // - guint32: timestamp field from event. -// func (event *Event) Time() uint32 { var _arg0 *C.GdkEvent // out var _cret C.guint32 // in @@ -12927,7 +12696,6 @@ func (event *Event) Time() uint32 { // The function returns the following values: // // - ok: TRUE if the event should trigger a context menu. -// func (event *Event) TriggersContextMenu() bool { var _arg0 *C.GdkEvent // out var _cret C.gboolean // in @@ -12974,7 +12742,6 @@ func marshalFocusEvent(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE of the focus is entering. -// func (event *FocusEvent) In() bool { var _arg0 *C.GdkEvent // out var _cret C.gboolean // in @@ -13158,7 +12925,6 @@ func (frameClock *FrameClock) EndUpdating() { // - frameTimings (optional): GdkFrameTimings for the frame currently being // processed, or even no frame is being processed, for the previous frame. // Before any frames have been processed, returns NULL. -// func (frameClock *FrameClock) CurrentTimings() *FrameTimings { var _arg0 *C.GdkFrameClock // out var _cret *C.GdkFrameTimings // in @@ -13190,7 +12956,6 @@ func (frameClock *FrameClock) CurrentTimings() *FrameTimings { // The function returns the following values: // // - gdouble: current fps, as a double. -// func (frameClock *FrameClock) FPS() float64 { var _arg0 *C.GdkFrameClock // out var _cret C.double // in @@ -13215,7 +12980,6 @@ func (frameClock *FrameClock) FPS() float64 { // - gint64: inside frame processing, the value of the frame counter for the // current frame. Outside of frame processing, the frame counter for the // last frame. -// func (frameClock *FrameClock) FrameCounter() int64 { var _arg0 *C.GdkFrameClock // out var _cret C.gint64 // in @@ -13243,7 +13007,6 @@ func (frameClock *FrameClock) FrameCounter() int64 { // // - gint64: timestamp in microseconds, in the timescale of of // g_get_monotonic_time(). -// func (frameClock *FrameClock) FrameTime() int64 { var _arg0 *C.GdkFrameClock // out var _cret C.gint64 // in @@ -13273,7 +13036,6 @@ func (frameClock *FrameClock) FrameTime() int64 { // // - gint64: frame counter value for the oldest frame that is available in the // internal frame history of the GdkFrameClock. -// func (frameClock *FrameClock) HistoryStart() int64 { var _arg0 *C.GdkFrameClock // out var _cret C.gint64 // in @@ -13310,7 +13072,6 @@ func (frameClock *FrameClock) HistoryStart() int64 { // - presentationTimeReturn: location to store the next candidate presentation // time after the given base time. 0 will be will be stored if no history is // present. -// func (frameClock *FrameClock) RefreshInfo(baseTime int64) (refreshIntervalReturn, presentationTimeReturn int64) { var _arg0 *C.GdkFrameClock // out var _arg1 C.gint64 // out @@ -13347,7 +13108,6 @@ func (frameClock *FrameClock) RefreshInfo(baseTime int64) (refreshIntervalReturn // // - frameTimings (optional): GdkFrameTimings object for the specified frame, // or NULL if it is not available. See gdk.FrameClock.GetHistoryStart(). -// func (frameClock *FrameClock) Timings(frameCounter int64) *FrameTimings { var _arg0 *C.GdkFrameClock // out var _arg1 C.gint64 // out @@ -13389,7 +13149,6 @@ func (frameClock *FrameClock) Timings(frameCounter int64) *FrameTimings { // The function takes the following parameters: // // - phase that is requested. -// func (frameClock *FrameClock) RequestPhase(phase FrameClockPhase) { var _arg0 *C.GdkFrameClock // out var _arg1 C.GdkFrameClockPhase // out @@ -13442,7 +13201,7 @@ func (frameClock *FrameClock) RequestPhase(phase FrameClockPhase) { // ensure that the one which you want to draw with is the current one before // issuing commands: // -// gdk_gl_context_make_current (context); +// gdk_gl_context_make_current (context); // // You can now perform your drawing using OpenGL commands. // @@ -13498,7 +13257,6 @@ func BaseGLContext(obj GLContexter) *GLContext { // The function returns the following values: // // - ok: TRUE if debugging is enabled. -// func (context *GLContext) DebugEnabled() bool { var _arg0 *C.GdkGLContext // out var _cret C.gboolean // in @@ -13522,7 +13280,6 @@ func (context *GLContext) DebugEnabled() bool { // The function returns the following values: // // - display (optional): GdkDisplay or NULL. -// func (context *GLContext) Display() *Display { var _arg0 *C.GdkGLContext // out var _cret *C.GdkDisplay // in @@ -13548,7 +13305,6 @@ func (context *GLContext) Display() *Display { // The function returns the following values: // // - ok: TRUE if the context should be forward-compatible. -// func (context *GLContext) ForwardCompatible() bool { var _arg0 *C.GdkGLContext // out var _cret C.gboolean // in @@ -13575,7 +13331,6 @@ func (context *GLContext) ForwardCompatible() bool { // // - major (optional): return location for the major version to request. // - minor (optional): return location for the minor version to request. -// func (context *GLContext) RequiredVersion() (major, minor int) { var _arg0 *C.GdkGLContext // out var _arg1 C.int // in @@ -13600,7 +13355,6 @@ func (context *GLContext) RequiredVersion() (major, minor int) { // The function returns the following values: // // - glContext (optional): GdkGLContext or NULL. -// func (context *GLContext) SharedContext() GLContexter { var _arg0 *C.GdkGLContext // out var _cret *C.GdkGLContext // in @@ -13637,7 +13391,6 @@ func (context *GLContext) SharedContext() GLContexter { // The function returns the following values: // // - surface (optional): GdkSurface or NULL. -// func (context *GLContext) Surface() Surfacer { var _arg0 *C.GdkGLContext // out var _cret *C.GdkSurface // in @@ -13674,7 +13427,6 @@ func (context *GLContext) Surface() Surfacer { // The function returns the following values: // // - ok: TRUE if the GdkGLContext is using an OpenGL ES profile. -// func (context *GLContext) UseES() bool { var _arg0 *C.GdkGLContext // out var _cret C.gboolean // in @@ -13701,7 +13453,6 @@ func (context *GLContext) UseES() bool { // // - major: return location for the major version. // - minor: return location for the minor version. -// func (context *GLContext) Version() (major, minor int) { var _arg0 *C.GdkGLContext // out var _arg1 C.int // in @@ -13741,7 +13492,6 @@ func (context *GLContext) Version() (major, minor int) { // The function returns the following values: // // - ok: TRUE if the GL context is in legacy mode. -// func (context *GLContext) IsLegacy() bool { var _arg0 *C.GdkGLContext // out var _cret C.gboolean // in @@ -13802,7 +13552,6 @@ func (context *GLContext) Realize() error { // The function takes the following parameters: // // - enabled: whether to enable debugging in the context. -// func (context *GLContext) SetDebugEnabled(enabled bool) { var _arg0 *C.GdkGLContext // out var _arg1 C.gboolean // out @@ -13831,7 +13580,6 @@ func (context *GLContext) SetDebugEnabled(enabled bool) { // The function takes the following parameters: // // - compatible: whether the context should be forward-compatible. -// func (context *GLContext) SetForwardCompatible(compatible bool) { var _arg0 *C.GdkGLContext // out var _arg1 C.gboolean // out @@ -13857,7 +13605,6 @@ func (context *GLContext) SetForwardCompatible(compatible bool) { // // - major version to request. // - minor version to request. -// func (context *GLContext) SetRequiredVersion(major, minor int) { var _arg0 *C.GdkGLContext // out var _arg1 C.int // out @@ -13891,7 +13638,6 @@ func (context *GLContext) SetRequiredVersion(major, minor int) { // // - useEs: whether the context should use OpenGL ES instead of OpenGL, // or -1 to allow auto-detection. -// func (context *GLContext) SetUseES(useEs int) { var _arg0 *C.GdkGLContext // out var _arg1 C.int // out @@ -13917,7 +13663,6 @@ func GLContextClearCurrent() { // The function returns the following values: // // - glContext (optional): current GdkGLContext, or NULL. -// func GLContextGetCurrent() GLContexter { var _cret *C.GdkGLContext // in @@ -14010,7 +13755,6 @@ func marshalGrabBrokenEvent(p uintptr) (interface{}, error) { // The function returns the following values: // // - surface: grab surface of event. -// func (event *GrabBrokenEvent) GrabSurface() Surfacer { var _arg0 *C.GdkEvent // out var _cret *C.GdkSurface // in @@ -14048,7 +13792,6 @@ func (event *GrabBrokenEvent) GrabSurface() Surfacer { // The function returns the following values: // // - ok: TRUE if the an implicit grab was broken. -// func (event *GrabBrokenEvent) Implicit() bool { var _arg0 *C.GdkEvent // out var _cret C.gboolean // in @@ -14094,7 +13837,6 @@ func marshalKeyEvent(p uintptr) (interface{}, error) { // The function returns the following values: // // - modifierType: consumed modifiers or event. -// func (event *KeyEvent) ConsumedModifiers() ModifierType { var _arg0 *C.GdkEvent // out var _cret C.GdkModifierType // in @@ -14116,7 +13858,6 @@ func (event *KeyEvent) ConsumedModifiers() ModifierType { // The function returns the following values: // // - guint: keycode of event. -// func (event *KeyEvent) Keycode() uint { var _arg0 *C.GdkEvent // out var _cret C.guint // in @@ -14138,7 +13879,6 @@ func (event *KeyEvent) Keycode() uint { // The function returns the following values: // // - guint: keyval of event. -// func (event *KeyEvent) Keyval() uint { var _arg0 *C.GdkEvent // out var _cret C.guint // in @@ -14160,7 +13900,6 @@ func (event *KeyEvent) Keyval() uint { // The function returns the following values: // // - guint: layout of event. -// func (event *KeyEvent) Layout() uint { var _arg0 *C.GdkEvent // out var _cret C.guint // in @@ -14182,7 +13921,6 @@ func (event *KeyEvent) Layout() uint { // The function returns the following values: // // - guint: shift level of event. -// func (event *KeyEvent) Level() uint { var _arg0 *C.GdkEvent // out var _cret C.guint // in @@ -14208,7 +13946,6 @@ func (event *KeyEvent) Level() uint { // - keyval: return location for a keyval. // - modifiers: return location for modifiers. // - ok: TRUE on success. -// func (event *KeyEvent) Match() (uint, ModifierType, bool) { var _arg0 *C.GdkEvent // out var _arg1 C.guint // in @@ -14238,7 +13975,6 @@ func (event *KeyEvent) Match() (uint, ModifierType, bool) { // The function returns the following values: // // - ok: TRUE if the event is for a modifier key. -// func (event *KeyEvent) IsModifier() bool { var _arg0 *C.GdkEvent // out var _cret C.gboolean // in @@ -14274,7 +14010,6 @@ func (event *KeyEvent) IsModifier() bool { // The function returns the following values: // // - keyMatch: GdkKeyMatch value describing whether event matches. -// func (event *KeyEvent) Matches(keyval uint, modifiers ModifierType) KeyMatch { var _arg0 *C.GdkEvent // out var _arg1 C.guint // out @@ -14337,7 +14072,6 @@ func marshalMemoryTexture(p uintptr) (interface{}, error) { // The function returns the following values: // // - memoryTexture: newly-created GdkTexture. -// func NewMemoryTexture(width, height int, format MemoryFormat, bytes *glib.Bytes, stride uint) *MemoryTexture { var _arg1 C.int // out var _arg2 C.int // out @@ -14402,7 +14136,6 @@ func (monitor *Monitor) ConnectInvalidate(f func()) coreglib.SignalHandle { // The function returns the following values: // // - utf8 (optional): name of the connector. -// func (monitor *Monitor) Connector() string { var _arg0 *C.GdkMonitor // out var _cret *C.char // in @@ -14426,7 +14159,6 @@ func (monitor *Monitor) Connector() string { // The function returns the following values: // // - display: display. -// func (monitor *Monitor) Display() *Display { var _arg0 *C.GdkMonitor // out var _cret *C.GdkDisplay // in @@ -14452,7 +14184,6 @@ func (monitor *Monitor) Display() *Display { // The function returns the following values: // // - geometry: GdkRectangle to be filled with the monitor geometry. -// func (monitor *Monitor) Geometry() *Rectangle { var _arg0 *C.GdkMonitor // out var _arg1 C.GdkRectangle // in @@ -14474,7 +14205,6 @@ func (monitor *Monitor) Geometry() *Rectangle { // The function returns the following values: // // - gint: physical height of the monitor. -// func (monitor *Monitor) HeightMm() int { var _arg0 *C.GdkMonitor // out var _cret C.int // in @@ -14501,7 +14231,6 @@ func (monitor *Monitor) HeightMm() int { // The function returns the following values: // // - utf8 (optional): name of the manufacturer, or NULL. -// func (monitor *Monitor) Manufacturer() string { var _arg0 *C.GdkMonitor // out var _cret *C.char // in @@ -14525,7 +14254,6 @@ func (monitor *Monitor) Manufacturer() string { // The function returns the following values: // // - utf8 (optional): monitor model, or NULL. -// func (monitor *Monitor) Model() string { var _arg0 *C.GdkMonitor // out var _cret *C.char // in @@ -14551,7 +14279,6 @@ func (monitor *Monitor) Model() string { // The function returns the following values: // // - gint: refresh rate in milli-Hertz, or 0. -// func (monitor *Monitor) RefreshRate() int { var _arg0 *C.GdkMonitor // out var _cret C.int // in @@ -14581,7 +14308,6 @@ func (monitor *Monitor) RefreshRate() int { // The function returns the following values: // // - gint: scale factor. -// func (monitor *Monitor) ScaleFactor() int { var _arg0 *C.GdkMonitor // out var _cret C.int // in @@ -14604,7 +14330,6 @@ func (monitor *Monitor) ScaleFactor() int { // The function returns the following values: // // - subpixelLayout: subpixel layout. -// func (monitor *Monitor) SubpixelLayout() SubpixelLayout { var _arg0 *C.GdkMonitor // out var _cret C.GdkSubpixelLayout // in @@ -14626,7 +14351,6 @@ func (monitor *Monitor) SubpixelLayout() SubpixelLayout { // The function returns the following values: // // - gint: physical width of the monitor. -// func (monitor *Monitor) WidthMm() int { var _arg0 *C.GdkMonitor // out var _cret C.int // in @@ -14651,7 +14375,6 @@ func (monitor *Monitor) WidthMm() int { // The function returns the following values: // // - ok: TRUE if the object corresponds to a physical monitor. -// func (monitor *Monitor) IsValid() bool { var _arg0 *C.GdkMonitor // out var _cret C.gboolean // in @@ -14720,7 +14443,6 @@ func marshalPadEvent(p uintptr) (interface{}, error) { // // - index: return location for the axis index. // - value: return location for the axis value. -// func (event *PadEvent) AxisValue() (uint, float64) { var _arg0 *C.GdkEvent // out var _arg1 C.guint // in @@ -14745,7 +14467,6 @@ func (event *PadEvent) AxisValue() (uint, float64) { // The function returns the following values: // // - guint: button of event. -// func (event *PadEvent) Button() uint { var _arg0 *C.GdkEvent // out var _cret C.guint // in @@ -14768,7 +14489,6 @@ func (event *PadEvent) Button() uint { // // - group: return location for the group. // - mode: return location for the mode. -// func (event *PadEvent) GroupMode() (group, mode uint) { var _arg0 *C.GdkEvent // out var _arg1 C.guint // in @@ -14840,7 +14560,6 @@ func marshalScrollEvent(p uintptr) (interface{}, error) { // // - deltaX: return location for x scroll delta. // - deltaY: return location for y scroll delta. -// func (event *ScrollEvent) Deltas() (deltaX, deltaY float64) { var _arg0 *C.GdkEvent // out var _arg1 C.double // in @@ -14865,7 +14584,6 @@ func (event *ScrollEvent) Deltas() (deltaX, deltaY float64) { // The function returns the following values: // // - scrollDirection: scroll direction of event. -// func (event *ScrollEvent) Direction() ScrollDirection { var _arg0 *C.GdkEvent // out var _cret C.GdkScrollDirection // in @@ -14894,7 +14612,6 @@ func (event *ScrollEvent) Direction() ScrollDirection { // The function returns the following values: // // - ok: TRUE if the event is a scroll stop event. -// func (event *ScrollEvent) IsStop() bool { var _arg0 *C.GdkEvent // out var _cret C.gboolean // in @@ -14987,7 +14704,6 @@ func (seat *Seat) ConnectToolRemoved(f func(tool *DeviceTool)) coreglib.SignalHa // The function returns the following values: // // - seatCapabilities: seat capabilities. -// func (seat *Seat) Capabilities() SeatCapabilities { var _arg0 *C.GdkSeat // out var _cret C.GdkSeatCapabilities // in @@ -15014,7 +14730,6 @@ func (seat *Seat) Capabilities() SeatCapabilities { // // - list: list of GdkDevices. The list must be freed with g_list_free(), // the elements are owned by GTK and must not be freed. -// func (seat *Seat) Devices(capabilities SeatCapabilities) []Devicer { var _arg0 *C.GdkSeat // out var _arg1 C.GdkSeatCapabilities // out @@ -15061,7 +14776,6 @@ func (seat *Seat) Devices(capabilities SeatCapabilities) []Devicer { // The function returns the following values: // // - display: GdkDisplay. This object is owned by GTK and must not be freed. -// func (seat *Seat) Display() *Display { var _arg0 *C.GdkSeat // out var _cret *C.GdkDisplay // in @@ -15084,7 +14798,6 @@ func (seat *Seat) Display() *Display { // // - device (optional): GdkDevice with keyboard capabilities. This object is // owned by GTK and must not be freed. -// func (seat *Seat) Keyboard() Devicer { var _arg0 *C.GdkSeat // out var _cret *C.GdkDevice // in @@ -15122,7 +14835,6 @@ func (seat *Seat) Keyboard() Devicer { // // - device (optional): GdkDevice with pointer capabilities. This object is // owned by GTK and must not be freed. -// func (seat *Seat) Pointer() Devicer { var _arg0 *C.GdkSeat // out var _cret *C.GdkDevice // in @@ -15159,7 +14871,6 @@ func (seat *Seat) Pointer() Devicer { // The function returns the following values: // // - list: A list of tools. Free with g_list_free(). -// func (seat *Seat) Tools() []*DeviceTool { var _arg0 *C.GdkSeat // out var _cret *C.GList // in @@ -15316,7 +15027,6 @@ func (surface *Surface) ConnectRender(f func(region *cairo.Region) (ok bool)) co // The function returns the following values: // // - surface: new GdkSurface. -// func NewSurfacePopup(parent Surfacer, autohide bool) *Surface { var _arg1 *C.GdkSurface // out var _arg2 C.gboolean // out @@ -15347,7 +15057,6 @@ func NewSurfacePopup(parent Surfacer, autohide bool) *Surface { // The function returns the following values: // // - surface: new GdkSurface. -// func NewSurfaceToplevel(display *Display) *Surface { var _arg1 *C.GdkDisplay // out var _cret *C.GdkSurface // in @@ -15382,7 +15091,6 @@ func (surface *Surface) Beep() { // The function returns the following values: // // - cairoContext: newly created GdkCairoContext. -// func (surface *Surface) CreateCairoContext() CairoContexter { var _arg0 *C.GdkSurface // out var _cret *C.GdkCairoContext // in @@ -15425,7 +15133,6 @@ func (surface *Surface) CreateCairoContext() CairoContexter { // The function returns the following values: // // - glContext: newly created GdkGLContext, or NULL on error. -// func (surface *Surface) CreateGLContext() (GLContexter, error) { var _arg0 *C.GdkSurface // out var _cret *C.GdkGLContext // in @@ -15488,7 +15195,6 @@ func (surface *Surface) CreateGLContext() (GLContexter, error) { // // - ret: pointer to the newly allocated surface. The caller owns the surface // and should call cairo_surface_destroy() when done with it. -// func (surface *Surface) CreateSimilarSurface(content cairo.Content, width, height int) *cairo.Surface { var _arg0 *C.GdkSurface // out var _arg1 C.cairo_content_t // out @@ -15524,7 +15230,6 @@ func (surface *Surface) CreateSimilarSurface(content cairo.Content, width, heigh // The function returns the following values: // // - vulkanContext: newly created GdkVulkanContext, or NULL on error. -// func (surface *Surface) CreateVulkanContext() (VulkanContexter, error) { var _arg0 *C.GdkSurface // out var _cret *C.GdkVulkanContext // in @@ -15590,7 +15295,6 @@ func (surface *Surface) Destroy() { // - cursor (optional): GdkCursor, or NULL. The returned object is owned // by the GdkSurface and should not be unreferenced directly. Use // gdk.Surface.SetCursor() to unset the cursor of the surface. -// func (surface *Surface) Cursor() *Cursor { var _arg0 *C.GdkSurface // out var _cret *C.GdkCursor // in @@ -15624,7 +15328,6 @@ func (surface *Surface) Cursor() *Cursor { // - cursor (optional): GdkCursor, or NULL. The returned object is owned // by the GdkSurface and should not be unreferenced directly. Use // gdk.Surface.SetCursor() to unset the cursor of the surface. -// func (surface *Surface) DeviceCursor(device Devicer) *Cursor { var _arg0 *C.GdkSurface // out var _arg1 *C.GdkDevice // out @@ -15661,7 +15364,6 @@ func (surface *Surface) DeviceCursor(device Devicer) *Cursor { // - y (optional): return location for the Y coordinate of device, or NULL. // - mask (optional): return location for the modifier mask, or NULL. // - ok: TRUE if the device is over the surface. -// func (surface *Surface) DevicePosition(device Devicer) (x, y float64, mask ModifierType, ok bool) { var _arg0 *C.GdkSurface // out var _arg1 *C.GdkDevice // out @@ -15697,7 +15399,6 @@ func (surface *Surface) DevicePosition(device Devicer) (x, y float64, mask Modif // The function returns the following values: // // - display: GdkDisplay associated with surface. -// func (surface *Surface) Display() *Display { var _arg0 *C.GdkSurface // out var _cret *C.GdkDisplay // in @@ -15722,7 +15423,6 @@ func (surface *Surface) Display() *Display { // The function returns the following values: // // - frameClock: frame clock. -// func (surface *Surface) FrameClock() FrameClocker { var _arg0 *C.GdkSurface // out var _cret *C.GdkFrameClock // in @@ -15763,7 +15463,6 @@ func (surface *Surface) FrameClock() FrameClocker { // The function returns the following values: // // - gint: height of surface. -// func (surface *Surface) Height() int { var _arg0 *C.GdkSurface // out var _cret C.int // in @@ -15787,7 +15486,6 @@ func (surface *Surface) Height() int { // The function returns the following values: // // - ok: TRUE if the surface is mapped. -// func (surface *Surface) Mapped() bool { var _arg0 *C.GdkSurface // out var _cret C.gboolean // in @@ -15821,7 +15519,6 @@ func (surface *Surface) Mapped() bool { // The function returns the following values: // // - gint: scale factor. -// func (surface *Surface) ScaleFactor() int { var _arg0 *C.GdkSurface // out var _cret C.int // in @@ -15846,7 +15543,6 @@ func (surface *Surface) ScaleFactor() int { // The function returns the following values: // // - gint: width of surface. -// func (surface *Surface) Width() int { var _arg0 *C.GdkSurface // out var _cret C.int // in @@ -15882,7 +15578,6 @@ func (surface *Surface) Hide() { // The function returns the following values: // // - ok: TRUE if the surface is destroyed. -// func (surface *Surface) IsDestroyed() bool { var _arg0 *C.GdkSurface // out var _cret C.gboolean // in @@ -15939,7 +15634,6 @@ func (surface *Surface) RequestLayout() { // The function takes the following parameters: // // - cursor (optional): GdkCursor. -// func (surface *Surface) SetCursor(cursor *Cursor) { var _arg0 *C.GdkSurface // out var _arg1 *C.GdkCursor // out @@ -15967,7 +15661,6 @@ func (surface *Surface) SetCursor(cursor *Cursor) { // // - device: pointer GdkDevice. // - cursor: GdkCursor. -// func (surface *Surface) SetDeviceCursor(device Devicer, cursor *Cursor) { var _arg0 *C.GdkSurface // out var _arg1 *C.GdkDevice // out @@ -16000,7 +15693,6 @@ func (surface *Surface) SetDeviceCursor(device Devicer, cursor *Cursor) { // The function takes the following parameters: // // - region of surface to be reactive. -// func (surface *Surface) SetInputRegion(region *cairo.Region) { var _arg0 *C.GdkSurface // out var _arg1 *C.cairo_region_t // out @@ -16031,7 +15723,6 @@ func (surface *Surface) SetInputRegion(region *cairo.Region) { // The function takes the following parameters: // // - region (optional): region, or NULL. -// func (surface *Surface) SetOpaqueRegion(region *cairo.Region) { var _arg0 *C.GdkSurface // out var _arg1 *C.cairo_region_t // out @@ -16112,7 +15803,6 @@ func BaseTexture(obj Texturer) *Texture { // The function returns the following values: // // - texture: new GdkTexture. -// func NewTextureForPixbuf(pixbuf *gdkpixbuf.Pixbuf) *Texture { var _arg1 *C.GdkPixbuf // out var _cret *C.GdkTexture // in @@ -16143,7 +15833,6 @@ func NewTextureForPixbuf(pixbuf *gdkpixbuf.Pixbuf) *Texture { // The function returns the following values: // // - texture: newly-created GdkTexture or NULL if an error occurred. -// func NewTextureFromFile(file gio.Filer) (*Texture, error) { var _arg1 *C.GFile // out var _cret *C.GdkTexture // in @@ -16182,7 +15871,6 @@ func NewTextureFromFile(file gio.Filer) (*Texture, error) { // The function returns the following values: // // - texture: newly-created GdkTexture. -// func NewTextureFromResource(resourcePath string) *Texture { var _arg1 *C.char // out var _cret *C.GdkTexture // in @@ -16205,7 +15893,6 @@ func NewTextureFromResource(resourcePath string) *Texture { // The function returns the following values: // // - gint: height of the GdkTexture. -// func (texture *Texture) Height() int { var _arg0 *C.GdkTexture // out var _cret C.int // in @@ -16227,7 +15914,6 @@ func (texture *Texture) Height() int { // The function returns the following values: // // - gint: width of the GdkTexture. -// func (texture *Texture) Width() int { var _arg0 *C.GdkTexture // out var _cret C.int // in @@ -16257,7 +15943,6 @@ func (texture *Texture) Width() int { // The function returns the following values: // // - ok: TRUE if saving succeeded, FALSE on failure. -// func (texture *Texture) SaveToPNG(filename string) bool { var _arg0 *C.GdkTexture // out var _arg1 *C.char // out @@ -16307,7 +15992,6 @@ func marshalTouchEvent(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if event is emulating. -// func (event *TouchEvent) EmulatingPointer() bool { var _arg0 *C.GdkEvent // out var _cret C.gboolean // in @@ -16359,7 +16043,6 @@ func marshalTouchpadEvent(p uintptr) (interface{}, error) { // // - dx: return location for x. // - dy: return location for y. -// func (event *TouchpadEvent) Deltas() (dx, dy float64) { var _arg0 *C.GdkEvent // out var _arg1 C.double // in @@ -16384,7 +16067,6 @@ func (event *TouchpadEvent) Deltas() (dx, dy float64) { // The function returns the following values: // // - touchpadGesturePhase: gesture phase of event. -// func (event *TouchpadEvent) GesturePhase() TouchpadGesturePhase { var _arg0 *C.GdkEvent // out var _cret C.GdkTouchpadGesturePhase // in @@ -16406,7 +16088,6 @@ func (event *TouchpadEvent) GesturePhase() TouchpadGesturePhase { // The function returns the following values: // // - guint: number of fingers for event. -// func (event *TouchpadEvent) NFingers() uint { var _arg0 *C.GdkEvent // out var _cret C.guint // in @@ -16428,7 +16109,6 @@ func (event *TouchpadEvent) NFingers() uint { // The function returns the following values: // // - gdouble: angle delta of event. -// func (event *TouchpadEvent) PinchAngleDelta() float64 { var _arg0 *C.GdkEvent // out var _cret C.double // in @@ -16450,7 +16130,6 @@ func (event *TouchpadEvent) PinchAngleDelta() float64 { // The function returns the following values: // // - gdouble: scale of event. -// func (event *TouchpadEvent) PinchScale() float64 { var _arg0 *C.GdkEvent // out var _cret C.double // in @@ -16645,7 +16324,6 @@ func NewContentFormatsForGType(typ coreglib.Type) *ContentFormats { // The function returns the following values: // // - ok: TRUE if the #GType was found. -// func (formats *ContentFormats) ContainGType(typ coreglib.Type) bool { var _arg0 *C.GdkContentFormats // out var _arg1 C.GType // out @@ -16676,7 +16354,6 @@ func (formats *ContentFormats) ContainGType(typ coreglib.Type) bool { // The function returns the following values: // // - ok: TRUE if the mime_type was found. -// func (formats *ContentFormats) ContainMIMEType(mimeType string) bool { var _arg0 *C.GdkContentFormats // out var _arg1 *C.char // out @@ -16708,7 +16385,6 @@ func (formats *ContentFormats) ContainMIMEType(mimeType string) bool { // // - gTypes (optional): G_TYPE_INVALID-terminated array of types included in // formats or NULL if none. -// func (formats *ContentFormats) GTypes() []coreglib.Type { var _arg0 *C.GdkContentFormats // out var _cret *C.GType // in @@ -16743,7 +16419,6 @@ func (formats *ContentFormats) GTypes() []coreglib.Type { // // - utf8s (optional): NULL-terminated array of interned strings of mime types // included in formats or NULL if none. -// func (formats *ContentFormats) MIMETypes() []string { var _arg0 *C.GdkContentFormats // out var _cret **C.char // in @@ -16778,7 +16453,6 @@ func (formats *ContentFormats) MIMETypes() []string { // The function returns the following values: // // - ok: TRUE if a matching format was found. -// func (first *ContentFormats) Match(second *ContentFormats) bool { var _arg0 *C.GdkContentFormats // out var _arg1 *C.GdkContentFormats // out @@ -16811,7 +16485,6 @@ func (first *ContentFormats) Match(second *ContentFormats) bool { // The function returns the following values: // // - gType: first common GType or G_TYPE_INVALID if none. -// func (first *ContentFormats) MatchGType(second *ContentFormats) coreglib.Type { var _arg0 *C.GdkContentFormats // out var _arg1 *C.GdkContentFormats // out @@ -16843,7 +16516,6 @@ func (first *ContentFormats) MatchGType(second *ContentFormats) coreglib.Type { // The function returns the following values: // // - utf8 (optional): first common mime type or NULL if none. -// func (first *ContentFormats) MatchMIMEType(second *ContentFormats) string { var _arg0 *C.GdkContentFormats // out var _arg1 *C.GdkContentFormats // out @@ -16873,7 +16545,6 @@ func (first *ContentFormats) MatchMIMEType(second *ContentFormats) string { // The function returns the following values: // // - utf8: new string. -// func (formats *ContentFormats) String() string { var _arg0 *C.GdkContentFormats // out var _cret *C.char // in @@ -16901,7 +16572,6 @@ func (formats *ContentFormats) String() string { // The function returns the following values: // // - contentFormats: new GdkContentFormats. -// func (first *ContentFormats) Union(second *ContentFormats) *ContentFormats { var _arg0 *C.GdkContentFormats // out var _arg1 *C.GdkContentFormats // out @@ -16933,7 +16603,6 @@ func (first *ContentFormats) Union(second *ContentFormats) *ContentFormats { // The function returns the following values: // // - contentFormats: new GdkContentFormats. -// func (formats *ContentFormats) UnionDeserializeGTypes() *ContentFormats { var _arg0 *C.GdkContentFormats // out var _cret *C.GdkContentFormats // in @@ -16962,7 +16631,6 @@ func (formats *ContentFormats) UnionDeserializeGTypes() *ContentFormats { // The function returns the following values: // // - contentFormats: new GdkContentFormats. -// func (formats *ContentFormats) UnionDeserializeMIMETypes() *ContentFormats { var _arg0 *C.GdkContentFormats // out var _cret *C.GdkContentFormats // in @@ -16991,7 +16659,6 @@ func (formats *ContentFormats) UnionDeserializeMIMETypes() *ContentFormats { // The function returns the following values: // // - contentFormats: new GdkContentFormats. -// func (formats *ContentFormats) UnionSerializeGTypes() *ContentFormats { var _arg0 *C.GdkContentFormats // out var _cret *C.GdkContentFormats // in @@ -17020,7 +16687,6 @@ func (formats *ContentFormats) UnionSerializeGTypes() *ContentFormats { // The function returns the following values: // // - contentFormats: new GdkContentFormats. -// func (formats *ContentFormats) UnionSerializeMIMETypes() *ContentFormats { var _arg0 *C.GdkContentFormats // out var _cret *C.GdkContentFormats // in @@ -17086,7 +16752,6 @@ func NewContentFormatsBuilder() *ContentFormatsBuilder { // The function takes the following parameters: // // - formats to add. -// func (builder *ContentFormatsBuilder) AddFormats(formats *ContentFormats) { var _arg0 *C.GdkContentFormatsBuilder // out var _arg1 *C.GdkContentFormats // out @@ -17104,7 +16769,6 @@ func (builder *ContentFormatsBuilder) AddFormats(formats *ContentFormats) { // The function takes the following parameters: // // - typ: GType. -// func (builder *ContentFormatsBuilder) AddGType(typ coreglib.Type) { var _arg0 *C.GdkContentFormatsBuilder // out var _arg1 C.GType // out @@ -17122,7 +16786,6 @@ func (builder *ContentFormatsBuilder) AddGType(typ coreglib.Type) { // The function takes the following parameters: // // - mimeType: mime type. -// func (builder *ContentFormatsBuilder) AddMIMEType(mimeType string) { var _arg0 *C.GdkContentFormatsBuilder // out var _arg1 *C.char // out @@ -17148,7 +16811,6 @@ func (builder *ContentFormatsBuilder) AddMIMEType(mimeType string) { // // - contentFormats: newly created GdkContentFormats with all the formats // added to builder. -// func (builder *ContentFormatsBuilder) ToFormats() *ContentFormats { var _arg0 *C.GdkContentFormatsBuilder // out var _cret *C.GdkContentFormats // in @@ -17240,7 +16902,6 @@ func marshalFrameTimings(p uintptr) (interface{}, error) { // // - ok: TRUE if all information that will be available for the frame has been // filled in. -// func (timings *FrameTimings) Complete() bool { var _arg0 *C.GdkFrameTimings // out var _cret C.gboolean // in @@ -17265,7 +16926,6 @@ func (timings *FrameTimings) Complete() bool { // The function returns the following values: // // - gint64: frame counter value for this frame. -// func (timings *FrameTimings) FrameCounter() int64 { var _arg0 *C.GdkFrameTimings // out var _cret C.gint64 // in @@ -17291,7 +16951,6 @@ func (timings *FrameTimings) FrameCounter() int64 { // // - gint64: frame time for the frame, in the timescale of // g_get_monotonic_time(). -// func (timings *FrameTimings) FrameTime() int64 { var _arg0 *C.GdkFrameTimings // out var _cret C.gint64 // in @@ -17326,7 +16985,6 @@ func (timings *FrameTimings) FrameTime() int64 { // - gint64: predicted time at which the frame will be presented, in the // timescale of g_get_monotonic_time(), or 0 if no predicted presentation // time is available. -// func (timings *FrameTimings) PredictedPresentationTime() int64 { var _arg0 *C.GdkFrameTimings // out var _cret C.gint64 // in @@ -17352,7 +17010,6 @@ func (timings *FrameTimings) PredictedPresentationTime() int64 { // - gint64: time the frame was displayed to the user, in the timescale of // g_get_monotonic_time(), or 0 if no presentation time is available. // See gdk.FrameTimings.GetComplete(). -// func (timings *FrameTimings) PresentationTime() int64 { var _arg0 *C.GdkFrameTimings // out var _cret C.gint64 // in @@ -17378,7 +17035,6 @@ func (timings *FrameTimings) PresentationTime() int64 { // // - gint64: refresh interval of the display, in microseconds, or 0 if the // refresh interval is not available. See gdk.FrameTimings.GetComplete(). -// func (timings *FrameTimings) RefreshInterval() int64 { var _arg0 *C.GdkFrameTimings // out var _cret C.gint64 // in @@ -17586,7 +17242,6 @@ func NewPopupLayout(anchorRect *Rectangle, rectAnchor Gravity, surfaceAnchor Gra // The function returns the following values: // // - popupLayout: copy of layout. -// func (layout *PopupLayout) Copy() *PopupLayout { var _arg0 *C.GdkPopupLayout // out var _cret *C.GdkPopupLayout // in @@ -17619,7 +17274,6 @@ func (layout *PopupLayout) Copy() *PopupLayout { // // - ok: TRUE if layout and other have identical layout properties, otherwise // FALSE. -// func (layout *PopupLayout) Equal(other *PopupLayout) bool { var _arg0 *C.GdkPopupLayout // out var _arg1 *C.GdkPopupLayout // out @@ -17646,7 +17300,6 @@ func (layout *PopupLayout) Equal(other *PopupLayout) bool { // The function returns the following values: // // - anchorHints: GdkAnchorHints. -// func (layout *PopupLayout) AnchorHints() AnchorHints { var _arg0 *C.GdkPopupLayout // out var _cret C.GdkAnchorHints // in @@ -17668,7 +17321,6 @@ func (layout *PopupLayout) AnchorHints() AnchorHints { // The function returns the following values: // // - rectangle: anchor rectangle. -// func (layout *PopupLayout) AnchorRect() *Rectangle { var _arg0 *C.GdkPopupLayout // out var _cret *C.GdkRectangle // in @@ -17691,7 +17343,6 @@ func (layout *PopupLayout) AnchorRect() *Rectangle { // // - dx: return location for the delta X coordinate. // - dy: return location for the delta Y coordinate. -// func (layout *PopupLayout) Offset() (dx int, dy int) { var _arg0 *C.GdkPopupLayout // out var _arg1 C.int // in @@ -17716,7 +17367,6 @@ func (layout *PopupLayout) Offset() (dx int, dy int) { // The function returns the following values: // // - gravity: anchor on the anchor rectangle. -// func (layout *PopupLayout) RectAnchor() Gravity { var _arg0 *C.GdkPopupLayout // out var _cret C.GdkGravity // in @@ -17741,7 +17391,6 @@ func (layout *PopupLayout) RectAnchor() Gravity { // - right: return location for the right shadow width. // - top: return location for the top shadow width. // - bottom: return location for the bottom shadow width. -// func (layout *PopupLayout) ShadowWidth() (left int, right int, top int, bottom int) { var _arg0 *C.GdkPopupLayout // out var _arg1 C.int // in @@ -17772,7 +17421,6 @@ func (layout *PopupLayout) ShadowWidth() (left int, right int, top int, bottom i // The function returns the following values: // // - gravity: anchor on the popup surface. -// func (layout *PopupLayout) SurfaceAnchor() Gravity { var _arg0 *C.GdkPopupLayout // out var _cret C.GdkGravity // in @@ -17799,7 +17447,6 @@ func (layout *PopupLayout) SurfaceAnchor() Gravity { // The function takes the following parameters: // // - anchorHints: new GdkAnchorHints. -// func (layout *PopupLayout) SetAnchorHints(anchorHints AnchorHints) { var _arg0 *C.GdkPopupLayout // out var _arg1 C.GdkAnchorHints // out @@ -17817,7 +17464,6 @@ func (layout *PopupLayout) SetAnchorHints(anchorHints AnchorHints) { // The function takes the following parameters: // // - anchorRect: new anchor rectangle. -// func (layout *PopupLayout) SetAnchorRect(anchorRect *Rectangle) { var _arg0 *C.GdkPopupLayout // out var _arg1 *C.GdkRectangle // out @@ -17836,7 +17482,6 @@ func (layout *PopupLayout) SetAnchorRect(anchorRect *Rectangle) { // // - dx: x delta to offset the anchor rectangle with. // - dy: y delta to offset the anchor rectangle with. -// func (layout *PopupLayout) SetOffset(dx int, dy int) { var _arg0 *C.GdkPopupLayout // out var _arg1 C.int // out @@ -17857,7 +17502,6 @@ func (layout *PopupLayout) SetOffset(dx int, dy int) { // The function takes the following parameters: // // - anchor: new rect anchor. -// func (layout *PopupLayout) SetRectAnchor(anchor Gravity) { var _arg0 *C.GdkPopupLayout // out var _arg1 C.GdkGravity // out @@ -17882,7 +17526,6 @@ func (layout *PopupLayout) SetRectAnchor(anchor Gravity) { // - right: width of the right part of the shadow. // - top: height of the top part of the shadow. // - bottom: height of the bottom part of the shadow. -// func (layout *PopupLayout) SetShadowWidth(left int, right int, top int, bottom int) { var _arg0 *C.GdkPopupLayout // out var _arg1 C.int // out @@ -17909,7 +17552,6 @@ func (layout *PopupLayout) SetShadowWidth(left int, right int, top int, bottom i // The function takes the following parameters: // // - anchor: new popup surface anchor. -// func (layout *PopupLayout) SetSurfaceAnchor(anchor Gravity) { var _arg0 *C.GdkPopupLayout // out var _arg1 C.GdkGravity // out @@ -18034,7 +17676,6 @@ func (r *RGBA) SetAlpha(alpha float32) { // The function returns the following values: // // - rgbA: newly allocated GdkRGBA, with the same contents as rgba. -// func (rgba *RGBA) Copy() *RGBA { var _arg0 *C.GdkRGBA // out var _cret *C.GdkRGBA // in @@ -18066,7 +17707,6 @@ func (rgba *RGBA) Copy() *RGBA { // The function returns the following values: // // - ok: TRUE if the two colors compare equal. -// func (p1 *RGBA) Equal(p2 *RGBA) bool { var _arg0 C.gconstpointer // out var _arg1 C.gconstpointer // out @@ -18093,7 +17733,6 @@ func (p1 *RGBA) Equal(p2 *RGBA) bool { // The function returns the following values: // // - guint: hash value for p. -// func (p *RGBA) Hash() uint { var _arg0 C.gconstpointer // out var _cret C.guint // in @@ -18117,7 +17756,6 @@ func (p *RGBA) Hash() uint { // The function returns the following values: // // - ok: TRUE if the rgba is clear. -// func (rgba *RGBA) IsClear() bool { var _arg0 *C.GdkRGBA // out var _cret C.gboolean // in @@ -18144,7 +17782,6 @@ func (rgba *RGBA) IsClear() bool { // The function returns the following values: // // - ok: TRUE if the rgba is opaque. -// func (rgba *RGBA) IsOpaque() bool { var _arg0 *C.GdkRGBA // out var _cret C.gboolean // in @@ -18192,7 +17829,6 @@ func (rgba *RGBA) IsOpaque() bool { // The function returns the following values: // // - ok: TRUE if the parsing succeeded. -// func (rgba *RGBA) Parse(spec string) bool { var _arg0 *C.GdkRGBA // out var _arg1 *C.char // out @@ -18231,7 +17867,6 @@ func (rgba *RGBA) Parse(spec string) bool { // The function returns the following values: // // - utf8: newly allocated text string. -// func (rgba *RGBA) String() string { var _arg0 *C.GdkRGBA // out var _cret *C.char // in @@ -18369,7 +18004,6 @@ func (r *Rectangle) SetHeight(height int) { // The function returns the following values: // // - ok if rect contains the point. -// func (rect *Rectangle) ContainsPoint(x int, y int) bool { var _arg0 *C.GdkRectangle // out var _arg1 C.int // out @@ -18403,7 +18037,6 @@ func (rect *Rectangle) ContainsPoint(x int, y int) bool { // The function returns the following values: // // - ok: TRUE if the rectangles are equal. -// func (rect1 *Rectangle) Equal(rect2 *Rectangle) bool { var _arg0 *C.GdkRectangle // out var _arg1 *C.GdkRectangle // out @@ -18442,7 +18075,6 @@ func (rect1 *Rectangle) Equal(rect2 *Rectangle) bool { // - dest (optional): return location for the intersection of src1 and src2, // or NULL. // - ok: TRUE if the rectangles intersect. -// func (src1 *Rectangle) Intersect(src2 *Rectangle) (*Rectangle, bool) { var _arg0 *C.GdkRectangle // out var _arg1 *C.GdkRectangle // out @@ -18483,7 +18115,6 @@ func (src1 *Rectangle) Intersect(src2 *Rectangle) (*Rectangle, bool) { // The function returns the following values: // // - dest: return location for the union of src1 and src2. -// func (src1 *Rectangle) Union(src2 *Rectangle) *Rectangle { var _arg0 *C.GdkRectangle // out var _arg1 *C.GdkRectangle // out @@ -18592,7 +18223,6 @@ func NewToplevelLayout() *ToplevelLayout { // The function returns the following values: // // - toplevelLayout: copy of layout. -// func (layout *ToplevelLayout) Copy() *ToplevelLayout { var _arg0 *C.GdkToplevelLayout // out var _cret *C.GdkToplevelLayout // in @@ -18625,7 +18255,6 @@ func (layout *ToplevelLayout) Copy() *ToplevelLayout { // // - ok: TRUE if layout and other have identical layout properties, otherwise // FALSE. -// func (layout *ToplevelLayout) Equal(other *ToplevelLayout) bool { var _arg0 *C.GdkToplevelLayout // out var _arg1 *C.GdkToplevelLayout // out @@ -18655,7 +18284,6 @@ func (layout *ToplevelLayout) Equal(other *ToplevelLayout) bool { // // - fullscreen: location to store whether the toplevel should be fullscreen. // - ok: whether the layout specifies the fullscreen state for the toplevel. -// func (layout *ToplevelLayout) Fullscreen() (fullscreen bool, ok bool) { var _arg0 *C.GdkToplevelLayout // out var _arg1 C.gboolean // in @@ -18685,7 +18313,6 @@ func (layout *ToplevelLayout) Fullscreen() (fullscreen bool, ok bool) { // The function returns the following values: // // - monitor (optional) on which layout fullscreens. -// func (layout *ToplevelLayout) FullscreenMonitor() *Monitor { var _arg0 *C.GdkToplevelLayout // out var _cret *C.GdkMonitor // in @@ -18712,7 +18339,6 @@ func (layout *ToplevelLayout) FullscreenMonitor() *Monitor { // // - maximized: set to TRUE if the toplevel should be maximized. // - ok: whether the layout specifies the maximized state for the toplevel. -// func (layout *ToplevelLayout) Maximized() (maximized bool, ok bool) { var _arg0 *C.GdkToplevelLayout // out var _arg1 C.gboolean // in @@ -18742,7 +18368,6 @@ func (layout *ToplevelLayout) Maximized() (maximized bool, ok bool) { // The function returns the following values: // // - ok: TRUE if the layout is resizable. -// func (layout *ToplevelLayout) Resizable() bool { var _arg0 *C.GdkToplevelLayout // out var _cret C.gboolean // in @@ -18768,7 +18393,6 @@ func (layout *ToplevelLayout) Resizable() bool { // // - fullscreen: TRUE to fullscreen the surface. // - monitor (optional) to fullscreen on. -// func (layout *ToplevelLayout) SetFullscreen(fullscreen bool, monitor *Monitor) { var _arg0 *C.GdkToplevelLayout // out var _arg1 C.gboolean // out @@ -18794,7 +18418,6 @@ func (layout *ToplevelLayout) SetFullscreen(fullscreen bool, monitor *Monitor) { // The function takes the following parameters: // // - maximized: TRUE to maximize. -// func (layout *ToplevelLayout) SetMaximized(maximized bool) { var _arg0 *C.GdkToplevelLayout // out var _arg1 C.gboolean // out @@ -18815,7 +18438,6 @@ func (layout *ToplevelLayout) SetMaximized(maximized bool) { // The function takes the following parameters: // // - resizable: TRUE to allow resizing. -// func (layout *ToplevelLayout) SetResizable(resizable bool) { var _arg0 *C.GdkToplevelLayout // out var _arg1 C.gboolean // out diff --git a/pkg/gdkpixbuf/v2/gdkpixbuf.go b/pkg/gdkpixbuf/v2/gdkpixbuf.go index 31a64a267..6612bee90 100644 --- a/pkg/gdkpixbuf/v2/gdkpixbuf.go +++ b/pkg/gdkpixbuf/v2/gdkpixbuf.go @@ -478,7 +478,7 @@ type PixbufSaveFunc func(buf []byte) (err error, ok bool) // Use gdkpixbuf.Pixbuf.Copy() instead, or compute the width in bytes of the // last row as: // -// last_row = width * ((n_channels * bits_per_sample + 7) / 8); +// last_row = width * ((n_channels * bits_per_sample + 7) / 8); // // The same rule applies when iterating over each row of a GdkPixbuf pixels // array. @@ -486,42 +486,42 @@ type PixbufSaveFunc func(buf []byte) (err error, ok bool) // The following code illustrates a simple put_pixel() function for RGB pixbufs // with 8 bits per channel with an alpha channel. // -// static void -// put_pixel (GdkPixbuf *pixbuf, -// int x, -// int y, -// guchar red, -// guchar green, -// guchar blue, -// guchar alpha) -// { -// int n_channels = gdk_pixbuf_get_n_channels (pixbuf); -// -// // Ensure that the pixbuf is valid -// g_assert (gdk_pixbuf_get_colorspace (pixbuf) == GDK_COLORSPACE_RGB); -// g_assert (gdk_pixbuf_get_bits_per_sample (pixbuf) == 8); -// g_assert (gdk_pixbuf_get_has_alpha (pixbuf)); -// g_assert (n_channels == 4); -// -// int width = gdk_pixbuf_get_width (pixbuf); -// int height = gdk_pixbuf_get_height (pixbuf); -// -// // Ensure that the coordinates are in a valid range -// g_assert (x >= 0 && x < width); -// g_assert (y >= 0 && y < height); -// -// int rowstride = gdk_pixbuf_get_rowstride (pixbuf); -// -// // The pixel buffer in the GdkPixbuf instance -// guchar *pixels = gdk_pixbuf_get_pixels (pixbuf); -// -// // The pixel we wish to modify -// guchar *p = pixels + y * rowstride + x * n_channels; -// p[0] = red; -// p[1] = green; -// p[2] = blue; -// p[3] = alpha; -// } +// static void +// put_pixel (GdkPixbuf *pixbuf, +// int x, +// int y, +// guchar red, +// guchar green, +// guchar blue, +// guchar alpha) +// { +// int n_channels = gdk_pixbuf_get_n_channels (pixbuf); +// +// // Ensure that the pixbuf is valid +// g_assert (gdk_pixbuf_get_colorspace (pixbuf) == GDK_COLORSPACE_RGB); +// g_assert (gdk_pixbuf_get_bits_per_sample (pixbuf) == 8); +// g_assert (gdk_pixbuf_get_has_alpha (pixbuf)); +// g_assert (n_channels == 4); +// +// int width = gdk_pixbuf_get_width (pixbuf); +// int height = gdk_pixbuf_get_height (pixbuf); +// +// // Ensure that the coordinates are in a valid range +// g_assert (x >= 0 && x < width); +// g_assert (y >= 0 && y < height); +// +// int rowstride = gdk_pixbuf_get_rowstride (pixbuf); +// +// // The pixel buffer in the GdkPixbuf instance +// guchar *pixels = gdk_pixbuf_get_pixels (pixbuf); +// +// // The pixel we wish to modify +// guchar *p = pixels + y * rowstride + x * n_channels; +// p[0] = red; +// p[1] = green; +// p[2] = blue; +// p[3] = alpha; +// } // // # Loading images // @@ -584,7 +584,6 @@ func marshalPixbuf(p uintptr) (interface{}, error) { // The function returns the following values: // // - pixbuf (optional): newly-created pixel buffer. -// func NewPixbuf(colorspace Colorspace, hasAlpha bool, bitsPerSample, width, height int) *Pixbuf { var _arg1 C.GdkColorspace // out var _arg2 C.gboolean // out @@ -637,7 +636,6 @@ func NewPixbuf(colorspace Colorspace, hasAlpha bool, bitsPerSample, width, heigh // The function returns the following values: // // - pixbuf: newly-created pixbuf. -// func NewPixbufFromBytes(data *glib.Bytes, colorspace Colorspace, hasAlpha bool, bitsPerSample, width, height, rowstride int) *Pixbuf { var _arg1 *C.GBytes // out var _arg2 C.GdkColorspace // out @@ -694,7 +692,6 @@ func NewPixbufFromBytes(data *glib.Bytes, colorspace Colorspace, hasAlpha bool, // The function returns the following values: // // - pixbuf (optional): newly-created pixbuf. -// func NewPixbufFromFile(filename string) (*Pixbuf, error) { var _arg1 *C.char // out var _cret *C.GdkPixbuf // in @@ -752,7 +749,6 @@ func NewPixbufFromFile(filename string) (*Pixbuf, error) { // The function returns the following values: // // - pixbuf (optional): newly-created pixbuf. -// func NewPixbufFromFileAtScale(filename string, width, height int, preserveAspectRatio bool) (*Pixbuf, error) { var _arg1 *C.char // out var _arg2 C.int // out @@ -815,7 +811,6 @@ func NewPixbufFromFileAtScale(filename string, width, height int, preserveAspect // The function returns the following values: // // - pixbuf (optional): newly-created pixbuf. -// func NewPixbufFromFileAtSize(filename string, width, height int) (*Pixbuf, error) { var _arg1 *C.char // out var _arg2 C.int // out @@ -858,7 +853,7 @@ func NewPixbufFromFileAtSize(filename string, width, height int) (*Pixbuf, error // In almost all cases, you should pass the --raw option to gdk-pixbuf-csource. // A sample invocation would be: // -// gdk-pixbuf-csource --raw --name=myimage_inline myimage.png +// gdk-pixbuf-csource --raw --name=myimage_inline myimage.png // // For the typical case where the inline pixbuf is read-only static data, // you don't need to copy the pixel data unless you intend to write to it, so @@ -870,7 +865,7 @@ func NewPixbufFromFileAtSize(filename string, width, height int) (*Pixbuf, error // it's probably safe to ignore errors and disable length checks, since things // will always succeed: // -// pixbuf = gdk_pixbuf_new_from_inline (-1, myimage_inline, FALSE, NULL); +// pixbuf = gdk_pixbuf_new_from_inline (-1, myimage_inline, FALSE, NULL); // // For non-const inline data, you could get out of memory. For untrusted inline // data located at runtime, you could have corrupt inline data in addition. @@ -886,7 +881,6 @@ func NewPixbufFromFileAtSize(filename string, width, height int) (*Pixbuf, error // The function returns the following values: // // - pixbuf: newly-created pixbuf. -// func NewPixbufFromInline(data []byte, copyPixels bool) (*Pixbuf, error) { var _arg2 *C.guint8 // out var _arg1 C.gint @@ -930,7 +924,6 @@ func NewPixbufFromInline(data []byte, copyPixels bool) (*Pixbuf, error) { // The function returns the following values: // // - pixbuf (optional): newly-created pixbuf. -// func NewPixbufFromResource(resourcePath string) (*Pixbuf, error) { var _arg1 *C.char // out var _cret *C.GdkPixbuf // in @@ -980,7 +973,6 @@ func NewPixbufFromResource(resourcePath string) (*Pixbuf, error) { // The function returns the following values: // // - pixbuf (optional): newly-created pixbuf. -// func NewPixbufFromResourceAtScale(resourcePath string, width, height int, preserveAspectRatio bool) (*Pixbuf, error) { var _arg1 *C.char // out var _arg2 C.int // out @@ -1037,7 +1029,6 @@ func NewPixbufFromResourceAtScale(resourcePath string, width, height int, preser // The function returns the following values: // // - pixbuf (optional): newly-created pixbuf. -// func NewPixbufFromStream(ctx context.Context, stream gio.InputStreamer) (*Pixbuf, error) { var _arg2 *C.GCancellable // out var _arg1 *C.GInputStream // out @@ -1101,7 +1092,6 @@ func NewPixbufFromStream(ctx context.Context, stream gio.InputStreamer) (*Pixbuf // The function returns the following values: // // - pixbuf (optional): newly-created pixbuf. -// func NewPixbufFromStreamAtScale(ctx context.Context, stream gio.InputStreamer, width, height int, preserveAspectRatio bool) (*Pixbuf, error) { var _arg5 *C.GCancellable // out var _arg1 *C.GInputStream // out @@ -1153,7 +1143,6 @@ func NewPixbufFromStreamAtScale(ctx context.Context, stream gio.InputStreamer, w // The function returns the following values: // // - pixbuf (optional): newly created pixbuf. -// func NewPixbufFromStreamFinish(asyncResult gio.AsyncResulter) (*Pixbuf, error) { var _arg1 *C.GAsyncResult // out var _cret *C.GdkPixbuf // in @@ -1189,7 +1178,6 @@ func NewPixbufFromStreamFinish(asyncResult gio.AsyncResulter) (*Pixbuf, error) { // The function returns the following values: // // - pixbuf: newly-created pixbuf. -// func NewPixbufFromXPMData(data []string) *Pixbuf { var _arg1 **C.char // out var _cret *C.GdkPixbuf // in @@ -1240,7 +1228,6 @@ func NewPixbufFromXPMData(data []string) *Pixbuf { // The function returns the following values: // // - ret: newly-created pixbuf. -// func (pixbuf *Pixbuf) AddAlpha(substituteColor bool, r, g, b byte) *Pixbuf { var _arg0 *C.GdkPixbuf // out var _arg1 C.gboolean // out @@ -1284,7 +1271,6 @@ func (pixbuf *Pixbuf) AddAlpha(substituteColor bool, r, g, b byte) *Pixbuf { // The function returns the following values: // // - pixbuf (optional): newly-created pixbuf. -// func (src *Pixbuf) ApplyEmbeddedOrientation() *Pixbuf { var _arg0 *C.GdkPixbuf // out var _cret *C.GdkPixbuf // in @@ -1328,7 +1314,6 @@ func (src *Pixbuf) ApplyEmbeddedOrientation() *Pixbuf { // - scaleY: scale factor in the Y direction. // - interpType: interpolation type for the transformation. // - overallAlpha: overall alpha for source image (0..255). -// func (src *Pixbuf) Composite(dest *Pixbuf, destX, destY, destWidth, destHeight int, offsetX, offsetY, scaleX, scaleY float64, interpType InterpType, overallAlpha int) { var _arg0 *C.GdkPixbuf // out var _arg1 *C.GdkPixbuf // out @@ -1402,7 +1387,6 @@ func (src *Pixbuf) Composite(dest *Pixbuf, destX, destY, destWidth, destHeight i // - checkSize: size of checks in the checkboard (must be a power of two). // - color1: color of check at upper left. // - color2: color of the other check. -// func (src *Pixbuf) CompositeColor(dest *Pixbuf, destX, destY, destWidth, destHeight int, offsetX, offsetY, scaleX, scaleY float64, interpType InterpType, overallAlpha, checkX, checkY, checkSize int, color1, color2 uint32) { var _arg0 *C.GdkPixbuf // out var _arg1 *C.GdkPixbuf // out @@ -1477,7 +1461,6 @@ func (src *Pixbuf) CompositeColor(dest *Pixbuf, destX, destY, destWidth, destHei // The function returns the following values: // // - pixbuf (optional): new pixbuf. -// func (src *Pixbuf) CompositeColorSimple(destWidth, destHeight int, interpType InterpType, overallAlpha, checkSize int, color1, color2 uint32) *Pixbuf { var _arg0 *C.GdkPixbuf // out var _arg1 C.int // out @@ -1526,7 +1509,6 @@ func (src *Pixbuf) CompositeColorSimple(destWidth, destHeight int, interpType In // The function returns the following values: // // - ret (optional): newly-created pixbuf. -// func (pixbuf *Pixbuf) Copy() *Pixbuf { var _arg0 *C.GdkPixbuf // out var _cret *C.GdkPixbuf // in @@ -1562,7 +1544,6 @@ func (pixbuf *Pixbuf) Copy() *Pixbuf { // - destPixbuf: destination pixbuf. // - destX: x coordinate within dest_pixbuf. // - destY: y coordinate within dest_pixbuf. -// func (srcPixbuf *Pixbuf) CopyArea(srcX, srcY, width, height int, destPixbuf *Pixbuf, destX, destY int) { var _arg0 *C.GdkPixbuf // out var _arg1 C.int // out @@ -1607,7 +1588,6 @@ func (srcPixbuf *Pixbuf) CopyArea(srcX, srcY, width, height int, destPixbuf *Pix // The function returns the following values: // // - ok: TRUE on success. -// func (srcPixbuf *Pixbuf) CopyOptions(destPixbuf *Pixbuf) bool { var _arg0 *C.GdkPixbuf // out var _arg1 *C.GdkPixbuf // out @@ -1639,7 +1619,6 @@ func (srcPixbuf *Pixbuf) CopyOptions(destPixbuf *Pixbuf) bool { // // - pixel: RGBA pixel to used to clear (0xffffffff is opaque white, // 0x00000000 transparent black). -// func (pixbuf *Pixbuf) Fill(pixel uint32) { var _arg0 *C.GdkPixbuf // out var _arg1 C.guint32 // out @@ -1662,7 +1641,6 @@ func (pixbuf *Pixbuf) Fill(pixel uint32) { // The function returns the following values: // // - pixbuf (optional): new pixbuf. -// func (src *Pixbuf) Flip(horizontal bool) *Pixbuf { var _arg0 *C.GdkPixbuf // out var _arg1 C.gboolean // out @@ -1691,7 +1669,6 @@ func (src *Pixbuf) Flip(horizontal bool) *Pixbuf { // The function returns the following values: // // - gint: number of bits per color sample. -// func (pixbuf *Pixbuf) BitsPerSample() int { var _arg0 *C.GdkPixbuf // out var _cret C.int // in @@ -1713,7 +1690,6 @@ func (pixbuf *Pixbuf) BitsPerSample() int { // The function returns the following values: // // - gsize: length of the pixel data. -// func (pixbuf *Pixbuf) ByteLength() uint { var _arg0 *C.GdkPixbuf // out var _cret C.gsize // in @@ -1735,7 +1711,6 @@ func (pixbuf *Pixbuf) ByteLength() uint { // The function returns the following values: // // - colorspace: color space. -// func (pixbuf *Pixbuf) Colorspace() Colorspace { var _arg0 *C.GdkPixbuf // out var _cret C.GdkColorspace // in @@ -1757,7 +1732,6 @@ func (pixbuf *Pixbuf) Colorspace() Colorspace { // The function returns the following values: // // - ok: TRUE if it has an alpha channel, FALSE otherwise. -// func (pixbuf *Pixbuf) HasAlpha() bool { var _arg0 *C.GdkPixbuf // out var _cret C.gboolean // in @@ -1781,7 +1755,6 @@ func (pixbuf *Pixbuf) HasAlpha() bool { // The function returns the following values: // // - gint: height in pixels. -// func (pixbuf *Pixbuf) Height() int { var _arg0 *C.GdkPixbuf // out var _cret C.int // in @@ -1803,7 +1776,6 @@ func (pixbuf *Pixbuf) Height() int { // The function returns the following values: // // - gint: number of channels. -// func (pixbuf *Pixbuf) NChannels() int { var _arg0 *C.GdkPixbuf // out var _cret C.int // in @@ -1842,7 +1814,6 @@ func (pixbuf *Pixbuf) NChannels() int { // The function returns the following values: // // - utf8 (optional): value associated with key. -// func (pixbuf *Pixbuf) Option(key string) string { var _arg0 *C.GdkPixbuf // out var _arg1 *C.gchar // out @@ -1872,7 +1843,6 @@ func (pixbuf *Pixbuf) Option(key string) string { // The function returns the following values: // // - hashTable: Table of key/values pairs. -// func (pixbuf *Pixbuf) Options() map[string]string { var _arg0 *C.GdkPixbuf // out var _cret *C.GHashTable // in @@ -1909,7 +1879,6 @@ func (pixbuf *Pixbuf) Options() map[string]string { // The function returns the following values: // // - guint8s: pointer to the pixbuf's pixel data. -// func (pixbuf *Pixbuf) Pixels() []byte { var _arg0 *C.GdkPixbuf // out var _cret *C.guchar // in @@ -1934,7 +1903,6 @@ func (pixbuf *Pixbuf) Pixels() []byte { // The function returns the following values: // // - gint: distance between row starts. -// func (pixbuf *Pixbuf) Rowstride() int { var _arg0 *C.GdkPixbuf // out var _cret C.int // in @@ -1956,7 +1924,6 @@ func (pixbuf *Pixbuf) Rowstride() int { // The function returns the following values: // // - gint: width in pixels. -// func (pixbuf *Pixbuf) Width() int { var _arg0 *C.GdkPixbuf // out var _cret C.int // in @@ -1993,7 +1960,6 @@ func (pixbuf *Pixbuf) Width() int { // The function returns the following values: // // - pixbuf: new pixbuf. -// func (srcPixbuf *Pixbuf) NewSubpixbuf(srcX, srcY, width, height int) *Pixbuf { var _arg0 *C.GdkPixbuf // out var _arg1 C.int // out @@ -2033,7 +1999,6 @@ func (srcPixbuf *Pixbuf) NewSubpixbuf(srcX, srcY, width, height int) *Pixbuf { // - bytes: new reference to a read-only copy of the pixel data. Note that for // mutable pixbufs, this function will incur a one-time copy of the pixel // data for conversion into the returned #GBytes. -// func (pixbuf *Pixbuf) ReadPixelBytes() *glib.Bytes { var _arg0 *C.GdkPixbuf // out var _cret *C.GBytes // in @@ -2064,7 +2029,6 @@ func (pixbuf *Pixbuf) ReadPixelBytes() *glib.Bytes { // The function returns the following values: // // - guint8: read-only pointer to the raw pixel data. -// func (pixbuf *Pixbuf) ReadPixels() *byte { var _arg0 *C.GdkPixbuf // out var _cret *C.guint8 // in @@ -2090,7 +2054,6 @@ func (pixbuf *Pixbuf) ReadPixels() *byte { // The function returns the following values: // // - ok: TRUE if an option was removed, FALSE if not. -// func (pixbuf *Pixbuf) RemoveOption(key string) bool { var _arg0 *C.GdkPixbuf // out var _arg1 *C.gchar // out @@ -2125,7 +2088,6 @@ func (pixbuf *Pixbuf) RemoveOption(key string) bool { // The function returns the following values: // // - pixbuf (optional): new pixbuf. -// func (src *Pixbuf) RotateSimple(angle PixbufRotation) *Pixbuf { var _arg0 *C.GdkPixbuf // out var _arg1 C.GdkPixbufRotation // out @@ -2167,7 +2129,6 @@ func (src *Pixbuf) RotateSimple(angle PixbufRotation) *Pixbuf { // - dest: place to write modified version of src. // - saturation factor. // - pixelate: whether to pixelate. -// func (src *Pixbuf) SaturateAndPixelate(dest *Pixbuf, saturation float32, pixelate bool) { var _arg0 *C.GdkPixbuf // out var _arg1 *C.GdkPixbuf // out @@ -2204,7 +2165,6 @@ func (src *Pixbuf) SaturateAndPixelate(dest *Pixbuf, saturation float32, pixelat // The function returns the following values: // // - buffer: location to receive a pointer to the new buffer. -// func (pixbuf *Pixbuf) SaveToBufferv(typ string, optionKeys, optionValues []string) ([]byte, error) { var _arg0 *C.GdkPixbuf // out var _arg1 *C.gchar // in @@ -2279,7 +2239,6 @@ func (pixbuf *Pixbuf) SaveToBufferv(typ string, optionKeys, optionValues []strin // - typ: name of file format. // - optionKeys (optional): name of options to set. // - optionValues (optional) values for named options. -// func (pixbuf *Pixbuf) SaveToCallbackv(saveFunc PixbufSaveFunc, typ string, optionKeys, optionValues []string) error { var _arg0 *C.GdkPixbuf // out var _arg1 C.GdkPixbufSaveFunc // out @@ -2351,7 +2310,6 @@ func (pixbuf *Pixbuf) SaveToCallbackv(saveFunc PixbufSaveFunc, typ string, optio // - typ: name of file format. // - optionKeys (optional): name of options to set. // - optionValues (optional) values for named options. -// func (pixbuf *Pixbuf) SaveToStreamv(ctx context.Context, stream gio.OutputStreamer, typ string, optionKeys, optionValues []string) error { var _arg0 *C.GdkPixbuf // out var _arg5 *C.GCancellable // out @@ -2433,7 +2391,6 @@ func (pixbuf *Pixbuf) SaveToStreamv(ctx context.Context, stream gio.OutputStream // - optionValues (optional) values for named options. // - callback (optional): GAsyncReadyCallback to call when the pixbuf is // saved. -// func (pixbuf *Pixbuf) SaveToStreamvAsync(ctx context.Context, stream gio.OutputStreamer, typ string, optionKeys, optionValues []string, callback gio.AsyncReadyCallback) { var _arg0 *C.GdkPixbuf // out var _arg5 *C.GCancellable // out @@ -2509,7 +2466,6 @@ func (pixbuf *Pixbuf) SaveToStreamvAsync(ctx context.Context, stream gio.OutputS // - typ: name of file format. // - optionKeys (optional): name of options to set. // - optionValues (optional) values for named options. -// func (pixbuf *Pixbuf) Savev(filename, typ string, optionKeys, optionValues []string) error { var _arg0 *C.GdkPixbuf // out var _arg1 *C.char // out @@ -2591,7 +2547,6 @@ func (pixbuf *Pixbuf) Savev(filename, typ string, optionKeys, optionValues []str // - scaleX: scale factor in the X direction. // - scaleY: scale factor in the Y direction. // - interpType: interpolation type for the transformation. -// func (src *Pixbuf) Scale(dest *Pixbuf, destX, destY, destWidth, destHeight int, offsetX, offsetY, scaleX, scaleY float64, interpType InterpType) { var _arg0 *C.GdkPixbuf // out var _arg1 *C.GdkPixbuf // out @@ -2659,7 +2614,6 @@ func (src *Pixbuf) Scale(dest *Pixbuf, destX, destY, destWidth, destHeight int, // The function returns the following values: // // - pixbuf (optional): new pixbuf. -// func (src *Pixbuf) ScaleSimple(destWidth, destHeight int, interpType InterpType) *Pixbuf { var _arg0 *C.GdkPixbuf // out var _arg1 C.int // out @@ -2700,7 +2654,6 @@ func (src *Pixbuf) ScaleSimple(destWidth, destHeight int, interpType InterpType) // The function returns the following values: // // - ok: TRUE on success. -// func (pixbuf *Pixbuf) SetOption(key, value string) bool { var _arg0 *C.GdkPixbuf // out var _arg1 *C.gchar // out @@ -2744,7 +2697,6 @@ func (pixbuf *Pixbuf) SetOption(key, value string) bool { // The function returns the following values: // // - gint: rowstride for the given values, or -1 in case of error. -// func PixbufCalculateRowstride(colorspace Colorspace, hasAlpha bool, bitsPerSample, width, height int) int { var _arg1 C.GdkColorspace // out var _arg2 C.gboolean // out @@ -2788,7 +2740,6 @@ func PixbufCalculateRowstride(colorspace Colorspace, hasAlpha bool, bitsPerSampl // - height (optional): return location for the height of the image. // - pixbufFormat (optional): GdkPixbufFormat describing the image format of // the file. -// func PixbufGetFileInfo(filename string) (width, height int, pixbufFormat *PixbufFormat) { var _arg1 *C.gchar // out var _arg2 C.gint // in @@ -2830,7 +2781,6 @@ func PixbufGetFileInfo(filename string) (width, height int, pixbufFormat *Pixbuf // - filename: name of the file to identify. // - callback (optional): GAsyncReadyCallback to call when the file info is // available. -// func PixbufGetFileInfoAsync(ctx context.Context, filename string, callback gio.AsyncReadyCallback) { var _arg2 *C.GCancellable // out var _arg1 *C.gchar // out @@ -2868,7 +2818,6 @@ func PixbufGetFileInfoAsync(ctx context.Context, filename string, callback gio.A // - height: return location for the height of the image, or NULL. // - pixbufFormat (optional): GdkPixbufFormat describing the image format of // the file. -// func PixbufGetFileInfoFinish(asyncResult gio.AsyncResulter) (width, height int, pixbufFormat *PixbufFormat, goerr error) { var _arg1 *C.GAsyncResult // out var _arg2 C.gint // in @@ -2904,7 +2853,6 @@ func PixbufGetFileInfoFinish(asyncResult gio.AsyncResulter) (width, height int, // The function returns the following values: // // - sList: list of support image formats. -// func PixbufGetFormats() []*PixbufFormat { var _cret *C.GSList // in @@ -2939,7 +2887,6 @@ func PixbufGetFormats() []*PixbufFormat { // The function takes the following parameters: // // - path: path to directory where the loaders.cache is installed. -// func PixbufInitModules(path string) error { var _arg1 *C.char // out var _cerr *C.GError // in @@ -2975,7 +2922,6 @@ func PixbufInitModules(path string) error { // - stream: GInputStream from which to load the pixbuf. // - callback (optional): GAsyncReadyCallback to call when the pixbuf is // loaded. -// func NewPixbufFromStreamAsync(ctx context.Context, stream gio.InputStreamer, callback gio.AsyncReadyCallback) { var _arg2 *C.GCancellable // out var _arg1 *C.GInputStream // out @@ -3018,7 +2964,6 @@ func NewPixbufFromStreamAsync(ctx context.Context, stream gio.InputStreamer, cal // - preserveAspectRatio: TRUE to preserve the image's aspect ratio. // - callback (optional): GAsyncReadyCallback to call when the pixbuf is // loaded. -// func NewPixbufFromStreamAtScaleAsync(ctx context.Context, stream gio.InputStreamer, width, height int, preserveAspectRatio bool, callback gio.AsyncReadyCallback) { var _arg5 *C.GCancellable // out var _arg1 *C.GInputStream // out @@ -3059,7 +3004,6 @@ func NewPixbufFromStreamAtScaleAsync(ctx context.Context, stream gio.InputStream // The function takes the following parameters: // // - asyncResult: GAsyncResult. -// func PixbufSaveToStreamFinish(asyncResult gio.AsyncResulter) error { var _arg1 *C.GAsyncResult // out var _cerr *C.GError // in @@ -3126,7 +3070,6 @@ func marshalPixbufAnimation(p uintptr) (interface{}, error) { // The function returns the following values: // // - pixbufAnimation (optional): newly-created animation. -// func NewPixbufAnimationFromFile(filename string) (*PixbufAnimation, error) { var _arg1 *C.char // out var _cret *C.GdkPixbufAnimation // in @@ -3164,7 +3107,6 @@ func NewPixbufAnimationFromFile(filename string) (*PixbufAnimation, error) { // The function returns the following values: // // - pixbufAnimation (optional): newly-created animation. -// func NewPixbufAnimationFromResource(resourcePath string) (*PixbufAnimation, error) { var _arg1 *C.char // out var _cret *C.GdkPixbufAnimation // in @@ -3210,7 +3152,6 @@ func NewPixbufAnimationFromResource(resourcePath string) (*PixbufAnimation, erro // The function returns the following values: // // - pixbufAnimation (optional): newly-created animation. -// func NewPixbufAnimationFromStream(ctx context.Context, stream gio.InputStreamer) (*PixbufAnimation, error) { var _arg2 *C.GCancellable // out var _arg1 *C.GInputStream // out @@ -3252,7 +3193,6 @@ func NewPixbufAnimationFromStream(ctx context.Context, stream gio.InputStreamer) // The function returns the following values: // // - pixbufAnimation (optional): newly created animation. -// func NewPixbufAnimationFromStreamFinish(asyncResult gio.AsyncResulter) (*PixbufAnimation, error) { var _arg1 *C.GAsyncResult // out var _cret *C.GdkPixbufAnimation // in @@ -3281,7 +3221,6 @@ func NewPixbufAnimationFromStreamFinish(asyncResult gio.AsyncResulter) (*PixbufA // The function returns the following values: // // - gint: height of the bounding box of the animation. -// func (animation *PixbufAnimation) Height() int { var _arg0 *C.GdkPixbufAnimation // out var _cret C.int // in @@ -3336,7 +3275,6 @@ func (animation *PixbufAnimation) Height() int { // The function returns the following values: // // - pixbufAnimationIter: iterator to move over the animation. -// func (animation *PixbufAnimation) Iter(startTime *glib.TimeVal) *PixbufAnimationIter { var _arg0 *C.GdkPixbufAnimation // out var _arg1 *C.GTimeVal // out @@ -3372,7 +3310,6 @@ func (animation *PixbufAnimation) Iter(startTime *glib.TimeVal) *PixbufAnimation // The function returns the following values: // // - pixbuf: unanimated image representing the animation. -// func (animation *PixbufAnimation) StaticImage() *Pixbuf { var _arg0 *C.GdkPixbufAnimation // out var _cret *C.GdkPixbuf // in @@ -3394,7 +3331,6 @@ func (animation *PixbufAnimation) StaticImage() *Pixbuf { // The function returns the following values: // // - gint: width of the bounding box of the animation. -// func (animation *PixbufAnimation) Width() int { var _arg0 *C.GdkPixbufAnimation // out var _cret C.int // in @@ -3420,7 +3356,6 @@ func (animation *PixbufAnimation) Width() int { // The function returns the following values: // // - ok: TRUE if the "animation" was really just an image. -// func (animation *PixbufAnimation) IsStaticImage() bool { var _arg0 *C.GdkPixbufAnimation // out var _cret C.gboolean // in @@ -3455,7 +3390,6 @@ func (animation *PixbufAnimation) IsStaticImage() bool { // - stream from which to load the animation. // - callback (optional): GAsyncReadyCallback to call when the pixbuf is // loaded. -// func NewPixbufAnimationFromStreamAsync(ctx context.Context, stream gio.InputStreamer, callback gio.AsyncReadyCallback) { var _arg2 *C.GCancellable // out var _arg1 *C.GInputStream // out @@ -3527,7 +3461,6 @@ func marshalPixbufAnimationIter(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if the image may need updating. -// func (iter *PixbufAnimationIter) Advance(currentTime *glib.TimeVal) bool { var _arg0 *C.GdkPixbufAnimationIter // out var _arg1 *C.GTimeVal // out @@ -3564,7 +3497,6 @@ func (iter *PixbufAnimationIter) Advance(currentTime *glib.TimeVal) bool { // The function returns the following values: // // - gint: delay time in milliseconds (thousandths of a second). -// func (iter *PixbufAnimationIter) DelayTime() int { var _arg0 *C.GdkPixbufAnimationIter // out var _cret C.int // in @@ -3600,7 +3532,6 @@ func (iter *PixbufAnimationIter) DelayTime() int { // The function returns the following values: // // - pixbuf to be displayed. -// func (iter *PixbufAnimationIter) Pixbuf() *Pixbuf { var _arg0 *C.GdkPixbufAnimationIter // out var _cret *C.GdkPixbuf // in @@ -3627,7 +3558,6 @@ func (iter *PixbufAnimationIter) Pixbuf() *Pixbuf { // The function returns the following values: // // - ok: TRUE if the frame we're on is partially loaded, or the last frame. -// func (iter *PixbufAnimationIter) OnCurrentlyLoadingFrame() bool { var _arg0 *C.GdkPixbufAnimationIter // out var _cret C.gboolean // in @@ -3655,14 +3585,12 @@ type PixbufLoaderOverrides struct { // - y // - width // - height - // AreaUpdated func(x, y, width, height int) Closed func() // The function takes the following parameters: // // - width // - height - // SizePrepared func(width, height int) } @@ -3814,7 +3742,6 @@ func (loader *PixbufLoader) ConnectSizePrepared(f func(width, height int)) coreg // The function returns the following values: // // - pixbufLoader: newly-created pixbuf loader. -// func NewPixbufLoader() *PixbufLoader { var _cret *C.GdkPixbufLoader // in @@ -3848,7 +3775,6 @@ func NewPixbufLoader() *PixbufLoader { // The function returns the following values: // // - pixbufLoader: newly-created pixbuf loader. -// func NewPixbufLoaderWithMIMEType(mimeType string) (*PixbufLoader, error) { var _arg1 *C.char // out var _cret *C.GdkPixbufLoader // in @@ -3892,7 +3818,6 @@ func NewPixbufLoaderWithMIMEType(mimeType string) (*PixbufLoader, error) { // The function returns the following values: // // - pixbufLoader: newly-created pixbuf loader. -// func NewPixbufLoaderWithType(imageType string) (*PixbufLoader, error) { var _arg1 *C.char // out var _cret *C.GdkPixbufLoader // in @@ -3961,7 +3886,6 @@ func (loader *PixbufLoader) Close() error { // // - pixbufAnimation (optional): animation that the loader is currently // loading. -// func (loader *PixbufLoader) Animation() *PixbufAnimation { var _arg0 *C.GdkPixbufLoader // out var _cret *C.GdkPixbufAnimation // in @@ -3986,7 +3910,6 @@ func (loader *PixbufLoader) Animation() *PixbufAnimation { // The function returns the following values: // // - pixbufFormat (optional): PixbufFormat. -// func (loader *PixbufLoader) Format() *PixbufFormat { var _arg0 *C.GdkPixbufLoader // out var _cret *C.GdkPixbufFormat // in @@ -4024,7 +3947,6 @@ func (loader *PixbufLoader) Format() *PixbufFormat { // The function returns the following values: // // - pixbuf (optional) that the loader is creating. -// func (loader *PixbufLoader) Pixbuf() *Pixbuf { var _arg0 *C.GdkPixbufLoader // out var _cret *C.GdkPixbuf // in @@ -4056,7 +3978,6 @@ func (loader *PixbufLoader) Pixbuf() *Pixbuf { // // - width: desired width of the image being loaded. // - height: desired height of the image being loaded. -// func (loader *PixbufLoader) SetSize(width, height int) { var _arg0 *C.GdkPixbufLoader // out var _arg1 C.int // out @@ -4077,7 +3998,6 @@ func (loader *PixbufLoader) SetSize(width, height int) { // The function takes the following parameters: // // - buf: pointer to image data. -// func (loader *PixbufLoader) Write(buf []byte) error { var _arg0 *C.GdkPixbufLoader // out var _arg1 *C.guchar // out @@ -4108,7 +4028,6 @@ func (loader *PixbufLoader) Write(buf []byte) error { // The function takes the following parameters: // // - buffer: image data as a GBytes buffer. -// func (loader *PixbufLoader) WriteBytes(buffer *glib.Bytes) error { var _arg0 *C.GdkPixbufLoader // out var _arg1 *C.GBytes // out @@ -4148,7 +4067,6 @@ func (loader *PixbufLoader) areaPrepared() { // - y // - width // - height -// func (loader *PixbufLoader) areaUpdated(x, y, width, height int) { gclass := (*C.GdkPixbufLoaderClass)(coreglib.PeekParentClass(loader)) fnarg := gclass.area_updated @@ -4189,7 +4107,6 @@ func (loader *PixbufLoader) closed() { // // - width // - height -// func (loader *PixbufLoader) sizePrepared(width, height int) { gclass := (*C.GdkPixbufLoaderClass)(coreglib.PeekParentClass(loader)) fnarg := gclass.size_prepared @@ -4241,7 +4158,6 @@ func marshalPixbufSimpleAnim(p uintptr) (interface{}, error) { // The function returns the following values: // // - pixbufSimpleAnim: newly allocated PixbufSimpleAnim. -// func NewPixbufSimpleAnim(width, height int, rate float32) *PixbufSimpleAnim { var _arg1 C.gint // out var _arg2 C.gint // out @@ -4270,7 +4186,6 @@ func NewPixbufSimpleAnim(width, height int, rate float32) *PixbufSimpleAnim { // The function takes the following parameters: // // - pixbuf to add. -// func (animation *PixbufSimpleAnim) AddFrame(pixbuf *Pixbuf) { var _arg0 *C.GdkPixbufSimpleAnim // out var _arg1 *C.GdkPixbuf // out @@ -4288,7 +4203,6 @@ func (animation *PixbufSimpleAnim) AddFrame(pixbuf *Pixbuf) { // The function returns the following values: // // - ok: TRUE if the animation loops forever, FALSE otherwise. -// func (animation *PixbufSimpleAnim) Loop() bool { var _arg0 *C.GdkPixbufSimpleAnim // out var _cret C.gboolean // in @@ -4313,7 +4227,6 @@ func (animation *PixbufSimpleAnim) Loop() bool { // The function takes the following parameters: // // - loop: whether to loop the animation. -// func (animation *PixbufSimpleAnim) SetLoop(loop bool) { var _arg0 *C.GdkPixbufSimpleAnim // out var _arg1 C.gboolean // out @@ -4376,7 +4289,6 @@ func marshalPixbufFormat(p uintptr) (interface{}, error) { // // - pixbufFormat: newly allocated copy of a GdkPixbufFormat. Use // gdk_pixbuf_format_free() to free the resources when done. -// func (format *PixbufFormat) Copy() *PixbufFormat { var _arg0 *C.GdkPixbufFormat // out var _cret *C.GdkPixbufFormat // in @@ -4404,7 +4316,6 @@ func (format *PixbufFormat) Copy() *PixbufFormat { // The function returns the following values: // // - utf8: description of the format. -// func (format *PixbufFormat) Description() string { var _arg0 *C.GdkPixbufFormat // out var _cret *C.gchar // in @@ -4428,7 +4339,6 @@ func (format *PixbufFormat) Description() string { // The function returns the following values: // // - utf8s: array of filename extensions. -// func (format *PixbufFormat) Extensions() []string { var _arg0 *C.GdkPixbufFormat // out var _cret **C.gchar // in @@ -4468,7 +4378,6 @@ func (format *PixbufFormat) Extensions() []string { // The function returns the following values: // // - utf8: string describing the license of the pixbuf format. -// func (format *PixbufFormat) License() string { var _arg0 *C.GdkPixbufFormat // out var _cret *C.gchar // in @@ -4491,7 +4400,6 @@ func (format *PixbufFormat) License() string { // The function returns the following values: // // - utf8s: array of mime types. -// func (format *PixbufFormat) MIMETypes() []string { var _arg0 *C.GdkPixbufFormat // out var _cret **C.gchar // in @@ -4527,7 +4435,6 @@ func (format *PixbufFormat) MIMETypes() []string { // The function returns the following values: // // - utf8: name of the format. -// func (format *PixbufFormat) Name() string { var _arg0 *C.GdkPixbufFormat // out var _cret *C.gchar // in @@ -4552,7 +4459,6 @@ func (format *PixbufFormat) Name() string { // The function returns the following values: // // - ok: whether this image format is disabled. -// func (format *PixbufFormat) IsDisabled() bool { var _arg0 *C.GdkPixbufFormat // out var _cret C.gboolean // in @@ -4583,7 +4489,6 @@ func (format *PixbufFormat) IsDisabled() bool { // The function returns the following values: // // - ok: TRUE if the specified option is supported. -// func (format *PixbufFormat) IsSaveOptionSupported(optionKey string) bool { var _arg0 *C.GdkPixbufFormat // out var _arg1 *C.gchar // out @@ -4615,7 +4520,6 @@ func (format *PixbufFormat) IsSaveOptionSupported(optionKey string) bool { // The function returns the following values: // // - ok: whether this image format is scalable. -// func (format *PixbufFormat) IsScalable() bool { var _arg0 *C.GdkPixbufFormat // out var _cret C.gboolean // in @@ -4639,7 +4543,6 @@ func (format *PixbufFormat) IsScalable() bool { // The function returns the following values: // // - ok: whether pixbufs can be saved in the given format. -// func (format *PixbufFormat) IsWritable() bool { var _arg0 *C.GdkPixbufFormat // out var _cret C.gboolean // in @@ -4669,7 +4572,6 @@ func (format *PixbufFormat) IsWritable() bool { // The function takes the following parameters: // // - disabled: TRUE to disable the format format. -// func (format *PixbufFormat) SetDisabled(disabled bool) { var _arg0 *C.GdkPixbufFormat // out var _arg1 C.gboolean // out diff --git a/pkg/gdkpixdata/v2/gdkpixdata.go b/pkg/gdkpixdata/v2/gdkpixdata.go index 1bb1ec95c..8c56c9a63 100644 --- a/pkg/gdkpixdata/v2/gdkpixdata.go +++ b/pkg/gdkpixdata/v2/gdkpixdata.go @@ -205,7 +205,6 @@ func (p PixdataType) Has(other PixdataType) bool { // The function returns the following values: // // - pixbuf: new pixbuf. -// func PixbufFromPixdata(pixdata *Pixdata, copyPixels bool) (*gdkpixbuf.Pixbuf, error) { var _arg1 *C.GdkPixdata // out var _arg2 C.gboolean // out @@ -283,7 +282,6 @@ type pixdata struct { // The function takes the following parameters: // // - stream of bytes containing a serialized Pixdata structure. -// func (pixdata *Pixdata) Deserialize(stream []byte) error { var _arg0 *C.GdkPixdata // out var _arg2 *C.guint8 // out @@ -319,7 +317,6 @@ func (pixdata *Pixdata) Deserialize(stream []byte) error { // // - guint8s: a newly-allocated string containing the serialized Pixdata // structure. -// func (pixdata *Pixdata) Serialize() []byte { var _arg0 *C.GdkPixdata // out var _cret *C.guint8 // in diff --git a/pkg/gdkwayland/v4/gdkwayland.go b/pkg/gdkwayland/v4/gdkwayland.go index 32a6aa054..c04448670 100644 --- a/pkg/gdkwayland/v4/gdkwayland.go +++ b/pkg/gdkwayland/v4/gdkwayland.go @@ -94,7 +94,6 @@ func marshalWaylandDevice(p uintptr) (interface{}, error) { // The function returns the following values: // // - utf8 (optional): /dev/input/event* path of this device. -// func (device *WaylandDevice) NodePath() string { var _arg0 *C.GdkDevice // out var _cret *C.char // in @@ -149,7 +148,6 @@ func marshalWaylandDisplay(p uintptr) (interface{}, error) { // The function returns the following values: // // - utf8 (optional): startup notification ID for display, or NULL. -// func (display *WaylandDisplay) StartupNotificationID() string { var _arg0 *C.GdkDisplay // out var _cret *C.char // in @@ -178,7 +176,6 @@ func (display *WaylandDisplay) StartupNotificationID() string { // The function returns the following values: // // - ok: TRUE if the global is offered by the compositor. -// func (display *WaylandDisplay) QueryRegistry(global string) bool { var _arg0 *C.GdkDisplay // out var _arg1 *C.char // out @@ -207,7 +204,6 @@ func (display *WaylandDisplay) QueryRegistry(global string) bool { // // - name: new cursor theme. // - size to use for cursors. -// func (display *WaylandDisplay) SetCursorTheme(name string, size int) { var _arg0 *C.GdkDisplay // out var _arg1 *C.char // out @@ -237,7 +233,6 @@ func (display *WaylandDisplay) SetCursorTheme(name string, size int) { // The function takes the following parameters: // // - startupId: startup notification ID (must be valid utf8). -// func (display *WaylandDisplay) SetStartupNotificationID(startupId string) { var _arg0 *C.GdkDisplay // out var _arg1 *C.char // out @@ -456,7 +451,6 @@ func marshalWaylandToplevel(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if the handle has been requested, FALSE if an error occurred. -// func (toplevel *WaylandToplevel) ExportHandle(callback WaylandToplevelExported) bool { var _arg0 *C.GdkToplevel // out var _arg1 C.GdkWaylandToplevelExported // out @@ -487,7 +481,6 @@ func (toplevel *WaylandToplevel) ExportHandle(callback WaylandToplevelExported) // The function takes the following parameters: // // - applicationId: application id for the toplevel. -// func (toplevel *WaylandToplevel) SetApplicationID(applicationId string) { var _arg0 *C.GdkToplevel // out var _arg1 *C.char // out @@ -518,7 +511,6 @@ func (toplevel *WaylandToplevel) SetApplicationID(applicationId string) { // // - ok: TRUE if the surface has been marked as transient, FALSE if an error // occurred. -// func (toplevel *WaylandToplevel) SetTransientForExported(parentHandleStr string) bool { var _arg0 *C.GdkToplevel // out var _arg1 *C.char // out diff --git a/pkg/gdkx11/v3/gdkx11.go b/pkg/gdkx11/v3/gdkx11.go index 4ad004a35..a2e8b36a0 100644 --- a/pkg/gdkx11/v3/gdkx11.go +++ b/pkg/gdkx11/v3/gdkx11.go @@ -75,7 +75,6 @@ func init() { // The function returns the following values: // // - gint: XInput2 device ID. -// func X11DeviceGetID(device *X11DeviceCore) int { var _arg1 *C.GdkDevice // out var _cret C.gint // in @@ -103,7 +102,6 @@ func X11DeviceGetID(device *X11DeviceCore) int { // // - x11DeviceCore (optional) wrapping the device ID, or NULL if the given ID // doesn’t currently represent a device. -// func X11DeviceManagerLookup(deviceManager *X11DeviceManagerCore, deviceId int) *X11DeviceCore { var _arg1 *C.GdkDeviceManager // out var _arg2 C.gint // out @@ -132,7 +130,6 @@ func X11DeviceManagerLookup(deviceManager *X11DeviceManagerCore, deviceId int) * // // - ctext: pointer stored in ctext from a call to // gdk_x11_display_string_to_compound_text(). -// func X11FreeCompoundText(ctext *byte) { var _arg1 *C.guchar // out @@ -149,7 +146,6 @@ func X11FreeCompoundText(ctext *byte) { // - gint returns the screen number specified by the --display command // line option or the DISPLAY environment variable when gdk_init() calls // XOpenDisplay(). -// func X11GetDefaultScreen() int { var _cret C.gint // in @@ -195,7 +191,6 @@ func X11GetParentRelativePattern() *cairo.Pattern { // The function returns the following values: // // - guint32: time stamp. -// func X11GetServerTime(window *X11Window) uint32 { var _arg1 *C.GdkWindow // out var _cret C.guint32 // in @@ -238,7 +233,6 @@ func X11GrabServer() { // - display: Display. // - eventBase: first event type code to register. // - nEvents: number of event type codes to register. -// func X11RegisterStandardEventType(display *X11Display, eventBase, nEvents int) { var _arg1 *C.GdkDisplay // out var _arg2 C.gint // out @@ -265,7 +259,6 @@ func X11RegisterStandardEventType(display *X11Display, eventBase, nEvents int) { // // - smClientId (optional): client id assigned by the session manager when the // connection was opened, or NULL to remove the property. -// func X11SetSmClientID(smClientId string) { var _arg1 *C.gchar // out @@ -447,7 +440,6 @@ func marshalX11Display(p uintptr) (interface{}, error) { // The function returns the following values: // // - gint: x error code or 0 on success. -// func (display *X11Display) ErrorTrapPop() int { var _arg0 *C.GdkDisplay // out var _cret C.gint // in @@ -500,7 +492,6 @@ func (display *X11Display) ErrorTrapPush() { // The function returns the following values: // // - utf8: startup notification ID for display. -// func (display *X11Display) StartupNotificationID() string { var _arg0 *C.GdkDisplay // out var _cret *C.gchar // in @@ -524,7 +515,6 @@ func (display *X11Display) StartupNotificationID() string { // The function returns the following values: // // - guint32: timestamp of the last user interaction. -// func (display *X11Display) UserTime() uint32 { var _arg0 *C.GdkDisplay // out var _cret C.guint32 // in @@ -569,7 +559,6 @@ func (display *X11Display) Grab() { // - theme (optional): name of the cursor theme to use, or NULL to unset a // previously set value. // - size: cursor size to use, or 0 to keep the previous size. -// func (display *X11Display) SetCursorTheme(theme string, size int) { var _arg0 *C.GdkDisplay // out var _arg1 *C.gchar // out @@ -605,7 +594,6 @@ func (display *X11Display) SetCursorTheme(theme string, size int) { // The function takes the following parameters: // // - startupId: startup notification ID (must be valid utf8). -// func (display *X11Display) SetStartupNotificationID(startupId string) { var _arg0 *C.GdkDisplay // out var _arg1 *C.gchar // out @@ -630,7 +618,6 @@ func (display *X11Display) SetStartupNotificationID(startupId string) { // The function takes the following parameters: // // - scale: new scale value. -// func (display *X11Display) SetWindowScale(scale int) { var _arg0 *C.GdkDisplay // out var _arg1 C.gint // out @@ -664,7 +651,6 @@ func (display *X11Display) Ungrab() { // - major: return location for the GLX major version. // - minor: return location for the GLX minor version. // - ok: TRUE if GLX is available. -// func X11DisplayGetGLXVersion(display *gdk.Display) (major, minor int, ok bool) { var _arg1 *C.GdkDisplay // out var _arg2 C.gint // in @@ -784,7 +770,6 @@ func marshalX11Keymap(p uintptr) (interface{}, error) { // The function returns the following values: // // - gint: index of the active keyboard group for the event. -// func (keymap *X11Keymap) GroupForState(state uint) int { var _arg0 *C.GdkKeymap // out var _arg1 C.guint // out @@ -817,7 +802,6 @@ func (keymap *X11Keymap) GroupForState(state uint) int { // The function returns the following values: // // - ok: TRUE if the hardware keycode is a modifier key. -// func (keymap *X11Keymap) KeyIsModifier(keycode uint) bool { var _arg0 *C.GdkKeymap // out var _arg1 C.guint // out @@ -893,7 +877,6 @@ func (screen *X11Screen) ConnectWindowManagerChanged(f func()) coreglib.SignalHa // The function returns the following values: // // - guint32: current workspace, or 0 if workspaces are not supported. -// func (screen *X11Screen) CurrentDesktop() uint32 { var _arg0 *C.GdkScreen // out var _cret C.guint32 // in @@ -918,7 +901,6 @@ func (screen *X11Screen) CurrentDesktop() uint32 { // The function returns the following values: // // - guint32: number of workspaces, or 0 if workspaces are not supported. -// func (screen *X11Screen) NumberOfDesktops() uint32 { var _arg0 *C.GdkScreen // out var _cret C.guint32 // in @@ -940,7 +922,6 @@ func (screen *X11Screen) NumberOfDesktops() uint32 { // The function returns the following values: // // - gint: position of screen among the screens of its display. -// func (screen *X11Screen) ScreenNumber() int { var _arg0 *C.GdkScreen // out var _cret C.int // in @@ -964,7 +945,6 @@ func (screen *X11Screen) ScreenNumber() int { // - utf8: name of the window manager screen screen, or "unknown" if the // window manager is unknown. The string is owned by GDK and should not be // freed. -// func (screen *X11Screen) WindowManagerName() string { var _arg0 *C.GdkScreen // out var _cret *C.char // in @@ -1028,7 +1008,6 @@ func marshalX11Window(p uintptr) (interface{}, error) { // The function returns the following values: // // - guint32: current workspace of window. -// func (window *X11Window) Desktop() uint32 { var _arg0 *C.GdkWindow // out var _cret C.guint32 // in @@ -1067,7 +1046,6 @@ func (window *X11Window) MoveToCurrentDesktop() { // The function takes the following parameters: // // - desktop: number of the workspace to move the window to. -// func (window *X11Window) MoveToDesktop(desktop uint32) { var _arg0 *C.GdkWindow // out var _arg1 C.guint32 // out @@ -1091,7 +1069,6 @@ func (window *X11Window) MoveToDesktop(desktop uint32) { // - right extent. // - top extent. // - bottom extent. -// func (window *X11Window) SetFrameExtents(left, right, top, bottom int) { var _arg0 *C.GdkWindow // out var _arg1 C.int // out @@ -1123,7 +1100,6 @@ func (window *X11Window) SetFrameExtents(left, right, top, bottom int) { // The function takes the following parameters: // // - frameSyncEnabled: whether frame-synchronization should be enabled. -// func (window *X11Window) SetFrameSyncEnabled(frameSyncEnabled bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -1148,7 +1124,6 @@ func (window *X11Window) SetFrameSyncEnabled(frameSyncEnabled bool) { // The function takes the following parameters: // // - hideTitlebarWhenMaximized: whether to hide the titlebar when maximized. -// func (window *X11Window) SetHideTitlebarWhenMaximized(hideTitlebarWhenMaximized bool) { var _arg0 *C.GdkWindow // out var _arg1 C.gboolean // out @@ -1175,7 +1150,6 @@ func (window *X11Window) SetHideTitlebarWhenMaximized(hideTitlebarWhenMaximized // The function takes the following parameters: // // - variant: theme variant to export. -// func (window *X11Window) SetThemeVariant(variant string) { var _arg0 *C.GdkWindow // out var _arg1 *C.char // out @@ -1203,7 +1177,6 @@ func (window *X11Window) SetThemeVariant(variant string) { // The function takes the following parameters: // // - timestamp: XServer timestamp to which the property should be set. -// func (window *X11Window) SetUserTime(timestamp uint32) { var _arg0 *C.GdkWindow // out var _arg1 C.guint32 // out @@ -1224,7 +1197,6 @@ func (window *X11Window) SetUserTime(timestamp uint32) { // // - name: property name, will be interned as an X atom. // - value (optional): property value, or NULL to delete. -// func (window *X11Window) SetUTF8Property(name, value string) { var _arg0 *C.GdkWindow // out var _arg1 *C.gchar // out diff --git a/pkg/gdkx11/v4/gdkx11.go b/pkg/gdkx11/v4/gdkx11.go index 4e4d47cfb..296fd84ec 100644 --- a/pkg/gdkx11/v4/gdkx11.go +++ b/pkg/gdkx11/v4/gdkx11.go @@ -81,7 +81,6 @@ func (x X11DeviceType) String() string { // The function returns the following values: // // - gint: XInput2 device ID. -// func X11DeviceGetID(device *X11DeviceXI2) int { var _arg1 *C.GdkDevice // out var _cret C.int // in @@ -109,7 +108,6 @@ func X11DeviceGetID(device *X11DeviceXI2) int { // // - x11DeviceXI2 (optional) wrapping the device ID, or NULL if the given ID // doesn’t currently represent a device. -// func X11DeviceManagerLookup(deviceManager *X11DeviceManagerXI2, deviceId int) *X11DeviceXI2 { var _arg1 *C.GdkX11DeviceManagerXI2 // out var _arg2 C.int // out @@ -138,7 +136,6 @@ func X11DeviceManagerLookup(deviceManager *X11DeviceManagerXI2, deviceId int) *X // // - ctext: pointer stored in ctext from a call to // gdk_x11_display_string_to_compound_text(). -// func X11FreeCompoundText(ctext *byte) { var _arg1 *C.guchar // out @@ -158,7 +155,6 @@ func X11FreeCompoundText(ctext *byte) { // The function returns the following values: // // - guint32: time stamp. -// func X11GetServerTime(surface *X11Surface) uint32 { var _arg1 *C.GdkSurface // out var _cret C.guint32 // in @@ -186,7 +182,6 @@ func X11GetServerTime(surface *X11Surface) uint32 { // // - smClientId (optional): client id assigned by the session manager when the // connection was opened, or NULL to remove the property. -// func X11SetSmClientID(smClientId string) { var _arg1 *C.char // out @@ -312,7 +307,6 @@ func (display *X11Display) ConnectXevent(f func(xevent unsafe.Pointer) (ok bool) // The function returns the following values: // // - gint: x error code or 0 on success. -// func (display *X11Display) ErrorTrapPop() int { var _arg0 *C.GdkDisplay // out var _cret C.int // in @@ -363,7 +357,6 @@ func (display *X11Display) ErrorTrapPush() { // The function returns the following values: // // - surface: default group leader surface for display. -// func (display *X11Display) DefaultGroup() gdk.Surfacer { var _arg0 *C.GdkDisplay // out var _cret *C.GdkSurface // in @@ -403,7 +396,6 @@ func (display *X11Display) DefaultGroup() gdk.Surfacer { // - major: return location for the GLX major version. // - minor: return location for the GLX minor version. // - ok: TRUE if GLX is available. -// func (display *X11Display) GLXVersion() (major, minor int, ok bool) { var _arg0 *C.GdkDisplay // out var _arg1 C.int // in @@ -442,7 +434,6 @@ func (display *X11Display) GLXVersion() (major, minor int, ok bool) { // // - monitor: primary monitor, or any monitor if no primary monitor is // configured by the user. -// func (display *X11Display) PrimaryMonitor() *gdk.Monitor { var _arg0 *C.GdkDisplay // out var _cret *C.GdkMonitor // in @@ -469,7 +460,6 @@ func (display *X11Display) PrimaryMonitor() *gdk.Monitor { // The function returns the following values: // // - x11Screen: X11Screen. -// func (display *X11Display) Screen() *X11Screen { var _arg0 *C.GdkDisplay // out var _cret *C.GdkX11Screen // in @@ -491,7 +481,6 @@ func (display *X11Display) Screen() *X11Screen { // The function returns the following values: // // - utf8: startup notification ID for display. -// func (display *X11Display) StartupNotificationID() string { var _arg0 *C.GdkDisplay // out var _cret *C.char // in @@ -515,7 +504,6 @@ func (display *X11Display) StartupNotificationID() string { // The function returns the following values: // // - guint32: timestamp of the last user interaction. -// func (display *X11Display) UserTime() uint32 { var _arg0 *C.GdkDisplay // out var _cret C.guint32 // in @@ -559,7 +547,6 @@ func (display *X11Display) Grab() { // - theme (optional): name of the cursor theme to use, or NULL to unset a // previously set value. // - size: cursor size to use, or 0 to keep the previous size. -// func (display *X11Display) SetCursorTheme(theme string, size int) { var _arg0 *C.GdkDisplay // out var _arg1 *C.char // out @@ -595,7 +582,6 @@ func (display *X11Display) SetCursorTheme(theme string, size int) { // The function takes the following parameters: // // - startupId: startup notification ID (must be valid utf8). -// func (display *X11Display) SetStartupNotificationID(startupId string) { var _arg0 *C.GdkDisplay // out var _arg1 *C.char // out @@ -620,7 +606,6 @@ func (display *X11Display) SetStartupNotificationID(startupId string) { // The function takes the following parameters: // // - scale: new scale value. -// func (display *X11Display) SetSurfaceScale(scale int) { var _arg0 *C.GdkDisplay // out var _arg1 C.int // out @@ -647,7 +632,6 @@ func (display *X11Display) SetSurfaceScale(scale int) { // - format: location to store the format of the property. // - ctext: location to store newly allocated data for the property. // - gint: 0 upon success, non-zero upon failure. -// func (display *X11Display) StringToCompoundText(str string) (encoding string, format int, ctext []byte, gint int) { var _arg0 *C.GdkDisplay // out var _arg1 *C.char // out @@ -702,7 +686,6 @@ func (display *X11Display) Ungrab() { // - format: location to store format of the result. // - ctext: location to store the data of the result. // - ok: TRUE if the conversion succeeded, otherwise FALSE. -// func (display *X11Display) UTF8ToCompoundText(str string) (string, int, []byte, bool) { var _arg0 *C.GdkDisplay // out var _arg1 *C.char // out @@ -748,7 +731,6 @@ func (display *X11Display) UTF8ToCompoundText(str string) (string, int, []byte, // The function returns the following values: // // - display (optional): new display or NULL on error. -// func X11DisplayOpen(displayName string) *gdk.Display { var _arg1 *C.char // out var _cret *C.GdkDisplay // in @@ -784,7 +766,6 @@ func X11DisplayOpen(displayName string) *gdk.Display { // // - display: Display. // - programClass: string. -// func X11DisplaySetProgramClass(display *gdk.Display, programClass string) { var _arg1 *C.GdkDisplay // out var _arg2 *C.char // out @@ -870,7 +851,6 @@ func marshalX11Monitor(p uintptr) (interface{}, error) { // The function returns the following values: // // - workarea to be filled with the monitor workarea. -// func (monitor *X11Monitor) Workarea() *gdk.Rectangle { var _arg0 *C.GdkMonitor // out var _arg1 C.GdkRectangle // in @@ -918,7 +898,6 @@ func (screen *X11Screen) ConnectWindowManagerChanged(f func()) coreglib.SignalHa // The function returns the following values: // // - guint32: current workspace, or 0 if workspaces are not supported. -// func (screen *X11Screen) CurrentDesktop() uint32 { var _arg0 *C.GdkX11Screen // out var _cret C.guint32 // in @@ -943,7 +922,6 @@ func (screen *X11Screen) CurrentDesktop() uint32 { // The function returns the following values: // // - guint32: number of workspaces, or 0 if workspaces are not supported. -// func (screen *X11Screen) NumberOfDesktops() uint32 { var _arg0 *C.GdkX11Screen // out var _cret C.guint32 // in @@ -965,7 +943,6 @@ func (screen *X11Screen) NumberOfDesktops() uint32 { // The function returns the following values: // // - gint: position of screen among the screens of its display. -// func (screen *X11Screen) ScreenNumber() int { var _arg0 *C.GdkX11Screen // out var _cret C.int // in @@ -989,7 +966,6 @@ func (screen *X11Screen) ScreenNumber() int { // - utf8: name of the window manager screen screen, or "unknown" if the // window manager is unknown. The string is owned by GDK and should not be // freed. -// func (screen *X11Screen) WindowManagerName() string { var _arg0 *C.GdkX11Screen // out var _cret *C.char // in @@ -1026,7 +1002,6 @@ func (screen *X11Screen) WindowManagerName() string { // The function returns the following values: // // - ok: TRUE if the window manager supports property. -// func (screen *X11Screen) SupportsNetWmHint(propertyName string) bool { var _arg0 *C.GdkX11Screen // out var _arg1 *C.char // out @@ -1075,7 +1050,6 @@ func marshalX11Surface(p uintptr) (interface{}, error) { // The function returns the following values: // // - guint32: current workspace of surface. -// func (surface *X11Surface) Desktop() uint32 { var _arg0 *C.GdkSurface // out var _cret C.guint32 // in @@ -1097,7 +1071,6 @@ func (surface *X11Surface) Desktop() uint32 { // The function returns the following values: // // - ret: group of this surface;. -// func (surface *X11Surface) Group() gdk.Surfacer { var _arg0 *C.GdkSurface // out var _cret *C.GdkSurface // in @@ -1152,7 +1125,6 @@ func (surface *X11Surface) MoveToCurrentDesktop() { // The function takes the following parameters: // // - desktop: number of the workspace to move the surface to. -// func (surface *X11Surface) MoveToDesktop(desktop uint32) { var _arg0 *C.GdkSurface // out var _arg1 C.guint32 // out @@ -1175,7 +1147,6 @@ func (surface *X11Surface) MoveToDesktop(desktop uint32) { // The function takes the following parameters: // // - frameSyncEnabled: whether frame-synchronization should be enabled. -// func (surface *X11Surface) SetFrameSyncEnabled(frameSyncEnabled bool) { var _arg0 *C.GdkSurface // out var _arg1 C.gboolean // out @@ -1196,7 +1167,6 @@ func (surface *X11Surface) SetFrameSyncEnabled(frameSyncEnabled bool) { // The function takes the following parameters: // // - leader: Surface. -// func (surface *X11Surface) SetGroup(leader gdk.Surfacer) { var _arg0 *C.GdkSurface // out var _arg1 *C.GdkSurface // out @@ -1215,7 +1185,6 @@ func (surface *X11Surface) SetGroup(leader gdk.Surfacer) { // The function takes the following parameters: // // - skipsPager: TRUE to skip pagers. -// func (surface *X11Surface) SetSkipPagerHint(skipsPager bool) { var _arg0 *C.GdkSurface // out var _arg1 C.gboolean // out @@ -1236,7 +1205,6 @@ func (surface *X11Surface) SetSkipPagerHint(skipsPager bool) { // The function takes the following parameters: // // - skipsTaskbar: TRUE to skip taskbars. -// func (surface *X11Surface) SetSkipTaskbarHint(skipsTaskbar bool) { var _arg0 *C.GdkSurface // out var _arg1 C.gboolean // out @@ -1263,7 +1231,6 @@ func (surface *X11Surface) SetSkipTaskbarHint(skipsTaskbar bool) { // The function takes the following parameters: // // - variant: theme variant to export. -// func (surface *X11Surface) SetThemeVariant(variant string) { var _arg0 *C.GdkSurface // out var _arg1 *C.char // out @@ -1283,7 +1250,6 @@ func (surface *X11Surface) SetThemeVariant(variant string) { // The function takes the following parameters: // // - urgent: TRUE to indicate urgenct attention needed. -// func (surface *X11Surface) SetUrgencyHint(urgent bool) { var _arg0 *C.GdkSurface // out var _arg1 C.gboolean // out @@ -1312,7 +1278,6 @@ func (surface *X11Surface) SetUrgencyHint(urgent bool) { // The function takes the following parameters: // // - timestamp: XServer timestamp to which the property should be set. -// func (surface *X11Surface) SetUserTime(timestamp uint32) { var _arg0 *C.GdkSurface // out var _arg1 C.guint32 // out @@ -1333,7 +1298,6 @@ func (surface *X11Surface) SetUserTime(timestamp uint32) { // // - name: property name, will be interned as an X atom. // - value (optional): property value, or NULL to delete. -// func (surface *X11Surface) SetUTF8Property(name, value string) { var _arg0 *C.GdkSurface // out var _arg1 *C.char // out diff --git a/pkg/gio/v2/gio.go b/pkg/gio/v2/gio.go index d4fdaaa20..1354460a8 100644 --- a/pkg/gio/v2/gio.go +++ b/pkg/gio/v2/gio.go @@ -3278,7 +3278,6 @@ func (d DBusError) String() string { // The function returns the following values: // // - utf8 d-Bus error name (never NULL). Free with g_free(). -// func DBusErrorEncodeGError(err error) string { var _arg1 *C.GError // out var _cret *C.gchar // in @@ -3313,7 +3312,6 @@ func DBusErrorEncodeGError(err error) string { // // - utf8 (optional): allocated string or NULL if the D-Bus error name could // not be found. Free with g_free(). -// func DBusErrorGetRemoteError(err error) string { var _arg1 *C.GError // out var _cret *C.gchar // in @@ -3347,7 +3345,6 @@ func DBusErrorGetRemoteError(err error) string { // // - ok: TRUE if error represents an error from a remote peer, FALSE // otherwise. -// func DBusErrorIsRemoteError(err error) bool { var _arg1 *C.GError // out var _cret C.gboolean // in @@ -3402,7 +3399,6 @@ func DBusErrorIsRemoteError(err error) bool { // The function returns the following values: // // - err: allocated #GError. Free with g_error_free(). -// func NewDBusErrorForDBusError(dbusErrorName, dbusErrorMessage string) error { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -3453,7 +3449,6 @@ func DBusErrorQuark() glib.Quark { // The function returns the following values: // // - ok: TRUE if the association was created, FALSE if it already exists. -// func DBusErrorRegisterError(errorDomain glib.Quark, errorCode int, dbusErrorName string) bool { var _arg1 C.GQuark // out var _arg2 C.gint // out @@ -3492,7 +3487,6 @@ func DBusErrorRegisterError(errorDomain glib.Quark, errorCode int, dbusErrorName // - errorDomainQuarkName: error domain name. // - quarkVolatile: pointer where to store the #GQuark. // - entries: pointer to num_entries BusErrorEntry struct items. -// func DBusErrorRegisterErrorDomain(errorDomainQuarkName string, quarkVolatile *uint, entries []DBusErrorEntry) { var _arg1 *C.gchar // out var _arg2 *C.gsize // out @@ -3532,7 +3526,6 @@ func DBusErrorRegisterErrorDomain(errorDomainQuarkName string, quarkVolatile *ui // The function returns the following values: // // - ok: TRUE if information was stripped, FALSE otherwise. -// func DBusErrorStripRemoteError(err error) bool { var _arg1 *C.GError // out var _cret C.gboolean // in @@ -3565,7 +3558,6 @@ func DBusErrorStripRemoteError(err error) bool { // The function returns the following values: // // - ok: TRUE if the association was destroyed, FALSE if it wasn't found. -// func DBusErrorUnregisterError(errorDomain glib.Quark, errorCode int, dbusErrorName string) bool { var _arg1 C.GQuark // out var _arg2 C.gint // out @@ -4126,11 +4118,11 @@ func (f FilesystemPreviewType) String() string { // G_IO_ERROR_FAILED in cases that were not explicitly distinguished before. // You should therefore avoid writing code like // -// if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED)) -// { -// // Assume that this is EPRINTERONFIRE -// ... -// } +// if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED)) +// { +// // Assume that this is EPRINTERONFIRE +// ... +// } // // but should instead treat all unrecognized error codes the same as // IO_ERROR_FAILED. @@ -4391,8 +4383,8 @@ func (i IOModuleScopeFlags) String() string { // Note that because new values might be added, it is recommended that // applications check MonitorWarningLevel as ranges, for example: // -// if (warning_level > G_MEMORY_MONITOR_WARNING_LEVEL_LOW) -// drop_caches ();. +// if (warning_level > G_MEMORY_MONITOR_WARNING_LEVEL_LOW) +// drop_caches ();. type MemoryMonitorWarningLevel C.gint const ( @@ -4652,7 +4644,6 @@ func (r ResolverError) String() string { // The function returns the following values: // // - quark: #GQuark. -// func ResolverErrorQuark() glib.Quark { var _cret C.GQuark // in @@ -4766,7 +4757,6 @@ func (r ResourceError) String() string { // The function returns the following values: // // - quark: #GQuark. -// func ResourceErrorQuark() glib.Quark { var _cret C.GQuark // in @@ -5101,7 +5091,6 @@ func (t TLSChannelBindingError) String() string { // The function returns the following values: // // - quark: #GQuark. -// func TLSChannelBindingErrorQuark() glib.Quark { var _cret C.GQuark // in @@ -5241,7 +5230,6 @@ func (t TLSError) String() string { // The function returns the following values: // // - quark: #GQuark. -// func TLSErrorQuark() glib.Quark { var _cret C.GQuark // in @@ -7665,52 +7653,52 @@ type DBusInterfaceSetPropertyFunc func(connection *DBusConnection, sender, objec // too. Passive filter functions that don't modify the message can simply return // the message object: // -// static GDBusMessage * -// passive_filter (GDBusConnection *connection -// GDBusMessage *message, -// gboolean incoming, -// gpointer user_data) -// { -// // inspect message -// return message; -// } +// static GDBusMessage * +// passive_filter (GDBusConnection *connection +// GDBusMessage *message, +// gboolean incoming, +// gpointer user_data) +// { +// // inspect message +// return message; +// } // // Filter functions that wants to drop a message can simply return NULL: // -// static GDBusMessage * -// drop_filter (GDBusConnection *connection -// GDBusMessage *message, -// gboolean incoming, -// gpointer user_data) -// { -// if (should_drop_message) -// { -// g_object_unref (message); -// message = NULL; -// } -// return message; -// } +// static GDBusMessage * +// drop_filter (GDBusConnection *connection +// GDBusMessage *message, +// gboolean incoming, +// gpointer user_data) +// { +// if (should_drop_message) +// { +// g_object_unref (message); +// message = NULL; +// } +// return message; +// } // // Finally, a filter function may modify a message by copying it: // -// static GDBusMessage * -// modifying_filter (GDBusConnection *connection -// GDBusMessage *message, -// gboolean incoming, -// gpointer user_data) -// { -// GDBusMessage *copy; -// GError *error; +// static GDBusMessage * +// modifying_filter (GDBusConnection *connection +// GDBusMessage *message, +// gboolean incoming, +// gpointer user_data) +// { +// GDBusMessage *copy; +// GError *error; // -// error = NULL; -// copy = g_dbus_message_copy (message, &error); -// // handle error being set -// g_object_unref (message); +// error = NULL; +// copy = g_dbus_message_copy (message, &error); +// // handle error being set +// g_object_unref (message); // -// // modify copy +// // modify copy // -// return copy; -// } +// return copy; +// } // // If the returned BusMessage is different from message and cannot be sent on // connection (it could use features, such as file descriptors, not compatible @@ -7866,7 +7854,6 @@ type VFSFileLookupFunc func(vfs *VFS, identifier string) (file *File) // - ctx (optional) or NULL. // - busType: Type. // - callback (optional) to call when the request is satisfied. -// func BusGet(ctx context.Context, busType BusType, callback AsyncReadyCallback) { var _arg2 *C.GCancellable // out var _arg1 C.GBusType // out @@ -7907,7 +7894,6 @@ func BusGet(ctx context.Context, busType BusType, callback AsyncReadyCallback) { // The function returns the following values: // // - dBusConnection or NULL if error is set. Free with g_object_unref(). -// func BusGetFinish(res AsyncResulter) (*DBusConnection, error) { var _arg1 *C.GAsyncResult // out var _cret *C.GDBusConnection // in @@ -7953,7 +7939,6 @@ func BusGetFinish(res AsyncResulter) (*DBusConnection, error) { // The function returns the following values: // // - dBusConnection or NULL if error is set. Free with g_object_unref(). -// func BusGetSync(ctx context.Context, busType BusType) (*DBusConnection, error) { var _arg2 *C.GCancellable // out var _arg1 C.GBusType // out @@ -7993,7 +7978,6 @@ func BusGetSync(ctx context.Context, busType BusType) (*DBusConnection, error) { // The function takes the following parameters: // // - ownerId: identifier obtained from g_bus_own_name(). -// func BusUnownName(ownerId uint) { var _arg1 C.guint // out @@ -8015,7 +7999,6 @@ func BusUnownName(ownerId uint) { // The function takes the following parameters: // // - watcherId: identifier obtained from g_bus_watch_name(). -// func BusUnwatchName(watcherId uint) { var _arg1 C.guint // out @@ -8037,7 +8020,6 @@ func BusUnwatchName(watcherId uint) { // // - ok: TRUE if the file type corresponds to a type that can be executable, // FALSE otherwise. -// func ContentTypeCanBeExecutable(typ string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -8067,7 +8049,6 @@ func ContentTypeCanBeExecutable(typ string) bool { // The function returns the following values: // // - ok: TRUE if the two strings are identical or equivalent, FALSE otherwise. -// func ContentTypeEquals(type1, type2 string) bool { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -8102,7 +8083,6 @@ func ContentTypeEquals(type1, type2 string) bool { // // - utf8 (optional): newly allocated string with content type or NULL. // Free with g_free(). -// func ContentTypeFromMIMEType(mimeType string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -8134,7 +8114,6 @@ func ContentTypeFromMIMEType(mimeType string) string { // // - utf8: short description of the content type type. Free the returned // string with g_free(). -// func ContentTypeGetDescription(typ string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -8167,7 +8146,6 @@ func ContentTypeGetDescription(typ string) string { // // - utf8 (optional): registered generic icon name for the given type, or NULL // if unknown. Free with g_free(). -// func ContentTypeGetGenericIconName(typ string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -8198,7 +8176,6 @@ func ContentTypeGetGenericIconName(typ string) string { // // - icon corresponding to the content type. Free the returned object with // g_object_unref(). -// func ContentTypeGetIcon(typ string) *Icon { var _arg1 *C.gchar // out var _cret *C.GIcon // in @@ -8224,7 +8201,6 @@ func ContentTypeGetIcon(typ string) *Icon { // - utf8s: NULL-terminated list of directories to load MIME data from, // including any mime/ subdirectory, and with the first directory to try // listed first. -// func ContentTypeGetMIMEDirs() []string { var _cret **C.gchar // in @@ -8260,7 +8236,6 @@ func ContentTypeGetMIMEDirs() []string { // // - utf8 (optional): registered mime type for the given type, or NULL if // unknown; free with g_free(). -// func ContentTypeGetMIMEType(typ string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -8291,7 +8266,6 @@ func ContentTypeGetMIMEType(typ string) string { // // - icon: symbolic #GIcon corresponding to the content type. Free the // returned object with g_object_unref(). -// func ContentTypeGetSymbolicIcon(typ string) *Icon { var _arg1 *C.gchar // out var _cret *C.GIcon // in @@ -8325,7 +8299,6 @@ func ContentTypeGetSymbolicIcon(typ string) *Icon { // result, or NULL. // - utf8: string indicating a guessed content type for the given data. // Free with g_free(). -// func ContentTypeGuess(filename string, data []byte) (bool, string) { var _arg1 *C.gchar // out var _arg2 *C.guchar // out @@ -8379,7 +8352,6 @@ func ContentTypeGuess(filename string, data []byte) (bool, string) { // // - utf8s: NULL-terminated array of zero or more content types. Free with // g_strfreev(). -// func ContentTypeGuessForTree(root Filer) []string { var _arg1 *C.GFile // out var _cret **C.gchar // in @@ -8420,7 +8392,6 @@ func ContentTypeGuessForTree(root Filer) []string { // The function returns the following values: // // - ok: TRUE if type is a kind of supertype, FALSE otherwise. -// func ContentTypeIsA(typ, supertype string) bool { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -8455,7 +8426,6 @@ func ContentTypeIsA(typ, supertype string) bool { // The function returns the following values: // // - ok: TRUE if type is a kind of mime_type, FALSE otherwise. -// func ContentTypeIsMIMEType(typ, mimeType string) bool { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -8490,7 +8460,6 @@ func ContentTypeIsMIMEType(typ, mimeType string) bool { // The function returns the following values: // // - ok: TRUE if the type is the unknown type. -// func ContentTypeIsUnknown(typ string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -8523,21 +8492,20 @@ func ContentTypeIsUnknown(typ string) bool { // on the system’s MIME database, you should call this function with dirs set to // NULL before calling g_test_init(), for instance: // -// // Load MIME data from the system -// g_content_type_set_mime_dirs (NULL); -// // Isolate the environment -// g_test_init (&argc, &argv, G_TEST_OPTION_ISOLATE_DIRS, NULL); +// // Load MIME data from the system +// g_content_type_set_mime_dirs (NULL); +// // Isolate the environment +// g_test_init (&argc, &argv, G_TEST_OPTION_ISOLATE_DIRS, NULL); // -// … +// … // -// return g_test_run ();. +// return g_test_run ();. // // The function takes the following parameters: // // - dirs (optional): NULL-terminated list of directories to load MIME data // from, including any mime/ subdirectory, and with the first directory to // try listed first. -// func ContentTypeSetMIMEDirs(dirs []string) { var _arg1 **C.gchar // out @@ -8566,7 +8534,6 @@ func ContentTypeSetMIMEDirs(dirs []string) { // The function returns the following values: // // - list of the registered content types. -// func ContentTypesGetRegistered() []string { var _cret *C.GList // in @@ -8601,7 +8568,6 @@ func ContentTypesGetRegistered() []string { // The function returns the following values: // // - utf8: copy of string with all non-optionally-escaped bytes escaped. -// func DBusAddressEscapeValue(str string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -8635,7 +8601,6 @@ func DBusAddressEscapeValue(str string) string { // The function returns the following values: // // - utf8: valid D-Bus address string for bus_type or NULL if error is set. -// func DBusAddressGetForBusSync(ctx context.Context, busType BusType) (string, error) { var _arg2 *C.GCancellable // out var _arg1 C.GBusType // out @@ -8682,7 +8647,6 @@ func DBusAddressGetForBusSync(ctx context.Context, busType BusType) (string, err // - ctx (optional) or NULL. // - address: valid D-Bus address. // - callback (optional) to call when the request is satisfied. -// func DBusAddressGetStream(ctx context.Context, address string, callback AsyncReadyCallback) { var _arg2 *C.GCancellable // out var _arg1 *C.gchar // out @@ -8723,7 +8687,6 @@ func DBusAddressGetStream(ctx context.Context, address string, callback AsyncRea // - outGuid (optional): NULL or return location to store the GUID extracted // from address, if any. // - ioStream or NULL if error is set. -// func DBusAddressGetStreamFinish(res AsyncResulter) (string, IOStreamer, error) { var _arg1 *C.GAsyncResult // out var _arg2 *C.gchar // in @@ -8789,7 +8752,6 @@ func DBusAddressGetStreamFinish(res AsyncResulter) (string, IOStreamer, error) { // - outGuid (optional): NULL or return location to store the GUID extracted // from address, if any. // - ioStream or NULL if error is set. -// func DBusAddressGetStreamSync(ctx context.Context, address string) (string, IOStreamer, error) { var _arg3 *C.GCancellable // out var _arg1 *C.gchar // out @@ -8851,7 +8813,6 @@ func DBusAddressGetStreamSync(ctx context.Context, address string) (string, IOSt // The function returns the following values: // // - utf8: escaped version of s. Free with g_free(). -// func DBusEscapeObjectPath(s string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -8892,7 +8853,6 @@ func DBusEscapeObjectPath(s string) string { // The function returns the following values: // // - utf8: escaped version of bytes. Free with g_free(). -// func DBusEscapeObjectPathBytestring(bytes []byte) string { var _arg1 *C.guint8 // out var _cret *C.gchar // in @@ -8923,7 +8883,6 @@ func DBusEscapeObjectPathBytestring(bytes []byte) string { // The function returns the following values: // // - utf8: valid D-Bus GUID. Free with g_free(). -// func DBusGenerateGUID() string { var _cret *C.gchar // in @@ -8983,7 +8942,6 @@ func DBusGenerateGUID() string { // // - variant (never floating) of Type type holding the data from gvalue or an // empty #GVariant in case of failure. Free with g_variant_unref(). -// func DBusGValueToGVariant(gvalue *coreglib.Value, typ *glib.VariantType) *glib.Variant { var _arg1 *C.GValue // out var _arg2 *C.GVariantType // out @@ -9029,7 +8987,6 @@ func DBusGValueToGVariant(gvalue *coreglib.Value, typ *glib.VariantType) *glib.V // // - outGvalue: return location pointing to a zero-filled (uninitialized) // #GValue. -// func DBusGVariantToGValue(value *glib.Variant) coreglib.Value { var _arg1 *C.GVariant // out var _arg2 C.GValue // in @@ -9059,7 +9016,6 @@ func DBusGVariantToGValue(value *glib.Variant) coreglib.Value { // The function returns the following values: // // - ok: TRUE if string is a valid D-Bus address, FALSE otherwise. -// func DBusIsAddress(str string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -9091,7 +9047,6 @@ func DBusIsAddress(str string) bool { // The function returns the following values: // // - ok: TRUE if string is a guid, FALSE otherwise. -// func DBusIsGUID(str string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -9120,7 +9075,6 @@ func DBusIsGUID(str string) bool { // The function returns the following values: // // - ok: TRUE if valid, FALSE otherwise. -// func DBusIsInterfaceName(str string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -9150,7 +9104,6 @@ func DBusIsInterfaceName(str string) bool { // The function returns the following values: // // - ok: TRUE if valid, FALSE otherwise. -// func DBusIsMemberName(str string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -9180,7 +9133,6 @@ func DBusIsMemberName(str string) bool { // The function returns the following values: // // - ok: TRUE if valid, FALSE otherwise. -// func DBusIsName(str string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -9208,7 +9160,6 @@ func DBusIsName(str string) bool { // The function takes the following parameters: // // - str: string. -// func DBusIsSupportedAddress(str string) error { var _arg1 *C.gchar // out var _cerr *C.GError // in @@ -9237,7 +9188,6 @@ func DBusIsSupportedAddress(str string) error { // The function returns the following values: // // - ok: TRUE if valid, FALSE otherwise. -// func DBusIsUniqueName(str string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -9272,7 +9222,6 @@ func DBusIsUniqueName(str string) bool { // // - guint8s (optional): an unescaped version of s, or NULL if s is not a // string returned from g_dbus_escape_object_path(). Free with g_free(). -// func DBusUnescapeObjectPath(s string) []byte { var _arg1 *C.gchar // out var _cret *C.guint8 // in @@ -9319,7 +9268,6 @@ func DBusUnescapeObjectPath(s string) []byte { // The function returns the following values: // // - ioErrorEnum value for the given errno.h error number. -// func IOErrorFromErrno(errNo int) IOErrorEnum { var _arg1 C.gint // out var _cret C.GIOErrorEnum // in @@ -9341,7 +9289,6 @@ func IOErrorFromErrno(errNo int) IOErrorEnum { // The function returns the following values: // // - quark: #GQuark. -// func IOErrorQuark() glib.Quark { var _cret C.GQuark // in @@ -9370,7 +9317,6 @@ func IOErrorQuark() glib.Quark { // The function takes the following parameters: // // - dirname: pathname for a directory containing modules to scan. -// func IOModulesScanAllInDirectory(dirname string) { var _arg1 *C.char // out @@ -9405,7 +9351,6 @@ func IOSchedulerCancelAllJobs() { // The function returns the following values: // // - source: new #GSource. -// func NewPollableSource(pollableStream *coreglib.Object) *glib.Source { var _arg1 *C.GObject // out var _cret *C.GSource // in @@ -9442,7 +9387,6 @@ func NewPollableSource(pollableStream *coreglib.Object) *glib.Source { // The function returns the following values: // // - source: new #GSource. -// func PollableSourceNewFull(ctx context.Context, pollableStream *coreglib.Object, childSource *glib.Source) *glib.Source { var _arg3 *C.GCancellable // out var _arg1 C.gpointer // out @@ -9497,7 +9441,6 @@ func PollableSourceNewFull(ctx context.Context, pollableStream *coreglib.Object, // The function returns the following values: // // - gssize: number of bytes read, or -1 on error. -// func PollableStreamRead(ctx context.Context, stream InputStreamer, buffer []byte, blocking bool) (int, error) { var _arg5 *C.GCancellable // out var _arg1 *C.GInputStream // out @@ -9558,7 +9501,6 @@ func PollableStreamRead(ctx context.Context, stream InputStreamer, buffer []byte // The function returns the following values: // // - gssize: number of bytes written, or -1 on error. -// func PollableStreamWrite(ctx context.Context, stream OutputStreamer, buffer []byte, blocking bool) (int, error) { var _arg5 *C.GCancellable // out var _arg1 *C.GOutputStream // out @@ -9627,7 +9569,6 @@ func PollableStreamWrite(ctx context.Context, stream OutputStreamer, buffer []by // // - bytesWritten: location to store the number of bytes that was written to // the stream. -// func PollableStreamWriteAll(ctx context.Context, stream OutputStreamer, buffer []byte, blocking bool) (uint, error) { var _arg6 *C.GCancellable // out var _arg1 *C.GOutputStream // out @@ -9682,7 +9623,6 @@ func PollableStreamWriteAll(ctx context.Context, stream OutputStreamer, buffer [ // The function returns the following values: // // - utf8s: array of constant strings. -// func ResourcesEnumerateChildren(path string, lookupFlags ResourceLookupFlags) ([]string, error) { var _arg1 *C.char // out var _arg2 C.GResourceLookupFlags // out @@ -9738,7 +9678,6 @@ func ResourcesEnumerateChildren(path string, lookupFlags ResourceLookupFlags) ([ // file, or NULL if the length is not needed. // - flags (optional): location to place the Flags about the file, or NULL if // the flags are not needed. -// func ResourcesGetInfo(path string, lookupFlags ResourceLookupFlags) (uint, uint32, error) { var _arg1 *C.char // out var _arg2 C.GResourceLookupFlags // out @@ -9789,7 +9728,6 @@ func ResourcesGetInfo(path string, lookupFlags ResourceLookupFlags) (uint, uint3 // The function returns the following values: // // - bytes or NULL on error. Free the returned object with g_bytes_unref(). -// func ResourcesLookupData(path string, lookupFlags ResourceLookupFlags) (*glib.Bytes, error) { var _arg1 *C.char // out var _arg2 C.GResourceLookupFlags // out @@ -9836,7 +9774,6 @@ func ResourcesLookupData(path string, lookupFlags ResourceLookupFlags) (*glib.By // // - inputStream or NULL on error. Free the returned object with // g_object_unref(). -// func ResourcesOpenStream(path string, lookupFlags ResourceLookupFlags) (InputStreamer, error) { var _arg1 *C.char // out var _arg2 C.GResourceLookupFlags // out @@ -9885,7 +9822,6 @@ func ResourcesOpenStream(path string, lookupFlags ResourceLookupFlags) (InputStr // The function takes the following parameters: // // - resource: #GResource. -// func ResourcesRegister(resource *Resource) { var _arg1 *C.GResource // out @@ -9901,7 +9837,6 @@ func ResourcesRegister(resource *Resource) { // The function takes the following parameters: // // - resource: #GResource. -// func ResourcesUnregister(resource *Resource) { var _arg1 *C.GResource // out @@ -9922,7 +9857,6 @@ func ResourcesUnregister(resource *Resource) { // - object (optional) or NULL. // - callback (optional): ReadyCallback. // - err to report. -// func SimpleAsyncReportGErrorInIdle(object *coreglib.Object, callback AsyncReadyCallback, err error) { var _arg1 *C.GObject // out var _arg2 C.GAsyncReadyCallback // out @@ -10031,7 +9965,6 @@ func marshalAction(p uintptr) (interface{}, error) { // The function takes the following parameters: // // - parameter (optional) to the activation. -// func (action *Action) Activate(parameter *glib.Variant) { var _arg0 *C.GAction // out var _arg1 *C.GVariant // out @@ -10060,7 +9993,6 @@ func (action *Action) Activate(parameter *glib.Variant) { // The function takes the following parameters: // // - value: new state. -// func (action *Action) ChangeState(value *glib.Variant) { var _arg0 *C.GAction // out var _arg1 *C.GVariant // out @@ -10081,7 +10013,6 @@ func (action *Action) ChangeState(value *glib.Variant) { // The function returns the following values: // // - ok: whether the action is enabled. -// func (action *Action) Enabled() bool { var _arg0 *C.GAction // out var _cret C.gboolean // in @@ -10105,7 +10036,6 @@ func (action *Action) Enabled() bool { // The function returns the following values: // // - utf8: name of the action. -// func (action *Action) Name() string { var _arg0 *C.GAction // out var _cret *C.gchar // in @@ -10134,7 +10064,6 @@ func (action *Action) Name() string { // The function returns the following values: // // - variantType (optional): parameter type. -// func (action *Action) ParameterType() *glib.VariantType { var _arg0 *C.GAction // out var _cret *C.GVariantType // in @@ -10165,7 +10094,6 @@ func (action *Action) ParameterType() *glib.VariantType { // The function returns the following values: // // - variant (optional): current state of the action. -// func (action *Action) State() *glib.Variant { var _arg0 *C.GAction // out var _cret *C.GVariant // in @@ -10211,7 +10139,6 @@ func (action *Action) State() *glib.Variant { // The function returns the following values: // // - variant (optional): state range hint. -// func (action *Action) StateHint() *glib.Variant { var _arg0 *C.GAction // out var _cret *C.GVariant // in @@ -10251,7 +10178,6 @@ func (action *Action) StateHint() *glib.Variant { // The function returns the following values: // // - variantType (optional): state type, if the action is stateful. -// func (action *Action) StateType() *glib.VariantType { var _arg0 *C.GAction // out var _cret *C.GVariantType // in @@ -10281,7 +10207,6 @@ func (action *Action) StateType() *glib.VariantType { // The function takes the following parameters: // // - parameter (optional) to the activation. -// func (action *Action) activate(parameter *glib.Variant) { gclass := (*C.GActionInterface)(coreglib.PeekParentClass(action)) fnarg := gclass.activate @@ -10313,7 +10238,6 @@ func (action *Action) activate(parameter *glib.Variant) { // The function takes the following parameters: // // - value: new state. -// func (action *Action) changeState(value *glib.Variant) { gclass := (*C.GActionInterface)(coreglib.PeekParentClass(action)) fnarg := gclass.change_state @@ -10337,7 +10261,6 @@ func (action *Action) changeState(value *glib.Variant) { // The function returns the following values: // // - ok: whether the action is enabled. -// func (action *Action) enabled() bool { gclass := (*C.GActionInterface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_enabled @@ -10364,7 +10287,6 @@ func (action *Action) enabled() bool { // The function returns the following values: // // - utf8: name of the action. -// func (action *Action) name() string { gclass := (*C.GActionInterface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_name @@ -10396,7 +10318,6 @@ func (action *Action) name() string { // The function returns the following values: // // - variantType (optional): parameter type. -// func (action *Action) parameterType() *glib.VariantType { gclass := (*C.GActionInterface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_parameter_type @@ -10430,7 +10351,6 @@ func (action *Action) parameterType() *glib.VariantType { // The function returns the following values: // // - variant (optional): current state of the action. -// func (action *Action) state() *glib.Variant { gclass := (*C.GActionInterface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_state @@ -10479,7 +10399,6 @@ func (action *Action) state() *glib.Variant { // The function returns the following values: // // - variant (optional): state range hint. -// func (action *Action) stateHint() *glib.Variant { gclass := (*C.GActionInterface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_state_hint @@ -10522,7 +10441,6 @@ func (action *Action) stateHint() *glib.Variant { // The function returns the following values: // // - variantType (optional): state type, if the action is stateful. -// func (action *Action) stateType() *glib.VariantType { gclass := (*C.GActionInterface)(coreglib.PeekParentClass(action)) fnarg := gclass.get_state_type @@ -10559,7 +10477,6 @@ func (action *Action) stateType() *glib.VariantType { // The function returns the following values: // // - ok: TRUE if action_name is valid. -// func ActionNameIsValid(actionName string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -10611,7 +10528,6 @@ func ActionNameIsValid(actionName string) bool { // // - actionName: action name. // - targetValue: target value, or NULL for no target. -// func ActionParseDetailedName(detailedName string) (string, *glib.Variant, error) { var _arg1 *C.gchar // out var _arg2 *C.gchar // in @@ -10664,7 +10580,6 @@ func ActionParseDetailedName(detailedName string) (string, *glib.Variant, error) // The function returns the following values: // // - utf8: detailed format string. -// func ActionPrintDetailedName(actionName string, targetValue *glib.Variant) string { var _arg1 *C.gchar // out var _arg2 *C.GVariant // out @@ -10840,7 +10755,6 @@ func (actionGroup *ActionGroup) ConnectActionStateChanged(f func(actionName stri // The function takes the following parameters: // // - actionName: name of an action in the group. -// func (actionGroup *ActionGroup) ActionAdded(actionName string) { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -10863,7 +10777,6 @@ func (actionGroup *ActionGroup) ActionAdded(actionName string) { // // - actionName: name of an action in the group. // - enabled: whether or not the action is now enabled. -// func (actionGroup *ActionGroup) ActionEnabledChanged(actionName string, enabled bool) { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -10889,7 +10802,6 @@ func (actionGroup *ActionGroup) ActionEnabledChanged(actionName string, enabled // The function takes the following parameters: // // - actionName: name of an action in the group. -// func (actionGroup *ActionGroup) ActionRemoved(actionName string) { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -10912,7 +10824,6 @@ func (actionGroup *ActionGroup) ActionRemoved(actionName string) { // // - actionName: name of an action in the group. // - state: new state of the named action. -// func (actionGroup *ActionGroup) ActionStateChanged(actionName string, state *glib.Variant) { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -10949,21 +10860,20 @@ func (actionGroup *ActionGroup) ActionStateChanged(actionName string, state *gli // g_dbus_connection_flush(), the "quit" action may fail to be activated on the // primary instance. // -// // call "quit" action on primary instance -// g_action_group_activate_action (G_ACTION_GROUP (app), "quit", NULL); +// // call "quit" action on primary instance +// g_action_group_activate_action (G_ACTION_GROUP (app), "quit", NULL); // -// // make sure the action is activated now -// g_dbus_connection_flush (...); +// // make sure the action is activated now +// g_dbus_connection_flush (...); // -// g_debug ("application has been terminated. exiting."); +// g_debug ("application has been terminated. exiting."); // -// exit (0);. +// exit (0);. // // The function takes the following parameters: // // - actionName: name of the action to activate. // - parameter (optional) parameters to the activation. -// func (actionGroup *ActionGroup) ActivateAction(actionName string, parameter *glib.Variant) { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -10998,7 +10908,6 @@ func (actionGroup *ActionGroup) ActivateAction(actionName string, parameter *gli // // - actionName: name of the action to request the change on. // - value: new state. -// func (actionGroup *ActionGroup) ChangeActionState(actionName string, value *glib.Variant) { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -11028,7 +10937,6 @@ func (actionGroup *ActionGroup) ChangeActionState(actionName string, value *glib // The function returns the following values: // // - ok: whether or not the action is currently enabled. -// func (actionGroup *ActionGroup) ActionEnabled(actionName string) bool { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -11072,7 +10980,6 @@ func (actionGroup *ActionGroup) ActionEnabled(actionName string) bool { // The function returns the following values: // // - variantType (optional): parameter type. -// func (actionGroup *ActionGroup) ActionParameterType(actionName string) *glib.VariantType { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -11112,7 +11019,6 @@ func (actionGroup *ActionGroup) ActionParameterType(actionName string) *glib.Var // The function returns the following values: // // - variant (optional): current state of the action. -// func (actionGroup *ActionGroup) ActionState(actionName string) *glib.Variant { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -11166,7 +11072,6 @@ func (actionGroup *ActionGroup) ActionState(actionName string) *glib.Variant { // The function returns the following values: // // - variant (optional): state range hint. -// func (actionGroup *ActionGroup) ActionStateHint(actionName string) *glib.Variant { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -11218,7 +11123,6 @@ func (actionGroup *ActionGroup) ActionStateHint(actionName string) *glib.Variant // The function returns the following values: // // - variantType (optional): state type, if the action is stateful. -// func (actionGroup *ActionGroup) ActionStateType(actionName string) *glib.VariantType { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -11250,7 +11154,6 @@ func (actionGroup *ActionGroup) ActionStateType(actionName string) *glib.Variant // The function returns the following values: // // - ok: whether the named action exists. -// func (actionGroup *ActionGroup) HasAction(actionName string) bool { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -11281,7 +11184,6 @@ func (actionGroup *ActionGroup) HasAction(actionName string) bool { // The function returns the following values: // // - utf8s: NULL-terminated array of the names of the actions in the group. -// func (actionGroup *ActionGroup) ListActions() []string { var _arg0 *C.GActionGroup // out var _cret **C.gchar // in @@ -11351,7 +11253,6 @@ func (actionGroup *ActionGroup) ListActions() []string { // - stateHint (optional): state hint, or NULL if none. // - state (optional): current state, or NULL if stateless. // - ok: TRUE if the action exists, else FALSE. -// func (actionGroup *ActionGroup) QueryAction(actionName string) (enabled bool, parameterType, stateType *glib.VariantType, stateHint, state *glib.Variant, ok bool) { var _arg0 *C.GActionGroup // out var _arg1 *C.gchar // out @@ -11430,7 +11331,6 @@ func (actionGroup *ActionGroup) QueryAction(actionName string) (enabled bool, pa // The function takes the following parameters: // // - actionName: name of an action in the group. -// func (actionGroup *ActionGroup) actionAdded(actionName string) { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.action_added @@ -11456,7 +11356,6 @@ func (actionGroup *ActionGroup) actionAdded(actionName string) { // // - actionName: name of an action in the group. // - enabled: whether or not the action is now enabled. -// func (actionGroup *ActionGroup) actionEnabledChanged(actionName string, enabled bool) { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.action_enabled_changed @@ -11485,7 +11384,6 @@ func (actionGroup *ActionGroup) actionEnabledChanged(actionName string, enabled // The function takes the following parameters: // // - actionName: name of an action in the group. -// func (actionGroup *ActionGroup) actionRemoved(actionName string) { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.action_removed @@ -11511,7 +11409,6 @@ func (actionGroup *ActionGroup) actionRemoved(actionName string) { // // - actionName: name of an action in the group. // - state: new state of the named action. -// func (actionGroup *ActionGroup) actionStateChanged(actionName string, state *glib.Variant) { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.action_state_changed @@ -11551,21 +11448,20 @@ func (actionGroup *ActionGroup) actionStateChanged(actionName string, state *gli // g_dbus_connection_flush(), the "quit" action may fail to be activated on the // primary instance. // -// // call "quit" action on primary instance -// g_action_group_activate_action (G_ACTION_GROUP (app), "quit", NULL); +// // call "quit" action on primary instance +// g_action_group_activate_action (G_ACTION_GROUP (app), "quit", NULL); // -// // make sure the action is activated now -// g_dbus_connection_flush (...); +// // make sure the action is activated now +// g_dbus_connection_flush (...); // -// g_debug ("application has been terminated. exiting."); +// g_debug ("application has been terminated. exiting."); // -// exit (0);. +// exit (0);. // // The function takes the following parameters: // // - actionName: name of the action to activate. // - parameter (optional) parameters to the activation. -// func (actionGroup *ActionGroup) activateAction(actionName string, parameter *glib.Variant) { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.activate_action @@ -11603,7 +11499,6 @@ func (actionGroup *ActionGroup) activateAction(actionName string, parameter *gli // // - actionName: name of the action to request the change on. // - value: new state. -// func (actionGroup *ActionGroup) changeActionState(actionName string, value *glib.Variant) { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.change_action_state @@ -11636,7 +11531,6 @@ func (actionGroup *ActionGroup) changeActionState(actionName string, value *glib // The function returns the following values: // // - ok: whether or not the action is currently enabled. -// func (actionGroup *ActionGroup) actionEnabled(actionName string) bool { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.get_action_enabled @@ -11683,7 +11577,6 @@ func (actionGroup *ActionGroup) actionEnabled(actionName string) bool { // The function returns the following values: // // - variantType (optional): parameter type. -// func (actionGroup *ActionGroup) actionParameterType(actionName string) *glib.VariantType { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.get_action_parameter_type @@ -11726,7 +11619,6 @@ func (actionGroup *ActionGroup) actionParameterType(actionName string) *glib.Var // The function returns the following values: // // - variant (optional): current state of the action. -// func (actionGroup *ActionGroup) actionState(actionName string) *glib.Variant { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.get_action_state @@ -11783,7 +11675,6 @@ func (actionGroup *ActionGroup) actionState(actionName string) *glib.Variant { // The function returns the following values: // // - variant (optional): state range hint. -// func (actionGroup *ActionGroup) actionStateHint(actionName string) *glib.Variant { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.get_action_state_hint @@ -11838,7 +11729,6 @@ func (actionGroup *ActionGroup) actionStateHint(actionName string) *glib.Variant // The function returns the following values: // // - variantType (optional): state type, if the action is stateful. -// func (actionGroup *ActionGroup) actionStateType(actionName string) *glib.VariantType { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.get_action_state_type @@ -11873,7 +11763,6 @@ func (actionGroup *ActionGroup) actionStateType(actionName string) *glib.Variant // The function returns the following values: // // - ok: whether the named action exists. -// func (actionGroup *ActionGroup) hasAction(actionName string) bool { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.has_action @@ -11907,7 +11796,6 @@ func (actionGroup *ActionGroup) hasAction(actionName string) bool { // The function returns the following values: // // - utf8s: NULL-terminated array of the names of the actions in the group. -// func (actionGroup *ActionGroup) listActions() []string { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.list_actions @@ -11980,7 +11868,6 @@ func (actionGroup *ActionGroup) listActions() []string { // - stateHint (optional): state hint, or NULL if none. // - state (optional): current state, or NULL if stateless. // - ok: TRUE if the action exists, else FALSE. -// func (actionGroup *ActionGroup) queryAction(actionName string) (enabled bool, parameterType, stateType *glib.VariantType, stateHint, state *glib.Variant, ok bool) { gclass := (*C.GActionGroupInterface)(coreglib.PeekParentClass(actionGroup)) fnarg := gclass.query_action @@ -12110,7 +11997,6 @@ func marshalActionMap(p uintptr) (interface{}, error) { // The function takes the following parameters: // // - action: #GAction. -// func (actionMap *ActionMap) AddAction(action Actioner) { var _arg0 *C.GActionMap // out var _arg1 *C.GAction // out @@ -12128,42 +12014,41 @@ func (actionMap *ActionMap) AddAction(action Actioner) { // // Each action is constructed as per one Entry. // -// static void -// activate_quit (GSimpleAction *simple, -// GVariant *parameter, -// gpointer user_data) -// { -// exit (0); -// } +// static void +// activate_quit (GSimpleAction *simple, +// GVariant *parameter, +// gpointer user_data) +// { +// exit (0); +// } // -// static void -// activate_print_string (GSimpleAction *simple, -// GVariant *parameter, -// gpointer user_data) -// { -// g_print ("s\n", g_variant_get_string (parameter, NULL)); -// } +// static void +// activate_print_string (GSimpleAction *simple, +// GVariant *parameter, +// gpointer user_data) +// { +// g_print ("s\n", g_variant_get_string (parameter, NULL)); +// } // -// static GActionGroup * -// create_action_group (void) -// { -// const GActionEntry entries[] = { -// { "quit", activate_quit }, -// { "print-string", activate_print_string, "s" } -// }; -// GSimpleActionGroup *group; +// static GActionGroup * +// create_action_group (void) +// { +// const GActionEntry entries[] = { +// { "quit", activate_quit }, +// { "print-string", activate_print_string, "s" } +// }; +// GSimpleActionGroup *group; // -// group = g_simple_action_group_new (); -// g_action_map_add_action_entries (G_ACTION_MAP (group), entries, G_N_ELEMENTS (entries), NULL); +// group = g_simple_action_group_new (); +// g_action_map_add_action_entries (G_ACTION_MAP (group), entries, G_N_ELEMENTS (entries), NULL); // -// return G_ACTION_GROUP (group); -// }. +// return G_ACTION_GROUP (group); +// }. // // The function takes the following parameters: // // - entries: pointer to the first item in an array of Entry structs. // - userData (optional): user data for signal connections. -// func (actionMap *ActionMap) AddActionEntries(entries []ActionEntry, userData unsafe.Pointer) { var _arg0 *C.GActionMap // out var _arg1 *C.GActionEntry // out @@ -12199,7 +12084,6 @@ func (actionMap *ActionMap) AddActionEntries(entries []ActionEntry, userData uns // The function returns the following values: // // - action (optional) or NULL. -// func (actionMap *ActionMap) LookupAction(actionName string) *Action { var _arg0 *C.GActionMap // out var _arg1 *C.gchar // out @@ -12229,7 +12113,6 @@ func (actionMap *ActionMap) LookupAction(actionName string) *Action { // The function takes the following parameters: // // - actionName: name of the action. -// func (actionMap *ActionMap) RemoveAction(actionName string) { var _arg0 *C.GActionMap // out var _arg1 *C.gchar // out @@ -12253,7 +12136,6 @@ func (actionMap *ActionMap) RemoveAction(actionName string) { // The function takes the following parameters: // // - action: #GAction. -// func (actionMap *ActionMap) addAction(action Actioner) { gclass := (*C.GActionMapInterface)(coreglib.PeekParentClass(actionMap)) fnarg := gclass.add_action @@ -12280,7 +12162,6 @@ func (actionMap *ActionMap) addAction(action Actioner) { // The function returns the following values: // // - action (optional) or NULL. -// func (actionMap *ActionMap) lookupAction(actionName string) *Action { gclass := (*C.GActionMapInterface)(coreglib.PeekParentClass(actionMap)) fnarg := gclass.lookup_action @@ -12313,7 +12194,6 @@ func (actionMap *ActionMap) lookupAction(actionName string) *Action { // The function takes the following parameters: // // - actionName: name of the action. -// func (actionMap *ActionMap) removeAction(actionName string) { gclass := (*C.GActionMapInterface)(coreglib.PeekParentClass(actionMap)) fnarg := gclass.remove_action @@ -12352,20 +12232,20 @@ func (actionMap *ActionMap) removeAction(actionName string) { // g_file_new_for_commandline_arg() is equal to the result of g_file_get_uri(). // The following snippet illustrates this: // -// GFile *f; -// char *uri; +// GFile *f; +// char *uri; // -// file = g_file_new_for_commandline_arg (uri_from_commandline); +// file = g_file_new_for_commandline_arg (uri_from_commandline); // -// uri = g_file_get_uri (file); -// strcmp (uri, uri_from_commandline) == 0; -// g_free (uri); +// uri = g_file_get_uri (file); +// strcmp (uri, uri_from_commandline) == 0; +// g_free (uri); // -// if (g_file_has_uri_scheme (file, "cdda")) -// { -// // do something special with uri -// } -// g_object_unref (file); +// if (g_file_has_uri_scheme (file, "cdda")) +// { +// // do something special with uri +// } +// g_object_unref (file); // // This code will work when both cdda://sr0/Track 1.wav and // /home/user/.gvfs/cdda on sr0/Track 1.wav is passed to the application. @@ -12471,7 +12351,6 @@ func marshalAppInfo(p uintptr) (interface{}, error) { // The function takes the following parameters: // // - contentType: string. -// func (appinfo *AppInfo) AddSupportsType(contentType string) error { var _arg0 *C.GAppInfo // out var _arg1 *C.char // out @@ -12500,7 +12379,6 @@ func (appinfo *AppInfo) AddSupportsType(contentType string) error { // The function returns the following values: // // - ok: TRUE if appinfo can be deleted. -// func (appinfo *AppInfo) CanDelete() bool { var _arg0 *C.GAppInfo // out var _cret C.gboolean // in @@ -12526,7 +12404,6 @@ func (appinfo *AppInfo) CanDelete() bool { // // - ok: TRUE if it is possible to remove supported content types from a given // appinfo, FALSE if not. -// func (appinfo *AppInfo) CanRemoveSupportsType() bool { var _arg0 *C.GAppInfo // out var _cret C.gboolean // in @@ -12554,7 +12431,6 @@ func (appinfo *AppInfo) CanRemoveSupportsType() bool { // The function returns the following values: // // - ok: TRUE if appinfo has been deleted. -// func (appinfo *AppInfo) Delete() bool { var _arg0 *C.GAppInfo // out var _cret C.gboolean // in @@ -12578,7 +12454,6 @@ func (appinfo *AppInfo) Delete() bool { // The function returns the following values: // // - appInfo: duplicate of appinfo. -// func (appinfo *AppInfo) Dup() *AppInfo { var _arg0 *C.GAppInfo // out var _cret *C.GAppInfo // in @@ -12608,7 +12483,6 @@ func (appinfo *AppInfo) Dup() *AppInfo { // The function returns the following values: // // - ok: TRUE if appinfo1 is equal to appinfo2. FALSE otherwise. -// func (appinfo1 *AppInfo) Equal(appinfo2 AppInfor) bool { var _arg0 *C.GAppInfo // out var _arg1 *C.GAppInfo // out @@ -12636,7 +12510,6 @@ func (appinfo1 *AppInfo) Equal(appinfo2 AppInfor) bool { // // - filename (optional): string containing the appinfo's commandline, or NULL // if this information is not available. -// func (appinfo *AppInfo) Commandline() string { var _arg0 *C.GAppInfo // out var _cret *C.char // in @@ -12661,7 +12534,6 @@ func (appinfo *AppInfo) Commandline() string { // // - utf8 (optional): string containing a description of the application // appinfo, or NULL if none. -// func (appinfo *AppInfo) Description() string { var _arg0 *C.GAppInfo // out var _cret *C.char // in @@ -12687,7 +12559,6 @@ func (appinfo *AppInfo) Description() string { // // - utf8: display name of the application for appinfo, or the name if no // display name is available. -// func (appinfo *AppInfo) DisplayName() string { var _arg0 *C.GAppInfo // out var _cret *C.char // in @@ -12709,7 +12580,6 @@ func (appinfo *AppInfo) DisplayName() string { // The function returns the following values: // // - filename: string containing the appinfo's application binaries name. -// func (appinfo *AppInfo) Executable() string { var _arg0 *C.GAppInfo // out var _cret *C.char // in @@ -12732,7 +12602,6 @@ func (appinfo *AppInfo) Executable() string { // // - icon (optional): default #GIcon for appinfo or NULL if there is no // default icon. -// func (appinfo *AppInfo) Icon() *Icon { var _arg0 *C.GAppInfo // out var _cret *C.GIcon // in @@ -12761,7 +12630,6 @@ func (appinfo *AppInfo) Icon() *Icon { // The function returns the following values: // // - utf8 (optional): string containing the application's ID. -// func (appinfo *AppInfo) ID() string { var _arg0 *C.GAppInfo // out var _cret *C.char // in @@ -12785,7 +12653,6 @@ func (appinfo *AppInfo) ID() string { // The function returns the following values: // // - utf8: name of the application for appinfo. -// func (appinfo *AppInfo) Name() string { var _arg0 *C.GAppInfo // out var _cret *C.char // in @@ -12811,7 +12678,6 @@ func (appinfo *AppInfo) Name() string { // The function returns the following values: // // - utf8s: a list of content types. -// func (appinfo *AppInfo) SupportedTypes() []string { var _arg0 *C.GAppInfo // out var _cret **C.char // in @@ -12871,7 +12737,6 @@ func (appinfo *AppInfo) SupportedTypes() []string { // // - files (optional) of #GFile objects. // - context (optional) or NULL. -// func (appinfo *AppInfo) Launch(files []Filer, context *AppLaunchContext) error { var _arg0 *C.GAppInfo // out var _arg1 *C.GList // out @@ -12921,7 +12786,6 @@ func (appinfo *AppInfo) Launch(files []Filer, context *AppLaunchContext) error { // // - uris (optional) containing URIs to launch. // - context (optional) or NULL. -// func (appinfo *AppInfo) LaunchURIs(uris []string, context *AppLaunchContext) error { var _arg0 *C.GAppInfo // out var _arg1 *C.GList // out @@ -12970,7 +12834,6 @@ func (appinfo *AppInfo) LaunchURIs(uris []string, context *AppLaunchContext) err // - uris (optional) containing URIs to launch. // - context (optional) or NULL. // - callback (optional) to call when the request is done. -// func (appinfo *AppInfo) LaunchURIsAsync(ctx context.Context, uris []string, context *AppLaunchContext, callback AsyncReadyCallback) { var _arg0 *C.GAppInfo // out var _arg3 *C.GCancellable // out @@ -13016,7 +12879,6 @@ func (appinfo *AppInfo) LaunchURIsAsync(ctx context.Context, uris []string, cont // The function takes the following parameters: // // - result: Result. -// func (appinfo *AppInfo) LaunchURIsFinish(result AsyncResulter) error { var _arg0 *C.GAppInfo // out var _arg1 *C.GAsyncResult // out @@ -13043,7 +12905,6 @@ func (appinfo *AppInfo) LaunchURIsFinish(result AsyncResulter) error { // The function takes the following parameters: // // - contentType: string. -// func (appinfo *AppInfo) RemoveSupportsType(contentType string) error { var _arg0 *C.GAppInfo // out var _arg1 *C.char // out @@ -13072,7 +12933,6 @@ func (appinfo *AppInfo) RemoveSupportsType(contentType string) error { // The function takes the following parameters: // // - extension: string containing the file extension (without the dot). -// func (appinfo *AppInfo) SetAsDefaultForExtension(extension string) error { var _arg0 *C.GAppInfo // out var _arg1 *C.char // out @@ -13101,7 +12961,6 @@ func (appinfo *AppInfo) SetAsDefaultForExtension(extension string) error { // The function takes the following parameters: // // - contentType: content type. -// func (appinfo *AppInfo) SetAsDefaultForType(contentType string) error { var _arg0 *C.GAppInfo // out var _arg1 *C.char // out @@ -13132,7 +12991,6 @@ func (appinfo *AppInfo) SetAsDefaultForType(contentType string) error { // The function takes the following parameters: // // - contentType: content type. -// func (appinfo *AppInfo) SetAsLastUsedForType(contentType string) error { var _arg0 *C.GAppInfo // out var _arg1 *C.char // out @@ -13161,7 +13019,6 @@ func (appinfo *AppInfo) SetAsLastUsedForType(contentType string) error { // The function returns the following values: // // - ok: TRUE if the appinfo should be shown, FALSE otherwise. -// func (appinfo *AppInfo) ShouldShow() bool { var _arg0 *C.GAppInfo // out var _cret C.gboolean // in @@ -13185,7 +13042,6 @@ func (appinfo *AppInfo) ShouldShow() bool { // The function returns the following values: // // - ok: TRUE if the appinfo supports files. -// func (appinfo *AppInfo) SupportsFiles() bool { var _arg0 *C.GAppInfo // out var _cret C.gboolean // in @@ -13210,7 +13066,6 @@ func (appinfo *AppInfo) SupportsFiles() bool { // The function returns the following values: // // - ok: TRUE if the appinfo supports URIs. -// func (appinfo *AppInfo) SupportsURIs() bool { var _arg0 *C.GAppInfo // out var _cret C.gboolean // in @@ -13236,7 +13091,6 @@ func (appinfo *AppInfo) SupportsURIs() bool { // The function takes the following parameters: // // - contentType: string. -// func (appinfo *AppInfo) addSupportsType(contentType string) error { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.add_supports_type @@ -13268,7 +13122,6 @@ func (appinfo *AppInfo) addSupportsType(contentType string) error { // The function returns the following values: // // - ok: TRUE if appinfo can be deleted. -// func (appinfo *AppInfo) canDelete() bool { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.can_delete @@ -13297,7 +13150,6 @@ func (appinfo *AppInfo) canDelete() bool { // // - ok: TRUE if it is possible to remove supported content types from a given // appinfo, FALSE if not. -// func (appinfo *AppInfo) canRemoveSupportsType() bool { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.can_remove_supports_type @@ -13328,7 +13180,6 @@ func (appinfo *AppInfo) canRemoveSupportsType() bool { // The function returns the following values: // // - ok: TRUE if appinfo has been deleted. -// func (appinfo *AppInfo) doDelete() bool { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.do_delete @@ -13355,7 +13206,6 @@ func (appinfo *AppInfo) doDelete() bool { // The function returns the following values: // // - appInfo: duplicate of appinfo. -// func (appinfo *AppInfo) dup() *AppInfo { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.dup @@ -13388,7 +13238,6 @@ func (appinfo *AppInfo) dup() *AppInfo { // The function returns the following values: // // - ok: TRUE if appinfo1 is equal to appinfo2. FALSE otherwise. -// func (appinfo1 *AppInfo) equal(appinfo2 AppInfor) bool { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo1)) fnarg := gclass.equal @@ -13419,7 +13268,6 @@ func (appinfo1 *AppInfo) equal(appinfo2 AppInfor) bool { // // - filename (optional): string containing the appinfo's commandline, or NULL // if this information is not available. -// func (appinfo *AppInfo) commandline() string { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.get_commandline @@ -13447,7 +13295,6 @@ func (appinfo *AppInfo) commandline() string { // // - utf8 (optional): string containing a description of the application // appinfo, or NULL if none. -// func (appinfo *AppInfo) description() string { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.get_description @@ -13476,7 +13323,6 @@ func (appinfo *AppInfo) description() string { // // - utf8: display name of the application for appinfo, or the name if no // display name is available. -// func (appinfo *AppInfo) displayName() string { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.get_display_name @@ -13501,7 +13347,6 @@ func (appinfo *AppInfo) displayName() string { // The function returns the following values: // // - filename: string containing the appinfo's application binaries name. -// func (appinfo *AppInfo) executable() string { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.get_executable @@ -13527,7 +13372,6 @@ func (appinfo *AppInfo) executable() string { // // - icon (optional): default #GIcon for appinfo or NULL if there is no // default icon. -// func (appinfo *AppInfo) icon() *Icon { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.get_icon @@ -13559,7 +13403,6 @@ func (appinfo *AppInfo) icon() *Icon { // The function returns the following values: // // - utf8 (optional): string containing the application's ID. -// func (appinfo *AppInfo) iD() string { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.get_id @@ -13586,7 +13429,6 @@ func (appinfo *AppInfo) iD() string { // The function returns the following values: // // - utf8: name of the application for appinfo. -// func (appinfo *AppInfo) name() string { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.get_name @@ -13615,7 +13457,6 @@ func (appinfo *AppInfo) name() string { // The function returns the following values: // // - utf8s: a list of content types. -// func (appinfo *AppInfo) supportedTypes() []string { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.get_supported_types @@ -13678,7 +13519,6 @@ func (appinfo *AppInfo) supportedTypes() []string { // // - files (optional) of #GFile objects. // - context (optional) or NULL. -// func (appinfo *AppInfo) launch(files []Filer, context *AppLaunchContext) error { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.launch @@ -13731,7 +13571,6 @@ func (appinfo *AppInfo) launch(files []Filer, context *AppLaunchContext) error { // // - uris (optional) containing URIs to launch. // - context (optional) or NULL. -// func (appinfo *AppInfo) launchURIs(uris []string, context *AppLaunchContext) error { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.launch_uris @@ -13783,7 +13622,6 @@ func (appinfo *AppInfo) launchURIs(uris []string, context *AppLaunchContext) err // - uris (optional) containing URIs to launch. // - context (optional) or NULL. // - callback (optional) to call when the request is done. -// func (appinfo *AppInfo) launchURIsAsync(ctx context.Context, uris []string, context *AppLaunchContext, callback AsyncReadyCallback) { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.launch_uris_async @@ -13832,7 +13670,6 @@ func (appinfo *AppInfo) launchURIsAsync(ctx context.Context, uris []string, cont // The function takes the following parameters: // // - result: Result. -// func (appinfo *AppInfo) launchURIsFinish(result AsyncResulter) error { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.launch_uris_finish @@ -13862,7 +13699,6 @@ func (appinfo *AppInfo) launchURIsFinish(result AsyncResulter) error { // The function takes the following parameters: // // - contentType: string. -// func (appinfo *AppInfo) removeSupportsType(contentType string) error { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.remove_supports_type @@ -13894,7 +13730,6 @@ func (appinfo *AppInfo) removeSupportsType(contentType string) error { // The function takes the following parameters: // // - extension: string containing the file extension (without the dot). -// func (appinfo *AppInfo) setAsDefaultForExtension(extension string) error { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.set_as_default_for_extension @@ -13926,7 +13761,6 @@ func (appinfo *AppInfo) setAsDefaultForExtension(extension string) error { // The function takes the following parameters: // // - contentType: content type. -// func (appinfo *AppInfo) setAsDefaultForType(contentType string) error { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.set_as_default_for_type @@ -13960,7 +13794,6 @@ func (appinfo *AppInfo) setAsDefaultForType(contentType string) error { // The function takes the following parameters: // // - contentType: content type. -// func (appinfo *AppInfo) setAsLastUsedForType(contentType string) error { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.set_as_last_used_for_type @@ -13992,7 +13825,6 @@ func (appinfo *AppInfo) setAsLastUsedForType(contentType string) error { // The function returns the following values: // // - ok: TRUE if the appinfo should be shown, FALSE otherwise. -// func (appinfo *AppInfo) shouldShow() bool { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.should_show @@ -14019,7 +13851,6 @@ func (appinfo *AppInfo) shouldShow() bool { // The function returns the following values: // // - ok: TRUE if the appinfo supports files. -// func (appinfo *AppInfo) supportsFiles() bool { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.supports_files @@ -14047,7 +13878,6 @@ func (appinfo *AppInfo) supportsFiles() bool { // The function returns the following values: // // - ok: TRUE if the appinfo supports URIs. -// func (appinfo *AppInfo) supportsURIs() bool { gclass := (*C.GAppInfoIface)(coreglib.PeekParentClass(appinfo)) fnarg := gclass.supports_uris @@ -14087,7 +13917,6 @@ func (appinfo *AppInfo) supportsURIs() bool { // The function returns the following values: // // - appInfo: new Info for given command. -// func AppInfoCreateFromCommandline(commandline, applicationName string, flags AppInfoCreateFlags) (*AppInfo, error) { var _arg1 *C.char // out var _arg2 *C.char // out @@ -14130,7 +13959,6 @@ func AppInfoCreateFromCommandline(commandline, applicationName string, flags App // The function returns the following values: // // - list: newly allocated #GList of references to Infos. -// func AppInfoGetAll() []*AppInfo { var _cret *C.GList // in @@ -14160,7 +13988,6 @@ func AppInfoGetAll() []*AppInfo { // The function returns the following values: // // - list of Infos for given content_type or NULL on error. -// func AppInfoGetAllForType(contentType string) []*AppInfo { var _arg1 *C.char // out var _cret *C.GList // in @@ -14194,7 +14021,6 @@ func AppInfoGetAllForType(contentType string) []*AppInfo { // The function returns the following values: // // - appInfo (optional) for given content_type or NULL on error. -// func AppInfoGetDefaultForType(contentType string, mustSupportUris bool) *AppInfo { var _arg1 *C.char // out var _arg2 C.gboolean // out @@ -14230,7 +14056,6 @@ func AppInfoGetDefaultForType(contentType string, mustSupportUris bool) *AppInfo // The function returns the following values: // // - appInfo (optional) for given uri_scheme or NULL on error. -// func AppInfoGetDefaultForURIScheme(uriScheme string) *AppInfo { var _arg1 *C.char // out var _cret *C.GAppInfo // in @@ -14261,7 +14086,6 @@ func AppInfoGetDefaultForURIScheme(uriScheme string) *AppInfo { // The function returns the following values: // // - list of Infos for given content_type or NULL on error. -// func AppInfoGetFallbackForType(contentType string) []*AppInfo { var _arg1 *C.gchar // out var _cret *C.GList // in @@ -14298,7 +14122,6 @@ func AppInfoGetFallbackForType(contentType string) []*AppInfo { // The function returns the following values: // // - list of Infos for given content_type or NULL on error. -// func AppInfoGetRecommendedForType(contentType string) []*AppInfo { var _arg1 *C.gchar // out var _cret *C.GList // in @@ -14334,7 +14157,6 @@ func AppInfoGetRecommendedForType(contentType string) []*AppInfo { // // - uri to show. // - context (optional): optional LaunchContext. -// func AppInfoLaunchDefaultForURI(uri string, context *AppLaunchContext) error { var _arg1 *C.char // out var _arg2 *C.GAppLaunchContext // out @@ -14376,7 +14198,6 @@ func AppInfoLaunchDefaultForURI(uri string, context *AppLaunchContext) error { // - uri to show. // - context (optional): optional LaunchContext. // - callback (optional) to call when the request is done. -// func AppInfoLaunchDefaultForURIAsync(ctx context.Context, uri string, context *AppLaunchContext, callback AsyncReadyCallback) { var _arg3 *C.GCancellable // out var _arg1 *C.char // out @@ -14412,7 +14233,6 @@ func AppInfoLaunchDefaultForURIAsync(ctx context.Context, uri string, context *A // The function takes the following parameters: // // - result: Result. -// func AppInfoLaunchDefaultForURIFinish(result AsyncResulter) error { var _arg1 *C.GAsyncResult // out var _cerr *C.GError // in @@ -14439,7 +14259,6 @@ func AppInfoLaunchDefaultForURIFinish(result AsyncResulter) error { // The function takes the following parameters: // // - contentType: content type. -// func AppInfoResetTypeAssociations(contentType string) { var _arg1 *C.char // out @@ -14465,88 +14284,88 @@ func AppInfoResetTypeAssociations(contentType string) { // // A typical implementation might look something like this: // -// enum { -// NOT_INITIALIZED, -// INITIALIZING, -// INITIALIZED -// }; -// -// static void -// _foo_ready_cb (Foo *self) -// { -// GList *l; -// -// self->priv->state = INITIALIZED; -// -// for (l = self->priv->init_results; l != NULL; l = l->next) -// { -// GTask *task = l->data; -// -// if (self->priv->success) -// g_task_return_boolean (task, TRUE); -// else -// g_task_return_new_error (task, ...); -// g_object_unref (task); -// } -// -// g_list_free (self->priv->init_results); -// self->priv->init_results = NULL; -// } -// -// static void -// foo_init_async (GAsyncInitable *initable, -// int io_priority, -// GCancellable *cancellable, -// GAsyncReadyCallback callback, -// gpointer user_data) -// { -// Foo *self = FOO (initable); -// GTask *task; -// -// task = g_task_new (initable, cancellable, callback, user_data); -// g_task_set_name (task, G_STRFUNC); -// -// switch (self->priv->state) -// { -// case NOT_INITIALIZED: -// _foo_get_ready (self); -// self->priv->init_results = g_list_append (self->priv->init_results, -// task); -// self->priv->state = INITIALIZING; -// break; -// case INITIALIZING: -// self->priv->init_results = g_list_append (self->priv->init_results, -// task); -// break; -// case INITIALIZED: -// if (!self->priv->success) -// g_task_return_new_error (task, ...); -// else -// g_task_return_boolean (task, TRUE); -// g_object_unref (task); -// break; -// } -// } -// -// static gboolean -// foo_init_finish (GAsyncInitable *initable, -// GAsyncResult *result, -// GError **error) -// { -// g_return_val_if_fail (g_task_is_valid (result, initable), FALSE); -// -// return g_task_propagate_boolean (G_TASK (result), error); -// } -// -// static void -// foo_async_initable_iface_init (gpointer g_iface, -// gpointer data) -// { -// GAsyncInitableIface *iface = g_iface; -// -// iface->init_async = foo_init_async; -// iface->init_finish = foo_init_finish; -// }. +// enum { +// NOT_INITIALIZED, +// INITIALIZING, +// INITIALIZED +// }; +// +// static void +// _foo_ready_cb (Foo *self) +// { +// GList *l; +// +// self->priv->state = INITIALIZED; +// +// for (l = self->priv->init_results; l != NULL; l = l->next) +// { +// GTask *task = l->data; +// +// if (self->priv->success) +// g_task_return_boolean (task, TRUE); +// else +// g_task_return_new_error (task, ...); +// g_object_unref (task); +// } +// +// g_list_free (self->priv->init_results); +// self->priv->init_results = NULL; +// } +// +// static void +// foo_init_async (GAsyncInitable *initable, +// int io_priority, +// GCancellable *cancellable, +// GAsyncReadyCallback callback, +// gpointer user_data) +// { +// Foo *self = FOO (initable); +// GTask *task; +// +// task = g_task_new (initable, cancellable, callback, user_data); +// g_task_set_name (task, G_STRFUNC); +// +// switch (self->priv->state) +// { +// case NOT_INITIALIZED: +// _foo_get_ready (self); +// self->priv->init_results = g_list_append (self->priv->init_results, +// task); +// self->priv->state = INITIALIZING; +// break; +// case INITIALIZING: +// self->priv->init_results = g_list_append (self->priv->init_results, +// task); +// break; +// case INITIALIZED: +// if (!self->priv->success) +// g_task_return_new_error (task, ...); +// else +// g_task_return_boolean (task, TRUE); +// g_object_unref (task); +// break; +// } +// } +// +// static gboolean +// foo_init_finish (GAsyncInitable *initable, +// GAsyncResult *result, +// GError **error) +// { +// g_return_val_if_fail (g_task_is_valid (result, initable), FALSE); +// +// return g_task_propagate_boolean (G_TASK (result), error); +// } +// +// static void +// foo_async_initable_iface_init (gpointer g_iface, +// gpointer data) +// { +// GAsyncInitableIface *iface = g_iface; +// +// iface->init_async = foo_init_async; +// iface->init_finish = foo_init_finish; +// }. // // AsyncInitable wraps an interface. This means the user can get the // underlying type by calling Cast(). @@ -14627,7 +14446,6 @@ func marshalAsyncInitable(p uintptr) (interface{}, error) { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the operation. // - callback (optional) to call when the request is satisfied. -// func (initable *AsyncInitable) InitAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GAsyncInitable // out var _arg2 *C.GCancellable // out @@ -14660,7 +14478,6 @@ func (initable *AsyncInitable) InitAsync(ctx context.Context, ioPriority int, ca // The function takes the following parameters: // // - res: Result. -// func (initable *AsyncInitable) InitFinish(res AsyncResulter) error { var _arg0 *C.GAsyncInitable // out var _arg1 *C.GAsyncResult // out @@ -14693,7 +14510,6 @@ func (initable *AsyncInitable) InitFinish(res AsyncResulter) error { // // - object: newly created #GObject, or NULL on error. Free with // g_object_unref(). -// func (initable *AsyncInitable) NewFinish(res AsyncResulter) (*coreglib.Object, error) { var _arg0 *C.GAsyncInitable // out var _arg1 *C.GAsyncResult // out @@ -14759,7 +14575,6 @@ func (initable *AsyncInitable) NewFinish(res AsyncResulter) (*coreglib.Object, e // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the operation. // - callback (optional) to call when the request is satisfied. -// func (initable *AsyncInitable) initAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GAsyncInitableIface)(coreglib.PeekParentClass(initable)) fnarg := gclass.init_async @@ -14795,7 +14610,6 @@ func (initable *AsyncInitable) initAsync(ctx context.Context, ioPriority int, ca // The function takes the following parameters: // // - res: Result. -// func (initable *AsyncInitable) initFinish(res AsyncResulter) error { gclass := (*C.GAsyncInitableIface)(coreglib.PeekParentClass(initable)) fnarg := gclass.init_finish @@ -14849,44 +14663,44 @@ func (initable *AsyncInitable) initFinish(res AsyncResulter) error { // // Example of a typical asynchronous operation flow: // -// void _theoretical_frobnitz_async (Theoretical *t, -// GCancellable *c, -// GAsyncReadyCallback cb, -// gpointer u); +// void _theoretical_frobnitz_async (Theoretical *t, +// GCancellable *c, +// GAsyncReadyCallback cb, +// gpointer u); // -// gboolean _theoretical_frobnitz_finish (Theoretical *t, -// GAsyncResult *res, -// GError **e); +// gboolean _theoretical_frobnitz_finish (Theoretical *t, +// GAsyncResult *res, +// GError **e); // -// static void -// frobnitz_result_func (GObject *source_object, -// GAsyncResult *res, -// gpointer user_data) -// { -// gboolean success = FALSE; +// static void +// frobnitz_result_func (GObject *source_object, +// GAsyncResult *res, +// gpointer user_data) +// { +// gboolean success = FALSE; // -// success = _theoretical_frobnitz_finish (source_object, res, NULL); +// success = _theoretical_frobnitz_finish (source_object, res, NULL); // -// if (success) -// g_printf ("Hurray!\n"); -// else -// g_printf ("Uh oh!\n"); +// if (success) +// g_printf ("Hurray!\n"); +// else +// g_printf ("Uh oh!\n"); // -// ... +// ... // -// } +// } // -// int main (int argc, void *argv[]) -// { -// ... +// int main (int argc, void *argv[]) +// { +// ... // -// _theoretical_frobnitz_async (theoretical_data, -// NULL, -// frobnitz_result_func, -// NULL); +// _theoretical_frobnitz_async (theoretical_data, +// NULL, +// frobnitz_result_func, +// NULL); // -// ... -// } +// ... +// } // // The callback for an asynchronous operation is called only once, and is always // called, even in the case of a cancelled operation. On cancellation the result @@ -14946,7 +14760,6 @@ func marshalAsyncResult(p uintptr) (interface{}, error) { // // - object (optional): new reference to the source object for the res, // or NULL if there is none. -// func (res *AsyncResult) SourceObject() *coreglib.Object { var _arg0 *C.GAsyncResult // out var _cret *C.GObject // in @@ -14970,7 +14783,6 @@ func (res *AsyncResult) SourceObject() *coreglib.Object { // The function returns the following values: // // - gpointer (optional): user data for res. -// func (res *AsyncResult) UserData() unsafe.Pointer { var _arg0 *C.GAsyncResult // out var _cret C.gpointer // in @@ -14997,7 +14809,6 @@ func (res *AsyncResult) UserData() unsafe.Pointer { // The function returns the following values: // // - ok: TRUE if res has the indicated source_tag, FALSE if not. -// func (res *AsyncResult) IsTagged(sourceTag unsafe.Pointer) bool { var _arg0 *C.GAsyncResult // out var _arg1 C.gpointer // out @@ -15051,7 +14862,6 @@ func (res *AsyncResult) LegacyPropagateError() error { // // - object (optional): new reference to the source object for the res, // or NULL if there is none. -// func (res *AsyncResult) sourceObject() *coreglib.Object { gclass := (*C.GAsyncResultIface)(coreglib.PeekParentClass(res)) fnarg := gclass.get_source_object @@ -15078,7 +14888,6 @@ func (res *AsyncResult) sourceObject() *coreglib.Object { // The function returns the following values: // // - gpointer (optional): user data for res. -// func (res *AsyncResult) userData() unsafe.Pointer { gclass := (*C.GAsyncResultIface)(coreglib.PeekParentClass(res)) fnarg := gclass.get_user_data @@ -15108,7 +14917,6 @@ func (res *AsyncResult) userData() unsafe.Pointer { // The function returns the following values: // // - ok: TRUE if res has the indicated source_tag, FALSE if not. -// func (res *AsyncResult) isTagged(sourceTag unsafe.Pointer) bool { gclass := (*C.GAsyncResultIface)(coreglib.PeekParentClass(res)) fnarg := gclass.is_tagged @@ -15263,7 +15071,6 @@ func marshalConverter(p uintptr) (interface{}, error) { // - bytesWritten will be set to the number of bytes written to outbuf on // success. // - converterResult G_CONVERTER_ERROR on error. -// func (converter *Converter) Convert(inbuf, outbuf []byte, flags ConverterFlags) (bytesRead, bytesWritten uint, converterResult ConverterResult, goerr error) { var _arg0 *C.GConverter // out var _arg1 *C.void // out @@ -15410,7 +15217,6 @@ func (converter *Converter) Reset() { // - bytesWritten will be set to the number of bytes written to outbuf on // success. // - converterResult G_CONVERTER_ERROR on error. -// func (converter *Converter) convert(inbuf, outbuf []byte, flags ConverterFlags) (bytesRead, bytesWritten uint, converterResult ConverterResult, goerr error) { gclass := (*C.GConverterIface)(coreglib.PeekParentClass(converter)) fnarg := gclass.convert @@ -15518,7 +15324,6 @@ func marshalDBusInterface(p uintptr) (interface{}, error) { // // - dBusObject (optional) or NULL. The returned reference should be freed // with g_object_unref(). -// func (interface_ *DBusInterface) GetObject() *DBusObject { var _arg0 *C.GDBusInterface // out var _cret *C.GDBusObject // in @@ -15543,7 +15348,6 @@ func (interface_ *DBusInterface) GetObject() *DBusObject { // The function returns the following values: // // - dBusInterfaceInfo Do not free. -// func (interface_ *DBusInterface) Info() *DBusInterfaceInfo { var _arg0 *C.GDBusInterface // out var _cret *C.GDBusInterfaceInfo // in @@ -15574,7 +15378,6 @@ func (interface_ *DBusInterface) Info() *DBusInterfaceInfo { // The function takes the following parameters: // // - object (optional) or NULL. -// func (interface_ *DBusInterface) SetObject(object DBusObjector) { var _arg0 *C.GDBusInterface // out var _arg1 *C.GDBusObject // out @@ -15595,7 +15398,6 @@ func (interface_ *DBusInterface) SetObject(object DBusObjector) { // // - dBusObject (optional) or NULL. The returned reference should be freed // with g_object_unref(). -// func (interface_ *DBusInterface) dupObject() *DBusObject { gclass := (*C.GDBusInterfaceIface)(coreglib.PeekParentClass(interface_)) fnarg := gclass.dup_object @@ -15623,7 +15425,6 @@ func (interface_ *DBusInterface) dupObject() *DBusObject { // The function returns the following values: // // - dBusInterfaceInfo Do not free. -// func (interface_ *DBusInterface) info() *DBusInterfaceInfo { gclass := (*C.GDBusInterfaceIface)(coreglib.PeekParentClass(interface_)) fnarg := gclass.get_info @@ -15657,7 +15458,6 @@ func (interface_ *DBusInterface) info() *DBusInterfaceInfo { // The function takes the following parameters: // // - object (optional) or NULL. -// func (interface_ *DBusInterface) setObject(object DBusObjector) { gclass := (*C.GDBusInterfaceIface)(coreglib.PeekParentClass(interface_)) fnarg := gclass.set_object @@ -15741,7 +15541,6 @@ func (object *DBusObject) ConnectInterfaceRemoved(f func(iface DBusInterfacer)) // // - dBusInterface (optional): NULL if not found, otherwise a BusInterface // that must be freed with g_object_unref(). -// func (object *DBusObject) Interface(interfaceName string) *DBusInterface { var _arg0 *C.GDBusObject // out var _arg1 *C.gchar // out @@ -15770,7 +15569,6 @@ func (object *DBusObject) Interface(interfaceName string) *DBusInterface { // // - list of BusInterface instances. The returned list must be freed by // g_list_free() after each element has been freed with g_object_unref(). -// func (object *DBusObject) Interfaces() []*DBusInterface { var _arg0 *C.GDBusObject // out var _cret *C.GList // in @@ -15798,7 +15596,6 @@ func (object *DBusObject) Interfaces() []*DBusInterface { // The function returns the following values: // // - utf8: string owned by object. Do not free. -// func (object *DBusObject) ObjectPath() string { var _arg0 *C.GDBusObject // out var _cret *C.gchar // in @@ -15826,7 +15623,6 @@ func (object *DBusObject) ObjectPath() string { // // - dBusInterface (optional): NULL if not found, otherwise a BusInterface // that must be freed with g_object_unref(). -// func (object *DBusObject) iface(interfaceName string) *DBusInterface { gclass := (*C.GDBusObjectIface)(coreglib.PeekParentClass(object)) fnarg := gclass.get_interface @@ -15858,7 +15654,6 @@ func (object *DBusObject) iface(interfaceName string) *DBusInterface { // // - list of BusInterface instances. The returned list must be freed by // g_list_free() after each element has been freed with g_object_unref(). -// func (object *DBusObject) interfaces() []*DBusInterface { gclass := (*C.GDBusObjectIface)(coreglib.PeekParentClass(object)) fnarg := gclass.get_interfaces @@ -15889,7 +15684,6 @@ func (object *DBusObject) interfaces() []*DBusInterface { // The function returns the following values: // // - utf8: string owned by object. Do not free. -// func (object *DBusObject) objectPath() string { gclass := (*C.GDBusObjectIface)(coreglib.PeekParentClass(object)) fnarg := gclass.get_object_path @@ -16031,7 +15825,6 @@ func (manager *DBusObjectManager) ConnectObjectRemoved(f func(object DBusObjecto // The function returns the following values: // // - dBusInterface instance or NULL. Free with g_object_unref(). -// func (manager *DBusObjectManager) Interface(objectPath, interfaceName string) *DBusInterface { var _arg0 *C.GDBusObjectManager // out var _arg1 *C.gchar // out @@ -16065,7 +15858,6 @@ func (manager *DBusObjectManager) Interface(objectPath, interfaceName string) *D // The function returns the following values: // // - dBusObject or NULL. Free with g_object_unref(). -// func (manager *DBusObjectManager) GetObject(objectPath string) *DBusObject { var _arg0 *C.GDBusObjectManager // out var _arg1 *C.gchar // out @@ -16091,7 +15883,6 @@ func (manager *DBusObjectManager) GetObject(objectPath string) *DBusObject { // The function returns the following values: // // - utf8: string owned by manager. Do not free. -// func (manager *DBusObjectManager) ObjectPath() string { var _arg0 *C.GDBusObjectManager // out var _cret *C.gchar // in @@ -16114,7 +15905,6 @@ func (manager *DBusObjectManager) ObjectPath() string { // // - list of BusObject objects. The returned list should be freed with // g_list_free() after each element has been freed with g_object_unref(). -// func (manager *DBusObjectManager) Objects() []*DBusObject { var _arg0 *C.GDBusObjectManager // out var _cret *C.GList // in @@ -16147,7 +15937,6 @@ func (manager *DBusObjectManager) Objects() []*DBusObject { // The function returns the following values: // // - dBusInterface instance or NULL. Free with g_object_unref(). -// func (manager *DBusObjectManager) iface(objectPath, interfaceName string) *DBusInterface { gclass := (*C.GDBusObjectManagerIface)(coreglib.PeekParentClass(manager)) fnarg := gclass.get_interface @@ -16184,7 +15973,6 @@ func (manager *DBusObjectManager) iface(objectPath, interfaceName string) *DBusI // The function returns the following values: // // - dBusObject or NULL. Free with g_object_unref(). -// func (manager *DBusObjectManager) getObject(objectPath string) *DBusObject { gclass := (*C.GDBusObjectManagerIface)(coreglib.PeekParentClass(manager)) fnarg := gclass.get_object @@ -16213,7 +16001,6 @@ func (manager *DBusObjectManager) getObject(objectPath string) *DBusObject { // The function returns the following values: // // - utf8: string owned by manager. Do not free. -// func (manager *DBusObjectManager) objectPath() string { gclass := (*C.GDBusObjectManagerIface)(coreglib.PeekParentClass(manager)) fnarg := gclass.get_object_path @@ -16239,7 +16026,6 @@ func (manager *DBusObjectManager) objectPath() string { // // - list of BusObject objects. The returned list should be freed with // g_list_free() after each element has been freed with g_object_unref(). -// func (manager *DBusObjectManager) objects() []*DBusObject { gclass := (*C.GDBusObjectManagerIface)(coreglib.PeekParentClass(manager)) fnarg := gclass.get_objects @@ -16269,7 +16055,6 @@ func (manager *DBusObjectManager) objects() []*DBusObject { // // - object // - interface_ -// func (manager *DBusObjectManager) interfaceAdded(object DBusObjector, interface_ DBusInterfacer) { gclass := (*C.GDBusObjectManagerIface)(coreglib.PeekParentClass(manager)) fnarg := gclass.interface_added @@ -16292,7 +16077,6 @@ func (manager *DBusObjectManager) interfaceAdded(object DBusObjector, interface_ // // - object // - interface_ -// func (manager *DBusObjectManager) interfaceRemoved(object DBusObjector, interface_ DBusInterfacer) { gclass := (*C.GDBusObjectManagerIface)(coreglib.PeekParentClass(manager)) fnarg := gclass.interface_removed @@ -16476,7 +16260,6 @@ func marshalDatagramBased(p uintptr) (interface{}, error) { // The function returns the following values: // // - ioCondition mask of the current state. -// func (datagramBased *DatagramBased) ConditionCheck(condition glib.IOCondition) glib.IOCondition { var _arg0 *C.GDatagramBased // out var _arg1 C.GIOCondition // out @@ -16509,7 +16292,6 @@ func (datagramBased *DatagramBased) ConditionCheck(condition glib.IOCondition) g // - condition mask to wait for. // - timeout: maximum time (in microseconds) to wait, 0 to not block, or -1 to // block indefinitely. -// func (datagramBased *DatagramBased) ConditionWait(ctx context.Context, condition glib.IOCondition, timeout int64) error { var _arg0 *C.GDatagramBased // out var _arg3 *C.GCancellable // out @@ -16563,7 +16345,6 @@ func (datagramBased *DatagramBased) ConditionWait(ctx context.Context, condition // The function returns the following values: // // - source: newly allocated #GSource. -// func (datagramBased *DatagramBased) CreateSource(ctx context.Context, condition glib.IOCondition) *glib.Source { var _arg0 *C.GDatagramBased // out var _arg2 *C.GCancellable // out @@ -16659,7 +16440,6 @@ func (datagramBased *DatagramBased) CreateSource(ctx context.Context, condition // or positive, if the peer closed the connection, or if num_messages was // larger than UIO_MAXIOV (1024), in which case the caller may re-try to // receive the remaining messages. -// func (datagramBased *DatagramBased) ReceiveMessages(ctx context.Context, messages []InputMessage, flags int, timeout int64) (int, error) { var _arg0 *C.GDatagramBased // out var _arg5 *C.GCancellable // out @@ -16760,7 +16540,6 @@ func (datagramBased *DatagramBased) ReceiveMessages(ctx context.Context, message // messages sent may be smaller than num_messages if timeout is zero or // positive, or if num_messages was larger than UIO_MAXIOV (1024), in which // case the caller may re-try to send the remaining messages. -// func (datagramBased *DatagramBased) SendMessages(ctx context.Context, messages []OutputMessage, flags int, timeout int64) (int, error) { var _arg0 *C.GDatagramBased // out var _arg5 *C.GCancellable // out @@ -16852,7 +16631,6 @@ func (datagramBased *DatagramBased) SendMessages(ctx context.Context, messages [ // The function returns the following values: // // - ioCondition mask of the current state. -// func (datagramBased *DatagramBased) conditionCheck(condition glib.IOCondition) glib.IOCondition { gclass := (*C.GDatagramBasedInterface)(coreglib.PeekParentClass(datagramBased)) fnarg := gclass.condition_check @@ -16888,7 +16666,6 @@ func (datagramBased *DatagramBased) conditionCheck(condition glib.IOCondition) g // - condition mask to wait for. // - timeout: maximum time (in microseconds) to wait, 0 to not block, or -1 to // block indefinitely. -// func (datagramBased *DatagramBased) conditionWait(ctx context.Context, condition glib.IOCondition, timeout int64) error { gclass := (*C.GDatagramBasedInterface)(coreglib.PeekParentClass(datagramBased)) fnarg := gclass.condition_wait @@ -16945,7 +16722,6 @@ func (datagramBased *DatagramBased) conditionWait(ctx context.Context, condition // The function returns the following values: // // - source: newly allocated #GSource. -// func (datagramBased *DatagramBased) createSource(ctx context.Context, condition glib.IOCondition) *glib.Source { gclass := (*C.GDatagramBasedInterface)(coreglib.PeekParentClass(datagramBased)) fnarg := gclass.create_source @@ -17044,7 +16820,6 @@ func (datagramBased *DatagramBased) createSource(ctx context.Context, condition // or positive, if the peer closed the connection, or if num_messages was // larger than UIO_MAXIOV (1024), in which case the caller may re-try to // receive the remaining messages. -// func (datagramBased *DatagramBased) receiveMessages(ctx context.Context, messages []InputMessage, flags int, timeout int64) (int, error) { gclass := (*C.GDatagramBasedInterface)(coreglib.PeekParentClass(datagramBased)) fnarg := gclass.receive_messages @@ -17148,7 +16923,6 @@ func (datagramBased *DatagramBased) receiveMessages(ctx context.Context, message // messages sent may be smaller than num_messages if timeout is zero or // positive, or if num_messages was larger than UIO_MAXIOV (1024), in which // case the caller may re-try to send the remaining messages. -// func (datagramBased *DatagramBased) sendMessages(ctx context.Context, messages []OutputMessage, flags int, timeout int64) (int, error) { gclass := (*C.GDatagramBasedInterface)(coreglib.PeekParentClass(datagramBased)) fnarg := gclass.send_messages @@ -17353,7 +17127,6 @@ func (drive *Drive) ConnectStopButton(f func()) coreglib.SignalHandle { // The function returns the following values: // // - ok: TRUE if the drive can be ejected, FALSE otherwise. -// func (drive *Drive) CanEject() bool { var _arg0 *C.GDrive // out var _cret C.gboolean // in @@ -17377,7 +17150,6 @@ func (drive *Drive) CanEject() bool { // The function returns the following values: // // - ok: TRUE if the drive can be polled for media changes, FALSE otherwise. -// func (drive *Drive) CanPollForMedia() bool { var _arg0 *C.GDrive // out var _cret C.gboolean // in @@ -17401,7 +17173,6 @@ func (drive *Drive) CanPollForMedia() bool { // The function returns the following values: // // - ok: TRUE if the drive can be started, FALSE otherwise. -// func (drive *Drive) CanStart() bool { var _arg0 *C.GDrive // out var _cret C.gboolean // in @@ -17425,7 +17196,6 @@ func (drive *Drive) CanStart() bool { // The function returns the following values: // // - ok: TRUE if the drive can be started degraded, FALSE otherwise. -// func (drive *Drive) CanStartDegraded() bool { var _arg0 *C.GDrive // out var _cret C.gboolean // in @@ -17449,7 +17219,6 @@ func (drive *Drive) CanStartDegraded() bool { // The function returns the following values: // // - ok: TRUE if the drive can be stopped, FALSE otherwise. -// func (drive *Drive) CanStop() bool { var _arg0 *C.GDrive // out var _cret C.gboolean // in @@ -17480,7 +17249,6 @@ func (drive *Drive) CanStop() bool { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the unmount if required for eject. // - callback (optional) or NULL. -// func (drive *Drive) Eject(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { var _arg0 *C.GDrive // out var _arg2 *C.GCancellable // out @@ -17514,7 +17282,6 @@ func (drive *Drive) Eject(ctx context.Context, flags MountUnmountFlags, callback // The function takes the following parameters: // // - result: Result. -// func (drive *Drive) EjectFinish(result AsyncResulter) error { var _arg0 *C.GDrive // out var _arg1 *C.GAsyncResult // out @@ -17546,7 +17313,6 @@ func (drive *Drive) EjectFinish(result AsyncResulter) error { // - flags affecting the unmount if required for eject. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (drive *Drive) EjectWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GDrive // out var _arg3 *C.GCancellable // out @@ -17585,7 +17351,6 @@ func (drive *Drive) EjectWithOperation(ctx context.Context, flags MountUnmountFl // The function takes the following parameters: // // - result: Result. -// func (drive *Drive) EjectWithOperationFinish(result AsyncResulter) error { var _arg0 *C.GDrive // out var _arg1 *C.GAsyncResult // out @@ -17614,7 +17379,6 @@ func (drive *Drive) EjectWithOperationFinish(result AsyncResulter) error { // // - utf8s: NULL-terminated array of strings containing kinds of identifiers. // Use g_strfreev() to free. -// func (drive *Drive) EnumerateIdentifiers() []string { var _arg0 *C.GDrive // out var _cret **C.char // in @@ -17650,7 +17414,6 @@ func (drive *Drive) EnumerateIdentifiers() []string { // The function returns the following values: // // - icon for the drive. Free the returned object with g_object_unref(). -// func (drive *Drive) Icon() *Icon { var _arg0 *C.GDrive // out var _cret *C.GIcon // in @@ -17678,7 +17441,6 @@ func (drive *Drive) Icon() *Icon { // // - utf8 (optional): newly allocated string containing the requested // identifier, or NULL if the #GDrive doesn't have this kind of identifier. -// func (drive *Drive) Identifier(kind string) string { var _arg0 *C.GDrive // out var _arg1 *C.char // out @@ -17708,7 +17470,6 @@ func (drive *Drive) Identifier(kind string) string { // // - utf8: string containing drive's name. The returned string should be freed // when no longer needed. -// func (drive *Drive) Name() string { var _arg0 *C.GDrive // out var _cret *C.char // in @@ -17732,7 +17493,6 @@ func (drive *Drive) Name() string { // // - utf8 (optional): sorting key for drive or NULL if no such key is // available. -// func (drive *Drive) SortKey() string { var _arg0 *C.GDrive // out var _cret *C.gchar // in @@ -17756,7 +17516,6 @@ func (drive *Drive) SortKey() string { // The function returns the following values: // // - driveStartStopType: value from the StartStopType enumeration. -// func (drive *Drive) StartStopType() DriveStartStopType { var _arg0 *C.GDrive // out var _cret C.GDriveStartStopType // in @@ -17779,7 +17538,6 @@ func (drive *Drive) StartStopType() DriveStartStopType { // // - icon: symbolic #GIcon for the drive. Free the returned object with // g_object_unref(). -// func (drive *Drive) SymbolicIcon() *Icon { var _arg0 *C.GDrive // out var _cret *C.GIcon // in @@ -17804,7 +17562,6 @@ func (drive *Drive) SymbolicIcon() *Icon { // The function returns the following values: // // - list containing any #GVolume objects on the given drive. -// func (drive *Drive) Volumes() []*Volume { var _arg0 *C.GDrive // out var _cret *C.GList // in @@ -17834,7 +17591,6 @@ func (drive *Drive) Volumes() []*Volume { // The function returns the following values: // // - ok: TRUE if drive has media, FALSE otherwise. -// func (drive *Drive) HasMedia() bool { var _arg0 *C.GDrive // out var _cret C.gboolean // in @@ -17858,7 +17614,6 @@ func (drive *Drive) HasMedia() bool { // The function returns the following values: // // - ok: TRUE if the drive contains volumes, FALSE otherwise. -// func (drive *Drive) HasVolumes() bool { var _arg0 *C.GDrive // out var _cret C.gboolean // in @@ -17884,7 +17639,6 @@ func (drive *Drive) HasVolumes() bool { // // - ok: TRUE if the drive is capable of automatically detecting media // changes, FALSE otherwise. -// func (drive *Drive) IsMediaCheckAutomatic() bool { var _arg0 *C.GDrive // out var _cret C.gboolean // in @@ -17908,7 +17662,6 @@ func (drive *Drive) IsMediaCheckAutomatic() bool { // The function returns the following values: // // - ok: TRUE if drive supports removable media, FALSE otherwise. -// func (drive *Drive) IsMediaRemovable() bool { var _arg0 *C.GDrive // out var _cret C.gboolean // in @@ -17934,7 +17687,6 @@ func (drive *Drive) IsMediaRemovable() bool { // // - ok: TRUE if drive and/or its media is considered removable, FALSE // otherwise. -// func (drive *Drive) IsRemovable() bool { var _arg0 *C.GDrive // out var _cret C.gboolean // in @@ -17963,7 +17715,6 @@ func (drive *Drive) IsRemovable() bool { // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - callback (optional) or NULL. -// func (drive *Drive) PollForMedia(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GDrive // out var _arg1 *C.GCancellable // out @@ -17993,7 +17744,6 @@ func (drive *Drive) PollForMedia(ctx context.Context, callback AsyncReadyCallbac // The function takes the following parameters: // // - result: Result. -// func (drive *Drive) PollForMediaFinish(result AsyncResulter) error { var _arg0 *C.GDrive // out var _arg1 *C.GAsyncResult // out @@ -18026,7 +17776,6 @@ func (drive *Drive) PollForMediaFinish(result AsyncResulter) error { // - flags affecting the start operation. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (drive *Drive) Start(ctx context.Context, flags DriveStartFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GDrive // out var _arg3 *C.GCancellable // out @@ -18063,7 +17812,6 @@ func (drive *Drive) Start(ctx context.Context, flags DriveStartFlags, mountOpera // The function takes the following parameters: // // - result: Result. -// func (drive *Drive) StartFinish(result AsyncResulter) error { var _arg0 *C.GDrive // out var _arg1 *C.GAsyncResult // out @@ -18096,7 +17844,6 @@ func (drive *Drive) StartFinish(result AsyncResulter) error { // - flags affecting the unmount if required for stopping. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (drive *Drive) Stop(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GDrive // out var _arg3 *C.GCancellable // out @@ -18133,7 +17880,6 @@ func (drive *Drive) Stop(ctx context.Context, flags MountUnmountFlags, mountOper // The function takes the following parameters: // // - result: Result. -// func (drive *Drive) StopFinish(result AsyncResulter) error { var _arg0 *C.GDrive // out var _arg1 *C.GAsyncResult // out @@ -18160,7 +17906,6 @@ func (drive *Drive) StopFinish(result AsyncResulter) error { // The function returns the following values: // // - ok: TRUE if the drive can be ejected, FALSE otherwise. -// func (drive *Drive) canEject() bool { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.can_eject @@ -18187,7 +17932,6 @@ func (drive *Drive) canEject() bool { // The function returns the following values: // // - ok: TRUE if the drive can be polled for media changes, FALSE otherwise. -// func (drive *Drive) canPollForMedia() bool { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.can_poll_for_media @@ -18214,7 +17958,6 @@ func (drive *Drive) canPollForMedia() bool { // The function returns the following values: // // - ok: TRUE if the drive can be started, FALSE otherwise. -// func (drive *Drive) canStart() bool { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.can_start @@ -18241,7 +17984,6 @@ func (drive *Drive) canStart() bool { // The function returns the following values: // // - ok: TRUE if the drive can be started degraded, FALSE otherwise. -// func (drive *Drive) canStartDegraded() bool { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.can_start_degraded @@ -18268,7 +18010,6 @@ func (drive *Drive) canStartDegraded() bool { // The function returns the following values: // // - ok: TRUE if the drive can be stopped, FALSE otherwise. -// func (drive *Drive) canStop() bool { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.can_stop @@ -18326,7 +18067,6 @@ func (drive *Drive) disconnected() { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the unmount if required for eject. // - callback (optional) or NULL. -// func (drive *Drive) eject(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.eject @@ -18375,7 +18115,6 @@ func (drive *Drive) ejectButton() { // The function takes the following parameters: // // - result: Result. -// func (drive *Drive) ejectFinish(result AsyncResulter) error { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.eject_finish @@ -18410,7 +18149,6 @@ func (drive *Drive) ejectFinish(result AsyncResulter) error { // - flags affecting the unmount if required for eject. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (drive *Drive) ejectWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.eject_with_operation @@ -18452,7 +18190,6 @@ func (drive *Drive) ejectWithOperation(ctx context.Context, flags MountUnmountFl // The function takes the following parameters: // // - result: Result. -// func (drive *Drive) ejectWithOperationFinish(result AsyncResulter) error { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.eject_with_operation_finish @@ -18484,7 +18221,6 @@ func (drive *Drive) ejectWithOperationFinish(result AsyncResulter) error { // // - utf8s: NULL-terminated array of strings containing kinds of identifiers. // Use g_strfreev() to free. -// func (drive *Drive) enumerateIdentifiers() []string { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.enumerate_identifiers @@ -18523,7 +18259,6 @@ func (drive *Drive) enumerateIdentifiers() []string { // The function returns the following values: // // - icon for the drive. Free the returned object with g_object_unref(). -// func (drive *Drive) icon() *Icon { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.get_icon @@ -18554,7 +18289,6 @@ func (drive *Drive) icon() *Icon { // // - utf8 (optional): newly allocated string containing the requested // identifier, or NULL if the #GDrive doesn't have this kind of identifier. -// func (drive *Drive) identifier(kind string) string { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.get_identifier @@ -18587,7 +18321,6 @@ func (drive *Drive) identifier(kind string) string { // // - utf8: string containing drive's name. The returned string should be freed // when no longer needed. -// func (drive *Drive) name() string { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.get_name @@ -18614,7 +18347,6 @@ func (drive *Drive) name() string { // // - utf8 (optional): sorting key for drive or NULL if no such key is // available. -// func (drive *Drive) sortKey() string { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.get_sort_key @@ -18641,7 +18373,6 @@ func (drive *Drive) sortKey() string { // The function returns the following values: // // - driveStartStopType: value from the StartStopType enumeration. -// func (drive *Drive) startStopType() DriveStartStopType { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.get_start_stop_type @@ -18667,7 +18398,6 @@ func (drive *Drive) startStopType() DriveStartStopType { // // - icon: symbolic #GIcon for the drive. Free the returned object with // g_object_unref(). -// func (drive *Drive) symbolicIcon() *Icon { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.get_symbolic_icon @@ -18695,7 +18425,6 @@ func (drive *Drive) symbolicIcon() *Icon { // The function returns the following values: // // - list containing any #GVolume objects on the given drive. -// func (drive *Drive) volumes() []*Volume { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.get_volumes @@ -18728,7 +18457,6 @@ func (drive *Drive) volumes() []*Volume { // The function returns the following values: // // - ok: TRUE if drive has media, FALSE otherwise. -// func (drive *Drive) hasMedia() bool { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.has_media @@ -18755,7 +18483,6 @@ func (drive *Drive) hasMedia() bool { // The function returns the following values: // // - ok: TRUE if the drive contains volumes, FALSE otherwise. -// func (drive *Drive) hasVolumes() bool { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.has_volumes @@ -18784,7 +18511,6 @@ func (drive *Drive) hasVolumes() bool { // // - ok: TRUE if the drive is capable of automatically detecting media // changes, FALSE otherwise. -// func (drive *Drive) isMediaCheckAutomatic() bool { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.is_media_check_automatic @@ -18811,7 +18537,6 @@ func (drive *Drive) isMediaCheckAutomatic() bool { // The function returns the following values: // // - ok: TRUE if drive supports removable media, FALSE otherwise. -// func (drive *Drive) isMediaRemovable() bool { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.is_media_removable @@ -18840,7 +18565,6 @@ func (drive *Drive) isMediaRemovable() bool { // // - ok: TRUE if drive and/or its media is considered removable, FALSE // otherwise. -// func (drive *Drive) isRemovable() bool { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.is_removable @@ -18872,7 +18596,6 @@ func (drive *Drive) isRemovable() bool { // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - callback (optional) or NULL. -// func (drive *Drive) pollForMedia(ctx context.Context, callback AsyncReadyCallback) { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.poll_for_media @@ -18905,7 +18628,6 @@ func (drive *Drive) pollForMedia(ctx context.Context, callback AsyncReadyCallbac // The function takes the following parameters: // // - result: Result. -// func (drive *Drive) pollForMediaFinish(result AsyncResulter) error { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.poll_for_media_finish @@ -18941,7 +18663,6 @@ func (drive *Drive) pollForMediaFinish(result AsyncResulter) error { // - flags affecting the start operation. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (drive *Drive) start(ctx context.Context, flags DriveStartFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.start @@ -18981,7 +18702,6 @@ func (drive *Drive) start(ctx context.Context, flags DriveStartFlags, mountOpera // The function takes the following parameters: // // - result: Result. -// func (drive *Drive) startFinish(result AsyncResulter) error { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.start_finish @@ -19017,7 +18737,6 @@ func (drive *Drive) startFinish(result AsyncResulter) error { // - flags affecting the unmount if required for stopping. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (drive *Drive) stop(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.stop @@ -19069,7 +18788,6 @@ func (drive *Drive) stopButton() { // The function takes the following parameters: // // - result: Result. -// func (drive *Drive) stopFinish(result AsyncResulter) error { gclass := (*C.GDriveIface)(coreglib.PeekParentClass(drive)) fnarg := gclass.stop_finish @@ -19153,7 +18871,6 @@ func marshalDTLSClientConnection(p uintptr) (interface{}, error) { // // - socketConnectable describing the expected server identity, or NULL if the // expected identity is not known. -// func (conn *DTLSClientConnection) ServerIdentity() *SocketConnectable { var _arg0 *C.GDtlsClientConnection // out var _cret *C.GSocketConnectable // in @@ -19175,7 +18892,6 @@ func (conn *DTLSClientConnection) ServerIdentity() *SocketConnectable { // The function returns the following values: // // - tlsCertificateFlags: validation flags. -// func (conn *DTLSClientConnection) ValidationFlags() TLSCertificateFlags { var _arg0 *C.GDtlsClientConnection // out var _cret C.GTlsCertificateFlags // in @@ -19200,7 +18916,6 @@ func (conn *DTLSClientConnection) ValidationFlags() TLSCertificateFlags { // The function takes the following parameters: // // - identity describing the expected server identity. -// func (conn *DTLSClientConnection) SetServerIdentity(identity SocketConnectabler) { var _arg0 *C.GDtlsClientConnection // out var _arg1 *C.GSocketConnectable // out @@ -19220,7 +18935,6 @@ func (conn *DTLSClientConnection) SetServerIdentity(identity SocketConnectabler) // The function takes the following parameters: // // - flags to use. -// func (conn *DTLSClientConnection) SetValidationFlags(flags TLSCertificateFlags) { var _arg0 *C.GDtlsClientConnection // out var _arg1 C.GTlsCertificateFlags // out @@ -19245,7 +18959,6 @@ func (conn *DTLSClientConnection) SetValidationFlags(flags TLSCertificateFlags) // The function returns the following values: // // - dtlsClientConnection: new ClientConnection, or NULL on error. -// func NewDTLSClientConnection(baseSocket DatagramBasedder, serverIdentity SocketConnectabler) (*DTLSClientConnection, error) { var _arg1 *C.GDatagramBased // out var _arg2 *C.GSocketConnectable // out @@ -19443,7 +19156,6 @@ func (conn *DTLSConnection) ConnectAcceptCertificate(f func(peerCert TLSCertific // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (conn *DTLSConnection) Close(ctx context.Context) error { var _arg0 *C.GDtlsConnection // out var _arg1 *C.GCancellable // out @@ -19477,7 +19189,6 @@ func (conn *DTLSConnection) Close(ctx context.Context) error { // - ctx (optional) or NULL. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the close operation is complete. -// func (conn *DTLSConnection) CloseAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GDtlsConnection // out var _arg2 *C.GCancellable // out @@ -19510,7 +19221,6 @@ func (conn *DTLSConnection) CloseAsync(ctx context.Context, ioPriority int, call // The function takes the following parameters: // // - result: Result. -// func (conn *DTLSConnection) CloseFinish(result AsyncResulter) error { var _arg0 *C.GDtlsConnection // out var _arg1 *C.GAsyncResult // out @@ -19544,7 +19254,6 @@ func (conn *DTLSConnection) CloseFinish(result AsyncResulter) error { // // - ok: TRUE if one of the signal handlers has returned TRUE to accept // peer_cert. -// func (conn *DTLSConnection) EmitAcceptCertificate(peerCert TLSCertificater, errors TLSCertificateFlags) bool { var _arg0 *C.GDtlsConnection // out var _arg1 *C.GTlsCertificate // out @@ -19575,7 +19284,6 @@ func (conn *DTLSConnection) EmitAcceptCertificate(peerCert TLSCertificater, erro // The function returns the following values: // // - tlsCertificate (optional) conn's certificate, or NULL. -// func (conn *DTLSConnection) Certificate() TLSCertificater { var _arg0 *C.GDtlsConnection // out var _cret *C.GTlsCertificate // in @@ -19628,7 +19336,6 @@ func (conn *DTLSConnection) Certificate() TLSCertificater { // The function returns the following values: // // - data (optional) is filled with the binding data, or NULL. -// func (conn *DTLSConnection) ChannelBindingData(typ TLSChannelBindingType) ([]byte, error) { var _arg0 *C.GDtlsConnection // out var _arg1 C.GTlsChannelBindingType // out @@ -19660,7 +19367,6 @@ func (conn *DTLSConnection) ChannelBindingData(typ TLSChannelBindingType) ([]byt // The function returns the following values: // // - tlsDatabase (optional): certificate database that conn uses or NULL. -// func (conn *DTLSConnection) Database() TLSDatabaser { var _arg0 *C.GDtlsConnection // out var _cret *C.GTlsDatabase // in @@ -19699,7 +19405,6 @@ func (conn *DTLSConnection) Database() TLSDatabaser { // The function returns the following values: // // - tlsInteraction (optional): interaction object. -// func (conn *DTLSConnection) Interaction() *TLSInteraction { var _arg0 *C.GDtlsConnection // out var _cret *C.GTlsInteraction // in @@ -19729,7 +19434,6 @@ func (conn *DTLSConnection) Interaction() *TLSInteraction { // The function returns the following values: // // - utf8 (optional): negotiated protocol, or NULL. -// func (conn *DTLSConnection) NegotiatedProtocol() string { var _arg0 *C.GDtlsConnection // out var _cret *C.gchar // in @@ -19755,7 +19459,6 @@ func (conn *DTLSConnection) NegotiatedProtocol() string { // The function returns the following values: // // - tlsCertificate (optional) conn's peer's certificate, or NULL. -// func (conn *DTLSConnection) PeerCertificate() TLSCertificater { var _arg0 *C.GDtlsConnection // out var _cret *C.GTlsCertificate // in @@ -19794,7 +19497,6 @@ func (conn *DTLSConnection) PeerCertificate() TLSCertificater { // The function returns the following values: // // - tlsCertificateFlags conn's peer's certificate errors. -// func (conn *DTLSConnection) PeerCertificateErrors() TLSCertificateFlags { var _arg0 *C.GDtlsConnection // out var _cret C.GTlsCertificateFlags // in @@ -19821,7 +19523,6 @@ func (conn *DTLSConnection) PeerCertificateErrors() TLSCertificateFlags { // The function returns the following values: // // - tlsRehandshakeMode: G_TLS_REHANDSHAKE_SAFELY. -// func (conn *DTLSConnection) RehandshakeMode() TLSRehandshakeMode { var _arg0 *C.GDtlsConnection // out var _cret C.GTlsRehandshakeMode // in @@ -19845,7 +19546,6 @@ func (conn *DTLSConnection) RehandshakeMode() TLSRehandshakeMode { // The function returns the following values: // // - ok: TRUE if conn requires a proper TLS close notification. -// func (conn *DTLSConnection) RequireCloseNotify() bool { var _arg0 *C.GDtlsConnection // out var _cret C.gboolean // in @@ -19892,7 +19592,6 @@ func (conn *DTLSConnection) RequireCloseNotify() bool { // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (conn *DTLSConnection) Handshake(ctx context.Context) error { var _arg0 *C.GDtlsConnection // out var _arg1 *C.GCancellable // out @@ -19926,7 +19625,6 @@ func (conn *DTLSConnection) Handshake(ctx context.Context) error { // - ctx (optional) or NULL. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the handshake is complete. -// func (conn *DTLSConnection) HandshakeAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GDtlsConnection // out var _arg2 *C.GCancellable // out @@ -19959,7 +19657,6 @@ func (conn *DTLSConnection) HandshakeAsync(ctx context.Context, ioPriority int, // The function takes the following parameters: // // - result: Result. -// func (conn *DTLSConnection) HandshakeFinish(result AsyncResulter) error { var _arg0 *C.GDtlsConnection // out var _arg1 *C.GAsyncResult // out @@ -19997,7 +19694,6 @@ func (conn *DTLSConnection) HandshakeFinish(result AsyncResulter) error { // // - protocols (optional): NULL-terminated array of ALPN protocol names (eg, // "http/1.1", "h2"), or NULL. -// func (conn *DTLSConnection) SetAdvertisedProtocols(protocols []string) { var _arg0 *C.GDtlsConnection // out var _arg1 **C.gchar // out @@ -20041,7 +19737,6 @@ func (conn *DTLSConnection) SetAdvertisedProtocols(protocols []string) { // The function takes the following parameters: // // - certificate to use for conn. -// func (conn *DTLSConnection) SetCertificate(certificate TLSCertificater) { var _arg0 *C.GDtlsConnection // out var _arg1 *C.GTlsCertificate // out @@ -20065,7 +19760,6 @@ func (conn *DTLSConnection) SetCertificate(certificate TLSCertificater) { // The function takes the following parameters: // // - database (optional): Database. -// func (conn *DTLSConnection) SetDatabase(database TLSDatabaser) { var _arg0 *C.GDtlsConnection // out var _arg1 *C.GTlsDatabase // out @@ -20090,7 +19784,6 @@ func (conn *DTLSConnection) SetDatabase(database TLSDatabaser) { // The function takes the following parameters: // // - interaction (optional) object, or NULL. -// func (conn *DTLSConnection) SetInteraction(interaction *TLSInteraction) { var _arg0 *C.GDtlsConnection // out var _arg1 *C.GTlsInteraction // out @@ -20117,7 +19810,6 @@ func (conn *DTLSConnection) SetInteraction(interaction *TLSInteraction) { // The function takes the following parameters: // // - mode: rehandshaking mode. -// func (conn *DTLSConnection) SetRehandshakeMode(mode TLSRehandshakeMode) { var _arg0 *C.GDtlsConnection // out var _arg1 C.GTlsRehandshakeMode // out @@ -20155,7 +19847,6 @@ func (conn *DTLSConnection) SetRehandshakeMode(mode TLSRehandshakeMode) { // The function takes the following parameters: // // - requireCloseNotify: whether or not to require close notification. -// func (conn *DTLSConnection) SetRequireCloseNotify(requireCloseNotify bool) { var _arg0 *C.GDtlsConnection // out var _arg1 C.gboolean // out @@ -20192,7 +19883,6 @@ func (conn *DTLSConnection) SetRequireCloseNotify(requireCloseNotify bool) { // - ctx (optional) or NULL. // - shutdownRead: TRUE to stop reception of incoming datagrams. // - shutdownWrite: TRUE to stop sending outgoing datagrams. -// func (conn *DTLSConnection) Shutdown(ctx context.Context, shutdownRead, shutdownWrite bool) error { var _arg0 *C.GDtlsConnection // out var _arg3 *C.GCancellable // out @@ -20238,7 +19928,6 @@ func (conn *DTLSConnection) Shutdown(ctx context.Context, shutdownRead, shutdown // - shutdownWrite: TRUE to stop sending outgoing datagrams. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the shutdown operation is complete. -// func (conn *DTLSConnection) ShutdownAsync(ctx context.Context, shutdownRead, shutdownWrite bool, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GDtlsConnection // out var _arg4 *C.GCancellable // out @@ -20281,7 +19970,6 @@ func (conn *DTLSConnection) ShutdownAsync(ctx context.Context, shutdownRead, shu // The function takes the following parameters: // // - result: Result. -// func (conn *DTLSConnection) ShutdownFinish(result AsyncResulter) error { var _arg0 *C.GDtlsConnection // out var _arg1 *C.GAsyncResult // out @@ -20307,7 +19995,6 @@ func (conn *DTLSConnection) ShutdownFinish(result AsyncResulter) error { // // - peerCert // - errors -// func (connection *DTLSConnection) acceptCertificate(peerCert TLSCertificater, errors TLSCertificateFlags) bool { gclass := (*C.GDtlsConnectionInterface)(coreglib.PeekParentClass(connection)) fnarg := gclass.accept_certificate @@ -20339,7 +20026,6 @@ func (connection *DTLSConnection) acceptCertificate(peerCert TLSCertificater, er // // - typ // - data -// func (conn *DTLSConnection) bindingData(typ TLSChannelBindingType, data []byte) error { gclass := (*C.GDtlsConnectionInterface)(coreglib.PeekParentClass(conn)) fnarg := gclass.get_binding_data @@ -20382,7 +20068,6 @@ func (conn *DTLSConnection) bindingData(typ TLSChannelBindingType, data []byte) // The function returns the following values: // // - utf8 (optional): negotiated protocol, or NULL. -// func (conn *DTLSConnection) negotiatedProtocol() string { gclass := (*C.GDtlsConnectionInterface)(coreglib.PeekParentClass(conn)) fnarg := gclass.get_negotiated_protocol @@ -20432,7 +20117,6 @@ func (conn *DTLSConnection) negotiatedProtocol() string { // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (conn *DTLSConnection) handshake(ctx context.Context) error { gclass := (*C.GDtlsConnectionInterface)(coreglib.PeekParentClass(conn)) fnarg := gclass.handshake @@ -20469,7 +20153,6 @@ func (conn *DTLSConnection) handshake(ctx context.Context) error { // - ctx (optional) or NULL. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the handshake is complete. -// func (conn *DTLSConnection) handshakeAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GDtlsConnectionInterface)(coreglib.PeekParentClass(conn)) fnarg := gclass.handshake_async @@ -20505,7 +20188,6 @@ func (conn *DTLSConnection) handshakeAsync(ctx context.Context, ioPriority int, // The function takes the following parameters: // // - result: Result. -// func (conn *DTLSConnection) handshakeFinish(result AsyncResulter) error { gclass := (*C.GDtlsConnectionInterface)(coreglib.PeekParentClass(conn)) fnarg := gclass.handshake_finish @@ -20546,7 +20228,6 @@ func (conn *DTLSConnection) handshakeFinish(result AsyncResulter) error { // // - protocols (optional): NULL-terminated array of ALPN protocol names (eg, // "http/1.1", "h2"), or NULL. -// func (conn *DTLSConnection) setAdvertisedProtocols(protocols []string) { gclass := (*C.GDtlsConnectionInterface)(coreglib.PeekParentClass(conn)) fnarg := gclass.set_advertised_protocols @@ -20596,7 +20277,6 @@ func (conn *DTLSConnection) setAdvertisedProtocols(protocols []string) { // - ctx (optional) or NULL. // - shutdownRead: TRUE to stop reception of incoming datagrams. // - shutdownWrite: TRUE to stop sending outgoing datagrams. -// func (conn *DTLSConnection) shutdown(ctx context.Context, shutdownRead, shutdownWrite bool) error { gclass := (*C.GDtlsConnectionInterface)(coreglib.PeekParentClass(conn)) fnarg := gclass.shutdown @@ -20645,7 +20325,6 @@ func (conn *DTLSConnection) shutdown(ctx context.Context, shutdownRead, shutdown // - shutdownWrite: TRUE to stop sending outgoing datagrams. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the shutdown operation is complete. -// func (conn *DTLSConnection) shutdownAsync(ctx context.Context, shutdownRead, shutdownWrite bool, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GDtlsConnectionInterface)(coreglib.PeekParentClass(conn)) fnarg := gclass.shutdown_async @@ -20691,7 +20370,6 @@ func (conn *DTLSConnection) shutdownAsync(ctx context.Context, shutdownRead, shu // The function takes the following parameters: // // - result: Result. -// func (conn *DTLSConnection) shutdownFinish(result AsyncResulter) error { gclass := (*C.GDtlsConnectionInterface)(coreglib.PeekParentClass(conn)) fnarg := gclass.shutdown_finish @@ -20777,7 +20455,6 @@ func BaseDTLSServerConnection(obj DTLSServerConnectioner) *DTLSServerConnection // The function returns the following values: // // - dtlsServerConnection: new ServerConnection, or NULL on error. -// func NewDTLSServerConnection(baseSocket DatagramBasedder, certificate TLSCertificater) (*DTLSServerConnection, error) { var _arg1 *C.GDatagramBased // out var _arg2 *C.GTlsCertificate // out @@ -21250,7 +20927,6 @@ func marshalFile(p uintptr) (interface{}, error) { // // - fileOutputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) AppendTo(ctx context.Context, flags FileCreateFlags) (*FileOutputStream, error) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -21296,7 +20972,6 @@ func (file *File) AppendTo(ctx context.Context, flags FileCreateFlags) (*FileOut // - flags: set of CreateFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) AppendToAsync(ctx context.Context, flags FileCreateFlags, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -21337,7 +21012,6 @@ func (file *File) AppendToAsync(ctx context.Context, flags FileCreateFlags, ioPr // // - fileOutputStream: valid OutputStream or NULL on error. Free the returned // object with g_object_unref(). -// func (file *File) AppendToFinish(res AsyncResulter) (*FileOutputStream, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -21381,7 +21055,6 @@ func (file *File) AppendToFinish(res AsyncResulter) (*FileOutputStream, error) { // // - utf8: attribute query string for g_file_query_info(), or NULL if an error // occurs. -// func (file *File) BuildAttributeListForCopy(ctx context.Context, flags FileCopyFlags) (string, error) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -21462,7 +21135,6 @@ func (file *File) BuildAttributeListForCopy(ctx context.Context, flags FileCopyF // - flags: set of CopyFlags. // - progressCallback (optional): function to callback with progress // information, or NULL if progress information is not needed. -// func (source *File) Copy(ctx context.Context, destination Filer, flags FileCopyFlags, progressCallback FileProgressCallback) error { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -21515,7 +21187,6 @@ func (source *File) Copy(ctx context.Context, destination Filer, flags FileCopyF // - ctx (optional): optional #GCancellable object, NULL to ignore. // - destination to copy attributes to. // - flags: set of CopyFlags. -// func (source *File) CopyAttributes(ctx context.Context, destination Filer, flags FileCopyFlags) error { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -21552,7 +21223,6 @@ func (source *File) CopyAttributes(ctx context.Context, destination Filer, flags // The function takes the following parameters: // // - res: Result. -// func (file *File) CopyFinish(res AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -21600,7 +21270,6 @@ func (file *File) CopyFinish(res AsyncResulter) error { // // - fileOutputStream for the newly created file, or NULL on error. Free the // returned object with g_object_unref(). -// func (file *File) Create(ctx context.Context, flags FileCreateFlags) (*FileOutputStream, error) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -21647,7 +21316,6 @@ func (file *File) Create(ctx context.Context, flags FileCreateFlags) (*FileOutpu // - flags: set of CreateFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) CreateAsync(ctx context.Context, flags FileCreateFlags, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -21688,7 +21356,6 @@ func (file *File) CreateAsync(ctx context.Context, flags FileCreateFlags, ioPrio // // - fileOutputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) CreateFinish(res AsyncResulter) (*FileOutputStream, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -21743,7 +21410,6 @@ func (file *File) CreateFinish(res AsyncResulter) (*FileOutputStream, error) { // // - fileIOStream for the newly created file, or NULL on error. Free the // returned object with g_object_unref(). -// func (file *File) CreateReadwrite(ctx context.Context, flags FileCreateFlags) (*FileIOStream, error) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -21790,7 +21456,6 @@ func (file *File) CreateReadwrite(ctx context.Context, flags FileCreateFlags) (* // - flags: set of CreateFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) CreateReadwriteAsync(ctx context.Context, flags FileCreateFlags, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -21831,7 +21496,6 @@ func (file *File) CreateReadwriteAsync(ctx context.Context, flags FileCreateFlag // // - fileIOStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) CreateReadwriteFinish(res AsyncResulter) (*FileIOStream, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -21863,15 +21527,15 @@ func (file *File) CreateReadwriteFinish(res AsyncResulter) (*FileIOStream, error // for deletion to be implemented avoiding time-of-check to time-of-use races // (https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use): // -// g_autoptr(GError) local_error = NULL; -// if (!g_file_delete (my_file, my_cancellable, &local_error) && -// !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) -// { -// // deletion failed for some reason other than the file not existing: -// // so report the error -// g_warning ("Failed to delete s: s", -// g_file_peek_path (my_file), local_error->message); -// } +// g_autoptr(GError) local_error = NULL; +// if (!g_file_delete (my_file, my_cancellable, &local_error) && +// !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) +// { +// // deletion failed for some reason other than the file not existing: +// // so report the error +// g_warning ("Failed to delete s: s", +// g_file_peek_path (my_file), local_error->message); +// } // // If cancellable is not NULL, then the operation can be cancelled by triggering // the cancellable object from another thread. If the operation was cancelled, @@ -21880,7 +21544,6 @@ func (file *File) CreateReadwriteFinish(res AsyncResulter) (*FileIOStream, error // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (file *File) Delete(ctx context.Context) error { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -21915,7 +21578,6 @@ func (file *File) Delete(ctx context.Context) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) DeleteAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -21947,7 +21609,6 @@ func (file *File) DeleteAsync(ctx context.Context, ioPriority int, callback Asyn // The function takes the following parameters: // // - result: Result. -// func (file *File) DeleteFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -21983,7 +21644,6 @@ func (file *File) DeleteFinish(result AsyncResulter) error { // The function returns the following values: // // - ret: new #GFile that is a duplicate of the given #GFile. -// func (file *File) Dup() *File { var _arg0 *C.GFile // out var _cret *C.GFile // in @@ -22015,7 +21675,6 @@ func (file *File) Dup() *File { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the operation. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) EjectMountable(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -22050,7 +21709,6 @@ func (file *File) EjectMountable(ctx context.Context, flags MountUnmountFlags, c // The function takes the following parameters: // // - result: Result. -// func (file *File) EjectMountableFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -22087,7 +21745,6 @@ func (file *File) EjectMountableFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional): Operation, or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) EjectMountableWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -22125,7 +21782,6 @@ func (file *File) EjectMountableWithOperation(ctx context.Context, flags MountUn // The function takes the following parameters: // // - result: Result. -// func (file *File) EjectMountableWithOperationFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -22178,7 +21834,6 @@ func (file *File) EjectMountableWithOperationFinish(result AsyncResulter) error // // - fileEnumerator if successful, NULL on error. Free the returned object // with g_object_unref(). -// func (file *File) EnumerateChildren(ctx context.Context, attributes string, flags FileQueryInfoFlags) (*FileEnumerator, error) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -22231,7 +21886,6 @@ func (file *File) EnumerateChildren(ctx context.Context, attributes string, flag // - flags: set of QueryInfoFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) EnumerateChildrenAsync(ctx context.Context, attributes string, flags FileQueryInfoFlags, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -22276,7 +21930,6 @@ func (file *File) EnumerateChildrenAsync(ctx context.Context, attributes string, // // - fileEnumerator or NULL if an error occurred. Free the returned object // with g_object_unref(). -// func (file *File) EnumerateChildrenFinish(res AsyncResulter) (*FileEnumerator, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -22315,7 +21968,6 @@ func (file *File) EnumerateChildrenFinish(res AsyncResulter) (*FileEnumerator, e // The function returns the following values: // // - ok: TRUE if file1 and file2 are equal. -// func (file1 *File) Equal(file2 Filer) bool { var _arg0 *C.GFile // out var _arg1 *C.GFile // out @@ -22355,7 +22007,6 @@ func (file1 *File) Equal(file2 Filer) bool { // // - mount where the file is located or NULL on error. Free the returned // object with g_object_unref(). -// func (file *File) FindEnclosingMount(ctx context.Context) (*Mount, error) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -22397,7 +22048,6 @@ func (file *File) FindEnclosingMount(ctx context.Context) (*Mount, error) { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) FindEnclosingMountAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -22435,7 +22085,6 @@ func (file *File) FindEnclosingMountAsync(ctx context.Context, ioPriority int, c // // - mount for given file or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) FindEnclosingMountFinish(res AsyncResulter) (*Mount, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -22480,7 +22129,6 @@ func (file *File) FindEnclosingMountFinish(res AsyncResulter) (*Mount, error) { // - filename (optional): string containing the #GFile's base name, or NULL // if given #GFile is invalid. The returned string should be freed with // g_free() when no longer needed. -// func (file *File) Basename() string { var _arg0 *C.GFile // out var _cret *C.char // in @@ -22516,7 +22164,6 @@ func (file *File) Basename() string { // // - ret to a child specified by name. Free the returned object with // g_object_unref(). -// func (file *File) Child(name string) *File { var _arg0 *C.GFile // out var _arg1 *C.char // out @@ -22553,7 +22200,6 @@ func (file *File) Child(name string) *File { // // - ret to the specified child, or NULL if the display name couldn't be // converted. Free the returned object with g_object_unref(). -// func (file *File) ChildForDisplayName(displayName string) (*File, error) { var _arg0 *C.GFile // out var _arg1 *C.char // out @@ -22588,7 +22234,6 @@ func (file *File) ChildForDisplayName(displayName string) (*File, error) { // // - ret (optional) structure to the parent of the given #GFile or NULL if // there is no parent. Free the returned object with g_object_unref(). -// func (file *File) Parent() *File { var _arg0 *C.GFile // out var _cret *C.GFile // in @@ -22624,7 +22269,6 @@ func (file *File) Parent() *File { // // - utf8: string containing the #GFile's parse name. The returned string // should be freed with g_free() when no longer needed. -// func (file *File) ParseName() string { var _arg0 *C.GFile // out var _cret *C.char // in @@ -22652,7 +22296,6 @@ func (file *File) ParseName() string { // - filename (optional): string containing the #GFile's path, or NULL if no // such path exists. The returned string should be freed with g_free() when // no longer needed. -// func (file *File) Path() string { var _arg0 *C.GFile // out var _cret *C.char // in @@ -22685,7 +22328,6 @@ func (file *File) Path() string { // - filename (optional): string with the relative path from descendant to // parent, or NULL if descendant doesn't have parent as prefix. The returned // string should be freed with g_free() when no longer needed. -// func (parent *File) RelativePath(descendant Filer) string { var _arg0 *C.GFile // out var _arg1 *C.GFile // out @@ -22717,7 +22359,6 @@ func (parent *File) RelativePath(descendant Filer) string { // - utf8: string containing the #GFile's URI. If the #GFile was constructed // with an invalid URI, an invalid URI is returned. The returned string // should be freed with g_free() when no longer needed. -// func (file *File) URI() string { var _arg0 *C.GFile // out var _cret *C.char // in @@ -22737,7 +22378,7 @@ func (file *File) URI() string { // URIScheme gets the URI scheme for a #GFile. RFC 3986 decodes the scheme as: // -// URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] +// URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] // // Common schemes include "file", "http", "ftp", etc. // @@ -22752,7 +22393,6 @@ func (file *File) URI() string { // - utf8 (optional): string containing the URI scheme for the given #GFile // or NULL if the #GFile was constructed with an invalid URI. The returned // string should be freed with g_free() when no longer needed. -// func (file *File) URIScheme() string { var _arg0 *C.GFile // out var _cret *C.char // in @@ -22786,7 +22426,6 @@ func (file *File) URIScheme() string { // // - ok: TRUE if file is an immediate child of parent (or any parent in the // case that parent is NULL). -// func (file *File) HasParent(parent Filer) bool { var _arg0 *C.GFile // out var _arg1 *C.GFile // out @@ -22831,7 +22470,6 @@ func (file *File) HasParent(parent Filer) bool { // // - ok: TRUE if the file's parent, grandparent, etc is prefix, FALSE // otherwise. -// func (file *File) HasPrefix(prefix Filer) bool { var _arg0 *C.GFile // out var _arg1 *C.GFile // out @@ -22865,7 +22503,6 @@ func (file *File) HasPrefix(prefix Filer) bool { // // - ok: TRUE if #GFile's backend supports the given URI scheme, FALSE if URI // scheme is NULL, not supported, or #GFile is invalid. -// func (file *File) HasURIScheme(uriScheme string) bool { var _arg0 *C.GFile // out var _arg1 *C.char // out @@ -22897,7 +22534,6 @@ func (file *File) HasURIScheme(uriScheme string) bool { // - guint: 0 if file is not a valid #GFile, otherwise an integer that can be // used as hash value for the #GFile. This function is intended for easily // hashing a #GFile to add to a Table or similar data structure. -// func (file *File) Hash() uint { var _arg0 C.gconstpointer // out var _cret C.guint // in @@ -22929,7 +22565,6 @@ func (file *File) Hash() uint { // The function returns the following values: // // - ok: TRUE if file is native. -// func (file *File) IsNative() bool { var _arg0 *C.GFile // out var _cret C.gboolean // in @@ -22969,7 +22604,6 @@ func (file *File) IsNative() bool { // - etagOut (optional): location to place the current entity tag for the // file, or NULL if the entity tag is not needed. // - bytes or NULL and error is set. -// func (file *File) LoadBytes(ctx context.Context) (string, *glib.Bytes, error) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -23025,7 +22659,6 @@ func (file *File) LoadBytes(ctx context.Context) (string, *glib.Bytes, error) { // // - ctx (optional) or NULL. // - callback (optional) to call when the request is satisfied. -// func (file *File) LoadBytesAsync(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -23069,7 +22702,6 @@ func (file *File) LoadBytesAsync(ctx context.Context, callback AsyncReadyCallbac // - etagOut (optional): location to place the current entity tag for the // file, or NULL if the entity tag is not needed. // - bytes or NULL and error is set. -// func (file *File) LoadBytesFinish(result AsyncResulter) (string, *glib.Bytes, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -23123,7 +22755,6 @@ func (file *File) LoadBytesFinish(result AsyncResulter) (string, *glib.Bytes, er // - contents: location to place the contents of the file. // - etagOut (optional): location to place the current entity tag for the // file, or NULL if the entity tag is not needed. -// func (file *File) LoadContents(ctx context.Context) ([]byte, string, error) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -23178,7 +22809,6 @@ func (file *File) LoadContents(ctx context.Context) ([]byte, string, error) { // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - callback (optional) to call when the request is satisfied. -// func (file *File) LoadContentsAsync(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -23217,7 +22847,6 @@ func (file *File) LoadContentsAsync(ctx context.Context, callback AsyncReadyCall // - contents: location to place the contents of the file. // - etagOut (optional): location to place the current entity tag for the // file, or NULL if the entity tag is not needed. -// func (file *File) LoadContentsFinish(res AsyncResulter) ([]byte, string, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -23265,7 +22894,6 @@ func (file *File) LoadContentsFinish(res AsyncResulter) ([]byte, string, error) // - contents: location to place the contents of the file. // - etagOut (optional): location to place the current entity tag for the // file, or NULL if the entity tag is not needed. -// func (file *File) LoadPartialContentsFinish(res AsyncResulter) ([]byte, string, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -23317,7 +22945,6 @@ func (file *File) LoadPartialContentsFinish(res AsyncResulter) ([]byte, string, // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (file *File) MakeDirectory(ctx context.Context) error { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -23350,7 +22977,6 @@ func (file *File) MakeDirectory(ctx context.Context) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) MakeDirectoryAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -23383,7 +23009,6 @@ func (file *File) MakeDirectoryAsync(ctx context.Context, ioPriority int, callba // The function takes the following parameters: // // - result: Result. -// func (file *File) MakeDirectoryFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -23422,7 +23047,6 @@ func (file *File) MakeDirectoryFinish(result AsyncResulter) error { // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (file *File) MakeDirectoryWithParents(ctx context.Context) error { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -23459,7 +23083,6 @@ func (file *File) MakeDirectoryWithParents(ctx context.Context) error { // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - symlinkValue: string with the path for the target of the new symlink. -// func (file *File) MakeSymbolicLink(ctx context.Context, symlinkValue string) error { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -23502,7 +23125,6 @@ func (file *File) MakeSymbolicLink(ctx context.Context, symlinkValue string) err // - diskUsage (optional): number of bytes of disk space used. // - numDirs (optional): number of directories encountered. // - numFiles (optional): number of non-directories encountered. -// func (file *File) MeasureDiskUsageFinish(result AsyncResulter) (diskUsage, numDirs, numFiles uint64, goerr error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -23549,7 +23171,6 @@ func (file *File) MeasureDiskUsageFinish(result AsyncResulter) (diskUsage, numDi // // - fileMonitor for the given file, or NULL on error. Free the returned // object with g_object_unref(). -// func (file *File) Monitor(ctx context.Context, flags FileMonitorFlags) (FileMonitorrer, error) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -23619,7 +23240,6 @@ func (file *File) Monitor(ctx context.Context, flags FileMonitorFlags) (FileMoni // // - fileMonitor for the given file, or NULL on error. Free the returned // object with g_object_unref(). -// func (file *File) MonitorDirectory(ctx context.Context, flags FileMonitorFlags) (FileMonitorrer, error) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -23690,7 +23310,6 @@ func (file *File) MonitorDirectory(ctx context.Context, flags FileMonitorFlags) // // - fileMonitor for the given file, or NULL on error. Free the returned // object with g_object_unref(). -// func (file *File) MonitorFile(ctx context.Context, flags FileMonitorFlags) (FileMonitorrer, error) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -23755,7 +23374,6 @@ func (file *File) MonitorFile(ctx context.Context, flags FileMonitorFlags) (File // - flags affecting the operation. // - mountOperation (optional): Operation or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (location *File) MountEnclosingVolume(ctx context.Context, flags MountMountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -23793,7 +23411,6 @@ func (location *File) MountEnclosingVolume(ctx context.Context, flags MountMount // The function takes the following parameters: // // - result: Result. -// func (location *File) MountEnclosingVolumeFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -23832,7 +23449,6 @@ func (location *File) MountEnclosingVolumeFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional): Operation, or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) MountMountable(ctx context.Context, flags MountMountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -23877,7 +23493,6 @@ func (file *File) MountMountable(ctx context.Context, flags MountMountFlags, mou // The function returns the following values: // // - ret or NULL on error. Free the returned object with g_object_unref(). -// func (file *File) MountMountableFinish(result AsyncResulter) (*File, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -23942,7 +23557,6 @@ func (file *File) MountMountableFinish(result AsyncResulter) (*File, error) { // - destination pointing to the destination location. // - flags: set of CopyFlags. // - progressCallback (optional): ProgressCallback function for updates. -// func (source *File) Move(ctx context.Context, destination Filer, flags FileCopyFlags, progressCallback FileProgressCallback) error { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -24004,7 +23618,6 @@ func (source *File) Move(ctx context.Context, destination Filer, flags FileCopyF // // - fileIOStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) OpenReadwrite(ctx context.Context) (*FileIOStream, error) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -24046,7 +23659,6 @@ func (file *File) OpenReadwrite(ctx context.Context) (*FileIOStream, error) { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) OpenReadwriteAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -24084,7 +23696,6 @@ func (file *File) OpenReadwriteAsync(ctx context.Context, ioPriority int, callba // // - fileIOStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) OpenReadwriteFinish(res AsyncResulter) (*FileIOStream, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -24120,7 +23731,6 @@ func (file *File) OpenReadwriteFinish(res AsyncResulter) (*FileIOStream, error) // // - filename (optional): string containing the #GFile's path, or NULL if no // such path exists. The returned string is owned by file. -// func (file *File) PeekPath() string { var _arg0 *C.GFile // out var _cret *C.char // in @@ -24152,7 +23762,6 @@ func (file *File) PeekPath() string { // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) PollMountable(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -24185,7 +23794,6 @@ func (file *File) PollMountable(ctx context.Context, callback AsyncReadyCallback // The function takes the following parameters: // // - result: Result. -// func (file *File) PollMountableFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -24222,7 +23830,6 @@ func (file *File) PollMountableFinish(result AsyncResulter) error { // // - appInfo if the handle was found, NULL if there were errors. When you are // done with it, release it with g_object_unref(). -// func (file *File) QueryDefaultHandler(ctx context.Context) (*AppInfo, error) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -24258,7 +23865,6 @@ func (file *File) QueryDefaultHandler(ctx context.Context) (*AppInfo, error) { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is done. -// func (file *File) QueryDefaultHandlerAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -24296,7 +23902,6 @@ func (file *File) QueryDefaultHandlerAsync(ctx context.Context, ioPriority int, // // - appInfo if the handle was found, NULL if there were errors. When you are // done with it, release it with g_object_unref(). -// func (file *File) QueryDefaultHandlerFinish(result AsyncResulter) (*AppInfo, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -24353,7 +23958,6 @@ func (file *File) QueryDefaultHandlerFinish(result AsyncResulter) (*AppInfo, err // // - ok: TRUE if the file exists (and can be detected without error), FALSE // otherwise (or if cancelled). -// func (file *File) QueryExists(ctx context.Context) bool { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -24393,7 +23997,6 @@ func (file *File) QueryExists(ctx context.Context) bool { // The function returns the following values: // // - fileType of the file and FILE_TYPE_UNKNOWN if the file does not exist. -// func (file *File) QueryFileType(ctx context.Context, flags FileQueryInfoFlags) FileType { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -24452,7 +24055,6 @@ func (file *File) QueryFileType(ctx context.Context, flags FileQueryInfoFlags) F // // - fileInfo or NULL if there was an error. Free the returned object with // g_object_unref(). -// func (file *File) QueryFilesystemInfo(ctx context.Context, attributes string) (*FileInfo, error) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -24501,7 +24103,6 @@ func (file *File) QueryFilesystemInfo(ctx context.Context, attributes string) (* // - attributes: attribute query string. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) QueryFilesystemInfoAsync(ctx context.Context, attributes string, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -24543,7 +24144,6 @@ func (file *File) QueryFilesystemInfoAsync(ctx context.Context, attributes strin // // - fileInfo for given file or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) QueryFilesystemInfoFinish(res AsyncResulter) (*FileInfo, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -24605,7 +24205,6 @@ func (file *File) QueryFilesystemInfoFinish(res AsyncResulter) (*FileInfo, error // // - fileInfo for the given file, or NULL on error. Free the returned object // with g_object_unref(). -// func (file *File) QueryInfo(ctx context.Context, attributes string, flags FileQueryInfoFlags) (*FileInfo, error) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -24658,7 +24257,6 @@ func (file *File) QueryInfo(ctx context.Context, attributes string, flags FileQu // - flags: set of QueryInfoFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) QueryInfoAsync(ctx context.Context, attributes string, flags FileQueryInfoFlags, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -24703,7 +24301,6 @@ func (file *File) QueryInfoAsync(ctx context.Context, attributes string, flags F // // - fileInfo for given file or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) QueryInfoFinish(res AsyncResulter) (*FileInfo, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -24747,7 +24344,6 @@ func (file *File) QueryInfoFinish(res AsyncResulter) (*FileInfo, error) { // // - fileAttributeInfoList describing the settable attributes. When you are // done with it, release it with g_file_attribute_info_list_unref(). -// func (file *File) QuerySettableAttributes(ctx context.Context) (*FileAttributeInfoList, error) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -24798,7 +24394,6 @@ func (file *File) QuerySettableAttributes(ctx context.Context) (*FileAttributeIn // // - fileAttributeInfoList describing the writable namespaces. When you are // done with it, release it with g_file_attribute_info_list_unref(). -// func (file *File) QueryWritableNamespaces(ctx context.Context) (*FileAttributeInfoList, error) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -24853,7 +24448,6 @@ func (file *File) QueryWritableNamespaces(ctx context.Context) (*FileAttributeIn // // - fileInputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) Read(ctx context.Context) (*FileInputStream, error) { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -24895,7 +24489,6 @@ func (file *File) Read(ctx context.Context) (*FileInputStream, error) { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) ReadAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -24933,7 +24526,6 @@ func (file *File) ReadAsync(ctx context.Context, ioPriority int, callback AsyncR // // - fileInputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) ReadFinish(res AsyncResulter) (*FileInputStream, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -25008,7 +24600,6 @@ func (file *File) ReadFinish(res AsyncResulter) (*FileInputStream, error) { // // - fileOutputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) Replace(ctx context.Context, etag string, makeBackup bool, flags FileCreateFlags) (*FileOutputStream, error) { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -25069,7 +24660,6 @@ func (file *File) Replace(ctx context.Context, etag string, makeBackup bool, fla // - flags: set of CreateFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) ReplaceAsync(ctx context.Context, etag string, makeBackup bool, flags FileCreateFlags, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg5 *C.GCancellable // out @@ -25140,7 +24730,6 @@ func (file *File) ReplaceAsync(ctx context.Context, etag string, makeBackup bool // - newEtag (optional): location to a new [entity tag][gfile-etag] for the // document. This should be freed with g_free() when no longer needed, // or NULL. -// func (file *File) ReplaceContents(ctx context.Context, contents, etag string, makeBackup bool, flags FileCreateFlags) (string, error) { var _arg0 *C.GFile // out var _arg7 *C.GCancellable // out @@ -25220,7 +24809,6 @@ func (file *File) ReplaceContents(ctx context.Context, contents, etag string, ma // - makeBackup: TRUE if a backup should be created. // - flags: set of CreateFlags. // - callback (optional) to call when the request is satisfied. -// func (file *File) ReplaceContentsAsync(ctx context.Context, contents, etag string, makeBackup bool, flags FileCreateFlags, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg6 *C.GCancellable // out @@ -25282,7 +24870,6 @@ func (file *File) ReplaceContentsAsync(ctx context.Context, contents, etag strin // - makeBackup: TRUE if a backup should be created. // - flags: set of CreateFlags. // - callback (optional) to call when the request is satisfied. -// func (file *File) ReplaceContentsBytesAsync(ctx context.Context, contents *glib.Bytes, etag string, makeBackup bool, flags FileCreateFlags, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg5 *C.GCancellable // out @@ -25336,7 +24923,6 @@ func (file *File) ReplaceContentsBytesAsync(ctx context.Context, contents *glib. // - newEtag (optional): location of a new [entity tag][gfile-etag] for the // document. This should be freed with g_free() when it is no longer needed, // or NULL. -// func (file *File) ReplaceContentsFinish(res AsyncResulter) (string, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -25375,7 +24961,6 @@ func (file *File) ReplaceContentsFinish(res AsyncResulter) (string, error) { // // - fileOutputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) ReplaceFinish(res AsyncResulter) (*FileOutputStream, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -25423,7 +25008,6 @@ func (file *File) ReplaceFinish(res AsyncResulter) (*FileOutputStream, error) { // // - fileIOStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) ReplaceReadwrite(ctx context.Context, etag string, makeBackup bool, flags FileCreateFlags) (*FileIOStream, error) { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -25484,7 +25068,6 @@ func (file *File) ReplaceReadwrite(ctx context.Context, etag string, makeBackup // - flags: set of CreateFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) ReplaceReadwriteAsync(ctx context.Context, etag string, makeBackup bool, flags FileCreateFlags, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg5 *C.GCancellable // out @@ -25536,7 +25119,6 @@ func (file *File) ReplaceReadwriteAsync(ctx context.Context, etag string, makeBa // // - fileIOStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) ReplaceReadwriteFinish(res AsyncResulter) (*FileIOStream, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -25573,7 +25155,6 @@ func (file *File) ReplaceReadwriteFinish(res AsyncResulter) (*FileIOStream, erro // // - ret to the resolved path. NULL if relative_path is NULL or if file is // invalid. Free the returned object with g_object_unref(). -// func (file *File) ResolveRelativePath(relativePath string) *File { var _arg0 *C.GFile // out var _arg1 *C.char // out @@ -25612,7 +25193,6 @@ func (file *File) ResolveRelativePath(relativePath string) *File { // - valueP (optional): pointer to the value (or the pointer itself if the // type is a pointer type). // - flags: set of QueryInfoFlags. -// func (file *File) SetAttribute(ctx context.Context, attribute string, typ FileAttributeType, valueP unsafe.Pointer, flags FileQueryInfoFlags) error { var _arg0 *C.GFile // out var _arg5 *C.GCancellable // out @@ -25665,7 +25245,6 @@ func (file *File) SetAttribute(ctx context.Context, attribute string, typ FileAt // - attribute: string containing the attribute's name. // - value: string containing the attribute's new value. // - flags: QueryInfoFlags. -// func (file *File) SetAttributeByteString(ctx context.Context, attribute, value string, flags FileQueryInfoFlags) error { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -25715,7 +25294,6 @@ func (file *File) SetAttributeByteString(ctx context.Context, attribute, value s // - attribute: string containing the attribute's name. // - value containing the attribute's new value. // - flags: QueryInfoFlags. -// func (file *File) SetAttributeInt32(ctx context.Context, attribute string, value int32, flags FileQueryInfoFlags) error { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -25764,7 +25342,6 @@ func (file *File) SetAttributeInt32(ctx context.Context, attribute string, value // - attribute: string containing the attribute's name. // - value containing the attribute's new value. // - flags: QueryInfoFlags. -// func (file *File) SetAttributeInt64(ctx context.Context, attribute string, value int64, flags FileQueryInfoFlags) error { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -25813,7 +25390,6 @@ func (file *File) SetAttributeInt64(ctx context.Context, attribute string, value // - attribute: string containing the attribute's name. // - value: string containing the attribute's value. // - flags: QueryInfoFlags. -// func (file *File) SetAttributeString(ctx context.Context, attribute, value string, flags FileQueryInfoFlags) error { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -25863,7 +25439,6 @@ func (file *File) SetAttributeString(ctx context.Context, attribute, value strin // - attribute: string containing the attribute's name. // - value containing the attribute's new value. // - flags: QueryInfoFlags. -// func (file *File) SetAttributeUint32(ctx context.Context, attribute string, value uint32, flags FileQueryInfoFlags) error { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -25912,7 +25487,6 @@ func (file *File) SetAttributeUint32(ctx context.Context, attribute string, valu // - attribute: string containing the attribute's name. // - value containing the attribute's new value. // - flags: QueryInfoFlags. -// func (file *File) SetAttributeUint64(ctx context.Context, attribute string, value uint64, flags FileQueryInfoFlags) error { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -25963,7 +25537,6 @@ func (file *File) SetAttributeUint64(ctx context.Context, attribute string, valu // - flags: QueryInfoFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional): ReadyCallback. -// func (file *File) SetAttributesAsync(ctx context.Context, info *FileInfo, flags FileQueryInfoFlags, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg4 *C.GCancellable // out @@ -26006,7 +25579,6 @@ func (file *File) SetAttributesAsync(ctx context.Context, info *FileInfo, flags // The function returns the following values: // // - info: Info. -// func (file *File) SetAttributesFinish(result AsyncResulter) (*FileInfo, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -26048,7 +25620,6 @@ func (file *File) SetAttributesFinish(result AsyncResulter) (*FileInfo, error) { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - info: Info. // - flags: QueryInfoFlags. -// func (file *File) SetAttributesFromInfo(ctx context.Context, info *FileInfo, flags FileQueryInfoFlags) error { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -26105,7 +25676,6 @@ func (file *File) SetAttributesFromInfo(ctx context.Context, info *FileInfo, fla // // - ret specifying what file was renamed to, or NULL if there was an error. // Free the returned object with g_object_unref(). -// func (file *File) SetDisplayName(ctx context.Context, displayName string) (*File, error) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -26152,7 +25722,6 @@ func (file *File) SetDisplayName(ctx context.Context, displayName string) (*File // - displayName: string. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) SetDisplayNameAsync(ctx context.Context, displayName string, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -26193,7 +25762,6 @@ func (file *File) SetDisplayNameAsync(ctx context.Context, displayName string, i // The function returns the following values: // // - ret or NULL on error. Free the returned object with g_object_unref(). -// func (file *File) SetDisplayNameFinish(res AsyncResulter) (*File, error) { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -26235,7 +25803,6 @@ func (file *File) SetDisplayNameFinish(res AsyncResulter) (*File, error) { // - flags affecting the operation. // - startOperation (optional) or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) StartMountable(ctx context.Context, flags DriveStartFlags, startOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -26276,7 +25843,6 @@ func (file *File) StartMountable(ctx context.Context, flags DriveStartFlags, sta // The function takes the following parameters: // // - result: Result. -// func (file *File) StartMountableFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -26313,7 +25879,6 @@ func (file *File) StartMountableFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional): Operation, or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) StopMountable(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -26354,7 +25919,6 @@ func (file *File) StopMountable(ctx context.Context, flags MountUnmountFlags, mo // The function takes the following parameters: // // - result: Result. -// func (file *File) StopMountableFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -26384,7 +25948,6 @@ func (file *File) StopMountableFinish(result AsyncResulter) error { // The function returns the following values: // // - ok: whether or not file supports thread-default contexts. -// func (file *File) SupportsThreadContexts() bool { var _arg0 *C.GFile // out var _cret C.gboolean // in @@ -26417,7 +25980,6 @@ func (file *File) SupportsThreadContexts() bool { // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (file *File) Trash(ctx context.Context) error { var _arg0 *C.GFile // out var _arg1 *C.GCancellable // out @@ -26450,7 +26012,6 @@ func (file *File) Trash(ctx context.Context) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) TrashAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -26483,7 +26044,6 @@ func (file *File) TrashAsync(ctx context.Context, ioPriority int, callback Async // The function takes the following parameters: // // - result: Result. -// func (file *File) TrashFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -26521,7 +26081,6 @@ func (file *File) TrashFinish(result AsyncResulter) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the operation. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) UnmountMountable(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg2 *C.GCancellable // out @@ -26559,7 +26118,6 @@ func (file *File) UnmountMountable(ctx context.Context, flags MountUnmountFlags, // The function takes the following parameters: // // - result: Result. -// func (file *File) UnmountMountableFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -26596,7 +26154,6 @@ func (file *File) UnmountMountableFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional): Operation, or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) UnmountMountableWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GFile // out var _arg3 *C.GCancellable // out @@ -26637,7 +26194,6 @@ func (file *File) UnmountMountableWithOperation(ctx context.Context, flags Mount // The function takes the following parameters: // // - result: Result. -// func (file *File) UnmountMountableWithOperationFinish(result AsyncResulter) error { var _arg0 *C.GFile // out var _arg1 *C.GAsyncResult // out @@ -26684,7 +26240,6 @@ func (file *File) UnmountMountableWithOperationFinish(result AsyncResulter) erro // // - fileOutputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) appendTo(ctx context.Context, flags FileCreateFlags) (*FileOutputStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.append_to @@ -26733,7 +26288,6 @@ func (file *File) appendTo(ctx context.Context, flags FileCreateFlags) (*FileOut // - flags: set of CreateFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) appendToAsync(ctx context.Context, flags FileCreateFlags, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.append_to_async @@ -26777,7 +26331,6 @@ func (file *File) appendToAsync(ctx context.Context, flags FileCreateFlags, ioPr // // - fileOutputStream: valid OutputStream or NULL on error. Free the returned // object with g_object_unref(). -// func (file *File) appendToFinish(res AsyncResulter) (*FileOutputStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.append_to_finish @@ -26853,7 +26406,6 @@ func (file *File) appendToFinish(res AsyncResulter) (*FileOutputStream, error) { // - flags: set of CopyFlags. // - progressCallback (optional): function to callback with progress // information, or NULL if progress information is not needed. -// func (source *File) copy(ctx context.Context, destination Filer, flags FileCopyFlags, progressCallback FileProgressCallback) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(source)) fnarg := gclass.copy @@ -26901,7 +26453,6 @@ func (source *File) copy(ctx context.Context, destination Filer, flags FileCopyF // The function takes the following parameters: // // - res: Result. -// func (file *File) copyFinish(res AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.copy_finish @@ -26952,7 +26503,6 @@ func (file *File) copyFinish(res AsyncResulter) error { // // - fileOutputStream for the newly created file, or NULL on error. Free the // returned object with g_object_unref(). -// func (file *File) create(ctx context.Context, flags FileCreateFlags) (*FileOutputStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.create @@ -27002,7 +26552,6 @@ func (file *File) create(ctx context.Context, flags FileCreateFlags) (*FileOutpu // - flags: set of CreateFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) createAsync(ctx context.Context, flags FileCreateFlags, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.create_async @@ -27046,7 +26595,6 @@ func (file *File) createAsync(ctx context.Context, flags FileCreateFlags, ioPrio // // - fileOutputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) createFinish(res AsyncResulter) (*FileOutputStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.create_finish @@ -27104,7 +26652,6 @@ func (file *File) createFinish(res AsyncResulter) (*FileOutputStream, error) { // // - fileIOStream for the newly created file, or NULL on error. Free the // returned object with g_object_unref(). -// func (file *File) createReadwrite(ctx context.Context, flags FileCreateFlags) (*FileIOStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.create_readwrite @@ -27154,7 +26701,6 @@ func (file *File) createReadwrite(ctx context.Context, flags FileCreateFlags) (* // - flags: set of CreateFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) createReadwriteAsync(ctx context.Context, flags FileCreateFlags, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.create_readwrite_async @@ -27198,7 +26744,6 @@ func (file *File) createReadwriteAsync(ctx context.Context, flags FileCreateFlag // // - fileIOStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) createReadwriteFinish(res AsyncResulter) (*FileIOStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.create_readwrite_finish @@ -27233,15 +26778,15 @@ func (file *File) createReadwriteFinish(res AsyncResulter) (*FileIOStream, error // for deletion to be implemented avoiding time-of-check to time-of-use races // (https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use): // -// g_autoptr(GError) local_error = NULL; -// if (!g_file_delete (my_file, my_cancellable, &local_error) && -// !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) -// { -// // deletion failed for some reason other than the file not existing: -// // so report the error -// g_warning ("Failed to delete s: s", -// g_file_peek_path (my_file), local_error->message); -// } +// g_autoptr(GError) local_error = NULL; +// if (!g_file_delete (my_file, my_cancellable, &local_error) && +// !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) +// { +// // deletion failed for some reason other than the file not existing: +// // so report the error +// g_warning ("Failed to delete s: s", +// g_file_peek_path (my_file), local_error->message); +// } // // If cancellable is not NULL, then the operation can be cancelled by triggering // the cancellable object from another thread. If the operation was cancelled, @@ -27250,7 +26795,6 @@ func (file *File) createReadwriteFinish(res AsyncResulter) (*FileIOStream, error // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (file *File) deleteFile(ctx context.Context) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.delete_file @@ -27288,7 +26832,6 @@ func (file *File) deleteFile(ctx context.Context) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) deleteFileAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.delete_file_async @@ -27323,7 +26866,6 @@ func (file *File) deleteFileAsync(ctx context.Context, ioPriority int, callback // The function takes the following parameters: // // - result: Result. -// func (file *File) deleteFileFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.delete_file_finish @@ -27362,7 +26904,6 @@ func (file *File) deleteFileFinish(result AsyncResulter) error { // The function returns the following values: // // - ret: new #GFile that is a duplicate of the given #GFile. -// func (file *File) dup() *File { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.dup @@ -27397,7 +26938,6 @@ func (file *File) dup() *File { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the operation. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) ejectMountable(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.eject_mountable @@ -27435,7 +26975,6 @@ func (file *File) ejectMountable(ctx context.Context, flags MountUnmountFlags, c // The function takes the following parameters: // // - result: Result. -// func (file *File) ejectMountableFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.eject_mountable_finish @@ -27475,7 +27014,6 @@ func (file *File) ejectMountableFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional): Operation, or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) ejectMountableWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.eject_mountable_with_operation @@ -27516,7 +27054,6 @@ func (file *File) ejectMountableWithOperation(ctx context.Context, flags MountUn // The function takes the following parameters: // // - result: Result. -// func (file *File) ejectMountableWithOperationFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.eject_mountable_with_operation_finish @@ -27572,7 +27109,6 @@ func (file *File) ejectMountableWithOperationFinish(result AsyncResulter) error // // - fileEnumerator if successful, NULL on error. Free the returned object // with g_object_unref(). -// func (file *File) enumerateChildren(ctx context.Context, attributes string, flags FileQueryInfoFlags) (*FileEnumerator, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.enumerate_children @@ -27628,7 +27164,6 @@ func (file *File) enumerateChildren(ctx context.Context, attributes string, flag // - flags: set of QueryInfoFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) enumerateChildrenAsync(ctx context.Context, attributes string, flags FileQueryInfoFlags, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.enumerate_children_async @@ -27676,7 +27211,6 @@ func (file *File) enumerateChildrenAsync(ctx context.Context, attributes string, // // - fileEnumerator or NULL if an error occurred. Free the returned object // with g_object_unref(). -// func (file *File) enumerateChildrenFinish(res AsyncResulter) (*FileEnumerator, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.enumerate_children_finish @@ -27718,7 +27252,6 @@ func (file *File) enumerateChildrenFinish(res AsyncResulter) (*FileEnumerator, e // The function returns the following values: // // - ok: TRUE if file1 and file2 are equal. -// func (file1 *File) equal(file2 Filer) bool { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file1)) fnarg := gclass.equal @@ -27761,7 +27294,6 @@ func (file1 *File) equal(file2 Filer) bool { // // - mount where the file is located or NULL on error. Free the returned // object with g_object_unref(). -// func (file *File) findEnclosingMount(ctx context.Context) (*Mount, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.find_enclosing_mount @@ -27806,7 +27338,6 @@ func (file *File) findEnclosingMount(ctx context.Context) (*Mount, error) { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) findEnclosingMountAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.find_enclosing_mount_async @@ -27847,7 +27378,6 @@ func (file *File) findEnclosingMountAsync(ctx context.Context, ioPriority int, c // // - mount for given file or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) findEnclosingMountFinish(res AsyncResulter) (*Mount, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.find_enclosing_mount_finish @@ -27895,7 +27425,6 @@ func (file *File) findEnclosingMountFinish(res AsyncResulter) (*Mount, error) { // - filename (optional): string containing the #GFile's base name, or NULL // if given #GFile is invalid. The returned string should be freed with // g_free() when no longer needed. -// func (file *File) basename() string { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.get_basename @@ -27934,7 +27463,6 @@ func (file *File) basename() string { // // - ret to the specified child, or NULL if the display name couldn't be // converted. Free the returned object with g_object_unref(). -// func (file *File) childForDisplayName(displayName string) (*File, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.get_child_for_display_name @@ -27972,7 +27500,6 @@ func (file *File) childForDisplayName(displayName string) (*File, error) { // // - ret (optional) structure to the parent of the given #GFile or NULL if // there is no parent. Free the returned object with g_object_unref(). -// func (file *File) parent() *File { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.get_parent @@ -28011,7 +27538,6 @@ func (file *File) parent() *File { // // - utf8: string containing the #GFile's parse name. The returned string // should be freed with g_free() when no longer needed. -// func (file *File) parseName() string { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.get_parse_name @@ -28042,7 +27568,6 @@ func (file *File) parseName() string { // - filename (optional): string containing the #GFile's path, or NULL if no // such path exists. The returned string should be freed with g_free() when // no longer needed. -// func (file *File) path() string { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.get_path @@ -28078,7 +27603,6 @@ func (file *File) path() string { // - filename (optional): string with the relative path from descendant to // parent, or NULL if descendant doesn't have parent as prefix. The returned // string should be freed with g_free() when no longer needed. -// func (parent *File) relativePath(descendant Filer) string { gclass := (*C.GFileIface)(coreglib.PeekParentClass(parent)) fnarg := gclass.get_relative_path @@ -28113,7 +27637,6 @@ func (parent *File) relativePath(descendant Filer) string { // - utf8: string containing the #GFile's URI. If the #GFile was constructed // with an invalid URI, an invalid URI is returned. The returned string // should be freed with g_free() when no longer needed. -// func (file *File) urI() string { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.get_uri @@ -28136,7 +27659,7 @@ func (file *File) urI() string { // uriScheme gets the URI scheme for a #GFile. RFC 3986 decodes the scheme as: // -// URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] +// URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] // // Common schemes include "file", "http", "ftp", etc. // @@ -28151,7 +27674,6 @@ func (file *File) urI() string { // - utf8 (optional): string containing the URI scheme for the given #GFile // or NULL if the #GFile was constructed with an invalid URI. The returned // string should be freed with g_free() when no longer needed. -// func (file *File) uriScheme() string { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.get_uri_scheme @@ -28186,7 +27708,6 @@ func (file *File) uriScheme() string { // // - ok: TRUE if #GFile's backend supports the given URI scheme, FALSE if URI // scheme is NULL, not supported, or #GFile is invalid. -// func (file *File) hasURIScheme(uriScheme string) bool { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.has_uri_scheme @@ -28221,7 +27742,6 @@ func (file *File) hasURIScheme(uriScheme string) bool { // - guint: 0 if file is not a valid #GFile, otherwise an integer that can be // used as hash value for the #GFile. This function is intended for easily // hashing a #GFile to add to a Table or similar data structure. -// func (file *File) hash() uint { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.hash @@ -28256,7 +27776,6 @@ func (file *File) hash() uint { // The function returns the following values: // // - ok: TRUE if file is native. -// func (file *File) isNative() bool { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.is_native @@ -28296,7 +27815,6 @@ func (file *File) isNative() bool { // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (file *File) makeDirectory(ctx context.Context) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.make_directory @@ -28332,7 +27850,6 @@ func (file *File) makeDirectory(ctx context.Context) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) makeDirectoryAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.make_directory_async @@ -28368,7 +27885,6 @@ func (file *File) makeDirectoryAsync(ctx context.Context, ioPriority int, callba // The function takes the following parameters: // // - result: Result. -// func (file *File) makeDirectoryFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.make_directory_finish @@ -28404,7 +27920,6 @@ func (file *File) makeDirectoryFinish(result AsyncResulter) error { // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - symlinkValue: string with the path for the target of the new symlink. -// func (file *File) makeSymbolicLink(ctx context.Context, symlinkValue string) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.make_symbolic_link @@ -28450,7 +27965,6 @@ func (file *File) makeSymbolicLink(ctx context.Context, symlinkValue string) err // - diskUsage (optional): number of bytes of disk space used. // - numDirs (optional): number of directories encountered. // - numFiles (optional): number of non-directories encountered. -// func (file *File) measureDiskUsageFinish(result AsyncResulter) (diskUsage, numDirs, numFiles uint64, goerr error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.measure_disk_usage_finish @@ -28506,7 +28020,6 @@ func (file *File) measureDiskUsageFinish(result AsyncResulter) (diskUsage, numDi // // - fileMonitor for the given file, or NULL on error. Free the returned // object with g_object_unref(). -// func (file *File) monitorDir(ctx context.Context, flags FileMonitorFlags) (FileMonitorrer, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.monitor_dir @@ -28580,7 +28093,6 @@ func (file *File) monitorDir(ctx context.Context, flags FileMonitorFlags) (FileM // // - fileMonitor for the given file, or NULL on error. Free the returned // object with g_object_unref(). -// func (file *File) monitorFile(ctx context.Context, flags FileMonitorFlags) (FileMonitorrer, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.monitor_file @@ -28648,7 +28160,6 @@ func (file *File) monitorFile(ctx context.Context, flags FileMonitorFlags) (File // - flags affecting the operation. // - mountOperation (optional): Operation or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (location *File) mountEnclosingVolume(ctx context.Context, flags MountMountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(location)) fnarg := gclass.mount_enclosing_volume @@ -28689,7 +28200,6 @@ func (location *File) mountEnclosingVolume(ctx context.Context, flags MountMount // The function takes the following parameters: // // - result: Result. -// func (location *File) mountEnclosingVolumeFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(location)) fnarg := gclass.mount_enclosing_volume_finish @@ -28731,7 +28241,6 @@ func (location *File) mountEnclosingVolumeFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional): Operation, or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) mountMountable(ctx context.Context, flags MountMountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.mount_mountable @@ -28779,7 +28288,6 @@ func (file *File) mountMountable(ctx context.Context, flags MountMountFlags, mou // The function returns the following values: // // - ret or NULL on error. Free the returned object with g_object_unref(). -// func (file *File) mountMountableFinish(result AsyncResulter) (*File, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.mount_mountable_finish @@ -28847,7 +28355,6 @@ func (file *File) mountMountableFinish(result AsyncResulter) (*File, error) { // - destination pointing to the destination location. // - flags: set of CopyFlags. // - progressCallback (optional): ProgressCallback function for updates. -// func (source *File) move(ctx context.Context, destination Filer, flags FileCopyFlags, progressCallback FileProgressCallback) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(source)) fnarg := gclass.move @@ -28912,7 +28419,6 @@ func (source *File) move(ctx context.Context, destination Filer, flags FileCopyF // // - fileIOStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) openReadwrite(ctx context.Context) (*FileIOStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.open_readwrite @@ -28957,7 +28463,6 @@ func (file *File) openReadwrite(ctx context.Context) (*FileIOStream, error) { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) openReadwriteAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.open_readwrite_async @@ -28998,7 +28503,6 @@ func (file *File) openReadwriteAsync(ctx context.Context, ioPriority int, callba // // - fileIOStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) openReadwriteFinish(res AsyncResulter) (*FileIOStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.open_readwrite_finish @@ -29039,7 +28543,6 @@ func (file *File) openReadwriteFinish(res AsyncResulter) (*FileIOStream, error) // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) pollMountable(ctx context.Context, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.poll_mountable @@ -29075,7 +28578,6 @@ func (file *File) pollMountable(ctx context.Context, callback AsyncReadyCallback // The function takes the following parameters: // // - result: Result. -// func (file *File) pollMountableFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.poll_mountable_finish @@ -29121,7 +28623,6 @@ func (file *File) pollMountableFinish(result AsyncResulter) error { // // - ok: TRUE if the file's parent, grandparent, etc is prefix, FALSE // otherwise. -// func (prefix *File) prefixMatches(file Filer) bool { gclass := (*C.GFileIface)(coreglib.PeekParentClass(prefix)) fnarg := gclass.prefix_matches @@ -29178,7 +28679,6 @@ func (prefix *File) prefixMatches(file Filer) bool { // // - fileInfo or NULL if there was an error. Free the returned object with // g_object_unref(). -// func (file *File) queryFilesystemInfo(ctx context.Context, attributes string) (*FileInfo, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.query_filesystem_info @@ -29230,7 +28730,6 @@ func (file *File) queryFilesystemInfo(ctx context.Context, attributes string) (* // - attributes: attribute query string. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) queryFilesystemInfoAsync(ctx context.Context, attributes string, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.query_filesystem_info_async @@ -29275,7 +28774,6 @@ func (file *File) queryFilesystemInfoAsync(ctx context.Context, attributes strin // // - fileInfo for given file or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) queryFilesystemInfoFinish(res AsyncResulter) (*FileInfo, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.query_filesystem_info_finish @@ -29340,7 +28838,6 @@ func (file *File) queryFilesystemInfoFinish(res AsyncResulter) (*FileInfo, error // // - fileInfo for the given file, or NULL on error. Free the returned object // with g_object_unref(). -// func (file *File) queryInfo(ctx context.Context, attributes string, flags FileQueryInfoFlags) (*FileInfo, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.query_info @@ -29396,7 +28893,6 @@ func (file *File) queryInfo(ctx context.Context, attributes string, flags FileQu // - flags: set of QueryInfoFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) queryInfoAsync(ctx context.Context, attributes string, flags FileQueryInfoFlags, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.query_info_async @@ -29444,7 +28940,6 @@ func (file *File) queryInfoAsync(ctx context.Context, attributes string, flags F // // - fileInfo for given file or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) queryInfoFinish(res AsyncResulter) (*FileInfo, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.query_info_finish @@ -29491,7 +28986,6 @@ func (file *File) queryInfoFinish(res AsyncResulter) (*FileInfo, error) { // // - fileAttributeInfoList describing the settable attributes. When you are // done with it, release it with g_file_attribute_info_list_unref(). -// func (file *File) querySettableAttributes(ctx context.Context) (*FileAttributeInfoList, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.query_settable_attributes @@ -29545,7 +29039,6 @@ func (file *File) querySettableAttributes(ctx context.Context) (*FileAttributeIn // // - fileAttributeInfoList describing the writable namespaces. When you are // done with it, release it with g_file_attribute_info_list_unref(). -// func (file *File) queryWritableNamespaces(ctx context.Context) (*FileAttributeInfoList, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.query_writable_namespaces @@ -29596,7 +29089,6 @@ func (file *File) queryWritableNamespaces(ctx context.Context) (*FileAttributeIn // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) readAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.read_async @@ -29637,7 +29129,6 @@ func (file *File) readAsync(ctx context.Context, ioPriority int, callback AsyncR // // - fileInputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) readFinish(res AsyncResulter) (*FileInputStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.read_finish @@ -29685,7 +29176,6 @@ func (file *File) readFinish(res AsyncResulter) (*FileInputStream, error) { // // - fileInputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) readFn(ctx context.Context) (*FileInputStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.read_fn @@ -29767,7 +29257,6 @@ func (file *File) readFn(ctx context.Context) (*FileInputStream, error) { // // - fileOutputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) replace(ctx context.Context, etag string, makeBackup bool, flags FileCreateFlags) (*FileOutputStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.replace @@ -29831,7 +29320,6 @@ func (file *File) replace(ctx context.Context, etag string, makeBackup bool, fla // - flags: set of CreateFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) replaceAsync(ctx context.Context, etag string, makeBackup bool, flags FileCreateFlags, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.replace_async @@ -29886,7 +29374,6 @@ func (file *File) replaceAsync(ctx context.Context, etag string, makeBackup bool // // - fileOutputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) replaceFinish(res AsyncResulter) (*FileOutputStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.replace_finish @@ -29937,7 +29424,6 @@ func (file *File) replaceFinish(res AsyncResulter) (*FileOutputStream, error) { // // - fileIOStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) replaceReadwrite(ctx context.Context, etag string, makeBackup bool, flags FileCreateFlags) (*FileIOStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.replace_readwrite @@ -30001,7 +29487,6 @@ func (file *File) replaceReadwrite(ctx context.Context, etag string, makeBackup // - flags: set of CreateFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) replaceReadwriteAsync(ctx context.Context, etag string, makeBackup bool, flags FileCreateFlags, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.replace_readwrite_async @@ -30056,7 +29541,6 @@ func (file *File) replaceReadwriteAsync(ctx context.Context, etag string, makeBa // // - fileIOStream or NULL on error. Free the returned object with // g_object_unref(). -// func (file *File) replaceReadwriteFinish(res AsyncResulter) (*FileIOStream, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.replace_readwrite_finish @@ -30096,7 +29580,6 @@ func (file *File) replaceReadwriteFinish(res AsyncResulter) (*FileIOStream, erro // // - ret to the resolved path. NULL if relative_path is NULL or if file is // invalid. Free the returned object with g_object_unref(). -// func (file *File) resolveRelativePath(relativePath string) *File { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.resolve_relative_path @@ -30138,7 +29621,6 @@ func (file *File) resolveRelativePath(relativePath string) *File { // - valueP (optional): pointer to the value (or the pointer itself if the // type is a pointer type). // - flags: set of QueryInfoFlags. -// func (file *File) setAttribute(ctx context.Context, attribute string, typ FileAttributeType, valueP unsafe.Pointer, flags FileQueryInfoFlags) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.set_attribute @@ -30195,7 +29677,6 @@ func (file *File) setAttribute(ctx context.Context, attribute string, typ FileAt // - flags: QueryInfoFlags. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional): ReadyCallback. -// func (file *File) setAttributesAsync(ctx context.Context, info *FileInfo, flags FileQueryInfoFlags, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.set_attributes_async @@ -30241,7 +29722,6 @@ func (file *File) setAttributesAsync(ctx context.Context, info *FileInfo, flags // The function returns the following values: // // - info: Info. -// func (file *File) setAttributesFinish(result AsyncResulter) (*FileInfo, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.set_attributes_finish @@ -30286,7 +29766,6 @@ func (file *File) setAttributesFinish(result AsyncResulter) (*FileInfo, error) { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - info: Info. // - flags: QueryInfoFlags. -// func (file *File) setAttributesFromInfo(ctx context.Context, info *FileInfo, flags FileQueryInfoFlags) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.set_attributes_from_info @@ -30346,7 +29825,6 @@ func (file *File) setAttributesFromInfo(ctx context.Context, info *FileInfo, fla // // - ret specifying what file was renamed to, or NULL if there was an error. // Free the returned object with g_object_unref(). -// func (file *File) setDisplayName(ctx context.Context, displayName string) (*File, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.set_display_name @@ -30396,7 +29874,6 @@ func (file *File) setDisplayName(ctx context.Context, displayName string) (*File // - displayName: string. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) setDisplayNameAsync(ctx context.Context, displayName string, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.set_display_name_async @@ -30440,7 +29917,6 @@ func (file *File) setDisplayNameAsync(ctx context.Context, displayName string, i // The function returns the following values: // // - ret or NULL on error. Free the returned object with g_object_unref(). -// func (file *File) setDisplayNameFinish(res AsyncResulter) (*File, error) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.set_display_name_finish @@ -30485,7 +29961,6 @@ func (file *File) setDisplayNameFinish(res AsyncResulter) (*File, error) { // - flags affecting the operation. // - startOperation (optional) or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) startMountable(ctx context.Context, flags DriveStartFlags, startOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.start_mountable @@ -30529,7 +30004,6 @@ func (file *File) startMountable(ctx context.Context, flags DriveStartFlags, sta // The function takes the following parameters: // // - result: Result. -// func (file *File) startMountableFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.start_mountable_finish @@ -30569,7 +30043,6 @@ func (file *File) startMountableFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional): Operation, or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) stopMountable(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.stop_mountable @@ -30613,7 +30086,6 @@ func (file *File) stopMountable(ctx context.Context, flags MountUnmountFlags, mo // The function takes the following parameters: // // - result: Result. -// func (file *File) stopMountableFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.stop_mountable_finish @@ -30652,7 +30124,6 @@ func (file *File) stopMountableFinish(result AsyncResulter) error { // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (file *File) trash(ctx context.Context) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.trash @@ -30688,7 +30159,6 @@ func (file *File) trash(ctx context.Context) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (file *File) trashAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.trash_async @@ -30724,7 +30194,6 @@ func (file *File) trashAsync(ctx context.Context, ioPriority int, callback Async // The function takes the following parameters: // // - result: Result. -// func (file *File) trashFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.trash_finish @@ -30765,7 +30234,6 @@ func (file *File) trashFinish(result AsyncResulter) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the operation. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) unmountMountable(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.unmount_mountable @@ -30806,7 +30274,6 @@ func (file *File) unmountMountable(ctx context.Context, flags MountUnmountFlags, // The function takes the following parameters: // // - result: Result. -// func (file *File) unmountMountableFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.unmount_mountable_finish @@ -30846,7 +30313,6 @@ func (file *File) unmountMountableFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional): Operation, or NULL to avoid user interaction. // - callback (optional) to call when the request is satisfied, or NULL. -// func (file *File) unmountMountableWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.unmount_mountable_with_operation @@ -30890,7 +30356,6 @@ func (file *File) unmountMountableWithOperation(ctx context.Context, flags Mount // The function takes the following parameters: // // - result: Result. -// func (file *File) unmountMountableWithOperationFinish(result AsyncResulter) error { gclass := (*C.GFileIface)(coreglib.PeekParentClass(file)) fnarg := gclass.unmount_mountable_with_operation_finish @@ -30936,7 +30401,6 @@ func (file *File) unmountMountableWithOperationFinish(result AsyncResulter) erro // The function returns the following values: // // - file: new #GFile. Free the returned object with g_object_unref(). -// func NewFileForCommandlineArg(arg string) *File { var _arg1 *C.char // out var _cret *C.GFile // in @@ -30974,7 +30438,6 @@ func NewFileForCommandlineArg(arg string) *File { // The function returns the following values: // // - file: new #GFile. -// func NewFileForCommandlineArgAndCwd(arg, cwd string) *File { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -31009,7 +30472,6 @@ func NewFileForCommandlineArgAndCwd(arg, cwd string) *File { // // - file: new #GFile for the given path. Free the returned object with // g_object_unref(). -// func NewFileForPath(path string) *File { var _arg1 *C.char // out var _cret *C.GFile // in @@ -31039,7 +30501,6 @@ func NewFileForPath(path string) *File { // // - file: new #GFile for the given uri. Free the returned object with // g_object_unref(). -// func NewFileForURI(uri string) *File { var _arg1 *C.char // out var _cret *C.GFile // in @@ -31077,7 +30538,6 @@ func NewFileForURI(uri string) *File { // // - iostream: on return, a IOStream for the created file. // - file: new #GFile. Free the returned object with g_object_unref(). -// func NewFileTmp(tmpl string) (*FileIOStream, *File, error) { var _arg1 *C.char // out var _arg2 *C.GFileIOStream // in @@ -31117,7 +30577,6 @@ func NewFileTmp(tmpl string) (*FileIOStream, *File, error) { // The function returns the following values: // // - file: new #GFile. -// func FileParseName(parseName string) *File { var _arg1 *C.char // out var _cret *C.GFile // in @@ -31207,7 +30666,6 @@ func marshalIcon(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if icon1 is equal to icon2. FALSE otherwise. -// func (icon1 *Icon) Equal(icon2 Iconner) bool { var _arg0 *C.GIcon // out var _arg1 *C.GIcon // out @@ -31243,7 +30701,6 @@ func (icon1 *Icon) Equal(icon2 Iconner) bool { // // - variant (optional) or NULL when serialization fails. The #GVariant will // not be floating. -// func (icon *Icon) Serialize() *glib.Variant { var _arg0 *C.GIcon // out var _cret *C.GVariant // in @@ -31288,7 +30745,6 @@ func (icon *Icon) Serialize() *glib.Variant { // // - utf8 (optional): allocated NUL-terminated UTF8 string or NULL if icon // can't be serialized. Use g_free() to free. -// func (icon *Icon) String() string { var _arg0 *C.GIcon // out var _cret *C.gchar // in @@ -31317,7 +30773,6 @@ func (icon *Icon) String() string { // The function returns the following values: // // - ok: TRUE if icon1 is equal to icon2. FALSE otherwise. -// func (icon1 *Icon) equal(icon2 Iconner) bool { gclass := (*C.GIconIface)(coreglib.PeekParentClass(icon1)) fnarg := gclass.equal @@ -31352,7 +30807,6 @@ func (icon1 *Icon) equal(icon2 Iconner) bool { // // - guint containing a hash for the icon, suitable for use in a Table or // similar data structure. -// func (icon *Icon) hash() uint { gclass := (*C.GIconIface)(coreglib.PeekParentClass(icon)) fnarg := gclass.hash @@ -31382,7 +30836,6 @@ func (icon *Icon) hash() uint { // // - variant (optional) or NULL when serialization fails. The #GVariant will // not be floating. -// func (icon *Icon) serialize() *glib.Variant { gclass := (*C.GIconIface)(coreglib.PeekParentClass(icon)) fnarg := gclass.serialize @@ -31420,7 +30873,6 @@ func (icon *Icon) serialize() *glib.Variant { // The function returns the following values: // // - icon (optional) or NULL when deserialization fails. -// func IconDeserialize(value *glib.Variant) *Icon { var _arg1 *C.GVariant // out var _cret *C.GIcon // in @@ -31449,7 +30901,6 @@ func IconDeserialize(value *glib.Variant) *Icon { // // - guint containing a hash for the icon, suitable for use in a Table or // similar data structure. -// func IconHash(icon unsafe.Pointer) uint { var _arg1 C.gconstpointer // out var _cret C.guint // in @@ -31480,7 +30931,6 @@ func IconHash(icon unsafe.Pointer) uint { // The function returns the following values: // // - icon: object implementing the #GIcon interface or NULL if error is set. -// func NewIconForString(str string) (*Icon, error) { var _arg1 *C.gchar // out var _cret *C.GIcon // in @@ -31598,7 +31048,6 @@ func marshalInitable(p uintptr) (interface{}, error) { // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (initable *Initable) Init(ctx context.Context) error { var _arg0 *C.GInitable // out var _arg1 *C.GCancellable // out @@ -31665,7 +31114,6 @@ func (initable *Initable) Init(ctx context.Context) error { // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (initable *Initable) init(ctx context.Context) error { gclass := (*C.GInitableIface)(coreglib.PeekParentClass(initable)) fnarg := gclass.init @@ -31797,7 +31245,6 @@ func (list *ListModel) ConnectItemsChanged(f func(position, removed, added uint) // The function returns the following values: // // - gType of the items contained in list. -// func (list *ListModel) ItemType() coreglib.Type { var _arg0 *C.GListModel // out var _cret C.GType // in @@ -31823,7 +31270,6 @@ func (list *ListModel) ItemType() coreglib.Type { // The function returns the following values: // // - guint: number of items in list. -// func (list *ListModel) NItems() uint { var _arg0 *C.GListModel // out var _cret C.guint // in @@ -31853,7 +31299,6 @@ func (list *ListModel) NItems() uint { // The function returns the following values: // // - object (optional) at position. -// func (list *ListModel) Item(position uint) *coreglib.Object { var _arg0 *C.GListModel // out var _arg1 C.guint // out @@ -31899,7 +31344,6 @@ func (list *ListModel) Item(position uint) *coreglib.Object { // - position at which list changed. // - removed: number of items removed. // - added: number of items added. -// func (list *ListModel) ItemsChanged(position, removed, added uint) { var _arg0 *C.GListModel // out var _arg1 C.guint // out @@ -31931,7 +31375,6 @@ func (list *ListModel) ItemsChanged(position, removed, added uint) { // The function returns the following values: // // - object (optional) at position. -// func (list *ListModel) item(position uint) *coreglib.Object { gclass := (*C.GListModelInterface)(coreglib.PeekParentClass(list)) fnarg := gclass.get_item @@ -31963,7 +31406,6 @@ func (list *ListModel) item(position uint) *coreglib.Object { // The function returns the following values: // // - gType of the items contained in list. -// func (list *ListModel) itemType() coreglib.Type { gclass := (*C.GListModelInterface)(coreglib.PeekParentClass(list)) fnarg := gclass.get_item_type @@ -31992,7 +31434,6 @@ func (list *ListModel) itemType() coreglib.Type { // The function returns the following values: // // - guint: number of items in list. -// func (list *ListModel) nItems() uint { gclass := (*C.GListModelInterface)(coreglib.PeekParentClass(list)) fnarg := gclass.get_n_items @@ -32064,7 +31505,6 @@ func marshalLoadableIcon(p uintptr) (interface{}, error) { // - typ (optional): location to store the type of the loaded icon, NULL to // ignore. // - inputStream to read the icon from. -// func (icon *LoadableIcon) Load(ctx context.Context, size int) (string, InputStreamer, error) { var _arg0 *C.GLoadableIcon // out var _arg3 *C.GCancellable // out @@ -32127,7 +31567,6 @@ func (icon *LoadableIcon) Load(ctx context.Context, size int) (string, InputStre // - ctx (optional): optional #GCancellable object, NULL to ignore. // - size: integer. // - callback (optional) to call when the request is satisfied. -// func (icon *LoadableIcon) LoadAsync(ctx context.Context, size int, callback AsyncReadyCallback) { var _arg0 *C.GLoadableIcon // out var _arg2 *C.GCancellable // out @@ -32166,7 +31605,6 @@ func (icon *LoadableIcon) LoadAsync(ctx context.Context, size int, callback Asyn // - typ (optional): location to store the type of the loaded icon, NULL to // ignore. // - inputStream to read the icon from. -// func (icon *LoadableIcon) LoadFinish(res AsyncResulter) (string, InputStreamer, error) { var _arg0 *C.GLoadableIcon // out var _arg1 *C.GAsyncResult // out @@ -32226,7 +31664,6 @@ func (icon *LoadableIcon) LoadFinish(res AsyncResulter) (string, InputStreamer, // - typ (optional): location to store the type of the loaded icon, NULL to // ignore. // - inputStream to read the icon from. -// func (icon *LoadableIcon) load(ctx context.Context, size int) (string, InputStreamer, error) { gclass := (*C.GLoadableIconIface)(coreglib.PeekParentClass(icon)) fnarg := gclass.load @@ -32292,7 +31729,6 @@ func (icon *LoadableIcon) load(ctx context.Context, size int) (string, InputStre // - ctx (optional): optional #GCancellable object, NULL to ignore. // - size: integer. // - callback (optional) to call when the request is satisfied. -// func (icon *LoadableIcon) loadAsync(ctx context.Context, size int, callback AsyncReadyCallback) { gclass := (*C.GLoadableIconIface)(coreglib.PeekParentClass(icon)) fnarg := gclass.load_async @@ -32334,7 +31770,6 @@ func (icon *LoadableIcon) loadAsync(ctx context.Context, size int, callback Asyn // - typ (optional): location to store the type of the loaded icon, NULL to // ignore. // - inputStream to read the icon from. -// func (icon *LoadableIcon) loadFinish(res AsyncResulter) (string, InputStreamer, error) { gclass := (*C.GLoadableIconIface)(coreglib.PeekParentClass(icon)) fnarg := gclass.load_finish @@ -32415,23 +31850,23 @@ func (icon *LoadableIcon) loadFinish(res AsyncResulter) (string, InputStreamer, // // See MonitorWarningLevel for details on the various warning levels. // -// static void -// warning_cb (GMemoryMonitor *m, GMemoryMonitorWarningLevel level) -// { -// g_debug ("Warning level: d", level); -// if (warning_level > G_MEMORY_MONITOR_WARNING_LEVEL_LOW) -// drop_caches (); -// } -// -// static GMemoryMonitor * -// monitor_low_memory (void) -// { -// GMemoryMonitor *m; -// m = g_memory_monitor_dup_default (); -// g_signal_connect (G_OBJECT (m), "low-memory-warning", -// G_CALLBACK (warning_cb), NULL); -// return m; -// } +// static void +// warning_cb (GMemoryMonitor *m, GMemoryMonitorWarningLevel level) +// { +// g_debug ("Warning level: d", level); +// if (warning_level > G_MEMORY_MONITOR_WARNING_LEVEL_LOW) +// drop_caches (); +// } +// +// static GMemoryMonitor * +// monitor_low_memory (void) +// { +// GMemoryMonitor *m; +// m = g_memory_monitor_dup_default (); +// g_signal_connect (G_OBJECT (m), "low-memory-warning", +// G_CALLBACK (warning_cb), NULL); +// return m; +// } // // Don't forget to disconnect the Monitor::low-memory-warning signal, and unref // the Monitor itself when exiting. @@ -32503,7 +31938,6 @@ func (monitor *MemoryMonitor) lowMemoryWarning(level MemoryMonitorWarningLevel) // The function returns the following values: // // - memoryMonitor: new reference to the default Monitor. -// func MemoryMonitorDupDefault() *MemoryMonitor { var _cret *C.GMemoryMonitor // in @@ -32652,7 +32086,6 @@ func (mount *Mount) ConnectUnmounted(f func()) coreglib.SignalHandle { // The function returns the following values: // // - ok: TRUE if the mount can be ejected. -// func (mount *Mount) CanEject() bool { var _arg0 *C.GMount // out var _cret C.gboolean // in @@ -32676,7 +32109,6 @@ func (mount *Mount) CanEject() bool { // The function returns the following values: // // - ok: TRUE if the mount can be unmounted. -// func (mount *Mount) CanUnmount() bool { var _arg0 *C.GMount // out var _cret C.gboolean // in @@ -32706,7 +32138,6 @@ func (mount *Mount) CanUnmount() bool { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the unmount if required for eject. // - callback (optional) or NULL. -// func (mount *Mount) Eject(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { var _arg0 *C.GMount // out var _arg2 *C.GCancellable // out @@ -32742,7 +32173,6 @@ func (mount *Mount) Eject(ctx context.Context, flags MountUnmountFlags, callback // The function takes the following parameters: // // - result: Result. -// func (mount *Mount) EjectFinish(result AsyncResulter) error { var _arg0 *C.GMount // out var _arg1 *C.GAsyncResult // out @@ -32774,7 +32204,6 @@ func (mount *Mount) EjectFinish(result AsyncResulter) error { // - flags affecting the unmount if required for eject. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (mount *Mount) EjectWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GMount // out var _arg3 *C.GCancellable // out @@ -32813,7 +32242,6 @@ func (mount *Mount) EjectWithOperation(ctx context.Context, flags MountUnmountFl // The function takes the following parameters: // // - result: Result. -// func (mount *Mount) EjectWithOperationFinish(result AsyncResulter) error { var _arg0 *C.GMount // out var _arg1 *C.GAsyncResult // out @@ -32843,7 +32271,6 @@ func (mount *Mount) EjectWithOperationFinish(result AsyncResulter) error { // // - file: #GFile. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (mount *Mount) DefaultLocation() *File { var _arg0 *C.GMount // out var _cret *C.GFile // in @@ -32870,7 +32297,6 @@ func (mount *Mount) DefaultLocation() *File { // - drive (optional) or NULL if mount is not associated with a volume or a // drive. The returned object should be unreffed with g_object_unref() when // no longer needed. -// func (mount *Mount) Drive() *Drive { var _arg0 *C.GMount // out var _cret *C.GDrive // in @@ -32895,7 +32321,6 @@ func (mount *Mount) Drive() *Drive { // // - icon: #GIcon. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (mount *Mount) Icon() *Icon { var _arg0 *C.GMount // out var _cret *C.GIcon // in @@ -32918,7 +32343,6 @@ func (mount *Mount) Icon() *Icon { // // - utf8: name for the given mount. The returned string should be freed with // g_free() when no longer needed. -// func (mount *Mount) Name() string { var _arg0 *C.GMount // out var _cret *C.char // in @@ -32942,7 +32366,6 @@ func (mount *Mount) Name() string { // // - file: #GFile. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (mount *Mount) Root() *File { var _arg0 *C.GMount // out var _cret *C.GFile // in @@ -32965,7 +32388,6 @@ func (mount *Mount) Root() *File { // // - utf8 (optional): sorting key for mount or NULL if no such key is // available. -// func (mount *Mount) SortKey() string { var _arg0 *C.GMount // out var _cret *C.gchar // in @@ -32990,7 +32412,6 @@ func (mount *Mount) SortKey() string { // // - icon: #GIcon. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (mount *Mount) SymbolicIcon() *Icon { var _arg0 *C.GMount // out var _cret *C.GIcon // in @@ -33015,7 +32436,6 @@ func (mount *Mount) SymbolicIcon() *Icon { // // - utf8 (optional): UUID for mount or NULL if no UUID can be computed. // The returned string should be freed with g_free() when no longer needed. -// func (mount *Mount) UUID() string { var _arg0 *C.GMount // out var _cret *C.char // in @@ -33042,7 +32462,6 @@ func (mount *Mount) UUID() string { // - volume (optional) or NULL if mount is not associated with a volume. // The returned object should be unreffed with g_object_unref() when no // longer needed. -// func (mount *Mount) Volume() *Volume { var _arg0 *C.GMount // out var _cret *C.GVolume // in @@ -33079,7 +32498,6 @@ func (mount *Mount) Volume() *Volume { // - forceRescan: whether to force a rescan of the content. Otherwise a cached // result will be used if available. // - callback (optional): ReadyCallback. -// func (mount *Mount) GuessContentType(ctx context.Context, forceRescan bool, callback AsyncReadyCallback) { var _arg0 *C.GMount // out var _arg2 *C.GCancellable // out @@ -33121,7 +32539,6 @@ func (mount *Mount) GuessContentType(ctx context.Context, forceRescan bool, call // // - utf8s: NULL-terminated array of content types or NULL on error. Caller // should free this array with g_strfreev() when done with it. -// func (mount *Mount) GuessContentTypeFinish(result AsyncResulter) ([]string, error) { var _arg0 *C.GMount // out var _arg1 *C.GAsyncResult // out @@ -33180,7 +32597,6 @@ func (mount *Mount) GuessContentTypeFinish(result AsyncResulter) ([]string, erro // // - utf8s: NULL-terminated array of content types or NULL on error. Caller // should free this array with g_strfreev() when done with it. -// func (mount *Mount) GuessContentTypeSync(ctx context.Context, forceRescan bool) ([]string, error) { var _arg0 *C.GMount // out var _arg2 *C.GCancellable // out @@ -33252,7 +32668,6 @@ func (mount *Mount) GuessContentTypeSync(ctx context.Context, forceRescan bool) // The function returns the following values: // // - ok: TRUE if mount is shadowed. -// func (mount *Mount) IsShadowed() bool { var _arg0 *C.GMount // out var _cret C.gboolean // in @@ -33286,7 +32701,6 @@ func (mount *Mount) IsShadowed() bool { // - flags affecting the operation. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (mount *Mount) Remount(ctx context.Context, flags MountMountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GMount // out var _arg3 *C.GCancellable // out @@ -33325,7 +32739,6 @@ func (mount *Mount) Remount(ctx context.Context, flags MountMountFlags, mountOpe // The function takes the following parameters: // // - result: Result. -// func (mount *Mount) RemountFinish(result AsyncResulter) error { var _arg0 *C.GMount // out var _arg1 *C.GAsyncResult // out @@ -33371,7 +32784,6 @@ func (mount *Mount) Shadow() { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the operation. // - callback (optional) or NULL. -// func (mount *Mount) Unmount(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { var _arg0 *C.GMount // out var _arg2 *C.GCancellable // out @@ -33407,7 +32819,6 @@ func (mount *Mount) Unmount(ctx context.Context, flags MountUnmountFlags, callba // The function takes the following parameters: // // - result: Result. -// func (mount *Mount) UnmountFinish(result AsyncResulter) error { var _arg0 *C.GMount // out var _arg1 *C.GAsyncResult // out @@ -33439,7 +32850,6 @@ func (mount *Mount) UnmountFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (mount *Mount) UnmountWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GMount // out var _arg3 *C.GCancellable // out @@ -33478,7 +32888,6 @@ func (mount *Mount) UnmountWithOperation(ctx context.Context, flags MountUnmount // The function takes the following parameters: // // - result: Result. -// func (mount *Mount) UnmountWithOperationFinish(result AsyncResulter) error { var _arg0 *C.GMount // out var _arg1 *C.GAsyncResult // out @@ -33518,7 +32927,6 @@ func (mount *Mount) Unshadow() { // The function returns the following values: // // - ok: TRUE if the mount can be ejected. -// func (mount *Mount) canEject() bool { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.can_eject @@ -33545,7 +32953,6 @@ func (mount *Mount) canEject() bool { // The function returns the following values: // // - ok: TRUE if the mount can be unmounted. -// func (mount *Mount) canUnmount() bool { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.can_unmount @@ -33590,7 +32997,6 @@ func (mount *Mount) changed() { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the unmount if required for eject. // - callback (optional) or NULL. -// func (mount *Mount) eject(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.eject @@ -33629,7 +33035,6 @@ func (mount *Mount) eject(ctx context.Context, flags MountUnmountFlags, callback // The function takes the following parameters: // // - result: Result. -// func (mount *Mount) ejectFinish(result AsyncResulter) error { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.eject_finish @@ -33664,7 +33069,6 @@ func (mount *Mount) ejectFinish(result AsyncResulter) error { // - flags affecting the unmount if required for eject. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (mount *Mount) ejectWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.eject_with_operation @@ -33706,7 +33110,6 @@ func (mount *Mount) ejectWithOperation(ctx context.Context, flags MountUnmountFl // The function takes the following parameters: // // - result: Result. -// func (mount *Mount) ejectWithOperationFinish(result AsyncResulter) error { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.eject_with_operation_finish @@ -33739,7 +33142,6 @@ func (mount *Mount) ejectWithOperationFinish(result AsyncResulter) error { // // - file: #GFile. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (mount *Mount) defaultLocation() *File { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.get_default_location @@ -33769,7 +33171,6 @@ func (mount *Mount) defaultLocation() *File { // - drive (optional) or NULL if mount is not associated with a volume or a // drive. The returned object should be unreffed with g_object_unref() when // no longer needed. -// func (mount *Mount) drive() *Drive { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.get_drive @@ -33797,7 +33198,6 @@ func (mount *Mount) drive() *Drive { // // - icon: #GIcon. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (mount *Mount) icon() *Icon { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.get_icon @@ -33823,7 +33223,6 @@ func (mount *Mount) icon() *Icon { // // - utf8: name for the given mount. The returned string should be freed with // g_free() when no longer needed. -// func (mount *Mount) name() string { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.get_name @@ -33850,7 +33249,6 @@ func (mount *Mount) name() string { // // - file: #GFile. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (mount *Mount) root() *File { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.get_root @@ -33876,7 +33274,6 @@ func (mount *Mount) root() *File { // // - utf8 (optional): sorting key for mount or NULL if no such key is // available. -// func (mount *Mount) sortKey() string { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.get_sort_key @@ -33904,7 +33301,6 @@ func (mount *Mount) sortKey() string { // // - icon: #GIcon. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (mount *Mount) symbolicIcon() *Icon { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.get_symbolic_icon @@ -33932,7 +33328,6 @@ func (mount *Mount) symbolicIcon() *Icon { // // - utf8 (optional): UUID for mount or NULL if no UUID can be computed. // The returned string should be freed with g_free() when no longer needed. -// func (mount *Mount) uuiD() string { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.get_uuid @@ -33962,7 +33357,6 @@ func (mount *Mount) uuiD() string { // - volume (optional) or NULL if mount is not associated with a volume. // The returned object should be unreffed with g_object_unref() when no // longer needed. -// func (mount *Mount) volume() *Volume { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.get_volume @@ -34002,7 +33396,6 @@ func (mount *Mount) volume() *Volume { // - forceRescan: whether to force a rescan of the content. Otherwise a cached // result will be used if available. // - callback (optional): ReadyCallback. -// func (mount *Mount) guessContentType(ctx context.Context, forceRescan bool, callback AsyncReadyCallback) { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.guess_content_type @@ -34047,7 +33440,6 @@ func (mount *Mount) guessContentType(ctx context.Context, forceRescan bool, call // // - utf8s: NULL-terminated array of content types or NULL on error. Caller // should free this array with g_strfreev() when done with it. -// func (mount *Mount) guessContentTypeFinish(result AsyncResulter) ([]string, error) { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.guess_content_type_finish @@ -34109,7 +33501,6 @@ func (mount *Mount) guessContentTypeFinish(result AsyncResulter) ([]string, erro // // - utf8s: NULL-terminated array of content types or NULL on error. Caller // should free this array with g_strfreev() when done with it. -// func (mount *Mount) guessContentTypeSync(ctx context.Context, forceRescan bool) ([]string, error) { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.guess_content_type_sync @@ -34187,7 +33578,6 @@ func (mount *Mount) preUnmount() { // - flags affecting the operation. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (mount *Mount) remount(ctx context.Context, flags MountMountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.remount @@ -34229,7 +33619,6 @@ func (mount *Mount) remount(ctx context.Context, flags MountMountFlags, mountOpe // The function takes the following parameters: // // - result: Result. -// func (mount *Mount) remountFinish(result AsyncResulter) error { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.remount_finish @@ -34265,7 +33654,6 @@ func (mount *Mount) remountFinish(result AsyncResulter) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the operation. // - callback (optional) or NULL. -// func (mount *Mount) unmount(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.unmount @@ -34304,7 +33692,6 @@ func (mount *Mount) unmount(ctx context.Context, flags MountUnmountFlags, callba // The function takes the following parameters: // // - result: Result. -// func (mount *Mount) unmountFinish(result AsyncResulter) error { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.unmount_finish @@ -34339,7 +33726,6 @@ func (mount *Mount) unmountFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (mount *Mount) unmountWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.unmount_with_operation @@ -34381,7 +33767,6 @@ func (mount *Mount) unmountWithOperation(ctx context.Context, flags MountUnmount // The function takes the following parameters: // // - result: Result. -// func (mount *Mount) unmountWithOperationFinish(result AsyncResulter) error { gclass := (*C.GMountIface)(coreglib.PeekParentClass(mount)) fnarg := gclass.unmount_with_operation_finish @@ -34497,7 +33882,6 @@ func (monitor *NetworkMonitor) ConnectNetworkChanged(f func(networkAvailable boo // // - ctx (optional) or NULL. // - connectable: Connectable. -// func (monitor *NetworkMonitor) CanReach(ctx context.Context, connectable SocketConnectabler) error { var _arg0 *C.GNetworkMonitor // out var _arg2 *C.GCancellable // out @@ -34540,7 +33924,6 @@ func (monitor *NetworkMonitor) CanReach(ctx context.Context, connectable SocketC // - ctx (optional) or NULL. // - connectable: Connectable. // - callback (optional) to call when the request is satisfied. -// func (monitor *NetworkMonitor) CanReachAsync(ctx context.Context, connectable SocketConnectabler, callback AsyncReadyCallback) { var _arg0 *C.GNetworkMonitor // out var _arg2 *C.GCancellable // out @@ -34573,7 +33956,6 @@ func (monitor *NetworkMonitor) CanReachAsync(ctx context.Context, connectable So // The function takes the following parameters: // // - result: Result. -// func (monitor *NetworkMonitor) CanReachFinish(result AsyncResulter) error { var _arg0 *C.GNetworkMonitor // out var _arg1 *C.GAsyncResult // out @@ -34618,7 +34000,6 @@ func (monitor *NetworkMonitor) CanReachFinish(result AsyncResulter) error { // The function returns the following values: // // - networkConnectivity: network connectivity state. -// func (monitor *NetworkMonitor) Connectivity() NetworkConnectivity { var _arg0 *C.GNetworkMonitor // out var _cret C.GNetworkConnectivity // in @@ -34643,7 +34024,6 @@ func (monitor *NetworkMonitor) Connectivity() NetworkConnectivity { // The function returns the following values: // // - ok: whether the network is available. -// func (monitor *NetworkMonitor) NetworkAvailable() bool { var _arg0 *C.GNetworkMonitor // out var _cret C.gboolean // in @@ -34668,7 +34048,6 @@ func (monitor *NetworkMonitor) NetworkAvailable() bool { // The function returns the following values: // // - ok: whether the connection is metered. -// func (monitor *NetworkMonitor) NetworkMetered() bool { var _arg0 *C.GNetworkMonitor // out var _cret C.gboolean // in @@ -34707,7 +34086,6 @@ func (monitor *NetworkMonitor) NetworkMetered() bool { // // - ctx (optional) or NULL. // - connectable: Connectable. -// func (monitor *NetworkMonitor) canReach(ctx context.Context, connectable SocketConnectabler) error { gclass := (*C.GNetworkMonitorInterface)(coreglib.PeekParentClass(monitor)) fnarg := gclass.can_reach @@ -34753,7 +34131,6 @@ func (monitor *NetworkMonitor) canReach(ctx context.Context, connectable SocketC // - ctx (optional) or NULL. // - connectable: Connectable. // - callback (optional) to call when the request is satisfied. -// func (monitor *NetworkMonitor) canReachAsync(ctx context.Context, connectable SocketConnectabler, callback AsyncReadyCallback) { gclass := (*C.GNetworkMonitorInterface)(coreglib.PeekParentClass(monitor)) fnarg := gclass.can_reach_async @@ -34789,7 +34166,6 @@ func (monitor *NetworkMonitor) canReachAsync(ctx context.Context, connectable So // The function takes the following parameters: // // - result: Result. -// func (monitor *NetworkMonitor) canReachFinish(result AsyncResulter) error { gclass := (*C.GNetworkMonitorInterface)(coreglib.PeekParentClass(monitor)) fnarg := gclass.can_reach_finish @@ -34837,7 +34213,6 @@ func (monitor *NetworkMonitor) networkChanged(networkAvailable bool) { // // - networkMonitor which will be a dummy object if no network monitor is // available. -// func NetworkMonitorGetDefault() *NetworkMonitor { var _cret *C.GNetworkMonitor // in @@ -34906,7 +34281,6 @@ func marshalPollableInputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if stream is pollable, FALSE if not. -// func (stream *PollableInputStream) CanPoll() bool { var _arg0 *C.GPollableInputStream // out var _cret C.gboolean // in @@ -34941,7 +34315,6 @@ func (stream *PollableInputStream) CanPoll() bool { // The function returns the following values: // // - source: new #GSource. -// func (stream *PollableInputStream) CreateSource(ctx context.Context) *glib.Source { var _arg0 *C.GPollableInputStream // out var _arg1 *C.GCancellable // out @@ -34984,7 +34357,6 @@ func (stream *PollableInputStream) CreateSource(ctx context.Context) *glib.Sourc // - ok: TRUE if stream is readable, FALSE if not. If an error has occurred // on stream, this will result in g_pollable_input_stream_is_readable() // returning TRUE, and the next attempt to read will return the error. -// func (stream *PollableInputStream) IsReadable() bool { var _arg0 *C.GPollableInputStream // out var _cret C.gboolean // in @@ -35023,7 +34395,6 @@ func (stream *PollableInputStream) IsReadable() bool { // // - gssize: number of bytes read, or -1 on error (including // G_IO_ERROR_WOULD_BLOCK). -// func (stream *PollableInputStream) ReadNonblocking(ctx context.Context, buffer []byte) (int, error) { var _arg0 *C.GPollableInputStream // out var _arg3 *C.GCancellable // out @@ -35070,7 +34441,6 @@ func (stream *PollableInputStream) ReadNonblocking(ctx context.Context, buffer [ // The function returns the following values: // // - ok: TRUE if stream is pollable, FALSE if not. -// func (stream *PollableInputStream) canPoll() bool { gclass := (*C.GPollableInputStreamInterface)(coreglib.PeekParentClass(stream)) fnarg := gclass.can_poll @@ -35108,7 +34478,6 @@ func (stream *PollableInputStream) canPoll() bool { // The function returns the following values: // // - source: new #GSource. -// func (stream *PollableInputStream) createSource(ctx context.Context) *glib.Source { gclass := (*C.GPollableInputStreamInterface)(coreglib.PeekParentClass(stream)) fnarg := gclass.create_source @@ -35154,7 +34523,6 @@ func (stream *PollableInputStream) createSource(ctx context.Context) *glib.Sourc // - ok: TRUE if stream is readable, FALSE if not. If an error has occurred // on stream, this will result in g_pollable_input_stream_is_readable() // returning TRUE, and the next attempt to read will return the error. -// func (stream *PollableInputStream) isReadable() bool { gclass := (*C.GPollableInputStreamInterface)(coreglib.PeekParentClass(stream)) fnarg := gclass.is_readable @@ -35196,7 +34564,6 @@ func (stream *PollableInputStream) isReadable() bool { // // - gssize: number of bytes read, or -1 on error (including // G_IO_ERROR_WOULD_BLOCK). -// func (stream *PollableInputStream) readNonblocking(buffer []byte) (int, error) { gclass := (*C.GPollableInputStreamInterface)(coreglib.PeekParentClass(stream)) fnarg := gclass.read_nonblocking @@ -35287,7 +34654,6 @@ func marshalPollableOutputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if stream is pollable, FALSE if not. -// func (stream *PollableOutputStream) CanPoll() bool { var _arg0 *C.GPollableOutputStream // out var _cret C.gboolean // in @@ -35322,7 +34688,6 @@ func (stream *PollableOutputStream) CanPoll() bool { // The function returns the following values: // // - source: new #GSource. -// func (stream *PollableOutputStream) CreateSource(ctx context.Context) *glib.Source { var _arg0 *C.GPollableOutputStream // out var _arg1 *C.GCancellable // out @@ -35365,7 +34730,6 @@ func (stream *PollableOutputStream) CreateSource(ctx context.Context) *glib.Sour // - ok: TRUE if stream is writable, FALSE if not. If an error has occurred // on stream, this will result in g_pollable_output_stream_is_writable() // returning TRUE, and the next attempt to write will return the error. -// func (stream *PollableOutputStream) IsWritable() bool { var _arg0 *C.GPollableOutputStream // out var _cret C.gboolean // in @@ -35408,7 +34772,6 @@ func (stream *PollableOutputStream) IsWritable() bool { // // - gssize: number of bytes written, or -1 on error (including // G_IO_ERROR_WOULD_BLOCK). -// func (stream *PollableOutputStream) WriteNonblocking(ctx context.Context, buffer []byte) (int, error) { var _arg0 *C.GPollableOutputStream // out var _arg3 *C.GCancellable // out @@ -35473,7 +34836,6 @@ func (stream *PollableOutputStream) WriteNonblocking(ctx context.Context, buffer // G_POLLABLE_RETURN_WOULD_BLOCK if the stream is not currently writable // (and error is *not* set), or G_POLLABLE_RETURN_FAILED if there was an // error in which case error will be set. -// func (stream *PollableOutputStream) WritevNonblocking(ctx context.Context, vectors []OutputVector) (uint, PollableReturn, error) { var _arg0 *C.GPollableOutputStream // out var _arg4 *C.GCancellable // out @@ -35528,7 +34890,6 @@ func (stream *PollableOutputStream) WritevNonblocking(ctx context.Context, vecto // The function returns the following values: // // - ok: TRUE if stream is pollable, FALSE if not. -// func (stream *PollableOutputStream) canPoll() bool { gclass := (*C.GPollableOutputStreamInterface)(coreglib.PeekParentClass(stream)) fnarg := gclass.can_poll @@ -35566,7 +34927,6 @@ func (stream *PollableOutputStream) canPoll() bool { // The function returns the following values: // // - source: new #GSource. -// func (stream *PollableOutputStream) createSource(ctx context.Context) *glib.Source { gclass := (*C.GPollableOutputStreamInterface)(coreglib.PeekParentClass(stream)) fnarg := gclass.create_source @@ -35612,7 +34972,6 @@ func (stream *PollableOutputStream) createSource(ctx context.Context) *glib.Sour // - ok: TRUE if stream is writable, FALSE if not. If an error has occurred // on stream, this will result in g_pollable_output_stream_is_writable() // returning TRUE, and the next attempt to write will return the error. -// func (stream *PollableOutputStream) isWritable() bool { gclass := (*C.GPollableOutputStreamInterface)(coreglib.PeekParentClass(stream)) fnarg := gclass.is_writable @@ -35657,7 +35016,6 @@ func (stream *PollableOutputStream) isWritable() bool { // // - gssize: number of bytes written, or -1 on error (including // G_IO_ERROR_WOULD_BLOCK). -// func (stream *PollableOutputStream) writeNonblocking(buffer []byte) (int, error) { gclass := (*C.GPollableOutputStreamInterface)(coreglib.PeekParentClass(stream)) fnarg := gclass.write_nonblocking @@ -35717,7 +35075,6 @@ func (stream *PollableOutputStream) writeNonblocking(buffer []byte) (int, error) // G_POLLABLE_RETURN_WOULD_BLOCK if the stream is not currently writable // (and error is *not* set), or G_POLLABLE_RETURN_FAILED if there was an // error in which case error will be set. -// func (stream *PollableOutputStream) writevNonblocking(vectors []OutputVector) (uint, PollableReturn, error) { gclass := (*C.GPollableOutputStreamInterface)(coreglib.PeekParentClass(stream)) fnarg := gclass.writev_nonblocking @@ -35819,7 +35176,6 @@ func marshalProxy(p uintptr) (interface{}, error) { // // - ioStream that will replace connection. This might be the same as // connection, in which case a reference will be added. -// func (proxy *Proxy) ConnectProxy(ctx context.Context, connection IOStreamer, proxyAddress *ProxyAddress) (IOStreamer, error) { var _arg0 *C.GProxy // out var _arg3 *C.GCancellable // out @@ -35878,7 +35234,6 @@ func (proxy *Proxy) ConnectProxy(ctx context.Context, connection IOStreamer, pro // - connection: OStream. // - proxyAddress: Address. // - callback (optional): ReadyCallback. -// func (proxy *Proxy) ConnectAsync(ctx context.Context, connection IOStreamer, proxyAddress *ProxyAddress, callback AsyncReadyCallback) { var _arg0 *C.GProxy // out var _arg3 *C.GCancellable // out @@ -35917,7 +35272,6 @@ func (proxy *Proxy) ConnectAsync(ctx context.Context, connection IOStreamer, pro // The function returns the following values: // // - ioStream: OStream. -// func (proxy *Proxy) ConnectFinish(result AsyncResulter) (IOStreamer, error) { var _arg0 *C.GProxy // out var _arg1 *C.GAsyncResult // out @@ -35968,7 +35322,6 @@ func (proxy *Proxy) ConnectFinish(result AsyncResulter) (IOStreamer, error) { // The function returns the following values: // // - ok: TRUE if hostname resolution is supported. -// func (proxy *Proxy) SupportsHostname() bool { var _arg0 *C.GProxy // out var _cret C.gboolean // in @@ -36002,7 +35355,6 @@ func (proxy *Proxy) SupportsHostname() bool { // // - ioStream that will replace connection. This might be the same as // connection, in which case a reference will be added. -// func (proxy *Proxy) connectProxy(ctx context.Context, connection IOStreamer, proxyAddress *ProxyAddress) (IOStreamer, error) { gclass := (*C.GProxyInterface)(coreglib.PeekParentClass(proxy)) fnarg := gclass.connect @@ -36064,7 +35416,6 @@ func (proxy *Proxy) connectProxy(ctx context.Context, connection IOStreamer, pro // - connection: OStream. // - proxyAddress: Address. // - callback (optional): ReadyCallback. -// func (proxy *Proxy) connectAsync(ctx context.Context, connection IOStreamer, proxyAddress *ProxyAddress, callback AsyncReadyCallback) { gclass := (*C.GProxyInterface)(coreglib.PeekParentClass(proxy)) fnarg := gclass.connect_async @@ -36106,7 +35457,6 @@ func (proxy *Proxy) connectAsync(ctx context.Context, connection IOStreamer, pro // The function returns the following values: // // - ioStream: OStream. -// func (proxy *Proxy) connectFinish(result AsyncResulter) (IOStreamer, error) { gclass := (*C.GProxyInterface)(coreglib.PeekParentClass(proxy)) fnarg := gclass.connect_finish @@ -36160,7 +35510,6 @@ func (proxy *Proxy) connectFinish(result AsyncResulter) (IOStreamer, error) { // The function returns the following values: // // - ok: TRUE if hostname resolution is supported. -// func (proxy *Proxy) supportsHostname() bool { gclass := (*C.GProxyInterface)(coreglib.PeekParentClass(proxy)) fnarg := gclass.supports_hostname @@ -36192,7 +35541,6 @@ func (proxy *Proxy) supportsHostname() bool { // The function returns the following values: // // - proxy (optional): return a #GProxy or NULL if protocol is not supported. -// func ProxyGetDefaultForProtocol(protocol string) *Proxy { var _arg1 *C.gchar // out var _cret *C.GProxy // in @@ -36266,7 +35614,6 @@ func marshalProxyResolver(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if resolver is supported. -// func (resolver *ProxyResolver) IsSupported() bool { var _arg0 *C.GProxyResolver // out var _cret C.gboolean // in @@ -36307,7 +35654,6 @@ func (resolver *ProxyResolver) IsSupported() bool { // // - utf8s: a NULL-terminated array of proxy URIs. Must be freed with // g_strfreev(). -// func (resolver *ProxyResolver) Lookup(ctx context.Context, uri string) ([]string, error) { var _arg0 *C.GProxyResolver // out var _arg2 *C.GCancellable // out @@ -36362,7 +35708,6 @@ func (resolver *ProxyResolver) Lookup(ctx context.Context, uri string) ([]string // - ctx (optional) or NULL. // - uri: URI representing the destination to connect to. // - callback (optional) to call after resolution completes. -// func (resolver *ProxyResolver) LookupAsync(ctx context.Context, uri string, callback AsyncReadyCallback) { var _arg0 *C.GProxyResolver // out var _arg2 *C.GCancellable // out @@ -36402,7 +35747,6 @@ func (resolver *ProxyResolver) LookupAsync(ctx context.Context, uri string, call // // - utf8s: a NULL-terminated array of proxy URIs. Must be freed with // g_strfreev(). -// func (resolver *ProxyResolver) LookupFinish(result AsyncResulter) ([]string, error) { var _arg0 *C.GProxyResolver // out var _arg1 *C.GAsyncResult // out @@ -36448,7 +35792,6 @@ func (resolver *ProxyResolver) LookupFinish(result AsyncResulter) ([]string, err // The function returns the following values: // // - ok: TRUE if resolver is supported. -// func (resolver *ProxyResolver) isSupported() bool { gclass := (*C.GProxyResolverInterface)(coreglib.PeekParentClass(resolver)) fnarg := gclass.is_supported @@ -36492,7 +35835,6 @@ func (resolver *ProxyResolver) isSupported() bool { // // - utf8s: a NULL-terminated array of proxy URIs. Must be freed with // g_strfreev(). -// func (resolver *ProxyResolver) lookup(ctx context.Context, uri string) ([]string, error) { gclass := (*C.GProxyResolverInterface)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup @@ -36550,7 +35892,6 @@ func (resolver *ProxyResolver) lookup(ctx context.Context, uri string) ([]string // - ctx (optional) or NULL. // - uri: URI representing the destination to connect to. // - callback (optional) to call after resolution completes. -// func (resolver *ProxyResolver) lookupAsync(ctx context.Context, uri string, callback AsyncReadyCallback) { gclass := (*C.GProxyResolverInterface)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_async @@ -36593,7 +35934,6 @@ func (resolver *ProxyResolver) lookupAsync(ctx context.Context, uri string, call // // - utf8s: a NULL-terminated array of proxy URIs. Must be freed with // g_strfreev(). -// func (resolver *ProxyResolver) lookupFinish(result AsyncResulter) ([]string, error) { gclass := (*C.GProxyResolverInterface)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_finish @@ -36641,7 +35981,6 @@ func (resolver *ProxyResolver) lookupFinish(result AsyncResulter) ([]string, err // // - proxyResolver: default Resolver, which will be a dummy object if no proxy // resolver is available. -// func ProxyResolverGetDefault() *ProxyResolver { var _cret *C.GProxyResolver // in @@ -36720,7 +36059,6 @@ func marshalRemoteActionGroup(p uintptr) (interface{}, error) { // - actionName: name of the action to activate. // - parameter (optional): optional parameter to the activation. // - platformData: platform data to send. -// func (remote *RemoteActionGroup) ActivateActionFull(actionName string, parameter, platformData *glib.Variant) { var _arg0 *C.GRemoteActionGroup // out var _arg1 *C.gchar // out @@ -36757,7 +36095,6 @@ func (remote *RemoteActionGroup) ActivateActionFull(actionName string, parameter // - actionName: name of the action to change the state of. // - value: new requested value for the state. // - platformData: platform data to send. -// func (remote *RemoteActionGroup) ChangeActionStateFull(actionName string, value, platformData *glib.Variant) { var _arg0 *C.GRemoteActionGroup // out var _arg1 *C.gchar // out @@ -36792,7 +36129,6 @@ func (remote *RemoteActionGroup) ChangeActionStateFull(actionName string, value, // - actionName: name of the action to activate. // - parameter (optional): optional parameter to the activation. // - platformData: platform data to send. -// func (remote *RemoteActionGroup) activateActionFull(actionName string, parameter, platformData *glib.Variant) { gclass := (*C.GRemoteActionGroupInterface)(coreglib.PeekParentClass(remote)) fnarg := gclass.activate_action_full @@ -36832,7 +36168,6 @@ func (remote *RemoteActionGroup) activateActionFull(actionName string, parameter // - actionName: name of the action to change the state of. // - value: new requested value for the state. // - platformData: platform data to send. -// func (remote *RemoteActionGroup) changeActionStateFull(actionName string, value, platformData *glib.Variant) { gclass := (*C.GRemoteActionGroupInterface)(coreglib.PeekParentClass(remote)) fnarg := gclass.change_action_state_full @@ -36913,7 +36248,6 @@ func marshalSeekable(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if seekable can be seeked. FALSE otherwise. -// func (seekable *Seekable) CanSeek() bool { var _arg0 *C.GSeekable // out var _cret C.gboolean // in @@ -36938,7 +36272,6 @@ func (seekable *Seekable) CanSeek() bool { // The function returns the following values: // // - ok: TRUE if the stream can be truncated, FALSE otherwise. -// func (seekable *Seekable) CanTruncate() bool { var _arg0 *C.GSeekable // out var _cret C.gboolean // in @@ -36977,7 +36310,6 @@ func (seekable *Seekable) CanTruncate() bool { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - offset: #goffset. // - typ: Type. -// func (seekable *Seekable) Seek(ctx context.Context, offset int64, typ glib.SeekType) error { var _arg0 *C.GSeekable // out var _arg3 *C.GCancellable // out @@ -37014,7 +36346,6 @@ func (seekable *Seekable) Seek(ctx context.Context, offset int64, typ glib.SeekT // The function returns the following values: // // - gint64: offset from the beginning of the buffer. -// func (seekable *Seekable) Tell() int64 { var _arg0 *C.GSeekable // out var _cret C.goffset // in @@ -37045,7 +36376,6 @@ func (seekable *Seekable) Tell() int64 { // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - offset: new length for seekable, in bytes. -// func (seekable *Seekable) Truncate(ctx context.Context, offset int64) error { var _arg0 *C.GSeekable // out var _arg2 *C.GCancellable // out @@ -37079,7 +36409,6 @@ func (seekable *Seekable) Truncate(ctx context.Context, offset int64) error { // The function returns the following values: // // - ok: TRUE if seekable can be seeked. FALSE otherwise. -// func (seekable *Seekable) canSeek() bool { gclass := (*C.GSeekableIface)(coreglib.PeekParentClass(seekable)) fnarg := gclass.can_seek @@ -37107,7 +36436,6 @@ func (seekable *Seekable) canSeek() bool { // The function returns the following values: // // - ok: TRUE if the stream can be truncated, FALSE otherwise. -// func (seekable *Seekable) canTruncate() bool { gclass := (*C.GSeekableIface)(coreglib.PeekParentClass(seekable)) fnarg := gclass.can_truncate @@ -37149,7 +36477,6 @@ func (seekable *Seekable) canTruncate() bool { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - offset: #goffset. // - typ: Type. -// func (seekable *Seekable) seek(ctx context.Context, offset int64, typ glib.SeekType) error { gclass := (*C.GSeekableIface)(coreglib.PeekParentClass(seekable)) fnarg := gclass.seek @@ -37189,7 +36516,6 @@ func (seekable *Seekable) seek(ctx context.Context, offset int64, typ glib.SeekT // The function returns the following values: // // - gint64: offset from the beginning of the buffer. -// func (seekable *Seekable) tell() int64 { gclass := (*C.GSeekableIface)(coreglib.PeekParentClass(seekable)) fnarg := gclass.tell @@ -37223,7 +36549,6 @@ func (seekable *Seekable) tell() int64 { // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - offset: new length for seekable, in bytes. -// func (seekable *Seekable) truncateFn(ctx context.Context, offset int64) error { gclass := (*C.GSeekableIface)(coreglib.PeekParentClass(seekable)) fnarg := gclass.truncate_fn @@ -37260,55 +36585,55 @@ func (seekable *Seekable) truncateFn(ctx context.Context, offset int64) error { // g_socket_connectable_enumerate() to get a AddressEnumerator to try out each // socket address in turn until one succeeds, as shown in the sample code below. // -// MyConnectionType * -// connect_to_host (const char *hostname, -// guint16 port, -// GCancellable *cancellable, -// GError **error) -// { -// MyConnection *conn = NULL; -// GSocketConnectable *addr; -// GSocketAddressEnumerator *enumerator; -// GSocketAddress *sockaddr; -// GError *conn_error = NULL; -// -// addr = g_network_address_new (hostname, port); -// enumerator = g_socket_connectable_enumerate (addr); -// g_object_unref (addr); -// -// // Try each sockaddr until we succeed. Record the first connection error, -// // but not any further ones (since they'll probably be basically the same -// // as the first). -// while (!conn && (sockaddr = g_socket_address_enumerator_next (enumerator, cancellable, error)) -// { -// conn = connect_to_sockaddr (sockaddr, conn_error ? NULL : &conn_error); -// g_object_unref (sockaddr); -// } -// g_object_unref (enumerator); -// -// if (conn) -// { -// if (conn_error) -// { -// // We couldn't connect to the first address, but we succeeded -// // in connecting to a later address. -// g_error_free (conn_error); -// } -// return conn; -// } -// else if (error) -// { -// /// Either initial lookup failed, or else the caller cancelled us. -// if (conn_error) -// g_error_free (conn_error); -// return NULL; -// } -// else -// { -// g_error_propagate (error, conn_error); -// return NULL; -// } -// }. +// MyConnectionType * +// connect_to_host (const char *hostname, +// guint16 port, +// GCancellable *cancellable, +// GError **error) +// { +// MyConnection *conn = NULL; +// GSocketConnectable *addr; +// GSocketAddressEnumerator *enumerator; +// GSocketAddress *sockaddr; +// GError *conn_error = NULL; +// +// addr = g_network_address_new (hostname, port); +// enumerator = g_socket_connectable_enumerate (addr); +// g_object_unref (addr); +// +// // Try each sockaddr until we succeed. Record the first connection error, +// // but not any further ones (since they'll probably be basically the same +// // as the first). +// while (!conn && (sockaddr = g_socket_address_enumerator_next (enumerator, cancellable, error)) +// { +// conn = connect_to_sockaddr (sockaddr, conn_error ? NULL : &conn_error); +// g_object_unref (sockaddr); +// } +// g_object_unref (enumerator); +// +// if (conn) +// { +// if (conn_error) +// { +// // We couldn't connect to the first address, but we succeeded +// // in connecting to a later address. +// g_error_free (conn_error); +// } +// return conn; +// } +// else if (error) +// { +// /// Either initial lookup failed, or else the caller cancelled us. +// if (conn_error) +// g_error_free (conn_error); +// return NULL; +// } +// else +// { +// g_error_propagate (error, conn_error); +// return NULL; +// } +// }. // // SocketConnectable wraps an interface. This means the user can get the // underlying type by calling Cast(). @@ -37352,7 +36677,6 @@ func marshalSocketConnectable(p uintptr) (interface{}, error) { // The function returns the following values: // // - socketAddressEnumerator: new AddressEnumerator. -// func (connectable *SocketConnectable) Enumerate() SocketAddressEnumeratorrer { var _arg0 *C.GSocketConnectable // out var _cret *C.GSocketAddressEnumerator // in @@ -37394,7 +36718,6 @@ func (connectable *SocketConnectable) Enumerate() SocketAddressEnumeratorrer { // The function returns the following values: // // - socketAddressEnumerator: new AddressEnumerator. -// func (connectable *SocketConnectable) ProxyEnumerate() SocketAddressEnumeratorrer { var _arg0 *C.GSocketConnectable // out var _cret *C.GSocketAddressEnumerator // in @@ -37438,7 +36761,6 @@ func (connectable *SocketConnectable) ProxyEnumerate() SocketAddressEnumeratorre // The function returns the following values: // // - utf8: formatted string. -// func (connectable *SocketConnectable) String() string { var _arg0 *C.GSocketConnectable // out var _cret *C.gchar // in @@ -37461,7 +36783,6 @@ func (connectable *SocketConnectable) String() string { // The function returns the following values: // // - socketAddressEnumerator: new AddressEnumerator. -// func (connectable *SocketConnectable) enumerate() SocketAddressEnumeratorrer { gclass := (*C.GSocketConnectableIface)(coreglib.PeekParentClass(connectable)) fnarg := gclass.enumerate @@ -37506,7 +36827,6 @@ func (connectable *SocketConnectable) enumerate() SocketAddressEnumeratorrer { // The function returns the following values: // // - socketAddressEnumerator: new AddressEnumerator. -// func (connectable *SocketConnectable) proxyEnumerate() SocketAddressEnumeratorrer { gclass := (*C.GSocketConnectableIface)(coreglib.PeekParentClass(connectable)) fnarg := gclass.proxy_enumerate @@ -37553,7 +36873,6 @@ func (connectable *SocketConnectable) proxyEnumerate() SocketAddressEnumeratorre // The function returns the following values: // // - utf8: formatted string. -// func (connectable *SocketConnectable) str() string { gclass := (*C.GSocketConnectableIface)(coreglib.PeekParentClass(connectable)) fnarg := gclass.to_string @@ -37637,7 +36956,6 @@ func marshalTLSBackend(p uintptr) (interface{}, error) { // The function returns the following values: // // - gType of backend's Certificate implementation. -// func (backend *TLSBackend) CertificateType() coreglib.Type { var _arg0 *C.GTlsBackend // out var _cret C.GType // in @@ -37660,7 +36978,6 @@ func (backend *TLSBackend) CertificateType() coreglib.Type { // The function returns the following values: // // - gType of backend's ClientConnection implementation. -// func (backend *TLSBackend) ClientConnectionType() coreglib.Type { var _arg0 *C.GTlsBackend // out var _cret C.GType // in @@ -37682,7 +36999,6 @@ func (backend *TLSBackend) ClientConnectionType() coreglib.Type { // The function returns the following values: // // - tlsDatabase: default database, which should be unreffed when done. -// func (backend *TLSBackend) DefaultDatabase() TLSDatabaser { var _arg0 *C.GTlsBackend // out var _cret *C.GTlsDatabase // in @@ -37722,7 +37038,6 @@ func (backend *TLSBackend) DefaultDatabase() TLSDatabaser { // // - gType of backend’s ClientConnection implementation, or G_TYPE_INVALID if // this backend doesn’t support DTLS. -// func (backend *TLSBackend) DTLSClientConnectionType() coreglib.Type { var _arg0 *C.GTlsBackend // out var _cret C.GType // in @@ -37746,7 +37061,6 @@ func (backend *TLSBackend) DTLSClientConnectionType() coreglib.Type { // // - gType of backend’s ServerConnection implementation, or G_TYPE_INVALID if // this backend doesn’t support DTLS. -// func (backend *TLSBackend) DTLSServerConnectionType() coreglib.Type { var _arg0 *C.GTlsBackend // out var _cret C.GType // in @@ -37768,7 +37082,6 @@ func (backend *TLSBackend) DTLSServerConnectionType() coreglib.Type { // The function returns the following values: // // - gType of backend's FileDatabase implementation. -// func (backend *TLSBackend) FileDatabaseType() coreglib.Type { var _arg0 *C.GTlsBackend // out var _cret C.GType // in @@ -37791,7 +37104,6 @@ func (backend *TLSBackend) FileDatabaseType() coreglib.Type { // The function returns the following values: // // - gType of backend's ServerConnection implementation. -// func (backend *TLSBackend) ServerConnectionType() coreglib.Type { var _arg0 *C.GTlsBackend // out var _cret C.GType // in @@ -37820,7 +37132,6 @@ func (backend *TLSBackend) ServerConnectionType() coreglib.Type { // The function takes the following parameters: // // - database (optional): Database. -// func (backend *TLSBackend) SetDefaultDatabase(database TLSDatabaser) { var _arg0 *C.GTlsBackend // out var _arg1 *C.GTlsDatabase // out @@ -37841,7 +37152,6 @@ func (backend *TLSBackend) SetDefaultDatabase(database TLSDatabaser) { // The function returns the following values: // // - ok: whether DTLS is supported. -// func (backend *TLSBackend) SupportsDTLS() bool { var _arg0 *C.GTlsBackend // out var _cret C.gboolean // in @@ -37866,7 +37176,6 @@ func (backend *TLSBackend) SupportsDTLS() bool { // The function returns the following values: // // - ok: whether or not TLS is supported. -// func (backend *TLSBackend) SupportsTLS() bool { var _arg0 *C.GTlsBackend // out var _cret C.gboolean // in @@ -37890,7 +37199,6 @@ func (backend *TLSBackend) SupportsTLS() bool { // The function returns the following values: // // - tlsDatabase: default database, which should be unreffed when done. -// func (backend *TLSBackend) defaultDatabase() TLSDatabaser { gclass := (*C.GTlsBackendInterface)(coreglib.PeekParentClass(backend)) fnarg := gclass.get_default_database @@ -37932,7 +37240,6 @@ func (backend *TLSBackend) defaultDatabase() TLSDatabaser { // The function returns the following values: // // - ok: whether DTLS is supported. -// func (backend *TLSBackend) supportsDTLS() bool { gclass := (*C.GTlsBackendInterface)(coreglib.PeekParentClass(backend)) fnarg := gclass.supports_dtls @@ -37960,7 +37267,6 @@ func (backend *TLSBackend) supportsDTLS() bool { // The function returns the following values: // // - ok: whether or not TLS is supported. -// func (backend *TLSBackend) supportsTLS() bool { gclass := (*C.GTlsBackendInterface)(coreglib.PeekParentClass(backend)) fnarg := gclass.supports_tls @@ -37987,7 +37293,6 @@ func (backend *TLSBackend) supportsTLS() bool { // The function returns the following values: // // - tlsBackend which will be a dummy object if no TLS backend is available. -// func TLSBackendGetDefault() *TLSBackend { var _cret *C.GTlsBackend // in @@ -38085,7 +37390,6 @@ func marshalTLSClientConnection(p uintptr) (interface{}, error) { // The function takes the following parameters: // // - source: ClientConnection. -// func (conn *TLSClientConnection) CopySessionState(source TLSClientConnectioner) { var _arg0 *C.GTlsClientConnection // out var _arg1 *C.GTlsClientConnection // out @@ -38104,7 +37408,6 @@ func (conn *TLSClientConnection) CopySessionState(source TLSClientConnectioner) // // - socketConnectable (optional) describing the expected server identity, // or NULL if the expected identity is not known. -// func (conn *TLSClientConnection) ServerIdentity() *SocketConnectable { var _arg0 *C.GTlsClientConnection // out var _cret *C.GSocketConnectable // in @@ -38131,7 +37434,6 @@ func (conn *TLSClientConnection) ServerIdentity() *SocketConnectable { // The function returns the following values: // // - ok: FALSE. -// func (conn *TLSClientConnection) UseSSL3() bool { var _arg0 *C.GTlsClientConnection // out var _cret C.gboolean // in @@ -38155,7 +37457,6 @@ func (conn *TLSClientConnection) UseSSL3() bool { // The function returns the following values: // // - tlsCertificateFlags: validation flags. -// func (conn *TLSClientConnection) ValidationFlags() TLSCertificateFlags { var _arg0 *C.GTlsClientConnection // out var _cret C.GTlsCertificateFlags // in @@ -38180,7 +37481,6 @@ func (conn *TLSClientConnection) ValidationFlags() TLSCertificateFlags { // The function takes the following parameters: // // - identity describing the expected server identity. -// func (conn *TLSClientConnection) SetServerIdentity(identity SocketConnectabler) { var _arg0 *C.GTlsClientConnection // out var _arg1 *C.GSocketConnectable // out @@ -38208,7 +37508,6 @@ func (conn *TLSClientConnection) SetServerIdentity(identity SocketConnectabler) // The function takes the following parameters: // // - useSsl3: #gboolean, ignored. -// func (conn *TLSClientConnection) SetUseSSL3(useSsl3 bool) { var _arg0 *C.GTlsClientConnection // out var _arg1 C.gboolean // out @@ -38230,7 +37529,6 @@ func (conn *TLSClientConnection) SetUseSSL3(useSsl3 bool) { // The function takes the following parameters: // // - flags to use. -// func (conn *TLSClientConnection) SetValidationFlags(flags TLSCertificateFlags) { var _arg0 *C.GTlsClientConnection // out var _arg1 C.GTlsCertificateFlags // out @@ -38273,7 +37571,6 @@ func (conn *TLSClientConnection) SetValidationFlags(flags TLSCertificateFlags) { // The function takes the following parameters: // // - source: ClientConnection. -// func (conn *TLSClientConnection) copySessionState(source TLSClientConnectioner) { gclass := (*C.GTlsClientConnectionInterface)(coreglib.PeekParentClass(conn)) fnarg := gclass.copy_session_state @@ -38305,7 +37602,6 @@ func (conn *TLSClientConnection) copySessionState(source TLSClientConnectioner) // The function returns the following values: // // - tlsClientConnection: new ClientConnection, or NULL on error. -// func NewTLSClientConnection(baseIoStream IOStreamer, serverIdentity SocketConnectabler) (*TLSClientConnection, error) { var _arg1 *C.GIOStream // out var _arg2 *C.GSocketConnectable // out @@ -38396,7 +37692,6 @@ func BaseTLSFileDatabase(obj TLSFileDatabaser) *TLSFileDatabase { // The function returns the following values: // // - tlsFileDatabase: new FileDatabase, or NULL on error. -// func NewTLSFileDatabase(anchors string) (*TLSFileDatabase, error) { var _arg1 *C.gchar // out var _cret *C.GTlsDatabase // in @@ -38487,7 +37782,6 @@ func BaseTLSServerConnection(obj TLSServerConnectioner) *TLSServerConnection { // The function returns the following values: // // - tlsServerConnection: new ServerConnection, or NULL on error. -// func NewTLSServerConnection(baseIoStream IOStreamer, certificate TLSCertificater) (*TLSServerConnection, error) { var _arg1 *C.GIOStream // out var _arg2 *C.GTlsCertificate // out @@ -38544,7 +37838,7 @@ func NewTLSServerConnection(baseIoStream IOStreamer, certificate TLSCertificater // VOLUME_IDENTIFIER_KIND_UUID, VOLUME_IDENTIFIER_KIND_LABEL, etc. Use // g_volume_get_identifier() to obtain an identifier for a volume. // -// Note that VOLUME_IDENTIFIER_KIND_HAL_UDI will only be available when the gvfs hal volume monitor is in use. Other volume monitors will generally be able to provide the VOLUME_IDENTIFIER_KIND_UNIX_DEVICE identifier, which can be used to obtain a hal device by means of libhal_manager_find_device_string_match(). +// Note that VOLUME_IDENTIFIER_KIND_HAL_UDI will only be available when the gvfs hal volume monitor is in use. Other volume monitors will generally be able to provide the VOLUME_IDENTIFIER_KIND_UNIX_DEVICE identifier, which can be used to obtain a hal device by means of libhal_manager_find_device_string_match(). // // Volume wraps an interface. This means the user can get the // underlying type by calling Cast(). @@ -38638,7 +37932,6 @@ func (volume *Volume) ConnectRemoved(f func()) coreglib.SignalHandle { // The function returns the following values: // // - ok: TRUE if the volume can be ejected. FALSE otherwise. -// func (volume *Volume) CanEject() bool { var _arg0 *C.GVolume // out var _cret C.gboolean // in @@ -38662,7 +37955,6 @@ func (volume *Volume) CanEject() bool { // The function returns the following values: // // - ok: TRUE if the volume can be mounted. FALSE otherwise. -// func (volume *Volume) CanMount() bool { var _arg0 *C.GVolume // out var _cret C.gboolean // in @@ -38692,7 +37984,6 @@ func (volume *Volume) CanMount() bool { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the unmount if required for eject. // - callback (optional) or NULL. -// func (volume *Volume) Eject(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { var _arg0 *C.GVolume // out var _arg2 *C.GCancellable // out @@ -38728,7 +38019,6 @@ func (volume *Volume) Eject(ctx context.Context, flags MountUnmountFlags, callba // The function takes the following parameters: // // - result: Result. -// func (volume *Volume) EjectFinish(result AsyncResulter) error { var _arg0 *C.GVolume // out var _arg1 *C.GAsyncResult // out @@ -38760,7 +38050,6 @@ func (volume *Volume) EjectFinish(result AsyncResulter) error { // - flags affecting the unmount if required for eject. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (volume *Volume) EjectWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GVolume // out var _arg3 *C.GCancellable // out @@ -38799,7 +38088,6 @@ func (volume *Volume) EjectWithOperation(ctx context.Context, flags MountUnmount // The function takes the following parameters: // // - result: Result. -// func (volume *Volume) EjectWithOperationFinish(result AsyncResulter) error { var _arg0 *C.GVolume // out var _arg1 *C.GAsyncResult // out @@ -38829,7 +38117,6 @@ func (volume *Volume) EjectWithOperationFinish(result AsyncResulter) error { // // - utf8s: NULL-terminated array of strings containing kinds of identifiers. // Use g_strfreev() to free. -// func (volume *Volume) EnumerateIdentifiers() []string { var _arg0 *C.GVolume // out var _cret **C.char // in @@ -38866,8 +38153,8 @@ func (volume *Volume) EnumerateIdentifiers() []string { // g_volume_get_mount() will always either be equal or a prefix of what this // function returns. In other words, in code // -// (g_file_has_prefix (volume_activation_root, mount_root) || -// g_file_equal (volume_activation_root, mount_root)) +// (g_file_has_prefix (volume_activation_root, mount_root) || +// g_file_equal (volume_activation_root, mount_root)) // // will always be TRUE. // @@ -38878,7 +38165,6 @@ func (volume *Volume) EnumerateIdentifiers() []string { // // - file (optional): activation root of volume or NULL. Use g_object_unref() // to free. -// func (volume *Volume) ActivationRoot() *File { var _arg0 *C.GVolume // out var _cret *C.GFile // in @@ -38904,7 +38190,6 @@ func (volume *Volume) ActivationRoot() *File { // - drive (optional) or NULL if volume is not associated with a drive. // The returned object should be unreffed with g_object_unref() when no // longer needed. -// func (volume *Volume) Drive() *Drive { var _arg0 *C.GVolume // out var _cret *C.GDrive // in @@ -38929,7 +38214,6 @@ func (volume *Volume) Drive() *Drive { // // - icon: #GIcon. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (volume *Volume) Icon() *Icon { var _arg0 *C.GVolume // out var _cret *C.GIcon // in @@ -38958,7 +38242,6 @@ func (volume *Volume) Icon() *Icon { // // - utf8 (optional): newly allocated string containing the requested // identifier, or NULL if the #GVolume doesn't have this kind of identifier. -// func (volume *Volume) Identifier(kind string) string { var _arg0 *C.GVolume // out var _arg1 *C.char // out @@ -38988,7 +38271,6 @@ func (volume *Volume) Identifier(kind string) string { // // - mount (optional) or NULL if volume isn't mounted. The returned object // should be unreffed with g_object_unref() when no longer needed. -// func (volume *Volume) GetMount() *Mount { var _arg0 *C.GVolume // out var _cret *C.GMount // in @@ -39013,7 +38295,6 @@ func (volume *Volume) GetMount() *Mount { // // - utf8: name for the given volume. The returned string should be freed with // g_free() when no longer needed. -// func (volume *Volume) Name() string { var _arg0 *C.GVolume // out var _cret *C.char // in @@ -39037,7 +38318,6 @@ func (volume *Volume) Name() string { // // - utf8 (optional): sorting key for volume or NULL if no such key is // available. -// func (volume *Volume) SortKey() string { var _arg0 *C.GVolume // out var _cret *C.gchar // in @@ -39062,7 +38342,6 @@ func (volume *Volume) SortKey() string { // // - icon: #GIcon. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (volume *Volume) SymbolicIcon() *Icon { var _arg0 *C.GVolume // out var _cret *C.GIcon // in @@ -39087,7 +38366,6 @@ func (volume *Volume) SymbolicIcon() *Icon { // // - utf8 (optional): UUID for volume or NULL if no UUID can be computed. // The returned string should be freed with g_free() when no longer needed. -// func (volume *Volume) UUID() string { var _arg0 *C.GVolume // out var _cret *C.char // in @@ -39117,7 +38395,6 @@ func (volume *Volume) UUID() string { // - flags affecting the operation. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (volume *Volume) Mount(ctx context.Context, flags MountMountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { var _arg0 *C.GVolume // out var _arg3 *C.GCancellable // out @@ -39160,7 +38437,6 @@ func (volume *Volume) Mount(ctx context.Context, flags MountMountFlags, mountOpe // The function takes the following parameters: // // - result: Result. -// func (volume *Volume) MountFinish(result AsyncResulter) error { var _arg0 *C.GVolume // out var _arg1 *C.GAsyncResult // out @@ -39187,7 +38463,6 @@ func (volume *Volume) MountFinish(result AsyncResulter) error { // The function returns the following values: // // - ok: TRUE if the volume should be automatically mounted. -// func (volume *Volume) ShouldAutomount() bool { var _arg0 *C.GVolume // out var _cret C.gboolean // in @@ -39211,7 +38486,6 @@ func (volume *Volume) ShouldAutomount() bool { // The function returns the following values: // // - ok: TRUE if the volume can be ejected. FALSE otherwise. -// func (volume *Volume) canEject() bool { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.can_eject @@ -39238,7 +38512,6 @@ func (volume *Volume) canEject() bool { // The function returns the following values: // // - ok: TRUE if the volume can be mounted. FALSE otherwise. -// func (volume *Volume) canMount() bool { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.can_mount @@ -39283,7 +38556,6 @@ func (volume *Volume) changed() { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - flags affecting the unmount if required for eject. // - callback (optional) or NULL. -// func (volume *Volume) eject(ctx context.Context, flags MountUnmountFlags, callback AsyncReadyCallback) { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.eject @@ -39322,7 +38594,6 @@ func (volume *Volume) eject(ctx context.Context, flags MountUnmountFlags, callba // The function takes the following parameters: // // - result: Result. -// func (volume *Volume) ejectFinish(result AsyncResulter) error { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.eject_finish @@ -39357,7 +38628,6 @@ func (volume *Volume) ejectFinish(result AsyncResulter) error { // - flags affecting the unmount if required for eject. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (volume *Volume) ejectWithOperation(ctx context.Context, flags MountUnmountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.eject_with_operation @@ -39399,7 +38669,6 @@ func (volume *Volume) ejectWithOperation(ctx context.Context, flags MountUnmount // The function takes the following parameters: // // - result: Result. -// func (volume *Volume) ejectWithOperationFinish(result AsyncResulter) error { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.eject_with_operation_finish @@ -39432,7 +38701,6 @@ func (volume *Volume) ejectWithOperationFinish(result AsyncResulter) error { // // - utf8s: NULL-terminated array of strings containing kinds of identifiers. // Use g_strfreev() to free. -// func (volume *Volume) enumerateIdentifiers() []string { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.enumerate_identifiers @@ -39472,8 +38740,8 @@ func (volume *Volume) enumerateIdentifiers() []string { // g_volume_get_mount() will always either be equal or a prefix of what this // function returns. In other words, in code // -// (g_file_has_prefix (volume_activation_root, mount_root) || -// g_file_equal (volume_activation_root, mount_root)) +// (g_file_has_prefix (volume_activation_root, mount_root) || +// g_file_equal (volume_activation_root, mount_root)) // // will always be TRUE. // @@ -39484,7 +38752,6 @@ func (volume *Volume) enumerateIdentifiers() []string { // // - file (optional): activation root of volume or NULL. Use g_object_unref() // to free. -// func (volume *Volume) activationRoot() *File { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.get_activation_root @@ -39513,7 +38780,6 @@ func (volume *Volume) activationRoot() *File { // - drive (optional) or NULL if volume is not associated with a drive. // The returned object should be unreffed with g_object_unref() when no // longer needed. -// func (volume *Volume) drive() *Drive { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.get_drive @@ -39541,7 +38807,6 @@ func (volume *Volume) drive() *Drive { // // - icon: #GIcon. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (volume *Volume) icon() *Icon { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.get_icon @@ -39573,7 +38838,6 @@ func (volume *Volume) icon() *Icon { // // - utf8 (optional): newly allocated string containing the requested // identifier, or NULL if the #GVolume doesn't have this kind of identifier. -// func (volume *Volume) identifier(kind string) string { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.get_identifier @@ -39606,7 +38870,6 @@ func (volume *Volume) identifier(kind string) string { // // - mount (optional) or NULL if volume isn't mounted. The returned object // should be unreffed with g_object_unref() when no longer needed. -// func (volume *Volume) mount() *Mount { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.get_mount @@ -39634,7 +38897,6 @@ func (volume *Volume) mount() *Mount { // // - utf8: name for the given volume. The returned string should be freed with // g_free() when no longer needed. -// func (volume *Volume) name() string { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.get_name @@ -39661,7 +38923,6 @@ func (volume *Volume) name() string { // // - utf8 (optional): sorting key for volume or NULL if no such key is // available. -// func (volume *Volume) sortKey() string { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.get_sort_key @@ -39689,7 +38950,6 @@ func (volume *Volume) sortKey() string { // // - icon: #GIcon. The returned object should be unreffed with // g_object_unref() when no longer needed. -// func (volume *Volume) symbolicIcon() *Icon { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.get_symbolic_icon @@ -39717,7 +38977,6 @@ func (volume *Volume) symbolicIcon() *Icon { // // - utf8 (optional): UUID for volume or NULL if no UUID can be computed. // The returned string should be freed with g_free() when no longer needed. -// func (volume *Volume) uuiD() string { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.get_uuid @@ -39751,7 +39010,6 @@ func (volume *Volume) uuiD() string { // The function takes the following parameters: // // - result: Result. -// func (volume *Volume) mountFinish(result AsyncResulter) error { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.mount_finish @@ -39786,7 +39044,6 @@ func (volume *Volume) mountFinish(result AsyncResulter) error { // - flags affecting the operation. // - mountOperation (optional) or NULL to avoid user interaction. // - callback (optional) or NULL. -// func (volume *Volume) mountFn(ctx context.Context, flags MountMountFlags, mountOperation *MountOperation, callback AsyncReadyCallback) { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.mount_fn @@ -39838,7 +39095,6 @@ func (volume *Volume) removed() { // The function returns the following values: // // - ok: TRUE if the volume should be automatically mounted. -// func (volume *Volume) shouldAutomount() bool { gclass := (*C.GVolumeIface)(coreglib.PeekParentClass(volume)) fnarg := gclass.should_automount @@ -39913,7 +39169,6 @@ func (v *AppInfoMonitor) ConnectChanged(f func()) coreglib.SignalHandle { // The function returns the following values: // // - appInfoMonitor: reference to a InfoMonitor. -// func AppInfoMonitorGet() *AppInfoMonitor { var _cret *C.GAppInfoMonitor // in @@ -39940,7 +39195,6 @@ type AppLaunchContextOverrides struct { // The function returns the following values: // // - utf8 (optional): display string for the display. - // Display func(info AppInfor, files []Filer) string // StartupNotifyID initiates startup notification for the application and // returns the DESKTOP_STARTUP_ID for the launched operation, if supported. @@ -39958,7 +39212,6 @@ type AppLaunchContextOverrides struct { // // - utf8 (optional): startup notification ID for the application, or NULL // if not supported. - // StartupNotifyID func(info AppInfor, files []Filer) string // LaunchFailed: called when an application has failed to launch, // so that it can cancel the application startup notification started in @@ -39968,13 +39221,11 @@ type AppLaunchContextOverrides struct { // // - startupNotifyId: startup notification id that was returned by // g_app_launch_context_get_startup_notify_id(). - // LaunchFailed func(startupNotifyId string) // The function takes the following parameters: // // - info // - platformData - // Launched func(info AppInfor, platformData *glib.Variant) } @@ -40066,7 +39317,6 @@ func (context *AppLaunchContext) ConnectLaunched(f func(info AppInfor, platformD // The function returns the following values: // // - appLaunchContext: LaunchContext. -// func NewAppLaunchContext() *AppLaunchContext { var _cret *C.GAppLaunchContext // in @@ -40091,7 +39341,6 @@ func NewAppLaunchContext() *AppLaunchContext { // The function returns the following values: // // - utf8 (optional): display string for the display. -// func (context *AppLaunchContext) Display(info AppInfor, files []Filer) string { var _arg0 *C.GAppLaunchContext // out var _arg1 *C.GAppInfo // out @@ -40130,7 +39379,6 @@ func (context *AppLaunchContext) Display(info AppInfor, files []Filer) string { // The function returns the following values: // // - filenames: the child's environment. -// func (context *AppLaunchContext) Environment() []string { var _arg0 *C.GAppLaunchContext // out var _cret **C.char // in @@ -40177,7 +39425,6 @@ func (context *AppLaunchContext) Environment() []string { // // - utf8 (optional): startup notification ID for the application, or NULL if // not supported. -// func (context *AppLaunchContext) StartupNotifyID(info AppInfor, files []Filer) string { var _arg0 *C.GAppLaunchContext // out var _arg1 *C.GAppInfo // out @@ -40217,7 +39464,6 @@ func (context *AppLaunchContext) StartupNotifyID(info AppInfor, files []Filer) s // // - startupNotifyId: startup notification id that was returned by // g_app_launch_context_get_startup_notify_id(). -// func (context *AppLaunchContext) LaunchFailed(startupNotifyId string) { var _arg0 *C.GAppLaunchContext // out var _arg1 *C.char // out @@ -40238,7 +39484,6 @@ func (context *AppLaunchContext) LaunchFailed(startupNotifyId string) { // // - variable: environment variable to set. // - value for to set the variable to. -// func (context *AppLaunchContext) Setenv(variable, value string) { var _arg0 *C.GAppLaunchContext // out var _arg1 *C.char // out @@ -40262,7 +39507,6 @@ func (context *AppLaunchContext) Setenv(variable, value string) { // The function takes the following parameters: // // - variable: environment variable to remove. -// func (context *AppLaunchContext) Unsetenv(variable string) { var _arg0 *C.GAppLaunchContext // out var _arg1 *C.char // out @@ -40288,7 +39532,6 @@ func (context *AppLaunchContext) Unsetenv(variable string) { // The function returns the following values: // // - utf8 (optional): display string for the display. -// func (context *AppLaunchContext) display(info AppInfor, files []Filer) string { gclass := (*C.GAppLaunchContextClass)(coreglib.PeekParentClass(context)) fnarg := gclass.get_display @@ -40339,7 +39582,6 @@ func (context *AppLaunchContext) display(info AppInfor, files []Filer) string { // // - utf8 (optional): startup notification ID for the application, or NULL if // not supported. -// func (context *AppLaunchContext) startupNotifyID(info AppInfor, files []Filer) string { gclass := (*C.GAppLaunchContextClass)(coreglib.PeekParentClass(context)) fnarg := gclass.get_startup_notify_id @@ -40382,7 +39624,6 @@ func (context *AppLaunchContext) startupNotifyID(info AppInfor, files []Filer) s // // - startupNotifyId: startup notification id that was returned by // g_app_launch_context_get_startup_notify_id(). -// func (context *AppLaunchContext) launchFailed(startupNotifyId string) { gclass := (*C.GAppLaunchContextClass)(coreglib.PeekParentClass(context)) fnarg := gclass.launch_failed @@ -40403,7 +39644,6 @@ func (context *AppLaunchContext) launchFailed(startupNotifyId string) { // // - info // - platformData -// func (context *AppLaunchContext) launched(info AppInfor, platformData *glib.Variant) { gclass := (*C.GAppLaunchContextClass)(coreglib.PeekParentClass(context)) fnarg := gclass.launched @@ -40439,13 +39679,11 @@ type ApplicationOverrides struct { // // - connection // - objectPath - // DBusRegister func(connection *DBusConnection, objectPath string) error // The function takes the following parameters: // // - connection // - objectPath - // DBusUnregister func(connection *DBusConnection, objectPath string) HandleLocalOptions func(options *glib.VariantDict) int NameLost func() bool @@ -40468,7 +39706,6 @@ type ApplicationOverrides struct { // // - files: array of #GFiles to open. // - hint (or ""), but never NULL. - // Open func(files []Filer, hint string) QuitMainloop func() RunMainloop func() @@ -40802,7 +40039,6 @@ func (application *Application) ConnectStartup(f func()) coreglib.SignalHandle { // The function returns the following values: // // - application: new #GApplication instance. -// func NewApplication(applicationId string, flags ApplicationFlags) *Application { var _arg1 *C.gchar // out var _arg2 C.GApplicationFlags // out @@ -40862,7 +40098,6 @@ func (application *Application) Activate() { // - description for the option in --help output. // - argDescription (optional): placeholder to use for the extra argument // parsed by the option in --help output. -// func (application *Application) AddMainOption(longName string, shortName byte, flags glib.OptionFlags, arg glib.OptionArg, description, argDescription string) { var _arg0 *C.GApplication // out var _arg1 *C.char // out @@ -40959,7 +40194,6 @@ func (application *Application) AddMainOption(longName string, shortName byte, f // The function takes the following parameters: // // - entries: a NULL-terminated list of Entrys. -// func (application *Application) AddMainOptionEntries(entries []glib.OptionEntry) { var _arg0 *C.GApplication // out var _arg1 *C.GOptionEntry // out @@ -41010,7 +40244,6 @@ func (application *Application) AddMainOptionEntries(entries []glib.OptionEntry) // The function takes the following parameters: // // - group: Group. -// func (application *Application) AddOptionGroup(group *glib.OptionGroup) { var _arg0 *C.GApplication // out var _arg1 *C.GOptionGroup // out @@ -41033,7 +40266,6 @@ func (application *Application) AddOptionGroup(group *glib.OptionGroup) { // // - object: #GObject. // - property: name of a boolean property of object. -// func (application *Application) BindBusyProperty(object *coreglib.Object, property string) { var _arg0 *C.GApplication // out var _arg1 C.gpointer // out @@ -41055,7 +40287,6 @@ func (application *Application) BindBusyProperty(object *coreglib.Object, proper // The function returns the following values: // // - utf8 (optional): identifier for application, owned by application. -// func (application *Application) ApplicationID() string { var _arg0 *C.GApplication // out var _cret *C.gchar // in @@ -41090,7 +40321,6 @@ func (application *Application) ApplicationID() string { // The function returns the following values: // // - dBusConnection (optional) or NULL. -// func (application *Application) DBusConnection() *DBusConnection { var _arg0 *C.GApplication // out var _cret *C.GDBusConnection // in @@ -41128,7 +40358,6 @@ func (application *Application) DBusConnection() *DBusConnection { // The function returns the following values: // // - utf8 (optional): object path, or NULL. -// func (application *Application) DBusObjectPath() string { var _arg0 *C.GApplication // out var _cret *C.gchar // in @@ -41154,7 +40383,6 @@ func (application *Application) DBusObjectPath() string { // The function returns the following values: // // - applicationFlags flags for application. -// func (application *Application) Flags() ApplicationFlags { var _arg0 *C.GApplication // out var _cret C.GApplicationFlags // in @@ -41179,7 +40407,6 @@ func (application *Application) Flags() ApplicationFlags { // The function returns the following values: // // - guint: timeout, in milliseconds. -// func (application *Application) InactivityTimeout() uint { var _arg0 *C.GApplication // out var _cret C.guint // in @@ -41202,7 +40429,6 @@ func (application *Application) InactivityTimeout() uint { // The function returns the following values: // // - ok: TRUE if application is currently marked as busy. -// func (application *Application) IsBusy() bool { var _arg0 *C.GApplication // out var _cret C.gboolean // in @@ -41229,7 +40455,6 @@ func (application *Application) IsBusy() bool { // The function returns the following values: // // - ok: TRUE if application is registered. -// func (application *Application) IsRegistered() bool { var _arg0 *C.GApplication // out var _cret C.gboolean // in @@ -41261,7 +40486,6 @@ func (application *Application) IsRegistered() bool { // The function returns the following values: // // - ok: TRUE if application is remote. -// func (application *Application) IsRemote() bool { var _arg0 *C.GApplication // out var _cret C.gboolean // in @@ -41287,7 +40511,6 @@ func (application *Application) IsRemote() bool { // The function returns the following values: // // - utf8 (optional): base resource path, if one is set. -// func (application *Application) ResourceBasePath() string { var _arg0 *C.GApplication // out var _cret *C.gchar // in @@ -41359,7 +40582,6 @@ func (application *Application) MarkBusy() { // // - files: array of #GFiles to open. // - hint (or ""), but never NULL. -// func (application *Application) Open(files []Filer, hint string) { var _arg0 *C.GApplication // out var _arg1 **C.GFile // out @@ -41438,7 +40660,6 @@ func (application *Application) Quit() { // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (application *Application) Register(ctx context.Context) error { var _arg0 *C.GApplication // out var _arg1 *C.GCancellable // out @@ -41557,7 +40778,6 @@ func (application *Application) Release() { // The function returns the following values: // // - gint: exit status. -// func (application *Application) Run(argv []string) int { var _arg0 *C.GApplication // out var _arg2 **C.char // out @@ -41616,7 +40836,6 @@ func (application *Application) Run(argv []string) int { // // - id (optional) of the notification, or NULL. // - notification to send. -// func (application *Application) SendNotification(id string, notification *Notification) { var _arg0 *C.GApplication // out var _arg1 *C.gchar // out @@ -41646,7 +40865,6 @@ func (application *Application) SendNotification(id string, notification *Notifi // The function takes the following parameters: // // - actionGroup (optional) or NULL. -// func (application *Application) SetActionGroup(actionGroup ActionGrouper) { var _arg0 *C.GApplication // out var _arg1 *C.GActionGroup // out @@ -41672,7 +40890,6 @@ func (application *Application) SetActionGroup(actionGroup ActionGrouper) { // The function takes the following parameters: // // - applicationId (optional): identifier for application. -// func (application *Application) SetApplicationID(applicationId string) { var _arg0 *C.GApplication // out var _arg1 *C.gchar // out @@ -41713,7 +40930,6 @@ func (application *Application) SetDefault() { // The function takes the following parameters: // // - flags for application. -// func (application *Application) SetFlags(flags ApplicationFlags) { var _arg0 *C.GApplication // out var _arg1 C.GApplicationFlags // out @@ -41738,7 +40954,6 @@ func (application *Application) SetFlags(flags ApplicationFlags) { // The function takes the following parameters: // // - inactivityTimeout: timeout, in milliseconds. -// func (application *Application) SetInactivityTimeout(inactivityTimeout uint) { var _arg0 *C.GApplication // out var _arg1 C.guint // out @@ -41760,7 +40975,6 @@ func (application *Application) SetInactivityTimeout(inactivityTimeout uint) { // // - description (optional): string to be shown in --help output after the // list of options, or NULL. -// func (application *Application) SetOptionContextDescription(description string) { var _arg0 *C.GApplication // out var _arg1 *C.gchar // out @@ -41788,7 +41002,6 @@ func (application *Application) SetOptionContextDescription(description string) // // - parameterString (optional): string which is displayed in the first line // of --help output, after the usage summary programname [OPTION...]. -// func (application *Application) SetOptionContextParameterString(parameterString string) { var _arg0 *C.GApplication // out var _arg1 *C.gchar // out @@ -41812,7 +41025,6 @@ func (application *Application) SetOptionContextParameterString(parameterString // // - summary (optional): string to be shown in --help output before the list // of options, or NULL. -// func (application *Application) SetOptionContextSummary(summary string) { var _arg0 *C.GApplication // out var _arg1 *C.gchar // out @@ -41863,7 +41075,6 @@ func (application *Application) SetOptionContextSummary(summary string) { // The function takes the following parameters: // // - resourcePath (optional): resource path to use. -// func (application *Application) SetResourceBasePath(resourcePath string) { var _arg0 *C.GApplication // out var _arg1 *C.gchar // out @@ -41887,7 +41098,6 @@ func (application *Application) SetResourceBasePath(resourcePath string) { // // - object: #GObject. // - property: name of a boolean property of object. -// func (application *Application) UnbindBusyProperty(object *coreglib.Object, property string) { var _arg0 *C.GApplication // out var _arg1 C.gpointer // out @@ -41936,7 +41146,6 @@ func (application *Application) UnmarkBusy() { // The function takes the following parameters: // // - id of a previously sent notification. -// func (application *Application) WithdrawNotification(id string) { var _arg0 *C.GApplication // out var _arg1 *C.gchar // out @@ -42039,7 +41248,6 @@ func (application *Application) commandLine(commandLine *ApplicationCommandLine) // // - connection // - objectPath -// func (application *Application) dBusRegister(connection *DBusConnection, objectPath string) error { gclass := (*C.GApplicationClass)(coreglib.PeekParentClass(application)) fnarg := gclass.dbus_register @@ -42072,7 +41280,6 @@ func (application *Application) dBusRegister(connection *DBusConnection, objectP // // - connection // - objectPath -// func (application *Application) dBusUnregister(connection *DBusConnection, objectPath string) { gclass := (*C.GApplicationClass)(coreglib.PeekParentClass(application)) fnarg := gclass.dbus_unregister @@ -42154,7 +41361,6 @@ func (application *Application) nameLost() bool { // // - files: array of #GFiles to open. // - hint (or ""), but never NULL. -// func (application *Application) open(files []Filer, hint string) { gclass := (*C.GApplicationClass)(coreglib.PeekParentClass(application)) fnarg := gclass.open @@ -42243,7 +41449,6 @@ func (application *Application) startup() { // The function returns the following values: // // - application (optional): default application for this process, or NULL. -// func ApplicationGetDefault() *Application { var _cret *C.GApplication // in @@ -42312,7 +41517,6 @@ func ApplicationGetDefault() *Application { // The function returns the following values: // // - ok: TRUE if application_id is valid. -// func ApplicationIDIsValid(applicationId string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -42347,7 +41551,6 @@ type ApplicationCommandLineOverrides struct { // The function returns the following values: // // - inputStream (optional) for stdin. - // Stdin func() InputStreamer PrintLiteral func(message string) PrinterrLiteral func(message string) @@ -42394,35 +41597,35 @@ func defaultApplicationCommandLineOverrides(v *ApplicationCommandLine) Applicati // signal handler in the primary instance has returned, and the return value of // the signal handler becomes the exit status of the launching instance. // -// static gboolean -// my_cmdline_handler (gpointer data) -// { -// GApplicationCommandLine *cmdline = data; +// static gboolean +// my_cmdline_handler (gpointer data) +// { +// GApplicationCommandLine *cmdline = data; // -// // do the heavy lifting in an idle +// // do the heavy lifting in an idle // -// g_application_command_line_set_exit_status (cmdline, 0); -// g_object_unref (cmdline); // this releases the application +// g_application_command_line_set_exit_status (cmdline, 0); +// g_object_unref (cmdline); // this releases the application // -// return G_SOURCE_REMOVE; -// } +// return G_SOURCE_REMOVE; +// } // -// static int -// command_line (GApplication *application, -// GApplicationCommandLine *cmdline) -// { -// // keep the application running until we are done with this commandline -// g_application_hold (application); +// static int +// command_line (GApplication *application, +// GApplicationCommandLine *cmdline) +// { +// // keep the application running until we are done with this commandline +// g_application_hold (application); // -// g_object_set_data_full (G_OBJECT (cmdline), -// "application", application, -// (GDestroyNotify)g_application_release); +// g_object_set_data_full (G_OBJECT (cmdline), +// "application", application, +// (GDestroyNotify)g_application_release); // -// g_object_ref (cmdline); -// g_idle_add (my_cmdline_handler, cmdline); +// g_object_ref (cmdline); +// g_idle_add (my_cmdline_handler, cmdline); // -// return 0; -// } +// return 0; +// } // // In this example the commandline is not completely handled before the // #GApplication::command-line handler returns. Instead, we keep a reference @@ -42495,7 +41698,6 @@ func marshalApplicationCommandLine(p uintptr) (interface{}, error) { // The function returns the following values: // // - file: new #GFile. -// func (cmdline *ApplicationCommandLine) CreateFileForArg(arg string) *File { var _arg0 *C.GApplicationCommandLine // out var _arg1 *C.gchar // out @@ -42530,7 +41732,6 @@ func (cmdline *ApplicationCommandLine) CreateFileForArg(arg string) *File { // The function returns the following values: // // - filenames: the string array containing the arguments (the argv). -// func (cmdline *ApplicationCommandLine) Arguments() []string { var _arg0 *C.GApplicationCommandLine // out var _cret **C.gchar // in @@ -42568,7 +41769,6 @@ func (cmdline *ApplicationCommandLine) Arguments() []string { // The function returns the following values: // // - filename (optional): current directory, or NULL. -// func (cmdline *ApplicationCommandLine) Cwd() string { var _arg0 *C.GApplicationCommandLine // out var _cret *C.gchar // in @@ -42606,7 +41806,6 @@ func (cmdline *ApplicationCommandLine) Cwd() string { // The function returns the following values: // // - filenames: the environment strings, or NULL if they were not sent. -// func (cmdline *ApplicationCommandLine) Environ() []string { var _arg0 *C.GApplicationCommandLine // out var _cret **C.gchar // in @@ -42641,7 +41840,6 @@ func (cmdline *ApplicationCommandLine) Environ() []string { // The function returns the following values: // // - gint: exit status. -// func (cmdline *ApplicationCommandLine) ExitStatus() int { var _arg0 *C.GApplicationCommandLine // out var _cret C.int // in @@ -42663,7 +41861,6 @@ func (cmdline *ApplicationCommandLine) ExitStatus() int { // The function returns the following values: // // - ok: TRUE if the invocation was remote. -// func (cmdline *ApplicationCommandLine) IsRemote() bool { var _arg0 *C.GApplicationCommandLine // out var _cret C.gboolean // in @@ -42696,7 +41893,6 @@ func (cmdline *ApplicationCommandLine) IsRemote() bool { // The function returns the following values: // // - variantDict with the options. -// func (cmdline *ApplicationCommandLine) OptionsDict() *glib.VariantDict { var _arg0 *C.GApplicationCommandLine // out var _cret *C.GVariantDict // in @@ -42732,7 +41928,6 @@ func (cmdline *ApplicationCommandLine) OptionsDict() *glib.VariantDict { // The function returns the following values: // // - variant (optional): platform data, or NULL. -// func (cmdline *ApplicationCommandLine) PlatformData() *glib.Variant { var _arg0 *C.GApplicationCommandLine // out var _cret *C.GVariant // in @@ -42770,7 +41965,6 @@ func (cmdline *ApplicationCommandLine) PlatformData() *glib.Variant { // The function returns the following values: // // - inputStream (optional) for stdin. -// func (cmdline *ApplicationCommandLine) Stdin() InputStreamer { var _arg0 *C.GApplicationCommandLine // out var _cret *C.GInputStream // in @@ -42821,7 +42015,6 @@ func (cmdline *ApplicationCommandLine) Stdin() InputStreamer { // The function returns the following values: // // - utf8 (optional): value of the variable, or NULL if unset or unsent. -// func (cmdline *ApplicationCommandLine) env(name string) string { var _arg0 *C.GApplicationCommandLine // out var _arg1 *C.gchar // out @@ -42867,7 +42060,6 @@ func (cmdline *ApplicationCommandLine) env(name string) string { // The function takes the following parameters: // // - exitStatus: exit status. -// func (cmdline *ApplicationCommandLine) SetExitStatus(exitStatus int) { var _arg0 *C.GApplicationCommandLine // out var _arg1 C.int // out @@ -42893,7 +42085,6 @@ func (cmdline *ApplicationCommandLine) SetExitStatus(exitStatus int) { // The function returns the following values: // // - inputStream (optional) for stdin. -// func (cmdline *ApplicationCommandLine) stdin() InputStreamer { gclass := (*C.GApplicationCommandLineClass)(coreglib.PeekParentClass(cmdline)) fnarg := gclass.get_stdin @@ -42996,7 +42187,6 @@ type BufferedInputStreamOverrides struct { // // - gssize: number of bytes read into stream's buffer, up to count, // or -1 on error. - // Fill func(ctx context.Context, count int) (int, error) // FillFinish finishes an asynchronous read. // @@ -43007,7 +42197,6 @@ type BufferedInputStreamOverrides struct { // The function returns the following values: // // - gssize of the read stream, or -1 on an error. - // FillFinish func(result AsyncResulter) (int, error) } @@ -43096,7 +42285,6 @@ func marshalBufferedInputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - bufferedInputStream for the given base_stream. -// func NewBufferedInputStream(baseStream InputStreamer) *BufferedInputStream { var _arg1 *C.GInputStream // out var _cret *C.GInputStream // in @@ -43124,7 +42312,6 @@ func NewBufferedInputStream(baseStream InputStreamer) *BufferedInputStream { // The function returns the following values: // // - bufferedInputStream: Stream. -// func NewBufferedInputStreamSized(baseStream InputStreamer, size uint) *BufferedInputStream { var _arg1 *C.GInputStream // out var _arg2 C.gsize // out @@ -43178,7 +42365,6 @@ func NewBufferedInputStreamSized(baseStream InputStreamer, size uint) *BufferedI // // - gssize: number of bytes read into stream's buffer, up to count, or -1 on // error. -// func (stream *BufferedInputStream) Fill(ctx context.Context, count int) (int, error) { var _arg0 *C.GBufferedInputStream // out var _arg2 *C.GCancellable // out @@ -43223,7 +42409,6 @@ func (stream *BufferedInputStream) Fill(ctx context.Context, count int) (int, er // - count: number of bytes that will be read from the stream. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional): ReadyCallback. -// func (stream *BufferedInputStream) FillAsync(ctx context.Context, count, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GBufferedInputStream // out var _arg3 *C.GCancellable // out @@ -43262,7 +42447,6 @@ func (stream *BufferedInputStream) FillAsync(ctx context.Context, count, ioPrior // The function returns the following values: // // - gssize of the read stream, or -1 on an error. -// func (stream *BufferedInputStream) FillFinish(result AsyncResulter) (int, error) { var _arg0 *C.GBufferedInputStream // out var _arg1 *C.GAsyncResult // out @@ -43292,7 +42476,6 @@ func (stream *BufferedInputStream) FillFinish(result AsyncResulter) (int, error) // The function returns the following values: // // - gsize: size of the available stream. -// func (stream *BufferedInputStream) Available() uint { var _arg0 *C.GBufferedInputStream // out var _cret C.gsize // in @@ -43314,7 +42497,6 @@ func (stream *BufferedInputStream) Available() uint { // The function returns the following values: // // - gsize: current buffer size. -// func (stream *BufferedInputStream) BufferSize() uint { var _arg0 *C.GBufferedInputStream // out var _cret C.gsize // in @@ -43342,7 +42524,6 @@ func (stream *BufferedInputStream) BufferSize() uint { // The function returns the following values: // // - gsize of the number of bytes peeked, or -1 on error. -// func (stream *BufferedInputStream) Peek(buffer []byte, offset uint) uint { var _arg0 *C.GBufferedInputStream // out var _arg1 *C.void // out @@ -43376,7 +42557,6 @@ func (stream *BufferedInputStream) Peek(buffer []byte, offset uint) uint { // The function returns the following values: // // - guint8s: read-only buffer. -// func (stream *BufferedInputStream) PeekBuffer() []byte { var _arg0 *C.GBufferedInputStream // out var _cret unsafe.Pointer // in @@ -43416,7 +42596,6 @@ func (stream *BufferedInputStream) PeekBuffer() []byte { // The function returns the following values: // // - gint: byte read from the stream, or -1 on end of stream or error. -// func (stream *BufferedInputStream) ReadByte(ctx context.Context) (int, error) { var _arg0 *C.GBufferedInputStream // out var _arg1 *C.GCancellable // out @@ -43452,7 +42631,6 @@ func (stream *BufferedInputStream) ReadByte(ctx context.Context) (int, error) { // The function takes the following parameters: // // - size: #gsize. -// func (stream *BufferedInputStream) SetBufferSize(size uint) { var _arg0 *C.GBufferedInputStream // out var _arg1 C.gsize // out @@ -43499,7 +42677,6 @@ func (stream *BufferedInputStream) SetBufferSize(size uint) { // // - gssize: number of bytes read into stream's buffer, up to count, or -1 on // error. -// func (stream *BufferedInputStream) fill(ctx context.Context, count int) (int, error) { gclass := (*C.GBufferedInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.fill @@ -43547,7 +42724,6 @@ func (stream *BufferedInputStream) fill(ctx context.Context, count int) (int, er // - count: number of bytes that will be read from the stream. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional): ReadyCallback. -// func (stream *BufferedInputStream) fillAsync(ctx context.Context, count, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GBufferedInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.fill_async @@ -43589,7 +42765,6 @@ func (stream *BufferedInputStream) fillAsync(ctx context.Context, count, ioPrior // The function returns the following values: // // - gssize of the read stream, or -1 on an error. -// func (stream *BufferedInputStream) fillFinish(result AsyncResulter) (int, error) { gclass := (*C.GBufferedInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.fill_finish @@ -43693,7 +42868,6 @@ func marshalBufferedOutputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - bufferedOutputStream for the given base_stream. -// func NewBufferedOutputStream(baseStream OutputStreamer) *BufferedOutputStream { var _arg1 *C.GOutputStream // out var _cret *C.GOutputStream // in @@ -43721,7 +42895,6 @@ func NewBufferedOutputStream(baseStream OutputStreamer) *BufferedOutputStream { // The function returns the following values: // // - bufferedOutputStream with an internal buffer set to size. -// func NewBufferedOutputStreamSized(baseStream OutputStreamer, size uint) *BufferedOutputStream { var _arg1 *C.GOutputStream // out var _arg2 C.gsize // out @@ -43746,7 +42919,6 @@ func NewBufferedOutputStreamSized(baseStream OutputStreamer, size uint) *Buffere // The function returns the following values: // // - ok: TRUE if the stream's buffer automatically grows, FALSE otherwise. -// func (stream *BufferedOutputStream) AutoGrow() bool { var _arg0 *C.GBufferedOutputStream // out var _cret C.gboolean // in @@ -43770,7 +42942,6 @@ func (stream *BufferedOutputStream) AutoGrow() bool { // The function returns the following values: // // - gsize: current size of the buffer. -// func (stream *BufferedOutputStream) BufferSize() uint { var _arg0 *C.GBufferedOutputStream // out var _cret C.gsize // in @@ -43795,7 +42966,6 @@ func (stream *BufferedOutputStream) BufferSize() uint { // The function takes the following parameters: // // - autoGrow: #gboolean. -// func (stream *BufferedOutputStream) SetAutoGrow(autoGrow bool) { var _arg0 *C.GBufferedOutputStream // out var _arg1 C.gboolean // out @@ -43815,7 +42985,6 @@ func (stream *BufferedOutputStream) SetAutoGrow(autoGrow bool) { // The function takes the following parameters: // // - size: #gsize. -// func (stream *BufferedOutputStream) SetBufferSize(size uint) { var _arg0 *C.GBufferedOutputStream // out var _arg1 C.gsize // out @@ -43868,7 +43037,6 @@ func marshalBytesIcon(p uintptr) (interface{}, error) { // The function returns the following values: // // - bytesIcon for the given bytes. -// func NewBytesIcon(bytes *glib.Bytes) *BytesIcon { var _arg1 *C.GBytes // out var _cret *C.GIcon // in @@ -43890,7 +43058,6 @@ func NewBytesIcon(bytes *glib.Bytes) *BytesIcon { // The function returns the following values: // // - bytes: #GBytes. -// func (icon *BytesIcon) Bytes() *glib.Bytes { var _arg0 *C.GBytesIcon // out var _cret *C.GBytes // in @@ -43990,27 +43157,27 @@ func marshalCancellable(p uintptr) (interface{}, error) { // // An example of how to us this: // -// // Make sure we don't do unnecessary work if already cancelled -// if (g_cancellable_set_error_if_cancelled (cancellable, error)) -// return; +// // Make sure we don't do unnecessary work if already cancelled +// if (g_cancellable_set_error_if_cancelled (cancellable, error)) +// return; // -// // Set up all the data needed to be able to handle cancellation -// // of the operation -// my_data = my_data_new (...); +// // Set up all the data needed to be able to handle cancellation +// // of the operation +// my_data = my_data_new (...); // -// id = 0; -// if (cancellable) -// id = g_cancellable_connect (cancellable, -// G_CALLBACK (cancelled_handler) -// data, NULL); +// id = 0; +// if (cancellable) +// id = g_cancellable_connect (cancellable, +// G_CALLBACK (cancelled_handler) +// data, NULL); // -// // cancellable operation here... +// // cancellable operation here... // -// g_cancellable_disconnect (cancellable, id); +// g_cancellable_disconnect (cancellable, id); // -// // cancelled_handler is never called after this, it is now safe -// // to free the data -// my_data_free (my_data); +// // cancelled_handler is never called after this, it is now safe +// // to free the data +// my_data_free (my_data); // // Note that the cancelled signal is emitted in the thread that the user // cancelled from, which may be the main thread. So, the cancellable signal @@ -44030,7 +43197,6 @@ func (cancellable *Cancellable) ConnectCancelled(f func()) coreglib.SignalHandle // The function returns the following values: // // - cancellable: #GCancellable. -// func NewCancellable() *Cancellable { var _cret *C.GCancellable // in @@ -44084,7 +43250,6 @@ func (cancellable *Cancellable) Cancel() { // The function takes the following parameters: // // - handlerId: handler id of the handler to be disconnected, or 0. -// func (cancellable *Cancellable) Disconnect(handlerId uint32) { var _arg0 *C.GCancellable // out var _arg1 C.gulong // out @@ -44117,7 +43282,6 @@ func (cancellable *Cancellable) Disconnect(handlerId uint32) { // // - gint: valid file descriptor. -1 if the file descriptor is not supported, // or on errors. -// func (cancellable *Cancellable) Fd() int { var _arg0 *C.GCancellable // out var _cret C.int // in @@ -44142,7 +43306,6 @@ func (cancellable *Cancellable) Fd() int { // // - ok: TRUE if cancellable is cancelled, FALSE if called with NULL or if // item is not cancelled. -// func (cancellable *Cancellable) IsCancelled() bool { var _arg0 *C.GCancellable // out var _cret C.gboolean // in @@ -44272,7 +43435,6 @@ func (cancellable *Cancellable) SetErrorIfCancelled() error { // The function returns the following values: // // - source: new #GSource. -// func (cancellable *Cancellable) NewSource() *glib.Source { var _arg0 *C.GCancellable // out var _cret *C.GSource // in @@ -44317,7 +43479,6 @@ func (cancellable *Cancellable) cancelled() { // // - cancellable (optional) from the top of the stack, or NULL if the stack is // empty. -// func CancellableGetCurrent() *Cancellable { var _cret *C.GCancellable // in @@ -44395,7 +43556,6 @@ func marshalCharsetConverter(p uintptr) (interface{}, error) { // The function returns the following values: // // - charsetConverter: new Converter or NULL on error. -// func NewCharsetConverter(toCharset, fromCharset string) (*CharsetConverter, error) { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -44427,7 +43587,6 @@ func NewCharsetConverter(toCharset, fromCharset string) (*CharsetConverter, erro // The function returns the following values: // // - guint: number of fallbacks that converter has applied. -// func (converter *CharsetConverter) NumFallbacks() uint { var _arg0 *C.GCharsetConverter // out var _cret C.guint // in @@ -44449,7 +43608,6 @@ func (converter *CharsetConverter) NumFallbacks() uint { // The function returns the following values: // // - ok: TRUE if fallbacks are used by converter. -// func (converter *CharsetConverter) UseFallback() bool { var _arg0 *C.GCharsetConverter // out var _cret C.gboolean // in @@ -44473,7 +43631,6 @@ func (converter *CharsetConverter) UseFallback() bool { // The function takes the following parameters: // // - useFallback: TRUE to use fallbacks. -// func (converter *CharsetConverter) SetUseFallback(useFallback bool) { var _arg0 *C.GCharsetConverter // out var _arg1 C.gboolean // out @@ -44565,7 +43722,6 @@ func marshalConverterInputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - converterInputStream: new Stream. -// func NewConverterInputStream(baseStream InputStreamer, converter Converterer) *ConverterInputStream { var _arg1 *C.GInputStream // out var _arg2 *C.GConverter // out @@ -44590,7 +43746,6 @@ func NewConverterInputStream(baseStream InputStreamer, converter Converterer) *C // The function returns the following values: // // - converter of the converter input stream. -// func (converterStream *ConverterInputStream) Converter() *Converter { var _arg0 *C.GConverterInputStream // out var _cret *C.GConverter // in @@ -44684,7 +43839,6 @@ func marshalConverterOutputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - converterOutputStream: new Stream. -// func NewConverterOutputStream(baseStream OutputStreamer, converter Converterer) *ConverterOutputStream { var _arg1 *C.GOutputStream // out var _arg2 *C.GConverter // out @@ -44709,7 +43863,6 @@ func NewConverterOutputStream(baseStream OutputStreamer, converter Converterer) // The function returns the following values: // // - converter of the converter output stream. -// func (converterStream *ConverterOutputStream) Converter() *Converter { var _arg0 *C.GConverterOutputStream // out var _cret *C.GConverter // in @@ -44781,7 +43934,6 @@ func marshalCredentials(p uintptr) (interface{}, error) { // The function returns the following values: // // - credentials Free with g_object_unref(). -// func NewCredentials() *Credentials { var _cret *C.GCredentials // in @@ -44801,7 +43953,6 @@ func NewCredentials() *Credentials { // The function takes the following parameters: // // - otherCredentials: #GCredentials. -// func (credentials *Credentials) IsSameUser(otherCredentials *Credentials) error { var _arg0 *C.GCredentials // out var _arg1 *C.GCredentials // out @@ -44834,7 +43985,6 @@ func (credentials *Credentials) IsSameUser(otherCredentials *Credentials) error // // - nativeType: type of native credentials to set. // - native: pointer to native credentials. -// func (credentials *Credentials) SetNative(nativeType CredentialsType, native unsafe.Pointer) { var _arg0 *C.GCredentials // out var _arg1 C.GCredentialsType // out @@ -44857,7 +44007,6 @@ func (credentials *Credentials) SetNative(nativeType CredentialsType, native uns // The function returns the following values: // // - utf8: string that should be freed with g_free(). -// func (credentials *Credentials) String() string { var _arg0 *C.GCredentials // out var _cret *C.gchar // in @@ -44928,7 +44077,6 @@ func marshalDBusActionGroup(p uintptr) (interface{}, error) { // The function returns the following values: // // - dBusActionGroup: BusActionGroup. -// func DBusActionGroupGet(connection *DBusConnection, busName, objectPath string) *DBusActionGroup { var _arg1 *C.GDBusConnection // out var _arg2 *C.gchar // out @@ -44968,26 +44116,26 @@ func DBusActionGroupGet(connection *DBusConnection, busName, objectPath string) // passing and is the recommended mechanism for modern Unix platforms such as // Linux and the BSD family, you would use a signal handler like this: // -// static gboolean -// on_authorize_authenticated_peer (GDBusAuthObserver *observer, -// GIOStream *stream, -// GCredentials *credentials, -// gpointer user_data) -// { -// gboolean authorized; -// -// authorized = FALSE; -// if (credentials != NULL) -// { -// GCredentials *own_credentials; -// own_credentials = g_credentials_new (); -// if (g_credentials_is_same_user (credentials, own_credentials, NULL)) -// authorized = TRUE; -// g_object_unref (own_credentials); -// } -// -// return authorized; -// }. +// static gboolean +// on_authorize_authenticated_peer (GDBusAuthObserver *observer, +// GIOStream *stream, +// GCredentials *credentials, +// gpointer user_data) +// { +// gboolean authorized; +// +// authorized = FALSE; +// if (credentials != NULL) +// { +// GCredentials *own_credentials; +// own_credentials = g_credentials_new (); +// if (g_credentials_is_same_user (credentials, own_credentials, NULL)) +// authorized = TRUE; +// g_object_unref (own_credentials); +// } +// +// return authorized; +// }. type DBusAuthObserver struct { _ [0]func() // equal guard *coreglib.Object @@ -45023,7 +44171,6 @@ func (observer *DBusAuthObserver) ConnectAuthorizeAuthenticatedPeer(f func(strea // The function returns the following values: // // - dBusAuthObserver Free with g_object_unref(). -// func NewDBusAuthObserver() *DBusAuthObserver { var _cret *C.GDBusAuthObserver // in @@ -45046,7 +44193,6 @@ func NewDBusAuthObserver() *DBusAuthObserver { // // - ok: TRUE if mechanism can be used to authenticate the other peer, // FALSE if not. -// func (observer *DBusAuthObserver) AllowMechanism(mechanism string) bool { var _arg0 *C.GDBusAuthObserver // out var _arg1 *C.gchar // out @@ -45080,7 +44226,6 @@ func (observer *DBusAuthObserver) AllowMechanism(mechanism string) bool { // The function returns the following values: // // - ok: TRUE if the peer is authorized, FALSE if not. -// func (observer *DBusAuthObserver) AuthorizeAuthenticatedPeer(stream IOStreamer, credentials *Credentials) bool { var _arg0 *C.GDBusAuthObserver // out var _arg1 *C.GIOStream // out @@ -45211,7 +44356,6 @@ func (connection *DBusConnection) ConnectClosed(f func(remotePeerVanished bool, // The function returns the following values: // // - dBusConnection or NULL if error is set. Free with g_object_unref(). -// func NewDBusConnectionFinish(res AsyncResulter) (*DBusConnection, error) { var _arg1 *C.GAsyncResult // out var _cret *C.GDBusConnection // in @@ -45243,7 +44387,6 @@ func NewDBusConnectionFinish(res AsyncResulter) (*DBusConnection, error) { // The function returns the following values: // // - dBusConnection or NULL if error is set. Free with g_object_unref(). -// func NewDBusConnectionForAddressFinish(res AsyncResulter) (*DBusConnection, error) { var _arg1 *C.GAsyncResult // out var _cret *C.GDBusConnection // in @@ -45291,7 +44434,6 @@ func NewDBusConnectionForAddressFinish(res AsyncResulter) (*DBusConnection, erro // The function returns the following values: // // - dBusConnection or NULL if error is set. Free with g_object_unref(). -// func NewDBusConnectionForAddressSync(ctx context.Context, address string, flags DBusConnectionFlags, observer *DBusAuthObserver) (*DBusConnection, error) { var _arg4 *C.GCancellable // out var _arg1 *C.gchar // out @@ -45355,7 +44497,6 @@ func NewDBusConnectionForAddressSync(ctx context.Context, address string, flags // The function returns the following values: // // - dBusConnection or NULL if error is set. Free with g_object_unref(). -// func NewDBusConnectionSync(ctx context.Context, stream IOStreamer, guid string, flags DBusConnectionFlags, observer *DBusAuthObserver) (*DBusConnection, error) { var _arg5 *C.GCancellable // out var _arg1 *C.GIOStream // out @@ -45432,7 +44573,6 @@ func NewDBusConnectionSync(ctx context.Context, stream IOStreamer, guid string, // // - guint: filter identifier that can be used with // g_dbus_connection_remove_filter(). -// func (connection *DBusConnection) AddFilter(filterFunction DBusMessageFilterFunction) uint { var _arg0 *C.GDBusConnection // out var _arg1 C.GDBusMessageFilterFunction // out @@ -45473,20 +44613,20 @@ func (connection *DBusConnection) AddFilter(filterFunction DBusMessageFilterFunc // If the parameters #GVariant is floating, it is consumed. This allows // convenient 'inline' use of g_variant_new(), e.g.: // -// g_dbus_connection_call (connection, -// "org.freedesktop.StringThings", -// "/org/freedesktop/StringThings", -// "org.freedesktop.StringThings", -// "TwoStrings", -// g_variant_new ("(ss)", -// "Thing One", -// "Thing Two"), -// NULL, -// G_DBUS_CALL_FLAGS_NONE, -// -1, -// NULL, -// (GAsyncReadyCallback) two_strings_done, -// NULL); +// g_dbus_connection_call (connection, +// "org.freedesktop.StringThings", +// "/org/freedesktop/StringThings", +// "org.freedesktop.StringThings", +// "TwoStrings", +// g_variant_new ("(ss)", +// "Thing One", +// "Thing Two"), +// NULL, +// G_DBUS_CALL_FLAGS_NONE, +// -1, +// NULL, +// (GAsyncReadyCallback) two_strings_done, +// NULL); // // This is an asynchronous method. When the operation is finished, // callback will be invoked in the [thread-default main @@ -45515,7 +44655,6 @@ func (connection *DBusConnection) AddFilter(filterFunction DBusMessageFilterFunc // G_MAXINT for no timeout. // - callback (optional) to call when the request is satisfied or NULL if you // don't care about the result of the method invocation. -// func (connection *DBusConnection) Call(ctx context.Context, busName, objectPath, interfaceName, methodName string, parameters *glib.Variant, replyType *glib.VariantType, flags DBusCallFlags, timeoutMsec int, callback AsyncReadyCallback) { var _arg0 *C.GDBusConnection // out var _arg9 *C.GCancellable // out @@ -45583,7 +44722,6 @@ func (connection *DBusConnection) Call(ctx context.Context, busName, objectPath, // // - variant: NULL if error is set. Otherwise a non-floating #GVariant tuple // with return values. Free with g_variant_unref(). -// func (connection *DBusConnection) CallFinish(res AsyncResulter) (*glib.Variant, error) { var _arg0 *C.GDBusConnection // out var _arg1 *C.GAsyncResult // out @@ -45629,19 +44767,19 @@ func (connection *DBusConnection) CallFinish(res AsyncResulter) (*glib.Variant, // If the parameters #GVariant is floating, it is consumed. This allows // convenient 'inline' use of g_variant_new(), e.g.: // -// g_dbus_connection_call_sync (connection, -// "org.freedesktop.StringThings", -// "/org/freedesktop/StringThings", -// "org.freedesktop.StringThings", -// "TwoStrings", -// g_variant_new ("(ss)", -// "Thing One", -// "Thing Two"), -// NULL, -// G_DBUS_CALL_FLAGS_NONE, -// -1, -// NULL, -// &error); +// g_dbus_connection_call_sync (connection, +// "org.freedesktop.StringThings", +// "/org/freedesktop/StringThings", +// "org.freedesktop.StringThings", +// "TwoStrings", +// g_variant_new ("(ss)", +// "Thing One", +// "Thing Two"), +// NULL, +// G_DBUS_CALL_FLAGS_NONE, +// -1, +// NULL, +// &error); // // The calling thread is blocked until a reply is received. See // g_dbus_connection_call() for the asynchronous version of this method. @@ -45665,7 +44803,6 @@ func (connection *DBusConnection) CallFinish(res AsyncResulter) (*glib.Variant, // // - variant: NULL if error is set. Otherwise a non-floating #GVariant tuple // with return values. Free with g_variant_unref(). -// func (connection *DBusConnection) CallSync(ctx context.Context, busName, objectPath, interfaceName, methodName string, parameters *glib.Variant, replyType *glib.VariantType, flags DBusCallFlags, timeoutMsec int) (*glib.Variant, error) { var _arg0 *C.GDBusConnection // out var _arg9 *C.GCancellable // out @@ -45761,7 +44898,6 @@ func (connection *DBusConnection) CallSync(ctx context.Context, busName, objectP // - ctx (optional) or NULL. // - callback (optional) to call when the request is satisfied or NULL if you // don't care about the result. -// func (connection *DBusConnection) Close(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GDBusConnection // out var _arg1 *C.GCancellable // out @@ -45790,7 +44926,6 @@ func (connection *DBusConnection) Close(ctx context.Context, callback AsyncReady // The function takes the following parameters: // // - res obtained from the ReadyCallback passed to g_dbus_connection_close(). -// func (connection *DBusConnection) CloseFinish(res AsyncResulter) error { var _arg0 *C.GDBusConnection // out var _arg1 *C.GAsyncResult // out @@ -45819,7 +44954,6 @@ func (connection *DBusConnection) CloseFinish(res AsyncResulter) error { // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (connection *DBusConnection) CloseSync(ctx context.Context) error { var _arg0 *C.GDBusConnection // out var _arg1 *C.GCancellable // out @@ -45862,7 +44996,6 @@ func (connection *DBusConnection) CloseSync(ctx context.Context) error { // - signalName: name of the signal to emit. // - parameters (optional) tuple with parameters for the signal or NULL if not // passing parameters. -// func (connection *DBusConnection) EmitSignal(destinationBusName, objectPath, interfaceName, signalName string, parameters *glib.Variant) error { var _arg0 *C.GDBusConnection // out var _arg1 *C.gchar // out @@ -45933,7 +45066,6 @@ func (connection *DBusConnection) EmitSignal(destinationBusName, objectPath, int // The function returns the following values: // // - guint: ID of the export (never zero), or 0 in case of failure. -// func (connection *DBusConnection) ExportActionGroup(objectPath string, actionGroup ActionGrouper) (uint, error) { var _arg0 *C.GDBusConnection // out var _arg1 *C.gchar // out @@ -45982,7 +45114,6 @@ func (connection *DBusConnection) ExportActionGroup(objectPath string, actionGro // The function returns the following values: // // - guint: ID of the export (never zero), or 0 in case of failure. -// func (connection *DBusConnection) ExportMenuModel(objectPath string, menu MenuModeller) (uint, error) { var _arg0 *C.GDBusConnection // out var _arg1 *C.gchar // out @@ -46030,7 +45161,6 @@ func (connection *DBusConnection) ExportMenuModel(objectPath string, menu MenuMo // - ctx (optional) or NULL. // - callback (optional) to call when the request is satisfied or NULL if you // don't care about the result. -// func (connection *DBusConnection) Flush(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GDBusConnection // out var _arg1 *C.GCancellable // out @@ -46059,7 +45189,6 @@ func (connection *DBusConnection) Flush(ctx context.Context, callback AsyncReady // The function takes the following parameters: // // - res obtained from the ReadyCallback passed to g_dbus_connection_flush(). -// func (connection *DBusConnection) FlushFinish(res AsyncResulter) error { var _arg0 *C.GDBusConnection // out var _arg1 *C.GAsyncResult // out @@ -46088,7 +45217,6 @@ func (connection *DBusConnection) FlushFinish(res AsyncResulter) error { // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (connection *DBusConnection) FlushSync(ctx context.Context) error { var _arg0 *C.GDBusConnection // out var _arg1 *C.GCancellable // out @@ -46120,7 +45248,6 @@ func (connection *DBusConnection) FlushSync(ctx context.Context) error { // // - dBusCapabilityFlags: zero or more flags from the BusCapabilityFlags // enumeration. -// func (connection *DBusConnection) Capabilities() DBusCapabilityFlags { var _arg0 *C.GDBusConnection // out var _cret C.GDBusCapabilityFlags // in @@ -46144,7 +45271,6 @@ func (connection *DBusConnection) Capabilities() DBusCapabilityFlags { // // - ok: whether the process is terminated when connection is closed by the // remote peer. -// func (connection *DBusConnection) ExitOnClose() bool { var _arg0 *C.GDBusConnection // out var _cret C.gboolean // in @@ -46169,7 +45295,6 @@ func (connection *DBusConnection) ExitOnClose() bool { // // - dBusConnectionFlags: zero or more flags from the BusConnectionFlags // enumeration. -// func (connection *DBusConnection) Flags() DBusConnectionFlags { var _arg0 *C.GDBusConnection // out var _cret C.GDBusConnectionFlags // in @@ -46192,7 +45317,6 @@ func (connection *DBusConnection) Flags() DBusConnectionFlags { // The function returns the following values: // // - utf8: GUID. Do not free this string, it is owned by connection. -// func (connection *DBusConnection) GUID() string { var _arg0 *C.GDBusConnection // out var _cret *C.gchar // in @@ -46219,7 +45343,6 @@ func (connection *DBusConnection) GUID() string { // // - guint32: last used serial or zero when no message has been sent within // the current thread. -// func (connection *DBusConnection) LastSerial() uint32 { var _arg0 *C.GDBusConnection // out var _cret C.guint32 // in @@ -46249,7 +45372,6 @@ func (connection *DBusConnection) LastSerial() uint32 { // // - credentials (optional) or NULL if not available. Do not free this object, // it is owned by connection. -// func (connection *DBusConnection) PeerCredentials() *Credentials { var _arg0 *C.GDBusConnection // out var _cret *C.GCredentials // in @@ -46276,7 +45398,6 @@ func (connection *DBusConnection) PeerCredentials() *Credentials { // The function returns the following values: // // - ioStream: stream used for IO. -// func (connection *DBusConnection) Stream() IOStreamer { var _arg0 *C.GDBusConnection // out var _cret *C.GIOStream // in @@ -46317,7 +45438,6 @@ func (connection *DBusConnection) Stream() IOStreamer { // // - utf8 (optional): unique name or NULL if connection is not a message bus // connection. Do not free this string, it is owned by connection. -// func (connection *DBusConnection) UniqueName() string { var _arg0 *C.GDBusConnection // out var _cret *C.gchar // in @@ -46341,7 +45461,6 @@ func (connection *DBusConnection) UniqueName() string { // The function returns the following values: // // - ok: TRUE if the connection is closed, FALSE otherwise. -// func (connection *DBusConnection) IsClosed() bool { var _arg0 *C.GDBusConnection // out var _cret C.gboolean // in @@ -46375,7 +45494,6 @@ func (connection *DBusConnection) IsClosed() bool { // // - guint: 0 if error is set, otherwise a registration ID (never 0) that can // be used with g_dbus_connection_unregister_object() . -// func (connection *DBusConnection) RegisterObject(objectPath string, interfaceInfo *DBusInterfaceInfo, methodCallClosure, getPropertyClosure, setPropertyClosure coreglib.AnyClosure) (uint, error) { var _arg0 *C.GDBusConnection // out var _arg1 *C.gchar // out @@ -46425,7 +45543,6 @@ func (connection *DBusConnection) RegisterObject(objectPath string, interfaceInf // The function takes the following parameters: // // - filterId: identifier obtained from g_dbus_connection_add_filter(). -// func (connection *DBusConnection) RemoveFilter(filterId uint) { var _arg0 *C.GDBusConnection // out var _arg1 C.guint // out @@ -46468,7 +45585,6 @@ func (connection *DBusConnection) RemoveFilter(filterId uint) { // // - outSerial (optional): return location for serial number assigned to // message when sending it or NULL. -// func (connection *DBusConnection) SendMessage(message *DBusMessage, flags DBusSendMessageFlags) (uint32, error) { var _arg0 *C.GDBusConnection // out var _arg1 *C.GDBusMessage // out @@ -46540,7 +45656,6 @@ func (connection *DBusConnection) SendMessage(message *DBusMessage, flags DBusSe // // - outSerial (optional): return location for serial number assigned to // message when sending it or NULL. -// func (connection *DBusConnection) SendMessageWithReply(ctx context.Context, message *DBusMessage, flags DBusSendMessageFlags, timeoutMsec int, callback AsyncReadyCallback) uint32 { var _arg0 *C.GDBusConnection // out var _arg5 *C.GCancellable // out @@ -46600,7 +45715,6 @@ func (connection *DBusConnection) SendMessageWithReply(ctx context.Context, mess // The function returns the following values: // // - dBusMessage: locked BusMessage or NULL if error is set. -// func (connection *DBusConnection) SendMessageWithReplyFinish(res AsyncResulter) (*DBusMessage, error) { var _arg0 *C.GDBusConnection // out var _arg1 *C.GAsyncResult // out @@ -46668,7 +45782,6 @@ func (connection *DBusConnection) SendMessageWithReplyFinish(res AsyncResulter) // message when sending it or NULL. // - dBusMessage: locked BusMessage that is the reply to message or NULL if // error is set. -// func (connection *DBusConnection) SendMessageWithReplySync(ctx context.Context, message *DBusMessage, flags DBusSendMessageFlags, timeoutMsec int) (uint32, *DBusMessage, error) { var _arg0 *C.GDBusConnection // out var _arg5 *C.GCancellable // out @@ -46723,7 +45836,6 @@ func (connection *DBusConnection) SendMessageWithReplySync(ctx context.Context, // // - exitOnClose: whether the process should be terminated when connection is // closed by the remote peer. -// func (connection *DBusConnection) SetExitOnClose(exitOnClose bool) { var _arg0 *C.GDBusConnection // out var _arg1 C.gboolean // out @@ -46804,7 +45916,6 @@ func (connection *DBusConnection) SetExitOnClose(exitOnClose bool) { // // - guint: subscription identifier that can be used with // g_dbus_connection_signal_unsubscribe(). -// func (connection *DBusConnection) SignalSubscribe(sender, interfaceName, member, objectPath, arg0 string, flags DBusSignalFlags, callback DBusSignalCallback) uint { var _arg0 *C.GDBusConnection // out var _arg1 *C.gchar // out @@ -46874,7 +45985,6 @@ func (connection *DBusConnection) SignalSubscribe(sender, interfaceName, member, // // - subscriptionId: subscription id obtained from // g_dbus_connection_signal_subscribe(). -// func (connection *DBusConnection) SignalUnsubscribe(subscriptionId uint) { var _arg0 *C.GDBusConnection // out var _arg1 C.guint // out @@ -46910,7 +46020,6 @@ func (connection *DBusConnection) StartMessageProcessing() { // The function takes the following parameters: // // - exportId: ID from g_dbus_connection_export_action_group(). -// func (connection *DBusConnection) UnexportActionGroup(exportId uint) { var _arg0 *C.GDBusConnection // out var _arg1 C.guint // out @@ -46933,7 +46042,6 @@ func (connection *DBusConnection) UnexportActionGroup(exportId uint) { // The function takes the following parameters: // // - exportId: ID from g_dbus_connection_export_menu_model(). -// func (connection *DBusConnection) UnexportMenuModel(exportId uint) { var _arg0 *C.GDBusConnection // out var _arg1 C.guint // out @@ -46956,7 +46064,6 @@ func (connection *DBusConnection) UnexportMenuModel(exportId uint) { // The function returns the following values: // // - ok: TRUE if the object was unregistered, FALSE otherwise. -// func (connection *DBusConnection) UnregisterObject(registrationId uint) bool { var _arg0 *C.GDBusConnection // out var _arg1 C.guint // out @@ -46988,7 +46095,6 @@ func (connection *DBusConnection) UnregisterObject(registrationId uint) bool { // The function returns the following values: // // - ok: TRUE if the subtree was unregistered, FALSE otherwise. -// func (connection *DBusConnection) UnregisterSubtree(registrationId uint) bool { var _arg0 *C.GDBusConnection // out var _arg1 C.guint // out @@ -47036,7 +46142,6 @@ func (connection *DBusConnection) UnregisterSubtree(registrationId uint) bool { // - flags describing how to make the connection. // - observer (optional) or NULL. // - callback (optional) to call when the request is satisfied. -// func NewDBusConnection(ctx context.Context, stream IOStreamer, guid string, flags DBusConnectionFlags, observer *DBusAuthObserver, callback AsyncReadyCallback) { var _arg5 *C.GCancellable // out var _arg1 *C.GIOStream // out @@ -47101,7 +46206,6 @@ func NewDBusConnection(ctx context.Context, stream IOStreamer, guid string, flag // - flags describing how to make the connection. // - observer (optional) or NULL. // - callback (optional) to call when the request is satisfied. -// func NewDBusConnectionForAddress(ctx context.Context, address string, flags DBusConnectionFlags, observer *DBusAuthObserver, callback AsyncReadyCallback) { var _arg4 *C.GCancellable // out var _arg1 *C.gchar // out @@ -47151,7 +46255,6 @@ type DBusInterfaceSkeletonOverrides struct { // The function returns the following values: // // - dBusInterfaceInfo (never NULL). Do not free. - // Info func() *DBusInterfaceInfo // Properties gets all D-Bus properties for interface_. // @@ -47159,7 +46262,6 @@ type DBusInterfaceSkeletonOverrides struct { // // - variant of type ['a{sv}'][G-VARIANT-TYPE-VARDICT:CAPS]. Free with // g_variant_unref(). - // Properties func() *glib.Variant } @@ -47297,7 +46399,6 @@ func (interface_ *DBusInterfaceSkeleton) ConnectGAuthorizeMethod(f func(invocati // // - connection to export interface_ on. // - objectPath: path to export the interface at. -// func (interface_ *DBusInterfaceSkeleton) Export(connection *DBusConnection, objectPath string) error { var _arg0 *C.GDBusInterfaceSkeleton // out var _arg1 *C.GDBusConnection // out @@ -47345,7 +46446,6 @@ func (interface_ *DBusInterfaceSkeleton) Flush() { // // - dBusConnection (optional) or NULL if interface_ is not exported anywhere. // Do not free, the object belongs to interface_. -// func (interface_ *DBusInterfaceSkeleton) Connection() *DBusConnection { var _arg0 *C.GDBusInterfaceSkeleton // out var _cret *C.GDBusConnection // in @@ -47371,7 +46471,6 @@ func (interface_ *DBusInterfaceSkeleton) Connection() *DBusConnection { // - list of all the connections that interface_ is exported on. The returned // list should be freed with g_list_free() after each element has been freed // with g_object_unref(). -// func (interface_ *DBusInterfaceSkeleton) Connections() []*DBusConnection { var _arg0 *C.GDBusInterfaceSkeleton // out var _cret *C.GList // in @@ -47401,7 +46500,6 @@ func (interface_ *DBusInterfaceSkeleton) Connections() []*DBusConnection { // // - dBusInterfaceSkeletonFlags: one or more flags from the // BusInterfaceSkeletonFlags enumeration. -// func (interface_ *DBusInterfaceSkeleton) Flags() DBusInterfaceSkeletonFlags { var _arg0 *C.GDBusInterfaceSkeleton // out var _cret C.GDBusInterfaceSkeletonFlags // in @@ -47424,7 +46522,6 @@ func (interface_ *DBusInterfaceSkeleton) Flags() DBusInterfaceSkeletonFlags { // The function returns the following values: // // - dBusInterfaceInfo (never NULL). Do not free. -// func (interface_ *DBusInterfaceSkeleton) Info() *DBusInterfaceInfo { var _arg0 *C.GDBusInterfaceSkeleton // out var _cret *C.GDBusInterfaceInfo // in @@ -47454,7 +46551,6 @@ func (interface_ *DBusInterfaceSkeleton) Info() *DBusInterfaceInfo { // // - utf8 (optional): string owned by interface_ or NULL if interface_ is not // exported anywhere. Do not free, the string belongs to interface_. -// func (interface_ *DBusInterfaceSkeleton) ObjectPath() string { var _arg0 *C.GDBusInterfaceSkeleton // out var _cret *C.gchar // in @@ -47479,7 +46575,6 @@ func (interface_ *DBusInterfaceSkeleton) ObjectPath() string { // // - variant of type ['a{sv}'][G-VARIANT-TYPE-VARDICT:CAPS]. Free with // g_variant_unref(). -// func (interface_ *DBusInterfaceSkeleton) Properties() *glib.Variant { var _arg0 *C.GDBusInterfaceSkeleton // out var _cret *C.GVariant // in @@ -47511,7 +46606,6 @@ func (interface_ *DBusInterfaceSkeleton) Properties() *glib.Variant { // The function returns the following values: // // - ok: TRUE if interface_ is exported on connection, FALSE otherwise. -// func (interface_ *DBusInterfaceSkeleton) HasConnection(connection *DBusConnection) bool { var _arg0 *C.GDBusInterfaceSkeleton // out var _arg1 *C.GDBusConnection // out @@ -47538,7 +46632,6 @@ func (interface_ *DBusInterfaceSkeleton) HasConnection(connection *DBusConnectio // The function takes the following parameters: // // - flags flags from the BusInterfaceSkeletonFlags enumeration. -// func (interface_ *DBusInterfaceSkeleton) SetFlags(flags DBusInterfaceSkeletonFlags) { var _arg0 *C.GDBusInterfaceSkeleton // out var _arg1 C.GDBusInterfaceSkeletonFlags // out @@ -47572,7 +46665,6 @@ func (interface_ *DBusInterfaceSkeleton) Unexport() { // The function takes the following parameters: // // - connection: BusConnection. -// func (interface_ *DBusInterfaceSkeleton) UnexportFromConnection(connection *DBusConnection) { var _arg0 *C.GDBusInterfaceSkeleton // out var _arg1 *C.GDBusConnection // out @@ -47634,7 +46726,6 @@ func (interface_ *DBusInterfaceSkeleton) gAuthorizeMethod(invocation *DBusMethod // The function returns the following values: // // - dBusInterfaceInfo (never NULL). Do not free. -// func (interface_ *DBusInterfaceSkeleton) info() *DBusInterfaceInfo { gclass := (*C.GDBusInterfaceSkeletonClass)(coreglib.PeekParentClass(interface_)) fnarg := gclass.get_info @@ -47667,7 +46758,6 @@ func (interface_ *DBusInterfaceSkeleton) info() *DBusInterfaceInfo { // // - variant of type ['a{sv}'][G-VARIANT-TYPE-VARDICT:CAPS]. Free with // g_variant_unref(). -// func (interface_ *DBusInterfaceSkeleton) properties() *glib.Variant { gclass := (*C.GDBusInterfaceSkeletonClass)(coreglib.PeekParentClass(interface_)) fnarg := gclass.get_properties @@ -47736,7 +46826,6 @@ func marshalDBusMenuModel(p uintptr) (interface{}, error) { // The function returns the following values: // // - dBusMenuModel object. Free with g_object_unref(). -// func DBusMenuModelGet(connection *DBusConnection, busName, objectPath string) *DBusMenuModel { var _arg1 *C.GDBusConnection // out var _arg2 *C.gchar // out @@ -47789,7 +46878,6 @@ func marshalDBusMessage(p uintptr) (interface{}, error) { // The function returns the following values: // // - dBusMessage Free with g_object_unref(). -// func NewDBusMessage() *DBusMessage { var _cret *C.GDBusMessage // in @@ -47818,7 +46906,6 @@ func NewDBusMessage() *DBusMessage { // // - dBusMessage: new BusMessage or NULL if error is set. Free with // g_object_unref(). -// func NewDBusMessageFromBlob(blob []byte, capabilities DBusCapabilityFlags) (*DBusMessage, error) { var _arg1 *C.guchar // out var _arg2 C.gsize @@ -47859,7 +46946,6 @@ func NewDBusMessageFromBlob(blob []byte, capabilities DBusCapabilityFlags) (*DBu // The function returns the following values: // // - dBusMessage Free with g_object_unref(). -// func NewDBusMessageMethodCall(name, path, interface_, method string) *DBusMessage { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -47904,7 +46990,6 @@ func NewDBusMessageMethodCall(name, path, interface_, method string) *DBusMessag // The function returns the following values: // // - dBusMessage Free with g_object_unref(). -// func NewDBusMessageSignal(path, interface_, signal string) *DBusMessage { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -47940,7 +47025,6 @@ func NewDBusMessageSignal(path, interface_, signal string) *DBusMessage { // // - dBusMessage: new BusMessage or NULL if error is set. Free with // g_object_unref(). -// func (message *DBusMessage) Copy() (*DBusMessage, error) { var _arg0 *C.GDBusMessage // out var _cret *C.GDBusMessage // in @@ -47968,7 +47052,6 @@ func (message *DBusMessage) Copy() (*DBusMessage, error) { // // - utf8 (optional): string item or NULL if the first item in the body of // message is not a string. -// func (message *DBusMessage) Arg0() string { var _arg0 *C.GDBusMessage // out var _cret *C.gchar // in @@ -47993,7 +47076,6 @@ func (message *DBusMessage) Arg0() string { // // - variant (optional) or NULL if the body is empty. Do not free, it is owned // by message. -// func (message *DBusMessage) Body() *glib.Variant { var _arg0 *C.GDBusMessage // out var _cret *C.GVariant // in @@ -48024,7 +47106,6 @@ func (message *DBusMessage) Body() *glib.Variant { // The function returns the following values: // // - dBusMessageByteOrder: byte order. -// func (message *DBusMessage) ByteOrder() DBusMessageByteOrder { var _arg0 *C.GDBusMessage // out var _cret C.GDBusMessageByteOrder // in @@ -48047,7 +47128,6 @@ func (message *DBusMessage) ByteOrder() DBusMessageByteOrder { // The function returns the following values: // // - utf8 (optional): value. -// func (message *DBusMessage) Destination() string { var _arg0 *C.GDBusMessage // out var _cret *C.gchar // in @@ -48072,7 +47152,6 @@ func (message *DBusMessage) Destination() string { // The function returns the following values: // // - utf8 (optional): value. -// func (message *DBusMessage) ErrorName() string { var _arg0 *C.GDBusMessage // out var _cret *C.gchar // in @@ -48097,7 +47176,6 @@ func (message *DBusMessage) ErrorName() string { // // - dBusMessageFlags flags that are set (typically values from the // BusMessageFlags enumeration bitwise ORed together). -// func (message *DBusMessage) Flags() DBusMessageFlags { var _arg0 *C.GDBusMessage // out var _cret C.GDBusMessageFlags // in @@ -48128,7 +47206,6 @@ func (message *DBusMessage) Flags() DBusMessageFlags { // // - variant (optional) with the value if the header was found, NULL // otherwise. Do not free, it is owned by message. -// func (message *DBusMessage) Header(headerField DBusMessageHeaderField) *glib.Variant { var _arg0 *C.GDBusMessage // out var _arg1 C.GDBusMessageHeaderField // out @@ -48164,7 +47241,6 @@ func (message *DBusMessage) Header(headerField DBusMessageHeaderField) *glib.Var // - guint8s: array of header fields terminated by // G_DBUS_MESSAGE_HEADER_FIELD_INVALID. Each element is a #guchar. Free with // g_free(). -// func (message *DBusMessage) HeaderFields() []byte { var _arg0 *C.GDBusMessage // out var _cret *C.guchar // in @@ -48199,7 +47275,6 @@ func (message *DBusMessage) HeaderFields() []byte { // The function returns the following values: // // - utf8 (optional): value. -// func (message *DBusMessage) Interface() string { var _arg0 *C.GDBusMessage // out var _cret *C.gchar // in @@ -48225,7 +47300,6 @@ func (message *DBusMessage) Interface() string { // The function returns the following values: // // - ok: TRUE if message is locked, FALSE otherwise. -// func (message *DBusMessage) Locked() bool { var _arg0 *C.GDBusMessage // out var _cret C.gboolean // in @@ -48250,7 +47324,6 @@ func (message *DBusMessage) Locked() bool { // The function returns the following values: // // - utf8 (optional): value. -// func (message *DBusMessage) Member() string { var _arg0 *C.GDBusMessage // out var _cret *C.gchar // in @@ -48275,7 +47348,6 @@ func (message *DBusMessage) Member() string { // // - dBusMessageType: 8-bit unsigned integer (typically a value from the // BusMessageType enumeration). -// func (message *DBusMessage) MessageType() DBusMessageType { var _arg0 *C.GDBusMessage // out var _cret C.GDBusMessageType // in @@ -48298,7 +47370,6 @@ func (message *DBusMessage) MessageType() DBusMessageType { // The function returns the following values: // // - utf8 (optional): value. -// func (message *DBusMessage) Path() string { var _arg0 *C.GDBusMessage // out var _cret *C.gchar // in @@ -48323,7 +47394,6 @@ func (message *DBusMessage) Path() string { // The function returns the following values: // // - guint32: value. -// func (message *DBusMessage) ReplySerial() uint32 { var _arg0 *C.GDBusMessage // out var _cret C.guint32 // in @@ -48346,7 +47416,6 @@ func (message *DBusMessage) ReplySerial() uint32 { // The function returns the following values: // // - utf8 (optional): value. -// func (message *DBusMessage) Sender() string { var _arg0 *C.GDBusMessage // out var _cret *C.gchar // in @@ -48370,7 +47439,6 @@ func (message *DBusMessage) Sender() string { // The function returns the following values: // // - guint32: #guint32. -// func (message *DBusMessage) Serial() uint32 { var _arg0 *C.GDBusMessage // out var _cret C.guint32 // in @@ -48393,7 +47461,6 @@ func (message *DBusMessage) Serial() uint32 { // The function returns the following values: // // - utf8: value. -// func (message *DBusMessage) Signature() string { var _arg0 *C.GDBusMessage // out var _cret *C.gchar // in @@ -48431,7 +47498,6 @@ func (message *DBusMessage) Lock() { // The function returns the following values: // // - dBusMessage Free with g_object_unref(). -// func (methodCallMessage *DBusMessage) NewMethodErrorLiteral(errorName, errorMessage string) *DBusMessage { var _arg0 *C.GDBusMessage // out var _arg1 *C.gchar // out @@ -48462,7 +47528,6 @@ func (methodCallMessage *DBusMessage) NewMethodErrorLiteral(errorName, errorMess // The function returns the following values: // // - dBusMessage Free with g_object_unref(). -// func (methodCallMessage *DBusMessage) NewMethodReply() *DBusMessage { var _arg0 *C.GDBusMessage // out var _cret *C.GDBusMessage // in @@ -48485,31 +47550,31 @@ func (methodCallMessage *DBusMessage) NewMethodReply() *DBusMessage { // formatting is subject to change at any time. Typical output looks something // like this: // -// Flags: none -// Version: 0 -// Serial: 4 -// Headers: -// path -> objectpath '/org/gtk/GDBus/TestObject' -// interface -> 'org.gtk.GDBus.TestInterface' -// member -> 'GimmeStdout' -// destination -> ':1.146' -// Body: () -// UNIX File Descriptors: -// (none) +// Flags: none +// Version: 0 +// Serial: 4 +// Headers: +// path -> objectpath '/org/gtk/GDBus/TestObject' +// interface -> 'org.gtk.GDBus.TestInterface' +// member -> 'GimmeStdout' +// destination -> ':1.146' +// Body: () +// UNIX File Descriptors: +// (none) // // or // -// Flags: no-reply-expected -// Version: 0 -// Serial: 477 -// Headers: -// reply-serial -> uint32 4 -// destination -> ':1.159' -// sender -> ':1.146' -// num-unix-fds -> uint32 1 -// Body: () -// UNIX File Descriptors: -// fd 12: dev=0:10,mode=020620,ino=5,uid=500,gid=5,rdev=136:2,size=0,atime=1273085037,mtime=1273085851,ctime=1272982635. +// Flags: no-reply-expected +// Version: 0 +// Serial: 477 +// Headers: +// reply-serial -> uint32 4 +// destination -> ':1.159' +// sender -> ':1.146' +// num-unix-fds -> uint32 1 +// Body: () +// UNIX File Descriptors: +// fd 12: dev=0:10,mode=020620,ino=5,uid=500,gid=5,rdev=136:2,size=0,atime=1273085037,mtime=1273085851,ctime=1272982635. // // The function takes the following parameters: // @@ -48518,7 +47583,6 @@ func (methodCallMessage *DBusMessage) NewMethodReply() *DBusMessage { // The function returns the following values: // // - utf8: string that should be freed with g_free(). -// func (message *DBusMessage) Print(indent uint) string { var _arg0 *C.GDBusMessage // out var _arg1 C.guint // out @@ -48548,7 +47612,6 @@ func (message *DBusMessage) Print(indent uint) string { // The function takes the following parameters: // // - body: either NULL or a #GVariant that is a tuple. -// func (message *DBusMessage) SetBody(body *glib.Variant) { var _arg0 *C.GDBusMessage // out var _arg1 *C.GVariant // out @@ -48566,7 +47629,6 @@ func (message *DBusMessage) SetBody(body *glib.Variant) { // The function takes the following parameters: // // - byteOrder: byte order. -// func (message *DBusMessage) SetByteOrder(byteOrder DBusMessageByteOrder) { var _arg0 *C.GDBusMessage // out var _arg1 C.GDBusMessageByteOrder // out @@ -48585,7 +47647,6 @@ func (message *DBusMessage) SetByteOrder(byteOrder DBusMessageByteOrder) { // The function takes the following parameters: // // - value (optional) to set. -// func (message *DBusMessage) SetDestination(value string) { var _arg0 *C.GDBusMessage // out var _arg1 *C.gchar // out @@ -48607,7 +47668,6 @@ func (message *DBusMessage) SetDestination(value string) { // The function takes the following parameters: // // - value to set. -// func (message *DBusMessage) SetErrorName(value string) { var _arg0 *C.GDBusMessage // out var _arg1 *C.gchar // out @@ -48629,7 +47689,6 @@ func (message *DBusMessage) SetErrorName(value string) { // // - flags flags for message that are set (typically values from the // BusMessageFlags enumeration bitwise ORed together). -// func (message *DBusMessage) SetFlags(flags DBusMessageFlags) { var _arg0 *C.GDBusMessage // out var _arg1 C.GDBusMessageFlags // out @@ -48652,7 +47711,6 @@ func (message *DBusMessage) SetFlags(flags DBusMessageFlags) { // BusMessageHeaderField enumeration). // - value (optional) to set the header field or NULL to clear the header // field. -// func (message *DBusMessage) SetHeader(headerField DBusMessageHeaderField, value *glib.Variant) { var _arg0 *C.GDBusMessage // out var _arg1 C.GDBusMessageHeaderField // out @@ -48676,7 +47734,6 @@ func (message *DBusMessage) SetHeader(headerField DBusMessageHeaderField, value // The function takes the following parameters: // // - value (optional) to set. -// func (message *DBusMessage) SetInterface(value string) { var _arg0 *C.GDBusMessage // out var _arg1 *C.gchar // out @@ -48698,7 +47755,6 @@ func (message *DBusMessage) SetInterface(value string) { // The function takes the following parameters: // // - value (optional) to set. -// func (message *DBusMessage) SetMember(value string) { var _arg0 *C.GDBusMessage // out var _arg1 *C.gchar // out @@ -48720,7 +47776,6 @@ func (message *DBusMessage) SetMember(value string) { // // - typ: 8-bit unsigned integer (typically a value from the BusMessageType // enumeration). -// func (message *DBusMessage) SetMessageType(typ DBusMessageType) { var _arg0 *C.GDBusMessage // out var _arg1 C.GDBusMessageType // out @@ -48739,7 +47794,6 @@ func (message *DBusMessage) SetMessageType(typ DBusMessageType) { // The function takes the following parameters: // // - value (optional) to set. -// func (message *DBusMessage) SetPath(value string) { var _arg0 *C.GDBusMessage // out var _arg1 *C.gchar // out @@ -48761,7 +47815,6 @@ func (message *DBusMessage) SetPath(value string) { // The function takes the following parameters: // // - value to set. -// func (message *DBusMessage) SetReplySerial(value uint32) { var _arg0 *C.GDBusMessage // out var _arg1 C.guint32 // out @@ -48780,7 +47833,6 @@ func (message *DBusMessage) SetReplySerial(value uint32) { // The function takes the following parameters: // // - value (optional) to set. -// func (message *DBusMessage) SetSender(value string) { var _arg0 *C.GDBusMessage // out var _arg1 *C.gchar // out @@ -48801,7 +47853,6 @@ func (message *DBusMessage) SetSender(value string) { // The function takes the following parameters: // // - serial: #guint32. -// func (message *DBusMessage) SetSerial(serial uint32) { var _arg0 *C.GDBusMessage // out var _arg1 C.guint32 // out @@ -48820,7 +47871,6 @@ func (message *DBusMessage) SetSerial(serial uint32) { // The function takes the following parameters: // // - value (optional) to set. -// func (message *DBusMessage) SetSignature(value string) { var _arg0 *C.GDBusMessage // out var _arg1 *C.gchar // out @@ -48847,7 +47897,6 @@ func (message *DBusMessage) SetSignature(value string) { // // - guint8s: pointer to a valid binary D-Bus message of out_size bytes // generated by message or NULL if error is set. Free with g_free(). -// func (message *DBusMessage) ToBlob(capabilities DBusCapabilityFlags) ([]byte, error) { var _arg0 *C.GDBusMessage // out var _arg2 C.GDBusCapabilityFlags // out @@ -48912,7 +47961,6 @@ func (message *DBusMessage) ToGError() error { // - gssize: number of bytes needed or -1 if error is set (e.g. if blob // contains invalid data or not enough data is available to determine the // size). -// func DBusMessageBytesNeeded(blob []byte) (int, error) { var _arg1 *C.guchar // out var _arg2 C.gsize @@ -48969,7 +48017,6 @@ func marshalDBusMethodInvocation(p uintptr) (interface{}, error) { // The function returns the following values: // // - dBusConnection Do not free, it is owned by invocation. -// func (invocation *DBusMethodInvocation) Connection() *DBusConnection { var _arg0 *C.GDBusMethodInvocation // out var _cret *C.GDBusConnection // in @@ -48995,7 +48042,6 @@ func (invocation *DBusMethodInvocation) Connection() *DBusConnection { // The function returns the following values: // // - utf8: string. Do not free, it is owned by invocation. -// func (invocation *DBusMethodInvocation) InterfaceName() string { var _arg0 *C.GDBusMethodInvocation // out var _cret *C.gchar // in @@ -49023,7 +48069,6 @@ func (invocation *DBusMethodInvocation) InterfaceName() string { // The function returns the following values: // // - dBusMessage Do not free, it is owned by invocation. -// func (invocation *DBusMethodInvocation) Message() *DBusMessage { var _arg0 *C.GDBusMethodInvocation // out var _cret *C.GDBusMessage // in @@ -49051,7 +48096,6 @@ func (invocation *DBusMethodInvocation) Message() *DBusMessage { // // - dBusMethodInfo (optional) or NULL. Do not free, it is owned by // invocation. -// func (invocation *DBusMethodInvocation) MethodInfo() *DBusMethodInfo { var _arg0 *C.GDBusMethodInvocation // out var _cret *C.GDBusMethodInfo // in @@ -49082,7 +48126,6 @@ func (invocation *DBusMethodInvocation) MethodInfo() *DBusMethodInfo { // The function returns the following values: // // - utf8: string. Do not free, it is owned by invocation. -// func (invocation *DBusMethodInvocation) MethodName() string { var _arg0 *C.GDBusMethodInvocation // out var _cret *C.gchar // in @@ -49104,7 +48147,6 @@ func (invocation *DBusMethodInvocation) MethodName() string { // The function returns the following values: // // - utf8: string. Do not free, it is owned by invocation. -// func (invocation *DBusMethodInvocation) ObjectPath() string { var _arg0 *C.GDBusMethodInvocation // out var _cret *C.gchar // in @@ -49128,7 +48170,6 @@ func (invocation *DBusMethodInvocation) ObjectPath() string { // The function returns the following values: // // - variant tuple. Do not unref this because it is owned by invocation. -// func (invocation *DBusMethodInvocation) Parameters() *glib.Variant { var _arg0 *C.GDBusMethodInvocation // out var _cret *C.GVariant // in @@ -49167,7 +48208,6 @@ func (invocation *DBusMethodInvocation) Parameters() *glib.Variant { // The function returns the following values: // // - dBusPropertyInfo (optional) or NULL. -// func (invocation *DBusMethodInvocation) PropertyInfo() *DBusPropertyInfo { var _arg0 *C.GDBusMethodInvocation // out var _cret *C.GDBusPropertyInfo // in @@ -49198,7 +48238,6 @@ func (invocation *DBusMethodInvocation) PropertyInfo() *DBusPropertyInfo { // The function returns the following values: // // - utf8: string. Do not free, it is owned by invocation. -// func (invocation *DBusMethodInvocation) Sender() string { var _arg0 *C.GDBusMethodInvocation // out var _cret *C.gchar // in @@ -49224,7 +48263,6 @@ func (invocation *DBusMethodInvocation) Sender() string { // // - errorName: valid D-Bus error name. // - errorMessage: valid D-Bus error message. -// func (invocation *DBusMethodInvocation) ReturnDBusError(errorName, errorMessage string) { var _arg0 *C.GDBusMethodInvocation // out var _arg1 *C.gchar // out @@ -49254,7 +48292,6 @@ func (invocation *DBusMethodInvocation) ReturnDBusError(errorName, errorMessage // - domain for the #GError error domain. // - code: error code. // - message: error message. -// func (invocation *DBusMethodInvocation) ReturnErrorLiteral(domain glib.Quark, code int, message string) { var _arg0 *C.GDBusMethodInvocation // out var _arg1 C.GQuark // out @@ -49286,7 +48323,6 @@ func (invocation *DBusMethodInvocation) ReturnErrorLiteral(domain glib.Quark, co // The function takes the following parameters: // // - err: #GError. -// func (invocation *DBusMethodInvocation) ReturnGError(err error) { var _arg0 *C.GDBusMethodInvocation // out var _arg1 *C.GError // out @@ -49310,19 +48346,19 @@ func (invocation *DBusMethodInvocation) ReturnGError(err error) { // single out-parameter, it must be contained in a tuple. If the method has no // out-parameters, parameters may be NULL or an empty tuple. // -// GDBusMethodInvocation *invocation = some_invocation; -// g_autofree gchar *result_string = NULL; -// g_autoptr (GError) error = NULL; +// GDBusMethodInvocation *invocation = some_invocation; +// g_autofree gchar *result_string = NULL; +// g_autoptr (GError) error = NULL; // -// result_string = calculate_result (&error); +// result_string = calculate_result (&error); // -// if (error != NULL) -// g_dbus_method_invocation_return_gerror (invocation, error); -// else -// g_dbus_method_invocation_return_value (invocation, -// g_variant_new ("(s)", result_string)); +// if (error != NULL) +// g_dbus_method_invocation_return_gerror (invocation, error); +// else +// g_dbus_method_invocation_return_value (invocation, +// g_variant_new ("(s)", result_string)); // -// // Do not free invocation here; returning a value does that +// // Do not free invocation here; returning a value does that // // This method will take ownership of invocation. See BusInterfaceVTable for // more information about the ownership of invocation. @@ -49335,7 +48371,6 @@ func (invocation *DBusMethodInvocation) ReturnGError(err error) { // // - parameters (optional) tuple with out parameters for the method or NULL if // not passing any parameters. -// func (invocation *DBusMethodInvocation) ReturnValue(parameters *glib.Variant) { var _arg0 *C.GDBusMethodInvocation // out var _arg1 *C.GVariant // out @@ -49360,7 +48395,6 @@ type DBusObjectManagerClientOverrides struct { // - senderName // - signalName // - parameters - // InterfaceProxySignal func(objectProxy *DBusObjectProxy, interfaceProxy *DBusProxy, senderName, signalName string, parameters *glib.Variant) } @@ -49526,7 +48560,6 @@ func (manager *DBusObjectManagerClient) ConnectInterfaceProxySignal(f func(objec // // - dBusObjectManagerClient: a BusObjectManagerClient object or NULL if error // is set. Free with g_object_unref(). -// func NewDBusObjectManagerClientFinish(res AsyncResulter) (*DBusObjectManagerClient, error) { var _arg1 *C.GAsyncResult // out var _cret *C.GDBusObjectManager // in @@ -49560,7 +48593,6 @@ func NewDBusObjectManagerClientFinish(res AsyncResulter) (*DBusObjectManagerClie // // - dBusObjectManagerClient: a BusObjectManagerClient object or NULL if error // is set. Free with g_object_unref(). -// func NewDBusObjectManagerClientForBusFinish(res AsyncResulter) (*DBusObjectManagerClient, error) { var _arg1 *C.GAsyncResult // out var _cret *C.GDBusObjectManager // in @@ -49605,7 +48637,6 @@ func NewDBusObjectManagerClientForBusFinish(res AsyncResulter) (*DBusObjectManag // // - dBusObjectManagerClient: a BusObjectManagerClient object or NULL if error // is set. Free with g_object_unref(). -// func NewDBusObjectManagerClientForBusSync(ctx context.Context, busType BusType, flags DBusObjectManagerClientFlags, name, objectPath string, getProxyTypeFunc DBusProxyTypeFunc) (*DBusObjectManagerClient, error) { var _arg8 *C.GCancellable // out var _arg1 C.GBusType // out @@ -49676,7 +48707,6 @@ func NewDBusObjectManagerClientForBusSync(ctx context.Context, busType BusType, // // - dBusObjectManagerClient: a BusObjectManagerClient object or NULL if error // is set. Free with g_object_unref(). -// func NewDBusObjectManagerClientSync(ctx context.Context, connection *DBusConnection, flags DBusObjectManagerClientFlags, name, objectPath string, getProxyTypeFunc DBusProxyTypeFunc) (*DBusObjectManagerClient, error) { var _arg8 *C.GCancellable // out var _arg1 *C.GDBusConnection // out @@ -49732,7 +48762,6 @@ func NewDBusObjectManagerClientSync(ctx context.Context, connection *DBusConnect // The function returns the following values: // // - dBusConnection object. Do not free, the object belongs to manager. -// func (manager *DBusObjectManagerClient) Connection() *DBusConnection { var _arg0 *C.GDBusObjectManagerClient // out var _cret *C.GDBusConnection // in @@ -49755,7 +48784,6 @@ func (manager *DBusObjectManagerClient) Connection() *DBusConnection { // // - dBusObjectManagerClientFlags: zero of more flags from the // BusObjectManagerClientFlags enumeration. -// func (manager *DBusObjectManagerClient) Flags() DBusObjectManagerClientFlags { var _arg0 *C.GDBusObjectManagerClient // out var _cret C.GDBusObjectManagerClientFlags // in @@ -49779,7 +48807,6 @@ func (manager *DBusObjectManagerClient) Flags() DBusObjectManagerClientFlags { // // - utf8: unique or well-known name. Do not free, the string belongs to // manager. -// func (manager *DBusObjectManagerClient) Name() string { var _arg0 *C.GDBusObjectManagerClient // out var _cret *C.gchar // in @@ -49804,7 +48831,6 @@ func (manager *DBusObjectManagerClient) Name() string { // // - utf8 (optional): name owner or NULL if no name owner exists. Free with // g_free(). -// func (manager *DBusObjectManagerClient) NameOwner() string { var _arg0 *C.GDBusObjectManagerClient // out var _cret *C.gchar // in @@ -49831,7 +48857,6 @@ func (manager *DBusObjectManagerClient) NameOwner() string { // - senderName // - signalName // - parameters -// func (manager *DBusObjectManagerClient) interfaceProxySignal(objectProxy *DBusObjectProxy, interfaceProxy *DBusProxy, senderName, signalName string, parameters *glib.Variant) { gclass := (*C.GDBusObjectManagerClientClass)(coreglib.PeekParentClass(manager)) fnarg := gclass.interface_proxy_signal @@ -49882,7 +48907,6 @@ func (manager *DBusObjectManagerClient) interfaceProxySignal(objectProxy *DBusOb // - getProxyTypeFunc (optional) function or NULL to always construct BusProxy // proxies. // - callback (optional) to call when the request is satisfied. -// func NewDBusObjectManagerClient(ctx context.Context, connection *DBusConnection, flags DBusObjectManagerClientFlags, name, objectPath string, getProxyTypeFunc DBusProxyTypeFunc, callback AsyncReadyCallback) { var _arg8 *C.GCancellable // out var _arg1 *C.GDBusConnection // out @@ -49947,7 +48971,6 @@ func NewDBusObjectManagerClient(ctx context.Context, connection *DBusConnection, // - getProxyTypeFunc (optional) function or NULL to always construct BusProxy // proxies. // - callback (optional) to call when the request is satisfied. -// func NewDBusObjectManagerClientForBus(ctx context.Context, busType BusType, flags DBusObjectManagerClientFlags, name, objectPath string, getProxyTypeFunc DBusProxyTypeFunc, callback AsyncReadyCallback) { var _arg8 *C.GCancellable // out var _arg1 C.GBusType // out @@ -50074,7 +49097,6 @@ func marshalDBusObjectManagerServer(p uintptr) (interface{}, error) { // The function returns the following values: // // - dBusObjectManagerServer object. Free with g_object_unref(). -// func NewDBusObjectManagerServer(objectPath string) *DBusObjectManagerServer { var _arg1 *C.gchar // out var _cret *C.GDBusObjectManagerServer // in @@ -50106,7 +49128,6 @@ func NewDBusObjectManagerServer(objectPath string) *DBusObjectManagerServer { // The function takes the following parameters: // // - object: BusObjectSkeleton. -// func (manager *DBusObjectManagerServer) Export(object *DBusObjectSkeleton) { var _arg0 *C.GDBusObjectManagerServer // out var _arg1 *C.GDBusObjectSkeleton // out @@ -50127,7 +49148,6 @@ func (manager *DBusObjectManagerServer) Export(object *DBusObjectSkeleton) { // The function takes the following parameters: // // - object: object. -// func (manager *DBusObjectManagerServer) ExportUniquely(object *DBusObjectSkeleton) { var _arg0 *C.GDBusObjectManagerServer // out var _arg1 *C.GDBusObjectSkeleton // out @@ -50146,7 +49166,6 @@ func (manager *DBusObjectManagerServer) ExportUniquely(object *DBusObjectSkeleto // // - dBusConnection object or NULL if manager isn't exported on a connection. // The returned object should be freed with g_object_unref(). -// func (manager *DBusObjectManagerServer) Connection() *DBusConnection { var _arg0 *C.GDBusObjectManagerServer // out var _cret *C.GDBusConnection // in @@ -50172,7 +49191,6 @@ func (manager *DBusObjectManagerServer) Connection() *DBusConnection { // The function returns the following values: // // - ok: TRUE if object is exported. -// func (manager *DBusObjectManagerServer) IsExported(object *DBusObjectSkeleton) bool { var _arg0 *C.GDBusObjectManagerServer // out var _arg1 *C.GDBusObjectSkeleton // out @@ -50200,7 +49218,6 @@ func (manager *DBusObjectManagerServer) IsExported(object *DBusObjectSkeleton) b // The function takes the following parameters: // // - connection (optional) or NULL. -// func (manager *DBusObjectManagerServer) SetConnection(connection *DBusConnection) { var _arg0 *C.GDBusObjectManagerServer // out var _arg1 *C.GDBusConnection // out @@ -50228,7 +49245,6 @@ func (manager *DBusObjectManagerServer) SetConnection(connection *DBusConnection // The function returns the following values: // // - ok: TRUE if object at object_path was removed, FALSE otherwise. -// func (manager *DBusObjectManagerServer) Unexport(objectPath string) bool { var _arg0 *C.GDBusObjectManagerServer // out var _arg1 *C.gchar // out @@ -50313,7 +49329,6 @@ func marshalDBusObjectProxy(p uintptr) (interface{}, error) { // The function returns the following values: // // - dBusObjectProxy: new BusObjectProxy. -// func NewDBusObjectProxy(connection *DBusConnection, objectPath string) *DBusObjectProxy { var _arg1 *C.GDBusConnection // out var _arg2 *C.gchar // out @@ -50339,7 +49354,6 @@ func NewDBusObjectProxy(connection *DBusConnection, objectPath string) *DBusObje // The function returns the following values: // // - dBusConnection Do not free, the object is owned by proxy. -// func (proxy *DBusObjectProxy) Connection() *DBusConnection { var _arg0 *C.GDBusObjectProxy // out var _cret *C.GDBusConnection // in @@ -50362,7 +49376,6 @@ type DBusObjectSkeletonOverrides struct { // // - interface_ // - invocation - // AuthorizeMethod func(interface_ DBusInterfaceSkeletonner, invocation *DBusMethodInvocation) bool } @@ -50444,7 +49457,6 @@ func (object *DBusObjectSkeleton) ConnectAuthorizeMethod(f func(iface DBusInterf // The function returns the following values: // // - dBusObjectSkeleton Free with g_object_unref(). -// func NewDBusObjectSkeleton(objectPath string) *DBusObjectSkeleton { var _arg1 *C.gchar // out var _cret *C.GDBusObjectSkeleton // in @@ -50473,7 +49485,6 @@ func NewDBusObjectSkeleton(objectPath string) *DBusObjectSkeleton { // The function takes the following parameters: // // - interface_: BusInterfaceSkeleton. -// func (object *DBusObjectSkeleton) AddInterface(interface_ DBusInterfaceSkeletonner) { var _arg0 *C.GDBusObjectSkeleton // out var _arg1 *C.GDBusInterfaceSkeleton // out @@ -50502,7 +49513,6 @@ func (object *DBusObjectSkeleton) Flush() { // The function takes the following parameters: // // - interface_: BusInterfaceSkeleton. -// func (object *DBusObjectSkeleton) RemoveInterface(interface_ DBusInterfaceSkeletonner) { var _arg0 *C.GDBusObjectSkeleton // out var _arg1 *C.GDBusInterfaceSkeleton // out @@ -50524,7 +49534,6 @@ func (object *DBusObjectSkeleton) RemoveInterface(interface_ DBusInterfaceSkelet // The function takes the following parameters: // // - interfaceName d-Bus interface name. -// func (object *DBusObjectSkeleton) RemoveInterfaceByName(interfaceName string) { var _arg0 *C.GDBusObjectSkeleton // out var _arg1 *C.gchar // out @@ -50543,7 +49552,6 @@ func (object *DBusObjectSkeleton) RemoveInterfaceByName(interfaceName string) { // The function takes the following parameters: // // - objectPath: valid D-Bus object path. -// func (object *DBusObjectSkeleton) SetObjectPath(objectPath string) { var _arg0 *C.GDBusObjectSkeleton // out var _arg1 *C.gchar // out @@ -50561,7 +49569,6 @@ func (object *DBusObjectSkeleton) SetObjectPath(objectPath string) { // // - interface_ // - invocation -// func (object *DBusObjectSkeleton) authorizeMethod(interface_ DBusInterfaceSkeletonner, invocation *DBusMethodInvocation) bool { gclass := (*C.GDBusObjectSkeletonClass)(coreglib.PeekParentClass(object)) fnarg := gclass.authorize_method @@ -50596,7 +49603,6 @@ type DBusProxyOverrides struct { // - senderName // - signalName // - parameters - // GSignal func(senderName, signalName string, parameters *glib.Variant) } @@ -50726,7 +49732,6 @@ func (proxy *DBusProxy) ConnectGSignal(f func(senderName, signalName string, par // The function returns the following values: // // - dBusProxy or NULL if error is set. Free with g_object_unref(). -// func NewDBusProxyFinish(res AsyncResulter) (*DBusProxy, error) { var _arg1 *C.GAsyncResult // out var _cret *C.GDBusProxy // in @@ -50758,7 +49763,6 @@ func NewDBusProxyFinish(res AsyncResulter) (*DBusProxy, error) { // The function returns the following values: // // - dBusProxy or NULL if error is set. Free with g_object_unref(). -// func NewDBusProxyForBusFinish(res AsyncResulter) (*DBusProxy, error) { var _arg1 *C.GAsyncResult // out var _cret *C.GDBusProxy // in @@ -50799,7 +49803,6 @@ func NewDBusProxyForBusFinish(res AsyncResulter) (*DBusProxy, error) { // The function returns the following values: // // - dBusProxy or NULL if error is set. Free with g_object_unref(). -// func NewDBusProxyForBusSync(ctx context.Context, busType BusType, flags DBusProxyFlags, info *DBusInterfaceInfo, name, objectPath, interfaceName string) (*DBusProxy, error) { var _arg7 *C.GCancellable // out var _arg1 C.GBusType // out @@ -50886,7 +49889,6 @@ func NewDBusProxyForBusSync(ctx context.Context, busType BusType, flags DBusProx // The function returns the following values: // // - dBusProxy or NULL if error is set. Free with g_object_unref(). -// func NewDBusProxySync(ctx context.Context, connection *DBusConnection, flags DBusProxyFlags, info *DBusInterfaceInfo, name, objectPath, interfaceName string) (*DBusProxy, error) { var _arg7 *C.GCancellable // out var _arg1 *C.GDBusConnection // out @@ -50952,16 +49954,16 @@ func NewDBusProxySync(ctx context.Context, connection *DBusConnection, flags DBu // If the parameters #GVariant is floating, it is consumed. This allows // convenient 'inline' use of g_variant_new(), e.g.: // -// g_dbus_proxy_call (proxy, -// "TwoStrings", -// g_variant_new ("(ss)", -// "Thing One", -// "Thing Two"), -// G_DBUS_CALL_FLAGS_NONE, -// -1, -// NULL, -// (GAsyncReadyCallback) two_strings_done, -// &data); +// g_dbus_proxy_call (proxy, +// "TwoStrings", +// g_variant_new ("(ss)", +// "Thing One", +// "Thing Two"), +// G_DBUS_CALL_FLAGS_NONE, +// -1, +// NULL, +// (GAsyncReadyCallback) two_strings_done, +// &data); // // If proxy has an expected interface (see BusProxy:g-interface-info) and // method_name is referenced by it, then the return value is checked against the @@ -50988,7 +49990,6 @@ func NewDBusProxySync(ctx context.Context, connection *DBusConnection, flags DBu // or -1 to use the proxy default timeout. // - callback (optional) to call when the request is satisfied or NULL if you // don't care about the result of the method invocation. -// func (proxy *DBusProxy) Call(ctx context.Context, methodName string, parameters *glib.Variant, flags DBusCallFlags, timeoutMsec int, callback AsyncReadyCallback) { var _arg0 *C.GDBusProxy // out var _arg5 *C.GCancellable // out @@ -51037,7 +50038,6 @@ func (proxy *DBusProxy) Call(ctx context.Context, methodName string, parameters // // - variant: NULL if error is set. Otherwise a #GVariant tuple with return // values. Free with g_variant_unref(). -// func (proxy *DBusProxy) CallFinish(res AsyncResulter) (*glib.Variant, error) { var _arg0 *C.GDBusProxy // out var _arg1 *C.GAsyncResult // out @@ -51083,15 +50083,15 @@ func (proxy *DBusProxy) CallFinish(res AsyncResulter) (*glib.Variant, error) { // If the parameters #GVariant is floating, it is consumed. This allows // convenient 'inline' use of g_variant_new(), e.g.: // -// g_dbus_proxy_call_sync (proxy, -// "TwoStrings", -// g_variant_new ("(ss)", -// "Thing One", -// "Thing Two"), -// G_DBUS_CALL_FLAGS_NONE, -// -1, -// NULL, -// &error); +// g_dbus_proxy_call_sync (proxy, +// "TwoStrings", +// g_variant_new ("(ss)", +// "Thing One", +// "Thing Two"), +// G_DBUS_CALL_FLAGS_NONE, +// -1, +// NULL, +// &error); // // The calling thread is blocked until a reply is received. See // g_dbus_proxy_call() for the asynchronous version of this method. @@ -51114,7 +50114,6 @@ func (proxy *DBusProxy) CallFinish(res AsyncResulter) (*glib.Variant, error) { // // - variant: NULL if error is set. Otherwise a #GVariant tuple with return // values. Free with g_variant_unref(). -// func (proxy *DBusProxy) CallSync(ctx context.Context, methodName string, parameters *glib.Variant, flags DBusCallFlags, timeoutMsec int) (*glib.Variant, error) { var _arg0 *C.GDBusProxy // out var _arg5 *C.GCancellable // out @@ -51180,7 +50179,6 @@ func (proxy *DBusProxy) CallSync(ctx context.Context, methodName string, paramet // - variant (optional): reference to the #GVariant instance that holds // the value for property_name or NULL if the value is not in the cache. // The returned reference must be freed with g_variant_unref(). -// func (proxy *DBusProxy) CachedProperty(propertyName string) *glib.Variant { var _arg0 *C.GDBusProxy // out var _arg1 *C.gchar // out @@ -51215,7 +50213,6 @@ func (proxy *DBusProxy) CachedProperty(propertyName string) *glib.Variant { // // - utf8s (optional): a NULL-terminated array of strings or NULL if proxy has // no cached properties. Free the returned array with g_strfreev(). -// func (proxy *DBusProxy) CachedPropertyNames() []string { var _arg0 *C.GDBusProxy // out var _cret **C.gchar // in @@ -51253,7 +50250,6 @@ func (proxy *DBusProxy) CachedPropertyNames() []string { // The function returns the following values: // // - dBusConnection owned by proxy. Do not free. -// func (proxy *DBusProxy) Connection() *DBusConnection { var _arg0 *C.GDBusProxy // out var _cret *C.GDBusConnection // in @@ -51279,7 +50275,6 @@ func (proxy *DBusProxy) Connection() *DBusConnection { // The function returns the following values: // // - gint: timeout to use for proxy. -// func (proxy *DBusProxy) DefaultTimeout() int { var _arg0 *C.GDBusProxy // out var _cret C.gint // in @@ -51301,7 +50296,6 @@ func (proxy *DBusProxy) DefaultTimeout() int { // The function returns the following values: // // - dBusProxyFlags flags from the BusProxyFlags enumeration. -// func (proxy *DBusProxy) Flags() DBusProxyFlags { var _arg0 *C.GDBusProxy // out var _cret C.GDBusProxyFlags // in @@ -51326,7 +50320,6 @@ func (proxy *DBusProxy) Flags() DBusProxyFlags { // // - dBusInterfaceInfo (optional) or NULL. Do not unref the returned object, // it is owned by proxy. -// func (proxy *DBusProxy) InterfaceInfo() *DBusInterfaceInfo { var _arg0 *C.GDBusProxy // out var _cret *C.GDBusInterfaceInfo // in @@ -51357,7 +50350,6 @@ func (proxy *DBusProxy) InterfaceInfo() *DBusInterfaceInfo { // The function returns the following values: // // - utf8: string owned by proxy. Do not free. -// func (proxy *DBusProxy) InterfaceName() string { var _arg0 *C.GDBusProxy // out var _cret *C.gchar // in @@ -51379,7 +50371,6 @@ func (proxy *DBusProxy) InterfaceName() string { // The function returns the following values: // // - utf8: string owned by proxy. Do not free. -// func (proxy *DBusProxy) Name() string { var _arg0 *C.GDBusProxy // out var _cret *C.gchar // in @@ -51404,7 +50395,6 @@ func (proxy *DBusProxy) Name() string { // // - utf8 (optional): name owner or NULL if no name owner exists. Free with // g_free(). -// func (proxy *DBusProxy) NameOwner() string { var _arg0 *C.GDBusProxy // out var _cret *C.gchar // in @@ -51429,7 +50419,6 @@ func (proxy *DBusProxy) NameOwner() string { // The function returns the following values: // // - utf8: string owned by proxy. Do not free. -// func (proxy *DBusProxy) ObjectPath() string { var _arg0 *C.GDBusProxy // out var _cret *C.gchar // in @@ -51458,11 +50447,11 @@ func (proxy *DBusProxy) ObjectPath() string { // If the value #GVariant is floating, it is consumed. This allows convenient // 'inline' use of g_variant_new(), e.g. // -// g_dbus_proxy_set_cached_property (proxy, -// "SomeProperty", -// g_variant_new ("(si)", -// "A String", -// 42)); +// g_dbus_proxy_set_cached_property (proxy, +// "SomeProperty", +// g_variant_new ("(si)", +// "A String", +// 42)); // // Normally you will not need to use this method since proxy is tracking changes // using the org.freedesktop.DBus.Properties.PropertiesChanged D-Bus signal. @@ -51482,7 +50471,6 @@ func (proxy *DBusProxy) ObjectPath() string { // - propertyName: property name. // - value (optional): value for the property or NULL to remove it from the // cache. -// func (proxy *DBusProxy) SetCachedProperty(propertyName string, value *glib.Variant) { var _arg0 *C.GDBusProxy // out var _arg1 *C.gchar // out @@ -51510,7 +50498,6 @@ func (proxy *DBusProxy) SetCachedProperty(propertyName string, value *glib.Varia // The function takes the following parameters: // // - timeoutMsec: timeout in milliseconds. -// func (proxy *DBusProxy) SetDefaultTimeout(timeoutMsec int) { var _arg0 *C.GDBusProxy // out var _arg1 C.gint // out @@ -51530,7 +50517,6 @@ func (proxy *DBusProxy) SetDefaultTimeout(timeoutMsec int) { // // - info (optional): minimum interface this proxy conforms to or NULL to // unset. -// func (proxy *DBusProxy) SetInterfaceInfo(info *DBusInterfaceInfo) { var _arg0 *C.GDBusProxy // out var _arg1 *C.GDBusInterfaceInfo // out @@ -51550,7 +50536,6 @@ func (proxy *DBusProxy) SetInterfaceInfo(info *DBusInterfaceInfo) { // - senderName // - signalName // - parameters -// func (proxy *DBusProxy) gSignal(senderName, signalName string, parameters *glib.Variant) { gclass := (*C.GDBusProxyClass)(coreglib.PeekParentClass(proxy)) fnarg := gclass.g_signal @@ -51614,7 +50599,6 @@ func (proxy *DBusProxy) gSignal(senderName, signalName string, parameters *glib. // - objectPath: object path. // - interfaceName d-Bus interface name. // - callback (optional): callback function to invoke when the proxy is ready. -// func NewDBusProxy(ctx context.Context, connection *DBusConnection, flags DBusProxyFlags, info *DBusInterfaceInfo, name, objectPath, interfaceName string, callback AsyncReadyCallback) { var _arg7 *C.GCancellable // out var _arg1 *C.GDBusConnection // out @@ -51676,7 +50660,6 @@ func NewDBusProxy(ctx context.Context, connection *DBusConnection, flags DBusPro // - objectPath: object path. // - interfaceName d-Bus interface name. // - callback (optional): callback function to invoke when the proxy is ready. -// func NewDBusProxyForBus(ctx context.Context, busType BusType, flags DBusProxyFlags, info *DBusInterfaceInfo, name, objectPath, interfaceName string, callback AsyncReadyCallback) { var _arg7 *C.GCancellable // out var _arg1 C.GBusType // out @@ -51818,7 +50801,6 @@ func (server *DBusServer) ConnectNewConnection(f func(connection *DBusConnection // The function returns the following values: // // - dBusServer or NULL if error is set. Free with g_object_unref(). -// func NewDBusServerSync(ctx context.Context, address string, flags DBusServerFlags, guid string, observer *DBusAuthObserver) (*DBusServer, error) { var _arg5 *C.GCancellable // out var _arg1 *C.gchar // out @@ -51867,7 +50849,6 @@ func NewDBusServerSync(ctx context.Context, address string, flags DBusServerFlag // The function returns the following values: // // - utf8 d-Bus address string. Do not free, the string is owned by server. -// func (server *DBusServer) ClientAddress() string { var _arg0 *C.GDBusServer // out var _cret *C.gchar // in @@ -51889,7 +50870,6 @@ func (server *DBusServer) ClientAddress() string { // The function returns the following values: // // - dBusServerFlags: set of flags from the BusServerFlags enumeration. -// func (server *DBusServer) Flags() DBusServerFlags { var _arg0 *C.GDBusServer // out var _cret C.GDBusServerFlags // in @@ -51911,7 +50891,6 @@ func (server *DBusServer) Flags() DBusServerFlags { // The function returns the following values: // // - utf8 d-Bus GUID. Do not free this string, it is owned by server. -// func (server *DBusServer) GUID() string { var _arg0 *C.GDBusServer // out var _cret *C.gchar // in @@ -51933,7 +50912,6 @@ func (server *DBusServer) GUID() string { // The function returns the following values: // // - ok: TRUE if server is active, FALSE otherwise. -// func (server *DBusServer) IsActive() bool { var _arg0 *C.GDBusServer // out var _cret C.gboolean // in @@ -52035,7 +51013,6 @@ func marshalDataInputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - dataInputStream: new InputStream. -// func NewDataInputStream(baseStream InputStreamer) *DataInputStream { var _arg1 *C.GInputStream // out var _cret *C.GDataInputStream // in @@ -52057,7 +51034,6 @@ func NewDataInputStream(baseStream InputStreamer) *DataInputStream { // The function returns the following values: // // - dataStreamByteOrder stream's current StreamByteOrder. -// func (stream *DataInputStream) ByteOrder() DataStreamByteOrder { var _arg0 *C.GDataInputStream // out var _cret C.GDataStreamByteOrder // in @@ -52079,7 +51055,6 @@ func (stream *DataInputStream) ByteOrder() DataStreamByteOrder { // The function returns the following values: // // - dataStreamNewlineType for the given stream. -// func (stream *DataInputStream) NewlineType() DataStreamNewlineType { var _arg0 *C.GDataInputStream // out var _cret C.GDataStreamNewlineType // in @@ -52106,7 +51081,6 @@ func (stream *DataInputStream) NewlineType() DataStreamNewlineType { // // - guint8: unsigned 8-bit/1-byte value read from the stream or 0 if an error // occurred. -// func (stream *DataInputStream) ReadByte(ctx context.Context) (byte, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GCancellable // out @@ -52149,7 +51123,6 @@ func (stream *DataInputStream) ReadByte(ctx context.Context) (byte, error) { // // - gint16: signed 16-bit/2-byte value read from stream or 0 if an error // occurred. -// func (stream *DataInputStream) ReadInt16(ctx context.Context) (int16, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GCancellable // out @@ -52196,7 +51169,6 @@ func (stream *DataInputStream) ReadInt16(ctx context.Context) (int16, error) { // // - gint32: signed 32-bit/4-byte value read from the stream or 0 if an error // occurred. -// func (stream *DataInputStream) ReadInt32(ctx context.Context) (int32, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GCancellable // out @@ -52243,7 +51215,6 @@ func (stream *DataInputStream) ReadInt32(ctx context.Context) (int32, error) { // // - gint64: signed 64-bit/8-byte value read from stream or 0 if an error // occurred. -// func (stream *DataInputStream) ReadInt64(ctx context.Context) (int64, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GCancellable // out @@ -52292,7 +51263,6 @@ func (stream *DataInputStream) ReadInt64(ctx context.Context) (int64, error) { // of the read line. On an error, it will return NULL and error will be set. // If there's no content to read, it will still return NULL, but error won't // be set. -// func (stream *DataInputStream) ReadLine(ctx context.Context) (uint, []byte, error) { var _arg0 *C.GDataInputStream // out var _arg2 *C.GCancellable // out @@ -52350,7 +51320,6 @@ func (stream *DataInputStream) ReadLine(ctx context.Context) (uint, []byte, erro // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *DataInputStream) ReadLineAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GDataInputStream // out var _arg2 *C.GCancellable // out @@ -52393,7 +51362,6 @@ func (stream *DataInputStream) ReadLineAsync(ctx context.Context, ioPriority int // of the read line. On an error, it will return NULL and error will be set. // If there's no content to read, it will still return NULL, but error won't // be set. -// func (stream *DataInputStream) ReadLineFinish(result AsyncResulter) (uint, []byte, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GAsyncResult // out @@ -52451,7 +51419,6 @@ func (stream *DataInputStream) ReadLineFinish(result AsyncResulter) (uint, []byt // an error, it will return NULL and error will be set. For UTF-8 conversion // errors, the set error domain is G_CONVERT_ERROR. If there's no content to // read, it will still return NULL, but error won't be set. -// func (stream *DataInputStream) ReadLineFinishUTF8(result AsyncResulter) (uint, string, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GAsyncResult // out @@ -52501,7 +51468,6 @@ func (stream *DataInputStream) ReadLineFinishUTF8(result AsyncResulter) (uint, s // For UTF-8 conversion errors, the set error domain is G_CONVERT_ERROR. // If there's no content to read, it will still return NULL, but error won't // be set. -// func (stream *DataInputStream) ReadLineUTF8(ctx context.Context) (uint, string, error) { var _arg0 *C.GDataInputStream // out var _arg2 *C.GCancellable // out @@ -52550,7 +51516,6 @@ func (stream *DataInputStream) ReadLineUTF8(ctx context.Context) (uint, string, // // - guint16: unsigned 16-bit/2-byte value read from the stream or 0 if an // error occurred. -// func (stream *DataInputStream) ReadUint16(ctx context.Context) (uint16, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GCancellable // out @@ -52597,7 +51562,6 @@ func (stream *DataInputStream) ReadUint16(ctx context.Context) (uint16, error) { // // - guint32: unsigned 32-bit/4-byte value read from the stream or 0 if an // error occurred. -// func (stream *DataInputStream) ReadUint32(ctx context.Context) (uint32, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GCancellable // out @@ -52643,7 +51607,6 @@ func (stream *DataInputStream) ReadUint32(ctx context.Context) (uint32, error) { // // - guint64: unsigned 64-bit/8-byte read from stream or 0 if an error // occurred. -// func (stream *DataInputStream) ReadUint64(ctx context.Context) (uint64, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GCancellable // out @@ -52697,7 +51660,6 @@ func (stream *DataInputStream) ReadUint64(ctx context.Context) (uint64, error) { // - utf8: string with the data that was read before encountering any of the // stop characters. Set length to a #gsize to get the length of the string. // This function will return NULL on an error. -// func (stream *DataInputStream) ReadUntil(ctx context.Context, stopChars string) (uint, string, error) { var _arg0 *C.GDataInputStream // out var _arg3 *C.GCancellable // out @@ -52757,7 +51719,6 @@ func (stream *DataInputStream) ReadUntil(ctx context.Context, stopChars string) // - stopChars characters to terminate the read. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *DataInputStream) ReadUntilAsync(ctx context.Context, stopChars string, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GDataInputStream // out var _arg3 *C.GCancellable // out @@ -52804,7 +51765,6 @@ func (stream *DataInputStream) ReadUntilAsync(ctx context.Context, stopChars str // - utf8: string with the data that was read before encountering any of the // stop characters. Set length to a #gsize to get the length of the string. // This function will return NULL on an error. -// func (stream *DataInputStream) ReadUntilFinish(result AsyncResulter) (uint, string, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GAsyncResult // out @@ -52857,7 +51817,6 @@ func (stream *DataInputStream) ReadUntilFinish(result AsyncResulter) (uint, stri // - utf8: string with the data that was read before encountering any of the // stop characters. Set length to a #gsize to get the length of the string. // This function will return NULL on an error. -// func (stream *DataInputStream) ReadUpto(ctx context.Context, stopChars string, stopCharsLen int) (uint, string, error) { var _arg0 *C.GDataInputStream // out var _arg4 *C.GCancellable // out @@ -52917,7 +51876,6 @@ func (stream *DataInputStream) ReadUpto(ctx context.Context, stopChars string, s // nul-terminated. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *DataInputStream) ReadUptoAsync(ctx context.Context, stopChars string, stopCharsLen, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GDataInputStream // out var _arg4 *C.GCancellable // out @@ -52970,7 +51928,6 @@ func (stream *DataInputStream) ReadUptoAsync(ctx context.Context, stopChars stri // - utf8: string with the data that was read before encountering any of the // stop characters. Set length to a #gsize to get the length of the string. // This function will return NULL on an error. -// func (stream *DataInputStream) ReadUptoFinish(result AsyncResulter) (uint, string, error) { var _arg0 *C.GDataInputStream // out var _arg1 *C.GAsyncResult // out @@ -53005,7 +51962,6 @@ func (stream *DataInputStream) ReadUptoFinish(result AsyncResulter) (uint, strin // The function takes the following parameters: // // - order to set. -// func (stream *DataInputStream) SetByteOrder(order DataStreamByteOrder) { var _arg0 *C.GDataInputStream // out var _arg1 C.GDataStreamByteOrder // out @@ -53027,7 +51983,6 @@ func (stream *DataInputStream) SetByteOrder(order DataStreamByteOrder) { // The function takes the following parameters: // // - typ: type of new line return as StreamNewlineType. -// func (stream *DataInputStream) SetNewlineType(typ DataStreamNewlineType) { var _arg0 *C.GDataInputStream // out var _arg1 C.GDataStreamNewlineType // out @@ -53103,7 +52058,6 @@ func marshalDataOutputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - dataOutputStream: OutputStream. -// func NewDataOutputStream(baseStream OutputStreamer) *DataOutputStream { var _arg1 *C.GOutputStream // out var _cret *C.GDataOutputStream // in @@ -53125,7 +52079,6 @@ func NewDataOutputStream(baseStream OutputStreamer) *DataOutputStream { // The function returns the following values: // // - dataStreamByteOrder for the stream. -// func (stream *DataOutputStream) ByteOrder() DataStreamByteOrder { var _arg0 *C.GDataOutputStream // out var _cret C.GDataStreamByteOrder // in @@ -53148,7 +52101,6 @@ func (stream *DataOutputStream) ByteOrder() DataStreamByteOrder { // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - data: #guchar. -// func (stream *DataOutputStream) PutByte(ctx context.Context, data byte) error { var _arg0 *C.GDataOutputStream // out var _arg2 *C.GCancellable // out @@ -53183,7 +52135,6 @@ func (stream *DataOutputStream) PutByte(ctx context.Context, data byte) error { // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - data: #gint16. -// func (stream *DataOutputStream) PutInt16(ctx context.Context, data int16) error { var _arg0 *C.GDataOutputStream // out var _arg2 *C.GCancellable // out @@ -53218,7 +52169,6 @@ func (stream *DataOutputStream) PutInt16(ctx context.Context, data int16) error // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - data: #gint32. -// func (stream *DataOutputStream) PutInt32(ctx context.Context, data int32) error { var _arg0 *C.GDataOutputStream // out var _arg2 *C.GCancellable // out @@ -53253,7 +52203,6 @@ func (stream *DataOutputStream) PutInt32(ctx context.Context, data int32) error // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - data: #gint64. -// func (stream *DataOutputStream) PutInt64(ctx context.Context, data int64) error { var _arg0 *C.GDataOutputStream // out var _arg2 *C.GCancellable // out @@ -53288,7 +52237,6 @@ func (stream *DataOutputStream) PutInt64(ctx context.Context, data int64) error // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - str: string. -// func (stream *DataOutputStream) PutString(ctx context.Context, str string) error { var _arg0 *C.GDataOutputStream // out var _arg2 *C.GCancellable // out @@ -53324,7 +52272,6 @@ func (stream *DataOutputStream) PutString(ctx context.Context, str string) error // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - data: #guint16. -// func (stream *DataOutputStream) PutUint16(ctx context.Context, data uint16) error { var _arg0 *C.GDataOutputStream // out var _arg2 *C.GCancellable // out @@ -53359,7 +52306,6 @@ func (stream *DataOutputStream) PutUint16(ctx context.Context, data uint16) erro // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - data: #guint32. -// func (stream *DataOutputStream) PutUint32(ctx context.Context, data uint32) error { var _arg0 *C.GDataOutputStream // out var _arg2 *C.GCancellable // out @@ -53394,7 +52340,6 @@ func (stream *DataOutputStream) PutUint32(ctx context.Context, data uint32) erro // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - data: #guint64. -// func (stream *DataOutputStream) PutUint64(ctx context.Context, data uint64) error { var _arg0 *C.GDataOutputStream // out var _arg2 *C.GCancellable // out @@ -53428,7 +52373,6 @@ func (stream *DataOutputStream) PutUint64(ctx context.Context, data uint64) erro // The function takes the following parameters: // // - order: GDataStreamByteOrder. -// func (stream *DataOutputStream) SetByteOrder(order DataStreamByteOrder) { var _arg0 *C.GDataOutputStream // out var _arg1 C.GDataStreamByteOrder // out @@ -53479,7 +52423,6 @@ func marshalEmblem(p uintptr) (interface{}, error) { // The function returns the following values: // // - emblem: new #GEmblem. -// func NewEmblem(icon Iconner) *Emblem { var _arg1 *C.GIcon // out var _cret *C.GEmblem // in @@ -53506,7 +52449,6 @@ func NewEmblem(icon Iconner) *Emblem { // The function returns the following values: // // - emblem: new #GEmblem. -// func NewEmblemWithOrigin(icon Iconner, origin EmblemOrigin) *Emblem { var _arg1 *C.GIcon // out var _arg2 C.GEmblemOrigin // out @@ -53532,7 +52474,6 @@ func NewEmblemWithOrigin(icon Iconner, origin EmblemOrigin) *Emblem { // // - icon The returned object belongs to the emblem and should not be modified // or freed. -// func (emblem *Emblem) GetIcon() *Icon { var _arg0 *C.GEmblem // out var _cret *C.GIcon // in @@ -53554,7 +52495,6 @@ func (emblem *Emblem) GetIcon() *Icon { // The function returns the following values: // // - emblemOrigin: origin of the emblem. -// func (emblem *Emblem) Origin() EmblemOrigin { var _arg0 *C.GEmblem // out var _cret C.GEmblemOrigin // in @@ -53635,7 +52575,6 @@ func marshalEmblemedIcon(p uintptr) (interface{}, error) { // The function returns the following values: // // - emblemedIcon: new #GIcon. -// func NewEmblemedIcon(icon Iconner, emblem *Emblem) *EmblemedIcon { var _arg1 *C.GIcon // out var _arg2 *C.GEmblem // out @@ -53662,7 +52601,6 @@ func NewEmblemedIcon(icon Iconner, emblem *Emblem) *EmblemedIcon { // The function takes the following parameters: // // - emblem: #GEmblem. -// func (emblemed *EmblemedIcon) AddEmblem(emblem *Emblem) { var _arg0 *C.GEmblemedIcon // out var _arg1 *C.GEmblem // out @@ -53690,7 +52628,6 @@ func (emblemed *EmblemedIcon) ClearEmblems() { // The function returns the following values: // // - list of #GEmblems that is owned by emblemed. -// func (emblemed *EmblemedIcon) Emblems() []*Emblem { var _arg0 *C.GEmblemedIcon // out var _cret *C.GList // in @@ -53718,7 +52655,6 @@ func (emblemed *EmblemedIcon) Emblems() []*Emblem { // The function returns the following values: // // - icon that is owned by emblemed. -// func (emblemed *EmblemedIcon) GetIcon() *Icon { var _arg0 *C.GEmblemedIcon // out var _cret *C.GIcon // in @@ -53753,7 +52689,6 @@ type FileEnumeratorOverrides struct { // The function takes the following parameters: // // - result: Result. - // CloseFinish func(result AsyncResulter) error CloseFn func(ctx context.Context) error // NextFile returns information for the next file in the enumerated object. @@ -53775,7 +52710,6 @@ type FileEnumeratorOverrides struct { // // - fileInfo (optional) or NULL on error or end of enumerator. Free the // returned object with g_object_unref() when no longer needed. - // NextFile func(ctx context.Context) (*FileInfo, error) // NextFilesFinish finishes the asynchronous operation started with // g_file_enumerator_next_files_async(). @@ -53788,7 +52722,6 @@ type FileEnumeratorOverrides struct { // // - list of Infos. You must free the list with g_list_free() and unref // the infos with g_object_unref() when you're done with them. - // NextFilesFinish func(result AsyncResulter) ([]*FileInfo, error) } @@ -53887,7 +52820,6 @@ func marshalFileEnumerator(p uintptr) (interface{}, error) { // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (enumerator *FileEnumerator) Close(ctx context.Context) error { var _arg0 *C.GFileEnumerator // out var _arg1 *C.GCancellable // out @@ -53925,7 +52857,6 @@ func (enumerator *FileEnumerator) Close(ctx context.Context) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (enumerator *FileEnumerator) CloseAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFileEnumerator // out var _arg2 *C.GCancellable // out @@ -53967,7 +52898,6 @@ func (enumerator *FileEnumerator) CloseAsync(ctx context.Context, ioPriority int // The function takes the following parameters: // // - result: Result. -// func (enumerator *FileEnumerator) CloseFinish(result AsyncResulter) error { var _arg0 *C.GFileEnumerator // out var _arg1 *C.GAsyncResult // out @@ -53995,9 +52925,9 @@ func (enumerator *FileEnumerator) CloseFinish(result AsyncResulter) error { // // This is a convenience method that's equivalent to: // -// gchar *name = g_file_info_get_name (info); -// GFile *child = g_file_get_child (g_file_enumerator_get_container (enumr), -// name);. +// gchar *name = g_file_info_get_name (info); +// GFile *child = g_file_get_child (g_file_enumerator_get_container (enumr), +// name);. // // The function takes the following parameters: // @@ -54006,7 +52936,6 @@ func (enumerator *FileEnumerator) CloseFinish(result AsyncResulter) error { // The function returns the following values: // // - file for the Info passed it. -// func (enumerator *FileEnumerator) Child(info *FileInfo) *File { var _arg0 *C.GFileEnumerator // out var _arg1 *C.GFileInfo // out @@ -54031,7 +52960,6 @@ func (enumerator *FileEnumerator) Child(info *FileInfo) *File { // The function returns the following values: // // - file which is being enumerated. -// func (enumerator *FileEnumerator) Container() *File { var _arg0 *C.GFileEnumerator // out var _cret *C.GFile // in @@ -54053,7 +52981,6 @@ func (enumerator *FileEnumerator) Container() *File { // The function returns the following values: // // - ok: TRUE if the enumerator has pending operations. -// func (enumerator *FileEnumerator) HasPending() bool { var _arg0 *C.GFileEnumerator // out var _cret C.gboolean // in @@ -54077,7 +53004,6 @@ func (enumerator *FileEnumerator) HasPending() bool { // The function returns the following values: // // - ok: TRUE if the enumerator is closed. -// func (enumerator *FileEnumerator) IsClosed() bool { var _arg0 *C.GFileEnumerator // out var _cret C.gboolean // in @@ -54116,19 +53042,19 @@ func (enumerator *FileEnumerator) IsClosed() bool { // // The code pattern for correctly using g_file_enumerator_iterate() from C is: // -// direnum = g_file_enumerate_children (file, ...); -// while (TRUE) -// { -// GFileInfo *info; -// if (!g_file_enumerator_iterate (direnum, &info, NULL, cancellable, error)) -// goto out; -// if (!info) -// break; -// ... do stuff with "info"; do not unref it! ... -// } +// direnum = g_file_enumerate_children (file, ...); +// while (TRUE) +// { +// GFileInfo *info; +// if (!g_file_enumerator_iterate (direnum, &info, NULL, cancellable, error)) +// goto out; +// if (!info) +// break; +// ... do stuff with "info"; do not unref it! ... +// } // -// out: -// g_object_unref (direnum); // Note: frees the last info. +// out: +// g_object_unref (direnum); // Note: frees the last info. // // The function takes the following parameters: // @@ -54138,7 +53064,6 @@ func (enumerator *FileEnumerator) IsClosed() bool { // // - outInfo (optional): output location for the next Info, or NULL. // - outChild (optional): output location for the next #GFile, or NULL. -// func (direnum *FileEnumerator) Iterate(ctx context.Context) (*FileInfo, *File, error) { var _arg0 *C.GFileEnumerator // out var _arg3 *C.GCancellable // out @@ -54193,7 +53118,6 @@ func (direnum *FileEnumerator) Iterate(ctx context.Context) (*FileInfo, *File, e // // - fileInfo (optional) or NULL on error or end of enumerator. Free the // returned object with g_object_unref() when no longer needed. -// func (enumerator *FileEnumerator) NextFile(ctx context.Context) (*FileInfo, error) { var _arg0 *C.GFileEnumerator // out var _arg1 *C.GCancellable // out @@ -54250,7 +53174,6 @@ func (enumerator *FileEnumerator) NextFile(ctx context.Context) (*FileInfo, erro // - numFiles: number of file info objects to request. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (enumerator *FileEnumerator) NextFilesAsync(ctx context.Context, numFiles, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFileEnumerator // out var _arg3 *C.GCancellable // out @@ -54291,7 +53214,6 @@ func (enumerator *FileEnumerator) NextFilesAsync(ctx context.Context, numFiles, // // - list of Infos. You must free the list with g_list_free() and unref the // infos with g_object_unref() when you're done with them. -// func (enumerator *FileEnumerator) NextFilesFinish(result AsyncResulter) ([]*FileInfo, error) { var _arg0 *C.GFileEnumerator // out var _arg1 *C.GAsyncResult // out @@ -54327,7 +53249,6 @@ func (enumerator *FileEnumerator) NextFilesFinish(result AsyncResulter) ([]*File // The function takes the following parameters: // // - pending: boolean value. -// func (enumerator *FileEnumerator) SetPending(pending bool) { var _arg0 *C.GFileEnumerator // out var _arg1 C.gboolean // out @@ -54354,7 +53275,6 @@ func (enumerator *FileEnumerator) SetPending(pending bool) { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (enumerator *FileEnumerator) closeAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileEnumeratorClass)(coreglib.PeekParentClass(enumerator)) fnarg := gclass.close_async @@ -54399,7 +53319,6 @@ func (enumerator *FileEnumerator) closeAsync(ctx context.Context, ioPriority int // The function takes the following parameters: // // - result: Result. -// func (enumerator *FileEnumerator) closeFinish(result AsyncResulter) error { gclass := (*C.GFileEnumeratorClass)(coreglib.PeekParentClass(enumerator)) fnarg := gclass.close_finish @@ -54471,7 +53390,6 @@ func (enumerator *FileEnumerator) closeFn(ctx context.Context) error { // // - fileInfo (optional) or NULL on error or end of enumerator. Free the // returned object with g_object_unref() when no longer needed. -// func (enumerator *FileEnumerator) nextFile(ctx context.Context) (*FileInfo, error) { gclass := (*C.GFileEnumeratorClass)(coreglib.PeekParentClass(enumerator)) fnarg := gclass.next_file @@ -54531,7 +53449,6 @@ func (enumerator *FileEnumerator) nextFile(ctx context.Context) (*FileInfo, erro // - numFiles: number of file info objects to request. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (enumerator *FileEnumerator) nextFilesAsync(ctx context.Context, numFiles, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileEnumeratorClass)(coreglib.PeekParentClass(enumerator)) fnarg := gclass.next_files_async @@ -54575,7 +53492,6 @@ func (enumerator *FileEnumerator) nextFilesAsync(ctx context.Context, numFiles, // // - list of Infos. You must free the list with g_list_free() and unref the // infos with g_object_unref() when you're done with them. -// func (enumerator *FileEnumerator) nextFilesFinish(result AsyncResulter) ([]*FileInfo, error) { gclass := (*C.GFileEnumeratorClass)(coreglib.PeekParentClass(enumerator)) fnarg := gclass.next_files_finish @@ -54620,7 +53536,6 @@ type FileIOStreamOverrides struct { // The function returns the following values: // // - utf8 (optional): entity tag for the stream. - // ETag func() string // QueryInfo queries a file io stream for the given attributes. This // function blocks while querying the stream. For the asynchronous version @@ -54647,7 +53562,6 @@ type FileIOStreamOverrides struct { // The function returns the following values: // // - fileInfo for the stream, or NULL on error. - // QueryInfo func(ctx context.Context, attributes string) (*FileInfo, error) // QueryInfoFinish finalizes the asynchronous query started by // g_file_io_stream_query_info_async(). @@ -54659,21 +53573,18 @@ type FileIOStreamOverrides struct { // The function returns the following values: // // - fileInfo for the finished query. - // QueryInfoFinish func(result AsyncResulter) (*FileInfo, error) // The function takes the following parameters: // // - ctx (optional) // - offset // - typ - // Seek func(ctx context.Context, offset int64, typ glib.SeekType) error Tell func() int64 // The function takes the following parameters: // // - ctx (optional) // - size - // TruncateFn func(ctx context.Context, size int64) error } @@ -54793,7 +53704,6 @@ func marshalFileIOStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - utf8 (optional): entity tag for the stream. -// func (stream *FileIOStream) ETag() string { var _arg0 *C.GFileIOStream // out var _cret *C.char // in @@ -54837,7 +53747,6 @@ func (stream *FileIOStream) ETag() string { // The function returns the following values: // // - fileInfo for the stream, or NULL on error. -// func (stream *FileIOStream) QueryInfo(ctx context.Context, attributes string) (*FileInfo, error) { var _arg0 *C.GFileIOStream // out var _arg2 *C.GCancellable // out @@ -54883,7 +53792,6 @@ func (stream *FileIOStream) QueryInfo(ctx context.Context, attributes string) (* // - attributes: file attribute query string. // - ioPriority: [I/O priority][gio-GIOScheduler] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *FileIOStream) QueryInfoAsync(ctx context.Context, attributes string, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFileIOStream // out var _arg3 *C.GCancellable // out @@ -54924,7 +53832,6 @@ func (stream *FileIOStream) QueryInfoAsync(ctx context.Context, attributes strin // The function returns the following values: // // - fileInfo for the finished query. -// func (stream *FileIOStream) QueryInfoFinish(result AsyncResulter) (*FileInfo, error) { var _arg0 *C.GFileIOStream // out var _arg1 *C.GAsyncResult // out @@ -54998,7 +53905,6 @@ func (stream *FileIOStream) canTruncate() bool { // The function returns the following values: // // - utf8 (optional): entity tag for the stream. -// func (stream *FileIOStream) eTag() string { gclass := (*C.GFileIOStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.get_etag @@ -55045,7 +53951,6 @@ func (stream *FileIOStream) eTag() string { // The function returns the following values: // // - fileInfo for the stream, or NULL on error. -// func (stream *FileIOStream) queryInfo(ctx context.Context, attributes string) (*FileInfo, error) { gclass := (*C.GFileIOStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.query_info @@ -55094,7 +53999,6 @@ func (stream *FileIOStream) queryInfo(ctx context.Context, attributes string) (* // - attributes: file attribute query string. // - ioPriority: [I/O priority][gio-GIOScheduler] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *FileIOStream) queryInfoAsync(ctx context.Context, attributes string, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileIOStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.query_info_async @@ -55138,7 +54042,6 @@ func (stream *FileIOStream) queryInfoAsync(ctx context.Context, attributes strin // The function returns the following values: // // - fileInfo for the finished query. -// func (stream *FileIOStream) queryInfoFinish(result AsyncResulter) (*FileInfo, error) { gclass := (*C.GFileIOStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.query_info_finish @@ -55171,7 +54074,6 @@ func (stream *FileIOStream) queryInfoFinish(result AsyncResulter) (*FileInfo, er // - ctx (optional) // - offset // - typ -// func (stream *FileIOStream) seek(ctx context.Context, offset int64, typ glib.SeekType) error { gclass := (*C.GFileIOStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.seek @@ -55229,7 +54131,6 @@ func (stream *FileIOStream) tell() int64 { // // - ctx (optional) // - size -// func (stream *FileIOStream) truncateFn(ctx context.Context, size int64) error { gclass := (*C.GFileIOStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.truncate_fn @@ -55297,7 +54198,6 @@ func marshalFileIcon(p uintptr) (interface{}, error) { // The function returns the following values: // // - fileIcon for the given file, or NULL on error. -// func NewFileIcon(file Filer) *FileIcon { var _arg1 *C.GFile // out var _cret *C.GIcon // in @@ -55319,7 +54219,6 @@ func NewFileIcon(file Filer) *FileIcon { // The function returns the following values: // // - file: #GFile. -// func (icon *FileIcon) File() *File { var _arg0 *C.GFileIcon // out var _cret *C.GFile // in @@ -55383,7 +54282,6 @@ func marshalFileInfo(p uintptr) (interface{}, error) { // The function returns the following values: // // - fileInfo: Info. -// func NewFileInfo() *FileInfo { var _cret *C.GFileInfo // in @@ -55413,7 +54311,6 @@ func (info *FileInfo) ClearStatus() { // The function takes the following parameters: // // - destInfo: destination to copy attributes to. -// func (srcInfo *FileInfo) CopyInto(destInfo *FileInfo) { var _arg0 *C.GFileInfo // out var _arg1 *C.GFileInfo // out @@ -55431,7 +54328,6 @@ func (srcInfo *FileInfo) CopyInto(destInfo *FileInfo) { // The function returns the following values: // // - fileInfo: duplicate Info of other. -// func (other *FileInfo) Dup() *FileInfo { var _arg0 *C.GFileInfo // out var _cret *C.GFileInfo // in @@ -55460,7 +54356,6 @@ func (other *FileInfo) Dup() *FileInfo { // - utf8 (optional): UTF-8 string associated with the given attribute, // or NULL if the attribute wasn’t set. When you're done with the string it // must be freed with g_free(). -// func (info *FileInfo) AttributeAsString(attribute string) string { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55494,7 +54389,6 @@ func (info *FileInfo) AttributeAsString(attribute string) string { // The function returns the following values: // // - ok: boolean value contained within the attribute. -// func (info *FileInfo) AttributeBoolean(attribute string) bool { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55528,7 +54422,6 @@ func (info *FileInfo) AttributeBoolean(attribute string) bool { // // - utf8 (optional) contents of the attribute value as a byte string, // or NULL otherwise. -// func (info *FileInfo) AttributeByteString(attribute string) string { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55564,7 +54457,6 @@ func (info *FileInfo) AttributeByteString(attribute string) string { // the attribute value will not be NULL. // - status (optional): return location for the attribute status, or NULL. // - ok: TRUE if info has an attribute named attribute, FALSE otherwise. -// func (info *FileInfo) AttributeData(attribute string) (FileAttributeType, unsafe.Pointer, FileAttributeStatus, bool) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55607,7 +54499,6 @@ func (info *FileInfo) AttributeData(attribute string) (FileAttributeType, unsafe // The function returns the following values: // // - gint32: signed 32-bit integer from the attribute. -// func (info *FileInfo) AttributeInt32(attribute string) int32 { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55639,7 +54530,6 @@ func (info *FileInfo) AttributeInt32(attribute string) int32 { // The function returns the following values: // // - gint64: signed 64-bit integer from the attribute. -// func (info *FileInfo) AttributeInt64(attribute string) int64 { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55670,7 +54560,6 @@ func (info *FileInfo) AttributeInt64(attribute string) int64 { // The function returns the following values: // // - object (optional) associated with the given attribute, or NULL otherwise. -// func (info *FileInfo) AttributeObject(attribute string) *coreglib.Object { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55703,7 +54592,6 @@ func (info *FileInfo) AttributeObject(attribute string) *coreglib.Object { // // - fileAttributeStatus for the given attribute, or // G_FILE_ATTRIBUTE_STATUS_UNSET if the key is invalid. -// func (info *FileInfo) AttributeStatus(attribute string) FileAttributeStatus { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55735,7 +54623,6 @@ func (info *FileInfo) AttributeStatus(attribute string) FileAttributeStatus { // // - utf8 (optional) contents of the attribute value as a UTF-8 string, // or NULL otherwise. -// func (info *FileInfo) AttributeString(attribute string) string { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55769,7 +54656,6 @@ func (info *FileInfo) AttributeString(attribute string) string { // // - utf8s (optional) contents of the attribute value as a stringv, or NULL // otherwise. Do not free. These returned strings are UTF-8. -// func (info *FileInfo) AttributeStringv(attribute string) []string { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55814,7 +54700,6 @@ func (info *FileInfo) AttributeStringv(attribute string) []string { // // - fileAttributeType for the given attribute, or // G_FILE_ATTRIBUTE_TYPE_INVALID if the key is not set. -// func (info *FileInfo) AttributeType(attribute string) FileAttributeType { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55846,7 +54731,6 @@ func (info *FileInfo) AttributeType(attribute string) FileAttributeType { // The function returns the following values: // // - guint32: unsigned 32-bit integer from the attribute. -// func (info *FileInfo) AttributeUint32(attribute string) uint32 { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55878,7 +54762,6 @@ func (info *FileInfo) AttributeUint32(attribute string) uint32 { // The function returns the following values: // // - guint64: unsigned 64-bit integer from the attribute. -// func (info *FileInfo) AttributeUint64(attribute string) uint64 { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -55905,7 +54788,6 @@ func (info *FileInfo) AttributeUint64(attribute string) uint64 { // // - utf8 (optional): string containing the file's content type, or NULL if // unknown. -// func (info *FileInfo) ContentType() string { var _arg0 *C.GFileInfo // out var _cret *C.char // in @@ -55931,7 +54813,6 @@ func (info *FileInfo) ContentType() string { // The function returns the following values: // // - dateTime (optional) or NULL. -// func (info *FileInfo) DeletionDate() *glib.DateTime { var _arg0 *C.GFileInfo // out var _cret *C.GDateTime // in @@ -55962,7 +54843,6 @@ func (info *FileInfo) DeletionDate() *glib.DateTime { // The function returns the following values: // // - utf8: string containing the display name. -// func (info *FileInfo) DisplayName() string { var _arg0 *C.GFileInfo // out var _cret *C.char // in @@ -55984,7 +54864,6 @@ func (info *FileInfo) DisplayName() string { // The function returns the following values: // // - utf8: string containing the edit name. -// func (info *FileInfo) EditName() string { var _arg0 *C.GFileInfo // out var _cret *C.char // in @@ -56008,7 +54887,6 @@ func (info *FileInfo) EditName() string { // // - utf8 (optional): string containing the value of the "etag:value" // attribute. -// func (info *FileInfo) ETag() string { var _arg0 *C.GFileInfo // out var _cret *C.char // in @@ -56034,7 +54912,6 @@ func (info *FileInfo) ETag() string { // The function returns the following values: // // - fileType for the given file. -// func (info *FileInfo) FileType() FileType { var _arg0 *C.GFileInfo // out var _cret C.GFileType // in @@ -56056,7 +54933,6 @@ func (info *FileInfo) FileType() FileType { // The function returns the following values: // // - icon (optional) for the given info. -// func (info *FileInfo) Icon() *Icon { var _arg0 *C.GFileInfo // out var _cret *C.GIcon // in @@ -56080,7 +54956,6 @@ func (info *FileInfo) Icon() *Icon { // The function returns the following values: // // - ok: TRUE if file is a backup file, FALSE otherwise. -// func (info *FileInfo) IsBackup() bool { var _arg0 *C.GFileInfo // out var _cret C.gboolean // in @@ -56104,7 +54979,6 @@ func (info *FileInfo) IsBackup() bool { // The function returns the following values: // // - ok: TRUE if the file is a hidden file, FALSE otherwise. -// func (info *FileInfo) IsHidden() bool { var _arg0 *C.GFileInfo // out var _cret C.gboolean // in @@ -56128,7 +55002,6 @@ func (info *FileInfo) IsHidden() bool { // The function returns the following values: // // - ok: TRUE if the given info is a symlink. -// func (info *FileInfo) IsSymlink() bool { var _arg0 *C.GFileInfo // out var _cret C.gboolean // in @@ -56157,7 +55030,6 @@ func (info *FileInfo) IsSymlink() bool { // The function returns the following values: // // - dateTime (optional): modification time, or NULL if unknown. -// func (info *FileInfo) ModificationDateTime() *glib.DateTime { var _arg0 *C.GFileInfo // out var _cret *C.GDateTime // in @@ -56191,7 +55063,6 @@ func (info *FileInfo) ModificationDateTime() *glib.DateTime { // The function returns the following values: // // - result: Val. -// func (info *FileInfo) ModificationTime() *glib.TimeVal { var _arg0 *C.GFileInfo // out var _arg1 C.GTimeVal // in @@ -56213,7 +55084,6 @@ func (info *FileInfo) ModificationTime() *glib.TimeVal { // The function returns the following values: // // - filename: string containing the file name. -// func (info *FileInfo) Name() string { var _arg0 *C.GFileInfo // out var _cret *C.char // in @@ -56237,7 +55107,6 @@ func (info *FileInfo) Name() string { // The function returns the following values: // // - gint64 containing the file's size (in bytes). -// func (info *FileInfo) Size() int64 { var _arg0 *C.GFileInfo // out var _cret C.goffset // in @@ -56260,7 +55129,6 @@ func (info *FileInfo) Size() int64 { // The function returns the following values: // // - gint32 containing the value of the "standard::sort_order" attribute. -// func (info *FileInfo) SortOrder() int32 { var _arg0 *C.GFileInfo // out var _cret C.gint32 // in @@ -56282,7 +55150,6 @@ func (info *FileInfo) SortOrder() int32 { // The function returns the following values: // // - icon (optional) for the given info. -// func (info *FileInfo) SymbolicIcon() *Icon { var _arg0 *C.GFileInfo // out var _cret *C.GIcon // in @@ -56306,7 +55173,6 @@ func (info *FileInfo) SymbolicIcon() *Icon { // The function returns the following values: // // - utf8 (optional): string containing the symlink target. -// func (info *FileInfo) SymlinkTarget() string { var _arg0 *C.GFileInfo // out var _cret *C.char // in @@ -56335,7 +55201,6 @@ func (info *FileInfo) SymlinkTarget() string { // The function returns the following values: // // - ok: TRUE if info has an attribute named attribute, FALSE otherwise. -// func (info *FileInfo) HasAttribute(attribute string) bool { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56368,7 +55233,6 @@ func (info *FileInfo) HasAttribute(attribute string) bool { // The function returns the following values: // // - ok: TRUE if info has an attribute in name_space, FALSE otherwise. -// func (info *FileInfo) HasNamespace(nameSpace string) bool { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56402,7 +55266,6 @@ func (info *FileInfo) HasNamespace(nameSpace string) bool { // // - utf8s (optional): a null-terminated array of strings of all of the // possible attribute types for the given name_space, or NULL on error. -// func (info *FileInfo) ListAttributes(nameSpace string) []string { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56446,7 +55309,6 @@ func (info *FileInfo) ListAttributes(nameSpace string) []string { // The function takes the following parameters: // // - attribute: file attribute key. -// func (info *FileInfo) RemoveAttribute(attribute string) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56468,7 +55330,6 @@ func (info *FileInfo) RemoveAttribute(attribute string) { // - attribute: file attribute key. // - typ: AttributeType. // - valueP: pointer to the value. -// func (info *FileInfo) SetAttribute(attribute string, typ FileAttributeType, valueP unsafe.Pointer) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56495,7 +55356,6 @@ func (info *FileInfo) SetAttribute(attribute string, typ FileAttributeType, valu // // - attribute: file attribute key. // - attrValue: boolean value. -// func (info *FileInfo) SetAttributeBoolean(attribute string, attrValue bool) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56521,7 +55381,6 @@ func (info *FileInfo) SetAttributeBoolean(attribute string, attrValue bool) { // // - attribute: file attribute key. // - attrValue: byte string. -// func (info *FileInfo) SetAttributeByteString(attribute, attrValue string) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56546,7 +55405,6 @@ func (info *FileInfo) SetAttributeByteString(attribute, attrValue string) { // // - attribute: file attribute key. // - attrValue: signed 32-bit integer. -// func (info *FileInfo) SetAttributeInt32(attribute string, attrValue int32) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56570,7 +55428,6 @@ func (info *FileInfo) SetAttributeInt32(attribute string, attrValue int32) { // // - attribute name to set. // - attrValue: int64 value to set attribute to. -// func (info *FileInfo) SetAttributeInt64(attribute string, attrValue int64) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56592,7 +55449,6 @@ func (info *FileInfo) SetAttributeInt64(attribute string, attrValue int64) { // The function takes the following parameters: // // - mask: AttributeMatcher. -// func (info *FileInfo) SetAttributeMask(mask *FileAttributeMatcher) { var _arg0 *C.GFileInfo // out var _arg1 *C.GFileAttributeMatcher // out @@ -56612,7 +55468,6 @@ func (info *FileInfo) SetAttributeMask(mask *FileAttributeMatcher) { // // - attribute: file attribute key. // - attrValue: #GObject. -// func (info *FileInfo) SetAttributeObject(attribute string, attrValue *coreglib.Object) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56644,7 +55499,6 @@ func (info *FileInfo) SetAttributeObject(attribute string, attrValue *coreglib.O // The function returns the following values: // // - ok: TRUE if the status was changed, FALSE if the key was not set. -// func (info *FileInfo) SetAttributeStatus(attribute string, status FileAttributeStatus) bool { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56677,7 +55531,6 @@ func (info *FileInfo) SetAttributeStatus(attribute string, status FileAttributeS // // - attribute: file attribute key. // - attrValue: UTF-8 string. -// func (info *FileInfo) SetAttributeString(attribute, attrValue string) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56704,7 +55557,6 @@ func (info *FileInfo) SetAttributeString(attribute, attrValue string) { // // - attribute: file attribute key. // - attrValue: NULL terminated array of UTF-8 strings. -// func (info *FileInfo) SetAttributeStringv(attribute string, attrValue []string) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56740,7 +55592,6 @@ func (info *FileInfo) SetAttributeStringv(attribute string, attrValue []string) // // - attribute: file attribute key. // - attrValue: unsigned 32-bit integer. -// func (info *FileInfo) SetAttributeUint32(attribute string, attrValue uint32) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56764,7 +55615,6 @@ func (info *FileInfo) SetAttributeUint32(attribute string, attrValue uint32) { // // - attribute: file attribute key. // - attrValue: unsigned 64-bit integer. -// func (info *FileInfo) SetAttributeUint64(attribute string, attrValue uint64) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56787,7 +55637,6 @@ func (info *FileInfo) SetAttributeUint64(attribute string, attrValue uint64) { // The function takes the following parameters: // // - contentType: content type. See [GContentType][gio-GContentType]. -// func (info *FileInfo) SetContentType(contentType string) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56807,7 +55656,6 @@ func (info *FileInfo) SetContentType(contentType string) { // The function takes the following parameters: // // - displayName: string containing a display name. -// func (info *FileInfo) SetDisplayName(displayName string) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56827,7 +55675,6 @@ func (info *FileInfo) SetDisplayName(displayName string) { // The function takes the following parameters: // // - editName: string containing an edit name. -// func (info *FileInfo) SetEditName(editName string) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56847,7 +55694,6 @@ func (info *FileInfo) SetEditName(editName string) { // The function takes the following parameters: // // - typ: Type. -// func (info *FileInfo) SetFileType(typ FileType) { var _arg0 *C.GFileInfo // out var _arg1 C.GFileType // out @@ -56865,7 +55711,6 @@ func (info *FileInfo) SetFileType(typ FileType) { // The function takes the following parameters: // // - icon: #GIcon. -// func (info *FileInfo) SetIcon(icon Iconner) { var _arg0 *C.GFileInfo // out var _arg1 *C.GIcon // out @@ -56884,7 +55729,6 @@ func (info *FileInfo) SetIcon(icon Iconner) { // The function takes the following parameters: // // - isHidden: #gboolean. -// func (info *FileInfo) SetIsHidden(isHidden bool) { var _arg0 *C.GFileInfo // out var _arg1 C.gboolean // out @@ -56905,7 +55749,6 @@ func (info *FileInfo) SetIsHidden(isHidden bool) { // The function takes the following parameters: // // - isSymlink: #gboolean. -// func (info *FileInfo) SetIsSymlink(isSymlink bool) { var _arg0 *C.GFileInfo // out var _arg1 C.gboolean // out @@ -56927,7 +55770,6 @@ func (info *FileInfo) SetIsSymlink(isSymlink bool) { // The function takes the following parameters: // // - mtime: Time. -// func (info *FileInfo) SetModificationDateTime(mtime *glib.DateTime) { var _arg0 *C.GFileInfo // out var _arg1 *C.GDateTime // out @@ -56950,7 +55792,6 @@ func (info *FileInfo) SetModificationDateTime(mtime *glib.DateTime) { // The function takes the following parameters: // // - mtime: Val. -// func (info *FileInfo) SetModificationTime(mtime *glib.TimeVal) { var _arg0 *C.GFileInfo // out var _arg1 *C.GTimeVal // out @@ -56969,7 +55810,6 @@ func (info *FileInfo) SetModificationTime(mtime *glib.TimeVal) { // The function takes the following parameters: // // - name: string containing a name. -// func (info *FileInfo) SetName(name string) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -56989,7 +55829,6 @@ func (info *FileInfo) SetName(name string) { // The function takes the following parameters: // // - size containing the file's size. -// func (info *FileInfo) SetSize(size int64) { var _arg0 *C.GFileInfo // out var _arg1 C.goffset // out @@ -57008,7 +55847,6 @@ func (info *FileInfo) SetSize(size int64) { // The function takes the following parameters: // // - sortOrder: sort order integer. -// func (info *FileInfo) SetSortOrder(sortOrder int32) { var _arg0 *C.GFileInfo // out var _arg1 C.gint32 // out @@ -57027,7 +55865,6 @@ func (info *FileInfo) SetSortOrder(sortOrder int32) { // The function takes the following parameters: // // - icon: #GIcon. -// func (info *FileInfo) SetSymbolicIcon(icon Iconner) { var _arg0 *C.GFileInfo // out var _arg1 *C.GIcon // out @@ -57046,7 +55883,6 @@ func (info *FileInfo) SetSymbolicIcon(icon Iconner) { // The function takes the following parameters: // // - symlinkTarget: static string containing a path to a symlink target. -// func (info *FileInfo) SetSymlinkTarget(symlinkTarget string) { var _arg0 *C.GFileInfo // out var _arg1 *C.char // out @@ -57089,7 +55925,6 @@ type FileInputStreamOverrides struct { // The function returns the following values: // // - fileInfo or NULL on error. - // QueryInfo func(ctx context.Context, attributes string) (*FileInfo, error) // QueryInfoFinish finishes an asynchronous info query operation. // @@ -57100,14 +55935,12 @@ type FileInputStreamOverrides struct { // The function returns the following values: // // - fileInfo: Info. - // QueryInfoFinish func(result AsyncResulter) (*FileInfo, error) // The function takes the following parameters: // // - ctx (optional) // - offset // - typ - // Seek func(ctx context.Context, offset int64, typ glib.SeekType) error Tell func() int64 } @@ -57211,7 +56044,6 @@ func marshalFileInputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - fileInfo or NULL on error. -// func (stream *FileInputStream) QueryInfo(ctx context.Context, attributes string) (*FileInfo, error) { var _arg0 *C.GFileInputStream // out var _arg2 *C.GCancellable // out @@ -57261,7 +56093,6 @@ func (stream *FileInputStream) QueryInfo(ctx context.Context, attributes string) // - attributes: file attribute query string. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *FileInputStream) QueryInfoAsync(ctx context.Context, attributes string, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFileInputStream // out var _arg3 *C.GCancellable // out @@ -57301,7 +56132,6 @@ func (stream *FileInputStream) QueryInfoAsync(ctx context.Context, attributes st // The function returns the following values: // // - fileInfo: Info. -// func (stream *FileInputStream) QueryInfoFinish(result AsyncResulter) (*FileInfo, error) { var _arg0 *C.GFileInputStream // out var _arg1 *C.GAsyncResult // out @@ -57361,7 +56191,6 @@ func (stream *FileInputStream) canSeek() bool { // The function returns the following values: // // - fileInfo or NULL on error. -// func (stream *FileInputStream) queryInfo(ctx context.Context, attributes string) (*FileInfo, error) { gclass := (*C.GFileInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.query_info @@ -57414,7 +56243,6 @@ func (stream *FileInputStream) queryInfo(ctx context.Context, attributes string) // - attributes: file attribute query string. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *FileInputStream) queryInfoAsync(ctx context.Context, attributes string, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.query_info_async @@ -57457,7 +56285,6 @@ func (stream *FileInputStream) queryInfoAsync(ctx context.Context, attributes st // The function returns the following values: // // - fileInfo: Info. -// func (stream *FileInputStream) queryInfoFinish(result AsyncResulter) (*FileInfo, error) { gclass := (*C.GFileInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.query_info_finish @@ -57490,7 +56317,6 @@ func (stream *FileInputStream) queryInfoFinish(result AsyncResulter) (*FileInfo, // - ctx (optional) // - offset // - typ -// func (stream *FileInputStream) seek(ctx context.Context, offset int64, typ glib.SeekType) error { gclass := (*C.GFileInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.seek @@ -57551,14 +56377,12 @@ type FileMonitorOverrides struct { // The function returns the following values: // // - ok always TRUE. - // Cancel func() bool // The function takes the following parameters: // // - file // - otherFile // - eventType - // Changed func(file, otherFile Filer, eventType FileMonitorEvent) } @@ -57680,7 +56504,6 @@ func (monitor *FileMonitor) ConnectChanged(f func(file, otherFile Filer, eventTy // The function returns the following values: // // - ok always TRUE. -// func (monitor *FileMonitor) Cancel() bool { var _arg0 *C.GFileMonitor // out var _cret C.gboolean // in @@ -57711,7 +56534,6 @@ func (monitor *FileMonitor) Cancel() bool { // - child: #GFile. // - otherFile: #GFile. // - eventType: set of MonitorEvent flags. -// func (monitor *FileMonitor) EmitEvent(child, otherFile Filer, eventType FileMonitorEvent) { var _arg0 *C.GFileMonitor // out var _arg1 *C.GFile // out @@ -57735,7 +56557,6 @@ func (monitor *FileMonitor) EmitEvent(child, otherFile Filer, eventType FileMoni // The function returns the following values: // // - ok: TRUE if monitor is canceled. FALSE otherwise. -// func (monitor *FileMonitor) IsCancelled() bool { var _arg0 *C.GFileMonitor // out var _cret C.gboolean // in @@ -57761,7 +56582,6 @@ func (monitor *FileMonitor) IsCancelled() bool { // // - limitMsecs: non-negative integer with the limit in milliseconds to poll // for changes. -// func (monitor *FileMonitor) SetRateLimit(limitMsecs int) { var _arg0 *C.GFileMonitor // out var _arg1 C.gint // out @@ -57779,7 +56599,6 @@ func (monitor *FileMonitor) SetRateLimit(limitMsecs int) { // The function returns the following values: // // - ok always TRUE. -// func (monitor *FileMonitor) cancel() bool { gclass := (*C.GFileMonitorClass)(coreglib.PeekParentClass(monitor)) fnarg := gclass.cancel @@ -57806,7 +56625,6 @@ func (monitor *FileMonitor) cancel() bool { // - file // - otherFile // - eventType -// func (monitor *FileMonitor) changed(file, otherFile Filer, eventType FileMonitorEvent) { gclass := (*C.GFileMonitorClass)(coreglib.PeekParentClass(monitor)) fnarg := gclass.changed @@ -57839,7 +56657,6 @@ type FileOutputStreamOverrides struct { // The function returns the following values: // // - utf8 (optional): entity tag for the stream. - // ETag func() string // QueryInfo queries a file output stream for the given attributes. This // function blocks while querying the stream. For the asynchronous version @@ -57866,7 +56683,6 @@ type FileOutputStreamOverrides struct { // The function returns the following values: // // - fileInfo for the stream, or NULL on error. - // QueryInfo func(ctx context.Context, attributes string) (*FileInfo, error) // QueryInfoFinish finalizes the asynchronous query started by // g_file_output_stream_query_info_async(). @@ -57878,21 +56694,18 @@ type FileOutputStreamOverrides struct { // The function returns the following values: // // - fileInfo for the finished query. - // QueryInfoFinish func(result AsyncResulter) (*FileInfo, error) // The function takes the following parameters: // // - ctx (optional) // - offset // - typ - // Seek func(ctx context.Context, offset int64, typ glib.SeekType) error Tell func() int64 // The function takes the following parameters: // // - ctx (optional) // - size - // TruncateFn func(ctx context.Context, size int64) error } @@ -58006,7 +56819,6 @@ func marshalFileOutputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - utf8 (optional): entity tag for the stream. -// func (stream *FileOutputStream) ETag() string { var _arg0 *C.GFileOutputStream // out var _cret *C.char // in @@ -58050,7 +56862,6 @@ func (stream *FileOutputStream) ETag() string { // The function returns the following values: // // - fileInfo for the stream, or NULL on error. -// func (stream *FileOutputStream) QueryInfo(ctx context.Context, attributes string) (*FileInfo, error) { var _arg0 *C.GFileOutputStream // out var _arg2 *C.GCancellable // out @@ -58096,7 +56907,6 @@ func (stream *FileOutputStream) QueryInfo(ctx context.Context, attributes string // - attributes: file attribute query string. // - ioPriority: [I/O priority][gio-GIOScheduler] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *FileOutputStream) QueryInfoAsync(ctx context.Context, attributes string, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GFileOutputStream // out var _arg3 *C.GCancellable // out @@ -58137,7 +56947,6 @@ func (stream *FileOutputStream) QueryInfoAsync(ctx context.Context, attributes s // The function returns the following values: // // - fileInfo for the finished query. -// func (stream *FileOutputStream) QueryInfoFinish(result AsyncResulter) (*FileInfo, error) { var _arg0 *C.GFileOutputStream // out var _arg1 *C.GAsyncResult // out @@ -58211,7 +57020,6 @@ func (stream *FileOutputStream) canTruncate() bool { // The function returns the following values: // // - utf8 (optional): entity tag for the stream. -// func (stream *FileOutputStream) eTag() string { gclass := (*C.GFileOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.get_etag @@ -58258,7 +57066,6 @@ func (stream *FileOutputStream) eTag() string { // The function returns the following values: // // - fileInfo for the stream, or NULL on error. -// func (stream *FileOutputStream) queryInfo(ctx context.Context, attributes string) (*FileInfo, error) { gclass := (*C.GFileOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.query_info @@ -58307,7 +57114,6 @@ func (stream *FileOutputStream) queryInfo(ctx context.Context, attributes string // - attributes: file attribute query string. // - ioPriority: [I/O priority][gio-GIOScheduler] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *FileOutputStream) queryInfoAsync(ctx context.Context, attributes string, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GFileOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.query_info_async @@ -58351,7 +57157,6 @@ func (stream *FileOutputStream) queryInfoAsync(ctx context.Context, attributes s // The function returns the following values: // // - fileInfo for the finished query. -// func (stream *FileOutputStream) queryInfoFinish(result AsyncResulter) (*FileInfo, error) { gclass := (*C.GFileOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.query_info_finish @@ -58384,7 +57189,6 @@ func (stream *FileOutputStream) queryInfoFinish(result AsyncResulter) (*FileInfo // - ctx (optional) // - offset // - typ -// func (stream *FileOutputStream) seek(ctx context.Context, offset int64, typ glib.SeekType) error { gclass := (*C.GFileOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.seek @@ -58442,7 +57246,6 @@ func (stream *FileOutputStream) tell() int64 { // // - ctx (optional) // - size -// func (stream *FileOutputStream) truncateFn(ctx context.Context, size int64) error { gclass := (*C.GFileOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.truncate_fn @@ -58540,7 +57343,6 @@ func (completer *FilenameCompleter) ConnectGotCompletionData(f func()) coreglib. // The function returns the following values: // // - filenameCompleter: Completer. -// func NewFilenameCompleter() *FilenameCompleter { var _cret *C.GFilenameCompleter // in @@ -58563,7 +57365,6 @@ func NewFilenameCompleter() *FilenameCompleter { // // - utf8 (optional): completed string, or NULL if no completion exists. This // string is not owned by GIO, so remember to g_free() it when finished. -// func (completer *FilenameCompleter) CompletionSuffix(initialText string) string { var _arg0 *C.GFilenameCompleter // out var _arg1 *C.char // out @@ -58597,7 +57398,6 @@ func (completer *FilenameCompleter) CompletionSuffix(initialText string) string // // - utf8s: array of strings with possible completions for initial_text. // This array must be freed by g_strfreev() when finished. -// func (completer *FilenameCompleter) Completions(initialText string) []string { var _arg0 *C.GFilenameCompleter // out var _arg1 *C.char // out @@ -58638,7 +57438,6 @@ func (completer *FilenameCompleter) Completions(initialText string) []string { // The function takes the following parameters: // // - dirsOnly: #gboolean. -// func (completer *FilenameCompleter) SetDirsOnly(dirsOnly bool) { var _arg0 *C.GFilenameCompleter // out var _arg1 C.gboolean // out @@ -58739,7 +57538,6 @@ func BaseFilterInputStream(obj FilterInputStreamer) *FilterInputStream { // The function returns the following values: // // - inputStream: Stream. -// func (stream *FilterInputStream) BaseStream() InputStreamer { var _arg0 *C.GFilterInputStream // out var _cret *C.GInputStream // in @@ -58778,7 +57576,6 @@ func (stream *FilterInputStream) BaseStream() InputStreamer { // The function returns the following values: // // - ok: TRUE if the base stream will be closed. -// func (stream *FilterInputStream) CloseBaseStream() bool { var _arg0 *C.GFilterInputStream // out var _cret C.gboolean // in @@ -58803,7 +57600,6 @@ func (stream *FilterInputStream) CloseBaseStream() bool { // The function takes the following parameters: // // - closeBase: TRUE to close the base stream. -// func (stream *FilterInputStream) SetCloseBaseStream(closeBase bool) { var _arg0 *C.GFilterInputStream // out var _arg1 C.gboolean // out @@ -58892,7 +57688,6 @@ func BaseFilterOutputStream(obj FilterOutputStreamer) *FilterOutputStream { // The function returns the following values: // // - outputStream: Stream. -// func (stream *FilterOutputStream) BaseStream() OutputStreamer { var _arg0 *C.GFilterOutputStream // out var _cret *C.GOutputStream // in @@ -58931,7 +57726,6 @@ func (stream *FilterOutputStream) BaseStream() OutputStreamer { // The function returns the following values: // // - ok: TRUE if the base stream will be closed. -// func (stream *FilterOutputStream) CloseBaseStream() bool { var _arg0 *C.GFilterOutputStream // out var _cret C.gboolean // in @@ -58956,7 +57750,6 @@ func (stream *FilterOutputStream) CloseBaseStream() bool { // The function takes the following parameters: // // - closeBase: TRUE to close the base stream. -// func (stream *FilterOutputStream) SetCloseBaseStream(closeBase bool) { var _arg0 *C.GFilterOutputStream // out var _arg1 C.gboolean // out @@ -58978,7 +57771,6 @@ type IOStreamOverrides struct { // The function takes the following parameters: // // - result: Result. - // CloseFinish func(result AsyncResulter) error CloseFn func(ctx context.Context) error // InputStream gets the input stream for this object. This is used for @@ -58987,7 +57779,6 @@ type IOStreamOverrides struct { // The function returns the following values: // // - inputStream owned by the OStream. Do not free. - // InputStream func() InputStreamer // OutputStream gets the output stream for this object. This is used for // writing. @@ -58995,7 +57786,6 @@ type IOStreamOverrides struct { // The function returns the following values: // // - outputStream owned by the OStream. Do not free. - // OutputStream func() OutputStreamer } @@ -59171,7 +57961,6 @@ func (stream *IOStream) ClearPending() { // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (stream *IOStream) Close(ctx context.Context) error { var _arg0 *C.GIOStream // out var _arg1 *C.GCancellable // out @@ -59212,7 +58001,6 @@ func (stream *IOStream) Close(ctx context.Context) error { // - ctx (optional): optional cancellable object. // - ioPriority: io priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *IOStream) CloseAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GIOStream // out var _arg2 *C.GCancellable // out @@ -59244,7 +58032,6 @@ func (stream *IOStream) CloseAsync(ctx context.Context, ioPriority int, callback // The function takes the following parameters: // // - result: Result. -// func (stream *IOStream) CloseFinish(result AsyncResulter) error { var _arg0 *C.GIOStream // out var _arg1 *C.GAsyncResult // out @@ -59271,7 +58058,6 @@ func (stream *IOStream) CloseFinish(result AsyncResulter) error { // The function returns the following values: // // - inputStream owned by the OStream. Do not free. -// func (stream *IOStream) InputStream() InputStreamer { var _arg0 *C.GIOStream // out var _cret *C.GInputStream // in @@ -59310,7 +58096,6 @@ func (stream *IOStream) InputStream() InputStreamer { // The function returns the following values: // // - outputStream owned by the OStream. Do not free. -// func (stream *IOStream) OutputStream() OutputStreamer { var _arg0 *C.GIOStream // out var _cret *C.GOutputStream // in @@ -59348,7 +58133,6 @@ func (stream *IOStream) OutputStream() OutputStreamer { // The function returns the following values: // // - ok: TRUE if stream has pending actions. -// func (stream *IOStream) HasPending() bool { var _arg0 *C.GIOStream // out var _cret C.gboolean // in @@ -59372,7 +58156,6 @@ func (stream *IOStream) HasPending() bool { // The function returns the following values: // // - ok: TRUE if the stream is closed. -// func (stream *IOStream) IsClosed() bool { var _arg0 *C.GIOStream // out var _cret C.gboolean // in @@ -59425,7 +58208,6 @@ func (stream *IOStream) SetPending() error { // - flags: set of OStreamSpliceFlags. // - ioPriority: io priority of the request. // - callback (optional): ReadyCallback. -// func (stream1 *IOStream) SpliceAsync(ctx context.Context, stream2 IOStreamer, flags IOStreamSpliceFlags, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GIOStream // out var _arg4 *C.GCancellable // out @@ -59473,7 +58255,6 @@ func (stream1 *IOStream) SpliceAsync(ctx context.Context, stream2 IOStreamer, fl // - ctx (optional): optional cancellable object. // - ioPriority: io priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *IOStream) closeAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GIOStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.close_async @@ -59508,7 +58289,6 @@ func (stream *IOStream) closeAsync(ctx context.Context, ioPriority int, callback // The function takes the following parameters: // // - result: Result. -// func (stream *IOStream) closeFinish(result AsyncResulter) error { gclass := (*C.GIOStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.close_finish @@ -59566,7 +58346,6 @@ func (stream *IOStream) closeFn(ctx context.Context) error { // The function returns the following values: // // - inputStream owned by the OStream. Do not free. -// func (stream *IOStream) inputStream() InputStreamer { gclass := (*C.GIOStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.get_input_stream @@ -59608,7 +58387,6 @@ func (stream *IOStream) inputStream() InputStreamer { // The function returns the following values: // // - outputStream owned by the OStream. Do not free. -// func (stream *IOStream) outputStream() OutputStreamer { gclass := (*C.GIOStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.get_output_stream @@ -59649,7 +58427,6 @@ func (stream *IOStream) outputStream() OutputStreamer { // The function takes the following parameters: // // - result: Result. -// func IOStreamSpliceFinish(result AsyncResulter) error { var _arg1 *C.GAsyncResult // out var _cerr *C.GError // in @@ -59676,7 +58453,6 @@ type InetAddressOverrides struct { // // - utf8: representation of address as a string, which should be freed // after use. - // String func() string } @@ -59745,7 +58521,6 @@ func marshalInetAddress(p uintptr) (interface{}, error) { // // - inetAddress: new Address corresponding to the "any" address for family. // Free the returned object with g_object_unref(). -// func NewInetAddressAny(family SocketFamily) *InetAddress { var _arg1 C.GSocketFamily // out var _cret *C.GInetAddress // in @@ -59774,7 +58549,6 @@ func NewInetAddressAny(family SocketFamily) *InetAddress { // - inetAddress (optional): new Address corresponding to string, // or NULL if string could not be parsed. Free the returned object with // g_object_unref(). -// func NewInetAddressFromString(str string) *InetAddress { var _arg1 *C.gchar // out var _cret *C.GInetAddress // in @@ -59804,7 +58578,6 @@ func NewInetAddressFromString(str string) *InetAddress { // // - inetAddress: new Address corresponding to the loopback address for // family. Free the returned object with g_object_unref(). -// func NewInetAddressLoopback(family SocketFamily) *InetAddress { var _arg1 C.GSocketFamily // out var _cret *C.GInetAddress // in @@ -59830,7 +58603,6 @@ func NewInetAddressLoopback(family SocketFamily) *InetAddress { // The function returns the following values: // // - ok: TRUE if address and other_address are equal, FALSE otherwise. -// func (address *InetAddress) Equal(otherAddress *InetAddress) bool { var _arg0 *C.GInetAddress // out var _arg1 *C.GInetAddress // out @@ -59857,7 +58629,6 @@ func (address *InetAddress) Equal(otherAddress *InetAddress) bool { // The function returns the following values: // // - socketFamily address's family. -// func (address *InetAddress) Family() SocketFamily { var _arg0 *C.GInetAddress // out var _cret C.GSocketFamily // in @@ -59879,7 +58650,6 @@ func (address *InetAddress) Family() SocketFamily { // The function returns the following values: // // - ok: TRUE if address is the "any" address for its family. -// func (address *InetAddress) IsAny() bool { var _arg0 *C.GInetAddress // out var _cret C.gboolean // in @@ -59904,7 +58674,6 @@ func (address *InetAddress) IsAny() bool { // The function returns the following values: // // - ok: TRUE if address is a link-local address. -// func (address *InetAddress) IsLinkLocal() bool { var _arg0 *C.GInetAddress // out var _cret C.gboolean // in @@ -59928,7 +58697,6 @@ func (address *InetAddress) IsLinkLocal() bool { // The function returns the following values: // // - ok: TRUE if address is the loopback address for its family. -// func (address *InetAddress) IsLoopback() bool { var _arg0 *C.GInetAddress // out var _cret C.gboolean // in @@ -59952,7 +58720,6 @@ func (address *InetAddress) IsLoopback() bool { // The function returns the following values: // // - ok: TRUE if address is a global multicast address. -// func (address *InetAddress) IsMcGlobal() bool { var _arg0 *C.GInetAddress // out var _cret C.gboolean // in @@ -59976,7 +58743,6 @@ func (address *InetAddress) IsMcGlobal() bool { // The function returns the following values: // // - ok: TRUE if address is a link-local multicast address. -// func (address *InetAddress) IsMcLinkLocal() bool { var _arg0 *C.GInetAddress // out var _cret C.gboolean // in @@ -60000,7 +58766,6 @@ func (address *InetAddress) IsMcLinkLocal() bool { // The function returns the following values: // // - ok: TRUE if address is a node-local multicast address. -// func (address *InetAddress) IsMcNodeLocal() bool { var _arg0 *C.GInetAddress // out var _cret C.gboolean // in @@ -60025,7 +58790,6 @@ func (address *InetAddress) IsMcNodeLocal() bool { // The function returns the following values: // // - ok: TRUE if address is an organization-local multicast address. -// func (address *InetAddress) IsMcOrgLocal() bool { var _arg0 *C.GInetAddress // out var _cret C.gboolean // in @@ -60049,7 +58813,6 @@ func (address *InetAddress) IsMcOrgLocal() bool { // The function returns the following values: // // - ok: TRUE if address is a site-local multicast address. -// func (address *InetAddress) IsMcSiteLocal() bool { var _arg0 *C.GInetAddress // out var _cret C.gboolean // in @@ -60073,7 +58836,6 @@ func (address *InetAddress) IsMcSiteLocal() bool { // The function returns the following values: // // - ok: TRUE if address is a multicast address. -// func (address *InetAddress) IsMulticast() bool { var _arg0 *C.GInetAddress // out var _cret C.gboolean // in @@ -60100,7 +58862,6 @@ func (address *InetAddress) IsMulticast() bool { // The function returns the following values: // // - ok: TRUE if address is a site-local address. -// func (address *InetAddress) IsSiteLocal() bool { var _arg0 *C.GInetAddress // out var _cret C.gboolean // in @@ -60125,7 +58886,6 @@ func (address *InetAddress) IsSiteLocal() bool { // The function returns the following values: // // - gsize: number of bytes used for the native version of address. -// func (address *InetAddress) NativeSize() uint { var _arg0 *C.GInetAddress // out var _cret C.gsize // in @@ -60148,7 +58908,6 @@ func (address *InetAddress) NativeSize() uint { // // - utf8: representation of address as a string, which should be freed after // use. -// func (address *InetAddress) String() string { var _arg0 *C.GInetAddress // out var _cret *C.gchar // in @@ -60172,7 +58931,6 @@ func (address *InetAddress) String() string { // // - utf8: representation of address as a string, which should be freed after // use. -// func (address *InetAddress) str() string { gclass := (*C.GInetAddressClass)(coreglib.PeekParentClass(address)) fnarg := gclass.to_string @@ -60256,7 +59014,6 @@ func marshalInetAddressMask(p uintptr) (interface{}, error) { // The function returns the following values: // // - inetAddressMask: new AddressMask, or NULL on error. -// func NewInetAddressMask(addr *InetAddress, length uint) (*InetAddressMask, error) { var _arg1 *C.GInetAddress // out var _arg2 C.guint // out @@ -60294,7 +59051,6 @@ func NewInetAddressMask(addr *InetAddress, length uint) (*InetAddressMask, error // // - inetAddressMask: new AddressMask corresponding to string, or NULL on // error. -// func NewInetAddressMaskFromString(maskString string) (*InetAddressMask, error) { var _arg1 *C.gchar // out var _cret *C.GInetAddressMask // in @@ -60326,7 +59082,6 @@ func NewInetAddressMaskFromString(maskString string) (*InetAddressMask, error) { // The function returns the following values: // // - ok: whether mask and mask2 are the same mask. -// func (mask *InetAddressMask) Equal(mask2 *InetAddressMask) bool { var _arg0 *C.GInetAddressMask // out var _arg1 *C.GInetAddressMask // out @@ -60353,7 +59108,6 @@ func (mask *InetAddressMask) Equal(mask2 *InetAddressMask) bool { // The function returns the following values: // // - inetAddress mask's base address. -// func (mask *InetAddressMask) Address() *InetAddress { var _arg0 *C.GInetAddressMask // out var _cret *C.GInetAddress // in @@ -60375,7 +59129,6 @@ func (mask *InetAddressMask) Address() *InetAddress { // The function returns the following values: // // - socketFamily of mask's address. -// func (mask *InetAddressMask) Family() SocketFamily { var _arg0 *C.GInetAddressMask // out var _cret C.GSocketFamily // in @@ -60397,7 +59150,6 @@ func (mask *InetAddressMask) Family() SocketFamily { // The function returns the following values: // // - guint mask's length. -// func (mask *InetAddressMask) Length() uint { var _arg0 *C.GInetAddressMask // out var _cret C.guint // in @@ -60423,7 +59175,6 @@ func (mask *InetAddressMask) Length() uint { // The function returns the following values: // // - ok: whether address falls within the range described by mask. -// func (mask *InetAddressMask) Matches(address *InetAddress) bool { var _arg0 *C.GInetAddressMask // out var _arg1 *C.GInetAddress // out @@ -60450,7 +59201,6 @@ func (mask *InetAddressMask) Matches(address *InetAddress) bool { // The function returns the following values: // // - utf8: string corresponding to mask. -// func (mask *InetAddressMask) String() string { var _arg0 *C.GInetAddressMask // out var _cret *C.gchar // in @@ -60528,7 +59278,6 @@ func marshalInetSocketAddress(p uintptr) (interface{}, error) { // The function returns the following values: // // - inetSocketAddress: new SocketAddress. -// func NewInetSocketAddress(address *InetAddress, port uint16) *InetSocketAddress { var _arg1 *C.GInetAddress // out var _arg2 C.guint16 // out @@ -60563,7 +59312,6 @@ func NewInetSocketAddress(address *InetAddress, port uint16) *InetSocketAddress // // - inetSocketAddress (optional): new SocketAddress, or NULL if address // cannot be parsed. -// func NewInetSocketAddressFromString(address string, port uint) *InetSocketAddress { var _arg1 *C.char // out var _arg2 C.guint // out @@ -60592,7 +59340,6 @@ func NewInetSocketAddressFromString(address string, port uint) *InetSocketAddres // // - inetAddress for address, which must be g_object_ref()'d if it will be // stored. -// func (address *InetSocketAddress) Address() *InetAddress { var _arg0 *C.GInetSocketAddress // out var _cret *C.GInetAddress // in @@ -60615,7 +59362,6 @@ func (address *InetSocketAddress) Address() *InetAddress { // The function returns the following values: // // - guint32: flowinfo field. -// func (address *InetSocketAddress) Flowinfo() uint32 { var _arg0 *C.GInetSocketAddress // out var _cret C.guint32 // in @@ -60637,7 +59383,6 @@ func (address *InetSocketAddress) Flowinfo() uint32 { // The function returns the following values: // // - guint16: port for address. -// func (address *InetSocketAddress) Port() uint16 { var _arg0 *C.GInetSocketAddress // out var _cret C.guint16 // in @@ -60660,7 +59405,6 @@ func (address *InetSocketAddress) Port() uint16 { // The function returns the following values: // // - guint32: scope id field. -// func (address *InetSocketAddress) ScopeID() uint32 { var _arg0 *C.GInetSocketAddress // out var _cret C.guint32 // in @@ -60685,7 +59429,6 @@ type InputStreamOverrides struct { // The function takes the following parameters: // // - result: Result. - // CloseFinish func(result AsyncResulter) error CloseFn func(ctx context.Context) error // ReadFinish finishes an asynchronous stream read operation. @@ -60697,7 +59440,6 @@ type InputStreamOverrides struct { // The function returns the following values: // // - gssize: number of bytes read in, or -1 on error, or 0 on end of file. - // ReadFinish func(result AsyncResulter) (int, error) // Skip tries to skip count bytes from the stream. Will block during the // operation. @@ -60723,7 +59465,6 @@ type InputStreamOverrides struct { // The function returns the following values: // // - gssize: number of bytes skipped, or -1 on error. - // Skip func(ctx context.Context, count uint) (int, error) // SkipFinish finishes a stream skip operation. // @@ -60734,7 +59475,6 @@ type InputStreamOverrides struct { // The function returns the following values: // // - gssize: size of the bytes skipped, or -1 on error. - // SkipFinish func(result AsyncResulter) (int, error) } @@ -60873,7 +59613,6 @@ func (stream *InputStream) ClearPending() { // The function takes the following parameters: // // - ctx (optional): optional #GCancellable object, NULL to ignore. -// func (stream *InputStream) Close(ctx context.Context) error { var _arg0 *C.GInputStream // out var _arg1 *C.GCancellable // out @@ -60915,7 +59654,6 @@ func (stream *InputStream) Close(ctx context.Context) error { // - ctx (optional): optional cancellable object. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *InputStream) CloseAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GInputStream // out var _arg2 *C.GCancellable // out @@ -60948,7 +59686,6 @@ func (stream *InputStream) CloseAsync(ctx context.Context, ioPriority int, callb // The function takes the following parameters: // // - result: Result. -// func (stream *InputStream) CloseFinish(result AsyncResulter) error { var _arg0 *C.GInputStream // out var _arg1 *C.GAsyncResult // out @@ -60975,7 +59712,6 @@ func (stream *InputStream) CloseFinish(result AsyncResulter) error { // The function returns the following values: // // - ok: TRUE if stream has pending actions. -// func (stream *InputStream) HasPending() bool { var _arg0 *C.GInputStream // out var _cret C.gboolean // in @@ -60999,7 +59735,6 @@ func (stream *InputStream) HasPending() bool { // The function returns the following values: // // - ok: TRUE if the stream is closed. -// func (stream *InputStream) IsClosed() bool { var _arg0 *C.GInputStream // out var _cret C.gboolean // in @@ -61049,7 +59784,6 @@ func (stream *InputStream) IsClosed() bool { // The function returns the following values: // // - gssize: number of bytes read, or -1 on error, or 0 on end of file. -// func (stream *InputStream) Read(ctx context.Context, buffer []byte) (int, error) { var _arg0 *C.GInputStream // out var _arg3 *C.GCancellable // out @@ -61115,7 +59849,6 @@ func (stream *InputStream) Read(ctx context.Context, buffer []byte) (int, error) // // - bytesRead: location to store the number of bytes that was read from the // stream. -// func (stream *InputStream) ReadAll(ctx context.Context, buffer []byte) (uint, error) { var _arg0 *C.GInputStream // out var _arg4 *C.GCancellable // out @@ -61169,7 +59902,6 @@ func (stream *InputStream) ReadAll(ctx context.Context, buffer []byte) (uint, er // long). // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *InputStream) ReadAllAsync(ctx context.Context, buffer []byte, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GInputStream // out var _arg4 *C.GCancellable // out @@ -61221,7 +59953,6 @@ func (stream *InputStream) ReadAllAsync(ctx context.Context, buffer []byte, ioPr // // - bytesRead: location to store the number of bytes that was read from the // stream. -// func (stream *InputStream) ReadAllFinish(result AsyncResulter) (uint, error) { var _arg0 *C.GInputStream // out var _arg1 *C.GAsyncResult // out @@ -61278,7 +60009,6 @@ func (stream *InputStream) ReadAllFinish(result AsyncResulter) (uint, error) { // long). // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *InputStream) ReadAsync(ctx context.Context, buffer []byte, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GInputStream // out var _arg4 *C.GCancellable // out @@ -61342,7 +60072,6 @@ func (stream *InputStream) ReadAsync(ctx context.Context, buffer []byte, ioPrior // The function returns the following values: // // - bytes: new #GBytes, or NULL on error. -// func (stream *InputStream) ReadBytes(ctx context.Context, count uint) (*glib.Bytes, error) { var _arg0 *C.GInputStream // out var _arg2 *C.GCancellable // out @@ -61406,7 +60135,6 @@ func (stream *InputStream) ReadBytes(ctx context.Context, count uint) (*glib.Byt // - count: number of bytes that will be read from the stream. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *InputStream) ReadBytesAsync(ctx context.Context, count uint, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GInputStream // out var _arg3 *C.GCancellable // out @@ -61445,7 +60173,6 @@ func (stream *InputStream) ReadBytesAsync(ctx context.Context, count uint, ioPri // The function returns the following values: // // - bytes: newly-allocated #GBytes, or NULL on error. -// func (stream *InputStream) ReadBytesFinish(result AsyncResulter) (*glib.Bytes, error) { var _arg0 *C.GInputStream // out var _arg1 *C.GAsyncResult // out @@ -61485,7 +60212,6 @@ func (stream *InputStream) ReadBytesFinish(result AsyncResulter) (*glib.Bytes, e // The function returns the following values: // // - gssize: number of bytes read in, or -1 on error, or 0 on end of file. -// func (stream *InputStream) ReadFinish(result AsyncResulter) (int, error) { var _arg0 *C.GInputStream // out var _arg1 *C.GAsyncResult // out @@ -61554,7 +60280,6 @@ func (stream *InputStream) SetPending() error { // The function returns the following values: // // - gssize: number of bytes skipped, or -1 on error. -// func (stream *InputStream) Skip(ctx context.Context, count uint) (int, error) { var _arg0 *C.GInputStream // out var _arg2 *C.GCancellable // out @@ -61616,7 +60341,6 @@ func (stream *InputStream) Skip(ctx context.Context, count uint) (int, error) { // - count: number of bytes that will be skipped from the stream. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *InputStream) SkipAsync(ctx context.Context, count uint, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GInputStream // out var _arg3 *C.GCancellable // out @@ -61655,7 +60379,6 @@ func (stream *InputStream) SkipAsync(ctx context.Context, count uint, ioPriority // The function returns the following values: // // - gssize: size of the bytes skipped, or -1 on error. -// func (stream *InputStream) SkipFinish(result AsyncResulter) (int, error) { var _arg0 *C.GInputStream // out var _arg1 *C.GAsyncResult // out @@ -61696,7 +60419,6 @@ func (stream *InputStream) SkipFinish(result AsyncResulter) (int, error) { // - ctx (optional): optional cancellable object. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *InputStream) closeAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.close_async @@ -61732,7 +60454,6 @@ func (stream *InputStream) closeAsync(ctx context.Context, ioPriority int, callb // The function takes the following parameters: // // - result: Result. -// func (stream *InputStream) closeFinish(result AsyncResulter) error { gclass := (*C.GInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.close_finish @@ -61794,7 +60515,6 @@ func (stream *InputStream) closeFn(ctx context.Context) error { // The function returns the following values: // // - gssize: number of bytes read in, or -1 on error, or 0 on end of file. -// func (stream *InputStream) readFinish(result AsyncResulter) (int, error) { gclass := (*C.GInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.read_finish @@ -61846,7 +60566,6 @@ func (stream *InputStream) readFinish(result AsyncResulter) (int, error) { // The function returns the following values: // // - gssize: number of bytes skipped, or -1 on error. -// func (stream *InputStream) skip(ctx context.Context, count uint) (int, error) { gclass := (*C.GInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.skip @@ -61911,7 +60630,6 @@ func (stream *InputStream) skip(ctx context.Context, count uint) (int, error) { // - count: number of bytes that will be skipped from the stream. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *InputStream) skipAsync(ctx context.Context, count uint, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.skip_async @@ -61953,7 +60671,6 @@ func (stream *InputStream) skipAsync(ctx context.Context, count uint, ioPriority // The function returns the following values: // // - gssize: size of the bytes skipped, or -1 on error. -// func (stream *InputStream) skipFinish(result AsyncResulter) (int, error) { gclass := (*C.GInputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.skip_finish @@ -62044,7 +60761,6 @@ func marshalListStore(p uintptr) (interface{}, error) { // The function returns the following values: // // - listStore: new Store. -// func NewListStore(itemType coreglib.Type) *ListStore { var _arg1 C.GType // out var _cret *C.GListStore // in @@ -62071,7 +60787,6 @@ func NewListStore(itemType coreglib.Type) *ListStore { // The function takes the following parameters: // // - item: new item. -// func (store *ListStore) Append(item *coreglib.Object) { var _arg0 *C.GListStore // out var _arg1 C.gpointer // out @@ -62100,7 +60815,6 @@ func (store *ListStore) Append(item *coreglib.Object) { // - position (optional): first position of item, if it was found. // - ok: whether store contains item. If it was found, position will be set to // the position where item occurred for the first time. -// func (store *ListStore) Find(item *coreglib.Object) (uint, bool) { var _arg0 *C.GListStore // out var _arg1 C.gpointer // out @@ -62138,7 +60852,6 @@ func (store *ListStore) Find(item *coreglib.Object) (uint, bool) { // // - position at which to insert the new item. // - item: new item. -// func (store *ListStore) Insert(position uint, item *coreglib.Object) { var _arg0 *C.GListStore // out var _arg1 C.guint // out @@ -62171,7 +60884,6 @@ func (store *ListStore) Insert(position uint, item *coreglib.Object) { // The function returns the following values: // // - guint: position at which item was inserted. -// func (store *ListStore) InsertSorted(item *coreglib.Object, compareFunc glib.CompareDataFunc) uint { var _arg0 *C.GListStore // out var _arg1 C.gpointer // out @@ -62206,7 +60918,6 @@ func (store *ListStore) InsertSorted(item *coreglib.Object, compareFunc glib.Com // The function takes the following parameters: // // - position of the item that is to be removed. -// func (store *ListStore) Remove(position uint) { var _arg0 *C.GListStore // out var _arg1 C.guint // out @@ -62234,7 +60945,6 @@ func (store *ListStore) RemoveAll() { // The function takes the following parameters: // // - compareFunc: pairwise comparison function for sorting. -// func (store *ListStore) Sort(compareFunc glib.CompareDataFunc) { var _arg0 *C.GListStore // out var _arg1 C.GCompareDataFunc // out @@ -62269,7 +60979,6 @@ func (store *ListStore) Sort(compareFunc glib.CompareDataFunc) { // - position at which to make the change. // - nRemovals: number of items to remove. // - additions items to add. -// func (store *ListStore) Splice(position, nRemovals uint, additions []*coreglib.Object) { var _arg0 *C.GListStore // out var _arg1 C.guint // out @@ -62365,7 +61074,6 @@ func marshalMemoryInputStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - memoryInputStream: new Stream. -// func NewMemoryInputStream() *MemoryInputStream { var _cret *C.GInputStream // in @@ -62388,7 +61096,6 @@ func NewMemoryInputStream() *MemoryInputStream { // The function returns the following values: // // - memoryInputStream: new Stream read from bytes. -// func NewMemoryInputStreamFromBytes(bytes *glib.Bytes) *MemoryInputStream { var _arg1 *C.GBytes // out var _cret *C.GInputStream // in @@ -62410,7 +61117,6 @@ func NewMemoryInputStreamFromBytes(bytes *glib.Bytes) *MemoryInputStream { // The function takes the following parameters: // // - bytes: input data. -// func (stream *MemoryInputStream) AddBytes(bytes *glib.Bytes) { var _arg0 *C.GMemoryInputStream // out var _arg1 *C.GBytes // out @@ -62510,7 +61216,6 @@ func NewMemoryOutputStreamResizable() *MemoryOutputStream { // // - gpointer (optional): pointer to the stream's data, or NULL if the data // has been stolen. -// func (ostream *MemoryOutputStream) Data() unsafe.Pointer { var _arg0 *C.GMemoryOutputStream // out var _cret C.gpointer // in @@ -62533,7 +61238,6 @@ func (ostream *MemoryOutputStream) Data() unsafe.Pointer { // The function returns the following values: // // - gsize: number of bytes written to the stream. -// func (ostream *MemoryOutputStream) DataSize() uint { var _arg0 *C.GMemoryOutputStream // out var _cret C.gsize // in @@ -62568,7 +61272,6 @@ func (ostream *MemoryOutputStream) DataSize() uint { // The function returns the following values: // // - gsize: number of bytes allocated for the data buffer. -// func (ostream *MemoryOutputStream) Size() uint { var _arg0 *C.GMemoryOutputStream // out var _cret C.gsize // in @@ -62591,7 +61294,6 @@ func (ostream *MemoryOutputStream) Size() uint { // The function returns the following values: // // - bytes stream's data. -// func (ostream *MemoryOutputStream) StealAsBytes() *glib.Bytes { var _arg0 *C.GMemoryOutputStream // out var _cret *C.GBytes // in @@ -62624,7 +61326,6 @@ func (ostream *MemoryOutputStream) StealAsBytes() *glib.Bytes { // // - gpointer (optional) stream's data, or NULL if it has previously been // stolen. -// func (ostream *MemoryOutputStream) StealData() unsafe.Pointer { var _arg0 *C.GMemoryOutputStream // out var _cret C.gpointer // in @@ -62676,7 +61377,6 @@ func marshalMenu(p uintptr) (interface{}, error) { // The function returns the following values: // // - menu: new #GMenu. -// func NewMenu() *Menu { var _cret *C.GMenu // in @@ -62697,7 +61397,6 @@ func NewMenu() *Menu { // // - label (optional): section label, or NULL. // - detailedAction (optional): detailed action string, or NULL. -// func (menu *Menu) Append(label, detailedAction string) { var _arg0 *C.GMenu // out var _arg1 *C.gchar // out @@ -62726,7 +61425,6 @@ func (menu *Menu) Append(label, detailedAction string) { // The function takes the following parameters: // // - item to append. -// func (menu *Menu) AppendItem(item *MenuItem) { var _arg0 *C.GMenu // out var _arg1 *C.GMenuItem // out @@ -62747,7 +61445,6 @@ func (menu *Menu) AppendItem(item *MenuItem) { // // - label (optional): section label, or NULL. // - section with the items of the section. -// func (menu *Menu) AppendSection(label string, section MenuModeller) { var _arg0 *C.GMenu // out var _arg1 *C.gchar // out @@ -62774,7 +61471,6 @@ func (menu *Menu) AppendSection(label string, section MenuModeller) { // // - label (optional): section label, or NULL. // - submenu with the items of the submenu. -// func (menu *Menu) AppendSubmenu(label string, submenu MenuModeller) { var _arg0 *C.GMenu // out var _arg1 *C.gchar // out @@ -62818,7 +61514,6 @@ func (menu *Menu) Freeze() { // - position at which to insert the item. // - label (optional): section label, or NULL. // - detailedAction (optional): detailed action string, or NULL. -// func (menu *Menu) Insert(position int, label, detailedAction string) { var _arg0 *C.GMenu // out var _arg1 C.gint // out @@ -62864,7 +61559,6 @@ func (menu *Menu) Insert(position int, label, detailedAction string) { // // - position at which to insert the item. // - item to insert. -// func (menu *Menu) InsertItem(position int, item *MenuItem) { var _arg0 *C.GMenu // out var _arg1 C.gint // out @@ -62889,7 +61583,6 @@ func (menu *Menu) InsertItem(position int, item *MenuItem) { // - position at which to insert the item. // - label (optional): section label, or NULL. // - section with the items of the section. -// func (menu *Menu) InsertSection(position int, label string, section MenuModeller) { var _arg0 *C.GMenu // out var _arg1 C.gint // out @@ -62920,7 +61613,6 @@ func (menu *Menu) InsertSection(position int, label string, section MenuModeller // - position at which to insert the item. // - label (optional): section label, or NULL. // - submenu with the items of the submenu. -// func (menu *Menu) InsertSubmenu(position int, label string, submenu MenuModeller) { var _arg0 *C.GMenu // out var _arg1 C.gint // out @@ -62950,7 +61642,6 @@ func (menu *Menu) InsertSubmenu(position int, label string, submenu MenuModeller // // - label (optional): section label, or NULL. // - detailedAction (optional): detailed action string, or NULL. -// func (menu *Menu) Prepend(label, detailedAction string) { var _arg0 *C.GMenu // out var _arg1 *C.gchar // out @@ -62979,7 +61670,6 @@ func (menu *Menu) Prepend(label, detailedAction string) { // The function takes the following parameters: // // - item to prepend. -// func (menu *Menu) PrependItem(item *MenuItem) { var _arg0 *C.GMenu // out var _arg1 *C.GMenuItem // out @@ -63000,7 +61690,6 @@ func (menu *Menu) PrependItem(item *MenuItem) { // // - label (optional): section label, or NULL. // - section with the items of the section. -// func (menu *Menu) PrependSection(label string, section MenuModeller) { var _arg0 *C.GMenu // out var _arg1 *C.gchar // out @@ -63027,7 +61716,6 @@ func (menu *Menu) PrependSection(label string, section MenuModeller) { // // - label (optional): section label, or NULL. // - submenu with the items of the submenu. -// func (menu *Menu) PrependSubmenu(label string, submenu MenuModeller) { var _arg0 *C.GMenu // out var _arg1 *C.gchar // out @@ -63060,7 +61748,6 @@ func (menu *Menu) PrependSubmenu(label string, submenu MenuModeller) { // The function takes the following parameters: // // - position of the item to remove. -// func (menu *Menu) Remove(position int) { var _arg0 *C.GMenu // out var _arg1 C.gint // out @@ -63105,7 +61792,6 @@ type MenuAttributeIterOverrides struct { // - outName (optional): type of the attribute. // - value (optional): attribute value. // - ok: TRUE on success, or FALSE if there is no additional attribute. - // Next func() (string, *glib.Variant, bool) } @@ -63186,7 +61872,6 @@ func BaseMenuAttributeIter(obj MenuAttributeIterer) *MenuAttributeIter { // The function returns the following values: // // - utf8: name of the attribute. -// func (iter *MenuAttributeIter) Name() string { var _arg0 *C.GMenuAttributeIter // out var _cret *C.gchar // in @@ -63223,7 +61908,6 @@ func (iter *MenuAttributeIter) Name() string { // - outName (optional): type of the attribute. // - value (optional): attribute value. // - ok: TRUE on success, or FALSE if there is no additional attribute. -// func (iter *MenuAttributeIter) GetNext() (string, *glib.Variant, bool) { var _arg0 *C.GMenuAttributeIter // out var _arg1 *C.gchar // in @@ -63265,7 +61949,6 @@ func (iter *MenuAttributeIter) GetNext() (string, *glib.Variant, bool) { // The function returns the following values: // // - variant: value of the current attribute. -// func (iter *MenuAttributeIter) Value() *glib.Variant { var _arg0 *C.GMenuAttributeIter // out var _cret *C.GVariant // in @@ -63298,7 +61981,6 @@ func (iter *MenuAttributeIter) Value() *glib.Variant { // The function returns the following values: // // - ok: TRUE on success, or FALSE when there are no more attributes. -// func (iter *MenuAttributeIter) Next() bool { var _arg0 *C.GMenuAttributeIter // out var _cret C.gboolean // in @@ -63337,7 +62019,6 @@ func (iter *MenuAttributeIter) Next() bool { // - outName (optional): type of the attribute. // - value (optional): attribute value. // - ok: TRUE on success, or FALSE if there is no additional attribute. -// func (iter *MenuAttributeIter) next() (string, *glib.Variant, bool) { gclass := (*C.GMenuAttributeIterClass)(coreglib.PeekParentClass(iter)) fnarg := gclass.get_next @@ -63412,7 +62093,6 @@ func marshalMenuItem(p uintptr) (interface{}, error) { // The function returns the following values: // // - menuItem: new Item. -// func NewMenuItem(label, detailedAction string) *MenuItem { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -63452,7 +62132,6 @@ func NewMenuItem(label, detailedAction string) *MenuItem { // The function returns the following values: // // - menuItem: new Item. -// func NewMenuItemFromModel(model MenuModeller, itemIndex int) *MenuItem { var _arg1 *C.GMenuModel // out var _arg2 C.gint // out @@ -63495,17 +62174,17 @@ func NewMenuItemFromModel(model MenuModeller, itemIndex int) *MenuItem { // added as submenus of the third. In XML format, this would look something like // the following: // -// -//
-// -// -//
-//
-// -// -// -//
-//
+// +//
+// +// +//
+//
+// +// +// +//
+//
// // The following example is exactly equivalent. It is more illustrative of the // exact relationship between the menus and items (keeping in mind that the @@ -63514,21 +62193,21 @@ func NewMenuItemFromModel(model MenuModeller, itemIndex int) *MenuItem { // therefore not recommended except for the purpose of understanding what is // really going on). // -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// . +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// . // // The function takes the following parameters: // @@ -63538,7 +62217,6 @@ func NewMenuItemFromModel(model MenuModeller, itemIndex int) *MenuItem { // The function returns the following values: // // - menuItem: new Item. -// func NewMenuItemSection(label string, section MenuModeller) *MenuItem { var _arg1 *C.gchar // out var _arg2 *C.GMenuModel // out @@ -63574,7 +62252,6 @@ func NewMenuItemSection(label string, section MenuModeller) *MenuItem { // The function returns the following values: // // - menuItem: new Item. -// func NewMenuItemSubmenu(label string, submenu MenuModeller) *MenuItem { var _arg1 *C.gchar // out var _arg2 *C.GMenuModel // out @@ -63610,7 +62287,6 @@ func NewMenuItemSubmenu(label string, submenu MenuModeller) *MenuItem { // The function returns the following values: // // - variant (optional): attribute value, or NULL. -// func (menuItem *MenuItem) AttributeValue(attribute string, expectedType *glib.VariantType) *glib.Variant { var _arg0 *C.GMenuItem // out var _arg1 *C.gchar // out @@ -63653,7 +62329,6 @@ func (menuItem *MenuItem) AttributeValue(attribute string, expectedType *glib.Va // The function returns the following values: // // - menuModel (optional): link, or NULL. -// func (menuItem *MenuItem) Link(link string) MenuModeller { var _arg0 *C.GMenuItem // out var _arg1 *C.gchar // out @@ -63729,7 +62404,6 @@ func (menuItem *MenuItem) Link(link string) MenuModeller { // // - action (optional): name of the action for this item. // - targetValue (optional) to use as the action target. -// func (menuItem *MenuItem) SetActionAndTargetValue(action string, targetValue *glib.Variant) { var _arg0 *C.GMenuItem // out var _arg1 *C.gchar // out @@ -63772,7 +62446,6 @@ func (menuItem *MenuItem) SetActionAndTargetValue(action string, targetValue *gl // // - attribute to set. // - value (optional) to use as the value, or NULL. -// func (menuItem *MenuItem) SetAttributeValue(attribute string, value *glib.Variant) { var _arg0 *C.GMenuItem // out var _arg1 *C.gchar // out @@ -63807,7 +62480,6 @@ func (menuItem *MenuItem) SetAttributeValue(attribute string, value *glib.Varian // The function takes the following parameters: // // - detailedAction: "detailed" action string. -// func (menuItem *MenuItem) SetDetailedAction(detailedAction string) { var _arg0 *C.GMenuItem // out var _arg1 *C.gchar // out @@ -63835,7 +62507,6 @@ func (menuItem *MenuItem) SetDetailedAction(detailedAction string) { // The function takes the following parameters: // // - icon or NULL. -// func (menuItem *MenuItem) SetIcon(icon Iconner) { var _arg0 *C.GMenuItem // out var _arg1 *C.GIcon // out @@ -63856,7 +62527,6 @@ func (menuItem *MenuItem) SetIcon(icon Iconner) { // The function takes the following parameters: // // - label (optional) to set, or NULL to unset. -// func (menuItem *MenuItem) SetLabel(label string) { var _arg0 *C.GMenuItem // out var _arg1 *C.gchar // out @@ -63887,7 +62557,6 @@ func (menuItem *MenuItem) SetLabel(label string) { // // - link: type of link to establish or unset. // - model (optional) to link to (or NULL to unset). -// func (menuItem *MenuItem) SetLink(link string, model MenuModeller) { var _arg0 *C.GMenuItem // out var _arg1 *C.gchar // out @@ -63916,7 +62585,6 @@ func (menuItem *MenuItem) SetLink(link string, model MenuModeller) { // The function takes the following parameters: // // - section (optional) or NULL. -// func (menuItem *MenuItem) SetSection(section MenuModeller) { var _arg0 *C.GMenuItem // out var _arg1 *C.GMenuModel // out @@ -63942,7 +62610,6 @@ func (menuItem *MenuItem) SetSection(section MenuModeller) { // The function takes the following parameters: // // - submenu (optional) or NULL. -// func (menuItem *MenuItem) SetSubmenu(submenu MenuModeller) { var _arg0 *C.GMenuItem // out var _arg1 *C.GMenuModel // out @@ -63979,7 +62646,6 @@ type MenuLinkIterOverrides struct { // - outLink (optional): name of the link. // - value (optional): linked Model. // - ok: TRUE on success, or FALSE if there is no additional link. - // Next func() (string, MenuModeller, bool) } @@ -64059,7 +62725,6 @@ func BaseMenuLinkIter(obj MenuLinkIterer) *MenuLinkIter { // The function returns the following values: // // - utf8: type of the link. -// func (iter *MenuLinkIter) Name() string { var _arg0 *C.GMenuLinkIter // out var _cret *C.gchar // in @@ -64095,7 +62760,6 @@ func (iter *MenuLinkIter) Name() string { // - outLink (optional): name of the link. // - value (optional): linked Model. // - ok: TRUE on success, or FALSE if there is no additional link. -// func (iter *MenuLinkIter) GetNext() (string, MenuModeller, bool) { var _arg0 *C.GMenuLinkIter // out var _arg1 *C.gchar // in @@ -64144,7 +62808,6 @@ func (iter *MenuLinkIter) GetNext() (string, MenuModeller, bool) { // The function returns the following values: // // - menuModel that is linked to. -// func (iter *MenuLinkIter) Value() MenuModeller { var _arg0 *C.GMenuLinkIter // out var _cret *C.GMenuModel // in @@ -64187,7 +62850,6 @@ func (iter *MenuLinkIter) Value() MenuModeller { // The function returns the following values: // // - ok: TRUE on success, or FALSE when there are no more links. -// func (iter *MenuLinkIter) Next() bool { var _arg0 *C.GMenuLinkIter // out var _cret C.gboolean // in @@ -64225,7 +62887,6 @@ func (iter *MenuLinkIter) Next() bool { // - outLink (optional): name of the link. // - value (optional): linked Model. // - ok: TRUE on success, or FALSE if there is no additional link. -// func (iter *MenuLinkIter) next() (string, MenuModeller, bool) { gclass := (*C.GMenuLinkIterClass)(coreglib.PeekParentClass(iter)) fnarg := gclass.get_next @@ -64293,7 +62954,6 @@ type MenuModelOverrides struct { // The function returns the following values: // // - variant (optional): value of the attribute. - // ItemAttributeValue func(itemIndex int, attribute string, expectedType *glib.VariantType) *glib.Variant // ItemAttributes gets all the attributes associated with the item in the // menu model. @@ -64305,7 +62965,6 @@ type MenuModelOverrides struct { // The function returns the following values: // // - attributes attributes on the item. - // ItemAttributes func(itemIndex int) map[string]*glib.Variant // ItemLink queries the item at position item_index in model for the link // specified by link. @@ -64321,7 +62980,6 @@ type MenuModelOverrides struct { // The function returns the following values: // // - menuModel (optional): linked Model, or NULL. - // ItemLink func(itemIndex int, link string) MenuModeller // ItemLinks gets all the links associated with the item in the menu model. // @@ -64332,14 +62990,12 @@ type MenuModelOverrides struct { // The function returns the following values: // // - links links from the item. - // ItemLinks func(itemIndex int) map[string]MenuModeller // NItems: query the number of items in model. // // The function returns the following values: // // - gint: number of items. - // NItems func() int // IsMutable queries if model is mutable. // @@ -64350,7 +63006,6 @@ type MenuModelOverrides struct { // // - ok: TRUE if the model is mutable (ie: "items-changed" may be // emitted). - // IsMutable func() bool // IterateItemAttributes creates a AttributeIter to iterate over the // attributes of the item at position item_index in model. @@ -64364,7 +63019,6 @@ type MenuModelOverrides struct { // The function returns the following values: // // - menuAttributeIter: new AttributeIter. - // IterateItemAttributes func(itemIndex int) MenuAttributeIterer // IterateItemLinks creates a LinkIter to iterate over the links of the item // at position item_index in model. @@ -64378,7 +63032,6 @@ type MenuModelOverrides struct { // The function returns the following values: // // - menuLinkIter: new LinkIter. - // IterateItemLinks func(itemIndex int) MenuLinkIterer } @@ -64645,7 +63298,6 @@ func (model *MenuModel) ConnectItemsChanged(f func(position, removed, added int) // The function returns the following values: // // - variant (optional): value of the attribute. -// func (model *MenuModel) ItemAttributeValue(itemIndex int, attribute string, expectedType *glib.VariantType) *glib.Variant { var _arg0 *C.GMenuModel // out var _arg1 C.gint // out @@ -64696,7 +63348,6 @@ func (model *MenuModel) ItemAttributeValue(itemIndex int, attribute string, expe // The function returns the following values: // // - menuModel (optional): linked Model, or NULL. -// func (model *MenuModel) ItemLink(itemIndex int, link string) MenuModeller { var _arg0 *C.GMenuModel // out var _arg1 C.gint // out @@ -64740,7 +63391,6 @@ func (model *MenuModel) ItemLink(itemIndex int, link string) MenuModeller { // The function returns the following values: // // - gint: number of items. -// func (model *MenuModel) NItems() int { var _arg0 *C.GMenuModel // out var _cret C.gint // in @@ -64765,7 +63415,6 @@ func (model *MenuModel) NItems() int { // The function returns the following values: // // - ok: TRUE if the model is mutable (ie: "items-changed" may be emitted). -// func (model *MenuModel) IsMutable() bool { var _arg0 *C.GMenuModel // out var _cret C.gboolean // in @@ -64805,7 +63454,6 @@ func (model *MenuModel) IsMutable() bool { // - position of the change. // - removed: number of items removed. // - added: number of items added. -// func (model *MenuModel) ItemsChanged(position, removed, added int) { var _arg0 *C.GMenuModel // out var _arg1 C.gint // out @@ -64836,7 +63484,6 @@ func (model *MenuModel) ItemsChanged(position, removed, added int) { // The function returns the following values: // // - menuAttributeIter: new AttributeIter. -// func (model *MenuModel) IterateItemAttributes(itemIndex int) MenuAttributeIterer { var _arg0 *C.GMenuModel // out var _arg1 C.gint // out @@ -64884,7 +63531,6 @@ func (model *MenuModel) IterateItemAttributes(itemIndex int) MenuAttributeIterer // The function returns the following values: // // - menuLinkIter: new LinkIter. -// func (model *MenuModel) IterateItemLinks(itemIndex int) MenuLinkIterer { var _arg0 *C.GMenuModel // out var _arg1 C.gint // out @@ -64941,7 +63587,6 @@ func (model *MenuModel) IterateItemLinks(itemIndex int) MenuLinkIterer { // The function returns the following values: // // - variant (optional): value of the attribute. -// func (model *MenuModel) itemAttributeValue(itemIndex int, attribute string, expectedType *glib.VariantType) *glib.Variant { gclass := (*C.GMenuModelClass)(coreglib.PeekParentClass(model)) fnarg := gclass.get_item_attribute_value @@ -64991,7 +63636,6 @@ func (model *MenuModel) itemAttributeValue(itemIndex int, attribute string, expe // The function returns the following values: // // - attributes attributes on the item. -// func (model *MenuModel) itemAttributes(itemIndex int) map[string]*glib.Variant { gclass := (*C.GMenuModelClass)(coreglib.PeekParentClass(model)) fnarg := gclass.get_item_attributes @@ -65044,7 +63688,6 @@ func (model *MenuModel) itemAttributes(itemIndex int) map[string]*glib.Variant { // The function returns the following values: // // - menuModel (optional): linked Model, or NULL. -// func (model *MenuModel) itemLink(itemIndex int, link string) MenuModeller { gclass := (*C.GMenuModelClass)(coreglib.PeekParentClass(model)) fnarg := gclass.get_item_link @@ -65095,7 +63738,6 @@ func (model *MenuModel) itemLink(itemIndex int, link string) MenuModeller { // The function returns the following values: // // - links links from the item. -// func (model *MenuModel) itemLinks(itemIndex int) map[string]MenuModeller { gclass := (*C.GMenuModelClass)(coreglib.PeekParentClass(model)) fnarg := gclass.get_item_links @@ -65148,7 +63790,6 @@ func (model *MenuModel) itemLinks(itemIndex int) map[string]MenuModeller { // The function returns the following values: // // - gint: number of items. -// func (model *MenuModel) nItems() int { gclass := (*C.GMenuModelClass)(coreglib.PeekParentClass(model)) fnarg := gclass.get_n_items @@ -65176,7 +63817,6 @@ func (model *MenuModel) nItems() int { // The function returns the following values: // // - ok: TRUE if the model is mutable (ie: "items-changed" may be emitted). -// func (model *MenuModel) isMutable() bool { gclass := (*C.GMenuModelClass)(coreglib.PeekParentClass(model)) fnarg := gclass.is_mutable @@ -65210,7 +63850,6 @@ func (model *MenuModel) isMutable() bool { // The function returns the following values: // // - menuAttributeIter: new AttributeIter. -// func (model *MenuModel) iterateItemAttributes(itemIndex int) MenuAttributeIterer { gclass := (*C.GMenuModelClass)(coreglib.PeekParentClass(model)) fnarg := gclass.iterate_item_attributes @@ -65261,7 +63900,6 @@ func (model *MenuModel) iterateItemAttributes(itemIndex int) MenuAttributeIterer // The function returns the following values: // // - menuLinkIter: new LinkIter. -// func (model *MenuModel) iterateItemLinks(itemIndex int) MenuLinkIterer { gclass := (*C.GMenuModelClass)(coreglib.PeekParentClass(model)) fnarg := gclass.iterate_item_links @@ -65309,7 +63947,6 @@ type MountOperationOverrides struct { // - defaultUser // - defaultDomain // - flags - // AskPassword func(message, defaultUser, defaultDomain string, flags AskPasswordFlags) // AskQuestion: virtual implementation of Operation::ask-question. // @@ -65317,21 +63954,18 @@ type MountOperationOverrides struct { // // - message: string containing a message to display to the user. // - choices: array of strings for each possible choice. - // AskQuestion func(message string, choices []string) // Reply emits the Operation::reply signal. // // The function takes the following parameters: // // - result: OperationResult. - // Reply func(result MountOperationResult) // The function takes the following parameters: // // - message // - timeLeft // - bytesLeft - // ShowUnmountProgress func(message string, timeLeft, bytesLeft int64) } @@ -65478,7 +64112,6 @@ func (op *MountOperation) ConnectShowUnmountProgress(f func(message string, time // The function returns the following values: // // - mountOperation: Operation. -// func NewMountOperation() *MountOperation { var _cret *C.GMountOperation // in @@ -65497,7 +64130,6 @@ func NewMountOperation() *MountOperation { // The function returns the following values: // // - ok: TRUE if mount operation is anonymous. -// func (op *MountOperation) Anonymous() bool { var _arg0 *C.GMountOperation // out var _cret C.gboolean // in @@ -65522,7 +64154,6 @@ func (op *MountOperation) Anonymous() bool { // // - gint: integer containing an index of the user's choice from the choice's // list, or 0. -// func (op *MountOperation) Choice() int { var _arg0 *C.GMountOperation // out var _cret C.int // in @@ -65544,7 +64175,6 @@ func (op *MountOperation) Choice() int { // The function returns the following values: // // - utf8 (optional): string set to the domain. -// func (op *MountOperation) Domain() string { var _arg0 *C.GMountOperation // out var _cret *C.char // in @@ -65569,7 +64199,6 @@ func (op *MountOperation) Domain() string { // The function returns the following values: // // - ok: TRUE if mount operation is for hidden volume. -// func (op *MountOperation) IsTcryptHiddenVolume() bool { var _arg0 *C.GMountOperation // out var _cret C.gboolean // in @@ -65594,7 +64223,6 @@ func (op *MountOperation) IsTcryptHiddenVolume() bool { // The function returns the following values: // // - ok: TRUE if mount operation is for system volume. -// func (op *MountOperation) IsTcryptSystemVolume() bool { var _arg0 *C.GMountOperation // out var _cret C.gboolean // in @@ -65618,7 +64246,6 @@ func (op *MountOperation) IsTcryptSystemVolume() bool { // The function returns the following values: // // - utf8 (optional): string containing the password within op. -// func (op *MountOperation) Password() string { var _arg0 *C.GMountOperation // out var _cret *C.char // in @@ -65642,7 +64269,6 @@ func (op *MountOperation) Password() string { // The function returns the following values: // // - passwordSave: Save flag. -// func (op *MountOperation) PasswordSave() PasswordSave { var _arg0 *C.GMountOperation // out var _cret C.GPasswordSave // in @@ -65664,7 +64290,6 @@ func (op *MountOperation) PasswordSave() PasswordSave { // The function returns the following values: // // - guint: veraCrypt PIM within op. -// func (op *MountOperation) Pim() uint { var _arg0 *C.GMountOperation // out var _cret C.guint // in @@ -65686,7 +64311,6 @@ func (op *MountOperation) Pim() uint { // The function returns the following values: // // - utf8 (optional): string containing the user name. -// func (op *MountOperation) Username() string { var _arg0 *C.GMountOperation // out var _cret *C.char // in @@ -65710,7 +64334,6 @@ func (op *MountOperation) Username() string { // The function takes the following parameters: // // - result: OperationResult. -// func (op *MountOperation) Reply(result MountOperationResult) { var _arg0 *C.GMountOperation // out var _arg1 C.GMountOperationResult // out @@ -65729,7 +64352,6 @@ func (op *MountOperation) Reply(result MountOperationResult) { // The function takes the following parameters: // // - anonymous: boolean value. -// func (op *MountOperation) SetAnonymous(anonymous bool) { var _arg0 *C.GMountOperation // out var _arg1 C.gboolean // out @@ -65749,7 +64371,6 @@ func (op *MountOperation) SetAnonymous(anonymous bool) { // The function takes the following parameters: // // - choice: integer. -// func (op *MountOperation) SetChoice(choice int) { var _arg0 *C.GMountOperation // out var _arg1 C.int // out @@ -65767,7 +64388,6 @@ func (op *MountOperation) SetChoice(choice int) { // The function takes the following parameters: // // - domain (optional) to set. -// func (op *MountOperation) SetDomain(domain string) { var _arg0 *C.GMountOperation // out var _arg1 *C.char // out @@ -65789,7 +64409,6 @@ func (op *MountOperation) SetDomain(domain string) { // The function takes the following parameters: // // - hiddenVolume: boolean value. -// func (op *MountOperation) SetIsTcryptHiddenVolume(hiddenVolume bool) { var _arg0 *C.GMountOperation // out var _arg1 C.gboolean // out @@ -65810,7 +64429,6 @@ func (op *MountOperation) SetIsTcryptHiddenVolume(hiddenVolume bool) { // The function takes the following parameters: // // - systemVolume: boolean value. -// func (op *MountOperation) SetIsTcryptSystemVolume(systemVolume bool) { var _arg0 *C.GMountOperation // out var _arg1 C.gboolean // out @@ -65830,7 +64448,6 @@ func (op *MountOperation) SetIsTcryptSystemVolume(systemVolume bool) { // The function takes the following parameters: // // - password (optional) to set. -// func (op *MountOperation) SetPassword(password string) { var _arg0 *C.GMountOperation // out var _arg1 *C.char // out @@ -65851,7 +64468,6 @@ func (op *MountOperation) SetPassword(password string) { // The function takes the following parameters: // // - save: set of Save flags. -// func (op *MountOperation) SetPasswordSave(save PasswordSave) { var _arg0 *C.GMountOperation // out var _arg1 C.GPasswordSave // out @@ -65869,7 +64485,6 @@ func (op *MountOperation) SetPasswordSave(save PasswordSave) { // The function takes the following parameters: // // - pim: unsigned integer. -// func (op *MountOperation) SetPim(pim uint) { var _arg0 *C.GMountOperation // out var _arg1 C.guint // out @@ -65887,7 +64502,6 @@ func (op *MountOperation) SetPim(pim uint) { // The function takes the following parameters: // // - username (optional): input username. -// func (op *MountOperation) SetUsername(username string) { var _arg0 *C.GMountOperation // out var _arg1 *C.char // out @@ -65921,7 +64535,6 @@ func (op *MountOperation) aborted() { // - defaultUser // - defaultDomain // - flags -// func (op *MountOperation) askPassword(message, defaultUser, defaultDomain string, flags AskPasswordFlags) { gclass := (*C.GMountOperationClass)(coreglib.PeekParentClass(op)) fnarg := gclass.ask_password @@ -65955,7 +64568,6 @@ func (op *MountOperation) askPassword(message, defaultUser, defaultDomain string // // - message: string containing a message to display to the user. // - choices: array of strings for each possible choice. -// func (op *MountOperation) askQuestion(message string, choices []string) { gclass := (*C.GMountOperationClass)(coreglib.PeekParentClass(op)) fnarg := gclass.ask_question @@ -65992,7 +64604,6 @@ func (op *MountOperation) askQuestion(message string, choices []string) { // The function takes the following parameters: // // - result: OperationResult. -// func (op *MountOperation) reply(result MountOperationResult) { gclass := (*C.GMountOperationClass)(coreglib.PeekParentClass(op)) fnarg := gclass.reply @@ -66013,7 +64624,6 @@ func (op *MountOperation) reply(result MountOperationResult) { // - message // - timeLeft // - bytesLeft -// func (op *MountOperation) showUnmountProgress(message string, timeLeft, bytesLeft int64) { gclass := (*C.GMountOperationClass)(coreglib.PeekParentClass(op)) fnarg := gclass.show_unmount_progress @@ -66095,7 +64705,6 @@ func marshalNativeSocketAddress(p uintptr) (interface{}, error) { // The function returns the following values: // // - nativeSocketAddress: new SocketAddress. -// func NewNativeSocketAddress(native unsafe.Pointer, len uint) *NativeSocketAddress { var _arg1 C.gpointer // out var _arg2 C.gsize // out @@ -66252,7 +64861,6 @@ func marshalNetworkAddress(p uintptr) (interface{}, error) { // The function returns the following values: // // - networkAddress: new Address. -// func NewNetworkAddress(hostname string, port uint16) *NetworkAddress { var _arg1 *C.gchar // out var _arg2 C.guint16 // out @@ -66292,7 +64900,6 @@ func NewNetworkAddress(hostname string, port uint16) *NetworkAddress { // The function returns the following values: // // - networkAddress: new Address. -// func NewNetworkAddressLoopback(port uint16) *NetworkAddress { var _arg1 C.guint16 // out var _cret *C.GSocketConnectable // in @@ -66315,7 +64922,6 @@ func NewNetworkAddressLoopback(port uint16) *NetworkAddress { // The function returns the following values: // // - utf8 addr's hostname. -// func (addr *NetworkAddress) Hostname() string { var _arg0 *C.GNetworkAddress // out var _cret *C.gchar // in @@ -66337,7 +64943,6 @@ func (addr *NetworkAddress) Hostname() string { // The function returns the following values: // // - guint16 addr's port (which may be 0). -// func (addr *NetworkAddress) Port() uint16 { var _arg0 *C.GNetworkAddress // out var _cret C.guint16 // in @@ -66359,7 +64964,6 @@ func (addr *NetworkAddress) Port() uint16 { // The function returns the following values: // // - utf8 (optional) addr's scheme (NULL if not built from URI). -// func (addr *NetworkAddress) Scheme() string { var _arg0 *C.GNetworkAddress // out var _cret *C.gchar // in @@ -66407,7 +65011,6 @@ func (addr *NetworkAddress) Scheme() string { // The function returns the following values: // // - networkAddress: new Address, or NULL on error. -// func NetworkAddressParse(hostAndPort string, defaultPort uint16) (*NetworkAddress, error) { var _arg1 *C.gchar // out var _arg2 C.guint16 // out @@ -66447,7 +65050,6 @@ func NetworkAddressParse(hostAndPort string, defaultPort uint16) (*NetworkAddres // The function returns the following values: // // - networkAddress: new Address, or NULL on error. -// func NetworkAddressParseURI(uri string, defaultPort uint16) (*NetworkAddress, error) { var _arg1 *C.gchar // out var _arg2 C.guint16 // out @@ -66541,7 +65143,6 @@ func marshalNetworkService(p uintptr) (interface{}, error) { // The function returns the following values: // // - networkService: new Service. -// func NewNetworkService(service, protocol, domain string) *NetworkService { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -66573,7 +65174,6 @@ func NewNetworkService(service, protocol, domain string) *NetworkService { // The function returns the following values: // // - utf8 srv's domain name. -// func (srv *NetworkService) Domain() string { var _arg0 *C.GNetworkService // out var _cret *C.gchar // in @@ -66595,7 +65195,6 @@ func (srv *NetworkService) Domain() string { // The function returns the following values: // // - utf8 srv's protocol name. -// func (srv *NetworkService) Protocol() string { var _arg0 *C.GNetworkService // out var _cret *C.gchar // in @@ -66618,7 +65217,6 @@ func (srv *NetworkService) Protocol() string { // The function returns the following values: // // - utf8 srv's scheme name. -// func (srv *NetworkService) Scheme() string { var _arg0 *C.GNetworkService // out var _cret *C.gchar // in @@ -66640,7 +65238,6 @@ func (srv *NetworkService) Scheme() string { // The function returns the following values: // // - utf8 srv's service name. -// func (srv *NetworkService) Service() string { var _arg0 *C.GNetworkService // out var _cret *C.gchar // in @@ -66663,7 +65260,6 @@ func (srv *NetworkService) Service() string { // The function takes the following parameters: // // - scheme: URI scheme. -// func (srv *NetworkService) SetScheme(scheme string) { var _arg0 *C.GNetworkService // out var _arg1 *C.gchar // out @@ -66729,7 +65325,6 @@ func marshalNotification(p uintptr) (interface{}, error) { // The function returns the following values: // // - notification: new #GNotification instance. -// func NewNotification(title string) *Notification { var _arg1 *C.gchar // out var _cret *C.GNotification // in @@ -66759,7 +65354,6 @@ func NewNotification(title string) *Notification { // // - label of the button. // - detailedAction: detailed action name. -// func (notification *Notification) AddButton(label, detailedAction string) { var _arg0 *C.GNotification // out var _arg1 *C.gchar // out @@ -66788,7 +65382,6 @@ func (notification *Notification) AddButton(label, detailedAction string) { // - label of the button. // - action name. // - target (optional) to use as action's parameter, or NULL. -// func (notification *Notification) AddButtonWithTarget(label, action string, target *glib.Variant) { var _arg0 *C.GNotification // out var _arg1 *C.gchar // out @@ -66816,7 +65409,6 @@ func (notification *Notification) AddButtonWithTarget(label, action string, targ // The function takes the following parameters: // // - body (optional): new body for notification, or NULL. -// func (notification *Notification) SetBody(body string) { var _arg0 *C.GNotification // out var _arg1 *C.gchar // out @@ -66847,7 +65439,6 @@ func (notification *Notification) SetBody(body string) { // The function takes the following parameters: // // - detailedAction: detailed action name. -// func (notification *Notification) SetDefaultAction(detailedAction string) { var _arg0 *C.GNotification // out var _arg1 *C.gchar // out @@ -66874,7 +65465,6 @@ func (notification *Notification) SetDefaultAction(detailedAction string) { // // - action name. // - target (optional) to use as action's parameter, or NULL. -// func (notification *Notification) SetDefaultActionAndTarget(action string, target *glib.Variant) { var _arg0 *C.GNotification // out var _arg1 *C.gchar // out @@ -66898,7 +65488,6 @@ func (notification *Notification) SetDefaultActionAndTarget(action string, targe // The function takes the following parameters: // // - icon to be shown in notification, as a #GIcon. -// func (notification *Notification) SetIcon(icon Iconner) { var _arg0 *C.GNotification // out var _arg1 *C.GIcon // out @@ -66917,7 +65506,6 @@ func (notification *Notification) SetIcon(icon Iconner) { // The function takes the following parameters: // // - priority: Priority. -// func (notification *Notification) SetPriority(priority NotificationPriority) { var _arg0 *C.GNotification // out var _arg1 C.GNotificationPriority // out @@ -66935,7 +65523,6 @@ func (notification *Notification) SetPriority(priority NotificationPriority) { // The function takes the following parameters: // // - title: new title for notification. -// func (notification *Notification) SetTitle(title string) { var _arg0 *C.GNotification // out var _arg1 *C.gchar // out @@ -66957,7 +65544,6 @@ func (notification *Notification) SetTitle(title string) { // The function takes the following parameters: // // - urgent: TRUE if notification is urgent. -// func (notification *Notification) SetUrgent(urgent bool) { var _arg0 *C.GNotification // out var _arg1 C.gboolean // out @@ -66979,7 +65565,6 @@ type OutputStreamOverrides struct { // The function takes the following parameters: // // - result: Result. - // CloseFinish func(result AsyncResulter) error CloseFn func(ctx context.Context) error // Flush forces a write of all user-space buffered data for the given @@ -66995,14 +65580,12 @@ type OutputStreamOverrides struct { // The function takes the following parameters: // // - ctx (optional): optional cancellable object. - // Flush func(ctx context.Context) error // FlushFinish finishes flushing an output stream. // // The function takes the following parameters: // // - result: GAsyncResult. - // FlushFinish func(result AsyncResulter) error // Splice splices an input stream into an output stream. // @@ -67018,7 +65601,6 @@ type OutputStreamOverrides struct { // occurred. Note that if the number of bytes spliced is greater than // G_MAXSSIZE, then that will be returned, and there is no way to // determine the actual number of bytes spliced. - // Splice func(ctx context.Context, source InputStreamer, flags OutputStreamSpliceFlags) (int, error) // SpliceFinish finishes an asynchronous stream splice operation. // @@ -67031,7 +65613,6 @@ type OutputStreamOverrides struct { // - gssize of the number of bytes spliced. Note that if the number of // bytes spliced is greater than G_MAXSSIZE, then that will be returned, // and there is no way to determine the actual number of bytes spliced. - // SpliceFinish func(result AsyncResulter) (int, error) // WriteFinish finishes a stream write operation. // @@ -67042,7 +65623,6 @@ type OutputStreamOverrides struct { // The function returns the following values: // // - gssize containing the number of bytes written to the stream. - // WriteFinish func(result AsyncResulter) (int, error) // WritevFinish finishes a stream writev operation. // @@ -67054,7 +65634,6 @@ type OutputStreamOverrides struct { // // - bytesWritten (optional): location to store the number of bytes that // were written to the stream. - // WritevFinish func(result AsyncResulter) (uint, error) } @@ -67213,7 +65792,6 @@ func (stream *OutputStream) ClearPending() { // The function takes the following parameters: // // - ctx (optional): optional cancellable object. -// func (stream *OutputStream) Close(ctx context.Context) error { var _arg0 *C.GOutputStream // out var _arg1 *C.GCancellable // out @@ -67255,7 +65833,6 @@ func (stream *OutputStream) Close(ctx context.Context) error { // - ctx (optional): optional cancellable object. // - ioPriority: io priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) CloseAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GOutputStream // out var _arg2 *C.GCancellable // out @@ -67287,7 +65864,6 @@ func (stream *OutputStream) CloseAsync(ctx context.Context, ioPriority int, call // The function takes the following parameters: // // - result: Result. -// func (stream *OutputStream) CloseFinish(result AsyncResulter) error { var _arg0 *C.GOutputStream // out var _arg1 *C.GAsyncResult // out @@ -67322,7 +65898,6 @@ func (stream *OutputStream) CloseFinish(result AsyncResulter) error { // The function takes the following parameters: // // - ctx (optional): optional cancellable object. -// func (stream *OutputStream) Flush(ctx context.Context) error { var _arg0 *C.GOutputStream // out var _arg1 *C.GCancellable // out @@ -67359,7 +65934,6 @@ func (stream *OutputStream) Flush(ctx context.Context) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: io priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) FlushAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GOutputStream // out var _arg2 *C.GCancellable // out @@ -67391,7 +65965,6 @@ func (stream *OutputStream) FlushAsync(ctx context.Context, ioPriority int, call // The function takes the following parameters: // // - result: GAsyncResult. -// func (stream *OutputStream) FlushFinish(result AsyncResulter) error { var _arg0 *C.GOutputStream // out var _arg1 *C.GAsyncResult // out @@ -67418,7 +65991,6 @@ func (stream *OutputStream) FlushFinish(result AsyncResulter) error { // The function returns the following values: // // - ok: TRUE if stream has pending actions. -// func (stream *OutputStream) HasPending() bool { var _arg0 *C.GOutputStream // out var _cret C.gboolean // in @@ -67442,7 +66014,6 @@ func (stream *OutputStream) HasPending() bool { // The function returns the following values: // // - ok: TRUE if stream is closed. FALSE otherwise. -// func (stream *OutputStream) IsClosed() bool { var _arg0 *C.GOutputStream // out var _cret C.gboolean // in @@ -67468,7 +66039,6 @@ func (stream *OutputStream) IsClosed() bool { // The function returns the following values: // // - ok: TRUE if stream is being closed. FALSE otherwise. -// func (stream *OutputStream) IsClosing() bool { var _arg0 *C.GOutputStream // out var _cret C.gboolean // in @@ -67521,7 +66091,6 @@ func (stream *OutputStream) SetPending() error { // occurred. Note that if the number of bytes spliced is greater than // G_MAXSSIZE, then that will be returned, and there is no way to determine // the actual number of bytes spliced. -// func (stream *OutputStream) Splice(ctx context.Context, source InputStreamer, flags OutputStreamSpliceFlags) (int, error) { var _arg0 *C.GOutputStream // out var _arg3 *C.GCancellable // out @@ -67570,7 +66139,6 @@ func (stream *OutputStream) Splice(ctx context.Context, source InputStreamer, fl // - flags: set of StreamSpliceFlags. // - ioPriority: io priority of the request. // - callback (optional): ReadyCallback. -// func (stream *OutputStream) SpliceAsync(ctx context.Context, source InputStreamer, flags OutputStreamSpliceFlags, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GOutputStream // out var _arg4 *C.GCancellable // out @@ -67614,7 +66182,6 @@ func (stream *OutputStream) SpliceAsync(ctx context.Context, source InputStreame // - gssize of the number of bytes spliced. Note that if the number of bytes // spliced is greater than G_MAXSSIZE, then that will be returned, and there // is no way to determine the actual number of bytes spliced. -// func (stream *OutputStream) SpliceFinish(result AsyncResulter) (int, error) { var _arg0 *C.GOutputStream // out var _arg1 *C.GAsyncResult // out @@ -67667,7 +66234,6 @@ func (stream *OutputStream) SpliceFinish(result AsyncResulter) (int, error) { // The function returns the following values: // // - gssize: number of bytes written, or -1 on error. -// func (stream *OutputStream) Write(ctx context.Context, buffer []byte) (int, error) { var _arg0 *C.GOutputStream // out var _arg3 *C.GCancellable // out @@ -67731,7 +66297,6 @@ func (stream *OutputStream) Write(ctx context.Context, buffer []byte) (int, erro // // - bytesWritten (optional): location to store the number of bytes that was // written to the stream. -// func (stream *OutputStream) WriteAll(ctx context.Context, buffer []byte) (uint, error) { var _arg0 *C.GOutputStream // out var _arg4 *C.GCancellable // out @@ -67789,7 +66354,6 @@ func (stream *OutputStream) WriteAll(ctx context.Context, buffer []byte) (uint, // - buffer containing the data to write. // - ioPriority: io priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) WriteAllAsync(ctx context.Context, buffer []byte, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GOutputStream // out var _arg4 *C.GCancellable // out @@ -67841,7 +66405,6 @@ func (stream *OutputStream) WriteAllAsync(ctx context.Context, buffer []byte, io // // - bytesWritten (optional): location to store the number of bytes that was // written to the stream. -// func (stream *OutputStream) WriteAllFinish(result AsyncResulter) (uint, error) { var _arg0 *C.GOutputStream // out var _arg1 *C.GAsyncResult // out @@ -67907,7 +66470,6 @@ func (stream *OutputStream) WriteAllFinish(result AsyncResulter) (uint, error) { // - buffer containing the data to write. // - ioPriority: io priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) WriteAsync(ctx context.Context, buffer []byte, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GOutputStream // out var _arg4 *C.GCancellable // out @@ -67960,7 +66522,6 @@ func (stream *OutputStream) WriteAsync(ctx context.Context, buffer []byte, ioPri // The function returns the following values: // // - gssize: number of bytes written, or -1 on error. -// func (stream *OutputStream) WriteBytes(ctx context.Context, bytes *glib.Bytes) (int, error) { var _arg0 *C.GOutputStream // out var _arg2 *C.GCancellable // out @@ -68011,7 +66572,6 @@ func (stream *OutputStream) WriteBytes(ctx context.Context, bytes *glib.Bytes) ( // - bytes to write. // - ioPriority: io priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) WriteBytesAsync(ctx context.Context, bytes *glib.Bytes, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GOutputStream // out var _arg3 *C.GCancellable // out @@ -68050,7 +66610,6 @@ func (stream *OutputStream) WriteBytesAsync(ctx context.Context, bytes *glib.Byt // The function returns the following values: // // - gssize containing the number of bytes written to the stream. -// func (stream *OutputStream) WriteBytesFinish(result AsyncResulter) (int, error) { var _arg0 *C.GOutputStream // out var _arg1 *C.GAsyncResult // out @@ -68084,7 +66643,6 @@ func (stream *OutputStream) WriteBytesFinish(result AsyncResulter) (int, error) // The function returns the following values: // // - gssize containing the number of bytes written to the stream. -// func (stream *OutputStream) WriteFinish(result AsyncResulter) (int, error) { var _arg0 *C.GOutputStream // out var _arg1 *C.GAsyncResult // out @@ -68142,7 +66700,6 @@ func (stream *OutputStream) WriteFinish(result AsyncResulter) (int, error) { // // - bytesWritten (optional): location to store the number of bytes that were // written to the stream. -// func (stream *OutputStream) Writev(ctx context.Context, vectors []OutputVector) (uint, error) { var _arg0 *C.GOutputStream // out var _arg4 *C.GCancellable // out @@ -68214,7 +66771,6 @@ func (stream *OutputStream) Writev(ctx context.Context, vectors []OutputVector) // // - bytesWritten (optional): location to store the number of bytes that were // written to the stream. -// func (stream *OutputStream) WritevAll(ctx context.Context, vectors []OutputVector) (uint, error) { var _arg0 *C.GOutputStream // out var _arg4 *C.GCancellable // out @@ -68278,7 +66834,6 @@ func (stream *OutputStream) WritevAll(ctx context.Context, vectors []OutputVecto // - vectors: buffer containing the Vectors to write. // - ioPriority: i/O priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) WritevAllAsync(ctx context.Context, vectors []OutputVector, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GOutputStream // out var _arg4 *C.GCancellable // out @@ -68335,7 +66890,6 @@ func (stream *OutputStream) WritevAllAsync(ctx context.Context, vectors []Output // // - bytesWritten (optional): location to store the number of bytes that were // written to the stream. -// func (stream *OutputStream) WritevAllFinish(result AsyncResulter) (uint, error) { var _arg0 *C.GOutputStream // out var _arg1 *C.GAsyncResult // out @@ -68397,7 +66951,6 @@ func (stream *OutputStream) WritevAllFinish(result AsyncResulter) (uint, error) // - vectors: buffer containing the Vectors to write. // - ioPriority: i/O priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) WritevAsync(ctx context.Context, vectors []OutputVector, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GOutputStream // out var _arg4 *C.GCancellable // out @@ -68446,7 +66999,6 @@ func (stream *OutputStream) WritevAsync(ctx context.Context, vectors []OutputVec // // - bytesWritten (optional): location to store the number of bytes that were // written to the stream. -// func (stream *OutputStream) WritevFinish(result AsyncResulter) (uint, error) { var _arg0 *C.GOutputStream // out var _arg1 *C.GAsyncResult // out @@ -68487,7 +67039,6 @@ func (stream *OutputStream) WritevFinish(result AsyncResulter) (uint, error) { // - ctx (optional): optional cancellable object. // - ioPriority: io priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) closeAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.close_async @@ -68522,7 +67073,6 @@ func (stream *OutputStream) closeAsync(ctx context.Context, ioPriority int, call // The function takes the following parameters: // // - result: Result. -// func (stream *OutputStream) closeFinish(result AsyncResulter) error { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.close_finish @@ -68588,7 +67138,6 @@ func (stream *OutputStream) closeFn(ctx context.Context) error { // The function takes the following parameters: // // - ctx (optional): optional cancellable object. -// func (stream *OutputStream) flush(ctx context.Context) error { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.flush @@ -68628,7 +67177,6 @@ func (stream *OutputStream) flush(ctx context.Context) error { // - ctx (optional): optional #GCancellable object, NULL to ignore. // - ioPriority: io priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) flushAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.flush_async @@ -68663,7 +67211,6 @@ func (stream *OutputStream) flushAsync(ctx context.Context, ioPriority int, call // The function takes the following parameters: // // - result: GAsyncResult. -// func (stream *OutputStream) flushFinish(result AsyncResulter) error { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.flush_finish @@ -68702,7 +67249,6 @@ func (stream *OutputStream) flushFinish(result AsyncResulter) error { // occurred. Note that if the number of bytes spliced is greater than // G_MAXSSIZE, then that will be returned, and there is no way to determine // the actual number of bytes spliced. -// func (stream *OutputStream) splice(ctx context.Context, source InputStreamer, flags OutputStreamSpliceFlags) (int, error) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.splice @@ -68754,7 +67300,6 @@ func (stream *OutputStream) splice(ctx context.Context, source InputStreamer, fl // - flags: set of StreamSpliceFlags. // - ioPriority: io priority of the request. // - callback (optional): ReadyCallback. -// func (stream *OutputStream) spliceAsync(ctx context.Context, source InputStreamer, flags OutputStreamSpliceFlags, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.splice_async @@ -68801,7 +67346,6 @@ func (stream *OutputStream) spliceAsync(ctx context.Context, source InputStreame // - gssize of the number of bytes spliced. Note that if the number of bytes // spliced is greater than G_MAXSSIZE, then that will be returned, and there // is no way to determine the actual number of bytes spliced. -// func (stream *OutputStream) spliceFinish(result AsyncResulter) (int, error) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.splice_finish @@ -68870,7 +67414,6 @@ func (stream *OutputStream) spliceFinish(result AsyncResulter) (int, error) { // - buffer (optional) containing the data to write. // - ioPriority: io priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) writeAsync(ctx context.Context, buffer []byte, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.write_async @@ -68916,7 +67459,6 @@ func (stream *OutputStream) writeAsync(ctx context.Context, buffer []byte, ioPri // The function returns the following values: // // - gssize containing the number of bytes written to the stream. -// func (stream *OutputStream) writeFinish(result AsyncResulter) (int, error) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.write_finish @@ -68972,7 +67514,6 @@ func (stream *OutputStream) writeFinish(result AsyncResulter) (int, error) { // The function returns the following values: // // - gssize: number of bytes written, or -1 on error. -// func (stream *OutputStream) writeFn(ctx context.Context, buffer []byte) (int, error) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.write_fn @@ -69048,7 +67589,6 @@ func (stream *OutputStream) writeFn(ctx context.Context, buffer []byte) (int, er // - vectors: buffer containing the Vectors to write. // - ioPriority: i/O priority of the request. // - callback (optional) to call when the request is satisfied. -// func (stream *OutputStream) writevAsync(ctx context.Context, vectors []OutputVector, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.writev_async @@ -69100,7 +67640,6 @@ func (stream *OutputStream) writevAsync(ctx context.Context, vectors []OutputVec // // - bytesWritten (optional): location to store the number of bytes that were // written to the stream. -// func (stream *OutputStream) writevFinish(result AsyncResulter) (uint, error) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.writev_finish @@ -69161,7 +67700,6 @@ func (stream *OutputStream) writevFinish(result AsyncResulter) (uint, error) { // // - bytesWritten (optional): location to store the number of bytes that were // written to the stream. -// func (stream *OutputStream) writevFn(ctx context.Context, vectors []OutputVector) (uint, error) { gclass := (*C.GOutputStreamClass)(coreglib.PeekParentClass(stream)) fnarg := gclass.writev_fn @@ -69226,7 +67764,6 @@ type PermissionOverrides struct { // The function takes the following parameters: // // - ctx (optional) or NULL. - // Acquire func(ctx context.Context) error // AcquireFinish collects the result of attempting to acquire the permission // represented by permission. @@ -69237,7 +67774,6 @@ type PermissionOverrides struct { // The function takes the following parameters: // // - result given to the ReadyCallback. - // AcquireFinish func(result AsyncResulter) error // Release attempts to release the permission represented by permission. // @@ -69258,7 +67794,6 @@ type PermissionOverrides struct { // The function takes the following parameters: // // - ctx (optional) or NULL. - // Release func(ctx context.Context) error // ReleaseFinish collects the result of attempting to release the permission // represented by permission. @@ -69269,7 +67804,6 @@ type PermissionOverrides struct { // The function takes the following parameters: // // - result given to the ReadyCallback. - // ReleaseFinish func(result AsyncResulter) error } @@ -69387,7 +67921,6 @@ func BasePermission(obj Permissioner) *Permission { // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (permission *Permission) Acquire(ctx context.Context) error { var _arg0 *C.GPermission // out var _arg1 *C.GCancellable // out @@ -69421,7 +67954,6 @@ func (permission *Permission) Acquire(ctx context.Context) error { // // - ctx (optional) or NULL. // - callback (optional) to call when done. -// func (permission *Permission) AcquireAsync(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GPermission // out var _arg1 *C.GCancellable // out @@ -69454,7 +67986,6 @@ func (permission *Permission) AcquireAsync(ctx context.Context, callback AsyncRe // The function takes the following parameters: // // - result given to the ReadyCallback. -// func (permission *Permission) AcquireFinish(result AsyncResulter) error { var _arg0 *C.GPermission // out var _arg1 *C.GAsyncResult // out @@ -69483,7 +68014,6 @@ func (permission *Permission) AcquireFinish(result AsyncResulter) error { // The function returns the following values: // // - ok: value of the 'allowed' property. -// func (permission *Permission) Allowed() bool { var _arg0 *C.GPermission // out var _cret C.gboolean // in @@ -69509,7 +68039,6 @@ func (permission *Permission) Allowed() bool { // The function returns the following values: // // - ok: value of the 'can-acquire' property. -// func (permission *Permission) CanAcquire() bool { var _arg0 *C.GPermission // out var _cret C.gboolean // in @@ -69535,7 +68064,6 @@ func (permission *Permission) CanAcquire() bool { // The function returns the following values: // // - ok: value of the 'can-release' property. -// func (permission *Permission) CanRelease() bool { var _arg0 *C.GPermission // out var _cret C.gboolean // in @@ -69565,7 +68093,6 @@ func (permission *Permission) CanRelease() bool { // - allowed: new value for the 'allowed' property. // - canAcquire: new value for the 'can-acquire' property. // - canRelease: new value for the 'can-release' property. -// func (permission *Permission) ImplUpdate(allowed, canAcquire, canRelease bool) { var _arg0 *C.GPermission // out var _arg1 C.gboolean // out @@ -69609,7 +68136,6 @@ func (permission *Permission) ImplUpdate(allowed, canAcquire, canRelease bool) { // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (permission *Permission) Release(ctx context.Context) error { var _arg0 *C.GPermission // out var _arg1 *C.GCancellable // out @@ -69643,7 +68169,6 @@ func (permission *Permission) Release(ctx context.Context) error { // // - ctx (optional) or NULL. // - callback (optional) to call when done. -// func (permission *Permission) ReleaseAsync(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GPermission // out var _arg1 *C.GCancellable // out @@ -69676,7 +68201,6 @@ func (permission *Permission) ReleaseAsync(ctx context.Context, callback AsyncRe // The function takes the following parameters: // // - result given to the ReadyCallback. -// func (permission *Permission) ReleaseFinish(result AsyncResulter) error { var _arg0 *C.GPermission // out var _arg1 *C.GAsyncResult // out @@ -69717,7 +68241,6 @@ func (permission *Permission) ReleaseFinish(result AsyncResulter) error { // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (permission *Permission) acquire(ctx context.Context) error { gclass := (*C.GPermissionClass)(coreglib.PeekParentClass(permission)) fnarg := gclass.acquire @@ -69754,7 +68277,6 @@ func (permission *Permission) acquire(ctx context.Context) error { // // - ctx (optional) or NULL. // - callback (optional) to call when done. -// func (permission *Permission) acquireAsync(ctx context.Context, callback AsyncReadyCallback) { gclass := (*C.GPermissionClass)(coreglib.PeekParentClass(permission)) fnarg := gclass.acquire_async @@ -69790,7 +68312,6 @@ func (permission *Permission) acquireAsync(ctx context.Context, callback AsyncRe // The function takes the following parameters: // // - result given to the ReadyCallback. -// func (permission *Permission) acquireFinish(result AsyncResulter) error { gclass := (*C.GPermissionClass)(coreglib.PeekParentClass(permission)) fnarg := gclass.acquire_finish @@ -69834,7 +68355,6 @@ func (permission *Permission) acquireFinish(result AsyncResulter) error { // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (permission *Permission) release(ctx context.Context) error { gclass := (*C.GPermissionClass)(coreglib.PeekParentClass(permission)) fnarg := gclass.release @@ -69871,7 +68391,6 @@ func (permission *Permission) release(ctx context.Context) error { // // - ctx (optional) or NULL. // - callback (optional) to call when done. -// func (permission *Permission) releaseAsync(ctx context.Context, callback AsyncReadyCallback) { gclass := (*C.GPermissionClass)(coreglib.PeekParentClass(permission)) fnarg := gclass.release_async @@ -69907,7 +68426,6 @@ func (permission *Permission) releaseAsync(ctx context.Context, callback AsyncRe // The function takes the following parameters: // // - result given to the ReadyCallback. -// func (permission *Permission) releaseFinish(result AsyncResulter) error { gclass := (*C.GPermissionClass)(coreglib.PeekParentClass(permission)) fnarg := gclass.release_finish @@ -70022,7 +68540,6 @@ func marshalPropertyAction(p uintptr) (interface{}, error) { // The function returns the following values: // // - propertyAction: new Action. -// func NewPropertyAction(name string, object *coreglib.Object, propertyName string) *PropertyAction { var _arg1 *C.gchar // out var _arg2 C.gpointer // out @@ -70118,7 +68635,6 @@ func marshalProxyAddress(p uintptr) (interface{}, error) { // The function returns the following values: // // - proxyAddress: new Address. -// func NewProxyAddress(inetaddr *InetAddress, port uint16, protocol, destHostname string, destPort uint16, username, password string) *ProxyAddress { var _arg1 *C.GInetAddress // out var _arg2 C.guint16 // out @@ -70168,7 +68684,6 @@ func NewProxyAddress(inetaddr *InetAddress, port uint16, protocol, destHostname // The function returns the following values: // // - utf8 proxy's destination hostname. -// func (proxy *ProxyAddress) DestinationHostname() string { var _arg0 *C.GProxyAddress // out var _cret *C.gchar // in @@ -70192,7 +68707,6 @@ func (proxy *ProxyAddress) DestinationHostname() string { // The function returns the following values: // // - guint16 proxy's destination port. -// func (proxy *ProxyAddress) DestinationPort() uint16 { var _arg0 *C.GProxyAddress // out var _cret C.guint16 // in @@ -70215,7 +68729,6 @@ func (proxy *ProxyAddress) DestinationPort() uint16 { // The function returns the following values: // // - utf8 proxy's destination protocol. -// func (proxy *ProxyAddress) DestinationProtocol() string { var _arg0 *C.GProxyAddress // out var _cret *C.gchar // in @@ -70237,7 +68750,6 @@ func (proxy *ProxyAddress) DestinationProtocol() string { // The function returns the following values: // // - utf8 (optional) proxy's password. -// func (proxy *ProxyAddress) Password() string { var _arg0 *C.GProxyAddress // out var _cret *C.gchar // in @@ -70261,7 +68773,6 @@ func (proxy *ProxyAddress) Password() string { // The function returns the following values: // // - utf8 proxy's protocol. -// func (proxy *ProxyAddress) Protocol() string { var _arg0 *C.GProxyAddress // out var _cret *C.gchar // in @@ -70283,7 +68794,6 @@ func (proxy *ProxyAddress) Protocol() string { // The function returns the following values: // // - utf8 (optional) proxy's URI, or NULL if unknown. -// func (proxy *ProxyAddress) URI() string { var _arg0 *C.GProxyAddress // out var _cret *C.gchar // in @@ -70307,7 +68817,6 @@ func (proxy *ProxyAddress) URI() string { // The function returns the following values: // // - utf8 (optional) proxy's username. -// func (proxy *ProxyAddress) Username() string { var _arg0 *C.GProxyAddress // out var _cret *C.gchar // in @@ -70399,7 +68908,6 @@ type ResolverOverrides struct { // // - utf8: hostname (either ASCII-only, or in ASCII-encoded form), or NULL // on error. - // LookupByAddress func(ctx context.Context, address *InetAddress) (string, error) // LookupByAddressFinish retrieves the result of a previous call to // g_resolver_lookup_by_address_async(). @@ -70416,7 +68924,6 @@ type ResolverOverrides struct { // // - utf8: hostname (either ASCII-only, or in ASCII-encoded form), or NULL // on error. - // LookupByAddressFinish func(result AsyncResulter) (string, error) // LookupByName: synchronously resolves hostname to determine its associated // IP address(es). hostname may be an ASCII-only or UTF-8 hostname, or the @@ -70450,7 +68957,6 @@ type ResolverOverrides struct { // - list: non-empty #GList of Address, or NULL on error. You must unref // each of the addresses and free the list when you are done with it. // (You can use g_resolver_free_addresses() to do this.). - // LookupByName func(ctx context.Context, hostname string) ([]*InetAddress, error) // LookupByNameFinish retrieves the result of a call to // g_resolver_lookup_by_name_async(). @@ -70467,7 +68973,6 @@ type ResolverOverrides struct { // // - list Address, or NULL on error. See g_resolver_lookup_by_name() for // more details. - // LookupByNameFinish func(result AsyncResulter) ([]*InetAddress, error) // LookupByNameWithFlags: this differs from g_resolver_lookup_by_name() in // that you can modify the lookup behavior with flags. For example this can @@ -70484,7 +68989,6 @@ type ResolverOverrides struct { // - list: non-empty #GList of Address, or NULL on error. You must unref // each of the addresses and free the list when you are done with it. // (You can use g_resolver_free_addresses() to do this.). - // LookupByNameWithFlags func(ctx context.Context, hostname string, flags ResolverNameLookupFlags) ([]*InetAddress, error) // LookupByNameWithFlagsFinish retrieves the result of a call to // g_resolver_lookup_by_name_with_flags_async(). @@ -70501,7 +69005,6 @@ type ResolverOverrides struct { // // - list Address, or NULL on error. See g_resolver_lookup_by_name() for // more details. - // LookupByNameWithFlagsFinish func(result AsyncResulter) ([]*InetAddress, error) // LookupRecords: synchronously performs a DNS record lookup for the given // rrname and returns a list of records as #GVariant tuples. See RecordType @@ -70524,7 +69027,6 @@ type ResolverOverrides struct { // - list: non-empty #GList of #GVariant, or NULL on error. You must // free each of the records and the list when you are done with it. // (You can use g_list_free_full() with g_variant_unref() to do this.). - // LookupRecords func(ctx context.Context, rrname string, recordType ResolverRecordType) ([]*glib.Variant, error) // LookupRecordsFinish retrieves the result of a previous call to // g_resolver_lookup_records_async(). Returns a non-empty list of records @@ -70544,7 +69046,6 @@ type ResolverOverrides struct { // - list: non-empty #GList of #GVariant, or NULL on error. You must // free each of the records and the list when you are done with it. // (You can use g_list_free_full() with g_variant_unref() to do this.). - // LookupRecordsFinish func(result AsyncResulter) ([]*glib.Variant, error) // LookupServiceFinish retrieves the result of a previous call to // g_resolver_lookup_service_async(). @@ -70561,7 +69062,6 @@ type ResolverOverrides struct { // // - list: non-empty #GList of Target, or NULL on error. See // g_resolver_lookup_service() for more details. - // LookupServiceFinish func(result AsyncResulter) ([]*SrvTarget, error) Reload func() } @@ -70710,7 +69210,6 @@ func (resolver *Resolver) ConnectReload(f func()) coreglib.SignalHandle { // // - utf8: hostname (either ASCII-only, or in ASCII-encoded form), or NULL on // error. -// func (resolver *Resolver) LookupByAddress(ctx context.Context, address *InetAddress) (string, error) { var _arg0 *C.GResolver // out var _arg2 *C.GCancellable // out @@ -70752,7 +69251,6 @@ func (resolver *Resolver) LookupByAddress(ctx context.Context, address *InetAddr // - ctx (optional) or NULL. // - address to reverse-resolve. // - callback (optional) to call after resolution completes. -// func (resolver *Resolver) LookupByAddressAsync(ctx context.Context, address *InetAddress, callback AsyncReadyCallback) { var _arg0 *C.GResolver // out var _arg2 *C.GCancellable // out @@ -70794,7 +69292,6 @@ func (resolver *Resolver) LookupByAddressAsync(ctx context.Context, address *Ine // // - utf8: hostname (either ASCII-only, or in ASCII-encoded form), or NULL on // error. -// func (resolver *Resolver) LookupByAddressFinish(result AsyncResulter) (string, error) { var _arg0 *C.GResolver // out var _arg1 *C.GAsyncResult // out @@ -70851,7 +69348,6 @@ func (resolver *Resolver) LookupByAddressFinish(result AsyncResulter) (string, e // - list: non-empty #GList of Address, or NULL on error. You must unref each // of the addresses and free the list when you are done with it. (You can // use g_resolver_free_addresses() to do this.). -// func (resolver *Resolver) LookupByName(ctx context.Context, hostname string) ([]*InetAddress, error) { var _arg0 *C.GResolver // out var _arg2 *C.GCancellable // out @@ -70900,7 +69396,6 @@ func (resolver *Resolver) LookupByName(ctx context.Context, hostname string) ([] // - ctx (optional) or NULL. // - hostname to look up the address of. // - callback (optional) to call after resolution completes. -// func (resolver *Resolver) LookupByNameAsync(ctx context.Context, hostname string, callback AsyncReadyCallback) { var _arg0 *C.GResolver // out var _arg2 *C.GCancellable // out @@ -70943,7 +69438,6 @@ func (resolver *Resolver) LookupByNameAsync(ctx context.Context, hostname string // // - list Address, or NULL on error. See g_resolver_lookup_by_name() for more // details. -// func (resolver *Resolver) LookupByNameFinish(result AsyncResulter) ([]*InetAddress, error) { var _arg0 *C.GResolver // out var _arg1 *C.GAsyncResult // out @@ -70989,7 +69483,6 @@ func (resolver *Resolver) LookupByNameFinish(result AsyncResulter) ([]*InetAddre // - list: non-empty #GList of Address, or NULL on error. You must unref each // of the addresses and free the list when you are done with it. (You can // use g_resolver_free_addresses() to do this.). -// func (resolver *Resolver) LookupByNameWithFlags(ctx context.Context, hostname string, flags ResolverNameLookupFlags) ([]*InetAddress, error) { var _arg0 *C.GResolver // out var _arg3 *C.GCancellable // out @@ -71042,7 +69535,6 @@ func (resolver *Resolver) LookupByNameWithFlags(ctx context.Context, hostname st // - hostname to look up the address of. // - flags: extra NameLookupFlags for the lookup. // - callback (optional) to call after resolution completes. -// func (resolver *Resolver) LookupByNameWithFlagsAsync(ctx context.Context, hostname string, flags ResolverNameLookupFlags, callback AsyncReadyCallback) { var _arg0 *C.GResolver // out var _arg3 *C.GCancellable // out @@ -71088,7 +69580,6 @@ func (resolver *Resolver) LookupByNameWithFlagsAsync(ctx context.Context, hostna // // - list Address, or NULL on error. See g_resolver_lookup_by_name() for more // details. -// func (resolver *Resolver) LookupByNameWithFlagsFinish(result AsyncResulter) ([]*InetAddress, error) { var _arg0 *C.GResolver // out var _arg1 *C.GAsyncResult // out @@ -71140,7 +69631,6 @@ func (resolver *Resolver) LookupByNameWithFlagsFinish(result AsyncResulter) ([]* // - list: non-empty #GList of #GVariant, or NULL on error. You must free // each of the records and the list when you are done with it. (You can use // g_list_free_full() with g_variant_unref() to do this.). -// func (resolver *Resolver) LookupRecords(ctx context.Context, rrname string, recordType ResolverRecordType) ([]*glib.Variant, error) { var _arg0 *C.GResolver // out var _arg3 *C.GCancellable // out @@ -71199,7 +69689,6 @@ func (resolver *Resolver) LookupRecords(ctx context.Context, rrname string, reco // - rrname: DNS name to look up the record for. // - recordType: type of DNS record to look up. // - callback (optional) to call after resolution completes. -// func (resolver *Resolver) LookupRecordsAsync(ctx context.Context, rrname string, recordType ResolverRecordType, callback AsyncReadyCallback) { var _arg0 *C.GResolver // out var _arg3 *C.GCancellable // out @@ -71247,7 +69736,6 @@ func (resolver *Resolver) LookupRecordsAsync(ctx context.Context, rrname string, // - list: non-empty #GList of #GVariant, or NULL on error. You must free // each of the records and the list when you are done with it. (You can use // g_list_free_full() with g_variant_unref() to do this.). -// func (resolver *Resolver) LookupRecordsFinish(result AsyncResulter) ([]*glib.Variant, error) { var _arg0 *C.GResolver // out var _arg1 *C.GAsyncResult // out @@ -71315,7 +69803,6 @@ func (resolver *Resolver) LookupRecordsFinish(result AsyncResulter) ([]*glib.Var // - list: non-empty #GList of Target, or NULL on error. You must free each // of the targets and the list when you are done with it. (You can use // g_resolver_free_targets() to do this.). -// func (resolver *Resolver) LookupService(ctx context.Context, service, protocol, domain string) ([]*SrvTarget, error) { var _arg0 *C.GResolver // out var _arg4 *C.GCancellable // out @@ -71380,7 +69867,6 @@ func (resolver *Resolver) LookupService(ctx context.Context, service, protocol, // - protocol: networking protocol to use for service (eg, "tcp"). // - domain: DNS domain to look up the service in. // - callback (optional) to call after resolution completes. -// func (resolver *Resolver) LookupServiceAsync(ctx context.Context, service, protocol, domain string, callback AsyncReadyCallback) { var _arg0 *C.GResolver // out var _arg4 *C.GCancellable // out @@ -71431,7 +69917,6 @@ func (resolver *Resolver) LookupServiceAsync(ctx context.Context, service, proto // // - list: non-empty #GList of Target, or NULL on error. See // g_resolver_lookup_service() for more details. -// func (resolver *Resolver) LookupServiceFinish(result AsyncResulter) ([]*SrvTarget, error) { var _arg0 *C.GResolver // out var _arg1 *C.GAsyncResult // out @@ -71504,7 +69989,6 @@ func (resolver *Resolver) SetDefault() { // // - utf8: hostname (either ASCII-only, or in ASCII-encoded form), or NULL on // error. -// func (resolver *Resolver) lookupByAddress(ctx context.Context, address *InetAddress) (string, error) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_by_address @@ -71549,7 +70033,6 @@ func (resolver *Resolver) lookupByAddress(ctx context.Context, address *InetAddr // - ctx (optional) or NULL. // - address to reverse-resolve. // - callback (optional) to call after resolution completes. -// func (resolver *Resolver) lookupByAddressAsync(ctx context.Context, address *InetAddress, callback AsyncReadyCallback) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_by_address_async @@ -71594,7 +70077,6 @@ func (resolver *Resolver) lookupByAddressAsync(ctx context.Context, address *Ine // // - utf8: hostname (either ASCII-only, or in ASCII-encoded form), or NULL on // error. -// func (resolver *Resolver) lookupByAddressFinish(result AsyncResulter) (string, error) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_by_address_finish @@ -71654,7 +70136,6 @@ func (resolver *Resolver) lookupByAddressFinish(result AsyncResulter) (string, e // - list: non-empty #GList of Address, or NULL on error. You must unref each // of the addresses and free the list when you are done with it. (You can // use g_resolver_free_addresses() to do this.). -// func (resolver *Resolver) lookupByName(ctx context.Context, hostname string) ([]*InetAddress, error) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_by_name @@ -71706,7 +70187,6 @@ func (resolver *Resolver) lookupByName(ctx context.Context, hostname string) ([] // - ctx (optional) or NULL. // - hostname to look up the address of. // - callback (optional) to call after resolution completes. -// func (resolver *Resolver) lookupByNameAsync(ctx context.Context, hostname string, callback AsyncReadyCallback) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_by_name_async @@ -71752,7 +70232,6 @@ func (resolver *Resolver) lookupByNameAsync(ctx context.Context, hostname string // // - list Address, or NULL on error. See g_resolver_lookup_by_name() for more // details. -// func (resolver *Resolver) lookupByNameFinish(result AsyncResulter) ([]*InetAddress, error) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_by_name_finish @@ -71801,7 +70280,6 @@ func (resolver *Resolver) lookupByNameFinish(result AsyncResulter) ([]*InetAddre // - list: non-empty #GList of Address, or NULL on error. You must unref each // of the addresses and free the list when you are done with it. (You can // use g_resolver_free_addresses() to do this.). -// func (resolver *Resolver) lookupByNameWithFlags(ctx context.Context, hostname string, flags ResolverNameLookupFlags) ([]*InetAddress, error) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_by_name_with_flags @@ -71857,7 +70335,6 @@ func (resolver *Resolver) lookupByNameWithFlags(ctx context.Context, hostname st // - hostname to look up the address of. // - flags: extra NameLookupFlags for the lookup. // - callback (optional) to call after resolution completes. -// func (resolver *Resolver) lookupByNameWithFlagsAsync(ctx context.Context, hostname string, flags ResolverNameLookupFlags, callback AsyncReadyCallback) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_by_name_with_flags_async @@ -71906,7 +70383,6 @@ func (resolver *Resolver) lookupByNameWithFlagsAsync(ctx context.Context, hostna // // - list Address, or NULL on error. See g_resolver_lookup_by_name() for more // details. -// func (resolver *Resolver) lookupByNameWithFlagsFinish(result AsyncResulter) ([]*InetAddress, error) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_by_name_with_flags_finish @@ -71961,7 +70437,6 @@ func (resolver *Resolver) lookupByNameWithFlagsFinish(result AsyncResulter) ([]* // - list: non-empty #GList of #GVariant, or NULL on error. You must free // each of the records and the list when you are done with it. (You can use // g_list_free_full() with g_variant_unref() to do this.). -// func (resolver *Resolver) lookupRecords(ctx context.Context, rrname string, recordType ResolverRecordType) ([]*glib.Variant, error) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_records @@ -72023,7 +70498,6 @@ func (resolver *Resolver) lookupRecords(ctx context.Context, rrname string, reco // - rrname: DNS name to look up the record for. // - recordType: type of DNS record to look up. // - callback (optional) to call after resolution completes. -// func (resolver *Resolver) lookupRecordsAsync(ctx context.Context, rrname string, recordType ResolverRecordType, callback AsyncReadyCallback) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_records_async @@ -72074,7 +70548,6 @@ func (resolver *Resolver) lookupRecordsAsync(ctx context.Context, rrname string, // - list: non-empty #GList of #GVariant, or NULL on error. You must free // each of the records and the list when you are done with it. (You can use // g_list_free_full() with g_variant_unref() to do this.). -// func (resolver *Resolver) lookupRecordsFinish(result AsyncResulter) ([]*glib.Variant, error) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_records_finish @@ -72119,7 +70592,6 @@ func (resolver *Resolver) lookupRecordsFinish(result AsyncResulter) ([]*glib.Var // - ctx (optional) // - rrname // - callback (optional) -// func (resolver *Resolver) lookupServiceAsync(ctx context.Context, rrname string, callback AsyncReadyCallback) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_service_async @@ -72165,7 +70637,6 @@ func (resolver *Resolver) lookupServiceAsync(ctx context.Context, rrname string, // // - list: non-empty #GList of Target, or NULL on error. See // g_resolver_lookup_service() for more details. -// func (resolver *Resolver) lookupServiceFinish(result AsyncResulter) ([]*SrvTarget, error) { gclass := (*C.GResolverClass)(coreglib.PeekParentClass(resolver)) fnarg := gclass.lookup_service_finish @@ -72224,7 +70695,6 @@ func (resolver *Resolver) reload() { // The function returns the following values: // // - resolver: default #GResolver. -// func ResolverGetDefault() Resolverer { var _cret *C.GResolver // in @@ -72259,7 +70729,6 @@ type SettingsOverrides struct { // // - keys // - nKeys - // ChangeEvent func(keys *glib.Quark, nKeys int) bool Changed func(key string) WritableChangeEvent func(key glib.Quark) bool @@ -72338,10 +70807,10 @@ func defaultSettingsOverrides(v *Settings) SettingsOverrides { // // For example: // -// -// ['bad', 'words'] +// +// ['bad', 'words'] // // Translations of default values must remain syntactically valid serialized // #GVariants (e.g. retaining any surrounding quotation marks) or runtime errors @@ -72375,73 +70844,73 @@ func defaultSettingsOverrides(v *Settings) SettingsOverrides { // // An example for default value: // -// -// +// +// // -// -// "Hello, earthlings" -// A greeting -// -// Greeting of the invading martians -// -// +// +// "Hello, earthlings" +// A greeting +// +// Greeting of the invading martians +// +// // -// -// (20,30) -// +// +// (20,30) +// // -// -// "" -// Empty strings have to be provided in GVariant form -// +// +// "" +// Empty strings have to be provided in GVariant form +// // -// -// +// +// // // An example for ranges, choices and enumerated types: // -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// 10 -// -// -// -// -// -// -// -// -// -// -// -// -// 'Joe' -// -// -// -// 'first' -// -// -// -// ["flag1","flag2"] -// -// -// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// 10 +// +// +// +// +// +// +// +// +// +// +// +// +// 'Joe' +// +// +// +// 'first' +// +// +// +// ["flag1","flag2"] +// +// +// // // # Vendor overrides // @@ -72454,9 +70923,9 @@ func defaultSettingsOverrides(v *Settings) SettingsOverrides { // the group name in the key file, and the values are expected in serialized // GVariant form, as in the following example: // -// [org.gtk.Example] -// key1='string' -// key2=1.5 +// [org.gtk.Example] +// key1='string' +// key2=1.5 // // glib-compile-schemas expects schema files to have the extension // .gschema.override. @@ -72492,9 +70961,9 @@ func defaultSettingsOverrides(v *Settings) SettingsOverrides { // etc. If any of the paths are well-known they can be specified as // elements in the parent schema, e.g.: // -// -// -// +// +// +// // // # Build system integration // @@ -72502,26 +70971,26 @@ func defaultSettingsOverrides(v *Settings) SettingsOverrides { // installing schemas. To add GSettings support to an application, add the // following to your configure.ac: // -// GLIB_GSETTINGS +// GLIB_GSETTINGS // // In the appropriate Makefile.am, use the following snippet to compile and // install the named schema: // -// gsettings_SCHEMAS = org.foo.MyApp.gschema.xml -// EXTRA_DIST = $(gsettings_SCHEMAS) +// gsettings_SCHEMAS = org.foo.MyApp.gschema.xml +// EXTRA_DIST = $(gsettings_SCHEMAS) // -// GSETTINGS_RULES@ +// GSETTINGS_RULES@ // // No changes are needed to the build system to mark a schema XML file for // translation. Assuming it sets the gettext-domain attribute, a schema may be // marked for translation by adding it to POTFILES.in, assuming gettext 0.19 is // in use (the preferred method for translation): // -// data/org.foo.MyApp.gschema.xml +// data/org.foo.MyApp.gschema.xml // // Alternatively, if intltool 0.50.1 is in use: // -// [type: gettext/gsettings]data/org.foo.MyApp.gschema.xml +// [type: gettext/gsettings]data/org.foo.MyApp.gschema.xml // // GSettings will use gettext to look up translations for the and // elements, and also any elements which have a l10n @@ -72535,8 +71004,8 @@ func defaultSettingsOverrides(v *Settings) SettingsOverrides { // This approach is preferred, as it ensures the two representations are always // synchronised. To do so, add the following to the relevant Makefile.am: // -// gsettings_ENUM_NAMESPACE = org.foo.MyApp -// gsettings_ENUM_FILES = my-app-enums.h my-app-misc.h +// gsettings_ENUM_NAMESPACE = org.foo.MyApp +// gsettings_ENUM_FILES = my-app-enums.h my-app-misc.h // // gsettings_ENUM_NAMESPACE specifies the schema namespace for the enum files, // which are specified in gsettings_ENUM_FILES. This will generate a @@ -72680,7 +71149,6 @@ func (settings *Settings) ConnectWritableChanged(f func(key string)) coreglib.Si // The function returns the following values: // // - settings: new #GSettings object. -// func NewSettings(schemaId string) *Settings { var _arg1 *C.gchar // out var _cret *C.GSettings // in @@ -72719,7 +71187,6 @@ func NewSettings(schemaId string) *Settings { // The function returns the following values: // // - settings: new #GSettings object. -// func NewSettingsWithPath(schemaId, path string) *Settings { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -72778,7 +71245,6 @@ func (settings *Settings) Apply() { // - object: #GObject. // - property: name of the property to bind. // - flags for the binding. -// func (settings *Settings) Bind(key string, object *coreglib.Object, property string, flags SettingsBindFlags) { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -72824,7 +71290,6 @@ func (settings *Settings) Bind(key string, object *coreglib.Object, property str // - object: #GObject. // - property: name of a boolean property to bind. // - inverted: whether to 'invert' the value. -// func (settings *Settings) BindWritable(key string, object *coreglib.Object, property string, inverted bool) { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -72870,7 +71335,6 @@ func (settings *Settings) BindWritable(key string, object *coreglib.Object, prop // The function returns the following values: // // - action: new #GAction. -// func (settings *Settings) CreateAction(key string) *Action { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -72917,7 +71381,6 @@ func (settings *Settings) Delay() { // The function returns the following values: // // - ok: boolean. -// func (settings *Settings) Boolean(key string) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -72953,7 +71416,6 @@ func (settings *Settings) Boolean(key string) bool { // The function returns the following values: // // - ret: 'child' settings object. -// func (settings *Settings) Child(name string) *Settings { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73002,7 +71464,6 @@ func (settings *Settings) Child(name string) *Settings { // The function returns the following values: // // - variant (optional): default value. -// func (settings *Settings) DefaultValue(key string) *glib.Variant { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73045,7 +71506,6 @@ func (settings *Settings) DefaultValue(key string) *glib.Variant { // The function returns the following values: // // - gdouble: double. -// func (settings *Settings) Double(key string) float64 { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73085,7 +71545,6 @@ func (settings *Settings) Double(key string) float64 { // The function returns the following values: // // - gint: enum value. -// func (settings *Settings) Enum(key string) int { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73125,7 +71584,6 @@ func (settings *Settings) Enum(key string) int { // The function returns the following values: // // - guint flags value. -// func (settings *Settings) Flags(key string) uint { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73152,7 +71610,6 @@ func (settings *Settings) Flags(key string) uint { // The function returns the following values: // // - ok: TRUE if settings has unapplied changes. -// func (settings *Settings) HasUnapplied() bool { var _arg0 *C.GSettings // out var _cret C.gboolean // in @@ -73185,7 +71642,6 @@ func (settings *Settings) HasUnapplied() bool { // The function returns the following values: // // - gint: integer. -// func (settings *Settings) Int(key string) int { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73220,7 +71676,6 @@ func (settings *Settings) Int(key string) int { // The function returns the following values: // // - gint64: 64-bit integer. -// func (settings *Settings) Int64(key string) int64 { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73277,7 +71732,6 @@ func (settings *Settings) Int64(key string) int64 { // The function returns the following values: // // - gpointer (optional): result, which may be NULL. -// func (settings *Settings) Mapped(key string, mapping SettingsGetMapping) unsafe.Pointer { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73311,7 +71765,6 @@ func (settings *Settings) Mapped(key string, mapping SettingsGetMapping) unsafe. // The function takes the following parameters: // // - key to query the range of. -// func (settings *Settings) Range(key string) *glib.Variant { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73352,7 +71805,6 @@ func (settings *Settings) Range(key string) *glib.Variant { // The function returns the following values: // // - utf8: newly-allocated string. -// func (settings *Settings) String(key string) string { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73387,7 +71839,6 @@ func (settings *Settings) String(key string) string { // // - utf8s: a newly-allocated, NULL-terminated array of strings, the value // that is stored at key in settings. -// func (settings *Settings) Strv(key string) []string { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73436,7 +71887,6 @@ func (settings *Settings) Strv(key string) []string { // The function returns the following values: // // - guint: unsigned integer. -// func (settings *Settings) Uint(key string) uint { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73471,7 +71921,6 @@ func (settings *Settings) Uint(key string) uint { // The function returns the following values: // // - guint64: 64-bit unsigned integer. -// func (settings *Settings) Uint64(key string) uint64 { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73517,7 +71966,6 @@ func (settings *Settings) Uint64(key string) uint64 { // The function returns the following values: // // - variant (optional) user's value, if set. -// func (settings *Settings) UserValue(key string) *glib.Variant { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73558,7 +72006,6 @@ func (settings *Settings) UserValue(key string) *glib.Variant { // The function returns the following values: // // - variant: new #GVariant. -// func (settings *Settings) Value(key string) *glib.Variant { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73594,7 +72041,6 @@ func (settings *Settings) Value(key string) *glib.Variant { // The function returns the following values: // // - ok: TRUE if the key name is writable. -// func (settings *Settings) IsWritable(name string) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73631,7 +72077,6 @@ func (settings *Settings) IsWritable(name string) bool { // The function returns the following values: // // - utf8s: list of the children on settings, in no defined order. -// func (settings *Settings) ListChildren() []string { var _arg0 *C.GSettings // out var _cret **C.gchar // in @@ -73675,7 +72120,6 @@ func (settings *Settings) ListChildren() []string { // The function returns the following values: // // - utf8s: list of the keys on settings, in no defined order. -// func (settings *Settings) ListKeys() []string { var _arg0 *C.GSettings // out var _cret **C.gchar // in @@ -73719,7 +72163,6 @@ func (settings *Settings) ListKeys() []string { // The function returns the following values: // // - ok: TRUE if value is valid for key. -// func (settings *Settings) RangeCheck(key string, value *glib.Variant) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73754,7 +72197,6 @@ func (settings *Settings) RangeCheck(key string, value *glib.Variant) bool { // The function takes the following parameters: // // - key: name of a key. -// func (settings *Settings) Reset(key string) { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73797,7 +72239,6 @@ func (settings *Settings) Revert() { // The function returns the following values: // // - ok: TRUE if setting the key succeeded, FALSE if the key was not writable. -// func (settings *Settings) SetBoolean(key string, value bool) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73840,7 +72281,6 @@ func (settings *Settings) SetBoolean(key string, value bool) bool { // The function returns the following values: // // - ok: TRUE if setting the key succeeded, FALSE if the key was not writable. -// func (settings *Settings) SetDouble(key string, value float64) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73884,7 +72324,6 @@ func (settings *Settings) SetDouble(key string, value float64) bool { // The function returns the following values: // // - ok: TRUE, if the set succeeds. -// func (settings *Settings) SetEnum(key string, value int) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73928,7 +72367,6 @@ func (settings *Settings) SetEnum(key string, value int) bool { // The function returns the following values: // // - ok: TRUE, if the set succeeds. -// func (settings *Settings) SetFlags(key string, value uint) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -73969,7 +72407,6 @@ func (settings *Settings) SetFlags(key string, value uint) bool { // The function returns the following values: // // - ok: TRUE if setting the key succeeded, FALSE if the key was not writable. -// func (settings *Settings) SetInt(key string, value int) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -74010,7 +72447,6 @@ func (settings *Settings) SetInt(key string, value int) bool { // The function returns the following values: // // - ok: TRUE if setting the key succeeded, FALSE if the key was not writable. -// func (settings *Settings) SetInt64(key string, value int64) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -74051,7 +72487,6 @@ func (settings *Settings) SetInt64(key string, value int64) bool { // The function returns the following values: // // - ok: TRUE if setting the key succeeded, FALSE if the key was not writable. -// func (settings *Settings) SetString(key, value string) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -74094,7 +72529,6 @@ func (settings *Settings) SetString(key, value string) bool { // The function returns the following values: // // - ok: TRUE if setting the key succeeded, FALSE if the key was not writable. -// func (settings *Settings) SetStrv(key string, value []string) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -74147,7 +72581,6 @@ func (settings *Settings) SetStrv(key string, value []string) bool { // The function returns the following values: // // - ok: TRUE if setting the key succeeded, FALSE if the key was not writable. -// func (settings *Settings) SetUint(key string, value uint) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -74188,7 +72621,6 @@ func (settings *Settings) SetUint(key string, value uint) bool { // The function returns the following values: // // - ok: TRUE if setting the key succeeded, FALSE if the key was not writable. -// func (settings *Settings) SetUint64(key string, value uint64) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -74229,7 +72661,6 @@ func (settings *Settings) SetUint64(key string, value uint64) bool { // The function returns the following values: // // - ok: TRUE if setting the key succeeded, FALSE if the key was not writable. -// func (settings *Settings) SetValue(key string, value *glib.Variant) bool { var _arg0 *C.GSettings // out var _arg1 *C.gchar // out @@ -74259,7 +72690,6 @@ func (settings *Settings) SetValue(key string, value *glib.Variant) bool { // // - keys // - nKeys -// func (settings *Settings) changeEvent(keys *glib.Quark, nKeys int) bool { gclass := (*C.GSettingsClass)(coreglib.PeekParentClass(settings)) fnarg := gclass.change_event @@ -74355,7 +72785,6 @@ func (settings *Settings) writableChanged(key string) { // // - utf8s: list of relocatable #GSettings schemas that are available, // in no defined order. The list must not be modified or freed. -// func SettingsListRelocatableSchemas() []string { var _cret **C.gchar // in @@ -74390,7 +72819,6 @@ func SettingsListRelocatableSchemas() []string { // // - utf8s: list of #GSettings schemas that are available, in no defined // order. The list must not be modified or freed. -// func SettingsListSchemas() []string { var _cret **C.gchar // in @@ -74438,7 +72866,6 @@ func SettingsSync() { // // - object: object. // - property whose binding is removed. -// func SettingsUnbind(object *coreglib.Object, property string) { var _arg1 C.gpointer // out var _arg2 *C.gchar // out @@ -74512,19 +72939,19 @@ func (simple *SimpleAction) ConnectActivate(f func(parameter *glib.Variant)) cor // // An example of a 'change-state' handler: // -// static void -// change_volume_state (GSimpleAction *action, -// GVariant *value, -// gpointer user_data) -// { -// gint requested; +// static void +// change_volume_state (GSimpleAction *action, +// GVariant *value, +// gpointer user_data) +// { +// gint requested; // -// requested = g_variant_get_int32 (value); +// requested = g_variant_get_int32 (value); // -// // Volume only goes from 0 to 10 -// if (0 <= requested && requested <= 10) -// g_simple_action_set_state (action, value); -// } +// // Volume only goes from 0 to 10 +// if (0 <= requested && requested <= 10) +// g_simple_action_set_state (action, value); +// } // // The handler need not set the state to the requested value. It could set it to // any value at all, or take some other action. @@ -74546,7 +72973,6 @@ func (simple *SimpleAction) ConnectChangeState(f func(value *glib.Variant)) core // The function returns the following values: // // - simpleAction: new Action. -// func NewSimpleAction(name string, parameterType *glib.VariantType) *SimpleAction { var _arg1 *C.gchar // out var _arg2 *C.GVariantType // out @@ -74585,7 +73011,6 @@ func NewSimpleAction(name string, parameterType *glib.VariantType) *SimpleAction // The function returns the following values: // // - simpleAction: new Action. -// func NewSimpleActionStateful(name string, parameterType *glib.VariantType, state *glib.Variant) *SimpleAction { var _arg1 *C.gchar // out var _arg2 *C.GVariantType // out @@ -74622,7 +73047,6 @@ func NewSimpleActionStateful(name string, parameterType *glib.VariantType, state // The function takes the following parameters: // // - enabled: whether the action is enabled. -// func (simple *SimpleAction) SetEnabled(enabled bool) { var _arg0 *C.GSimpleAction // out var _arg1 C.gboolean // out @@ -74650,7 +73074,6 @@ func (simple *SimpleAction) SetEnabled(enabled bool) { // The function takes the following parameters: // // - value: new #GVariant for the state. -// func (simple *SimpleAction) SetState(value *glib.Variant) { var _arg0 *C.GSimpleAction // out var _arg1 *C.GVariant // out @@ -74670,7 +73093,6 @@ func (simple *SimpleAction) SetState(value *glib.Variant) { // The function takes the following parameters: // // - stateHint (optional) representing the state hint. -// func (simple *SimpleAction) SetStateHint(stateHint *glib.Variant) { var _arg0 *C.GSimpleAction // out var _arg1 *C.GVariant // out @@ -74744,7 +73166,6 @@ func marshalSimpleActionGroup(p uintptr) (interface{}, error) { // The function returns the following values: // // - simpleActionGroup: new ActionGroup. -// func NewSimpleActionGroup() *SimpleActionGroup { var _cret *C.GSimpleActionGroup // in @@ -74766,7 +73187,6 @@ func NewSimpleActionGroup() *SimpleActionGroup { // // - entries: pointer to the first item in an array of Entry structs. // - userData (optional): user data for signal connections. -// func (simple *SimpleActionGroup) AddEntries(entries []ActionEntry, userData unsafe.Pointer) { var _arg0 *C.GSimpleActionGroup // out var _arg1 *C.GActionEntry // out @@ -74803,7 +73223,6 @@ func (simple *SimpleActionGroup) AddEntries(entries []ActionEntry, userData unsa // The function takes the following parameters: // // - action: #GAction. -// func (simple *SimpleActionGroup) Insert(action Actioner) { var _arg0 *C.GSimpleActionGroup // out var _arg1 *C.GAction // out @@ -74829,7 +73248,6 @@ func (simple *SimpleActionGroup) Insert(action Actioner) { // The function returns the following values: // // - action or NULL. -// func (simple *SimpleActionGroup) Lookup(actionName string) *Action { var _arg0 *C.GSimpleActionGroup // out var _arg1 *C.gchar // out @@ -74859,7 +73277,6 @@ func (simple *SimpleActionGroup) Lookup(actionName string) *Action { // The function takes the following parameters: // // - actionName: name of the action. -// func (simple *SimpleActionGroup) Remove(actionName string) { var _arg0 *C.GSimpleActionGroup // out var _arg1 *C.gchar // out @@ -74938,98 +73355,98 @@ func (simple *SimpleActionGroup) Remove(actionName string) { // see Result. A typical implementation of an asynchronous operation using // GSimpleAsyncResult looks something like this: // -// static void -// baked_cb (Cake *cake, -// gpointer user_data) -// { -// // In this example, this callback is not given a reference to the cake, -// // so the GSimpleAsyncResult has to take a reference to it. -// GSimpleAsyncResult *result = user_data; -// -// if (cake == NULL) -// g_simple_async_result_set_error (result, -// BAKER_ERRORS, -// BAKER_ERROR_NO_FLOUR, -// "Go to the supermarket"); -// else -// g_simple_async_result_set_op_res_gpointer (result, -// g_object_ref (cake), -// g_object_unref); -// -// -// // In this example, we assume that baked_cb is called as a callback from -// // the mainloop, so it's safe to complete the operation synchronously here. -// // If, however, _baker_prepare_cake () might call its callback without -// // first returning to the mainloop — inadvisable, but some APIs do so — -// // we would need to use g_simple_async_result_complete_in_idle(). -// g_simple_async_result_complete (result); -// g_object_unref (result); -// } -// -// void -// baker_bake_cake_async (Baker *self, -// guint radius, -// GAsyncReadyCallback callback, -// gpointer user_data) -// { -// GSimpleAsyncResult *simple; -// Cake *cake; -// -// if (radius < 3) -// { -// g_simple_async_report_error_in_idle (G_OBJECT (self), -// callback, -// user_data, -// BAKER_ERRORS, -// BAKER_ERROR_TOO_SMALL, -// "ucm radius cakes are silly", -// radius); -// return; -// } -// -// simple = g_simple_async_result_new (G_OBJECT (self), -// callback, -// user_data, -// baker_bake_cake_async); -// cake = _baker_get_cached_cake (self, radius); -// -// if (cake != NULL) -// { -// g_simple_async_result_set_op_res_gpointer (simple, -// g_object_ref (cake), -// g_object_unref); -// g_simple_async_result_complete_in_idle (simple); -// g_object_unref (simple); -// // Drop the reference returned by _baker_get_cached_cake(); -// // the GSimpleAsyncResult has taken its own reference. -// g_object_unref (cake); -// return; -// } -// -// _baker_prepare_cake (self, radius, baked_cb, simple); -// } -// -// Cake * -// baker_bake_cake_finish (Baker *self, -// GAsyncResult *result, -// GError **error) -// { -// GSimpleAsyncResult *simple; -// Cake *cake; -// -// g_return_val_if_fail (g_simple_async_result_is_valid (result, -// G_OBJECT (self), -// baker_bake_cake_async), -// NULL); -// -// simple = (GSimpleAsyncResult *) result; -// -// if (g_simple_async_result_propagate_error (simple, error)) -// return NULL; -// -// cake = CAKE (g_simple_async_result_get_op_res_gpointer (simple)); -// return g_object_ref (cake); -// }. +// static void +// baked_cb (Cake *cake, +// gpointer user_data) +// { +// // In this example, this callback is not given a reference to the cake, +// // so the GSimpleAsyncResult has to take a reference to it. +// GSimpleAsyncResult *result = user_data; +// +// if (cake == NULL) +// g_simple_async_result_set_error (result, +// BAKER_ERRORS, +// BAKER_ERROR_NO_FLOUR, +// "Go to the supermarket"); +// else +// g_simple_async_result_set_op_res_gpointer (result, +// g_object_ref (cake), +// g_object_unref); +// +// +// // In this example, we assume that baked_cb is called as a callback from +// // the mainloop, so it's safe to complete the operation synchronously here. +// // If, however, _baker_prepare_cake () might call its callback without +// // first returning to the mainloop — inadvisable, but some APIs do so — +// // we would need to use g_simple_async_result_complete_in_idle(). +// g_simple_async_result_complete (result); +// g_object_unref (result); +// } +// +// void +// baker_bake_cake_async (Baker *self, +// guint radius, +// GAsyncReadyCallback callback, +// gpointer user_data) +// { +// GSimpleAsyncResult *simple; +// Cake *cake; +// +// if (radius < 3) +// { +// g_simple_async_report_error_in_idle (G_OBJECT (self), +// callback, +// user_data, +// BAKER_ERRORS, +// BAKER_ERROR_TOO_SMALL, +// "ucm radius cakes are silly", +// radius); +// return; +// } +// +// simple = g_simple_async_result_new (G_OBJECT (self), +// callback, +// user_data, +// baker_bake_cake_async); +// cake = _baker_get_cached_cake (self, radius); +// +// if (cake != NULL) +// { +// g_simple_async_result_set_op_res_gpointer (simple, +// g_object_ref (cake), +// g_object_unref); +// g_simple_async_result_complete_in_idle (simple); +// g_object_unref (simple); +// // Drop the reference returned by _baker_get_cached_cake(); +// // the GSimpleAsyncResult has taken its own reference. +// g_object_unref (cake); +// return; +// } +// +// _baker_prepare_cake (self, radius, baked_cb, simple); +// } +// +// Cake * +// baker_bake_cake_finish (Baker *self, +// GAsyncResult *result, +// GError **error) +// { +// GSimpleAsyncResult *simple; +// Cake *cake; +// +// g_return_val_if_fail (g_simple_async_result_is_valid (result, +// G_OBJECT (self), +// baker_bake_cake_async), +// NULL); +// +// simple = (GSimpleAsyncResult *) result; +// +// if (g_simple_async_result_propagate_error (simple, error)) +// return NULL; +// +// cake = CAKE (g_simple_async_result_get_op_res_gpointer (simple)); +// return g_object_ref (cake); +// }. type SimpleAsyncResult struct { _ [0]func() // equal guard *coreglib.Object @@ -75076,7 +73493,6 @@ func marshalSimpleAsyncResult(p uintptr) (interface{}, error) { // The function returns the following values: // // - simpleAsyncResult: AsyncResult. -// func NewSimpleAsyncResult(sourceObject *coreglib.Object, callback AsyncReadyCallback, sourceTag unsafe.Pointer) *SimpleAsyncResult { var _arg1 *C.GObject // out var _arg2 C.GAsyncReadyCallback // out @@ -75118,7 +73534,6 @@ func NewSimpleAsyncResult(sourceObject *coreglib.Object, callback AsyncReadyCall // The function returns the following values: // // - simpleAsyncResult: AsyncResult. -// func NewSimpleAsyncResultFromError(sourceObject *coreglib.Object, callback AsyncReadyCallback, err error) *SimpleAsyncResult { var _arg1 *C.GObject // out var _arg2 C.GAsyncReadyCallback // out @@ -75194,7 +73609,6 @@ func (simple *SimpleAsyncResult) CompleteInIdle() { // // - ok: TRUE if the operation's result was TRUE, FALSE if the operation's // result was FALSE. -// func (simple *SimpleAsyncResult) OpResGboolean() bool { var _arg0 *C.GSimpleAsyncResult // out var _cret C.gboolean // in @@ -75220,7 +73634,6 @@ func (simple *SimpleAsyncResult) OpResGboolean() bool { // The function returns the following values: // // - gssize returned from the asynchronous function. -// func (simple *SimpleAsyncResult) OpResGssize() int { var _arg0 *C.GSimpleAsyncResult // out var _cret C.gssize // in @@ -75284,7 +73697,6 @@ func (simple *SimpleAsyncResult) PropagateError() error { // The function takes the following parameters: // // - ctx (optional) to check, or NULL to unset. -// func (simple *SimpleAsyncResult) SetCheckCancellable(ctx context.Context) { var _arg0 *C.GSimpleAsyncResult // out var _arg1 *C.GCancellable // out @@ -75308,7 +73720,6 @@ func (simple *SimpleAsyncResult) SetCheckCancellable(ctx context.Context) { // The function takes the following parameters: // // - err: #GError. -// func (simple *SimpleAsyncResult) SetFromError(err error) { var _arg0 *C.GSimpleAsyncResult // out var _arg1 *C.GError // out @@ -75335,7 +73746,6 @@ func (simple *SimpleAsyncResult) SetFromError(err error) { // The function takes the following parameters: // // - handleCancellation: #gboolean. -// func (simple *SimpleAsyncResult) SetHandleCancellation(handleCancellation bool) { var _arg0 *C.GSimpleAsyncResult // out var _arg1 C.gboolean // out @@ -75358,7 +73768,6 @@ func (simple *SimpleAsyncResult) SetHandleCancellation(handleCancellation bool) // The function takes the following parameters: // // - opRes: #gboolean. -// func (simple *SimpleAsyncResult) SetOpResGboolean(opRes bool) { var _arg0 *C.GSimpleAsyncResult // out var _arg1 C.gboolean // out @@ -75381,7 +73790,6 @@ func (simple *SimpleAsyncResult) SetOpResGboolean(opRes bool) { // The function takes the following parameters: // // - opRes: #gssize. -// func (simple *SimpleAsyncResult) SetOpResGssize(opRes int) { var _arg0 *C.GSimpleAsyncResult // out var _arg1 C.gssize // out @@ -75416,7 +73824,6 @@ func (simple *SimpleAsyncResult) SetOpResGssize(opRes int) { // The function returns the following values: // // - ok if all checks passed or LSE if any failed. -// func SimpleAsyncResultIsValid(result AsyncResulter, source *coreglib.Object, sourceTag unsafe.Pointer) bool { var _arg1 *C.GAsyncResult // out var _arg2 *C.GObject // out @@ -75482,7 +73889,6 @@ func marshalSimpleIOStream(p uintptr) (interface{}, error) { // The function returns the following values: // // - simpleIOStream: new IOStream instance. -// func NewSimpleIOStream(inputStream InputStreamer, outputStream OutputStreamer) *SimpleIOStream { var _arg1 *C.GInputStream // out var _arg2 *C.GOutputStream // out @@ -75538,7 +73944,6 @@ func marshalSimplePermission(p uintptr) (interface{}, error) { // The function returns the following values: // // - simplePermission as a #GPermission. -// func NewSimplePermission(allowed bool) *SimplePermission { var _arg1 C.gboolean // out var _cret *C.GPermission // in @@ -75622,7 +74027,6 @@ func marshalSimpleProxyResolver(p uintptr) (interface{}, error) { // The function takes the following parameters: // // - defaultProxy: default proxy to use. -// func (resolver *SimpleProxyResolver) SetDefaultProxy(defaultProxy string) { var _arg0 *C.GSimpleProxyResolver // out var _arg1 *C.gchar // out @@ -75648,7 +74052,6 @@ func (resolver *SimpleProxyResolver) SetDefaultProxy(defaultProxy string) { // // - uriScheme: URI scheme to add a proxy for. // - proxy to use for uri_scheme. -// func (resolver *SimpleProxyResolver) SetURIProxy(uriScheme, proxy string) { var _arg0 *C.GSimpleProxyResolver // out var _arg1 *C.gchar // out @@ -75788,7 +74191,6 @@ func marshalSocket(p uintptr) (interface{}, error) { // The function returns the following values: // // - socket or NULL on error. Free the returned object with g_object_unref(). -// func NewSocket(family SocketFamily, typ SocketType, protocol SocketProtocol) (*Socket, error) { var _arg1 C.GSocketFamily // out var _arg2 C.GSocketType // out @@ -75836,7 +74238,6 @@ func NewSocket(family SocketFamily, typ SocketType, protocol SocketProtocol) (*S // The function returns the following values: // // - socket or NULL on error. Free the returned object with g_object_unref(). -// func NewSocketFromFd(fd int) (*Socket, error) { var _arg1 C.gint // out var _cret *C.GSocket // in @@ -75877,7 +74278,6 @@ func NewSocketFromFd(fd int) (*Socket, error) { // // - ret: new #GSocket, or NULL on error. Free the returned object with // g_object_unref(). -// func (socket *Socket) Accept(ctx context.Context) (*Socket, error) { var _arg0 *C.GSocket // out var _arg1 *C.GCancellable // out @@ -75933,7 +74333,6 @@ func (socket *Socket) Accept(ctx context.Context) (*Socket, error) { // // - address specifying the local address. // - allowReuse: whether to allow reusing this address. -// func (socket *Socket) Bind(address SocketAddresser, allowReuse bool) error { var _arg0 *C.GSocket // out var _arg1 *C.GSocketAddress // out @@ -76048,7 +74447,6 @@ func (socket *Socket) Close() error { // The function returns the following values: // // - ioCondition: GIOCondition mask of the current state. -// func (socket *Socket) ConditionCheck(condition glib.IOCondition) glib.IOCondition { var _arg0 *C.GSocket // out var _arg1 C.GIOCondition // out @@ -76088,7 +74486,6 @@ func (socket *Socket) ConditionCheck(condition glib.IOCondition) glib.IOConditio // - ctx (optional) or NULL. // - condition mask to wait for. // - timeoutUs: maximum time (in microseconds) to wait, or -1. -// func (socket *Socket) ConditionTimedWait(ctx context.Context, condition glib.IOCondition, timeoutUs int64) error { var _arg0 *C.GSocket // out var _arg3 *C.GCancellable // out @@ -76134,7 +74531,6 @@ func (socket *Socket) ConditionTimedWait(ctx context.Context, condition glib.IOC // // - ctx (optional) or NULL. // - condition mask to wait for. -// func (socket *Socket) ConditionWait(ctx context.Context, condition glib.IOCondition) error { var _arg0 *C.GSocket // out var _arg2 *C.GCancellable // out @@ -76184,7 +74580,6 @@ func (socket *Socket) ConditionWait(ctx context.Context, condition glib.IOCondit // // - ctx (optional): GCancellable or NULL. // - address specifying the remote address. -// func (socket *Socket) ConnectSocket(ctx context.Context, address SocketAddresser) error { var _arg0 *C.GSocket // out var _arg2 *C.GCancellable // out @@ -76219,7 +74614,6 @@ func (socket *Socket) ConnectSocket(ctx context.Context, address SocketAddresser // The function returns the following values: // // - socketConnection: Connection. -// func (socket *Socket) ConnectionFactoryCreateConnection() *SocketConnection { var _arg0 *C.GSocket // out var _cret *C.GSocketConnection // in @@ -76252,7 +74646,6 @@ func (socket *Socket) ConnectionFactoryCreateConnection() *SocketConnection { // // - gssize: number of bytes that can be read from the socket without blocking // or truncating, or -1 on error. -// func (socket *Socket) AvailableBytes() int { var _arg0 *C.GSocket // out var _cret C.gssize // in @@ -76275,7 +74668,6 @@ func (socket *Socket) AvailableBytes() int { // The function returns the following values: // // - ok: TRUE if blocking I/O is used, FALSE otherwise. -// func (socket *Socket) Blocking() bool { var _arg0 *C.GSocket // out var _cret C.gboolean // in @@ -76300,7 +74692,6 @@ func (socket *Socket) Blocking() bool { // The function returns the following values: // // - ok: broadcast setting on socket. -// func (socket *Socket) Broadcast() bool { var _arg0 *C.GSocket // out var _cret C.gboolean // in @@ -76346,7 +74737,6 @@ func (socket *Socket) Broadcast() bool { // // - credentials: NULL if error is set, otherwise a #GCredentials object that // must be freed with g_object_unref(). -// func (socket *Socket) Credentials() (*Credentials, error) { var _arg0 *C.GSocket // out var _cret *C.GCredentials // in @@ -76373,7 +74763,6 @@ func (socket *Socket) Credentials() (*Credentials, error) { // The function returns the following values: // // - socketFamily: Family. -// func (socket *Socket) Family() SocketFamily { var _arg0 *C.GSocket // out var _cret C.GSocketFamily // in @@ -76398,7 +74787,6 @@ func (socket *Socket) Family() SocketFamily { // The function returns the following values: // // - gint: file descriptor of the socket. -// func (socket *Socket) Fd() int { var _arg0 *C.GSocket // out var _cret C.int // in @@ -76421,7 +74809,6 @@ func (socket *Socket) Fd() int { // The function returns the following values: // // - ok: TRUE if keepalive is active, FALSE otherwise. -// func (socket *Socket) Keepalive() bool { var _arg0 *C.GSocket // out var _cret C.gboolean // in @@ -76446,7 +74833,6 @@ func (socket *Socket) Keepalive() bool { // The function returns the following values: // // - gint: maximum number of pending connections. -// func (socket *Socket) ListenBacklog() int { var _arg0 *C.GSocket // out var _cret C.gint // in @@ -76471,7 +74857,6 @@ func (socket *Socket) ListenBacklog() int { // // - socketAddress or NULL on error. Free the returned object with // g_object_unref(). -// func (socket *Socket) LocalAddress() (SocketAddresser, error) { var _arg0 *C.GSocket // out var _cret *C.GSocketAddress // in @@ -76516,7 +74901,6 @@ func (socket *Socket) LocalAddress() (SocketAddresser, error) { // The function returns the following values: // // - ok: multicast loopback setting on socket. -// func (socket *Socket) MulticastLoopback() bool { var _arg0 *C.GSocket // out var _cret C.gboolean // in @@ -76541,7 +74925,6 @@ func (socket *Socket) MulticastLoopback() bool { // The function returns the following values: // // - guint: multicast time-to-live setting on socket. -// func (socket *Socket) MulticastTTL() uint { var _arg0 *C.GSocket // out var _cret C.guint // in @@ -76579,7 +74962,6 @@ func (socket *Socket) MulticastTTL() uint { // The function returns the following values: // // - value: return location for the option value. -// func (socket *Socket) Option(level, optname int) (int, error) { var _arg0 *C.GSocket // out var _arg1 C.gint // out @@ -76613,7 +74995,6 @@ func (socket *Socket) Option(level, optname int) (int, error) { // The function returns the following values: // // - socketProtocol: protocol id, or -1 if unknown. -// func (socket *Socket) Protocol() SocketProtocol { var _arg0 *C.GSocket // out var _cret C.GSocketProtocol // in @@ -76637,7 +75018,6 @@ func (socket *Socket) Protocol() SocketProtocol { // // - socketAddress or NULL on error. Free the returned object with // g_object_unref(). -// func (socket *Socket) RemoteAddress() (SocketAddresser, error) { var _arg0 *C.GSocket // out var _cret *C.GSocketAddress // in @@ -76680,7 +75060,6 @@ func (socket *Socket) RemoteAddress() (SocketAddresser, error) { // The function returns the following values: // // - socketType: Type. -// func (socket *Socket) SocketType() SocketType { var _arg0 *C.GSocket // out var _cret C.GSocketType // in @@ -76703,7 +75082,6 @@ func (socket *Socket) SocketType() SocketType { // The function returns the following values: // // - guint: timeout in seconds. -// func (socket *Socket) Timeout() uint { var _arg0 *C.GSocket // out var _cret C.guint // in @@ -76726,7 +75104,6 @@ func (socket *Socket) Timeout() uint { // The function returns the following values: // // - guint: time-to-live setting on socket. -// func (socket *Socket) TTL() uint { var _arg0 *C.GSocket // out var _cret C.guint // in @@ -76748,7 +75125,6 @@ func (socket *Socket) TTL() uint { // The function returns the following values: // // - ok: TRUE if socket is closed, FALSE otherwise. -// func (socket *Socket) IsClosed() bool { var _arg0 *C.GSocket // out var _cret C.gboolean // in @@ -76778,7 +75154,6 @@ func (socket *Socket) IsClosed() bool { // The function returns the following values: // // - ok: TRUE if socket is connected, FALSE otherwise. -// func (socket *Socket) IsConnected() bool { var _arg0 *C.GSocket // out var _cret C.gboolean // in @@ -76816,7 +75191,6 @@ func (socket *Socket) IsConnected() bool { // - group specifying the group address to join. // - sourceSpecific: TRUE if source-specific multicast should be used. // - iface (optional): name of the interface to use, or NULL. -// func (socket *Socket) JoinMulticastGroup(group *InetAddress, sourceSpecific bool, iface string) error { var _arg0 *C.GSocket // out var _arg1 *C.GInetAddress // out @@ -76870,7 +75244,6 @@ func (socket *Socket) JoinMulticastGroup(group *InetAddress, sourceSpecific bool // - sourceSpecific (optional) specifying the source-specific multicast // address or NULL to ignore. // - iface (optional): name of the interface to use, or NULL. -// func (socket *Socket) JoinMulticastGroupSSM(group, sourceSpecific *InetAddress, iface string) error { var _arg0 *C.GSocket // out var _arg1 *C.GInetAddress // out @@ -76918,7 +75291,6 @@ func (socket *Socket) JoinMulticastGroupSSM(group, sourceSpecific *InetAddress, // - group specifying the group address to leave. // - sourceSpecific: TRUE if source-specific multicast was used. // - iface (optional): interface used. -// func (socket *Socket) LeaveMulticastGroup(group *InetAddress, sourceSpecific bool, iface string) error { var _arg0 *C.GSocket // out var _arg1 *C.GInetAddress // out @@ -76964,7 +75336,6 @@ func (socket *Socket) LeaveMulticastGroup(group *InetAddress, sourceSpecific boo // - sourceSpecific (optional) specifying the source-specific multicast // address or NULL to ignore. // - iface (optional): name of the interface to use, or NULL. -// func (socket *Socket) LeaveMulticastGroupSSM(group, sourceSpecific *InetAddress, iface string) error { var _arg0 *C.GSocket // out var _arg1 *C.GInetAddress // out @@ -77055,7 +75426,6 @@ func (socket *Socket) Listen() error { // // - gssize: number of bytes read, or 0 if the connection was closed by the // peer, or -1 on error. -// func (socket *Socket) Receive(ctx context.Context, buffer []byte) (int, error) { var _arg0 *C.GSocket // out var _arg3 *C.GCancellable // out @@ -77108,7 +75478,6 @@ func (socket *Socket) Receive(ctx context.Context, buffer []byte) (int, error) { // - address (optional): pointer to a Address pointer, or NULL. // - gssize: number of bytes read, or 0 if the connection was closed by the // peer, or -1 on error. -// func (socket *Socket) ReceiveFrom(ctx context.Context, buffer []byte) (SocketAddresser, int, error) { var _arg0 *C.GSocket // out var _arg4 *C.GCancellable // out @@ -77223,7 +75592,6 @@ func (socket *Socket) ReceiveFrom(ctx context.Context, buffer []byte) (SocketAdd // mode, if the peer closed the connection, or if num_messages was larger // than UIO_MAXIOV (1024), in which case the caller may re-try to receive // the remaining messages. -// func (socket *Socket) ReceiveMessages(ctx context.Context, messages []InputMessage, flags int) (int, error) { var _arg0 *C.GSocket // out var _arg4 *C.GCancellable // out @@ -77282,7 +75650,6 @@ func (socket *Socket) ReceiveMessages(ctx context.Context, messages []InputMessa // // - gssize: number of bytes read, or 0 if the connection was closed by the // peer, or -1 on error. -// func (socket *Socket) ReceiveWithBlocking(ctx context.Context, buffer []byte, blocking bool) (int, error) { var _arg0 *C.GSocket // out var _arg4 *C.GCancellable // out @@ -77346,7 +75713,6 @@ func (socket *Socket) ReceiveWithBlocking(ctx context.Context, buffer []byte, bl // // - gssize: number of bytes written (which may be less than size), or -1 on // error. -// func (socket *Socket) Send(ctx context.Context, buffer string) (int, error) { var _arg0 *C.GSocket // out var _arg3 *C.GCancellable // out @@ -77436,7 +75802,6 @@ func (socket *Socket) Send(ctx context.Context, buffer string) (int, error) { // // - gssize: number of bytes written (which may be less than size), or -1 on // error. -// func (socket *Socket) SendMessage(ctx context.Context, address SocketAddresser, vectors []OutputVector, messages []SocketControlMessager, flags int) (int, error) { var _arg0 *C.GSocket // out var _arg7 *C.GCancellable // out @@ -77526,7 +75891,6 @@ func (socket *Socket) SendMessage(ctx context.Context, address SocketAddresser, // written, G_POLLABLE_RETURN_WOULD_BLOCK if the socket is currently not // writable, or G_POLLABLE_RETURN_FAILED if an error happened and error is // set. -// func (socket *Socket) SendMessageWithTimeout(ctx context.Context, address SocketAddresser, vectors []OutputVector, messages []SocketControlMessager, flags int, timeoutUs int64) (uint, PollableReturn, error) { var _arg0 *C.GSocket // out var _arg9 *C.GCancellable // out @@ -77643,7 +76007,6 @@ func (socket *Socket) SendMessageWithTimeout(ctx context.Context, address Socket // of messages sent may be smaller than num_messages if the socket is // non-blocking or if num_messages was larger than UIO_MAXIOV (1024), // in which case the caller may re-try to send the remaining messages. -// func (socket *Socket) SendMessages(ctx context.Context, messages []OutputMessage, flags int) (int, error) { var _arg0 *C.GSocket // out var _arg4 *C.GCancellable // out @@ -77702,7 +76065,6 @@ func (socket *Socket) SendMessages(ctx context.Context, messages []OutputMessage // // - gssize: number of bytes written (which may be less than size), or -1 on // error. -// func (socket *Socket) SendTo(ctx context.Context, address SocketAddresser, buffer string) (int, error) { var _arg0 *C.GSocket // out var _arg4 *C.GCancellable // out @@ -77757,7 +76119,6 @@ func (socket *Socket) SendTo(ctx context.Context, address SocketAddresser, buffe // // - gssize: number of bytes written (which may be less than size), or -1 on // error. -// func (socket *Socket) SendWithBlocking(ctx context.Context, buffer string, blocking bool) (int, error) { var _arg0 *C.GSocket // out var _arg4 *C.GCancellable // out @@ -77810,7 +76171,6 @@ func (socket *Socket) SendWithBlocking(ctx context.Context, buffer string, block // The function takes the following parameters: // // - blocking: whether to use blocking I/O or not. -// func (socket *Socket) SetBlocking(blocking bool) { var _arg0 *C.GSocket // out var _arg1 C.gboolean // out @@ -77831,7 +76191,6 @@ func (socket *Socket) SetBlocking(blocking bool) { // The function takes the following parameters: // // - broadcast: whether socket should allow sending to broadcast addresses. -// func (socket *Socket) SetBroadcast(broadcast bool) { var _arg0 *C.GSocket // out var _arg1 C.gboolean // out @@ -77864,7 +76223,6 @@ func (socket *Socket) SetBroadcast(broadcast bool) { // The function takes the following parameters: // // - keepalive: value for the keepalive flag. -// func (socket *Socket) SetKeepalive(keepalive bool) { var _arg0 *C.GSocket // out var _arg1 C.gboolean // out @@ -77890,7 +76248,6 @@ func (socket *Socket) SetKeepalive(keepalive bool) { // The function takes the following parameters: // // - backlog: maximum number of pending connections. -// func (socket *Socket) SetListenBacklog(backlog int) { var _arg0 *C.GSocket // out var _arg1 C.gint // out @@ -77911,7 +76268,6 @@ func (socket *Socket) SetListenBacklog(backlog int) { // // - loopback: whether socket should receive messages sent to its multicast // groups from the local host. -// func (socket *Socket) SetMulticastLoopback(loopback bool) { var _arg0 *C.GSocket // out var _arg1 C.gboolean // out @@ -77933,7 +76289,6 @@ func (socket *Socket) SetMulticastLoopback(loopback bool) { // The function takes the following parameters: // // - ttl: time-to-live value for all multicast datagrams on socket. -// func (socket *Socket) SetMulticastTTL(ttl uint) { var _arg0 *C.GSocket // out var _arg1 C.guint // out @@ -77960,7 +76315,6 @@ func (socket *Socket) SetMulticastTTL(ttl uint) { // - level: "API level" of the option (eg, SOL_SOCKET). // - optname: "name" of the option (eg, SO_BROADCAST). // - value to set the option to. -// func (socket *Socket) SetOption(level, optname, value int) error { var _arg0 *C.GSocket // out var _arg1 C.gint // out @@ -78009,7 +76363,6 @@ func (socket *Socket) SetOption(level, optname, value int) error { // The function takes the following parameters: // // - timeout for socket, in seconds, or 0 for none. -// func (socket *Socket) SetTimeout(timeout uint) { var _arg0 *C.GSocket // out var _arg1 C.guint // out @@ -78028,7 +76381,6 @@ func (socket *Socket) SetTimeout(timeout uint) { // The function takes the following parameters: // // - ttl: time-to-live value for all unicast packets on socket. -// func (socket *Socket) SetTTL(ttl uint) { var _arg0 *C.GSocket // out var _arg1 C.guint // out @@ -78060,7 +76412,6 @@ func (socket *Socket) SetTTL(ttl uint) { // // - shutdownRead: whether to shut down the read side. // - shutdownWrite: whether to shut down the write side. -// func (socket *Socket) Shutdown(shutdownRead, shutdownWrite bool) error { var _arg0 *C.GSocket // out var _arg1 C.gboolean // out @@ -78101,7 +76452,6 @@ func (socket *Socket) Shutdown(shutdownRead, shutdownWrite bool) error { // The function returns the following values: // // - ok: TRUE if this socket can be used with IPv4. -// func (socket *Socket) SpeaksIPv4() bool { var _arg0 *C.GSocket // out var _cret C.gboolean // in @@ -78127,7 +76477,6 @@ type SocketAddressOverrides struct { // The function returns the following values: // // - socketFamily: socket family type of address. - // Family func() SocketFamily // NativeSize gets the size of address's native struct sockaddr. You can use // this to allocate memory to pass to g_socket_address_to_native(). @@ -78135,7 +76484,6 @@ type SocketAddressOverrides struct { // The function returns the following values: // // - gssize: size of the native struct sockaddr that address represents. - // NativeSize func() int // ToNative converts a Address to a native struct sockaddr, which can be // passed to low-level functions like connect() or bind(). @@ -78150,7 +76498,6 @@ type SocketAddressOverrides struct { // native struct sockaddr. // - destlen: size of dest. Must be at least as large as // g_socket_address_get_native_size(). - // ToNative func(dest unsafe.Pointer, destlen uint) error } @@ -78251,7 +76598,6 @@ func BaseSocketAddress(obj SocketAddresser) *SocketAddress { // // - socketAddress: new Address if native could successfully be converted, // otherwise NULL. -// func NewSocketAddressFromNative(native unsafe.Pointer, len uint) *SocketAddress { var _arg1 C.gpointer // out var _arg2 C.gsize // out @@ -78276,7 +76622,6 @@ func NewSocketAddressFromNative(native unsafe.Pointer, len uint) *SocketAddress // The function returns the following values: // // - socketFamily: socket family type of address. -// func (address *SocketAddress) Family() SocketFamily { var _arg0 *C.GSocketAddress // out var _cret C.GSocketFamily // in @@ -78299,7 +76644,6 @@ func (address *SocketAddress) Family() SocketFamily { // The function returns the following values: // // - gssize: size of the native struct sockaddr that address represents. -// func (address *SocketAddress) NativeSize() int { var _arg0 *C.GSocketAddress // out var _cret C.gssize // in @@ -78329,7 +76673,6 @@ func (address *SocketAddress) NativeSize() int { // native struct sockaddr. // - destlen: size of dest. Must be at least as large as // g_socket_address_get_native_size(). -// func (address *SocketAddress) ToNative(dest unsafe.Pointer, destlen uint) error { var _arg0 *C.GSocketAddress // out var _arg1 C.gpointer // out @@ -78359,7 +76702,6 @@ func (address *SocketAddress) ToNative(dest unsafe.Pointer, destlen uint) error // The function returns the following values: // // - socketFamily: socket family type of address. -// func (address *SocketAddress) family() SocketFamily { gclass := (*C.GSocketAddressClass)(coreglib.PeekParentClass(address)) fnarg := gclass.get_family @@ -78385,7 +76727,6 @@ func (address *SocketAddress) family() SocketFamily { // The function returns the following values: // // - gssize: size of the native struct sockaddr that address represents. -// func (address *SocketAddress) nativeSize() int { gclass := (*C.GSocketAddressClass)(coreglib.PeekParentClass(address)) fnarg := gclass.get_native_size @@ -78418,7 +76759,6 @@ func (address *SocketAddress) nativeSize() int { // native struct sockaddr. // - destlen: size of dest. Must be at least as large as // g_socket_address_get_native_size(). -// func (address *SocketAddress) toNative(dest unsafe.Pointer, destlen uint) error { gclass := (*C.GSocketAddressClass)(coreglib.PeekParentClass(address)) fnarg := gclass.to_native @@ -78468,7 +76808,6 @@ type SocketAddressEnumeratorOverrides struct { // // - socketAddress (owned by the caller), or NULL on error (in which case // *error will be set) or if there are no more addresses. - // Next func(ctx context.Context) (SocketAddresser, error) // NextFinish retrieves the result of a completed call // to g_socket_address_enumerator_next_async(). See @@ -78483,7 +76822,6 @@ type SocketAddressEnumeratorOverrides struct { // // - socketAddress (owned by the caller), or NULL on error (in which case // *error will be set) or if there are no more addresses. - // NextFinish func(result AsyncResulter) (SocketAddresser, error) } @@ -78591,7 +76929,6 @@ func BaseSocketAddressEnumerator(obj SocketAddressEnumeratorrer) *SocketAddressE // // - socketAddress (owned by the caller), or NULL on error (in which case // *error will be set) or if there are no more addresses. -// func (enumerator *SocketAddressEnumerator) Next(ctx context.Context) (SocketAddresser, error) { var _arg0 *C.GSocketAddressEnumerator // out var _arg1 *C.GCancellable // out @@ -78647,7 +76984,6 @@ func (enumerator *SocketAddressEnumerator) Next(ctx context.Context) (SocketAddr // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - callback (optional) to call when the request is satisfied. -// func (enumerator *SocketAddressEnumerator) NextAsync(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GSocketAddressEnumerator // out var _arg1 *C.GCancellable // out @@ -78683,7 +77019,6 @@ func (enumerator *SocketAddressEnumerator) NextAsync(ctx context.Context, callba // // - socketAddress (owned by the caller), or NULL on error (in which case // *error will be set) or if there are no more addresses. -// func (enumerator *SocketAddressEnumerator) NextFinish(result AsyncResulter) (SocketAddresser, error) { var _arg0 *C.GSocketAddressEnumerator // out var _arg1 *C.GAsyncResult // out @@ -78744,7 +77079,6 @@ func (enumerator *SocketAddressEnumerator) NextFinish(result AsyncResulter) (Soc // // - socketAddress (owned by the caller), or NULL on error (in which case // *error will be set) or if there are no more addresses. -// func (enumerator *SocketAddressEnumerator) next(ctx context.Context) (SocketAddresser, error) { gclass := (*C.GSocketAddressEnumeratorClass)(coreglib.PeekParentClass(enumerator)) fnarg := gclass.next @@ -78803,7 +77137,6 @@ func (enumerator *SocketAddressEnumerator) next(ctx context.Context) (SocketAddr // // - ctx (optional): optional #GCancellable object, NULL to ignore. // - callback (optional) to call when the request is satisfied. -// func (enumerator *SocketAddressEnumerator) nextAsync(ctx context.Context, callback AsyncReadyCallback) { gclass := (*C.GSocketAddressEnumeratorClass)(coreglib.PeekParentClass(enumerator)) fnarg := gclass.next_async @@ -78842,7 +77175,6 @@ func (enumerator *SocketAddressEnumerator) nextAsync(ctx context.Context, callba // // - socketAddress (owned by the caller), or NULL on error (in which case // *error will be set) or if there are no more addresses. -// func (enumerator *SocketAddressEnumerator) nextFinish(result AsyncResulter) (SocketAddresser, error) { gclass := (*C.GSocketAddressEnumeratorClass)(coreglib.PeekParentClass(enumerator)) fnarg := gclass.next_finish @@ -78893,7 +77225,6 @@ type SocketClientOverrides struct { // - event // - connectable // - connection - // Event func(event SocketClientEvent, connectable SocketConnectabler, connection IOStreamer) } @@ -79012,7 +77343,6 @@ func (client *SocketClient) ConnectEvent(f func(event SocketClientEvent, connect // The function returns the following values: // // - socketClient: Client. Free the returned object with g_object_unref(). -// func NewSocketClient() *SocketClient { var _cret *C.GSocketClient // in @@ -79046,7 +77376,6 @@ func NewSocketClient() *SocketClient { // The function takes the following parameters: // // - protocol: proxy protocol. -// func (client *SocketClient) AddApplicationProxy(protocol string) { var _arg0 *C.GSocketClient // out var _arg1 *C.gchar // out @@ -79088,7 +77417,6 @@ func (client *SocketClient) AddApplicationProxy(protocol string) { // The function returns the following values: // // - socketConnection on success, NULL on error. -// func (client *SocketClient) ConnectSocketClient(ctx context.Context, connectable SocketConnectabler) (*SocketConnection, error) { var _arg0 *C.GSocketClient // out var _arg2 *C.GCancellable // out @@ -79138,7 +77466,6 @@ func (client *SocketClient) ConnectSocketClient(ctx context.Context, connectable // - ctx (optional) or NULL. // - connectable specifying the remote address. // - callback (optional): ReadyCallback. -// func (client *SocketClient) ConnectAsync(ctx context.Context, connectable SocketConnectabler, callback AsyncReadyCallback) { var _arg0 *C.GSocketClient // out var _arg2 *C.GCancellable // out @@ -79175,7 +77502,6 @@ func (client *SocketClient) ConnectAsync(ctx context.Context, connectable Socket // The function returns the following values: // // - socketConnection on success, NULL on error. -// func (client *SocketClient) ConnectFinish(result AsyncResulter) (*SocketConnection, error) { var _arg0 *C.GSocketClient // out var _arg1 *C.GAsyncResult // out @@ -79239,7 +77565,6 @@ func (client *SocketClient) ConnectFinish(result AsyncResulter) (*SocketConnecti // The function returns the following values: // // - socketConnection on success, NULL on error. -// func (client *SocketClient) ConnectToHost(ctx context.Context, hostAndPort string, defaultPort uint16) (*SocketConnection, error) { var _arg0 *C.GSocketClient // out var _arg3 *C.GCancellable // out @@ -79287,7 +77612,6 @@ func (client *SocketClient) ConnectToHost(ctx context.Context, hostAndPort strin // - hostAndPort: name and optionally the port of the host to connect to. // - defaultPort: default port to connect to. // - callback (optional): ReadyCallback. -// func (client *SocketClient) ConnectToHostAsync(ctx context.Context, hostAndPort string, defaultPort uint16, callback AsyncReadyCallback) { var _arg0 *C.GSocketClient // out var _arg3 *C.GCancellable // out @@ -79328,7 +77652,6 @@ func (client *SocketClient) ConnectToHostAsync(ctx context.Context, hostAndPort // The function returns the following values: // // - socketConnection on success, NULL on error. -// func (client *SocketClient) ConnectToHostFinish(result AsyncResulter) (*SocketConnection, error) { var _arg0 *C.GSocketClient // out var _arg1 *C.GAsyncResult // out @@ -79376,7 +77699,6 @@ func (client *SocketClient) ConnectToHostFinish(result AsyncResulter) (*SocketCo // The function returns the following values: // // - socketConnection if successful, or NULL on error. -// func (client *SocketClient) ConnectToService(ctx context.Context, domain, service string) (*SocketConnection, error) { var _arg0 *C.GSocketClient // out var _arg3 *C.GCancellable // out @@ -79422,7 +77744,6 @@ func (client *SocketClient) ConnectToService(ctx context.Context, domain, servic // - domain name. // - service: name of the service to connect to. // - callback (optional): ReadyCallback. -// func (client *SocketClient) ConnectToServiceAsync(ctx context.Context, domain, service string, callback AsyncReadyCallback) { var _arg0 *C.GSocketClient // out var _arg3 *C.GCancellable // out @@ -79464,7 +77785,6 @@ func (client *SocketClient) ConnectToServiceAsync(ctx context.Context, domain, s // The function returns the following values: // // - socketConnection on success, NULL on error. -// func (client *SocketClient) ConnectToServiceFinish(result AsyncResulter) (*SocketConnection, error) { var _arg0 *C.GSocketClient // out var _arg1 *C.GAsyncResult // out @@ -79518,7 +77838,6 @@ func (client *SocketClient) ConnectToServiceFinish(result AsyncResulter) (*Socke // The function returns the following values: // // - socketConnection on success, NULL on error. -// func (client *SocketClient) ConnectToURI(ctx context.Context, uri string, defaultPort uint16) (*SocketConnection, error) { var _arg0 *C.GSocketClient // out var _arg3 *C.GCancellable // out @@ -79566,7 +77885,6 @@ func (client *SocketClient) ConnectToURI(ctx context.Context, uri string, defaul // - uri: network uri. // - defaultPort: default port to connect to. // - callback (optional): ReadyCallback. -// func (client *SocketClient) ConnectToURIAsync(ctx context.Context, uri string, defaultPort uint16, callback AsyncReadyCallback) { var _arg0 *C.GSocketClient // out var _arg3 *C.GCancellable // out @@ -79607,7 +77925,6 @@ func (client *SocketClient) ConnectToURIAsync(ctx context.Context, uri string, d // The function returns the following values: // // - socketConnection on success, NULL on error. -// func (client *SocketClient) ConnectToURIFinish(result AsyncResulter) (*SocketConnection, error) { var _arg0 *C.GSocketClient // out var _arg1 *C.GAsyncResult // out @@ -79638,7 +77955,6 @@ func (client *SocketClient) ConnectToURIFinish(result AsyncResulter) (*SocketCon // The function returns the following values: // // - ok: whether proxying is enabled. -// func (client *SocketClient) EnableProxy() bool { var _arg0 *C.GSocketClient // out var _cret C.gboolean // in @@ -79664,7 +77980,6 @@ func (client *SocketClient) EnableProxy() bool { // The function returns the following values: // // - socketFamily: Family. -// func (client *SocketClient) Family() SocketFamily { var _arg0 *C.GSocketClient // out var _cret C.GSocketFamily // in @@ -79688,7 +78003,6 @@ func (client *SocketClient) Family() SocketFamily { // The function returns the following values: // // - socketAddress (optional) or NULL. Do not free. -// func (client *SocketClient) LocalAddress() SocketAddresser { var _arg0 *C.GSocketClient // out var _cret *C.GSocketAddress // in @@ -79727,7 +78041,6 @@ func (client *SocketClient) LocalAddress() SocketAddresser { // The function returns the following values: // // - socketProtocol: Protocol. -// func (client *SocketClient) Protocol() SocketProtocol { var _arg0 *C.GSocketClient // out var _cret C.GSocketProtocol // in @@ -79751,7 +78064,6 @@ func (client *SocketClient) Protocol() SocketProtocol { // The function returns the following values: // // - proxyResolver being used by client. -// func (client *SocketClient) ProxyResolver() *ProxyResolver { var _arg0 *C.GSocketClient // out var _cret *C.GProxyResolver // in @@ -79775,7 +78087,6 @@ func (client *SocketClient) ProxyResolver() *ProxyResolver { // The function returns the following values: // // - socketType: Family. -// func (client *SocketClient) SocketType() SocketType { var _arg0 *C.GSocketClient // out var _cret C.GSocketType // in @@ -79799,7 +78110,6 @@ func (client *SocketClient) SocketType() SocketType { // The function returns the following values: // // - guint: timeout in seconds. -// func (client *SocketClient) Timeout() uint { var _arg0 *C.GSocketClient // out var _cret C.guint // in @@ -79822,7 +78132,6 @@ func (client *SocketClient) Timeout() uint { // The function returns the following values: // // - ok: whether client uses TLS. -// func (client *SocketClient) TLS() bool { var _arg0 *C.GSocketClient // out var _cret C.gboolean // in @@ -79847,7 +78156,6 @@ func (client *SocketClient) TLS() bool { // The function returns the following values: // // - tlsCertificateFlags: TLS validation flags. -// func (client *SocketClient) TLSValidationFlags() TLSCertificateFlags { var _arg0 *C.GSocketClient // out var _cret C.GTlsCertificateFlags // in @@ -79874,7 +78182,6 @@ func (client *SocketClient) TLSValidationFlags() TLSCertificateFlags { // The function takes the following parameters: // // - enable: whether to enable proxies. -// func (client *SocketClient) SetEnableProxy(enable bool) { var _arg0 *C.GSocketClient // out var _arg1 C.gboolean // out @@ -79900,7 +78207,6 @@ func (client *SocketClient) SetEnableProxy(enable bool) { // The function takes the following parameters: // // - family: Family. -// func (client *SocketClient) SetFamily(family SocketFamily) { var _arg0 *C.GSocketClient // out var _arg1 C.GSocketFamily // out @@ -79923,7 +78229,6 @@ func (client *SocketClient) SetFamily(family SocketFamily) { // The function takes the following parameters: // // - address (optional) or NULL. -// func (client *SocketClient) SetLocalAddress(address SocketAddresser) { var _arg0 *C.GSocketClient // out var _arg1 *C.GSocketAddress // out @@ -79947,7 +78252,6 @@ func (client *SocketClient) SetLocalAddress(address SocketAddresser) { // The function takes the following parameters: // // - protocol: Protocol. -// func (client *SocketClient) SetProtocol(protocol SocketProtocol) { var _arg0 *C.GSocketClient // out var _arg1 C.GSocketProtocol // out @@ -79971,7 +78275,6 @@ func (client *SocketClient) SetProtocol(protocol SocketProtocol) { // The function takes the following parameters: // // - proxyResolver (optional) or NULL for the default. -// func (client *SocketClient) SetProxyResolver(proxyResolver ProxyResolverer) { var _arg0 *C.GSocketClient // out var _arg1 *C.GProxyResolver // out @@ -79995,7 +78298,6 @@ func (client *SocketClient) SetProxyResolver(proxyResolver ProxyResolverer) { // The function takes the following parameters: // // - typ: Type. -// func (client *SocketClient) SetSocketType(typ SocketType) { var _arg0 *C.GSocketClient // out var _arg1 C.GSocketType // out @@ -80018,7 +78320,6 @@ func (client *SocketClient) SetSocketType(typ SocketType) { // The function takes the following parameters: // // - timeout: timeout. -// func (client *SocketClient) SetTimeout(timeout uint) { var _arg0 *C.GSocketClient // out var _arg1 C.guint // out @@ -80051,7 +78352,6 @@ func (client *SocketClient) SetTimeout(timeout uint) { // The function takes the following parameters: // // - tls: whether to use TLS. -// func (client *SocketClient) SetTLS(tls bool) { var _arg0 *C.GSocketClient // out var _arg1 C.gboolean // out @@ -80072,7 +78372,6 @@ func (client *SocketClient) SetTLS(tls bool) { // The function takes the following parameters: // // - flags: validation flags. -// func (client *SocketClient) SetTLSValidationFlags(flags TLSCertificateFlags) { var _arg0 *C.GSocketClient // out var _arg1 C.GTlsCertificateFlags // out @@ -80090,7 +78389,6 @@ func (client *SocketClient) SetTLSValidationFlags(flags TLSCertificateFlags) { // - event // - connectable // - connection -// func (client *SocketClient) event(event SocketClientEvent, connectable SocketConnectabler, connection IOStreamer) { gclass := (*C.GSocketClientClass)(coreglib.PeekParentClass(client)) fnarg := gclass.event @@ -80178,7 +78476,6 @@ func marshalSocketConnection(p uintptr) (interface{}, error) { // // - ctx (optional): GCancellable or NULL. // - address specifying the remote address. -// func (connection *SocketConnection) ConnectSocketConnection(ctx context.Context, address SocketAddresser) error { var _arg0 *C.GSocketConnection // out var _arg2 *C.GCancellable // out @@ -80220,7 +78517,6 @@ func (connection *SocketConnection) ConnectSocketConnection(ctx context.Context, // - ctx (optional): GCancellable or NULL. // - address specifying the remote address. // - callback (optional): ReadyCallback. -// func (connection *SocketConnection) ConnectAsync(ctx context.Context, address SocketAddresser, callback AsyncReadyCallback) { var _arg0 *C.GSocketConnection // out var _arg2 *C.GCancellable // out @@ -80252,7 +78548,6 @@ func (connection *SocketConnection) ConnectAsync(ctx context.Context, address So // The function takes the following parameters: // // - result: Result. -// func (connection *SocketConnection) ConnectFinish(result AsyncResulter) error { var _arg0 *C.GSocketConnection // out var _arg1 *C.GAsyncResult // out @@ -80280,7 +78575,6 @@ func (connection *SocketConnection) ConnectFinish(result AsyncResulter) error { // // - socketAddress or NULL on error. Free the returned object with // g_object_unref(). -// func (connection *SocketConnection) LocalAddress() (SocketAddresser, error) { var _arg0 *C.GSocketConnection // out var _cret *C.GSocketAddress // in @@ -80330,7 +78624,6 @@ func (connection *SocketConnection) LocalAddress() (SocketAddresser, error) { // // - socketAddress or NULL on error. Free the returned object with // g_object_unref(). -// func (connection *SocketConnection) RemoteAddress() (SocketAddresser, error) { var _arg0 *C.GSocketConnection // out var _cret *C.GSocketAddress // in @@ -80375,7 +78668,6 @@ func (connection *SocketConnection) RemoteAddress() (SocketAddresser, error) { // The function returns the following values: // // - socket or NULL on error. -// func (connection *SocketConnection) Socket() *Socket { var _arg0 *C.GSocketConnection // out var _cret *C.GSocket // in @@ -80398,7 +78690,6 @@ func (connection *SocketConnection) Socket() *Socket { // The function returns the following values: // // - ok: whether connection is connected. -// func (connection *SocketConnection) IsConnected() bool { var _arg0 *C.GSocketConnection // out var _cret C.gboolean // in @@ -80432,7 +78723,6 @@ func (connection *SocketConnection) IsConnected() bool { // The function returns the following values: // // - gType: #GType. -// func SocketConnectionFactoryLookupType(family SocketFamily, typ SocketType, protocolId int) coreglib.Type { var _arg1 C.GSocketFamily // out var _arg2 C.GSocketType // out @@ -80467,7 +78757,6 @@ func SocketConnectionFactoryLookupType(family SocketFamily, typ SocketType, prot // - family: Family. // - typ: Type. // - protocol id. -// func SocketConnectionFactoryRegisterType(gType coreglib.Type, family SocketFamily, typ SocketType, protocol int) { var _arg1 C.GType // out var _arg2 C.GSocketFamily // out @@ -80494,7 +78783,6 @@ type SocketControlMessageOverrides struct { // The function returns the following values: // // - gint: integer describing the level. - // Level func() int // Size returns the space required for the control message, not including // headers or alignment. @@ -80502,7 +78790,6 @@ type SocketControlMessageOverrides struct { // The function returns the following values: // // - gsize: number of bytes required. - // Size func() uint Type func() int // Serialize converts the data in the message to bytes placed in the @@ -80514,7 +78801,6 @@ type SocketControlMessageOverrides struct { // The function takes the following parameters: // // - data: buffer to write data to. - // Serialize func(data unsafe.Pointer) } @@ -80624,7 +78910,6 @@ func BaseSocketControlMessage(obj SocketControlMessager) *SocketControlMessage { // The function returns the following values: // // - gint: integer describing the level. -// func (message *SocketControlMessage) Level() int { var _arg0 *C.GSocketControlMessage // out var _cret C.int // in @@ -80647,7 +78932,6 @@ func (message *SocketControlMessage) Level() int { // The function returns the following values: // // - gint: integer describing the type of control message. -// func (message *SocketControlMessage) MsgType() int { var _arg0 *C.GSocketControlMessage // out var _cret C.int // in @@ -80670,7 +78954,6 @@ func (message *SocketControlMessage) MsgType() int { // The function returns the following values: // // - gsize: number of bytes required. -// func (message *SocketControlMessage) Size() uint { var _arg0 *C.GSocketControlMessage // out var _cret C.gsize // in @@ -80695,7 +78978,6 @@ func (message *SocketControlMessage) Size() uint { // The function takes the following parameters: // // - data: buffer to write data to. -// func (message *SocketControlMessage) Serialize(data unsafe.Pointer) { var _arg0 *C.GSocketControlMessage // out var _arg1 C.gpointer // out @@ -80714,7 +78996,6 @@ func (message *SocketControlMessage) Serialize(data unsafe.Pointer) { // The function returns the following values: // // - gint: integer describing the level. -// func (message *SocketControlMessage) level() int { gclass := (*C.GSocketControlMessageClass)(coreglib.PeekParentClass(message)) fnarg := gclass.get_level @@ -80740,7 +79021,6 @@ func (message *SocketControlMessage) level() int { // The function returns the following values: // // - gsize: number of bytes required. -// func (message *SocketControlMessage) size() uint { gclass := (*C.GSocketControlMessageClass)(coreglib.PeekParentClass(message)) fnarg := gclass.get_size @@ -80787,7 +79067,6 @@ func (message *SocketControlMessage) typ() int { // The function takes the following parameters: // // - data: buffer to write data to. -// func (message *SocketControlMessage) serialize(data unsafe.Pointer) { gclass := (*C.GSocketControlMessageClass)(coreglib.PeekParentClass(message)) fnarg := gclass.serialize @@ -80820,7 +79099,6 @@ func (message *SocketControlMessage) serialize(data unsafe.Pointer) { // The function returns the following values: // // - socketControlMessage: deserialized message or NULL. -// func SocketControlMessageDeserialize(level, typ int, data []byte) SocketControlMessager { var _arg1 C.int // out var _arg2 C.int // out @@ -80870,7 +79148,6 @@ type SocketListenerOverrides struct { // // - event // - socket - // Event func(event SocketListenerEvent, socket *Socket) } @@ -80952,7 +79229,6 @@ func (listener *SocketListener) ConnectEvent(f func(event SocketListenerEvent, s // The function returns the following values: // // - socketListener: new Listener. -// func NewSocketListener() *SocketListener { var _cret *C.GSocketListener // in @@ -80984,7 +79260,6 @@ func NewSocketListener() *SocketListener { // - sourceObject (optional): location where #GObject pointer will be stored, // or NULL. // - socketConnection on success, NULL on error. -// func (listener *SocketListener) Accept(ctx context.Context) (*coreglib.Object, *SocketConnection, error) { var _arg0 *C.GSocketListener // out var _arg2 *C.GCancellable // out @@ -81027,7 +79302,6 @@ func (listener *SocketListener) Accept(ctx context.Context) (*coreglib.Object, * // // - ctx (optional) or NULL. // - callback (optional): ReadyCallback. -// func (listener *SocketListener) AcceptAsync(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GSocketListener // out var _arg1 *C.GCancellable // out @@ -81062,7 +79336,6 @@ func (listener *SocketListener) AcceptAsync(ctx context.Context, callback AsyncR // // - sourceObject (optional): optional #GObject identifying this source. // - socketConnection on success, NULL on error. -// func (listener *SocketListener) AcceptFinish(result AsyncResulter) (*coreglib.Object, *SocketConnection, error) { var _arg0 *C.GSocketListener // out var _arg1 *C.GAsyncResult // out @@ -81114,7 +79387,6 @@ func (listener *SocketListener) AcceptFinish(result AsyncResulter) (*coreglib.Ob // - sourceObject (optional): location where #GObject pointer will be stored, // or NULL. // - socket on success, NULL on error. -// func (listener *SocketListener) AcceptSocket(ctx context.Context) (*coreglib.Object, *Socket, error) { var _arg0 *C.GSocketListener // out var _arg2 *C.GCancellable // out @@ -81158,7 +79430,6 @@ func (listener *SocketListener) AcceptSocket(ctx context.Context) (*coreglib.Obj // // - ctx (optional) or NULL. // - callback (optional): ReadyCallback. -// func (listener *SocketListener) AcceptSocketAsync(ctx context.Context, callback AsyncReadyCallback) { var _arg0 *C.GSocketListener // out var _arg1 *C.GCancellable // out @@ -81193,7 +79464,6 @@ func (listener *SocketListener) AcceptSocketAsync(ctx context.Context, callback // // - sourceObject (optional): optional #GObject identifying this source. // - socket on success, NULL on error. -// func (listener *SocketListener) AcceptSocketFinish(result AsyncResulter) (*coreglib.Object, *Socket, error) { var _arg0 *C.GSocketListener // out var _arg1 *C.GAsyncResult // out @@ -81255,7 +79525,6 @@ func (listener *SocketListener) AcceptSocketFinish(result AsyncResulter) (*coreg // // - effectiveAddress (optional): location to store the address that was bound // to, or NULL. -// func (listener *SocketListener) AddAddress(address SocketAddresser, typ SocketType, protocol SocketProtocol, sourceObject *coreglib.Object) (SocketAddresser, error) { var _arg0 *C.GSocketListener // out var _arg1 *C.GSocketAddress // out @@ -81323,7 +79592,6 @@ func (listener *SocketListener) AddAddress(address SocketAddresser, typ SocketTy // The function returns the following values: // // - guint16: port number, or 0 in case of failure. -// func (listener *SocketListener) AddAnyInetPort(sourceObject *coreglib.Object) (uint16, error) { var _arg0 *C.GSocketListener // out var _arg1 *C.GObject // out @@ -81366,7 +79634,6 @@ func (listener *SocketListener) AddAnyInetPort(sourceObject *coreglib.Object) (u // // - port: IP port number (non-zero). // - sourceObject (optional): optional #GObject identifying this source. -// func (listener *SocketListener) AddInetPort(port uint16, sourceObject *coreglib.Object) error { var _arg0 *C.GSocketListener // out var _arg1 C.guint16 // out @@ -81409,7 +79676,6 @@ func (listener *SocketListener) AddInetPort(port uint16, sourceObject *coreglib. // // - socket: listening #GSocket. // - sourceObject (optional): optional #GObject identifying this source. -// func (listener *SocketListener) AddSocket(socket *Socket, sourceObject *coreglib.Object) error { var _arg0 *C.GSocketListener // out var _arg1 *C.GSocket // out @@ -81455,7 +79721,6 @@ func (listener *SocketListener) Close() { // The function takes the following parameters: // // - listenBacklog: integer. -// func (listener *SocketListener) SetBacklog(listenBacklog int) { var _arg0 *C.GSocketListener // out var _arg1 C.int // out @@ -81484,7 +79749,6 @@ func (listener *SocketListener) changed() { // // - event // - socket -// func (listener *SocketListener) event(event SocketListenerEvent, socket *Socket) { gclass := (*C.GSocketListenerClass)(coreglib.PeekParentClass(listener)) fnarg := gclass.event @@ -81509,7 +79773,6 @@ type SocketServiceOverrides struct { // // - connection // - sourceObject - // Incoming func(connection *SocketConnection, sourceObject *coreglib.Object) bool } @@ -81605,7 +79868,6 @@ func (service *SocketService) ConnectIncoming(f func(connection *SocketConnectio // The function returns the following values: // // - socketService: new Service. -// func NewSocketService() *SocketService { var _cret *C.GSocketService // in @@ -81625,7 +79887,6 @@ func NewSocketService() *SocketService { // The function returns the following values: // // - ok: TRUE if the service is active, FALSE otherwise. -// func (service *SocketService) IsActive() bool { var _arg0 *C.GSocketService // out var _cret C.gboolean // in @@ -81687,7 +79948,6 @@ func (service *SocketService) Stop() { // // - connection // - sourceObject -// func (service *SocketService) incoming(connection *SocketConnection, sourceObject *coreglib.Object) bool { gclass := (*C.GSocketServiceClass)(coreglib.PeekParentClass(service)) fnarg := gclass.incoming @@ -81734,94 +79994,94 @@ func (service *SocketService) incoming(connection *SocketConnection, sourceObjec // // Here is an example for using GTask as a GAsyncResult: // -// static void -// bake_cake_thread (GTask *task, -// gpointer source_object, -// gpointer task_data, -// GCancellable *cancellable) -// { -// Baker *self = source_object; -// CakeData *cake_data = task_data; -// Cake *cake; -// GError *error = NULL; -// -// cake = bake_cake (baker, cake_data->radius, cake_data->flavor, -// cake_data->frosting, cake_data->message, -// &error); -// if (error) -// { -// g_task_return_error (task, error); -// return; -// } -// -// // If the task has already been cancelled, then we don't want to add -// // the cake to the cake cache. Likewise, we don't want to have the -// // task get cancelled in the middle of updating the cache. -// // g_task_set_return_on_cancel() will return TRUE here if it managed -// // to disable return-on-cancel, or FALSE if the task was cancelled -// // before it could. -// if (g_task_set_return_on_cancel (task, FALSE)) -// { -// // If the caller cancels at this point, their -// // GAsyncReadyCallback won't be invoked until we return, -// // so we don't have to worry that this code will run at -// // the same time as that code does. But if there were -// // other functions that might look at the cake cache, -// // then we'd probably need a GMutex here as well. -// baker_add_cake_to_cache (baker, cake); -// g_task_return_pointer (task, cake, g_object_unref); -// } -// } -// -// void -// baker_bake_cake_async (Baker *self, -// guint radius, -// CakeFlavor flavor, -// CakeFrostingType frosting, -// const char *message, -// GCancellable *cancellable, -// GAsyncReadyCallback callback, -// gpointer user_data) -// { -// CakeData *cake_data; -// GTask *task; -// -// cake_data = g_slice_new (CakeData); -// -// ... -// -// task = g_task_new (self, cancellable, callback, user_data); -// g_task_set_task_data (task, cake_data, (GDestroyNotify) cake_data_free); -// g_task_set_return_on_cancel (task, TRUE); -// g_task_run_in_thread (task, bake_cake_thread); -// } -// -// Cake * -// baker_bake_cake_sync (Baker *self, -// guint radius, -// CakeFlavor flavor, -// CakeFrostingType frosting, -// const char *message, -// GCancellable *cancellable, -// GError **error) -// { -// CakeData *cake_data; -// GTask *task; -// Cake *cake; -// -// cake_data = g_slice_new (CakeData); -// -// ... -// -// task = g_task_new (self, cancellable, NULL, NULL); -// g_task_set_task_data (task, cake_data, (GDestroyNotify) cake_data_free); -// g_task_set_return_on_cancel (task, TRUE); -// g_task_run_in_thread_sync (task, bake_cake_thread); -// -// cake = g_task_propagate_pointer (task, error); -// g_object_unref (task); -// return cake; -// } +// static void +// bake_cake_thread (GTask *task, +// gpointer source_object, +// gpointer task_data, +// GCancellable *cancellable) +// { +// Baker *self = source_object; +// CakeData *cake_data = task_data; +// Cake *cake; +// GError *error = NULL; +// +// cake = bake_cake (baker, cake_data->radius, cake_data->flavor, +// cake_data->frosting, cake_data->message, +// &error); +// if (error) +// { +// g_task_return_error (task, error); +// return; +// } +// +// // If the task has already been cancelled, then we don't want to add +// // the cake to the cake cache. Likewise, we don't want to have the +// // task get cancelled in the middle of updating the cache. +// // g_task_set_return_on_cancel() will return TRUE here if it managed +// // to disable return-on-cancel, or FALSE if the task was cancelled +// // before it could. +// if (g_task_set_return_on_cancel (task, FALSE)) +// { +// // If the caller cancels at this point, their +// // GAsyncReadyCallback won't be invoked until we return, +// // so we don't have to worry that this code will run at +// // the same time as that code does. But if there were +// // other functions that might look at the cake cache, +// // then we'd probably need a GMutex here as well. +// baker_add_cake_to_cache (baker, cake); +// g_task_return_pointer (task, cake, g_object_unref); +// } +// } +// +// void +// baker_bake_cake_async (Baker *self, +// guint radius, +// CakeFlavor flavor, +// CakeFrostingType frosting, +// const char *message, +// GCancellable *cancellable, +// GAsyncReadyCallback callback, +// gpointer user_data) +// { +// CakeData *cake_data; +// GTask *task; +// +// cake_data = g_slice_new (CakeData); +// +// ... +// +// task = g_task_new (self, cancellable, callback, user_data); +// g_task_set_task_data (task, cake_data, (GDestroyNotify) cake_data_free); +// g_task_set_return_on_cancel (task, TRUE); +// g_task_run_in_thread (task, bake_cake_thread); +// } +// +// Cake * +// baker_bake_cake_sync (Baker *self, +// guint radius, +// CakeFlavor flavor, +// CakeFrostingType frosting, +// const char *message, +// GCancellable *cancellable, +// GError **error) +// { +// CakeData *cake_data; +// GTask *task; +// Cake *cake; +// +// cake_data = g_slice_new (CakeData); +// +// ... +// +// task = g_task_new (self, cancellable, NULL, NULL); +// g_task_set_task_data (task, cake_data, (GDestroyNotify) cake_data_free); +// g_task_set_return_on_cancel (task, TRUE); +// g_task_run_in_thread_sync (task, bake_cake_thread); +// +// cake = g_task_propagate_pointer (task, error); +// g_object_unref (task); +// return cake; +// } // // # Porting from GSimpleAsyncResult // @@ -81921,7 +80181,6 @@ func marshalTask(p uintptr) (interface{}, error) { // The function returns the following values: // // - task: #GTask. -// func NewTask(ctx context.Context, sourceObject *coreglib.Object, callback AsyncReadyCallback) *Task { var _arg2 *C.GCancellable // out var _arg1 C.gpointer // out @@ -81957,7 +80216,6 @@ func NewTask(ctx context.Context, sourceObject *coreglib.Object, callback AsyncR // The function returns the following values: // // - cancellable task's #GCancellable. -// func (task *Task) Cancellable() *Cancellable { var _arg0 *C.GTask // out var _cret *C.GCancellable // in @@ -82001,7 +80259,6 @@ func (task *Task) CheckCancellable() bool { // The function returns the following values: // // - ok: TRUE if the task has completed, FALSE otherwise. -// func (task *Task) Completed() bool { var _arg0 *C.GTask // out var _cret C.gboolean // in @@ -82031,7 +80288,6 @@ func (task *Task) Completed() bool { // The function returns the following values: // // - mainContext task's Context. -// func (task *Task) Context() *glib.MainContext { var _arg0 *C.GTask // out var _cret *C.GMainContext // in @@ -82060,7 +80316,6 @@ func (task *Task) Context() *glib.MainContext { // The function returns the following values: // // - utf8 (optional) task’s name, or NULL. -// func (task *Task) Name() string { var _arg0 *C.GTask // out var _cret *C.gchar // in @@ -82084,7 +80339,6 @@ func (task *Task) Name() string { // The function returns the following values: // // - gint task's priority. -// func (task *Task) Priority() int { var _arg0 *C.GTask // out var _cret C.gint // in @@ -82127,7 +80381,6 @@ func (task *Task) ReturnOnCancel() bool { // The function returns the following values: // // - object (optional) task's source object, or NULL. -// func (task *Task) SourceObject() *coreglib.Object { var _arg0 *C.GTask // out var _cret C.gpointer // in @@ -82149,7 +80402,6 @@ func (task *Task) SourceObject() *coreglib.Object { // The function returns the following values: // // - gpointer (optional) task's source tag. -// func (task *Task) SourceTag() unsafe.Pointer { var _arg0 *C.GTask // out var _cret C.gpointer // in @@ -82171,7 +80423,6 @@ func (task *Task) SourceTag() unsafe.Pointer { // The function returns the following values: // // - gpointer (optional) task's task_data. -// func (task *Task) TaskData() unsafe.Pointer { var _arg0 *C.GTask // out var _cret C.gpointer // in @@ -82193,7 +80444,6 @@ func (task *Task) TaskData() unsafe.Pointer { // The function returns the following values: // // - ok: TRUE if the task resulted in an error, FALSE otherwise. -// func (task *Task) HadError() bool { var _arg0 *C.GTask // out var _cret C.gboolean // in @@ -82248,7 +80498,6 @@ func (task *Task) PropagateBoolean() error { // The function returns the following values: // // - gssize: task result, or -1 on error. -// func (task *Task) PropagateInt() (int, error) { var _arg0 *C.GTask // out var _cret C.gssize // in @@ -82282,7 +80531,6 @@ func (task *Task) PropagateInt() (int, error) { // The function returns the following values: // // - gpointer (optional): task result, or NULL on error. -// func (task *Task) PropagatePointer() (unsafe.Pointer, error) { var _arg0 *C.GTask // out var _cret C.gpointer // in @@ -82318,7 +80566,6 @@ func (task *Task) PropagatePointer() (unsafe.Pointer, error) { // The function returns the following values: // // - value: return location for the #GValue. -// func (task *Task) PropagateValue() (coreglib.Value, error) { var _arg0 *C.GTask // out var _arg1 C.GValue // in @@ -82346,7 +80593,6 @@ func (task *Task) PropagateValue() (coreglib.Value, error) { // The function takes the following parameters: // // - result result of a task function. -// func (task *Task) ReturnBoolean(result bool) { var _arg0 *C.GTask // out var _arg1 C.gboolean // out @@ -82375,7 +80621,6 @@ func (task *Task) ReturnBoolean(result bool) { // The function takes the following parameters: // // - err result of a task function. -// func (task *Task) ReturnError(err error) { var _arg0 *C.GTask // out var _arg1 *C.GError // out @@ -82397,7 +80642,6 @@ func (task *Task) ReturnError(err error) { // The function returns the following values: // // - ok: TRUE if task has been cancelled, FALSE if not. -// func (task *Task) ReturnErrorIfCancelled() bool { var _arg0 *C.GTask // out var _cret C.gboolean // in @@ -82422,7 +80666,6 @@ func (task *Task) ReturnErrorIfCancelled() bool { // The function takes the following parameters: // // - result: integer (#gssize) result of a task function. -// func (task *Task) ReturnInt(result int) { var _arg0 *C.GTask // out var _arg1 C.gssize // out @@ -82448,7 +80691,6 @@ func (task *Task) ReturnInt(result int) { // The function takes the following parameters: // // - result (optional) result of a task function. -// func (task *Task) ReturnValue(result *coreglib.Value) { var _arg0 *C.GTask // out var _arg1 *C.GValue // out @@ -82481,7 +80723,6 @@ func (task *Task) ReturnValue(result *coreglib.Value) { // // - checkCancellable: whether #GTask will check the state of its // #GCancellable for you. -// func (task *Task) SetCheckCancellable(checkCancellable bool) { var _arg0 *C.GTask // out var _arg1 C.gboolean // out @@ -82509,7 +80750,6 @@ func (task *Task) SetCheckCancellable(checkCancellable bool) { // The function takes the following parameters: // // - name (optional): human readable name for the task, or NULL to unset it. -// func (task *Task) SetName(name string) { var _arg0 *C.GTask // out var _arg1 *C.gchar // out @@ -82535,7 +80775,6 @@ func (task *Task) SetName(name string) { // The function takes the following parameters: // // - priority: [priority][io-priority] of the request. -// func (task *Task) SetPriority(priority int) { var _arg0 *C.GTask // out var _arg1 C.gint // out @@ -82583,7 +80822,6 @@ func (task *Task) SetPriority(priority int) { // // - ok: TRUE if task's return-on-cancel flag was changed to match // return_on_cancel. FALSE if task has already been cancelled. -// func (task *Task) SetReturnOnCancel(returnOnCancel bool) bool { var _arg0 *C.GTask // out var _arg1 C.gboolean // out @@ -82616,7 +80854,6 @@ func (task *Task) SetReturnOnCancel(returnOnCancel bool) bool { // The function takes the following parameters: // // - sourceTag (optional): opaque pointer indicating the source of this task. -// func (task *Task) SetSourceTag(sourceTag unsafe.Pointer) { var _arg0 *C.GTask // out var _arg1 C.gpointer // out @@ -82642,7 +80879,6 @@ func (task *Task) SetSourceTag(sourceTag unsafe.Pointer) { // The function returns the following values: // // - ok: TRUE if result and source_object are valid, FALSE if not. -// func TaskIsValid(result AsyncResulter, sourceObject *coreglib.Object) bool { var _arg1 C.gpointer // out var _arg2 C.gpointer // out @@ -82679,7 +80915,6 @@ func TaskIsValid(result AsyncResulter, sourceObject *coreglib.Object) bool { // - callback (optional): ReadyCallback. // - sourceTag (optional): opaque pointer indicating the source of this task. // - err: error to report. -// func TaskReportError(sourceObject *coreglib.Object, callback AsyncReadyCallback, sourceTag unsafe.Pointer, err error) { var _arg1 C.gpointer // out var _arg2 C.GAsyncReadyCallback // out @@ -82759,7 +80994,6 @@ func marshalTCPConnection(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if graceful disconnect is used on close, FALSE otherwise. -// func (connection *TCPConnection) GracefulDisconnect() bool { var _arg0 *C.GTcpConnection // out var _cret C.gboolean // in @@ -82792,7 +81026,6 @@ func (connection *TCPConnection) GracefulDisconnect() bool { // The function takes the following parameters: // // - gracefulDisconnect: whether to do graceful disconnects or not. -// func (connection *TCPConnection) SetGracefulDisconnect(gracefulDisconnect bool) { var _arg0 *C.GTcpConnection // out var _arg1 C.gboolean // out @@ -82871,7 +81104,6 @@ func marshalTCPWrapperConnection(p uintptr) (interface{}, error) { // The function returns the following values: // // - tcpWrapperConnection: new Connection. -// func NewTCPWrapperConnection(baseIoStream IOStreamer, socket *Socket) *TCPWrapperConnection { var _arg1 *C.GIOStream // out var _arg2 *C.GSocket // out @@ -82896,7 +81128,6 @@ func NewTCPWrapperConnection(baseIoStream IOStreamer, socket *Socket) *TCPWrappe // The function returns the following values: // // - ioStream conn's base OStream. -// func (conn *TCPWrapperConnection) BaseIOStream() IOStreamer { var _arg0 *C.GTcpWrapperConnection // out var _cret *C.GIOStream // in @@ -82955,18 +81186,18 @@ func (conn *TCPWrapperConnection) BaseIOStream() IOStreamer { // achieve this by adding a file such as my-server.service.in in the services // directory and have it processed by configure. // -// [D-BUS Service] -// Name=org.gtk.GDBus.Examples.ObjectManager -// Exec=abs_top_builddir@/gio/tests/gdbus-example-objectmanager-server +// [D-BUS Service] +// Name=org.gtk.GDBus.Examples.ObjectManager +// Exec=abs_top_builddir@/gio/tests/gdbus-example-objectmanager-server // // You will also need to indicate this service directory in your test fixtures, // so you will need to pass the path while compiling your test cases. Typically // this is done with autotools with an added preprocessor flag specified to // compile your tests such as: // -// -DTEST_SERVICES=\""$(abs_top_builddir)/tests/services"\" +// -DTEST_SERVICES=\""$(abs_top_builddir)/tests/services"\" // -// Once you have a service definition file which is local to your source tree, +// Once you have a service definition file which is local to your source tree, // // you can proceed to set up a GTest fixture using the DBus scaffolding. // @@ -82995,10 +81226,10 @@ func (conn *TCPWrapperConnection) BaseIOStream() IOStreamer { // test cases, an autotools setup might do the following in the directory // holding schemas: // -// all-am: -// $(GLIB_COMPILE_SCHEMAS) . +// all-am: +// $(GLIB_COMPILE_SCHEMAS) . // -// CLEANFILES += gschemas.compiled. +// CLEANFILES += gschemas.compiled. type TestDBus struct { _ [0]func() // equal guard *coreglib.Object @@ -83027,7 +81258,6 @@ func marshalTestDBus(p uintptr) (interface{}, error) { // The function returns the following values: // // - testDBus: new DBus. -// func NewTestDBus(flags TestDBusFlags) *TestDBus { var _arg1 C.GTestDBusFlags // out var _cret *C.GTestDBus // in @@ -83050,7 +81280,6 @@ func NewTestDBus(flags TestDBusFlags) *TestDBus { // The function takes the following parameters: // // - path to a directory containing .service files. -// func (self *TestDBus) AddServiceDir(path string) { var _arg0 *C.GTestDBus // out var _arg1 *C.gchar // out @@ -83085,7 +81314,6 @@ func (self *TestDBus) Down() { // The function returns the following values: // // - utf8 (optional) address of the bus, or NULL. -// func (self *TestDBus) BusAddress() string { var _arg0 *C.GTestDBus // out var _cret *C.gchar // in @@ -83109,7 +81337,6 @@ func (self *TestDBus) BusAddress() string { // The function returns the following values: // // - testDBusFlags: value of DBus:flags property. -// func (self *TestDBus) Flags() TestDBusFlags { var _arg0 *C.GTestDBus // out var _cret C.GTestDBusFlags // in @@ -83207,7 +81434,6 @@ func marshalThemedIcon(p uintptr) (interface{}, error) { // The function returns the following values: // // - themedIcon: new Icon. -// func NewThemedIcon(iconname string) *ThemedIcon { var _arg1 *C.char // out var _cret *C.GIcon // in @@ -83234,7 +81460,6 @@ func NewThemedIcon(iconname string) *ThemedIcon { // The function returns the following values: // // - themedIcon: new Icon. -// func NewThemedIconFromNames(iconnames []string) *ThemedIcon { var _arg1 **C.char // out var _arg2 C.int @@ -83266,15 +81491,15 @@ func NewThemedIconFromNames(iconnames []string) *ThemedIcon { // // In the following example, icon1 and icon2 are equivalent: // -// const char *names[] = { -// "gnome-dev-cdrom-audio", -// "gnome-dev-cdrom", -// "gnome-dev", -// "gnome" -// }; +// const char *names[] = { +// "gnome-dev-cdrom-audio", +// "gnome-dev-cdrom", +// "gnome-dev", +// "gnome" +// }; // -// icon1 = g_themed_icon_new_from_names (names, 4); -// icon2 = g_themed_icon_new_with_default_fallbacks ("gnome-dev-cdrom-audio");. +// icon1 = g_themed_icon_new_from_names (names, 4); +// icon2 = g_themed_icon_new_with_default_fallbacks ("gnome-dev-cdrom-audio");. // // The function takes the following parameters: // @@ -83283,7 +81508,6 @@ func NewThemedIconFromNames(iconnames []string) *ThemedIcon { // The function returns the following values: // // - themedIcon: new Icon. -// func NewThemedIconWithDefaultFallbacks(iconname string) *ThemedIcon { var _arg1 *C.char // out var _cret *C.GIcon // in @@ -83309,7 +81533,6 @@ func NewThemedIconWithDefaultFallbacks(iconname string) *ThemedIcon { // The function takes the following parameters: // // - iconname: name of icon to append to list of icons from within icon. -// func (icon *ThemedIcon) AppendName(iconname string) { var _arg0 *C.GThemedIcon // out var _arg1 *C.char // out @@ -83328,7 +81551,6 @@ func (icon *ThemedIcon) AppendName(iconname string) { // The function returns the following values: // // - utf8s: list of icon names. -// func (icon *ThemedIcon) Names() []string { var _arg0 *C.GThemedIcon // out var _cret **C.gchar // in @@ -83365,7 +81587,6 @@ func (icon *ThemedIcon) Names() []string { // The function takes the following parameters: // // - iconname: name of icon to prepend to list of icons from within icon. -// func (icon *ThemedIcon) PrependName(iconname string) { var _arg0 *C.GThemedIcon // out var _arg1 *C.char // out @@ -83385,7 +81606,6 @@ type ThreadedSocketServiceOverrides struct { // // - connection // - sourceObject - // Run func(connection *SocketConnection, sourceObject *coreglib.Object) bool } @@ -83472,7 +81692,6 @@ func (v *ThreadedSocketService) ConnectRun(f func(connection *SocketConnection, // The function returns the following values: // // - threadedSocketService: new Service. -// func NewThreadedSocketService(maxThreads int) *ThreadedSocketService { var _arg1 C.int // out var _cret *C.GSocketService // in @@ -83493,7 +81712,6 @@ func NewThreadedSocketService(maxThreads int) *ThreadedSocketService { // // - connection // - sourceObject -// func (service *ThreadedSocketService) run(connection *SocketConnection, sourceObject *coreglib.Object) bool { gclass := (*C.GThreadedSocketServiceClass)(coreglib.PeekParentClass(service)) fnarg := gclass.run @@ -83549,7 +81767,6 @@ type TLSCertificateOverrides struct { // The function returns the following values: // // - tlsCertificateFlags: appropriate CertificateFlags. - // Verify func(identity SocketConnectabler, trustedCa TLSCertificater) TLSCertificateFlags } @@ -83643,7 +81860,6 @@ func BaseTLSCertificate(obj TLSCertificater) *TLSCertificate { // The function returns the following values: // // - tlsCertificate: new certificate, or NULL on error. -// func NewTLSCertificateFromFile(file string) (*TLSCertificate, error) { var _arg1 *C.gchar // out var _cret *C.GTlsCertificate // in @@ -83686,7 +81902,6 @@ func NewTLSCertificateFromFile(file string) (*TLSCertificate, error) { // The function returns the following values: // // - tlsCertificate: new certificate, or NULL on error. -// func NewTLSCertificateFromFiles(certFile, keyFile string) (*TLSCertificate, error) { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -83735,7 +81950,6 @@ func NewTLSCertificateFromFiles(certFile, keyFile string) (*TLSCertificate, erro // The function returns the following values: // // - tlsCertificate: new certificate, or NULL if data is invalid. -// func NewTLSCertificateFromPem(data string, length int) (*TLSCertificate, error) { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -83768,15 +81982,15 @@ func NewTLSCertificateFromPem(data string, length int) (*TLSCertificate, error) // // Where the token’s layout is: // -// Object 0: -// URL: pkcs11:model=Model;manufacturer=Manufacture;serial=1;token=My20Client20Certificate;id=01;object=private20key;type=private -// Type: Private key (RSA-2048) -// ID: 01 +// Object 0: +// URL: pkcs11:model=Model;manufacturer=Manufacture;serial=1;token=My20Client20Certificate;id=01;object=private20key;type=private +// Type: Private key (RSA-2048) +// ID: 01 // -// Object 1: -// URL: pkcs11:model=Model;manufacturer=Manufacture;serial=1;token=My20Client20Certificate;id=01;object=Certificate20for20Authentication;type=cert -// Type: X.509 Certificate (RSA-2048) -// ID: 01 +// Object 1: +// URL: pkcs11:model=Model;manufacturer=Manufacture;serial=1;token=My20Client20Certificate;id=01;object=Certificate20for20Authentication;type=cert +// Type: X.509 Certificate (RSA-2048) +// ID: 01 // // In this case the certificate and private key would both be detected and used // as expected. pkcs_uri may also just reference an X.509 certificate object and @@ -83794,7 +82008,6 @@ func NewTLSCertificateFromPem(data string, length int) (*TLSCertificate, error) // The function returns the following values: // // - tlsCertificate: new certificate, or NULL on error. -// func NewTLSCertificateFromPKCS11URIs(pkcs11Uri, privateKeyPkcs11Uri string) (*TLSCertificate, error) { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -83829,7 +82042,6 @@ func NewTLSCertificateFromPKCS11URIs(pkcs11Uri, privateKeyPkcs11Uri string) (*TL // // - tlsCertificate (optional): certificate of cert's issuer, or NULL if cert // is self-signed or signed with an unknown certificate. -// func (cert *TLSCertificate) Issuer() TLSCertificater { var _arg0 *C.GTlsCertificate // out var _cret *C.GTlsCertificate // in @@ -83874,7 +82086,6 @@ func (cert *TLSCertificate) Issuer() TLSCertificater { // The function returns the following values: // // - ok: whether the same or not. -// func (certOne *TLSCertificate) IsSame(certTwo TLSCertificater) bool { var _arg0 *C.GTlsCertificate // out var _arg1 *C.GTlsCertificate // out @@ -83921,7 +82132,6 @@ func (certOne *TLSCertificate) IsSame(certTwo TLSCertificater) bool { // The function returns the following values: // // - tlsCertificateFlags: appropriate CertificateFlags. -// func (cert *TLSCertificate) Verify(identity SocketConnectabler, trustedCa TLSCertificater) TLSCertificateFlags { var _arg0 *C.GTlsCertificate // out var _arg1 *C.GSocketConnectable // out @@ -83973,7 +82183,6 @@ func (cert *TLSCertificate) Verify(identity SocketConnectabler, trustedCa TLSCer // The function returns the following values: // // - tlsCertificateFlags: appropriate CertificateFlags. -// func (cert *TLSCertificate) verify(identity SocketConnectabler, trustedCa TLSCertificater) TLSCertificateFlags { gclass := (*C.GTlsCertificateClass)(coreglib.PeekParentClass(cert)) fnarg := gclass.verify @@ -84016,7 +82225,6 @@ func (cert *TLSCertificate) verify(identity SocketConnectabler, trustedCa TLSCer // // - list: a #GList containing Certificate objects. You must free the list and // its contents when you are done with it. -// func TLSCertificateListNewFromFile(file string) ([]TLSCertificater, error) { var _arg1 *C.gchar // out var _cret *C.GList // in @@ -84067,13 +82275,11 @@ type TLSConnectionOverrides struct { // // - peerCert // - errors - // AcceptCertificate func(peerCert TLSCertificater, errors TLSCertificateFlags) bool // The function takes the following parameters: // // - typ // - data - // BindingData func(typ TLSChannelBindingType, data []byte) error // Handshake attempts a TLS handshake on conn. // @@ -84107,7 +82313,6 @@ type TLSConnectionOverrides struct { // The function takes the following parameters: // // - ctx (optional) or NULL. - // Handshake func(ctx context.Context) error // HandshakeFinish: finish an asynchronous TLS handshake operation. // See g_tls_connection_handshake() for more information. @@ -84115,7 +82320,6 @@ type TLSConnectionOverrides struct { // The function takes the following parameters: // // - result: Result. - // HandshakeFinish func(result AsyncResulter) error } @@ -84254,7 +82458,6 @@ func (conn *TLSConnection) ConnectAcceptCertificate(f func(peerCert TLSCertifica // // - ok: TRUE if one of the signal handlers has returned TRUE to accept // peer_cert. -// func (conn *TLSConnection) EmitAcceptCertificate(peerCert TLSCertificater, errors TLSCertificateFlags) bool { var _arg0 *C.GTlsConnection // out var _arg1 *C.GTlsCertificate // out @@ -84285,7 +82488,6 @@ func (conn *TLSConnection) EmitAcceptCertificate(peerCert TLSCertificater, error // The function returns the following values: // // - tlsCertificate (optional) conn's certificate, or NULL. -// func (conn *TLSConnection) Certificate() TLSCertificater { var _arg0 *C.GTlsConnection // out var _cret *C.GTlsCertificate // in @@ -84338,7 +82540,6 @@ func (conn *TLSConnection) Certificate() TLSCertificater { // The function returns the following values: // // - data (optional) is filled with the binding data, or NULL. -// func (conn *TLSConnection) ChannelBindingData(typ TLSChannelBindingType) ([]byte, error) { var _arg0 *C.GTlsConnection // out var _arg1 C.GTlsChannelBindingType // out @@ -84370,7 +82571,6 @@ func (conn *TLSConnection) ChannelBindingData(typ TLSChannelBindingType) ([]byte // The function returns the following values: // // - tlsDatabase (optional): certificate database that conn uses or NULL. -// func (conn *TLSConnection) Database() TLSDatabaser { var _arg0 *C.GTlsConnection // out var _cret *C.GTlsDatabase // in @@ -84409,7 +82609,6 @@ func (conn *TLSConnection) Database() TLSDatabaser { // The function returns the following values: // // - tlsInteraction (optional): interaction object. -// func (conn *TLSConnection) Interaction() *TLSInteraction { var _arg0 *C.GTlsConnection // out var _cret *C.GTlsInteraction // in @@ -84439,7 +82638,6 @@ func (conn *TLSConnection) Interaction() *TLSInteraction { // The function returns the following values: // // - utf8 (optional): negotiated protocol, or NULL. -// func (conn *TLSConnection) NegotiatedProtocol() string { var _arg0 *C.GTlsConnection // out var _cret *C.gchar // in @@ -84465,7 +82663,6 @@ func (conn *TLSConnection) NegotiatedProtocol() string { // The function returns the following values: // // - tlsCertificate (optional) conn's peer's certificate, or NULL. -// func (conn *TLSConnection) PeerCertificate() TLSCertificater { var _arg0 *C.GTlsConnection // out var _cret *C.GTlsCertificate // in @@ -84504,7 +82701,6 @@ func (conn *TLSConnection) PeerCertificate() TLSCertificater { // The function returns the following values: // // - tlsCertificateFlags conn's peer's certificate errors. -// func (conn *TLSConnection) PeerCertificateErrors() TLSCertificateFlags { var _arg0 *C.GTlsConnection // out var _cret C.GTlsCertificateFlags // in @@ -84531,7 +82727,6 @@ func (conn *TLSConnection) PeerCertificateErrors() TLSCertificateFlags { // The function returns the following values: // // - tlsRehandshakeMode: G_TLS_REHANDSHAKE_SAFELY. -// func (conn *TLSConnection) RehandshakeMode() TLSRehandshakeMode { var _arg0 *C.GTlsConnection // out var _cret C.GTlsRehandshakeMode // in @@ -84555,7 +82750,6 @@ func (conn *TLSConnection) RehandshakeMode() TLSRehandshakeMode { // The function returns the following values: // // - ok: TRUE if conn requires a proper TLS close notification. -// func (conn *TLSConnection) RequireCloseNotify() bool { var _arg0 *C.GTlsConnection // out var _cret C.gboolean // in @@ -84582,7 +82776,6 @@ func (conn *TLSConnection) RequireCloseNotify() bool { // The function returns the following values: // // - ok: whether conn uses the system certificate database. -// func (conn *TLSConnection) UseSystemCertDB() bool { var _arg0 *C.GTlsConnection // out var _cret C.gboolean // in @@ -84632,7 +82825,6 @@ func (conn *TLSConnection) UseSystemCertDB() bool { // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (conn *TLSConnection) Handshake(ctx context.Context) error { var _arg0 *C.GTlsConnection // out var _arg1 *C.GCancellable // out @@ -84666,7 +82858,6 @@ func (conn *TLSConnection) Handshake(ctx context.Context) error { // - ctx (optional) or NULL. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the handshake is complete. -// func (conn *TLSConnection) HandshakeAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { var _arg0 *C.GTlsConnection // out var _arg2 *C.GCancellable // out @@ -84699,7 +82890,6 @@ func (conn *TLSConnection) HandshakeAsync(ctx context.Context, ioPriority int, c // The function takes the following parameters: // // - result: Result. -// func (conn *TLSConnection) HandshakeFinish(result AsyncResulter) error { var _arg0 *C.GTlsConnection // out var _arg1 *C.GAsyncResult // out @@ -84737,7 +82927,6 @@ func (conn *TLSConnection) HandshakeFinish(result AsyncResulter) error { // // - protocols (optional): NULL-terminated array of ALPN protocol names (eg, // "http/1.1", "h2"), or NULL. -// func (conn *TLSConnection) SetAdvertisedProtocols(protocols []string) { var _arg0 *C.GTlsConnection // out var _arg1 **C.gchar // out @@ -84781,7 +82970,6 @@ func (conn *TLSConnection) SetAdvertisedProtocols(protocols []string) { // The function takes the following parameters: // // - certificate to use for conn. -// func (conn *TLSConnection) SetCertificate(certificate TLSCertificater) { var _arg0 *C.GTlsConnection // out var _arg1 *C.GTlsCertificate // out @@ -84805,7 +82993,6 @@ func (conn *TLSConnection) SetCertificate(certificate TLSCertificater) { // The function takes the following parameters: // // - database (optional): Database. -// func (conn *TLSConnection) SetDatabase(database TLSDatabaser) { var _arg0 *C.GTlsConnection // out var _arg1 *C.GTlsDatabase // out @@ -84830,7 +83017,6 @@ func (conn *TLSConnection) SetDatabase(database TLSDatabaser) { // The function takes the following parameters: // // - interaction (optional) object, or NULL. -// func (conn *TLSConnection) SetInteraction(interaction *TLSInteraction) { var _arg0 *C.GTlsConnection // out var _arg1 *C.GTlsInteraction // out @@ -84857,7 +83043,6 @@ func (conn *TLSConnection) SetInteraction(interaction *TLSInteraction) { // The function takes the following parameters: // // - mode: rehandshaking mode. -// func (conn *TLSConnection) SetRehandshakeMode(mode TLSRehandshakeMode) { var _arg0 *C.GTlsConnection // out var _arg1 C.GTlsRehandshakeMode // out @@ -84899,7 +83084,6 @@ func (conn *TLSConnection) SetRehandshakeMode(mode TLSRehandshakeMode) { // The function takes the following parameters: // // - requireCloseNotify: whether or not to require close notification. -// func (conn *TLSConnection) SetRequireCloseNotify(requireCloseNotify bool) { var _arg0 *C.GTlsConnection // out var _arg1 C.gboolean // out @@ -84926,7 +83110,6 @@ func (conn *TLSConnection) SetRequireCloseNotify(requireCloseNotify bool) { // The function takes the following parameters: // // - useSystemCertdb: whether to use the system certificate database. -// func (conn *TLSConnection) SetUseSystemCertDB(useSystemCertdb bool) { var _arg0 *C.GTlsConnection // out var _arg1 C.gboolean // out @@ -84945,7 +83128,6 @@ func (conn *TLSConnection) SetUseSystemCertDB(useSystemCertdb bool) { // // - peerCert // - errors -// func (connection *TLSConnection) acceptCertificate(peerCert TLSCertificater, errors TLSCertificateFlags) bool { gclass := (*C.GTlsConnectionClass)(coreglib.PeekParentClass(connection)) fnarg := gclass.accept_certificate @@ -84977,7 +83159,6 @@ func (connection *TLSConnection) acceptCertificate(peerCert TLSCertificater, err // // - typ // - data -// func (conn *TLSConnection) bindingData(typ TLSChannelBindingType, data []byte) error { gclass := (*C.GTlsConnectionClass)(coreglib.PeekParentClass(conn)) fnarg := gclass.get_binding_data @@ -85040,7 +83221,6 @@ func (conn *TLSConnection) bindingData(typ TLSChannelBindingType, data []byte) e // The function takes the following parameters: // // - ctx (optional) or NULL. -// func (conn *TLSConnection) handshake(ctx context.Context) error { gclass := (*C.GTlsConnectionClass)(coreglib.PeekParentClass(conn)) fnarg := gclass.handshake @@ -85077,7 +83257,6 @@ func (conn *TLSConnection) handshake(ctx context.Context) error { // - ctx (optional) or NULL. // - ioPriority: [I/O priority][io-priority] of the request. // - callback (optional) to call when the handshake is complete. -// func (conn *TLSConnection) handshakeAsync(ctx context.Context, ioPriority int, callback AsyncReadyCallback) { gclass := (*C.GTlsConnectionClass)(coreglib.PeekParentClass(conn)) fnarg := gclass.handshake_async @@ -85113,7 +83292,6 @@ func (conn *TLSConnection) handshakeAsync(ctx context.Context, ioPriority int, c // The function takes the following parameters: // // - result: Result. -// func (conn *TLSConnection) handshakeFinish(result AsyncResulter) error { gclass := (*C.GTlsConnectionClass)(coreglib.PeekParentClass(conn)) fnarg := gclass.handshake_finish @@ -85156,7 +83334,6 @@ type TLSDatabaseOverrides struct { // The function returns the following values: // // - utf8 (optional): newly allocated string containing the handle. - // CreateCertificateHandle func(certificate TLSCertificater) string // LookupCertificateForHandle: look up a certificate by its handle. // @@ -85183,7 +83360,6 @@ type TLSDatabaseOverrides struct { // // - tlsCertificate (optional): newly allocated Certificate, or NULL. // Use g_object_unref() to release the certificate. - // LookupCertificateForHandle func(ctx context.Context, handle string, interaction *TLSInteraction, flags TLSDatabaseLookupFlags) (TLSCertificater, error) // LookupCertificateForHandleFinish: finish an // asynchronous lookup of a certificate by its handle. See @@ -85200,7 +83376,6 @@ type TLSDatabaseOverrides struct { // // - tlsCertificate: newly allocated Certificate object. Use // g_object_unref() to release the certificate. - // LookupCertificateForHandleFinish func(result AsyncResulter) (TLSCertificater, error) // LookupCertificateIssuer: look up the issuer of certificate in the // database. @@ -85223,7 +83398,6 @@ type TLSDatabaseOverrides struct { // // - tlsCertificate: newly allocated issuer Certificate, or NULL. // Use g_object_unref() to release the certificate. - // LookupCertificateIssuer func(ctx context.Context, certificate TLSCertificater, interaction *TLSInteraction, flags TLSDatabaseLookupFlags) (TLSCertificater, error) // LookupCertificateIssuerFinish: finish an asynchronous lookup issuer // operation. See g_tls_database_lookup_certificate_issuer() for more @@ -85237,7 +83411,6 @@ type TLSDatabaseOverrides struct { // // - tlsCertificate: newly allocated issuer Certificate, or NULL. // Use g_object_unref() to release the certificate. - // LookupCertificateIssuerFinish func(result AsyncResulter) (TLSCertificater, error) // LookupCertificatesIssuedBy: look up certificates issued by this issuer in // the database. @@ -85258,7 +83431,6 @@ type TLSDatabaseOverrides struct { // - list: newly allocated list of Certificate objects. Use // g_object_unref() on each certificate, and g_list_free() on the // release the list. - // LookupCertificatesIssuedBy func(ctx context.Context, issuerRawDn []byte, interaction *TLSInteraction, flags TLSDatabaseLookupFlags) ([]TLSCertificater, error) // LookupCertificatesIssuedByFinish: finish an asynchronous lookup of // certificates. See g_tls_database_lookup_certificates_issued_by() for more @@ -85273,7 +83445,6 @@ type TLSDatabaseOverrides struct { // - list: newly allocated list of Certificate objects. Use // g_object_unref() on each certificate, and g_list_free() on the // release the list. - // LookupCertificatesIssuedByFinish func(result AsyncResulter) ([]TLSCertificater, error) // VerifyChain determines the validity of a certificate chain after looking // up and adding any missing certificates to the chain. @@ -85325,7 +83496,6 @@ type TLSDatabaseOverrides struct { // // - tlsCertificateFlags: appropriate CertificateFlags which represents // the result of verification. - // VerifyChain func(ctx context.Context, chain TLSCertificater, purpose string, identity SocketConnectabler, interaction *TLSInteraction, flags TLSDatabaseVerifyFlags) (TLSCertificateFlags, error) // VerifyChainFinish: finish an asynchronous verify chain operation. // See g_tls_database_verify_chain() for more information. @@ -85346,7 +83516,6 @@ type TLSDatabaseOverrides struct { // // - tlsCertificateFlags: appropriate CertificateFlags which represents // the result of verification. - // VerifyChainFinish func(result AsyncResulter) (TLSCertificateFlags, error) } @@ -85482,7 +83651,6 @@ func BaseTLSDatabase(obj TLSDatabaser) *TLSDatabase { // The function returns the following values: // // - utf8 (optional): newly allocated string containing the handle. -// func (self *TLSDatabase) CreateCertificateHandle(certificate TLSCertificater) string { var _arg0 *C.GTlsDatabase // out var _arg1 *C.GTlsCertificate // out @@ -85530,7 +83698,6 @@ func (self *TLSDatabase) CreateCertificateHandle(certificate TLSCertificater) st // // - tlsCertificate (optional): newly allocated Certificate, or NULL. // Use g_object_unref() to release the certificate. -// func (self *TLSDatabase) LookupCertificateForHandle(ctx context.Context, handle string, interaction *TLSInteraction, flags TLSDatabaseLookupFlags) (TLSCertificater, error) { var _arg0 *C.GTlsDatabase // out var _arg4 *C.GCancellable // out @@ -85597,7 +83764,6 @@ func (self *TLSDatabase) LookupCertificateForHandle(ctx context.Context, handle // - interaction (optional): used to interact with the user if necessary. // - flags flags which affect the lookup. // - callback (optional) to call when the operation completes. -// func (self *TLSDatabase) LookupCertificateForHandleAsync(ctx context.Context, handle string, interaction *TLSInteraction, flags TLSDatabaseLookupFlags, callback AsyncReadyCallback) { var _arg0 *C.GTlsDatabase // out var _arg4 *C.GCancellable // out @@ -85648,7 +83814,6 @@ func (self *TLSDatabase) LookupCertificateForHandleAsync(ctx context.Context, ha // // - tlsCertificate: newly allocated Certificate object. Use g_object_unref() // to release the certificate. -// func (self *TLSDatabase) LookupCertificateForHandleFinish(result AsyncResulter) (TLSCertificater, error) { var _arg0 *C.GTlsDatabase // out var _arg1 *C.GAsyncResult // out @@ -85708,7 +83873,6 @@ func (self *TLSDatabase) LookupCertificateForHandleFinish(result AsyncResulter) // // - tlsCertificate: newly allocated issuer Certificate, or NULL. Use // g_object_unref() to release the certificate. -// func (self *TLSDatabase) LookupCertificateIssuer(ctx context.Context, certificate TLSCertificater, interaction *TLSInteraction, flags TLSDatabaseLookupFlags) (TLSCertificater, error) { var _arg0 *C.GTlsDatabase // out var _arg4 *C.GCancellable // out @@ -85775,7 +83939,6 @@ func (self *TLSDatabase) LookupCertificateIssuer(ctx context.Context, certificat // - interaction (optional): used to interact with the user if necessary. // - flags which affect the lookup operation. // - callback (optional) to call when the operation completes. -// func (self *TLSDatabase) LookupCertificateIssuerAsync(ctx context.Context, certificate TLSCertificater, interaction *TLSInteraction, flags TLSDatabaseLookupFlags, callback AsyncReadyCallback) { var _arg0 *C.GTlsDatabase // out var _arg4 *C.GCancellable // out @@ -85822,7 +83985,6 @@ func (self *TLSDatabase) LookupCertificateIssuerAsync(ctx context.Context, certi // // - tlsCertificate: newly allocated issuer Certificate, or NULL. Use // g_object_unref() to release the certificate. -// func (self *TLSDatabase) LookupCertificateIssuerFinish(result AsyncResulter) (TLSCertificater, error) { var _arg0 *C.GTlsDatabase // out var _arg1 *C.GAsyncResult // out @@ -85881,7 +84043,6 @@ func (self *TLSDatabase) LookupCertificateIssuerFinish(result AsyncResulter) (TL // // - list: newly allocated list of Certificate objects. Use g_object_unref() // on each certificate, and g_list_free() on the release the list. -// func (self *TLSDatabase) LookupCertificatesIssuedBy(ctx context.Context, issuerRawDn []byte, interaction *TLSInteraction, flags TLSDatabaseLookupFlags) ([]TLSCertificater, error) { var _arg0 *C.GTlsDatabase // out var _arg4 *C.GCancellable // out @@ -85962,7 +84123,6 @@ func (self *TLSDatabase) LookupCertificatesIssuedBy(ctx context.Context, issuerR // - interaction (optional): used to interact with the user if necessary. // - flags flags which affect the lookup operation. // - callback (optional) to call when the operation completes. -// func (self *TLSDatabase) LookupCertificatesIssuedByAsync(ctx context.Context, issuerRawDn []byte, interaction *TLSInteraction, flags TLSDatabaseLookupFlags, callback AsyncReadyCallback) { var _arg0 *C.GTlsDatabase // out var _arg4 *C.GCancellable // out @@ -86013,7 +84173,6 @@ func (self *TLSDatabase) LookupCertificatesIssuedByAsync(ctx context.Context, is // // - list: newly allocated list of Certificate objects. Use g_object_unref() // on each certificate, and g_list_free() on the release the list. -// func (self *TLSDatabase) LookupCertificatesIssuedByFinish(result AsyncResulter) ([]TLSCertificater, error) { var _arg0 *C.GTlsDatabase // out var _arg1 *C.GAsyncResult // out @@ -86108,7 +84267,6 @@ func (self *TLSDatabase) LookupCertificatesIssuedByFinish(result AsyncResulter) // // - tlsCertificateFlags: appropriate CertificateFlags which represents the // result of verification. -// func (self *TLSDatabase) VerifyChain(ctx context.Context, chain TLSCertificater, purpose string, identity SocketConnectabler, interaction *TLSInteraction, flags TLSDatabaseVerifyFlags) (TLSCertificateFlags, error) { var _arg0 *C.GTlsDatabase // out var _arg6 *C.GCancellable // out @@ -86170,7 +84328,6 @@ func (self *TLSDatabase) VerifyChain(ctx context.Context, chain TLSCertificater, // - interaction (optional): used to interact with the user if necessary. // - flags: additional verify flags. // - callback (optional) to call when the operation completes. -// func (self *TLSDatabase) VerifyChainAsync(ctx context.Context, chain TLSCertificater, purpose string, identity SocketConnectabler, interaction *TLSInteraction, flags TLSDatabaseVerifyFlags, callback AsyncReadyCallback) { var _arg0 *C.GTlsDatabase // out var _arg6 *C.GCancellable // out @@ -86232,7 +84389,6 @@ func (self *TLSDatabase) VerifyChainAsync(ctx context.Context, chain TLSCertific // // - tlsCertificateFlags: appropriate CertificateFlags which represents the // result of verification. -// func (self *TLSDatabase) VerifyChainFinish(result AsyncResulter) (TLSCertificateFlags, error) { var _arg0 *C.GTlsDatabase // out var _arg1 *C.GAsyncResult // out @@ -86273,7 +84429,6 @@ func (self *TLSDatabase) VerifyChainFinish(result AsyncResulter) (TLSCertificate // The function returns the following values: // // - utf8 (optional): newly allocated string containing the handle. -// func (self *TLSDatabase) createCertificateHandle(certificate TLSCertificater) string { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.create_certificate_handle @@ -86324,7 +84479,6 @@ func (self *TLSDatabase) createCertificateHandle(certificate TLSCertificater) st // // - tlsCertificate (optional): newly allocated Certificate, or NULL. // Use g_object_unref() to release the certificate. -// func (self *TLSDatabase) lookupCertificateForHandle(ctx context.Context, handle string, interaction *TLSInteraction, flags TLSDatabaseLookupFlags) (TLSCertificater, error) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.lookup_certificate_for_handle @@ -86394,7 +84548,6 @@ func (self *TLSDatabase) lookupCertificateForHandle(ctx context.Context, handle // - interaction (optional): used to interact with the user if necessary. // - flags flags which affect the lookup. // - callback (optional) to call when the operation completes. -// func (self *TLSDatabase) lookupCertificateForHandleAsync(ctx context.Context, handle string, interaction *TLSInteraction, flags TLSDatabaseLookupFlags, callback AsyncReadyCallback) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.lookup_certificate_for_handle_async @@ -86448,7 +84601,6 @@ func (self *TLSDatabase) lookupCertificateForHandleAsync(ctx context.Context, ha // // - tlsCertificate: newly allocated Certificate object. Use g_object_unref() // to release the certificate. -// func (self *TLSDatabase) lookupCertificateForHandleFinish(result AsyncResulter) (TLSCertificater, error) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.lookup_certificate_for_handle_finish @@ -86511,7 +84663,6 @@ func (self *TLSDatabase) lookupCertificateForHandleFinish(result AsyncResulter) // // - tlsCertificate: newly allocated issuer Certificate, or NULL. Use // g_object_unref() to release the certificate. -// func (self *TLSDatabase) lookupCertificateIssuer(ctx context.Context, certificate TLSCertificater, interaction *TLSInteraction, flags TLSDatabaseLookupFlags) (TLSCertificater, error) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.lookup_certificate_issuer @@ -86581,7 +84732,6 @@ func (self *TLSDatabase) lookupCertificateIssuer(ctx context.Context, certificat // - interaction (optional): used to interact with the user if necessary. // - flags which affect the lookup operation. // - callback (optional) to call when the operation completes. -// func (self *TLSDatabase) lookupCertificateIssuerAsync(ctx context.Context, certificate TLSCertificater, interaction *TLSInteraction, flags TLSDatabaseLookupFlags, callback AsyncReadyCallback) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.lookup_certificate_issuer_async @@ -86631,7 +84781,6 @@ func (self *TLSDatabase) lookupCertificateIssuerAsync(ctx context.Context, certi // // - tlsCertificate: newly allocated issuer Certificate, or NULL. Use // g_object_unref() to release the certificate. -// func (self *TLSDatabase) lookupCertificateIssuerFinish(result AsyncResulter) (TLSCertificater, error) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.lookup_certificate_issuer_finish @@ -86693,7 +84842,6 @@ func (self *TLSDatabase) lookupCertificateIssuerFinish(result AsyncResulter) (TL // // - list: newly allocated list of Certificate objects. Use g_object_unref() // on each certificate, and g_list_free() on the release the list. -// func (self *TLSDatabase) lookupCertificatesIssuedBy(ctx context.Context, issuerRawDn []byte, interaction *TLSInteraction, flags TLSDatabaseLookupFlags) ([]TLSCertificater, error) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.lookup_certificates_issued_by @@ -86777,7 +84925,6 @@ func (self *TLSDatabase) lookupCertificatesIssuedBy(ctx context.Context, issuerR // - interaction (optional): used to interact with the user if necessary. // - flags flags which affect the lookup operation. // - callback (optional) to call when the operation completes. -// func (self *TLSDatabase) lookupCertificatesIssuedByAsync(ctx context.Context, issuerRawDn []byte, interaction *TLSInteraction, flags TLSDatabaseLookupFlags, callback AsyncReadyCallback) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.lookup_certificates_issued_by_async @@ -86831,7 +84978,6 @@ func (self *TLSDatabase) lookupCertificatesIssuedByAsync(ctx context.Context, is // // - list: newly allocated list of Certificate objects. Use g_object_unref() // on each certificate, and g_list_free() on the release the list. -// func (self *TLSDatabase) lookupCertificatesIssuedByFinish(result AsyncResulter) ([]TLSCertificater, error) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.lookup_certificates_issued_by_finish @@ -86929,7 +85075,6 @@ func (self *TLSDatabase) lookupCertificatesIssuedByFinish(result AsyncResulter) // // - tlsCertificateFlags: appropriate CertificateFlags which represents the // result of verification. -// func (self *TLSDatabase) verifyChain(ctx context.Context, chain TLSCertificater, purpose string, identity SocketConnectabler, interaction *TLSInteraction, flags TLSDatabaseVerifyFlags) (TLSCertificateFlags, error) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.verify_chain @@ -86994,7 +85139,6 @@ func (self *TLSDatabase) verifyChain(ctx context.Context, chain TLSCertificater, // - interaction (optional): used to interact with the user if necessary. // - flags: additional verify flags. // - callback (optional) to call when the operation completes. -// func (self *TLSDatabase) verifyChainAsync(ctx context.Context, chain TLSCertificater, purpose string, identity SocketConnectabler, interaction *TLSInteraction, flags TLSDatabaseVerifyFlags, callback AsyncReadyCallback) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.verify_chain_async @@ -87059,7 +85203,6 @@ func (self *TLSDatabase) verifyChainAsync(ctx context.Context, chain TLSCertific // // - tlsCertificateFlags: appropriate CertificateFlags which represents the // result of verification. -// func (self *TLSDatabase) verifyChainFinish(result AsyncResulter) (TLSCertificateFlags, error) { gclass := (*C.GTlsDatabaseClass)(coreglib.PeekParentClass(self)) fnarg := gclass.verify_chain_finish @@ -87111,7 +85254,6 @@ type TLSInteractionOverrides struct { // The function returns the following values: // // - tlsInteractionResult status of the ask password interaction. - // AskPassword func(ctx context.Context, password *TLSPassword) (TLSInteractionResult, error) // AskPasswordFinish: complete an ask password user interaction request. // This should be once the g_tls_interaction_ask_password_async() completion @@ -87131,7 +85273,6 @@ type TLSInteractionOverrides struct { // The function returns the following values: // // - tlsInteractionResult status of the ask password interaction. - // AskPasswordFinish func(result AsyncResulter) (TLSInteractionResult, error) // RequestCertificate: run synchronous interaction to ask the user // to choose a certificate to use with the connection. In general, @@ -87161,7 +85302,6 @@ type TLSInteractionOverrides struct { // The function returns the following values: // // - tlsInteractionResult status of the request certificate interaction. - // RequestCertificate func(ctx context.Context, connection TLSConnectioner, flags TLSCertificateRequestFlags) (TLSInteractionResult, error) // RequestCertificateFinish: complete a request certificate // user interaction request. This should be once the @@ -87183,7 +85323,6 @@ type TLSInteractionOverrides struct { // The function returns the following values: // // - tlsInteractionResult status of the request certificate interaction. - // RequestCertificateFinish func(result AsyncResulter) (TLSInteractionResult, error) } @@ -87290,7 +85429,6 @@ func marshalTLSInteraction(p uintptr) (interface{}, error) { // The function returns the following values: // // - tlsInteractionResult status of the ask password interaction. -// func (interaction *TLSInteraction) AskPassword(ctx context.Context, password *TLSPassword) (TLSInteractionResult, error) { var _arg0 *C.GTlsInteraction // out var _arg2 *C.GCancellable // out @@ -87343,7 +85481,6 @@ func (interaction *TLSInteraction) AskPassword(ctx context.Context, password *TL // - ctx (optional): optional #GCancellable cancellation object. // - password: Password object. // - callback (optional) will be called when the interaction completes. -// func (interaction *TLSInteraction) AskPasswordAsync(ctx context.Context, password *TLSPassword, callback AsyncReadyCallback) { var _arg0 *C.GTlsInteraction // out var _arg2 *C.GCancellable // out @@ -87388,7 +85525,6 @@ func (interaction *TLSInteraction) AskPasswordAsync(ctx context.Context, passwor // The function returns the following values: // // - tlsInteractionResult status of the ask password interaction. -// func (interaction *TLSInteraction) AskPasswordFinish(result AsyncResulter) (TLSInteractionResult, error) { var _arg0 *C.GTlsInteraction // out var _arg1 *C.GAsyncResult // out @@ -87440,7 +85576,6 @@ func (interaction *TLSInteraction) AskPasswordFinish(result AsyncResulter) (TLSI // The function returns the following values: // // - tlsInteractionResult status of the ask password interaction. -// func (interaction *TLSInteraction) InvokeAskPassword(ctx context.Context, password *TLSPassword) (TLSInteractionResult, error) { var _arg0 *C.GTlsInteraction // out var _arg2 *C.GCancellable // out @@ -87502,7 +85637,6 @@ func (interaction *TLSInteraction) InvokeAskPassword(ctx context.Context, passwo // The function returns the following values: // // - tlsInteractionResult status of the certificate request interaction. -// func (interaction *TLSInteraction) InvokeRequestCertificate(ctx context.Context, connection TLSConnectioner, flags TLSCertificateRequestFlags) (TLSInteractionResult, error) { var _arg0 *C.GTlsInteraction // out var _arg3 *C.GCancellable // out @@ -87565,7 +85699,6 @@ func (interaction *TLSInteraction) InvokeRequestCertificate(ctx context.Context, // The function returns the following values: // // - tlsInteractionResult status of the request certificate interaction. -// func (interaction *TLSInteraction) RequestCertificate(ctx context.Context, connection TLSConnectioner, flags TLSCertificateRequestFlags) (TLSInteractionResult, error) { var _arg0 *C.GTlsInteraction // out var _arg3 *C.GCancellable // out @@ -87616,7 +85749,6 @@ func (interaction *TLSInteraction) RequestCertificate(ctx context.Context, conne // - connection: Connection object. // - flags providing more information about the request. // - callback (optional) will be called when the interaction completes. -// func (interaction *TLSInteraction) RequestCertificateAsync(ctx context.Context, connection TLSConnectioner, flags TLSCertificateRequestFlags, callback AsyncReadyCallback) { var _arg0 *C.GTlsInteraction // out var _arg3 *C.GCancellable // out @@ -87665,7 +85797,6 @@ func (interaction *TLSInteraction) RequestCertificateAsync(ctx context.Context, // The function returns the following values: // // - tlsInteractionResult status of the request certificate interaction. -// func (interaction *TLSInteraction) RequestCertificateFinish(result AsyncResulter) (TLSInteractionResult, error) { var _arg0 *C.GTlsInteraction // out var _arg1 *C.GAsyncResult // out @@ -87712,7 +85843,6 @@ func (interaction *TLSInteraction) RequestCertificateFinish(result AsyncResulter // The function returns the following values: // // - tlsInteractionResult status of the ask password interaction. -// func (interaction *TLSInteraction) askPassword(ctx context.Context, password *TLSPassword) (TLSInteractionResult, error) { gclass := (*C.GTlsInteractionClass)(coreglib.PeekParentClass(interaction)) fnarg := gclass.ask_password @@ -87768,7 +85898,6 @@ func (interaction *TLSInteraction) askPassword(ctx context.Context, password *TL // - ctx (optional): optional #GCancellable cancellation object. // - password: Password object. // - callback (optional) will be called when the interaction completes. -// func (interaction *TLSInteraction) askPasswordAsync(ctx context.Context, password *TLSPassword, callback AsyncReadyCallback) { gclass := (*C.GTlsInteractionClass)(coreglib.PeekParentClass(interaction)) fnarg := gclass.ask_password_async @@ -87816,7 +85945,6 @@ func (interaction *TLSInteraction) askPasswordAsync(ctx context.Context, passwor // The function returns the following values: // // - tlsInteractionResult status of the ask password interaction. -// func (interaction *TLSInteraction) askPasswordFinish(result AsyncResulter) (TLSInteractionResult, error) { gclass := (*C.GTlsInteractionClass)(coreglib.PeekParentClass(interaction)) fnarg := gclass.ask_password_finish @@ -87872,7 +86000,6 @@ func (interaction *TLSInteraction) askPasswordFinish(result AsyncResulter) (TLSI // The function returns the following values: // // - tlsInteractionResult status of the request certificate interaction. -// func (interaction *TLSInteraction) requestCertificate(ctx context.Context, connection TLSConnectioner, flags TLSCertificateRequestFlags) (TLSInteractionResult, error) { gclass := (*C.GTlsInteractionClass)(coreglib.PeekParentClass(interaction)) fnarg := gclass.request_certificate @@ -87926,7 +86053,6 @@ func (interaction *TLSInteraction) requestCertificate(ctx context.Context, conne // - connection: Connection object. // - flags providing more information about the request. // - callback (optional) will be called when the interaction completes. -// func (interaction *TLSInteraction) requestCertificateAsync(ctx context.Context, connection TLSConnectioner, flags TLSCertificateRequestFlags, callback AsyncReadyCallback) { gclass := (*C.GTlsInteractionClass)(coreglib.PeekParentClass(interaction)) fnarg := gclass.request_certificate_async @@ -87978,7 +86104,6 @@ func (interaction *TLSInteraction) requestCertificateAsync(ctx context.Context, // The function returns the following values: // // - tlsInteractionResult status of the request certificate interaction. -// func (interaction *TLSInteraction) requestCertificateFinish(result AsyncResulter) (TLSInteractionResult, error) { gclass := (*C.GTlsInteractionClass)(coreglib.PeekParentClass(interaction)) fnarg := gclass.request_certificate_finish @@ -88021,7 +86146,6 @@ type TLSPasswordOverrides struct { // The function returns the following values: // // - guint8: password value (owned by the password object). - // Value func(length *uint) *byte } @@ -88088,7 +86212,6 @@ func marshalTLSPassword(p uintptr) (interface{}, error) { // The function returns the following values: // // - tlsPassword: newly allocated password object. -// func NewTLSPassword(flags TLSPasswordFlags, description string) *TLSPassword { var _arg1 C.GTlsPasswordFlags // out var _arg2 *C.gchar // out @@ -88115,7 +86238,6 @@ func NewTLSPassword(flags TLSPasswordFlags, description string) *TLSPassword { // The function returns the following values: // // - utf8: description of the password. -// func (password *TLSPassword) Description() string { var _arg0 *C.GTlsPassword // out var _cret *C.gchar // in @@ -88137,7 +86259,6 @@ func (password *TLSPassword) Description() string { // The function returns the following values: // // - tlsPasswordFlags flags about the password. -// func (password *TLSPassword) Flags() TLSPasswordFlags { var _arg0 *C.GTlsPassword // out var _cret C.GTlsPasswordFlags // in @@ -88166,7 +86287,6 @@ func (password *TLSPassword) Flags() TLSPasswordFlags { // The function returns the following values: // // - guint8: password value (owned by the password object). -// func (password *TLSPassword) Value(length *uint) *byte { var _arg0 *C.GTlsPassword // out var _arg1 *C.gsize // out @@ -88195,7 +86315,6 @@ func (password *TLSPassword) Value(length *uint) *byte { // The function returns the following values: // // - utf8: warning. -// func (password *TLSPassword) Warning() string { var _arg0 *C.GTlsPassword // out var _cret *C.gchar // in @@ -88218,7 +86337,6 @@ func (password *TLSPassword) Warning() string { // The function takes the following parameters: // // - description of the password. -// func (password *TLSPassword) SetDescription(description string) { var _arg0 *C.GTlsPassword // out var _arg1 *C.gchar // out @@ -88237,7 +86355,6 @@ func (password *TLSPassword) SetDescription(description string) { // The function takes the following parameters: // // - flags about the password. -// func (password *TLSPassword) SetFlags(flags TLSPasswordFlags) { var _arg0 *C.GTlsPassword // out var _arg1 C.GTlsPasswordFlags // out @@ -88261,7 +86378,6 @@ func (password *TLSPassword) SetFlags(flags TLSPasswordFlags) { // The function takes the following parameters: // // - value: new password value. -// func (password *TLSPassword) SetValue(value []byte) { var _arg0 *C.GTlsPassword // out var _arg1 *C.guchar // out @@ -88285,7 +86401,6 @@ func (password *TLSPassword) SetValue(value []byte) { // The function takes the following parameters: // // - warning: user readable warning. -// func (password *TLSPassword) SetWarning(warning string) { var _arg0 *C.GTlsPassword // out var _arg1 *C.gchar // out @@ -88330,7 +86445,6 @@ func (password *TLSPassword) defaultWarning() string { // The function returns the following values: // // - guint8: password value (owned by the password object). -// func (password *TLSPassword) value(length *uint) *byte { gclass := (*C.GTlsPasswordClass)(coreglib.PeekParentClass(password)) fnarg := gclass.get_value @@ -88367,7 +86481,6 @@ type VFSOverrides struct { // The function returns the following values: // // - file: #GFile. Free the returned object with g_object_unref(). - // FileForPath func(path string) *File // FileForURI gets a #GFile for uri. // @@ -88382,7 +86495,6 @@ type VFSOverrides struct { // The function returns the following values: // // - file: #GFile. Free the returned object with g_object_unref(). - // FileForURI func(uri string) *File // SupportedURISchemes gets a list of URI schemes supported by vfs. // @@ -88390,7 +86502,6 @@ type VFSOverrides struct { // // - utf8s: NULL-terminated array of strings. The returned array belongs // to GIO and must not be freed or modified. - // SupportedURISchemes func() []string // IsActive checks if the VFS is active. // @@ -88398,13 +86509,11 @@ type VFSOverrides struct { // // - ok: TRUE if construction of the vfs was successful and it is now // active. - // IsActive func() bool // The function takes the following parameters: // // - source // - dest - // LocalFileMoved func(source, dest string) LocalFileRemoved func(filename string) // The function takes the following parameters: @@ -88413,7 +86522,6 @@ type VFSOverrides struct { // - filename // - info // - flags - // LocalFileSetAttributes func(ctx context.Context, filename string, info *FileInfo, flags FileQueryInfoFlags) error // ParseName: this operation never fails, but the returned object might // not support any I/O operations if the parse_name cannot be parsed by the @@ -88427,7 +86535,6 @@ type VFSOverrides struct { // // - file for the given parse_name. Free the returned object with // g_object_unref(). - // ParseName func(parseName string) *File } @@ -88528,7 +86635,6 @@ func marshalVFS(p uintptr) (interface{}, error) { // The function returns the following values: // // - file: #GFile. Free the returned object with g_object_unref(). -// func (vfs *VFS) FileForPath(path string) *File { var _arg0 *C.GVfs // out var _arg1 *C.char // out @@ -88561,7 +86667,6 @@ func (vfs *VFS) FileForPath(path string) *File { // The function returns the following values: // // - file: #GFile. Free the returned object with g_object_unref(). -// func (vfs *VFS) FileForURI(uri string) *File { var _arg0 *C.GVfs // out var _arg1 *C.char // out @@ -88588,7 +86693,6 @@ func (vfs *VFS) FileForURI(uri string) *File { // // - utf8s: NULL-terminated array of strings. The returned array belongs to // GIO and must not be freed or modified. -// func (vfs *VFS) SupportedURISchemes() []string { var _arg0 *C.GVfs // out var _cret **C.gchar // in @@ -88622,7 +86726,6 @@ func (vfs *VFS) SupportedURISchemes() []string { // The function returns the following values: // // - ok: TRUE if construction of the vfs was successful and it is now active. -// func (vfs *VFS) IsActive() bool { var _arg0 *C.GVfs // out var _cret C.gboolean // in @@ -88653,7 +86756,6 @@ func (vfs *VFS) IsActive() bool { // // - file for the given parse_name. Free the returned object with // g_object_unref(). -// func (vfs *VFS) ParseName(parseName string) *File { var _arg0 *C.GVfs // out var _arg1 *C.char // out @@ -88705,7 +86807,6 @@ func (vfs *VFS) ParseName(parseName string) *File { // // - ok: TRUE if scheme was successfully registered, or FALSE if a handler for // scheme already exists. -// func (vfs *VFS) RegisterURIScheme(scheme string, uriFunc, parseNameFunc VFSFileLookupFunc) bool { var _arg0 *C.GVfs // out var _arg1 *C.char // out @@ -88757,7 +86858,6 @@ func (vfs *VFS) RegisterURIScheme(scheme string, uriFunc, parseNameFunc VFSFileL // // - ok: TRUE if scheme was successfully unregistered, or FALSE if a handler // for scheme does not exist. -// func (vfs *VFS) UnregisterURIScheme(scheme string) bool { var _arg0 *C.GVfs // out var _arg1 *C.char // out @@ -88804,7 +86904,6 @@ func (vfs *VFS) addWritableNamespaces(list *FileAttributeInfoList) { // The function returns the following values: // // - file: #GFile. Free the returned object with g_object_unref(). -// func (vfs *VFS) fileForPath(path string) *File { gclass := (*C.GVfsClass)(coreglib.PeekParentClass(vfs)) fnarg := gclass.get_file_for_path @@ -88840,7 +86939,6 @@ func (vfs *VFS) fileForPath(path string) *File { // The function returns the following values: // // - file: #GFile. Free the returned object with g_object_unref(). -// func (vfs *VFS) fileForURI(uri string) *File { gclass := (*C.GVfsClass)(coreglib.PeekParentClass(vfs)) fnarg := gclass.get_file_for_uri @@ -88870,7 +86968,6 @@ func (vfs *VFS) fileForURI(uri string) *File { // // - utf8s: NULL-terminated array of strings. The returned array belongs to // GIO and must not be freed or modified. -// func (vfs *VFS) supportedURISchemes() []string { gclass := (*C.GVfsClass)(coreglib.PeekParentClass(vfs)) fnarg := gclass.get_supported_uri_schemes @@ -88907,7 +87004,6 @@ func (vfs *VFS) supportedURISchemes() []string { // The function returns the following values: // // - ok: TRUE if construction of the vfs was successful and it is now active. -// func (vfs *VFS) isActive() bool { gclass := (*C.GVfsClass)(coreglib.PeekParentClass(vfs)) fnarg := gclass.is_active @@ -88933,7 +87029,6 @@ func (vfs *VFS) isActive() bool { // // - source // - dest -// func (vfs *VFS) localFileMoved(source, dest string) { gclass := (*C.GVfsClass)(coreglib.PeekParentClass(vfs)) fnarg := gclass.local_file_moved @@ -88976,7 +87071,6 @@ func (vfs *VFS) localFileRemoved(filename string) { // - filename // - info // - flags -// func (vfs *VFS) localFileSetAttributes(ctx context.Context, filename string, info *FileInfo, flags FileQueryInfoFlags) error { gclass := (*C.GVfsClass)(coreglib.PeekParentClass(vfs)) fnarg := gclass.local_file_set_attributes @@ -89027,7 +87121,6 @@ func (vfs *VFS) localFileSetAttributes(ctx context.Context, filename string, inf // // - file for the given parse_name. Free the returned object with // g_object_unref(). -// func (vfs *VFS) parseName(parseName string) *File { gclass := (*C.GVfsClass)(coreglib.PeekParentClass(vfs)) fnarg := gclass.parse_name @@ -89057,7 +87150,6 @@ func (vfs *VFS) parseName(parseName string) *File { // // - vfs which will be the local file system #GVfs if no other implementation // is available. -// func VFSGetDefault() *VFS { var _cret *C.GVfs // in @@ -89075,7 +87167,6 @@ func VFSGetDefault() *VFS { // The function returns the following values: // // - vfs: #GVfs. -// func VFSGetLocal() *VFS { var _cret *C.GVfs // in @@ -89103,7 +87194,6 @@ type VolumeMonitorOverrides struct { // The function returns the following values: // // - list of connected #GDrive objects. - // ConnectedDrives func() []*Drive // MountForUUID finds a #GMount object by its UUID (see g_mount_get_uuid()). // @@ -89115,7 +87205,6 @@ type VolumeMonitorOverrides struct { // // - mount (optional) or NULL if no such mount is available. Free the // returned object with g_object_unref(). - // MountForUUID func(uuid string) *Mount // Mounts gets a list of the mounts on the system. // @@ -89125,7 +87214,6 @@ type VolumeMonitorOverrides struct { // The function returns the following values: // // - list of #GMount objects. - // Mounts func() []*Mount // VolumeForUUID finds a #GVolume object by its UUID (see // g_volume_get_uuid()). @@ -89138,7 +87226,6 @@ type VolumeMonitorOverrides struct { // // - volume (optional) or NULL if no such volume is available. Free the // returned object with g_object_unref(). - // VolumeForUUID func(uuid string) *Volume // Volumes gets a list of the volumes on the system. // @@ -89148,7 +87235,6 @@ type VolumeMonitorOverrides struct { // The function returns the following values: // // - list of #GVolume objects. - // Volumes func() []*Volume MountAdded func(mount Mounter) MountChanged func(mount Mounter) @@ -89369,7 +87455,6 @@ func (volumeMonitor *VolumeMonitor) ConnectVolumeRemoved(f func(volume Volumer)) // The function returns the following values: // // - list of connected #GDrive objects. -// func (volumeMonitor *VolumeMonitor) ConnectedDrives() []*Drive { var _arg0 *C.GVolumeMonitor // out var _cret *C.GList // in @@ -89402,7 +87487,6 @@ func (volumeMonitor *VolumeMonitor) ConnectedDrives() []*Drive { // // - mount (optional) or NULL if no such mount is available. Free the returned // object with g_object_unref(). -// func (volumeMonitor *VolumeMonitor) MountForUUID(uuid string) *Mount { var _arg0 *C.GVolumeMonitor // out var _arg1 *C.char // out @@ -89433,7 +87517,6 @@ func (volumeMonitor *VolumeMonitor) MountForUUID(uuid string) *Mount { // The function returns the following values: // // - list of #GMount objects. -// func (volumeMonitor *VolumeMonitor) Mounts() []*Mount { var _arg0 *C.GVolumeMonitor // out var _cret *C.GList // in @@ -89466,7 +87549,6 @@ func (volumeMonitor *VolumeMonitor) Mounts() []*Mount { // // - volume (optional) or NULL if no such volume is available. Free the // returned object with g_object_unref(). -// func (volumeMonitor *VolumeMonitor) VolumeForUUID(uuid string) *Volume { var _arg0 *C.GVolumeMonitor // out var _arg1 *C.char // out @@ -89497,7 +87579,6 @@ func (volumeMonitor *VolumeMonitor) VolumeForUUID(uuid string) *Volume { // The function returns the following values: // // - list of #GVolume objects. -// func (volumeMonitor *VolumeMonitor) Volumes() []*Volume { var _arg0 *C.GVolumeMonitor // out var _cret *C.GList // in @@ -89603,7 +87684,6 @@ func (volumeMonitor *VolumeMonitor) driveStopButton(drive Driver) { // The function returns the following values: // // - list of connected #GDrive objects. -// func (volumeMonitor *VolumeMonitor) connectedDrives() []*Drive { gclass := (*C.GVolumeMonitorClass)(coreglib.PeekParentClass(volumeMonitor)) fnarg := gclass.get_connected_drives @@ -89639,7 +87719,6 @@ func (volumeMonitor *VolumeMonitor) connectedDrives() []*Drive { // // - mount (optional) or NULL if no such mount is available. Free the returned // object with g_object_unref(). -// func (volumeMonitor *VolumeMonitor) mountForUUID(uuid string) *Mount { gclass := (*C.GVolumeMonitorClass)(coreglib.PeekParentClass(volumeMonitor)) fnarg := gclass.get_mount_for_uuid @@ -89673,7 +87752,6 @@ func (volumeMonitor *VolumeMonitor) mountForUUID(uuid string) *Mount { // The function returns the following values: // // - list of #GMount objects. -// func (volumeMonitor *VolumeMonitor) mounts() []*Mount { gclass := (*C.GVolumeMonitorClass)(coreglib.PeekParentClass(volumeMonitor)) fnarg := gclass.get_mounts @@ -89709,7 +87787,6 @@ func (volumeMonitor *VolumeMonitor) mounts() []*Mount { // // - volume (optional) or NULL if no such volume is available. Free the // returned object with g_object_unref(). -// func (volumeMonitor *VolumeMonitor) volumeForUUID(uuid string) *Volume { gclass := (*C.GVolumeMonitorClass)(coreglib.PeekParentClass(volumeMonitor)) fnarg := gclass.get_volume_for_uuid @@ -89743,7 +87820,6 @@ func (volumeMonitor *VolumeMonitor) volumeForUUID(uuid string) *Volume { // The function returns the following values: // // - list of #GVolume objects. -// func (volumeMonitor *VolumeMonitor) volumes() []*Volume { gclass := (*C.GVolumeMonitorClass)(coreglib.PeekParentClass(volumeMonitor)) fnarg := gclass.get_volumes @@ -89916,7 +87992,6 @@ func (volumeMonitor *VolumeMonitor) volumeRemoved(volume Volumer) { // // - volume object that is the parent for mount or NULL if no wants to adopt // the #GMount. -// func VolumeMonitorAdoptOrphanMount(mount Mounter) *Volume { var _arg1 *C.GMount // out var _cret *C.GVolume // in @@ -89939,7 +88014,6 @@ func VolumeMonitorAdoptOrphanMount(mount Mounter) *Volume { // // - volumeMonitor: reference to the Monitor used by gio. Call // g_object_unref() when done with it. -// func VolumeMonitorGet() *VolumeMonitor { var _cret *C.GVolumeMonitor // in @@ -90011,7 +88085,6 @@ func marshalZlibCompressor(p uintptr) (interface{}, error) { // The function returns the following values: // // - zlibCompressor: new Compressor. -// func NewZlibCompressor(format ZlibCompressorFormat, level int) *ZlibCompressor { var _arg1 C.GZlibCompressorFormat // out var _arg2 C.int // out @@ -90036,7 +88109,6 @@ func NewZlibCompressor(format ZlibCompressorFormat, level int) *ZlibCompressor { // The function returns the following values: // // - fileInfo (optional) or NULL. -// func (compressor *ZlibCompressor) FileInfo() *FileInfo { var _arg0 *C.GZlibCompressor // out var _cret *C.GFileInfo // in @@ -90067,7 +88139,6 @@ func (compressor *ZlibCompressor) FileInfo() *FileInfo { // The function takes the following parameters: // // - fileInfo (optional): Info. -// func (compressor *ZlibCompressor) SetFileInfo(fileInfo *FileInfo) { var _arg0 *C.GZlibCompressor // out var _arg1 *C.GFileInfo // out @@ -90140,7 +88211,6 @@ func marshalZlibDecompressor(p uintptr) (interface{}, error) { // The function returns the following values: // // - zlibDecompressor: new Decompressor. -// func NewZlibDecompressor(format ZlibCompressorFormat) *ZlibDecompressor { var _arg1 C.GZlibCompressorFormat // out var _cret *C.GZlibDecompressor // in @@ -90166,7 +88236,6 @@ func NewZlibDecompressor(format ZlibCompressorFormat) *ZlibDecompressor { // The function returns the following values: // // - fileInfo (optional) or NULL. -// func (decompressor *ZlibDecompressor) FileInfo() *FileInfo { var _arg0 *C.GZlibDecompressor // out var _cret *C.GFileInfo // in @@ -90535,7 +88604,6 @@ func (d *DBusAnnotationInfo) SetRefCount(refCount int) { // // - utf8 (optional): value or NULL if not found. Do not free, it is owned by // annotations. -// func DBusAnnotationInfoLookup(annotations []*DBusAnnotationInfo, name string) string { var _arg1 **C.GDBusAnnotationInfo // out var _arg2 *C.gchar // out @@ -90886,7 +88954,6 @@ func (info *DBusInterfaceInfo) CacheRelease() { // // - dBusMethodInfo (optional) or NULL if not found. Do not free, it is owned // by info. -// func (info *DBusInterfaceInfo) LookupMethod(name string) *DBusMethodInfo { var _arg0 *C.GDBusInterfaceInfo // out var _arg1 *C.gchar // out @@ -90929,7 +88996,6 @@ func (info *DBusInterfaceInfo) LookupMethod(name string) *DBusMethodInfo { // // - dBusPropertyInfo (optional) or NULL if not found. Do not free, it is // owned by info. -// func (info *DBusInterfaceInfo) LookupProperty(name string) *DBusPropertyInfo { var _arg0 *C.GDBusInterfaceInfo // out var _arg1 *C.gchar // out @@ -90972,7 +89038,6 @@ func (info *DBusInterfaceInfo) LookupProperty(name string) *DBusPropertyInfo { // // - dBusSignalInfo (optional) or NULL if not found. Do not free, it is owned // by info. -// func (info *DBusInterfaceInfo) LookupSignal(name string) *DBusSignalInfo { var _arg0 *C.GDBusInterfaceInfo // out var _arg1 *C.gchar // out @@ -91350,7 +89415,6 @@ func (d *DBusNodeInfo) SetRefCount(refCount int) { // // - dBusInterfaceInfo (optional) or NULL if not found. Do not free, it is // owned by info. -// func (info *DBusNodeInfo) LookupInterface(name string) *DBusInterfaceInfo { var _arg0 *C.GDBusNodeInfo // out var _arg1 *C.gchar // out @@ -91866,7 +89930,6 @@ func (f *FileAttributeInfoList) SetNInfos(nInfos int) { // - name of the attribute to add. // - typ for the attribute. // - flags for the attribute. -// func (list *FileAttributeInfoList) Add(name string, typ FileAttributeType, flags FileAttributeInfoFlags) { var _arg0 *C.GFileAttributeInfoList // out var _arg1 *C.char // out @@ -91891,7 +89954,6 @@ func (list *FileAttributeInfoList) Add(name string, typ FileAttributeType, flags // The function returns the following values: // // - fileAttributeInfoList: copy of the given list. -// func (list *FileAttributeInfoList) Dup() *FileAttributeInfoList { var _arg0 *C.GFileAttributeInfoList // out var _cret *C.GFileAttributeInfoList // in @@ -91923,7 +89985,6 @@ func (list *FileAttributeInfoList) Dup() *FileAttributeInfoList { // The function returns the following values: // // - fileAttributeInfo for the name, or NULL if an attribute isn't found. -// func (list *FileAttributeInfoList) Lookup(name string) *FileAttributeInfo { var _arg0 *C.GFileAttributeInfoList // out var _arg1 *C.char // out @@ -92000,7 +90061,6 @@ func NewFileAttributeMatcher(attributes string) *FileAttributeMatcher { // // - ok: TRUE if the matcher matches all of the entries in the given ns, // FALSE otherwise. -// func (matcher *FileAttributeMatcher) EnumerateNamespace(ns string) bool { var _arg0 *C.GFileAttributeMatcher // out var _arg1 *C.char // out @@ -92029,7 +90089,6 @@ func (matcher *FileAttributeMatcher) EnumerateNamespace(ns string) bool { // // - utf8 (optional): string containing the next attribute or, NULL if no more // attribute exist. -// func (matcher *FileAttributeMatcher) EnumerateNext() string { var _arg0 *C.GFileAttributeMatcher // out var _cret *C.char // in @@ -92059,7 +90118,6 @@ func (matcher *FileAttributeMatcher) EnumerateNext() string { // The function returns the following values: // // - ok: TRUE if attribute matches matcher. FALSE otherwise. -// func (matcher *FileAttributeMatcher) Matches(attribute string) bool { var _arg0 *C.GFileAttributeMatcher // out var _arg1 *C.char // out @@ -92092,7 +90150,6 @@ func (matcher *FileAttributeMatcher) Matches(attribute string) bool { // The function returns the following values: // // - ok: TRUE if the matcher only matches attribute. FALSE otherwise. -// func (matcher *FileAttributeMatcher) MatchesOnly(attribute string) bool { var _arg0 *C.GFileAttributeMatcher // out var _arg1 *C.char // out @@ -92131,7 +90188,6 @@ func (matcher *FileAttributeMatcher) MatchesOnly(attribute string) bool { // // - fileAttributeMatcher (optional): file attribute matcher matching all // attributes of matcher that are not matched by subtract. -// func (matcher *FileAttributeMatcher) Subtract(subtract *FileAttributeMatcher) *FileAttributeMatcher { var _arg0 *C.GFileAttributeMatcher // out var _arg1 *C.GFileAttributeMatcher // out @@ -92172,7 +90228,6 @@ func (matcher *FileAttributeMatcher) Subtract(subtract *FileAttributeMatcher) *F // // - utf8: string describing the attributes the matcher matches against or // NULL if matcher was NULL. -// func (matcher *FileAttributeMatcher) String() string { var _arg0 *C.GFileAttributeMatcher // out var _cret *C.char // in @@ -92950,22 +91005,22 @@ type resolverClass struct { // // An example resource description: // -// -// -// -// data/splashscreen.png -// dialog.ui -// menumarkup.xml -// data/example.css -// -// +// +// +// +// data/splashscreen.png +// dialog.ui +// menumarkup.xml +// data/example.css +// +// // // This will create a resource bundle with the following files: // -// /org/gtk/Example/data/splashscreen.png -// /org/gtk/Example/dialog.ui -// /org/gtk/Example/menumarkup.xml -// /org/gtk/Example/example.css +// /org/gtk/Example/data/splashscreen.png +// /org/gtk/Example/dialog.ui +// /org/gtk/Example/menumarkup.xml +// /org/gtk/Example/example.css // // Note that all resources in the process share the same namespace, so use // Java-style path prefixes (like in the above example) to avoid conflicts. @@ -93018,7 +91073,7 @@ type resolverClass struct { // // A substitution has the form // -// /org/gtk/libgtk=/home/desrt/gtk-overlay +// /org/gtk/libgtk=/home/desrt/gtk-overlay // // The part before the = is the resource subpath for which the overlay applies. // The part after is a filesystem path which contains files and subdirectories @@ -93096,7 +91151,6 @@ func NewResourceFromData(data *glib.Bytes) (*Resource, error) { // The function returns the following values: // // - utf8s: array of constant strings. -// func (resource *Resource) EnumerateChildren(path string, lookupFlags ResourceLookupFlags) ([]string, error) { var _arg0 *C.GResource // out var _arg1 *C.char // out @@ -93155,7 +91209,6 @@ func (resource *Resource) EnumerateChildren(path string, lookupFlags ResourceLoo // file, or NULL if the length is not needed. // - flags (optional): location to place the flags about the file, or NULL if // the length is not needed. -// func (resource *Resource) Info(path string, lookupFlags ResourceLookupFlags) (uint, uint32, error) { var _arg0 *C.GResource // out var _arg1 *C.char // out @@ -93208,7 +91261,6 @@ func (resource *Resource) Info(path string, lookupFlags ResourceLookupFlags) (ui // The function returns the following values: // // - bytes or NULL on error. Free the returned object with g_bytes_unref(). -// func (resource *Resource) LookupData(path string, lookupFlags ResourceLookupFlags) (*glib.Bytes, error) { var _arg0 *C.GResource // out var _arg1 *C.char // out @@ -93257,7 +91309,6 @@ func (resource *Resource) LookupData(path string, lookupFlags ResourceLookupFlag // // - inputStream or NULL on error. Free the returned object with // g_object_unref(). -// func (resource *Resource) OpenStream(path string, lookupFlags ResourceLookupFlags) (InputStreamer, error) { var _arg0 *C.GResource // out var _arg1 *C.char // out @@ -93319,7 +91370,6 @@ func (resource *Resource) OpenStream(path string, lookupFlags ResourceLookupFlag // The function returns the following values: // // - resource: new #GResource, or NULL on error. -// func ResourceLoad(filename string) (*Resource, error) { var _arg1 *C.gchar // out var _cret *C.GResource // in @@ -93398,14 +91448,14 @@ func (s *SettingsClass) Padding() [20]unsafe.Pointer { // // Consider the following example: // -// { -// GSettings *settings; -// gint some_value; +// { +// GSettings *settings; +// gint some_value; // -// settings = plugin_get_settings (self, NULL); -// some_value = g_settings_get_int (settings, "some-value"); -// ... -// } +// settings = plugin_get_settings (self, NULL); +// some_value = g_settings_get_int (settings, "some-value"); +// ... +// } // // It's also possible that the plugin system expects the schema source files // (ie: .gschema.xml files) instead of a gschemas.compiled file. In that case, @@ -93432,7 +91482,6 @@ func marshalSettingsSchema(p uintptr) (interface{}, error) { // The function returns the following values: // // - utf8: ID. -// func (schema *SettingsSchema) ID() string { var _arg0 *C.GSettingsSchema // out var _cret *C.gchar // in @@ -93461,7 +91510,6 @@ func (schema *SettingsSchema) ID() string { // The function returns the following values: // // - settingsSchemaKey for name. -// func (schema *SettingsSchema) Key(name string) *SettingsSchemaKey { var _arg0 *C.GSettingsSchema // out var _arg1 *C.gchar // out @@ -93501,7 +91549,6 @@ func (schema *SettingsSchema) Key(name string) *SettingsSchemaKey { // The function returns the following values: // // - utf8 (optional): path of the schema, or NULL. -// func (schema *SettingsSchema) Path() string { var _arg0 *C.GSettingsSchema // out var _cret *C.gchar // in @@ -93529,7 +91576,6 @@ func (schema *SettingsSchema) Path() string { // The function returns the following values: // // - ok: TRUE if such a key exists. -// func (schema *SettingsSchema) HasKey(name string) bool { var _arg0 *C.GSettingsSchema // out var _arg1 *C.gchar // out @@ -93559,7 +91605,6 @@ func (schema *SettingsSchema) HasKey(name string) bool { // The function returns the following values: // // - utf8s: list of the children on settings, in no defined order. -// func (schema *SettingsSchema) ListChildren() []string { var _arg0 *C.GSettingsSchema // out var _cret **C.gchar // in @@ -93599,7 +91644,6 @@ func (schema *SettingsSchema) ListChildren() []string { // The function returns the following values: // // - utf8s: list of the keys on schema, in no defined order. -// func (schema *SettingsSchema) ListKeys() []string { var _arg0 *C.GSettingsSchema // out var _cret **C.gchar // in @@ -93656,7 +91700,6 @@ func marshalSettingsSchemaKey(p uintptr) (interface{}, error) { // The function returns the following values: // // - variant: default value for the key. -// func (key *SettingsSchemaKey) DefaultValue() *glib.Variant { var _arg0 *C.GSettingsSchemaKey // out var _cret *C.GVariant // in @@ -93695,7 +91738,6 @@ func (key *SettingsSchemaKey) DefaultValue() *glib.Variant { // The function returns the following values: // // - utf8 (optional): description for key, or NULL. -// func (key *SettingsSchemaKey) Description() string { var _arg0 *C.GSettingsSchemaKey // out var _cret *C.gchar // in @@ -93719,7 +91761,6 @@ func (key *SettingsSchemaKey) Description() string { // The function returns the following values: // // - utf8: name of key. -// func (key *SettingsSchemaKey) Name() string { var _arg0 *C.GSettingsSchemaKey // out var _cret *C.gchar // in @@ -93774,7 +91815,6 @@ func (key *SettingsSchemaKey) Name() string { // The function returns the following values: // // - variant describing the range. -// func (key *SettingsSchemaKey) Range() *glib.Variant { var _arg0 *C.GSettingsSchemaKey // out var _cret *C.GVariant // in @@ -93812,7 +91852,6 @@ func (key *SettingsSchemaKey) Range() *glib.Variant { // The function returns the following values: // // - utf8 (optional): summary for key, or NULL. -// func (key *SettingsSchemaKey) Summary() string { var _arg0 *C.GSettingsSchemaKey // out var _cret *C.gchar // in @@ -93836,7 +91875,6 @@ func (key *SettingsSchemaKey) Summary() string { // The function returns the following values: // // - variantType: type of key. -// func (key *SettingsSchemaKey) ValueType() *glib.VariantType { var _arg0 *C.GSettingsSchemaKey // out var _cret *C.GVariantType // in @@ -93866,7 +91904,6 @@ func (key *SettingsSchemaKey) ValueType() *glib.VariantType { // The function returns the following values: // // - ok: TRUE if value is valid for key. -// func (key *SettingsSchemaKey) RangeCheck(value *glib.Variant) bool { var _arg0 *C.GSettingsSchemaKey // out var _arg1 *C.GVariant // out @@ -93965,7 +92002,6 @@ func NewSettingsSchemaSourceFromDirectory(directory string, parent *SettingsSche // // - nonRelocatable: the list of non-relocatable schemas, in no defined order. // - relocatable: list of relocatable schemas, in no defined order. -// func (source *SettingsSchemaSource) ListSchemas(recursive bool) (nonRelocatable []string, relocatable []string) { var _arg0 *C.GSettingsSchemaSource // out var _arg1 C.gboolean // out @@ -94037,7 +92073,6 @@ func (source *SettingsSchemaSource) ListSchemas(recursive bool) (nonRelocatable // The function returns the following values: // // - settingsSchema (optional): new Schema. -// func (source *SettingsSchemaSource) Lookup(schemaId string, recursive bool) *SettingsSchema { var _arg0 *C.GSettingsSchemaSource // out var _arg1 *C.gchar // out @@ -94087,7 +92122,6 @@ func (source *SettingsSchemaSource) Lookup(schemaId string, recursive bool) *Set // The function returns the following values: // // - settingsSchemaSource (optional): default schema source. -// func SettingsSchemaSourceGetDefault() *SettingsSchemaSource { var _cret *C.GSettingsSchemaSource // in @@ -94311,7 +92345,6 @@ func NewSrvTarget(hostname string, port uint16, priority uint16, weight uint16) // The function returns the following values: // // - srvTarget: copy of target. -// func (target *SrvTarget) Copy() *SrvTarget { var _arg0 *C.GSrvTarget // out var _cret *C.GSrvTarget // in @@ -94342,7 +92375,6 @@ func (target *SrvTarget) Copy() *SrvTarget { // The function returns the following values: // // - utf8 target's hostname. -// func (target *SrvTarget) Hostname() string { var _arg0 *C.GSrvTarget // out var _cret *C.gchar // in @@ -94364,7 +92396,6 @@ func (target *SrvTarget) Hostname() string { // The function returns the following values: // // - guint16 target's port. -// func (target *SrvTarget) Port() uint16 { var _arg0 *C.GSrvTarget // out var _cret C.guint16 // in @@ -94387,7 +92418,6 @@ func (target *SrvTarget) Port() uint16 { // The function returns the following values: // // - guint16 target's priority. -// func (target *SrvTarget) Priority() uint16 { var _arg0 *C.GSrvTarget // out var _cret C.guint16 // in @@ -94410,7 +92440,6 @@ func (target *SrvTarget) Priority() uint16 { // The function returns the following values: // // - guint16 target's weight. -// func (target *SrvTarget) Weight() uint16 { var _arg0 *C.GSrvTarget // out var _cret C.guint16 // in @@ -94464,7 +92493,6 @@ func (staticResource *StaticResource) Fini() { // The function returns the following values: // // - resource: #GResource. -// func (staticResource *StaticResource) Resource() *Resource { var _arg0 *C.GStaticResource // out var _cret *C.GResource // in diff --git a/pkg/glib/v2/glib.go b/pkg/glib/v2/glib.go index b3ea2f451..01728f51c 100644 --- a/pkg/glib/v2/glib.go +++ b/pkg/glib/v2/glib.go @@ -4673,7 +4673,6 @@ type SpawnChildSetupFunc func() // - line // - prettyFunction // - expression -// func AssertWarning(logDomain, file string, line int, prettyFunction, expression string) { var _arg1 *C.char // out var _arg2 *C.char // out @@ -4713,7 +4712,6 @@ func AssertWarning(logDomain, file string, line int, prettyFunction, expression // The function returns the following values: // // - filename: name of the file without any leading directory components. -// func Basename(fileName string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -4745,7 +4743,6 @@ func Basename(fileName string) string { // // - gint: index of the first bit set which is higher than nth_bit, or -1 if // no higher bits are set. -// func BitNthLSF(mask uint32, nthBit int) int { var _arg1 C.gulong // out var _arg2 C.gint // out @@ -4779,7 +4776,6 @@ func BitNthLSF(mask uint32, nthBit int) int { // // - gint: index of the first bit set which is lower than nth_bit, or -1 if no // lower bits are set. -// func BitNthMSF(mask uint32, nthBit int) int { var _arg1 C.gulong // out var _arg2 C.gint // out @@ -4809,7 +4805,6 @@ func BitNthMSF(mask uint32, nthBit int) int { // The function returns the following values: // // - guint: number of bits used to hold number. -// func BitStorage(number uint32) uint { var _arg1 C.gulong // out var _cret C.guint // in @@ -4837,7 +4832,6 @@ func BitStorage(number uint32) uint { // The function returns the following values: // // - filename: newly-allocated string that must be freed with g_free(). -// func BuildFilenamev(args []string) string { var _arg1 **C.gchar // out var _cret *C.gchar // in @@ -4879,7 +4873,6 @@ func BuildFilenamev(args []string) string { // The function returns the following values: // // - filename: newly-allocated string that must be freed with g_free(). -// func BuildPathv(separator string, args []string) string { var _arg1 *C.gchar // out var _arg2 **C.gchar // out @@ -4939,7 +4932,6 @@ func BuildPathv(separator string, args []string) string { // The function returns the following values: // // - ret: newly allocated string with the canonical file path. -// func CanonicalizeFilename(filename, relativeTo string) string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -4987,7 +4979,6 @@ func CanonicalizeFilename(filename, relativeTo string) string { // - utf8: NULL if the GLib library is compatible with the given version, // or a string describing the version mismatch. The returned string is owned // by GLib and must not be modified or freed. -// func CheckVersion(requiredMajor, requiredMinor, requiredMicro uint) string { var _arg1 C.guint // out var _arg2 C.guint // out @@ -5026,7 +5017,6 @@ func CheckVersion(requiredMajor, requiredMinor, requiredMicro uint) string { // - utf8 (optional): digest of the binary data as a string in hexadecimal, // or NULL if g_checksum_new() fails for checksum_type. The returned string // should be freed with g_free() when done using it. -// func ComputeChecksumForBytes(checksumType ChecksumType, data *Bytes) string { var _arg1 C.GChecksumType // out var _arg2 *C.GBytes // out @@ -5065,7 +5055,6 @@ func ComputeChecksumForBytes(checksumType ChecksumType, data *Bytes) string { // - utf8 (optional): digest of the binary data as a string in hexadecimal, // or NULL if g_checksum_new() fails for checksum_type. The returned string // should be freed with g_free() when done using it. -// func ComputeChecksumForData(checksumType ChecksumType, data []byte) string { var _arg1 C.GChecksumType // out var _arg2 *C.guchar // out @@ -5107,7 +5096,6 @@ func ComputeChecksumForData(checksumType ChecksumType, data []byte) string { // - utf8 (optional): checksum as a hexadecimal string, or NULL if // g_checksum_new() fails for checksum_type. The returned string should be // freed with g_free() when done using it. -// func ComputeChecksumForString(checksumType ChecksumType, str string, length int) string { var _arg1 C.GChecksumType // out var _arg2 *C.gchar // out @@ -5149,7 +5137,6 @@ func ComputeChecksumForString(checksumType ChecksumType, str string, length int) // // - utf8: HMAC of the binary data as a string in hexadecimal. The returned // string should be freed with g_free() when done using it. -// func ComputeHMACForBytes(digestType ChecksumType, key, data *Bytes) string { var _arg1 C.GChecksumType // out var _arg2 *C.GBytes // out @@ -5188,7 +5175,6 @@ func ComputeHMACForBytes(digestType ChecksumType, key, data *Bytes) string { // // - utf8: HMAC of the binary data as a string in hexadecimal. The returned // string should be freed with g_free() when done using it. -// func ComputeHMACForData(digestType ChecksumType, key, data []byte) string { var _arg1 C.GChecksumType // out var _arg2 *C.guchar // out @@ -5235,7 +5221,6 @@ func ComputeHMACForData(digestType ChecksumType, key, data []byte) string { // // - utf8: HMAC as a hexadecimal string. The returned string should be freed // with g_free() when done using it. -// func ComputeHMACForString(digestType ChecksumType, key []byte, str string, length int) string { var _arg1 C.GChecksumType // out var _arg2 *C.guchar // out @@ -5298,7 +5283,6 @@ func ComputeHMACForString(digestType ChecksumType, key []byte, str string, lengt // - guint8s: If the conversion was successful, a newly allocated buffer // containing the converted string, which must be freed with g_free(). // Otherwise NULL and error will be set. -// func Convert(str, toCodeset, fromCodeset string) (uint, []byte, error) { var _arg1 *C.gchar // out var _arg2 C.gssize @@ -5387,7 +5371,6 @@ func ConvertErrorQuark() Quark { // - guint8s: If the conversion was successful, a newly allocated buffer // containing the converted string, which must be freed with g_free(). // Otherwise NULL and error will be set. -// func ConvertWithFallback(str, toCodeset, fromCodeset, fallback string) (uint, []byte, error) { var _arg1 *C.gchar // out var _arg2 C.gssize @@ -5446,7 +5429,6 @@ func ConvertWithFallback(str, toCodeset, fromCodeset, fallback string) (uint, [] // The function returns the following values: // // - utf8: translated string for the given locale category. -// func Dcgettext(domain, msgid string, category int) string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -5514,7 +5496,6 @@ func Dcgettext(domain, msgid string, category int) string { // The function returns the following values: // // - utf8: translated string. -// func Dgettext(domain, msgid string) string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -5554,7 +5535,6 @@ func Dgettext(domain, msgid string) string { // The function returns the following values: // // - ok: TRUE if the two keys match. -// func DirectEqual(v1, v2 unsafe.Pointer) bool { var _arg1 C.gconstpointer // out var _arg2 C.gconstpointer // out @@ -5590,7 +5570,6 @@ func DirectEqual(v1, v2 unsafe.Pointer) bool { // The function returns the following values: // // - guint: hash value corresponding to the key. -// func DirectHash(v unsafe.Pointer) uint { var _arg1 C.gconstpointer // out var _cret C.guint // in @@ -5624,7 +5603,6 @@ func DirectHash(v unsafe.Pointer) uint { // The function returns the following values: // // - utf8: translated string. -// func Dngettext(domain, msgid, msgidPlural string, n uint32) string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -5668,7 +5646,6 @@ func Dngettext(domain, msgid, msgidPlural string, n uint32) string { // The function returns the following values: // // - ok: TRUE if the two keys match. -// func DoubleEqual(v1, v2 unsafe.Pointer) bool { var _arg1 C.gconstpointer // out var _arg2 C.gconstpointer // out @@ -5702,7 +5679,6 @@ func DoubleEqual(v1, v2 unsafe.Pointer) bool { // The function returns the following values: // // - guint: hash value corresponding to the key. -// func DoubleHash(v unsafe.Pointer) uint { var _arg1 C.gconstpointer // out var _cret C.guint // in @@ -5742,7 +5718,6 @@ func DoubleHash(v unsafe.Pointer) uint { // The function returns the following values: // // - utf8: translated string. -// func Dpgettext(domain, msgctxtid string, msgidoffset uint) string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -5789,7 +5764,6 @@ func Dpgettext(domain, msgctxtid string, msgidoffset uint) string { // The function returns the following values: // // - utf8: translated string. -// func Dpgettext2(domain, context, msgid string) string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -5831,7 +5805,6 @@ func Dpgettext2(domain, context, msgid string) string { // - filename: value of the environment variable, or NULL if the environment // variable is not set in envp. The returned string is owned by envp, // and will be freed if variable is set or unset again. -// func EnvironGetenv(envp []string, variable string) string { var _arg1 **C.gchar // out var _arg2 *C.gchar // out @@ -5879,7 +5852,6 @@ func EnvironGetenv(envp []string, variable string) string { // The function returns the following values: // // - filenames: the updated environment list. Free it using g_strfreev(). -// func EnvironSetenv(envp []string, variable, value string, overwrite bool) []string { var _arg1 **C.gchar // out var _arg2 *C.gchar // out @@ -5946,7 +5918,6 @@ func EnvironSetenv(envp []string, variable, value string, overwrite bool) []stri // The function returns the following values: // // - filenames: the updated environment list. Free it using g_strfreev(). -// func EnvironUnsetenv(envp []string, variable string) []string { var _arg1 **C.gchar // out var _arg2 *C.gchar // out @@ -6006,7 +5977,6 @@ func EnvironUnsetenv(envp []string, variable string) []string { // The function returns the following values: // // - fileError corresponding to the given errno. -// func FileErrorFromErrno(errNo int) FileError { var _arg1 C.gint // out var _cret C.GFileError // in @@ -6057,7 +6027,6 @@ func FileErrorQuark() Quark { // // - contents: location to store an allocated string, use g_free() to free the // returned string. -// func FileGetContents(filename string) ([]byte, error) { var _arg1 *C.gchar // out var _arg2 *C.gchar // in @@ -6110,7 +6079,6 @@ func FileGetContents(filename string) ([]byte, error) { // writing. The file is opened in binary mode on platforms where there is // a difference. The file handle should be closed with close(). In case of // errors, -1 is returned and error will be set. -// func FileOpenTmp(tmpl string) (string, int, error) { var _arg1 *C.gchar // out var _arg2 *C.gchar // in @@ -6151,7 +6119,6 @@ func FileOpenTmp(tmpl string) (string, int, error) { // // - ret: newly-allocated string with the contents of the symbolic link, // or NULL if an error occurred. -// func FileReadLink(filename string) (string, error) { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -6185,7 +6152,6 @@ func FileReadLink(filename string) (string, error) { // - filename: name of a file to write contents to, in the GLib file name // encoding. // - contents: string to write to the file. -// func FileSetContents(filename, contents string) error { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -6275,7 +6241,6 @@ func FileSetContents(filename, contents string) error { // - contents: string to write to the file. // - flags controlling the safety vs speed of the operation. // - mode: file mode, as passed to open(); typically this will be 0666. -// func FileSetContentsFull(filename, contents string, flags FileSetContentsFlags, mode int) error { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -6328,12 +6293,12 @@ func FileSetContentsFull(filename, contents string, flags FileSetContentsFlags, // file without being tricked into writing into a different location. It doesn't // work! // -// // DON'T DO THIS -// if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK)) -// { -// fd = g_open (filename, O_WRONLY); -// // write to fd -// } +// // DON'T DO THIS +// if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK)) +// { +// fd = g_open (filename, O_WRONLY); +// // write to fd +// } // // Another thing to note is that G_FILE_TEST_EXISTS and // G_FILE_TEST_IS_EXECUTABLE are implemented using the access() system call. @@ -6357,7 +6322,6 @@ func FileSetContentsFull(filename, contents string, flags FileSetContentsFlags, // The function returns the following values: // // - ok: whether a test was TRUE. -// func TestFile(filename string, test FileTest) bool { var _arg1 *C.gchar // out var _arg2 C.GFileTest // out @@ -6405,7 +6369,6 @@ func TestFile(filename string, test FileTest) bool { // // - utf8: newly allocated string containing a rendition of the basename of // the filename in valid UTF-8. -// func FilenameDisplayBasename(filename string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -6448,7 +6411,6 @@ func FilenameDisplayBasename(filename string) string { // // - utf8: newly allocated string containing a rendition of the filename in // valid UTF-8. -// func FilenameDisplayName(filename string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -6480,7 +6442,6 @@ func FilenameDisplayName(filename string) string { // no hostname in the URI, NULL will be stored in this location. // - filename: newly-allocated string holding the resulting filename, or NULL // on an error. -// func FilenameFromURI(uri string) (hostname, filename string, goerr error) { var _arg1 *C.gchar // out var _arg2 *C.gchar // in @@ -6537,7 +6498,6 @@ func FilenameFromURI(uri string) (hostname, filename string, goerr error) { // - bytesWritten (optional): number of bytes stored in the output buffer (not // including the terminating nul). // - filename: The converted string, or NULL on an error. -// func FilenameFromUTF8(utf8String string, len int) (bytesRead, bytesWritten uint, filename string, goerr error) { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -6583,7 +6543,6 @@ func FilenameFromUTF8(utf8String string, len int) (bytesRead, bytesWritten uint, // // - utf8: newly-allocated string holding the resulting URI, or NULL on an // error. -// func FilenameToURI(filename, hostname string) (string, error) { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -6643,7 +6602,6 @@ func FilenameToURI(filename, hostname string) (string, error) { // - bytesWritten (optional): number of bytes stored in the output buffer (not // including the terminating nul). // - utf8: converted string, or NULL on an error. -// func FilenameToUTF8(opsysstring string, len int) (bytesRead, bytesWritten uint, utf8 string, goerr error) { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -6699,7 +6657,6 @@ func FilenameToUTF8(opsysstring string, len int) (bytesRead, bytesWritten uint, // // - filename (optional): newly-allocated string with the absolute path, // or NULL. -// func FindProgramInPath(program string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -6742,7 +6699,6 @@ func FindProgramInPath(program string) string { // // - utf8: newly-allocated formatted string containing a human readable file // size. -// func FormatSize(size uint64) string { var _arg1 C.guint64 // out var _cret *C.gchar // in @@ -6780,7 +6736,6 @@ func FormatSize(size uint64) string { // // - utf8: newly-allocated formatted string containing a human readable file // size. -// func FormatSizeForDisplay(size int64) string { var _arg1 C.goffset // out var _cret *C.gchar // in @@ -6812,7 +6767,6 @@ func FormatSizeForDisplay(size int64) string { // // - utf8: newly-allocated formatted string containing a human readable file // size. -// func FormatSizeFull(size uint64, flags FormatSizeFlags) string { var _arg1 C.guint64 // out var _arg2 C.GFormatSizeFlags // out @@ -6843,7 +6797,6 @@ func FormatSizeFull(size uint64, flags FormatSizeFlags) string { // The function returns the following values: // // - utf8 (optional): human-readable application name. May return NULL. -// func GetApplicationName() string { var _cret *C.gchar // in @@ -6881,7 +6834,6 @@ func GetApplicationName() string { // // - charset (optional): return location for character set name, or NULL. // - ok: TRUE if the returned charset is UTF-8. -// func GetCharset() (string, bool) { var _arg1 *C.char // in var _cret C.gboolean // in @@ -6907,7 +6859,6 @@ func GetCharset() (string, bool) { // // - utf8: newly allocated string containing the name of the character set. // This string must be freed with g_free(). -// func GetCodeset() string { var _cret *C.gchar // in @@ -6942,7 +6893,6 @@ func GetCodeset() string { // // - charset (optional): return location for character set name, or NULL. // - ok: TRUE if the returned charset is UTF-8. -// func GetConsoleCharset() (string, bool) { var _arg1 *C.char // in var _cret C.gboolean // in @@ -6975,7 +6925,6 @@ func GetConsoleCharset() (string, bool) { // The function returns the following values: // // - filename: current directory. -// func GetCurrentDir() string { var _cret *C.gchar // in @@ -6998,7 +6947,6 @@ func GetCurrentDir() string { // The function takes the following parameters: // // - result structure in which to store current time. -// func GetCurrentTime(result *TimeVal) { var _arg1 *C.GTimeVal // out @@ -7022,7 +6970,6 @@ func GetCurrentTime(result *TimeVal) { // The function returns the following values: // // - filenames: the list of environment variables. -// func GetEnviron() []string { var _cret **C.gchar // in @@ -7078,7 +7025,6 @@ func GetEnviron() []string { // - filenameCharsets: return location for the NULL-terminated list of // encoding names. // - ok: TRUE if the filename encoding is UTF-8. -// func GetFilenameCharsets() ([]string, bool) { var _arg1 **C.gchar // in var _cret C.gboolean // in @@ -7132,7 +7078,6 @@ func GetFilenameCharsets() ([]string, bool) { // The function returns the following values: // // - filename: current user's home directory. -// func GetHomeDir() string { var _cret *C.gchar // in @@ -7161,7 +7106,6 @@ func GetHomeDir() string { // The function returns the following values: // // - utf8: host name of the machine. -// func GetHostName() string { var _cret *C.gchar // in @@ -7189,7 +7133,6 @@ func GetHostName() string { // // - utf8s: NULL-terminated array of strings owned by GLib that must not be // modified or freed. -// func GetLanguageNames() []string { var _cret **C.gchar // in @@ -7235,7 +7178,6 @@ func GetLanguageNames() []string { // g_get_language_names_with_category was called from. It must not be // modified or freed. It must be copied if planned to be used in another // thread. -// func GetLanguageNamesWithCategory(categoryName string) []string { var _arg1 *C.gchar // out var _cret **C.gchar // in @@ -7288,7 +7230,6 @@ func GetLanguageNamesWithCategory(categoryName string) []string { // // - utf8s: newly allocated array of newly allocated strings with the locale // variants. Free with g_strfreev(). -// func GetLocaleVariants(locale string) []string { var _arg1 *C.gchar // out var _cret **C.gchar // in @@ -7333,7 +7274,6 @@ func GetLocaleVariants(locale string) []string { // The function returns the following values: // // - gint64: monotonic time, in microseconds. -// func GetMonotonicTime() int64 { var _cret C.gint64 // in @@ -7364,7 +7304,6 @@ func GetMonotonicTime() int64 { // // - utf8 (optional): associated value for the requested key or NULL if this // information is not provided. -// func GetOsInfo(keyName string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -7397,7 +7336,6 @@ func GetOsInfo(keyName string) string { // // - utf8 (optional): name of the program, or NULL if it has not been set yet. // The returned string belongs to GLib and must not be modified or freed. -// func GetPrgname() string { var _cret *C.gchar // in @@ -7420,7 +7358,6 @@ func GetPrgname() string { // The function returns the following values: // // - filename user's real name. -// func GetRealName() string { var _cret *C.gchar // in @@ -7445,7 +7382,6 @@ func GetRealName() string { // The function returns the following values: // // - gint64: number of microseconds since January 1, 1970 UTC. -// func GetRealTime() int64 { var _cret C.gint64 // in @@ -7482,7 +7418,6 @@ func GetRealTime() int64 { // // - filenames: a NULL-terminated array of strings owned by GLib that must not // be modified or freed. -// func GetSystemConfigDirs() []string { var _cret **C.gchar // in @@ -7543,7 +7478,6 @@ func GetSystemConfigDirs() []string { // // - filenames: a NULL-terminated array of strings owned by GLib that must not // be modified or freed. -// func GetSystemDataDirs() []string { var _cret **C.gchar // in @@ -7583,7 +7517,6 @@ func GetSystemDataDirs() []string { // The function returns the following values: // // - filename: directory to use for temporary files. -// func GetTmpDir() string { var _cret *C.gchar // in @@ -7617,7 +7550,6 @@ func GetTmpDir() string { // The function returns the following values: // // - filename: string owned by GLib that must not be modified or freed. -// func GetUserCacheDir() string { var _cret *C.gchar // in @@ -7652,7 +7584,6 @@ func GetUserCacheDir() string { // The function returns the following values: // // - filename: string owned by GLib that must not be modified or freed. -// func GetUserConfigDir() string { var _cret *C.gchar // in @@ -7687,7 +7618,6 @@ func GetUserConfigDir() string { // The function returns the following values: // // - filename: string owned by GLib that must not be modified or freed. -// func GetUserDataDir() string { var _cret *C.gchar // in @@ -7708,7 +7638,6 @@ func GetUserDataDir() string { // The function returns the following values: // // - filename: user name of the current user. -// func GetUserName() string { var _cret *C.gchar // in @@ -7736,7 +7665,6 @@ func GetUserName() string { // The function returns the following values: // // - filename: string owned by GLib that must not be modified or freed. -// func GetUserRuntimeDir() string { var _cret *C.gchar // in @@ -7769,7 +7697,6 @@ func GetUserRuntimeDir() string { // - filename: path to the specified special directory, or NULL if the logical // id was not found. The returned string is owned by GLib and should not be // modified or freed. -// func GetUserSpecialDir(directory UserDirectory) string { var _arg1 C.GUserDirectory // out var _cret *C.gchar // in @@ -7802,7 +7729,6 @@ func GetUserSpecialDir(directory UserDirectory) string { // - filename: value of the environment variable, or NULL if the environment // variable is not found. The returned string may be overwritten by the next // call to g_getenv(), g_setenv() or g_unsetenv(). -// func Getenv(variable string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -7836,7 +7762,6 @@ func Getenv(variable string) string { // The function returns the following values: // // - ok: TRUE if hostname contains any ASCII-encoded segments. -// func HostnameIsASCIIEncoded(hostname string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -7868,7 +7793,6 @@ func HostnameIsASCIIEncoded(hostname string) bool { // The function returns the following values: // // - ok: TRUE if hostname is an IP address. -// func HostnameIsIPAddress(hostname string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -7903,7 +7827,6 @@ func HostnameIsIPAddress(hostname string) bool { // The function returns the following values: // // - ok: TRUE if hostname contains any non-ASCII characters. -// func HostnameIsNonASCII(hostname string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -7934,7 +7857,6 @@ func HostnameIsNonASCII(hostname string) bool { // // - utf8 (optional): ASCII hostname, which must be freed, or NULL if hostname // is in some way invalid. -// func HostnameToASCII(hostname string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -7971,7 +7893,6 @@ func HostnameToASCII(hostname string) string { // // - utf8 (optional): UTF-8 hostname, which must be freed, or NULL if hostname // is in some way invalid. -// func HostnameToUnicode(hostname string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -8001,7 +7922,6 @@ func HostnameToUnicode(hostname string) string { // The function returns the following values: // // - ok: TRUE if an idle source was found and removed. -// func IdleRemoveByData(data unsafe.Pointer) bool { var _arg1 C.gpointer // out var _cret C.gboolean // in @@ -8030,7 +7950,6 @@ func IdleRemoveByData(data unsafe.Pointer) bool { // The function returns the following values: // // - source: newly-created idle source. -// func NewIdleSource() *Source { var _cret *C.GSource // in @@ -8062,7 +7981,6 @@ func NewIdleSource() *Source { // The function returns the following values: // // - ok: TRUE if the two keys match. -// func Int64Equal(v1, v2 unsafe.Pointer) bool { var _arg1 C.gconstpointer // out var _arg2 C.gconstpointer // out @@ -8096,7 +8014,6 @@ func Int64Equal(v1, v2 unsafe.Pointer) bool { // The function returns the following values: // // - guint: hash value corresponding to the key. -// func Int64Hash(v unsafe.Pointer) uint { var _arg1 C.gconstpointer // out var _cret C.guint // in @@ -8129,7 +8046,6 @@ func Int64Hash(v unsafe.Pointer) uint { // The function returns the following values: // // - ok: TRUE if the two keys match. -// func IntEqual(v1, v2 unsafe.Pointer) bool { var _arg1 C.gconstpointer // out var _arg2 C.gconstpointer // out @@ -8166,7 +8082,6 @@ func IntEqual(v1, v2 unsafe.Pointer) bool { // The function returns the following values: // // - guint: hash value corresponding to the key. -// func IntHash(v unsafe.Pointer) uint { var _arg1 C.gconstpointer // out var _cret C.guint // in @@ -8199,7 +8114,6 @@ func IntHash(v unsafe.Pointer) uint { // The function returns the following values: // // - utf8: canonical representation for the string. -// func InternStaticString(str string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -8234,7 +8148,6 @@ func InternStaticString(str string) string { // The function returns the following values: // // - utf8: canonical representation for the string. -// func InternString(str string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -8277,7 +8190,6 @@ func InternString(str string) string { // The function returns the following values: // // - source: new #GSource. -// func IOCreateWatch(channel *IOChannel, condition IOCondition) *Source { var _arg1 *C.GIOChannel // out var _arg2 C.GIOCondition // out @@ -8316,7 +8228,6 @@ func IOCreateWatch(channel *IOChannel, condition IOCondition) *Source { // // - filenames: a NULL-terminated list of strings which must be freed with // g_strfreev(). -// func Listenv() []string { var _cret **C.gchar // in @@ -8367,7 +8278,6 @@ func Listenv() []string { // byte offset after the last valid input sequence. // - guint8s: A newly-allocated buffer containing the converted string, // or NULL on an error, and error will be set. -// func LocaleFromUTF8(utf8String string, len int) (uint, []byte, error) { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -8426,7 +8336,6 @@ func LocaleFromUTF8(utf8String string, len int) (uint, []byte, error) { // - bytesWritten (optional): number of bytes stored in the output buffer (not // including the terminating nul). // - utf8: converted string, or NULL on an error. -// func LocaleToUTF8(opsysstring string) (bytesRead, bytesWritten uint, utf8 string, goerr error) { var _arg1 *C.gchar // out var _arg2 C.gssize @@ -8491,7 +8400,6 @@ func LocaleToUTF8(opsysstring string) (bytesRead, bytesWritten uint, utf8 string // - logLevel: level of the message. // - message (optional): message. // - unusedData (optional): data passed from g_log() which is unused. -// func LogDefaultHandler(logDomain string, logLevel LogLevelFlags, message string, unusedData unsafe.Pointer) { var _arg1 *C.gchar // out var _arg2 C.GLogLevelFlags // out @@ -8525,7 +8433,6 @@ func LogDefaultHandler(logDomain string, logLevel LogLevelFlags, message string, // // - logDomain: log domain. // - handlerId: id of the handler, which was returned in g_log_set_handler(). -// func LogRemoveHandler(logDomain string, handlerId uint) { var _arg1 *C.gchar // out var _arg2 C.guint // out @@ -8563,7 +8470,6 @@ func LogRemoveHandler(logDomain string, handlerId uint) { // The function returns the following values: // // - logLevelFlags: old fatal mask. -// func LogSetAlwaysFatal(fatalMask LogLevelFlags) LogLevelFlags { var _arg1 C.GLogLevelFlags // out var _cret C.GLogLevelFlags // in @@ -8602,7 +8508,6 @@ func LogSetAlwaysFatal(fatalMask LogLevelFlags) LogLevelFlags { // The function returns the following values: // // - logLevelFlags: old fatal mask for the log domain. -// func LogSetFatalMask(logDomain string, fatalMask LogLevelFlags) LogLevelFlags { var _arg1 *C.gchar // out var _arg2 C.GLogLevelFlags // out @@ -8637,7 +8542,6 @@ func LogSetFatalMask(logDomain string, fatalMask LogLevelFlags) LogLevelFlags { // // - logLevel: log level, either from LevelFlags, or a user-defined level. // - fields: key–value pairs of structured data to add to the log message. -// func LogStructuredArray(logLevel LogLevelFlags, fields []LogField) { var _arg1 C.GLogLevelFlags // out var _arg2 *C.GLogField // out @@ -8683,7 +8587,6 @@ func LogStructuredArray(logLevel LogLevelFlags, fields []LogField) { // - logLevel: log level, either from LevelFlags, or a user-defined level. // - fields: dictionary (#GVariant of the type G_VARIANT_TYPE_VARDICT) // containing the key-value pairs of message data. -// func LogVariant(logDomain string, logLevel LogLevelFlags, fields *Variant) { var _arg1 *C.gchar // out var _arg2 C.GLogLevelFlags // out @@ -8732,7 +8635,6 @@ func LogVariant(logDomain string, logLevel LogLevelFlags, fields *Variant) { // // - logWriterOutput: G_LOG_WRITER_HANDLED on success, G_LOG_WRITER_UNHANDLED // otherwise. -// func LogWriterDefault(logLevel LogLevelFlags, fields []LogField, userData unsafe.Pointer) LogWriterOutput { var _arg1 C.GLogLevelFlags // out var _arg2 *C.GLogField // out @@ -8782,7 +8684,6 @@ func LogWriterDefault(logLevel LogLevelFlags, fields []LogField, userData unsafe // // - useStderr: if TRUE, use stderr for log messages that would normally have // appeared on stdout. -// func LogWriterDefaultSetUseStderr(useStderr bool) { var _arg1 C.gboolean // out @@ -8805,13 +8706,13 @@ func LogWriterDefaultSetUseStderr(useStderr bool) { // This can be used when implementing log writers with the same filtering // behaviour as the default, but a different destination or output format: // -// if (!g_log_writer_default_would_drop (G_LOG_LEVEL_DEBUG, G_LOG_DOMAIN)) -// { -// gchar *result = expensive_computation (my_object); +// if (!g_log_writer_default_would_drop (G_LOG_LEVEL_DEBUG, G_LOG_DOMAIN)) +// { +// gchar *result = expensive_computation (my_object); // -// g_debug ("my_object result: s", result); -// g_free (result); -// }. +// g_debug ("my_object result: s", result); +// g_free (result); +// }. // // The function takes the following parameters: // @@ -8822,7 +8723,6 @@ func LogWriterDefaultSetUseStderr(useStderr bool) { // // - ok: TRUE if the log message would be dropped by GLib's default log // handlers. -// func LogWriterDefaultWouldDrop(logLevel LogLevelFlags, logDomain string) bool { var _arg1 C.GLogLevelFlags // out var _arg2 *C.char // out @@ -8868,7 +8768,6 @@ func LogWriterDefaultWouldDrop(logLevel LogLevelFlags, logDomain string) bool { // // - utf8: string containing the formatted log message, in the character set // of the current locale. -// func LogWriterFormatFields(logLevel LogLevelFlags, fields []LogField, useColor bool) string { var _arg1 C.GLogLevelFlags // out var _arg2 *C.GLogField // out @@ -8910,7 +8809,7 @@ func LogWriterFormatFields(logLevel LogLevelFlags, fields []LogField, useColor b // Invalid file descriptors are accepted and return FALSE, which allows for the // following construct without needing any additional error handling: // -// is_journald = g_log_writer_is_journald (fileno (stderr));. +// is_journald = g_log_writer_is_journald (fileno (stderr));. // // The function takes the following parameters: // @@ -8919,7 +8818,6 @@ func LogWriterFormatFields(logLevel LogLevelFlags, fields []LogField, useColor b // The function returns the following values: // // - ok: TRUE if output_fd points to the journal, FALSE otherwise. -// func LogWriterIsJournald(outputFd int) bool { var _arg1 C.gint // out var _cret C.gboolean // in @@ -8958,7 +8856,6 @@ func LogWriterIsJournald(outputFd int) bool { // // - logWriterOutput: G_LOG_WRITER_HANDLED on success, G_LOG_WRITER_UNHANDLED // otherwise. -// func LogWriterJournald(logLevel LogLevelFlags, fields []LogField, userData unsafe.Pointer) LogWriterOutput { var _arg1 C.GLogLevelFlags // out var _arg2 *C.GLogField // out @@ -9014,7 +8911,6 @@ func LogWriterJournald(logLevel LogLevelFlags, fields []LogField, userData unsaf // // - logWriterOutput: G_LOG_WRITER_HANDLED on success, G_LOG_WRITER_UNHANDLED // otherwise. -// func LogWriterStandardStreams(logLevel LogLevelFlags, fields []LogField, userData unsafe.Pointer) LogWriterOutput { var _arg1 C.GLogLevelFlags // out var _arg2 *C.GLogField // out @@ -9057,7 +8953,6 @@ func LogWriterStandardStreams(logLevel LogLevelFlags, fields []LogField, userDat // The function returns the following values: // // - ok: TRUE if ANSI color escapes are supported, FALSE otherwise. -// func LogWriterSupportsColor(outputFd int) bool { var _arg1 C.gint // out var _cret C.gboolean // in @@ -9081,7 +8976,6 @@ func LogWriterSupportsColor(outputFd int) bool { // The function returns the following values: // // - source (optional): currently firing source or NULL. -// func MainCurrentSource() *Source { var _cret *C.GSource // in @@ -9113,36 +9007,36 @@ func MainCurrentSource() *Source { // This function is useful in a situation like the following: Imagine an // extremely simple "garbage collected" system. // -// gpointer -// allocate_memory (gsize size) -// { -// FreeListBlock *block = g_new (FreeListBlock, 1); -// block->mem = g_malloc (size); -// block->depth = g_main_depth (); -// free_list = g_list_prepend (free_list, block); -// return block->mem; -// } -// -// void -// free_allocated_memory (void) -// { -// GList *l; -// -// int depth = g_main_depth (); -// for (l = free_list; l; ); -// { -// GList *next = l->next; -// FreeListBlock *block = l->data; -// if (block->depth > depth) -// { -// g_free (block->mem); -// g_free (block); -// free_list = g_list_delete_link (free_list, l); -// } -// -// l = next; -// } -// } +// gpointer +// allocate_memory (gsize size) +// { +// FreeListBlock *block = g_new (FreeListBlock, 1); +// block->mem = g_malloc (size); +// block->depth = g_main_depth (); +// free_list = g_list_prepend (free_list, block); +// return block->mem; +// } +// +// void +// free_allocated_memory (void) +// { +// GList *l; +// +// int depth = g_main_depth (); +// for (l = free_list; l; ); +// { +// GList *next = l->next; +// FreeListBlock *block = l->data; +// if (block->depth > depth) +// { +// g_free (block->mem); +// g_free (block); +// free_list = g_list_delete_link (free_list, l); +// } +// +// l = next; +// } +// } // // There is a temptation to use g_main_depth() to solve problems with // reentrancy. For instance, while waiting for data to be received from the @@ -9164,7 +9058,6 @@ func MainCurrentSource() *Source { // The function returns the following values: // // - gint: main loop recursion level in the current thread. -// func MainDepth() int { var _cret C.gint // in @@ -9213,7 +9106,6 @@ func MarkupErrorQuark() Quark { // The function returns the following values: // // - utf8: newly allocated string with the escaped text. -// func MarkupEscapeText(text string, length int) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -9247,7 +9139,6 @@ func MarkupEscapeText(text string, length int) string { // // - gint: 0 if the directory already exists, or was successfully created. // Returns -1 if an error occurred, with errno set. -// func MkdirWithParents(pathname string, mode int) int { var _arg1 *C.gchar // out var _arg2 C.gint // out @@ -9316,7 +9207,6 @@ func OptionErrorQuark() Quark { // The function returns the following values: // // - guint: combined set of bit flags. -// func ParseDebugString(str string, keys []DebugKey) uint { var _arg1 *C.gchar // out var _arg2 *C.GDebugKey // out @@ -9363,7 +9253,6 @@ func ParseDebugString(str string, keys []DebugKey) uint { // // - filename: newly allocated string containing the last component of the // filename. -// func PathGetBasename(fileName string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -9396,7 +9285,6 @@ func PathGetBasename(fileName string) string { // The function returns the following values: // // - filename: directory components of the file. -// func PathGetDirname(fileName string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -9445,7 +9333,6 @@ func PathGetDirname(fileName string) string { // The function returns the following values: // // - ok: TRUE if file_name is absolute. -// func PathIsAbsolute(fileName string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -9476,7 +9363,6 @@ func PathIsAbsolute(fileName string) bool { // The function returns the following values: // // - filename (optional): pointer into file_name after the root component. -// func PathSkipRoot(fileName string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -9509,7 +9395,6 @@ func PathSkipRoot(fileName string) string { // The function returns the following values: // // - ok: TRUE if string matches pspec. -// func PatternMatchSimple(pattern, str string) bool { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -9556,7 +9441,6 @@ func PatternMatchSimple(pattern, str string) bool { // The function returns the following values: // // - quark identifying the string, or 0 if string is NULL. -// func QuarkFromStaticString(str string) Quark { var _arg1 *C.gchar // out var _cret C.GQuark // in @@ -9593,7 +9477,6 @@ func QuarkFromStaticString(str string) Quark { // The function returns the following values: // // - quark identifying the string, or 0 if string is NULL. -// func QuarkFromString(str string) Quark { var _arg1 *C.gchar // out var _cret C.GQuark // in @@ -9624,7 +9507,6 @@ func QuarkFromString(str string) Quark { // The function returns the following values: // // - utf8: string associated with the #GQuark. -// func QuarkToString(quark Quark) string { var _arg1 C.GQuark // out var _cret *C.gchar // in @@ -9660,7 +9542,6 @@ func QuarkToString(quark Quark) string { // // - quark associated with the string, or 0 if string is NULL or there is no // #GQuark associated with it. -// func QuarkTryString(str string) Quark { var _arg1 *C.gchar // out var _cret C.GQuark // in @@ -9688,7 +9569,6 @@ func QuarkTryString(str string) Quark { // The function returns the following values: // // - gdouble: random number. -// func RandomDouble() float64 { var _cret C.gdouble // in @@ -9712,7 +9592,6 @@ func RandomDouble() float64 { // The function returns the following values: // // - gdouble: random number. -// func RandomDoubleRange(begin, end float64) float64 { var _arg1 C.gdouble // out var _arg2 C.gdouble // out @@ -9738,7 +9617,6 @@ func RandomDoubleRange(begin, end float64) float64 { // The function returns the following values: // // - guint32: random number. -// func RandomInt() uint32 { var _cret C.guint32 // in @@ -9762,7 +9640,6 @@ func RandomInt() uint32 { // The function returns the following values: // // - gint32: random number. -// func RandomIntRange(begin, end int32) int32 { var _arg1 C.gint32 // out var _arg2 C.gint32 // out @@ -9788,7 +9665,6 @@ func RandomIntRange(begin, end int32) int32 { // The function takes the following parameters: // // - seed: value to reinitialize the global random number generator. -// func RandomSetSeed(seed uint32) { var _arg1 C.guint32 // out @@ -9824,7 +9700,6 @@ func ReloadUserSpecialDirsCache() { // The function takes the following parameters: // // - applicationName: localized name of the application. -// func SetApplicationName(applicationName string) { var _arg1 *C.gchar // out @@ -9848,7 +9723,6 @@ func SetApplicationName(applicationName string) { // The function takes the following parameters: // // - prgname: name of the program. -// func SetPrgname(prgname string) { var _arg1 *C.gchar // out @@ -9887,7 +9761,6 @@ func SetPrgname(prgname string) { // The function returns the following values: // // - ok: FALSE if the environment variable couldn't be set. -// func Setenv(variable, value string, overwrite bool) bool { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -9946,7 +9819,6 @@ func ShellErrorQuark() Quark { // The function returns the following values: // // - argvp (optional): return location for array of args. -// func ShellParseArgv(commandLine string) ([]string, error) { var _arg1 *C.gchar // out var _arg3 **C.gchar // in @@ -9993,7 +9865,6 @@ func ShellParseArgv(commandLine string) ([]string, error) { // The function returns the following values: // // - filename: quoted string. -// func ShellQuote(unquotedString string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -10038,7 +9909,6 @@ func ShellQuote(unquotedString string) string { // The function returns the following values: // // - filename: unquoted string. -// func ShellUnquote(quotedString string) (string, error) { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -10077,7 +9947,6 @@ func ShellUnquote(quotedString string) (string, error) { // // - guint: smallest prime number from a built-in array of primes which is // larger than num. -// func SpacedPrimesClosest(num uint) uint { var _arg1 C.guint // out var _cret C.guint // in @@ -10133,7 +10002,6 @@ func SpacedPrimesClosest(num uint) uint { // The function takes the following parameters: // // - exitStatus: exit code as returned from g_spawn_sync(). -// func SpawnCheckExitStatus(exitStatus int) error { var _arg1 C.gint // out var _cerr *C.GError // in @@ -10165,7 +10033,6 @@ func SpawnCheckExitStatus(exitStatus int) error { // The function takes the following parameters: // // - commandLine: command line. -// func SpawnCommandLineAsync(commandLine string) error { var _arg1 *C.gchar // out var _cerr *C.GError // in @@ -10216,7 +10083,6 @@ func SpawnCommandLineAsync(commandLine string) error { // - standardError (optional): return location for child errors. // - exitStatus (optional): return location for child exit status, as returned // by waitpid(). -// func SpawnCommandLineSync(commandLine string) (standardOutput, standardError []byte, exitStatus int, goerr error) { var _arg1 *C.gchar // out var _arg2 *C.gchar // in @@ -10338,7 +10204,6 @@ func SpawnExitErrorQuark() Quark { // or NULL. // - exitStatus (optional): return location for child exit status, as returned // by waitpid(), or NULL. -// func SpawnSync(workingDirectory string, argv, envp []string, flags SpawnFlags, childSetup SpawnChildSetupFunc) (standardOutput, standardError []byte, exitStatus int, goerr error) { var _arg1 *C.gchar // out var _arg2 **C.gchar // out @@ -10455,7 +10320,6 @@ func SpawnSync(workingDirectory string, argv, envp []string, flags SpawnFlags, c // The function returns the following values: // // - ok: TRUE if the two keys match. -// func StrEqual(v1, v2 unsafe.Pointer) bool { var _arg1 C.gconstpointer // out var _arg2 C.gconstpointer // out @@ -10497,7 +10361,6 @@ func StrEqual(v1, v2 unsafe.Pointer) bool { // The function returns the following values: // // - guint: hash value corresponding to the key. -// func StrHash(v unsafe.Pointer) uint { var _arg1 C.gconstpointer // out var _cret C.guint // in @@ -10526,7 +10389,6 @@ func StrHash(v unsafe.Pointer) uint { // - utf8: msgval, unless msgval is identical to msgid and contains a '|' // character, in which case a pointer to the substring of msgid after the // first '|' character is returned. -// func StripContext(msgid, msgval string) string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -10575,7 +10437,6 @@ func StrvGetType() coreglib.Type { // The function returns the following values: // // - source: newly-created timeout source. -// func NewTimeoutSource(interval uint) *Source { var _arg1 C.guint // out var _cret *C.GSource // in @@ -10616,7 +10477,6 @@ func NewTimeoutSource(interval uint) *Source { // The function returns the following values: // // - source: newly-created timeout source. -// func TimeoutSourceNewSeconds(interval uint) *Source { var _arg1 C.guint // out var _cret *C.GSource // in @@ -10657,7 +10517,6 @@ func TimeoutSourceNewSeconds(interval uint) *Source { // - guint16: pointer to a newly allocated UTF-16 string. This value must be // freed with g_free(). If an error occurs, NULL will be returned and error // set. -// func UCS4ToUTF16(str *uint32, len int32) (itemsRead, itemsWritten int32, guint16 *uint16, goerr error) { var _arg1 *C.gunichar // out var _arg2 C.glong // out @@ -10707,7 +10566,6 @@ func UCS4ToUTF16(str *uint32, len int32) (itemsRead, itemsWritten int32, guint16 // with g_free(). If an error occurs, NULL will be returned and error set. // In that case, items_read will be set to the position of the first invalid // input character. -// func UCS4ToUTF8(str *uint32, len int32) (itemsRead, itemsWritten int32, utf8 string, goerr error) { var _arg1 *C.gunichar // out var _arg2 C.glong // out @@ -10753,7 +10611,6 @@ func UCS4ToUTF8(str *uint32, len int32) (itemsRead, itemsWritten int32, utf8 str // The function returns the following values: // // - unicodeBreakType: break type of c. -// func UnicharBreakType(c uint32) UnicodeBreakType { var _arg1 C.gunichar // out var _cret C.GUnicodeBreakType // in @@ -10780,7 +10637,6 @@ func UnicharBreakType(c uint32) UnicodeBreakType { // The function returns the following values: // // - gint: combining class of the character. -// func UnicharCombiningClass(uc uint32) int { var _arg1 C.gunichar // out var _cret C.gint // in @@ -10820,7 +10676,6 @@ func UnicharCombiningClass(uc uint32) int { // // - ch: return location for the composed character. // - ok: TRUE if the characters could be composed. -// func UnicharCompose(a, b uint32) (uint32, bool) { var _arg1 C.gunichar // out var _arg2 C.gunichar // out @@ -10871,7 +10726,6 @@ func UnicharCompose(a, b uint32) (uint32, bool) { // - a: return location for the first component of ch. // - b: return location for the second component of ch. // - ok: TRUE if the character could be decomposed. -// func UnicharDecompose(ch uint32) (a, b uint32, ok bool) { var _arg1 C.gunichar // out var _arg2 C.gunichar // in @@ -10907,7 +10761,6 @@ func UnicharDecompose(ch uint32) (a, b uint32, ok bool) { // // - gint: if c is a decimal digit (according to g_unichar_isdigit()), // its numeric value. Otherwise, -1. -// func UnicharDigitValue(c uint32) int { var _arg1 C.gunichar // out var _cret C.gint // in @@ -10949,7 +10802,6 @@ func UnicharDigitValue(c uint32) int { // // - result (optional): location to store decomposed result, or NULL. // - gsize: length of the full decomposition. -// func UnicharFullyDecompose(ch uint32, compat bool, resultLen uint) (uint32, uint) { var _arg1 C.gunichar // out var _arg2 C.gboolean // out @@ -10995,7 +10847,6 @@ func UnicharFullyDecompose(ch uint32, compat bool, resultLen uint) (uint32, uint // The function returns the following values: // // - ok: TRUE if ch has a mirrored character, FALSE otherwise. -// func UnicharGetMirrorChar(ch uint32, mirroredCh *uint32) bool { var _arg1 C.gunichar // out var _arg2 *C.gunichar // out @@ -11031,7 +10882,6 @@ func UnicharGetMirrorChar(ch uint32, mirroredCh *uint32) bool { // The function returns the following values: // // - unicodeScript for the character. -// func UnicharGetScript(ch uint32) UnicodeScript { var _arg1 C.gunichar // out var _cret C.GUnicodeScript // in @@ -11058,7 +10908,6 @@ func UnicharGetScript(ch uint32) UnicodeScript { // The function returns the following values: // // - ok: TRUE if c is an alphanumeric character. -// func UnicharIsalnum(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11087,7 +10936,6 @@ func UnicharIsalnum(c uint32) bool { // The function returns the following values: // // - ok: TRUE if c is an alphabetic character. -// func UnicharIsalpha(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11116,7 +10964,6 @@ func UnicharIsalpha(c uint32) bool { // The function returns the following values: // // - ok: TRUE if c is a control character. -// func UnicharIscntrl(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11145,7 +10992,6 @@ func UnicharIscntrl(c uint32) bool { // The function returns the following values: // // - ok: TRUE if the character has an assigned value. -// func UnicharIsdefined(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11175,7 +11021,6 @@ func UnicharIsdefined(c uint32) bool { // The function returns the following values: // // - ok: TRUE if c is a digit. -// func UnicharIsdigit(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11206,7 +11051,6 @@ func UnicharIsdigit(c uint32) bool { // The function returns the following values: // // - ok: TRUE if c is printable unless it's a space. -// func UnicharIsgraph(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11235,7 +11079,6 @@ func UnicharIsgraph(c uint32) bool { // The function returns the following values: // // - ok: TRUE if c is a lowercase letter. -// func UnicharIslower(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11269,7 +11112,6 @@ func UnicharIslower(c uint32) bool { // The function returns the following values: // // - ok: TRUE if c is a mark character. -// func UnicharIsmark(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11299,7 +11141,6 @@ func UnicharIsmark(c uint32) bool { // The function returns the following values: // // - ok: TRUE if c is printable. -// func UnicharIsprint(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11328,7 +11169,6 @@ func UnicharIsprint(c uint32) bool { // The function returns the following values: // // - ok: TRUE if c is a punctuation or symbol character. -// func UnicharIspunct(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11361,7 +11201,6 @@ func UnicharIspunct(c uint32) bool { // The function returns the following values: // // - ok: TRUE if c is a space character. -// func UnicharIsspace(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11393,7 +11232,6 @@ func UnicharIsspace(c uint32) bool { // The function returns the following values: // // - ok: TRUE if the character is titlecase. -// func UnicharIstitle(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11421,7 +11259,6 @@ func UnicharIstitle(c uint32) bool { // The function returns the following values: // // - ok: TRUE if c is an uppercase character. -// func UnicharIsupper(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11450,7 +11287,6 @@ func UnicharIsupper(c uint32) bool { // The function returns the following values: // // - ok: TRUE if the character is wide. -// func UnicharIswide(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11486,7 +11322,6 @@ func UnicharIswide(c uint32) bool { // The function returns the following values: // // - ok: TRUE if the character is wide in legacy East Asian locales. -// func UnicharIswideCjk(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11514,7 +11349,6 @@ func UnicharIswideCjk(c uint32) bool { // The function returns the following values: // // - ok: TRUE if the character is a hexadecimal digit. -// func UnicharIsxdigit(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11550,7 +11384,6 @@ func UnicharIsxdigit(c uint32) bool { // The function returns the following values: // // - ok: TRUE if the character has zero width. -// func UnicharIszerowidth(c uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11580,7 +11413,6 @@ func UnicharIszerowidth(c uint32) bool { // - gunichar: result of converting c to lower case. If c is not an upperlower // or titlecase character, or has no lowercase equivalent c is returned // unchanged. -// func UnicharToLower(c uint32) uint32 { var _arg1 C.gunichar // out var _cret C.gunichar // in @@ -11607,7 +11439,6 @@ func UnicharToLower(c uint32) uint32 { // // - gunichar: result of converting c to titlecase. If c is not an uppercase // or lowercase character, c is returned unchanged. -// func UnicharToTitle(c uint32) uint32 { var _arg1 C.gunichar // out var _cret C.gunichar // in @@ -11635,7 +11466,6 @@ func UnicharToTitle(c uint32) uint32 { // - gunichar: result of converting c to uppercase. If c is not a lowercase // or titlecase character, or has no upper case equivalent c is returned // unchanged. -// func UnicharToUpper(c uint32) uint32 { var _arg1 C.gunichar // out var _cret C.gunichar // in @@ -11661,7 +11491,6 @@ func UnicharToUpper(c uint32) uint32 { // The function returns the following values: // // - unicodeType: type of the character. -// func UnicharType(c uint32) UnicodeType { var _arg1 C.gunichar // out var _cret C.GUnicodeType // in @@ -11689,7 +11518,6 @@ func UnicharType(c uint32) UnicodeType { // The function returns the following values: // // - ok: TRUE if ch is a valid Unicode character. -// func UnicharValidate(ch uint32) bool { var _arg1 C.gunichar // out var _cret C.gboolean // in @@ -11719,7 +11547,6 @@ func UnicharValidate(ch uint32) bool { // // - gint: if c is a hex digit (according to g_unichar_isxdigit()), its // numeric value. Otherwise, -1. -// func UnicharXDigitValue(c uint32) int { var _arg1 C.gunichar // out var _cret C.gint // in @@ -11750,7 +11577,6 @@ func UnicharXDigitValue(c uint32) int { // // - gunichar: newly allocated string of Unicode characters. result_len is set // to the resulting length of the string. -// func UnicodeCanonicalDecomposition(ch uint32, resultLen *uint) *uint32 { var _arg1 C.gunichar // out var _arg2 *C.gsize // out @@ -11778,7 +11604,6 @@ func UnicodeCanonicalDecomposition(ch uint32, resultLen *uint) *uint32 { // // - str: UCS-4 encoded string. // - len: maximum length of string to use. -// func UnicodeCanonicalOrdering(str *uint32, len uint) { var _arg1 *C.gunichar // out var _arg2 C.gsize // out @@ -11809,7 +11634,6 @@ func UnicodeCanonicalOrdering(str *uint32, len uint) { // - unicodeScript: unicode script for iso15924, or of // G_UNICODE_SCRIPT_INVALID_CODE if iso15924 is zero and // G_UNICODE_SCRIPT_UNKNOWN if iso15924 is unknown. -// func UnicodeScriptFromISO15924(iso15924 uint32) UnicodeScript { var _arg1 C.guint32 // out var _cret C.GUnicodeScript // in @@ -11844,7 +11668,6 @@ func UnicodeScriptFromISO15924(iso15924 uint32) UnicodeScript { // - guint32: ISO 15924 code for script, encoded as an integer, of zero if // script is G_UNICODE_SCRIPT_INVALID_CODE or ISO 15924 code 'Zzzz' (script // code for UNKNOWN) if script is not understood. -// func UnicodeScriptToISO15924(script UnicodeScript) uint32 { var _arg1 C.GUnicodeScript // out var _cret C.guint32 // in @@ -11881,7 +11704,6 @@ func UnicodeScriptToISO15924(script UnicodeScript) uint32 { // The function takes the following parameters: // // - variable: environment variable to remove, must not contain '='. -// func Unsetenv(variable string) { var _arg1 *C.gchar // out @@ -11901,7 +11723,6 @@ func Unsetenv(variable string) { // The function takes the following parameters: // // - microseconds: number of microseconds to pause. -// func Usleep(microseconds uint32) { var _arg1 C.gulong // out @@ -11931,7 +11752,6 @@ func Usleep(microseconds uint32) { // - gunichar: pointer to a newly allocated UCS-4 string. This value must be // freed with g_free(). If an error occurs, NULL will be returned and error // set. -// func UTF16ToUCS4(str *uint16, len int32) (itemsRead, itemsWritten int32, gunichar *uint32, goerr error) { var _arg1 *C.gunichar2 // out var _arg2 C.glong // out @@ -11990,7 +11810,6 @@ func UTF16ToUCS4(str *uint16, len int32) (itemsRead, itemsWritten int32, gunicha // or NULL. The value stored here does not include the trailing 0 byte. // - utf8: pointer to a newly allocated UTF-8 string. This value must be freed // with g_free(). If an error occurs, NULL will be returned and error set. -// func UTF16ToUTF8(str *uint16, len int32) (itemsRead, itemsWritten int32, utf8 string, goerr error) { var _arg1 *C.gunichar2 // out var _arg2 C.glong // out @@ -12041,7 +11860,6 @@ func UTF16ToUTF8(str *uint16, len int32) (itemsRead, itemsWritten int32, utf8 st // The function returns the following values: // // - utf8: newly allocated string, that is a case independent form of str. -// func UTF8Casefold(str string, len int) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12078,7 +11896,6 @@ func UTF8Casefold(str string, len int) string { // // - gint: < 0 if str1 compares before str2, 0 if they compare equal, > 0 if // str1 compares after str2. -// func UTF8Collate(str1, str2 string) int { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -12117,7 +11934,6 @@ func UTF8Collate(str1, str2 string) int { // // - utf8: newly allocated string. This string should be freed with g_free() // when you are done with it. -// func UTF8CollateKey(str string, len int) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12161,7 +11977,6 @@ func UTF8CollateKey(str string, len int) string { // // - utf8: newly allocated string. This string should be freed with g_free() // when you are done with it. -// func UTF8CollateKeyForFilename(str string, len int) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12204,7 +12019,6 @@ func UTF8CollateKeyForFilename(str string, len int) string { // // - utf8 (optional): pointer to the found character or NULL if end is set and // is reached. -// func UTF8FindNextChar(p, end string) string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -12246,7 +12060,6 @@ func UTF8FindNextChar(p, end string) string { // The function returns the following values: // // - utf8 (optional): pointer to the found character or NULL. -// func UTF8FindPrevChar(str, p string) string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -12284,7 +12097,6 @@ func UTF8FindPrevChar(str, p string) string { // The function returns the following values: // // - gunichar: resulting character. -// func UTF8GetChar(p string) uint32 { var _arg1 *C.gchar // out var _cret C.gunichar // in @@ -12321,7 +12133,6 @@ func UTF8GetChar(p string) uint32 { // end of a string that could begin a valid character (or if max_len is // zero), returns (gunichar)-2; otherwise, if p does not point to a valid // UTF-8 encoded Unicode character, returns (gunichar)-1. -// func UTF8GetCharValidated(p string, maxLen int) uint32 { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12361,7 +12172,6 @@ func UTF8GetCharValidated(p string, maxLen int) uint32 { // The function returns the following values: // // - utf8: valid UTF-8 string whose content resembles str. -// func UTF8MakeValid(str string, len int) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12412,7 +12222,6 @@ func UTF8MakeValid(str string, len int) string { // // - utf8 (optional): newly allocated string, that is the normalized form of // str, or NULL if str is not valid UTF-8. -// func UTF8Normalize(str string, len int, mode NormalizeMode) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12461,7 +12270,6 @@ func UTF8Normalize(str string, len int, mode NormalizeMode) string { // The function returns the following values: // // - utf8: resulting pointer. -// func UTF8OffsetToPointer(str string, offset int32) string { var _arg1 *C.gchar // out var _arg2 C.glong // out @@ -12496,7 +12304,6 @@ func UTF8OffsetToPointer(str string, offset int32) string { // The function returns the following values: // // - glong: resulting character offset. -// func UTF8PointerToOffset(str, pos string) int32 { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -12532,7 +12339,6 @@ func UTF8PointerToOffset(str, pos string) int32 { // The function returns the following values: // // - utf8: pointer to the found character. -// func UTF8PrevChar(p string) string { var _arg1 *C.gchar // out var _cret *C.gchar // in @@ -12565,7 +12371,6 @@ func UTF8PrevChar(p string) string { // - utf8 (optional): NULL if the string does not contain the character, // otherwise, a pointer to the start of the leftmost occurrence of the // character in the string. -// func UTF8Strchr(p string, len int, c uint32) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12603,7 +12408,6 @@ func UTF8Strchr(p string, len int, c uint32) string { // The function returns the following values: // // - utf8: newly allocated string, with all characters converted to lowercase. -// func UTF8Strdown(str string, len int) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12640,7 +12444,6 @@ func UTF8Strdown(str string, len int) string { // The function returns the following values: // // - glong: length of the string in characters. -// func UTF8Strlen(p string, max int) int32 { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12678,7 +12481,6 @@ func UTF8Strlen(p string, max int) int32 { // The function returns the following values: // // - utf8: dest. -// func UTF8Strncpy(dest, src string, n uint) string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -12718,7 +12520,6 @@ func UTF8Strncpy(dest, src string, n uint) string { // - utf8 (optional): NULL if the string does not contain the character, // otherwise, a pointer to the start of the rightmost occurrence of the // character in the string. -// func UTF8Strrchr(p string, len int, c uint32) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12765,7 +12566,6 @@ func UTF8Strrchr(p string, len int, c uint32) string { // The function returns the following values: // // - utf8: newly-allocated string which is the reverse of str. -// func UTF8Strreverse(str string, len int) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12800,7 +12600,6 @@ func UTF8Strreverse(str string, len int) string { // The function returns the following values: // // - utf8: newly allocated string, with all characters converted to uppercase. -// func UTF8Strup(str string, len int) string { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -12835,7 +12634,6 @@ func UTF8Strup(str string, len int) string { // // - utf8: newly allocated copy of the requested substring. Free with g_free() // when no longer needed. -// func UTF8Substring(str string, startPos, endPos int32) string { var _arg1 *C.gchar // out var _arg2 C.glong // out @@ -12881,7 +12679,6 @@ func UTF8Substring(str string, startPos, endPos int32) string { // - gunichar: pointer to a newly allocated UCS-4 string. This value must be // freed with g_free(). If an error occurs, NULL will be returned and error // set. -// func UTF8ToUCS4(str string, len int32) (itemsRead, itemsWritten int32, gunichar *uint32, goerr error) { var _arg1 *C.gchar // out var _arg2 C.glong // out @@ -12930,7 +12727,6 @@ func UTF8ToUCS4(str string, len int32) (itemsRead, itemsWritten int32, gunichar // the result, or NULL. // - gunichar: pointer to a newly allocated UCS-4 string. This value must be // freed with g_free(). -// func UTF8ToUCS4Fast(str string, len int32) (int32, *uint32) { var _arg1 *C.gchar // out var _arg2 C.glong // out @@ -12974,7 +12770,6 @@ func UTF8ToUCS4Fast(str string, len int32) (int32, *uint32) { // - guint16: pointer to a newly allocated UTF-16 string. This value must be // freed with g_free(). If an error occurs, NULL will be returned and error // set. -// func UTF8ToUTF16(str string, len int32) (itemsRead, itemsWritten int32, guint16 *uint16, goerr error) { var _arg1 *C.gchar // out var _arg2 C.glong // out @@ -13028,7 +12823,6 @@ func UTF8ToUTF16(str string, len int32) (itemsRead, itemsWritten int32, guint16 // // - end (optional): return location for end of valid data. // - ok: TRUE if the text was valid UTF-8. -// func UTF8Validate(str string) (string, bool) { var _arg1 *C.gchar // out var _arg2 C.gssize @@ -13069,7 +12863,6 @@ func UTF8Validate(str string) (string, bool) { // // - end (optional): return location for end of valid data. // - ok: TRUE if the text was valid UTF-8. -// func UTF8ValidateLen(str string) (string, bool) { var _arg1 *C.gchar // out var _arg2 C.gsize @@ -13113,7 +12906,6 @@ func UTF8ValidateLen(str string) (string, bool) { // The function returns the following values: // // - ok: TRUE if str is a valid UUID, FALSE otherwise. -// func UUIDStringIsValid(str string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -13141,7 +12933,6 @@ func UUIDStringIsValid(str string) bool { // The function returns the following values: // // - utf8: string that should be freed with g_free(). -// func UUIDStringRandom() string { var _cret *C.gchar // in @@ -13318,7 +13109,6 @@ func NewBytes(data []byte) *Bytes { // // - gint: negative value if bytes1 is less than bytes2, a positive value if // bytes1 is greater than bytes2, and zero if bytes1 is equal to bytes2. -// func (bytes1 *Bytes) Compare(bytes2 *Bytes) int { var _arg0 C.gconstpointer // out var _arg1 C.gconstpointer // out @@ -13351,7 +13141,6 @@ func (bytes1 *Bytes) Compare(bytes2 *Bytes) int { // The function returns the following values: // // - ok: TRUE if the two keys match. -// func (bytes1 *Bytes) Equal(bytes2 *Bytes) bool { var _arg0 C.gconstpointer // out var _arg1 C.gconstpointer // out @@ -13384,7 +13173,6 @@ func (bytes1 *Bytes) Equal(bytes2 *Bytes) bool { // The function returns the following values: // // - guint8s (optional): a pointer to the byte data, or NULL. -// func (bytes *Bytes) Data() []byte { var _arg0 *C.GBytes // out var _cret C.gconstpointer // in @@ -13410,7 +13198,6 @@ func (bytes *Bytes) Data() []byte { // The function returns the following values: // // - gsize: size. -// func (bytes *Bytes) Size() uint { var _arg0 *C.GBytes // out var _cret C.gsize // in @@ -13435,7 +13222,6 @@ func (bytes *Bytes) Size() uint { // The function returns the following values: // // - guint: hash value corresponding to the key. -// func (bytes *Bytes) Hash() uint { var _arg0 C.gconstpointer // out var _cret C.guint // in @@ -13472,7 +13258,6 @@ func (bytes *Bytes) Hash() uint { // The function returns the following values: // // - ret: new #GBytes. -// func (bytes *Bytes) NewFromBytes(offset uint, length uint) *Bytes { var _arg0 *C.GBytes // out var _arg1 C.gsize // out @@ -13553,7 +13338,6 @@ func NewChecksum(checksumType ChecksumType) *Checksum { // // - ret: copy of the passed #GChecksum. Use g_checksum_free() when finished // using it. -// func (checksum *Checksum) Copy() *Checksum { var _arg0 *C.GChecksum // out var _cret *C.GChecksum // in @@ -13587,7 +13371,6 @@ func (checksum *Checksum) Copy() *Checksum { // // - utf8: hexadecimal representation of the checksum. The returned string is // owned by the checksum and should not be modified or freed. -// func (checksum *Checksum) String() string { var _arg0 *C.GChecksum // out var _cret *C.gchar // in @@ -13621,7 +13404,6 @@ func (checksum *Checksum) Reset() { // The function takes the following parameters: // // - data: buffer used to compute the checksum. -// func (checksum *Checksum) Update(data []byte) { var _arg0 *C.GChecksum // out var _arg1 *C.guchar // out @@ -13648,7 +13430,6 @@ func (checksum *Checksum) Update(data []byte) { // The function returns the following values: // // - gssize: checksum length, or -1 if checksum_type is not supported. -// func ChecksumTypeGetLength(checksumType ChecksumType) int { var _arg1 C.GChecksumType // out var _cret C.gssize // in @@ -14014,7 +13795,6 @@ func NewDateTimeUTC(year int, month int, day int, hour int, minute int, seconds // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) Add(timespan TimeSpan) *DateTime { var _arg0 *C.GDateTime // out var _arg1 C.GTimeSpan // out @@ -14055,7 +13835,6 @@ func (datetime *DateTime) Add(timespan TimeSpan) *DateTime { // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) AddDays(days int) *DateTime { var _arg0 *C.GDateTime // out var _arg1 C.gint // out @@ -14099,7 +13878,6 @@ func (datetime *DateTime) AddDays(days int) *DateTime { // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) AddFull(years int, months int, days int, hours int, minutes int, seconds float64) *DateTime { var _arg0 *C.GDateTime // out var _arg1 C.gint // out @@ -14153,7 +13931,6 @@ func (datetime *DateTime) AddFull(years int, months int, days int, hours int, mi // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) AddHours(hours int) *DateTime { var _arg0 *C.GDateTime // out var _arg1 C.gint // out @@ -14192,7 +13969,6 @@ func (datetime *DateTime) AddHours(hours int) *DateTime { // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) AddMinutes(minutes int) *DateTime { var _arg0 *C.GDateTime // out var _arg1 C.gint // out @@ -14236,7 +14012,6 @@ func (datetime *DateTime) AddMinutes(minutes int) *DateTime { // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) AddMonths(months int) *DateTime { var _arg0 *C.GDateTime // out var _arg1 C.gint // out @@ -14275,7 +14050,6 @@ func (datetime *DateTime) AddMonths(months int) *DateTime { // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) AddSeconds(seconds float64) *DateTime { var _arg0 *C.GDateTime // out var _arg1 C.gdouble // out @@ -14314,7 +14088,6 @@ func (datetime *DateTime) AddSeconds(seconds float64) *DateTime { // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) AddWeeks(weeks int) *DateTime { var _arg0 *C.GDateTime // out var _arg1 C.gint // out @@ -14356,7 +14129,6 @@ func (datetime *DateTime) AddWeeks(weeks int) *DateTime { // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) AddYears(years int) *DateTime { var _arg0 *C.GDateTime // out var _arg1 C.gint // out @@ -14394,7 +14166,6 @@ func (datetime *DateTime) AddYears(years int) *DateTime { // The function returns the following values: // // - gint: -1, 0 or 1 if dt1 is less than, equal to or greater than dt2. -// func (dt1 *DateTime) Compare(dt2 *DateTime) int { var _arg0 C.gconstpointer // out var _arg1 C.gconstpointer // out @@ -14426,7 +14197,6 @@ func (dt1 *DateTime) Compare(dt2 *DateTime) int { // // - timeSpan: difference between the two Time, as a time span expressed in // microseconds. -// func (end *DateTime) Difference(begin *DateTime) TimeSpan { var _arg0 *C.GDateTime // out var _arg1 *C.GDateTime // out @@ -14460,7 +14230,6 @@ func (end *DateTime) Difference(begin *DateTime) TimeSpan { // The function returns the following values: // // - ok: TRUE if dt1 and dt2 are equal. -// func (dt1 *DateTime) Equal(dt2 *DateTime) bool { var _arg0 C.gconstpointer // out var _arg1 C.gconstpointer // out @@ -14633,7 +14402,6 @@ func (dt1 *DateTime) Equal(dt2 *DateTime) bool { // or NULL in the case that there was an error (such as a format specifier // not being supported in the current locale). The string should be freed // with g_free(). -// func (datetime *DateTime) Format(format string) string { var _arg0 *C.GDateTime // out var _arg1 *C.gchar // out @@ -14668,7 +14436,6 @@ func (datetime *DateTime) Format(format string) string { // - utf8 (optional): newly allocated string formatted in ISO 8601 format or // NULL in the case that there was an error. The string should be freed with // g_free(). -// func (datetime *DateTime) FormatISO8601() string { var _arg0 *C.GDateTime // out var _cret *C.gchar // in @@ -14694,7 +14461,6 @@ func (datetime *DateTime) FormatISO8601() string { // The function returns the following values: // // - gint: day of the month. -// func (datetime *DateTime) DayOfMonth() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -14717,7 +14483,6 @@ func (datetime *DateTime) DayOfMonth() int { // The function returns the following values: // // - gint: day of the week. -// func (datetime *DateTime) DayOfWeek() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -14740,7 +14505,6 @@ func (datetime *DateTime) DayOfWeek() int { // The function returns the following values: // // - gint: day of the year. -// func (datetime *DateTime) DayOfYear() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -14762,7 +14526,6 @@ func (datetime *DateTime) DayOfYear() int { // The function returns the following values: // // - gint: hour of the day. -// func (datetime *DateTime) Hour() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -14784,7 +14547,6 @@ func (datetime *DateTime) Hour() int { // The function returns the following values: // // - gint: microsecond of the second. -// func (datetime *DateTime) Microsecond() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -14806,7 +14568,6 @@ func (datetime *DateTime) Microsecond() int { // The function returns the following values: // // - gint: minute of the hour. -// func (datetime *DateTime) Minute() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -14829,7 +14590,6 @@ func (datetime *DateTime) Minute() int { // The function returns the following values: // // - gint: month represented by datetime. -// func (datetime *DateTime) Month() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -14851,7 +14611,6 @@ func (datetime *DateTime) Month() int { // The function returns the following values: // // - gint: second represented by datetime. -// func (datetime *DateTime) Second() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -14874,7 +14633,6 @@ func (datetime *DateTime) Second() int { // The function returns the following values: // // - gdouble: number of seconds. -// func (datetime *DateTime) Seconds() float64 { var _arg0 *C.GDateTime // out var _cret C.gdouble // in @@ -14896,7 +14654,6 @@ func (datetime *DateTime) Seconds() float64 { // The function returns the following values: // // - timeZone: time zone. -// func (datetime *DateTime) Timezone() *TimeZone { var _arg0 *C.GDateTime // out var _cret *C.GTimeZone // in @@ -14930,7 +14687,6 @@ func (datetime *DateTime) Timezone() *TimeZone { // // - utf8: time zone abbreviation. The returned string is owned by the Time // and it should not be modified or freed. -// func (datetime *DateTime) TimezoneAbbreviation() string { var _arg0 *C.GDateTime // out var _cret *C.gchar // in @@ -14960,7 +14716,6 @@ func (datetime *DateTime) TimezoneAbbreviation() string { // // - timeSpan: number of microseconds that should be added to UTC to get the // local time. -// func (datetime *DateTime) UTCOffset() TimeSpan { var _arg0 *C.GDateTime // out var _cret C.GTimeSpan // in @@ -15013,7 +14768,6 @@ func (datetime *DateTime) UTCOffset() TimeSpan { // The function returns the following values: // // - gint: ISO 8601 week-numbering year for datetime. -// func (datetime *DateTime) WeekNumberingYear() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -15048,7 +14802,6 @@ func (datetime *DateTime) WeekNumberingYear() int { // The function returns the following values: // // - gint: ISO 8601 week number for datetime. -// func (datetime *DateTime) WeekOfYear() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -15070,7 +14823,6 @@ func (datetime *DateTime) WeekOfYear() int { // The function returns the following values: // // - gint: year represented by datetime. -// func (datetime *DateTime) Year() int { var _arg0 *C.GDateTime // out var _cret C.gint // in @@ -15094,7 +14846,6 @@ func (datetime *DateTime) Year() int { // - year (optional): return location for the gregorian year, or NULL. // - month (optional): return location for the month of the year, or NULL. // - day (optional): return location for the day of the month, or NULL. -// func (datetime *DateTime) Ymd() (year int, month int, day int) { var _arg0 *C.GDateTime // out var _arg1 C.gint // in @@ -15122,7 +14873,6 @@ func (datetime *DateTime) Ymd() (year int, month int, day int) { // The function returns the following values: // // - guint containing the hash. -// func (datetime *DateTime) Hash() uint { var _arg0 C.gconstpointer // out var _cret C.guint // in @@ -15145,7 +14895,6 @@ func (datetime *DateTime) Hash() uint { // The function returns the following values: // // - ok: TRUE if daylight savings time is in effect. -// func (datetime *DateTime) IsDaylightSavings() bool { var _arg0 *C.GDateTime // out var _cret C.gboolean // in @@ -15174,7 +14923,6 @@ func (datetime *DateTime) IsDaylightSavings() bool { // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) ToLocal() *DateTime { var _arg0 *C.GDateTime // out var _cret *C.GDateTime // in @@ -15221,7 +14969,6 @@ func (datetime *DateTime) ToLocal() *DateTime { // The function returns the following values: // // - ok: TRUE if successful, else FALSE. -// func (datetime *DateTime) ToTimeval(tv *TimeVal) bool { var _arg0 *C.GDateTime // out var _arg1 *C.GTimeVal // out @@ -15258,7 +15005,6 @@ func (datetime *DateTime) ToTimeval(tv *TimeVal) bool { // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) ToTimezone(tz *TimeZone) *DateTime { var _arg0 *C.GDateTime // out var _arg1 *C.GTimeZone // out @@ -15295,7 +15041,6 @@ func (datetime *DateTime) ToTimezone(tz *TimeZone) *DateTime { // The function returns the following values: // // - gint64: unix time corresponding to datetime. -// func (datetime *DateTime) ToUnix() int64 { var _arg0 *C.GDateTime // out var _cret C.gint64 // in @@ -15322,7 +15067,6 @@ func (datetime *DateTime) ToUnix() int64 { // // - dateTime (optional): newly created Time which should be freed with // g_date_time_unref(), or NULL. -// func (datetime *DateTime) ToUTC() *DateTime { var _arg0 *C.GDateTime // out var _cret *C.GDateTime // in @@ -15423,7 +15167,6 @@ func marshalHashTable(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if the key did not exist yet. -// func HashTableAdd(hashTable map[unsafe.Pointer]unsafe.Pointer, key unsafe.Pointer) bool { var _arg1 *C.GHashTable // out var _arg2 C.gpointer // out @@ -15463,7 +15206,6 @@ func HashTableAdd(hashTable map[unsafe.Pointer]unsafe.Pointer, key unsafe.Pointe // The function returns the following values: // // - ok: TRUE if key is in hash_table, FALSE otherwise. -// func HashTableContains(hashTable map[unsafe.Pointer]unsafe.Pointer, key unsafe.Pointer) bool { var _arg1 *C.GHashTable // out var _arg2 C.gconstpointer // out @@ -15502,7 +15244,6 @@ func HashTableContains(hashTable map[unsafe.Pointer]unsafe.Pointer, key unsafe.P // The function takes the following parameters: // // - hashTable: Table. -// func HashTableDestroy(hashTable map[unsafe.Pointer]unsafe.Pointer) { var _arg1 *C.GHashTable // out @@ -15539,7 +15280,6 @@ func HashTableDestroy(hashTable map[unsafe.Pointer]unsafe.Pointer) { // The function returns the following values: // // - ok: TRUE if the key did not exist yet. -// func HashTableInsert(hashTable map[unsafe.Pointer]unsafe.Pointer, key, value unsafe.Pointer) bool { var _arg1 *C.GHashTable // out var _arg2 C.gpointer // out @@ -15585,7 +15325,6 @@ func HashTableInsert(hashTable map[unsafe.Pointer]unsafe.Pointer, key, value uns // The function returns the following values: // // - gpointer (optional): associated value, or NULL if the key is not found. -// func HashTableLookup(hashTable map[unsafe.Pointer]unsafe.Pointer, key unsafe.Pointer) unsafe.Pointer { var _arg1 *C.GHashTable // out var _arg2 C.gconstpointer // out @@ -15631,7 +15370,6 @@ func HashTableLookup(hashTable map[unsafe.Pointer]unsafe.Pointer, key unsafe.Poi // - origKey (optional): return location for the original key. // - value (optional): return location for the value associated with the key. // - ok: TRUE if the key was found in the Table. -// func HashTableLookupExtended(hashTable map[unsafe.Pointer]unsafe.Pointer, lookupKey unsafe.Pointer) (origKey, value unsafe.Pointer, ok bool) { var _arg1 *C.GHashTable // out var _arg2 C.gconstpointer // out @@ -15681,7 +15419,6 @@ func HashTableLookupExtended(hashTable map[unsafe.Pointer]unsafe.Pointer, lookup // The function returns the following values: // // - ok: TRUE if the key was found and removed from the Table. -// func HashTableRemove(hashTable map[unsafe.Pointer]unsafe.Pointer, key unsafe.Pointer) bool { var _arg1 *C.GHashTable // out var _arg2 C.gconstpointer // out @@ -15720,7 +15457,6 @@ func HashTableRemove(hashTable map[unsafe.Pointer]unsafe.Pointer, key unsafe.Poi // The function takes the following parameters: // // - hashTable: Table. -// func HashTableRemoveAll(hashTable map[unsafe.Pointer]unsafe.Pointer) { var _arg1 *C.GHashTable // out @@ -15757,7 +15493,6 @@ func HashTableRemoveAll(hashTable map[unsafe.Pointer]unsafe.Pointer) { // The function returns the following values: // // - ok: TRUE if the key did not exist yet. -// func HashTableReplace(hashTable map[unsafe.Pointer]unsafe.Pointer, key, value unsafe.Pointer) bool { var _arg1 *C.GHashTable // out var _arg2 C.gpointer // out @@ -15799,7 +15534,6 @@ func HashTableReplace(hashTable map[unsafe.Pointer]unsafe.Pointer, key, value un // The function returns the following values: // // - guint: number of key/value pairs in the Table. -// func HashTableSize(hashTable map[unsafe.Pointer]unsafe.Pointer) uint { var _arg1 *C.GHashTable // out var _cret C.guint // in @@ -15835,7 +15569,6 @@ func HashTableSize(hashTable map[unsafe.Pointer]unsafe.Pointer) uint { // The function returns the following values: // // - ok: TRUE if the key was found and removed from the Table. -// func HashTableSteal(hashTable map[unsafe.Pointer]unsafe.Pointer, key unsafe.Pointer) bool { var _arg1 *C.GHashTable // out var _arg2 C.gconstpointer // out @@ -15871,7 +15604,6 @@ func HashTableSteal(hashTable map[unsafe.Pointer]unsafe.Pointer, key unsafe.Poin // The function takes the following parameters: // // - hashTable: Table. -// func HashTableStealAll(hashTable map[unsafe.Pointer]unsafe.Pointer) { var _arg1 *C.GHashTable // out @@ -15911,7 +15643,6 @@ func HashTableStealAll(hashTable map[unsafe.Pointer]unsafe.Pointer) { // - stolenValue (optional): return location for the value associated with the // key. // - ok: TRUE if the key was found in the Table. -// func HashTableStealExtended(hashTable map[unsafe.Pointer]unsafe.Pointer, lookupKey unsafe.Pointer) (stolenKey, stolenValue unsafe.Pointer, ok bool) { var _arg1 *C.GHashTable // out var _arg2 C.gconstpointer // out @@ -15971,19 +15702,18 @@ type hashTableIter struct { // The iteration order of a TableIter over the keys/values in a hash table is // not defined. // -// GHashTableIter iter; -// gpointer key, value; +// GHashTableIter iter; +// gpointer key, value; // -// g_hash_table_iter_init (&iter, hash_table); -// while (g_hash_table_iter_next (&iter, &key, &value)) -// { -// // do something with key and value -// }. +// g_hash_table_iter_init (&iter, hash_table); +// while (g_hash_table_iter_next (&iter, &key, &value)) +// { +// // do something with key and value +// }. // // The function takes the following parameters: // // - hashTable: Table. -// func (iter *HashTableIter) Init(hashTable map[unsafe.Pointer]unsafe.Pointer) { var _arg0 *C.GHashTableIter // out var _arg1 *C.GHashTable // out @@ -16013,7 +15743,6 @@ func (iter *HashTableIter) Init(hashTable map[unsafe.Pointer]unsafe.Pointer) { // - key (optional): location to store the key. // - value (optional): location to store the value. // - ok: FALSE if the end of the Table has been reached. -// func (iter *HashTableIter) Next() (key unsafe.Pointer, value unsafe.Pointer, ok bool) { var _arg0 *C.GHashTableIter // out var _arg1 C.gpointer // in @@ -16049,11 +15778,11 @@ func (iter *HashTableIter) Next() (key unsafe.Pointer, value unsafe.Pointer, ok // // It is safe to continue iterating the Table afterward: // -// while (g_hash_table_iter_next (&iter, &key, &value)) -// { -// if (condition) -// g_hash_table_iter_remove (&iter); -// }. +// while (g_hash_table_iter_next (&iter, &key, &value)) +// { +// if (condition) +// g_hash_table_iter_remove (&iter); +// }. func (iter *HashTableIter) Remove() { var _arg0 *C.GHashTableIter // out @@ -16073,7 +15802,6 @@ func (iter *HashTableIter) Remove() { // The function takes the following parameters: // // - value (optional) to replace with. -// func (iter *HashTableIter) Replace(value unsafe.Pointer) { var _arg0 *C.GHashTableIter // out var _arg1 C.gpointer // out @@ -16193,7 +15921,6 @@ func (channel *IOChannel) Close() { // // - ioStatus status of the operation: One of IO_STATUS_NORMAL, // IO_STATUS_AGAIN, or IO_STATUS_ERROR. -// func (channel *IOChannel) Flush() (IOStatus, error) { var _arg0 *C.GIOChannel // out var _cret C.GIOStatus // in @@ -16222,7 +15949,6 @@ func (channel *IOChannel) Flush() (IOStatus, error) { // The function returns the following values: // // - ioCondition: OCondition. -// func (channel *IOChannel) BufferCondition() IOCondition { var _arg0 *C.GIOChannel // out var _cret C.GIOCondition // in @@ -16244,7 +15970,6 @@ func (channel *IOChannel) BufferCondition() IOCondition { // The function returns the following values: // // - gsize: size of the buffer. -// func (channel *IOChannel) BufferSize() uint { var _arg0 *C.GIOChannel // out var _cret C.gsize // in @@ -16266,7 +15991,6 @@ func (channel *IOChannel) BufferSize() uint { // The function returns the following values: // // - ok: TRUE if the channel is buffered. -// func (channel *IOChannel) Buffered() bool { var _arg0 *C.GIOChannel // out var _cret C.gboolean // in @@ -16293,7 +16017,6 @@ func (channel *IOChannel) Buffered() bool { // // - utf8: string containing the encoding, this string is owned by GLib and // must not be freed. -// func (channel *IOChannel) Encoding() string { var _arg0 *C.GIOChannel // out var _cret *C.gchar // in @@ -16322,7 +16045,6 @@ func (channel *IOChannel) Encoding() string { // The function returns the following values: // // - ioFlags flags which are set on the channel. -// func (channel *IOChannel) Flags() IOFlags { var _arg0 *C.GIOChannel // out var _cret C.GIOFlags // in @@ -16350,7 +16072,6 @@ func (channel *IOChannel) Flags() IOFlags { // // - utf8: line termination string. This value is owned by GLib and must not // be freed. -// func (channel *IOChannel) LineTerm(length *int) string { var _arg0 *C.GIOChannel // out var _arg1 *C.gint // out @@ -16396,7 +16117,6 @@ func (channel *IOChannel) Init() { // on success if count < 6 and the channel's encoding is non-NULL. This // indicates that the next UTF-8 character is too wide for the buffer. // - ioStatus status of the operation. -// func (channel *IOChannel) ReadChars(buf []byte) (uint, IOStatus, error) { var _arg0 *C.GIOChannel // out var _arg1 *C.gchar // out @@ -16441,7 +16161,6 @@ func (channel *IOChannel) ReadChars(buf []byte) (uint, IOStatus, error) { // - terminatorPos (optional): location to store position of line terminator, // or NULL. // - ioStatus status of the operation. -// func (channel *IOChannel) ReadLine() (strReturn string, length uint, terminatorPos uint, ioStatus IOStatus, goerr error) { var _arg0 *C.GIOChannel // out var _arg1 *C.gchar // in @@ -16483,7 +16202,6 @@ func (channel *IOChannel) ReadLine() (strReturn string, length uint, terminatorP // but there may be other nuls in the intervening data. // - ioStatus: G_IO_STATUS_NORMAL on success. This function never returns // G_IO_STATUS_EOF. -// func (channel *IOChannel) ReadToEnd() ([]byte, IOStatus, error) { var _arg0 *C.GIOChannel // out var _arg1 *C.gchar // in @@ -16518,7 +16236,6 @@ func (channel *IOChannel) ReadToEnd() ([]byte, IOStatus, error) { // // - thechar: location to return a character. // - ioStatus: OStatus. -// func (channel *IOChannel) ReadUnichar() (uint32, IOStatus, error) { var _arg0 *C.GIOChannel // out var _arg1 C.gunichar // in @@ -16559,7 +16276,6 @@ func (channel *IOChannel) ReadUnichar() (uint32, IOStatus, error) { // The function returns the following values: // // - ioError: G_IO_ERROR_NONE if the operation was successful. -// func (channel *IOChannel) Seek(offset int64, typ SeekType) IOError { var _arg0 *C.GIOChannel // out var _arg1 C.gint64 // out @@ -16594,7 +16310,6 @@ func (channel *IOChannel) Seek(offset int64, typ SeekType) IOError { // The function returns the following values: // // - ioStatus status of the operation. -// func (channel *IOChannel) SeekPosition(offset int64, typ SeekType) (IOStatus, error) { var _arg0 *C.GIOChannel // out var _arg1 C.gint64 // out @@ -16627,7 +16342,6 @@ func (channel *IOChannel) SeekPosition(offset int64, typ SeekType) (IOStatus, er // The function takes the following parameters: // // - size of the buffer, or 0 to let GLib pick a good size. -// func (channel *IOChannel) SetBufferSize(size uint) { var _arg0 *C.GIOChannel // out var _arg1 C.gsize // out @@ -16660,7 +16374,6 @@ func (channel *IOChannel) SetBufferSize(size uint) { // The function takes the following parameters: // // - buffered: whether to set the channel buffered or unbuffered. -// func (channel *IOChannel) SetBuffered(buffered bool) { var _arg0 *C.GIOChannel // out var _arg1 C.gboolean // out @@ -16715,7 +16428,6 @@ func (channel *IOChannel) SetBuffered(buffered bool) { // The function returns the following values: // // - ioStatus: G_IO_STATUS_NORMAL if the encoding was successfully set. -// func (channel *IOChannel) SetEncoding(encoding string) (IOStatus, error) { var _arg0 *C.GIOChannel // out var _arg1 *C.gchar // out @@ -16753,7 +16465,6 @@ func (channel *IOChannel) SetEncoding(encoding string) (IOStatus, error) { // The function returns the following values: // // - ioStatus status of the operation. -// func (channel *IOChannel) SetFlags(flags IOFlags) (IOStatus, error) { var _arg0 *C.GIOChannel // out var _arg1 C.GIOFlags // out @@ -16790,7 +16501,6 @@ func (channel *IOChannel) SetFlags(flags IOFlags) (IOStatus, error) { // - length of the termination string. If -1 is passed, the string is assumed // to be nul-terminated. This option allows termination strings with // embedded nuls. -// func (channel *IOChannel) SetLineTerm(lineTerm string, length int) { var _arg0 *C.GIOChannel // out var _arg1 *C.gchar // out @@ -16820,7 +16530,6 @@ func (channel *IOChannel) SetLineTerm(lineTerm string, length int) { // The function returns the following values: // // - ioStatus status of the operation. -// func (channel *IOChannel) Shutdown(flush bool) (IOStatus, error) { var _arg0 *C.GIOChannel // out var _arg1 C.gboolean // out @@ -16855,7 +16564,6 @@ func (channel *IOChannel) Shutdown(flush bool) (IOStatus, error) { // The function returns the following values: // // - gint: file descriptor of the OChannel. -// func (channel *IOChannel) UnixGetFd() int { var _arg0 *C.GIOChannel // out var _cret C.gint // in @@ -16885,7 +16593,6 @@ func (channel *IOChannel) UnixGetFd() int { // The function returns the following values: // // - ioError: G_IO_ERROR_NONE if the operation was successful. -// func (channel *IOChannel) Write(buf string, count uint, bytesWritten *uint) IOError { var _arg0 *C.GIOChannel // out var _arg1 *C.gchar // out @@ -16932,7 +16639,6 @@ func (channel *IOChannel) Write(buf string, count uint, bytesWritten *uint) IOEr // G_IO_STATUS_NORMAL and the channel is blocking, this will always be equal // to count if count >= 0. // - ioStatus status of the operation. -// func (channel *IOChannel) WriteChars(buf string, count int) (uint, IOStatus, error) { var _arg0 *C.GIOChannel // out var _arg1 *C.gchar // out @@ -16975,7 +16681,6 @@ func (channel *IOChannel) WriteChars(buf string, count int) (uint, IOStatus, err // The function returns the following values: // // - ioStatus: OStatus. -// func (channel *IOChannel) WriteUnichar(thechar uint32) (IOStatus, error) { var _arg0 *C.GIOChannel // out var _arg1 C.gunichar // out @@ -17009,7 +16714,6 @@ func (channel *IOChannel) WriteUnichar(thechar uint32) (IOStatus, error) { // The function returns the following values: // // - ioChannelError error number, e.g. G_IO_CHANNEL_ERROR_INVAL. -// func IOChannelErrorFromErrno(en int) IOChannelError { var _arg1 C.gint // out var _cret C.GIOChannelError // in @@ -17101,7 +16805,6 @@ func NewKeyFile() *KeyFile { // // - groupName: group name. // - key: key. -// func (keyFile *KeyFile) Boolean(groupName string, key string) error { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17146,7 +16849,6 @@ func (keyFile *KeyFile) Boolean(groupName string, key string) error { // - oks: the values associated with the key as a list of booleans, or NULL // if the key was not found or could not be parsed. The returned list of // booleans should be freed with g_free() when no longer needed. -// func (keyFile *KeyFile) BooleanList(groupName string, key string) ([]bool, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17195,7 +16897,6 @@ func (keyFile *KeyFile) BooleanList(groupName string, key string) ([]bool, error // The function returns the following values: // // - utf8: comment that should be freed with g_free(). -// func (keyFile *KeyFile) Comment(groupName string, key string) (string, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17247,7 +16948,6 @@ func (keyFile *KeyFile) Comment(groupName string, key string) (string, error) { // // - gdouble: value associated with the key as a double, or 0.0 if the key was // not found or could not be parsed. -// func (keyFile *KeyFile) Double(groupName string, key string) (float64, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17295,7 +16995,6 @@ func (keyFile *KeyFile) Double(groupName string, key string) (float64, error) { // - gdoubles: the values associated with the key as a list of doubles, // or NULL if the key was not found or could not be parsed. The returned // list of doubles should be freed with g_free() when no longer needed. -// func (keyFile *KeyFile) DoubleList(groupName string, key string) ([]float64, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17337,7 +17036,6 @@ func (keyFile *KeyFile) DoubleList(groupName string, key string) ([]float64, err // or NULL. // - utf8s: newly-allocated NULL-terminated array of strings. Use g_strfreev() // to free it. -// func (keyFile *KeyFile) Groups() (uint, []string) { var _arg0 *C.GKeyFile // out var _arg1 C.gsize // in @@ -17384,7 +17082,6 @@ func (keyFile *KeyFile) Groups() (uint, []string) { // // - gint64: value associated with the key as a signed 64-bit integer, or 0 if // the key was not found or could not be parsed. -// func (keyFile *KeyFile) Int64(groupName string, key string) (int64, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17430,7 +17127,6 @@ func (keyFile *KeyFile) Int64(groupName string, key string) (int64, error) { // // - gint: value associated with the key as an integer, or 0 if the key was // not found or could not be parsed. -// func (keyFile *KeyFile) Integer(groupName string, key string) (int, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17478,7 +17174,6 @@ func (keyFile *KeyFile) Integer(groupName string, key string) (int, error) { // - gints: the values associated with the key as a list of integers, or NULL // if the key was not found or could not be parsed. The returned list of // integers should be freed with g_free() when no longer needed. -// func (keyFile *KeyFile) IntegerList(groupName string, key string) ([]int, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17531,7 +17226,6 @@ func (keyFile *KeyFile) IntegerList(groupName string, key string) ([]int, error) // or NULL. // - utf8s: newly-allocated NULL-terminated array of strings. Use g_strfreev() // to free it. -// func (keyFile *KeyFile) Keys(groupName string) (uint, []string, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17593,7 +17287,6 @@ func (keyFile *KeyFile) Keys(groupName string) (uint, []string, error) { // // - utf8 (optional): locale from the file, or NULL if the key was not found // or the entry in the file was was untranslated. -// func (keyFile *KeyFile) LocaleForKey(groupName string, key string, locale string) string { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17650,7 +17343,6 @@ func (keyFile *KeyFile) LocaleForKey(groupName string, key string, locale string // // - utf8: newly allocated string or NULL if the specified key cannot be // found. -// func (keyFile *KeyFile) LocaleString(groupName string, key string, locale string) (string, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17711,7 +17403,6 @@ func (keyFile *KeyFile) LocaleString(groupName string, key string, locale string // // - utf8s: newly allocated NULL-terminated string array or NULL if the key // isn't found. The string array should be freed with g_strfreev(). -// func (keyFile *KeyFile) LocaleStringList(groupName string, key string, locale string) ([]string, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17761,7 +17452,6 @@ func (keyFile *KeyFile) LocaleStringList(groupName string, key string, locale st // The function returns the following values: // // - utf8 (optional): start group of the key file. -// func (keyFile *KeyFile) StartGroup() string { var _arg0 *C.GKeyFile // out var _cret *C.gchar // in @@ -17797,7 +17487,6 @@ func (keyFile *KeyFile) StartGroup() string { // // - utf8: newly allocated string or NULL if the specified key cannot be // found. -// func (keyFile *KeyFile) String(groupName string, key string) (string, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17843,7 +17532,6 @@ func (keyFile *KeyFile) String(groupName string, key string) (string, error) { // // - utf8s: a NULL-terminated string array or NULL if the specified key cannot // be found. The array should be freed with g_strfreev(). -// func (keyFile *KeyFile) StringList(groupName string, key string) ([]string, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17895,7 +17583,6 @@ func (keyFile *KeyFile) StringList(groupName string, key string) ([]string, erro // // - guint64: value associated with the key as an unsigned 64-bit integer, // or 0 if the key was not found or could not be parsed. -// func (keyFile *KeyFile) Uint64(groupName string, key string) (uint64, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17941,7 +17628,6 @@ func (keyFile *KeyFile) Uint64(groupName string, key string) (uint64, error) { // // - utf8: newly allocated string or NULL if the specified key cannot be // found. -// func (keyFile *KeyFile) Value(groupName string, key string) (string, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -17981,7 +17667,6 @@ func (keyFile *KeyFile) Value(groupName string, key string) (string, error) { // The function returns the following values: // // - ok: TRUE if group_name is a part of key_file, FALSE otherwise. -// func (keyFile *KeyFile) HasGroup(groupName string) bool { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18011,7 +17696,6 @@ func (keyFile *KeyFile) HasGroup(groupName string) bool { // // - bytes: #GBytes. // - flags from FileFlags. -// func (keyFile *KeyFile) LoadFromBytes(bytes *Bytes, flags KeyFileFlags) error { var _arg0 *C.GKeyFile // out var _arg1 *C.GBytes // out @@ -18044,7 +17728,6 @@ func (keyFile *KeyFile) LoadFromBytes(bytes *Bytes, flags KeyFileFlags) error { // - data: key file loaded in memory. // - length of data in bytes (or (gsize)-1 if data is nul-terminated). // - flags from FileFlags. -// func (keyFile *KeyFile) LoadFromData(data string, length uint, flags KeyFileFlags) error { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18087,7 +17770,6 @@ func (keyFile *KeyFile) LoadFromData(data string, length uint, flags KeyFileFlag // // - fullPath (optional): return location for a string containing the full // path of the file, or NULL. -// func (keyFile *KeyFile) LoadFromDataDirs(file string, flags KeyFileFlags) (string, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18139,7 +17821,6 @@ func (keyFile *KeyFile) LoadFromDataDirs(file string, flags KeyFileFlags) (strin // // - fullPath (optional): return location for a string containing the full // path of the file, or NULL. -// func (keyFile *KeyFile) LoadFromDirs(file string, searchDirs []string, flags KeyFileFlags) (string, error) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18199,7 +17880,6 @@ func (keyFile *KeyFile) LoadFromDirs(file string, searchDirs []string, flags Key // // - file: path of a filename to load, in the GLib filename encoding. // - flags from FileFlags. -// func (keyFile *KeyFile) LoadFromFile(file string, flags KeyFileFlags) error { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18233,7 +17913,6 @@ func (keyFile *KeyFile) LoadFromFile(file string, flags KeyFileFlags) error { // // - groupName (optional): group name, or NULL. // - key (optional): key. -// func (keyFile *KeyFile) RemoveComment(groupName string, key string) error { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18269,7 +17948,6 @@ func (keyFile *KeyFile) RemoveComment(groupName string, key string) error { // The function takes the following parameters: // // - groupName: group name. -// func (keyFile *KeyFile) RemoveGroup(groupName string) error { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18298,7 +17976,6 @@ func (keyFile *KeyFile) RemoveGroup(groupName string) error { // // - groupName: group name. // - key name to remove. -// func (keyFile *KeyFile) RemoveKey(groupName string, key string) error { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18336,7 +18013,6 @@ func (keyFile *KeyFile) RemoveKey(groupName string, key string) error { // The function takes the following parameters: // // - filename: name of the file to write to. -// func (keyFile *KeyFile) SaveToFile(filename string) error { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18367,7 +18043,6 @@ func (keyFile *KeyFile) SaveToFile(filename string) error { // - groupName: group name. // - key: key. // - value: TRUE or FALSE. -// func (keyFile *KeyFile) SetBoolean(groupName string, key string, value bool) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18399,7 +18074,6 @@ func (keyFile *KeyFile) SetBoolean(groupName string, key string, value bool) { // - groupName: group name. // - key: key. // - list: array of boolean values. -// func (keyFile *KeyFile) SetBooleanList(groupName string, key string, list []bool) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18438,7 +18112,6 @@ func (keyFile *KeyFile) SetBooleanList(groupName string, key string, list []bool // - groupName (optional): group name, or NULL. // - key (optional): key. // - comment: comment. -// func (keyFile *KeyFile) SetComment(groupName string, key string, comment string) error { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18481,7 +18154,6 @@ func (keyFile *KeyFile) SetComment(groupName string, key string, comment string) // - groupName: group name. // - key: key. // - value: double value. -// func (keyFile *KeyFile) SetDouble(groupName string, key string, value float64) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18510,7 +18182,6 @@ func (keyFile *KeyFile) SetDouble(groupName string, key string, value float64) { // - groupName: group name. // - key: key. // - list: array of double values. -// func (keyFile *KeyFile) SetDoubleList(groupName string, key string, list []float64) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18543,7 +18214,6 @@ func (keyFile *KeyFile) SetDoubleList(groupName string, key string, list []float // - groupName: group name. // - key: key. // - value: integer value. -// func (keyFile *KeyFile) SetInt64(groupName string, key string, value int64) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18572,7 +18242,6 @@ func (keyFile *KeyFile) SetInt64(groupName string, key string, value int64) { // - groupName: group name. // - key: key. // - value: integer value. -// func (keyFile *KeyFile) SetInteger(groupName string, key string, value int) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18601,7 +18270,6 @@ func (keyFile *KeyFile) SetInteger(groupName string, key string, value int) { // - groupName: group name. // - key: key. // - list: array of integer values. -// func (keyFile *KeyFile) SetIntegerList(groupName string, key string, list []int) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18638,7 +18306,6 @@ func (keyFile *KeyFile) SetIntegerList(groupName string, key string, list []int) // The function takes the following parameters: // // - separator: separator. -// func (keyFile *KeyFile) SetListSeparator(separator byte) { var _arg0 *C.GKeyFile // out var _arg1 C.gchar // out @@ -18660,7 +18327,6 @@ func (keyFile *KeyFile) SetListSeparator(separator byte) { // - key: key. // - locale identifier. // - str: string. -// func (keyFile *KeyFile) SetLocaleString(groupName string, key string, locale string, str string) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18696,7 +18362,6 @@ func (keyFile *KeyFile) SetLocaleString(groupName string, key string, locale str // - key: key. // - locale identifier. // - list: NULL-terminated array of locale string values. -// func (keyFile *KeyFile) SetLocaleStringList(groupName string, key string, locale string, list []string) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18741,7 +18406,6 @@ func (keyFile *KeyFile) SetLocaleStringList(groupName string, key string, locale // - groupName: group name. // - key: key. // - str: string. -// func (keyFile *KeyFile) SetString(groupName string, key string, str string) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18772,7 +18436,6 @@ func (keyFile *KeyFile) SetString(groupName string, key string, str string) { // - groupName: group name. // - key: key. // - list: array of string values. -// func (keyFile *KeyFile) SetStringList(groupName string, key string, list []string) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18811,7 +18474,6 @@ func (keyFile *KeyFile) SetStringList(groupName string, key string, list []strin // - groupName: group name. // - key: key. // - value: integer value. -// func (keyFile *KeyFile) SetUint64(groupName string, key string, value uint64) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18843,7 +18505,6 @@ func (keyFile *KeyFile) SetUint64(groupName string, key string, value uint64) { // - groupName: group name. // - key: key. // - value: string. -// func (keyFile *KeyFile) SetValue(groupName string, key string, value string) { var _arg0 *C.GKeyFile // out var _arg1 *C.gchar // out @@ -18875,7 +18536,6 @@ func (keyFile *KeyFile) SetValue(groupName string, key string, value string) { // - length (optional): return location for the length of the returned string, // or NULL. // - utf8: newly allocated string holding the contents of the File. -// func (keyFile *KeyFile) ToData() (uint, string, error) { var _arg0 *C.GKeyFile // out var _arg1 C.gsize // in @@ -18992,7 +18652,6 @@ func NewMainContext() *MainContext { // // - ok: TRUE if the operation succeeded, and this thread is now the owner of // context. -// func (context *MainContext) Acquire() bool { var _arg0 *C.GMainContext // out var _cret C.gboolean // in @@ -19036,7 +18695,6 @@ func (context *MainContext) Dispatch() { // The function returns the following values: // // - source: source, if one was found, otherwise NULL. -// func (context *MainContext) FindSourceByFuncsUserData(funcs *SourceFuncs, userData unsafe.Pointer) *Source { var _arg0 *C.GMainContext // out var _arg1 *C.GSourceFuncs // out @@ -19087,7 +18745,6 @@ func (context *MainContext) FindSourceByFuncsUserData(funcs *SourceFuncs, userDa // The function returns the following values: // // - source: #GSource. -// func (context *MainContext) FindSourceByID(sourceId uint) *Source { var _arg0 *C.GMainContext // out var _arg1 C.guint // out @@ -19127,7 +18784,6 @@ func (context *MainContext) FindSourceByID(sourceId uint) *Source { // The function returns the following values: // // - source: source, if one was found, otherwise NULL. -// func (context *MainContext) FindSourceByUserData(userData unsafe.Pointer) *Source { var _arg0 *C.GMainContext // out var _arg1 C.gpointer // out @@ -19168,7 +18824,6 @@ func (context *MainContext) FindSourceByUserData(userData unsafe.Pointer) *Sourc // // - priority at which to run function. // - function to call. -// func (context *MainContext) InvokeFull(priority int, function SourceFunc) { var _arg0 *C.GMainContext // out var _arg1 C.gint // out @@ -19197,7 +18852,6 @@ func (context *MainContext) InvokeFull(priority int, function SourceFunc) { // The function returns the following values: // // - ok: TRUE if current thread is owner of context. -// func (context *MainContext) IsOwner() bool { var _arg0 *C.GMainContext // out var _cret C.gboolean // in @@ -19235,7 +18889,6 @@ func (context *MainContext) IsOwner() bool { // The function returns the following values: // // - ok: TRUE if events were dispatched. -// func (context *MainContext) Iteration(mayBlock bool) bool { var _arg0 *C.GMainContext // out var _arg1 C.gboolean // out @@ -19266,7 +18919,6 @@ func (context *MainContext) Iteration(mayBlock bool) bool { // The function returns the following values: // // - ok: TRUE if events are pending. -// func (context *MainContext) Pending() bool { var _arg0 *C.GMainContext // out var _cret C.gboolean // in @@ -19311,7 +18963,6 @@ func (context *MainContext) PopThreadDefault() { // - priority (optional): location to store priority of highest priority // source already ready. // - ok: TRUE if some source is ready to be dispatched prior to polling. -// func (context *MainContext) Prepare() (int, bool) { var _arg0 *C.GMainContext // out var _arg1 C.gint // in @@ -19400,10 +19051,10 @@ func (context *MainContext) Release() { // Another related use for this function is when implementing a main loop with a // termination condition, computed from multiple threads: // -// perform_work(); +// perform_work(); // -// if (g_atomic_int_dec_and_test (&tasks_remaining)) -// g_main_context_wakeup (NULL);. +// if (g_atomic_int_dec_and_test (&tasks_remaining)) +// g_main_context_wakeup (NULL);. func (context *MainContext) Wakeup() { var _arg0 *C.GMainContext // out @@ -19421,7 +19072,6 @@ func (context *MainContext) Wakeup() { // The function returns the following values: // // - mainContext: global default main context. -// func MainContextDefault() *MainContext { var _cret *C.GMainContext // in @@ -19456,7 +19106,6 @@ func MainContextDefault() *MainContext { // // - mainContext (optional): thread-default Context, or NULL if the // thread-default context is the global default context. -// func MainContextGetThreadDefault() *MainContext { var _cret *C.GMainContext // in @@ -19489,7 +19138,6 @@ func MainContextGetThreadDefault() *MainContext { // // - mainContext: thread-default Context. Unref with g_main_context_unref() // when you are done with it. -// func MainContextRefThreadDefault() *MainContext { var _cret *C.GMainContext // in @@ -19561,7 +19209,6 @@ func NewMainLoop(context *MainContext, isRunning bool) *MainLoop { // The function returns the following values: // // - mainContext of loop. -// func (loop *MainLoop) Context() *MainContext { var _arg0 *C.GMainLoop // out var _cret *C.GMainContext // in @@ -19591,7 +19238,6 @@ func (loop *MainLoop) Context() *MainContext { // The function returns the following values: // // - ok: TRUE if the mainloop is currently being run. -// func (loop *MainLoop) IsRunning() bool { var _arg0 *C.GMainLoop // out var _cret C.gboolean // in @@ -19728,7 +19374,6 @@ func NewMappedFileFromFd(fd int, writable bool) (*MappedFile, error) { // The function returns the following values: // // - bytes: newly allocated #GBytes referencing data from file. -// func (file *MappedFile) Bytes() *Bytes { var _arg0 *C.GMappedFile // out var _cret *C.GBytes // in @@ -19761,7 +19406,6 @@ func (file *MappedFile) Bytes() *Bytes { // The function returns the following values: // // - utf8 contents of file, or NULL. -// func (file *MappedFile) Contents() string { var _arg0 *C.GMappedFile // out var _cret *C.gchar // in @@ -19784,7 +19428,6 @@ func (file *MappedFile) Contents() string { // The function returns the following values: // // - gsize: length of the contents of file. -// func (file *MappedFile) Length() uint { var _arg0 *C.GMappedFile // out var _cret C.gsize // in @@ -19853,7 +19496,6 @@ func (context *MarkupParseContext) EndParse() error { // The function returns the following values: // // - utf8: name of the currently open element, or NULL. -// func (context *MarkupParseContext) Element() string { var _arg0 *C.GMarkupParseContext // out var _cret *C.gchar // in @@ -19880,7 +19522,6 @@ func (context *MarkupParseContext) Element() string { // - lineNumber (optional): return location for a line number, or NULL. // - charNumber (optional): return location for a char-on-line number, // or NULL. -// func (context *MarkupParseContext) Position() (lineNumber int, charNumber int) { var _arg0 *C.GMarkupParseContext // out var _arg1 C.gint // in @@ -19911,7 +19552,6 @@ func (context *MarkupParseContext) Position() (lineNumber int, charNumber int) { // - gpointer (optional): provided user_data. The returned data belongs to the // markup context and will be freed when g_markup_parse_context_free() is // called. -// func (context *MarkupParseContext) UserData() unsafe.Pointer { var _arg0 *C.GMarkupParseContext // out var _cret C.gpointer // in @@ -19942,7 +19582,6 @@ func (context *MarkupParseContext) UserData() unsafe.Pointer { // // - text: chunk of text to parse. // - textLen: length of text in bytes. -// func (context *MarkupParseContext) Parse(text string, textLen int) error { var _arg0 *C.GMarkupParseContext // out var _arg1 *C.gchar // out @@ -19984,7 +19623,6 @@ func (context *MarkupParseContext) Parse(text string, textLen int) error { // The function returns the following values: // // - gpointer (optional): user data passed to g_markup_parse_context_push(). -// func (context *MarkupParseContext) Pop() unsafe.Pointer { var _arg0 *C.GMarkupParseContext // out var _cret C.gpointer // in @@ -20029,27 +19667,26 @@ func (context *MarkupParseContext) Pop() unsafe.Pointer { // As an example, see the following implementation of a simple parser that // counts the number of tags encountered. // -// static void start_element (context, element_name, ...) -// { -// if (strcmp (element_name, "count-these") == 0) -// start_counting (context); +// static void start_element (context, element_name, ...) +// { +// if (strcmp (element_name, "count-these") == 0) +// start_counting (context); // -// // else, handle other tags... -// } +// // else, handle other tags... +// } // -// static void end_element (context, element_name, ...) -// { -// if (strcmp (element_name, "count-these") == 0) -// g_print ("Counted d tags\n", end_counting (context)); +// static void end_element (context, element_name, ...) +// { +// if (strcmp (element_name, "count-these") == 0) +// g_print ("Counted d tags\n", end_counting (context)); // -// // else, handle other tags... -// }. +// // else, handle other tags... +// }. // // The function takes the following parameters: // // - parser: Parser. // - userData (optional): user data to pass to Parser functions. -// func (context *MarkupParseContext) Push(parser *MarkupParser, userData unsafe.Pointer) { var _arg0 *C.GMarkupParseContext // out var _arg1 *C.GMarkupParser // out @@ -20124,7 +19761,6 @@ func marshalMatchInfo(p uintptr) (interface{}, error) { // The function returns the following values: // // - utf8 (optional): expanded string, or NULL if an error occurred. -// func (matchInfo *MatchInfo) ExpandReferences(stringToExpand string) (string, error) { var _arg0 *C.GMatchInfo // out var _arg1 *C.gchar // out @@ -20178,7 +19814,6 @@ func (matchInfo *MatchInfo) ExpandReferences(stringToExpand string) (string, err // // - utf8 (optional): matched substring, or NULL if an error occurred. // You have to free the string yourself. -// func (matchInfo *MatchInfo) Fetch(matchNum int) string { var _arg0 *C.GMatchInfo // out var _arg1 C.gint // out @@ -20221,7 +19856,6 @@ func (matchInfo *MatchInfo) Fetch(matchNum int) string { // // - utf8s: NULL-terminated array of gchar * pointers. It must be freed using // g_strfreev(). If the previous match failed NULL is returned. -// func (matchInfo *MatchInfo) FetchAll() []string { var _arg0 *C.GMatchInfo // out var _cret **C.gchar // in @@ -20269,7 +19903,6 @@ func (matchInfo *MatchInfo) FetchAll() []string { // // - utf8 (optional): matched substring, or NULL if an error occurred. // You have to free the string yourself. -// func (matchInfo *MatchInfo) FetchNamed(name string) string { var _arg0 *C.GMatchInfo // out var _arg1 *C.gchar // out @@ -20312,7 +19945,6 @@ func (matchInfo *MatchInfo) FetchNamed(name string) string { // or NULL. // - ok: TRUE if the position was fetched, FALSE otherwise. If the position // cannot be fetched, start_pos and end_pos are left unchanged. -// func (matchInfo *MatchInfo) FetchNamedPos(name string) (startPos int, endPos int, ok bool) { var _arg0 *C.GMatchInfo // out var _arg1 *C.gchar // out @@ -20366,7 +19998,6 @@ func (matchInfo *MatchInfo) FetchNamedPos(name string) (startPos int, endPos int // or NULL. // - ok: TRUE if the position was fetched, FALSE otherwise. If the position // cannot be fetched, start_pos and end_pos are left unchanged. -// func (matchInfo *MatchInfo) FetchPos(matchNum int) (startPos int, endPos int, ok bool) { var _arg0 *C.GMatchInfo // out var _arg1 C.gint // out @@ -20406,7 +20037,6 @@ func (matchInfo *MatchInfo) FetchPos(matchNum int) (startPos int, endPos int, ok // The function returns the following values: // // - gint: number of matched substrings, or -1 if an error occurred. -// func (matchInfo *MatchInfo) MatchCount() int { var _arg0 *C.GMatchInfo // out var _cret C.gint // in @@ -20430,7 +20060,6 @@ func (matchInfo *MatchInfo) MatchCount() int { // The function returns the following values: // // - regex object used in match_info. -// func (matchInfo *MatchInfo) Regex() *Regex { var _arg0 *C.GMatchInfo // out var _cret *C.GRegex // in @@ -20460,7 +20089,6 @@ func (matchInfo *MatchInfo) Regex() *Regex { // The function returns the following values: // // - utf8: string searched with match_info. -// func (matchInfo *MatchInfo) String() string { var _arg0 *C.GMatchInfo // out var _cret *C.gchar // in @@ -20512,7 +20140,6 @@ func (matchInfo *MatchInfo) String() string { // The function returns the following values: // // - ok: TRUE if the match was partial, FALSE otherwise. -// func (matchInfo *MatchInfo) IsPartialMatch() bool { var _arg0 *C.GMatchInfo // out var _cret C.gboolean // in @@ -20536,7 +20163,6 @@ func (matchInfo *MatchInfo) IsPartialMatch() bool { // The function returns the following values: // // - ok: TRUE if the previous match operation succeeded, FALSE otherwise. -// func (matchInfo *MatchInfo) Matches() bool { var _arg0 *C.GMatchInfo // out var _cret C.gboolean // in @@ -20644,7 +20270,6 @@ func (n *Node) Children() *Node { // // - gint: index of the child of node which contains data, or -1 if the data // is not found. -// func (node *Node) ChildIndex(data unsafe.Pointer) int { var _arg0 *C.GNode // out var _arg1 C.gpointer // out @@ -20675,7 +20300,6 @@ func (node *Node) ChildIndex(data unsafe.Pointer) int { // The function returns the following values: // // - gint: position of child with respect to its siblings. -// func (node *Node) ChildPosition(child *Node) int { var _arg0 *C.GNode // out var _arg1 *C.GNode // out @@ -20703,7 +20327,6 @@ func (node *Node) ChildPosition(child *Node) int { // The function returns the following values: // // - guint: depth of the #GNode. -// func (node *Node) Depth() uint { var _arg0 *C.GNode // out var _cret C.guint // in @@ -20742,7 +20365,6 @@ func (root *Node) Destroy() { // The function returns the following values: // // - ok: TRUE if node is an ancestor of descendant. -// func (node *Node) IsAncestor(descendant *Node) bool { var _arg0 *C.GNode // out var _arg1 *C.GNode // out @@ -20773,7 +20395,6 @@ func (node *Node) IsAncestor(descendant *Node) bool { // The function returns the following values: // // - guint: maximum height of the tree beneath root. -// func (root *Node) MaxHeight() uint { var _arg0 *C.GNode // out var _cret C.guint // in @@ -20795,7 +20416,6 @@ func (root *Node) MaxHeight() uint { // The function returns the following values: // // - guint: number of children of node. -// func (node *Node) NChildren() uint { var _arg0 *C.GNode // out var _cret C.guint // in @@ -20822,7 +20442,6 @@ func (node *Node) NChildren() uint { // The function returns the following values: // // - guint: number of nodes in the tree. -// func (root *Node) NNodes(flags TraverseFlags) uint { var _arg0 *C.GNode // out var _arg1 C.GTraverseFlags // out @@ -20995,7 +20614,6 @@ func marshalOptionGroup(p uintptr) (interface{}, error) { // The function takes the following parameters: // // - entries: NULL-terminated array of Entrys. -// func (group *OptionGroup) AddEntries(entries []OptionEntry) { var _arg0 *C.GOptionGroup // out var _arg1 *C.GOptionEntry // out @@ -21025,7 +20643,6 @@ func (group *OptionGroup) AddEntries(entries []OptionEntry) { // The function takes the following parameters: // // - domain to use. -// func (group *OptionGroup) SetTranslationDomain(domain string) { var _arg0 *C.GOptionGroup // out var _arg1 *C.gchar // out @@ -21102,7 +20719,6 @@ func (queue *Queue) Clear() { // The function returns the following values: // // - guint: number of items in queue. -// func (queue *Queue) Length() uint { var _arg0 *C.GQueue // out var _cret C.guint // in @@ -21129,7 +20745,6 @@ func (queue *Queue) Length() uint { // // - gint: position of the first element in queue which contains data, // or -1 if no element in queue contains data. -// func (queue *Queue) Index(data unsafe.Pointer) int { var _arg0 *C.GQueue // out var _arg1 C.gconstpointer // out @@ -21166,7 +20781,6 @@ func (queue *Queue) Init() { // The function returns the following values: // // - ok: TRUE if the queue is empty. -// func (queue *Queue) IsEmpty() bool { var _arg0 *C.GQueue // out var _cret C.gboolean // in @@ -21191,7 +20805,6 @@ func (queue *Queue) IsEmpty() bool { // // - gpointer (optional): data of the first element in the queue, or NULL if // the queue is empty. -// func (queue *Queue) PeekHead() unsafe.Pointer { var _arg0 *C.GQueue // out var _cret C.gpointer // in @@ -21218,7 +20831,6 @@ func (queue *Queue) PeekHead() unsafe.Pointer { // // - gpointer (optional): data for the n'th element of queue, or NULL if n is // off the end of queue. -// func (queue *Queue) PeekNth(n uint) unsafe.Pointer { var _arg0 *C.GQueue // out var _arg1 C.guint // out @@ -21244,7 +20856,6 @@ func (queue *Queue) PeekNth(n uint) unsafe.Pointer { // // - gpointer (optional): data of the last element in the queue, or NULL if // the queue is empty. -// func (queue *Queue) PeekTail() unsafe.Pointer { var _arg0 *C.GQueue // out var _cret C.gpointer // in @@ -21267,7 +20878,6 @@ func (queue *Queue) PeekTail() unsafe.Pointer { // // - gpointer (optional): data of the first element in the queue, or NULL if // the queue is empty. -// func (queue *Queue) PopHead() unsafe.Pointer { var _arg0 *C.GQueue // out var _cret C.gpointer // in @@ -21293,7 +20903,6 @@ func (queue *Queue) PopHead() unsafe.Pointer { // The function returns the following values: // // - gpointer (optional) element's data, or NULL if n is off the end of queue. -// func (queue *Queue) PopNth(n uint) unsafe.Pointer { var _arg0 *C.GQueue // out var _arg1 C.guint // out @@ -21319,7 +20928,6 @@ func (queue *Queue) PopNth(n uint) unsafe.Pointer { // // - gpointer (optional): data of the last element in the queue, or NULL if // the queue is empty. -// func (queue *Queue) PopTail() unsafe.Pointer { var _arg0 *C.GQueue // out var _cret C.gpointer // in @@ -21341,7 +20949,6 @@ func (queue *Queue) PopTail() unsafe.Pointer { // The function takes the following parameters: // // - data (optional) for the new element. -// func (queue *Queue) PushHead(data unsafe.Pointer) { var _arg0 *C.GQueue // out var _arg1 C.gpointer // out @@ -21361,7 +20968,6 @@ func (queue *Queue) PushHead(data unsafe.Pointer) { // - data (optional) for the new element. // - n to insert the new element. If n is negative or larger than the number // of elements in the queue, the element is added to the end of the queue. -// func (queue *Queue) PushNth(data unsafe.Pointer, n int) { var _arg0 *C.GQueue // out var _arg1 C.gpointer // out @@ -21382,7 +20988,6 @@ func (queue *Queue) PushNth(data unsafe.Pointer, n int) { // The function takes the following parameters: // // - data (optional) for the new element. -// func (queue *Queue) PushTail(data unsafe.Pointer) { var _arg0 *C.GQueue // out var _arg1 C.gpointer // out @@ -21404,7 +21009,6 @@ func (queue *Queue) PushTail(data unsafe.Pointer) { // The function returns the following values: // // - ok: TRUE if data was found and removed from queue. -// func (queue *Queue) Remove(data unsafe.Pointer) bool { var _arg0 *C.GQueue // out var _arg1 C.gconstpointer // out @@ -21435,7 +21039,6 @@ func (queue *Queue) Remove(data unsafe.Pointer) bool { // The function returns the following values: // // - guint: number of elements removed from queue. -// func (queue *Queue) RemoveAll(data unsafe.Pointer) uint { var _arg0 *C.GQueue // out var _arg1 C.gconstpointer // out @@ -21581,7 +21184,6 @@ func NewRegex(pattern string, compileOptions RegexCompileFlags, matchOptions Reg // The function returns the following values: // // - gint: number of capturing subpatterns. -// func (regex *Regex) CaptureCount() int { var _arg0 *C.GRegex // out var _cret C.gint // in @@ -21607,7 +21209,6 @@ func (regex *Regex) CaptureCount() int { // The function returns the following values: // // - regexCompileFlags flags from CompileFlags. -// func (regex *Regex) CompileFlags() RegexCompileFlags { var _arg0 *C.GRegex // out var _cret C.GRegexCompileFlags // in @@ -21629,7 +21230,6 @@ func (regex *Regex) CompileFlags() RegexCompileFlags { // The function returns the following values: // // - ok: TRUE if the pattern contains explicit CR or LF references. -// func (regex *Regex) HasCrOrLf() bool { var _arg0 *C.GRegex // out var _cret C.gboolean // in @@ -21653,7 +21253,6 @@ func (regex *Regex) HasCrOrLf() bool { // The function returns the following values: // // - regexMatchFlags flags from MatchFlags. -// func (regex *Regex) MatchFlags() RegexMatchFlags { var _arg0 *C.GRegex // out var _cret C.GRegexMatchFlags // in @@ -21676,7 +21275,6 @@ func (regex *Regex) MatchFlags() RegexMatchFlags { // The function returns the following values: // // - gint: number of the highest back reference. -// func (regex *Regex) MaxBackref() int { var _arg0 *C.GRegex // out var _cret C.gint // in @@ -21700,7 +21298,6 @@ func (regex *Regex) MaxBackref() int { // The function returns the following values: // // - gint: number of characters in the longest lookbehind assertion. -// func (regex *Regex) MaxLookbehind() int { var _arg0 *C.GRegex // out var _cret C.gint // in @@ -21723,7 +21320,6 @@ func (regex *Regex) MaxLookbehind() int { // The function returns the following values: // // - utf8: pattern of regex. -// func (regex *Regex) Pattern() string { var _arg0 *C.GRegex // out var _cret *C.gchar // in @@ -21749,7 +21345,6 @@ func (regex *Regex) Pattern() string { // The function returns the following values: // // - gint: number of the subexpression or -1 if name does not exists. -// func (regex *Regex) StringNumber(name string) int { var _arg0 *C.GRegex // out var _arg1 *C.gchar // out @@ -21784,25 +21379,25 @@ func (regex *Regex) StringNumber(name string) int { // To retrieve all the non-overlapping matches of the pattern in string you can // use g_match_info_next(). // -// static void -// print_uppercase_words (const gchar *string) -// { -// // Print all uppercase-only words. -// GRegex *regex; -// GMatchInfo *match_info; -// -// regex = g_regex_new ("[A-Z]+", 0, 0, NULL); -// g_regex_match (regex, string, 0, &match_info); -// while (g_match_info_matches (match_info)) -// { -// gchar *word = g_match_info_fetch (match_info, 0); -// g_print ("Found: s\n", word); -// g_free (word); -// g_match_info_next (match_info, NULL); -// } -// g_match_info_free (match_info); -// g_regex_unref (regex); -// } +// static void +// print_uppercase_words (const gchar *string) +// { +// // Print all uppercase-only words. +// GRegex *regex; +// GMatchInfo *match_info; +// +// regex = g_regex_new ("[A-Z]+", 0, 0, NULL); +// g_regex_match (regex, string, 0, &match_info); +// while (g_match_info_matches (match_info)) +// { +// gchar *word = g_match_info_fetch (match_info, 0); +// g_print ("Found: s\n", word); +// g_free (word); +// g_match_info_next (match_info, NULL); +// } +// g_match_info_free (match_info); +// g_regex_unref (regex); +// } // // string is not copied and is used in Info internally. If you use any Info // method (except g_match_info_free()) after freeing or modifying string then @@ -21818,7 +21413,6 @@ func (regex *Regex) StringNumber(name string) int { // - matchInfo (optional): pointer to location where to store the Info, // or NULL if you do not need it. // - ok: TRUE is the string matched, FALSE otherwise. -// func (regex *Regex) Match(str string, matchOptions RegexMatchFlags) (*MatchInfo, bool) { var _arg0 *C.GRegex // out var _arg1 *C.gchar // out @@ -21879,7 +21473,6 @@ func (regex *Regex) Match(str string, matchOptions RegexMatchFlags) (*MatchInfo, // - matchInfo (optional): pointer to location where to store the Info, // or NULL if you do not need it. // - ok: TRUE is the string matched, FALSE otherwise. -// func (regex *Regex) MatchAll(str string, matchOptions RegexMatchFlags) (*MatchInfo, bool) { var _arg0 *C.GRegex // out var _arg1 *C.gchar // out @@ -21940,7 +21533,6 @@ func (regex *Regex) MatchAll(str string, matchOptions RegexMatchFlags) (*MatchIn // The function returns the following values: // // - utf8s: NULL-terminated gchar ** array. Free it using g_strfreev(). -// func (regex *Regex) Split(str string, matchOptions RegexMatchFlags) []string { var _arg0 *C.GRegex // out var _arg1 *C.gchar // out @@ -21995,7 +21587,6 @@ func (regex *Regex) Split(str string, matchOptions RegexMatchFlags) []string { // // - hasReferences (optional): location to store information about references // in replacement or NULL. -// func RegexCheckReplacement(replacement string) (bool, error) { var _arg1 *C.gchar // out var _arg2 C.gboolean // in @@ -22048,7 +21639,6 @@ func RegexErrorQuark() Quark { // The function returns the following values: // // - utf8: newly-allocated escaped string. -// func RegexEscapeNUL(str string, length int) string { var _arg1 *C.gchar // out var _arg2 C.gint // out @@ -22091,7 +21681,6 @@ func RegexEscapeNUL(str string, length int) string { // The function returns the following values: // // - ok: TRUE if the string matched, FALSE otherwise. -// func RegexMatchSimple(pattern, str string, compileOptions RegexCompileFlags, matchOptions RegexMatchFlags) bool { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -22156,7 +21745,6 @@ func RegexMatchSimple(pattern, str string, compileOptions RegexCompileFlags, mat // The function returns the following values: // // - utf8s: NULL-terminated array of strings. Free it using g_strfreev(). -// func RegexSplitSimple(pattern, str string, compileOptions RegexCompileFlags, matchOptions RegexMatchFlags) []string { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -22226,7 +21814,6 @@ type scanner struct { // The function returns the following values: // // - guint: current line. -// func (scanner *Scanner) CurLine() uint { var _arg0 *C.GScanner // out var _cret C.guint // in @@ -22250,7 +21837,6 @@ func (scanner *Scanner) CurLine() uint { // The function returns the following values: // // - guint: current position on the line. -// func (scanner *Scanner) CurPosition() uint { var _arg0 *C.GScanner // out var _cret C.guint // in @@ -22273,7 +21859,6 @@ func (scanner *Scanner) CurPosition() uint { // The function returns the following values: // // - tokenType: current token type. -// func (scanner *Scanner) CurToken() TokenType { var _arg0 *C.GScanner // out var _cret C.GTokenType // in @@ -22306,7 +21891,6 @@ func (scanner *Scanner) Destroy() { // The function returns the following values: // // - ok: TRUE if the scanner has reached the end of the file or text buffer. -// func (scanner *Scanner) EOF() bool { var _arg0 *C.GScanner // out var _cret C.gboolean // in @@ -22332,7 +21916,6 @@ func (scanner *Scanner) EOF() bool { // The function returns the following values: // // - tokenType: type of the token. -// func (scanner *Scanner) NextToken() TokenType { var _arg0 *C.GScanner // out var _cret C.GTokenType // in @@ -22354,7 +21937,6 @@ func (scanner *Scanner) NextToken() TokenType { // The function takes the following parameters: // // - inputFd: file descriptor. -// func (scanner *Scanner) InputFile(inputFd int) { var _arg0 *C.GScanner // out var _arg1 C.gint // out @@ -22373,7 +21955,6 @@ func (scanner *Scanner) InputFile(inputFd int) { // // - text buffer to scan. // - textLen: length of the text buffer. -// func (scanner *Scanner) InputText(text string, textLen uint) { var _arg0 *C.GScanner // out var _arg1 *C.gchar // out @@ -22401,7 +21982,6 @@ func (scanner *Scanner) InputText(text string, textLen uint) { // // - gpointer (optional): value of symbol in the current scope, or NULL if // symbol is not bound in the current scope. -// func (scanner *Scanner) LookupSymbol(symbol string) unsafe.Pointer { var _arg0 *C.GScanner // out var _arg1 *C.gchar // out @@ -22437,7 +22017,6 @@ func (scanner *Scanner) LookupSymbol(symbol string) unsafe.Pointer { // The function returns the following values: // // - tokenType: type of the token. -// func (scanner *Scanner) PeekNextToken() TokenType { var _arg0 *C.GScanner // out var _cret C.GTokenType // in @@ -22461,7 +22040,6 @@ func (scanner *Scanner) PeekNextToken() TokenType { // - scopeId: scope id. // - symbol to add. // - value (optional) of the symbol. -// func (scanner *Scanner) ScopeAddSymbol(scopeId uint, symbol string, value unsafe.Pointer) { var _arg0 *C.GScanner // out var _arg1 C.guint // out @@ -22493,7 +22071,6 @@ func (scanner *Scanner) ScopeAddSymbol(scopeId uint, symbol string, value unsafe // // - gpointer (optional): value of symbol in the given scope, or NULL if // symbol is not bound in the given scope. -// func (scanner *Scanner) ScopeLookupSymbol(scopeId uint, symbol string) unsafe.Pointer { var _arg0 *C.GScanner // out var _arg1 C.guint // out @@ -22523,7 +22100,6 @@ func (scanner *Scanner) ScopeLookupSymbol(scopeId uint, symbol string) unsafe.Po // // - scopeId: scope id. // - symbol to remove. -// func (scanner *Scanner) ScopeRemoveSymbol(scopeId uint, symbol string) { var _arg0 *C.GScanner // out var _arg1 C.guint // out @@ -22549,7 +22125,6 @@ func (scanner *Scanner) ScopeRemoveSymbol(scopeId uint, symbol string) { // The function returns the following values: // // - guint: old scope id. -// func (scanner *Scanner) SetScope(scopeId uint) uint { var _arg0 *C.GScanner // out var _arg1 C.guint // out @@ -22602,7 +22177,6 @@ func (scanner *Scanner) SyncFileOffset() { // - message string to output at the end of the warning/error, or NULL. // - isError: if TRUE it is output as an error. If FALSE it is output as a // warning. -// func (scanner *Scanner) UnexpToken(expectedToken TokenType, identifierSpec string, symbolSpec string, symbolName string, message string, isError int) { var _arg0 *C.GScanner // out var _arg1 C.GTokenType // out @@ -22750,7 +22324,6 @@ func NewSource(sourceFuncs *SourceFuncs, structSize uint) *Source { // The function takes the following parameters: // // - childSource: second #GSource that source should "poll". -// func (source *Source) AddChildSource(childSource *Source) { var _arg0 *C.GSource // out var _arg1 *C.GSource // out @@ -22776,7 +22349,6 @@ func (source *Source) AddChildSource(childSource *Source) { // The function returns the following values: // // - guint: ID (greater than 0) for the source within the Context. -// func (source *Source) Attach(context *MainContext) uint { var _arg0 *C.GSource // out var _arg1 *C.GMainContext // out @@ -22822,7 +22394,6 @@ func (source *Source) Destroy() { // The function returns the following values: // // - ok: whether recursion is allowed. -// func (source *Source) CanRecurse() bool { var _arg0 *C.GSource // out var _cret C.gboolean // in @@ -22853,7 +22424,6 @@ func (source *Source) CanRecurse() bool { // // - mainContext (optional) with which the source is associated, or NULL if // the context has not yet been added to a source. -// func (source *Source) Context() *MainContext { var _arg0 *C.GSource // out var _cret *C.GMainContext // in @@ -22887,7 +22457,6 @@ func (source *Source) Context() *MainContext { // The function takes the following parameters: // // - timeval structure in which to store current time. -// func (source *Source) CurrentTime(timeval *TimeVal) { var _arg0 *C.GSource // out var _arg1 *C.GTimeVal // out @@ -22913,7 +22482,6 @@ func (source *Source) CurrentTime(timeval *TimeVal) { // The function returns the following values: // // - guint: ID (greater than 0) for the source. -// func (source *Source) ID() uint { var _arg0 *C.GSource // out var _cret C.guint // in @@ -22936,7 +22504,6 @@ func (source *Source) ID() uint { // The function returns the following values: // // - utf8 (optional): name of the source. -// func (source *Source) Name() string { var _arg0 *C.GSource // out var _cret *C.char // in @@ -22960,7 +22527,6 @@ func (source *Source) Name() string { // The function returns the following values: // // - gint: priority of the source. -// func (source *Source) Priority() int { var _arg0 *C.GSource // out var _cret C.gint // in @@ -22986,7 +22552,6 @@ func (source *Source) Priority() int { // The function returns the following values: // // - gint64: monotonic ready time, -1 for "never". -// func (source *Source) ReadyTime() int64 { var _arg0 *C.GSource // out var _cret C.gint64 // in @@ -23014,7 +22579,6 @@ func (source *Source) ReadyTime() int64 { // The function returns the following values: // // - gint64: monotonic time in microseconds. -// func (source *Source) Time() int64 { var _arg0 *C.GSource // out var _cret C.gint64 // in @@ -23037,20 +22601,20 @@ func (source *Source) Time() int64 { // handlers, but may have freed the object before the dispatch of your idle // handler. // -// static gboolean -// idle_callback (gpointer data) -// { -// SomeWidget *self = data; +// static gboolean +// idle_callback (gpointer data) +// { +// SomeWidget *self = data; // -// g_mutex_lock (&self->idle_id_mutex); -// if (!g_source_is_destroyed (g_main_current_source ())) -// { -// // do stuff with self -// } -// g_mutex_unlock (&self->idle_id_mutex); +// g_mutex_lock (&self->idle_id_mutex); +// if (!g_source_is_destroyed (g_main_current_source ())) +// { +// // do stuff with self +// } +// g_mutex_unlock (&self->idle_id_mutex); // -// return FALSE; -// } +// return FALSE; +// } // // Calls to this function from a thread other than the one acquired by the // Context the #GSource is attached to are typically redundant, as the source @@ -23061,7 +22625,6 @@ func (source *Source) Time() int64 { // The function returns the following values: // // - ok: TRUE if the source has been destroyed. -// func (source *Source) IsDestroyed() bool { var _arg0 *C.GSource // out var _cret C.gboolean // in @@ -23088,7 +22651,6 @@ func (source *Source) IsDestroyed() bool { // The function takes the following parameters: // // - childSource previously passed to g_source_add_child_source(). -// func (source *Source) RemoveChildSource(childSource *Source) { var _arg0 *C.GSource // out var _arg1 *C.GSource // out @@ -23121,7 +22683,6 @@ func (source *Source) RemoveChildSource(childSource *Source) { // The function takes the following parameters: // // - fn: callback function. -// func (source *Source) SetCallback(fn SourceFunc) { var _arg0 *C.GSource // out var _arg1 C.GSourceFunc // out @@ -23153,7 +22714,6 @@ func (source *Source) SetCallback(fn SourceFunc) { // - callbackData (optional): pointer to callback data "object". // - callbackFuncs functions for reference counting callback_data and getting // the callback and data. -// func (source *Source) SetCallbackIndirect(callbackData unsafe.Pointer, callbackFuncs *SourceCallbackFuncs) { var _arg0 *C.GSource // out var _arg1 C.gpointer // out @@ -23177,7 +22737,6 @@ func (source *Source) SetCallbackIndirect(callbackData unsafe.Pointer, callbackF // The function takes the following parameters: // // - canRecurse: whether recursion is allowed for this source. -// func (source *Source) SetCanRecurse(canRecurse bool) { var _arg0 *C.GSource // out var _arg1 C.gboolean // out @@ -23198,7 +22757,6 @@ func (source *Source) SetCanRecurse(canRecurse bool) { // The function takes the following parameters: // // - funcs: new Funcs. -// func (source *Source) SetFuncs(funcs *SourceFuncs) { var _arg0 *C.GSource // out var _arg1 *C.GSourceFuncs // out @@ -23230,7 +22788,6 @@ func (source *Source) SetFuncs(funcs *SourceFuncs) { // The function takes the following parameters: // // - name: debug name for the source. -// func (source *Source) SetName(name string) { var _arg0 *C.GSource // out var _arg1 *C.char // out @@ -23255,7 +22812,6 @@ func (source *Source) SetName(name string) { // The function takes the following parameters: // // - priority: new priority. -// func (source *Source) SetPriority(priority int) { var _arg0 *C.GSource // out var _arg1 C.gint // out @@ -23294,7 +22850,6 @@ func (source *Source) SetPriority(priority int) { // // - readyTime: monotonic time at which the source will be ready, 0 for // "immediately", -1 for "never". -// func (source *Source) SetReadyTime(readyTime int64) { var _arg0 *C.GSource // out var _arg1 C.gint64 // out @@ -23319,7 +22874,6 @@ func (source *Source) SetReadyTime(readyTime int64) { // The function returns the following values: // // - ok: TRUE if a source was found and removed. -// func SourceRemoveByFuncsUserData(funcs *SourceFuncs, userData unsafe.Pointer) bool { var _arg1 *C.GSourceFuncs // out var _arg2 C.gpointer // out @@ -23352,7 +22906,6 @@ func SourceRemoveByFuncsUserData(funcs *SourceFuncs, userData unsafe.Pointer) bo // The function returns the following values: // // - ok: TRUE if a source was found and removed. -// func SourceRemoveByUserData(userData unsafe.Pointer) bool { var _arg1 C.gpointer // out var _cret C.gboolean // in @@ -23390,7 +22943,6 @@ func SourceRemoveByUserData(userData unsafe.Pointer) bool { // // - tag: #GSource ID. // - name: debug name for the source. -// func SourceSetNameByID(tag uint, name string) { var _arg1 C.guint // out var _arg2 *C.char // out @@ -23522,7 +23074,6 @@ func (t *TimeVal) SetTvUsec(tvUsec int32) { // The function takes the following parameters: // // - microseconds: number of microseconds to add to time. -// func (time_ *TimeVal) Add(microseconds int32) { var _arg0 *C.GTimeVal // out var _arg1 C.glong // out @@ -23560,9 +23111,9 @@ func (time_ *TimeVal) Add(microseconds int32) { // the year 2038 problem. Accordingly, since GLib 2.62, this function has been // deprecated. Equivalent functionality is available using: // -// GDateTime *dt = g_date_time_new_from_unix_utc (time_val); -// iso8601_string = g_date_time_format_iso8601 (dt); -// g_date_time_unref (dt); +// GDateTime *dt = g_date_time_new_from_unix_utc (time_val); +// iso8601_string = g_date_time_format_iso8601 (dt); +// g_date_time_unref (dt); // // The return value of g_time_val_to_iso8601() has been nullable since GLib // 2.54; before then, GLib would crash under the same conditions. @@ -23574,7 +23125,6 @@ func (time_ *TimeVal) Add(microseconds int32) { // // - utf8 (optional): newly allocated string containing an ISO 8601 date, // or NULL if time_ was too large. -// func (time_ *TimeVal) ToISO8601() string { var _arg0 *C.GTimeVal // out var _cret *C.gchar // in @@ -23607,9 +23157,9 @@ func (time_ *TimeVal) ToISO8601() string { // This function was deprecated, along with Val itself, in GLib 2.62. Equivalent // functionality is available using code like: // -// GDateTime *dt = g_date_time_new_from_iso8601 (iso8601_string, NULL); -// gint64 time_val = g_date_time_to_unix (dt); -// g_date_time_unref (dt); +// GDateTime *dt = g_date_time_new_from_iso8601 (iso8601_string, NULL); +// gint64 time_val = g_date_time_to_unix (dt); +// g_date_time_unref (dt); // // Deprecated: Val is not year-2038-safe. Use g_date_time_new_from_iso8601() // instead. @@ -23622,7 +23172,6 @@ func (time_ *TimeVal) ToISO8601() string { // // - time_: Val. // - ok: TRUE if the conversion was successful. -// func TimeValFromISO8601(isoDate string) (*TimeVal, bool) { var _arg1 *C.gchar // out var _arg2 C.GTimeVal // in @@ -23800,7 +23349,6 @@ func NewTimeZoneUTC() *TimeZone { // The function returns the following values: // // - gint: interval containing time_, never -1. -// func (tz *TimeZone) AdjustTime(typ TimeType, time_ *int64) int { var _arg0 *C.GTimeZone // out var _arg1 C.GTimeType // out @@ -23848,7 +23396,6 @@ func (tz *TimeZone) AdjustTime(typ TimeType, time_ *int64) int { // The function returns the following values: // // - gint: interval containing time_, or -1 in case of failure. -// func (tz *TimeZone) FindInterval(typ TimeType, time_ int64) int { var _arg0 *C.GTimeZone // out var _arg1 C.GTimeType // out @@ -23884,7 +23431,6 @@ func (tz *TimeZone) FindInterval(typ TimeType, time_ int64) int { // The function returns the following values: // // - utf8: time zone abbreviation, which belongs to tz. -// func (tz *TimeZone) Abbreviation(interval int) string { var _arg0 *C.GTimeZone // out var _arg1 C.gint // out @@ -23916,7 +23462,6 @@ func (tz *TimeZone) Abbreviation(interval int) string { // The function returns the following values: // // - utf8: identifier for this timezone. -// func (tz *TimeZone) Identifier() string { var _arg0 *C.GTimeZone // out var _cret *C.gchar // in @@ -23948,7 +23493,6 @@ func (tz *TimeZone) Identifier() string { // // - gint32: number of seconds that should be added to UTC to get the local // time in tz. -// func (tz *TimeZone) Offset(interval int) int32 { var _arg0 *C.GTimeZone // out var _arg1 C.gint // out @@ -23978,7 +23522,6 @@ func (tz *TimeZone) Offset(interval int) int32 { // The function returns the following values: // // - ok: TRUE if daylight savings time is in effect. -// func (tz *TimeZone) IsDst(interval int) bool { var _arg0 *C.GTimeZone // out var _arg1 C.gint // out @@ -24042,7 +23585,6 @@ func (tree *Tree) Destroy() { // The function returns the following values: // // - gint: height of tree. -// func (tree *Tree) Height() int { var _arg0 *C.GTree // out var _cret C.gint // in @@ -24068,7 +23610,6 @@ func (tree *Tree) Height() int { // // - key (optional) to insert. // - value (optional) corresponding to the key. -// func (tree *Tree) Insert(key unsafe.Pointer, value unsafe.Pointer) { var _arg0 *C.GTree // out var _arg1 C.gpointer // out @@ -24096,7 +23637,6 @@ func (tree *Tree) Insert(key unsafe.Pointer, value unsafe.Pointer) { // // - gpointer (optional): value corresponding to the key, or NULL if the key // was not found. -// func (tree *Tree) Lookup(key unsafe.Pointer) unsafe.Pointer { var _arg0 *C.GTree // out var _arg1 C.gconstpointer // out @@ -24129,7 +23669,6 @@ func (tree *Tree) Lookup(key unsafe.Pointer) unsafe.Pointer { // - origKey (optional) returns the original key. // - value (optional) returns the value associated with the key. // - ok: TRUE if the key was found in the #GTree. -// func (tree *Tree) LookupExtended(lookupKey unsafe.Pointer) (origKey unsafe.Pointer, value unsafe.Pointer, ok bool) { var _arg0 *C.GTree // out var _arg1 C.gconstpointer // out @@ -24162,7 +23701,6 @@ func (tree *Tree) LookupExtended(lookupKey unsafe.Pointer) (origKey unsafe.Point // The function returns the following values: // // - gint: number of nodes in tree. -// func (tree *Tree) Nnodes() int { var _arg0 *C.GTree // out var _cret C.gint // in @@ -24197,7 +23735,6 @@ func (tree *Tree) Nnodes() int { // // - ok: TRUE if the key was found (prior to 2.8, this function returned // nothing). -// func (tree *Tree) Remove(key unsafe.Pointer) bool { var _arg0 *C.GTree // out var _arg1 C.gconstpointer // out @@ -24226,7 +23763,6 @@ func (tree *Tree) Remove(key unsafe.Pointer) bool { // // - key (optional) to insert. // - value (optional) corresponding to the key. -// func (tree *Tree) Replace(key unsafe.Pointer, value unsafe.Pointer) { var _arg0 *C.GTree // out var _arg1 C.gpointer // out @@ -24255,7 +23791,6 @@ func (tree *Tree) Replace(key unsafe.Pointer, value unsafe.Pointer) { // // - ok: TRUE if the key was found (prior to 2.8, this function returned // nothing). -// func (tree *Tree) Steal(key unsafe.Pointer) bool { var _arg0 *C.GTree // out var _arg1 C.gconstpointer // out @@ -24405,7 +23940,6 @@ func marshalURI(p uintptr) (interface{}, error) { // The function returns the following values: // // - utf8 (optional) uri's authentication parameters. -// func (uri *URI) AuthParams() string { var _arg0 *C.GUri // out var _cret *C.gchar // in @@ -24429,7 +23963,6 @@ func (uri *URI) AuthParams() string { // The function returns the following values: // // - uriFlags uri's flags. -// func (uri *URI) Flags() URIFlags { var _arg0 *C.GUri // out var _cret C.GUriFlags // in @@ -24452,7 +23985,6 @@ func (uri *URI) Flags() URIFlags { // The function returns the following values: // // - utf8 (optional) uri's fragment. -// func (uri *URI) Fragment() string { var _arg0 *C.GUri // out var _cret *C.gchar // in @@ -24484,7 +24016,6 @@ func (uri *URI) Fragment() string { // The function returns the following values: // // - utf8 (optional) uri's host. -// func (uri *URI) Host() string { var _arg0 *C.GUri // out var _cret *C.gchar // in @@ -24510,7 +24041,6 @@ func (uri *URI) Host() string { // The function returns the following values: // // - utf8 (optional) uri's password. -// func (uri *URI) Password() string { var _arg0 *C.GUri // out var _cret *C.gchar // in @@ -24535,7 +24065,6 @@ func (uri *URI) Password() string { // The function returns the following values: // // - utf8 uri's path. -// func (uri *URI) Path() string { var _arg0 *C.GUri // out var _cret *C.gchar // in @@ -24557,7 +24086,6 @@ func (uri *URI) Path() string { // The function returns the following values: // // - gint uri's port, or -1 if no port was specified. -// func (uri *URI) Port() int { var _arg0 *C.GUri // out var _cret C.gint // in @@ -24583,7 +24111,6 @@ func (uri *URI) Port() int { // The function returns the following values: // // - utf8 (optional) uri's query. -// func (uri *URI) Query() string { var _arg0 *C.GUri // out var _cret *C.gchar // in @@ -24608,7 +24135,6 @@ func (uri *URI) Query() string { // The function returns the following values: // // - utf8 uri's scheme. -// func (uri *URI) Scheme() string { var _arg0 *C.GUri // out var _cret *C.gchar // in @@ -24633,7 +24159,6 @@ func (uri *URI) Scheme() string { // The function returns the following values: // // - utf8 (optional) uri's user. -// func (uri *URI) User() string { var _arg0 *C.GUri // out var _cret *C.gchar // in @@ -24658,7 +24183,6 @@ func (uri *URI) User() string { // The function returns the following values: // // - utf8 (optional) uri's userinfo. -// func (uri *URI) Userinfo() string { var _arg0 *C.GUri // out var _cret *C.gchar // in @@ -24689,7 +24213,6 @@ func (uri *URI) Userinfo() string { // The function returns the following values: // // - uri: new #GUri, or NULL on error. -// func (baseUri *URI) ParseRelative(uriRef string, flags URIFlags) (*URI, error) { var _arg0 *C.GUri // out var _arg1 *C.gchar // out @@ -24741,7 +24264,6 @@ func (baseUri *URI) ParseRelative(uriRef string, flags URIFlags) (*URI, error) { // The function returns the following values: // // - utf8: string representing uri, which the caller must free. -// func (uri *URI) String() string { var _arg0 *C.GUri // out var _cret *C.char // in @@ -24769,7 +24291,6 @@ func (uri *URI) String() string { // The function returns the following values: // // - utf8: string representing uri, which the caller must free. -// func (uri *URI) ToStringPartial(flags URIHideFlags) string { var _arg0 *C.GUri // out var _arg1 C.GUriHideFlags // out @@ -24809,7 +24330,6 @@ func (uri *URI) ToStringPartial(flags URIHideFlags) string { // The function returns the following values: // // - uri: new #GUri. -// func URIBuild(flags URIFlags, scheme, userinfo, host string, port int, path, query, fragment string) *URI { var _arg1 C.GUriFlags // out var _arg2 *C.gchar // out @@ -24892,7 +24412,6 @@ func URIBuild(flags URIFlags, scheme, userinfo, host string, port int, path, que // The function returns the following values: // // - uri: new #GUri. -// func URIBuildWithUser(flags URIFlags, scheme, user, password, authParams, host string, port int, path, query, fragment string) *URI { var _arg1 C.GUriFlags // out var _arg2 *C.gchar // out @@ -24996,7 +24515,6 @@ func URIErrorQuark() Quark { // // - utf8: escaped version of unescaped. The returned string should be freed // when no longer needed. -// func URIEscapeBytes(unescaped []byte, reservedCharsAllowed string) string { var _arg1 *C.guint8 // out var _arg2 C.gsize @@ -25043,7 +24561,6 @@ func URIEscapeBytes(unescaped []byte, reservedCharsAllowed string) string { // // - utf8: escaped version of unescaped. The returned string should be freed // when no longer needed. -// func URIEscapeString(unescaped, reservedCharsAllowed string, allowUtf8 bool) string { var _arg1 *C.char // out var _arg2 *C.char // out @@ -25086,7 +24603,6 @@ func URIEscapeString(unescaped, reservedCharsAllowed string, allowUtf8 bool) str // // - uriString: string containing an absolute URI. // - flags for parsing uri_string. -// func URIIsValid(uriString string, flags URIFlags) error { var _arg1 *C.gchar // out var _arg2 C.GUriFlags // out @@ -25138,7 +24654,6 @@ func URIIsValid(uriString string, flags URIFlags) error { // The function returns the following values: // // - utf8: absolute URI string. -// func URIJoin(flags URIFlags, scheme, userinfo, host string, port int, path, query, fragment string) string { var _arg1 C.GUriFlags // out var _arg2 *C.gchar // out @@ -25219,7 +24734,6 @@ func URIJoin(flags URIFlags, scheme, userinfo, host string, port int, path, quer // The function returns the following values: // // - utf8: absolute URI string. -// func URIJoinWithUser(flags URIFlags, scheme, user, password, authParams, host string, port int, path, query, fragment string) string { var _arg1 C.GUriFlags // out var _arg2 *C.gchar // out @@ -25298,7 +24812,6 @@ func URIJoinWithUser(flags URIFlags, scheme, user, password, authParams, host st // // - utf8s: newly allocated NULL-terminated list of strings holding the // individual URIs. The array should be freed with g_strfreev(). -// func URIListExtractURIs(uriList string) []string { var _arg1 *C.gchar // out var _cret **C.gchar // in @@ -25342,7 +24855,6 @@ func URIListExtractURIs(uriList string) []string { // The function returns the following values: // // - uri: new #GUri, or NULL on error. -// func URIParse(uriString string, flags URIFlags) (*URI, error) { var _arg1 *C.gchar // out var _arg2 C.GUriFlags // out @@ -25413,7 +24925,6 @@ func URIParse(uriString string, flags URIFlags) (*URI, error) { // // - hashTable: A hash table of attribute/value pairs, with both names and // values fully-decoded; or NULL on error. -// func URIParseParams(params string, length int, separators string, flags URIParamsFlags) (map[string]string, error) { var _arg1 *C.gchar // out var _arg2 C.gssize // out @@ -25460,7 +24971,7 @@ func URIParseParams(params string, length int, separators string, flags URIParam // URIParseScheme gets the scheme portion of a URI string. RFC 3986 // (https://tools.ietf.org/html/rfc3986#section-3) decodes the scheme as: // -// URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] +// URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] // // Common schemes include file, https, svn+ssh, etc. // @@ -25472,7 +24983,6 @@ func URIParseParams(params string, length int, separators string, flags URIParam // // - utf8 (optional): ‘scheme’ component of the URI, or NULL on error. // The returned string should be freed when no longer needed. -// func URIParseScheme(uri string) string { var _arg1 *C.char // out var _cret *C.char // in @@ -25496,7 +25006,7 @@ func URIParseScheme(uri string) string { // URIPeekScheme gets the scheme portion of a URI string. RFC 3986 // (https://tools.ietf.org/html/rfc3986#section-3) decodes the scheme as: // -// URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] +// URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] // // Common schemes include file, https, svn+ssh, etc. // @@ -25512,7 +25022,6 @@ func URIParseScheme(uri string) string { // - utf8 (optional): ‘scheme’ component of the URI, or NULL on error. // The returned string is normalized to all-lowercase, and interned via // g_intern_string(), so it does not need to be freed. -// func URIPeekScheme(uri string) string { var _arg1 *C.char // out var _cret *C.char // in @@ -25549,7 +25058,6 @@ func URIPeekScheme(uri string) string { // The function returns the following values: // // - utf8: resolved URI string, or NULL on error. -// func URIResolveRelative(baseUriString, uriRef string, flags URIFlags) (string, error) { var _arg1 *C.gchar // out var _arg2 *C.gchar // out @@ -25612,7 +25120,6 @@ func URIResolveRelative(baseUriString, uriRef string, flags URIFlags) (string, e // - path (optional): on return, contains the path. // - query (optional): on return, contains the query, or NULL. // - fragment (optional): on return, contains the fragment, or NULL. -// func URISplit(uriRef string, flags URIFlags) (scheme, userinfo, host string, port int, path, query, fragment string, goerr error) { var _arg1 *C.gchar // out var _arg2 C.GUriFlags // out @@ -25692,7 +25199,6 @@ func URISplit(uriRef string, flags URIFlags) (scheme, userinfo, host string, por // lowercase), or NULL. // - host (optional): on return, contains the host, or NULL. // - port (optional): on return, contains the port, or -1. -// func URISplitNetwork(uriString string, flags URIFlags) (scheme, host string, port int, goerr error) { var _arg1 *C.gchar // out var _arg2 C.GUriFlags // out @@ -25758,7 +25264,6 @@ func URISplitNetwork(uriString string, flags URIFlags) (scheme, host string, por // - path (optional): on return, contains the path. // - query (optional): on return, contains the query, or NULL. // - fragment (optional): on return, contains the fragment, or NULL. -// func URISplitWithUser(uriRef string, flags URIFlags) (scheme, user, password, authParams, host string, port int, path, query, fragment string, goerr error) { var _arg1 *C.gchar // out var _arg2 C.GUriFlags // out @@ -25855,7 +25360,6 @@ func URISplitWithUser(uriRef string, flags URIFlags) (scheme, user, password, au // - bytes: unescaped version of escaped_string or NULL on error (if decoding // failed, using G_URI_ERROR_FAILED error code). The returned #GBytes should // be unreffed when no longer needed. -// func URIUnescapeBytes(escapedString string, length int, illegalCharacters string) (*Bytes, error) { var _arg1 *C.char // out var _arg2 C.gssize // out @@ -25917,7 +25421,6 @@ func URIUnescapeBytes(escapedString string, length int, illegalCharacters string // - utf8 (optional): unescaped version of escaped_string, or NULL on error. // The returned string should be freed when no longer needed. As a special // case if NULL is given for escaped_string, this function will return NULL. -// func URIUnescapeSegment(escapedString, escapedStringEnd, illegalCharacters string) string { var _arg1 *C.char // out var _arg2 *C.char // out @@ -25970,7 +25473,6 @@ func URIUnescapeSegment(escapedString, escapedStringEnd, illegalCharacters strin // // - utf8 (optional): unescaped version of escaped_string. The returned string // should be freed when no longer needed. -// func URIUnescapeString(escapedString, illegalCharacters string) string { var _arg1 *C.char // out var _arg2 *C.char // out @@ -26033,21 +25535,21 @@ type uriParamsIter struct { // if passed to flags for g_uri_params_iter_init(). The caller is responsible // for doing their own case-insensitive comparisons. // -// GUriParamsIter iter; -// GError *error = NULL; -// gchar *unowned_attr, *unowned_value; +// GUriParamsIter iter; +// GError *error = NULL; +// gchar *unowned_attr, *unowned_value; // -// g_uri_params_iter_init (&iter, "foo=bar&baz=bar&Foo=frob&baz=bar2", -1, "&", G_URI_PARAMS_NONE); -// while (g_uri_params_iter_next (&iter, &unowned_attr, &unowned_value, &error)) -// { -// g_autofree gchar *attr = g_steal_pointer (&unowned_attr); -// g_autofree gchar *value = g_steal_pointer (&unowned_value); -// // do something with attr and value; this code will be called 4 times -// // for the params string in this example: once with attr=foo and value=bar, -// // then with baz/bar, then Foo/frob, then baz/bar2. -// } -// if (error) -// // handle parsing error. +// g_uri_params_iter_init (&iter, "foo=bar&baz=bar&Foo=frob&baz=bar2", -1, "&", G_URI_PARAMS_NONE); +// while (g_uri_params_iter_next (&iter, &unowned_attr, &unowned_value, &error)) +// { +// g_autofree gchar *attr = g_steal_pointer (&unowned_attr); +// g_autofree gchar *value = g_steal_pointer (&unowned_value); +// // do something with attr and value; this code will be called 4 times +// // for the params string in this example: once with attr=foo and value=bar, +// // then with baz/bar, then Foo/frob, then baz/bar2. +// } +// if (error) +// // handle parsing error. // // The function takes the following parameters: // @@ -26059,7 +25561,6 @@ type uriParamsIter struct { // ASCII characters. You may pass an empty set, in which case no splitting // will occur. // - flags to modify the way the parameters are handled. -// func (iter *URIParamsIter) Init(params string, length int, separators string, flags URIParamsFlags) { var _arg0 *C.GUriParamsIter // out var _arg1 *C.gchar // out @@ -26096,7 +25597,6 @@ func (iter *URIParamsIter) Init(params string, length int, separators string, fl // // - attribute (optional): on return, contains the attribute, or NULL. // - value (optional): on return, contains the value, or NULL. -// func (iter *URIParamsIter) Next() (attribute string, value string, goerr error) { var _arg0 *C.GUriParamsIter // out var _arg1 *C.gchar // in @@ -26144,7 +25644,7 @@ func (iter *URIParamsIter) Next() (attribute string, value string, goerr error) // For instance, if you want to create a #GVariant holding an integer value you // can use: // -// GVariant *v = g_variant_new ("u", 40); +// GVariant *v = g_variant_new ("u", 40); // // The string "u" in the first argument tells #GVariant that the data passed to // the constructor (40) is going to be an unsigned integer. @@ -27036,7 +26536,6 @@ func NewVariantVariant(value *Variant) *Variant { // The function returns the following values: // // - variant (optional): byteswapped form of value. -// func (value *Variant) Byteswap() *Variant { var _arg0 *C.GVariant // out var _cret *C.GVariant // in @@ -27084,7 +26583,6 @@ func (value *Variant) Byteswap() *Variant { // The function returns the following values: // // - ok: TRUE if format_string is safe to use. -// func (value *Variant) CheckFormatString(formatString string, copyOnly bool) bool { var _arg0 *C.GVariant // out var _arg1 *C.gchar // out @@ -27117,7 +26615,6 @@ func (value *Variant) CheckFormatString(formatString string, copyOnly bool) bool // The function returns the following values: // // - variantClass of value. -// func (value *Variant) Classify() VariantClass { var _arg0 *C.GVariant // out var _cret C.GVariantClass // in @@ -27160,7 +26657,6 @@ func (value *Variant) Classify() VariantClass { // The function returns the following values: // // - gint: negative value if a < b; zero if a = b; positive value if a > b. -// func (one *Variant) Compare(two *Variant) int { var _arg0 C.gconstpointer // out var _arg1 C.gconstpointer // out @@ -27188,7 +26684,6 @@ func (one *Variant) Compare(two *Variant) int { // The function returns the following values: // // - guint8s: a newly allocated string. -// func (value *Variant) DupBytestring() []byte { var _arg0 *C.GVariant // out var _cret *C.gchar // in @@ -27221,7 +26716,6 @@ func (value *Variant) DupBytestring() []byte { // The function returns the following values: // // - utf8s: array of strings. -// func (value *Variant) DupBytestringArray() []string { var _arg0 *C.GVariant // out var _cret **C.gchar // in @@ -27259,7 +26753,6 @@ func (value *Variant) DupBytestringArray() []string { // The function returns the following values: // // - utf8s: array of strings. -// func (value *Variant) DupObjv() []string { var _arg0 *C.GVariant // out var _cret **C.gchar // in @@ -27296,7 +26789,6 @@ func (value *Variant) DupObjv() []string { // // - length: pointer to a #gsize, to store the length. // - utf8: newly allocated string, UTF-8 encoded. -// func (value *Variant) DupString() (uint, string) { var _arg0 *C.GVariant // out var _arg1 C.gsize // in @@ -27329,7 +26821,6 @@ func (value *Variant) DupString() (uint, string) { // The function returns the following values: // // - utf8s: array of strings. -// func (value *Variant) DupStrv() []string { var _arg0 *C.GVariant // out var _cret **C.gchar // in @@ -27367,7 +26858,6 @@ func (value *Variant) DupStrv() []string { // The function returns the following values: // // - ok: TRUE if one and two are equal. -// func (one *Variant) Equal(two *Variant) bool { var _arg0 C.gconstpointer // out var _arg1 C.gconstpointer // out @@ -27397,7 +26887,6 @@ func (one *Variant) Equal(two *Variant) bool { // The function returns the following values: // // - ok: TRUE or FALSE. -// func (value *Variant) Boolean() bool { var _arg0 *C.GVariant // out var _cret C.gboolean // in @@ -27424,7 +26913,6 @@ func (value *Variant) Boolean() bool { // The function returns the following values: // // - guint8: #guint8. -// func (value *Variant) Byte() byte { var _arg0 *C.GVariant // out var _cret C.guint8 // in @@ -27463,7 +26951,6 @@ func (value *Variant) Byte() byte { // The function returns the following values: // // - guint8s: the constant string. -// func (value *Variant) Bytestring() []byte { var _arg0 *C.GVariant // out var _cret *C.gchar // in @@ -27505,7 +26992,6 @@ func (value *Variant) Bytestring() []byte { // The function returns the following values: // // - utf8s: array of constant strings. -// func (value *Variant) BytestringArray() []string { var _arg0 *C.GVariant // out var _cret **C.gchar // in @@ -27560,7 +27046,6 @@ func (value *Variant) BytestringArray() []string { // The function returns the following values: // // - variant (optional): child at the specified index. -// func (value *Variant) ChildValue(index_ uint) *Variant { var _arg0 *C.GVariant // out var _arg1 C.gsize // out @@ -27614,7 +27099,6 @@ func (value *Variant) ChildValue(index_ uint) *Variant { // The function returns the following values: // // - gpointer (optional): serialised form of value, or NULL. -// func (value *Variant) Data() unsafe.Pointer { var _arg0 *C.GVariant // out var _cret C.gconstpointer // in @@ -27638,7 +27122,6 @@ func (value *Variant) Data() unsafe.Pointer { // The function returns the following values: // // - bytes: new #GBytes representing the variant data. -// func (value *Variant) DataAsBytes() *Bytes { var _arg0 *C.GVariant // out var _cret *C.GBytes // in @@ -27669,7 +27152,6 @@ func (value *Variant) DataAsBytes() *Bytes { // The function returns the following values: // // - gdouble: #gdouble. -// func (value *Variant) Double() float64 { var _arg0 *C.GVariant // out var _cret C.gdouble // in @@ -27698,7 +27180,6 @@ func (value *Variant) Double() float64 { // The function returns the following values: // // - gint32: #gint32. -// func (value *Variant) Handle() int32 { var _arg0 *C.GVariant // out var _cret C.gint32 // in @@ -27723,7 +27204,6 @@ func (value *Variant) Handle() int32 { // The function returns the following values: // // - gint16: #gint16. -// func (value *Variant) Int16() int16 { var _arg0 *C.GVariant // out var _cret C.gint16 // in @@ -27748,7 +27228,6 @@ func (value *Variant) Int16() int16 { // The function returns the following values: // // - gint32: #gint32. -// func (value *Variant) Int32() int32 { var _arg0 *C.GVariant // out var _cret C.gint32 // in @@ -27773,7 +27252,6 @@ func (value *Variant) Int32() int32 { // The function returns the following values: // // - gint64: #gint64. -// func (value *Variant) Int64() int64 { var _arg0 *C.GVariant // out var _cret C.gint64 // in @@ -27796,7 +27274,6 @@ func (value *Variant) Int64() int64 { // The function returns the following values: // // - variant (optional) contents of value, or NULL. -// func (value *Variant) Maybe() *Variant { var _arg0 *C.GVariant // out var _cret *C.GVariant // in @@ -27848,7 +27325,6 @@ func (value *Variant) Maybe() *Variant { // The function returns the following values: // // - variant (optional): trusted #GVariant. -// func (value *Variant) NormalForm() *Variant { var _arg0 *C.GVariant // out var _cret *C.GVariant // in @@ -27886,7 +27362,6 @@ func (value *Variant) NormalForm() *Variant { // The function returns the following values: // // - utf8s: array of constant strings. -// func (value *Variant) Objv() []string { var _arg0 *C.GVariant // out var _cret **C.gchar // in @@ -27925,7 +27400,6 @@ func (value *Variant) Objv() []string { // The function returns the following values: // // - gsize: serialised size of value. -// func (value *Variant) Size() uint { var _arg0 *C.GVariant // out var _cret C.gsize // in @@ -27963,7 +27437,6 @@ func (value *Variant) Size() uint { // The function returns the following values: // // - utf8: constant string, UTF-8 encoded. -// func (value *Variant) String() string { var _arg0 *C.GVariant // out var _cret *C.gchar // in @@ -27994,7 +27467,6 @@ func (value *Variant) String() string { // The function returns the following values: // // - utf8s: array of constant strings. -// func (value *Variant) Strv() []string { var _arg0 *C.GVariant // out var _cret **C.gchar // in @@ -28026,7 +27498,6 @@ func (value *Variant) Strv() []string { // The function returns the following values: // // - variantType: Type. -// func (value *Variant) Type() *VariantType { var _arg0 *C.GVariant // out var _cret *C.GVariantType // in @@ -28050,7 +27521,6 @@ func (value *Variant) Type() *VariantType { // The function returns the following values: // // - utf8: type string for the type of value. -// func (value *Variant) TypeString() string { var _arg0 *C.GVariant // out var _cret *C.gchar // in @@ -28075,7 +27545,6 @@ func (value *Variant) TypeString() string { // The function returns the following values: // // - guint16: #guint16. -// func (value *Variant) Uint16() uint16 { var _arg0 *C.GVariant // out var _cret C.guint16 // in @@ -28100,7 +27569,6 @@ func (value *Variant) Uint16() uint16 { // The function returns the following values: // // - guint32: #guint32. -// func (value *Variant) Uint32() uint32 { var _arg0 *C.GVariant // out var _cret C.guint32 // in @@ -28125,7 +27593,6 @@ func (value *Variant) Uint32() uint32 { // The function returns the following values: // // - guint64: #guint64. -// func (value *Variant) Uint64() uint64 { var _arg0 *C.GVariant // out var _cret C.guint64 // in @@ -28148,7 +27615,6 @@ func (value *Variant) Uint64() uint64 { // The function returns the following values: // // - variant (optional): item contained in the variant. -// func (value *Variant) Variant() *Variant { var _arg0 *C.GVariant // out var _cret *C.GVariant // in @@ -28186,7 +27652,6 @@ func (value *Variant) Variant() *Variant { // The function returns the following values: // // - guint: hash value corresponding to value. -// func (value *Variant) Hash() uint { var _arg0 C.gconstpointer // out var _cret C.guint // in @@ -28208,7 +27673,6 @@ func (value *Variant) Hash() uint { // The function returns the following values: // // - ok: TRUE if value is a container. -// func (value *Variant) IsContainer() bool { var _arg0 *C.GVariant // out var _cret C.gboolean // in @@ -28240,7 +27704,6 @@ func (value *Variant) IsContainer() bool { // The function returns the following values: // // - ok: whether value is floating. -// func (value *Variant) IsFloating() bool { var _arg0 *C.GVariant // out var _cret C.gboolean // in @@ -28275,7 +27738,6 @@ func (value *Variant) IsFloating() bool { // The function returns the following values: // // - ok: TRUE if value is in normal form. -// func (value *Variant) IsNormalForm() bool { var _arg0 *C.GVariant // out var _cret C.gboolean // in @@ -28303,7 +27765,6 @@ func (value *Variant) IsNormalForm() bool { // The function returns the following values: // // - ok: TRUE if the type of value matches type. -// func (value *Variant) IsOfType(typ *VariantType) bool { var _arg0 *C.GVariant // out var _arg1 *C.GVariantType // out @@ -28355,7 +27816,6 @@ func (value *Variant) IsOfType(typ *VariantType) bool { // The function returns the following values: // // - variant (optional): value of the dictionary key, or NULL. -// func (dictionary *Variant) LookupValue(key string, expectedType *VariantType) *Variant { var _arg0 *C.GVariant // out var _arg1 *C.gchar // out @@ -28403,7 +27863,6 @@ func (dictionary *Variant) LookupValue(key string, expectedType *VariantType) *V // The function returns the following values: // // - gsize: number of children in the container. -// func (value *Variant) NChildren() uint { var _arg0 *C.GVariant // out var _cret C.gsize // in @@ -28433,7 +27892,6 @@ func (value *Variant) NChildren() uint { // The function returns the following values: // // - utf8: newly-allocated string holding the result. -// func (value *Variant) Print(typeAnnotate bool) string { var _arg0 *C.GVariant // out var _arg1 C.gboolean // out @@ -28480,7 +27938,6 @@ func (value *Variant) Print(typeAnnotate bool) string { // The function returns the following values: // // - variant (optional): same value. -// func (value *Variant) RefSink() *Variant { var _arg0 *C.GVariant // out var _cret *C.GVariant // in @@ -28521,7 +27978,6 @@ func (value *Variant) RefSink() *Variant { // The function takes the following parameters: // // - data: location to store the serialised data at. -// func (value *Variant) Store(data unsafe.Pointer) { var _arg0 *C.GVariant // out var _arg1 C.gpointer // out @@ -28550,7 +28006,6 @@ func (value *Variant) Store(data unsafe.Pointer) { // The function returns the following values: // // - ok: TRUE if string is a D-Bus object path. -// func VariantIsObjectPath(str string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -28584,7 +28039,6 @@ func VariantIsObjectPath(str string) bool { // The function returns the following values: // // - ok: TRUE if string is a D-Bus type signature. -// func VariantIsSignature(str string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -28612,15 +28066,15 @@ func VariantIsSignature(str string) bool { // // The message will typically look something like one of the following: // -// unterminated string constant: -// (1, 2, 3, 'abc -// ^^^^ +// unterminated string constant: +// (1, 2, 3, 'abc +// ^^^^ // // or // -// unable to find a common type: -// [1, 2, 3, 'str'] -// ^ ^^^^^ +// unable to find a common type: +// [1, 2, 3, 'str'] +// ^ ^^^^^ // // The format of the message may change in a future version. // @@ -28637,7 +28091,6 @@ func VariantIsSignature(str string) bool { // The function returns the following values: // // - utf8: printed message. -// func VariantParseErrorPrintContext(err error, sourceStr string) string { var _arg1 *C.GError // out var _arg2 *C.gchar // out @@ -28752,7 +28205,6 @@ func NewVariantBuilder(typ *VariantType) *VariantBuilder { // The function takes the following parameters: // // - value: #GVariant. -// func (builder *VariantBuilder) AddValue(value *Variant) { var _arg0 *C.GVariantBuilder // out var _arg1 *C.GVariant // out @@ -28799,7 +28251,6 @@ func (builder *VariantBuilder) Close() { // The function returns the following values: // // - variant: new, floating, #GVariant. -// func (builder *VariantBuilder) End() *Variant { var _arg0 *C.GVariantBuilder // out var _cret *C.GVariant // in @@ -28834,35 +28285,34 @@ func (builder *VariantBuilder) End() *Variant { // // Example of building a nested variant: // -// GVariantBuilder builder; -// guint32 some_number = get_number (); -// g_autoptr (GHashTable) some_dict = get_dict (); -// GHashTableIter iter; -// const gchar *key; -// const GVariant *value; -// g_autoptr (GVariant) output = NULL; +// GVariantBuilder builder; +// guint32 some_number = get_number (); +// g_autoptr (GHashTable) some_dict = get_dict (); +// GHashTableIter iter; +// const gchar *key; +// const GVariant *value; +// g_autoptr (GVariant) output = NULL; // -// g_variant_builder_init (&builder, G_VARIANT_TYPE ("(ua{sv})")); -// g_variant_builder_add (&builder, "u", some_number); -// g_variant_builder_open (&builder, G_VARIANT_TYPE ("a{sv}")); +// g_variant_builder_init (&builder, G_VARIANT_TYPE ("(ua{sv})")); +// g_variant_builder_add (&builder, "u", some_number); +// g_variant_builder_open (&builder, G_VARIANT_TYPE ("a{sv}")); // -// g_hash_table_iter_init (&iter, some_dict); -// while (g_hash_table_iter_next (&iter, (gpointer *) &key, (gpointer *) &value)) -// { -// g_variant_builder_open (&builder, G_VARIANT_TYPE ("{sv}")); -// g_variant_builder_add (&builder, "s", key); -// g_variant_builder_add (&builder, "v", value); -// g_variant_builder_close (&builder); -// } +// g_hash_table_iter_init (&iter, some_dict); +// while (g_hash_table_iter_next (&iter, (gpointer *) &key, (gpointer *) &value)) +// { +// g_variant_builder_open (&builder, G_VARIANT_TYPE ("{sv}")); +// g_variant_builder_add (&builder, "s", key); +// g_variant_builder_add (&builder, "v", value); +// g_variant_builder_close (&builder); +// } // -// g_variant_builder_close (&builder); +// g_variant_builder_close (&builder); // -// output = g_variant_builder_end (&builder);. +// output = g_variant_builder_end (&builder);. // // The function takes the following parameters: // // - typ of the container. -// func (builder *VariantBuilder) Open(typ *VariantType) { var _arg0 *C.GVariantBuilder // out var _arg1 *C.GVariantType // out @@ -28907,31 +28357,31 @@ func (builder *VariantBuilder) Open(typ *VariantType) { // // Using a stack-allocated GVariantDict // -// GVariant * -// add_to_count (GVariant *orig, -// GError **error) -// { -// GVariantDict *dict; -// GVariant *result; -// guint32 count; +// GVariant * +// add_to_count (GVariant *orig, +// GError **error) +// { +// GVariantDict *dict; +// GVariant *result; +// guint32 count; // -// dict = g_variant_dict_new (orig); +// dict = g_variant_dict_new (orig); // -// if (g_variant_dict_lookup (dict, "count", "u", &count)) -// { -// g_variant_dict_insert (dict, "count", "u", count + 1); -// result = g_variant_dict_end (dict); -// } -// else -// { -// g_set_error (...); -// result = NULL; -// } +// if (g_variant_dict_lookup (dict, "count", "u", &count)) +// { +// g_variant_dict_insert (dict, "count", "u", count + 1); +// result = g_variant_dict_end (dict); +// } +// else +// { +// g_set_error (...); +// result = NULL; +// } // -// g_variant_dict_unref (dict); +// g_variant_dict_unref (dict); // -// return result; -// } +// return result; +// } // // An instance of this type is always passed by reference. type VariantDict struct { @@ -29003,7 +28453,6 @@ func (dict *VariantDict) Clear() { // The function returns the following values: // // - ok: TRUE if key is in dict. -// func (dict *VariantDict) Contains(key string) bool { var _arg0 *C.GVariantDict // out var _arg1 *C.gchar // out @@ -29037,7 +28486,6 @@ func (dict *VariantDict) Contains(key string) bool { // The function returns the following values: // // - variant: new, floating, #GVariant. -// func (dict *VariantDict) End() *Variant { var _arg0 *C.GVariantDict // out var _cret *C.GVariant // in @@ -29069,7 +28517,6 @@ func (dict *VariantDict) End() *Variant { // // - key to insert a value for. // - value to insert. -// func (dict *VariantDict) InsertValue(key string, value *Variant) { var _arg0 *C.GVariantDict // out var _arg1 *C.gchar // out @@ -29105,7 +28552,6 @@ func (dict *VariantDict) InsertValue(key string, value *Variant) { // The function returns the following values: // // - variant: value of the dictionary key, or NULL. -// func (dict *VariantDict) LookupValue(key string, expectedType *VariantType) *Variant { var _arg0 *C.GVariantDict // out var _arg1 *C.gchar // out @@ -29146,7 +28592,6 @@ func (dict *VariantDict) LookupValue(key string, expectedType *VariantType) *Var // The function returns the following values: // // - ok: TRUE if the key was found and removed. -// func (dict *VariantDict) Remove(key string) bool { var _arg0 *C.GVariantDict // out var _arg1 *C.gchar // out @@ -29305,9 +28750,9 @@ func (dict *VariantDict) Remove(key string) bool { // array to form a dictionary; the type string "a{sd}", for example, is the type // of a dictionary that maps strings to double precision floating point values. // -// The first type (the basic type) is the key type and the second type is -// the value type. The reason that the first type is restricted to being a -// basic type is so that it can easily be hashed. +// The first type (the basic type) is the key type and the second type is +// the value type. The reason that the first type is restricted to being a +// basic type is so that it can easily be hashed. // // - *: the type string of G_VARIANT_TYPE_ANY; the indefinite type that is a // supertype of all types. Note that, as with all type strings, this character @@ -29478,7 +28923,6 @@ func NewVariantTypeTuple(items []*VariantType) *VariantType { // - variantType: new Type // // Since 2.24. -// func (typ *VariantType) Copy() *VariantType { var _arg0 *C.GVariantType // out var _cret *C.GVariantType // in @@ -29510,7 +28954,6 @@ func (typ *VariantType) Copy() *VariantType { // - utf8: corresponding type string // // Since 2.24. -// func (typ *VariantType) DupString() string { var _arg0 *C.GVariantType // out var _cret *C.gchar // in @@ -29537,7 +28980,6 @@ func (typ *VariantType) DupString() string { // - variantType: element type of type // // Since 2.24. -// func (typ *VariantType) Element() *VariantType { var _arg0 *C.GVariantType // out var _cret *C.GVariantType // in @@ -29574,7 +29016,6 @@ func (typ *VariantType) Element() *VariantType { // - ok: TRUE if type1 and type2 are exactly equal // // Since 2.24. -// func (type1 *VariantType) Equal(type2 *VariantType) bool { var _arg0 C.gconstpointer // out var _arg1 C.gconstpointer // out @@ -29613,7 +29054,6 @@ func (type1 *VariantType) Equal(type2 *VariantType) bool { // - variantType: first item type of type, or NULL // // Since 2.24. -// func (typ *VariantType) First() *VariantType { var _arg0 *C.GVariantType // out var _cret *C.GVariantType // in @@ -29639,7 +29079,6 @@ func (typ *VariantType) First() *VariantType { // - gsize: length of the corresponding type string // // Since 2.24. -// func (typ *VariantType) StringLength() uint { var _arg0 *C.GVariantType // out var _cret C.gsize // in @@ -29666,7 +29105,6 @@ func (typ *VariantType) StringLength() uint { // - guint: hash value // // Since 2.24. -// func (typ *VariantType) Hash() uint { var _arg0 C.gconstpointer // out var _cret C.guint // in @@ -29694,7 +29132,6 @@ func (typ *VariantType) Hash() uint { // - ok: TRUE if type is an array type // // Since 2.24. -// func (typ *VariantType) IsArray() bool { var _arg0 *C.GVariantType // out var _cret C.gboolean // in @@ -29728,7 +29165,6 @@ func (typ *VariantType) IsArray() bool { // - ok: TRUE if type is a basic type // // Since 2.24. -// func (typ *VariantType) IsBasic() bool { var _arg0 *C.GVariantType // out var _cret C.gboolean // in @@ -29760,7 +29196,6 @@ func (typ *VariantType) IsBasic() bool { // - ok: TRUE if type is a container type // // Since 2.24. -// func (typ *VariantType) IsContainer() bool { var _arg0 *C.GVariantType // out var _cret C.gboolean // in @@ -29794,7 +29229,6 @@ func (typ *VariantType) IsContainer() bool { // - ok: TRUE if type is definite // // Since 2.24. -// func (typ *VariantType) IsDefinite() bool { var _arg0 *C.GVariantType // out var _cret C.gboolean // in @@ -29824,7 +29258,6 @@ func (typ *VariantType) IsDefinite() bool { // - ok: TRUE if type is a dictionary entry type // // Since 2.24. -// func (typ *VariantType) IsDictEntry() bool { var _arg0 *C.GVariantType // out var _cret C.gboolean // in @@ -29854,7 +29287,6 @@ func (typ *VariantType) IsDictEntry() bool { // - ok: TRUE if type is a maybe type // // Since 2.24. -// func (typ *VariantType) IsMaybe() bool { var _arg0 *C.GVariantType // out var _cret C.gboolean // in @@ -29888,7 +29320,6 @@ func (typ *VariantType) IsMaybe() bool { // - ok: TRUE if type is a subtype of supertype // // Since 2.24. -// func (typ *VariantType) IsSubtypeOf(supertype *VariantType) bool { var _arg0 *C.GVariantType // out var _arg1 *C.GVariantType // out @@ -29921,7 +29352,6 @@ func (typ *VariantType) IsSubtypeOf(supertype *VariantType) bool { // - ok: TRUE if type is a tuple type // // Since 2.24. -// func (typ *VariantType) IsTuple() bool { var _arg0 *C.GVariantType // out var _cret C.gboolean // in @@ -29947,7 +29377,6 @@ func (typ *VariantType) IsTuple() bool { // - ok: TRUE if type is the variant type // // Since 2.24. -// func (typ *VariantType) IsVariant() bool { var _arg0 *C.GVariantType // out var _cret C.gboolean // in @@ -29976,7 +29405,6 @@ func (typ *VariantType) IsVariant() bool { // - variantType: key type of the dictionary entry // // Since 2.24. -// func (typ *VariantType) Key() *VariantType { var _arg0 *C.GVariantType // out var _cret *C.GVariantType // in @@ -30006,7 +29434,6 @@ func (typ *VariantType) Key() *VariantType { // - gsize: number of items in type // // Since 2.24. -// func (typ *VariantType) NItems() uint { var _arg0 *C.GVariantType // out var _cret C.gsize // in @@ -30039,7 +29466,6 @@ func (typ *VariantType) NItems() uint { // - variantType: next Type after type, or NULL // // Since 2.24. -// func (typ *VariantType) Next() *VariantType { var _arg0 *C.GVariantType // out var _cret *C.GVariantType // in @@ -30065,7 +29491,6 @@ func (typ *VariantType) Next() *VariantType { // - variantType: value type of the dictionary entry // // Since 2.24. -// func (typ *VariantType) Value() *VariantType { var _arg0 *C.GVariantType // out var _cret *C.GVariantType // in @@ -30129,7 +29554,6 @@ func VariantTypeStringGetDepth_(typeString string) uint { // - ok: TRUE if type_string is exactly one valid type string // // Since 2.24. -// func VariantTypeStringIsValid(typeString string) bool { var _arg1 *C.gchar // out var _cret C.gboolean // in @@ -30171,7 +29595,6 @@ func VariantTypeStringIsValid(typeString string) bool { // // - endptr (optional): location to store the end pointer, or NULL. // - ok: TRUE if a valid type string was found. -// func VariantTypeStringScan(str, limit string) (string, bool) { var _arg1 *C.gchar // out var _arg2 *C.gchar // out diff --git a/pkg/graphene/graphene.go b/pkg/graphene/graphene.go index 830666525..2e45d7e17 100644 --- a/pkg/graphene/graphene.go +++ b/pkg/graphene/graphene.go @@ -352,7 +352,6 @@ func NewBoxAlloc() *Box { // The function returns the following values: // // - ok: true if the box is contained in the given box. -// func (a *Box) ContainsBox(b *Box) bool { var _arg0 *C.graphene_box_t // out var _arg1 *C.graphene_box_t // out @@ -383,7 +382,6 @@ func (a *Box) ContainsBox(b *Box) bool { // The function returns the following values: // // - ok: true if the point is contained in the given box. -// func (box *Box) ContainsPoint(point *Point3D) bool { var _arg0 *C.graphene_box_t // out var _arg1 *C.graphene_point3d_t // out @@ -414,7 +412,6 @@ func (box *Box) ContainsPoint(point *Point3D) bool { // The function returns the following values: // // - ok: true if the boxes are equal. -// func (a *Box) Equal(b *Box) bool { var _arg0 *C.graphene_box_t // out var _arg1 *C.graphene_box_t // out @@ -445,7 +442,6 @@ func (a *Box) Equal(b *Box) bool { // The function returns the following values: // // - res: return location for the expanded box. -// func (box *Box) Expand(point *Point3D) *Box { var _arg0 *C.graphene_box_t // out var _arg1 *C.graphene_point3d_t // out @@ -477,7 +473,6 @@ func (box *Box) Expand(point *Point3D) *Box { // The function returns the following values: // // - res: return location for the expanded box. -// func (box *Box) ExpandScalar(scalar float32) *Box { var _arg0 *C.graphene_box_t // out var _arg1 C.float // out @@ -507,7 +502,6 @@ func (box *Box) ExpandScalar(scalar float32) *Box { // The function returns the following values: // // - res: return location for the expanded box. -// func (box *Box) ExpandVec3(vec *Vec3) *Box { var _arg0 *C.graphene_box_t // out var _arg1 *C.graphene_vec3_t // out @@ -533,7 +527,6 @@ func (box *Box) ExpandVec3(vec *Vec3) *Box { // The function returns the following values: // // - sphere: return location for the bounding sphere. -// func (box *Box) BoundingSphere() *Sphere { var _arg0 *C.graphene_box_t // out var _arg1 C.graphene_sphere_t // in @@ -555,7 +548,6 @@ func (box *Box) BoundingSphere() *Sphere { // The function returns the following values: // // - center: return location for the coordinates of the center. -// func (box *Box) Center() *Point3D { var _arg0 *C.graphene_box_t // out var _arg1 C.graphene_point3d_t // in @@ -577,7 +569,6 @@ func (box *Box) Center() *Point3D { // The function returns the following values: // // - gfloat: depth of the box. -// func (box *Box) Depth() float32 { var _arg0 *C.graphene_box_t // out var _cret C.float // in @@ -599,7 +590,6 @@ func (box *Box) Depth() float32 { // The function returns the following values: // // - gfloat: height of the box. -// func (box *Box) Height() float32 { var _arg0 *C.graphene_box_t // out var _cret C.float // in @@ -622,7 +612,6 @@ func (box *Box) Height() float32 { // The function returns the following values: // // - max: return location for the maximum point. -// func (box *Box) Max() *Point3D { var _arg0 *C.graphene_box_t // out var _arg1 C.graphene_point3d_t // in @@ -645,7 +634,6 @@ func (box *Box) Max() *Point3D { // The function returns the following values: // // - min: return location for the minimum point. -// func (box *Box) Min() *Point3D { var _arg0 *C.graphene_box_t // out var _arg1 C.graphene_point3d_t // in @@ -668,7 +656,6 @@ func (box *Box) Min() *Point3D { // The function returns the following values: // // - size: return location for the size. -// func (box *Box) Size() *Vec3 { var _arg0 *C.graphene_box_t // out var _arg1 C.graphene_vec3_t // in @@ -690,7 +677,6 @@ func (box *Box) Size() *Vec3 { // The function returns the following values: // // - vertices: return location for an array of 8 #graphene_vec3_t. -// func (box *Box) Vertices() [8]Vec3 { var _arg0 *C.graphene_box_t // out var _arg1 [8]C.graphene_vec3_t // in @@ -717,7 +703,6 @@ func (box *Box) Vertices() [8]Vec3 { // The function returns the following values: // // - gfloat: width of the box. -// func (box *Box) Width() float32 { var _arg0 *C.graphene_box_t // out var _cret C.float // in @@ -744,7 +729,6 @@ func (box *Box) Width() float32 { // The function returns the following values: // // - ret: initialized #graphene_box_t. -// func (box *Box) Init(min *Point3D, max *Point3D) *Box { var _arg0 *C.graphene_box_t // out var _arg1 *C.graphene_point3d_t // out @@ -781,7 +765,6 @@ func (box *Box) Init(min *Point3D, max *Point3D) *Box { // The function returns the following values: // // - ret: initialized #graphene_box_t. -// func (box *Box) InitFromBox(src *Box) *Box { var _arg0 *C.graphene_box_t // out var _arg1 *C.graphene_box_t // out @@ -813,7 +796,6 @@ func (box *Box) InitFromBox(src *Box) *Box { // The function returns the following values: // // - ret: initialized #graphene_box_t. -// func (box *Box) InitFromPoints(points []Point3D) *Box { var _arg0 *C.graphene_box_t // out var _arg2 *C.graphene_point3d_t // out @@ -853,7 +835,6 @@ func (box *Box) InitFromPoints(points []Point3D) *Box { // The function returns the following values: // // - ret: initialized #graphene_box_t. -// func (box *Box) InitFromVec3(min *Vec3, max *Vec3) *Box { var _arg0 *C.graphene_box_t // out var _arg1 *C.graphene_vec3_t // out @@ -892,7 +873,6 @@ func (box *Box) InitFromVec3(min *Vec3, max *Vec3) *Box { // The function returns the following values: // // - ret: initialized #graphene_box_t. -// func (box *Box) InitFromVectors(vectors []Vec3) *Box { var _arg0 *C.graphene_box_t // out var _arg2 *C.graphene_vec3_t // out @@ -934,7 +914,6 @@ func (box *Box) InitFromVectors(vectors []Vec3) *Box { // // - res (optional): return location for the result. // - ok: true if the two boxes intersect. -// func (a *Box) Intersection(b *Box) (*Box, bool) { var _arg0 *C.graphene_box_t // out var _arg1 *C.graphene_box_t // out @@ -968,7 +947,6 @@ func (a *Box) Intersection(b *Box) (*Box, bool) { // The function returns the following values: // // - res: return location for the result. -// func (a *Box) Union(b *Box) *Box { var _arg0 *C.graphene_box_t // out var _arg1 *C.graphene_box_t // out @@ -995,7 +973,6 @@ func (a *Box) Union(b *Box) *Box { // The function returns the following values: // // - box: #graphene_box_t. -// func BoxEmpty() *Box { var _cret *C.graphene_box_t // in @@ -1015,7 +992,6 @@ func BoxEmpty() *Box { // The function returns the following values: // // - box: #graphene_box_t. -// func BoxInfinite() *Box { var _cret *C.graphene_box_t // in @@ -1036,7 +1012,6 @@ func BoxInfinite() *Box { // The function returns the following values: // // - box: #graphene_box_t. -// func BoxMinusOne() *Box { var _cret *C.graphene_box_t // in @@ -1057,7 +1032,6 @@ func BoxMinusOne() *Box { // The function returns the following values: // // - box: #graphene_box_t. -// func BoxOne() *Box { var _cret *C.graphene_box_t // in @@ -1078,7 +1052,6 @@ func BoxOne() *Box { // The function returns the following values: // // - box: #graphene_box_t. -// func BoxOneMinusOne() *Box { var _cret *C.graphene_box_t // in @@ -1098,7 +1071,6 @@ func BoxOneMinusOne() *Box { // The function returns the following values: // // - box: #graphene_box_t. -// func BoxZero() *Box { var _cret *C.graphene_box_t // in @@ -1159,7 +1131,6 @@ func NewEulerAlloc() *Euler { // The function returns the following values: // // - ok: true if the two #graphene_euler_t are equal. -// func (a *Euler) Equal(b *Euler) bool { var _arg0 *C.graphene_euler_t // out var _arg1 *C.graphene_euler_t // out @@ -1189,7 +1160,6 @@ func (a *Euler) Equal(b *Euler) bool { // The function returns the following values: // // - gfloat: first component of the Euler angle vector, in radians. -// func (e *Euler) Alpha() float32 { var _arg0 *C.graphene_euler_t // out var _cret C.float // in @@ -1214,7 +1184,6 @@ func (e *Euler) Alpha() float32 { // The function returns the following values: // // - gfloat: second component of the Euler angle vector, in radians. -// func (e *Euler) Beta() float32 { var _arg0 *C.graphene_euler_t // out var _cret C.float // in @@ -1239,7 +1208,6 @@ func (e *Euler) Beta() float32 { // The function returns the following values: // // - gfloat: third component of the Euler angle vector, in radians. -// func (e *Euler) Gamma() float32 { var _arg0 *C.graphene_euler_t // out var _cret C.float // in @@ -1266,7 +1234,6 @@ func (e *Euler) Gamma() float32 { // The function returns the following values: // // - eulerOrder: order used to apply the rotations. -// func (e *Euler) Order() EulerOrder { var _arg0 *C.graphene_euler_t // out var _cret C.graphene_euler_order_t // in @@ -1288,7 +1255,6 @@ func (e *Euler) Order() EulerOrder { // The function returns the following values: // // - gfloat: rotation angle. -// func (e *Euler) X() float32 { var _arg0 *C.graphene_euler_t // out var _cret C.float // in @@ -1310,7 +1276,6 @@ func (e *Euler) X() float32 { // The function returns the following values: // // - gfloat: rotation angle. -// func (e *Euler) Y() float32 { var _arg0 *C.graphene_euler_t // out var _cret C.float // in @@ -1332,7 +1297,6 @@ func (e *Euler) Y() float32 { // The function returns the following values: // // - gfloat: rotation angle. -// func (e *Euler) Z() float32 { var _arg0 *C.graphene_euler_t // out var _cret C.float // in @@ -1362,7 +1326,6 @@ func (e *Euler) Z() float32 { // The function returns the following values: // // - euler: initialized #graphene_euler_t. -// func (e *Euler) Init(x float32, y float32, z float32) *Euler { var _arg0 *C.graphene_euler_t // out var _arg1 C.float // out @@ -1401,7 +1364,6 @@ func (e *Euler) Init(x float32, y float32, z float32) *Euler { // The function returns the following values: // // - euler: initialized #graphene_euler_t. -// func (e *Euler) InitFromEuler(src *Euler) *Euler { var _arg0 *C.graphene_euler_t // out var _arg1 *C.graphene_euler_t // out @@ -1437,7 +1399,6 @@ func (e *Euler) InitFromEuler(src *Euler) *Euler { // The function returns the following values: // // - euler: initialized #graphene_euler_t. -// func (e *Euler) InitFromMatrix(m *Matrix, order EulerOrder) *Euler { var _arg0 *C.graphene_euler_t // out var _arg1 *C.graphene_matrix_t // out @@ -1476,7 +1437,6 @@ func (e *Euler) InitFromMatrix(m *Matrix, order EulerOrder) *Euler { // The function returns the following values: // // - euler: initialized #graphene_euler_t. -// func (e *Euler) InitFromQuaternion(q *Quaternion, order EulerOrder) *Euler { var _arg0 *C.graphene_euler_t // out var _arg1 *C.graphene_quaternion_t // out @@ -1514,7 +1474,6 @@ func (e *Euler) InitFromQuaternion(q *Quaternion, order EulerOrder) *Euler { // The function returns the following values: // // - euler: initialized #graphene_euler_t. -// func (e *Euler) InitFromRadians(x float32, y float32, z float32, order EulerOrder) *Euler { var _arg0 *C.graphene_euler_t // out var _arg1 C.float // out @@ -1557,7 +1516,6 @@ func (e *Euler) InitFromRadians(x float32, y float32, z float32, order EulerOrde // The function returns the following values: // // - euler: initialized #graphene_euler_t. -// func (e *Euler) InitFromVec3(v *Vec3, order EulerOrder) *Euler { var _arg0 *C.graphene_euler_t // out var _arg1 *C.graphene_vec3_t // out @@ -1595,7 +1553,6 @@ func (e *Euler) InitFromVec3(v *Vec3, order EulerOrder) *Euler { // The function returns the following values: // // - euler: initialized #graphene_euler_t. -// func (e *Euler) InitWithOrder(x float32, y float32, z float32, order EulerOrder) *Euler { var _arg0 *C.graphene_euler_t // out var _arg1 C.float // out @@ -1637,7 +1594,6 @@ func (e *Euler) InitWithOrder(x float32, y float32, z float32, order EulerOrder) // The function returns the following values: // // - res: return location for the reordered #graphene_euler_t. -// func (e *Euler) Reorder(order EulerOrder) *Euler { var _arg0 *C.graphene_euler_t // out var _arg1 C.graphene_euler_order_t // out @@ -1674,7 +1630,6 @@ func (e *Euler) Reorder(order EulerOrder) *Euler { // The function returns the following values: // // - res: return location for a #graphene_matrix_t. -// func (e *Euler) ToMatrix() *Matrix { var _arg0 *C.graphene_euler_t // out var _arg1 C.graphene_matrix_t // in @@ -1696,7 +1651,6 @@ func (e *Euler) ToMatrix() *Matrix { // The function returns the following values: // // - res: return location for a #graphene_quaternion_t. -// func (e *Euler) ToQuaternion() *Quaternion { var _arg0 *C.graphene_euler_t // out var _arg1 C.graphene_quaternion_t // in @@ -1719,7 +1673,6 @@ func (e *Euler) ToQuaternion() *Quaternion { // The function returns the following values: // // - res: return location for a #graphene_vec3_t. -// func (e *Euler) ToVec3() *Vec3 { var _arg0 *C.graphene_euler_t // out var _arg1 C.graphene_vec3_t // in @@ -1785,7 +1738,6 @@ func NewFrustumAlloc() *Frustum { // The function returns the following values: // // - ok: true if the point is inside the frustum. -// func (f *Frustum) ContainsPoint(point *Point3D) bool { var _arg0 *C.graphene_frustum_t // out var _arg1 *C.graphene_point3d_t // out @@ -1816,7 +1768,6 @@ func (f *Frustum) ContainsPoint(point *Point3D) bool { // The function returns the following values: // // - ok: true if the given frustums are equal. -// func (a *Frustum) Equal(b *Frustum) bool { var _arg0 *C.graphene_frustum_t // out var _arg1 *C.graphene_frustum_t // out @@ -1843,7 +1794,6 @@ func (a *Frustum) Equal(b *Frustum) bool { // The function returns the following values: // // - planes: return location for an array of 6 #graphene_plane_t. -// func (f *Frustum) Planes() [6]Plane { var _arg0 *C.graphene_frustum_t // out var _arg1 [6]C.graphene_plane_t // in @@ -1880,7 +1830,6 @@ func (f *Frustum) Planes() [6]Plane { // The function returns the following values: // // - frustum: initialized frustum. -// func (f *Frustum) Init(p0 *Plane, p1 *Plane, p2 *Plane, p3 *Plane, p4 *Plane, p5 *Plane) *Frustum { var _arg0 *C.graphene_frustum_t // out var _arg1 *C.graphene_plane_t // out @@ -1925,7 +1874,6 @@ func (f *Frustum) Init(p0 *Plane, p1 *Plane, p2 *Plane, p3 *Plane, p4 *Plane, p5 // The function returns the following values: // // - frustum: initialized frustum. -// func (f *Frustum) InitFromFrustum(src *Frustum) *Frustum { var _arg0 *C.graphene_frustum_t // out var _arg1 *C.graphene_frustum_t // out @@ -1954,7 +1902,6 @@ func (f *Frustum) InitFromFrustum(src *Frustum) *Frustum { // The function returns the following values: // // - frustum: initialized frustum. -// func (f *Frustum) InitFromMatrix(matrix *Matrix) *Frustum { var _arg0 *C.graphene_frustum_t // out var _arg1 *C.graphene_matrix_t // out @@ -1984,7 +1931,6 @@ func (f *Frustum) InitFromMatrix(matrix *Matrix) *Frustum { // The function returns the following values: // // - ok: true if the box intersects the frustum. -// func (f *Frustum) IntersectsBox(box *Box) bool { var _arg0 *C.graphene_frustum_t // out var _arg1 *C.graphene_box_t // out @@ -2016,7 +1962,6 @@ func (f *Frustum) IntersectsBox(box *Box) bool { // The function returns the following values: // // - ok: true if the sphere intersects the frustum. -// func (f *Frustum) IntersectsSphere(sphere *Sphere) bool { var _arg0 *C.graphene_frustum_t // out var _arg1 *C.graphene_sphere_t // out @@ -2094,7 +2039,6 @@ func NewMatrixAlloc() *Matrix { // - shear vector. // - perspective vector. // - ok: true if the matrix could be decomposed. -// func (m *Matrix) Decompose() (translate *Vec3, scale *Vec3, rotate *Quaternion, shear *Vec3, perspective *Vec4, ok bool) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.graphene_vec3_t // in @@ -2133,7 +2077,6 @@ func (m *Matrix) Decompose() (translate *Vec3, scale *Vec3, rotate *Quaternion, // The function returns the following values: // // - gfloat: value of the determinant. -// func (m *Matrix) Determinant() float32 { var _arg0 *C.graphene_matrix_t // out var _cret C.float // in @@ -2159,7 +2102,6 @@ func (m *Matrix) Determinant() float32 { // The function returns the following values: // // - ok: true if the two matrices are equal, and false otherwise. -// func (a *Matrix) Equal(b *Matrix) bool { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_matrix_t // out @@ -2188,19 +2130,19 @@ func (a *Matrix) Equal(b *Matrix) bool { // return false negatives, so it should be used in conjuction with either // graphene_matrix_equal() or graphene_matrix_near(). For instance: // -// if (graphene_matrix_equal_fast (a, b)) -// { -// // matrices are definitely the same -// } -// else -// { -// if (graphene_matrix_equal (a, b)) -// // matrices contain the same values within an epsilon of FLT_EPSILON -// else if (graphene_matrix_near (a, b, 0.0001)) -// // matrices contain the same values within an epsilon of 0.0001 -// else -// // matrices are not equal -// }. +// if (graphene_matrix_equal_fast (a, b)) +// { +// // matrices are definitely the same +// } +// else +// { +// if (graphene_matrix_equal (a, b)) +// // matrices contain the same values within an epsilon of FLT_EPSILON +// else if (graphene_matrix_near (a, b, 0.0001)) +// // matrices contain the same values within an epsilon of 0.0001 +// else +// // matrices are not equal +// }. // // The function takes the following parameters: // @@ -2209,7 +2151,6 @@ func (a *Matrix) Equal(b *Matrix) bool { // The function returns the following values: // // - ok: true if the matrices are equal. and false otherwise. -// func (a *Matrix) EqualFast(b *Matrix) bool { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_matrix_t // out @@ -2241,7 +2182,6 @@ func (a *Matrix) EqualFast(b *Matrix) bool { // // - res: return location for the #graphene_vec4_t that is used to store the // row vector. -// func (m *Matrix) Row(index_ uint) *Vec4 { var _arg0 *C.graphene_matrix_t // out var _arg1 C.uint // out @@ -2271,7 +2211,6 @@ func (m *Matrix) Row(index_ uint) *Vec4 { // The function returns the following values: // // - gfloat: value at the given indices. -// func (m *Matrix) Value(row uint, col uint) float32 { var _arg0 *C.graphene_matrix_t // out var _arg1 C.uint // out @@ -2299,7 +2238,6 @@ func (m *Matrix) Value(row uint, col uint) float32 { // The function returns the following values: // // - gfloat: value of the scaling factor. -// func (m *Matrix) XScale() float32 { var _arg0 *C.graphene_matrix_t // out var _cret C.float // in @@ -2321,7 +2259,6 @@ func (m *Matrix) XScale() float32 { // The function returns the following values: // // - gfloat: translation component. -// func (m *Matrix) XTranslation() float32 { var _arg0 *C.graphene_matrix_t // out var _cret C.float // in @@ -2343,7 +2280,6 @@ func (m *Matrix) XTranslation() float32 { // The function returns the following values: // // - gfloat: value of the scaling factor. -// func (m *Matrix) YScale() float32 { var _arg0 *C.graphene_matrix_t // out var _cret C.float // in @@ -2365,7 +2301,6 @@ func (m *Matrix) YScale() float32 { // The function returns the following values: // // - gfloat: translation component. -// func (m *Matrix) YTranslation() float32 { var _arg0 *C.graphene_matrix_t // out var _cret C.float // in @@ -2387,7 +2322,6 @@ func (m *Matrix) YTranslation() float32 { // The function returns the following values: // // - gfloat: value of the scaling factor. -// func (m *Matrix) ZScale() float32 { var _arg0 *C.graphene_matrix_t // out var _cret C.float // in @@ -2409,7 +2343,6 @@ func (m *Matrix) ZScale() float32 { // The function returns the following values: // // - gfloat: translation component. -// func (m *Matrix) ZTranslation() float32 { var _arg0 *C.graphene_matrix_t // out var _cret C.float // in @@ -2431,9 +2364,9 @@ func (m *Matrix) ZTranslation() float32 { // // The arguments map to the following matrix layout: // -// ⎛ xx yx ⎞ ⎛ a b 0 ⎞ -// ⎜ xy yy ⎟ = ⎜ c d 0 ⎟ -// ⎝ x0 y0 ⎠ ⎝ tx ty 1 ⎠ +// ⎛ xx yx ⎞ ⎛ a b 0 ⎞ +// ⎜ xy yy ⎟ = ⎜ c d 0 ⎟ +// ⎝ x0 y0 ⎠ ⎝ tx ty 1 ⎠ // // This function can be used to convert between an affine matrix type from other // libraries and a #graphene_matrix_t. @@ -2450,7 +2383,6 @@ func (m *Matrix) ZTranslation() float32 { // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitFrom2D(xx float64, yx float64, xy float64, yy float64, x0 float64, y0 float64) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 C.double // out @@ -2495,7 +2427,6 @@ func (m *Matrix) InitFrom2D(xx float64, yx float64, xy float64, yy float64, x0 f // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitFromFloat(v [16]float32) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.float // out @@ -2525,7 +2456,6 @@ func (m *Matrix) InitFromFloat(v [16]float32) *Matrix { // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitFromMatrix(src *Matrix) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_matrix_t // out @@ -2558,7 +2488,6 @@ func (m *Matrix) InitFromMatrix(src *Matrix) *Matrix { // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitFromVec4(v0 *Vec4, v1 *Vec4, v2 *Vec4, v3 *Vec4) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_vec4_t // out @@ -2604,7 +2533,6 @@ func (m *Matrix) InitFromVec4(v0 *Vec4, v1 *Vec4, v2 *Vec4, v3 *Vec4) *Matrix { // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitFrustum(left float32, right float32, bottom float32, top float32, zNear float32, zFar float32) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -2644,7 +2572,6 @@ func (m *Matrix) InitFrustum(left float32, right float32, bottom float32, top fl // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitIdentity() *Matrix { var _arg0 *C.graphene_matrix_t // out var _cret *C.graphene_matrix_t // in @@ -2686,7 +2613,6 @@ func (m *Matrix) InitIdentity() *Matrix { // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitLookAt(eye *Vec3, center *Vec3, up *Vec3) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_vec3_t // out @@ -2726,7 +2652,6 @@ func (m *Matrix) InitLookAt(eye *Vec3, center *Vec3, up *Vec3) *Matrix { // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitOrtho(left float32, right float32, top float32, bottom float32, zNear float32, zFar float32) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -2774,7 +2699,6 @@ func (m *Matrix) InitOrtho(left float32, right float32, top float32, bottom floa // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitPerspective(fovy float32, aspect float32, zNear float32, zFar float32) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -2814,7 +2738,6 @@ func (m *Matrix) InitPerspective(fovy float32, aspect float32, zNear float32, zF // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitRotate(angle float32, axis *Vec3) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -2848,7 +2771,6 @@ func (m *Matrix) InitRotate(angle float32, axis *Vec3) *Matrix { // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitScale(x float32, y float32, z float32) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -2885,7 +2807,6 @@ func (m *Matrix) InitScale(x float32, y float32, z float32) *Matrix { // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitSkew(xSkew float32, ySkew float32) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -2918,7 +2839,6 @@ func (m *Matrix) InitSkew(xSkew float32, ySkew float32) *Matrix { // The function returns the following values: // // - matrix: initialized matrix. -// func (m *Matrix) InitTranslate(p *Point3D) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_point3d_t // out @@ -2953,7 +2873,6 @@ func (m *Matrix) InitTranslate(p *Point3D) *Matrix { // The function returns the following values: // // - res: return location for the interpolated matrix. -// func (a *Matrix) Interpolate(b *Matrix, factor float64) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_matrix_t // out @@ -2982,7 +2901,6 @@ func (a *Matrix) Interpolate(b *Matrix, factor float64) *Matrix { // // - res: return location for the inverse matrix. // - ok: true if the matrix is invertible. -// func (m *Matrix) Inverse() (*Matrix, bool) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.graphene_matrix_t // in @@ -3011,7 +2929,6 @@ func (m *Matrix) Inverse() (*Matrix, bool) { // // - ok: true if the matrix is compatible with an affine transformation // matrix. -// func (m *Matrix) Is2D() bool { var _arg0 *C.graphene_matrix_t // out var _cret C._Bool // in @@ -3036,7 +2953,6 @@ func (m *Matrix) Is2D() bool { // The function returns the following values: // // - ok: true if the back face of the matrix is visible. -// func (m *Matrix) IsBackfaceVisible() bool { var _arg0 *C.graphene_matrix_t // out var _cret C._Bool // in @@ -3061,7 +2977,6 @@ func (m *Matrix) IsBackfaceVisible() bool { // The function returns the following values: // // - ok: true if the matrix is the identity matrix. -// func (m *Matrix) IsIdentity() bool { var _arg0 *C.graphene_matrix_t // out var _cret C._Bool // in @@ -3085,7 +3000,6 @@ func (m *Matrix) IsIdentity() bool { // The function returns the following values: // // - ok: true if the matrix is singular. -// func (m *Matrix) IsSingular() bool { var _arg0 *C.graphene_matrix_t // out var _cret C._Bool // in @@ -3116,7 +3030,6 @@ func (m *Matrix) IsSingular() bool { // The function returns the following values: // // - res: return location for the matrix result. -// func (a *Matrix) Multiply(b *Matrix) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_matrix_t // out @@ -3147,7 +3060,6 @@ func (a *Matrix) Multiply(b *Matrix) *Matrix { // The function returns the following values: // // - ok: true if the two matrices are near each other, and false otherwise. -// func (a *Matrix) Near(b *Matrix, epsilon float32) bool { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_matrix_t // out @@ -3177,7 +3089,6 @@ func (a *Matrix) Near(b *Matrix, epsilon float32) bool { // The function returns the following values: // // - res: return location for the normalized matrix. -// func (m *Matrix) Normalize() *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 C.graphene_matrix_t // in @@ -3203,7 +3114,6 @@ func (m *Matrix) Normalize() *Matrix { // The function returns the following values: // // - res: return location for the perspective matrix. -// func (m *Matrix) Perspective(depth float32) *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -3245,7 +3155,6 @@ func (m *Matrix) Print() { // The function returns the following values: // // - res: return location for the projected point. -// func (m *Matrix) ProjectPoint(p *Point) *Point { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_point_t // out @@ -3277,7 +3186,6 @@ func (m *Matrix) ProjectPoint(p *Point) *Point { // The function returns the following values: // // - res: return location for the projected rectangle. -// func (m *Matrix) ProjectRect(r *Rect) *Quad { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_rect_t // out @@ -3309,7 +3217,6 @@ func (m *Matrix) ProjectRect(r *Rect) *Quad { // The function returns the following values: // // - res: return location for the projected rectangle. -// func (m *Matrix) ProjectRectBounds(r *Rect) *Rect { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_rect_t // out @@ -3339,7 +3246,6 @@ func (m *Matrix) ProjectRectBounds(r *Rect) *Rect { // // - angle: rotation angle, in degrees. // - axis: rotation axis, as a #graphene_vec3_t. -// func (m *Matrix) Rotate(angle float32, axis *Vec3) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -3361,7 +3267,6 @@ func (m *Matrix) Rotate(angle float32, axis *Vec3) { // The function takes the following parameters: // // - e: rotation described by a #graphene_euler_t. -// func (m *Matrix) RotateEuler(e *Euler) { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_euler_t // out @@ -3383,7 +3288,6 @@ func (m *Matrix) RotateEuler(e *Euler) { // The function takes the following parameters: // // - q: rotation described by a #graphene_quaternion_t. -// func (m *Matrix) RotateQuaternion(q *Quaternion) { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_quaternion_t // out @@ -3404,7 +3308,6 @@ func (m *Matrix) RotateQuaternion(q *Quaternion) { // The function takes the following parameters: // // - angle: rotation angle, in degrees. -// func (m *Matrix) RotateX(angle float32) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -3425,7 +3328,6 @@ func (m *Matrix) RotateX(angle float32) { // The function takes the following parameters: // // - angle: rotation angle, in degrees. -// func (m *Matrix) RotateY(angle float32) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -3446,7 +3348,6 @@ func (m *Matrix) RotateY(angle float32) { // The function takes the following parameters: // // - angle: rotation angle, in degrees. -// func (m *Matrix) RotateZ(angle float32) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -3469,7 +3370,6 @@ func (m *Matrix) RotateZ(angle float32) { // - factorX: scaling factor on the X axis. // - factorY: scaling factor on the Y axis. // - factorZ: scaling factor on the Z axis. -// func (m *Matrix) Scale(factorX float32, factorY float32, factorZ float32) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -3493,7 +3393,6 @@ func (m *Matrix) Scale(factorX float32, factorY float32, factorZ float32) { // The function takes the following parameters: // // - factor: skew factor. -// func (m *Matrix) SkewXY(factor float32) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -3511,7 +3410,6 @@ func (m *Matrix) SkewXY(factor float32) { // The function takes the following parameters: // // - factor: skew factor. -// func (m *Matrix) SkewXZ(factor float32) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -3529,7 +3427,6 @@ func (m *Matrix) SkewXZ(factor float32) { // The function takes the following parameters: // // - factor: skew factor. -// func (m *Matrix) SkewYZ(factor float32) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.float // out @@ -3547,9 +3444,9 @@ func (m *Matrix) SkewYZ(factor float32) { // // The returned values have the following layout: // -// ⎛ xx yx ⎞ ⎛ a b 0 ⎞ -// ⎜ xy yy ⎟ = ⎜ c d 0 ⎟ -// ⎝ x0 y0 ⎠ ⎝ tx ty 1 ⎠ +// ⎛ xx yx ⎞ ⎛ a b 0 ⎞ +// ⎜ xy yy ⎟ = ⎜ c d 0 ⎟ +// ⎝ x0 y0 ⎠ ⎝ tx ty 1 ⎠ // // This function can be used to convert between a #graphene_matrix_t and an // affine matrix type from other libraries. @@ -3564,7 +3461,6 @@ func (m *Matrix) SkewYZ(factor float32) { // - y0: return location for the y0 member. // - ok: true if the matrix is compatible with an affine transformation // matrix. -// func (m *Matrix) To2D() (xx float64, yx float64, xy float64, yy float64, x0 float64, y0 float64, ok bool) { var _arg0 *C.graphene_matrix_t // out var _arg1 C.double // in @@ -3607,7 +3503,6 @@ func (m *Matrix) To2D() (xx float64, yx float64, xy float64, yy float64, x0 floa // // - v: return location for an array of floating point values. The array must // be capable of holding at least 16 values. -// func (m *Matrix) ToFloat() [16]float32 { var _arg0 *C.graphene_matrix_t // out var _arg1 [16]C.float // in @@ -3639,7 +3534,6 @@ func (m *Matrix) ToFloat() [16]float32 { // The function returns the following values: // // - res: return location for the bounds of the transformed rectangle. -// func (m *Matrix) TransformBounds(r *Rect) *Rect { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_rect_t // out @@ -3672,7 +3566,6 @@ func (m *Matrix) TransformBounds(r *Rect) *Rect { // The function returns the following values: // // - res: return location for the bounds of the transformed box. -// func (m *Matrix) TransformBox(b *Box) *Box { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_box_t // out @@ -3707,7 +3600,6 @@ func (m *Matrix) TransformBox(b *Box) *Box { // The function returns the following values: // // - res: return location for the transformed #graphene_point_t. -// func (m *Matrix) TransformPoint(p *Point) *Point { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_point_t // out @@ -3742,7 +3634,6 @@ func (m *Matrix) TransformPoint(p *Point) *Point { // The function returns the following values: // // - res: return location for the result. -// func (m *Matrix) TransformPoint3D(p *Point3D) *Point3D { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_point3d_t // out @@ -3771,7 +3662,6 @@ func (m *Matrix) TransformPoint3D(p *Point3D) *Point3D { // The function returns the following values: // // - res: return location for the transformed ray. -// func (m *Matrix) TransformRay(r *Ray) *Ray { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_ray_t // out @@ -3805,7 +3695,6 @@ func (m *Matrix) TransformRay(r *Ray) *Ray { // The function returns the following values: // // - res: return location for the transformed quad. -// func (m *Matrix) TransformRect(r *Rect) *Quad { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_rect_t // out @@ -3835,7 +3724,6 @@ func (m *Matrix) TransformRect(r *Rect) *Quad { // The function returns the following values: // // - res: return location for the bounds of the transformed sphere. -// func (m *Matrix) TransformSphere(s *Sphere) *Sphere { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_sphere_t // out @@ -3870,7 +3758,6 @@ func (m *Matrix) TransformSphere(s *Sphere) *Sphere { // The function returns the following values: // // - res: return location for a #graphene_vec3_t. -// func (m *Matrix) TransformVec3(v *Vec3) *Vec3 { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_vec3_t // out @@ -3901,7 +3788,6 @@ func (m *Matrix) TransformVec3(v *Vec3) *Vec3 { // The function returns the following values: // // - res: return location for a #graphene_vec4_t. -// func (m *Matrix) TransformVec4(v *Vec4) *Vec4 { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_vec4_t // out @@ -3930,7 +3816,6 @@ func (m *Matrix) TransformVec4(v *Vec4) *Vec4 { // The function takes the following parameters: // // - pos: #graphene_point3d_t. -// func (m *Matrix) Translate(pos *Point3D) { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_point3d_t // out @@ -3948,7 +3833,6 @@ func (m *Matrix) Translate(pos *Point3D) { // The function returns the following values: // // - res: return location for the transposed matrix. -// func (m *Matrix) Transpose() *Matrix { var _arg0 *C.graphene_matrix_t // out var _arg1 C.graphene_matrix_t // in @@ -3977,7 +3861,6 @@ func (m *Matrix) Transpose() *Matrix { // The function returns the following values: // // - res: return location for the unprojected point. -// func (projection *Matrix) UnprojectPoint3D(modelview *Matrix, point *Point3D) *Point3D { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_matrix_t // out @@ -4012,7 +3895,6 @@ func (projection *Matrix) UnprojectPoint3D(modelview *Matrix, point *Point3D) *P // The function returns the following values: // // - res: return location for the untransformed rectangle. -// func (m *Matrix) UntransformBounds(r *Rect, bounds *Rect) *Rect { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_rect_t // out @@ -4047,7 +3929,6 @@ func (m *Matrix) UntransformBounds(r *Rect, bounds *Rect) *Rect { // // - res: return location for the untransformed point. // - ok: true if the point was successfully untransformed. -// func (m *Matrix) UntransformPoint(p *Point, bounds *Rect) (*Point, bool) { var _arg0 *C.graphene_matrix_t // out var _arg1 *C.graphene_point_t // out @@ -4123,7 +4004,6 @@ func NewPlaneAlloc() *Plane { // The function returns the following values: // // - gfloat: distance of the given #graphene_point3d_t from the plane. -// func (p *Plane) Distance(point *Point3D) float32 { var _arg0 *C.graphene_plane_t // out var _arg1 *C.graphene_point3d_t // out @@ -4152,7 +4032,6 @@ func (p *Plane) Distance(point *Point3D) float32 { // The function returns the following values: // // - ok: true if the given planes are equal. -// func (a *Plane) Equal(b *Plane) bool { var _arg0 *C.graphene_plane_t // out var _arg1 *C.graphene_plane_t // out @@ -4180,7 +4059,6 @@ func (a *Plane) Equal(b *Plane) bool { // The function returns the following values: // // - gfloat: constant value of the plane. -// func (p *Plane) Constant() float32 { var _arg0 *C.graphene_plane_t // out var _cret C.float // in @@ -4203,7 +4081,6 @@ func (p *Plane) Constant() float32 { // The function returns the following values: // // - normal: return location for the normal vector. -// func (p *Plane) Normal() *Vec3 { var _arg0 *C.graphene_plane_t // out var _arg1 C.graphene_vec3_t // in @@ -4233,7 +4110,6 @@ func (p *Plane) Normal() *Vec3 { // The function returns the following values: // // - plane: initialized plane. -// func (p *Plane) Init(normal *Vec3, constant float32) *Plane { var _arg0 *C.graphene_plane_t // out var _arg1 *C.graphene_vec3_t // out @@ -4268,7 +4144,6 @@ func (p *Plane) Init(normal *Vec3, constant float32) *Plane { // The function returns the following values: // // - plane: initialized plane. -// func (p *Plane) InitFromPlane(src *Plane) *Plane { var _arg0 *C.graphene_plane_t // out var _arg1 *C.graphene_plane_t // out @@ -4299,7 +4174,6 @@ func (p *Plane) InitFromPlane(src *Plane) *Plane { // The function returns the following values: // // - plane: initialized plane. -// func (p *Plane) InitFromPoint(normal *Vec3, point *Point3D) *Plane { var _arg0 *C.graphene_plane_t // out var _arg1 *C.graphene_vec3_t // out @@ -4337,7 +4211,6 @@ func (p *Plane) InitFromPoint(normal *Vec3, point *Point3D) *Plane { // The function returns the following values: // // - plane: initialized plane. -// func (p *Plane) InitFromPoints(a *Point3D, b *Point3D, c *Point3D) *Plane { var _arg0 *C.graphene_plane_t // out var _arg1 *C.graphene_point3d_t // out @@ -4374,7 +4247,6 @@ func (p *Plane) InitFromPoints(a *Point3D, b *Point3D, c *Point3D) *Plane { // The function returns the following values: // // - plane: initialized plane. -// func (p *Plane) InitFromVec4(src *Vec4) *Plane { var _arg0 *C.graphene_plane_t // out var _arg1 *C.graphene_vec4_t // out @@ -4400,7 +4272,6 @@ func (p *Plane) InitFromVec4(src *Vec4) *Plane { // The function returns the following values: // // - res: return location for the negated plane. -// func (p *Plane) Negate() *Plane { var _arg0 *C.graphene_plane_t // out var _arg1 C.graphene_plane_t // in @@ -4423,7 +4294,6 @@ func (p *Plane) Negate() *Plane { // The function returns the following values: // // - res: return location for the normalized plane. -// func (p *Plane) Normalize() *Plane { var _arg0 *C.graphene_plane_t // out var _arg1 C.graphene_plane_t // in @@ -4456,7 +4326,6 @@ func (p *Plane) Normalize() *Plane { // The function returns the following values: // // - res: transformed plane. -// func (p *Plane) Transform(matrix *Matrix, normalMatrix *Matrix) *Plane { var _arg0 *C.graphene_plane_t // out var _arg1 *C.graphene_matrix_t // out @@ -4556,7 +4425,6 @@ func (p *Point) SetY(y float32) { // - dX (optional): distance component on the X axis. // - dY (optional): distance component on the Y axis. // - gfloat: distance between the two points. -// func (a *Point) Distance(b *Point) (dX float32, dY float32, gfloat float32) { var _arg0 *C.graphene_point_t // out var _arg1 *C.graphene_point_t // out @@ -4595,7 +4463,6 @@ func (a *Point) Distance(b *Point) (dX float32, dY float32, gfloat float32) { // The function returns the following values: // // - ok: true if the points have the same coordinates. -// func (a *Point) Equal(b *Point) bool { var _arg0 *C.graphene_point_t // out var _arg1 *C.graphene_point_t // out @@ -4629,7 +4496,6 @@ func (a *Point) Equal(b *Point) bool { // The function returns the following values: // // - point: initialized point. -// func (p *Point) Init(x float32, y float32) *Point { var _arg0 *C.graphene_point_t // out var _arg1 C.float // out @@ -4661,7 +4527,6 @@ func (p *Point) Init(x float32, y float32) *Point { // The function returns the following values: // // - point: initialized point. -// func (p *Point) InitFromPoint(src *Point) *Point { var _arg0 *C.graphene_point_t // out var _arg1 *C.graphene_point_t // out @@ -4691,7 +4556,6 @@ func (p *Point) InitFromPoint(src *Point) *Point { // The function returns the following values: // // - point: initialized point. -// func (p *Point) InitFromVec2(src *Vec2) *Point { var _arg0 *C.graphene_point_t // out var _arg1 *C.graphene_vec2_t // out @@ -4722,7 +4586,6 @@ func (p *Point) InitFromVec2(src *Vec2) *Point { // The function returns the following values: // // - res: return location for the interpolated point. -// func (a *Point) Interpolate(b *Point, factor float64) *Point { var _arg0 *C.graphene_point_t // out var _arg1 *C.graphene_point_t // out @@ -4756,7 +4619,6 @@ func (a *Point) Interpolate(b *Point, factor float64) *Point { // The function returns the following values: // // - ok: true if the distance is within epsilon. -// func (a *Point) Near(b *Point, epsilon float32) bool { var _arg0 *C.graphene_point_t // out var _arg1 *C.graphene_point_t // out @@ -4787,7 +4649,6 @@ func (a *Point) Near(b *Point, epsilon float32) bool { // The function returns the following values: // // - v: return location for the vertex. -// func (p *Point) ToVec2() *Vec2 { var _arg0 *C.graphene_point_t // out var _arg1 C.graphene_vec2_t // in @@ -4809,7 +4670,6 @@ func (p *Point) ToVec2() *Vec2 { // The function returns the following values: // // - point: fixed point. -// func PointZero() *Point { var _cret *C.graphene_point_t // in @@ -4909,7 +4769,6 @@ func (p *Point3D) SetZ(z float32) { // The function returns the following values: // // - res: return location for the cross product. -// func (a *Point3D) Cross(b *Point3D) *Point3D { var _arg0 *C.graphene_point3d_t // out var _arg1 *C.graphene_point3d_t // out @@ -4940,7 +4799,6 @@ func (a *Point3D) Cross(b *Point3D) *Point3D { // - delta (optional): return location for the distance components on the X, // Y, and Z axis. // - gfloat: distance between two points. -// func (a *Point3D) Distance(b *Point3D) (*Vec3, float32) { var _arg0 *C.graphene_point3d_t // out var _arg1 *C.graphene_point3d_t // out @@ -4972,7 +4830,6 @@ func (a *Point3D) Distance(b *Point3D) (*Vec3, float32) { // The function returns the following values: // // - gfloat: value of the dot product. -// func (a *Point3D) Dot(b *Point3D) float32 { var _arg0 *C.graphene_point3d_t // out var _arg1 *C.graphene_point3d_t // out @@ -5001,7 +4858,6 @@ func (a *Point3D) Dot(b *Point3D) float32 { // The function returns the following values: // // - ok: true if the points are equal. -// func (a *Point3D) Equal(b *Point3D) bool { var _arg0 *C.graphene_point3d_t // out var _arg1 *C.graphene_point3d_t // out @@ -5034,7 +4890,6 @@ func (a *Point3D) Equal(b *Point3D) bool { // The function returns the following values: // // - point3D: initialized #graphene_point3d_t. -// func (p *Point3D) Init(x float32, y float32, z float32) *Point3D { var _arg0 *C.graphene_point3d_t // out var _arg1 C.float // out @@ -5070,7 +4925,6 @@ func (p *Point3D) Init(x float32, y float32, z float32) *Point3D { // The function returns the following values: // // - point3D: initialized point. -// func (p *Point3D) InitFromPoint(src *Point3D) *Point3D { var _arg0 *C.graphene_point3d_t // out var _arg1 *C.graphene_point3d_t // out @@ -5100,7 +4954,6 @@ func (p *Point3D) InitFromPoint(src *Point3D) *Point3D { // The function returns the following values: // // - point3D: initialized #graphene_point3d_t. -// func (p *Point3D) InitFromVec3(v *Vec3) *Point3D { var _arg0 *C.graphene_point3d_t // out var _arg1 *C.graphene_vec3_t // out @@ -5131,7 +4984,6 @@ func (p *Point3D) InitFromVec3(v *Vec3) *Point3D { // The function returns the following values: // // - res: return location for the interpolated #graphene_point3d_t. -// func (a *Point3D) Interpolate(b *Point3D, factor float64) *Point3D { var _arg0 *C.graphene_point3d_t // out var _arg1 *C.graphene_point3d_t // out @@ -5160,7 +5012,6 @@ func (a *Point3D) Interpolate(b *Point3D, factor float64) *Point3D { // The function returns the following values: // // - gfloat: length of the vector represented by the point. -// func (p *Point3D) Length() float32 { var _arg0 *C.graphene_point3d_t // out var _cret C.float // in @@ -5188,7 +5039,6 @@ func (p *Point3D) Length() float32 { // The function returns the following values: // // - ok: true if the points are near each other. -// func (a *Point3D) Near(b *Point3D, epsilon float32) bool { var _arg0 *C.graphene_point3d_t // out var _arg1 *C.graphene_point3d_t // out @@ -5219,7 +5069,6 @@ func (a *Point3D) Near(b *Point3D, epsilon float32) bool { // The function returns the following values: // // - res: return location for the normalized #graphene_point3d_t. -// func (p *Point3D) Normalize() *Point3D { var _arg0 *C.graphene_point3d_t // out var _arg1 C.graphene_point3d_t // in @@ -5253,7 +5102,6 @@ func (p *Point3D) Normalize() *Point3D { // The function returns the following values: // // - res: return location for the normalized #graphene_point3d_t. -// func (p *Point3D) NormalizeViewport(viewport *Rect, zNear float32, zFar float32) *Point3D { var _arg0 *C.graphene_point3d_t // out var _arg1 *C.graphene_rect_t // out @@ -5289,7 +5137,6 @@ func (p *Point3D) NormalizeViewport(viewport *Rect, zNear float32, zFar float32) // The function returns the following values: // // - res: return location for the scaled point. -// func (p *Point3D) Scale(factor float32) *Point3D { var _arg0 *C.graphene_point3d_t // out var _arg1 C.float // out @@ -5315,7 +5162,6 @@ func (p *Point3D) Scale(factor float32) *Point3D { // The function returns the following values: // // - v: return location for a #graphene_vec3_t. -// func (p *Point3D) ToVec3() *Vec3 { var _arg0 *C.graphene_point3d_t // out var _arg1 C.graphene_vec3_t // in @@ -5337,7 +5183,6 @@ func (p *Point3D) ToVec3() *Vec3 { // The function returns the following values: // // - point3D: zero point. -// func Point3DZero() *Point3D { var _cret *C.graphene_point3d_t // in @@ -5394,7 +5239,6 @@ func NewQuadAlloc() *Quad { // The function returns the following values: // // - r: return location for a #graphene_rect_t. -// func (q *Quad) Bounds() *Rect { var _arg0 *C.graphene_quad_t // out var _arg1 C.graphene_rect_t // in @@ -5421,7 +5265,6 @@ func (q *Quad) Bounds() *Rect { // The function returns the following values: // // - ok: true if the point is inside the #graphene_quad_t. -// func (q *Quad) Contains(p *Point) bool { var _arg0 *C.graphene_quad_t // out var _arg1 *C.graphene_point_t // out @@ -5452,7 +5295,6 @@ func (q *Quad) Contains(p *Point) bool { // The function returns the following values: // // - point: #graphene_point_t. -// func (q *Quad) Point(index_ uint) *Point { var _arg0 *C.graphene_quad_t // out var _arg1 C.uint // out @@ -5484,7 +5326,6 @@ func (q *Quad) Point(index_ uint) *Point { // The function returns the following values: // // - quad: initialized #graphene_quad_t. -// func (q *Quad) Init(p1 *Point, p2 *Point, p3 *Point, p4 *Point) *Quad { var _arg0 *C.graphene_quad_t // out var _arg1 *C.graphene_point_t // out @@ -5522,7 +5363,6 @@ func (q *Quad) Init(p1 *Point, p2 *Point, p3 *Point, p4 *Point) *Quad { // The function returns the following values: // // - quad: initialized #graphene_quad_t. -// func (q *Quad) InitFromPoints(points [4]Point) *Quad { var _arg0 *C.graphene_quad_t // out var _arg1 *C.graphene_point_t // out @@ -5558,7 +5398,6 @@ func (q *Quad) InitFromPoints(points [4]Point) *Quad { // The function returns the following values: // // - quad: initialized #graphene_quad_t. -// func (q *Quad) InitFromRect(r *Rect) *Quad { var _arg0 *C.graphene_quad_t // out var _arg1 *C.graphene_rect_t // out @@ -5626,7 +5465,6 @@ func NewQuaternionAlloc() *Quaternion { // The function returns the following values: // // - res: result of the operation. -// func (a *Quaternion) Add(b *Quaternion) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 *C.graphene_quaternion_t // out @@ -5655,7 +5493,6 @@ func (a *Quaternion) Add(b *Quaternion) *Quaternion { // The function returns the following values: // // - gfloat: value of the dot products. -// func (a *Quaternion) Dot(b *Quaternion) float32 { var _arg0 *C.graphene_quaternion_t // out var _arg1 *C.graphene_quaternion_t // out @@ -5684,7 +5521,6 @@ func (a *Quaternion) Dot(b *Quaternion) float32 { // The function returns the following values: // // - ok: true if the quaternions are equal. -// func (a *Quaternion) Equal(b *Quaternion) bool { var _arg0 *C.graphene_quaternion_t // out var _arg1 *C.graphene_quaternion_t // out @@ -5718,7 +5554,6 @@ func (a *Quaternion) Equal(b *Quaternion) bool { // The function returns the following values: // // - quaternion: initialized quaternion. -// func (q *Quaternion) Init(x float32, y float32, z float32, w float32) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.float // out @@ -5758,7 +5593,6 @@ func (q *Quaternion) Init(x float32, y float32, z float32, w float32) *Quaternio // The function returns the following values: // // - quaternion: initialized quaternion. -// func (q *Quaternion) InitFromAngleVec3(angle float32, axis *Vec3) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.float // out @@ -5795,7 +5629,6 @@ func (q *Quaternion) InitFromAngleVec3(angle float32, axis *Vec3) *Quaternion { // The function returns the following values: // // - quaternion: initialized quaternion. -// func (q *Quaternion) InitFromAngles(degX float32, degY float32, degZ float32) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.float // out @@ -5831,7 +5664,6 @@ func (q *Quaternion) InitFromAngles(degX float32, degY float32, degZ float32) *Q // The function returns the following values: // // - quaternion: initialized #graphene_quaternion_t. -// func (q *Quaternion) InitFromEuler(e *Euler) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 *C.graphene_euler_t // out @@ -5861,7 +5693,6 @@ func (q *Quaternion) InitFromEuler(e *Euler) *Quaternion { // The function returns the following values: // // - quaternion: initialized quaternion. -// func (q *Quaternion) InitFromMatrix(m *Matrix) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 *C.graphene_matrix_t // out @@ -5891,7 +5722,6 @@ func (q *Quaternion) InitFromMatrix(m *Matrix) *Quaternion { // The function returns the following values: // // - quaternion: initialized quaternion. -// func (q *Quaternion) InitFromQuaternion(src *Quaternion) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 *C.graphene_quaternion_t // out @@ -5925,7 +5755,6 @@ func (q *Quaternion) InitFromQuaternion(src *Quaternion) *Quaternion { // The function returns the following values: // // - quaternion: initialized quaternion. -// func (q *Quaternion) InitFromRadians(radX float32, radY float32, radZ float32) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.float // out @@ -5960,7 +5789,6 @@ func (q *Quaternion) InitFromRadians(radX float32, radY float32, radZ float32) * // The function returns the following values: // // - quaternion: initialized quaternion. -// func (q *Quaternion) InitFromVec4(src *Vec4) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 *C.graphene_vec4_t // out @@ -5986,7 +5814,6 @@ func (q *Quaternion) InitFromVec4(src *Vec4) *Quaternion { // The function returns the following values: // // - quaternion: initialized quaternion. -// func (q *Quaternion) InitIdentity() *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _cret *C.graphene_quaternion_t // in @@ -6009,7 +5836,6 @@ func (q *Quaternion) InitIdentity() *Quaternion { // The function returns the following values: // // - res: return location for the inverted quaternion. -// func (q *Quaternion) Invert() *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.graphene_quaternion_t // in @@ -6035,7 +5861,6 @@ func (q *Quaternion) Invert() *Quaternion { // The function returns the following values: // // - res: result of the operation. -// func (a *Quaternion) Multiply(b *Quaternion) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 *C.graphene_quaternion_t // out @@ -6060,7 +5885,6 @@ func (a *Quaternion) Multiply(b *Quaternion) *Quaternion { // The function returns the following values: // // - res: return location for the normalized quaternion. -// func (q *Quaternion) Normalize() *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.graphene_quaternion_t // in @@ -6087,7 +5911,6 @@ func (q *Quaternion) Normalize() *Quaternion { // The function returns the following values: // // - res: result of the operation. -// func (q *Quaternion) Scale(factor float32) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.float // out @@ -6119,7 +5942,6 @@ func (q *Quaternion) Scale(factor float32) *Quaternion { // The function returns the following values: // // - res: return location for the interpolated quaternion. -// func (a *Quaternion) Slerp(b *Quaternion, factor float32) *Quaternion { var _arg0 *C.graphene_quaternion_t // out var _arg1 *C.graphene_quaternion_t // out @@ -6148,7 +5970,6 @@ func (a *Quaternion) Slerp(b *Quaternion, factor float32) *Quaternion { // // - angle: return location for the angle, in degrees. // - axis: return location for the rotation axis. -// func (q *Quaternion) ToAngleVec3() (float32, *Vec3) { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.float // in @@ -6179,7 +6000,6 @@ func (q *Quaternion) ToAngleVec3() (float32, *Vec3) { // (pitch), in degrees. // - degZ (optional): return location for the rotation angle on the Z axis // (roll), in degrees. -// func (q *Quaternion) ToAngles() (degX float32, degY float32, degZ float32) { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.float // in @@ -6208,7 +6028,6 @@ func (q *Quaternion) ToAngles() (degX float32, degY float32, degZ float32) { // The function returns the following values: // // - m: #graphene_matrix_t. -// func (q *Quaternion) ToMatrix() *Matrix { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.graphene_matrix_t // in @@ -6236,7 +6055,6 @@ func (q *Quaternion) ToMatrix() *Matrix { // (pitch), in radians. // - radZ (optional): return location for the rotation angle on the Z axis // (roll), in radians. -// func (q *Quaternion) ToRadians() (radX float32, radY float32, radZ float32) { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.float // in @@ -6265,7 +6083,6 @@ func (q *Quaternion) ToRadians() (radX float32, radY float32, radZ float32) { // The function returns the following values: // // - res: return location for a #graphene_vec4_t. -// func (q *Quaternion) ToVec4() *Vec4 { var _arg0 *C.graphene_quaternion_t // out var _arg1 C.graphene_vec4_t // in @@ -6330,7 +6147,6 @@ func NewRayAlloc() *Ray { // The function returns the following values: // // - ok: true if the given rays are equal. -// func (a *Ray) Equal(b *Ray) bool { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_ray_t // out @@ -6362,7 +6178,6 @@ func (a *Ray) Equal(b *Ray) bool { // The function returns the following values: // // - res: return location for the closest point3d. -// func (r *Ray) ClosestPointToPoint(p *Point3D) *Point3D { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_point3d_t // out @@ -6387,7 +6202,6 @@ func (r *Ray) ClosestPointToPoint(p *Point3D) *Point3D { // The function returns the following values: // // - direction: return location for the direction. -// func (r *Ray) Direction() *Vec3 { var _arg0 *C.graphene_ray_t // out var _arg1 C.graphene_vec3_t // in @@ -6416,7 +6230,6 @@ func (r *Ray) Direction() *Vec3 { // The function returns the following values: // // - gfloat: distance of the origin of the ray from the plane. -// func (r *Ray) DistanceToPlane(p *Plane) float32 { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_plane_t // out @@ -6449,7 +6262,6 @@ func (r *Ray) DistanceToPlane(p *Plane) float32 { // The function returns the following values: // // - gfloat: distance of the point. -// func (r *Ray) DistanceToPoint(p *Point3D) float32 { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_point3d_t // out @@ -6474,7 +6286,6 @@ func (r *Ray) DistanceToPoint(p *Point3D) float32 { // The function returns the following values: // // - origin: return location for the origin. -// func (r *Ray) Origin() *Point3D { var _arg0 *C.graphene_ray_t // out var _arg1 C.graphene_point3d_t // in @@ -6501,7 +6312,6 @@ func (r *Ray) Origin() *Point3D { // The function returns the following values: // // - position: return location for the position. -// func (r *Ray) PositionAt(t float32) *Point3D { var _arg0 *C.graphene_ray_t // out var _arg1 C.float // out @@ -6532,7 +6342,6 @@ func (r *Ray) PositionAt(t float32) *Point3D { // The function returns the following values: // // - ray: initialized ray. -// func (r *Ray) Init(origin *Point3D, direction *Vec3) *Ray { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_point3d_t // out @@ -6569,7 +6378,6 @@ func (r *Ray) Init(origin *Point3D, direction *Vec3) *Ray { // The function returns the following values: // // - ray: initialized ray. -// func (r *Ray) InitFromRay(src *Ray) *Ray { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_ray_t // out @@ -6599,7 +6407,6 @@ func (r *Ray) InitFromRay(src *Ray) *Ray { // The function returns the following values: // // - ray: initialized ray. -// func (r *Ray) InitFromVec3(origin *Vec3, direction *Vec3) *Ray { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_vec3_t // out @@ -6637,7 +6444,6 @@ func (r *Ray) InitFromVec3(origin *Vec3, direction *Vec3) *Ray { // // - tOut: distance of the point on the ray that intersects the box. // - rayIntersectionKind: type of intersection. -// func (r *Ray) IntersectBox(b *Box) (float32, RayIntersectionKind) { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_box_t // out @@ -6671,7 +6477,6 @@ func (r *Ray) IntersectBox(b *Box) (float32, RayIntersectionKind) { // // - tOut: distance of the point on the ray that intersects the sphere. // - rayIntersectionKind: type of intersection. -// func (r *Ray) IntersectSphere(s *Sphere) (float32, RayIntersectionKind) { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_sphere_t // out @@ -6705,7 +6510,6 @@ func (r *Ray) IntersectSphere(s *Sphere) (float32, RayIntersectionKind) { // // - tOut: distance of the point on the ray that intersects the triangle. // - rayIntersectionKind: type of intersection. -// func (r *Ray) IntersectTriangle(t *Triangle) (float32, RayIntersectionKind) { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_triangle_t // out @@ -6740,7 +6544,6 @@ func (r *Ray) IntersectTriangle(t *Triangle) (float32, RayIntersectionKind) { // The function returns the following values: // // - ok: true if the ray intersects the box. -// func (r *Ray) IntersectsBox(b *Box) bool { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_box_t // out @@ -6774,7 +6577,6 @@ func (r *Ray) IntersectsBox(b *Box) bool { // The function returns the following values: // // - ok: true if the ray intersects the sphere. -// func (r *Ray) IntersectsSphere(s *Sphere) bool { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_sphere_t // out @@ -6808,7 +6610,6 @@ func (r *Ray) IntersectsSphere(s *Sphere) bool { // The function returns the following values: // // - ok: true if the ray intersects the triangle. -// func (r *Ray) IntersectsTriangle(t *Triangle) bool { var _arg0 *C.graphene_ray_t // out var _arg1 *C.graphene_triangle_t // out @@ -6884,7 +6685,6 @@ func (r *Rect) Size() *Size { // The function returns the following values: // // - ok: true if the rectangle contains the point. -// func (r *Rect) ContainsPoint(p *Point) bool { var _arg0 *C.graphene_rect_t // out var _arg1 *C.graphene_point_t // out @@ -6916,7 +6716,6 @@ func (r *Rect) ContainsPoint(p *Point) bool { // The function returns the following values: // // - ok: true if the rectangle a fully contains b. -// func (a *Rect) ContainsRect(b *Rect) bool { var _arg0 *C.graphene_rect_t // out var _arg1 *C.graphene_rect_t // out @@ -6947,7 +6746,6 @@ func (a *Rect) ContainsRect(b *Rect) bool { // The function returns the following values: // // - ok: true if the rectangles are equal. -// func (a *Rect) Equal(b *Rect) bool { var _arg0 *C.graphene_rect_t // out var _arg1 *C.graphene_rect_t // out @@ -6978,7 +6776,6 @@ func (a *Rect) Equal(b *Rect) bool { // The function returns the following values: // // - res: return location for the expanded rectangle. -// func (r *Rect) Expand(p *Point) *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 *C.graphene_point_t // out @@ -7003,7 +6800,6 @@ func (r *Rect) Expand(p *Point) *Rect { // The function returns the following values: // // - gfloat: area of the normalized rectangle. -// func (r *Rect) Area() float32 { var _arg0 *C.graphene_rect_t // out var _cret C.float // in @@ -7026,7 +6822,6 @@ func (r *Rect) Area() float32 { // The function returns the following values: // // - p: return location for a #graphene_point_t. -// func (r *Rect) BottomLeft() *Point { var _arg0 *C.graphene_rect_t // out var _arg1 C.graphene_point_t // in @@ -7049,7 +6844,6 @@ func (r *Rect) BottomLeft() *Point { // The function returns the following values: // // - p: return location for a #graphene_point_t. -// func (r *Rect) BottomRight() *Point { var _arg0 *C.graphene_rect_t // out var _arg1 C.graphene_point_t // in @@ -7071,7 +6865,6 @@ func (r *Rect) BottomRight() *Point { // The function returns the following values: // // - p: return location for a #graphene_point_t. -// func (r *Rect) Center() *Point { var _arg0 *C.graphene_rect_t // out var _arg1 C.graphene_point_t // in @@ -7093,7 +6886,6 @@ func (r *Rect) Center() *Point { // The function returns the following values: // // - gfloat: normalized height of the rectangle. -// func (r *Rect) Height() float32 { var _arg0 *C.graphene_rect_t // out var _cret C.float // in @@ -7116,7 +6908,6 @@ func (r *Rect) Height() float32 { // The function returns the following values: // // - p: return location for a #graphene_point_t. -// func (r *Rect) TopLeft() *Point { var _arg0 *C.graphene_rect_t // out var _arg1 C.graphene_point_t // in @@ -7139,7 +6930,6 @@ func (r *Rect) TopLeft() *Point { // The function returns the following values: // // - p: return location for a #graphene_point_t. -// func (r *Rect) TopRight() *Point { var _arg0 *C.graphene_rect_t // out var _arg1 C.graphene_point_t // in @@ -7161,7 +6951,6 @@ func (r *Rect) TopRight() *Point { // The function returns the following values: // // - vertices: return location for an array of 4 #graphene_vec2_t. -// func (r *Rect) Vertices() [4]Vec2 { var _arg0 *C.graphene_rect_t // out var _arg1 [4]C.graphene_vec2_t // in @@ -7188,7 +6977,6 @@ func (r *Rect) Vertices() [4]Vec2 { // The function returns the following values: // // - gfloat: normalized width of the rectangle. -// func (r *Rect) Width() float32 { var _arg0 *C.graphene_rect_t // out var _cret C.float // in @@ -7210,7 +6998,6 @@ func (r *Rect) Width() float32 { // The function returns the following values: // // - gfloat: normalized X coordinate of the rectangle. -// func (r *Rect) X() float32 { var _arg0 *C.graphene_rect_t // out var _cret C.float // in @@ -7232,7 +7019,6 @@ func (r *Rect) X() float32 { // The function returns the following values: // // - gfloat: normalized Y coordinate of the rectangle. -// func (r *Rect) Y() float32 { var _arg0 *C.graphene_rect_t // out var _cret C.float // in @@ -7264,7 +7050,6 @@ func (r *Rect) Y() float32 { // The function returns the following values: // // - rect: initialized rectangle. -// func (r *Rect) Init(x float32, y float32, width float32, height float32) *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 C.float // out @@ -7305,7 +7090,6 @@ func (r *Rect) Init(x float32, y float32, width float32, height float32) *Rect { // The function returns the following values: // // - rect: initialized rectangle. -// func (r *Rect) InitFromRect(src *Rect) *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 *C.graphene_rect_t // out @@ -7347,7 +7131,6 @@ func (r *Rect) InitFromRect(src *Rect) *Rect { // The function returns the following values: // // - rect: inset rectangle. -// func (r *Rect) Inset(dX float32, dY float32) *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 C.float // out @@ -7392,7 +7175,6 @@ func (r *Rect) Inset(dX float32, dY float32) *Rect { // The function returns the following values: // // - res: return location for the inset rectangle. -// func (r *Rect) InsetR(dX float32, dY float32) *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 C.float // out @@ -7426,7 +7208,6 @@ func (r *Rect) InsetR(dX float32, dY float32) *Rect { // The function returns the following values: // // - res: return location for the interpolated rectangle. -// func (a *Rect) Interpolate(b *Rect, factor float64) *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 *C.graphene_rect_t // out @@ -7466,7 +7247,6 @@ func (a *Rect) Interpolate(b *Rect, factor float64) *Rect { // // - res (optional): return location for a #graphene_rect_t. // - ok: true if the two rectangles intersect. -// func (a *Rect) Intersection(b *Rect) (*Rect, bool) { var _arg0 *C.graphene_rect_t // out var _arg1 *C.graphene_rect_t // out @@ -7499,7 +7279,6 @@ func (a *Rect) Intersection(b *Rect) (*Rect, bool) { // The function returns the following values: // // - rect: normalized rectangle. -// func (r *Rect) Normalize() *Rect { var _arg0 *C.graphene_rect_t // out var _cret *C.graphene_rect_t // in @@ -7524,7 +7303,6 @@ func (r *Rect) Normalize() *Rect { // The function returns the following values: // // - res: return location for the normalized rectangle. -// func (r *Rect) NormalizeR() *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 C.graphene_rect_t // in @@ -7553,7 +7331,6 @@ func (r *Rect) NormalizeR() *Rect { // The function returns the following values: // // - rect: offset rectangle. -// func (r *Rect) Offset(dX float32, dY float32) *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 C.float // out @@ -7588,7 +7365,6 @@ func (r *Rect) Offset(dX float32, dY float32) *Rect { // The function returns the following values: // // - res: return location for the offset rectangle. -// func (r *Rect) OffsetR(dX float32, dY float32) *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 C.float // out @@ -7625,7 +7401,6 @@ func (r *Rect) OffsetR(dX float32, dY float32) *Rect { // The function returns the following values: // // - res: return location for the rounded rectangle. -// func (r *Rect) Round() *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 C.graphene_rect_t // in @@ -7663,7 +7438,6 @@ func (r *Rect) Round() *Rect { // The function returns the following values: // // - res: return location for the rectangle with rounded extents. -// func (r *Rect) RoundExtents() *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 C.graphene_rect_t // in @@ -7689,7 +7463,6 @@ func (r *Rect) RoundExtents() *Rect { // The function returns the following values: // // - rect: pixel-aligned rectangle. -// func (r *Rect) RoundToPixel() *Rect { var _arg0 *C.graphene_rect_t // out var _cret *C.graphene_rect_t // in @@ -7717,7 +7490,6 @@ func (r *Rect) RoundToPixel() *Rect { // The function returns the following values: // // - res: return location for the scaled rectangle. -// func (r *Rect) Scale(sH float32, sV float32) *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 C.float // out @@ -7753,7 +7525,6 @@ func (r *Rect) Scale(sH float32, sV float32) *Rect { // The function returns the following values: // // - res: return location for a #graphene_rect_t. -// func (a *Rect) Union(b *Rect) *Rect { var _arg0 *C.graphene_rect_t // out var _arg1 *C.graphene_rect_t // out @@ -7780,7 +7551,6 @@ func (a *Rect) Union(b *Rect) *Rect { // The function returns the following values: // // - rect: newly allocated rectangle. -// func RectAlloc() *Rect { var _cret *C.graphene_rect_t // in @@ -7805,7 +7575,6 @@ func RectAlloc() *Rect { // The function returns the following values: // // - rect: fixed rectangle. -// func RectZero() *Rect { var _cret *C.graphene_rect_t // in @@ -7911,7 +7680,6 @@ func (s *Size) SetHeight(height float32) { // The function returns the following values: // // - ok: true if the sizes are equal. -// func (a *Size) Equal(b *Size) bool { var _arg0 *C.graphene_size_t // out var _arg1 *C.graphene_size_t // out @@ -7943,7 +7711,6 @@ func (a *Size) Equal(b *Size) bool { // The function returns the following values: // // - size: initialized #graphene_size_t. -// func (s *Size) Init(width float32, height float32) *Size { var _arg0 *C.graphene_size_t // out var _arg1 C.float // out @@ -7976,7 +7743,6 @@ func (s *Size) Init(width float32, height float32) *Size { // The function returns the following values: // // - size: initialized #graphene_size_t. -// func (s *Size) InitFromSize(src *Size) *Size { var _arg0 *C.graphene_size_t // out var _arg1 *C.graphene_size_t // out @@ -8007,7 +7773,6 @@ func (s *Size) InitFromSize(src *Size) *Size { // The function returns the following values: // // - res: return location for the interpolated size. -// func (a *Size) Interpolate(b *Size, factor float64) *Size { var _arg0 *C.graphene_size_t // out var _arg1 *C.graphene_size_t // out @@ -8039,7 +7804,6 @@ func (a *Size) Interpolate(b *Size, factor float64) *Size { // The function returns the following values: // // - res: return location for the scaled size. -// func (s *Size) Scale(factor float32) *Size { var _arg0 *C.graphene_size_t // out var _arg1 C.float // out @@ -8065,7 +7829,6 @@ func (s *Size) Scale(factor float32) *Size { // The function returns the following values: // // - size: constant size. -// func SizeZero() *Size { var _cret *C.graphene_size_t // in @@ -8124,7 +7887,6 @@ func NewSphereAlloc() *Sphere { // The function returns the following values: // // - ok: true if the sphere contains the point. -// func (s *Sphere) ContainsPoint(point *Point3D) bool { var _arg0 *C.graphene_sphere_t // out var _arg1 *C.graphene_point3d_t // out @@ -8156,7 +7918,6 @@ func (s *Sphere) ContainsPoint(point *Point3D) bool { // The function returns the following values: // // - gfloat: distance of the point. -// func (s *Sphere) Distance(point *Point3D) float32 { var _arg0 *C.graphene_sphere_t // out var _arg1 *C.graphene_point3d_t // out @@ -8185,7 +7946,6 @@ func (s *Sphere) Distance(point *Point3D) float32 { // The function returns the following values: // // - ok: true if the spheres are equal. -// func (a *Sphere) Equal(b *Sphere) bool { var _arg0 *C.graphene_sphere_t // out var _arg1 *C.graphene_sphere_t // out @@ -8213,7 +7973,6 @@ func (a *Sphere) Equal(b *Sphere) bool { // The function returns the following values: // // - box: return location for the bounding box. -// func (s *Sphere) BoundingBox() *Box { var _arg0 *C.graphene_sphere_t // out var _arg1 C.graphene_box_t // in @@ -8235,7 +7994,6 @@ func (s *Sphere) BoundingBox() *Box { // The function returns the following values: // // - center: return location for the coordinates of the center. -// func (s *Sphere) Center() *Point3D { var _arg0 *C.graphene_sphere_t // out var _arg1 C.graphene_point3d_t // in @@ -8281,7 +8039,6 @@ func (s *Sphere) Radius() float32 { // The function returns the following values: // // - sphere: initialized #graphene_sphere_t. -// func (s *Sphere) Init(center *Point3D, radius float32) *Sphere { var _arg0 *C.graphene_sphere_t // out var _arg1 *C.graphene_point3d_t // out @@ -8320,7 +8077,6 @@ func (s *Sphere) Init(center *Point3D, radius float32) *Sphere { // The function returns the following values: // // - sphere: initialized #graphene_sphere_t. -// func (s *Sphere) InitFromPoints(points []Point3D, center *Point3D) *Sphere { var _arg0 *C.graphene_sphere_t // out var _arg2 *C.graphene_point3d_t // out @@ -8368,7 +8124,6 @@ func (s *Sphere) InitFromPoints(points []Point3D, center *Point3D) *Sphere { // The function returns the following values: // // - sphere: initialized #graphene_sphere_t. -// func (s *Sphere) InitFromVectors(vectors []Vec3, center *Point3D) *Sphere { var _arg0 *C.graphene_sphere_t // out var _arg2 *C.graphene_vec3_t // out @@ -8407,7 +8162,6 @@ func (s *Sphere) InitFromVectors(vectors []Vec3, center *Point3D) *Sphere { // The function returns the following values: // // - ok: true if the sphere is empty. -// func (s *Sphere) IsEmpty() bool { var _arg0 *C.graphene_sphere_t // out var _cret C._Bool // in @@ -8436,7 +8190,6 @@ func (s *Sphere) IsEmpty() bool { // The function returns the following values: // // - res: return location for the translated sphere. -// func (s *Sphere) Translate(point *Point3D) *Sphere { var _arg0 *C.graphene_sphere_t // out var _arg1 *C.graphene_point3d_t // out @@ -8501,7 +8254,6 @@ func NewTriangleAlloc() *Triangle { // The function returns the following values: // // - ok: true if the point is inside the triangle. -// func (t *Triangle) ContainsPoint(p *Point3D) bool { var _arg0 *C.graphene_triangle_t // out var _arg1 *C.graphene_point3d_t // out @@ -8532,7 +8284,6 @@ func (t *Triangle) ContainsPoint(p *Point3D) bool { // The function returns the following values: // // - ok: true if the triangles are equal. -// func (a *Triangle) Equal(b *Triangle) bool { var _arg0 *C.graphene_triangle_t // out var _arg1 *C.graphene_triangle_t // out @@ -8559,7 +8310,6 @@ func (a *Triangle) Equal(b *Triangle) bool { // The function returns the following values: // // - gfloat: area of the triangle. -// func (t *Triangle) Area() float32 { var _arg0 *C.graphene_triangle_t // out var _cret C.float // in @@ -8602,7 +8352,6 @@ func (t *Triangle) Area() float32 { // // - res: return location for the vector with the barycentric coordinates. // - ok: true if the barycentric coordinates are valid. -// func (t *Triangle) Barycoords(p *Point3D) (*Vec2, bool) { var _arg0 *C.graphene_triangle_t // out var _arg1 *C.graphene_point3d_t // out @@ -8634,7 +8383,6 @@ func (t *Triangle) Barycoords(p *Point3D) (*Vec2, bool) { // The function returns the following values: // // - res: return location for the box. -// func (t *Triangle) BoundingBox() *Box { var _arg0 *C.graphene_triangle_t // out var _arg1 C.graphene_box_t // in @@ -8661,7 +8409,6 @@ func (t *Triangle) BoundingBox() *Box { // The function returns the following values: // // - res: return location for the coordinates of the midpoint. -// func (t *Triangle) Midpoint() *Point3D { var _arg0 *C.graphene_triangle_t // out var _arg1 C.graphene_point3d_t // in @@ -8683,7 +8430,6 @@ func (t *Triangle) Midpoint() *Point3D { // The function returns the following values: // // - res: return location for the normal vector. -// func (t *Triangle) Normal() *Vec3 { var _arg0 *C.graphene_triangle_t // out var _arg1 C.graphene_vec3_t // in @@ -8706,7 +8452,6 @@ func (t *Triangle) Normal() *Vec3 { // The function returns the following values: // // - res: return location for the plane. -// func (t *Triangle) Plane() *Plane { var _arg0 *C.graphene_triangle_t // out var _arg1 C.graphene_plane_t // in @@ -8731,7 +8476,6 @@ func (t *Triangle) Plane() *Plane { // - a (optional): return location for the coordinates of the first vertex. // - b (optional): return location for the coordinates of the second vertex. // - c (optional): return location for the coordinates of the third vertex. -// func (t *Triangle) Points() (a *Point3D, b *Point3D, c *Point3D) { var _arg0 *C.graphene_triangle_t // out var _arg1 C.graphene_point3d_t // in @@ -8778,7 +8522,6 @@ func (t *Triangle) Points() (a *Point3D, b *Point3D, c *Point3D) { // // - res: vector containing the UV coordinates of the given point p. // - ok: true if the coordinates are valid. -// func (t *Triangle) Uv(p *Point3D, uvA *Vec2, uvB *Vec2, uvC *Vec2) (*Vec2, bool) { var _arg0 *C.graphene_triangle_t // out var _arg1 *C.graphene_point3d_t // out @@ -8821,7 +8564,6 @@ func (t *Triangle) Uv(p *Point3D, uvA *Vec2, uvB *Vec2, uvC *Vec2) (*Vec2, bool) // - a (optional): return location for the first vertex. // - b (optional): return location for the second vertex. // - c (optional): return location for the third vertex. -// func (t *Triangle) Vertices() (a *Vec3, b *Vec3, c *Vec3) { var _arg0 *C.graphene_triangle_t // out var _arg1 C.graphene_vec3_t // in @@ -8857,7 +8599,6 @@ func (t *Triangle) Vertices() (a *Vec3, b *Vec3, c *Vec3) { // The function returns the following values: // // - triangle: initialized #graphene_triangle_t. -// func (t *Triangle) InitFromFloat(a [3]float32, b [3]float32, c [3]float32) *Triangle { var _arg0 *C.graphene_triangle_t // out var _arg1 *C.float // out @@ -8895,7 +8636,6 @@ func (t *Triangle) InitFromFloat(a [3]float32, b [3]float32, c [3]float32) *Tria // The function returns the following values: // // - triangle: initialized #graphene_triangle_t. -// func (t *Triangle) InitFromPoint3D(a *Point3D, b *Point3D, c *Point3D) *Triangle { var _arg0 *C.graphene_triangle_t // out var _arg1 *C.graphene_point3d_t // out @@ -8939,7 +8679,6 @@ func (t *Triangle) InitFromPoint3D(a *Point3D, b *Point3D, c *Point3D) *Triangle // The function returns the following values: // // - triangle: initialized #graphene_triangle_t. -// func (t *Triangle) InitFromVec3(a *Vec3, b *Vec3, c *Vec3) *Triangle { var _arg0 *C.graphene_triangle_t // out var _arg1 *C.graphene_vec3_t // out @@ -9020,7 +8759,6 @@ func NewVec2Alloc() *Vec2 { // The function returns the following values: // // - res: return location for the result. -// func (a *Vec2) Add(b *Vec2) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9051,7 +8789,6 @@ func (a *Vec2) Add(b *Vec2) *Vec2 { // The function returns the following values: // // - res: return location for the result. -// func (a *Vec2) Divide(b *Vec2) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9080,7 +8817,6 @@ func (a *Vec2) Divide(b *Vec2) *Vec2 { // The function returns the following values: // // - gfloat: dot product of the vectors. -// func (a *Vec2) Dot(b *Vec2) float32 { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9109,7 +8845,6 @@ func (a *Vec2) Dot(b *Vec2) float32 { // The function returns the following values: // // - ok: true if the two vectors are equal, and false otherwise. -// func (v1 *Vec2) Equal(v2 *Vec2) bool { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9136,7 +8871,6 @@ func (v1 *Vec2) Equal(v2 *Vec2) bool { // The function returns the following values: // // - gfloat: value of the X component. -// func (v *Vec2) X() float32 { var _arg0 *C.graphene_vec2_t // out var _cret C.float // in @@ -9158,7 +8892,6 @@ func (v *Vec2) X() float32 { // The function returns the following values: // // - gfloat: value of the Y component. -// func (v *Vec2) Y() float32 { var _arg0 *C.graphene_vec2_t // out var _cret C.float // in @@ -9187,7 +8920,6 @@ func (v *Vec2) Y() float32 { // The function returns the following values: // // - vec2: initialized vector. -// func (v *Vec2) Init(x float32, y float32) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 C.float // out @@ -9219,7 +8951,6 @@ func (v *Vec2) Init(x float32, y float32) *Vec2 { // The function returns the following values: // // - vec2: initialized vector. -// func (v *Vec2) InitFromFloat(src [2]float32) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.float // out @@ -9248,7 +8979,6 @@ func (v *Vec2) InitFromFloat(src [2]float32) *Vec2 { // The function returns the following values: // // - vec2: initialized vector. -// func (v *Vec2) InitFromVec2(src *Vec2) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9278,7 +9008,6 @@ func (v *Vec2) InitFromVec2(src *Vec2) *Vec2 { // The function returns the following values: // // - res: interpolated vector. -// func (v1 *Vec2) Interpolate(v2 *Vec2, factor float64) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9306,7 +9035,6 @@ func (v1 *Vec2) Interpolate(v2 *Vec2, factor float64) *Vec2 { // The function returns the following values: // // - gfloat: length of the vector. -// func (v *Vec2) Length() float32 { var _arg0 *C.graphene_vec2_t // out var _cret C.float // in @@ -9333,7 +9061,6 @@ func (v *Vec2) Length() float32 { // The function returns the following values: // // - res: resulting vector. -// func (a *Vec2) Max(b *Vec2) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9363,7 +9090,6 @@ func (a *Vec2) Max(b *Vec2) *Vec2 { // The function returns the following values: // // - res: resulting vector. -// func (a *Vec2) Min(b *Vec2) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9393,7 +9119,6 @@ func (a *Vec2) Min(b *Vec2) *Vec2 { // The function returns the following values: // // - res: return location for the result. -// func (a *Vec2) Multiply(b *Vec2) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9424,7 +9149,6 @@ func (a *Vec2) Multiply(b *Vec2) *Vec2 { // The function returns the following values: // // - ok: true if the two vectors are near each other. -// func (v1 *Vec2) Near(v2 *Vec2, epsilon float32) bool { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9454,7 +9178,6 @@ func (v1 *Vec2) Near(v2 *Vec2, epsilon float32) bool { // The function returns the following values: // // - res: return location for the result vector. -// func (v *Vec2) Negate() *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 C.graphene_vec2_t // in @@ -9476,7 +9199,6 @@ func (v *Vec2) Negate() *Vec2 { // The function returns the following values: // // - res: return location for the normalized vector. -// func (v *Vec2) Normalize() *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 C.graphene_vec2_t // in @@ -9503,7 +9225,6 @@ func (v *Vec2) Normalize() *Vec2 { // The function returns the following values: // // - res: return location for the result vector. -// func (v *Vec2) Scale(factor float32) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 C.float // out @@ -9534,7 +9255,6 @@ func (v *Vec2) Scale(factor float32) *Vec2 { // The function returns the following values: // // - res: return location for the result. -// func (a *Vec2) Subtract(b *Vec2) *Vec2 { var _arg0 *C.graphene_vec2_t // out var _arg1 *C.graphene_vec2_t // out @@ -9560,7 +9280,6 @@ func (a *Vec2) Subtract(b *Vec2) *Vec2 { // // - dest: return location for an array of floating point values with at least // 2 elements. -// func (v *Vec2) ToFloat() [2]float32 { var _arg0 *C.graphene_vec2_t // out var _arg1 [2]C.float // in @@ -9582,7 +9301,6 @@ func (v *Vec2) ToFloat() [2]float32 { // The function returns the following values: // // - vec2: one vector. -// func Vec2One() *Vec2 { var _cret *C.graphene_vec2_t // in @@ -9600,7 +9318,6 @@ func Vec2One() *Vec2 { // The function returns the following values: // // - vec2: x axis vector. -// func Vec2XAxis() *Vec2 { var _cret *C.graphene_vec2_t // in @@ -9618,7 +9335,6 @@ func Vec2XAxis() *Vec2 { // The function returns the following values: // // - vec2: y axis vector. -// func Vec2YAxis() *Vec2 { var _cret *C.graphene_vec2_t // in @@ -9636,7 +9352,6 @@ func Vec2YAxis() *Vec2 { // The function returns the following values: // // - vec2: zero vector. -// func Vec2Zero() *Vec2 { var _cret *C.graphene_vec2_t // in @@ -9698,7 +9413,6 @@ func NewVec3Alloc() *Vec3 { // The function returns the following values: // // - res: return location for the resulting vector. -// func (a *Vec3) Add(b *Vec3) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -9727,7 +9441,6 @@ func (a *Vec3) Add(b *Vec3) *Vec3 { // The function returns the following values: // // - res: return location for the resulting vector. -// func (a *Vec3) Cross(b *Vec3) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -9758,7 +9471,6 @@ func (a *Vec3) Cross(b *Vec3) *Vec3 { // The function returns the following values: // // - res: return location for the resulting vector. -// func (a *Vec3) Divide(b *Vec3) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -9787,7 +9499,6 @@ func (a *Vec3) Divide(b *Vec3) *Vec3 { // The function returns the following values: // // - gfloat: value of the dot product. -// func (a *Vec3) Dot(b *Vec3) float32 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -9816,7 +9527,6 @@ func (a *Vec3) Dot(b *Vec3) float32 { // The function returns the following values: // // - ok: true if the two vectors are equal, and false otherwise. -// func (v1 *Vec3) Equal(v2 *Vec3) bool { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -9843,7 +9553,6 @@ func (v1 *Vec3) Equal(v2 *Vec3) bool { // The function returns the following values: // // - gfloat: value of the first component of the vector. -// func (v *Vec3) X() float32 { var _arg0 *C.graphene_vec3_t // out var _cret C.float // in @@ -9866,7 +9575,6 @@ func (v *Vec3) X() float32 { // The function returns the following values: // // - res: return location for a #graphene_vec2_t. -// func (v *Vec3) XY() *Vec2 { var _arg0 *C.graphene_vec3_t // out var _arg1 C.graphene_vec2_t // in @@ -9889,7 +9597,6 @@ func (v *Vec3) XY() *Vec2 { // The function returns the following values: // // - res: return location for a #graphene_vec3_t. -// func (v *Vec3) XY0() *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 C.graphene_vec3_t // in @@ -9912,7 +9619,6 @@ func (v *Vec3) XY0() *Vec3 { // The function returns the following values: // // - res: return location for the vector. -// func (v *Vec3) XYZ0() *Vec4 { var _arg0 *C.graphene_vec3_t // out var _arg1 C.graphene_vec4_t // in @@ -9935,7 +9641,6 @@ func (v *Vec3) XYZ0() *Vec4 { // The function returns the following values: // // - res: return location for the vector. -// func (v *Vec3) XYZ1() *Vec4 { var _arg0 *C.graphene_vec3_t // out var _arg1 C.graphene_vec4_t // in @@ -9962,7 +9667,6 @@ func (v *Vec3) XYZ1() *Vec4 { // The function returns the following values: // // - res: return location for the vector. -// func (v *Vec3) Xyzw(w float32) *Vec4 { var _arg0 *C.graphene_vec3_t // out var _arg1 C.float // out @@ -9987,7 +9691,6 @@ func (v *Vec3) Xyzw(w float32) *Vec4 { // The function returns the following values: // // - gfloat: value of the second component of the vector. -// func (v *Vec3) Y() float32 { var _arg0 *C.graphene_vec3_t // out var _cret C.float // in @@ -10009,7 +9712,6 @@ func (v *Vec3) Y() float32 { // The function returns the following values: // // - gfloat: value of the third component of the vector. -// func (v *Vec3) Z() float32 { var _arg0 *C.graphene_vec3_t // out var _cret C.float // in @@ -10039,7 +9741,6 @@ func (v *Vec3) Z() float32 { // The function returns the following values: // // - vec3: pointer to the initialized vector. -// func (v *Vec3) Init(x float32, y float32, z float32) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 C.float // out @@ -10074,7 +9775,6 @@ func (v *Vec3) Init(x float32, y float32, z float32) *Vec3 { // The function returns the following values: // // - vec3: initialized vector. -// func (v *Vec3) InitFromFloat(src [3]float32) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.float // out @@ -10104,7 +9804,6 @@ func (v *Vec3) InitFromFloat(src [3]float32) *Vec3 { // The function returns the following values: // // - vec3: initialized vector. -// func (v *Vec3) InitFromVec3(src *Vec3) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -10134,7 +9833,6 @@ func (v *Vec3) InitFromVec3(src *Vec3) *Vec3 { // The function returns the following values: // // - res: interpolated vector. -// func (v1 *Vec3) Interpolate(v2 *Vec3, factor float64) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -10162,7 +9860,6 @@ func (v1 *Vec3) Interpolate(v2 *Vec3, factor float64) *Vec3 { // The function returns the following values: // // - gfloat: value of the length of the vector. -// func (v *Vec3) Length() float32 { var _arg0 *C.graphene_vec3_t // out var _cret C.float // in @@ -10189,7 +9886,6 @@ func (v *Vec3) Length() float32 { // The function returns the following values: // // - res: return location for the result vector. -// func (a *Vec3) Max(b *Vec3) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -10219,7 +9915,6 @@ func (a *Vec3) Max(b *Vec3) *Vec3 { // The function returns the following values: // // - res: return location for the result vector. -// func (a *Vec3) Min(b *Vec3) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -10248,7 +9943,6 @@ func (a *Vec3) Min(b *Vec3) *Vec3 { // The function returns the following values: // // - res: return location for the resulting vector. -// func (a *Vec3) Multiply(b *Vec3) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -10279,7 +9973,6 @@ func (a *Vec3) Multiply(b *Vec3) *Vec3 { // The function returns the following values: // // - ok: true if the two vectors are near each other. -// func (v1 *Vec3) Near(v2 *Vec3, epsilon float32) bool { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -10309,7 +10002,6 @@ func (v1 *Vec3) Near(v2 *Vec3, epsilon float32) bool { // The function returns the following values: // // - res: return location for the result vector. -// func (v *Vec3) Negate() *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 C.graphene_vec3_t // in @@ -10331,7 +10023,6 @@ func (v *Vec3) Negate() *Vec3 { // The function returns the following values: // // - res: return location for the normalized vector. -// func (v *Vec3) Normalize() *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 C.graphene_vec3_t // in @@ -10358,7 +10049,6 @@ func (v *Vec3) Normalize() *Vec3 { // The function returns the following values: // // - res: return location for the result vector. -// func (v *Vec3) Scale(factor float32) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 C.float // out @@ -10389,7 +10079,6 @@ func (v *Vec3) Scale(factor float32) *Vec3 { // The function returns the following values: // // - res: return location for the resulting vector. -// func (a *Vec3) Subtract(b *Vec3) *Vec3 { var _arg0 *C.graphene_vec3_t // out var _arg1 *C.graphene_vec3_t // out @@ -10414,7 +10103,6 @@ func (a *Vec3) Subtract(b *Vec3) *Vec3 { // The function returns the following values: // // - dest: return location for an array of floating point values. -// func (v *Vec3) ToFloat() [3]float32 { var _arg0 *C.graphene_vec3_t // out var _arg1 [3]C.float // in @@ -10437,7 +10125,6 @@ func (v *Vec3) ToFloat() [3]float32 { // The function returns the following values: // // - vec3: constant vector. -// func Vec3One() *Vec3 { var _cret *C.graphene_vec3_t // in @@ -10456,7 +10143,6 @@ func Vec3One() *Vec3 { // The function returns the following values: // // - vec3: constant vector. -// func Vec3XAxis() *Vec3 { var _cret *C.graphene_vec3_t // in @@ -10475,7 +10161,6 @@ func Vec3XAxis() *Vec3 { // The function returns the following values: // // - vec3: constant vector. -// func Vec3YAxis() *Vec3 { var _cret *C.graphene_vec3_t // in @@ -10494,7 +10179,6 @@ func Vec3YAxis() *Vec3 { // The function returns the following values: // // - vec3: constant vector. -// func Vec3ZAxis() *Vec3 { var _cret *C.graphene_vec3_t // in @@ -10513,7 +10197,6 @@ func Vec3ZAxis() *Vec3 { // The function returns the following values: // // - vec3: constant vector. -// func Vec3Zero() *Vec3 { var _cret *C.graphene_vec3_t // in @@ -10575,7 +10258,6 @@ func NewVec4Alloc() *Vec4 { // The function returns the following values: // // - res: return location for the resulting vector. -// func (a *Vec4) Add(b *Vec4) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -10606,7 +10288,6 @@ func (a *Vec4) Add(b *Vec4) *Vec4 { // The function returns the following values: // // - res: return location for the resulting vector. -// func (a *Vec4) Divide(b *Vec4) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -10635,7 +10316,6 @@ func (a *Vec4) Divide(b *Vec4) *Vec4 { // The function returns the following values: // // - gfloat: value of the dot product. -// func (a *Vec4) Dot(b *Vec4) float32 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -10664,7 +10344,6 @@ func (a *Vec4) Dot(b *Vec4) float32 { // The function returns the following values: // // - ok: true if the two vectors are equal, and false otherwise. -// func (v1 *Vec4) Equal(v2 *Vec4) bool { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -10691,7 +10370,6 @@ func (v1 *Vec4) Equal(v2 *Vec4) bool { // The function returns the following values: // // - gfloat: value of the fourth component. -// func (v *Vec4) W() float32 { var _arg0 *C.graphene_vec4_t // out var _cret C.float // in @@ -10713,7 +10391,6 @@ func (v *Vec4) W() float32 { // The function returns the following values: // // - gfloat: value of the first component. -// func (v *Vec4) X() float32 { var _arg0 *C.graphene_vec4_t // out var _cret C.float // in @@ -10736,7 +10413,6 @@ func (v *Vec4) X() float32 { // The function returns the following values: // // - res: return location for a #graphene_vec2_t. -// func (v *Vec4) XY() *Vec2 { var _arg0 *C.graphene_vec4_t // out var _arg1 C.graphene_vec2_t // in @@ -10759,7 +10435,6 @@ func (v *Vec4) XY() *Vec2 { // The function returns the following values: // // - res: return location for a graphene_vec3_t. -// func (v *Vec4) XYZ() *Vec3 { var _arg0 *C.graphene_vec4_t // out var _arg1 C.graphene_vec3_t // in @@ -10781,7 +10456,6 @@ func (v *Vec4) XYZ() *Vec3 { // The function returns the following values: // // - gfloat: value of the second component. -// func (v *Vec4) Y() float32 { var _arg0 *C.graphene_vec4_t // out var _cret C.float // in @@ -10803,7 +10477,6 @@ func (v *Vec4) Y() float32 { // The function returns the following values: // // - gfloat: value of the third component. -// func (v *Vec4) Z() float32 { var _arg0 *C.graphene_vec4_t // out var _cret C.float // in @@ -10834,7 +10507,6 @@ func (v *Vec4) Z() float32 { // The function returns the following values: // // - vec4: pointer to the initialized vector. -// func (v *Vec4) Init(x float32, y float32, z float32, w float32) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 C.float // out @@ -10873,7 +10545,6 @@ func (v *Vec4) Init(x float32, y float32, z float32, w float32) *Vec4 { // The function returns the following values: // // - vec4: initialized vector. -// func (v *Vec4) InitFromFloat(src [4]float32) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.float // out @@ -10905,7 +10576,6 @@ func (v *Vec4) InitFromFloat(src [4]float32) *Vec4 { // The function returns the following values: // // - vec4: initialized vector. -// func (v *Vec4) InitFromVec2(src *Vec2, z float32, w float32) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec2_t // out @@ -10942,7 +10612,6 @@ func (v *Vec4) InitFromVec2(src *Vec2, z float32, w float32) *Vec4 { // The function returns the following values: // // - vec4: initialized vector. -// func (v *Vec4) InitFromVec3(src *Vec3, w float32) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec3_t // out @@ -10975,7 +10644,6 @@ func (v *Vec4) InitFromVec3(src *Vec3, w float32) *Vec4 { // The function returns the following values: // // - vec4: initialized vector. -// func (v *Vec4) InitFromVec4(src *Vec4) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -11005,7 +10673,6 @@ func (v *Vec4) InitFromVec4(src *Vec4) *Vec4 { // The function returns the following values: // // - res: interpolated vector. -// func (v1 *Vec4) Interpolate(v2 *Vec4, factor float64) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -11033,7 +10700,6 @@ func (v1 *Vec4) Interpolate(v2 *Vec4, factor float64) *Vec4 { // The function returns the following values: // // - gfloat: length of the vector. -// func (v *Vec4) Length() float32 { var _arg0 *C.graphene_vec4_t // out var _cret C.float // in @@ -11060,7 +10726,6 @@ func (v *Vec4) Length() float32 { // The function returns the following values: // // - res: return location for the result vector. -// func (a *Vec4) Max(b *Vec4) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -11090,7 +10755,6 @@ func (a *Vec4) Max(b *Vec4) *Vec4 { // The function returns the following values: // // - res: return location for the result vector. -// func (a *Vec4) Min(b *Vec4) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -11119,7 +10783,6 @@ func (a *Vec4) Min(b *Vec4) *Vec4 { // The function returns the following values: // // - res: return location for the resulting vector. -// func (a *Vec4) Multiply(b *Vec4) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -11150,7 +10813,6 @@ func (a *Vec4) Multiply(b *Vec4) *Vec4 { // The function returns the following values: // // - ok: true if the two vectors are near each other. -// func (v1 *Vec4) Near(v2 *Vec4, epsilon float32) bool { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -11180,7 +10842,6 @@ func (v1 *Vec4) Near(v2 *Vec4, epsilon float32) bool { // The function returns the following values: // // - res: return location for the result vector. -// func (v *Vec4) Negate() *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 C.graphene_vec4_t // in @@ -11202,7 +10863,6 @@ func (v *Vec4) Negate() *Vec4 { // The function returns the following values: // // - res: return location for the normalized vector. -// func (v *Vec4) Normalize() *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 C.graphene_vec4_t // in @@ -11229,7 +10889,6 @@ func (v *Vec4) Normalize() *Vec4 { // The function returns the following values: // // - res: return location for the result vector. -// func (v *Vec4) Scale(factor float32) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 C.float // out @@ -11260,7 +10919,6 @@ func (v *Vec4) Scale(factor float32) *Vec4 { // The function returns the following values: // // - res: return location for the resulting vector. -// func (a *Vec4) Subtract(b *Vec4) *Vec4 { var _arg0 *C.graphene_vec4_t // out var _arg1 *C.graphene_vec4_t // out @@ -11286,7 +10944,6 @@ func (a *Vec4) Subtract(b *Vec4) *Vec4 { // The function returns the following values: // // - dest: return location for an array of floating point values. -// func (v *Vec4) ToFloat() [4]float32 { var _arg0 *C.graphene_vec4_t // out var _arg1 [4]C.float // in @@ -11309,7 +10966,6 @@ func (v *Vec4) ToFloat() [4]float32 { // The function returns the following values: // // - vec4: constant vector. -// func Vec4One() *Vec4 { var _cret *C.graphene_vec4_t // in @@ -11328,7 +10984,6 @@ func Vec4One() *Vec4 { // The function returns the following values: // // - vec4: constant vector. -// func Vec4WAxis() *Vec4 { var _cret *C.graphene_vec4_t // in @@ -11347,7 +11002,6 @@ func Vec4WAxis() *Vec4 { // The function returns the following values: // // - vec4: constant vector. -// func Vec4XAxis() *Vec4 { var _cret *C.graphene_vec4_t // in @@ -11366,7 +11020,6 @@ func Vec4XAxis() *Vec4 { // The function returns the following values: // // - vec4: constant vector. -// func Vec4YAxis() *Vec4 { var _cret *C.graphene_vec4_t // in @@ -11385,7 +11038,6 @@ func Vec4YAxis() *Vec4 { // The function returns the following values: // // - vec4: constant vector. -// func Vec4ZAxis() *Vec4 { var _cret *C.graphene_vec4_t // in @@ -11404,7 +11056,6 @@ func Vec4ZAxis() *Vec4 { // The function returns the following values: // // - vec4: constant vector. -// func Vec4Zero() *Vec4 { var _cret *C.graphene_vec4_t // in diff --git a/pkg/gsk/v4/gsk.go b/pkg/gsk/v4/gsk.go index de369cdbb..2976f4b9a 100644 --- a/pkg/gsk/v4/gsk.go +++ b/pkg/gsk/v4/gsk.go @@ -605,7 +605,6 @@ func marshalBlendNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - blendNode: new GskRenderNode. -// func NewBlendNode(bottom, top RenderNoder, blendMode BlendMode) *BlendNode { var _arg1 *C.GskRenderNode // out var _arg2 *C.GskRenderNode // out @@ -633,7 +632,6 @@ func NewBlendNode(bottom, top RenderNoder, blendMode BlendMode) *BlendNode { // The function returns the following values: // // - blendMode: blend mode. -// func (node *BlendNode) BlendMode() BlendMode { var _arg0 *C.GskRenderNode // out var _cret C.GskBlendMode // in @@ -655,7 +653,6 @@ func (node *BlendNode) BlendMode() BlendMode { // The function returns the following values: // // - renderNode: bottom child node. -// func (node *BlendNode) BottomChild() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -693,7 +690,6 @@ func (node *BlendNode) BottomChild() RenderNoder { // The function returns the following values: // // - renderNode: top child node. -// func (node *BlendNode) TopChild() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -758,7 +754,6 @@ func marshalBlurNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - blurNode: new GskRenderNode. -// func NewBlurNode(child RenderNoder, radius float32) *BlurNode { var _arg1 *C.GskRenderNode // out var _arg2 C.float // out @@ -783,7 +778,6 @@ func NewBlurNode(child RenderNoder, radius float32) *BlurNode { // The function returns the following values: // // - renderNode: blurred child node. -// func (node *BlurNode) Child() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -821,7 +815,6 @@ func (node *BlurNode) Child() RenderNoder { // The function returns the following values: // // - gfloat: blur radius. -// func (node *BlurNode) Radius() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -875,7 +868,6 @@ func marshalBorderNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - borderNode: new GskRenderNode. -// func NewBorderNode(outline *RoundedRect, borderWidth [4]float32, borderColor [4]gdk.RGBA) *BorderNode { var _arg1 *C.GskRoundedRect // out var _arg2 *C.float // out @@ -910,7 +902,6 @@ func NewBorderNode(outline *RoundedRect, borderWidth [4]float32, borderColor [4] // // - rgbA: array of 4 RGBA structs for the top, right, bottom and left color // of the border. -// func (node *BorderNode) Colors() *gdk.RGBA { var _arg0 *C.GskRenderNode // out var _cret *C.GdkRGBA // in @@ -932,7 +923,6 @@ func (node *BorderNode) Colors() *gdk.RGBA { // The function returns the following values: // // - roundedRect: outline of the border. -// func (node *BorderNode) Outline() *RoundedRect { var _arg0 *C.GskRenderNode // out var _cret *C.GskRoundedRect // in @@ -955,7 +945,6 @@ func (node *BorderNode) Outline() *RoundedRect { // // - gfloats: array of 4 floats for the top, right, bottom and left stroke // width of the border, respectively. -// func (node *BorderNode) Widths() [4]float32 { var _arg0 *C.GskRenderNode // out var _cret *C.float // in @@ -1006,7 +995,6 @@ func marshalCairoNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - cairoNode: new GskRenderNode. -// func NewCairoNode(bounds *graphene.Rect) *CairoNode { var _arg1 *C.graphene_rect_t // out var _cret *C.GskRenderNode // in @@ -1033,7 +1021,6 @@ func NewCairoNode(bounds *graphene.Rect) *CairoNode { // // - context: cairo context used for drawing; use cairo_destroy() when done // drawing. -// func (node *CairoNode) DrawContext() *cairo.Context { var _arg0 *C.GskRenderNode // out var _cret *C.cairo_t // in @@ -1058,7 +1045,6 @@ func (node *CairoNode) DrawContext() *cairo.Context { // The function returns the following values: // // - surface: cairo surface. -// func (node *CairoNode) Surface() *cairo.Surface { var _arg0 *C.GskRenderNode // out var _cret *C.cairo_surface_t // in @@ -1114,7 +1100,6 @@ func marshalCairoRenderer(p uintptr) (interface{}, error) { // The function returns the following values: // // - cairoRenderer: new Cairo renderer. -// func NewCairoRenderer() *CairoRenderer { var _cret *C.GskRenderer // in @@ -1160,7 +1145,6 @@ func marshalClipNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - clipNode: new GskRenderNode. -// func NewClipNode(child RenderNoder, clip *graphene.Rect) *ClipNode { var _arg1 *C.GskRenderNode // out var _arg2 *C.graphene_rect_t // out @@ -1185,7 +1169,6 @@ func NewClipNode(child RenderNoder, clip *graphene.Rect) *ClipNode { // The function returns the following values: // // - renderNode: child that is getting clipped. -// func (node *ClipNode) Child() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -1223,7 +1206,6 @@ func (node *ClipNode) Child() RenderNoder { // The function returns the following values: // // - rect: clip rectangle. -// func (node *ClipNode) Clip() *graphene.Rect { var _arg0 *C.GskRenderNode // out var _cret *C.graphene_rect_t // in @@ -1268,7 +1250,7 @@ func marshalColorMatrixNode(p uintptr) (interface{}, error) { // // In particular, the node will transform the operation // -// pixel = color_matrix * pixel + color_offset +// pixel = color_matrix * pixel + color_offset // // for every pixel. // @@ -1281,7 +1263,6 @@ func marshalColorMatrixNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - colorMatrixNode: new GskRenderNode. -// func NewColorMatrixNode(child RenderNoder, colorMatrix *graphene.Matrix, colorOffset *graphene.Vec4) *ColorMatrixNode { var _arg1 *C.GskRenderNode // out var _arg2 *C.graphene_matrix_t // out @@ -1310,7 +1291,6 @@ func NewColorMatrixNode(child RenderNoder, colorMatrix *graphene.Matrix, colorOf // The function returns the following values: // // - renderNode: child that is getting its colors modified. -// func (node *ColorMatrixNode) Child() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -1348,7 +1328,6 @@ func (node *ColorMatrixNode) Child() RenderNoder { // The function returns the following values: // // - matrix: 4x4 color matrix. -// func (node *ColorMatrixNode) ColorMatrix() *graphene.Matrix { var _arg0 *C.GskRenderNode // out var _cret *C.graphene_matrix_t // in @@ -1370,7 +1349,6 @@ func (node *ColorMatrixNode) ColorMatrix() *graphene.Matrix { // The function returns the following values: // // - vec4: color vector. -// func (node *ColorMatrixNode) ColorOffset() *graphene.Vec4 { var _arg0 *C.GskRenderNode // out var _cret *C.graphene_vec4_t // in @@ -1420,7 +1398,6 @@ func marshalColorNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - colorNode: new GskRenderNode. -// func NewColorNode(rgba *gdk.RGBA, bounds *graphene.Rect) *ColorNode { var _arg1 *C.GdkRGBA // out var _arg2 *C.graphene_rect_t // out @@ -1445,7 +1422,6 @@ func NewColorNode(rgba *gdk.RGBA, bounds *graphene.Rect) *ColorNode { // The function returns the following values: // // - rgbA: color of the node. -// func (node *ColorNode) Color() *gdk.RGBA { var _arg0 *C.GskRenderNode // out var _cret *C.GdkRGBA // in @@ -1502,7 +1478,6 @@ func marshalConicGradientNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - conicGradientNode: new GskRenderNode. -// func NewConicGradientNode(bounds *graphene.Rect, center *graphene.Point, rotation float32, colorStops []ColorStop) *ConicGradientNode { var _arg1 *C.graphene_rect_t // out var _arg2 *C.graphene_point_t // out @@ -1543,12 +1518,11 @@ func NewConicGradientNode(bounds *graphene.Rect, center *graphene.Point, rotatio // The angle is starting at the top and going clockwise, as expressed in the css // specification: // -// angle = 90 - gsk_conic_gradient_node_get_rotation(). +// angle = 90 - gsk_conic_gradient_node_get_rotation(). // // The function returns the following values: // // - gfloat: angle for the gradient. -// func (node *ConicGradientNode) Angle() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -1570,7 +1544,6 @@ func (node *ConicGradientNode) Angle() float32 { // The function returns the following values: // // - point: center point for the gradient. -// func (node *ConicGradientNode) Center() *graphene.Point { var _arg0 *C.GskRenderNode // out var _cret *C.graphene_point_t // in @@ -1592,7 +1565,6 @@ func (node *ConicGradientNode) Center() *graphene.Point { // The function returns the following values: // // - colorStops: color stops in the gradient. -// func (node *ConicGradientNode) ColorStops() []ColorStop { var _arg0 *C.GskRenderNode // out var _cret *C.GskColorStop // in @@ -1621,7 +1593,6 @@ func (node *ConicGradientNode) ColorStops() []ColorStop { // The function returns the following values: // // - gsize: number of color stops. -// func (node *ConicGradientNode) NColorStops() uint { var _arg0 *C.GskRenderNode // out var _cret C.gsize // in @@ -1643,7 +1614,6 @@ func (node *ConicGradientNode) NColorStops() uint { // The function returns the following values: // // - gfloat: rotation for the gradient. -// func (node *ConicGradientNode) Rotation() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -1694,7 +1664,6 @@ func marshalContainerNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - containerNode: new GskRenderNode. -// func NewContainerNode(children []RenderNoder) *ContainerNode { var _arg1 **C.GskRenderNode // out var _arg2 C.guint @@ -1729,7 +1698,6 @@ func NewContainerNode(children []RenderNoder) *ContainerNode { // The function returns the following values: // // - renderNode: idx'th child of container. -// func (node *ContainerNode) Child(idx uint) RenderNoder { var _arg0 *C.GskRenderNode // out var _arg1 C.guint // out @@ -1770,7 +1738,6 @@ func (node *ContainerNode) Child(idx uint) RenderNoder { // The function returns the following values: // // - guint: number of children of the GskRenderNode. -// func (node *ContainerNode) NChildren() uint { var _arg0 *C.GskRenderNode // out var _cret C.guint // in @@ -1822,7 +1789,6 @@ func marshalCrossFadeNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - crossFadeNode: new GskRenderNode. -// func NewCrossFadeNode(start, end RenderNoder, progress float32) *CrossFadeNode { var _arg1 *C.GskRenderNode // out var _arg2 *C.GskRenderNode // out @@ -1850,7 +1816,6 @@ func NewCrossFadeNode(start, end RenderNoder, progress float32) *CrossFadeNode { // The function returns the following values: // // - renderNode: GskRenderNode. -// func (node *CrossFadeNode) EndChild() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -1888,7 +1853,6 @@ func (node *CrossFadeNode) EndChild() RenderNoder { // The function returns the following values: // // - gfloat progress value, between 0 and 1. -// func (node *CrossFadeNode) Progress() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -1911,7 +1875,6 @@ func (node *CrossFadeNode) Progress() float32 { // The function returns the following values: // // - renderNode: GskRenderNode. -// func (node *CrossFadeNode) StartChild() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -1980,7 +1943,6 @@ func marshalDebugNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - debugNode: new GskRenderNode. -// func NewDebugNode(child RenderNoder, message string) *DebugNode { var _arg1 *C.GskRenderNode // out var _arg2 *C.char // out @@ -2005,7 +1967,6 @@ func NewDebugNode(child RenderNoder, message string) *DebugNode { // The function returns the following values: // // - renderNode: child GskRenderNode. -// func (node *DebugNode) Child() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -2043,7 +2004,6 @@ func (node *DebugNode) Child() RenderNoder { // The function returns the following values: // // - utf8: debug message. -// func (node *DebugNode) Message() string { var _arg0 *C.GskRenderNode // out var _cret *C.char // in @@ -2102,10 +2062,10 @@ func defaultGLShaderOverrides(v *GLShader) GLShaderOverrides { // // The main function the shader must implement is: // -// void mainImage(out vec4 fragColor, -// in vec2 fragCoord, -// in vec2 resolution, -// in vec2 uv) +// void mainImage(out vec4 fragColor, +// in vec2 fragCoord, +// in vec2 resolution, +// in vec2 uv) // // Where the input fragCoord is the coordinate of the pixel we're currently // rendering, relative to the boundary rectangle that was specified in the @@ -2131,16 +2091,16 @@ func defaultGLShaderOverrides(v *GLShader) GLShaderOverrides { // Note that GTK parses the uniform declarations, so each uniform has to be on a // line by itself with no other code, like so: // -// uniform float u_time; -// uniform vec3 u_color; -// uniform sampler2D u_texture1; -// uniform sampler2D u_texture2; +// uniform float u_time; +// uniform vec3 u_color; +// uniform sampler2D u_texture1; +// uniform sampler2D u_texture2; // // GTK uses the the "gsk" namespace in the symbols it uses in the shader, // so your code should not use any symbols with the prefix gsk or GSK. There are // some helper functions declared that you can use: // -// vec4 GskTexture(sampler2D sampler, vec2 texCoords); +// vec4 GskTexture(sampler2D sampler, vec2 texCoords); // // This samples a texture (e.g. u_texture1) at the specified coordinates, and // containes some helper ifdefs to ensure that it works on all OpenGL versions. @@ -2154,19 +2114,19 @@ func defaultGLShaderOverrides(v *GLShader) GLShaderOverrides { // // An example shader // -// uniform float position; -// uniform sampler2D u_texture1; -// uniform sampler2D u_texture2; +// uniform float position; +// uniform sampler2D u_texture1; +// uniform sampler2D u_texture2; // -// void mainImage(out vec4 fragColor, -// in vec2 fragCoord, -// in vec2 resolution, -// in vec2 uv) { -// vec4 source1 = GskTexture(u_texture1, uv); -// vec4 source2 = GskTexture(u_texture2, uv); +// void mainImage(out vec4 fragColor, +// in vec2 fragCoord, +// in vec2 resolution, +// in vec2 uv) { +// vec4 source1 = GskTexture(u_texture1, uv); +// vec4 source2 = GskTexture(u_texture2, uv); // -// fragColor = position * source1 + (1.0 - position) * source2; -// }. +// fragColor = position * source1 + (1.0 - position) * source2; +// }. type GLShader struct { _ [0]func() // equal guard *coreglib.Object @@ -2212,7 +2172,6 @@ func marshalGLShader(p uintptr) (interface{}, error) { // The function returns the following values: // // - glShader: new GskGLShader. -// func NewGLShaderFromBytes(sourcecode *glib.Bytes) *GLShader { var _arg1 *C.GBytes // out var _cret *C.GskGLShader // in @@ -2240,7 +2199,6 @@ func NewGLShaderFromBytes(sourcecode *glib.Bytes) *GLShader { // The function returns the following values: // // - glShader: new GskGLShader. -// func NewGLShaderFromResource(resourcePath string) *GLShader { var _arg1 *C.char // out var _cret *C.GskGLShader // in @@ -2272,7 +2230,6 @@ func NewGLShaderFromResource(resourcePath string) *GLShader { // The function takes the following parameters: // // - renderer: GskRenderer. -// func (shader *GLShader) Compile(renderer Rendererer) error { var _arg0 *C.GskGLShader // out var _arg1 *C.GskRenderer // out @@ -2304,7 +2261,6 @@ func (shader *GLShader) Compile(renderer Rendererer) error { // The function returns the following values: // // - gint: index of the uniform, or -1. -// func (shader *GLShader) FindUniformByName(name string) int { var _arg0 *C.GskGLShader // out var _arg1 *C.char // out @@ -2337,7 +2293,6 @@ func (shader *GLShader) FindUniformByName(name string) int { // The function returns the following values: // // - ok: value. -// func (shader *GLShader) ArgBool(args *glib.Bytes, idx int) bool { var _arg0 *C.GskGLShader // out var _arg1 *C.GBytes // out @@ -2374,7 +2329,6 @@ func (shader *GLShader) ArgBool(args *glib.Bytes, idx int) bool { // The function returns the following values: // // - gfloat: value. -// func (shader *GLShader) ArgFloat(args *glib.Bytes, idx int) float32 { var _arg0 *C.GskGLShader // out var _arg1 *C.GBytes // out @@ -2409,7 +2363,6 @@ func (shader *GLShader) ArgFloat(args *glib.Bytes, idx int) float32 { // The function returns the following values: // // - gint32: value. -// func (shader *GLShader) ArgInt(args *glib.Bytes, idx int) int32 { var _arg0 *C.GskGLShader // out var _arg1 *C.GBytes // out @@ -2444,7 +2397,6 @@ func (shader *GLShader) ArgInt(args *glib.Bytes, idx int) int32 { // The function returns the following values: // // - guint32: value. -// func (shader *GLShader) ArgUint(args *glib.Bytes, idx int) uint32 { var _arg0 *C.GskGLShader // out var _arg1 *C.GBytes // out @@ -2476,7 +2428,6 @@ func (shader *GLShader) ArgUint(args *glib.Bytes, idx int) uint32 { // - args: uniform arguments. // - idx: index of the uniform. // - outValue: location to store the uniform value in. -// func (shader *GLShader) ArgVec2(args *glib.Bytes, idx int, outValue *graphene.Vec2) { var _arg0 *C.GskGLShader // out var _arg1 *C.GBytes // out @@ -2504,7 +2455,6 @@ func (shader *GLShader) ArgVec2(args *glib.Bytes, idx int, outValue *graphene.Ve // - args: uniform arguments. // - idx: index of the uniform. // - outValue: location to store the uniform value in. -// func (shader *GLShader) ArgVec3(args *glib.Bytes, idx int, outValue *graphene.Vec3) { var _arg0 *C.GskGLShader // out var _arg1 *C.GBytes // out @@ -2532,7 +2482,6 @@ func (shader *GLShader) ArgVec3(args *glib.Bytes, idx int, outValue *graphene.Ve // - args: uniform arguments. // - idx: index of the uniform. // - outValue: location to store set the uniform value in. -// func (shader *GLShader) ArgVec4(args *glib.Bytes, idx int, outValue *graphene.Vec4) { var _arg0 *C.GskGLShader // out var _arg1 *C.GBytes // out @@ -2557,7 +2506,6 @@ func (shader *GLShader) ArgVec4(args *glib.Bytes, idx int, outValue *graphene.Ve // The function returns the following values: // // - gsize: size of the data block. -// func (shader *GLShader) ArgsSize() uint { var _arg0 *C.GskGLShader // out var _cret C.gsize // in @@ -2583,7 +2531,6 @@ func (shader *GLShader) ArgsSize() uint { // The function returns the following values: // // - gint: number of texture inputs required by shader. -// func (shader *GLShader) NTextures() int { var _arg0 *C.GskGLShader // out var _cret C.int // in @@ -2605,7 +2552,6 @@ func (shader *GLShader) NTextures() int { // The function returns the following values: // // - gint: number of declared uniforms. -// func (shader *GLShader) NUniforms() int { var _arg0 *C.GskGLShader // out var _cret C.int // in @@ -2628,7 +2574,6 @@ func (shader *GLShader) NUniforms() int { // The function returns the following values: // // - utf8: resource path for the shader, or NULL if none. -// func (shader *GLShader) Resource() string { var _arg0 *C.GskGLShader // out var _cret *C.char // in @@ -2650,7 +2595,6 @@ func (shader *GLShader) Resource() string { // The function returns the following values: // // - bytes: source code for the shader. -// func (shader *GLShader) Source() *glib.Bytes { var _arg0 *C.GskGLShader // out var _cret *C.GBytes // in @@ -2684,7 +2628,6 @@ func (shader *GLShader) Source() *glib.Bytes { // The function returns the following values: // // - utf8: name of the declared uniform. -// func (shader *GLShader) UniformName(idx int) string { var _arg0 *C.GskGLShader // out var _arg1 C.int // out @@ -2714,7 +2657,6 @@ func (shader *GLShader) UniformName(idx int) string { // The function returns the following values: // // - gint: data offset. -// func (shader *GLShader) UniformOffset(idx int) int { var _arg0 *C.GskGLShader // out var _arg1 C.int // out @@ -2744,7 +2686,6 @@ func (shader *GLShader) UniformOffset(idx int) int { // The function returns the following values: // // - glUniformType: type of the declared uniform. -// func (shader *GLShader) UniformType(idx int) GLUniformType { var _arg0 *C.GskGLShader // out var _arg1 C.int // out @@ -2815,7 +2756,6 @@ func marshalGLShaderNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - glShaderNode: new GskRenderNode. -// func NewGLShaderNode(shader *GLShader, bounds *graphene.Rect, args *glib.Bytes, children []RenderNoder) *GLShaderNode { var _arg1 *C.GskGLShader // out var _arg2 *C.graphene_rect_t // out @@ -2855,7 +2795,6 @@ func NewGLShaderNode(shader *GLShader, bounds *graphene.Rect, args *glib.Bytes, // The function returns the following values: // // - bytes with the uniform arguments. -// func (node *GLShaderNode) Args() *glib.Bytes { var _arg0 *C.GskRenderNode // out var _cret *C.GBytes // in @@ -2888,7 +2827,6 @@ func (node *GLShaderNode) Args() *glib.Bytes { // The function returns the following values: // // - renderNode: idx'th child of node. -// func (node *GLShaderNode) Child(idx uint) RenderNoder { var _arg0 *C.GskRenderNode // out var _arg1 C.guint // out @@ -2929,7 +2867,6 @@ func (node *GLShaderNode) Child(idx uint) RenderNoder { // The function returns the following values: // // - guint: number of children. -// func (node *GLShaderNode) NChildren() uint { var _arg0 *C.GskRenderNode // out var _cret C.guint // in @@ -2951,7 +2888,6 @@ func (node *GLShaderNode) NChildren() uint { // The function returns the following values: // // - glShader: GLShader shader. -// func (node *GLShaderNode) Shader() *GLShader { var _arg0 *C.GskRenderNode // out var _cret *C.GskGLShader // in @@ -3005,7 +2941,6 @@ func marshalInsetShadowNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - insetShadowNode: new GskRenderNode. -// func NewInsetShadowNode(outline *RoundedRect, color *gdk.RGBA, dx, dy, spread, blurRadius float32) *InsetShadowNode { var _arg1 *C.GskRoundedRect // out var _arg2 *C.GdkRGBA // out @@ -3042,7 +2977,6 @@ func NewInsetShadowNode(outline *RoundedRect, color *gdk.RGBA, dx, dy, spread, b // The function returns the following values: // // - gfloat: blur radius, in pixels. -// func (node *InsetShadowNode) BlurRadius() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3064,7 +2998,6 @@ func (node *InsetShadowNode) BlurRadius() float32 { // The function returns the following values: // // - rgbA: color of the shadow. -// func (node *InsetShadowNode) Color() *gdk.RGBA { var _arg0 *C.GskRenderNode // out var _cret *C.GdkRGBA // in @@ -3086,7 +3019,6 @@ func (node *InsetShadowNode) Color() *gdk.RGBA { // The function returns the following values: // // - gfloat: offset, in pixels. -// func (node *InsetShadowNode) Dx() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3108,7 +3040,6 @@ func (node *InsetShadowNode) Dx() float32 { // The function returns the following values: // // - gfloat: offset, in pixels. -// func (node *InsetShadowNode) Dy() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3130,7 +3061,6 @@ func (node *InsetShadowNode) Dy() float32 { // The function returns the following values: // // - roundedRect: rounded rectangle. -// func (node *InsetShadowNode) Outline() *RoundedRect { var _arg0 *C.GskRenderNode // out var _cret *C.GskRoundedRect // in @@ -3152,7 +3082,6 @@ func (node *InsetShadowNode) Outline() *RoundedRect { // The function returns the following values: // // - gfloat: size of the shadow, in pixels. -// func (node *InsetShadowNode) Spread() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3207,7 +3136,6 @@ func marshalLinearGradientNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - linearGradientNode: new GskRenderNode. -// func NewLinearGradientNode(bounds *graphene.Rect, start, end *graphene.Point, colorStops []ColorStop) *LinearGradientNode { var _arg1 *C.graphene_rect_t // out var _arg2 *C.graphene_point_t // out @@ -3247,7 +3175,6 @@ func NewLinearGradientNode(bounds *graphene.Rect, start, end *graphene.Point, co // The function returns the following values: // // - colorStops: color stops in the gradient. -// func (node *LinearGradientNode) ColorStops() []ColorStop { var _arg0 *C.GskRenderNode // out var _cret *C.GskColorStop // in @@ -3276,7 +3203,6 @@ func (node *LinearGradientNode) ColorStops() []ColorStop { // The function returns the following values: // // - point: final point. -// func (node *LinearGradientNode) End() *graphene.Point { var _arg0 *C.GskRenderNode // out var _cret *C.graphene_point_t // in @@ -3298,7 +3224,6 @@ func (node *LinearGradientNode) End() *graphene.Point { // The function returns the following values: // // - gsize: number of color stops. -// func (node *LinearGradientNode) NColorStops() uint { var _arg0 *C.GskRenderNode // out var _cret C.gsize // in @@ -3320,7 +3245,6 @@ func (node *LinearGradientNode) NColorStops() uint { // The function returns the following values: // // - point: initial point. -// func (node *LinearGradientNode) Start() *graphene.Point { var _arg0 *C.GskRenderNode // out var _cret *C.graphene_point_t // in @@ -3370,7 +3294,6 @@ func marshalOpacityNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - opacityNode: new GskRenderNode. -// func NewOpacityNode(child RenderNoder, opacity float32) *OpacityNode { var _arg1 *C.GskRenderNode // out var _arg2 C.float // out @@ -3395,7 +3318,6 @@ func NewOpacityNode(child RenderNoder, opacity float32) *OpacityNode { // The function returns the following values: // // - renderNode: child that is getting opacityed. -// func (node *OpacityNode) Child() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -3433,7 +3355,6 @@ func (node *OpacityNode) Child() RenderNoder { // The function returns the following values: // // - gfloat: opacity factor. -// func (node *OpacityNode) Opacity() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3487,7 +3408,6 @@ func marshalOutsetShadowNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - outsetShadowNode: new GskRenderNode. -// func NewOutsetShadowNode(outline *RoundedRect, color *gdk.RGBA, dx, dy, spread, blurRadius float32) *OutsetShadowNode { var _arg1 *C.GskRoundedRect // out var _arg2 *C.GdkRGBA // out @@ -3524,7 +3444,6 @@ func NewOutsetShadowNode(outline *RoundedRect, color *gdk.RGBA, dx, dy, spread, // The function returns the following values: // // - gfloat: blur radius, in pixels. -// func (node *OutsetShadowNode) BlurRadius() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3546,7 +3465,6 @@ func (node *OutsetShadowNode) BlurRadius() float32 { // The function returns the following values: // // - rgbA: color. -// func (node *OutsetShadowNode) Color() *gdk.RGBA { var _arg0 *C.GskRenderNode // out var _cret *C.GdkRGBA // in @@ -3568,7 +3486,6 @@ func (node *OutsetShadowNode) Color() *gdk.RGBA { // The function returns the following values: // // - gfloat: offset, in pixels. -// func (node *OutsetShadowNode) Dx() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3590,7 +3507,6 @@ func (node *OutsetShadowNode) Dx() float32 { // The function returns the following values: // // - gfloat: offset, in pixels. -// func (node *OutsetShadowNode) Dy() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3612,7 +3528,6 @@ func (node *OutsetShadowNode) Dy() float32 { // The function returns the following values: // // - roundedRect: rounded rectangle. -// func (node *OutsetShadowNode) Outline() *RoundedRect { var _arg0 *C.GskRenderNode // out var _cret *C.GskRoundedRect // in @@ -3634,7 +3549,6 @@ func (node *OutsetShadowNode) Outline() *RoundedRect { // The function returns the following values: // // - gfloat: size of the shadow, in pixels. -// func (node *OutsetShadowNode) Spread() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3695,7 +3609,6 @@ func marshalRadialGradientNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - radialGradientNode: new GskRenderNode. -// func NewRadialGradientNode(bounds *graphene.Rect, center *graphene.Point, hradius, vradius, start, end float32, colorStops []ColorStop) *RadialGradientNode { var _arg1 *C.graphene_rect_t // out var _arg2 *C.graphene_point_t // out @@ -3744,7 +3657,6 @@ func NewRadialGradientNode(bounds *graphene.Rect, center *graphene.Point, hradiu // The function returns the following values: // // - point: center point for the gradient. -// func (node *RadialGradientNode) Center() *graphene.Point { var _arg0 *C.GskRenderNode // out var _cret *C.graphene_point_t // in @@ -3766,7 +3678,6 @@ func (node *RadialGradientNode) Center() *graphene.Point { // The function returns the following values: // // - colorStops: color stops in the gradient. -// func (node *RadialGradientNode) ColorStops() []ColorStop { var _arg0 *C.GskRenderNode // out var _cret *C.GskColorStop // in @@ -3795,7 +3706,6 @@ func (node *RadialGradientNode) ColorStops() []ColorStop { // The function returns the following values: // // - gfloat: end value for the gradient. -// func (node *RadialGradientNode) End() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3817,7 +3727,6 @@ func (node *RadialGradientNode) End() float32 { // The function returns the following values: // // - gfloat: horizontal radius for the gradient. -// func (node *RadialGradientNode) Hradius() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3839,7 +3748,6 @@ func (node *RadialGradientNode) Hradius() float32 { // The function returns the following values: // // - gsize: number of color stops. -// func (node *RadialGradientNode) NColorStops() uint { var _arg0 *C.GskRenderNode // out var _cret C.gsize // in @@ -3861,7 +3769,6 @@ func (node *RadialGradientNode) NColorStops() uint { // The function returns the following values: // // - gfloat: start value for the gradient. -// func (node *RadialGradientNode) Start() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3883,7 +3790,6 @@ func (node *RadialGradientNode) Start() float32 { // The function returns the following values: // // - gfloat: vertical radius for the gradient. -// func (node *RadialGradientNode) Vradius() float32 { var _arg0 *C.GskRenderNode // out var _cret C.float // in @@ -3964,7 +3870,6 @@ func BaseRenderNode(obj RenderNoder) *RenderNode { // The function takes the following parameters: // // - cr: cairo context to draw to. -// func (node *RenderNode) Draw(cr *cairo.Context) { var _arg0 *C.GskRenderNode // out var _arg1 *C.cairo_t // out @@ -3984,7 +3889,6 @@ func (node *RenderNode) Draw(cr *cairo.Context) { // The function returns the following values: // // - bounds: return location for the boundaries. -// func (node *RenderNode) Bounds() *graphene.Rect { var _arg0 *C.GskRenderNode // out var _arg1 C.graphene_rect_t // in @@ -4006,7 +3910,6 @@ func (node *RenderNode) Bounds() *graphene.Rect { // The function returns the following values: // // - renderNodeType: type of the GskRenderNode. -// func (node *RenderNode) NodeType() RenderNodeType { var _arg0 *C.GskRenderNode // out var _cret C.GskRenderNodeType // in @@ -4036,7 +3939,6 @@ func (node *RenderNode) NodeType() RenderNodeType { // The function returns the following values: // // - bytes representing the node. -// func (node *RenderNode) Serialize() *glib.Bytes { var _arg0 *C.GskRenderNode // out var _cret *C.GBytes // in @@ -4070,7 +3972,6 @@ func (node *RenderNode) Serialize() *glib.Bytes { // The function takes the following parameters: // // - filename: file to save it to. -// func (node *RenderNode) WriteToFile(filename string) error { var _arg0 *C.GskRenderNode // out var _arg1 *C.char // out @@ -4106,7 +4007,6 @@ func (node *RenderNode) WriteToFile(filename string) error { // The function returns the following values: // // - renderNode (optional): new GskRenderNode or NULL on error. -// func RenderNodeDeserialize(bytes *glib.Bytes, errorFunc ParseErrorFunc) RenderNoder { var _arg1 *C.GBytes // out var _arg2 C.GskParseErrorFunc // out @@ -4210,7 +4110,6 @@ func BaseRenderer(obj Rendererer) *Renderer { // The function returns the following values: // // - renderer (optional): GskRenderer. -// func NewRendererForSurface(surface gdk.Surfacer) *Renderer { var _arg1 *C.GdkSurface // out var _cret *C.GskRenderer // in @@ -4236,7 +4135,6 @@ func NewRendererForSurface(surface gdk.Surfacer) *Renderer { // The function returns the following values: // // - surface (optional): GdkSurface. -// func (renderer *Renderer) Surface() gdk.Surfacer { var _arg0 *C.GskRenderer // out var _cret *C.GdkSurface // in @@ -4273,7 +4171,6 @@ func (renderer *Renderer) Surface() gdk.Surfacer { // The function returns the following values: // // - ok: TRUE if the GskRenderer was realized, and FALSE otherwise. -// func (renderer *Renderer) IsRealized() bool { var _arg0 *C.GskRenderer // out var _cret C.gboolean // in @@ -4298,7 +4195,6 @@ func (renderer *Renderer) IsRealized() bool { // The function takes the following parameters: // // - surface: GdkSurface renderer will be used on. -// func (renderer *Renderer) Realize(surface gdk.Surfacer) error { var _arg0 *C.GskRenderer // out var _arg1 *C.GdkSurface // out @@ -4336,7 +4232,6 @@ func (renderer *Renderer) Realize(surface gdk.Surfacer) error { // - root: GskRenderNode. // - region (optional): cairo_region_t that must be redrawn or NULL for the // whole window. -// func (renderer *Renderer) Render(root RenderNoder, region *cairo.Region) { var _arg0 *C.GskRenderer // out var _arg1 *C.GskRenderNode // out @@ -4371,7 +4266,6 @@ func (renderer *Renderer) Render(root RenderNoder, region *cairo.Region) { // The function returns the following values: // // - texture: GdkTexture with the rendered contents of root. -// func (renderer *Renderer) RenderTexture(root RenderNoder, viewport *graphene.Rect) gdk.Texturer { var _arg0 *C.GskRenderer // out var _arg1 *C.GskRenderNode // out @@ -4457,7 +4351,6 @@ func marshalRepeatNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - repeatNode: new GskRenderNode. -// func NewRepeatNode(bounds *graphene.Rect, child RenderNoder, childBounds *graphene.Rect) *RepeatNode { var _arg1 *C.graphene_rect_t // out var _arg2 *C.GskRenderNode // out @@ -4487,7 +4380,6 @@ func NewRepeatNode(bounds *graphene.Rect, child RenderNoder, childBounds *graphe // The function returns the following values: // // - renderNode: GskRenderNode. -// func (node *RepeatNode) Child() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -4525,7 +4417,6 @@ func (node *RepeatNode) Child() RenderNoder { // The function returns the following values: // // - rect: bounding rectangle. -// func (node *RepeatNode) ChildBounds() *graphene.Rect { var _arg0 *C.GskRenderNode // out var _cret *C.graphene_rect_t // in @@ -4580,7 +4471,6 @@ func marshalRepeatingLinearGradientNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - repeatingLinearGradientNode: new GskRenderNode. -// func NewRepeatingLinearGradientNode(bounds *graphene.Rect, start, end *graphene.Point, colorStops []ColorStop) *RepeatingLinearGradientNode { var _arg1 *C.graphene_rect_t // out var _arg2 *C.graphene_point_t // out @@ -4660,7 +4550,6 @@ func marshalRepeatingRadialGradientNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - repeatingRadialGradientNode: new GskRenderNode. -// func NewRepeatingRadialGradientNode(bounds *graphene.Rect, center *graphene.Point, hradius, vradius, start, end float32, colorStops []ColorStop) *RepeatingRadialGradientNode { var _arg1 *C.graphene_rect_t // out var _arg2 *C.graphene_point_t // out @@ -4738,7 +4627,6 @@ func marshalRoundedClipNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - roundedClipNode: new GskRenderNode. -// func NewRoundedClipNode(child RenderNoder, clip *RoundedRect) *RoundedClipNode { var _arg1 *C.GskRenderNode // out var _arg2 *C.GskRoundedRect // out @@ -4763,7 +4651,6 @@ func NewRoundedClipNode(child RenderNoder, clip *RoundedRect) *RoundedClipNode { // The function returns the following values: // // - renderNode: child that is getting clipped. -// func (node *RoundedClipNode) Child() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -4801,7 +4688,6 @@ func (node *RoundedClipNode) Child() RenderNoder { // The function returns the following values: // // - roundedRect: rounded rectangle. -// func (node *RoundedClipNode) Clip() *RoundedRect { var _arg0 *C.GskRenderNode // out var _cret *C.GskRoundedRect // in @@ -4852,7 +4738,6 @@ func marshalShadowNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - shadowNode: new GskRenderNode. -// func NewShadowNode(child RenderNoder, shadows []Shadow) *ShadowNode { var _arg1 *C.GskRenderNode // out var _arg2 *C.GskShadow // out @@ -4886,7 +4771,6 @@ func NewShadowNode(child RenderNoder, shadows []Shadow) *ShadowNode { // The function returns the following values: // // - renderNode: child render node. -// func (node *ShadowNode) Child() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -4924,7 +4808,6 @@ func (node *ShadowNode) Child() RenderNoder { // The function returns the following values: // // - gsize: number of shadows. -// func (node *ShadowNode) NShadows() uint { var _arg0 *C.GskRenderNode // out var _cret C.gsize // in @@ -4950,7 +4833,6 @@ func (node *ShadowNode) NShadows() uint { // The function returns the following values: // // - shadow data. -// func (node *ShadowNode) Shadow(i uint) *Shadow { var _arg0 *C.GskRenderNode // out var _arg1 C.gsize // out @@ -5006,7 +4888,6 @@ func marshalTextNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - textNode (optional): new GskRenderNode. -// func NewTextNode(font pango.Fonter, glyphs *pango.GlyphString, color *gdk.RGBA, offset *graphene.Point) *TextNode { var _arg1 *C.PangoFont // out var _arg2 *C.PangoGlyphString // out @@ -5039,7 +4920,6 @@ func NewTextNode(font pango.Fonter, glyphs *pango.GlyphString, color *gdk.RGBA, // The function returns the following values: // // - rgbA: text color. -// func (node *TextNode) Color() *gdk.RGBA { var _arg0 *C.GskRenderNode // out var _cret *C.GdkRGBA // in @@ -5061,7 +4941,6 @@ func (node *TextNode) Color() *gdk.RGBA { // The function returns the following values: // // - font: font. -// func (node *TextNode) Font() pango.Fonter { var _arg0 *C.GskRenderNode // out var _cret *C.PangoFont // in @@ -5099,7 +4978,6 @@ func (node *TextNode) Font() pango.Fonter { // The function returns the following values: // // - glyphInfos: glyph information. -// func (node *TextNode) Glyphs() []pango.GlyphInfo { var _arg0 *C.GskRenderNode // out var _cret *C.PangoGlyphInfo // in @@ -5128,7 +5006,6 @@ func (node *TextNode) Glyphs() []pango.GlyphInfo { // The function returns the following values: // // - guint: number of glyphs. -// func (node *TextNode) NumGlyphs() uint { var _arg0 *C.GskRenderNode // out var _cret C.guint // in @@ -5150,7 +5027,6 @@ func (node *TextNode) NumGlyphs() uint { // The function returns the following values: // // - point with the horizontal and vertical offsets. -// func (node *TextNode) Offset() *graphene.Point { var _arg0 *C.GskRenderNode // out var _cret *C.graphene_point_t // in @@ -5172,7 +5048,6 @@ func (node *TextNode) Offset() *graphene.Point { // The function returns the following values: // // - ok: TRUE if the text node has color glyphs. -// func (node *TextNode) HasColorGlyphs() bool { var _arg0 *C.GskRenderNode // out var _cret C.gboolean // in @@ -5224,7 +5099,6 @@ func marshalTextureNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - textureNode: new GskRenderNode. -// func NewTextureNode(texture gdk.Texturer, bounds *graphene.Rect) *TextureNode { var _arg1 *C.GdkTexture // out var _arg2 *C.graphene_rect_t // out @@ -5249,7 +5123,6 @@ func NewTextureNode(texture gdk.Texturer, bounds *graphene.Rect) *TextureNode { // The function returns the following values: // // - texture: GdkTexture. -// func (node *TextureNode) Texture() gdk.Texturer { var _arg0 *C.GskRenderNode // out var _cret *C.GdkTexture // in @@ -5315,7 +5188,6 @@ func marshalTransformNode(p uintptr) (interface{}, error) { // The function returns the following values: // // - transformNode: new GskRenderNode. -// func NewTransformNode(child RenderNoder, transform *Transform) *TransformNode { var _arg1 *C.GskRenderNode // out var _arg2 *C.GskTransform // out @@ -5340,7 +5212,6 @@ func NewTransformNode(child RenderNoder, transform *Transform) *TransformNode { // The function returns the following values: // // - renderNode: child that is getting transformed. -// func (node *TransformNode) Child() RenderNoder { var _arg0 *C.GskRenderNode // out var _cret *C.GskRenderNode // in @@ -5378,7 +5249,6 @@ func (node *TransformNode) Child() RenderNoder { // The function returns the following values: // // - transform: GskTransform. -// func (node *TransformNode) Transform() *Transform { var _arg0 *C.GskRenderNode // out var _cret *C.GskTransform // in @@ -5608,7 +5478,6 @@ func (r *RoundedRect) Corner() [4]graphene.Size { // The function returns the following values: // // - ok: TRUE if the point is inside the rounded rectangle. -// func (self *RoundedRect) ContainsPoint(point *graphene.Point) bool { var _arg0 *C.GskRoundedRect // out var _arg1 *C.graphene_point_t // out @@ -5640,7 +5509,6 @@ func (self *RoundedRect) ContainsPoint(point *graphene.Point) bool { // The function returns the following values: // // - ok: TRUE if the rect is fully contained inside the rounded rectangle. -// func (self *RoundedRect) ContainsRect(rect *graphene.Rect) bool { var _arg0 *C.GskRoundedRect // out var _arg1 *C.graphene_rect_t // out @@ -5677,7 +5545,6 @@ func (self *RoundedRect) ContainsRect(rect *graphene.Rect) bool { // The function returns the following values: // // - roundedRect: initialized rectangle. -// func (self *RoundedRect) Init(bounds *graphene.Rect, topLeft *graphene.Size, topRight *graphene.Size, bottomRight *graphene.Size, bottomLeft *graphene.Size) *RoundedRect { var _arg0 *C.GskRoundedRect // out var _arg1 *C.graphene_rect_t // out @@ -5721,7 +5588,6 @@ func (self *RoundedRect) Init(bounds *graphene.Rect, topLeft *graphene.Size, top // The function returns the following values: // // - roundedRect: initialized rectangle. -// func (self *RoundedRect) InitCopy(src *RoundedRect) *RoundedRect { var _arg0 *C.GskRoundedRect // out var _arg1 *C.GskRoundedRect // out @@ -5752,7 +5618,6 @@ func (self *RoundedRect) InitCopy(src *RoundedRect) *RoundedRect { // The function returns the following values: // // - roundedRect: initialized rectangle. -// func (self *RoundedRect) InitFromRect(bounds *graphene.Rect, radius float32) *RoundedRect { var _arg0 *C.GskRoundedRect // out var _arg1 *C.graphene_rect_t // out @@ -5785,7 +5650,6 @@ func (self *RoundedRect) InitFromRect(bounds *graphene.Rect, radius float32) *Ro // The function returns the following values: // // - ok: TRUE if the rect intersects with the rounded rectangle. -// func (self *RoundedRect) IntersectsRect(rect *graphene.Rect) bool { var _arg0 *C.GskRoundedRect // out var _arg1 *C.graphene_rect_t // out @@ -5816,7 +5680,6 @@ func (self *RoundedRect) IntersectsRect(rect *graphene.Rect) bool { // The function returns the following values: // // - ok: TRUE if the rectangle is rectilinear. -// func (self *RoundedRect) IsRectilinear() bool { var _arg0 *C.GskRoundedRect // out var _cret C.gboolean // in @@ -5843,7 +5706,6 @@ func (self *RoundedRect) IsRectilinear() bool { // The function returns the following values: // // - roundedRect: normalized rectangle. -// func (self *RoundedRect) Normalize() *RoundedRect { var _arg0 *C.GskRoundedRect // out var _cret *C.GskRoundedRect // in @@ -5872,7 +5734,6 @@ func (self *RoundedRect) Normalize() *RoundedRect { // The function returns the following values: // // - roundedRect: offset rectangle. -// func (self *RoundedRect) Offset(dx float32, dy float32) *RoundedRect { var _arg0 *C.GskRoundedRect // out var _arg1 C.float // out @@ -5914,7 +5775,6 @@ func (self *RoundedRect) Offset(dx float32, dy float32) *RoundedRect { // The function returns the following values: // // - roundedRect: resized GskRoundedRect. -// func (self *RoundedRect) Shrink(top float32, right float32, bottom float32, left float32) *RoundedRect { var _arg0 *C.GskRoundedRect // out var _arg1 C.float // out @@ -5996,7 +5856,6 @@ func NewShaderArgsBuilder(shader *GLShader, initialValues *glib.Bytes) *ShaderAr // // - idx: index of the uniform. // - value to set the uniform to. -// func (builder *ShaderArgsBuilder) SetBool(idx int, value bool) { var _arg0 *C.GskShaderArgsBuilder // out var _arg1 C.int // out @@ -6022,7 +5881,6 @@ func (builder *ShaderArgsBuilder) SetBool(idx int, value bool) { // // - idx: index of the uniform. // - value to set the uniform to. -// func (builder *ShaderArgsBuilder) SetFloat(idx int, value float32) { var _arg0 *C.GskShaderArgsBuilder // out var _arg1 C.int // out @@ -6046,7 +5904,6 @@ func (builder *ShaderArgsBuilder) SetFloat(idx int, value float32) { // // - idx: index of the uniform. // - value to set the uniform to. -// func (builder *ShaderArgsBuilder) SetInt(idx int, value int32) { var _arg0 *C.GskShaderArgsBuilder // out var _arg1 C.int // out @@ -6070,7 +5927,6 @@ func (builder *ShaderArgsBuilder) SetInt(idx int, value int32) { // // - idx: index of the uniform. // - value to set the uniform to. -// func (builder *ShaderArgsBuilder) SetUint(idx int, value uint32) { var _arg0 *C.GskShaderArgsBuilder // out var _arg1 C.int // out @@ -6094,7 +5950,6 @@ func (builder *ShaderArgsBuilder) SetUint(idx int, value uint32) { // // - idx: index of the uniform. // - value to set the uniform too. -// func (builder *ShaderArgsBuilder) SetVec2(idx int, value *graphene.Vec2) { var _arg0 *C.GskShaderArgsBuilder // out var _arg1 C.int // out @@ -6118,7 +5973,6 @@ func (builder *ShaderArgsBuilder) SetVec2(idx int, value *graphene.Vec2) { // // - idx: index of the uniform. // - value to set the uniform too. -// func (builder *ShaderArgsBuilder) SetVec3(idx int, value *graphene.Vec3) { var _arg0 *C.GskShaderArgsBuilder // out var _arg1 C.int // out @@ -6142,7 +5996,6 @@ func (builder *ShaderArgsBuilder) SetVec3(idx int, value *graphene.Vec3) { // // - idx: index of the uniform. // - value to set the uniform too. -// func (builder *ShaderArgsBuilder) SetVec4(idx int, value *graphene.Vec4) { var _arg0 *C.GskShaderArgsBuilder // out var _arg1 C.int // out @@ -6172,7 +6025,6 @@ func (builder *ShaderArgsBuilder) SetVec4(idx int, value *graphene.Vec4) { // The function returns the following values: // // - bytes: newly allocated buffer with all the args added to builder. -// func (builder *ShaderArgsBuilder) ToArgs() *glib.Bytes { var _arg0 *C.GskShaderArgsBuilder // out var _cret *C.GBytes // in @@ -6310,7 +6162,6 @@ func NewTransform() *Transform { // The function returns the following values: // // - ok: TRUE if the two transforms perform the same operation. -// func (first *Transform) Equal(second *Transform) bool { var _arg0 *C.GskTransform // out var _arg1 *C.GskTransform // out @@ -6341,7 +6192,6 @@ func (first *Transform) Equal(second *Transform) bool { // The function returns the following values: // // - transformCategory: category of the transform. -// func (self *Transform) Category() TransformCategory { var _arg0 *C.GskTransform // out var _cret C.GskTransformCategory // in @@ -6371,7 +6221,6 @@ func (self *Transform) Category() TransformCategory { // // - transform (optional): inverted transform or NULL if the transform cannot // be inverted. -// func (self *Transform) Invert() *Transform { var _arg0 *C.GskTransform // out var _cret *C.GskTransform // in @@ -6407,7 +6256,6 @@ func (self *Transform) Invert() *Transform { // The function returns the following values: // // - transform: new transform. -// func (next *Transform) Matrix(matrix *graphene.Matrix) *Transform { var _arg0 *C.GskTransform // out var _arg1 *C.graphene_matrix_t // out @@ -6449,7 +6297,6 @@ func (next *Transform) Matrix(matrix *graphene.Matrix) *Transform { // The function returns the following values: // // - transform: new transform. -// func (next *Transform) Perspective(depth float32) *Transform { var _arg0 *C.GskTransform // out var _arg1 C.float // out @@ -6486,7 +6333,6 @@ func (next *Transform) Perspective(depth float32) *Transform { // The function returns the following values: // // - transform: new transform. -// func (next *Transform) Rotate(angle float32) *Transform { var _arg0 *C.GskTransform // out var _arg1 C.float // out @@ -6526,7 +6372,6 @@ func (next *Transform) Rotate(angle float32) *Transform { // The function returns the following values: // // - transform: new transform. -// func (next *Transform) Rotate3D(angle float32, axis *graphene.Vec3) *Transform { var _arg0 *C.GskTransform // out var _arg1 C.float // out @@ -6569,7 +6414,6 @@ func (next *Transform) Rotate3D(angle float32, axis *graphene.Vec3) *Transform { // The function returns the following values: // // - transform: new transform. -// func (next *Transform) Scale(factorX float32, factorY float32) *Transform { var _arg0 *C.GskTransform // out var _arg1 C.float // out @@ -6611,7 +6455,6 @@ func (next *Transform) Scale(factorX float32, factorY float32) *Transform { // The function returns the following values: // // - transform: new transform. -// func (next *Transform) Scale3D(factorX float32, factorY float32, factorZ float32) *Transform { var _arg0 *C.GskTransform // out var _arg1 C.float // out @@ -6652,9 +6495,9 @@ func (next *Transform) Scale3D(factorX float32, factorY float32, factorZ float32 // // The returned values have the following layout: // -// | xx yx | | a b 0 | -// | xy yy | = | c d 0 | -// | dx dy | | tx ty 1 | +// | xx yx | | a b 0 | +// | xy yy | = | c d 0 | +// | dx dy | | tx ty 1 | // // This function can be used to convert between a GskTransform and a matrix type // from other 2D drawing libraries, in particular Cairo. @@ -6667,7 +6510,6 @@ func (next *Transform) Scale3D(factorX float32, factorY float32, factorZ float32 // - outYy: return location for the yy member. // - outDx: return location for the x0 member. // - outDy: return location for the y0 member. -// func (self *Transform) To2D() (outXx float32, outYx float32, outXy float32, outYy float32, outDx float32, outDy float32) { var _arg0 *C.GskTransform // out var _arg1 C.float // in @@ -6710,7 +6552,6 @@ func (self *Transform) To2D() (outXx float32, outYx float32, outXy float32, outY // - outScaleY: return location for the scale factor in the y direction. // - outDx: return location for the translation in the x direction. // - outDy: return location for the translation in the y direction. -// func (self *Transform) ToAffine() (outScaleX float32, outScaleY float32, outDx float32, outDy float32) { var _arg0 *C.GskTransform // out var _arg1 C.float // in @@ -6743,7 +6584,6 @@ func (self *Transform) ToAffine() (outScaleX float32, outScaleY float32, outDx f // The function returns the following values: // // - outMatrix: matrix to set. -// func (self *Transform) ToMatrix() *graphene.Matrix { var _arg0 *C.GskTransform // out var _arg1 C.graphene_matrix_t // in @@ -6771,7 +6611,6 @@ func (self *Transform) ToMatrix() *graphene.Matrix { // The function returns the following values: // // - utf8: new string for self. -// func (self *Transform) String() string { var _arg0 *C.GskTransform // out var _cret *C.char // in @@ -6800,7 +6639,6 @@ func (self *Transform) String() string { // // - outDx: return location for the translation in the x direction. // - outDy: return location for the translation in the y direction. -// func (self *Transform) ToTranslate() (outDx float32, outDy float32) { var _arg0 *C.GskTransform // out var _arg1 C.float // in @@ -6829,7 +6667,6 @@ func (self *Transform) ToTranslate() (outDx float32, outDy float32) { // The function returns the following values: // // - transform: new transform. -// func (next *Transform) Transform(other *Transform) *Transform { var _arg0 *C.GskTransform // out var _arg1 *C.GskTransform // out @@ -6870,7 +6707,6 @@ func (next *Transform) Transform(other *Transform) *Transform { // The function returns the following values: // // - outRect: return location for the bounds of the transformed rectangle. -// func (self *Transform) TransformBounds(rect *graphene.Rect) *graphene.Rect { var _arg0 *C.GskTransform // out var _arg1 *C.graphene_rect_t // out @@ -6899,7 +6735,6 @@ func (self *Transform) TransformBounds(rect *graphene.Rect) *graphene.Rect { // The function returns the following values: // // - outPoint: return location for the transformed point. -// func (self *Transform) TransformPoint(point *graphene.Point) *graphene.Point { var _arg0 *C.GskTransform // out var _arg1 *C.graphene_point_t // out @@ -6928,7 +6763,6 @@ func (self *Transform) TransformPoint(point *graphene.Point) *graphene.Point { // The function returns the following values: // // - transform: new transform. -// func (next *Transform) Translate(point *graphene.Point) *Transform { var _arg0 *C.GskTransform // out var _arg1 *C.graphene_point_t // out @@ -6965,7 +6799,6 @@ func (next *Transform) Translate(point *graphene.Point) *Transform { // The function returns the following values: // // - transform: new transform. -// func (next *Transform) Translate3D(point *graphene.Point3D) *Transform { var _arg0 *C.GskTransform // out var _arg1 *C.graphene_point3d_t // out @@ -7010,7 +6843,6 @@ func (next *Transform) Translate3D(point *graphene.Point3D) *Transform { // // - outTransform: location to put the transform in. // - ok: TRUE if string described a valid transform. -// func TransformParse(str string) (*Transform, bool) { var _arg1 *C.char // out var _arg2 *C.GskTransform // in diff --git a/pkg/gtk/v3/gtk.go b/pkg/gtk/v3/gtk.go index acaf3b56c..3fdf63a42 100644 --- a/pkg/gtk/v3/gtk.go +++ b/pkg/gtk/v3/gtk.go @@ -30600,7 +30600,6 @@ type ActionOverrides struct { // The function returns the following values: // // - widget: menu item provided by the action, or NULL. - // CreateMenu func() Widgetter // CreateMenuItem creates a menu item widget that proxies for the given // action. @@ -30611,7 +30610,6 @@ type ActionOverrides struct { // The function returns the following values: // // - widget: menu item connected to the action. - // CreateMenuItem func() Widgetter // CreateToolItem creates a toolbar item widget that proxies for the given // action. @@ -30622,7 +30620,6 @@ type ActionOverrides struct { // The function returns the following values: // // - widget: toolbar item connected to the action. - // CreateToolItem func() Widgetter DisconnectProxy func(proxy Widgetter) } @@ -32193,7 +32190,6 @@ type ActionGroupOverrides struct { // The function returns the following values: // // - action: action, or NULL if no action by that name exists. - // Action func(actionName string) *Action } @@ -34190,7 +34186,6 @@ type AppChooserWidgetOverrides struct { // // - menu // - appInfo - // PopulatePopup func(menu *Menu, appInfo gio.AppInfor) } @@ -37950,7 +37945,6 @@ type BuilderOverrides struct { // The function returns the following values: // // - gType found for type_name or TYPE_INVALID if no type was found. - // TypeFromName func(typeName string) coreglib.Type } @@ -40910,14 +40904,12 @@ type CellAreaOverrides struct { // The function returns the following values: // // - ok: whether area was successfully activated. - // Activate func(context *CellAreaContext, widget Widgetter, cellArea *gdk.Rectangle, flags CellRendererState, editOnly bool) bool // Add adds renderer to area with the default child cell properties. // // The function takes the following parameters: // // - renderer to add to area. - // Add func(renderer CellRendererer) // ApplyAttributes applies any connected attributes to the renderers in area // by pulling the values from tree_model. @@ -40929,7 +40921,6 @@ type CellAreaOverrides struct { // - isExpander: whether iter has children. // - isExpanded: whether iter is expanded in the view and children are // visible. - // ApplyAttributes func(treeModel TreeModeller, iter *TreeIter, isExpander, isExpanded bool) // CopyContext: this is sometimes needed for cases where rows need to // share alignments in one orientation but may be separately grouped in the @@ -40948,7 +40939,6 @@ type CellAreaOverrides struct { // The function returns the following values: // // - cellAreaContext: newly created CellAreaContext copy of context. - // CopyContext func(context *CellAreaContext) *CellAreaContext // CreateContext creates a CellAreaContext to be used with area for all // purposes. CellAreaContext stores geometry information for rows for which @@ -40961,7 +40951,6 @@ type CellAreaOverrides struct { // // - cellAreaContext: newly created CellAreaContext which can be used with // area. - // CreateContext func() *CellAreaContext // Event delegates event handling to a CellArea. // @@ -40976,7 +40965,6 @@ type CellAreaOverrides struct { // The function returns the following values: // // - gint: TRUE if the event was handled by area. - // Event func(context *CellAreaContext, widget Widgetter, event *gdk.Event, cellArea *gdk.Rectangle, flags CellRendererState) int // Focus: this should be called by the area’s owning layout widget when // focus is to be passed to area, or moved within area for a given direction @@ -40992,7 +40980,6 @@ type CellAreaOverrides struct { // The function returns the following values: // // - ok: TRUE if focus remains inside area as a result of this call. - // Focus func(direction DirectionType) bool // PreferredHeight retrieves a cell area’s initial minimum and natural // height. @@ -41014,7 +41001,6 @@ type CellAreaOverrides struct { // or NULL. // - naturalHeight (optional): location to store the natural height, // or NULL. - // PreferredHeight func(context *CellAreaContext, widget Widgetter) (minimumHeight, naturalHeight int) // PreferredHeightForWidth retrieves a cell area’s minimum and natural // height if it would be given the specified width. @@ -41043,7 +41029,6 @@ type CellAreaOverrides struct { // or NULL. // - naturalHeight (optional): location to store the natural height, // or NULL. - // PreferredHeightForWidth func(context *CellAreaContext, widget Widgetter, width int) (minimumHeight, naturalHeight int) // PreferredWidth retrieves a cell area’s initial minimum and natural width. // @@ -41064,7 +41049,6 @@ type CellAreaOverrides struct { // or NULL. // - naturalWidth (optional): location to store the natural width, // or NULL. - // PreferredWidth func(context *CellAreaContext, widget Widgetter) (minimumWidth, naturalWidth int) // PreferredWidthForHeight retrieves a cell area’s minimum and natural width // if it would be given the specified height. @@ -41093,7 +41077,6 @@ type CellAreaOverrides struct { // or NULL. // - naturalWidth (optional): location to store the natural width, // or NULL. - // PreferredWidthForHeight func(context *CellAreaContext, widget Widgetter, height int) (minimumWidth, naturalWidth int) // RequestMode gets whether the area prefers a height-for-width layout or a // width-for-height layout. @@ -41101,7 +41084,6 @@ type CellAreaOverrides struct { // The function returns the following values: // // - sizeRequestMode preferred by area. - // RequestMode func() SizeRequestMode // IsActivatable returns whether the area can do anything when activated, // after applying new attributes to area. @@ -41109,14 +41091,12 @@ type CellAreaOverrides struct { // The function returns the following values: // // - ok: whether area can do anything when activated. - // IsActivatable func() bool // Remove removes renderer from area. // // The function takes the following parameters: // // - renderer to remove from area. - // Remove func(renderer CellRendererer) // Render renders area’s cells according to area’s layout onto widget at the // given coordinates. @@ -41131,7 +41111,6 @@ type CellAreaOverrides struct { // - flags for area in this row. // - paintFocus: whether area should paint focus on focused cells for // focused rows or not. - // Render func(context *CellAreaContext, widget Widgetter, cr *cairo.Context, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState, paintFocus bool) } @@ -43659,7 +43638,6 @@ type CellAreaContextOverrides struct { // or -1. // - height: allocated height for all TreeModel rows rendered with // context, or -1. - // Allocate func(width, height int) // PreferredHeightForWidth gets the accumulative preferred height for width // for all rows which have been requested for the same said width with this @@ -43678,7 +43656,6 @@ type CellAreaContextOverrides struct { // or NULL. // - naturalHeight (optional): location to store the natural height, // or NULL. - // PreferredHeightForWidth func(width int) (minimumHeight, naturalHeight int) // PreferredWidthForHeight gets the accumulative preferred width for height // for all rows which have been requested for the same said height with this @@ -43697,7 +43674,6 @@ type CellAreaContextOverrides struct { // or NULL. // - naturalWidth (optional): location to store the natural width, // or NULL. - // PreferredWidthForHeight func(height int) (minimumWidth, naturalWidth int) // Reset resets any previously cached request and allocation data. // @@ -44275,14 +44251,12 @@ type CellRendererOverrides struct { // The function returns the following values: // // - ok: TRUE if the event was consumed/handled. - // Activate func(event *gdk.Event, widget Widgetter, path string, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) bool EditingCanceled func() // The function takes the following parameters: // // - editable // - path - // EditingStarted func(editable CellEditabler, path string) // AlignedArea gets the aligned area used by cell inside cell_area. Used for // finding the appropriate edit and focus rectangle. @@ -44298,7 +44272,6 @@ type CellRendererOverrides struct { // // - alignedArea: return location for the space inside cell_area that // would acually be used to render. - // AlignedArea func(widget Widgetter, flags CellRendererState, cellArea *gdk.Rectangle) *gdk.Rectangle // PreferredHeight retreives a renderer’s natural size when rendered to // widget. @@ -44311,7 +44284,6 @@ type CellRendererOverrides struct { // // - minimumSize (optional): location to store the minimum size, or NULL. // - naturalSize (optional): location to store the natural size, or NULL. - // PreferredHeight func(widget Widgetter) (minimumSize, naturalSize int) // PreferredHeightForWidth retreives a cell renderers’s minimum and natural // height if it were rendered to widget with the specified width. @@ -44327,7 +44299,6 @@ type CellRendererOverrides struct { // or NULL. // - naturalHeight (optional): location for storing the preferred size, // or NULL. - // PreferredHeightForWidth func(widget Widgetter, width int) (minimumHeight, naturalHeight int) // PreferredWidth retreives a renderer’s natural size when rendered to // widget. @@ -44340,7 +44311,6 @@ type CellRendererOverrides struct { // // - minimumSize (optional): location to store the minimum size, or NULL. // - naturalSize (optional): location to store the natural size, or NULL. - // PreferredWidth func(widget Widgetter) (minimumSize, naturalSize int) // PreferredWidthForHeight retreives a cell renderers’s minimum and natural // width if it were rendered to widget with the specified height. @@ -44356,7 +44326,6 @@ type CellRendererOverrides struct { // or NULL. // - naturalWidth (optional): location for storing the preferred size, // or NULL. - // PreferredWidthForHeight func(widget Widgetter, height int) (minimumWidth, naturalWidth int) // RequestMode gets whether the cell renderer prefers a height-for-width // layout or a width-for-height layout. @@ -44364,7 +44333,6 @@ type CellRendererOverrides struct { // The function returns the following values: // // - sizeRequestMode preferred by this renderer. - // RequestMode func() SizeRequestMode // Size obtains the width and height needed to render the cell. Used by view // widgets to determine the appropriate size for the cell_area passed to @@ -44391,7 +44359,6 @@ type CellRendererOverrides struct { // or NULL. // - height (optional): location to return height needed to render a cell, // or NULL. - // Size func(widget Widgetter, cellArea *gdk.Rectangle) (xOffset, yOffset, width, height int) // Render invokes the virtual render function of the CellRenderer. The three // passed-in rectangles are areas in cr. Most renderers will draw within @@ -44409,7 +44376,6 @@ type CellRendererOverrides struct { // padding on the sides). // - cellArea: area normally rendered by a cell renderer. // - flags that affect rendering. - // Render func(cr *cairo.Context, widget Widgetter, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) // StartEditing starts editing the contents of this cell, through a new // CellEditable widget created by the CellRendererClass.start_editing @@ -44430,7 +44396,6 @@ type CellRendererOverrides struct { // // - cellEditable (optional): new CellEditable for editing this cell, // or NULL if editing is not possible. - // StartEditing func(event *gdk.Event, widget Widgetter, path string, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) *CellEditable } @@ -45867,7 +45832,6 @@ type CellRendererAccelOverrides struct { // - accelKey // - accelMods // - hardwareKeycode - // AccelEdited func(pathString string, accelKey uint, accelMods gdk.ModifierType, hardwareKeycode uint) } @@ -46418,7 +46382,6 @@ type CellRendererTextOverrides struct { // // - path // - newText - // Edited func(path, newText string) } @@ -51333,7 +51296,6 @@ type ContainerOverrides struct { // The function takes the following parameters: // // - widget to be placed inside container. - // Add func(widget Widgetter) CheckResize func() // ChildType returns the type of the children supported by the container. @@ -51344,7 +51306,6 @@ type ContainerOverrides struct { // The function returns the following values: // // - gType: #GType. - // ChildType func() coreglib.Type CompositeName func(child Widgetter) string // PathForChild returns a newly created widget path representing all the @@ -51357,7 +51318,6 @@ type ContainerOverrides struct { // The function returns the following values: // // - widgetPath: newly created WidgetPath. - // PathForChild func(child Widgetter) *WidgetPath // Remove removes widget from container. widget must be inside container. // Note that container will own a reference to widget, and that this @@ -51372,7 +51332,6 @@ type ContainerOverrides struct { // The function takes the following parameters: // // - widget: current child of container. - // Remove func(widget Widgetter) // SetFocusChild: sets, or unsets if child is NULL, the focused child of // container. @@ -51388,7 +51347,6 @@ type ContainerOverrides struct { // The function takes the following parameters: // // - child (optional) or NULL. - // SetFocusChild func(child Widgetter) } @@ -52825,7 +52783,6 @@ type CSSProviderOverrides struct { // // - section // - err - // ParsingError func(section *CSSSection, err error) } @@ -53160,7 +53117,6 @@ type DialogOverrides struct { // The function takes the following parameters: // // - responseId: response ID. - // Response func(responseId int) } @@ -53951,7 +53907,6 @@ type EntryOverrides struct { // // - typ // - count - // DeleteFromCursor func(typ DeleteType, count int) // The function takes the following parameters: // @@ -53959,7 +53914,6 @@ type EntryOverrides struct { // - y // - width // - height - // FrameSize func(x, y, width, height *int) // The function takes the following parameters: // @@ -53967,7 +53921,6 @@ type EntryOverrides struct { // - y // - width // - height - // TextAreaSize func(x, y, width, height *int) InsertAtCursor func(str string) InsertEmoji func() @@ -53976,7 +53929,6 @@ type EntryOverrides struct { // - step // - count // - extendSelection - // MoveCursor func(step MovementStep, count int, extendSelection bool) PasteClipboard func() PopulatePopup func(popup Widgetter) @@ -56552,20 +56504,17 @@ type EntryBufferOverrides struct { // The function returns the following values: // // - guint: number of characters deleted. - // DeleteText func(position, nChars uint) uint // The function takes the following parameters: // // - position // - nChars - // DeletedText func(position, nChars uint) // Length retrieves the length in characters of the buffer. // // The function returns the following values: // // - guint: number of characters in the buffer. - // Length func() uint Text func(nBytes *uint) string // InsertText inserts n_chars characters of chars into the contents of the @@ -56587,14 +56536,12 @@ type EntryBufferOverrides struct { // The function returns the following values: // // - guint: number of characters actually inserted. - // InsertText func(position uint, chars string, nChars uint) uint // The function takes the following parameters: // // - position // - chars // - nChars - // InsertedText func(position uint, chars string, nChars uint) } @@ -57187,14 +57134,12 @@ type EntryCompletionOverrides struct { // // - model // - iter - // CursorOnMatch func(model TreeModeller, iter *TreeIter) bool InsertPrefix func(prefix string) bool // The function takes the following parameters: // // - model // - iter - // MatchSelected func(model TreeModeller, iter *TreeIter) bool NoMatches func() } @@ -61087,7 +61032,6 @@ type FlowBoxOverrides struct { // // - step // - count - // MoveCursor func(step MovementStep, count int) bool // SelectAll: select all children of box, if the selection mode allows it. SelectAll func() @@ -64270,7 +64214,6 @@ type GLAreaOverrides struct { // // - width // - height - // Resize func(width, height int) } @@ -69073,7 +69016,6 @@ type IMContextOverrides struct { // The function returns the following values: // // - ok: TRUE if the signal was handled. - // DeleteSurrounding func(offset, nChars int) bool // FilterKeypress: allow an input method to internally handle key press and // release events. If this function returns TRUE, then no further processing @@ -69086,7 +69028,6 @@ type IMContextOverrides struct { // The function returns the following values: // // - ok: TRUE if the input method handled the key event. - // FilterKeypress func(event *gdk.EventKey) bool // FocusIn: notify the input method that the widget to which this input // context corresponds has gained focus. The input method may, for example, @@ -69110,7 +69051,6 @@ type IMContextOverrides struct { // pango_attr_list_unref(). // - cursorPos: location to store position of cursor (in characters) // within the preedit string. - // PreeditString func() (string, *pango.AttrList, int) // Surrounding retrieves context around the insertion point. Input methods // typically want context in order to constrain input text based on existing @@ -69134,7 +69074,6 @@ type IMContextOverrides struct { // within text. // - ok: TRUE if surrounding text was provided; in this case you must free // the result stored in *text. - // Surrounding func() (string, int, bool) PreeditChanged func() PreeditEnd func() @@ -69153,7 +69092,6 @@ type IMContextOverrides struct { // // - window (optional): client window. This may be NULL to indicate that // the previous client window no longer exists. - // SetClientWindow func(window gdk.Windower) // SetCursorLocation: notify the input method that a change in cursor // position has been made. The location is relative to the client window. @@ -69161,7 +69099,6 @@ type IMContextOverrides struct { // The function takes the following parameters: // // - area: new location. - // SetCursorLocation func(area *gdk.Rectangle) // SetSurrounding sets surrounding context around the insertion point and // preedit string. This function is expected to be called in response to the @@ -69174,7 +69111,6 @@ type IMContextOverrides struct { // should not be included within text. // - len: length of text, or -1 if text is nul-terminated. // - cursorIndex: byte index of the insertion cursor within text. - // SetSurrounding func(text string, len, cursorIndex int) // SetUsePreedit sets whether the IM context should use the preedit // string to display feedback. If use_preedit is FALSE (default is TRUE), @@ -69184,7 +69120,6 @@ type IMContextOverrides struct { // The function takes the following parameters: // // - usePreedit: whether the IM context should use the preedit string. - // SetUsePreedit func(usePreedit bool) } @@ -72684,13 +72619,11 @@ type IconViewOverrides struct { // The function takes the following parameters: // // - path to be activated. - // ItemActivated func(path *TreePath) // The function takes the following parameters: // // - step // - count - // MoveCursor func(step MovementStep, count int) bool // SelectAll selects all the icons. icon_view must has its selection mode // set to K_SELECTION_MULTIPLE. @@ -76193,7 +76126,6 @@ type InfoBarOverrides struct { // The function takes the following parameters: // // - responseId: response ID. - // Response func(responseId int) } @@ -76848,7 +76780,6 @@ type LabelOverrides struct { // - step // - count // - extendSelection - // MoveCursor func(step MovementStep, count int, extendSelection bool) PopulatePopup func(menu *Menu) } @@ -79574,7 +79505,6 @@ type ListBoxOverrides struct { // // - step // - count - // MoveCursor func(step MovementStep, count int) RowActivated func(row *ListBoxRow) RowSelected func(row *ListBoxRow) @@ -83502,7 +83432,6 @@ type MenuItemOverrides struct { // // - utf8: text in the menu_item label. This is the internal string used // by the label, and must not be modified. - // Label func() string // Select emits the MenuItem::select signal on the given item. Select func() @@ -83511,7 +83440,6 @@ type MenuItemOverrides struct { // The function takes the following parameters: // // - label: text you want to set. - // SetLabel func(label string) // ToggleSizeAllocate emits the MenuItem::toggle-size-allocate signal on the // given item. @@ -83519,7 +83447,6 @@ type MenuItemOverrides struct { // The function takes the following parameters: // // - allocation to use as signal data. - // ToggleSizeAllocate func(allocation int) } @@ -84315,7 +84242,6 @@ type MenuShellOverrides struct { // - child to add. // - position in the item list where child is added. Positions are // numbered from 0 to n-1. - // Insert func(child Widgetter, position int) MoveCurrent func(direction MenuDirectionType) MoveSelected func(distance int) bool @@ -84324,7 +84250,6 @@ type MenuShellOverrides struct { // The function takes the following parameters: // // - menuItem to select. - // SelectItem func(menuItem Widgetter) SelectionDone func() } @@ -86554,39 +86479,33 @@ type NotebookOverrides struct { // - tabLabel // - menuLabel // - position - // InsertPage func(child, tabLabel, menuLabel Widgetter, position int) int MoveFocusOut func(direction DirectionType) // The function takes the following parameters: // // - child // - pageNum - // PageAdded func(child Widgetter, pageNum uint) // The function takes the following parameters: // // - child // - pageNum - // PageRemoved func(child Widgetter, pageNum uint) // The function takes the following parameters: // // - child // - pageNum - // PageReordered func(child Widgetter, pageNum uint) // The function takes the following parameters: // // - direction // - moveToLast - // ReorderTab func(direction DirectionType, moveToLast bool) bool SelectPage func(moveFocus bool) bool // The function takes the following parameters: // // - page // - pageNum - // SwitchPage func(page Widgetter, pageNum uint) } @@ -89023,7 +88942,6 @@ type OverlayOverrides struct { // // - widget // - allocation - // ChildPosition func(widget Widgetter, allocation *Allocation) bool } @@ -93237,7 +93155,6 @@ type PrintOperationOverrides struct { // // - context // - pageNr - // DrawPage func(context *PrintContext, pageNr int) EndPrint func(context *PrintContext) Paginate func(context *PrintContext) bool @@ -93246,14 +93163,12 @@ type PrintOperationOverrides struct { // - preview // - context // - parent - // Preview func(preview PrintOperationPreviewer, context *PrintContext, parent *Window) bool // The function takes the following parameters: // // - context // - pageNr // - setup - // RequestPageSetup func(context *PrintContext, pageNr int, setup *PageSetup) StatusChanged func() // The function takes the following parameters: @@ -93261,7 +93176,6 @@ type PrintOperationOverrides struct { // - widget // - setup // - settings - // UpdateCustomWidget func(widget Widgetter, setup *PageSetup, settings *PrintSettings) } @@ -98384,7 +98298,6 @@ type RangeOverrides struct { // // - scroll // - newValue - // ChangeValue func(scroll ScrollType, newValue float64) bool RangeBorder func(border_ *Border) // The function takes the following parameters: @@ -98392,7 +98305,6 @@ type RangeOverrides struct { // - orientation // - minimum // - natural - // RangeSizeRequest func(orientation Orientation, minimum, natural *int) MoveSlider func(scroll ScrollType) ValueChanged func() @@ -99353,7 +99265,6 @@ type RCStyleOverrides struct { // // - settings // - scanner - // Parse func(settings *Settings, scanner *glib.Scanner) uint } @@ -101280,7 +101191,6 @@ type ScaleOverrides struct { // // - x (optional): location to store X offset of layout, or NULL. // - y (optional): location to store Y offset of layout, or NULL. - // LayoutOffsets func() (x, y int) } @@ -102524,7 +102434,6 @@ type ScrolledWindowOverrides struct { // // - scroll // - horizontal - // ScrollChild func(scroll ScrollType, horizontal bool) bool } @@ -107799,7 +107708,6 @@ type StatusIconOverrides struct { // // - button // - activateTime - // PopupMenu func(button uint, activateTime uint32) // The function takes the following parameters: // @@ -107807,7 +107715,6 @@ type StatusIconOverrides struct { // - y // - keyboardMode // - tooltip - // QueryTooltip func(x, y int, keyboardMode bool, tooltip *Tooltip) bool ScrollEvent func(event *gdk.EventScroll) bool SizeChanged func(size int) bool @@ -109116,13 +109023,11 @@ type StatusbarOverrides struct { // // - contextId // - text - // TextPopped func(contextId uint, text string) // The function takes the following parameters: // // - contextId // - text - // TextPushed func(contextId uint, text string) } @@ -109521,7 +109426,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawArrow func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, arrowType ArrowType, fill bool, x, y, width, height int) // The function takes the following parameters: // @@ -109534,7 +109438,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawBox func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int) // The function takes the following parameters: // @@ -109550,7 +109453,6 @@ type StyleOverrides struct { // - gapSide // - gapX // - gapWidth - // DrawBoxGap func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int, gapSide PositionType, gapX, gapWidth int) // The function takes the following parameters: // @@ -109563,7 +109465,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawCheck func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int) // The function takes the following parameters: // @@ -109576,7 +109477,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawDiamond func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int) // The function takes the following parameters: // @@ -109587,7 +109487,6 @@ type StyleOverrides struct { // - x // - y // - expanderStyle - // DrawExpander func(cr *cairo.Context, stateType StateType, widget Widgetter, detail string, x, y int, expanderStyle ExpanderStyle) // The function takes the following parameters: // @@ -109601,7 +109500,6 @@ type StyleOverrides struct { // - width // - height // - gapSide - // DrawExtension func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int, gapSide PositionType) // The function takes the following parameters: // @@ -109614,7 +109512,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawFlatBox func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int) // The function takes the following parameters: // @@ -109626,7 +109523,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawFocus func(cr *cairo.Context, stateType StateType, widget Widgetter, detail string, x, y, width, height int) // The function takes the following parameters: // @@ -109640,7 +109536,6 @@ type StyleOverrides struct { // - width // - height // - orientation - // DrawHandle func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int, orientation Orientation) // The function takes the following parameters: // @@ -109651,7 +109546,6 @@ type StyleOverrides struct { // - x1 // - x2 // - y - // DrawHline func(cr *cairo.Context, stateType StateType, widget Widgetter, detail string, x1, x2, y int) // The function takes the following parameters: // @@ -109663,7 +109557,6 @@ type StyleOverrides struct { // - x // - y // - layout - // DrawLayout func(cr *cairo.Context, stateType StateType, useText bool, widget Widgetter, detail string, x, y int, layout *pango.Layout) // The function takes the following parameters: // @@ -109676,7 +109569,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawOption func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int) // The function takes the following parameters: // @@ -109689,7 +109581,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawResizeGrip func(cr *cairo.Context, stateType StateType, widget Widgetter, detail string, edge gdk.WindowEdge, x, y, width, height int) // The function takes the following parameters: // @@ -109702,7 +109593,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawShadow func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int) // The function takes the following parameters: // @@ -109718,7 +109608,6 @@ type StyleOverrides struct { // - gapSide // - gapX // - gapWidth - // DrawShadowGap func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int, gapSide PositionType, gapX, gapWidth int) // The function takes the following parameters: // @@ -109732,7 +109621,6 @@ type StyleOverrides struct { // - width // - height // - orientation - // DrawSlider func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int, orientation Orientation) // The function takes the following parameters: // @@ -109745,7 +109633,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawSpinner func(cr *cairo.Context, stateType StateType, widget Widgetter, detail string, step uint, x, y, width, height int) // The function takes the following parameters: // @@ -109758,7 +109645,6 @@ type StyleOverrides struct { // - y // - width // - height - // DrawTab func(cr *cairo.Context, stateType StateType, shadowType ShadowType, widget Widgetter, detail string, x, y, width, height int) // The function takes the following parameters: // @@ -109769,7 +109655,6 @@ type StyleOverrides struct { // - y1 // - y2 // - x - // DrawVline func(cr *cairo.Context, stateType StateType, widget Widgetter, detail string, y1, y2, x int) InitFromRC func(rcStyle *RCStyle) Realize func() @@ -109791,7 +109676,6 @@ type StyleOverrides struct { // The function returns the following values: // // - pixbuf: newly-created Pixbuf containing the rendered icon. - // RenderIcon func(source *IconSource, direction TextDirection, state StateType, size int, widget Widgetter, detail string) *gdkpixbuf.Pixbuf // SetBackground sets the background of window to the background color or // pixmap specified by style for the given state. @@ -109802,7 +109686,6 @@ type StyleOverrides struct { // // - window: Window. // - stateType: state. - // SetBackground func(window gdk.Windower, stateType StateType) Unrealize func() } @@ -114394,7 +114277,6 @@ type TextBufferOverrides struct { // - tag: TextTag. // - start: one bound of range to be tagged. // - end: other bound of range to be tagged. - // ApplyTag func(tag *TextTag, start, end *TextIter) // BeginUserAction: called to indicate that the buffer operations // between here and a call to gtk_text_buffer_end_user_action() are @@ -114418,7 +114300,6 @@ type TextBufferOverrides struct { // // - start // - end - // DeleteRange func(start, end *TextIter) // EndUserAction: should be paired with a call to // gtk_text_buffer_begin_user_action(). See that function for a full @@ -114439,7 +114320,6 @@ type TextBufferOverrides struct { // // - iter: location to insert the anchor. // - anchor: TextChildAnchor. - // InsertChildAnchor func(iter *TextIter, anchor *TextChildAnchor) // InsertPixbuf inserts an image into the text buffer at iter. // The image will be counted as one character in character counts, @@ -114453,21 +114333,18 @@ type TextBufferOverrides struct { // // - iter: location to insert the pixbuf. // - pixbuf: Pixbuf. - // InsertPixbuf func(iter *TextIter, pixbuf *gdkpixbuf.Pixbuf) // The function takes the following parameters: // // - pos // - newText // - newTextLength - // InsertText func(pos *TextIter, newText string, newTextLength int) MarkDeleted func(mark *TextMark) // The function takes the following parameters: // // - location // - mark - // MarkSet func(location *TextIter, mark *TextMark) ModifiedChanged func() PasteDone func(clipboard *Clipboard) @@ -114480,7 +114357,6 @@ type TextBufferOverrides struct { // - tag: TextTag. // - start: one bound of range to be untagged. // - end: other bound of range to be untagged. - // RemoveTag func(tag *TextTag, start, end *TextIter) } @@ -117233,7 +117109,6 @@ type TextTagOverrides struct { // The function returns the following values: // // - ok: result of signal emission (whether the event was handled). - // Event func(eventObject *coreglib.Object, event *gdk.Event, iter *TextIter) bool } @@ -117489,7 +117364,6 @@ type TextTagTableOverrides struct { // // - tag // - sizeChanged - // TagChanged func(tag *TextTag, sizeChanged bool) TagRemoved func(tag *TextTag) } @@ -117792,13 +117666,11 @@ type TextViewOverrides struct { // // - typ // - count - // DeleteFromCursor func(typ DeleteType, count int) // The function takes the following parameters: // // - layer // - cr - // DrawLayer func(layer TextViewLayer, cr *cairo.Context) // The function takes the following parameters: // @@ -117806,7 +117678,6 @@ type TextViewOverrides struct { // - location // - start // - end - // ExtendSelection func(granularity TextExtendSelection, location, start, end *TextIter) bool InsertAtCursor func(str string) InsertEmoji func() @@ -117815,7 +117686,6 @@ type TextViewOverrides struct { // - step // - count // - extendSelection - // MoveCursor func(step MovementStep, count int, extendSelection bool) PasteClipboard func() PopulatePopup func(popup Widgetter) @@ -120425,7 +120295,6 @@ type ThemingEngineOverrides struct { // - y // - width // - height - // RenderActivity func(cr *cairo.Context, x, y, width, height float64) // The function takes the following parameters: // @@ -120434,7 +120303,6 @@ type ThemingEngineOverrides struct { // - x // - y // - size - // RenderArrow func(cr *cairo.Context, angle, x, y, size float64) // The function takes the following parameters: // @@ -120443,7 +120311,6 @@ type ThemingEngineOverrides struct { // - y // - width // - height - // RenderBackground func(cr *cairo.Context, x, y, width, height float64) // The function takes the following parameters: // @@ -120452,7 +120319,6 @@ type ThemingEngineOverrides struct { // - y // - width // - height - // RenderCheck func(cr *cairo.Context, x, y, width, height float64) // The function takes the following parameters: // @@ -120461,7 +120327,6 @@ type ThemingEngineOverrides struct { // - y // - width // - height - // RenderExpander func(cr *cairo.Context, x, y, width, height float64) // The function takes the following parameters: // @@ -120471,7 +120336,6 @@ type ThemingEngineOverrides struct { // - width // - height // - gapSide - // RenderExtension func(cr *cairo.Context, x, y, width, height float64, gapSide PositionType) // The function takes the following parameters: // @@ -120480,7 +120344,6 @@ type ThemingEngineOverrides struct { // - y // - width // - height - // RenderFocus func(cr *cairo.Context, x, y, width, height float64) // The function takes the following parameters: // @@ -120489,7 +120352,6 @@ type ThemingEngineOverrides struct { // - y // - width // - height - // RenderFrame func(cr *cairo.Context, x, y, width, height float64) // The function takes the following parameters: // @@ -120501,7 +120363,6 @@ type ThemingEngineOverrides struct { // - gapSide // - xy0Gap // - xy1Gap - // RenderFrameGap func(cr *cairo.Context, x, y, width, height float64, gapSide PositionType, xy0Gap, xy1Gap float64) // The function takes the following parameters: // @@ -120510,7 +120371,6 @@ type ThemingEngineOverrides struct { // - y // - width // - height - // RenderHandle func(cr *cairo.Context, x, y, width, height float64) // The function takes the following parameters: // @@ -120518,7 +120378,6 @@ type ThemingEngineOverrides struct { // - pixbuf // - x // - y - // RenderIcon func(cr *cairo.Context, pixbuf *gdkpixbuf.Pixbuf, x, y float64) // The function takes the following parameters: // @@ -120526,7 +120385,6 @@ type ThemingEngineOverrides struct { // - surface // - x // - y - // RenderIconSurface func(cr *cairo.Context, surface *cairo.Surface, x, y float64) // The function takes the following parameters: // @@ -120534,7 +120392,6 @@ type ThemingEngineOverrides struct { // - x // - y // - layout - // RenderLayout func(cr *cairo.Context, x, y float64, layout *pango.Layout) // The function takes the following parameters: // @@ -120543,7 +120400,6 @@ type ThemingEngineOverrides struct { // - y0 // - x1 // - y1 - // RenderLine func(cr *cairo.Context, x0, y0, x1, y1 float64) // The function takes the following parameters: // @@ -120552,7 +120408,6 @@ type ThemingEngineOverrides struct { // - y // - width // - height - // RenderOption func(cr *cairo.Context, x, y, width, height float64) // The function takes the following parameters: // @@ -120562,7 +120417,6 @@ type ThemingEngineOverrides struct { // - width // - height // - orientation - // RenderSlider func(cr *cairo.Context, x, y, width, height float64, orientation Orientation) } @@ -125267,7 +125121,6 @@ type ToolbarOverrides struct { // - x // - y // - buttonNumber - // PopupContextMenu func(x, y, buttonNumber int) bool StyleChanged func(style ToolbarStyle) } @@ -126208,13 +126061,11 @@ type TreeModelFilterOverrides struct { // - iter // - value // - column - // Modify func(childModel TreeModeller, iter *TreeIter, value *coreglib.Value, column int) // The function takes the following parameters: // // - childModel // - iter - // Visible func(childModel TreeModeller, iter *TreeIter) bool } @@ -128275,13 +128126,11 @@ type TreeViewOverrides struct { // - logical // - expand // - openAll - // ExpandCollapseCursorRow func(logical, expand, openAll bool) bool // The function takes the following parameters: // // - step // - count - // MoveCursor func(step MovementStep, count int) bool // RowActivated activates the cell determined by path and column. // @@ -128289,19 +128138,16 @@ type TreeViewOverrides struct { // // - path to be activated. // - column to be activated. - // RowActivated func(path *TreePath, column *TreeViewColumn) // The function takes the following parameters: // // - iter // - path - // RowCollapsed func(iter *TreeIter, path *TreePath) // The function takes the following parameters: // // - iter // - path - // RowExpanded func(iter *TreeIter, path *TreePath) SelectAll func() bool SelectCursorParent func() bool @@ -128311,13 +128157,11 @@ type TreeViewOverrides struct { // // - iter // - path - // TestCollapseRow func(iter *TreeIter, path *TreePath) bool // The function takes the following parameters: // // - iter // - path - // TestExpandRow func(iter *TreeIter, path *TreePath) bool ToggleCursorRow func() bool UnselectAll func() bool @@ -133052,13 +132896,11 @@ type UIManagerOverrides struct { // // - action // - proxy - // ConnectProxy func(action *Action, proxy Widgetter) // The function takes the following parameters: // // - action // - proxy - // DisconnectProxy func(action *Action, proxy Widgetter) // Action looks up an action by following a path. See // gtk_ui_manager_get_widget() for more information about paths. @@ -133073,7 +132915,6 @@ type UIManagerOverrides struct { // // - action whose proxy widget is found by following the path, or NULL if // no widget was found. - // Action func(path string) *Action // Widget looks up a widget by following a path. The path consists of the // names specified in the XML description of the UI. separated by “/”. @@ -133099,7 +132940,6 @@ type UIManagerOverrides struct { // The function returns the following values: // // - widget found by following the path, or NULL if no widget was found. - // Widget func(path string) Widgetter PostActivate func(action *Action) PreActivate func(action *Action) @@ -135284,7 +135124,6 @@ type WidgetOverrides struct { // // - minimumBaseline // - naturalBaseline - // AdjustBaselineRequest func(minimumBaseline, naturalBaseline *int) // The function takes the following parameters: // @@ -135293,14 +135132,12 @@ type WidgetOverrides struct { // - naturalSize // - allocatedPos // - allocatedSize - // AdjustSizeAllocation func(orientation Orientation, minimumSize, naturalSize, allocatedPos, allocatedSize *int) // The function takes the following parameters: // // - orientation // - minimumSize // - naturalSize - // AdjustSizeRequest func(orientation Orientation, minimumSize, naturalSize *int) ButtonPressEvent func(event *gdk.EventButton) bool ButtonReleaseEvent func(event *gdk.EventButton) bool @@ -135318,7 +135155,6 @@ type WidgetOverrides struct { // The function returns the following values: // // - ok: TRUE if the accelerator can be activated. - // CanActivateAccel func(signalId uint) bool CompositedChanged func() ConfigureEvent func(event *gdk.EventConfigure) bool @@ -135366,7 +135202,6 @@ type WidgetOverrides struct { // - selectionData // - info // - time_ - // DragDataGet func(context *gdk.DragContext, selectionData *SelectionData, info, time_ uint) // The function takes the following parameters: // @@ -135376,7 +135211,6 @@ type WidgetOverrides struct { // - selectionData // - info // - time_ - // DragDataReceived func(context *gdk.DragContext, x, y int, selectionData *SelectionData, info, time_ uint) // The function takes the following parameters: // @@ -135384,20 +135218,17 @@ type WidgetOverrides struct { // - x // - y // - time_ - // DragDrop func(context *gdk.DragContext, x, y int, time_ uint) bool DragEnd func(context *gdk.DragContext) // The function takes the following parameters: // // - context // - result - // DragFailed func(context *gdk.DragContext, result DragResult) bool // The function takes the following parameters: // // - context // - time_ - // DragLeave func(context *gdk.DragContext, time_ uint) // The function takes the following parameters: // @@ -135405,7 +135236,6 @@ type WidgetOverrides struct { // - x // - y // - time_ - // DragMotion func(context *gdk.DragContext, x, y int, time_ uint) bool Draw func(cr *cairo.Context) bool EnterNotifyEvent func(event *gdk.EventCrossing) bool @@ -135425,7 +135255,6 @@ type WidgetOverrides struct { // // - ok: return from the event signal emission (TRUE if the event was // handled). - // Event func(event *gdk.Event) bool Focus func(direction DirectionType) bool FocusInEvent func(event *gdk.EventFocus) bool @@ -135446,7 +135275,6 @@ type WidgetOverrides struct { // The function returns the following values: // // - object associated with widget. - // Accessible func() *atk.AtkObject // PreferredHeight retrieves a widget’s initial minimum and natural height. // @@ -135464,7 +135292,6 @@ type WidgetOverrides struct { // or NULL. // - naturalHeight (optional): location to store the natural height, // or NULL. - // PreferredHeight func() (minimumHeight, naturalHeight int) // PreferredHeightAndBaselineForWidth retrieves a widget’s minimum and // natural height and the corresponding baselines if it would be given the @@ -135492,7 +135319,6 @@ type WidgetOverrides struct { // minimum height, or NULL. // - naturalBaseline (optional): location for storing the baseline for the // natural height, or NULL. - // PreferredHeightAndBaselineForWidth func(width int) (minimumHeight, naturalHeight, minimumBaseline, naturalBaseline int) // PreferredHeightForWidth retrieves a widget’s minimum and natural height // if it would be given the specified width. @@ -135513,7 +135339,6 @@ type WidgetOverrides struct { // or NULL. // - naturalHeight (optional): location for storing the natural height, // or NULL. - // PreferredHeightForWidth func(width int) (minimumHeight, naturalHeight int) // PreferredWidth retrieves a widget’s initial minimum and natural width. // @@ -135531,7 +135356,6 @@ type WidgetOverrides struct { // or NULL. // - naturalWidth (optional): location to store the natural width, // or NULL. - // PreferredWidth func() (minimumWidth, naturalWidth int) // PreferredWidthForHeight retrieves a widget’s minimum and natural width if // it would be given the specified height. @@ -135552,7 +135376,6 @@ type WidgetOverrides struct { // or NULL. // - naturalWidth (optional): location for storing the natural width, // or NULL. - // PreferredWidthForHeight func(height int) (minimumWidth, naturalWidth int) // RequestMode gets whether the widget prefers a height-for-width layout or // a width-for-height layout. @@ -135564,7 +135387,6 @@ type WidgetOverrides struct { // The function returns the following values: // // - sizeRequestMode preferred by widget. - // RequestMode func() SizeRequestMode GrabBrokenEvent func(event *gdk.EventGrabBroken) bool // GrabFocus causes widget to have the keyboard focus for the Window it's @@ -135621,7 +135443,6 @@ type WidgetOverrides struct { // - ok: TRUE if stopping keyboard navigation is fine, FALSE if the // emitting widget should try to handle the keyboard navigation attempt // in its parent container(s). - // KeynavFailed func(direction DirectionType) bool LeaveNotifyEvent func(event *gdk.EventCrossing) bool // Map: this function is only for use in widget implementations. Causes a @@ -135637,7 +135458,6 @@ type WidgetOverrides struct { // The function returns the following values: // // - ok: TRUE if the signal has been handled. - // MnemonicActivate func(groupCycling bool) bool MotionNotifyEvent func(event *gdk.EventMotion) bool MoveFocus func(direction DirectionType) @@ -135652,7 +135472,6 @@ type WidgetOverrides struct { // - y // - keyboardTooltip // - tooltip - // QueryTooltip func(x, y int, keyboardTooltip bool, tooltip *Tooltip) bool // QueueDrawRegion invalidates the area of widget defined by region by // calling gdk_window_invalidate_region() on the widget’s window and all its @@ -135667,7 +135486,6 @@ type WidgetOverrides struct { // The function takes the following parameters: // // - region to draw. - // QueueDrawRegion func(region *cairo.Region) // Realize creates the GDK (windowing system) resources associated with // a widget. For example, widget->window will be created when a widget is @@ -135694,14 +135512,12 @@ type WidgetOverrides struct { // - selectionData // - info // - time_ - // SelectionGet func(selectionData *SelectionData, info, time_ uint) SelectionNotifyEvent func(event *gdk.EventSelection) bool // The function takes the following parameters: // // - selectionData // - time_ - // SelectionReceived func(selectionData *SelectionData, time_ uint) SelectionRequestEvent func(event *gdk.EventSelection) bool // Show flags a widget to be displayed. Any widget that isn’t shown will not @@ -135735,7 +135551,6 @@ type WidgetOverrides struct { // The function takes the following parameters: // // - allocation: position and size to be allocated to widget. - // SizeAllocate func(allocation *Allocation) StateChanged func(previousState StateType) StateFlagsChanged func(previousStateFlags StateFlags) @@ -146263,7 +146078,6 @@ type WindowOverrides struct { // // - focus (optional): widget to be the new focus widget, or NULL to unset // any focus widget for the toplevel window. - // SetFocus func(focus Widgetter) } diff --git a/pkg/gtk/v4/gtk.go b/pkg/gtk/v4/gtk.go index cb42e161f..278047b4e 100644 --- a/pkg/gtk/v4/gtk.go +++ b/pkg/gtk/v4/gtk.go @@ -2616,7 +2616,6 @@ func (a AccessibleProperty) String() string { // // - property // - value -// func AccessiblePropertyInitValue(property AccessibleProperty, value *coreglib.Value) { var _arg1 C.GtkAccessibleProperty // out var _arg2 *C.GValue // out @@ -2752,7 +2751,6 @@ func (a AccessibleRelation) String() string { // // - relation // - value -// func AccessibleRelationInitValue(relation AccessibleRelation, value *coreglib.Value) { var _arg1 C.GtkAccessibleRelation // out var _arg2 *C.GValue // out @@ -3223,7 +3221,6 @@ func (a AccessibleState) String() string { // // - state // - value -// func AccessibleStateInitValue(state AccessibleState, value *coreglib.Value) { var _arg1 C.GtkAccessibleState // out var _arg2 *C.GValue // out @@ -4310,7 +4307,6 @@ func (f FileChooserError) String() string { // The function returns the following values: // // - quark: error quark used for GtkFileChooser errors. -// func FileChooserErrorQuark() glib.Quark { var _cret C.GQuark // in @@ -5015,7 +5011,6 @@ func (o Ordering) String() string { // The function returns the following values: // // - ordering: corresponding GtkOrdering. -// func OrderingFromCmpfunc(cmpfuncResult int) Ordering { var _arg1 C.int // out var _cret C.GtkOrdering // in @@ -5395,7 +5390,6 @@ func (p PrintError) String() string { // The function returns the following values: // // - quark: error quark used for GtkPrintOperation errors. -// func PrintErrorQuark() glib.Quark { var _cret C.GQuark // in @@ -8232,7 +8226,6 @@ type TreeViewSearchEqualFunc func(model TreeModeller, column int, key string, it // The function returns the following values: // // - modifierType: modifier mask for accelerators. -// func AcceleratorGetDefaultModMask() gdk.ModifierType { var _cret C.GdkModifierType // in @@ -8256,7 +8249,6 @@ func AcceleratorGetDefaultModMask() gdk.ModifierType { // The function returns the following values: // // - utf8: newly-allocated string representing the accelerator. -// func AcceleratorGetLabel(acceleratorKey uint, acceleratorMods gdk.ModifierType) string { var _arg1 C.guint // out var _arg2 C.GdkModifierType // out @@ -8297,7 +8289,6 @@ func AcceleratorGetLabel(acceleratorKey uint, acceleratorMods gdk.ModifierType) // The function returns the following values: // // - utf8: newly-allocated string representing the accelerator. -// func AcceleratorGetLabelWithKeycode(display *gdk.Display, acceleratorKey, keycode uint, acceleratorMods gdk.ModifierType) string { var _arg1 *C.GdkDisplay // out var _arg2 C.guint // out @@ -8343,7 +8334,6 @@ func AcceleratorGetLabelWithKeycode(display *gdk.Display, acceleratorKey, keycod // The function returns the following values: // // - utf8: newly-allocated accelerator name. -// func AcceleratorName(acceleratorKey uint, acceleratorMods gdk.ModifierType) string { var _arg1 C.guint // out var _arg2 C.GdkModifierType // out @@ -8381,7 +8371,6 @@ func AcceleratorName(acceleratorKey uint, acceleratorMods gdk.ModifierType) stri // The function returns the following values: // // - utf8: newly allocated accelerator name. -// func AcceleratorNameWithKeycode(display *gdk.Display, acceleratorKey, keycode uint, acceleratorMods gdk.ModifierType) string { var _arg1 *C.GdkDisplay // out var _arg2 C.guint // out @@ -8433,7 +8422,6 @@ func AcceleratorNameWithKeycode(display *gdk.Display, acceleratorKey, keycode ui // - acceleratorMods (optional): return location for accelerator modifier // mask, NULL. // - ok -// func AcceleratorParse(accelerator string) (uint, gdk.ModifierType, bool) { var _arg1 *C.char // out var _arg2 C.guint // in @@ -8488,7 +8476,6 @@ func AcceleratorParse(accelerator string) (uint, gdk.ModifierType, bool) { // - acceleratorMods (optional): return location for accelerator modifier // mask, NULL. // - ok: TRUE if parsing succeeded. -// func AcceleratorParseWithKeycode(accelerator string, display *gdk.Display) (uint, []uint, gdk.ModifierType, bool) { var _arg1 *C.char // out var _arg2 *C.GdkDisplay // out @@ -8552,7 +8539,6 @@ func AcceleratorParseWithKeycode(accelerator string, display *gdk.Display) (uint // The function returns the following values: // // - ok: TRUE if the accelerator is valid. -// func AcceleratorValid(keyval uint, modifiers gdk.ModifierType) bool { var _arg1 C.guint // out var _arg2 C.GdkModifierType // out @@ -8606,7 +8592,6 @@ func AcceleratorValid(keyval uint, modifiers gdk.ModifierType) bool { // - utf8 (optional): NULL if the GTK library is compatible with the given // version, or a string describing the version mismatch. The returned string // is owned by GTK and should not be modified or freed. -// func CheckVersion(requiredMajor, requiredMinor, requiredMicro uint) string { var _arg1 C.guint // out var _arg2 C.guint // out @@ -8688,7 +8673,6 @@ func DisableSetlocale() { // The function returns the following values: // // - gint: remainder of extra_space after redistributing space to sizes. -// func DistributeNaturalAllocation(extraSpace int, sizes []RequestedSize) int { var _arg1 C.int // out var _arg3 *C.GtkRequestedSize // out @@ -8724,7 +8708,6 @@ func DistributeNaturalAllocation(extraSpace int, sizes []RequestedSize) int { // The function returns the following values: // // - guint: binary age of the GTK library. -// func GetBinaryAge() uint { var _cret C.guint // in @@ -8745,7 +8728,6 @@ func GetBinaryAge() uint { // The function returns the following values: // // - debugFlags: GTK debug flags. -// func GetDebugFlags() DebugFlags { var _cret C.GtkDebugFlags // in @@ -8769,7 +8751,6 @@ func GetDebugFlags() DebugFlags { // The function returns the following values: // // - language: default language as a Language, must not be freed. -// func GetDefaultLanguage() *pango.Language { var _cret *C.PangoLanguage // in @@ -8789,7 +8770,6 @@ func GetDefaultLanguage() *pango.Language { // The function returns the following values: // // - guint: interface age of the GTK library. -// func GetInterfaceAge() uint { var _cret C.guint // in @@ -8817,14 +8797,13 @@ func GetInterfaceAge() uint { // GTK has already been initialized. In this case, you can use it to update the // default text direction as follows: // -// setlocale (LC_ALL, new_locale); -// direction = gtk_get_locale_direction (); -// gtk_widget_set_default_direction (direction);. +// setlocale (LC_ALL, new_locale); +// direction = gtk_get_locale_direction (); +// gtk_widget_set_default_direction (direction);. // // The function returns the following values: // // - textDirection of the current locale. -// func GetLocaleDirection() TextDirection { var _cret C.GtkTextDirection // in @@ -8849,7 +8828,6 @@ func GetLocaleDirection() TextDirection { // The function returns the following values: // // - guint: major version number of the GTK library. -// func GetMajorVersion() uint { var _cret C.guint // in @@ -8874,7 +8852,6 @@ func GetMajorVersion() uint { // The function returns the following values: // // - guint: micro version number of the GTK library. -// func GetMicroVersion() uint { var _cret C.guint // in @@ -8899,7 +8876,6 @@ func GetMicroVersion() uint { // The function returns the following values: // // - guint: minor version number of the GTK library. -// func GetMinorVersion() uint { var _cret C.guint // in @@ -8928,7 +8904,6 @@ func GetMinorVersion() uint { // - r: return value for the red component. // - g: return value for the green component. // - b: return value for the blue component. -// func HSVToRGB(h, s, v float32) (r, g, b float32) { var _arg1 C.float // out var _arg2 C.float // out @@ -8988,7 +8963,6 @@ func Init() { // // - ok: TRUE if the windowing system has been successfully initialized, // FALSE otherwise. -// func InitCheck() bool { var _cret C.gboolean // in @@ -9009,7 +8983,6 @@ func InitCheck() bool { // The function returns the following values: // // - ok: initialization status. -// func IsInitialized() bool { var _cret C.gboolean // in @@ -9041,7 +9014,6 @@ func IsInitialized() bool { // The function returns the following values: // // - pageSetup: new PageSetup. -// func PrintRunPageSetupDialog(parent *Window, pageSetup *PageSetup, settings *PrintSettings) *PageSetup { var _arg1 *C.GtkWindow // out var _arg2 *C.GtkPageSetup // out @@ -9081,7 +9053,6 @@ func PrintRunPageSetupDialog(parent *Window, pageSetup *PageSetup, settings *Pri // - pageSetup (optional): existing PageSetup, or NULL. // - settings: PrintSettings. // - doneCb: function to call when the user saves the modified page setup. -// func PrintRunPageSetupDialogAsync(parent *Window, pageSetup *PageSetup, settings *PrintSettings, doneCb PageSetupDoneFunc) { var _arg1 *C.GtkWindow // out var _arg2 *C.GtkPageSetup // out @@ -9117,7 +9088,6 @@ func PrintRunPageSetupDialogAsync(parent *Window, pageSetup *PageSetup, settings // - y: y origin of the rectangle. // - width: rectangle width. // - height: rectangle height. -// func RenderActivity(context *StyleContext, cr *cairo.Context, x, y, width, height float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9157,7 +9127,6 @@ func RenderActivity(context *StyleContext, cr *cairo.Context, x, y, width, heigh // - x: x origin of the render area. // - y: y origin of the render area. // - size: square side for render area. -// func RenderArrow(context *StyleContext, cr *cairo.Context, angle, x, y, size float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9197,7 +9166,6 @@ func RenderArrow(context *StyleContext, cr *cairo.Context, angle, x, y, size flo // - y: y origin of the rectangle. // - width: rectangle width. // - height: rectangle height. -// func RenderBackground(context *StyleContext, cr *cairo.Context, x, y, width, height float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9240,7 +9208,6 @@ func RenderBackground(context *StyleContext, cr *cairo.Context, x, y, width, hei // - y: y origin of the rectangle. // - width: rectangle width. // - height: rectangle height. -// func RenderCheck(context *StyleContext, cr *cairo.Context, x, y, width, height float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9281,7 +9248,6 @@ func RenderCheck(context *StyleContext, cr *cairo.Context, x, y, width, height f // - y: y origin of the rectangle. // - width: rectangle width. // - height: rectangle height. -// func RenderExpander(context *StyleContext, cr *cairo.Context, x, y, width, height float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9321,7 +9287,6 @@ func RenderExpander(context *StyleContext, cr *cairo.Context, x, y, width, heigh // - y: y origin of the rectangle. // - width: rectangle width. // - height: rectangle height. -// func RenderFocus(context *StyleContext, cr *cairo.Context, x, y, width, height float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9362,7 +9327,6 @@ func RenderFocus(context *StyleContext, cr *cairo.Context, x, y, width, height f // - y: y origin of the rectangle. // - width: rectangle width. // - height: rectangle height. -// func RenderFrame(context *StyleContext, cr *cairo.Context, x, y, width, height float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9402,7 +9366,6 @@ func RenderFrame(context *StyleContext, cr *cairo.Context, x, y, width, height f // - y: y origin of the rectangle. // - width: rectangle width. // - height: rectangle height. -// func RenderHandle(context *StyleContext, cr *cairo.Context, x, y, width, height float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9440,7 +9403,6 @@ func RenderHandle(context *StyleContext, cr *cairo.Context, x, y, width, height // - texture containing the icon to draw. // - x: x position for the texture. // - y: y position for the texture. -// func RenderIcon(context *StyleContext, cr *cairo.Context, texture gdk.Texturer, x, y float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9471,7 +9433,6 @@ func RenderIcon(context *StyleContext, cr *cairo.Context, texture gdk.Texturer, // - x: x origin. // - y: y origin. // - layout to render. -// func RenderLayout(context *StyleContext, cr *cairo.Context, x, y float64, layout *pango.Layout) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9503,7 +9464,6 @@ func RenderLayout(context *StyleContext, cr *cairo.Context, x, y float64, layout // - y0: y coordinate for the origin of the line. // - x1: x coordinate for the end of the line. // - y1: y coordinate for the end of the line. -// func RenderLine(context *StyleContext, cr *cairo.Context, x0, y0, x1, y1 float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9544,7 +9504,6 @@ func RenderLine(context *StyleContext, cr *cairo.Context, x0, y0, x1, y1 float64 // - y: y origin of the rectangle. // - width: rectangle width. // - height: rectangle height. -// func RenderOption(context *StyleContext, cr *cairo.Context, x, y, width, height float64) { var _arg1 *C.GtkStyleContext // out var _arg2 *C.cairo_t // out @@ -9585,7 +9544,6 @@ func RenderOption(context *StyleContext, cr *cairo.Context, x, y, width, height // - h: return value for the hue component. // - s: return value for the saturation component. // - v: return value for the value component. -// func RGBToHSV(r, g, b float32) (h, s, v float32) { var _arg1 C.float // out var _arg2 C.float // out @@ -9619,7 +9577,6 @@ func RGBToHSV(r, g, b float32) (h, s, v float32) { // The function takes the following parameters: // // - flags: debug flags to set. -// func SetDebugFlags(flags DebugFlags) { var _arg1 C.GtkDebugFlags // out @@ -9637,7 +9594,6 @@ func SetDebugFlags(flags DebugFlags) { // - parent (optional) window. // - uri to show. // - timestamp from the event that triggered this call, or GDK_CURRENT_TIME. -// func ShowURI(parent *Window, uri string, timestamp uint32) { var _arg1 *C.GtkWindow // out var _arg2 *C.char // out @@ -9672,7 +9628,6 @@ func ShowURI(parent *Window, uri string, timestamp uint32) { // - uri to show. // - timestamp from the event that triggered this call, or GDK_CURRENT_TIME. // - callback (optional) to call when the action is complete. -// func ShowURIFull(ctx context.Context, parent *Window, uri string, timestamp uint32, callback gio.AsyncReadyCallback) { var _arg4 *C.GCancellable // out var _arg1 *C.GtkWindow // out @@ -9712,7 +9667,6 @@ func ShowURIFull(ctx context.Context, parent *Window, uri string, timestamp uint // // - parent passed to gtk_show_uri(). // - result that was passed to callback. -// func ShowURIFullFinish(parent *Window, result gio.AsyncResulter) error { var _arg1 *C.GtkWindow // out var _arg2 *C.GAsyncResult // out @@ -9744,7 +9698,6 @@ func ShowURIFullFinish(parent *Window, result gio.AsyncResulter) error { // - accessible // - expectedRole // - actualRole -// func TestAccessibleAssertionMessageRole(domain, file string, line int, fn, expr string, accessible Accessibler, expectedRole, actualRole AccessibleRole) { var _arg1 *C.char // out var _arg2 *C.char // out @@ -9789,7 +9742,6 @@ func TestAccessibleAssertionMessageRole(domain, file string, line int, fn, expr // The function returns the following values: // // - ok: TRUE if the property is set in the accessible. -// func TestAccessibleHasProperty(accessible Accessibler, property AccessibleProperty) bool { var _arg1 *C.GtkAccessible // out var _arg2 C.GtkAccessibleProperty // out @@ -9821,7 +9773,6 @@ func TestAccessibleHasProperty(accessible Accessibler, property AccessibleProper // The function returns the following values: // // - ok: TRUE if the relation is set in the accessible. -// func TestAccessibleHasRelation(accessible Accessibler, relation AccessibleRelation) bool { var _arg1 *C.GtkAccessible // out var _arg2 C.GtkAccessibleRelation // out @@ -9854,7 +9805,6 @@ func TestAccessibleHasRelation(accessible Accessibler, relation AccessibleRelati // The function returns the following values: // // - ok: TRUE if the role matches. -// func TestAccessibleHasRole(accessible Accessibler, role AccessibleRole) bool { var _arg1 *C.GtkAccessible // out var _arg2 C.GtkAccessibleRole // out @@ -9886,7 +9836,6 @@ func TestAccessibleHasRole(accessible Accessibler, role AccessibleRole) bool { // The function returns the following values: // // - ok: TRUE if the state is set in the accessible. -// func TestAccessibleHasState(accessible Accessibler, state AccessibleState) bool { var _arg1 *C.GtkAccessible // out var _arg2 C.GtkAccessibleState // out @@ -9914,7 +9863,6 @@ func TestAccessibleHasState(accessible Accessibler, state AccessibleState) bool // The function returns the following values: // // - gTypes: 0-terminated array of type ids. -// func TestListAllTypes() []coreglib.Type { var _cret *C.GType // in var _arg1 C.guint // in @@ -9954,7 +9902,6 @@ func TestRegisterAllTypes() { // The function takes the following parameters: // // - widget to wait for. -// func TestWidgetWaitForDraw(widget Widgetter) { var _arg1 *C.GtkWidget // out @@ -9975,7 +9922,6 @@ func TestWidgetWaitForDraw(widget Widgetter) { // The function returns the following values: // // - contentProvider: new ContentProvider. -// func TreeCreateRowDragContent(treeModel TreeModeller, path *TreePath) *gdk.ContentProvider { var _arg1 *C.GtkTreeModel // out var _arg2 *C.GtkTreePath // out @@ -10015,7 +9961,6 @@ func TreeCreateRowDragContent(treeModel TreeModeller, path *TreePath) *gdk.Conte // - path (optional): row in tree_model. // - ok: TRUE if selection_data had target type GTK_TYPE_TREE_ROW_DATA is // otherwise valid. -// func TreeGetRowDragData(value *coreglib.Value) (*TreeModel, *TreePath, bool) { var _arg1 *C.GValue // out var _arg2 *C.GtkTreeModel // in @@ -10060,7 +10005,6 @@ func TreeGetRowDragData(value *coreglib.Value) (*TreeModel, *TreePath, bool) { // The function returns the following values: // // - expression (optional): GtkExpression. -// func ValueDupExpression(value *coreglib.Value) Expressioner { var _arg1 *C.GValue // out var _cret *C.GtkExpression // in @@ -10101,7 +10045,6 @@ func ValueDupExpression(value *coreglib.Value) Expressioner { // The function returns the following values: // // - expression (optional): GtkExpression. -// func ValueGetExpression(value *coreglib.Value) Expressioner { var _arg1 *C.GValue // out var _cret *C.GtkExpression // in @@ -10141,7 +10084,6 @@ func ValueGetExpression(value *coreglib.Value) Expressioner { // // - value: GValue initialized with type GTK_TYPE_EXPRESSION. // - expression: GtkExpression. -// func ValueSetExpression(value *coreglib.Value, expression Expressioner) { var _arg1 *C.GValue // out var _arg2 *C.GtkExpression // out @@ -10162,7 +10104,6 @@ func ValueSetExpression(value *coreglib.Value, expression Expressioner) { // // - value: GValue initialized with type GTK_TYPE_EXPRESSION. // - expression (optional): GtkExpression. -// func ValueTakeExpression(value *coreglib.Value, expression Expressioner) { var _arg1 *C.GValue // out var _arg2 *C.GtkExpression // out @@ -10244,7 +10185,6 @@ func marshalAccessible(p uintptr) (interface{}, error) { // The function returns the following values: // // - accessibleRole: GtkAccessibleRole. -// func (self *Accessible) AccessibleRole() AccessibleRole { var _arg0 *C.GtkAccessible // out var _cret C.GtkAccessibleRole // in @@ -10266,7 +10206,6 @@ func (self *Accessible) AccessibleRole() AccessibleRole { // The function takes the following parameters: // // - property: GtkAccessibleProperty. -// func (self *Accessible) ResetProperty(property AccessibleProperty) { var _arg0 *C.GtkAccessible // out var _arg1 C.GtkAccessibleProperty // out @@ -10284,7 +10223,6 @@ func (self *Accessible) ResetProperty(property AccessibleProperty) { // The function takes the following parameters: // // - relation: GtkAccessibleRelation. -// func (self *Accessible) ResetRelation(relation AccessibleRelation) { var _arg0 *C.GtkAccessible // out var _arg1 C.GtkAccessibleRelation // out @@ -10302,7 +10240,6 @@ func (self *Accessible) ResetRelation(relation AccessibleRelation) { // The function takes the following parameters: // // - state: GtkAccessibleState. -// func (self *Accessible) ResetState(state AccessibleState) { var _arg0 *C.GtkAccessible // out var _arg1 C.GtkAccessibleState // out @@ -10326,7 +10263,6 @@ func (self *Accessible) ResetState(state AccessibleState) { // // - properties: array of GtkAccessibleProperty. // - values: array of GValues, one for each property. -// func (self *Accessible) UpdateProperty(properties []AccessibleProperty, values []coreglib.Value) { var _arg0 *C.GtkAccessible // out var _arg2 *C.GtkAccessibleProperty // out @@ -10365,7 +10301,6 @@ func (self *Accessible) UpdateProperty(properties []AccessibleProperty, values [ // // - relations: array of GtkAccessibleRelation. // - values: array of GValues, one for each relation. -// func (self *Accessible) UpdateRelation(relations []AccessibleRelation, values []coreglib.Value) { var _arg0 *C.GtkAccessible // out var _arg2 *C.GtkAccessibleRelation // out @@ -10404,7 +10339,6 @@ func (self *Accessible) UpdateRelation(relations []AccessibleRelation, values [] // // - states: array of GtkAccessibleState. // - values: array of GValues, one for each state. -// func (self *Accessible) UpdateState(states []AccessibleState, values []coreglib.Value) { var _arg0 *C.GtkAccessible // out var _arg2 *C.GtkAccessibleState // out @@ -10505,7 +10439,6 @@ func marshalActionable(p uintptr) (interface{}, error) { // The function returns the following values: // // - utf8 (optional): action name, or NULL if none is set. -// func (actionable *Actionable) ActionName() string { var _arg0 *C.GtkActionable // out var _cret *C.char // in @@ -10529,7 +10462,6 @@ func (actionable *Actionable) ActionName() string { // The function returns the following values: // // - variant (optional): current target value. -// func (actionable *Actionable) ActionTargetValue() *glib.Variant { var _arg0 *C.GtkActionable // out var _cret *C.GVariant // in @@ -10571,7 +10503,6 @@ func (actionable *Actionable) ActionTargetValue() *glib.Variant { // The function takes the following parameters: // // - actionName (optional): action name, or NULL. -// func (actionable *Actionable) SetActionName(actionName string) { var _arg0 *C.GtkActionable // out var _arg1 *C.char // out @@ -10608,7 +10539,6 @@ func (actionable *Actionable) SetActionName(actionName string) { // The function takes the following parameters: // // - targetValue (optional) to set as the target value, or NULL. -// func (actionable *Actionable) SetActionTargetValue(targetValue *glib.Variant) { var _arg0 *C.GtkActionable // out var _arg1 *C.GVariant // out @@ -10632,7 +10562,6 @@ func (actionable *Actionable) SetActionTargetValue(targetValue *glib.Variant) { // The function takes the following parameters: // // - detailedActionName: detailed action name. -// func (actionable *Actionable) SetDetailedActionName(detailedActionName string) { var _arg0 *C.GtkActionable // out var _arg1 *C.char // out @@ -10651,7 +10580,6 @@ func (actionable *Actionable) SetDetailedActionName(detailedActionName string) { // The function returns the following values: // // - utf8 (optional): action name, or NULL if none is set. -// func (actionable *Actionable) actionName() string { gclass := (*C.GtkActionableInterface)(coreglib.PeekParentClass(actionable)) fnarg := gclass.get_action_name @@ -10678,7 +10606,6 @@ func (actionable *Actionable) actionName() string { // The function returns the following values: // // - variant (optional): current target value. -// func (actionable *Actionable) actionTargetValue() *glib.Variant { gclass := (*C.GtkActionableInterface)(coreglib.PeekParentClass(actionable)) fnarg := gclass.get_action_target_value @@ -10723,7 +10650,6 @@ func (actionable *Actionable) actionTargetValue() *glib.Variant { // The function takes the following parameters: // // - actionName (optional): action name, or NULL. -// func (actionable *Actionable) setActionName(actionName string) { gclass := (*C.GtkActionableInterface)(coreglib.PeekParentClass(actionable)) fnarg := gclass.set_action_name @@ -10763,7 +10689,6 @@ func (actionable *Actionable) setActionName(actionName string) { // The function takes the following parameters: // // - targetValue (optional) to set as the target value, or NULL. -// func (actionable *Actionable) setActionTargetValue(targetValue *glib.Variant) { gclass := (*C.GtkActionableInterface)(coreglib.PeekParentClass(actionable)) fnarg := gclass.set_action_target_value @@ -10855,7 +10780,6 @@ func marshalAppChooser(p uintptr) (interface{}, error) { // // - appInfo (optional): GAppInfo for the currently selected application, // or NULL if none is selected. Free with g_object_unref(). -// func (self *AppChooser) AppInfo() *gio.AppInfo { var _arg0 *C.GtkAppChooser // out var _cret *C.GAppInfo // in @@ -10885,7 +10809,6 @@ func (self *AppChooser) AppInfo() *gio.AppInfo { // The function returns the following values: // // - utf8: content type of self. Free with g_free(). -// func (self *AppChooser) ContentType() string { var _arg0 *C.GtkAppChooser // out var _cret *C.char // in @@ -10966,7 +10889,6 @@ func marshalBuildable(p uintptr) (interface{}, error) { // The function returns the following values: // // - utf8: ID of the buildable object. -// func (buildable *Buildable) BuildableID() string { var _arg0 *C.GtkBuildable // out var _cret *C.char // in @@ -10991,7 +10913,6 @@ func (buildable *Buildable) BuildableID() string { // - builder: Builder. // - child to add. // - typ (optional): kind of child or NULL. -// func (buildable *Buildable) addChild(builder *Builder, child *coreglib.Object, typ string) { gclass := (*C.GtkBuildableIface)(coreglib.PeekParentClass(buildable)) fnarg := gclass.add_child @@ -11025,7 +10946,6 @@ func (buildable *Buildable) addChild(builder *Builder, child *coreglib.Object, t // - child (optional) object or NULL for non-child tags. // - tagname: name of the tag. // - data (optional): user data created in custom_tag_start. -// func (buildable *Buildable) customFinished(builder *Builder, child *coreglib.Object, tagname string, data unsafe.Pointer) { gclass := (*C.GtkBuildableIface)(coreglib.PeekParentClass(buildable)) fnarg := gclass.custom_finished @@ -11062,7 +10982,6 @@ func (buildable *Buildable) customFinished(builder *Builder, child *coreglib.Obj // - child (optional) object or NULL for non-child tags. // - tagname: name of tag. // - data (optional): user data that will be passed in to parser functions. -// func (buildable *Buildable) customTagEnd(builder *Builder, child *coreglib.Object, tagname string, data unsafe.Pointer) { gclass := (*C.GtkBuildableIface)(coreglib.PeekParentClass(buildable)) fnarg := gclass.custom_tag_end @@ -11104,7 +11023,6 @@ func (buildable *Buildable) customTagEnd(builder *Builder, child *coreglib.Objec // - data (optional): return location for user data that will be passed in to // parser functions. // - ok: TRUE if an object has a custom implementation, FALSE if it doesn't. -// func (buildable *Buildable) customTagStart(builder *Builder, child *coreglib.Object, tagname string) (*BuildableParser, unsafe.Pointer, bool) { gclass := (*C.GtkBuildableIface)(coreglib.PeekParentClass(buildable)) fnarg := gclass.custom_tag_start @@ -11174,7 +11092,6 @@ func (buildable *Buildable) iD() string { // The function returns the following values: // // - object: internal child of the buildable object. -// func (buildable *Buildable) internalChild(builder *Builder, childname string) *coreglib.Object { gclass := (*C.GtkBuildableIface)(coreglib.PeekParentClass(buildable)) fnarg := gclass.get_internal_child @@ -11221,7 +11138,6 @@ func (buildable *Buildable) parserFinished(builder *Builder) { // - builder // - name // - value -// func (buildable *Buildable) setBuildableProperty(builder *Builder, name string, value *coreglib.Value) { gclass := (*C.GtkBuildableIface)(coreglib.PeekParentClass(buildable)) fnarg := gclass.set_buildable_property @@ -11318,7 +11234,6 @@ func BaseBuilderScope(obj BuilderScoper) *BuilderScope { // // - builder // - functionName -// func (self *BuilderScope) typeFromFunction(builder *Builder, functionName string) coreglib.Type { gclass := (*C.GtkBuilderScopeInterface)(coreglib.PeekParentClass(self)) fnarg := gclass.get_type_from_function @@ -11349,7 +11264,6 @@ func (self *BuilderScope) typeFromFunction(builder *Builder, functionName string // // - builder // - typeName -// func (self *BuilderScope) typeFromName(builder *Builder, typeName string) coreglib.Type { gclass := (*C.GtkBuilderScopeInterface)(coreglib.PeekParentClass(self)) fnarg := gclass.get_type_from_name @@ -11504,7 +11418,6 @@ func (cellEditable *CellEditable) RemoveWidget() { // // - event (optional) that began the editing process, or NULL if editing was // initiated programmatically. -// func (cellEditable *CellEditable) StartEditing(event gdk.Eventer) { var _arg0 *C.GtkCellEditable // out var _arg1 *C.GdkEvent // out @@ -11560,7 +11473,6 @@ func (cellEditable *CellEditable) removeWidget() { // // - event (optional) that began the editing process, or NULL if editing was // initiated programmatically. -// func (cellEditable *CellEditable) startEditing(event gdk.Eventer) { gclass := (*C.GtkCellEditableIface)(coreglib.PeekParentClass(cellEditable)) fnarg := gclass.start_editing @@ -11606,14 +11518,14 @@ func (cellEditable *CellEditable) startEditing(event gdk.Eventer) { // // This is an example of a UI definition fragment specifying attributes: // -// -// -// -// -// 0 -// -// " -// +// +// +// +// +// 0 +// +// " +// // // Furthermore for implementations of GtkCellLayout that use a CellArea // to lay out cells (all GtkCellLayouts in GTK use a GtkCellArea) [cell @@ -11623,15 +11535,15 @@ func (cellEditable *CellEditable) startEditing(event gdk.Eventer) { // // Here is a UI definition fragment specifying cell properties: // -// -// -// -// -// True -// False -// -// " -// +// +// +// +// +// True +// False +// +// " +// // // # Subclassing GtkCellLayout implementations // @@ -11641,24 +11553,24 @@ func (cellEditable *CellEditable) startEditing(event gdk.Eventer) { // construct-only property by these widgets. This means that it is possible to // e.g. do // -// static void -// my_combo_box_init (MyComboBox *b) -// { -// GtkCellRenderer *cell; -// -// cell = gtk_cell_renderer_pixbuf_new (); -// // The following call causes the default cell area for combo boxes, -// // a GtkCellAreaBox, to be instantiated -// gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (b), cell, FALSE); -// ... -// } -// -// GtkWidget * -// my_combo_box_new (GtkCellArea *area) -// { -// // This call is going to cause a warning about area being ignored -// return g_object_new (MY_TYPE_COMBO_BOX, "cell-area", area, NULL); -// } +// static void +// my_combo_box_init (MyComboBox *b) +// { +// GtkCellRenderer *cell; +// +// cell = gtk_cell_renderer_pixbuf_new (); +// // The following call causes the default cell area for combo boxes, +// // a GtkCellAreaBox, to be instantiated +// gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (b), cell, FALSE); +// ... +// } +// +// GtkWidget * +// my_combo_box_new (GtkCellArea *area) +// { +// // This call is going to cause a warning about area being ignored +// return g_object_new (MY_TYPE_COMBO_BOX, "cell-area", area, NULL); +// } // // If supporting alternative cell areas with your derived widget is not // important, then this does not have to concern you. If you want to support @@ -11727,7 +11639,6 @@ func marshalCellLayout(p uintptr) (interface{}, error) { // - cell: CellRenderer. // - attribute on the renderer. // - column position on the model to get the attribute from. -// func (cellLayout *CellLayout) AddAttribute(cell CellRendererer, attribute string, column int) { var _arg0 *C.GtkCellLayout // out var _arg1 *C.GtkCellRenderer // out @@ -11764,7 +11675,6 @@ func (cellLayout *CellLayout) Clear() { // The function takes the following parameters: // // - cell to clear the attribute mapping on. -// func (cellLayout *CellLayout) ClearAttributes(cell CellRendererer) { var _arg0 *C.GtkCellLayout // out var _arg1 *C.GtkCellRenderer // out @@ -11784,7 +11694,6 @@ func (cellLayout *CellLayout) ClearAttributes(cell CellRendererer) { // // - cellArea (optional): cell area used by cell_layout, or NULL in case no // cell area is used. -// func (cellLayout *CellLayout) Area() CellAreaer { var _arg0 *C.GtkCellLayout // out var _cret *C.GtkCellArea // in @@ -11823,7 +11732,6 @@ func (cellLayout *CellLayout) Area() CellAreaer { // - list: a list of cell renderers. The list, but not the renderers has been // newly allocated and should be freed with g_list_free() when no longer // needed. -// func (cellLayout *CellLayout) Cells() []CellRendererer { var _arg0 *C.GtkCellLayout // out var _cret *C.GList // in @@ -11872,7 +11780,6 @@ func (cellLayout *CellLayout) Cells() []CellRendererer { // // - cell: CellRenderer. // - expand: TRUE if cell is to be given extra space allocated to cell_layout. -// func (cellLayout *CellLayout) PackEnd(cell CellRendererer, expand bool) { var _arg0 *C.GtkCellLayout // out var _arg1 *C.GtkCellRenderer // out @@ -11900,7 +11807,6 @@ func (cellLayout *CellLayout) PackEnd(cell CellRendererer, expand bool) { // // - cell: CellRenderer. // - expand: TRUE if cell is to be given extra space allocated to cell_layout. -// func (cellLayout *CellLayout) PackStart(cell CellRendererer, expand bool) { var _arg0 *C.GtkCellLayout // out var _arg1 *C.GtkCellRenderer // out @@ -11927,7 +11833,6 @@ func (cellLayout *CellLayout) PackStart(cell CellRendererer, expand bool) { // // - cell to reorder. // - position: new position to insert cell at. -// func (cellLayout *CellLayout) Reorder(cell CellRendererer, position int) { var _arg0 *C.GtkCellLayout // out var _arg1 *C.GtkCellRenderer // out @@ -11955,7 +11860,6 @@ func (cellLayout *CellLayout) Reorder(cell CellRendererer, position int) { // // - cell: CellRenderer. // - fn (optional) to use, or NULL. -// func (cellLayout *CellLayout) SetCellDataFunc(cell CellRendererer, fn CellLayoutDataFunc) { var _arg0 *C.GtkCellLayout // out var _arg1 *C.GtkCellRenderer // out @@ -11989,7 +11893,6 @@ func (cellLayout *CellLayout) SetCellDataFunc(cell CellRendererer, fn CellLayout // - cell: CellRenderer. // - attribute on the renderer. // - column position on the model to get the attribute from. -// func (cellLayout *CellLayout) addAttribute(cell CellRendererer, attribute string, column int) { gclass := (*C.GtkCellLayoutIface)(coreglib.PeekParentClass(cellLayout)) fnarg := gclass.add_attribute @@ -12032,7 +11935,6 @@ func (cellLayout *CellLayout) clear() { // The function takes the following parameters: // // - cell to clear the attribute mapping on. -// func (cellLayout *CellLayout) clearAttributes(cell CellRendererer) { gclass := (*C.GtkCellLayoutIface)(coreglib.PeekParentClass(cellLayout)) fnarg := gclass.clear_attributes @@ -12055,7 +11957,6 @@ func (cellLayout *CellLayout) clearAttributes(cell CellRendererer) { // // - cellArea (optional): cell area used by cell_layout, or NULL in case no // cell area is used. -// func (cellLayout *CellLayout) area() CellAreaer { gclass := (*C.GtkCellLayoutIface)(coreglib.PeekParentClass(cellLayout)) fnarg := gclass.get_area @@ -12097,7 +11998,6 @@ func (cellLayout *CellLayout) area() CellAreaer { // - list: a list of cell renderers. The list, but not the renderers has been // newly allocated and should be freed with g_list_free() when no longer // needed. -// func (cellLayout *CellLayout) cells() []CellRendererer { gclass := (*C.GtkCellLayoutIface)(coreglib.PeekParentClass(cellLayout)) fnarg := gclass.get_cells @@ -12149,7 +12049,6 @@ func (cellLayout *CellLayout) cells() []CellRendererer { // // - cell: CellRenderer. // - expand: TRUE if cell is to be given extra space allocated to cell_layout. -// func (cellLayout *CellLayout) packEnd(cell CellRendererer, expand bool) { gclass := (*C.GtkCellLayoutIface)(coreglib.PeekParentClass(cellLayout)) fnarg := gclass.pack_end @@ -12180,7 +12079,6 @@ func (cellLayout *CellLayout) packEnd(cell CellRendererer, expand bool) { // // - cell: CellRenderer. // - expand: TRUE if cell is to be given extra space allocated to cell_layout. -// func (cellLayout *CellLayout) packStart(cell CellRendererer, expand bool) { gclass := (*C.GtkCellLayoutIface)(coreglib.PeekParentClass(cellLayout)) fnarg := gclass.pack_start @@ -12210,7 +12108,6 @@ func (cellLayout *CellLayout) packStart(cell CellRendererer, expand bool) { // // - cell to reorder. // - position: new position to insert cell at. -// func (cellLayout *CellLayout) reorder(cell CellRendererer, position int) { gclass := (*C.GtkCellLayoutIface)(coreglib.PeekParentClass(cellLayout)) fnarg := gclass.reorder @@ -12241,7 +12138,6 @@ func (cellLayout *CellLayout) reorder(cell CellRendererer, position int) { // // - cell: CellRenderer. // - fn (optional) to use, or NULL. -// func (cellLayout *CellLayout) setCellDataFunc(cell CellRendererer, fn CellLayoutDataFunc) { gclass := (*C.GtkCellLayoutIface)(coreglib.PeekParentClass(cellLayout)) fnarg := gclass.set_cell_data_func @@ -12352,7 +12248,6 @@ func (chooser *ColorChooser) ConnectColorActivated(f func(color *gdk.RGBA)) core // displayed in rows, GTK_ORIENTATION_VERTICAL for columns. // - colorsPerLine: number of colors to show in each row/column. // - colors (optional) of the palette, or NULL. -// func (chooser *ColorChooser) AddPalette(orientation Orientation, colorsPerLine int, colors []gdk.RGBA) { var _arg0 *C.GtkColorChooser // out var _arg1 C.GtkOrientation // out @@ -12385,7 +12280,6 @@ func (chooser *ColorChooser) AddPalette(orientation Orientation, colorsPerLine i // The function returns the following values: // // - color: GdkRGBA to fill in with the current color. -// func (chooser *ColorChooser) RGBA() *gdk.RGBA { var _arg0 *C.GtkColorChooser // out var _arg1 C.GdkRGBA // in @@ -12407,7 +12301,6 @@ func (chooser *ColorChooser) RGBA() *gdk.RGBA { // The function returns the following values: // // - ok: TRUE if the color chooser uses the alpha channel, FALSE if not. -// func (chooser *ColorChooser) UseAlpha() bool { var _arg0 *C.GtkColorChooser // out var _cret C.gboolean // in @@ -12431,7 +12324,6 @@ func (chooser *ColorChooser) UseAlpha() bool { // The function takes the following parameters: // // - color: new color. -// func (chooser *ColorChooser) SetRGBA(color *gdk.RGBA) { var _arg0 *C.GtkColorChooser // out var _arg1 *C.GdkRGBA // out @@ -12450,7 +12342,6 @@ func (chooser *ColorChooser) SetRGBA(color *gdk.RGBA) { // The function takes the following parameters: // // - useAlpha: TRUE if color chooser should use alpha channel, FALSE if not. -// func (chooser *ColorChooser) SetUseAlpha(useAlpha bool) { var _arg0 *C.GtkColorChooser // out var _arg1 C.gboolean // out @@ -12488,7 +12379,6 @@ func (chooser *ColorChooser) SetUseAlpha(useAlpha bool) { // displayed in rows, GTK_ORIENTATION_VERTICAL for columns. // - colorsPerLine: number of colors to show in each row/column. // - colors (optional) of the palette, or NULL. -// func (chooser *ColorChooser) addPalette(orientation Orientation, colorsPerLine int, colors []gdk.RGBA) { gclass := (*C.GtkColorChooserInterface)(coreglib.PeekParentClass(chooser)) fnarg := gclass.add_palette @@ -12539,7 +12429,6 @@ func (chooser *ColorChooser) colorActivated(color *gdk.RGBA) { // The function returns the following values: // // - color: GdkRGBA to fill in with the current color. -// func (chooser *ColorChooser) rgbA() *gdk.RGBA { gclass := (*C.GtkColorChooserInterface)(coreglib.PeekParentClass(chooser)) fnarg := gclass.get_rgba @@ -12564,7 +12453,6 @@ func (chooser *ColorChooser) rgbA() *gdk.RGBA { // The function takes the following parameters: // // - color: new color. -// func (chooser *ColorChooser) setRGBA(color *gdk.RGBA) { gclass := (*C.GtkColorChooserInterface)(coreglib.PeekParentClass(chooser)) fnarg := gclass.set_rgba @@ -12637,27 +12525,27 @@ func BaseConstraintTarget(obj ConstraintTargetter) *ConstraintTarget { // // Forcing entry to uppercase. // -// #include +// #include // -// void -// insert_text_handler (GtkEditable *editable, -// const char *text, -// int length, -// int *position, -// gpointer data) -// { -// char *result = g_utf8_strup (text, length); +// void +// insert_text_handler (GtkEditable *editable, +// const char *text, +// int length, +// int *position, +// gpointer data) +// { +// char *result = g_utf8_strup (text, length); // -// g_signal_handlers_block_by_func (editable, -// (gpointer) insert_text_handler, data); -// gtk_editable_insert_text (editable, result, length, position); -// g_signal_handlers_unblock_by_func (editable, -// (gpointer) insert_text_handler, data); +// g_signal_handlers_block_by_func (editable, +// (gpointer) insert_text_handler, data); +// gtk_editable_insert_text (editable, result, length, position); +// g_signal_handlers_unblock_by_func (editable, +// (gpointer) insert_text_handler, data); // -// g_signal_stop_emission_by_name (editable, "insert_text"); +// g_signal_stop_emission_by_name (editable, "insert_text"); // -// g_free (result); -// } +// g_free (result); +// } // // # Implementing GtkEditable // @@ -12669,29 +12557,29 @@ func BaseConstraintTarget(obj ConstraintTargetter) *ConstraintTarget { // In your class_init function, call gtk.Editable().InstallProperties, passing // the first available property ID: // -// static void -// my_class_init (MyClass *class) -// { -// ... -// g_object_class_install_properties (object_class, NUM_PROPERTIES, props); -// gtk_editable_install_properties (object_clas, NUM_PROPERTIES); -// ... -// } +// static void +// my_class_init (MyClass *class) +// { +// ... +// g_object_class_install_properties (object_class, NUM_PROPERTIES, props); +// gtk_editable_install_properties (object_clas, NUM_PROPERTIES); +// ... +// } // // In your interface_init function for the GtkEditable interface, provide an // implementation for the get_delegate vfunc that returns your text widget: // -// GtkEditable * -// get_editable_delegate (GtkEditable *editable) -// { -// return GTK_EDITABLE (MY_WIDGET (editable)->text_widget); -// } +// GtkEditable * +// get_editable_delegate (GtkEditable *editable) +// { +// return GTK_EDITABLE (MY_WIDGET (editable)->text_widget); +// } // -// static void -// my_editable_init (GtkEditableInterface *iface) -// { -// iface->get_delegate = get_editable_delegate; -// } +// static void +// my_editable_init (GtkEditableInterface *iface) +// { +// iface->get_delegate = get_editable_delegate; +// } // // You don't need to provide any other vfuncs. The default implementations work // by forwarding to the delegate that the GtkEditableInterface.get_delegate() @@ -12700,36 +12588,36 @@ func BaseConstraintTarget(obj ConstraintTargetter) *ConstraintTarget { // In your instance_init function, create your text widget, and then call // gtk.Editable.InitDelegate(): // -// static void -// my_widget_init (MyWidget *self) -// { -// ... -// self->text_widget = gtk_text_new (); -// gtk_editable_init_delegate (GTK_EDITABLE (self)); -// ... -// } +// static void +// my_widget_init (MyWidget *self) +// { +// ... +// self->text_widget = gtk_text_new (); +// gtk_editable_init_delegate (GTK_EDITABLE (self)); +// ... +// } // // In your dispose function, call gtk.Editable.FinishDelegate() before // destroying your text widget: // -// static void -// my_widget_dispose (GObject *object) -// { -// ... -// gtk_editable_finish_delegate (GTK_EDITABLE (self)); -// g_clear_pointer (&self->text_widget, gtk_widget_unparent); -// ... -// } +// static void +// my_widget_dispose (GObject *object) +// { +// ... +// gtk_editable_finish_delegate (GTK_EDITABLE (self)); +// g_clear_pointer (&self->text_widget, gtk_widget_unparent); +// ... +// } // // Finally, use gtk.Editable().DelegateSetProperty in your set_property function // (and similar for get_property), to set the editable properties: // -// ... -// if (gtk_editable_delegate_set_property (object, prop_id, value, pspec)) -// return; +// ... +// if (gtk_editable_delegate_set_property (object, prop_id, value, pspec)) +// return; // -// switch (prop_id) -// ... +// switch (prop_id) +// ... // // It is important to note that if you create a GtkEditable that // uses a delegate, the low level gtk.Editable::insert-text and @@ -12892,7 +12780,6 @@ func (editable *EditableTextWidget) DeleteSelection() { // // - startPos: start position. // - endPos: end position. -// func (editable *EditableTextWidget) DeleteText(startPos, endPos int) { var _arg0 *C.GtkEditable // out var _arg1 C.int // out @@ -12926,7 +12813,6 @@ func (editable *EditableTextWidget) FinishDelegate() { // The function returns the following values: // // - gfloat: alignment. -// func (editable *EditableTextWidget) Alignment() float32 { var _arg0 *C.GtkEditable // out var _cret C.float // in @@ -12962,7 +12848,6 @@ func (editable *EditableTextWidget) Alignment() float32 { // - utf8: pointer to the contents of the widget as a string. This string is // allocated by the GtkEditable implementation and should be freed by the // caller. -// func (editable *EditableTextWidget) Chars(startPos, endPos int) string { var _arg0 *C.GtkEditable // out var _arg1 C.int // out @@ -12994,7 +12879,6 @@ func (editable *EditableTextWidget) Chars(startPos, endPos int) string { // The function returns the following values: // // - ret (optional): delegate GtkEditable. -// func (editable *EditableTextWidget) Delegate() *EditableTextWidget { var _arg0 *C.GtkEditable // out var _cret *C.GtkEditable // in @@ -13018,7 +12902,6 @@ func (editable *EditableTextWidget) Delegate() *EditableTextWidget { // The function returns the following values: // // - ok: TRUE if editable is editable. -// func (editable *EditableTextWidget) Editable() bool { var _arg0 *C.GtkEditable // out var _cret C.gboolean // in @@ -13042,7 +12925,6 @@ func (editable *EditableTextWidget) Editable() bool { // The function returns the following values: // // - ok: TRUE if undo is enabled. -// func (editable *EditableTextWidget) EnableUndo() bool { var _arg0 *C.GtkEditable // out var _cret C.gboolean // in @@ -13066,7 +12948,6 @@ func (editable *EditableTextWidget) EnableUndo() bool { // The function returns the following values: // // - gint: maximum width of the entry, in characters. -// func (editable *EditableTextWidget) MaxWidthChars() int { var _arg0 *C.GtkEditable // out var _cret C.int // in @@ -13091,7 +12972,6 @@ func (editable *EditableTextWidget) MaxWidthChars() int { // The function returns the following values: // // - gint: cursor position. -// func (editable *EditableTextWidget) Position() int { var _arg0 *C.GtkEditable // out var _cret C.int // in @@ -13121,7 +13001,6 @@ func (editable *EditableTextWidget) Position() int { // - startPos (optional): location to store the starting position, or NULL. // - endPos (optional): location to store the end position, or NULL. // - ok: TRUE if there is a non-empty selection, FALSE otherwise. -// func (editable *EditableTextWidget) SelectionBounds() (startPos, endPos int, ok bool) { var _arg0 *C.GtkEditable // out var _arg1 C.int // in @@ -13153,7 +13032,6 @@ func (editable *EditableTextWidget) SelectionBounds() (startPos, endPos int, ok // The function returns the following values: // // - utf8: pointer to the contents of the editable. -// func (editable *EditableTextWidget) Text() string { var _arg0 *C.GtkEditable // out var _cret *C.char // in @@ -13176,7 +13054,6 @@ func (editable *EditableTextWidget) Text() string { // The function returns the following values: // // - gint: number of chars to request space for, or negative if unset. -// func (editable *EditableTextWidget) WidthChars() int { var _arg0 *C.GtkEditable // out var _cret C.int // in @@ -13222,7 +13099,6 @@ func (editable *EditableTextWidget) InitDelegate() { // // - startPos: start of region. // - endPos: end of region. -// func (editable *EditableTextWidget) SelectRegion(startPos, endPos int) { var _arg0 *C.GtkEditable // out var _arg1 C.int // out @@ -13247,7 +13123,6 @@ func (editable *EditableTextWidget) SelectRegion(startPos, endPos int) { // // - xalign: horizontal alignment, from 0 (left) to 1 (right). Reversed for // RTL layouts. -// func (editable *EditableTextWidget) SetAlignment(xalign float32) { var _arg0 *C.GtkEditable // out var _arg1 C.float // out @@ -13265,7 +13140,6 @@ func (editable *EditableTextWidget) SetAlignment(xalign float32) { // The function takes the following parameters: // // - isEditable: TRUE if the user is allowed to edit the text in the widget. -// func (editable *EditableTextWidget) SetEditable(isEditable bool) { var _arg0 *C.GtkEditable // out var _arg1 C.gboolean // out @@ -13290,7 +13164,6 @@ func (editable *EditableTextWidget) SetEditable(isEditable bool) { // The function takes the following parameters: // // - enableUndo: if undo/redo should be enabled. -// func (editable *EditableTextWidget) SetEnableUndo(enableUndo bool) { var _arg0 *C.GtkEditable // out var _arg1 C.gboolean // out @@ -13310,7 +13183,6 @@ func (editable *EditableTextWidget) SetEnableUndo(enableUndo bool) { // The function takes the following parameters: // // - nChars: new desired maximum width, in characters. -// func (editable *EditableTextWidget) SetMaxWidthChars(nChars int) { var _arg0 *C.GtkEditable // out var _arg1 C.int // out @@ -13334,7 +13206,6 @@ func (editable *EditableTextWidget) SetMaxWidthChars(nChars int) { // The function takes the following parameters: // // - position of the cursor. -// func (editable *EditableTextWidget) SetPosition(position int) { var _arg0 *C.GtkEditable // out var _arg1 C.int // out @@ -13354,7 +13225,6 @@ func (editable *EditableTextWidget) SetPosition(position int) { // The function takes the following parameters: // // - text to set. -// func (editable *EditableTextWidget) SetText(text string) { var _arg0 *C.GtkEditable // out var _arg1 *C.char // out @@ -13378,7 +13248,6 @@ func (editable *EditableTextWidget) SetText(text string) { // The function takes the following parameters: // // - nChars: width in chars. -// func (editable *EditableTextWidget) SetWidthChars(nChars int) { var _arg0 *C.GtkEditable // out var _arg1 C.int // out @@ -13415,7 +13284,6 @@ func (editable *EditableTextWidget) changed() { // // - startPos: start position. // - endPos: end position. -// func (editable *EditableTextWidget) deleteText(startPos, endPos int) { gclass := (*C.GtkEditableInterface)(coreglib.PeekParentClass(editable)) fnarg := gclass.delete_text @@ -13446,7 +13314,6 @@ func (editable *EditableTextWidget) deleteText(startPos, endPos int) { // // - startPos: start position. // - endPos: end position. -// func (editable *EditableTextWidget) doDeleteText(startPos, endPos int) { gclass := (*C.GtkEditableInterface)(coreglib.PeekParentClass(editable)) fnarg := gclass.do_delete_text @@ -13473,7 +13340,6 @@ func (editable *EditableTextWidget) doDeleteText(startPos, endPos int) { // The function returns the following values: // // - ret (optional): delegate GtkEditable. -// func (editable *EditableTextWidget) delegate() *EditableTextWidget { gclass := (*C.GtkEditableInterface)(coreglib.PeekParentClass(editable)) fnarg := gclass.get_delegate @@ -13508,7 +13374,6 @@ func (editable *EditableTextWidget) delegate() *EditableTextWidget { // - startPos (optional): location to store the starting position, or NULL. // - endPos (optional): location to store the end position, or NULL. // - ok: TRUE if there is a non-empty selection, FALSE otherwise. -// func (editable *EditableTextWidget) selectionBounds() (startPos, endPos int, ok bool) { gclass := (*C.GtkEditableInterface)(coreglib.PeekParentClass(editable)) fnarg := gclass.get_selection_bounds @@ -13543,7 +13408,6 @@ func (editable *EditableTextWidget) selectionBounds() (startPos, endPos int, ok // The function returns the following values: // // - utf8: pointer to the contents of the editable. -// func (editable *EditableTextWidget) text() string { gclass := (*C.GtkEditableInterface)(coreglib.PeekParentClass(editable)) fnarg := gclass.get_text @@ -13576,7 +13440,6 @@ func (editable *EditableTextWidget) text() string { // // - startPos: start of region. // - endPos: end of region. -// func (editable *EditableTextWidget) setSelectionBounds(startPos, endPos int) { gclass := (*C.GtkEditableInterface)(coreglib.PeekParentClass(editable)) fnarg := gclass.set_selection_bounds @@ -13742,7 +13605,6 @@ func marshalFileChooser(p uintptr) (interface{}, error) { // boolean choice. // - optionLabels (optional): user-visible labels for the options, must be the // same length as options. -// func (chooser *FileChooser) AddChoice(id, label string, options, optionLabels []string) { var _arg0 *C.GtkFileChooser // out var _arg1 *C.char // out @@ -13802,7 +13664,6 @@ func (chooser *FileChooser) AddChoice(id, label string, options, optionLabels [] // The function takes the following parameters: // // - filter: GtkFileFilter. -// func (chooser *FileChooser) AddFilter(filter *FileFilter) { var _arg0 *C.GtkFileChooser // out var _arg1 *C.GtkFileFilter // out @@ -13821,7 +13682,6 @@ func (chooser *FileChooser) AddFilter(filter *FileFilter) { // The function takes the following parameters: // // - folder: GFile for the folder to add. -// func (chooser *FileChooser) AddShortcutFolder(folder gio.Filer) error { var _arg0 *C.GtkFileChooser // out var _arg1 *C.GFile // out @@ -13848,7 +13708,6 @@ func (chooser *FileChooser) AddShortcutFolder(folder gio.Filer) error { // The function returns the following values: // // - fileChooserAction: action that the file selector is performing. -// func (chooser *FileChooser) Action() FileChooserAction { var _arg0 *C.GtkFileChooser // out var _cret C.GtkFileChooserAction // in @@ -13874,7 +13733,6 @@ func (chooser *FileChooser) Action() FileChooserAction { // The function returns the following values: // // - utf8: ID of the currently selected option. -// func (chooser *FileChooser) Choice(id string) string { var _arg0 *C.GtkFileChooser // out var _arg1 *C.char // out @@ -13900,7 +13758,6 @@ func (chooser *FileChooser) Choice(id string) string { // The function returns the following values: // // - ok: TRUE if the Create Folder button should be displayed. -// func (chooser *FileChooser) CreateFolders() bool { var _arg0 *C.GtkFileChooser // out var _cret C.gboolean // in @@ -13924,7 +13781,6 @@ func (chooser *FileChooser) CreateFolders() bool { // The function returns the following values: // // - file: GFile for the current folder. -// func (chooser *FileChooser) CurrentFolder() *gio.File { var _arg0 *C.GtkFileChooser // out var _cret *C.GFile // in @@ -13958,7 +13814,6 @@ func (chooser *FileChooser) CurrentFolder() *gio.File { // Note that this string is not a full pathname or URI; it is whatever // the contents of the entry are. Note also that this string is in UTF-8 // encoding, which is not necessarily the system’s encoding for filenames. -// func (chooser *FileChooser) CurrentName() string { var _arg0 *C.GtkFileChooser // out var _cret *C.char // in @@ -13987,7 +13842,6 @@ func (chooser *FileChooser) CurrentName() string { // // - file: selected GFile. You own the returned file; use g_object_unref() to // release it. -// func (chooser *FileChooser) File() *gio.File { var _arg0 *C.GtkFileChooser // out var _cret *C.GFile // in @@ -14017,7 +13871,6 @@ func (chooser *FileChooser) File() *gio.File { // - listModel: list model containing a GFile for each selected file // and subfolder in the current folder. Free the returned list with // g_object_unref(). -// func (chooser *FileChooser) Files() *gio.ListModel { var _arg0 *C.GtkFileChooser // out var _cret *C.GListModel // in @@ -14044,7 +13897,6 @@ func (chooser *FileChooser) Files() *gio.ListModel { // The function returns the following values: // // - fileFilter (optional): current filter, or NULL. -// func (chooser *FileChooser) Filter() *FileFilter { var _arg0 *C.GtkFileChooser // out var _cret *C.GtkFileFilter // in @@ -14075,7 +13927,6 @@ func (chooser *FileChooser) Filter() *FileFilter { // // - listModel: GListModel containing the current set of user-selectable // filters. -// func (chooser *FileChooser) Filters() *gio.ListModel { var _arg0 *C.GtkFileChooser // out var _cret *C.GListModel // in @@ -14103,7 +13954,6 @@ func (chooser *FileChooser) Filters() *gio.ListModel { // The function returns the following values: // // - ok: TRUE if multiple files can be selected. -// func (chooser *FileChooser) SelectMultiple() bool { var _arg0 *C.GtkFileChooser // out var _cret C.gboolean // in @@ -14130,7 +13980,6 @@ func (chooser *FileChooser) SelectMultiple() bool { // The function returns the following values: // // - listModel: list model of GFiles. -// func (chooser *FileChooser) ShortcutFolders() *gio.ListModel { var _arg0 *C.GtkFileChooser // out var _cret *C.GListModel // in @@ -14158,7 +14007,6 @@ func (chooser *FileChooser) ShortcutFolders() *gio.ListModel { // The function takes the following parameters: // // - id: ID of the choice to remove. -// func (chooser *FileChooser) RemoveChoice(id string) { var _arg0 *C.GtkFileChooser // out var _arg1 *C.char // out @@ -14178,7 +14026,6 @@ func (chooser *FileChooser) RemoveChoice(id string) { // The function takes the following parameters: // // - filter: GtkFileFilter. -// func (chooser *FileChooser) RemoveFilter(filter *FileFilter) { var _arg0 *C.GtkFileChooser // out var _arg1 *C.GtkFileFilter // out @@ -14197,7 +14044,6 @@ func (chooser *FileChooser) RemoveFilter(filter *FileFilter) { // The function takes the following parameters: // // - folder: GFile for the folder to remove. -// func (chooser *FileChooser) RemoveShortcutFolder(folder gio.Filer) error { var _arg0 *C.GtkFileChooser // out var _arg1 *C.GFile // out @@ -14230,7 +14076,6 @@ func (chooser *FileChooser) RemoveShortcutFolder(folder gio.Filer) error { // The function takes the following parameters: // // - action that the file selector is performing. -// func (chooser *FileChooser) SetAction(action FileChooserAction) { var _arg0 *C.GtkFileChooser // out var _arg1 C.GtkFileChooserAction // out @@ -14252,7 +14097,6 @@ func (chooser *FileChooser) SetAction(action FileChooserAction) { // // - id: ID of the choice to set. // - option: ID of the option to select. -// func (chooser *FileChooser) SetChoice(id, option string) { var _arg0 *C.GtkFileChooser // out var _arg1 *C.char // out @@ -14278,7 +14122,6 @@ func (chooser *FileChooser) SetChoice(id, option string) { // The function takes the following parameters: // // - createFolders: TRUE if the Create Folder button should be displayed. -// func (chooser *FileChooser) SetCreateFolders(createFolders bool) { var _arg0 *C.GtkFileChooser // out var _arg1 C.gboolean // out @@ -14298,7 +14141,6 @@ func (chooser *FileChooser) SetCreateFolders(createFolders bool) { // The function takes the following parameters: // // - file: GFile for the new folder. -// func (chooser *FileChooser) SetCurrentFolder(file gio.Filer) error { var _arg0 *C.GtkFileChooser // out var _arg1 *C.GFile // out @@ -14337,7 +14179,6 @@ func (chooser *FileChooser) SetCurrentFolder(file gio.Filer) error { // The function takes the following parameters: // // - name to use, as a UTF-8 string. -// func (chooser *FileChooser) SetCurrentName(name string) { var _arg0 *C.GtkFileChooser // out var _arg1 *C.char // out @@ -14371,31 +14212,30 @@ func (chooser *FileChooser) SetCurrentName(name string) { // // Instead, use something similar to this: // -// static void -// prepare_file_chooser (GtkFileChooser *chooser, -// GFile *existing_file) -// { -// gboolean document_is_new = (existing_file == NULL); -// -// if (document_is_new) -// { -// GFile *default_file_for_saving = g_file_new_for_path ("./out.txt"); -// // the user just created a new document -// gtk_file_chooser_set_current_folder (chooser, default_file_for_saving, NULL); -// gtk_file_chooser_set_current_name (chooser, "Untitled document"); -// g_object_unref (default_file_for_saving); -// } -// else -// { -// // the user edited an existing document -// gtk_file_chooser_set_file (chooser, existing_file, NULL); -// } -// }. +// static void +// prepare_file_chooser (GtkFileChooser *chooser, +// GFile *existing_file) +// { +// gboolean document_is_new = (existing_file == NULL); +// +// if (document_is_new) +// { +// GFile *default_file_for_saving = g_file_new_for_path ("./out.txt"); +// // the user just created a new document +// gtk_file_chooser_set_current_folder (chooser, default_file_for_saving, NULL); +// gtk_file_chooser_set_current_name (chooser, "Untitled document"); +// g_object_unref (default_file_for_saving); +// } +// else +// { +// // the user edited an existing document +// gtk_file_chooser_set_file (chooser, existing_file, NULL); +// } +// }. // // The function takes the following parameters: // // - file: GFile to set as current. -// func (chooser *FileChooser) SetFile(file gio.Filer) error { var _arg0 *C.GtkFileChooser // out var _arg1 *C.GFile // out @@ -14430,7 +14270,6 @@ func (chooser *FileChooser) SetFile(file gio.Filer) error { // The function takes the following parameters: // // - filter: GtkFileFilter. -// func (chooser *FileChooser) SetFilter(filter *FileFilter) { var _arg0 *C.GtkFileChooser // out var _arg1 *C.GtkFileFilter // out @@ -14452,7 +14291,6 @@ func (chooser *FileChooser) SetFilter(filter *FileFilter) { // The function takes the following parameters: // // - selectMultiple: TRUE if multiple files can be selected. -// func (chooser *FileChooser) SetSelectMultiple(selectMultiple bool) { var _arg0 *C.GtkFileChooser // out var _arg1 C.gboolean // out @@ -14570,7 +14408,6 @@ func (fontchooser *FontChooser) ConnectFontActivated(f func(fontname string)) co // // - utf8 (optional): string with the name of the current font, or NULL if no // font is selected. You must free this string with g_free(). -// func (fontchooser *FontChooser) Font() string { var _arg0 *C.GtkFontChooser // out var _cret *C.char // in @@ -14604,7 +14441,6 @@ func (fontchooser *FontChooser) Font() string { // // - fontDescription (optional): PangoFontDescription for the current font, // or NULL if no font is selected. -// func (fontchooser *FontChooser) FontDesc() *pango.FontDescription { var _arg0 *C.GtkFontChooser // out var _cret *C.PangoFontDescription // in @@ -14639,7 +14475,6 @@ func (fontchooser *FontChooser) FontDesc() *pango.FontDescription { // - fontFace (optional): PangoFontFace representing the selected font group // details, or NULL. The returned object is owned by fontchooser and must // not be modified or freed. -// func (fontchooser *FontChooser) FontFace() pango.FontFacer { var _arg0 *C.GtkFontChooser // out var _cret *C.PangoFontFace // in @@ -14682,7 +14517,6 @@ func (fontchooser *FontChooser) FontFace() pango.FontFacer { // - fontFamily (optional): PangoFontFamily representing the selected font // family, or NULL. The returned object is owned by fontchooser and must not // be modified or freed. -// func (fontchooser *FontChooser) FontFamily() pango.FontFamilier { var _arg0 *C.GtkFontChooser // out var _cret *C.PangoFontFamily // in @@ -14719,7 +14553,6 @@ func (fontchooser *FontChooser) FontFamily() pango.FontFamilier { // The function returns the following values: // // - utf8: currently selected font features. -// func (fontchooser *FontChooser) FontFeatures() string { var _arg0 *C.GtkFontChooser // out var _cret *C.char // in @@ -14743,7 +14576,6 @@ func (fontchooser *FontChooser) FontFeatures() string { // The function returns the following values: // // - fontMap (optional): PangoFontMap, or NULL. -// func (fontchooser *FontChooser) FontMap() pango.FontMapper { var _arg0 *C.GtkFontChooser // out var _cret *C.PangoFontMap // in @@ -14781,7 +14613,6 @@ func (fontchooser *FontChooser) FontMap() pango.FontMapper { // // - gint: n integer representing the selected font size, or -1 if no font // size is selected. -// func (fontchooser *FontChooser) FontSize() int { var _arg0 *C.GtkFontChooser // out var _cret C.int // in @@ -14803,7 +14634,6 @@ func (fontchooser *FontChooser) FontSize() int { // The function returns the following values: // // - utf8: currently selected language. -// func (fontchooser *FontChooser) Language() string { var _arg0 *C.GtkFontChooser // out var _cret *C.char // in @@ -14826,7 +14656,6 @@ func (fontchooser *FontChooser) Language() string { // The function returns the following values: // // - fontChooserLevel: current granularity level. -// func (fontchooser *FontChooser) Level() FontChooserLevel { var _arg0 *C.GtkFontChooser // out var _cret C.GtkFontChooserLevel // in @@ -14848,7 +14677,6 @@ func (fontchooser *FontChooser) Level() FontChooserLevel { // The function returns the following values: // // - utf8: text displayed in the preview area. -// func (fontchooser *FontChooser) PreviewText() string { var _arg0 *C.GtkFontChooser // out var _cret *C.char // in @@ -14871,7 +14699,6 @@ func (fontchooser *FontChooser) PreviewText() string { // The function returns the following values: // // - ok: TRUE if the preview entry is shown or FALSE if it is hidden. -// func (fontchooser *FontChooser) ShowPreviewEntry() bool { var _arg0 *C.GtkFontChooser // out var _cret C.gboolean // in @@ -14896,7 +14723,6 @@ func (fontchooser *FontChooser) ShowPreviewEntry() bool { // The function takes the following parameters: // // - filter (optional): GtkFontFilterFunc, or NULL. -// func (fontchooser *FontChooser) SetFilterFunc(filter FontFilterFunc) { var _arg0 *C.GtkFontChooser // out var _arg1 C.GtkFontFilterFunc // out @@ -14920,7 +14746,6 @@ func (fontchooser *FontChooser) SetFilterFunc(filter FontFilterFunc) { // The function takes the following parameters: // // - fontname: font name like “Helvetica 12” or “Times Bold 18”. -// func (fontchooser *FontChooser) SetFont(fontname string) { var _arg0 *C.GtkFontChooser // out var _arg1 *C.char // out @@ -14939,7 +14764,6 @@ func (fontchooser *FontChooser) SetFont(fontname string) { // The function takes the following parameters: // // - fontDesc: PangoFontDescription. -// func (fontchooser *FontChooser) SetFontDesc(fontDesc *pango.FontDescription) { var _arg0 *C.GtkFontChooser // out var _arg1 *C.PangoFontDescription // out @@ -14957,27 +14781,26 @@ func (fontchooser *FontChooser) SetFontDesc(fontDesc *pango.FontDescription) { // A custom font map can be used to present application-specific fonts instead // of or in addition to the normal system fonts. // -// FcConfig *config; -// PangoFontMap *fontmap; +// FcConfig *config; +// PangoFontMap *fontmap; // -// config = FcInitLoadConfigAndFonts (); -// FcConfigAppFontAddFile (config, my_app_font_file); +// config = FcInitLoadConfigAndFonts (); +// FcConfigAppFontAddFile (config, my_app_font_file); // -// fontmap = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT); -// pango_fc_font_map_set_config (PANGO_FC_FONT_MAP (fontmap), config); +// fontmap = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT); +// pango_fc_font_map_set_config (PANGO_FC_FONT_MAP (fontmap), config); // -// gtk_font_chooser_set_font_map (font_chooser, fontmap); +// gtk_font_chooser_set_font_map (font_chooser, fontmap); // // Note that other GTK widgets will only be able to use the application-specific // font if it is present in the font map they use: // -// context = gtk_widget_get_pango_context (label); -// pango_context_set_font_map (context, fontmap);. +// context = gtk_widget_get_pango_context (label); +// pango_context_set_font_map (context, fontmap);. // // The function takes the following parameters: // // - fontmap (optional): PangoFontMap. -// func (fontchooser *FontChooser) SetFontMap(fontmap pango.FontMapper) { var _arg0 *C.GtkFontChooser // out var _arg1 *C.PangoFontMap // out @@ -14997,7 +14820,6 @@ func (fontchooser *FontChooser) SetFontMap(fontmap pango.FontMapper) { // The function takes the following parameters: // // - language: language. -// func (fontchooser *FontChooser) SetLanguage(language string) { var _arg0 *C.GtkFontChooser // out var _arg1 *C.char // out @@ -15016,7 +14838,6 @@ func (fontchooser *FontChooser) SetLanguage(language string) { // The function takes the following parameters: // // - level: desired level of granularity. -// func (fontchooser *FontChooser) SetLevel(level FontChooserLevel) { var _arg0 *C.GtkFontChooser // out var _arg1 C.GtkFontChooserLevel // out @@ -15036,7 +14857,6 @@ func (fontchooser *FontChooser) SetLevel(level FontChooserLevel) { // The function takes the following parameters: // // - text to display in the preview area. -// func (fontchooser *FontChooser) SetPreviewText(text string) { var _arg0 *C.GtkFontChooser // out var _arg1 *C.char // out @@ -15055,7 +14875,6 @@ func (fontchooser *FontChooser) SetPreviewText(text string) { // The function takes the following parameters: // // - showPreviewEntry: whether to show the editable preview entry or not. -// func (fontchooser *FontChooser) SetShowPreviewEntry(showPreviewEntry bool) { var _arg0 *C.GtkFontChooser // out var _arg1 C.gboolean // out @@ -15096,7 +14915,6 @@ func (chooser *FontChooser) fontActivated(fontname string) { // - fontFace (optional): PangoFontFace representing the selected font group // details, or NULL. The returned object is owned by fontchooser and must // not be modified or freed. -// func (fontchooser *FontChooser) fontFace() pango.FontFacer { gclass := (*C.GtkFontChooserIface)(coreglib.PeekParentClass(fontchooser)) fnarg := gclass.get_font_face @@ -15142,7 +14960,6 @@ func (fontchooser *FontChooser) fontFace() pango.FontFacer { // - fontFamily (optional): PangoFontFamily representing the selected font // family, or NULL. The returned object is owned by fontchooser and must not // be modified or freed. -// func (fontchooser *FontChooser) fontFamily() pango.FontFamilier { gclass := (*C.GtkFontChooserIface)(coreglib.PeekParentClass(fontchooser)) fnarg := gclass.get_font_family @@ -15183,7 +15000,6 @@ func (fontchooser *FontChooser) fontFamily() pango.FontFamilier { // The function returns the following values: // // - fontMap (optional): PangoFontMap, or NULL. -// func (fontchooser *FontChooser) fontMap() pango.FontMapper { gclass := (*C.GtkFontChooserIface)(coreglib.PeekParentClass(fontchooser)) fnarg := gclass.get_font_map @@ -15224,7 +15040,6 @@ func (fontchooser *FontChooser) fontMap() pango.FontMapper { // // - gint: n integer representing the selected font size, or -1 if no font // size is selected. -// func (fontchooser *FontChooser) fontSize() int { gclass := (*C.GtkFontChooserIface)(coreglib.PeekParentClass(fontchooser)) fnarg := gclass.get_font_size @@ -15250,7 +15065,6 @@ func (fontchooser *FontChooser) fontSize() int { // The function takes the following parameters: // // - filter (optional): GtkFontFilterFunc, or NULL. -// func (fontchooser *FontChooser) setFilterFunc(filter FontFilterFunc) { gclass := (*C.GtkFontChooserIface)(coreglib.PeekParentClass(fontchooser)) fnarg := gclass.set_filter_func @@ -15277,27 +15091,26 @@ func (fontchooser *FontChooser) setFilterFunc(filter FontFilterFunc) { // A custom font map can be used to present application-specific fonts instead // of or in addition to the normal system fonts. // -// FcConfig *config; -// PangoFontMap *fontmap; +// FcConfig *config; +// PangoFontMap *fontmap; // -// config = FcInitLoadConfigAndFonts (); -// FcConfigAppFontAddFile (config, my_app_font_file); +// config = FcInitLoadConfigAndFonts (); +// FcConfigAppFontAddFile (config, my_app_font_file); // -// fontmap = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT); -// pango_fc_font_map_set_config (PANGO_FC_FONT_MAP (fontmap), config); +// fontmap = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT); +// pango_fc_font_map_set_config (PANGO_FC_FONT_MAP (fontmap), config); // -// gtk_font_chooser_set_font_map (font_chooser, fontmap); +// gtk_font_chooser_set_font_map (font_chooser, fontmap); // // Note that other GTK widgets will only be able to use the application-specific // font if it is present in the font map they use: // -// context = gtk_widget_get_pango_context (label); -// pango_context_set_font_map (context, fontmap);. +// context = gtk_widget_get_pango_context (label); +// pango_context_set_font_map (context, fontmap);. // // The function takes the following parameters: // // - fontmap (optional): PangoFontMap. -// func (fontchooser *FontChooser) setFontMap(fontmap pango.FontMapper) { gclass := (*C.GtkFontChooserIface)(coreglib.PeekParentClass(fontchooser)) fnarg := gclass.set_font_map @@ -15390,7 +15203,6 @@ func marshalNativeSurface(p uintptr) (interface{}, error) { // The function returns the following values: // // - renderer for self. -// func (self *NativeSurface) Renderer() gsk.Rendererer { var _arg0 *C.GtkNative // out var _cret *C.GskRenderer // in @@ -15428,7 +15240,6 @@ func (self *NativeSurface) Renderer() gsk.Rendererer { // The function returns the following values: // // - surface of self. -// func (self *NativeSurface) Surface() gdk.Surfacer { var _arg0 *C.GtkNative // out var _cret *C.GdkSurface // in @@ -15470,7 +15281,6 @@ func (self *NativeSurface) Surface() gdk.Surfacer { // // - x: return location for the x coordinate. // - y: return location for the y coordinate. -// func (self *NativeSurface) SurfaceTransform() (x, y float64) { var _arg0 *C.GtkNative // out var _arg1 C.double // in @@ -15523,7 +15333,6 @@ func (self *NativeSurface) Unrealize() { // The function returns the following values: // // - native: GtkNative that is associated with surface. -// func NativeSurfaceGetForSurface(surface gdk.Surfacer) *NativeSurface { var _arg1 *C.GdkSurface // out var _cret *C.GtkNative // in @@ -15591,7 +15400,6 @@ func marshalOrientable(p uintptr) (interface{}, error) { // The function returns the following values: // // - orientation of the orientable. -// func (orientable *Orientable) Orientation() Orientation { var _arg0 *C.GtkOrientable // out var _cret C.GtkOrientation // in @@ -15613,7 +15421,6 @@ func (orientable *Orientable) Orientation() Orientation { // The function takes the following parameters: // // - orientation orientable’s new orientation. -// func (orientable *Orientable) SetOrientation(orientation Orientation) { var _arg0 *C.GtkOrientable // out var _arg1 C.GtkOrientation // out @@ -15715,7 +15522,6 @@ func (preview *PrintOperationPreview) EndPreview() { // The function returns the following values: // // - ok: TRUE if the page has been selected for printing. -// func (preview *PrintOperationPreview) IsSelected(pageNr int) bool { var _arg0 *C.GtkPrintOperationPreview // out var _arg1 C.int // out @@ -15751,7 +15557,6 @@ func (preview *PrintOperationPreview) IsSelected(pageNr int) bool { // The function takes the following parameters: // // - pageNr: page to render. -// func (preview *PrintOperationPreview) RenderPage(pageNr int) { var _arg0 *C.GtkPrintOperationPreview // out var _arg1 C.int // out @@ -15783,7 +15588,6 @@ func (preview *PrintOperationPreview) endPreview() { // // - context // - pageSetup -// func (preview *PrintOperationPreview) gotPageSize(context *PrintContext, pageSetup *PageSetup) { gclass := (*C.GtkPrintOperationPreviewIface)(coreglib.PeekParentClass(preview)) fnarg := gclass.got_page_size @@ -15812,7 +15616,6 @@ func (preview *PrintOperationPreview) gotPageSize(context *PrintContext, pageSet // The function returns the following values: // // - ok: TRUE if the page has been selected for printing. -// func (preview *PrintOperationPreview) isSelected(pageNr int) bool { gclass := (*C.GtkPrintOperationPreviewIface)(coreglib.PeekParentClass(preview)) fnarg := gclass.is_selected @@ -15866,7 +15669,6 @@ func (preview *PrintOperationPreview) ready(context *PrintContext) { // The function takes the following parameters: // // - pageNr: page to render. -// func (preview *PrintOperationPreview) renderPage(pageNr int) { gclass := (*C.GtkPrintOperationPreviewIface)(coreglib.PeekParentClass(preview)) fnarg := gclass.render_page @@ -15951,7 +15753,6 @@ func marshalRoot(p uintptr) (interface{}, error) { // The function returns the following values: // // - display of root. -// func (self *Root) Display() *gdk.Display { var _arg0 *C.GtkRoot // out var _cret *C.GdkDisplay // in @@ -15982,7 +15783,6 @@ func (self *Root) Display() *gdk.Display { // The function returns the following values: // // - widget (optional): currently focused widget, or NULL if there is none. -// func (self *Root) Focus() Widgetter { var _arg0 *C.GtkRoot // out var _cret *C.GtkWidget // in @@ -16026,7 +15826,6 @@ func (self *Root) Focus() Widgetter { // // - focus (optional): widget to be the new focus widget, or NULL to unset the // focus widget. -// func (self *Root) SetFocus(focus Widgetter) { var _arg0 *C.GtkRoot // out var _arg1 *C.GtkWidget // out @@ -16127,7 +15926,6 @@ func marshalScrollable(p uintptr) (interface{}, error) { // // - border: return location for the results. // - ok: TRUE if border has been set. -// func (scrollable *Scrollable) Border() (*Border, bool) { var _arg0 *C.GtkScrollable // out var _arg1 C.GtkBorder // in @@ -16154,7 +15952,6 @@ func (scrollable *Scrollable) Border() (*Border, bool) { // The function returns the following values: // // - adjustment: horizontal GtkAdjustment. -// func (scrollable *Scrollable) HAdjustment() *Adjustment { var _arg0 *C.GtkScrollable // out var _cret *C.GtkAdjustment // in @@ -16176,7 +15973,6 @@ func (scrollable *Scrollable) HAdjustment() *Adjustment { // The function returns the following values: // // - scrollablePolicy: horizontal GtkScrollablePolicy. -// func (scrollable *Scrollable) HScrollPolicy() ScrollablePolicy { var _arg0 *C.GtkScrollable // out var _cret C.GtkScrollablePolicy // in @@ -16198,7 +15994,6 @@ func (scrollable *Scrollable) HScrollPolicy() ScrollablePolicy { // The function returns the following values: // // - adjustment: vertical GtkAdjustment. -// func (scrollable *Scrollable) VAdjustment() *Adjustment { var _arg0 *C.GtkScrollable // out var _cret *C.GtkAdjustment // in @@ -16220,7 +16015,6 @@ func (scrollable *Scrollable) VAdjustment() *Adjustment { // The function returns the following values: // // - scrollablePolicy: vertical GtkScrollablePolicy. -// func (scrollable *Scrollable) VScrollPolicy() ScrollablePolicy { var _arg0 *C.GtkScrollable // out var _cret C.GtkScrollablePolicy // in @@ -16242,7 +16036,6 @@ func (scrollable *Scrollable) VScrollPolicy() ScrollablePolicy { // The function takes the following parameters: // // - hadjustment (optional): GtkAdjustment. -// func (scrollable *Scrollable) SetHAdjustment(hadjustment *Adjustment) { var _arg0 *C.GtkScrollable // out var _arg1 *C.GtkAdjustment // out @@ -16265,7 +16058,6 @@ func (scrollable *Scrollable) SetHAdjustment(hadjustment *Adjustment) { // The function takes the following parameters: // // - policy: horizontal GtkScrollablePolicy. -// func (scrollable *Scrollable) SetHScrollPolicy(policy ScrollablePolicy) { var _arg0 *C.GtkScrollable // out var _arg1 C.GtkScrollablePolicy // out @@ -16283,7 +16075,6 @@ func (scrollable *Scrollable) SetHScrollPolicy(policy ScrollablePolicy) { // The function takes the following parameters: // // - vadjustment (optional): GtkAdjustment. -// func (scrollable *Scrollable) SetVAdjustment(vadjustment *Adjustment) { var _arg0 *C.GtkScrollable // out var _arg1 *C.GtkAdjustment // out @@ -16306,7 +16097,6 @@ func (scrollable *Scrollable) SetVAdjustment(vadjustment *Adjustment) { // The function takes the following parameters: // // - policy: vertical GtkScrollablePolicy. -// func (scrollable *Scrollable) SetVScrollPolicy(policy ScrollablePolicy) { var _arg0 *C.GtkScrollable // out var _arg1 C.GtkScrollablePolicy // out @@ -16330,7 +16120,6 @@ func (scrollable *Scrollable) SetVScrollPolicy(policy ScrollablePolicy) { // // - border: return location for the results. // - ok: TRUE if border has been set. -// func (scrollable *Scrollable) border() (*Border, bool) { gclass := (*C.GtkScrollableInterface)(coreglib.PeekParentClass(scrollable)) fnarg := gclass.get_border @@ -16472,7 +16261,6 @@ func (model *SelectionModel) ConnectSelectionChanged(f func(position, nItems uin // - bitset: GtkBitset containing all the values currently selected in model. // If no items are selected, the bitset is empty. The bitset must not be // modified. -// func (model *SelectionModel) Selection() *Bitset { var _arg0 *C.GtkSelectionModel // out var _cret *C.GtkBitset // in @@ -16510,7 +16298,6 @@ func (model *SelectionModel) Selection() *Bitset { // // - bitset: GtkBitset that matches the selection state for the given range // with all other values being undefined. The bitset must not be modified. -// func (model *SelectionModel) SelectionInRange(position, nItems uint) *Bitset { var _arg0 *C.GtkSelectionModel // out var _arg1 C.guint // out @@ -16548,7 +16335,6 @@ func (model *SelectionModel) SelectionInRange(position, nItems uint) *Bitset { // The function returns the following values: // // - ok: TRUE if the item is selected. -// func (model *SelectionModel) IsSelected(position uint) bool { var _arg0 *C.GtkSelectionModel // out var _arg1 C.guint // out @@ -16576,7 +16362,6 @@ func (model *SelectionModel) IsSelected(position uint) bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean that all items are now selected. -// func (model *SelectionModel) SelectAll() bool { var _arg0 *C.GtkSelectionModel // out var _cret C.gboolean // in @@ -16606,7 +16391,6 @@ func (model *SelectionModel) SelectAll() bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean the item was selected. -// func (model *SelectionModel) SelectItem(position uint, unselectRest bool) bool { var _arg0 *C.GtkSelectionModel // out var _arg1 C.guint // out @@ -16645,7 +16429,6 @@ func (model *SelectionModel) SelectItem(position uint, unselectRest bool) bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean the range was selected. -// func (model *SelectionModel) SelectRange(position, nItems uint, unselectRest bool) bool { var _arg0 *C.GtkSelectionModel // out var _arg1 C.guint // out @@ -16684,7 +16467,6 @@ func (model *SelectionModel) SelectRange(position, nItems uint, unselectRest boo // // - position: first changed item. // - nItems: number of changed items. -// func (model *SelectionModel) SelectionChanged(position, nItems uint) { var _arg0 *C.GtkSelectionModel // out var _arg1 C.guint // out @@ -16712,21 +16494,21 @@ func (model *SelectionModel) SelectionChanged(position, nItems uint) { // // In pseudocode, it would look something like this: // -// for (i = 0; i < n_items; i++) -// { -// // don't change values not in the mask -// if (!gtk_bitset_contains (mask, i)) -// continue; +// for (i = 0; i < n_items; i++) +// { +// // don't change values not in the mask +// if (!gtk_bitset_contains (mask, i)) +// continue; // -// if (gtk_bitset_contains (selected, i)) -// select_item (i); -// else -// unselect_item (i); -// } +// if (gtk_bitset_contains (selected, i)) +// select_item (i); +// else +// unselect_item (i); +// } // -// gtk_selection_model_selection_changed (model, -// first_changed_item, -// n_changed_items); +// gtk_selection_model_selection_changed (model, +// first_changed_item, +// n_changed_items); // // mask and selected must not be modified. They may refer to the same bitset, // which would mean that every item in the set should be selected. @@ -16740,7 +16522,6 @@ func (model *SelectionModel) SelectionChanged(position, nItems uint) { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean that all items were updated according to the inputs. -// func (model *SelectionModel) SetSelection(selected, mask *Bitset) bool { var _arg0 *C.GtkSelectionModel // out var _arg1 *C.GtkBitset // out @@ -16771,7 +16552,6 @@ func (model *SelectionModel) SetSelection(selected, mask *Bitset) bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean that all items are now unselected. -// func (model *SelectionModel) UnselectAll() bool { var _arg0 *C.GtkSelectionModel // out var _cret C.gboolean // in @@ -16800,7 +16580,6 @@ func (model *SelectionModel) UnselectAll() bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean the item was unselected. -// func (model *SelectionModel) UnselectItem(position uint) bool { var _arg0 *C.GtkSelectionModel // out var _arg1 C.guint // out @@ -16833,7 +16612,6 @@ func (model *SelectionModel) UnselectItem(position uint) bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean the range was unselected. -// func (model *SelectionModel) UnselectRange(position, nItems uint) bool { var _arg0 *C.GtkSelectionModel // out var _arg1 C.guint // out @@ -16873,7 +16651,6 @@ func (model *SelectionModel) UnselectRange(position, nItems uint) bool { // // - bitset: GtkBitset that matches the selection state for the given range // with all other values being undefined. The bitset must not be modified. -// func (model *SelectionModel) selectionInRange(position, nItems uint) *Bitset { gclass := (*C.GtkSelectionModelInterface)(coreglib.PeekParentClass(model)) fnarg := gclass.get_selection_in_range @@ -16914,7 +16691,6 @@ func (model *SelectionModel) selectionInRange(position, nItems uint) *Bitset { // The function returns the following values: // // - ok: TRUE if the item is selected. -// func (model *SelectionModel) isSelected(position uint) bool { gclass := (*C.GtkSelectionModelInterface)(coreglib.PeekParentClass(model)) fnarg := gclass.is_selected @@ -16945,7 +16721,6 @@ func (model *SelectionModel) isSelected(position uint) bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean that all items are now selected. -// func (model *SelectionModel) selectAll() bool { gclass := (*C.GtkSelectionModelInterface)(coreglib.PeekParentClass(model)) fnarg := gclass.select_all @@ -16978,7 +16753,6 @@ func (model *SelectionModel) selectAll() bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean the item was selected. -// func (model *SelectionModel) selectItem(position uint, unselectRest bool) bool { gclass := (*C.GtkSelectionModelInterface)(coreglib.PeekParentClass(model)) fnarg := gclass.select_item @@ -17020,7 +16794,6 @@ func (model *SelectionModel) selectItem(position uint, unselectRest bool) bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean the range was selected. -// func (model *SelectionModel) selectRange(position, nItems uint, unselectRest bool) bool { gclass := (*C.GtkSelectionModelInterface)(coreglib.PeekParentClass(model)) fnarg := gclass.select_range @@ -17065,21 +16838,21 @@ func (model *SelectionModel) selectRange(position, nItems uint, unselectRest boo // // In pseudocode, it would look something like this: // -// for (i = 0; i < n_items; i++) -// { -// // don't change values not in the mask -// if (!gtk_bitset_contains (mask, i)) -// continue; +// for (i = 0; i < n_items; i++) +// { +// // don't change values not in the mask +// if (!gtk_bitset_contains (mask, i)) +// continue; // -// if (gtk_bitset_contains (selected, i)) -// select_item (i); -// else -// unselect_item (i); -// } +// if (gtk_bitset_contains (selected, i)) +// select_item (i); +// else +// unselect_item (i); +// } // -// gtk_selection_model_selection_changed (model, -// first_changed_item, -// n_changed_items); +// gtk_selection_model_selection_changed (model, +// first_changed_item, +// n_changed_items); // // mask and selected must not be modified. They may refer to the same bitset, // which would mean that every item in the set should be selected. @@ -17093,7 +16866,6 @@ func (model *SelectionModel) selectRange(position, nItems uint, unselectRest boo // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean that all items were updated according to the inputs. -// func (model *SelectionModel) setSelection(selected, mask *Bitset) bool { gclass := (*C.GtkSelectionModelInterface)(coreglib.PeekParentClass(model)) fnarg := gclass.set_selection @@ -17127,7 +16899,6 @@ func (model *SelectionModel) setSelection(selected, mask *Bitset) bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean that all items are now unselected. -// func (model *SelectionModel) unselectAll() bool { gclass := (*C.GtkSelectionModelInterface)(coreglib.PeekParentClass(model)) fnarg := gclass.unselect_all @@ -17159,7 +16930,6 @@ func (model *SelectionModel) unselectAll() bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean the item was unselected. -// func (model *SelectionModel) unselectItem(position uint) bool { gclass := (*C.GtkSelectionModelInterface)(coreglib.PeekParentClass(model)) fnarg := gclass.unselect_item @@ -17195,7 +16965,6 @@ func (model *SelectionModel) unselectItem(position uint) bool { // // - ok: TRUE if this action was supported and no fallback should be tried. // This does not mean the range was unselected. -// func (model *SelectionModel) unselectRange(position, nItems uint) bool { gclass := (*C.GtkSelectionModelInterface)(coreglib.PeekParentClass(model)) fnarg := gclass.unselect_range @@ -17407,7 +17176,6 @@ func marshalTreeDragDest(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: whether a new row was created before position dest. -// func (dragDest *TreeDragDest) DragDataReceived(dest *TreePath, value *coreglib.Value) bool { var _arg0 *C.GtkTreeDragDest // out var _arg1 *C.GtkTreePath // out @@ -17446,7 +17214,6 @@ func (dragDest *TreeDragDest) DragDataReceived(dest *TreePath, value *coreglib.V // The function returns the following values: // // - ok: TRUE if a drop is possible before dest_path. -// func (dragDest *TreeDragDest) RowDropPossible(destPath *TreePath, value *coreglib.Value) bool { var _arg0 *C.GtkTreeDragDest // out var _arg1 *C.GtkTreePath // out @@ -17485,7 +17252,6 @@ func (dragDest *TreeDragDest) RowDropPossible(destPath *TreePath, value *coregli // The function returns the following values: // // - ok: whether a new row was created before position dest. -// func (dragDest *TreeDragDest) dragDataReceived(dest *TreePath, value *coreglib.Value) bool { gclass := (*C.GtkTreeDragDestIface)(coreglib.PeekParentClass(dragDest)) fnarg := gclass.drag_data_received @@ -17527,7 +17293,6 @@ func (dragDest *TreeDragDest) dragDataReceived(dest *TreePath, value *coreglib.V // The function returns the following values: // // - ok: TRUE if a drop is possible before dest_path. -// func (dragDest *TreeDragDest) rowDropPossible(destPath *TreePath, value *coreglib.Value) bool { gclass := (*C.GtkTreeDragDestIface)(coreglib.PeekParentClass(dragDest)) fnarg := gclass.row_drop_possible @@ -17607,7 +17372,6 @@ func marshalTreeDragSource(p uintptr) (interface{}, error) { // The function returns the following values: // // - ok: TRUE if the row was successfully deleted. -// func (dragSource *TreeDragSource) DragDataDelete(path *TreePath) bool { var _arg0 *C.GtkTreeDragSource // out var _arg1 *C.GtkTreePath // out @@ -17639,7 +17403,6 @@ func (dragSource *TreeDragSource) DragDataDelete(path *TreePath) bool { // The function returns the following values: // // - contentProvider (optional) for the given path or NULL if none exists. -// func (dragSource *TreeDragSource) DragDataGet(path *TreePath) *gdk.ContentProvider { var _arg0 *C.GtkTreeDragSource // out var _arg1 *C.GtkTreePath // out @@ -17677,7 +17440,6 @@ func (dragSource *TreeDragSource) DragDataGet(path *TreePath) *gdk.ContentProvid // The function returns the following values: // // - ok: TRUE if the row can be dragged. -// func (dragSource *TreeDragSource) RowDraggable(path *TreePath) bool { var _arg0 *C.GtkTreeDragSource // out var _arg1 *C.GtkTreePath // out @@ -17711,7 +17473,6 @@ func (dragSource *TreeDragSource) RowDraggable(path *TreePath) bool { // The function returns the following values: // // - ok: TRUE if the row was successfully deleted. -// func (dragSource *TreeDragSource) dragDataDelete(path *TreePath) bool { gclass := (*C.GtkTreeDragSourceIface)(coreglib.PeekParentClass(dragSource)) fnarg := gclass.drag_data_delete @@ -17746,7 +17507,6 @@ func (dragSource *TreeDragSource) dragDataDelete(path *TreePath) bool { // The function returns the following values: // // - contentProvider (optional) for the given path or NULL if none exists. -// func (dragSource *TreeDragSource) dragDataGet(path *TreePath) *gdk.ContentProvider { gclass := (*C.GtkTreeDragSourceIface)(coreglib.PeekParentClass(dragSource)) fnarg := gclass.drag_data_get @@ -17787,7 +17547,6 @@ func (dragSource *TreeDragSource) dragDataGet(path *TreePath) *gdk.ContentProvid // The function returns the following values: // // - ok: TRUE if the row can be dragged. -// func (dragSource *TreeDragSource) rowDraggable(path *TreePath) bool { gclass := (*C.GtkTreeDragSourceIface)(coreglib.PeekParentClass(dragSource)) fnarg := gclass.row_draggable @@ -17885,30 +17644,30 @@ func (dragSource *TreeDragSource) rowDraggable(path *TreePath) bool { // // Acquiring a GtkTreeIter // -// // Three ways of getting the iter pointing to the location -// GtkTreePath *path; -// GtkTreeIter iter; -// GtkTreeIter parent_iter; -// -// // get the iterator from a string -// gtk_tree_model_get_iter_from_string (model, -// &iter, -// "3:2:5"); -// -// // get the iterator from a path -// path = gtk_tree_path_new_from_string ("3:2:5"); -// gtk_tree_model_get_iter (model, &iter, path); -// gtk_tree_path_free (path); -// -// // walk the tree to find the iterator -// gtk_tree_model_iter_nth_child (model, &iter, -// NULL, 3); -// parent_iter = iter; -// gtk_tree_model_iter_nth_child (model, &iter, -// &parent_iter, 2); -// parent_iter = iter; -// gtk_tree_model_iter_nth_child (model, &iter, -// &parent_iter, 5); +// // Three ways of getting the iter pointing to the location +// GtkTreePath *path; +// GtkTreeIter iter; +// GtkTreeIter parent_iter; +// +// // get the iterator from a string +// gtk_tree_model_get_iter_from_string (model, +// &iter, +// "3:2:5"); +// +// // get the iterator from a path +// path = gtk_tree_path_new_from_string ("3:2:5"); +// gtk_tree_model_get_iter (model, &iter, path); +// gtk_tree_path_free (path); +// +// // walk the tree to find the iterator +// gtk_tree_model_iter_nth_child (model, &iter, +// NULL, 3); +// parent_iter = iter; +// gtk_tree_model_iter_nth_child (model, &iter, +// &parent_iter, 2); +// parent_iter = iter; +// gtk_tree_model_iter_nth_child (model, &iter, +// &parent_iter, 5); // // This second example shows a quick way of iterating through a list and getting // a string and an integer from each row. The populate_model() function used @@ -17917,53 +17676,53 @@ func (dragSource *TreeDragSource) rowDraggable(path *TreePath) bool { // // Reading data from a GtkTreeModel // -// enum -// { -// STRING_COLUMN, -// INT_COLUMN, -// N_COLUMNS -// }; -// -// ... -// -// GtkTreeModel *list_store; -// GtkTreeIter iter; -// gboolean valid; -// int row_count = 0; -// -// // make a new list_store -// list_store = gtk_list_store_new (N_COLUMNS, -// G_TYPE_STRING, -// G_TYPE_INT); -// -// // Fill the list store with data -// populate_model (list_store); -// -// // Get the first iter in the list, check it is valid and walk -// // through the list, reading each row. -// -// valid = gtk_tree_model_get_iter_first (list_store, -// &iter); -// while (valid) -// { -// char *str_data; -// int int_data; -// -// // Make sure you terminate calls to gtk_tree_model_get() with a “-1” value -// gtk_tree_model_get (list_store, &iter, -// STRING_COLUMN, &str_data, -// INT_COLUMN, &int_data, -// -1); -// -// // Do something with the data -// g_print ("Row d: (s,d)\n", -// row_count, str_data, int_data); -// g_free (str_data); -// -// valid = gtk_tree_model_iter_next (list_store, -// &iter); -// row_count++; -// } +// enum +// { +// STRING_COLUMN, +// INT_COLUMN, +// N_COLUMNS +// }; +// +// ... +// +// GtkTreeModel *list_store; +// GtkTreeIter iter; +// gboolean valid; +// int row_count = 0; +// +// // make a new list_store +// list_store = gtk_list_store_new (N_COLUMNS, +// G_TYPE_STRING, +// G_TYPE_INT); +// +// // Fill the list store with data +// populate_model (list_store); +// +// // Get the first iter in the list, check it is valid and walk +// // through the list, reading each row. +// +// valid = gtk_tree_model_get_iter_first (list_store, +// &iter); +// while (valid) +// { +// char *str_data; +// int int_data; +// +// // Make sure you terminate calls to gtk_tree_model_get() with a “-1” value +// gtk_tree_model_get (list_store, &iter, +// STRING_COLUMN, &str_data, +// INT_COLUMN, &int_data, +// -1); +// +// // Do something with the data +// g_print ("Row d: (s,d)\n", +// row_count, str_data, int_data); +// g_free (str_data); +// +// valid = gtk_tree_model_iter_next (list_store, +// &iter); +// row_count++; +// } // // The TreeModel interface contains two methods for reference counting: // gtk_tree_model_ref_node() and gtk_tree_model_unref_node(). These two methods @@ -18143,7 +17902,6 @@ func (childModel *TreeModel) ConnectRowsReordered(f func(path *TreePath, iter *T // The function returns the following values: // // - treeModel: new TreeModel. -// func (childModel *TreeModel) NewFilter(root *TreePath) *TreeModel { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreePath // out @@ -18173,7 +17931,6 @@ func (childModel *TreeModel) NewFilter(root *TreePath) *TreeModel { // The function takes the following parameters: // // - fn: function to be called on each row. -// func (model *TreeModel) ForEach(fn TreeModelForEachFunc) { var _arg0 *C.GtkTreeModel // out var _arg1 C.GtkTreeModelForeachFunc // out @@ -18198,7 +17955,6 @@ func (model *TreeModel) ForEach(fn TreeModelForEachFunc) { // The function returns the following values: // // - gType: type of the column. -// func (treeModel *TreeModel) ColumnType(index_ int) coreglib.Type { var _arg0 *C.GtkTreeModel // out var _arg1 C.int // out @@ -18226,7 +17982,6 @@ func (treeModel *TreeModel) ColumnType(index_ int) coreglib.Type { // The function returns the following values: // // - treeModelFlags flags supported by this interface. -// func (treeModel *TreeModel) Flags() TreeModelFlags { var _arg0 *C.GtkTreeModel // out var _cret C.GtkTreeModelFlags // in @@ -18254,7 +18009,6 @@ func (treeModel *TreeModel) Flags() TreeModelFlags { // // - iter: uninitialized TreeIter-struct. // - ok: TRUE, if iter was set. -// func (treeModel *TreeModel) Iter(path *TreePath) (*TreeIter, bool) { var _arg0 *C.GtkTreeModel // out var _arg1 C.GtkTreeIter // in @@ -18286,7 +18040,6 @@ func (treeModel *TreeModel) Iter(path *TreePath) (*TreeIter, bool) { // // - iter: uninitialized TreeIter-struct. // - ok: TRUE, if iter was set. -// func (treeModel *TreeModel) IterFirst() (*TreeIter, bool) { var _arg0 *C.GtkTreeModel // out var _arg1 C.GtkTreeIter // in @@ -18319,7 +18072,6 @@ func (treeModel *TreeModel) IterFirst() (*TreeIter, bool) { // // - iter: uninitialized TreeIter-struct. // - ok: TRUE, if iter was set. -// func (treeModel *TreeModel) IterFromString(pathString string) (*TreeIter, bool) { var _arg0 *C.GtkTreeModel // out var _arg1 C.GtkTreeIter // in @@ -18350,7 +18102,6 @@ func (treeModel *TreeModel) IterFromString(pathString string) (*TreeIter, bool) // The function returns the following values: // // - gint: number of columns. -// func (treeModel *TreeModel) NColumns() int { var _arg0 *C.GtkTreeModel // out var _cret C.int // in @@ -18378,7 +18129,6 @@ func (treeModel *TreeModel) NColumns() int { // The function returns the following values: // // - treePath: newly-created TreePath-struct. -// func (treeModel *TreeModel) Path(iter *TreeIter) *TreePath { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreeIter // out @@ -18416,7 +18166,6 @@ func (treeModel *TreeModel) Path(iter *TreeIter) *TreePath { // The function returns the following values: // // - utf8 (optional): newly-allocated string. Must be freed with g_free(). -// func (treeModel *TreeModel) StringFromIter(iter *TreeIter) string { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreeIter // out @@ -18452,7 +18201,6 @@ func (treeModel *TreeModel) StringFromIter(iter *TreeIter) string { // The function returns the following values: // // - value: empty #GValue to set. -// func (treeModel *TreeModel) Value(iter *TreeIter, column int) coreglib.Value { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreeIter // out @@ -18491,7 +18239,6 @@ func (treeModel *TreeModel) Value(iter *TreeIter, column int) coreglib.Value { // // - iter: new TreeIter-struct to be set to the child. // - ok: TRUE, if iter has been set to the first child. -// func (treeModel *TreeModel) IterChildren(parent *TreeIter) (*TreeIter, bool) { var _arg0 *C.GtkTreeModel // out var _arg1 C.GtkTreeIter // in @@ -18527,7 +18274,6 @@ func (treeModel *TreeModel) IterChildren(parent *TreeIter) (*TreeIter, bool) { // The function returns the following values: // // - ok: TRUE if iter has children. -// func (treeModel *TreeModel) IterHasChild(iter *TreeIter) bool { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreeIter // out @@ -18561,7 +18307,6 @@ func (treeModel *TreeModel) IterHasChild(iter *TreeIter) bool { // The function returns the following values: // // - gint: number of children of iter. -// func (treeModel *TreeModel) IterNChildren(iter *TreeIter) int { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreeIter // out @@ -18594,7 +18339,6 @@ func (treeModel *TreeModel) IterNChildren(iter *TreeIter) int { // The function returns the following values: // // - ok: TRUE if iter has been changed to the next node. -// func (treeModel *TreeModel) IterNext(iter *TreeIter) bool { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreeIter // out @@ -18632,7 +18376,6 @@ func (treeModel *TreeModel) IterNext(iter *TreeIter) bool { // // - iter to set to the nth child. // - ok: TRUE, if parent has an n-th child. -// func (treeModel *TreeModel) IterNthChild(parent *TreeIter, n int) (*TreeIter, bool) { var _arg0 *C.GtkTreeModel // out var _arg1 C.GtkTreeIter // in @@ -18679,7 +18422,6 @@ func (treeModel *TreeModel) IterNthChild(parent *TreeIter, n int) (*TreeIter, bo // // - iter: new TreeIter-struct to set to the parent. // - ok: TRUE, if iter is set to the parent of child. -// func (treeModel *TreeModel) IterParent(child *TreeIter) (*TreeIter, bool) { var _arg0 *C.GtkTreeModel // out var _arg1 C.GtkTreeIter // in @@ -18716,7 +18458,6 @@ func (treeModel *TreeModel) IterParent(child *TreeIter) (*TreeIter, bool) { // The function returns the following values: // // - ok: TRUE if iter has been changed to the previous node. -// func (treeModel *TreeModel) IterPrevious(iter *TreeIter) bool { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreeIter // out @@ -18757,7 +18498,6 @@ func (treeModel *TreeModel) IterPrevious(iter *TreeIter) bool { // The function takes the following parameters: // // - iter: TreeIter-struct. -// func (treeModel *TreeModel) RefNode(iter *TreeIter) { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreeIter // out @@ -18776,7 +18516,6 @@ func (treeModel *TreeModel) RefNode(iter *TreeIter) { // // - path pointing to the changed row. // - iter: valid TreeIter-struct pointing to the changed row. -// func (treeModel *TreeModel) RowChanged(path *TreePath, iter *TreeIter) { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreePath // out @@ -18804,7 +18543,6 @@ func (treeModel *TreeModel) RowChanged(path *TreePath, iter *TreeIter) { // The function takes the following parameters: // // - path pointing to the previous location of the deleted row. -// func (treeModel *TreeModel) RowDeleted(path *TreePath) { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreePath // out @@ -18825,7 +18563,6 @@ func (treeModel *TreeModel) RowDeleted(path *TreePath) { // // - path pointing to the changed row. // - iter: valid TreeIter-struct pointing to the changed row. -// func (treeModel *TreeModel) RowHasChildToggled(path *TreePath, iter *TreeIter) { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreePath // out @@ -18847,7 +18584,6 @@ func (treeModel *TreeModel) RowHasChildToggled(path *TreePath, iter *TreeIter) { // // - path pointing to the inserted row. // - iter: valid TreeIter-struct pointing to the inserted row. -// func (treeModel *TreeModel) RowInserted(path *TreePath, iter *TreeIter) { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreePath // out @@ -18874,7 +18610,6 @@ func (treeModel *TreeModel) RowInserted(path *TreePath, iter *TreeIter) { // children have been reordered, or NULL if the depth of path is 0. // - newOrder: array of integers mapping the current position of each child to // its old position before the re-ordering, i.e. new_order[newpos] = oldpos. -// func (treeModel *TreeModel) RowsReordered(path *TreePath, iter *TreeIter, newOrder []int) { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreePath // out @@ -18915,7 +18650,6 @@ func (treeModel *TreeModel) RowsReordered(path *TreePath, iter *TreeIter, newOrd // The function takes the following parameters: // // - iter: TreeIter-struct. -// func (treeModel *TreeModel) UnrefNode(iter *TreeIter) { var _arg0 *C.GtkTreeModel // out var _arg1 *C.GtkTreeIter // out @@ -18937,7 +18671,6 @@ func (treeModel *TreeModel) UnrefNode(iter *TreeIter) { // The function returns the following values: // // - gType: type of the column. -// func (treeModel *TreeModel) columnType(index_ int) coreglib.Type { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.get_column_type @@ -18968,7 +18701,6 @@ func (treeModel *TreeModel) columnType(index_ int) coreglib.Type { // The function returns the following values: // // - treeModelFlags flags supported by this interface. -// func (treeModel *TreeModel) flags() TreeModelFlags { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.get_flags @@ -18999,7 +18731,6 @@ func (treeModel *TreeModel) flags() TreeModelFlags { // // - iter: uninitialized TreeIter-struct. // - ok: TRUE, if iter was set. -// func (treeModel *TreeModel) iter(path *TreePath) (*TreeIter, bool) { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.get_iter @@ -19032,7 +18763,6 @@ func (treeModel *TreeModel) iter(path *TreePath) (*TreeIter, bool) { // The function returns the following values: // // - gint: number of columns. -// func (treeModel *TreeModel) nColumns() int { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.get_n_columns @@ -19063,7 +18793,6 @@ func (treeModel *TreeModel) nColumns() int { // The function returns the following values: // // - treePath: newly-created TreePath-struct. -// func (treeModel *TreeModel) path(iter *TreeIter) *TreePath { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.get_path @@ -19105,7 +18834,6 @@ func (treeModel *TreeModel) path(iter *TreeIter) *TreePath { // The function returns the following values: // // - value: empty #GValue to set. -// func (treeModel *TreeModel) value(iter *TreeIter, column int) coreglib.Value { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.get_value @@ -19147,7 +18875,6 @@ func (treeModel *TreeModel) value(iter *TreeIter, column int) coreglib.Value { // // - iter: new TreeIter-struct to be set to the child. // - ok: TRUE, if iter has been set to the first child. -// func (treeModel *TreeModel) iterChildren(parent *TreeIter) (*TreeIter, bool) { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.iter_children @@ -19186,7 +18913,6 @@ func (treeModel *TreeModel) iterChildren(parent *TreeIter) (*TreeIter, bool) { // The function returns the following values: // // - ok: TRUE if iter has children. -// func (treeModel *TreeModel) iterHasChild(iter *TreeIter) bool { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.iter_has_child @@ -19223,7 +18949,6 @@ func (treeModel *TreeModel) iterHasChild(iter *TreeIter) bool { // The function returns the following values: // // - gint: number of children of iter. -// func (treeModel *TreeModel) iterNChildren(iter *TreeIter) int { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.iter_n_children @@ -19259,7 +18984,6 @@ func (treeModel *TreeModel) iterNChildren(iter *TreeIter) int { // The function returns the following values: // // - ok: TRUE if iter has been changed to the next node. -// func (treeModel *TreeModel) iterNext(iter *TreeIter) bool { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.iter_next @@ -19300,7 +19024,6 @@ func (treeModel *TreeModel) iterNext(iter *TreeIter) bool { // // - iter to set to the nth child. // - ok: TRUE, if parent has an n-th child. -// func (treeModel *TreeModel) iterNthChild(parent *TreeIter, n int) (*TreeIter, bool) { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.iter_nth_child @@ -19350,7 +19073,6 @@ func (treeModel *TreeModel) iterNthChild(parent *TreeIter, n int) (*TreeIter, bo // // - iter: new TreeIter-struct to set to the parent. // - ok: TRUE, if iter is set to the parent of child. -// func (treeModel *TreeModel) iterParent(child *TreeIter) (*TreeIter, bool) { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.iter_parent @@ -19390,7 +19112,6 @@ func (treeModel *TreeModel) iterParent(child *TreeIter) (*TreeIter, bool) { // The function returns the following values: // // - ok: TRUE if iter has been changed to the previous node. -// func (treeModel *TreeModel) iterPrevious(iter *TreeIter) bool { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.iter_previous @@ -19434,7 +19155,6 @@ func (treeModel *TreeModel) iterPrevious(iter *TreeIter) bool { // The function takes the following parameters: // // - iter: TreeIter-struct. -// func (treeModel *TreeModel) refNode(iter *TreeIter) { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.ref_node @@ -19456,7 +19176,6 @@ func (treeModel *TreeModel) refNode(iter *TreeIter) { // // - path pointing to the changed row. // - iter: valid TreeIter-struct pointing to the changed row. -// func (treeModel *TreeModel) rowChanged(path *TreePath, iter *TreeIter) { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.row_changed @@ -19487,7 +19206,6 @@ func (treeModel *TreeModel) rowChanged(path *TreePath, iter *TreeIter) { // The function takes the following parameters: // // - path pointing to the previous location of the deleted row. -// func (treeModel *TreeModel) rowDeleted(path *TreePath) { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.row_deleted @@ -19511,7 +19229,6 @@ func (treeModel *TreeModel) rowDeleted(path *TreePath) { // // - path pointing to the changed row. // - iter: valid TreeIter-struct pointing to the changed row. -// func (treeModel *TreeModel) rowHasChildToggled(path *TreePath, iter *TreeIter) { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.row_has_child_toggled @@ -19536,7 +19253,6 @@ func (treeModel *TreeModel) rowHasChildToggled(path *TreePath, iter *TreeIter) { // // - path pointing to the inserted row. // - iter: valid TreeIter-struct pointing to the inserted row. -// func (treeModel *TreeModel) rowInserted(path *TreePath, iter *TreeIter) { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.row_inserted @@ -19566,7 +19282,6 @@ func (treeModel *TreeModel) rowInserted(path *TreePath, iter *TreeIter) { // The function takes the following parameters: // // - iter: TreeIter-struct. -// func (treeModel *TreeModel) unrefNode(iter *TreeIter) { gclass := (*C.GtkTreeModelIface)(coreglib.PeekParentClass(treeModel)) fnarg := gclass.unref_node @@ -19654,7 +19369,6 @@ func (sortable *TreeSortable) ConnectSortColumnChanged(f func()) coreglib.Signal // - sortColumnId: sort column id to be filled in. // - order to be filled in. // - ok: TRUE if the sort column is not one of the special sort column ids. -// func (sortable *TreeSortable) SortColumnID() (int, SortType, bool) { var _arg0 *C.GtkTreeSortable // out var _arg1 C.int // in @@ -19686,7 +19400,6 @@ func (sortable *TreeSortable) SortColumnID() (int, SortType, bool) { // The function returns the following values: // // - ok: TRUE, if the model has a default sort function. -// func (sortable *TreeSortable) HasDefaultSortFunc() bool { var _arg0 *C.GtkTreeSortable // out var _cret C.gboolean // in @@ -19718,7 +19431,6 @@ func (sortable *TreeSortable) HasDefaultSortFunc() bool { // The function takes the following parameters: // // - sortFunc: comparison function. -// func (sortable *TreeSortable) SetDefaultSortFunc(sortFunc TreeIterCompareFunc) { var _arg0 *C.GtkTreeSortable // out var _arg1 C.GtkTreeIterCompareFunc // out @@ -19749,7 +19461,6 @@ func (sortable *TreeSortable) SetDefaultSortFunc(sortFunc TreeIterCompareFunc) { // // - sortColumnId: sort column id to set. // - order: sort order of the column. -// func (sortable *TreeSortable) SetSortColumnID(sortColumnId int, order SortType) { var _arg0 *C.GtkTreeSortable // out var _arg1 C.int // out @@ -19773,7 +19484,6 @@ func (sortable *TreeSortable) SetSortColumnID(sortColumnId int, order SortType) // // - sortColumnId: sort column id to set the function for. // - sortFunc: comparison function. -// func (sortable *TreeSortable) SetSortFunc(sortColumnId int, sortFunc TreeIterCompareFunc) { var _arg0 *C.GtkTreeSortable // out var _arg1 C.int // out @@ -19814,7 +19524,6 @@ func (sortable *TreeSortable) SortColumnChanged() { // - sortColumnId: sort column id to be filled in. // - order to be filled in. // - ok: TRUE if the sort column is not one of the special sort column ids. -// func (sortable *TreeSortable) sortColumnID() (int, SortType, bool) { gclass := (*C.GtkTreeSortableIface)(coreglib.PeekParentClass(sortable)) fnarg := gclass.get_sort_column_id @@ -19849,7 +19558,6 @@ func (sortable *TreeSortable) sortColumnID() (int, SortType, bool) { // The function returns the following values: // // - ok: TRUE, if the model has a default sort function. -// func (sortable *TreeSortable) hasDefaultSortFunc() bool { gclass := (*C.GtkTreeSortableIface)(coreglib.PeekParentClass(sortable)) fnarg := gclass.has_default_sort_func @@ -19884,7 +19592,6 @@ func (sortable *TreeSortable) hasDefaultSortFunc() bool { // The function takes the following parameters: // // - sortFunc: comparison function. -// func (sortable *TreeSortable) setDefaultSortFunc(sortFunc TreeIterCompareFunc) { gclass := (*C.GtkTreeSortableIface)(coreglib.PeekParentClass(sortable)) fnarg := gclass.set_default_sort_func @@ -19918,7 +19625,6 @@ func (sortable *TreeSortable) setDefaultSortFunc(sortFunc TreeIterCompareFunc) { // // - sortColumnId: sort column id to set. // - order: sort order of the column. -// func (sortable *TreeSortable) setSortColumnID(sortColumnId int, order SortType) { gclass := (*C.GtkTreeSortableIface)(coreglib.PeekParentClass(sortable)) fnarg := gclass.set_sort_column_id @@ -19945,7 +19651,6 @@ func (sortable *TreeSortable) setSortColumnID(sortColumnId int, order SortType) // // - sortColumnId: sort column id to set the function for. // - sortFunc: comparison function. -// func (sortable *TreeSortable) setSortFunc(sortColumnId int, sortFunc TreeIterCompareFunc) { gclass := (*C.GtkTreeSortableIface)(coreglib.PeekParentClass(sortable)) fnarg := gclass.set_sort_func @@ -20048,7 +19753,6 @@ func (self *ATContext) ConnectStateChange(f func()) coreglib.SignalHandle { // The function returns the following values: // // - atContext (optional): GtkATContext. -// func NewATContextCreate(accessibleRole AccessibleRole, accessible Accessibler, display *gdk.Display) *ATContext { var _arg1 C.GtkAccessibleRole // out var _arg2 *C.GtkAccessible // out @@ -20078,7 +19782,6 @@ func NewATContextCreate(accessibleRole AccessibleRole, accessible Accessibler, d // The function returns the following values: // // - accessible: GtkAccessible. -// func (self *ATContext) Accessible() *Accessible { var _arg0 *C.GtkATContext // out var _cret *C.GtkAccessible // in @@ -20100,7 +19803,6 @@ func (self *ATContext) Accessible() *Accessible { // The function returns the following values: // // - accessibleRole: GtkAccessibleRole. -// func (self *ATContext) AccessibleRole() AccessibleRole { var _arg0 *C.GtkATContext // out var _cret C.GtkAccessibleRole // in @@ -20148,15 +19850,15 @@ func (self *ATContext) AccessibleRole() AccessibleRole { // explicitly when constructing a GtkAboutDialog, as shown in the following // example: // -// GFile *logo_file = g_file_new_for_path ("./logo.png"); -// GdkTexture *example_logo = gdk_texture_new_from_file (logo_file, NULL); -// g_object_unref (logo_file); +// GFile *logo_file = g_file_new_for_path ("./logo.png"); +// GdkTexture *example_logo = gdk_texture_new_from_file (logo_file, NULL); +// g_object_unref (logo_file); // -// gtk_show_about_dialog (NULL, -// "program-name", "ExampleCode", -// "logo", example_logo, -// "title", _("About ExampleCode"), -// NULL); +// gtk_show_about_dialog (NULL, +// "program-name", "ExampleCode", +// "logo", example_logo, +// "title", _("About ExampleCode"), +// NULL); // // # CSS nodes // @@ -20234,7 +19936,6 @@ func (about *AboutDialog) ConnectActivateLink(f func(uri string) (ok bool)) core // The function returns the following values: // // - aboutDialog: newly created GtkAboutDialog. -// func NewAboutDialog() *AboutDialog { var _cret *C.GtkWidget // in @@ -20253,7 +19954,6 @@ func NewAboutDialog() *AboutDialog { // // - sectionName: name of the section. // - people who belong to that section. -// func (about *AboutDialog) AddCreditSection(sectionName string, people []string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -20289,7 +19989,6 @@ func (about *AboutDialog) AddCreditSection(sectionName string, people []string) // // - utf8s: a NULL-terminated string array containing the artists. The array // is owned by the about dialog and must not be modified. -// func (about *AboutDialog) Artists() []string { var _arg0 *C.GtkAboutDialog // out var _cret **C.char // in @@ -20325,7 +20024,6 @@ func (about *AboutDialog) Artists() []string { // // - utf8s: a NULL-terminated string array containing the authors. The array // is owned by the about dialog and must not be modified. -// func (about *AboutDialog) Authors() []string { var _arg0 *C.GtkAboutDialog // out var _cret **C.char // in @@ -20360,7 +20058,6 @@ func (about *AboutDialog) Authors() []string { // // - utf8 (optional): comments. The string is owned by the about dialog and // must not be modified. -// func (about *AboutDialog) Comments() string { var _arg0 *C.GtkAboutDialog // out var _cret *C.char // in @@ -20385,7 +20082,6 @@ func (about *AboutDialog) Comments() string { // // - utf8 (optional): copyright string. The string is owned by the about // dialog and must not be modified. -// func (about *AboutDialog) Copyright() string { var _arg0 *C.GtkAboutDialog // out var _cret *C.char // in @@ -20411,7 +20107,6 @@ func (about *AboutDialog) Copyright() string { // // - utf8s: a NULL-terminated string array containing the documenters. // The array is owned by the about dialog and must not be modified. -// func (about *AboutDialog) Documenters() []string { var _arg0 *C.GtkAboutDialog // out var _cret **C.char // in @@ -20446,7 +20141,6 @@ func (about *AboutDialog) Documenters() []string { // // - utf8 (optional): license information. The string is owned by the about // dialog and must not be modified. -// func (about *AboutDialog) License() string { var _arg0 *C.GtkAboutDialog // out var _cret *C.char // in @@ -20470,7 +20164,6 @@ func (about *AboutDialog) License() string { // The function returns the following values: // // - license: gtk.License value. -// func (about *AboutDialog) LicenseType() License { var _arg0 *C.GtkAboutDialog // out var _cret C.GtkLicense // in @@ -20494,7 +20187,6 @@ func (about *AboutDialog) LicenseType() License { // - paintable (optional) displayed as logo or NULL if the logo is unset or // has been set via gtk.AboutDialog.SetLogoIconName(). The paintable is // owned by the about dialog. -// func (about *AboutDialog) Logo() *gdk.Paintable { var _arg0 *C.GtkAboutDialog // out var _cret *C.GdkPaintable // in @@ -20525,7 +20217,6 @@ func (about *AboutDialog) Logo() *gdk.Paintable { // - utf8 (optional): icon name displayed as logo, or NULL if the logo has // been set via gtk.AboutDialog.SetLogo(). The string is owned by the // dialog. -// func (about *AboutDialog) LogoIconName() string { var _arg0 *C.GtkAboutDialog // out var _cret *C.char // in @@ -20550,7 +20241,6 @@ func (about *AboutDialog) LogoIconName() string { // // - utf8 (optional): program name. The string is owned by the about dialog // and must not be modified. -// func (about *AboutDialog) ProgramName() string { var _arg0 *C.GtkAboutDialog // out var _cret *C.char // in @@ -20575,7 +20265,6 @@ func (about *AboutDialog) ProgramName() string { // The function returns the following values: // // - utf8 (optional): system information. -// func (about *AboutDialog) SystemInformation() string { var _arg0 *C.GtkAboutDialog // out var _cret *C.char // in @@ -20600,7 +20289,6 @@ func (about *AboutDialog) SystemInformation() string { // The function returns the following values: // // - utf8 (optional): translator credits string. -// func (about *AboutDialog) TranslatorCredits() string { var _arg0 *C.GtkAboutDialog // out var _cret *C.char // in @@ -20625,7 +20313,6 @@ func (about *AboutDialog) TranslatorCredits() string { // // - utf8 (optional): version string. The string is owned by the about dialog // and must not be modified. -// func (about *AboutDialog) Version() string { var _arg0 *C.GtkAboutDialog // out var _cret *C.char // in @@ -20649,7 +20336,6 @@ func (about *AboutDialog) Version() string { // The function returns the following values: // // - utf8 (optional): website URL. -// func (about *AboutDialog) Website() string { var _arg0 *C.GtkAboutDialog // out var _cret *C.char // in @@ -20673,7 +20359,6 @@ func (about *AboutDialog) Website() string { // The function returns the following values: // // - utf8 (optional): label used for the website link. -// func (about *AboutDialog) WebsiteLabel() string { var _arg0 *C.GtkAboutDialog // out var _cret *C.char // in @@ -20698,7 +20383,6 @@ func (about *AboutDialog) WebsiteLabel() string { // The function returns the following values: // // - ok: TRUE if the license text is wrapped. -// func (about *AboutDialog) WrapLicense() bool { var _arg0 *C.GtkAboutDialog // out var _cret C.gboolean // in @@ -20723,7 +20407,6 @@ func (about *AboutDialog) WrapLicense() bool { // The function takes the following parameters: // // - artists authors of the artwork of the application. -// func (about *AboutDialog) SetArtists(artists []string) { var _arg0 *C.GtkAboutDialog // out var _arg1 **C.char // out @@ -20754,7 +20437,6 @@ func (about *AboutDialog) SetArtists(artists []string) { // The function takes the following parameters: // // - authors of the application. -// func (about *AboutDialog) SetAuthors(authors []string) { var _arg0 *C.GtkAboutDialog // out var _arg1 **C.char // out @@ -20786,7 +20468,6 @@ func (about *AboutDialog) SetAuthors(authors []string) { // The function takes the following parameters: // // - comments (optional) string. -// func (about *AboutDialog) SetComments(comments string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -20809,7 +20490,6 @@ func (about *AboutDialog) SetComments(comments string) { // The function takes the following parameters: // // - copyright (optional) string. -// func (about *AboutDialog) SetCopyright(copyright string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -20831,7 +20511,6 @@ func (about *AboutDialog) SetCopyright(copyright string) { // The function takes the following parameters: // // - documenters authors of the documentation of the application. -// func (about *AboutDialog) SetDocumenters(documenters []string) { var _arg0 *C.GtkAboutDialog // out var _arg1 **C.char // out @@ -20864,7 +20543,6 @@ func (about *AboutDialog) SetDocumenters(documenters []string) { // The function takes the following parameters: // // - license (optional) information. -// func (about *AboutDialog) SetLicense(license string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -20888,7 +20566,6 @@ func (about *AboutDialog) SetLicense(license string) { // The function takes the following parameters: // // - licenseType: type of license. -// func (about *AboutDialog) SetLicenseType(licenseType License) { var _arg0 *C.GtkAboutDialog // out var _arg1 C.GtkLicense // out @@ -20906,7 +20583,6 @@ func (about *AboutDialog) SetLicenseType(licenseType License) { // The function takes the following parameters: // // - logo (optional): GdkPaintable. -// func (about *AboutDialog) SetLogo(logo gdk.Paintabler) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.GdkPaintable // out @@ -20927,7 +20603,6 @@ func (about *AboutDialog) SetLogo(logo gdk.Paintabler) { // The function takes the following parameters: // // - iconName (optional): icon name. -// func (about *AboutDialog) SetLogoIconName(iconName string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -20950,7 +20625,6 @@ func (about *AboutDialog) SetLogoIconName(iconName string) { // The function takes the following parameters: // // - name (optional): program name. -// func (about *AboutDialog) SetProgramName(name string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -20976,7 +20650,6 @@ func (about *AboutDialog) SetProgramName(name string) { // The function takes the following parameters: // // - systemInformation (optional): system information. -// func (about *AboutDialog) SetSystemInformation(systemInformation string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -20999,9 +20672,9 @@ func (about *AboutDialog) SetSystemInformation(systemInformation string) { // which is currently used in the user interface. Using gettext(), a simple way // to achieve that is to mark the string for translation: // -// GtkWidget *about = gtk_about_dialog_new (); -// gtk_about_dialog_set_translator_credits (GTK_ABOUT_DIALOG (about), -// _("translator-credits")); +// GtkWidget *about = gtk_about_dialog_new (); +// gtk_about_dialog_set_translator_credits (GTK_ABOUT_DIALOG (about), +// _("translator-credits")); // // It is a good idea to use the customary msgid “translator-credits” for this // purpose, since translators will already know the purpose of that msgid, @@ -21011,7 +20684,6 @@ func (about *AboutDialog) SetSystemInformation(systemInformation string) { // The function takes the following parameters: // // - translatorCredits (optional): translator credits. -// func (about *AboutDialog) SetTranslatorCredits(translatorCredits string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -21032,7 +20704,6 @@ func (about *AboutDialog) SetTranslatorCredits(translatorCredits string) { // The function takes the following parameters: // // - version (optional) string. -// func (about *AboutDialog) SetVersion(version string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -21053,7 +20724,6 @@ func (about *AboutDialog) SetVersion(version string) { // The function takes the following parameters: // // - website (optional): URL string starting with http://. -// func (about *AboutDialog) SetWebsite(website string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -21074,7 +20744,6 @@ func (about *AboutDialog) SetWebsite(website string) { // The function takes the following parameters: // // - websiteLabel: label used for the website link. -// func (about *AboutDialog) SetWebsiteLabel(websiteLabel string) { var _arg0 *C.GtkAboutDialog // out var _arg1 *C.char // out @@ -21094,7 +20763,6 @@ func (about *AboutDialog) SetWebsiteLabel(websiteLabel string) { // The function takes the following parameters: // // - wrapLicense: whether to wrap the license. -// func (about *AboutDialog) SetWrapLicense(wrapLicense bool) { var _arg0 *C.GtkAboutDialog // out var _arg1 C.gboolean // out @@ -21162,7 +20830,6 @@ func marshalActionBar(p uintptr) (interface{}, error) { // The function returns the following values: // // - actionBar: new GtkActionBar. -// func NewActionBar() *ActionBar { var _cret *C.GtkWidget // in @@ -21180,7 +20847,6 @@ func NewActionBar() *ActionBar { // The function returns the following values: // // - widget (optional): center GtkWidget or NULL. -// func (actionBar *ActionBar) CenterWidget() Widgetter { var _arg0 *C.GtkActionBar // out var _cret *C.GtkWidget // in @@ -21217,7 +20883,6 @@ func (actionBar *ActionBar) CenterWidget() Widgetter { // The function returns the following values: // // - ok: current value of the gtk.ActionBar:revealed property. -// func (actionBar *ActionBar) Revealed() bool { var _arg0 *C.GtkActionBar // out var _cret C.gboolean // in @@ -21242,7 +20907,6 @@ func (actionBar *ActionBar) Revealed() bool { // The function takes the following parameters: // // - child: GtkWidget to be added to action_bar. -// func (actionBar *ActionBar) PackEnd(child Widgetter) { var _arg0 *C.GtkActionBar // out var _arg1 *C.GtkWidget // out @@ -21261,7 +20925,6 @@ func (actionBar *ActionBar) PackEnd(child Widgetter) { // The function takes the following parameters: // // - child: GtkWidget to be added to action_bar. -// func (actionBar *ActionBar) PackStart(child Widgetter) { var _arg0 *C.GtkActionBar // out var _arg1 *C.GtkWidget // out @@ -21279,7 +20942,6 @@ func (actionBar *ActionBar) PackStart(child Widgetter) { // The function takes the following parameters: // // - child: GtkWidget to be removed. -// func (actionBar *ActionBar) Remove(child Widgetter) { var _arg0 *C.GtkActionBar // out var _arg1 *C.GtkWidget // out @@ -21297,7 +20959,6 @@ func (actionBar *ActionBar) Remove(child Widgetter) { // The function takes the following parameters: // // - centerWidget (optional): widget to use for the center. -// func (actionBar *ActionBar) SetCenterWidget(centerWidget Widgetter) { var _arg0 *C.GtkActionBar // out var _arg1 *C.GtkWidget // out @@ -21320,7 +20981,6 @@ func (actionBar *ActionBar) SetCenterWidget(centerWidget Widgetter) { // The function takes the following parameters: // // - revealed: new value of the property. -// func (actionBar *ActionBar) SetRevealed(revealed bool) { var _arg0 *C.GtkActionBar // out var _arg1 C.gboolean // out @@ -21365,7 +21025,6 @@ func marshalActivateAction(p uintptr) (interface{}, error) { // The function returns the following values: // // - activateAction: activate action. -// func ActivateActionGet() *ActivateAction { var _cret *C.GtkShortcutAction // in @@ -21474,7 +21133,6 @@ func (adjustment *Adjustment) ConnectValueChanged(f func()) coreglib.SignalHandl // The function returns the following values: // // - adjustment: new GtkAdjustment. -// func NewAdjustment(value, lower, upper, stepIncrement, pageIncrement, pageSize float64) *Adjustment { var _arg1 C.double // out var _arg2 C.double // out @@ -21519,7 +21177,6 @@ func NewAdjustment(value, lower, upper, stepIncrement, pageIncrement, pageSize f // // - lower value. // - upper value. -// func (adjustment *Adjustment) ClampPage(lower, upper float64) { var _arg0 *C.GtkAdjustment // out var _arg1 C.double // out @@ -21549,7 +21206,6 @@ func (adjustment *Adjustment) ClampPage(lower, upper float64) { // - stepIncrement: new step increment. // - pageIncrement: new page increment. // - pageSize: new page size. -// func (adjustment *Adjustment) Configure(value, lower, upper, stepIncrement, pageIncrement, pageSize float64) { var _arg0 *C.GtkAdjustment // out var _arg1 C.double // out @@ -21582,7 +21238,6 @@ func (adjustment *Adjustment) Configure(value, lower, upper, stepIncrement, page // The function returns the following values: // // - gdouble: current minimum value of the adjustment. -// func (adjustment *Adjustment) Lower() float64 { var _arg0 *C.GtkAdjustment // out var _cret C.double // in @@ -21604,7 +21259,6 @@ func (adjustment *Adjustment) Lower() float64 { // The function returns the following values: // // - gdouble: minimum increment of adjustment. -// func (adjustment *Adjustment) MinimumIncrement() float64 { var _arg0 *C.GtkAdjustment // out var _cret C.double // in @@ -21626,7 +21280,6 @@ func (adjustment *Adjustment) MinimumIncrement() float64 { // The function returns the following values: // // - gdouble: current page increment of the adjustment. -// func (adjustment *Adjustment) PageIncrement() float64 { var _arg0 *C.GtkAdjustment // out var _cret C.double // in @@ -21648,7 +21301,6 @@ func (adjustment *Adjustment) PageIncrement() float64 { // The function returns the following values: // // - gdouble: current page size of the adjustment. -// func (adjustment *Adjustment) PageSize() float64 { var _arg0 *C.GtkAdjustment // out var _cret C.double // in @@ -21670,7 +21322,6 @@ func (adjustment *Adjustment) PageSize() float64 { // The function returns the following values: // // - gdouble: current step increment of the adjustment. -// func (adjustment *Adjustment) StepIncrement() float64 { var _arg0 *C.GtkAdjustment // out var _cret C.double // in @@ -21692,7 +21343,6 @@ func (adjustment *Adjustment) StepIncrement() float64 { // The function returns the following values: // // - gdouble: current maximum value of the adjustment. -// func (adjustment *Adjustment) Upper() float64 { var _arg0 *C.GtkAdjustment // out var _cret C.double // in @@ -21714,7 +21364,6 @@ func (adjustment *Adjustment) Upper() float64 { // The function returns the following values: // // - gdouble: current value of the adjustment. -// func (adjustment *Adjustment) Value() float64 { var _arg0 *C.GtkAdjustment // out var _cret C.double // in @@ -21746,7 +21395,6 @@ func (adjustment *Adjustment) Value() float64 { // The function takes the following parameters: // // - lower: new minimum value. -// func (adjustment *Adjustment) SetLower(lower float64) { var _arg0 *C.GtkAdjustment // out var _arg1 C.double // out @@ -21767,7 +21415,6 @@ func (adjustment *Adjustment) SetLower(lower float64) { // The function takes the following parameters: // // - pageIncrement: new page increment. -// func (adjustment *Adjustment) SetPageIncrement(pageIncrement float64) { var _arg0 *C.GtkAdjustment // out var _arg1 C.double // out @@ -21788,7 +21435,6 @@ func (adjustment *Adjustment) SetPageIncrement(pageIncrement float64) { // The function takes the following parameters: // // - pageSize: new page size. -// func (adjustment *Adjustment) SetPageSize(pageSize float64) { var _arg0 *C.GtkAdjustment // out var _arg1 C.double // out @@ -21809,7 +21455,6 @@ func (adjustment *Adjustment) SetPageSize(pageSize float64) { // The function takes the following parameters: // // - stepIncrement: new step increment. -// func (adjustment *Adjustment) SetStepIncrement(stepIncrement float64) { var _arg0 *C.GtkAdjustment // out var _arg1 C.double // out @@ -21833,7 +21478,6 @@ func (adjustment *Adjustment) SetStepIncrement(stepIncrement float64) { // The function takes the following parameters: // // - upper: new maximum value. -// func (adjustment *Adjustment) SetUpper(upper float64) { var _arg0 *C.GtkAdjustment // out var _arg1 C.double // out @@ -21858,7 +21502,6 @@ func (adjustment *Adjustment) SetUpper(upper float64) { // The function takes the following parameters: // // - value: new value. -// func (adjustment *Adjustment) SetValue(value float64) { var _arg0 *C.GtkAdjustment // out var _arg1 C.double // out @@ -21935,7 +21578,6 @@ func marshalAlternativeTrigger(p uintptr) (interface{}, error) { // The function returns the following values: // // - alternativeTrigger: new GtkShortcutTrigger. -// func NewAlternativeTrigger(first, second ShortcutTriggerer) *AlternativeTrigger { var _arg1 *C.GtkShortcutTrigger // out var _arg2 *C.GtkShortcutTrigger // out @@ -21964,7 +21606,6 @@ func NewAlternativeTrigger(first, second ShortcutTriggerer) *AlternativeTrigger // The function returns the following values: // // - shortcutTrigger: first alternative trigger. -// func (self *AlternativeTrigger) First() ShortcutTriggerer { var _arg0 *C.GtkAlternativeTrigger // out var _cret *C.GtkShortcutTrigger // in @@ -22004,7 +21645,6 @@ func (self *AlternativeTrigger) First() ShortcutTriggerer { // The function returns the following values: // // - shortcutTrigger: second alternative trigger. -// func (self *AlternativeTrigger) Second() ShortcutTriggerer { var _arg0 *C.GtkAlternativeTrigger // out var _cret *C.GtkShortcutTrigger // in @@ -22082,7 +21722,6 @@ func marshalAnyFilter(p uintptr) (interface{}, error) { // The function returns the following values: // // - anyFilter: new GtkAnyFilter. -// func NewAnyFilter() *AnyFilter { var _cret *C.GtkAnyFilter // in @@ -22198,7 +21837,6 @@ func (self *AppChooserButton) ConnectCustomItemActivated(f func(itemName string) // The function returns the following values: // // - appChooserButton: newly created GtkAppChooserButton. -// func NewAppChooserButton(contentType string) *AppChooserButton { var _arg1 *C.char // out var _cret *C.GtkWidget // in @@ -22230,7 +21868,6 @@ func NewAppChooserButton(contentType string) *AppChooserButton { // - name of the custom item. // - label for the custom item. // - icon for the custom item. -// func (self *AppChooserButton) AppendCustomItem(name, label string, icon gio.Iconner) { var _arg0 *C.GtkAppChooserButton // out var _arg1 *C.char // out @@ -22268,7 +21905,6 @@ func (self *AppChooserButton) AppendSeparator() { // // - utf8 (optional): text to display at the top of the dialog, or NULL, // in which case a default text is displayed. -// func (self *AppChooserButton) Heading() string { var _arg0 *C.GtkAppChooserButton // out var _cret *C.char // in @@ -22292,7 +21928,6 @@ func (self *AppChooserButton) Heading() string { // The function returns the following values: // // - ok: TRUE if the dialog is modal. -// func (self *AppChooserButton) Modal() bool { var _arg0 *C.GtkAppChooserButton // out var _cret C.gboolean // in @@ -22317,7 +21952,6 @@ func (self *AppChooserButton) Modal() bool { // The function returns the following values: // // - ok: value of gtk.AppChooserButton:show-default-item. -// func (self *AppChooserButton) ShowDefaultItem() bool { var _arg0 *C.GtkAppChooserButton // out var _cret C.gboolean // in @@ -22342,7 +21976,6 @@ func (self *AppChooserButton) ShowDefaultItem() bool { // The function returns the following values: // // - ok: value of gtk.AppChooserButton:show-dialog-item. -// func (self *AppChooserButton) ShowDialogItem() bool { var _arg0 *C.GtkAppChooserButton // out var _cret C.gboolean // in @@ -22370,7 +22003,6 @@ func (self *AppChooserButton) ShowDialogItem() bool { // The function takes the following parameters: // // - name of the custom item. -// func (self *AppChooserButton) SetActiveCustomItem(name string) { var _arg0 *C.GtkAppChooserButton // out var _arg1 *C.char // out @@ -22391,7 +22023,6 @@ func (self *AppChooserButton) SetActiveCustomItem(name string) { // The function takes the following parameters: // // - heading: string containing Pango markup. -// func (self *AppChooserButton) SetHeading(heading string) { var _arg0 *C.GtkAppChooserButton // out var _arg1 *C.char // out @@ -22410,7 +22041,6 @@ func (self *AppChooserButton) SetHeading(heading string) { // The function takes the following parameters: // // - modal: TRUE to make the dialog modal. -// func (self *AppChooserButton) SetModal(modal bool) { var _arg0 *C.GtkAppChooserButton // out var _arg1 C.gboolean // out @@ -22431,7 +22061,6 @@ func (self *AppChooserButton) SetModal(modal bool) { // The function takes the following parameters: // // - setting: new value for gtk.AppChooserButton:show-default-item. -// func (self *AppChooserButton) SetShowDefaultItem(setting bool) { var _arg0 *C.GtkAppChooserButton // out var _arg1 C.gboolean // out @@ -22452,7 +22081,6 @@ func (self *AppChooserButton) SetShowDefaultItem(setting bool) { // The function takes the following parameters: // // - setting: new value for gtk.AppChooserButton:show-dialog-item. -// func (self *AppChooserButton) SetShowDialogItem(setting bool) { var _arg0 *C.GtkAppChooserButton // out var _arg1 C.gboolean // out @@ -22574,7 +22202,6 @@ func marshalAppChooserDialog(p uintptr) (interface{}, error) { // The function returns the following values: // // - appChooserDialog: newly created GtkAppChooserDialog. -// func NewAppChooserDialog(parent *Window, flags DialogFlags, file gio.Filer) *AppChooserDialog { var _arg1 *C.GtkWindow // out var _arg2 C.GtkDialogFlags // out @@ -22613,7 +22240,6 @@ func NewAppChooserDialog(parent *Window, flags DialogFlags, file gio.Filer) *App // The function returns the following values: // // - appChooserDialog: newly created GtkAppChooserDialog. -// func NewAppChooserDialogForContentType(parent *Window, flags DialogFlags, contentType string) *AppChooserDialog { var _arg1 *C.GtkWindow // out var _arg2 C.GtkDialogFlags // out @@ -22645,7 +22271,6 @@ func NewAppChooserDialogForContentType(parent *Window, flags DialogFlags, conten // // - utf8 (optional): text to display at the top of the dialog, or NULL, // in which case a default text is displayed. -// func (self *AppChooserDialog) Heading() string { var _arg0 *C.GtkAppChooserDialog // out var _cret *C.char // in @@ -22669,7 +22294,6 @@ func (self *AppChooserDialog) Heading() string { // The function returns the following values: // // - widget: GtkAppChooserWidget of self. -// func (self *AppChooserDialog) Widget() Widgetter { var _arg0 *C.GtkAppChooserDialog // out var _cret *C.GtkWidget // in @@ -22709,7 +22333,6 @@ func (self *AppChooserDialog) Widget() Widgetter { // The function takes the following parameters: // // - heading: string containing Pango markup. -// func (self *AppChooserDialog) SetHeading(heading string) { var _arg0 *C.GtkAppChooserDialog // out var _arg1 *C.char // out @@ -22824,7 +22447,6 @@ func (self *AppChooserWidget) ConnectApplicationSelected(f func(application gio. // The function returns the following values: // // - appChooserWidget: newly created GtkAppChooserWidget. -// func NewAppChooserWidget(contentType string) *AppChooserWidget { var _arg1 *C.char // out var _cret *C.GtkWidget // in @@ -22848,7 +22470,6 @@ func NewAppChooserWidget(contentType string) *AppChooserWidget { // The function returns the following values: // // - utf8 (optional): value of gtk.AppChooserWidget:default-text. -// func (self *AppChooserWidget) DefaultText() string { var _arg0 *C.GtkAppChooserWidget // out var _cret *C.char // in @@ -22873,7 +22494,6 @@ func (self *AppChooserWidget) DefaultText() string { // The function returns the following values: // // - ok: value of gtk.AppChooserWidget:show-all. -// func (self *AppChooserWidget) ShowAll() bool { var _arg0 *C.GtkAppChooserWidget // out var _cret C.gboolean // in @@ -22898,7 +22518,6 @@ func (self *AppChooserWidget) ShowAll() bool { // The function returns the following values: // // - ok: value of gtk.AppChooserWidget:show-default. -// func (self *AppChooserWidget) ShowDefault() bool { var _arg0 *C.GtkAppChooserWidget // out var _cret C.gboolean // in @@ -22923,7 +22542,6 @@ func (self *AppChooserWidget) ShowDefault() bool { // The function returns the following values: // // - ok: value of gtk.AppChooserWidget:show-fallback. -// func (self *AppChooserWidget) ShowFallback() bool { var _arg0 *C.GtkAppChooserWidget // out var _cret C.gboolean // in @@ -22948,7 +22566,6 @@ func (self *AppChooserWidget) ShowFallback() bool { // The function returns the following values: // // - ok: value of gtk.AppChooserWidget:show-other. -// func (self *AppChooserWidget) ShowOther() bool { var _arg0 *C.GtkAppChooserWidget // out var _cret C.gboolean // in @@ -22973,7 +22590,6 @@ func (self *AppChooserWidget) ShowOther() bool { // The function returns the following values: // // - ok: value of gtk.AppChooserWidget:show-recommended. -// func (self *AppChooserWidget) ShowRecommended() bool { var _arg0 *C.GtkAppChooserWidget // out var _cret C.gboolean // in @@ -22998,7 +22614,6 @@ func (self *AppChooserWidget) ShowRecommended() bool { // The function takes the following parameters: // // - text: new value for gtk.AppChooserWidget:default-text. -// func (self *AppChooserWidget) SetDefaultText(text string) { var _arg0 *C.GtkAppChooserWidget // out var _arg1 *C.char // out @@ -23018,7 +22633,6 @@ func (self *AppChooserWidget) SetDefaultText(text string) { // The function takes the following parameters: // // - setting: new value for gtk.AppChooserWidget:show-all. -// func (self *AppChooserWidget) SetShowAll(setting bool) { var _arg0 *C.GtkAppChooserWidget // out var _arg1 C.gboolean // out @@ -23039,7 +22653,6 @@ func (self *AppChooserWidget) SetShowAll(setting bool) { // The function takes the following parameters: // // - setting: new value for gtk.AppChooserWidget:show-default. -// func (self *AppChooserWidget) SetShowDefault(setting bool) { var _arg0 *C.GtkAppChooserWidget // out var _arg1 C.gboolean // out @@ -23060,7 +22673,6 @@ func (self *AppChooserWidget) SetShowDefault(setting bool) { // The function takes the following parameters: // // - setting: new value for gtk.AppChooserWidget:show-fallback. -// func (self *AppChooserWidget) SetShowFallback(setting bool) { var _arg0 *C.GtkAppChooserWidget // out var _arg1 C.gboolean // out @@ -23081,7 +22693,6 @@ func (self *AppChooserWidget) SetShowFallback(setting bool) { // The function takes the following parameters: // // - setting: new value for gtk.AppChooserWidget:show-other. -// func (self *AppChooserWidget) SetShowOther(setting bool) { var _arg0 *C.GtkAppChooserWidget // out var _arg1 C.gboolean // out @@ -23102,7 +22713,6 @@ func (self *AppChooserWidget) SetShowOther(setting bool) { // The function takes the following parameters: // // - setting: new value for gtk.AppChooserWidget:show-recommended. -// func (self *AppChooserWidget) SetShowRecommended(setting bool) { var _arg0 *C.GtkAppChooserWidget // out var _arg1 C.gboolean // out @@ -23295,7 +22905,6 @@ func (application *Application) ConnectWindowRemoved(f func(window *Window)) cor // The function returns the following values: // // - application: new GtkApplication instance. -// func NewApplication(applicationId string, flags gio.ApplicationFlags) *Application { var _arg1 *C.char // out var _arg2 C.GApplicationFlags // out @@ -23336,7 +22945,6 @@ func NewApplication(applicationId string, flags gio.ApplicationFlags) *Applicati // The function takes the following parameters: // // - window: GtkWindow. -// func (application *Application) AddWindow(window *Window) { var _arg0 *C.GtkApplication // out var _arg1 *C.GtkWindow // out @@ -23360,7 +22968,6 @@ func (application *Application) AddWindow(window *Window) { // The function returns the following values: // // - utf8s: accelerators for detailed_action_name. -// func (application *Application) AccelsForAction(detailedActionName string) []string { var _arg0 *C.GtkApplication // out var _arg1 *C.char // out @@ -23420,7 +23027,6 @@ func (application *Application) AccelsForAction(detailedActionName string) []str // The function returns the following values: // // - utf8s: NULL-terminated array of actions for accel. -// func (application *Application) ActionsForAccel(accel string) []string { var _arg0 *C.GtkApplication // out var _arg1 *C.char // out @@ -23465,7 +23071,6 @@ func (application *Application) ActionsForAccel(accel string) []string { // The function returns the following values: // // - window (optional): active window. -// func (application *Application) ActiveWindow() *Window { var _arg0 *C.GtkApplication // out var _cret *C.GtkWindow // in @@ -23497,7 +23102,6 @@ func (application *Application) ActiveWindow() *Window { // // - menu (optional) gets the menu with the given id from the automatically // loaded resources. -// func (application *Application) MenuByID(id string) *gio.Menu { var _arg0 *C.GtkApplication // out var _arg1 *C.char // out @@ -23533,7 +23137,6 @@ func (application *Application) MenuByID(id string) *gio.Menu { // The function returns the following values: // // - menuModel (optional): menubar for windows of application. -// func (application *Application) Menubar() gio.MenuModeller { var _arg0 *C.GtkApplication // out var _cret *C.GMenuModel // in @@ -23577,7 +23180,6 @@ func (application *Application) Menubar() gio.MenuModeller { // The function returns the following values: // // - window (optional) for the given id. -// func (application *Application) WindowByID(id uint) *Window { var _arg0 *C.GtkApplication // out var _arg1 C.guint // out @@ -23611,7 +23213,6 @@ func (application *Application) WindowByID(id uint) *Window { // The function returns the following values: // // - list: GList of GtkWindow instances. -// func (application *Application) Windows() []*Window { var _arg0 *C.GtkApplication // out var _cret *C.GList // in @@ -23669,7 +23270,6 @@ func (application *Application) Windows() []*Window { // It should be used as an argument to gtk.Application.Uninhibit() in order // to remove the request. If the platform does not support inhibiting or the // request failed for some reason, 0 is returned. -// func (application *Application) Inhibit(window *Window, flags ApplicationInhibitFlags, reason string) uint { var _arg0 *C.GtkApplication // out var _arg1 *C.GtkWindow // out @@ -23708,7 +23308,6 @@ func (application *Application) Inhibit(window *Window, flags ApplicationInhibit // The function returns the following values: // // - utf8s: detailed action names. -// func (application *Application) ListActionDescriptions() []string { var _arg0 *C.GtkApplication // out var _cret **C.char // in @@ -23750,7 +23349,6 @@ func (application *Application) ListActionDescriptions() []string { // The function takes the following parameters: // // - window: GtkWindow. -// func (application *Application) RemoveWindow(window *Window) { var _arg0 *C.GtkApplication // out var _arg1 *C.GtkWindow // out @@ -23781,7 +23379,6 @@ func (application *Application) RemoveWindow(window *Window) { // to associate accelerators with. // - accels: list of accelerators in the format understood by // gtk.AcceleratorParse(). -// func (application *Application) SetAccelsForAction(detailedActionName string, accels []string) { var _arg0 *C.GtkApplication // out var _arg1 *C.char // out @@ -23831,7 +23428,6 @@ func (application *Application) SetAccelsForAction(detailedActionName string, ac // The function takes the following parameters: // // - menubar (optional): GMenuModel. -// func (application *Application) SetMenubar(menubar gio.MenuModeller) { var _arg0 *C.GtkApplication // out var _arg1 *C.GMenuModel // out @@ -23855,7 +23451,6 @@ func (application *Application) SetMenubar(menubar gio.MenuModeller) { // The function takes the following parameters: // // - cookie that was returned by gtk.Application.Inhibit(). -// func (application *Application) Uninhibit(cookie uint) { var _arg0 *C.GtkApplication // out var _arg1 C.guint // out @@ -23944,33 +23539,33 @@ func defaultApplicationWindowOverrides(v *ApplicationWindow) ApplicationWindowOv // The code sample below shows how to set up a GtkApplicationWindow with a menu // bar defined on the gtk.Application: // -// GtkApplication *app = gtk_application_new ("org.gtk.test", 0); -// -// GtkBuilder *builder = gtk_builder_new_from_string ( -// "" -// " " -// " " -// " _Edit" -// " " -// " _Copy" -// " win.copy" -// " " -// " " -// " _Paste" -// " win.paste" -// " " -// " " -// " " -// "", -// -1); -// -// GMenuModel *menubar = G_MENU_MODEL (gtk_builder_get_object (builder, "menubar")); -// gtk_application_set_menubar (GTK_APPLICATION (app), menubar); -// g_object_unref (builder); -// -// // ... -// -// GtkWidget *window = gtk_application_window_new (app);. +// GtkApplication *app = gtk_application_new ("org.gtk.test", 0); +// +// GtkBuilder *builder = gtk_builder_new_from_string ( +// "" +// " " +// " " +// " _Edit" +// " " +// " _Copy" +// " win.copy" +// " " +// " " +// " _Paste" +// " win.paste" +// " " +// " " +// " " +// "", +// -1); +// +// GMenuModel *menubar = G_MENU_MODEL (gtk_builder_get_object (builder, "menubar")); +// gtk_application_set_menubar (GTK_APPLICATION (app), menubar); +// g_object_unref (builder); +// +// // ... +// +// GtkWidget *window = gtk_application_window_new (app);. type ApplicationWindow struct { _ [0]func() // equal guard Window @@ -24066,7 +23661,6 @@ func marshalApplicationWindow(p uintptr) (interface{}, error) { // The function returns the following values: // // - applicationWindow: newly created GtkApplicationWindow. -// func NewApplicationWindow(application *Application) *ApplicationWindow { var _arg1 *C.GtkApplication // out var _cret *C.GtkWidget // in @@ -24090,7 +23684,6 @@ func NewApplicationWindow(application *Application) *ApplicationWindow { // The function returns the following values: // // - shortcutsWindow (optional): help overlay associated with window, or NULL. -// func (window *ApplicationWindow) HelpOverlay() *ShortcutsWindow { var _arg0 *C.GtkApplicationWindow // out var _cret *C.GtkShortcutsWindow // in @@ -24111,13 +23704,12 @@ func (window *ApplicationWindow) HelpOverlay() *ShortcutsWindow { // ID returns the unique ID of the window. // -// If the window has not yet been added to a GtkApplication, returns 0. +// If the window has not yet been added to a GtkApplication, returns 0. // // The function returns the following values: // // - guint: unique ID for window, or 0 if the window has not yet been added to // a GtkApplication. -// func (window *ApplicationWindow) ID() uint { var _arg0 *C.GtkApplicationWindow // out var _cret C.guint // in @@ -24140,7 +23732,6 @@ func (window *ApplicationWindow) ID() uint { // The function returns the following values: // // - ok: TRUE if window will display a menubar when needed. -// func (window *ApplicationWindow) ShowMenubar() bool { var _arg0 *C.GtkApplicationWindow // out var _cret C.gboolean // in @@ -24169,7 +23760,6 @@ func (window *ApplicationWindow) ShowMenubar() bool { // The function takes the following parameters: // // - helpOverlay (optional): GtkShortcutsWindow. -// func (window *ApplicationWindow) SetHelpOverlay(helpOverlay *ShortcutsWindow) { var _arg0 *C.GtkApplicationWindow // out var _arg1 *C.GtkShortcutsWindow // out @@ -24190,7 +23780,6 @@ func (window *ApplicationWindow) SetHelpOverlay(helpOverlay *ShortcutsWindow) { // The function takes the following parameters: // // - showMenubar: whether to show a menubar when needed. -// func (window *ApplicationWindow) SetShowMenubar(showMenubar bool) { var _arg0 *C.GtkApplicationWindow // out var _arg1 C.gboolean // out @@ -24261,7 +23850,6 @@ func marshalAspectFrame(p uintptr) (interface{}, error) { // The function returns the following values: // // - aspectFrame: new GtkAspectFrame. -// func NewAspectFrame(xalign, yalign, ratio float32, obeyChild bool) *AspectFrame { var _arg1 C.float // out var _arg2 C.float // out @@ -24294,7 +23882,6 @@ func NewAspectFrame(xalign, yalign, ratio float32, obeyChild bool) *AspectFrame // The function returns the following values: // // - widget (optional): child widget of self@. -// func (self *AspectFrame) Child() Widgetter { var _arg0 *C.GtkAspectFrame // out var _cret *C.GtkWidget // in @@ -24332,7 +23919,6 @@ func (self *AspectFrame) Child() Widgetter { // The function returns the following values: // // - ok: whether to obey the child's size request. -// func (self *AspectFrame) ObeyChild() bool { var _arg0 *C.GtkAspectFrame // out var _cret C.gboolean // in @@ -24356,7 +23942,6 @@ func (self *AspectFrame) ObeyChild() bool { // The function returns the following values: // // - gfloat: desired aspect ratio. -// func (self *AspectFrame) Ratio() float32 { var _arg0 *C.GtkAspectFrame // out var _cret C.float // in @@ -24379,7 +23964,6 @@ func (self *AspectFrame) Ratio() float32 { // The function returns the following values: // // - gfloat: horizontal alignment. -// func (self *AspectFrame) XAlign() float32 { var _arg0 *C.GtkAspectFrame // out var _cret C.float // in @@ -24402,7 +23986,6 @@ func (self *AspectFrame) XAlign() float32 { // The function returns the following values: // // - gfloat: vertical alignment. -// func (self *AspectFrame) YAlign() float32 { var _arg0 *C.GtkAspectFrame // out var _cret C.float // in @@ -24424,7 +24007,6 @@ func (self *AspectFrame) YAlign() float32 { // The function takes the following parameters: // // - child (optional) widget. -// func (self *AspectFrame) SetChild(child Widgetter) { var _arg0 *C.GtkAspectFrame // out var _arg1 *C.GtkWidget // out @@ -24446,7 +24028,6 @@ func (self *AspectFrame) SetChild(child Widgetter) { // // - obeyChild: if TRUE, ratio is ignored, and the aspect ratio is taken from // the requistion of the child. -// func (self *AspectFrame) SetObeyChild(obeyChild bool) { var _arg0 *C.GtkAspectFrame // out var _arg1 C.gboolean // out @@ -24466,7 +24047,6 @@ func (self *AspectFrame) SetObeyChild(obeyChild bool) { // The function takes the following parameters: // // - ratio: aspect ratio of the child. -// func (self *AspectFrame) SetRatio(ratio float32) { var _arg0 *C.GtkAspectFrame // out var _arg1 C.float // out @@ -24486,7 +24066,6 @@ func (self *AspectFrame) SetRatio(ratio float32) { // // - xalign: horizontal alignment, from 0.0 (left aligned) to 1.0 (right // aligned). -// func (self *AspectFrame) SetXAlign(xalign float32) { var _arg0 *C.GtkAspectFrame // out var _arg1 C.float // out @@ -24506,7 +24085,6 @@ func (self *AspectFrame) SetXAlign(xalign float32) { // // - yalign: horizontal alignment, from 0.0 (top aligned) to 1.0 (bottom // aligned). -// func (self *AspectFrame) SetYAlign(yalign float32) { var _arg0 *C.GtkAspectFrame // out var _arg1 C.float // out @@ -24658,7 +24236,6 @@ func (assistant *Assistant) ConnectPrepare(f func(page Widgetter)) coreglib.Sign // The function returns the following values: // // - assistant: newly created GtkAssistant. -// func NewAssistant() *Assistant { var _cret *C.GtkWidget // in @@ -24676,7 +24253,6 @@ func NewAssistant() *Assistant { // The function takes the following parameters: // // - child: GtkWidget. -// func (assistant *Assistant) AddActionWidget(child Widgetter) { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -24698,7 +24274,6 @@ func (assistant *Assistant) AddActionWidget(child Widgetter) { // The function returns the following values: // // - gint: index (starting at 0) of the inserted page. -// func (assistant *Assistant) AppendPage(page Widgetter) int { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -24742,7 +24317,6 @@ func (assistant *Assistant) Commit() { // // - gint: index (starting from 0) of the current page in the assistant, // or -1 if the assistant has no pages, or no current page. -// func (assistant *Assistant) CurrentPage() int { var _arg0 *C.GtkAssistant // out var _cret C.int // in @@ -24764,7 +24338,6 @@ func (assistant *Assistant) CurrentPage() int { // The function returns the following values: // // - gint: number of pages in the assistant. -// func (assistant *Assistant) NPages() int { var _arg0 *C.GtkAssistant // out var _cret C.int // in @@ -24790,7 +24363,6 @@ func (assistant *Assistant) NPages() int { // The function returns the following values: // // - widget (optional): child widget, or NULL if page_num is out of bounds. -// func (assistant *Assistant) NthPage(pageNum int) Widgetter { var _arg0 *C.GtkAssistant // out var _arg1 C.int // out @@ -24834,7 +24406,6 @@ func (assistant *Assistant) NthPage(pageNum int) Widgetter { // The function returns the following values: // // - assistantPage: GtkAssistantPage for child. -// func (assistant *Assistant) Page(child Widgetter) *AssistantPage { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -24863,7 +24434,6 @@ func (assistant *Assistant) Page(child Widgetter) *AssistantPage { // The function returns the following values: // // - ok: TRUE if page is complete. -// func (assistant *Assistant) PageComplete(page Widgetter) bool { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -24894,7 +24464,6 @@ func (assistant *Assistant) PageComplete(page Widgetter) bool { // The function returns the following values: // // - utf8: title for page. -// func (assistant *Assistant) PageTitle(page Widgetter) string { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -24923,7 +24492,6 @@ func (assistant *Assistant) PageTitle(page Widgetter) string { // The function returns the following values: // // - assistantPageType: page type of page. -// func (assistant *Assistant) PageType(page Widgetter) AssistantPageType { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -24948,7 +24516,6 @@ func (assistant *Assistant) PageType(page Widgetter) AssistantPageType { // The function returns the following values: // // - listModel: list model of the pages. -// func (assistant *Assistant) Pages() *gio.ListModel { var _arg0 *C.GtkAssistant // out var _cret *C.GListModel // in @@ -24981,7 +24548,6 @@ func (assistant *Assistant) Pages() *gio.ListModel { // The function returns the following values: // // - gint: index (starting from 0) of the inserted page. -// func (assistant *Assistant) InsertPage(page Widgetter, position int) int { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -25028,7 +24594,6 @@ func (assistant *Assistant) NextPage() { // The function returns the following values: // // - gint: index (starting at 0) of the inserted page. -// func (assistant *Assistant) PrependPage(page Widgetter) int { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -25069,7 +24634,6 @@ func (assistant *Assistant) PreviousPage() { // The function takes the following parameters: // // - child: GtkWidget. -// func (assistant *Assistant) RemoveActionWidget(child Widgetter) { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -25087,7 +24651,6 @@ func (assistant *Assistant) RemoveActionWidget(child Widgetter) { // The function takes the following parameters: // // - pageNum: index of a page in the assistant, or -1 to remove the last page. -// func (assistant *Assistant) RemovePage(pageNum int) { var _arg0 *C.GtkAssistant // out var _arg1 C.int // out @@ -25110,7 +24673,6 @@ func (assistant *Assistant) RemovePage(pageNum int) { // - pageNum: index of the page to switch to, starting from 0. If negative, // the last page will be used. If greater than the number of pages in the // assistant, nothing will be done. -// func (assistant *Assistant) SetCurrentPage(pageNum int) { var _arg0 *C.GtkAssistant // out var _arg1 C.int // out @@ -25134,7 +24696,6 @@ func (assistant *Assistant) SetCurrentPage(pageNum int) { // // - pageFunc (optional): GtkAssistantPageFunc, or NULL to use the default // one. -// func (assistant *Assistant) SetForwardPageFunc(pageFunc AssistantPageFunc) { var _arg0 *C.GtkAssistant // out var _arg1 C.GtkAssistantPageFunc // out @@ -25162,7 +24723,6 @@ func (assistant *Assistant) SetForwardPageFunc(pageFunc AssistantPageFunc) { // // - page of assistant. // - complete completeness status of the page. -// func (assistant *Assistant) SetPageComplete(page Widgetter, complete bool) { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -25189,7 +24749,6 @@ func (assistant *Assistant) SetPageComplete(page Widgetter, complete bool) { // // - page of assistant. // - title: new title for page. -// func (assistant *Assistant) SetPageTitle(page Widgetter, title string) { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -25214,7 +24773,6 @@ func (assistant *Assistant) SetPageTitle(page Widgetter, title string) { // // - page of assistant. // - typ: new type for page. -// func (assistant *Assistant) SetPageType(page Widgetter, typ AssistantPageType) { var _arg0 *C.GtkAssistant // out var _arg1 *C.GtkWidget // out @@ -25273,7 +24831,6 @@ func marshalAssistantPage(p uintptr) (interface{}, error) { // The function returns the following values: // // - widget: child to which page belongs. -// func (page *AssistantPage) Child() Widgetter { var _arg0 *C.GtkAssistantPage // out var _cret *C.GtkWidget // in @@ -25363,7 +24920,6 @@ func marshalBinLayout(p uintptr) (interface{}, error) { // The function returns the following values: // // - binLayout: newly created GtkBinLayout. -// func NewBinLayout() *BinLayout { var _cret *C.GtkLayoutManager // in @@ -25441,7 +24997,6 @@ func marshalBookmarkList(p uintptr) (interface{}, error) { // The function returns the following values: // // - bookmarkList: new GtkBookmarkList. -// func NewBookmarkList(filename, attributes string) *BookmarkList { var _arg1 *C.char // out var _arg2 *C.char // out @@ -25472,7 +25027,6 @@ func NewBookmarkList(filename, attributes string) *BookmarkList { // The function returns the following values: // // - utf8 (optional): queried attributes. -// func (self *BookmarkList) Attributes() string { var _arg0 *C.GtkBookmarkList // out var _cret *C.char // in @@ -25496,7 +25050,6 @@ func (self *BookmarkList) Attributes() string { // The function returns the following values: // // - utf8: filename of the .xbel file. -// func (self *BookmarkList) Filename() string { var _arg0 *C.GtkBookmarkList // out var _cret *C.char // in @@ -25518,7 +25071,6 @@ func (self *BookmarkList) Filename() string { // The function returns the following values: // // - gint: IO priority. -// func (self *BookmarkList) IOPriority() int { var _arg0 *C.GtkBookmarkList // out var _cret C.int // in @@ -25543,7 +25095,6 @@ func (self *BookmarkList) IOPriority() int { // The function returns the following values: // // - ok: TRUE if self is loading. -// func (self *BookmarkList) IsLoading() bool { var _arg0 *C.GtkBookmarkList // out var _cret C.gboolean // in @@ -25571,7 +25122,6 @@ func (self *BookmarkList) IsLoading() bool { // The function takes the following parameters: // // - attributes (optional) to enumerate. -// func (self *BookmarkList) SetAttributes(attributes string) { var _arg0 *C.GtkBookmarkList // out var _arg1 *C.char // out @@ -25594,7 +25144,6 @@ func (self *BookmarkList) SetAttributes(attributes string) { // The function takes the following parameters: // // - ioPriority: IO priority to use. -// func (self *BookmarkList) SetIOPriority(ioPriority int) { var _arg0 *C.GtkBookmarkList // out var _arg1 C.int // out @@ -25663,7 +25212,6 @@ func marshalBoolFilter(p uintptr) (interface{}, error) { // The function returns the following values: // // - boolFilter: new GtkBoolFilter. -// func NewBoolFilter(expression Expressioner) *BoolFilter { var _arg1 *C.GtkExpression // out var _cret *C.GtkBoolFilter // in @@ -25689,7 +25237,6 @@ func NewBoolFilter(expression Expressioner) *BoolFilter { // The function returns the following values: // // - expression (optional): GtkExpression. -// func (self *BoolFilter) Expression() Expressioner { var _arg0 *C.GtkBoolFilter // out var _cret *C.GtkExpression // in @@ -25726,7 +25273,6 @@ func (self *BoolFilter) Expression() Expressioner { // The function returns the following values: // // - ok: TRUE if the filter inverts. -// func (self *BoolFilter) Invert() bool { var _arg0 *C.GtkBoolFilter // out var _cret C.gboolean // in @@ -25753,7 +25299,6 @@ func (self *BoolFilter) Invert() bool { // The function takes the following parameters: // // - expression (optional): GtkExpression. -// func (self *BoolFilter) SetExpression(expression Expressioner) { var _arg0 *C.GtkBoolFilter // out var _arg1 *C.GtkExpression // out @@ -25773,7 +25318,6 @@ func (self *BoolFilter) SetExpression(expression Expressioner) { // The function takes the following parameters: // // - invert: TRUE to invert. -// func (self *BoolFilter) SetInvert(invert bool) { var _arg0 *C.GtkBoolFilter // out var _arg1 C.gboolean // out @@ -25895,7 +25439,6 @@ func marshalBox(p uintptr) (interface{}, error) { // The function returns the following values: // // - box: new GtkBox. -// func NewBox(orientation Orientation, spacing int) *Box { var _arg1 C.GtkOrientation // out var _arg2 C.int // out @@ -25920,7 +25463,6 @@ func NewBox(orientation Orientation, spacing int) *Box { // The function takes the following parameters: // // - child: GtkWidget to append. -// func (box *Box) Append(child Widgetter) { var _arg0 *C.GtkBox // out var _arg1 *C.GtkWidget // out @@ -25938,7 +25480,6 @@ func (box *Box) Append(child Widgetter) { // The function returns the following values: // // - baselinePosition: baseline position. -// func (box *Box) BaselinePosition() BaselinePosition { var _arg0 *C.GtkBox // out var _cret C.GtkBaselinePosition // in @@ -25961,7 +25502,6 @@ func (box *Box) BaselinePosition() BaselinePosition { // The function returns the following values: // // - ok: TRUE if the box is homogeneous. -// func (box *Box) Homogeneous() bool { var _arg0 *C.GtkBox // out var _cret C.gboolean // in @@ -25985,7 +25525,6 @@ func (box *Box) Homogeneous() bool { // The function returns the following values: // // - gint: spacing between children. -// func (box *Box) Spacing() int { var _arg0 *C.GtkBox // out var _cret C.int // in @@ -26011,7 +25550,6 @@ func (box *Box) Spacing() int { // // - child: GtkWidget to insert. // - sibling (optional) after which to insert child. -// func (box *Box) InsertChildAfter(child, sibling Widgetter) { var _arg0 *C.GtkBox // out var _arg1 *C.GtkWidget // out @@ -26034,7 +25572,6 @@ func (box *Box) InsertChildAfter(child, sibling Widgetter) { // The function takes the following parameters: // // - child: GtkWidget to prepend. -// func (box *Box) Prepend(child Widgetter) { var _arg0 *C.GtkBox // out var _arg1 *C.GtkWidget // out @@ -26055,7 +25592,6 @@ func (box *Box) Prepend(child Widgetter) { // The function takes the following parameters: // // - child to remove. -// func (box *Box) Remove(child Widgetter) { var _arg0 *C.GtkBox // out var _arg1 *C.GtkWidget // out @@ -26077,7 +25613,6 @@ func (box *Box) Remove(child Widgetter) { // // - child: GtkWidget to move, must be a child of box. // - sibling (optional) to move child after, or NULL. -// func (box *Box) ReorderChildAfter(child, sibling Widgetter) { var _arg0 *C.GtkBox // out var _arg1 *C.GtkWidget // out @@ -26105,7 +25640,6 @@ func (box *Box) ReorderChildAfter(child, sibling Widgetter) { // The function takes the following parameters: // // - position: GtkBaselinePosition. -// func (box *Box) SetBaselinePosition(position BaselinePosition) { var _arg0 *C.GtkBox // out var _arg1 C.GtkBaselinePosition // out @@ -26125,7 +25659,6 @@ func (box *Box) SetBaselinePosition(position BaselinePosition) { // // - homogeneous: boolean value, TRUE to create equal allotments, FALSE for // variable allotments. -// func (box *Box) SetHomogeneous(homogeneous bool) { var _arg0 *C.GtkBox // out var _arg1 C.gboolean // out @@ -26145,7 +25678,6 @@ func (box *Box) SetHomogeneous(homogeneous bool) { // The function takes the following parameters: // // - spacing: number of pixels to put between children. -// func (box *Box) SetSpacing(spacing int) { var _arg0 *C.GtkBox // out var _arg1 C.int // out @@ -26233,7 +25765,6 @@ func marshalBoxLayout(p uintptr) (interface{}, error) { // The function returns the following values: // // - boxLayout: new box layout. -// func NewBoxLayout(orientation Orientation) *BoxLayout { var _arg1 C.GtkOrientation // out var _cret *C.GtkLayoutManager // in @@ -26256,7 +25787,6 @@ func NewBoxLayout(orientation Orientation) *BoxLayout { // The function returns the following values: // // - baselinePosition: baseline position. -// func (boxLayout *BoxLayout) BaselinePosition() BaselinePosition { var _arg0 *C.GtkBoxLayout // out var _cret C.GtkBaselinePosition // in @@ -26278,7 +25808,6 @@ func (boxLayout *BoxLayout) BaselinePosition() BaselinePosition { // The function returns the following values: // // - ok: TRUE if the layout is homogeneous. -// func (boxLayout *BoxLayout) Homogeneous() bool { var _arg0 *C.GtkBoxLayout // out var _cret C.gboolean // in @@ -26302,7 +25831,6 @@ func (boxLayout *BoxLayout) Homogeneous() bool { // The function returns the following values: // // - guint: spacing of the layout. -// func (boxLayout *BoxLayout) Spacing() uint { var _arg0 *C.GtkBoxLayout // out var _cret C.guint // in @@ -26329,7 +25857,6 @@ func (boxLayout *BoxLayout) Spacing() uint { // The function takes the following parameters: // // - position: GtkBaselinePosition. -// func (boxLayout *BoxLayout) SetBaselinePosition(position BaselinePosition) { var _arg0 *C.GtkBoxLayout // out var _arg1 C.GtkBaselinePosition // out @@ -26348,7 +25875,6 @@ func (boxLayout *BoxLayout) SetBaselinePosition(position BaselinePosition) { // The function takes the following parameters: // // - homogeneous: TRUE to set the box layout as homogeneous. -// func (boxLayout *BoxLayout) SetHomogeneous(homogeneous bool) { var _arg0 *C.GtkBoxLayout // out var _arg1 C.gboolean // out @@ -26368,7 +25894,6 @@ func (boxLayout *BoxLayout) SetHomogeneous(homogeneous bool) { // The function takes the following parameters: // // - spacing to apply between children. -// func (boxLayout *BoxLayout) SetSpacing(spacing uint) { var _arg0 *C.GtkBoxLayout // out var _arg1 C.guint // out @@ -26518,24 +26043,24 @@ func (boxLayout *BoxLayout) SetSpacing(spacing uint) { // // A GtkBuilder UI Definition // -// -// -// -// -// -// -// -// -// gtk-ok -// -// -// -// -// -// -// -// -// +// +// +// +// +// +// +// +// +// gtk-ok +// +// +// +// +// +// +// +// +// // // Beyond this general structure, several object classes define their own // XML DTD fragments for filling in the ANY placeholders in the DTD above. @@ -26578,7 +26103,6 @@ func marshalBuilder(p uintptr) (interface{}, error) { // The function returns the following values: // // - builder: new (empty) GtkBuilder object. -// func NewBuilder() *Builder { var _cret *C.GtkBuilder // in @@ -26604,7 +26128,6 @@ func NewBuilder() *Builder { // The function returns the following values: // // - builder: GtkBuilder containing the described interface. -// func NewBuilderFromFile(filename string) *Builder { var _arg1 *C.char // out var _cret *C.GtkBuilder // in @@ -26634,7 +26157,6 @@ func NewBuilderFromFile(filename string) *Builder { // The function returns the following values: // // - builder: GtkBuilder containing the described interface. -// func NewBuilderFromResource(resourcePath string) *Builder { var _arg1 *C.char // out var _cret *C.GtkBuilder // in @@ -26669,7 +26191,6 @@ func NewBuilderFromResource(resourcePath string) *Builder { // The function returns the following values: // // - builder: GtkBuilder containing the interface described by string. -// func NewBuilderFromString(str string, length int) *Builder { var _arg1 *C.char // out var _arg2 C.gssize // out @@ -26710,7 +26231,6 @@ func NewBuilderFromString(str string, length int) *Builder { // The function takes the following parameters: // // - filename: name of the file to parse. -// func (builder *Builder) AddFromFile(filename string) error { var _arg0 *C.GtkBuilder // out var _arg1 *C.char // out @@ -26749,7 +26269,6 @@ func (builder *Builder) AddFromFile(filename string) error { // The function takes the following parameters: // // - resourcePath: path of the resource file to parse. -// func (builder *Builder) AddFromResource(resourcePath string) error { var _arg0 *C.GtkBuilder // out var _arg1 *C.char // out @@ -26789,7 +26308,6 @@ func (builder *Builder) AddFromResource(resourcePath string) error { // // - buffer: string to parse. // - length of buffer (may be -1 if buffer is nul-terminated). -// func (builder *Builder) AddFromString(buffer string, length int) error { var _arg0 *C.GtkBuilder // out var _arg1 *C.char // out @@ -26829,7 +26347,6 @@ func (builder *Builder) AddFromString(buffer string, length int) error { // // - filename: name of the file to parse. // - objectIds: nul-terminated array of objects to build. -// func (builder *Builder) AddObjectsFromFile(filename string, objectIds []string) error { var _arg0 *C.GtkBuilder // out var _arg1 *C.char // out @@ -26882,7 +26399,6 @@ func (builder *Builder) AddObjectsFromFile(filename string, objectIds []string) // // - resourcePath: path of the resource file to parse. // - objectIds: nul-terminated array of objects to build. -// func (builder *Builder) AddObjectsFromResource(resourcePath string, objectIds []string) error { var _arg0 *C.GtkBuilder // out var _arg1 *C.char // out @@ -26936,7 +26452,6 @@ func (builder *Builder) AddObjectsFromResource(resourcePath string, objectIds [] // - buffer: string to parse. // - length of buffer (may be -1 if buffer is nul-terminated). // - objectIds: nul-terminated array of objects to build. -// func (builder *Builder) AddObjectsFromString(buffer string, length int, objectIds []string) error { var _arg0 *C.GtkBuilder // out var _arg1 *C.char // out @@ -26984,7 +26499,6 @@ func (builder *Builder) AddObjectsFromString(buffer string, length int, objectId // // - name of the object exposed to the builder. // - object to expose. -// func (builder *Builder) ExposeObject(name string, object *coreglib.Object) { var _arg0 *C.GtkBuilder // out var _arg1 *C.char // out @@ -27013,7 +26527,6 @@ func (builder *Builder) ExposeObject(name string, object *coreglib.Object) { // - templateType: type that the template is for. // - buffer: string to parse. // - length of buffer (may be -1 if buffer is nul-terminated). -// func (builder *Builder) ExtendWithTemplate(object *coreglib.Object, templateType coreglib.Type, buffer string, length int) error { var _arg0 *C.GtkBuilder // out var _arg1 *C.GObject // out @@ -27051,7 +26564,6 @@ func (builder *Builder) ExtendWithTemplate(object *coreglib.Object, templateType // The function returns the following values: // // - object (optional): current object. -// func (builder *Builder) CurrentObject() *coreglib.Object { var _arg0 *C.GtkBuilder // out var _cret *C.GObject // in @@ -27083,7 +26595,6 @@ func (builder *Builder) CurrentObject() *coreglib.Object { // // - object (optional) named name or NULL if it could not be found in the // object tree. -// func (builder *Builder) GetObject(name string) *coreglib.Object { var _arg0 *C.GtkBuilder // out var _arg1 *C.char // out @@ -27115,7 +26626,6 @@ func (builder *Builder) GetObject(name string) *coreglib.Object { // // - sList: a newly-allocated GSList containing all the objects constructed by // the GtkBuilder instance. It should be freed by g_slist_free(). -// func (builder *Builder) Objects() []*coreglib.Object { var _arg0 *C.GtkBuilder // out var _cret *C.GSList // in @@ -27143,7 +26653,6 @@ func (builder *Builder) Objects() []*coreglib.Object { // The function returns the following values: // // - builderScope: current scope. -// func (builder *Builder) Scope() *BuilderScope { var _arg0 *C.GtkBuilder // out var _cret *C.GtkBuilderScope // in @@ -27166,7 +26675,6 @@ func (builder *Builder) Scope() *BuilderScope { // // - utf8 (optional): translation domain or NULL. This string is owned by the // builder object and must not be modified or freed. -// func (builder *Builder) TranslationDomain() string { var _arg0 *C.GtkBuilder // out var _cret *C.char // in @@ -27197,7 +26705,6 @@ func (builder *Builder) TranslationDomain() string { // The function returns the following values: // // - gType: GType found for type_name or G_TYPE_INVALID if no type was found. -// func (builder *Builder) TypeFromName(typeName string) coreglib.Type { var _arg0 *C.GtkBuilder // out var _arg1 *C.char // out @@ -27231,7 +26738,6 @@ func (builder *Builder) TypeFromName(typeName string) coreglib.Type { // The function takes the following parameters: // // - currentObject (optional): new current object or NULL for none. -// func (builder *Builder) SetCurrentObject(currentObject *coreglib.Object) { var _arg0 *C.GtkBuilder // out var _arg1 *C.GObject // out @@ -27253,7 +26759,6 @@ func (builder *Builder) SetCurrentObject(currentObject *coreglib.Object) { // The function takes the following parameters: // // - scope (optional) to use or NULL for the default. -// func (builder *Builder) SetScope(scope BuilderScoper) { var _arg0 *C.GtkBuilder // out var _arg1 *C.GtkBuilderScope // out @@ -27273,7 +26778,6 @@ func (builder *Builder) SetScope(scope BuilderScoper) { // The function takes the following parameters: // // - domain (optional): translation domain or NULL. -// func (builder *Builder) SetTranslationDomain(domain string) { var _arg0 *C.GtkBuilder // out var _arg1 *C.char // out @@ -27308,7 +26812,6 @@ func (builder *Builder) SetTranslationDomain(domain string) { // The function returns the following values: // // - value to store the result in. -// func (builder *Builder) ValueFromStringType(typ coreglib.Type, str string) (coreglib.Value, error) { var _arg0 *C.GtkBuilder // out var _arg1 C.GType // out @@ -27408,7 +26911,6 @@ func marshalBuilderCScope(p uintptr) (interface{}, error) { // The function returns the following values: // // - builderCScope: new GtkBuilderCScope. -// func NewBuilderCScope() *BuilderCScope { var _cret *C.GtkBuilderScope // in @@ -27429,20 +26931,20 @@ func NewBuilderCScope() *BuilderCScope { // // Example: // -// -// -// . +// +// +// . type BuilderListItemFactory struct { _ [0]func() // equal guard ListItemFactory @@ -27475,7 +26977,6 @@ func marshalBuilderListItemFactory(p uintptr) (interface{}, error) { // The function returns the following values: // // - builderListItemFactory: new GtkBuilderListItemFactory. -// func NewBuilderListItemFactoryFromBytes(scope BuilderScoper, bytes *glib.Bytes) *BuilderListItemFactory { var _arg1 *C.GtkBuilderScope // out var _arg2 *C.GBytes // out @@ -27509,7 +27010,6 @@ func NewBuilderListItemFactoryFromBytes(scope BuilderScoper, bytes *glib.Bytes) // The function returns the following values: // // - builderListItemFactory: new GtkBuilderListItemFactory. -// func NewBuilderListItemFactoryFromResource(scope BuilderScoper, resourcePath string) *BuilderListItemFactory { var _arg1 *C.GtkBuilderScope // out var _arg2 *C.char // out @@ -27538,7 +27038,6 @@ func NewBuilderListItemFactoryFromResource(scope BuilderScoper, resourcePath str // The function returns the following values: // // - bytes: GtkBuilder data. -// func (self *BuilderListItemFactory) Bytes() *glib.Bytes { var _arg0 *C.GtkBuilderListItemFactory // out var _cret *C.GBytes // in @@ -27567,7 +27066,6 @@ func (self *BuilderListItemFactory) Bytes() *glib.Bytes { // The function returns the following values: // // - utf8 (optional): path to the resource or NULL if none. -// func (self *BuilderListItemFactory) Resource() string { var _arg0 *C.GtkBuilderListItemFactory // out var _cret *C.char // in @@ -27591,7 +27089,6 @@ func (self *BuilderListItemFactory) Resource() string { // The function returns the following values: // // - builderScope (optional): scope used when constructing listitems. -// func (self *BuilderListItemFactory) Scope() *BuilderScope { var _arg0 *C.GtkBuilderListItemFactory // out var _cret *C.GtkBuilderScope // in @@ -27754,7 +27251,6 @@ func (button *Button) ConnectClicked(f func()) coreglib.SignalHandle { // The function returns the following values: // // - button: newly created GtkButton widget. -// func NewButton() *Button { var _cret *C.GtkWidget // in @@ -27781,7 +27277,6 @@ func NewButton() *Button { // The function returns the following values: // // - button: new GtkButton displaying the themed icon. -// func NewButtonFromIconName(iconName string) *Button { var _arg1 *C.char // out var _cret *C.GtkWidget // in @@ -27810,7 +27305,6 @@ func NewButtonFromIconName(iconName string) *Button { // The function returns the following values: // // - button: newly created GtkButton widget. -// func NewButtonWithLabel(label string) *Button { var _arg1 *C.char // out var _cret *C.GtkWidget // in @@ -27844,7 +27338,6 @@ func NewButtonWithLabel(label string) *Button { // The function returns the following values: // // - button: new GtkButton. -// func NewButtonWithMnemonic(label string) *Button { var _arg1 *C.char // out var _cret *C.GtkWidget // in @@ -27867,7 +27360,6 @@ func NewButtonWithMnemonic(label string) *Button { // The function returns the following values: // // - widget (optional): child widget of button. -// func (button *Button) Child() Widgetter { var _arg0 *C.GtkButton // out var _cret *C.GtkWidget // in @@ -27904,7 +27396,6 @@ func (button *Button) Child() Widgetter { // The function returns the following values: // // - ok: TRUE if the button has a frame. -// func (button *Button) HasFrame() bool { var _arg0 *C.GtkButton // out var _cret C.gboolean // in @@ -27932,7 +27423,6 @@ func (button *Button) HasFrame() bool { // The function returns the following values: // // - utf8 (optional): icon name set via gtk.Button.SetIconName(). -// func (button *Button) IconName() string { var _arg0 *C.GtkButton // out var _cret *C.char // in @@ -27961,7 +27451,6 @@ func (button *Button) IconName() string { // // - utf8 (optional): text of the label widget. This string is owned by the // widget and must not be modified or freed. -// func (button *Button) Label() string { var _arg0 *C.GtkButton // out var _cret *C.char // in @@ -27988,7 +27477,6 @@ func (button *Button) Label() string { // // - ok: TRUE if an embedded underline in the button label indicates the // mnemonic accelerator keys. -// func (button *Button) UseUnderline() bool { var _arg0 *C.GtkButton // out var _cret C.gboolean // in @@ -28012,7 +27500,6 @@ func (button *Button) UseUnderline() bool { // The function takes the following parameters: // // - child (optional) widget. -// func (button *Button) SetChild(child Widgetter) { var _arg0 *C.GtkButton // out var _arg1 *C.GtkWidget // out @@ -28034,7 +27521,6 @@ func (button *Button) SetChild(child Widgetter) { // The function takes the following parameters: // // - hasFrame: whether the button should have a visible frame. -// func (button *Button) SetHasFrame(hasFrame bool) { var _arg0 *C.GtkButton // out var _arg1 C.gboolean // out @@ -28057,7 +27543,6 @@ func (button *Button) SetHasFrame(hasFrame bool) { // The function takes the following parameters: // // - iconName: icon name. -// func (button *Button) SetIconName(iconName string) { var _arg0 *C.GtkButton // out var _arg1 *C.char // out @@ -28078,7 +27563,6 @@ func (button *Button) SetIconName(iconName string) { // The function takes the following parameters: // // - label: string. -// func (button *Button) SetLabel(label string) { var _arg0 *C.GtkButton // out var _arg1 *C.char // out @@ -28100,7 +27584,6 @@ func (button *Button) SetLabel(label string) { // The function takes the following parameters: // // - useUnderline: TRUE if underlines in the text indicate mnemonics. -// func (button *Button) SetUseUnderline(useUnderline bool) { var _arg0 *C.GtkButton // out var _arg1 C.gboolean // out @@ -28184,16 +27667,16 @@ func marshalCClosureExpression(p uintptr) (interface{}, error) { // // CSS nodes // -// calendar.view -// ├── header -// │ ├── button -// │ ├── stack.month -// │ ├── button -// │ ├── button -// │ ├── label.year -// │ ╰── button -// ╰── grid -// ╰── label[.day-name][.week-number][.day-number][.other-month][.today] +// calendar.view +// ├── header +// │ ├── button +// │ ├── stack.month +// │ ├── button +// │ ├── button +// │ ├── label.year +// │ ╰── button +// ╰── grid +// ╰── label[.day-name][.week-number][.day-number][.other-month][.today] // // GtkCalendar has a main node with name calendar. It contains a subnode called // header containing the widgets for switching between years and months. @@ -28269,7 +27752,6 @@ func (calendar *Calendar) ConnectPrevYear(f func()) coreglib.SignalHandle { // The function returns the following values: // // - calendar: newly GtkCalendar widget. -// func NewCalendar() *Calendar { var _cret *C.GtkWidget // in @@ -28299,7 +27781,6 @@ func (calendar *Calendar) ClearMarks() { // The function returns the following values: // // - dateTime: GDate representing the shown date. -// func (self *Calendar) Date() *glib.DateTime { var _arg0 *C.GtkCalendar // out var _cret *C.GDateTime // in @@ -28331,7 +27812,6 @@ func (self *Calendar) Date() *glib.DateTime { // The function returns the following values: // // - ok: whether the day is marked. -// func (calendar *Calendar) DayIsMarked(day uint) bool { var _arg0 *C.GtkCalendar // out var _arg1 C.guint // out @@ -28361,7 +27841,6 @@ func (calendar *Calendar) DayIsMarked(day uint) bool { // The function returns the following values: // // - ok: whether the calendar shows day names. -// func (self *Calendar) ShowDayNames() bool { var _arg0 *C.GtkCalendar // out var _cret C.gboolean // in @@ -28387,7 +27866,6 @@ func (self *Calendar) ShowDayNames() bool { // The function returns the following values: // // - ok: whether the calendar is showing a heading. -// func (self *Calendar) ShowHeading() bool { var _arg0 *C.GtkCalendar // out var _cret C.gboolean // in @@ -28413,7 +27891,6 @@ func (self *Calendar) ShowHeading() bool { // The function returns the following values: // // - ok: whether the calendar is showing week numbers. -// func (self *Calendar) ShowWeekNumbers() bool { var _arg0 *C.GtkCalendar // out var _cret C.gboolean // in @@ -28437,7 +27914,6 @@ func (self *Calendar) ShowWeekNumbers() bool { // The function takes the following parameters: // // - day number to mark between 1 and 31. -// func (calendar *Calendar) MarkDay(day uint) { var _arg0 *C.GtkCalendar // out var _arg1 C.guint // out @@ -28455,7 +27931,6 @@ func (calendar *Calendar) MarkDay(day uint) { // The function takes the following parameters: // // - date representing the day to select. -// func (self *Calendar) SelectDay(date *glib.DateTime) { var _arg0 *C.GtkCalendar // out var _arg1 *C.GDateTime // out @@ -28473,7 +27948,6 @@ func (self *Calendar) SelectDay(date *glib.DateTime) { // The function takes the following parameters: // // - value: whether to show day names above the day numbers. -// func (self *Calendar) SetShowDayNames(value bool) { var _arg0 *C.GtkCalendar // out var _arg1 C.gboolean // out @@ -28496,7 +27970,6 @@ func (self *Calendar) SetShowDayNames(value bool) { // The function takes the following parameters: // // - value: whether to show the heading in the calendar. -// func (self *Calendar) SetShowHeading(value bool) { var _arg0 *C.GtkCalendar // out var _arg1 C.gboolean // out @@ -28516,7 +27989,6 @@ func (self *Calendar) SetShowHeading(value bool) { // The function takes the following parameters: // // - value: whether to show week numbers on the left of the days. -// func (self *Calendar) SetShowWeekNumbers(value bool) { var _arg0 *C.GtkCalendar // out var _arg1 C.gboolean // out @@ -28536,7 +28008,6 @@ func (self *Calendar) SetShowWeekNumbers(value bool) { // The function takes the following parameters: // // - day number to unmark between 1 and 31. -// func (calendar *Calendar) UnmarkDay(day uint) { var _arg0 *C.GtkCalendar // out var _arg1 C.guint // out @@ -28581,7 +28052,6 @@ func marshalCallbackAction(p uintptr) (interface{}, error) { // The function returns the following values: // // - callbackAction: new shortcut action. -// func NewCallbackAction(callback ShortcutFunc) *CallbackAction { var _arg1 C.GtkShortcutFunc // out var _arg2 C.gpointer @@ -28622,14 +28092,12 @@ type CellAreaOverrides struct { // The function returns the following values: // // - ok: whether area was successfully activated. - // Activate func(context *CellAreaContext, widget Widgetter, cellArea *gdk.Rectangle, flags CellRendererState, editOnly bool) bool // Add adds renderer to area with the default child cell properties. // // The function takes the following parameters: // // - renderer to add to area. - // Add func(renderer CellRendererer) // ApplyAttributes applies any connected attributes to the renderers in area // by pulling the values from tree_model. @@ -28641,7 +28109,6 @@ type CellAreaOverrides struct { // - isExpander: whether iter has children. // - isExpanded: whether iter is expanded in the view and children are // visible. - // ApplyAttributes func(treeModel TreeModeller, iter *TreeIter, isExpander, isExpanded bool) // CopyContext: this is sometimes needed for cases where rows need to // share alignments in one orientation but may be separately grouped in the @@ -28660,7 +28127,6 @@ type CellAreaOverrides struct { // The function returns the following values: // // - cellAreaContext: newly created CellAreaContext copy of context. - // CopyContext func(context *CellAreaContext) *CellAreaContext // CreateContext creates a CellAreaContext to be used with area for all // purposes. CellAreaContext stores geometry information for rows for which @@ -28673,7 +28139,6 @@ type CellAreaOverrides struct { // // - cellAreaContext: newly created CellAreaContext which can be used with // area. - // CreateContext func() *CellAreaContext // Event delegates event handling to a CellArea. // @@ -28688,7 +28153,6 @@ type CellAreaOverrides struct { // The function returns the following values: // // - gint: TRUE if the event was handled by area. - // Event func(context *CellAreaContext, widget Widgetter, event gdk.Eventer, cellArea *gdk.Rectangle, flags CellRendererState) int // Focus: this should be called by the area’s owning layout widget when // focus is to be passed to area, or moved within area for a given direction @@ -28704,7 +28168,6 @@ type CellAreaOverrides struct { // The function returns the following values: // // - ok: TRUE if focus remains inside area as a result of this call. - // Focus func(direction DirectionType) bool // PreferredHeight retrieves a cell area’s initial minimum and natural // height. @@ -28726,7 +28189,6 @@ type CellAreaOverrides struct { // or NULL. // - naturalHeight (optional): location to store the natural height, // or NULL. - // PreferredHeight func(context *CellAreaContext, widget Widgetter) (minimumHeight, naturalHeight int) // PreferredHeightForWidth retrieves a cell area’s minimum and natural // height if it would be given the specified width. @@ -28755,7 +28217,6 @@ type CellAreaOverrides struct { // or NULL. // - naturalHeight (optional): location to store the natural height, // or NULL. - // PreferredHeightForWidth func(context *CellAreaContext, widget Widgetter, width int) (minimumHeight, naturalHeight int) // PreferredWidth retrieves a cell area’s initial minimum and natural width. // @@ -28776,7 +28237,6 @@ type CellAreaOverrides struct { // or NULL. // - naturalWidth (optional): location to store the natural width, // or NULL. - // PreferredWidth func(context *CellAreaContext, widget Widgetter) (minimumWidth, naturalWidth int) // PreferredWidthForHeight retrieves a cell area’s minimum and natural width // if it would be given the specified height. @@ -28805,7 +28265,6 @@ type CellAreaOverrides struct { // or NULL. // - naturalWidth (optional): location to store the natural width, // or NULL. - // PreferredWidthForHeight func(context *CellAreaContext, widget Widgetter, height int) (minimumWidth, naturalWidth int) // RequestMode gets whether the area prefers a height-for-width layout or a // width-for-height layout. @@ -28813,7 +28272,6 @@ type CellAreaOverrides struct { // The function returns the following values: // // - sizeRequestMode preferred by area. - // RequestMode func() SizeRequestMode // IsActivatable returns whether the area can do anything when activated, // after applying new attributes to area. @@ -28821,14 +28279,12 @@ type CellAreaOverrides struct { // The function returns the following values: // // - ok: whether area can do anything when activated. - // IsActivatable func() bool // Remove removes renderer from area. // // The function takes the following parameters: // // - renderer to remove from area. - // Remove func(renderer CellRendererer) // Snapshot snapshots area’s cells according to area’s layout onto at the // given coordinates. @@ -28843,7 +28299,6 @@ type CellAreaOverrides struct { // - flags for area in this row. // - paintFocus: whether area should paint focus on focused cells for // focused rows or not. - // Snapshot func(context *CellAreaContext, widget Widgetter, snapshot *Snapshot, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState, paintFocus bool) } @@ -28912,61 +28367,61 @@ func defaultCellAreaOverrides(v *CellArea) CellAreaOverrides { // In order to request the width of all the rows at the root level of a // TreeModel one would do the following: // -// static gboolean -// foo_focus (GtkWidget *widget, -// GtkDirectionType direction) -// { -// Foo *foo = FOO (widget); -// FooPrivate *priv = foo->priv; -// int focus_row; -// gboolean have_focus = FALSE; -// -// focus_row = priv->focus_row; -// -// if (!gtk_widget_has_focus (widget)) -// gtk_widget_grab_focus (widget); -// -// valid = gtk_tree_model_iter_nth_child (priv->model, &iter, NULL, priv->focus_row); -// while (valid) -// { -// gtk_cell_area_apply_attributes (priv->area, priv->model, &iter, FALSE, FALSE); -// -// if (gtk_cell_area_focus (priv->area, direction)) -// { -// priv->focus_row = focus_row; -// have_focus = TRUE; -// break; -// } -// else -// { -// if (direction == GTK_DIR_RIGHT || -// direction == GTK_DIR_LEFT) -// break; -// else if (direction == GTK_DIR_UP || -// direction == GTK_DIR_TAB_BACKWARD) -// { -// if (focus_row == 0) -// break; -// else -// { -// focus_row--; -// valid = gtk_tree_model_iter_nth_child (priv->model, &iter, NULL, focus_row); -// } -// } -// else -// { -// if (focus_row == last_row) -// break; -// else -// { -// focus_row++; -// valid = gtk_tree_model_iter_next (priv->model, &iter); -// } -// } -// } -// } -// return have_focus; -// } +// static gboolean +// foo_focus (GtkWidget *widget, +// GtkDirectionType direction) +// { +// Foo *foo = FOO (widget); +// FooPrivate *priv = foo->priv; +// int focus_row; +// gboolean have_focus = FALSE; +// +// focus_row = priv->focus_row; +// +// if (!gtk_widget_has_focus (widget)) +// gtk_widget_grab_focus (widget); +// +// valid = gtk_tree_model_iter_nth_child (priv->model, &iter, NULL, priv->focus_row); +// while (valid) +// { +// gtk_cell_area_apply_attributes (priv->area, priv->model, &iter, FALSE, FALSE); +// +// if (gtk_cell_area_focus (priv->area, direction)) +// { +// priv->focus_row = focus_row; +// have_focus = TRUE; +// break; +// } +// else +// { +// if (direction == GTK_DIR_RIGHT || +// direction == GTK_DIR_LEFT) +// break; +// else if (direction == GTK_DIR_UP || +// direction == GTK_DIR_TAB_BACKWARD) +// { +// if (focus_row == 0) +// break; +// else +// { +// focus_row--; +// valid = gtk_tree_model_iter_nth_child (priv->model, &iter, NULL, focus_row); +// } +// } +// else +// { +// if (focus_row == last_row) +// break; +// else +// { +// focus_row++; +// valid = gtk_tree_model_iter_next (priv->model, &iter); +// } +// } +// } +// } +// return have_focus; +// } // // Note that the layouting widget is responsible for matching the // GtkDirectionType values to the way it lays out its cells. @@ -29163,7 +28618,6 @@ func (area *CellArea) ConnectRemoveEditable(f func(renderer CellRendererer, edit // The function returns the following values: // // - ok: whether area was successfully activated. -// func (area *CellArea) Activate(context *CellAreaContext, widget Widgetter, cellArea *gdk.Rectangle, flags CellRendererState, editOnly bool) bool { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -29214,7 +28668,6 @@ func (area *CellArea) Activate(context *CellAreaContext, widget Widgetter, cellA // The function returns the following values: // // - ok: whether cell activation was successful. -// func (area *CellArea) ActivateCell(widget Widgetter, renderer CellRendererer, event gdk.Eventer, cellArea *gdk.Rectangle, flags CellRendererState) bool { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkWidget // out @@ -29253,7 +28706,6 @@ func (area *CellArea) ActivateCell(widget Widgetter, renderer CellRendererer, ev // The function takes the following parameters: // // - renderer to add to area. -// func (area *CellArea) Add(renderer CellRendererer) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -29277,7 +28729,6 @@ func (area *CellArea) Add(renderer CellRendererer) { // // - renderer expected to have focus. // - sibling to add to renderer’s focus area. -// func (area *CellArea) AddFocusSibling(renderer, sibling CellRendererer) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -29303,7 +28754,6 @@ func (area *CellArea) AddFocusSibling(renderer, sibling CellRendererer) { // - isExpander: whether iter has children. // - isExpanded: whether iter is expanded in the view and children are // visible. -// func (area *CellArea) ApplyAttributes(treeModel TreeModeller, iter *TreeIter, isExpander, isExpanded bool) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkTreeModel // out @@ -29337,7 +28787,6 @@ func (area *CellArea) ApplyAttributes(treeModel TreeModeller, iter *TreeIter, is // - renderer to connect an attribute for. // - attribute name. // - column column to fetch attribute values from. -// func (area *CellArea) AttributeConnect(renderer CellRendererer, attribute string, column int) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -29364,7 +28813,6 @@ func (area *CellArea) AttributeConnect(renderer CellRendererer, attribute string // // - renderer to disconnect an attribute for. // - attribute name. -// func (area *CellArea) AttributeDisconnect(renderer CellRendererer, attribute string) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -29392,7 +28840,6 @@ func (area *CellArea) AttributeDisconnect(renderer CellRendererer, attribute str // The function returns the following values: // // - gint: model column, or -1. -// func (area *CellArea) AttributeGetColumn(renderer CellRendererer, attribute string) int { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -29423,7 +28870,6 @@ func (area *CellArea) AttributeGetColumn(renderer CellRendererer, attribute stri // - renderer inside area. // - propertyName: name of the property to get. // - value: location to return the value. -// func (area *CellArea) CellGetProperty(renderer CellRendererer, propertyName string, value *coreglib.Value) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -29450,7 +28896,6 @@ func (area *CellArea) CellGetProperty(renderer CellRendererer, propertyName stri // - renderer inside area. // - propertyName: name of the cell property to set. // - value to set the cell property to. -// func (area *CellArea) CellSetProperty(renderer CellRendererer, propertyName string, value *coreglib.Value) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -29487,7 +28932,6 @@ func (area *CellArea) CellSetProperty(renderer CellRendererer, propertyName stri // The function returns the following values: // // - cellAreaContext: newly created CellAreaContext copy of context. -// func (area *CellArea) CopyContext(context *CellAreaContext) *CellAreaContext { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -29517,7 +28961,6 @@ func (area *CellArea) CopyContext(context *CellAreaContext) *CellAreaContext { // // - cellAreaContext: newly created CellAreaContext which can be used with // area. -// func (area *CellArea) CreateContext() *CellAreaContext { var _arg0 *C.GtkCellArea // out var _cret *C.GtkCellAreaContext // in @@ -29547,7 +28990,6 @@ func (area *CellArea) CreateContext() *CellAreaContext { // The function returns the following values: // // - gint: TRUE if the event was handled by area. -// func (area *CellArea) Event(context *CellAreaContext, widget Widgetter, event gdk.Eventer, cellArea *gdk.Rectangle, flags CellRendererState) int { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -29593,7 +29035,6 @@ func (area *CellArea) Event(context *CellAreaContext, widget Widgetter, event gd // The function returns the following values: // // - ok: TRUE if focus remains inside area as a result of this call. -// func (area *CellArea) Focus(direction DirectionType) bool { var _arg0 *C.GtkCellArea // out var _arg1 C.GtkDirectionType // out @@ -29620,7 +29061,6 @@ func (area *CellArea) Focus(direction DirectionType) bool { // The function takes the following parameters: // // - callback to call. -// func (area *CellArea) ForEach(callback CellCallback) { var _arg0 *C.GtkCellArea // out var _arg1 C.GtkCellCallback // out @@ -29646,7 +29086,6 @@ func (area *CellArea) ForEach(callback CellCallback) { // - cellArea: widget relative coordinates and size for area. // - backgroundArea: widget relative coordinates of the background area. // - callback to call. -// func (area *CellArea) ForEachAlloc(context *CellAreaContext, widget Widgetter, cellArea, backgroundArea *gdk.Rectangle, callback CellAllocCallback) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -29687,7 +29126,6 @@ func (area *CellArea) ForEachAlloc(context *CellAreaContext, widget Widgetter, c // The function returns the following values: // // - allocation: where to store the allocation for renderer. -// func (area *CellArea) CellAllocation(context *CellAreaContext, widget Widgetter, renderer CellRendererer, cellArea *gdk.Rectangle) *gdk.Rectangle { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -29732,7 +29170,6 @@ func (area *CellArea) CellAllocation(context *CellAreaContext, widget Widgetter, // - allocArea (optional): where to store the inner allocated area of the // returned cell renderer, or NULL. // - cellRenderer at x and y. -// func (area *CellArea) CellAtPosition(context *CellAreaContext, widget Widgetter, cellArea *gdk.Rectangle, x, y int) (*gdk.Rectangle, CellRendererer) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -29791,7 +29228,6 @@ func (area *CellArea) CellAtPosition(context *CellAreaContext, widget Widgetter, // // - utf8: current TreePath string for the current attributes applied to area. // This string belongs to the area and should not be freed. -// func (area *CellArea) CurrentPathString() string { var _arg0 *C.GtkCellArea // out var _cret *C.char // in @@ -29814,7 +29250,6 @@ func (area *CellArea) CurrentPathString() string { // The function returns the following values: // // - cellEditable: currently active CellEditable widget. -// func (area *CellArea) EditWidget() *CellEditable { var _arg0 *C.GtkCellArea // out var _cret *C.GtkCellEditable // in @@ -29836,7 +29271,6 @@ func (area *CellArea) EditWidget() *CellEditable { // The function returns the following values: // // - cellRenderer: currently edited CellRenderer. -// func (area *CellArea) EditedCell() CellRendererer { var _arg0 *C.GtkCellArea // out var _cret *C.GtkCellRenderer // in @@ -29874,7 +29308,6 @@ func (area *CellArea) EditedCell() CellRendererer { // The function returns the following values: // // - cellRenderer: currently focused cell in area. -// func (area *CellArea) FocusCell() CellRendererer { var _arg0 *C.GtkCellArea // out var _cret *C.GtkCellRenderer // in @@ -29921,7 +29354,6 @@ func (area *CellArea) FocusCell() CellRendererer { // The function returns the following values: // // - cellRenderer (optional) for which renderer is a sibling, or NULL. -// func (area *CellArea) FocusFromSibling(renderer CellRendererer) CellRendererer { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -29966,7 +29398,6 @@ func (area *CellArea) FocusFromSibling(renderer CellRendererer) CellRendererer { // // - list of CellRenderers. The returned list is internal and should not be // freed. -// func (area *CellArea) FocusSiblings(renderer CellRendererer) []CellRendererer { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -30025,7 +29456,6 @@ func (area *CellArea) FocusSiblings(renderer CellRendererer) []CellRendererer { // // - minimumHeight (optional): location to store the minimum height, or NULL. // - naturalHeight (optional): location to store the natural height, or NULL. -// func (area *CellArea) PreferredHeight(context *CellAreaContext, widget Widgetter) (minimumHeight, naturalHeight int) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -30075,7 +29505,6 @@ func (area *CellArea) PreferredHeight(context *CellAreaContext, widget Widgetter // // - minimumHeight (optional): location to store the minimum height, or NULL. // - naturalHeight (optional): location to store the natural height, or NULL. -// func (area *CellArea) PreferredHeightForWidth(context *CellAreaContext, widget Widgetter, width int) (minimumHeight, naturalHeight int) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -30120,7 +29549,6 @@ func (area *CellArea) PreferredHeightForWidth(context *CellAreaContext, widget W // // - minimumWidth (optional): location to store the minimum width, or NULL. // - naturalWidth (optional): location to store the natural width, or NULL. -// func (area *CellArea) PreferredWidth(context *CellAreaContext, widget Widgetter) (minimumWidth, naturalWidth int) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -30170,7 +29598,6 @@ func (area *CellArea) PreferredWidth(context *CellAreaContext, widget Widgetter) // // - minimumWidth (optional): location to store the minimum width, or NULL. // - naturalWidth (optional): location to store the natural width, or NULL. -// func (area *CellArea) PreferredWidthForHeight(context *CellAreaContext, widget Widgetter, height int) (minimumWidth, naturalWidth int) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -30205,7 +29632,6 @@ func (area *CellArea) PreferredWidthForHeight(context *CellAreaContext, widget W // The function returns the following values: // // - sizeRequestMode preferred by area. -// func (area *CellArea) RequestMode() SizeRequestMode { var _arg0 *C.GtkCellArea // out var _cret C.GtkSizeRequestMode // in @@ -30231,7 +29657,6 @@ func (area *CellArea) RequestMode() SizeRequestMode { // The function returns the following values: // // - ok: TRUE if renderer is in the area. -// func (area *CellArea) HasRenderer(renderer CellRendererer) bool { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -30266,7 +29691,6 @@ func (area *CellArea) HasRenderer(renderer CellRendererer) bool { // The function returns the following values: // // - innerArea: return location for the inner cell area. -// func (area *CellArea) InnerCellArea(widget Widgetter, cellArea *gdk.Rectangle) *gdk.Rectangle { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkWidget // out @@ -30295,7 +29719,6 @@ func (area *CellArea) InnerCellArea(widget Widgetter, cellArea *gdk.Rectangle) * // The function returns the following values: // // - ok: whether area can do anything when activated. -// func (area *CellArea) IsActivatable() bool { var _arg0 *C.GtkCellArea // out var _cret C.gboolean // in @@ -30325,7 +29748,6 @@ func (area *CellArea) IsActivatable() bool { // The function returns the following values: // // - ok: TRUE if sibling is a focus sibling of renderer. -// func (area *CellArea) IsFocusSibling(renderer, sibling CellRendererer) bool { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -30355,7 +29777,6 @@ func (area *CellArea) IsFocusSibling(renderer, sibling CellRendererer) bool { // The function takes the following parameters: // // - renderer to remove from area. -// func (area *CellArea) Remove(renderer CellRendererer) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -30375,7 +29796,6 @@ func (area *CellArea) Remove(renderer CellRendererer) { // // - renderer expected to have focus. // - sibling to remove from renderer’s focus area. -// func (area *CellArea) RemoveFocusSibling(renderer, sibling CellRendererer) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -30408,7 +29828,6 @@ func (area *CellArea) RemoveFocusSibling(renderer, sibling CellRendererer) { // // - minimumSize (optional): location to store the minimum size, or NULL. // - naturalSize (optional): location to store the natural size, or NULL. -// func (area *CellArea) RequestRenderer(renderer CellRendererer, orientation Orientation, widget Widgetter, forSize int) (minimumSize, naturalSize int) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -30449,7 +29868,6 @@ func (area *CellArea) RequestRenderer(renderer CellRendererer, orientation Orien // The function takes the following parameters: // // - renderer to give focus to. -// func (area *CellArea) SetFocusCell(renderer CellRendererer) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellRenderer // out @@ -30475,7 +29893,6 @@ func (area *CellArea) SetFocusCell(renderer CellRendererer) { // - flags for area in this row. // - paintFocus: whether area should paint focus on focused cells for focused // rows or not. -// func (area *CellArea) Snapshot(context *CellAreaContext, widget Widgetter, snapshot *Snapshot, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState, paintFocus bool) { var _arg0 *C.GtkCellArea // out var _arg1 *C.GtkCellAreaContext // out @@ -30519,7 +29936,6 @@ func (area *CellArea) Snapshot(context *CellAreaContext, widget Widgetter, snaps // The function takes the following parameters: // // - canceled: whether editing was canceled. -// func (area *CellArea) StopEditing(canceled bool) { var _arg0 *C.GtkCellArea // out var _arg1 C.gboolean // out @@ -30550,7 +29966,6 @@ func (area *CellArea) StopEditing(canceled bool) { // The function returns the following values: // // - ok: whether area was successfully activated. -// func (area *CellArea) activate(context *CellAreaContext, widget Widgetter, cellArea *gdk.Rectangle, flags CellRendererState, editOnly bool) bool { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.activate @@ -30594,7 +30009,6 @@ func (area *CellArea) activate(context *CellAreaContext, widget Widgetter, cellA // The function takes the following parameters: // // - renderer to add to area. -// func (area *CellArea) add(renderer CellRendererer) { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.add @@ -30620,7 +30034,6 @@ func (area *CellArea) add(renderer CellRendererer) { // - isExpander: whether iter has children. // - isExpanded: whether iter is expanded in the view and children are // visible. -// func (area *CellArea) applyAttributes(treeModel TreeModeller, iter *TreeIter, isExpander, isExpanded bool) { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.apply_attributes @@ -30666,7 +30079,6 @@ func (area *CellArea) applyAttributes(treeModel TreeModeller, iter *TreeIter, is // The function returns the following values: // // - cellAreaContext: newly created CellAreaContext copy of context. -// func (area *CellArea) copyContext(context *CellAreaContext) *CellAreaContext { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.copy_context @@ -30699,7 +30111,6 @@ func (area *CellArea) copyContext(context *CellAreaContext) *CellAreaContext { // // - cellAreaContext: newly created CellAreaContext which can be used with // area. -// func (area *CellArea) createContext() *CellAreaContext { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.create_context @@ -30732,7 +30143,6 @@ func (area *CellArea) createContext() *CellAreaContext { // The function returns the following values: // // - gint: TRUE if the event was handled by area. -// func (area *CellArea) event(context *CellAreaContext, widget Widgetter, event gdk.Eventer, cellArea *gdk.Rectangle, flags CellRendererState) int { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.event @@ -30781,7 +30191,6 @@ func (area *CellArea) event(context *CellAreaContext, widget Widgetter, event gd // The function returns the following values: // // - ok: TRUE if focus remains inside area as a result of this call. -// func (area *CellArea) focus(direction DirectionType) bool { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.focus @@ -30811,7 +30220,6 @@ func (area *CellArea) focus(direction DirectionType) bool { // The function takes the following parameters: // // - callback to call. -// func (area *CellArea) forEach(callback CellCallback) { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.foreach @@ -30840,7 +30248,6 @@ func (area *CellArea) forEach(callback CellCallback) { // - cellArea: widget relative coordinates and size for area. // - backgroundArea: widget relative coordinates of the background area. // - callback to call. -// func (area *CellArea) forEachAlloc(context *CellAreaContext, widget Widgetter, cellArea, backgroundArea *gdk.Rectangle, callback CellAllocCallback) { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.foreach_alloc @@ -30888,7 +30295,6 @@ func (area *CellArea) forEachAlloc(context *CellAreaContext, widget Widgetter, c // // - minimumHeight (optional): location to store the minimum height, or NULL. // - naturalHeight (optional): location to store the natural height, or NULL. -// func (area *CellArea) preferredHeight(context *CellAreaContext, widget Widgetter) (minimumHeight, naturalHeight int) { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.get_preferred_height @@ -30941,7 +30347,6 @@ func (area *CellArea) preferredHeight(context *CellAreaContext, widget Widgetter // // - minimumHeight (optional): location to store the minimum height, or NULL. // - naturalHeight (optional): location to store the natural height, or NULL. -// func (area *CellArea) preferredHeightForWidth(context *CellAreaContext, widget Widgetter, width int) (minimumHeight, naturalHeight int) { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.get_preferred_height_for_width @@ -30989,7 +30394,6 @@ func (area *CellArea) preferredHeightForWidth(context *CellAreaContext, widget W // // - minimumWidth (optional): location to store the minimum width, or NULL. // - naturalWidth (optional): location to store the natural width, or NULL. -// func (area *CellArea) preferredWidth(context *CellAreaContext, widget Widgetter) (minimumWidth, naturalWidth int) { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.get_preferred_width @@ -31042,7 +30446,6 @@ func (area *CellArea) preferredWidth(context *CellAreaContext, widget Widgetter) // // - minimumWidth (optional): location to store the minimum width, or NULL. // - naturalWidth (optional): location to store the natural width, or NULL. -// func (area *CellArea) preferredWidthForHeight(context *CellAreaContext, widget Widgetter, height int) (minimumWidth, naturalWidth int) { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.get_preferred_width_for_height @@ -31080,7 +30483,6 @@ func (area *CellArea) preferredWidthForHeight(context *CellAreaContext, widget W // The function returns the following values: // // - sizeRequestMode preferred by area. -// func (area *CellArea) requestMode() SizeRequestMode { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.get_request_mode @@ -31106,7 +30508,6 @@ func (area *CellArea) requestMode() SizeRequestMode { // The function returns the following values: // // - ok: whether area can do anything when activated. -// func (area *CellArea) isActivatable() bool { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.is_activatable @@ -31133,7 +30534,6 @@ func (area *CellArea) isActivatable() bool { // The function takes the following parameters: // // - renderer to remove from area. -// func (area *CellArea) remove(renderer CellRendererer) { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.remove @@ -31162,7 +30562,6 @@ func (area *CellArea) remove(renderer CellRendererer) { // - flags for area in this row. // - paintFocus: whether area should paint focus on focused cells for focused // rows or not. -// func (area *CellArea) snapshot(context *CellAreaContext, widget Widgetter, snapshot *Snapshot, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState, paintFocus bool) { gclass := (*C.GtkCellAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.snapshot @@ -31258,7 +30657,6 @@ func marshalCellAreaBox(p uintptr) (interface{}, error) { // The function returns the following values: // // - cellAreaBox: newly created CellAreaBox. -// func NewCellAreaBox() *CellAreaBox { var _cret *C.GtkCellArea // in @@ -31276,7 +30674,6 @@ func NewCellAreaBox() *CellAreaBox { // The function returns the following values: // // - gint: space added between cell renderers in box. -// func (box *CellAreaBox) Spacing() int { var _arg0 *C.GtkCellAreaBox // out var _cret C.int // in @@ -31305,7 +30702,6 @@ func (box *CellAreaBox) Spacing() int { // receives more than its natural size. // - align: whether renderer should be aligned in adjacent rows. // - fixed: whether renderer should have the same size in all rows. -// func (box *CellAreaBox) PackEnd(renderer CellRendererer, expand, align, fixed bool) { var _arg0 *C.GtkCellAreaBox // out var _arg1 *C.GtkCellRenderer // out @@ -31345,7 +30741,6 @@ func (box *CellAreaBox) PackEnd(renderer CellRendererer, expand, align, fixed bo // receives more than its natural size. // - align: whether renderer should be aligned in adjacent rows. // - fixed: whether renderer should have the same size in all rows. -// func (box *CellAreaBox) PackStart(renderer CellRendererer, expand, align, fixed bool) { var _arg0 *C.GtkCellAreaBox // out var _arg1 *C.GtkCellRenderer // out @@ -31378,7 +30773,6 @@ func (box *CellAreaBox) PackStart(renderer CellRendererer, expand, align, fixed // The function takes the following parameters: // // - spacing: space to add between CellRenderers. -// func (box *CellAreaBox) SetSpacing(spacing int) { var _arg0 *C.GtkCellAreaBox // out var _arg1 C.int // out @@ -31409,7 +30803,6 @@ type CellAreaContextOverrides struct { // or -1. // - height: allocated height for all TreeModel rows rendered with // context, or -1. - // Allocate func(width, height int) // PreferredHeightForWidth gets the accumulative preferred height for width // for all rows which have been requested for the same said width with this @@ -31428,7 +30821,6 @@ type CellAreaContextOverrides struct { // or NULL. // - naturalHeight (optional): location to store the natural height, // or NULL. - // PreferredHeightForWidth func(width int) (minimumHeight, naturalHeight int) // PreferredWidthForHeight gets the accumulative preferred width for height // for all rows which have been requested for the same said height with this @@ -31447,7 +30839,6 @@ type CellAreaContextOverrides struct { // or NULL. // - naturalWidth (optional): location to store the natural width, // or NULL. - // PreferredWidthForHeight func(height int) (minimumWidth, naturalWidth int) // Reset resets any previously cached request and allocation data. // @@ -31560,7 +30951,6 @@ func marshalCellAreaContext(p uintptr) (interface{}, error) { // or -1. // - height: allocated height for all TreeModel rows rendered with context, // or -1. -// func (context *CellAreaContext) Allocate(width, height int) { var _arg0 *C.GtkCellAreaContext // out var _arg1 C.int // out @@ -31586,7 +30976,6 @@ func (context *CellAreaContext) Allocate(width, height int) { // // - width (optional): location to store the allocated width, or NULL. // - height (optional): location to store the allocated height, or NULL. -// func (context *CellAreaContext) Allocation() (width, height int) { var _arg0 *C.GtkCellAreaContext // out var _arg1 C.int // in @@ -31619,7 +31008,6 @@ func (context *CellAreaContext) Allocation() (width, height int) { // The function returns the following values: // // - cellArea this context was created by. -// func (context *CellAreaContext) Area() CellAreaer { var _arg0 *C.GtkCellAreaContext // out var _cret *C.GtkCellArea // in @@ -31662,7 +31050,6 @@ func (context *CellAreaContext) Area() CellAreaer { // // - minimumHeight (optional): location to store the minimum height, or NULL. // - naturalHeight (optional): location to store the natural height, or NULL. -// func (context *CellAreaContext) PreferredHeight() (minimumHeight, naturalHeight int) { var _arg0 *C.GtkCellAreaContext // out var _arg1 C.int // in @@ -31696,7 +31083,6 @@ func (context *CellAreaContext) PreferredHeight() (minimumHeight, naturalHeight // // - minimumHeight (optional): location to store the minimum height, or NULL. // - naturalHeight (optional): location to store the natural height, or NULL. -// func (context *CellAreaContext) PreferredHeightForWidth(width int) (minimumHeight, naturalHeight int) { var _arg0 *C.GtkCellAreaContext // out var _arg1 C.int // out @@ -31729,7 +31115,6 @@ func (context *CellAreaContext) PreferredHeightForWidth(width int) (minimumHeigh // // - minimumWidth (optional): location to store the minimum width, or NULL. // - naturalWidth (optional): location to store the natural width, or NULL. -// func (context *CellAreaContext) PreferredWidth() (minimumWidth, naturalWidth int) { var _arg0 *C.GtkCellAreaContext // out var _arg1 C.int // in @@ -31764,7 +31149,6 @@ func (context *CellAreaContext) PreferredWidth() (minimumWidth, naturalWidth int // // - minimumWidth (optional): location to store the minimum width, or NULL. // - naturalWidth (optional): location to store the natural width, or NULL. -// func (context *CellAreaContext) PreferredWidthForHeight(height int) (minimumWidth, naturalWidth int) { var _arg0 *C.GtkCellAreaContext // out var _arg1 C.int // out @@ -31798,7 +31182,6 @@ func (context *CellAreaContext) PreferredWidthForHeight(height int) (minimumWidt // // - minimumHeight: proposed new minimum height for context. // - naturalHeight: proposed new natural height for context. -// func (context *CellAreaContext) PushPreferredHeight(minimumHeight, naturalHeight int) { var _arg0 *C.GtkCellAreaContext // out var _arg1 C.int // out @@ -31825,7 +31208,6 @@ func (context *CellAreaContext) PushPreferredHeight(minimumHeight, naturalHeight // // - minimumWidth: proposed new minimum width for context. // - naturalWidth: proposed new natural width for context. -// func (context *CellAreaContext) PushPreferredWidth(minimumWidth, naturalWidth int) { var _arg0 *C.GtkCellAreaContext // out var _arg1 C.int // out @@ -31882,7 +31264,6 @@ func (context *CellAreaContext) Reset() { // or -1. // - height: allocated height for all TreeModel rows rendered with context, // or -1. -// func (context *CellAreaContext) allocate(width, height int) { gclass := (*C.GtkCellAreaContextClass)(coreglib.PeekParentClass(context)) fnarg := gclass.allocate @@ -31915,7 +31296,6 @@ func (context *CellAreaContext) allocate(width, height int) { // // - minimumHeight (optional): location to store the minimum height, or NULL. // - naturalHeight (optional): location to store the natural height, or NULL. -// func (context *CellAreaContext) preferredHeightForWidth(width int) (minimumHeight, naturalHeight int) { gclass := (*C.GtkCellAreaContextClass)(coreglib.PeekParentClass(context)) fnarg := gclass.get_preferred_height_for_width @@ -31956,7 +31336,6 @@ func (context *CellAreaContext) preferredHeightForWidth(width int) (minimumHeigh // // - minimumWidth (optional): location to store the minimum width, or NULL. // - naturalWidth (optional): location to store the natural width, or NULL. -// func (context *CellAreaContext) preferredWidthForHeight(height int) (minimumWidth, naturalWidth int) { gclass := (*C.GtkCellAreaContextClass)(coreglib.PeekParentClass(context)) fnarg := gclass.get_preferred_width_for_height @@ -32030,14 +31409,12 @@ type CellRendererOverrides struct { // The function returns the following values: // // - ok: TRUE if the event was consumed/handled. - // Activate func(event gdk.Eventer, widget Widgetter, path string, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) bool EditingCanceled func() // The function takes the following parameters: // // - editable // - path - // EditingStarted func(editable CellEditabler, path string) // AlignedArea gets the aligned area used by cell inside cell_area. Used for // finding the appropriate edit and focus rectangle. @@ -32053,7 +31430,6 @@ type CellRendererOverrides struct { // // - alignedArea: return location for the space inside cell_area that // would actually be used to render. - // AlignedArea func(widget Widgetter, flags CellRendererState, cellArea *gdk.Rectangle) *gdk.Rectangle // PreferredHeight retrieves a renderer’s natural size when rendered to // widget. @@ -32066,7 +31442,6 @@ type CellRendererOverrides struct { // // - minimumSize (optional): location to store the minimum size, or NULL. // - naturalSize (optional): location to store the natural size, or NULL. - // PreferredHeight func(widget Widgetter) (minimumSize, naturalSize int) // PreferredHeightForWidth retrieves a cell renderers’s minimum and natural // height if it were rendered to widget with the specified width. @@ -32082,7 +31457,6 @@ type CellRendererOverrides struct { // or NULL. // - naturalHeight (optional): location for storing the preferred size, // or NULL. - // PreferredHeightForWidth func(widget Widgetter, width int) (minimumHeight, naturalHeight int) // PreferredWidth retrieves a renderer’s natural size when rendered to // widget. @@ -32095,7 +31469,6 @@ type CellRendererOverrides struct { // // - minimumSize (optional): location to store the minimum size, or NULL. // - naturalSize (optional): location to store the natural size, or NULL. - // PreferredWidth func(widget Widgetter) (minimumSize, naturalSize int) // PreferredWidthForHeight retrieves a cell renderers’s minimum and natural // width if it were rendered to widget with the specified height. @@ -32111,7 +31484,6 @@ type CellRendererOverrides struct { // or NULL. // - naturalWidth (optional): location for storing the preferred size, // or NULL. - // PreferredWidthForHeight func(widget Widgetter, height int) (minimumWidth, naturalWidth int) // RequestMode gets whether the cell renderer prefers a height-for-width // layout or a width-for-height layout. @@ -32119,7 +31491,6 @@ type CellRendererOverrides struct { // The function returns the following values: // // - sizeRequestMode preferred by this renderer. - // RequestMode func() SizeRequestMode // Snapshot invokes the virtual render function of the CellRenderer. // The three passed-in rectangles are areas in cr. Most renderers will @@ -32137,7 +31508,6 @@ type CellRendererOverrides struct { // padding on the sides). // - cellArea: area normally rendered by a cell renderer. // - flags that affect rendering. - // Snapshot func(snapshot *Snapshot, widget Widgetter, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) // StartEditing starts editing the contents of this cell, through a new // CellEditable widget created by the CellRendererClass.start_editing @@ -32158,7 +31528,6 @@ type CellRendererOverrides struct { // // - cellEditable (optional): new CellEditable for editing this cell, // or NULL if editing is not possible. - // StartEditing func(event gdk.Eventer, widget Widgetter, path string, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) *CellEditable } @@ -32334,21 +31703,21 @@ func (cell *CellRenderer) ConnectEditingCanceled(f func()) coreglib.SignalHandle // should check the type of editable before doing any specific setup, as in the // following example: // -// static void -// text_editing_started (GtkCellRenderer *cell, -// GtkCellEditable *editable, -// const char *path, -// gpointer data) -// { -// if (GTK_IS_ENTRY (editable)) -// { -// GtkEntry *entry = GTK_ENTRY (editable); -// -// // ... create a GtkEntryCompletion -// -// gtk_entry_set_completion (entry, completion); -// } -// }. +// static void +// text_editing_started (GtkCellRenderer *cell, +// GtkCellEditable *editable, +// const char *path, +// gpointer data) +// { +// if (GTK_IS_ENTRY (editable)) +// { +// GtkEntry *entry = GTK_ENTRY (editable); +// +// // ... create a GtkEntryCompletion +// +// gtk_entry_set_completion (entry, completion); +// } +// }. func (cell *CellRenderer) ConnectEditingStarted(f func(editable CellEditabler, path string)) coreglib.SignalHandle { return coreglib.ConnectGeneratedClosure(cell, "editing-started", false, unsafe.Pointer(C._gotk4_gtk4_CellRenderer_ConnectEditingStarted), f) } @@ -32370,7 +31739,6 @@ func (cell *CellRenderer) ConnectEditingStarted(f func(editable CellEditabler, p // The function returns the following values: // // - ok: TRUE if the event was consumed/handled. -// func (cell *CellRenderer) Activate(event gdk.Eventer, widget Widgetter, path string, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) bool { var _arg0 *C.GtkCellRenderer // out var _arg1 *C.GdkEvent // out @@ -32421,7 +31789,6 @@ func (cell *CellRenderer) Activate(event gdk.Eventer, widget Widgetter, path str // // - alignedArea: return location for the space inside cell_area that would // actually be used to render. -// func (cell *CellRenderer) AlignedArea(widget Widgetter, flags CellRendererState, cellArea *gdk.Rectangle) *gdk.Rectangle { var _arg0 *C.GtkCellRenderer // out var _arg1 *C.GtkWidget // out @@ -32455,7 +31822,6 @@ func (cell *CellRenderer) AlignedArea(widget Widgetter, flags CellRendererState, // or NULL. // - yalign (optional): location to fill in with the y alignment of the cell, // or NULL. -// func (cell *CellRenderer) Alignment() (xalign, yalign float32) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.float // in @@ -32483,7 +31849,6 @@ func (cell *CellRenderer) Alignment() (xalign, yalign float32) { // or NULL. // - height (optional): location to fill in with the fixed height of the cell, // or NULL. -// func (cell *CellRenderer) FixedSize() (width, height int) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.int // in @@ -32508,7 +31873,6 @@ func (cell *CellRenderer) FixedSize() (width, height int) { // The function returns the following values: // // - ok: TRUE if the cell renderer is expanded. -// func (cell *CellRenderer) IsExpanded() bool { var _arg0 *C.GtkCellRenderer // out var _cret C.gboolean // in @@ -32532,7 +31896,6 @@ func (cell *CellRenderer) IsExpanded() bool { // The function returns the following values: // // - ok: TRUE if cell is an expander, and FALSE otherwise. -// func (cell *CellRenderer) IsExpander() bool { var _arg0 *C.GtkCellRenderer // out var _cret C.gboolean // in @@ -32559,7 +31922,6 @@ func (cell *CellRenderer) IsExpander() bool { // or NULL. // - ypad (optional): location to fill in with the y padding of the cell, // or NULL. -// func (cell *CellRenderer) Padding() (xpad, ypad int) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.int // in @@ -32589,7 +31951,6 @@ func (cell *CellRenderer) Padding() (xpad, ypad int) { // // - minimumSize (optional): location to store the minimum size, or NULL. // - naturalSize (optional): location to store the natural size, or NULL. -// func (cell *CellRenderer) PreferredHeight(widget Widgetter) (minimumSize, naturalSize int) { var _arg0 *C.GtkCellRenderer // out var _arg1 *C.GtkWidget // out @@ -32625,7 +31986,6 @@ func (cell *CellRenderer) PreferredHeight(widget Widgetter) (minimumSize, natura // - minimumHeight (optional): location for storing the minimum size, or NULL. // - naturalHeight (optional): location for storing the preferred size, // or NULL. -// func (cell *CellRenderer) PreferredHeightForWidth(widget Widgetter, width int) (minimumHeight, naturalHeight int) { var _arg0 *C.GtkCellRenderer // out var _arg1 *C.GtkWidget // out @@ -32662,7 +32022,6 @@ func (cell *CellRenderer) PreferredHeightForWidth(widget Widgetter, width int) ( // // - minimumSize (optional): location for storing the minimum size, or NULL. // - naturalSize (optional): location for storing the natural size, or NULL. -// func (cell *CellRenderer) PreferredSize(widget Widgetter) (minimumSize, naturalSize *Requisition) { var _arg0 *C.GtkCellRenderer // out var _arg1 *C.GtkWidget // out @@ -32695,7 +32054,6 @@ func (cell *CellRenderer) PreferredSize(widget Widgetter) (minimumSize, naturalS // // - minimumSize (optional): location to store the minimum size, or NULL. // - naturalSize (optional): location to store the natural size, or NULL. -// func (cell *CellRenderer) PreferredWidth(widget Widgetter) (minimumSize, naturalSize int) { var _arg0 *C.GtkCellRenderer // out var _arg1 *C.GtkWidget // out @@ -32731,7 +32089,6 @@ func (cell *CellRenderer) PreferredWidth(widget Widgetter) (minimumSize, natural // - minimumWidth (optional): location for storing the minimum size, or NULL. // - naturalWidth (optional): location for storing the preferred size, // or NULL. -// func (cell *CellRenderer) PreferredWidthForHeight(widget Widgetter, height int) (minimumWidth, naturalWidth int) { var _arg0 *C.GtkCellRenderer // out var _arg1 *C.GtkWidget // out @@ -32763,7 +32120,6 @@ func (cell *CellRenderer) PreferredWidthForHeight(widget Widgetter, height int) // The function returns the following values: // // - sizeRequestMode preferred by this renderer. -// func (cell *CellRenderer) RequestMode() SizeRequestMode { var _arg0 *C.GtkCellRenderer // out var _cret C.GtkSizeRequestMode // in @@ -32785,7 +32141,6 @@ func (cell *CellRenderer) RequestMode() SizeRequestMode { // The function returns the following values: // // - ok: TRUE if the cell renderer is sensitive. -// func (cell *CellRenderer) Sensitive() bool { var _arg0 *C.GtkCellRenderer // out var _cret C.gboolean // in @@ -32815,7 +32170,6 @@ func (cell *CellRenderer) Sensitive() bool { // The function returns the following values: // // - stateFlags: widget state flags applying to cell. -// func (cell *CellRenderer) State(widget Widgetter, cellState CellRendererState) StateFlags { var _arg0 *C.GtkCellRenderer // out var _arg1 *C.GtkWidget // out @@ -32847,7 +32201,6 @@ func (cell *CellRenderer) State(widget Widgetter, cellState CellRendererState) S // The function returns the following values: // // - ok: TRUE if the cell renderer is visible. -// func (cell *CellRenderer) Visible() bool { var _arg0 *C.GtkCellRenderer // out var _cret C.gboolean // in @@ -32872,7 +32225,6 @@ func (cell *CellRenderer) Visible() bool { // The function returns the following values: // // - ok: TRUE if the cell renderer can do anything when activated. -// func (cell *CellRenderer) IsActivatable() bool { var _arg0 *C.GtkCellRenderer // out var _cret C.gboolean // in @@ -32897,7 +32249,6 @@ func (cell *CellRenderer) IsActivatable() bool { // // - xalign: x alignment of the cell renderer. // - yalign: y alignment of the cell renderer. -// func (cell *CellRenderer) SetAlignment(xalign, yalign float32) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.float // out @@ -32920,7 +32271,6 @@ func (cell *CellRenderer) SetAlignment(xalign, yalign float32) { // // - width of the cell renderer, or -1. // - height of the cell renderer, or -1. -// func (cell *CellRenderer) SetFixedSize(width, height int) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.int // out @@ -32941,7 +32291,6 @@ func (cell *CellRenderer) SetFixedSize(width, height int) { // The function takes the following parameters: // // - isExpanded: whether cell should be expanded. -// func (cell *CellRenderer) SetIsExpanded(isExpanded bool) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.gboolean // out @@ -32961,7 +32310,6 @@ func (cell *CellRenderer) SetIsExpanded(isExpanded bool) { // The function takes the following parameters: // // - isExpander: whether cell is an expander. -// func (cell *CellRenderer) SetIsExpander(isExpander bool) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.gboolean // out @@ -32982,7 +32330,6 @@ func (cell *CellRenderer) SetIsExpander(isExpander bool) { // // - xpad: x padding of the cell renderer. // - ypad: y padding of the cell renderer. -// func (cell *CellRenderer) SetPadding(xpad, ypad int) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.int // out @@ -33003,7 +32350,6 @@ func (cell *CellRenderer) SetPadding(xpad, ypad int) { // The function takes the following parameters: // // - sensitive: sensitivity of the cell. -// func (cell *CellRenderer) SetSensitive(sensitive bool) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.gboolean // out @@ -33023,7 +32369,6 @@ func (cell *CellRenderer) SetSensitive(sensitive bool) { // The function takes the following parameters: // // - visible: visibility of the cell. -// func (cell *CellRenderer) SetVisible(visible bool) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.gboolean // out @@ -33054,7 +32399,6 @@ func (cell *CellRenderer) SetVisible(visible bool) { // padding on the sides). // - cellArea: area normally rendered by a cell renderer. // - flags that affect rendering. -// func (cell *CellRenderer) Snapshot(snapshot *Snapshot, widget Widgetter, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) { var _arg0 *C.GtkCellRenderer // out var _arg1 *C.GtkSnapshot // out @@ -33097,7 +32441,6 @@ func (cell *CellRenderer) Snapshot(snapshot *Snapshot, widget Widgetter, backgro // // - cellEditable (optional): new CellEditable for editing this cell, or NULL // if editing is not possible. -// func (cell *CellRenderer) StartEditing(event gdk.Eventer, widget Widgetter, path string, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) *CellEditable { var _arg0 *C.GtkCellRenderer // out var _arg1 *C.GdkEvent // out @@ -33147,7 +32490,6 @@ func (cell *CellRenderer) StartEditing(event gdk.Eventer, widget Widgetter, path // The function takes the following parameters: // // - canceled: TRUE if the editing has been canceled. -// func (cell *CellRenderer) StopEditing(canceled bool) { var _arg0 *C.GtkCellRenderer // out var _arg1 C.gboolean // out @@ -33179,7 +32521,6 @@ func (cell *CellRenderer) StopEditing(canceled bool) { // The function returns the following values: // // - ok: TRUE if the event was consumed/handled. -// func (cell *CellRenderer) activate(event gdk.Eventer, widget Widgetter, path string, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) bool { gclass := (*C.GtkCellRendererClass)(coreglib.PeekParentClass(cell)) fnarg := gclass.activate @@ -33236,7 +32577,6 @@ func (cell *CellRenderer) editingCanceled() { // // - editable // - path -// func (cell *CellRenderer) editingStarted(editable CellEditabler, path string) { gclass := (*C.GtkCellRendererClass)(coreglib.PeekParentClass(cell)) fnarg := gclass.editing_started @@ -33269,7 +32609,6 @@ func (cell *CellRenderer) editingStarted(editable CellEditabler, path string) { // // - alignedArea: return location for the space inside cell_area that would // actually be used to render. -// func (cell *CellRenderer) alignedArea(widget Widgetter, flags CellRendererState, cellArea *gdk.Rectangle) *gdk.Rectangle { gclass := (*C.GtkCellRendererClass)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_aligned_area @@ -33308,7 +32647,6 @@ func (cell *CellRenderer) alignedArea(widget Widgetter, flags CellRendererState, // // - minimumSize (optional): location to store the minimum size, or NULL. // - naturalSize (optional): location to store the natural size, or NULL. -// func (cell *CellRenderer) preferredHeight(widget Widgetter) (minimumSize, naturalSize int) { gclass := (*C.GtkCellRendererClass)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_preferred_height @@ -33347,7 +32685,6 @@ func (cell *CellRenderer) preferredHeight(widget Widgetter) (minimumSize, natura // - minimumHeight (optional): location for storing the minimum size, or NULL. // - naturalHeight (optional): location for storing the preferred size, // or NULL. -// func (cell *CellRenderer) preferredHeightForWidth(widget Widgetter, width int) (minimumHeight, naturalHeight int) { gclass := (*C.GtkCellRendererClass)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_preferred_height_for_width @@ -33386,7 +32723,6 @@ func (cell *CellRenderer) preferredHeightForWidth(widget Widgetter, width int) ( // // - minimumSize (optional): location to store the minimum size, or NULL. // - naturalSize (optional): location to store the natural size, or NULL. -// func (cell *CellRenderer) preferredWidth(widget Widgetter) (minimumSize, naturalSize int) { gclass := (*C.GtkCellRendererClass)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_preferred_width @@ -33425,7 +32761,6 @@ func (cell *CellRenderer) preferredWidth(widget Widgetter) (minimumSize, natural // - minimumWidth (optional): location for storing the minimum size, or NULL. // - naturalWidth (optional): location for storing the preferred size, // or NULL. -// func (cell *CellRenderer) preferredWidthForHeight(widget Widgetter, height int) (minimumWidth, naturalWidth int) { gclass := (*C.GtkCellRendererClass)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_preferred_width_for_height @@ -33460,7 +32795,6 @@ func (cell *CellRenderer) preferredWidthForHeight(widget Widgetter, height int) // The function returns the following values: // // - sizeRequestMode preferred by this renderer. -// func (cell *CellRenderer) requestMode() SizeRequestMode { gclass := (*C.GtkCellRendererClass)(coreglib.PeekParentClass(cell)) fnarg := gclass.get_request_mode @@ -33496,7 +32830,6 @@ func (cell *CellRenderer) requestMode() SizeRequestMode { // padding on the sides). // - cellArea: area normally rendered by a cell renderer. // - flags that affect rendering. -// func (cell *CellRenderer) snapshot(snapshot *Snapshot, widget Widgetter, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) { gclass := (*C.GtkCellRendererClass)(coreglib.PeekParentClass(cell)) fnarg := gclass.snapshot @@ -33542,7 +32875,6 @@ func (cell *CellRenderer) snapshot(snapshot *Snapshot, widget Widgetter, backgro // // - cellEditable (optional): new CellEditable for editing this cell, or NULL // if editing is not possible. -// func (cell *CellRenderer) startEditing(event gdk.Eventer, widget Widgetter, path string, backgroundArea, cellArea *gdk.Rectangle, flags CellRendererState) *CellEditable { gclass := (*C.GtkCellRendererClass)(coreglib.PeekParentClass(cell)) fnarg := gclass.start_editing @@ -33630,7 +32962,6 @@ func (v *CellRendererAccel) ConnectAccelEdited(f func(pathString string, accelKe // The function returns the following values: // // - cellRendererAccel: new cell renderer. -// func NewCellRendererAccel() *CellRendererAccel { var _cret *C.GtkCellRenderer // in @@ -33705,7 +33036,6 @@ func (v *CellRendererCombo) ConnectChanged(f func(pathString string, newIter *Tr // The function returns the following values: // // - cellRendererCombo: new cell renderer. -// func NewCellRendererCombo() *CellRendererCombo { var _cret *C.GtkCellRenderer // in @@ -33764,7 +33094,6 @@ func marshalCellRendererPixbuf(p uintptr) (interface{}, error) { // The function returns the following values: // // - cellRendererPixbuf: new cell renderer. -// func NewCellRendererPixbuf() *CellRendererPixbuf { var _cret *C.GtkCellRenderer // in @@ -33814,7 +33143,6 @@ func marshalCellRendererProgress(p uintptr) (interface{}, error) { // The function returns the following values: // // - cellRendererProgress: new cell renderer. -// func NewCellRendererProgress() *CellRendererProgress { var _cret *C.GtkCellRenderer // in @@ -33872,7 +33200,6 @@ func marshalCellRendererSpin(p uintptr) (interface{}, error) { // The function returns the following values: // // - cellRendererSpin: new CellRendererSpin. -// func NewCellRendererSpin() *CellRendererSpin { var _cret *C.GtkCellRenderer // in @@ -33925,7 +33252,6 @@ func marshalCellRendererSpinner(p uintptr) (interface{}, error) { // The function returns the following values: // // - cellRendererSpinner: new CellRenderer. -// func NewCellRendererSpinner() *CellRendererSpinner { var _cret *C.GtkCellRenderer // in @@ -33944,7 +33270,6 @@ type CellRendererTextOverrides struct { // // - path // - newText - // Edited func(path, newText string) } @@ -34025,7 +33350,6 @@ func (renderer *CellRendererText) ConnectEdited(f func(path, newText string)) co // The function returns the following values: // // - cellRendererText: new cell renderer. -// func NewCellRendererText() *CellRendererText { var _cret *C.GtkCellRenderer // in @@ -34050,7 +33374,6 @@ func NewCellRendererText() *CellRendererText { // // - numberOfRows: number of rows of text each cell renderer is allocated, // or -1. -// func (renderer *CellRendererText) SetFixedHeightFromFont(numberOfRows int) { var _arg0 *C.GtkCellRendererText // out var _arg1 C.int // out @@ -34067,7 +33390,6 @@ func (renderer *CellRendererText) SetFixedHeightFromFont(numberOfRows int) { // // - path // - newText -// func (cellRendererText *CellRendererText) edited(path, newText string) { gclass := (*C.GtkCellRendererTextClass)(coreglib.PeekParentClass(cellRendererText)) fnarg := gclass.edited @@ -34135,7 +33457,6 @@ func (toggle *CellRendererToggle) ConnectToggled(f func(path string)) coreglib.S // The function returns the following values: // // - cellRendererToggle: new cell renderer. -// func NewCellRendererToggle() *CellRendererToggle { var _cret *C.GtkCellRenderer // in @@ -34154,7 +33475,6 @@ func NewCellRendererToggle() *CellRendererToggle { // The function returns the following values: // // - ok: TRUE if the cell renderer is activatable. -// func (toggle *CellRendererToggle) Activatable() bool { var _arg0 *C.GtkCellRendererToggle // out var _cret C.gboolean // in @@ -34179,7 +33499,6 @@ func (toggle *CellRendererToggle) Activatable() bool { // The function returns the following values: // // - ok: TRUE if the cell renderer is active. -// func (toggle *CellRendererToggle) Active() bool { var _arg0 *C.GtkCellRendererToggle // out var _cret C.gboolean // in @@ -34203,7 +33522,6 @@ func (toggle *CellRendererToggle) Active() bool { // The function returns the following values: // // - ok: TRUE if we’re rendering radio toggles rather than checkboxes. -// func (toggle *CellRendererToggle) Radio() bool { var _arg0 *C.GtkCellRendererToggle // out var _cret C.gboolean // in @@ -34227,7 +33545,6 @@ func (toggle *CellRendererToggle) Radio() bool { // The function takes the following parameters: // // - setting: value to set. -// func (toggle *CellRendererToggle) SetActivatable(setting bool) { var _arg0 *C.GtkCellRendererToggle // out var _arg1 C.gboolean // out @@ -34247,7 +33564,6 @@ func (toggle *CellRendererToggle) SetActivatable(setting bool) { // The function takes the following parameters: // // - setting: value to set. -// func (toggle *CellRendererToggle) SetActive(setting bool) { var _arg0 *C.GtkCellRendererToggle // out var _arg1 C.gboolean // out @@ -34272,7 +33588,6 @@ func (toggle *CellRendererToggle) SetActive(setting bool) { // The function takes the following parameters: // // - radio: TRUE to make the toggle look like a radio button. -// func (toggle *CellRendererToggle) SetRadio(radio bool) { var _arg0 *C.GtkCellRendererToggle // out var _arg1 C.gboolean // out @@ -34355,7 +33670,6 @@ func marshalCellView(p uintptr) (interface{}, error) { // The function returns the following values: // // - cellView: newly created CellView widget. -// func NewCellView() *CellView { var _cret *C.GtkWidget // in @@ -34383,7 +33697,6 @@ func NewCellView() *CellView { // The function returns the following values: // // - cellView: newly created CellView widget. -// func NewCellViewWithContext(area CellAreaer, context *CellAreaContext) *CellView { var _arg1 *C.GtkCellArea // out var _arg2 *C.GtkCellAreaContext // out @@ -34414,7 +33727,6 @@ func NewCellViewWithContext(area CellAreaer, context *CellAreaContext) *CellView // The function returns the following values: // // - cellView: newly created CellView widget. -// func NewCellViewWithMarkup(markup string) *CellView { var _arg1 *C.char // out var _cret *C.GtkWidget // in @@ -34442,7 +33754,6 @@ func NewCellViewWithMarkup(markup string) *CellView { // The function returns the following values: // // - cellView: newly created CellView widget. -// func NewCellViewWithText(text string) *CellView { var _arg1 *C.char // out var _cret *C.GtkWidget // in @@ -34470,7 +33781,6 @@ func NewCellViewWithText(text string) *CellView { // The function returns the following values: // // - cellView: newly created CellView widget. -// func NewCellViewWithTexture(texture gdk.Texturer) *CellView { var _arg1 *C.GdkTexture // out var _cret *C.GtkWidget // in @@ -34493,7 +33803,6 @@ func NewCellViewWithTexture(texture gdk.Texturer) *CellView { // The function returns the following values: // // - treePath (optional): currently displayed row or NULL. -// func (cellView *CellView) DisplayedRow() *TreePath { var _arg0 *C.GtkCellView // out var _cret *C.GtkTreePath // in @@ -34524,7 +33833,6 @@ func (cellView *CellView) DisplayedRow() *TreePath { // The function returns the following values: // // - ok: whether cell_view draws all of its cells in a sensitive state. -// func (cellView *CellView) DrawSensitive() bool { var _arg0 *C.GtkCellView // out var _cret C.gboolean // in @@ -34549,7 +33857,6 @@ func (cellView *CellView) DrawSensitive() bool { // The function returns the following values: // // - ok: whether cell_view requests space to fit the entire TreeModel. -// func (cellView *CellView) FitModel() bool { var _arg0 *C.GtkCellView // out var _cret C.gboolean // in @@ -34573,7 +33880,6 @@ func (cellView *CellView) FitModel() bool { // The function returns the following values: // // - treeModel (optional) used or NULL. -// func (cellView *CellView) Model() *TreeModel { var _arg0 *C.GtkCellView // out var _cret *C.GtkTreeModel // in @@ -34601,7 +33907,6 @@ func (cellView *CellView) Model() *TreeModel { // The function takes the following parameters: // // - path (optional) or NULL to unset. -// func (cellView *CellView) SetDisplayedRow(path *TreePath) { var _arg0 *C.GtkCellView // out var _arg1 *C.GtkTreePath // out @@ -34624,7 +33929,6 @@ func (cellView *CellView) SetDisplayedRow(path *TreePath) { // The function takes the following parameters: // // - drawSensitive: whether to draw all cells in a sensitive state. -// func (cellView *CellView) SetDrawSensitive(drawSensitive bool) { var _arg0 *C.GtkCellView // out var _arg1 C.gboolean // out @@ -34649,7 +33953,6 @@ func (cellView *CellView) SetDrawSensitive(drawSensitive bool) { // The function takes the following parameters: // // - fitModel: whether cell_view should request space for the whole model. -// func (cellView *CellView) SetFitModel(fitModel bool) { var _arg0 *C.GtkCellView // out var _arg1 C.gboolean // out @@ -34671,7 +33974,6 @@ func (cellView *CellView) SetFitModel(fitModel bool) { // The function takes the following parameters: // // - model (optional): TreeModel. -// func (cellView *CellView) SetModel(model TreeModeller) { var _arg0 *C.GtkCellView // out var _arg1 *C.GtkTreeModel // out @@ -34763,7 +34065,6 @@ func marshalCenterBox(p uintptr) (interface{}, error) { // The function returns the following values: // // - centerBox: new GtkCenterBox. -// func NewCenterBox() *CenterBox { var _cret *C.GtkWidget // in @@ -34782,7 +34083,6 @@ func NewCenterBox() *CenterBox { // The function returns the following values: // // - baselinePosition: baseline position. -// func (self *CenterBox) BaselinePosition() BaselinePosition { var _arg0 *C.GtkCenterBox // out var _cret C.GtkBaselinePosition // in @@ -34804,7 +34104,6 @@ func (self *CenterBox) BaselinePosition() BaselinePosition { // The function returns the following values: // // - widget (optional): center widget. -// func (self *CenterBox) CenterWidget() Widgetter { var _arg0 *C.GtkCenterBox // out var _cret *C.GtkWidget // in @@ -34841,7 +34140,6 @@ func (self *CenterBox) CenterWidget() Widgetter { // The function returns the following values: // // - widget (optional): end widget. -// func (self *CenterBox) EndWidget() Widgetter { var _arg0 *C.GtkCenterBox // out var _cret *C.GtkWidget // in @@ -34878,7 +34176,6 @@ func (self *CenterBox) EndWidget() Widgetter { // The function returns the following values: // // - widget (optional): start widget. -// func (self *CenterBox) StartWidget() Widgetter { var _arg0 *C.GtkCenterBox // out var _cret *C.GtkWidget // in @@ -34920,7 +34217,6 @@ func (self *CenterBox) StartWidget() Widgetter { // The function takes the following parameters: // // - position: GtkBaselinePosition. -// func (self *CenterBox) SetBaselinePosition(position BaselinePosition) { var _arg0 *C.GtkCenterBox // out var _arg1 C.GtkBaselinePosition // out @@ -34940,7 +34236,6 @@ func (self *CenterBox) SetBaselinePosition(position BaselinePosition) { // The function takes the following parameters: // // - child (optional): new center widget, or NULL. -// func (self *CenterBox) SetCenterWidget(child Widgetter) { var _arg0 *C.GtkCenterBox // out var _arg1 *C.GtkWidget // out @@ -34962,7 +34257,6 @@ func (self *CenterBox) SetCenterWidget(child Widgetter) { // The function takes the following parameters: // // - child (optional): new end widget, or NULL. -// func (self *CenterBox) SetEndWidget(child Widgetter) { var _arg0 *C.GtkCenterBox // out var _arg1 *C.GtkWidget // out @@ -34984,7 +34278,6 @@ func (self *CenterBox) SetEndWidget(child Widgetter) { // The function takes the following parameters: // // - child (optional): new start widget, or NULL. -// func (self *CenterBox) SetStartWidget(child Widgetter) { var _arg0 *C.GtkCenterBox // out var _arg1 *C.GtkWidget // out @@ -35057,7 +34350,6 @@ func marshalCenterLayout(p uintptr) (interface{}, error) { // The function returns the following values: // // - centerLayout: newly created GtkCenterLayout. -// func NewCenterLayout() *CenterLayout { var _cret *C.GtkLayoutManager // in @@ -35075,7 +34367,6 @@ func NewCenterLayout() *CenterLayout { // The function returns the following values: // // - baselinePosition: current baseline position of self. -// func (self *CenterLayout) BaselinePosition() BaselinePosition { var _arg0 *C.GtkCenterLayout // out var _cret C.GtkBaselinePosition // in @@ -35097,7 +34388,6 @@ func (self *CenterLayout) BaselinePosition() BaselinePosition { // The function returns the following values: // // - widget (optional): current center widget of self. -// func (self *CenterLayout) CenterWidget() Widgetter { var _arg0 *C.GtkCenterLayout // out var _cret *C.GtkWidget // in @@ -35134,7 +34424,6 @@ func (self *CenterLayout) CenterWidget() Widgetter { // The function returns the following values: // // - widget (optional): current end widget of self. -// func (self *CenterLayout) EndWidget() Widgetter { var _arg0 *C.GtkCenterLayout // out var _cret *C.GtkWidget // in @@ -35171,7 +34460,6 @@ func (self *CenterLayout) EndWidget() Widgetter { // The function returns the following values: // // - orientation: current orientation of self. -// func (self *CenterLayout) Orientation() Orientation { var _arg0 *C.GtkCenterLayout // out var _cret C.GtkOrientation // in @@ -35193,7 +34481,6 @@ func (self *CenterLayout) Orientation() Orientation { // The function returns the following values: // // - widget (optional): current start widget of self. -// func (self *CenterLayout) StartWidget() Widgetter { var _arg0 *C.GtkCenterLayout // out var _cret *C.GtkWidget // in @@ -35230,7 +34517,6 @@ func (self *CenterLayout) StartWidget() Widgetter { // The function takes the following parameters: // // - baselinePosition: new baseline position. -// func (self *CenterLayout) SetBaselinePosition(baselinePosition BaselinePosition) { var _arg0 *C.GtkCenterLayout // out var _arg1 C.GtkBaselinePosition // out @@ -35250,7 +34536,6 @@ func (self *CenterLayout) SetBaselinePosition(baselinePosition BaselinePosition) // The function takes the following parameters: // // - widget (optional): new center widget. -// func (self *CenterLayout) SetCenterWidget(widget Widgetter) { var _arg0 *C.GtkCenterLayout // out var _arg1 *C.GtkWidget // out @@ -35272,7 +34557,6 @@ func (self *CenterLayout) SetCenterWidget(widget Widgetter) { // The function takes the following parameters: // // - widget (optional): new end widget. -// func (self *CenterLayout) SetEndWidget(widget Widgetter) { var _arg0 *C.GtkCenterLayout // out var _arg1 *C.GtkWidget // out @@ -35292,7 +34576,6 @@ func (self *CenterLayout) SetEndWidget(widget Widgetter) { // The function takes the following parameters: // // - orientation: new orientation. -// func (self *CenterLayout) SetOrientation(orientation Orientation) { var _arg0 *C.GtkCenterLayout // out var _arg1 C.GtkOrientation // out @@ -35312,7 +34595,6 @@ func (self *CenterLayout) SetOrientation(orientation Orientation) { // The function takes the following parameters: // // - widget (optional): new start widget. -// func (self *CenterLayout) SetStartWidget(widget Widgetter) { var _arg0 *C.GtkCenterLayout // out var _arg1 *C.GtkWidget // out @@ -35376,9 +34658,9 @@ func defaultCheckButtonOverrides(v *CheckButton) CheckButtonOverrides { // // CSS nodes // -// checkbutton[.text-button] -// ├── check -// ╰── [label] +// checkbutton[.text-button] +// ├── check +// ╰── [label] // // A GtkCheckButton has a main node with name checkbutton. If the // gtk.CheckButton:label property is set, it contains a label child. @@ -35491,7 +34773,6 @@ func (self *CheckButton) ConnectToggled(f func()) coreglib.SignalHandle { // The function returns the following values: // // - checkButton: new GtkCheckButton. -// func NewCheckButton() *CheckButton { var _cret *C.GtkWidget // in @@ -35513,7 +34794,6 @@ func NewCheckButton() *CheckButton { // The function returns the following values: // // - checkButton: new GtkCheckButton. -// func NewCheckButtonWithLabel(label string) *CheckButton { var _arg1 *C.char // out var _cret *C.GtkWidget // in @@ -35544,7 +34824,6 @@ func NewCheckButtonWithLabel(label string) *CheckButton { // The function returns the following values: // // - checkButton: new GtkCheckButton. -// func NewCheckButtonWithMnemonic(label string) *CheckButton { var _arg1 *C.char // out var _cret *C.GtkWidget // in @@ -35569,7 +34848,6 @@ func NewCheckButtonWithMnemonic(label string) *CheckButton { // The function returns the following values: // // - ok: whether the check button is active. -// func (self *CheckButton) Active() bool { var _arg0 *C.GtkCheckButton // out var _cret C.gboolean // in @@ -35593,7 +34871,6 @@ func (self *CheckButton) Active() bool { // The function returns the following values: // // - ok: TRUE if check_button is currently in an inconsistent state. -// func (checkButton *CheckButton) Inconsistent() bool { var _arg0 *C.GtkCheckButton // out var _cret C.gboolean // in @@ -35618,7 +34895,6 @@ func (checkButton *CheckButton) Inconsistent() bool { // // - utf8 (optional): label self shows next to the indicator. If no label is // shown, NULL will be returned. -// func (self *CheckButton) Label() string { var _arg0 *C.GtkCheckButton // out var _cret *C.char // in @@ -35643,7 +34919,6 @@ func (self *CheckButton) Label() string { // // - ok: value of the gtk.CheckButton:use-underline property. See // gtk.CheckButton.SetUseUnderline() for details on how to set a new value. -// func (self *CheckButton) UseUnderline() bool { var _arg0 *C.GtkCheckButton // out var _cret C.gboolean // in @@ -35667,7 +34942,6 @@ func (self *CheckButton) UseUnderline() bool { // The function takes the following parameters: // // - setting: new value to set. -// func (self *CheckButton) SetActive(setting bool) { var _arg0 *C.GtkCheckButton // out var _arg1 C.gboolean // out @@ -35700,7 +34974,6 @@ func (self *CheckButton) SetActive(setting bool) { // The function takes the following parameters: // // - group (optional): another GtkCheckButton to form a group with. -// func (self *CheckButton) SetGroup(group *CheckButton) { var _arg0 *C.GtkCheckButton // out var _arg1 *C.GtkCheckButton // out @@ -35723,7 +34996,6 @@ func (self *CheckButton) SetGroup(group *CheckButton) { // The function takes the following parameters: // // - inconsistent: TRUE if state is inconsistent. -// func (checkButton *CheckButton) SetInconsistent(inconsistent bool) { var _arg0 *C.GtkCheckButton // out var _arg1 C.gboolean // out @@ -35748,7 +35020,6 @@ func (checkButton *CheckButton) SetInconsistent(inconsistent bool) { // // - label (optional): text shown next to the indicator, or NULL to show no // text. -// func (self *CheckButton) SetLabel(label string) { var _arg0 *C.GtkCheckButton // out var _arg1 *C.char // out @@ -35773,7 +35044,6 @@ func (self *CheckButton) SetLabel(label string) { // The function takes the following parameters: // // - setting: new value to set. -// func (self *CheckButton) SetUseUnderline(setting bool) { var _arg0 *C.GtkCheckButton // out var _arg1 C.gboolean // out @@ -35844,9 +35114,9 @@ func marshalClosureExpression(p uintptr) (interface{}, error) { // // CSS nodes // -// colorbutton -// ╰── button.color -// ╰── [content] +// colorbutton +// ╰── button.color +// ╰── [content] // // GtkColorButton has a single CSS node with name colorbutton which contains a // button node. To differentiate it from a plain GtkButton, it gets the .color @@ -35914,7 +35184,6 @@ func (button *ColorButton) ConnectColorSet(f func()) coreglib.SignalHandle { // The function returns the following values: // // - colorButton: new color button. -// func NewColorButton() *ColorButton { var _cret *C.GtkWidget // in @@ -35936,7 +35205,6 @@ func NewColorButton() *ColorButton { // The function returns the following values: // // - colorButton: new color button. -// func NewColorButtonWithRGBA(rgba *gdk.RGBA) *ColorButton { var _arg1 *C.GdkRGBA // out var _cret *C.GtkWidget // in @@ -35958,7 +35226,6 @@ func NewColorButtonWithRGBA(rgba *gdk.RGBA) *ColorButton { // The function returns the following values: // // - ok: TRUE if the dialog is modal. -// func (button *ColorButton) Modal() bool { var _arg0 *C.GtkColorButton // out var _cret C.gboolean // in @@ -35982,7 +35249,6 @@ func (button *ColorButton) Modal() bool { // The function returns the following values: // // - utf8: internal string, do not free the return value. -// func (button *ColorButton) Title() string { var _arg0 *C.GtkColorButton // out var _cret *C.char // in @@ -36004,7 +35270,6 @@ func (button *ColorButton) Title() string { // The function takes the following parameters: // // - modal: TRUE to make the dialog modal. -// func (button *ColorButton) SetModal(modal bool) { var _arg0 *C.GtkColorButton // out var _arg1 C.gboolean // out @@ -36024,7 +35289,6 @@ func (button *ColorButton) SetModal(modal bool) { // The function takes the following parameters: // // - title: string containing new window title. -// func (button *ColorButton) SetTitle(title string) { var _arg0 *C.GtkColorButton // out var _arg1 *C.char // out @@ -36127,7 +35391,6 @@ func marshalColorChooserDialog(p uintptr) (interface{}, error) { // The function returns the following values: // // - colorChooserDialog: new GtkColorChooserDialog. -// func NewColorChooserDialog(title string, parent *Window) *ColorChooserDialog { var _arg1 *C.char // out var _arg2 *C.GtkWindow // out @@ -36222,7 +35485,6 @@ func marshalColorChooserWidget(p uintptr) (interface{}, error) { // The function returns the following values: // // - colorChooserWidget: new GtkColorChooserWidget. -// func NewColorChooserWidget() *ColorChooserWidget { var _cret *C.GtkWidget // in @@ -36267,16 +35529,16 @@ func NewColorChooserWidget() *ColorChooserWidget { // // CSS nodes // -// columnview[.column-separators][.rich-list][.navigation-sidebar][.data-table] -// ├── header -// │ ├── -// ┊ ┊ -// │ ╰── -// │ -// ├── listview -// │ -// ┊ -// ╰── [rubberband] +// columnview[.column-separators][.rich-list][.navigation-sidebar][.data-table] +// ├── header +// │ ├── +// ┊ ┊ +// │ ╰── +// │ +// ├── listview +// │ +// ┊ +// ╰── [rubberband] // // GtkColumnView uses a single CSS node named columnview. It may carry the // .column-separators style class, when gtk.ColumnView:show-column-separators @@ -36359,7 +35621,6 @@ func (self *ColumnView) ConnectActivate(f func(position uint)) coreglib.SignalHa // The function returns the following values: // // - columnView: new GtkColumnView. -// func NewColumnView(model SelectionModeller) *ColumnView { var _arg1 *C.GtkSelectionModel // out var _cret *C.GtkWidget // in @@ -36385,7 +35646,6 @@ func NewColumnView(model SelectionModeller) *ColumnView { // // - column: GtkColumnViewColumn that hasn't been added to a GtkColumnView // yet. -// func (self *ColumnView) AppendColumn(column *ColumnViewColumn) { var _arg0 *C.GtkColumnView // out var _arg1 *C.GtkColumnViewColumn // out @@ -36406,7 +35666,6 @@ func (self *ColumnView) AppendColumn(column *ColumnViewColumn) { // The function returns the following values: // // - listModel: list managing the columns. -// func (self *ColumnView) Columns() *gio.ListModel { var _arg0 *C.GtkColumnView // out var _cret *C.GListModel // in @@ -36434,7 +35693,6 @@ func (self *ColumnView) Columns() *gio.ListModel { // The function returns the following values: // // - ok: TRUE if rubberband selection is enabled. -// func (self *ColumnView) EnableRubberband() bool { var _arg0 *C.GtkColumnView // out var _cret C.gboolean // in @@ -36458,7 +35716,6 @@ func (self *ColumnView) EnableRubberband() bool { // The function returns the following values: // // - selectionModel (optional): model in use. -// func (self *ColumnView) Model() *SelectionModel { var _arg0 *C.GtkColumnView // out var _cret *C.GtkSelectionModel // in @@ -36482,7 +35739,6 @@ func (self *ColumnView) Model() *SelectionModel { // The function returns the following values: // // - ok: TRUE if columns are reorderable. -// func (self *ColumnView) Reorderable() bool { var _arg0 *C.GtkColumnView // out var _cret C.gboolean // in @@ -36507,7 +35763,6 @@ func (self *ColumnView) Reorderable() bool { // The function returns the following values: // // - ok: TRUE if the list shows column separators. -// func (self *ColumnView) ShowColumnSeparators() bool { var _arg0 *C.GtkColumnView // out var _cret C.gboolean // in @@ -36532,7 +35787,6 @@ func (self *ColumnView) ShowColumnSeparators() bool { // The function returns the following values: // // - ok: TRUE if the list shows separators. -// func (self *ColumnView) ShowRowSeparators() bool { var _arg0 *C.GtkColumnView // out var _cret C.gboolean // in @@ -36557,7 +35811,6 @@ func (self *ColumnView) ShowRowSeparators() bool { // The function returns the following values: // // - ok: TRUE if rows are activated on single click. -// func (self *ColumnView) SingleClickActivate() bool { var _arg0 *C.GtkColumnView // out var _cret C.gboolean // in @@ -36587,17 +35840,16 @@ func (self *ColumnView) SingleClickActivate() bool { // // Here is an example: // -// gtk_column_view_column_set_sorter (column, sorter); -// gtk_column_view_append_column (view, column); -// sorter = g_object_ref (gtk_column_view_get_sorter (view))); -// model = gtk_sort_list_model_new (store, sorter); -// selection = gtk_no_selection_new (model); -// gtk_column_view_set_model (view, selection);. +// gtk_column_view_column_set_sorter (column, sorter); +// gtk_column_view_append_column (view, column); +// sorter = g_object_ref (gtk_column_view_get_sorter (view))); +// model = gtk_sort_list_model_new (store, sorter); +// selection = gtk_no_selection_new (model); +// gtk_column_view_set_model (view, selection);. // // The function returns the following values: // // - sorter (optional): GtkSorter of self. -// func (self *ColumnView) Sorter() *Sorter { var _arg0 *C.GtkColumnView // out var _cret *C.GtkSorter // in @@ -36624,7 +35876,6 @@ func (self *ColumnView) Sorter() *Sorter { // // - position to insert column at. // - column: GtkColumnViewColumn to insert. -// func (self *ColumnView) InsertColumn(position uint, column *ColumnViewColumn) { var _arg0 *C.GtkColumnView // out var _arg1 C.guint // out @@ -36645,7 +35896,6 @@ func (self *ColumnView) InsertColumn(position uint, column *ColumnViewColumn) { // The function takes the following parameters: // // - column: GtkColumnViewColumn that's part of self. -// func (self *ColumnView) RemoveColumn(column *ColumnViewColumn) { var _arg0 *C.GtkColumnView // out var _arg1 *C.GtkColumnViewColumn // out @@ -36664,7 +35914,6 @@ func (self *ColumnView) RemoveColumn(column *ColumnViewColumn) { // The function takes the following parameters: // // - enableRubberband: TRUE to enable rubberband selection. -// func (self *ColumnView) SetEnableRubberband(enableRubberband bool) { var _arg0 *C.GtkColumnView // out var _arg1 C.gboolean // out @@ -36686,7 +35935,6 @@ func (self *ColumnView) SetEnableRubberband(enableRubberband bool) { // The function takes the following parameters: // // - model (optional) to use or NULL for none. -// func (self *ColumnView) SetModel(model SelectionModeller) { var _arg0 *C.GtkColumnView // out var _arg1 *C.GtkSelectionModel // out @@ -36706,7 +35954,6 @@ func (self *ColumnView) SetModel(model SelectionModeller) { // The function takes the following parameters: // // - reorderable: whether columns should be reorderable. -// func (self *ColumnView) SetReorderable(reorderable bool) { var _arg0 *C.GtkColumnView // out var _arg1 C.gboolean // out @@ -36727,7 +35974,6 @@ func (self *ColumnView) SetReorderable(reorderable bool) { // The function takes the following parameters: // // - showColumnSeparators: TRUE to show column separators. -// func (self *ColumnView) SetShowColumnSeparators(showColumnSeparators bool) { var _arg0 *C.GtkColumnView // out var _arg1 C.gboolean // out @@ -36748,7 +35994,6 @@ func (self *ColumnView) SetShowColumnSeparators(showColumnSeparators bool) { // The function takes the following parameters: // // - showRowSeparators: TRUE to show row separators. -// func (self *ColumnView) SetShowRowSeparators(showRowSeparators bool) { var _arg0 *C.GtkColumnView // out var _arg1 C.gboolean // out @@ -36769,7 +36014,6 @@ func (self *ColumnView) SetShowRowSeparators(showRowSeparators bool) { // The function takes the following parameters: // // - singleClickActivate: TRUE to activate items on single click. -// func (self *ColumnView) SetSingleClickActivate(singleClickActivate bool) { var _arg0 *C.GtkColumnView // out var _arg1 C.gboolean // out @@ -36800,7 +36044,6 @@ func (self *ColumnView) SetSingleClickActivate(singleClickActivate bool) { // // - column (optional): GtkColumnViewColumn to sort by, or NULL. // - direction to sort in. -// func (self *ColumnView) SortByColumn(column *ColumnViewColumn, direction SortType) { var _arg0 *C.GtkColumnView // out var _arg1 *C.GtkColumnViewColumn // out @@ -36857,8 +36100,8 @@ func marshalColumnViewColumn(p uintptr) (interface{}, error) { // // The function takes ownership of the argument, so you can write code like: // -// column = gtk_column_view_column_new (_("Name"), -// gtk_builder_list_item_factory_new_from_resource ("/name.ui"));. +// column = gtk_column_view_column_new (_("Name"), +// gtk_builder_list_item_factory_new_from_resource ("/name.ui"));. // // The function takes the following parameters: // @@ -36868,7 +36111,6 @@ func marshalColumnViewColumn(p uintptr) (interface{}, error) { // The function returns the following values: // // - columnViewColumn: new GtkColumnViewColumn using the given factory. -// func NewColumnViewColumn(title string, factory *ListItemFactory) *ColumnViewColumn { var _arg1 *C.char // out var _arg2 *C.GtkListItemFactory // out @@ -36901,7 +36143,6 @@ func NewColumnViewColumn(title string, factory *ListItemFactory) *ColumnViewColu // The function returns the following values: // // - columnView (optional): column view displaying self. -// func (self *ColumnViewColumn) ColumnView() *ColumnView { var _arg0 *C.GtkColumnViewColumn // out var _cret *C.GtkColumnView // in @@ -36925,7 +36166,6 @@ func (self *ColumnViewColumn) ColumnView() *ColumnView { // The function returns the following values: // // - ok: TRUE if this column expands. -// func (self *ColumnViewColumn) Expand() bool { var _arg0 *C.GtkColumnViewColumn // out var _cret C.gboolean // in @@ -36950,7 +36190,6 @@ func (self *ColumnViewColumn) Expand() bool { // The function returns the following values: // // - listItemFactory (optional): factory in use. -// func (self *ColumnViewColumn) Factory() *ListItemFactory { var _arg0 *C.GtkColumnViewColumn // out var _cret *C.GtkListItemFactory // in @@ -36974,7 +36213,6 @@ func (self *ColumnViewColumn) Factory() *ListItemFactory { // The function returns the following values: // // - gint: fixed with of the column. -// func (self *ColumnViewColumn) FixedWidth() int { var _arg0 *C.GtkColumnViewColumn // out var _cret C.int // in @@ -36997,7 +36235,6 @@ func (self *ColumnViewColumn) FixedWidth() int { // The function returns the following values: // // - menuModel (optional) or NULL. -// func (self *ColumnViewColumn) HeaderMenu() gio.MenuModeller { var _arg0 *C.GtkColumnViewColumn // out var _cret *C.GMenuModel // in @@ -37034,7 +36271,6 @@ func (self *ColumnViewColumn) HeaderMenu() gio.MenuModeller { // The function returns the following values: // // - ok: TRUE if this column is resizable. -// func (self *ColumnViewColumn) Resizable() bool { var _arg0 *C.GtkColumnViewColumn // out var _cret C.gboolean // in @@ -37058,7 +36294,6 @@ func (self *ColumnViewColumn) Resizable() bool { // The function returns the following values: // // - sorter (optional): GtkSorter of self. -// func (self *ColumnViewColumn) Sorter() *Sorter { var _arg0 *C.GtkColumnViewColumn // out var _cret *C.GtkSorter // in @@ -37082,7 +36317,6 @@ func (self *ColumnViewColumn) Sorter() *Sorter { // The function returns the following values: // // - utf8 (optional) column's title. -// func (self *ColumnViewColumn) Title() string { var _arg0 *C.GtkColumnViewColumn // out var _cret *C.char // in @@ -37106,7 +36340,6 @@ func (self *ColumnViewColumn) Title() string { // The function returns the following values: // // - ok: TRUE if this column is visible. -// func (self *ColumnViewColumn) Visible() bool { var _arg0 *C.GtkColumnViewColumn // out var _cret C.gboolean // in @@ -37133,7 +36366,6 @@ func (self *ColumnViewColumn) Visible() bool { // The function takes the following parameters: // // - expand: TRUE if this column should expand to fill available sace. -// func (self *ColumnViewColumn) SetExpand(expand bool) { var _arg0 *C.GtkColumnViewColumn // out var _arg1 C.gboolean // out @@ -37154,7 +36386,6 @@ func (self *ColumnViewColumn) SetExpand(expand bool) { // The function takes the following parameters: // // - factory (optional) to use or NULL for none. -// func (self *ColumnViewColumn) SetFactory(factory *ListItemFactory) { var _arg0 *C.GtkColumnViewColumn // out var _arg1 *C.GtkListItemFactory // out @@ -37178,7 +36409,6 @@ func (self *ColumnViewColumn) SetFactory(factory *ListItemFactory) { // The function takes the following parameters: // // - fixedWidth: new fixed width, or -1. -// func (self *ColumnViewColumn) SetFixedWidth(fixedWidth int) { var _arg0 *C.GtkColumnViewColumn // out var _arg1 C.int // out @@ -37197,7 +36427,6 @@ func (self *ColumnViewColumn) SetFixedWidth(fixedWidth int) { // The function takes the following parameters: // // - menu (optional): GMenuModel, or NULL. -// func (self *ColumnViewColumn) SetHeaderMenu(menu gio.MenuModeller) { var _arg0 *C.GtkColumnViewColumn // out var _arg1 *C.GMenuModel // out @@ -37217,7 +36446,6 @@ func (self *ColumnViewColumn) SetHeaderMenu(menu gio.MenuModeller) { // The function takes the following parameters: // // - resizable: whether this column should be resizable. -// func (self *ColumnViewColumn) SetResizable(resizable bool) { var _arg0 *C.GtkColumnViewColumn // out var _arg1 C.gboolean // out @@ -37246,7 +36474,6 @@ func (self *ColumnViewColumn) SetResizable(resizable bool) { // The function takes the following parameters: // // - sorter (optional): GtkSorter to associate with column. -// func (self *ColumnViewColumn) SetSorter(sorter *Sorter) { var _arg0 *C.GtkColumnViewColumn // out var _arg1 *C.GtkSorter // out @@ -37269,7 +36496,6 @@ func (self *ColumnViewColumn) SetSorter(sorter *Sorter) { // The function takes the following parameters: // // - title (optional): title to use for this column. -// func (self *ColumnViewColumn) SetTitle(title string) { var _arg0 *C.GtkColumnViewColumn // out var _arg1 *C.char // out @@ -37290,7 +36516,6 @@ func (self *ColumnViewColumn) SetTitle(title string) { // The function takes the following parameters: // // - visible: whether this column should be visible. -// func (self *ColumnViewColumn) SetVisible(visible bool) { var _arg0 *C.GtkColumnViewColumn // out var _arg1 C.gboolean // out @@ -37345,24 +36570,24 @@ func defaultComboBoxOverrides(v *ComboBox) ComboBoxOverrides { // // CSS nodes // -// combobox -// ├── box.linked -// │ ╰── button.combo -// │ ╰── box -// │ ├── cellview -// │ ╰── arrow -// ╰── window.popup +// combobox +// ├── box.linked +// │ ╰── button.combo +// │ ╰── box +// │ ├── cellview +// │ ╰── arrow +// ╰── window.popup // // A normal combobox contains a box with the .linked class, a button with the // .combo class and inside those buttons, there are a cellview and an arrow. // -// combobox -// ├── box.linked -// │ ├── entry.combo -// │ ╰── button.combo -// │ ╰── box -// │ ╰── arrow -// ╰── window.popup +// combobox +// ├── box.linked +// │ ├── entry.combo +// │ ╰── button.combo +// │ ╰── box +// │ ╰── arrow +// ╰── window.popup // // A GtkComboBox with an entry has a single CSS node with name combobox. // It contains a box with the .linked class. That box contains an entry and a @@ -37479,24 +36704,24 @@ func (comboBox *ComboBox) ConnectChanged(f func()) coreglib.SignalHandle { // Here's an example signal handler which fetches data from the model and // displays it in the entry. // -// static char * -// format_entry_text_callback (GtkComboBox *combo, -// const char *path, -// gpointer user_data) -// { -// GtkTreeIter iter; -// GtkTreeModel model; -// double value; +// static char * +// format_entry_text_callback (GtkComboBox *combo, +// const char *path, +// gpointer user_data) +// { +// GtkTreeIter iter; +// GtkTreeModel model; +// double value; // -// model = gtk_combo_box_get_model (combo); +// model = gtk_combo_box_get_model (combo); // -// gtk_tree_model_get_iter_from_string (model, &iter, path); -// gtk_tree_model_get (model, &iter, -// THE_DOUBLE_VALUE_COLUMN, &value, -// -1); +// gtk_tree_model_get_iter_from_string (model, &iter, path); +// gtk_tree_model_get (model, &iter, +// THE_DOUBLE_VALUE_COLUMN, &value, +// -1); // -// return g_strdup_printf ("g", value); -// }. +// return g_strdup_printf ("g", value); +// }. func (comboBox *ComboBox) ConnectFormatEntryText(f func(path string) (utf8 string)) coreglib.SignalHandle { return coreglib.ConnectGeneratedClosure(comboBox, "format-entry-text", false, unsafe.Pointer(C._gotk4_gtk4_ComboBox_ConnectFormatEntryText), f) } @@ -37531,7 +36756,6 @@ func (comboBox *ComboBox) ConnectPopup(f func()) coreglib.SignalHandle { // The function returns the following values: // // - comboBox: new GtkComboBox. -// func NewComboBox() *ComboBox { var _cret *C.GtkWidget // in @@ -37549,7 +36773,6 @@ func NewComboBox() *ComboBox { // The function returns the following values: // // - comboBox: new GtkComboBox. -// func NewComboBoxWithEntry() *ComboBox { var _cret *C.GtkWidget // in @@ -37571,7 +36794,6 @@ func NewComboBoxWithEntry() *ComboBox { // The function returns the following values: // // - comboBox: new GtkComboBox. -// func NewComboBoxWithModel(model TreeModeller) *ComboBox { var _arg1 *C.GtkTreeModel // out var _cret *C.GtkWidget // in @@ -37598,7 +36820,6 @@ func NewComboBoxWithModel(model TreeModeller) *ComboBox { // The function returns the following values: // // - comboBox: new GtkComboBox. -// func NewComboBoxWithModelAndEntry(model TreeModeller) *ComboBox { var _arg1 *C.GtkTreeModel // out var _cret *C.GtkWidget // in @@ -37626,7 +36847,6 @@ func NewComboBoxWithModelAndEntry(model TreeModeller) *ComboBox { // // - gint: integer which is the index of the currently active item, or -1 if // there’s no active item. -// func (comboBox *ComboBox) Active() int { var _arg0 *C.GtkComboBox // out var _cret C.int // in @@ -37658,7 +36878,6 @@ func (comboBox *ComboBox) Active() int { // The function returns the following values: // // - utf8 (optional): ID of the active row, or NULL. -// func (comboBox *ComboBox) ActiveID() string { var _arg0 *C.GtkComboBox // out var _cret *C.char // in @@ -37685,7 +36904,6 @@ func (comboBox *ComboBox) ActiveID() string { // // - iter: GtkTreeIter. // - ok: TRUE if iter was set, FALSE otherwise. -// func (comboBox *ComboBox) ActiveIter() (*TreeIter, bool) { var _arg0 *C.GtkComboBox // out var _arg1 C.GtkTreeIter // in @@ -37716,7 +36934,6 @@ func (comboBox *ComboBox) ActiveIter() (*TreeIter, bool) { // when the model is empty, GTK_SENSITIVITY_OFF if the button is always // insensitive or GTK_SENSITIVITY_AUTO if it is only sensitive as long as // the model has one item to be selected. -// func (comboBox *ComboBox) ButtonSensitivity() SensitivityType { var _arg0 *C.GtkComboBox // out var _cret C.GtkSensitivityType // in @@ -37738,7 +36955,6 @@ func (comboBox *ComboBox) ButtonSensitivity() SensitivityType { // The function returns the following values: // // - widget (optional): child widget of combo_box. -// func (comboBox *ComboBox) Child() Widgetter { var _arg0 *C.GtkComboBox // out var _cret *C.GtkWidget // in @@ -37776,7 +36992,6 @@ func (comboBox *ComboBox) Child() Widgetter { // The function returns the following values: // // - gint: column in the data source model of combo_box. -// func (comboBox *ComboBox) EntryTextColumn() int { var _arg0 *C.GtkComboBox // out var _cret C.int // in @@ -37798,7 +37013,6 @@ func (comboBox *ComboBox) EntryTextColumn() int { // The function returns the following values: // // - ok: whether there is an entry in combo_box. -// func (comboBox *ComboBox) HasEntry() bool { var _arg0 *C.GtkComboBox // out var _cret C.gboolean // in @@ -37823,7 +37037,6 @@ func (comboBox *ComboBox) HasEntry() bool { // The function returns the following values: // // - gint: column in the data source model of combo_box. -// func (comboBox *ComboBox) IDColumn() int { var _arg0 *C.GtkComboBox // out var _cret C.int // in @@ -37845,7 +37058,6 @@ func (comboBox *ComboBox) IDColumn() int { // The function returns the following values: // // - treeModel (optional): GtkTreeModel which was passed during construction. -// func (comboBox *ComboBox) Model() *TreeModel { var _arg0 *C.GtkComboBox // out var _cret *C.GtkTreeModel // in @@ -37869,7 +37081,6 @@ func (comboBox *ComboBox) Model() *TreeModel { // The function returns the following values: // // - ok: TRUE if the popup uses a fixed width. -// func (comboBox *ComboBox) PopupFixedWidth() bool { var _arg0 *C.GtkComboBox // out var _cret C.gboolean // in @@ -37925,7 +37136,6 @@ func (comboBox *ComboBox) Popup() { // The function takes the following parameters: // // - device: GdkDevice. -// func (comboBox *ComboBox) PopupForDevice(device gdk.Devicer) { var _arg0 *C.GtkComboBox // out var _arg1 *C.GdkDevice // out @@ -37944,7 +37154,6 @@ func (comboBox *ComboBox) PopupForDevice(device gdk.Devicer) { // // - index_: index in the model passed during construction, or -1 to have no // active item. -// func (comboBox *ComboBox) SetActive(index_ int) { var _arg0 *C.GtkComboBox // out var _arg1 C.int // out @@ -37974,7 +37183,6 @@ func (comboBox *ComboBox) SetActive(index_ int) { // // - ok: TRUE if a row with a matching ID was found. If a NULL active_id was // given to unset the active row, the function always returns TRUE. -// func (comboBox *ComboBox) SetActiveID(activeId string) bool { var _arg0 *C.GtkComboBox // out var _arg1 *C.char // out @@ -38006,7 +37214,6 @@ func (comboBox *ComboBox) SetActiveID(activeId string) bool { // The function takes the following parameters: // // - iter (optional): GtkTreeIter, or NULL. -// func (comboBox *ComboBox) SetActiveIter(iter *TreeIter) { var _arg0 *C.GtkComboBox // out var _arg1 *C.GtkTreeIter // out @@ -38027,7 +37234,6 @@ func (comboBox *ComboBox) SetActiveIter(iter *TreeIter) { // The function takes the following parameters: // // - sensitivity: specify the sensitivity of the dropdown button. -// func (comboBox *ComboBox) SetButtonSensitivity(sensitivity SensitivityType) { var _arg0 *C.GtkComboBox // out var _arg1 C.GtkSensitivityType // out @@ -38045,7 +37251,6 @@ func (comboBox *ComboBox) SetButtonSensitivity(sensitivity SensitivityType) { // The function takes the following parameters: // // - child (optional) widget. -// func (comboBox *ComboBox) SetChild(child Widgetter) { var _arg0 *C.GtkComboBox // out var _arg1 *C.GtkWidget // out @@ -38073,7 +37278,6 @@ func (comboBox *ComboBox) SetChild(child Widgetter) { // // - textColumn: column in model to get the strings from for the internal // entry. -// func (comboBox *ComboBox) SetEntryTextColumn(textColumn int) { var _arg0 *C.GtkComboBox // out var _arg1 C.int // out @@ -38094,7 +37298,6 @@ func (comboBox *ComboBox) SetEntryTextColumn(textColumn int) { // The function takes the following parameters: // // - idColumn: column in model to get string IDs for values from. -// func (comboBox *ComboBox) SetIDColumn(idColumn int) { var _arg0 *C.GtkComboBox // out var _arg1 C.int // out @@ -38119,7 +37322,6 @@ func (comboBox *ComboBox) SetIDColumn(idColumn int) { // The function takes the following parameters: // // - model (optional): GtkTreeModel. -// func (comboBox *ComboBox) SetModel(model TreeModeller) { var _arg0 *C.GtkComboBox // out var _arg1 *C.GtkTreeModel // out @@ -38143,7 +37345,6 @@ func (comboBox *ComboBox) SetModel(model TreeModeller) { // The function takes the following parameters: // // - fixed: whether to use a fixed popup width. -// func (comboBox *ComboBox) SetPopupFixedWidth(fixed bool) { var _arg0 *C.GtkComboBox // out var _arg1 C.gboolean // out @@ -38167,7 +37368,6 @@ func (comboBox *ComboBox) SetPopupFixedWidth(fixed bool) { // The function takes the following parameters: // // - fn (optional): GtkTreeViewRowSeparatorFunc. -// func (comboBox *ComboBox) SetRowSeparatorFunc(fn TreeViewRowSeparatorFunc) { var _arg0 *C.GtkComboBox // out var _arg1 C.GtkTreeViewRowSeparatorFunc // out @@ -38253,21 +37453,21 @@ func (comboBox *ComboBox) formatEntryText(path string) string { // // Here is a UI definition fragment specifying GtkComboBoxText items: // -// -// -// Factory -// Home -// Subway -// -// +// +// +// Factory +// Home +// Subway +// +// // // CSS nodes // -// combobox -// ╰── box.linked -// ├── entry.combo -// ├── button.combo -// ╰── window.popup +// combobox +// ╰── box.linked +// ├── entry.combo +// ├── button.combo +// ╰── window.popup // // GtkComboBoxText has a single CSS node with name combobox. It adds the style // class .combo to the main CSS nodes of its entry and button children, and the @@ -38334,7 +37534,6 @@ func marshalComboBoxText(p uintptr) (interface{}, error) { // The function returns the following values: // // - comboBoxText: new GtkComboBoxText. -// func NewComboBoxText() *ComboBoxText { var _cret *C.GtkWidget // in @@ -38352,7 +37551,6 @@ func NewComboBoxText() *ComboBoxText { // The function returns the following values: // // - comboBoxText: new GtkComboBoxText. -// func NewComboBoxTextWithEntry() *ComboBoxText { var _cret *C.GtkWidget // in @@ -38375,7 +37573,6 @@ func NewComboBoxTextWithEntry() *ComboBoxText { // // - id (optional): string ID for this value, or NULL. // - text: string. -// func (comboBox *ComboBoxText) Append(id, text string) { var _arg0 *C.GtkComboBoxText // out var _arg1 *C.char // out @@ -38403,7 +37600,6 @@ func (comboBox *ComboBoxText) Append(id, text string) { // The function takes the following parameters: // // - text: string. -// func (comboBox *ComboBoxText) AppendText(text string) { var _arg0 *C.GtkComboBoxText // out var _arg1 *C.char // out @@ -38427,7 +37623,6 @@ func (comboBox *ComboBoxText) AppendText(text string) { // // - utf8 (optional): newly allocated string containing the currently active // text. Must be freed with g_free(). -// func (comboBox *ComboBoxText) ActiveText() string { var _arg0 *C.GtkComboBoxText // out var _cret *C.char // in @@ -38459,7 +37654,6 @@ func (comboBox *ComboBoxText) ActiveText() string { // - position: index to insert text. // - id (optional): string ID for this value, or NULL. // - text: string to display. -// func (comboBox *ComboBoxText) Insert(position int, id, text string) { var _arg0 *C.GtkComboBoxText // out var _arg1 C.int // out @@ -38493,7 +37687,6 @@ func (comboBox *ComboBoxText) Insert(position int, id, text string) { // // - position: index to insert text. // - text: string. -// func (comboBox *ComboBoxText) InsertText(position int, text string) { var _arg0 *C.GtkComboBoxText // out var _arg1 C.int // out @@ -38520,7 +37713,6 @@ func (comboBox *ComboBoxText) InsertText(position int, text string) { // // - id (optional): string ID for this value, or NULL. // - text: string. -// func (comboBox *ComboBoxText) Prepend(id, text string) { var _arg0 *C.GtkComboBoxText // out var _arg1 *C.char // out @@ -38548,7 +37740,6 @@ func (comboBox *ComboBoxText) Prepend(id, text string) { // The function takes the following parameters: // // - text: string. -// func (comboBox *ComboBoxText) PrependText(text string) { var _arg0 *C.GtkComboBoxText // out var _arg1 *C.char // out @@ -38567,7 +37758,6 @@ func (comboBox *ComboBoxText) PrependText(text string) { // The function takes the following parameters: // // - position: index of the item to remove. -// func (comboBox *ComboBoxText) Remove(position int) { var _arg0 *C.GtkComboBoxText // out var _arg1 C.int // out @@ -38622,7 +37812,6 @@ func marshalConstantExpression(p uintptr) (interface{}, error) { // The function returns the following values: // // - constantExpression: new GtkExpression. -// func NewConstantExpressionForValue(value *coreglib.Value) *ConstantExpression { var _arg1 *C.GValue // out var _cret *C.GtkExpression // in @@ -38644,7 +37833,6 @@ func NewConstantExpressionForValue(value *coreglib.Value) *ConstantExpression { // The function returns the following values: // // - value: value. -// func (expression *ConstantExpression) Value() *coreglib.Value { var _arg0 *C.GtkExpression // out var _cret *C.GValue // in @@ -38674,7 +37862,7 @@ func defaultConstraintOverrides(v *Constraint) ConstraintOverrides { // // The typical equation for a constraint is: // -// target.target_attr = source.source_attr × multiplier + constant +// target.target_attr = source.source_attr × multiplier + constant // // Each GtkConstraint is part of a system that will be solved by a // gtk.ConstraintLayout in order to allocate and position each child widget or @@ -38734,7 +37922,6 @@ func marshalConstraint(p uintptr) (interface{}, error) { // The function returns the following values: // // - constraint: newly created constraint. -// func NewConstraint(target ConstraintTargetter, targetAttribute ConstraintAttribute, relation ConstraintRelation, source ConstraintTargetter, sourceAttribute ConstraintAttribute, multiplier, constant float64, strength int) *Constraint { var _arg1 C.gpointer // out var _arg2 C.GtkConstraintAttribute // out @@ -38790,7 +37977,6 @@ func NewConstraint(target ConstraintTargetter, targetAttribute ConstraintAttribu // The function returns the following values: // // - constraint: newly created constraint. -// func NewConstraintConstant(target ConstraintTargetter, targetAttribute ConstraintAttribute, relation ConstraintRelation, constant float64, strength int) *Constraint { var _arg1 C.gpointer // out var _arg2 C.GtkConstraintAttribute // out @@ -38826,7 +38012,6 @@ func NewConstraintConstant(target ConstraintTargetter, targetAttribute Constrain // The function returns the following values: // // - gdouble: constant factor. -// func (constraint *Constraint) Constant() float64 { var _arg0 *C.GtkConstraint // out var _cret C.double // in @@ -38849,7 +38034,6 @@ func (constraint *Constraint) Constant() float64 { // The function returns the following values: // // - gdouble: multiplication factor. -// func (constraint *Constraint) Multiplier() float64 { var _arg0 *C.GtkConstraint // out var _cret C.double // in @@ -38871,7 +38055,6 @@ func (constraint *Constraint) Multiplier() float64 { // The function returns the following values: // // - constraintRelation: relation type. -// func (constraint *Constraint) Relation() ConstraintRelation { var _arg0 *C.GtkConstraint // out var _cret C.GtkConstraintRelation // in @@ -38897,7 +38080,6 @@ func (constraint *Constraint) Relation() ConstraintRelation { // The function returns the following values: // // - constraintTarget (optional): source of the constraint. -// func (constraint *Constraint) Source() *ConstraintTarget { var _arg0 *C.GtkConstraint // out var _cret *C.GtkConstraintTarget // in @@ -38922,7 +38104,6 @@ func (constraint *Constraint) Source() *ConstraintTarget { // The function returns the following values: // // - constraintAttribute source's attribute. -// func (constraint *Constraint) SourceAttribute() ConstraintAttribute { var _arg0 *C.GtkConstraint // out var _cret C.GtkConstraintAttribute // in @@ -38944,7 +38125,6 @@ func (constraint *Constraint) SourceAttribute() ConstraintAttribute { // The function returns the following values: // // - gint: strength value. -// func (constraint *Constraint) Strength() int { var _arg0 *C.GtkConstraint // out var _cret C.int // in @@ -38970,7 +38150,6 @@ func (constraint *Constraint) Strength() int { // The function returns the following values: // // - constraintTarget (optional): ConstraintTarget. -// func (constraint *Constraint) Target() *ConstraintTarget { var _arg0 *C.GtkConstraint // out var _cret *C.GtkConstraintTarget // in @@ -38995,7 +38174,6 @@ func (constraint *Constraint) Target() *ConstraintTarget { // The function returns the following values: // // - constraintAttribute target's attribute. -// func (constraint *Constraint) TargetAttribute() ConstraintAttribute { var _arg0 *C.GtkConstraint // out var _cret C.GtkConstraintAttribute // in @@ -39018,7 +38196,6 @@ func (constraint *Constraint) TargetAttribute() ConstraintAttribute { // The function returns the following values: // // - ok: TRUE if the constraint is attached. -// func (constraint *Constraint) IsAttached() bool { var _arg0 *C.GtkConstraint // out var _cret C.gboolean // in @@ -39043,7 +38220,6 @@ func (constraint *Constraint) IsAttached() bool { // The function returns the following values: // // - ok: TRUE if the constraint is a constant relation. -// func (constraint *Constraint) IsConstant() bool { var _arg0 *C.GtkConstraint // out var _cret C.gboolean // in @@ -39068,7 +38244,6 @@ func (constraint *Constraint) IsConstant() bool { // The function returns the following values: // // - ok: TRUE if the constraint is required. -// func (constraint *Constraint) IsRequired() bool { var _arg0 *C.GtkConstraint // out var _cret C.gboolean // in @@ -39151,7 +38326,6 @@ func marshalConstraintGuide(p uintptr) (interface{}, error) { // The function returns the following values: // // - constraintGuide: new GtkConstraintGuide object. -// func NewConstraintGuide() *ConstraintGuide { var _cret *C.GtkConstraintGuide // in @@ -39170,7 +38344,6 @@ func NewConstraintGuide() *ConstraintGuide { // // - width (optional): return location for the maximum width, or NULL. // - height (optional): return location for the maximum height, or NULL. -// func (guide *ConstraintGuide) MaxSize(width, height *int) { var _arg0 *C.GtkConstraintGuide // out var _arg1 *C.int // out @@ -39196,7 +38369,6 @@ func (guide *ConstraintGuide) MaxSize(width, height *int) { // // - width (optional): return location for the minimum width, or NULL. // - height (optional): return location for the minimum height, or NULL. -// func (guide *ConstraintGuide) MinSize(width, height *int) { var _arg0 *C.GtkConstraintGuide // out var _arg1 *C.int // out @@ -39221,7 +38393,6 @@ func (guide *ConstraintGuide) MinSize(width, height *int) { // The function returns the following values: // // - utf8 (optional): name of the guide. -// func (guide *ConstraintGuide) Name() string { var _arg0 *C.GtkConstraintGuide // out var _cret *C.char // in @@ -39246,7 +38417,6 @@ func (guide *ConstraintGuide) Name() string { // // - width (optional): return location for the natural width, or NULL. // - height (optional): return location for the natural height, or NULL. -// func (guide *ConstraintGuide) NatSize(width, height *int) { var _arg0 *C.GtkConstraintGuide // out var _arg1 *C.int // out @@ -39272,7 +38442,6 @@ func (guide *ConstraintGuide) NatSize(width, height *int) { // The function returns the following values: // // - constraintStrength: strength of the constraint on the natural size. -// func (guide *ConstraintGuide) Strength() ConstraintStrength { var _arg0 *C.GtkConstraintGuide // out var _cret C.GtkConstraintStrength // in @@ -39298,7 +38467,6 @@ func (guide *ConstraintGuide) Strength() ConstraintStrength { // // - width: new maximum width, or -1 to not change it. // - height: new maximum height, or -1 to not change it. -// func (guide *ConstraintGuide) SetMaxSize(width, height int) { var _arg0 *C.GtkConstraintGuide // out var _arg1 C.int // out @@ -39323,7 +38491,6 @@ func (guide *ConstraintGuide) SetMaxSize(width, height int) { // // - width: new minimum width, or -1 to not change it. // - height: new minimum height, or -1 to not change it. -// func (guide *ConstraintGuide) SetMinSize(width, height int) { var _arg0 *C.GtkConstraintGuide // out var _arg1 C.int // out @@ -39346,7 +38513,6 @@ func (guide *ConstraintGuide) SetMinSize(width, height int) { // The function takes the following parameters: // // - name (optional) for the guide. -// func (guide *ConstraintGuide) SetName(name string) { var _arg0 *C.GtkConstraintGuide // out var _arg1 *C.char // out @@ -39371,7 +38537,6 @@ func (guide *ConstraintGuide) SetName(name string) { // // - width: new natural width, or -1 to not change it. // - height: new natural height, or -1 to not change it. -// func (guide *ConstraintGuide) SetNatSize(width, height int) { var _arg0 *C.GtkConstraintGuide // out var _arg1 C.int // out @@ -39393,7 +38558,6 @@ func (guide *ConstraintGuide) SetNatSize(width, height int) { // The function takes the following parameters: // // - strength of the constraint. -// func (guide *ConstraintGuide) SetStrength(strength ConstraintStrength) { var _arg0 *C.GtkConstraintGuide // out var _arg1 C.GtkConstraintStrength // out @@ -39459,19 +38623,19 @@ func defaultConstraintLayoutOverrides(v *ConstraintLayout) ConstraintLayoutOverr // // An example of a UI definition fragment specifying a constraint: // -// -// -// -// -// -// +// +// +// +// +// +// // // The definition above will add two constraints to the GtkConstraintLayout: // @@ -39500,10 +38664,10 @@ func defaultConstraintLayoutOverrides(v *ConstraintLayout) ConstraintLayoutOverr // Additionally, the "constraints" element can also contain a description of the // ConstraintGuides used by the layout: // -// -// -// -// +// +// +// +// // // The "guide" element has the following optional attributes: // @@ -39528,7 +38692,7 @@ func defaultConstraintLayoutOverrides(v *ConstraintLayout) ConstraintLayoutOverr // // For instance: // -// [button]-[textField] +// [button]-[textField] // // Describes a constraint that binds the trailing edge of "button" to the // leading edge of "textField", leaving a default space between the two. @@ -39536,32 +38700,32 @@ func defaultConstraintLayoutOverrides(v *ConstraintLayout) ConstraintLayoutOverr // Using VFL is also possible to specify predicates that describe constraints on // attributes like width and height: // -// // Width must be greater than, or equal to 50 -// [button(>=50)] +// // Width must be greater than, or equal to 50 +// [button(>=50)] // -// // Width of button1 must be equal to width of button2 -// [button1(==button2)] +// // Width of button1 must be equal to width of button2 +// [button1(==button2)] // // The default orientation for a VFL description is horizontal, unless otherwise // specified: // -// // horizontal orientation, default attribute: width -// H:[button(>=150)] +// // horizontal orientation, default attribute: width +// H:[button(>=150)] // -// // vertical orientation, default attribute: height -// V:[button1(==button2)] +// // vertical orientation, default attribute: height +// V:[button1(==button2)] // // It's also possible to specify multiple predicates, as well as their strength: // -// // minimum width of button must be 150 -// // natural width of button can be 250 -// [button(>=150required, ==250medium)] +// // minimum width of button must be 150 +// // natural width of button can be 250 +// [button(>=150required, ==250medium)] // // Finally, it's also possible to use simple arithmetic operators: // -// // width of button1 must be equal to width of button2 -// // divided by 2 plus 12 -// [button1(button2 / 2 + 12)]. +// // width of button1 must be equal to width of button2 +// // divided by 2 plus 12 +// [button1(button2 / 2 + 12)]. type ConstraintLayout struct { _ [0]func() // equal guard LayoutManager @@ -39612,7 +38776,6 @@ func marshalConstraintLayout(p uintptr) (interface{}, error) { // The function returns the following values: // // - constraintLayout: newly created GtkConstraintLayout. -// func NewConstraintLayout() *ConstraintLayout { var _cret *C.GtkLayoutManager // in @@ -39641,7 +38804,6 @@ func NewConstraintLayout() *ConstraintLayout { // The function takes the following parameters: // // - constraint: gtk.Constraint. -// func (layout *ConstraintLayout) AddConstraint(constraint *Constraint) { var _arg0 *C.GtkConstraintLayout // out var _arg1 *C.GtkConstraint // out @@ -39666,30 +38828,30 @@ func (layout *ConstraintLayout) AddConstraint(constraint *Constraint) { // // The VFL grammar is: // -// = ()? -// ()? -// ()* -// ()? -// = 'H' | 'V' -// = '|' -// = '' | '-' '-' | '-' -// = | -// = | -// = '(' (',' )* ')' -// = ()? ()? ('@' )? -// = '==' | '<=' | '>=' -// = | | ('.' )? -// = | 'required' | 'strong' | 'medium' | 'weak' -// = -// = ()? ()? -// = [ '*' | '/' ] -// = [ '+' | '-' ] -// = A-Za-z_ ([A-Za-z0-9_]*) // A C identifier -// = A-Za-z_ ([A-Za-z0-9_]*) // A C identifier -// = 'top' | 'bottom' | 'left' | 'right' | 'width' | 'height' | -// 'start' | 'end' | 'centerX' | 'centerY' | 'baseline' -// // A positive real number parseable by g_ascii_strtod() -// // A real number parseable by g_ascii_strtod() +// = ()? +// ()? +// ()* +// ()? +// = 'H' | 'V' +// = '|' +// = '' | '-' '-' | '-' +// = | +// = | +// = '(' (',' )* ')' +// = ()? ()? ('@' )? +// = '==' | '<=' | '>=' +// = | | ('.' )? +// = | 'required' | 'strong' | 'medium' | 'weak' +// = +// = ()? ()? +// = [ '*' | '/' ] +// = [ '+' | '-' ] +// = A-Za-z_ ([A-Za-z0-9_]*) // A C identifier +// = A-Za-z_ ([A-Za-z0-9_]*) // A C identifier +// = 'top' | 'bottom' | 'left' | 'right' | 'width' | 'height' | +// 'start' | 'end' | 'centerX' | 'centerY' | 'baseline' +// // A positive real number parseable by g_ascii_strtod() +// // A real number parseable by g_ascii_strtod() // // **Note**: The VFL grammar used by GTK is slightly different than the one // defined by Apple, as it can use symbolic values for the constraint's strength @@ -39698,38 +38860,38 @@ func (layout *ConstraintLayout) AddConstraint(constraint *Constraint) { // // Examples of VFL descriptions are: // -// // Default spacing -// [button]-[textField] +// // Default spacing +// [button]-[textField] // -// // Width constraint -// [button(>=50)] +// // Width constraint +// [button(>=50)] // -// // Connection to super view -// |-50-[purpleBox]-50-| +// // Connection to super view +// |-50-[purpleBox]-50-| // -// // Vertical layout -// V:[topField]-10-[bottomField] +// // Vertical layout +// V:[topField]-10-[bottomField] // -// // Flush views -// [maroonView][blueView] +// // Flush views +// [maroonView][blueView] // -// // Priority -// [button(100strong)] +// // Priority +// [button(100strong)] // -// // Equal widths -// [button1(==button2)] +// // Equal widths +// [button1(==button2)] // -// // Multiple predicates -// [flexibleButton(>=70,<=100)] +// // Multiple predicates +// [flexibleButton(>=70,<=100)] // -// // A complete line of layout -// |-[find]-[findNext]-[findField(>=20)]-| +// // A complete line of layout +// |-[find]-[findNext]-[findField(>=20)]-| // -// // Operators -// [button1(button2 / 3 + 50)] +// // Operators +// [button1(button2 / 3 + 50)] // -// // Named attributes -// [button1(==button2.height)]. +// // Named attributes +// [button1(==button2.height)]. // // The function takes the following parameters: // @@ -39744,7 +38906,6 @@ func (layout *ConstraintLayout) AddConstraint(constraint *Constraint) { // The function returns the following values: // // - list of gtk.Constraint instances that were added to the layout. -// func (layout *ConstraintLayout) AddConstraintsFromDescription(lines []string, hspacing, vspacing int, views map[string]ConstraintTargetter) ([]*Constraint, error) { var _arg0 *C.GtkConstraintLayout // out var _arg1 **C.char // out @@ -39813,7 +38974,6 @@ func (layout *ConstraintLayout) AddConstraintsFromDescription(lines []string, hs // The function takes the following parameters: // // - guide: gtk.ConstraintGuide object. -// func (layout *ConstraintLayout) AddGuide(guide *ConstraintGuide) { var _arg0 *C.GtkConstraintLayout // out var _arg1 *C.GtkConstraintGuide // out @@ -39840,7 +39000,6 @@ func (layout *ConstraintLayout) AddGuide(guide *ConstraintGuide) { // The function returns the following values: // // - listModel: a GListModel tracking the layout's constraints. -// func (layout *ConstraintLayout) ObserveConstraints() *gio.ListModel { var _arg0 *C.GtkConstraintLayout // out var _cret *C.GListModel // in @@ -39875,7 +39034,6 @@ func (layout *ConstraintLayout) ObserveConstraints() *gio.ListModel { // The function returns the following values: // // - listModel: a GListModel tracking the layout's guides. -// func (layout *ConstraintLayout) ObserveGuides() *gio.ListModel { var _arg0 *C.GtkConstraintLayout // out var _cret *C.GListModel // in @@ -39913,7 +39071,6 @@ func (layout *ConstraintLayout) RemoveAllConstraints() { // The function takes the following parameters: // // - constraint: gtk.Constraint. -// func (layout *ConstraintLayout) RemoveConstraint(constraint *Constraint) { var _arg0 *C.GtkConstraintLayout // out var _arg1 *C.GtkConstraint // out @@ -39932,7 +39089,6 @@ func (layout *ConstraintLayout) RemoveConstraint(constraint *Constraint) { // The function takes the following parameters: // // - guide: gtk.ConstraintGuide object. -// func (layout *ConstraintLayout) RemoveGuide(guide *ConstraintGuide) { var _arg0 *C.GtkConstraintLayout // out var _arg1 *C.GtkConstraintGuide // out @@ -40065,7 +39221,6 @@ func (cssProvider *CSSProvider) ConnectParsingError(f func(section *CSSSection, // The function returns the following values: // // - cssProvider: new GtkCssProvider. -// func NewCSSProvider() *CSSProvider { var _cret *C.GtkCssProvider // in @@ -40085,7 +39240,6 @@ func NewCSSProvider() *CSSProvider { // The function takes the following parameters: // // - data: CSS data loaded in memory. -// func (cssProvider *CSSProvider) LoadFromData(data string) { var _arg0 *C.GtkCssProvider // out var _arg1 *C.char // out @@ -40109,7 +39263,6 @@ func (cssProvider *CSSProvider) LoadFromData(data string) { // The function takes the following parameters: // // - file: GFile pointing to a file to load. -// func (cssProvider *CSSProvider) LoadFromFile(file gio.Filer) { var _arg0 *C.GtkCssProvider // out var _arg1 *C.GFile // out @@ -40129,7 +39282,6 @@ func (cssProvider *CSSProvider) LoadFromFile(file gio.Filer) { // The function takes the following parameters: // // - path of a filename to load, in the GLib filename encoding. -// func (cssProvider *CSSProvider) LoadFromPath(path string) { var _arg0 *C.GtkCssProvider // out var _arg1 *C.char // out @@ -40151,7 +39303,6 @@ func (cssProvider *CSSProvider) LoadFromPath(path string) { // The function takes the following parameters: // // - resourcePath: GResource resource path. -// func (cssProvider *CSSProvider) LoadFromResource(resourcePath string) { var _arg0 *C.GtkCssProvider // out var _arg1 *C.char // out @@ -40175,7 +39326,6 @@ func (cssProvider *CSSProvider) LoadFromResource(resourcePath string) { // // - name: theme name. // - variant (optional) to load, for example, "dark", or NULL for the default. -// func (provider *CSSProvider) LoadNamed(name, variant string) { var _arg0 *C.GtkCssProvider // out var _arg1 *C.char // out @@ -40204,7 +39354,6 @@ func (provider *CSSProvider) LoadNamed(name, variant string) { // The function returns the following values: // // - utf8: new string representing the provider. -// func (provider *CSSProvider) String() string { var _arg0 *C.GtkCssProvider // out var _cret *C.char // in @@ -40284,7 +39433,6 @@ func marshalCustomFilter(p uintptr) (interface{}, error) { // The function returns the following values: // // - customFilter: new GtkCustomFilter. -// func NewCustomFilter(matchFunc CustomFilterFunc) *CustomFilter { var _arg1 C.GtkCustomFilterFunc // out var _arg2 C.gpointer @@ -40319,7 +39467,6 @@ func NewCustomFilter(matchFunc CustomFilterFunc) *CustomFilter { // The function takes the following parameters: // // - matchFunc (optional): function to filter items. -// func (self *CustomFilter) SetFilterFunc(matchFunc CustomFilterFunc) { var _arg0 *C.GtkCustomFilter // out var _arg1 C.GtkCustomFilterFunc // out @@ -40447,7 +39594,6 @@ func marshalCustomSorter(p uintptr) (interface{}, error) { // The function returns the following values: // // - customSorter: new GtkCustomSorter. -// func NewCustomSorter(sortFunc glib.CompareDataFunc) *CustomSorter { var _arg1 C.GCompareDataFunc // out var _arg2 C.gpointer @@ -40482,7 +39628,6 @@ func NewCustomSorter(sortFunc glib.CompareDataFunc) *CustomSorter { // The function takes the following parameters: // // - sortFunc (optional): function to sort items. -// func (self *CustomSorter) SetSortFunc(sortFunc glib.CompareDataFunc) { var _arg0 *C.GtkCustomSorter // out var _arg1 C.GCompareDataFunc // out @@ -40511,7 +39656,6 @@ type DialogOverrides struct { // The function takes the following parameters: // // - responseId: response ID. - // Response func(responseId int) } @@ -40568,36 +39712,36 @@ func defaultDialogOverrides(v *Dialog) DialogOverrides { // // An example for simple GtkDialog usage: // -// // Function to open a dialog box with a message -// void -// quick_message (GtkWindow *parent, char *message) -// { -// GtkWidget *dialog, *label, *content_area; -// GtkDialogFlags flags; -// -// // Create the widgets -// flags = GTK_DIALOG_DESTROY_WITH_PARENT; -// dialog = gtk_dialog_new_with_buttons ("Message", -// parent, -// flags, -// _("_OK"), -// GTK_RESPONSE_NONE, -// NULL); -// content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); -// label = gtk_label_new (message); -// -// // Ensure that the dialog box is destroyed when the user responds -// -// g_signal_connect_swapped (dialog, -// "response", -// G_CALLBACK (gtk_window_destroy), -// dialog); -// -// // Add the label, and show everything we’ve added -// -// gtk_box_append (GTK_BOX (content_area), label); -// gtk_widget_show (dialog); -// } +// // Function to open a dialog box with a message +// void +// quick_message (GtkWindow *parent, char *message) +// { +// GtkWidget *dialog, *label, *content_area; +// GtkDialogFlags flags; +// +// // Create the widgets +// flags = GTK_DIALOG_DESTROY_WITH_PARENT; +// dialog = gtk_dialog_new_with_buttons ("Message", +// parent, +// flags, +// _("_OK"), +// GTK_RESPONSE_NONE, +// NULL); +// content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); +// label = gtk_label_new (message); +// +// // Ensure that the dialog box is destroyed when the user responds +// +// g_signal_connect_swapped (dialog, +// "response", +// G_CALLBACK (gtk_window_destroy), +// dialog); +// +// // Add the label, and show everything we’ve added +// +// gtk_box_append (GTK_BOX (content_area), label); +// gtk_widget_show (dialog); +// } // // # GtkDialog as GtkBuildable // @@ -40618,19 +39762,19 @@ func defaultDialogOverrides(v *Dialog) DialogOverrides { // // An example of a Dialog UI definition fragment: // -// -// -// -// -// -// -// -// -// -// button_cancel -// button_ok -// -// +// +// +// +// +// +// +// +// +// +// button_cancel +// button_ok +// +// // // # Accessibility // @@ -40747,7 +39891,6 @@ func (dialog *Dialog) ConnectResponse(f func(responseId int)) coreglib.SignalHan // The function returns the following values: // // - dialog: new dialog as a GtkWidget. -// func NewDialog() *Dialog { var _cret *C.GtkWidget // in @@ -40773,7 +39916,6 @@ func NewDialog() *Dialog { // // - child: activatable widget. // - responseId: response ID for child. -// func (dialog *Dialog) AddActionWidget(child Widgetter, responseId int) { var _arg0 *C.GtkDialog // out var _arg1 *C.GtkWidget // out @@ -40804,7 +39946,6 @@ func (dialog *Dialog) AddActionWidget(child Widgetter, responseId int) { // The function returns the following values: // // - widget: GtkButton widget that was added. -// func (dialog *Dialog) AddButton(buttonText string, responseId int) Widgetter { var _arg0 *C.GtkDialog // out var _arg1 *C.char // out @@ -40849,7 +39990,6 @@ func (dialog *Dialog) AddButton(buttonText string, responseId int) Widgetter { // The function returns the following values: // // - box: content area Box. -// func (dialog *Dialog) ContentArea() *Box { var _arg0 *C.GtkDialog // out var _cret *C.GtkWidget // in @@ -40874,7 +40014,6 @@ func (dialog *Dialog) ContentArea() *Box { // The function returns the following values: // // - headerBar: header bar. -// func (dialog *Dialog) HeaderBar() *HeaderBar { var _arg0 *C.GtkDialog // out var _cret *C.GtkWidget // in @@ -40902,7 +40041,6 @@ func (dialog *Dialog) HeaderBar() *HeaderBar { // // - gint: response id of widget, or GTK_RESPONSE_NONE if widget doesn’t have // a response id set. -// func (dialog *Dialog) ResponseForWidget(widget Widgetter) int { var _arg0 *C.GtkDialog // out var _arg1 *C.GtkWidget // out @@ -40932,7 +40070,6 @@ func (dialog *Dialog) ResponseForWidget(widget Widgetter) int { // The function returns the following values: // // - widget (optional) button that uses the given response_id, or NULL. -// func (dialog *Dialog) WidgetForResponse(responseId int) Widgetter { var _arg0 *C.GtkDialog // out var _arg1 C.int // out @@ -40974,7 +40111,6 @@ func (dialog *Dialog) WidgetForResponse(responseId int) Widgetter { // The function takes the following parameters: // // - responseId: response ID. -// func (dialog *Dialog) Response(responseId int) { var _arg0 *C.GtkDialog // out var _arg1 C.int // out @@ -40995,7 +40131,6 @@ func (dialog *Dialog) Response(responseId int) { // The function takes the following parameters: // // - responseId: response ID. -// func (dialog *Dialog) SetDefaultResponse(responseId int) { var _arg0 *C.GtkDialog // out var _arg1 C.int // out @@ -41017,7 +40152,6 @@ func (dialog *Dialog) SetDefaultResponse(responseId int) { // // - responseId: response ID. // - setting: TRUE for sensitive. -// func (dialog *Dialog) SetResponseSensitive(responseId int, setting bool) { var _arg0 *C.GtkDialog // out var _arg1 C.int // out @@ -41054,7 +40188,6 @@ func (dialog *Dialog) close() { // The function takes the following parameters: // // - responseId: response ID. -// func (dialog *Dialog) response(responseId int) { gclass := (*C.GtkDialogClass)(coreglib.PeekParentClass(dialog)) fnarg := gclass.response @@ -41152,7 +40285,6 @@ func marshalDirectoryList(p uintptr) (interface{}, error) { // The function returns the following values: // // - directoryList: new GtkDirectoryList. -// func NewDirectoryList(attributes string, file gio.Filer) *DirectoryList { var _arg1 *C.char // out var _arg2 *C.GFile // out @@ -41182,7 +40314,6 @@ func NewDirectoryList(attributes string, file gio.Filer) *DirectoryList { // The function returns the following values: // // - utf8 (optional): queried attributes. -// func (self *DirectoryList) Attributes() string { var _arg0 *C.GtkDirectoryList // out var _cret *C.char // in @@ -41213,7 +40344,6 @@ func (self *DirectoryList) Attributes() string { // The function returns the following values: // // - err (optional): loading error or NULL if loading finished successfully. -// func (self *DirectoryList) Error() error { var _arg0 *C.GtkDirectoryList // out var _cret *C.GError // in @@ -41237,7 +40367,6 @@ func (self *DirectoryList) Error() error { // The function returns the following values: // // - file (optional) whose children are enumerated. -// func (self *DirectoryList) File() *gio.File { var _arg0 *C.GtkDirectoryList // out var _cret *C.GFile // in @@ -41266,7 +40395,6 @@ func (self *DirectoryList) File() *gio.File { // The function returns the following values: // // - gint: IO priority. -// func (self *DirectoryList) IOPriority() int { var _arg0 *C.GtkDirectoryList // out var _cret C.int // in @@ -41289,7 +40417,6 @@ func (self *DirectoryList) IOPriority() int { // The function returns the following values: // // - ok: TRUE if the directory is monitored. -// func (self *DirectoryList) Monitored() bool { var _arg0 *C.GtkDirectoryList // out var _cret C.gboolean // in @@ -41316,7 +40443,6 @@ func (self *DirectoryList) Monitored() bool { // The function returns the following values: // // - ok: TRUE if self is loading. -// func (self *DirectoryList) IsLoading() bool { var _arg0 *C.GtkDirectoryList // out var _cret C.gboolean // in @@ -41344,7 +40470,6 @@ func (self *DirectoryList) IsLoading() bool { // The function takes the following parameters: // // - attributes (optional) to enumerate. -// func (self *DirectoryList) SetAttributes(attributes string) { var _arg0 *C.GtkDirectoryList // out var _arg1 *C.char // out @@ -41367,7 +40492,6 @@ func (self *DirectoryList) SetAttributes(attributes string) { // The function takes the following parameters: // // - file (optional) to be enumerated. -// func (self *DirectoryList) SetFile(file gio.Filer) { var _arg0 *C.GtkDirectoryList // out var _arg1 *C.GFile // out @@ -41395,7 +40519,6 @@ func (self *DirectoryList) SetFile(file gio.Filer) { // The function takes the following parameters: // // - ioPriority: IO priority to use. -// func (self *DirectoryList) SetIOPriority(ioPriority int) { var _arg0 *C.GtkDirectoryList // out var _arg1 C.int // out @@ -41419,7 +40542,6 @@ func (self *DirectoryList) SetIOPriority(ioPriority int) { // The function takes the following parameters: // // - monitored: TRUE to monitor the directory for changes. -// func (self *DirectoryList) SetMonitored(monitored bool) { var _arg0 *C.GtkDirectoryList // out var _arg1 C.gboolean // out @@ -41531,7 +40653,6 @@ func marshalDragIcon(p uintptr) (interface{}, error) { // The function returns the following values: // // - widget (optional): drag icon or NULL if none. -// func (self *DragIcon) Child() Widgetter { var _arg0 *C.GtkDragIcon // out var _cret *C.GtkWidget // in @@ -41568,7 +40689,6 @@ func (self *DragIcon) Child() Widgetter { // The function takes the following parameters: // // - child (optional): GtkWidget or NULL. -// func (self *DragIcon) SetChild(child Widgetter) { var _arg0 *C.GtkDragIcon // out var _arg1 *C.GtkWidget // out @@ -41600,7 +40720,6 @@ func (self *DragIcon) SetChild(child Widgetter) { // The function returns the following values: // // - widget (optional): new GtkWidget for displaying value as a drag icon. -// func DragIconCreateWidgetForValue(value *coreglib.Value) Widgetter { var _arg1 *C.GValue // out var _cret *C.GtkWidget // in @@ -41643,7 +40762,6 @@ func DragIconCreateWidgetForValue(value *coreglib.Value) Widgetter { // The function returns the following values: // // - widget: GtkDragIcon. -// func DragIconGetForDrag(drag gdk.Dragger) Widgetter { var _arg1 *C.GdkDrag // out var _cret *C.GtkWidget // in @@ -41688,7 +40806,6 @@ func DragIconGetForDrag(drag gdk.Dragger) Widgetter { // - paintable: GdkPaintable to display. // - hotX: x coordinate of the hotspot. // - hotY: y coordinate of the hotspot. -// func DragIconSetFromPaintable(drag gdk.Dragger, paintable gdk.Paintabler, hotX, hotY int) { var _arg1 *C.GdkDrag // out var _arg2 *C.GdkPaintable // out @@ -41717,16 +40834,16 @@ func DragIconSetFromPaintable(drag gdk.Dragger, paintable gdk.Paintabler, hotX, // the drag source must be added to a widget as an event controller, using // gtk.Widget.AddController(). // -// static void -// my_widget_init (MyWidget *self) -// { -// GtkDragSource *drag_source = gtk_drag_source_new (); +// static void +// my_widget_init (MyWidget *self) +// { +// GtkDragSource *drag_source = gtk_drag_source_new (); // -// g_signal_connect (drag_source, "prepare", G_CALLBACK (on_drag_prepare), self); -// g_signal_connect (drag_source, "drag-begin", G_CALLBACK (on_drag_begin), self); +// g_signal_connect (drag_source, "prepare", G_CALLBACK (on_drag_prepare), self); +// g_signal_connect (drag_source, "drag-begin", G_CALLBACK (on_drag_begin), self); // -// gtk_widget_add_controller (GTK_WIDGET (self), GTK_EVENT_CONTROLLER (drag_source)); -// } +// gtk_widget_add_controller (GTK_WIDGET (self), GTK_EVENT_CONTROLLER (drag_source)); +// } // // Setting up the content provider and icon ahead of time only makes sense // when the data does not change. More commonly, you will want to set them @@ -41736,37 +40853,37 @@ func DragIconSetFromPaintable(drag gdk.Dragger, paintable gdk.Paintabler, hotX, // The ::prepare signal is emitted before a drag is started, and can be used to // set the content provider and actions that the drag should be started with. // -// static GdkContentProvider * -// on_drag_prepare (GtkDragSource *source, -// double x, -// double y, -// MyWidget *self) -// { -// // This widget supports two types of content: GFile objects -// // and GdkPixbuf objects; GTK will handle the serialization -// // of these types automatically -// GFile *file = my_widget_get_file (self); -// GdkPixbuf *pixbuf = my_widget_get_pixbuf (self); -// -// return gdk_content_provider_new_union ((GdkContentProvider *[2]) { -// gdk_content_provider_new_typed (G_TYPE_FILE, file), -// gdk_content_provider_new_typed (GDK_TYPE_PIXBUF, pixbuf), -// }, 2); -// } +// static GdkContentProvider * +// on_drag_prepare (GtkDragSource *source, +// double x, +// double y, +// MyWidget *self) +// { +// // This widget supports two types of content: GFile objects +// // and GdkPixbuf objects; GTK will handle the serialization +// // of these types automatically +// GFile *file = my_widget_get_file (self); +// GdkPixbuf *pixbuf = my_widget_get_pixbuf (self); +// +// return gdk_content_provider_new_union ((GdkContentProvider *[2]) { +// gdk_content_provider_new_typed (G_TYPE_FILE, file), +// gdk_content_provider_new_typed (GDK_TYPE_PIXBUF, pixbuf), +// }, 2); +// } // // The ::drag-begin signal is emitted after the GdkDrag object has been created, // and can be used to set up the drag icon. // -// static void -// on_drag_begin (GtkDragSource *source, -// GtkDrag *drag, -// MyWidget *self) -// { -// // Set the widget as the drag icon -// GdkPaintable *paintable = gtk_widget_paintable_new (GTK_WIDGET (self)); -// gtk_drag_source_set_icon (source, paintable, 0, 0); -// g_object_unref (paintable); -// } +// static void +// on_drag_begin (GtkDragSource *source, +// GtkDrag *drag, +// MyWidget *self) +// { +// // Set the widget as the drag icon +// GdkPaintable *paintable = gtk_widget_paintable_new (GTK_WIDGET (self)); +// gtk_drag_source_set_icon (source, paintable, 0, 0); +// g_object_unref (paintable); +// } // // During the DND operation, GtkDragSource emits signals that can be used // to obtain updates about the status of the operation, but it is not @@ -41838,7 +40955,6 @@ func (source *DragSource) ConnectPrepare(f func(x, y float64) (contentProvider * // The function returns the following values: // // - dragSource: new GtkDragSource. -// func NewDragSource() *DragSource { var _cret *C.GtkDragSource // in @@ -41866,7 +40982,6 @@ func (source *DragSource) DragCancel() { // The function returns the following values: // // - dragAction actions set on source. -// func (source *DragSource) Actions() gdk.DragAction { var _arg0 *C.GtkDragSource // out var _cret C.GdkDragAction // in @@ -41888,7 +41003,6 @@ func (source *DragSource) Actions() gdk.DragAction { // The function returns the following values: // // - contentProvider (optional): GdkContentProvider of source. -// func (source *DragSource) Content() *gdk.ContentProvider { var _arg0 *C.GtkDragSource // out var _cret *C.GdkContentProvider // in @@ -41917,7 +41031,6 @@ func (source *DragSource) Content() *gdk.ContentProvider { // The function returns the following values: // // - drag (optional): GdkDrag of the current drag operation, or NULL. -// func (source *DragSource) Drag() gdk.Dragger { var _arg0 *C.GtkDragSource // out var _cret *C.GdkDrag // in @@ -41961,7 +41074,6 @@ func (source *DragSource) Drag() gdk.Dragger { // The function takes the following parameters: // // - actions to offer. -// func (source *DragSource) SetActions(actions gdk.DragAction) { var _arg0 *C.GtkDragSource // out var _arg1 C.GdkDragAction // out @@ -41988,7 +41100,6 @@ func (source *DragSource) SetActions(actions gdk.DragAction) { // The function takes the following parameters: // // - content (optional): GdkContentProvider, or NULL. -// func (source *DragSource) SetContent(content *gdk.ContentProvider) { var _arg0 *C.GtkDragSource // out var _arg1 *C.GdkContentProvider // out @@ -42018,7 +41129,6 @@ func (source *DragSource) SetContent(content *gdk.ContentProvider) { // - paintable (optional) to use as icon, or NULL. // - hotX: hotspot X coordinate on the icon. // - hotY: hotspot Y coordinate on the icon. -// func (source *DragSource) SetIcon(paintable gdk.Paintabler, hotX, hotY int) { var _arg0 *C.GtkDragSource // out var _arg1 *C.GdkPaintable // out @@ -42045,7 +41155,6 @@ type DrawingAreaOverrides struct { // // - width // - height - // Resize func(width, height int) } @@ -42077,43 +41186,43 @@ func defaultDrawingAreaOverrides(v *DrawingArea) DrawingAreaOverrides { // // Simple GtkDrawingArea usage // -// static void -// draw_function (GtkDrawingArea *area, -// cairo_t *cr, -// int width, -// int height, -// gpointer data) -// { -// GdkRGBA color; -// GtkStyleContext *context; -// -// context = gtk_widget_get_style_context (GTK_WIDGET (area)); -// -// cairo_arc (cr, -// width / 2.0, height / 2.0, -// MIN (width, height) / 2.0, -// 0, 2 * G_PI); -// -// gtk_style_context_get_color (context, -// &color); -// gdk_cairo_set_source_rgba (cr, &color); -// -// cairo_fill (cr); -// } -// -// int -// main (int argc, char **argv) -// { -// gtk_init (); -// -// GtkWidget *area = gtk_drawing_area_new (); -// gtk_drawing_area_set_content_width (GTK_DRAWING_AREA (area), 100); -// gtk_drawing_area_set_content_height (GTK_DRAWING_AREA (area), 100); -// gtk_drawing_area_set_draw_func (GTK_DRAWING_AREA (area), -// draw_function, -// NULL, NULL); -// return 0; -// } +// static void +// draw_function (GtkDrawingArea *area, +// cairo_t *cr, +// int width, +// int height, +// gpointer data) +// { +// GdkRGBA color; +// GtkStyleContext *context; +// +// context = gtk_widget_get_style_context (GTK_WIDGET (area)); +// +// cairo_arc (cr, +// width / 2.0, height / 2.0, +// MIN (width, height) / 2.0, +// 0, 2 * G_PI); +// +// gtk_style_context_get_color (context, +// &color); +// gdk_cairo_set_source_rgba (cr, &color); +// +// cairo_fill (cr); +// } +// +// int +// main (int argc, char **argv) +// { +// gtk_init (); +// +// GtkWidget *area = gtk_drawing_area_new (); +// gtk_drawing_area_set_content_width (GTK_DRAWING_AREA (area), 100); +// gtk_drawing_area_set_content_height (GTK_DRAWING_AREA (area), 100); +// gtk_drawing_area_set_draw_func (GTK_DRAWING_AREA (area), +// draw_function, +// NULL, NULL); +// return 0; +// } // // The draw function is normally called when a drawing area first comes // onscreen, or when it’s covered by another window and then uncovered. You can @@ -42200,7 +41309,6 @@ func (self *DrawingArea) ConnectResize(f func(width, height int)) coreglib.Signa // The function returns the following values: // // - drawingArea: new GtkDrawingArea. -// func NewDrawingArea() *DrawingArea { var _cret *C.GtkWidget // in @@ -42218,7 +41326,6 @@ func NewDrawingArea() *DrawingArea { // The function returns the following values: // // - gint: height requested for content of the drawing area. -// func (self *DrawingArea) ContentHeight() int { var _arg0 *C.GtkDrawingArea // out var _cret C.int // in @@ -42240,7 +41347,6 @@ func (self *DrawingArea) ContentHeight() int { // The function returns the following values: // // - gint: width requested for content of the drawing area. -// func (self *DrawingArea) ContentWidth() int { var _arg0 *C.GtkDrawingArea // out var _cret C.int // in @@ -42268,7 +41374,6 @@ func (self *DrawingArea) ContentWidth() int { // The function takes the following parameters: // // - height of contents. -// func (self *DrawingArea) SetContentHeight(height int) { var _arg0 *C.GtkDrawingArea // out var _arg1 C.int // out @@ -42292,7 +41397,6 @@ func (self *DrawingArea) SetContentHeight(height int) { // The function takes the following parameters: // // - width of contents. -// func (self *DrawingArea) SetContentWidth(width int) { var _arg0 *C.GtkDrawingArea // out var _arg1 C.int // out @@ -42323,7 +41427,6 @@ func (self *DrawingArea) SetContentWidth(width int) { // // - drawFunc (optional): callback that lets you draw the drawing area's // contents. -// func (self *DrawingArea) SetDrawFunc(drawFunc DrawingAreaDrawFunc) { var _arg0 *C.GtkDrawingArea // out var _arg1 C.GtkDrawingAreaDrawFunc // out @@ -42346,7 +41449,6 @@ func (self *DrawingArea) SetDrawFunc(drawFunc DrawingAreaDrawFunc) { // // - width // - height -// func (area *DrawingArea) resize(width, height int) { gclass := (*C.GtkDrawingAreaClass)(coreglib.PeekParentClass(area)) fnarg := gclass.resize @@ -42415,7 +41517,6 @@ func (self *DropControllerMotion) ConnectMotion(f func(x, y float64)) coreglib.S // The function returns the following values: // // - dropControllerMotion: new GtkDropControllerMotion. -// func NewDropControllerMotion() *DropControllerMotion { var _cret *C.GtkEventController // in @@ -42434,7 +41535,6 @@ func NewDropControllerMotion() *DropControllerMotion { // The function returns the following values: // // - ok: TRUE if a dragging pointer is within self or one of its children. -// func (self *DropControllerMotion) ContainsPointer() bool { var _arg0 *C.GtkDropControllerMotion // out var _cret C.gboolean // in @@ -42459,7 +41559,6 @@ func (self *DropControllerMotion) ContainsPointer() bool { // The function returns the following values: // // - drop (optional): GdkDrop currently happening within self or NULL if none. -// func (self *DropControllerMotion) Drop() gdk.Dropper { var _arg0 *C.GtkDropControllerMotion // out var _cret *C.GdkDrop // in @@ -42498,7 +41597,6 @@ func (self *DropControllerMotion) Drop() gdk.Dropper { // // - ok: TRUE if a dragging pointer is within self but not one of its // children. -// func (self *DropControllerMotion) IsPointer() bool { var _arg0 *C.GtkDropControllerMotion // out var _cret C.gboolean // in @@ -42614,7 +41712,6 @@ func marshalDropDown(p uintptr) (interface{}, error) { // The function returns the following values: // // - dropDown: new GtkDropDown. -// func NewDropDown(model gio.ListModeller, expression Expressioner) *DropDown { var _arg1 *C.GListModel // out var _arg2 *C.GtkExpression // out @@ -42650,7 +41747,6 @@ func NewDropDown(model gio.ListModeller, expression Expressioner) *DropDown { // The function returns the following values: // // - dropDown: new GtkDropDown. -// func NewDropDownFromStrings(strings []string) *DropDown { var _arg1 **C.char // out var _cret *C.GtkWidget // in @@ -42684,7 +41780,6 @@ func NewDropDownFromStrings(strings []string) *DropDown { // The function returns the following values: // // - ok: TRUE if the popup includes a search entry. -// func (self *DropDown) EnableSearch() bool { var _arg0 *C.GtkDropDown // out var _cret C.gboolean // in @@ -42710,7 +41805,6 @@ func (self *DropDown) EnableSearch() bool { // The function returns the following values: // // - expression (optional): GtkExpression or NULL. -// func (self *DropDown) Expression() Expressioner { var _arg0 *C.GtkDropDown // out var _cret *C.GtkExpression // in @@ -42751,7 +41845,6 @@ func (self *DropDown) Expression() Expressioner { // The function returns the following values: // // - listItemFactory (optional): factory in use. -// func (self *DropDown) Factory() *ListItemFactory { var _arg0 *C.GtkDropDown // out var _cret *C.GtkListItemFactory // in @@ -42776,7 +41869,6 @@ func (self *DropDown) Factory() *ListItemFactory { // The function returns the following values: // // - listItemFactory (optional): factory in use. -// func (self *DropDown) ListFactory() *ListItemFactory { var _arg0 *C.GtkDropDown // out var _cret *C.GtkListItemFactory // in @@ -42800,7 +41892,6 @@ func (self *DropDown) ListFactory() *ListItemFactory { // The function returns the following values: // // - listModel (optional): model in use. -// func (self *DropDown) Model() *gio.ListModel { var _arg0 *C.GtkDropDown // out var _cret *C.GListModel // in @@ -42830,7 +41921,6 @@ func (self *DropDown) Model() *gio.ListModel { // // - guint: position of the selected item, or GTK_INVALID_LIST_POSITION if not // item is selected. -// func (self *DropDown) Selected() uint { var _arg0 *C.GtkDropDown // out var _cret C.guint // in @@ -42853,7 +41943,6 @@ func (self *DropDown) Selected() uint { // The function returns the following values: // // - object (optional): selected item. -// func (self *DropDown) SelectedItem() *coreglib.Object { var _arg0 *C.GtkDropDown // out var _cret C.gpointer // in @@ -42878,7 +41967,6 @@ func (self *DropDown) SelectedItem() *coreglib.Object { // The function takes the following parameters: // // - enableSearch: whether to enable search. -// func (self *DropDown) SetEnableSearch(enableSearch bool) { var _arg0 *C.GtkDropDown // out var _arg1 C.gboolean // out @@ -42902,7 +41990,6 @@ func (self *DropDown) SetEnableSearch(enableSearch bool) { // The function takes the following parameters: // // - expression (optional): GtkExpression, or NULL. -// func (self *DropDown) SetExpression(expression Expressioner) { var _arg0 *C.GtkDropDown // out var _arg1 *C.GtkExpression // out @@ -42922,7 +42009,6 @@ func (self *DropDown) SetExpression(expression Expressioner) { // The function takes the following parameters: // // - factory (optional) to use or NULL for none. -// func (self *DropDown) SetFactory(factory *ListItemFactory) { var _arg0 *C.GtkDropDown // out var _arg1 *C.GtkListItemFactory // out @@ -42943,7 +42029,6 @@ func (self *DropDown) SetFactory(factory *ListItemFactory) { // The function takes the following parameters: // // - factory (optional) to use or NULL for none. -// func (self *DropDown) SetListFactory(factory *ListItemFactory) { var _arg0 *C.GtkDropDown // out var _arg1 *C.GtkListItemFactory // out @@ -42963,7 +42048,6 @@ func (self *DropDown) SetListFactory(factory *ListItemFactory) { // The function takes the following parameters: // // - model (optional) to use or NULL for none. -// func (self *DropDown) SetModel(model gio.ListModeller) { var _arg0 *C.GtkDropDown // out var _arg1 *C.GListModel // out @@ -42983,7 +42067,6 @@ func (self *DropDown) SetModel(model gio.ListModeller) { // The function takes the following parameters: // // - position of the item to select, or GTK_INVALID_LIST_POSITION. -// func (self *DropDown) SetSelected(position uint) { var _arg0 *C.GtkDropDown // out var _arg1 C.guint // out @@ -43004,42 +42087,42 @@ func (self *DropDown) SetSelected(position uint) { // to receive and connect to the gtk.DropTarget::drop signal to receive the // data: // -// static gboolean -// on_drop (GtkDropTarget *target, -// const GValue *value, -// double x, -// double y, -// gpointer data) -// { -// MyWidget *self = data; -// -// // Call the appropriate setter depending on the type of data -// // that we received -// if (G_VALUE_HOLDS (value, G_TYPE_FILE)) -// my_widget_set_file (self, g_value_get_object (value)); -// else if (G_VALUE_HOLDS (value, GDK_TYPE_PIXBUF)) -// my_widget_set_pixbuf (self, g_value_get_object (value)); -// else -// return FALSE; -// -// return TRUE; -// } -// -// static void -// my_widget_init (MyWidget *self) -// { -// GtkDropTarget *target = -// gtk_drop_target_new (G_TYPE_INVALID, GDK_ACTION_COPY); -// -// // This widget accepts two types of drop types: GFile objects -// // and GdkPixbuf objects -// gtk_drop_target_set_gtypes (target, (GTypes [2]) { -// G_TYPE_FILE, -// GDK_TYPE_PIXBUF, -// }, 2); -// -// gtk_widget_add_controller (GTK_WIDGET (self), GTK_EVENT_CONTROLLER (target)); -// } +// static gboolean +// on_drop (GtkDropTarget *target, +// const GValue *value, +// double x, +// double y, +// gpointer data) +// { +// MyWidget *self = data; +// +// // Call the appropriate setter depending on the type of data +// // that we received +// if (G_VALUE_HOLDS (value, G_TYPE_FILE)) +// my_widget_set_file (self, g_value_get_object (value)); +// else if (G_VALUE_HOLDS (value, GDK_TYPE_PIXBUF)) +// my_widget_set_pixbuf (self, g_value_get_object (value)); +// else +// return FALSE; +// +// return TRUE; +// } +// +// static void +// my_widget_init (MyWidget *self) +// { +// GtkDropTarget *target = +// gtk_drop_target_new (G_TYPE_INVALID, GDK_ACTION_COPY); +// +// // This widget accepts two types of drop types: GFile objects +// // and GdkPixbuf objects +// gtk_drop_target_set_gtypes (target, (GTypes [2]) { +// G_TYPE_FILE, +// GDK_TYPE_PIXBUF, +// }, 2); +// +// gtk_widget_add_controller (GTK_WIDGET (self), GTK_EVENT_CONTROLLER (target)); +// } // // GtkDropTarget supports more options, such as: // @@ -43150,7 +42233,6 @@ func (self *DropTarget) ConnectMotion(f func(x, y float64) (dragAction gdk.DragA // The function returns the following values: // // - dropTarget: new GtkDropTarget. -// func NewDropTarget(typ coreglib.Type, actions gdk.DragAction) *DropTarget { var _arg1 C.GType // out var _arg2 C.GdkDragAction // out @@ -43175,7 +42257,6 @@ func NewDropTarget(typ coreglib.Type, actions gdk.DragAction) *DropTarget { // The function returns the following values: // // - dragAction actions that this drop target supports. -// func (self *DropTarget) Actions() gdk.DragAction { var _arg0 *C.GtkDropTarget // out var _cret C.GdkDragAction // in @@ -43199,7 +42280,6 @@ func (self *DropTarget) Actions() gdk.DragAction { // The function returns the following values: // // - drop (optional): current drop. -// func (self *DropTarget) Drop() gdk.Dropper { var _arg0 *C.GtkDropTarget // out var _cret *C.GdkDrop // in @@ -43238,7 +42318,6 @@ func (self *DropTarget) Drop() gdk.Dropper { // The function returns the following values: // // - contentFormats (optional): supported data formats. -// func (self *DropTarget) Formats() *gdk.ContentFormats { var _arg0 *C.GtkDropTarget // out var _cret *C.GdkContentFormats // in @@ -43271,7 +42350,6 @@ func (self *DropTarget) Formats() *gdk.ContentFormats { // // - gTypes (optional): G_TYPE_INVALID-terminated array of types included in // formats or NULL if none. -// func (self *DropTarget) GTypes() []coreglib.Type { var _arg0 *C.GtkDropTarget // out var _cret *C.GType // in @@ -43302,7 +42380,6 @@ func (self *DropTarget) GTypes() []coreglib.Type { // The function returns the following values: // // - ok: TRUE if drop data should be preloaded. -// func (self *DropTarget) Preload() bool { var _arg0 *C.GtkDropTarget // out var _cret C.gboolean // in @@ -43326,7 +42403,6 @@ func (self *DropTarget) Preload() bool { // The function returns the following values: // // - value (optional): current drop data. -// func (self *DropTarget) Value() *coreglib.Value { var _arg0 *C.GtkDropTarget // out var _cret *C.GValue // in @@ -43366,7 +42442,6 @@ func (self *DropTarget) Reject() { // The function takes the following parameters: // // - actions: supported actions. -// func (self *DropTarget) SetActions(actions gdk.DragAction) { var _arg0 *C.GtkDropTarget // out var _arg1 C.GdkDragAction // out @@ -43384,7 +42459,6 @@ func (self *DropTarget) SetActions(actions gdk.DragAction) { // The function takes the following parameters: // // - types (optional): all supported #GTypes that can be dropped. -// func (self *DropTarget) SetGTypes(types []coreglib.Type) { var _arg0 *C.GtkDropTarget // out var _arg1 *C.GType // out @@ -43411,7 +42485,6 @@ func (self *DropTarget) SetGTypes(types []coreglib.Type) { // The function takes the following parameters: // // - preload: TRUE to preload drop data. -// func (self *DropTarget) SetPreload(preload bool) { var _arg0 *C.GtkDropTarget // out var _arg1 C.gboolean // out @@ -43548,7 +42621,6 @@ func (self *DropTargetAsync) ConnectDrop(f func(drop gdk.Dropper, x, y float64) // The function returns the following values: // // - dropTargetAsync: new GtkDropTargetAsync. -// func NewDropTargetAsync(formats *gdk.ContentFormats, actions gdk.DragAction) *DropTargetAsync { var _arg1 *C.GdkContentFormats // out var _arg2 C.GdkDragAction // out @@ -43575,7 +42647,6 @@ func NewDropTargetAsync(formats *gdk.ContentFormats, actions gdk.DragAction) *Dr // The function returns the following values: // // - dragAction actions that this drop target supports. -// func (self *DropTargetAsync) Actions() gdk.DragAction { var _arg0 *C.GtkDropTargetAsync // out var _cret C.GdkDragAction // in @@ -43599,7 +42670,6 @@ func (self *DropTargetAsync) Actions() gdk.DragAction { // The function returns the following values: // // - contentFormats (optional): supported data formats. -// func (self *DropTargetAsync) Formats() *gdk.ContentFormats { var _arg0 *C.GtkDropTargetAsync // out var _cret *C.GdkContentFormats // in @@ -43632,7 +42702,6 @@ func (self *DropTargetAsync) Formats() *gdk.ContentFormats { // The function takes the following parameters: // // - drop of an ongoing drag operation. -// func (self *DropTargetAsync) RejectDrop(drop gdk.Dropper) { var _arg0 *C.GtkDropTargetAsync // out var _arg1 *C.GdkDrop // out @@ -43650,7 +42719,6 @@ func (self *DropTargetAsync) RejectDrop(drop gdk.Dropper) { // The function takes the following parameters: // // - actions: supported actions. -// func (self *DropTargetAsync) SetActions(actions gdk.DragAction) { var _arg0 *C.GtkDropTargetAsync // out var _arg1 C.GdkDragAction // out @@ -43668,7 +42736,6 @@ func (self *DropTargetAsync) SetActions(actions gdk.DragAction) { // The function takes the following parameters: // // - formats (optional): supported data formats or NULL for any format. -// func (self *DropTargetAsync) SetFormats(formats *gdk.ContentFormats) { var _arg0 *C.GtkDropTargetAsync // out var _arg1 *C.GdkContentFormats // out @@ -43705,10 +42772,10 @@ func defaultEditableLabelOverrides(v *EditableLabel) EditableLabelOverrides { // // CSS nodes // -// editablelabel[.editing] -// ╰── stack -// ├── label -// ╰── text +// editablelabel[.editing] +// ╰── stack +// ├── label +// ╰── text // // GtkEditableLabel has a main node with the name editablelabel. When the entry // is in editing mode, it gets the .editing style class. @@ -43795,7 +42862,6 @@ func marshalEditableLabel(p uintptr) (interface{}, error) { // The function returns the following values: // // - editableLabel: new GtkEditableLabel. -// func NewEditableLabel(str string) *EditableLabel { var _arg1 *C.char // out var _cret *C.GtkWidget // in @@ -43818,7 +42884,6 @@ func NewEditableLabel(str string) *EditableLabel { // The function returns the following values: // // - ok: TRUE if self is currently in editing mode. -// func (self *EditableLabel) Editing() bool { var _arg0 *C.GtkEditableLabel // out var _cret C.gboolean // in @@ -43856,7 +42921,6 @@ func (self *EditableLabel) StartEditing() { // The function takes the following parameters: // // - commit: whether to set the edited text on the label. -// func (self *EditableLabel) StopEditing(commit bool) { var _arg0 *C.GtkEditableLabel // out var _arg1 C.gboolean // out @@ -43881,13 +42945,13 @@ func (self *EditableLabel) StopEditing(commit bool) { // // CSS nodes // -// popover -// ├── box.emoji-searchbar -// │ ╰── entry.search -// ╰── box.emoji-toolbar -// ├── button.image-button.emoji-section -// ├── ... -// ╰── button.image-button.emoji-section +// popover +// ├── box.emoji-searchbar +// │ ╰── entry.search +// ╰── box.emoji-toolbar +// ├── button.image-button.emoji-section +// ├── ... +// ╰── button.image-button.emoji-section // // Every GtkEmojiChooser consists of a main node called popover. The // contents of the popover are largely implementation defined and supposed @@ -43962,7 +43026,6 @@ func (v *EmojiChooser) ConnectEmojiPicked(f func(text string)) coreglib.SignalHa // The function returns the following values: // // - emojiChooser: new GtkEmojiChooser. -// func NewEmojiChooser() *EmojiChooser { var _cret *C.GtkWidget // in @@ -44021,11 +43084,11 @@ func defaultEntryOverrides(v *Entry) EntryOverrides { // // CSS nodes // -// entry[.flat][.warning][.error] -// ├── text[.readonly] -// ├── image.left -// ├── image.right -// ╰── [progress[.pulse]] +// entry[.flat][.warning][.error] +// ├── text[.readonly] +// ├── image.left +// ├── image.right +// ╰── [progress[.pulse]] // // GtkEntry has a main node with the name entry. Depending on the properties // of the entry, the style classes .read-only and .flat may appear. The style @@ -44049,12 +43112,12 @@ func defaultEntryOverrides(v *Entry) EntryOverrides { // // An example of a UI definition fragment specifying Pango attributes: // -// -// -// -// -// -// +// +// +// +// +// +// // // The start and end attributes specify the range of characters to which the // Pango attribute applies. If start and end are not specified, the attribute @@ -44199,7 +43262,6 @@ func (entry *Entry) ConnectIconRelease(f func(iconPos EntryIconPosition)) coregl // The function returns the following values: // // - entry: new GtkEntry. -// func NewEntry() *Entry { var _cret *C.GtkWidget // in @@ -44221,7 +43283,6 @@ func NewEntry() *Entry { // The function returns the following values: // // - entry: new GtkEntry. -// func NewEntryWithBuffer(buffer *EntryBuffer) *Entry { var _arg1 *C.GtkEntryBuffer // out var _cret *C.GtkWidget // in @@ -44244,7 +43305,6 @@ func NewEntryWithBuffer(buffer *EntryBuffer) *Entry { // The function returns the following values: // // - ok: TRUE if the entry will activate the default widget. -// func (entry *Entry) ActivatesDefault() bool { var _arg0 *C.GtkEntry // out var _cret C.gboolean // in @@ -44270,7 +43330,6 @@ func (entry *Entry) ActivatesDefault() bool { // The function returns the following values: // // - gfloat: alignment. -// func (entry *Entry) Alignment() float32 { var _arg0 *C.GtkEntry // out var _cret C.float // in @@ -44294,7 +43353,6 @@ func (entry *Entry) Alignment() float32 { // The function returns the following values: // // - attrList (optional): attribute list, or NULL if none was set. -// func (entry *Entry) Attributes() *pango.AttrList { var _arg0 *C.GtkEntry // out var _cret *C.PangoAttrList // in @@ -44325,7 +43383,6 @@ func (entry *Entry) Attributes() *pango.AttrList { // The function returns the following values: // // - entryBuffer: GtkEntryBuffer object. -// func (entry *Entry) Buffer() *EntryBuffer { var _arg0 *C.GtkEntry // out var _cret *C.GtkEntryBuffer // in @@ -44348,7 +43405,6 @@ func (entry *Entry) Buffer() *EntryBuffer { // // - entryCompletion (optional): auxiliary completion object currently in use // by entry. -// func (entry *Entry) Completion() *EntryCompletion { var _arg0 *C.GtkEntry // out var _cret *C.GtkEntryCompletion // in @@ -44374,7 +43430,6 @@ func (entry *Entry) Completion() *EntryCompletion { // // - gint: index of the icon which is the source of the current DND operation, // or -1. -// func (entry *Entry) CurrentIconDragSource() int { var _arg0 *C.GtkEntry // out var _cret C.int // in @@ -44396,7 +43451,6 @@ func (entry *Entry) CurrentIconDragSource() int { // The function returns the following values: // // - menuModel (optional): menu model. -// func (entry *Entry) ExtraMenu() gio.MenuModeller { var _arg0 *C.GtkEntry // out var _cret *C.GMenuModel // in @@ -44433,7 +43487,6 @@ func (entry *Entry) ExtraMenu() gio.MenuModeller { // The function returns the following values: // // - ok: whether the entry has a beveled frame. -// func (entry *Entry) HasFrame() bool { var _arg0 *C.GtkEntry // out var _cret C.gboolean // in @@ -44461,7 +43514,6 @@ func (entry *Entry) HasFrame() bool { // The function returns the following values: // // - ok: TRUE if the icon is activatable. -// func (entry *Entry) IconActivatable(iconPos EntryIconPosition) bool { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -44499,7 +43551,6 @@ func (entry *Entry) IconActivatable(iconPos EntryIconPosition) bool { // The function returns the following values: // // - iconArea: return location for the icon’s area. -// func (entry *Entry) IconArea(iconPos EntryIconPosition) *gdk.Rectangle { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -44533,7 +43584,6 @@ func (entry *Entry) IconArea(iconPos EntryIconPosition) *gdk.Rectangle { // The function returns the following values: // // - gint: index of the icon at the given position, or -1. -// func (entry *Entry) IconAtPos(x, y int) int { var _arg0 *C.GtkEntry // out var _arg1 C.int // out @@ -44569,7 +43619,6 @@ func (entry *Entry) IconAtPos(x, y int) int { // // - icon (optional): GIcon, or NULL if no icon is set or if the icon is not a // GIcon. -// func (entry *Entry) IconGIcon(iconPos EntryIconPosition) *gio.Icon { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -44609,7 +43658,6 @@ func (entry *Entry) IconGIcon(iconPos EntryIconPosition) *gio.Icon { // // - utf8 (optional): icon name, or NULL if no icon is set or if the icon // wasn’t set from an icon name. -// func (entry *Entry) IconName(iconPos EntryIconPosition) string { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -44643,7 +43691,6 @@ func (entry *Entry) IconName(iconPos EntryIconPosition) string { // // - paintable (optional): GdkPaintable, or NULL if no icon is set for this // position or the icon set is not a GdkPaintable. -// func (entry *Entry) IconPaintable(iconPos EntryIconPosition) *gdk.Paintable { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -44679,7 +43726,6 @@ func (entry *Entry) IconPaintable(iconPos EntryIconPosition) *gdk.Paintable { // The function returns the following values: // // - ok: TRUE if the icon is sensitive. -// func (entry *Entry) IconSensitive(iconPos EntryIconPosition) bool { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -44713,7 +43759,6 @@ func (entry *Entry) IconSensitive(iconPos EntryIconPosition) bool { // The function returns the following values: // // - imageType: image representation being used. -// func (entry *Entry) IconStorageType(iconPos EntryIconPosition) ImageType { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -44744,7 +43789,6 @@ func (entry *Entry) IconStorageType(iconPos EntryIconPosition) ImageType { // // - utf8 (optional): tooltip text, or NULL. Free the returned string with // g_free() when done. -// func (entry *Entry) IconTooltipMarkup(iconPos EntryIconPosition) string { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -44778,7 +43822,6 @@ func (entry *Entry) IconTooltipMarkup(iconPos EntryIconPosition) string { // // - utf8 (optional): tooltip text, or NULL. Free the returned string with // g_free() when done. -// func (entry *Entry) IconTooltipText(iconPos EntryIconPosition) string { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -44806,7 +43849,6 @@ func (entry *Entry) IconTooltipText(iconPos EntryIconPosition) string { // The function returns the following values: // // - inputHints: input hints. -// func (entry *Entry) InputHints() InputHints { var _arg0 *C.GtkEntry // out var _cret C.GtkInputHints // in @@ -44828,7 +43870,6 @@ func (entry *Entry) InputHints() InputHints { // The function returns the following values: // // - inputPurpose: input purpose. -// func (entry *Entry) InputPurpose() InputPurpose { var _arg0 *C.GtkEntry // out var _cret C.GtkInputPurpose // in @@ -44852,7 +43893,6 @@ func (entry *Entry) InputPurpose() InputPurpose { // // - gunichar: current invisible char, or 0, if the entry does not show // invisible text at all. -// func (entry *Entry) InvisibleChar() uint32 { var _arg0 *C.GtkEntry // out var _cret C.gunichar // in @@ -44877,7 +43917,6 @@ func (entry *Entry) InvisibleChar() uint32 { // // - gint: maximum allowed number of characters in GtkEntry, or 0 if there is // no maximum. -// func (entry *Entry) MaxLength() int { var _arg0 *C.GtkEntry // out var _cret C.int // in @@ -44899,7 +43938,6 @@ func (entry *Entry) MaxLength() int { // The function returns the following values: // // - ok: whether the text is overwritten when typing. -// func (entry *Entry) OverwriteMode() bool { var _arg0 *C.GtkEntry // out var _cret C.gboolean // in @@ -44927,7 +43965,6 @@ func (entry *Entry) OverwriteMode() bool { // string points to internally allocated storage in the widget and must // not be freed, modified or stored. If no placeholder text has been set, // NULL will be returned. -// func (entry *Entry) PlaceholderText() string { var _arg0 *C.GtkEntry // out var _cret *C.char // in @@ -44954,7 +43991,6 @@ func (entry *Entry) PlaceholderText() string { // The function returns the following values: // // - gdouble: fraction from 0.0 to 1.0. -// func (entry *Entry) ProgressFraction() float64 { var _arg0 *C.GtkEntry // out var _cret C.double // in @@ -44977,7 +44013,6 @@ func (entry *Entry) ProgressFraction() float64 { // The function returns the following values: // // - gdouble: fraction from 0.0 to 1.0. -// func (entry *Entry) ProgressPulseStep() float64 { var _arg0 *C.GtkEntry // out var _cret C.double // in @@ -45001,7 +44036,6 @@ func (entry *Entry) ProgressPulseStep() float64 { // The function returns the following values: // // - tabArray (optional): tabstops, or NULL if none was set. -// func (entry *Entry) Tabs() *pango.TabArray { var _arg0 *C.GtkEntry // out var _cret *C.PangoTabArray // in @@ -45029,7 +44063,6 @@ func (entry *Entry) Tabs() *pango.TabArray { // // - guint16: current number of characters in GtkEntry, or 0 if there are // none. -// func (entry *Entry) TextLength() uint16 { var _arg0 *C.GtkEntry // out var _cret C.guint16 // in @@ -45053,7 +44086,6 @@ func (entry *Entry) TextLength() uint16 { // The function returns the following values: // // - ok: TRUE if the text is currently visible. -// func (entry *Entry) Visibility() bool { var _arg0 *C.GtkEntry // out var _cret C.gboolean // in @@ -45082,7 +44114,6 @@ func (entry *Entry) Visibility() bool { // The function returns the following values: // // - ok: TRUE if focus is now inside self. -// func (entry *Entry) GrabFocusWithoutSelecting() bool { var _arg0 *C.GtkEntry // out var _cret C.gboolean // in @@ -45139,7 +44170,6 @@ func (entry *Entry) ResetIMContext() { // The function takes the following parameters: // // - setting: TRUE to activate window’s default widget on Enter keypress. -// func (entry *Entry) SetActivatesDefault(setting bool) { var _arg0 *C.GtkEntry // out var _arg1 C.gboolean // out @@ -45165,7 +44195,6 @@ func (entry *Entry) SetActivatesDefault(setting bool) { // // - xalign: horizontal alignment, from 0 (left) to 1 (right). Reversed for // RTL layouts. -// func (entry *Entry) SetAlignment(xalign float32) { var _arg0 *C.GtkEntry // out var _arg1 C.float // out @@ -45188,7 +44217,6 @@ func (entry *Entry) SetAlignment(xalign float32) { // The function takes the following parameters: // // - attrs: PangoAttrList. -// func (entry *Entry) SetAttributes(attrs *pango.AttrList) { var _arg0 *C.GtkEntry // out var _arg1 *C.PangoAttrList // out @@ -45207,7 +44235,6 @@ func (entry *Entry) SetAttributes(attrs *pango.AttrList) { // The function takes the following parameters: // // - buffer: GtkEntryBuffer. -// func (entry *Entry) SetBuffer(buffer *EntryBuffer) { var _arg0 *C.GtkEntry // out var _arg1 *C.GtkEntryBuffer // out @@ -45230,7 +44257,6 @@ func (entry *Entry) SetBuffer(buffer *EntryBuffer) { // The function takes the following parameters: // // - completion (optional): GtkEntryCompletion or NULL. -// func (entry *Entry) SetCompletion(completion *EntryCompletion) { var _arg0 *C.GtkEntry // out var _arg1 *C.GtkEntryCompletion // out @@ -45251,7 +44277,6 @@ func (entry *Entry) SetCompletion(completion *EntryCompletion) { // The function takes the following parameters: // // - model (optional): GMenuModel. -// func (entry *Entry) SetExtraMenu(model gio.MenuModeller) { var _arg0 *C.GtkEntry // out var _arg1 *C.GMenuModel // out @@ -45271,7 +44296,6 @@ func (entry *Entry) SetExtraMenu(model gio.MenuModeller) { // The function takes the following parameters: // // - setting: new value. -// func (entry *Entry) SetHasFrame(setting bool) { var _arg0 *C.GtkEntry // out var _arg1 C.gboolean // out @@ -45292,7 +44316,6 @@ func (entry *Entry) SetHasFrame(setting bool) { // // - iconPos: icon position. // - activatable: TRUE if the icon should be activatable. -// func (entry *Entry) SetIconActivatable(iconPos EntryIconPosition, activatable bool) { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -45320,7 +44343,6 @@ func (entry *Entry) SetIconActivatable(iconPos EntryIconPosition, activatable bo // - iconPos: icon position. // - provider: ContentProvider. // - actions: bitmask of the allowed drag actions. -// func (entry *Entry) SetIconDragSource(iconPos EntryIconPosition, provider *gdk.ContentProvider, actions gdk.DragAction) { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -45350,7 +44372,6 @@ func (entry *Entry) SetIconDragSource(iconPos EntryIconPosition, provider *gdk.C // // - iconPos: position at which to set the icon. // - icon (optional) to set, or NULL. -// func (entry *Entry) SetIconFromGIcon(iconPos EntryIconPosition, icon gio.Iconner) { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -45380,7 +44401,6 @@ func (entry *Entry) SetIconFromGIcon(iconPos EntryIconPosition, icon gio.Iconner // // - iconPos: position at which to set the icon. // - iconName (optional): icon name, or NULL. -// func (entry *Entry) SetIconFromIconName(iconPos EntryIconPosition, iconName string) { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -45408,7 +44428,6 @@ func (entry *Entry) SetIconFromIconName(iconPos EntryIconPosition, iconName stri // // - iconPos: icon position. // - paintable (optional): GdkPaintable, or NULL. -// func (entry *Entry) SetIconFromPaintable(iconPos EntryIconPosition, paintable gdk.Paintabler) { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -45433,7 +44452,6 @@ func (entry *Entry) SetIconFromPaintable(iconPos EntryIconPosition, paintable gd // - iconPos: icon position. // - sensitive specifies whether the icon should appear sensitive or // insensitive. -// func (entry *Entry) SetIconSensitive(iconPos EntryIconPosition, sensitive bool) { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -45464,7 +44482,6 @@ func (entry *Entry) SetIconSensitive(iconPos EntryIconPosition, sensitive bool) // // - iconPos: icon position. // - tooltip (optional) contents of the tooltip for the icon, or NULL. -// func (entry *Entry) SetIconTooltipMarkup(iconPos EntryIconPosition, tooltip string) { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -45500,7 +44517,6 @@ func (entry *Entry) SetIconTooltipMarkup(iconPos EntryIconPosition, tooltip stri // // - iconPos: icon position. // - tooltip (optional) contents of the tooltip for the icon, or NULL. -// func (entry *Entry) SetIconTooltipText(iconPos EntryIconPosition, tooltip string) { var _arg0 *C.GtkEntry // out var _arg1 C.GtkEntryIconPosition // out @@ -45525,7 +44541,6 @@ func (entry *Entry) SetIconTooltipText(iconPos EntryIconPosition, tooltip string // The function takes the following parameters: // // - hints: hints. -// func (entry *Entry) SetInputHints(hints InputHints) { var _arg0 *C.GtkEntry // out var _arg1 C.GtkInputHints // out @@ -45544,7 +44559,6 @@ func (entry *Entry) SetInputHints(hints InputHints) { // The function takes the following parameters: // // - purpose: purpose. -// func (entry *Entry) SetInputPurpose(purpose InputPurpose) { var _arg0 *C.GtkEntry // out var _arg1 C.GtkInputPurpose // out @@ -45569,7 +44583,6 @@ func (entry *Entry) SetInputPurpose(purpose InputPurpose) { // The function takes the following parameters: // // - ch: unicode character. -// func (entry *Entry) SetInvisibleChar(ch uint32) { var _arg0 *C.GtkEntry // out var _arg1 C.gunichar // out @@ -45595,7 +44608,6 @@ func (entry *Entry) SetInvisibleChar(ch uint32) { // - max: maximum length of the entry, or 0 for no maximum. (other than the // maximum length of entries.) The value passed in will be clamped to the // range 0-65536. -// func (entry *Entry) SetMaxLength(max int) { var _arg0 *C.GtkEntry // out var _arg1 C.int // out @@ -45614,7 +44626,6 @@ func (entry *Entry) SetMaxLength(max int) { // The function takes the following parameters: // // - overwrite: new value. -// func (entry *Entry) SetOverwriteMode(overwrite bool) { var _arg0 *C.GtkEntry // out var _arg1 C.gboolean // out @@ -45638,7 +44649,6 @@ func (entry *Entry) SetOverwriteMode(overwrite bool) { // // - text (optional): string to be displayed when entry is empty and // unfocused, or NULL. -// func (entry *Entry) SetPlaceholderText(text string) { var _arg0 *C.GtkEntry // out var _arg1 *C.char // out @@ -45662,7 +44672,6 @@ func (entry *Entry) SetPlaceholderText(text string) { // The function takes the following parameters: // // - fraction of the task that’s been completed. -// func (entry *Entry) SetProgressFraction(fraction float64) { var _arg0 *C.GtkEntry // out var _arg1 C.double // out @@ -45683,7 +44692,6 @@ func (entry *Entry) SetProgressFraction(fraction float64) { // The function takes the following parameters: // // - fraction between 0.0 and 1.0. -// func (entry *Entry) SetProgressPulseStep(fraction float64) { var _arg0 *C.GtkEntry // out var _arg1 C.double // out @@ -45703,7 +44711,6 @@ func (entry *Entry) SetProgressPulseStep(fraction float64) { // The function takes the following parameters: // // - tabs (optional): PangoTabArray. -// func (entry *Entry) SetTabs(tabs *pango.TabArray) { var _arg0 *C.GtkEntry // out var _arg1 *C.PangoTabArray // out @@ -45734,7 +44741,6 @@ func (entry *Entry) SetTabs(tabs *pango.TabArray) { // The function takes the following parameters: // // - visible: TRUE if the contents of the entry are displayed as plaintext. -// func (entry *Entry) SetVisibility(visible bool) { var _arg0 *C.GtkEntry // out var _arg1 C.gboolean // out @@ -45792,20 +44798,17 @@ type EntryBufferOverrides struct { // The function returns the following values: // // - guint: number of characters deleted. - // DeleteText func(position, nChars uint) uint // The function takes the following parameters: // // - position // - nChars - // DeletedText func(position, nChars uint) // Length retrieves the length in characters of the buffer. // // The function returns the following values: // // - guint: number of characters in the buffer. - // Length func() uint Text func(nBytes *uint) string // InsertText inserts n_chars characters of chars into the contents of the @@ -45827,14 +44830,12 @@ type EntryBufferOverrides struct { // The function returns the following values: // // - guint: number of characters actually inserted. - // InsertText func(position uint, chars string, nChars uint) uint // The function takes the following parameters: // // - position // - chars // - nChars - // InsertedText func(position uint, chars string, nChars uint) } @@ -45946,7 +44947,6 @@ func (buffer *EntryBuffer) ConnectInsertedText(f func(position uint, chars strin // The function returns the following values: // // - entryBuffer: new GtkEntryBuffer object. -// func NewEntryBuffer(initialChars string, nInitialChars int) *EntryBuffer { var _arg1 *C.char // out var _arg2 C.int // out @@ -45987,7 +44987,6 @@ func NewEntryBuffer(initialChars string, nInitialChars int) *EntryBuffer { // The function returns the following values: // // - guint: number of characters deleted. -// func (buffer *EntryBuffer) DeleteText(position uint, nChars int) uint { var _arg0 *C.GtkEntryBuffer // out var _arg1 C.guint // out @@ -46016,7 +45015,6 @@ func (buffer *EntryBuffer) DeleteText(position uint, nChars int) uint { // // - position at which text was deleted. // - nChars: number of characters deleted. -// func (buffer *EntryBuffer) EmitDeletedText(position, nChars uint) { var _arg0 *C.GtkEntryBuffer // out var _arg1 C.guint // out @@ -46039,7 +45037,6 @@ func (buffer *EntryBuffer) EmitDeletedText(position, nChars uint) { // - position at which text was inserted. // - chars: text that was inserted. // - nChars: number of characters inserted. -// func (buffer *EntryBuffer) EmitInsertedText(position uint, chars string, nChars uint) { var _arg0 *C.GtkEntryBuffer // out var _arg1 C.guint // out @@ -46066,7 +45063,6 @@ func (buffer *EntryBuffer) EmitInsertedText(position uint, chars string, nChars // The function returns the following values: // // - gsize: byte length of the buffer. -// func (buffer *EntryBuffer) Bytes() uint { var _arg0 *C.GtkEntryBuffer // out var _cret C.gsize // in @@ -46088,7 +45084,6 @@ func (buffer *EntryBuffer) Bytes() uint { // The function returns the following values: // // - guint: number of characters in the buffer. -// func (buffer *EntryBuffer) Length() uint { var _arg0 *C.GtkEntryBuffer // out var _cret C.guint // in @@ -46111,7 +45106,6 @@ func (buffer *EntryBuffer) Length() uint { // // - gint: maximum allowed number of characters in EntryBuffer, or 0 if there // is no maximum. -// func (buffer *EntryBuffer) MaxLength() int { var _arg0 *C.GtkEntryBuffer // out var _cret C.int // in @@ -46138,7 +45132,6 @@ func (buffer *EntryBuffer) MaxLength() int { // - utf8: pointer to the contents of the widget as a string. This string // points to internally allocated storage in the buffer and must not be // freed, modified or stored. -// func (buffer *EntryBuffer) Text() string { var _arg0 *C.GtkEntryBuffer // out var _cret *C.char // in @@ -46173,7 +45166,6 @@ func (buffer *EntryBuffer) Text() string { // The function returns the following values: // // - guint: number of characters actually inserted. -// func (buffer *EntryBuffer) InsertText(position uint, chars string, nChars int) uint { var _arg0 *C.GtkEntryBuffer // out var _arg1 C.guint // out @@ -46210,7 +45202,6 @@ func (buffer *EntryBuffer) InsertText(position uint, chars string, nChars int) u // - maxLength: maximum length of the entry buffer, or 0 for no maximum. // (other than the maximum length of entries.) The value passed in will be // clamped to the range 0-65536. -// func (buffer *EntryBuffer) SetMaxLength(maxLength int) { var _arg0 *C.GtkEntryBuffer // out var _arg1 C.int // out @@ -46234,7 +45225,6 @@ func (buffer *EntryBuffer) SetMaxLength(maxLength int) { // // - chars: new text. // - nChars: number of characters in text, or -1. -// func (buffer *EntryBuffer) SetText(chars string, nChars int) { var _arg0 *C.GtkEntryBuffer // out var _arg1 *C.char // out @@ -46269,7 +45259,6 @@ func (buffer *EntryBuffer) SetText(chars string, nChars int) { // The function returns the following values: // // - guint: number of characters deleted. -// func (buffer *EntryBuffer) deleteText(position, nChars uint) uint { gclass := (*C.GtkEntryBufferClass)(coreglib.PeekParentClass(buffer)) fnarg := gclass.delete_text @@ -46299,7 +45288,6 @@ func (buffer *EntryBuffer) deleteText(position, nChars uint) uint { // // - position // - nChars -// func (buffer *EntryBuffer) deletedText(position, nChars uint) { gclass := (*C.GtkEntryBufferClass)(coreglib.PeekParentClass(buffer)) fnarg := gclass.deleted_text @@ -46323,7 +45311,6 @@ func (buffer *EntryBuffer) deletedText(position, nChars uint) { // The function returns the following values: // // - guint: number of characters in the buffer. -// func (buffer *EntryBuffer) length() uint { gclass := (*C.GtkEntryBufferClass)(coreglib.PeekParentClass(buffer)) fnarg := gclass.get_length @@ -46383,7 +45370,6 @@ func (buffer *EntryBuffer) text(nBytes *uint) string { // The function returns the following values: // // - guint: number of characters actually inserted. -// func (buffer *EntryBuffer) insertText(position uint, chars string, nChars uint) uint { gclass := (*C.GtkEntryBufferClass)(coreglib.PeekParentClass(buffer)) fnarg := gclass.insert_text @@ -46418,7 +45404,6 @@ func (buffer *EntryBuffer) insertText(position uint, chars string, nChars uint) // - position // - chars // - nChars -// func (buffer *EntryBuffer) insertedText(position uint, chars string, nChars uint) { gclass := (*C.GtkEntryBufferClass)(coreglib.PeekParentClass(buffer)) fnarg := gclass.inserted_text @@ -46551,7 +45536,6 @@ func (completion *EntryCompletion) ConnectNoMatches(f func()) coreglib.SignalHan // The function returns the following values: // // - entryCompletion: newly created GtkEntryCompletion object. -// func NewEntryCompletion() *EntryCompletion { var _cret *C.GtkEntryCompletion // in @@ -46577,7 +45561,6 @@ func NewEntryCompletion() *EntryCompletion { // The function returns the following values: // // - entryCompletion: newly created GtkEntryCompletion object. -// func NewEntryCompletionWithArea(area CellAreaer) *EntryCompletion { var _arg1 *C.GtkCellArea // out var _cret *C.GtkEntryCompletion // in @@ -46622,7 +45605,6 @@ func (completion *EntryCompletion) Complete() { // // - utf8 (optional): common prefix all rows starting with key or NULL if no // row matches key. -// func (completion *EntryCompletion) ComputePrefix(key string) string { var _arg0 *C.GtkEntryCompletion // out var _arg1 *C.char // out @@ -46652,7 +45634,6 @@ func (completion *EntryCompletion) ComputePrefix(key string) string { // The function returns the following values: // // - utf8 (optional): prefix for the current completion. -// func (completion *EntryCompletion) CompletionPrefix() string { var _arg0 *C.GtkEntryCompletion // out var _cret *C.char // in @@ -46676,7 +45657,6 @@ func (completion *EntryCompletion) CompletionPrefix() string { // The function returns the following values: // // - widget: entry completion has been attached to. -// func (completion *EntryCompletion) Entry() Widgetter { var _arg0 *C.GtkEntryCompletion // out var _cret *C.GtkWidget // in @@ -46715,7 +45695,6 @@ func (completion *EntryCompletion) Entry() Widgetter { // The function returns the following values: // // - ok: TRUE if inline completion is turned on. -// func (completion *EntryCompletion) InlineCompletion() bool { var _arg0 *C.GtkEntryCompletion // out var _cret C.gboolean // in @@ -46739,7 +45718,6 @@ func (completion *EntryCompletion) InlineCompletion() bool { // The function returns the following values: // // - ok: TRUE if inline-selection mode is on. -// func (completion *EntryCompletion) InlineSelection() bool { var _arg0 *C.GtkEntryCompletion // out var _cret C.gboolean // in @@ -46763,7 +45741,6 @@ func (completion *EntryCompletion) InlineSelection() bool { // The function returns the following values: // // - gint: currently used minimum key length. -// func (completion *EntryCompletion) MinimumKeyLength() int { var _arg0 *C.GtkEntryCompletion // out var _cret C.int // in @@ -46787,7 +45764,6 @@ func (completion *EntryCompletion) MinimumKeyLength() int { // The function returns the following values: // // - treeModel (optional) or NULL if none is currently being used. -// func (completion *EntryCompletion) Model() *TreeModel { var _arg0 *C.GtkEntryCompletion // out var _cret *C.GtkTreeModel // in @@ -46812,7 +45788,6 @@ func (completion *EntryCompletion) Model() *TreeModel { // The function returns the following values: // // - ok: TRUE if popup completion is turned on. -// func (completion *EntryCompletion) PopupCompletion() bool { var _arg0 *C.GtkEntryCompletion // out var _cret C.gboolean // in @@ -46837,7 +45812,6 @@ func (completion *EntryCompletion) PopupCompletion() bool { // The function returns the following values: // // - ok: TRUE if the popup window will be resized to the width of the entry. -// func (completion *EntryCompletion) PopupSetWidth() bool { var _arg0 *C.GtkEntryCompletion // out var _cret C.gboolean // in @@ -46863,7 +45837,6 @@ func (completion *EntryCompletion) PopupSetWidth() bool { // // - ok: TRUE if the popup window will appear regardless of the number of // matches. -// func (completion *EntryCompletion) PopupSingleMatch() bool { var _arg0 *C.GtkEntryCompletion // out var _cret C.gboolean // in @@ -46887,7 +45860,6 @@ func (completion *EntryCompletion) PopupSingleMatch() bool { // The function returns the following values: // // - gint: column containing the strings. -// func (completion *EntryCompletion) TextColumn() int { var _arg0 *C.GtkEntryCompletion // out var _cret C.int // in @@ -46920,7 +45892,6 @@ func (completion *EntryCompletion) InsertPrefix() { // The function takes the following parameters: // // - inlineCompletion: TRUE to do inline completion. -// func (completion *EntryCompletion) SetInlineCompletion(inlineCompletion bool) { var _arg0 *C.GtkEntryCompletion // out var _arg1 C.gboolean // out @@ -46941,7 +45912,6 @@ func (completion *EntryCompletion) SetInlineCompletion(inlineCompletion bool) { // The function takes the following parameters: // // - inlineSelection: TRUE to do inline selection. -// func (completion *EntryCompletion) SetInlineSelection(inlineSelection bool) { var _arg0 *C.GtkEntryCompletion // out var _arg1 C.gboolean // out @@ -46964,7 +45934,6 @@ func (completion *EntryCompletion) SetInlineSelection(inlineSelection bool) { // The function takes the following parameters: // // - fn: GtkEntryCompletionMatchFunc to use. -// func (completion *EntryCompletion) SetMatchFunc(fn EntryCompletionMatchFunc) { var _arg0 *C.GtkEntryCompletion // out var _arg1 C.GtkEntryCompletionMatchFunc // out @@ -46991,7 +45960,6 @@ func (completion *EntryCompletion) SetMatchFunc(fn EntryCompletionMatchFunc) { // The function takes the following parameters: // // - length: minimum length of the key in order to start completing. -// func (completion *EntryCompletion) SetMinimumKeyLength(length int) { var _arg0 *C.GtkEntryCompletion // out var _arg1 C.int // out @@ -47012,7 +45980,6 @@ func (completion *EntryCompletion) SetMinimumKeyLength(length int) { // The function takes the following parameters: // // - model (optional): GtkTreeModel. -// func (completion *EntryCompletion) SetModel(model TreeModeller) { var _arg0 *C.GtkEntryCompletion // out var _arg1 *C.GtkTreeModel // out @@ -47033,7 +46000,6 @@ func (completion *EntryCompletion) SetModel(model TreeModeller) { // The function takes the following parameters: // // - popupCompletion: TRUE to do popup completion. -// func (completion *EntryCompletion) SetPopupCompletion(popupCompletion bool) { var _arg0 *C.GtkEntryCompletion // out var _arg1 C.gboolean // out @@ -47054,7 +46020,6 @@ func (completion *EntryCompletion) SetPopupCompletion(popupCompletion bool) { // The function takes the following parameters: // // - popupSetWidth: TRUE to make the width of the popup the same as the entry. -// func (completion *EntryCompletion) SetPopupSetWidth(popupSetWidth bool) { var _arg0 *C.GtkEntryCompletion // out var _arg1 C.gboolean // out @@ -47079,7 +46044,6 @@ func (completion *EntryCompletion) SetPopupSetWidth(popupSetWidth bool) { // // - popupSingleMatch: TRUE if the popup should appear even for a single // match. -// func (completion *EntryCompletion) SetPopupSingleMatch(popupSingleMatch bool) { var _arg0 *C.GtkEntryCompletion // out var _arg1 C.gboolean // out @@ -47109,7 +46073,6 @@ func (completion *EntryCompletion) SetPopupSingleMatch(popupSingleMatch bool) { // The function takes the following parameters: // // - column in the model of completion to get strings from. -// func (completion *EntryCompletion) SetTextColumn(column int) { var _arg0 *C.GtkEntryCompletion // out var _arg1 C.int // out @@ -47179,7 +46142,6 @@ func BaseEventController(obj EventControllerer) *EventController { // The function returns the following values: // // - event (optional) that is currently handled by controller. -// func (controller *EventController) CurrentEvent() gdk.Eventer { var _arg0 *C.GtkEventController // out var _cret *C.GdkEvent // in @@ -47217,7 +46179,6 @@ func (controller *EventController) CurrentEvent() gdk.Eventer { // The function returns the following values: // // - device (optional) of the event is currently handled by controller. -// func (controller *EventController) CurrentEventDevice() gdk.Devicer { var _arg0 *C.GtkEventController // out var _cret *C.GdkDevice // in @@ -47256,7 +46217,6 @@ func (controller *EventController) CurrentEventDevice() gdk.Devicer { // // - modifierType: modifier state of the event is currently handled by // controller. -// func (controller *EventController) CurrentEventState() gdk.ModifierType { var _arg0 *C.GtkEventController // out var _cret C.GdkModifierType // in @@ -47279,7 +46239,6 @@ func (controller *EventController) CurrentEventState() gdk.ModifierType { // The function returns the following values: // // - guint32: timestamp of the event is currently handled by controller. -// func (controller *EventController) CurrentEventTime() uint32 { var _arg0 *C.GtkEventController // out var _cret C.guint32 // in @@ -47318,7 +46277,6 @@ func (controller *EventController) Name() string { // The function returns the following values: // // - propagationLimit: propagation limit. -// func (controller *EventController) PropagationLimit() PropagationLimit { var _arg0 *C.GtkEventController // out var _cret C.GtkPropagationLimit // in @@ -47341,7 +46299,6 @@ func (controller *EventController) PropagationLimit() PropagationLimit { // The function returns the following values: // // - propagationPhase: propagation phase. -// func (controller *EventController) PropagationPhase() PropagationPhase { var _arg0 *C.GtkEventController // out var _cret C.GtkPropagationPhase // in @@ -47363,7 +46320,6 @@ func (controller *EventController) PropagationPhase() PropagationPhase { // The function returns the following values: // // - widget: GtkWidget. -// func (controller *EventController) Widget() Widgetter { var _arg0 *C.GtkEventController // out var _cret *C.GtkWidget // in @@ -47411,7 +46367,6 @@ func (controller *EventController) Reset() { // The function takes the following parameters: // // - name for controller. -// func (controller *EventController) SetName(name string) { var _arg0 *C.GtkEventController // out var _arg1 *C.char // out @@ -47433,7 +46388,6 @@ func (controller *EventController) SetName(name string) { // The function takes the following parameters: // // - limit: propagation limit. -// func (controller *EventController) SetPropagationLimit(limit PropagationLimit) { var _arg0 *C.GtkEventController // out var _arg1 C.GtkPropagationLimit // out @@ -47455,7 +46409,6 @@ func (controller *EventController) SetPropagationLimit(limit PropagationLimit) { // The function takes the following parameters: // // - phase: propagation phase. -// func (controller *EventController) SetPropagationPhase(phase PropagationPhase) { var _arg0 *C.GtkEventController // out var _arg1 C.GtkPropagationPhase // out @@ -47526,7 +46479,6 @@ func (self *EventControllerFocus) ConnectLeave(f func()) coreglib.SignalHandle { // The function returns the following values: // // - eventControllerFocus: new GtkEventControllerFocus. -// func NewEventControllerFocus() *EventControllerFocus { var _cret *C.GtkEventController // in @@ -47544,7 +46496,6 @@ func NewEventControllerFocus() *EventControllerFocus { // The function returns the following values: // // - ok: TRUE if focus is within self or one of its children. -// func (self *EventControllerFocus) ContainsFocus() bool { var _arg0 *C.GtkEventControllerFocus // out var _cret C.gboolean // in @@ -47568,7 +46519,6 @@ func (self *EventControllerFocus) ContainsFocus() bool { // The function returns the following values: // // - ok: TRUE if focus is within self, but not one of its children. -// func (self *EventControllerFocus) IsFocus() bool { var _arg0 *C.GtkEventControllerFocus // out var _cret C.gboolean // in @@ -47640,7 +46590,6 @@ func (controller *EventControllerKey) ConnectModifiers(f func(keyval gdk.Modifie // The function returns the following values: // // - eventControllerKey: new GtkEventControllerKey. -// func NewEventControllerKey() *EventControllerKey { var _cret *C.GtkEventController // in @@ -47666,7 +46615,6 @@ func NewEventControllerKey() *EventControllerKey { // The function returns the following values: // // - ok: whether the widget handled the event. -// func (controller *EventControllerKey) Forward(widget Widgetter) bool { var _arg0 *C.GtkEventControllerKey // out var _arg1 *C.GtkWidget // out @@ -47695,7 +46643,6 @@ func (controller *EventControllerKey) Forward(widget Widgetter) bool { // The function returns the following values: // // - guint: key group. -// func (controller *EventControllerKey) Group() uint { var _arg0 *C.GtkEventControllerKey // out var _cret C.guint // in @@ -47717,7 +46664,6 @@ func (controller *EventControllerKey) Group() uint { // The function returns the following values: // // - imContext: GtkIMContext. -// func (controller *EventControllerKey) IMContext() IMContexter { var _arg0 *C.GtkEventControllerKey // out var _cret *C.GtkIMContext // in @@ -47755,7 +46701,6 @@ func (controller *EventControllerKey) IMContext() IMContexter { // The function takes the following parameters: // // - imContext: GtkIMContext. -// func (controller *EventControllerKey) SetIMContext(imContext IMContexter) { var _arg0 *C.GtkEventControllerKey // out var _arg1 *C.GtkIMContext // out @@ -47804,7 +46749,6 @@ func (v *EventControllerLegacy) ConnectEvent(f func(event gdk.Eventer) (ok bool) // The function returns the following values: // // - eventControllerLegacy: newly created event controller. -// func NewEventControllerLegacy() *EventControllerLegacy { var _cret *C.GtkEventController // in @@ -47867,7 +46811,6 @@ func (self *EventControllerMotion) ConnectMotion(f func(x, y float64)) coreglib. // The function returns the following values: // // - eventControllerMotion: new GtkEventControllerMotion. -// func NewEventControllerMotion() *EventControllerMotion { var _cret *C.GtkEventController // in @@ -47885,7 +46828,6 @@ func NewEventControllerMotion() *EventControllerMotion { // The function returns the following values: // // - ok: TRUE if a pointer is within self or one of its children. -// func (self *EventControllerMotion) ContainsPointer() bool { var _arg0 *C.GtkEventControllerMotion // out var _cret C.gboolean // in @@ -47909,7 +46851,6 @@ func (self *EventControllerMotion) ContainsPointer() bool { // The function returns the following values: // // - ok: TRUE if a pointer is within self but not one of its children. -// func (self *EventControllerMotion) IsPointer() bool { var _arg0 *C.GtkEventControllerMotion // out var _cret C.gboolean // in @@ -48023,7 +46964,6 @@ func (scroll *EventControllerScroll) ConnectScrollEnd(f func()) coreglib.SignalH // The function returns the following values: // // - eventControllerScroll: new GtkEventControllerScroll. -// func NewEventControllerScroll(flags EventControllerScrollFlags) *EventControllerScroll { var _arg1 C.GtkEventControllerScrollFlags // out var _cret *C.GtkEventController // in @@ -48045,7 +46985,6 @@ func NewEventControllerScroll(flags EventControllerScrollFlags) *EventController // The function returns the following values: // // - eventControllerScrollFlags: controller flags. -// func (scroll *EventControllerScroll) Flags() EventControllerScrollFlags { var _arg0 *C.GtkEventControllerScroll // out var _cret C.GtkEventControllerScrollFlags // in @@ -48067,7 +47006,6 @@ func (scroll *EventControllerScroll) Flags() EventControllerScrollFlags { // The function takes the following parameters: // // - flags affecting the controller behavior. -// func (scroll *EventControllerScroll) SetFlags(flags EventControllerScrollFlags) { var _arg0 *C.GtkEventControllerScroll // out var _arg1 C.GtkEventControllerScrollFlags // out @@ -48124,7 +47062,6 @@ func marshalEveryFilter(p uintptr) (interface{}, error) { // The function returns the following values: // // - everyFilter: new GtkEveryFilter. -// func NewEveryFilter() *EveryFilter { var _cret *C.GtkEveryFilter // in @@ -48158,34 +47095,34 @@ func NewEveryFilter() *EveryFilter { // can be used to monitor its expansion state. You should watch this property // with a signal connection as follows: // -// static void -// expander_callback (GObject *object, -// GParamSpec *param_spec, -// gpointer user_data) -// { -// GtkExpander *expander; -// -// expander = GTK_EXPANDER (object); -// -// if (gtk_expander_get_expanded (expander)) -// { -// // Show or create widgets -// } -// else -// { -// // Hide or destroy widgets -// } -// } -// -// static void -// create_expander (void) -// { -// GtkWidget *expander = gtk_expander_new_with_mnemonic ("_More Options"); -// g_signal_connect (expander, "notify::expanded", -// G_CALLBACK (expander_callback), NULL); -// -// // ... -// } +// static void +// expander_callback (GObject *object, +// GParamSpec *param_spec, +// gpointer user_data) +// { +// GtkExpander *expander; +// +// expander = GTK_EXPANDER (object); +// +// if (gtk_expander_get_expanded (expander)) +// { +// // Show or create widgets +// } +// else +// { +// // Hide or destroy widgets +// } +// } +// +// static void +// create_expander (void) +// { +// GtkWidget *expander = gtk_expander_new_with_mnemonic ("_More Options"); +// g_signal_connect (expander, "notify::expanded", +// G_CALLBACK (expander_callback), NULL); +// +// // ... +// } // // # GtkExpander as GtkBuildable // @@ -48196,23 +47133,23 @@ func NewEveryFilter() *EveryFilter { // // An example of a UI definition fragment with GtkExpander: // -// -// -// -// -// -// -// -// +// +// +// +// +// +// +// +// // // CSS nodes // -// expander -// ╰── box -// ├── title -// │ ├── arrow -// │ ╰──