Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +25263 -27842
M go.mod +1 -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.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 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 | |
| @@ -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.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 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 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39
| @@ -5,6 +5,7 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | + | "github.com/bnema/purego" | |
| 8 | 9 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 10 | "github.com/bnema/puregotk/v4/gio" | |
| 10 | 11 | "github.com/bnema/puregotk/v4/glib" | |
| @@ -89,7 +90,6 @@ type SplitButton struct { | |||
| 89 | 90 | var xSplitButtonGLibType func() types.GType | |
| 90 | 91 | ||
| 91 | 92 | func SplitButtonGLibType() types.GType { | |
| 92 | - | core.LazyRegister(&xSplitButtonGLibType, "ADW", "adw_split_button_get_type", false) | |
| 93 | 93 | return xSplitButtonGLibType() | |
| 94 | 94 | } | |
| 95 | 95 | ||
| @@ -103,7 +103,6 @@ var xNewSplitButton func() uintptr | |||
| 103 | 103 | ||
| 104 | 104 | // Creates a new `AdwSplitButton`. | |
| 105 | 105 | func NewSplitButton() *SplitButton { | |
| 106 | - | core.LazyRegister(&xNewSplitButton, "ADW", "adw_split_button_new", false) | |
| 107 | 106 | var cls *SplitButton | |
| 108 | 107 | ||
| 109 | 108 | cret := xNewSplitButton() | |
| @@ -121,8 +120,6 @@ var xSplitButtonGetCanShrink func(uintptr) bool | |||
| 121 | 120 | ||
| 122 | 121 | // gets whether the button can be smaller than the natural size of its contents. | |
| 123 | 122 | func (x *SplitButton) GetCanShrink() bool { | |
| 124 | - | core.LazyRegister(&xSplitButtonGetCanShrink, "ADW", "adw_split_button_get_can_shrink", false) | |
| 125 | - | ||
| 126 | 123 | cret := xSplitButtonGetCanShrink(x.GoPointer()) | |
| 127 | 124 | return cret | |
| 128 | 125 | } | |
| @@ -131,7 +128,6 @@ var xSplitButtonGetChild func(uintptr) uintptr | |||
| 131 | 128 | ||
| 132 | 129 | // Gets the child widget. | |
| 133 | 130 | func (x *SplitButton) GetChild() *gtk.Widget { | |
| 134 | - | core.LazyRegister(&xSplitButtonGetChild, "ADW", "adw_split_button_get_child", false) | |
| 135 | 131 | var cls *gtk.Widget | |
| 136 | 132 | ||
| 137 | 133 | cret := xSplitButtonGetChild(x.GoPointer()) | |
| @@ -149,8 +145,6 @@ var xSplitButtonGetDirection func(uintptr) gtk.ArrowType | |||
| 149 | 145 | ||
| 150 | 146 | // Gets the direction in which the popup will be popped up. | |
| 151 | 147 | func (x *SplitButton) GetDirection() gtk.ArrowType { | |
| 152 | - | core.LazyRegister(&xSplitButtonGetDirection, "ADW", "adw_split_button_get_direction", false) | |
| 153 | - | ||
| 154 | 148 | cret := xSplitButtonGetDirection(x.GoPointer()) | |
| 155 | 149 | return cret | |
| 156 | 150 | } | |
| @@ -159,8 +153,6 @@ var xSplitButtonGetDropdownTooltip func(uintptr) string | |||
| 159 | 153 | ||
| 160 | 154 | // Gets the tooltip of the dropdown button of @self. | |
| 161 | 155 | func (x *SplitButton) GetDropdownTooltip() string { | |
| 162 | - | core.LazyRegister(&xSplitButtonGetDropdownTooltip, "ADW", "adw_split_button_get_dropdown_tooltip", false) | |
| 163 | - | ||
| 164 | 156 | cret := xSplitButtonGetDropdownTooltip(x.GoPointer()) | |
| 165 | 157 | return cret | |
| 166 | 158 | } | |
| @@ -169,8 +161,6 @@ var xSplitButtonGetIconName func(uintptr) string | |||
| 169 | 161 | ||
| 170 | 162 | // Gets the name of the icon used to automatically populate the button. | |
| 171 | 163 | func (x *SplitButton) GetIconName() string { | |
| 172 | - | core.LazyRegister(&xSplitButtonGetIconName, "ADW", "adw_split_button_get_icon_name", false) | |
| 173 | - | ||
| 174 | 164 | cret := xSplitButtonGetIconName(x.GoPointer()) | |
| 175 | 165 | return cret | |
| 176 | 166 | } | |
| @@ -179,8 +169,6 @@ var xSplitButtonGetLabel func(uintptr) string | |||
| 179 | 169 | ||
| 180 | 170 | // Gets the label for @self. | |
| 181 | 171 | func (x *SplitButton) GetLabel() string { | |
| 182 | - | core.LazyRegister(&xSplitButtonGetLabel, "ADW", "adw_split_button_get_label", false) | |
| 183 | - | ||
| 184 | 172 | cret := xSplitButtonGetLabel(x.GoPointer()) | |
| 185 | 173 | return cret | |
| 186 | 174 | } | |
| @@ -189,7 +177,6 @@ var xSplitButtonGetMenuModel func(uintptr) uintptr | |||
| 189 | 177 | ||
| 190 | 178 | // Gets the menu model from which the popup will be created. | |
| 191 | 179 | func (x *SplitButton) GetMenuModel() *gio.MenuModel { | |
| 192 | - | core.LazyRegister(&xSplitButtonGetMenuModel, "ADW", "adw_split_button_get_menu_model", false) | |
| 193 | 180 | var cls *gio.MenuModel | |
| 194 | 181 | ||
| 195 | 182 | cret := xSplitButtonGetMenuModel(x.GoPointer()) | |
| @@ -207,7 +194,6 @@ var xSplitButtonGetPopover func(uintptr) uintptr | |||
| 207 | 194 | ||
| 208 | 195 | // Gets the popover that will be popped up when the dropdown is clicked. | |
| 209 | 196 | func (x *SplitButton) GetPopover() *gtk.Popover { | |
| 210 | - | core.LazyRegister(&xSplitButtonGetPopover, "ADW", "adw_split_button_get_popover", false) | |
| 211 | 197 | var cls *gtk.Popover | |
| 212 | 198 | ||
| 213 | 199 | cret := xSplitButtonGetPopover(x.GoPointer()) | |
| @@ -225,8 +211,6 @@ var xSplitButtonGetUseUnderline func(uintptr) bool | |||
| 225 | 211 | ||
| 226 | 212 | // Gets whether an underline in the text indicates a mnemonic. | |
| 227 | 213 | func (x *SplitButton) GetUseUnderline() bool { | |
| 228 | - | core.LazyRegister(&xSplitButtonGetUseUnderline, "ADW", "adw_split_button_get_use_underline", false) | |
| 229 | - | ||
| 230 | 214 | cret := xSplitButtonGetUseUnderline(x.GoPointer()) | |
| 231 | 215 | return cret | |
| 232 | 216 | } | |
| @@ -235,8 +219,6 @@ var xSplitButtonPopdown func(uintptr) | |||
| 235 | 219 | ||
| 236 | 220 | // Dismisses the menu. | |
| 237 | 221 | func (x *SplitButton) Popdown() { | |
| 238 | - | core.LazyRegister(&xSplitButtonPopdown, "ADW", "adw_split_button_popdown", false) | |
| 239 | - | ||
| 240 | 222 | xSplitButtonPopdown(x.GoPointer()) | |
| 241 | 223 | } | |
| 242 | 224 | ||
| @@ -244,8 +226,6 @@ var xSplitButtonPopup func(uintptr) | |||
| 244 | 226 | ||
| 245 | 227 | // Pops up the menu. | |
| 246 | 228 | func (x *SplitButton) Popup() { | |
| 247 | - | core.LazyRegister(&xSplitButtonPopup, "ADW", "adw_split_button_popup", false) | |
| 248 | - | ||
| 249 | 229 | xSplitButtonPopup(x.GoPointer()) | |
| 250 | 230 | } | |
| 251 | 231 | ||
| @@ -258,8 +238,6 @@ var xSplitButtonSetCanShrink func(uintptr, bool) | |||
| 258 | 238 | // See [method@Gtk.Button.set_can_shrink] and | |
| 259 | 239 | // [method@Gtk.MenuButton.set_can_shrink]. | |
| 260 | 240 | func (x *SplitButton) SetCanShrink(CanShrinkVar bool) { | |
| 261 | - | core.LazyRegister(&xSplitButtonSetCanShrink, "ADW", "adw_split_button_set_can_shrink", false) | |
| 262 | - | ||
| 263 | 241 | xSplitButtonSetCanShrink(x.GoPointer(), CanShrinkVar) | |
| 264 | 242 | } | |
| 265 | 243 | ||
| @@ -270,8 +248,6 @@ var xSplitButtonSetChild func(uintptr, uintptr) | |||
| 270 | 248 | // Setting the child widget will set [property@SplitButton:label] and | |
| 271 | 249 | // [property@SplitButton:icon-name] to `NULL`. | |
| 272 | 250 | func (x *SplitButton) SetChild(ChildVar *gtk.Widget) { | |
| 273 | - | core.LazyRegister(&xSplitButtonSetChild, "ADW", "adw_split_button_set_child", false) | |
| 274 | - | ||
| 275 | 251 | xSplitButtonSetChild(x.GoPointer(), ChildVar.GoPointer()) | |
| 276 | 252 | } | |
| 277 | 253 | ||
| @@ -286,8 +262,6 @@ var xSplitButtonSetDirection func(uintptr, gtk.ArrowType) | |||
| 286 | 262 | // | |
| 287 | 263 | // [enum@Gtk.ArrowType.none] behaves same as [enum@Gtk.ArrowType.down]. | |
| 288 | 264 | func (x *SplitButton) SetDirection(DirectionVar gtk.ArrowType) { | |
| 289 | - | core.LazyRegister(&xSplitButtonSetDirection, "ADW", "adw_split_button_set_direction", false) | |
| 290 | - | ||
| 291 | 265 | xSplitButtonSetDirection(x.GoPointer(), DirectionVar) | |
| 292 | 266 | } | |
| 293 | 267 | ||
| @@ -297,8 +271,6 @@ var xSplitButtonSetDropdownTooltip func(uintptr, string) | |||
| 297 | 271 | // | |
| 298 | 272 | // The tooltip can be marked up with the Pango text markup language. | |
| 299 | 273 | func (x *SplitButton) SetDropdownTooltip(TooltipVar string) { | |
| 300 | - | core.LazyRegister(&xSplitButtonSetDropdownTooltip, "ADW", "adw_split_button_set_dropdown_tooltip", false) | |
| 301 | - | ||
| 302 | 274 | xSplitButtonSetDropdownTooltip(x.GoPointer(), TooltipVar) | |
| 303 | 275 | } | |
| 304 | 276 | ||
| @@ -309,8 +281,6 @@ var xSplitButtonSetIconName func(uintptr, string) | |||
| 309 | 281 | // Setting the icon name will set [property@SplitButton:label] and | |
| 310 | 282 | // [property@SplitButton:child] to `NULL`. | |
| 311 | 283 | func (x *SplitButton) SetIconName(IconNameVar string) { | |
| 312 | - | core.LazyRegister(&xSplitButtonSetIconName, "ADW", "adw_split_button_set_icon_name", false) | |
| 313 | - | ||
| 314 | 284 | xSplitButtonSetIconName(x.GoPointer(), IconNameVar) | |
| 315 | 285 | } | |
| 316 | 286 | ||
| @@ -321,8 +291,6 @@ var xSplitButtonSetLabel func(uintptr, string) | |||
| 321 | 291 | // Setting the label will set [property@SplitButton:icon-name] and | |
| 322 | 292 | // [property@SplitButton:child] to `NULL`. | |
| 323 | 293 | func (x *SplitButton) SetLabel(LabelVar string) { | |
| 324 | - | core.LazyRegister(&xSplitButtonSetLabel, "ADW", "adw_split_button_set_label", false) | |
| 325 | - | ||
| 326 | 294 | xSplitButtonSetLabel(x.GoPointer(), LabelVar) | |
| 327 | 295 | } | |
| 328 | 296 | ||
| @@ -339,8 +307,6 @@ var xSplitButtonSetMenuModel func(uintptr, uintptr) | |||
| 339 | 307 | // If [property@SplitButton:popover] is already set, it will be dissociated from | |
| 340 | 308 | // the button, and the property is set to `NULL`. | |
| 341 | 309 | func (x *SplitButton) SetMenuModel(MenuModelVar *gio.MenuModel) { | |
| 342 | - | core.LazyRegister(&xSplitButtonSetMenuModel, "ADW", "adw_split_button_set_menu_model", false) | |
| 343 | - | ||
| 344 | 310 | xSplitButtonSetMenuModel(x.GoPointer(), MenuModelVar.GoPointer()) | |
| 345 | 311 | } | |
| 346 | 312 | ||
| @@ -353,8 +319,6 @@ var xSplitButtonSetPopover func(uintptr, uintptr) | |||
| 353 | 319 | // If [property@SplitButton:menu-model] is set, the menu model is dissociated | |
| 354 | 320 | // from the button, and the property is set to `NULL`. | |
| 355 | 321 | func (x *SplitButton) SetPopover(PopoverVar *gtk.Popover) { | |
| 356 | - | core.LazyRegister(&xSplitButtonSetPopover, "ADW", "adw_split_button_set_popover", false) | |
| 357 | - | ||
| 358 | 322 | xSplitButtonSetPopover(x.GoPointer(), PopoverVar.GoPointer()) | |
| 359 | 323 | } | |
| 360 | 324 | ||
| @@ -364,8 +328,6 @@ var xSplitButtonSetUseUnderline func(uintptr, bool) | |||
| 364 | 328 | // | |
| 365 | 329 | // See [property@SplitButton:label]. | |
| 366 | 330 | func (x *SplitButton) SetUseUnderline(UseUnderlineVar bool) { | |
| 367 | - | core.LazyRegister(&xSplitButtonSetUseUnderline, "ADW", "adw_split_button_set_use_underline", false) | |
| 368 | - | ||
| 369 | 331 | xSplitButtonSetUseUnderline(x.GoPointer(), UseUnderlineVar) | |
| 370 | 332 | } | |
| 371 | 333 | ||
| @@ -886,4 +848,37 @@ func (x *SplitButton) GetBuildableId() string { | |||
| 886 | 848 | func init() { | |
| 887 | 849 | core.SetPackageName("ADW", "libadwaita-1") | |
| 888 | 850 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 851 | + | var libs []uintptr | |
| 852 | + | for _, libPath := range core.GetPaths("ADW") { | |
| 853 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 854 | + | if err != nil { | |
| 855 | + | panic(err) | |
| 856 | + | } | |
| 857 | + | libs = append(libs, lib) | |
| 858 | + | } | |
| 859 | + | ||
| 860 | + | core.PuregoSafeRegister(&xSplitButtonGLibType, libs, "adw_split_button_get_type") | |
| 861 | + | ||
| 862 | + | core.PuregoSafeRegister(&xNewSplitButton, libs, "adw_split_button_new") | |
| 863 | + | ||
| 864 | + | core.PuregoSafeRegister(&xSplitButtonGetCanShrink, libs, "adw_split_button_get_can_shrink") | |
| 865 | + | core.PuregoSafeRegister(&xSplitButtonGetChild, libs, "adw_split_button_get_child") | |
| 866 | + | core.PuregoSafeRegister(&xSplitButtonGetDirection, libs, "adw_split_button_get_direction") | |
| 867 | + | core.PuregoSafeRegister(&xSplitButtonGetDropdownTooltip, libs, "adw_split_button_get_dropdown_tooltip") | |
| 868 | + | core.PuregoSafeRegister(&xSplitButtonGetIconName, libs, "adw_split_button_get_icon_name") | |
| 869 | + | core.PuregoSafeRegister(&xSplitButtonGetLabel, libs, "adw_split_button_get_label") | |
| 870 | + | core.PuregoSafeRegister(&xSplitButtonGetMenuModel, libs, "adw_split_button_get_menu_model") | |
| 871 | + | core.PuregoSafeRegister(&xSplitButtonGetPopover, libs, "adw_split_button_get_popover") | |
| 872 | + | core.PuregoSafeRegister(&xSplitButtonGetUseUnderline, libs, "adw_split_button_get_use_underline") | |
| 873 | + | core.PuregoSafeRegister(&xSplitButtonPopdown, libs, "adw_split_button_popdown") | |
| 874 | + | core.PuregoSafeRegister(&xSplitButtonPopup, libs, "adw_split_button_popup") | |
| 875 | + | core.PuregoSafeRegister(&xSplitButtonSetCanShrink, libs, "adw_split_button_set_can_shrink") | |
| 876 | + | core.PuregoSafeRegister(&xSplitButtonSetChild, libs, "adw_split_button_set_child") | |
| 877 | + | core.PuregoSafeRegister(&xSplitButtonSetDirection, libs, "adw_split_button_set_direction") | |
| 878 | + | core.PuregoSafeRegister(&xSplitButtonSetDropdownTooltip, libs, "adw_split_button_set_dropdown_tooltip") | |
| 879 | + | core.PuregoSafeRegister(&xSplitButtonSetIconName, libs, "adw_split_button_set_icon_name") | |
| 880 | + | core.PuregoSafeRegister(&xSplitButtonSetLabel, libs, "adw_split_button_set_label") | |
| 881 | + | core.PuregoSafeRegister(&xSplitButtonSetMenuModel, libs, "adw_split_button_set_menu_model") | |
| 882 | + | core.PuregoSafeRegister(&xSplitButtonSetPopover, libs, "adw_split_button_set_popover") | |
| 883 | + | core.PuregoSafeRegister(&xSplitButtonSetUseUnderline, libs, "adw_split_button_set_use_underline") | |
| 889 | 884 | } | |
| @@ -5,6 +5,7 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | + | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 9 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/gio" | 10 | "github.com/bnema/puregotk/v4/gio" | ||
| 10 | "github.com/bnema/puregotk/v4/glib" | 11 | "github.com/bnema/puregotk/v4/glib" | ||
| @@ -89,7 +90,6 @@ type SplitButton struct { | |||||
| 89 | var xSplitButtonGLibType func() types.GType | 90 | var xSplitButtonGLibType func() types.GType | ||
| 90 | 91 | ||||
| 91 | func SplitButtonGLibType() types.GType { | 92 | func SplitButtonGLibType() types.GType { | ||
| 92 | - | core.LazyRegister(&xSplitButtonGLibType, "ADW", "adw_split_button_get_type", false) | |||
| 93 | return xSplitButtonGLibType() | 93 | return xSplitButtonGLibType() | ||
| 94 | } | 94 | } | ||
| 95 | 95 | ||||
| @@ -103,7 +103,6 @@ var xNewSplitButton func() uintptr | |||||
| 103 | 103 | ||||
| 104 | // Creates a new `AdwSplitButton`. | 104 | // Creates a new `AdwSplitButton`. | ||
| 105 | func NewSplitButton() *SplitButton { | 105 | func NewSplitButton() *SplitButton { | ||
| 106 | - | core.LazyRegister(&xNewSplitButton, "ADW", "adw_split_button_new", false) | |||
| 107 | var cls *SplitButton | 106 | var cls *SplitButton | ||
| 108 | 107 | ||||
| 109 | cret := xNewSplitButton() | 108 | cret := xNewSplitButton() | ||
| @@ -121,8 +120,6 @@ var xSplitButtonGetCanShrink func(uintptr) bool | |||||
| 121 | 120 | ||||
| 122 | // gets whether the button can be smaller than the natural size of its contents. | 121 | // gets whether the button can be smaller than the natural size of its contents. | ||
| 123 | func (x *SplitButton) GetCanShrink() bool { | 122 | func (x *SplitButton) GetCanShrink() bool { | ||
| 124 | - | core.LazyRegister(&xSplitButtonGetCanShrink, "ADW", "adw_split_button_get_can_shrink", false) | |||
| 125 | - | ||||
| 126 | cret := xSplitButtonGetCanShrink(x.GoPointer()) | 123 | cret := xSplitButtonGetCanShrink(x.GoPointer()) | ||
| 127 | return cret | 124 | return cret | ||
| 128 | } | 125 | } | ||
| @@ -131,7 +128,6 @@ var xSplitButtonGetChild func(uintptr) uintptr | |||||
| 131 | 128 | ||||
| 132 | // Gets the child widget. | 129 | // Gets the child widget. | ||
| 133 | func (x *SplitButton) GetChild() *gtk.Widget { | 130 | func (x *SplitButton) GetChild() *gtk.Widget { | ||
| 134 | - | core.LazyRegister(&xSplitButtonGetChild, "ADW", "adw_split_button_get_child", false) | |||
| 135 | var cls *gtk.Widget | 131 | var cls *gtk.Widget | ||
| 136 | 132 | ||||
| 137 | cret := xSplitButtonGetChild(x.GoPointer()) | 133 | cret := xSplitButtonGetChild(x.GoPointer()) | ||
| @@ -149,8 +145,6 @@ var xSplitButtonGetDirection func(uintptr) gtk.ArrowType | |||||
| 149 | 145 | ||||
| 150 | // Gets the direction in which the popup will be popped up. | 146 | // Gets the direction in which the popup will be popped up. | ||
| 151 | func (x *SplitButton) GetDirection() gtk.ArrowType { | 147 | func (x *SplitButton) GetDirection() gtk.ArrowType { | ||
| 152 | - | core.LazyRegister(&xSplitButtonGetDirection, "ADW", "adw_split_button_get_direction", false) | |||
| 153 | - | ||||
| 154 | cret := xSplitButtonGetDirection(x.GoPointer()) | 148 | cret := xSplitButtonGetDirection(x.GoPointer()) | ||
| 155 | return cret | 149 | return cret | ||
| 156 | } | 150 | } | ||
| @@ -159,8 +153,6 @@ var xSplitButtonGetDropdownTooltip func(uintptr) string | |||||
| 159 | 153 | ||||
| 160 | // Gets the tooltip of the dropdown button of @self. | 154 | // Gets the tooltip of the dropdown button of @self. | ||
| 161 | func (x *SplitButton) GetDropdownTooltip() string { | 155 | func (x *SplitButton) GetDropdownTooltip() string { | ||
| 162 | - | core.LazyRegister(&xSplitButtonGetDropdownTooltip, "ADW", "adw_split_button_get_dropdown_tooltip", false) | |||
| 163 | - | ||||
| 164 | cret := xSplitButtonGetDropdownTooltip(x.GoPointer()) | 156 | cret := xSplitButtonGetDropdownTooltip(x.GoPointer()) | ||
| 165 | return cret | 157 | return cret | ||
| 166 | } | 158 | } | ||
| @@ -169,8 +161,6 @@ var xSplitButtonGetIconName func(uintptr) string | |||||
| 169 | 161 | ||||
| 170 | // Gets the name of the icon used to automatically populate the button. | 162 | // Gets the name of the icon used to automatically populate the button. | ||
| 171 | func (x *SplitButton) GetIconName() string { | 163 | func (x *SplitButton) GetIconName() string { | ||
| 172 | - | core.LazyRegister(&xSplitButtonGetIconName, "ADW", "adw_split_button_get_icon_name", false) | |||
| 173 | - | ||||
| 174 | cret := xSplitButtonGetIconName(x.GoPointer()) | 164 | cret := xSplitButtonGetIconName(x.GoPointer()) | ||
| 175 | return cret | 165 | return cret | ||
| 176 | } | 166 | } | ||
| @@ -179,8 +169,6 @@ var xSplitButtonGetLabel func(uintptr) string | |||||
| 179 | 169 | ||||
| 180 | // Gets the label for @self. | 170 | // Gets the label for @self. | ||
| 181 | func (x *SplitButton) GetLabel() string { | 171 | func (x *SplitButton) GetLabel() string { | ||
| 182 | - | core.LazyRegister(&xSplitButtonGetLabel, "ADW", "adw_split_button_get_label", false) | |||
| 183 | - | ||||
| 184 | cret := xSplitButtonGetLabel(x.GoPointer()) | 172 | cret := xSplitButtonGetLabel(x.GoPointer()) | ||
| 185 | return cret | 173 | return cret | ||
| 186 | } | 174 | } | ||
| @@ -189,7 +177,6 @@ var xSplitButtonGetMenuModel func(uintptr) uintptr | |||||
| 189 | 177 | ||||
| 190 | // Gets the menu model from which the popup will be created. | 178 | // Gets the menu model from which the popup will be created. | ||
| 191 | func (x *SplitButton) GetMenuModel() *gio.MenuModel { | 179 | func (x *SplitButton) GetMenuModel() *gio.MenuModel { | ||
| 192 | - | core.LazyRegister(&xSplitButtonGetMenuModel, "ADW", "adw_split_button_get_menu_model", false) | |||
| 193 | var cls *gio.MenuModel | 180 | var cls *gio.MenuModel | ||
| 194 | 181 | ||||
| 195 | cret := xSplitButtonGetMenuModel(x.GoPointer()) | 182 | cret := xSplitButtonGetMenuModel(x.GoPointer()) | ||
| @@ -207,7 +194,6 @@ var xSplitButtonGetPopover func(uintptr) uintptr | |||||
| 207 | 194 | ||||
| 208 | // Gets the popover that will be popped up when the dropdown is clicked. | 195 | // Gets the popover that will be popped up when the dropdown is clicked. | ||
| 209 | func (x *SplitButton) GetPopover() *gtk.Popover { | 196 | func (x *SplitButton) GetPopover() *gtk.Popover { | ||
| 210 | - | core.LazyRegister(&xSplitButtonGetPopover, "ADW", "adw_split_button_get_popover", false) | |||
| 211 | var cls *gtk.Popover | 197 | var cls *gtk.Popover | ||
| 212 | 198 | ||||
| 213 | cret := xSplitButtonGetPopover(x.GoPointer()) | 199 | cret := xSplitButtonGetPopover(x.GoPointer()) | ||
| @@ -225,8 +211,6 @@ var xSplitButtonGetUseUnderline func(uintptr) bool | |||||
| 225 | 211 | ||||
| 226 | // Gets whether an underline in the text indicates a mnemonic. | 212 | // Gets whether an underline in the text indicates a mnemonic. | ||
| 227 | func (x *SplitButton) GetUseUnderline() bool { | 213 | func (x *SplitButton) GetUseUnderline() bool { | ||
| 228 | - | core.LazyRegister(&xSplitButtonGetUseUnderline, "ADW", "adw_split_button_get_use_underline", false) | |||
| 229 | - | ||||
| 230 | cret := xSplitButtonGetUseUnderline(x.GoPointer()) | 214 | cret := xSplitButtonGetUseUnderline(x.GoPointer()) | ||
| 231 | return cret | 215 | return cret | ||
| 232 | } | 216 | } | ||
| @@ -235,8 +219,6 @@ var xSplitButtonPopdown func(uintptr) | |||||
| 235 | 219 | ||||
| 236 | // Dismisses the menu. | 220 | // Dismisses the menu. | ||
| 237 | func (x *SplitButton) Popdown() { | 221 | func (x *SplitButton) Popdown() { | ||
| 238 | - | core.LazyRegister(&xSplitButtonPopdown, "ADW", "adw_split_button_popdown", false) | |||
| 239 | - | ||||
| 240 | xSplitButtonPopdown(x.GoPointer()) | 222 | xSplitButtonPopdown(x.GoPointer()) | ||
| 241 | } | 223 | } | ||
| 242 | 224 | ||||
| @@ -244,8 +226,6 @@ var xSplitButtonPopup func(uintptr) | |||||
| 244 | 226 | ||||
| 245 | // Pops up the menu. | 227 | // Pops up the menu. | ||
| 246 | func (x *SplitButton) Popup() { | 228 | func (x *SplitButton) Popup() { | ||
| 247 | - | core.LazyRegister(&xSplitButtonPopup, "ADW", "adw_split_button_popup", false) | |||
| 248 | - | ||||
| 249 | xSplitButtonPopup(x.GoPointer()) | 229 | xSplitButtonPopup(x.GoPointer()) | ||
| 250 | } | 230 | } | ||
| 251 | 231 | ||||
| @@ -258,8 +238,6 @@ var xSplitButtonSetCanShrink func(uintptr, bool) | |||||
| 258 | // See [method@Gtk.Button.set_can_shrink] and | 238 | // See [method@Gtk.Button.set_can_shrink] and | ||
| 259 | // [method@Gtk.MenuButton.set_can_shrink]. | 239 | // [method@Gtk.MenuButton.set_can_shrink]. | ||
| 260 | func (x *SplitButton) SetCanShrink(CanShrinkVar bool) { | 240 | func (x *SplitButton) SetCanShrink(CanShrinkVar bool) { | ||
| 261 | - | core.LazyRegister(&xSplitButtonSetCanShrink, "ADW", "adw_split_button_set_can_shrink", false) | |||
| 262 | - | ||||
| 263 | xSplitButtonSetCanShrink(x.GoPointer(), CanShrinkVar) | 241 | xSplitButtonSetCanShrink(x.GoPointer(), CanShrinkVar) | ||
| 264 | } | 242 | } | ||
| 265 | 243 | ||||
| @@ -270,8 +248,6 @@ var xSplitButtonSetChild func(uintptr, uintptr) | |||||
| 270 | // Setting the child widget will set [property@SplitButton:label] and | 248 | // Setting the child widget will set [property@SplitButton:label] and | ||
| 271 | // [property@SplitButton:icon-name] to `NULL`. | 249 | // [property@SplitButton:icon-name] to `NULL`. | ||
| 272 | func (x *SplitButton) SetChild(ChildVar *gtk.Widget) { | 250 | func (x *SplitButton) SetChild(ChildVar *gtk.Widget) { | ||
| 273 | - | core.LazyRegister(&xSplitButtonSetChild, "ADW", "adw_split_button_set_child", false) | |||
| 274 | - | ||||
| 275 | xSplitButtonSetChild(x.GoPointer(), ChildVar.GoPointer()) | 251 | xSplitButtonSetChild(x.GoPointer(), ChildVar.GoPointer()) | ||
| 276 | } | 252 | } | ||
| 277 | 253 | ||||
| @@ -286,8 +262,6 @@ var xSplitButtonSetDirection func(uintptr, gtk.ArrowType) | |||||
| 286 | // | 262 | // | ||
| 287 | // [enum@Gtk.ArrowType.none] behaves same as [enum@Gtk.ArrowType.down]. | 263 | // [enum@Gtk.ArrowType.none] behaves same as [enum@Gtk.ArrowType.down]. | ||
| 288 | func (x *SplitButton) SetDirection(DirectionVar gtk.ArrowType) { | 264 | func (x *SplitButton) SetDirection(DirectionVar gtk.ArrowType) { | ||
| 289 | - | core.LazyRegister(&xSplitButtonSetDirection, "ADW", "adw_split_button_set_direction", false) | |||
| 290 | - | ||||
| 291 | xSplitButtonSetDirection(x.GoPointer(), DirectionVar) | 265 | xSplitButtonSetDirection(x.GoPointer(), DirectionVar) | ||
| 292 | } | 266 | } | ||
| 293 | 267 | ||||
| @@ -297,8 +271,6 @@ var xSplitButtonSetDropdownTooltip func(uintptr, string) | |||||
| 297 | // | 271 | // | ||
| 298 | // The tooltip can be marked up with the Pango text markup language. | 272 | // The tooltip can be marked up with the Pango text markup language. | ||
| 299 | func (x *SplitButton) SetDropdownTooltip(TooltipVar string) { | 273 | func (x *SplitButton) SetDropdownTooltip(TooltipVar string) { | ||
| 300 | - | core.LazyRegister(&xSplitButtonSetDropdownTooltip, "ADW", "adw_split_button_set_dropdown_tooltip", false) | |||
| 301 | - | ||||
| 302 | xSplitButtonSetDropdownTooltip(x.GoPointer(), TooltipVar) | 274 | xSplitButtonSetDropdownTooltip(x.GoPointer(), TooltipVar) | ||
| 303 | } | 275 | } | ||
| 304 | 276 | ||||
| @@ -309,8 +281,6 @@ var xSplitButtonSetIconName func(uintptr, string) | |||||
| 309 | // Setting the icon name will set [property@SplitButton:label] and | 281 | // Setting the icon name will set [property@SplitButton:label] and | ||
| 310 | // [property@SplitButton:child] to `NULL`. | 282 | // [property@SplitButton:child] to `NULL`. | ||
| 311 | func (x *SplitButton) SetIconName(IconNameVar string) { | 283 | func (x *SplitButton) SetIconName(IconNameVar string) { | ||
| 312 | - | core.LazyRegister(&xSplitButtonSetIconName, "ADW", "adw_split_button_set_icon_name", false) | |||
| 313 | - | ||||
| 314 | xSplitButtonSetIconName(x.GoPointer(), IconNameVar) | 284 | xSplitButtonSetIconName(x.GoPointer(), IconNameVar) | ||
| 315 | } | 285 | } | ||
| 316 | 286 | ||||
| @@ -321,8 +291,6 @@ var xSplitButtonSetLabel func(uintptr, string) | |||||
| 321 | // Setting the label will set [property@SplitButton:icon-name] and | 291 | // Setting the label will set [property@SplitButton:icon-name] and | ||
| 322 | // [property@SplitButton:child] to `NULL`. | 292 | // [property@SplitButton:child] to `NULL`. | ||
| 323 | func (x *SplitButton) SetLabel(LabelVar string) { | 293 | func (x *SplitButton) SetLabel(LabelVar string) { | ||
| 324 | - | core.LazyRegister(&xSplitButtonSetLabel, "ADW", "adw_split_button_set_label", false) | |||
| 325 | - | ||||
| 326 | xSplitButtonSetLabel(x.GoPointer(), LabelVar) | 294 | xSplitButtonSetLabel(x.GoPointer(), LabelVar) | ||
| 327 | } | 295 | } | ||
| 328 | 296 | ||||
| @@ -339,8 +307,6 @@ var xSplitButtonSetMenuModel func(uintptr, uintptr) | |||||
| 339 | // If [property@SplitButton:popover] is already set, it will be dissociated from | 307 | // If [property@SplitButton:popover] is already set, it will be dissociated from | ||
| 340 | // the button, and the property is set to `NULL`. | 308 | // the button, and the property is set to `NULL`. | ||
| 341 | func (x *SplitButton) SetMenuModel(MenuModelVar *gio.MenuModel) { | 309 | func (x *SplitButton) SetMenuModel(MenuModelVar *gio.MenuModel) { | ||
| 342 | - | core.LazyRegister(&xSplitButtonSetMenuModel, "ADW", "adw_split_button_set_menu_model", false) | |||
| 343 | - | ||||
| 344 | xSplitButtonSetMenuModel(x.GoPointer(), MenuModelVar.GoPointer()) | 310 | xSplitButtonSetMenuModel(x.GoPointer(), MenuModelVar.GoPointer()) | ||
| 345 | } | 311 | } | ||
| 346 | 312 | ||||
| @@ -353,8 +319,6 @@ var xSplitButtonSetPopover func(uintptr, uintptr) | |||||
| 353 | // If [property@SplitButton:menu-model] is set, the menu model is dissociated | 319 | // If [property@SplitButton:menu-model] is set, the menu model is dissociated | ||
| 354 | // from the button, and the property is set to `NULL`. | 320 | // from the button, and the property is set to `NULL`. | ||
| 355 | func (x *SplitButton) SetPopover(PopoverVar *gtk.Popover) { | 321 | func (x *SplitButton) SetPopover(PopoverVar *gtk.Popover) { | ||
| 356 | - | core.LazyRegister(&xSplitButtonSetPopover, "ADW", "adw_split_button_set_popover", false) | |||
| 357 | - | ||||
| 358 | xSplitButtonSetPopover(x.GoPointer(), PopoverVar.GoPointer()) | 322 | xSplitButtonSetPopover(x.GoPointer(), PopoverVar.GoPointer()) | ||
| 359 | } | 323 | } | ||
| 360 | 324 | ||||
| @@ -364,8 +328,6 @@ var xSplitButtonSetUseUnderline func(uintptr, bool) | |||||
| 364 | // | 328 | // | ||
| 365 | // See [property@SplitButton:label]. | 329 | // See [property@SplitButton:label]. | ||
| 366 | func (x *SplitButton) SetUseUnderline(UseUnderlineVar bool) { | 330 | func (x *SplitButton) SetUseUnderline(UseUnderlineVar bool) { | ||
| 367 | - | core.LazyRegister(&xSplitButtonSetUseUnderline, "ADW", "adw_split_button_set_use_underline", false) | |||
| 368 | - | ||||
| 369 | xSplitButtonSetUseUnderline(x.GoPointer(), UseUnderlineVar) | 331 | xSplitButtonSetUseUnderline(x.GoPointer(), UseUnderlineVar) | ||
| 370 | } | 332 | } | ||
| 371 | 333 | ||||
| @@ -886,4 +848,37 @@ func (x *SplitButton) GetBuildableId() string { | |||||
| 886 | func init() { | 848 | func init() { | ||
| 887 | core.SetPackageName("ADW", "libadwaita-1") | 849 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 888 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 850 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 851 | + | var libs []uintptr | |||
| 852 | + | for _, libPath := range core.GetPaths("ADW") { | |||
| 853 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 854 | + | if err != nil { | |||
| 855 | + | panic(err) | |||
| 856 | + | } | |||
| 857 | + | libs = append(libs, lib) | |||
| 858 | + | } | |||
| 859 | + | ||||
| 860 | + | core.PuregoSafeRegister(&xSplitButtonGLibType, libs, "adw_split_button_get_type") | |||
| 861 | + | ||||
| 862 | + | core.PuregoSafeRegister(&xNewSplitButton, libs, "adw_split_button_new") | |||
| 863 | + | ||||
| 864 | + | core.PuregoSafeRegister(&xSplitButtonGetCanShrink, libs, "adw_split_button_get_can_shrink") | |||
| 865 | + | core.PuregoSafeRegister(&xSplitButtonGetChild, libs, "adw_split_button_get_child") | |||
| 866 | + | core.PuregoSafeRegister(&xSplitButtonGetDirection, libs, "adw_split_button_get_direction") | |||
| 867 | + | core.PuregoSafeRegister(&xSplitButtonGetDropdownTooltip, libs, "adw_split_button_get_dropdown_tooltip") | |||
| 868 | + | core.PuregoSafeRegister(&xSplitButtonGetIconName, libs, "adw_split_button_get_icon_name") | |||
| 869 | + | core.PuregoSafeRegister(&xSplitButtonGetLabel, libs, "adw_split_button_get_label") | |||
| 870 | + | core.PuregoSafeRegister(&xSplitButtonGetMenuModel, libs, "adw_split_button_get_menu_model") | |||
| 871 | + | core.PuregoSafeRegister(&xSplitButtonGetPopover, libs, "adw_split_button_get_popover") | |||
| 872 | + | core.PuregoSafeRegister(&xSplitButtonGetUseUnderline, libs, "adw_split_button_get_use_underline") | |||
| 873 | + | core.PuregoSafeRegister(&xSplitButtonPopdown, libs, "adw_split_button_popdown") | |||
| 874 | + | core.PuregoSafeRegister(&xSplitButtonPopup, libs, "adw_split_button_popup") | |||
| 875 | + | core.PuregoSafeRegister(&xSplitButtonSetCanShrink, libs, "adw_split_button_set_can_shrink") | |||
| 876 | + | core.PuregoSafeRegister(&xSplitButtonSetChild, libs, "adw_split_button_set_child") | |||
| 877 | + | core.PuregoSafeRegister(&xSplitButtonSetDirection, libs, "adw_split_button_set_direction") | |||
| 878 | + | core.PuregoSafeRegister(&xSplitButtonSetDropdownTooltip, libs, "adw_split_button_set_dropdown_tooltip") | |||
| 879 | + | core.PuregoSafeRegister(&xSplitButtonSetIconName, libs, "adw_split_button_set_icon_name") | |||
| 880 | + | core.PuregoSafeRegister(&xSplitButtonSetLabel, libs, "adw_split_button_set_label") | |||
| 881 | + | core.PuregoSafeRegister(&xSplitButtonSetMenuModel, libs, "adw_split_button_set_menu_model") | |||
| 882 | + | core.PuregoSafeRegister(&xSplitButtonSetPopover, libs, "adw_split_button_set_popover") | |||
| 883 | + | core.PuregoSafeRegister(&xSplitButtonSetUseUnderline, libs, "adw_split_button_set_use_underline") | |||
| 889 | } | 884 | } | ||