fix(deps): repin puregotk lazy registration fix
- commit
- d685b6e820d6baba0d0dea254169664012ed203d
- author
- brice · · 2026-07-14 18:24 UTC
- parent
- ec6db2e
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
907 files · +27874 -25294
M go.mod +3 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.0 | |
| 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -47,6 +47,7 @@ require ( | |||
| 47 | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | |
| 48 | 48 | github.com/fatih/color v1.19.0 // indirect | |
| 49 | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | |
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |
| 50 | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | |
| 51 | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | |
| 52 | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | |
| @@ -80,6 +81,7 @@ require ( | |||
| 80 | 81 | golang.org/x/text v0.40.0 // indirect | |
| 81 | 82 | golang.org/x/tools v0.47.0 // indirect | |
| 82 | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | |
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |
| 83 | 85 | ) | |
| 84 | 86 | ||
| 85 | 87 | tool github.com/a-h/templ/cmd/templ | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.0 | 14 | + | github.com/bnema/puregotk v0.7.1-0.20260714181430-679a9ed72959 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
| @@ -47,6 +47,7 @@ require ( | |||||
| 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | 47 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
| 48 | github.com/fatih/color v1.19.0 // indirect | 48 | github.com/fatih/color v1.19.0 // indirect | ||
| 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | 49 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | ||
| 50 | + | github.com/google/go-cmp v0.7.0 // indirect | |||
| 50 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | 51 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| 51 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | 52 | github.com/lucasb-eyer/go-colorful v1.4.0 // indirect | ||
| 52 | github.com/mattn/go-colorable v0.1.14 // indirect | 53 | github.com/mattn/go-colorable v0.1.14 // indirect | ||
| @@ -80,6 +81,7 @@ require ( | |||||
| 80 | golang.org/x/text v0.40.0 // indirect | 81 | golang.org/x/text v0.40.0 // indirect | ||
| 81 | golang.org/x/tools v0.47.0 // indirect | 82 | golang.org/x/tools v0.47.0 // indirect | ||
| 82 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | 83 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
| 84 | + | mvdan.cc/gofumpt v0.9.2 // indirect | |||
| 83 | ) | 85 | ) | ||
| 84 | 86 | ||||
| 85 | tool github.com/a-h/templ/cmd/templ | 87 | tool github.com/a-h/templ/cmd/templ | ||
M go.sum +4 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +197 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +10 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +99 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +95 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +33 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +66 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +10 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +23 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +47 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +33 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +47 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +34 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +45 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +40 -33
| @@ -5,7 +5,6 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | - | "github.com/bnema/purego" | |
| 9 | 8 | "github.com/bnema/puregotk/pkg/core" | |
| 10 | 9 | "github.com/bnema/puregotk/v4/glib" | |
| 11 | 10 | "github.com/bnema/puregotk/v4/gobject" | |
| @@ -75,6 +74,7 @@ type EntryRow struct { | |||
| 75 | 74 | var xEntryRowGLibType func() types.GType | |
| 76 | 75 | ||
| 77 | 76 | func EntryRowGLibType() types.GType { | |
| 77 | + | core.LazyRegister(&xEntryRowGLibType, "ADW", "adw_entry_row_get_type", false) | |
| 78 | 78 | return xEntryRowGLibType() | |
| 79 | 79 | } | |
| 80 | 80 | ||
| @@ -88,6 +88,7 @@ var xNewEntryRow func() uintptr | |||
| 88 | 88 | ||
| 89 | 89 | // Creates a new `AdwEntryRow`. | |
| 90 | 90 | func NewEntryRow() *EntryRow { | |
| 91 | + | core.LazyRegister(&xNewEntryRow, "ADW", "adw_entry_row_new", false) | |
| 91 | 92 | var cls *EntryRow | |
| 92 | 93 | ||
| 93 | 94 | cret := xNewEntryRow() | |
| @@ -105,6 +106,8 @@ var xEntryRowAddPrefix func(uintptr, uintptr) | |||
| 105 | 106 | ||
| 106 | 107 | // Adds a prefix widget to @self. | |
| 107 | 108 | func (x *EntryRow) AddPrefix(WidgetVar *gtk.Widget) { | |
| 109 | + | core.LazyRegister(&xEntryRowAddPrefix, "ADW", "adw_entry_row_add_prefix", false) | |
| 110 | + | ||
| 108 | 111 | xEntryRowAddPrefix(x.GoPointer(), WidgetVar.GoPointer()) | |
| 109 | 112 | } | |
| 110 | 113 | ||
| @@ -112,6 +115,8 @@ var xEntryRowAddSuffix func(uintptr, uintptr) | |||
| 112 | 115 | ||
| 113 | 116 | // Adds a suffix widget to @self. | |
| 114 | 117 | func (x *EntryRow) AddSuffix(WidgetVar *gtk.Widget) { | |
| 118 | + | core.LazyRegister(&xEntryRowAddSuffix, "ADW", "adw_entry_row_add_suffix", false) | |
| 119 | + | ||
| 115 | 120 | xEntryRowAddSuffix(x.GoPointer(), WidgetVar.GoPointer()) | |
| 116 | 121 | } | |
| 117 | 122 | ||
| @@ -119,6 +124,8 @@ var xEntryRowGetActivatesDefault func(uintptr) bool | |||
| 119 | 124 | ||
| 120 | 125 | // Gets whether activating the embedded entry can activate the default widget. | |
| 121 | 126 | func (x *EntryRow) GetActivatesDefault() bool { | |
| 127 | + | core.LazyRegister(&xEntryRowGetActivatesDefault, "ADW", "adw_entry_row_get_activates_default", false) | |
| 128 | + | ||
| 122 | 129 | cret := xEntryRowGetActivatesDefault(x.GoPointer()) | |
| 123 | 130 | return cret | |
| 124 | 131 | } | |
| @@ -127,6 +134,8 @@ var xEntryRowGetAttributes func(uintptr) uintptr | |||
| 127 | 134 | ||
| 128 | 135 | // Gets Pango attributes applied to the text of the embedded entry. | |
| 129 | 136 | func (x *EntryRow) GetAttributes() *pango.AttrList { | |
| 137 | + | core.LazyRegister(&xEntryRowGetAttributes, "ADW", "adw_entry_row_get_attributes", false) | |
| 138 | + | ||
| 130 | 139 | cret := xEntryRowGetAttributes(x.GoPointer()) | |
| 131 | 140 | if cret == 0 { | |
| 132 | 141 | return nil | |
| @@ -138,6 +147,8 @@ var xEntryRowGetEnableEmojiCompletion func(uintptr) bool | |||
| 138 | 147 | ||
| 139 | 148 | // Gets whether to suggest emoji replacements on @self. | |
| 140 | 149 | func (x *EntryRow) GetEnableEmojiCompletion() bool { | |
| 150 | + | core.LazyRegister(&xEntryRowGetEnableEmojiCompletion, "ADW", "adw_entry_row_get_enable_emoji_completion", false) | |
| 151 | + | ||
| 141 | 152 | cret := xEntryRowGetEnableEmojiCompletion(x.GoPointer()) | |
| 142 | 153 | return cret | |
| 143 | 154 | } | |
| @@ -146,6 +157,8 @@ var xEntryRowGetInputHints func(uintptr) gtk.InputHints | |||
| 146 | 157 | ||
| 147 | 158 | // Gets the additional input hints of @self. | |
| 148 | 159 | func (x *EntryRow) GetInputHints() gtk.InputHints { | |
| 160 | + | core.LazyRegister(&xEntryRowGetInputHints, "ADW", "adw_entry_row_get_input_hints", false) | |
| 161 | + | ||
| 149 | 162 | cret := xEntryRowGetInputHints(x.GoPointer()) | |
| 150 | 163 | return cret | |
| 151 | 164 | } | |
| @@ -154,6 +167,8 @@ var xEntryRowGetInputPurpose func(uintptr) gtk.InputPurpose | |||
| 154 | 167 | ||
| 155 | 168 | // Gets the input purpose of @self. | |
| 156 | 169 | func (x *EntryRow) GetInputPurpose() gtk.InputPurpose { | |
| 170 | + | core.LazyRegister(&xEntryRowGetInputPurpose, "ADW", "adw_entry_row_get_input_purpose", false) | |
| 171 | + | ||
| 157 | 172 | cret := xEntryRowGetInputPurpose(x.GoPointer()) | |
| 158 | 173 | return cret | |
| 159 | 174 | } | |
| @@ -162,6 +177,8 @@ var xEntryRowGetMaxLength func(uintptr) int | |||
| 162 | 177 | ||
| 163 | 178 | // Retrieves the maximum length of the entry. | |
| 164 | 179 | func (x *EntryRow) GetMaxLength() int { | |
| 180 | + | core.LazyRegister(&xEntryRowGetMaxLength, "ADW", "adw_entry_row_get_max_length", false) | |
| 181 | + | ||
| 165 | 182 | cret := xEntryRowGetMaxLength(x.GoPointer()) | |
| 166 | 183 | return cret | |
| 167 | 184 | } | |
| @@ -170,6 +187,8 @@ var xEntryRowGetShowApplyButton func(uintptr) bool | |||
| 170 | 187 | ||
| 171 | 188 | // Gets whether @self can show the apply button. | |
| 172 | 189 | func (x *EntryRow) GetShowApplyButton() bool { | |
| 190 | + | core.LazyRegister(&xEntryRowGetShowApplyButton, "ADW", "adw_entry_row_get_show_apply_button", false) | |
| 191 | + | ||
| 173 | 192 | cret := xEntryRowGetShowApplyButton(x.GoPointer()) | |
| 174 | 193 | return cret | |
| 175 | 194 | } | |
| @@ -178,6 +197,8 @@ var xEntryRowGetTextLength func(uintptr) uint | |||
| 178 | 197 | ||
| 179 | 198 | // Retrieves the current length of the text in @self. | |
| 180 | 199 | func (x *EntryRow) GetTextLength() uint { | |
| 200 | + | core.LazyRegister(&xEntryRowGetTextLength, "ADW", "adw_entry_row_get_text_length", false) | |
| 201 | + | ||
| 181 | 202 | cret := xEntryRowGetTextLength(x.GoPointer()) | |
| 182 | 203 | return cret | |
| 183 | 204 | } | |
| @@ -188,6 +209,8 @@ var xEntryRowGrabFocusWithoutSelecting func(uintptr) bool | |||
| 188 | 209 | // | |
| 189 | 210 | // See [method@Gtk.Text.grab_focus_without_selecting] for more information. | |
| 190 | 211 | func (x *EntryRow) GrabFocusWithoutSelecting() bool { | |
| 212 | + | core.LazyRegister(&xEntryRowGrabFocusWithoutSelecting, "ADW", "adw_entry_row_grab_focus_without_selecting", false) | |
| 213 | + | ||
| 191 | 214 | cret := xEntryRowGrabFocusWithoutSelecting(x.GoPointer()) | |
| 192 | 215 | return cret | |
| 193 | 216 | } | |
| @@ -196,6 +219,8 @@ var xEntryRowRemove func(uintptr, uintptr) | |||
| 196 | 219 | ||
| 197 | 220 | // Removes a child from @self. | |
| 198 | 221 | func (x *EntryRow) Remove(WidgetVar *gtk.Widget) { | |
| 222 | + | core.LazyRegister(&xEntryRowRemove, "ADW", "adw_entry_row_remove", false) | |
| 223 | + | ||
| 199 | 224 | xEntryRowRemove(x.GoPointer(), WidgetVar.GoPointer()) | |
| 200 | 225 | } | |
| 201 | 226 | ||
| @@ -203,6 +228,8 @@ var xEntryRowSetActivatesDefault func(uintptr, bool) | |||
| 203 | 228 | ||
| 204 | 229 | // Sets whether activating the embedded entry can activate the default widget. | |
| 205 | 230 | func (x *EntryRow) SetActivatesDefault(ActivatesVar bool) { | |
| 231 | + | core.LazyRegister(&xEntryRowSetActivatesDefault, "ADW", "adw_entry_row_set_activates_default", false) | |
| 232 | + | ||
| 206 | 233 | xEntryRowSetActivatesDefault(x.GoPointer(), ActivatesVar) | |
| 207 | 234 | } | |
| 208 | 235 | ||
| @@ -213,6 +240,8 @@ var xEntryRowSetAttributes func(uintptr, *pango.AttrList) | |||
| 213 | 240 | // The [struct@Pango.Attribute]'s `start_index` and `end_index` must refer to | |
| 214 | 241 | // the [class@Gtk.EntryBuffer] text, i.e. without the preedit string. | |
| 215 | 242 | func (x *EntryRow) SetAttributes(AttributesVar *pango.AttrList) { | |
| 243 | + | core.LazyRegister(&xEntryRowSetAttributes, "ADW", "adw_entry_row_set_attributes", false) | |
| 244 | + | ||
| 216 | 245 | xEntryRowSetAttributes(x.GoPointer(), AttributesVar) | |
| 217 | 246 | } | |
| 218 | 247 | ||
| @@ -222,6 +251,8 @@ var xEntryRowSetEnableEmojiCompletion func(uintptr, bool) | |||
| 222 | 251 | // | |
| 223 | 252 | // Emoji replacement is done with :-delimited names, like `:heart:`. | |
| 224 | 253 | func (x *EntryRow) SetEnableEmojiCompletion(EnableEmojiCompletionVar bool) { | |
| 254 | + | core.LazyRegister(&xEntryRowSetEnableEmojiCompletion, "ADW", "adw_entry_row_set_enable_emoji_completion", false) | |
| 255 | + | ||
| 225 | 256 | xEntryRowSetEnableEmojiCompletion(x.GoPointer(), EnableEmojiCompletionVar) | |
| 226 | 257 | } | |
| 227 | 258 | ||
| @@ -233,6 +264,8 @@ var xEntryRowSetInputHints func(uintptr, gtk.InputHints) | |||
| 233 | 264 | // | |
| 234 | 265 | // See also: [property@AdwEntryRow:input-purpose] | |
| 235 | 266 | func (x *EntryRow) SetInputHints(HintsVar gtk.InputHints) { | |
| 267 | + | core.LazyRegister(&xEntryRowSetInputHints, "ADW", "adw_entry_row_set_input_hints", false) | |
| 268 | + | ||
| 236 | 269 | xEntryRowSetInputHints(x.GoPointer(), HintsVar) | |
| 237 | 270 | } | |
| 238 | 271 | ||
| @@ -242,6 +275,8 @@ var xEntryRowSetInputPurpose func(uintptr, gtk.InputPurpose) | |||
| 242 | 275 | // | |
| 243 | 276 | // The input purpose can be used by input methods to adjust their behavior. | |
| 244 | 277 | func (x *EntryRow) SetInputPurpose(PurposeVar gtk.InputPurpose) { | |
| 278 | + | core.LazyRegister(&xEntryRowSetInputPurpose, "ADW", "adw_entry_row_set_input_purpose", false) | |
| 279 | + | ||
| 245 | 280 | xEntryRowSetInputPurpose(x.GoPointer(), PurposeVar) | |
| 246 | 281 | } | |
| 247 | 282 | ||
| @@ -249,6 +284,8 @@ var xEntryRowSetMaxLength func(uintptr, int) | |||
| 249 | 284 | ||
| 250 | 285 | // Sets the maximum length of the entry. | |
| 251 | 286 | func (x *EntryRow) SetMaxLength(MaxLengthVar int) { | |
| 287 | + | core.LazyRegister(&xEntryRowSetMaxLength, "ADW", "adw_entry_row_set_max_length", false) | |
| 288 | + | ||
| 252 | 289 | xEntryRowSetMaxLength(x.GoPointer(), MaxLengthVar) | |
| 253 | 290 | } | |
| 254 | 291 | ||
| @@ -264,6 +301,8 @@ var xEntryRowSetShowApplyButton func(uintptr, bool) | |||
| 264 | 301 | // operation, e.g. network activity, to avoid triggering it after typing every | |
| 265 | 302 | // character. | |
| 266 | 303 | func (x *EntryRow) SetShowApplyButton(ShowApplyButtonVar bool) { | |
| 304 | + | core.LazyRegister(&xEntryRowSetShowApplyButton, "ADW", "adw_entry_row_set_show_apply_button", false) | |
| 305 | + | ||
| 267 | 306 | xEntryRowSetShowApplyButton(x.GoPointer(), ShowApplyButtonVar) | |
| 268 | 307 | } | |
| 269 | 308 | ||
| @@ -1035,36 +1074,4 @@ func (x *EntryRow) SetWidthChars(NCharsVar int) { | |||
| 1035 | 1074 | func init() { | |
| 1036 | 1075 | core.SetPackageName("ADW", "libadwaita-1") | |
| 1037 | 1076 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 1038 | - | var libs []uintptr | |
| 1039 | - | for _, libPath := range core.GetPaths("ADW") { | |
| 1040 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 1041 | - | if err != nil { | |
| 1042 | - | panic(err) | |
| 1043 | - | } | |
| 1044 | - | libs = append(libs, lib) | |
| 1045 | - | } | |
| 1046 | - | ||
| 1047 | - | core.PuregoSafeRegister(&xEntryRowGLibType, libs, "adw_entry_row_get_type") | |
| 1048 | - | ||
| 1049 | - | core.PuregoSafeRegister(&xNewEntryRow, libs, "adw_entry_row_new") | |
| 1050 | - | ||
| 1051 | - | core.PuregoSafeRegister(&xEntryRowAddPrefix, libs, "adw_entry_row_add_prefix") | |
| 1052 | - | core.PuregoSafeRegister(&xEntryRowAddSuffix, libs, "adw_entry_row_add_suffix") | |
| 1053 | - | core.PuregoSafeRegister(&xEntryRowGetActivatesDefault, libs, "adw_entry_row_get_activates_default") | |
| 1054 | - | core.PuregoSafeRegister(&xEntryRowGetAttributes, libs, "adw_entry_row_get_attributes") | |
| 1055 | - | core.PuregoSafeRegister(&xEntryRowGetEnableEmojiCompletion, libs, "adw_entry_row_get_enable_emoji_completion") | |
| 1056 | - | core.PuregoSafeRegister(&xEntryRowGetInputHints, libs, "adw_entry_row_get_input_hints") | |
| 1057 | - | core.PuregoSafeRegister(&xEntryRowGetInputPurpose, libs, "adw_entry_row_get_input_purpose") | |
| 1058 | - | core.PuregoSafeRegister(&xEntryRowGetMaxLength, libs, "adw_entry_row_get_max_length") | |
| 1059 | - | core.PuregoSafeRegister(&xEntryRowGetShowApplyButton, libs, "adw_entry_row_get_show_apply_button") | |
| 1060 | - | core.PuregoSafeRegister(&xEntryRowGetTextLength, libs, "adw_entry_row_get_text_length") | |
| 1061 | - | core.PuregoSafeRegister(&xEntryRowGrabFocusWithoutSelecting, libs, "adw_entry_row_grab_focus_without_selecting") | |
| 1062 | - | core.PuregoSafeRegister(&xEntryRowRemove, libs, "adw_entry_row_remove") | |
| 1063 | - | core.PuregoSafeRegister(&xEntryRowSetActivatesDefault, libs, "adw_entry_row_set_activates_default") | |
| 1064 | - | core.PuregoSafeRegister(&xEntryRowSetAttributes, libs, "adw_entry_row_set_attributes") | |
| 1065 | - | core.PuregoSafeRegister(&xEntryRowSetEnableEmojiCompletion, libs, "adw_entry_row_set_enable_emoji_completion") | |
| 1066 | - | core.PuregoSafeRegister(&xEntryRowSetInputHints, libs, "adw_entry_row_set_input_hints") | |
| 1067 | - | core.PuregoSafeRegister(&xEntryRowSetInputPurpose, libs, "adw_entry_row_set_input_purpose") | |
| 1068 | - | core.PuregoSafeRegister(&xEntryRowSetMaxLength, libs, "adw_entry_row_set_max_length") | |
| 1069 | - | core.PuregoSafeRegister(&xEntryRowSetShowApplyButton, libs, "adw_entry_row_set_show_apply_button") | |
| 1070 | 1077 | } | |
| @@ -5,7 +5,6 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | - | "github.com/bnema/purego" | |||
| 9 | "github.com/bnema/puregotk/pkg/core" | 8 | "github.com/bnema/puregotk/pkg/core" | ||
| 10 | "github.com/bnema/puregotk/v4/glib" | 9 | "github.com/bnema/puregotk/v4/glib" | ||
| 11 | "github.com/bnema/puregotk/v4/gobject" | 10 | "github.com/bnema/puregotk/v4/gobject" | ||
| @@ -75,6 +74,7 @@ type EntryRow struct { | |||||
| 75 | var xEntryRowGLibType func() types.GType | 74 | var xEntryRowGLibType func() types.GType | ||
| 76 | 75 | ||||
| 77 | func EntryRowGLibType() types.GType { | 76 | func EntryRowGLibType() types.GType { | ||
| 77 | + | core.LazyRegister(&xEntryRowGLibType, "ADW", "adw_entry_row_get_type", false) | |||
| 78 | return xEntryRowGLibType() | 78 | return xEntryRowGLibType() | ||
| 79 | } | 79 | } | ||
| 80 | 80 | ||||
| @@ -88,6 +88,7 @@ var xNewEntryRow func() uintptr | |||||
| 88 | 88 | ||||
| 89 | // Creates a new `AdwEntryRow`. | 89 | // Creates a new `AdwEntryRow`. | ||
| 90 | func NewEntryRow() *EntryRow { | 90 | func NewEntryRow() *EntryRow { | ||
| 91 | + | core.LazyRegister(&xNewEntryRow, "ADW", "adw_entry_row_new", false) | |||
| 91 | var cls *EntryRow | 92 | var cls *EntryRow | ||
| 92 | 93 | ||||
| 93 | cret := xNewEntryRow() | 94 | cret := xNewEntryRow() | ||
| @@ -105,6 +106,8 @@ var xEntryRowAddPrefix func(uintptr, uintptr) | |||||
| 105 | 106 | ||||
| 106 | // Adds a prefix widget to @self. | 107 | // Adds a prefix widget to @self. | ||
| 107 | func (x *EntryRow) AddPrefix(WidgetVar *gtk.Widget) { | 108 | func (x *EntryRow) AddPrefix(WidgetVar *gtk.Widget) { | ||
| 109 | + | core.LazyRegister(&xEntryRowAddPrefix, "ADW", "adw_entry_row_add_prefix", false) | |||
| 110 | + | ||||
| 108 | xEntryRowAddPrefix(x.GoPointer(), WidgetVar.GoPointer()) | 111 | xEntryRowAddPrefix(x.GoPointer(), WidgetVar.GoPointer()) | ||
| 109 | } | 112 | } | ||
| 110 | 113 | ||||
| @@ -112,6 +115,8 @@ var xEntryRowAddSuffix func(uintptr, uintptr) | |||||
| 112 | 115 | ||||
| 113 | // Adds a suffix widget to @self. | 116 | // Adds a suffix widget to @self. | ||
| 114 | func (x *EntryRow) AddSuffix(WidgetVar *gtk.Widget) { | 117 | func (x *EntryRow) AddSuffix(WidgetVar *gtk.Widget) { | ||
| 118 | + | core.LazyRegister(&xEntryRowAddSuffix, "ADW", "adw_entry_row_add_suffix", false) | |||
| 119 | + | ||||
| 115 | xEntryRowAddSuffix(x.GoPointer(), WidgetVar.GoPointer()) | 120 | xEntryRowAddSuffix(x.GoPointer(), WidgetVar.GoPointer()) | ||
| 116 | } | 121 | } | ||
| 117 | 122 | ||||
| @@ -119,6 +124,8 @@ var xEntryRowGetActivatesDefault func(uintptr) bool | |||||
| 119 | 124 | ||||
| 120 | // Gets whether activating the embedded entry can activate the default widget. | 125 | // Gets whether activating the embedded entry can activate the default widget. | ||
| 121 | func (x *EntryRow) GetActivatesDefault() bool { | 126 | func (x *EntryRow) GetActivatesDefault() bool { | ||
| 127 | + | core.LazyRegister(&xEntryRowGetActivatesDefault, "ADW", "adw_entry_row_get_activates_default", false) | |||
| 128 | + | ||||
| 122 | cret := xEntryRowGetActivatesDefault(x.GoPointer()) | 129 | cret := xEntryRowGetActivatesDefault(x.GoPointer()) | ||
| 123 | return cret | 130 | return cret | ||
| 124 | } | 131 | } | ||
| @@ -127,6 +134,8 @@ var xEntryRowGetAttributes func(uintptr) uintptr | |||||
| 127 | 134 | ||||
| 128 | // Gets Pango attributes applied to the text of the embedded entry. | 135 | // Gets Pango attributes applied to the text of the embedded entry. | ||
| 129 | func (x *EntryRow) GetAttributes() *pango.AttrList { | 136 | func (x *EntryRow) GetAttributes() *pango.AttrList { | ||
| 137 | + | core.LazyRegister(&xEntryRowGetAttributes, "ADW", "adw_entry_row_get_attributes", false) | |||
| 138 | + | ||||
| 130 | cret := xEntryRowGetAttributes(x.GoPointer()) | 139 | cret := xEntryRowGetAttributes(x.GoPointer()) | ||
| 131 | if cret == 0 { | 140 | if cret == 0 { | ||
| 132 | return nil | 141 | return nil | ||
| @@ -138,6 +147,8 @@ var xEntryRowGetEnableEmojiCompletion func(uintptr) bool | |||||
| 138 | 147 | ||||
| 139 | // Gets whether to suggest emoji replacements on @self. | 148 | // Gets whether to suggest emoji replacements on @self. | ||
| 140 | func (x *EntryRow) GetEnableEmojiCompletion() bool { | 149 | func (x *EntryRow) GetEnableEmojiCompletion() bool { | ||
| 150 | + | core.LazyRegister(&xEntryRowGetEnableEmojiCompletion, "ADW", "adw_entry_row_get_enable_emoji_completion", false) | |||
| 151 | + | ||||
| 141 | cret := xEntryRowGetEnableEmojiCompletion(x.GoPointer()) | 152 | cret := xEntryRowGetEnableEmojiCompletion(x.GoPointer()) | ||
| 142 | return cret | 153 | return cret | ||
| 143 | } | 154 | } | ||
| @@ -146,6 +157,8 @@ var xEntryRowGetInputHints func(uintptr) gtk.InputHints | |||||
| 146 | 157 | ||||
| 147 | // Gets the additional input hints of @self. | 158 | // Gets the additional input hints of @self. | ||
| 148 | func (x *EntryRow) GetInputHints() gtk.InputHints { | 159 | func (x *EntryRow) GetInputHints() gtk.InputHints { | ||
| 160 | + | core.LazyRegister(&xEntryRowGetInputHints, "ADW", "adw_entry_row_get_input_hints", false) | |||
| 161 | + | ||||
| 149 | cret := xEntryRowGetInputHints(x.GoPointer()) | 162 | cret := xEntryRowGetInputHints(x.GoPointer()) | ||
| 150 | return cret | 163 | return cret | ||
| 151 | } | 164 | } | ||
| @@ -154,6 +167,8 @@ var xEntryRowGetInputPurpose func(uintptr) gtk.InputPurpose | |||||
| 154 | 167 | ||||
| 155 | // Gets the input purpose of @self. | 168 | // Gets the input purpose of @self. | ||
| 156 | func (x *EntryRow) GetInputPurpose() gtk.InputPurpose { | 169 | func (x *EntryRow) GetInputPurpose() gtk.InputPurpose { | ||
| 170 | + | core.LazyRegister(&xEntryRowGetInputPurpose, "ADW", "adw_entry_row_get_input_purpose", false) | |||
| 171 | + | ||||
| 157 | cret := xEntryRowGetInputPurpose(x.GoPointer()) | 172 | cret := xEntryRowGetInputPurpose(x.GoPointer()) | ||
| 158 | return cret | 173 | return cret | ||
| 159 | } | 174 | } | ||
| @@ -162,6 +177,8 @@ var xEntryRowGetMaxLength func(uintptr) int | |||||
| 162 | 177 | ||||
| 163 | // Retrieves the maximum length of the entry. | 178 | // Retrieves the maximum length of the entry. | ||
| 164 | func (x *EntryRow) GetMaxLength() int { | 179 | func (x *EntryRow) GetMaxLength() int { | ||
| 180 | + | core.LazyRegister(&xEntryRowGetMaxLength, "ADW", "adw_entry_row_get_max_length", false) | |||
| 181 | + | ||||
| 165 | cret := xEntryRowGetMaxLength(x.GoPointer()) | 182 | cret := xEntryRowGetMaxLength(x.GoPointer()) | ||
| 166 | return cret | 183 | return cret | ||
| 167 | } | 184 | } | ||
| @@ -170,6 +187,8 @@ var xEntryRowGetShowApplyButton func(uintptr) bool | |||||
| 170 | 187 | ||||
| 171 | // Gets whether @self can show the apply button. | 188 | // Gets whether @self can show the apply button. | ||
| 172 | func (x *EntryRow) GetShowApplyButton() bool { | 189 | func (x *EntryRow) GetShowApplyButton() bool { | ||
| 190 | + | core.LazyRegister(&xEntryRowGetShowApplyButton, "ADW", "adw_entry_row_get_show_apply_button", false) | |||
| 191 | + | ||||
| 173 | cret := xEntryRowGetShowApplyButton(x.GoPointer()) | 192 | cret := xEntryRowGetShowApplyButton(x.GoPointer()) | ||
| 174 | return cret | 193 | return cret | ||
| 175 | } | 194 | } | ||
| @@ -178,6 +197,8 @@ var xEntryRowGetTextLength func(uintptr) uint | |||||
| 178 | 197 | ||||
| 179 | // Retrieves the current length of the text in @self. | 198 | // Retrieves the current length of the text in @self. | ||
| 180 | func (x *EntryRow) GetTextLength() uint { | 199 | func (x *EntryRow) GetTextLength() uint { | ||
| 200 | + | core.LazyRegister(&xEntryRowGetTextLength, "ADW", "adw_entry_row_get_text_length", false) | |||
| 201 | + | ||||
| 181 | cret := xEntryRowGetTextLength(x.GoPointer()) | 202 | cret := xEntryRowGetTextLength(x.GoPointer()) | ||
| 182 | return cret | 203 | return cret | ||
| 183 | } | 204 | } | ||
| @@ -188,6 +209,8 @@ var xEntryRowGrabFocusWithoutSelecting func(uintptr) bool | |||||
| 188 | // | 209 | // | ||
| 189 | // See [method@Gtk.Text.grab_focus_without_selecting] for more information. | 210 | // See [method@Gtk.Text.grab_focus_without_selecting] for more information. | ||
| 190 | func (x *EntryRow) GrabFocusWithoutSelecting() bool { | 211 | func (x *EntryRow) GrabFocusWithoutSelecting() bool { | ||
| 212 | + | core.LazyRegister(&xEntryRowGrabFocusWithoutSelecting, "ADW", "adw_entry_row_grab_focus_without_selecting", false) | |||
| 213 | + | ||||
| 191 | cret := xEntryRowGrabFocusWithoutSelecting(x.GoPointer()) | 214 | cret := xEntryRowGrabFocusWithoutSelecting(x.GoPointer()) | ||
| 192 | return cret | 215 | return cret | ||
| 193 | } | 216 | } | ||
| @@ -196,6 +219,8 @@ var xEntryRowRemove func(uintptr, uintptr) | |||||
| 196 | 219 | ||||
| 197 | // Removes a child from @self. | 220 | // Removes a child from @self. | ||
| 198 | func (x *EntryRow) Remove(WidgetVar *gtk.Widget) { | 221 | func (x *EntryRow) Remove(WidgetVar *gtk.Widget) { | ||
| 222 | + | core.LazyRegister(&xEntryRowRemove, "ADW", "adw_entry_row_remove", false) | |||
| 223 | + | ||||
| 199 | xEntryRowRemove(x.GoPointer(), WidgetVar.GoPointer()) | 224 | xEntryRowRemove(x.GoPointer(), WidgetVar.GoPointer()) | ||
| 200 | } | 225 | } | ||
| 201 | 226 | ||||
| @@ -203,6 +228,8 @@ var xEntryRowSetActivatesDefault func(uintptr, bool) | |||||
| 203 | 228 | ||||
| 204 | // Sets whether activating the embedded entry can activate the default widget. | 229 | // Sets whether activating the embedded entry can activate the default widget. | ||
| 205 | func (x *EntryRow) SetActivatesDefault(ActivatesVar bool) { | 230 | func (x *EntryRow) SetActivatesDefault(ActivatesVar bool) { | ||
| 231 | + | core.LazyRegister(&xEntryRowSetActivatesDefault, "ADW", "adw_entry_row_set_activates_default", false) | |||
| 232 | + | ||||
| 206 | xEntryRowSetActivatesDefault(x.GoPointer(), ActivatesVar) | 233 | xEntryRowSetActivatesDefault(x.GoPointer(), ActivatesVar) | ||
| 207 | } | 234 | } | ||
| 208 | 235 | ||||
| @@ -213,6 +240,8 @@ var xEntryRowSetAttributes func(uintptr, *pango.AttrList) | |||||
| 213 | // The [struct@Pango.Attribute]'s `start_index` and `end_index` must refer to | 240 | // The [struct@Pango.Attribute]'s `start_index` and `end_index` must refer to | ||
| 214 | // the [class@Gtk.EntryBuffer] text, i.e. without the preedit string. | 241 | // the [class@Gtk.EntryBuffer] text, i.e. without the preedit string. | ||
| 215 | func (x *EntryRow) SetAttributes(AttributesVar *pango.AttrList) { | 242 | func (x *EntryRow) SetAttributes(AttributesVar *pango.AttrList) { | ||
| 243 | + | core.LazyRegister(&xEntryRowSetAttributes, "ADW", "adw_entry_row_set_attributes", false) | |||
| 244 | + | ||||
| 216 | xEntryRowSetAttributes(x.GoPointer(), AttributesVar) | 245 | xEntryRowSetAttributes(x.GoPointer(), AttributesVar) | ||
| 217 | } | 246 | } | ||
| 218 | 247 | ||||
| @@ -222,6 +251,8 @@ var xEntryRowSetEnableEmojiCompletion func(uintptr, bool) | |||||
| 222 | // | 251 | // | ||
| 223 | // Emoji replacement is done with :-delimited names, like `:heart:`. | 252 | // Emoji replacement is done with :-delimited names, like `:heart:`. | ||
| 224 | func (x *EntryRow) SetEnableEmojiCompletion(EnableEmojiCompletionVar bool) { | 253 | func (x *EntryRow) SetEnableEmojiCompletion(EnableEmojiCompletionVar bool) { | ||
| 254 | + | core.LazyRegister(&xEntryRowSetEnableEmojiCompletion, "ADW", "adw_entry_row_set_enable_emoji_completion", false) | |||
| 255 | + | ||||
| 225 | xEntryRowSetEnableEmojiCompletion(x.GoPointer(), EnableEmojiCompletionVar) | 256 | xEntryRowSetEnableEmojiCompletion(x.GoPointer(), EnableEmojiCompletionVar) | ||
| 226 | } | 257 | } | ||
| 227 | 258 | ||||
| @@ -233,6 +264,8 @@ var xEntryRowSetInputHints func(uintptr, gtk.InputHints) | |||||
| 233 | // | 264 | // | ||
| 234 | // See also: [property@AdwEntryRow:input-purpose] | 265 | // See also: [property@AdwEntryRow:input-purpose] | ||
| 235 | func (x *EntryRow) SetInputHints(HintsVar gtk.InputHints) { | 266 | func (x *EntryRow) SetInputHints(HintsVar gtk.InputHints) { | ||
| 267 | + | core.LazyRegister(&xEntryRowSetInputHints, "ADW", "adw_entry_row_set_input_hints", false) | |||
| 268 | + | ||||
| 236 | xEntryRowSetInputHints(x.GoPointer(), HintsVar) | 269 | xEntryRowSetInputHints(x.GoPointer(), HintsVar) | ||
| 237 | } | 270 | } | ||
| 238 | 271 | ||||
| @@ -242,6 +275,8 @@ var xEntryRowSetInputPurpose func(uintptr, gtk.InputPurpose) | |||||
| 242 | // | 275 | // | ||
| 243 | // The input purpose can be used by input methods to adjust their behavior. | 276 | // The input purpose can be used by input methods to adjust their behavior. | ||
| 244 | func (x *EntryRow) SetInputPurpose(PurposeVar gtk.InputPurpose) { | 277 | func (x *EntryRow) SetInputPurpose(PurposeVar gtk.InputPurpose) { | ||
| 278 | + | core.LazyRegister(&xEntryRowSetInputPurpose, "ADW", "adw_entry_row_set_input_purpose", false) | |||
| 279 | + | ||||
| 245 | xEntryRowSetInputPurpose(x.GoPointer(), PurposeVar) | 280 | xEntryRowSetInputPurpose(x.GoPointer(), PurposeVar) | ||
| 246 | } | 281 | } | ||
| 247 | 282 | ||||
| @@ -249,6 +284,8 @@ var xEntryRowSetMaxLength func(uintptr, int) | |||||
| 249 | 284 | ||||
| 250 | // Sets the maximum length of the entry. | 285 | // Sets the maximum length of the entry. | ||
| 251 | func (x *EntryRow) SetMaxLength(MaxLengthVar int) { | 286 | func (x *EntryRow) SetMaxLength(MaxLengthVar int) { | ||
| 287 | + | core.LazyRegister(&xEntryRowSetMaxLength, "ADW", "adw_entry_row_set_max_length", false) | |||
| 288 | + | ||||
| 252 | xEntryRowSetMaxLength(x.GoPointer(), MaxLengthVar) | 289 | xEntryRowSetMaxLength(x.GoPointer(), MaxLengthVar) | ||
| 253 | } | 290 | } | ||
| 254 | 291 | ||||
| @@ -264,6 +301,8 @@ var xEntryRowSetShowApplyButton func(uintptr, bool) | |||||
| 264 | // operation, e.g. network activity, to avoid triggering it after typing every | 301 | // operation, e.g. network activity, to avoid triggering it after typing every | ||
| 265 | // character. | 302 | // character. | ||
| 266 | func (x *EntryRow) SetShowApplyButton(ShowApplyButtonVar bool) { | 303 | func (x *EntryRow) SetShowApplyButton(ShowApplyButtonVar bool) { | ||
| 304 | + | core.LazyRegister(&xEntryRowSetShowApplyButton, "ADW", "adw_entry_row_set_show_apply_button", false) | |||
| 305 | + | ||||
| 267 | xEntryRowSetShowApplyButton(x.GoPointer(), ShowApplyButtonVar) | 306 | xEntryRowSetShowApplyButton(x.GoPointer(), ShowApplyButtonVar) | ||
| 268 | } | 307 | } | ||
| 269 | 308 | ||||
| @@ -1035,36 +1074,4 @@ func (x *EntryRow) SetWidthChars(NCharsVar int) { | |||||
| 1035 | func init() { | 1074 | func init() { | ||
| 1036 | core.SetPackageName("ADW", "libadwaita-1") | 1075 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 1037 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 1076 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 1038 | - | var libs []uintptr | |||
| 1039 | - | for _, libPath := range core.GetPaths("ADW") { | |||
| 1040 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 1041 | - | if err != nil { | |||
| 1042 | - | panic(err) | |||
| 1043 | - | } | |||
| 1044 | - | libs = append(libs, lib) | |||
| 1045 | - | } | |||
| 1046 | - | ||||
| 1047 | - | core.PuregoSafeRegister(&xEntryRowGLibType, libs, "adw_entry_row_get_type") | |||
| 1048 | - | ||||
| 1049 | - | core.PuregoSafeRegister(&xNewEntryRow, libs, "adw_entry_row_new") | |||
| 1050 | - | ||||
| 1051 | - | core.PuregoSafeRegister(&xEntryRowAddPrefix, libs, "adw_entry_row_add_prefix") | |||
| 1052 | - | core.PuregoSafeRegister(&xEntryRowAddSuffix, libs, "adw_entry_row_add_suffix") | |||
| 1053 | - | core.PuregoSafeRegister(&xEntryRowGetActivatesDefault, libs, "adw_entry_row_get_activates_default") | |||
| 1054 | - | core.PuregoSafeRegister(&xEntryRowGetAttributes, libs, "adw_entry_row_get_attributes") | |||
| 1055 | - | core.PuregoSafeRegister(&xEntryRowGetEnableEmojiCompletion, libs, "adw_entry_row_get_enable_emoji_completion") | |||
| 1056 | - | core.PuregoSafeRegister(&xEntryRowGetInputHints, libs, "adw_entry_row_get_input_hints") | |||
| 1057 | - | core.PuregoSafeRegister(&xEntryRowGetInputPurpose, libs, "adw_entry_row_get_input_purpose") | |||
| 1058 | - | core.PuregoSafeRegister(&xEntryRowGetMaxLength, libs, "adw_entry_row_get_max_length") | |||
| 1059 | - | core.PuregoSafeRegister(&xEntryRowGetShowApplyButton, libs, "adw_entry_row_get_show_apply_button") | |||
| 1060 | - | core.PuregoSafeRegister(&xEntryRowGetTextLength, libs, "adw_entry_row_get_text_length") | |||
| 1061 | - | core.PuregoSafeRegister(&xEntryRowGrabFocusWithoutSelecting, libs, "adw_entry_row_grab_focus_without_selecting") | |||
| 1062 | - | core.PuregoSafeRegister(&xEntryRowRemove, libs, "adw_entry_row_remove") | |||
| 1063 | - | core.PuregoSafeRegister(&xEntryRowSetActivatesDefault, libs, "adw_entry_row_set_activates_default") | |||
| 1064 | - | core.PuregoSafeRegister(&xEntryRowSetAttributes, libs, "adw_entry_row_set_attributes") | |||
| 1065 | - | core.PuregoSafeRegister(&xEntryRowSetEnableEmojiCompletion, libs, "adw_entry_row_set_enable_emoji_completion") | |||
| 1066 | - | core.PuregoSafeRegister(&xEntryRowSetInputHints, libs, "adw_entry_row_set_input_hints") | |||
| 1067 | - | core.PuregoSafeRegister(&xEntryRowSetInputPurpose, libs, "adw_entry_row_set_input_purpose") | |||
| 1068 | - | core.PuregoSafeRegister(&xEntryRowSetMaxLength, libs, "adw_entry_row_set_max_length") | |||
| 1069 | - | core.PuregoSafeRegister(&xEntryRowSetShowApplyButton, libs, "adw_entry_row_set_show_apply_button") | |||
| 1070 | } | 1077 | } | ||