Gir: Update files from Alpine
- commit
- c0f4c14b755ddf816b21ac7542b09fb75a53ae4a
- author
- Jeroen Wijenbergh · · 2025-10-16 14:26 UTC
- parent
- 2379e37
- signature
- SSH Unverified
SHA256:8N5EoON8reSTMm461SyWlzRhib6IymBjUHb1p62kwywThe key is unknown
12 files · +175270 -119853
M internal/gir/spec/Adw-1.gir +9511 -4619 large diff (14130 lines changed): collapsed
M internal/gir/spec/GLib-2.0.gir +34942 -25769 large diff (60711 lines changed): collapsed
M internal/gir/spec/GModule-2.0.gir +1281 -210
| @@ -13,97 +13,1202 @@ and/or use gtk-doc annotations. --> | |||
| 13 | 13 | version="2.0" | |
| 14 | 14 | shared-library="libgmodule-2.0.so.0" | |
| 15 | 15 | c:identifier-prefixes="G" | |
| 16 | - | c:symbol-prefixes="g"> | |
| 17 | - | <record name="Module" c:type="GModule" disguised="1"> | |
| 16 | + | c:symbol-prefixes="gmodule,g"> | |
| 17 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_26_FOR" | |
| 18 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_26_FOR" | |
| 19 | + | introspectable="0"> | |
| 20 | + | <source-position filename="gmodule/gmodule-visibility.h" line="42"/> | |
| 21 | + | <parameters> | |
| 22 | + | <parameter name="f"> | |
| 23 | + | </parameter> | |
| 24 | + | </parameters> | |
| 25 | + | </function-macro> | |
| 26 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_28_FOR" | |
| 27 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_28_FOR" | |
| 28 | + | introspectable="0"> | |
| 29 | + | <source-position filename="gmodule/gmodule-visibility.h" line="76"/> | |
| 30 | + | <parameters> | |
| 31 | + | <parameter name="f"> | |
| 32 | + | </parameter> | |
| 33 | + | </parameters> | |
| 34 | + | </function-macro> | |
| 35 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_30_FOR" | |
| 36 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_30_FOR" | |
| 37 | + | introspectable="0"> | |
| 38 | + | <source-position filename="gmodule/gmodule-visibility.h" line="110"/> | |
| 39 | + | <parameters> | |
| 40 | + | <parameter name="f"> | |
| 41 | + | </parameter> | |
| 42 | + | </parameters> | |
| 43 | + | </function-macro> | |
| 44 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_32_FOR" | |
| 45 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_32_FOR" | |
| 46 | + | introspectable="0"> | |
| 47 | + | <source-position filename="gmodule/gmodule-visibility.h" line="144"/> | |
| 48 | + | <parameters> | |
| 49 | + | <parameter name="f"> | |
| 50 | + | </parameter> | |
| 51 | + | </parameters> | |
| 52 | + | </function-macro> | |
| 53 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_34_FOR" | |
| 54 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_34_FOR" | |
| 55 | + | introspectable="0"> | |
| 56 | + | <source-position filename="gmodule/gmodule-visibility.h" line="178"/> | |
| 57 | + | <parameters> | |
| 58 | + | <parameter name="f"> | |
| 59 | + | </parameter> | |
| 60 | + | </parameters> | |
| 61 | + | </function-macro> | |
| 62 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_36_FOR" | |
| 63 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_36_FOR" | |
| 64 | + | introspectable="0"> | |
| 65 | + | <source-position filename="gmodule/gmodule-visibility.h" line="212"/> | |
| 66 | + | <parameters> | |
| 67 | + | <parameter name="f"> | |
| 68 | + | </parameter> | |
| 69 | + | </parameters> | |
| 70 | + | </function-macro> | |
| 71 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_38_FOR" | |
| 72 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_38_FOR" | |
| 73 | + | introspectable="0"> | |
| 74 | + | <source-position filename="gmodule/gmodule-visibility.h" line="246"/> | |
| 75 | + | <parameters> | |
| 76 | + | <parameter name="f"> | |
| 77 | + | </parameter> | |
| 78 | + | </parameters> | |
| 79 | + | </function-macro> | |
| 80 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_40_FOR" | |
| 81 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_40_FOR" | |
| 82 | + | introspectable="0"> | |
| 83 | + | <source-position filename="gmodule/gmodule-visibility.h" line="280"/> | |
| 84 | + | <parameters> | |
| 85 | + | <parameter name="f"> | |
| 86 | + | </parameter> | |
| 87 | + | </parameters> | |
| 88 | + | </function-macro> | |
| 89 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_42_FOR" | |
| 90 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_42_FOR" | |
| 91 | + | introspectable="0"> | |
| 92 | + | <source-position filename="gmodule/gmodule-visibility.h" line="314"/> | |
| 93 | + | <parameters> | |
| 94 | + | <parameter name="f"> | |
| 95 | + | </parameter> | |
| 96 | + | </parameters> | |
| 97 | + | </function-macro> | |
| 98 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_44_FOR" | |
| 99 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_44_FOR" | |
| 100 | + | introspectable="0"> | |
| 101 | + | <source-position filename="gmodule/gmodule-visibility.h" line="348"/> | |
| 102 | + | <parameters> | |
| 103 | + | <parameter name="f"> | |
| 104 | + | </parameter> | |
| 105 | + | </parameters> | |
| 106 | + | </function-macro> | |
| 107 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_46_FOR" | |
| 108 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_46_FOR" | |
| 109 | + | introspectable="0"> | |
| 110 | + | <source-position filename="gmodule/gmodule-visibility.h" line="382"/> | |
| 111 | + | <parameters> | |
| 112 | + | <parameter name="f"> | |
| 113 | + | </parameter> | |
| 114 | + | </parameters> | |
| 115 | + | </function-macro> | |
| 116 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_48_FOR" | |
| 117 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_48_FOR" | |
| 118 | + | introspectable="0"> | |
| 119 | + | <source-position filename="gmodule/gmodule-visibility.h" line="416"/> | |
| 120 | + | <parameters> | |
| 121 | + | <parameter name="f"> | |
| 122 | + | </parameter> | |
| 123 | + | </parameters> | |
| 124 | + | </function-macro> | |
| 125 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_50_FOR" | |
| 126 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_50_FOR" | |
| 127 | + | introspectable="0"> | |
| 128 | + | <source-position filename="gmodule/gmodule-visibility.h" line="450"/> | |
| 129 | + | <parameters> | |
| 130 | + | <parameter name="f"> | |
| 131 | + | </parameter> | |
| 132 | + | </parameters> | |
| 133 | + | </function-macro> | |
| 134 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_52_FOR" | |
| 135 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_52_FOR" | |
| 136 | + | introspectable="0"> | |
| 137 | + | <source-position filename="gmodule/gmodule-visibility.h" line="484"/> | |
| 138 | + | <parameters> | |
| 139 | + | <parameter name="f"> | |
| 140 | + | </parameter> | |
| 141 | + | </parameters> | |
| 142 | + | </function-macro> | |
| 143 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_54_FOR" | |
| 144 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_54_FOR" | |
| 145 | + | introspectable="0"> | |
| 146 | + | <source-position filename="gmodule/gmodule-visibility.h" line="518"/> | |
| 147 | + | <parameters> | |
| 148 | + | <parameter name="f"> | |
| 149 | + | </parameter> | |
| 150 | + | </parameters> | |
| 151 | + | </function-macro> | |
| 152 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_56_FOR" | |
| 153 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_56_FOR" | |
| 154 | + | introspectable="0"> | |
| 155 | + | <source-position filename="gmodule/gmodule-visibility.h" line="552"/> | |
| 156 | + | <parameters> | |
| 157 | + | <parameter name="f"> | |
| 158 | + | </parameter> | |
| 159 | + | </parameters> | |
| 160 | + | </function-macro> | |
| 161 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_58_FOR" | |
| 162 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_58_FOR" | |
| 163 | + | introspectable="0"> | |
| 164 | + | <source-position filename="gmodule/gmodule-visibility.h" line="586"/> | |
| 165 | + | <parameters> | |
| 166 | + | <parameter name="f"> | |
| 167 | + | </parameter> | |
| 168 | + | </parameters> | |
| 169 | + | </function-macro> | |
| 170 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_60_FOR" | |
| 171 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_60_FOR" | |
| 172 | + | introspectable="0"> | |
| 173 | + | <source-position filename="gmodule/gmodule-visibility.h" line="620"/> | |
| 174 | + | <parameters> | |
| 175 | + | <parameter name="f"> | |
| 176 | + | </parameter> | |
| 177 | + | </parameters> | |
| 178 | + | </function-macro> | |
| 179 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_62_FOR" | |
| 180 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_62_FOR" | |
| 181 | + | introspectable="0"> | |
| 182 | + | <source-position filename="gmodule/gmodule-visibility.h" line="654"/> | |
| 183 | + | <parameters> | |
| 184 | + | <parameter name="f"> | |
| 185 | + | </parameter> | |
| 186 | + | </parameters> | |
| 187 | + | </function-macro> | |
| 188 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_64_FOR" | |
| 189 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_64_FOR" | |
| 190 | + | introspectable="0"> | |
| 191 | + | <source-position filename="gmodule/gmodule-visibility.h" line="688"/> | |
| 192 | + | <parameters> | |
| 193 | + | <parameter name="f"> | |
| 194 | + | </parameter> | |
| 195 | + | </parameters> | |
| 196 | + | </function-macro> | |
| 197 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_66_FOR" | |
| 198 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_66_FOR" | |
| 199 | + | introspectable="0"> | |
| 200 | + | <source-position filename="gmodule/gmodule-visibility.h" line="722"/> | |
| 201 | + | <parameters> | |
| 202 | + | <parameter name="f"> | |
| 203 | + | </parameter> | |
| 204 | + | </parameters> | |
| 205 | + | </function-macro> | |
| 206 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_68_FOR" | |
| 207 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_68_FOR" | |
| 208 | + | introspectable="0"> | |
| 209 | + | <source-position filename="gmodule/gmodule-visibility.h" line="756"/> | |
| 210 | + | <parameters> | |
| 211 | + | <parameter name="f"> | |
| 212 | + | </parameter> | |
| 213 | + | </parameters> | |
| 214 | + | </function-macro> | |
| 215 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_70_FOR" | |
| 216 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_70_FOR" | |
| 217 | + | introspectable="0"> | |
| 218 | + | <source-position filename="gmodule/gmodule-visibility.h" line="790"/> | |
| 219 | + | <parameters> | |
| 220 | + | <parameter name="f"> | |
| 221 | + | </parameter> | |
| 222 | + | </parameters> | |
| 223 | + | </function-macro> | |
| 224 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_72_FOR" | |
| 225 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_72_FOR" | |
| 226 | + | introspectable="0"> | |
| 227 | + | <source-position filename="gmodule/gmodule-visibility.h" line="824"/> | |
| 228 | + | <parameters> | |
| 229 | + | <parameter name="f"> | |
| 230 | + | </parameter> | |
| 231 | + | </parameters> | |
| 232 | + | </function-macro> | |
| 233 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_74_FOR" | |
| 234 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_74_FOR" | |
| 235 | + | introspectable="0"> | |
| 236 | + | <source-position filename="gmodule/gmodule-visibility.h" line="858"/> | |
| 237 | + | <parameters> | |
| 238 | + | <parameter name="f"> | |
| 239 | + | </parameter> | |
| 240 | + | </parameters> | |
| 241 | + | </function-macro> | |
| 242 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_76_FOR" | |
| 243 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_76_FOR" | |
| 244 | + | introspectable="0"> | |
| 245 | + | <source-position filename="gmodule/gmodule-visibility.h" line="892"/> | |
| 246 | + | <parameters> | |
| 247 | + | <parameter name="f"> | |
| 248 | + | </parameter> | |
| 249 | + | </parameters> | |
| 250 | + | </function-macro> | |
| 251 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_78_FOR" | |
| 252 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_78_FOR" | |
| 253 | + | introspectable="0"> | |
| 254 | + | <source-position filename="gmodule/gmodule-visibility.h" line="926"/> | |
| 255 | + | <parameters> | |
| 256 | + | <parameter name="f"> | |
| 257 | + | </parameter> | |
| 258 | + | </parameters> | |
| 259 | + | </function-macro> | |
| 260 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_80_FOR" | |
| 261 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_80_FOR" | |
| 262 | + | introspectable="0"> | |
| 263 | + | <source-position filename="gmodule/gmodule-visibility.h" line="960"/> | |
| 264 | + | <parameters> | |
| 265 | + | <parameter name="f"> | |
| 266 | + | </parameter> | |
| 267 | + | </parameters> | |
| 268 | + | </function-macro> | |
| 269 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_82_FOR" | |
| 270 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_82_FOR" | |
| 271 | + | introspectable="0"> | |
| 272 | + | <source-position filename="gmodule/gmodule-visibility.h" line="994"/> | |
| 273 | + | <parameters> | |
| 274 | + | <parameter name="f"> | |
| 275 | + | </parameter> | |
| 276 | + | </parameters> | |
| 277 | + | </function-macro> | |
| 278 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_84_FOR" | |
| 279 | + | c:identifier="GMODULE_DEPRECATED_ENUMERATOR_IN_2_84_FOR" | |
| 280 | + | introspectable="0"> | |
| 281 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1028"/> | |
| 282 | + | <parameters> | |
| 283 | + | <parameter name="f"> | |
| 284 | + | </parameter> | |
| 285 | + | </parameters> | |
| 286 | + | </function-macro> | |
| 287 | + | <function-macro name="DEPRECATED_FOR" | |
| 288 | + | c:identifier="GMODULE_DEPRECATED_FOR" | |
| 289 | + | introspectable="0"> | |
| 290 | + | <source-position filename="gmodule/gmodule-visibility.h" line="26"/> | |
| 291 | + | <parameters> | |
| 292 | + | <parameter name="f"> | |
| 293 | + | </parameter> | |
| 294 | + | </parameters> | |
| 295 | + | </function-macro> | |
| 296 | + | <function-macro name="DEPRECATED_IN_2_26_FOR" | |
| 297 | + | c:identifier="GMODULE_DEPRECATED_IN_2_26_FOR" | |
| 298 | + | introspectable="0"> | |
| 299 | + | <source-position filename="gmodule/gmodule-visibility.h" line="38"/> | |
| 300 | + | <parameters> | |
| 301 | + | <parameter name="f"> | |
| 302 | + | </parameter> | |
| 303 | + | </parameters> | |
| 304 | + | </function-macro> | |
| 305 | + | <function-macro name="DEPRECATED_IN_2_28_FOR" | |
| 306 | + | c:identifier="GMODULE_DEPRECATED_IN_2_28_FOR" | |
| 307 | + | introspectable="0"> | |
| 308 | + | <source-position filename="gmodule/gmodule-visibility.h" line="72"/> | |
| 309 | + | <parameters> | |
| 310 | + | <parameter name="f"> | |
| 311 | + | </parameter> | |
| 312 | + | </parameters> | |
| 313 | + | </function-macro> | |
| 314 | + | <function-macro name="DEPRECATED_IN_2_30_FOR" | |
| 315 | + | c:identifier="GMODULE_DEPRECATED_IN_2_30_FOR" | |
| 316 | + | introspectable="0"> | |
| 317 | + | <source-position filename="gmodule/gmodule-visibility.h" line="106"/> | |
| 318 | + | <parameters> | |
| 319 | + | <parameter name="f"> | |
| 320 | + | </parameter> | |
| 321 | + | </parameters> | |
| 322 | + | </function-macro> | |
| 323 | + | <function-macro name="DEPRECATED_IN_2_32_FOR" | |
| 324 | + | c:identifier="GMODULE_DEPRECATED_IN_2_32_FOR" | |
| 325 | + | introspectable="0"> | |
| 326 | + | <source-position filename="gmodule/gmodule-visibility.h" line="140"/> | |
| 327 | + | <parameters> | |
| 328 | + | <parameter name="f"> | |
| 329 | + | </parameter> | |
| 330 | + | </parameters> | |
| 331 | + | </function-macro> | |
| 332 | + | <function-macro name="DEPRECATED_IN_2_34_FOR" | |
| 333 | + | c:identifier="GMODULE_DEPRECATED_IN_2_34_FOR" | |
| 334 | + | introspectable="0"> | |
| 335 | + | <source-position filename="gmodule/gmodule-visibility.h" line="174"/> | |
| 336 | + | <parameters> | |
| 337 | + | <parameter name="f"> | |
| 338 | + | </parameter> | |
| 339 | + | </parameters> | |
| 340 | + | </function-macro> | |
| 341 | + | <function-macro name="DEPRECATED_IN_2_36_FOR" | |
| 342 | + | c:identifier="GMODULE_DEPRECATED_IN_2_36_FOR" | |
| 343 | + | introspectable="0"> | |
| 344 | + | <source-position filename="gmodule/gmodule-visibility.h" line="208"/> | |
| 345 | + | <parameters> | |
| 346 | + | <parameter name="f"> | |
| 347 | + | </parameter> | |
| 348 | + | </parameters> | |
| 349 | + | </function-macro> | |
| 350 | + | <function-macro name="DEPRECATED_IN_2_38_FOR" | |
| 351 | + | c:identifier="GMODULE_DEPRECATED_IN_2_38_FOR" | |
| 352 | + | introspectable="0"> | |
| 353 | + | <source-position filename="gmodule/gmodule-visibility.h" line="242"/> | |
| 354 | + | <parameters> | |
| 355 | + | <parameter name="f"> | |
| 356 | + | </parameter> | |
| 357 | + | </parameters> | |
| 358 | + | </function-macro> | |
| 359 | + | <function-macro name="DEPRECATED_IN_2_40_FOR" | |
| 360 | + | c:identifier="GMODULE_DEPRECATED_IN_2_40_FOR" | |
| 361 | + | introspectable="0"> | |
| 362 | + | <source-position filename="gmodule/gmodule-visibility.h" line="276"/> | |
| 363 | + | <parameters> | |
| 364 | + | <parameter name="f"> | |
| 365 | + | </parameter> | |
| 366 | + | </parameters> | |
| 367 | + | </function-macro> | |
| 368 | + | <function-macro name="DEPRECATED_IN_2_42_FOR" | |
| 369 | + | c:identifier="GMODULE_DEPRECATED_IN_2_42_FOR" | |
| 370 | + | introspectable="0"> | |
| 371 | + | <source-position filename="gmodule/gmodule-visibility.h" line="310"/> | |
| 372 | + | <parameters> | |
| 373 | + | <parameter name="f"> | |
| 374 | + | </parameter> | |
| 375 | + | </parameters> | |
| 376 | + | </function-macro> | |
| 377 | + | <function-macro name="DEPRECATED_IN_2_44_FOR" | |
| 378 | + | c:identifier="GMODULE_DEPRECATED_IN_2_44_FOR" | |
| 379 | + | introspectable="0"> | |
| 380 | + | <source-position filename="gmodule/gmodule-visibility.h" line="344"/> | |
| 381 | + | <parameters> | |
| 382 | + | <parameter name="f"> | |
| 383 | + | </parameter> | |
| 384 | + | </parameters> | |
| 385 | + | </function-macro> | |
| 386 | + | <function-macro name="DEPRECATED_IN_2_46_FOR" | |
| 387 | + | c:identifier="GMODULE_DEPRECATED_IN_2_46_FOR" | |
| 388 | + | introspectable="0"> | |
| 389 | + | <source-position filename="gmodule/gmodule-visibility.h" line="378"/> | |
| 390 | + | <parameters> | |
| 391 | + | <parameter name="f"> | |
| 392 | + | </parameter> | |
| 393 | + | </parameters> | |
| 394 | + | </function-macro> | |
| 395 | + | <function-macro name="DEPRECATED_IN_2_48_FOR" | |
| 396 | + | c:identifier="GMODULE_DEPRECATED_IN_2_48_FOR" | |
| 397 | + | introspectable="0"> | |
| 398 | + | <source-position filename="gmodule/gmodule-visibility.h" line="412"/> | |
| 399 | + | <parameters> | |
| 400 | + | <parameter name="f"> | |
| 401 | + | </parameter> | |
| 402 | + | </parameters> | |
| 403 | + | </function-macro> | |
| 404 | + | <function-macro name="DEPRECATED_IN_2_50_FOR" | |
| 405 | + | c:identifier="GMODULE_DEPRECATED_IN_2_50_FOR" | |
| 406 | + | introspectable="0"> | |
| 407 | + | <source-position filename="gmodule/gmodule-visibility.h" line="446"/> | |
| 408 | + | <parameters> | |
| 409 | + | <parameter name="f"> | |
| 410 | + | </parameter> | |
| 411 | + | </parameters> | |
| 412 | + | </function-macro> | |
| 413 | + | <function-macro name="DEPRECATED_IN_2_52_FOR" | |
| 414 | + | c:identifier="GMODULE_DEPRECATED_IN_2_52_FOR" | |
| 415 | + | introspectable="0"> | |
| 416 | + | <source-position filename="gmodule/gmodule-visibility.h" line="480"/> | |
| 417 | + | <parameters> | |
| 418 | + | <parameter name="f"> | |
| 419 | + | </parameter> | |
| 420 | + | </parameters> | |
| 421 | + | </function-macro> | |
| 422 | + | <function-macro name="DEPRECATED_IN_2_54_FOR" | |
| 423 | + | c:identifier="GMODULE_DEPRECATED_IN_2_54_FOR" | |
| 424 | + | introspectable="0"> | |
| 425 | + | <source-position filename="gmodule/gmodule-visibility.h" line="514"/> | |
| 426 | + | <parameters> | |
| 427 | + | <parameter name="f"> | |
| 428 | + | </parameter> | |
| 429 | + | </parameters> | |
| 430 | + | </function-macro> | |
| 431 | + | <function-macro name="DEPRECATED_IN_2_56_FOR" | |
| 432 | + | c:identifier="GMODULE_DEPRECATED_IN_2_56_FOR" | |
| 433 | + | introspectable="0"> | |
| 434 | + | <source-position filename="gmodule/gmodule-visibility.h" line="548"/> | |
| 435 | + | <parameters> | |
| 436 | + | <parameter name="f"> | |
| 437 | + | </parameter> | |
| 438 | + | </parameters> | |
| 439 | + | </function-macro> | |
| 440 | + | <function-macro name="DEPRECATED_IN_2_58_FOR" | |
| 441 | + | c:identifier="GMODULE_DEPRECATED_IN_2_58_FOR" | |
| 442 | + | introspectable="0"> | |
| 443 | + | <source-position filename="gmodule/gmodule-visibility.h" line="582"/> | |
| 444 | + | <parameters> | |
| 445 | + | <parameter name="f"> | |
| 446 | + | </parameter> | |
| 447 | + | </parameters> | |
| 448 | + | </function-macro> | |
| 449 | + | <function-macro name="DEPRECATED_IN_2_60_FOR" | |
| 450 | + | c:identifier="GMODULE_DEPRECATED_IN_2_60_FOR" | |
| 451 | + | introspectable="0"> | |
| 452 | + | <source-position filename="gmodule/gmodule-visibility.h" line="616"/> | |
| 453 | + | <parameters> | |
| 454 | + | <parameter name="f"> | |
| 455 | + | </parameter> | |
| 456 | + | </parameters> | |
| 457 | + | </function-macro> | |
| 458 | + | <function-macro name="DEPRECATED_IN_2_62_FOR" | |
| 459 | + | c:identifier="GMODULE_DEPRECATED_IN_2_62_FOR" | |
| 460 | + | introspectable="0"> | |
| 461 | + | <source-position filename="gmodule/gmodule-visibility.h" line="650"/> | |
| 462 | + | <parameters> | |
| 463 | + | <parameter name="f"> | |
| 464 | + | </parameter> | |
| 465 | + | </parameters> | |
| 466 | + | </function-macro> | |
| 467 | + | <function-macro name="DEPRECATED_IN_2_64_FOR" | |
| 468 | + | c:identifier="GMODULE_DEPRECATED_IN_2_64_FOR" | |
| 469 | + | introspectable="0"> | |
| 470 | + | <source-position filename="gmodule/gmodule-visibility.h" line="684"/> | |
| 471 | + | <parameters> | |
| 472 | + | <parameter name="f"> | |
| 473 | + | </parameter> | |
| 474 | + | </parameters> | |
| 475 | + | </function-macro> | |
| 476 | + | <function-macro name="DEPRECATED_IN_2_66_FOR" | |
| 477 | + | c:identifier="GMODULE_DEPRECATED_IN_2_66_FOR" | |
| 478 | + | introspectable="0"> | |
| 479 | + | <source-position filename="gmodule/gmodule-visibility.h" line="718"/> | |
| 480 | + | <parameters> | |
| 481 | + | <parameter name="f"> | |
| 482 | + | </parameter> | |
| 483 | + | </parameters> | |
| 484 | + | </function-macro> | |
| 485 | + | <function-macro name="DEPRECATED_IN_2_68_FOR" | |
| 486 | + | c:identifier="GMODULE_DEPRECATED_IN_2_68_FOR" | |
| 487 | + | introspectable="0"> | |
| 488 | + | <source-position filename="gmodule/gmodule-visibility.h" line="752"/> | |
| 489 | + | <parameters> | |
| 490 | + | <parameter name="f"> | |
| 491 | + | </parameter> | |
| 492 | + | </parameters> | |
| 493 | + | </function-macro> | |
| 494 | + | <function-macro name="DEPRECATED_IN_2_70_FOR" | |
| 495 | + | c:identifier="GMODULE_DEPRECATED_IN_2_70_FOR" | |
| 496 | + | introspectable="0"> | |
| 497 | + | <source-position filename="gmodule/gmodule-visibility.h" line="786"/> | |
| 498 | + | <parameters> | |
| 499 | + | <parameter name="f"> | |
| 500 | + | </parameter> | |
| 501 | + | </parameters> | |
| 502 | + | </function-macro> | |
| 503 | + | <function-macro name="DEPRECATED_IN_2_72_FOR" | |
| 504 | + | c:identifier="GMODULE_DEPRECATED_IN_2_72_FOR" | |
| 505 | + | introspectable="0"> | |
| 506 | + | <source-position filename="gmodule/gmodule-visibility.h" line="820"/> | |
| 507 | + | <parameters> | |
| 508 | + | <parameter name="f"> | |
| 509 | + | </parameter> | |
| 510 | + | </parameters> | |
| 511 | + | </function-macro> | |
| 512 | + | <function-macro name="DEPRECATED_IN_2_74_FOR" | |
| 513 | + | c:identifier="GMODULE_DEPRECATED_IN_2_74_FOR" | |
| 514 | + | introspectable="0"> | |
| 515 | + | <source-position filename="gmodule/gmodule-visibility.h" line="854"/> | |
| 516 | + | <parameters> | |
| 517 | + | <parameter name="f"> | |
| 518 | + | </parameter> | |
| 519 | + | </parameters> | |
| 520 | + | </function-macro> | |
| 521 | + | <function-macro name="DEPRECATED_IN_2_76_FOR" | |
| 522 | + | c:identifier="GMODULE_DEPRECATED_IN_2_76_FOR" | |
| 523 | + | introspectable="0"> | |
| 524 | + | <source-position filename="gmodule/gmodule-visibility.h" line="888"/> | |
| 525 | + | <parameters> | |
| 526 | + | <parameter name="f"> | |
| 527 | + | </parameter> | |
| 528 | + | </parameters> | |
| 529 | + | </function-macro> | |
| 530 | + | <function-macro name="DEPRECATED_IN_2_78_FOR" | |
| 531 | + | c:identifier="GMODULE_DEPRECATED_IN_2_78_FOR" | |
| 532 | + | introspectable="0"> | |
| 533 | + | <source-position filename="gmodule/gmodule-visibility.h" line="922"/> | |
| 534 | + | <parameters> | |
| 535 | + | <parameter name="f"> | |
| 536 | + | </parameter> | |
| 537 | + | </parameters> | |
| 538 | + | </function-macro> | |
| 539 | + | <function-macro name="DEPRECATED_IN_2_80_FOR" | |
| 540 | + | c:identifier="GMODULE_DEPRECATED_IN_2_80_FOR" | |
| 541 | + | introspectable="0"> | |
| 542 | + | <source-position filename="gmodule/gmodule-visibility.h" line="956"/> | |
| 543 | + | <parameters> | |
| 544 | + | <parameter name="f"> | |
| 545 | + | </parameter> | |
| 546 | + | </parameters> | |
| 547 | + | </function-macro> | |
| 548 | + | <function-macro name="DEPRECATED_IN_2_82_FOR" | |
| 549 | + | c:identifier="GMODULE_DEPRECATED_IN_2_82_FOR" | |
| 550 | + | introspectable="0"> | |
| 551 | + | <source-position filename="gmodule/gmodule-visibility.h" line="990"/> | |
| 552 | + | <parameters> | |
| 553 | + | <parameter name="f"> | |
| 554 | + | </parameter> | |
| 555 | + | </parameters> | |
| 556 | + | </function-macro> | |
| 557 | + | <function-macro name="DEPRECATED_IN_2_84_FOR" | |
| 558 | + | c:identifier="GMODULE_DEPRECATED_IN_2_84_FOR" | |
| 559 | + | introspectable="0"> | |
| 560 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1024"/> | |
| 561 | + | <parameters> | |
| 562 | + | <parameter name="f"> | |
| 563 | + | </parameter> | |
| 564 | + | </parameters> | |
| 565 | + | </function-macro> | |
| 566 | + | <function-macro name="DEPRECATED_MACRO_IN_2_26_FOR" | |
| 567 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_26_FOR" | |
| 568 | + | introspectable="0"> | |
| 569 | + | <source-position filename="gmodule/gmodule-visibility.h" line="40"/> | |
| 570 | + | <parameters> | |
| 571 | + | <parameter name="f"> | |
| 572 | + | </parameter> | |
| 573 | + | </parameters> | |
| 574 | + | </function-macro> | |
| 575 | + | <function-macro name="DEPRECATED_MACRO_IN_2_28_FOR" | |
| 576 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_28_FOR" | |
| 577 | + | introspectable="0"> | |
| 578 | + | <source-position filename="gmodule/gmodule-visibility.h" line="74"/> | |
| 579 | + | <parameters> | |
| 580 | + | <parameter name="f"> | |
| 581 | + | </parameter> | |
| 582 | + | </parameters> | |
| 583 | + | </function-macro> | |
| 584 | + | <function-macro name="DEPRECATED_MACRO_IN_2_30_FOR" | |
| 585 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_30_FOR" | |
| 586 | + | introspectable="0"> | |
| 587 | + | <source-position filename="gmodule/gmodule-visibility.h" line="108"/> | |
| 588 | + | <parameters> | |
| 589 | + | <parameter name="f"> | |
| 590 | + | </parameter> | |
| 591 | + | </parameters> | |
| 592 | + | </function-macro> | |
| 593 | + | <function-macro name="DEPRECATED_MACRO_IN_2_32_FOR" | |
| 594 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_32_FOR" | |
| 595 | + | introspectable="0"> | |
| 596 | + | <source-position filename="gmodule/gmodule-visibility.h" line="142"/> | |
| 597 | + | <parameters> | |
| 598 | + | <parameter name="f"> | |
| 599 | + | </parameter> | |
| 600 | + | </parameters> | |
| 601 | + | </function-macro> | |
| 602 | + | <function-macro name="DEPRECATED_MACRO_IN_2_34_FOR" | |
| 603 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_34_FOR" | |
| 604 | + | introspectable="0"> | |
| 605 | + | <source-position filename="gmodule/gmodule-visibility.h" line="176"/> | |
| 606 | + | <parameters> | |
| 607 | + | <parameter name="f"> | |
| 608 | + | </parameter> | |
| 609 | + | </parameters> | |
| 610 | + | </function-macro> | |
| 611 | + | <function-macro name="DEPRECATED_MACRO_IN_2_36_FOR" | |
| 612 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_36_FOR" | |
| 613 | + | introspectable="0"> | |
| 614 | + | <source-position filename="gmodule/gmodule-visibility.h" line="210"/> | |
| 615 | + | <parameters> | |
| 616 | + | <parameter name="f"> | |
| 617 | + | </parameter> | |
| 618 | + | </parameters> | |
| 619 | + | </function-macro> | |
| 620 | + | <function-macro name="DEPRECATED_MACRO_IN_2_38_FOR" | |
| 621 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_38_FOR" | |
| 622 | + | introspectable="0"> | |
| 623 | + | <source-position filename="gmodule/gmodule-visibility.h" line="244"/> | |
| 624 | + | <parameters> | |
| 625 | + | <parameter name="f"> | |
| 626 | + | </parameter> | |
| 627 | + | </parameters> | |
| 628 | + | </function-macro> | |
| 629 | + | <function-macro name="DEPRECATED_MACRO_IN_2_40_FOR" | |
| 630 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_40_FOR" | |
| 631 | + | introspectable="0"> | |
| 632 | + | <source-position filename="gmodule/gmodule-visibility.h" line="278"/> | |
| 633 | + | <parameters> | |
| 634 | + | <parameter name="f"> | |
| 635 | + | </parameter> | |
| 636 | + | </parameters> | |
| 637 | + | </function-macro> | |
| 638 | + | <function-macro name="DEPRECATED_MACRO_IN_2_42_FOR" | |
| 639 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_42_FOR" | |
| 640 | + | introspectable="0"> | |
| 641 | + | <source-position filename="gmodule/gmodule-visibility.h" line="312"/> | |
| 642 | + | <parameters> | |
| 643 | + | <parameter name="f"> | |
| 644 | + | </parameter> | |
| 645 | + | </parameters> | |
| 646 | + | </function-macro> | |
| 647 | + | <function-macro name="DEPRECATED_MACRO_IN_2_44_FOR" | |
| 648 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_44_FOR" | |
| 649 | + | introspectable="0"> | |
| 650 | + | <source-position filename="gmodule/gmodule-visibility.h" line="346"/> | |
| 651 | + | <parameters> | |
| 652 | + | <parameter name="f"> | |
| 653 | + | </parameter> | |
| 654 | + | </parameters> | |
| 655 | + | </function-macro> | |
| 656 | + | <function-macro name="DEPRECATED_MACRO_IN_2_46_FOR" | |
| 657 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_46_FOR" | |
| 658 | + | introspectable="0"> | |
| 659 | + | <source-position filename="gmodule/gmodule-visibility.h" line="380"/> | |
| 660 | + | <parameters> | |
| 661 | + | <parameter name="f"> | |
| 662 | + | </parameter> | |
| 663 | + | </parameters> | |
| 664 | + | </function-macro> | |
| 665 | + | <function-macro name="DEPRECATED_MACRO_IN_2_48_FOR" | |
| 666 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_48_FOR" | |
| 667 | + | introspectable="0"> | |
| 668 | + | <source-position filename="gmodule/gmodule-visibility.h" line="414"/> | |
| 669 | + | <parameters> | |
| 670 | + | <parameter name="f"> | |
| 671 | + | </parameter> | |
| 672 | + | </parameters> | |
| 673 | + | </function-macro> | |
| 674 | + | <function-macro name="DEPRECATED_MACRO_IN_2_50_FOR" | |
| 675 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_50_FOR" | |
| 676 | + | introspectable="0"> | |
| 677 | + | <source-position filename="gmodule/gmodule-visibility.h" line="448"/> | |
| 678 | + | <parameters> | |
| 679 | + | <parameter name="f"> | |
| 680 | + | </parameter> | |
| 681 | + | </parameters> | |
| 682 | + | </function-macro> | |
| 683 | + | <function-macro name="DEPRECATED_MACRO_IN_2_52_FOR" | |
| 684 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_52_FOR" | |
| 685 | + | introspectable="0"> | |
| 686 | + | <source-position filename="gmodule/gmodule-visibility.h" line="482"/> | |
| 687 | + | <parameters> | |
| 688 | + | <parameter name="f"> | |
| 689 | + | </parameter> | |
| 690 | + | </parameters> | |
| 691 | + | </function-macro> | |
| 692 | + | <function-macro name="DEPRECATED_MACRO_IN_2_54_FOR" | |
| 693 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_54_FOR" | |
| 694 | + | introspectable="0"> | |
| 695 | + | <source-position filename="gmodule/gmodule-visibility.h" line="516"/> | |
| 696 | + | <parameters> | |
| 697 | + | <parameter name="f"> | |
| 698 | + | </parameter> | |
| 699 | + | </parameters> | |
| 700 | + | </function-macro> | |
| 701 | + | <function-macro name="DEPRECATED_MACRO_IN_2_56_FOR" | |
| 702 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_56_FOR" | |
| 703 | + | introspectable="0"> | |
| 704 | + | <source-position filename="gmodule/gmodule-visibility.h" line="550"/> | |
| 705 | + | <parameters> | |
| 706 | + | <parameter name="f"> | |
| 707 | + | </parameter> | |
| 708 | + | </parameters> | |
| 709 | + | </function-macro> | |
| 710 | + | <function-macro name="DEPRECATED_MACRO_IN_2_58_FOR" | |
| 711 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_58_FOR" | |
| 712 | + | introspectable="0"> | |
| 713 | + | <source-position filename="gmodule/gmodule-visibility.h" line="584"/> | |
| 714 | + | <parameters> | |
| 715 | + | <parameter name="f"> | |
| 716 | + | </parameter> | |
| 717 | + | </parameters> | |
| 718 | + | </function-macro> | |
| 719 | + | <function-macro name="DEPRECATED_MACRO_IN_2_60_FOR" | |
| 720 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_60_FOR" | |
| 721 | + | introspectable="0"> | |
| 722 | + | <source-position filename="gmodule/gmodule-visibility.h" line="618"/> | |
| 723 | + | <parameters> | |
| 724 | + | <parameter name="f"> | |
| 725 | + | </parameter> | |
| 726 | + | </parameters> | |
| 727 | + | </function-macro> | |
| 728 | + | <function-macro name="DEPRECATED_MACRO_IN_2_62_FOR" | |
| 729 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_62_FOR" | |
| 730 | + | introspectable="0"> | |
| 731 | + | <source-position filename="gmodule/gmodule-visibility.h" line="652"/> | |
| 732 | + | <parameters> | |
| 733 | + | <parameter name="f"> | |
| 734 | + | </parameter> | |
| 735 | + | </parameters> | |
| 736 | + | </function-macro> | |
| 737 | + | <function-macro name="DEPRECATED_MACRO_IN_2_64_FOR" | |
| 738 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_64_FOR" | |
| 739 | + | introspectable="0"> | |
| 740 | + | <source-position filename="gmodule/gmodule-visibility.h" line="686"/> | |
| 741 | + | <parameters> | |
| 742 | + | <parameter name="f"> | |
| 743 | + | </parameter> | |
| 744 | + | </parameters> | |
| 745 | + | </function-macro> | |
| 746 | + | <function-macro name="DEPRECATED_MACRO_IN_2_66_FOR" | |
| 747 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_66_FOR" | |
| 748 | + | introspectable="0"> | |
| 749 | + | <source-position filename="gmodule/gmodule-visibility.h" line="720"/> | |
| 750 | + | <parameters> | |
| 751 | + | <parameter name="f"> | |
| 752 | + | </parameter> | |
| 753 | + | </parameters> | |
| 754 | + | </function-macro> | |
| 755 | + | <function-macro name="DEPRECATED_MACRO_IN_2_68_FOR" | |
| 756 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_68_FOR" | |
| 757 | + | introspectable="0"> | |
| 758 | + | <source-position filename="gmodule/gmodule-visibility.h" line="754"/> | |
| 759 | + | <parameters> | |
| 760 | + | <parameter name="f"> | |
| 761 | + | </parameter> | |
| 762 | + | </parameters> | |
| 763 | + | </function-macro> | |
| 764 | + | <function-macro name="DEPRECATED_MACRO_IN_2_70_FOR" | |
| 765 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_70_FOR" | |
| 766 | + | introspectable="0"> | |
| 767 | + | <source-position filename="gmodule/gmodule-visibility.h" line="788"/> | |
| 768 | + | <parameters> | |
| 769 | + | <parameter name="f"> | |
| 770 | + | </parameter> | |
| 771 | + | </parameters> | |
| 772 | + | </function-macro> | |
| 773 | + | <function-macro name="DEPRECATED_MACRO_IN_2_72_FOR" | |
| 774 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_72_FOR" | |
| 775 | + | introspectable="0"> | |
| 776 | + | <source-position filename="gmodule/gmodule-visibility.h" line="822"/> | |
| 777 | + | <parameters> | |
| 778 | + | <parameter name="f"> | |
| 779 | + | </parameter> | |
| 780 | + | </parameters> | |
| 781 | + | </function-macro> | |
| 782 | + | <function-macro name="DEPRECATED_MACRO_IN_2_74_FOR" | |
| 783 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_74_FOR" | |
| 784 | + | introspectable="0"> | |
| 785 | + | <source-position filename="gmodule/gmodule-visibility.h" line="856"/> | |
| 786 | + | <parameters> | |
| 787 | + | <parameter name="f"> | |
| 788 | + | </parameter> | |
| 789 | + | </parameters> | |
| 790 | + | </function-macro> | |
| 791 | + | <function-macro name="DEPRECATED_MACRO_IN_2_76_FOR" | |
| 792 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_76_FOR" | |
| 793 | + | introspectable="0"> | |
| 794 | + | <source-position filename="gmodule/gmodule-visibility.h" line="890"/> | |
| 795 | + | <parameters> | |
| 796 | + | <parameter name="f"> | |
| 797 | + | </parameter> | |
| 798 | + | </parameters> | |
| 799 | + | </function-macro> | |
| 800 | + | <function-macro name="DEPRECATED_MACRO_IN_2_78_FOR" | |
| 801 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_78_FOR" | |
| 802 | + | introspectable="0"> | |
| 803 | + | <source-position filename="gmodule/gmodule-visibility.h" line="924"/> | |
| 804 | + | <parameters> | |
| 805 | + | <parameter name="f"> | |
| 806 | + | </parameter> | |
| 807 | + | </parameters> | |
| 808 | + | </function-macro> | |
| 809 | + | <function-macro name="DEPRECATED_MACRO_IN_2_80_FOR" | |
| 810 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_80_FOR" | |
| 811 | + | introspectable="0"> | |
| 812 | + | <source-position filename="gmodule/gmodule-visibility.h" line="958"/> | |
| 813 | + | <parameters> | |
| 814 | + | <parameter name="f"> | |
| 815 | + | </parameter> | |
| 816 | + | </parameters> | |
| 817 | + | </function-macro> | |
| 818 | + | <function-macro name="DEPRECATED_MACRO_IN_2_82_FOR" | |
| 819 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_82_FOR" | |
| 820 | + | introspectable="0"> | |
| 821 | + | <source-position filename="gmodule/gmodule-visibility.h" line="992"/> | |
| 822 | + | <parameters> | |
| 823 | + | <parameter name="f"> | |
| 824 | + | </parameter> | |
| 825 | + | </parameters> | |
| 826 | + | </function-macro> | |
| 827 | + | <function-macro name="DEPRECATED_MACRO_IN_2_84_FOR" | |
| 828 | + | c:identifier="GMODULE_DEPRECATED_MACRO_IN_2_84_FOR" | |
| 829 | + | introspectable="0"> | |
| 830 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1026"/> | |
| 831 | + | <parameters> | |
| 832 | + | <parameter name="f"> | |
| 833 | + | </parameter> | |
| 834 | + | </parameters> | |
| 835 | + | </function-macro> | |
| 836 | + | <function-macro name="DEPRECATED_TYPE_IN_2_26_FOR" | |
| 837 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_26_FOR" | |
| 838 | + | introspectable="0"> | |
| 839 | + | <source-position filename="gmodule/gmodule-visibility.h" line="44"/> | |
| 840 | + | <parameters> | |
| 841 | + | <parameter name="f"> | |
| 842 | + | </parameter> | |
| 843 | + | </parameters> | |
| 844 | + | </function-macro> | |
| 845 | + | <function-macro name="DEPRECATED_TYPE_IN_2_28_FOR" | |
| 846 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_28_FOR" | |
| 847 | + | introspectable="0"> | |
| 848 | + | <source-position filename="gmodule/gmodule-visibility.h" line="78"/> | |
| 849 | + | <parameters> | |
| 850 | + | <parameter name="f"> | |
| 851 | + | </parameter> | |
| 852 | + | </parameters> | |
| 853 | + | </function-macro> | |
| 854 | + | <function-macro name="DEPRECATED_TYPE_IN_2_30_FOR" | |
| 855 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_30_FOR" | |
| 856 | + | introspectable="0"> | |
| 857 | + | <source-position filename="gmodule/gmodule-visibility.h" line="112"/> | |
| 858 | + | <parameters> | |
| 859 | + | <parameter name="f"> | |
| 860 | + | </parameter> | |
| 861 | + | </parameters> | |
| 862 | + | </function-macro> | |
| 863 | + | <function-macro name="DEPRECATED_TYPE_IN_2_32_FOR" | |
| 864 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_32_FOR" | |
| 865 | + | introspectable="0"> | |
| 866 | + | <source-position filename="gmodule/gmodule-visibility.h" line="146"/> | |
| 867 | + | <parameters> | |
| 868 | + | <parameter name="f"> | |
| 869 | + | </parameter> | |
| 870 | + | </parameters> | |
| 871 | + | </function-macro> | |
| 872 | + | <function-macro name="DEPRECATED_TYPE_IN_2_34_FOR" | |
| 873 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_34_FOR" | |
| 874 | + | introspectable="0"> | |
| 875 | + | <source-position filename="gmodule/gmodule-visibility.h" line="180"/> | |
| 876 | + | <parameters> | |
| 877 | + | <parameter name="f"> | |
| 878 | + | </parameter> | |
| 879 | + | </parameters> | |
| 880 | + | </function-macro> | |
| 881 | + | <function-macro name="DEPRECATED_TYPE_IN_2_36_FOR" | |
| 882 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_36_FOR" | |
| 883 | + | introspectable="0"> | |
| 884 | + | <source-position filename="gmodule/gmodule-visibility.h" line="214"/> | |
| 885 | + | <parameters> | |
| 886 | + | <parameter name="f"> | |
| 887 | + | </parameter> | |
| 888 | + | </parameters> | |
| 889 | + | </function-macro> | |
| 890 | + | <function-macro name="DEPRECATED_TYPE_IN_2_38_FOR" | |
| 891 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_38_FOR" | |
| 892 | + | introspectable="0"> | |
| 893 | + | <source-position filename="gmodule/gmodule-visibility.h" line="248"/> | |
| 894 | + | <parameters> | |
| 895 | + | <parameter name="f"> | |
| 896 | + | </parameter> | |
| 897 | + | </parameters> | |
| 898 | + | </function-macro> | |
| 899 | + | <function-macro name="DEPRECATED_TYPE_IN_2_40_FOR" | |
| 900 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_40_FOR" | |
| 901 | + | introspectable="0"> | |
| 902 | + | <source-position filename="gmodule/gmodule-visibility.h" line="282"/> | |
| 903 | + | <parameters> | |
| 904 | + | <parameter name="f"> | |
| 905 | + | </parameter> | |
| 906 | + | </parameters> | |
| 907 | + | </function-macro> | |
| 908 | + | <function-macro name="DEPRECATED_TYPE_IN_2_42_FOR" | |
| 909 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_42_FOR" | |
| 910 | + | introspectable="0"> | |
| 911 | + | <source-position filename="gmodule/gmodule-visibility.h" line="316"/> | |
| 912 | + | <parameters> | |
| 913 | + | <parameter name="f"> | |
| 914 | + | </parameter> | |
| 915 | + | </parameters> | |
| 916 | + | </function-macro> | |
| 917 | + | <function-macro name="DEPRECATED_TYPE_IN_2_44_FOR" | |
| 918 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_44_FOR" | |
| 919 | + | introspectable="0"> | |
| 920 | + | <source-position filename="gmodule/gmodule-visibility.h" line="350"/> | |
| 921 | + | <parameters> | |
| 922 | + | <parameter name="f"> | |
| 923 | + | </parameter> | |
| 924 | + | </parameters> | |
| 925 | + | </function-macro> | |
| 926 | + | <function-macro name="DEPRECATED_TYPE_IN_2_46_FOR" | |
| 927 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_46_FOR" | |
| 928 | + | introspectable="0"> | |
| 929 | + | <source-position filename="gmodule/gmodule-visibility.h" line="384"/> | |
| 930 | + | <parameters> | |
| 931 | + | <parameter name="f"> | |
| 932 | + | </parameter> | |
| 933 | + | </parameters> | |
| 934 | + | </function-macro> | |
| 935 | + | <function-macro name="DEPRECATED_TYPE_IN_2_48_FOR" | |
| 936 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_48_FOR" | |
| 937 | + | introspectable="0"> | |
| 938 | + | <source-position filename="gmodule/gmodule-visibility.h" line="418"/> | |
| 939 | + | <parameters> | |
| 940 | + | <parameter name="f"> | |
| 941 | + | </parameter> | |
| 942 | + | </parameters> | |
| 943 | + | </function-macro> | |
| 944 | + | <function-macro name="DEPRECATED_TYPE_IN_2_50_FOR" | |
| 945 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_50_FOR" | |
| 946 | + | introspectable="0"> | |
| 947 | + | <source-position filename="gmodule/gmodule-visibility.h" line="452"/> | |
| 948 | + | <parameters> | |
| 949 | + | <parameter name="f"> | |
| 950 | + | </parameter> | |
| 951 | + | </parameters> | |
| 952 | + | </function-macro> | |
| 953 | + | <function-macro name="DEPRECATED_TYPE_IN_2_52_FOR" | |
| 954 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_52_FOR" | |
| 955 | + | introspectable="0"> | |
| 956 | + | <source-position filename="gmodule/gmodule-visibility.h" line="486"/> | |
| 957 | + | <parameters> | |
| 958 | + | <parameter name="f"> | |
| 959 | + | </parameter> | |
| 960 | + | </parameters> | |
| 961 | + | </function-macro> | |
| 962 | + | <function-macro name="DEPRECATED_TYPE_IN_2_54_FOR" | |
| 963 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_54_FOR" | |
| 964 | + | introspectable="0"> | |
| 965 | + | <source-position filename="gmodule/gmodule-visibility.h" line="520"/> | |
| 966 | + | <parameters> | |
| 967 | + | <parameter name="f"> | |
| 968 | + | </parameter> | |
| 969 | + | </parameters> | |
| 970 | + | </function-macro> | |
| 971 | + | <function-macro name="DEPRECATED_TYPE_IN_2_56_FOR" | |
| 972 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_56_FOR" | |
| 973 | + | introspectable="0"> | |
| 974 | + | <source-position filename="gmodule/gmodule-visibility.h" line="554"/> | |
| 975 | + | <parameters> | |
| 976 | + | <parameter name="f"> | |
| 977 | + | </parameter> | |
| 978 | + | </parameters> | |
| 979 | + | </function-macro> | |
| 980 | + | <function-macro name="DEPRECATED_TYPE_IN_2_58_FOR" | |
| 981 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_58_FOR" | |
| 982 | + | introspectable="0"> | |
| 983 | + | <source-position filename="gmodule/gmodule-visibility.h" line="588"/> | |
| 984 | + | <parameters> | |
| 985 | + | <parameter name="f"> | |
| 986 | + | </parameter> | |
| 987 | + | </parameters> | |
| 988 | + | </function-macro> | |
| 989 | + | <function-macro name="DEPRECATED_TYPE_IN_2_60_FOR" | |
| 990 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_60_FOR" | |
| 991 | + | introspectable="0"> | |
| 992 | + | <source-position filename="gmodule/gmodule-visibility.h" line="622"/> | |
| 993 | + | <parameters> | |
| 994 | + | <parameter name="f"> | |
| 995 | + | </parameter> | |
| 996 | + | </parameters> | |
| 997 | + | </function-macro> | |
| 998 | + | <function-macro name="DEPRECATED_TYPE_IN_2_62_FOR" | |
| 999 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_62_FOR" | |
| 1000 | + | introspectable="0"> | |
| 1001 | + | <source-position filename="gmodule/gmodule-visibility.h" line="656"/> | |
| 1002 | + | <parameters> | |
| 1003 | + | <parameter name="f"> | |
| 1004 | + | </parameter> | |
| 1005 | + | </parameters> | |
| 1006 | + | </function-macro> | |
| 1007 | + | <function-macro name="DEPRECATED_TYPE_IN_2_64_FOR" | |
| 1008 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_64_FOR" | |
| 1009 | + | introspectable="0"> | |
| 1010 | + | <source-position filename="gmodule/gmodule-visibility.h" line="690"/> | |
| 1011 | + | <parameters> | |
| 1012 | + | <parameter name="f"> | |
| 1013 | + | </parameter> | |
| 1014 | + | </parameters> | |
| 1015 | + | </function-macro> | |
| 1016 | + | <function-macro name="DEPRECATED_TYPE_IN_2_66_FOR" | |
| 1017 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_66_FOR" | |
| 1018 | + | introspectable="0"> | |
| 1019 | + | <source-position filename="gmodule/gmodule-visibility.h" line="724"/> | |
| 1020 | + | <parameters> | |
| 1021 | + | <parameter name="f"> | |
| 1022 | + | </parameter> | |
| 1023 | + | </parameters> | |
| 1024 | + | </function-macro> | |
| 1025 | + | <function-macro name="DEPRECATED_TYPE_IN_2_68_FOR" | |
| 1026 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_68_FOR" | |
| 1027 | + | introspectable="0"> | |
| 1028 | + | <source-position filename="gmodule/gmodule-visibility.h" line="758"/> | |
| 1029 | + | <parameters> | |
| 1030 | + | <parameter name="f"> | |
| 1031 | + | </parameter> | |
| 1032 | + | </parameters> | |
| 1033 | + | </function-macro> | |
| 1034 | + | <function-macro name="DEPRECATED_TYPE_IN_2_70_FOR" | |
| 1035 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_70_FOR" | |
| 1036 | + | introspectable="0"> | |
| 1037 | + | <source-position filename="gmodule/gmodule-visibility.h" line="792"/> | |
| 1038 | + | <parameters> | |
| 1039 | + | <parameter name="f"> | |
| 1040 | + | </parameter> | |
| 1041 | + | </parameters> | |
| 1042 | + | </function-macro> | |
| 1043 | + | <function-macro name="DEPRECATED_TYPE_IN_2_72_FOR" | |
| 1044 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_72_FOR" | |
| 1045 | + | introspectable="0"> | |
| 1046 | + | <source-position filename="gmodule/gmodule-visibility.h" line="826"/> | |
| 1047 | + | <parameters> | |
| 1048 | + | <parameter name="f"> | |
| 1049 | + | </parameter> | |
| 1050 | + | </parameters> | |
| 1051 | + | </function-macro> | |
| 1052 | + | <function-macro name="DEPRECATED_TYPE_IN_2_74_FOR" | |
| 1053 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_74_FOR" | |
| 1054 | + | introspectable="0"> | |
| 1055 | + | <source-position filename="gmodule/gmodule-visibility.h" line="860"/> | |
| 1056 | + | <parameters> | |
| 1057 | + | <parameter name="f"> | |
| 1058 | + | </parameter> | |
| 1059 | + | </parameters> | |
| 1060 | + | </function-macro> | |
| 1061 | + | <function-macro name="DEPRECATED_TYPE_IN_2_76_FOR" | |
| 1062 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_76_FOR" | |
| 1063 | + | introspectable="0"> | |
| 1064 | + | <source-position filename="gmodule/gmodule-visibility.h" line="894"/> | |
| 1065 | + | <parameters> | |
| 1066 | + | <parameter name="f"> | |
| 1067 | + | </parameter> | |
| 1068 | + | </parameters> | |
| 1069 | + | </function-macro> | |
| 1070 | + | <function-macro name="DEPRECATED_TYPE_IN_2_78_FOR" | |
| 1071 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_78_FOR" | |
| 1072 | + | introspectable="0"> | |
| 1073 | + | <source-position filename="gmodule/gmodule-visibility.h" line="928"/> | |
| 1074 | + | <parameters> | |
| 1075 | + | <parameter name="f"> | |
| 1076 | + | </parameter> | |
| 1077 | + | </parameters> | |
| 1078 | + | </function-macro> | |
| 1079 | + | <function-macro name="DEPRECATED_TYPE_IN_2_80_FOR" | |
| 1080 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_80_FOR" | |
| 1081 | + | introspectable="0"> | |
| 1082 | + | <source-position filename="gmodule/gmodule-visibility.h" line="962"/> | |
| 1083 | + | <parameters> | |
| 1084 | + | <parameter name="f"> | |
| 1085 | + | </parameter> | |
| 1086 | + | </parameters> | |
| 1087 | + | </function-macro> | |
| 1088 | + | <function-macro name="DEPRECATED_TYPE_IN_2_82_FOR" | |
| 1089 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_82_FOR" | |
| 1090 | + | introspectable="0"> | |
| 1091 | + | <source-position filename="gmodule/gmodule-visibility.h" line="996"/> | |
| 1092 | + | <parameters> | |
| 1093 | + | <parameter name="f"> | |
| 1094 | + | </parameter> | |
| 1095 | + | </parameters> | |
| 1096 | + | </function-macro> | |
| 1097 | + | <function-macro name="DEPRECATED_TYPE_IN_2_84_FOR" | |
| 1098 | + | c:identifier="GMODULE_DEPRECATED_TYPE_IN_2_84_FOR" | |
| 1099 | + | introspectable="0"> | |
| 1100 | + | <source-position filename="gmodule/gmodule-visibility.h" line="1030"/> | |
| 1101 | + | <parameters> | |
| 1102 | + | <parameter name="f"> | |
| 1103 | + | </parameter> | |
| 1104 | + | </parameters> | |
| 1105 | + | </function-macro> | |
| 1106 | + | <constant name="MODULE_IMPL_AR" value="7" c:type="G_MODULE_IMPL_AR"> | |
| 1107 | + | <source-position filename="gmodule/gmoduleconf.h" line="31"/> | |
| 1108 | + | <type name="gint" c:type="gint"/> | |
| 1109 | + | </constant> | |
| 1110 | + | <constant name="MODULE_IMPL_DL" value="1" c:type="G_MODULE_IMPL_DL"> | |
| 1111 | + | <source-position filename="gmodule/gmoduleconf.h" line="29"/> | |
| 1112 | + | <type name="gint" c:type="gint"/> | |
| 1113 | + | </constant> | |
| 1114 | + | <constant name="MODULE_IMPL_NONE" value="0" c:type="G_MODULE_IMPL_NONE"> | |
| 1115 | + | <source-position filename="gmodule/gmoduleconf.h" line="28"/> | |
| 1116 | + | <type name="gint" c:type="gint"/> | |
| 1117 | + | </constant> | |
| 1118 | + | <constant name="MODULE_IMPL_WIN32" value="3" c:type="G_MODULE_IMPL_WIN32"> | |
| 1119 | + | <source-position filename="gmodule/gmoduleconf.h" line="30"/> | |
| 1120 | + | <type name="gint" c:type="gint"/> | |
| 1121 | + | </constant> | |
| 1122 | + | <record name="Module" c:type="GModule" disguised="1" opaque="1"> | |
| 18 | 1123 | <doc xml:space="preserve" | |
| 19 | - | filename="gmodule-2.0.c" | |
| 20 | - | line="5">The #GModule struct is an opaque data structure to represent a | |
| 21 | - | [dynamically-loaded module][glib-Dynamic-Loading-of-Modules]. | |
| 1124 | + | filename="gmodule/gmodule.c" | |
| 1125 | + | line="56">The #GModule struct is an opaque data structure to represent a | |
| 1126 | + | [dynamically-loaded module](modules.html#dynamic-loading-of-modules). | |
| 22 | 1127 | It should only be accessed via the following functions.</doc> | |
| 23 | - | <source-position filename="gmodule.h" line="65"/> | |
| 1128 | + | <source-position filename="gmodule/gmodule.h" line="70"/> | |
| 24 | 1129 | <method name="close" c:identifier="g_module_close"> | |
| 25 | 1130 | <doc xml:space="preserve" | |
| 26 | - | filename="gmodule-2.0.c" | |
| 27 | - | line="185">Closes a module.</doc> | |
| 28 | - | <source-position filename="gmodule.h" line="105"/> | |
| 1131 | + | filename="gmodule/gmodule.c" | |
| 1132 | + | line="711">Closes a module.</doc> | |
| 1133 | + | <source-position filename="gmodule/gmodule.h" line="110"/> | |
| 29 | 1134 | <return-value transfer-ownership="none"> | |
| 30 | 1135 | <doc xml:space="preserve" | |
| 31 | - | filename="gmodule-2.0.c" | |
| 32 | - | line="191">%TRUE on success</doc> | |
| 1136 | + | filename="gmodule/gmodule.c" | |
| 1137 | + | line="717">%TRUE on success</doc> | |
| 33 | 1138 | <type name="gboolean" c:type="gboolean"/> | |
| 34 | 1139 | </return-value> | |
| 35 | 1140 | <parameters> | |
| 36 | 1141 | <instance-parameter name="module" transfer-ownership="none"> | |
| 37 | 1142 | <doc xml:space="preserve" | |
| 38 | - | filename="gmodule-2.0.c" | |
| 39 | - | line="187">a #GModule to close</doc> | |
| 1143 | + | filename="gmodule/gmodule.c" | |
| 1144 | + | line="713">a #GModule to close</doc> | |
| 40 | 1145 | <type name="Module" c:type="GModule*"/> | |
| 41 | 1146 | </instance-parameter> | |
| 42 | 1147 | </parameters> | |
| 43 | 1148 | </method> | |
| 44 | 1149 | <method name="make_resident" c:identifier="g_module_make_resident"> | |
| 45 | 1150 | <doc xml:space="preserve" | |
| 46 | - | filename="gmodule-2.0.c" | |
| 47 | - | line="204">Ensures that a module will never be unloaded. | |
| 1151 | + | filename="gmodule/gmodule.c" | |
| 1152 | + | line="772">Ensures that a module will never be unloaded. | |
| 48 | 1153 | Any future g_module_close() calls on the module will be ignored.</doc> | |
| 49 | - | <source-position filename="gmodule.h" line="109"/> | |
| 1154 | + | <source-position filename="gmodule/gmodule.h" line="114"/> | |
| 50 | 1155 | <return-value transfer-ownership="none"> | |
| 51 | 1156 | <type name="none" c:type="void"/> | |
| 52 | 1157 | </return-value> | |
| 53 | 1158 | <parameters> | |
| 54 | 1159 | <instance-parameter name="module" transfer-ownership="none"> | |
| 55 | 1160 | <doc xml:space="preserve" | |
| 56 | - | filename="gmodule-2.0.c" | |
| 57 | - | line="206">a #GModule to make permanently resident</doc> | |
| 1161 | + | filename="gmodule/gmodule.c" | |
| 1162 | + | line="774">a #GModule to make permanently resident</doc> | |
| 58 | 1163 | <type name="Module" c:type="GModule*"/> | |
| 59 | 1164 | </instance-parameter> | |
| 60 | 1165 | </parameters> | |
| 61 | 1166 | </method> | |
| 62 | 1167 | <method name="name" c:identifier="g_module_name"> | |
| 63 | 1168 | <doc xml:space="preserve" | |
| 64 | - | filename="gmodule-2.0.c" | |
| 65 | - | line="213">Returns the filename that the module was opened with. | |
| 1169 | + | filename="gmodule/gmodule.c" | |
| 1170 | + | line="855">Returns the filename that the module was opened with. | |
| 66 | 1171 | ||
| 67 | 1172 | If @module refers to the application itself, "main" is returned.</doc> | |
| 68 | - | <source-position filename="gmodule.h" line="123"/> | |
| 1173 | + | <source-position filename="gmodule/gmodule.h" line="128"/> | |
| 69 | 1174 | <return-value transfer-ownership="none"> | |
| 70 | 1175 | <doc xml:space="preserve" | |
| 71 | - | filename="gmodule-2.0.c" | |
| 72 | - | line="221">the filename of the module</doc> | |
| 1176 | + | filename="gmodule/gmodule.c" | |
| 1177 | + | line="863">the filename of the module</doc> | |
| 73 | 1178 | <type name="utf8" c:type="const gchar*"/> | |
| 74 | 1179 | </return-value> | |
| 75 | 1180 | <parameters> | |
| 76 | 1181 | <instance-parameter name="module" transfer-ownership="none"> | |
| 77 | 1182 | <doc xml:space="preserve" | |
| 78 | - | filename="gmodule-2.0.c" | |
| 79 | - | line="215">a #GModule</doc> | |
| 1183 | + | filename="gmodule/gmodule.c" | |
| 1184 | + | line="857">a #GModule</doc> | |
| 80 | 1185 | <type name="Module" c:type="GModule*"/> | |
| 81 | 1186 | </instance-parameter> | |
| 82 | 1187 | </parameters> | |
| 83 | 1188 | </method> | |
| 84 | 1189 | <method name="symbol" c:identifier="g_module_symbol"> | |
| 85 | 1190 | <doc xml:space="preserve" | |
| 86 | - | filename="gmodule-2.0.c" | |
| 87 | - | line="273">Gets a symbol pointer from a module, such as one exported | |
| 1191 | + | filename="gmodule/gmodule.c" | |
| 1192 | + | line="800">Gets a symbol pointer from a module, such as one exported | |
| 88 | 1193 | by %G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc> | |
| 89 | - | <source-position filename="gmodule.h" line="117"/> | |
| 1194 | + | <source-position filename="gmodule/gmodule.h" line="122"/> | |
| 90 | 1195 | <return-value transfer-ownership="none"> | |
| 91 | 1196 | <doc xml:space="preserve" | |
| 92 | - | filename="gmodule-2.0.c" | |
| 93 | - | line="282">%TRUE on success</doc> | |
| 1197 | + | filename="gmodule/gmodule.c" | |
| 1198 | + | line="809">%TRUE on success</doc> | |
| 94 | 1199 | <type name="gboolean" c:type="gboolean"/> | |
| 95 | 1200 | </return-value> | |
| 96 | 1201 | <parameters> | |
| 97 | 1202 | <instance-parameter name="module" transfer-ownership="none"> | |
| 98 | 1203 | <doc xml:space="preserve" | |
| 99 | - | filename="gmodule-2.0.c" | |
| 100 | - | line="275">a #GModule</doc> | |
| 1204 | + | filename="gmodule/gmodule.c" | |
| 1205 | + | line="802">a #GModule</doc> | |
| 101 | 1206 | <type name="Module" c:type="GModule*"/> | |
| 102 | 1207 | </instance-parameter> | |
| 103 | 1208 | <parameter name="symbol_name" transfer-ownership="none"> | |
| 104 | 1209 | <doc xml:space="preserve" | |
| 105 | - | filename="gmodule-2.0.c" | |
| 106 | - | line="276">the name of the symbol to find</doc> | |
| 1210 | + | filename="gmodule/gmodule.c" | |
| 1211 | + | line="803">the name of the symbol to find</doc> | |
| 107 | 1212 | <type name="utf8" c:type="const gchar*"/> | |
| 108 | 1213 | </parameter> | |
| 109 | 1214 | <parameter name="symbol" | |
| @@ -112,16 +1217,19 @@ by %G_MODULE_EXPORT. Note that a valid symbol can be %NULL.</doc> | |||
| 112 | 1217 | transfer-ownership="full" | |
| 113 | 1218 | nullable="1"> | |
| 114 | 1219 | <doc xml:space="preserve" | |
| 115 | - | filename="gmodule-2.0.c" | |
| 116 | - | line="277">returns the pointer to the symbol value</doc> | |
| 1220 | + | filename="gmodule/gmodule.c" | |
| 1221 | + | line="804">returns the pointer to the symbol value</doc> | |
| 117 | 1222 | <type name="gpointer" c:type="gpointer*"/> | |
| 118 | 1223 | </parameter> | |
| 119 | 1224 | </parameters> | |
| 120 | 1225 | </method> | |
| 121 | - | <function name="build_path" c:identifier="g_module_build_path"> | |
| 1226 | + | <function name="build_path" | |
| 1227 | + | c:identifier="g_module_build_path" | |
| 1228 | + | deprecated="1" | |
| 1229 | + | deprecated-version="2.76"> | |
| 122 | 1230 | <doc xml:space="preserve" | |
| 123 | - | filename="gmodule-2.0.c" | |
| 124 | - | line="159">A portable way to build the filename of a module. The platform-specific | |
| 1231 | + | filename="gmodule/gmodule.c" | |
| 1232 | + | line="876">A portable way to build the filename of a module. The platform-specific | |
| 125 | 1233 | prefix and suffix are added to the filename, if needed, and the result | |
| 126 | 1234 | is added to the directory, using the correct separator character. | |
| 127 | 1235 | ||
| @@ -134,11 +1242,13 @@ For example, calling g_module_build_path() on a Linux system with a | |||
| 134 | 1242 | @directory of `/lib` and a @module_name of "mylibrary" will return | |
| 135 | 1243 | `/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the | |
| 136 | 1244 | directory it will return `\Windows\mylibrary.dll`.</doc> | |
| 137 | - | <source-position filename="gmodule.h" line="137"/> | |
| 1245 | + | <doc-deprecated xml:space="preserve">Use g_module_open() instead with @module_name as the | |
| 1246 | + | basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecated> | |
| 1247 | + | <source-position filename="gmodule/gmodule.h" line="142"/> | |
| 138 | 1248 | <return-value transfer-ownership="full"> | |
| 139 | 1249 | <doc xml:space="preserve" | |
| 140 | - | filename="gmodule-2.0.c" | |
| 141 | - | line="180">the complete path of the module, including the standard library | |
| 1250 | + | filename="gmodule/gmodule.c" | |
| 1251 | + | line="897">the complete path of the module, including the standard library | |
| 142 | 1252 | prefix and suffix. This should be freed when no longer needed</doc> | |
| 143 | 1253 | <type name="utf8" c:type="gchar*"/> | |
| 144 | 1254 | </return-value> | |
| @@ -148,29 +1258,29 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 148 | 1258 | nullable="1" | |
| 149 | 1259 | allow-none="1"> | |
| 150 | 1260 | <doc xml:space="preserve" | |
| 151 | - | filename="gmodule-2.0.c" | |
| 152 | - | line="161">the directory where the module is. This can be | |
| 1261 | + | filename="gmodule/gmodule.c" | |
| 1262 | + | line="878">the directory where the module is. This can be | |
| 153 | 1263 | %NULL or the empty string to indicate that the standard platform-specific | |
| 154 | 1264 | directories will be used, though that is not recommended</doc> | |
| 155 | 1265 | <type name="utf8" c:type="const gchar*"/> | |
| 156 | 1266 | </parameter> | |
| 157 | 1267 | <parameter name="module_name" transfer-ownership="none"> | |
| 158 | 1268 | <doc xml:space="preserve" | |
| 159 | - | filename="gmodule-2.0.c" | |
| 160 | - | line="164">the name of the module</doc> | |
| 1269 | + | filename="gmodule/gmodule.c" | |
| 1270 | + | line="881">the name of the module</doc> | |
| 161 | 1271 | <type name="utf8" c:type="const gchar*"/> | |
| 162 | 1272 | </parameter> | |
| 163 | 1273 | </parameters> | |
| 164 | 1274 | </function> | |
| 165 | 1275 | <function name="error" c:identifier="g_module_error"> | |
| 166 | 1276 | <doc xml:space="preserve" | |
| 167 | - | filename="gmodule-2.0.c" | |
| 168 | - | line="195">Gets a string describing the last module error.</doc> | |
| 169 | - | <source-position filename="gmodule.h" line="113"/> | |
| 1277 | + | filename="gmodule/gmodule.c" | |
| 1278 | + | line="787">Gets a string describing the last module error.</doc> | |
| 1279 | + | <source-position filename="gmodule/gmodule.h" line="118"/> | |
| 170 | 1280 | <return-value transfer-ownership="none"> | |
| 171 | 1281 | <doc xml:space="preserve" | |
| 172 | - | filename="gmodule-2.0.c" | |
| 173 | - | line="200">a string describing the last module error</doc> | |
| 1282 | + | filename="gmodule/gmodule.c" | |
| 1283 | + | line="792">a string describing the last module error</doc> | |
| 174 | 1284 | <type name="utf8" c:type="const gchar*"/> | |
| 175 | 1285 | </return-value> | |
| 176 | 1286 | </function> | |
| @@ -181,13 +1291,13 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 181 | 1291 | </function> | |
| 182 | 1292 | <function name="open" c:identifier="g_module_open" introspectable="0"> | |
| 183 | 1293 | <doc xml:space="preserve" | |
| 184 | - | filename="gmodule-2.0.c" | |
| 185 | - | line="225">A thin wrapper function around g_module_open_full()</doc> | |
| 186 | - | <source-position filename="gmodule.h" line="95"/> | |
| 1294 | + | filename="gmodule/gmodule.c" | |
| 1295 | + | line="693">A thin wrapper function around g_module_open_full()</doc> | |
| 1296 | + | <source-position filename="gmodule/gmodule.h" line="100"/> | |
| 187 | 1297 | <return-value> | |
| 188 | 1298 | <doc xml:space="preserve" | |
| 189 | - | filename="gmodule-2.0.c" | |
| 190 | - | line="234">a #GModule on success, or %NULL on failure</doc> | |
| 1299 | + | filename="gmodule/gmodule.c" | |
| 1300 | + | line="702">a #GModule on success, or %NULL on failure</doc> | |
| 191 | 1301 | <type name="Module" c:type="GModule*"/> | |
| 192 | 1302 | </return-value> | |
| 193 | 1303 | <parameters> | |
| @@ -196,15 +1306,15 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 196 | 1306 | nullable="1" | |
| 197 | 1307 | allow-none="1"> | |
| 198 | 1308 | <doc xml:space="preserve" | |
| 199 | - | filename="gmodule-2.0.c" | |
| 200 | - | line="227">the name of the file containing the module, or %NULL | |
| 201 | - | to obtain a #GModule representing the main program itself</doc> | |
| 1309 | + | filename="gmodule/gmodule.c" | |
| 1310 | + | line="695">the name or path to the file containing the module, | |
| 1311 | + | or %NULL to obtain a #GModule representing the main program itself</doc> | |
| 202 | 1312 | <type name="utf8" c:type="const gchar*"/> | |
| 203 | 1313 | </parameter> | |
| 204 | 1314 | <parameter name="flags" transfer-ownership="none"> | |
| 205 | 1315 | <doc xml:space="preserve" | |
| 206 | - | filename="gmodule-2.0.c" | |
| 207 | - | line="229">the flags used for opening the module. This can be the | |
| 1316 | + | filename="gmodule/gmodule.c" | |
| 1317 | + | line="697">the flags used for opening the module. This can be the | |
| 208 | 1318 | logical OR of any of the #GModuleFlags.</doc> | |
| 209 | 1319 | <type name="ModuleFlags" c:type="GModuleFlags"/> | |
| 210 | 1320 | </parameter> | |
| @@ -216,24 +1326,35 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 216 | 1326 | introspectable="0" | |
| 217 | 1327 | throws="1"> | |
| 218 | 1328 | <doc xml:space="preserve" | |
| 219 | - | filename="gmodule-2.0.c" | |
| 220 | - | line="238">Opens a module. If the module has already been opened, | |
| 221 | - | its reference count is incremented. | |
| 1329 | + | filename="gmodule/gmodule.c" | |
| 1330 | + | line="429">Opens a module. If the module has already been opened, its reference count | |
| 1331 | + | is incremented. If not, the module is searched using @file_name. | |
| 222 | 1332 | ||
| 223 | - | First of all g_module_open_full() tries to open @file_name as a module. | |
| 224 | - | If that fails and @file_name has the ".la"-suffix (and is a libtool | |
| 225 | - | archive) it tries to open the corresponding module. If that fails | |
| 226 | - | and it doesn't have the proper module suffix for the platform | |
| 227 | - | (%G_MODULE_SUFFIX), this suffix will be appended and the corresponding | |
| 228 | - | module will be opened. If that fails and @file_name doesn't have the | |
| 229 | - | ".la"-suffix, this suffix is appended and g_module_open_full() tries to open | |
| 230 | - | the corresponding module. If eventually that fails as well, %NULL is | |
| 231 | - | returned.</doc> | |
| 232 | - | <source-position filename="gmodule.h" line="99"/> | |
| 1333 | + | Since 2.76, the search order/behavior is as follows: | |
| 1334 | + | ||
| 1335 | + | 1. If @file_name exists as a regular file, it is used as-is; else | |
| 1336 | + | 2. If @file_name doesn't have the correct suffix and/or prefix for the | |
| 1337 | + | platform, then possible suffixes and prefixes will be added to the | |
| 1338 | + | basename till a file is found and whatever is found will be used; else | |
| 1339 | + | 3. If @file_name doesn't have the ".la"-suffix, ".la" is appended. Either | |
| 1340 | + | way, if a matching .la file exists (and is a libtool archive) the | |
| 1341 | + | libtool archive is parsed to find the actual file name, and that is | |
| 1342 | + | used. | |
| 1343 | + | ||
| 1344 | + | If, at the end of all this, we have a file path that we can access on disk, | |
| 1345 | + | it is opened as a module. If not, @file_name is attempted to be opened as a | |
| 1346 | + | module verbatim in the hopes that the system implementation will somehow be | |
| 1347 | + | able to access it. If that is not possible, %NULL is returned. | |
| 1348 | + | ||
| 1349 | + | Note that this behaviour was different prior to 2.76, but there is some | |
| 1350 | + | overlap in functionality. If backwards compatibility is an issue, kindly | |
| 1351 | + | consult earlier #GModule documentation for the prior search order/behavior | |
| 1352 | + | of @file_name.</doc> | |
| 1353 | + | <source-position filename="gmodule/gmodule.h" line="104"/> | |
| 233 | 1354 | <return-value> | |
| 234 | 1355 | <doc xml:space="preserve" | |
| 235 | - | filename="gmodule-2.0.c" | |
| 236 | - | line="259">a #GModule on success, or %NULL on failure</doc> | |
| 1356 | + | filename="gmodule/gmodule.c" | |
| 1357 | + | line="461">a #GModule on success, or %NULL on failure</doc> | |
| 237 | 1358 | <type name="Module" c:type="GModule*"/> | |
| 238 | 1359 | </return-value> | |
| 239 | 1360 | <parameters> | |
| @@ -242,15 +1363,15 @@ returned.</doc> | |||
| 242 | 1363 | nullable="1" | |
| 243 | 1364 | allow-none="1"> | |
| 244 | 1365 | <doc xml:space="preserve" | |
| 245 | - | filename="gmodule-2.0.c" | |
| 246 | - | line="240">the name of the file containing the module, or %NULL | |
| 247 | - | to obtain a #GModule representing the main program itself</doc> | |
| 1366 | + | filename="gmodule/gmodule.c" | |
| 1367 | + | line="431">the name or path to the file containing the module, | |
| 1368 | + | or %NULL to obtain a #GModule representing the main program itself</doc> | |
| 248 | 1369 | <type name="utf8" c:type="const gchar*"/> | |
| 249 | 1370 | </parameter> | |
| 250 | 1371 | <parameter name="flags" transfer-ownership="none"> | |
| 251 | 1372 | <doc xml:space="preserve" | |
| 252 | - | filename="gmodule-2.0.c" | |
| 253 | - | line="242">the flags used for opening the module. This can be the | |
| 1373 | + | filename="gmodule/gmodule.c" | |
| 1374 | + | line="433">the flags used for opening the module. This can be the | |
| 254 | 1375 | logical OR of any of the #GModuleFlags</doc> | |
| 255 | 1376 | <type name="ModuleFlags" c:type="GModuleFlags"/> | |
| 256 | 1377 | </parameter> | |
| @@ -258,37 +1379,37 @@ returned.</doc> | |||
| 258 | 1379 | </function> | |
| 259 | 1380 | <function name="supported" c:identifier="g_module_supported"> | |
| 260 | 1381 | <doc xml:space="preserve" | |
| 261 | - | filename="gmodule-2.0.c" | |
| 262 | - | line="264">Checks if modules are supported on the current platform.</doc> | |
| 263 | - | <source-position filename="gmodule.h" line="91"/> | |
| 1382 | + | filename="gmodule/gmodule.c" | |
| 1383 | + | line="289">Checks if modules are supported on the current platform.</doc> | |
| 1384 | + | <source-position filename="gmodule/gmodule.h" line="96"/> | |
| 264 | 1385 | <return-value transfer-ownership="none"> | |
| 265 | 1386 | <doc xml:space="preserve" | |
| 266 | - | filename="gmodule-2.0.c" | |
| 267 | - | line="269">%TRUE if modules are supported</doc> | |
| 1387 | + | filename="gmodule/gmodule.c" | |
| 1388 | + | line="294">%TRUE if modules are supported</doc> | |
| 268 | 1389 | <type name="gboolean" c:type="gboolean"/> | |
| 269 | 1390 | </return-value> | |
| 270 | 1391 | </function> | |
| 271 | 1392 | </record> | |
| 272 | 1393 | <callback name="ModuleCheckInit" c:type="GModuleCheckInit"> | |
| 273 | 1394 | <doc xml:space="preserve" | |
| 274 | - | filename="gmodule-2.0.c" | |
| 275 | - | line="14">Specifies the type of the module initialization function. | |
| 1395 | + | filename="gmodule/gmodule.c" | |
| 1396 | + | line="64">Specifies the type of the module initialization function. | |
| 276 | 1397 | If a module contains a function named g_module_check_init() it is called | |
| 277 | 1398 | automatically when the module is loaded. It is passed the #GModule structure | |
| 278 | 1399 | and should return %NULL on success or a string describing the initialization | |
| 279 | 1400 | error.</doc> | |
| 280 | - | <source-position filename="gmodule.h" line="66"/> | |
| 1401 | + | <source-position filename="gmodule/gmodule.h" line="71"/> | |
| 281 | 1402 | <return-value transfer-ownership="none"> | |
| 282 | 1403 | <doc xml:space="preserve" | |
| 283 | - | filename="gmodule-2.0.c" | |
| 284 | - | line="24">%NULL on success, or a string describing the initialization error</doc> | |
| 1404 | + | filename="gmodule/gmodule.c" | |
| 1405 | + | line="74">%NULL on success, or a string describing the initialization error</doc> | |
| 285 | 1406 | <type name="utf8" c:type="const gchar*"/> | |
| 286 | 1407 | </return-value> | |
| 287 | 1408 | <parameters> | |
| 288 | 1409 | <parameter name="module" transfer-ownership="none"> | |
| 289 | 1410 | <doc xml:space="preserve" | |
| 290 | - | filename="gmodule-2.0.c" | |
| 291 | - | line="16">the #GModule corresponding to the module which has just been loaded</doc> | |
| 1411 | + | filename="gmodule/gmodule.c" | |
| 1412 | + | line="66">the #GModule corresponding to the module which has just been loaded</doc> | |
| 292 | 1413 | <type name="Module" c:type="GModule*"/> | |
| 293 | 1414 | </parameter> | |
| 294 | 1415 | </parameters> | |
| @@ -298,75 +1419,99 @@ error.</doc> | |||
| 298 | 1419 | c:type="GModuleError" | |
| 299 | 1420 | glib:error-domain="g-module-error-quark"> | |
| 300 | 1421 | <doc xml:space="preserve" | |
| 301 | - | filename="gmodule.h" | |
| 302 | - | line="73">Errors returned by g_module_open_full().</doc> | |
| 303 | - | <source-position filename="gmodule.h" line="86"/> | |
| 1422 | + | filename="gmodule/gmodule.h" | |
| 1423 | + | line="78">Errors returned by g_module_open_full().</doc> | |
| 1424 | + | <source-position filename="gmodule/gmodule.h" line="91"/> | |
| 304 | 1425 | <member name="failed" value="0" c:identifier="G_MODULE_ERROR_FAILED"> | |
| 305 | 1426 | <doc xml:space="preserve" | |
| 306 | - | filename="gmodule.h" | |
| 307 | - | line="75">there was an error loading or opening a module file</doc> | |
| 1427 | + | filename="gmodule/gmodule.h" | |
| 1428 | + | line="80">there was an error loading or opening a module file</doc> | |
| 308 | 1429 | </member> | |
| 309 | 1430 | <member name="check_failed" | |
| 310 | 1431 | value="1" | |
| 311 | 1432 | c:identifier="G_MODULE_ERROR_CHECK_FAILED"> | |
| 312 | 1433 | <doc xml:space="preserve" | |
| 313 | - | filename="gmodule.h" | |
| 314 | - | line="76">a module returned an error from its `g_module_check_init()` function</doc> | |
| 1434 | + | filename="gmodule/gmodule.h" | |
| 1435 | + | line="81">a module returned an error from its `g_module_check_init()` function</doc> | |
| 315 | 1436 | </member> | |
| 316 | 1437 | </enumeration> | |
| 317 | 1438 | <bitfield name="ModuleFlags" c:type="GModuleFlags"> | |
| 318 | 1439 | <doc xml:space="preserve" | |
| 319 | - | filename="gmodule.h" | |
| 320 | - | line="44">Flags passed to g_module_open(). | |
| 1440 | + | filename="gmodule/gmodule.h" | |
| 1441 | + | line="49">Flags passed to g_module_open(). | |
| 321 | 1442 | Note that these flags are not supported on all platforms.</doc> | |
| 322 | - | <source-position filename="gmodule.h" line="63"/> | |
| 1443 | + | <source-position filename="gmodule/gmodule.h" line="68"/> | |
| 323 | 1444 | <member name="lazy" value="1" c:identifier="G_MODULE_BIND_LAZY"> | |
| 324 | 1445 | <doc xml:space="preserve" | |
| 325 | - | filename="gmodule.h" | |
| 326 | - | line="46">specifies that symbols are only resolved when | |
| 1446 | + | filename="gmodule/gmodule.h" | |
| 1447 | + | line="51">specifies that symbols are only resolved when | |
| 327 | 1448 | needed. The default action is to bind all symbols when the module | |
| 328 | 1449 | is loaded.</doc> | |
| 329 | 1450 | </member> | |
| 330 | 1451 | <member name="local" value="2" c:identifier="G_MODULE_BIND_LOCAL"> | |
| 331 | 1452 | <doc xml:space="preserve" | |
| 332 | - | filename="gmodule.h" | |
| 333 | - | line="49">specifies that symbols in the module should | |
| 1453 | + | filename="gmodule/gmodule.h" | |
| 1454 | + | line="54">specifies that symbols in the module should | |
| 334 | 1455 | not be added to the global name space. The default action on most | |
| 335 | 1456 | platforms is to place symbols in the module in the global name space, | |
| 336 | 1457 | which may cause conflicts with existing symbols.</doc> | |
| 337 | 1458 | </member> | |
| 338 | 1459 | <member name="mask" value="3" c:identifier="G_MODULE_BIND_MASK"> | |
| 339 | 1460 | <doc xml:space="preserve" | |
| 340 | - | filename="gmodule.h" | |
| 341 | - | line="53">mask for all flags.</doc> | |
| 1461 | + | filename="gmodule/gmodule.h" | |
| 1462 | + | line="58">mask for all flags.</doc> | |
| 342 | 1463 | </member> | |
| 343 | 1464 | </bitfield> | |
| 344 | 1465 | <callback name="ModuleUnload" c:type="GModuleUnload"> | |
| 345 | 1466 | <doc xml:space="preserve" | |
| 346 | - | filename="gmodule-2.0.c" | |
| 347 | - | line="28">Specifies the type of the module function called when it is unloaded. | |
| 1467 | + | filename="gmodule/gmodule.c" | |
| 1468 | + | line="77">Specifies the type of the module function called when it is unloaded. | |
| 348 | 1469 | If a module contains a function named g_module_unload() it is called | |
| 349 | 1470 | automatically when the module is unloaded. | |
| 350 | 1471 | It is passed the #GModule structure.</doc> | |
| 351 | - | <source-position filename="gmodule.h" line="67"/> | |
| 1472 | + | <source-position filename="gmodule/gmodule.h" line="72"/> | |
| 352 | 1473 | <return-value transfer-ownership="none"> | |
| 353 | 1474 | <type name="none" c:type="void"/> | |
| 354 | 1475 | </return-value> | |
| 355 | 1476 | <parameters> | |
| 356 | 1477 | <parameter name="module" transfer-ownership="none"> | |
| 357 | 1478 | <doc xml:space="preserve" | |
| 358 | - | filename="gmodule-2.0.c" | |
| 359 | - | line="30">the #GModule about to be unloaded</doc> | |
| 1479 | + | filename="gmodule/gmodule.c" | |
| 1480 | + | line="79">the #GModule about to be unloaded</doc> | |
| 360 | 1481 | <type name="Module" c:type="GModule*"/> | |
| 361 | 1482 | </parameter> | |
| 362 | 1483 | </parameters> | |
| 363 | 1484 | </callback> | |
| 1485 | + | <function-macro name="UNAVAILABLE" | |
| 1486 | + | c:identifier="GMODULE_UNAVAILABLE" | |
| 1487 | + | introspectable="0"> | |
| 1488 | + | <source-position filename="gmodule/gmodule-visibility.h" line="27"/> | |
| 1489 | + | <parameters> | |
| 1490 | + | <parameter name="maj"> | |
| 1491 | + | </parameter> | |
| 1492 | + | <parameter name="min"> | |
| 1493 | + | </parameter> | |
| 1494 | + | </parameters> | |
| 1495 | + | </function-macro> | |
| 1496 | + | <function-macro name="UNAVAILABLE_STATIC_INLINE" | |
| 1497 | + | c:identifier="GMODULE_UNAVAILABLE_STATIC_INLINE" | |
| 1498 | + | introspectable="0"> | |
| 1499 | + | <source-position filename="gmodule/gmodule-visibility.h" line="28"/> | |
| 1500 | + | <parameters> | |
| 1501 | + | <parameter name="maj"> | |
| 1502 | + | </parameter> | |
| 1503 | + | <parameter name="min"> | |
| 1504 | + | </parameter> | |
| 1505 | + | </parameters> | |
| 1506 | + | </function-macro> | |
| 364 | 1507 | <function name="module_build_path" | |
| 365 | 1508 | c:identifier="g_module_build_path" | |
| 366 | - | moved-to="Module.build_path"> | |
| 1509 | + | moved-to="Module.build_path" | |
| 1510 | + | deprecated="1" | |
| 1511 | + | deprecated-version="2.76"> | |
| 367 | 1512 | <doc xml:space="preserve" | |
| 368 | - | filename="gmodule-2.0.c" | |
| 369 | - | line="159">A portable way to build the filename of a module. The platform-specific | |
| 1513 | + | filename="gmodule/gmodule.c" | |
| 1514 | + | line="876">A portable way to build the filename of a module. The platform-specific | |
| 370 | 1515 | prefix and suffix are added to the filename, if needed, and the result | |
| 371 | 1516 | is added to the directory, using the correct separator character. | |
| 372 | 1517 | ||
| @@ -379,11 +1524,13 @@ For example, calling g_module_build_path() on a Linux system with a | |||
| 379 | 1524 | @directory of `/lib` and a @module_name of "mylibrary" will return | |
| 380 | 1525 | `/lib/libmylibrary.so`. On a Windows system, using `\Windows` as the | |
| 381 | 1526 | directory it will return `\Windows\mylibrary.dll`.</doc> | |
| 382 | - | <source-position filename="gmodule.h" line="137"/> | |
| 1527 | + | <doc-deprecated xml:space="preserve">Use g_module_open() instead with @module_name as the | |
| 1528 | + | basename of the file_name argument. See %G_MODULE_SUFFIX for why.</doc-deprecated> | |
| 1529 | + | <source-position filename="gmodule/gmodule.h" line="142"/> | |
| 383 | 1530 | <return-value transfer-ownership="full"> | |
| 384 | 1531 | <doc xml:space="preserve" | |
| 385 | - | filename="gmodule-2.0.c" | |
| 386 | - | line="180">the complete path of the module, including the standard library | |
| 1532 | + | filename="gmodule/gmodule.c" | |
| 1533 | + | line="897">the complete path of the module, including the standard library | |
| 387 | 1534 | prefix and suffix. This should be freed when no longer needed</doc> | |
| 388 | 1535 | <type name="utf8" c:type="gchar*"/> | |
| 389 | 1536 | </return-value> | |
| @@ -393,16 +1540,16 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 393 | 1540 | nullable="1" | |
| 394 | 1541 | allow-none="1"> | |
| 395 | 1542 | <doc xml:space="preserve" | |
| 396 | - | filename="gmodule-2.0.c" | |
| 397 | - | line="161">the directory where the module is. This can be | |
| 1543 | + | filename="gmodule/gmodule.c" | |
| 1544 | + | line="878">the directory where the module is. This can be | |
| 398 | 1545 | %NULL or the empty string to indicate that the standard platform-specific | |
| 399 | 1546 | directories will be used, though that is not recommended</doc> | |
| 400 | 1547 | <type name="utf8" c:type="const gchar*"/> | |
| 401 | 1548 | </parameter> | |
| 402 | 1549 | <parameter name="module_name" transfer-ownership="none"> | |
| 403 | 1550 | <doc xml:space="preserve" | |
| 404 | - | filename="gmodule-2.0.c" | |
| 405 | - | line="164">the name of the module</doc> | |
| 1551 | + | filename="gmodule/gmodule.c" | |
| 1552 | + | line="881">the name of the module</doc> | |
| 406 | 1553 | <type name="utf8" c:type="const gchar*"/> | |
| 407 | 1554 | </parameter> | |
| 408 | 1555 | </parameters> | |
| @@ -411,13 +1558,13 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 411 | 1558 | c:identifier="g_module_error" | |
| 412 | 1559 | moved-to="Module.error"> | |
| 413 | 1560 | <doc xml:space="preserve" | |
| 414 | - | filename="gmodule-2.0.c" | |
| 415 | - | line="195">Gets a string describing the last module error.</doc> | |
| 416 | - | <source-position filename="gmodule.h" line="113"/> | |
| 1561 | + | filename="gmodule/gmodule.c" | |
| 1562 | + | line="787">Gets a string describing the last module error.</doc> | |
| 1563 | + | <source-position filename="gmodule/gmodule.h" line="118"/> | |
| 417 | 1564 | <return-value transfer-ownership="none"> | |
| 418 | 1565 | <doc xml:space="preserve" | |
| 419 | - | filename="gmodule-2.0.c" | |
| 420 | - | line="200">a string describing the last module error</doc> | |
| 1566 | + | filename="gmodule/gmodule.c" | |
| 1567 | + | line="792">a string describing the last module error</doc> | |
| 421 | 1568 | <type name="utf8" c:type="const gchar*"/> | |
| 422 | 1569 | </return-value> | |
| 423 | 1570 | </function> | |
| @@ -432,91 +1579,15 @@ directory it will return `\Windows\mylibrary.dll`.</doc> | |||
| 432 | 1579 | c:identifier="g_module_supported" | |
| 433 | 1580 | moved-to="Module.supported"> | |
| 434 | 1581 | <doc xml:space="preserve" | |
| 435 | - | filename="gmodule-2.0.c" | |
| 436 | - | line="264">Checks if modules are supported on the current platform.</doc> | |
| 437 | - | <source-position filename="gmodule.h" line="91"/> | |
| 1582 | + | filename="gmodule/gmodule.c" | |
| 1583 | + | line="289">Checks if modules are supported on the current platform.</doc> | |
| 1584 | + | <source-position filename="gmodule/gmodule.h" line="96"/> | |
| 438 | 1585 | <return-value transfer-ownership="none"> | |
| 439 | 1586 | <doc xml:space="preserve" | |
| 440 | - | filename="gmodule-2.0.c" | |
| 441 | - | line="269">%TRUE if modules are supported</doc> | |
| 1587 | + | filename="gmodule/gmodule.c" | |
| 1588 | + | line="294">%TRUE if modules are supported</doc> | |
| 442 | 1589 | <type name="gboolean" c:type="gboolean"/> | |
| 443 | 1590 | </return-value> | |
| 444 | 1591 | </function> | |
| 445 | - | <docsection name="modules"> | |
| 446 | - | <doc xml:space="preserve" | |
| 447 | - | filename="gmodule-2.0.c" | |
| 448 | - | line="79">These functions provide a portable way to dynamically load object files | |
| 449 | - | (commonly known as 'plug-ins'). The current implementation supports all | |
| 450 | - | systems that provide an implementation of dlopen() (e.g. Linux/Sun), as | |
| 451 | - | well as Windows platforms via DLLs. | |
| 452 | - | ||
| 453 | - | A program which wants to use these functions must be linked to the | |
| 454 | - | libraries output by the command `pkg-config --libs gmodule-2.0`. | |
| 455 | - | ||
| 456 | - | To use them you must first determine whether dynamic loading | |
| 457 | - | is supported on the platform by calling g_module_supported(). | |
| 458 | - | If it is, you can open a module with g_module_open(), | |
| 459 | - | find the module's symbols (e.g. function names) with g_module_symbol(), | |
| 460 | - | and later close the module with g_module_close(). | |
| 461 | - | g_module_name() will return the file name of a currently opened module. | |
| 462 | - | ||
| 463 | - | If any of the above functions fail, the error status can be found with | |
| 464 | - | g_module_error(). | |
| 465 | - | ||
| 466 | - | The #GModule implementation features reference counting for opened modules, | |
| 467 | - | and supports hook functions within a module which are called when the | |
| 468 | - | module is loaded and unloaded (see #GModuleCheckInit and #GModuleUnload). | |
| 469 | - | ||
| 470 | - | If your module introduces static data to common subsystems in the running | |
| 471 | - | program, e.g. through calling | |
| 472 | - | `g_quark_from_static_string ("my-module-stuff")`, | |
| 473 | - | it must ensure that it is never unloaded, by calling g_module_make_resident(). | |
| 474 | - | ||
| 475 | - | Example: Calling a function defined in a GModule | |
| 476 | - | |[<!-- language="C" --> | |
| 477 | - | // the function signature for 'say_hello' | |
| 478 | - | typedef void (* SayHelloFunc) (const char *message); | |
| 479 | - | ||
| 480 | - | gboolean | |
| 481 | - | just_say_hello (const char *filename, GError **error) | |
| 482 | - | { | |
| 483 | - | SayHelloFunc say_hello; | |
| 484 | - | GModule *module; | |
| 485 | - | ||
| 486 | - | module = g_module_open (filename, G_MODULE_BIND_LAZY); | |
| 487 | - | if (!module) | |
| 488 | - | { | |
| 489 | - | g_set_error (error, FOO_ERROR, FOO_ERROR_BLAH, | |
| 490 | - | "%s", g_module_error ()); | |
| 491 | - | return FALSE; | |
| 492 | - | } | |
| 493 | - | ||
| 494 | - | if (!g_module_symbol (module, "say_hello", (gpointer *)&say_hello)) | |
| 495 | - | { | |
| 496 | - | g_set_error (error, SAY_ERROR, SAY_ERROR_OPEN, | |
| 497 | - | "%s: %s", filename, g_module_error ()); | |
| 498 | - | if (!g_module_close (module)) | |
| 499 | - | g_warning ("%s: %s", filename, g_module_error ()); | |
| 500 | - | return FALSE; | |
| 501 | - | } | |
| 502 | - | ||
| 503 | - | if (say_hello == NULL) | |
| 504 | - | { | |
| 505 | - | g_set_error (error, SAY_ERROR, SAY_ERROR_OPEN, | |
| 506 | - | "symbol say_hello is NULL"); | |
| 507 | - | if (!g_module_close (module)) | |
| 508 | - | g_warning ("%s: %s", filename, g_module_error ()); | |
| 509 | - | return FALSE; | |
| 510 | - | } | |
| 511 | - | ||
| 512 | - | // call our function in the module | |
| 513 | - | say_hello ("Hello world!"); | |
| 514 | - | ||
| 515 | - | if (!g_module_close (module)) | |
| 516 | - | g_warning ("%s: %s", filename, g_module_error ()); | |
| 517 | - | return TRUE; | |
| 518 | - | } | |
| 519 | - | ]|</doc> | |
| 520 | - | </docsection> | |
| 521 | 1592 | </namespace> | |
| 522 | 1593 | </repository> | |
M internal/gir/spec/GObject-2.0.gir +10272 -7693
| @@ -13,35 +13,35 @@ and/or use gtk-doc annotations. --> | |||
| 13 | 13 | version="2.0" | |
| 14 | 14 | shared-library="libgobject-2.0.so.0" | |
| 15 | 15 | c:identifier-prefixes="G" | |
| 16 | - | c:symbol-prefixes="g"> | |
| 16 | + | c:symbol-prefixes="gobject,g"> | |
| 17 | 17 | <alias name="SignalCMarshaller" c:type="GSignalCMarshaller"> | |
| 18 | 18 | <doc xml:space="preserve" | |
| 19 | - | filename="gsignal.h" | |
| 20 | - | line="34">This is the signature of marshaller functions, required to marshall | |
| 19 | + | filename="gobject/gsignal.h" | |
| 20 | + | line="36">This is the signature of marshaller functions, required to marshall | |
| 21 | 21 | arrays of parameter values to signal emissions into C language callback | |
| 22 | 22 | invocations. | |
| 23 | 23 | ||
| 24 | 24 | It is merely an alias to #GClosureMarshal since the #GClosure mechanism | |
| 25 | 25 | takes over responsibility of actual function invocation for the signal | |
| 26 | 26 | system.</doc> | |
| 27 | - | <source-position filename="gsignal.h" line="45"/> | |
| 27 | + | <source-position filename="gobject/gsignal.h" line="47"/> | |
| 28 | 28 | <type name="ClosureMarshal" c:type="GClosureMarshal"/> | |
| 29 | 29 | </alias> | |
| 30 | 30 | <alias name="SignalCVaMarshaller" c:type="GSignalCVaMarshaller"> | |
| 31 | 31 | <doc xml:space="preserve" | |
| 32 | - | filename="gsignal.h" | |
| 33 | - | line="46">This is the signature of va_list marshaller functions, an optional | |
| 32 | + | filename="gobject/gsignal.h" | |
| 33 | + | line="48">This is the signature of va_list marshaller functions, an optional | |
| 34 | 34 | marshaller that can be used in some situations to avoid | |
| 35 | 35 | marshalling the signal argument into GValues.</doc> | |
| 36 | - | <source-position filename="gsignal.h" line="53"/> | |
| 36 | + | <source-position filename="gobject/gsignal.h" line="55"/> | |
| 37 | 37 | <type name="VaClosureMarshal" c:type="GVaClosureMarshal"/> | |
| 38 | 38 | </alias> | |
| 39 | 39 | <alias name="Type" c:type="GType"> | |
| 40 | 40 | <doc xml:space="preserve" | |
| 41 | - | filename="gtype.h" | |
| 42 | - | line="393">A numerical value which represents the unique identifier of a registered | |
| 41 | + | filename="gobject/gtype.h" | |
| 42 | + | line="418">A numerical value which represents the unique identifier of a registered | |
| 43 | 43 | type.</doc> | |
| 44 | - | <source-position filename="gtype.h" line="400"/> | |
| 44 | + | <source-position filename="gobject/glib-types.h" line="33"/> | |
| 45 | 45 | <type name="gsize" c:type="gsize"/> | |
| 46 | 46 | </alias> | |
| 47 | 47 | <function-macro name="ADD_PRIVATE" | |
| @@ -49,8 +49,8 @@ type.</doc> | |||
| 49 | 49 | version="2.38" | |
| 50 | 50 | introspectable="0"> | |
| 51 | 51 | <doc xml:space="preserve" | |
| 52 | - | filename="gtype.h" | |
| 53 | - | line="1965">A convenience macro to ease adding private data to instances of a new type | |
| 52 | + | filename="gobject/gtype.h" | |
| 53 | + | line="2122">A convenience macro to ease adding private data to instances of a new type | |
| 54 | 54 | in the @_C_ section of G_DEFINE_TYPE_WITH_CODE() or | |
| 55 | 55 | G_DEFINE_ABSTRACT_TYPE_WITH_CODE(). | |
| 56 | 56 | ||
| @@ -115,12 +115,12 @@ name of the form `TypeNamePrivate`. | |||
| 115 | 115 | It is safe to call the `_get_instance_private` function on %NULL or invalid | |
| 116 | 116 | objects since it's only adding an offset to the instance pointer. In that | |
| 117 | 117 | case the returned pointer must not be dereferenced.</doc> | |
| 118 | - | <source-position filename="gtype.h" line="2037"/> | |
| 118 | + | <source-position filename="gobject/gtype.h" line="2194"/> | |
| 119 | 119 | <parameters> | |
| 120 | 120 | <parameter name="TypeName"> | |
| 121 | 121 | <doc xml:space="preserve" | |
| 122 | - | filename="gtype.h" | |
| 123 | - | line="1967">the name of the type in CamelCase</doc> | |
| 122 | + | filename="gobject/gtype.h" | |
| 123 | + | line="2124">the name of the type in CamelCase</doc> | |
| 124 | 124 | </parameter> | |
| 125 | 125 | </parameters> | |
| 126 | 126 | </function-macro> | |
| @@ -129,8 +129,8 @@ case the returned pointer must not be dereferenced.</doc> | |||
| 129 | 129 | version="2.38" | |
| 130 | 130 | introspectable="0"> | |
| 131 | 131 | <doc xml:space="preserve" | |
| 132 | - | filename="gtypemodule.h" | |
| 133 | - | line="250">A convenience macro to ease adding private data to instances of a new dynamic | |
| 132 | + | filename="gobject/gtypemodule.h" | |
| 133 | + | line="245">A convenience macro to ease adding private data to instances of a new dynamic | |
| 134 | 134 | type in the @_C_ section of G_DEFINE_DYNAMIC_TYPE_EXTENDED(). | |
| 135 | 135 | ||
| 136 | 136 | See G_ADD_PRIVATE() for details, it is similar but for static types. | |
| @@ -138,17 +138,22 @@ See G_ADD_PRIVATE() for details, it is similar but for static types. | |||
| 138 | 138 | Note that this macro can only be used together with the | |
| 139 | 139 | G_DEFINE_DYNAMIC_TYPE_EXTENDED macros, since it depends on variable | |
| 140 | 140 | names from that macro.</doc> | |
| 141 | - | <source-position filename="gtypemodule.h" line="265"/> | |
| 141 | + | <source-position filename="gobject/gtypemodule.h" line="260"/> | |
| 142 | 142 | <parameters> | |
| 143 | 143 | <parameter name="TypeName"> | |
| 144 | 144 | <doc xml:space="preserve" | |
| 145 | - | filename="gtypemodule.h" | |
| 146 | - | line="252">the name of the type in CamelCase</doc> | |
| 145 | + | filename="gobject/gtypemodule.h" | |
| 146 | + | line="247">the name of the type in CamelCase</doc> | |
| 147 | 147 | </parameter> | |
| 148 | 148 | </parameters> | |
| 149 | 149 | </function-macro> | |
| 150 | + | <glib:boxed glib:name="Array" | |
| 151 | + | c:symbol-prefix="array" | |
| 152 | + | glib:type-name="GArray" | |
| 153 | + | glib:get-type="g_array_get_type"> | |
| 154 | + | </glib:boxed> | |
| 150 | 155 | <function-macro name="BINDING" c:identifier="G_BINDING" introspectable="0"> | |
| 151 | - | <source-position filename="gbinding.h" line="36"/> | |
| 156 | + | <source-position filename="gobject/gbinding.h" line="38"/> | |
| 152 | 157 | <parameters> | |
| 153 | 158 | <parameter name="obj"> | |
| 154 | 159 | </parameter> | |
| @@ -157,7 +162,7 @@ names from that macro.</doc> | |||
| 157 | 162 | <function-macro name="BINDING_GROUP" | |
| 158 | 163 | c:identifier="G_BINDING_GROUP" | |
| 159 | 164 | introspectable="0"> | |
| 160 | - | <source-position filename="gbindinggroup.h" line="35"/> | |
| 165 | + | <source-position filename="gobject/gbindinggroup.h" line="35"/> | |
| 161 | 166 | <parameters> | |
| 162 | 167 | <parameter name="obj"> | |
| 163 | 168 | </parameter> | |
| @@ -165,8 +170,8 @@ names from that macro.</doc> | |||
| 165 | 170 | </function-macro> | |
| 166 | 171 | <callback name="BaseFinalizeFunc" c:type="GBaseFinalizeFunc"> | |
| 167 | 172 | <doc xml:space="preserve" | |
| 168 | - | filename="gtype.h" | |
| 169 | - | line="795">A callback function used by the type system to finalize those portions | |
| 173 | + | filename="gobject/gtype.h" | |
| 174 | + | line="830">A callback function used by the type system to finalize those portions | |
| 170 | 175 | of a derived types class structure that were setup from the corresponding | |
| 171 | 176 | GBaseInitFunc() function. | |
| 172 | 177 | ||
| @@ -174,23 +179,23 @@ Class finalization basically works the inverse way in which class | |||
| 174 | 179 | initialization is performed. | |
| 175 | 180 | ||
| 176 | 181 | See GClassInitFunc() for a discussion of the class initialization process.</doc> | |
| 177 | - | <source-position filename="gtype.h" line="808"/> | |
| 182 | + | <source-position filename="gobject/gtype.h" line="843"/> | |
| 178 | 183 | <return-value transfer-ownership="none"> | |
| 179 | 184 | <type name="none" c:type="void"/> | |
| 180 | 185 | </return-value> | |
| 181 | 186 | <parameters> | |
| 182 | 187 | <parameter name="g_class" transfer-ownership="none"> | |
| 183 | 188 | <doc xml:space="preserve" | |
| 184 | - | filename="gtype.h" | |
| 185 | - | line="797">The #GTypeClass structure to finalize</doc> | |
| 189 | + | filename="gobject/gtype.h" | |
| 190 | + | line="832">The #GTypeClass structure to finalize</doc> | |
| 186 | 191 | <type name="TypeClass" c:type="gpointer"/> | |
| 187 | 192 | </parameter> | |
| 188 | 193 | </parameters> | |
| 189 | 194 | </callback> | |
| 190 | 195 | <callback name="BaseInitFunc" c:type="GBaseInitFunc"> | |
| 191 | 196 | <doc xml:space="preserve" | |
| 192 | - | filename="gtype.h" | |
| 193 | - | line="778">A callback function used by the type system to do base initialization | |
| 197 | + | filename="gobject/gtype.h" | |
| 198 | + | line="813">A callback function used by the type system to do base initialization | |
| 194 | 199 | of the class structures of derived types. | |
| 195 | 200 | ||
| 196 | 201 | This function is called as part of the initialization process of all derived | |
| @@ -201,15 +206,15 @@ For example, class members (such as strings) that are not sufficiently | |||
| 201 | 206 | handled by a plain memory copy of the parent class into the derived class | |
| 202 | 207 | have to be altered. See GClassInitFunc() for a discussion of the class | |
| 203 | 208 | initialization process.</doc> | |
| 204 | - | <source-position filename="gtype.h" line="794"/> | |
| 209 | + | <source-position filename="gobject/gtype.h" line="829"/> | |
| 205 | 210 | <return-value transfer-ownership="none"> | |
| 206 | 211 | <type name="none" c:type="void"/> | |
| 207 | 212 | </return-value> | |
| 208 | 213 | <parameters> | |
| 209 | 214 | <parameter name="g_class" transfer-ownership="none"> | |
| 210 | 215 | <doc xml:space="preserve" | |
| 211 | - | filename="gtype.h" | |
| 212 | - | line="780">The #GTypeClass structure to initialize</doc> | |
| 216 | + | filename="gobject/gtype.h" | |
| 217 | + | line="815">The #GTypeClass structure to initialize</doc> | |
| 213 | 218 | <type name="TypeClass" c:type="gpointer"/> | |
| 214 | 219 | </parameter> | |
| 215 | 220 | </parameters> | |
| @@ -222,33 +227,32 @@ initialization process.</doc> | |||
| 222 | 227 | glib:type-name="GBinding" | |
| 223 | 228 | glib:get-type="g_binding_get_type"> | |
| 224 | 229 | <doc xml:space="preserve" | |
| 225 | - | filename="gobject-2.0.c" | |
| 226 | - | line="224">#GBinding is the representation of a binding between a property on a | |
| 227 | - | #GObject instance (or source) and another property on another #GObject | |
| 230 | + | filename="gobject/gbinding.c" | |
| 231 | + | line="23">`GObject` instance (or source) and another property on another `GObject` | |
| 228 | 232 | instance (or target). | |
| 229 | 233 | ||
| 230 | 234 | Whenever the source property changes, the same value is applied to the | |
| 231 | 235 | target property; for instance, the following binding: | |
| 232 | 236 | ||
| 233 | - | |[<!-- language="C" --> | |
| 237 | + | ```c | |
| 234 | 238 | g_object_bind_property (object1, "property-a", | |
| 235 | 239 | object2, "property-b", | |
| 236 | 240 | G_BINDING_DEFAULT); | |
| 237 | - | ]| | |
| 241 | + | ``` | |
| 238 | 242 | ||
| 239 | 243 | will cause the property named "property-b" of @object2 to be updated | |
| 240 | - | every time g_object_set() or the specific accessor changes the value of | |
| 244 | + | every time [method@GObject.set] or the specific accessor changes the value of | |
| 241 | 245 | the property "property-a" of @object1. | |
| 242 | 246 | ||
| 243 | 247 | It is possible to create a bidirectional binding between two properties | |
| 244 | - | of two #GObject instances, so that if either property changes, the | |
| 248 | + | of two `GObject` instances, so that if either property changes, the | |
| 245 | 249 | other is updated as well, for instance: | |
| 246 | 250 | ||
| 247 | - | |[<!-- language="C" --> | |
| 251 | + | ```c | |
| 248 | 252 | g_object_bind_property (object1, "property-a", | |
| 249 | 253 | object2, "property-b", | |
| 250 | 254 | G_BINDING_BIDIRECTIONAL); | |
| 251 | - | ]| | |
| 255 | + | ``` | |
| 252 | 256 | ||
| 253 | 257 | will keep the two properties in sync. | |
| 254 | 258 | ||
| @@ -257,14 +261,14 @@ directions, in case of a bidirectional binding) to apply a custom | |||
| 257 | 261 | transformation from the source value to the target value before | |
| 258 | 262 | applying it; for instance, the following binding: | |
| 259 | 263 | ||
| 260 | - | |[<!-- language="C" --> | |
| 264 | + | ```c | |
| 261 | 265 | g_object_bind_property_full (adjustment1, "value", | |
| 262 | 266 | adjustment2, "value", | |
| 263 | 267 | G_BINDING_BIDIRECTIONAL, | |
| 264 | 268 | celsius_to_fahrenheit, | |
| 265 | 269 | fahrenheit_to_celsius, | |
| 266 | 270 | NULL, NULL); | |
| 267 | - | ]| | |
| 271 | + | ``` | |
| 268 | 272 | ||
| 269 | 273 | will keep the "value" property of the two adjustments in sync; the | |
| 270 | 274 | @celsius_to_fahrenheit function will be called whenever the "value" | |
| @@ -278,52 +282,50 @@ of @adjustment1. | |||
| 278 | 282 | ||
| 279 | 283 | Note that #GBinding does not resolve cycles by itself; a cycle like | |
| 280 | 284 | ||
| 281 | - | |[ | |
| 285 | + | ``` | |
| 282 | 286 | object1:propertyA -> object2:propertyB | |
| 283 | 287 | object2:propertyB -> object3:propertyC | |
| 284 | 288 | object3:propertyC -> object1:propertyA | |
| 285 | - | ]| | |
| 289 | + | ``` | |
| 286 | 290 | ||
| 287 | 291 | might lead to an infinite loop. The loop, in this particular case, | |
| 288 | - | can be avoided if the objects emit the #GObject::notify signal only | |
| 292 | + | can be avoided if the objects emit the `GObject::notify` signal only | |
| 289 | 293 | if the value has effectively been changed. A binding is implemented | |
| 290 | - | using the #GObject::notify signal, so it is susceptible to all the | |
| 291 | - | various ways of blocking a signal emission, like g_signal_stop_emission() | |
| 292 | - | or g_signal_handler_block(). | |
| 294 | + | using the `GObject::notify` signal, so it is susceptible to all the | |
| 295 | + | various ways of blocking a signal emission, like [func@GObject.signal_stop_emission] | |
| 296 | + | or [func@GObject.signal_handler_block]. | |
| 293 | 297 | ||
| 294 | 298 | A binding will be severed, and the resources it allocates freed, whenever | |
| 295 | - | either one of the #GObject instances it refers to are finalized, or when | |
| 299 | + | either one of the `GObject` instances it refers to are finalized, or when | |
| 296 | 300 | the #GBinding instance loses its last reference. | |
| 297 | 301 | ||
| 298 | 302 | Bindings for languages with garbage collection can use | |
| 299 | - | g_binding_unbind() to explicitly release a binding between the source | |
| 303 | + | [method@GObject.Binding.unbind] to explicitly release a binding between the source | |
| 300 | 304 | and target properties, instead of relying on the last reference on the | |
| 301 | - | binding, source, and target instances to drop. | |
| 302 | - | ||
| 303 | - | #GBinding is available since GObject 2.26</doc> | |
| 305 | + | binding, source, and target instances to drop.</doc> | |
| 304 | 306 | <method name="dup_source" | |
| 305 | 307 | c:identifier="g_binding_dup_source" | |
| 306 | 308 | version="2.68"> | |
| 307 | 309 | <doc xml:space="preserve" | |
| 308 | - | filename="gobject-2.0.c" | |
| 309 | - | line="968">Retrieves the #GObject instance used as the source of the binding. | |
| 310 | + | filename="gobject/gbinding.c" | |
| 311 | + | line="1024">Retrieves the #GObject instance used as the source of the binding. | |
| 310 | 312 | ||
| 311 | 313 | A #GBinding can outlive the source #GObject as the binding does not hold a | |
| 312 | 314 | strong reference to the source. If the source is destroyed before the | |
| 313 | 315 | binding then this function will return %NULL.</doc> | |
| 314 | - | <source-position filename="gbinding.h" line="115"/> | |
| 316 | + | <source-position filename="gobject/gbinding.h" line="109"/> | |
| 315 | 317 | <return-value transfer-ownership="full" nullable="1"> | |
| 316 | 318 | <doc xml:space="preserve" | |
| 317 | - | filename="gobject-2.0.c" | |
| 318 | - | line="978">the source #GObject, or %NULL if the | |
| 319 | + | filename="gobject/gbinding.c" | |
| 320 | + | line="1034">the source #GObject, or %NULL if the | |
| 319 | 321 | source does not exist any more.</doc> | |
| 320 | 322 | <type name="Object" c:type="GObject*"/> | |
| 321 | 323 | </return-value> | |
| 322 | 324 | <parameters> | |
| 323 | 325 | <instance-parameter name="binding" transfer-ownership="none"> | |
| 324 | 326 | <doc xml:space="preserve" | |
| 325 | - | filename="gobject-2.0.c" | |
| 326 | - | line="970">a #GBinding</doc> | |
| 327 | + | filename="gobject/gbinding.c" | |
| 328 | + | line="1026">a #GBinding</doc> | |
| 327 | 329 | <type name="Binding" c:type="GBinding*"/> | |
| 328 | 330 | </instance-parameter> | |
| 329 | 331 | </parameters> | |
| @@ -332,25 +334,25 @@ binding then this function will return %NULL.</doc> | |||
| 332 | 334 | c:identifier="g_binding_dup_target" | |
| 333 | 335 | version="2.68"> | |
| 334 | 336 | <doc xml:space="preserve" | |
| 335 | - | filename="gobject-2.0.c" | |
| 336 | - | line="984">Retrieves the #GObject instance used as the target of the binding. | |
| 337 | + | filename="gobject/gbinding.c" | |
| 338 | + | line="1085">Retrieves the #GObject instance used as the target of the binding. | |
| 337 | 339 | ||
| 338 | 340 | A #GBinding can outlive the target #GObject as the binding does not hold a | |
| 339 | 341 | strong reference to the target. If the target is destroyed before the | |
| 340 | 342 | binding then this function will return %NULL.</doc> | |
| 341 | - | <source-position filename="gbinding.h" line="119"/> | |
| 343 | + | <source-position filename="gobject/gbinding.h" line="113"/> | |
| 342 | 344 | <return-value transfer-ownership="full" nullable="1"> | |
| 343 | 345 | <doc xml:space="preserve" | |
| 344 | - | filename="gobject-2.0.c" | |
| 345 | - | line="994">the target #GObject, or %NULL if the | |
| 346 | + | filename="gobject/gbinding.c" | |
| 347 | + | line="1095">the target #GObject, or %NULL if the | |
| 346 | 348 | target does not exist any more.</doc> | |
| 347 | 349 | <type name="Object" c:type="GObject*"/> | |
| 348 | 350 | </return-value> | |
| 349 | 351 | <parameters> | |
| 350 | 352 | <instance-parameter name="binding" transfer-ownership="none"> | |
| 351 | 353 | <doc xml:space="preserve" | |
| 352 | - | filename="gobject-2.0.c" | |
| 353 | - | line="986">a #GBinding</doc> | |
| 354 | + | filename="gobject/gbinding.c" | |
| 355 | + | line="1087">a #GBinding</doc> | |
| 354 | 356 | <type name="Binding" c:type="GBinding*"/> | |
| 355 | 357 | </instance-parameter> | |
| 356 | 358 | </parameters> | |
| @@ -360,20 +362,20 @@ binding then this function will return %NULL.</doc> | |||
| 360 | 362 | glib:get-property="flags" | |
| 361 | 363 | version="2.26"> | |
| 362 | 364 | <doc xml:space="preserve" | |
| 363 | - | filename="gobject-2.0.c" | |
| 364 | - | line="1000">Retrieves the flags passed when constructing the #GBinding.</doc> | |
| 365 | - | <source-position filename="gbinding.h" line="111"/> | |
| 365 | + | filename="gobject/gbinding.c" | |
| 366 | + | line="968">Retrieves the flags passed when constructing the #GBinding.</doc> | |
| 367 | + | <source-position filename="gobject/gbinding.h" line="105"/> | |
| 366 | 368 | <return-value transfer-ownership="none"> | |
| 367 | 369 | <doc xml:space="preserve" | |
| 368 | - | filename="gobject-2.0.c" | |
| 369 | - | line="1006">the #GBindingFlags used by the #GBinding</doc> | |
| 370 | + | filename="gobject/gbinding.c" | |
| 371 | + | line="974">the #GBindingFlags used by the #GBinding</doc> | |
| 370 | 372 | <type name="BindingFlags" c:type="GBindingFlags"/> | |
| 371 | 373 | </return-value> | |
| 372 | 374 | <parameters> | |
| 373 | 375 | <instance-parameter name="binding" transfer-ownership="none"> | |
| 374 | 376 | <doc xml:space="preserve" | |
| 375 | - | filename="gobject-2.0.c" | |
| 376 | - | line="1002">a #GBinding</doc> | |
| 377 | + | filename="gobject/gbinding.c" | |
| 378 | + | line="970">a #GBinding</doc> | |
| 377 | 379 | <type name="Binding" c:type="GBinding*"/> | |
| 378 | 380 | </instance-parameter> | |
| 379 | 381 | </parameters> | |
| @@ -385,8 +387,8 @@ binding then this function will return %NULL.</doc> | |||
| 385 | 387 | deprecated="1" | |
| 386 | 388 | deprecated-version="2.68"> | |
| 387 | 389 | <doc xml:space="preserve" | |
| 388 | - | filename="gobject-2.0.c" | |
| 389 | - | line="1011">Retrieves the #GObject instance used as the source of the binding. | |
| 390 | + | filename="gobject/gbinding.c" | |
| 391 | + | line="986">Retrieves the #GObject instance used as the source of the binding. | |
| 390 | 392 | ||
| 391 | 393 | A #GBinding can outlive the source #GObject as the binding does not hold a | |
| 392 | 394 | strong reference to the source. If the source is destroyed before the | |
| @@ -397,19 +399,19 @@ threads as otherwise the pointer returned from this function might become | |||
| 397 | 399 | invalid if the source is finalized from another thread in the meantime.</doc> | |
| 398 | 400 | <doc-deprecated xml:space="preserve">Use g_binding_dup_source() for a safer version of this | |
| 399 | 401 | function.</doc-deprecated> | |
| 400 | - | <source-position filename="gbinding.h" line="113"/> | |
| 402 | + | <source-position filename="gobject/gbinding.h" line="107"/> | |
| 401 | 403 | <return-value transfer-ownership="none" nullable="1"> | |
| 402 | 404 | <doc xml:space="preserve" | |
| 403 | - | filename="gobject-2.0.c" | |
| 404 | - | line="1025">the source #GObject, or %NULL if the | |
| 405 | + | filename="gobject/gbinding.c" | |
| 406 | + | line="1000">the source #GObject, or %NULL if the | |
| 405 | 407 | source does not exist any more.</doc> | |
| 406 | 408 | <type name="Object" c:type="GObject*"/> | |
| 407 | 409 | </return-value> | |
| 408 | 410 | <parameters> | |
| 409 | 411 | <instance-parameter name="binding" transfer-ownership="none"> | |
| 410 | 412 | <doc xml:space="preserve" | |
| 411 | - | filename="gobject-2.0.c" | |
| 412 | - | line="1013">a #GBinding</doc> | |
| 413 | + | filename="gobject/gbinding.c" | |
| 414 | + | line="988">a #GBinding</doc> | |
| 413 | 415 | <type name="Binding" c:type="GBinding*"/> | |
| 414 | 416 | </instance-parameter> | |
| 415 | 417 | </parameters> | |
| @@ -419,21 +421,21 @@ function.</doc-deprecated> | |||
| 419 | 421 | glib:get-property="source-property" | |
| 420 | 422 | version="2.26"> | |
| 421 | 423 | <doc xml:space="preserve" | |
| 422 | - | filename="gobject-2.0.c" | |
| 423 | - | line="1033">Retrieves the name of the property of #GBinding:source used as the source | |
| 424 | + | filename="gobject/gbinding.c" | |
| 425 | + | line="1108">Retrieves the name of the property of #GBinding:source used as the source | |
| 424 | 426 | of the binding.</doc> | |
| 425 | - | <source-position filename="gbinding.h" line="121"/> | |
| 427 | + | <source-position filename="gobject/gbinding.h" line="115"/> | |
| 426 | 428 | <return-value transfer-ownership="none"> | |
| 427 | 429 | <doc xml:space="preserve" | |
| 428 | - | filename="gobject-2.0.c" | |
| 429 | - | line="1040">the name of the source property</doc> | |
| 430 | + | filename="gobject/gbinding.c" | |
| 431 | + | line="1115">the name of the source property</doc> | |
| 430 | 432 | <type name="utf8" c:type="const gchar*"/> | |
| 431 | 433 | </return-value> | |
| 432 | 434 | <parameters> | |
| 433 | 435 | <instance-parameter name="binding" transfer-ownership="none"> | |
| 434 | 436 | <doc xml:space="preserve" | |
| 435 | - | filename="gobject-2.0.c" | |
| 436 | - | line="1035">a #GBinding</doc> | |
| 437 | + | filename="gobject/gbinding.c" | |
| 438 | + | line="1110">a #GBinding</doc> | |
| 437 | 439 | <type name="Binding" c:type="GBinding*"/> | |
| 438 | 440 | </instance-parameter> | |
| 439 | 441 | </parameters> | |
| @@ -445,8 +447,8 @@ of the binding.</doc> | |||
| 445 | 447 | deprecated="1" | |
| 446 | 448 | deprecated-version="2.68"> | |
| 447 | 449 | <doc xml:space="preserve" | |
| 448 | - | filename="gobject-2.0.c" | |
| 449 | - | line="1045">Retrieves the #GObject instance used as the target of the binding. | |
| 450 | + | filename="gobject/gbinding.c" | |
| 451 | + | line="1047">Retrieves the #GObject instance used as the target of the binding. | |
| 450 | 452 | ||
| 451 | 453 | A #GBinding can outlive the target #GObject as the binding does not hold a | |
| 452 | 454 | strong reference to the target. If the target is destroyed before the | |
| @@ -457,19 +459,19 @@ threads as otherwise the pointer returned from this function might become | |||
| 457 | 459 | invalid if the target is finalized from another thread in the meantime.</doc> | |
| 458 | 460 | <doc-deprecated xml:space="preserve">Use g_binding_dup_target() for a safer version of this | |
| 459 | 461 | function.</doc-deprecated> | |
| 460 | - | <source-position filename="gbinding.h" line="117"/> | |
| 462 | + | <source-position filename="gobject/gbinding.h" line="111"/> | |
| 461 | 463 | <return-value transfer-ownership="none" nullable="1"> | |
| 462 | 464 | <doc xml:space="preserve" | |
| 463 | - | filename="gobject-2.0.c" | |
| 464 | - | line="1059">the target #GObject, or %NULL if the | |
| 465 | + | filename="gobject/gbinding.c" | |
| 466 | + | line="1061">the target #GObject, or %NULL if the | |
| 465 | 467 | target does not exist any more.</doc> | |
| 466 | 468 | <type name="Object" c:type="GObject*"/> | |
| 467 | 469 | </return-value> | |
| 468 | 470 | <parameters> | |
| 469 | 471 | <instance-parameter name="binding" transfer-ownership="none"> | |
| 470 | 472 | <doc xml:space="preserve" | |
| 471 | - | filename="gobject-2.0.c" | |
| 472 | - | line="1047">a #GBinding</doc> | |
| 473 | + | filename="gobject/gbinding.c" | |
| 474 | + | line="1049">a #GBinding</doc> | |
| 473 | 475 | <type name="Binding" c:type="GBinding*"/> | |
| 474 | 476 | </instance-parameter> | |
| 475 | 477 | </parameters> | |
| @@ -479,29 +481,29 @@ function.</doc-deprecated> | |||
| 479 | 481 | glib:get-property="target-property" | |
| 480 | 482 | version="2.26"> | |
| 481 | 483 | <doc xml:space="preserve" | |
| 482 | - | filename="gobject-2.0.c" | |
| 483 | - | line="1067">Retrieves the name of the property of #GBinding:target used as the target | |
| 484 | + | filename="gobject/gbinding.c" | |
| 485 | + | line="1127">Retrieves the name of the property of #GBinding:target used as the target | |
| 484 | 486 | of the binding.</doc> | |
| 485 | - | <source-position filename="gbinding.h" line="123"/> | |
| 487 | + | <source-position filename="gobject/gbinding.h" line="117"/> | |
| 486 | 488 | <return-value transfer-ownership="none"> | |
| 487 | 489 | <doc xml:space="preserve" | |
| 488 | - | filename="gobject-2.0.c" | |
| 489 | - | line="1074">the name of the target property</doc> | |
| 490 | + | filename="gobject/gbinding.c" | |
| 491 | + | line="1134">the name of the target property</doc> | |
| 490 | 492 | <type name="utf8" c:type="const gchar*"/> | |
| 491 | 493 | </return-value> | |
| 492 | 494 | <parameters> | |
| 493 | 495 | <instance-parameter name="binding" transfer-ownership="none"> | |
| 494 | 496 | <doc xml:space="preserve" | |
| 495 | - | filename="gobject-2.0.c" | |
| 496 | - | line="1069">a #GBinding</doc> | |
| 497 | + | filename="gobject/gbinding.c" | |
| 498 | + | line="1129">a #GBinding</doc> | |
| 497 | 499 | <type name="Binding" c:type="GBinding*"/> | |
| 498 | 500 | </instance-parameter> | |
| 499 | 501 | </parameters> | |
| 500 | 502 | </method> | |
| 501 | 503 | <method name="unbind" c:identifier="g_binding_unbind" version="2.38"> | |
| 502 | 504 | <doc xml:space="preserve" | |
| 503 | - | filename="gobject-2.0.c" | |
| 504 | - | line="1191">Explicitly releases the binding between the source and the target | |
| 505 | + | filename="gobject/gbinding.c" | |
| 506 | + | line="1146">Explicitly releases the binding between the source and the target | |
| 505 | 507 | property expressed by @binding. | |
| 506 | 508 | ||
| 507 | 509 | This function will release the reference that is being held on | |
| @@ -512,15 +514,15 @@ to hold a reference to it. | |||
| 512 | 514 | Note however that this function does not take ownership of @binding, it | |
| 513 | 515 | only unrefs the reference that was initially created by | |
| 514 | 516 | g_object_bind_property() and is owned by the binding.</doc> | |
| 515 | - | <source-position filename="gbinding.h" line="125"/> | |
| 517 | + | <source-position filename="gobject/gbinding.h" line="119"/> | |
| 516 | 518 | <return-value transfer-ownership="none"> | |
| 517 | 519 | <type name="none" c:type="void"/> | |
| 518 | 520 | </return-value> | |
| 519 | 521 | <parameters> | |
| 520 | 522 | <instance-parameter name="binding" transfer-ownership="none"> | |
| 521 | 523 | <doc xml:space="preserve" | |
| 522 | - | filename="gobject-2.0.c" | |
| 523 | - | line="1193">a #GBinding</doc> | |
| 524 | + | filename="gobject/gbinding.c" | |
| 525 | + | line="1148">a #GBinding</doc> | |
| 524 | 526 | <type name="Binding" c:type="GBinding*"/> | |
| 525 | 527 | </instance-parameter> | |
| 526 | 528 | </parameters> | |
| @@ -530,10 +532,11 @@ g_object_bind_property() and is owned by the binding.</doc> | |||
| 530 | 532 | writable="1" | |
| 531 | 533 | construct-only="1" | |
| 532 | 534 | transfer-ownership="none" | |
| 533 | - | getter="get_flags"> | |
| 535 | + | getter="get_flags" | |
| 536 | + | default-value="G_BINDING_DEFAULT"> | |
| 534 | 537 | <doc xml:space="preserve" | |
| 535 | - | filename="gobject-2.0.c" | |
| 536 | - | line="5">Flags to be used to control the #GBinding</doc> | |
| 538 | + | filename="gobject/gbinding.c" | |
| 539 | + | line="941">Flags to be used to control the #GBinding</doc> | |
| 537 | 540 | <type name="BindingFlags"/> | |
| 538 | 541 | </property> | |
| 539 | 542 | <property name="source" | |
| @@ -543,8 +546,8 @@ g_object_bind_property() and is owned by the binding.</doc> | |||
| 543 | 546 | transfer-ownership="none" | |
| 544 | 547 | getter="get_source"> | |
| 545 | 548 | <doc xml:space="preserve" | |
| 546 | - | filename="gobject-2.0.c" | |
| 547 | - | line="14">The #GObject that should be used as the source of the binding</doc> | |
| 549 | + | filename="gobject/gbinding.c" | |
| 550 | + | line="881">The #GObject that should be used as the source of the binding</doc> | |
| 548 | 551 | <type name="Object"/> | |
| 549 | 552 | </property> | |
| 550 | 553 | <property name="source-property" | |
| @@ -552,10 +555,11 @@ g_object_bind_property() and is owned by the binding.</doc> | |||
| 552 | 555 | writable="1" | |
| 553 | 556 | construct-only="1" | |
| 554 | 557 | transfer-ownership="none" | |
| 555 | - | getter="get_source_property"> | |
| 558 | + | getter="get_source_property" | |
| 559 | + | default-value="NULL"> | |
| 556 | 560 | <doc xml:space="preserve" | |
| 557 | - | filename="gobject-2.0.c" | |
| 558 | - | line="23">The name of the property of #GBinding:source that should be used | |
| 561 | + | filename="gobject/gbinding.c" | |
| 562 | + | line="907">The name of the property of #GBinding:source that should be used | |
| 559 | 563 | as the source of the binding. | |
| 560 | 564 | ||
| 561 | 565 | This should be in [canonical form][canonical-parameter-names] to get the | |
| @@ -569,8 +573,8 @@ best performance.</doc> | |||
| 569 | 573 | transfer-ownership="none" | |
| 570 | 574 | getter="get_target"> | |
| 571 | 575 | <doc xml:space="preserve" | |
| 572 | - | filename="gobject-2.0.c" | |
| 573 | - | line="36">The #GObject that should be used as the target of the binding</doc> | |
| 576 | + | filename="gobject/gbinding.c" | |
| 577 | + | line="894">The #GObject that should be used as the target of the binding</doc> | |
| 574 | 578 | <type name="Object"/> | |
| 575 | 579 | </property> | |
| 576 | 580 | <property name="target-property" | |
| @@ -578,10 +582,11 @@ best performance.</doc> | |||
| 578 | 582 | writable="1" | |
| 579 | 583 | construct-only="1" | |
| 580 | 584 | transfer-ownership="none" | |
| 581 | - | getter="get_target_property"> | |
| 585 | + | getter="get_target_property" | |
| 586 | + | default-value="NULL"> | |
| 582 | 587 | <doc xml:space="preserve" | |
| 583 | - | filename="gobject-2.0.c" | |
| 584 | - | line="45">The name of the property of #GBinding:target that should be used | |
| 588 | + | filename="gobject/gbinding.c" | |
| 589 | + | line="924">The name of the property of #GBinding:target that should be used | |
| 585 | 590 | as the target of the binding. | |
| 586 | 591 | ||
| 587 | 592 | This should be in [canonical form][canonical-parameter-names] to get the | |
| @@ -595,8 +600,8 @@ best performance.</doc> | |||
| 595 | 600 | glib:get-type="g_binding_flags_get_type" | |
| 596 | 601 | c:type="GBindingFlags"> | |
| 597 | 602 | <doc xml:space="preserve" | |
| 598 | - | filename="gbinding.h" | |
| 599 | - | line="74">Flags to be passed to g_object_bind_property() or | |
| 603 | + | filename="gobject/gbinding.h" | |
| 604 | + | line="68">Flags to be passed to g_object_bind_property() or | |
| 600 | 605 | g_object_bind_property_full(). | |
| 601 | 606 | ||
| 602 | 607 | This enumeration can be extended at later date.</doc> | |
| @@ -606,8 +611,8 @@ This enumeration can be extended at later date.</doc> | |||
| 606 | 611 | glib:nick="default" | |
| 607 | 612 | glib:name="G_BINDING_DEFAULT"> | |
| 608 | 613 | <doc xml:space="preserve" | |
| 609 | - | filename="gbinding.h" | |
| 610 | - | line="76">The default binding; if the source property | |
| 614 | + | filename="gobject/gbinding.h" | |
| 615 | + | line="70">The default binding; if the source property | |
| 611 | 616 | changes, the target property is updated with its value.</doc> | |
| 612 | 617 | </member> | |
| 613 | 618 | <member name="bidirectional" | |
| @@ -616,8 +621,8 @@ This enumeration can be extended at later date.</doc> | |||
| 616 | 621 | glib:nick="bidirectional" | |
| 617 | 622 | glib:name="G_BINDING_BIDIRECTIONAL"> | |
| 618 | 623 | <doc xml:space="preserve" | |
| 619 | - | filename="gbinding.h" | |
| 620 | - | line="78">Bidirectional binding; if either the | |
| 624 | + | filename="gobject/gbinding.h" | |
| 625 | + | line="72">Bidirectional binding; if either the | |
| 621 | 626 | property of the source or the property of the target changes, | |
| 622 | 627 | the other is updated.</doc> | |
| 623 | 628 | </member> | |
| @@ -627,8 +632,8 @@ This enumeration can be extended at later date.</doc> | |||
| 627 | 632 | glib:nick="sync-create" | |
| 628 | 633 | glib:name="G_BINDING_SYNC_CREATE"> | |
| 629 | 634 | <doc xml:space="preserve" | |
| 630 | - | filename="gbinding.h" | |
| 631 | - | line="81">Synchronize the values of the source and | |
| 635 | + | filename="gobject/gbinding.h" | |
| 636 | + | line="75">Synchronize the values of the source and | |
| 632 | 637 | target properties when creating the binding; the direction of | |
| 633 | 638 | the synchronization is always from the source to the target.</doc> | |
| 634 | 639 | </member> | |
| @@ -638,8 +643,8 @@ This enumeration can be extended at later date.</doc> | |||
| 638 | 643 | glib:nick="invert-boolean" | |
| 639 | 644 | glib:name="G_BINDING_INVERT_BOOLEAN"> | |
| 640 | 645 | <doc xml:space="preserve" | |
| 641 | - | filename="gbinding.h" | |
| 642 | - | line="84">If the two properties being bound are | |
| 646 | + | filename="gobject/gbinding.h" | |
| 647 | + | line="78">If the two properties being bound are | |
| 643 | 648 | booleans, setting one to %TRUE will result in the other being | |
| 644 | 649 | set to %FALSE and vice versa. This flag will only work for | |
| 645 | 650 | boolean properties, and cannot be used when passing custom | |
| @@ -654,70 +659,70 @@ This enumeration can be extended at later date.</doc> | |||
| 654 | 659 | glib:type-name="GBindingGroup" | |
| 655 | 660 | glib:get-type="g_binding_group_get_type"> | |
| 656 | 661 | <doc xml:space="preserve" | |
| 657 | - | filename="gobject-2.0.c" | |
| 658 | - | line="310">The #GBindingGroup can be used to bind multiple properties | |
| 662 | + | filename="gobject/gbindinggroup.c" | |
| 663 | + | line="29">`GBindingGroup` can be used to bind multiple properties | |
| 659 | 664 | from an object collectively. | |
| 660 | 665 | ||
| 661 | 666 | Use the various methods to bind properties from a single source | |
| 662 | 667 | object to multiple destination objects. Properties can be bound | |
| 663 | 668 | bidirectionally and are connected when the source object is set | |
| 664 | - | with g_binding_group_set_source().</doc> | |
| 669 | + | with [method@GObject.BindingGroup.set_source].</doc> | |
| 665 | 670 | <constructor name="new" | |
| 666 | 671 | c:identifier="g_binding_group_new" | |
| 667 | 672 | version="2.72"> | |
| 668 | 673 | <doc xml:space="preserve" | |
| 669 | - | filename="gobject-2.0.c" | |
| 670 | - | line="1165">Creates a new #GBindingGroup.</doc> | |
| 671 | - | <source-position filename="gbindinggroup.h" line="52"/> | |
| 674 | + | filename="gobject/gbindinggroup.c" | |
| 675 | + | line="362">Creates a new #GBindingGroup.</doc> | |
| 676 | + | <source-position filename="gobject/gbindinggroup.h" line="44"/> | |
| 672 | 677 | <return-value transfer-ownership="full"> | |
| 673 | 678 | <doc xml:space="preserve" | |
| 674 | - | filename="gobject-2.0.c" | |
| 675 | - | line="1170">a new #GBindingGroup</doc> | |
| 679 | + | filename="gobject/gbindinggroup.c" | |
| 680 | + | line="367">a new #GBindingGroup</doc> | |
| 676 | 681 | <type name="BindingGroup" c:type="GBindingGroup*"/> | |
| 677 | 682 | </return-value> | |
| 678 | 683 | </constructor> | |
| 679 | 684 | <method name="bind" c:identifier="g_binding_group_bind" version="2.72"> | |
| 680 | 685 | <doc xml:space="preserve" | |
| 681 | - | filename="gobject-2.0.c" | |
| 682 | - | line="1079">Creates a binding between @source_property on the source object | |
| 686 | + | filename="gobject/gbindinggroup.c" | |
| 687 | + | line="557">Creates a binding between @source_property on the source object | |
| 683 | 688 | and @target_property on @target. Whenever the @source_property | |
| 684 | 689 | is changed the @target_property is updated using the same value. | |
| 685 | 690 | The binding flag %G_BINDING_SYNC_CREATE is automatically specified. | |
| 686 | 691 | ||
| 687 | 692 | See g_object_bind_property() for more information.</doc> | |
| 688 | - | <source-position filename="gbindinggroup.h" line="59"/> | |
| 693 | + | <source-position filename="gobject/gbindinggroup.h" line="51"/> | |
| 689 | 694 | <return-value transfer-ownership="none"> | |
| 690 | 695 | <type name="none" c:type="void"/> | |
| 691 | 696 | </return-value> | |
| 692 | 697 | <parameters> | |
| 693 | 698 | <instance-parameter name="self" transfer-ownership="none"> | |
| 694 | 699 | <doc xml:space="preserve" | |
| 695 | - | filename="gobject-2.0.c" | |
| 696 | - | line="1081">the #GBindingGroup</doc> | |
| 700 | + | filename="gobject/gbindinggroup.c" | |
| 701 | + | line="559">the #GBindingGroup</doc> | |
| 697 | 702 | <type name="BindingGroup" c:type="GBindingGroup*"/> | |
| 698 | 703 | </instance-parameter> | |
| 699 | 704 | <parameter name="source_property" transfer-ownership="none"> | |
| 700 | 705 | <doc xml:space="preserve" | |
| 701 | - | filename="gobject-2.0.c" | |
| 702 | - | line="1082">the property on the source to bind</doc> | |
| 706 | + | filename="gobject/gbindinggroup.c" | |
| 707 | + | line="560">the property on the source to bind</doc> | |
| 703 | 708 | <type name="utf8" c:type="const gchar*"/> | |
| 704 | 709 | </parameter> | |
| 705 | 710 | <parameter name="target" transfer-ownership="none"> | |
| 706 | 711 | <doc xml:space="preserve" | |
| 707 | - | filename="gobject-2.0.c" | |
| 708 | - | line="1083">the target #GObject</doc> | |
| 712 | + | filename="gobject/gbindinggroup.c" | |
| 713 | + | line="561">the target #GObject</doc> | |
| 709 | 714 | <type name="Object" c:type="gpointer"/> | |
| 710 | 715 | </parameter> | |
| 711 | 716 | <parameter name="target_property" transfer-ownership="none"> | |
| 712 | 717 | <doc xml:space="preserve" | |
| 713 | - | filename="gobject-2.0.c" | |
| 714 | - | line="1084">the property on @target to bind</doc> | |
| 718 | + | filename="gobject/gbindinggroup.c" | |
| 719 | + | line="562">the property on @target to bind</doc> | |
| 715 | 720 | <type name="utf8" c:type="const gchar*"/> | |
| 716 | 721 | </parameter> | |
| 717 | 722 | <parameter name="flags" transfer-ownership="none"> | |
| 718 | 723 | <doc xml:space="preserve" | |
| 719 | - | filename="gobject-2.0.c" | |
| 720 | - | line="1085">the flags used to create the #GBinding</doc> | |
| 724 | + | filename="gobject/gbindinggroup.c" | |
| 725 | + | line="563">the flags used to create the #GBinding</doc> | |
| 721 | 726 | <type name="BindingFlags" c:type="GBindingFlags"/> | |
| 722 | 727 | </parameter> | |
| 723 | 728 | </parameters> | |
| @@ -727,46 +732,46 @@ See g_object_bind_property() for more information.</doc> | |||
| 727 | 732 | shadowed-by="bind_with_closures" | |
| 728 | 733 | version="2.72"> | |
| 729 | 734 | <doc xml:space="preserve" | |
| 730 | - | filename="gobject-2.0.c" | |
| 731 | - | line="1098">Creates a binding between @source_property on the source object and | |
| 735 | + | filename="gobject/gbindinggroup.c" | |
| 736 | + | line="588">Creates a binding between @source_property on the source object and | |
| 732 | 737 | @target_property on @target, allowing you to set the transformation | |
| 733 | 738 | functions to be used by the binding. The binding flag | |
| 734 | 739 | %G_BINDING_SYNC_CREATE is automatically specified. | |
| 735 | 740 | ||
| 736 | 741 | See g_object_bind_property_full() for more information.</doc> | |
| 737 | - | <source-position filename="gbindinggroup.h" line="65"/> | |
| 742 | + | <source-position filename="gobject/gbindinggroup.h" line="57"/> | |
| 738 | 743 | <return-value transfer-ownership="none"> | |
| 739 | 744 | <type name="none" c:type="void"/> | |
| 740 | 745 | </return-value> | |
| 741 | 746 | <parameters> | |
| 742 | 747 | <instance-parameter name="self" transfer-ownership="none"> | |
| 743 | 748 | <doc xml:space="preserve" | |
| 744 | - | filename="gobject-2.0.c" | |
| 745 | - | line="1100">the #GBindingGroup</doc> | |
| 749 | + | filename="gobject/gbindinggroup.c" | |
| 750 | + | line="590">the #GBindingGroup</doc> | |
| 746 | 751 | <type name="BindingGroup" c:type="GBindingGroup*"/> | |
| 747 | 752 | </instance-parameter> | |
| 748 | 753 | <parameter name="source_property" transfer-ownership="none"> | |
| 749 | 754 | <doc xml:space="preserve" | |
| 750 | - | filename="gobject-2.0.c" | |
| 751 | - | line="1101">the property on the source to bind</doc> | |
| 755 | + | filename="gobject/gbindinggroup.c" | |
| 756 | + | line="591">the property on the source to bind</doc> | |
| 752 | 757 | <type name="utf8" c:type="const gchar*"/> | |
| 753 | 758 | </parameter> | |
| 754 | 759 | <parameter name="target" transfer-ownership="none"> | |
| 755 | 760 | <doc xml:space="preserve" | |
| 756 | - | filename="gobject-2.0.c" | |
| 757 | - | line="1102">the target #GObject</doc> | |
| 761 | + | filename="gobject/gbindinggroup.c" | |
| 762 | + | line="592">the target #GObject</doc> | |
| 758 | 763 | <type name="Object" c:type="gpointer"/> | |
| 759 | 764 | </parameter> | |
| 760 | 765 | <parameter name="target_property" transfer-ownership="none"> | |
| 761 | 766 | <doc xml:space="preserve" | |
| 762 | - | filename="gobject-2.0.c" | |
| 763 | - | line="1103">the property on @target to bind</doc> | |
| 767 | + | filename="gobject/gbindinggroup.c" | |
| 768 | + | line="593">the property on @target to bind</doc> | |
| 764 | 769 | <type name="utf8" c:type="const gchar*"/> | |
| 765 | 770 | </parameter> | |
| 766 | 771 | <parameter name="flags" transfer-ownership="none"> | |
| 767 | 772 | <doc xml:space="preserve" | |
| 768 | - | filename="gobject-2.0.c" | |
| 769 | - | line="1104">the flags used to create the #GBinding</doc> | |
| 773 | + | filename="gobject/gbindinggroup.c" | |
| 774 | + | line="594">the flags used to create the #GBinding</doc> | |
| 770 | 775 | <type name="BindingFlags" c:type="GBindingFlags"/> | |
| 771 | 776 | </parameter> | |
| 772 | 777 | <parameter name="transform_to" | |
| @@ -775,8 +780,8 @@ See g_object_bind_property_full() for more information.</doc> | |||
| 775 | 780 | allow-none="1" | |
| 776 | 781 | scope="notified"> | |
| 777 | 782 | <doc xml:space="preserve" | |
| 778 | - | filename="gobject-2.0.c" | |
| 779 | - | line="1105">the transformation function | |
| 783 | + | filename="gobject/gbindinggroup.c" | |
| 784 | + | line="595">the transformation function | |
| 780 | 785 | from the source object to the @target, or %NULL to use the default</doc> | |
| 781 | 786 | <type name="BindingTransformFunc" c:type="GBindingTransformFunc"/> | |
| 782 | 787 | </parameter> | |
| @@ -788,8 +793,8 @@ See g_object_bind_property_full() for more information.</doc> | |||
| 788 | 793 | closure="6" | |
| 789 | 794 | destroy="7"> | |
| 790 | 795 | <doc xml:space="preserve" | |
| 791 | - | filename="gobject-2.0.c" | |
| 792 | - | line="1107">the transformation function | |
| 796 | + | filename="gobject/gbindinggroup.c" | |
| 797 | + | line="597">the transformation function | |
| 793 | 798 | from the @target to the source object, or %NULL to use the default</doc> | |
| 794 | 799 | <type name="BindingTransformFunc" c:type="GBindingTransformFunc"/> | |
| 795 | 800 | </parameter> | |
| @@ -798,8 +803,8 @@ See g_object_bind_property_full() for more information.</doc> | |||
| 798 | 803 | nullable="1" | |
| 799 | 804 | allow-none="1"> | |
| 800 | 805 | <doc xml:space="preserve" | |
| 801 | - | filename="gobject-2.0.c" | |
| 802 | - | line="1109">custom data to be passed to the transformation | |
| 806 | + | filename="gobject/gbindinggroup.c" | |
| 807 | + | line="599">custom data to be passed to the transformation | |
| 803 | 808 | functions, or %NULL</doc> | |
| 804 | 809 | <type name="gpointer" c:type="gpointer"/> | |
| 805 | 810 | </parameter> | |
| @@ -807,8 +812,8 @@ See g_object_bind_property_full() for more information.</doc> | |||
| 807 | 812 | transfer-ownership="none" | |
| 808 | 813 | scope="async"> | |
| 809 | 814 | <doc xml:space="preserve" | |
| 810 | - | filename="gobject-2.0.c" | |
| 811 | - | line="1111">function to be called when disposing the binding, | |
| 815 | + | filename="gobject/gbindinggroup.c" | |
| 816 | + | line="601">function to be called when disposing the binding, | |
| 812 | 817 | to free the resources used by the transformation functions</doc> | |
| 813 | 818 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/> | |
| 814 | 819 | </parameter> | |
| @@ -819,8 +824,8 @@ See g_object_bind_property_full() for more information.</doc> | |||
| 819 | 824 | shadows="bind_full" | |
| 820 | 825 | version="2.72"> | |
| 821 | 826 | <doc xml:space="preserve" | |
| 822 | - | filename="gobject-2.0.c" | |
| 823 | - | line="1125">Creates a binding between @source_property on the source object and | |
| 827 | + | filename="gobject/gbindinggroup.c" | |
| 828 | + | line="632">Creates a binding between @source_property on the source object and | |
| 824 | 829 | @target_property on @target, allowing you to set the transformation | |
| 825 | 830 | functions to be used by the binding. The binding flag | |
| 826 | 831 | %G_BINDING_SYNC_CREATE is automatically specified. | |
| @@ -830,39 +835,39 @@ g_binding_group_bind_property_full(), using #GClosures | |||
| 830 | 835 | instead of function pointers. | |
| 831 | 836 | ||
| 832 | 837 | See g_object_bind_property_with_closures() for more information.</doc> | |
| 833 | - | <source-position filename="gbindinggroup.h" line="75"/> | |
| 838 | + | <source-position filename="gobject/gbindinggroup.h" line="67"/> | |
| 834 | 839 | <return-value transfer-ownership="none"> | |
| 835 | 840 | <type name="none" c:type="void"/> | |
| 836 | 841 | </return-value> | |
| 837 | 842 | <parameters> | |
| 838 | 843 | <instance-parameter name="self" transfer-ownership="none"> | |
| 839 | 844 | <doc xml:space="preserve" | |
| 840 | - | filename="gobject-2.0.c" | |
| 841 | - | line="1127">the #GBindingGroup</doc> | |
| 845 | + | filename="gobject/gbindinggroup.c" | |
| 846 | + | line="634">the #GBindingGroup</doc> | |
| 842 | 847 | <type name="BindingGroup" c:type="GBindingGroup*"/> | |
| 843 | 848 | </instance-parameter> | |
| 844 | 849 | <parameter name="source_property" transfer-ownership="none"> | |
| 845 | 850 | <doc xml:space="preserve" | |
| 846 | - | filename="gobject-2.0.c" | |
| 847 | - | line="1128">the property on the source to bind</doc> | |
| 851 | + | filename="gobject/gbindinggroup.c" | |
| 852 | + | line="635">the property on the source to bind</doc> | |
| 848 | 853 | <type name="utf8" c:type="const gchar*"/> | |
| 849 | 854 | </parameter> | |
| 850 | 855 | <parameter name="target" transfer-ownership="none"> | |
| 851 | 856 | <doc xml:space="preserve" | |
| 852 | - | filename="gobject-2.0.c" | |
| 853 | - | line="1129">the target #GObject</doc> | |
| 857 | + | filename="gobject/gbindinggroup.c" | |
| 858 | + | line="636">the target #GObject</doc> | |
| 854 | 859 | <type name="Object" c:type="gpointer"/> | |
| 855 | 860 | </parameter> | |
| 856 | 861 | <parameter name="target_property" transfer-ownership="none"> | |
| 857 | 862 | <doc xml:space="preserve" | |
| 858 | - | filename="gobject-2.0.c" | |
| 859 | - | line="1130">the property on @target to bind</doc> | |
| 863 | + | filename="gobject/gbindinggroup.c" | |
| 864 | + | line="637">the property on @target to bind</doc> | |
| 860 | 865 | <type name="utf8" c:type="const gchar*"/> | |
| 861 | 866 | </parameter> | |
| 862 | 867 | <parameter name="flags" transfer-ownership="none"> | |
| 863 | 868 | <doc xml:space="preserve" | |
| 864 | - | filename="gobject-2.0.c" | |
| 865 | - | line="1131">the flags used to create the #GBinding</doc> | |
| 869 | + | filename="gobject/gbindinggroup.c" | |
| 870 | + | line="638">the flags used to create the #GBinding</doc> | |
| 866 | 871 | <type name="BindingFlags" c:type="GBindingFlags"/> | |
| 867 | 872 | </parameter> | |
| 868 | 873 | <parameter name="transform_to" | |
| @@ -870,8 +875,8 @@ See g_object_bind_property_with_closures() for more information.</doc> | |||
| 870 | 875 | nullable="1" | |
| 871 | 876 | allow-none="1"> | |
| 872 | 877 | <doc xml:space="preserve" | |
| 873 | - | filename="gobject-2.0.c" | |
| 874 | - | line="1132">a #GClosure wrapping the | |
| 878 | + | filename="gobject/gbindinggroup.c" | |
| 879 | + | line="639">a #GClosure wrapping the | |
| 875 | 880 | transformation function from the source object to the @target, | |
| 876 | 881 | or %NULL to use the default</doc> | |
| 877 | 882 | <type name="Closure" c:type="GClosure*"/> | |
| @@ -881,8 +886,8 @@ See g_object_bind_property_with_closures() for more information.</doc> | |||
| 881 | 886 | nullable="1" | |
| 882 | 887 | allow-none="1"> | |
| 883 | 888 | <doc xml:space="preserve" | |
| 884 | - | filename="gobject-2.0.c" | |
| 885 | - | line="1135">a #GClosure wrapping the | |
| 889 | + | filename="gobject/gbindinggroup.c" | |
| 890 | + | line="642">a #GClosure wrapping the | |
| 886 | 891 | transformation function from the @target to the source object, | |
| 887 | 892 | or %NULL to use the default</doc> | |
| 888 | 893 | <type name="Closure" c:type="GClosure*"/> | |
| @@ -893,20 +898,20 @@ See g_object_bind_property_with_closures() for more information.</doc> | |||
| 893 | 898 | c:identifier="g_binding_group_dup_source" | |
| 894 | 899 | version="2.72"> | |
| 895 | 900 | <doc xml:space="preserve" | |
| 896 | - | filename="gobject-2.0.c" | |
| 897 | - | line="1154">Gets the source object used for binding properties.</doc> | |
| 898 | - | <source-position filename="gbindinggroup.h" line="54"/> | |
| 901 | + | filename="gobject/gbindinggroup.c" | |
| 902 | + | line="377">Gets the source object used for binding properties.</doc> | |
| 903 | + | <source-position filename="gobject/gbindinggroup.h" line="46"/> | |
| 899 | 904 | <return-value transfer-ownership="none" nullable="1"> | |
| 900 | 905 | <doc xml:space="preserve" | |
| 901 | - | filename="gobject-2.0.c" | |
| 902 | - | line="1160">a #GObject or %NULL.</doc> | |
| 906 | + | filename="gobject/gbindinggroup.c" | |
| 907 | + | line="383">a #GObject or %NULL.</doc> | |
| 903 | 908 | <type name="Object" c:type="gpointer"/> | |
| 904 | 909 | </return-value> | |
| 905 | 910 | <parameters> | |
| 906 | 911 | <instance-parameter name="self" transfer-ownership="none"> | |
| 907 | 912 | <doc xml:space="preserve" | |
| 908 | - | filename="gobject-2.0.c" | |
| 909 | - | line="1156">the #GBindingGroup</doc> | |
| 913 | + | filename="gobject/gbindinggroup.c" | |
| 914 | + | line="379">the #GBindingGroup</doc> | |
| 910 | 915 | <type name="BindingGroup" c:type="GBindingGroup*"/> | |
| 911 | 916 | </instance-parameter> | |
| 912 | 917 | </parameters> | |
| @@ -916,21 +921,21 @@ See g_object_bind_property_with_closures() for more information.</doc> | |||
| 916 | 921 | glib:set-property="source" | |
| 917 | 922 | version="2.72"> | |
| 918 | 923 | <doc xml:space="preserve" | |
| 919 | - | filename="gobject-2.0.c" | |
| 920 | - | line="1175">Sets @source as the source object used for creating property | |
| 924 | + | filename="gobject/gbindinggroup.c" | |
| 925 | + | line="422">Sets @source as the source object used for creating property | |
| 921 | 926 | bindings. If there is already a source object all bindings from it | |
| 922 | 927 | will be removed. | |
| 923 | 928 | ||
| 924 | 929 | Note that all properties that have been bound must exist on @source.</doc> | |
| 925 | - | <source-position filename="gbindinggroup.h" line="56"/> | |
| 930 | + | <source-position filename="gobject/gbindinggroup.h" line="48"/> | |
| 926 | 931 | <return-value transfer-ownership="none"> | |
| 927 | 932 | <type name="none" c:type="void"/> | |
| 928 | 933 | </return-value> | |
| 929 | 934 | <parameters> | |
| 930 | 935 | <instance-parameter name="self" transfer-ownership="none"> | |
| 931 | 936 | <doc xml:space="preserve" | |
| 932 | - | filename="gobject-2.0.c" | |
| 933 | - | line="1177">the #GBindingGroup</doc> | |
| 937 | + | filename="gobject/gbindinggroup.c" | |
| 938 | + | line="424">the #GBindingGroup</doc> | |
| 934 | 939 | <type name="BindingGroup" c:type="GBindingGroup*"/> | |
| 935 | 940 | </instance-parameter> | |
| 936 | 941 | <parameter name="source" | |
| @@ -938,8 +943,8 @@ Note that all properties that have been bound must exist on @source.</doc> | |||
| 938 | 943 | nullable="1" | |
| 939 | 944 | allow-none="1"> | |
| 940 | 945 | <doc xml:space="preserve" | |
| 941 | - | filename="gobject-2.0.c" | |
| 942 | - | line="1178">the source #GObject, | |
| 946 | + | filename="gobject/gbindinggroup.c" | |
| 947 | + | line="425">the source #GObject, | |
| 943 | 948 | or %NULL to clear it</doc> | |
| 944 | 949 | <type name="Object" c:type="gpointer"/> | |
| 945 | 950 | </parameter> | |
| @@ -951,8 +956,8 @@ Note that all properties that have been bound must exist on @source.</doc> | |||
| 951 | 956 | transfer-ownership="none" | |
| 952 | 957 | setter="set_source"> | |
| 953 | 958 | <doc xml:space="preserve" | |
| 954 | - | filename="gobject-2.0.c" | |
| 955 | - | line="58">The source object used for binding properties.</doc> | |
| 959 | + | filename="gobject/gbindinggroup.c" | |
| 960 | + | line="340">The source object used for binding properties.</doc> | |
| 956 | 961 | <type name="Object"/> | |
| 957 | 962 | </property> | |
| 958 | 963 | </class> | |
| @@ -960,39 +965,39 @@ Note that all properties that have been bound must exist on @source.</doc> | |||
| 960 | 965 | c:type="GBindingTransformFunc" | |
| 961 | 966 | version="2.26"> | |
| 962 | 967 | <doc xml:space="preserve" | |
| 963 | - | filename="gbinding.h" | |
| 964 | - | line="49">A function to be called to transform @from_value to @to_value. | |
| 968 | + | filename="gobject/gbinding.h" | |
| 969 | + | line="43">A function to be called to transform @from_value to @to_value. | |
| 965 | 970 | ||
| 966 | 971 | If this is the @transform_to function of a binding, then @from_value | |
| 967 | 972 | is the @source_property on the @source object, and @to_value is the | |
| 968 | 973 | @target_property on the @target object. If this is the | |
| 969 | 974 | @transform_from function of a %G_BINDING_BIDIRECTIONAL binding, | |
| 970 | 975 | then those roles are reversed.</doc> | |
| 971 | - | <source-position filename="gbinding.h" line="69"/> | |
| 976 | + | <source-position filename="gobject/gbinding.h" line="63"/> | |
| 972 | 977 | <return-value transfer-ownership="none"> | |
| 973 | 978 | <doc xml:space="preserve" | |
| 974 | - | filename="gbinding.h" | |
| 975 | - | line="64">%TRUE if the transformation was successful, and %FALSE | |
| 979 | + | filename="gobject/gbinding.h" | |
| 980 | + | line="58">%TRUE if the transformation was successful, and %FALSE | |
| 976 | 981 | otherwise</doc> | |
| 977 | 982 | <type name="gboolean" c:type="gboolean"/> | |
| 978 | 983 | </return-value> | |
| 979 | 984 | <parameters> | |
| 980 | 985 | <parameter name="binding" transfer-ownership="none"> | |
| 981 | 986 | <doc xml:space="preserve" | |
| 982 | - | filename="gbinding.h" | |
| 983 | - | line="51">a #GBinding</doc> | |
| 987 | + | filename="gobject/gbinding.h" | |
| 988 | + | line="45">a #GBinding</doc> | |
| 984 | 989 | <type name="Binding" c:type="GBinding*"/> | |
| 985 | 990 | </parameter> | |
| 986 | 991 | <parameter name="from_value" transfer-ownership="none"> | |
| 987 | 992 | <doc xml:space="preserve" | |
| 988 | - | filename="gbinding.h" | |
| 989 | - | line="52">the #GValue containing the value to transform</doc> | |
| 993 | + | filename="gobject/gbinding.h" | |
| 994 | + | line="46">the #GValue containing the value to transform</doc> | |
| 990 | 995 | <type name="Value" c:type="const GValue*"/> | |
| 991 | 996 | </parameter> | |
| 992 | 997 | <parameter name="to_value" transfer-ownership="none"> | |
| 993 | 998 | <doc xml:space="preserve" | |
| 994 | - | filename="gbinding.h" | |
| 995 | - | line="53">the #GValue in which to store the transformed value</doc> | |
| 999 | + | filename="gobject/gbinding.h" | |
| 1000 | + | line="47">the #GValue in which to store the transformed value</doc> | |
| 996 | 1001 | <type name="Value" c:type="GValue*"/> | |
| 997 | 1002 | </parameter> | |
| 998 | 1003 | <parameter name="user_data" | |
| @@ -1001,63 +1006,78 @@ then those roles are reversed.</doc> | |||
| 1001 | 1006 | allow-none="1" | |
| 1002 | 1007 | closure="3"> | |
| 1003 | 1008 | <doc xml:space="preserve" | |
| 1004 | - | filename="gbinding.h" | |
| 1005 | - | line="54">data passed to the transform function</doc> | |
| 1009 | + | filename="gobject/gbinding.h" | |
| 1010 | + | line="48">data passed to the transform function</doc> | |
| 1006 | 1011 | <type name="gpointer" c:type="gpointer"/> | |
| 1007 | 1012 | </parameter> | |
| 1008 | 1013 | </parameters> | |
| 1009 | 1014 | </callback> | |
| 1015 | + | <glib:boxed glib:name="BookmarkFile" | |
| 1016 | + | c:symbol-prefix="bookmark_file" | |
| 1017 | + | glib:type-name="GBookmarkFile" | |
| 1018 | + | glib:get-type="g_bookmark_file_get_type"> | |
| 1019 | + | </glib:boxed> | |
| 1010 | 1020 | <callback name="BoxedCopyFunc" c:type="GBoxedCopyFunc"> | |
| 1011 | 1021 | <doc xml:space="preserve" | |
| 1012 | - | filename="gboxed.h" | |
| 1013 | - | line="47">This function is provided by the user and should produce a copy | |
| 1022 | + | filename="gobject/gboxed.h" | |
| 1023 | + | line="49">This function is provided by the user and should produce a copy | |
| 1014 | 1024 | of the passed in boxed structure.</doc> | |
| 1015 | - | <source-position filename="gboxed.h" line="56"/> | |
| 1025 | + | <source-position filename="gobject/gboxed.h" line="58"/> | |
| 1016 | 1026 | <return-value transfer-ownership="none"> | |
| 1017 | 1027 | <doc xml:space="preserve" | |
| 1018 | - | filename="gboxed.h" | |
| 1019 | - | line="54">The newly created copy of the boxed structure.</doc> | |
| 1028 | + | filename="gobject/gboxed.h" | |
| 1029 | + | line="56">The newly created copy of the boxed structure.</doc> | |
| 1020 | 1030 | <type name="gpointer" c:type="gpointer"/> | |
| 1021 | 1031 | </return-value> | |
| 1022 | 1032 | <parameters> | |
| 1023 | 1033 | <parameter name="boxed" transfer-ownership="none"> | |
| 1024 | 1034 | <doc xml:space="preserve" | |
| 1025 | - | filename="gboxed.h" | |
| 1026 | - | line="49">The boxed structure to be copied.</doc> | |
| 1035 | + | filename="gobject/gboxed.h" | |
| 1036 | + | line="51">The boxed structure to be copied.</doc> | |
| 1027 | 1037 | <type name="gpointer" c:type="gpointer"/> | |
| 1028 | 1038 | </parameter> | |
| 1029 | 1039 | </parameters> | |
| 1030 | 1040 | </callback> | |
| 1031 | 1041 | <callback name="BoxedFreeFunc" c:type="GBoxedFreeFunc"> | |
| 1032 | 1042 | <doc xml:space="preserve" | |
| 1033 | - | filename="gboxed.h" | |
| 1034 | - | line="58">This function is provided by the user and should free the boxed | |
| 1043 | + | filename="gobject/gboxed.h" | |
| 1044 | + | line="60">This function is provided by the user and should free the boxed | |
| 1035 | 1045 | structure passed.</doc> | |
| 1036 | - | <source-position filename="gboxed.h" line="65"/> | |
| 1046 | + | <source-position filename="gobject/gboxed.h" line="67"/> | |
| 1037 | 1047 | <return-value transfer-ownership="none"> | |
| 1038 | 1048 | <type name="none" c:type="void"/> | |
| 1039 | 1049 | </return-value> | |
| 1040 | 1050 | <parameters> | |
| 1041 | 1051 | <parameter name="boxed" transfer-ownership="none"> | |
| 1042 | 1052 | <doc xml:space="preserve" | |
| 1043 | - | filename="gboxed.h" | |
| 1044 | - | line="60">The boxed structure to be freed.</doc> | |
| 1053 | + | filename="gobject/gboxed.h" | |
| 1054 | + | line="62">The boxed structure to be freed.</doc> | |
| 1045 | 1055 | <type name="gpointer" c:type="gpointer"/> | |
| 1046 | 1056 | </parameter> | |
| 1047 | 1057 | </parameters> | |
| 1048 | 1058 | </callback> | |
| 1059 | + | <glib:boxed glib:name="ByteArray" | |
| 1060 | + | c:symbol-prefix="byte_array" | |
| 1061 | + | glib:type-name="GByteArray" | |
| 1062 | + | glib:get-type="g_byte_array_get_type"> | |
| 1063 | + | </glib:boxed> | |
| 1064 | + | <glib:boxed glib:name="Bytes" | |
| 1065 | + | c:symbol-prefix="bytes" | |
| 1066 | + | glib:type-name="GBytes" | |
| 1067 | + | glib:get-type="g_bytes_get_type"> | |
| 1068 | + | </glib:boxed> | |
| 1049 | 1069 | <function-macro name="CALLBACK" | |
| 1050 | 1070 | c:identifier="G_CALLBACK" | |
| 1051 | 1071 | introspectable="0"> | |
| 1052 | 1072 | <doc xml:space="preserve" | |
| 1053 | - | filename="gclosure.h" | |
| 1054 | - | line="65">Cast a function pointer to a #GCallback.</doc> | |
| 1055 | - | <source-position filename="gclosure.h" line="71"/> | |
| 1073 | + | filename="gobject/gclosure.h" | |
| 1074 | + | line="67">Cast a function pointer to a #GCallback.</doc> | |
| 1075 | + | <source-position filename="gobject/gclosure.h" line="73"/> | |
| 1056 | 1076 | <parameters> | |
| 1057 | 1077 | <parameter name="f"> | |
| 1058 | 1078 | <doc xml:space="preserve" | |
| 1059 | - | filename="gclosure.h" | |
| 1060 | - | line="67">a function pointer.</doc> | |
| 1079 | + | filename="gobject/gclosure.h" | |
| 1080 | + | line="69">a function pointer.</doc> | |
| 1061 | 1081 | </parameter> | |
| 1062 | 1082 | </parameters> | |
| 1063 | 1083 | </function-macro> | |
| @@ -1065,71 +1085,71 @@ structure passed.</doc> | |||
| 1065 | 1085 | c:identifier="G_CCLOSURE_SWAP_DATA" | |
| 1066 | 1086 | introspectable="0"> | |
| 1067 | 1087 | <doc xml:space="preserve" | |
| 1068 | - | filename="gclosure.h" | |
| 1069 | - | line="55">Checks whether the user data of the #GCClosure should be passed as the | |
| 1088 | + | filename="gobject/gclosure.h" | |
| 1089 | + | line="57">Checks whether the user data of the #GCClosure should be passed as the | |
| 1070 | 1090 | first parameter to the callback. See g_cclosure_new_swap().</doc> | |
| 1071 | - | <source-position filename="gclosure.h" line="64"/> | |
| 1091 | + | <source-position filename="gobject/gclosure.h" line="66"/> | |
| 1072 | 1092 | <parameters> | |
| 1073 | 1093 | <parameter name="cclosure"> | |
| 1074 | 1094 | <doc xml:space="preserve" | |
| 1075 | - | filename="gclosure.h" | |
| 1076 | - | line="57">a #GCClosure</doc> | |
| 1095 | + | filename="gobject/gclosure.h" | |
| 1096 | + | line="59">a #GCClosure</doc> | |
| 1077 | 1097 | </parameter> | |
| 1078 | 1098 | </parameters> | |
| 1079 | 1099 | </function-macro> | |
| 1080 | 1100 | <record name="CClosure" c:type="GCClosure"> | |
| 1081 | 1101 | <doc xml:space="preserve" | |
| 1082 | - | filename="gclosure.h" | |
| 1083 | - | line="154">A #GCClosure is a specialization of #GClosure for C function callbacks.</doc> | |
| 1084 | - | <source-position filename="gclosure.h" line="224"/> | |
| 1102 | + | filename="gobject/gclosure.h" | |
| 1103 | + | line="156">A #GCClosure is a specialization of #GClosure for C function callbacks.</doc> | |
| 1104 | + | <source-position filename="gobject/gclosure.h" line="218"/> | |
| 1085 | 1105 | <field name="closure" writable="1"> | |
| 1086 | 1106 | <doc xml:space="preserve" | |
| 1087 | - | filename="gclosure.h" | |
| 1088 | - | line="156">the #GClosure</doc> | |
| 1107 | + | filename="gobject/gclosure.h" | |
| 1108 | + | line="158">the #GClosure</doc> | |
| 1089 | 1109 | <type name="Closure" c:type="GClosure"/> | |
| 1090 | 1110 | </field> | |
| 1091 | 1111 | <field name="callback" writable="1"> | |
| 1092 | 1112 | <doc xml:space="preserve" | |
| 1093 | - | filename="gclosure.h" | |
| 1094 | - | line="157">the callback function</doc> | |
| 1113 | + | filename="gobject/gclosure.h" | |
| 1114 | + | line="159">the callback function</doc> | |
| 1095 | 1115 | <type name="gpointer" c:type="gpointer"/> | |
| 1096 | 1116 | </field> | |
| 1097 | 1117 | <function name="marshal_BOOLEAN__BOXED_BOXED" | |
| 1098 | 1118 | c:identifier="g_cclosure_marshal_BOOLEAN__BOXED_BOXED"> | |
| 1099 | 1119 | <doc xml:space="preserve" | |
| 1100 | - | filename="gobject-2.0.c" | |
| 1101 | - | line="1252">A #GClosureMarshal function for use with signals with handlers that | |
| 1120 | + | filename="gobject/gmarshal.c" | |
| 1121 | + | line="2390">A #GClosureMarshal function for use with signals with handlers that | |
| 1102 | 1122 | take two boxed pointers as arguments and return a boolean. If you | |
| 1103 | 1123 | have such a signal, you will probably also need to use an | |
| 1104 | 1124 | accumulator, such as g_signal_accumulator_true_handled().</doc> | |
| 1105 | - | <source-position filename="gmarshal.h" line="399"/> | |
| 1125 | + | <source-position filename="gobject/gmarshal.h" line="399"/> | |
| 1106 | 1126 | <return-value transfer-ownership="none"> | |
| 1107 | 1127 | <type name="none" c:type="void"/> | |
| 1108 | 1128 | </return-value> | |
| 1109 | 1129 | <parameters> | |
| 1110 | 1130 | <parameter name="closure" transfer-ownership="none"> | |
| 1111 | 1131 | <doc xml:space="preserve" | |
| 1112 | - | filename="gobject-2.0.c" | |
| 1113 | - | line="1254">A #GClosure.</doc> | |
| 1132 | + | filename="gobject/gmarshal.c" | |
| 1133 | + | line="2392">A #GClosure.</doc> | |
| 1114 | 1134 | <type name="Closure" c:type="GClosure*"/> | |
| 1115 | 1135 | </parameter> | |
| 1116 | 1136 | <parameter name="return_value" transfer-ownership="none"> | |
| 1117 | 1137 | <doc xml:space="preserve" | |
| 1118 | - | filename="gobject-2.0.c" | |
| 1119 | - | line="1255">A #GValue to store the return value. May be %NULL | |
| 1138 | + | filename="gobject/gmarshal.c" | |
| 1139 | + | line="2393">A #GValue to store the return value. May be %NULL | |
| 1120 | 1140 | if the callback of closure doesn't return a value.</doc> | |
| 1121 | 1141 | <type name="Value" c:type="GValue*"/> | |
| 1122 | 1142 | </parameter> | |
| 1123 | 1143 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 1124 | 1144 | <doc xml:space="preserve" | |
| 1125 | - | filename="gobject-2.0.c" | |
| 1126 | - | line="1257">The length of the @param_values array.</doc> | |
| 1145 | + | filename="gobject/gmarshal.c" | |
| 1146 | + | line="2395">The length of the @param_values array.</doc> | |
| 1127 | 1147 | <type name="guint" c:type="guint"/> | |
| 1128 | 1148 | </parameter> | |
| 1129 | 1149 | <parameter name="param_values" transfer-ownership="none"> | |
| 1130 | 1150 | <doc xml:space="preserve" | |
| 1131 | - | filename="gobject-2.0.c" | |
| 1132 | - | line="1258">An array of #GValues holding the arguments | |
| 1151 | + | filename="gobject/gmarshal.c" | |
| 1152 | + | line="2396">An array of #GValues holding the arguments | |
| 1133 | 1153 | on which to invoke the callback of closure.</doc> | |
| 1134 | 1154 | <type name="Value" c:type="const GValue*"/> | |
| 1135 | 1155 | </parameter> | |
| @@ -1138,8 +1158,8 @@ accumulator, such as g_signal_accumulator_true_handled().</doc> | |||
| 1138 | 1158 | nullable="1" | |
| 1139 | 1159 | allow-none="1"> | |
| 1140 | 1160 | <doc xml:space="preserve" | |
| 1141 | - | filename="gobject-2.0.c" | |
| 1142 | - | line="1260">The invocation hint given as the last argument to | |
| 1161 | + | filename="gobject/gmarshal.c" | |
| 1162 | + | line="2398">The invocation hint given as the last argument to | |
| 1143 | 1163 | g_closure_invoke().</doc> | |
| 1144 | 1164 | <type name="gpointer" c:type="gpointer"/> | |
| 1145 | 1165 | </parameter> | |
| @@ -1148,8 +1168,8 @@ accumulator, such as g_signal_accumulator_true_handled().</doc> | |||
| 1148 | 1168 | nullable="1" | |
| 1149 | 1169 | allow-none="1"> | |
| 1150 | 1170 | <doc xml:space="preserve" | |
| 1151 | - | filename="gobject-2.0.c" | |
| 1152 | - | line="1262">Additional data specified when registering the | |
| 1171 | + | filename="gobject/gmarshal.c" | |
| 1172 | + | line="2400">Additional data specified when registering the | |
| 1153 | 1173 | marshaller, see g_closure_set_marshal() and | |
| 1154 | 1174 | g_closure_set_meta_marshal()</doc> | |
| 1155 | 1175 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -1160,17 +1180,17 @@ accumulator, such as g_signal_accumulator_true_handled().</doc> | |||
| 1160 | 1180 | c:identifier="g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv" | |
| 1161 | 1181 | introspectable="0"> | |
| 1162 | 1182 | <doc xml:space="preserve" | |
| 1163 | - | filename="gobject-2.0.c" | |
| 1164 | - | line="1273">The #GVaClosureMarshal equivalent to g_cclosure_marshal_BOOLEAN__BOXED_BOXED().</doc> | |
| 1165 | - | <source-position filename="gmarshal.h" line="406"/> | |
| 1183 | + | filename="gobject/gmarshal.c" | |
| 1184 | + | line="2450">The #GVaClosureMarshal equivalent to g_cclosure_marshal_BOOLEAN__BOXED_BOXED().</doc> | |
| 1185 | + | <source-position filename="gobject/gmarshal.h" line="406"/> | |
| 1166 | 1186 | <return-value transfer-ownership="none"> | |
| 1167 | 1187 | <type name="none" c:type="void"/> | |
| 1168 | 1188 | </return-value> | |
| 1169 | 1189 | <parameters> | |
| 1170 | 1190 | <parameter name="closure" transfer-ownership="none"> | |
| 1171 | 1191 | <doc xml:space="preserve" | |
| 1172 | - | filename="gobject-2.0.c" | |
| 1173 | - | line="1275">the #GClosure to which the marshaller belongs</doc> | |
| 1192 | + | filename="gobject/gmarshal.c" | |
| 1193 | + | line="2452">the #GClosure to which the marshaller belongs</doc> | |
| 1174 | 1194 | <type name="Closure" c:type="GClosure*"/> | |
| 1175 | 1195 | </parameter> | |
| 1176 | 1196 | <parameter name="return_value" | |
| @@ -1178,22 +1198,22 @@ accumulator, such as g_signal_accumulator_true_handled().</doc> | |||
| 1178 | 1198 | nullable="1" | |
| 1179 | 1199 | allow-none="1"> | |
| 1180 | 1200 | <doc xml:space="preserve" | |
| 1181 | - | filename="gobject-2.0.c" | |
| 1182 | - | line="1276">a #GValue to store the return | |
| 1201 | + | filename="gobject/gmarshal.c" | |
| 1202 | + | line="2453">a #GValue to store the return | |
| 1183 | 1203 | value. May be %NULL if the callback of @closure doesn't return a | |
| 1184 | 1204 | value.</doc> | |
| 1185 | 1205 | <type name="Value" c:type="GValue*"/> | |
| 1186 | 1206 | </parameter> | |
| 1187 | 1207 | <parameter name="instance" transfer-ownership="none"> | |
| 1188 | 1208 | <doc xml:space="preserve" | |
| 1189 | - | filename="gobject-2.0.c" | |
| 1190 | - | line="1279">the instance on which the closure is invoked.</doc> | |
| 1209 | + | filename="gobject/gmarshal.c" | |
| 1210 | + | line="2456">the instance on which the closure is invoked.</doc> | |
| 1191 | 1211 | <type name="TypeInstance" c:type="gpointer"/> | |
| 1192 | 1212 | </parameter> | |
| 1193 | 1213 | <parameter name="args" transfer-ownership="none"> | |
| 1194 | 1214 | <doc xml:space="preserve" | |
| 1195 | - | filename="gobject-2.0.c" | |
| 1196 | - | line="1280">va_list of arguments to be passed to the closure.</doc> | |
| 1215 | + | filename="gobject/gmarshal.c" | |
| 1216 | + | line="2457">va_list of arguments to be passed to the closure.</doc> | |
| 1197 | 1217 | <type name="va_list" c:type="va_list"/> | |
| 1198 | 1218 | </parameter> | |
| 1199 | 1219 | <parameter name="marshal_data" | |
| @@ -1201,22 +1221,22 @@ accumulator, such as g_signal_accumulator_true_handled().</doc> | |||
| 1201 | 1221 | nullable="1" | |
| 1202 | 1222 | allow-none="1"> | |
| 1203 | 1223 | <doc xml:space="preserve" | |
| 1204 | - | filename="gobject-2.0.c" | |
| 1205 | - | line="1281">additional data specified when | |
| 1224 | + | filename="gobject/gmarshal.c" | |
| 1225 | + | line="2458">additional data specified when | |
| 1206 | 1226 | registering the marshaller, see g_closure_set_marshal() and | |
| 1207 | 1227 | g_closure_set_meta_marshal()</doc> | |
| 1208 | 1228 | <type name="gpointer" c:type="gpointer"/> | |
| 1209 | 1229 | </parameter> | |
| 1210 | 1230 | <parameter name="n_params" transfer-ownership="none"> | |
| 1211 | 1231 | <doc xml:space="preserve" | |
| 1212 | - | filename="gobject-2.0.c" | |
| 1213 | - | line="1284">the length of the @param_types array</doc> | |
| 1232 | + | filename="gobject/gmarshal.c" | |
| 1233 | + | line="2461">the length of the @param_types array</doc> | |
| 1214 | 1234 | <type name="gint" c:type="int"/> | |
| 1215 | 1235 | </parameter> | |
| 1216 | 1236 | <parameter name="param_types" transfer-ownership="none"> | |
| 1217 | 1237 | <doc xml:space="preserve" | |
| 1218 | - | filename="gobject-2.0.c" | |
| 1219 | - | line="1285">the #GType of each argument from | |
| 1238 | + | filename="gobject/gmarshal.c" | |
| 1239 | + | line="2462">the #GType of each argument from | |
| 1220 | 1240 | @args.</doc> | |
| 1221 | 1241 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 1222 | 1242 | <type name="GType" c:type="GType"/> | |
| @@ -1227,37 +1247,40 @@ accumulator, such as g_signal_accumulator_true_handled().</doc> | |||
| 1227 | 1247 | <function name="marshal_BOOLEAN__FLAGS" | |
| 1228 | 1248 | c:identifier="g_cclosure_marshal_BOOLEAN__FLAGS"> | |
| 1229 | 1249 | <doc xml:space="preserve" | |
| 1230 | - | filename="gobject-2.0.c" | |
| 1231 | - | line="1292">A marshaller for a #GCClosure with a callback of type | |
| 1232 | - | `gboolean (*callback) (gpointer instance, gint arg1, gpointer user_data)` where the #gint parameter | |
| 1233 | - | denotes a flags type.</doc> | |
| 1234 | - | <source-position filename="gmarshal.h" line="347"/> | |
| 1250 | + | filename="gobject/gmarshal.c" | |
| 1251 | + | line="2143">A #GClosureMarshal function for use with signals with handlers that | |
| 1252 | + | take a flags type as an argument and return a boolean. If you have | |
| 1253 | + | such a signal, you will probably also need to use an accumulator, | |
| 1254 | + | such as g_signal_accumulator_true_handled().</doc> | |
| 1255 | + | <source-position filename="gobject/gmarshal.h" line="347"/> | |
| 1235 | 1256 | <return-value transfer-ownership="none"> | |
| 1236 | 1257 | <type name="none" c:type="void"/> | |
| 1237 | 1258 | </return-value> | |
| 1238 | 1259 | <parameters> | |
| 1239 | 1260 | <parameter name="closure" transfer-ownership="none"> | |
| 1240 | 1261 | <doc xml:space="preserve" | |
| 1241 | - | filename="gobject-2.0.c" | |
| 1242 | - | line="1294">the #GClosure to which the marshaller belongs</doc> | |
| 1262 | + | filename="gobject/gmarshal.c" | |
| 1263 | + | line="2145">A #GClosure.</doc> | |
| 1243 | 1264 | <type name="Closure" c:type="GClosure*"/> | |
| 1244 | 1265 | </parameter> | |
| 1245 | 1266 | <parameter name="return_value" transfer-ownership="none"> | |
| 1246 | 1267 | <doc xml:space="preserve" | |
| 1247 | - | filename="gobject-2.0.c" | |
| 1248 | - | line="1295">a #GValue which can store the returned #gboolean</doc> | |
| 1268 | + | filename="gobject/gmarshal.c" | |
| 1269 | + | line="2146">A #GValue to store the return value. May be %NULL | |
| 1270 | + | if the callback of closure doesn't return a value.</doc> | |
| 1249 | 1271 | <type name="Value" c:type="GValue*"/> | |
| 1250 | 1272 | </parameter> | |
| 1251 | 1273 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 1252 | 1274 | <doc xml:space="preserve" | |
| 1253 | - | filename="gobject-2.0.c" | |
| 1254 | - | line="1296">2</doc> | |
| 1275 | + | filename="gobject/gmarshal.c" | |
| 1276 | + | line="2148">The length of the @param_values array.</doc> | |
| 1255 | 1277 | <type name="guint" c:type="guint"/> | |
| 1256 | 1278 | </parameter> | |
| 1257 | 1279 | <parameter name="param_values" transfer-ownership="none"> | |
| 1258 | 1280 | <doc xml:space="preserve" | |
| 1259 | - | filename="gobject-2.0.c" | |
| 1260 | - | line="1297">a #GValue array holding instance and arg1</doc> | |
| 1281 | + | filename="gobject/gmarshal.c" | |
| 1282 | + | line="2149">An array of #GValues holding the arguments | |
| 1283 | + | on which to invoke the callback of closure.</doc> | |
| 1261 | 1284 | <type name="Value" c:type="const GValue*"/> | |
| 1262 | 1285 | </parameter> | |
| 1263 | 1286 | <parameter name="invocation_hint" | |
| @@ -1265,9 +1288,9 @@ denotes a flags type.</doc> | |||
| 1265 | 1288 | nullable="1" | |
| 1266 | 1289 | allow-none="1"> | |
| 1267 | 1290 | <doc xml:space="preserve" | |
| 1268 | - | filename="gobject-2.0.c" | |
| 1269 | - | line="1298">the invocation hint given as the last argument | |
| 1270 | - | to g_closure_invoke()</doc> | |
| 1291 | + | filename="gobject/gmarshal.c" | |
| 1292 | + | line="2151">The invocation hint given as the last argument to | |
| 1293 | + | g_closure_invoke().</doc> | |
| 1271 | 1294 | <type name="gpointer" c:type="gpointer"/> | |
| 1272 | 1295 | </parameter> | |
| 1273 | 1296 | <parameter name="marshal_data" | |
| @@ -1275,8 +1298,10 @@ denotes a flags type.</doc> | |||
| 1275 | 1298 | nullable="1" | |
| 1276 | 1299 | allow-none="1"> | |
| 1277 | 1300 | <doc xml:space="preserve" | |
| 1278 | - | filename="gobject-2.0.c" | |
| 1279 | - | line="1300">additional data specified when registering the marshaller</doc> | |
| 1301 | + | filename="gobject/gmarshal.c" | |
| 1302 | + | line="2153">Additional data specified when registering the | |
| 1303 | + | marshaller, see g_closure_set_marshal() and | |
| 1304 | + | g_closure_set_meta_marshal()</doc> | |
| 1280 | 1305 | <type name="gpointer" c:type="gpointer"/> | |
| 1281 | 1306 | </parameter> | |
| 1282 | 1307 | </parameters> | |
| @@ -1285,17 +1310,17 @@ denotes a flags type.</doc> | |||
| 1285 | 1310 | c:identifier="g_cclosure_marshal_BOOLEAN__FLAGSv" | |
| 1286 | 1311 | introspectable="0"> | |
| 1287 | 1312 | <doc xml:space="preserve" | |
| 1288 | - | filename="gobject-2.0.c" | |
| 1289 | - | line="1308">The #GVaClosureMarshal equivalent to g_cclosure_marshal_BOOLEAN__FLAGS().</doc> | |
| 1290 | - | <source-position filename="gmarshal.h" line="354"/> | |
| 1313 | + | filename="gobject/gmarshal.c" | |
| 1314 | + | line="2201">The #GVaClosureMarshal equivalent to g_cclosure_marshal_BOOLEAN__FLAGS().</doc> | |
| 1315 | + | <source-position filename="gobject/gmarshal.h" line="354"/> | |
| 1291 | 1316 | <return-value transfer-ownership="none"> | |
| 1292 | 1317 | <type name="none" c:type="void"/> | |
| 1293 | 1318 | </return-value> | |
| 1294 | 1319 | <parameters> | |
| 1295 | 1320 | <parameter name="closure" transfer-ownership="none"> | |
| 1296 | 1321 | <doc xml:space="preserve" | |
| 1297 | - | filename="gobject-2.0.c" | |
| 1298 | - | line="1310">the #GClosure to which the marshaller belongs</doc> | |
| 1322 | + | filename="gobject/gmarshal.c" | |
| 1323 | + | line="2203">the #GClosure to which the marshaller belongs</doc> | |
| 1299 | 1324 | <type name="Closure" c:type="GClosure*"/> | |
| 1300 | 1325 | </parameter> | |
| 1301 | 1326 | <parameter name="return_value" | |
| @@ -1303,22 +1328,22 @@ denotes a flags type.</doc> | |||
| 1303 | 1328 | nullable="1" | |
| 1304 | 1329 | allow-none="1"> | |
| 1305 | 1330 | <doc xml:space="preserve" | |
| 1306 | - | filename="gobject-2.0.c" | |
| 1307 | - | line="1311">a #GValue to store the return | |
| 1331 | + | filename="gobject/gmarshal.c" | |
| 1332 | + | line="2204">a #GValue to store the return | |
| 1308 | 1333 | value. May be %NULL if the callback of @closure doesn't return a | |
| 1309 | 1334 | value.</doc> | |
| 1310 | 1335 | <type name="Value" c:type="GValue*"/> | |
| 1311 | 1336 | </parameter> | |
| 1312 | 1337 | <parameter name="instance" transfer-ownership="none"> | |
| 1313 | 1338 | <doc xml:space="preserve" | |
| 1314 | - | filename="gobject-2.0.c" | |
| 1315 | - | line="1314">the instance on which the closure is invoked.</doc> | |
| 1339 | + | filename="gobject/gmarshal.c" | |
| 1340 | + | line="2207">the instance on which the closure is invoked.</doc> | |
| 1316 | 1341 | <type name="TypeInstance" c:type="gpointer"/> | |
| 1317 | 1342 | </parameter> | |
| 1318 | 1343 | <parameter name="args" transfer-ownership="none"> | |
| 1319 | 1344 | <doc xml:space="preserve" | |
| 1320 | - | filename="gobject-2.0.c" | |
| 1321 | - | line="1315">va_list of arguments to be passed to the closure.</doc> | |
| 1345 | + | filename="gobject/gmarshal.c" | |
| 1346 | + | line="2208">va_list of arguments to be passed to the closure.</doc> | |
| 1322 | 1347 | <type name="va_list" c:type="va_list"/> | |
| 1323 | 1348 | </parameter> | |
| 1324 | 1349 | <parameter name="marshal_data" | |
| @@ -1326,22 +1351,22 @@ denotes a flags type.</doc> | |||
| 1326 | 1351 | nullable="1" | |
| 1327 | 1352 | allow-none="1"> | |
| 1328 | 1353 | <doc xml:space="preserve" | |
| 1329 | - | filename="gobject-2.0.c" | |
| 1330 | - | line="1316">additional data specified when | |
| 1354 | + | filename="gobject/gmarshal.c" | |
| 1355 | + | line="2209">additional data specified when | |
| 1331 | 1356 | registering the marshaller, see g_closure_set_marshal() and | |
| 1332 | 1357 | g_closure_set_meta_marshal()</doc> | |
| 1333 | 1358 | <type name="gpointer" c:type="gpointer"/> | |
| 1334 | 1359 | </parameter> | |
| 1335 | 1360 | <parameter name="n_params" transfer-ownership="none"> | |
| 1336 | 1361 | <doc xml:space="preserve" | |
| 1337 | - | filename="gobject-2.0.c" | |
| 1338 | - | line="1319">the length of the @param_types array</doc> | |
| 1362 | + | filename="gobject/gmarshal.c" | |
| 1363 | + | line="2212">the length of the @param_types array</doc> | |
| 1339 | 1364 | <type name="gint" c:type="int"/> | |
| 1340 | 1365 | </parameter> | |
| 1341 | 1366 | <parameter name="param_types" transfer-ownership="none"> | |
| 1342 | 1367 | <doc xml:space="preserve" | |
| 1343 | - | filename="gobject-2.0.c" | |
| 1344 | - | line="1320">the #GType of each argument from | |
| 1368 | + | filename="gobject/gmarshal.c" | |
| 1369 | + | line="2213">the #GType of each argument from | |
| 1345 | 1370 | @args.</doc> | |
| 1346 | 1371 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 1347 | 1372 | <type name="GType" c:type="GType"/> | |
| @@ -1352,36 +1377,39 @@ denotes a flags type.</doc> | |||
| 1352 | 1377 | <function name="marshal_STRING__OBJECT_POINTER" | |
| 1353 | 1378 | c:identifier="g_cclosure_marshal_STRING__OBJECT_POINTER"> | |
| 1354 | 1379 | <doc xml:space="preserve" | |
| 1355 | - | filename="gobject-2.0.c" | |
| 1356 | - | line="1351">A marshaller for a #GCClosure with a callback of type | |
| 1357 | - | `gchar* (*callback) (gpointer instance, GObject *arg1, gpointer arg2, gpointer user_data)`.</doc> | |
| 1358 | - | <source-position filename="gmarshal.h" line="382"/> | |
| 1380 | + | filename="gobject/gmarshal.c" | |
| 1381 | + | line="2262">A #GClosureMarshal function for use with signals with handlers that | |
| 1382 | + | take a #GObject and a pointer and produce a string. It is highly | |
| 1383 | + | unlikely that your signal handler fits this description.</doc> | |
| 1384 | + | <source-position filename="gobject/gmarshal.h" line="382"/> | |
| 1359 | 1385 | <return-value transfer-ownership="none"> | |
| 1360 | 1386 | <type name="none" c:type="void"/> | |
| 1361 | 1387 | </return-value> | |
| 1362 | 1388 | <parameters> | |
| 1363 | 1389 | <parameter name="closure" transfer-ownership="none"> | |
| 1364 | 1390 | <doc xml:space="preserve" | |
| 1365 | - | filename="gobject-2.0.c" | |
| 1366 | - | line="1353">the #GClosure to which the marshaller belongs</doc> | |
| 1391 | + | filename="gobject/gmarshal.c" | |
| 1392 | + | line="2264">A #GClosure.</doc> | |
| 1367 | 1393 | <type name="Closure" c:type="GClosure*"/> | |
| 1368 | 1394 | </parameter> | |
| 1369 | 1395 | <parameter name="return_value" transfer-ownership="none"> | |
| 1370 | 1396 | <doc xml:space="preserve" | |
| 1371 | - | filename="gobject-2.0.c" | |
| 1372 | - | line="1354">a #GValue, which can store the returned string</doc> | |
| 1397 | + | filename="gobject/gmarshal.c" | |
| 1398 | + | line="2265">A #GValue to store the return value. May be %NULL | |
| 1399 | + | if the callback of closure doesn't return a value.</doc> | |
| 1373 | 1400 | <type name="Value" c:type="GValue*"/> | |
| 1374 | 1401 | </parameter> | |
| 1375 | 1402 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 1376 | 1403 | <doc xml:space="preserve" | |
| 1377 | - | filename="gobject-2.0.c" | |
| 1378 | - | line="1355">3</doc> | |
| 1404 | + | filename="gobject/gmarshal.c" | |
| 1405 | + | line="2267">The length of the @param_values array.</doc> | |
| 1379 | 1406 | <type name="guint" c:type="guint"/> | |
| 1380 | 1407 | </parameter> | |
| 1381 | 1408 | <parameter name="param_values" transfer-ownership="none"> | |
| 1382 | 1409 | <doc xml:space="preserve" | |
| 1383 | - | filename="gobject-2.0.c" | |
| 1384 | - | line="1356">a #GValue array holding instance, arg1 and arg2</doc> | |
| 1410 | + | filename="gobject/gmarshal.c" | |
| 1411 | + | line="2268">An array of #GValues holding the arguments | |
| 1412 | + | on which to invoke the callback of closure.</doc> | |
| 1385 | 1413 | <type name="Value" c:type="const GValue*"/> | |
| 1386 | 1414 | </parameter> | |
| 1387 | 1415 | <parameter name="invocation_hint" | |
| @@ -1389,9 +1417,9 @@ denotes a flags type.</doc> | |||
| 1389 | 1417 | nullable="1" | |
| 1390 | 1418 | allow-none="1"> | |
| 1391 | 1419 | <doc xml:space="preserve" | |
| 1392 | - | filename="gobject-2.0.c" | |
| 1393 | - | line="1357">the invocation hint given as the last argument | |
| 1394 | - | to g_closure_invoke()</doc> | |
| 1420 | + | filename="gobject/gmarshal.c" | |
| 1421 | + | line="2270">The invocation hint given as the last argument to | |
| 1422 | + | g_closure_invoke().</doc> | |
| 1395 | 1423 | <type name="gpointer" c:type="gpointer"/> | |
| 1396 | 1424 | </parameter> | |
| 1397 | 1425 | <parameter name="marshal_data" | |
| @@ -1399,8 +1427,10 @@ denotes a flags type.</doc> | |||
| 1399 | 1427 | nullable="1" | |
| 1400 | 1428 | allow-none="1"> | |
| 1401 | 1429 | <doc xml:space="preserve" | |
| 1402 | - | filename="gobject-2.0.c" | |
| 1403 | - | line="1359">additional data specified when registering the marshaller</doc> | |
| 1430 | + | filename="gobject/gmarshal.c" | |
| 1431 | + | line="2272">Additional data specified when registering the | |
| 1432 | + | marshaller, see g_closure_set_marshal() and | |
| 1433 | + | g_closure_set_meta_marshal()</doc> | |
| 1404 | 1434 | <type name="gpointer" c:type="gpointer"/> | |
| 1405 | 1435 | </parameter> | |
| 1406 | 1436 | </parameters> | |
| @@ -1409,17 +1439,17 @@ denotes a flags type.</doc> | |||
| 1409 | 1439 | c:identifier="g_cclosure_marshal_STRING__OBJECT_POINTERv" | |
| 1410 | 1440 | introspectable="0"> | |
| 1411 | 1441 | <doc xml:space="preserve" | |
| 1412 | - | filename="gobject-2.0.c" | |
| 1413 | - | line="1366">The #GVaClosureMarshal equivalent to g_cclosure_marshal_STRING__OBJECT_POINTER().</doc> | |
| 1414 | - | <source-position filename="gmarshal.h" line="389"/> | |
| 1442 | + | filename="gobject/gmarshal.c" | |
| 1443 | + | line="2321">The #GVaClosureMarshal equivalent to g_cclosure_marshal_STRING__OBJECT_POINTER().</doc> | |
| 1444 | + | <source-position filename="gobject/gmarshal.h" line="389"/> | |
| 1415 | 1445 | <return-value transfer-ownership="none"> | |
| 1416 | 1446 | <type name="none" c:type="void"/> | |
| 1417 | 1447 | </return-value> | |
| 1418 | 1448 | <parameters> | |
| 1419 | 1449 | <parameter name="closure" transfer-ownership="none"> | |
| 1420 | 1450 | <doc xml:space="preserve" | |
| 1421 | - | filename="gobject-2.0.c" | |
| 1422 | - | line="1368">the #GClosure to which the marshaller belongs</doc> | |
| 1451 | + | filename="gobject/gmarshal.c" | |
| 1452 | + | line="2323">the #GClosure to which the marshaller belongs</doc> | |
| 1423 | 1453 | <type name="Closure" c:type="GClosure*"/> | |
| 1424 | 1454 | </parameter> | |
| 1425 | 1455 | <parameter name="return_value" | |
| @@ -1427,22 +1457,22 @@ denotes a flags type.</doc> | |||
| 1427 | 1457 | nullable="1" | |
| 1428 | 1458 | allow-none="1"> | |
| 1429 | 1459 | <doc xml:space="preserve" | |
| 1430 | - | filename="gobject-2.0.c" | |
| 1431 | - | line="1369">a #GValue to store the return | |
| 1460 | + | filename="gobject/gmarshal.c" | |
| 1461 | + | line="2324">a #GValue to store the return | |
| 1432 | 1462 | value. May be %NULL if the callback of @closure doesn't return a | |
| 1433 | 1463 | value.</doc> | |
| 1434 | 1464 | <type name="Value" c:type="GValue*"/> | |
| 1435 | 1465 | </parameter> | |
| 1436 | 1466 | <parameter name="instance" transfer-ownership="none"> | |
| 1437 | 1467 | <doc xml:space="preserve" | |
| 1438 | - | filename="gobject-2.0.c" | |
| 1439 | - | line="1372">the instance on which the closure is invoked.</doc> | |
| 1468 | + | filename="gobject/gmarshal.c" | |
| 1469 | + | line="2327">the instance on which the closure is invoked.</doc> | |
| 1440 | 1470 | <type name="TypeInstance" c:type="gpointer"/> | |
| 1441 | 1471 | </parameter> | |
| 1442 | 1472 | <parameter name="args" transfer-ownership="none"> | |
| 1443 | 1473 | <doc xml:space="preserve" | |
| 1444 | - | filename="gobject-2.0.c" | |
| 1445 | - | line="1373">va_list of arguments to be passed to the closure.</doc> | |
| 1474 | + | filename="gobject/gmarshal.c" | |
| 1475 | + | line="2328">va_list of arguments to be passed to the closure.</doc> | |
| 1446 | 1476 | <type name="va_list" c:type="va_list"/> | |
| 1447 | 1477 | </parameter> | |
| 1448 | 1478 | <parameter name="marshal_data" | |
| @@ -1450,22 +1480,22 @@ denotes a flags type.</doc> | |||
| 1450 | 1480 | nullable="1" | |
| 1451 | 1481 | allow-none="1"> | |
| 1452 | 1482 | <doc xml:space="preserve" | |
| 1453 | - | filename="gobject-2.0.c" | |
| 1454 | - | line="1374">additional data specified when | |
| 1483 | + | filename="gobject/gmarshal.c" | |
| 1484 | + | line="2329">additional data specified when | |
| 1455 | 1485 | registering the marshaller, see g_closure_set_marshal() and | |
| 1456 | 1486 | g_closure_set_meta_marshal()</doc> | |
| 1457 | 1487 | <type name="gpointer" c:type="gpointer"/> | |
| 1458 | 1488 | </parameter> | |
| 1459 | 1489 | <parameter name="n_params" transfer-ownership="none"> | |
| 1460 | 1490 | <doc xml:space="preserve" | |
| 1461 | - | filename="gobject-2.0.c" | |
| 1462 | - | line="1377">the length of the @param_types array</doc> | |
| 1491 | + | filename="gobject/gmarshal.c" | |
| 1492 | + | line="2332">the length of the @param_types array</doc> | |
| 1463 | 1493 | <type name="gint" c:type="int"/> | |
| 1464 | 1494 | </parameter> | |
| 1465 | 1495 | <parameter name="param_types" transfer-ownership="none"> | |
| 1466 | 1496 | <doc xml:space="preserve" | |
| 1467 | - | filename="gobject-2.0.c" | |
| 1468 | - | line="1378">the #GType of each argument from | |
| 1497 | + | filename="gobject/gmarshal.c" | |
| 1498 | + | line="2333">the #GType of each argument from | |
| 1469 | 1499 | @args.</doc> | |
| 1470 | 1500 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 1471 | 1501 | <type name="GType" c:type="GType"/> | |
| @@ -1476,36 +1506,38 @@ denotes a flags type.</doc> | |||
| 1476 | 1506 | <function name="marshal_VOID__BOOLEAN" | |
| 1477 | 1507 | c:identifier="g_cclosure_marshal_VOID__BOOLEAN"> | |
| 1478 | 1508 | <doc xml:space="preserve" | |
| 1479 | - | filename="gobject-2.0.c" | |
| 1480 | - | line="1385">A marshaller for a #GCClosure with a callback of type | |
| 1481 | - | `void (*callback) (gpointer instance, gboolean arg1, gpointer user_data)`.</doc> | |
| 1482 | - | <source-position filename="gmarshal.h" line="41"/> | |
| 1509 | + | filename="gobject/gmarshal.c" | |
| 1510 | + | line="169">A #GClosureMarshal function for use with signals with a single | |
| 1511 | + | boolean argument.</doc> | |
| 1512 | + | <source-position filename="gobject/gmarshal.h" line="41"/> | |
| 1483 | 1513 | <return-value transfer-ownership="none"> | |
| 1484 | 1514 | <type name="none" c:type="void"/> | |
| 1485 | 1515 | </return-value> | |
| 1486 | 1516 | <parameters> | |
| 1487 | 1517 | <parameter name="closure" transfer-ownership="none"> | |
| 1488 | 1518 | <doc xml:space="preserve" | |
| 1489 | - | filename="gobject-2.0.c" | |
| 1490 | - | line="1387">the #GClosure to which the marshaller belongs</doc> | |
| 1519 | + | filename="gobject/gmarshal.c" | |
| 1520 | + | line="171">A #GClosure.</doc> | |
| 1491 | 1521 | <type name="Closure" c:type="GClosure*"/> | |
| 1492 | 1522 | </parameter> | |
| 1493 | 1523 | <parameter name="return_value" transfer-ownership="none"> | |
| 1494 | 1524 | <doc xml:space="preserve" | |
| 1495 | - | filename="gobject-2.0.c" | |
| 1496 | - | line="1388">ignored</doc> | |
| 1525 | + | filename="gobject/gmarshal.c" | |
| 1526 | + | line="172">A #GValue to store the return value. May be %NULL | |
| 1527 | + | if the callback of closure doesn't return a value.</doc> | |
| 1497 | 1528 | <type name="Value" c:type="GValue*"/> | |
| 1498 | 1529 | </parameter> | |
| 1499 | 1530 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 1500 | 1531 | <doc xml:space="preserve" | |
| 1501 | - | filename="gobject-2.0.c" | |
| 1502 | - | line="1389">2</doc> | |
| 1532 | + | filename="gobject/gmarshal.c" | |
| 1533 | + | line="174">The length of the @param_values array.</doc> | |
| 1503 | 1534 | <type name="guint" c:type="guint"/> | |
| 1504 | 1535 | </parameter> | |
| 1505 | 1536 | <parameter name="param_values" transfer-ownership="none"> | |
| 1506 | 1537 | <doc xml:space="preserve" | |
| 1507 | - | filename="gobject-2.0.c" | |
| 1508 | - | line="1390">a #GValue array holding the instance and the #gboolean parameter</doc> | |
| 1538 | + | filename="gobject/gmarshal.c" | |
| 1539 | + | line="175">An array of #GValues holding the arguments | |
| 1540 | + | on which to invoke the callback of closure.</doc> | |
| 1509 | 1541 | <type name="Value" c:type="const GValue*"/> | |
| 1510 | 1542 | </parameter> | |
| 1511 | 1543 | <parameter name="invocation_hint" | |
| @@ -1513,9 +1545,9 @@ denotes a flags type.</doc> | |||
| 1513 | 1545 | nullable="1" | |
| 1514 | 1546 | allow-none="1"> | |
| 1515 | 1547 | <doc xml:space="preserve" | |
| 1516 | - | filename="gobject-2.0.c" | |
| 1517 | - | line="1391">the invocation hint given as the last argument | |
| 1518 | - | to g_closure_invoke()</doc> | |
| 1548 | + | filename="gobject/gmarshal.c" | |
| 1549 | + | line="177">The invocation hint given as the last argument to | |
| 1550 | + | g_closure_invoke().</doc> | |
| 1519 | 1551 | <type name="gpointer" c:type="gpointer"/> | |
| 1520 | 1552 | </parameter> | |
| 1521 | 1553 | <parameter name="marshal_data" | |
| @@ -1523,8 +1555,10 @@ denotes a flags type.</doc> | |||
| 1523 | 1555 | nullable="1" | |
| 1524 | 1556 | allow-none="1"> | |
| 1525 | 1557 | <doc xml:space="preserve" | |
| 1526 | - | filename="gobject-2.0.c" | |
| 1527 | - | line="1393">additional data specified when registering the marshaller</doc> | |
| 1558 | + | filename="gobject/gmarshal.c" | |
| 1559 | + | line="179">Additional data specified when registering the | |
| 1560 | + | marshaller, see g_closure_set_marshal() and | |
| 1561 | + | g_closure_set_meta_marshal()</doc> | |
| 1528 | 1562 | <type name="gpointer" c:type="gpointer"/> | |
| 1529 | 1563 | </parameter> | |
| 1530 | 1564 | </parameters> | |
| @@ -1533,17 +1567,17 @@ denotes a flags type.</doc> | |||
| 1533 | 1567 | c:identifier="g_cclosure_marshal_VOID__BOOLEANv" | |
| 1534 | 1568 | introspectable="0"> | |
| 1535 | 1569 | <doc xml:space="preserve" | |
| 1536 | - | filename="gobject-2.0.c" | |
| 1537 | - | line="1400">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__BOOLEAN().</doc> | |
| 1538 | - | <source-position filename="gmarshal.h" line="48"/> | |
| 1570 | + | filename="gobject/gmarshal.c" | |
| 1571 | + | line="221">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__BOOLEAN().</doc> | |
| 1572 | + | <source-position filename="gobject/gmarshal.h" line="48"/> | |
| 1539 | 1573 | <return-value transfer-ownership="none"> | |
| 1540 | 1574 | <type name="none" c:type="void"/> | |
| 1541 | 1575 | </return-value> | |
| 1542 | 1576 | <parameters> | |
| 1543 | 1577 | <parameter name="closure" transfer-ownership="none"> | |
| 1544 | 1578 | <doc xml:space="preserve" | |
| 1545 | - | filename="gobject-2.0.c" | |
| 1546 | - | line="1402">the #GClosure to which the marshaller belongs</doc> | |
| 1579 | + | filename="gobject/gmarshal.c" | |
| 1580 | + | line="223">the #GClosure to which the marshaller belongs</doc> | |
| 1547 | 1581 | <type name="Closure" c:type="GClosure*"/> | |
| 1548 | 1582 | </parameter> | |
| 1549 | 1583 | <parameter name="return_value" | |
| @@ -1551,22 +1585,22 @@ denotes a flags type.</doc> | |||
| 1551 | 1585 | nullable="1" | |
| 1552 | 1586 | allow-none="1"> | |
| 1553 | 1587 | <doc xml:space="preserve" | |
| 1554 | - | filename="gobject-2.0.c" | |
| 1555 | - | line="1403">a #GValue to store the return | |
| 1588 | + | filename="gobject/gmarshal.c" | |
| 1589 | + | line="224">a #GValue to store the return | |
| 1556 | 1590 | value. May be %NULL if the callback of @closure doesn't return a | |
| 1557 | 1591 | value.</doc> | |
| 1558 | 1592 | <type name="Value" c:type="GValue*"/> | |
| 1559 | 1593 | </parameter> | |
| 1560 | 1594 | <parameter name="instance" transfer-ownership="none"> | |
| 1561 | 1595 | <doc xml:space="preserve" | |
| 1562 | - | filename="gobject-2.0.c" | |
| 1563 | - | line="1406">the instance on which the closure is invoked.</doc> | |
| 1596 | + | filename="gobject/gmarshal.c" | |
| 1597 | + | line="227">the instance on which the closure is invoked.</doc> | |
| 1564 | 1598 | <type name="TypeInstance" c:type="gpointer"/> | |
| 1565 | 1599 | </parameter> | |
| 1566 | 1600 | <parameter name="args" transfer-ownership="none"> | |
| 1567 | 1601 | <doc xml:space="preserve" | |
| 1568 | - | filename="gobject-2.0.c" | |
| 1569 | - | line="1407">va_list of arguments to be passed to the closure.</doc> | |
| 1602 | + | filename="gobject/gmarshal.c" | |
| 1603 | + | line="228">va_list of arguments to be passed to the closure.</doc> | |
| 1570 | 1604 | <type name="va_list" c:type="va_list"/> | |
| 1571 | 1605 | </parameter> | |
| 1572 | 1606 | <parameter name="marshal_data" | |
| @@ -1574,22 +1608,22 @@ denotes a flags type.</doc> | |||
| 1574 | 1608 | nullable="1" | |
| 1575 | 1609 | allow-none="1"> | |
| 1576 | 1610 | <doc xml:space="preserve" | |
| 1577 | - | filename="gobject-2.0.c" | |
| 1578 | - | line="1408">additional data specified when | |
| 1611 | + | filename="gobject/gmarshal.c" | |
| 1612 | + | line="229">additional data specified when | |
| 1579 | 1613 | registering the marshaller, see g_closure_set_marshal() and | |
| 1580 | 1614 | g_closure_set_meta_marshal()</doc> | |
| 1581 | 1615 | <type name="gpointer" c:type="gpointer"/> | |
| 1582 | 1616 | </parameter> | |
| 1583 | 1617 | <parameter name="n_params" transfer-ownership="none"> | |
| 1584 | 1618 | <doc xml:space="preserve" | |
| 1585 | - | filename="gobject-2.0.c" | |
| 1586 | - | line="1411">the length of the @param_types array</doc> | |
| 1619 | + | filename="gobject/gmarshal.c" | |
| 1620 | + | line="232">the length of the @param_types array</doc> | |
| 1587 | 1621 | <type name="gint" c:type="int"/> | |
| 1588 | 1622 | </parameter> | |
| 1589 | 1623 | <parameter name="param_types" transfer-ownership="none"> | |
| 1590 | 1624 | <doc xml:space="preserve" | |
| 1591 | - | filename="gobject-2.0.c" | |
| 1592 | - | line="1412">the #GType of each argument from | |
| 1625 | + | filename="gobject/gmarshal.c" | |
| 1626 | + | line="233">the #GType of each argument from | |
| 1593 | 1627 | @args.</doc> | |
| 1594 | 1628 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 1595 | 1629 | <type name="GType" c:type="GType"/> | |
| @@ -1600,36 +1634,38 @@ denotes a flags type.</doc> | |||
| 1600 | 1634 | <function name="marshal_VOID__BOXED" | |
| 1601 | 1635 | c:identifier="g_cclosure_marshal_VOID__BOXED"> | |
| 1602 | 1636 | <doc xml:space="preserve" | |
| 1603 | - | filename="gobject-2.0.c" | |
| 1604 | - | line="1419">A marshaller for a #GCClosure with a callback of type | |
| 1605 | - | `void (*callback) (gpointer instance, GBoxed *arg1, gpointer user_data)`.</doc> | |
| 1606 | - | <source-position filename="gmarshal.h" line="262"/> | |
| 1637 | + | filename="gobject/gmarshal.c" | |
| 1638 | + | line="1581">A #GClosureMarshal function for use with signals with a single | |
| 1639 | + | argument which is any boxed pointer type.</doc> | |
| 1640 | + | <source-position filename="gobject/gmarshal.h" line="262"/> | |
| 1607 | 1641 | <return-value transfer-ownership="none"> | |
| 1608 | 1642 | <type name="none" c:type="void"/> | |
| 1609 | 1643 | </return-value> | |
| 1610 | 1644 | <parameters> | |
| 1611 | 1645 | <parameter name="closure" transfer-ownership="none"> | |
| 1612 | 1646 | <doc xml:space="preserve" | |
| 1613 | - | filename="gobject-2.0.c" | |
| 1614 | - | line="1421">the #GClosure to which the marshaller belongs</doc> | |
| 1647 | + | filename="gobject/gmarshal.c" | |
| 1648 | + | line="1583">A #GClosure.</doc> | |
| 1615 | 1649 | <type name="Closure" c:type="GClosure*"/> | |
| 1616 | 1650 | </parameter> | |
| 1617 | 1651 | <parameter name="return_value" transfer-ownership="none"> | |
| 1618 | 1652 | <doc xml:space="preserve" | |
| 1619 | - | filename="gobject-2.0.c" | |
| 1620 | - | line="1422">ignored</doc> | |
| 1653 | + | filename="gobject/gmarshal.c" | |
| 1654 | + | line="1584">A #GValue to store the return value. May be %NULL | |
| 1655 | + | if the callback of closure doesn't return a value.</doc> | |
| 1621 | 1656 | <type name="Value" c:type="GValue*"/> | |
| 1622 | 1657 | </parameter> | |
| 1623 | 1658 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 1624 | 1659 | <doc xml:space="preserve" | |
| 1625 | - | filename="gobject-2.0.c" | |
| 1626 | - | line="1423">2</doc> | |
| 1660 | + | filename="gobject/gmarshal.c" | |
| 1661 | + | line="1586">The length of the @param_values array.</doc> | |
| 1627 | 1662 | <type name="guint" c:type="guint"/> | |
| 1628 | 1663 | </parameter> | |
| 1629 | 1664 | <parameter name="param_values" transfer-ownership="none"> | |
| 1630 | 1665 | <doc xml:space="preserve" | |
| 1631 | - | filename="gobject-2.0.c" | |
| 1632 | - | line="1424">a #GValue array holding the instance and the #GBoxed* parameter</doc> | |
| 1666 | + | filename="gobject/gmarshal.c" | |
| 1667 | + | line="1587">An array of #GValues holding the arguments | |
| 1668 | + | on which to invoke the callback of closure.</doc> | |
| 1633 | 1669 | <type name="Value" c:type="const GValue*"/> | |
| 1634 | 1670 | </parameter> | |
| 1635 | 1671 | <parameter name="invocation_hint" | |
| @@ -1637,9 +1673,9 @@ denotes a flags type.</doc> | |||
| 1637 | 1673 | nullable="1" | |
| 1638 | 1674 | allow-none="1"> | |
| 1639 | 1675 | <doc xml:space="preserve" | |
| 1640 | - | filename="gobject-2.0.c" | |
| 1641 | - | line="1425">the invocation hint given as the last argument | |
| 1642 | - | to g_closure_invoke()</doc> | |
| 1676 | + | filename="gobject/gmarshal.c" | |
| 1677 | + | line="1589">The invocation hint given as the last argument to | |
| 1678 | + | g_closure_invoke().</doc> | |
| 1643 | 1679 | <type name="gpointer" c:type="gpointer"/> | |
| 1644 | 1680 | </parameter> | |
| 1645 | 1681 | <parameter name="marshal_data" | |
| @@ -1647,8 +1683,10 @@ denotes a flags type.</doc> | |||
| 1647 | 1683 | nullable="1" | |
| 1648 | 1684 | allow-none="1"> | |
| 1649 | 1685 | <doc xml:space="preserve" | |
| 1650 | - | filename="gobject-2.0.c" | |
| 1651 | - | line="1427">additional data specified when registering the marshaller</doc> | |
| 1686 | + | filename="gobject/gmarshal.c" | |
| 1687 | + | line="1591">Additional data specified when registering the | |
| 1688 | + | marshaller, see g_closure_set_marshal() and | |
| 1689 | + | g_closure_set_meta_marshal()</doc> | |
| 1652 | 1690 | <type name="gpointer" c:type="gpointer"/> | |
| 1653 | 1691 | </parameter> | |
| 1654 | 1692 | </parameters> | |
| @@ -1657,17 +1695,17 @@ denotes a flags type.</doc> | |||
| 1657 | 1695 | c:identifier="g_cclosure_marshal_VOID__BOXEDv" | |
| 1658 | 1696 | introspectable="0"> | |
| 1659 | 1697 | <doc xml:space="preserve" | |
| 1660 | - | filename="gobject-2.0.c" | |
| 1661 | - | line="1434">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__BOXED().</doc> | |
| 1662 | - | <source-position filename="gmarshal.h" line="269"/> | |
| 1698 | + | filename="gobject/gmarshal.c" | |
| 1699 | + | line="1633">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__BOXED().</doc> | |
| 1700 | + | <source-position filename="gobject/gmarshal.h" line="269"/> | |
| 1663 | 1701 | <return-value transfer-ownership="none"> | |
| 1664 | 1702 | <type name="none" c:type="void"/> | |
| 1665 | 1703 | </return-value> | |
| 1666 | 1704 | <parameters> | |
| 1667 | 1705 | <parameter name="closure" transfer-ownership="none"> | |
| 1668 | 1706 | <doc xml:space="preserve" | |
| 1669 | - | filename="gobject-2.0.c" | |
| 1670 | - | line="1436">the #GClosure to which the marshaller belongs</doc> | |
| 1707 | + | filename="gobject/gmarshal.c" | |
| 1708 | + | line="1635">the #GClosure to which the marshaller belongs</doc> | |
| 1671 | 1709 | <type name="Closure" c:type="GClosure*"/> | |
| 1672 | 1710 | </parameter> | |
| 1673 | 1711 | <parameter name="return_value" | |
| @@ -1675,22 +1713,22 @@ denotes a flags type.</doc> | |||
| 1675 | 1713 | nullable="1" | |
| 1676 | 1714 | allow-none="1"> | |
| 1677 | 1715 | <doc xml:space="preserve" | |
| 1678 | - | filename="gobject-2.0.c" | |
| 1679 | - | line="1437">a #GValue to store the return | |
| 1716 | + | filename="gobject/gmarshal.c" | |
| 1717 | + | line="1636">a #GValue to store the return | |
| 1680 | 1718 | value. May be %NULL if the callback of @closure doesn't return a | |
| 1681 | 1719 | value.</doc> | |
| 1682 | 1720 | <type name="Value" c:type="GValue*"/> | |
| 1683 | 1721 | </parameter> | |
| 1684 | 1722 | <parameter name="instance" transfer-ownership="none"> | |
| 1685 | 1723 | <doc xml:space="preserve" | |
| 1686 | - | filename="gobject-2.0.c" | |
| 1687 | - | line="1440">the instance on which the closure is invoked.</doc> | |
| 1724 | + | filename="gobject/gmarshal.c" | |
| 1725 | + | line="1639">the instance on which the closure is invoked.</doc> | |
| 1688 | 1726 | <type name="TypeInstance" c:type="gpointer"/> | |
| 1689 | 1727 | </parameter> | |
| 1690 | 1728 | <parameter name="args" transfer-ownership="none"> | |
| 1691 | 1729 | <doc xml:space="preserve" | |
| 1692 | - | filename="gobject-2.0.c" | |
| 1693 | - | line="1441">va_list of arguments to be passed to the closure.</doc> | |
| 1730 | + | filename="gobject/gmarshal.c" | |
| 1731 | + | line="1640">va_list of arguments to be passed to the closure.</doc> | |
| 1694 | 1732 | <type name="va_list" c:type="va_list"/> | |
| 1695 | 1733 | </parameter> | |
| 1696 | 1734 | <parameter name="marshal_data" | |
| @@ -1698,22 +1736,22 @@ denotes a flags type.</doc> | |||
| 1698 | 1736 | nullable="1" | |
| 1699 | 1737 | allow-none="1"> | |
| 1700 | 1738 | <doc xml:space="preserve" | |
| 1701 | - | filename="gobject-2.0.c" | |
| 1702 | - | line="1442">additional data specified when | |
| 1739 | + | filename="gobject/gmarshal.c" | |
| 1740 | + | line="1641">additional data specified when | |
| 1703 | 1741 | registering the marshaller, see g_closure_set_marshal() and | |
| 1704 | 1742 | g_closure_set_meta_marshal()</doc> | |
| 1705 | 1743 | <type name="gpointer" c:type="gpointer"/> | |
| 1706 | 1744 | </parameter> | |
| 1707 | 1745 | <parameter name="n_params" transfer-ownership="none"> | |
| 1708 | 1746 | <doc xml:space="preserve" | |
| 1709 | - | filename="gobject-2.0.c" | |
| 1710 | - | line="1445">the length of the @param_types array</doc> | |
| 1747 | + | filename="gobject/gmarshal.c" | |
| 1748 | + | line="1644">the length of the @param_types array</doc> | |
| 1711 | 1749 | <type name="gint" c:type="int"/> | |
| 1712 | 1750 | </parameter> | |
| 1713 | 1751 | <parameter name="param_types" transfer-ownership="none"> | |
| 1714 | 1752 | <doc xml:space="preserve" | |
| 1715 | - | filename="gobject-2.0.c" | |
| 1716 | - | line="1446">the #GType of each argument from | |
| 1753 | + | filename="gobject/gmarshal.c" | |
| 1754 | + | line="1645">the #GType of each argument from | |
| 1717 | 1755 | @args.</doc> | |
| 1718 | 1756 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 1719 | 1757 | <type name="GType" c:type="GType"/> | |
| @@ -1724,36 +1762,38 @@ denotes a flags type.</doc> | |||
| 1724 | 1762 | <function name="marshal_VOID__CHAR" | |
| 1725 | 1763 | c:identifier="g_cclosure_marshal_VOID__CHAR"> | |
| 1726 | 1764 | <doc xml:space="preserve" | |
| 1727 | - | filename="gobject-2.0.c" | |
| 1728 | - | line="1453">A marshaller for a #GCClosure with a callback of type | |
| 1729 | - | `void (*callback) (gpointer instance, gchar arg1, gpointer user_data)`.</doc> | |
| 1730 | - | <source-position filename="gmarshal.h" line="58"/> | |
| 1765 | + | filename="gobject/gmarshal.c" | |
| 1766 | + | line="277">A #GClosureMarshal function for use with signals with a single | |
| 1767 | + | character argument.</doc> | |
| 1768 | + | <source-position filename="gobject/gmarshal.h" line="58"/> | |
| 1731 | 1769 | <return-value transfer-ownership="none"> | |
| 1732 | 1770 | <type name="none" c:type="void"/> | |
| 1733 | 1771 | </return-value> | |
| 1734 | 1772 | <parameters> | |
| 1735 | 1773 | <parameter name="closure" transfer-ownership="none"> | |
| 1736 | 1774 | <doc xml:space="preserve" | |
| 1737 | - | filename="gobject-2.0.c" | |
| 1738 | - | line="1455">the #GClosure to which the marshaller belongs</doc> | |
| 1775 | + | filename="gobject/gmarshal.c" | |
| 1776 | + | line="279">A #GClosure.</doc> | |
| 1739 | 1777 | <type name="Closure" c:type="GClosure*"/> | |
| 1740 | 1778 | </parameter> | |
| 1741 | 1779 | <parameter name="return_value" transfer-ownership="none"> | |
| 1742 | 1780 | <doc xml:space="preserve" | |
| 1743 | - | filename="gobject-2.0.c" | |
| 1744 | - | line="1456">ignored</doc> | |
| 1781 | + | filename="gobject/gmarshal.c" | |
| 1782 | + | line="280">A #GValue to store the return value. May be %NULL | |
| 1783 | + | if the callback of closure doesn't return a value.</doc> | |
| 1745 | 1784 | <type name="Value" c:type="GValue*"/> | |
| 1746 | 1785 | </parameter> | |
| 1747 | 1786 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 1748 | 1787 | <doc xml:space="preserve" | |
| 1749 | - | filename="gobject-2.0.c" | |
| 1750 | - | line="1457">2</doc> | |
| 1788 | + | filename="gobject/gmarshal.c" | |
| 1789 | + | line="282">The length of the @param_values array.</doc> | |
| 1751 | 1790 | <type name="guint" c:type="guint"/> | |
| 1752 | 1791 | </parameter> | |
| 1753 | 1792 | <parameter name="param_values" transfer-ownership="none"> | |
| 1754 | 1793 | <doc xml:space="preserve" | |
| 1755 | - | filename="gobject-2.0.c" | |
| 1756 | - | line="1458">a #GValue array holding the instance and the #gchar parameter</doc> | |
| 1794 | + | filename="gobject/gmarshal.c" | |
| 1795 | + | line="283">An array of #GValues holding the arguments | |
| 1796 | + | on which to invoke the callback of closure.</doc> | |
| 1757 | 1797 | <type name="Value" c:type="const GValue*"/> | |
| 1758 | 1798 | </parameter> | |
| 1759 | 1799 | <parameter name="invocation_hint" | |
| @@ -1761,9 +1801,9 @@ denotes a flags type.</doc> | |||
| 1761 | 1801 | nullable="1" | |
| 1762 | 1802 | allow-none="1"> | |
| 1763 | 1803 | <doc xml:space="preserve" | |
| 1764 | - | filename="gobject-2.0.c" | |
| 1765 | - | line="1459">the invocation hint given as the last argument | |
| 1766 | - | to g_closure_invoke()</doc> | |
| 1804 | + | filename="gobject/gmarshal.c" | |
| 1805 | + | line="285">The invocation hint given as the last argument to | |
| 1806 | + | g_closure_invoke().</doc> | |
| 1767 | 1807 | <type name="gpointer" c:type="gpointer"/> | |
| 1768 | 1808 | </parameter> | |
| 1769 | 1809 | <parameter name="marshal_data" | |
| @@ -1771,8 +1811,10 @@ denotes a flags type.</doc> | |||
| 1771 | 1811 | nullable="1" | |
| 1772 | 1812 | allow-none="1"> | |
| 1773 | 1813 | <doc xml:space="preserve" | |
| 1774 | - | filename="gobject-2.0.c" | |
| 1775 | - | line="1461">additional data specified when registering the marshaller</doc> | |
| 1814 | + | filename="gobject/gmarshal.c" | |
| 1815 | + | line="287">Additional data specified when registering the | |
| 1816 | + | marshaller, see g_closure_set_marshal() and | |
| 1817 | + | g_closure_set_meta_marshal()</doc> | |
| 1776 | 1818 | <type name="gpointer" c:type="gpointer"/> | |
| 1777 | 1819 | </parameter> | |
| 1778 | 1820 | </parameters> | |
| @@ -1781,17 +1823,17 @@ denotes a flags type.</doc> | |||
| 1781 | 1823 | c:identifier="g_cclosure_marshal_VOID__CHARv" | |
| 1782 | 1824 | introspectable="0"> | |
| 1783 | 1825 | <doc xml:space="preserve" | |
| 1784 | - | filename="gobject-2.0.c" | |
| 1785 | - | line="1468">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__CHAR().</doc> | |
| 1786 | - | <source-position filename="gmarshal.h" line="65"/> | |
| 1826 | + | filename="gobject/gmarshal.c" | |
| 1827 | + | line="329">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__CHAR().</doc> | |
| 1828 | + | <source-position filename="gobject/gmarshal.h" line="65"/> | |
| 1787 | 1829 | <return-value transfer-ownership="none"> | |
| 1788 | 1830 | <type name="none" c:type="void"/> | |
| 1789 | 1831 | </return-value> | |
| 1790 | 1832 | <parameters> | |
| 1791 | 1833 | <parameter name="closure" transfer-ownership="none"> | |
| 1792 | 1834 | <doc xml:space="preserve" | |
| 1793 | - | filename="gobject-2.0.c" | |
| 1794 | - | line="1470">the #GClosure to which the marshaller belongs</doc> | |
| 1835 | + | filename="gobject/gmarshal.c" | |
| 1836 | + | line="331">the #GClosure to which the marshaller belongs</doc> | |
| 1795 | 1837 | <type name="Closure" c:type="GClosure*"/> | |
| 1796 | 1838 | </parameter> | |
| 1797 | 1839 | <parameter name="return_value" | |
| @@ -1799,22 +1841,22 @@ denotes a flags type.</doc> | |||
| 1799 | 1841 | nullable="1" | |
| 1800 | 1842 | allow-none="1"> | |
| 1801 | 1843 | <doc xml:space="preserve" | |
| 1802 | - | filename="gobject-2.0.c" | |
| 1803 | - | line="1471">a #GValue to store the return | |
| 1844 | + | filename="gobject/gmarshal.c" | |
| 1845 | + | line="332">a #GValue to store the return | |
| 1804 | 1846 | value. May be %NULL if the callback of @closure doesn't return a | |
| 1805 | 1847 | value.</doc> | |
| 1806 | 1848 | <type name="Value" c:type="GValue*"/> | |
| 1807 | 1849 | </parameter> | |
| 1808 | 1850 | <parameter name="instance" transfer-ownership="none"> | |
| 1809 | 1851 | <doc xml:space="preserve" | |
| 1810 | - | filename="gobject-2.0.c" | |
| 1811 | - | line="1474">the instance on which the closure is invoked.</doc> | |
| 1852 | + | filename="gobject/gmarshal.c" | |
| 1853 | + | line="335">the instance on which the closure is invoked.</doc> | |
| 1812 | 1854 | <type name="TypeInstance" c:type="gpointer"/> | |
| 1813 | 1855 | </parameter> | |
| 1814 | 1856 | <parameter name="args" transfer-ownership="none"> | |
| 1815 | 1857 | <doc xml:space="preserve" | |
| 1816 | - | filename="gobject-2.0.c" | |
| 1817 | - | line="1475">va_list of arguments to be passed to the closure.</doc> | |
| 1858 | + | filename="gobject/gmarshal.c" | |
| 1859 | + | line="336">va_list of arguments to be passed to the closure.</doc> | |
| 1818 | 1860 | <type name="va_list" c:type="va_list"/> | |
| 1819 | 1861 | </parameter> | |
| 1820 | 1862 | <parameter name="marshal_data" | |
| @@ -1822,22 +1864,22 @@ denotes a flags type.</doc> | |||
| 1822 | 1864 | nullable="1" | |
| 1823 | 1865 | allow-none="1"> | |
| 1824 | 1866 | <doc xml:space="preserve" | |
| 1825 | - | filename="gobject-2.0.c" | |
| 1826 | - | line="1476">additional data specified when | |
| 1867 | + | filename="gobject/gmarshal.c" | |
| 1868 | + | line="337">additional data specified when | |
| 1827 | 1869 | registering the marshaller, see g_closure_set_marshal() and | |
| 1828 | 1870 | g_closure_set_meta_marshal()</doc> | |
| 1829 | 1871 | <type name="gpointer" c:type="gpointer"/> | |
| 1830 | 1872 | </parameter> | |
| 1831 | 1873 | <parameter name="n_params" transfer-ownership="none"> | |
| 1832 | 1874 | <doc xml:space="preserve" | |
| 1833 | - | filename="gobject-2.0.c" | |
| 1834 | - | line="1479">the length of the @param_types array</doc> | |
| 1875 | + | filename="gobject/gmarshal.c" | |
| 1876 | + | line="340">the length of the @param_types array</doc> | |
| 1835 | 1877 | <type name="gint" c:type="int"/> | |
| 1836 | 1878 | </parameter> | |
| 1837 | 1879 | <parameter name="param_types" transfer-ownership="none"> | |
| 1838 | 1880 | <doc xml:space="preserve" | |
| 1839 | - | filename="gobject-2.0.c" | |
| 1840 | - | line="1480">the #GType of each argument from | |
| 1881 | + | filename="gobject/gmarshal.c" | |
| 1882 | + | line="341">the #GType of each argument from | |
| 1841 | 1883 | @args.</doc> | |
| 1842 | 1884 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 1843 | 1885 | <type name="GType" c:type="GType"/> | |
| @@ -1848,36 +1890,38 @@ denotes a flags type.</doc> | |||
| 1848 | 1890 | <function name="marshal_VOID__DOUBLE" | |
| 1849 | 1891 | c:identifier="g_cclosure_marshal_VOID__DOUBLE"> | |
| 1850 | 1892 | <doc xml:space="preserve" | |
| 1851 | - | filename="gobject-2.0.c" | |
| 1852 | - | line="1487">A marshaller for a #GCClosure with a callback of type | |
| 1853 | - | `void (*callback) (gpointer instance, gdouble arg1, gpointer user_data)`.</doc> | |
| 1854 | - | <source-position filename="gmarshal.h" line="211"/> | |
| 1893 | + | filename="gobject/gmarshal.c" | |
| 1894 | + | line="1249">A #GClosureMarshal function for use with signals with one | |
| 1895 | + | double-precision floating point argument.</doc> | |
| 1896 | + | <source-position filename="gobject/gmarshal.h" line="211"/> | |
| 1855 | 1897 | <return-value transfer-ownership="none"> | |
| 1856 | 1898 | <type name="none" c:type="void"/> | |
| 1857 | 1899 | </return-value> | |
| 1858 | 1900 | <parameters> | |
| 1859 | 1901 | <parameter name="closure" transfer-ownership="none"> | |
| 1860 | 1902 | <doc xml:space="preserve" | |
| 1861 | - | filename="gobject-2.0.c" | |
| 1862 | - | line="1489">the #GClosure to which the marshaller belongs</doc> | |
| 1903 | + | filename="gobject/gmarshal.c" | |
| 1904 | + | line="1251">A #GClosure.</doc> | |
| 1863 | 1905 | <type name="Closure" c:type="GClosure*"/> | |
| 1864 | 1906 | </parameter> | |
| 1865 | 1907 | <parameter name="return_value" transfer-ownership="none"> | |
| 1866 | 1908 | <doc xml:space="preserve" | |
| 1867 | - | filename="gobject-2.0.c" | |
| 1868 | - | line="1490">ignored</doc> | |
| 1909 | + | filename="gobject/gmarshal.c" | |
| 1910 | + | line="1252">A #GValue to store the return value. May be %NULL | |
| 1911 | + | if the callback of closure doesn't return a value.</doc> | |
| 1869 | 1912 | <type name="Value" c:type="GValue*"/> | |
| 1870 | 1913 | </parameter> | |
| 1871 | 1914 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 1872 | 1915 | <doc xml:space="preserve" | |
| 1873 | - | filename="gobject-2.0.c" | |
| 1874 | - | line="1491">2</doc> | |
| 1916 | + | filename="gobject/gmarshal.c" | |
| 1917 | + | line="1254">The length of the @param_values array.</doc> | |
| 1875 | 1918 | <type name="guint" c:type="guint"/> | |
| 1876 | 1919 | </parameter> | |
| 1877 | 1920 | <parameter name="param_values" transfer-ownership="none"> | |
| 1878 | 1921 | <doc xml:space="preserve" | |
| 1879 | - | filename="gobject-2.0.c" | |
| 1880 | - | line="1492">a #GValue array holding the instance and the #gdouble parameter</doc> | |
| 1922 | + | filename="gobject/gmarshal.c" | |
| 1923 | + | line="1255">An array of #GValues holding the arguments | |
| 1924 | + | on which to invoke the callback of closure.</doc> | |
| 1881 | 1925 | <type name="Value" c:type="const GValue*"/> | |
| 1882 | 1926 | </parameter> | |
| 1883 | 1927 | <parameter name="invocation_hint" | |
| @@ -1885,9 +1929,9 @@ denotes a flags type.</doc> | |||
| 1885 | 1929 | nullable="1" | |
| 1886 | 1930 | allow-none="1"> | |
| 1887 | 1931 | <doc xml:space="preserve" | |
| 1888 | - | filename="gobject-2.0.c" | |
| 1889 | - | line="1493">the invocation hint given as the last argument | |
| 1890 | - | to g_closure_invoke()</doc> | |
| 1932 | + | filename="gobject/gmarshal.c" | |
| 1933 | + | line="1257">The invocation hint given as the last argument to | |
| 1934 | + | g_closure_invoke().</doc> | |
| 1891 | 1935 | <type name="gpointer" c:type="gpointer"/> | |
| 1892 | 1936 | </parameter> | |
| 1893 | 1937 | <parameter name="marshal_data" | |
| @@ -1895,8 +1939,10 @@ denotes a flags type.</doc> | |||
| 1895 | 1939 | nullable="1" | |
| 1896 | 1940 | allow-none="1"> | |
| 1897 | 1941 | <doc xml:space="preserve" | |
| 1898 | - | filename="gobject-2.0.c" | |
| 1899 | - | line="1495">additional data specified when registering the marshaller</doc> | |
| 1942 | + | filename="gobject/gmarshal.c" | |
| 1943 | + | line="1259">Additional data specified when registering the | |
| 1944 | + | marshaller, see g_closure_set_marshal() and | |
| 1945 | + | g_closure_set_meta_marshal()</doc> | |
| 1900 | 1946 | <type name="gpointer" c:type="gpointer"/> | |
| 1901 | 1947 | </parameter> | |
| 1902 | 1948 | </parameters> | |
| @@ -1905,17 +1951,17 @@ denotes a flags type.</doc> | |||
| 1905 | 1951 | c:identifier="g_cclosure_marshal_VOID__DOUBLEv" | |
| 1906 | 1952 | introspectable="0"> | |
| 1907 | 1953 | <doc xml:space="preserve" | |
| 1908 | - | filename="gobject-2.0.c" | |
| 1909 | - | line="1502">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__DOUBLE().</doc> | |
| 1910 | - | <source-position filename="gmarshal.h" line="218"/> | |
| 1954 | + | filename="gobject/gmarshal.c" | |
| 1955 | + | line="1301">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__DOUBLE().</doc> | |
| 1956 | + | <source-position filename="gobject/gmarshal.h" line="218"/> | |
| 1911 | 1957 | <return-value transfer-ownership="none"> | |
| 1912 | 1958 | <type name="none" c:type="void"/> | |
| 1913 | 1959 | </return-value> | |
| 1914 | 1960 | <parameters> | |
| 1915 | 1961 | <parameter name="closure" transfer-ownership="none"> | |
| 1916 | 1962 | <doc xml:space="preserve" | |
| 1917 | - | filename="gobject-2.0.c" | |
| 1918 | - | line="1504">the #GClosure to which the marshaller belongs</doc> | |
| 1963 | + | filename="gobject/gmarshal.c" | |
| 1964 | + | line="1303">the #GClosure to which the marshaller belongs</doc> | |
| 1919 | 1965 | <type name="Closure" c:type="GClosure*"/> | |
| 1920 | 1966 | </parameter> | |
| 1921 | 1967 | <parameter name="return_value" | |
| @@ -1923,22 +1969,22 @@ denotes a flags type.</doc> | |||
| 1923 | 1969 | nullable="1" | |
| 1924 | 1970 | allow-none="1"> | |
| 1925 | 1971 | <doc xml:space="preserve" | |
| 1926 | - | filename="gobject-2.0.c" | |
| 1927 | - | line="1505">a #GValue to store the return | |
| 1972 | + | filename="gobject/gmarshal.c" | |
| 1973 | + | line="1304">a #GValue to store the return | |
| 1928 | 1974 | value. May be %NULL if the callback of @closure doesn't return a | |
| 1929 | 1975 | value.</doc> | |
| 1930 | 1976 | <type name="Value" c:type="GValue*"/> | |
| 1931 | 1977 | </parameter> | |
| 1932 | 1978 | <parameter name="instance" transfer-ownership="none"> | |
| 1933 | 1979 | <doc xml:space="preserve" | |
| 1934 | - | filename="gobject-2.0.c" | |
| 1935 | - | line="1508">the instance on which the closure is invoked.</doc> | |
| 1980 | + | filename="gobject/gmarshal.c" | |
| 1981 | + | line="1307">the instance on which the closure is invoked.</doc> | |
| 1936 | 1982 | <type name="TypeInstance" c:type="gpointer"/> | |
| 1937 | 1983 | </parameter> | |
| 1938 | 1984 | <parameter name="args" transfer-ownership="none"> | |
| 1939 | 1985 | <doc xml:space="preserve" | |
| 1940 | - | filename="gobject-2.0.c" | |
| 1941 | - | line="1509">va_list of arguments to be passed to the closure.</doc> | |
| 1986 | + | filename="gobject/gmarshal.c" | |
| 1987 | + | line="1308">va_list of arguments to be passed to the closure.</doc> | |
| 1942 | 1988 | <type name="va_list" c:type="va_list"/> | |
| 1943 | 1989 | </parameter> | |
| 1944 | 1990 | <parameter name="marshal_data" | |
| @@ -1946,22 +1992,22 @@ denotes a flags type.</doc> | |||
| 1946 | 1992 | nullable="1" | |
| 1947 | 1993 | allow-none="1"> | |
| 1948 | 1994 | <doc xml:space="preserve" | |
| 1949 | - | filename="gobject-2.0.c" | |
| 1950 | - | line="1510">additional data specified when | |
| 1995 | + | filename="gobject/gmarshal.c" | |
| 1996 | + | line="1309">additional data specified when | |
| 1951 | 1997 | registering the marshaller, see g_closure_set_marshal() and | |
| 1952 | 1998 | g_closure_set_meta_marshal()</doc> | |
| 1953 | 1999 | <type name="gpointer" c:type="gpointer"/> | |
| 1954 | 2000 | </parameter> | |
| 1955 | 2001 | <parameter name="n_params" transfer-ownership="none"> | |
| 1956 | 2002 | <doc xml:space="preserve" | |
| 1957 | - | filename="gobject-2.0.c" | |
| 1958 | - | line="1513">the length of the @param_types array</doc> | |
| 2003 | + | filename="gobject/gmarshal.c" | |
| 2004 | + | line="1312">the length of the @param_types array</doc> | |
| 1959 | 2005 | <type name="gint" c:type="int"/> | |
| 1960 | 2006 | </parameter> | |
| 1961 | 2007 | <parameter name="param_types" transfer-ownership="none"> | |
| 1962 | 2008 | <doc xml:space="preserve" | |
| 1963 | - | filename="gobject-2.0.c" | |
| 1964 | - | line="1514">the #GType of each argument from | |
| 2009 | + | filename="gobject/gmarshal.c" | |
| 2010 | + | line="1313">the #GType of each argument from | |
| 1965 | 2011 | @args.</doc> | |
| 1966 | 2012 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 1967 | 2013 | <type name="GType" c:type="GType"/> | |
| @@ -1972,36 +2018,38 @@ denotes a flags type.</doc> | |||
| 1972 | 2018 | <function name="marshal_VOID__ENUM" | |
| 1973 | 2019 | c:identifier="g_cclosure_marshal_VOID__ENUM"> | |
| 1974 | 2020 | <doc xml:space="preserve" | |
| 1975 | - | filename="gobject-2.0.c" | |
| 1976 | - | line="1521">A marshaller for a #GCClosure with a callback of type | |
| 1977 | - | `void (*callback) (gpointer instance, gint arg1, gpointer user_data)` where the #gint parameter denotes an enumeration type..</doc> | |
| 1978 | - | <source-position filename="gmarshal.h" line="160"/> | |
| 2021 | + | filename="gobject/gmarshal.c" | |
| 2022 | + | line="925">A #GClosureMarshal function for use with signals with a single | |
| 2023 | + | argument with an enumerated type.</doc> | |
| 2024 | + | <source-position filename="gobject/gmarshal.h" line="160"/> | |
| 1979 | 2025 | <return-value transfer-ownership="none"> | |
| 1980 | 2026 | <type name="none" c:type="void"/> | |
| 1981 | 2027 | </return-value> | |
| 1982 | 2028 | <parameters> | |
| 1983 | 2029 | <parameter name="closure" transfer-ownership="none"> | |
| 1984 | 2030 | <doc xml:space="preserve" | |
| 1985 | - | filename="gobject-2.0.c" | |
| 1986 | - | line="1523">the #GClosure to which the marshaller belongs</doc> | |
| 2031 | + | filename="gobject/gmarshal.c" | |
| 2032 | + | line="927">A #GClosure.</doc> | |
| 1987 | 2033 | <type name="Closure" c:type="GClosure*"/> | |
| 1988 | 2034 | </parameter> | |
| 1989 | 2035 | <parameter name="return_value" transfer-ownership="none"> | |
| 1990 | 2036 | <doc xml:space="preserve" | |
| 1991 | - | filename="gobject-2.0.c" | |
| 1992 | - | line="1524">ignored</doc> | |
| 2037 | + | filename="gobject/gmarshal.c" | |
| 2038 | + | line="928">A #GValue to store the return value. May be %NULL | |
| 2039 | + | if the callback of closure doesn't return a value.</doc> | |
| 1993 | 2040 | <type name="Value" c:type="GValue*"/> | |
| 1994 | 2041 | </parameter> | |
| 1995 | 2042 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 1996 | 2043 | <doc xml:space="preserve" | |
| 1997 | - | filename="gobject-2.0.c" | |
| 1998 | - | line="1525">2</doc> | |
| 2044 | + | filename="gobject/gmarshal.c" | |
| 2045 | + | line="930">The length of the @param_values array.</doc> | |
| 1999 | 2046 | <type name="guint" c:type="guint"/> | |
| 2000 | 2047 | </parameter> | |
| 2001 | 2048 | <parameter name="param_values" transfer-ownership="none"> | |
| 2002 | 2049 | <doc xml:space="preserve" | |
| 2003 | - | filename="gobject-2.0.c" | |
| 2004 | - | line="1526">a #GValue array holding the instance and the enumeration parameter</doc> | |
| 2050 | + | filename="gobject/gmarshal.c" | |
| 2051 | + | line="931">An array of #GValues holding the arguments | |
| 2052 | + | on which to invoke the callback of closure.</doc> | |
| 2005 | 2053 | <type name="Value" c:type="const GValue*"/> | |
| 2006 | 2054 | </parameter> | |
| 2007 | 2055 | <parameter name="invocation_hint" | |
| @@ -2009,9 +2057,9 @@ denotes a flags type.</doc> | |||
| 2009 | 2057 | nullable="1" | |
| 2010 | 2058 | allow-none="1"> | |
| 2011 | 2059 | <doc xml:space="preserve" | |
| 2012 | - | filename="gobject-2.0.c" | |
| 2013 | - | line="1527">the invocation hint given as the last argument | |
| 2014 | - | to g_closure_invoke()</doc> | |
| 2060 | + | filename="gobject/gmarshal.c" | |
| 2061 | + | line="933">The invocation hint given as the last argument to | |
| 2062 | + | g_closure_invoke().</doc> | |
| 2015 | 2063 | <type name="gpointer" c:type="gpointer"/> | |
| 2016 | 2064 | </parameter> | |
| 2017 | 2065 | <parameter name="marshal_data" | |
| @@ -2019,8 +2067,10 @@ denotes a flags type.</doc> | |||
| 2019 | 2067 | nullable="1" | |
| 2020 | 2068 | allow-none="1"> | |
| 2021 | 2069 | <doc xml:space="preserve" | |
| 2022 | - | filename="gobject-2.0.c" | |
| 2023 | - | line="1529">additional data specified when registering the marshaller</doc> | |
| 2070 | + | filename="gobject/gmarshal.c" | |
| 2071 | + | line="935">Additional data specified when registering the | |
| 2072 | + | marshaller, see g_closure_set_marshal() and | |
| 2073 | + | g_closure_set_meta_marshal()</doc> | |
| 2024 | 2074 | <type name="gpointer" c:type="gpointer"/> | |
| 2025 | 2075 | </parameter> | |
| 2026 | 2076 | </parameters> | |
| @@ -2029,17 +2079,17 @@ denotes a flags type.</doc> | |||
| 2029 | 2079 | c:identifier="g_cclosure_marshal_VOID__ENUMv" | |
| 2030 | 2080 | introspectable="0"> | |
| 2031 | 2081 | <doc xml:space="preserve" | |
| 2032 | - | filename="gobject-2.0.c" | |
| 2033 | - | line="1536">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__ENUM().</doc> | |
| 2034 | - | <source-position filename="gmarshal.h" line="167"/> | |
| 2082 | + | filename="gobject/gmarshal.c" | |
| 2083 | + | line="977">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__ENUM().</doc> | |
| 2084 | + | <source-position filename="gobject/gmarshal.h" line="167"/> | |
| 2035 | 2085 | <return-value transfer-ownership="none"> | |
| 2036 | 2086 | <type name="none" c:type="void"/> | |
| 2037 | 2087 | </return-value> | |
| 2038 | 2088 | <parameters> | |
| 2039 | 2089 | <parameter name="closure" transfer-ownership="none"> | |
| 2040 | 2090 | <doc xml:space="preserve" | |
| 2041 | - | filename="gobject-2.0.c" | |
| 2042 | - | line="1538">the #GClosure to which the marshaller belongs</doc> | |
| 2091 | + | filename="gobject/gmarshal.c" | |
| 2092 | + | line="979">the #GClosure to which the marshaller belongs</doc> | |
| 2043 | 2093 | <type name="Closure" c:type="GClosure*"/> | |
| 2044 | 2094 | </parameter> | |
| 2045 | 2095 | <parameter name="return_value" | |
| @@ -2047,22 +2097,22 @@ denotes a flags type.</doc> | |||
| 2047 | 2097 | nullable="1" | |
| 2048 | 2098 | allow-none="1"> | |
| 2049 | 2099 | <doc xml:space="preserve" | |
| 2050 | - | filename="gobject-2.0.c" | |
| 2051 | - | line="1539">a #GValue to store the return | |
| 2100 | + | filename="gobject/gmarshal.c" | |
| 2101 | + | line="980">a #GValue to store the return | |
| 2052 | 2102 | value. May be %NULL if the callback of @closure doesn't return a | |
| 2053 | 2103 | value.</doc> | |
| 2054 | 2104 | <type name="Value" c:type="GValue*"/> | |
| 2055 | 2105 | </parameter> | |
| 2056 | 2106 | <parameter name="instance" transfer-ownership="none"> | |
| 2057 | 2107 | <doc xml:space="preserve" | |
| 2058 | - | filename="gobject-2.0.c" | |
| 2059 | - | line="1542">the instance on which the closure is invoked.</doc> | |
| 2108 | + | filename="gobject/gmarshal.c" | |
| 2109 | + | line="983">the instance on which the closure is invoked.</doc> | |
| 2060 | 2110 | <type name="TypeInstance" c:type="gpointer"/> | |
| 2061 | 2111 | </parameter> | |
| 2062 | 2112 | <parameter name="args" transfer-ownership="none"> | |
| 2063 | 2113 | <doc xml:space="preserve" | |
| 2064 | - | filename="gobject-2.0.c" | |
| 2065 | - | line="1543">va_list of arguments to be passed to the closure.</doc> | |
| 2114 | + | filename="gobject/gmarshal.c" | |
| 2115 | + | line="984">va_list of arguments to be passed to the closure.</doc> | |
| 2066 | 2116 | <type name="va_list" c:type="va_list"/> | |
| 2067 | 2117 | </parameter> | |
| 2068 | 2118 | <parameter name="marshal_data" | |
| @@ -2070,22 +2120,22 @@ denotes a flags type.</doc> | |||
| 2070 | 2120 | nullable="1" | |
| 2071 | 2121 | allow-none="1"> | |
| 2072 | 2122 | <doc xml:space="preserve" | |
| 2073 | - | filename="gobject-2.0.c" | |
| 2074 | - | line="1544">additional data specified when | |
| 2123 | + | filename="gobject/gmarshal.c" | |
| 2124 | + | line="985">additional data specified when | |
| 2075 | 2125 | registering the marshaller, see g_closure_set_marshal() and | |
| 2076 | 2126 | g_closure_set_meta_marshal()</doc> | |
| 2077 | 2127 | <type name="gpointer" c:type="gpointer"/> | |
| 2078 | 2128 | </parameter> | |
| 2079 | 2129 | <parameter name="n_params" transfer-ownership="none"> | |
| 2080 | 2130 | <doc xml:space="preserve" | |
| 2081 | - | filename="gobject-2.0.c" | |
| 2082 | - | line="1547">the length of the @param_types array</doc> | |
| 2131 | + | filename="gobject/gmarshal.c" | |
| 2132 | + | line="988">the length of the @param_types array</doc> | |
| 2083 | 2133 | <type name="gint" c:type="int"/> | |
| 2084 | 2134 | </parameter> | |
| 2085 | 2135 | <parameter name="param_types" transfer-ownership="none"> | |
| 2086 | 2136 | <doc xml:space="preserve" | |
| 2087 | - | filename="gobject-2.0.c" | |
| 2088 | - | line="1548">the #GType of each argument from | |
| 2137 | + | filename="gobject/gmarshal.c" | |
| 2138 | + | line="989">the #GType of each argument from | |
| 2089 | 2139 | @args.</doc> | |
| 2090 | 2140 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 2091 | 2141 | <type name="GType" c:type="GType"/> | |
| @@ -2096,36 +2146,38 @@ denotes a flags type.</doc> | |||
| 2096 | 2146 | <function name="marshal_VOID__FLAGS" | |
| 2097 | 2147 | c:identifier="g_cclosure_marshal_VOID__FLAGS"> | |
| 2098 | 2148 | <doc xml:space="preserve" | |
| 2099 | - | filename="gobject-2.0.c" | |
| 2100 | - | line="1555">A marshaller for a #GCClosure with a callback of type | |
| 2101 | - | `void (*callback) (gpointer instance, gint arg1, gpointer user_data)` where the #gint parameter denotes a flags type.</doc> | |
| 2102 | - | <source-position filename="gmarshal.h" line="177"/> | |
| 2149 | + | filename="gobject/gmarshal.c" | |
| 2150 | + | line="1033">A #GClosureMarshal function for use with signals with a single | |
| 2151 | + | argument with a flags types.</doc> | |
| 2152 | + | <source-position filename="gobject/gmarshal.h" line="177"/> | |
| 2103 | 2153 | <return-value transfer-ownership="none"> | |
| 2104 | 2154 | <type name="none" c:type="void"/> | |
| 2105 | 2155 | </return-value> | |
| 2106 | 2156 | <parameters> | |
| 2107 | 2157 | <parameter name="closure" transfer-ownership="none"> | |
| 2108 | 2158 | <doc xml:space="preserve" | |
| 2109 | - | filename="gobject-2.0.c" | |
| 2110 | - | line="1557">the #GClosure to which the marshaller belongs</doc> | |
| 2159 | + | filename="gobject/gmarshal.c" | |
| 2160 | + | line="1035">A #GClosure.</doc> | |
| 2111 | 2161 | <type name="Closure" c:type="GClosure*"/> | |
| 2112 | 2162 | </parameter> | |
| 2113 | 2163 | <parameter name="return_value" transfer-ownership="none"> | |
| 2114 | 2164 | <doc xml:space="preserve" | |
| 2115 | - | filename="gobject-2.0.c" | |
| 2116 | - | line="1558">ignored</doc> | |
| 2165 | + | filename="gobject/gmarshal.c" | |
| 2166 | + | line="1036">A #GValue to store the return value. May be %NULL | |
| 2167 | + | if the callback of closure doesn't return a value.</doc> | |
| 2117 | 2168 | <type name="Value" c:type="GValue*"/> | |
| 2118 | 2169 | </parameter> | |
| 2119 | 2170 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 2120 | 2171 | <doc xml:space="preserve" | |
| 2121 | - | filename="gobject-2.0.c" | |
| 2122 | - | line="1559">2</doc> | |
| 2172 | + | filename="gobject/gmarshal.c" | |
| 2173 | + | line="1038">The length of the @param_values array.</doc> | |
| 2123 | 2174 | <type name="guint" c:type="guint"/> | |
| 2124 | 2175 | </parameter> | |
| 2125 | 2176 | <parameter name="param_values" transfer-ownership="none"> | |
| 2126 | 2177 | <doc xml:space="preserve" | |
| 2127 | - | filename="gobject-2.0.c" | |
| 2128 | - | line="1560">a #GValue array holding the instance and the flags parameter</doc> | |
| 2178 | + | filename="gobject/gmarshal.c" | |
| 2179 | + | line="1039">An array of #GValues holding the arguments | |
| 2180 | + | on which to invoke the callback of closure.</doc> | |
| 2129 | 2181 | <type name="Value" c:type="const GValue*"/> | |
| 2130 | 2182 | </parameter> | |
| 2131 | 2183 | <parameter name="invocation_hint" | |
| @@ -2133,9 +2185,9 @@ denotes a flags type.</doc> | |||
| 2133 | 2185 | nullable="1" | |
| 2134 | 2186 | allow-none="1"> | |
| 2135 | 2187 | <doc xml:space="preserve" | |
| 2136 | - | filename="gobject-2.0.c" | |
| 2137 | - | line="1561">the invocation hint given as the last argument | |
| 2138 | - | to g_closure_invoke()</doc> | |
| 2188 | + | filename="gobject/gmarshal.c" | |
| 2189 | + | line="1041">The invocation hint given as the last argument to | |
| 2190 | + | g_closure_invoke().</doc> | |
| 2139 | 2191 | <type name="gpointer" c:type="gpointer"/> | |
| 2140 | 2192 | </parameter> | |
| 2141 | 2193 | <parameter name="marshal_data" | |
| @@ -2143,8 +2195,10 @@ denotes a flags type.</doc> | |||
| 2143 | 2195 | nullable="1" | |
| 2144 | 2196 | allow-none="1"> | |
| 2145 | 2197 | <doc xml:space="preserve" | |
| 2146 | - | filename="gobject-2.0.c" | |
| 2147 | - | line="1563">additional data specified when registering the marshaller</doc> | |
| 2198 | + | filename="gobject/gmarshal.c" | |
| 2199 | + | line="1043">Additional data specified when registering the | |
| 2200 | + | marshaller, see g_closure_set_marshal() and | |
| 2201 | + | g_closure_set_meta_marshal()</doc> | |
| 2148 | 2202 | <type name="gpointer" c:type="gpointer"/> | |
| 2149 | 2203 | </parameter> | |
| 2150 | 2204 | </parameters> | |
| @@ -2153,17 +2207,17 @@ denotes a flags type.</doc> | |||
| 2153 | 2207 | c:identifier="g_cclosure_marshal_VOID__FLAGSv" | |
| 2154 | 2208 | introspectable="0"> | |
| 2155 | 2209 | <doc xml:space="preserve" | |
| 2156 | - | filename="gobject-2.0.c" | |
| 2157 | - | line="1570">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__FLAGS().</doc> | |
| 2158 | - | <source-position filename="gmarshal.h" line="184"/> | |
| 2210 | + | filename="gobject/gmarshal.c" | |
| 2211 | + | line="1085">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__FLAGS().</doc> | |
| 2212 | + | <source-position filename="gobject/gmarshal.h" line="184"/> | |
| 2159 | 2213 | <return-value transfer-ownership="none"> | |
| 2160 | 2214 | <type name="none" c:type="void"/> | |
| 2161 | 2215 | </return-value> | |
| 2162 | 2216 | <parameters> | |
| 2163 | 2217 | <parameter name="closure" transfer-ownership="none"> | |
| 2164 | 2218 | <doc xml:space="preserve" | |
| 2165 | - | filename="gobject-2.0.c" | |
| 2166 | - | line="1572">the #GClosure to which the marshaller belongs</doc> | |
| 2219 | + | filename="gobject/gmarshal.c" | |
| 2220 | + | line="1087">the #GClosure to which the marshaller belongs</doc> | |
| 2167 | 2221 | <type name="Closure" c:type="GClosure*"/> | |
| 2168 | 2222 | </parameter> | |
| 2169 | 2223 | <parameter name="return_value" | |
| @@ -2171,22 +2225,22 @@ denotes a flags type.</doc> | |||
| 2171 | 2225 | nullable="1" | |
| 2172 | 2226 | allow-none="1"> | |
| 2173 | 2227 | <doc xml:space="preserve" | |
| 2174 | - | filename="gobject-2.0.c" | |
| 2175 | - | line="1573">a #GValue to store the return | |
| 2228 | + | filename="gobject/gmarshal.c" | |
| 2229 | + | line="1088">a #GValue to store the return | |
| 2176 | 2230 | value. May be %NULL if the callback of @closure doesn't return a | |
| 2177 | 2231 | value.</doc> | |
| 2178 | 2232 | <type name="Value" c:type="GValue*"/> | |
| 2179 | 2233 | </parameter> | |
| 2180 | 2234 | <parameter name="instance" transfer-ownership="none"> | |
| 2181 | 2235 | <doc xml:space="preserve" | |
| 2182 | - | filename="gobject-2.0.c" | |
| 2183 | - | line="1576">the instance on which the closure is invoked.</doc> | |
| 2236 | + | filename="gobject/gmarshal.c" | |
| 2237 | + | line="1091">the instance on which the closure is invoked.</doc> | |
| 2184 | 2238 | <type name="TypeInstance" c:type="gpointer"/> | |
| 2185 | 2239 | </parameter> | |
| 2186 | 2240 | <parameter name="args" transfer-ownership="none"> | |
| 2187 | 2241 | <doc xml:space="preserve" | |
| 2188 | - | filename="gobject-2.0.c" | |
| 2189 | - | line="1577">va_list of arguments to be passed to the closure.</doc> | |
| 2242 | + | filename="gobject/gmarshal.c" | |
| 2243 | + | line="1092">va_list of arguments to be passed to the closure.</doc> | |
| 2190 | 2244 | <type name="va_list" c:type="va_list"/> | |
| 2191 | 2245 | </parameter> | |
| 2192 | 2246 | <parameter name="marshal_data" | |
| @@ -2194,22 +2248,22 @@ denotes a flags type.</doc> | |||
| 2194 | 2248 | nullable="1" | |
| 2195 | 2249 | allow-none="1"> | |
| 2196 | 2250 | <doc xml:space="preserve" | |
| 2197 | - | filename="gobject-2.0.c" | |
| 2198 | - | line="1578">additional data specified when | |
| 2251 | + | filename="gobject/gmarshal.c" | |
| 2252 | + | line="1093">additional data specified when | |
| 2199 | 2253 | registering the marshaller, see g_closure_set_marshal() and | |
| 2200 | 2254 | g_closure_set_meta_marshal()</doc> | |
| 2201 | 2255 | <type name="gpointer" c:type="gpointer"/> | |
| 2202 | 2256 | </parameter> | |
| 2203 | 2257 | <parameter name="n_params" transfer-ownership="none"> | |
| 2204 | 2258 | <doc xml:space="preserve" | |
| 2205 | - | filename="gobject-2.0.c" | |
| 2206 | - | line="1581">the length of the @param_types array</doc> | |
| 2259 | + | filename="gobject/gmarshal.c" | |
| 2260 | + | line="1096">the length of the @param_types array</doc> | |
| 2207 | 2261 | <type name="gint" c:type="int"/> | |
| 2208 | 2262 | </parameter> | |
| 2209 | 2263 | <parameter name="param_types" transfer-ownership="none"> | |
| 2210 | 2264 | <doc xml:space="preserve" | |
| 2211 | - | filename="gobject-2.0.c" | |
| 2212 | - | line="1582">the #GType of each argument from | |
| 2265 | + | filename="gobject/gmarshal.c" | |
| 2266 | + | line="1097">the #GType of each argument from | |
| 2213 | 2267 | @args.</doc> | |
| 2214 | 2268 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 2215 | 2269 | <type name="GType" c:type="GType"/> | |
| @@ -2220,36 +2274,38 @@ denotes a flags type.</doc> | |||
| 2220 | 2274 | <function name="marshal_VOID__FLOAT" | |
| 2221 | 2275 | c:identifier="g_cclosure_marshal_VOID__FLOAT"> | |
| 2222 | 2276 | <doc xml:space="preserve" | |
| 2223 | - | filename="gobject-2.0.c" | |
| 2224 | - | line="1589">A marshaller for a #GCClosure with a callback of type | |
| 2225 | - | `void (*callback) (gpointer instance, gfloat arg1, gpointer user_data)`.</doc> | |
| 2226 | - | <source-position filename="gmarshal.h" line="194"/> | |
| 2277 | + | filename="gobject/gmarshal.c" | |
| 2278 | + | line="1141">A #GClosureMarshal function for use with signals with one | |
| 2279 | + | single-precision floating point argument.</doc> | |
| 2280 | + | <source-position filename="gobject/gmarshal.h" line="194"/> | |
| 2227 | 2281 | <return-value transfer-ownership="none"> | |
| 2228 | 2282 | <type name="none" c:type="void"/> | |
| 2229 | 2283 | </return-value> | |
| 2230 | 2284 | <parameters> | |
| 2231 | 2285 | <parameter name="closure" transfer-ownership="none"> | |
| 2232 | 2286 | <doc xml:space="preserve" | |
| 2233 | - | filename="gobject-2.0.c" | |
| 2234 | - | line="1591">the #GClosure to which the marshaller belongs</doc> | |
| 2287 | + | filename="gobject/gmarshal.c" | |
| 2288 | + | line="1143">A #GClosure.</doc> | |
| 2235 | 2289 | <type name="Closure" c:type="GClosure*"/> | |
| 2236 | 2290 | </parameter> | |
| 2237 | 2291 | <parameter name="return_value" transfer-ownership="none"> | |
| 2238 | 2292 | <doc xml:space="preserve" | |
| 2239 | - | filename="gobject-2.0.c" | |
| 2240 | - | line="1592">ignored</doc> | |
| 2293 | + | filename="gobject/gmarshal.c" | |
| 2294 | + | line="1144">A #GValue to store the return value. May be %NULL | |
| 2295 | + | if the callback of closure doesn't return a value.</doc> | |
| 2241 | 2296 | <type name="Value" c:type="GValue*"/> | |
| 2242 | 2297 | </parameter> | |
| 2243 | 2298 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 2244 | 2299 | <doc xml:space="preserve" | |
| 2245 | - | filename="gobject-2.0.c" | |
| 2246 | - | line="1593">2</doc> | |
| 2300 | + | filename="gobject/gmarshal.c" | |
| 2301 | + | line="1146">The length of the @param_values array.</doc> | |
| 2247 | 2302 | <type name="guint" c:type="guint"/> | |
| 2248 | 2303 | </parameter> | |
| 2249 | 2304 | <parameter name="param_values" transfer-ownership="none"> | |
| 2250 | 2305 | <doc xml:space="preserve" | |
| 2251 | - | filename="gobject-2.0.c" | |
| 2252 | - | line="1594">a #GValue array holding the instance and the #gfloat parameter</doc> | |
| 2306 | + | filename="gobject/gmarshal.c" | |
| 2307 | + | line="1147">An array of #GValues holding the arguments | |
| 2308 | + | on which to invoke the callback of closure.</doc> | |
| 2253 | 2309 | <type name="Value" c:type="const GValue*"/> | |
| 2254 | 2310 | </parameter> | |
| 2255 | 2311 | <parameter name="invocation_hint" | |
| @@ -2257,9 +2313,9 @@ denotes a flags type.</doc> | |||
| 2257 | 2313 | nullable="1" | |
| 2258 | 2314 | allow-none="1"> | |
| 2259 | 2315 | <doc xml:space="preserve" | |
| 2260 | - | filename="gobject-2.0.c" | |
| 2261 | - | line="1595">the invocation hint given as the last argument | |
| 2262 | - | to g_closure_invoke()</doc> | |
| 2316 | + | filename="gobject/gmarshal.c" | |
| 2317 | + | line="1149">The invocation hint given as the last argument to | |
| 2318 | + | g_closure_invoke().</doc> | |
| 2263 | 2319 | <type name="gpointer" c:type="gpointer"/> | |
| 2264 | 2320 | </parameter> | |
| 2265 | 2321 | <parameter name="marshal_data" | |
| @@ -2267,8 +2323,10 @@ denotes a flags type.</doc> | |||
| 2267 | 2323 | nullable="1" | |
| 2268 | 2324 | allow-none="1"> | |
| 2269 | 2325 | <doc xml:space="preserve" | |
| 2270 | - | filename="gobject-2.0.c" | |
| 2271 | - | line="1597">additional data specified when registering the marshaller</doc> | |
| 2326 | + | filename="gobject/gmarshal.c" | |
| 2327 | + | line="1151">Additional data specified when registering the | |
| 2328 | + | marshaller, see g_closure_set_marshal() and | |
| 2329 | + | g_closure_set_meta_marshal()</doc> | |
| 2272 | 2330 | <type name="gpointer" c:type="gpointer"/> | |
| 2273 | 2331 | </parameter> | |
| 2274 | 2332 | </parameters> | |
| @@ -2277,17 +2335,17 @@ denotes a flags type.</doc> | |||
| 2277 | 2335 | c:identifier="g_cclosure_marshal_VOID__FLOATv" | |
| 2278 | 2336 | introspectable="0"> | |
| 2279 | 2337 | <doc xml:space="preserve" | |
| 2280 | - | filename="gobject-2.0.c" | |
| 2281 | - | line="1604">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__FLOAT().</doc> | |
| 2282 | - | <source-position filename="gmarshal.h" line="201"/> | |
| 2338 | + | filename="gobject/gmarshal.c" | |
| 2339 | + | line="1193">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__FLOAT().</doc> | |
| 2340 | + | <source-position filename="gobject/gmarshal.h" line="201"/> | |
| 2283 | 2341 | <return-value transfer-ownership="none"> | |
| 2284 | 2342 | <type name="none" c:type="void"/> | |
| 2285 | 2343 | </return-value> | |
| 2286 | 2344 | <parameters> | |
| 2287 | 2345 | <parameter name="closure" transfer-ownership="none"> | |
| 2288 | 2346 | <doc xml:space="preserve" | |
| 2289 | - | filename="gobject-2.0.c" | |
| 2290 | - | line="1606">the #GClosure to which the marshaller belongs</doc> | |
| 2347 | + | filename="gobject/gmarshal.c" | |
| 2348 | + | line="1195">the #GClosure to which the marshaller belongs</doc> | |
| 2291 | 2349 | <type name="Closure" c:type="GClosure*"/> | |
| 2292 | 2350 | </parameter> | |
| 2293 | 2351 | <parameter name="return_value" | |
| @@ -2295,22 +2353,22 @@ denotes a flags type.</doc> | |||
| 2295 | 2353 | nullable="1" | |
| 2296 | 2354 | allow-none="1"> | |
| 2297 | 2355 | <doc xml:space="preserve" | |
| 2298 | - | filename="gobject-2.0.c" | |
| 2299 | - | line="1607">a #GValue to store the return | |
| 2356 | + | filename="gobject/gmarshal.c" | |
| 2357 | + | line="1196">a #GValue to store the return | |
| 2300 | 2358 | value. May be %NULL if the callback of @closure doesn't return a | |
| 2301 | 2359 | value.</doc> | |
| 2302 | 2360 | <type name="Value" c:type="GValue*"/> | |
| 2303 | 2361 | </parameter> | |
| 2304 | 2362 | <parameter name="instance" transfer-ownership="none"> | |
| 2305 | 2363 | <doc xml:space="preserve" | |
| 2306 | - | filename="gobject-2.0.c" | |
| 2307 | - | line="1610">the instance on which the closure is invoked.</doc> | |
| 2364 | + | filename="gobject/gmarshal.c" | |
| 2365 | + | line="1199">the instance on which the closure is invoked.</doc> | |
| 2308 | 2366 | <type name="TypeInstance" c:type="gpointer"/> | |
| 2309 | 2367 | </parameter> | |
| 2310 | 2368 | <parameter name="args" transfer-ownership="none"> | |
| 2311 | 2369 | <doc xml:space="preserve" | |
| 2312 | - | filename="gobject-2.0.c" | |
| 2313 | - | line="1611">va_list of arguments to be passed to the closure.</doc> | |
| 2370 | + | filename="gobject/gmarshal.c" | |
| 2371 | + | line="1200">va_list of arguments to be passed to the closure.</doc> | |
| 2314 | 2372 | <type name="va_list" c:type="va_list"/> | |
| 2315 | 2373 | </parameter> | |
| 2316 | 2374 | <parameter name="marshal_data" | |
| @@ -2318,22 +2376,22 @@ denotes a flags type.</doc> | |||
| 2318 | 2376 | nullable="1" | |
| 2319 | 2377 | allow-none="1"> | |
| 2320 | 2378 | <doc xml:space="preserve" | |
| 2321 | - | filename="gobject-2.0.c" | |
| 2322 | - | line="1612">additional data specified when | |
| 2379 | + | filename="gobject/gmarshal.c" | |
| 2380 | + | line="1201">additional data specified when | |
| 2323 | 2381 | registering the marshaller, see g_closure_set_marshal() and | |
| 2324 | 2382 | g_closure_set_meta_marshal()</doc> | |
| 2325 | 2383 | <type name="gpointer" c:type="gpointer"/> | |
| 2326 | 2384 | </parameter> | |
| 2327 | 2385 | <parameter name="n_params" transfer-ownership="none"> | |
| 2328 | 2386 | <doc xml:space="preserve" | |
| 2329 | - | filename="gobject-2.0.c" | |
| 2330 | - | line="1615">the length of the @param_types array</doc> | |
| 2387 | + | filename="gobject/gmarshal.c" | |
| 2388 | + | line="1204">the length of the @param_types array</doc> | |
| 2331 | 2389 | <type name="gint" c:type="int"/> | |
| 2332 | 2390 | </parameter> | |
| 2333 | 2391 | <parameter name="param_types" transfer-ownership="none"> | |
| 2334 | 2392 | <doc xml:space="preserve" | |
| 2335 | - | filename="gobject-2.0.c" | |
| 2336 | - | line="1616">the #GType of each argument from | |
| 2393 | + | filename="gobject/gmarshal.c" | |
| 2394 | + | line="1205">the #GType of each argument from | |
| 2337 | 2395 | @args.</doc> | |
| 2338 | 2396 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 2339 | 2397 | <type name="GType" c:type="GType"/> | |
| @@ -2344,36 +2402,38 @@ denotes a flags type.</doc> | |||
| 2344 | 2402 | <function name="marshal_VOID__INT" | |
| 2345 | 2403 | c:identifier="g_cclosure_marshal_VOID__INT"> | |
| 2346 | 2404 | <doc xml:space="preserve" | |
| 2347 | - | filename="gobject-2.0.c" | |
| 2348 | - | line="1623">A marshaller for a #GCClosure with a callback of type | |
| 2349 | - | `void (*callback) (gpointer instance, gint arg1, gpointer user_data)`.</doc> | |
| 2350 | - | <source-position filename="gmarshal.h" line="92"/> | |
| 2405 | + | filename="gobject/gmarshal.c" | |
| 2406 | + | line="493">A #GClosureMarshal function for use with signals with a single | |
| 2407 | + | integer argument.</doc> | |
| 2408 | + | <source-position filename="gobject/gmarshal.h" line="92"/> | |
| 2351 | 2409 | <return-value transfer-ownership="none"> | |
| 2352 | 2410 | <type name="none" c:type="void"/> | |
| 2353 | 2411 | </return-value> | |
| 2354 | 2412 | <parameters> | |
| 2355 | 2413 | <parameter name="closure" transfer-ownership="none"> | |
| 2356 | 2414 | <doc xml:space="preserve" | |
| 2357 | - | filename="gobject-2.0.c" | |
| 2358 | - | line="1625">the #GClosure to which the marshaller belongs</doc> | |
| 2415 | + | filename="gobject/gmarshal.c" | |
| 2416 | + | line="495">A #GClosure.</doc> | |
| 2359 | 2417 | <type name="Closure" c:type="GClosure*"/> | |
| 2360 | 2418 | </parameter> | |
| 2361 | 2419 | <parameter name="return_value" transfer-ownership="none"> | |
| 2362 | 2420 | <doc xml:space="preserve" | |
| 2363 | - | filename="gobject-2.0.c" | |
| 2364 | - | line="1626">ignored</doc> | |
| 2421 | + | filename="gobject/gmarshal.c" | |
| 2422 | + | line="496">A #GValue to store the return value. May be %NULL | |
| 2423 | + | if the callback of closure doesn't return a value.</doc> | |
| 2365 | 2424 | <type name="Value" c:type="GValue*"/> | |
| 2366 | 2425 | </parameter> | |
| 2367 | 2426 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 2368 | 2427 | <doc xml:space="preserve" | |
| 2369 | - | filename="gobject-2.0.c" | |
| 2370 | - | line="1627">2</doc> | |
| 2428 | + | filename="gobject/gmarshal.c" | |
| 2429 | + | line="498">The length of the @param_values array.</doc> | |
| 2371 | 2430 | <type name="guint" c:type="guint"/> | |
| 2372 | 2431 | </parameter> | |
| 2373 | 2432 | <parameter name="param_values" transfer-ownership="none"> | |
| 2374 | 2433 | <doc xml:space="preserve" | |
| 2375 | - | filename="gobject-2.0.c" | |
| 2376 | - | line="1628">a #GValue array holding the instance and the #gint parameter</doc> | |
| 2434 | + | filename="gobject/gmarshal.c" | |
| 2435 | + | line="499">An array of #GValues holding the arguments | |
| 2436 | + | on which to invoke the callback of closure.</doc> | |
| 2377 | 2437 | <type name="Value" c:type="const GValue*"/> | |
| 2378 | 2438 | </parameter> | |
| 2379 | 2439 | <parameter name="invocation_hint" | |
| @@ -2381,9 +2441,9 @@ denotes a flags type.</doc> | |||
| 2381 | 2441 | nullable="1" | |
| 2382 | 2442 | allow-none="1"> | |
| 2383 | 2443 | <doc xml:space="preserve" | |
| 2384 | - | filename="gobject-2.0.c" | |
| 2385 | - | line="1629">the invocation hint given as the last argument | |
| 2386 | - | to g_closure_invoke()</doc> | |
| 2444 | + | filename="gobject/gmarshal.c" | |
| 2445 | + | line="501">The invocation hint given as the last argument to | |
| 2446 | + | g_closure_invoke().</doc> | |
| 2387 | 2447 | <type name="gpointer" c:type="gpointer"/> | |
| 2388 | 2448 | </parameter> | |
| 2389 | 2449 | <parameter name="marshal_data" | |
| @@ -2391,8 +2451,10 @@ denotes a flags type.</doc> | |||
| 2391 | 2451 | nullable="1" | |
| 2392 | 2452 | allow-none="1"> | |
| 2393 | 2453 | <doc xml:space="preserve" | |
| 2394 | - | filename="gobject-2.0.c" | |
| 2395 | - | line="1631">additional data specified when registering the marshaller</doc> | |
| 2454 | + | filename="gobject/gmarshal.c" | |
| 2455 | + | line="503">Additional data specified when registering the | |
| 2456 | + | marshaller, see g_closure_set_marshal() and | |
| 2457 | + | g_closure_set_meta_marshal()</doc> | |
| 2396 | 2458 | <type name="gpointer" c:type="gpointer"/> | |
| 2397 | 2459 | </parameter> | |
| 2398 | 2460 | </parameters> | |
| @@ -2401,17 +2463,17 @@ denotes a flags type.</doc> | |||
| 2401 | 2463 | c:identifier="g_cclosure_marshal_VOID__INTv" | |
| 2402 | 2464 | introspectable="0"> | |
| 2403 | 2465 | <doc xml:space="preserve" | |
| 2404 | - | filename="gobject-2.0.c" | |
| 2405 | - | line="1638">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__INT().</doc> | |
| 2406 | - | <source-position filename="gmarshal.h" line="99"/> | |
| 2466 | + | filename="gobject/gmarshal.c" | |
| 2467 | + | line="545">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__INT().</doc> | |
| 2468 | + | <source-position filename="gobject/gmarshal.h" line="99"/> | |
| 2407 | 2469 | <return-value transfer-ownership="none"> | |
| 2408 | 2470 | <type name="none" c:type="void"/> | |
| 2409 | 2471 | </return-value> | |
| 2410 | 2472 | <parameters> | |
| 2411 | 2473 | <parameter name="closure" transfer-ownership="none"> | |
| 2412 | 2474 | <doc xml:space="preserve" | |
| 2413 | - | filename="gobject-2.0.c" | |
| 2414 | - | line="1640">the #GClosure to which the marshaller belongs</doc> | |
| 2475 | + | filename="gobject/gmarshal.c" | |
| 2476 | + | line="547">the #GClosure to which the marshaller belongs</doc> | |
| 2415 | 2477 | <type name="Closure" c:type="GClosure*"/> | |
| 2416 | 2478 | </parameter> | |
| 2417 | 2479 | <parameter name="return_value" | |
| @@ -2419,22 +2481,22 @@ denotes a flags type.</doc> | |||
| 2419 | 2481 | nullable="1" | |
| 2420 | 2482 | allow-none="1"> | |
| 2421 | 2483 | <doc xml:space="preserve" | |
| 2422 | - | filename="gobject-2.0.c" | |
| 2423 | - | line="1641">a #GValue to store the return | |
| 2484 | + | filename="gobject/gmarshal.c" | |
| 2485 | + | line="548">a #GValue to store the return | |
| 2424 | 2486 | value. May be %NULL if the callback of @closure doesn't return a | |
| 2425 | 2487 | value.</doc> | |
| 2426 | 2488 | <type name="Value" c:type="GValue*"/> | |
| 2427 | 2489 | </parameter> | |
| 2428 | 2490 | <parameter name="instance" transfer-ownership="none"> | |
| 2429 | 2491 | <doc xml:space="preserve" | |
| 2430 | - | filename="gobject-2.0.c" | |
| 2431 | - | line="1644">the instance on which the closure is invoked.</doc> | |
| 2492 | + | filename="gobject/gmarshal.c" | |
| 2493 | + | line="551">the instance on which the closure is invoked.</doc> | |
| 2432 | 2494 | <type name="TypeInstance" c:type="gpointer"/> | |
| 2433 | 2495 | </parameter> | |
| 2434 | 2496 | <parameter name="args" transfer-ownership="none"> | |
| 2435 | 2497 | <doc xml:space="preserve" | |
| 2436 | - | filename="gobject-2.0.c" | |
| 2437 | - | line="1645">va_list of arguments to be passed to the closure.</doc> | |
| 2498 | + | filename="gobject/gmarshal.c" | |
| 2499 | + | line="552">va_list of arguments to be passed to the closure.</doc> | |
| 2438 | 2500 | <type name="va_list" c:type="va_list"/> | |
| 2439 | 2501 | </parameter> | |
| 2440 | 2502 | <parameter name="marshal_data" | |
| @@ -2442,22 +2504,22 @@ denotes a flags type.</doc> | |||
| 2442 | 2504 | nullable="1" | |
| 2443 | 2505 | allow-none="1"> | |
| 2444 | 2506 | <doc xml:space="preserve" | |
| 2445 | - | filename="gobject-2.0.c" | |
| 2446 | - | line="1646">additional data specified when | |
| 2507 | + | filename="gobject/gmarshal.c" | |
| 2508 | + | line="553">additional data specified when | |
| 2447 | 2509 | registering the marshaller, see g_closure_set_marshal() and | |
| 2448 | 2510 | g_closure_set_meta_marshal()</doc> | |
| 2449 | 2511 | <type name="gpointer" c:type="gpointer"/> | |
| 2450 | 2512 | </parameter> | |
| 2451 | 2513 | <parameter name="n_params" transfer-ownership="none"> | |
| 2452 | 2514 | <doc xml:space="preserve" | |
| 2453 | - | filename="gobject-2.0.c" | |
| 2454 | - | line="1649">the length of the @param_types array</doc> | |
| 2515 | + | filename="gobject/gmarshal.c" | |
| 2516 | + | line="556">the length of the @param_types array</doc> | |
| 2455 | 2517 | <type name="gint" c:type="int"/> | |
| 2456 | 2518 | </parameter> | |
| 2457 | 2519 | <parameter name="param_types" transfer-ownership="none"> | |
| 2458 | 2520 | <doc xml:space="preserve" | |
| 2459 | - | filename="gobject-2.0.c" | |
| 2460 | - | line="1650">the #GType of each argument from | |
| 2521 | + | filename="gobject/gmarshal.c" | |
| 2522 | + | line="557">the #GType of each argument from | |
| 2461 | 2523 | @args.</doc> | |
| 2462 | 2524 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 2463 | 2525 | <type name="GType" c:type="GType"/> | |
| @@ -2468,36 +2530,38 @@ denotes a flags type.</doc> | |||
| 2468 | 2530 | <function name="marshal_VOID__LONG" | |
| 2469 | 2531 | c:identifier="g_cclosure_marshal_VOID__LONG"> | |
| 2470 | 2532 | <doc xml:space="preserve" | |
| 2471 | - | filename="gobject-2.0.c" | |
| 2472 | - | line="1657">A marshaller for a #GCClosure with a callback of type | |
| 2473 | - | `void (*callback) (gpointer instance, glong arg1, gpointer user_data)`.</doc> | |
| 2474 | - | <source-position filename="gmarshal.h" line="126"/> | |
| 2533 | + | filename="gobject/gmarshal.c" | |
| 2534 | + | line="709">A #GClosureMarshal function for use with signals with with a single | |
| 2535 | + | long integer argument.</doc> | |
| 2536 | + | <source-position filename="gobject/gmarshal.h" line="126"/> | |
| 2475 | 2537 | <return-value transfer-ownership="none"> | |
| 2476 | 2538 | <type name="none" c:type="void"/> | |
| 2477 | 2539 | </return-value> | |
| 2478 | 2540 | <parameters> | |
| 2479 | 2541 | <parameter name="closure" transfer-ownership="none"> | |
| 2480 | 2542 | <doc xml:space="preserve" | |
| 2481 | - | filename="gobject-2.0.c" | |
| 2482 | - | line="1659">the #GClosure to which the marshaller belongs</doc> | |
| 2543 | + | filename="gobject/gmarshal.c" | |
| 2544 | + | line="711">A #GClosure.</doc> | |
| 2483 | 2545 | <type name="Closure" c:type="GClosure*"/> | |
| 2484 | 2546 | </parameter> | |
| 2485 | 2547 | <parameter name="return_value" transfer-ownership="none"> | |
| 2486 | 2548 | <doc xml:space="preserve" | |
| 2487 | - | filename="gobject-2.0.c" | |
| 2488 | - | line="1660">ignored</doc> | |
| 2549 | + | filename="gobject/gmarshal.c" | |
| 2550 | + | line="712">A #GValue to store the return value. May be %NULL | |
| 2551 | + | if the callback of closure doesn't return a value.</doc> | |
| 2489 | 2552 | <type name="Value" c:type="GValue*"/> | |
| 2490 | 2553 | </parameter> | |
| 2491 | 2554 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 2492 | 2555 | <doc xml:space="preserve" | |
| 2493 | - | filename="gobject-2.0.c" | |
| 2494 | - | line="1661">2</doc> | |
| 2556 | + | filename="gobject/gmarshal.c" | |
| 2557 | + | line="714">The length of the @param_values array.</doc> | |
| 2495 | 2558 | <type name="guint" c:type="guint"/> | |
| 2496 | 2559 | </parameter> | |
| 2497 | 2560 | <parameter name="param_values" transfer-ownership="none"> | |
| 2498 | 2561 | <doc xml:space="preserve" | |
| 2499 | - | filename="gobject-2.0.c" | |
| 2500 | - | line="1662">a #GValue array holding the instance and the #glong parameter</doc> | |
| 2562 | + | filename="gobject/gmarshal.c" | |
| 2563 | + | line="715">An array of #GValues holding the arguments | |
| 2564 | + | on which to invoke the callback of closure.</doc> | |
| 2501 | 2565 | <type name="Value" c:type="const GValue*"/> | |
| 2502 | 2566 | </parameter> | |
| 2503 | 2567 | <parameter name="invocation_hint" | |
| @@ -2505,9 +2569,9 @@ denotes a flags type.</doc> | |||
| 2505 | 2569 | nullable="1" | |
| 2506 | 2570 | allow-none="1"> | |
| 2507 | 2571 | <doc xml:space="preserve" | |
| 2508 | - | filename="gobject-2.0.c" | |
| 2509 | - | line="1663">the invocation hint given as the last argument | |
| 2510 | - | to g_closure_invoke()</doc> | |
| 2572 | + | filename="gobject/gmarshal.c" | |
| 2573 | + | line="717">The invocation hint given as the last argument to | |
| 2574 | + | g_closure_invoke().</doc> | |
| 2511 | 2575 | <type name="gpointer" c:type="gpointer"/> | |
| 2512 | 2576 | </parameter> | |
| 2513 | 2577 | <parameter name="marshal_data" | |
| @@ -2515,8 +2579,10 @@ denotes a flags type.</doc> | |||
| 2515 | 2579 | nullable="1" | |
| 2516 | 2580 | allow-none="1"> | |
| 2517 | 2581 | <doc xml:space="preserve" | |
| 2518 | - | filename="gobject-2.0.c" | |
| 2519 | - | line="1665">additional data specified when registering the marshaller</doc> | |
| 2582 | + | filename="gobject/gmarshal.c" | |
| 2583 | + | line="719">Additional data specified when registering the | |
| 2584 | + | marshaller, see g_closure_set_marshal() and | |
| 2585 | + | g_closure_set_meta_marshal()</doc> | |
| 2520 | 2586 | <type name="gpointer" c:type="gpointer"/> | |
| 2521 | 2587 | </parameter> | |
| 2522 | 2588 | </parameters> | |
| @@ -2525,17 +2591,17 @@ denotes a flags type.</doc> | |||
| 2525 | 2591 | c:identifier="g_cclosure_marshal_VOID__LONGv" | |
| 2526 | 2592 | introspectable="0"> | |
| 2527 | 2593 | <doc xml:space="preserve" | |
| 2528 | - | filename="gobject-2.0.c" | |
| 2529 | - | line="1672">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__LONG().</doc> | |
| 2530 | - | <source-position filename="gmarshal.h" line="133"/> | |
| 2594 | + | filename="gobject/gmarshal.c" | |
| 2595 | + | line="761">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__LONG().</doc> | |
| 2596 | + | <source-position filename="gobject/gmarshal.h" line="133"/> | |
| 2531 | 2597 | <return-value transfer-ownership="none"> | |
| 2532 | 2598 | <type name="none" c:type="void"/> | |
| 2533 | 2599 | </return-value> | |
| 2534 | 2600 | <parameters> | |
| 2535 | 2601 | <parameter name="closure" transfer-ownership="none"> | |
| 2536 | 2602 | <doc xml:space="preserve" | |
| 2537 | - | filename="gobject-2.0.c" | |
| 2538 | - | line="1674">the #GClosure to which the marshaller belongs</doc> | |
| 2603 | + | filename="gobject/gmarshal.c" | |
| 2604 | + | line="763">the #GClosure to which the marshaller belongs</doc> | |
| 2539 | 2605 | <type name="Closure" c:type="GClosure*"/> | |
| 2540 | 2606 | </parameter> | |
| 2541 | 2607 | <parameter name="return_value" | |
| @@ -2543,22 +2609,22 @@ denotes a flags type.</doc> | |||
| 2543 | 2609 | nullable="1" | |
| 2544 | 2610 | allow-none="1"> | |
| 2545 | 2611 | <doc xml:space="preserve" | |
| 2546 | - | filename="gobject-2.0.c" | |
| 2547 | - | line="1675">a #GValue to store the return | |
| 2612 | + | filename="gobject/gmarshal.c" | |
| 2613 | + | line="764">a #GValue to store the return | |
| 2548 | 2614 | value. May be %NULL if the callback of @closure doesn't return a | |
| 2549 | 2615 | value.</doc> | |
| 2550 | 2616 | <type name="Value" c:type="GValue*"/> | |
| 2551 | 2617 | </parameter> | |
| 2552 | 2618 | <parameter name="instance" transfer-ownership="none"> | |
| 2553 | 2619 | <doc xml:space="preserve" | |
| 2554 | - | filename="gobject-2.0.c" | |
| 2555 | - | line="1678">the instance on which the closure is invoked.</doc> | |
| 2620 | + | filename="gobject/gmarshal.c" | |
| 2621 | + | line="767">the instance on which the closure is invoked.</doc> | |
| 2556 | 2622 | <type name="TypeInstance" c:type="gpointer"/> | |
| 2557 | 2623 | </parameter> | |
| 2558 | 2624 | <parameter name="args" transfer-ownership="none"> | |
| 2559 | 2625 | <doc xml:space="preserve" | |
| 2560 | - | filename="gobject-2.0.c" | |
| 2561 | - | line="1679">va_list of arguments to be passed to the closure.</doc> | |
| 2626 | + | filename="gobject/gmarshal.c" | |
| 2627 | + | line="768">va_list of arguments to be passed to the closure.</doc> | |
| 2562 | 2628 | <type name="va_list" c:type="va_list"/> | |
| 2563 | 2629 | </parameter> | |
| 2564 | 2630 | <parameter name="marshal_data" | |
| @@ -2566,22 +2632,22 @@ denotes a flags type.</doc> | |||
| 2566 | 2632 | nullable="1" | |
| 2567 | 2633 | allow-none="1"> | |
| 2568 | 2634 | <doc xml:space="preserve" | |
| 2569 | - | filename="gobject-2.0.c" | |
| 2570 | - | line="1680">additional data specified when | |
| 2635 | + | filename="gobject/gmarshal.c" | |
| 2636 | + | line="769">additional data specified when | |
| 2571 | 2637 | registering the marshaller, see g_closure_set_marshal() and | |
| 2572 | 2638 | g_closure_set_meta_marshal()</doc> | |
| 2573 | 2639 | <type name="gpointer" c:type="gpointer"/> | |
| 2574 | 2640 | </parameter> | |
| 2575 | 2641 | <parameter name="n_params" transfer-ownership="none"> | |
| 2576 | 2642 | <doc xml:space="preserve" | |
| 2577 | - | filename="gobject-2.0.c" | |
| 2578 | - | line="1683">the length of the @param_types array</doc> | |
| 2643 | + | filename="gobject/gmarshal.c" | |
| 2644 | + | line="772">the length of the @param_types array</doc> | |
| 2579 | 2645 | <type name="gint" c:type="int"/> | |
| 2580 | 2646 | </parameter> | |
| 2581 | 2647 | <parameter name="param_types" transfer-ownership="none"> | |
| 2582 | 2648 | <doc xml:space="preserve" | |
| 2583 | - | filename="gobject-2.0.c" | |
| 2584 | - | line="1684">the #GType of each argument from | |
| 2649 | + | filename="gobject/gmarshal.c" | |
| 2650 | + | line="773">the #GType of each argument from | |
| 2585 | 2651 | @args.</doc> | |
| 2586 | 2652 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 2587 | 2653 | <type name="GType" c:type="GType"/> | |
| @@ -2592,36 +2658,38 @@ denotes a flags type.</doc> | |||
| 2592 | 2658 | <function name="marshal_VOID__OBJECT" | |
| 2593 | 2659 | c:identifier="g_cclosure_marshal_VOID__OBJECT"> | |
| 2594 | 2660 | <doc xml:space="preserve" | |
| 2595 | - | filename="gobject-2.0.c" | |
| 2596 | - | line="1691">A marshaller for a #GCClosure with a callback of type | |
| 2597 | - | `void (*callback) (gpointer instance, GObject *arg1, gpointer user_data)`.</doc> | |
| 2598 | - | <source-position filename="gmarshal.h" line="296"/> | |
| 2661 | + | filename="gobject/gmarshal.c" | |
| 2662 | + | line="1805">A #GClosureMarshal function for use with signals with a single | |
| 2663 | + | #GObject argument.</doc> | |
| 2664 | + | <source-position filename="gobject/gmarshal.h" line="296"/> | |
| 2599 | 2665 | <return-value transfer-ownership="none"> | |
| 2600 | 2666 | <type name="none" c:type="void"/> | |
| 2601 | 2667 | </return-value> | |
| 2602 | 2668 | <parameters> | |
| 2603 | 2669 | <parameter name="closure" transfer-ownership="none"> | |
| 2604 | 2670 | <doc xml:space="preserve" | |
| 2605 | - | filename="gobject-2.0.c" | |
| 2606 | - | line="1693">the #GClosure to which the marshaller belongs</doc> | |
| 2671 | + | filename="gobject/gmarshal.c" | |
| 2672 | + | line="1807">A #GClosure.</doc> | |
| 2607 | 2673 | <type name="Closure" c:type="GClosure*"/> | |
| 2608 | 2674 | </parameter> | |
| 2609 | 2675 | <parameter name="return_value" transfer-ownership="none"> | |
| 2610 | 2676 | <doc xml:space="preserve" | |
| 2611 | - | filename="gobject-2.0.c" | |
| 2612 | - | line="1694">ignored</doc> | |
| 2677 | + | filename="gobject/gmarshal.c" | |
| 2678 | + | line="1808">A #GValue to store the return value. May be %NULL | |
| 2679 | + | if the callback of closure doesn't return a value.</doc> | |
| 2613 | 2680 | <type name="Value" c:type="GValue*"/> | |
| 2614 | 2681 | </parameter> | |
| 2615 | 2682 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 2616 | 2683 | <doc xml:space="preserve" | |
| 2617 | - | filename="gobject-2.0.c" | |
| 2618 | - | line="1695">2</doc> | |
| 2684 | + | filename="gobject/gmarshal.c" | |
| 2685 | + | line="1810">The length of the @param_values array.</doc> | |
| 2619 | 2686 | <type name="guint" c:type="guint"/> | |
| 2620 | 2687 | </parameter> | |
| 2621 | 2688 | <parameter name="param_values" transfer-ownership="none"> | |
| 2622 | 2689 | <doc xml:space="preserve" | |
| 2623 | - | filename="gobject-2.0.c" | |
| 2624 | - | line="1696">a #GValue array holding the instance and the #GObject* parameter</doc> | |
| 2690 | + | filename="gobject/gmarshal.c" | |
| 2691 | + | line="1811">An array of #GValues holding the arguments | |
| 2692 | + | on which to invoke the callback of closure.</doc> | |
| 2625 | 2693 | <type name="Value" c:type="const GValue*"/> | |
| 2626 | 2694 | </parameter> | |
| 2627 | 2695 | <parameter name="invocation_hint" | |
| @@ -2629,9 +2697,9 @@ denotes a flags type.</doc> | |||
| 2629 | 2697 | nullable="1" | |
| 2630 | 2698 | allow-none="1"> | |
| 2631 | 2699 | <doc xml:space="preserve" | |
| 2632 | - | filename="gobject-2.0.c" | |
| 2633 | - | line="1697">the invocation hint given as the last argument | |
| 2634 | - | to g_closure_invoke()</doc> | |
| 2700 | + | filename="gobject/gmarshal.c" | |
| 2701 | + | line="1813">The invocation hint given as the last argument to | |
| 2702 | + | g_closure_invoke().</doc> | |
| 2635 | 2703 | <type name="gpointer" c:type="gpointer"/> | |
| 2636 | 2704 | </parameter> | |
| 2637 | 2705 | <parameter name="marshal_data" | |
| @@ -2639,8 +2707,10 @@ denotes a flags type.</doc> | |||
| 2639 | 2707 | nullable="1" | |
| 2640 | 2708 | allow-none="1"> | |
| 2641 | 2709 | <doc xml:space="preserve" | |
| 2642 | - | filename="gobject-2.0.c" | |
| 2643 | - | line="1699">additional data specified when registering the marshaller</doc> | |
| 2710 | + | filename="gobject/gmarshal.c" | |
| 2711 | + | line="1815">Additional data specified when registering the | |
| 2712 | + | marshaller, see g_closure_set_marshal() and | |
| 2713 | + | g_closure_set_meta_marshal()</doc> | |
| 2644 | 2714 | <type name="gpointer" c:type="gpointer"/> | |
| 2645 | 2715 | </parameter> | |
| 2646 | 2716 | </parameters> | |
| @@ -2649,17 +2719,17 @@ denotes a flags type.</doc> | |||
| 2649 | 2719 | c:identifier="g_cclosure_marshal_VOID__OBJECTv" | |
| 2650 | 2720 | introspectable="0"> | |
| 2651 | 2721 | <doc xml:space="preserve" | |
| 2652 | - | filename="gobject-2.0.c" | |
| 2653 | - | line="1706">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__OBJECT().</doc> | |
| 2654 | - | <source-position filename="gmarshal.h" line="303"/> | |
| 2722 | + | filename="gobject/gmarshal.c" | |
| 2723 | + | line="1857">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__OBJECT().</doc> | |
| 2724 | + | <source-position filename="gobject/gmarshal.h" line="303"/> | |
| 2655 | 2725 | <return-value transfer-ownership="none"> | |
| 2656 | 2726 | <type name="none" c:type="void"/> | |
| 2657 | 2727 | </return-value> | |
| 2658 | 2728 | <parameters> | |
| 2659 | 2729 | <parameter name="closure" transfer-ownership="none"> | |
| 2660 | 2730 | <doc xml:space="preserve" | |
| 2661 | - | filename="gobject-2.0.c" | |
| 2662 | - | line="1708">the #GClosure to which the marshaller belongs</doc> | |
| 2731 | + | filename="gobject/gmarshal.c" | |
| 2732 | + | line="1859">the #GClosure to which the marshaller belongs</doc> | |
| 2663 | 2733 | <type name="Closure" c:type="GClosure*"/> | |
| 2664 | 2734 | </parameter> | |
| 2665 | 2735 | <parameter name="return_value" | |
| @@ -2667,22 +2737,22 @@ denotes a flags type.</doc> | |||
| 2667 | 2737 | nullable="1" | |
| 2668 | 2738 | allow-none="1"> | |
| 2669 | 2739 | <doc xml:space="preserve" | |
| 2670 | - | filename="gobject-2.0.c" | |
| 2671 | - | line="1709">a #GValue to store the return | |
| 2740 | + | filename="gobject/gmarshal.c" | |
| 2741 | + | line="1860">a #GValue to store the return | |
| 2672 | 2742 | value. May be %NULL if the callback of @closure doesn't return a | |
| 2673 | 2743 | value.</doc> | |
| 2674 | 2744 | <type name="Value" c:type="GValue*"/> | |
| 2675 | 2745 | </parameter> | |
| 2676 | 2746 | <parameter name="instance" transfer-ownership="none"> | |
| 2677 | 2747 | <doc xml:space="preserve" | |
| 2678 | - | filename="gobject-2.0.c" | |
| 2679 | - | line="1712">the instance on which the closure is invoked.</doc> | |
| 2748 | + | filename="gobject/gmarshal.c" | |
| 2749 | + | line="1863">the instance on which the closure is invoked.</doc> | |
| 2680 | 2750 | <type name="TypeInstance" c:type="gpointer"/> | |
| 2681 | 2751 | </parameter> | |
| 2682 | 2752 | <parameter name="args" transfer-ownership="none"> | |
| 2683 | 2753 | <doc xml:space="preserve" | |
| 2684 | - | filename="gobject-2.0.c" | |
| 2685 | - | line="1713">va_list of arguments to be passed to the closure.</doc> | |
| 2754 | + | filename="gobject/gmarshal.c" | |
| 2755 | + | line="1864">va_list of arguments to be passed to the closure.</doc> | |
| 2686 | 2756 | <type name="va_list" c:type="va_list"/> | |
| 2687 | 2757 | </parameter> | |
| 2688 | 2758 | <parameter name="marshal_data" | |
| @@ -2690,22 +2760,22 @@ denotes a flags type.</doc> | |||
| 2690 | 2760 | nullable="1" | |
| 2691 | 2761 | allow-none="1"> | |
| 2692 | 2762 | <doc xml:space="preserve" | |
| 2693 | - | filename="gobject-2.0.c" | |
| 2694 | - | line="1714">additional data specified when | |
| 2763 | + | filename="gobject/gmarshal.c" | |
| 2764 | + | line="1865">additional data specified when | |
| 2695 | 2765 | registering the marshaller, see g_closure_set_marshal() and | |
| 2696 | 2766 | g_closure_set_meta_marshal()</doc> | |
| 2697 | 2767 | <type name="gpointer" c:type="gpointer"/> | |
| 2698 | 2768 | </parameter> | |
| 2699 | 2769 | <parameter name="n_params" transfer-ownership="none"> | |
| 2700 | 2770 | <doc xml:space="preserve" | |
| 2701 | - | filename="gobject-2.0.c" | |
| 2702 | - | line="1717">the length of the @param_types array</doc> | |
| 2771 | + | filename="gobject/gmarshal.c" | |
| 2772 | + | line="1868">the length of the @param_types array</doc> | |
| 2703 | 2773 | <type name="gint" c:type="int"/> | |
| 2704 | 2774 | </parameter> | |
| 2705 | 2775 | <parameter name="param_types" transfer-ownership="none"> | |
| 2706 | 2776 | <doc xml:space="preserve" | |
| 2707 | - | filename="gobject-2.0.c" | |
| 2708 | - | line="1718">the #GType of each argument from | |
| 2777 | + | filename="gobject/gmarshal.c" | |
| 2778 | + | line="1869">the #GType of each argument from | |
| 2709 | 2779 | @args.</doc> | |
| 2710 | 2780 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 2711 | 2781 | <type name="GType" c:type="GType"/> | |
| @@ -2716,36 +2786,38 @@ denotes a flags type.</doc> | |||
| 2716 | 2786 | <function name="marshal_VOID__PARAM" | |
| 2717 | 2787 | c:identifier="g_cclosure_marshal_VOID__PARAM"> | |
| 2718 | 2788 | <doc xml:space="preserve" | |
| 2719 | - | filename="gobject-2.0.c" | |
| 2720 | - | line="1725">A marshaller for a #GCClosure with a callback of type | |
| 2721 | - | `void (*callback) (gpointer instance, GParamSpec *arg1, gpointer user_data)`.</doc> | |
| 2722 | - | <source-position filename="gmarshal.h" line="245"/> | |
| 2789 | + | filename="gobject/gmarshal.c" | |
| 2790 | + | line="1469">A #GClosureMarshal function for use with signals with a single | |
| 2791 | + | argument of type #GParamSpec.</doc> | |
| 2792 | + | <source-position filename="gobject/gmarshal.h" line="245"/> | |
| 2723 | 2793 | <return-value transfer-ownership="none"> | |
| 2724 | 2794 | <type name="none" c:type="void"/> | |
| 2725 | 2795 | </return-value> | |
| 2726 | 2796 | <parameters> | |
| 2727 | 2797 | <parameter name="closure" transfer-ownership="none"> | |
| 2728 | 2798 | <doc xml:space="preserve" | |
| 2729 | - | filename="gobject-2.0.c" | |
| 2730 | - | line="1727">the #GClosure to which the marshaller belongs</doc> | |
| 2799 | + | filename="gobject/gmarshal.c" | |
| 2800 | + | line="1471">A #GClosure.</doc> | |
| 2731 | 2801 | <type name="Closure" c:type="GClosure*"/> | |
| 2732 | 2802 | </parameter> | |
| 2733 | 2803 | <parameter name="return_value" transfer-ownership="none"> | |
| 2734 | 2804 | <doc xml:space="preserve" | |
| 2735 | - | filename="gobject-2.0.c" | |
| 2736 | - | line="1728">ignored</doc> | |
| 2805 | + | filename="gobject/gmarshal.c" | |
| 2806 | + | line="1472">A #GValue to store the return value. May be %NULL | |
| 2807 | + | if the callback of closure doesn't return a value.</doc> | |
| 2737 | 2808 | <type name="Value" c:type="GValue*"/> | |
| 2738 | 2809 | </parameter> | |
| 2739 | 2810 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 2740 | 2811 | <doc xml:space="preserve" | |
| 2741 | - | filename="gobject-2.0.c" | |
| 2742 | - | line="1729">2</doc> | |
| 2812 | + | filename="gobject/gmarshal.c" | |
| 2813 | + | line="1474">The length of the @param_values array.</doc> | |
| 2743 | 2814 | <type name="guint" c:type="guint"/> | |
| 2744 | 2815 | </parameter> | |
| 2745 | 2816 | <parameter name="param_values" transfer-ownership="none"> | |
| 2746 | 2817 | <doc xml:space="preserve" | |
| 2747 | - | filename="gobject-2.0.c" | |
| 2748 | - | line="1730">a #GValue array holding the instance and the #GParamSpec* parameter</doc> | |
| 2818 | + | filename="gobject/gmarshal.c" | |
| 2819 | + | line="1475">An array of #GValues holding the arguments | |
| 2820 | + | on which to invoke the callback of closure.</doc> | |
| 2749 | 2821 | <type name="Value" c:type="const GValue*"/> | |
| 2750 | 2822 | </parameter> | |
| 2751 | 2823 | <parameter name="invocation_hint" | |
| @@ -2753,9 +2825,9 @@ denotes a flags type.</doc> | |||
| 2753 | 2825 | nullable="1" | |
| 2754 | 2826 | allow-none="1"> | |
| 2755 | 2827 | <doc xml:space="preserve" | |
| 2756 | - | filename="gobject-2.0.c" | |
| 2757 | - | line="1731">the invocation hint given as the last argument | |
| 2758 | - | to g_closure_invoke()</doc> | |
| 2828 | + | filename="gobject/gmarshal.c" | |
| 2829 | + | line="1477">The invocation hint given as the last argument to | |
| 2830 | + | g_closure_invoke().</doc> | |
| 2759 | 2831 | <type name="gpointer" c:type="gpointer"/> | |
| 2760 | 2832 | </parameter> | |
| 2761 | 2833 | <parameter name="marshal_data" | |
| @@ -2763,8 +2835,10 @@ denotes a flags type.</doc> | |||
| 2763 | 2835 | nullable="1" | |
| 2764 | 2836 | allow-none="1"> | |
| 2765 | 2837 | <doc xml:space="preserve" | |
| 2766 | - | filename="gobject-2.0.c" | |
| 2767 | - | line="1733">additional data specified when registering the marshaller</doc> | |
| 2838 | + | filename="gobject/gmarshal.c" | |
| 2839 | + | line="1479">Additional data specified when registering the | |
| 2840 | + | marshaller, see g_closure_set_marshal() and | |
| 2841 | + | g_closure_set_meta_marshal()</doc> | |
| 2768 | 2842 | <type name="gpointer" c:type="gpointer"/> | |
| 2769 | 2843 | </parameter> | |
| 2770 | 2844 | </parameters> | |
| @@ -2773,17 +2847,17 @@ denotes a flags type.</doc> | |||
| 2773 | 2847 | c:identifier="g_cclosure_marshal_VOID__PARAMv" | |
| 2774 | 2848 | introspectable="0"> | |
| 2775 | 2849 | <doc xml:space="preserve" | |
| 2776 | - | filename="gobject-2.0.c" | |
| 2777 | - | line="1740">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__PARAM().</doc> | |
| 2778 | - | <source-position filename="gmarshal.h" line="252"/> | |
| 2850 | + | filename="gobject/gmarshal.c" | |
| 2851 | + | line="1521">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__PARAM().</doc> | |
| 2852 | + | <source-position filename="gobject/gmarshal.h" line="252"/> | |
| 2779 | 2853 | <return-value transfer-ownership="none"> | |
| 2780 | 2854 | <type name="none" c:type="void"/> | |
| 2781 | 2855 | </return-value> | |
| 2782 | 2856 | <parameters> | |
| 2783 | 2857 | <parameter name="closure" transfer-ownership="none"> | |
| 2784 | 2858 | <doc xml:space="preserve" | |
| 2785 | - | filename="gobject-2.0.c" | |
| 2786 | - | line="1742">the #GClosure to which the marshaller belongs</doc> | |
| 2859 | + | filename="gobject/gmarshal.c" | |
| 2860 | + | line="1523">the #GClosure to which the marshaller belongs</doc> | |
| 2787 | 2861 | <type name="Closure" c:type="GClosure*"/> | |
| 2788 | 2862 | </parameter> | |
| 2789 | 2863 | <parameter name="return_value" | |
| @@ -2791,22 +2865,22 @@ denotes a flags type.</doc> | |||
| 2791 | 2865 | nullable="1" | |
| 2792 | 2866 | allow-none="1"> | |
| 2793 | 2867 | <doc xml:space="preserve" | |
| 2794 | - | filename="gobject-2.0.c" | |
| 2795 | - | line="1743">a #GValue to store the return | |
| 2868 | + | filename="gobject/gmarshal.c" | |
| 2869 | + | line="1524">a #GValue to store the return | |
| 2796 | 2870 | value. May be %NULL if the callback of @closure doesn't return a | |
| 2797 | 2871 | value.</doc> | |
| 2798 | 2872 | <type name="Value" c:type="GValue*"/> | |
| 2799 | 2873 | </parameter> | |
| 2800 | 2874 | <parameter name="instance" transfer-ownership="none"> | |
| 2801 | 2875 | <doc xml:space="preserve" | |
| 2802 | - | filename="gobject-2.0.c" | |
| 2803 | - | line="1746">the instance on which the closure is invoked.</doc> | |
| 2876 | + | filename="gobject/gmarshal.c" | |
| 2877 | + | line="1527">the instance on which the closure is invoked.</doc> | |
| 2804 | 2878 | <type name="TypeInstance" c:type="gpointer"/> | |
| 2805 | 2879 | </parameter> | |
| 2806 | 2880 | <parameter name="args" transfer-ownership="none"> | |
| 2807 | 2881 | <doc xml:space="preserve" | |
| 2808 | - | filename="gobject-2.0.c" | |
| 2809 | - | line="1747">va_list of arguments to be passed to the closure.</doc> | |
| 2882 | + | filename="gobject/gmarshal.c" | |
| 2883 | + | line="1528">va_list of arguments to be passed to the closure.</doc> | |
| 2810 | 2884 | <type name="va_list" c:type="va_list"/> | |
| 2811 | 2885 | </parameter> | |
| 2812 | 2886 | <parameter name="marshal_data" | |
| @@ -2814,22 +2888,22 @@ denotes a flags type.</doc> | |||
| 2814 | 2888 | nullable="1" | |
| 2815 | 2889 | allow-none="1"> | |
| 2816 | 2890 | <doc xml:space="preserve" | |
| 2817 | - | filename="gobject-2.0.c" | |
| 2818 | - | line="1748">additional data specified when | |
| 2891 | + | filename="gobject/gmarshal.c" | |
| 2892 | + | line="1529">additional data specified when | |
| 2819 | 2893 | registering the marshaller, see g_closure_set_marshal() and | |
| 2820 | 2894 | g_closure_set_meta_marshal()</doc> | |
| 2821 | 2895 | <type name="gpointer" c:type="gpointer"/> | |
| 2822 | 2896 | </parameter> | |
| 2823 | 2897 | <parameter name="n_params" transfer-ownership="none"> | |
| 2824 | 2898 | <doc xml:space="preserve" | |
| 2825 | - | filename="gobject-2.0.c" | |
| 2826 | - | line="1751">the length of the @param_types array</doc> | |
| 2899 | + | filename="gobject/gmarshal.c" | |
| 2900 | + | line="1532">the length of the @param_types array</doc> | |
| 2827 | 2901 | <type name="gint" c:type="int"/> | |
| 2828 | 2902 | </parameter> | |
| 2829 | 2903 | <parameter name="param_types" transfer-ownership="none"> | |
| 2830 | 2904 | <doc xml:space="preserve" | |
| 2831 | - | filename="gobject-2.0.c" | |
| 2832 | - | line="1752">the #GType of each argument from | |
| 2905 | + | filename="gobject/gmarshal.c" | |
| 2906 | + | line="1533">the #GType of each argument from | |
| 2833 | 2907 | @args.</doc> | |
| 2834 | 2908 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 2835 | 2909 | <type name="GType" c:type="GType"/> | |
| @@ -2840,36 +2914,42 @@ denotes a flags type.</doc> | |||
| 2840 | 2914 | <function name="marshal_VOID__POINTER" | |
| 2841 | 2915 | c:identifier="g_cclosure_marshal_VOID__POINTER"> | |
| 2842 | 2916 | <doc xml:space="preserve" | |
| 2843 | - | filename="gobject-2.0.c" | |
| 2844 | - | line="1759">A marshaller for a #GCClosure with a callback of type | |
| 2845 | - | `void (*callback) (gpointer instance, gpointer arg1, gpointer user_data)`.</doc> | |
| 2846 | - | <source-position filename="gmarshal.h" line="279"/> | |
| 2917 | + | filename="gobject/gmarshal.c" | |
| 2918 | + | line="1693">A #GClosureMarshal function for use with signals with a single raw | |
| 2919 | + | pointer argument type. | |
| 2920 | + | ||
| 2921 | + | If it is possible, it is better to use one of the more specific | |
| 2922 | + | functions such as g_cclosure_marshal_VOID__OBJECT() or | |
| 2923 | + | g_cclosure_marshal_VOID__OBJECT().</doc> | |
| 2924 | + | <source-position filename="gobject/gmarshal.h" line="279"/> | |
| 2847 | 2925 | <return-value transfer-ownership="none"> | |
| 2848 | 2926 | <type name="none" c:type="void"/> | |
| 2849 | 2927 | </return-value> | |
| 2850 | 2928 | <parameters> | |
| 2851 | 2929 | <parameter name="closure" transfer-ownership="none"> | |
| 2852 | 2930 | <doc xml:space="preserve" | |
| 2853 | - | filename="gobject-2.0.c" | |
| 2854 | - | line="1761">the #GClosure to which the marshaller belongs</doc> | |
| 2931 | + | filename="gobject/gmarshal.c" | |
| 2932 | + | line="1695">A #GClosure.</doc> | |
| 2855 | 2933 | <type name="Closure" c:type="GClosure*"/> | |
| 2856 | 2934 | </parameter> | |
| 2857 | 2935 | <parameter name="return_value" transfer-ownership="none"> | |
| 2858 | 2936 | <doc xml:space="preserve" | |
| 2859 | - | filename="gobject-2.0.c" | |
| 2860 | - | line="1762">ignored</doc> | |
| 2937 | + | filename="gobject/gmarshal.c" | |
| 2938 | + | line="1696">A #GValue to store the return value. May be %NULL | |
| 2939 | + | if the callback of closure doesn't return a value.</doc> | |
| 2861 | 2940 | <type name="Value" c:type="GValue*"/> | |
| 2862 | 2941 | </parameter> | |
| 2863 | 2942 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 2864 | 2943 | <doc xml:space="preserve" | |
| 2865 | - | filename="gobject-2.0.c" | |
| 2866 | - | line="1763">2</doc> | |
| 2944 | + | filename="gobject/gmarshal.c" | |
| 2945 | + | line="1698">The length of the @param_values array.</doc> | |
| 2867 | 2946 | <type name="guint" c:type="guint"/> | |
| 2868 | 2947 | </parameter> | |
| 2869 | 2948 | <parameter name="param_values" transfer-ownership="none"> | |
| 2870 | 2949 | <doc xml:space="preserve" | |
| 2871 | - | filename="gobject-2.0.c" | |
| 2872 | - | line="1764">a #GValue array holding the instance and the #gpointer parameter</doc> | |
| 2950 | + | filename="gobject/gmarshal.c" | |
| 2951 | + | line="1699">An array of #GValues holding the arguments | |
| 2952 | + | on which to invoke the callback of closure.</doc> | |
| 2873 | 2953 | <type name="Value" c:type="const GValue*"/> | |
| 2874 | 2954 | </parameter> | |
| 2875 | 2955 | <parameter name="invocation_hint" | |
| @@ -2877,9 +2957,9 @@ denotes a flags type.</doc> | |||
| 2877 | 2957 | nullable="1" | |
| 2878 | 2958 | allow-none="1"> | |
| 2879 | 2959 | <doc xml:space="preserve" | |
| 2880 | - | filename="gobject-2.0.c" | |
| 2881 | - | line="1765">the invocation hint given as the last argument | |
| 2882 | - | to g_closure_invoke()</doc> | |
| 2960 | + | filename="gobject/gmarshal.c" | |
| 2961 | + | line="1701">The invocation hint given as the last argument to | |
| 2962 | + | g_closure_invoke().</doc> | |
| 2883 | 2963 | <type name="gpointer" c:type="gpointer"/> | |
| 2884 | 2964 | </parameter> | |
| 2885 | 2965 | <parameter name="marshal_data" | |
| @@ -2887,8 +2967,10 @@ denotes a flags type.</doc> | |||
| 2887 | 2967 | nullable="1" | |
| 2888 | 2968 | allow-none="1"> | |
| 2889 | 2969 | <doc xml:space="preserve" | |
| 2890 | - | filename="gobject-2.0.c" | |
| 2891 | - | line="1767">additional data specified when registering the marshaller</doc> | |
| 2970 | + | filename="gobject/gmarshal.c" | |
| 2971 | + | line="1703">Additional data specified when registering the | |
| 2972 | + | marshaller, see g_closure_set_marshal() and | |
| 2973 | + | g_closure_set_meta_marshal()</doc> | |
| 2892 | 2974 | <type name="gpointer" c:type="gpointer"/> | |
| 2893 | 2975 | </parameter> | |
| 2894 | 2976 | </parameters> | |
| @@ -2897,17 +2979,17 @@ denotes a flags type.</doc> | |||
| 2897 | 2979 | c:identifier="g_cclosure_marshal_VOID__POINTERv" | |
| 2898 | 2980 | introspectable="0"> | |
| 2899 | 2981 | <doc xml:space="preserve" | |
| 2900 | - | filename="gobject-2.0.c" | |
| 2901 | - | line="1774">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__POINTER().</doc> | |
| 2902 | - | <source-position filename="gmarshal.h" line="286"/> | |
| 2982 | + | filename="gobject/gmarshal.c" | |
| 2983 | + | line="1749">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__POINTER().</doc> | |
| 2984 | + | <source-position filename="gobject/gmarshal.h" line="286"/> | |
| 2903 | 2985 | <return-value transfer-ownership="none"> | |
| 2904 | 2986 | <type name="none" c:type="void"/> | |
| 2905 | 2987 | </return-value> | |
| 2906 | 2988 | <parameters> | |
| 2907 | 2989 | <parameter name="closure" transfer-ownership="none"> | |
| 2908 | 2990 | <doc xml:space="preserve" | |
| 2909 | - | filename="gobject-2.0.c" | |
| 2910 | - | line="1776">the #GClosure to which the marshaller belongs</doc> | |
| 2991 | + | filename="gobject/gmarshal.c" | |
| 2992 | + | line="1751">the #GClosure to which the marshaller belongs</doc> | |
| 2911 | 2993 | <type name="Closure" c:type="GClosure*"/> | |
| 2912 | 2994 | </parameter> | |
| 2913 | 2995 | <parameter name="return_value" | |
| @@ -2915,22 +2997,22 @@ denotes a flags type.</doc> | |||
| 2915 | 2997 | nullable="1" | |
| 2916 | 2998 | allow-none="1"> | |
| 2917 | 2999 | <doc xml:space="preserve" | |
| 2918 | - | filename="gobject-2.0.c" | |
| 2919 | - | line="1777">a #GValue to store the return | |
| 3000 | + | filename="gobject/gmarshal.c" | |
| 3001 | + | line="1752">a #GValue to store the return | |
| 2920 | 3002 | value. May be %NULL if the callback of @closure doesn't return a | |
| 2921 | 3003 | value.</doc> | |
| 2922 | 3004 | <type name="Value" c:type="GValue*"/> | |
| 2923 | 3005 | </parameter> | |
| 2924 | 3006 | <parameter name="instance" transfer-ownership="none"> | |
| 2925 | 3007 | <doc xml:space="preserve" | |
| 2926 | - | filename="gobject-2.0.c" | |
| 2927 | - | line="1780">the instance on which the closure is invoked.</doc> | |
| 3008 | + | filename="gobject/gmarshal.c" | |
| 3009 | + | line="1755">the instance on which the closure is invoked.</doc> | |
| 2928 | 3010 | <type name="TypeInstance" c:type="gpointer"/> | |
| 2929 | 3011 | </parameter> | |
| 2930 | 3012 | <parameter name="args" transfer-ownership="none"> | |
| 2931 | 3013 | <doc xml:space="preserve" | |
| 2932 | - | filename="gobject-2.0.c" | |
| 2933 | - | line="1781">va_list of arguments to be passed to the closure.</doc> | |
| 3014 | + | filename="gobject/gmarshal.c" | |
| 3015 | + | line="1756">va_list of arguments to be passed to the closure.</doc> | |
| 2934 | 3016 | <type name="va_list" c:type="va_list"/> | |
| 2935 | 3017 | </parameter> | |
| 2936 | 3018 | <parameter name="marshal_data" | |
| @@ -2938,22 +3020,22 @@ denotes a flags type.</doc> | |||
| 2938 | 3020 | nullable="1" | |
| 2939 | 3021 | allow-none="1"> | |
| 2940 | 3022 | <doc xml:space="preserve" | |
| 2941 | - | filename="gobject-2.0.c" | |
| 2942 | - | line="1782">additional data specified when | |
| 3023 | + | filename="gobject/gmarshal.c" | |
| 3024 | + | line="1757">additional data specified when | |
| 2943 | 3025 | registering the marshaller, see g_closure_set_marshal() and | |
| 2944 | 3026 | g_closure_set_meta_marshal()</doc> | |
| 2945 | 3027 | <type name="gpointer" c:type="gpointer"/> | |
| 2946 | 3028 | </parameter> | |
| 2947 | 3029 | <parameter name="n_params" transfer-ownership="none"> | |
| 2948 | 3030 | <doc xml:space="preserve" | |
| 2949 | - | filename="gobject-2.0.c" | |
| 2950 | - | line="1785">the length of the @param_types array</doc> | |
| 3031 | + | filename="gobject/gmarshal.c" | |
| 3032 | + | line="1760">the length of the @param_types array</doc> | |
| 2951 | 3033 | <type name="gint" c:type="int"/> | |
| 2952 | 3034 | </parameter> | |
| 2953 | 3035 | <parameter name="param_types" transfer-ownership="none"> | |
| 2954 | 3036 | <doc xml:space="preserve" | |
| 2955 | - | filename="gobject-2.0.c" | |
| 2956 | - | line="1786">the #GType of each argument from | |
| 3037 | + | filename="gobject/gmarshal.c" | |
| 3038 | + | line="1761">the #GType of each argument from | |
| 2957 | 3039 | @args.</doc> | |
| 2958 | 3040 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 2959 | 3041 | <type name="GType" c:type="GType"/> | |
| @@ -2964,36 +3046,38 @@ denotes a flags type.</doc> | |||
| 2964 | 3046 | <function name="marshal_VOID__STRING" | |
| 2965 | 3047 | c:identifier="g_cclosure_marshal_VOID__STRING"> | |
| 2966 | 3048 | <doc xml:space="preserve" | |
| 2967 | - | filename="gobject-2.0.c" | |
| 2968 | - | line="1793">A marshaller for a #GCClosure with a callback of type | |
| 2969 | - | `void (*callback) (gpointer instance, const gchar *arg1, gpointer user_data)`.</doc> | |
| 2970 | - | <source-position filename="gmarshal.h" line="228"/> | |
| 3049 | + | filename="gobject/gmarshal.c" | |
| 3050 | + | line="1357">A #GClosureMarshal function for use with signals with a single string | |
| 3051 | + | argument.</doc> | |
| 3052 | + | <source-position filename="gobject/gmarshal.h" line="228"/> | |
| 2971 | 3053 | <return-value transfer-ownership="none"> | |
| 2972 | 3054 | <type name="none" c:type="void"/> | |
| 2973 | 3055 | </return-value> | |
| 2974 | 3056 | <parameters> | |
| 2975 | 3057 | <parameter name="closure" transfer-ownership="none"> | |
| 2976 | 3058 | <doc xml:space="preserve" | |
| 2977 | - | filename="gobject-2.0.c" | |
| 2978 | - | line="1795">the #GClosure to which the marshaller belongs</doc> | |
| 3059 | + | filename="gobject/gmarshal.c" | |
| 3060 | + | line="1359">A #GClosure.</doc> | |
| 2979 | 3061 | <type name="Closure" c:type="GClosure*"/> | |
| 2980 | 3062 | </parameter> | |
| 2981 | 3063 | <parameter name="return_value" transfer-ownership="none"> | |
| 2982 | 3064 | <doc xml:space="preserve" | |
| 2983 | - | filename="gobject-2.0.c" | |
| 2984 | - | line="1796">ignored</doc> | |
| 3065 | + | filename="gobject/gmarshal.c" | |
| 3066 | + | line="1360">A #GValue to store the return value. May be %NULL | |
| 3067 | + | if the callback of closure doesn't return a value.</doc> | |
| 2985 | 3068 | <type name="Value" c:type="GValue*"/> | |
| 2986 | 3069 | </parameter> | |
| 2987 | 3070 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 2988 | 3071 | <doc xml:space="preserve" | |
| 2989 | - | filename="gobject-2.0.c" | |
| 2990 | - | line="1797">2</doc> | |
| 3072 | + | filename="gobject/gmarshal.c" | |
| 3073 | + | line="1362">The length of the @param_values array.</doc> | |
| 2991 | 3074 | <type name="guint" c:type="guint"/> | |
| 2992 | 3075 | </parameter> | |
| 2993 | 3076 | <parameter name="param_values" transfer-ownership="none"> | |
| 2994 | 3077 | <doc xml:space="preserve" | |
| 2995 | - | filename="gobject-2.0.c" | |
| 2996 | - | line="1798">a #GValue array holding the instance and the #gchar* parameter</doc> | |
| 3078 | + | filename="gobject/gmarshal.c" | |
| 3079 | + | line="1363">An array of #GValues holding the arguments | |
| 3080 | + | on which to invoke the callback of closure.</doc> | |
| 2997 | 3081 | <type name="Value" c:type="const GValue*"/> | |
| 2998 | 3082 | </parameter> | |
| 2999 | 3083 | <parameter name="invocation_hint" | |
| @@ -3001,9 +3085,9 @@ denotes a flags type.</doc> | |||
| 3001 | 3085 | nullable="1" | |
| 3002 | 3086 | allow-none="1"> | |
| 3003 | 3087 | <doc xml:space="preserve" | |
| 3004 | - | filename="gobject-2.0.c" | |
| 3005 | - | line="1799">the invocation hint given as the last argument | |
| 3006 | - | to g_closure_invoke()</doc> | |
| 3088 | + | filename="gobject/gmarshal.c" | |
| 3089 | + | line="1365">The invocation hint given as the last argument to | |
| 3090 | + | g_closure_invoke().</doc> | |
| 3007 | 3091 | <type name="gpointer" c:type="gpointer"/> | |
| 3008 | 3092 | </parameter> | |
| 3009 | 3093 | <parameter name="marshal_data" | |
| @@ -3011,8 +3095,10 @@ denotes a flags type.</doc> | |||
| 3011 | 3095 | nullable="1" | |
| 3012 | 3096 | allow-none="1"> | |
| 3013 | 3097 | <doc xml:space="preserve" | |
| 3014 | - | filename="gobject-2.0.c" | |
| 3015 | - | line="1801">additional data specified when registering the marshaller</doc> | |
| 3098 | + | filename="gobject/gmarshal.c" | |
| 3099 | + | line="1367">Additional data specified when registering the | |
| 3100 | + | marshaller, see g_closure_set_marshal() and | |
| 3101 | + | g_closure_set_meta_marshal()</doc> | |
| 3016 | 3102 | <type name="gpointer" c:type="gpointer"/> | |
| 3017 | 3103 | </parameter> | |
| 3018 | 3104 | </parameters> | |
| @@ -3021,17 +3107,17 @@ denotes a flags type.</doc> | |||
| 3021 | 3107 | c:identifier="g_cclosure_marshal_VOID__STRINGv" | |
| 3022 | 3108 | introspectable="0"> | |
| 3023 | 3109 | <doc xml:space="preserve" | |
| 3024 | - | filename="gobject-2.0.c" | |
| 3025 | - | line="1808">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__STRING().</doc> | |
| 3026 | - | <source-position filename="gmarshal.h" line="235"/> | |
| 3110 | + | filename="gobject/gmarshal.c" | |
| 3111 | + | line="1409">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__STRING().</doc> | |
| 3112 | + | <source-position filename="gobject/gmarshal.h" line="235"/> | |
| 3027 | 3113 | <return-value transfer-ownership="none"> | |
| 3028 | 3114 | <type name="none" c:type="void"/> | |
| 3029 | 3115 | </return-value> | |
| 3030 | 3116 | <parameters> | |
| 3031 | 3117 | <parameter name="closure" transfer-ownership="none"> | |
| 3032 | 3118 | <doc xml:space="preserve" | |
| 3033 | - | filename="gobject-2.0.c" | |
| 3034 | - | line="1810">the #GClosure to which the marshaller belongs</doc> | |
| 3119 | + | filename="gobject/gmarshal.c" | |
| 3120 | + | line="1411">the #GClosure to which the marshaller belongs</doc> | |
| 3035 | 3121 | <type name="Closure" c:type="GClosure*"/> | |
| 3036 | 3122 | </parameter> | |
| 3037 | 3123 | <parameter name="return_value" | |
| @@ -3039,22 +3125,22 @@ denotes a flags type.</doc> | |||
| 3039 | 3125 | nullable="1" | |
| 3040 | 3126 | allow-none="1"> | |
| 3041 | 3127 | <doc xml:space="preserve" | |
| 3042 | - | filename="gobject-2.0.c" | |
| 3043 | - | line="1811">a #GValue to store the return | |
| 3128 | + | filename="gobject/gmarshal.c" | |
| 3129 | + | line="1412">a #GValue to store the return | |
| 3044 | 3130 | value. May be %NULL if the callback of @closure doesn't return a | |
| 3045 | 3131 | value.</doc> | |
| 3046 | 3132 | <type name="Value" c:type="GValue*"/> | |
| 3047 | 3133 | </parameter> | |
| 3048 | 3134 | <parameter name="instance" transfer-ownership="none"> | |
| 3049 | 3135 | <doc xml:space="preserve" | |
| 3050 | - | filename="gobject-2.0.c" | |
| 3051 | - | line="1814">the instance on which the closure is invoked.</doc> | |
| 3136 | + | filename="gobject/gmarshal.c" | |
| 3137 | + | line="1415">the instance on which the closure is invoked.</doc> | |
| 3052 | 3138 | <type name="TypeInstance" c:type="gpointer"/> | |
| 3053 | 3139 | </parameter> | |
| 3054 | 3140 | <parameter name="args" transfer-ownership="none"> | |
| 3055 | 3141 | <doc xml:space="preserve" | |
| 3056 | - | filename="gobject-2.0.c" | |
| 3057 | - | line="1815">va_list of arguments to be passed to the closure.</doc> | |
| 3142 | + | filename="gobject/gmarshal.c" | |
| 3143 | + | line="1416">va_list of arguments to be passed to the closure.</doc> | |
| 3058 | 3144 | <type name="va_list" c:type="va_list"/> | |
| 3059 | 3145 | </parameter> | |
| 3060 | 3146 | <parameter name="marshal_data" | |
| @@ -3062,22 +3148,22 @@ denotes a flags type.</doc> | |||
| 3062 | 3148 | nullable="1" | |
| 3063 | 3149 | allow-none="1"> | |
| 3064 | 3150 | <doc xml:space="preserve" | |
| 3065 | - | filename="gobject-2.0.c" | |
| 3066 | - | line="1816">additional data specified when | |
| 3151 | + | filename="gobject/gmarshal.c" | |
| 3152 | + | line="1417">additional data specified when | |
| 3067 | 3153 | registering the marshaller, see g_closure_set_marshal() and | |
| 3068 | 3154 | g_closure_set_meta_marshal()</doc> | |
| 3069 | 3155 | <type name="gpointer" c:type="gpointer"/> | |
| 3070 | 3156 | </parameter> | |
| 3071 | 3157 | <parameter name="n_params" transfer-ownership="none"> | |
| 3072 | 3158 | <doc xml:space="preserve" | |
| 3073 | - | filename="gobject-2.0.c" | |
| 3074 | - | line="1819">the length of the @param_types array</doc> | |
| 3159 | + | filename="gobject/gmarshal.c" | |
| 3160 | + | line="1420">the length of the @param_types array</doc> | |
| 3075 | 3161 | <type name="gint" c:type="int"/> | |
| 3076 | 3162 | </parameter> | |
| 3077 | 3163 | <parameter name="param_types" transfer-ownership="none"> | |
| 3078 | 3164 | <doc xml:space="preserve" | |
| 3079 | - | filename="gobject-2.0.c" | |
| 3080 | - | line="1820">the #GType of each argument from | |
| 3165 | + | filename="gobject/gmarshal.c" | |
| 3166 | + | line="1421">the #GType of each argument from | |
| 3081 | 3167 | @args.</doc> | |
| 3082 | 3168 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 3083 | 3169 | <type name="GType" c:type="GType"/> | |
| @@ -3088,36 +3174,38 @@ denotes a flags type.</doc> | |||
| 3088 | 3174 | <function name="marshal_VOID__UCHAR" | |
| 3089 | 3175 | c:identifier="g_cclosure_marshal_VOID__UCHAR"> | |
| 3090 | 3176 | <doc xml:space="preserve" | |
| 3091 | - | filename="gobject-2.0.c" | |
| 3092 | - | line="1827">A marshaller for a #GCClosure with a callback of type | |
| 3093 | - | `void (*callback) (gpointer instance, guchar arg1, gpointer user_data)`.</doc> | |
| 3094 | - | <source-position filename="gmarshal.h" line="75"/> | |
| 3177 | + | filename="gobject/gmarshal.c" | |
| 3178 | + | line="385">A #GClosureMarshal function for use with signals with a single | |
| 3179 | + | unsigned character argument.</doc> | |
| 3180 | + | <source-position filename="gobject/gmarshal.h" line="75"/> | |
| 3095 | 3181 | <return-value transfer-ownership="none"> | |
| 3096 | 3182 | <type name="none" c:type="void"/> | |
| 3097 | 3183 | </return-value> | |
| 3098 | 3184 | <parameters> | |
| 3099 | 3185 | <parameter name="closure" transfer-ownership="none"> | |
| 3100 | 3186 | <doc xml:space="preserve" | |
| 3101 | - | filename="gobject-2.0.c" | |
| 3102 | - | line="1829">the #GClosure to which the marshaller belongs</doc> | |
| 3187 | + | filename="gobject/gmarshal.c" | |
| 3188 | + | line="387">A #GClosure.</doc> | |
| 3103 | 3189 | <type name="Closure" c:type="GClosure*"/> | |
| 3104 | 3190 | </parameter> | |
| 3105 | 3191 | <parameter name="return_value" transfer-ownership="none"> | |
| 3106 | 3192 | <doc xml:space="preserve" | |
| 3107 | - | filename="gobject-2.0.c" | |
| 3108 | - | line="1830">ignored</doc> | |
| 3193 | + | filename="gobject/gmarshal.c" | |
| 3194 | + | line="388">A #GValue to store the return value. May be %NULL | |
| 3195 | + | if the callback of closure doesn't return a value.</doc> | |
| 3109 | 3196 | <type name="Value" c:type="GValue*"/> | |
| 3110 | 3197 | </parameter> | |
| 3111 | 3198 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 3112 | 3199 | <doc xml:space="preserve" | |
| 3113 | - | filename="gobject-2.0.c" | |
| 3114 | - | line="1831">2</doc> | |
| 3200 | + | filename="gobject/gmarshal.c" | |
| 3201 | + | line="390">The length of the @param_values array.</doc> | |
| 3115 | 3202 | <type name="guint" c:type="guint"/> | |
| 3116 | 3203 | </parameter> | |
| 3117 | 3204 | <parameter name="param_values" transfer-ownership="none"> | |
| 3118 | 3205 | <doc xml:space="preserve" | |
| 3119 | - | filename="gobject-2.0.c" | |
| 3120 | - | line="1832">a #GValue array holding the instance and the #guchar parameter</doc> | |
| 3206 | + | filename="gobject/gmarshal.c" | |
| 3207 | + | line="391">An array of #GValues holding the arguments | |
| 3208 | + | on which to invoke the callback of closure.</doc> | |
| 3121 | 3209 | <type name="Value" c:type="const GValue*"/> | |
| 3122 | 3210 | </parameter> | |
| 3123 | 3211 | <parameter name="invocation_hint" | |
| @@ -3125,9 +3213,9 @@ denotes a flags type.</doc> | |||
| 3125 | 3213 | nullable="1" | |
| 3126 | 3214 | allow-none="1"> | |
| 3127 | 3215 | <doc xml:space="preserve" | |
| 3128 | - | filename="gobject-2.0.c" | |
| 3129 | - | line="1833">the invocation hint given as the last argument | |
| 3130 | - | to g_closure_invoke()</doc> | |
| 3216 | + | filename="gobject/gmarshal.c" | |
| 3217 | + | line="393">The invocation hint given as the last argument to | |
| 3218 | + | g_closure_invoke().</doc> | |
| 3131 | 3219 | <type name="gpointer" c:type="gpointer"/> | |
| 3132 | 3220 | </parameter> | |
| 3133 | 3221 | <parameter name="marshal_data" | |
| @@ -3135,8 +3223,10 @@ denotes a flags type.</doc> | |||
| 3135 | 3223 | nullable="1" | |
| 3136 | 3224 | allow-none="1"> | |
| 3137 | 3225 | <doc xml:space="preserve" | |
| 3138 | - | filename="gobject-2.0.c" | |
| 3139 | - | line="1835">additional data specified when registering the marshaller</doc> | |
| 3226 | + | filename="gobject/gmarshal.c" | |
| 3227 | + | line="395">Additional data specified when registering the | |
| 3228 | + | marshaller, see g_closure_set_marshal() and | |
| 3229 | + | g_closure_set_meta_marshal()</doc> | |
| 3140 | 3230 | <type name="gpointer" c:type="gpointer"/> | |
| 3141 | 3231 | </parameter> | |
| 3142 | 3232 | </parameters> | |
| @@ -3145,17 +3235,17 @@ denotes a flags type.</doc> | |||
| 3145 | 3235 | c:identifier="g_cclosure_marshal_VOID__UCHARv" | |
| 3146 | 3236 | introspectable="0"> | |
| 3147 | 3237 | <doc xml:space="preserve" | |
| 3148 | - | filename="gobject-2.0.c" | |
| 3149 | - | line="1842">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UCHAR().</doc> | |
| 3150 | - | <source-position filename="gmarshal.h" line="82"/> | |
| 3238 | + | filename="gobject/gmarshal.c" | |
| 3239 | + | line="437">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UCHAR().</doc> | |
| 3240 | + | <source-position filename="gobject/gmarshal.h" line="82"/> | |
| 3151 | 3241 | <return-value transfer-ownership="none"> | |
| 3152 | 3242 | <type name="none" c:type="void"/> | |
| 3153 | 3243 | </return-value> | |
| 3154 | 3244 | <parameters> | |
| 3155 | 3245 | <parameter name="closure" transfer-ownership="none"> | |
| 3156 | 3246 | <doc xml:space="preserve" | |
| 3157 | - | filename="gobject-2.0.c" | |
| 3158 | - | line="1844">the #GClosure to which the marshaller belongs</doc> | |
| 3247 | + | filename="gobject/gmarshal.c" | |
| 3248 | + | line="439">the #GClosure to which the marshaller belongs</doc> | |
| 3159 | 3249 | <type name="Closure" c:type="GClosure*"/> | |
| 3160 | 3250 | </parameter> | |
| 3161 | 3251 | <parameter name="return_value" | |
| @@ -3163,22 +3253,22 @@ denotes a flags type.</doc> | |||
| 3163 | 3253 | nullable="1" | |
| 3164 | 3254 | allow-none="1"> | |
| 3165 | 3255 | <doc xml:space="preserve" | |
| 3166 | - | filename="gobject-2.0.c" | |
| 3167 | - | line="1845">a #GValue to store the return | |
| 3256 | + | filename="gobject/gmarshal.c" | |
| 3257 | + | line="440">a #GValue to store the return | |
| 3168 | 3258 | value. May be %NULL if the callback of @closure doesn't return a | |
| 3169 | 3259 | value.</doc> | |
| 3170 | 3260 | <type name="Value" c:type="GValue*"/> | |
| 3171 | 3261 | </parameter> | |
| 3172 | 3262 | <parameter name="instance" transfer-ownership="none"> | |
| 3173 | 3263 | <doc xml:space="preserve" | |
| 3174 | - | filename="gobject-2.0.c" | |
| 3175 | - | line="1848">the instance on which the closure is invoked.</doc> | |
| 3264 | + | filename="gobject/gmarshal.c" | |
| 3265 | + | line="443">the instance on which the closure is invoked.</doc> | |
| 3176 | 3266 | <type name="TypeInstance" c:type="gpointer"/> | |
| 3177 | 3267 | </parameter> | |
| 3178 | 3268 | <parameter name="args" transfer-ownership="none"> | |
| 3179 | 3269 | <doc xml:space="preserve" | |
| 3180 | - | filename="gobject-2.0.c" | |
| 3181 | - | line="1849">va_list of arguments to be passed to the closure.</doc> | |
| 3270 | + | filename="gobject/gmarshal.c" | |
| 3271 | + | line="444">va_list of arguments to be passed to the closure.</doc> | |
| 3182 | 3272 | <type name="va_list" c:type="va_list"/> | |
| 3183 | 3273 | </parameter> | |
| 3184 | 3274 | <parameter name="marshal_data" | |
| @@ -3186,22 +3276,22 @@ denotes a flags type.</doc> | |||
| 3186 | 3276 | nullable="1" | |
| 3187 | 3277 | allow-none="1"> | |
| 3188 | 3278 | <doc xml:space="preserve" | |
| 3189 | - | filename="gobject-2.0.c" | |
| 3190 | - | line="1850">additional data specified when | |
| 3279 | + | filename="gobject/gmarshal.c" | |
| 3280 | + | line="445">additional data specified when | |
| 3191 | 3281 | registering the marshaller, see g_closure_set_marshal() and | |
| 3192 | 3282 | g_closure_set_meta_marshal()</doc> | |
| 3193 | 3283 | <type name="gpointer" c:type="gpointer"/> | |
| 3194 | 3284 | </parameter> | |
| 3195 | 3285 | <parameter name="n_params" transfer-ownership="none"> | |
| 3196 | 3286 | <doc xml:space="preserve" | |
| 3197 | - | filename="gobject-2.0.c" | |
| 3198 | - | line="1853">the length of the @param_types array</doc> | |
| 3287 | + | filename="gobject/gmarshal.c" | |
| 3288 | + | line="448">the length of the @param_types array</doc> | |
| 3199 | 3289 | <type name="gint" c:type="int"/> | |
| 3200 | 3290 | </parameter> | |
| 3201 | 3291 | <parameter name="param_types" transfer-ownership="none"> | |
| 3202 | 3292 | <doc xml:space="preserve" | |
| 3203 | - | filename="gobject-2.0.c" | |
| 3204 | - | line="1854">the #GType of each argument from | |
| 3293 | + | filename="gobject/gmarshal.c" | |
| 3294 | + | line="449">the #GType of each argument from | |
| 3205 | 3295 | @args.</doc> | |
| 3206 | 3296 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 3207 | 3297 | <type name="GType" c:type="GType"/> | |
| @@ -3212,36 +3302,38 @@ denotes a flags type.</doc> | |||
| 3212 | 3302 | <function name="marshal_VOID__UINT" | |
| 3213 | 3303 | c:identifier="g_cclosure_marshal_VOID__UINT"> | |
| 3214 | 3304 | <doc xml:space="preserve" | |
| 3215 | - | filename="gobject-2.0.c" | |
| 3216 | - | line="1861">A marshaller for a #GCClosure with a callback of type | |
| 3217 | - | `void (*callback) (gpointer instance, guint arg1, gpointer user_data)`.</doc> | |
| 3218 | - | <source-position filename="gmarshal.h" line="109"/> | |
| 3305 | + | filename="gobject/gmarshal.c" | |
| 3306 | + | line="601">A #GClosureMarshal function for use with signals with with a single | |
| 3307 | + | unsigned integer argument.</doc> | |
| 3308 | + | <source-position filename="gobject/gmarshal.h" line="109"/> | |
| 3219 | 3309 | <return-value transfer-ownership="none"> | |
| 3220 | 3310 | <type name="none" c:type="void"/> | |
| 3221 | 3311 | </return-value> | |
| 3222 | 3312 | <parameters> | |
| 3223 | 3313 | <parameter name="closure" transfer-ownership="none"> | |
| 3224 | 3314 | <doc xml:space="preserve" | |
| 3225 | - | filename="gobject-2.0.c" | |
| 3226 | - | line="1863">the #GClosure to which the marshaller belongs</doc> | |
| 3315 | + | filename="gobject/gmarshal.c" | |
| 3316 | + | line="603">A #GClosure.</doc> | |
| 3227 | 3317 | <type name="Closure" c:type="GClosure*"/> | |
| 3228 | 3318 | </parameter> | |
| 3229 | 3319 | <parameter name="return_value" transfer-ownership="none"> | |
| 3230 | 3320 | <doc xml:space="preserve" | |
| 3231 | - | filename="gobject-2.0.c" | |
| 3232 | - | line="1864">ignored</doc> | |
| 3321 | + | filename="gobject/gmarshal.c" | |
| 3322 | + | line="604">A #GValue to store the return value. May be %NULL | |
| 3323 | + | if the callback of closure doesn't return a value.</doc> | |
| 3233 | 3324 | <type name="Value" c:type="GValue*"/> | |
| 3234 | 3325 | </parameter> | |
| 3235 | 3326 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 3236 | 3327 | <doc xml:space="preserve" | |
| 3237 | - | filename="gobject-2.0.c" | |
| 3238 | - | line="1865">2</doc> | |
| 3328 | + | filename="gobject/gmarshal.c" | |
| 3329 | + | line="606">The length of the @param_values array.</doc> | |
| 3239 | 3330 | <type name="guint" c:type="guint"/> | |
| 3240 | 3331 | </parameter> | |
| 3241 | 3332 | <parameter name="param_values" transfer-ownership="none"> | |
| 3242 | 3333 | <doc xml:space="preserve" | |
| 3243 | - | filename="gobject-2.0.c" | |
| 3244 | - | line="1866">a #GValue array holding the instance and the #guint parameter</doc> | |
| 3334 | + | filename="gobject/gmarshal.c" | |
| 3335 | + | line="607">An array of #GValues holding the arguments | |
| 3336 | + | on which to invoke the callback of closure.</doc> | |
| 3245 | 3337 | <type name="Value" c:type="const GValue*"/> | |
| 3246 | 3338 | </parameter> | |
| 3247 | 3339 | <parameter name="invocation_hint" | |
| @@ -3249,9 +3341,9 @@ denotes a flags type.</doc> | |||
| 3249 | 3341 | nullable="1" | |
| 3250 | 3342 | allow-none="1"> | |
| 3251 | 3343 | <doc xml:space="preserve" | |
| 3252 | - | filename="gobject-2.0.c" | |
| 3253 | - | line="1867">the invocation hint given as the last argument | |
| 3254 | - | to g_closure_invoke()</doc> | |
| 3344 | + | filename="gobject/gmarshal.c" | |
| 3345 | + | line="609">The invocation hint given as the last argument to | |
| 3346 | + | g_closure_invoke().</doc> | |
| 3255 | 3347 | <type name="gpointer" c:type="gpointer"/> | |
| 3256 | 3348 | </parameter> | |
| 3257 | 3349 | <parameter name="marshal_data" | |
| @@ -3259,8 +3351,10 @@ denotes a flags type.</doc> | |||
| 3259 | 3351 | nullable="1" | |
| 3260 | 3352 | allow-none="1"> | |
| 3261 | 3353 | <doc xml:space="preserve" | |
| 3262 | - | filename="gobject-2.0.c" | |
| 3263 | - | line="1869">additional data specified when registering the marshaller</doc> | |
| 3354 | + | filename="gobject/gmarshal.c" | |
| 3355 | + | line="611">Additional data specified when registering the | |
| 3356 | + | marshaller, see g_closure_set_marshal() and | |
| 3357 | + | g_closure_set_meta_marshal()</doc> | |
| 3264 | 3358 | <type name="gpointer" c:type="gpointer"/> | |
| 3265 | 3359 | </parameter> | |
| 3266 | 3360 | </parameters> | |
| @@ -3268,36 +3362,38 @@ denotes a flags type.</doc> | |||
| 3268 | 3362 | <function name="marshal_VOID__UINT_POINTER" | |
| 3269 | 3363 | c:identifier="g_cclosure_marshal_VOID__UINT_POINTER"> | |
| 3270 | 3364 | <doc xml:space="preserve" | |
| 3271 | - | filename="gobject-2.0.c" | |
| 3272 | - | line="1876">A marshaller for a #GCClosure with a callback of type | |
| 3273 | - | `void (*callback) (gpointer instance, guint arg1, gpointer arg2, gpointer user_data)`.</doc> | |
| 3274 | - | <source-position filename="gmarshal.h" line="330"/> | |
| 3365 | + | filename="gobject/gmarshal.c" | |
| 3366 | + | line="2029">A #GClosureMarshal function for use with signals with an unsigned int | |
| 3367 | + | and a pointer as arguments.</doc> | |
| 3368 | + | <source-position filename="gobject/gmarshal.h" line="330"/> | |
| 3275 | 3369 | <return-value transfer-ownership="none"> | |
| 3276 | 3370 | <type name="none" c:type="void"/> | |
| 3277 | 3371 | </return-value> | |
| 3278 | 3372 | <parameters> | |
| 3279 | 3373 | <parameter name="closure" transfer-ownership="none"> | |
| 3280 | 3374 | <doc xml:space="preserve" | |
| 3281 | - | filename="gobject-2.0.c" | |
| 3282 | - | line="1878">the #GClosure to which the marshaller belongs</doc> | |
| 3375 | + | filename="gobject/gmarshal.c" | |
| 3376 | + | line="2031">A #GClosure.</doc> | |
| 3283 | 3377 | <type name="Closure" c:type="GClosure*"/> | |
| 3284 | 3378 | </parameter> | |
| 3285 | 3379 | <parameter name="return_value" transfer-ownership="none"> | |
| 3286 | 3380 | <doc xml:space="preserve" | |
| 3287 | - | filename="gobject-2.0.c" | |
| 3288 | - | line="1879">ignored</doc> | |
| 3381 | + | filename="gobject/gmarshal.c" | |
| 3382 | + | line="2032">A #GValue to store the return value. May be %NULL | |
| 3383 | + | if the callback of closure doesn't return a value.</doc> | |
| 3289 | 3384 | <type name="Value" c:type="GValue*"/> | |
| 3290 | 3385 | </parameter> | |
| 3291 | 3386 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 3292 | 3387 | <doc xml:space="preserve" | |
| 3293 | - | filename="gobject-2.0.c" | |
| 3294 | - | line="1880">3</doc> | |
| 3388 | + | filename="gobject/gmarshal.c" | |
| 3389 | + | line="2034">The length of the @param_values array.</doc> | |
| 3295 | 3390 | <type name="guint" c:type="guint"/> | |
| 3296 | 3391 | </parameter> | |
| 3297 | 3392 | <parameter name="param_values" transfer-ownership="none"> | |
| 3298 | 3393 | <doc xml:space="preserve" | |
| 3299 | - | filename="gobject-2.0.c" | |
| 3300 | - | line="1881">a #GValue array holding instance, arg1 and arg2</doc> | |
| 3394 | + | filename="gobject/gmarshal.c" | |
| 3395 | + | line="2035">An array of #GValues holding the arguments | |
| 3396 | + | on which to invoke the callback of closure.</doc> | |
| 3301 | 3397 | <type name="Value" c:type="const GValue*"/> | |
| 3302 | 3398 | </parameter> | |
| 3303 | 3399 | <parameter name="invocation_hint" | |
| @@ -3305,9 +3401,9 @@ denotes a flags type.</doc> | |||
| 3305 | 3401 | nullable="1" | |
| 3306 | 3402 | allow-none="1"> | |
| 3307 | 3403 | <doc xml:space="preserve" | |
| 3308 | - | filename="gobject-2.0.c" | |
| 3309 | - | line="1882">the invocation hint given as the last argument | |
| 3310 | - | to g_closure_invoke()</doc> | |
| 3404 | + | filename="gobject/gmarshal.c" | |
| 3405 | + | line="2037">The invocation hint given as the last argument to | |
| 3406 | + | g_closure_invoke().</doc> | |
| 3311 | 3407 | <type name="gpointer" c:type="gpointer"/> | |
| 3312 | 3408 | </parameter> | |
| 3313 | 3409 | <parameter name="marshal_data" | |
| @@ -3315,8 +3411,10 @@ denotes a flags type.</doc> | |||
| 3315 | 3411 | nullable="1" | |
| 3316 | 3412 | allow-none="1"> | |
| 3317 | 3413 | <doc xml:space="preserve" | |
| 3318 | - | filename="gobject-2.0.c" | |
| 3319 | - | line="1884">additional data specified when registering the marshaller</doc> | |
| 3414 | + | filename="gobject/gmarshal.c" | |
| 3415 | + | line="2039">Additional data specified when registering the | |
| 3416 | + | marshaller, see g_closure_set_marshal() and | |
| 3417 | + | g_closure_set_meta_marshal()</doc> | |
| 3320 | 3418 | <type name="gpointer" c:type="gpointer"/> | |
| 3321 | 3419 | </parameter> | |
| 3322 | 3420 | </parameters> | |
| @@ -3325,17 +3423,17 @@ denotes a flags type.</doc> | |||
| 3325 | 3423 | c:identifier="g_cclosure_marshal_VOID__UINT_POINTERv" | |
| 3326 | 3424 | introspectable="0"> | |
| 3327 | 3425 | <doc xml:space="preserve" | |
| 3328 | - | filename="gobject-2.0.c" | |
| 3329 | - | line="1891">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UINT_POINTER().</doc> | |
| 3330 | - | <source-position filename="gmarshal.h" line="337"/> | |
| 3426 | + | filename="gobject/gmarshal.c" | |
| 3427 | + | line="2083">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UINT_POINTER().</doc> | |
| 3428 | + | <source-position filename="gobject/gmarshal.h" line="337"/> | |
| 3331 | 3429 | <return-value transfer-ownership="none"> | |
| 3332 | 3430 | <type name="none" c:type="void"/> | |
| 3333 | 3431 | </return-value> | |
| 3334 | 3432 | <parameters> | |
| 3335 | 3433 | <parameter name="closure" transfer-ownership="none"> | |
| 3336 | 3434 | <doc xml:space="preserve" | |
| 3337 | - | filename="gobject-2.0.c" | |
| 3338 | - | line="1893">the #GClosure to which the marshaller belongs</doc> | |
| 3435 | + | filename="gobject/gmarshal.c" | |
| 3436 | + | line="2085">the #GClosure to which the marshaller belongs</doc> | |
| 3339 | 3437 | <type name="Closure" c:type="GClosure*"/> | |
| 3340 | 3438 | </parameter> | |
| 3341 | 3439 | <parameter name="return_value" | |
| @@ -3343,22 +3441,22 @@ denotes a flags type.</doc> | |||
| 3343 | 3441 | nullable="1" | |
| 3344 | 3442 | allow-none="1"> | |
| 3345 | 3443 | <doc xml:space="preserve" | |
| 3346 | - | filename="gobject-2.0.c" | |
| 3347 | - | line="1894">a #GValue to store the return | |
| 3444 | + | filename="gobject/gmarshal.c" | |
| 3445 | + | line="2086">a #GValue to store the return | |
| 3348 | 3446 | value. May be %NULL if the callback of @closure doesn't return a | |
| 3349 | 3447 | value.</doc> | |
| 3350 | 3448 | <type name="Value" c:type="GValue*"/> | |
| 3351 | 3449 | </parameter> | |
| 3352 | 3450 | <parameter name="instance" transfer-ownership="none"> | |
| 3353 | 3451 | <doc xml:space="preserve" | |
| 3354 | - | filename="gobject-2.0.c" | |
| 3355 | - | line="1897">the instance on which the closure is invoked.</doc> | |
| 3452 | + | filename="gobject/gmarshal.c" | |
| 3453 | + | line="2089">the instance on which the closure is invoked.</doc> | |
| 3356 | 3454 | <type name="TypeInstance" c:type="gpointer"/> | |
| 3357 | 3455 | </parameter> | |
| 3358 | 3456 | <parameter name="args" transfer-ownership="none"> | |
| 3359 | 3457 | <doc xml:space="preserve" | |
| 3360 | - | filename="gobject-2.0.c" | |
| 3361 | - | line="1898">va_list of arguments to be passed to the closure.</doc> | |
| 3458 | + | filename="gobject/gmarshal.c" | |
| 3459 | + | line="2090">va_list of arguments to be passed to the closure.</doc> | |
| 3362 | 3460 | <type name="va_list" c:type="va_list"/> | |
| 3363 | 3461 | </parameter> | |
| 3364 | 3462 | <parameter name="marshal_data" | |
| @@ -3366,22 +3464,22 @@ denotes a flags type.</doc> | |||
| 3366 | 3464 | nullable="1" | |
| 3367 | 3465 | allow-none="1"> | |
| 3368 | 3466 | <doc xml:space="preserve" | |
| 3369 | - | filename="gobject-2.0.c" | |
| 3370 | - | line="1899">additional data specified when | |
| 3467 | + | filename="gobject/gmarshal.c" | |
| 3468 | + | line="2091">additional data specified when | |
| 3371 | 3469 | registering the marshaller, see g_closure_set_marshal() and | |
| 3372 | 3470 | g_closure_set_meta_marshal()</doc> | |
| 3373 | 3471 | <type name="gpointer" c:type="gpointer"/> | |
| 3374 | 3472 | </parameter> | |
| 3375 | 3473 | <parameter name="n_params" transfer-ownership="none"> | |
| 3376 | 3474 | <doc xml:space="preserve" | |
| 3377 | - | filename="gobject-2.0.c" | |
| 3378 | - | line="1902">the length of the @param_types array</doc> | |
| 3475 | + | filename="gobject/gmarshal.c" | |
| 3476 | + | line="2094">the length of the @param_types array</doc> | |
| 3379 | 3477 | <type name="gint" c:type="int"/> | |
| 3380 | 3478 | </parameter> | |
| 3381 | 3479 | <parameter name="param_types" transfer-ownership="none"> | |
| 3382 | 3480 | <doc xml:space="preserve" | |
| 3383 | - | filename="gobject-2.0.c" | |
| 3384 | - | line="1903">the #GType of each argument from | |
| 3481 | + | filename="gobject/gmarshal.c" | |
| 3482 | + | line="2095">the #GType of each argument from | |
| 3385 | 3483 | @args.</doc> | |
| 3386 | 3484 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 3387 | 3485 | <type name="GType" c:type="GType"/> | |
| @@ -3393,17 +3491,17 @@ denotes a flags type.</doc> | |||
| 3393 | 3491 | c:identifier="g_cclosure_marshal_VOID__UINTv" | |
| 3394 | 3492 | introspectable="0"> | |
| 3395 | 3493 | <doc xml:space="preserve" | |
| 3396 | - | filename="gobject-2.0.c" | |
| 3397 | - | line="1910">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UINT().</doc> | |
| 3398 | - | <source-position filename="gmarshal.h" line="116"/> | |
| 3494 | + | filename="gobject/gmarshal.c" | |
| 3495 | + | line="653">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__UINT().</doc> | |
| 3496 | + | <source-position filename="gobject/gmarshal.h" line="116"/> | |
| 3399 | 3497 | <return-value transfer-ownership="none"> | |
| 3400 | 3498 | <type name="none" c:type="void"/> | |
| 3401 | 3499 | </return-value> | |
| 3402 | 3500 | <parameters> | |
| 3403 | 3501 | <parameter name="closure" transfer-ownership="none"> | |
| 3404 | 3502 | <doc xml:space="preserve" | |
| 3405 | - | filename="gobject-2.0.c" | |
| 3406 | - | line="1912">the #GClosure to which the marshaller belongs</doc> | |
| 3503 | + | filename="gobject/gmarshal.c" | |
| 3504 | + | line="655">the #GClosure to which the marshaller belongs</doc> | |
| 3407 | 3505 | <type name="Closure" c:type="GClosure*"/> | |
| 3408 | 3506 | </parameter> | |
| 3409 | 3507 | <parameter name="return_value" | |
| @@ -3411,22 +3509,22 @@ denotes a flags type.</doc> | |||
| 3411 | 3509 | nullable="1" | |
| 3412 | 3510 | allow-none="1"> | |
| 3413 | 3511 | <doc xml:space="preserve" | |
| 3414 | - | filename="gobject-2.0.c" | |
| 3415 | - | line="1913">a #GValue to store the return | |
| 3512 | + | filename="gobject/gmarshal.c" | |
| 3513 | + | line="656">a #GValue to store the return | |
| 3416 | 3514 | value. May be %NULL if the callback of @closure doesn't return a | |
| 3417 | 3515 | value.</doc> | |
| 3418 | 3516 | <type name="Value" c:type="GValue*"/> | |
| 3419 | 3517 | </parameter> | |
| 3420 | 3518 | <parameter name="instance" transfer-ownership="none"> | |
| 3421 | 3519 | <doc xml:space="preserve" | |
| 3422 | - | filename="gobject-2.0.c" | |
| 3423 | - | line="1916">the instance on which the closure is invoked.</doc> | |
| 3520 | + | filename="gobject/gmarshal.c" | |
| 3521 | + | line="659">the instance on which the closure is invoked.</doc> | |
| 3424 | 3522 | <type name="TypeInstance" c:type="gpointer"/> | |
| 3425 | 3523 | </parameter> | |
| 3426 | 3524 | <parameter name="args" transfer-ownership="none"> | |
| 3427 | 3525 | <doc xml:space="preserve" | |
| 3428 | - | filename="gobject-2.0.c" | |
| 3429 | - | line="1917">va_list of arguments to be passed to the closure.</doc> | |
| 3526 | + | filename="gobject/gmarshal.c" | |
| 3527 | + | line="660">va_list of arguments to be passed to the closure.</doc> | |
| 3430 | 3528 | <type name="va_list" c:type="va_list"/> | |
| 3431 | 3529 | </parameter> | |
| 3432 | 3530 | <parameter name="marshal_data" | |
| @@ -3434,22 +3532,22 @@ denotes a flags type.</doc> | |||
| 3434 | 3532 | nullable="1" | |
| 3435 | 3533 | allow-none="1"> | |
| 3436 | 3534 | <doc xml:space="preserve" | |
| 3437 | - | filename="gobject-2.0.c" | |
| 3438 | - | line="1918">additional data specified when | |
| 3535 | + | filename="gobject/gmarshal.c" | |
| 3536 | + | line="661">additional data specified when | |
| 3439 | 3537 | registering the marshaller, see g_closure_set_marshal() and | |
| 3440 | 3538 | g_closure_set_meta_marshal()</doc> | |
| 3441 | 3539 | <type name="gpointer" c:type="gpointer"/> | |
| 3442 | 3540 | </parameter> | |
| 3443 | 3541 | <parameter name="n_params" transfer-ownership="none"> | |
| 3444 | 3542 | <doc xml:space="preserve" | |
| 3445 | - | filename="gobject-2.0.c" | |
| 3446 | - | line="1921">the length of the @param_types array</doc> | |
| 3543 | + | filename="gobject/gmarshal.c" | |
| 3544 | + | line="664">the length of the @param_types array</doc> | |
| 3447 | 3545 | <type name="gint" c:type="int"/> | |
| 3448 | 3546 | </parameter> | |
| 3449 | 3547 | <parameter name="param_types" transfer-ownership="none"> | |
| 3450 | 3548 | <doc xml:space="preserve" | |
| 3451 | - | filename="gobject-2.0.c" | |
| 3452 | - | line="1922">the #GType of each argument from | |
| 3549 | + | filename="gobject/gmarshal.c" | |
| 3550 | + | line="665">the #GType of each argument from | |
| 3453 | 3551 | @args.</doc> | |
| 3454 | 3552 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 3455 | 3553 | <type name="GType" c:type="GType"/> | |
| @@ -3460,36 +3558,38 @@ denotes a flags type.</doc> | |||
| 3460 | 3558 | <function name="marshal_VOID__ULONG" | |
| 3461 | 3559 | c:identifier="g_cclosure_marshal_VOID__ULONG"> | |
| 3462 | 3560 | <doc xml:space="preserve" | |
| 3463 | - | filename="gobject-2.0.c" | |
| 3464 | - | line="1929">A marshaller for a #GCClosure with a callback of type | |
| 3465 | - | `void (*callback) (gpointer instance, gulong arg1, gpointer user_data)`.</doc> | |
| 3466 | - | <source-position filename="gmarshal.h" line="143"/> | |
| 3561 | + | filename="gobject/gmarshal.c" | |
| 3562 | + | line="817">A #GClosureMarshal function for use with signals with a single | |
| 3563 | + | unsigned long integer argument.</doc> | |
| 3564 | + | <source-position filename="gobject/gmarshal.h" line="143"/> | |
| 3467 | 3565 | <return-value transfer-ownership="none"> | |
| 3468 | 3566 | <type name="none" c:type="void"/> | |
| 3469 | 3567 | </return-value> | |
| 3470 | 3568 | <parameters> | |
| 3471 | 3569 | <parameter name="closure" transfer-ownership="none"> | |
| 3472 | 3570 | <doc xml:space="preserve" | |
| 3473 | - | filename="gobject-2.0.c" | |
| 3474 | - | line="1931">the #GClosure to which the marshaller belongs</doc> | |
| 3571 | + | filename="gobject/gmarshal.c" | |
| 3572 | + | line="819">A #GClosure.</doc> | |
| 3475 | 3573 | <type name="Closure" c:type="GClosure*"/> | |
| 3476 | 3574 | </parameter> | |
| 3477 | 3575 | <parameter name="return_value" transfer-ownership="none"> | |
| 3478 | 3576 | <doc xml:space="preserve" | |
| 3479 | - | filename="gobject-2.0.c" | |
| 3480 | - | line="1932">ignored</doc> | |
| 3577 | + | filename="gobject/gmarshal.c" | |
| 3578 | + | line="820">A #GValue to store the return value. May be %NULL | |
| 3579 | + | if the callback of closure doesn't return a value.</doc> | |
| 3481 | 3580 | <type name="Value" c:type="GValue*"/> | |
| 3482 | 3581 | </parameter> | |
| 3483 | 3582 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 3484 | 3583 | <doc xml:space="preserve" | |
| 3485 | - | filename="gobject-2.0.c" | |
| 3486 | - | line="1933">2</doc> | |
| 3584 | + | filename="gobject/gmarshal.c" | |
| 3585 | + | line="822">The length of the @param_values array.</doc> | |
| 3487 | 3586 | <type name="guint" c:type="guint"/> | |
| 3488 | 3587 | </parameter> | |
| 3489 | 3588 | <parameter name="param_values" transfer-ownership="none"> | |
| 3490 | 3589 | <doc xml:space="preserve" | |
| 3491 | - | filename="gobject-2.0.c" | |
| 3492 | - | line="1934">a #GValue array holding the instance and the #gulong parameter</doc> | |
| 3590 | + | filename="gobject/gmarshal.c" | |
| 3591 | + | line="823">An array of #GValues holding the arguments | |
| 3592 | + | on which to invoke the callback of closure.</doc> | |
| 3493 | 3593 | <type name="Value" c:type="const GValue*"/> | |
| 3494 | 3594 | </parameter> | |
| 3495 | 3595 | <parameter name="invocation_hint" | |
| @@ -3497,9 +3597,9 @@ denotes a flags type.</doc> | |||
| 3497 | 3597 | nullable="1" | |
| 3498 | 3598 | allow-none="1"> | |
| 3499 | 3599 | <doc xml:space="preserve" | |
| 3500 | - | filename="gobject-2.0.c" | |
| 3501 | - | line="1935">the invocation hint given as the last argument | |
| 3502 | - | to g_closure_invoke()</doc> | |
| 3600 | + | filename="gobject/gmarshal.c" | |
| 3601 | + | line="825">The invocation hint given as the last argument to | |
| 3602 | + | g_closure_invoke().</doc> | |
| 3503 | 3603 | <type name="gpointer" c:type="gpointer"/> | |
| 3504 | 3604 | </parameter> | |
| 3505 | 3605 | <parameter name="marshal_data" | |
| @@ -3507,8 +3607,10 @@ denotes a flags type.</doc> | |||
| 3507 | 3607 | nullable="1" | |
| 3508 | 3608 | allow-none="1"> | |
| 3509 | 3609 | <doc xml:space="preserve" | |
| 3510 | - | filename="gobject-2.0.c" | |
| 3511 | - | line="1937">additional data specified when registering the marshaller</doc> | |
| 3610 | + | filename="gobject/gmarshal.c" | |
| 3611 | + | line="827">Additional data specified when registering the | |
| 3612 | + | marshaller, see g_closure_set_marshal() and | |
| 3613 | + | g_closure_set_meta_marshal()</doc> | |
| 3512 | 3614 | <type name="gpointer" c:type="gpointer"/> | |
| 3513 | 3615 | </parameter> | |
| 3514 | 3616 | </parameters> | |
| @@ -3517,17 +3619,17 @@ denotes a flags type.</doc> | |||
| 3517 | 3619 | c:identifier="g_cclosure_marshal_VOID__ULONGv" | |
| 3518 | 3620 | introspectable="0"> | |
| 3519 | 3621 | <doc xml:space="preserve" | |
| 3520 | - | filename="gobject-2.0.c" | |
| 3521 | - | line="1944">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__ULONG().</doc> | |
| 3522 | - | <source-position filename="gmarshal.h" line="150"/> | |
| 3622 | + | filename="gobject/gmarshal.c" | |
| 3623 | + | line="869">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__ULONG().</doc> | |
| 3624 | + | <source-position filename="gobject/gmarshal.h" line="150"/> | |
| 3523 | 3625 | <return-value transfer-ownership="none"> | |
| 3524 | 3626 | <type name="none" c:type="void"/> | |
| 3525 | 3627 | </return-value> | |
| 3526 | 3628 | <parameters> | |
| 3527 | 3629 | <parameter name="closure" transfer-ownership="none"> | |
| 3528 | 3630 | <doc xml:space="preserve" | |
| 3529 | - | filename="gobject-2.0.c" | |
| 3530 | - | line="1946">the #GClosure to which the marshaller belongs</doc> | |
| 3631 | + | filename="gobject/gmarshal.c" | |
| 3632 | + | line="871">the #GClosure to which the marshaller belongs</doc> | |
| 3531 | 3633 | <type name="Closure" c:type="GClosure*"/> | |
| 3532 | 3634 | </parameter> | |
| 3533 | 3635 | <parameter name="return_value" | |
| @@ -3535,22 +3637,22 @@ denotes a flags type.</doc> | |||
| 3535 | 3637 | nullable="1" | |
| 3536 | 3638 | allow-none="1"> | |
| 3537 | 3639 | <doc xml:space="preserve" | |
| 3538 | - | filename="gobject-2.0.c" | |
| 3539 | - | line="1947">a #GValue to store the return | |
| 3640 | + | filename="gobject/gmarshal.c" | |
| 3641 | + | line="872">a #GValue to store the return | |
| 3540 | 3642 | value. May be %NULL if the callback of @closure doesn't return a | |
| 3541 | 3643 | value.</doc> | |
| 3542 | 3644 | <type name="Value" c:type="GValue*"/> | |
| 3543 | 3645 | </parameter> | |
| 3544 | 3646 | <parameter name="instance" transfer-ownership="none"> | |
| 3545 | 3647 | <doc xml:space="preserve" | |
| 3546 | - | filename="gobject-2.0.c" | |
| 3547 | - | line="1950">the instance on which the closure is invoked.</doc> | |
| 3648 | + | filename="gobject/gmarshal.c" | |
| 3649 | + | line="875">the instance on which the closure is invoked.</doc> | |
| 3548 | 3650 | <type name="TypeInstance" c:type="gpointer"/> | |
| 3549 | 3651 | </parameter> | |
| 3550 | 3652 | <parameter name="args" transfer-ownership="none"> | |
| 3551 | 3653 | <doc xml:space="preserve" | |
| 3552 | - | filename="gobject-2.0.c" | |
| 3553 | - | line="1951">va_list of arguments to be passed to the closure.</doc> | |
| 3654 | + | filename="gobject/gmarshal.c" | |
| 3655 | + | line="876">va_list of arguments to be passed to the closure.</doc> | |
| 3554 | 3656 | <type name="va_list" c:type="va_list"/> | |
| 3555 | 3657 | </parameter> | |
| 3556 | 3658 | <parameter name="marshal_data" | |
| @@ -3558,22 +3660,22 @@ denotes a flags type.</doc> | |||
| 3558 | 3660 | nullable="1" | |
| 3559 | 3661 | allow-none="1"> | |
| 3560 | 3662 | <doc xml:space="preserve" | |
| 3561 | - | filename="gobject-2.0.c" | |
| 3562 | - | line="1952">additional data specified when | |
| 3663 | + | filename="gobject/gmarshal.c" | |
| 3664 | + | line="877">additional data specified when | |
| 3563 | 3665 | registering the marshaller, see g_closure_set_marshal() and | |
| 3564 | 3666 | g_closure_set_meta_marshal()</doc> | |
| 3565 | 3667 | <type name="gpointer" c:type="gpointer"/> | |
| 3566 | 3668 | </parameter> | |
| 3567 | 3669 | <parameter name="n_params" transfer-ownership="none"> | |
| 3568 | 3670 | <doc xml:space="preserve" | |
| 3569 | - | filename="gobject-2.0.c" | |
| 3570 | - | line="1955">the length of the @param_types array</doc> | |
| 3671 | + | filename="gobject/gmarshal.c" | |
| 3672 | + | line="880">the length of the @param_types array</doc> | |
| 3571 | 3673 | <type name="gint" c:type="int"/> | |
| 3572 | 3674 | </parameter> | |
| 3573 | 3675 | <parameter name="param_types" transfer-ownership="none"> | |
| 3574 | 3676 | <doc xml:space="preserve" | |
| 3575 | - | filename="gobject-2.0.c" | |
| 3576 | - | line="1956">the #GType of each argument from | |
| 3677 | + | filename="gobject/gmarshal.c" | |
| 3678 | + | line="881">the #GType of each argument from | |
| 3577 | 3679 | @args.</doc> | |
| 3578 | 3680 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 3579 | 3681 | <type name="GType" c:type="GType"/> | |
| @@ -3582,39 +3684,40 @@ denotes a flags type.</doc> | |||
| 3582 | 3684 | </parameters> | |
| 3583 | 3685 | </function> | |
| 3584 | 3686 | <function name="marshal_VOID__VARIANT" | |
| 3585 | - | c:identifier="g_cclosure_marshal_VOID__VARIANT" | |
| 3586 | - | version="2.26"> | |
| 3687 | + | c:identifier="g_cclosure_marshal_VOID__VARIANT"> | |
| 3587 | 3688 | <doc xml:space="preserve" | |
| 3588 | - | filename="gobject-2.0.c" | |
| 3589 | - | line="1963">A marshaller for a #GCClosure with a callback of type | |
| 3590 | - | `void (*callback) (gpointer instance, GVariant *arg1, gpointer user_data)`.</doc> | |
| 3591 | - | <source-position filename="gmarshal.h" line="313"/> | |
| 3689 | + | filename="gobject/gmarshal.c" | |
| 3690 | + | line="1917">A #GClosureMarshal function for use with signals with a single | |
| 3691 | + | #GVariant argument.</doc> | |
| 3692 | + | <source-position filename="gobject/gmarshal.h" line="313"/> | |
| 3592 | 3693 | <return-value transfer-ownership="none"> | |
| 3593 | 3694 | <type name="none" c:type="void"/> | |
| 3594 | 3695 | </return-value> | |
| 3595 | 3696 | <parameters> | |
| 3596 | 3697 | <parameter name="closure" transfer-ownership="none"> | |
| 3597 | 3698 | <doc xml:space="preserve" | |
| 3598 | - | filename="gobject-2.0.c" | |
| 3599 | - | line="1965">the #GClosure to which the marshaller belongs</doc> | |
| 3699 | + | filename="gobject/gmarshal.c" | |
| 3700 | + | line="1919">A #GClosure.</doc> | |
| 3600 | 3701 | <type name="Closure" c:type="GClosure*"/> | |
| 3601 | 3702 | </parameter> | |
| 3602 | 3703 | <parameter name="return_value" transfer-ownership="none"> | |
| 3603 | 3704 | <doc xml:space="preserve" | |
| 3604 | - | filename="gobject-2.0.c" | |
| 3605 | - | line="1966">ignored</doc> | |
| 3705 | + | filename="gobject/gmarshal.c" | |
| 3706 | + | line="1920">A #GValue to store the return value. May be %NULL | |
| 3707 | + | if the callback of closure doesn't return a value.</doc> | |
| 3606 | 3708 | <type name="Value" c:type="GValue*"/> | |
| 3607 | 3709 | </parameter> | |
| 3608 | 3710 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 3609 | 3711 | <doc xml:space="preserve" | |
| 3610 | - | filename="gobject-2.0.c" | |
| 3611 | - | line="1967">2</doc> | |
| 3712 | + | filename="gobject/gmarshal.c" | |
| 3713 | + | line="1922">The length of the @param_values array.</doc> | |
| 3612 | 3714 | <type name="guint" c:type="guint"/> | |
| 3613 | 3715 | </parameter> | |
| 3614 | 3716 | <parameter name="param_values" transfer-ownership="none"> | |
| 3615 | 3717 | <doc xml:space="preserve" | |
| 3616 | - | filename="gobject-2.0.c" | |
| 3617 | - | line="1968">a #GValue array holding the instance and the #GVariant* parameter</doc> | |
| 3718 | + | filename="gobject/gmarshal.c" | |
| 3719 | + | line="1923">An array of #GValues holding the arguments | |
| 3720 | + | on which to invoke the callback of closure.</doc> | |
| 3618 | 3721 | <type name="Value" c:type="const GValue*"/> | |
| 3619 | 3722 | </parameter> | |
| 3620 | 3723 | <parameter name="invocation_hint" | |
| @@ -3622,9 +3725,9 @@ denotes a flags type.</doc> | |||
| 3622 | 3725 | nullable="1" | |
| 3623 | 3726 | allow-none="1"> | |
| 3624 | 3727 | <doc xml:space="preserve" | |
| 3625 | - | filename="gobject-2.0.c" | |
| 3626 | - | line="1969">the invocation hint given as the last argument | |
| 3627 | - | to g_closure_invoke()</doc> | |
| 3728 | + | filename="gobject/gmarshal.c" | |
| 3729 | + | line="1925">The invocation hint given as the last argument to | |
| 3730 | + | g_closure_invoke().</doc> | |
| 3628 | 3731 | <type name="gpointer" c:type="gpointer"/> | |
| 3629 | 3732 | </parameter> | |
| 3630 | 3733 | <parameter name="marshal_data" | |
| @@ -3632,8 +3735,10 @@ denotes a flags type.</doc> | |||
| 3632 | 3735 | nullable="1" | |
| 3633 | 3736 | allow-none="1"> | |
| 3634 | 3737 | <doc xml:space="preserve" | |
| 3635 | - | filename="gobject-2.0.c" | |
| 3636 | - | line="1971">additional data specified when registering the marshaller</doc> | |
| 3738 | + | filename="gobject/gmarshal.c" | |
| 3739 | + | line="1927">Additional data specified when registering the | |
| 3740 | + | marshaller, see g_closure_set_marshal() and | |
| 3741 | + | g_closure_set_meta_marshal()</doc> | |
| 3637 | 3742 | <type name="gpointer" c:type="gpointer"/> | |
| 3638 | 3743 | </parameter> | |
| 3639 | 3744 | </parameters> | |
| @@ -3642,17 +3747,17 @@ denotes a flags type.</doc> | |||
| 3642 | 3747 | c:identifier="g_cclosure_marshal_VOID__VARIANTv" | |
| 3643 | 3748 | introspectable="0"> | |
| 3644 | 3749 | <doc xml:space="preserve" | |
| 3645 | - | filename="gobject-2.0.c" | |
| 3646 | - | line="1980">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__VARIANT().</doc> | |
| 3647 | - | <source-position filename="gmarshal.h" line="320"/> | |
| 3750 | + | filename="gobject/gmarshal.c" | |
| 3751 | + | line="1969">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__VARIANT().</doc> | |
| 3752 | + | <source-position filename="gobject/gmarshal.h" line="320"/> | |
| 3648 | 3753 | <return-value transfer-ownership="none"> | |
| 3649 | 3754 | <type name="none" c:type="void"/> | |
| 3650 | 3755 | </return-value> | |
| 3651 | 3756 | <parameters> | |
| 3652 | 3757 | <parameter name="closure" transfer-ownership="none"> | |
| 3653 | 3758 | <doc xml:space="preserve" | |
| 3654 | - | filename="gobject-2.0.c" | |
| 3655 | - | line="1982">the #GClosure to which the marshaller belongs</doc> | |
| 3759 | + | filename="gobject/gmarshal.c" | |
| 3760 | + | line="1971">the #GClosure to which the marshaller belongs</doc> | |
| 3656 | 3761 | <type name="Closure" c:type="GClosure*"/> | |
| 3657 | 3762 | </parameter> | |
| 3658 | 3763 | <parameter name="return_value" | |
| @@ -3660,22 +3765,22 @@ denotes a flags type.</doc> | |||
| 3660 | 3765 | nullable="1" | |
| 3661 | 3766 | allow-none="1"> | |
| 3662 | 3767 | <doc xml:space="preserve" | |
| 3663 | - | filename="gobject-2.0.c" | |
| 3664 | - | line="1983">a #GValue to store the return | |
| 3768 | + | filename="gobject/gmarshal.c" | |
| 3769 | + | line="1972">a #GValue to store the return | |
| 3665 | 3770 | value. May be %NULL if the callback of @closure doesn't return a | |
| 3666 | 3771 | value.</doc> | |
| 3667 | 3772 | <type name="Value" c:type="GValue*"/> | |
| 3668 | 3773 | </parameter> | |
| 3669 | 3774 | <parameter name="instance" transfer-ownership="none"> | |
| 3670 | 3775 | <doc xml:space="preserve" | |
| 3671 | - | filename="gobject-2.0.c" | |
| 3672 | - | line="1986">the instance on which the closure is invoked.</doc> | |
| 3776 | + | filename="gobject/gmarshal.c" | |
| 3777 | + | line="1975">the instance on which the closure is invoked.</doc> | |
| 3673 | 3778 | <type name="TypeInstance" c:type="gpointer"/> | |
| 3674 | 3779 | </parameter> | |
| 3675 | 3780 | <parameter name="args" transfer-ownership="none"> | |
| 3676 | 3781 | <doc xml:space="preserve" | |
| 3677 | - | filename="gobject-2.0.c" | |
| 3678 | - | line="1987">va_list of arguments to be passed to the closure.</doc> | |
| 3782 | + | filename="gobject/gmarshal.c" | |
| 3783 | + | line="1976">va_list of arguments to be passed to the closure.</doc> | |
| 3679 | 3784 | <type name="va_list" c:type="va_list"/> | |
| 3680 | 3785 | </parameter> | |
| 3681 | 3786 | <parameter name="marshal_data" | |
| @@ -3683,22 +3788,22 @@ denotes a flags type.</doc> | |||
| 3683 | 3788 | nullable="1" | |
| 3684 | 3789 | allow-none="1"> | |
| 3685 | 3790 | <doc xml:space="preserve" | |
| 3686 | - | filename="gobject-2.0.c" | |
| 3687 | - | line="1988">additional data specified when | |
| 3791 | + | filename="gobject/gmarshal.c" | |
| 3792 | + | line="1977">additional data specified when | |
| 3688 | 3793 | registering the marshaller, see g_closure_set_marshal() and | |
| 3689 | 3794 | g_closure_set_meta_marshal()</doc> | |
| 3690 | 3795 | <type name="gpointer" c:type="gpointer"/> | |
| 3691 | 3796 | </parameter> | |
| 3692 | 3797 | <parameter name="n_params" transfer-ownership="none"> | |
| 3693 | 3798 | <doc xml:space="preserve" | |
| 3694 | - | filename="gobject-2.0.c" | |
| 3695 | - | line="1991">the length of the @param_types array</doc> | |
| 3799 | + | filename="gobject/gmarshal.c" | |
| 3800 | + | line="1980">the length of the @param_types array</doc> | |
| 3696 | 3801 | <type name="gint" c:type="int"/> | |
| 3697 | 3802 | </parameter> | |
| 3698 | 3803 | <parameter name="param_types" transfer-ownership="none"> | |
| 3699 | 3804 | <doc xml:space="preserve" | |
| 3700 | - | filename="gobject-2.0.c" | |
| 3701 | - | line="1992">the #GType of each argument from | |
| 3805 | + | filename="gobject/gmarshal.c" | |
| 3806 | + | line="1981">the #GType of each argument from | |
| 3702 | 3807 | @args.</doc> | |
| 3703 | 3808 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 3704 | 3809 | <type name="GType" c:type="GType"/> | |
| @@ -3709,36 +3814,37 @@ denotes a flags type.</doc> | |||
| 3709 | 3814 | <function name="marshal_VOID__VOID" | |
| 3710 | 3815 | c:identifier="g_cclosure_marshal_VOID__VOID"> | |
| 3711 | 3816 | <doc xml:space="preserve" | |
| 3712 | - | filename="gobject-2.0.c" | |
| 3713 | - | line="1999">A marshaller for a #GCClosure with a callback of type | |
| 3714 | - | `void (*callback) (gpointer instance, gpointer user_data)`.</doc> | |
| 3715 | - | <source-position filename="gmarshal.h" line="24"/> | |
| 3817 | + | filename="gobject/gmarshal.c" | |
| 3818 | + | line="72">A #GClosureMarshal function for use with signals with no arguments.</doc> | |
| 3819 | + | <source-position filename="gobject/gmarshal.h" line="24"/> | |
| 3716 | 3820 | <return-value transfer-ownership="none"> | |
| 3717 | 3821 | <type name="none" c:type="void"/> | |
| 3718 | 3822 | </return-value> | |
| 3719 | 3823 | <parameters> | |
| 3720 | 3824 | <parameter name="closure" transfer-ownership="none"> | |
| 3721 | 3825 | <doc xml:space="preserve" | |
| 3722 | - | filename="gobject-2.0.c" | |
| 3723 | - | line="2001">the #GClosure to which the marshaller belongs</doc> | |
| 3826 | + | filename="gobject/gmarshal.c" | |
| 3827 | + | line="74">A #GClosure.</doc> | |
| 3724 | 3828 | <type name="Closure" c:type="GClosure*"/> | |
| 3725 | 3829 | </parameter> | |
| 3726 | 3830 | <parameter name="return_value" transfer-ownership="none"> | |
| 3727 | 3831 | <doc xml:space="preserve" | |
| 3728 | - | filename="gobject-2.0.c" | |
| 3729 | - | line="2002">ignored</doc> | |
| 3832 | + | filename="gobject/gmarshal.c" | |
| 3833 | + | line="75">A #GValue to store the return value. May be %NULL | |
| 3834 | + | if the callback of closure doesn't return a value.</doc> | |
| 3730 | 3835 | <type name="Value" c:type="GValue*"/> | |
| 3731 | 3836 | </parameter> | |
| 3732 | 3837 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 3733 | 3838 | <doc xml:space="preserve" | |
| 3734 | - | filename="gobject-2.0.c" | |
| 3735 | - | line="2003">1</doc> | |
| 3839 | + | filename="gobject/gmarshal.c" | |
| 3840 | + | line="77">The length of the @param_values array.</doc> | |
| 3736 | 3841 | <type name="guint" c:type="guint"/> | |
| 3737 | 3842 | </parameter> | |
| 3738 | 3843 | <parameter name="param_values" transfer-ownership="none"> | |
| 3739 | 3844 | <doc xml:space="preserve" | |
| 3740 | - | filename="gobject-2.0.c" | |
| 3741 | - | line="2004">a #GValue array holding only the instance</doc> | |
| 3845 | + | filename="gobject/gmarshal.c" | |
| 3846 | + | line="78">An array of #GValues holding the arguments | |
| 3847 | + | on which to invoke the callback of closure.</doc> | |
| 3742 | 3848 | <type name="Value" c:type="const GValue*"/> | |
| 3743 | 3849 | </parameter> | |
| 3744 | 3850 | <parameter name="invocation_hint" | |
| @@ -3746,9 +3852,9 @@ denotes a flags type.</doc> | |||
| 3746 | 3852 | nullable="1" | |
| 3747 | 3853 | allow-none="1"> | |
| 3748 | 3854 | <doc xml:space="preserve" | |
| 3749 | - | filename="gobject-2.0.c" | |
| 3750 | - | line="2005">the invocation hint given as the last argument | |
| 3751 | - | to g_closure_invoke()</doc> | |
| 3855 | + | filename="gobject/gmarshal.c" | |
| 3856 | + | line="80">The invocation hint given as the last argument to | |
| 3857 | + | g_closure_invoke().</doc> | |
| 3752 | 3858 | <type name="gpointer" c:type="gpointer"/> | |
| 3753 | 3859 | </parameter> | |
| 3754 | 3860 | <parameter name="marshal_data" | |
| @@ -3756,8 +3862,10 @@ denotes a flags type.</doc> | |||
| 3756 | 3862 | nullable="1" | |
| 3757 | 3863 | allow-none="1"> | |
| 3758 | 3864 | <doc xml:space="preserve" | |
| 3759 | - | filename="gobject-2.0.c" | |
| 3760 | - | line="2007">additional data specified when registering the marshaller</doc> | |
| 3865 | + | filename="gobject/gmarshal.c" | |
| 3866 | + | line="82">Additional data specified when registering the | |
| 3867 | + | marshaller, see g_closure_set_marshal() and | |
| 3868 | + | g_closure_set_meta_marshal()</doc> | |
| 3761 | 3869 | <type name="gpointer" c:type="gpointer"/> | |
| 3762 | 3870 | </parameter> | |
| 3763 | 3871 | </parameters> | |
| @@ -3766,17 +3874,17 @@ denotes a flags type.</doc> | |||
| 3766 | 3874 | c:identifier="g_cclosure_marshal_VOID__VOIDv" | |
| 3767 | 3875 | introspectable="0"> | |
| 3768 | 3876 | <doc xml:space="preserve" | |
| 3769 | - | filename="gobject-2.0.c" | |
| 3770 | - | line="2014">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__VOID().</doc> | |
| 3771 | - | <source-position filename="gmarshal.h" line="31"/> | |
| 3877 | + | filename="gobject/gmarshal.c" | |
| 3878 | + | line="121">The #GVaClosureMarshal equivalent to g_cclosure_marshal_VOID__VOID().</doc> | |
| 3879 | + | <source-position filename="gobject/gmarshal.h" line="31"/> | |
| 3772 | 3880 | <return-value transfer-ownership="none"> | |
| 3773 | 3881 | <type name="none" c:type="void"/> | |
| 3774 | 3882 | </return-value> | |
| 3775 | 3883 | <parameters> | |
| 3776 | 3884 | <parameter name="closure" transfer-ownership="none"> | |
| 3777 | 3885 | <doc xml:space="preserve" | |
| 3778 | - | filename="gobject-2.0.c" | |
| 3779 | - | line="2016">the #GClosure to which the marshaller belongs</doc> | |
| 3886 | + | filename="gobject/gmarshal.c" | |
| 3887 | + | line="123">the #GClosure to which the marshaller belongs</doc> | |
| 3780 | 3888 | <type name="Closure" c:type="GClosure*"/> | |
| 3781 | 3889 | </parameter> | |
| 3782 | 3890 | <parameter name="return_value" | |
| @@ -3784,22 +3892,22 @@ denotes a flags type.</doc> | |||
| 3784 | 3892 | nullable="1" | |
| 3785 | 3893 | allow-none="1"> | |
| 3786 | 3894 | <doc xml:space="preserve" | |
| 3787 | - | filename="gobject-2.0.c" | |
| 3788 | - | line="2017">a #GValue to store the return | |
| 3895 | + | filename="gobject/gmarshal.c" | |
| 3896 | + | line="124">a #GValue to store the return | |
| 3789 | 3897 | value. May be %NULL if the callback of @closure doesn't return a | |
| 3790 | 3898 | value.</doc> | |
| 3791 | 3899 | <type name="Value" c:type="GValue*"/> | |
| 3792 | 3900 | </parameter> | |
| 3793 | 3901 | <parameter name="instance" transfer-ownership="none"> | |
| 3794 | 3902 | <doc xml:space="preserve" | |
| 3795 | - | filename="gobject-2.0.c" | |
| 3796 | - | line="2020">the instance on which the closure is invoked.</doc> | |
| 3903 | + | filename="gobject/gmarshal.c" | |
| 3904 | + | line="127">the instance on which the closure is invoked.</doc> | |
| 3797 | 3905 | <type name="TypeInstance" c:type="gpointer"/> | |
| 3798 | 3906 | </parameter> | |
| 3799 | 3907 | <parameter name="args" transfer-ownership="none"> | |
| 3800 | 3908 | <doc xml:space="preserve" | |
| 3801 | - | filename="gobject-2.0.c" | |
| 3802 | - | line="2021">va_list of arguments to be passed to the closure.</doc> | |
| 3909 | + | filename="gobject/gmarshal.c" | |
| 3910 | + | line="128">va_list of arguments to be passed to the closure.</doc> | |
| 3803 | 3911 | <type name="va_list" c:type="va_list"/> | |
| 3804 | 3912 | </parameter> | |
| 3805 | 3913 | <parameter name="marshal_data" | |
| @@ -3807,22 +3915,22 @@ denotes a flags type.</doc> | |||
| 3807 | 3915 | nullable="1" | |
| 3808 | 3916 | allow-none="1"> | |
| 3809 | 3917 | <doc xml:space="preserve" | |
| 3810 | - | filename="gobject-2.0.c" | |
| 3811 | - | line="2022">additional data specified when | |
| 3918 | + | filename="gobject/gmarshal.c" | |
| 3919 | + | line="129">additional data specified when | |
| 3812 | 3920 | registering the marshaller, see g_closure_set_marshal() and | |
| 3813 | 3921 | g_closure_set_meta_marshal()</doc> | |
| 3814 | 3922 | <type name="gpointer" c:type="gpointer"/> | |
| 3815 | 3923 | </parameter> | |
| 3816 | 3924 | <parameter name="n_params" transfer-ownership="none"> | |
| 3817 | 3925 | <doc xml:space="preserve" | |
| 3818 | - | filename="gobject-2.0.c" | |
| 3819 | - | line="2025">the length of the @param_types array</doc> | |
| 3926 | + | filename="gobject/gmarshal.c" | |
| 3927 | + | line="132">the length of the @param_types array</doc> | |
| 3820 | 3928 | <type name="gint" c:type="int"/> | |
| 3821 | 3929 | </parameter> | |
| 3822 | 3930 | <parameter name="param_types" transfer-ownership="none"> | |
| 3823 | 3931 | <doc xml:space="preserve" | |
| 3824 | - | filename="gobject-2.0.c" | |
| 3825 | - | line="2026">the #GType of each argument from | |
| 3932 | + | filename="gobject/gmarshal.c" | |
| 3933 | + | line="133">the #GType of each argument from | |
| 3826 | 3934 | @args.</doc> | |
| 3827 | 3935 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 3828 | 3936 | <type name="GType" c:type="GType"/> | |
| @@ -3834,40 +3942,40 @@ denotes a flags type.</doc> | |||
| 3834 | 3942 | c:identifier="g_cclosure_marshal_generic" | |
| 3835 | 3943 | version="2.30"> | |
| 3836 | 3944 | <doc xml:space="preserve" | |
| 3837 | - | filename="gobject-2.0.c" | |
| 3838 | - | line="2033">A generic marshaller function implemented via | |
| 3945 | + | filename="gobject/gclosure.c" | |
| 3946 | + | line="1446">A generic marshaller function implemented via | |
| 3839 | 3947 | [libffi](http://sourceware.org/libffi/). | |
| 3840 | 3948 | ||
| 3841 | 3949 | Normally this function is not passed explicitly to g_signal_new(), | |
| 3842 | 3950 | but used automatically by GLib when specifying a %NULL marshaller.</doc> | |
| 3843 | - | <source-position filename="gclosure.h" line="302"/> | |
| 3951 | + | <source-position filename="gobject/gclosure.h" line="296"/> | |
| 3844 | 3952 | <return-value transfer-ownership="none"> | |
| 3845 | 3953 | <type name="none" c:type="void"/> | |
| 3846 | 3954 | </return-value> | |
| 3847 | 3955 | <parameters> | |
| 3848 | 3956 | <parameter name="closure" transfer-ownership="none"> | |
| 3849 | 3957 | <doc xml:space="preserve" | |
| 3850 | - | filename="gobject-2.0.c" | |
| 3851 | - | line="2035">A #GClosure.</doc> | |
| 3958 | + | filename="gobject/gclosure.c" | |
| 3959 | + | line="1448">A #GClosure.</doc> | |
| 3852 | 3960 | <type name="Closure" c:type="GClosure*"/> | |
| 3853 | 3961 | </parameter> | |
| 3854 | 3962 | <parameter name="return_gvalue" transfer-ownership="none"> | |
| 3855 | 3963 | <doc xml:space="preserve" | |
| 3856 | - | filename="gobject-2.0.c" | |
| 3857 | - | line="2036">A #GValue to store the return value. May be %NULL | |
| 3964 | + | filename="gobject/gclosure.c" | |
| 3965 | + | line="1449">A #GValue to store the return value. May be %NULL | |
| 3858 | 3966 | if the callback of closure doesn't return a value.</doc> | |
| 3859 | 3967 | <type name="Value" c:type="GValue*"/> | |
| 3860 | 3968 | </parameter> | |
| 3861 | 3969 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 3862 | 3970 | <doc xml:space="preserve" | |
| 3863 | - | filename="gobject-2.0.c" | |
| 3864 | - | line="2038">The length of the @param_values array.</doc> | |
| 3971 | + | filename="gobject/gclosure.c" | |
| 3972 | + | line="1451">The length of the @param_values array.</doc> | |
| 3865 | 3973 | <type name="guint" c:type="guint"/> | |
| 3866 | 3974 | </parameter> | |
| 3867 | 3975 | <parameter name="param_values" transfer-ownership="none"> | |
| 3868 | 3976 | <doc xml:space="preserve" | |
| 3869 | - | filename="gobject-2.0.c" | |
| 3870 | - | line="2039">An array of #GValues holding the arguments | |
| 3977 | + | filename="gobject/gclosure.c" | |
| 3978 | + | line="1452">An array of #GValues holding the arguments | |
| 3871 | 3979 | on which to invoke the callback of closure.</doc> | |
| 3872 | 3980 | <type name="Value" c:type="const GValue*"/> | |
| 3873 | 3981 | </parameter> | |
| @@ -3876,8 +3984,8 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc> | |||
| 3876 | 3984 | nullable="1" | |
| 3877 | 3985 | allow-none="1"> | |
| 3878 | 3986 | <doc xml:space="preserve" | |
| 3879 | - | filename="gobject-2.0.c" | |
| 3880 | - | line="2041">The invocation hint given as the last argument to | |
| 3987 | + | filename="gobject/gclosure.c" | |
| 3988 | + | line="1454">The invocation hint given as the last argument to | |
| 3881 | 3989 | g_closure_invoke().</doc> | |
| 3882 | 3990 | <type name="gpointer" c:type="gpointer"/> | |
| 3883 | 3991 | </parameter> | |
| @@ -3886,8 +3994,8 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc> | |||
| 3886 | 3994 | nullable="1" | |
| 3887 | 3995 | allow-none="1"> | |
| 3888 | 3996 | <doc xml:space="preserve" | |
| 3889 | - | filename="gobject-2.0.c" | |
| 3890 | - | line="2043">Additional data specified when registering the | |
| 3997 | + | filename="gobject/gclosure.c" | |
| 3998 | + | line="1456">Additional data specified when registering the | |
| 3891 | 3999 | marshaller, see g_closure_set_marshal() and | |
| 3892 | 4000 | g_closure_set_meta_marshal()</doc> | |
| 3893 | 4001 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -3899,18 +4007,18 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc> | |||
| 3899 | 4007 | version="2.30" | |
| 3900 | 4008 | introspectable="0"> | |
| 3901 | 4009 | <doc xml:space="preserve" | |
| 3902 | - | filename="gobject-2.0.c" | |
| 3903 | - | line="2057">A generic #GVaClosureMarshal function implemented via | |
| 4010 | + | filename="gobject/gclosure.c" | |
| 4011 | + | line="1545">A generic #GVaClosureMarshal function implemented via | |
| 3904 | 4012 | [libffi](http://sourceware.org/libffi/).</doc> | |
| 3905 | - | <source-position filename="gclosure.h" line="310"/> | |
| 4013 | + | <source-position filename="gobject/gclosure.h" line="304"/> | |
| 3906 | 4014 | <return-value transfer-ownership="none"> | |
| 3907 | 4015 | <type name="none" c:type="void"/> | |
| 3908 | 4016 | </return-value> | |
| 3909 | 4017 | <parameters> | |
| 3910 | 4018 | <parameter name="closure" transfer-ownership="none"> | |
| 3911 | 4019 | <doc xml:space="preserve" | |
| 3912 | - | filename="gobject-2.0.c" | |
| 3913 | - | line="2059">the #GClosure to which the marshaller belongs</doc> | |
| 4020 | + | filename="gobject/gclosure.c" | |
| 4021 | + | line="1547">the #GClosure to which the marshaller belongs</doc> | |
| 3914 | 4022 | <type name="Closure" c:type="GClosure*"/> | |
| 3915 | 4023 | </parameter> | |
| 3916 | 4024 | <parameter name="return_value" | |
| @@ -3918,23 +4026,23 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc> | |||
| 3918 | 4026 | nullable="1" | |
| 3919 | 4027 | allow-none="1"> | |
| 3920 | 4028 | <doc xml:space="preserve" | |
| 3921 | - | filename="gobject-2.0.c" | |
| 3922 | - | line="2060">a #GValue to store the return | |
| 4029 | + | filename="gobject/gclosure.c" | |
| 4030 | + | line="1548">a #GValue to store the return | |
| 3923 | 4031 | value. May be %NULL if the callback of @closure doesn't return a | |
| 3924 | 4032 | value.</doc> | |
| 3925 | 4033 | <type name="Value" c:type="GValue*"/> | |
| 3926 | 4034 | </parameter> | |
| 3927 | 4035 | <parameter name="instance" transfer-ownership="none"> | |
| 3928 | 4036 | <doc xml:space="preserve" | |
| 3929 | - | filename="gobject-2.0.c" | |
| 3930 | - | line="2063">the instance on which the closure is | |
| 4037 | + | filename="gobject/gclosure.c" | |
| 4038 | + | line="1551">the instance on which the closure is | |
| 3931 | 4039 | invoked.</doc> | |
| 3932 | 4040 | <type name="TypeInstance" c:type="gpointer"/> | |
| 3933 | 4041 | </parameter> | |
| 3934 | 4042 | <parameter name="args_list" transfer-ownership="none"> | |
| 3935 | 4043 | <doc xml:space="preserve" | |
| 3936 | - | filename="gobject-2.0.c" | |
| 3937 | - | line="2065">va_list of arguments to be passed to the closure.</doc> | |
| 4044 | + | filename="gobject/gclosure.c" | |
| 4045 | + | line="1553">va_list of arguments to be passed to the closure.</doc> | |
| 3938 | 4046 | <type name="va_list" c:type="va_list"/> | |
| 3939 | 4047 | </parameter> | |
| 3940 | 4048 | <parameter name="marshal_data" | |
| @@ -3942,22 +4050,22 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc> | |||
| 3942 | 4050 | nullable="1" | |
| 3943 | 4051 | allow-none="1"> | |
| 3944 | 4052 | <doc xml:space="preserve" | |
| 3945 | - | filename="gobject-2.0.c" | |
| 3946 | - | line="2066">additional data specified when | |
| 4053 | + | filename="gobject/gclosure.c" | |
| 4054 | + | line="1554">additional data specified when | |
| 3947 | 4055 | registering the marshaller, see g_closure_set_marshal() and | |
| 3948 | 4056 | g_closure_set_meta_marshal()</doc> | |
| 3949 | 4057 | <type name="gpointer" c:type="gpointer"/> | |
| 3950 | 4058 | </parameter> | |
| 3951 | 4059 | <parameter name="n_params" transfer-ownership="none"> | |
| 3952 | 4060 | <doc xml:space="preserve" | |
| 3953 | - | filename="gobject-2.0.c" | |
| 3954 | - | line="2069">the length of the @param_types array</doc> | |
| 4061 | + | filename="gobject/gclosure.c" | |
| 4062 | + | line="1557">the length of the @param_types array</doc> | |
| 3955 | 4063 | <type name="gint" c:type="int"/> | |
| 3956 | 4064 | </parameter> | |
| 3957 | 4065 | <parameter name="param_types" transfer-ownership="none"> | |
| 3958 | 4066 | <doc xml:space="preserve" | |
| 3959 | - | filename="gobject-2.0.c" | |
| 3960 | - | line="2070">the #GType of each argument from | |
| 4067 | + | filename="gobject/gclosure.c" | |
| 4068 | + | line="1558">the #GType of each argument from | |
| 3961 | 4069 | @args_list.</doc> | |
| 3962 | 4070 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 3963 | 4071 | <type name="GType" c:type="GType"/> | |
| @@ -3967,43 +4075,40 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc> | |||
| 3967 | 4075 | </function> | |
| 3968 | 4076 | <function name="new" c:identifier="g_cclosure_new" introspectable="0"> | |
| 3969 | 4077 | <doc xml:space="preserve" | |
| 3970 | - | filename="gobject-2.0.c" | |
| 3971 | - | line="2080">Creates a new closure which invokes @callback_func with @user_data as | |
| 4078 | + | filename="gobject/gclosure.c" | |
| 4079 | + | line="959">Creates a new closure which invokes @callback_func with @user_data as | |
| 3972 | 4080 | the last parameter. | |
| 3973 | 4081 | ||
| 3974 | 4082 | @destroy_data will be called as a finalize notifier on the #GClosure.</doc> | |
| 3975 | - | <source-position filename="gclosure.h" line="229"/> | |
| 4083 | + | <source-position filename="gobject/gclosure.h" line="223"/> | |
| 3976 | 4084 | <return-value transfer-ownership="none"> | |
| 3977 | 4085 | <doc xml:space="preserve" | |
| 3978 | - | filename="gobject-2.0.c" | |
| 3979 | - | line="2091">a floating reference to a new #GCClosure</doc> | |
| 4086 | + | filename="gobject/gclosure.c" | |
| 4087 | + | line="970">a floating reference to a new #GCClosure</doc> | |
| 3980 | 4088 | <type name="Closure" c:type="GClosure*"/> | |
| 3981 | 4089 | </return-value> | |
| 3982 | 4090 | <parameters> | |
| 3983 | 4091 | <parameter name="callback_func" | |
| 3984 | 4092 | transfer-ownership="none" | |
| 3985 | - | nullable="1" | |
| 3986 | - | allow-none="1" | |
| 3987 | 4093 | closure="1"> | |
| 3988 | 4094 | <doc xml:space="preserve" | |
| 3989 | - | filename="gobject-2.0.c" | |
| 3990 | - | line="2082">the function to invoke</doc> | |
| 4095 | + | filename="gobject/gclosure.c" | |
| 4096 | + | line="961">the function to invoke</doc> | |
| 3991 | 4097 | <type name="Callback" c:type="GCallback"/> | |
| 3992 | 4098 | </parameter> | |
| 3993 | 4099 | <parameter name="user_data" | |
| 3994 | 4100 | transfer-ownership="none" | |
| 3995 | 4101 | nullable="1" | |
| 3996 | - | allow-none="1" | |
| 3997 | - | closure="0"> | |
| 4102 | + | allow-none="1"> | |
| 3998 | 4103 | <doc xml:space="preserve" | |
| 3999 | - | filename="gobject-2.0.c" | |
| 4000 | - | line="2083">user data to pass to @callback_func</doc> | |
| 4104 | + | filename="gobject/gclosure.c" | |
| 4105 | + | line="962">user data to pass to @callback_func</doc> | |
| 4001 | 4106 | <type name="gpointer" c:type="gpointer"/> | |
| 4002 | 4107 | </parameter> | |
| 4003 | 4108 | <parameter name="destroy_data" transfer-ownership="none"> | |
| 4004 | 4109 | <doc xml:space="preserve" | |
| 4005 | - | filename="gobject-2.0.c" | |
| 4006 | - | line="2084">destroy notify to be called when @user_data is no longer used</doc> | |
| 4110 | + | filename="gobject/gclosure.c" | |
| 4111 | + | line="963">destroy notify to be called when @user_data is no longer used</doc> | |
| 4007 | 4112 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 4008 | 4113 | </parameter> | |
| 4009 | 4114 | </parameters> | |
| @@ -4012,30 +4117,30 @@ the last parameter. | |||
| 4012 | 4117 | c:identifier="g_cclosure_new_object" | |
| 4013 | 4118 | introspectable="0"> | |
| 4014 | 4119 | <doc xml:space="preserve" | |
| 4015 | - | filename="gobject-2.0.c" | |
| 4016 | - | line="2095">A variant of g_cclosure_new() which uses @object as @user_data and | |
| 4120 | + | filename="gobject/gobject.c" | |
| 4121 | + | line="5345">A variant of g_cclosure_new() which uses @object as @user_data and | |
| 4017 | 4122 | calls g_object_watch_closure() on @object and the created | |
| 4018 | 4123 | closure. This function is useful when you have a callback closely | |
| 4019 | 4124 | associated with a #GObject, and want the callback to no longer run | |
| 4020 | 4125 | after the object is is freed.</doc> | |
| 4021 | - | <source-position filename="gobject.h" line="635"/> | |
| 4022 | - | <return-value transfer-ownership="full"> | |
| 4126 | + | <source-position filename="gobject/gobject.h" line="627"/> | |
| 4127 | + | <return-value transfer-ownership="none"> | |
| 4023 | 4128 | <doc xml:space="preserve" | |
| 4024 | - | filename="gobject-2.0.c" | |
| 4025 | - | line="2106">a new #GCClosure</doc> | |
| 4129 | + | filename="gobject/gobject.c" | |
| 4130 | + | line="5356">a new #GCClosure</doc> | |
| 4026 | 4131 | <type name="Closure" c:type="GClosure*"/> | |
| 4027 | 4132 | </return-value> | |
| 4028 | 4133 | <parameters> | |
| 4029 | 4134 | <parameter name="callback_func" transfer-ownership="none"> | |
| 4030 | 4135 | <doc xml:space="preserve" | |
| 4031 | - | filename="gobject-2.0.c" | |
| 4032 | - | line="2097">the function to invoke</doc> | |
| 4136 | + | filename="gobject/gobject.c" | |
| 4137 | + | line="5347">the function to invoke</doc> | |
| 4033 | 4138 | <type name="Callback" c:type="GCallback"/> | |
| 4034 | 4139 | </parameter> | |
| 4035 | 4140 | <parameter name="object" transfer-ownership="none"> | |
| 4036 | 4141 | <doc xml:space="preserve" | |
| 4037 | - | filename="gobject-2.0.c" | |
| 4038 | - | line="2098">a #GObject pointer to pass to @callback_func</doc> | |
| 4142 | + | filename="gobject/gobject.c" | |
| 4143 | + | line="5348">a #GObject pointer to pass to @callback_func</doc> | |
| 4039 | 4144 | <type name="Object" c:type="GObject*"/> | |
| 4040 | 4145 | </parameter> | |
| 4041 | 4146 | </parameters> | |
| @@ -4044,30 +4149,30 @@ after the object is is freed.</doc> | |||
| 4044 | 4149 | c:identifier="g_cclosure_new_object_swap" | |
| 4045 | 4150 | introspectable="0"> | |
| 4046 | 4151 | <doc xml:space="preserve" | |
| 4047 | - | filename="gobject-2.0.c" | |
| 4048 | - | line="2110">A variant of g_cclosure_new_swap() which uses @object as @user_data | |
| 4152 | + | filename="gobject/gobject.c" | |
| 4153 | + | line="5374">A variant of g_cclosure_new_swap() which uses @object as @user_data | |
| 4049 | 4154 | and calls g_object_watch_closure() on @object and the created | |
| 4050 | 4155 | closure. This function is useful when you have a callback closely | |
| 4051 | 4156 | associated with a #GObject, and want the callback to no longer run | |
| 4052 | 4157 | after the object is is freed.</doc> | |
| 4053 | - | <source-position filename="gobject.h" line="638"/> | |
| 4054 | - | <return-value transfer-ownership="full"> | |
| 4158 | + | <source-position filename="gobject/gobject.h" line="630"/> | |
| 4159 | + | <return-value transfer-ownership="none"> | |
| 4055 | 4160 | <doc xml:space="preserve" | |
| 4056 | - | filename="gobject-2.0.c" | |
| 4057 | - | line="2121">a new #GCClosure</doc> | |
| 4161 | + | filename="gobject/gobject.c" | |
| 4162 | + | line="5385">a new #GCClosure</doc> | |
| 4058 | 4163 | <type name="Closure" c:type="GClosure*"/> | |
| 4059 | 4164 | </return-value> | |
| 4060 | 4165 | <parameters> | |
| 4061 | 4166 | <parameter name="callback_func" transfer-ownership="none"> | |
| 4062 | 4167 | <doc xml:space="preserve" | |
| 4063 | - | filename="gobject-2.0.c" | |
| 4064 | - | line="2112">the function to invoke</doc> | |
| 4168 | + | filename="gobject/gobject.c" | |
| 4169 | + | line="5376">the function to invoke</doc> | |
| 4065 | 4170 | <type name="Callback" c:type="GCallback"/> | |
| 4066 | 4171 | </parameter> | |
| 4067 | 4172 | <parameter name="object" transfer-ownership="none"> | |
| 4068 | 4173 | <doc xml:space="preserve" | |
| 4069 | - | filename="gobject-2.0.c" | |
| 4070 | - | line="2113">a #GObject pointer to pass to @callback_func</doc> | |
| 4174 | + | filename="gobject/gobject.c" | |
| 4175 | + | line="5377">a #GObject pointer to pass to @callback_func</doc> | |
| 4071 | 4176 | <type name="Object" c:type="GObject*"/> | |
| 4072 | 4177 | </parameter> | |
| 4073 | 4178 | </parameters> | |
| @@ -4076,43 +4181,40 @@ after the object is is freed.</doc> | |||
| 4076 | 4181 | c:identifier="g_cclosure_new_swap" | |
| 4077 | 4182 | introspectable="0"> | |
| 4078 | 4183 | <doc xml:space="preserve" | |
| 4079 | - | filename="gobject-2.0.c" | |
| 4080 | - | line="2125">Creates a new closure which invokes @callback_func with @user_data as | |
| 4184 | + | filename="gobject/gclosure.c" | |
| 4185 | + | line="989">Creates a new closure which invokes @callback_func with @user_data as | |
| 4081 | 4186 | the first parameter. | |
| 4082 | 4187 | ||
| 4083 | 4188 | @destroy_data will be called as a finalize notifier on the #GClosure.</doc> | |
| 4084 | - | <source-position filename="gclosure.h" line="233"/> | |
| 4189 | + | <source-position filename="gobject/gclosure.h" line="227"/> | |
| 4085 | 4190 | <return-value transfer-ownership="none"> | |
| 4086 | 4191 | <doc xml:space="preserve" | |
| 4087 | - | filename="gobject-2.0.c" | |
| 4088 | - | line="2136">a floating reference to a new #GCClosure</doc> | |
| 4192 | + | filename="gobject/gclosure.c" | |
| 4193 | + | line="1000">a floating reference to a new #GCClosure</doc> | |
| 4089 | 4194 | <type name="Closure" c:type="GClosure*"/> | |
| 4090 | 4195 | </return-value> | |
| 4091 | 4196 | <parameters> | |
| 4092 | 4197 | <parameter name="callback_func" | |
| 4093 | 4198 | transfer-ownership="none" | |
| 4094 | - | nullable="1" | |
| 4095 | - | allow-none="1" | |
| 4096 | 4199 | closure="1"> | |
| 4097 | 4200 | <doc xml:space="preserve" | |
| 4098 | - | filename="gobject-2.0.c" | |
| 4099 | - | line="2127">the function to invoke</doc> | |
| 4201 | + | filename="gobject/gclosure.c" | |
| 4202 | + | line="991">the function to invoke</doc> | |
| 4100 | 4203 | <type name="Callback" c:type="GCallback"/> | |
| 4101 | 4204 | </parameter> | |
| 4102 | 4205 | <parameter name="user_data" | |
| 4103 | 4206 | transfer-ownership="none" | |
| 4104 | 4207 | nullable="1" | |
| 4105 | - | allow-none="1" | |
| 4106 | - | closure="0"> | |
| 4208 | + | allow-none="1"> | |
| 4107 | 4209 | <doc xml:space="preserve" | |
| 4108 | - | filename="gobject-2.0.c" | |
| 4109 | - | line="2128">user data to pass to @callback_func</doc> | |
| 4210 | + | filename="gobject/gclosure.c" | |
| 4211 | + | line="992">user data to pass to @callback_func</doc> | |
| 4110 | 4212 | <type name="gpointer" c:type="gpointer"/> | |
| 4111 | 4213 | </parameter> | |
| 4112 | 4214 | <parameter name="destroy_data" transfer-ownership="none"> | |
| 4113 | 4215 | <doc xml:space="preserve" | |
| 4114 | - | filename="gobject-2.0.c" | |
| 4115 | - | line="2129">destroy notify to be called when @user_data is no longer used</doc> | |
| 4216 | + | filename="gobject/gclosure.c" | |
| 4217 | + | line="993">destroy notify to be called when @user_data is no longer used</doc> | |
| 4116 | 4218 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 4117 | 4219 | </parameter> | |
| 4118 | 4220 | </parameters> | |
| @@ -4122,14 +4224,14 @@ the first parameter. | |||
| 4122 | 4224 | c:identifier="G_CLOSURE_NEEDS_MARSHAL" | |
| 4123 | 4225 | introspectable="0"> | |
| 4124 | 4226 | <doc xml:space="preserve" | |
| 4125 | - | filename="gclosure.h" | |
| 4126 | - | line="30">Check if the closure still needs a marshaller. See g_closure_set_marshal().</doc> | |
| 4127 | - | <source-position filename="gclosure.h" line="39"/> | |
| 4227 | + | filename="gobject/gclosure.h" | |
| 4228 | + | line="32">Check if the closure still needs a marshaller. See g_closure_set_marshal().</doc> | |
| 4229 | + | <source-position filename="gobject/gclosure.h" line="41"/> | |
| 4128 | 4230 | <parameters> | |
| 4129 | 4231 | <parameter name="closure"> | |
| 4130 | 4232 | <doc xml:space="preserve" | |
| 4131 | - | filename="gclosure.h" | |
| 4132 | - | line="32">a #GClosure</doc> | |
| 4233 | + | filename="gobject/gclosure.h" | |
| 4234 | + | line="34">a #GClosure</doc> | |
| 4133 | 4235 | </parameter> | |
| 4134 | 4236 | </parameters> | |
| 4135 | 4237 | </function-macro> | |
| @@ -4137,26 +4239,26 @@ the first parameter. | |||
| 4137 | 4239 | c:identifier="G_CLOSURE_N_NOTIFIERS" | |
| 4138 | 4240 | introspectable="0"> | |
| 4139 | 4241 | <doc xml:space="preserve" | |
| 4140 | - | filename="gclosure.h" | |
| 4141 | - | line="40">Get the total number of notifiers connected with the closure @cl. | |
| 4242 | + | filename="gobject/gclosure.h" | |
| 4243 | + | line="42">Get the total number of notifiers connected with the closure @cl. | |
| 4142 | 4244 | ||
| 4143 | 4245 | The count includes the meta marshaller, the finalize and invalidate notifiers | |
| 4144 | 4246 | and the marshal guards. Note that each guard counts as two notifiers. | |
| 4145 | 4247 | See g_closure_set_meta_marshal(), g_closure_add_finalize_notifier(), | |
| 4146 | 4248 | g_closure_add_invalidate_notifier() and g_closure_add_marshal_guards().</doc> | |
| 4147 | - | <source-position filename="gclosure.h" line="53"/> | |
| 4249 | + | <source-position filename="gobject/gclosure.h" line="55"/> | |
| 4148 | 4250 | <parameters> | |
| 4149 | 4251 | <parameter name="cl"> | |
| 4150 | 4252 | <doc xml:space="preserve" | |
| 4151 | - | filename="gclosure.h" | |
| 4152 | - | line="42">a #GClosure</doc> | |
| 4253 | + | filename="gobject/gclosure.h" | |
| 4254 | + | line="44">a #GClosure</doc> | |
| 4153 | 4255 | </parameter> | |
| 4154 | 4256 | </parameters> | |
| 4155 | 4257 | </function-macro> | |
| 4156 | 4258 | <callback name="Callback" c:type="GCallback"> | |
| 4157 | 4259 | <doc xml:space="preserve" | |
| 4158 | - | filename="gclosure.h" | |
| 4159 | - | line="78">The type used for callback functions in structure definitions and function | |
| 4260 | + | filename="gobject/gclosure.h" | |
| 4261 | + | line="80">The type used for callback functions in structure definitions and function | |
| 4160 | 4262 | signatures. | |
| 4161 | 4263 | ||
| 4162 | 4264 | This doesn't mean that all callback functions must take no parameters and | |
| @@ -4164,15 +4266,20 @@ return void. The required signature of a callback function is determined by | |||
| 4164 | 4266 | the context in which is used (e.g. the signal to which it is connected). | |
| 4165 | 4267 | ||
| 4166 | 4268 | Use G_CALLBACK() to cast the callback function to a #GCallback.</doc> | |
| 4167 | - | <source-position filename="gclosure.h" line="90"/> | |
| 4269 | + | <source-position filename="gobject/gclosure.h" line="92"/> | |
| 4168 | 4270 | <return-value transfer-ownership="none"> | |
| 4169 | 4271 | <type name="none" c:type="void"/> | |
| 4170 | 4272 | </return-value> | |
| 4171 | 4273 | </callback> | |
| 4274 | + | <glib:boxed glib:name="Checksum" | |
| 4275 | + | c:symbol-prefix="checksum" | |
| 4276 | + | glib:type-name="GChecksum" | |
| 4277 | + | glib:get-type="g_checksum_get_type"> | |
| 4278 | + | </glib:boxed> | |
| 4172 | 4279 | <callback name="ClassFinalizeFunc" c:type="GClassFinalizeFunc"> | |
| 4173 | 4280 | <doc xml:space="preserve" | |
| 4174 | - | filename="gtype.h" | |
| 4175 | - | line="914">A callback function used by the type system to finalize a class. | |
| 4281 | + | filename="gobject/gtype.h" | |
| 4282 | + | line="949">A callback function used by the type system to finalize a class. | |
| 4176 | 4283 | ||
| 4177 | 4284 | This function is rarely needed, as dynamically allocated class resources | |
| 4178 | 4285 | should be handled by GBaseInitFunc() and GBaseFinalizeFunc(). | |
| @@ -4181,15 +4288,15 @@ Also, specification of a GClassFinalizeFunc() in the #GTypeInfo | |||
| 4181 | 4288 | structure of a static type is invalid, because classes of static types | |
| 4182 | 4289 | will never be finalized (they are artificially kept alive when their | |
| 4183 | 4290 | reference count drops to zero).</doc> | |
| 4184 | - | <source-position filename="gtype.h" line="929"/> | |
| 4291 | + | <source-position filename="gobject/gtype.h" line="964"/> | |
| 4185 | 4292 | <return-value transfer-ownership="none"> | |
| 4186 | 4293 | <type name="none" c:type="void"/> | |
| 4187 | 4294 | </return-value> | |
| 4188 | 4295 | <parameters> | |
| 4189 | 4296 | <parameter name="g_class" transfer-ownership="none"> | |
| 4190 | 4297 | <doc xml:space="preserve" | |
| 4191 | - | filename="gtype.h" | |
| 4192 | - | line="916">The #GTypeClass structure to finalize</doc> | |
| 4298 | + | filename="gobject/gtype.h" | |
| 4299 | + | line="951">The #GTypeClass structure to finalize</doc> | |
| 4193 | 4300 | <type name="TypeClass" c:type="gpointer"/> | |
| 4194 | 4301 | </parameter> | |
| 4195 | 4302 | <parameter name="class_data" | |
| @@ -4197,16 +4304,16 @@ reference count drops to zero).</doc> | |||
| 4197 | 4304 | nullable="1" | |
| 4198 | 4305 | allow-none="1"> | |
| 4199 | 4306 | <doc xml:space="preserve" | |
| 4200 | - | filename="gtype.h" | |
| 4201 | - | line="917">The @class_data member supplied via the #GTypeInfo structure</doc> | |
| 4307 | + | filename="gobject/gtype.h" | |
| 4308 | + | line="952">The @class_data member supplied via the #GTypeInfo structure</doc> | |
| 4202 | 4309 | <type name="gpointer" c:type="gpointer"/> | |
| 4203 | 4310 | </parameter> | |
| 4204 | 4311 | </parameters> | |
| 4205 | 4312 | </callback> | |
| 4206 | 4313 | <callback name="ClassInitFunc" c:type="GClassInitFunc"> | |
| 4207 | 4314 | <doc xml:space="preserve" | |
| 4208 | - | filename="gtype.h" | |
| 4209 | - | line="809">A callback function used by the type system to initialize the class | |
| 4315 | + | filename="gobject/gtype.h" | |
| 4316 | + | line="844">A callback function used by the type system to initialize the class | |
| 4210 | 4317 | of a specific type. | |
| 4211 | 4318 | ||
| 4212 | 4319 | This function should initialize all static class members. | |
| @@ -4303,15 +4410,15 @@ is called to complete the initialization process with the static members | |||
| 4303 | 4410 | Corresponding finalization counter parts to the GBaseInitFunc() functions | |
| 4304 | 4411 | have to be provided to release allocated resources at class finalization | |
| 4305 | 4412 | time.</doc> | |
| 4306 | - | <source-position filename="gtype.h" line="912"/> | |
| 4413 | + | <source-position filename="gobject/gtype.h" line="947"/> | |
| 4307 | 4414 | <return-value transfer-ownership="none"> | |
| 4308 | 4415 | <type name="none" c:type="void"/> | |
| 4309 | 4416 | </return-value> | |
| 4310 | 4417 | <parameters> | |
| 4311 | 4418 | <parameter name="g_class" transfer-ownership="none"> | |
| 4312 | 4419 | <doc xml:space="preserve" | |
| 4313 | - | filename="gtype.h" | |
| 4314 | - | line="811">The #GTypeClass structure to initialize.</doc> | |
| 4420 | + | filename="gobject/gtype.h" | |
| 4421 | + | line="846">The #GTypeClass structure to initialize.</doc> | |
| 4315 | 4422 | <type name="TypeClass" c:type="gpointer"/> | |
| 4316 | 4423 | </parameter> | |
| 4317 | 4424 | <parameter name="class_data" | |
| @@ -4319,8 +4426,8 @@ time.</doc> | |||
| 4319 | 4426 | nullable="1" | |
| 4320 | 4427 | allow-none="1"> | |
| 4321 | 4428 | <doc xml:space="preserve" | |
| 4322 | - | filename="gtype.h" | |
| 4323 | - | line="812">The @class_data member supplied via the #GTypeInfo structure.</doc> | |
| 4429 | + | filename="gobject/gtype.h" | |
| 4430 | + | line="847">The @class_data member supplied via the #GTypeInfo structure.</doc> | |
| 4324 | 4431 | <type name="gpointer" c:type="gpointer"/> | |
| 4325 | 4432 | </parameter> | |
| 4326 | 4433 | </parameters> | |
| @@ -4331,8 +4438,8 @@ time.</doc> | |||
| 4331 | 4438 | glib:get-type="g_closure_get_type" | |
| 4332 | 4439 | c:symbol-prefix="closure"> | |
| 4333 | 4440 | <doc xml:space="preserve" | |
| 4334 | - | filename="gobject-2.0.c" | |
| 4335 | - | line="357">A #GClosure represents a callback supplied by the programmer. | |
| 4441 | + | filename="gobject/gclosure.c" | |
| 4442 | + | line="41">A `GClosure` represents a callback supplied by the programmer. | |
| 4336 | 4443 | ||
| 4337 | 4444 | It will generally comprise a function of some kind and a marshaller | |
| 4338 | 4445 | used to call it. It is the responsibility of the marshaller to | |
| @@ -4376,7 +4483,7 @@ callback function/data pointer combination: | |||
| 4376 | 4483 | ||
| 4377 | 4484 | - g_closure_invalidate() and invalidation notifiers allow callbacks to be | |
| 4378 | 4485 | automatically removed when the objects they point to go away.</doc> | |
| 4379 | - | <source-position filename="gclosure.h" line="217"/> | |
| 4486 | + | <source-position filename="gobject/gclosure.h" line="211"/> | |
| 4380 | 4487 | <field name="ref_count" readable="0" bits="15" private="1"> | |
| 4381 | 4488 | <type name="guint" c:type="guint"/> | |
| 4382 | 4489 | </field> | |
| @@ -4403,21 +4510,21 @@ callback function/data pointer combination: | |||
| 4403 | 4510 | </field> | |
| 4404 | 4511 | <field name="in_marshal" writable="1" bits="1"> | |
| 4405 | 4512 | <doc xml:space="preserve" | |
| 4406 | - | filename="gclosure.h" | |
| 4407 | - | line="172">Indicates whether the closure is currently being invoked with | |
| 4408 | - | g_closure_invoke()</doc> | |
| 4513 | + | filename="gobject/gclosure.c" | |
| 4514 | + | line="43">Indicates whether the closure is currently being invoked with | |
| 4515 | + | g_closure_invoke()</doc> | |
| 4409 | 4516 | <type name="guint" c:type="guint"/> | |
| 4410 | 4517 | </field> | |
| 4411 | 4518 | <field name="is_invalid" writable="1" bits="1"> | |
| 4412 | 4519 | <doc xml:space="preserve" | |
| 4413 | - | filename="gclosure.h" | |
| 4414 | - | line="174">Indicates whether the closure has been invalidated by | |
| 4415 | - | g_closure_invalidate()</doc> | |
| 4520 | + | filename="gobject/gclosure.c" | |
| 4521 | + | line="45">Indicates whether the closure has been invalidated by | |
| 4522 | + | g_closure_invalidate()</doc> | |
| 4416 | 4523 | <type name="guint" c:type="guint"/> | |
| 4417 | 4524 | </field> | |
| 4418 | 4525 | <field name="marshal"> | |
| 4419 | 4526 | <callback name="marshal"> | |
| 4420 | - | <source-position filename="gclosure.h" line="197"/> | |
| 4527 | + | <source-position filename="gobject/gclosure.h" line="191"/> | |
| 4421 | 4528 | <return-value transfer-ownership="none"> | |
| 4422 | 4529 | <type name="none" c:type="void"/> | |
| 4423 | 4530 | </return-value> | |
| @@ -4451,30 +4558,30 @@ callback function/data pointer combination: | |||
| 4451 | 4558 | </field> | |
| 4452 | 4559 | <constructor name="new_object" c:identifier="g_closure_new_object"> | |
| 4453 | 4560 | <doc xml:space="preserve" | |
| 4454 | - | filename="gobject-2.0.c" | |
| 4455 | - | line="2265">A variant of g_closure_new_simple() which stores @object in the | |
| 4561 | + | filename="gobject/gobject.c" | |
| 4562 | + | line="5316">A variant of g_closure_new_simple() which stores @object in the | |
| 4456 | 4563 | @data field of the closure and calls g_object_watch_closure() on | |
| 4457 | 4564 | @object and the created closure. This function is mainly useful | |
| 4458 | 4565 | when implementing new types of closures.</doc> | |
| 4459 | - | <source-position filename="gobject.h" line="641"/> | |
| 4460 | - | <return-value transfer-ownership="full"> | |
| 4566 | + | <source-position filename="gobject/gobject.h" line="633"/> | |
| 4567 | + | <return-value transfer-ownership="none"> | |
| 4461 | 4568 | <doc xml:space="preserve" | |
| 4462 | - | filename="gobject-2.0.c" | |
| 4463 | - | line="2277">a newly allocated #GClosure</doc> | |
| 4569 | + | filename="gobject/gobject.c" | |
| 4570 | + | line="5328">a newly allocated #GClosure</doc> | |
| 4464 | 4571 | <type name="Closure" c:type="GClosure*"/> | |
| 4465 | 4572 | </return-value> | |
| 4466 | 4573 | <parameters> | |
| 4467 | 4574 | <parameter name="sizeof_closure" transfer-ownership="none"> | |
| 4468 | 4575 | <doc xml:space="preserve" | |
| 4469 | - | filename="gobject-2.0.c" | |
| 4470 | - | line="2267">the size of the structure to allocate, must be at least | |
| 4576 | + | filename="gobject/gobject.c" | |
| 4577 | + | line="5318">the size of the structure to allocate, must be at least | |
| 4471 | 4578 | `sizeof (GClosure)`</doc> | |
| 4472 | 4579 | <type name="guint" c:type="guint"/> | |
| 4473 | 4580 | </parameter> | |
| 4474 | 4581 | <parameter name="object" transfer-ownership="none"> | |
| 4475 | 4582 | <doc xml:space="preserve" | |
| 4476 | - | filename="gobject-2.0.c" | |
| 4477 | - | line="2269">a #GObject pointer to store in the @data field of the newly | |
| 4583 | + | filename="gobject/gobject.c" | |
| 4584 | + | line="5320">a #GObject pointer to store in the @data field of the newly | |
| 4478 | 4585 | allocated #GClosure</doc> | |
| 4479 | 4586 | <type name="Object" c:type="GObject*"/> | |
| 4480 | 4587 | </parameter> | |
| @@ -4482,8 +4589,8 @@ when implementing new types of closures.</doc> | |||
| 4482 | 4589 | </constructor> | |
| 4483 | 4590 | <constructor name="new_simple" c:identifier="g_closure_new_simple"> | |
| 4484 | 4591 | <doc xml:space="preserve" | |
| 4485 | - | filename="gobject-2.0.c" | |
| 4486 | - | line="2281">Allocates a struct of the given size and initializes the initial | |
| 4592 | + | filename="gobject/gclosure.c" | |
| 4593 | + | line="144">Allocates a struct of the given size and initializes the initial | |
| 4487 | 4594 | part as a #GClosure. | |
| 4488 | 4595 | ||
| 4489 | 4596 | This function is mainly useful when implementing new types of closures: | |
| @@ -4520,18 +4627,18 @@ MyClosure *my_closure_new (gpointer data) | |||
| 4520 | 4627 | return my_closure; | |
| 4521 | 4628 | } | |
| 4522 | 4629 | ]|</doc> | |
| 4523 | - | <source-position filename="gclosure.h" line="250"/> | |
| 4630 | + | <source-position filename="gobject/gclosure.h" line="244"/> | |
| 4524 | 4631 | <return-value transfer-ownership="none"> | |
| 4525 | 4632 | <doc xml:space="preserve" | |
| 4526 | - | filename="gobject-2.0.c" | |
| 4527 | - | line="2325">a floating reference to a new #GClosure</doc> | |
| 4633 | + | filename="gobject/gclosure.c" | |
| 4634 | + | line="188">a floating reference to a new #GClosure</doc> | |
| 4528 | 4635 | <type name="Closure" c:type="GClosure*"/> | |
| 4529 | 4636 | </return-value> | |
| 4530 | 4637 | <parameters> | |
| 4531 | 4638 | <parameter name="sizeof_closure" transfer-ownership="none"> | |
| 4532 | 4639 | <doc xml:space="preserve" | |
| 4533 | - | filename="gobject-2.0.c" | |
| 4534 | - | line="2283">the size of the structure to allocate, must be at least | |
| 4640 | + | filename="gobject/gclosure.c" | |
| 4641 | + | line="146">the size of the structure to allocate, must be at least | |
| 4535 | 4642 | `sizeof (GClosure)`</doc> | |
| 4536 | 4643 | <type name="guint" c:type="guint"/> | |
| 4537 | 4644 | </parameter> | |
| @@ -4540,8 +4647,8 @@ MyClosure *my_closure_new (gpointer data) | |||
| 4540 | 4647 | nullable="1" | |
| 4541 | 4648 | allow-none="1"> | |
| 4542 | 4649 | <doc xml:space="preserve" | |
| 4543 | - | filename="gobject-2.0.c" | |
| 4544 | - | line="2285">data to store in the @data field of the newly allocated #GClosure</doc> | |
| 4650 | + | filename="gobject/gclosure.c" | |
| 4651 | + | line="148">data to store in the @data field of the newly allocated #GClosure</doc> | |
| 4545 | 4652 | <type name="gpointer" c:type="gpointer"/> | |
| 4546 | 4653 | </parameter> | |
| 4547 | 4654 | </parameters> | |
| @@ -4550,42 +4657,38 @@ MyClosure *my_closure_new (gpointer data) | |||
| 4550 | 4657 | c:identifier="g_closure_add_finalize_notifier" | |
| 4551 | 4658 | introspectable="0"> | |
| 4552 | 4659 | <doc xml:space="preserve" | |
| 4553 | - | filename="gobject-2.0.c" | |
| 4554 | - | line="2178">Registers a finalization notifier which will be called when the | |
| 4660 | + | filename="gobject/gclosure.c" | |
| 4661 | + | line="428">Registers a finalization notifier which will be called when the | |
| 4555 | 4662 | reference count of @closure goes down to 0. | |
| 4556 | 4663 | ||
| 4557 | 4664 | Multiple finalization notifiers on a single closure are invoked in | |
| 4558 | 4665 | unspecified order. If a single call to g_closure_unref() results in | |
| 4559 | 4666 | the closure being both invalidated and finalized, then the invalidate | |
| 4560 | 4667 | notifiers will be run before the finalize notifiers.</doc> | |
| 4561 | - | <source-position filename="gclosure.h" line="253"/> | |
| 4668 | + | <source-position filename="gobject/gclosure.h" line="247"/> | |
| 4562 | 4669 | <return-value transfer-ownership="none"> | |
| 4563 | 4670 | <type name="none" c:type="void"/> | |
| 4564 | 4671 | </return-value> | |
| 4565 | 4672 | <parameters> | |
| 4566 | 4673 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 4567 | 4674 | <doc xml:space="preserve" | |
| 4568 | - | filename="gobject-2.0.c" | |
| 4569 | - | line="2180">a #GClosure</doc> | |
| 4675 | + | filename="gobject/gclosure.c" | |
| 4676 | + | line="430">a #GClosure</doc> | |
| 4570 | 4677 | <type name="Closure" c:type="GClosure*"/> | |
| 4571 | 4678 | </instance-parameter> | |
| 4572 | 4679 | <parameter name="notify_data" | |
| 4573 | 4680 | transfer-ownership="none" | |
| 4574 | 4681 | nullable="1" | |
| 4575 | - | allow-none="1" | |
| 4576 | - | closure="1"> | |
| 4682 | + | allow-none="1"> | |
| 4577 | 4683 | <doc xml:space="preserve" | |
| 4578 | - | filename="gobject-2.0.c" | |
| 4579 | - | line="2181">data to pass to @notify_func</doc> | |
| 4684 | + | filename="gobject/gclosure.c" | |
| 4685 | + | line="431">data to pass to @notify_func</doc> | |
| 4580 | 4686 | <type name="gpointer" c:type="gpointer"/> | |
| 4581 | 4687 | </parameter> | |
| 4582 | - | <parameter name="notify_func" | |
| 4583 | - | transfer-ownership="none" | |
| 4584 | - | nullable="1" | |
| 4585 | - | allow-none="1"> | |
| 4688 | + | <parameter name="notify_func" transfer-ownership="none"> | |
| 4586 | 4689 | <doc xml:space="preserve" | |
| 4587 | - | filename="gobject-2.0.c" | |
| 4588 | - | line="2182">the callback function to register</doc> | |
| 4690 | + | filename="gobject/gclosure.c" | |
| 4691 | + | line="432">the callback function to register</doc> | |
| 4589 | 4692 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 4590 | 4693 | </parameter> | |
| 4591 | 4694 | </parameters> | |
| @@ -4594,40 +4697,36 @@ notifiers will be run before the finalize notifiers.</doc> | |||
| 4594 | 4697 | c:identifier="g_closure_add_invalidate_notifier" | |
| 4595 | 4698 | introspectable="0"> | |
| 4596 | 4699 | <doc xml:space="preserve" | |
| 4597 | - | filename="gobject-2.0.c" | |
| 4598 | - | line="2194">Registers an invalidation notifier which will be called when the | |
| 4700 | + | filename="gobject/gclosure.c" | |
| 4701 | + | line="465">Registers an invalidation notifier which will be called when the | |
| 4599 | 4702 | @closure is invalidated with g_closure_invalidate(). | |
| 4600 | 4703 | ||
| 4601 | 4704 | Invalidation notifiers are invoked before finalization notifiers, | |
| 4602 | 4705 | in an unspecified order.</doc> | |
| 4603 | - | <source-position filename="gclosure.h" line="261"/> | |
| 4706 | + | <source-position filename="gobject/gclosure.h" line="255"/> | |
| 4604 | 4707 | <return-value transfer-ownership="none"> | |
| 4605 | 4708 | <type name="none" c:type="void"/> | |
| 4606 | 4709 | </return-value> | |
| 4607 | 4710 | <parameters> | |
| 4608 | 4711 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 4609 | 4712 | <doc xml:space="preserve" | |
| 4610 | - | filename="gobject-2.0.c" | |
| 4611 | - | line="2196">a #GClosure</doc> | |
| 4713 | + | filename="gobject/gclosure.c" | |
| 4714 | + | line="467">a #GClosure</doc> | |
| 4612 | 4715 | <type name="Closure" c:type="GClosure*"/> | |
| 4613 | 4716 | </instance-parameter> | |
| 4614 | 4717 | <parameter name="notify_data" | |
| 4615 | 4718 | transfer-ownership="none" | |
| 4616 | 4719 | nullable="1" | |
| 4617 | - | allow-none="1" | |
| 4618 | - | closure="1"> | |
| 4720 | + | allow-none="1"> | |
| 4619 | 4721 | <doc xml:space="preserve" | |
| 4620 | - | filename="gobject-2.0.c" | |
| 4621 | - | line="2197">data to pass to @notify_func</doc> | |
| 4722 | + | filename="gobject/gclosure.c" | |
| 4723 | + | line="468">data to pass to @notify_func</doc> | |
| 4622 | 4724 | <type name="gpointer" c:type="gpointer"/> | |
| 4623 | 4725 | </parameter> | |
| 4624 | - | <parameter name="notify_func" | |
| 4625 | - | transfer-ownership="none" | |
| 4626 | - | nullable="1" | |
| 4627 | - | allow-none="1"> | |
| 4726 | + | <parameter name="notify_func" transfer-ownership="none"> | |
| 4628 | 4727 | <doc xml:space="preserve" | |
| 4629 | - | filename="gobject-2.0.c" | |
| 4630 | - | line="2198">the callback function to register</doc> | |
| 4728 | + | filename="gobject/gclosure.c" | |
| 4729 | + | line="469">the callback function to register</doc> | |
| 4631 | 4730 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 4632 | 4731 | </parameter> | |
| 4633 | 4732 | </parameters> | |
| @@ -4636,71 +4735,64 @@ in an unspecified order.</doc> | |||
| 4636 | 4735 | c:identifier="g_closure_add_marshal_guards" | |
| 4637 | 4736 | introspectable="0"> | |
| 4638 | 4737 | <doc xml:space="preserve" | |
| 4639 | - | filename="gobject-2.0.c" | |
| 4640 | - | line="2208">Adds a pair of notifiers which get invoked before and after the | |
| 4738 | + | filename="gobject/gclosure.c" | |
| 4739 | + | line="367">Adds a pair of notifiers which get invoked before and after the | |
| 4641 | 4740 | closure callback, respectively. | |
| 4642 | 4741 | ||
| 4643 | 4742 | This is typically used to protect the extra arguments for the | |
| 4644 | 4743 | duration of the callback. See g_object_watch_closure() for an | |
| 4645 | 4744 | example of marshal guards.</doc> | |
| 4646 | - | <source-position filename="gclosure.h" line="269"/> | |
| 4745 | + | <source-position filename="gobject/gclosure.h" line="263"/> | |
| 4647 | 4746 | <return-value transfer-ownership="none"> | |
| 4648 | 4747 | <type name="none" c:type="void"/> | |
| 4649 | 4748 | </return-value> | |
| 4650 | 4749 | <parameters> | |
| 4651 | 4750 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 4652 | 4751 | <doc xml:space="preserve" | |
| 4653 | - | filename="gobject-2.0.c" | |
| 4654 | - | line="2210">a #GClosure</doc> | |
| 4752 | + | filename="gobject/gclosure.c" | |
| 4753 | + | line="369">a #GClosure</doc> | |
| 4655 | 4754 | <type name="Closure" c:type="GClosure*"/> | |
| 4656 | 4755 | </instance-parameter> | |
| 4657 | 4756 | <parameter name="pre_marshal_data" | |
| 4658 | 4757 | transfer-ownership="none" | |
| 4659 | 4758 | nullable="1" | |
| 4660 | - | allow-none="1" | |
| 4661 | - | closure="1"> | |
| 4759 | + | allow-none="1"> | |
| 4662 | 4760 | <doc xml:space="preserve" | |
| 4663 | - | filename="gobject-2.0.c" | |
| 4664 | - | line="2211">data to pass | |
| 4761 | + | filename="gobject/gclosure.c" | |
| 4762 | + | line="370">data to pass | |
| 4665 | 4763 | to @pre_marshal_notify</doc> | |
| 4666 | 4764 | <type name="gpointer" c:type="gpointer"/> | |
| 4667 | 4765 | </parameter> | |
| 4668 | 4766 | <parameter name="pre_marshal_notify" | |
| 4669 | 4767 | transfer-ownership="none" | |
| 4670 | - | nullable="1" | |
| 4671 | - | allow-none="1" | |
| 4672 | 4768 | closure="2"> | |
| 4673 | 4769 | <doc xml:space="preserve" | |
| 4674 | - | filename="gobject-2.0.c" | |
| 4675 | - | line="2213">a function to call before the closure callback</doc> | |
| 4770 | + | filename="gobject/gclosure.c" | |
| 4771 | + | line="372">a function to call before the closure callback</doc> | |
| 4676 | 4772 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 4677 | 4773 | </parameter> | |
| 4678 | 4774 | <parameter name="post_marshal_data" | |
| 4679 | 4775 | transfer-ownership="none" | |
| 4680 | 4776 | nullable="1" | |
| 4681 | - | allow-none="1" | |
| 4682 | - | closure="3"> | |
| 4777 | + | allow-none="1"> | |
| 4683 | 4778 | <doc xml:space="preserve" | |
| 4684 | - | filename="gobject-2.0.c" | |
| 4685 | - | line="2214">data to pass | |
| 4779 | + | filename="gobject/gclosure.c" | |
| 4780 | + | line="373">data to pass | |
| 4686 | 4781 | to @post_marshal_notify</doc> | |
| 4687 | 4782 | <type name="gpointer" c:type="gpointer"/> | |
| 4688 | 4783 | </parameter> | |
| 4689 | - | <parameter name="post_marshal_notify" | |
| 4690 | - | transfer-ownership="none" | |
| 4691 | - | nullable="1" | |
| 4692 | - | allow-none="1"> | |
| 4784 | + | <parameter name="post_marshal_notify" transfer-ownership="none"> | |
| 4693 | 4785 | <doc xml:space="preserve" | |
| 4694 | - | filename="gobject-2.0.c" | |
| 4695 | - | line="2216">a function to call after the closure callback</doc> | |
| 4786 | + | filename="gobject/gclosure.c" | |
| 4787 | + | line="375">a function to call after the closure callback</doc> | |
| 4696 | 4788 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 4697 | 4789 | </parameter> | |
| 4698 | 4790 | </parameters> | |
| 4699 | 4791 | </method> | |
| 4700 | 4792 | <method name="invalidate" c:identifier="g_closure_invalidate"> | |
| 4701 | 4793 | <doc xml:space="preserve" | |
| 4702 | - | filename="gobject-2.0.c" | |
| 4703 | - | line="2227">Sets a flag on the closure to indicate that its calling | |
| 4794 | + | filename="gobject/gclosure.c" | |
| 4795 | + | line="574">Sets a flag on the closure to indicate that its calling | |
| 4704 | 4796 | environment has become invalid, and thus causes any future | |
| 4705 | 4797 | invocations of g_closure_invoke() on this @closure to be | |
| 4706 | 4798 | ignored. | |
| @@ -4715,32 +4807,32 @@ that you've previously called g_closure_ref(). | |||
| 4715 | 4807 | Note that g_closure_invalidate() will also be called when the | |
| 4716 | 4808 | reference count of a closure drops to zero (unless it has already | |
| 4717 | 4809 | been invalidated before).</doc> | |
| 4718 | - | <source-position filename="gclosure.h" line="282"/> | |
| 4810 | + | <source-position filename="gobject/gclosure.h" line="276"/> | |
| 4719 | 4811 | <return-value transfer-ownership="none"> | |
| 4720 | 4812 | <type name="none" c:type="void"/> | |
| 4721 | 4813 | </return-value> | |
| 4722 | 4814 | <parameters> | |
| 4723 | 4815 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 4724 | 4816 | <doc xml:space="preserve" | |
| 4725 | - | filename="gobject-2.0.c" | |
| 4726 | - | line="2229">#GClosure to invalidate</doc> | |
| 4817 | + | filename="gobject/gclosure.c" | |
| 4818 | + | line="576">#GClosure to invalidate</doc> | |
| 4727 | 4819 | <type name="Closure" c:type="GClosure*"/> | |
| 4728 | 4820 | </instance-parameter> | |
| 4729 | 4821 | </parameters> | |
| 4730 | 4822 | </method> | |
| 4731 | 4823 | <method name="invoke" c:identifier="g_closure_invoke"> | |
| 4732 | 4824 | <doc xml:space="preserve" | |
| 4733 | - | filename="gobject-2.0.c" | |
| 4734 | - | line="2249">Invokes the closure, i.e. executes the callback represented by the @closure.</doc> | |
| 4735 | - | <source-position filename="gclosure.h" line="284"/> | |
| 4825 | + | filename="gobject/gclosure.c" | |
| 4826 | + | line="786">Invokes the closure, i.e. executes the callback represented by the @closure.</doc> | |
| 4827 | + | <source-position filename="gobject/gclosure.h" line="278"/> | |
| 4736 | 4828 | <return-value transfer-ownership="none"> | |
| 4737 | 4829 | <type name="none" c:type="void"/> | |
| 4738 | 4830 | </return-value> | |
| 4739 | 4831 | <parameters> | |
| 4740 | 4832 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 4741 | 4833 | <doc xml:space="preserve" | |
| 4742 | - | filename="gobject-2.0.c" | |
| 4743 | - | line="2251">a #GClosure</doc> | |
| 4834 | + | filename="gobject/gclosure.c" | |
| 4835 | + | line="788">a #GClosure</doc> | |
| 4744 | 4836 | <type name="Closure" c:type="GClosure*"/> | |
| 4745 | 4837 | </instance-parameter> | |
| 4746 | 4838 | <parameter name="return_value" | |
| @@ -4750,22 +4842,22 @@ been invalidated before).</doc> | |||
| 4750 | 4842 | optional="1" | |
| 4751 | 4843 | allow-none="1"> | |
| 4752 | 4844 | <doc xml:space="preserve" | |
| 4753 | - | filename="gobject-2.0.c" | |
| 4754 | - | line="2252">a #GValue to store the return | |
| 4845 | + | filename="gobject/gclosure.c" | |
| 4846 | + | line="789">a #GValue to store the return | |
| 4755 | 4847 | value. May be %NULL if the callback of @closure | |
| 4756 | 4848 | doesn't return a value.</doc> | |
| 4757 | 4849 | <type name="Value" c:type="GValue*"/> | |
| 4758 | 4850 | </parameter> | |
| 4759 | 4851 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 4760 | 4852 | <doc xml:space="preserve" | |
| 4761 | - | filename="gobject-2.0.c" | |
| 4762 | - | line="2255">the length of the @param_values array</doc> | |
| 4853 | + | filename="gobject/gclosure.c" | |
| 4854 | + | line="792">the length of the @param_values array</doc> | |
| 4763 | 4855 | <type name="guint" c:type="guint"/> | |
| 4764 | 4856 | </parameter> | |
| 4765 | 4857 | <parameter name="param_values" transfer-ownership="none"> | |
| 4766 | 4858 | <doc xml:space="preserve" | |
| 4767 | - | filename="gobject-2.0.c" | |
| 4768 | - | line="2256">an array of | |
| 4859 | + | filename="gobject/gclosure.c" | |
| 4860 | + | line="793">an array of | |
| 4769 | 4861 | #GValues holding the arguments on which to | |
| 4770 | 4862 | invoke the callback of @closure</doc> | |
| 4771 | 4863 | <array length="1" zero-terminated="0" c:type="const GValue*"> | |
| @@ -4777,29 +4869,29 @@ been invalidated before).</doc> | |||
| 4777 | 4869 | nullable="1" | |
| 4778 | 4870 | allow-none="1"> | |
| 4779 | 4871 | <doc xml:space="preserve" | |
| 4780 | - | filename="gobject-2.0.c" | |
| 4781 | - | line="2259">a context-dependent invocation hint</doc> | |
| 4872 | + | filename="gobject/gclosure.c" | |
| 4873 | + | line="796">a context-dependent invocation hint</doc> | |
| 4782 | 4874 | <type name="gpointer" c:type="gpointer"/> | |
| 4783 | 4875 | </parameter> | |
| 4784 | 4876 | </parameters> | |
| 4785 | 4877 | </method> | |
| 4786 | 4878 | <method name="ref" c:identifier="g_closure_ref"> | |
| 4787 | 4879 | <doc xml:space="preserve" | |
| 4788 | - | filename="gobject-2.0.c" | |
| 4789 | - | line="2329">Increments the reference count on a closure to force it staying | |
| 4880 | + | filename="gobject/gclosure.c" | |
| 4881 | + | line="540">Increments the reference count on a closure to force it staying | |
| 4790 | 4882 | alive while the caller holds a pointer to it.</doc> | |
| 4791 | - | <source-position filename="gclosure.h" line="243"/> | |
| 4883 | + | <source-position filename="gobject/gclosure.h" line="237"/> | |
| 4792 | 4884 | <return-value transfer-ownership="none"> | |
| 4793 | 4885 | <doc xml:space="preserve" | |
| 4794 | - | filename="gobject-2.0.c" | |
| 4795 | - | line="2336">The @closure passed in, for convenience</doc> | |
| 4886 | + | filename="gobject/gclosure.c" | |
| 4887 | + | line="547">The @closure passed in, for convenience</doc> | |
| 4796 | 4888 | <type name="Closure" c:type="GClosure*"/> | |
| 4797 | 4889 | </return-value> | |
| 4798 | 4890 | <parameters> | |
| 4799 | 4891 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 4800 | 4892 | <doc xml:space="preserve" | |
| 4801 | - | filename="gobject-2.0.c" | |
| 4802 | - | line="2331">#GClosure to increment the reference count on</doc> | |
| 4893 | + | filename="gobject/gclosure.c" | |
| 4894 | + | line="542">#GClosure to increment the reference count on</doc> | |
| 4803 | 4895 | <type name="Closure" c:type="GClosure*"/> | |
| 4804 | 4896 | </instance-parameter> | |
| 4805 | 4897 | </parameters> | |
| @@ -4808,19 +4900,19 @@ alive while the caller holds a pointer to it.</doc> | |||
| 4808 | 4900 | c:identifier="g_closure_remove_finalize_notifier" | |
| 4809 | 4901 | introspectable="0"> | |
| 4810 | 4902 | <doc xml:space="preserve" | |
| 4811 | - | filename="gobject-2.0.c" | |
| 4812 | - | line="2340">Removes a finalization notifier. | |
| 4903 | + | filename="gobject/gclosure.c" | |
| 4904 | + | line="758">Removes a finalization notifier. | |
| 4813 | 4905 | ||
| 4814 | 4906 | Notice that notifiers are automatically removed after they are run.</doc> | |
| 4815 | - | <source-position filename="gclosure.h" line="257"/> | |
| 4907 | + | <source-position filename="gobject/gclosure.h" line="251"/> | |
| 4816 | 4908 | <return-value transfer-ownership="none"> | |
| 4817 | 4909 | <type name="none" c:type="void"/> | |
| 4818 | 4910 | </return-value> | |
| 4819 | 4911 | <parameters> | |
| 4820 | 4912 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 4821 | 4913 | <doc xml:space="preserve" | |
| 4822 | - | filename="gobject-2.0.c" | |
| 4823 | - | line="2342">a #GClosure</doc> | |
| 4914 | + | filename="gobject/gclosure.c" | |
| 4915 | + | line="760">a #GClosure</doc> | |
| 4824 | 4916 | <type name="Closure" c:type="GClosure*"/> | |
| 4825 | 4917 | </instance-parameter> | |
| 4826 | 4918 | <parameter name="notify_data" | |
| @@ -4828,15 +4920,15 @@ Notice that notifiers are automatically removed after they are run.</doc> | |||
| 4828 | 4920 | nullable="1" | |
| 4829 | 4921 | allow-none="1"> | |
| 4830 | 4922 | <doc xml:space="preserve" | |
| 4831 | - | filename="gobject-2.0.c" | |
| 4832 | - | line="2343">data which was passed to g_closure_add_finalize_notifier() | |
| 4923 | + | filename="gobject/gclosure.c" | |
| 4924 | + | line="761">data which was passed to g_closure_add_finalize_notifier() | |
| 4833 | 4925 | when registering @notify_func</doc> | |
| 4834 | 4926 | <type name="gpointer" c:type="gpointer"/> | |
| 4835 | 4927 | </parameter> | |
| 4836 | 4928 | <parameter name="notify_func" transfer-ownership="none"> | |
| 4837 | 4929 | <doc xml:space="preserve" | |
| 4838 | - | filename="gobject-2.0.c" | |
| 4839 | - | line="2345">the callback function to remove</doc> | |
| 4930 | + | filename="gobject/gclosure.c" | |
| 4931 | + | line="763">the callback function to remove</doc> | |
| 4840 | 4932 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 4841 | 4933 | </parameter> | |
| 4842 | 4934 | </parameters> | |
| @@ -4845,19 +4937,19 @@ Notice that notifiers are automatically removed after they are run.</doc> | |||
| 4845 | 4937 | c:identifier="g_closure_remove_invalidate_notifier" | |
| 4846 | 4938 | introspectable="0"> | |
| 4847 | 4939 | <doc xml:space="preserve" | |
| 4848 | - | filename="gobject-2.0.c" | |
| 4849 | - | line="2353">Removes an invalidation notifier. | |
| 4940 | + | filename="gobject/gclosure.c" | |
| 4941 | + | line="730">Removes an invalidation notifier. | |
| 4850 | 4942 | ||
| 4851 | 4943 | Notice that notifiers are automatically removed after they are run.</doc> | |
| 4852 | - | <source-position filename="gclosure.h" line="265"/> | |
| 4944 | + | <source-position filename="gobject/gclosure.h" line="259"/> | |
| 4853 | 4945 | <return-value transfer-ownership="none"> | |
| 4854 | 4946 | <type name="none" c:type="void"/> | |
| 4855 | 4947 | </return-value> | |
| 4856 | 4948 | <parameters> | |
| 4857 | 4949 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 4858 | 4950 | <doc xml:space="preserve" | |
| 4859 | - | filename="gobject-2.0.c" | |
| 4860 | - | line="2355">a #GClosure</doc> | |
| 4951 | + | filename="gobject/gclosure.c" | |
| 4952 | + | line="732">a #GClosure</doc> | |
| 4861 | 4953 | <type name="Closure" c:type="GClosure*"/> | |
| 4862 | 4954 | </instance-parameter> | |
| 4863 | 4955 | <parameter name="notify_data" | |
| @@ -4865,15 +4957,15 @@ Notice that notifiers are automatically removed after they are run.</doc> | |||
| 4865 | 4957 | nullable="1" | |
| 4866 | 4958 | allow-none="1"> | |
| 4867 | 4959 | <doc xml:space="preserve" | |
| 4868 | - | filename="gobject-2.0.c" | |
| 4869 | - | line="2356">data which was passed to g_closure_add_invalidate_notifier() | |
| 4960 | + | filename="gobject/gclosure.c" | |
| 4961 | + | line="733">data which was passed to g_closure_add_invalidate_notifier() | |
| 4870 | 4962 | when registering @notify_func</doc> | |
| 4871 | 4963 | <type name="gpointer" c:type="gpointer"/> | |
| 4872 | 4964 | </parameter> | |
| 4873 | 4965 | <parameter name="notify_func" transfer-ownership="none"> | |
| 4874 | 4966 | <doc xml:space="preserve" | |
| 4875 | - | filename="gobject-2.0.c" | |
| 4876 | - | line="2358">the callback function to remove</doc> | |
| 4967 | + | filename="gobject/gclosure.c" | |
| 4968 | + | line="735">the callback function to remove</doc> | |
| 4877 | 4969 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 4878 | 4970 | </parameter> | |
| 4879 | 4971 | </parameters> | |
| @@ -4882,8 +4974,8 @@ Notice that notifiers are automatically removed after they are run.</doc> | |||
| 4882 | 4974 | c:identifier="g_closure_set_marshal" | |
| 4883 | 4975 | introspectable="0"> | |
| 4884 | 4976 | <doc xml:space="preserve" | |
| 4885 | - | filename="gobject-2.0.c" | |
| 4886 | - | line="2366">Sets the marshaller of @closure. | |
| 4977 | + | filename="gobject/gclosure.c" | |
| 4978 | + | line="911">Sets the marshaller of @closure. | |
| 4887 | 4979 | ||
| 4888 | 4980 | The `marshal_data` of @marshal provides a way for a meta marshaller to | |
| 4889 | 4981 | provide additional information to the marshaller. | |
| @@ -4893,21 +4985,21 @@ functions), what it provides is a callback function to use instead of | |||
| 4893 | 4985 | @closure->callback. | |
| 4894 | 4986 | ||
| 4895 | 4987 | See also: g_closure_set_meta_marshal()</doc> | |
| 4896 | - | <source-position filename="gclosure.h" line="275"/> | |
| 4988 | + | <source-position filename="gobject/gclosure.h" line="269"/> | |
| 4897 | 4989 | <return-value transfer-ownership="none"> | |
| 4898 | 4990 | <type name="none" c:type="void"/> | |
| 4899 | 4991 | </return-value> | |
| 4900 | 4992 | <parameters> | |
| 4901 | 4993 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 4902 | 4994 | <doc xml:space="preserve" | |
| 4903 | - | filename="gobject-2.0.c" | |
| 4904 | - | line="2368">a #GClosure</doc> | |
| 4995 | + | filename="gobject/gclosure.c" | |
| 4996 | + | line="913">a #GClosure</doc> | |
| 4905 | 4997 | <type name="Closure" c:type="GClosure*"/> | |
| 4906 | 4998 | </instance-parameter> | |
| 4907 | 4999 | <parameter name="marshal" transfer-ownership="none"> | |
| 4908 | 5000 | <doc xml:space="preserve" | |
| 4909 | - | filename="gobject-2.0.c" | |
| 4910 | - | line="2369">a #GClosureMarshal function</doc> | |
| 5001 | + | filename="gobject/gclosure.c" | |
| 5002 | + | line="914">a #GClosureMarshal function</doc> | |
| 4911 | 5003 | <type name="ClosureMarshal" c:type="GClosureMarshal"/> | |
| 4912 | 5004 | </parameter> | |
| 4913 | 5005 | </parameters> | |
| @@ -4916,8 +5008,8 @@ See also: g_closure_set_meta_marshal()</doc> | |||
| 4916 | 5008 | c:identifier="g_closure_set_meta_marshal" | |
| 4917 | 5009 | introspectable="0"> | |
| 4918 | 5010 | <doc xml:space="preserve" | |
| 4919 | - | filename="gobject-2.0.c" | |
| 4920 | - | line="2384">Sets the meta marshaller of @closure. | |
| 5011 | + | filename="gobject/gclosure.c" | |
| 5012 | + | line="322">Sets the meta marshaller of @closure. | |
| 4921 | 5013 | ||
| 4922 | 5014 | A meta marshaller wraps the @closure's marshal and modifies the way | |
| 4923 | 5015 | it is called in some fashion. The most common use of this facility | |
| @@ -4934,43 +5026,39 @@ g_signal_type_cclosure_new()) retrieve the callback function from a | |||
| 4934 | 5026 | fixed offset in the class structure. The meta marshaller retrieves | |
| 4935 | 5027 | the right callback and passes it to the marshaller as the | |
| 4936 | 5028 | @marshal_data argument.</doc> | |
| 4937 | - | <source-position filename="gclosure.h" line="278"/> | |
| 5029 | + | <source-position filename="gobject/gclosure.h" line="272"/> | |
| 4938 | 5030 | <return-value transfer-ownership="none"> | |
| 4939 | 5031 | <type name="none" c:type="void"/> | |
| 4940 | 5032 | </return-value> | |
| 4941 | 5033 | <parameters> | |
| 4942 | 5034 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 4943 | 5035 | <doc xml:space="preserve" | |
| 4944 | - | filename="gobject-2.0.c" | |
| 4945 | - | line="2386">a #GClosure</doc> | |
| 5036 | + | filename="gobject/gclosure.c" | |
| 5037 | + | line="324">a #GClosure</doc> | |
| 4946 | 5038 | <type name="Closure" c:type="GClosure*"/> | |
| 4947 | 5039 | </instance-parameter> | |
| 4948 | 5040 | <parameter name="marshal_data" | |
| 4949 | 5041 | transfer-ownership="none" | |
| 4950 | 5042 | nullable="1" | |
| 4951 | - | allow-none="1" | |
| 4952 | - | closure="1"> | |
| 5043 | + | allow-none="1"> | |
| 4953 | 5044 | <doc xml:space="preserve" | |
| 4954 | - | filename="gobject-2.0.c" | |
| 4955 | - | line="2387">context-dependent data to pass | |
| 5045 | + | filename="gobject/gclosure.c" | |
| 5046 | + | line="325">context-dependent data to pass | |
| 4956 | 5047 | to @meta_marshal</doc> | |
| 4957 | 5048 | <type name="gpointer" c:type="gpointer"/> | |
| 4958 | 5049 | </parameter> | |
| 4959 | - | <parameter name="meta_marshal" | |
| 4960 | - | transfer-ownership="none" | |
| 4961 | - | nullable="1" | |
| 4962 | - | allow-none="1"> | |
| 5050 | + | <parameter name="meta_marshal" transfer-ownership="none"> | |
| 4963 | 5051 | <doc xml:space="preserve" | |
| 4964 | - | filename="gobject-2.0.c" | |
| 4965 | - | line="2389">a #GClosureMarshal function</doc> | |
| 5052 | + | filename="gobject/gclosure.c" | |
| 5053 | + | line="327">a #GClosureMarshal function</doc> | |
| 4966 | 5054 | <type name="ClosureMarshal" c:type="GClosureMarshal"/> | |
| 4967 | 5055 | </parameter> | |
| 4968 | 5056 | </parameters> | |
| 4969 | 5057 | </method> | |
| 4970 | 5058 | <method name="sink" c:identifier="g_closure_sink"> | |
| 4971 | 5059 | <doc xml:space="preserve" | |
| 4972 | - | filename="gobject-2.0.c" | |
| 4973 | - | line="2411">Takes over the initial ownership of a closure. | |
| 5060 | + | filename="gobject/gclosure.c" | |
| 5061 | + | line="656">Takes over the initial ownership of a closure. | |
| 4974 | 5062 | ||
| 4975 | 5063 | Each closure is initially created in a "floating" state, which means | |
| 4976 | 5064 | that the initial reference count is not owned by any caller. | |
| @@ -5017,15 +5105,15 @@ foo_notify_set_closure (GClosure *closure) | |||
| 5017 | 5105 | Because g_closure_sink() may decrement the reference count of a closure | |
| 5018 | 5106 | (if it hasn't been called on @closure yet) just like g_closure_unref(), | |
| 5019 | 5107 | g_closure_ref() should be called prior to this function.</doc> | |
| 5020 | - | <source-position filename="gclosure.h" line="245"/> | |
| 5108 | + | <source-position filename="gobject/gclosure.h" line="239"/> | |
| 5021 | 5109 | <return-value transfer-ownership="none"> | |
| 5022 | 5110 | <type name="none" c:type="void"/> | |
| 5023 | 5111 | </return-value> | |
| 5024 | 5112 | <parameters> | |
| 5025 | 5113 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 5026 | 5114 | <doc xml:space="preserve" | |
| 5027 | - | filename="gobject-2.0.c" | |
| 5028 | - | line="2413">#GClosure to decrement the initial reference count on, if it's | |
| 5115 | + | filename="gobject/gclosure.c" | |
| 5116 | + | line="658">#GClosure to decrement the initial reference count on, if it's | |
| 5029 | 5117 | still being held</doc> | |
| 5030 | 5118 | <type name="Closure" c:type="GClosure*"/> | |
| 5031 | 5119 | </instance-parameter> | |
| @@ -5033,21 +5121,21 @@ g_closure_ref() should be called prior to this function.</doc> | |||
| 5033 | 5121 | </method> | |
| 5034 | 5122 | <method name="unref" c:identifier="g_closure_unref"> | |
| 5035 | 5123 | <doc xml:space="preserve" | |
| 5036 | - | filename="gobject-2.0.c" | |
| 5037 | - | line="2466">Decrements the reference count of a closure after it was previously | |
| 5124 | + | filename="gobject/gclosure.c" | |
| 5125 | + | line="607">Decrements the reference count of a closure after it was previously | |
| 5038 | 5126 | incremented by the same caller. | |
| 5039 | 5127 | ||
| 5040 | 5128 | If no other callers are using the closure, then the closure will be | |
| 5041 | 5129 | destroyed and freed.</doc> | |
| 5042 | - | <source-position filename="gclosure.h" line="247"/> | |
| 5130 | + | <source-position filename="gobject/gclosure.h" line="241"/> | |
| 5043 | 5131 | <return-value transfer-ownership="none"> | |
| 5044 | 5132 | <type name="none" c:type="void"/> | |
| 5045 | 5133 | </return-value> | |
| 5046 | 5134 | <parameters> | |
| 5047 | 5135 | <instance-parameter name="closure" transfer-ownership="none"> | |
| 5048 | 5136 | <doc xml:space="preserve" | |
| 5049 | - | filename="gobject-2.0.c" | |
| 5050 | - | line="2468">#GClosure to decrement the reference count on</doc> | |
| 5137 | + | filename="gobject/gclosure.c" | |
| 5138 | + | line="609">#GClosure to decrement the reference count on</doc> | |
| 5051 | 5139 | <type name="Closure" c:type="GClosure*"/> | |
| 5052 | 5140 | </instance-parameter> | |
| 5053 | 5141 | </parameters> | |
| @@ -5055,17 +5143,17 @@ destroyed and freed.</doc> | |||
| 5055 | 5143 | </record> | |
| 5056 | 5144 | <callback name="ClosureMarshal" c:type="GClosureMarshal"> | |
| 5057 | 5145 | <doc xml:space="preserve" | |
| 5058 | - | filename="gclosure.h" | |
| 5059 | - | line="101">The type used for marshaller functions.</doc> | |
| 5060 | - | <source-position filename="gclosure.h" line="119"/> | |
| 5146 | + | filename="gobject/gclosure.h" | |
| 5147 | + | line="103">The type used for marshaller functions.</doc> | |
| 5148 | + | <source-position filename="gobject/gclosure.h" line="121"/> | |
| 5061 | 5149 | <return-value transfer-ownership="none"> | |
| 5062 | 5150 | <type name="none" c:type="void"/> | |
| 5063 | 5151 | </return-value> | |
| 5064 | 5152 | <parameters> | |
| 5065 | 5153 | <parameter name="closure" transfer-ownership="none"> | |
| 5066 | 5154 | <doc xml:space="preserve" | |
| 5067 | - | filename="gclosure.h" | |
| 5068 | - | line="103">the #GClosure to which the marshaller belongs</doc> | |
| 5155 | + | filename="gobject/gclosure.h" | |
| 5156 | + | line="105">the #GClosure to which the marshaller belongs</doc> | |
| 5069 | 5157 | <type name="Closure" c:type="GClosure*"/> | |
| 5070 | 5158 | </parameter> | |
| 5071 | 5159 | <parameter name="return_value" | |
| @@ -5073,22 +5161,22 @@ destroyed and freed.</doc> | |||
| 5073 | 5161 | nullable="1" | |
| 5074 | 5162 | allow-none="1"> | |
| 5075 | 5163 | <doc xml:space="preserve" | |
| 5076 | - | filename="gclosure.h" | |
| 5077 | - | line="104">a #GValue to store the return | |
| 5164 | + | filename="gobject/gclosure.h" | |
| 5165 | + | line="106">a #GValue to store the return | |
| 5078 | 5166 | value. May be %NULL if the callback of @closure doesn't return a | |
| 5079 | 5167 | value.</doc> | |
| 5080 | 5168 | <type name="Value" c:type="GValue*"/> | |
| 5081 | 5169 | </parameter> | |
| 5082 | 5170 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 5083 | 5171 | <doc xml:space="preserve" | |
| 5084 | - | filename="gclosure.h" | |
| 5085 | - | line="107">the length of the @param_values array</doc> | |
| 5172 | + | filename="gobject/gclosure.h" | |
| 5173 | + | line="109">the length of the @param_values array</doc> | |
| 5086 | 5174 | <type name="guint" c:type="guint"/> | |
| 5087 | 5175 | </parameter> | |
| 5088 | 5176 | <parameter name="param_values" transfer-ownership="none"> | |
| 5089 | 5177 | <doc xml:space="preserve" | |
| 5090 | - | filename="gclosure.h" | |
| 5091 | - | line="108">an array of | |
| 5178 | + | filename="gobject/gclosure.h" | |
| 5179 | + | line="110">an array of | |
| 5092 | 5180 | #GValues holding the arguments on which to invoke the | |
| 5093 | 5181 | callback of @closure</doc> | |
| 5094 | 5182 | <array length="2" zero-terminated="0" c:type="const GValue*"> | |
| @@ -5100,8 +5188,8 @@ destroyed and freed.</doc> | |||
| 5100 | 5188 | nullable="1" | |
| 5101 | 5189 | allow-none="1"> | |
| 5102 | 5190 | <doc xml:space="preserve" | |
| 5103 | - | filename="gclosure.h" | |
| 5104 | - | line="111">the invocation hint given as the | |
| 5191 | + | filename="gobject/gclosure.h" | |
| 5192 | + | line="113">the invocation hint given as the | |
| 5105 | 5193 | last argument to g_closure_invoke()</doc> | |
| 5106 | 5194 | <type name="gpointer" c:type="gpointer"/> | |
| 5107 | 5195 | </parameter> | |
| @@ -5110,8 +5198,8 @@ destroyed and freed.</doc> | |||
| 5110 | 5198 | nullable="1" | |
| 5111 | 5199 | allow-none="1"> | |
| 5112 | 5200 | <doc xml:space="preserve" | |
| 5113 | - | filename="gclosure.h" | |
| 5114 | - | line="113">additional data specified when | |
| 5201 | + | filename="gobject/gclosure.h" | |
| 5202 | + | line="115">additional data specified when | |
| 5115 | 5203 | registering the marshaller, see g_closure_set_marshal() and | |
| 5116 | 5204 | g_closure_set_meta_marshal()</doc> | |
| 5117 | 5205 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -5120,10 +5208,10 @@ destroyed and freed.</doc> | |||
| 5120 | 5208 | </callback> | |
| 5121 | 5209 | <callback name="ClosureNotify" c:type="GClosureNotify"> | |
| 5122 | 5210 | <doc xml:space="preserve" | |
| 5123 | - | filename="gclosure.h" | |
| 5124 | - | line="91">The type used for the various notification callbacks which can be registered | |
| 5211 | + | filename="gobject/gclosure.h" | |
| 5212 | + | line="93">The type used for the various notification callbacks which can be registered | |
| 5125 | 5213 | on closures.</doc> | |
| 5126 | - | <source-position filename="gclosure.h" line="99"/> | |
| 5214 | + | <source-position filename="gobject/gclosure.h" line="101"/> | |
| 5127 | 5215 | <return-value transfer-ownership="none"> | |
| 5128 | 5216 | <type name="none" c:type="void"/> | |
| 5129 | 5217 | </return-value> | |
| @@ -5133,20 +5221,20 @@ on closures.</doc> | |||
| 5133 | 5221 | nullable="1" | |
| 5134 | 5222 | allow-none="1"> | |
| 5135 | 5223 | <doc xml:space="preserve" | |
| 5136 | - | filename="gclosure.h" | |
| 5137 | - | line="93">data specified when registering the notification callback</doc> | |
| 5224 | + | filename="gobject/gclosure.h" | |
| 5225 | + | line="95">data specified when registering the notification callback</doc> | |
| 5138 | 5226 | <type name="gpointer" c:type="gpointer"/> | |
| 5139 | 5227 | </parameter> | |
| 5140 | 5228 | <parameter name="closure" transfer-ownership="none"> | |
| 5141 | 5229 | <doc xml:space="preserve" | |
| 5142 | - | filename="gclosure.h" | |
| 5143 | - | line="94">the #GClosure on which the notification is emitted</doc> | |
| 5230 | + | filename="gobject/gclosure.h" | |
| 5231 | + | line="96">the #GClosure on which the notification is emitted</doc> | |
| 5144 | 5232 | <type name="Closure" c:type="GClosure*"/> | |
| 5145 | 5233 | </parameter> | |
| 5146 | 5234 | </parameters> | |
| 5147 | 5235 | </callback> | |
| 5148 | 5236 | <record name="ClosureNotifyData" c:type="GClosureNotifyData"> | |
| 5149 | - | <source-position filename="gclosure.h" line="169"/> | |
| 5237 | + | <source-position filename="gobject/gclosure.h" line="171"/> | |
| 5150 | 5238 | <field name="data" writable="1"> | |
| 5151 | 5239 | <type name="gpointer" c:type="gpointer"/> | |
| 5152 | 5240 | </field> | |
| @@ -5156,20 +5244,26 @@ on closures.</doc> | |||
| 5156 | 5244 | </record> | |
| 5157 | 5245 | <bitfield name="ConnectFlags" c:type="GConnectFlags"> | |
| 5158 | 5246 | <doc xml:space="preserve" | |
| 5159 | - | filename="gsignal.h" | |
| 5160 | - | line="156">The connection flags are used to specify the behaviour of a signal's | |
| 5247 | + | filename="gobject/gsignal.h" | |
| 5248 | + | line="183">The connection flags are used to specify the behaviour of a signal's | |
| 5161 | 5249 | connection.</doc> | |
| 5162 | - | <source-position filename="gsignal.h" line="170"/> | |
| 5250 | + | <source-position filename="gobject/gsignal.h" line="200"/> | |
| 5251 | + | <member name="default" value="0" c:identifier="G_CONNECT_DEFAULT"> | |
| 5252 | + | <doc xml:space="preserve" | |
| 5253 | + | filename="gobject/gsignal.h" | |
| 5254 | + | line="185">Default behaviour (no special flags). Since: 2.74</doc> | |
| 5255 | + | </member> | |
| 5163 | 5256 | <member name="after" value="1" c:identifier="G_CONNECT_AFTER"> | |
| 5164 | 5257 | <doc xml:space="preserve" | |
| 5165 | - | filename="gsignal.h" | |
| 5166 | - | line="158">whether the handler should be called before or after the | |
| 5167 | - | default handler of the signal.</doc> | |
| 5258 | + | filename="gobject/gsignal.h" | |
| 5259 | + | line="186">If set, the handler should be called after the | |
| 5260 | + | default handler of the signal. Normally, the handler is called before | |
| 5261 | + | the default handler.</doc> | |
| 5168 | 5262 | </member> | |
| 5169 | 5263 | <member name="swapped" value="2" c:identifier="G_CONNECT_SWAPPED"> | |
| 5170 | 5264 | <doc xml:space="preserve" | |
| 5171 | - | filename="gsignal.h" | |
| 5172 | - | line="160">whether the instance and data should be swapped when | |
| 5265 | + | filename="gobject/gsignal.h" | |
| 5266 | + | line="189">If set, the instance and data should be swapped when | |
| 5173 | 5267 | calling the handler; see g_signal_connect_swapped() for an example.</doc> | |
| 5174 | 5268 | </member> | |
| 5175 | 5269 | </bitfield> | |
| @@ -5178,8 +5272,8 @@ connection.</doc> | |||
| 5178 | 5272 | version="2.44" | |
| 5179 | 5273 | introspectable="0"> | |
| 5180 | 5274 | <doc xml:space="preserve" | |
| 5181 | - | filename="gtype.h" | |
| 5182 | - | line="1466">A convenience macro for emitting the usual declarations in the | |
| 5275 | + | filename="gobject/gtype.h" | |
| 5276 | + | line="1623">A convenience macro for emitting the usual declarations in the | |
| 5183 | 5277 | header file for a type which is intended to be subclassed. | |
| 5184 | 5278 | ||
| 5185 | 5279 | You might use it in a header as follows: | |
| @@ -5255,33 +5349,33 @@ structures, use G_DECLARE_FINAL_TYPE(). | |||
| 5255 | 5349 | ||
| 5256 | 5350 | If you must use G_DECLARE_DERIVABLE_TYPE() you should be sure to include some padding at the bottom of your | |
| 5257 | 5351 | class structure to leave space for the addition of future virtual functions.</doc> | |
| 5258 | - | <source-position filename="gtype.h" line="1554"/> | |
| 5352 | + | <source-position filename="gobject/gtype.h" line="1711"/> | |
| 5259 | 5353 | <parameters> | |
| 5260 | 5354 | <parameter name="ModuleObjName"> | |
| 5261 | 5355 | <doc xml:space="preserve" | |
| 5262 | - | filename="gtype.h" | |
| 5263 | - | line="1468">The name of the new type, in camel case (like `GtkWidget`)</doc> | |
| 5356 | + | filename="gobject/gtype.h" | |
| 5357 | + | line="1625">The name of the new type, in camel case (like `GtkWidget`)</doc> | |
| 5264 | 5358 | </parameter> | |
| 5265 | 5359 | <parameter name="module_obj_name"> | |
| 5266 | 5360 | <doc xml:space="preserve" | |
| 5267 | - | filename="gtype.h" | |
| 5268 | - | line="1469">The name of the new type in lowercase, with words | |
| 5361 | + | filename="gobject/gtype.h" | |
| 5362 | + | line="1626">The name of the new type in lowercase, with words | |
| 5269 | 5363 | separated by `_` (like `gtk_widget`)</doc> | |
| 5270 | 5364 | </parameter> | |
| 5271 | 5365 | <parameter name="MODULE"> | |
| 5272 | 5366 | <doc xml:space="preserve" | |
| 5273 | - | filename="gtype.h" | |
| 5274 | - | line="1471">The name of the module, in all caps (like `GTK`)</doc> | |
| 5367 | + | filename="gobject/gtype.h" | |
| 5368 | + | line="1628">The name of the module, in all caps (like `GTK`)</doc> | |
| 5275 | 5369 | </parameter> | |
| 5276 | 5370 | <parameter name="OBJ_NAME"> | |
| 5277 | 5371 | <doc xml:space="preserve" | |
| 5278 | - | filename="gtype.h" | |
| 5279 | - | line="1472">The bare name of the type, in all caps (like `WIDGET`)</doc> | |
| 5372 | + | filename="gobject/gtype.h" | |
| 5373 | + | line="1629">The bare name of the type, in all caps (like `WIDGET`)</doc> | |
| 5280 | 5374 | </parameter> | |
| 5281 | 5375 | <parameter name="ParentName"> | |
| 5282 | 5376 | <doc xml:space="preserve" | |
| 5283 | - | filename="gtype.h" | |
| 5284 | - | line="1473">the name of the parent type, in camel case (like `GtkWidget`)</doc> | |
| 5377 | + | filename="gobject/gtype.h" | |
| 5378 | + | line="1630">the name of the parent type, in camel case (like `GtkWidget`)</doc> | |
| 5285 | 5379 | </parameter> | |
| 5286 | 5380 | </parameters> | |
| 5287 | 5381 | </function-macro> | |
| @@ -5290,8 +5384,8 @@ class structure to leave space for the addition of future virtual functions.</do | |||
| 5290 | 5384 | version="2.44" | |
| 5291 | 5385 | introspectable="0"> | |
| 5292 | 5386 | <doc xml:space="preserve" | |
| 5293 | - | filename="gtype.h" | |
| 5294 | - | line="1374">A convenience macro for emitting the usual declarations in the header file | |
| 5387 | + | filename="gobject/gtype.h" | |
| 5388 | + | line="1531">A convenience macro for emitting the usual declarations in the header file | |
| 5295 | 5389 | for a type which is not (at the present time) intended to be subclassed. | |
| 5296 | 5390 | ||
| 5297 | 5391 | You might use it in a header as follows: | |
| @@ -5356,33 +5450,33 @@ G_DECLARE_FINAL_TYPE() to G_DECLARE_DERIVABLE_TYPE() without breaking API or ABI | |||
| 5356 | 5450 | should therefore use G_DECLARE_FINAL_TYPE() until you are sure that it makes sense for your class to be | |
| 5357 | 5451 | subclassed. Once a class structure has been exposed it is not possible to change its size or remove or | |
| 5358 | 5452 | reorder items without breaking the API and/or ABI.</doc> | |
| 5359 | - | <source-position filename="gtype.h" line="1451"/> | |
| 5453 | + | <source-position filename="gobject/gtype.h" line="1608"/> | |
| 5360 | 5454 | <parameters> | |
| 5361 | 5455 | <parameter name="ModuleObjName"> | |
| 5362 | 5456 | <doc xml:space="preserve" | |
| 5363 | - | filename="gtype.h" | |
| 5364 | - | line="1376">The name of the new type, in camel case (like `GtkWidget`)</doc> | |
| 5457 | + | filename="gobject/gtype.h" | |
| 5458 | + | line="1533">The name of the new type, in camel case (like `GtkWidget`)</doc> | |
| 5365 | 5459 | </parameter> | |
| 5366 | 5460 | <parameter name="module_obj_name"> | |
| 5367 | 5461 | <doc xml:space="preserve" | |
| 5368 | - | filename="gtype.h" | |
| 5369 | - | line="1377">The name of the new type in lowercase, with words | |
| 5462 | + | filename="gobject/gtype.h" | |
| 5463 | + | line="1534">The name of the new type in lowercase, with words | |
| 5370 | 5464 | separated by `_` (like `gtk_widget`)</doc> | |
| 5371 | 5465 | </parameter> | |
| 5372 | 5466 | <parameter name="MODULE"> | |
| 5373 | 5467 | <doc xml:space="preserve" | |
| 5374 | - | filename="gtype.h" | |
| 5375 | - | line="1379">The name of the module, in all caps (like `GTK`)</doc> | |
| 5468 | + | filename="gobject/gtype.h" | |
| 5469 | + | line="1536">The name of the module, in all caps (like `GTK`)</doc> | |
| 5376 | 5470 | </parameter> | |
| 5377 | 5471 | <parameter name="OBJ_NAME"> | |
| 5378 | 5472 | <doc xml:space="preserve" | |
| 5379 | - | filename="gtype.h" | |
| 5380 | - | line="1380">The bare name of the type, in all caps (like `WIDGET`)</doc> | |
| 5473 | + | filename="gobject/gtype.h" | |
| 5474 | + | line="1537">The bare name of the type, in all caps (like `WIDGET`)</doc> | |
| 5381 | 5475 | </parameter> | |
| 5382 | 5476 | <parameter name="ParentName"> | |
| 5383 | 5477 | <doc xml:space="preserve" | |
| 5384 | - | filename="gtype.h" | |
| 5385 | - | line="1381">the name of the parent type, in camel case (like `GtkWidget`)</doc> | |
| 5478 | + | filename="gobject/gtype.h" | |
| 5479 | + | line="1538">the name of the parent type, in camel case (like `GtkWidget`)</doc> | |
| 5386 | 5480 | </parameter> | |
| 5387 | 5481 | </parameters> | |
| 5388 | 5482 | </function-macro> | |
| @@ -5391,8 +5485,8 @@ reorder items without breaking the API and/or ABI.</doc> | |||
| 5391 | 5485 | version="2.44" | |
| 5392 | 5486 | introspectable="0"> | |
| 5393 | 5487 | <doc xml:space="preserve" | |
| 5394 | - | filename="gtype.h" | |
| 5395 | - | line="1576">A convenience macro for emitting the usual declarations in the header file for a #GInterface type. | |
| 5488 | + | filename="gobject/gtype.h" | |
| 5489 | + | line="1733">A convenience macro for emitting the usual declarations in the header file for a #GInterface type. | |
| 5396 | 5490 | ||
| 5397 | 5491 | You might use it in a header as follows: | |
| 5398 | 5492 | ||
| @@ -5450,33 +5544,33 @@ manually define this as a macro for yourself. | |||
| 5450 | 5544 | ||
| 5451 | 5545 | The declaration of the `_get_type()` function is the first thing emitted by the macro. This allows this macro | |
| 5452 | 5546 | to be used in the usual way with export control and API versioning macros.</doc> | |
| 5453 | - | <source-position filename="gtype.h" line="1646"/> | |
| 5547 | + | <source-position filename="gobject/gtype.h" line="1803"/> | |
| 5454 | 5548 | <parameters> | |
| 5455 | 5549 | <parameter name="ModuleObjName"> | |
| 5456 | 5550 | <doc xml:space="preserve" | |
| 5457 | - | filename="gtype.h" | |
| 5458 | - | line="1578">The name of the new type, in camel case (like `GtkWidget`)</doc> | |
| 5551 | + | filename="gobject/gtype.h" | |
| 5552 | + | line="1735">The name of the new type, in camel case (like `GtkWidget`)</doc> | |
| 5459 | 5553 | </parameter> | |
| 5460 | 5554 | <parameter name="module_obj_name"> | |
| 5461 | 5555 | <doc xml:space="preserve" | |
| 5462 | - | filename="gtype.h" | |
| 5463 | - | line="1579">The name of the new type in lowercase, with words | |
| 5556 | + | filename="gobject/gtype.h" | |
| 5557 | + | line="1736">The name of the new type in lowercase, with words | |
| 5464 | 5558 | separated by `_` (like `gtk_widget`)</doc> | |
| 5465 | 5559 | </parameter> | |
| 5466 | 5560 | <parameter name="MODULE"> | |
| 5467 | 5561 | <doc xml:space="preserve" | |
| 5468 | - | filename="gtype.h" | |
| 5469 | - | line="1581">The name of the module, in all caps (like `GTK`)</doc> | |
| 5562 | + | filename="gobject/gtype.h" | |
| 5563 | + | line="1738">The name of the module, in all caps (like `GTK`)</doc> | |
| 5470 | 5564 | </parameter> | |
| 5471 | 5565 | <parameter name="OBJ_NAME"> | |
| 5472 | 5566 | <doc xml:space="preserve" | |
| 5473 | - | filename="gtype.h" | |
| 5474 | - | line="1582">The bare name of the type, in all caps (like `WIDGET`)</doc> | |
| 5567 | + | filename="gobject/gtype.h" | |
| 5568 | + | line="1739">The bare name of the type, in all caps (like `WIDGET`)</doc> | |
| 5475 | 5569 | </parameter> | |
| 5476 | 5570 | <parameter name="PrerequisiteName"> | |
| 5477 | 5571 | <doc xml:space="preserve" | |
| 5478 | - | filename="gtype.h" | |
| 5479 | - | line="1583">the name of the prerequisite type, in camel case (like `GtkWidget`)</doc> | |
| 5572 | + | filename="gobject/gtype.h" | |
| 5573 | + | line="1740">the name of the prerequisite type, in camel case (like `GtkWidget`)</doc> | |
| 5480 | 5574 | </parameter> | |
| 5481 | 5575 | </parameters> | |
| 5482 | 5576 | </function-macro> | |
| @@ -5485,28 +5579,28 @@ to be used in the usual way with export control and API versioning macros.</doc> | |||
| 5485 | 5579 | version="2.4" | |
| 5486 | 5580 | introspectable="0"> | |
| 5487 | 5581 | <doc xml:space="preserve" | |
| 5488 | - | filename="gtype.h" | |
| 5489 | - | line="1720">A convenience macro for type implementations. | |
| 5582 | + | filename="gobject/gtype.h" | |
| 5583 | + | line="1877">A convenience macro for type implementations. | |
| 5490 | 5584 | ||
| 5491 | 5585 | Similar to G_DEFINE_TYPE(), but defines an abstract type. | |
| 5492 | 5586 | See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |
| 5493 | - | <source-position filename="gtype.h" line="1734"/> | |
| 5587 | + | <source-position filename="gobject/gtype.h" line="1891"/> | |
| 5494 | 5588 | <parameters> | |
| 5495 | 5589 | <parameter name="TN"> | |
| 5496 | 5590 | <doc xml:space="preserve" | |
| 5497 | - | filename="gtype.h" | |
| 5498 | - | line="1722">The name of the new type, in Camel case.</doc> | |
| 5591 | + | filename="gobject/gtype.h" | |
| 5592 | + | line="1879">The name of the new type, in Camel case.</doc> | |
| 5499 | 5593 | </parameter> | |
| 5500 | 5594 | <parameter name="t_n"> | |
| 5501 | 5595 | <doc xml:space="preserve" | |
| 5502 | - | filename="gtype.h" | |
| 5503 | - | line="1723">The name of the new type, in lowercase, with words | |
| 5596 | + | filename="gobject/gtype.h" | |
| 5597 | + | line="1880">The name of the new type, in lowercase, with words | |
| 5504 | 5598 | separated by `_`.</doc> | |
| 5505 | 5599 | </parameter> | |
| 5506 | 5600 | <parameter name="T_P"> | |
| 5507 | 5601 | <doc xml:space="preserve" | |
| 5508 | - | filename="gtype.h" | |
| 5509 | - | line="1725">The #GType of the parent type.</doc> | |
| 5602 | + | filename="gobject/gtype.h" | |
| 5603 | + | line="1882">The #GType of the parent type.</doc> | |
| 5510 | 5604 | </parameter> | |
| 5511 | 5605 | </parameters> | |
| 5512 | 5606 | </function-macro> | |
| @@ -5515,36 +5609,36 @@ See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |||
| 5515 | 5609 | version="2.4" | |
| 5516 | 5610 | introspectable="0"> | |
| 5517 | 5611 | <doc xml:space="preserve" | |
| 5518 | - | filename="gtype.h" | |
| 5519 | - | line="1735">A convenience macro for type implementations. | |
| 5612 | + | filename="gobject/gtype.h" | |
| 5613 | + | line="1892">A convenience macro for type implementations. | |
| 5520 | 5614 | ||
| 5521 | 5615 | Similar to G_DEFINE_TYPE_WITH_CODE(), but defines an abstract type and | |
| 5522 | 5616 | allows you to insert custom code into the `*_get_type()` function, e.g. | |
| 5523 | 5617 | interface implementations via G_IMPLEMENT_INTERFACE(). | |
| 5524 | 5618 | ||
| 5525 | 5619 | See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |
| 5526 | - | <source-position filename="gtype.h" line="1753"/> | |
| 5620 | + | <source-position filename="gobject/gtype.h" line="1910"/> | |
| 5527 | 5621 | <parameters> | |
| 5528 | 5622 | <parameter name="TN"> | |
| 5529 | 5623 | <doc xml:space="preserve" | |
| 5530 | - | filename="gtype.h" | |
| 5531 | - | line="1737">The name of the new type, in Camel case.</doc> | |
| 5624 | + | filename="gobject/gtype.h" | |
| 5625 | + | line="1894">The name of the new type, in Camel case.</doc> | |
| 5532 | 5626 | </parameter> | |
| 5533 | 5627 | <parameter name="t_n"> | |
| 5534 | 5628 | <doc xml:space="preserve" | |
| 5535 | - | filename="gtype.h" | |
| 5536 | - | line="1738">The name of the new type, in lowercase, with words | |
| 5629 | + | filename="gobject/gtype.h" | |
| 5630 | + | line="1895">The name of the new type, in lowercase, with words | |
| 5537 | 5631 | separated by `_`.</doc> | |
| 5538 | 5632 | </parameter> | |
| 5539 | 5633 | <parameter name="T_P"> | |
| 5540 | 5634 | <doc xml:space="preserve" | |
| 5541 | - | filename="gtype.h" | |
| 5542 | - | line="1740">The #GType of the parent type.</doc> | |
| 5635 | + | filename="gobject/gtype.h" | |
| 5636 | + | line="1897">The #GType of the parent type.</doc> | |
| 5543 | 5637 | </parameter> | |
| 5544 | 5638 | <parameter name="_C_"> | |
| 5545 | 5639 | <doc xml:space="preserve" | |
| 5546 | - | filename="gtype.h" | |
| 5547 | - | line="1741">Custom code that gets inserted in the `type_name_get_type()` function.</doc> | |
| 5640 | + | filename="gobject/gtype.h" | |
| 5641 | + | line="1898">Custom code that gets inserted in the `type_name_get_type()` function.</doc> | |
| 5548 | 5642 | </parameter> | |
| 5549 | 5643 | </parameters> | |
| 5550 | 5644 | </function-macro> | |
| @@ -5553,27 +5647,27 @@ See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |||
| 5553 | 5647 | version="2.38" | |
| 5554 | 5648 | introspectable="0"> | |
| 5555 | 5649 | <doc xml:space="preserve" | |
| 5556 | - | filename="gtype.h" | |
| 5557 | - | line="1754">Similar to G_DEFINE_TYPE_WITH_PRIVATE(), but defines an abstract type. | |
| 5650 | + | filename="gobject/gtype.h" | |
| 5651 | + | line="1911">Similar to G_DEFINE_TYPE_WITH_PRIVATE(), but defines an abstract type. | |
| 5558 | 5652 | ||
| 5559 | 5653 | See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |
| 5560 | - | <source-position filename="gtype.h" line="1767"/> | |
| 5654 | + | <source-position filename="gobject/gtype.h" line="1924"/> | |
| 5561 | 5655 | <parameters> | |
| 5562 | 5656 | <parameter name="TN"> | |
| 5563 | 5657 | <doc xml:space="preserve" | |
| 5564 | - | filename="gtype.h" | |
| 5565 | - | line="1756">The name of the new type, in Camel case.</doc> | |
| 5658 | + | filename="gobject/gtype.h" | |
| 5659 | + | line="1913">The name of the new type, in Camel case.</doc> | |
| 5566 | 5660 | </parameter> | |
| 5567 | 5661 | <parameter name="t_n"> | |
| 5568 | 5662 | <doc xml:space="preserve" | |
| 5569 | - | filename="gtype.h" | |
| 5570 | - | line="1757">The name of the new type, in lowercase, with words | |
| 5663 | + | filename="gobject/gtype.h" | |
| 5664 | + | line="1914">The name of the new type, in lowercase, with words | |
| 5571 | 5665 | separated by `_`.</doc> | |
| 5572 | 5666 | </parameter> | |
| 5573 | 5667 | <parameter name="T_P"> | |
| 5574 | 5668 | <doc xml:space="preserve" | |
| 5575 | - | filename="gtype.h" | |
| 5576 | - | line="1759">The #GType of the parent type.</doc> | |
| 5669 | + | filename="gobject/gtype.h" | |
| 5670 | + | line="1916">The #GType of the parent type.</doc> | |
| 5577 | 5671 | </parameter> | |
| 5578 | 5672 | </parameters> | |
| 5579 | 5673 | </function-macro> | |
| @@ -5582,46 +5676,81 @@ See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |||
| 5582 | 5676 | version="2.26" | |
| 5583 | 5677 | introspectable="0"> | |
| 5584 | 5678 | <doc xml:space="preserve" | |
| 5585 | - | filename="gtype.h" | |
| 5586 | - | line="2208">A convenience macro for defining a new custom boxed type. | |
| 5679 | + | filename="gobject/gtype.h" | |
| 5680 | + | line="2377">A convenience macro for defining a new custom boxed type. | |
| 5587 | 5681 | ||
| 5588 | 5682 | Using this macro is the recommended way of defining new custom boxed | |
| 5589 | 5683 | types, over calling g_boxed_type_register_static() directly. It defines | |
| 5590 | 5684 | a `type_name_get_type()` function which will return the newly defined | |
| 5591 | 5685 | #GType, enabling lazy instantiation. | |
| 5592 | 5686 | ||
| 5687 | + | You might start by putting declarations in a header as follows: | |
| 5688 | + | ||
| 5689 | + | |[<!-- language="C" --> | |
| 5690 | + | #define MY_TYPE_STRUCT my_struct_get_type () | |
| 5691 | + | GType my_struct_get_type (void) G_GNUC_CONST; | |
| 5692 | + | ||
| 5693 | + | MyStruct * my_struct_new (void); | |
| 5694 | + | void my_struct_free (MyStruct *self); | |
| 5695 | + | MyStruct * my_struct_copy (MyStruct *self); | |
| 5696 | + | ]| | |
| 5697 | + | ||
| 5698 | + | And then use this macro and define your implementation in the source file as | |
| 5699 | + | follows: | |
| 5700 | + | ||
| 5593 | 5701 | |[<!-- language="C" --> | |
| 5702 | + | MyStruct * | |
| 5703 | + | my_struct_new (void) | |
| 5704 | + | { | |
| 5705 | + | // ... your code to allocate a new MyStruct ... | |
| 5706 | + | } | |
| 5707 | + | ||
| 5708 | + | void | |
| 5709 | + | my_struct_free (MyStruct *self) | |
| 5710 | + | { | |
| 5711 | + | // ... your code to free a MyStruct ... | |
| 5712 | + | } | |
| 5713 | + | ||
| 5714 | + | MyStruct * | |
| 5715 | + | my_struct_copy (MyStruct *self) | |
| 5716 | + | { | |
| 5717 | + | // ... your code return a newly allocated copy of a MyStruct ... | |
| 5718 | + | } | |
| 5719 | + | ||
| 5594 | 5720 | G_DEFINE_BOXED_TYPE (MyStruct, my_struct, my_struct_copy, my_struct_free) | |
| 5595 | 5721 | ||
| 5596 | 5722 | void | |
| 5597 | 5723 | foo () | |
| 5598 | 5724 | { | |
| 5599 | - | GType type = my_struct_get_type (); | |
| 5725 | + | MyStruct *ms; | |
| 5726 | + | ||
| 5727 | + | ms = my_struct_new (); | |
| 5600 | 5728 | // ... your code ... | |
| 5729 | + | my_struct_free (ms); | |
| 5601 | 5730 | } | |
| 5602 | 5731 | ]|</doc> | |
| 5603 | - | <source-position filename="gtype.h" line="2236"/> | |
| 5732 | + | <source-position filename="gobject/gtype.h" line="2440"/> | |
| 5604 | 5733 | <parameters> | |
| 5605 | 5734 | <parameter name="TypeName"> | |
| 5606 | 5735 | <doc xml:space="preserve" | |
| 5607 | - | filename="gtype.h" | |
| 5608 | - | line="2210">The name of the new type, in Camel case</doc> | |
| 5736 | + | filename="gobject/gtype.h" | |
| 5737 | + | line="2379">The name of the new type, in Camel case</doc> | |
| 5609 | 5738 | </parameter> | |
| 5610 | 5739 | <parameter name="type_name"> | |
| 5611 | 5740 | <doc xml:space="preserve" | |
| 5612 | - | filename="gtype.h" | |
| 5613 | - | line="2211">The name of the new type, in lowercase, with words | |
| 5741 | + | filename="gobject/gtype.h" | |
| 5742 | + | line="2380">The name of the new type, in lowercase, with words | |
| 5614 | 5743 | separated by `_`</doc> | |
| 5615 | 5744 | </parameter> | |
| 5616 | 5745 | <parameter name="copy_func"> | |
| 5617 | 5746 | <doc xml:space="preserve" | |
| 5618 | - | filename="gtype.h" | |
| 5619 | - | line="2213">the #GBoxedCopyFunc for the new type</doc> | |
| 5747 | + | filename="gobject/gtype.h" | |
| 5748 | + | line="2382">the #GBoxedCopyFunc for the new type</doc> | |
| 5620 | 5749 | </parameter> | |
| 5621 | 5750 | <parameter name="free_func"> | |
| 5622 | 5751 | <doc xml:space="preserve" | |
| 5623 | - | filename="gtype.h" | |
| 5624 | - | line="2214">the #GBoxedFreeFunc for the new type</doc> | |
| 5752 | + | filename="gobject/gtype.h" | |
| 5753 | + | line="2383">the #GBoxedFreeFunc for the new type</doc> | |
| 5625 | 5754 | </parameter> | |
| 5626 | 5755 | </parameters> | |
| 5627 | 5756 | </function-macro> | |
| @@ -5630,8 +5759,8 @@ foo () | |||
| 5630 | 5759 | version="2.26" | |
| 5631 | 5760 | introspectable="0"> | |
| 5632 | 5761 | <doc xml:space="preserve" | |
| 5633 | - | filename="gtype.h" | |
| 5634 | - | line="2237">A convenience macro for boxed type implementations. | |
| 5762 | + | filename="gobject/gtype.h" | |
| 5763 | + | line="2441">A convenience macro for boxed type implementations. | |
| 5635 | 5764 | ||
| 5636 | 5765 | Similar to G_DEFINE_BOXED_TYPE(), but allows to insert custom code into the | |
| 5637 | 5766 | `type_name_get_type()` function, e.g. to register value transformations with | |
| @@ -5646,33 +5775,33 @@ G_DEFINE_BOXED_TYPE_WITH_CODE (GdkRectangle, gdk_rectangle, | |||
| 5646 | 5775 | ||
| 5647 | 5776 | Similarly to the `G_DEFINE_TYPE_*` family of macros, the #GType of the newly | |
| 5648 | 5777 | defined boxed type is exposed in the `g_define_type_id` variable.</doc> | |
| 5649 | - | <source-position filename="gtype.h" line="2264"/> | |
| 5778 | + | <source-position filename="gobject/gtype.h" line="2468"/> | |
| 5650 | 5779 | <parameters> | |
| 5651 | 5780 | <parameter name="TypeName"> | |
| 5652 | 5781 | <doc xml:space="preserve" | |
| 5653 | - | filename="gtype.h" | |
| 5654 | - | line="2239">The name of the new type, in Camel case</doc> | |
| 5782 | + | filename="gobject/gtype.h" | |
| 5783 | + | line="2443">The name of the new type, in Camel case</doc> | |
| 5655 | 5784 | </parameter> | |
| 5656 | 5785 | <parameter name="type_name"> | |
| 5657 | 5786 | <doc xml:space="preserve" | |
| 5658 | - | filename="gtype.h" | |
| 5659 | - | line="2240">The name of the new type, in lowercase, with words | |
| 5787 | + | filename="gobject/gtype.h" | |
| 5788 | + | line="2444">The name of the new type, in lowercase, with words | |
| 5660 | 5789 | separated by `_`</doc> | |
| 5661 | 5790 | </parameter> | |
| 5662 | 5791 | <parameter name="copy_func"> | |
| 5663 | 5792 | <doc xml:space="preserve" | |
| 5664 | - | filename="gtype.h" | |
| 5665 | - | line="2242">the #GBoxedCopyFunc for the new type</doc> | |
| 5793 | + | filename="gobject/gtype.h" | |
| 5794 | + | line="2446">the #GBoxedCopyFunc for the new type</doc> | |
| 5666 | 5795 | </parameter> | |
| 5667 | 5796 | <parameter name="free_func"> | |
| 5668 | 5797 | <doc xml:space="preserve" | |
| 5669 | - | filename="gtype.h" | |
| 5670 | - | line="2243">the #GBoxedFreeFunc for the new type</doc> | |
| 5798 | + | filename="gobject/gtype.h" | |
| 5799 | + | line="2447">the #GBoxedFreeFunc for the new type</doc> | |
| 5671 | 5800 | </parameter> | |
| 5672 | 5801 | <parameter name="_C_"> | |
| 5673 | 5802 | <doc xml:space="preserve" | |
| 5674 | - | filename="gtype.h" | |
| 5675 | - | line="2244">Custom code that gets inserted in the `*_get_type()` function</doc> | |
| 5803 | + | filename="gobject/gtype.h" | |
| 5804 | + | line="2448">Custom code that gets inserted in the `*_get_type()` function</doc> | |
| 5676 | 5805 | </parameter> | |
| 5677 | 5806 | </parameters> | |
| 5678 | 5807 | </function-macro> | |
| @@ -5681,8 +5810,8 @@ defined boxed type is exposed in the `g_define_type_id` variable.</doc> | |||
| 5681 | 5810 | version="2.14" | |
| 5682 | 5811 | introspectable="0"> | |
| 5683 | 5812 | <doc xml:space="preserve" | |
| 5684 | - | filename="gtypemodule.h" | |
| 5685 | - | line="86">A convenience macro for dynamic type implementations, which declares a | |
| 5813 | + | filename="gobject/gtypemodule.h" | |
| 5814 | + | line="81">A convenience macro for dynamic type implementations, which declares a | |
| 5686 | 5815 | class initialization function, an instance initialization function (see | |
| 5687 | 5816 | #GTypeInfo for information about these) and a static variable named | |
| 5688 | 5817 | `t_n`_parent_class pointing to the parent class. | |
| @@ -5691,23 +5820,23 @@ Furthermore, it defines a `*_get_type()` and a static `*_register_type()` | |||
| 5691 | 5820 | functions for use in your `module_init()`. | |
| 5692 | 5821 | ||
| 5693 | 5822 | See G_DEFINE_DYNAMIC_TYPE_EXTENDED() for an example.</doc> | |
| 5694 | - | <source-position filename="gtypemodule.h" line="105"/> | |
| 5823 | + | <source-position filename="gobject/gtypemodule.h" line="100"/> | |
| 5695 | 5824 | <parameters> | |
| 5696 | 5825 | <parameter name="TN"> | |
| 5697 | 5826 | <doc xml:space="preserve" | |
| 5698 | - | filename="gtypemodule.h" | |
| 5699 | - | line="88">The name of the new type, in Camel case.</doc> | |
| 5827 | + | filename="gobject/gtypemodule.h" | |
| 5828 | + | line="83">The name of the new type, in Camel case.</doc> | |
| 5700 | 5829 | </parameter> | |
| 5701 | 5830 | <parameter name="t_n"> | |
| 5702 | 5831 | <doc xml:space="preserve" | |
| 5703 | - | filename="gtypemodule.h" | |
| 5704 | - | line="89">The name of the new type, in lowercase, with words | |
| 5832 | + | filename="gobject/gtypemodule.h" | |
| 5833 | + | line="84">The name of the new type, in lowercase, with words | |
| 5705 | 5834 | separated by '_'.</doc> | |
| 5706 | 5835 | </parameter> | |
| 5707 | 5836 | <parameter name="T_P"> | |
| 5708 | 5837 | <doc xml:space="preserve" | |
| 5709 | - | filename="gtypemodule.h" | |
| 5710 | - | line="91">The #GType of the parent type.</doc> | |
| 5838 | + | filename="gobject/gtypemodule.h" | |
| 5839 | + | line="86">The #GType of the parent type.</doc> | |
| 5711 | 5840 | </parameter> | |
| 5712 | 5841 | </parameters> | |
| 5713 | 5842 | </function-macro> | |
| @@ -5716,8 +5845,8 @@ See G_DEFINE_DYNAMIC_TYPE_EXTENDED() for an example.</doc> | |||
| 5716 | 5845 | version="2.14" | |
| 5717 | 5846 | introspectable="0"> | |
| 5718 | 5847 | <doc xml:space="preserve" | |
| 5719 | - | filename="gtypemodule.h" | |
| 5720 | - | line="106">A more general version of G_DEFINE_DYNAMIC_TYPE() which | |
| 5848 | + | filename="gobject/gtypemodule.h" | |
| 5849 | + | line="101">A more general version of G_DEFINE_DYNAMIC_TYPE() which | |
| 5721 | 5850 | allows to specify #GTypeFlags and custom code. | |
| 5722 | 5851 | ||
| 5723 | 5852 | |[<!-- language="C" --> | |
| @@ -5779,33 +5908,96 @@ gtk_gadget_register_type (GTypeModule *type_module) | |||
| 5779 | 5908 | } | |
| 5780 | 5909 | } | |
| 5781 | 5910 | ]|</doc> | |
| 5782 | - | <source-position filename="gtypemodule.h" line="180"/> | |
| 5911 | + | <source-position filename="gobject/gtypemodule.h" line="175"/> | |
| 5783 | 5912 | <parameters> | |
| 5784 | 5913 | <parameter name="TypeName"> | |
| 5785 | 5914 | <doc xml:space="preserve" | |
| 5786 | - | filename="gtypemodule.h" | |
| 5787 | - | line="108">The name of the new type, in Camel case.</doc> | |
| 5915 | + | filename="gobject/gtypemodule.h" | |
| 5916 | + | line="103">The name of the new type, in Camel case.</doc> | |
| 5788 | 5917 | </parameter> | |
| 5789 | 5918 | <parameter name="type_name"> | |
| 5790 | 5919 | <doc xml:space="preserve" | |
| 5791 | - | filename="gtypemodule.h" | |
| 5792 | - | line="109">The name of the new type, in lowercase, with words | |
| 5920 | + | filename="gobject/gtypemodule.h" | |
| 5921 | + | line="104">The name of the new type, in lowercase, with words | |
| 5793 | 5922 | separated by '_'.</doc> | |
| 5794 | 5923 | </parameter> | |
| 5795 | 5924 | <parameter name="TYPE_PARENT"> | |
| 5796 | 5925 | <doc xml:space="preserve" | |
| 5797 | - | filename="gtypemodule.h" | |
| 5798 | - | line="111">The #GType of the parent type.</doc> | |
| 5926 | + | filename="gobject/gtypemodule.h" | |
| 5927 | + | line="106">The #GType of the parent type.</doc> | |
| 5799 | 5928 | </parameter> | |
| 5800 | 5929 | <parameter name="flags"> | |
| 5801 | 5930 | <doc xml:space="preserve" | |
| 5802 | - | filename="gtypemodule.h" | |
| 5803 | - | line="112">#GTypeFlags to pass to g_type_module_register_type()</doc> | |
| 5931 | + | filename="gobject/gtypemodule.h" | |
| 5932 | + | line="107">#GTypeFlags to pass to g_type_module_register_type()</doc> | |
| 5804 | 5933 | </parameter> | |
| 5805 | 5934 | <parameter name="CODE"> | |
| 5806 | 5935 | <doc xml:space="preserve" | |
| 5807 | - | filename="gtypemodule.h" | |
| 5808 | - | line="113">Custom code that gets inserted in the *_get_type() function.</doc> | |
| 5936 | + | filename="gobject/gtypemodule.h" | |
| 5937 | + | line="108">Custom code that gets inserted in the *_get_type() function.</doc> | |
| 5938 | + | </parameter> | |
| 5939 | + | </parameters> | |
| 5940 | + | </function-macro> | |
| 5941 | + | <function-macro name="DEFINE_ENUM_TYPE" | |
| 5942 | + | c:identifier="G_DEFINE_ENUM_TYPE" | |
| 5943 | + | version="2.74" | |
| 5944 | + | introspectable="0"> | |
| 5945 | + | <doc xml:space="preserve" | |
| 5946 | + | filename="gobject/genums.h" | |
| 5947 | + | line="297">A convenience macro for defining enumeration types. | |
| 5948 | + | ||
| 5949 | + | This macro will generate a `*_get_type()` function for the | |
| 5950 | + | given @TypeName, using @type_name as the function prefix. | |
| 5951 | + | ||
| 5952 | + | |[<!-- language="C" --> | |
| 5953 | + | G_DEFINE_ENUM_TYPE (GtkOrientation, gtk_orientation, | |
| 5954 | + | G_DEFINE_ENUM_VALUE (GTK_ORIENTATION_HORIZONTAL, "horizontal"), | |
| 5955 | + | G_DEFINE_ENUM_VALUE (GTK_ORIENTATION_VERTICAL, "vertical")) | |
| 5956 | + | ]| | |
| 5957 | + | ||
| 5958 | + | For projects that have multiple enumeration types, or enumeration | |
| 5959 | + | types with many values, you should consider using glib-mkenums to | |
| 5960 | + | generate the type function.</doc> | |
| 5961 | + | <source-position filename="gobject/genums.h" line="320"/> | |
| 5962 | + | <parameters> | |
| 5963 | + | <parameter name="TypeName"> | |
| 5964 | + | <doc xml:space="preserve" | |
| 5965 | + | filename="gobject/genums.h" | |
| 5966 | + | line="299">the enumeration type, in `CamelCase`</doc> | |
| 5967 | + | </parameter> | |
| 5968 | + | <parameter name="type_name"> | |
| 5969 | + | <doc xml:space="preserve" | |
| 5970 | + | filename="gobject/genums.h" | |
| 5971 | + | line="300">the enumeration type prefixed, in `snake_case`</doc> | |
| 5972 | + | </parameter> | |
| 5973 | + | <parameter name="..."> | |
| 5974 | + | <doc xml:space="preserve" | |
| 5975 | + | filename="gobject/genums.h" | |
| 5976 | + | line="301">a list of enumeration values, defined using G_DEFINE_ENUM_VALUE()</doc> | |
| 5977 | + | </parameter> | |
| 5978 | + | </parameters> | |
| 5979 | + | </function-macro> | |
| 5980 | + | <function-macro name="DEFINE_ENUM_VALUE" | |
| 5981 | + | c:identifier="G_DEFINE_ENUM_VALUE" | |
| 5982 | + | version="2.74" | |
| 5983 | + | introspectable="0"> | |
| 5984 | + | <doc xml:space="preserve" | |
| 5985 | + | filename="gobject/genums.h" | |
| 5986 | + | line="281">Defines an enumeration value, and maps it to a "nickname". | |
| 5987 | + | ||
| 5988 | + | This macro can only be used with G_DEFINE_ENUM_TYPE() and | |
| 5989 | + | G_DEFINE_FLAGS_TYPE().</doc> | |
| 5990 | + | <source-position filename="gobject/genums.h" line="293"/> | |
| 5991 | + | <parameters> | |
| 5992 | + | <parameter name="EnumValue"> | |
| 5993 | + | <doc xml:space="preserve" | |
| 5994 | + | filename="gobject/genums.h" | |
| 5995 | + | line="283">an enumeration value</doc> | |
| 5996 | + | </parameter> | |
| 5997 | + | <parameter name="EnumNick"> | |
| 5998 | + | <doc xml:space="preserve" | |
| 5999 | + | filename="gobject/genums.h" | |
| 6000 | + | line="284">a short string representing the enumeration value</doc> | |
| 5809 | 6001 | </parameter> | |
| 5810 | 6002 | </parameters> | |
| 5811 | 6003 | </function-macro> | |
| @@ -5814,29 +6006,29 @@ gtk_gadget_register_type (GTypeModule *type_module) | |||
| 5814 | 6006 | version="2.70" | |
| 5815 | 6007 | introspectable="0"> | |
| 5816 | 6008 | <doc xml:space="preserve" | |
| 5817 | - | filename="gtype.h" | |
| 5818 | - | line="1768">A convenience macro for type implementations. | |
| 6009 | + | filename="gobject/gtype.h" | |
| 6010 | + | line="1925">A convenience macro for type implementations. | |
| 5819 | 6011 | ||
| 5820 | 6012 | Similar to G_DEFINE_TYPE(), but defines a final type. | |
| 5821 | 6013 | ||
| 5822 | 6014 | See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |
| 5823 | - | <source-position filename="gtype.h" line="1783"/> | |
| 6015 | + | <source-position filename="gobject/gtype.h" line="1940"/> | |
| 5824 | 6016 | <parameters> | |
| 5825 | 6017 | <parameter name="TN"> | |
| 5826 | 6018 | <doc xml:space="preserve" | |
| 5827 | - | filename="gtype.h" | |
| 5828 | - | line="1770">the name of the new type, in Camel case</doc> | |
| 6019 | + | filename="gobject/gtype.h" | |
| 6020 | + | line="1927">the name of the new type, in Camel case</doc> | |
| 5829 | 6021 | </parameter> | |
| 5830 | 6022 | <parameter name="t_n"> | |
| 5831 | 6023 | <doc xml:space="preserve" | |
| 5832 | - | filename="gtype.h" | |
| 5833 | - | line="1771">the name of the new type, in lower case, with words | |
| 6024 | + | filename="gobject/gtype.h" | |
| 6025 | + | line="1928">the name of the new type, in lower case, with words | |
| 5834 | 6026 | separated by `_` (snake case)</doc> | |
| 5835 | 6027 | </parameter> | |
| 5836 | 6028 | <parameter name="T_P"> | |
| 5837 | 6029 | <doc xml:space="preserve" | |
| 5838 | - | filename="gtype.h" | |
| 5839 | - | line="1773">the #GType of the parent type</doc> | |
| 6030 | + | filename="gobject/gtype.h" | |
| 6031 | + | line="1930">the #GType of the parent type</doc> | |
| 5840 | 6032 | </parameter> | |
| 5841 | 6033 | </parameters> | |
| 5842 | 6034 | </function-macro> | |
| @@ -5845,36 +6037,36 @@ See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |||
| 5845 | 6037 | version="2.70" | |
| 5846 | 6038 | introspectable="0"> | |
| 5847 | 6039 | <doc xml:space="preserve" | |
| 5848 | - | filename="gtype.h" | |
| 5849 | - | line="1784">A convenience macro for type implementations. | |
| 6040 | + | filename="gobject/gtype.h" | |
| 6041 | + | line="1941">A convenience macro for type implementations. | |
| 5850 | 6042 | ||
| 5851 | 6043 | Similar to G_DEFINE_TYPE_WITH_CODE(), but defines a final type and | |
| 5852 | 6044 | allows you to insert custom code into the `*_get_type()` function, e.g. | |
| 5853 | 6045 | interface implementations via G_IMPLEMENT_INTERFACE(). | |
| 5854 | 6046 | ||
| 5855 | 6047 | See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |
| 5856 | - | <source-position filename="gtype.h" line="1802"/> | |
| 6048 | + | <source-position filename="gobject/gtype.h" line="1959"/> | |
| 5857 | 6049 | <parameters> | |
| 5858 | 6050 | <parameter name="TN"> | |
| 5859 | 6051 | <doc xml:space="preserve" | |
| 5860 | - | filename="gtype.h" | |
| 5861 | - | line="1786">the name of the new type, in Camel case</doc> | |
| 6052 | + | filename="gobject/gtype.h" | |
| 6053 | + | line="1943">the name of the new type, in Camel case</doc> | |
| 5862 | 6054 | </parameter> | |
| 5863 | 6055 | <parameter name="t_n"> | |
| 5864 | 6056 | <doc xml:space="preserve" | |
| 5865 | - | filename="gtype.h" | |
| 5866 | - | line="1787">the name of the new type, in lower case, with words | |
| 6057 | + | filename="gobject/gtype.h" | |
| 6058 | + | line="1944">the name of the new type, in lower case, with words | |
| 5867 | 6059 | separated by `_` (snake case)</doc> | |
| 5868 | 6060 | </parameter> | |
| 5869 | 6061 | <parameter name="T_P"> | |
| 5870 | 6062 | <doc xml:space="preserve" | |
| 5871 | - | filename="gtype.h" | |
| 5872 | - | line="1789">the #GType of the parent type</doc> | |
| 6063 | + | filename="gobject/gtype.h" | |
| 6064 | + | line="1946">the #GType of the parent type</doc> | |
| 5873 | 6065 | </parameter> | |
| 5874 | 6066 | <parameter name="_C_"> | |
| 5875 | 6067 | <doc xml:space="preserve" | |
| 5876 | - | filename="gtype.h" | |
| 5877 | - | line="1790">Custom code that gets inserted in the `type_name_get_type()` function.</doc> | |
| 6068 | + | filename="gobject/gtype.h" | |
| 6069 | + | line="1947">Custom code that gets inserted in the `type_name_get_type()` function.</doc> | |
| 5878 | 6070 | </parameter> | |
| 5879 | 6071 | </parameters> | |
| 5880 | 6072 | </function-macro> | |
| @@ -5883,29 +6075,72 @@ See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |||
| 5883 | 6075 | version="2.70" | |
| 5884 | 6076 | introspectable="0"> | |
| 5885 | 6077 | <doc xml:space="preserve" | |
| 5886 | - | filename="gtype.h" | |
| 5887 | - | line="1803">A convenience macro for type implementations. | |
| 6078 | + | filename="gobject/gtype.h" | |
| 6079 | + | line="1960">A convenience macro for type implementations. | |
| 5888 | 6080 | ||
| 5889 | 6081 | Similar to G_DEFINE_TYPE_WITH_PRIVATE(), but defines a final type. | |
| 5890 | 6082 | ||
| 5891 | 6083 | See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |
| 5892 | - | <source-position filename="gtype.h" line="1818"/> | |
| 6084 | + | <source-position filename="gobject/gtype.h" line="1975"/> | |
| 5893 | 6085 | <parameters> | |
| 5894 | 6086 | <parameter name="TN"> | |
| 5895 | 6087 | <doc xml:space="preserve" | |
| 5896 | - | filename="gtype.h" | |
| 5897 | - | line="1805">the name of the new type, in Camel case</doc> | |
| 6088 | + | filename="gobject/gtype.h" | |
| 6089 | + | line="1962">the name of the new type, in Camel case</doc> | |
| 5898 | 6090 | </parameter> | |
| 5899 | 6091 | <parameter name="t_n"> | |
| 5900 | 6092 | <doc xml:space="preserve" | |
| 5901 | - | filename="gtype.h" | |
| 5902 | - | line="1806">the name of the new type, in lower case, with words | |
| 6093 | + | filename="gobject/gtype.h" | |
| 6094 | + | line="1963">the name of the new type, in lower case, with words | |
| 5903 | 6095 | separated by `_` (snake case)</doc> | |
| 5904 | 6096 | </parameter> | |
| 5905 | 6097 | <parameter name="T_P"> | |
| 5906 | 6098 | <doc xml:space="preserve" | |
| 5907 | - | filename="gtype.h" | |
| 5908 | - | line="1808">the #GType of the parent type</doc> | |
| 6099 | + | filename="gobject/gtype.h" | |
| 6100 | + | line="1965">the #GType of the parent type</doc> | |
| 6101 | + | </parameter> | |
| 6102 | + | </parameters> | |
| 6103 | + | </function-macro> | |
| 6104 | + | <function-macro name="DEFINE_FLAGS_TYPE" | |
| 6105 | + | c:identifier="G_DEFINE_FLAGS_TYPE" | |
| 6106 | + | version="2.74" | |
| 6107 | + | introspectable="0"> | |
| 6108 | + | <doc xml:space="preserve" | |
| 6109 | + | filename="gobject/genums.h" | |
| 6110 | + | line="336">A convenience macro for defining flag types. | |
| 6111 | + | ||
| 6112 | + | This macro will generate a `*_get_type()` function for the | |
| 6113 | + | given @TypeName, using @type_name as the function prefix. | |
| 6114 | + | ||
| 6115 | + | |[<!-- language="C" --> | |
| 6116 | + | G_DEFINE_FLAGS_TYPE (GSettingsBindFlags, g_settings_bind_flags, | |
| 6117 | + | G_DEFINE_ENUM_VALUE (G_SETTINGS_BIND_DEFAULT, "default"), | |
| 6118 | + | G_DEFINE_ENUM_VALUE (G_SETTINGS_BIND_GET, "get"), | |
| 6119 | + | G_DEFINE_ENUM_VALUE (G_SETTINGS_BIND_SET, "set"), | |
| 6120 | + | G_DEFINE_ENUM_VALUE (G_SETTINGS_BIND_NO_SENSITIVITY, "no-sensitivity"), | |
| 6121 | + | G_DEFINE_ENUM_VALUE (G_SETTINGS_BIND_GET_NO_CHANGES, "get-no-changes"), | |
| 6122 | + | G_DEFINE_ENUM_VALUE (G_SETTINGS_BIND_INVERT_BOOLEAN, "invert-boolean")) | |
| 6123 | + | ]| | |
| 6124 | + | ||
| 6125 | + | For projects that have multiple enumeration types, or enumeration | |
| 6126 | + | types with many values, you should consider using glib-mkenums to | |
| 6127 | + | generate the type function.</doc> | |
| 6128 | + | <source-position filename="gobject/genums.h" line="363"/> | |
| 6129 | + | <parameters> | |
| 6130 | + | <parameter name="TypeName"> | |
| 6131 | + | <doc xml:space="preserve" | |
| 6132 | + | filename="gobject/genums.h" | |
| 6133 | + | line="338">the enumeration type, in `CamelCase`</doc> | |
| 6134 | + | </parameter> | |
| 6135 | + | <parameter name="type_name"> | |
| 6136 | + | <doc xml:space="preserve" | |
| 6137 | + | filename="gobject/genums.h" | |
| 6138 | + | line="339">the enumeration type prefixed, in `snake_case`</doc> | |
| 6139 | + | </parameter> | |
| 6140 | + | <parameter name="..."> | |
| 6141 | + | <doc xml:space="preserve" | |
| 6142 | + | filename="gobject/genums.h" | |
| 6143 | + | line="340">a list of enumeration values, defined using G_DEFINE_ENUM_VALUE()</doc> | |
| 5909 | 6144 | </parameter> | |
| 5910 | 6145 | </parameters> | |
| 5911 | 6146 | </function-macro> | |
| @@ -5914,8 +6149,8 @@ See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |||
| 5914 | 6149 | version="2.24" | |
| 5915 | 6150 | introspectable="0"> | |
| 5916 | 6151 | <doc xml:space="preserve" | |
| 5917 | - | filename="gtype.h" | |
| 5918 | - | line="1898">A convenience macro for #GTypeInterface definitions, which declares | |
| 6152 | + | filename="gobject/gtype.h" | |
| 6153 | + | line="2055">A convenience macro for #GTypeInterface definitions, which declares | |
| 5919 | 6154 | a default vtable initialization function and defines a `*_get_type()` | |
| 5920 | 6155 | function. | |
| 5921 | 6156 | ||
| @@ -5928,22 +6163,22 @@ The initialization function has signature | |||
| 5928 | 6163 | the full #GInterfaceInitFunc signature, for brevity and convenience. If you | |
| 5929 | 6164 | need to use an initialization function with an `iface_data` argument, you | |
| 5930 | 6165 | must write the #GTypeInterface definitions manually.</doc> | |
| 5931 | - | <source-position filename="gtype.h" line="1921"/> | |
| 6166 | + | <source-position filename="gobject/gtype.h" line="2078"/> | |
| 5932 | 6167 | <parameters> | |
| 5933 | 6168 | <parameter name="TN"> | |
| 5934 | 6169 | <doc xml:space="preserve" | |
| 5935 | - | filename="gtype.h" | |
| 5936 | - | line="1900">The name of the new type, in Camel case.</doc> | |
| 6170 | + | filename="gobject/gtype.h" | |
| 6171 | + | line="2057">The name of the new type, in Camel case.</doc> | |
| 5937 | 6172 | </parameter> | |
| 5938 | 6173 | <parameter name="t_n"> | |
| 5939 | 6174 | <doc xml:space="preserve" | |
| 5940 | - | filename="gtype.h" | |
| 5941 | - | line="1901">The name of the new type, in lowercase, with words separated by `_`.</doc> | |
| 6175 | + | filename="gobject/gtype.h" | |
| 6176 | + | line="2058">The name of the new type, in lowercase, with words separated by `_`.</doc> | |
| 5942 | 6177 | </parameter> | |
| 5943 | 6178 | <parameter name="T_P"> | |
| 5944 | 6179 | <doc xml:space="preserve" | |
| 5945 | - | filename="gtype.h" | |
| 5946 | - | line="1902">The #GType of the prerequisite type for the interface, or %G_TYPE_INVALID | |
| 6180 | + | filename="gobject/gtype.h" | |
| 6181 | + | line="2059">The #GType of the prerequisite type for the interface, or %G_TYPE_INVALID | |
| 5947 | 6182 | for no prerequisite type.</doc> | |
| 5948 | 6183 | </parameter> | |
| 5949 | 6184 | </parameters> | |
| @@ -5953,8 +6188,8 @@ for no prerequisite type.</doc> | |||
| 5953 | 6188 | version="2.24" | |
| 5954 | 6189 | introspectable="0"> | |
| 5955 | 6190 | <doc xml:space="preserve" | |
| 5956 | - | filename="gtype.h" | |
| 5957 | - | line="1923">A convenience macro for #GTypeInterface definitions. | |
| 6191 | + | filename="gobject/gtype.h" | |
| 6192 | + | line="2080">A convenience macro for #GTypeInterface definitions. | |
| 5958 | 6193 | ||
| 5959 | 6194 | Similar to G_DEFINE_INTERFACE(), but allows you to insert custom code | |
| 5960 | 6195 | into the `*_get_type()` function, e.g. additional interface implementations | |
| @@ -5962,28 +6197,28 @@ via G_IMPLEMENT_INTERFACE(), or additional prerequisite types. | |||
| 5962 | 6197 | ||
| 5963 | 6198 | See G_DEFINE_TYPE_EXTENDED() for a similar example using | |
| 5964 | 6199 | G_DEFINE_TYPE_WITH_CODE().</doc> | |
| 5965 | - | <source-position filename="gtype.h" line="1942"/> | |
| 6200 | + | <source-position filename="gobject/gtype.h" line="2099"/> | |
| 5966 | 6201 | <parameters> | |
| 5967 | 6202 | <parameter name="TN"> | |
| 5968 | 6203 | <doc xml:space="preserve" | |
| 5969 | - | filename="gtype.h" | |
| 5970 | - | line="1925">The name of the new type, in Camel case.</doc> | |
| 6204 | + | filename="gobject/gtype.h" | |
| 6205 | + | line="2082">The name of the new type, in Camel case.</doc> | |
| 5971 | 6206 | </parameter> | |
| 5972 | 6207 | <parameter name="t_n"> | |
| 5973 | 6208 | <doc xml:space="preserve" | |
| 5974 | - | filename="gtype.h" | |
| 5975 | - | line="1926">The name of the new type, in lowercase, with words separated by `_`.</doc> | |
| 6209 | + | filename="gobject/gtype.h" | |
| 6210 | + | line="2083">The name of the new type, in lowercase, with words separated by `_`.</doc> | |
| 5976 | 6211 | </parameter> | |
| 5977 | 6212 | <parameter name="T_P"> | |
| 5978 | 6213 | <doc xml:space="preserve" | |
| 5979 | - | filename="gtype.h" | |
| 5980 | - | line="1927">The #GType of the prerequisite type for the interface, or %G_TYPE_INVALID | |
| 6214 | + | filename="gobject/gtype.h" | |
| 6215 | + | line="2084">The #GType of the prerequisite type for the interface, or %G_TYPE_INVALID | |
| 5981 | 6216 | for no prerequisite type.</doc> | |
| 5982 | 6217 | </parameter> | |
| 5983 | 6218 | <parameter name="_C_"> | |
| 5984 | 6219 | <doc xml:space="preserve" | |
| 5985 | - | filename="gtype.h" | |
| 5986 | - | line="1929">Custom code that gets inserted in the `*_get_type()` function.</doc> | |
| 6220 | + | filename="gobject/gtype.h" | |
| 6221 | + | line="2086">Custom code that gets inserted in the `*_get_type()` function.</doc> | |
| 5987 | 6222 | </parameter> | |
| 5988 | 6223 | </parameters> | |
| 5989 | 6224 | </function-macro> | |
| @@ -5992,20 +6227,20 @@ for no prerequisite type.</doc> | |||
| 5992 | 6227 | version="2.26" | |
| 5993 | 6228 | introspectable="0"> | |
| 5994 | 6229 | <doc xml:space="preserve" | |
| 5995 | - | filename="gtype.h" | |
| 5996 | - | line="2333">A convenience macro for pointer type implementations, which defines a | |
| 6230 | + | filename="gobject/gtype.h" | |
| 6231 | + | line="2538">A convenience macro for pointer type implementations, which defines a | |
| 5997 | 6232 | `type_name_get_type()` function registering the pointer type.</doc> | |
| 5998 | - | <source-position filename="gtype.h" line="2344"/> | |
| 6233 | + | <source-position filename="gobject/gtype.h" line="2549"/> | |
| 5999 | 6234 | <parameters> | |
| 6000 | 6235 | <parameter name="TypeName"> | |
| 6001 | 6236 | <doc xml:space="preserve" | |
| 6002 | - | filename="gtype.h" | |
| 6003 | - | line="2335">The name of the new type, in Camel case</doc> | |
| 6237 | + | filename="gobject/gtype.h" | |
| 6238 | + | line="2540">The name of the new type, in Camel case</doc> | |
| 6004 | 6239 | </parameter> | |
| 6005 | 6240 | <parameter name="type_name"> | |
| 6006 | 6241 | <doc xml:space="preserve" | |
| 6007 | - | filename="gtype.h" | |
| 6008 | - | line="2336">The name of the new type, in lowercase, with words | |
| 6242 | + | filename="gobject/gtype.h" | |
| 6243 | + | line="2541">The name of the new type, in lowercase, with words | |
| 6009 | 6244 | separated by `_`</doc> | |
| 6010 | 6245 | </parameter> | |
| 6011 | 6246 | </parameters> | |
| @@ -6015,27 +6250,27 @@ for no prerequisite type.</doc> | |||
| 6015 | 6250 | version="2.26" | |
| 6016 | 6251 | introspectable="0"> | |
| 6017 | 6252 | <doc xml:space="preserve" | |
| 6018 | - | filename="gtype.h" | |
| 6019 | - | line="2345">A convenience macro for pointer type implementations. | |
| 6253 | + | filename="gobject/gtype.h" | |
| 6254 | + | line="2550">A convenience macro for pointer type implementations. | |
| 6020 | 6255 | Similar to G_DEFINE_POINTER_TYPE(), but allows to insert | |
| 6021 | 6256 | custom code into the `type_name_get_type()` function.</doc> | |
| 6022 | - | <source-position filename="gtype.h" line="2358"/> | |
| 6257 | + | <source-position filename="gobject/gtype.h" line="2563"/> | |
| 6023 | 6258 | <parameters> | |
| 6024 | 6259 | <parameter name="TypeName"> | |
| 6025 | 6260 | <doc xml:space="preserve" | |
| 6026 | - | filename="gtype.h" | |
| 6027 | - | line="2347">The name of the new type, in Camel case</doc> | |
| 6261 | + | filename="gobject/gtype.h" | |
| 6262 | + | line="2552">The name of the new type, in Camel case</doc> | |
| 6028 | 6263 | </parameter> | |
| 6029 | 6264 | <parameter name="type_name"> | |
| 6030 | 6265 | <doc xml:space="preserve" | |
| 6031 | - | filename="gtype.h" | |
| 6032 | - | line="2348">The name of the new type, in lowercase, with words | |
| 6266 | + | filename="gobject/gtype.h" | |
| 6267 | + | line="2553">The name of the new type, in lowercase, with words | |
| 6033 | 6268 | separated by `_`</doc> | |
| 6034 | 6269 | </parameter> | |
| 6035 | 6270 | <parameter name="_C_"> | |
| 6036 | 6271 | <doc xml:space="preserve" | |
| 6037 | - | filename="gtype.h" | |
| 6038 | - | line="2350">Custom code that gets inserted in the `*_get_type()` function</doc> | |
| 6272 | + | filename="gobject/gtype.h" | |
| 6273 | + | line="2555">Custom code that gets inserted in the `*_get_type()` function</doc> | |
| 6039 | 6274 | </parameter> | |
| 6040 | 6275 | </parameters> | |
| 6041 | 6276 | </function-macro> | |
| @@ -6044,29 +6279,29 @@ custom code into the `type_name_get_type()` function.</doc> | |||
| 6044 | 6279 | version="2.4" | |
| 6045 | 6280 | introspectable="0"> | |
| 6046 | 6281 | <doc xml:space="preserve" | |
| 6047 | - | filename="gtype.h" | |
| 6048 | - | line="1662">A convenience macro for type implementations, which declares a class | |
| 6282 | + | filename="gobject/gtype.h" | |
| 6283 | + | line="1819">A convenience macro for type implementations, which declares a class | |
| 6049 | 6284 | initialization function, an instance initialization function (see #GTypeInfo | |
| 6050 | 6285 | for information about these) and a static variable named `t_n_parent_class` | |
| 6051 | 6286 | pointing to the parent class. Furthermore, it defines a `*_get_type()` function. | |
| 6052 | 6287 | See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |
| 6053 | - | <source-position filename="gtype.h" line="1677"/> | |
| 6288 | + | <source-position filename="gobject/gtype.h" line="1834"/> | |
| 6054 | 6289 | <parameters> | |
| 6055 | 6290 | <parameter name="TN"> | |
| 6056 | 6291 | <doc xml:space="preserve" | |
| 6057 | - | filename="gtype.h" | |
| 6058 | - | line="1664">The name of the new type, in Camel case.</doc> | |
| 6292 | + | filename="gobject/gtype.h" | |
| 6293 | + | line="1821">The name of the new type, in Camel case.</doc> | |
| 6059 | 6294 | </parameter> | |
| 6060 | 6295 | <parameter name="t_n"> | |
| 6061 | 6296 | <doc xml:space="preserve" | |
| 6062 | - | filename="gtype.h" | |
| 6063 | - | line="1665">The name of the new type, in lowercase, with words | |
| 6297 | + | filename="gobject/gtype.h" | |
| 6298 | + | line="1822">The name of the new type, in lowercase, with words | |
| 6064 | 6299 | separated by `_`.</doc> | |
| 6065 | 6300 | </parameter> | |
| 6066 | 6301 | <parameter name="T_P"> | |
| 6067 | 6302 | <doc xml:space="preserve" | |
| 6068 | - | filename="gtype.h" | |
| 6069 | - | line="1667">The #GType of the parent type.</doc> | |
| 6303 | + | filename="gobject/gtype.h" | |
| 6304 | + | line="1824">The #GType of the parent type.</doc> | |
| 6070 | 6305 | </parameter> | |
| 6071 | 6306 | </parameters> | |
| 6072 | 6307 | </function-macro> | |
| @@ -6075,8 +6310,8 @@ See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |||
| 6075 | 6310 | version="2.4" | |
| 6076 | 6311 | introspectable="0"> | |
| 6077 | 6312 | <doc xml:space="preserve" | |
| 6078 | - | filename="gtype.h" | |
| 6079 | - | line="1819">The most general convenience macro for type implementations, on which | |
| 6313 | + | filename="gobject/gtype.h" | |
| 6314 | + | line="1976">The most general convenience macro for type implementations, on which | |
| 6080 | 6315 | G_DEFINE_TYPE(), etc are based. | |
| 6081 | 6316 | ||
| 6082 | 6317 | |[<!-- language="C" --> | |
| @@ -6111,8 +6346,8 @@ static inline gpointer gtk_gadget_get_instance_private (GtkGadget *self) | |||
| 6111 | 6346 | GType | |
| 6112 | 6347 | gtk_gadget_get_type (void) | |
| 6113 | 6348 | { | |
| 6114 | - | static gsize static_g_define_type_id = 0; | |
| 6115 | - | if (g_once_init_enter (&static_g_define_type_id)) | |
| 6349 | + | static GType static_g_define_type_id = 0; | |
| 6350 | + | if (g_once_init_enter_pointer (&static_g_define_type_id)) | |
| 6116 | 6351 | { | |
| 6117 | 6352 | GType g_define_type_id = | |
| 6118 | 6353 | g_type_register_static_simple (GTK_TYPE_WIDGET, | |
| @@ -6132,7 +6367,7 @@ gtk_gadget_get_type (void) | |||
| 6132 | 6367 | }; | |
| 6133 | 6368 | g_type_add_interface_static (g_define_type_id, TYPE_GIZMO, &g_implement_interface_info); | |
| 6134 | 6369 | } | |
| 6135 | - | g_once_init_leave (&static_g_define_type_id, g_define_type_id); | |
| 6370 | + | g_once_init_leave_pointer (&static_g_define_type_id, g_define_type_id); | |
| 6136 | 6371 | } | |
| 6137 | 6372 | return static_g_define_type_id; | |
| 6138 | 6373 | } | |
| @@ -6141,33 +6376,33 @@ gtk_gadget_get_type (void) | |||
| 6141 | 6376 | The only pieces which have to be manually provided are the definitions of | |
| 6142 | 6377 | the instance and class structure and the definitions of the instance and | |
| 6143 | 6378 | class init functions.</doc> | |
| 6144 | - | <source-position filename="gtype.h" line="1896"/> | |
| 6379 | + | <source-position filename="gobject/gtype.h" line="2053"/> | |
| 6145 | 6380 | <parameters> | |
| 6146 | 6381 | <parameter name="TN"> | |
| 6147 | 6382 | <doc xml:space="preserve" | |
| 6148 | - | filename="gtype.h" | |
| 6149 | - | line="1821">The name of the new type, in Camel case.</doc> | |
| 6383 | + | filename="gobject/gtype.h" | |
| 6384 | + | line="1978">The name of the new type, in Camel case.</doc> | |
| 6150 | 6385 | </parameter> | |
| 6151 | 6386 | <parameter name="t_n"> | |
| 6152 | 6387 | <doc xml:space="preserve" | |
| 6153 | - | filename="gtype.h" | |
| 6154 | - | line="1822">The name of the new type, in lowercase, with words | |
| 6388 | + | filename="gobject/gtype.h" | |
| 6389 | + | line="1979">The name of the new type, in lowercase, with words | |
| 6155 | 6390 | separated by `_`.</doc> | |
| 6156 | 6391 | </parameter> | |
| 6157 | 6392 | <parameter name="T_P"> | |
| 6158 | 6393 | <doc xml:space="preserve" | |
| 6159 | - | filename="gtype.h" | |
| 6160 | - | line="1824">The #GType of the parent type.</doc> | |
| 6394 | + | filename="gobject/gtype.h" | |
| 6395 | + | line="1981">The #GType of the parent type.</doc> | |
| 6161 | 6396 | </parameter> | |
| 6162 | 6397 | <parameter name="_f_"> | |
| 6163 | 6398 | <doc xml:space="preserve" | |
| 6164 | - | filename="gtype.h" | |
| 6165 | - | line="1825">#GTypeFlags to pass to g_type_register_static()</doc> | |
| 6399 | + | filename="gobject/gtype.h" | |
| 6400 | + | line="1982">#GTypeFlags to pass to g_type_register_static()</doc> | |
| 6166 | 6401 | </parameter> | |
| 6167 | 6402 | <parameter name="_C_"> | |
| 6168 | 6403 | <doc xml:space="preserve" | |
| 6169 | - | filename="gtype.h" | |
| 6170 | - | line="1826">Custom code that gets inserted in the `*_get_type()` function.</doc> | |
| 6404 | + | filename="gobject/gtype.h" | |
| 6405 | + | line="1983">Custom code that gets inserted in the `*_get_type()` function.</doc> | |
| 6171 | 6406 | </parameter> | |
| 6172 | 6407 | </parameters> | |
| 6173 | 6408 | </function-macro> | |
| @@ -6176,33 +6411,33 @@ class init functions.</doc> | |||
| 6176 | 6411 | version="2.4" | |
| 6177 | 6412 | introspectable="0"> | |
| 6178 | 6413 | <doc xml:space="preserve" | |
| 6179 | - | filename="gtype.h" | |
| 6180 | - | line="1678">A convenience macro for type implementations. | |
| 6414 | + | filename="gobject/gtype.h" | |
| 6415 | + | line="1835">A convenience macro for type implementations. | |
| 6181 | 6416 | ||
| 6182 | 6417 | Similar to G_DEFINE_TYPE(), but allows you to insert custom code into the | |
| 6183 | 6418 | `*_get_type()` function, e.g. interface implementations via G_IMPLEMENT_INTERFACE(). | |
| 6184 | 6419 | See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |
| 6185 | - | <source-position filename="gtype.h" line="1693"/> | |
| 6420 | + | <source-position filename="gobject/gtype.h" line="1850"/> | |
| 6186 | 6421 | <parameters> | |
| 6187 | 6422 | <parameter name="TN"> | |
| 6188 | 6423 | <doc xml:space="preserve" | |
| 6189 | - | filename="gtype.h" | |
| 6190 | - | line="1680">The name of the new type, in Camel case.</doc> | |
| 6424 | + | filename="gobject/gtype.h" | |
| 6425 | + | line="1837">The name of the new type, in Camel case.</doc> | |
| 6191 | 6426 | </parameter> | |
| 6192 | 6427 | <parameter name="t_n"> | |
| 6193 | 6428 | <doc xml:space="preserve" | |
| 6194 | - | filename="gtype.h" | |
| 6195 | - | line="1681">The name of the new type in lowercase, with words separated by `_`.</doc> | |
| 6429 | + | filename="gobject/gtype.h" | |
| 6430 | + | line="1838">The name of the new type in lowercase, with words separated by `_`.</doc> | |
| 6196 | 6431 | </parameter> | |
| 6197 | 6432 | <parameter name="T_P"> | |
| 6198 | 6433 | <doc xml:space="preserve" | |
| 6199 | - | filename="gtype.h" | |
| 6200 | - | line="1682">The #GType of the parent type.</doc> | |
| 6434 | + | filename="gobject/gtype.h" | |
| 6435 | + | line="1839">The #GType of the parent type.</doc> | |
| 6201 | 6436 | </parameter> | |
| 6202 | 6437 | <parameter name="_C_"> | |
| 6203 | 6438 | <doc xml:space="preserve" | |
| 6204 | - | filename="gtype.h" | |
| 6205 | - | line="1683">Custom code that gets inserted in the `*_get_type()` function.</doc> | |
| 6439 | + | filename="gobject/gtype.h" | |
| 6440 | + | line="1840">Custom code that gets inserted in the `*_get_type()` function.</doc> | |
| 6206 | 6441 | </parameter> | |
| 6207 | 6442 | </parameters> | |
| 6208 | 6443 | </function-macro> | |
| @@ -6211,8 +6446,8 @@ See G_DEFINE_TYPE_EXTENDED() for an example.</doc> | |||
| 6211 | 6446 | version="2.38" | |
| 6212 | 6447 | introspectable="0"> | |
| 6213 | 6448 | <doc xml:space="preserve" | |
| 6214 | - | filename="gtype.h" | |
| 6215 | - | line="1694">A convenience macro for type implementations, which declares a class | |
| 6449 | + | filename="gobject/gtype.h" | |
| 6450 | + | line="1851">A convenience macro for type implementations, which declares a class | |
| 6216 | 6451 | initialization function, an instance initialization function (see #GTypeInfo | |
| 6217 | 6452 | for information about these), a static variable named `t_n_parent_class` | |
| 6218 | 6453 | pointing to the parent class, and adds private instance data to the type. | |
| @@ -6227,146 +6462,1255 @@ The private instance data can be retrieved using the automatically generated | |||
| 6227 | 6462 | getter function `t_n_get_instance_private()`. | |
| 6228 | 6463 | ||
| 6229 | 6464 | See also: G_ADD_PRIVATE()</doc> | |
| 6230 | - | <source-position filename="gtype.h" line="1719"/> | |
| 6465 | + | <source-position filename="gobject/gtype.h" line="1876"/> | |
| 6231 | 6466 | <parameters> | |
| 6232 | 6467 | <parameter name="TN"> | |
| 6233 | 6468 | <doc xml:space="preserve" | |
| 6234 | - | filename="gtype.h" | |
| 6235 | - | line="1696">The name of the new type, in Camel case.</doc> | |
| 6469 | + | filename="gobject/gtype.h" | |
| 6470 | + | line="1853">The name of the new type, in Camel case.</doc> | |
| 6236 | 6471 | </parameter> | |
| 6237 | 6472 | <parameter name="t_n"> | |
| 6238 | 6473 | <doc xml:space="preserve" | |
| 6239 | - | filename="gtype.h" | |
| 6240 | - | line="1697">The name of the new type, in lowercase, with words | |
| 6474 | + | filename="gobject/gtype.h" | |
| 6475 | + | line="1854">The name of the new type, in lowercase, with words | |
| 6241 | 6476 | separated by `_`.</doc> | |
| 6242 | 6477 | </parameter> | |
| 6243 | 6478 | <parameter name="T_P"> | |
| 6244 | 6479 | <doc xml:space="preserve" | |
| 6245 | - | filename="gtype.h" | |
| 6246 | - | line="1699">The #GType of the parent type.</doc> | |
| 6480 | + | filename="gobject/gtype.h" | |
| 6481 | + | line="1856">The #GType of the parent type.</doc> | |
| 6247 | 6482 | </parameter> | |
| 6248 | 6483 | </parameters> | |
| 6249 | 6484 | </function-macro> | |
| 6250 | - | <function-macro name="ENUM_CLASS" | |
| 6251 | - | c:identifier="G_ENUM_CLASS" | |
| 6485 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_26_FOR" | |
| 6486 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_26_FOR" | |
| 6252 | 6487 | introspectable="0"> | |
| 6253 | - | <doc xml:space="preserve" | |
| 6254 | - | filename="genums.h" | |
| 6255 | - | line="38">Casts a derived #GEnumClass structure into a #GEnumClass structure.</doc> | |
| 6256 | - | <source-position filename="genums.h" line="44"/> | |
| 6488 | + | <source-position filename="gobject/gobject-visibility.h" line="42"/> | |
| 6257 | 6489 | <parameters> | |
| 6258 | - | <parameter name="class"> | |
| 6259 | - | <doc xml:space="preserve" | |
| 6260 | - | filename="genums.h" | |
| 6261 | - | line="40">a valid #GEnumClass</doc> | |
| 6490 | + | <parameter name="f"> | |
| 6262 | 6491 | </parameter> | |
| 6263 | 6492 | </parameters> | |
| 6264 | 6493 | </function-macro> | |
| 6265 | - | <function-macro name="ENUM_CLASS_TYPE" | |
| 6266 | - | c:identifier="G_ENUM_CLASS_TYPE" | |
| 6494 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_28_FOR" | |
| 6495 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_28_FOR" | |
| 6267 | 6496 | introspectable="0"> | |
| 6268 | - | <doc xml:space="preserve" | |
| 6269 | - | filename="genums.h" | |
| 6270 | - | line="53">Get the type identifier from a given #GEnumClass structure.</doc> | |
| 6271 | - | <source-position filename="genums.h" line="61"/> | |
| 6497 | + | <source-position filename="gobject/gobject-visibility.h" line="76"/> | |
| 6272 | 6498 | <parameters> | |
| 6273 | - | <parameter name="class"> | |
| 6274 | - | <doc xml:space="preserve" | |
| 6275 | - | filename="genums.h" | |
| 6276 | - | line="55">a #GEnumClass</doc> | |
| 6499 | + | <parameter name="f"> | |
| 6277 | 6500 | </parameter> | |
| 6278 | 6501 | </parameters> | |
| 6279 | 6502 | </function-macro> | |
| 6280 | - | <function-macro name="ENUM_CLASS_TYPE_NAME" | |
| 6281 | - | c:identifier="G_ENUM_CLASS_TYPE_NAME" | |
| 6503 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_30_FOR" | |
| 6504 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_30_FOR" | |
| 6282 | 6505 | introspectable="0"> | |
| 6283 | - | <doc xml:space="preserve" | |
| 6284 | - | filename="genums.h" | |
| 6285 | - | line="62">Get the static type name from a given #GEnumClass structure.</doc> | |
| 6286 | - | <source-position filename="genums.h" line="70"/> | |
| 6506 | + | <source-position filename="gobject/gobject-visibility.h" line="110"/> | |
| 6287 | 6507 | <parameters> | |
| 6288 | - | <parameter name="class"> | |
| 6289 | - | <doc xml:space="preserve" | |
| 6290 | - | filename="genums.h" | |
| 6291 | - | line="64">a #GEnumClass</doc> | |
| 6508 | + | <parameter name="f"> | |
| 6292 | 6509 | </parameter> | |
| 6293 | 6510 | </parameters> | |
| 6294 | 6511 | </function-macro> | |
| 6295 | - | <record name="EnumClass" c:type="GEnumClass"> | |
| 6296 | - | <doc xml:space="preserve" | |
| 6297 | - | filename="genums.h" | |
| 6298 | - | line="143">The class of an enumeration type holds information about its | |
| 6299 | - | possible values.</doc> | |
| 6300 | - | <source-position filename="genums.h" line="164"/> | |
| 6512 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_32_FOR" | |
| 6513 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_32_FOR" | |
| 6514 | + | introspectable="0"> | |
| 6515 | + | <source-position filename="gobject/gobject-visibility.h" line="144"/> | |
| 6516 | + | <parameters> | |
| 6517 | + | <parameter name="f"> | |
| 6518 | + | </parameter> | |
| 6519 | + | </parameters> | |
| 6520 | + | </function-macro> | |
| 6521 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_34_FOR" | |
| 6522 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_34_FOR" | |
| 6523 | + | introspectable="0"> | |
| 6524 | + | <source-position filename="gobject/gobject-visibility.h" line="178"/> | |
| 6525 | + | <parameters> | |
| 6526 | + | <parameter name="f"> | |
| 6527 | + | </parameter> | |
| 6528 | + | </parameters> | |
| 6529 | + | </function-macro> | |
| 6530 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_36_FOR" | |
| 6531 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_36_FOR" | |
| 6532 | + | introspectable="0"> | |
| 6533 | + | <source-position filename="gobject/gobject-visibility.h" line="212"/> | |
| 6534 | + | <parameters> | |
| 6535 | + | <parameter name="f"> | |
| 6536 | + | </parameter> | |
| 6537 | + | </parameters> | |
| 6538 | + | </function-macro> | |
| 6539 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_38_FOR" | |
| 6540 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_38_FOR" | |
| 6541 | + | introspectable="0"> | |
| 6542 | + | <source-position filename="gobject/gobject-visibility.h" line="246"/> | |
| 6543 | + | <parameters> | |
| 6544 | + | <parameter name="f"> | |
| 6545 | + | </parameter> | |
| 6546 | + | </parameters> | |
| 6547 | + | </function-macro> | |
| 6548 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_40_FOR" | |
| 6549 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_40_FOR" | |
| 6550 | + | introspectable="0"> | |
| 6551 | + | <source-position filename="gobject/gobject-visibility.h" line="280"/> | |
| 6552 | + | <parameters> | |
| 6553 | + | <parameter name="f"> | |
| 6554 | + | </parameter> | |
| 6555 | + | </parameters> | |
| 6556 | + | </function-macro> | |
| 6557 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_42_FOR" | |
| 6558 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_42_FOR" | |
| 6559 | + | introspectable="0"> | |
| 6560 | + | <source-position filename="gobject/gobject-visibility.h" line="314"/> | |
| 6561 | + | <parameters> | |
| 6562 | + | <parameter name="f"> | |
| 6563 | + | </parameter> | |
| 6564 | + | </parameters> | |
| 6565 | + | </function-macro> | |
| 6566 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_44_FOR" | |
| 6567 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_44_FOR" | |
| 6568 | + | introspectable="0"> | |
| 6569 | + | <source-position filename="gobject/gobject-visibility.h" line="348"/> | |
| 6570 | + | <parameters> | |
| 6571 | + | <parameter name="f"> | |
| 6572 | + | </parameter> | |
| 6573 | + | </parameters> | |
| 6574 | + | </function-macro> | |
| 6575 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_46_FOR" | |
| 6576 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_46_FOR" | |
| 6577 | + | introspectable="0"> | |
| 6578 | + | <source-position filename="gobject/gobject-visibility.h" line="382"/> | |
| 6579 | + | <parameters> | |
| 6580 | + | <parameter name="f"> | |
| 6581 | + | </parameter> | |
| 6582 | + | </parameters> | |
| 6583 | + | </function-macro> | |
| 6584 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_48_FOR" | |
| 6585 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_48_FOR" | |
| 6586 | + | introspectable="0"> | |
| 6587 | + | <source-position filename="gobject/gobject-visibility.h" line="416"/> | |
| 6588 | + | <parameters> | |
| 6589 | + | <parameter name="f"> | |
| 6590 | + | </parameter> | |
| 6591 | + | </parameters> | |
| 6592 | + | </function-macro> | |
| 6593 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_50_FOR" | |
| 6594 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_50_FOR" | |
| 6595 | + | introspectable="0"> | |
| 6596 | + | <source-position filename="gobject/gobject-visibility.h" line="450"/> | |
| 6597 | + | <parameters> | |
| 6598 | + | <parameter name="f"> | |
| 6599 | + | </parameter> | |
| 6600 | + | </parameters> | |
| 6601 | + | </function-macro> | |
| 6602 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_52_FOR" | |
| 6603 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_52_FOR" | |
| 6604 | + | introspectable="0"> | |
| 6605 | + | <source-position filename="gobject/gobject-visibility.h" line="484"/> | |
| 6606 | + | <parameters> | |
| 6607 | + | <parameter name="f"> | |
| 6608 | + | </parameter> | |
| 6609 | + | </parameters> | |
| 6610 | + | </function-macro> | |
| 6611 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_54_FOR" | |
| 6612 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_54_FOR" | |
| 6613 | + | introspectable="0"> | |
| 6614 | + | <source-position filename="gobject/gobject-visibility.h" line="518"/> | |
| 6615 | + | <parameters> | |
| 6616 | + | <parameter name="f"> | |
| 6617 | + | </parameter> | |
| 6618 | + | </parameters> | |
| 6619 | + | </function-macro> | |
| 6620 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_56_FOR" | |
| 6621 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_56_FOR" | |
| 6622 | + | introspectable="0"> | |
| 6623 | + | <source-position filename="gobject/gobject-visibility.h" line="552"/> | |
| 6624 | + | <parameters> | |
| 6625 | + | <parameter name="f"> | |
| 6626 | + | </parameter> | |
| 6627 | + | </parameters> | |
| 6628 | + | </function-macro> | |
| 6629 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_58_FOR" | |
| 6630 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_58_FOR" | |
| 6631 | + | introspectable="0"> | |
| 6632 | + | <source-position filename="gobject/gobject-visibility.h" line="586"/> | |
| 6633 | + | <parameters> | |
| 6634 | + | <parameter name="f"> | |
| 6635 | + | </parameter> | |
| 6636 | + | </parameters> | |
| 6637 | + | </function-macro> | |
| 6638 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_60_FOR" | |
| 6639 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_60_FOR" | |
| 6640 | + | introspectable="0"> | |
| 6641 | + | <source-position filename="gobject/gobject-visibility.h" line="620"/> | |
| 6642 | + | <parameters> | |
| 6643 | + | <parameter name="f"> | |
| 6644 | + | </parameter> | |
| 6645 | + | </parameters> | |
| 6646 | + | </function-macro> | |
| 6647 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_62_FOR" | |
| 6648 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_62_FOR" | |
| 6649 | + | introspectable="0"> | |
| 6650 | + | <source-position filename="gobject/gobject-visibility.h" line="654"/> | |
| 6651 | + | <parameters> | |
| 6652 | + | <parameter name="f"> | |
| 6653 | + | </parameter> | |
| 6654 | + | </parameters> | |
| 6655 | + | </function-macro> | |
| 6656 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_64_FOR" | |
| 6657 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_64_FOR" | |
| 6658 | + | introspectable="0"> | |
| 6659 | + | <source-position filename="gobject/gobject-visibility.h" line="688"/> | |
| 6660 | + | <parameters> | |
| 6661 | + | <parameter name="f"> | |
| 6662 | + | </parameter> | |
| 6663 | + | </parameters> | |
| 6664 | + | </function-macro> | |
| 6665 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_66_FOR" | |
| 6666 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_66_FOR" | |
| 6667 | + | introspectable="0"> | |
| 6668 | + | <source-position filename="gobject/gobject-visibility.h" line="722"/> | |
| 6669 | + | <parameters> | |
| 6670 | + | <parameter name="f"> | |
| 6671 | + | </parameter> | |
| 6672 | + | </parameters> | |
| 6673 | + | </function-macro> | |
| 6674 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_68_FOR" | |
| 6675 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_68_FOR" | |
| 6676 | + | introspectable="0"> | |
| 6677 | + | <source-position filename="gobject/gobject-visibility.h" line="756"/> | |
| 6678 | + | <parameters> | |
| 6679 | + | <parameter name="f"> | |
| 6680 | + | </parameter> | |
| 6681 | + | </parameters> | |
| 6682 | + | </function-macro> | |
| 6683 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_70_FOR" | |
| 6684 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_70_FOR" | |
| 6685 | + | introspectable="0"> | |
| 6686 | + | <source-position filename="gobject/gobject-visibility.h" line="790"/> | |
| 6687 | + | <parameters> | |
| 6688 | + | <parameter name="f"> | |
| 6689 | + | </parameter> | |
| 6690 | + | </parameters> | |
| 6691 | + | </function-macro> | |
| 6692 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_72_FOR" | |
| 6693 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_72_FOR" | |
| 6694 | + | introspectable="0"> | |
| 6695 | + | <source-position filename="gobject/gobject-visibility.h" line="824"/> | |
| 6696 | + | <parameters> | |
| 6697 | + | <parameter name="f"> | |
| 6698 | + | </parameter> | |
| 6699 | + | </parameters> | |
| 6700 | + | </function-macro> | |
| 6701 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_74_FOR" | |
| 6702 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_74_FOR" | |
| 6703 | + | introspectable="0"> | |
| 6704 | + | <source-position filename="gobject/gobject-visibility.h" line="858"/> | |
| 6705 | + | <parameters> | |
| 6706 | + | <parameter name="f"> | |
| 6707 | + | </parameter> | |
| 6708 | + | </parameters> | |
| 6709 | + | </function-macro> | |
| 6710 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_76_FOR" | |
| 6711 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_76_FOR" | |
| 6712 | + | introspectable="0"> | |
| 6713 | + | <source-position filename="gobject/gobject-visibility.h" line="892"/> | |
| 6714 | + | <parameters> | |
| 6715 | + | <parameter name="f"> | |
| 6716 | + | </parameter> | |
| 6717 | + | </parameters> | |
| 6718 | + | </function-macro> | |
| 6719 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_78_FOR" | |
| 6720 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_78_FOR" | |
| 6721 | + | introspectable="0"> | |
| 6722 | + | <source-position filename="gobject/gobject-visibility.h" line="926"/> | |
| 6723 | + | <parameters> | |
| 6724 | + | <parameter name="f"> | |
| 6725 | + | </parameter> | |
| 6726 | + | </parameters> | |
| 6727 | + | </function-macro> | |
| 6728 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_80_FOR" | |
| 6729 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_80_FOR" | |
| 6730 | + | introspectable="0"> | |
| 6731 | + | <source-position filename="gobject/gobject-visibility.h" line="960"/> | |
| 6732 | + | <parameters> | |
| 6733 | + | <parameter name="f"> | |
| 6734 | + | </parameter> | |
| 6735 | + | </parameters> | |
| 6736 | + | </function-macro> | |
| 6737 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_82_FOR" | |
| 6738 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_82_FOR" | |
| 6739 | + | introspectable="0"> | |
| 6740 | + | <source-position filename="gobject/gobject-visibility.h" line="994"/> | |
| 6741 | + | <parameters> | |
| 6742 | + | <parameter name="f"> | |
| 6743 | + | </parameter> | |
| 6744 | + | </parameters> | |
| 6745 | + | </function-macro> | |
| 6746 | + | <function-macro name="DEPRECATED_ENUMERATOR_IN_2_84_FOR" | |
| 6747 | + | c:identifier="GOBJECT_DEPRECATED_ENUMERATOR_IN_2_84_FOR" | |
| 6748 | + | introspectable="0"> | |
| 6749 | + | <source-position filename="gobject/gobject-visibility.h" line="1028"/> | |
| 6750 | + | <parameters> | |
| 6751 | + | <parameter name="f"> | |
| 6752 | + | </parameter> | |
| 6753 | + | </parameters> | |
| 6754 | + | </function-macro> | |
| 6755 | + | <function-macro name="DEPRECATED_FOR" | |
| 6756 | + | c:identifier="GOBJECT_DEPRECATED_FOR" | |
| 6757 | + | introspectable="0"> | |
| 6758 | + | <source-position filename="gobject/gobject-visibility.h" line="26"/> | |
| 6759 | + | <parameters> | |
| 6760 | + | <parameter name="f"> | |
| 6761 | + | </parameter> | |
| 6762 | + | </parameters> | |
| 6763 | + | </function-macro> | |
| 6764 | + | <function-macro name="DEPRECATED_IN_2_26_FOR" | |
| 6765 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_26_FOR" | |
| 6766 | + | introspectable="0"> | |
| 6767 | + | <source-position filename="gobject/gobject-visibility.h" line="38"/> | |
| 6768 | + | <parameters> | |
| 6769 | + | <parameter name="f"> | |
| 6770 | + | </parameter> | |
| 6771 | + | </parameters> | |
| 6772 | + | </function-macro> | |
| 6773 | + | <function-macro name="DEPRECATED_IN_2_28_FOR" | |
| 6774 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_28_FOR" | |
| 6775 | + | introspectable="0"> | |
| 6776 | + | <source-position filename="gobject/gobject-visibility.h" line="72"/> | |
| 6777 | + | <parameters> | |
| 6778 | + | <parameter name="f"> | |
| 6779 | + | </parameter> | |
| 6780 | + | </parameters> | |
| 6781 | + | </function-macro> | |
| 6782 | + | <function-macro name="DEPRECATED_IN_2_30_FOR" | |
| 6783 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_30_FOR" | |
| 6784 | + | introspectable="0"> | |
| 6785 | + | <source-position filename="gobject/gobject-visibility.h" line="106"/> | |
| 6786 | + | <parameters> | |
| 6787 | + | <parameter name="f"> | |
| 6788 | + | </parameter> | |
| 6789 | + | </parameters> | |
| 6790 | + | </function-macro> | |
| 6791 | + | <function-macro name="DEPRECATED_IN_2_32_FOR" | |
| 6792 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_32_FOR" | |
| 6793 | + | introspectable="0"> | |
| 6794 | + | <source-position filename="gobject/gobject-visibility.h" line="140"/> | |
| 6795 | + | <parameters> | |
| 6796 | + | <parameter name="f"> | |
| 6797 | + | </parameter> | |
| 6798 | + | </parameters> | |
| 6799 | + | </function-macro> | |
| 6800 | + | <function-macro name="DEPRECATED_IN_2_34_FOR" | |
| 6801 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_34_FOR" | |
| 6802 | + | introspectable="0"> | |
| 6803 | + | <source-position filename="gobject/gobject-visibility.h" line="174"/> | |
| 6804 | + | <parameters> | |
| 6805 | + | <parameter name="f"> | |
| 6806 | + | </parameter> | |
| 6807 | + | </parameters> | |
| 6808 | + | </function-macro> | |
| 6809 | + | <function-macro name="DEPRECATED_IN_2_36_FOR" | |
| 6810 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_36_FOR" | |
| 6811 | + | introspectable="0"> | |
| 6812 | + | <source-position filename="gobject/gobject-visibility.h" line="208"/> | |
| 6813 | + | <parameters> | |
| 6814 | + | <parameter name="f"> | |
| 6815 | + | </parameter> | |
| 6816 | + | </parameters> | |
| 6817 | + | </function-macro> | |
| 6818 | + | <function-macro name="DEPRECATED_IN_2_38_FOR" | |
| 6819 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_38_FOR" | |
| 6820 | + | introspectable="0"> | |
| 6821 | + | <source-position filename="gobject/gobject-visibility.h" line="242"/> | |
| 6822 | + | <parameters> | |
| 6823 | + | <parameter name="f"> | |
| 6824 | + | </parameter> | |
| 6825 | + | </parameters> | |
| 6826 | + | </function-macro> | |
| 6827 | + | <function-macro name="DEPRECATED_IN_2_40_FOR" | |
| 6828 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_40_FOR" | |
| 6829 | + | introspectable="0"> | |
| 6830 | + | <source-position filename="gobject/gobject-visibility.h" line="276"/> | |
| 6831 | + | <parameters> | |
| 6832 | + | <parameter name="f"> | |
| 6833 | + | </parameter> | |
| 6834 | + | </parameters> | |
| 6835 | + | </function-macro> | |
| 6836 | + | <function-macro name="DEPRECATED_IN_2_42_FOR" | |
| 6837 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_42_FOR" | |
| 6838 | + | introspectable="0"> | |
| 6839 | + | <source-position filename="gobject/gobject-visibility.h" line="310"/> | |
| 6840 | + | <parameters> | |
| 6841 | + | <parameter name="f"> | |
| 6842 | + | </parameter> | |
| 6843 | + | </parameters> | |
| 6844 | + | </function-macro> | |
| 6845 | + | <function-macro name="DEPRECATED_IN_2_44_FOR" | |
| 6846 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_44_FOR" | |
| 6847 | + | introspectable="0"> | |
| 6848 | + | <source-position filename="gobject/gobject-visibility.h" line="344"/> | |
| 6849 | + | <parameters> | |
| 6850 | + | <parameter name="f"> | |
| 6851 | + | </parameter> | |
| 6852 | + | </parameters> | |
| 6853 | + | </function-macro> | |
| 6854 | + | <function-macro name="DEPRECATED_IN_2_46_FOR" | |
| 6855 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_46_FOR" | |
| 6856 | + | introspectable="0"> | |
| 6857 | + | <source-position filename="gobject/gobject-visibility.h" line="378"/> | |
| 6858 | + | <parameters> | |
| 6859 | + | <parameter name="f"> | |
| 6860 | + | </parameter> | |
| 6861 | + | </parameters> | |
| 6862 | + | </function-macro> | |
| 6863 | + | <function-macro name="DEPRECATED_IN_2_48_FOR" | |
| 6864 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_48_FOR" | |
| 6865 | + | introspectable="0"> | |
| 6866 | + | <source-position filename="gobject/gobject-visibility.h" line="412"/> | |
| 6867 | + | <parameters> | |
| 6868 | + | <parameter name="f"> | |
| 6869 | + | </parameter> | |
| 6870 | + | </parameters> | |
| 6871 | + | </function-macro> | |
| 6872 | + | <function-macro name="DEPRECATED_IN_2_50_FOR" | |
| 6873 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_50_FOR" | |
| 6874 | + | introspectable="0"> | |
| 6875 | + | <source-position filename="gobject/gobject-visibility.h" line="446"/> | |
| 6876 | + | <parameters> | |
| 6877 | + | <parameter name="f"> | |
| 6878 | + | </parameter> | |
| 6879 | + | </parameters> | |
| 6880 | + | </function-macro> | |
| 6881 | + | <function-macro name="DEPRECATED_IN_2_52_FOR" | |
| 6882 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_52_FOR" | |
| 6883 | + | introspectable="0"> | |
| 6884 | + | <source-position filename="gobject/gobject-visibility.h" line="480"/> | |
| 6885 | + | <parameters> | |
| 6886 | + | <parameter name="f"> | |
| 6887 | + | </parameter> | |
| 6888 | + | </parameters> | |
| 6889 | + | </function-macro> | |
| 6890 | + | <function-macro name="DEPRECATED_IN_2_54_FOR" | |
| 6891 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_54_FOR" | |
| 6892 | + | introspectable="0"> | |
| 6893 | + | <source-position filename="gobject/gobject-visibility.h" line="514"/> | |
| 6894 | + | <parameters> | |
| 6895 | + | <parameter name="f"> | |
| 6896 | + | </parameter> | |
| 6897 | + | </parameters> | |
| 6898 | + | </function-macro> | |
| 6899 | + | <function-macro name="DEPRECATED_IN_2_56_FOR" | |
| 6900 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_56_FOR" | |
| 6901 | + | introspectable="0"> | |
| 6902 | + | <source-position filename="gobject/gobject-visibility.h" line="548"/> | |
| 6903 | + | <parameters> | |
| 6904 | + | <parameter name="f"> | |
| 6905 | + | </parameter> | |
| 6906 | + | </parameters> | |
| 6907 | + | </function-macro> | |
| 6908 | + | <function-macro name="DEPRECATED_IN_2_58_FOR" | |
| 6909 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_58_FOR" | |
| 6910 | + | introspectable="0"> | |
| 6911 | + | <source-position filename="gobject/gobject-visibility.h" line="582"/> | |
| 6912 | + | <parameters> | |
| 6913 | + | <parameter name="f"> | |
| 6914 | + | </parameter> | |
| 6915 | + | </parameters> | |
| 6916 | + | </function-macro> | |
| 6917 | + | <function-macro name="DEPRECATED_IN_2_60_FOR" | |
| 6918 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_60_FOR" | |
| 6919 | + | introspectable="0"> | |
| 6920 | + | <source-position filename="gobject/gobject-visibility.h" line="616"/> | |
| 6921 | + | <parameters> | |
| 6922 | + | <parameter name="f"> | |
| 6923 | + | </parameter> | |
| 6924 | + | </parameters> | |
| 6925 | + | </function-macro> | |
| 6926 | + | <function-macro name="DEPRECATED_IN_2_62_FOR" | |
| 6927 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_62_FOR" | |
| 6928 | + | introspectable="0"> | |
| 6929 | + | <source-position filename="gobject/gobject-visibility.h" line="650"/> | |
| 6930 | + | <parameters> | |
| 6931 | + | <parameter name="f"> | |
| 6932 | + | </parameter> | |
| 6933 | + | </parameters> | |
| 6934 | + | </function-macro> | |
| 6935 | + | <function-macro name="DEPRECATED_IN_2_64_FOR" | |
| 6936 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_64_FOR" | |
| 6937 | + | introspectable="0"> | |
| 6938 | + | <source-position filename="gobject/gobject-visibility.h" line="684"/> | |
| 6939 | + | <parameters> | |
| 6940 | + | <parameter name="f"> | |
| 6941 | + | </parameter> | |
| 6942 | + | </parameters> | |
| 6943 | + | </function-macro> | |
| 6944 | + | <function-macro name="DEPRECATED_IN_2_66_FOR" | |
| 6945 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_66_FOR" | |
| 6946 | + | introspectable="0"> | |
| 6947 | + | <source-position filename="gobject/gobject-visibility.h" line="718"/> | |
| 6948 | + | <parameters> | |
| 6949 | + | <parameter name="f"> | |
| 6950 | + | </parameter> | |
| 6951 | + | </parameters> | |
| 6952 | + | </function-macro> | |
| 6953 | + | <function-macro name="DEPRECATED_IN_2_68_FOR" | |
| 6954 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_68_FOR" | |
| 6955 | + | introspectable="0"> | |
| 6956 | + | <source-position filename="gobject/gobject-visibility.h" line="752"/> | |
| 6957 | + | <parameters> | |
| 6958 | + | <parameter name="f"> | |
| 6959 | + | </parameter> | |
| 6960 | + | </parameters> | |
| 6961 | + | </function-macro> | |
| 6962 | + | <function-macro name="DEPRECATED_IN_2_70_FOR" | |
| 6963 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_70_FOR" | |
| 6964 | + | introspectable="0"> | |
| 6965 | + | <source-position filename="gobject/gobject-visibility.h" line="786"/> | |
| 6966 | + | <parameters> | |
| 6967 | + | <parameter name="f"> | |
| 6968 | + | </parameter> | |
| 6969 | + | </parameters> | |
| 6970 | + | </function-macro> | |
| 6971 | + | <function-macro name="DEPRECATED_IN_2_72_FOR" | |
| 6972 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_72_FOR" | |
| 6973 | + | introspectable="0"> | |
| 6974 | + | <source-position filename="gobject/gobject-visibility.h" line="820"/> | |
| 6975 | + | <parameters> | |
| 6976 | + | <parameter name="f"> | |
| 6977 | + | </parameter> | |
| 6978 | + | </parameters> | |
| 6979 | + | </function-macro> | |
| 6980 | + | <function-macro name="DEPRECATED_IN_2_74_FOR" | |
| 6981 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_74_FOR" | |
| 6982 | + | introspectable="0"> | |
| 6983 | + | <source-position filename="gobject/gobject-visibility.h" line="854"/> | |
| 6984 | + | <parameters> | |
| 6985 | + | <parameter name="f"> | |
| 6986 | + | </parameter> | |
| 6987 | + | </parameters> | |
| 6988 | + | </function-macro> | |
| 6989 | + | <function-macro name="DEPRECATED_IN_2_76_FOR" | |
| 6990 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_76_FOR" | |
| 6991 | + | introspectable="0"> | |
| 6992 | + | <source-position filename="gobject/gobject-visibility.h" line="888"/> | |
| 6993 | + | <parameters> | |
| 6994 | + | <parameter name="f"> | |
| 6995 | + | </parameter> | |
| 6996 | + | </parameters> | |
| 6997 | + | </function-macro> | |
| 6998 | + | <function-macro name="DEPRECATED_IN_2_78_FOR" | |
| 6999 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_78_FOR" | |
| 7000 | + | introspectable="0"> | |
| 7001 | + | <source-position filename="gobject/gobject-visibility.h" line="922"/> | |
| 7002 | + | <parameters> | |
| 7003 | + | <parameter name="f"> | |
| 7004 | + | </parameter> | |
| 7005 | + | </parameters> | |
| 7006 | + | </function-macro> | |
| 7007 | + | <function-macro name="DEPRECATED_IN_2_80_FOR" | |
| 7008 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_80_FOR" | |
| 7009 | + | introspectable="0"> | |
| 7010 | + | <source-position filename="gobject/gobject-visibility.h" line="956"/> | |
| 7011 | + | <parameters> | |
| 7012 | + | <parameter name="f"> | |
| 7013 | + | </parameter> | |
| 7014 | + | </parameters> | |
| 7015 | + | </function-macro> | |
| 7016 | + | <function-macro name="DEPRECATED_IN_2_82_FOR" | |
| 7017 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_82_FOR" | |
| 7018 | + | introspectable="0"> | |
| 7019 | + | <source-position filename="gobject/gobject-visibility.h" line="990"/> | |
| 7020 | + | <parameters> | |
| 7021 | + | <parameter name="f"> | |
| 7022 | + | </parameter> | |
| 7023 | + | </parameters> | |
| 7024 | + | </function-macro> | |
| 7025 | + | <function-macro name="DEPRECATED_IN_2_84_FOR" | |
| 7026 | + | c:identifier="GOBJECT_DEPRECATED_IN_2_84_FOR" | |
| 7027 | + | introspectable="0"> | |
| 7028 | + | <source-position filename="gobject/gobject-visibility.h" line="1024"/> | |
| 7029 | + | <parameters> | |
| 7030 | + | <parameter name="f"> | |
| 7031 | + | </parameter> | |
| 7032 | + | </parameters> | |
| 7033 | + | </function-macro> | |
| 7034 | + | <function-macro name="DEPRECATED_MACRO_IN_2_26_FOR" | |
| 7035 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_26_FOR" | |
| 7036 | + | introspectable="0"> | |
| 7037 | + | <source-position filename="gobject/gobject-visibility.h" line="40"/> | |
| 7038 | + | <parameters> | |
| 7039 | + | <parameter name="f"> | |
| 7040 | + | </parameter> | |
| 7041 | + | </parameters> | |
| 7042 | + | </function-macro> | |
| 7043 | + | <function-macro name="DEPRECATED_MACRO_IN_2_28_FOR" | |
| 7044 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_28_FOR" | |
| 7045 | + | introspectable="0"> | |
| 7046 | + | <source-position filename="gobject/gobject-visibility.h" line="74"/> | |
| 7047 | + | <parameters> | |
| 7048 | + | <parameter name="f"> | |
| 7049 | + | </parameter> | |
| 7050 | + | </parameters> | |
| 7051 | + | </function-macro> | |
| 7052 | + | <function-macro name="DEPRECATED_MACRO_IN_2_30_FOR" | |
| 7053 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_30_FOR" | |
| 7054 | + | introspectable="0"> | |
| 7055 | + | <source-position filename="gobject/gobject-visibility.h" line="108"/> | |
| 7056 | + | <parameters> | |
| 7057 | + | <parameter name="f"> | |
| 7058 | + | </parameter> | |
| 7059 | + | </parameters> | |
| 7060 | + | </function-macro> | |
| 7061 | + | <function-macro name="DEPRECATED_MACRO_IN_2_32_FOR" | |
| 7062 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_32_FOR" | |
| 7063 | + | introspectable="0"> | |
| 7064 | + | <source-position filename="gobject/gobject-visibility.h" line="142"/> | |
| 7065 | + | <parameters> | |
| 7066 | + | <parameter name="f"> | |
| 7067 | + | </parameter> | |
| 7068 | + | </parameters> | |
| 7069 | + | </function-macro> | |
| 7070 | + | <function-macro name="DEPRECATED_MACRO_IN_2_34_FOR" | |
| 7071 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_34_FOR" | |
| 7072 | + | introspectable="0"> | |
| 7073 | + | <source-position filename="gobject/gobject-visibility.h" line="176"/> | |
| 7074 | + | <parameters> | |
| 7075 | + | <parameter name="f"> | |
| 7076 | + | </parameter> | |
| 7077 | + | </parameters> | |
| 7078 | + | </function-macro> | |
| 7079 | + | <function-macro name="DEPRECATED_MACRO_IN_2_36_FOR" | |
| 7080 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_36_FOR" | |
| 7081 | + | introspectable="0"> | |
| 7082 | + | <source-position filename="gobject/gobject-visibility.h" line="210"/> | |
| 7083 | + | <parameters> | |
| 7084 | + | <parameter name="f"> | |
| 7085 | + | </parameter> | |
| 7086 | + | </parameters> | |
| 7087 | + | </function-macro> | |
| 7088 | + | <function-macro name="DEPRECATED_MACRO_IN_2_38_FOR" | |
| 7089 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_38_FOR" | |
| 7090 | + | introspectable="0"> | |
| 7091 | + | <source-position filename="gobject/gobject-visibility.h" line="244"/> | |
| 7092 | + | <parameters> | |
| 7093 | + | <parameter name="f"> | |
| 7094 | + | </parameter> | |
| 7095 | + | </parameters> | |
| 7096 | + | </function-macro> | |
| 7097 | + | <function-macro name="DEPRECATED_MACRO_IN_2_40_FOR" | |
| 7098 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_40_FOR" | |
| 7099 | + | introspectable="0"> | |
| 7100 | + | <source-position filename="gobject/gobject-visibility.h" line="278"/> | |
| 7101 | + | <parameters> | |
| 7102 | + | <parameter name="f"> | |
| 7103 | + | </parameter> | |
| 7104 | + | </parameters> | |
| 7105 | + | </function-macro> | |
| 7106 | + | <function-macro name="DEPRECATED_MACRO_IN_2_42_FOR" | |
| 7107 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_42_FOR" | |
| 7108 | + | introspectable="0"> | |
| 7109 | + | <source-position filename="gobject/gobject-visibility.h" line="312"/> | |
| 7110 | + | <parameters> | |
| 7111 | + | <parameter name="f"> | |
| 7112 | + | </parameter> | |
| 7113 | + | </parameters> | |
| 7114 | + | </function-macro> | |
| 7115 | + | <function-macro name="DEPRECATED_MACRO_IN_2_44_FOR" | |
| 7116 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_44_FOR" | |
| 7117 | + | introspectable="0"> | |
| 7118 | + | <source-position filename="gobject/gobject-visibility.h" line="346"/> | |
| 7119 | + | <parameters> | |
| 7120 | + | <parameter name="f"> | |
| 7121 | + | </parameter> | |
| 7122 | + | </parameters> | |
| 7123 | + | </function-macro> | |
| 7124 | + | <function-macro name="DEPRECATED_MACRO_IN_2_46_FOR" | |
| 7125 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_46_FOR" | |
| 7126 | + | introspectable="0"> | |
| 7127 | + | <source-position filename="gobject/gobject-visibility.h" line="380"/> | |
| 7128 | + | <parameters> | |
| 7129 | + | <parameter name="f"> | |
| 7130 | + | </parameter> | |
| 7131 | + | </parameters> | |
| 7132 | + | </function-macro> | |
| 7133 | + | <function-macro name="DEPRECATED_MACRO_IN_2_48_FOR" | |
| 7134 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_48_FOR" | |
| 7135 | + | introspectable="0"> | |
| 7136 | + | <source-position filename="gobject/gobject-visibility.h" line="414"/> | |
| 7137 | + | <parameters> | |
| 7138 | + | <parameter name="f"> | |
| 7139 | + | </parameter> | |
| 7140 | + | </parameters> | |
| 7141 | + | </function-macro> | |
| 7142 | + | <function-macro name="DEPRECATED_MACRO_IN_2_50_FOR" | |
| 7143 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_50_FOR" | |
| 7144 | + | introspectable="0"> | |
| 7145 | + | <source-position filename="gobject/gobject-visibility.h" line="448"/> | |
| 7146 | + | <parameters> | |
| 7147 | + | <parameter name="f"> | |
| 7148 | + | </parameter> | |
| 7149 | + | </parameters> | |
| 7150 | + | </function-macro> | |
| 7151 | + | <function-macro name="DEPRECATED_MACRO_IN_2_52_FOR" | |
| 7152 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_52_FOR" | |
| 7153 | + | introspectable="0"> | |
| 7154 | + | <source-position filename="gobject/gobject-visibility.h" line="482"/> | |
| 7155 | + | <parameters> | |
| 7156 | + | <parameter name="f"> | |
| 7157 | + | </parameter> | |
| 7158 | + | </parameters> | |
| 7159 | + | </function-macro> | |
| 7160 | + | <function-macro name="DEPRECATED_MACRO_IN_2_54_FOR" | |
| 7161 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_54_FOR" | |
| 7162 | + | introspectable="0"> | |
| 7163 | + | <source-position filename="gobject/gobject-visibility.h" line="516"/> | |
| 7164 | + | <parameters> | |
| 7165 | + | <parameter name="f"> | |
| 7166 | + | </parameter> | |
| 7167 | + | </parameters> | |
| 7168 | + | </function-macro> | |
| 7169 | + | <function-macro name="DEPRECATED_MACRO_IN_2_56_FOR" | |
| 7170 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_56_FOR" | |
| 7171 | + | introspectable="0"> | |
| 7172 | + | <source-position filename="gobject/gobject-visibility.h" line="550"/> | |
| 7173 | + | <parameters> | |
| 7174 | + | <parameter name="f"> | |
| 7175 | + | </parameter> | |
| 7176 | + | </parameters> | |
| 7177 | + | </function-macro> | |
| 7178 | + | <function-macro name="DEPRECATED_MACRO_IN_2_58_FOR" | |
| 7179 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_58_FOR" | |
| 7180 | + | introspectable="0"> | |
| 7181 | + | <source-position filename="gobject/gobject-visibility.h" line="584"/> | |
| 7182 | + | <parameters> | |
| 7183 | + | <parameter name="f"> | |
| 7184 | + | </parameter> | |
| 7185 | + | </parameters> | |
| 7186 | + | </function-macro> | |
| 7187 | + | <function-macro name="DEPRECATED_MACRO_IN_2_60_FOR" | |
| 7188 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_60_FOR" | |
| 7189 | + | introspectable="0"> | |
| 7190 | + | <source-position filename="gobject/gobject-visibility.h" line="618"/> | |
| 7191 | + | <parameters> | |
| 7192 | + | <parameter name="f"> | |
| 7193 | + | </parameter> | |
| 7194 | + | </parameters> | |
| 7195 | + | </function-macro> | |
| 7196 | + | <function-macro name="DEPRECATED_MACRO_IN_2_62_FOR" | |
| 7197 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_62_FOR" | |
| 7198 | + | introspectable="0"> | |
| 7199 | + | <source-position filename="gobject/gobject-visibility.h" line="652"/> | |
| 7200 | + | <parameters> | |
| 7201 | + | <parameter name="f"> | |
| 7202 | + | </parameter> | |
| 7203 | + | </parameters> | |
| 7204 | + | </function-macro> | |
| 7205 | + | <function-macro name="DEPRECATED_MACRO_IN_2_64_FOR" | |
| 7206 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_64_FOR" | |
| 7207 | + | introspectable="0"> | |
| 7208 | + | <source-position filename="gobject/gobject-visibility.h" line="686"/> | |
| 7209 | + | <parameters> | |
| 7210 | + | <parameter name="f"> | |
| 7211 | + | </parameter> | |
| 7212 | + | </parameters> | |
| 7213 | + | </function-macro> | |
| 7214 | + | <function-macro name="DEPRECATED_MACRO_IN_2_66_FOR" | |
| 7215 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_66_FOR" | |
| 7216 | + | introspectable="0"> | |
| 7217 | + | <source-position filename="gobject/gobject-visibility.h" line="720"/> | |
| 7218 | + | <parameters> | |
| 7219 | + | <parameter name="f"> | |
| 7220 | + | </parameter> | |
| 7221 | + | </parameters> | |
| 7222 | + | </function-macro> | |
| 7223 | + | <function-macro name="DEPRECATED_MACRO_IN_2_68_FOR" | |
| 7224 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_68_FOR" | |
| 7225 | + | introspectable="0"> | |
| 7226 | + | <source-position filename="gobject/gobject-visibility.h" line="754"/> | |
| 7227 | + | <parameters> | |
| 7228 | + | <parameter name="f"> | |
| 7229 | + | </parameter> | |
| 7230 | + | </parameters> | |
| 7231 | + | </function-macro> | |
| 7232 | + | <function-macro name="DEPRECATED_MACRO_IN_2_70_FOR" | |
| 7233 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_70_FOR" | |
| 7234 | + | introspectable="0"> | |
| 7235 | + | <source-position filename="gobject/gobject-visibility.h" line="788"/> | |
| 7236 | + | <parameters> | |
| 7237 | + | <parameter name="f"> | |
| 7238 | + | </parameter> | |
| 7239 | + | </parameters> | |
| 7240 | + | </function-macro> | |
| 7241 | + | <function-macro name="DEPRECATED_MACRO_IN_2_72_FOR" | |
| 7242 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_72_FOR" | |
| 7243 | + | introspectable="0"> | |
| 7244 | + | <source-position filename="gobject/gobject-visibility.h" line="822"/> | |
| 7245 | + | <parameters> | |
| 7246 | + | <parameter name="f"> | |
| 7247 | + | </parameter> | |
| 7248 | + | </parameters> | |
| 7249 | + | </function-macro> | |
| 7250 | + | <function-macro name="DEPRECATED_MACRO_IN_2_74_FOR" | |
| 7251 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_74_FOR" | |
| 7252 | + | introspectable="0"> | |
| 7253 | + | <source-position filename="gobject/gobject-visibility.h" line="856"/> | |
| 7254 | + | <parameters> | |
| 7255 | + | <parameter name="f"> | |
| 7256 | + | </parameter> | |
| 7257 | + | </parameters> | |
| 7258 | + | </function-macro> | |
| 7259 | + | <function-macro name="DEPRECATED_MACRO_IN_2_76_FOR" | |
| 7260 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_76_FOR" | |
| 7261 | + | introspectable="0"> | |
| 7262 | + | <source-position filename="gobject/gobject-visibility.h" line="890"/> | |
| 7263 | + | <parameters> | |
| 7264 | + | <parameter name="f"> | |
| 7265 | + | </parameter> | |
| 7266 | + | </parameters> | |
| 7267 | + | </function-macro> | |
| 7268 | + | <function-macro name="DEPRECATED_MACRO_IN_2_78_FOR" | |
| 7269 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_78_FOR" | |
| 7270 | + | introspectable="0"> | |
| 7271 | + | <source-position filename="gobject/gobject-visibility.h" line="924"/> | |
| 7272 | + | <parameters> | |
| 7273 | + | <parameter name="f"> | |
| 7274 | + | </parameter> | |
| 7275 | + | </parameters> | |
| 7276 | + | </function-macro> | |
| 7277 | + | <function-macro name="DEPRECATED_MACRO_IN_2_80_FOR" | |
| 7278 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_80_FOR" | |
| 7279 | + | introspectable="0"> | |
| 7280 | + | <source-position filename="gobject/gobject-visibility.h" line="958"/> | |
| 7281 | + | <parameters> | |
| 7282 | + | <parameter name="f"> | |
| 7283 | + | </parameter> | |
| 7284 | + | </parameters> | |
| 7285 | + | </function-macro> | |
| 7286 | + | <function-macro name="DEPRECATED_MACRO_IN_2_82_FOR" | |
| 7287 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_82_FOR" | |
| 7288 | + | introspectable="0"> | |
| 7289 | + | <source-position filename="gobject/gobject-visibility.h" line="992"/> | |
| 7290 | + | <parameters> | |
| 7291 | + | <parameter name="f"> | |
| 7292 | + | </parameter> | |
| 7293 | + | </parameters> | |
| 7294 | + | </function-macro> | |
| 7295 | + | <function-macro name="DEPRECATED_MACRO_IN_2_84_FOR" | |
| 7296 | + | c:identifier="GOBJECT_DEPRECATED_MACRO_IN_2_84_FOR" | |
| 7297 | + | introspectable="0"> | |
| 7298 | + | <source-position filename="gobject/gobject-visibility.h" line="1026"/> | |
| 7299 | + | <parameters> | |
| 7300 | + | <parameter name="f"> | |
| 7301 | + | </parameter> | |
| 7302 | + | </parameters> | |
| 7303 | + | </function-macro> | |
| 7304 | + | <function-macro name="DEPRECATED_TYPE_IN_2_26_FOR" | |
| 7305 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_26_FOR" | |
| 7306 | + | introspectable="0"> | |
| 7307 | + | <source-position filename="gobject/gobject-visibility.h" line="44"/> | |
| 7308 | + | <parameters> | |
| 7309 | + | <parameter name="f"> | |
| 7310 | + | </parameter> | |
| 7311 | + | </parameters> | |
| 7312 | + | </function-macro> | |
| 7313 | + | <function-macro name="DEPRECATED_TYPE_IN_2_28_FOR" | |
| 7314 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_28_FOR" | |
| 7315 | + | introspectable="0"> | |
| 7316 | + | <source-position filename="gobject/gobject-visibility.h" line="78"/> | |
| 7317 | + | <parameters> | |
| 7318 | + | <parameter name="f"> | |
| 7319 | + | </parameter> | |
| 7320 | + | </parameters> | |
| 7321 | + | </function-macro> | |
| 7322 | + | <function-macro name="DEPRECATED_TYPE_IN_2_30_FOR" | |
| 7323 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_30_FOR" | |
| 7324 | + | introspectable="0"> | |
| 7325 | + | <source-position filename="gobject/gobject-visibility.h" line="112"/> | |
| 7326 | + | <parameters> | |
| 7327 | + | <parameter name="f"> | |
| 7328 | + | </parameter> | |
| 7329 | + | </parameters> | |
| 7330 | + | </function-macro> | |
| 7331 | + | <function-macro name="DEPRECATED_TYPE_IN_2_32_FOR" | |
| 7332 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_32_FOR" | |
| 7333 | + | introspectable="0"> | |
| 7334 | + | <source-position filename="gobject/gobject-visibility.h" line="146"/> | |
| 7335 | + | <parameters> | |
| 7336 | + | <parameter name="f"> | |
| 7337 | + | </parameter> | |
| 7338 | + | </parameters> | |
| 7339 | + | </function-macro> | |
| 7340 | + | <function-macro name="DEPRECATED_TYPE_IN_2_34_FOR" | |
| 7341 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_34_FOR" | |
| 7342 | + | introspectable="0"> | |
| 7343 | + | <source-position filename="gobject/gobject-visibility.h" line="180"/> | |
| 7344 | + | <parameters> | |
| 7345 | + | <parameter name="f"> | |
| 7346 | + | </parameter> | |
| 7347 | + | </parameters> | |
| 7348 | + | </function-macro> | |
| 7349 | + | <function-macro name="DEPRECATED_TYPE_IN_2_36_FOR" | |
| 7350 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_36_FOR" | |
| 7351 | + | introspectable="0"> | |
| 7352 | + | <source-position filename="gobject/gobject-visibility.h" line="214"/> | |
| 7353 | + | <parameters> | |
| 7354 | + | <parameter name="f"> | |
| 7355 | + | </parameter> | |
| 7356 | + | </parameters> | |
| 7357 | + | </function-macro> | |
| 7358 | + | <function-macro name="DEPRECATED_TYPE_IN_2_38_FOR" | |
| 7359 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_38_FOR" | |
| 7360 | + | introspectable="0"> | |
| 7361 | + | <source-position filename="gobject/gobject-visibility.h" line="248"/> | |
| 7362 | + | <parameters> | |
| 7363 | + | <parameter name="f"> | |
| 7364 | + | </parameter> | |
| 7365 | + | </parameters> | |
| 7366 | + | </function-macro> | |
| 7367 | + | <function-macro name="DEPRECATED_TYPE_IN_2_40_FOR" | |
| 7368 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_40_FOR" | |
| 7369 | + | introspectable="0"> | |
| 7370 | + | <source-position filename="gobject/gobject-visibility.h" line="282"/> | |
| 7371 | + | <parameters> | |
| 7372 | + | <parameter name="f"> | |
| 7373 | + | </parameter> | |
| 7374 | + | </parameters> | |
| 7375 | + | </function-macro> | |
| 7376 | + | <function-macro name="DEPRECATED_TYPE_IN_2_42_FOR" | |
| 7377 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_42_FOR" | |
| 7378 | + | introspectable="0"> | |
| 7379 | + | <source-position filename="gobject/gobject-visibility.h" line="316"/> | |
| 7380 | + | <parameters> | |
| 7381 | + | <parameter name="f"> | |
| 7382 | + | </parameter> | |
| 7383 | + | </parameters> | |
| 7384 | + | </function-macro> | |
| 7385 | + | <function-macro name="DEPRECATED_TYPE_IN_2_44_FOR" | |
| 7386 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_44_FOR" | |
| 7387 | + | introspectable="0"> | |
| 7388 | + | <source-position filename="gobject/gobject-visibility.h" line="350"/> | |
| 7389 | + | <parameters> | |
| 7390 | + | <parameter name="f"> | |
| 7391 | + | </parameter> | |
| 7392 | + | </parameters> | |
| 7393 | + | </function-macro> | |
| 7394 | + | <function-macro name="DEPRECATED_TYPE_IN_2_46_FOR" | |
| 7395 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_46_FOR" | |
| 7396 | + | introspectable="0"> | |
| 7397 | + | <source-position filename="gobject/gobject-visibility.h" line="384"/> | |
| 7398 | + | <parameters> | |
| 7399 | + | <parameter name="f"> | |
| 7400 | + | </parameter> | |
| 7401 | + | </parameters> | |
| 7402 | + | </function-macro> | |
| 7403 | + | <function-macro name="DEPRECATED_TYPE_IN_2_48_FOR" | |
| 7404 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_48_FOR" | |
| 7405 | + | introspectable="0"> | |
| 7406 | + | <source-position filename="gobject/gobject-visibility.h" line="418"/> | |
| 7407 | + | <parameters> | |
| 7408 | + | <parameter name="f"> | |
| 7409 | + | </parameter> | |
| 7410 | + | </parameters> | |
| 7411 | + | </function-macro> | |
| 7412 | + | <function-macro name="DEPRECATED_TYPE_IN_2_50_FOR" | |
| 7413 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_50_FOR" | |
| 7414 | + | introspectable="0"> | |
| 7415 | + | <source-position filename="gobject/gobject-visibility.h" line="452"/> | |
| 7416 | + | <parameters> | |
| 7417 | + | <parameter name="f"> | |
| 7418 | + | </parameter> | |
| 7419 | + | </parameters> | |
| 7420 | + | </function-macro> | |
| 7421 | + | <function-macro name="DEPRECATED_TYPE_IN_2_52_FOR" | |
| 7422 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_52_FOR" | |
| 7423 | + | introspectable="0"> | |
| 7424 | + | <source-position filename="gobject/gobject-visibility.h" line="486"/> | |
| 7425 | + | <parameters> | |
| 7426 | + | <parameter name="f"> | |
| 7427 | + | </parameter> | |
| 7428 | + | </parameters> | |
| 7429 | + | </function-macro> | |
| 7430 | + | <function-macro name="DEPRECATED_TYPE_IN_2_54_FOR" | |
| 7431 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_54_FOR" | |
| 7432 | + | introspectable="0"> | |
| 7433 | + | <source-position filename="gobject/gobject-visibility.h" line="520"/> | |
| 7434 | + | <parameters> | |
| 7435 | + | <parameter name="f"> | |
| 7436 | + | </parameter> | |
| 7437 | + | </parameters> | |
| 7438 | + | </function-macro> | |
| 7439 | + | <function-macro name="DEPRECATED_TYPE_IN_2_56_FOR" | |
| 7440 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_56_FOR" | |
| 7441 | + | introspectable="0"> | |
| 7442 | + | <source-position filename="gobject/gobject-visibility.h" line="554"/> | |
| 7443 | + | <parameters> | |
| 7444 | + | <parameter name="f"> | |
| 7445 | + | </parameter> | |
| 7446 | + | </parameters> | |
| 7447 | + | </function-macro> | |
| 7448 | + | <function-macro name="DEPRECATED_TYPE_IN_2_58_FOR" | |
| 7449 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_58_FOR" | |
| 7450 | + | introspectable="0"> | |
| 7451 | + | <source-position filename="gobject/gobject-visibility.h" line="588"/> | |
| 7452 | + | <parameters> | |
| 7453 | + | <parameter name="f"> | |
| 7454 | + | </parameter> | |
| 7455 | + | </parameters> | |
| 7456 | + | </function-macro> | |
| 7457 | + | <function-macro name="DEPRECATED_TYPE_IN_2_60_FOR" | |
| 7458 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_60_FOR" | |
| 7459 | + | introspectable="0"> | |
| 7460 | + | <source-position filename="gobject/gobject-visibility.h" line="622"/> | |
| 7461 | + | <parameters> | |
| 7462 | + | <parameter name="f"> | |
| 7463 | + | </parameter> | |
| 7464 | + | </parameters> | |
| 7465 | + | </function-macro> | |
| 7466 | + | <function-macro name="DEPRECATED_TYPE_IN_2_62_FOR" | |
| 7467 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_62_FOR" | |
| 7468 | + | introspectable="0"> | |
| 7469 | + | <source-position filename="gobject/gobject-visibility.h" line="656"/> | |
| 7470 | + | <parameters> | |
| 7471 | + | <parameter name="f"> | |
| 7472 | + | </parameter> | |
| 7473 | + | </parameters> | |
| 7474 | + | </function-macro> | |
| 7475 | + | <function-macro name="DEPRECATED_TYPE_IN_2_64_FOR" | |
| 7476 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_64_FOR" | |
| 7477 | + | introspectable="0"> | |
| 7478 | + | <source-position filename="gobject/gobject-visibility.h" line="690"/> | |
| 7479 | + | <parameters> | |
| 7480 | + | <parameter name="f"> | |
| 7481 | + | </parameter> | |
| 7482 | + | </parameters> | |
| 7483 | + | </function-macro> | |
| 7484 | + | <function-macro name="DEPRECATED_TYPE_IN_2_66_FOR" | |
| 7485 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_66_FOR" | |
| 7486 | + | introspectable="0"> | |
| 7487 | + | <source-position filename="gobject/gobject-visibility.h" line="724"/> | |
| 7488 | + | <parameters> | |
| 7489 | + | <parameter name="f"> | |
| 7490 | + | </parameter> | |
| 7491 | + | </parameters> | |
| 7492 | + | </function-macro> | |
| 7493 | + | <function-macro name="DEPRECATED_TYPE_IN_2_68_FOR" | |
| 7494 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_68_FOR" | |
| 7495 | + | introspectable="0"> | |
| 7496 | + | <source-position filename="gobject/gobject-visibility.h" line="758"/> | |
| 7497 | + | <parameters> | |
| 7498 | + | <parameter name="f"> | |
| 7499 | + | </parameter> | |
| 7500 | + | </parameters> | |
| 7501 | + | </function-macro> | |
| 7502 | + | <function-macro name="DEPRECATED_TYPE_IN_2_70_FOR" | |
| 7503 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_70_FOR" | |
| 7504 | + | introspectable="0"> | |
| 7505 | + | <source-position filename="gobject/gobject-visibility.h" line="792"/> | |
| 7506 | + | <parameters> | |
| 7507 | + | <parameter name="f"> | |
| 7508 | + | </parameter> | |
| 7509 | + | </parameters> | |
| 7510 | + | </function-macro> | |
| 7511 | + | <function-macro name="DEPRECATED_TYPE_IN_2_72_FOR" | |
| 7512 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_72_FOR" | |
| 7513 | + | introspectable="0"> | |
| 7514 | + | <source-position filename="gobject/gobject-visibility.h" line="826"/> | |
| 7515 | + | <parameters> | |
| 7516 | + | <parameter name="f"> | |
| 7517 | + | </parameter> | |
| 7518 | + | </parameters> | |
| 7519 | + | </function-macro> | |
| 7520 | + | <function-macro name="DEPRECATED_TYPE_IN_2_74_FOR" | |
| 7521 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_74_FOR" | |
| 7522 | + | introspectable="0"> | |
| 7523 | + | <source-position filename="gobject/gobject-visibility.h" line="860"/> | |
| 7524 | + | <parameters> | |
| 7525 | + | <parameter name="f"> | |
| 7526 | + | </parameter> | |
| 7527 | + | </parameters> | |
| 7528 | + | </function-macro> | |
| 7529 | + | <function-macro name="DEPRECATED_TYPE_IN_2_76_FOR" | |
| 7530 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_76_FOR" | |
| 7531 | + | introspectable="0"> | |
| 7532 | + | <source-position filename="gobject/gobject-visibility.h" line="894"/> | |
| 7533 | + | <parameters> | |
| 7534 | + | <parameter name="f"> | |
| 7535 | + | </parameter> | |
| 7536 | + | </parameters> | |
| 7537 | + | </function-macro> | |
| 7538 | + | <function-macro name="DEPRECATED_TYPE_IN_2_78_FOR" | |
| 7539 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_78_FOR" | |
| 7540 | + | introspectable="0"> | |
| 7541 | + | <source-position filename="gobject/gobject-visibility.h" line="928"/> | |
| 7542 | + | <parameters> | |
| 7543 | + | <parameter name="f"> | |
| 7544 | + | </parameter> | |
| 7545 | + | </parameters> | |
| 7546 | + | </function-macro> | |
| 7547 | + | <function-macro name="DEPRECATED_TYPE_IN_2_80_FOR" | |
| 7548 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_80_FOR" | |
| 7549 | + | introspectable="0"> | |
| 7550 | + | <source-position filename="gobject/gobject-visibility.h" line="962"/> | |
| 7551 | + | <parameters> | |
| 7552 | + | <parameter name="f"> | |
| 7553 | + | </parameter> | |
| 7554 | + | </parameters> | |
| 7555 | + | </function-macro> | |
| 7556 | + | <function-macro name="DEPRECATED_TYPE_IN_2_82_FOR" | |
| 7557 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_82_FOR" | |
| 7558 | + | introspectable="0"> | |
| 7559 | + | <source-position filename="gobject/gobject-visibility.h" line="996"/> | |
| 7560 | + | <parameters> | |
| 7561 | + | <parameter name="f"> | |
| 7562 | + | </parameter> | |
| 7563 | + | </parameters> | |
| 7564 | + | </function-macro> | |
| 7565 | + | <function-macro name="DEPRECATED_TYPE_IN_2_84_FOR" | |
| 7566 | + | c:identifier="GOBJECT_DEPRECATED_TYPE_IN_2_84_FOR" | |
| 7567 | + | introspectable="0"> | |
| 7568 | + | <source-position filename="gobject/gobject-visibility.h" line="1030"/> | |
| 7569 | + | <parameters> | |
| 7570 | + | <parameter name="f"> | |
| 7571 | + | </parameter> | |
| 7572 | + | </parameters> | |
| 7573 | + | </function-macro> | |
| 7574 | + | <glib:boxed glib:name="Date" | |
| 7575 | + | c:symbol-prefix="date" | |
| 7576 | + | glib:type-name="GDate" | |
| 7577 | + | glib:get-type="g_date_get_type"> | |
| 7578 | + | </glib:boxed> | |
| 7579 | + | <glib:boxed glib:name="DateTime" | |
| 7580 | + | c:symbol-prefix="date_time" | |
| 7581 | + | glib:type-name="GDateTime" | |
| 7582 | + | glib:get-type="g_date_time_get_type"> | |
| 7583 | + | </glib:boxed> | |
| 7584 | + | <glib:boxed glib:name="Dir" | |
| 7585 | + | c:symbol-prefix="dir" | |
| 7586 | + | glib:type-name="GDir" | |
| 7587 | + | glib:get-type="g_dir_get_type"> | |
| 7588 | + | </glib:boxed> | |
| 7589 | + | <function-macro name="ENUM_CLASS" | |
| 7590 | + | c:identifier="G_ENUM_CLASS" | |
| 7591 | + | introspectable="0"> | |
| 7592 | + | <doc xml:space="preserve" | |
| 7593 | + | filename="gobject/genums.h" | |
| 7594 | + | line="40">Casts a derived #GEnumClass structure into a #GEnumClass structure.</doc> | |
| 7595 | + | <source-position filename="gobject/genums.h" line="46"/> | |
| 7596 | + | <parameters> | |
| 7597 | + | <parameter name="class"> | |
| 7598 | + | <doc xml:space="preserve" | |
| 7599 | + | filename="gobject/genums.h" | |
| 7600 | + | line="42">a valid #GEnumClass</doc> | |
| 7601 | + | </parameter> | |
| 7602 | + | </parameters> | |
| 7603 | + | </function-macro> | |
| 7604 | + | <function-macro name="ENUM_CLASS_TYPE" | |
| 7605 | + | c:identifier="G_ENUM_CLASS_TYPE" | |
| 7606 | + | introspectable="0"> | |
| 7607 | + | <doc xml:space="preserve" | |
| 7608 | + | filename="gobject/genums.h" | |
| 7609 | + | line="55">Get the type identifier from a given #GEnumClass structure.</doc> | |
| 7610 | + | <source-position filename="gobject/genums.h" line="63"/> | |
| 7611 | + | <parameters> | |
| 7612 | + | <parameter name="class"> | |
| 7613 | + | <doc xml:space="preserve" | |
| 7614 | + | filename="gobject/genums.h" | |
| 7615 | + | line="57">a #GEnumClass</doc> | |
| 7616 | + | </parameter> | |
| 7617 | + | </parameters> | |
| 7618 | + | </function-macro> | |
| 7619 | + | <function-macro name="ENUM_CLASS_TYPE_NAME" | |
| 7620 | + | c:identifier="G_ENUM_CLASS_TYPE_NAME" | |
| 7621 | + | introspectable="0"> | |
| 7622 | + | <doc xml:space="preserve" | |
| 7623 | + | filename="gobject/genums.h" | |
| 7624 | + | line="64">Get the static type name from a given #GEnumClass structure.</doc> | |
| 7625 | + | <source-position filename="gobject/genums.h" line="72"/> | |
| 7626 | + | <parameters> | |
| 7627 | + | <parameter name="class"> | |
| 7628 | + | <doc xml:space="preserve" | |
| 7629 | + | filename="gobject/genums.h" | |
| 7630 | + | line="66">a #GEnumClass</doc> | |
| 7631 | + | </parameter> | |
| 7632 | + | </parameters> | |
| 7633 | + | </function-macro> | |
| 7634 | + | <record name="EnumClass" c:type="GEnumClass"> | |
| 7635 | + | <doc xml:space="preserve" | |
| 7636 | + | filename="gobject/genums.h" | |
| 7637 | + | line="145">The class of an enumeration type holds information about its | |
| 7638 | + | possible values.</doc> | |
| 7639 | + | <source-position filename="gobject/genums.h" line="166"/> | |
| 6301 | 7640 | <field name="g_type_class" writable="1"> | |
| 6302 | 7641 | <doc xml:space="preserve" | |
| 6303 | - | filename="genums.h" | |
| 6304 | - | line="145">the parent class</doc> | |
| 7642 | + | filename="gobject/genums.h" | |
| 7643 | + | line="147">the parent class</doc> | |
| 6305 | 7644 | <type name="TypeClass" c:type="GTypeClass"/> | |
| 6306 | 7645 | </field> | |
| 6307 | 7646 | <field name="minimum" writable="1"> | |
| 6308 | 7647 | <doc xml:space="preserve" | |
| 6309 | - | filename="genums.h" | |
| 6310 | - | line="146">the smallest possible value.</doc> | |
| 7648 | + | filename="gobject/genums.h" | |
| 7649 | + | line="148">the smallest possible value.</doc> | |
| 6311 | 7650 | <type name="gint" c:type="gint"/> | |
| 6312 | 7651 | </field> | |
| 6313 | 7652 | <field name="maximum" writable="1"> | |
| 6314 | 7653 | <doc xml:space="preserve" | |
| 6315 | - | filename="genums.h" | |
| 6316 | - | line="147">the largest possible value.</doc> | |
| 7654 | + | filename="gobject/genums.h" | |
| 7655 | + | line="149">the largest possible value.</doc> | |
| 6317 | 7656 | <type name="gint" c:type="gint"/> | |
| 6318 | 7657 | </field> | |
| 6319 | 7658 | <field name="n_values" writable="1"> | |
| 6320 | 7659 | <doc xml:space="preserve" | |
| 6321 | - | filename="genums.h" | |
| 6322 | - | line="148">the number of possible values.</doc> | |
| 7660 | + | filename="gobject/genums.h" | |
| 7661 | + | line="150">the number of possible values.</doc> | |
| 6323 | 7662 | <type name="guint" c:type="guint"/> | |
| 6324 | 7663 | </field> | |
| 6325 | 7664 | <field name="values" writable="1"> | |
| 6326 | 7665 | <doc xml:space="preserve" | |
| 6327 | - | filename="genums.h" | |
| 6328 | - | line="149">an array of #GEnumValue structs describing the | |
| 7666 | + | filename="gobject/genums.h" | |
| 7667 | + | line="151">an array of #GEnumValue structs describing the | |
| 6329 | 7668 | individual values.</doc> | |
| 6330 | 7669 | <type name="EnumValue" c:type="GEnumValue*"/> | |
| 6331 | 7670 | </field> | |
| 6332 | 7671 | </record> | |
| 6333 | 7672 | <record name="EnumValue" c:type="GEnumValue"> | |
| 6334 | 7673 | <doc xml:space="preserve" | |
| 6335 | - | filename="genums.h" | |
| 6336 | - | line="185">A structure which contains a single enum value, its name, and its | |
| 7674 | + | filename="gobject/genums.h" | |
| 7675 | + | line="187">A structure which contains a single enum value, its name, and its | |
| 6337 | 7676 | nickname.</doc> | |
| 6338 | - | <source-position filename="genums.h" line="199"/> | |
| 7677 | + | <source-position filename="gobject/genums.h" line="201"/> | |
| 6339 | 7678 | <field name="value" writable="1"> | |
| 6340 | 7679 | <doc xml:space="preserve" | |
| 6341 | - | filename="genums.h" | |
| 6342 | - | line="187">the enum value</doc> | |
| 7680 | + | filename="gobject/genums.h" | |
| 7681 | + | line="189">the enum value</doc> | |
| 6343 | 7682 | <type name="gint" c:type="gint"/> | |
| 6344 | 7683 | </field> | |
| 6345 | 7684 | <field name="value_name" writable="1"> | |
| 6346 | 7685 | <doc xml:space="preserve" | |
| 6347 | - | filename="genums.h" | |
| 6348 | - | line="188">the name of the value</doc> | |
| 7686 | + | filename="gobject/genums.h" | |
| 7687 | + | line="190">the name of the value</doc> | |
| 6349 | 7688 | <type name="utf8" c:type="const gchar*"/> | |
| 6350 | 7689 | </field> | |
| 6351 | 7690 | <field name="value_nick" writable="1"> | |
| 6352 | 7691 | <doc xml:space="preserve" | |
| 6353 | - | filename="genums.h" | |
| 6354 | - | line="189">the nickname of the value</doc> | |
| 7692 | + | filename="gobject/genums.h" | |
| 7693 | + | line="191">the nickname of the value</doc> | |
| 6355 | 7694 | <type name="utf8" c:type="const gchar*"/> | |
| 6356 | 7695 | </field> | |
| 6357 | 7696 | </record> | |
| 7697 | + | <glib:boxed glib:name="Error" | |
| 7698 | + | c:symbol-prefix="error" | |
| 7699 | + | glib:type-name="GError" | |
| 7700 | + | glib:get-type="g_error_get_type"> | |
| 7701 | + | </glib:boxed> | |
| 6358 | 7702 | <function-macro name="FLAGS_CLASS" | |
| 6359 | 7703 | c:identifier="G_FLAGS_CLASS" | |
| 6360 | 7704 | introspectable="0"> | |
| 6361 | 7705 | <doc xml:space="preserve" | |
| 6362 | - | filename="genums.h" | |
| 6363 | - | line="82">Casts a derived #GFlagsClass structure into a #GFlagsClass structure.</doc> | |
| 6364 | - | <source-position filename="genums.h" line="88"/> | |
| 7706 | + | filename="gobject/genums.h" | |
| 7707 | + | line="84">Casts a derived #GFlagsClass structure into a #GFlagsClass structure.</doc> | |
| 7708 | + | <source-position filename="gobject/genums.h" line="90"/> | |
| 6365 | 7709 | <parameters> | |
| 6366 | 7710 | <parameter name="class"> | |
| 6367 | 7711 | <doc xml:space="preserve" | |
| 6368 | - | filename="genums.h" | |
| 6369 | - | line="84">a valid #GFlagsClass</doc> | |
| 7712 | + | filename="gobject/genums.h" | |
| 7713 | + | line="86">a valid #GFlagsClass</doc> | |
| 6370 | 7714 | </parameter> | |
| 6371 | 7715 | </parameters> | |
| 6372 | 7716 | </function-macro> | |
| @@ -6374,14 +7718,14 @@ nickname.</doc> | |||
| 6374 | 7718 | c:identifier="G_FLAGS_CLASS_TYPE" | |
| 6375 | 7719 | introspectable="0"> | |
| 6376 | 7720 | <doc xml:space="preserve" | |
| 6377 | - | filename="genums.h" | |
| 6378 | - | line="97">Get the type identifier from a given #GFlagsClass structure.</doc> | |
| 6379 | - | <source-position filename="genums.h" line="105"/> | |
| 7721 | + | filename="gobject/genums.h" | |
| 7722 | + | line="99">Get the type identifier from a given #GFlagsClass structure.</doc> | |
| 7723 | + | <source-position filename="gobject/genums.h" line="107"/> | |
| 6380 | 7724 | <parameters> | |
| 6381 | 7725 | <parameter name="class"> | |
| 6382 | 7726 | <doc xml:space="preserve" | |
| 6383 | - | filename="genums.h" | |
| 6384 | - | line="99">a #GFlagsClass</doc> | |
| 7727 | + | filename="gobject/genums.h" | |
| 7728 | + | line="101">a #GFlagsClass</doc> | |
| 6385 | 7729 | </parameter> | |
| 6386 | 7730 | </parameters> | |
| 6387 | 7731 | </function-macro> | |
| @@ -6389,97 +7733,107 @@ nickname.</doc> | |||
| 6389 | 7733 | c:identifier="G_FLAGS_CLASS_TYPE_NAME" | |
| 6390 | 7734 | introspectable="0"> | |
| 6391 | 7735 | <doc xml:space="preserve" | |
| 6392 | - | filename="genums.h" | |
| 6393 | - | line="106">Get the static type name from a given #GFlagsClass structure.</doc> | |
| 6394 | - | <source-position filename="genums.h" line="114"/> | |
| 7736 | + | filename="gobject/genums.h" | |
| 7737 | + | line="108">Get the static type name from a given #GFlagsClass structure.</doc> | |
| 7738 | + | <source-position filename="gobject/genums.h" line="116"/> | |
| 6395 | 7739 | <parameters> | |
| 6396 | 7740 | <parameter name="class"> | |
| 6397 | 7741 | <doc xml:space="preserve" | |
| 6398 | - | filename="genums.h" | |
| 6399 | - | line="108">a #GFlagsClass</doc> | |
| 7742 | + | filename="gobject/genums.h" | |
| 7743 | + | line="110">a #GFlagsClass</doc> | |
| 6400 | 7744 | </parameter> | |
| 6401 | 7745 | </parameters> | |
| 6402 | 7746 | </function-macro> | |
| 6403 | 7747 | <record name="FlagsClass" c:type="GFlagsClass"> | |
| 6404 | 7748 | <doc xml:space="preserve" | |
| 6405 | - | filename="genums.h" | |
| 6406 | - | line="165">The class of a flags type holds information about its | |
| 7749 | + | filename="gobject/genums.h" | |
| 7750 | + | line="167">The class of a flags type holds information about its | |
| 6407 | 7751 | possible values.</doc> | |
| 6408 | - | <source-position filename="genums.h" line="184"/> | |
| 7752 | + | <source-position filename="gobject/genums.h" line="186"/> | |
| 6409 | 7753 | <field name="g_type_class" writable="1"> | |
| 6410 | 7754 | <doc xml:space="preserve" | |
| 6411 | - | filename="genums.h" | |
| 6412 | - | line="167">the parent class</doc> | |
| 7755 | + | filename="gobject/genums.h" | |
| 7756 | + | line="169">the parent class</doc> | |
| 6413 | 7757 | <type name="TypeClass" c:type="GTypeClass"/> | |
| 6414 | 7758 | </field> | |
| 6415 | 7759 | <field name="mask" writable="1"> | |
| 6416 | 7760 | <doc xml:space="preserve" | |
| 6417 | - | filename="genums.h" | |
| 6418 | - | line="168">a mask covering all possible values.</doc> | |
| 7761 | + | filename="gobject/genums.h" | |
| 7762 | + | line="170">a mask covering all possible values.</doc> | |
| 6419 | 7763 | <type name="guint" c:type="guint"/> | |
| 6420 | 7764 | </field> | |
| 6421 | 7765 | <field name="n_values" writable="1"> | |
| 6422 | 7766 | <doc xml:space="preserve" | |
| 6423 | - | filename="genums.h" | |
| 6424 | - | line="169">the number of possible values.</doc> | |
| 7767 | + | filename="gobject/genums.h" | |
| 7768 | + | line="171">the number of possible values.</doc> | |
| 6425 | 7769 | <type name="guint" c:type="guint"/> | |
| 6426 | 7770 | </field> | |
| 6427 | 7771 | <field name="values" writable="1"> | |
| 6428 | 7772 | <doc xml:space="preserve" | |
| 6429 | - | filename="genums.h" | |
| 6430 | - | line="170">an array of #GFlagsValue structs describing the | |
| 7773 | + | filename="gobject/genums.h" | |
| 7774 | + | line="172">an array of #GFlagsValue structs describing the | |
| 6431 | 7775 | individual values.</doc> | |
| 6432 | 7776 | <type name="FlagsValue" c:type="GFlagsValue*"/> | |
| 6433 | 7777 | </field> | |
| 6434 | 7778 | </record> | |
| 6435 | 7779 | <record name="FlagsValue" c:type="GFlagsValue"> | |
| 6436 | 7780 | <doc xml:space="preserve" | |
| 6437 | - | filename="genums.h" | |
| 6438 | - | line="200">A structure which contains a single flags value, its name, and its | |
| 7781 | + | filename="gobject/genums.h" | |
| 7782 | + | line="202">A structure which contains a single flags value, its name, and its | |
| 6439 | 7783 | nickname.</doc> | |
| 6440 | - | <source-position filename="genums.h" line="214"/> | |
| 7784 | + | <source-position filename="gobject/genums.h" line="216"/> | |
| 6441 | 7785 | <field name="value" writable="1"> | |
| 6442 | 7786 | <doc xml:space="preserve" | |
| 6443 | - | filename="genums.h" | |
| 6444 | - | line="202">the flags value</doc> | |
| 7787 | + | filename="gobject/genums.h" | |
| 7788 | + | line="204">the flags value</doc> | |
| 6445 | 7789 | <type name="guint" c:type="guint"/> | |
| 6446 | 7790 | </field> | |
| 6447 | 7791 | <field name="value_name" writable="1"> | |
| 6448 | 7792 | <doc xml:space="preserve" | |
| 6449 | - | filename="genums.h" | |
| 6450 | - | line="203">the name of the value</doc> | |
| 7793 | + | filename="gobject/genums.h" | |
| 7794 | + | line="205">the name of the value</doc> | |
| 6451 | 7795 | <type name="utf8" c:type="const gchar*"/> | |
| 6452 | 7796 | </field> | |
| 6453 | 7797 | <field name="value_nick" writable="1"> | |
| 6454 | 7798 | <doc xml:space="preserve" | |
| 6455 | - | filename="genums.h" | |
| 6456 | - | line="204">the nickname of the value</doc> | |
| 7799 | + | filename="gobject/genums.h" | |
| 7800 | + | line="206">the nickname of the value</doc> | |
| 6457 | 7801 | <type name="utf8" c:type="const gchar*"/> | |
| 6458 | 7802 | </field> | |
| 6459 | 7803 | </record> | |
| 7804 | + | <glib:boxed glib:name="HashTable" | |
| 7805 | + | c:symbol-prefix="hash_table" | |
| 7806 | + | glib:type-name="GHashTable" | |
| 7807 | + | glib:get-type="g_hash_table_get_type"> | |
| 7808 | + | </glib:boxed> | |
| 7809 | + | <glib:boxed glib:name="Hmac" | |
| 7810 | + | c:symbol-prefix="hmac" | |
| 7811 | + | glib:type-name="GHmac" | |
| 7812 | + | glib:get-type="g_hmac_get_type"> | |
| 7813 | + | </glib:boxed> | |
| 6460 | 7814 | <function-macro name="IMPLEMENT_INTERFACE" | |
| 6461 | 7815 | c:identifier="G_IMPLEMENT_INTERFACE" | |
| 6462 | 7816 | version="2.4" | |
| 6463 | 7817 | introspectable="0"> | |
| 6464 | 7818 | <doc xml:space="preserve" | |
| 6465 | - | filename="gtype.h" | |
| 6466 | - | line="1944">A convenience macro to ease interface addition in the `_C_` section | |
| 7819 | + | filename="gobject/gtype.h" | |
| 7820 | + | line="2101">A convenience macro to ease interface addition in the `_C_` section | |
| 6467 | 7821 | of G_DEFINE_TYPE_WITH_CODE() or G_DEFINE_ABSTRACT_TYPE_WITH_CODE(). | |
| 6468 | 7822 | See G_DEFINE_TYPE_EXTENDED() for an example. | |
| 6469 | 7823 | ||
| 6470 | 7824 | Note that this macro can only be used together with the `G_DEFINE_TYPE_*` | |
| 6471 | 7825 | macros, since it depends on variable names from those macros.</doc> | |
| 6472 | - | <source-position filename="gtype.h" line="1958"/> | |
| 7826 | + | <source-position filename="gobject/gtype.h" line="2115"/> | |
| 6473 | 7827 | <parameters> | |
| 6474 | 7828 | <parameter name="TYPE_IFACE"> | |
| 6475 | 7829 | <doc xml:space="preserve" | |
| 6476 | - | filename="gtype.h" | |
| 6477 | - | line="1946">The #GType of the interface to add</doc> | |
| 7830 | + | filename="gobject/gtype.h" | |
| 7831 | + | line="2103">The #GType of the interface to add</doc> | |
| 6478 | 7832 | </parameter> | |
| 6479 | 7833 | <parameter name="iface_init"> | |
| 6480 | 7834 | <doc xml:space="preserve" | |
| 6481 | - | filename="gtype.h" | |
| 6482 | - | line="1947">The interface init function, of type #GInterfaceInitFunc</doc> | |
| 7835 | + | filename="gobject/gtype.h" | |
| 7836 | + | line="2104">The interface init function, of type #GInterfaceInitFunc</doc> | |
| 6483 | 7837 | </parameter> | |
| 6484 | 7838 | </parameters> | |
| 6485 | 7839 | </function-macro> | |
| @@ -6488,8 +7842,8 @@ macros, since it depends on variable names from those macros.</doc> | |||
| 6488 | 7842 | version="2.24" | |
| 6489 | 7843 | introspectable="0"> | |
| 6490 | 7844 | <doc xml:space="preserve" | |
| 6491 | - | filename="gtypemodule.h" | |
| 6492 | - | line="227">A convenience macro to ease interface addition in the @_C_ section | |
| 7845 | + | filename="gobject/gtypemodule.h" | |
| 7846 | + | line="222">A convenience macro to ease interface addition in the @_C_ section | |
| 6493 | 7847 | of G_DEFINE_DYNAMIC_TYPE_EXTENDED(). | |
| 6494 | 7848 | ||
| 6495 | 7849 | See G_DEFINE_DYNAMIC_TYPE_EXTENDED() for an example. | |
| @@ -6497,17 +7851,17 @@ See G_DEFINE_DYNAMIC_TYPE_EXTENDED() for an example. | |||
| 6497 | 7851 | Note that this macro can only be used together with the | |
| 6498 | 7852 | G_DEFINE_DYNAMIC_TYPE_EXTENDED macros, since it depends on variable | |
| 6499 | 7853 | names from that macro.</doc> | |
| 6500 | - | <source-position filename="gtypemodule.h" line="243"/> | |
| 7854 | + | <source-position filename="gobject/gtypemodule.h" line="238"/> | |
| 6501 | 7855 | <parameters> | |
| 6502 | 7856 | <parameter name="TYPE_IFACE"> | |
| 6503 | 7857 | <doc xml:space="preserve" | |
| 6504 | - | filename="gtypemodule.h" | |
| 6505 | - | line="229">The #GType of the interface to add</doc> | |
| 7858 | + | filename="gobject/gtypemodule.h" | |
| 7859 | + | line="224">The #GType of the interface to add</doc> | |
| 6506 | 7860 | </parameter> | |
| 6507 | 7861 | <parameter name="iface_init"> | |
| 6508 | 7862 | <doc xml:space="preserve" | |
| 6509 | - | filename="gtypemodule.h" | |
| 6510 | - | line="230">The interface init function</doc> | |
| 7863 | + | filename="gobject/gtypemodule.h" | |
| 7864 | + | line="225">The interface init function</doc> | |
| 6511 | 7865 | </parameter> | |
| 6512 | 7866 | </parameters> | |
| 6513 | 7867 | </function-macro> | |
| @@ -6515,18 +7869,18 @@ names from that macro.</doc> | |||
| 6515 | 7869 | c:identifier="G_INITIALLY_UNOWNED" | |
| 6516 | 7870 | introspectable="0"> | |
| 6517 | 7871 | <doc xml:space="preserve" | |
| 6518 | - | filename="gobject.h" | |
| 6519 | - | line="143">Casts a #GInitiallyUnowned or derived pointer into a (GInitiallyUnowned*) | |
| 7872 | + | filename="gobject/gobject.h" | |
| 7873 | + | line="145">Casts a #GInitiallyUnowned or derived pointer into a (GInitiallyUnowned*) | |
| 6520 | 7874 | pointer. | |
| 6521 | 7875 | ||
| 6522 | 7876 | Depending on the current debugging level, this function may invoke | |
| 6523 | 7877 | certain runtime checks to identify invalid casts.</doc> | |
| 6524 | - | <source-position filename="gobject.h" line="153"/> | |
| 7878 | + | <source-position filename="gobject/gobject.h" line="155"/> | |
| 6525 | 7879 | <parameters> | |
| 6526 | 7880 | <parameter name="object"> | |
| 6527 | 7881 | <doc xml:space="preserve" | |
| 6528 | - | filename="gobject.h" | |
| 6529 | - | line="145">Object which is subject to casting.</doc> | |
| 7882 | + | filename="gobject/gobject.h" | |
| 7883 | + | line="147">Object which is subject to casting.</doc> | |
| 6530 | 7884 | </parameter> | |
| 6531 | 7885 | </parameters> | |
| 6532 | 7886 | </function-macro> | |
| @@ -6534,15 +7888,15 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 6534 | 7888 | c:identifier="G_INITIALLY_UNOWNED_CLASS" | |
| 6535 | 7889 | introspectable="0"> | |
| 6536 | 7890 | <doc xml:space="preserve" | |
| 6537 | - | filename="gobject.h" | |
| 6538 | - | line="154">Casts a derived #GInitiallyUnownedClass structure into a | |
| 7891 | + | filename="gobject/gobject.h" | |
| 7892 | + | line="156">Casts a derived #GInitiallyUnownedClass structure into a | |
| 6539 | 7893 | #GInitiallyUnownedClass structure.</doc> | |
| 6540 | - | <source-position filename="gobject.h" line="161"/> | |
| 7894 | + | <source-position filename="gobject/gobject.h" line="163"/> | |
| 6541 | 7895 | <parameters> | |
| 6542 | 7896 | <parameter name="class"> | |
| 6543 | 7897 | <doc xml:space="preserve" | |
| 6544 | - | filename="gobject.h" | |
| 6545 | - | line="156">a valid #GInitiallyUnownedClass</doc> | |
| 7898 | + | filename="gobject/gobject.h" | |
| 7899 | + | line="158">a valid #GInitiallyUnownedClass</doc> | |
| 6546 | 7900 | </parameter> | |
| 6547 | 7901 | </parameters> | |
| 6548 | 7902 | </function-macro> | |
| @@ -6550,21 +7904,67 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 6550 | 7904 | c:identifier="G_INITIALLY_UNOWNED_GET_CLASS" | |
| 6551 | 7905 | introspectable="0"> | |
| 6552 | 7906 | <doc xml:space="preserve" | |
| 6553 | - | filename="gobject.h" | |
| 6554 | - | line="177">Get the class structure associated to a #GInitiallyUnowned instance.</doc> | |
| 6555 | - | <source-position filename="gobject.h" line="185"/> | |
| 7907 | + | filename="gobject/gobject.h" | |
| 7908 | + | line="179">Get the class structure associated to a #GInitiallyUnowned instance.</doc> | |
| 7909 | + | <source-position filename="gobject/gobject.h" line="187"/> | |
| 6556 | 7910 | <parameters> | |
| 6557 | 7911 | <parameter name="object"> | |
| 6558 | 7912 | <doc xml:space="preserve" | |
| 6559 | - | filename="gobject.h" | |
| 6560 | - | line="179">a #GInitiallyUnowned instance.</doc> | |
| 7913 | + | filename="gobject/gobject.h" | |
| 7914 | + | line="181">a #GInitiallyUnowned instance.</doc> | |
| 6561 | 7915 | </parameter> | |
| 6562 | 7916 | </parameters> | |
| 6563 | 7917 | </function-macro> | |
| 7918 | + | <glib:boxed glib:name="IOChannel" | |
| 7919 | + | c:symbol-prefix="io_channel" | |
| 7920 | + | glib:type-name="GIOChannel" | |
| 7921 | + | glib:get-type="g_io_channel_get_type"> | |
| 7922 | + | </glib:boxed> | |
| 7923 | + | <bitfield name="IOCondition" | |
| 7924 | + | glib:type-name="GIOCondition" | |
| 7925 | + | glib:get-type="g_io_condition_get_type" | |
| 7926 | + | c:type="GIOCondition"> | |
| 7927 | + | <member name="in" | |
| 7928 | + | value="1" | |
| 7929 | + | c:identifier="G_IO_IN" | |
| 7930 | + | glib:nick="in" | |
| 7931 | + | glib:name="G_IO_IN"> | |
| 7932 | + | </member> | |
| 7933 | + | <member name="out" | |
| 7934 | + | value="4" | |
| 7935 | + | c:identifier="G_IO_OUT" | |
| 7936 | + | glib:nick="out" | |
| 7937 | + | glib:name="G_IO_OUT"> | |
| 7938 | + | </member> | |
| 7939 | + | <member name="pri" | |
| 7940 | + | value="2" | |
| 7941 | + | c:identifier="G_IO_PRI" | |
| 7942 | + | glib:nick="pri" | |
| 7943 | + | glib:name="G_IO_PRI"> | |
| 7944 | + | </member> | |
| 7945 | + | <member name="err" | |
| 7946 | + | value="8" | |
| 7947 | + | c:identifier="G_IO_ERR" | |
| 7948 | + | glib:nick="err" | |
| 7949 | + | glib:name="G_IO_ERR"> | |
| 7950 | + | </member> | |
| 7951 | + | <member name="hup" | |
| 7952 | + | value="16" | |
| 7953 | + | c:identifier="G_IO_HUP" | |
| 7954 | + | glib:nick="hup" | |
| 7955 | + | glib:name="G_IO_HUP"> | |
| 7956 | + | </member> | |
| 7957 | + | <member name="nval" | |
| 7958 | + | value="32" | |
| 7959 | + | c:identifier="G_IO_NVAL" | |
| 7960 | + | glib:nick="nval" | |
| 7961 | + | glib:name="G_IO_NVAL"> | |
| 7962 | + | </member> | |
| 7963 | + | </bitfield> | |
| 6564 | 7964 | <function-macro name="IS_BINDING" | |
| 6565 | 7965 | c:identifier="G_IS_BINDING" | |
| 6566 | 7966 | introspectable="0"> | |
| 6567 | - | <source-position filename="gbinding.h" line="37"/> | |
| 7967 | + | <source-position filename="gobject/gbinding.h" line="39"/> | |
| 6568 | 7968 | <parameters> | |
| 6569 | 7969 | <parameter name="obj"> | |
| 6570 | 7970 | </parameter> | |
| @@ -6573,7 +7973,7 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 6573 | 7973 | <function-macro name="IS_BINDING_GROUP" | |
| 6574 | 7974 | c:identifier="G_IS_BINDING_GROUP" | |
| 6575 | 7975 | introspectable="0"> | |
| 6576 | - | <source-position filename="gbindinggroup.h" line="36"/> | |
| 7976 | + | <source-position filename="gobject/gbindinggroup.h" line="36"/> | |
| 6577 | 7977 | <parameters> | |
| 6578 | 7978 | <parameter name="obj"> | |
| 6579 | 7979 | </parameter> | |
| @@ -6583,15 +7983,15 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 6583 | 7983 | c:identifier="G_IS_ENUM_CLASS" | |
| 6584 | 7984 | introspectable="0"> | |
| 6585 | 7985 | <doc xml:space="preserve" | |
| 6586 | - | filename="genums.h" | |
| 6587 | - | line="45">Checks whether @class "is a" valid #GEnumClass structure of type %G_TYPE_ENUM | |
| 7986 | + | filename="gobject/genums.h" | |
| 7987 | + | line="47">Checks whether @class "is a" valid #GEnumClass structure of type %G_TYPE_ENUM | |
| 6588 | 7988 | or derived.</doc> | |
| 6589 | - | <source-position filename="genums.h" line="52"/> | |
| 7989 | + | <source-position filename="gobject/genums.h" line="54"/> | |
| 6590 | 7990 | <parameters> | |
| 6591 | 7991 | <parameter name="class"> | |
| 6592 | 7992 | <doc xml:space="preserve" | |
| 6593 | - | filename="genums.h" | |
| 6594 | - | line="47">a #GEnumClass</doc> | |
| 7993 | + | filename="gobject/genums.h" | |
| 7994 | + | line="49">a #GEnumClass</doc> | |
| 6595 | 7995 | </parameter> | |
| 6596 | 7996 | </parameters> | |
| 6597 | 7997 | </function-macro> | |
| @@ -6599,15 +7999,15 @@ or derived.</doc> | |||
| 6599 | 7999 | c:identifier="G_IS_FLAGS_CLASS" | |
| 6600 | 8000 | introspectable="0"> | |
| 6601 | 8001 | <doc xml:space="preserve" | |
| 6602 | - | filename="genums.h" | |
| 6603 | - | line="89">Checks whether @class "is a" valid #GFlagsClass structure of type %G_TYPE_FLAGS | |
| 8002 | + | filename="gobject/genums.h" | |
| 8003 | + | line="91">Checks whether @class "is a" valid #GFlagsClass structure of type %G_TYPE_FLAGS | |
| 6604 | 8004 | or derived.</doc> | |
| 6605 | - | <source-position filename="genums.h" line="96"/> | |
| 8005 | + | <source-position filename="gobject/genums.h" line="98"/> | |
| 6606 | 8006 | <parameters> | |
| 6607 | 8007 | <parameter name="class"> | |
| 6608 | 8008 | <doc xml:space="preserve" | |
| 6609 | - | filename="genums.h" | |
| 6610 | - | line="91">a #GFlagsClass</doc> | |
| 8009 | + | filename="gobject/genums.h" | |
| 8010 | + | line="93">a #GFlagsClass</doc> | |
| 6611 | 8011 | </parameter> | |
| 6612 | 8012 | </parameters> | |
| 6613 | 8013 | </function-macro> | |
| @@ -6615,14 +8015,14 @@ or derived.</doc> | |||
| 6615 | 8015 | c:identifier="G_IS_INITIALLY_UNOWNED" | |
| 6616 | 8016 | introspectable="0"> | |
| 6617 | 8017 | <doc xml:space="preserve" | |
| 6618 | - | filename="gobject.h" | |
| 6619 | - | line="162">Checks whether a valid #GTypeInstance pointer is of type %G_TYPE_INITIALLY_UNOWNED.</doc> | |
| 6620 | - | <source-position filename="gobject.h" line="168"/> | |
| 8018 | + | filename="gobject/gobject.h" | |
| 8019 | + | line="164">Checks whether a valid #GTypeInstance pointer is of type %G_TYPE_INITIALLY_UNOWNED.</doc> | |
| 8020 | + | <source-position filename="gobject/gobject.h" line="170"/> | |
| 6621 | 8021 | <parameters> | |
| 6622 | 8022 | <parameter name="object"> | |
| 6623 | 8023 | <doc xml:space="preserve" | |
| 6624 | - | filename="gobject.h" | |
| 6625 | - | line="164">Instance to check for being a %G_TYPE_INITIALLY_UNOWNED.</doc> | |
| 8024 | + | filename="gobject/gobject.h" | |
| 8025 | + | line="166">Instance to check for being a %G_TYPE_INITIALLY_UNOWNED.</doc> | |
| 6626 | 8026 | </parameter> | |
| 6627 | 8027 | </parameters> | |
| 6628 | 8028 | </function-macro> | |
| @@ -6630,15 +8030,15 @@ or derived.</doc> | |||
| 6630 | 8030 | c:identifier="G_IS_INITIALLY_UNOWNED_CLASS" | |
| 6631 | 8031 | introspectable="0"> | |
| 6632 | 8032 | <doc xml:space="preserve" | |
| 6633 | - | filename="gobject.h" | |
| 6634 | - | line="169">Checks whether @class "is a" valid #GInitiallyUnownedClass structure of type | |
| 8033 | + | filename="gobject/gobject.h" | |
| 8034 | + | line="171">Checks whether @class "is a" valid #GInitiallyUnownedClass structure of type | |
| 6635 | 8035 | %G_TYPE_INITIALLY_UNOWNED or derived.</doc> | |
| 6636 | - | <source-position filename="gobject.h" line="176"/> | |
| 8036 | + | <source-position filename="gobject/gobject.h" line="178"/> | |
| 6637 | 8037 | <parameters> | |
| 6638 | 8038 | <parameter name="class"> | |
| 6639 | 8039 | <doc xml:space="preserve" | |
| 6640 | - | filename="gobject.h" | |
| 6641 | - | line="171">a #GInitiallyUnownedClass</doc> | |
| 8040 | + | filename="gobject/gobject.h" | |
| 8041 | + | line="173">a #GInitiallyUnownedClass</doc> | |
| 6642 | 8042 | </parameter> | |
| 6643 | 8043 | </parameters> | |
| 6644 | 8044 | </function-macro> | |
| @@ -6646,14 +8046,14 @@ or derived.</doc> | |||
| 6646 | 8046 | c:identifier="G_IS_OBJECT" | |
| 6647 | 8047 | introspectable="0"> | |
| 6648 | 8048 | <doc xml:space="preserve" | |
| 6649 | - | filename="gobject.h" | |
| 6650 | - | line="60">Checks whether a valid #GTypeInstance pointer is of type %G_TYPE_OBJECT.</doc> | |
| 6651 | - | <source-position filename="gobject.h" line="67"/> | |
| 8049 | + | filename="gobject/gobject.h" | |
| 8050 | + | line="62">Checks whether a valid #GTypeInstance pointer is of type %G_TYPE_OBJECT.</doc> | |
| 8051 | + | <source-position filename="gobject/gobject.h" line="69"/> | |
| 6652 | 8052 | <parameters> | |
| 6653 | 8053 | <parameter name="object"> | |
| 6654 | 8054 | <doc xml:space="preserve" | |
| 6655 | - | filename="gobject.h" | |
| 6656 | - | line="62">Instance to check for being a %G_TYPE_OBJECT.</doc> | |
| 8055 | + | filename="gobject/gobject.h" | |
| 8056 | + | line="64">Instance to check for being a %G_TYPE_OBJECT.</doc> | |
| 6657 | 8057 | </parameter> | |
| 6658 | 8058 | </parameters> | |
| 6659 | 8059 | </function-macro> | |
| @@ -6661,15 +8061,15 @@ or derived.</doc> | |||
| 6661 | 8061 | c:identifier="G_IS_OBJECT_CLASS" | |
| 6662 | 8062 | introspectable="0"> | |
| 6663 | 8063 | <doc xml:space="preserve" | |
| 6664 | - | filename="gobject.h" | |
| 6665 | - | line="71">Checks whether @class "is a" valid #GObjectClass structure of type | |
| 8064 | + | filename="gobject/gobject.h" | |
| 8065 | + | line="73">Checks whether @class "is a" valid #GObjectClass structure of type | |
| 6666 | 8066 | %G_TYPE_OBJECT or derived.</doc> | |
| 6667 | - | <source-position filename="gobject.h" line="78"/> | |
| 8067 | + | <source-position filename="gobject/gobject.h" line="80"/> | |
| 6668 | 8068 | <parameters> | |
| 6669 | 8069 | <parameter name="class"> | |
| 6670 | 8070 | <doc xml:space="preserve" | |
| 6671 | - | filename="gobject.h" | |
| 6672 | - | line="73">a #GObjectClass</doc> | |
| 8071 | + | filename="gobject/gobject.h" | |
| 8072 | + | line="75">a #GObjectClass</doc> | |
| 6673 | 8073 | </parameter> | |
| 6674 | 8074 | </parameters> | |
| 6675 | 8075 | </function-macro> | |
| @@ -6677,15 +8077,15 @@ or derived.</doc> | |||
| 6677 | 8077 | c:identifier="G_IS_PARAM_SPEC" | |
| 6678 | 8078 | introspectable="0"> | |
| 6679 | 8079 | <doc xml:space="preserve" | |
| 6680 | - | filename="gparam.h" | |
| 6681 | - | line="46">Checks whether @pspec "is a" valid #GParamSpec structure of type %G_TYPE_PARAM | |
| 8080 | + | filename="gobject/gparam.h" | |
| 8081 | + | line="48">Checks whether @pspec "is a" valid #GParamSpec structure of type %G_TYPE_PARAM | |
| 6682 | 8082 | or derived.</doc> | |
| 6683 | - | <source-position filename="gparam.h" line="54"/> | |
| 8083 | + | <source-position filename="gobject/gparam.h" line="56"/> | |
| 6684 | 8084 | <parameters> | |
| 6685 | 8085 | <parameter name="pspec"> | |
| 6686 | 8086 | <doc xml:space="preserve" | |
| 6687 | - | filename="gparam.h" | |
| 6688 | - | line="48">a #GParamSpec</doc> | |
| 8087 | + | filename="gobject/gparam.h" | |
| 8088 | + | line="50">a #GParamSpec</doc> | |
| 6689 | 8089 | </parameter> | |
| 6690 | 8090 | </parameters> | |
| 6691 | 8091 | </function-macro> | |
| @@ -6693,14 +8093,14 @@ or derived.</doc> | |||
| 6693 | 8093 | c:identifier="G_IS_PARAM_SPEC_BOOLEAN" | |
| 6694 | 8094 | introspectable="0"> | |
| 6695 | 8095 | <doc xml:space="preserve" | |
| 6696 | - | filename="gparamspecs.h" | |
| 6697 | - | line="86">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_BOOLEAN.</doc> | |
| 6698 | - | <source-position filename="gparamspecs.h" line="94"/> | |
| 8096 | + | filename="gobject/gparamspecs.h" | |
| 8097 | + | line="88">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_BOOLEAN.</doc> | |
| 8098 | + | <source-position filename="gobject/gparamspecs.h" line="96"/> | |
| 6699 | 8099 | <parameters> | |
| 6700 | 8100 | <parameter name="pspec"> | |
| 6701 | 8101 | <doc xml:space="preserve" | |
| 6702 | - | filename="gparamspecs.h" | |
| 6703 | - | line="88">a valid #GParamSpec instance</doc> | |
| 8102 | + | filename="gobject/gparamspecs.h" | |
| 8103 | + | line="90">a valid #GParamSpec instance</doc> | |
| 6704 | 8104 | </parameter> | |
| 6705 | 8105 | </parameters> | |
| 6706 | 8106 | </function-macro> | |
| @@ -6708,14 +8108,14 @@ or derived.</doc> | |||
| 6708 | 8108 | c:identifier="G_IS_PARAM_SPEC_BOXED" | |
| 6709 | 8109 | introspectable="0"> | |
| 6710 | 8110 | <doc xml:space="preserve" | |
| 6711 | - | filename="gparamspecs.h" | |
| 6712 | - | line="408">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_BOXED.</doc> | |
| 6713 | - | <source-position filename="gparamspecs.h" line="416"/> | |
| 8111 | + | filename="gobject/gparamspecs.h" | |
| 8112 | + | line="410">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_BOXED.</doc> | |
| 8113 | + | <source-position filename="gobject/gparamspecs.h" line="418"/> | |
| 6714 | 8114 | <parameters> | |
| 6715 | 8115 | <parameter name="pspec"> | |
| 6716 | 8116 | <doc xml:space="preserve" | |
| 6717 | - | filename="gparamspecs.h" | |
| 6718 | - | line="410">a valid #GParamSpec instance</doc> | |
| 8117 | + | filename="gobject/gparamspecs.h" | |
| 8118 | + | line="412">a valid #GParamSpec instance</doc> | |
| 6719 | 8119 | </parameter> | |
| 6720 | 8120 | </parameters> | |
| 6721 | 8121 | </function-macro> | |
| @@ -6723,14 +8123,14 @@ or derived.</doc> | |||
| 6723 | 8123 | c:identifier="G_IS_PARAM_SPEC_CHAR" | |
| 6724 | 8124 | introspectable="0"> | |
| 6725 | 8125 | <doc xml:space="preserve" | |
| 6726 | - | filename="gparamspecs.h" | |
| 6727 | - | line="40">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_CHAR.</doc> | |
| 6728 | - | <source-position filename="gparamspecs.h" line="48"/> | |
| 8126 | + | filename="gobject/gparamspecs.h" | |
| 8127 | + | line="42">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_CHAR.</doc> | |
| 8128 | + | <source-position filename="gobject/gparamspecs.h" line="50"/> | |
| 6729 | 8129 | <parameters> | |
| 6730 | 8130 | <parameter name="pspec"> | |
| 6731 | 8131 | <doc xml:space="preserve" | |
| 6732 | - | filename="gparamspecs.h" | |
| 6733 | - | line="42">a valid #GParamSpec instance</doc> | |
| 8132 | + | filename="gobject/gparamspecs.h" | |
| 8133 | + | line="44">a valid #GParamSpec instance</doc> | |
| 6734 | 8134 | </parameter> | |
| 6735 | 8135 | </parameters> | |
| 6736 | 8136 | </function-macro> | |
| @@ -6738,15 +8138,15 @@ or derived.</doc> | |||
| 6738 | 8138 | c:identifier="G_IS_PARAM_SPEC_CLASS" | |
| 6739 | 8139 | introspectable="0"> | |
| 6740 | 8140 | <doc xml:space="preserve" | |
| 6741 | - | filename="gparam.h" | |
| 6742 | - | line="65">Checks whether @pclass "is a" valid #GParamSpecClass structure of type | |
| 8141 | + | filename="gobject/gparam.h" | |
| 8142 | + | line="67">Checks whether @pclass "is a" valid #GParamSpecClass structure of type | |
| 6743 | 8143 | %G_TYPE_PARAM or derived.</doc> | |
| 6744 | - | <source-position filename="gparam.h" line="72"/> | |
| 8144 | + | <source-position filename="gobject/gparam.h" line="74"/> | |
| 6745 | 8145 | <parameters> | |
| 6746 | 8146 | <parameter name="pclass"> | |
| 6747 | 8147 | <doc xml:space="preserve" | |
| 6748 | - | filename="gparam.h" | |
| 6749 | - | line="67">a #GParamSpecClass</doc> | |
| 8148 | + | filename="gobject/gparam.h" | |
| 8149 | + | line="69">a #GParamSpecClass</doc> | |
| 6750 | 8150 | </parameter> | |
| 6751 | 8151 | </parameters> | |
| 6752 | 8152 | </function-macro> | |
| @@ -6754,14 +8154,14 @@ or derived.</doc> | |||
| 6754 | 8154 | c:identifier="G_IS_PARAM_SPEC_DOUBLE" | |
| 6755 | 8155 | introspectable="0"> | |
| 6756 | 8156 | <doc xml:space="preserve" | |
| 6757 | - | filename="gparamspecs.h" | |
| 6758 | - | line="339">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_DOUBLE.</doc> | |
| 6759 | - | <source-position filename="gparamspecs.h" line="347"/> | |
| 8157 | + | filename="gobject/gparamspecs.h" | |
| 8158 | + | line="341">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_DOUBLE.</doc> | |
| 8159 | + | <source-position filename="gobject/gparamspecs.h" line="349"/> | |
| 6760 | 8160 | <parameters> | |
| 6761 | 8161 | <parameter name="pspec"> | |
| 6762 | 8162 | <doc xml:space="preserve" | |
| 6763 | - | filename="gparamspecs.h" | |
| 6764 | - | line="341">a valid #GParamSpec instance</doc> | |
| 8163 | + | filename="gobject/gparamspecs.h" | |
| 8164 | + | line="343">a valid #GParamSpec instance</doc> | |
| 6765 | 8165 | </parameter> | |
| 6766 | 8166 | </parameters> | |
| 6767 | 8167 | </function-macro> | |
| @@ -6769,14 +8169,14 @@ or derived.</doc> | |||
| 6769 | 8169 | c:identifier="G_IS_PARAM_SPEC_ENUM" | |
| 6770 | 8170 | introspectable="0"> | |
| 6771 | 8171 | <doc xml:space="preserve" | |
| 6772 | - | filename="gparamspecs.h" | |
| 6773 | - | line="270">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_ENUM.</doc> | |
| 6774 | - | <source-position filename="gparamspecs.h" line="278"/> | |
| 8172 | + | filename="gobject/gparamspecs.h" | |
| 8173 | + | line="272">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_ENUM.</doc> | |
| 8174 | + | <source-position filename="gobject/gparamspecs.h" line="280"/> | |
| 6775 | 8175 | <parameters> | |
| 6776 | 8176 | <parameter name="pspec"> | |
| 6777 | 8177 | <doc xml:space="preserve" | |
| 6778 | - | filename="gparamspecs.h" | |
| 6779 | - | line="272">a valid #GParamSpec instance</doc> | |
| 8178 | + | filename="gobject/gparamspecs.h" | |
| 8179 | + | line="274">a valid #GParamSpec instance</doc> | |
| 6780 | 8180 | </parameter> | |
| 6781 | 8181 | </parameters> | |
| 6782 | 8182 | </function-macro> | |
| @@ -6784,14 +8184,14 @@ or derived.</doc> | |||
| 6784 | 8184 | c:identifier="G_IS_PARAM_SPEC_FLAGS" | |
| 6785 | 8185 | introspectable="0"> | |
| 6786 | 8186 | <doc xml:space="preserve" | |
| 6787 | - | filename="gparamspecs.h" | |
| 6788 | - | line="293">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_FLAGS.</doc> | |
| 6789 | - | <source-position filename="gparamspecs.h" line="301"/> | |
| 8187 | + | filename="gobject/gparamspecs.h" | |
| 8188 | + | line="295">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_FLAGS.</doc> | |
| 8189 | + | <source-position filename="gobject/gparamspecs.h" line="303"/> | |
| 6790 | 8190 | <parameters> | |
| 6791 | 8191 | <parameter name="pspec"> | |
| 6792 | 8192 | <doc xml:space="preserve" | |
| 6793 | - | filename="gparamspecs.h" | |
| 6794 | - | line="295">a valid #GParamSpec instance</doc> | |
| 8193 | + | filename="gobject/gparamspecs.h" | |
| 8194 | + | line="297">a valid #GParamSpec instance</doc> | |
| 6795 | 8195 | </parameter> | |
| 6796 | 8196 | </parameters> | |
| 6797 | 8197 | </function-macro> | |
| @@ -6799,14 +8199,14 @@ or derived.</doc> | |||
| 6799 | 8199 | c:identifier="G_IS_PARAM_SPEC_FLOAT" | |
| 6800 | 8200 | introspectable="0"> | |
| 6801 | 8201 | <doc xml:space="preserve" | |
| 6802 | - | filename="gparamspecs.h" | |
| 6803 | - | line="316">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_FLOAT.</doc> | |
| 6804 | - | <source-position filename="gparamspecs.h" line="324"/> | |
| 8202 | + | filename="gobject/gparamspecs.h" | |
| 8203 | + | line="318">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_FLOAT.</doc> | |
| 8204 | + | <source-position filename="gobject/gparamspecs.h" line="326"/> | |
| 6805 | 8205 | <parameters> | |
| 6806 | 8206 | <parameter name="pspec"> | |
| 6807 | 8207 | <doc xml:space="preserve" | |
| 6808 | - | filename="gparamspecs.h" | |
| 6809 | - | line="318">a valid #GParamSpec instance</doc> | |
| 8208 | + | filename="gobject/gparamspecs.h" | |
| 8209 | + | line="320">a valid #GParamSpec instance</doc> | |
| 6810 | 8210 | </parameter> | |
| 6811 | 8211 | </parameters> | |
| 6812 | 8212 | </function-macro> | |
| @@ -6815,14 +8215,14 @@ or derived.</doc> | |||
| 6815 | 8215 | version="2.10" | |
| 6816 | 8216 | introspectable="0"> | |
| 6817 | 8217 | <doc xml:space="preserve" | |
| 6818 | - | filename="gparamspecs.h" | |
| 6819 | - | line="536">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_GTYPE.</doc> | |
| 6820 | - | <source-position filename="gparamspecs.h" line="545"/> | |
| 8218 | + | filename="gobject/gparamspecs.h" | |
| 8219 | + | line="538">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_GTYPE.</doc> | |
| 8220 | + | <source-position filename="gobject/gparamspecs.h" line="547"/> | |
| 6821 | 8221 | <parameters> | |
| 6822 | 8222 | <parameter name="pspec"> | |
| 6823 | 8223 | <doc xml:space="preserve" | |
| 6824 | - | filename="gparamspecs.h" | |
| 6825 | - | line="538">a #GParamSpec</doc> | |
| 8224 | + | filename="gobject/gparamspecs.h" | |
| 8225 | + | line="540">a #GParamSpec</doc> | |
| 6826 | 8226 | </parameter> | |
| 6827 | 8227 | </parameters> | |
| 6828 | 8228 | </function-macro> | |
| @@ -6830,14 +8230,14 @@ or derived.</doc> | |||
| 6830 | 8230 | c:identifier="G_IS_PARAM_SPEC_INT" | |
| 6831 | 8231 | introspectable="0"> | |
| 6832 | 8232 | <doc xml:space="preserve" | |
| 6833 | - | filename="gparamspecs.h" | |
| 6834 | - | line="109">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_INT.</doc> | |
| 6835 | - | <source-position filename="gparamspecs.h" line="117"/> | |
| 8233 | + | filename="gobject/gparamspecs.h" | |
| 8234 | + | line="111">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_INT.</doc> | |
| 8235 | + | <source-position filename="gobject/gparamspecs.h" line="119"/> | |
| 6836 | 8236 | <parameters> | |
| 6837 | 8237 | <parameter name="pspec"> | |
| 6838 | 8238 | <doc xml:space="preserve" | |
| 6839 | - | filename="gparamspecs.h" | |
| 6840 | - | line="111">a valid #GParamSpec instance</doc> | |
| 8239 | + | filename="gobject/gparamspecs.h" | |
| 8240 | + | line="113">a valid #GParamSpec instance</doc> | |
| 6841 | 8241 | </parameter> | |
| 6842 | 8242 | </parameters> | |
| 6843 | 8243 | </function-macro> | |
| @@ -6845,14 +8245,14 @@ or derived.</doc> | |||
| 6845 | 8245 | c:identifier="G_IS_PARAM_SPEC_INT64" | |
| 6846 | 8246 | introspectable="0"> | |
| 6847 | 8247 | <doc xml:space="preserve" | |
| 6848 | - | filename="gparamspecs.h" | |
| 6849 | - | line="201">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_INT64.</doc> | |
| 6850 | - | <source-position filename="gparamspecs.h" line="209"/> | |
| 8248 | + | filename="gobject/gparamspecs.h" | |
| 8249 | + | line="203">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_INT64.</doc> | |
| 8250 | + | <source-position filename="gobject/gparamspecs.h" line="211"/> | |
| 6851 | 8251 | <parameters> | |
| 6852 | 8252 | <parameter name="pspec"> | |
| 6853 | 8253 | <doc xml:space="preserve" | |
| 6854 | - | filename="gparamspecs.h" | |
| 6855 | - | line="203">a valid #GParamSpec instance</doc> | |
| 8254 | + | filename="gobject/gparamspecs.h" | |
| 8255 | + | line="205">a valid #GParamSpec instance</doc> | |
| 6856 | 8256 | </parameter> | |
| 6857 | 8257 | </parameters> | |
| 6858 | 8258 | </function-macro> | |
| @@ -6860,14 +8260,14 @@ or derived.</doc> | |||
| 6860 | 8260 | c:identifier="G_IS_PARAM_SPEC_LONG" | |
| 6861 | 8261 | introspectable="0"> | |
| 6862 | 8262 | <doc xml:space="preserve" | |
| 6863 | - | filename="gparamspecs.h" | |
| 6864 | - | line="155">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_LONG.</doc> | |
| 6865 | - | <source-position filename="gparamspecs.h" line="163"/> | |
| 8263 | + | filename="gobject/gparamspecs.h" | |
| 8264 | + | line="157">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_LONG.</doc> | |
| 8265 | + | <source-position filename="gobject/gparamspecs.h" line="165"/> | |
| 6866 | 8266 | <parameters> | |
| 6867 | 8267 | <parameter name="pspec"> | |
| 6868 | 8268 | <doc xml:space="preserve" | |
| 6869 | - | filename="gparamspecs.h" | |
| 6870 | - | line="157">a valid #GParamSpec instance</doc> | |
| 8269 | + | filename="gobject/gparamspecs.h" | |
| 8270 | + | line="159">a valid #GParamSpec instance</doc> | |
| 6871 | 8271 | </parameter> | |
| 6872 | 8272 | </parameters> | |
| 6873 | 8273 | </function-macro> | |
| @@ -6875,14 +8275,14 @@ or derived.</doc> | |||
| 6875 | 8275 | c:identifier="G_IS_PARAM_SPEC_OBJECT" | |
| 6876 | 8276 | introspectable="0"> | |
| 6877 | 8277 | <doc xml:space="preserve" | |
| 6878 | - | filename="gparamspecs.h" | |
| 6879 | - | line="483">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_OBJECT.</doc> | |
| 6880 | - | <source-position filename="gparamspecs.h" line="491"/> | |
| 8278 | + | filename="gobject/gparamspecs.h" | |
| 8279 | + | line="485">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_OBJECT.</doc> | |
| 8280 | + | <source-position filename="gobject/gparamspecs.h" line="493"/> | |
| 6881 | 8281 | <parameters> | |
| 6882 | 8282 | <parameter name="pspec"> | |
| 6883 | 8283 | <doc xml:space="preserve" | |
| 6884 | - | filename="gparamspecs.h" | |
| 6885 | - | line="485">a valid #GParamSpec instance</doc> | |
| 8284 | + | filename="gobject/gparamspecs.h" | |
| 8285 | + | line="487">a valid #GParamSpec instance</doc> | |
| 6886 | 8286 | </parameter> | |
| 6887 | 8287 | </parameters> | |
| 6888 | 8288 | </function-macro> | |
| @@ -6891,14 +8291,14 @@ or derived.</doc> | |||
| 6891 | 8291 | version="2.4" | |
| 6892 | 8292 | introspectable="0"> | |
| 6893 | 8293 | <doc xml:space="preserve" | |
| 6894 | - | filename="gparamspecs.h" | |
| 6895 | - | line="508">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_OVERRIDE.</doc> | |
| 6896 | - | <source-position filename="gparamspecs.h" line="517"/> | |
| 8294 | + | filename="gobject/gparamspecs.h" | |
| 8295 | + | line="510">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_OVERRIDE.</doc> | |
| 8296 | + | <source-position filename="gobject/gparamspecs.h" line="519"/> | |
| 6897 | 8297 | <parameters> | |
| 6898 | 8298 | <parameter name="pspec"> | |
| 6899 | 8299 | <doc xml:space="preserve" | |
| 6900 | - | filename="gparamspecs.h" | |
| 6901 | - | line="510">a #GParamSpec</doc> | |
| 8300 | + | filename="gobject/gparamspecs.h" | |
| 8301 | + | line="512">a #GParamSpec</doc> | |
| 6902 | 8302 | </parameter> | |
| 6903 | 8303 | </parameters> | |
| 6904 | 8304 | </function-macro> | |
| @@ -6906,14 +8306,14 @@ or derived.</doc> | |||
| 6906 | 8306 | c:identifier="G_IS_PARAM_SPEC_PARAM" | |
| 6907 | 8307 | introspectable="0"> | |
| 6908 | 8308 | <doc xml:space="preserve" | |
| 6909 | - | filename="gparamspecs.h" | |
| 6910 | - | line="385">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_PARAM.</doc> | |
| 6911 | - | <source-position filename="gparamspecs.h" line="393"/> | |
| 8309 | + | filename="gobject/gparamspecs.h" | |
| 8310 | + | line="387">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_PARAM.</doc> | |
| 8311 | + | <source-position filename="gobject/gparamspecs.h" line="395"/> | |
| 6912 | 8312 | <parameters> | |
| 6913 | 8313 | <parameter name="pspec"> | |
| 6914 | 8314 | <doc xml:space="preserve" | |
| 6915 | - | filename="gparamspecs.h" | |
| 6916 | - | line="387">a valid #GParamSpec instance</doc> | |
| 8315 | + | filename="gobject/gparamspecs.h" | |
| 8316 | + | line="389">a valid #GParamSpec instance</doc> | |
| 6917 | 8317 | </parameter> | |
| 6918 | 8318 | </parameters> | |
| 6919 | 8319 | </function-macro> | |
| @@ -6921,14 +8321,14 @@ or derived.</doc> | |||
| 6921 | 8321 | c:identifier="G_IS_PARAM_SPEC_POINTER" | |
| 6922 | 8322 | introspectable="0"> | |
| 6923 | 8323 | <doc xml:space="preserve" | |
| 6924 | - | filename="gparamspecs.h" | |
| 6925 | - | line="431">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_POINTER.</doc> | |
| 6926 | - | <source-position filename="gparamspecs.h" line="439"/> | |
| 8324 | + | filename="gobject/gparamspecs.h" | |
| 8325 | + | line="433">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_POINTER.</doc> | |
| 8326 | + | <source-position filename="gobject/gparamspecs.h" line="441"/> | |
| 6927 | 8327 | <parameters> | |
| 6928 | 8328 | <parameter name="pspec"> | |
| 6929 | 8329 | <doc xml:space="preserve" | |
| 6930 | - | filename="gparamspecs.h" | |
| 6931 | - | line="433">a valid #GParamSpec instance</doc> | |
| 8330 | + | filename="gobject/gparamspecs.h" | |
| 8331 | + | line="435">a valid #GParamSpec instance</doc> | |
| 6932 | 8332 | </parameter> | |
| 6933 | 8333 | </parameters> | |
| 6934 | 8334 | </function-macro> | |
| @@ -6936,14 +8336,14 @@ or derived.</doc> | |||
| 6936 | 8336 | c:identifier="G_IS_PARAM_SPEC_STRING" | |
| 6937 | 8337 | introspectable="0"> | |
| 6938 | 8338 | <doc xml:space="preserve" | |
| 6939 | - | filename="gparamspecs.h" | |
| 6940 | - | line="362">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_STRING.</doc> | |
| 6941 | - | <source-position filename="gparamspecs.h" line="370"/> | |
| 8339 | + | filename="gobject/gparamspecs.h" | |
| 8340 | + | line="364">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_STRING.</doc> | |
| 8341 | + | <source-position filename="gobject/gparamspecs.h" line="372"/> | |
| 6942 | 8342 | <parameters> | |
| 6943 | 8343 | <parameter name="pspec"> | |
| 6944 | 8344 | <doc xml:space="preserve" | |
| 6945 | - | filename="gparamspecs.h" | |
| 6946 | - | line="364">a valid #GParamSpec instance</doc> | |
| 8345 | + | filename="gobject/gparamspecs.h" | |
| 8346 | + | line="366">a valid #GParamSpec instance</doc> | |
| 6947 | 8347 | </parameter> | |
| 6948 | 8348 | </parameters> | |
| 6949 | 8349 | </function-macro> | |
| @@ -6951,14 +8351,14 @@ or derived.</doc> | |||
| 6951 | 8351 | c:identifier="G_IS_PARAM_SPEC_UCHAR" | |
| 6952 | 8352 | introspectable="0"> | |
| 6953 | 8353 | <doc xml:space="preserve" | |
| 6954 | - | filename="gparamspecs.h" | |
| 6955 | - | line="63">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UCHAR.</doc> | |
| 6956 | - | <source-position filename="gparamspecs.h" line="71"/> | |
| 8354 | + | filename="gobject/gparamspecs.h" | |
| 8355 | + | line="65">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UCHAR.</doc> | |
| 8356 | + | <source-position filename="gobject/gparamspecs.h" line="73"/> | |
| 6957 | 8357 | <parameters> | |
| 6958 | 8358 | <parameter name="pspec"> | |
| 6959 | 8359 | <doc xml:space="preserve" | |
| 6960 | - | filename="gparamspecs.h" | |
| 6961 | - | line="65">a valid #GParamSpec instance</doc> | |
| 8360 | + | filename="gobject/gparamspecs.h" | |
| 8361 | + | line="67">a valid #GParamSpec instance</doc> | |
| 6962 | 8362 | </parameter> | |
| 6963 | 8363 | </parameters> | |
| 6964 | 8364 | </function-macro> | |
| @@ -6966,14 +8366,14 @@ or derived.</doc> | |||
| 6966 | 8366 | c:identifier="G_IS_PARAM_SPEC_UINT" | |
| 6967 | 8367 | introspectable="0"> | |
| 6968 | 8368 | <doc xml:space="preserve" | |
| 6969 | - | filename="gparamspecs.h" | |
| 6970 | - | line="132">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UINT.</doc> | |
| 6971 | - | <source-position filename="gparamspecs.h" line="140"/> | |
| 8369 | + | filename="gobject/gparamspecs.h" | |
| 8370 | + | line="134">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UINT.</doc> | |
| 8371 | + | <source-position filename="gobject/gparamspecs.h" line="142"/> | |
| 6972 | 8372 | <parameters> | |
| 6973 | 8373 | <parameter name="pspec"> | |
| 6974 | 8374 | <doc xml:space="preserve" | |
| 6975 | - | filename="gparamspecs.h" | |
| 6976 | - | line="134">a valid #GParamSpec instance</doc> | |
| 8375 | + | filename="gobject/gparamspecs.h" | |
| 8376 | + | line="136">a valid #GParamSpec instance</doc> | |
| 6977 | 8377 | </parameter> | |
| 6978 | 8378 | </parameters> | |
| 6979 | 8379 | </function-macro> | |
| @@ -6981,14 +8381,14 @@ or derived.</doc> | |||
| 6981 | 8381 | c:identifier="G_IS_PARAM_SPEC_UINT64" | |
| 6982 | 8382 | introspectable="0"> | |
| 6983 | 8383 | <doc xml:space="preserve" | |
| 6984 | - | filename="gparamspecs.h" | |
| 6985 | - | line="224">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UINT64.</doc> | |
| 6986 | - | <source-position filename="gparamspecs.h" line="232"/> | |
| 8384 | + | filename="gobject/gparamspecs.h" | |
| 8385 | + | line="226">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UINT64.</doc> | |
| 8386 | + | <source-position filename="gobject/gparamspecs.h" line="234"/> | |
| 6987 | 8387 | <parameters> | |
| 6988 | 8388 | <parameter name="pspec"> | |
| 6989 | 8389 | <doc xml:space="preserve" | |
| 6990 | - | filename="gparamspecs.h" | |
| 6991 | - | line="226">a valid #GParamSpec instance</doc> | |
| 8390 | + | filename="gobject/gparamspecs.h" | |
| 8391 | + | line="228">a valid #GParamSpec instance</doc> | |
| 6992 | 8392 | </parameter> | |
| 6993 | 8393 | </parameters> | |
| 6994 | 8394 | </function-macro> | |
| @@ -6996,14 +8396,14 @@ or derived.</doc> | |||
| 6996 | 8396 | c:identifier="G_IS_PARAM_SPEC_ULONG" | |
| 6997 | 8397 | introspectable="0"> | |
| 6998 | 8398 | <doc xml:space="preserve" | |
| 6999 | - | filename="gparamspecs.h" | |
| 7000 | - | line="178">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_ULONG.</doc> | |
| 7001 | - | <source-position filename="gparamspecs.h" line="186"/> | |
| 8399 | + | filename="gobject/gparamspecs.h" | |
| 8400 | + | line="180">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_ULONG.</doc> | |
| 8401 | + | <source-position filename="gobject/gparamspecs.h" line="188"/> | |
| 7002 | 8402 | <parameters> | |
| 7003 | 8403 | <parameter name="pspec"> | |
| 7004 | 8404 | <doc xml:space="preserve" | |
| 7005 | - | filename="gparamspecs.h" | |
| 7006 | - | line="180">a valid #GParamSpec instance</doc> | |
| 8405 | + | filename="gobject/gparamspecs.h" | |
| 8406 | + | line="182">a valid #GParamSpec instance</doc> | |
| 7007 | 8407 | </parameter> | |
| 7008 | 8408 | </parameters> | |
| 7009 | 8409 | </function-macro> | |
| @@ -7011,14 +8411,14 @@ or derived.</doc> | |||
| 7011 | 8411 | c:identifier="G_IS_PARAM_SPEC_UNICHAR" | |
| 7012 | 8412 | introspectable="0"> | |
| 7013 | 8413 | <doc xml:space="preserve" | |
| 7014 | - | filename="gparamspecs.h" | |
| 7015 | - | line="254">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UNICHAR.</doc> | |
| 7016 | - | <source-position filename="gparamspecs.h" line="262"/> | |
| 8414 | + | filename="gobject/gparamspecs.h" | |
| 8415 | + | line="256">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UNICHAR.</doc> | |
| 8416 | + | <source-position filename="gobject/gparamspecs.h" line="264"/> | |
| 7017 | 8417 | <parameters> | |
| 7018 | 8418 | <parameter name="pspec"> | |
| 7019 | 8419 | <doc xml:space="preserve" | |
| 7020 | - | filename="gparamspecs.h" | |
| 7021 | - | line="256">a valid #GParamSpec instance</doc> | |
| 8420 | + | filename="gobject/gparamspecs.h" | |
| 8421 | + | line="258">a valid #GParamSpec instance</doc> | |
| 7022 | 8422 | </parameter> | |
| 7023 | 8423 | </parameters> | |
| 7024 | 8424 | </function-macro> | |
| @@ -7028,15 +8428,15 @@ or derived.</doc> | |||
| 7028 | 8428 | deprecated="1" | |
| 7029 | 8429 | deprecated-version="2.32"> | |
| 7030 | 8430 | <doc xml:space="preserve" | |
| 7031 | - | filename="gparamspecs.h" | |
| 7032 | - | line="456">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_VALUE_ARRAY.</doc> | |
| 8431 | + | filename="gobject/gparamspecs.h" | |
| 8432 | + | line="458">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_VALUE_ARRAY.</doc> | |
| 7033 | 8433 | <doc-deprecated xml:space="preserve">Use #GArray instead of #GValueArray</doc-deprecated> | |
| 7034 | - | <source-position filename="gparamspecs.h" line="466"/> | |
| 8434 | + | <source-position filename="gobject/gparamspecs.h" line="468"/> | |
| 7035 | 8435 | <parameters> | |
| 7036 | 8436 | <parameter name="pspec"> | |
| 7037 | 8437 | <doc xml:space="preserve" | |
| 7038 | - | filename="gparamspecs.h" | |
| 7039 | - | line="458">a valid #GParamSpec instance</doc> | |
| 8438 | + | filename="gobject/gparamspecs.h" | |
| 8439 | + | line="460">a valid #GParamSpec instance</doc> | |
| 7040 | 8440 | </parameter> | |
| 7041 | 8441 | </parameters> | |
| 7042 | 8442 | </function-macro> | |
| @@ -7045,21 +8445,21 @@ or derived.</doc> | |||
| 7045 | 8445 | version="2.26" | |
| 7046 | 8446 | introspectable="0"> | |
| 7047 | 8447 | <doc xml:space="preserve" | |
| 7048 | - | filename="gparamspecs.h" | |
| 7049 | - | line="564">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_VARIANT.</doc> | |
| 7050 | - | <source-position filename="gparamspecs.h" line="574"/> | |
| 8448 | + | filename="gobject/gparamspecs.h" | |
| 8449 | + | line="566">Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_VARIANT.</doc> | |
| 8450 | + | <source-position filename="gobject/gparamspecs.h" line="576"/> | |
| 7051 | 8451 | <parameters> | |
| 7052 | 8452 | <parameter name="pspec"> | |
| 7053 | 8453 | <doc xml:space="preserve" | |
| 7054 | - | filename="gparamspecs.h" | |
| 7055 | - | line="566">a #GParamSpec</doc> | |
| 8454 | + | filename="gobject/gparamspecs.h" | |
| 8455 | + | line="568">a #GParamSpec</doc> | |
| 7056 | 8456 | </parameter> | |
| 7057 | 8457 | </parameters> | |
| 7058 | 8458 | </function-macro> | |
| 7059 | 8459 | <function-macro name="IS_SIGNAL_GROUP" | |
| 7060 | 8460 | c:identifier="G_IS_SIGNAL_GROUP" | |
| 7061 | 8461 | introspectable="0"> | |
| 7062 | - | <source-position filename="gsignalgroup.h" line="36"/> | |
| 8462 | + | <source-position filename="gobject/gsignalgroup.h" line="36"/> | |
| 7063 | 8463 | <parameters> | |
| 7064 | 8464 | <parameter name="obj"> | |
| 7065 | 8465 | </parameter> | |
| @@ -7068,7 +8468,7 @@ or derived.</doc> | |||
| 7068 | 8468 | <function-macro name="IS_TYPE_MODULE" | |
| 7069 | 8469 | c:identifier="G_IS_TYPE_MODULE" | |
| 7070 | 8470 | introspectable="0"> | |
| 7071 | - | <source-position filename="gtypemodule.h" line="35"/> | |
| 8471 | + | <source-position filename="gobject/gtypemodule.h" line="37"/> | |
| 7072 | 8472 | <parameters> | |
| 7073 | 8473 | <parameter name="module"> | |
| 7074 | 8474 | </parameter> | |
| @@ -7077,7 +8477,7 @@ or derived.</doc> | |||
| 7077 | 8477 | <function-macro name="IS_TYPE_MODULE_CLASS" | |
| 7078 | 8478 | c:identifier="G_IS_TYPE_MODULE_CLASS" | |
| 7079 | 8479 | introspectable="0"> | |
| 7080 | - | <source-position filename="gtypemodule.h" line="36"/> | |
| 8480 | + | <source-position filename="gobject/gtypemodule.h" line="38"/> | |
| 7081 | 8481 | <parameters> | |
| 7082 | 8482 | <parameter name="class"> | |
| 7083 | 8483 | </parameter> | |
| @@ -7086,7 +8486,7 @@ or derived.</doc> | |||
| 7086 | 8486 | <function-macro name="IS_TYPE_PLUGIN" | |
| 7087 | 8487 | c:identifier="G_IS_TYPE_PLUGIN" | |
| 7088 | 8488 | introspectable="0"> | |
| 7089 | - | <source-position filename="gtypeplugin.h" line="32"/> | |
| 8489 | + | <source-position filename="gobject/gtypeplugin.h" line="34"/> | |
| 7090 | 8490 | <parameters> | |
| 7091 | 8491 | <parameter name="inst"> | |
| 7092 | 8492 | </parameter> | |
| @@ -7095,7 +8495,7 @@ or derived.</doc> | |||
| 7095 | 8495 | <function-macro name="IS_TYPE_PLUGIN_CLASS" | |
| 7096 | 8496 | c:identifier="G_IS_TYPE_PLUGIN_CLASS" | |
| 7097 | 8497 | introspectable="0"> | |
| 7098 | - | <source-position filename="gtypeplugin.h" line="33"/> | |
| 8498 | + | <source-position filename="gobject/gtypeplugin.h" line="35"/> | |
| 7099 | 8499 | <parameters> | |
| 7100 | 8500 | <parameter name="vtable"> | |
| 7101 | 8501 | </parameter> | |
| @@ -7105,14 +8505,14 @@ or derived.</doc> | |||
| 7105 | 8505 | c:identifier="G_IS_VALUE" | |
| 7106 | 8506 | introspectable="0"> | |
| 7107 | 8507 | <doc xml:space="preserve" | |
| 7108 | - | filename="gvalue.h" | |
| 7109 | - | line="43">Checks if @value is a valid and initialized #GValue structure.</doc> | |
| 7110 | - | <source-position filename="gvalue.h" line="51"/> | |
| 8508 | + | filename="gobject/gvalue.h" | |
| 8509 | + | line="45">Checks if @value is a valid and initialized #GValue structure.</doc> | |
| 8510 | + | <source-position filename="gobject/gvalue.h" line="53"/> | |
| 7111 | 8511 | <parameters> | |
| 7112 | 8512 | <parameter name="value"> | |
| 7113 | 8513 | <doc xml:space="preserve" | |
| 7114 | - | filename="gvalue.h" | |
| 7115 | - | line="45">A #GValue structure.</doc> | |
| 8514 | + | filename="gobject/gvalue.h" | |
| 8515 | + | line="47">A #GValue structure.</doc> | |
| 7116 | 8516 | </parameter> | |
| 7117 | 8517 | </parameters> | |
| 7118 | 8518 | </function-macro> | |
| @@ -7124,12 +8524,12 @@ or derived.</doc> | |||
| 7124 | 8524 | glib:get-type="g_initially_unowned_get_type" | |
| 7125 | 8525 | glib:type-struct="InitiallyUnownedClass"> | |
| 7126 | 8526 | <doc xml:space="preserve" | |
| 7127 | - | filename="gobject.h" | |
| 7128 | - | line="390">A type for objects that have an initially floating reference. | |
| 8527 | + | filename="gobject/gobject.h" | |
| 8528 | + | line="382">A type for objects that have an initially floating reference. | |
| 7129 | 8529 | ||
| 7130 | 8530 | All the fields in the `GInitiallyUnowned` structure are private to the | |
| 7131 | 8531 | implementation and should never be accessed directly.</doc> | |
| 7132 | - | <source-position filename="gobject.h" line="193"/> | |
| 8532 | + | <source-position filename="gobject/gobject.h" line="195"/> | |
| 7133 | 8533 | <field name="g_type_instance"> | |
| 7134 | 8534 | <type name="TypeInstance" c:type="GTypeInstance"/> | |
| 7135 | 8535 | </field> | |
| @@ -7144,13 +8544,13 @@ implementation and should never be accessed directly.</doc> | |||
| 7144 | 8544 | c:type="GInitiallyUnownedClass" | |
| 7145 | 8545 | glib:is-gtype-struct-for="InitiallyUnowned"> | |
| 7146 | 8546 | <doc xml:space="preserve" | |
| 7147 | - | filename="gobject.h" | |
| 7148 | - | line="398">The class structure for the GInitiallyUnowned type.</doc> | |
| 7149 | - | <source-position filename="gobject.h" line="193"/> | |
| 8547 | + | filename="gobject/gobject.h" | |
| 8548 | + | line="390">The class structure for the GInitiallyUnowned type.</doc> | |
| 8549 | + | <source-position filename="gobject/gobject.h" line="195"/> | |
| 7150 | 8550 | <field name="g_type_class"> | |
| 7151 | 8551 | <doc xml:space="preserve" | |
| 7152 | - | filename="gobject.h" | |
| 7153 | - | line="275">the parent class</doc> | |
| 8552 | + | filename="gobject/gobject.h" | |
| 8553 | + | line="262">the parent class</doc> | |
| 7154 | 8554 | <type name="TypeClass" c:type="GTypeClass"/> | |
| 7155 | 8555 | </field> | |
| 7156 | 8556 | <field name="construct_properties" readable="0" private="1"> | |
| @@ -7159,8 +8559,15 @@ implementation and should never be accessed directly.</doc> | |||
| 7159 | 8559 | </type> | |
| 7160 | 8560 | </field> | |
| 7161 | 8561 | <field name="constructor" introspectable="0"> | |
| 8562 | + | <doc xml:space="preserve" | |
| 8563 | + | filename="gobject/gobject.h" | |
| 8564 | + | line="263">the @constructor function is called by g_object_new () to | |
| 8565 | + | complete the object initialization after all the construction properties are | |
| 8566 | + | set. The first thing a @constructor implementation must do is chain up to the | |
| 8567 | + | @constructor of the parent class. Overriding @constructor should be rarely | |
| 8568 | + | needed, e.g. to handle construct properties, or to implement singletons.</doc> | |
| 7162 | 8569 | <callback name="constructor" introspectable="0"> | |
| 7163 | - | <source-position filename="gobject.h" line="344"/> | |
| 8570 | + | <source-position filename="gobject/gobject.h" line="331"/> | |
| 7164 | 8571 | <return-value> | |
| 7165 | 8572 | <type name="Object" c:type="GObject*"/> | |
| 7166 | 8573 | </return-value> | |
| @@ -7179,8 +8586,15 @@ implementation and should never be accessed directly.</doc> | |||
| 7179 | 8586 | </callback> | |
| 7180 | 8587 | </field> | |
| 7181 | 8588 | <field name="set_property"> | |
| 8589 | + | <doc xml:space="preserve" | |
| 8590 | + | filename="gobject/gobject.h" | |
| 8591 | + | line="268">the generic setter for all properties of this type. Should be | |
| 8592 | + | overridden for every type with properties. If implementations of | |
| 8593 | + | @set_property don't emit property change notification explicitly, this will | |
| 8594 | + | be done implicitly by the type system. However, if the notify signal is | |
| 8595 | + | emitted explicitly, the type system will not emit it a second time.</doc> | |
| 7182 | 8596 | <callback name="set_property"> | |
| 7183 | - | <source-position filename="gobject.h" line="348"/> | |
| 8597 | + | <source-position filename="gobject/gobject.h" line="335"/> | |
| 7184 | 8598 | <return-value transfer-ownership="none"> | |
| 7185 | 8599 | <type name="none" c:type="void"/> | |
| 7186 | 8600 | </return-value> | |
| @@ -7201,8 +8615,12 @@ implementation and should never be accessed directly.</doc> | |||
| 7201 | 8615 | </callback> | |
| 7202 | 8616 | </field> | |
| 7203 | 8617 | <field name="get_property"> | |
| 8618 | + | <doc xml:space="preserve" | |
| 8619 | + | filename="gobject/gobject.h" | |
| 8620 | + | line="273">the generic getter for all properties of this type. Should be | |
| 8621 | + | overridden for every type with properties.</doc> | |
| 7204 | 8622 | <callback name="get_property"> | |
| 7205 | - | <source-position filename="gobject.h" line="352"/> | |
| 8623 | + | <source-position filename="gobject/gobject.h" line="339"/> | |
| 7206 | 8624 | <return-value transfer-ownership="none"> | |
| 7207 | 8625 | <type name="none" c:type="void"/> | |
| 7208 | 8626 | </return-value> | |
| @@ -7223,8 +8641,15 @@ implementation and should never be accessed directly.</doc> | |||
| 7223 | 8641 | </callback> | |
| 7224 | 8642 | </field> | |
| 7225 | 8643 | <field name="dispose"> | |
| 8644 | + | <doc xml:space="preserve" | |
| 8645 | + | filename="gobject/gobject.h" | |
| 8646 | + | line="275">the @dispose function is supposed to drop all references to other | |
| 8647 | + | objects, but keep the instance otherwise intact, so that client method | |
| 8648 | + | invocations still work. It may be run multiple times (due to reference | |
| 8649 | + | loops). Before returning, @dispose should chain up to the @dispose method | |
| 8650 | + | of the parent class.</doc> | |
| 7226 | 8651 | <callback name="dispose"> | |
| 7227 | - | <source-position filename="gobject.h" line="356"/> | |
| 8652 | + | <source-position filename="gobject/gobject.h" line="343"/> | |
| 7228 | 8653 | <return-value transfer-ownership="none"> | |
| 7229 | 8654 | <type name="none" c:type="void"/> | |
| 7230 | 8655 | </return-value> | |
| @@ -7236,8 +8661,13 @@ implementation and should never be accessed directly.</doc> | |||
| 7236 | 8661 | </callback> | |
| 7237 | 8662 | </field> | |
| 7238 | 8663 | <field name="finalize"> | |
| 8664 | + | <doc xml:space="preserve" | |
| 8665 | + | filename="gobject/gobject.h" | |
| 8666 | + | line="280">instance finalization function, should finish the finalization of | |
| 8667 | + | the instance begun in @dispose and chain up to the @finalize method of the | |
| 8668 | + | parent class.</doc> | |
| 7239 | 8669 | <callback name="finalize"> | |
| 7240 | - | <source-position filename="gobject.h" line="357"/> | |
| 8670 | + | <source-position filename="gobject/gobject.h" line="344"/> | |
| 7241 | 8671 | <return-value transfer-ownership="none"> | |
| 7242 | 8672 | <type name="none" c:type="void"/> | |
| 7243 | 8673 | </return-value> | |
| @@ -7249,8 +8679,13 @@ implementation and should never be accessed directly.</doc> | |||
| 7249 | 8679 | </callback> | |
| 7250 | 8680 | </field> | |
| 7251 | 8681 | <field name="dispatch_properties_changed"> | |
| 8682 | + | <doc xml:space="preserve" | |
| 8683 | + | filename="gobject/gobject.h" | |
| 8684 | + | line="283">emits property change notification for a bunch | |
| 8685 | + | of properties. Overriding @dispatch_properties_changed should be rarely | |
| 8686 | + | needed.</doc> | |
| 7252 | 8687 | <callback name="dispatch_properties_changed"> | |
| 7253 | - | <source-position filename="gobject.h" line="359"/> | |
| 8688 | + | <source-position filename="gobject/gobject.h" line="346"/> | |
| 7254 | 8689 | <return-value transfer-ownership="none"> | |
| 7255 | 8690 | <type name="none" c:type="void"/> | |
| 7256 | 8691 | </return-value> | |
| @@ -7268,16 +8703,19 @@ implementation and should never be accessed directly.</doc> | |||
| 7268 | 8703 | </callback> | |
| 7269 | 8704 | </field> | |
| 7270 | 8705 | <field name="notify"> | |
| 8706 | + | <doc xml:space="preserve" | |
| 8707 | + | filename="gobject/gobject.h" | |
| 8708 | + | line="286">the class closure for the notify signal</doc> | |
| 7271 | 8709 | <callback name="notify"> | |
| 7272 | - | <source-position filename="gobject.h" line="363"/> | |
| 8710 | + | <source-position filename="gobject/gobject.h" line="350"/> | |
| 7273 | 8711 | <return-value transfer-ownership="none"> | |
| 7274 | 8712 | <type name="none" c:type="void"/> | |
| 7275 | 8713 | </return-value> | |
| 7276 | 8714 | <parameters> | |
| 7277 | 8715 | <parameter name="object" transfer-ownership="none"> | |
| 7278 | 8716 | <doc xml:space="preserve" | |
| 7279 | - | filename="gobject-2.0.c" | |
| 7280 | - | line="3422">a #GObject</doc> | |
| 8717 | + | filename="gobject/gobject.c" | |
| 8718 | + | line="1968">a #GObject</doc> | |
| 7281 | 8719 | <type name="Object" c:type="GObject*"/> | |
| 7282 | 8720 | </parameter> | |
| 7283 | 8721 | <parameter name="pspec" transfer-ownership="none"> | |
| @@ -7287,8 +8725,17 @@ implementation and should never be accessed directly.</doc> | |||
| 7287 | 8725 | </callback> | |
| 7288 | 8726 | </field> | |
| 7289 | 8727 | <field name="constructed"> | |
| 8728 | + | <doc xml:space="preserve" | |
| 8729 | + | filename="gobject/gobject.h" | |
| 8730 | + | line="287">the @constructed function is called by g_object_new() as the | |
| 8731 | + | final step of the object creation process. At the point of the call, all | |
| 8732 | + | construction properties have been set on the object. The purpose of this | |
| 8733 | + | call is to allow for object initialisation steps that can only be performed | |
| 8734 | + | after construction properties have been set. @constructed implementors | |
| 8735 | + | should chain up to the @constructed call of their parent class to allow it | |
| 8736 | + | to complete its initialisation.</doc> | |
| 7290 | 8737 | <callback name="constructed"> | |
| 7291 | - | <source-position filename="gobject.h" line="367"/> | |
| 8738 | + | <source-position filename="gobject/gobject.h" line="354"/> | |
| 7292 | 8739 | <return-value transfer-ownership="none"> | |
| 7293 | 8740 | <type name="none" c:type="void"/> | |
| 7294 | 8741 | </return-value> | |
| @@ -7302,16 +8749,25 @@ implementation and should never be accessed directly.</doc> | |||
| 7302 | 8749 | <field name="flags" readable="0" private="1"> | |
| 7303 | 8750 | <type name="gsize" c:type="gsize"/> | |
| 7304 | 8751 | </field> | |
| 8752 | + | <field name="n_construct_properties" readable="0" private="1"> | |
| 8753 | + | <type name="gsize" c:type="gsize"/> | |
| 8754 | + | </field> | |
| 8755 | + | <field name="pspecs" readable="0" private="1"> | |
| 8756 | + | <type name="gpointer" c:type="gpointer"/> | |
| 8757 | + | </field> | |
| 8758 | + | <field name="n_pspecs" readable="0" private="1"> | |
| 8759 | + | <type name="gsize" c:type="gsize"/> | |
| 8760 | + | </field> | |
| 7305 | 8761 | <field name="pdummy" readable="0" private="1"> | |
| 7306 | - | <array zero-terminated="0" fixed-size="6"> | |
| 8762 | + | <array zero-terminated="0" fixed-size="3"> | |
| 7307 | 8763 | <type name="gpointer" c:type="gpointer"/> | |
| 7308 | 8764 | </array> | |
| 7309 | 8765 | </field> | |
| 7310 | 8766 | </record> | |
| 7311 | 8767 | <callback name="InstanceInitFunc" c:type="GInstanceInitFunc"> | |
| 7312 | 8768 | <doc xml:space="preserve" | |
| 7313 | - | filename="gtype.h" | |
| 7314 | - | line="931">A callback function used by the type system to initialize a new | |
| 8769 | + | filename="gobject/gtype.h" | |
| 8770 | + | line="966">A callback function used by the type system to initialize a new | |
| 7315 | 8771 | instance of a type. | |
| 7316 | 8772 | ||
| 7317 | 8773 | This function initializes all instance members and allocates any resources | |
| @@ -7324,21 +8780,21 @@ belongs to the type the current initializer was introduced for. | |||
| 7324 | 8780 | ||
| 7325 | 8781 | The extended members of @instance are guaranteed to have been filled with | |
| 7326 | 8782 | zeros before this function is called.</doc> | |
| 7327 | - | <source-position filename="gtype.h" line="951"/> | |
| 8783 | + | <source-position filename="gobject/gtype.h" line="986"/> | |
| 7328 | 8784 | <return-value transfer-ownership="none"> | |
| 7329 | 8785 | <type name="none" c:type="void"/> | |
| 7330 | 8786 | </return-value> | |
| 7331 | 8787 | <parameters> | |
| 7332 | 8788 | <parameter name="instance" transfer-ownership="none"> | |
| 7333 | 8789 | <doc xml:space="preserve" | |
| 7334 | - | filename="gtype.h" | |
| 7335 | - | line="933">The instance to initialize</doc> | |
| 8790 | + | filename="gobject/gtype.h" | |
| 8791 | + | line="968">The instance to initialize</doc> | |
| 7336 | 8792 | <type name="TypeInstance" c:type="GTypeInstance*"/> | |
| 7337 | 8793 | </parameter> | |
| 7338 | 8794 | <parameter name="g_class" transfer-ownership="none"> | |
| 7339 | 8795 | <doc xml:space="preserve" | |
| 7340 | - | filename="gtype.h" | |
| 7341 | - | line="934">The class of the type the instance is | |
| 8796 | + | filename="gobject/gtype.h" | |
| 8797 | + | line="969">The class of the type the instance is | |
| 7342 | 8798 | created for</doc> | |
| 7343 | 8799 | <type name="TypeClass" c:type="gpointer"/> | |
| 7344 | 8800 | </parameter> | |
| @@ -7346,20 +8802,20 @@ zeros before this function is called.</doc> | |||
| 7346 | 8802 | </callback> | |
| 7347 | 8803 | <callback name="InterfaceFinalizeFunc" c:type="GInterfaceFinalizeFunc"> | |
| 7348 | 8804 | <doc xml:space="preserve" | |
| 7349 | - | filename="gtype.h" | |
| 7350 | - | line="969">A callback function used by the type system to finalize an interface. | |
| 8805 | + | filename="gobject/gtype.h" | |
| 8806 | + | line="1004">A callback function used by the type system to finalize an interface. | |
| 7351 | 8807 | ||
| 7352 | 8808 | This function should destroy any internal data and release any resources | |
| 7353 | 8809 | allocated by the corresponding GInterfaceInitFunc() function.</doc> | |
| 7354 | - | <source-position filename="gtype.h" line="979"/> | |
| 8810 | + | <source-position filename="gobject/gtype.h" line="1014"/> | |
| 7355 | 8811 | <return-value transfer-ownership="none"> | |
| 7356 | 8812 | <type name="none" c:type="void"/> | |
| 7357 | 8813 | </return-value> | |
| 7358 | 8814 | <parameters> | |
| 7359 | 8815 | <parameter name="g_iface" transfer-ownership="none"> | |
| 7360 | 8816 | <doc xml:space="preserve" | |
| 7361 | - | filename="gtype.h" | |
| 7362 | - | line="971">The interface structure to finalize</doc> | |
| 8817 | + | filename="gobject/gtype.h" | |
| 8818 | + | line="1006">The interface structure to finalize</doc> | |
| 7363 | 8819 | <type name="TypeInterface" c:type="gpointer"/> | |
| 7364 | 8820 | </parameter> | |
| 7365 | 8821 | <parameter name="iface_data" | |
| @@ -7367,41 +8823,41 @@ allocated by the corresponding GInterfaceInitFunc() function.</doc> | |||
| 7367 | 8823 | nullable="1" | |
| 7368 | 8824 | allow-none="1"> | |
| 7369 | 8825 | <doc xml:space="preserve" | |
| 7370 | - | filename="gtype.h" | |
| 7371 | - | line="972">The @interface_data supplied via the #GInterfaceInfo structure</doc> | |
| 8826 | + | filename="gobject/gtype.h" | |
| 8827 | + | line="1007">The @interface_data supplied via the #GInterfaceInfo structure</doc> | |
| 7372 | 8828 | <type name="gpointer" c:type="gpointer"/> | |
| 7373 | 8829 | </parameter> | |
| 7374 | 8830 | </parameters> | |
| 7375 | 8831 | </callback> | |
| 7376 | 8832 | <record name="InterfaceInfo" c:type="GInterfaceInfo"> | |
| 7377 | 8833 | <doc xml:space="preserve" | |
| 7378 | - | filename="gtype.h" | |
| 7379 | - | line="1115">A structure that provides information to the type system which is | |
| 8834 | + | filename="gobject/gtype.h" | |
| 8835 | + | line="1158">A structure that provides information to the type system which is | |
| 7380 | 8836 | used specifically for managing interface types.</doc> | |
| 7381 | - | <source-position filename="gtype.h" line="1129"/> | |
| 8837 | + | <source-position filename="gobject/gtype.h" line="1172"/> | |
| 7382 | 8838 | <field name="interface_init" writable="1"> | |
| 7383 | 8839 | <doc xml:space="preserve" | |
| 7384 | - | filename="gtype.h" | |
| 7385 | - | line="1117">location of the interface initialization function</doc> | |
| 8840 | + | filename="gobject/gtype.h" | |
| 8841 | + | line="1160">location of the interface initialization function</doc> | |
| 7386 | 8842 | <type name="InterfaceInitFunc" c:type="GInterfaceInitFunc"/> | |
| 7387 | 8843 | </field> | |
| 7388 | 8844 | <field name="interface_finalize" writable="1"> | |
| 7389 | 8845 | <doc xml:space="preserve" | |
| 7390 | - | filename="gtype.h" | |
| 7391 | - | line="1118">location of the interface finalization function</doc> | |
| 8846 | + | filename="gobject/gtype.h" | |
| 8847 | + | line="1161">location of the interface finalization function</doc> | |
| 7392 | 8848 | <type name="InterfaceFinalizeFunc" c:type="GInterfaceFinalizeFunc"/> | |
| 7393 | 8849 | </field> | |
| 7394 | 8850 | <field name="interface_data" writable="1"> | |
| 7395 | 8851 | <doc xml:space="preserve" | |
| 7396 | - | filename="gtype.h" | |
| 7397 | - | line="1119">user-supplied data passed to the interface init/finalize functions</doc> | |
| 8852 | + | filename="gobject/gtype.h" | |
| 8853 | + | line="1162">user-supplied data passed to the interface init/finalize functions</doc> | |
| 7398 | 8854 | <type name="gpointer" c:type="gpointer"/> | |
| 7399 | 8855 | </field> | |
| 7400 | 8856 | </record> | |
| 7401 | 8857 | <callback name="InterfaceInitFunc" c:type="GInterfaceInitFunc"> | |
| 7402 | 8858 | <doc xml:space="preserve" | |
| 7403 | - | filename="gtype.h" | |
| 7404 | - | line="953">A callback function used by the type system to initialize a new | |
| 8859 | + | filename="gobject/gtype.h" | |
| 8860 | + | line="988">A callback function used by the type system to initialize a new | |
| 7405 | 8861 | interface. | |
| 7406 | 8862 | ||
| 7407 | 8863 | This function should initialize all internal data and* allocate any | |
| @@ -7409,15 +8865,15 @@ resources required by the interface. | |||
| 7409 | 8865 | ||
| 7410 | 8866 | The members of @iface_data are guaranteed to have been filled with | |
| 7411 | 8867 | zeros before this function is called.</doc> | |
| 7412 | - | <source-position filename="gtype.h" line="967"/> | |
| 8868 | + | <source-position filename="gobject/gtype.h" line="1002"/> | |
| 7413 | 8869 | <return-value transfer-ownership="none"> | |
| 7414 | 8870 | <type name="none" c:type="void"/> | |
| 7415 | 8871 | </return-value> | |
| 7416 | 8872 | <parameters> | |
| 7417 | 8873 | <parameter name="g_iface" transfer-ownership="none"> | |
| 7418 | 8874 | <doc xml:space="preserve" | |
| 7419 | - | filename="gtype.h" | |
| 7420 | - | line="955">The interface structure to initialize</doc> | |
| 8875 | + | filename="gobject/gtype.h" | |
| 8876 | + | line="990">The interface structure to initialize</doc> | |
| 7421 | 8877 | <type name="TypeInterface" c:type="gpointer"/> | |
| 7422 | 8878 | </parameter> | |
| 7423 | 8879 | <parameter name="iface_data" | |
| @@ -7425,25 +8881,55 @@ zeros before this function is called.</doc> | |||
| 7425 | 8881 | nullable="1" | |
| 7426 | 8882 | allow-none="1"> | |
| 7427 | 8883 | <doc xml:space="preserve" | |
| 7428 | - | filename="gtype.h" | |
| 7429 | - | line="956">The @interface_data supplied via the #GInterfaceInfo structure</doc> | |
| 8884 | + | filename="gobject/gtype.h" | |
| 8885 | + | line="991">The @interface_data supplied via the #GInterfaceInfo structure</doc> | |
| 7430 | 8886 | <type name="gpointer" c:type="gpointer"/> | |
| 7431 | 8887 | </parameter> | |
| 7432 | 8888 | </parameters> | |
| 7433 | 8889 | </callback> | |
| 8890 | + | <glib:boxed glib:name="KeyFile" | |
| 8891 | + | c:symbol-prefix="key_file" | |
| 8892 | + | glib:type-name="GKeyFile" | |
| 8893 | + | glib:get-type="g_key_file_get_type"> | |
| 8894 | + | </glib:boxed> | |
| 8895 | + | <glib:boxed glib:name="MainContext" | |
| 8896 | + | c:symbol-prefix="main_context" | |
| 8897 | + | glib:type-name="GMainContext" | |
| 8898 | + | glib:get-type="g_main_context_get_type"> | |
| 8899 | + | </glib:boxed> | |
| 8900 | + | <glib:boxed glib:name="MainLoop" | |
| 8901 | + | c:symbol-prefix="main_loop" | |
| 8902 | + | glib:type-name="GMainLoop" | |
| 8903 | + | glib:get-type="g_main_loop_get_type"> | |
| 8904 | + | </glib:boxed> | |
| 8905 | + | <glib:boxed glib:name="MappedFile" | |
| 8906 | + | c:symbol-prefix="mapped_file" | |
| 8907 | + | glib:type-name="GMappedFile" | |
| 8908 | + | glib:get-type="g_mapped_file_get_type"> | |
| 8909 | + | </glib:boxed> | |
| 8910 | + | <glib:boxed glib:name="MarkupParseContext" | |
| 8911 | + | c:symbol-prefix="markup_parse_context" | |
| 8912 | + | glib:type-name="GMarkupParseContext" | |
| 8913 | + | glib:get-type="g_markup_parse_context_get_type"> | |
| 8914 | + | </glib:boxed> | |
| 8915 | + | <glib:boxed glib:name="MatchInfo" | |
| 8916 | + | c:symbol-prefix="match_info" | |
| 8917 | + | glib:type-name="GMatchInfo" | |
| 8918 | + | glib:get-type="g_match_info_get_type"> | |
| 8919 | + | </glib:boxed> | |
| 7434 | 8920 | <function-macro name="OBJECT" c:identifier="G_OBJECT" introspectable="0"> | |
| 7435 | 8921 | <doc xml:space="preserve" | |
| 7436 | - | filename="gobject.h" | |
| 7437 | - | line="43">Casts a #GObject or derived pointer into a (GObject*) pointer. | |
| 8922 | + | filename="gobject/gobject.h" | |
| 8923 | + | line="45">Casts a #GObject or derived pointer into a (GObject*) pointer. | |
| 7438 | 8924 | ||
| 7439 | 8925 | Depending on the current debugging level, this function may invoke | |
| 7440 | 8926 | certain runtime checks to identify invalid casts.</doc> | |
| 7441 | - | <source-position filename="gobject.h" line="52"/> | |
| 8927 | + | <source-position filename="gobject/gobject.h" line="54"/> | |
| 7442 | 8928 | <parameters> | |
| 7443 | 8929 | <parameter name="object"> | |
| 7444 | 8930 | <doc xml:space="preserve" | |
| 7445 | - | filename="gobject.h" | |
| 7446 | - | line="45">Object which is subject to casting.</doc> | |
| 8931 | + | filename="gobject/gobject.h" | |
| 8932 | + | line="47">Object which is subject to casting.</doc> | |
| 7447 | 8933 | </parameter> | |
| 7448 | 8934 | </parameters> | |
| 7449 | 8935 | </function-macro> | |
| @@ -7451,14 +8937,14 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 7451 | 8937 | c:identifier="G_OBJECT_CLASS" | |
| 7452 | 8938 | introspectable="0"> | |
| 7453 | 8939 | <doc xml:space="preserve" | |
| 7454 | - | filename="gobject.h" | |
| 7455 | - | line="53">Casts a derived #GObjectClass structure into a #GObjectClass structure.</doc> | |
| 7456 | - | <source-position filename="gobject.h" line="59"/> | |
| 8940 | + | filename="gobject/gobject.h" | |
| 8941 | + | line="55">Casts a derived #GObjectClass structure into a #GObjectClass structure.</doc> | |
| 8942 | + | <source-position filename="gobject/gobject.h" line="61"/> | |
| 7457 | 8943 | <parameters> | |
| 7458 | 8944 | <parameter name="class"> | |
| 7459 | 8945 | <doc xml:space="preserve" | |
| 7460 | - | filename="gobject.h" | |
| 7461 | - | line="55">a valid #GObjectClass</doc> | |
| 8946 | + | filename="gobject/gobject.h" | |
| 8947 | + | line="57">a valid #GObjectClass</doc> | |
| 7462 | 8948 | </parameter> | |
| 7463 | 8949 | </parameters> | |
| 7464 | 8950 | </function-macro> | |
| @@ -7466,14 +8952,14 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 7466 | 8952 | c:identifier="G_OBJECT_CLASS_NAME" | |
| 7467 | 8953 | introspectable="0"> | |
| 7468 | 8954 | <doc xml:space="preserve" | |
| 7469 | - | filename="gobject.h" | |
| 7470 | - | line="116">Return the name of a class structure's type.</doc> | |
| 7471 | - | <source-position filename="gobject.h" line="125"/> | |
| 8955 | + | filename="gobject/gobject.h" | |
| 8956 | + | line="118">Return the name of a class structure's type.</doc> | |
| 8957 | + | <source-position filename="gobject/gobject.h" line="127"/> | |
| 7472 | 8958 | <parameters> | |
| 7473 | 8959 | <parameter name="class"> | |
| 7474 | 8960 | <doc xml:space="preserve" | |
| 7475 | - | filename="gobject.h" | |
| 7476 | - | line="118">a valid #GObjectClass</doc> | |
| 8961 | + | filename="gobject/gobject.h" | |
| 8962 | + | line="120">a valid #GObjectClass</doc> | |
| 7477 | 8963 | </parameter> | |
| 7478 | 8964 | </parameters> | |
| 7479 | 8965 | </function-macro> | |
| @@ -7481,14 +8967,14 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 7481 | 8967 | c:identifier="G_OBJECT_CLASS_TYPE" | |
| 7482 | 8968 | introspectable="0"> | |
| 7483 | 8969 | <doc xml:space="preserve" | |
| 7484 | - | filename="gobject.h" | |
| 7485 | - | line="107">Get the type id of a class structure.</doc> | |
| 7486 | - | <source-position filename="gobject.h" line="115"/> | |
| 8970 | + | filename="gobject/gobject.h" | |
| 8971 | + | line="109">Get the type id of a class structure.</doc> | |
| 8972 | + | <source-position filename="gobject/gobject.h" line="117"/> | |
| 7487 | 8973 | <parameters> | |
| 7488 | 8974 | <parameter name="class"> | |
| 7489 | 8975 | <doc xml:space="preserve" | |
| 7490 | - | filename="gobject.h" | |
| 7491 | - | line="109">a valid #GObjectClass</doc> | |
| 8976 | + | filename="gobject/gobject.h" | |
| 8977 | + | line="111">a valid #GObjectClass</doc> | |
| 7492 | 8978 | </parameter> | |
| 7493 | 8979 | </parameters> | |
| 7494 | 8980 | </function-macro> | |
| @@ -7496,14 +8982,14 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 7496 | 8982 | c:identifier="G_OBJECT_GET_CLASS" | |
| 7497 | 8983 | introspectable="0"> | |
| 7498 | 8984 | <doc xml:space="preserve" | |
| 7499 | - | filename="gobject.h" | |
| 7500 | - | line="79">Get the class structure associated to a #GObject instance.</doc> | |
| 7501 | - | <source-position filename="gobject.h" line="87"/> | |
| 8985 | + | filename="gobject/gobject.h" | |
| 8986 | + | line="81">Get the class structure associated to a #GObject instance.</doc> | |
| 8987 | + | <source-position filename="gobject/gobject.h" line="89"/> | |
| 7502 | 8988 | <parameters> | |
| 7503 | 8989 | <parameter name="object"> | |
| 7504 | 8990 | <doc xml:space="preserve" | |
| 7505 | - | filename="gobject.h" | |
| 7506 | - | line="81">a #GObject instance.</doc> | |
| 8991 | + | filename="gobject/gobject.h" | |
| 8992 | + | line="83">a #GObject instance.</doc> | |
| 7507 | 8993 | </parameter> | |
| 7508 | 8994 | </parameters> | |
| 7509 | 8995 | </function-macro> | |
| @@ -7511,14 +8997,14 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 7511 | 8997 | c:identifier="G_OBJECT_TYPE" | |
| 7512 | 8998 | introspectable="0"> | |
| 7513 | 8999 | <doc xml:space="preserve" | |
| 7514 | - | filename="gobject.h" | |
| 7515 | - | line="88">Get the type id of an object.</doc> | |
| 7516 | - | <source-position filename="gobject.h" line="96"/> | |
| 9000 | + | filename="gobject/gobject.h" | |
| 9001 | + | line="90">Get the type id of an object.</doc> | |
| 9002 | + | <source-position filename="gobject/gobject.h" line="98"/> | |
| 7517 | 9003 | <parameters> | |
| 7518 | 9004 | <parameter name="object"> | |
| 7519 | 9005 | <doc xml:space="preserve" | |
| 7520 | - | filename="gobject.h" | |
| 7521 | - | line="90">Object to return the type id for.</doc> | |
| 9006 | + | filename="gobject/gobject.h" | |
| 9007 | + | line="92">Object to return the type id for.</doc> | |
| 7522 | 9008 | </parameter> | |
| 7523 | 9009 | </parameters> | |
| 7524 | 9010 | </function-macro> | |
| @@ -7526,14 +9012,14 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 7526 | 9012 | c:identifier="G_OBJECT_TYPE_NAME" | |
| 7527 | 9013 | introspectable="0"> | |
| 7528 | 9014 | <doc xml:space="preserve" | |
| 7529 | - | filename="gobject.h" | |
| 7530 | - | line="97">Get the name of an object's type.</doc> | |
| 7531 | - | <source-position filename="gobject.h" line="106"/> | |
| 9015 | + | filename="gobject/gobject.h" | |
| 9016 | + | line="99">Get the name of an object's type.</doc> | |
| 9017 | + | <source-position filename="gobject/gobject.h" line="108"/> | |
| 7532 | 9018 | <parameters> | |
| 7533 | 9019 | <parameter name="object"> | |
| 7534 | 9020 | <doc xml:space="preserve" | |
| 7535 | - | filename="gobject.h" | |
| 7536 | - | line="99">Object to return the type name for.</doc> | |
| 9021 | + | filename="gobject/gobject.h" | |
| 9022 | + | line="101">Object to return the type name for.</doc> | |
| 7537 | 9023 | </parameter> | |
| 7538 | 9024 | </parameters> | |
| 7539 | 9025 | </function-macro> | |
| @@ -7541,32 +9027,32 @@ certain runtime checks to identify invalid casts.</doc> | |||
| 7541 | 9027 | c:identifier="G_OBJECT_WARN_INVALID_PROPERTY_ID" | |
| 7542 | 9028 | introspectable="0"> | |
| 7543 | 9029 | <doc xml:space="preserve" | |
| 7544 | - | filename="gobject.h" | |
| 7545 | - | line="689">This macro should be used to emit a standard warning about unexpected | |
| 9030 | + | filename="gobject/gobject.h" | |
| 9031 | + | line="681">This macro should be used to emit a standard warning about unexpected | |
| 7546 | 9032 | properties in set_property() and get_property() implementations.</doc> | |
| 7547 | - | <source-position filename="gobject.h" line="698"/> | |
| 9033 | + | <source-position filename="gobject/gobject.h" line="690"/> | |
| 7548 | 9034 | <parameters> | |
| 7549 | 9035 | <parameter name="object"> | |
| 7550 | 9036 | <doc xml:space="preserve" | |
| 7551 | - | filename="gobject.h" | |
| 7552 | - | line="691">the #GObject on which set_property() or get_property() was called</doc> | |
| 9037 | + | filename="gobject/gobject.h" | |
| 9038 | + | line="683">the #GObject on which set_property() or get_property() was called</doc> | |
| 7553 | 9039 | </parameter> | |
| 7554 | 9040 | <parameter name="property_id"> | |
| 7555 | 9041 | <doc xml:space="preserve" | |
| 7556 | - | filename="gobject.h" | |
| 7557 | - | line="692">the numeric id of the property</doc> | |
| 9042 | + | filename="gobject/gobject.h" | |
| 9043 | + | line="684">the numeric id of the property</doc> | |
| 7558 | 9044 | </parameter> | |
| 7559 | 9045 | <parameter name="pspec"> | |
| 7560 | 9046 | <doc xml:space="preserve" | |
| 7561 | - | filename="gobject.h" | |
| 7562 | - | line="693">the #GParamSpec of the property</doc> | |
| 9047 | + | filename="gobject/gobject.h" | |
| 9048 | + | line="685">the #GParamSpec of the property</doc> | |
| 7563 | 9049 | </parameter> | |
| 7564 | 9050 | </parameters> | |
| 7565 | 9051 | </function-macro> | |
| 7566 | 9052 | <function-macro name="OBJECT_WARN_INVALID_PSPEC" | |
| 7567 | 9053 | c:identifier="G_OBJECT_WARN_INVALID_PSPEC" | |
| 7568 | 9054 | introspectable="0"> | |
| 7569 | - | <source-position filename="gobject.h" line="676"/> | |
| 9055 | + | <source-position filename="gobject/gobject.h" line="668"/> | |
| 7570 | 9056 | <parameters> | |
| 7571 | 9057 | <parameter name="object"> | |
| 7572 | 9058 | </parameter> | |
| @@ -7585,24 +9071,34 @@ properties in set_property() and get_property() implementations.</doc> | |||
| 7585 | 9071 | glib:get-type="g_object_get_type" | |
| 7586 | 9072 | glib:type-struct="ObjectClass"> | |
| 7587 | 9073 | <doc xml:space="preserve" | |
| 7588 | - | filename="gobject.h" | |
| 7589 | - | line="249">The base object type. | |
| 7590 | - | ||
| 7591 | - | All the fields in the `GObject` structure are private to the implementation | |
| 7592 | - | and should never be accessed directly. | |
| 9074 | + | filename="gobject/gobject.c" | |
| 9075 | + | line="40">The base object type. | |
| 7593 | 9076 | ||
| 7594 | - | Since GLib 2.72, all #GObjects are guaranteed to be aligned to at least the | |
| 7595 | - | alignment of the largest basic GLib type (typically this is #guint64 or | |
| 7596 | - | #gdouble). If you need larger alignment for an element in a #GObject, you | |
| 7597 | - | should allocate it on the heap (aligned), or arrange for your #GObject to be | |
| 7598 | - | appropriately padded. This guarantee applies to the #GObject (or derived) | |
| 7599 | - | struct, the #GObjectClass (or derived) struct, and any private data allocated | |
| 7600 | - | by G_ADD_PRIVATE().</doc> | |
| 7601 | - | <source-position filename="gobject.h" line="374"/> | |
| 9077 | + | `GObject` is the fundamental type providing the common attributes and | |
| 9078 | + | methods for all object types in GTK, Pango and other libraries | |
| 9079 | + | based on GObject. The `GObject` class provides methods for object | |
| 9080 | + | construction and destruction, property access methods, and signal | |
| 9081 | + | support. Signals are described in detail [here][gobject-Signals]. | |
| 9082 | + | ||
| 9083 | + | For a tutorial on implementing a new `GObject` class, see [How to define and | |
| 9084 | + | implement a new GObject](tutorial.html#how-to-define-and-implement-a-new-gobject). | |
| 9085 | + | For a list of naming conventions for GObjects and their methods, see the | |
| 9086 | + | [GType conventions](concepts.html#conventions). For the high-level concepts | |
| 9087 | + | behind GObject, read | |
| 9088 | + | [Instantiatable classed types: Objects](concepts.html#instantiatable-classed-types-objects). | |
| 9089 | + | ||
| 9090 | + | Since GLib 2.72, all `GObject`s are guaranteed to be aligned to at least the | |
| 9091 | + | alignment of the largest basic GLib type (typically this is `guint64` or | |
| 9092 | + | `gdouble`). If you need larger alignment for an element in a `GObject`, you | |
| 9093 | + | should allocate it on the heap (aligned), or arrange for your `GObject` to be | |
| 9094 | + | appropriately padded. This guarantee applies to the `GObject` (or derived) | |
| 9095 | + | struct, the `GObjectClass` (or derived) struct, and any private data allocated | |
| 9096 | + | by `G_ADD_PRIVATE()`.</doc> | |
| 9097 | + | <source-position filename="gobject/gobject.h" line="366"/> | |
| 7602 | 9098 | <constructor name="new" c:identifier="g_object_new" introspectable="0"> | |
| 7603 | 9099 | <doc xml:space="preserve" | |
| 7604 | - | filename="gobject-2.0.c" | |
| 7605 | - | line="3327">Creates a new instance of a #GObject subtype and sets its properties. | |
| 9100 | + | filename="gobject/gobject.c" | |
| 9101 | + | line="2391">Creates a new instance of a #GObject subtype and sets its properties. | |
| 7606 | 9102 | ||
| 7607 | 9103 | Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 7608 | 9104 | which are not explicitly specified are set to their default values. Any | |
| @@ -7610,50 +9106,50 @@ private data for the object is guaranteed to be initialized with zeros, as | |||
| 7610 | 9106 | per g_type_create_instance(). | |
| 7611 | 9107 | ||
| 7612 | 9108 | Note that in C, small integer types in variable argument lists are promoted | |
| 7613 | - | up to #gint or #guint as appropriate, and read back accordingly. #gint is 32 | |
| 7614 | - | bits on every platform on which GLib is currently supported. This means that | |
| 7615 | - | you can use C expressions of type #gint with g_object_new() and properties of | |
| 7616 | - | type #gint or #guint or smaller. Specifically, you can use integer literals | |
| 9109 | + | up to `gint` or `guint` as appropriate, and read back accordingly. `gint` is | |
| 9110 | + | 32 bits on every platform on which GLib is currently supported. This means that | |
| 9111 | + | you can use C expressions of type `gint` with g_object_new() and properties of | |
| 9112 | + | type `gint` or `guint` or smaller. Specifically, you can use integer literals | |
| 7617 | 9113 | with these property types. | |
| 7618 | 9114 | ||
| 7619 | - | When using property types of #gint64 or #guint64, you must ensure that the | |
| 9115 | + | When using property types of `gint64` or `guint64`, you must ensure that the | |
| 7620 | 9116 | value that you provide is 64 bit. This means that you should use a cast or | |
| 7621 | 9117 | make use of the %G_GINT64_CONSTANT or %G_GUINT64_CONSTANT macros. | |
| 7622 | 9118 | ||
| 7623 | - | Similarly, #gfloat is promoted to #gdouble, so you must ensure that the value | |
| 7624 | - | you provide is a #gdouble, even for a property of type #gfloat. | |
| 9119 | + | Similarly, `gfloat` is promoted to `gdouble`, so you must ensure that the value | |
| 9120 | + | you provide is a `gdouble`, even for a property of type `gfloat`. | |
| 7625 | 9121 | ||
| 7626 | 9122 | Since GLib 2.72, all #GObjects are guaranteed to be aligned to at least the | |
| 7627 | - | alignment of the largest basic GLib type (typically this is #guint64 or | |
| 7628 | - | #gdouble). If you need larger alignment for an element in a #GObject, you | |
| 9123 | + | alignment of the largest basic GLib type (typically this is `guint64` or | |
| 9124 | + | `gdouble`). If you need larger alignment for an element in a #GObject, you | |
| 7629 | 9125 | should allocate it on the heap (aligned), or arrange for your #GObject to be | |
| 7630 | 9126 | appropriately padded.</doc> | |
| 7631 | - | <source-position filename="gobject.h" line="440"/> | |
| 9127 | + | <source-position filename="gobject/gobject.h" line="432"/> | |
| 7632 | 9128 | <return-value transfer-ownership="full"> | |
| 7633 | 9129 | <doc xml:space="preserve" | |
| 7634 | - | filename="gobject-2.0.c" | |
| 7635 | - | line="3361">a new instance of | |
| 9130 | + | filename="gobject/gobject.c" | |
| 9131 | + | line="2425">a new instance of | |
| 7636 | 9132 | @object_type</doc> | |
| 7637 | 9133 | <type name="Object" c:type="gpointer"/> | |
| 7638 | 9134 | </return-value> | |
| 7639 | 9135 | <parameters> | |
| 7640 | 9136 | <parameter name="object_type" transfer-ownership="none"> | |
| 7641 | 9137 | <doc xml:space="preserve" | |
| 7642 | - | filename="gobject-2.0.c" | |
| 7643 | - | line="3329">the type id of the #GObject subtype to instantiate</doc> | |
| 9138 | + | filename="gobject/gobject.c" | |
| 9139 | + | line="2393">the type id of the #GObject subtype to instantiate</doc> | |
| 7644 | 9140 | <type name="GType" c:type="GType"/> | |
| 7645 | 9141 | </parameter> | |
| 7646 | 9142 | <parameter name="first_property_name" transfer-ownership="none"> | |
| 7647 | 9143 | <doc xml:space="preserve" | |
| 7648 | - | filename="gobject-2.0.c" | |
| 7649 | - | line="3330">the name of the first property</doc> | |
| 9144 | + | filename="gobject/gobject.c" | |
| 9145 | + | line="2394">the name of the first property</doc> | |
| 7650 | 9146 | <type name="utf8" c:type="const gchar*"/> | |
| 7651 | 9147 | </parameter> | |
| 7652 | 9148 | <parameter name="..." transfer-ownership="none"> | |
| 7653 | 9149 | <doc xml:space="preserve" | |
| 7654 | - | filename="gobject-2.0.c" | |
| 7655 | - | line="3331">the value of the first property, followed optionally by more | |
| 7656 | - | name/value pairs, followed by %NULL</doc> | |
| 9150 | + | filename="gobject/gobject.c" | |
| 9151 | + | line="2395">the value of the first property, followed optionally by more | |
| 9152 | + | name/value pairs, followed by %NULL</doc> | |
| 7657 | 9153 | <varargs/> | |
| 7658 | 9154 | </parameter> | |
| 7659 | 9155 | </parameters> | |
| @@ -7662,35 +9158,35 @@ appropriately padded.</doc> | |||
| 7662 | 9158 | c:identifier="g_object_new_valist" | |
| 7663 | 9159 | introspectable="0"> | |
| 7664 | 9160 | <doc xml:space="preserve" | |
| 7665 | - | filename="gobject-2.0.c" | |
| 7666 | - | line="3366">Creates a new instance of a #GObject subtype and sets its properties. | |
| 9161 | + | filename="gobject/gobject.c" | |
| 9162 | + | line="2870">Creates a new instance of a #GObject subtype and sets its properties. | |
| 7667 | 9163 | ||
| 7668 | 9164 | Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 7669 | 9165 | which are not explicitly specified are set to their default values.</doc> | |
| 7670 | - | <source-position filename="gobject.h" line="459"/> | |
| 9166 | + | <source-position filename="gobject/gobject.h" line="451"/> | |
| 7671 | 9167 | <return-value transfer-ownership="full"> | |
| 7672 | 9168 | <doc xml:space="preserve" | |
| 7673 | - | filename="gobject-2.0.c" | |
| 7674 | - | line="3378">a new instance of @object_type</doc> | |
| 9169 | + | filename="gobject/gobject.c" | |
| 9170 | + | line="2882">a new instance of @object_type</doc> | |
| 7675 | 9171 | <type name="Object" c:type="GObject*"/> | |
| 7676 | 9172 | </return-value> | |
| 7677 | 9173 | <parameters> | |
| 7678 | 9174 | <parameter name="object_type" transfer-ownership="none"> | |
| 7679 | 9175 | <doc xml:space="preserve" | |
| 7680 | - | filename="gobject-2.0.c" | |
| 7681 | - | line="3368">the type id of the #GObject subtype to instantiate</doc> | |
| 9176 | + | filename="gobject/gobject.c" | |
| 9177 | + | line="2872">the type id of the #GObject subtype to instantiate</doc> | |
| 7682 | 9178 | <type name="GType" c:type="GType"/> | |
| 7683 | 9179 | </parameter> | |
| 7684 | 9180 | <parameter name="first_property_name" transfer-ownership="none"> | |
| 7685 | 9181 | <doc xml:space="preserve" | |
| 7686 | - | filename="gobject-2.0.c" | |
| 7687 | - | line="3369">the name of the first property</doc> | |
| 9182 | + | filename="gobject/gobject.c" | |
| 9183 | + | line="2873">the name of the first property</doc> | |
| 7688 | 9184 | <type name="utf8" c:type="const gchar*"/> | |
| 7689 | 9185 | </parameter> | |
| 7690 | 9186 | <parameter name="var_args" transfer-ownership="none"> | |
| 7691 | 9187 | <doc xml:space="preserve" | |
| 7692 | - | filename="gobject-2.0.c" | |
| 7693 | - | line="3370">the value of the first property, followed optionally by more | |
| 9188 | + | filename="gobject/gobject.c" | |
| 9189 | + | line="2874">the value of the first property, followed optionally by more | |
| 7694 | 9190 | name/value pairs, followed by %NULL</doc> | |
| 7695 | 9191 | <type name="va_list" c:type="va_list"/> | |
| 7696 | 9192 | </parameter> | |
| @@ -7701,46 +9197,46 @@ which are not explicitly specified are set to their default values.</doc> | |||
| 7701 | 9197 | version="2.54" | |
| 7702 | 9198 | introspectable="0"> | |
| 7703 | 9199 | <doc xml:space="preserve" | |
| 7704 | - | filename="gobject-2.0.c" | |
| 7705 | - | line="3382">Creates a new instance of a #GObject subtype and sets its properties using | |
| 9200 | + | filename="gobject/gobject.c" | |
| 9201 | + | line="2735">Creates a new instance of a #GObject subtype and sets its properties using | |
| 7706 | 9202 | the provided arrays. Both arrays must have exactly @n_properties elements, | |
| 7707 | 9203 | and the names and values correspond by index. | |
| 7708 | 9204 | ||
| 7709 | 9205 | Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 7710 | 9206 | which are not explicitly specified are set to their default values.</doc> | |
| 7711 | - | <source-position filename="gobject.h" line="444"/> | |
| 9207 | + | <source-position filename="gobject/gobject.h" line="436"/> | |
| 7712 | 9208 | <return-value transfer-ownership="full"> | |
| 7713 | 9209 | <doc xml:space="preserve" | |
| 7714 | - | filename="gobject-2.0.c" | |
| 7715 | - | line="3396">a new instance of | |
| 9210 | + | filename="gobject/gobject.c" | |
| 9211 | + | line="2749">a new instance of | |
| 7716 | 9212 | @object_type</doc> | |
| 7717 | 9213 | <type name="Object" c:type="GObject*"/> | |
| 7718 | 9214 | </return-value> | |
| 7719 | 9215 | <parameters> | |
| 7720 | 9216 | <parameter name="object_type" transfer-ownership="none"> | |
| 7721 | 9217 | <doc xml:space="preserve" | |
| 7722 | - | filename="gobject-2.0.c" | |
| 7723 | - | line="3384">the object type to instantiate</doc> | |
| 9218 | + | filename="gobject/gobject.c" | |
| 9219 | + | line="2737">the object type to instantiate</doc> | |
| 7724 | 9220 | <type name="GType" c:type="GType"/> | |
| 7725 | 9221 | </parameter> | |
| 7726 | 9222 | <parameter name="n_properties" transfer-ownership="none"> | |
| 7727 | 9223 | <doc xml:space="preserve" | |
| 7728 | - | filename="gobject-2.0.c" | |
| 7729 | - | line="3385">the number of properties</doc> | |
| 9224 | + | filename="gobject/gobject.c" | |
| 9225 | + | line="2738">the number of properties</doc> | |
| 7730 | 9226 | <type name="guint" c:type="guint"/> | |
| 7731 | 9227 | </parameter> | |
| 7732 | 9228 | <parameter name="names" transfer-ownership="none"> | |
| 7733 | 9229 | <doc xml:space="preserve" | |
| 7734 | - | filename="gobject-2.0.c" | |
| 7735 | - | line="3386">the names of each property to be set</doc> | |
| 9230 | + | filename="gobject/gobject.c" | |
| 9231 | + | line="2739">the names of each property to be set</doc> | |
| 7736 | 9232 | <array length="1" zero-terminated="0" c:type="const char**"> | |
| 7737 | 9233 | <type name="utf8" c:type="char*"/> | |
| 7738 | 9234 | </array> | |
| 7739 | 9235 | </parameter> | |
| 7740 | 9236 | <parameter name="values" transfer-ownership="none"> | |
| 7741 | 9237 | <doc xml:space="preserve" | |
| 7742 | - | filename="gobject-2.0.c" | |
| 7743 | - | line="3387">the values of each property to be set</doc> | |
| 9238 | + | filename="gobject/gobject.c" | |
| 9239 | + | line="2740">the values of each property to be set</doc> | |
| 7744 | 9240 | <array length="1" zero-terminated="0" c:type="const GValue*"> | |
| 7745 | 9241 | <type name="Value" c:type="GValue"/> | |
| 7746 | 9242 | </array> | |
| @@ -7752,38 +9248,38 @@ which are not explicitly specified are set to their default values.</doc> | |||
| 7752 | 9248 | deprecated="1" | |
| 7753 | 9249 | deprecated-version="2.54"> | |
| 7754 | 9250 | <doc xml:space="preserve" | |
| 7755 | - | filename="gobject-2.0.c" | |
| 7756 | - | line="3402">Creates a new instance of a #GObject subtype and sets its properties. | |
| 9251 | + | filename="gobject/gobject.c" | |
| 9252 | + | line="2800">Creates a new instance of a #GObject subtype and sets its properties. | |
| 7757 | 9253 | ||
| 7758 | 9254 | Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) | |
| 7759 | 9255 | which are not explicitly specified are set to their default values.</doc> | |
| 7760 | 9256 | <doc-deprecated xml:space="preserve">Use g_object_new_with_properties() instead. | |
| 7761 | 9257 | deprecated. See #GParameter for more information.</doc-deprecated> | |
| 7762 | - | <source-position filename="gobject.h" line="452"/> | |
| 9258 | + | <source-position filename="gobject/gobject.h" line="444"/> | |
| 7763 | 9259 | <return-value transfer-ownership="full"> | |
| 7764 | 9260 | <doc xml:space="preserve" | |
| 7765 | - | filename="gobject-2.0.c" | |
| 7766 | - | line="3413">a new instance of | |
| 9261 | + | filename="gobject/gobject.c" | |
| 9262 | + | line="2811">a new instance of | |
| 7767 | 9263 | @object_type</doc> | |
| 7768 | 9264 | <type name="Object" c:type="gpointer"/> | |
| 7769 | 9265 | </return-value> | |
| 7770 | 9266 | <parameters> | |
| 7771 | 9267 | <parameter name="object_type" transfer-ownership="none"> | |
| 7772 | 9268 | <doc xml:space="preserve" | |
| 7773 | - | filename="gobject-2.0.c" | |
| 7774 | - | line="3404">the type id of the #GObject subtype to instantiate</doc> | |
| 9269 | + | filename="gobject/gobject.c" | |
| 9270 | + | line="2802">the type id of the #GObject subtype to instantiate</doc> | |
| 7775 | 9271 | <type name="GType" c:type="GType"/> | |
| 7776 | 9272 | </parameter> | |
| 7777 | 9273 | <parameter name="n_parameters" transfer-ownership="none"> | |
| 7778 | 9274 | <doc xml:space="preserve" | |
| 7779 | - | filename="gobject-2.0.c" | |
| 7780 | - | line="3405">the length of the @parameters array</doc> | |
| 9275 | + | filename="gobject/gobject.c" | |
| 9276 | + | line="2803">the length of the @parameters array</doc> | |
| 7781 | 9277 | <type name="guint" c:type="guint"/> | |
| 7782 | 9278 | </parameter> | |
| 7783 | 9279 | <parameter name="parameters" transfer-ownership="none"> | |
| 7784 | 9280 | <doc xml:space="preserve" | |
| 7785 | - | filename="gobject-2.0.c" | |
| 7786 | - | line="3406">an array of #GParameter</doc> | |
| 9281 | + | filename="gobject/gobject.c" | |
| 9282 | + | line="2804">an array of #GParameter</doc> | |
| 7787 | 9283 | <array length="1" zero-terminated="0" c:type="GParameter*"> | |
| 7788 | 9284 | <type name="Parameter" c:type="GParameter"/> | |
| 7789 | 9285 | </array> | |
| @@ -7791,7 +9287,7 @@ deprecated. See #GParameter for more information.</doc-deprecated> | |||
| 7791 | 9287 | </parameters> | |
| 7792 | 9288 | </constructor> | |
| 7793 | 9289 | <function name="compat_control" c:identifier="g_object_compat_control"> | |
| 7794 | - | <source-position filename="gobject.h" line="672"/> | |
| 9290 | + | <source-position filename="gobject/gobject.h" line="664"/> | |
| 7795 | 9291 | <return-value transfer-ownership="none"> | |
| 7796 | 9292 | <type name="gsize" c:type="gsize"/> | |
| 7797 | 9293 | </return-value> | |
| @@ -7811,17 +9307,17 @@ deprecated. See #GParameter for more information.</doc-deprecated> | |||
| 7811 | 9307 | c:identifier="g_object_interface_find_property" | |
| 7812 | 9308 | version="2.4"> | |
| 7813 | 9309 | <doc xml:space="preserve" | |
| 7814 | - | filename="gobject-2.0.c" | |
| 7815 | - | line="3249">Find the #GParamSpec with the given name for an | |
| 9310 | + | filename="gobject/gobject.c" | |
| 9311 | + | line="1473">Find the #GParamSpec with the given name for an | |
| 7816 | 9312 | interface. Generally, the interface vtable passed in as @g_iface | |
| 7817 | 9313 | will be the default vtable from g_type_default_interface_ref(), or, | |
| 7818 | 9314 | if you know the interface has already been loaded, | |
| 7819 | 9315 | g_type_default_interface_peek().</doc> | |
| 7820 | - | <source-position filename="gobject.h" line="431"/> | |
| 9316 | + | <source-position filename="gobject/gobject.h" line="423"/> | |
| 7821 | 9317 | <return-value transfer-ownership="none"> | |
| 7822 | 9318 | <doc xml:space="preserve" | |
| 7823 | - | filename="gobject-2.0.c" | |
| 7824 | - | line="3262">the #GParamSpec for the property of the | |
| 9319 | + | filename="gobject/gobject.c" | |
| 9320 | + | line="1487">the #GParamSpec for the property of the | |
| 7825 | 9321 | interface with the name @property_name, or %NULL if no | |
| 7826 | 9322 | such property exists.</doc> | |
| 7827 | 9323 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| @@ -7829,15 +9325,15 @@ g_type_default_interface_peek().</doc> | |||
| 7829 | 9325 | <parameters> | |
| 7830 | 9326 | <parameter name="g_iface" transfer-ownership="none"> | |
| 7831 | 9327 | <doc xml:space="preserve" | |
| 7832 | - | filename="gobject-2.0.c" | |
| 7833 | - | line="3251">any interface vtable for the | |
| 9328 | + | filename="gobject/gobject.c" | |
| 9329 | + | line="1475">any interface vtable for the | |
| 7834 | 9330 | interface, or the default vtable for the interface</doc> | |
| 7835 | 9331 | <type name="TypeInterface" c:type="gpointer"/> | |
| 7836 | 9332 | </parameter> | |
| 7837 | 9333 | <parameter name="property_name" transfer-ownership="none"> | |
| 7838 | 9334 | <doc xml:space="preserve" | |
| 7839 | - | filename="gobject-2.0.c" | |
| 7840 | - | line="3253">name of a property to look up.</doc> | |
| 9335 | + | filename="gobject/gobject.c" | |
| 9336 | + | line="1477">name of a property to look up.</doc> | |
| 7841 | 9337 | <type name="utf8" c:type="const gchar*"/> | |
| 7842 | 9338 | </parameter> | |
| 7843 | 9339 | </parameters> | |
| @@ -7846,8 +9342,8 @@ g_type_default_interface_peek().</doc> | |||
| 7846 | 9342 | c:identifier="g_object_interface_install_property" | |
| 7847 | 9343 | version="2.4"> | |
| 7848 | 9344 | <doc xml:space="preserve" | |
| 7849 | - | filename="gobject-2.0.c" | |
| 7850 | - | line="3268">Add a property to an interface; this is only useful for interfaces | |
| 9345 | + | filename="gobject/gobject.c" | |
| 9346 | + | line="1393">Add a property to an interface; this is only useful for interfaces | |
| 7851 | 9347 | that are added to GObject-derived types. Adding a property to an | |
| 7852 | 9348 | interface forces all objects classes with that interface to have a | |
| 7853 | 9349 | compatible property. The compatible property could be a newly | |
| @@ -7863,23 +9359,23 @@ vtable initialization function (the @class_init member of | |||
| 7863 | 9359 | been called for any object types implementing this interface. | |
| 7864 | 9360 | ||
| 7865 | 9361 | If @pspec is a floating reference, it will be consumed.</doc> | |
| 7866 | - | <source-position filename="gobject.h" line="428"/> | |
| 9362 | + | <source-position filename="gobject/gobject.h" line="420"/> | |
| 7867 | 9363 | <return-value transfer-ownership="none"> | |
| 7868 | 9364 | <type name="none" c:type="void"/> | |
| 7869 | 9365 | </return-value> | |
| 7870 | 9366 | <parameters> | |
| 7871 | 9367 | <parameter name="g_iface" transfer-ownership="none"> | |
| 7872 | 9368 | <doc xml:space="preserve" | |
| 7873 | - | filename="gobject-2.0.c" | |
| 7874 | - | line="3270">any interface vtable for the | |
| 9369 | + | filename="gobject/gobject.c" | |
| 9370 | + | line="1395">any interface vtable for the | |
| 7875 | 9371 | interface, or the default | |
| 7876 | 9372 | vtable for the interface.</doc> | |
| 7877 | 9373 | <type name="TypeInterface" c:type="gpointer"/> | |
| 7878 | 9374 | </parameter> | |
| 7879 | 9375 | <parameter name="pspec" transfer-ownership="none"> | |
| 7880 | 9376 | <doc xml:space="preserve" | |
| 7881 | - | filename="gobject-2.0.c" | |
| 7882 | - | line="3273">the #GParamSpec for the new property</doc> | |
| 9377 | + | filename="gobject/gobject.c" | |
| 9378 | + | line="1398">the #GParamSpec for the new property</doc> | |
| 7883 | 9379 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 7884 | 9380 | </parameter> | |
| 7885 | 9381 | </parameters> | |
| @@ -7888,20 +9384,20 @@ If @pspec is a floating reference, it will be consumed.</doc> | |||
| 7888 | 9384 | c:identifier="g_object_interface_list_properties" | |
| 7889 | 9385 | version="2.4"> | |
| 7890 | 9386 | <doc xml:space="preserve" | |
| 7891 | - | filename="gobject-2.0.c" | |
| 7892 | - | line="3296">Lists the properties of an interface.Generally, the interface | |
| 9387 | + | filename="gobject/gobject.c" | |
| 9388 | + | line="1617">Lists the properties of an interface.Generally, the interface | |
| 7893 | 9389 | vtable passed in as @g_iface will be the default vtable from | |
| 7894 | 9390 | g_type_default_interface_ref(), or, if you know the interface has | |
| 7895 | 9391 | already been loaded, g_type_default_interface_peek().</doc> | |
| 7896 | - | <source-position filename="gobject.h" line="434"/> | |
| 9392 | + | <source-position filename="gobject/gobject.h" line="426"/> | |
| 7897 | 9393 | <return-value transfer-ownership="container"> | |
| 7898 | 9394 | <doc xml:space="preserve" | |
| 7899 | - | filename="gobject-2.0.c" | |
| 7900 | - | line="3308">a | |
| 7901 | - | pointer to an array of pointers to #GParamSpec | |
| 7902 | - | structures. The paramspecs are owned by GLib, but the | |
| 7903 | - | array should be freed with g_free() when you are done with | |
| 7904 | - | it.</doc> | |
| 9395 | + | filename="gobject/gobject.c" | |
| 9396 | + | line="1630">a | |
| 9397 | + | pointer to an array of pointers to #GParamSpec | |
| 9398 | + | structures. The paramspecs are owned by GLib, but the | |
| 9399 | + | array should be freed with g_free() when you are done with | |
| 9400 | + | it.</doc> | |
| 7905 | 9401 | <array length="1" zero-terminated="0" c:type="GParamSpec**"> | |
| 7906 | 9402 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 7907 | 9403 | </array> | |
| @@ -7909,8 +9405,8 @@ already been loaded, g_type_default_interface_peek().</doc> | |||
| 7909 | 9405 | <parameters> | |
| 7910 | 9406 | <parameter name="g_iface" transfer-ownership="none"> | |
| 7911 | 9407 | <doc xml:space="preserve" | |
| 7912 | - | filename="gobject-2.0.c" | |
| 7913 | - | line="3298">any interface vtable for the | |
| 9408 | + | filename="gobject/gobject.c" | |
| 9409 | + | line="1619">any interface vtable for the | |
| 7914 | 9410 | interface, or the default vtable for the interface</doc> | |
| 7915 | 9411 | <type name="TypeInterface" c:type="gpointer"/> | |
| 7916 | 9412 | </parameter> | |
| @@ -7919,14 +9415,23 @@ already been loaded, g_type_default_interface_peek().</doc> | |||
| 7919 | 9415 | caller-allocates="0" | |
| 7920 | 9416 | transfer-ownership="full"> | |
| 7921 | 9417 | <doc xml:space="preserve" | |
| 7922 | - | filename="gobject-2.0.c" | |
| 7923 | - | line="3300">location to store number of properties returned.</doc> | |
| 9418 | + | filename="gobject/gobject.c" | |
| 9419 | + | line="1621">location to store number of properties returned.</doc> | |
| 7924 | 9420 | <type name="guint" c:type="guint*"/> | |
| 7925 | 9421 | </parameter> | |
| 7926 | 9422 | </parameters> | |
| 7927 | 9423 | </function> | |
| 7928 | 9424 | <virtual-method name="constructed"> | |
| 7929 | - | <source-position filename="gobject.h" line="367"/> | |
| 9425 | + | <doc xml:space="preserve" | |
| 9426 | + | filename="gobject/gobject.h" | |
| 9427 | + | line="287">the @constructed function is called by g_object_new() as the | |
| 9428 | + | final step of the object creation process. At the point of the call, all | |
| 9429 | + | construction properties have been set on the object. The purpose of this | |
| 9430 | + | call is to allow for object initialisation steps that can only be performed | |
| 9431 | + | after construction properties have been set. @constructed implementors | |
| 9432 | + | should chain up to the @constructed call of their parent class to allow it | |
| 9433 | + | to complete its initialisation.</doc> | |
| 9434 | + | <source-position filename="gobject/gobject.h" line="354"/> | |
| 7930 | 9435 | <return-value transfer-ownership="none"> | |
| 7931 | 9436 | <type name="none" c:type="void"/> | |
| 7932 | 9437 | </return-value> | |
| @@ -7937,7 +9442,12 @@ already been loaded, g_type_default_interface_peek().</doc> | |||
| 7937 | 9442 | </parameters> | |
| 7938 | 9443 | </virtual-method> | |
| 7939 | 9444 | <virtual-method name="dispatch_properties_changed"> | |
| 7940 | - | <source-position filename="gobject.h" line="359"/> | |
| 9445 | + | <doc xml:space="preserve" | |
| 9446 | + | filename="gobject/gobject.h" | |
| 9447 | + | line="283">emits property change notification for a bunch | |
| 9448 | + | of properties. Overriding @dispatch_properties_changed should be rarely | |
| 9449 | + | needed.</doc> | |
| 9450 | + | <source-position filename="gobject/gobject.h" line="346"/> | |
| 7941 | 9451 | <return-value transfer-ownership="none"> | |
| 7942 | 9452 | <type name="none" c:type="void"/> | |
| 7943 | 9453 | </return-value> | |
| @@ -7954,7 +9464,14 @@ already been loaded, g_type_default_interface_peek().</doc> | |||
| 7954 | 9464 | </parameters> | |
| 7955 | 9465 | </virtual-method> | |
| 7956 | 9466 | <virtual-method name="dispose"> | |
| 7957 | - | <source-position filename="gobject.h" line="356"/> | |
| 9467 | + | <doc xml:space="preserve" | |
| 9468 | + | filename="gobject/gobject.h" | |
| 9469 | + | line="275">the @dispose function is supposed to drop all references to other | |
| 9470 | + | objects, but keep the instance otherwise intact, so that client method | |
| 9471 | + | invocations still work. It may be run multiple times (due to reference | |
| 9472 | + | loops). Before returning, @dispose should chain up to the @dispose method | |
| 9473 | + | of the parent class.</doc> | |
| 9474 | + | <source-position filename="gobject/gobject.h" line="343"/> | |
| 7958 | 9475 | <return-value transfer-ownership="none"> | |
| 7959 | 9476 | <type name="none" c:type="void"/> | |
| 7960 | 9477 | </return-value> | |
| @@ -7965,7 +9482,12 @@ already been loaded, g_type_default_interface_peek().</doc> | |||
| 7965 | 9482 | </parameters> | |
| 7966 | 9483 | </virtual-method> | |
| 7967 | 9484 | <virtual-method name="finalize"> | |
| 7968 | - | <source-position filename="gobject.h" line="357"/> | |
| 9485 | + | <doc xml:space="preserve" | |
| 9486 | + | filename="gobject/gobject.h" | |
| 9487 | + | line="280">instance finalization function, should finish the finalization of | |
| 9488 | + | the instance begun in @dispose and chain up to the @finalize method of the | |
| 9489 | + | parent class.</doc> | |
| 9490 | + | <source-position filename="gobject/gobject.h" line="344"/> | |
| 7969 | 9491 | <return-value transfer-ownership="none"> | |
| 7970 | 9492 | <type name="none" c:type="void"/> | |
| 7971 | 9493 | </return-value> | |
| @@ -7976,7 +9498,11 @@ already been loaded, g_type_default_interface_peek().</doc> | |||
| 7976 | 9498 | </parameters> | |
| 7977 | 9499 | </virtual-method> | |
| 7978 | 9500 | <virtual-method name="get_property"> | |
| 7979 | - | <source-position filename="gobject.h" line="352"/> | |
| 9501 | + | <doc xml:space="preserve" | |
| 9502 | + | filename="gobject/gobject.h" | |
| 9503 | + | line="273">the generic getter for all properties of this type. Should be | |
| 9504 | + | overridden for every type with properties.</doc> | |
| 9505 | + | <source-position filename="gobject/gobject.h" line="339"/> | |
| 7980 | 9506 | <return-value transfer-ownership="none"> | |
| 7981 | 9507 | <type name="none" c:type="void"/> | |
| 7982 | 9508 | </return-value> | |
| @@ -7997,8 +9523,8 @@ already been loaded, g_type_default_interface_peek().</doc> | |||
| 7997 | 9523 | </virtual-method> | |
| 7998 | 9524 | <virtual-method name="notify" invoker="notify"> | |
| 7999 | 9525 | <doc xml:space="preserve" | |
| 8000 | - | filename="gobject-2.0.c" | |
| 8001 | - | line="3420">Emits a "notify" signal for the property @property_name on @object. | |
| 9526 | + | filename="gobject/gobject.c" | |
| 9527 | + | line="1966">Emits a "notify" signal for the property @property_name on @object. | |
| 8002 | 9528 | ||
| 8003 | 9529 | When possible, eg. when signaling a property change from within the class | |
| 8004 | 9530 | that registered the property, you should use g_object_notify_by_pspec() | |
| @@ -8008,15 +9534,15 @@ Note that emission of the notify signal may be blocked with | |||
| 8008 | 9534 | g_object_freeze_notify(). In this case, the signal emissions are queued | |
| 8009 | 9535 | and will be emitted (in reverse order) when g_object_thaw_notify() is | |
| 8010 | 9536 | called.</doc> | |
| 8011 | - | <source-position filename="gobject.h" line="363"/> | |
| 9537 | + | <source-position filename="gobject/gobject.h" line="350"/> | |
| 8012 | 9538 | <return-value transfer-ownership="none"> | |
| 8013 | 9539 | <type name="none" c:type="void"/> | |
| 8014 | 9540 | </return-value> | |
| 8015 | 9541 | <parameters> | |
| 8016 | 9542 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8017 | 9543 | <doc xml:space="preserve" | |
| 8018 | - | filename="gobject-2.0.c" | |
| 8019 | - | line="3422">a #GObject</doc> | |
| 9544 | + | filename="gobject/gobject.c" | |
| 9545 | + | line="1968">a #GObject</doc> | |
| 8020 | 9546 | <type name="Object" c:type="GObject*"/> | |
| 8021 | 9547 | </instance-parameter> | |
| 8022 | 9548 | <parameter name="pspec" transfer-ownership="none"> | |
| @@ -8025,7 +9551,14 @@ called.</doc> | |||
| 8025 | 9551 | </parameters> | |
| 8026 | 9552 | </virtual-method> | |
| 8027 | 9553 | <virtual-method name="set_property"> | |
| 8028 | - | <source-position filename="gobject.h" line="348"/> | |
| 9554 | + | <doc xml:space="preserve" | |
| 9555 | + | filename="gobject/gobject.h" | |
| 9556 | + | line="268">the generic setter for all properties of this type. Should be | |
| 9557 | + | overridden for every type with properties. If implementations of | |
| 9558 | + | @set_property don't emit property change notification explicitly, this will | |
| 9559 | + | be done implicitly by the type system. However, if the notify signal is | |
| 9560 | + | emitted explicitly, the type system will not emit it a second time.</doc> | |
| 9561 | + | <source-position filename="gobject/gobject.h" line="335"/> | |
| 8029 | 9562 | <return-value transfer-ownership="none"> | |
| 8030 | 9563 | <type name="none" c:type="void"/> | |
| 8031 | 9564 | </return-value> | |
| @@ -8049,8 +9582,8 @@ called.</doc> | |||
| 8049 | 9582 | version="2.8" | |
| 8050 | 9583 | introspectable="0"> | |
| 8051 | 9584 | <doc xml:space="preserve" | |
| 8052 | - | filename="gobject-2.0.c" | |
| 8053 | - | line="2663">Increases the reference count of the object by one and sets a | |
| 9585 | + | filename="gobject/gobject.c" | |
| 9586 | + | line="4044">Increases the reference count of the object by one and sets a | |
| 8054 | 9587 | callback to be called when all other references to the object are | |
| 8055 | 9588 | dropped, or when this is already the last reference to the object | |
| 8056 | 9589 | and another reference is established. | |
| @@ -8077,22 +9610,29 @@ Multiple toggle references may be added to the same gobject, | |||
| 8077 | 9610 | however if there are multiple toggle references to an object, none | |
| 8078 | 9611 | of them will ever be notified until all but one are removed. For | |
| 8079 | 9612 | this reason, you should only ever use a toggle reference if there | |
| 8080 | - | is important state in the proxy object.</doc> | |
| 8081 | - | <source-position filename="gobject.h" line="564"/> | |
| 9613 | + | is important state in the proxy object. | |
| 9614 | + | ||
| 9615 | + | Note that if you unref the object on another thread, then @notify might | |
| 9616 | + | still be invoked after g_object_remove_toggle_ref(), and the object argument | |
| 9617 | + | might be a dangling pointer. If the object is destroyed on other threads, | |
| 9618 | + | you must take care of that yourself. | |
| 9619 | + | ||
| 9620 | + | A g_object_add_toggle_ref() must be released with g_object_remove_toggle_ref().</doc> | |
| 9621 | + | <source-position filename="gobject/gobject.h" line="556"/> | |
| 8082 | 9622 | <return-value transfer-ownership="none"> | |
| 8083 | 9623 | <type name="none" c:type="void"/> | |
| 8084 | 9624 | </return-value> | |
| 8085 | 9625 | <parameters> | |
| 8086 | 9626 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8087 | 9627 | <doc xml:space="preserve" | |
| 8088 | - | filename="gobject-2.0.c" | |
| 8089 | - | line="2665">a #GObject</doc> | |
| 9628 | + | filename="gobject/gobject.c" | |
| 9629 | + | line="4046">a #GObject</doc> | |
| 8090 | 9630 | <type name="Object" c:type="GObject*"/> | |
| 8091 | 9631 | </instance-parameter> | |
| 8092 | 9632 | <parameter name="notify" transfer-ownership="none" closure="1"> | |
| 8093 | 9633 | <doc xml:space="preserve" | |
| 8094 | - | filename="gobject-2.0.c" | |
| 8095 | - | line="2666">a function to call when this reference is the | |
| 9634 | + | filename="gobject/gobject.c" | |
| 9635 | + | line="4047">a function to call when this reference is the | |
| 8096 | 9636 | last reference to the object, or is no longer | |
| 8097 | 9637 | the last reference.</doc> | |
| 8098 | 9638 | <type name="ToggleNotify" c:type="GToggleNotify"/> | |
| @@ -8102,8 +9642,8 @@ is important state in the proxy object.</doc> | |||
| 8102 | 9642 | nullable="1" | |
| 8103 | 9643 | allow-none="1"> | |
| 8104 | 9644 | <doc xml:space="preserve" | |
| 8105 | - | filename="gobject-2.0.c" | |
| 8106 | - | line="2669">data to pass to @notify</doc> | |
| 9645 | + | filename="gobject/gobject.c" | |
| 9646 | + | line="4050">data to pass to @notify</doc> | |
| 8107 | 9647 | <type name="gpointer" c:type="gpointer"/> | |
| 8108 | 9648 | </parameter> | |
| 8109 | 9649 | </parameters> | |
| @@ -8112,8 +9652,8 @@ is important state in the proxy object.</doc> | |||
| 8112 | 9652 | c:identifier="g_object_add_weak_pointer" | |
| 8113 | 9653 | introspectable="0"> | |
| 8114 | 9654 | <doc xml:space="preserve" | |
| 8115 | - | filename="gobject-2.0.c" | |
| 8116 | - | line="2704">Adds a weak reference from weak_pointer to @object to indicate that | |
| 9655 | + | filename="gobject/gobject.c" | |
| 9656 | + | line="3766">Adds a weak reference from weak_pointer to @object to indicate that | |
| 8117 | 9657 | the pointer located at @weak_pointer_location is only valid during | |
| 8118 | 9658 | the lifetime of @object. When the @object is finalized, | |
| 8119 | 9659 | @weak_pointer will be set to %NULL. | |
| @@ -8122,15 +9662,15 @@ Note that as with g_object_weak_ref(), the weak references created by | |||
| 8122 | 9662 | this method are not thread-safe: they cannot safely be used in one | |
| 8123 | 9663 | thread if the object's last g_object_unref() might happen in another | |
| 8124 | 9664 | thread. Use #GWeakRef if thread-safety is required.</doc> | |
| 8125 | - | <source-position filename="gobject.h" line="533"/> | |
| 9665 | + | <source-position filename="gobject/gobject.h" line="525"/> | |
| 8126 | 9666 | <return-value transfer-ownership="none"> | |
| 8127 | 9667 | <type name="none" c:type="void"/> | |
| 8128 | 9668 | </return-value> | |
| 8129 | 9669 | <parameters> | |
| 8130 | 9670 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8131 | 9671 | <doc xml:space="preserve" | |
| 8132 | - | filename="gobject-2.0.c" | |
| 8133 | - | line="2706">The object that should be weak referenced.</doc> | |
| 9672 | + | filename="gobject/gobject.c" | |
| 9673 | + | line="3768">The object that should be weak referenced.</doc> | |
| 8134 | 9674 | <type name="Object" c:type="GObject*"/> | |
| 8135 | 9675 | </instance-parameter> | |
| 8136 | 9676 | <parameter name="weak_pointer_location" | |
| @@ -8138,8 +9678,8 @@ thread. Use #GWeakRef if thread-safety is required.</doc> | |||
| 8138 | 9678 | caller-allocates="0" | |
| 8139 | 9679 | transfer-ownership="full"> | |
| 8140 | 9680 | <doc xml:space="preserve" | |
| 8141 | - | filename="gobject-2.0.c" | |
| 8142 | - | line="2707">The memory address | |
| 9681 | + | filename="gobject/gobject.c" | |
| 9682 | + | line="3769">The memory address | |
| 8143 | 9683 | of a pointer.</doc> | |
| 8144 | 9684 | <type name="gpointer" c:type="gpointer*"/> | |
| 8145 | 9685 | </parameter> | |
| @@ -8149,8 +9689,8 @@ thread. Use #GWeakRef if thread-safety is required.</doc> | |||
| 8149 | 9689 | c:identifier="g_object_bind_property" | |
| 8150 | 9690 | version="2.26"> | |
| 8151 | 9691 | <doc xml:space="preserve" | |
| 8152 | - | filename="gobject-2.0.c" | |
| 8153 | - | line="2722">Creates a binding between @source_property on @source and @target_property | |
| 9692 | + | filename="gobject/gbinding.c" | |
| 9693 | + | line="1369">Creates a binding between @source_property on @source and @target_property | |
| 8154 | 9694 | on @target. | |
| 8155 | 9695 | ||
| 8156 | 9696 | Whenever the @source_property is changed the @target_property is | |
| @@ -8181,11 +9721,11 @@ finalized from different threads. Keep another reference to the binding and | |||
| 8181 | 9721 | use g_binding_unbind() instead to be on the safe side. | |
| 8182 | 9722 | ||
| 8183 | 9723 | A #GObject can have multiple bindings.</doc> | |
| 8184 | - | <source-position filename="gbinding.h" line="128"/> | |
| 9724 | + | <source-position filename="gobject/gbinding.h" line="122"/> | |
| 8185 | 9725 | <return-value transfer-ownership="none"> | |
| 8186 | 9726 | <doc xml:space="preserve" | |
| 8187 | - | filename="gobject-2.0.c" | |
| 8188 | - | line="2762">the #GBinding instance representing the | |
| 9727 | + | filename="gobject/gbinding.c" | |
| 9728 | + | line="1409">the #GBinding instance representing the | |
| 8189 | 9729 | binding between the two #GObject instances. The binding is released | |
| 8190 | 9730 | whenever the #GBinding reference count reaches zero.</doc> | |
| 8191 | 9731 | <type name="Binding" c:type="GBinding*"/> | |
| @@ -8193,32 +9733,32 @@ A #GObject can have multiple bindings.</doc> | |||
| 8193 | 9733 | <parameters> | |
| 8194 | 9734 | <instance-parameter name="source" transfer-ownership="none"> | |
| 8195 | 9735 | <doc xml:space="preserve" | |
| 8196 | - | filename="gobject-2.0.c" | |
| 8197 | - | line="2724">the source #GObject</doc> | |
| 9736 | + | filename="gobject/gbinding.c" | |
| 9737 | + | line="1371">the source #GObject</doc> | |
| 8198 | 9738 | <type name="Object" c:type="gpointer"/> | |
| 8199 | 9739 | </instance-parameter> | |
| 8200 | 9740 | <parameter name="source_property" transfer-ownership="none"> | |
| 8201 | 9741 | <doc xml:space="preserve" | |
| 8202 | - | filename="gobject-2.0.c" | |
| 8203 | - | line="2725">the property on @source to bind</doc> | |
| 9742 | + | filename="gobject/gbinding.c" | |
| 9743 | + | line="1372">the property on @source to bind</doc> | |
| 8204 | 9744 | <type name="utf8" c:type="const gchar*"/> | |
| 8205 | 9745 | </parameter> | |
| 8206 | 9746 | <parameter name="target" transfer-ownership="none"> | |
| 8207 | 9747 | <doc xml:space="preserve" | |
| 8208 | - | filename="gobject-2.0.c" | |
| 8209 | - | line="2726">the target #GObject</doc> | |
| 9748 | + | filename="gobject/gbinding.c" | |
| 9749 | + | line="1373">the target #GObject</doc> | |
| 8210 | 9750 | <type name="Object" c:type="gpointer"/> | |
| 8211 | 9751 | </parameter> | |
| 8212 | 9752 | <parameter name="target_property" transfer-ownership="none"> | |
| 8213 | 9753 | <doc xml:space="preserve" | |
| 8214 | - | filename="gobject-2.0.c" | |
| 8215 | - | line="2727">the property on @target to bind</doc> | |
| 9754 | + | filename="gobject/gbinding.c" | |
| 9755 | + | line="1374">the property on @target to bind</doc> | |
| 8216 | 9756 | <type name="utf8" c:type="const gchar*"/> | |
| 8217 | 9757 | </parameter> | |
| 8218 | 9758 | <parameter name="flags" transfer-ownership="none"> | |
| 8219 | 9759 | <doc xml:space="preserve" | |
| 8220 | - | filename="gobject-2.0.c" | |
| 8221 | - | line="2728">flags to pass to #GBinding</doc> | |
| 9760 | + | filename="gobject/gbinding.c" | |
| 9761 | + | line="1375">flags to pass to #GBinding</doc> | |
| 8222 | 9762 | <type name="BindingFlags" c:type="GBindingFlags"/> | |
| 8223 | 9763 | </parameter> | |
| 8224 | 9764 | </parameters> | |
| @@ -8228,8 +9768,8 @@ A #GObject can have multiple bindings.</doc> | |||
| 8228 | 9768 | shadowed-by="bind_property_with_closures" | |
| 8229 | 9769 | version="2.26"> | |
| 8230 | 9770 | <doc xml:space="preserve" | |
| 8231 | - | filename="gobject-2.0.c" | |
| 8232 | - | line="2769">Complete version of g_object_bind_property(). | |
| 9771 | + | filename="gobject/gbinding.c" | |
| 9772 | + | line="1172">Complete version of g_object_bind_property(). | |
| 8233 | 9773 | ||
| 8234 | 9774 | Creates a binding between @source_property on @source and @target_property | |
| 8235 | 9775 | on @target, allowing you to set the transformation functions to be used by | |
| @@ -8254,11 +9794,11 @@ and @transform_from transformation functions; the @notify function will | |||
| 8254 | 9794 | be called once, when the binding is removed. If you need different data | |
| 8255 | 9795 | for each transformation function, please use | |
| 8256 | 9796 | g_object_bind_property_with_closures() instead.</doc> | |
| 8257 | - | <source-position filename="gbinding.h" line="134"/> | |
| 9797 | + | <source-position filename="gobject/gbinding.h" line="128"/> | |
| 8258 | 9798 | <return-value transfer-ownership="none"> | |
| 8259 | 9799 | <doc xml:space="preserve" | |
| 8260 | - | filename="gobject-2.0.c" | |
| 8261 | - | line="2811">the #GBinding instance representing the | |
| 9800 | + | filename="gobject/gbinding.c" | |
| 9801 | + | line="1214">the #GBinding instance representing the | |
| 8262 | 9802 | binding between the two #GObject instances. The binding is released | |
| 8263 | 9803 | whenever the #GBinding reference count reaches zero.</doc> | |
| 8264 | 9804 | <type name="Binding" c:type="GBinding*"/> | |
| @@ -8266,32 +9806,32 @@ g_object_bind_property_with_closures() instead.</doc> | |||
| 8266 | 9806 | <parameters> | |
| 8267 | 9807 | <instance-parameter name="source" transfer-ownership="none"> | |
| 8268 | 9808 | <doc xml:space="preserve" | |
| 8269 | - | filename="gobject-2.0.c" | |
| 8270 | - | line="2771">the source #GObject</doc> | |
| 9809 | + | filename="gobject/gbinding.c" | |
| 9810 | + | line="1174">the source #GObject</doc> | |
| 8271 | 9811 | <type name="Object" c:type="gpointer"/> | |
| 8272 | 9812 | </instance-parameter> | |
| 8273 | 9813 | <parameter name="source_property" transfer-ownership="none"> | |
| 8274 | 9814 | <doc xml:space="preserve" | |
| 8275 | - | filename="gobject-2.0.c" | |
| 8276 | - | line="2772">the property on @source to bind</doc> | |
| 9815 | + | filename="gobject/gbinding.c" | |
| 9816 | + | line="1175">the property on @source to bind</doc> | |
| 8277 | 9817 | <type name="utf8" c:type="const gchar*"/> | |
| 8278 | 9818 | </parameter> | |
| 8279 | 9819 | <parameter name="target" transfer-ownership="none"> | |
| 8280 | 9820 | <doc xml:space="preserve" | |
| 8281 | - | filename="gobject-2.0.c" | |
| 8282 | - | line="2773">the target #GObject</doc> | |
| 9821 | + | filename="gobject/gbinding.c" | |
| 9822 | + | line="1176">the target #GObject</doc> | |
| 8283 | 9823 | <type name="Object" c:type="gpointer"/> | |
| 8284 | 9824 | </parameter> | |
| 8285 | 9825 | <parameter name="target_property" transfer-ownership="none"> | |
| 8286 | 9826 | <doc xml:space="preserve" | |
| 8287 | - | filename="gobject-2.0.c" | |
| 8288 | - | line="2774">the property on @target to bind</doc> | |
| 9827 | + | filename="gobject/gbinding.c" | |
| 9828 | + | line="1177">the property on @target to bind</doc> | |
| 8289 | 9829 | <type name="utf8" c:type="const gchar*"/> | |
| 8290 | 9830 | </parameter> | |
| 8291 | 9831 | <parameter name="flags" transfer-ownership="none"> | |
| 8292 | 9832 | <doc xml:space="preserve" | |
| 8293 | - | filename="gobject-2.0.c" | |
| 8294 | - | line="2775">flags to pass to #GBinding</doc> | |
| 9833 | + | filename="gobject/gbinding.c" | |
| 9834 | + | line="1178">flags to pass to #GBinding</doc> | |
| 8295 | 9835 | <type name="BindingFlags" c:type="GBindingFlags"/> | |
| 8296 | 9836 | </parameter> | |
| 8297 | 9837 | <parameter name="transform_to" | |
| @@ -8300,8 +9840,8 @@ g_object_bind_property_with_closures() instead.</doc> | |||
| 8300 | 9840 | allow-none="1" | |
| 8301 | 9841 | scope="notified"> | |
| 8302 | 9842 | <doc xml:space="preserve" | |
| 8303 | - | filename="gobject-2.0.c" | |
| 8304 | - | line="2776">the transformation function | |
| 9843 | + | filename="gobject/gbinding.c" | |
| 9844 | + | line="1179">the transformation function | |
| 8305 | 9845 | from the @source to the @target, or %NULL to use the default</doc> | |
| 8306 | 9846 | <type name="BindingTransformFunc" c:type="GBindingTransformFunc"/> | |
| 8307 | 9847 | </parameter> | |
| @@ -8313,8 +9853,8 @@ g_object_bind_property_with_closures() instead.</doc> | |||
| 8313 | 9853 | closure="6" | |
| 8314 | 9854 | destroy="7"> | |
| 8315 | 9855 | <doc xml:space="preserve" | |
| 8316 | - | filename="gobject-2.0.c" | |
| 8317 | - | line="2778">the transformation function | |
| 9856 | + | filename="gobject/gbinding.c" | |
| 9857 | + | line="1181">the transformation function | |
| 8318 | 9858 | from the @target to the @source, or %NULL to use the default</doc> | |
| 8319 | 9859 | <type name="BindingTransformFunc" c:type="GBindingTransformFunc"/> | |
| 8320 | 9860 | </parameter> | |
| @@ -8323,8 +9863,8 @@ g_object_bind_property_with_closures() instead.</doc> | |||
| 8323 | 9863 | nullable="1" | |
| 8324 | 9864 | allow-none="1"> | |
| 8325 | 9865 | <doc xml:space="preserve" | |
| 8326 | - | filename="gobject-2.0.c" | |
| 8327 | - | line="2780">custom data to be passed to the transformation functions, | |
| 9866 | + | filename="gobject/gbinding.c" | |
| 9867 | + | line="1183">custom data to be passed to the transformation functions, | |
| 8328 | 9868 | or %NULL</doc> | |
| 8329 | 9869 | <type name="gpointer" c:type="gpointer"/> | |
| 8330 | 9870 | </parameter> | |
| @@ -8334,8 +9874,8 @@ g_object_bind_property_with_closures() instead.</doc> | |||
| 8334 | 9874 | allow-none="1" | |
| 8335 | 9875 | scope="async"> | |
| 8336 | 9876 | <doc xml:space="preserve" | |
| 8337 | - | filename="gobject-2.0.c" | |
| 8338 | - | line="2782">a function to call when disposing the binding, to free | |
| 9877 | + | filename="gobject/gbinding.c" | |
| 9878 | + | line="1185">a function to call when disposing the binding, to free | |
| 8339 | 9879 | resources used by the transformation functions, or %NULL if not required</doc> | |
| 8340 | 9880 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/> | |
| 8341 | 9881 | </parameter> | |
| @@ -8346,19 +9886,19 @@ g_object_bind_property_with_closures() instead.</doc> | |||
| 8346 | 9886 | shadows="bind_property_full" | |
| 8347 | 9887 | version="2.26"> | |
| 8348 | 9888 | <doc xml:space="preserve" | |
| 8349 | - | filename="gobject-2.0.c" | |
| 8350 | - | line="2818">Creates a binding between @source_property on @source and @target_property | |
| 9889 | + | filename="gobject/gbinding.c" | |
| 9890 | + | line="1538">Creates a binding between @source_property on @source and @target_property | |
| 8351 | 9891 | on @target, allowing you to set the transformation functions to be used by | |
| 8352 | 9892 | the binding. | |
| 8353 | 9893 | ||
| 8354 | 9894 | This function is the language bindings friendly version of | |
| 8355 | 9895 | g_object_bind_property_full(), using #GClosures instead of | |
| 8356 | 9896 | function pointers.</doc> | |
| 8357 | - | <source-position filename="gbinding.h" line="144"/> | |
| 9897 | + | <source-position filename="gobject/gbinding.h" line="138"/> | |
| 8358 | 9898 | <return-value transfer-ownership="none"> | |
| 8359 | 9899 | <doc xml:space="preserve" | |
| 8360 | - | filename="gobject-2.0.c" | |
| 8361 | - | line="2838">the #GBinding instance representing the | |
| 9900 | + | filename="gobject/gbinding.c" | |
| 9901 | + | line="1558">the #GBinding instance representing the | |
| 8362 | 9902 | binding between the two #GObject instances. The binding is released | |
| 8363 | 9903 | whenever the #GBinding reference count reaches zero.</doc> | |
| 8364 | 9904 | <type name="Binding" c:type="GBinding*"/> | |
| @@ -8366,45 +9906,45 @@ function pointers.</doc> | |||
| 8366 | 9906 | <parameters> | |
| 8367 | 9907 | <instance-parameter name="source" transfer-ownership="none"> | |
| 8368 | 9908 | <doc xml:space="preserve" | |
| 8369 | - | filename="gobject-2.0.c" | |
| 8370 | - | line="2820">the source #GObject</doc> | |
| 9909 | + | filename="gobject/gbinding.c" | |
| 9910 | + | line="1540">the source #GObject</doc> | |
| 8371 | 9911 | <type name="Object" c:type="gpointer"/> | |
| 8372 | 9912 | </instance-parameter> | |
| 8373 | 9913 | <parameter name="source_property" transfer-ownership="none"> | |
| 8374 | 9914 | <doc xml:space="preserve" | |
| 8375 | - | filename="gobject-2.0.c" | |
| 8376 | - | line="2821">the property on @source to bind</doc> | |
| 9915 | + | filename="gobject/gbinding.c" | |
| 9916 | + | line="1541">the property on @source to bind</doc> | |
| 8377 | 9917 | <type name="utf8" c:type="const gchar*"/> | |
| 8378 | 9918 | </parameter> | |
| 8379 | 9919 | <parameter name="target" transfer-ownership="none"> | |
| 8380 | 9920 | <doc xml:space="preserve" | |
| 8381 | - | filename="gobject-2.0.c" | |
| 8382 | - | line="2822">the target #GObject</doc> | |
| 9921 | + | filename="gobject/gbinding.c" | |
| 9922 | + | line="1542">the target #GObject</doc> | |
| 8383 | 9923 | <type name="Object" c:type="gpointer"/> | |
| 8384 | 9924 | </parameter> | |
| 8385 | 9925 | <parameter name="target_property" transfer-ownership="none"> | |
| 8386 | 9926 | <doc xml:space="preserve" | |
| 8387 | - | filename="gobject-2.0.c" | |
| 8388 | - | line="2823">the property on @target to bind</doc> | |
| 9927 | + | filename="gobject/gbinding.c" | |
| 9928 | + | line="1543">the property on @target to bind</doc> | |
| 8389 | 9929 | <type name="utf8" c:type="const gchar*"/> | |
| 8390 | 9930 | </parameter> | |
| 8391 | 9931 | <parameter name="flags" transfer-ownership="none"> | |
| 8392 | 9932 | <doc xml:space="preserve" | |
| 8393 | - | filename="gobject-2.0.c" | |
| 8394 | - | line="2824">flags to pass to #GBinding</doc> | |
| 9933 | + | filename="gobject/gbinding.c" | |
| 9934 | + | line="1544">flags to pass to #GBinding</doc> | |
| 8395 | 9935 | <type name="BindingFlags" c:type="GBindingFlags"/> | |
| 8396 | 9936 | </parameter> | |
| 8397 | 9937 | <parameter name="transform_to" transfer-ownership="none"> | |
| 8398 | 9938 | <doc xml:space="preserve" | |
| 8399 | - | filename="gobject-2.0.c" | |
| 8400 | - | line="2825">a #GClosure wrapping the transformation function | |
| 9939 | + | filename="gobject/gbinding.c" | |
| 9940 | + | line="1545">a #GClosure wrapping the transformation function | |
| 8401 | 9941 | from the @source to the @target, or %NULL to use the default</doc> | |
| 8402 | 9942 | <type name="Closure" c:type="GClosure*"/> | |
| 8403 | 9943 | </parameter> | |
| 8404 | 9944 | <parameter name="transform_from" transfer-ownership="none"> | |
| 8405 | 9945 | <doc xml:space="preserve" | |
| 8406 | - | filename="gobject-2.0.c" | |
| 8407 | - | line="2827">a #GClosure wrapping the transformation function | |
| 9946 | + | filename="gobject/gbinding.c" | |
| 9947 | + | line="1547">a #GClosure wrapping the transformation function | |
| 8408 | 9948 | from the @target to the @source, or %NULL to use the default</doc> | |
| 8409 | 9949 | <type name="Closure" c:type="GClosure*"/> | |
| 8410 | 9950 | </parameter> | |
| @@ -8414,56 +9954,58 @@ function pointers.</doc> | |||
| 8414 | 9954 | c:identifier="g_object_connect" | |
| 8415 | 9955 | introspectable="0"> | |
| 8416 | 9956 | <doc xml:space="preserve" | |
| 8417 | - | filename="gobject-2.0.c" | |
| 8418 | - | line="2989">A convenience function to connect multiple signals at once. | |
| 9957 | + | filename="gobject/gobject.c" | |
| 9958 | + | line="3488">A convenience function to connect multiple signals at once. | |
| 8419 | 9959 | ||
| 8420 | 9960 | The signal specs expected by this function have the form | |
| 8421 | - | "modifier::signal_name", where modifier can be one of the following: | |
| 8422 | - | - signal: equivalent to g_signal_connect_data (..., NULL, 0) | |
| 8423 | - | - object-signal, object_signal: equivalent to g_signal_connect_object (..., 0) | |
| 8424 | - | - swapped-signal, swapped_signal: equivalent to g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED) | |
| 8425 | - | - swapped_object_signal, swapped-object-signal: equivalent to g_signal_connect_object (..., G_CONNECT_SWAPPED) | |
| 8426 | - | - signal_after, signal-after: equivalent to g_signal_connect_data (..., NULL, G_CONNECT_AFTER) | |
| 8427 | - | - object_signal_after, object-signal-after: equivalent to g_signal_connect_object (..., G_CONNECT_AFTER) | |
| 8428 | - | - swapped_signal_after, swapped-signal-after: equivalent to g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED | G_CONNECT_AFTER) | |
| 8429 | - | - swapped_object_signal_after, swapped-object-signal-after: equivalent to g_signal_connect_object (..., G_CONNECT_SWAPPED | G_CONNECT_AFTER) | |
| 8430 | - | ||
| 8431 | - | |[<!-- language="C" --> | |
| 8432 | - | menu->toplevel = g_object_connect (g_object_new (GTK_TYPE_WINDOW, | |
| 8433 | - | "type", GTK_WINDOW_POPUP, | |
| 8434 | - | "child", menu, | |
| 8435 | - | NULL), | |
| 8436 | - | "signal::event", gtk_menu_window_event, menu, | |
| 8437 | - | "signal::size_request", gtk_menu_window_size_request, menu, | |
| 8438 | - | "signal::destroy", gtk_widget_destroyed, &menu->toplevel, | |
| 8439 | - | NULL); | |
| 8440 | - | ]|</doc> | |
| 8441 | - | <source-position filename="gobject.h" line="471"/> | |
| 9961 | + | `modifier::signal_name`, where `modifier` can be one of the | |
| 9962 | + | following: | |
| 9963 | + | ||
| 9964 | + | - `signal`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_DEFAULT)` | |
| 9965 | + | - `object-signal`, `object_signal`: equivalent to `g_signal_connect_object (..., G_CONNECT_DEFAULT)` | |
| 9966 | + | - `swapped-signal`, `swapped_signal`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED)` | |
| 9967 | + | - `swapped_object_signal`, `swapped-object-signal`: equivalent to `g_signal_connect_object (..., G_CONNECT_SWAPPED)` | |
| 9968 | + | - `signal_after`, `signal-after`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_AFTER)` | |
| 9969 | + | - `object_signal_after`, `object-signal-after`: equivalent to `g_signal_connect_object (..., G_CONNECT_AFTER)` | |
| 9970 | + | - `swapped_signal_after`, `swapped-signal-after`: equivalent to `g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED | G_CONNECT_AFTER)` | |
| 9971 | + | - `swapped_object_signal_after`, `swapped-object-signal-after`: equivalent to `g_signal_connect_object (..., G_CONNECT_SWAPPED | G_CONNECT_AFTER)` | |
| 9972 | + | ||
| 9973 | + | ```c | |
| 9974 | + | menu->toplevel = g_object_connect (g_object_new (GTK_TYPE_WINDOW, | |
| 9975 | + | "type", GTK_WINDOW_POPUP, | |
| 9976 | + | "child", menu, | |
| 9977 | + | NULL), | |
| 9978 | + | "signal::event", gtk_menu_window_event, menu, | |
| 9979 | + | "signal::size_request", gtk_menu_window_size_request, menu, | |
| 9980 | + | "signal::destroy", gtk_widget_destroyed, &menu->toplevel, | |
| 9981 | + | NULL); | |
| 9982 | + | ```</doc> | |
| 9983 | + | <source-position filename="gobject/gobject.h" line="463"/> | |
| 8442 | 9984 | <return-value transfer-ownership="none"> | |
| 8443 | 9985 | <doc xml:space="preserve" | |
| 8444 | - | filename="gobject-2.0.c" | |
| 8445 | - | line="3021">@object</doc> | |
| 9986 | + | filename="gobject/gobject.c" | |
| 9987 | + | line="3522">the object</doc> | |
| 8446 | 9988 | <type name="Object" c:type="gpointer"/> | |
| 8447 | 9989 | </return-value> | |
| 8448 | 9990 | <parameters> | |
| 8449 | 9991 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8450 | 9992 | <doc xml:space="preserve" | |
| 8451 | - | filename="gobject-2.0.c" | |
| 8452 | - | line="2991">a #GObject</doc> | |
| 9993 | + | filename="gobject/gobject.c" | |
| 9994 | + | line="3490">a #GObject</doc> | |
| 8453 | 9995 | <type name="Object" c:type="gpointer"/> | |
| 8454 | 9996 | </instance-parameter> | |
| 8455 | 9997 | <parameter name="signal_spec" transfer-ownership="none"> | |
| 8456 | 9998 | <doc xml:space="preserve" | |
| 8457 | - | filename="gobject-2.0.c" | |
| 8458 | - | line="2992">the spec for the first signal</doc> | |
| 9999 | + | filename="gobject/gobject.c" | |
| 10000 | + | line="3491">the spec for the first signal</doc> | |
| 8459 | 10001 | <type name="utf8" c:type="const gchar*"/> | |
| 8460 | 10002 | </parameter> | |
| 8461 | 10003 | <parameter name="..." transfer-ownership="none"> | |
| 8462 | 10004 | <doc xml:space="preserve" | |
| 8463 | - | filename="gobject-2.0.c" | |
| 8464 | - | line="2993">#GCallback for the first signal, followed by data for the | |
| 8465 | - | first signal, followed optionally by more signal | |
| 8466 | - | spec/callback/data triples, followed by %NULL</doc> | |
| 10005 | + | filename="gobject/gobject.c" | |
| 10006 | + | line="3492">[type@GObject.Callback] for the first signal, followed by data for the | |
| 10007 | + | first signal, followed optionally by more signal | |
| 10008 | + | spec/callback/data triples, followed by `NULL`</doc> | |
| 8467 | 10009 | <varargs/> | |
| 8468 | 10010 | </parameter> | |
| 8469 | 10011 | </parameters> | |
| @@ -8472,34 +10014,34 @@ The signal specs expected by this function have the form | |||
| 8472 | 10014 | c:identifier="g_object_disconnect" | |
| 8473 | 10015 | introspectable="0"> | |
| 8474 | 10016 | <doc xml:space="preserve" | |
| 8475 | - | filename="gobject-2.0.c" | |
| 8476 | - | line="3025">A convenience function to disconnect multiple signals at once. | |
| 10017 | + | filename="gobject/gobject.c" | |
| 10018 | + | line="3592">A convenience function to disconnect multiple signals at once. | |
| 8477 | 10019 | ||
| 8478 | 10020 | The signal specs expected by this function have the form | |
| 8479 | 10021 | "any_signal", which means to disconnect any signal with matching | |
| 8480 | 10022 | callback and data, or "any_signal::signal_name", which only | |
| 8481 | 10023 | disconnects the signal named "signal_name".</doc> | |
| 8482 | - | <source-position filename="gobject.h" line="475"/> | |
| 10024 | + | <source-position filename="gobject/gobject.h" line="467"/> | |
| 8483 | 10025 | <return-value transfer-ownership="none"> | |
| 8484 | 10026 | <type name="none" c:type="void"/> | |
| 8485 | 10027 | </return-value> | |
| 8486 | 10028 | <parameters> | |
| 8487 | 10029 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8488 | 10030 | <doc xml:space="preserve" | |
| 8489 | - | filename="gobject-2.0.c" | |
| 8490 | - | line="3027">a #GObject</doc> | |
| 10031 | + | filename="gobject/gobject.c" | |
| 10032 | + | line="3594">a #GObject</doc> | |
| 8491 | 10033 | <type name="Object" c:type="gpointer"/> | |
| 8492 | 10034 | </instance-parameter> | |
| 8493 | 10035 | <parameter name="signal_spec" transfer-ownership="none"> | |
| 8494 | 10036 | <doc xml:space="preserve" | |
| 8495 | - | filename="gobject-2.0.c" | |
| 8496 | - | line="3028">the spec for the first signal</doc> | |
| 10037 | + | filename="gobject/gobject.c" | |
| 10038 | + | line="3595">the spec for the first signal</doc> | |
| 8497 | 10039 | <type name="utf8" c:type="const gchar*"/> | |
| 8498 | 10040 | </parameter> | |
| 8499 | 10041 | <parameter name="..." transfer-ownership="none"> | |
| 8500 | 10042 | <doc xml:space="preserve" | |
| 8501 | - | filename="gobject-2.0.c" | |
| 8502 | - | line="3029">#GCallback for the first signal, followed by data for the first signal, | |
| 10043 | + | filename="gobject/gobject.c" | |
| 10044 | + | line="3596">#GCallback for the first signal, followed by data for the first signal, | |
| 8503 | 10045 | followed optionally by more signal spec/callback/data triples, | |
| 8504 | 10046 | followed by %NULL</doc> | |
| 8505 | 10047 | <varargs/> | |
| @@ -8511,8 +10053,8 @@ disconnects the signal named "signal_name".</doc> | |||
| 8511 | 10053 | version="2.34" | |
| 8512 | 10054 | introspectable="0"> | |
| 8513 | 10055 | <doc xml:space="preserve" | |
| 8514 | - | filename="gobject-2.0.c" | |
| 8515 | - | line="3042">This is a variant of g_object_get_data() which returns | |
| 10056 | + | filename="gobject/gobject.c" | |
| 10057 | + | line="4810">This is a variant of g_object_get_data() which returns | |
| 8516 | 10058 | a 'duplicate' of the value. @dup_func defines the | |
| 8517 | 10059 | meaning of 'duplicate' in this context, it could e.g. | |
| 8518 | 10060 | take a reference on a ref-counted object. | |
| @@ -8526,11 +10068,11 @@ is locked. | |||
| 8526 | 10068 | This function can be useful to avoid races when multiple | |
| 8527 | 10069 | threads are using object data on the same key on the same | |
| 8528 | 10070 | object.</doc> | |
| 8529 | - | <source-position filename="gobject.h" line="618"/> | |
| 10071 | + | <source-position filename="gobject/gobject.h" line="610"/> | |
| 8530 | 10072 | <return-value transfer-ownership="none" nullable="1"> | |
| 8531 | 10073 | <doc xml:space="preserve" | |
| 8532 | - | filename="gobject-2.0.c" | |
| 8533 | - | line="3064">the result of calling @dup_func on the value | |
| 10074 | + | filename="gobject/gobject.c" | |
| 10075 | + | line="4832">the result of calling @dup_func on the value | |
| 8534 | 10076 | associated with @key on @object, or %NULL if not set. | |
| 8535 | 10077 | If @dup_func is %NULL, the value is returned | |
| 8536 | 10078 | unmodified.</doc> | |
| @@ -8539,14 +10081,14 @@ object.</doc> | |||
| 8539 | 10081 | <parameters> | |
| 8540 | 10082 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8541 | 10083 | <doc xml:space="preserve" | |
| 8542 | - | filename="gobject-2.0.c" | |
| 8543 | - | line="3044">the #GObject to store user data on</doc> | |
| 10084 | + | filename="gobject/gobject.c" | |
| 10085 | + | line="4812">the #GObject to store user data on</doc> | |
| 8544 | 10086 | <type name="Object" c:type="GObject*"/> | |
| 8545 | 10087 | </instance-parameter> | |
| 8546 | 10088 | <parameter name="key" transfer-ownership="none"> | |
| 8547 | 10089 | <doc xml:space="preserve" | |
| 8548 | - | filename="gobject-2.0.c" | |
| 8549 | - | line="3045">a string, naming the user data pointer</doc> | |
| 10090 | + | filename="gobject/gobject.c" | |
| 10091 | + | line="4813">a string, naming the user data pointer</doc> | |
| 8550 | 10092 | <type name="utf8" c:type="const gchar*"/> | |
| 8551 | 10093 | </parameter> | |
| 8552 | 10094 | <parameter name="dup_func" | |
| @@ -8555,8 +10097,8 @@ object.</doc> | |||
| 8555 | 10097 | allow-none="1" | |
| 8556 | 10098 | closure="2"> | |
| 8557 | 10099 | <doc xml:space="preserve" | |
| 8558 | - | filename="gobject-2.0.c" | |
| 8559 | - | line="3046">function to dup the value</doc> | |
| 10100 | + | filename="gobject/gobject.c" | |
| 10101 | + | line="4814">function to dup the value</doc> | |
| 8560 | 10102 | <type name="GLib.DuplicateFunc" c:type="GDuplicateFunc"/> | |
| 8561 | 10103 | </parameter> | |
| 8562 | 10104 | <parameter name="user_data" | |
| @@ -8564,8 +10106,8 @@ object.</doc> | |||
| 8564 | 10106 | nullable="1" | |
| 8565 | 10107 | allow-none="1"> | |
| 8566 | 10108 | <doc xml:space="preserve" | |
| 8567 | - | filename="gobject-2.0.c" | |
| 8568 | - | line="3047">passed as user_data to @dup_func</doc> | |
| 10109 | + | filename="gobject/gobject.c" | |
| 10110 | + | line="4815">passed as user_data to @dup_func</doc> | |
| 8569 | 10111 | <type name="gpointer" c:type="gpointer"/> | |
| 8570 | 10112 | </parameter> | |
| 8571 | 10113 | </parameters> | |
| @@ -8575,8 +10117,8 @@ object.</doc> | |||
| 8575 | 10117 | version="2.34" | |
| 8576 | 10118 | introspectable="0"> | |
| 8577 | 10119 | <doc xml:space="preserve" | |
| 8578 | - | filename="gobject-2.0.c" | |
| 8579 | - | line="3072">This is a variant of g_object_get_qdata() which returns | |
| 10120 | + | filename="gobject/gobject.c" | |
| 10121 | + | line="4597">This is a variant of g_object_get_qdata() which returns | |
| 8580 | 10122 | a 'duplicate' of the value. @dup_func defines the | |
| 8581 | 10123 | meaning of 'duplicate' in this context, it could e.g. | |
| 8582 | 10124 | take a reference on a ref-counted object. | |
| @@ -8590,11 +10132,11 @@ is locked. | |||
| 8590 | 10132 | This function can be useful to avoid races when multiple | |
| 8591 | 10133 | threads are using object data on the same key on the same | |
| 8592 | 10134 | object.</doc> | |
| 8593 | - | <source-position filename="gobject.h" line="589"/> | |
| 10135 | + | <source-position filename="gobject/gobject.h" line="581"/> | |
| 8594 | 10136 | <return-value transfer-ownership="none" nullable="1"> | |
| 8595 | 10137 | <doc xml:space="preserve" | |
| 8596 | - | filename="gobject-2.0.c" | |
| 8597 | - | line="3094">the result of calling @dup_func on the value | |
| 10138 | + | filename="gobject/gobject.c" | |
| 10139 | + | line="4619">the result of calling @dup_func on the value | |
| 8598 | 10140 | associated with @quark on @object, or %NULL if not set. | |
| 8599 | 10141 | If @dup_func is %NULL, the value is returned | |
| 8600 | 10142 | unmodified.</doc> | |
| @@ -8603,14 +10145,14 @@ object.</doc> | |||
| 8603 | 10145 | <parameters> | |
| 8604 | 10146 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8605 | 10147 | <doc xml:space="preserve" | |
| 8606 | - | filename="gobject-2.0.c" | |
| 8607 | - | line="3074">the #GObject to store user data on</doc> | |
| 10148 | + | filename="gobject/gobject.c" | |
| 10149 | + | line="4599">the #GObject to store user data on</doc> | |
| 8608 | 10150 | <type name="Object" c:type="GObject*"/> | |
| 8609 | 10151 | </instance-parameter> | |
| 8610 | 10152 | <parameter name="quark" transfer-ownership="none"> | |
| 8611 | 10153 | <doc xml:space="preserve" | |
| 8612 | - | filename="gobject-2.0.c" | |
| 8613 | - | line="3075">a #GQuark, naming the user data pointer</doc> | |
| 10154 | + | filename="gobject/gobject.c" | |
| 10155 | + | line="4600">a #GQuark, naming the user data pointer</doc> | |
| 8614 | 10156 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 8615 | 10157 | </parameter> | |
| 8616 | 10158 | <parameter name="dup_func" | |
| @@ -8619,8 +10161,8 @@ object.</doc> | |||
| 8619 | 10161 | allow-none="1" | |
| 8620 | 10162 | closure="2"> | |
| 8621 | 10163 | <doc xml:space="preserve" | |
| 8622 | - | filename="gobject-2.0.c" | |
| 8623 | - | line="3076">function to dup the value</doc> | |
| 10164 | + | filename="gobject/gobject.c" | |
| 10165 | + | line="4601">function to dup the value</doc> | |
| 8624 | 10166 | <type name="GLib.DuplicateFunc" c:type="GDuplicateFunc"/> | |
| 8625 | 10167 | </parameter> | |
| 8626 | 10168 | <parameter name="user_data" | |
| @@ -8628,8 +10170,8 @@ object.</doc> | |||
| 8628 | 10170 | nullable="1" | |
| 8629 | 10171 | allow-none="1"> | |
| 8630 | 10172 | <doc xml:space="preserve" | |
| 8631 | - | filename="gobject-2.0.c" | |
| 8632 | - | line="3077">passed as user_data to @dup_func</doc> | |
| 10173 | + | filename="gobject/gobject.c" | |
| 10174 | + | line="4602">passed as user_data to @dup_func</doc> | |
| 8633 | 10175 | <type name="gpointer" c:type="gpointer"/> | |
| 8634 | 10176 | </parameter> | |
| 8635 | 10177 | </parameters> | |
| @@ -8638,28 +10180,28 @@ object.</doc> | |||
| 8638 | 10180 | c:identifier="g_object_force_floating" | |
| 8639 | 10181 | version="2.10"> | |
| 8640 | 10182 | <doc xml:space="preserve" | |
| 8641 | - | filename="gobject-2.0.c" | |
| 8642 | - | line="3102">This function is intended for #GObject implementations to re-enforce | |
| 10183 | + | filename="gobject/gobject.c" | |
| 10184 | + | line="3952">This function is intended for #GObject implementations to re-enforce | |
| 8643 | 10185 | a [floating][floating-ref] object reference. Doing this is seldom | |
| 8644 | 10186 | required: all #GInitiallyUnowneds are created with a floating reference | |
| 8645 | 10187 | which usually just needs to be sunken by calling g_object_ref_sink().</doc> | |
| 8646 | - | <source-position filename="gobject.h" line="659"/> | |
| 10188 | + | <source-position filename="gobject/gobject.h" line="651"/> | |
| 8647 | 10189 | <return-value transfer-ownership="none"> | |
| 8648 | 10190 | <type name="none" c:type="void"/> | |
| 8649 | 10191 | </return-value> | |
| 8650 | 10192 | <parameters> | |
| 8651 | 10193 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8652 | 10194 | <doc xml:space="preserve" | |
| 8653 | - | filename="gobject-2.0.c" | |
| 8654 | - | line="3104">a #GObject</doc> | |
| 10195 | + | filename="gobject/gobject.c" | |
| 10196 | + | line="3954">a #GObject</doc> | |
| 8655 | 10197 | <type name="Object" c:type="GObject*"/> | |
| 8656 | 10198 | </instance-parameter> | |
| 8657 | 10199 | </parameters> | |
| 8658 | 10200 | </method> | |
| 8659 | 10201 | <method name="freeze_notify" c:identifier="g_object_freeze_notify"> | |
| 8660 | 10202 | <doc xml:space="preserve" | |
| 8661 | - | filename="gobject-2.0.c" | |
| 8662 | - | line="3115">Increases the freeze count on @object. If the freeze count is | |
| 10203 | + | filename="gobject/gobject.c" | |
| 10204 | + | line="1888">Increases the freeze count on @object. If the freeze count is | |
| 8663 | 10205 | non-zero, the emission of "notify" signals on @object is | |
| 8664 | 10206 | stopped. The signals are queued until the freeze count is decreased | |
| 8665 | 10207 | to zero. Duplicate notifications are squashed so that at most one | |
| @@ -8668,23 +10210,23 @@ object is frozen. | |||
| 8668 | 10210 | ||
| 8669 | 10211 | This is necessary for accessors that modify multiple properties to prevent | |
| 8670 | 10212 | premature notification while the object is still being modified.</doc> | |
| 8671 | - | <source-position filename="gobject.h" line="505"/> | |
| 10213 | + | <source-position filename="gobject/gobject.h" line="497"/> | |
| 8672 | 10214 | <return-value transfer-ownership="none"> | |
| 8673 | 10215 | <type name="none" c:type="void"/> | |
| 8674 | 10216 | </return-value> | |
| 8675 | 10217 | <parameters> | |
| 8676 | 10218 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8677 | 10219 | <doc xml:space="preserve" | |
| 8678 | - | filename="gobject-2.0.c" | |
| 8679 | - | line="3117">a #GObject</doc> | |
| 10220 | + | filename="gobject/gobject.c" | |
| 10221 | + | line="1890">a #GObject</doc> | |
| 8680 | 10222 | <type name="Object" c:type="GObject*"/> | |
| 8681 | 10223 | </instance-parameter> | |
| 8682 | 10224 | </parameters> | |
| 8683 | 10225 | </method> | |
| 8684 | 10226 | <method name="get" c:identifier="g_object_get" introspectable="0"> | |
| 8685 | 10227 | <doc xml:space="preserve" | |
| 8686 | - | filename="gobject-2.0.c" | |
| 8687 | - | line="3131">Gets properties of an object. | |
| 10228 | + | filename="gobject/gobject.c" | |
| 10229 | + | line="3344">Gets properties of an object. | |
| 8688 | 10230 | ||
| 8689 | 10231 | In general, a copy is made of the property contents and the caller | |
| 8690 | 10232 | is responsible for freeing the memory in the appropriate manner for | |
| @@ -8710,27 +10252,27 @@ of three properties: an integer, a string and an object: | |||
| 8710 | 10252 | g_free (strval); | |
| 8711 | 10253 | g_object_unref (objval); | |
| 8712 | 10254 | ]|</doc> | |
| 8713 | - | <source-position filename="gobject.h" line="467"/> | |
| 10255 | + | <source-position filename="gobject/gobject.h" line="459"/> | |
| 8714 | 10256 | <return-value transfer-ownership="none"> | |
| 8715 | 10257 | <type name="none" c:type="void"/> | |
| 8716 | 10258 | </return-value> | |
| 8717 | 10259 | <parameters> | |
| 8718 | 10260 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8719 | 10261 | <doc xml:space="preserve" | |
| 8720 | - | filename="gobject-2.0.c" | |
| 8721 | - | line="3133">a #GObject</doc> | |
| 10262 | + | filename="gobject/gobject.c" | |
| 10263 | + | line="3346">a #GObject</doc> | |
| 8722 | 10264 | <type name="Object" c:type="gpointer"/> | |
| 8723 | 10265 | </instance-parameter> | |
| 8724 | 10266 | <parameter name="first_property_name" transfer-ownership="none"> | |
| 8725 | 10267 | <doc xml:space="preserve" | |
| 8726 | - | filename="gobject-2.0.c" | |
| 8727 | - | line="3134">name of the first property to get</doc> | |
| 10268 | + | filename="gobject/gobject.c" | |
| 10269 | + | line="3347">name of the first property to get</doc> | |
| 8728 | 10270 | <type name="utf8" c:type="const gchar*"/> | |
| 8729 | 10271 | </parameter> | |
| 8730 | 10272 | <parameter name="..." transfer-ownership="none"> | |
| 8731 | 10273 | <doc xml:space="preserve" | |
| 8732 | - | filename="gobject-2.0.c" | |
| 8733 | - | line="3135">return location for the first property, followed optionally by more | |
| 10274 | + | filename="gobject/gobject.c" | |
| 10275 | + | line="3348">return location for the first property, followed optionally by more | |
| 8734 | 10276 | name/return location pairs, followed by %NULL</doc> | |
| 8735 | 10277 | <varargs/> | |
| 8736 | 10278 | </parameter> | |
| @@ -8738,35 +10280,35 @@ of three properties: an integer, a string and an object: | |||
| 8738 | 10280 | </method> | |
| 8739 | 10281 | <method name="get_data" c:identifier="g_object_get_data"> | |
| 8740 | 10282 | <doc xml:space="preserve" | |
| 8741 | - | filename="gobject-2.0.c" | |
| 8742 | - | line="3167">Gets a named field from the objects table of associations (see g_object_set_data()).</doc> | |
| 8743 | - | <source-position filename="gobject.h" line="602"/> | |
| 10283 | + | filename="gobject/gobject.c" | |
| 10284 | + | line="4762">Gets a named field from the objects table of associations (see g_object_set_data()).</doc> | |
| 10285 | + | <source-position filename="gobject/gobject.h" line="594"/> | |
| 8744 | 10286 | <return-value transfer-ownership="none" nullable="1"> | |
| 8745 | 10287 | <doc xml:space="preserve" | |
| 8746 | - | filename="gobject-2.0.c" | |
| 8747 | - | line="3174">the data if found, | |
| 10288 | + | filename="gobject/gobject.c" | |
| 10289 | + | line="4769">the data if found, | |
| 8748 | 10290 | or %NULL if no such data exists.</doc> | |
| 8749 | 10291 | <type name="gpointer" c:type="gpointer"/> | |
| 8750 | 10292 | </return-value> | |
| 8751 | 10293 | <parameters> | |
| 8752 | 10294 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8753 | 10295 | <doc xml:space="preserve" | |
| 8754 | - | filename="gobject-2.0.c" | |
| 8755 | - | line="3169">#GObject containing the associations</doc> | |
| 10296 | + | filename="gobject/gobject.c" | |
| 10297 | + | line="4764">#GObject containing the associations</doc> | |
| 8756 | 10298 | <type name="Object" c:type="GObject*"/> | |
| 8757 | 10299 | </instance-parameter> | |
| 8758 | 10300 | <parameter name="key" transfer-ownership="none"> | |
| 8759 | 10301 | <doc xml:space="preserve" | |
| 8760 | - | filename="gobject-2.0.c" | |
| 8761 | - | line="3170">name of the key for that association</doc> | |
| 10302 | + | filename="gobject/gobject.c" | |
| 10303 | + | line="4765">name of the key for that association</doc> | |
| 8762 | 10304 | <type name="utf8" c:type="const gchar*"/> | |
| 8763 | 10305 | </parameter> | |
| 8764 | 10306 | </parameters> | |
| 8765 | 10307 | </method> | |
| 8766 | 10308 | <method name="get_property" c:identifier="g_object_get_property"> | |
| 8767 | 10309 | <doc xml:space="preserve" | |
| 8768 | - | filename="gobject-2.0.c" | |
| 8769 | - | line="3179">Gets a property of an object. | |
| 10310 | + | filename="gobject/gobject.c" | |
| 10311 | + | line="3409">Gets a property of an object. | |
| 8770 | 10312 | ||
| 8771 | 10313 | The @value can be: | |
| 8772 | 10314 | ||
| @@ -8782,54 +10324,54 @@ responsible for freeing the memory by calling g_value_unset(). | |||
| 8782 | 10324 | ||
| 8783 | 10325 | Note that g_object_get_property() is really intended for language | |
| 8784 | 10326 | bindings, g_object_get() is much more convenient for C programming.</doc> | |
| 8785 | - | <source-position filename="gobject.h" line="501"/> | |
| 10327 | + | <source-position filename="gobject/gobject.h" line="493"/> | |
| 8786 | 10328 | <return-value transfer-ownership="none"> | |
| 8787 | 10329 | <type name="none" c:type="void"/> | |
| 8788 | 10330 | </return-value> | |
| 8789 | 10331 | <parameters> | |
| 8790 | 10332 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8791 | 10333 | <doc xml:space="preserve" | |
| 8792 | - | filename="gobject-2.0.c" | |
| 8793 | - | line="3181">a #GObject</doc> | |
| 10334 | + | filename="gobject/gobject.c" | |
| 10335 | + | line="3411">a #GObject</doc> | |
| 8794 | 10336 | <type name="Object" c:type="GObject*"/> | |
| 8795 | 10337 | </instance-parameter> | |
| 8796 | 10338 | <parameter name="property_name" transfer-ownership="none"> | |
| 8797 | 10339 | <doc xml:space="preserve" | |
| 8798 | - | filename="gobject-2.0.c" | |
| 8799 | - | line="3182">the name of the property to get</doc> | |
| 10340 | + | filename="gobject/gobject.c" | |
| 10341 | + | line="3412">the name of the property to get</doc> | |
| 8800 | 10342 | <type name="utf8" c:type="const gchar*"/> | |
| 8801 | 10343 | </parameter> | |
| 8802 | 10344 | <parameter name="value" transfer-ownership="none"> | |
| 8803 | 10345 | <doc xml:space="preserve" | |
| 8804 | - | filename="gobject-2.0.c" | |
| 8805 | - | line="3183">return location for the property value</doc> | |
| 10346 | + | filename="gobject/gobject.c" | |
| 10347 | + | line="3413">return location for the property value</doc> | |
| 8806 | 10348 | <type name="Value" c:type="GValue*"/> | |
| 8807 | 10349 | </parameter> | |
| 8808 | 10350 | </parameters> | |
| 8809 | 10351 | </method> | |
| 8810 | 10352 | <method name="get_qdata" c:identifier="g_object_get_qdata"> | |
| 8811 | 10353 | <doc xml:space="preserve" | |
| 8812 | - | filename="gobject-2.0.c" | |
| 8813 | - | line="3204">This function gets back user data pointers stored via | |
| 10354 | + | filename="gobject/gobject.c" | |
| 10355 | + | line="4552">This function gets back user data pointers stored via | |
| 8814 | 10356 | g_object_set_qdata().</doc> | |
| 8815 | - | <source-position filename="gobject.h" line="573"/> | |
| 10357 | + | <source-position filename="gobject/gobject.h" line="565"/> | |
| 8816 | 10358 | <return-value transfer-ownership="none" nullable="1"> | |
| 8817 | 10359 | <doc xml:space="preserve" | |
| 8818 | - | filename="gobject-2.0.c" | |
| 8819 | - | line="3212">The user data pointer set, or %NULL</doc> | |
| 10360 | + | filename="gobject/gobject.c" | |
| 10361 | + | line="4560">The user data pointer set, or %NULL</doc> | |
| 8820 | 10362 | <type name="gpointer" c:type="gpointer"/> | |
| 8821 | 10363 | </return-value> | |
| 8822 | 10364 | <parameters> | |
| 8823 | 10365 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8824 | 10366 | <doc xml:space="preserve" | |
| 8825 | - | filename="gobject-2.0.c" | |
| 8826 | - | line="3206">The GObject to get a stored user data pointer from</doc> | |
| 10367 | + | filename="gobject/gobject.c" | |
| 10368 | + | line="4554">The GObject to get a stored user data pointer from</doc> | |
| 8827 | 10369 | <type name="Object" c:type="GObject*"/> | |
| 8828 | 10370 | </instance-parameter> | |
| 8829 | 10371 | <parameter name="quark" transfer-ownership="none"> | |
| 8830 | 10372 | <doc xml:space="preserve" | |
| 8831 | - | filename="gobject-2.0.c" | |
| 8832 | - | line="3207">A #GQuark, naming the user data pointer</doc> | |
| 10373 | + | filename="gobject/gobject.c" | |
| 10374 | + | line="4555">A #GQuark, naming the user data pointer</doc> | |
| 8833 | 10375 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 8834 | 10376 | </parameter> | |
| 8835 | 10377 | </parameters> | |
| @@ -8838,35 +10380,35 @@ g_object_set_qdata().</doc> | |||
| 8838 | 10380 | c:identifier="g_object_get_valist" | |
| 8839 | 10381 | introspectable="0"> | |
| 8840 | 10382 | <doc xml:space="preserve" | |
| 8841 | - | filename="gobject-2.0.c" | |
| 8842 | - | line="3216">Gets properties of an object. | |
| 10383 | + | filename="gobject/gobject.c" | |
| 10384 | + | line="3248">Gets properties of an object. | |
| 8843 | 10385 | ||
| 8844 | 10386 | In general, a copy is made of the property contents and the caller | |
| 8845 | 10387 | is responsible for freeing the memory in the appropriate manner for | |
| 8846 | 10388 | the type, for instance by calling g_free() or g_object_unref(). | |
| 8847 | 10389 | ||
| 8848 | 10390 | See g_object_get().</doc> | |
| 8849 | - | <source-position filename="gobject.h" line="493"/> | |
| 10391 | + | <source-position filename="gobject/gobject.h" line="485"/> | |
| 8850 | 10392 | <return-value transfer-ownership="none"> | |
| 8851 | 10393 | <type name="none" c:type="void"/> | |
| 8852 | 10394 | </return-value> | |
| 8853 | 10395 | <parameters> | |
| 8854 | 10396 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8855 | 10397 | <doc xml:space="preserve" | |
| 8856 | - | filename="gobject-2.0.c" | |
| 8857 | - | line="3218">a #GObject</doc> | |
| 10398 | + | filename="gobject/gobject.c" | |
| 10399 | + | line="3250">a #GObject</doc> | |
| 8858 | 10400 | <type name="Object" c:type="GObject*"/> | |
| 8859 | 10401 | </instance-parameter> | |
| 8860 | 10402 | <parameter name="first_property_name" transfer-ownership="none"> | |
| 8861 | 10403 | <doc xml:space="preserve" | |
| 8862 | - | filename="gobject-2.0.c" | |
| 8863 | - | line="3219">name of the first property to get</doc> | |
| 10404 | + | filename="gobject/gobject.c" | |
| 10405 | + | line="3251">name of the first property to get</doc> | |
| 8864 | 10406 | <type name="utf8" c:type="const gchar*"/> | |
| 8865 | 10407 | </parameter> | |
| 8866 | 10408 | <parameter name="var_args" transfer-ownership="none"> | |
| 8867 | 10409 | <doc xml:space="preserve" | |
| 8868 | - | filename="gobject-2.0.c" | |
| 8869 | - | line="3220">return location for the first property, followed optionally by more | |
| 10410 | + | filename="gobject/gobject.c" | |
| 10411 | + | line="3252">return location for the first property, followed optionally by more | |
| 8870 | 10412 | name/return location pairs, followed by %NULL</doc> | |
| 8871 | 10413 | <type name="va_list" c:type="va_list"/> | |
| 8872 | 10414 | </parameter> | |
| @@ -8874,40 +10416,40 @@ See g_object_get().</doc> | |||
| 8874 | 10416 | </method> | |
| 8875 | 10417 | <method name="getv" c:identifier="g_object_getv" version="2.54"> | |
| 8876 | 10418 | <doc xml:space="preserve" | |
| 8877 | - | filename="gobject-2.0.c" | |
| 8878 | - | line="3233">Gets @n_properties properties for an @object. | |
| 10419 | + | filename="gobject/gobject.c" | |
| 10420 | + | line="3201">Gets @n_properties properties for an @object. | |
| 8879 | 10421 | Obtained properties will be set to @values. All properties must be valid. | |
| 8880 | 10422 | Warnings will be emitted and undefined behaviour may result if invalid | |
| 8881 | 10423 | properties are passed in.</doc> | |
| 8882 | - | <source-position filename="gobject.h" line="488"/> | |
| 10424 | + | <source-position filename="gobject/gobject.h" line="480"/> | |
| 8883 | 10425 | <return-value transfer-ownership="none"> | |
| 8884 | 10426 | <type name="none" c:type="void"/> | |
| 8885 | 10427 | </return-value> | |
| 8886 | 10428 | <parameters> | |
| 8887 | 10429 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8888 | 10430 | <doc xml:space="preserve" | |
| 8889 | - | filename="gobject-2.0.c" | |
| 8890 | - | line="3235">a #GObject</doc> | |
| 10431 | + | filename="gobject/gobject.c" | |
| 10432 | + | line="3203">a #GObject</doc> | |
| 8891 | 10433 | <type name="Object" c:type="GObject*"/> | |
| 8892 | 10434 | </instance-parameter> | |
| 8893 | 10435 | <parameter name="n_properties" transfer-ownership="none"> | |
| 8894 | 10436 | <doc xml:space="preserve" | |
| 8895 | - | filename="gobject-2.0.c" | |
| 8896 | - | line="3236">the number of properties</doc> | |
| 10437 | + | filename="gobject/gobject.c" | |
| 10438 | + | line="3204">the number of properties</doc> | |
| 8897 | 10439 | <type name="guint" c:type="guint"/> | |
| 8898 | 10440 | </parameter> | |
| 8899 | 10441 | <parameter name="names" transfer-ownership="none"> | |
| 8900 | 10442 | <doc xml:space="preserve" | |
| 8901 | - | filename="gobject-2.0.c" | |
| 8902 | - | line="3237">the names of each property to get</doc> | |
| 10443 | + | filename="gobject/gobject.c" | |
| 10444 | + | line="3205">the names of each property to get</doc> | |
| 8903 | 10445 | <array length="0" zero-terminated="0" c:type="const gchar**"> | |
| 8904 | 10446 | <type name="utf8" c:type="gchar*"/> | |
| 8905 | 10447 | </array> | |
| 8906 | 10448 | </parameter> | |
| 8907 | 10449 | <parameter name="values" transfer-ownership="none"> | |
| 8908 | 10450 | <doc xml:space="preserve" | |
| 8909 | - | filename="gobject-2.0.c" | |
| 8910 | - | line="3238">the values of each property to get</doc> | |
| 10451 | + | filename="gobject/gobject.c" | |
| 10452 | + | line="3206">the values of each property to get</doc> | |
| 8911 | 10453 | <array length="0" zero-terminated="0" c:type="GValue*"> | |
| 8912 | 10454 | <type name="Value" c:type="GValue"/> | |
| 8913 | 10455 | </array> | |
| @@ -8918,28 +10460,28 @@ properties are passed in.</doc> | |||
| 8918 | 10460 | c:identifier="g_object_is_floating" | |
| 8919 | 10461 | version="2.10"> | |
| 8920 | 10462 | <doc xml:space="preserve" | |
| 8921 | - | filename="gobject-2.0.c" | |
| 8922 | - | line="3316">Checks whether @object has a [floating][floating-ref] reference.</doc> | |
| 8923 | - | <source-position filename="gobject.h" line="515"/> | |
| 10463 | + | filename="gobject/gobject.c" | |
| 10464 | + | line="3844">Checks whether @object has a [floating][floating-ref] reference.</doc> | |
| 10465 | + | <source-position filename="gobject/gobject.h" line="507"/> | |
| 8924 | 10466 | <return-value transfer-ownership="none"> | |
| 8925 | 10467 | <doc xml:space="preserve" | |
| 8926 | - | filename="gobject-2.0.c" | |
| 8927 | - | line="3323">%TRUE if @object has a floating reference</doc> | |
| 10468 | + | filename="gobject/gobject.c" | |
| 10469 | + | line="3852">%TRUE if @object has a floating reference</doc> | |
| 8928 | 10470 | <type name="gboolean" c:type="gboolean"/> | |
| 8929 | 10471 | </return-value> | |
| 8930 | 10472 | <parameters> | |
| 8931 | 10473 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8932 | 10474 | <doc xml:space="preserve" | |
| 8933 | - | filename="gobject-2.0.c" | |
| 8934 | - | line="3318">a #GObject</doc> | |
| 10475 | + | filename="gobject/gobject.c" | |
| 10476 | + | line="3846">a #GObject</doc> | |
| 8935 | 10477 | <type name="Object" c:type="gpointer"/> | |
| 8936 | 10478 | </instance-parameter> | |
| 8937 | 10479 | </parameters> | |
| 8938 | 10480 | </method> | |
| 8939 | 10481 | <method name="notify" c:identifier="g_object_notify"> | |
| 8940 | 10482 | <doc xml:space="preserve" | |
| 8941 | - | filename="gobject-2.0.c" | |
| 8942 | - | line="3420">Emits a "notify" signal for the property @property_name on @object. | |
| 10483 | + | filename="gobject/gobject.c" | |
| 10484 | + | line="1966">Emits a "notify" signal for the property @property_name on @object. | |
| 8943 | 10485 | ||
| 8944 | 10486 | When possible, eg. when signaling a property change from within the class | |
| 8945 | 10487 | that registered the property, you should use g_object_notify_by_pspec() | |
| @@ -8949,21 +10491,21 @@ Note that emission of the notify signal may be blocked with | |||
| 8949 | 10491 | g_object_freeze_notify(). In this case, the signal emissions are queued | |
| 8950 | 10492 | and will be emitted (in reverse order) when g_object_thaw_notify() is | |
| 8951 | 10493 | called.</doc> | |
| 8952 | - | <source-position filename="gobject.h" line="507"/> | |
| 10494 | + | <source-position filename="gobject/gobject.h" line="499"/> | |
| 8953 | 10495 | <return-value transfer-ownership="none"> | |
| 8954 | 10496 | <type name="none" c:type="void"/> | |
| 8955 | 10497 | </return-value> | |
| 8956 | 10498 | <parameters> | |
| 8957 | 10499 | <instance-parameter name="object" transfer-ownership="none"> | |
| 8958 | 10500 | <doc xml:space="preserve" | |
| 8959 | - | filename="gobject-2.0.c" | |
| 8960 | - | line="3422">a #GObject</doc> | |
| 10501 | + | filename="gobject/gobject.c" | |
| 10502 | + | line="1968">a #GObject</doc> | |
| 8961 | 10503 | <type name="Object" c:type="GObject*"/> | |
| 8962 | 10504 | </instance-parameter> | |
| 8963 | 10505 | <parameter name="property_name" transfer-ownership="none"> | |
| 8964 | 10506 | <doc xml:space="preserve" | |
| 8965 | - | filename="gobject-2.0.c" | |
| 8966 | - | line="3423">the name of a property installed on the class of @object.</doc> | |
| 10507 | + | filename="gobject/gobject.c" | |
| 10508 | + | line="1969">the name of a property installed on the class of @object.</doc> | |
| 8967 | 10509 | <type name="utf8" c:type="const gchar*"/> | |
| 8968 | 10510 | </parameter> | |
| 8969 | 10511 | </parameters> | |
| @@ -8972,8 +10514,8 @@ called.</doc> | |||
| 8972 | 10514 | c:identifier="g_object_notify_by_pspec" | |
| 8973 | 10515 | version="2.26"> | |
| 8974 | 10516 | <doc xml:space="preserve" | |
| 8975 | - | filename="gobject-2.0.c" | |
| 8976 | - | line="3438">Emits a "notify" signal for the property specified by @pspec on @object. | |
| 10517 | + | filename="gobject/gobject.c" | |
| 10518 | + | line="2009">Emits a "notify" signal for the property specified by @pspec on @object. | |
| 8977 | 10519 | ||
| 8978 | 10520 | This function omits the property name lookup, hence it is faster than | |
| 8979 | 10521 | g_object_notify(). | |
| @@ -8984,22 +10526,21 @@ instead, is to store the GParamSpec used with | |||
| 8984 | 10526 | g_object_class_install_property() inside a static array, e.g.: | |
| 8985 | 10527 | ||
| 8986 | 10528 | |[<!-- language="C" --> | |
| 8987 | - | enum | |
| 10529 | + | typedef enum | |
| 8988 | 10530 | { | |
| 8989 | - | PROP_0, | |
| 8990 | - | PROP_FOO, | |
| 10531 | + | PROP_FOO = 1, | |
| 8991 | 10532 | PROP_LAST | |
| 8992 | - | }; | |
| 10533 | + | } MyObjectProperty; | |
| 8993 | 10534 | ||
| 8994 | 10535 | static GParamSpec *properties[PROP_LAST]; | |
| 8995 | 10536 | ||
| 8996 | 10537 | static void | |
| 8997 | 10538 | my_object_class_init (MyObjectClass *klass) | |
| 8998 | 10539 | { | |
| 8999 | - | properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo", | |
| 10540 | + | properties[PROP_FOO] = g_param_spec_int ("foo", NULL, NULL, | |
| 9000 | 10541 | 0, 100, | |
| 9001 | 10542 | 50, | |
| 9002 | - | G_PARAM_READWRITE); | |
| 10543 | + | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); | |
| 9003 | 10544 | g_object_class_install_property (gobject_class, | |
| 9004 | 10545 | PROP_FOO, | |
| 9005 | 10546 | properties[PROP_FOO]); | |
| @@ -9011,54 +10552,54 @@ and then notify a change on the "foo" property with: | |||
| 9011 | 10552 | |[<!-- language="C" --> | |
| 9012 | 10553 | g_object_notify_by_pspec (self, properties[PROP_FOO]); | |
| 9013 | 10554 | ]|</doc> | |
| 9014 | - | <source-position filename="gobject.h" line="510"/> | |
| 10555 | + | <source-position filename="gobject/gobject.h" line="502"/> | |
| 9015 | 10556 | <return-value transfer-ownership="none"> | |
| 9016 | 10557 | <type name="none" c:type="void"/> | |
| 9017 | 10558 | </return-value> | |
| 9018 | 10559 | <parameters> | |
| 9019 | 10560 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9020 | 10561 | <doc xml:space="preserve" | |
| 9021 | - | filename="gobject-2.0.c" | |
| 9022 | - | line="3440">a #GObject</doc> | |
| 10562 | + | filename="gobject/gobject.c" | |
| 10563 | + | line="2011">a #GObject</doc> | |
| 9023 | 10564 | <type name="Object" c:type="GObject*"/> | |
| 9024 | 10565 | </instance-parameter> | |
| 9025 | 10566 | <parameter name="pspec" transfer-ownership="none"> | |
| 9026 | 10567 | <doc xml:space="preserve" | |
| 9027 | - | filename="gobject-2.0.c" | |
| 9028 | - | line="3441">the #GParamSpec of a property installed on the class of @object.</doc> | |
| 10568 | + | filename="gobject/gobject.c" | |
| 10569 | + | line="2012">the #GParamSpec of a property installed on the class of @object.</doc> | |
| 9029 | 10570 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 9030 | 10571 | </parameter> | |
| 9031 | 10572 | </parameters> | |
| 9032 | 10573 | </method> | |
| 9033 | 10574 | <method name="ref" c:identifier="g_object_ref"> | |
| 9034 | 10575 | <doc xml:space="preserve" | |
| 9035 | - | filename="gobject-2.0.c" | |
| 9036 | - | line="3486">Increases the reference count of @object. | |
| 10576 | + | filename="gobject/gobject.c" | |
| 10577 | + | line="4243">Increases the reference count of @object. | |
| 9037 | 10578 | ||
| 9038 | 10579 | Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type | |
| 9039 | 10580 | of @object will be propagated to the return type (using the GCC typeof() | |
| 9040 | 10581 | extension), so any casting the caller needs to do on the return type must be | |
| 9041 | 10582 | explicit.</doc> | |
| 9042 | - | <source-position filename="gobject.h" line="521"/> | |
| 10583 | + | <source-position filename="gobject/gobject.h" line="513"/> | |
| 9043 | 10584 | <return-value transfer-ownership="none"> | |
| 9044 | 10585 | <doc xml:space="preserve" | |
| 9045 | - | filename="gobject-2.0.c" | |
| 9046 | - | line="3497">the same @object</doc> | |
| 10586 | + | filename="gobject/gobject.c" | |
| 10587 | + | line="4254">the same @object</doc> | |
| 9047 | 10588 | <type name="Object" c:type="gpointer"/> | |
| 9048 | 10589 | </return-value> | |
| 9049 | 10590 | <parameters> | |
| 9050 | 10591 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9051 | 10592 | <doc xml:space="preserve" | |
| 9052 | - | filename="gobject-2.0.c" | |
| 9053 | - | line="3488">a #GObject</doc> | |
| 10593 | + | filename="gobject/gobject.c" | |
| 10594 | + | line="4245">a #GObject</doc> | |
| 9054 | 10595 | <type name="Object" c:type="gpointer"/> | |
| 9055 | 10596 | </instance-parameter> | |
| 9056 | 10597 | </parameters> | |
| 9057 | 10598 | </method> | |
| 9058 | 10599 | <method name="ref_sink" c:identifier="g_object_ref_sink" version="2.10"> | |
| 9059 | 10600 | <doc xml:space="preserve" | |
| 9060 | - | filename="gobject-2.0.c" | |
| 9061 | - | line="3501">Increase the reference count of @object, and possibly remove the | |
| 10601 | + | filename="gobject/gobject.c" | |
| 10602 | + | line="3862">Increase the reference count of @object, and possibly remove the | |
| 9062 | 10603 | [floating][floating-ref] reference, if @object has a floating reference. | |
| 9063 | 10604 | ||
| 9064 | 10605 | In other words, if the object is floating, then this call "assumes | |
| @@ -9069,18 +10610,18 @@ adds a new normal reference increasing the reference count by one. | |||
| 9069 | 10610 | ||
| 9070 | 10611 | Since GLib 2.56, the type of @object will be propagated to the return type | |
| 9071 | 10612 | under the same conditions as for g_object_ref().</doc> | |
| 9072 | - | <source-position filename="gobject.h" line="517"/> | |
| 10613 | + | <source-position filename="gobject/gobject.h" line="509"/> | |
| 9073 | 10614 | <return-value transfer-ownership="none"> | |
| 9074 | 10615 | <doc xml:space="preserve" | |
| 9075 | - | filename="gobject-2.0.c" | |
| 9076 | - | line="3518">@object</doc> | |
| 10616 | + | filename="gobject/gobject.c" | |
| 10617 | + | line="3880">@object</doc> | |
| 9077 | 10618 | <type name="Object" c:type="gpointer"/> | |
| 9078 | 10619 | </return-value> | |
| 9079 | 10620 | <parameters> | |
| 9080 | 10621 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9081 | 10622 | <doc xml:space="preserve" | |
| 9082 | - | filename="gobject-2.0.c" | |
| 9083 | - | line="3503">a #GObject</doc> | |
| 10623 | + | filename="gobject/gobject.c" | |
| 10624 | + | line="3864">a #GObject</doc> | |
| 9084 | 10625 | <type name="Object" c:type="gpointer"/> | |
| 9085 | 10626 | </instance-parameter> | |
| 9086 | 10627 | </parameters> | |
| @@ -9090,24 +10631,29 @@ under the same conditions as for g_object_ref().</doc> | |||
| 9090 | 10631 | version="2.8" | |
| 9091 | 10632 | introspectable="0"> | |
| 9092 | 10633 | <doc xml:space="preserve" | |
| 9093 | - | filename="gobject-2.0.c" | |
| 9094 | - | line="3522">Removes a reference added with g_object_add_toggle_ref(). The | |
| 9095 | - | reference count of the object is decreased by one.</doc> | |
| 9096 | - | <source-position filename="gobject.h" line="568"/> | |
| 10634 | + | filename="gobject/gobject.c" | |
| 10635 | + | line="4131">Removes a reference added with g_object_add_toggle_ref(). The | |
| 10636 | + | reference count of the object is decreased by one. | |
| 10637 | + | ||
| 10638 | + | Note that if you unref the object on another thread, then @notify might | |
| 10639 | + | still be invoked after g_object_remove_toggle_ref(), and the object argument | |
| 10640 | + | might be a dangling pointer. If the object is destroyed on other threads, | |
| 10641 | + | you must take care of that yourself.</doc> | |
| 10642 | + | <source-position filename="gobject/gobject.h" line="560"/> | |
| 9097 | 10643 | <return-value transfer-ownership="none"> | |
| 9098 | 10644 | <type name="none" c:type="void"/> | |
| 9099 | 10645 | </return-value> | |
| 9100 | 10646 | <parameters> | |
| 9101 | 10647 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9102 | 10648 | <doc xml:space="preserve" | |
| 9103 | - | filename="gobject-2.0.c" | |
| 9104 | - | line="3524">a #GObject</doc> | |
| 10649 | + | filename="gobject/gobject.c" | |
| 10650 | + | line="4133">a #GObject</doc> | |
| 9105 | 10651 | <type name="Object" c:type="GObject*"/> | |
| 9106 | 10652 | </instance-parameter> | |
| 9107 | 10653 | <parameter name="notify" transfer-ownership="none" closure="1"> | |
| 9108 | 10654 | <doc xml:space="preserve" | |
| 9109 | - | filename="gobject-2.0.c" | |
| 9110 | - | line="3525">a function to call when this reference is the | |
| 10655 | + | filename="gobject/gobject.c" | |
| 10656 | + | line="4134">a function to call when this reference is the | |
| 9111 | 10657 | last reference to the object, or is no longer | |
| 9112 | 10658 | the last reference.</doc> | |
| 9113 | 10659 | <type name="ToggleNotify" c:type="GToggleNotify"/> | |
| @@ -9117,8 +10663,8 @@ reference count of the object is decreased by one.</doc> | |||
| 9117 | 10663 | nullable="1" | |
| 9118 | 10664 | allow-none="1"> | |
| 9119 | 10665 | <doc xml:space="preserve" | |
| 9120 | - | filename="gobject-2.0.c" | |
| 9121 | - | line="3528">data to pass to @notify, or %NULL to | |
| 10666 | + | filename="gobject/gobject.c" | |
| 10667 | + | line="4137">data to pass to @notify, or %NULL to | |
| 9122 | 10668 | match any toggle refs with the @notify argument.</doc> | |
| 9123 | 10669 | <type name="gpointer" c:type="gpointer"/> | |
| 9124 | 10670 | </parameter> | |
| @@ -9128,19 +10674,19 @@ reference count of the object is decreased by one.</doc> | |||
| 9128 | 10674 | c:identifier="g_object_remove_weak_pointer" | |
| 9129 | 10675 | introspectable="0"> | |
| 9130 | 10676 | <doc xml:space="preserve" | |
| 9131 | - | filename="gobject-2.0.c" | |
| 9132 | - | line="3538">Removes a weak reference from @object that was previously added | |
| 10677 | + | filename="gobject/gobject.c" | |
| 10678 | + | line="3794">Removes a weak reference from @object that was previously added | |
| 9133 | 10679 | using g_object_add_weak_pointer(). The @weak_pointer_location has | |
| 9134 | 10680 | to match the one used with g_object_add_weak_pointer().</doc> | |
| 9135 | - | <source-position filename="gobject.h" line="536"/> | |
| 10681 | + | <source-position filename="gobject/gobject.h" line="528"/> | |
| 9136 | 10682 | <return-value transfer-ownership="none"> | |
| 9137 | 10683 | <type name="none" c:type="void"/> | |
| 9138 | 10684 | </return-value> | |
| 9139 | 10685 | <parameters> | |
| 9140 | 10686 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9141 | 10687 | <doc xml:space="preserve" | |
| 9142 | - | filename="gobject-2.0.c" | |
| 9143 | - | line="3540">The object that is weak referenced.</doc> | |
| 10688 | + | filename="gobject/gobject.c" | |
| 10689 | + | line="3796">The object that is weak referenced.</doc> | |
| 9144 | 10690 | <type name="Object" c:type="GObject*"/> | |
| 9145 | 10691 | </instance-parameter> | |
| 9146 | 10692 | <parameter name="weak_pointer_location" | |
| @@ -9148,8 +10694,8 @@ to match the one used with g_object_add_weak_pointer().</doc> | |||
| 9148 | 10694 | caller-allocates="0" | |
| 9149 | 10695 | transfer-ownership="full"> | |
| 9150 | 10696 | <doc xml:space="preserve" | |
| 9151 | - | filename="gobject-2.0.c" | |
| 9152 | - | line="3541">The memory address | |
| 10697 | + | filename="gobject/gobject.c" | |
| 10698 | + | line="3797">The memory address | |
| 9153 | 10699 | of a pointer.</doc> | |
| 9154 | 10700 | <type name="gpointer" c:type="gpointer*"/> | |
| 9155 | 10701 | </parameter> | |
| @@ -9160,8 +10706,8 @@ to match the one used with g_object_add_weak_pointer().</doc> | |||
| 9160 | 10706 | version="2.34" | |
| 9161 | 10707 | introspectable="0"> | |
| 9162 | 10708 | <doc xml:space="preserve" | |
| 9163 | - | filename="gobject-2.0.c" | |
| 9164 | - | line="3550">Compares the user data for the key @key on @object with | |
| 10709 | + | filename="gobject/gobject.c" | |
| 10710 | + | line="4853">Compares the user data for the key @key on @object with | |
| 9165 | 10711 | @oldval, and if they are the same, replaces @oldval with | |
| 9166 | 10712 | @newval. | |
| 9167 | 10713 | ||
| @@ -9177,25 +10723,25 @@ should not destroy the object in the normal way. | |||
| 9177 | 10723 | ||
| 9178 | 10724 | See g_object_set_data() for guidance on using a small, bounded set of values | |
| 9179 | 10725 | for @key.</doc> | |
| 9180 | - | <source-position filename="gobject.h" line="623"/> | |
| 10726 | + | <source-position filename="gobject/gobject.h" line="615"/> | |
| 9181 | 10727 | <return-value transfer-ownership="none"> | |
| 9182 | 10728 | <doc xml:space="preserve" | |
| 9183 | - | filename="gobject-2.0.c" | |
| 9184 | - | line="3576">%TRUE if the existing value for @key was replaced | |
| 10729 | + | filename="gobject/gobject.c" | |
| 10730 | + | line="4879">%TRUE if the existing value for @key was replaced | |
| 9185 | 10731 | by @newval, %FALSE otherwise.</doc> | |
| 9186 | 10732 | <type name="gboolean" c:type="gboolean"/> | |
| 9187 | 10733 | </return-value> | |
| 9188 | 10734 | <parameters> | |
| 9189 | 10735 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9190 | 10736 | <doc xml:space="preserve" | |
| 9191 | - | filename="gobject-2.0.c" | |
| 9192 | - | line="3552">the #GObject to store user data on</doc> | |
| 10737 | + | filename="gobject/gobject.c" | |
| 10738 | + | line="4855">the #GObject to store user data on</doc> | |
| 9193 | 10739 | <type name="Object" c:type="GObject*"/> | |
| 9194 | 10740 | </instance-parameter> | |
| 9195 | 10741 | <parameter name="key" transfer-ownership="none"> | |
| 9196 | 10742 | <doc xml:space="preserve" | |
| 9197 | - | filename="gobject-2.0.c" | |
| 9198 | - | line="3553">a string, naming the user data pointer</doc> | |
| 10743 | + | filename="gobject/gobject.c" | |
| 10744 | + | line="4856">a string, naming the user data pointer</doc> | |
| 9199 | 10745 | <type name="utf8" c:type="const gchar*"/> | |
| 9200 | 10746 | </parameter> | |
| 9201 | 10747 | <parameter name="oldval" | |
| @@ -9203,8 +10749,8 @@ for @key.</doc> | |||
| 9203 | 10749 | nullable="1" | |
| 9204 | 10750 | allow-none="1"> | |
| 9205 | 10751 | <doc xml:space="preserve" | |
| 9206 | - | filename="gobject-2.0.c" | |
| 9207 | - | line="3554">the old value to compare against</doc> | |
| 10752 | + | filename="gobject/gobject.c" | |
| 10753 | + | line="4857">the old value to compare against</doc> | |
| 9208 | 10754 | <type name="gpointer" c:type="gpointer"/> | |
| 9209 | 10755 | </parameter> | |
| 9210 | 10756 | <parameter name="newval" | |
| @@ -9212,8 +10758,8 @@ for @key.</doc> | |||
| 9212 | 10758 | nullable="1" | |
| 9213 | 10759 | allow-none="1"> | |
| 9214 | 10760 | <doc xml:space="preserve" | |
| 9215 | - | filename="gobject-2.0.c" | |
| 9216 | - | line="3555">the new value</doc> | |
| 10761 | + | filename="gobject/gobject.c" | |
| 10762 | + | line="4858">the new value</doc> | |
| 9217 | 10763 | <type name="gpointer" c:type="gpointer"/> | |
| 9218 | 10764 | </parameter> | |
| 9219 | 10765 | <parameter name="destroy" | |
| @@ -9222,8 +10768,8 @@ for @key.</doc> | |||
| 9222 | 10768 | allow-none="1" | |
| 9223 | 10769 | scope="async"> | |
| 9224 | 10770 | <doc xml:space="preserve" | |
| 9225 | - | filename="gobject-2.0.c" | |
| 9226 | - | line="3556">a destroy notify for the new value</doc> | |
| 10771 | + | filename="gobject/gobject.c" | |
| 10772 | + | line="4859">a destroy notify for the new value</doc> | |
| 9227 | 10773 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/> | |
| 9228 | 10774 | </parameter> | |
| 9229 | 10775 | <parameter name="old_destroy" | |
| @@ -9234,8 +10780,8 @@ for @key.</doc> | |||
| 9234 | 10780 | allow-none="1" | |
| 9235 | 10781 | scope="async"> | |
| 9236 | 10782 | <doc xml:space="preserve" | |
| 9237 | - | filename="gobject-2.0.c" | |
| 9238 | - | line="3557">destroy notify for the existing value</doc> | |
| 10783 | + | filename="gobject/gobject.c" | |
| 10784 | + | line="4860">destroy notify for the existing value</doc> | |
| 9239 | 10785 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify*"/> | |
| 9240 | 10786 | </parameter> | |
| 9241 | 10787 | </parameters> | |
| @@ -9245,8 +10791,8 @@ for @key.</doc> | |||
| 9245 | 10791 | version="2.34" | |
| 9246 | 10792 | introspectable="0"> | |
| 9247 | 10793 | <doc xml:space="preserve" | |
| 9248 | - | filename="gobject-2.0.c" | |
| 9249 | - | line="3582">Compares the user data for the key @quark on @object with | |
| 10794 | + | filename="gobject/gobject.c" | |
| 10795 | + | line="4638">Compares the user data for the key @quark on @object with | |
| 9250 | 10796 | @oldval, and if they are the same, replaces @oldval with | |
| 9251 | 10797 | @newval. | |
| 9252 | 10798 | ||
| @@ -9259,25 +10805,25 @@ the registered destroy notify for it (passed out in @old_destroy). | |||
| 9259 | 10805 | It’s up to the caller to free this as needed, which may | |
| 9260 | 10806 | or may not include using @old_destroy as sometimes replacement | |
| 9261 | 10807 | should not destroy the object in the normal way.</doc> | |
| 9262 | - | <source-position filename="gobject.h" line="594"/> | |
| 10808 | + | <source-position filename="gobject/gobject.h" line="586"/> | |
| 9263 | 10809 | <return-value transfer-ownership="none"> | |
| 9264 | 10810 | <doc xml:space="preserve" | |
| 9265 | - | filename="gobject-2.0.c" | |
| 9266 | - | line="3605">%TRUE if the existing value for @quark was replaced | |
| 10811 | + | filename="gobject/gobject.c" | |
| 10812 | + | line="4661">%TRUE if the existing value for @quark was replaced | |
| 9267 | 10813 | by @newval, %FALSE otherwise.</doc> | |
| 9268 | 10814 | <type name="gboolean" c:type="gboolean"/> | |
| 9269 | 10815 | </return-value> | |
| 9270 | 10816 | <parameters> | |
| 9271 | 10817 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9272 | 10818 | <doc xml:space="preserve" | |
| 9273 | - | filename="gobject-2.0.c" | |
| 9274 | - | line="3584">the #GObject to store user data on</doc> | |
| 10819 | + | filename="gobject/gobject.c" | |
| 10820 | + | line="4640">the #GObject to store user data on</doc> | |
| 9275 | 10821 | <type name="Object" c:type="GObject*"/> | |
| 9276 | 10822 | </instance-parameter> | |
| 9277 | 10823 | <parameter name="quark" transfer-ownership="none"> | |
| 9278 | 10824 | <doc xml:space="preserve" | |
| 9279 | - | filename="gobject-2.0.c" | |
| 9280 | - | line="3585">a #GQuark, naming the user data pointer</doc> | |
| 10825 | + | filename="gobject/gobject.c" | |
| 10826 | + | line="4641">a #GQuark, naming the user data pointer</doc> | |
| 9281 | 10827 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 9282 | 10828 | </parameter> | |
| 9283 | 10829 | <parameter name="oldval" | |
| @@ -9285,8 +10831,8 @@ should not destroy the object in the normal way.</doc> | |||
| 9285 | 10831 | nullable="1" | |
| 9286 | 10832 | allow-none="1"> | |
| 9287 | 10833 | <doc xml:space="preserve" | |
| 9288 | - | filename="gobject-2.0.c" | |
| 9289 | - | line="3586">the old value to compare against</doc> | |
| 10834 | + | filename="gobject/gobject.c" | |
| 10835 | + | line="4642">the old value to compare against</doc> | |
| 9290 | 10836 | <type name="gpointer" c:type="gpointer"/> | |
| 9291 | 10837 | </parameter> | |
| 9292 | 10838 | <parameter name="newval" | |
| @@ -9294,8 +10840,8 @@ should not destroy the object in the normal way.</doc> | |||
| 9294 | 10840 | nullable="1" | |
| 9295 | 10841 | allow-none="1"> | |
| 9296 | 10842 | <doc xml:space="preserve" | |
| 9297 | - | filename="gobject-2.0.c" | |
| 9298 | - | line="3587">the new value</doc> | |
| 10843 | + | filename="gobject/gobject.c" | |
| 10844 | + | line="4643">the new value</doc> | |
| 9299 | 10845 | <type name="gpointer" c:type="gpointer"/> | |
| 9300 | 10846 | </parameter> | |
| 9301 | 10847 | <parameter name="destroy" | |
| @@ -9304,8 +10850,8 @@ should not destroy the object in the normal way.</doc> | |||
| 9304 | 10850 | allow-none="1" | |
| 9305 | 10851 | scope="async"> | |
| 9306 | 10852 | <doc xml:space="preserve" | |
| 9307 | - | filename="gobject-2.0.c" | |
| 9308 | - | line="3588">a destroy notify for the new value</doc> | |
| 10853 | + | filename="gobject/gobject.c" | |
| 10854 | + | line="4644">a destroy notify for the new value</doc> | |
| 9309 | 10855 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/> | |
| 9310 | 10856 | </parameter> | |
| 9311 | 10857 | <parameter name="old_destroy" | |
| @@ -9316,36 +10862,36 @@ should not destroy the object in the normal way.</doc> | |||
| 9316 | 10862 | allow-none="1" | |
| 9317 | 10863 | scope="async"> | |
| 9318 | 10864 | <doc xml:space="preserve" | |
| 9319 | - | filename="gobject-2.0.c" | |
| 9320 | - | line="3589">destroy notify for the existing value</doc> | |
| 10865 | + | filename="gobject/gobject.c" | |
| 10866 | + | line="4645">destroy notify for the existing value</doc> | |
| 9321 | 10867 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify*"/> | |
| 9322 | 10868 | </parameter> | |
| 9323 | 10869 | </parameters> | |
| 9324 | 10870 | </method> | |
| 9325 | 10871 | <method name="run_dispose" c:identifier="g_object_run_dispose"> | |
| 9326 | 10872 | <doc xml:space="preserve" | |
| 9327 | - | filename="gobject-2.0.c" | |
| 9328 | - | line="3611">Releases all references to other objects. This can be used to break | |
| 10873 | + | filename="gobject/gobject.c" | |
| 10874 | + | line="1854">Releases all references to other objects. This can be used to break | |
| 9329 | 10875 | reference cycles. | |
| 9330 | 10876 | ||
| 9331 | 10877 | This function should only be called from object system implementations.</doc> | |
| 9332 | - | <source-position filename="gobject.h" line="661"/> | |
| 10878 | + | <source-position filename="gobject/gobject.h" line="653"/> | |
| 9333 | 10879 | <return-value transfer-ownership="none"> | |
| 9334 | 10880 | <type name="none" c:type="void"/> | |
| 9335 | 10881 | </return-value> | |
| 9336 | 10882 | <parameters> | |
| 9337 | 10883 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9338 | 10884 | <doc xml:space="preserve" | |
| 9339 | - | filename="gobject-2.0.c" | |
| 9340 | - | line="3613">a #GObject</doc> | |
| 10885 | + | filename="gobject/gobject.c" | |
| 10886 | + | line="1856">a #GObject</doc> | |
| 9341 | 10887 | <type name="Object" c:type="GObject*"/> | |
| 9342 | 10888 | </instance-parameter> | |
| 9343 | 10889 | </parameters> | |
| 9344 | 10890 | </method> | |
| 9345 | 10891 | <method name="set" c:identifier="g_object_set" introspectable="0"> | |
| 9346 | 10892 | <doc xml:space="preserve" | |
| 9347 | - | filename="gobject-2.0.c" | |
| 9348 | - | line="3622">Sets properties on an object. | |
| 10893 | + | filename="gobject/gobject.c" | |
| 10894 | + | line="3311">Sets properties on an object. | |
| 9349 | 10895 | ||
| 9350 | 10896 | The same caveats about passing integer literals as varargs apply as with | |
| 9351 | 10897 | g_object_new(). In particular, any integer literals set as the values for | |
| @@ -9355,27 +10901,27 @@ properties of type #gint64 or #guint64 must be 64 bits wide, using the | |||
| 9355 | 10901 | Note that the "notify" signals are queued and only emitted (in | |
| 9356 | 10902 | reverse order) after all properties have been set. See | |
| 9357 | 10903 | g_object_freeze_notify().</doc> | |
| 9358 | - | <source-position filename="gobject.h" line="463"/> | |
| 10904 | + | <source-position filename="gobject/gobject.h" line="455"/> | |
| 9359 | 10905 | <return-value transfer-ownership="none"> | |
| 9360 | 10906 | <type name="none" c:type="void"/> | |
| 9361 | 10907 | </return-value> | |
| 9362 | 10908 | <parameters> | |
| 9363 | 10909 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9364 | 10910 | <doc xml:space="preserve" | |
| 9365 | - | filename="gobject-2.0.c" | |
| 9366 | - | line="3624">a #GObject</doc> | |
| 10911 | + | filename="gobject/gobject.c" | |
| 10912 | + | line="3313">a #GObject</doc> | |
| 9367 | 10913 | <type name="Object" c:type="gpointer"/> | |
| 9368 | 10914 | </instance-parameter> | |
| 9369 | 10915 | <parameter name="first_property_name" transfer-ownership="none"> | |
| 9370 | 10916 | <doc xml:space="preserve" | |
| 9371 | - | filename="gobject-2.0.c" | |
| 9372 | - | line="3625">name of the first property to set</doc> | |
| 10917 | + | filename="gobject/gobject.c" | |
| 10918 | + | line="3314">name of the first property to set</doc> | |
| 9373 | 10919 | <type name="utf8" c:type="const gchar*"/> | |
| 9374 | 10920 | </parameter> | |
| 9375 | 10921 | <parameter name="..." transfer-ownership="none"> | |
| 9376 | 10922 | <doc xml:space="preserve" | |
| 9377 | - | filename="gobject-2.0.c" | |
| 9378 | - | line="3626">value for the first property, followed optionally by more | |
| 10923 | + | filename="gobject/gobject.c" | |
| 10924 | + | line="3315">value for the first property, followed optionally by more | |
| 9379 | 10925 | name/value pairs, followed by %NULL</doc> | |
| 9380 | 10926 | <varargs/> | |
| 9381 | 10927 | </parameter> | |
| @@ -9383,8 +10929,8 @@ g_object_freeze_notify().</doc> | |||
| 9383 | 10929 | </method> | |
| 9384 | 10930 | <method name="set_data" c:identifier="g_object_set_data"> | |
| 9385 | 10931 | <doc xml:space="preserve" | |
| 9386 | - | filename="gobject-2.0.c" | |
| 9387 | - | line="3642">Each object carries around a table of associations from | |
| 10932 | + | filename="gobject/gobject.c" | |
| 10933 | + | line="4782">Each object carries around a table of associations from | |
| 9388 | 10934 | strings to pointers. This function lets you set an association. | |
| 9389 | 10935 | ||
| 9390 | 10936 | If the object already had an association with that name, | |
| @@ -9394,21 +10940,21 @@ Internally, the @key is converted to a #GQuark using g_quark_from_string(). | |||
| 9394 | 10940 | This means a copy of @key is kept permanently (even after @object has been | |
| 9395 | 10941 | finalized) — so it is recommended to only use a small, bounded set of values | |
| 9396 | 10942 | for @key in your program, to avoid the #GQuark storage growing unbounded.</doc> | |
| 9397 | - | <source-position filename="gobject.h" line="605"/> | |
| 10943 | + | <source-position filename="gobject/gobject.h" line="597"/> | |
| 9398 | 10944 | <return-value transfer-ownership="none"> | |
| 9399 | 10945 | <type name="none" c:type="void"/> | |
| 9400 | 10946 | </return-value> | |
| 9401 | 10947 | <parameters> | |
| 9402 | 10948 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9403 | 10949 | <doc xml:space="preserve" | |
| 9404 | - | filename="gobject-2.0.c" | |
| 9405 | - | line="3644">#GObject containing the associations.</doc> | |
| 10950 | + | filename="gobject/gobject.c" | |
| 10951 | + | line="4784">#GObject containing the associations.</doc> | |
| 9406 | 10952 | <type name="Object" c:type="GObject*"/> | |
| 9407 | 10953 | </instance-parameter> | |
| 9408 | 10954 | <parameter name="key" transfer-ownership="none"> | |
| 9409 | 10955 | <doc xml:space="preserve" | |
| 9410 | - | filename="gobject-2.0.c" | |
| 9411 | - | line="3645">name of the key</doc> | |
| 10956 | + | filename="gobject/gobject.c" | |
| 10957 | + | line="4785">name of the key</doc> | |
| 9412 | 10958 | <type name="utf8" c:type="const gchar*"/> | |
| 9413 | 10959 | </parameter> | |
| 9414 | 10960 | <parameter name="data" | |
| @@ -9416,8 +10962,8 @@ for @key in your program, to avoid the #GQuark storage growing unbounded.</doc> | |||
| 9416 | 10962 | nullable="1" | |
| 9417 | 10963 | allow-none="1"> | |
| 9418 | 10964 | <doc xml:space="preserve" | |
| 9419 | - | filename="gobject-2.0.c" | |
| 9420 | - | line="3646">data to associate with that key</doc> | |
| 10965 | + | filename="gobject/gobject.c" | |
| 10966 | + | line="4786">data to associate with that key</doc> | |
| 9421 | 10967 | <type name="gpointer" c:type="gpointer"/> | |
| 9422 | 10968 | </parameter> | |
| 9423 | 10969 | </parameters> | |
| @@ -9426,27 +10972,27 @@ for @key in your program, to avoid the #GQuark storage growing unbounded.</doc> | |||
| 9426 | 10972 | c:identifier="g_object_set_data_full" | |
| 9427 | 10973 | introspectable="0"> | |
| 9428 | 10974 | <doc xml:space="preserve" | |
| 9429 | - | filename="gobject-2.0.c" | |
| 9430 | - | line="3661">Like g_object_set_data() except it adds notification | |
| 10975 | + | filename="gobject/gobject.c" | |
| 10976 | + | line="4901">Like g_object_set_data() except it adds notification | |
| 9431 | 10977 | for when the association is destroyed, either by setting it | |
| 9432 | 10978 | to a different value or when the object is destroyed. | |
| 9433 | 10979 | ||
| 9434 | 10980 | Note that the @destroy callback is not called if @data is %NULL.</doc> | |
| 9435 | - | <source-position filename="gobject.h" line="609"/> | |
| 10981 | + | <source-position filename="gobject/gobject.h" line="601"/> | |
| 9436 | 10982 | <return-value transfer-ownership="none"> | |
| 9437 | 10983 | <type name="none" c:type="void"/> | |
| 9438 | 10984 | </return-value> | |
| 9439 | 10985 | <parameters> | |
| 9440 | 10986 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9441 | 10987 | <doc xml:space="preserve" | |
| 9442 | - | filename="gobject-2.0.c" | |
| 9443 | - | line="3663">#GObject containing the associations</doc> | |
| 10988 | + | filename="gobject/gobject.c" | |
| 10989 | + | line="4903">#GObject containing the associations</doc> | |
| 9444 | 10990 | <type name="Object" c:type="GObject*"/> | |
| 9445 | 10991 | </instance-parameter> | |
| 9446 | 10992 | <parameter name="key" transfer-ownership="none"> | |
| 9447 | 10993 | <doc xml:space="preserve" | |
| 9448 | - | filename="gobject-2.0.c" | |
| 9449 | - | line="3664">name of the key</doc> | |
| 10994 | + | filename="gobject/gobject.c" | |
| 10995 | + | line="4904">name of the key</doc> | |
| 9450 | 10996 | <type name="utf8" c:type="const gchar*"/> | |
| 9451 | 10997 | </parameter> | |
| 9452 | 10998 | <parameter name="data" | |
| @@ -9454,8 +11000,8 @@ Note that the @destroy callback is not called if @data is %NULL.</doc> | |||
| 9454 | 11000 | nullable="1" | |
| 9455 | 11001 | allow-none="1"> | |
| 9456 | 11002 | <doc xml:space="preserve" | |
| 9457 | - | filename="gobject-2.0.c" | |
| 9458 | - | line="3665">data to associate with that key</doc> | |
| 11003 | + | filename="gobject/gobject.c" | |
| 11004 | + | line="4905">data to associate with that key</doc> | |
| 9459 | 11005 | <type name="gpointer" c:type="gpointer"/> | |
| 9460 | 11006 | </parameter> | |
| 9461 | 11007 | <parameter name="destroy" | |
| @@ -9464,37 +11010,37 @@ Note that the @destroy callback is not called if @data is %NULL.</doc> | |||
| 9464 | 11010 | allow-none="1" | |
| 9465 | 11011 | scope="async"> | |
| 9466 | 11012 | <doc xml:space="preserve" | |
| 9467 | - | filename="gobject-2.0.c" | |
| 9468 | - | line="3666">function to call when the association is destroyed</doc> | |
| 11013 | + | filename="gobject/gobject.c" | |
| 11014 | + | line="4906">function to call when the association is destroyed</doc> | |
| 9469 | 11015 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/> | |
| 9470 | 11016 | </parameter> | |
| 9471 | 11017 | </parameters> | |
| 9472 | 11018 | </method> | |
| 9473 | 11019 | <method name="set_property" c:identifier="g_object_set_property"> | |
| 9474 | 11020 | <doc xml:space="preserve" | |
| 9475 | - | filename="gobject-2.0.c" | |
| 9476 | - | line="3676">Sets a property on an object.</doc> | |
| 9477 | - | <source-position filename="gobject.h" line="497"/> | |
| 11021 | + | filename="gobject/gobject.c" | |
| 11022 | + | line="3393">Sets a property on an object.</doc> | |
| 11023 | + | <source-position filename="gobject/gobject.h" line="489"/> | |
| 9478 | 11024 | <return-value transfer-ownership="none"> | |
| 9479 | 11025 | <type name="none" c:type="void"/> | |
| 9480 | 11026 | </return-value> | |
| 9481 | 11027 | <parameters> | |
| 9482 | 11028 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9483 | 11029 | <doc xml:space="preserve" | |
| 9484 | - | filename="gobject-2.0.c" | |
| 9485 | - | line="3678">a #GObject</doc> | |
| 11030 | + | filename="gobject/gobject.c" | |
| 11031 | + | line="3395">a #GObject</doc> | |
| 9486 | 11032 | <type name="Object" c:type="GObject*"/> | |
| 9487 | 11033 | </instance-parameter> | |
| 9488 | 11034 | <parameter name="property_name" transfer-ownership="none"> | |
| 9489 | 11035 | <doc xml:space="preserve" | |
| 9490 | - | filename="gobject-2.0.c" | |
| 9491 | - | line="3679">the name of the property to set</doc> | |
| 11036 | + | filename="gobject/gobject.c" | |
| 11037 | + | line="3396">the name of the property to set</doc> | |
| 9492 | 11038 | <type name="utf8" c:type="const gchar*"/> | |
| 9493 | 11039 | </parameter> | |
| 9494 | 11040 | <parameter name="value" transfer-ownership="none"> | |
| 9495 | 11041 | <doc xml:space="preserve" | |
| 9496 | - | filename="gobject-2.0.c" | |
| 9497 | - | line="3680">the value</doc> | |
| 11042 | + | filename="gobject/gobject.c" | |
| 11043 | + | line="3397">the value</doc> | |
| 9498 | 11044 | <type name="Value" c:type="const GValue*"/> | |
| 9499 | 11045 | </parameter> | |
| 9500 | 11046 | </parameters> | |
| @@ -9503,8 +11049,8 @@ Note that the @destroy callback is not called if @data is %NULL.</doc> | |||
| 9503 | 11049 | c:identifier="g_object_set_qdata" | |
| 9504 | 11050 | introspectable="0"> | |
| 9505 | 11051 | <doc xml:space="preserve" | |
| 9506 | - | filename="gobject-2.0.c" | |
| 9507 | - | line="3686">This sets an opaque, named pointer on an object. | |
| 11052 | + | filename="gobject/gobject.c" | |
| 11053 | + | line="4571">This sets an opaque, named pointer on an object. | |
| 9508 | 11054 | The name is specified through a #GQuark (retrieved e.g. via | |
| 9509 | 11055 | g_quark_from_static_string()), and the pointer | |
| 9510 | 11056 | can be gotten back from the @object with g_object_get_qdata() | |
| @@ -9512,21 +11058,21 @@ until the @object is finalized. | |||
| 9512 | 11058 | Setting a previously set user data pointer, overrides (frees) | |
| 9513 | 11059 | the old pointer set, using #NULL as pointer essentially | |
| 9514 | 11060 | removes the data stored.</doc> | |
| 9515 | - | <source-position filename="gobject.h" line="576"/> | |
| 11061 | + | <source-position filename="gobject/gobject.h" line="568"/> | |
| 9516 | 11062 | <return-value transfer-ownership="none"> | |
| 9517 | 11063 | <type name="none" c:type="void"/> | |
| 9518 | 11064 | </return-value> | |
| 9519 | 11065 | <parameters> | |
| 9520 | 11066 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9521 | 11067 | <doc xml:space="preserve" | |
| 9522 | - | filename="gobject-2.0.c" | |
| 9523 | - | line="3688">The GObject to set store a user data pointer</doc> | |
| 11068 | + | filename="gobject/gobject.c" | |
| 11069 | + | line="4573">The GObject to set store a user data pointer</doc> | |
| 9524 | 11070 | <type name="Object" c:type="GObject*"/> | |
| 9525 | 11071 | </instance-parameter> | |
| 9526 | 11072 | <parameter name="quark" transfer-ownership="none"> | |
| 9527 | 11073 | <doc xml:space="preserve" | |
| 9528 | - | filename="gobject-2.0.c" | |
| 9529 | - | line="3689">A #GQuark, naming the user data pointer</doc> | |
| 11074 | + | filename="gobject/gobject.c" | |
| 11075 | + | line="4574">A #GQuark, naming the user data pointer</doc> | |
| 9530 | 11076 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 9531 | 11077 | </parameter> | |
| 9532 | 11078 | <parameter name="data" | |
| @@ -9534,8 +11080,8 @@ removes the data stored.</doc> | |||
| 9534 | 11080 | nullable="1" | |
| 9535 | 11081 | allow-none="1"> | |
| 9536 | 11082 | <doc xml:space="preserve" | |
| 9537 | - | filename="gobject-2.0.c" | |
| 9538 | - | line="3690">An opaque user data pointer</doc> | |
| 11083 | + | filename="gobject/gobject.c" | |
| 11084 | + | line="4575">An opaque user data pointer</doc> | |
| 9539 | 11085 | <type name="gpointer" c:type="gpointer"/> | |
| 9540 | 11086 | </parameter> | |
| 9541 | 11087 | </parameters> | |
| @@ -9544,27 +11090,27 @@ removes the data stored.</doc> | |||
| 9544 | 11090 | c:identifier="g_object_set_qdata_full" | |
| 9545 | 11091 | introspectable="0"> | |
| 9546 | 11092 | <doc xml:space="preserve" | |
| 9547 | - | filename="gobject-2.0.c" | |
| 9548 | - | line="3703">This function works like g_object_set_qdata(), but in addition, | |
| 11093 | + | filename="gobject/gobject.c" | |
| 11094 | + | line="4682">This function works like g_object_set_qdata(), but in addition, | |
| 9549 | 11095 | a void (*destroy) (gpointer) function may be specified which is | |
| 9550 | 11096 | called with @data as argument when the @object is finalized, or | |
| 9551 | 11097 | the data is being overwritten by a call to g_object_set_qdata() | |
| 9552 | 11098 | with the same @quark.</doc> | |
| 9553 | - | <source-position filename="gobject.h" line="580"/> | |
| 11099 | + | <source-position filename="gobject/gobject.h" line="572"/> | |
| 9554 | 11100 | <return-value transfer-ownership="none"> | |
| 9555 | 11101 | <type name="none" c:type="void"/> | |
| 9556 | 11102 | </return-value> | |
| 9557 | 11103 | <parameters> | |
| 9558 | 11104 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9559 | 11105 | <doc xml:space="preserve" | |
| 9560 | - | filename="gobject-2.0.c" | |
| 9561 | - | line="3705">The GObject to set store a user data pointer</doc> | |
| 11106 | + | filename="gobject/gobject.c" | |
| 11107 | + | line="4684">The GObject to set store a user data pointer</doc> | |
| 9562 | 11108 | <type name="Object" c:type="GObject*"/> | |
| 9563 | 11109 | </instance-parameter> | |
| 9564 | 11110 | <parameter name="quark" transfer-ownership="none"> | |
| 9565 | 11111 | <doc xml:space="preserve" | |
| 9566 | - | filename="gobject-2.0.c" | |
| 9567 | - | line="3706">A #GQuark, naming the user data pointer</doc> | |
| 11112 | + | filename="gobject/gobject.c" | |
| 11113 | + | line="4685">A #GQuark, naming the user data pointer</doc> | |
| 9568 | 11114 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 9569 | 11115 | </parameter> | |
| 9570 | 11116 | <parameter name="data" | |
| @@ -9572,8 +11118,8 @@ with the same @quark.</doc> | |||
| 9572 | 11118 | nullable="1" | |
| 9573 | 11119 | allow-none="1"> | |
| 9574 | 11120 | <doc xml:space="preserve" | |
| 9575 | - | filename="gobject-2.0.c" | |
| 9576 | - | line="3707">An opaque user data pointer</doc> | |
| 11121 | + | filename="gobject/gobject.c" | |
| 11122 | + | line="4686">An opaque user data pointer</doc> | |
| 9577 | 11123 | <type name="gpointer" c:type="gpointer"/> | |
| 9578 | 11124 | </parameter> | |
| 9579 | 11125 | <parameter name="destroy" | |
| @@ -9582,8 +11128,8 @@ with the same @quark.</doc> | |||
| 9582 | 11128 | allow-none="1" | |
| 9583 | 11129 | scope="async"> | |
| 9584 | 11130 | <doc xml:space="preserve" | |
| 9585 | - | filename="gobject-2.0.c" | |
| 9586 | - | line="3708">Function to invoke with @data as argument, when @data | |
| 11131 | + | filename="gobject/gobject.c" | |
| 11132 | + | line="4687">Function to invoke with @data as argument, when @data | |
| 9587 | 11133 | needs to be freed</doc> | |
| 9588 | 11134 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/> | |
| 9589 | 11135 | </parameter> | |
| @@ -9593,29 +11139,29 @@ with the same @quark.</doc> | |||
| 9593 | 11139 | c:identifier="g_object_set_valist" | |
| 9594 | 11140 | introspectable="0"> | |
| 9595 | 11141 | <doc xml:space="preserve" | |
| 9596 | - | filename="gobject-2.0.c" | |
| 9597 | - | line="3719">Sets properties on an object.</doc> | |
| 9598 | - | <source-position filename="gobject.h" line="484"/> | |
| 11142 | + | filename="gobject/gobject.c" | |
| 11143 | + | line="3115">Sets properties on an object.</doc> | |
| 11144 | + | <source-position filename="gobject/gobject.h" line="476"/> | |
| 9599 | 11145 | <return-value transfer-ownership="none"> | |
| 9600 | 11146 | <type name="none" c:type="void"/> | |
| 9601 | 11147 | </return-value> | |
| 9602 | 11148 | <parameters> | |
| 9603 | 11149 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9604 | 11150 | <doc xml:space="preserve" | |
| 9605 | - | filename="gobject-2.0.c" | |
| 9606 | - | line="3721">a #GObject</doc> | |
| 11151 | + | filename="gobject/gobject.c" | |
| 11152 | + | line="3117">a #GObject</doc> | |
| 9607 | 11153 | <type name="Object" c:type="GObject*"/> | |
| 9608 | 11154 | </instance-parameter> | |
| 9609 | 11155 | <parameter name="first_property_name" transfer-ownership="none"> | |
| 9610 | 11156 | <doc xml:space="preserve" | |
| 9611 | - | filename="gobject-2.0.c" | |
| 9612 | - | line="3722">name of the first property to set</doc> | |
| 11157 | + | filename="gobject/gobject.c" | |
| 11158 | + | line="3118">name of the first property to set</doc> | |
| 9613 | 11159 | <type name="utf8" c:type="const gchar*"/> | |
| 9614 | 11160 | </parameter> | |
| 9615 | 11161 | <parameter name="var_args" transfer-ownership="none"> | |
| 9616 | 11162 | <doc xml:space="preserve" | |
| 9617 | - | filename="gobject-2.0.c" | |
| 9618 | - | line="3723">value for the first property, followed optionally by more | |
| 11163 | + | filename="gobject/gobject.c" | |
| 11164 | + | line="3119">value for the first property, followed optionally by more | |
| 9619 | 11165 | name/value pairs, followed by %NULL</doc> | |
| 9620 | 11166 | <type name="va_list" c:type="va_list"/> | |
| 9621 | 11167 | </parameter> | |
| @@ -9626,40 +11172,40 @@ with the same @quark.</doc> | |||
| 9626 | 11172 | version="2.54" | |
| 9627 | 11173 | introspectable="0"> | |
| 9628 | 11174 | <doc xml:space="preserve" | |
| 9629 | - | filename="gobject-2.0.c" | |
| 9630 | - | line="3730">Sets @n_properties properties for an @object. | |
| 11175 | + | filename="gobject/gobject.c" | |
| 11176 | + | line="3062">Sets @n_properties properties for an @object. | |
| 9631 | 11177 | Properties to be set will be taken from @values. All properties must be | |
| 9632 | 11178 | valid. Warnings will be emitted and undefined behaviour may result if invalid | |
| 9633 | 11179 | properties are passed in.</doc> | |
| 9634 | - | <source-position filename="gobject.h" line="479"/> | |
| 11180 | + | <source-position filename="gobject/gobject.h" line="471"/> | |
| 9635 | 11181 | <return-value transfer-ownership="none"> | |
| 9636 | 11182 | <type name="none" c:type="void"/> | |
| 9637 | 11183 | </return-value> | |
| 9638 | 11184 | <parameters> | |
| 9639 | 11185 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9640 | 11186 | <doc xml:space="preserve" | |
| 9641 | - | filename="gobject-2.0.c" | |
| 9642 | - | line="3732">a #GObject</doc> | |
| 11187 | + | filename="gobject/gobject.c" | |
| 11188 | + | line="3064">a #GObject</doc> | |
| 9643 | 11189 | <type name="Object" c:type="GObject*"/> | |
| 9644 | 11190 | </instance-parameter> | |
| 9645 | 11191 | <parameter name="n_properties" transfer-ownership="none"> | |
| 9646 | 11192 | <doc xml:space="preserve" | |
| 9647 | - | filename="gobject-2.0.c" | |
| 9648 | - | line="3733">the number of properties</doc> | |
| 11193 | + | filename="gobject/gobject.c" | |
| 11194 | + | line="3065">the number of properties</doc> | |
| 9649 | 11195 | <type name="guint" c:type="guint"/> | |
| 9650 | 11196 | </parameter> | |
| 9651 | 11197 | <parameter name="names" transfer-ownership="none"> | |
| 9652 | 11198 | <doc xml:space="preserve" | |
| 9653 | - | filename="gobject-2.0.c" | |
| 9654 | - | line="3734">the names of each property to be set</doc> | |
| 11199 | + | filename="gobject/gobject.c" | |
| 11200 | + | line="3066">the names of each property to be set</doc> | |
| 9655 | 11201 | <array length="0" zero-terminated="0" c:type="const gchar**"> | |
| 9656 | 11202 | <type name="utf8" c:type="gchar*"/> | |
| 9657 | 11203 | </array> | |
| 9658 | 11204 | </parameter> | |
| 9659 | 11205 | <parameter name="values" transfer-ownership="none"> | |
| 9660 | 11206 | <doc xml:space="preserve" | |
| 9661 | - | filename="gobject-2.0.c" | |
| 9662 | - | line="3735">the values of each property to be set</doc> | |
| 11207 | + | filename="gobject/gobject.c" | |
| 11208 | + | line="3067">the values of each property to be set</doc> | |
| 9663 | 11209 | <array length="0" zero-terminated="0" c:type="const GValue*"> | |
| 9664 | 11210 | <type name="Value" c:type="GValue"/> | |
| 9665 | 11211 | </array> | |
| @@ -9668,36 +11214,36 @@ properties are passed in.</doc> | |||
| 9668 | 11214 | </method> | |
| 9669 | 11215 | <method name="steal_data" c:identifier="g_object_steal_data"> | |
| 9670 | 11216 | <doc xml:space="preserve" | |
| 9671 | - | filename="gobject-2.0.c" | |
| 9672 | - | line="3746">Remove a specified datum from the object's data associations, | |
| 11217 | + | filename="gobject/gobject.c" | |
| 11218 | + | line="4927">Remove a specified datum from the object's data associations, | |
| 9673 | 11219 | without invoking the association's destroy handler.</doc> | |
| 9674 | - | <source-position filename="gobject.h" line="614"/> | |
| 11220 | + | <source-position filename="gobject/gobject.h" line="606"/> | |
| 9675 | 11221 | <return-value transfer-ownership="full" nullable="1"> | |
| 9676 | 11222 | <doc xml:space="preserve" | |
| 9677 | - | filename="gobject-2.0.c" | |
| 9678 | - | line="3754">the data if found, or %NULL | |
| 11223 | + | filename="gobject/gobject.c" | |
| 11224 | + | line="4935">the data if found, or %NULL | |
| 9679 | 11225 | if no such data exists.</doc> | |
| 9680 | 11226 | <type name="gpointer" c:type="gpointer"/> | |
| 9681 | 11227 | </return-value> | |
| 9682 | 11228 | <parameters> | |
| 9683 | 11229 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9684 | 11230 | <doc xml:space="preserve" | |
| 9685 | - | filename="gobject-2.0.c" | |
| 9686 | - | line="3748">#GObject containing the associations</doc> | |
| 11231 | + | filename="gobject/gobject.c" | |
| 11232 | + | line="4929">#GObject containing the associations</doc> | |
| 9687 | 11233 | <type name="Object" c:type="GObject*"/> | |
| 9688 | 11234 | </instance-parameter> | |
| 9689 | 11235 | <parameter name="key" transfer-ownership="none"> | |
| 9690 | 11236 | <doc xml:space="preserve" | |
| 9691 | - | filename="gobject-2.0.c" | |
| 9692 | - | line="3749">name of the key</doc> | |
| 11237 | + | filename="gobject/gobject.c" | |
| 11238 | + | line="4930">name of the key</doc> | |
| 9693 | 11239 | <type name="utf8" c:type="const gchar*"/> | |
| 9694 | 11240 | </parameter> | |
| 9695 | 11241 | </parameters> | |
| 9696 | 11242 | </method> | |
| 9697 | 11243 | <method name="steal_qdata" c:identifier="g_object_steal_qdata"> | |
| 9698 | 11244 | <doc xml:space="preserve" | |
| 9699 | - | filename="gobject-2.0.c" | |
| 9700 | - | line="3759">This function gets back user data pointers stored via | |
| 11245 | + | filename="gobject/gobject.c" | |
| 11246 | + | line="4709">This function gets back user data pointers stored via | |
| 9701 | 11247 | g_object_set_qdata() and removes the @data from object | |
| 9702 | 11248 | without invoking its destroy() function (if any was | |
| 9703 | 11249 | set). | |
| @@ -9732,24 +11278,24 @@ Using g_object_get_qdata() in the above example, instead of | |||
| 9732 | 11278 | g_object_steal_qdata() would have left the destroy function set, | |
| 9733 | 11279 | and thus the partial string list would have been freed upon | |
| 9734 | 11280 | g_object_set_qdata_full().</doc> | |
| 9735 | - | <source-position filename="gobject.h" line="585"/> | |
| 11281 | + | <source-position filename="gobject/gobject.h" line="577"/> | |
| 9736 | 11282 | <return-value transfer-ownership="full" nullable="1"> | |
| 9737 | 11283 | <doc xml:space="preserve" | |
| 9738 | - | filename="gobject-2.0.c" | |
| 9739 | - | line="3800">The user data pointer set, or %NULL</doc> | |
| 11284 | + | filename="gobject/gobject.c" | |
| 11285 | + | line="4750">The user data pointer set, or %NULL</doc> | |
| 9740 | 11286 | <type name="gpointer" c:type="gpointer"/> | |
| 9741 | 11287 | </return-value> | |
| 9742 | 11288 | <parameters> | |
| 9743 | 11289 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9744 | 11290 | <doc xml:space="preserve" | |
| 9745 | - | filename="gobject-2.0.c" | |
| 9746 | - | line="3761">The GObject to get a stored user data pointer from</doc> | |
| 11291 | + | filename="gobject/gobject.c" | |
| 11292 | + | line="4711">The GObject to get a stored user data pointer from</doc> | |
| 9747 | 11293 | <type name="Object" c:type="GObject*"/> | |
| 9748 | 11294 | </instance-parameter> | |
| 9749 | 11295 | <parameter name="quark" transfer-ownership="none"> | |
| 9750 | 11296 | <doc xml:space="preserve" | |
| 9751 | - | filename="gobject-2.0.c" | |
| 9752 | - | line="3762">A #GQuark, naming the user data pointer</doc> | |
| 11297 | + | filename="gobject/gobject.c" | |
| 11298 | + | line="4712">A #GQuark, naming the user data pointer</doc> | |
| 9753 | 11299 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 9754 | 11300 | </parameter> | |
| 9755 | 11301 | </parameters> | |
| @@ -9759,8 +11305,8 @@ g_object_set_qdata_full().</doc> | |||
| 9759 | 11305 | version="2.70" | |
| 9760 | 11306 | introspectable="0"> | |
| 9761 | 11307 | <doc xml:space="preserve" | |
| 9762 | - | filename="gobject-2.0.c" | |
| 9763 | - | line="3804">If @object is floating, sink it. Otherwise, do nothing. | |
| 11308 | + | filename="gobject/gobject.c" | |
| 11309 | + | line="3896">If @object is floating, sink it. Otherwise, do nothing. | |
| 9764 | 11310 | ||
| 9765 | 11311 | In other words, this function will convert a floating reference (if | |
| 9766 | 11312 | present) into a full reference. | |
| @@ -9783,7 +11329,7 @@ return a floating reference. | |||
| 9783 | 11329 | ||
| 9784 | 11330 | Using this function on the return value of the user's callback allows | |
| 9785 | 11331 | the user to do whichever is more convenient for them. The caller will | |
| 9786 | - | alway receives exactly one full reference to the value: either the | |
| 11332 | + | always receives exactly one full reference to the value: either the | |
| 9787 | 11333 | one that was returned in the first place, or a floating reference | |
| 9788 | 11334 | that has been converted to a full reference. | |
| 9789 | 11335 | ||
| @@ -9795,26 +11341,26 @@ reference. If g_object_take_ref() runs first then the result will be | |||
| 9795 | 11341 | that the floating reference is converted to a hard reference and an | |
| 9796 | 11342 | additional reference on top of that one is added. It is best to avoid | |
| 9797 | 11343 | this situation.</doc> | |
| 9798 | - | <source-position filename="gobject.h" line="519"/> | |
| 11344 | + | <source-position filename="gobject/gobject.h" line="511"/> | |
| 9799 | 11345 | <return-value transfer-ownership="full"> | |
| 9800 | 11346 | <doc xml:space="preserve" | |
| 9801 | - | filename="gobject-2.0.c" | |
| 9802 | - | line="3845">@object</doc> | |
| 11347 | + | filename="gobject/gobject.c" | |
| 11348 | + | line="3938">@object</doc> | |
| 9803 | 11349 | <type name="Object" c:type="gpointer"/> | |
| 9804 | 11350 | </return-value> | |
| 9805 | 11351 | <parameters> | |
| 9806 | 11352 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9807 | 11353 | <doc xml:space="preserve" | |
| 9808 | - | filename="gobject-2.0.c" | |
| 9809 | - | line="3806">a #GObject</doc> | |
| 11354 | + | filename="gobject/gobject.c" | |
| 11355 | + | line="3898">a #GObject</doc> | |
| 9810 | 11356 | <type name="Object" c:type="gpointer"/> | |
| 9811 | 11357 | </instance-parameter> | |
| 9812 | 11358 | </parameters> | |
| 9813 | 11359 | </method> | |
| 9814 | 11360 | <method name="thaw_notify" c:identifier="g_object_thaw_notify"> | |
| 9815 | 11361 | <doc xml:space="preserve" | |
| 9816 | - | filename="gobject-2.0.c" | |
| 9817 | - | line="3849">Reverts the effect of a previous call to | |
| 11362 | + | filename="gobject/gobject.c" | |
| 11363 | + | line="2065">Reverts the effect of a previous call to | |
| 9818 | 11364 | g_object_freeze_notify(). The freeze count is decreased on @object | |
| 9819 | 11365 | and when it reaches zero, queued "notify" signals are emitted. | |
| 9820 | 11366 | ||
| @@ -9823,46 +11369,46 @@ Duplicate notifications for each property are squashed so that at most one | |||
| 9823 | 11369 | in which they have been queued. | |
| 9824 | 11370 | ||
| 9825 | 11371 | It is an error to call this function when the freeze count is zero.</doc> | |
| 9826 | - | <source-position filename="gobject.h" line="513"/> | |
| 11372 | + | <source-position filename="gobject/gobject.h" line="505"/> | |
| 9827 | 11373 | <return-value transfer-ownership="none"> | |
| 9828 | 11374 | <type name="none" c:type="void"/> | |
| 9829 | 11375 | </return-value> | |
| 9830 | 11376 | <parameters> | |
| 9831 | 11377 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9832 | 11378 | <doc xml:space="preserve" | |
| 9833 | - | filename="gobject-2.0.c" | |
| 9834 | - | line="3851">a #GObject</doc> | |
| 11379 | + | filename="gobject/gobject.c" | |
| 11380 | + | line="2067">a #GObject</doc> | |
| 9835 | 11381 | <type name="Object" c:type="GObject*"/> | |
| 9836 | 11382 | </instance-parameter> | |
| 9837 | 11383 | </parameters> | |
| 9838 | 11384 | </method> | |
| 9839 | 11385 | <method name="unref" c:identifier="g_object_unref"> | |
| 9840 | 11386 | <doc xml:space="preserve" | |
| 9841 | - | filename="gobject-2.0.c" | |
| 9842 | - | line="3865">Decreases the reference count of @object. When its reference count | |
| 11387 | + | filename="gobject/gobject.c" | |
| 11388 | + | line="4328">Decreases the reference count of @object. When its reference count | |
| 9843 | 11389 | drops to 0, the object is finalized (i.e. its memory is freed). | |
| 9844 | 11390 | ||
| 9845 | 11391 | If the pointer to the #GObject may be reused in future (for example, if it is | |
| 9846 | 11392 | an instance variable of another object), it is recommended to clear the | |
| 9847 | 11393 | pointer to %NULL rather than retain a dangling pointer to a potentially | |
| 9848 | 11394 | invalid #GObject instance. Use g_clear_object() for this.</doc> | |
| 9849 | - | <source-position filename="gobject.h" line="523"/> | |
| 11395 | + | <source-position filename="gobject/gobject.h" line="515"/> | |
| 9850 | 11396 | <return-value transfer-ownership="none"> | |
| 9851 | 11397 | <type name="none" c:type="void"/> | |
| 9852 | 11398 | </return-value> | |
| 9853 | 11399 | <parameters> | |
| 9854 | 11400 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9855 | 11401 | <doc xml:space="preserve" | |
| 9856 | - | filename="gobject-2.0.c" | |
| 9857 | - | line="3867">a #GObject</doc> | |
| 11402 | + | filename="gobject/gobject.c" | |
| 11403 | + | line="4330">a #GObject</doc> | |
| 9858 | 11404 | <type name="Object" c:type="gpointer"/> | |
| 9859 | 11405 | </instance-parameter> | |
| 9860 | 11406 | </parameters> | |
| 9861 | 11407 | </method> | |
| 9862 | 11408 | <method name="watch_closure" c:identifier="g_object_watch_closure"> | |
| 9863 | 11409 | <doc xml:space="preserve" | |
| 9864 | - | filename="gobject-2.0.c" | |
| 9865 | - | line="3879">This function essentially limits the life time of the @closure to | |
| 11410 | + | filename="gobject/gobject.c" | |
| 11411 | + | line="5265">This function essentially limits the life time of the @closure to | |
| 9866 | 11412 | the life time of the object. That is, when the object is finalized, | |
| 9867 | 11413 | the @closure is invalidated by calling g_closure_invalidate() on | |
| 9868 | 11414 | it, in order to prevent invocations of the closure with a finalized | |
| @@ -9871,21 +11417,21 @@ added as marshal guards to the @closure, to ensure that an extra | |||
| 9871 | 11417 | reference count is held on @object during invocation of the | |
| 9872 | 11418 | @closure. Usually, this function will be called on closures that | |
| 9873 | 11419 | use this @object as closure data.</doc> | |
| 9874 | - | <source-position filename="gobject.h" line="632"/> | |
| 11420 | + | <source-position filename="gobject/gobject.h" line="624"/> | |
| 9875 | 11421 | <return-value transfer-ownership="none"> | |
| 9876 | 11422 | <type name="none" c:type="void"/> | |
| 9877 | 11423 | </return-value> | |
| 9878 | 11424 | <parameters> | |
| 9879 | 11425 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9880 | 11426 | <doc xml:space="preserve" | |
| 9881 | - | filename="gobject-2.0.c" | |
| 9882 | - | line="3881">#GObject restricting lifetime of @closure</doc> | |
| 11427 | + | filename="gobject/gobject.c" | |
| 11428 | + | line="5267">#GObject restricting lifetime of @closure</doc> | |
| 9883 | 11429 | <type name="Object" c:type="GObject*"/> | |
| 9884 | 11430 | </instance-parameter> | |
| 9885 | 11431 | <parameter name="closure" transfer-ownership="none"> | |
| 9886 | 11432 | <doc xml:space="preserve" | |
| 9887 | - | filename="gobject-2.0.c" | |
| 9888 | - | line="3882">#GClosure to watch</doc> | |
| 11433 | + | filename="gobject/gobject.c" | |
| 11434 | + | line="5268">#GClosure to watch</doc> | |
| 9889 | 11435 | <type name="Closure" c:type="GClosure*"/> | |
| 9890 | 11436 | </parameter> | |
| 9891 | 11437 | </parameters> | |
| @@ -9894,8 +11440,8 @@ use this @object as closure data.</doc> | |||
| 9894 | 11440 | c:identifier="g_object_weak_ref" | |
| 9895 | 11441 | introspectable="0"> | |
| 9896 | 11442 | <doc xml:space="preserve" | |
| 9897 | - | filename="gobject-2.0.c" | |
| 9898 | - | line="3896">Adds a weak reference callback to an object. Weak references are | |
| 11443 | + | filename="gobject/gobject.c" | |
| 11444 | + | line="3675">Adds a weak reference callback to an object. Weak references are | |
| 9899 | 11445 | used for notification when an object is disposed. They are called | |
| 9900 | 11446 | "weak references" because they allow you to safely hold a pointer | |
| 9901 | 11447 | to an object without calling g_object_ref() (g_object_ref() adds a | |
| @@ -9905,21 +11451,21 @@ Note that the weak references created by this method are not | |||
| 9905 | 11451 | thread-safe: they cannot safely be used in one thread if the | |
| 9906 | 11452 | object's last g_object_unref() might happen in another thread. | |
| 9907 | 11453 | Use #GWeakRef if thread-safety is required.</doc> | |
| 9908 | - | <source-position filename="gobject.h" line="525"/> | |
| 11454 | + | <source-position filename="gobject/gobject.h" line="517"/> | |
| 9909 | 11455 | <return-value transfer-ownership="none"> | |
| 9910 | 11456 | <type name="none" c:type="void"/> | |
| 9911 | 11457 | </return-value> | |
| 9912 | 11458 | <parameters> | |
| 9913 | 11459 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9914 | 11460 | <doc xml:space="preserve" | |
| 9915 | - | filename="gobject-2.0.c" | |
| 9916 | - | line="3898">#GObject to reference weakly</doc> | |
| 11461 | + | filename="gobject/gobject.c" | |
| 11462 | + | line="3677">#GObject to reference weakly</doc> | |
| 9917 | 11463 | <type name="Object" c:type="GObject*"/> | |
| 9918 | 11464 | </instance-parameter> | |
| 9919 | 11465 | <parameter name="notify" transfer-ownership="none" closure="1"> | |
| 9920 | 11466 | <doc xml:space="preserve" | |
| 9921 | - | filename="gobject-2.0.c" | |
| 9922 | - | line="3899">callback to invoke before the object is freed</doc> | |
| 11467 | + | filename="gobject/gobject.c" | |
| 11468 | + | line="3678">callback to invoke before the object is freed</doc> | |
| 9923 | 11469 | <type name="WeakNotify" c:type="GWeakNotify"/> | |
| 9924 | 11470 | </parameter> | |
| 9925 | 11471 | <parameter name="data" | |
| @@ -9927,8 +11473,8 @@ Use #GWeakRef if thread-safety is required.</doc> | |||
| 9927 | 11473 | nullable="1" | |
| 9928 | 11474 | allow-none="1"> | |
| 9929 | 11475 | <doc xml:space="preserve" | |
| 9930 | - | filename="gobject-2.0.c" | |
| 9931 | - | line="3900">extra data to pass to notify</doc> | |
| 11476 | + | filename="gobject/gobject.c" | |
| 11477 | + | line="3679">extra data to pass to notify</doc> | |
| 9932 | 11478 | <type name="gpointer" c:type="gpointer"/> | |
| 9933 | 11479 | </parameter> | |
| 9934 | 11480 | </parameters> | |
| @@ -9937,23 +11483,23 @@ Use #GWeakRef if thread-safety is required.</doc> | |||
| 9937 | 11483 | c:identifier="g_object_weak_unref" | |
| 9938 | 11484 | introspectable="0"> | |
| 9939 | 11485 | <doc xml:space="preserve" | |
| 9940 | - | filename="gobject-2.0.c" | |
| 9941 | - | line="3915">Removes a weak reference callback to an object.</doc> | |
| 9942 | - | <source-position filename="gobject.h" line="529"/> | |
| 11486 | + | filename="gobject/gobject.c" | |
| 11487 | + | line="3724">Removes a weak reference callback to an object.</doc> | |
| 11488 | + | <source-position filename="gobject/gobject.h" line="521"/> | |
| 9943 | 11489 | <return-value transfer-ownership="none"> | |
| 9944 | 11490 | <type name="none" c:type="void"/> | |
| 9945 | 11491 | </return-value> | |
| 9946 | 11492 | <parameters> | |
| 9947 | 11493 | <instance-parameter name="object" transfer-ownership="none"> | |
| 9948 | 11494 | <doc xml:space="preserve" | |
| 9949 | - | filename="gobject-2.0.c" | |
| 9950 | - | line="3917">#GObject to remove a weak reference from</doc> | |
| 11495 | + | filename="gobject/gobject.c" | |
| 11496 | + | line="3726">#GObject to remove a weak reference from</doc> | |
| 9951 | 11497 | <type name="Object" c:type="GObject*"/> | |
| 9952 | 11498 | </instance-parameter> | |
| 9953 | 11499 | <parameter name="notify" transfer-ownership="none" closure="1"> | |
| 9954 | 11500 | <doc xml:space="preserve" | |
| 9955 | - | filename="gobject-2.0.c" | |
| 9956 | - | line="3918">callback to search for</doc> | |
| 11501 | + | filename="gobject/gobject.c" | |
| 11502 | + | line="3727">callback to search for</doc> | |
| 9957 | 11503 | <type name="WeakNotify" c:type="GWeakNotify"/> | |
| 9958 | 11504 | </parameter> | |
| 9959 | 11505 | <parameter name="data" | |
| @@ -9961,8 +11507,8 @@ Use #GWeakRef if thread-safety is required.</doc> | |||
| 9961 | 11507 | nullable="1" | |
| 9962 | 11508 | allow-none="1"> | |
| 9963 | 11509 | <doc xml:space="preserve" | |
| 9964 | - | filename="gobject-2.0.c" | |
| 9965 | - | line="3919">data to search for</doc> | |
| 11510 | + | filename="gobject/gobject.c" | |
| 11511 | + | line="3728">data to search for</doc> | |
| 9966 | 11512 | <type name="gpointer" c:type="gpointer"/> | |
| 9967 | 11513 | </parameter> | |
| 9968 | 11514 | </parameters> | |
| @@ -9983,8 +11529,8 @@ Use #GWeakRef if thread-safety is required.</doc> | |||
| 9983 | 11529 | action="1" | |
| 9984 | 11530 | no-hooks="1"> | |
| 9985 | 11531 | <doc xml:space="preserve" | |
| 9986 | - | filename="gobject-2.0.c" | |
| 9987 | - | line="67">The notify signal is emitted on an object when one of its properties has | |
| 11532 | + | filename="gobject/gobject.c" | |
| 11533 | + | line="1011">The notify signal is emitted on an object when one of its properties has | |
| 9988 | 11534 | its value set through g_object_set_property(), g_object_set(), et al. | |
| 9989 | 11535 | ||
| 9990 | 11536 | Note that getting this signal doesn’t itself guarantee that the value of | |
| @@ -10007,7 +11553,7 @@ g_signal_connect (text_view->buffer, "notify::paste-target-list", | |||
| 10007 | 11553 | ]| | |
| 10008 | 11554 | ||
| 10009 | 11555 | It is important to note that you must use | |
| 10010 | - | [canonical parameter names][canonical-parameter-names] as | |
| 11556 | + | [canonical parameter names][class@GObject.ParamSpec#parameter-names] as | |
| 10011 | 11557 | detail strings for the notify signal.</doc> | |
| 10012 | 11558 | <return-value transfer-ownership="none"> | |
| 10013 | 11559 | <type name="none" c:type="void"/> | |
| @@ -10015,8 +11561,8 @@ detail strings for the notify signal.</doc> | |||
| 10015 | 11561 | <parameters> | |
| 10016 | 11562 | <parameter name="pspec" transfer-ownership="none"> | |
| 10017 | 11563 | <doc xml:space="preserve" | |
| 10018 | - | filename="gobject-2.0.c" | |
| 10019 | - | line="70">the #GParamSpec of the property which changed.</doc> | |
| 11564 | + | filename="gobject/gobject.c" | |
| 11565 | + | line="1014">the #GParamSpec of the property which changed.</doc> | |
| 10020 | 11566 | <type name="ParamSpec"/> | |
| 10021 | 11567 | </parameter> | |
| 10022 | 11568 | </parameters> | |
| @@ -10026,8 +11572,8 @@ detail strings for the notify signal.</doc> | |||
| 10026 | 11572 | c:type="GObjectClass" | |
| 10027 | 11573 | glib:is-gtype-struct-for="Object"> | |
| 10028 | 11574 | <doc xml:space="preserve" | |
| 10029 | - | filename="gobject.h" | |
| 10030 | - | line="273">The class structure for the GObject type. | |
| 11575 | + | filename="gobject/gobject.h" | |
| 11576 | + | line="260">The class structure for the GObject type. | |
| 10031 | 11577 | ||
| 10032 | 11578 | |[<!-- language="C" --> | |
| 10033 | 11579 | // Example of implementing a singleton using a constructor. | |
| @@ -10053,11 +11599,11 @@ my_singleton_constructor (GType type, | |||
| 10053 | 11599 | return object; | |
| 10054 | 11600 | } | |
| 10055 | 11601 | ]|</doc> | |
| 10056 | - | <source-position filename="gobject.h" line="374"/> | |
| 11602 | + | <source-position filename="gobject/gobject.h" line="366"/> | |
| 10057 | 11603 | <field name="g_type_class"> | |
| 10058 | 11604 | <doc xml:space="preserve" | |
| 10059 | - | filename="gobject.h" | |
| 10060 | - | line="275">the parent class</doc> | |
| 11605 | + | filename="gobject/gobject.h" | |
| 11606 | + | line="262">the parent class</doc> | |
| 10061 | 11607 | <type name="TypeClass" c:type="GTypeClass"/> | |
| 10062 | 11608 | </field> | |
| 10063 | 11609 | <field name="construct_properties" readable="0" private="1"> | |
| @@ -10066,8 +11612,15 @@ my_singleton_constructor (GType type, | |||
| 10066 | 11612 | </type> | |
| 10067 | 11613 | </field> | |
| 10068 | 11614 | <field name="constructor" introspectable="0"> | |
| 11615 | + | <doc xml:space="preserve" | |
| 11616 | + | filename="gobject/gobject.h" | |
| 11617 | + | line="263">the @constructor function is called by g_object_new () to | |
| 11618 | + | complete the object initialization after all the construction properties are | |
| 11619 | + | set. The first thing a @constructor implementation must do is chain up to the | |
| 11620 | + | @constructor of the parent class. Overriding @constructor should be rarely | |
| 11621 | + | needed, e.g. to handle construct properties, or to implement singletons.</doc> | |
| 10069 | 11622 | <callback name="constructor" introspectable="0"> | |
| 10070 | - | <source-position filename="gobject.h" line="344"/> | |
| 11623 | + | <source-position filename="gobject/gobject.h" line="331"/> | |
| 10071 | 11624 | <return-value> | |
| 10072 | 11625 | <type name="Object" c:type="GObject*"/> | |
| 10073 | 11626 | </return-value> | |
| @@ -10086,8 +11639,15 @@ my_singleton_constructor (GType type, | |||
| 10086 | 11639 | </callback> | |
| 10087 | 11640 | </field> | |
| 10088 | 11641 | <field name="set_property"> | |
| 11642 | + | <doc xml:space="preserve" | |
| 11643 | + | filename="gobject/gobject.h" | |
| 11644 | + | line="268">the generic setter for all properties of this type. Should be | |
| 11645 | + | overridden for every type with properties. If implementations of | |
| 11646 | + | @set_property don't emit property change notification explicitly, this will | |
| 11647 | + | be done implicitly by the type system. However, if the notify signal is | |
| 11648 | + | emitted explicitly, the type system will not emit it a second time.</doc> | |
| 10089 | 11649 | <callback name="set_property"> | |
| 10090 | - | <source-position filename="gobject.h" line="348"/> | |
| 11650 | + | <source-position filename="gobject/gobject.h" line="335"/> | |
| 10091 | 11651 | <return-value transfer-ownership="none"> | |
| 10092 | 11652 | <type name="none" c:type="void"/> | |
| 10093 | 11653 | </return-value> | |
| @@ -10108,8 +11668,12 @@ my_singleton_constructor (GType type, | |||
| 10108 | 11668 | </callback> | |
| 10109 | 11669 | </field> | |
| 10110 | 11670 | <field name="get_property"> | |
| 11671 | + | <doc xml:space="preserve" | |
| 11672 | + | filename="gobject/gobject.h" | |
| 11673 | + | line="273">the generic getter for all properties of this type. Should be | |
| 11674 | + | overridden for every type with properties.</doc> | |
| 10111 | 11675 | <callback name="get_property"> | |
| 10112 | - | <source-position filename="gobject.h" line="352"/> | |
| 11676 | + | <source-position filename="gobject/gobject.h" line="339"/> | |
| 10113 | 11677 | <return-value transfer-ownership="none"> | |
| 10114 | 11678 | <type name="none" c:type="void"/> | |
| 10115 | 11679 | </return-value> | |
| @@ -10130,8 +11694,15 @@ my_singleton_constructor (GType type, | |||
| 10130 | 11694 | </callback> | |
| 10131 | 11695 | </field> | |
| 10132 | 11696 | <field name="dispose"> | |
| 11697 | + | <doc xml:space="preserve" | |
| 11698 | + | filename="gobject/gobject.h" | |
| 11699 | + | line="275">the @dispose function is supposed to drop all references to other | |
| 11700 | + | objects, but keep the instance otherwise intact, so that client method | |
| 11701 | + | invocations still work. It may be run multiple times (due to reference | |
| 11702 | + | loops). Before returning, @dispose should chain up to the @dispose method | |
| 11703 | + | of the parent class.</doc> | |
| 10133 | 11704 | <callback name="dispose"> | |
| 10134 | - | <source-position filename="gobject.h" line="356"/> | |
| 11705 | + | <source-position filename="gobject/gobject.h" line="343"/> | |
| 10135 | 11706 | <return-value transfer-ownership="none"> | |
| 10136 | 11707 | <type name="none" c:type="void"/> | |
| 10137 | 11708 | </return-value> | |
| @@ -10143,8 +11714,13 @@ my_singleton_constructor (GType type, | |||
| 10143 | 11714 | </callback> | |
| 10144 | 11715 | </field> | |
| 10145 | 11716 | <field name="finalize"> | |
| 11717 | + | <doc xml:space="preserve" | |
| 11718 | + | filename="gobject/gobject.h" | |
| 11719 | + | line="280">instance finalization function, should finish the finalization of | |
| 11720 | + | the instance begun in @dispose and chain up to the @finalize method of the | |
| 11721 | + | parent class.</doc> | |
| 10146 | 11722 | <callback name="finalize"> | |
| 10147 | - | <source-position filename="gobject.h" line="357"/> | |
| 11723 | + | <source-position filename="gobject/gobject.h" line="344"/> | |
| 10148 | 11724 | <return-value transfer-ownership="none"> | |
| 10149 | 11725 | <type name="none" c:type="void"/> | |
| 10150 | 11726 | </return-value> | |
| @@ -10156,8 +11732,13 @@ my_singleton_constructor (GType type, | |||
| 10156 | 11732 | </callback> | |
| 10157 | 11733 | </field> | |
| 10158 | 11734 | <field name="dispatch_properties_changed"> | |
| 11735 | + | <doc xml:space="preserve" | |
| 11736 | + | filename="gobject/gobject.h" | |
| 11737 | + | line="283">emits property change notification for a bunch | |
| 11738 | + | of properties. Overriding @dispatch_properties_changed should be rarely | |
| 11739 | + | needed.</doc> | |
| 10159 | 11740 | <callback name="dispatch_properties_changed"> | |
| 10160 | - | <source-position filename="gobject.h" line="359"/> | |
| 11741 | + | <source-position filename="gobject/gobject.h" line="346"/> | |
| 10161 | 11742 | <return-value transfer-ownership="none"> | |
| 10162 | 11743 | <type name="none" c:type="void"/> | |
| 10163 | 11744 | </return-value> | |
| @@ -10175,16 +11756,19 @@ my_singleton_constructor (GType type, | |||
| 10175 | 11756 | </callback> | |
| 10176 | 11757 | </field> | |
| 10177 | 11758 | <field name="notify"> | |
| 11759 | + | <doc xml:space="preserve" | |
| 11760 | + | filename="gobject/gobject.h" | |
| 11761 | + | line="286">the class closure for the notify signal</doc> | |
| 10178 | 11762 | <callback name="notify"> | |
| 10179 | - | <source-position filename="gobject.h" line="363"/> | |
| 11763 | + | <source-position filename="gobject/gobject.h" line="350"/> | |
| 10180 | 11764 | <return-value transfer-ownership="none"> | |
| 10181 | 11765 | <type name="none" c:type="void"/> | |
| 10182 | 11766 | </return-value> | |
| 10183 | 11767 | <parameters> | |
| 10184 | 11768 | <parameter name="object" transfer-ownership="none"> | |
| 10185 | 11769 | <doc xml:space="preserve" | |
| 10186 | - | filename="gobject-2.0.c" | |
| 10187 | - | line="3422">a #GObject</doc> | |
| 11770 | + | filename="gobject/gobject.c" | |
| 11771 | + | line="1968">a #GObject</doc> | |
| 10188 | 11772 | <type name="Object" c:type="GObject*"/> | |
| 10189 | 11773 | </parameter> | |
| 10190 | 11774 | <parameter name="pspec" transfer-ownership="none"> | |
| @@ -10194,8 +11778,17 @@ my_singleton_constructor (GType type, | |||
| 10194 | 11778 | </callback> | |
| 10195 | 11779 | </field> | |
| 10196 | 11780 | <field name="constructed"> | |
| 11781 | + | <doc xml:space="preserve" | |
| 11782 | + | filename="gobject/gobject.h" | |
| 11783 | + | line="287">the @constructed function is called by g_object_new() as the | |
| 11784 | + | final step of the object creation process. At the point of the call, all | |
| 11785 | + | construction properties have been set on the object. The purpose of this | |
| 11786 | + | call is to allow for object initialisation steps that can only be performed | |
| 11787 | + | after construction properties have been set. @constructed implementors | |
| 11788 | + | should chain up to the @constructed call of their parent class to allow it | |
| 11789 | + | to complete its initialisation.</doc> | |
| 10197 | 11790 | <callback name="constructed"> | |
| 10198 | - | <source-position filename="gobject.h" line="367"/> | |
| 11791 | + | <source-position filename="gobject/gobject.h" line="354"/> | |
| 10199 | 11792 | <return-value transfer-ownership="none"> | |
| 10200 | 11793 | <type name="none" c:type="void"/> | |
| 10201 | 11794 | </return-value> | |
| @@ -10209,34 +11802,43 @@ my_singleton_constructor (GType type, | |||
| 10209 | 11802 | <field name="flags" readable="0" private="1"> | |
| 10210 | 11803 | <type name="gsize" c:type="gsize"/> | |
| 10211 | 11804 | </field> | |
| 11805 | + | <field name="n_construct_properties" readable="0" private="1"> | |
| 11806 | + | <type name="gsize" c:type="gsize"/> | |
| 11807 | + | </field> | |
| 11808 | + | <field name="pspecs" readable="0" private="1"> | |
| 11809 | + | <type name="gpointer" c:type="gpointer"/> | |
| 11810 | + | </field> | |
| 11811 | + | <field name="n_pspecs" readable="0" private="1"> | |
| 11812 | + | <type name="gsize" c:type="gsize"/> | |
| 11813 | + | </field> | |
| 10212 | 11814 | <field name="pdummy" readable="0" private="1"> | |
| 10213 | - | <array zero-terminated="0" fixed-size="6"> | |
| 11815 | + | <array zero-terminated="0" fixed-size="3"> | |
| 10214 | 11816 | <type name="gpointer" c:type="gpointer"/> | |
| 10215 | 11817 | </array> | |
| 10216 | 11818 | </field> | |
| 10217 | 11819 | <method name="find_property" c:identifier="g_object_class_find_property"> | |
| 10218 | 11820 | <doc xml:space="preserve" | |
| 10219 | - | filename="gobject-2.0.c" | |
| 10220 | - | line="2845">Looks up the #GParamSpec for a property of a class.</doc> | |
| 10221 | - | <source-position filename="gobject.h" line="413"/> | |
| 11821 | + | filename="gobject/gobject.c" | |
| 11822 | + | line="1446">Looks up the #GParamSpec for a property of a class.</doc> | |
| 11823 | + | <source-position filename="gobject/gobject.h" line="405"/> | |
| 10222 | 11824 | <return-value transfer-ownership="none"> | |
| 10223 | 11825 | <doc xml:space="preserve" | |
| 10224 | - | filename="gobject-2.0.c" | |
| 10225 | - | line="2852">the #GParamSpec for the property, or | |
| 11826 | + | filename="gobject/gobject.c" | |
| 11827 | + | line="1453">the #GParamSpec for the property, or | |
| 10226 | 11828 | %NULL if the class doesn't have a property of that name</doc> | |
| 10227 | 11829 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 10228 | 11830 | </return-value> | |
| 10229 | 11831 | <parameters> | |
| 10230 | 11832 | <instance-parameter name="oclass" transfer-ownership="none"> | |
| 10231 | 11833 | <doc xml:space="preserve" | |
| 10232 | - | filename="gobject-2.0.c" | |
| 10233 | - | line="2847">a #GObjectClass</doc> | |
| 11834 | + | filename="gobject/gobject.c" | |
| 11835 | + | line="1448">a #GObjectClass</doc> | |
| 10234 | 11836 | <type name="ObjectClass" c:type="GObjectClass*"/> | |
| 10235 | 11837 | </instance-parameter> | |
| 10236 | 11838 | <parameter name="property_name" transfer-ownership="none"> | |
| 10237 | 11839 | <doc xml:space="preserve" | |
| 10238 | - | filename="gobject-2.0.c" | |
| 10239 | - | line="2848">the name of the property to look up</doc> | |
| 11840 | + | filename="gobject/gobject.c" | |
| 11841 | + | line="1449">the name of the property to look up</doc> | |
| 10240 | 11842 | <type name="utf8" c:type="const gchar*"/> | |
| 10241 | 11843 | </parameter> | |
| 10242 | 11844 | </parameters> | |
| @@ -10245,8 +11847,8 @@ my_singleton_constructor (GType type, | |||
| 10245 | 11847 | c:identifier="g_object_class_install_properties" | |
| 10246 | 11848 | version="2.26"> | |
| 10247 | 11849 | <doc xml:space="preserve" | |
| 10248 | - | filename="gobject-2.0.c" | |
| 10249 | - | line="2857">Installs new properties from an array of #GParamSpecs. | |
| 11850 | + | filename="gobject/gobject.c" | |
| 11851 | + | line="1259">Installs new properties from an array of #GParamSpecs. | |
| 10250 | 11852 | ||
| 10251 | 11853 | All properties should be installed during the class initializer. It | |
| 10252 | 11854 | is possible to install properties after that, but doing so is not | |
| @@ -10264,9 +11866,11 @@ This function should be used if you plan to use a static array of | |||
| 10264 | 11866 | class initialization: | |
| 10265 | 11867 | ||
| 10266 | 11868 | |[<!-- language="C" --> | |
| 10267 | - | enum { | |
| 10268 | - | PROP_0, PROP_FOO, PROP_BAR, N_PROPERTIES | |
| 10269 | - | }; | |
| 11869 | + | typedef enum { | |
| 11870 | + | PROP_FOO = 1, | |
| 11871 | + | PROP_BAR, | |
| 11872 | + | N_PROPERTIES | |
| 11873 | + | } MyObjectProperty; | |
| 10270 | 11874 | ||
| 10271 | 11875 | static GParamSpec *obj_properties[N_PROPERTIES] = { NULL, }; | |
| 10272 | 11876 | ||
| @@ -10276,20 +11880,20 @@ my_object_class_init (MyObjectClass *klass) | |||
| 10276 | 11880 | GObjectClass *gobject_class = G_OBJECT_CLASS (klass); | |
| 10277 | 11881 | ||
| 10278 | 11882 | obj_properties[PROP_FOO] = | |
| 10279 | - | g_param_spec_int ("foo", "Foo", "Foo", | |
| 11883 | + | g_param_spec_int ("foo", NULL, NULL, | |
| 10280 | 11884 | -1, G_MAXINT, | |
| 10281 | 11885 | 0, | |
| 10282 | - | G_PARAM_READWRITE); | |
| 11886 | + | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); | |
| 10283 | 11887 | ||
| 10284 | 11888 | obj_properties[PROP_BAR] = | |
| 10285 | - | g_param_spec_string ("bar", "Bar", "Bar", | |
| 11889 | + | g_param_spec_string ("bar", NULL, NULL, | |
| 10286 | 11890 | NULL, | |
| 10287 | - | G_PARAM_READWRITE); | |
| 11891 | + | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); | |
| 10288 | 11892 | ||
| 10289 | 11893 | gobject_class->set_property = my_object_set_property; | |
| 10290 | 11894 | gobject_class->get_property = my_object_get_property; | |
| 10291 | 11895 | g_object_class_install_properties (gobject_class, | |
| 10292 | - | N_PROPERTIES, | |
| 11896 | + | G_N_ELEMENTS (obj_properties), | |
| 10293 | 11897 | obj_properties); | |
| 10294 | 11898 | } | |
| 10295 | 11899 | ]| | |
| @@ -10307,27 +11911,27 @@ my_object_set_foo (MyObject *self, gint foo) | |||
| 10307 | 11911 | } | |
| 10308 | 11912 | } | |
| 10309 | 11913 | ]|</doc> | |
| 10310 | - | <source-position filename="gobject.h" line="423"/> | |
| 11914 | + | <source-position filename="gobject/gobject.h" line="415"/> | |
| 10311 | 11915 | <return-value transfer-ownership="none"> | |
| 10312 | 11916 | <type name="none" c:type="void"/> | |
| 10313 | 11917 | </return-value> | |
| 10314 | 11918 | <parameters> | |
| 10315 | 11919 | <instance-parameter name="oclass" transfer-ownership="none"> | |
| 10316 | 11920 | <doc xml:space="preserve" | |
| 10317 | - | filename="gobject-2.0.c" | |
| 10318 | - | line="2859">a #GObjectClass</doc> | |
| 11921 | + | filename="gobject/gobject.c" | |
| 11922 | + | line="1261">a #GObjectClass</doc> | |
| 10319 | 11923 | <type name="ObjectClass" c:type="GObjectClass*"/> | |
| 10320 | 11924 | </instance-parameter> | |
| 10321 | 11925 | <parameter name="n_pspecs" transfer-ownership="none"> | |
| 10322 | 11926 | <doc xml:space="preserve" | |
| 10323 | - | filename="gobject-2.0.c" | |
| 10324 | - | line="2860">the length of the #GParamSpecs array</doc> | |
| 11927 | + | filename="gobject/gobject.c" | |
| 11928 | + | line="1262">the length of the #GParamSpecs array</doc> | |
| 10325 | 11929 | <type name="guint" c:type="guint"/> | |
| 10326 | 11930 | </parameter> | |
| 10327 | 11931 | <parameter name="pspecs" transfer-ownership="none"> | |
| 10328 | 11932 | <doc xml:space="preserve" | |
| 10329 | - | filename="gobject-2.0.c" | |
| 10330 | - | line="2861">the #GParamSpecs array | |
| 11933 | + | filename="gobject/gobject.c" | |
| 11934 | + | line="1263">the #GParamSpecs array | |
| 10331 | 11935 | defining the new properties</doc> | |
| 10332 | 11936 | <array length="0" zero-terminated="0" c:type="GParamSpec**"> | |
| 10333 | 11937 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| @@ -10338,8 +11942,8 @@ my_object_set_foo (MyObject *self, gint foo) | |||
| 10338 | 11942 | <method name="install_property" | |
| 10339 | 11943 | c:identifier="g_object_class_install_property"> | |
| 10340 | 11944 | <doc xml:space="preserve" | |
| 10341 | - | filename="gobject-2.0.c" | |
| 10342 | - | line="2930">Installs a new property. | |
| 11945 | + | filename="gobject/gobject.c" | |
| 11946 | + | line="1150">Installs a new property. | |
| 10343 | 11947 | ||
| 10344 | 11948 | All properties should be installed during the class initializer. It | |
| 10345 | 11949 | is possible to install properties after that, but doing so is not | |
| @@ -10349,27 +11953,27 @@ use of properties on the same type on other threads. | |||
| 10349 | 11953 | Note that it is possible to redefine a property in a derived class, | |
| 10350 | 11954 | by installing a property with the same name. This can be useful at times, | |
| 10351 | 11955 | e.g. to change the range of allowed values or the default value.</doc> | |
| 10352 | - | <source-position filename="gobject.h" line="409"/> | |
| 11956 | + | <source-position filename="gobject/gobject.h" line="401"/> | |
| 10353 | 11957 | <return-value transfer-ownership="none"> | |
| 10354 | 11958 | <type name="none" c:type="void"/> | |
| 10355 | 11959 | </return-value> | |
| 10356 | 11960 | <parameters> | |
| 10357 | 11961 | <instance-parameter name="oclass" transfer-ownership="none"> | |
| 10358 | 11962 | <doc xml:space="preserve" | |
| 10359 | - | filename="gobject-2.0.c" | |
| 10360 | - | line="2932">a #GObjectClass</doc> | |
| 11963 | + | filename="gobject/gobject.c" | |
| 11964 | + | line="1152">a #GObjectClass</doc> | |
| 10361 | 11965 | <type name="ObjectClass" c:type="GObjectClass*"/> | |
| 10362 | 11966 | </instance-parameter> | |
| 10363 | 11967 | <parameter name="property_id" transfer-ownership="none"> | |
| 10364 | 11968 | <doc xml:space="preserve" | |
| 10365 | - | filename="gobject-2.0.c" | |
| 10366 | - | line="2933">the id for the new property</doc> | |
| 11969 | + | filename="gobject/gobject.c" | |
| 11970 | + | line="1153">the id for the new property</doc> | |
| 10367 | 11971 | <type name="guint" c:type="guint"/> | |
| 10368 | 11972 | </parameter> | |
| 10369 | 11973 | <parameter name="pspec" transfer-ownership="none"> | |
| 10370 | 11974 | <doc xml:space="preserve" | |
| 10371 | - | filename="gobject-2.0.c" | |
| 10372 | - | line="2934">the #GParamSpec for the new property</doc> | |
| 11975 | + | filename="gobject/gobject.c" | |
| 11976 | + | line="1154">the #GParamSpec for the new property</doc> | |
| 10373 | 11977 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 10374 | 11978 | </parameter> | |
| 10375 | 11979 | </parameters> | |
| @@ -10377,13 +11981,13 @@ e.g. to change the range of allowed values or the default value.</doc> | |||
| 10377 | 11981 | <method name="list_properties" | |
| 10378 | 11982 | c:identifier="g_object_class_list_properties"> | |
| 10379 | 11983 | <doc xml:space="preserve" | |
| 10380 | - | filename="gobject-2.0.c" | |
| 10381 | - | line="2949">Get an array of #GParamSpec* for all properties of a class.</doc> | |
| 10382 | - | <source-position filename="gobject.h" line="416"/> | |
| 11984 | + | filename="gobject/gobject.c" | |
| 11985 | + | line="1589">Get an array of #GParamSpec* for all properties of a class.</doc> | |
| 11986 | + | <source-position filename="gobject/gobject.h" line="408"/> | |
| 10383 | 11987 | <return-value transfer-ownership="container"> | |
| 10384 | 11988 | <doc xml:space="preserve" | |
| 10385 | - | filename="gobject-2.0.c" | |
| 10386 | - | line="2956">an array of | |
| 11989 | + | filename="gobject/gobject.c" | |
| 11990 | + | line="1596">an array of | |
| 10387 | 11991 | #GParamSpec* which should be freed after use</doc> | |
| 10388 | 11992 | <array length="0" zero-terminated="0" c:type="GParamSpec**"> | |
| 10389 | 11993 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| @@ -10392,8 +11996,8 @@ e.g. to change the range of allowed values or the default value.</doc> | |||
| 10392 | 11996 | <parameters> | |
| 10393 | 11997 | <instance-parameter name="oclass" transfer-ownership="none"> | |
| 10394 | 11998 | <doc xml:space="preserve" | |
| 10395 | - | filename="gobject-2.0.c" | |
| 10396 | - | line="2951">a #GObjectClass</doc> | |
| 11999 | + | filename="gobject/gobject.c" | |
| 12000 | + | line="1591">a #GObjectClass</doc> | |
| 10397 | 12001 | <type name="ObjectClass" c:type="GObjectClass*"/> | |
| 10398 | 12002 | </instance-parameter> | |
| 10399 | 12003 | <parameter name="n_properties" | |
| @@ -10401,8 +12005,8 @@ e.g. to change the range of allowed values or the default value.</doc> | |||
| 10401 | 12005 | caller-allocates="0" | |
| 10402 | 12006 | transfer-ownership="full"> | |
| 10403 | 12007 | <doc xml:space="preserve" | |
| 10404 | - | filename="gobject-2.0.c" | |
| 10405 | - | line="2952">return location for the length of the returned array</doc> | |
| 12008 | + | filename="gobject/gobject.c" | |
| 12009 | + | line="1592">return location for the length of the returned array</doc> | |
| 10406 | 12010 | <type name="guint" c:type="guint*"/> | |
| 10407 | 12011 | </parameter> | |
| 10408 | 12012 | </parameters> | |
| @@ -10411,8 +12015,8 @@ e.g. to change the range of allowed values or the default value.</doc> | |||
| 10411 | 12015 | c:identifier="g_object_class_override_property" | |
| 10412 | 12016 | version="2.4"> | |
| 10413 | 12017 | <doc xml:space="preserve" | |
| 10414 | - | filename="gobject-2.0.c" | |
| 10415 | - | line="2961">Registers @property_id as referring to a property with the name | |
| 12018 | + | filename="gobject/gobject.c" | |
| 12019 | + | line="1509">Registers @property_id as referring to a property with the name | |
| 10416 | 12020 | @name in a parent class or in an interface implemented by @oclass. | |
| 10417 | 12021 | This allows this class to "override" a property implementation in | |
| 10418 | 12022 | a parent class or to provide the implementation of a property from | |
| @@ -10428,27 +12032,27 @@ instead, so that the @param_id field of the #GParamSpec will be | |||
| 10428 | 12032 | correct. For virtually all uses, this makes no difference. If you | |
| 10429 | 12033 | need to get the overridden property, you can call | |
| 10430 | 12034 | g_param_spec_get_redirect_target().</doc> | |
| 10431 | - | <source-position filename="gobject.h" line="419"/> | |
| 12035 | + | <source-position filename="gobject/gobject.h" line="411"/> | |
| 10432 | 12036 | <return-value transfer-ownership="none"> | |
| 10433 | 12037 | <type name="none" c:type="void"/> | |
| 10434 | 12038 | </return-value> | |
| 10435 | 12039 | <parameters> | |
| 10436 | 12040 | <instance-parameter name="oclass" transfer-ownership="none"> | |
| 10437 | 12041 | <doc xml:space="preserve" | |
| 10438 | - | filename="gobject-2.0.c" | |
| 10439 | - | line="2963">a #GObjectClass</doc> | |
| 12042 | + | filename="gobject/gobject.c" | |
| 12043 | + | line="1511">a #GObjectClass</doc> | |
| 10440 | 12044 | <type name="ObjectClass" c:type="GObjectClass*"/> | |
| 10441 | 12045 | </instance-parameter> | |
| 10442 | 12046 | <parameter name="property_id" transfer-ownership="none"> | |
| 10443 | 12047 | <doc xml:space="preserve" | |
| 10444 | - | filename="gobject-2.0.c" | |
| 10445 | - | line="2964">the new property ID</doc> | |
| 12048 | + | filename="gobject/gobject.c" | |
| 12049 | + | line="1512">the new property ID</doc> | |
| 10446 | 12050 | <type name="guint" c:type="guint"/> | |
| 10447 | 12051 | </parameter> | |
| 10448 | 12052 | <parameter name="name" transfer-ownership="none"> | |
| 10449 | 12053 | <doc xml:space="preserve" | |
| 10450 | - | filename="gobject-2.0.c" | |
| 10451 | - | line="2965">the name of a property registered in a parent class or | |
| 12054 | + | filename="gobject/gobject.c" | |
| 12055 | + | line="1513">the name of a property registered in a parent class or | |
| 10452 | 12056 | in an interface of this class.</doc> | |
| 10453 | 12057 | <type name="utf8" c:type="const gchar*"/> | |
| 10454 | 12058 | </parameter> | |
| @@ -10457,132 +12061,137 @@ g_param_spec_get_redirect_target().</doc> | |||
| 10457 | 12061 | </record> | |
| 10458 | 12062 | <record name="ObjectConstructParam" c:type="GObjectConstructParam"> | |
| 10459 | 12063 | <doc xml:space="preserve" | |
| 10460 | - | filename="gobject.h" | |
| 10461 | - | line="376">The GObjectConstructParam struct is an auxiliary structure used to hand | |
| 12064 | + | filename="gobject/gobject.h" | |
| 12065 | + | line="368">The GObjectConstructParam struct is an auxiliary structure used to hand | |
| 10462 | 12066 | #GParamSpec/#GValue pairs to the @constructor of a #GObjectClass.</doc> | |
| 10463 | - | <source-position filename="gobject.h" line="388"/> | |
| 12067 | + | <source-position filename="gobject/gobject.h" line="380"/> | |
| 10464 | 12068 | <field name="pspec" writable="1"> | |
| 10465 | 12069 | <doc xml:space="preserve" | |
| 10466 | - | filename="gobject.h" | |
| 10467 | - | line="378">the #GParamSpec of the construct parameter</doc> | |
| 12070 | + | filename="gobject/gobject.h" | |
| 12071 | + | line="370">the #GParamSpec of the construct parameter</doc> | |
| 10468 | 12072 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 10469 | 12073 | </field> | |
| 10470 | 12074 | <field name="value" writable="1"> | |
| 10471 | 12075 | <doc xml:space="preserve" | |
| 10472 | - | filename="gobject.h" | |
| 10473 | - | line="379">the value to set the parameter to</doc> | |
| 12076 | + | filename="gobject/gobject.h" | |
| 12077 | + | line="371">the value to set the parameter to</doc> | |
| 10474 | 12078 | <type name="Value" c:type="GValue*"/> | |
| 10475 | 12079 | </field> | |
| 10476 | 12080 | </record> | |
| 10477 | 12081 | <callback name="ObjectFinalizeFunc" c:type="GObjectFinalizeFunc"> | |
| 10478 | 12082 | <doc xml:space="preserve" | |
| 10479 | - | filename="gobject.h" | |
| 10480 | - | line="223">The type of the @finalize function of #GObjectClass.</doc> | |
| 10481 | - | <source-position filename="gobject.h" line="229"/> | |
| 12083 | + | filename="gobject/gobject.h" | |
| 12084 | + | line="225">The type of the @finalize function of #GObjectClass.</doc> | |
| 12085 | + | <source-position filename="gobject/gobject.h" line="231"/> | |
| 10482 | 12086 | <return-value transfer-ownership="none"> | |
| 10483 | 12087 | <type name="none" c:type="void"/> | |
| 10484 | 12088 | </return-value> | |
| 10485 | 12089 | <parameters> | |
| 10486 | 12090 | <parameter name="object" transfer-ownership="none"> | |
| 10487 | 12091 | <doc xml:space="preserve" | |
| 10488 | - | filename="gobject.h" | |
| 10489 | - | line="225">the #GObject being finalized</doc> | |
| 12092 | + | filename="gobject/gobject.h" | |
| 12093 | + | line="227">the #GObject being finalized</doc> | |
| 10490 | 12094 | <type name="Object" c:type="GObject*"/> | |
| 10491 | 12095 | </parameter> | |
| 10492 | 12096 | </parameters> | |
| 10493 | 12097 | </callback> | |
| 10494 | 12098 | <callback name="ObjectGetPropertyFunc" c:type="GObjectGetPropertyFunc"> | |
| 10495 | 12099 | <doc xml:space="preserve" | |
| 10496 | - | filename="gobject.h" | |
| 10497 | - | line="195">The type of the @get_property function of #GObjectClass.</doc> | |
| 10498 | - | <source-position filename="gobject.h" line="205"/> | |
| 12100 | + | filename="gobject/gobject.h" | |
| 12101 | + | line="197">The type of the @get_property function of #GObjectClass.</doc> | |
| 12102 | + | <source-position filename="gobject/gobject.h" line="207"/> | |
| 10499 | 12103 | <return-value transfer-ownership="none"> | |
| 10500 | 12104 | <type name="none" c:type="void"/> | |
| 10501 | 12105 | </return-value> | |
| 10502 | 12106 | <parameters> | |
| 10503 | 12107 | <parameter name="object" transfer-ownership="none"> | |
| 10504 | 12108 | <doc xml:space="preserve" | |
| 10505 | - | filename="gobject.h" | |
| 10506 | - | line="197">a #GObject</doc> | |
| 12109 | + | filename="gobject/gobject.h" | |
| 12110 | + | line="199">a #GObject</doc> | |
| 10507 | 12111 | <type name="Object" c:type="GObject*"/> | |
| 10508 | 12112 | </parameter> | |
| 10509 | 12113 | <parameter name="property_id" transfer-ownership="none"> | |
| 10510 | 12114 | <doc xml:space="preserve" | |
| 10511 | - | filename="gobject.h" | |
| 10512 | - | line="198">the numeric id under which the property was registered with | |
| 12115 | + | filename="gobject/gobject.h" | |
| 12116 | + | line="200">the numeric id under which the property was registered with | |
| 10513 | 12117 | g_object_class_install_property().</doc> | |
| 10514 | 12118 | <type name="guint" c:type="guint"/> | |
| 10515 | 12119 | </parameter> | |
| 10516 | 12120 | <parameter name="value" transfer-ownership="none"> | |
| 10517 | 12121 | <doc xml:space="preserve" | |
| 10518 | - | filename="gobject.h" | |
| 10519 | - | line="200">a #GValue to return the property value in</doc> | |
| 12122 | + | filename="gobject/gobject.h" | |
| 12123 | + | line="202">a #GValue to return the property value in</doc> | |
| 10520 | 12124 | <type name="Value" c:type="GValue*"/> | |
| 10521 | 12125 | </parameter> | |
| 10522 | 12126 | <parameter name="pspec" transfer-ownership="none"> | |
| 10523 | 12127 | <doc xml:space="preserve" | |
| 10524 | - | filename="gobject.h" | |
| 10525 | - | line="201">the #GParamSpec describing the property</doc> | |
| 12128 | + | filename="gobject/gobject.h" | |
| 12129 | + | line="203">the #GParamSpec describing the property</doc> | |
| 10526 | 12130 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 10527 | 12131 | </parameter> | |
| 10528 | 12132 | </parameters> | |
| 10529 | 12133 | </callback> | |
| 10530 | 12134 | <callback name="ObjectSetPropertyFunc" c:type="GObjectSetPropertyFunc"> | |
| 10531 | 12135 | <doc xml:space="preserve" | |
| 10532 | - | filename="gobject.h" | |
| 10533 | - | line="209">The type of the @set_property function of #GObjectClass.</doc> | |
| 10534 | - | <source-position filename="gobject.h" line="219"/> | |
| 12136 | + | filename="gobject/gobject.h" | |
| 12137 | + | line="211">The type of the @set_property function of #GObjectClass.</doc> | |
| 12138 | + | <source-position filename="gobject/gobject.h" line="221"/> | |
| 10535 | 12139 | <return-value transfer-ownership="none"> | |
| 10536 | 12140 | <type name="none" c:type="void"/> | |
| 10537 | 12141 | </return-value> | |
| 10538 | 12142 | <parameters> | |
| 10539 | 12143 | <parameter name="object" transfer-ownership="none"> | |
| 10540 | 12144 | <doc xml:space="preserve" | |
| 10541 | - | filename="gobject.h" | |
| 10542 | - | line="211">a #GObject</doc> | |
| 12145 | + | filename="gobject/gobject.h" | |
| 12146 | + | line="213">a #GObject</doc> | |
| 10543 | 12147 | <type name="Object" c:type="GObject*"/> | |
| 10544 | 12148 | </parameter> | |
| 10545 | 12149 | <parameter name="property_id" transfer-ownership="none"> | |
| 10546 | 12150 | <doc xml:space="preserve" | |
| 10547 | - | filename="gobject.h" | |
| 10548 | - | line="212">the numeric id under which the property was registered with | |
| 12151 | + | filename="gobject/gobject.h" | |
| 12152 | + | line="214">the numeric id under which the property was registered with | |
| 10549 | 12153 | g_object_class_install_property().</doc> | |
| 10550 | 12154 | <type name="guint" c:type="guint"/> | |
| 10551 | 12155 | </parameter> | |
| 10552 | 12156 | <parameter name="value" transfer-ownership="none"> | |
| 10553 | 12157 | <doc xml:space="preserve" | |
| 10554 | - | filename="gobject.h" | |
| 10555 | - | line="214">the new value for the property</doc> | |
| 12158 | + | filename="gobject/gobject.h" | |
| 12159 | + | line="216">the new value for the property</doc> | |
| 10556 | 12160 | <type name="Value" c:type="const GValue*"/> | |
| 10557 | 12161 | </parameter> | |
| 10558 | 12162 | <parameter name="pspec" transfer-ownership="none"> | |
| 10559 | 12163 | <doc xml:space="preserve" | |
| 10560 | - | filename="gobject.h" | |
| 10561 | - | line="215">the #GParamSpec describing the property</doc> | |
| 12164 | + | filename="gobject/gobject.h" | |
| 12165 | + | line="217">the #GParamSpec describing the property</doc> | |
| 10562 | 12166 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 10563 | 12167 | </parameter> | |
| 10564 | 12168 | </parameters> | |
| 10565 | 12169 | </callback> | |
| 12170 | + | <glib:boxed glib:name="OptionGroup" | |
| 12171 | + | c:symbol-prefix="option_group" | |
| 12172 | + | glib:type-name="GOptionGroup" | |
| 12173 | + | glib:get-type="g_option_group_get_type"> | |
| 12174 | + | </glib:boxed> | |
| 10566 | 12175 | <constant name="PARAM_MASK" value="255" c:type="G_PARAM_MASK"> | |
| 10567 | 12176 | <doc xml:space="preserve" | |
| 10568 | - | filename="gparam.h" | |
| 10569 | - | line="179">Mask containing the bits of #GParamSpec.flags which are reserved for GLib.</doc> | |
| 10570 | - | <source-position filename="gparam.h" line="184"/> | |
| 12177 | + | filename="gobject/gparam.h" | |
| 12178 | + | line="189">Mask containing the bits of #GParamSpec.flags which are reserved for GLib.</doc> | |
| 12179 | + | <source-position filename="gobject/gparam.h" line="194"/> | |
| 10571 | 12180 | <type name="gint" c:type="gint"/> | |
| 10572 | 12181 | </constant> | |
| 10573 | 12182 | <function-macro name="PARAM_SPEC" | |
| 10574 | 12183 | c:identifier="G_PARAM_SPEC" | |
| 10575 | 12184 | introspectable="0"> | |
| 10576 | 12185 | <doc xml:space="preserve" | |
| 10577 | - | filename="gparam.h" | |
| 10578 | - | line="38">Casts a derived #GParamSpec object (e.g. of type #GParamSpecInt) into | |
| 12186 | + | filename="gobject/gparam.h" | |
| 12187 | + | line="40">Casts a derived #GParamSpec object (e.g. of type #GParamSpecInt) into | |
| 10579 | 12188 | a #GParamSpec object.</doc> | |
| 10580 | - | <source-position filename="gparam.h" line="45"/> | |
| 12189 | + | <source-position filename="gobject/gparam.h" line="47"/> | |
| 10581 | 12190 | <parameters> | |
| 10582 | 12191 | <parameter name="pspec"> | |
| 10583 | 12192 | <doc xml:space="preserve" | |
| 10584 | - | filename="gparam.h" | |
| 10585 | - | line="40">a valid #GParamSpec</doc> | |
| 12193 | + | filename="gobject/gparam.h" | |
| 12194 | + | line="42">a valid #GParamSpec</doc> | |
| 10586 | 12195 | </parameter> | |
| 10587 | 12196 | </parameters> | |
| 10588 | 12197 | </function-macro> | |
| @@ -10590,14 +12199,14 @@ a #GParamSpec object.</doc> | |||
| 10590 | 12199 | c:identifier="G_PARAM_SPEC_BOOLEAN" | |
| 10591 | 12200 | introspectable="0"> | |
| 10592 | 12201 | <doc xml:space="preserve" | |
| 10593 | - | filename="gparamspecs.h" | |
| 10594 | - | line="95">Cast a #GParamSpec instance into a #GParamSpecBoolean.</doc> | |
| 10595 | - | <source-position filename="gparamspecs.h" line="101"/> | |
| 12202 | + | filename="gobject/gparamspecs.h" | |
| 12203 | + | line="97">Cast a #GParamSpec instance into a #GParamSpecBoolean.</doc> | |
| 12204 | + | <source-position filename="gobject/gparamspecs.h" line="103"/> | |
| 10596 | 12205 | <parameters> | |
| 10597 | 12206 | <parameter name="pspec"> | |
| 10598 | 12207 | <doc xml:space="preserve" | |
| 10599 | - | filename="gparamspecs.h" | |
| 10600 | - | line="97">a valid #GParamSpec instance</doc> | |
| 12208 | + | filename="gobject/gparamspecs.h" | |
| 12209 | + | line="99">a valid #GParamSpec instance</doc> | |
| 10601 | 12210 | </parameter> | |
| 10602 | 12211 | </parameters> | |
| 10603 | 12212 | </function-macro> | |
| @@ -10605,14 +12214,14 @@ a #GParamSpec object.</doc> | |||
| 10605 | 12214 | c:identifier="G_PARAM_SPEC_BOXED" | |
| 10606 | 12215 | introspectable="0"> | |
| 10607 | 12216 | <doc xml:space="preserve" | |
| 10608 | - | filename="gparamspecs.h" | |
| 10609 | - | line="417">Cast a #GParamSpec instance into a #GParamSpecBoxed.</doc> | |
| 10610 | - | <source-position filename="gparamspecs.h" line="423"/> | |
| 12217 | + | filename="gobject/gparamspecs.h" | |
| 12218 | + | line="419">Cast a #GParamSpec instance into a #GParamSpecBoxed.</doc> | |
| 12219 | + | <source-position filename="gobject/gparamspecs.h" line="425"/> | |
| 10611 | 12220 | <parameters> | |
| 10612 | 12221 | <parameter name="pspec"> | |
| 10613 | 12222 | <doc xml:space="preserve" | |
| 10614 | - | filename="gparamspecs.h" | |
| 10615 | - | line="419">a valid #GParamSpec instance</doc> | |
| 12223 | + | filename="gobject/gparamspecs.h" | |
| 12224 | + | line="421">a valid #GParamSpec instance</doc> | |
| 10616 | 12225 | </parameter> | |
| 10617 | 12226 | </parameters> | |
| 10618 | 12227 | </function-macro> | |
| @@ -10620,14 +12229,14 @@ a #GParamSpec object.</doc> | |||
| 10620 | 12229 | c:identifier="G_PARAM_SPEC_CHAR" | |
| 10621 | 12230 | introspectable="0"> | |
| 10622 | 12231 | <doc xml:space="preserve" | |
| 10623 | - | filename="gparamspecs.h" | |
| 10624 | - | line="49">Cast a #GParamSpec instance into a #GParamSpecChar.</doc> | |
| 10625 | - | <source-position filename="gparamspecs.h" line="55"/> | |
| 12232 | + | filename="gobject/gparamspecs.h" | |
| 12233 | + | line="51">Cast a #GParamSpec instance into a #GParamSpecChar.</doc> | |
| 12234 | + | <source-position filename="gobject/gparamspecs.h" line="57"/> | |
| 10626 | 12235 | <parameters> | |
| 10627 | 12236 | <parameter name="pspec"> | |
| 10628 | 12237 | <doc xml:space="preserve" | |
| 10629 | - | filename="gparamspecs.h" | |
| 10630 | - | line="51">a valid #GParamSpec instance</doc> | |
| 12238 | + | filename="gobject/gparamspecs.h" | |
| 12239 | + | line="53">a valid #GParamSpec instance</doc> | |
| 10631 | 12240 | </parameter> | |
| 10632 | 12241 | </parameters> | |
| 10633 | 12242 | </function-macro> | |
| @@ -10635,14 +12244,14 @@ a #GParamSpec object.</doc> | |||
| 10635 | 12244 | c:identifier="G_PARAM_SPEC_CLASS" | |
| 10636 | 12245 | introspectable="0"> | |
| 10637 | 12246 | <doc xml:space="preserve" | |
| 10638 | - | filename="gparam.h" | |
| 10639 | - | line="58">Casts a derived #GParamSpecClass structure into a #GParamSpecClass structure.</doc> | |
| 10640 | - | <source-position filename="gparam.h" line="64"/> | |
| 12247 | + | filename="gobject/gparam.h" | |
| 12248 | + | line="60">Casts a derived #GParamSpecClass structure into a #GParamSpecClass structure.</doc> | |
| 12249 | + | <source-position filename="gobject/gparam.h" line="66"/> | |
| 10641 | 12250 | <parameters> | |
| 10642 | 12251 | <parameter name="pclass"> | |
| 10643 | 12252 | <doc xml:space="preserve" | |
| 10644 | - | filename="gparam.h" | |
| 10645 | - | line="60">a valid #GParamSpecClass</doc> | |
| 12253 | + | filename="gobject/gparam.h" | |
| 12254 | + | line="62">a valid #GParamSpecClass</doc> | |
| 10646 | 12255 | </parameter> | |
| 10647 | 12256 | </parameters> | |
| 10648 | 12257 | </function-macro> | |
| @@ -10650,14 +12259,14 @@ a #GParamSpec object.</doc> | |||
| 10650 | 12259 | c:identifier="G_PARAM_SPEC_DOUBLE" | |
| 10651 | 12260 | introspectable="0"> | |
| 10652 | 12261 | <doc xml:space="preserve" | |
| 10653 | - | filename="gparamspecs.h" | |
| 10654 | - | line="348">Cast a #GParamSpec instance into a #GParamSpecDouble.</doc> | |
| 10655 | - | <source-position filename="gparamspecs.h" line="354"/> | |
| 12262 | + | filename="gobject/gparamspecs.h" | |
| 12263 | + | line="350">Cast a #GParamSpec instance into a #GParamSpecDouble.</doc> | |
| 12264 | + | <source-position filename="gobject/gparamspecs.h" line="356"/> | |
| 10656 | 12265 | <parameters> | |
| 10657 | 12266 | <parameter name="pspec"> | |
| 10658 | 12267 | <doc xml:space="preserve" | |
| 10659 | - | filename="gparamspecs.h" | |
| 10660 | - | line="350">a valid #GParamSpec instance</doc> | |
| 12268 | + | filename="gobject/gparamspecs.h" | |
| 12269 | + | line="352">a valid #GParamSpec instance</doc> | |
| 10661 | 12270 | </parameter> | |
| 10662 | 12271 | </parameters> | |
| 10663 | 12272 | </function-macro> | |
| @@ -10665,14 +12274,14 @@ a #GParamSpec object.</doc> | |||
| 10665 | 12274 | c:identifier="G_PARAM_SPEC_ENUM" | |
| 10666 | 12275 | introspectable="0"> | |
| 10667 | 12276 | <doc xml:space="preserve" | |
| 10668 | - | filename="gparamspecs.h" | |
| 10669 | - | line="279">Cast a #GParamSpec instance into a #GParamSpecEnum.</doc> | |
| 10670 | - | <source-position filename="gparamspecs.h" line="285"/> | |
| 12277 | + | filename="gobject/gparamspecs.h" | |
| 12278 | + | line="281">Cast a #GParamSpec instance into a #GParamSpecEnum.</doc> | |
| 12279 | + | <source-position filename="gobject/gparamspecs.h" line="287"/> | |
| 10671 | 12280 | <parameters> | |
| 10672 | 12281 | <parameter name="pspec"> | |
| 10673 | 12282 | <doc xml:space="preserve" | |
| 10674 | - | filename="gparamspecs.h" | |
| 10675 | - | line="281">a valid #GParamSpec instance</doc> | |
| 12283 | + | filename="gobject/gparamspecs.h" | |
| 12284 | + | line="283">a valid #GParamSpec instance</doc> | |
| 10676 | 12285 | </parameter> | |
| 10677 | 12286 | </parameters> | |
| 10678 | 12287 | </function-macro> | |
| @@ -10680,14 +12289,14 @@ a #GParamSpec object.</doc> | |||
| 10680 | 12289 | c:identifier="G_PARAM_SPEC_FLAGS" | |
| 10681 | 12290 | introspectable="0"> | |
| 10682 | 12291 | <doc xml:space="preserve" | |
| 10683 | - | filename="gparamspecs.h" | |
| 10684 | - | line="302">Cast a #GParamSpec instance into a #GParamSpecFlags.</doc> | |
| 10685 | - | <source-position filename="gparamspecs.h" line="308"/> | |
| 12292 | + | filename="gobject/gparamspecs.h" | |
| 12293 | + | line="304">Cast a #GParamSpec instance into a #GParamSpecFlags.</doc> | |
| 12294 | + | <source-position filename="gobject/gparamspecs.h" line="310"/> | |
| 10686 | 12295 | <parameters> | |
| 10687 | 12296 | <parameter name="pspec"> | |
| 10688 | 12297 | <doc xml:space="preserve" | |
| 10689 | - | filename="gparamspecs.h" | |
| 10690 | - | line="304">a valid #GParamSpec instance</doc> | |
| 12298 | + | filename="gobject/gparamspecs.h" | |
| 12299 | + | line="306">a valid #GParamSpec instance</doc> | |
| 10691 | 12300 | </parameter> | |
| 10692 | 12301 | </parameters> | |
| 10693 | 12302 | </function-macro> | |
| @@ -10695,14 +12304,14 @@ a #GParamSpec object.</doc> | |||
| 10695 | 12304 | c:identifier="G_PARAM_SPEC_FLOAT" | |
| 10696 | 12305 | introspectable="0"> | |
| 10697 | 12306 | <doc xml:space="preserve" | |
| 10698 | - | filename="gparamspecs.h" | |
| 10699 | - | line="325">Cast a #GParamSpec instance into a #GParamSpecFloat.</doc> | |
| 10700 | - | <source-position filename="gparamspecs.h" line="331"/> | |
| 12307 | + | filename="gobject/gparamspecs.h" | |
| 12308 | + | line="327">Cast a #GParamSpec instance into a #GParamSpecFloat.</doc> | |
| 12309 | + | <source-position filename="gobject/gparamspecs.h" line="333"/> | |
| 10701 | 12310 | <parameters> | |
| 10702 | 12311 | <parameter name="pspec"> | |
| 10703 | 12312 | <doc xml:space="preserve" | |
| 10704 | - | filename="gparamspecs.h" | |
| 10705 | - | line="327">a valid #GParamSpec instance</doc> | |
| 12313 | + | filename="gobject/gparamspecs.h" | |
| 12314 | + | line="329">a valid #GParamSpec instance</doc> | |
| 10706 | 12315 | </parameter> | |
| 10707 | 12316 | </parameters> | |
| 10708 | 12317 | </function-macro> | |
| @@ -10710,14 +12319,14 @@ a #GParamSpec object.</doc> | |||
| 10710 | 12319 | c:identifier="G_PARAM_SPEC_GET_CLASS" | |
| 10711 | 12320 | introspectable="0"> | |
| 10712 | 12321 | <doc xml:space="preserve" | |
| 10713 | - | filename="gparam.h" | |
| 10714 | - | line="73">Retrieves the #GParamSpecClass of a #GParamSpec.</doc> | |
| 10715 | - | <source-position filename="gparam.h" line="79"/> | |
| 12322 | + | filename="gobject/gparam.h" | |
| 12323 | + | line="75">Retrieves the #GParamSpecClass of a #GParamSpec.</doc> | |
| 12324 | + | <source-position filename="gobject/gparam.h" line="81"/> | |
| 10716 | 12325 | <parameters> | |
| 10717 | 12326 | <parameter name="pspec"> | |
| 10718 | 12327 | <doc xml:space="preserve" | |
| 10719 | - | filename="gparam.h" | |
| 10720 | - | line="75">a valid #GParamSpec</doc> | |
| 12328 | + | filename="gobject/gparam.h" | |
| 12329 | + | line="77">a valid #GParamSpec</doc> | |
| 10721 | 12330 | </parameter> | |
| 10722 | 12331 | </parameters> | |
| 10723 | 12332 | </function-macro> | |
| @@ -10726,14 +12335,14 @@ a #GParamSpec object.</doc> | |||
| 10726 | 12335 | version="2.10" | |
| 10727 | 12336 | introspectable="0"> | |
| 10728 | 12337 | <doc xml:space="preserve" | |
| 10729 | - | filename="gparamspecs.h" | |
| 10730 | - | line="546">Casts a #GParamSpec into a #GParamSpecGType.</doc> | |
| 10731 | - | <source-position filename="gparamspecs.h" line="554"/> | |
| 12338 | + | filename="gobject/gparamspecs.h" | |
| 12339 | + | line="548">Casts a #GParamSpec into a #GParamSpecGType.</doc> | |
| 12340 | + | <source-position filename="gobject/gparamspecs.h" line="556"/> | |
| 10732 | 12341 | <parameters> | |
| 10733 | 12342 | <parameter name="pspec"> | |
| 10734 | 12343 | <doc xml:space="preserve" | |
| 10735 | - | filename="gparamspecs.h" | |
| 10736 | - | line="548">a #GParamSpec</doc> | |
| 12344 | + | filename="gobject/gparamspecs.h" | |
| 12345 | + | line="550">a #GParamSpec</doc> | |
| 10737 | 12346 | </parameter> | |
| 10738 | 12347 | </parameters> | |
| 10739 | 12348 | </function-macro> | |
| @@ -10741,14 +12350,14 @@ a #GParamSpec object.</doc> | |||
| 10741 | 12350 | c:identifier="G_PARAM_SPEC_INT" | |
| 10742 | 12351 | introspectable="0"> | |
| 10743 | 12352 | <doc xml:space="preserve" | |
| 10744 | - | filename="gparamspecs.h" | |
| 10745 | - | line="118">Cast a #GParamSpec instance into a #GParamSpecInt.</doc> | |
| 10746 | - | <source-position filename="gparamspecs.h" line="124"/> | |
| 12353 | + | filename="gobject/gparamspecs.h" | |
| 12354 | + | line="120">Cast a #GParamSpec instance into a #GParamSpecInt.</doc> | |
| 12355 | + | <source-position filename="gobject/gparamspecs.h" line="126"/> | |
| 10747 | 12356 | <parameters> | |
| 10748 | 12357 | <parameter name="pspec"> | |
| 10749 | 12358 | <doc xml:space="preserve" | |
| 10750 | - | filename="gparamspecs.h" | |
| 10751 | - | line="120">a valid #GParamSpec instance</doc> | |
| 12359 | + | filename="gobject/gparamspecs.h" | |
| 12360 | + | line="122">a valid #GParamSpec instance</doc> | |
| 10752 | 12361 | </parameter> | |
| 10753 | 12362 | </parameters> | |
| 10754 | 12363 | </function-macro> | |
| @@ -10756,14 +12365,14 @@ a #GParamSpec object.</doc> | |||
| 10756 | 12365 | c:identifier="G_PARAM_SPEC_INT64" | |
| 10757 | 12366 | introspectable="0"> | |
| 10758 | 12367 | <doc xml:space="preserve" | |
| 10759 | - | filename="gparamspecs.h" | |
| 10760 | - | line="210">Cast a #GParamSpec instance into a #GParamSpecInt64.</doc> | |
| 10761 | - | <source-position filename="gparamspecs.h" line="216"/> | |
| 12368 | + | filename="gobject/gparamspecs.h" | |
| 12369 | + | line="212">Cast a #GParamSpec instance into a #GParamSpecInt64.</doc> | |
| 12370 | + | <source-position filename="gobject/gparamspecs.h" line="218"/> | |
| 10762 | 12371 | <parameters> | |
| 10763 | 12372 | <parameter name="pspec"> | |
| 10764 | 12373 | <doc xml:space="preserve" | |
| 10765 | - | filename="gparamspecs.h" | |
| 10766 | - | line="212">a valid #GParamSpec instance</doc> | |
| 12374 | + | filename="gobject/gparamspecs.h" | |
| 12375 | + | line="214">a valid #GParamSpec instance</doc> | |
| 10767 | 12376 | </parameter> | |
| 10768 | 12377 | </parameters> | |
| 10769 | 12378 | </function-macro> | |
| @@ -10771,14 +12380,14 @@ a #GParamSpec object.</doc> | |||
| 10771 | 12380 | c:identifier="G_PARAM_SPEC_LONG" | |
| 10772 | 12381 | introspectable="0"> | |
| 10773 | 12382 | <doc xml:space="preserve" | |
| 10774 | - | filename="gparamspecs.h" | |
| 10775 | - | line="164">Cast a #GParamSpec instance into a #GParamSpecLong.</doc> | |
| 10776 | - | <source-position filename="gparamspecs.h" line="170"/> | |
| 12383 | + | filename="gobject/gparamspecs.h" | |
| 12384 | + | line="166">Cast a #GParamSpec instance into a #GParamSpecLong.</doc> | |
| 12385 | + | <source-position filename="gobject/gparamspecs.h" line="172"/> | |
| 10777 | 12386 | <parameters> | |
| 10778 | 12387 | <parameter name="pspec"> | |
| 10779 | 12388 | <doc xml:space="preserve" | |
| 10780 | - | filename="gparamspecs.h" | |
| 10781 | - | line="166">a valid #GParamSpec instance</doc> | |
| 12389 | + | filename="gobject/gparamspecs.h" | |
| 12390 | + | line="168">a valid #GParamSpec instance</doc> | |
| 10782 | 12391 | </parameter> | |
| 10783 | 12392 | </parameters> | |
| 10784 | 12393 | </function-macro> | |
| @@ -10786,14 +12395,14 @@ a #GParamSpec object.</doc> | |||
| 10786 | 12395 | c:identifier="G_PARAM_SPEC_OBJECT" | |
| 10787 | 12396 | introspectable="0"> | |
| 10788 | 12397 | <doc xml:space="preserve" | |
| 10789 | - | filename="gparamspecs.h" | |
| 10790 | - | line="492">Casts a #GParamSpec instance into a #GParamSpecObject.</doc> | |
| 10791 | - | <source-position filename="gparamspecs.h" line="498"/> | |
| 12398 | + | filename="gobject/gparamspecs.h" | |
| 12399 | + | line="494">Casts a #GParamSpec instance into a #GParamSpecObject.</doc> | |
| 12400 | + | <source-position filename="gobject/gparamspecs.h" line="500"/> | |
| 10792 | 12401 | <parameters> | |
| 10793 | 12402 | <parameter name="pspec"> | |
| 10794 | 12403 | <doc xml:space="preserve" | |
| 10795 | - | filename="gparamspecs.h" | |
| 10796 | - | line="494">a valid #GParamSpec instance</doc> | |
| 12404 | + | filename="gobject/gparamspecs.h" | |
| 12405 | + | line="496">a valid #GParamSpec instance</doc> | |
| 10797 | 12406 | </parameter> | |
| 10798 | 12407 | </parameters> | |
| 10799 | 12408 | </function-macro> | |
| @@ -10802,14 +12411,14 @@ a #GParamSpec object.</doc> | |||
| 10802 | 12411 | version="2.4" | |
| 10803 | 12412 | introspectable="0"> | |
| 10804 | 12413 | <doc xml:space="preserve" | |
| 10805 | - | filename="gparamspecs.h" | |
| 10806 | - | line="518">Casts a #GParamSpec into a #GParamSpecOverride.</doc> | |
| 10807 | - | <source-position filename="gparamspecs.h" line="526"/> | |
| 12414 | + | filename="gobject/gparamspecs.h" | |
| 12415 | + | line="520">Casts a #GParamSpec into a #GParamSpecOverride.</doc> | |
| 12416 | + | <source-position filename="gobject/gparamspecs.h" line="528"/> | |
| 10808 | 12417 | <parameters> | |
| 10809 | 12418 | <parameter name="pspec"> | |
| 10810 | 12419 | <doc xml:space="preserve" | |
| 10811 | - | filename="gparamspecs.h" | |
| 10812 | - | line="520">a #GParamSpec</doc> | |
| 12420 | + | filename="gobject/gparamspecs.h" | |
| 12421 | + | line="522">a #GParamSpec</doc> | |
| 10813 | 12422 | </parameter> | |
| 10814 | 12423 | </parameters> | |
| 10815 | 12424 | </function-macro> | |
| @@ -10817,14 +12426,14 @@ a #GParamSpec object.</doc> | |||
| 10817 | 12426 | c:identifier="G_PARAM_SPEC_PARAM" | |
| 10818 | 12427 | introspectable="0"> | |
| 10819 | 12428 | <doc xml:space="preserve" | |
| 10820 | - | filename="gparamspecs.h" | |
| 10821 | - | line="394">Casts a #GParamSpec instance into a #GParamSpecParam.</doc> | |
| 10822 | - | <source-position filename="gparamspecs.h" line="400"/> | |
| 12429 | + | filename="gobject/gparamspecs.h" | |
| 12430 | + | line="396">Casts a #GParamSpec instance into a #GParamSpecParam.</doc> | |
| 12431 | + | <source-position filename="gobject/gparamspecs.h" line="402"/> | |
| 10823 | 12432 | <parameters> | |
| 10824 | 12433 | <parameter name="pspec"> | |
| 10825 | 12434 | <doc xml:space="preserve" | |
| 10826 | - | filename="gparamspecs.h" | |
| 10827 | - | line="396">a valid #GParamSpec instance</doc> | |
| 12435 | + | filename="gobject/gparamspecs.h" | |
| 12436 | + | line="398">a valid #GParamSpec instance</doc> | |
| 10828 | 12437 | </parameter> | |
| 10829 | 12438 | </parameters> | |
| 10830 | 12439 | </function-macro> | |
| @@ -10832,14 +12441,14 @@ a #GParamSpec object.</doc> | |||
| 10832 | 12441 | c:identifier="G_PARAM_SPEC_POINTER" | |
| 10833 | 12442 | introspectable="0"> | |
| 10834 | 12443 | <doc xml:space="preserve" | |
| 10835 | - | filename="gparamspecs.h" | |
| 10836 | - | line="440">Casts a #GParamSpec instance into a #GParamSpecPointer.</doc> | |
| 10837 | - | <source-position filename="gparamspecs.h" line="446"/> | |
| 12444 | + | filename="gobject/gparamspecs.h" | |
| 12445 | + | line="442">Casts a #GParamSpec instance into a #GParamSpecPointer.</doc> | |
| 12446 | + | <source-position filename="gobject/gparamspecs.h" line="448"/> | |
| 10838 | 12447 | <parameters> | |
| 10839 | 12448 | <parameter name="pspec"> | |
| 10840 | 12449 | <doc xml:space="preserve" | |
| 10841 | - | filename="gparamspecs.h" | |
| 10842 | - | line="442">a valid #GParamSpec instance</doc> | |
| 12450 | + | filename="gobject/gparamspecs.h" | |
| 12451 | + | line="444">a valid #GParamSpec instance</doc> | |
| 10843 | 12452 | </parameter> | |
| 10844 | 12453 | </parameters> | |
| 10845 | 12454 | </function-macro> | |
| @@ -10847,14 +12456,14 @@ a #GParamSpec object.</doc> | |||
| 10847 | 12456 | c:identifier="G_PARAM_SPEC_STRING" | |
| 10848 | 12457 | introspectable="0"> | |
| 10849 | 12458 | <doc xml:space="preserve" | |
| 10850 | - | filename="gparamspecs.h" | |
| 10851 | - | line="371">Casts a #GParamSpec instance into a #GParamSpecString.</doc> | |
| 10852 | - | <source-position filename="gparamspecs.h" line="377"/> | |
| 12459 | + | filename="gobject/gparamspecs.h" | |
| 12460 | + | line="373">Casts a #GParamSpec instance into a #GParamSpecString.</doc> | |
| 12461 | + | <source-position filename="gobject/gparamspecs.h" line="379"/> | |
| 10853 | 12462 | <parameters> | |
| 10854 | 12463 | <parameter name="pspec"> | |
| 10855 | 12464 | <doc xml:space="preserve" | |
| 10856 | - | filename="gparamspecs.h" | |
| 10857 | - | line="373">a valid #GParamSpec instance</doc> | |
| 12465 | + | filename="gobject/gparamspecs.h" | |
| 12466 | + | line="375">a valid #GParamSpec instance</doc> | |
| 10858 | 12467 | </parameter> | |
| 10859 | 12468 | </parameters> | |
| 10860 | 12469 | </function-macro> | |
| @@ -10862,14 +12471,14 @@ a #GParamSpec object.</doc> | |||
| 10862 | 12471 | c:identifier="G_PARAM_SPEC_TYPE" | |
| 10863 | 12472 | introspectable="0"> | |
| 10864 | 12473 | <doc xml:space="preserve" | |
| 10865 | - | filename="gparam.h" | |
| 10866 | - | line="83">Retrieves the #GType of this @pspec.</doc> | |
| 10867 | - | <source-position filename="gparam.h" line="89"/> | |
| 12474 | + | filename="gobject/gparam.h" | |
| 12475 | + | line="85">Retrieves the #GType of this @pspec.</doc> | |
| 12476 | + | <source-position filename="gobject/gparam.h" line="91"/> | |
| 10868 | 12477 | <parameters> | |
| 10869 | 12478 | <parameter name="pspec"> | |
| 10870 | 12479 | <doc xml:space="preserve" | |
| 10871 | - | filename="gparam.h" | |
| 10872 | - | line="85">a valid #GParamSpec</doc> | |
| 12480 | + | filename="gobject/gparam.h" | |
| 12481 | + | line="87">a valid #GParamSpec</doc> | |
| 10873 | 12482 | </parameter> | |
| 10874 | 12483 | </parameters> | |
| 10875 | 12484 | </function-macro> | |
| @@ -10877,14 +12486,14 @@ a #GParamSpec object.</doc> | |||
| 10877 | 12486 | c:identifier="G_PARAM_SPEC_TYPE_NAME" | |
| 10878 | 12487 | introspectable="0"> | |
| 10879 | 12488 | <doc xml:space="preserve" | |
| 10880 | - | filename="gparam.h" | |
| 10881 | - | line="90">Retrieves the #GType name of this @pspec.</doc> | |
| 10882 | - | <source-position filename="gparam.h" line="96"/> | |
| 12489 | + | filename="gobject/gparam.h" | |
| 12490 | + | line="92">Retrieves the #GType name of this @pspec.</doc> | |
| 12491 | + | <source-position filename="gobject/gparam.h" line="98"/> | |
| 10883 | 12492 | <parameters> | |
| 10884 | 12493 | <parameter name="pspec"> | |
| 10885 | 12494 | <doc xml:space="preserve" | |
| 10886 | - | filename="gparam.h" | |
| 10887 | - | line="92">a valid #GParamSpec</doc> | |
| 12495 | + | filename="gobject/gparam.h" | |
| 12496 | + | line="94">a valid #GParamSpec</doc> | |
| 10888 | 12497 | </parameter> | |
| 10889 | 12498 | </parameters> | |
| 10890 | 12499 | </function-macro> | |
| @@ -10892,14 +12501,14 @@ a #GParamSpec object.</doc> | |||
| 10892 | 12501 | c:identifier="G_PARAM_SPEC_UCHAR" | |
| 10893 | 12502 | introspectable="0"> | |
| 10894 | 12503 | <doc xml:space="preserve" | |
| 10895 | - | filename="gparamspecs.h" | |
| 10896 | - | line="72">Cast a #GParamSpec instance into a #GParamSpecUChar.</doc> | |
| 10897 | - | <source-position filename="gparamspecs.h" line="78"/> | |
| 12504 | + | filename="gobject/gparamspecs.h" | |
| 12505 | + | line="74">Cast a #GParamSpec instance into a #GParamSpecUChar.</doc> | |
| 12506 | + | <source-position filename="gobject/gparamspecs.h" line="80"/> | |
| 10898 | 12507 | <parameters> | |
| 10899 | 12508 | <parameter name="pspec"> | |
| 10900 | 12509 | <doc xml:space="preserve" | |
| 10901 | - | filename="gparamspecs.h" | |
| 10902 | - | line="74">a valid #GParamSpec instance</doc> | |
| 12510 | + | filename="gobject/gparamspecs.h" | |
| 12511 | + | line="76">a valid #GParamSpec instance</doc> | |
| 10903 | 12512 | </parameter> | |
| 10904 | 12513 | </parameters> | |
| 10905 | 12514 | </function-macro> | |
| @@ -10907,14 +12516,14 @@ a #GParamSpec object.</doc> | |||
| 10907 | 12516 | c:identifier="G_PARAM_SPEC_UINT" | |
| 10908 | 12517 | introspectable="0"> | |
| 10909 | 12518 | <doc xml:space="preserve" | |
| 10910 | - | filename="gparamspecs.h" | |
| 10911 | - | line="141">Cast a #GParamSpec instance into a #GParamSpecUInt.</doc> | |
| 10912 | - | <source-position filename="gparamspecs.h" line="147"/> | |
| 12519 | + | filename="gobject/gparamspecs.h" | |
| 12520 | + | line="143">Cast a #GParamSpec instance into a #GParamSpecUInt.</doc> | |
| 12521 | + | <source-position filename="gobject/gparamspecs.h" line="149"/> | |
| 10913 | 12522 | <parameters> | |
| 10914 | 12523 | <parameter name="pspec"> | |
| 10915 | 12524 | <doc xml:space="preserve" | |
| 10916 | - | filename="gparamspecs.h" | |
| 10917 | - | line="143">a valid #GParamSpec instance</doc> | |
| 12525 | + | filename="gobject/gparamspecs.h" | |
| 12526 | + | line="145">a valid #GParamSpec instance</doc> | |
| 10918 | 12527 | </parameter> | |
| 10919 | 12528 | </parameters> | |
| 10920 | 12529 | </function-macro> | |
| @@ -10922,14 +12531,14 @@ a #GParamSpec object.</doc> | |||
| 10922 | 12531 | c:identifier="G_PARAM_SPEC_UINT64" | |
| 10923 | 12532 | introspectable="0"> | |
| 10924 | 12533 | <doc xml:space="preserve" | |
| 10925 | - | filename="gparamspecs.h" | |
| 10926 | - | line="233">Cast a #GParamSpec instance into a #GParamSpecUInt64.</doc> | |
| 10927 | - | <source-position filename="gparamspecs.h" line="239"/> | |
| 12534 | + | filename="gobject/gparamspecs.h" | |
| 12535 | + | line="235">Cast a #GParamSpec instance into a #GParamSpecUInt64.</doc> | |
| 12536 | + | <source-position filename="gobject/gparamspecs.h" line="241"/> | |
| 10928 | 12537 | <parameters> | |
| 10929 | 12538 | <parameter name="pspec"> | |
| 10930 | 12539 | <doc xml:space="preserve" | |
| 10931 | - | filename="gparamspecs.h" | |
| 10932 | - | line="235">a valid #GParamSpec instance</doc> | |
| 12540 | + | filename="gobject/gparamspecs.h" | |
| 12541 | + | line="237">a valid #GParamSpec instance</doc> | |
| 10933 | 12542 | </parameter> | |
| 10934 | 12543 | </parameters> | |
| 10935 | 12544 | </function-macro> | |
| @@ -10937,14 +12546,14 @@ a #GParamSpec object.</doc> | |||
| 10937 | 12546 | c:identifier="G_PARAM_SPEC_ULONG" | |
| 10938 | 12547 | introspectable="0"> | |
| 10939 | 12548 | <doc xml:space="preserve" | |
| 10940 | - | filename="gparamspecs.h" | |
| 10941 | - | line="187">Cast a #GParamSpec instance into a #GParamSpecULong.</doc> | |
| 10942 | - | <source-position filename="gparamspecs.h" line="193"/> | |
| 12549 | + | filename="gobject/gparamspecs.h" | |
| 12550 | + | line="189">Cast a #GParamSpec instance into a #GParamSpecULong.</doc> | |
| 12551 | + | <source-position filename="gobject/gparamspecs.h" line="195"/> | |
| 10943 | 12552 | <parameters> | |
| 10944 | 12553 | <parameter name="pspec"> | |
| 10945 | 12554 | <doc xml:space="preserve" | |
| 10946 | - | filename="gparamspecs.h" | |
| 10947 | - | line="189">a valid #GParamSpec instance</doc> | |
| 12555 | + | filename="gobject/gparamspecs.h" | |
| 12556 | + | line="191">a valid #GParamSpec instance</doc> | |
| 10948 | 12557 | </parameter> | |
| 10949 | 12558 | </parameters> | |
| 10950 | 12559 | </function-macro> | |
| @@ -10952,14 +12561,14 @@ a #GParamSpec object.</doc> | |||
| 10952 | 12561 | c:identifier="G_PARAM_SPEC_UNICHAR" | |
| 10953 | 12562 | introspectable="0"> | |
| 10954 | 12563 | <doc xml:space="preserve" | |
| 10955 | - | filename="gparamspecs.h" | |
| 10956 | - | line="247">Cast a #GParamSpec instance into a #GParamSpecUnichar.</doc> | |
| 10957 | - | <source-position filename="gparamspecs.h" line="253"/> | |
| 12564 | + | filename="gobject/gparamspecs.h" | |
| 12565 | + | line="249">Cast a #GParamSpec instance into a #GParamSpecUnichar.</doc> | |
| 12566 | + | <source-position filename="gobject/gparamspecs.h" line="255"/> | |
| 10958 | 12567 | <parameters> | |
| 10959 | 12568 | <parameter name="pspec"> | |
| 10960 | 12569 | <doc xml:space="preserve" | |
| 10961 | - | filename="gparamspecs.h" | |
| 10962 | - | line="249">a valid #GParamSpec instance</doc> | |
| 12570 | + | filename="gobject/gparamspecs.h" | |
| 12571 | + | line="251">a valid #GParamSpec instance</doc> | |
| 10963 | 12572 | </parameter> | |
| 10964 | 12573 | </parameters> | |
| 10965 | 12574 | </function-macro> | |
| @@ -10969,15 +12578,15 @@ a #GParamSpec object.</doc> | |||
| 10969 | 12578 | deprecated="1" | |
| 10970 | 12579 | deprecated-version="2.32"> | |
| 10971 | 12580 | <doc xml:space="preserve" | |
| 10972 | - | filename="gparamspecs.h" | |
| 10973 | - | line="467">Cast a #GParamSpec instance into a #GParamSpecValueArray.</doc> | |
| 12581 | + | filename="gobject/gparamspecs.h" | |
| 12582 | + | line="469">Cast a #GParamSpec instance into a #GParamSpecValueArray.</doc> | |
| 10974 | 12583 | <doc-deprecated xml:space="preserve">Use #GArray instead of #GValueArray</doc-deprecated> | |
| 10975 | - | <source-position filename="gparamspecs.h" line="475"/> | |
| 12584 | + | <source-position filename="gobject/gparamspecs.h" line="477"/> | |
| 10976 | 12585 | <parameters> | |
| 10977 | 12586 | <parameter name="pspec"> | |
| 10978 | 12587 | <doc xml:space="preserve" | |
| 10979 | - | filename="gparamspecs.h" | |
| 10980 | - | line="469">a valid #GParamSpec instance</doc> | |
| 12588 | + | filename="gobject/gparamspecs.h" | |
| 12589 | + | line="471">a valid #GParamSpec instance</doc> | |
| 10981 | 12590 | </parameter> | |
| 10982 | 12591 | </parameters> | |
| 10983 | 12592 | </function-macro> | |
| @@ -10985,14 +12594,14 @@ a #GParamSpec object.</doc> | |||
| 10985 | 12594 | c:identifier="G_PARAM_SPEC_VALUE_TYPE" | |
| 10986 | 12595 | introspectable="0"> | |
| 10987 | 12596 | <doc xml:space="preserve" | |
| 10988 | - | filename="gparam.h" | |
| 10989 | - | line="97">Retrieves the #GType to initialize a #GValue for this parameter.</doc> | |
| 10990 | - | <source-position filename="gparam.h" line="103"/> | |
| 12597 | + | filename="gobject/gparam.h" | |
| 12598 | + | line="99">Retrieves the #GType to initialize a #GValue for this parameter.</doc> | |
| 12599 | + | <source-position filename="gobject/gparam.h" line="105"/> | |
| 10991 | 12600 | <parameters> | |
| 10992 | 12601 | <parameter name="pspec"> | |
| 10993 | 12602 | <doc xml:space="preserve" | |
| 10994 | - | filename="gparam.h" | |
| 10995 | - | line="99">a valid #GParamSpec</doc> | |
| 12603 | + | filename="gobject/gparam.h" | |
| 12604 | + | line="101">a valid #GParamSpec</doc> | |
| 10996 | 12605 | </parameter> | |
| 10997 | 12606 | </parameters> | |
| 10998 | 12607 | </function-macro> | |
| @@ -11001,14 +12610,14 @@ a #GParamSpec object.</doc> | |||
| 11001 | 12610 | version="2.26" | |
| 11002 | 12611 | introspectable="0"> | |
| 11003 | 12612 | <doc xml:space="preserve" | |
| 11004 | - | filename="gparamspecs.h" | |
| 11005 | - | line="575">Casts a #GParamSpec into a #GParamSpecVariant.</doc> | |
| 11006 | - | <source-position filename="gparamspecs.h" line="583"/> | |
| 12613 | + | filename="gobject/gparamspecs.h" | |
| 12614 | + | line="577">Casts a #GParamSpec into a #GParamSpecVariant.</doc> | |
| 12615 | + | <source-position filename="gobject/gparamspecs.h" line="585"/> | |
| 11007 | 12616 | <parameters> | |
| 11008 | 12617 | <parameter name="pspec"> | |
| 11009 | 12618 | <doc xml:space="preserve" | |
| 11010 | - | filename="gparamspecs.h" | |
| 11011 | - | line="577">a #GParamSpec</doc> | |
| 12619 | + | filename="gobject/gparamspecs.h" | |
| 12620 | + | line="579">a #GParamSpec</doc> | |
| 11012 | 12621 | </parameter> | |
| 11013 | 12622 | </parameters> | |
| 11014 | 12623 | </function-macro> | |
| @@ -11016,19 +12625,25 @@ a #GParamSpec object.</doc> | |||
| 11016 | 12625 | value="224" | |
| 11017 | 12626 | c:type="G_PARAM_STATIC_STRINGS"> | |
| 11018 | 12627 | <doc xml:space="preserve" | |
| 11019 | - | filename="gparam.h" | |
| 11020 | - | line="170">#GParamFlags value alias for %G_PARAM_STATIC_NAME | %G_PARAM_STATIC_NICK | %G_PARAM_STATIC_BLURB. | |
| 12628 | + | filename="gobject/gparam.h" | |
| 12629 | + | line="174">#GParamFlags value alias for %G_PARAM_STATIC_NAME | %G_PARAM_STATIC_NICK | %G_PARAM_STATIC_BLURB. | |
| 12630 | + | ||
| 12631 | + | It is recommended to use this for all properties by default, as it allows for | |
| 12632 | + | internal performance improvements in GObject. | |
| 12633 | + | ||
| 12634 | + | It is very rare that a property would have a dynamically constructed name, | |
| 12635 | + | nickname or blurb. | |
| 11021 | 12636 | ||
| 11022 | 12637 | Since 2.13.0</doc> | |
| 11023 | - | <source-position filename="gparam.h" line="177"/> | |
| 12638 | + | <source-position filename="gobject/gparam.h" line="187"/> | |
| 11024 | 12639 | <type name="gint" c:type="gint"/> | |
| 11025 | 12640 | </constant> | |
| 11026 | 12641 | <constant name="PARAM_USER_SHIFT" value="8" c:type="G_PARAM_USER_SHIFT"> | |
| 11027 | 12642 | <doc xml:space="preserve" | |
| 11028 | - | filename="gparam.h" | |
| 11029 | - | line="185">Minimum shift count to be used for user defined flags, to be stored in | |
| 12643 | + | filename="gobject/gparam.h" | |
| 12644 | + | line="195">Minimum shift count to be used for user defined flags, to be stored in | |
| 11030 | 12645 | #GParamSpec.flags. The maximum allowed is 10.</doc> | |
| 11031 | - | <source-position filename="gparam.h" line="191"/> | |
| 12646 | + | <source-position filename="gobject/gparam.h" line="201"/> | |
| 11032 | 12647 | <type name="gint" c:type="gint"/> | |
| 11033 | 12648 | </constant> | |
| 11034 | 12649 | <function-macro name="PRIVATE_FIELD" | |
| @@ -11036,34 +12651,34 @@ Since 2.13.0</doc> | |||
| 11036 | 12651 | version="2.38" | |
| 11037 | 12652 | introspectable="0"> | |
| 11038 | 12653 | <doc xml:space="preserve" | |
| 11039 | - | filename="gtype.h" | |
| 11040 | - | line="2077">Evaluates to the @field_name inside the @inst private data | |
| 12654 | + | filename="gobject/gtype.h" | |
| 12655 | + | line="2234">Evaluates to the @field_name inside the @inst private data | |
| 11041 | 12656 | structure for @TypeName. | |
| 11042 | 12657 | ||
| 11043 | 12658 | Note that this macro can only be used together with the `G_DEFINE_TYPE_*` | |
| 11044 | 12659 | and G_ADD_PRIVATE() macros, since it depends on variable names from | |
| 11045 | 12660 | those macros.</doc> | |
| 11046 | - | <source-position filename="gtype.h" line="2093"/> | |
| 12661 | + | <source-position filename="gobject/gtype.h" line="2250"/> | |
| 11047 | 12662 | <parameters> | |
| 11048 | 12663 | <parameter name="TypeName"> | |
| 11049 | 12664 | <doc xml:space="preserve" | |
| 11050 | - | filename="gtype.h" | |
| 11051 | - | line="2079">the name of the type in CamelCase</doc> | |
| 12665 | + | filename="gobject/gtype.h" | |
| 12666 | + | line="2236">the name of the type in CamelCase</doc> | |
| 11052 | 12667 | </parameter> | |
| 11053 | 12668 | <parameter name="inst"> | |
| 11054 | 12669 | <doc xml:space="preserve" | |
| 11055 | - | filename="gtype.h" | |
| 11056 | - | line="2080">the instance of @TypeName you wish to access</doc> | |
| 12670 | + | filename="gobject/gtype.h" | |
| 12671 | + | line="2237">the instance of @TypeName you wish to access</doc> | |
| 11057 | 12672 | </parameter> | |
| 11058 | 12673 | <parameter name="field_type"> | |
| 11059 | 12674 | <doc xml:space="preserve" | |
| 11060 | - | filename="gtype.h" | |
| 11061 | - | line="2081">the type of the field in the private data structure</doc> | |
| 12675 | + | filename="gobject/gtype.h" | |
| 12676 | + | line="2238">the type of the field in the private data structure</doc> | |
| 11062 | 12677 | </parameter> | |
| 11063 | 12678 | <parameter name="field_name"> | |
| 11064 | 12679 | <doc xml:space="preserve" | |
| 11065 | - | filename="gtype.h" | |
| 11066 | - | line="2082">the name of the field in the private data structure</doc> | |
| 12680 | + | filename="gobject/gtype.h" | |
| 12681 | + | line="2239">the name of the field in the private data structure</doc> | |
| 11067 | 12682 | </parameter> | |
| 11068 | 12683 | </parameters> | |
| 11069 | 12684 | </function-macro> | |
| @@ -11072,29 +12687,29 @@ those macros.</doc> | |||
| 11072 | 12687 | version="2.38" | |
| 11073 | 12688 | introspectable="0"> | |
| 11074 | 12689 | <doc xml:space="preserve" | |
| 11075 | - | filename="gtype.h" | |
| 11076 | - | line="2059">Evaluates to a pointer to the @field_name inside the @inst private data | |
| 12690 | + | filename="gobject/gtype.h" | |
| 12691 | + | line="2216">Evaluates to a pointer to the @field_name inside the @inst private data | |
| 11077 | 12692 | structure for @TypeName. | |
| 11078 | 12693 | ||
| 11079 | 12694 | Note that this macro can only be used together with the `G_DEFINE_TYPE_*` | |
| 11080 | 12695 | and G_ADD_PRIVATE() macros, since it depends on variable names from | |
| 11081 | 12696 | those macros.</doc> | |
| 11082 | - | <source-position filename="gtype.h" line="2074"/> | |
| 12697 | + | <source-position filename="gobject/gtype.h" line="2231"/> | |
| 11083 | 12698 | <parameters> | |
| 11084 | 12699 | <parameter name="TypeName"> | |
| 11085 | 12700 | <doc xml:space="preserve" | |
| 11086 | - | filename="gtype.h" | |
| 11087 | - | line="2061">the name of the type in CamelCase</doc> | |
| 12701 | + | filename="gobject/gtype.h" | |
| 12702 | + | line="2218">the name of the type in CamelCase</doc> | |
| 11088 | 12703 | </parameter> | |
| 11089 | 12704 | <parameter name="inst"> | |
| 11090 | 12705 | <doc xml:space="preserve" | |
| 11091 | - | filename="gtype.h" | |
| 11092 | - | line="2062">the instance of @TypeName you wish to access</doc> | |
| 12706 | + | filename="gobject/gtype.h" | |
| 12707 | + | line="2219">the instance of @TypeName you wish to access</doc> | |
| 11093 | 12708 | </parameter> | |
| 11094 | 12709 | <parameter name="field_name"> | |
| 11095 | 12710 | <doc xml:space="preserve" | |
| 11096 | - | filename="gtype.h" | |
| 11097 | - | line="2063">the name of the field in the private data structure</doc> | |
| 12711 | + | filename="gobject/gtype.h" | |
| 12712 | + | line="2220">the name of the field in the private data structure</doc> | |
| 11098 | 12713 | </parameter> | |
| 11099 | 12714 | </parameters> | |
| 11100 | 12715 | </function-macro> | |
| @@ -11103,85 +12718,89 @@ those macros.</doc> | |||
| 11103 | 12718 | version="2.38" | |
| 11104 | 12719 | introspectable="0"> | |
| 11105 | 12720 | <doc xml:space="preserve" | |
| 11106 | - | filename="gtype.h" | |
| 11107 | - | line="2042">Evaluates to the offset of the @field inside the instance private data | |
| 12721 | + | filename="gobject/gtype.h" | |
| 12722 | + | line="2199">Evaluates to the offset of the @field inside the instance private data | |
| 11108 | 12723 | structure for @TypeName. | |
| 11109 | 12724 | ||
| 11110 | 12725 | Note that this macro can only be used together with the `G_DEFINE_TYPE_*` | |
| 11111 | 12726 | and G_ADD_PRIVATE() macros, since it depends on variable names from | |
| 11112 | 12727 | those macros.</doc> | |
| 11113 | - | <source-position filename="gtype.h" line="2056"/> | |
| 12728 | + | <source-position filename="gobject/gtype.h" line="2213"/> | |
| 11114 | 12729 | <parameters> | |
| 11115 | 12730 | <parameter name="TypeName"> | |
| 11116 | 12731 | <doc xml:space="preserve" | |
| 11117 | - | filename="gtype.h" | |
| 11118 | - | line="2044">the name of the type in CamelCase</doc> | |
| 12732 | + | filename="gobject/gtype.h" | |
| 12733 | + | line="2201">the name of the type in CamelCase</doc> | |
| 11119 | 12734 | </parameter> | |
| 11120 | 12735 | <parameter name="field"> | |
| 11121 | 12736 | <doc xml:space="preserve" | |
| 11122 | - | filename="gtype.h" | |
| 11123 | - | line="2045">the name of the field in the private data structure</doc> | |
| 12737 | + | filename="gobject/gtype.h" | |
| 12738 | + | line="2202">the name of the field in the private data structure</doc> | |
| 11124 | 12739 | </parameter> | |
| 11125 | 12740 | </parameters> | |
| 11126 | 12741 | </function-macro> | |
| 11127 | 12742 | <bitfield name="ParamFlags" c:type="GParamFlags"> | |
| 11128 | 12743 | <doc xml:space="preserve" | |
| 11129 | - | filename="gparam.h" | |
| 11130 | - | line="116">Through the #GParamFlags flag values, certain aspects of parameters | |
| 12744 | + | filename="gobject/gparam.h" | |
| 12745 | + | line="118">Through the #GParamFlags flag values, certain aspects of parameters | |
| 11131 | 12746 | can be configured. | |
| 11132 | 12747 | ||
| 11133 | 12748 | See also: %G_PARAM_STATIC_STRINGS</doc> | |
| 11134 | - | <source-position filename="gparam.h" line="168"/> | |
| 12749 | + | <source-position filename="gobject/gparam.h" line="172"/> | |
| 11135 | 12750 | <member name="readable" value="1" c:identifier="G_PARAM_READABLE"> | |
| 11136 | 12751 | <doc xml:space="preserve" | |
| 11137 | - | filename="gparam.h" | |
| 11138 | - | line="118">the parameter is readable</doc> | |
| 12752 | + | filename="gobject/gparam.h" | |
| 12753 | + | line="120">the parameter is readable</doc> | |
| 11139 | 12754 | </member> | |
| 11140 | 12755 | <member name="writable" value="2" c:identifier="G_PARAM_WRITABLE"> | |
| 11141 | 12756 | <doc xml:space="preserve" | |
| 11142 | - | filename="gparam.h" | |
| 11143 | - | line="119">the parameter is writable</doc> | |
| 12757 | + | filename="gobject/gparam.h" | |
| 12758 | + | line="121">the parameter is writable</doc> | |
| 11144 | 12759 | </member> | |
| 11145 | 12760 | <member name="readwrite" value="3" c:identifier="G_PARAM_READWRITE"> | |
| 11146 | 12761 | <doc xml:space="preserve" | |
| 11147 | - | filename="gparam.h" | |
| 11148 | - | line="120">alias for %G_PARAM_READABLE | %G_PARAM_WRITABLE</doc> | |
| 12762 | + | filename="gobject/gparam.h" | |
| 12763 | + | line="122">alias for %G_PARAM_READABLE | %G_PARAM_WRITABLE</doc> | |
| 11149 | 12764 | </member> | |
| 11150 | 12765 | <member name="construct" value="4" c:identifier="G_PARAM_CONSTRUCT"> | |
| 11151 | 12766 | <doc xml:space="preserve" | |
| 11152 | - | filename="gparam.h" | |
| 11153 | - | line="121">the parameter will be set upon object construction</doc> | |
| 12767 | + | filename="gobject/gparam.h" | |
| 12768 | + | line="123">the parameter will be set upon object construction. | |
| 12769 | + | See [vfunc@Object.constructed] for more details</doc> | |
| 11154 | 12770 | </member> | |
| 11155 | 12771 | <member name="construct_only" | |
| 11156 | 12772 | value="8" | |
| 11157 | 12773 | c:identifier="G_PARAM_CONSTRUCT_ONLY"> | |
| 11158 | 12774 | <doc xml:space="preserve" | |
| 11159 | - | filename="gparam.h" | |
| 11160 | - | line="122">the parameter can only be set upon object construction</doc> | |
| 12775 | + | filename="gobject/gparam.h" | |
| 12776 | + | line="125">the parameter can only be set upon object construction. | |
| 12777 | + | See [vfunc@Object.constructed] for more details</doc> | |
| 11161 | 12778 | </member> | |
| 11162 | 12779 | <member name="lax_validation" | |
| 11163 | 12780 | value="16" | |
| 11164 | 12781 | c:identifier="G_PARAM_LAX_VALIDATION"> | |
| 11165 | 12782 | <doc xml:space="preserve" | |
| 11166 | - | filename="gparam.h" | |
| 11167 | - | line="123">upon parameter conversion (see g_param_value_convert()) | |
| 12783 | + | filename="gobject/gparam.h" | |
| 12784 | + | line="127">upon parameter conversion (see g_param_value_convert()) | |
| 11168 | 12785 | strict validation is not required</doc> | |
| 11169 | 12786 | </member> | |
| 11170 | 12787 | <member name="static_name" value="32" c:identifier="G_PARAM_STATIC_NAME"> | |
| 11171 | 12788 | <doc xml:space="preserve" | |
| 11172 | - | filename="gparam.h" | |
| 11173 | - | line="125">the string used as name when constructing the | |
| 12789 | + | filename="gobject/gparam.h" | |
| 12790 | + | line="129">the string used as name when constructing the | |
| 11174 | 12791 | parameter is guaranteed to remain valid and | |
| 11175 | 12792 | unmodified for the lifetime of the parameter. | |
| 11176 | 12793 | Since 2.8</doc> | |
| 11177 | 12794 | </member> | |
| 11178 | 12795 | <member name="private" value="32" c:identifier="G_PARAM_PRIVATE"> | |
| 11179 | - | <doc xml:space="preserve" filename="gparam.h" line="141">internal</doc> | |
| 12796 | + | <doc xml:space="preserve" | |
| 12797 | + | filename="gobject/gparam.h" | |
| 12798 | + | line="145">internal</doc> | |
| 11180 | 12799 | </member> | |
| 11181 | 12800 | <member name="static_nick" value="64" c:identifier="G_PARAM_STATIC_NICK"> | |
| 11182 | 12801 | <doc xml:space="preserve" | |
| 11183 | - | filename="gparam.h" | |
| 11184 | - | line="129">the string used as nick when constructing the | |
| 12802 | + | filename="gobject/gparam.h" | |
| 12803 | + | line="133">the string used as nick when constructing the | |
| 11185 | 12804 | parameter is guaranteed to remain valid and | |
| 11186 | 12805 | unmmodified for the lifetime of the parameter. | |
| 11187 | 12806 | Since 2.8</doc> | |
| @@ -11190,8 +12809,8 @@ See also: %G_PARAM_STATIC_STRINGS</doc> | |||
| 11190 | 12809 | value="128" | |
| 11191 | 12810 | c:identifier="G_PARAM_STATIC_BLURB"> | |
| 11192 | 12811 | <doc xml:space="preserve" | |
| 11193 | - | filename="gparam.h" | |
| 11194 | - | line="133">the string used as blurb when constructing the | |
| 12812 | + | filename="gobject/gparam.h" | |
| 12813 | + | line="137">the string used as blurb when constructing the | |
| 11195 | 12814 | parameter is guaranteed to remain valid and | |
| 11196 | 12815 | unmodified for the lifetime of the parameter. | |
| 11197 | 12816 | Since 2.8</doc> | |
| @@ -11200,8 +12819,8 @@ See also: %G_PARAM_STATIC_STRINGS</doc> | |||
| 11200 | 12819 | value="1073741824" | |
| 11201 | 12820 | c:identifier="G_PARAM_EXPLICIT_NOTIFY"> | |
| 11202 | 12821 | <doc xml:space="preserve" | |
| 11203 | - | filename="gparam.h" | |
| 11204 | - | line="137">calls to g_object_set_property() for this | |
| 12822 | + | filename="gobject/gparam.h" | |
| 12823 | + | line="141">calls to g_object_set_property() for this | |
| 11205 | 12824 | property will not automatically result in a "notify" signal being | |
| 11206 | 12825 | emitted: the implementation must call g_object_notify() themselves | |
| 11207 | 12826 | in case the property actually changes. Since: 2.42.</doc> | |
| @@ -11210,8 +12829,8 @@ See also: %G_PARAM_STATIC_STRINGS</doc> | |||
| 11210 | 12829 | value="2147483648" | |
| 11211 | 12830 | c:identifier="G_PARAM_DEPRECATED"> | |
| 11212 | 12831 | <doc xml:space="preserve" | |
| 11213 | - | filename="gparam.h" | |
| 11214 | - | line="142">the parameter is deprecated and will be removed | |
| 12832 | + | filename="gobject/gparam.h" | |
| 12833 | + | line="146">the parameter is deprecated and will be removed | |
| 11215 | 12834 | in a future version. A warning will be generated if it is used | |
| 11216 | 12835 | while running with G_ENABLE_DIAGNOSTIC=1. | |
| 11217 | 12836 | Since 2.26</doc> | |
| @@ -11230,74 +12849,80 @@ See also: %G_PARAM_STATIC_STRINGS</doc> | |||
| 11230 | 12849 | glib:set-value-func="g_value_set_param" | |
| 11231 | 12850 | glib:get-value-func="g_value_get_param"> | |
| 11232 | 12851 | <doc xml:space="preserve" | |
| 11233 | - | filename="gobject-2.0.c" | |
| 11234 | - | line="525">#GParamSpec is an object structure that encapsulates the metadata | |
| 11235 | - | required to specify parameters, such as e.g. #GObject properties. | |
| 12852 | + | filename="gobject/gparam.c" | |
| 12853 | + | line="33">`GParamSpec` encapsulates the metadata required to specify parameters, such as `GObject` properties. | |
| 11236 | 12854 | ||
| 11237 | - | ## Parameter names # {#canonical-parameter-names} | |
| 12855 | + | ## Parameter names | |
| 11238 | 12856 | ||
| 11239 | 12857 | A property name consists of one or more segments consisting of ASCII letters | |
| 11240 | 12858 | and digits, separated by either the `-` or `_` character. The first | |
| 11241 | 12859 | character of a property name must be a letter. These are the same rules as | |
| 11242 | - | for signal naming (see g_signal_new()). | |
| 12860 | + | for signal naming (see [func@GObject.signal_new]). | |
| 11243 | 12861 | ||
| 11244 | - | When creating and looking up a #GParamSpec, either separator can be | |
| 12862 | + | When creating and looking up a `GParamSpec`, either separator can be | |
| 11245 | 12863 | used, but they cannot be mixed. Using `-` is considerably more | |
| 11246 | 12864 | efficient, and is the ‘canonical form’. Using `_` is discouraged.</doc> | |
| 11247 | - | <source-position filename="gparam.h" line="262"/> | |
| 12865 | + | <source-position filename="gobject/gparam.h" line="269"/> | |
| 11248 | 12866 | <function name="internal" | |
| 11249 | 12867 | c:identifier="g_param_spec_internal" | |
| 11250 | 12868 | introspectable="0"> | |
| 11251 | 12869 | <doc xml:space="preserve" | |
| 11252 | - | filename="gobject-2.0.c" | |
| 11253 | - | line="4192">Creates a new #GParamSpec instance. | |
| 12870 | + | filename="gobject/gparam.c" | |
| 12871 | + | line="422">Creates a new #GParamSpec instance. | |
| 11254 | 12872 | ||
| 11255 | - | See [canonical parameter names][canonical-parameter-names] for details of | |
| 11256 | - | the rules for @name. Names which violate these rules lead to undefined | |
| 11257 | - | behaviour. | |
| 12873 | + | See [canonical parameter names][class@GObject.ParamSpec#parameter-names] | |
| 12874 | + | for details of the rules for @name. Names which violate these rules lead | |
| 12875 | + | to undefined behaviour. | |
| 11258 | 12876 | ||
| 11259 | - | Beyond the name, #GParamSpecs have two more descriptive | |
| 11260 | - | strings associated with them, the @nick, which should be suitable | |
| 11261 | - | for use as a label for the property in a property editor, and the | |
| 11262 | - | @blurb, which should be a somewhat longer description, suitable for | |
| 11263 | - | e.g. a tooltip. The @nick and @blurb should ideally be localized.</doc> | |
| 11264 | - | <source-position filename="gparam.h" line="412"/> | |
| 12877 | + | Beyond the name, #GParamSpecs have two more descriptive strings, the | |
| 12878 | + | @nick and @blurb, which may be used as a localized label and description. | |
| 12879 | + | For GTK and related libraries these are considered deprecated and may be | |
| 12880 | + | omitted, while for other libraries such as GStreamer and its plugins they | |
| 12881 | + | are essential. When in doubt, follow the conventions used in the | |
| 12882 | + | surrounding code and supporting libraries.</doc> | |
| 12883 | + | <source-position filename="gobject/gparam.h" line="422"/> | |
| 11265 | 12884 | <return-value transfer-ownership="none"> | |
| 11266 | 12885 | <doc xml:space="preserve" | |
| 11267 | - | filename="gobject-2.0.c" | |
| 11268 | - | line="4212">(transfer floating): a newly allocated | |
| 12886 | + | filename="gobject/gparam.c" | |
| 12887 | + | line="443">(transfer floating): a newly allocated | |
| 11269 | 12888 | #GParamSpec instance, which is initially floating</doc> | |
| 11270 | 12889 | <type name="ParamSpec" c:type="gpointer"/> | |
| 11271 | 12890 | </return-value> | |
| 11272 | 12891 | <parameters> | |
| 11273 | 12892 | <parameter name="param_type" transfer-ownership="none"> | |
| 11274 | 12893 | <doc xml:space="preserve" | |
| 11275 | - | filename="gobject-2.0.c" | |
| 11276 | - | line="4194">the #GType for the property; must be derived from %G_TYPE_PARAM</doc> | |
| 12894 | + | filename="gobject/gparam.c" | |
| 12895 | + | line="424">the #GType for the property; must be derived from %G_TYPE_PARAM</doc> | |
| 11277 | 12896 | <type name="GType" c:type="GType"/> | |
| 11278 | 12897 | </parameter> | |
| 11279 | 12898 | <parameter name="name" transfer-ownership="none"> | |
| 11280 | 12899 | <doc xml:space="preserve" | |
| 11281 | - | filename="gobject-2.0.c" | |
| 11282 | - | line="4195">the canonical name of the property</doc> | |
| 12900 | + | filename="gobject/gparam.c" | |
| 12901 | + | line="425">the canonical name of the property</doc> | |
| 11283 | 12902 | <type name="utf8" c:type="const gchar*"/> | |
| 11284 | 12903 | </parameter> | |
| 11285 | - | <parameter name="nick" transfer-ownership="none"> | |
| 12904 | + | <parameter name="nick" | |
| 12905 | + | transfer-ownership="none" | |
| 12906 | + | nullable="1" | |
| 12907 | + | allow-none="1"> | |
| 11286 | 12908 | <doc xml:space="preserve" | |
| 11287 | - | filename="gobject-2.0.c" | |
| 11288 | - | line="4196">the nickname of the property</doc> | |
| 12909 | + | filename="gobject/gparam.c" | |
| 12910 | + | line="426">the nickname of the property</doc> | |
| 11289 | 12911 | <type name="utf8" c:type="const gchar*"/> | |
| 11290 | 12912 | </parameter> | |
| 11291 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 12913 | + | <parameter name="blurb" | |
| 12914 | + | transfer-ownership="none" | |
| 12915 | + | nullable="1" | |
| 12916 | + | allow-none="1"> | |
| 11292 | 12917 | <doc xml:space="preserve" | |
| 11293 | - | filename="gobject-2.0.c" | |
| 11294 | - | line="4197">a short description of the property</doc> | |
| 12918 | + | filename="gobject/gparam.c" | |
| 12919 | + | line="427">a short description of the property</doc> | |
| 11295 | 12920 | <type name="utf8" c:type="const gchar*"/> | |
| 11296 | 12921 | </parameter> | |
| 11297 | 12922 | <parameter name="flags" transfer-ownership="none"> | |
| 11298 | 12923 | <doc xml:space="preserve" | |
| 11299 | - | filename="gobject-2.0.c" | |
| 11300 | - | line="4198">a combination of #GParamFlags</doc> | |
| 12924 | + | filename="gobject/gparam.c" | |
| 12925 | + | line="428">a combination of #GParamFlags</doc> | |
| 11301 | 12926 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 11302 | 12927 | </parameter> | |
| 11303 | 12928 | </parameters> | |
| @@ -11306,31 +12931,35 @@ e.g. a tooltip. The @nick and @blurb should ideally be localized.</doc> | |||
| 11306 | 12931 | c:identifier="g_param_spec_is_valid_name" | |
| 11307 | 12932 | version="2.66"> | |
| 11308 | 12933 | <doc xml:space="preserve" | |
| 11309 | - | filename="gobject-2.0.c" | |
| 11310 | - | line="4217">Validate a property name for a #GParamSpec. This can be useful for | |
| 12934 | + | filename="gobject/gparam.c" | |
| 12935 | + | line="384">Validate a property name for a #GParamSpec. This can be useful for | |
| 11311 | 12936 | dynamically-generated properties which need to be validated at run-time | |
| 11312 | 12937 | before actually trying to create them. | |
| 11313 | 12938 | ||
| 11314 | - | See [canonical parameter names][canonical-parameter-names] for details of | |
| 11315 | - | the rules for valid names.</doc> | |
| 11316 | - | <source-position filename="gparam.h" line="402"/> | |
| 12939 | + | See [canonical parameter names][class@GObject.ParamSpec#parameter-names] | |
| 12940 | + | for details of the rules for valid names.</doc> | |
| 12941 | + | <source-position filename="gobject/gparam.h" line="412"/> | |
| 11317 | 12942 | <return-value transfer-ownership="none"> | |
| 11318 | 12943 | <doc xml:space="preserve" | |
| 11319 | - | filename="gobject-2.0.c" | |
| 11320 | - | line="4228">%TRUE if @name is a valid property name, %FALSE otherwise.</doc> | |
| 12944 | + | filename="gobject/gparam.c" | |
| 12945 | + | line="395">%TRUE if @name is a valid property name, %FALSE otherwise.</doc> | |
| 11321 | 12946 | <type name="gboolean" c:type="gboolean"/> | |
| 11322 | 12947 | </return-value> | |
| 11323 | 12948 | <parameters> | |
| 11324 | 12949 | <parameter name="name" transfer-ownership="none"> | |
| 11325 | 12950 | <doc xml:space="preserve" | |
| 11326 | - | filename="gobject-2.0.c" | |
| 11327 | - | line="4219">the canonical name of the property</doc> | |
| 12951 | + | filename="gobject/gparam.c" | |
| 12952 | + | line="386">the canonical name of the property</doc> | |
| 11328 | 12953 | <type name="utf8" c:type="const gchar*"/> | |
| 11329 | 12954 | </parameter> | |
| 11330 | 12955 | </parameters> | |
| 11331 | 12956 | </function> | |
| 11332 | 12957 | <virtual-method name="finalize"> | |
| 11333 | - | <source-position filename="gparam.h" line="250"/> | |
| 12958 | + | <doc xml:space="preserve" | |
| 12959 | + | filename="gobject/gparam.h" | |
| 12960 | + | line="229">The instance finalization function (optional), should chain | |
| 12961 | + | up to the finalize method of the parent class.</doc> | |
| 12962 | + | <source-position filename="gobject/gparam.h" line="253"/> | |
| 11334 | 12963 | <return-value transfer-ownership="none"> | |
| 11335 | 12964 | <type name="none" c:type="void"/> | |
| 11336 | 12965 | </return-value> | |
| @@ -11340,8 +12969,32 @@ the rules for valid names.</doc> | |||
| 11340 | 12969 | </instance-parameter> | |
| 11341 | 12970 | </parameters> | |
| 11342 | 12971 | </virtual-method> | |
| 12972 | + | <virtual-method name="value_is_valid"> | |
| 12973 | + | <doc xml:space="preserve" | |
| 12974 | + | filename="gobject/gparam.h" | |
| 12975 | + | line="239">Checks if contents of @value comply with the specifications | |
| 12976 | + | set out by this type, without modifying the value. This vfunc is optional. | |
| 12977 | + | If it isn't set, GObject will use @value_validate. Since 2.74</doc> | |
| 12978 | + | <source-position filename="gobject/gparam.h" line="264"/> | |
| 12979 | + | <return-value transfer-ownership="none"> | |
| 12980 | + | <type name="gboolean" c:type="gboolean"/> | |
| 12981 | + | </return-value> | |
| 12982 | + | <parameters> | |
| 12983 | + | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 12984 | + | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 12985 | + | </instance-parameter> | |
| 12986 | + | <parameter name="value" transfer-ownership="none"> | |
| 12987 | + | <type name="Value" c:type="const GValue*"/> | |
| 12988 | + | </parameter> | |
| 12989 | + | </parameters> | |
| 12990 | + | </virtual-method> | |
| 11343 | 12991 | <virtual-method name="value_set_default"> | |
| 11344 | - | <source-position filename="gparam.h" line="253"/> | |
| 12992 | + | <doc xml:space="preserve" | |
| 12993 | + | filename="gobject/gparam.h" | |
| 12994 | + | line="231">Resets a @value to the default value for this type | |
| 12995 | + | (recommended, the default is g_value_reset()), see | |
| 12996 | + | g_param_value_set_default().</doc> | |
| 12997 | + | <source-position filename="gobject/gparam.h" line="256"/> | |
| 11345 | 12998 | <return-value transfer-ownership="none"> | |
| 11346 | 12999 | <type name="none" c:type="void"/> | |
| 11347 | 13000 | </return-value> | |
| @@ -11355,7 +13008,12 @@ the rules for valid names.</doc> | |||
| 11355 | 13008 | </parameters> | |
| 11356 | 13009 | </virtual-method> | |
| 11357 | 13010 | <virtual-method name="value_validate"> | |
| 11358 | - | <source-position filename="gparam.h" line="255"/> | |
| 13011 | + | <doc xml:space="preserve" | |
| 13012 | + | filename="gobject/gparam.h" | |
| 13013 | + | line="234">Ensures that the contents of @value comply with the | |
| 13014 | + | specifications set out by this type (optional), see | |
| 13015 | + | g_param_value_validate().</doc> | |
| 13016 | + | <source-position filename="gobject/gparam.h" line="258"/> | |
| 11359 | 13017 | <return-value transfer-ownership="none"> | |
| 11360 | 13018 | <type name="gboolean" c:type="gboolean"/> | |
| 11361 | 13019 | </return-value> | |
| @@ -11369,7 +13027,11 @@ the rules for valid names.</doc> | |||
| 11369 | 13027 | </parameters> | |
| 11370 | 13028 | </virtual-method> | |
| 11371 | 13029 | <virtual-method name="values_cmp"> | |
| 11372 | - | <source-position filename="gparam.h" line="257"/> | |
| 13030 | + | <doc xml:space="preserve" | |
| 13031 | + | filename="gobject/gparam.h" | |
| 13032 | + | line="237">Compares @value1 with @value2 according to this type | |
| 13033 | + | (recommended, the default is memcmp()), see g_param_values_cmp().</doc> | |
| 13034 | + | <source-position filename="gobject/gparam.h" line="260"/> | |
| 11373 | 13035 | <return-value transfer-ownership="none"> | |
| 11374 | 13036 | <type name="gint" c:type="gint"/> | |
| 11375 | 13037 | </return-value> | |
| @@ -11387,20 +13049,20 @@ the rules for valid names.</doc> | |||
| 11387 | 13049 | </virtual-method> | |
| 11388 | 13050 | <method name="get_blurb" c:identifier="g_param_spec_get_blurb"> | |
| 11389 | 13051 | <doc xml:space="preserve" | |
| 11390 | - | filename="gobject-2.0.c" | |
| 11391 | - | line="4051">Get the short description of a #GParamSpec.</doc> | |
| 11392 | - | <source-position filename="gparam.h" line="330"/> | |
| 13052 | + | filename="gobject/gparam.c" | |
| 13053 | + | line="334">Get the short description of a #GParamSpec.</doc> | |
| 13054 | + | <source-position filename="gobject/gparam.h" line="340"/> | |
| 11393 | 13055 | <return-value transfer-ownership="none" nullable="1"> | |
| 11394 | 13056 | <doc xml:space="preserve" | |
| 11395 | - | filename="gobject-2.0.c" | |
| 11396 | - | line="4057">the short description of @pspec.</doc> | |
| 13057 | + | filename="gobject/gparam.c" | |
| 13058 | + | line="340">the short description of @pspec.</doc> | |
| 11397 | 13059 | <type name="utf8" c:type="const gchar*"/> | |
| 11398 | 13060 | </return-value> | |
| 11399 | 13061 | <parameters> | |
| 11400 | 13062 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11401 | 13063 | <doc xml:space="preserve" | |
| 11402 | - | filename="gobject-2.0.c" | |
| 11403 | - | line="4053">a valid #GParamSpec</doc> | |
| 13064 | + | filename="gobject/gparam.c" | |
| 13065 | + | line="336">a valid #GParamSpec</doc> | |
| 11404 | 13066 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11405 | 13067 | </instance-parameter> | |
| 11406 | 13068 | </parameters> | |
| @@ -11409,45 +13071,45 @@ the rules for valid names.</doc> | |||
| 11409 | 13071 | c:identifier="g_param_spec_get_default_value" | |
| 11410 | 13072 | version="2.38"> | |
| 11411 | 13073 | <doc xml:space="preserve" | |
| 11412 | - | filename="gobject-2.0.c" | |
| 11413 | - | line="4061">Gets the default value of @pspec as a pointer to a #GValue. | |
| 13074 | + | filename="gobject/gparam.c" | |
| 13075 | + | line="1621">Gets the default value of @pspec as a pointer to a #GValue. | |
| 11414 | 13076 | ||
| 11415 | 13077 | The #GValue will remain valid for the life of @pspec.</doc> | |
| 11416 | - | <source-position filename="gparam.h" line="347"/> | |
| 13078 | + | <source-position filename="gobject/gparam.h" line="357"/> | |
| 11417 | 13079 | <return-value transfer-ownership="none"> | |
| 11418 | 13080 | <doc xml:space="preserve" | |
| 11419 | - | filename="gobject-2.0.c" | |
| 11420 | - | line="4069">a pointer to a #GValue which must not be modified</doc> | |
| 13081 | + | filename="gobject/gparam.c" | |
| 13082 | + | line="1629">a pointer to a #GValue which must not be modified</doc> | |
| 11421 | 13083 | <type name="Value" c:type="const GValue*"/> | |
| 11422 | 13084 | </return-value> | |
| 11423 | 13085 | <parameters> | |
| 11424 | 13086 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11425 | 13087 | <doc xml:space="preserve" | |
| 11426 | - | filename="gobject-2.0.c" | |
| 11427 | - | line="4063">a #GParamSpec</doc> | |
| 13088 | + | filename="gobject/gparam.c" | |
| 13089 | + | line="1623">a #GParamSpec</doc> | |
| 11428 | 13090 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11429 | 13091 | </instance-parameter> | |
| 11430 | 13092 | </parameters> | |
| 11431 | 13093 | </method> | |
| 11432 | 13094 | <method name="get_name" c:identifier="g_param_spec_get_name"> | |
| 11433 | 13095 | <doc xml:space="preserve" | |
| 11434 | - | filename="gobject-2.0.c" | |
| 11435 | - | line="4074">Get the name of a #GParamSpec. | |
| 13096 | + | filename="gobject/gparam.c" | |
| 13097 | + | line="288">Get the name of a #GParamSpec. | |
| 11436 | 13098 | ||
| 11437 | 13099 | The name is always an "interned" string (as per g_intern_string()). | |
| 11438 | 13100 | This allows for pointer-value comparisons.</doc> | |
| 11439 | - | <source-position filename="gparam.h" line="326"/> | |
| 13101 | + | <source-position filename="gobject/gparam.h" line="336"/> | |
| 11440 | 13102 | <return-value transfer-ownership="none"> | |
| 11441 | 13103 | <doc xml:space="preserve" | |
| 11442 | - | filename="gobject-2.0.c" | |
| 11443 | - | line="4083">the name of @pspec.</doc> | |
| 13104 | + | filename="gobject/gparam.c" | |
| 13105 | + | line="297">the name of @pspec.</doc> | |
| 11444 | 13106 | <type name="utf8" c:type="const gchar*"/> | |
| 11445 | 13107 | </return-value> | |
| 11446 | 13108 | <parameters> | |
| 11447 | 13109 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11448 | 13110 | <doc xml:space="preserve" | |
| 11449 | - | filename="gobject-2.0.c" | |
| 11450 | - | line="4076">a valid #GParamSpec</doc> | |
| 13111 | + | filename="gobject/gparam.c" | |
| 13112 | + | line="290">a valid #GParamSpec</doc> | |
| 11451 | 13113 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11452 | 13114 | </instance-parameter> | |
| 11453 | 13115 | </parameters> | |
| @@ -11456,66 +13118,66 @@ This allows for pointer-value comparisons.</doc> | |||
| 11456 | 13118 | c:identifier="g_param_spec_get_name_quark" | |
| 11457 | 13119 | version="2.46"> | |
| 11458 | 13120 | <doc xml:space="preserve" | |
| 11459 | - | filename="gobject-2.0.c" | |
| 11460 | - | line="4087">Gets the GQuark for the name.</doc> | |
| 11461 | - | <source-position filename="gparam.h" line="350"/> | |
| 13121 | + | filename="gobject/gparam.c" | |
| 13122 | + | line="1667">Gets the GQuark for the name.</doc> | |
| 13123 | + | <source-position filename="gobject/gparam.h" line="360"/> | |
| 11462 | 13124 | <return-value transfer-ownership="none"> | |
| 11463 | 13125 | <doc xml:space="preserve" | |
| 11464 | - | filename="gobject-2.0.c" | |
| 11465 | - | line="4093">the GQuark for @pspec->name.</doc> | |
| 13126 | + | filename="gobject/gparam.c" | |
| 13127 | + | line="1673">the GQuark for @pspec->name.</doc> | |
| 11466 | 13128 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 11467 | 13129 | </return-value> | |
| 11468 | 13130 | <parameters> | |
| 11469 | 13131 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11470 | 13132 | <doc xml:space="preserve" | |
| 11471 | - | filename="gobject-2.0.c" | |
| 11472 | - | line="4089">a #GParamSpec</doc> | |
| 13133 | + | filename="gobject/gparam.c" | |
| 13134 | + | line="1669">a #GParamSpec</doc> | |
| 11473 | 13135 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11474 | 13136 | </instance-parameter> | |
| 11475 | 13137 | </parameters> | |
| 11476 | 13138 | </method> | |
| 11477 | 13139 | <method name="get_nick" c:identifier="g_param_spec_get_nick"> | |
| 11478 | 13140 | <doc xml:space="preserve" | |
| 11479 | - | filename="gobject-2.0.c" | |
| 11480 | - | line="4098">Get the nickname of a #GParamSpec.</doc> | |
| 11481 | - | <source-position filename="gparam.h" line="328"/> | |
| 13141 | + | filename="gobject/gparam.c" | |
| 13142 | + | line="307">Get the nickname of a #GParamSpec.</doc> | |
| 13143 | + | <source-position filename="gobject/gparam.h" line="338"/> | |
| 11482 | 13144 | <return-value transfer-ownership="none"> | |
| 11483 | 13145 | <doc xml:space="preserve" | |
| 11484 | - | filename="gobject-2.0.c" | |
| 11485 | - | line="4104">the nickname of @pspec.</doc> | |
| 13146 | + | filename="gobject/gparam.c" | |
| 13147 | + | line="313">the nickname of @pspec.</doc> | |
| 11486 | 13148 | <type name="utf8" c:type="const gchar*"/> | |
| 11487 | 13149 | </return-value> | |
| 11488 | 13150 | <parameters> | |
| 11489 | 13151 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11490 | 13152 | <doc xml:space="preserve" | |
| 11491 | - | filename="gobject-2.0.c" | |
| 11492 | - | line="4100">a valid #GParamSpec</doc> | |
| 13153 | + | filename="gobject/gparam.c" | |
| 13154 | + | line="309">a valid #GParamSpec</doc> | |
| 11493 | 13155 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11494 | 13156 | </instance-parameter> | |
| 11495 | 13157 | </parameters> | |
| 11496 | 13158 | </method> | |
| 11497 | 13159 | <method name="get_qdata" c:identifier="g_param_spec_get_qdata"> | |
| 11498 | 13160 | <doc xml:space="preserve" | |
| 11499 | - | filename="gobject-2.0.c" | |
| 11500 | - | line="4108">Gets back user data pointers stored via g_param_spec_set_qdata().</doc> | |
| 11501 | - | <source-position filename="gparam.h" line="290"/> | |
| 13161 | + | filename="gobject/gparam.c" | |
| 13162 | + | line="501">Gets back user data pointers stored via g_param_spec_set_qdata().</doc> | |
| 13163 | + | <source-position filename="gobject/gparam.h" line="297"/> | |
| 11502 | 13164 | <return-value transfer-ownership="none" nullable="1"> | |
| 11503 | 13165 | <doc xml:space="preserve" | |
| 11504 | - | filename="gobject-2.0.c" | |
| 11505 | - | line="4115">the user data pointer set, or %NULL</doc> | |
| 13166 | + | filename="gobject/gparam.c" | |
| 13167 | + | line="508">the user data pointer set, or %NULL</doc> | |
| 11506 | 13168 | <type name="gpointer" c:type="gpointer"/> | |
| 11507 | 13169 | </return-value> | |
| 11508 | 13170 | <parameters> | |
| 11509 | 13171 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11510 | 13172 | <doc xml:space="preserve" | |
| 11511 | - | filename="gobject-2.0.c" | |
| 11512 | - | line="4110">a valid #GParamSpec</doc> | |
| 13173 | + | filename="gobject/gparam.c" | |
| 13174 | + | line="503">a valid #GParamSpec</doc> | |
| 11513 | 13175 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11514 | 13176 | </instance-parameter> | |
| 11515 | 13177 | <parameter name="quark" transfer-ownership="none"> | |
| 11516 | 13178 | <doc xml:space="preserve" | |
| 11517 | - | filename="gobject-2.0.c" | |
| 11518 | - | line="4111">a #GQuark, naming the user data pointer</doc> | |
| 13179 | + | filename="gobject/gparam.c" | |
| 13180 | + | line="504">a #GQuark, naming the user data pointer</doc> | |
| 11519 | 13181 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 11520 | 13182 | </parameter> | |
| 11521 | 13183 | </parameters> | |
| @@ -11524,47 +13186,47 @@ This allows for pointer-value comparisons.</doc> | |||
| 11524 | 13186 | c:identifier="g_param_spec_get_redirect_target" | |
| 11525 | 13187 | version="2.4"> | |
| 11526 | 13188 | <doc xml:space="preserve" | |
| 11527 | - | filename="gobject-2.0.c" | |
| 11528 | - | line="4119">If the paramspec redirects operations to another paramspec, | |
| 13189 | + | filename="gobject/gparam.c" | |
| 13190 | + | line="591">If the paramspec redirects operations to another paramspec, | |
| 11529 | 13191 | returns that paramspec. Redirect is used typically for | |
| 11530 | 13192 | providing a new implementation of a property in a derived | |
| 11531 | 13193 | type while preserving all the properties from the parent | |
| 11532 | 13194 | type. Redirection is established by creating a property | |
| 11533 | 13195 | of type #GParamSpecOverride. See g_object_class_override_property() | |
| 11534 | 13196 | for an example of the use of this capability.</doc> | |
| 11535 | - | <source-position filename="gparam.h" line="305"/> | |
| 13197 | + | <source-position filename="gobject/gparam.h" line="312"/> | |
| 11536 | 13198 | <return-value transfer-ownership="none" nullable="1"> | |
| 11537 | 13199 | <doc xml:space="preserve" | |
| 11538 | - | filename="gobject-2.0.c" | |
| 11539 | - | line="4132">paramspec to which requests on this | |
| 13200 | + | filename="gobject/gparam.c" | |
| 13201 | + | line="605">paramspec to which requests on this | |
| 11540 | 13202 | paramspec should be redirected, or %NULL if none.</doc> | |
| 11541 | 13203 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11542 | 13204 | </return-value> | |
| 11543 | 13205 | <parameters> | |
| 11544 | 13206 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11545 | 13207 | <doc xml:space="preserve" | |
| 11546 | - | filename="gobject-2.0.c" | |
| 11547 | - | line="4121">a #GParamSpec</doc> | |
| 13208 | + | filename="gobject/gparam.c" | |
| 13209 | + | line="593">a #GParamSpec</doc> | |
| 11548 | 13210 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11549 | 13211 | </instance-parameter> | |
| 11550 | 13212 | </parameters> | |
| 11551 | 13213 | </method> | |
| 11552 | 13214 | <method name="ref" c:identifier="g_param_spec_ref" introspectable="0"> | |
| 11553 | 13215 | <doc xml:space="preserve" | |
| 11554 | - | filename="gobject-2.0.c" | |
| 11555 | - | line="4394">Increments the reference count of @pspec.</doc> | |
| 11556 | - | <source-position filename="gparam.h" line="282"/> | |
| 13216 | + | filename="gobject/gparam.c" | |
| 13217 | + | line="204">Increments the reference count of @pspec.</doc> | |
| 13218 | + | <source-position filename="gobject/gparam.h" line="289"/> | |
| 11557 | 13219 | <return-value transfer-ownership="full"> | |
| 11558 | 13220 | <doc xml:space="preserve" | |
| 11559 | - | filename="gobject-2.0.c" | |
| 11560 | - | line="4400">the #GParamSpec that was passed into this function</doc> | |
| 13221 | + | filename="gobject/gparam.c" | |
| 13222 | + | line="210">the #GParamSpec that was passed into this function</doc> | |
| 11561 | 13223 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11562 | 13224 | </return-value> | |
| 11563 | 13225 | <parameters> | |
| 11564 | 13226 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11565 | 13227 | <doc xml:space="preserve" | |
| 11566 | - | filename="gobject-2.0.c" | |
| 11567 | - | line="4396">a valid #GParamSpec</doc> | |
| 13228 | + | filename="gobject/gparam.c" | |
| 13229 | + | line="206">a valid #GParamSpec</doc> | |
| 11568 | 13230 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11569 | 13231 | </instance-parameter> | |
| 11570 | 13232 | </parameters> | |
| @@ -11574,48 +13236,48 @@ for an example of the use of this capability.</doc> | |||
| 11574 | 13236 | version="2.10" | |
| 11575 | 13237 | introspectable="0"> | |
| 11576 | 13238 | <doc xml:space="preserve" | |
| 11577 | - | filename="gobject-2.0.c" | |
| 11578 | - | line="4404">Convenience function to ref and sink a #GParamSpec.</doc> | |
| 11579 | - | <source-position filename="gparam.h" line="288"/> | |
| 13239 | + | filename="gobject/gparam.c" | |
| 13240 | + | line="266">Convenience function to ref and sink a #GParamSpec.</doc> | |
| 13241 | + | <source-position filename="gobject/gparam.h" line="295"/> | |
| 11580 | 13242 | <return-value transfer-ownership="full"> | |
| 11581 | 13243 | <doc xml:space="preserve" | |
| 11582 | - | filename="gobject-2.0.c" | |
| 11583 | - | line="4411">the #GParamSpec that was passed into this function</doc> | |
| 13244 | + | filename="gobject/gparam.c" | |
| 13245 | + | line="273">the #GParamSpec that was passed into this function</doc> | |
| 11584 | 13246 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11585 | 13247 | </return-value> | |
| 11586 | 13248 | <parameters> | |
| 11587 | 13249 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11588 | 13250 | <doc xml:space="preserve" | |
| 11589 | - | filename="gobject-2.0.c" | |
| 11590 | - | line="4406">a valid #GParamSpec</doc> | |
| 13251 | + | filename="gobject/gparam.c" | |
| 13252 | + | line="268">a valid #GParamSpec</doc> | |
| 11591 | 13253 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11592 | 13254 | </instance-parameter> | |
| 11593 | 13255 | </parameters> | |
| 11594 | 13256 | </method> | |
| 11595 | 13257 | <method name="set_qdata" c:identifier="g_param_spec_set_qdata"> | |
| 11596 | 13258 | <doc xml:space="preserve" | |
| 11597 | - | filename="gobject-2.0.c" | |
| 11598 | - | line="4415">Sets an opaque, named pointer on a #GParamSpec. The name is | |
| 13259 | + | filename="gobject/gparam.c" | |
| 13260 | + | line="519">Sets an opaque, named pointer on a #GParamSpec. The name is | |
| 11599 | 13261 | specified through a #GQuark (retrieved e.g. via | |
| 11600 | 13262 | g_quark_from_static_string()), and the pointer can be gotten back | |
| 11601 | 13263 | from the @pspec with g_param_spec_get_qdata(). Setting a | |
| 11602 | 13264 | previously set user data pointer, overrides (frees) the old pointer | |
| 11603 | 13265 | set, using %NULL as pointer essentially removes the data stored.</doc> | |
| 11604 | - | <source-position filename="gparam.h" line="293"/> | |
| 13266 | + | <source-position filename="gobject/gparam.h" line="300"/> | |
| 11605 | 13267 | <return-value transfer-ownership="none"> | |
| 11606 | 13268 | <type name="none" c:type="void"/> | |
| 11607 | 13269 | </return-value> | |
| 11608 | 13270 | <parameters> | |
| 11609 | 13271 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11610 | 13272 | <doc xml:space="preserve" | |
| 11611 | - | filename="gobject-2.0.c" | |
| 11612 | - | line="4417">the #GParamSpec to set store a user data pointer</doc> | |
| 13273 | + | filename="gobject/gparam.c" | |
| 13274 | + | line="521">the #GParamSpec to set store a user data pointer</doc> | |
| 11613 | 13275 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11614 | 13276 | </instance-parameter> | |
| 11615 | 13277 | <parameter name="quark" transfer-ownership="none"> | |
| 11616 | 13278 | <doc xml:space="preserve" | |
| 11617 | - | filename="gobject-2.0.c" | |
| 11618 | - | line="4418">a #GQuark, naming the user data pointer</doc> | |
| 13279 | + | filename="gobject/gparam.c" | |
| 13280 | + | line="522">a #GQuark, naming the user data pointer</doc> | |
| 11619 | 13281 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 11620 | 13282 | </parameter> | |
| 11621 | 13283 | <parameter name="data" | |
| @@ -11623,8 +13285,8 @@ set, using %NULL as pointer essentially removes the data stored.</doc> | |||
| 11623 | 13285 | nullable="1" | |
| 11624 | 13286 | allow-none="1"> | |
| 11625 | 13287 | <doc xml:space="preserve" | |
| 11626 | - | filename="gobject-2.0.c" | |
| 11627 | - | line="4419">an opaque user data pointer</doc> | |
| 13288 | + | filename="gobject/gparam.c" | |
| 13289 | + | line="523">an opaque user data pointer</doc> | |
| 11628 | 13290 | <type name="gpointer" c:type="gpointer"/> | |
| 11629 | 13291 | </parameter> | |
| 11630 | 13292 | </parameters> | |
| @@ -11633,27 +13295,27 @@ set, using %NULL as pointer essentially removes the data stored.</doc> | |||
| 11633 | 13295 | c:identifier="g_param_spec_set_qdata_full" | |
| 11634 | 13296 | introspectable="0"> | |
| 11635 | 13297 | <doc xml:space="preserve" | |
| 11636 | - | filename="gobject-2.0.c" | |
| 11637 | - | line="4430">This function works like g_param_spec_set_qdata(), but in addition, | |
| 13298 | + | filename="gobject/gparam.c" | |
| 13299 | + | line="543">This function works like g_param_spec_set_qdata(), but in addition, | |
| 11638 | 13300 | a `void (*destroy) (gpointer)` function may be | |
| 11639 | 13301 | specified which is called with @data as argument when the @pspec is | |
| 11640 | 13302 | finalized, or the data is being overwritten by a call to | |
| 11641 | 13303 | g_param_spec_set_qdata() with the same @quark.</doc> | |
| 11642 | - | <source-position filename="gparam.h" line="297"/> | |
| 13304 | + | <source-position filename="gobject/gparam.h" line="304"/> | |
| 11643 | 13305 | <return-value transfer-ownership="none"> | |
| 11644 | 13306 | <type name="none" c:type="void"/> | |
| 11645 | 13307 | </return-value> | |
| 11646 | 13308 | <parameters> | |
| 11647 | 13309 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11648 | 13310 | <doc xml:space="preserve" | |
| 11649 | - | filename="gobject-2.0.c" | |
| 11650 | - | line="4432">the #GParamSpec to set store a user data pointer</doc> | |
| 13311 | + | filename="gobject/gparam.c" | |
| 13312 | + | line="545">the #GParamSpec to set store a user data pointer</doc> | |
| 11651 | 13313 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11652 | 13314 | </instance-parameter> | |
| 11653 | 13315 | <parameter name="quark" transfer-ownership="none"> | |
| 11654 | 13316 | <doc xml:space="preserve" | |
| 11655 | - | filename="gobject-2.0.c" | |
| 11656 | - | line="4433">a #GQuark, naming the user data pointer</doc> | |
| 13317 | + | filename="gobject/gparam.c" | |
| 13318 | + | line="546">a #GQuark, naming the user data pointer</doc> | |
| 11657 | 13319 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 11658 | 13320 | </parameter> | |
| 11659 | 13321 | <parameter name="data" | |
| @@ -11661,8 +13323,8 @@ g_param_spec_set_qdata() with the same @quark.</doc> | |||
| 11661 | 13323 | nullable="1" | |
| 11662 | 13324 | allow-none="1"> | |
| 11663 | 13325 | <doc xml:space="preserve" | |
| 11664 | - | filename="gobject-2.0.c" | |
| 11665 | - | line="4434">an opaque user data pointer</doc> | |
| 13326 | + | filename="gobject/gparam.c" | |
| 13327 | + | line="547">an opaque user data pointer</doc> | |
| 11666 | 13328 | <type name="gpointer" c:type="gpointer"/> | |
| 11667 | 13329 | </parameter> | |
| 11668 | 13330 | <parameter name="destroy" | |
| @@ -11671,8 +13333,8 @@ g_param_spec_set_qdata() with the same @quark.</doc> | |||
| 11671 | 13333 | allow-none="1" | |
| 11672 | 13334 | scope="async"> | |
| 11673 | 13335 | <doc xml:space="preserve" | |
| 11674 | - | filename="gobject-2.0.c" | |
| 11675 | - | line="4435">function to invoke with @data as argument, when @data needs to | |
| 13336 | + | filename="gobject/gparam.c" | |
| 13337 | + | line="548">function to invoke with @data as argument, when @data needs to | |
| 11676 | 13338 | be freed</doc> | |
| 11677 | 13339 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/> | |
| 11678 | 13340 | </parameter> | |
| @@ -11680,52 +13342,52 @@ g_param_spec_set_qdata() with the same @quark.</doc> | |||
| 11680 | 13342 | </method> | |
| 11681 | 13343 | <method name="sink" c:identifier="g_param_spec_sink"> | |
| 11682 | 13344 | <doc xml:space="preserve" | |
| 11683 | - | filename="gobject-2.0.c" | |
| 11684 | - | line="4446">The initial reference count of a newly created #GParamSpec is 1, | |
| 13345 | + | filename="gobject/gparam.c" | |
| 13346 | + | line="243">The initial reference count of a newly created #GParamSpec is 1, | |
| 11685 | 13347 | even though no one has explicitly called g_param_spec_ref() on it | |
| 11686 | 13348 | yet. So the initial reference count is flagged as "floating", until | |
| 11687 | 13349 | someone calls `g_param_spec_ref (pspec); g_param_spec_sink | |
| 11688 | 13350 | (pspec);` in sequence on it, taking over the initial | |
| 11689 | 13351 | reference count (thus ending up with a @pspec that has a reference | |
| 11690 | 13352 | count of 1 still, but is not flagged "floating" anymore).</doc> | |
| 11691 | - | <source-position filename="gparam.h" line="286"/> | |
| 13353 | + | <source-position filename="gobject/gparam.h" line="293"/> | |
| 11692 | 13354 | <return-value transfer-ownership="none"> | |
| 11693 | 13355 | <type name="none" c:type="void"/> | |
| 11694 | 13356 | </return-value> | |
| 11695 | 13357 | <parameters> | |
| 11696 | 13358 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11697 | 13359 | <doc xml:space="preserve" | |
| 11698 | - | filename="gobject-2.0.c" | |
| 11699 | - | line="4448">a valid #GParamSpec</doc> | |
| 13360 | + | filename="gobject/gparam.c" | |
| 13361 | + | line="245">a valid #GParamSpec</doc> | |
| 11700 | 13362 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11701 | 13363 | </instance-parameter> | |
| 11702 | 13364 | </parameters> | |
| 11703 | 13365 | </method> | |
| 11704 | 13366 | <method name="steal_qdata" c:identifier="g_param_spec_steal_qdata"> | |
| 11705 | 13367 | <doc xml:space="preserve" | |
| 11706 | - | filename="gobject-2.0.c" | |
| 11707 | - | line="4460">Gets back user data pointers stored via g_param_spec_set_qdata() | |
| 13368 | + | filename="gobject/gparam.c" | |
| 13369 | + | line="569">Gets back user data pointers stored via g_param_spec_set_qdata() | |
| 11708 | 13370 | and removes the @data from @pspec without invoking its destroy() | |
| 11709 | 13371 | function (if any was set). Usually, calling this function is only | |
| 11710 | 13372 | required to update user data pointers with a destroy notifier.</doc> | |
| 11711 | - | <source-position filename="gparam.h" line="302"/> | |
| 13373 | + | <source-position filename="gobject/gparam.h" line="309"/> | |
| 11712 | 13374 | <return-value transfer-ownership="none" nullable="1"> | |
| 11713 | 13375 | <doc xml:space="preserve" | |
| 11714 | - | filename="gobject-2.0.c" | |
| 11715 | - | line="4470">the user data pointer set, or %NULL</doc> | |
| 13376 | + | filename="gobject/gparam.c" | |
| 13377 | + | line="579">the user data pointer set, or %NULL</doc> | |
| 11716 | 13378 | <type name="gpointer" c:type="gpointer"/> | |
| 11717 | 13379 | </return-value> | |
| 11718 | 13380 | <parameters> | |
| 11719 | 13381 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11720 | 13382 | <doc xml:space="preserve" | |
| 11721 | - | filename="gobject-2.0.c" | |
| 11722 | - | line="4462">the #GParamSpec to get a stored user data pointer from</doc> | |
| 13383 | + | filename="gobject/gparam.c" | |
| 13384 | + | line="571">the #GParamSpec to get a stored user data pointer from</doc> | |
| 11723 | 13385 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11724 | 13386 | </instance-parameter> | |
| 11725 | 13387 | <parameter name="quark" transfer-ownership="none"> | |
| 11726 | 13388 | <doc xml:space="preserve" | |
| 11727 | - | filename="gobject-2.0.c" | |
| 11728 | - | line="4463">a #GQuark, naming the user data pointer</doc> | |
| 13389 | + | filename="gobject/gparam.c" | |
| 13390 | + | line="572">a #GQuark, naming the user data pointer</doc> | |
| 11729 | 13391 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 11730 | 13392 | </parameter> | |
| 11731 | 13393 | </parameters> | |
| @@ -11734,49 +13396,49 @@ required to update user data pointers with a destroy notifier.</doc> | |||
| 11734 | 13396 | c:identifier="g_param_spec_unref" | |
| 11735 | 13397 | introspectable="0"> | |
| 11736 | 13398 | <doc xml:space="preserve" | |
| 11737 | - | filename="gobject-2.0.c" | |
| 11738 | - | line="4580">Decrements the reference count of a @pspec.</doc> | |
| 11739 | - | <source-position filename="gparam.h" line="284"/> | |
| 13399 | + | filename="gobject/gparam.c" | |
| 13400 | + | line="222">Decrements the reference count of a @pspec.</doc> | |
| 13401 | + | <source-position filename="gobject/gparam.h" line="291"/> | |
| 11740 | 13402 | <return-value transfer-ownership="none"> | |
| 11741 | 13403 | <type name="none" c:type="void"/> | |
| 11742 | 13404 | </return-value> | |
| 11743 | 13405 | <parameters> | |
| 11744 | 13406 | <instance-parameter name="pspec" transfer-ownership="none"> | |
| 11745 | 13407 | <doc xml:space="preserve" | |
| 11746 | - | filename="gobject-2.0.c" | |
| 11747 | - | line="4582">a valid #GParamSpec</doc> | |
| 13408 | + | filename="gobject/gparam.c" | |
| 13409 | + | line="224">a valid #GParamSpec</doc> | |
| 11748 | 13410 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 11749 | 13411 | </instance-parameter> | |
| 11750 | 13412 | </parameters> | |
| 11751 | 13413 | </method> | |
| 11752 | 13414 | <field name="g_type_instance"> | |
| 11753 | 13415 | <doc xml:space="preserve" | |
| 11754 | - | filename="gparam.h" | |
| 11755 | - | line="200">private #GTypeInstance portion</doc> | |
| 13416 | + | filename="gobject/gparam.c" | |
| 13417 | + | line="35">private `GTypeInstance` portion</doc> | |
| 11756 | 13418 | <type name="TypeInstance" c:type="GTypeInstance"/> | |
| 11757 | 13419 | </field> | |
| 11758 | 13420 | <field name="name"> | |
| 11759 | 13421 | <doc xml:space="preserve" | |
| 11760 | - | filename="gparam.h" | |
| 11761 | - | line="201">name of this parameter: always an interned string</doc> | |
| 13422 | + | filename="gobject/gparam.c" | |
| 13423 | + | line="36">name of this parameter: always an interned string</doc> | |
| 11762 | 13424 | <type name="utf8" c:type="const gchar*"/> | |
| 11763 | 13425 | </field> | |
| 11764 | 13426 | <field name="flags"> | |
| 11765 | 13427 | <doc xml:space="preserve" | |
| 11766 | - | filename="gparam.h" | |
| 11767 | - | line="202">#GParamFlags flags for this parameter</doc> | |
| 13428 | + | filename="gobject/gparam.c" | |
| 13429 | + | line="37">`GParamFlags` flags for this parameter</doc> | |
| 11768 | 13430 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 11769 | 13431 | </field> | |
| 11770 | 13432 | <field name="value_type"> | |
| 11771 | 13433 | <doc xml:space="preserve" | |
| 11772 | - | filename="gparam.h" | |
| 11773 | - | line="203">the #GValue type for this parameter</doc> | |
| 13434 | + | filename="gobject/gparam.c" | |
| 13435 | + | line="38">the `GValue` type for this parameter</doc> | |
| 11774 | 13436 | <type name="GType" c:type="GType"/> | |
| 11775 | 13437 | </field> | |
| 11776 | 13438 | <field name="owner_type"> | |
| 11777 | 13439 | <doc xml:space="preserve" | |
| 11778 | - | filename="gparam.h" | |
| 11779 | - | line="204">#GType type that uses (introduces) this parameter</doc> | |
| 13440 | + | filename="gobject/gparam.c" | |
| 13441 | + | line="39">`GType` type that uses (introduces) this parameter</doc> | |
| 11780 | 13442 | <type name="GType" c:type="GType"/> | |
| 11781 | 13443 | </field> | |
| 11782 | 13444 | <field name="_nick" readable="0" private="1"> | |
| @@ -11803,18 +13465,18 @@ required to update user data pointers with a destroy notifier.</doc> | |||
| 11803 | 13465 | glib:get-type="intern" | |
| 11804 | 13466 | glib:fundamental="1"> | |
| 11805 | 13467 | <doc xml:space="preserve" | |
| 11806 | - | filename="gparamspecs.h" | |
| 11807 | - | line="644">A #GParamSpec derived structure that contains the meta data for boolean properties.</doc> | |
| 13468 | + | filename="gobject/gparamspecs.h" | |
| 13469 | + | line="646">A #GParamSpec derived structure that contains the meta data for boolean properties.</doc> | |
| 11808 | 13470 | <field name="parent_instance"> | |
| 11809 | 13471 | <doc xml:space="preserve" | |
| 11810 | - | filename="gparamspecs.h" | |
| 11811 | - | line="646">private #GParamSpec portion</doc> | |
| 13472 | + | filename="gobject/gparamspecs.h" | |
| 13473 | + | line="648">private #GParamSpec portion</doc> | |
| 11812 | 13474 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 11813 | 13475 | </field> | |
| 11814 | 13476 | <field name="default_value"> | |
| 11815 | 13477 | <doc xml:space="preserve" | |
| 11816 | - | filename="gparamspecs.h" | |
| 11817 | - | line="647">default value for the property specified</doc> | |
| 13478 | + | filename="gobject/gparamspecs.h" | |
| 13479 | + | line="649">default value for the property specified</doc> | |
| 11818 | 13480 | <type name="gboolean" c:type="gboolean"/> | |
| 11819 | 13481 | </field> | |
| 11820 | 13482 | </class> | |
| @@ -11826,12 +13488,12 @@ required to update user data pointers with a destroy notifier.</doc> | |||
| 11826 | 13488 | glib:get-type="intern" | |
| 11827 | 13489 | glib:fundamental="1"> | |
| 11828 | 13490 | <doc xml:space="preserve" | |
| 11829 | - | filename="gparamspecs.h" | |
| 11830 | - | line="879">A #GParamSpec derived structure that contains the meta data for boxed properties.</doc> | |
| 13491 | + | filename="gobject/gparamspecs.h" | |
| 13492 | + | line="881">A #GParamSpec derived structure that contains the meta data for boxed properties.</doc> | |
| 11831 | 13493 | <field name="parent_instance"> | |
| 11832 | 13494 | <doc xml:space="preserve" | |
| 11833 | - | filename="gparamspecs.h" | |
| 11834 | - | line="881">private #GParamSpec portion</doc> | |
| 13495 | + | filename="gobject/gparamspecs.h" | |
| 13496 | + | line="883">private #GParamSpec portion</doc> | |
| 11835 | 13497 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 11836 | 13498 | </field> | |
| 11837 | 13499 | </class> | |
| @@ -11843,30 +13505,30 @@ required to update user data pointers with a destroy notifier.</doc> | |||
| 11843 | 13505 | glib:get-type="intern" | |
| 11844 | 13506 | glib:fundamental="1"> | |
| 11845 | 13507 | <doc xml:space="preserve" | |
| 11846 | - | filename="gparamspecs.h" | |
| 11847 | - | line="610">A #GParamSpec derived structure that contains the meta data for character properties.</doc> | |
| 13508 | + | filename="gobject/gparamspecs.h" | |
| 13509 | + | line="612">A #GParamSpec derived structure that contains the meta data for character properties.</doc> | |
| 11848 | 13510 | <field name="parent_instance"> | |
| 11849 | 13511 | <doc xml:space="preserve" | |
| 11850 | - | filename="gparamspecs.h" | |
| 11851 | - | line="612">private #GParamSpec portion</doc> | |
| 13512 | + | filename="gobject/gparamspecs.h" | |
| 13513 | + | line="614">private #GParamSpec portion</doc> | |
| 11852 | 13514 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 11853 | 13515 | </field> | |
| 11854 | 13516 | <field name="minimum"> | |
| 11855 | 13517 | <doc xml:space="preserve" | |
| 11856 | - | filename="gparamspecs.h" | |
| 11857 | - | line="613">minimum value for the property specified</doc> | |
| 13518 | + | filename="gobject/gparamspecs.h" | |
| 13519 | + | line="615">minimum value for the property specified</doc> | |
| 11858 | 13520 | <type name="gint8" c:type="gint8"/> | |
| 11859 | 13521 | </field> | |
| 11860 | 13522 | <field name="maximum"> | |
| 11861 | 13523 | <doc xml:space="preserve" | |
| 11862 | - | filename="gparamspecs.h" | |
| 11863 | - | line="614">maximum value for the property specified</doc> | |
| 13524 | + | filename="gobject/gparamspecs.h" | |
| 13525 | + | line="616">maximum value for the property specified</doc> | |
| 11864 | 13526 | <type name="gint8" c:type="gint8"/> | |
| 11865 | 13527 | </field> | |
| 11866 | 13528 | <field name="default_value"> | |
| 11867 | 13529 | <doc xml:space="preserve" | |
| 11868 | - | filename="gparamspecs.h" | |
| 11869 | - | line="615">default value for the property specified</doc> | |
| 13530 | + | filename="gobject/gparamspecs.h" | |
| 13531 | + | line="617">default value for the property specified</doc> | |
| 11870 | 13532 | <type name="gint8" c:type="gint8"/> | |
| 11871 | 13533 | </field> | |
| 11872 | 13534 | </class> | |
| @@ -11874,26 +13536,30 @@ required to update user data pointers with a destroy notifier.</doc> | |||
| 11874 | 13536 | c:type="GParamSpecClass" | |
| 11875 | 13537 | glib:is-gtype-struct-for="ParamSpec"> | |
| 11876 | 13538 | <doc xml:space="preserve" | |
| 11877 | - | filename="gparam.h" | |
| 13539 | + | filename="gobject/gparam.h" | |
| 11878 | 13540 | line="225">The class structure for the GParamSpec type. | |
| 11879 | 13541 | Normally, GParamSpec classes are filled by | |
| 11880 | 13542 | g_param_type_register_static().</doc> | |
| 11881 | - | <source-position filename="gparam.h" line="262"/> | |
| 13543 | + | <source-position filename="gobject/gparam.h" line="269"/> | |
| 11882 | 13544 | <field name="g_type_class"> | |
| 11883 | 13545 | <doc xml:space="preserve" | |
| 11884 | - | filename="gparam.h" | |
| 13546 | + | filename="gobject/gparam.h" | |
| 11885 | 13547 | line="227">the parent class</doc> | |
| 11886 | 13548 | <type name="TypeClass" c:type="GTypeClass"/> | |
| 11887 | 13549 | </field> | |
| 11888 | 13550 | <field name="value_type"> | |
| 11889 | 13551 | <doc xml:space="preserve" | |
| 11890 | - | filename="gparam.h" | |
| 13552 | + | filename="gobject/gparam.h" | |
| 11891 | 13553 | line="228">the #GValue type for this parameter</doc> | |
| 11892 | 13554 | <type name="GType" c:type="GType"/> | |
| 11893 | 13555 | </field> | |
| 11894 | 13556 | <field name="finalize"> | |
| 13557 | + | <doc xml:space="preserve" | |
| 13558 | + | filename="gobject/gparam.h" | |
| 13559 | + | line="229">The instance finalization function (optional), should chain | |
| 13560 | + | up to the finalize method of the parent class.</doc> | |
| 11895 | 13561 | <callback name="finalize"> | |
| 11896 | - | <source-position filename="gparam.h" line="250"/> | |
| 13562 | + | <source-position filename="gobject/gparam.h" line="253"/> | |
| 11897 | 13563 | <return-value transfer-ownership="none"> | |
| 11898 | 13564 | <type name="none" c:type="void"/> | |
| 11899 | 13565 | </return-value> | |
| @@ -11905,8 +13571,13 @@ g_param_type_register_static().</doc> | |||
| 11905 | 13571 | </callback> | |
| 11906 | 13572 | </field> | |
| 11907 | 13573 | <field name="value_set_default"> | |
| 13574 | + | <doc xml:space="preserve" | |
| 13575 | + | filename="gobject/gparam.h" | |
| 13576 | + | line="231">Resets a @value to the default value for this type | |
| 13577 | + | (recommended, the default is g_value_reset()), see | |
| 13578 | + | g_param_value_set_default().</doc> | |
| 11908 | 13579 | <callback name="value_set_default"> | |
| 11909 | - | <source-position filename="gparam.h" line="253"/> | |
| 13580 | + | <source-position filename="gobject/gparam.h" line="256"/> | |
| 11910 | 13581 | <return-value transfer-ownership="none"> | |
| 11911 | 13582 | <type name="none" c:type="void"/> | |
| 11912 | 13583 | </return-value> | |
| @@ -11921,8 +13592,13 @@ g_param_type_register_static().</doc> | |||
| 11921 | 13592 | </callback> | |
| 11922 | 13593 | </field> | |
| 11923 | 13594 | <field name="value_validate"> | |
| 13595 | + | <doc xml:space="preserve" | |
| 13596 | + | filename="gobject/gparam.h" | |
| 13597 | + | line="234">Ensures that the contents of @value comply with the | |
| 13598 | + | specifications set out by this type (optional), see | |
| 13599 | + | g_param_value_validate().</doc> | |
| 11924 | 13600 | <callback name="value_validate"> | |
| 11925 | - | <source-position filename="gparam.h" line="255"/> | |
| 13601 | + | <source-position filename="gobject/gparam.h" line="258"/> | |
| 11926 | 13602 | <return-value transfer-ownership="none"> | |
| 11927 | 13603 | <type name="gboolean" c:type="gboolean"/> | |
| 11928 | 13604 | </return-value> | |
| @@ -11937,8 +13613,12 @@ g_param_type_register_static().</doc> | |||
| 11937 | 13613 | </callback> | |
| 11938 | 13614 | </field> | |
| 11939 | 13615 | <field name="values_cmp"> | |
| 13616 | + | <doc xml:space="preserve" | |
| 13617 | + | filename="gobject/gparam.h" | |
| 13618 | + | line="237">Compares @value1 with @value2 according to this type | |
| 13619 | + | (recommended, the default is memcmp()), see g_param_values_cmp().</doc> | |
| 11940 | 13620 | <callback name="values_cmp"> | |
| 11941 | - | <source-position filename="gparam.h" line="257"/> | |
| 13621 | + | <source-position filename="gobject/gparam.h" line="260"/> | |
| 11942 | 13622 | <return-value transfer-ownership="none"> | |
| 11943 | 13623 | <type name="gint" c:type="gint"/> | |
| 11944 | 13624 | </return-value> | |
| @@ -11955,8 +13635,29 @@ g_param_type_register_static().</doc> | |||
| 11955 | 13635 | </parameters> | |
| 11956 | 13636 | </callback> | |
| 11957 | 13637 | </field> | |
| 13638 | + | <field name="value_is_valid"> | |
| 13639 | + | <doc xml:space="preserve" | |
| 13640 | + | filename="gobject/gparam.h" | |
| 13641 | + | line="239">Checks if contents of @value comply with the specifications | |
| 13642 | + | set out by this type, without modifying the value. This vfunc is optional. | |
| 13643 | + | If it isn't set, GObject will use @value_validate. Since 2.74</doc> | |
| 13644 | + | <callback name="value_is_valid"> | |
| 13645 | + | <source-position filename="gobject/gparam.h" line="264"/> | |
| 13646 | + | <return-value transfer-ownership="none"> | |
| 13647 | + | <type name="gboolean" c:type="gboolean"/> | |
| 13648 | + | </return-value> | |
| 13649 | + | <parameters> | |
| 13650 | + | <parameter name="pspec" transfer-ownership="none"> | |
| 13651 | + | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 13652 | + | </parameter> | |
| 13653 | + | <parameter name="value" transfer-ownership="none"> | |
| 13654 | + | <type name="Value" c:type="const GValue*"/> | |
| 13655 | + | </parameter> | |
| 13656 | + | </parameters> | |
| 13657 | + | </callback> | |
| 13658 | + | </field> | |
| 11958 | 13659 | <field name="dummy" readable="0" private="1"> | |
| 11959 | - | <array zero-terminated="0" fixed-size="4"> | |
| 13660 | + | <array zero-terminated="0" fixed-size="3"> | |
| 11960 | 13661 | <type name="gpointer" c:type="gpointer"/> | |
| 11961 | 13662 | </array> | |
| 11962 | 13663 | </field> | |
| @@ -11969,36 +13670,36 @@ g_param_type_register_static().</doc> | |||
| 11969 | 13670 | glib:get-type="intern" | |
| 11970 | 13671 | glib:fundamental="1"> | |
| 11971 | 13672 | <doc xml:space="preserve" | |
| 11972 | - | filename="gparamspecs.h" | |
| 11973 | - | line="824">A #GParamSpec derived structure that contains the meta data for double properties.</doc> | |
| 13673 | + | filename="gobject/gparamspecs.h" | |
| 13674 | + | line="826">A #GParamSpec derived structure that contains the meta data for double properties.</doc> | |
| 11974 | 13675 | <field name="parent_instance"> | |
| 11975 | 13676 | <doc xml:space="preserve" | |
| 11976 | - | filename="gparamspecs.h" | |
| 11977 | - | line="826">private #GParamSpec portion</doc> | |
| 13677 | + | filename="gobject/gparamspecs.h" | |
| 13678 | + | line="828">private #GParamSpec portion</doc> | |
| 11978 | 13679 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 11979 | 13680 | </field> | |
| 11980 | 13681 | <field name="minimum"> | |
| 11981 | 13682 | <doc xml:space="preserve" | |
| 11982 | - | filename="gparamspecs.h" | |
| 11983 | - | line="827">minimum value for the property specified</doc> | |
| 13683 | + | filename="gobject/gparamspecs.h" | |
| 13684 | + | line="829">minimum value for the property specified</doc> | |
| 11984 | 13685 | <type name="gdouble" c:type="gdouble"/> | |
| 11985 | 13686 | </field> | |
| 11986 | 13687 | <field name="maximum"> | |
| 11987 | 13688 | <doc xml:space="preserve" | |
| 11988 | - | filename="gparamspecs.h" | |
| 11989 | - | line="828">maximum value for the property specified</doc> | |
| 13689 | + | filename="gobject/gparamspecs.h" | |
| 13690 | + | line="830">maximum value for the property specified</doc> | |
| 11990 | 13691 | <type name="gdouble" c:type="gdouble"/> | |
| 11991 | 13692 | </field> | |
| 11992 | 13693 | <field name="default_value"> | |
| 11993 | 13694 | <doc xml:space="preserve" | |
| 11994 | - | filename="gparamspecs.h" | |
| 11995 | - | line="829">default value for the property specified</doc> | |
| 13695 | + | filename="gobject/gparamspecs.h" | |
| 13696 | + | line="831">default value for the property specified</doc> | |
| 11996 | 13697 | <type name="gdouble" c:type="gdouble"/> | |
| 11997 | 13698 | </field> | |
| 11998 | 13699 | <field name="epsilon"> | |
| 11999 | 13700 | <doc xml:space="preserve" | |
| 12000 | - | filename="gparamspecs.h" | |
| 12001 | - | line="830">values closer than @epsilon will be considered identical | |
| 13701 | + | filename="gobject/gparamspecs.h" | |
| 13702 | + | line="832">values closer than @epsilon will be considered identical | |
| 12002 | 13703 | by g_param_values_cmp(); the default value is 1e-90.</doc> | |
| 12003 | 13704 | <type name="gdouble" c:type="gdouble"/> | |
| 12004 | 13705 | </field> | |
| @@ -12011,25 +13712,25 @@ g_param_type_register_static().</doc> | |||
| 12011 | 13712 | glib:get-type="intern" | |
| 12012 | 13713 | glib:fundamental="1"> | |
| 12013 | 13714 | <doc xml:space="preserve" | |
| 12014 | - | filename="gparamspecs.h" | |
| 12015 | - | line="772">A #GParamSpec derived structure that contains the meta data for enum | |
| 13715 | + | filename="gobject/gparamspecs.h" | |
| 13716 | + | line="774">A #GParamSpec derived structure that contains the meta data for enum | |
| 12016 | 13717 | properties.</doc> | |
| 12017 | 13718 | <field name="parent_instance"> | |
| 12018 | 13719 | <doc xml:space="preserve" | |
| 12019 | - | filename="gparamspecs.h" | |
| 12020 | - | line="774">private #GParamSpec portion</doc> | |
| 13720 | + | filename="gobject/gparamspecs.h" | |
| 13721 | + | line="776">private #GParamSpec portion</doc> | |
| 12021 | 13722 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12022 | 13723 | </field> | |
| 12023 | 13724 | <field name="enum_class"> | |
| 12024 | 13725 | <doc xml:space="preserve" | |
| 12025 | - | filename="gparamspecs.h" | |
| 12026 | - | line="775">the #GEnumClass for the enum</doc> | |
| 13726 | + | filename="gobject/gparamspecs.h" | |
| 13727 | + | line="777">the #GEnumClass for the enum</doc> | |
| 12027 | 13728 | <type name="EnumClass" c:type="GEnumClass*"/> | |
| 12028 | 13729 | </field> | |
| 12029 | 13730 | <field name="default_value"> | |
| 12030 | 13731 | <doc xml:space="preserve" | |
| 12031 | - | filename="gparamspecs.h" | |
| 12032 | - | line="776">default value for the property specified</doc> | |
| 13732 | + | filename="gobject/gparamspecs.h" | |
| 13733 | + | line="778">default value for the property specified</doc> | |
| 12033 | 13734 | <type name="gint" c:type="gint"/> | |
| 12034 | 13735 | </field> | |
| 12035 | 13736 | </class> | |
| @@ -12041,25 +13742,25 @@ properties.</doc> | |||
| 12041 | 13742 | glib:get-type="intern" | |
| 12042 | 13743 | glib:fundamental="1"> | |
| 12043 | 13744 | <doc xml:space="preserve" | |
| 12044 | - | filename="gparamspecs.h" | |
| 12045 | - | line="788">A #GParamSpec derived structure that contains the meta data for flags | |
| 13745 | + | filename="gobject/gparamspecs.h" | |
| 13746 | + | line="790">A #GParamSpec derived structure that contains the meta data for flags | |
| 12046 | 13747 | properties.</doc> | |
| 12047 | 13748 | <field name="parent_instance"> | |
| 12048 | 13749 | <doc xml:space="preserve" | |
| 12049 | - | filename="gparamspecs.h" | |
| 12050 | - | line="790">private #GParamSpec portion</doc> | |
| 13750 | + | filename="gobject/gparamspecs.h" | |
| 13751 | + | line="792">private #GParamSpec portion</doc> | |
| 12051 | 13752 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12052 | 13753 | </field> | |
| 12053 | 13754 | <field name="flags_class"> | |
| 12054 | 13755 | <doc xml:space="preserve" | |
| 12055 | - | filename="gparamspecs.h" | |
| 12056 | - | line="791">the #GFlagsClass for the flags</doc> | |
| 13756 | + | filename="gobject/gparamspecs.h" | |
| 13757 | + | line="793">the #GFlagsClass for the flags</doc> | |
| 12057 | 13758 | <type name="FlagsClass" c:type="GFlagsClass*"/> | |
| 12058 | 13759 | </field> | |
| 12059 | 13760 | <field name="default_value"> | |
| 12060 | 13761 | <doc xml:space="preserve" | |
| 12061 | - | filename="gparamspecs.h" | |
| 12062 | - | line="792">default value for the property specified</doc> | |
| 13762 | + | filename="gobject/gparamspecs.h" | |
| 13763 | + | line="794">default value for the property specified</doc> | |
| 12063 | 13764 | <type name="guint" c:type="guint"/> | |
| 12064 | 13765 | </field> | |
| 12065 | 13766 | </class> | |
| @@ -12071,36 +13772,36 @@ properties.</doc> | |||
| 12071 | 13772 | glib:get-type="intern" | |
| 12072 | 13773 | glib:fundamental="1"> | |
| 12073 | 13774 | <doc xml:space="preserve" | |
| 12074 | - | filename="gparamspecs.h" | |
| 12075 | - | line="804">A #GParamSpec derived structure that contains the meta data for float properties.</doc> | |
| 13775 | + | filename="gobject/gparamspecs.h" | |
| 13776 | + | line="806">A #GParamSpec derived structure that contains the meta data for float properties.</doc> | |
| 12076 | 13777 | <field name="parent_instance"> | |
| 12077 | 13778 | <doc xml:space="preserve" | |
| 12078 | - | filename="gparamspecs.h" | |
| 12079 | - | line="806">private #GParamSpec portion</doc> | |
| 13779 | + | filename="gobject/gparamspecs.h" | |
| 13780 | + | line="808">private #GParamSpec portion</doc> | |
| 12080 | 13781 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12081 | 13782 | </field> | |
| 12082 | 13783 | <field name="minimum"> | |
| 12083 | 13784 | <doc xml:space="preserve" | |
| 12084 | - | filename="gparamspecs.h" | |
| 12085 | - | line="807">minimum value for the property specified</doc> | |
| 13785 | + | filename="gobject/gparamspecs.h" | |
| 13786 | + | line="809">minimum value for the property specified</doc> | |
| 12086 | 13787 | <type name="gfloat" c:type="gfloat"/> | |
| 12087 | 13788 | </field> | |
| 12088 | 13789 | <field name="maximum"> | |
| 12089 | 13790 | <doc xml:space="preserve" | |
| 12090 | - | filename="gparamspecs.h" | |
| 12091 | - | line="808">maximum value for the property specified</doc> | |
| 13791 | + | filename="gobject/gparamspecs.h" | |
| 13792 | + | line="810">maximum value for the property specified</doc> | |
| 12092 | 13793 | <type name="gfloat" c:type="gfloat"/> | |
| 12093 | 13794 | </field> | |
| 12094 | 13795 | <field name="default_value"> | |
| 12095 | 13796 | <doc xml:space="preserve" | |
| 12096 | - | filename="gparamspecs.h" | |
| 12097 | - | line="809">default value for the property specified</doc> | |
| 13797 | + | filename="gobject/gparamspecs.h" | |
| 13798 | + | line="811">default value for the property specified</doc> | |
| 12098 | 13799 | <type name="gfloat" c:type="gfloat"/> | |
| 12099 | 13800 | </field> | |
| 12100 | 13801 | <field name="epsilon"> | |
| 12101 | 13802 | <doc xml:space="preserve" | |
| 12102 | - | filename="gparamspecs.h" | |
| 12103 | - | line="810">values closer than @epsilon will be considered identical | |
| 13803 | + | filename="gobject/gparamspecs.h" | |
| 13804 | + | line="812">values closer than @epsilon will be considered identical | |
| 12104 | 13805 | by g_param_values_cmp(); the default value is 1e-30.</doc> | |
| 12105 | 13806 | <type name="gfloat" c:type="gfloat"/> | |
| 12106 | 13807 | </field> | |
| @@ -12114,18 +13815,18 @@ properties.</doc> | |||
| 12114 | 13815 | glib:get-type="intern" | |
| 12115 | 13816 | glib:fundamental="1"> | |
| 12116 | 13817 | <doc xml:space="preserve" | |
| 12117 | - | filename="gparamspecs.h" | |
| 12118 | - | line="946">A #GParamSpec derived structure that contains the meta data for #GType properties.</doc> | |
| 13818 | + | filename="gobject/gparamspecs.h" | |
| 13819 | + | line="948">A #GParamSpec derived structure that contains the meta data for #GType properties.</doc> | |
| 12119 | 13820 | <field name="parent_instance"> | |
| 12120 | 13821 | <doc xml:space="preserve" | |
| 12121 | - | filename="gparamspecs.h" | |
| 12122 | - | line="948">private #GParamSpec portion</doc> | |
| 13822 | + | filename="gobject/gparamspecs.h" | |
| 13823 | + | line="950">private #GParamSpec portion</doc> | |
| 12123 | 13824 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12124 | 13825 | </field> | |
| 12125 | 13826 | <field name="is_a_type"> | |
| 12126 | 13827 | <doc xml:space="preserve" | |
| 12127 | - | filename="gparamspecs.h" | |
| 12128 | - | line="949">a #GType whose subtypes can occur as values</doc> | |
| 13828 | + | filename="gobject/gparamspecs.h" | |
| 13829 | + | line="951">a #GType whose subtypes can occur as values</doc> | |
| 12129 | 13830 | <type name="GType" c:type="GType"/> | |
| 12130 | 13831 | </field> | |
| 12131 | 13832 | </class> | |
| @@ -12137,30 +13838,30 @@ properties.</doc> | |||
| 12137 | 13838 | glib:get-type="intern" | |
| 12138 | 13839 | glib:fundamental="1"> | |
| 12139 | 13840 | <doc xml:space="preserve" | |
| 12140 | - | filename="gparamspecs.h" | |
| 12141 | - | line="657">A #GParamSpec derived structure that contains the meta data for integer properties.</doc> | |
| 13841 | + | filename="gobject/gparamspecs.h" | |
| 13842 | + | line="659">A #GParamSpec derived structure that contains the meta data for integer properties.</doc> | |
| 12142 | 13843 | <field name="parent_instance"> | |
| 12143 | 13844 | <doc xml:space="preserve" | |
| 12144 | - | filename="gparamspecs.h" | |
| 12145 | - | line="659">private #GParamSpec portion</doc> | |
| 13845 | + | filename="gobject/gparamspecs.h" | |
| 13846 | + | line="661">private #GParamSpec portion</doc> | |
| 12146 | 13847 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12147 | 13848 | </field> | |
| 12148 | 13849 | <field name="minimum"> | |
| 12149 | 13850 | <doc xml:space="preserve" | |
| 12150 | - | filename="gparamspecs.h" | |
| 12151 | - | line="660">minimum value for the property specified</doc> | |
| 13851 | + | filename="gobject/gparamspecs.h" | |
| 13852 | + | line="662">minimum value for the property specified</doc> | |
| 12152 | 13853 | <type name="gint" c:type="gint"/> | |
| 12153 | 13854 | </field> | |
| 12154 | 13855 | <field name="maximum"> | |
| 12155 | 13856 | <doc xml:space="preserve" | |
| 12156 | - | filename="gparamspecs.h" | |
| 12157 | - | line="661">maximum value for the property specified</doc> | |
| 13857 | + | filename="gobject/gparamspecs.h" | |
| 13858 | + | line="663">maximum value for the property specified</doc> | |
| 12158 | 13859 | <type name="gint" c:type="gint"/> | |
| 12159 | 13860 | </field> | |
| 12160 | 13861 | <field name="default_value"> | |
| 12161 | 13862 | <doc xml:space="preserve" | |
| 12162 | - | filename="gparamspecs.h" | |
| 12163 | - | line="662">default value for the property specified</doc> | |
| 13863 | + | filename="gobject/gparamspecs.h" | |
| 13864 | + | line="664">default value for the property specified</doc> | |
| 12164 | 13865 | <type name="gint" c:type="gint"/> | |
| 12165 | 13866 | </field> | |
| 12166 | 13867 | </class> | |
| @@ -12172,30 +13873,30 @@ properties.</doc> | |||
| 12172 | 13873 | glib:get-type="intern" | |
| 12173 | 13874 | glib:fundamental="1"> | |
| 12174 | 13875 | <doc xml:space="preserve" | |
| 12175 | - | filename="gparamspecs.h" | |
| 12176 | - | line="725">A #GParamSpec derived structure that contains the meta data for 64bit integer properties.</doc> | |
| 13876 | + | filename="gobject/gparamspecs.h" | |
| 13877 | + | line="727">A #GParamSpec derived structure that contains the meta data for 64bit integer properties.</doc> | |
| 12177 | 13878 | <field name="parent_instance"> | |
| 12178 | 13879 | <doc xml:space="preserve" | |
| 12179 | - | filename="gparamspecs.h" | |
| 12180 | - | line="727">private #GParamSpec portion</doc> | |
| 13880 | + | filename="gobject/gparamspecs.h" | |
| 13881 | + | line="729">private #GParamSpec portion</doc> | |
| 12181 | 13882 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12182 | 13883 | </field> | |
| 12183 | 13884 | <field name="minimum"> | |
| 12184 | 13885 | <doc xml:space="preserve" | |
| 12185 | - | filename="gparamspecs.h" | |
| 12186 | - | line="728">minimum value for the property specified</doc> | |
| 13886 | + | filename="gobject/gparamspecs.h" | |
| 13887 | + | line="730">minimum value for the property specified</doc> | |
| 12187 | 13888 | <type name="gint64" c:type="gint64"/> | |
| 12188 | 13889 | </field> | |
| 12189 | 13890 | <field name="maximum"> | |
| 12190 | 13891 | <doc xml:space="preserve" | |
| 12191 | - | filename="gparamspecs.h" | |
| 12192 | - | line="729">maximum value for the property specified</doc> | |
| 13892 | + | filename="gobject/gparamspecs.h" | |
| 13893 | + | line="731">maximum value for the property specified</doc> | |
| 12193 | 13894 | <type name="gint64" c:type="gint64"/> | |
| 12194 | 13895 | </field> | |
| 12195 | 13896 | <field name="default_value"> | |
| 12196 | 13897 | <doc xml:space="preserve" | |
| 12197 | - | filename="gparamspecs.h" | |
| 12198 | - | line="730">default value for the property specified</doc> | |
| 13898 | + | filename="gobject/gparamspecs.h" | |
| 13899 | + | line="732">default value for the property specified</doc> | |
| 12199 | 13900 | <type name="gint64" c:type="gint64"/> | |
| 12200 | 13901 | </field> | |
| 12201 | 13902 | </class> | |
| @@ -12207,30 +13908,30 @@ properties.</doc> | |||
| 12207 | 13908 | glib:get-type="intern" | |
| 12208 | 13909 | glib:fundamental="1"> | |
| 12209 | 13910 | <doc xml:space="preserve" | |
| 12210 | - | filename="gparamspecs.h" | |
| 12211 | - | line="691">A #GParamSpec derived structure that contains the meta data for long integer properties.</doc> | |
| 13911 | + | filename="gobject/gparamspecs.h" | |
| 13912 | + | line="693">A #GParamSpec derived structure that contains the meta data for long integer properties.</doc> | |
| 12212 | 13913 | <field name="parent_instance"> | |
| 12213 | 13914 | <doc xml:space="preserve" | |
| 12214 | - | filename="gparamspecs.h" | |
| 12215 | - | line="693">private #GParamSpec portion</doc> | |
| 13915 | + | filename="gobject/gparamspecs.h" | |
| 13916 | + | line="695">private #GParamSpec portion</doc> | |
| 12216 | 13917 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12217 | 13918 | </field> | |
| 12218 | 13919 | <field name="minimum"> | |
| 12219 | 13920 | <doc xml:space="preserve" | |
| 12220 | - | filename="gparamspecs.h" | |
| 12221 | - | line="694">minimum value for the property specified</doc> | |
| 13921 | + | filename="gobject/gparamspecs.h" | |
| 13922 | + | line="696">minimum value for the property specified</doc> | |
| 12222 | 13923 | <type name="glong" c:type="glong"/> | |
| 12223 | 13924 | </field> | |
| 12224 | 13925 | <field name="maximum"> | |
| 12225 | 13926 | <doc xml:space="preserve" | |
| 12226 | - | filename="gparamspecs.h" | |
| 12227 | - | line="695">maximum value for the property specified</doc> | |
| 13927 | + | filename="gobject/gparamspecs.h" | |
| 13928 | + | line="697">maximum value for the property specified</doc> | |
| 12228 | 13929 | <type name="glong" c:type="glong"/> | |
| 12229 | 13930 | </field> | |
| 12230 | 13931 | <field name="default_value"> | |
| 12231 | 13932 | <doc xml:space="preserve" | |
| 12232 | - | filename="gparamspecs.h" | |
| 12233 | - | line="696">default value for the property specified</doc> | |
| 13933 | + | filename="gobject/gparamspecs.h" | |
| 13934 | + | line="698">default value for the property specified</doc> | |
| 12234 | 13935 | <type name="glong" c:type="glong"/> | |
| 12235 | 13936 | </field> | |
| 12236 | 13937 | </class> | |
| @@ -12242,12 +13943,12 @@ properties.</doc> | |||
| 12242 | 13943 | glib:get-type="intern" | |
| 12243 | 13944 | glib:fundamental="1"> | |
| 12244 | 13945 | <doc xml:space="preserve" | |
| 12245 | - | filename="gparamspecs.h" | |
| 12246 | - | line="913">A #GParamSpec derived structure that contains the meta data for object properties.</doc> | |
| 13946 | + | filename="gobject/gparamspecs.h" | |
| 13947 | + | line="915">A #GParamSpec derived structure that contains the meta data for object properties.</doc> | |
| 12247 | 13948 | <field name="parent_instance"> | |
| 12248 | 13949 | <doc xml:space="preserve" | |
| 12249 | - | filename="gparamspecs.h" | |
| 12250 | - | line="915">private #GParamSpec portion</doc> | |
| 13950 | + | filename="gobject/gparamspecs.h" | |
| 13951 | + | line="917">private #GParamSpec portion</doc> | |
| 12251 | 13952 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12252 | 13953 | </field> | |
| 12253 | 13954 | </class> | |
| @@ -12260,8 +13961,8 @@ properties.</doc> | |||
| 12260 | 13961 | glib:get-type="intern" | |
| 12261 | 13962 | glib:fundamental="1"> | |
| 12262 | 13963 | <doc xml:space="preserve" | |
| 12263 | - | filename="gparamspecs.h" | |
| 12264 | - | line="923">A #GParamSpec derived structure that redirects operations to | |
| 13964 | + | filename="gobject/gparamspecs.h" | |
| 13965 | + | line="925">A #GParamSpec derived structure that redirects operations to | |
| 12265 | 13966 | other types of #GParamSpec. | |
| 12266 | 13967 | ||
| 12267 | 13968 | All operations other than getting or setting the value are redirected, | |
| @@ -12287,13 +13988,13 @@ unless you are implementing a new base type similar to GObject.</doc> | |||
| 12287 | 13988 | glib:get-type="intern" | |
| 12288 | 13989 | glib:fundamental="1"> | |
| 12289 | 13990 | <doc xml:space="preserve" | |
| 12290 | - | filename="gparamspecs.h" | |
| 12291 | - | line="868">A #GParamSpec derived structure that contains the meta data for %G_TYPE_PARAM | |
| 13991 | + | filename="gobject/gparamspecs.h" | |
| 13992 | + | line="870">A #GParamSpec derived structure that contains the meta data for %G_TYPE_PARAM | |
| 12292 | 13993 | properties.</doc> | |
| 12293 | 13994 | <field name="parent_instance"> | |
| 12294 | 13995 | <doc xml:space="preserve" | |
| 12295 | - | filename="gparamspecs.h" | |
| 12296 | - | line="870">private #GParamSpec portion</doc> | |
| 13996 | + | filename="gobject/gparamspecs.h" | |
| 13997 | + | line="872">private #GParamSpec portion</doc> | |
| 12297 | 13998 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12298 | 13999 | </field> | |
| 12299 | 14000 | </class> | |
| @@ -12305,63 +14006,83 @@ properties.</doc> | |||
| 12305 | 14006 | glib:get-type="intern" | |
| 12306 | 14007 | glib:fundamental="1"> | |
| 12307 | 14008 | <doc xml:space="preserve" | |
| 12308 | - | filename="gparamspecs.h" | |
| 12309 | - | line="889">A #GParamSpec derived structure that contains the meta data for pointer properties.</doc> | |
| 14009 | + | filename="gobject/gparamspecs.h" | |
| 14010 | + | line="891">A #GParamSpec derived structure that contains the meta data for pointer properties.</doc> | |
| 12310 | 14011 | <field name="parent_instance"> | |
| 12311 | 14012 | <doc xml:space="preserve" | |
| 12312 | - | filename="gparamspecs.h" | |
| 12313 | - | line="891">private #GParamSpec portion</doc> | |
| 14013 | + | filename="gobject/gparamspecs.h" | |
| 14014 | + | line="893">private #GParamSpec portion</doc> | |
| 12314 | 14015 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12315 | 14016 | </field> | |
| 12316 | 14017 | </class> | |
| 12317 | - | <record name="ParamSpecPool" c:type="GParamSpecPool" disguised="1"> | |
| 14018 | + | <record name="ParamSpecPool" | |
| 14019 | + | c:type="GParamSpecPool" | |
| 14020 | + | disguised="1" | |
| 14021 | + | opaque="1"> | |
| 12318 | 14022 | <doc xml:space="preserve" | |
| 12319 | - | filename="gobject-2.0.c" | |
| 12320 | - | line="100">A #GParamSpecPool maintains a collection of #GParamSpecs which can be | |
| 14023 | + | filename="gobject/gparam.c" | |
| 14024 | + | line="935">A #GParamSpecPool maintains a collection of #GParamSpecs which can be | |
| 12321 | 14025 | quickly accessed by owner and name. | |
| 12322 | 14026 | ||
| 12323 | 14027 | The implementation of the #GObject property system uses such a pool to | |
| 12324 | 14028 | store the #GParamSpecs of the properties all object types.</doc> | |
| 12325 | - | <source-position filename="gparam.h" line="197"/> | |
| 14029 | + | <source-position filename="gobject/gparam.h" line="207"/> | |
| 14030 | + | <method name="free" c:identifier="g_param_spec_pool_free" version="2.80"> | |
| 14031 | + | <doc xml:space="preserve" | |
| 14032 | + | filename="gobject/gparam.c" | |
| 14033 | + | line="1005">Frees the resources allocated by a #GParamSpecPool.</doc> | |
| 14034 | + | <source-position filename="gobject/gparam.h" line="449"/> | |
| 14035 | + | <return-value transfer-ownership="none"> | |
| 14036 | + | <type name="none" c:type="void"/> | |
| 14037 | + | </return-value> | |
| 14038 | + | <parameters> | |
| 14039 | + | <instance-parameter name="pool" transfer-ownership="full"> | |
| 14040 | + | <doc xml:space="preserve" | |
| 14041 | + | filename="gobject/gparam.c" | |
| 14042 | + | line="1007">a #GParamSpecPool</doc> | |
| 14043 | + | <type name="ParamSpecPool" c:type="GParamSpecPool*"/> | |
| 14044 | + | </instance-parameter> | |
| 14045 | + | </parameters> | |
| 14046 | + | </method> | |
| 12326 | 14047 | <method name="insert" c:identifier="g_param_spec_pool_insert"> | |
| 12327 | 14048 | <doc xml:space="preserve" | |
| 12328 | - | filename="gobject-2.0.c" | |
| 12329 | - | line="4316">Inserts a #GParamSpec in the pool.</doc> | |
| 12330 | - | <source-position filename="gparam.h" line="420"/> | |
| 14049 | + | filename="gobject/gparam.c" | |
| 14050 | + | line="1023">Inserts a #GParamSpec in the pool.</doc> | |
| 14051 | + | <source-position filename="gobject/gparam.h" line="430"/> | |
| 12331 | 14052 | <return-value transfer-ownership="none"> | |
| 12332 | 14053 | <type name="none" c:type="void"/> | |
| 12333 | 14054 | </return-value> | |
| 12334 | 14055 | <parameters> | |
| 12335 | 14056 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 12336 | 14057 | <doc xml:space="preserve" | |
| 12337 | - | filename="gobject-2.0.c" | |
| 12338 | - | line="4318">a #GParamSpecPool.</doc> | |
| 14058 | + | filename="gobject/gparam.c" | |
| 14059 | + | line="1025">a #GParamSpecPool.</doc> | |
| 12339 | 14060 | <type name="ParamSpecPool" c:type="GParamSpecPool*"/> | |
| 12340 | 14061 | </instance-parameter> | |
| 12341 | 14062 | <parameter name="pspec" transfer-ownership="none"> | |
| 12342 | 14063 | <doc xml:space="preserve" | |
| 12343 | - | filename="gobject-2.0.c" | |
| 12344 | - | line="4319">the #GParamSpec to insert</doc> | |
| 14064 | + | filename="gobject/gparam.c" | |
| 14065 | + | line="1026">the #GParamSpec to insert</doc> | |
| 12345 | 14066 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 12346 | 14067 | </parameter> | |
| 12347 | 14068 | <parameter name="owner_type" transfer-ownership="none"> | |
| 12348 | 14069 | <doc xml:space="preserve" | |
| 12349 | - | filename="gobject-2.0.c" | |
| 12350 | - | line="4320">a #GType identifying the owner of @pspec</doc> | |
| 14070 | + | filename="gobject/gparam.c" | |
| 14071 | + | line="1027">a #GType identifying the owner of @pspec</doc> | |
| 12351 | 14072 | <type name="GType" c:type="GType"/> | |
| 12352 | 14073 | </parameter> | |
| 12353 | 14074 | </parameters> | |
| 12354 | 14075 | </method> | |
| 12355 | 14076 | <method name="list" c:identifier="g_param_spec_pool_list"> | |
| 12356 | 14077 | <doc xml:space="preserve" | |
| 12357 | - | filename="gobject-2.0.c" | |
| 12358 | - | line="4326">Gets an array of all #GParamSpecs owned by @owner_type in | |
| 14078 | + | filename="gobject/gparam.c" | |
| 14079 | + | line="1363">Gets an array of all #GParamSpecs owned by @owner_type in | |
| 12359 | 14080 | the pool.</doc> | |
| 12360 | - | <source-position filename="gparam.h" line="435"/> | |
| 14081 | + | <source-position filename="gobject/gparam.h" line="445"/> | |
| 12361 | 14082 | <return-value transfer-ownership="container"> | |
| 12362 | 14083 | <doc xml:space="preserve" | |
| 12363 | - | filename="gobject-2.0.c" | |
| 12364 | - | line="4335">a newly | |
| 14084 | + | filename="gobject/gparam.c" | |
| 14085 | + | line="1372">a newly | |
| 12365 | 14086 | allocated array containing pointers to all #GParamSpecs | |
| 12366 | 14087 | owned by @owner_type in the pool</doc> | |
| 12367 | 14088 | <array length="1" zero-terminated="0" c:type="GParamSpec**"> | |
| @@ -12371,14 +14092,14 @@ the pool.</doc> | |||
| 12371 | 14092 | <parameters> | |
| 12372 | 14093 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 12373 | 14094 | <doc xml:space="preserve" | |
| 12374 | - | filename="gobject-2.0.c" | |
| 12375 | - | line="4328">a #GParamSpecPool</doc> | |
| 14095 | + | filename="gobject/gparam.c" | |
| 14096 | + | line="1365">a #GParamSpecPool</doc> | |
| 12376 | 14097 | <type name="ParamSpecPool" c:type="GParamSpecPool*"/> | |
| 12377 | 14098 | </instance-parameter> | |
| 12378 | 14099 | <parameter name="owner_type" transfer-ownership="none"> | |
| 12379 | 14100 | <doc xml:space="preserve" | |
| 12380 | - | filename="gobject-2.0.c" | |
| 12381 | - | line="4329">the owner to look for</doc> | |
| 14101 | + | filename="gobject/gparam.c" | |
| 14102 | + | line="1366">the owner to look for</doc> | |
| 12382 | 14103 | <type name="GType" c:type="GType"/> | |
| 12383 | 14104 | </parameter> | |
| 12384 | 14105 | <parameter name="n_pspecs_p" | |
| @@ -12386,22 +14107,22 @@ the pool.</doc> | |||
| 12386 | 14107 | caller-allocates="0" | |
| 12387 | 14108 | transfer-ownership="full"> | |
| 12388 | 14109 | <doc xml:space="preserve" | |
| 12389 | - | filename="gobject-2.0.c" | |
| 12390 | - | line="4330">return location for the length of the returned array</doc> | |
| 14110 | + | filename="gobject/gparam.c" | |
| 14111 | + | line="1367">return location for the length of the returned array</doc> | |
| 12391 | 14112 | <type name="guint" c:type="guint*"/> | |
| 12392 | 14113 | </parameter> | |
| 12393 | 14114 | </parameters> | |
| 12394 | 14115 | </method> | |
| 12395 | 14116 | <method name="list_owned" c:identifier="g_param_spec_pool_list_owned"> | |
| 12396 | 14117 | <doc xml:space="preserve" | |
| 12397 | - | filename="gobject-2.0.c" | |
| 12398 | - | line="4341">Gets an #GList of all #GParamSpecs owned by @owner_type in | |
| 14118 | + | filename="gobject/gparam.c" | |
| 14119 | + | line="1233">Gets an #GList of all #GParamSpecs owned by @owner_type in | |
| 12399 | 14120 | the pool.</doc> | |
| 12400 | - | <source-position filename="gparam.h" line="432"/> | |
| 14121 | + | <source-position filename="gobject/gparam.h" line="442"/> | |
| 12401 | 14122 | <return-value transfer-ownership="container"> | |
| 12402 | 14123 | <doc xml:space="preserve" | |
| 12403 | - | filename="gobject-2.0.c" | |
| 12404 | - | line="4349">a | |
| 14124 | + | filename="gobject/gparam.c" | |
| 14125 | + | line="1241">a | |
| 12405 | 14126 | #GList of all #GParamSpecs owned by @owner_type in | |
| 12406 | 14127 | the pool#GParamSpecs.</doc> | |
| 12407 | 14128 | <type name="GLib.List" c:type="GList*"> | |
| @@ -12411,53 +14132,53 @@ the pool.</doc> | |||
| 12411 | 14132 | <parameters> | |
| 12412 | 14133 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 12413 | 14134 | <doc xml:space="preserve" | |
| 12414 | - | filename="gobject-2.0.c" | |
| 12415 | - | line="4343">a #GParamSpecPool</doc> | |
| 14135 | + | filename="gobject/gparam.c" | |
| 14136 | + | line="1235">a #GParamSpecPool</doc> | |
| 12416 | 14137 | <type name="ParamSpecPool" c:type="GParamSpecPool*"/> | |
| 12417 | 14138 | </instance-parameter> | |
| 12418 | 14139 | <parameter name="owner_type" transfer-ownership="none"> | |
| 12419 | 14140 | <doc xml:space="preserve" | |
| 12420 | - | filename="gobject-2.0.c" | |
| 12421 | - | line="4344">the owner to look for</doc> | |
| 14141 | + | filename="gobject/gparam.c" | |
| 14142 | + | line="1236">the owner to look for</doc> | |
| 12422 | 14143 | <type name="GType" c:type="GType"/> | |
| 12423 | 14144 | </parameter> | |
| 12424 | 14145 | </parameters> | |
| 12425 | 14146 | </method> | |
| 12426 | 14147 | <method name="lookup" c:identifier="g_param_spec_pool_lookup"> | |
| 12427 | 14148 | <doc xml:space="preserve" | |
| 12428 | - | filename="gobject-2.0.c" | |
| 12429 | - | line="4355">Looks up a #GParamSpec in the pool.</doc> | |
| 12430 | - | <source-position filename="gparam.h" line="427"/> | |
| 14149 | + | filename="gobject/gparam.c" | |
| 14150 | + | line="1142">Looks up a #GParamSpec in the pool.</doc> | |
| 14151 | + | <source-position filename="gobject/gparam.h" line="437"/> | |
| 12431 | 14152 | <return-value transfer-ownership="none" nullable="1"> | |
| 12432 | 14153 | <doc xml:space="preserve" | |
| 12433 | - | filename="gobject-2.0.c" | |
| 12434 | - | line="4365">The found #GParamSpec, or %NULL if no | |
| 14154 | + | filename="gobject/gparam.c" | |
| 14155 | + | line="1152">The found #GParamSpec, or %NULL if no | |
| 12435 | 14156 | matching #GParamSpec was found.</doc> | |
| 12436 | 14157 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 12437 | 14158 | </return-value> | |
| 12438 | 14159 | <parameters> | |
| 12439 | 14160 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 12440 | 14161 | <doc xml:space="preserve" | |
| 12441 | - | filename="gobject-2.0.c" | |
| 12442 | - | line="4357">a #GParamSpecPool</doc> | |
| 14162 | + | filename="gobject/gparam.c" | |
| 14163 | + | line="1144">a #GParamSpecPool</doc> | |
| 12443 | 14164 | <type name="ParamSpecPool" c:type="GParamSpecPool*"/> | |
| 12444 | 14165 | </instance-parameter> | |
| 12445 | 14166 | <parameter name="param_name" transfer-ownership="none"> | |
| 12446 | 14167 | <doc xml:space="preserve" | |
| 12447 | - | filename="gobject-2.0.c" | |
| 12448 | - | line="4358">the name to look for</doc> | |
| 14168 | + | filename="gobject/gparam.c" | |
| 14169 | + | line="1145">the name to look for</doc> | |
| 12449 | 14170 | <type name="utf8" c:type="const gchar*"/> | |
| 12450 | 14171 | </parameter> | |
| 12451 | 14172 | <parameter name="owner_type" transfer-ownership="none"> | |
| 12452 | 14173 | <doc xml:space="preserve" | |
| 12453 | - | filename="gobject-2.0.c" | |
| 12454 | - | line="4359">the owner to look for</doc> | |
| 14174 | + | filename="gobject/gparam.c" | |
| 14175 | + | line="1146">the owner to look for</doc> | |
| 12455 | 14176 | <type name="GType" c:type="GType"/> | |
| 12456 | 14177 | </parameter> | |
| 12457 | 14178 | <parameter name="walk_ancestors" transfer-ownership="none"> | |
| 12458 | 14179 | <doc xml:space="preserve" | |
| 12459 | - | filename="gobject-2.0.c" | |
| 12460 | - | line="4360">If %TRUE, also try to find a #GParamSpec with @param_name | |
| 14180 | + | filename="gobject/gparam.c" | |
| 14181 | + | line="1147">If %TRUE, also try to find a #GParamSpec with @param_name | |
| 12461 | 14182 | owned by an ancestor of @owner_type.</doc> | |
| 12462 | 14183 | <type name="gboolean" c:type="gboolean"/> | |
| 12463 | 14184 | </parameter> | |
| @@ -12465,23 +14186,23 @@ matching #GParamSpec was found.</doc> | |||
| 12465 | 14186 | </method> | |
| 12466 | 14187 | <method name="remove" c:identifier="g_param_spec_pool_remove"> | |
| 12467 | 14188 | <doc xml:space="preserve" | |
| 12468 | - | filename="gobject-2.0.c" | |
| 12469 | - | line="4385">Removes a #GParamSpec from the pool.</doc> | |
| 12470 | - | <source-position filename="gparam.h" line="424"/> | |
| 14189 | + | filename="gobject/gparam.c" | |
| 14190 | + | line="1063">Removes a #GParamSpec from the pool.</doc> | |
| 14191 | + | <source-position filename="gobject/gparam.h" line="434"/> | |
| 12471 | 14192 | <return-value transfer-ownership="none"> | |
| 12472 | 14193 | <type name="none" c:type="void"/> | |
| 12473 | 14194 | </return-value> | |
| 12474 | 14195 | <parameters> | |
| 12475 | 14196 | <instance-parameter name="pool" transfer-ownership="none"> | |
| 12476 | 14197 | <doc xml:space="preserve" | |
| 12477 | - | filename="gobject-2.0.c" | |
| 12478 | - | line="4387">a #GParamSpecPool</doc> | |
| 14198 | + | filename="gobject/gparam.c" | |
| 14199 | + | line="1065">a #GParamSpecPool</doc> | |
| 12479 | 14200 | <type name="ParamSpecPool" c:type="GParamSpecPool*"/> | |
| 12480 | 14201 | </instance-parameter> | |
| 12481 | 14202 | <parameter name="pspec" transfer-ownership="none"> | |
| 12482 | 14203 | <doc xml:space="preserve" | |
| 12483 | - | filename="gobject-2.0.c" | |
| 12484 | - | line="4388">the #GParamSpec to remove</doc> | |
| 14204 | + | filename="gobject/gparam.c" | |
| 14205 | + | line="1066">the #GParamSpec to remove</doc> | |
| 12485 | 14206 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 12486 | 14207 | </parameter> | |
| 12487 | 14208 | </parameters> | |
| @@ -12490,25 +14211,25 @@ matching #GParamSpec was found.</doc> | |||
| 12490 | 14211 | c:identifier="g_param_spec_pool_new" | |
| 12491 | 14212 | introspectable="0"> | |
| 12492 | 14213 | <doc xml:space="preserve" | |
| 12493 | - | filename="gobject-2.0.c" | |
| 12494 | - | line="4370">Creates a new #GParamSpecPool. | |
| 14214 | + | filename="gobject/gparam.c" | |
| 14215 | + | line="976">Creates a new #GParamSpecPool. | |
| 12495 | 14216 | ||
| 12496 | 14217 | If @type_prefixing is %TRUE, lookups in the newly created pool will | |
| 12497 | 14218 | allow to specify the owner as a colon-separated prefix of the | |
| 12498 | 14219 | property name, like "GtkContainer:border-width". This feature is | |
| 12499 | 14220 | deprecated, so you should always set @type_prefixing to %FALSE.</doc> | |
| 12500 | - | <source-position filename="gparam.h" line="418"/> | |
| 14221 | + | <source-position filename="gobject/gparam.h" line="428"/> | |
| 12501 | 14222 | <return-value transfer-ownership="full"> | |
| 12502 | 14223 | <doc xml:space="preserve" | |
| 12503 | - | filename="gobject-2.0.c" | |
| 12504 | - | line="4381">a newly allocated #GParamSpecPool.</doc> | |
| 14224 | + | filename="gobject/gparam.c" | |
| 14225 | + | line="987">a newly allocated #GParamSpecPool.</doc> | |
| 12505 | 14226 | <type name="ParamSpecPool" c:type="GParamSpecPool*"/> | |
| 12506 | 14227 | </return-value> | |
| 12507 | 14228 | <parameters> | |
| 12508 | 14229 | <parameter name="type_prefixing" transfer-ownership="none"> | |
| 12509 | 14230 | <doc xml:space="preserve" | |
| 12510 | - | filename="gobject-2.0.c" | |
| 12511 | - | line="4372">Whether the pool will support type-prefixed property names.</doc> | |
| 14231 | + | filename="gobject/gparam.c" | |
| 14232 | + | line="978">Whether the pool will support type-prefixed property names.</doc> | |
| 12512 | 14233 | <type name="gboolean" c:type="gboolean"/> | |
| 12513 | 14234 | </parameter> | |
| 12514 | 14235 | </parameters> | |
| @@ -12522,56 +14243,56 @@ deprecated, so you should always set @type_prefixing to %FALSE.</doc> | |||
| 12522 | 14243 | glib:get-type="intern" | |
| 12523 | 14244 | glib:fundamental="1"> | |
| 12524 | 14245 | <doc xml:space="preserve" | |
| 12525 | - | filename="gparamspecs.h" | |
| 12526 | - | line="844">A #GParamSpec derived structure that contains the meta data for string | |
| 14246 | + | filename="gobject/gparamspecs.h" | |
| 14247 | + | line="846">A #GParamSpec derived structure that contains the meta data for string | |
| 12527 | 14248 | properties.</doc> | |
| 12528 | 14249 | <field name="parent_instance"> | |
| 12529 | 14250 | <doc xml:space="preserve" | |
| 12530 | - | filename="gparamspecs.h" | |
| 12531 | - | line="846">private #GParamSpec portion</doc> | |
| 14251 | + | filename="gobject/gparamspecs.h" | |
| 14252 | + | line="848">private #GParamSpec portion</doc> | |
| 12532 | 14253 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12533 | 14254 | </field> | |
| 12534 | 14255 | <field name="default_value"> | |
| 12535 | 14256 | <doc xml:space="preserve" | |
| 12536 | - | filename="gparamspecs.h" | |
| 12537 | - | line="847">default value for the property specified</doc> | |
| 14257 | + | filename="gobject/gparamspecs.h" | |
| 14258 | + | line="849">default value for the property specified</doc> | |
| 12538 | 14259 | <type name="utf8" c:type="gchar*"/> | |
| 12539 | 14260 | </field> | |
| 12540 | 14261 | <field name="cset_first"> | |
| 12541 | 14262 | <doc xml:space="preserve" | |
| 12542 | - | filename="gparamspecs.h" | |
| 12543 | - | line="848">a string containing the allowed values for the first byte</doc> | |
| 14263 | + | filename="gobject/gparamspecs.h" | |
| 14264 | + | line="850">a string containing the allowed values for the first byte</doc> | |
| 12544 | 14265 | <type name="utf8" c:type="gchar*"/> | |
| 12545 | 14266 | </field> | |
| 12546 | 14267 | <field name="cset_nth"> | |
| 12547 | 14268 | <doc xml:space="preserve" | |
| 12548 | - | filename="gparamspecs.h" | |
| 12549 | - | line="849">a string containing the allowed values for the subsequent bytes</doc> | |
| 14269 | + | filename="gobject/gparamspecs.h" | |
| 14270 | + | line="851">a string containing the allowed values for the subsequent bytes</doc> | |
| 12550 | 14271 | <type name="utf8" c:type="gchar*"/> | |
| 12551 | 14272 | </field> | |
| 12552 | 14273 | <field name="substitutor"> | |
| 12553 | 14274 | <doc xml:space="preserve" | |
| 12554 | - | filename="gparamspecs.h" | |
| 12555 | - | line="850">the replacement byte for bytes which don't match @cset_first or @cset_nth.</doc> | |
| 14275 | + | filename="gobject/gparamspecs.h" | |
| 14276 | + | line="852">the replacement byte for bytes which don't match @cset_first or @cset_nth.</doc> | |
| 12556 | 14277 | <type name="gchar" c:type="gchar"/> | |
| 12557 | 14278 | </field> | |
| 12558 | 14279 | <field name="null_fold_if_empty" bits="1"> | |
| 12559 | 14280 | <doc xml:space="preserve" | |
| 12560 | - | filename="gparamspecs.h" | |
| 12561 | - | line="851">replace empty string by %NULL</doc> | |
| 14281 | + | filename="gobject/gparamspecs.h" | |
| 14282 | + | line="853">replace empty string by %NULL</doc> | |
| 12562 | 14283 | <type name="guint" c:type="guint"/> | |
| 12563 | 14284 | </field> | |
| 12564 | 14285 | <field name="ensure_non_null" bits="1"> | |
| 12565 | 14286 | <doc xml:space="preserve" | |
| 12566 | - | filename="gparamspecs.h" | |
| 12567 | - | line="852">replace %NULL strings by an empty string</doc> | |
| 14287 | + | filename="gobject/gparamspecs.h" | |
| 14288 | + | line="854">replace %NULL strings by an empty string</doc> | |
| 12568 | 14289 | <type name="guint" c:type="guint"/> | |
| 12569 | 14290 | </field> | |
| 12570 | 14291 | </class> | |
| 12571 | 14292 | <record name="ParamSpecTypeInfo" c:type="GParamSpecTypeInfo"> | |
| 12572 | 14293 | <doc xml:space="preserve" | |
| 12573 | - | filename="gparam.h" | |
| 12574 | - | line="354">This structure is used to provide the type system with the information | |
| 14294 | + | filename="gobject/gparam.h" | |
| 14295 | + | line="364">This structure is used to provide the type system with the information | |
| 12575 | 14296 | required to initialize and destruct (finalize) a parameter's class and | |
| 12576 | 14297 | instances thereof. | |
| 12577 | 14298 | ||
| @@ -12579,22 +14300,25 @@ The initialized structure is passed to the g_param_type_register_static() | |||
| 12579 | 14300 | The type system will perform a deep copy of this structure, so its memory | |
| 12580 | 14301 | does not need to be persistent across invocation of | |
| 12581 | 14302 | g_param_type_register_static().</doc> | |
| 12582 | - | <source-position filename="gparam.h" line="396"/> | |
| 14303 | + | <source-position filename="gobject/gparam.h" line="406"/> | |
| 12583 | 14304 | <field name="instance_size" writable="1"> | |
| 12584 | 14305 | <doc xml:space="preserve" | |
| 12585 | - | filename="gparam.h" | |
| 12586 | - | line="356">Size of the instance (object) structure.</doc> | |
| 14306 | + | filename="gobject/gparam.h" | |
| 14307 | + | line="366">Size of the instance (object) structure.</doc> | |
| 12587 | 14308 | <type name="guint16" c:type="guint16"/> | |
| 12588 | 14309 | </field> | |
| 12589 | 14310 | <field name="n_preallocs" writable="1"> | |
| 12590 | 14311 | <doc xml:space="preserve" | |
| 12591 | - | filename="gparam.h" | |
| 12592 | - | line="357">Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the [slice allocator][glib-Memory-Slices] now.</doc> | |
| 14312 | + | filename="gobject/gparam.h" | |
| 14313 | + | line="367">Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the [slice allocator][glib-Memory-Slices] now.</doc> | |
| 12593 | 14314 | <type name="guint16" c:type="guint16"/> | |
| 12594 | 14315 | </field> | |
| 12595 | 14316 | <field name="instance_init"> | |
| 14317 | + | <doc xml:space="preserve" | |
| 14318 | + | filename="gobject/gparam.h" | |
| 14319 | + | line="368">Location of the instance initialization function (optional).</doc> | |
| 12596 | 14320 | <callback name="instance_init"> | |
| 12597 | - | <source-position filename="gparam.h" line="384"/> | |
| 14321 | + | <source-position filename="gobject/gparam.h" line="394"/> | |
| 12598 | 14322 | <return-value transfer-ownership="none"> | |
| 12599 | 14323 | <type name="none" c:type="void"/> | |
| 12600 | 14324 | </return-value> | |
| @@ -12607,13 +14331,16 @@ g_param_type_register_static().</doc> | |||
| 12607 | 14331 | </field> | |
| 12608 | 14332 | <field name="value_type" writable="1"> | |
| 12609 | 14333 | <doc xml:space="preserve" | |
| 12610 | - | filename="gparam.h" | |
| 12611 | - | line="359">The #GType of values conforming to this #GParamSpec</doc> | |
| 14334 | + | filename="gobject/gparam.h" | |
| 14335 | + | line="369">The #GType of values conforming to this #GParamSpec</doc> | |
| 12612 | 14336 | <type name="GType" c:type="GType"/> | |
| 12613 | 14337 | </field> | |
| 12614 | 14338 | <field name="finalize"> | |
| 14339 | + | <doc xml:space="preserve" | |
| 14340 | + | filename="gobject/gparam.h" | |
| 14341 | + | line="370">The instance finalization function (optional).</doc> | |
| 12615 | 14342 | <callback name="finalize"> | |
| 12616 | - | <source-position filename="gparam.h" line="388"/> | |
| 14343 | + | <source-position filename="gobject/gparam.h" line="398"/> | |
| 12617 | 14344 | <return-value transfer-ownership="none"> | |
| 12618 | 14345 | <type name="none" c:type="void"/> | |
| 12619 | 14346 | </return-value> | |
| @@ -12625,8 +14352,13 @@ g_param_type_register_static().</doc> | |||
| 12625 | 14352 | </callback> | |
| 12626 | 14353 | </field> | |
| 12627 | 14354 | <field name="value_set_default"> | |
| 14355 | + | <doc xml:space="preserve" | |
| 14356 | + | filename="gobject/gparam.h" | |
| 14357 | + | line="371">Resets a @value to the default value for @pspec | |
| 14358 | + | (recommended, the default is g_value_reset()), see | |
| 14359 | + | g_param_value_set_default().</doc> | |
| 12628 | 14360 | <callback name="value_set_default"> | |
| 12629 | - | <source-position filename="gparam.h" line="389"/> | |
| 14361 | + | <source-position filename="gobject/gparam.h" line="399"/> | |
| 12630 | 14362 | <return-value transfer-ownership="none"> | |
| 12631 | 14363 | <type name="none" c:type="void"/> | |
| 12632 | 14364 | </return-value> | |
| @@ -12641,8 +14373,13 @@ g_param_type_register_static().</doc> | |||
| 12641 | 14373 | </callback> | |
| 12642 | 14374 | </field> | |
| 12643 | 14375 | <field name="value_validate"> | |
| 14376 | + | <doc xml:space="preserve" | |
| 14377 | + | filename="gobject/gparam.h" | |
| 14378 | + | line="374">Ensures that the contents of @value comply with the | |
| 14379 | + | specifications set out by @pspec (optional), see | |
| 14380 | + | g_param_value_validate().</doc> | |
| 12644 | 14381 | <callback name="value_validate"> | |
| 12645 | - | <source-position filename="gparam.h" line="391"/> | |
| 14382 | + | <source-position filename="gobject/gparam.h" line="401"/> | |
| 12646 | 14383 | <return-value transfer-ownership="none"> | |
| 12647 | 14384 | <type name="gboolean" c:type="gboolean"/> | |
| 12648 | 14385 | </return-value> | |
| @@ -12657,8 +14394,12 @@ g_param_type_register_static().</doc> | |||
| 12657 | 14394 | </callback> | |
| 12658 | 14395 | </field> | |
| 12659 | 14396 | <field name="values_cmp"> | |
| 14397 | + | <doc xml:space="preserve" | |
| 14398 | + | filename="gobject/gparam.h" | |
| 14399 | + | line="377">Compares @value1 with @value2 according to @pspec | |
| 14400 | + | (recommended, the default is memcmp()), see g_param_values_cmp().</doc> | |
| 12660 | 14401 | <callback name="values_cmp"> | |
| 12661 | - | <source-position filename="gparam.h" line="393"/> | |
| 14402 | + | <source-position filename="gobject/gparam.h" line="403"/> | |
| 12662 | 14403 | <return-value transfer-ownership="none"> | |
| 12663 | 14404 | <type name="gint" c:type="gint"/> | |
| 12664 | 14405 | </return-value> | |
| @@ -12684,30 +14425,30 @@ g_param_type_register_static().</doc> | |||
| 12684 | 14425 | glib:get-type="intern" | |
| 12685 | 14426 | glib:fundamental="1"> | |
| 12686 | 14427 | <doc xml:space="preserve" | |
| 12687 | - | filename="gparamspecs.h" | |
| 12688 | - | line="627">A #GParamSpec derived structure that contains the meta data for unsigned character properties.</doc> | |
| 14428 | + | filename="gobject/gparamspecs.h" | |
| 14429 | + | line="629">A #GParamSpec derived structure that contains the meta data for unsigned character properties.</doc> | |
| 12689 | 14430 | <field name="parent_instance"> | |
| 12690 | 14431 | <doc xml:space="preserve" | |
| 12691 | - | filename="gparamspecs.h" | |
| 12692 | - | line="629">private #GParamSpec portion</doc> | |
| 14432 | + | filename="gobject/gparamspecs.h" | |
| 14433 | + | line="631">private #GParamSpec portion</doc> | |
| 12693 | 14434 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12694 | 14435 | </field> | |
| 12695 | 14436 | <field name="minimum"> | |
| 12696 | 14437 | <doc xml:space="preserve" | |
| 12697 | - | filename="gparamspecs.h" | |
| 12698 | - | line="630">minimum value for the property specified</doc> | |
| 14438 | + | filename="gobject/gparamspecs.h" | |
| 14439 | + | line="632">minimum value for the property specified</doc> | |
| 12699 | 14440 | <type name="guint8" c:type="guint8"/> | |
| 12700 | 14441 | </field> | |
| 12701 | 14442 | <field name="maximum"> | |
| 12702 | 14443 | <doc xml:space="preserve" | |
| 12703 | - | filename="gparamspecs.h" | |
| 12704 | - | line="631">maximum value for the property specified</doc> | |
| 14444 | + | filename="gobject/gparamspecs.h" | |
| 14445 | + | line="633">maximum value for the property specified</doc> | |
| 12705 | 14446 | <type name="guint8" c:type="guint8"/> | |
| 12706 | 14447 | </field> | |
| 12707 | 14448 | <field name="default_value"> | |
| 12708 | 14449 | <doc xml:space="preserve" | |
| 12709 | - | filename="gparamspecs.h" | |
| 12710 | - | line="632">default value for the property specified</doc> | |
| 14450 | + | filename="gobject/gparamspecs.h" | |
| 14451 | + | line="634">default value for the property specified</doc> | |
| 12711 | 14452 | <type name="guint8" c:type="guint8"/> | |
| 12712 | 14453 | </field> | |
| 12713 | 14454 | </class> | |
| @@ -12719,30 +14460,30 @@ g_param_type_register_static().</doc> | |||
| 12719 | 14460 | glib:get-type="intern" | |
| 12720 | 14461 | glib:fundamental="1"> | |
| 12721 | 14462 | <doc xml:space="preserve" | |
| 12722 | - | filename="gparamspecs.h" | |
| 12723 | - | line="674">A #GParamSpec derived structure that contains the meta data for unsigned integer properties.</doc> | |
| 14463 | + | filename="gobject/gparamspecs.h" | |
| 14464 | + | line="676">A #GParamSpec derived structure that contains the meta data for unsigned integer properties.</doc> | |
| 12724 | 14465 | <field name="parent_instance"> | |
| 12725 | 14466 | <doc xml:space="preserve" | |
| 12726 | - | filename="gparamspecs.h" | |
| 12727 | - | line="676">private #GParamSpec portion</doc> | |
| 14467 | + | filename="gobject/gparamspecs.h" | |
| 14468 | + | line="678">private #GParamSpec portion</doc> | |
| 12728 | 14469 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12729 | 14470 | </field> | |
| 12730 | 14471 | <field name="minimum"> | |
| 12731 | 14472 | <doc xml:space="preserve" | |
| 12732 | - | filename="gparamspecs.h" | |
| 12733 | - | line="677">minimum value for the property specified</doc> | |
| 14473 | + | filename="gobject/gparamspecs.h" | |
| 14474 | + | line="679">minimum value for the property specified</doc> | |
| 12734 | 14475 | <type name="guint" c:type="guint"/> | |
| 12735 | 14476 | </field> | |
| 12736 | 14477 | <field name="maximum"> | |
| 12737 | 14478 | <doc xml:space="preserve" | |
| 12738 | - | filename="gparamspecs.h" | |
| 12739 | - | line="678">maximum value for the property specified</doc> | |
| 14479 | + | filename="gobject/gparamspecs.h" | |
| 14480 | + | line="680">maximum value for the property specified</doc> | |
| 12740 | 14481 | <type name="guint" c:type="guint"/> | |
| 12741 | 14482 | </field> | |
| 12742 | 14483 | <field name="default_value"> | |
| 12743 | 14484 | <doc xml:space="preserve" | |
| 12744 | - | filename="gparamspecs.h" | |
| 12745 | - | line="679">default value for the property specified</doc> | |
| 14485 | + | filename="gobject/gparamspecs.h" | |
| 14486 | + | line="681">default value for the property specified</doc> | |
| 12746 | 14487 | <type name="guint" c:type="guint"/> | |
| 12747 | 14488 | </field> | |
| 12748 | 14489 | </class> | |
| @@ -12754,30 +14495,30 @@ g_param_type_register_static().</doc> | |||
| 12754 | 14495 | glib:get-type="intern" | |
| 12755 | 14496 | glib:fundamental="1"> | |
| 12756 | 14497 | <doc xml:space="preserve" | |
| 12757 | - | filename="gparamspecs.h" | |
| 12758 | - | line="742">A #GParamSpec derived structure that contains the meta data for unsigned 64bit integer properties.</doc> | |
| 14498 | + | filename="gobject/gparamspecs.h" | |
| 14499 | + | line="744">A #GParamSpec derived structure that contains the meta data for unsigned 64bit integer properties.</doc> | |
| 12759 | 14500 | <field name="parent_instance"> | |
| 12760 | 14501 | <doc xml:space="preserve" | |
| 12761 | - | filename="gparamspecs.h" | |
| 12762 | - | line="744">private #GParamSpec portion</doc> | |
| 14502 | + | filename="gobject/gparamspecs.h" | |
| 14503 | + | line="746">private #GParamSpec portion</doc> | |
| 12763 | 14504 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12764 | 14505 | </field> | |
| 12765 | 14506 | <field name="minimum"> | |
| 12766 | 14507 | <doc xml:space="preserve" | |
| 12767 | - | filename="gparamspecs.h" | |
| 12768 | - | line="745">minimum value for the property specified</doc> | |
| 14508 | + | filename="gobject/gparamspecs.h" | |
| 14509 | + | line="747">minimum value for the property specified</doc> | |
| 12769 | 14510 | <type name="guint64" c:type="guint64"/> | |
| 12770 | 14511 | </field> | |
| 12771 | 14512 | <field name="maximum"> | |
| 12772 | 14513 | <doc xml:space="preserve" | |
| 12773 | - | filename="gparamspecs.h" | |
| 12774 | - | line="746">maximum value for the property specified</doc> | |
| 14514 | + | filename="gobject/gparamspecs.h" | |
| 14515 | + | line="748">maximum value for the property specified</doc> | |
| 12775 | 14516 | <type name="guint64" c:type="guint64"/> | |
| 12776 | 14517 | </field> | |
| 12777 | 14518 | <field name="default_value"> | |
| 12778 | 14519 | <doc xml:space="preserve" | |
| 12779 | - | filename="gparamspecs.h" | |
| 12780 | - | line="747">default value for the property specified</doc> | |
| 14520 | + | filename="gobject/gparamspecs.h" | |
| 14521 | + | line="749">default value for the property specified</doc> | |
| 12781 | 14522 | <type name="guint64" c:type="guint64"/> | |
| 12782 | 14523 | </field> | |
| 12783 | 14524 | </class> | |
| @@ -12789,30 +14530,30 @@ g_param_type_register_static().</doc> | |||
| 12789 | 14530 | glib:get-type="intern" | |
| 12790 | 14531 | glib:fundamental="1"> | |
| 12791 | 14532 | <doc xml:space="preserve" | |
| 12792 | - | filename="gparamspecs.h" | |
| 12793 | - | line="708">A #GParamSpec derived structure that contains the meta data for unsigned long integer properties.</doc> | |
| 14533 | + | filename="gobject/gparamspecs.h" | |
| 14534 | + | line="710">A #GParamSpec derived structure that contains the meta data for unsigned long integer properties.</doc> | |
| 12794 | 14535 | <field name="parent_instance"> | |
| 12795 | 14536 | <doc xml:space="preserve" | |
| 12796 | - | filename="gparamspecs.h" | |
| 12797 | - | line="710">private #GParamSpec portion</doc> | |
| 14537 | + | filename="gobject/gparamspecs.h" | |
| 14538 | + | line="712">private #GParamSpec portion</doc> | |
| 12798 | 14539 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12799 | 14540 | </field> | |
| 12800 | 14541 | <field name="minimum"> | |
| 12801 | 14542 | <doc xml:space="preserve" | |
| 12802 | - | filename="gparamspecs.h" | |
| 12803 | - | line="711">minimum value for the property specified</doc> | |
| 14543 | + | filename="gobject/gparamspecs.h" | |
| 14544 | + | line="713">minimum value for the property specified</doc> | |
| 12804 | 14545 | <type name="gulong" c:type="gulong"/> | |
| 12805 | 14546 | </field> | |
| 12806 | 14547 | <field name="maximum"> | |
| 12807 | 14548 | <doc xml:space="preserve" | |
| 12808 | - | filename="gparamspecs.h" | |
| 12809 | - | line="712">maximum value for the property specified</doc> | |
| 14549 | + | filename="gobject/gparamspecs.h" | |
| 14550 | + | line="714">maximum value for the property specified</doc> | |
| 12810 | 14551 | <type name="gulong" c:type="gulong"/> | |
| 12811 | 14552 | </field> | |
| 12812 | 14553 | <field name="default_value"> | |
| 12813 | 14554 | <doc xml:space="preserve" | |
| 12814 | - | filename="gparamspecs.h" | |
| 12815 | - | line="713">default value for the property specified</doc> | |
| 14555 | + | filename="gobject/gparamspecs.h" | |
| 14556 | + | line="715">default value for the property specified</doc> | |
| 12816 | 14557 | <type name="gulong" c:type="gulong"/> | |
| 12817 | 14558 | </field> | |
| 12818 | 14559 | </class> | |
| @@ -12824,18 +14565,18 @@ g_param_type_register_static().</doc> | |||
| 12824 | 14565 | glib:get-type="intern" | |
| 12825 | 14566 | glib:fundamental="1"> | |
| 12826 | 14567 | <doc xml:space="preserve" | |
| 12827 | - | filename="gparamspecs.h" | |
| 12828 | - | line="759">A #GParamSpec derived structure that contains the meta data for unichar (unsigned integer) properties.</doc> | |
| 14568 | + | filename="gobject/gparamspecs.h" | |
| 14569 | + | line="761">A #GParamSpec derived structure that contains the meta data for unichar (unsigned integer) properties.</doc> | |
| 12829 | 14570 | <field name="parent_instance"> | |
| 12830 | 14571 | <doc xml:space="preserve" | |
| 12831 | - | filename="gparamspecs.h" | |
| 12832 | - | line="761">private #GParamSpec portion</doc> | |
| 14572 | + | filename="gobject/gparamspecs.h" | |
| 14573 | + | line="763">private #GParamSpec portion</doc> | |
| 12833 | 14574 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12834 | 14575 | </field> | |
| 12835 | 14576 | <field name="default_value"> | |
| 12836 | 14577 | <doc xml:space="preserve" | |
| 12837 | - | filename="gparamspecs.h" | |
| 12838 | - | line="762">default value for the property specified</doc> | |
| 14578 | + | filename="gobject/gparamspecs.h" | |
| 14579 | + | line="764">default value for the property specified</doc> | |
| 12839 | 14580 | <type name="gunichar" c:type="gunichar"/> | |
| 12840 | 14581 | </field> | |
| 12841 | 14582 | </class> | |
| @@ -12847,24 +14588,24 @@ g_param_type_register_static().</doc> | |||
| 12847 | 14588 | glib:get-type="intern" | |
| 12848 | 14589 | glib:fundamental="1"> | |
| 12849 | 14590 | <doc xml:space="preserve" | |
| 12850 | - | filename="gparamspecs.h" | |
| 12851 | - | line="899">A #GParamSpec derived structure that contains the meta data for #GValueArray properties.</doc> | |
| 14591 | + | filename="gobject/gparamspecs.h" | |
| 14592 | + | line="901">A #GParamSpec derived structure that contains the meta data for #GValueArray properties.</doc> | |
| 12852 | 14593 | <field name="parent_instance"> | |
| 12853 | 14594 | <doc xml:space="preserve" | |
| 12854 | - | filename="gparamspecs.h" | |
| 12855 | - | line="901">private #GParamSpec portion</doc> | |
| 14595 | + | filename="gobject/gparamspecs.h" | |
| 14596 | + | line="903">private #GParamSpec portion</doc> | |
| 12856 | 14597 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12857 | 14598 | </field> | |
| 12858 | 14599 | <field name="element_spec"> | |
| 12859 | 14600 | <doc xml:space="preserve" | |
| 12860 | - | filename="gparamspecs.h" | |
| 12861 | - | line="902">a #GParamSpec describing the elements contained in arrays of this property, may be %NULL</doc> | |
| 14601 | + | filename="gobject/gparamspecs.h" | |
| 14602 | + | line="904">a #GParamSpec describing the elements contained in arrays of this property, may be %NULL</doc> | |
| 12862 | 14603 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 12863 | 14604 | </field> | |
| 12864 | 14605 | <field name="fixed_n_elements"> | |
| 12865 | 14606 | <doc xml:space="preserve" | |
| 12866 | - | filename="gparamspecs.h" | |
| 12867 | - | line="903">if greater than 0, arrays of this property will always have this many elements</doc> | |
| 14607 | + | filename="gobject/gparamspecs.h" | |
| 14608 | + | line="905">if greater than 0, arrays of this property will always have this many elements</doc> | |
| 12868 | 14609 | <type name="guint" c:type="guint"/> | |
| 12869 | 14610 | </field> | |
| 12870 | 14611 | </class> | |
| @@ -12877,8 +14618,8 @@ g_param_type_register_static().</doc> | |||
| 12877 | 14618 | glib:get-type="intern" | |
| 12878 | 14619 | glib:fundamental="1"> | |
| 12879 | 14620 | <doc xml:space="preserve" | |
| 12880 | - | filename="gparamspecs.h" | |
| 12881 | - | line="960">A #GParamSpec derived structure that contains the meta data for #GVariant properties. | |
| 14621 | + | filename="gobject/gparamspecs.h" | |
| 14622 | + | line="962">A #GParamSpec derived structure that contains the meta data for #GVariant properties. | |
| 12882 | 14623 | ||
| 12883 | 14624 | When comparing values with g_param_values_cmp(), scalar values with the same | |
| 12884 | 14625 | type will be compared with g_variant_compare(). Other non-%NULL variants will | |
| @@ -12887,20 +14628,20 @@ otherwise undefined. %NULL is ordered before non-%NULL variants. Two %NULL | |||
| 12887 | 14628 | values compare equal.</doc> | |
| 12888 | 14629 | <field name="parent_instance"> | |
| 12889 | 14630 | <doc xml:space="preserve" | |
| 12890 | - | filename="gparamspecs.h" | |
| 12891 | - | line="962">private #GParamSpec portion</doc> | |
| 14631 | + | filename="gobject/gparamspecs.h" | |
| 14632 | + | line="964">private #GParamSpec portion</doc> | |
| 12892 | 14633 | <type name="ParamSpec" c:type="GParamSpec"/> | |
| 12893 | 14634 | </field> | |
| 12894 | 14635 | <field name="type"> | |
| 12895 | 14636 | <doc xml:space="preserve" | |
| 12896 | - | filename="gparamspecs.h" | |
| 12897 | - | line="963">a #GVariantType, or %NULL</doc> | |
| 14637 | + | filename="gobject/gparamspecs.h" | |
| 14638 | + | line="965">a #GVariantType, or %NULL</doc> | |
| 12898 | 14639 | <type name="GLib.VariantType" c:type="GVariantType*"/> | |
| 12899 | 14640 | </field> | |
| 12900 | 14641 | <field name="default_value"> | |
| 12901 | 14642 | <doc xml:space="preserve" | |
| 12902 | - | filename="gparamspecs.h" | |
| 12903 | - | line="964">a #GVariant, or %NULL</doc> | |
| 14643 | + | filename="gobject/gparamspecs.h" | |
| 14644 | + | line="966">a #GVariant, or %NULL</doc> | |
| 12904 | 14645 | <type name="GLib.Variant" c:type="GVariant*"/> | |
| 12905 | 14646 | </field> | |
| 12906 | 14647 | <field name="padding" readable="0" private="1"> | |
| @@ -12914,37 +14655,62 @@ values compare equal.</doc> | |||
| 12914 | 14655 | deprecated="1" | |
| 12915 | 14656 | deprecated-version="2.54"> | |
| 12916 | 14657 | <doc xml:space="preserve" | |
| 12917 | - | filename="gparam.h" | |
| 12918 | - | line="263">The GParameter struct is an auxiliary structure used | |
| 14658 | + | filename="gobject/gparam.h" | |
| 14659 | + | line="270">The GParameter struct is an auxiliary structure used | |
| 12919 | 14660 | to hand parameter name/value pairs to g_object_newv().</doc> | |
| 12920 | 14661 | <doc-deprecated xml:space="preserve">This type is not introspectable.</doc-deprecated> | |
| 12921 | - | <source-position filename="gparam.h" line="277"/> | |
| 14662 | + | <source-position filename="gobject/gparam.h" line="284"/> | |
| 12922 | 14663 | <field name="name" writable="1"> | |
| 12923 | 14664 | <doc xml:space="preserve" | |
| 12924 | - | filename="gparam.h" | |
| 12925 | - | line="265">the parameter name</doc> | |
| 14665 | + | filename="gobject/gparam.h" | |
| 14666 | + | line="272">the parameter name</doc> | |
| 12926 | 14667 | <type name="utf8" c:type="const gchar*"/> | |
| 12927 | 14668 | </field> | |
| 12928 | 14669 | <field name="value" writable="1"> | |
| 12929 | 14670 | <doc xml:space="preserve" | |
| 12930 | - | filename="gparam.h" | |
| 12931 | - | line="266">the parameter value</doc> | |
| 14671 | + | filename="gobject/gparam.h" | |
| 14672 | + | line="273">the parameter value</doc> | |
| 12932 | 14673 | <type name="Value" c:type="GValue"/> | |
| 12933 | 14674 | </field> | |
| 12934 | 14675 | </record> | |
| 14676 | + | <glib:boxed glib:name="PatternSpec" | |
| 14677 | + | c:symbol-prefix="pattern_spec" | |
| 14678 | + | glib:type-name="GPatternSpec" | |
| 14679 | + | glib:get-type="g_pattern_spec_get_type"> | |
| 14680 | + | </glib:boxed> | |
| 14681 | + | <glib:boxed glib:name="PollFD" | |
| 14682 | + | c:symbol-prefix="pollfd" | |
| 14683 | + | glib:type-name="GPollFD" | |
| 14684 | + | glib:get-type="g_pollfd_get_type"> | |
| 14685 | + | </glib:boxed> | |
| 14686 | + | <glib:boxed glib:name="PtrArray" | |
| 14687 | + | c:symbol-prefix="ptr_array" | |
| 14688 | + | glib:type-name="GPtrArray" | |
| 14689 | + | glib:get-type="g_ptr_array_get_type"> | |
| 14690 | + | </glib:boxed> | |
| 14691 | + | <glib:boxed glib:name="Rand" | |
| 14692 | + | c:symbol-prefix="rand" | |
| 14693 | + | glib:type-name="GRand" | |
| 14694 | + | glib:get-type="g_rand_get_type"> | |
| 14695 | + | </glib:boxed> | |
| 14696 | + | <glib:boxed glib:name="Regex" | |
| 14697 | + | c:symbol-prefix="regex" | |
| 14698 | + | glib:type-name="GRegex" | |
| 14699 | + | glib:get-type="g_regex_get_type"> | |
| 14700 | + | </glib:boxed> | |
| 12935 | 14701 | <constant name="SIGNAL_FLAGS_MASK" | |
| 12936 | 14702 | value="511" | |
| 12937 | 14703 | c:type="G_SIGNAL_FLAGS_MASK"> | |
| 12938 | 14704 | <doc xml:space="preserve" | |
| 12939 | - | filename="gsignal.h" | |
| 12940 | - | line="150">A mask for all #GSignalFlags bits.</doc> | |
| 12941 | - | <source-position filename="gsignal.h" line="155"/> | |
| 14705 | + | filename="gobject/gsignal.h" | |
| 14706 | + | line="177">A mask for all #GSignalFlags bits.</doc> | |
| 14707 | + | <source-position filename="gobject/gsignal.h" line="182"/> | |
| 12942 | 14708 | <type name="gint" c:type="gint"/> | |
| 12943 | 14709 | </constant> | |
| 12944 | 14710 | <function-macro name="SIGNAL_GROUP" | |
| 12945 | 14711 | c:identifier="G_SIGNAL_GROUP" | |
| 12946 | 14712 | introspectable="0"> | |
| 12947 | - | <source-position filename="gsignalgroup.h" line="35"/> | |
| 14713 | + | <source-position filename="gobject/gsignalgroup.h" line="35"/> | |
| 12948 | 14714 | <parameters> | |
| 12949 | 14715 | <parameter name="obj"> | |
| 12950 | 14716 | </parameter> | |
| @@ -12952,15 +14718,15 @@ to hand parameter name/value pairs to g_object_newv().</doc> | |||
| 12952 | 14718 | </function-macro> | |
| 12953 | 14719 | <constant name="SIGNAL_MATCH_MASK" value="63" c:type="G_SIGNAL_MATCH_MASK"> | |
| 12954 | 14720 | <doc xml:space="preserve" | |
| 12955 | - | filename="gsignal.h" | |
| 12956 | - | line="193">A mask for all #GSignalMatchType bits.</doc> | |
| 12957 | - | <source-position filename="gsignal.h" line="198"/> | |
| 14721 | + | filename="gobject/gsignal.h" | |
| 14722 | + | line="223">A mask for all #GSignalMatchType bits.</doc> | |
| 14723 | + | <source-position filename="gobject/gsignal.h" line="228"/> | |
| 12958 | 14724 | <type name="gint" c:type="gint"/> | |
| 12959 | 14725 | </constant> | |
| 12960 | 14726 | <callback name="SignalAccumulator" c:type="GSignalAccumulator"> | |
| 12961 | 14727 | <doc xml:space="preserve" | |
| 12962 | - | filename="gsignal.h" | |
| 12963 | - | line="77">The signal accumulator is a special callback function that can be used | |
| 14728 | + | filename="gobject/gsignal.h" | |
| 14729 | + | line="79">The signal accumulator is a special callback function that can be used | |
| 12964 | 14730 | to collect return values of the various callbacks that are called | |
| 12965 | 14731 | during a signal emission. | |
| 12966 | 14732 | ||
| @@ -12968,11 +14734,11 @@ The signal accumulator is specified at signal creation time, if it is | |||
| 12968 | 14734 | left %NULL, no accumulation of callback return values is performed. | |
| 12969 | 14735 | The return value of signal emissions is then the value returned by the | |
| 12970 | 14736 | last callback.</doc> | |
| 12971 | - | <source-position filename="gsignal.h" line="101"/> | |
| 14737 | + | <source-position filename="gobject/gsignal.h" line="103"/> | |
| 12972 | 14738 | <return-value transfer-ownership="none"> | |
| 12973 | 14739 | <doc xml:space="preserve" | |
| 12974 | - | filename="gsignal.h" | |
| 12975 | - | line="94">The accumulator function returns whether the signal emission | |
| 14740 | + | filename="gobject/gsignal.h" | |
| 14741 | + | line="96">The accumulator function returns whether the signal emission | |
| 12976 | 14742 | should be aborted. Returning %TRUE will continue with | |
| 12977 | 14743 | the signal emission. Returning %FALSE will abort the current emission. | |
| 12978 | 14744 | Since 2.62, returning %FALSE will skip to the CLEANUP stage. In this case, | |
| @@ -12983,21 +14749,21 @@ last callback.</doc> | |||
| 12983 | 14749 | <parameters> | |
| 12984 | 14750 | <parameter name="ihint" transfer-ownership="none"> | |
| 12985 | 14751 | <doc xml:space="preserve" | |
| 12986 | - | filename="gsignal.h" | |
| 12987 | - | line="79">Signal invocation hint, see #GSignalInvocationHint.</doc> | |
| 14752 | + | filename="gobject/gsignal.h" | |
| 14753 | + | line="81">Signal invocation hint, see #GSignalInvocationHint.</doc> | |
| 12988 | 14754 | <type name="SignalInvocationHint" c:type="GSignalInvocationHint*"/> | |
| 12989 | 14755 | </parameter> | |
| 12990 | 14756 | <parameter name="return_accu" transfer-ownership="none"> | |
| 12991 | 14757 | <doc xml:space="preserve" | |
| 12992 | - | filename="gsignal.h" | |
| 12993 | - | line="80">Accumulator to collect callback return values in, this | |
| 14758 | + | filename="gobject/gsignal.h" | |
| 14759 | + | line="82">Accumulator to collect callback return values in, this | |
| 12994 | 14760 | is the return value of the current signal emission.</doc> | |
| 12995 | 14761 | <type name="Value" c:type="GValue*"/> | |
| 12996 | 14762 | </parameter> | |
| 12997 | 14763 | <parameter name="handler_return" transfer-ownership="none"> | |
| 12998 | 14764 | <doc xml:space="preserve" | |
| 12999 | - | filename="gsignal.h" | |
| 13000 | - | line="82">A #GValue holding the return value of the signal handler.</doc> | |
| 14765 | + | filename="gobject/gsignal.h" | |
| 14766 | + | line="84">A #GValue holding the return value of the signal handler.</doc> | |
| 13001 | 14767 | <type name="Value" c:type="const GValue*"/> | |
| 13002 | 14768 | </parameter> | |
| 13003 | 14769 | <parameter name="data" | |
| @@ -13005,47 +14771,47 @@ last callback.</doc> | |||
| 13005 | 14771 | nullable="1" | |
| 13006 | 14772 | allow-none="1"> | |
| 13007 | 14773 | <doc xml:space="preserve" | |
| 13008 | - | filename="gsignal.h" | |
| 13009 | - | line="83">Callback data that was specified when creating the signal.</doc> | |
| 14774 | + | filename="gobject/gsignal.h" | |
| 14775 | + | line="85">Callback data that was specified when creating the signal.</doc> | |
| 13010 | 14776 | <type name="gpointer" c:type="gpointer"/> | |
| 13011 | 14777 | </parameter> | |
| 13012 | 14778 | </parameters> | |
| 13013 | 14779 | </callback> | |
| 13014 | 14780 | <callback name="SignalEmissionHook" c:type="GSignalEmissionHook"> | |
| 13015 | 14781 | <doc xml:space="preserve" | |
| 13016 | - | filename="gsignal.h" | |
| 13017 | - | line="54">A simple function pointer to get invoked when the signal is emitted. | |
| 14782 | + | filename="gobject/gsignal.h" | |
| 14783 | + | line="56">A simple function pointer to get invoked when the signal is emitted. | |
| 13018 | 14784 | ||
| 13019 | 14785 | Emission hooks allow you to tie a hook to the signal type, so that it will | |
| 13020 | 14786 | trap all emissions of that signal, from any object. | |
| 13021 | 14787 | ||
| 13022 | 14788 | You may not attach these to signals created with the %G_SIGNAL_NO_HOOKS flag.</doc> | |
| 13023 | - | <source-position filename="gsignal.h" line="73"/> | |
| 14789 | + | <source-position filename="gobject/gsignal.h" line="75"/> | |
| 13024 | 14790 | <return-value transfer-ownership="none"> | |
| 13025 | 14791 | <doc xml:space="preserve" | |
| 13026 | - | filename="gsignal.h" | |
| 13027 | - | line="70">whether it wants to stay connected. If it returns %FALSE, the signal | |
| 14792 | + | filename="gobject/gsignal.h" | |
| 14793 | + | line="72">whether it wants to stay connected. If it returns %FALSE, the signal | |
| 13028 | 14794 | hook is disconnected (and destroyed).</doc> | |
| 13029 | 14795 | <type name="gboolean" c:type="gboolean"/> | |
| 13030 | 14796 | </return-value> | |
| 13031 | 14797 | <parameters> | |
| 13032 | 14798 | <parameter name="ihint" transfer-ownership="none"> | |
| 13033 | 14799 | <doc xml:space="preserve" | |
| 13034 | - | filename="gsignal.h" | |
| 13035 | - | line="56">Signal invocation hint, see #GSignalInvocationHint.</doc> | |
| 14800 | + | filename="gobject/gsignal.h" | |
| 14801 | + | line="58">Signal invocation hint, see #GSignalInvocationHint.</doc> | |
| 13036 | 14802 | <type name="SignalInvocationHint" c:type="GSignalInvocationHint*"/> | |
| 13037 | 14803 | </parameter> | |
| 13038 | 14804 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 13039 | 14805 | <doc xml:space="preserve" | |
| 13040 | - | filename="gsignal.h" | |
| 13041 | - | line="57">the number of parameters to the function, including | |
| 14806 | + | filename="gobject/gsignal.h" | |
| 14807 | + | line="59">the number of parameters to the function, including | |
| 13042 | 14808 | the instance on which the signal was emitted.</doc> | |
| 13043 | 14809 | <type name="guint" c:type="guint"/> | |
| 13044 | 14810 | </parameter> | |
| 13045 | 14811 | <parameter name="param_values" transfer-ownership="none"> | |
| 13046 | 14812 | <doc xml:space="preserve" | |
| 13047 | - | filename="gsignal.h" | |
| 13048 | - | line="59">the instance on which | |
| 14813 | + | filename="gobject/gsignal.h" | |
| 14814 | + | line="61">the instance on which | |
| 13049 | 14815 | the signal was emitted, followed by the parameters of the emission.</doc> | |
| 13050 | 14816 | <array length="1" zero-terminated="0" c:type="const GValue*"> | |
| 13051 | 14817 | <type name="Value" c:type="GValue"/> | |
| @@ -13056,49 +14822,49 @@ You may not attach these to signals created with the %G_SIGNAL_NO_HOOKS flag.</d | |||
| 13056 | 14822 | nullable="1" | |
| 13057 | 14823 | allow-none="1"> | |
| 13058 | 14824 | <doc xml:space="preserve" | |
| 13059 | - | filename="gsignal.h" | |
| 13060 | - | line="61">user data associated with the hook.</doc> | |
| 14825 | + | filename="gobject/gsignal.h" | |
| 14826 | + | line="63">user data associated with the hook.</doc> | |
| 13061 | 14827 | <type name="gpointer" c:type="gpointer"/> | |
| 13062 | 14828 | </parameter> | |
| 13063 | 14829 | </parameters> | |
| 13064 | 14830 | </callback> | |
| 13065 | 14831 | <bitfield name="SignalFlags" c:type="GSignalFlags"> | |
| 13066 | 14832 | <doc xml:space="preserve" | |
| 13067 | - | filename="gsignal.h" | |
| 13068 | - | line="108">The signal flags are used to specify a signal's behaviour.</doc> | |
| 13069 | - | <source-position filename="gsignal.h" line="149"/> | |
| 14833 | + | filename="gobject/gsignal.h" | |
| 14834 | + | line="110">The signal flags are used to specify a signal's behaviour.</doc> | |
| 14835 | + | <source-position filename="gobject/gsignal.h" line="143"/> | |
| 13070 | 14836 | <member name="run_first" value="1" c:identifier="G_SIGNAL_RUN_FIRST"> | |
| 13071 | 14837 | <doc xml:space="preserve" | |
| 13072 | - | filename="gsignal.h" | |
| 13073 | - | line="110">Invoke the object method handler in the first emission stage.</doc> | |
| 14838 | + | filename="gobject/gsignal.h" | |
| 14839 | + | line="112">Invoke the object method handler in the first emission stage.</doc> | |
| 13074 | 14840 | </member> | |
| 13075 | 14841 | <member name="run_last" value="2" c:identifier="G_SIGNAL_RUN_LAST"> | |
| 13076 | 14842 | <doc xml:space="preserve" | |
| 13077 | - | filename="gsignal.h" | |
| 13078 | - | line="111">Invoke the object method handler in the third emission stage.</doc> | |
| 14843 | + | filename="gobject/gsignal.h" | |
| 14844 | + | line="113">Invoke the object method handler in the third emission stage.</doc> | |
| 13079 | 14845 | </member> | |
| 13080 | 14846 | <member name="run_cleanup" value="4" c:identifier="G_SIGNAL_RUN_CLEANUP"> | |
| 13081 | 14847 | <doc xml:space="preserve" | |
| 13082 | - | filename="gsignal.h" | |
| 13083 | - | line="112">Invoke the object method handler in the last emission stage.</doc> | |
| 14848 | + | filename="gobject/gsignal.h" | |
| 14849 | + | line="114">Invoke the object method handler in the last emission stage.</doc> | |
| 13084 | 14850 | </member> | |
| 13085 | 14851 | <member name="no_recurse" value="8" c:identifier="G_SIGNAL_NO_RECURSE"> | |
| 13086 | 14852 | <doc xml:space="preserve" | |
| 13087 | - | filename="gsignal.h" | |
| 13088 | - | line="113">Signals being emitted for an object while currently being in | |
| 14853 | + | filename="gobject/gsignal.h" | |
| 14854 | + | line="115">Signals being emitted for an object while currently being in | |
| 13089 | 14855 | emission for this very object will not be emitted recursively, | |
| 13090 | 14856 | but instead cause the first emission to be restarted.</doc> | |
| 13091 | 14857 | </member> | |
| 13092 | 14858 | <member name="detailed" value="16" c:identifier="G_SIGNAL_DETAILED"> | |
| 13093 | 14859 | <doc xml:space="preserve" | |
| 13094 | - | filename="gsignal.h" | |
| 13095 | - | line="116">This signal supports "::detail" appendices to the signal name | |
| 14860 | + | filename="gobject/gsignal.h" | |
| 14861 | + | line="118">This signal supports "::detail" appendices to the signal name | |
| 13096 | 14862 | upon handler connections and emissions.</doc> | |
| 13097 | 14863 | </member> | |
| 13098 | 14864 | <member name="action" value="32" c:identifier="G_SIGNAL_ACTION"> | |
| 13099 | 14865 | <doc xml:space="preserve" | |
| 13100 | - | filename="gsignal.h" | |
| 13101 | - | line="118">Action signals are signals that may freely be emitted on alive | |
| 14866 | + | filename="gobject/gsignal.h" | |
| 14867 | + | line="120">Action signals are signals that may freely be emitted on alive | |
| 13102 | 14868 | objects from user code via g_signal_emit() and friends, without | |
| 13103 | 14869 | the need of being embedded into extra code that performs pre or | |
| 13104 | 14870 | post emission adjustments on the object. They can also be thought | |
| @@ -13107,32 +14873,40 @@ You may not attach these to signals created with the %G_SIGNAL_NO_HOOKS flag.</d | |||
| 13107 | 14873 | </member> | |
| 13108 | 14874 | <member name="no_hooks" value="64" c:identifier="G_SIGNAL_NO_HOOKS"> | |
| 13109 | 14875 | <doc xml:space="preserve" | |
| 13110 | - | filename="gsignal.h" | |
| 13111 | - | line="124">No emissions hooks are supported for this signal.</doc> | |
| 14876 | + | filename="gobject/gsignal.h" | |
| 14877 | + | line="126">No emissions hooks are supported for this signal.</doc> | |
| 13112 | 14878 | </member> | |
| 13113 | 14879 | <member name="must_collect" | |
| 13114 | 14880 | value="128" | |
| 13115 | - | c:identifier="G_SIGNAL_MUST_COLLECT"> | |
| 14881 | + | c:identifier="G_SIGNAL_MUST_COLLECT" | |
| 14882 | + | version="2.30"> | |
| 13116 | 14883 | <doc xml:space="preserve" | |
| 13117 | - | filename="gsignal.h" | |
| 13118 | - | line="125">Varargs signal emission will always collect the | |
| 13119 | - | arguments, even if there are no signal handlers connected. Since 2.30.</doc> | |
| 14884 | + | filename="gobject/gsignal.h" | |
| 14885 | + | line="145">Varargs signal emission will always collect the arguments, even if there | |
| 14886 | + | are no signal handlers connected.</doc> | |
| 13120 | 14887 | </member> | |
| 13121 | - | <member name="deprecated" value="256" c:identifier="G_SIGNAL_DEPRECATED"> | |
| 14888 | + | <member name="deprecated" | |
| 14889 | + | value="256" | |
| 14890 | + | c:identifier="G_SIGNAL_DEPRECATED" | |
| 14891 | + | version="2.32"> | |
| 13122 | 14892 | <doc xml:space="preserve" | |
| 13123 | - | filename="gsignal.h" | |
| 13124 | - | line="127">The signal is deprecated and will be removed | |
| 13125 | - | in a future version. A warning will be generated if it is connected while | |
| 13126 | - | running with G_ENABLE_DIAGNOSTIC=1. Since 2.32.</doc> | |
| 14893 | + | filename="gobject/gsignal.h" | |
| 14894 | + | line="154">The signal is deprecated and will be removed in a future version. | |
| 14895 | + | ||
| 14896 | + | A warning will be generated if it is connected while running with | |
| 14897 | + | `G_ENABLE_DIAGNOSTIC=1`.</doc> | |
| 13127 | 14898 | </member> | |
| 13128 | 14899 | <member name="accumulator_first_run" | |
| 13129 | 14900 | value="131072" | |
| 13130 | - | c:identifier="G_SIGNAL_ACCUMULATOR_FIRST_RUN"> | |
| 14901 | + | c:identifier="G_SIGNAL_ACCUMULATOR_FIRST_RUN" | |
| 14902 | + | version="2.68"> | |
| 13131 | 14903 | <doc xml:space="preserve" | |
| 13132 | - | filename="gsignal.h" | |
| 13133 | - | line="130">Only used in #GSignalAccumulator accumulator | |
| 13134 | - | functions for the #GSignalInvocationHint::run_type field to mark the first | |
| 13135 | - | call to the accumulator function for a signal emission. Since 2.68.</doc> | |
| 14904 | + | filename="gobject/gsignal.h" | |
| 14905 | + | line="165">The signal accumulator was invoked for the first time. | |
| 14906 | + | ||
| 14907 | + | This flag is only used in [callback@GObject.SignalAccumulator][accumulator functions] | |
| 14908 | + | for the `run_type` field of the [struct@GObject.SignalInvocationHint], to | |
| 14909 | + | mark the first call to the accumulator function for a signal emission.</doc> | |
| 13136 | 14910 | </member> | |
| 13137 | 14911 | </bitfield> | |
| 13138 | 14912 | <class name="SignalGroup" | |
| @@ -13143,10 +14917,11 @@ You may not attach these to signals created with the %G_SIGNAL_NO_HOOKS flag.</d | |||
| 13143 | 14917 | glib:type-name="GSignalGroup" | |
| 13144 | 14918 | glib:get-type="g_signal_group_get_type"> | |
| 13145 | 14919 | <doc xml:space="preserve" | |
| 13146 | - | filename="gobject-2.0.c" | |
| 13147 | - | line="549">#GSignalGroup manages to simplify the process of connecting | |
| 13148 | - | many signals to a #GObject as a group. As such there is no API | |
| 13149 | - | to disconnect a signal from the group. | |
| 14920 | + | filename="gobject/gsignalgroup.c" | |
| 14921 | + | line="30">`GSignalGroup` manages a collection of signals on a `GObject`. | |
| 14922 | + | ||
| 14923 | + | `GSignalGroup` simplifies the process of connecting many signals to a `GObject` | |
| 14924 | + | as a group. As such there is no API to disconnect a signal from the group. | |
| 13150 | 14925 | ||
| 13151 | 14926 | In particular, this allows you to: | |
| 13152 | 14927 | ||
| @@ -13155,50 +14930,50 @@ In particular, this allows you to: | |||
| 13155 | 14930 | - Block and unblock signals as a group | |
| 13156 | 14931 | - Ensuring that blocked state transfers across target instances. | |
| 13157 | 14932 | ||
| 13158 | - | One place you might want to use such a structure is with #GtkTextView and | |
| 13159 | - | #GtkTextBuffer. Often times, you'll need to connect to many signals on | |
| 13160 | - | #GtkTextBuffer from a #GtkTextView subclass. This allows you to create a | |
| 14933 | + | One place you might want to use such a structure is with `GtkTextView` and | |
| 14934 | + | `GtkTextBuffer`. Often times, you'll need to connect to many signals on | |
| 14935 | + | `GtkTextBuffer` from a `GtkTextView` subclass. This allows you to create a | |
| 13161 | 14936 | signal group during instance construction, simply bind the | |
| 13162 | - | #GtkTextView:buffer property to #GSignalGroup:target and connect | |
| 13163 | - | all the signals you need. When the #GtkTextView:buffer property changes | |
| 14937 | + | `GtkTextView:buffer` property to `GSignalGroup:target` and connect | |
| 14938 | + | all the signals you need. When the `GtkTextView:buffer` property changes | |
| 13164 | 14939 | all of the signals will be transitioned correctly.</doc> | |
| 13165 | 14940 | <constructor name="new" c:identifier="g_signal_group_new" version="2.72"> | |
| 13166 | 14941 | <doc xml:space="preserve" | |
| 13167 | - | filename="gobject-2.0.c" | |
| 13168 | - | line="5087">Creates a new #GSignalGroup for target instances of @target_type.</doc> | |
| 13169 | - | <source-position filename="gsignalgroup.h" line="52"/> | |
| 14942 | + | filename="gobject/gsignalgroup.c" | |
| 14943 | + | line="683">Creates a new #GSignalGroup for target instances of @target_type.</doc> | |
| 14944 | + | <source-position filename="gobject/gsignalgroup.h" line="44"/> | |
| 13170 | 14945 | <return-value transfer-ownership="full"> | |
| 13171 | 14946 | <doc xml:space="preserve" | |
| 13172 | - | filename="gobject-2.0.c" | |
| 13173 | - | line="5093">a new #GSignalGroup</doc> | |
| 14947 | + | filename="gobject/gsignalgroup.c" | |
| 14948 | + | line="689">a new #GSignalGroup</doc> | |
| 13174 | 14949 | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 13175 | 14950 | </return-value> | |
| 13176 | 14951 | <parameters> | |
| 13177 | 14952 | <parameter name="target_type" transfer-ownership="none"> | |
| 13178 | 14953 | <doc xml:space="preserve" | |
| 13179 | - | filename="gobject-2.0.c" | |
| 13180 | - | line="5089">the #GType of the target instance.</doc> | |
| 14954 | + | filename="gobject/gsignalgroup.c" | |
| 14955 | + | line="685">the #GType of the target instance.</doc> | |
| 13181 | 14956 | <type name="GType" c:type="GType"/> | |
| 13182 | 14957 | </parameter> | |
| 13183 | 14958 | </parameters> | |
| 13184 | 14959 | </constructor> | |
| 13185 | 14960 | <method name="block" c:identifier="g_signal_group_block" version="2.72"> | |
| 13186 | 14961 | <doc xml:space="preserve" | |
| 13187 | - | filename="gobject-2.0.c" | |
| 13188 | - | line="4971">Blocks all signal handlers managed by @self so they will not | |
| 14962 | + | filename="gobject/gsignalgroup.c" | |
| 14963 | + | line="320">Blocks all signal handlers managed by @self so they will not | |
| 13189 | 14964 | be called during any signal emissions. Must be unblocked exactly | |
| 13190 | 14965 | the same number of times it has been blocked to become active again. | |
| 13191 | 14966 | ||
| 13192 | 14967 | This blocked state will be kept across changes of the target instance.</doc> | |
| 13193 | - | <source-position filename="gsignalgroup.h" line="59"/> | |
| 14968 | + | <source-position filename="gobject/gsignalgroup.h" line="51"/> | |
| 13194 | 14969 | <return-value transfer-ownership="none"> | |
| 13195 | 14970 | <type name="none" c:type="void"/> | |
| 13196 | 14971 | </return-value> | |
| 13197 | 14972 | <parameters> | |
| 13198 | 14973 | <instance-parameter name="self" transfer-ownership="none"> | |
| 13199 | 14974 | <doc xml:space="preserve" | |
| 13200 | - | filename="gobject-2.0.c" | |
| 13201 | - | line="4973">the #GSignalGroup</doc> | |
| 14975 | + | filename="gobject/gsignalgroup.c" | |
| 14976 | + | line="322">the #GSignalGroup</doc> | |
| 13202 | 14977 | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 13203 | 14978 | </instance-parameter> | |
| 13204 | 14979 | </parameters> | |
| @@ -13208,26 +14983,26 @@ This blocked state will be kept across changes of the target instance.</doc> | |||
| 13208 | 14983 | version="2.72" | |
| 13209 | 14984 | introspectable="0"> | |
| 13210 | 14985 | <doc xml:space="preserve" | |
| 13211 | - | filename="gobject-2.0.c" | |
| 13212 | - | line="4985">Connects @c_handler to the signal @detailed_signal | |
| 14986 | + | filename="gobject/gsignalgroup.c" | |
| 14987 | + | line="877">Connects @c_handler to the signal @detailed_signal | |
| 13213 | 14988 | on the target instance of @self. | |
| 13214 | 14989 | ||
| 13215 | 14990 | You cannot connect a signal handler after #GSignalGroup:target has been set.</doc> | |
| 13216 | - | <source-position filename="gsignalgroup.h" line="76"/> | |
| 14991 | + | <source-position filename="gobject/gsignalgroup.h" line="73"/> | |
| 13217 | 14992 | <return-value transfer-ownership="none"> | |
| 13218 | 14993 | <type name="none" c:type="void"/> | |
| 13219 | 14994 | </return-value> | |
| 13220 | 14995 | <parameters> | |
| 13221 | 14996 | <instance-parameter name="self" transfer-ownership="none"> | |
| 13222 | 14997 | <doc xml:space="preserve" | |
| 13223 | - | filename="gobject-2.0.c" | |
| 13224 | - | line="4987">a #GSignalGroup</doc> | |
| 14998 | + | filename="gobject/gsignalgroup.c" | |
| 14999 | + | line="879">a #GSignalGroup</doc> | |
| 13225 | 15000 | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 13226 | 15001 | </instance-parameter> | |
| 13227 | 15002 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 13228 | 15003 | <doc xml:space="preserve" | |
| 13229 | - | filename="gobject-2.0.c" | |
| 13230 | - | line="4988">a string of the form "signal-name::detail"</doc> | |
| 15004 | + | filename="gobject/gsignalgroup.c" | |
| 15005 | + | line="880">a string of the form "signal-name::detail"</doc> | |
| 13231 | 15006 | <type name="utf8" c:type="const gchar*"/> | |
| 13232 | 15007 | </parameter> | |
| 13233 | 15008 | <parameter name="c_handler" | |
| @@ -13235,8 +15010,8 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13235 | 15010 | scope="notified" | |
| 13236 | 15011 | closure="2"> | |
| 13237 | 15012 | <doc xml:space="preserve" | |
| 13238 | - | filename="gobject-2.0.c" | |
| 13239 | - | line="4989">the #GCallback to connect</doc> | |
| 15013 | + | filename="gobject/gsignalgroup.c" | |
| 15014 | + | line="881">the #GCallback to connect</doc> | |
| 13240 | 15015 | <type name="Callback" c:type="GCallback"/> | |
| 13241 | 15016 | </parameter> | |
| 13242 | 15017 | <parameter name="data" | |
| @@ -13244,8 +15019,8 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13244 | 15019 | nullable="1" | |
| 13245 | 15020 | allow-none="1"> | |
| 13246 | 15021 | <doc xml:space="preserve" | |
| 13247 | - | filename="gobject-2.0.c" | |
| 13248 | - | line="4990">the data to pass to @c_handler calls</doc> | |
| 15022 | + | filename="gobject/gsignalgroup.c" | |
| 15023 | + | line="882">the data to pass to @c_handler calls</doc> | |
| 13249 | 15024 | <type name="gpointer" c:type="gpointer"/> | |
| 13250 | 15025 | </parameter> | |
| 13251 | 15026 | </parameters> | |
| @@ -13255,28 +15030,28 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13255 | 15030 | version="2.72" | |
| 13256 | 15031 | introspectable="0"> | |
| 13257 | 15032 | <doc xml:space="preserve" | |
| 13258 | - | filename="gobject-2.0.c" | |
| 13259 | - | line="5001">Connects @c_handler to the signal @detailed_signal | |
| 15033 | + | filename="gobject/gsignalgroup.c" | |
| 15034 | + | line="901">Connects @c_handler to the signal @detailed_signal | |
| 13260 | 15035 | on the target instance of @self. | |
| 13261 | 15036 | ||
| 13262 | 15037 | The @c_handler will be called after the default handler of the signal. | |
| 13263 | 15038 | ||
| 13264 | 15039 | You cannot connect a signal handler after #GSignalGroup:target has been set.</doc> | |
| 13265 | - | <source-position filename="gsignalgroup.h" line="81"/> | |
| 15040 | + | <source-position filename="gobject/gsignalgroup.h" line="78"/> | |
| 13266 | 15041 | <return-value transfer-ownership="none"> | |
| 13267 | 15042 | <type name="none" c:type="void"/> | |
| 13268 | 15043 | </return-value> | |
| 13269 | 15044 | <parameters> | |
| 13270 | 15045 | <instance-parameter name="self" transfer-ownership="none"> | |
| 13271 | 15046 | <doc xml:space="preserve" | |
| 13272 | - | filename="gobject-2.0.c" | |
| 13273 | - | line="5003">a #GSignalGroup</doc> | |
| 15047 | + | filename="gobject/gsignalgroup.c" | |
| 15048 | + | line="903">a #GSignalGroup</doc> | |
| 13274 | 15049 | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 13275 | 15050 | </instance-parameter> | |
| 13276 | 15051 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 13277 | 15052 | <doc xml:space="preserve" | |
| 13278 | - | filename="gobject-2.0.c" | |
| 13279 | - | line="5004">a string of the form "signal-name::detail"</doc> | |
| 15053 | + | filename="gobject/gsignalgroup.c" | |
| 15054 | + | line="904">a string of the form "signal-name::detail"</doc> | |
| 13280 | 15055 | <type name="utf8" c:type="const gchar*"/> | |
| 13281 | 15056 | </parameter> | |
| 13282 | 15057 | <parameter name="c_handler" | |
| @@ -13284,8 +15059,8 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13284 | 15059 | scope="notified" | |
| 13285 | 15060 | closure="2"> | |
| 13286 | 15061 | <doc xml:space="preserve" | |
| 13287 | - | filename="gobject-2.0.c" | |
| 13288 | - | line="5005">the #GCallback to connect</doc> | |
| 15062 | + | filename="gobject/gsignalgroup.c" | |
| 15063 | + | line="905">the #GCallback to connect</doc> | |
| 13289 | 15064 | <type name="Callback" c:type="GCallback"/> | |
| 13290 | 15065 | </parameter> | |
| 13291 | 15066 | <parameter name="data" | |
| @@ -13293,36 +15068,76 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13293 | 15068 | nullable="1" | |
| 13294 | 15069 | allow-none="1"> | |
| 13295 | 15070 | <doc xml:space="preserve" | |
| 13296 | - | filename="gobject-2.0.c" | |
| 13297 | - | line="5006">the data to pass to @c_handler calls</doc> | |
| 15071 | + | filename="gobject/gsignalgroup.c" | |
| 15072 | + | line="906">the data to pass to @c_handler calls</doc> | |
| 13298 | 15073 | <type name="gpointer" c:type="gpointer"/> | |
| 13299 | 15074 | </parameter> | |
| 13300 | 15075 | </parameters> | |
| 13301 | 15076 | </method> | |
| 15077 | + | <method name="connect_closure" | |
| 15078 | + | c:identifier="g_signal_group_connect_closure" | |
| 15079 | + | version="2.74"> | |
| 15080 | + | <doc xml:space="preserve" | |
| 15081 | + | filename="gobject/gsignalgroup.c" | |
| 15082 | + | line="760">Connects @closure to the signal @detailed_signal on #GSignalGroup:target. | |
| 15083 | + | ||
| 15084 | + | You cannot connect a signal handler after #GSignalGroup:target has been set.</doc> | |
| 15085 | + | <source-position filename="gobject/gsignalgroup.h" line="55"/> | |
| 15086 | + | <return-value transfer-ownership="none"> | |
| 15087 | + | <type name="none" c:type="void"/> | |
| 15088 | + | </return-value> | |
| 15089 | + | <parameters> | |
| 15090 | + | <instance-parameter name="self" transfer-ownership="none"> | |
| 15091 | + | <doc xml:space="preserve" | |
| 15092 | + | filename="gobject/gsignalgroup.c" | |
| 15093 | + | line="762">a #GSignalGroup</doc> | |
| 15094 | + | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 15095 | + | </instance-parameter> | |
| 15096 | + | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 15097 | + | <doc xml:space="preserve" | |
| 15098 | + | filename="gobject/gsignalgroup.c" | |
| 15099 | + | line="763">a string of the form `signal-name` with optional `::signal-detail`</doc> | |
| 15100 | + | <type name="utf8" c:type="const gchar*"/> | |
| 15101 | + | </parameter> | |
| 15102 | + | <parameter name="closure" transfer-ownership="none"> | |
| 15103 | + | <doc xml:space="preserve" | |
| 15104 | + | filename="gobject/gsignalgroup.c" | |
| 15105 | + | line="764">the closure to connect.</doc> | |
| 15106 | + | <type name="Closure" c:type="GClosure*"/> | |
| 15107 | + | </parameter> | |
| 15108 | + | <parameter name="after" transfer-ownership="none"> | |
| 15109 | + | <doc xml:space="preserve" | |
| 15110 | + | filename="gobject/gsignalgroup.c" | |
| 15111 | + | line="765">whether the handler should be called before or after the | |
| 15112 | + | default handler of the signal.</doc> | |
| 15113 | + | <type name="gboolean" c:type="gboolean"/> | |
| 15114 | + | </parameter> | |
| 15115 | + | </parameters> | |
| 15116 | + | </method> | |
| 13302 | 15117 | <method name="connect_data" | |
| 13303 | 15118 | c:identifier="g_signal_group_connect_data" | |
| 13304 | 15119 | version="2.72"> | |
| 13305 | 15120 | <doc xml:space="preserve" | |
| 13306 | - | filename="gobject-2.0.c" | |
| 13307 | - | line="5019">Connects @c_handler to the signal @detailed_signal | |
| 15121 | + | filename="gobject/gsignalgroup.c" | |
| 15122 | + | line="849">Connects @c_handler to the signal @detailed_signal | |
| 13308 | 15123 | on the target instance of @self. | |
| 13309 | 15124 | ||
| 13310 | 15125 | You cannot connect a signal handler after #GSignalGroup:target has been set.</doc> | |
| 13311 | - | <source-position filename="gsignalgroup.h" line="69"/> | |
| 15126 | + | <source-position filename="gobject/gsignalgroup.h" line="66"/> | |
| 13312 | 15127 | <return-value transfer-ownership="none"> | |
| 13313 | 15128 | <type name="none" c:type="void"/> | |
| 13314 | 15129 | </return-value> | |
| 13315 | 15130 | <parameters> | |
| 13316 | 15131 | <instance-parameter name="self" transfer-ownership="none"> | |
| 13317 | 15132 | <doc xml:space="preserve" | |
| 13318 | - | filename="gobject-2.0.c" | |
| 13319 | - | line="5021">a #GSignalGroup</doc> | |
| 15133 | + | filename="gobject/gsignalgroup.c" | |
| 15134 | + | line="851">a #GSignalGroup</doc> | |
| 13320 | 15135 | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 13321 | 15136 | </instance-parameter> | |
| 13322 | 15137 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 13323 | 15138 | <doc xml:space="preserve" | |
| 13324 | - | filename="gobject-2.0.c" | |
| 13325 | - | line="5022">a string of the form "signal-name::detail"</doc> | |
| 15139 | + | filename="gobject/gsignalgroup.c" | |
| 15140 | + | line="852">a string of the form "signal-name::detail"</doc> | |
| 13326 | 15141 | <type name="utf8" c:type="const gchar*"/> | |
| 13327 | 15142 | </parameter> | |
| 13328 | 15143 | <parameter name="c_handler" | |
| @@ -13331,8 +15146,8 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13331 | 15146 | closure="2" | |
| 13332 | 15147 | destroy="3"> | |
| 13333 | 15148 | <doc xml:space="preserve" | |
| 13334 | - | filename="gobject-2.0.c" | |
| 13335 | - | line="5023">the #GCallback to connect</doc> | |
| 15149 | + | filename="gobject/gsignalgroup.c" | |
| 15150 | + | line="853">the #GCallback to connect</doc> | |
| 13336 | 15151 | <type name="Callback" c:type="GCallback"/> | |
| 13337 | 15152 | </parameter> | |
| 13338 | 15153 | <parameter name="data" | |
| @@ -13340,20 +15155,20 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13340 | 15155 | nullable="1" | |
| 13341 | 15156 | allow-none="1"> | |
| 13342 | 15157 | <doc xml:space="preserve" | |
| 13343 | - | filename="gobject-2.0.c" | |
| 13344 | - | line="5024">the data to pass to @c_handler calls</doc> | |
| 15158 | + | filename="gobject/gsignalgroup.c" | |
| 15159 | + | line="854">the data to pass to @c_handler calls</doc> | |
| 13345 | 15160 | <type name="gpointer" c:type="gpointer"/> | |
| 13346 | 15161 | </parameter> | |
| 13347 | 15162 | <parameter name="notify" transfer-ownership="none" scope="notified"> | |
| 13348 | 15163 | <doc xml:space="preserve" | |
| 13349 | - | filename="gobject-2.0.c" | |
| 13350 | - | line="5025">function to be called when disposing of @self</doc> | |
| 15164 | + | filename="gobject/gsignalgroup.c" | |
| 15165 | + | line="855">function to be called when disposing of @self</doc> | |
| 13351 | 15166 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 13352 | 15167 | </parameter> | |
| 13353 | 15168 | <parameter name="flags" transfer-ownership="none"> | |
| 13354 | 15169 | <doc xml:space="preserve" | |
| 13355 | - | filename="gobject-2.0.c" | |
| 13356 | - | line="5026">the flags used to create the signal connection</doc> | |
| 15170 | + | filename="gobject/gsignalgroup.c" | |
| 15171 | + | line="856">the flags used to create the signal connection</doc> | |
| 13357 | 15172 | <type name="ConnectFlags" c:type="GConnectFlags"/> | |
| 13358 | 15173 | </parameter> | |
| 13359 | 15174 | </parameters> | |
| @@ -13363,49 +15178,49 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13363 | 15178 | version="2.72" | |
| 13364 | 15179 | introspectable="0"> | |
| 13365 | 15180 | <doc xml:space="preserve" | |
| 13366 | - | filename="gobject-2.0.c" | |
| 13367 | - | line="5037">Connects @c_handler to the signal @detailed_signal on #GSignalGroup:target. | |
| 15181 | + | filename="gobject/gsignalgroup.c" | |
| 15182 | + | line="818">Connects @c_handler to the signal @detailed_signal on #GSignalGroup:target. | |
| 13368 | 15183 | ||
| 13369 | 15184 | Ensures that the @object stays alive during the call to @c_handler | |
| 13370 | 15185 | by temporarily adding a reference count. When the @object is destroyed | |
| 13371 | 15186 | the signal handler will automatically be removed. | |
| 13372 | 15187 | ||
| 13373 | 15188 | You cannot connect a signal handler after #GSignalGroup:target has been set.</doc> | |
| 13374 | - | <source-position filename="gsignalgroup.h" line="63"/> | |
| 15189 | + | <source-position filename="gobject/gsignalgroup.h" line="60"/> | |
| 13375 | 15190 | <return-value transfer-ownership="none"> | |
| 13376 | 15191 | <type name="none" c:type="void"/> | |
| 13377 | 15192 | </return-value> | |
| 13378 | 15193 | <parameters> | |
| 13379 | 15194 | <instance-parameter name="self" transfer-ownership="none"> | |
| 13380 | 15195 | <doc xml:space="preserve" | |
| 13381 | - | filename="gobject-2.0.c" | |
| 13382 | - | line="5039">a #GSignalGroup</doc> | |
| 15196 | + | filename="gobject/gsignalgroup.c" | |
| 15197 | + | line="820">a #GSignalGroup</doc> | |
| 13383 | 15198 | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 13384 | 15199 | </instance-parameter> | |
| 13385 | 15200 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 13386 | 15201 | <doc xml:space="preserve" | |
| 13387 | - | filename="gobject-2.0.c" | |
| 13388 | - | line="5040">a string of the form `signal-name` with optional `::signal-detail`</doc> | |
| 15202 | + | filename="gobject/gsignalgroup.c" | |
| 15203 | + | line="821">a string of the form `signal-name` with optional `::signal-detail`</doc> | |
| 13389 | 15204 | <type name="utf8" c:type="const gchar*"/> | |
| 13390 | 15205 | </parameter> | |
| 13391 | 15206 | <parameter name="c_handler" | |
| 13392 | 15207 | transfer-ownership="none" | |
| 13393 | 15208 | scope="notified"> | |
| 13394 | 15209 | <doc xml:space="preserve" | |
| 13395 | - | filename="gobject-2.0.c" | |
| 13396 | - | line="5041">the #GCallback to connect</doc> | |
| 15210 | + | filename="gobject/gsignalgroup.c" | |
| 15211 | + | line="822">the #GCallback to connect</doc> | |
| 13397 | 15212 | <type name="Callback" c:type="GCallback"/> | |
| 13398 | 15213 | </parameter> | |
| 13399 | 15214 | <parameter name="object" transfer-ownership="none"> | |
| 13400 | 15215 | <doc xml:space="preserve" | |
| 13401 | - | filename="gobject-2.0.c" | |
| 13402 | - | line="5042">the #GObject to pass as data to @c_handler calls</doc> | |
| 15216 | + | filename="gobject/gsignalgroup.c" | |
| 15217 | + | line="823">the #GObject to pass as data to @c_handler calls</doc> | |
| 13403 | 15218 | <type name="gpointer" c:type="gpointer"/> | |
| 13404 | 15219 | </parameter> | |
| 13405 | 15220 | <parameter name="flags" transfer-ownership="none"> | |
| 13406 | 15221 | <doc xml:space="preserve" | |
| 13407 | - | filename="gobject-2.0.c" | |
| 13408 | - | line="5043">#GConnectFlags for the signal connection</doc> | |
| 15222 | + | filename="gobject/gsignalgroup.c" | |
| 15223 | + | line="824">#GConnectFlags for the signal connection</doc> | |
| 13409 | 15224 | <type name="ConnectFlags" c:type="GConnectFlags"/> | |
| 13410 | 15225 | </parameter> | |
| 13411 | 15226 | </parameters> | |
| @@ -13414,29 +15229,29 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13414 | 15229 | c:identifier="g_signal_group_connect_swapped" | |
| 13415 | 15230 | version="2.72"> | |
| 13416 | 15231 | <doc xml:space="preserve" | |
| 13417 | - | filename="gobject-2.0.c" | |
| 13418 | - | line="5057">Connects @c_handler to the signal @detailed_signal | |
| 15232 | + | filename="gobject/gsignalgroup.c" | |
| 15233 | + | line="927">Connects @c_handler to the signal @detailed_signal | |
| 13419 | 15234 | on the target instance of @self. | |
| 13420 | 15235 | ||
| 13421 | 15236 | The instance on which the signal is emitted and @data | |
| 13422 | 15237 | will be swapped when calling @c_handler. | |
| 13423 | 15238 | ||
| 13424 | 15239 | You cannot connect a signal handler after #GSignalGroup:target has been set.</doc> | |
| 13425 | - | <source-position filename="gsignalgroup.h" line="86"/> | |
| 15240 | + | <source-position filename="gobject/gsignalgroup.h" line="83"/> | |
| 13426 | 15241 | <return-value transfer-ownership="none"> | |
| 13427 | 15242 | <type name="none" c:type="void"/> | |
| 13428 | 15243 | </return-value> | |
| 13429 | 15244 | <parameters> | |
| 13430 | 15245 | <instance-parameter name="self" transfer-ownership="none"> | |
| 13431 | 15246 | <doc xml:space="preserve" | |
| 13432 | - | filename="gobject-2.0.c" | |
| 13433 | - | line="5059">a #GSignalGroup</doc> | |
| 15247 | + | filename="gobject/gsignalgroup.c" | |
| 15248 | + | line="929">a #GSignalGroup</doc> | |
| 13434 | 15249 | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 13435 | 15250 | </instance-parameter> | |
| 13436 | 15251 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 13437 | 15252 | <doc xml:space="preserve" | |
| 13438 | - | filename="gobject-2.0.c" | |
| 13439 | - | line="5060">a string of the form "signal-name::detail"</doc> | |
| 15253 | + | filename="gobject/gsignalgroup.c" | |
| 15254 | + | line="930">a string of the form "signal-name::detail"</doc> | |
| 13440 | 15255 | <type name="utf8" c:type="const gchar*"/> | |
| 13441 | 15256 | </parameter> | |
| 13442 | 15257 | <parameter name="c_handler" | |
| @@ -13444,8 +15259,8 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13444 | 15259 | scope="async" | |
| 13445 | 15260 | closure="2"> | |
| 13446 | 15261 | <doc xml:space="preserve" | |
| 13447 | - | filename="gobject-2.0.c" | |
| 13448 | - | line="5061">the #GCallback to connect</doc> | |
| 15262 | + | filename="gobject/gsignalgroup.c" | |
| 15263 | + | line="931">the #GCallback to connect</doc> | |
| 13449 | 15264 | <type name="Callback" c:type="GCallback"/> | |
| 13450 | 15265 | </parameter> | |
| 13451 | 15266 | <parameter name="data" | |
| @@ -13453,8 +15268,8 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13453 | 15268 | nullable="1" | |
| 13454 | 15269 | allow-none="1"> | |
| 13455 | 15270 | <doc xml:space="preserve" | |
| 13456 | - | filename="gobject-2.0.c" | |
| 13457 | - | line="5062">the data to pass to @c_handler calls</doc> | |
| 15271 | + | filename="gobject/gsignalgroup.c" | |
| 15272 | + | line="932">the data to pass to @c_handler calls</doc> | |
| 13458 | 15273 | <type name="gpointer" c:type="gpointer"/> | |
| 13459 | 15274 | </parameter> | |
| 13460 | 15275 | </parameters> | |
| @@ -13463,20 +15278,20 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13463 | 15278 | c:identifier="g_signal_group_dup_target" | |
| 13464 | 15279 | version="2.72"> | |
| 13465 | 15280 | <doc xml:space="preserve" | |
| 13466 | - | filename="gobject-2.0.c" | |
| 13467 | - | line="5076">Gets the target instance used when connecting signals.</doc> | |
| 13468 | - | <source-position filename="gsignalgroup.h" line="57"/> | |
| 15281 | + | filename="gobject/gsignalgroup.c" | |
| 15282 | + | line="414">Gets the target instance used when connecting signals.</doc> | |
| 15283 | + | <source-position filename="gobject/gsignalgroup.h" line="49"/> | |
| 13469 | 15284 | <return-value transfer-ownership="full" nullable="1"> | |
| 13470 | 15285 | <doc xml:space="preserve" | |
| 13471 | - | filename="gobject-2.0.c" | |
| 13472 | - | line="5082">The target instance</doc> | |
| 15286 | + | filename="gobject/gsignalgroup.c" | |
| 15287 | + | line="420">The target instance</doc> | |
| 13473 | 15288 | <type name="Object" c:type="gpointer"/> | |
| 13474 | 15289 | </return-value> | |
| 13475 | 15290 | <parameters> | |
| 13476 | 15291 | <instance-parameter name="self" transfer-ownership="none"> | |
| 13477 | 15292 | <doc xml:space="preserve" | |
| 13478 | - | filename="gobject-2.0.c" | |
| 13479 | - | line="5078">the #GSignalGroup</doc> | |
| 15293 | + | filename="gobject/gsignalgroup.c" | |
| 15294 | + | line="416">the #GSignalGroup</doc> | |
| 13480 | 15295 | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 13481 | 15296 | </instance-parameter> | |
| 13482 | 15297 | </parameters> | |
| @@ -13486,22 +15301,22 @@ You cannot connect a signal handler after #GSignalGroup:target has been set.</do | |||
| 13486 | 15301 | glib:set-property="target" | |
| 13487 | 15302 | version="2.72"> | |
| 13488 | 15303 | <doc xml:space="preserve" | |
| 13489 | - | filename="gobject-2.0.c" | |
| 13490 | - | line="5098">Sets the target instance used when connecting signals. Any signal | |
| 15304 | + | filename="gobject/gsignalgroup.c" | |
| 15305 | + | line="438">Sets the target instance used when connecting signals. Any signal | |
| 13491 | 15306 | that has been registered with g_signal_group_connect_object() or | |
| 13492 | 15307 | similar functions will be connected to this object. | |
| 13493 | 15308 | ||
| 13494 | 15309 | If the target instance was previously set, signals will be | |
| 13495 | 15310 | disconnected from that object prior to connecting to @target.</doc> | |
| 13496 | - | <source-position filename="gsignalgroup.h" line="54"/> | |
| 15311 | + | <source-position filename="gobject/gsignalgroup.h" line="46"/> | |
| 13497 | 15312 | <return-value transfer-ownership="none"> | |
| 13498 | 15313 | <type name="none" c:type="void"/> | |
| 13499 | 15314 | </return-value> | |
| 13500 | 15315 | <parameters> | |
| 13501 | 15316 | <instance-parameter name="self" transfer-ownership="none"> | |
| 13502 | 15317 | <doc xml:space="preserve" | |
| 13503 | - | filename="gobject-2.0.c" | |
| 13504 | - | line="5100">the #GSignalGroup.</doc> | |
| 15318 | + | filename="gobject/gsignalgroup.c" | |
| 15319 | + | line="440">the #GSignalGroup.</doc> | |
| 13505 | 15320 | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 13506 | 15321 | </instance-parameter> | |
| 13507 | 15322 | <parameter name="target" | |
| @@ -13509,8 +15324,8 @@ disconnected from that object prior to connecting to @target.</doc> | |||
| 13509 | 15324 | nullable="1" | |
| 13510 | 15325 | allow-none="1"> | |
| 13511 | 15326 | <doc xml:space="preserve" | |
| 13512 | - | filename="gobject-2.0.c" | |
| 13513 | - | line="5101">The target instance used | |
| 15327 | + | filename="gobject/gsignalgroup.c" | |
| 15328 | + | line="441">The target instance used | |
| 13514 | 15329 | when connecting signals.</doc> | |
| 13515 | 15330 | <type name="Object" c:type="gpointer"/> | |
| 13516 | 15331 | </parameter> | |
| @@ -13520,20 +15335,20 @@ disconnected from that object prior to connecting to @target.</doc> | |||
| 13520 | 15335 | c:identifier="g_signal_group_unblock" | |
| 13521 | 15336 | version="2.72"> | |
| 13522 | 15337 | <doc xml:space="preserve" | |
| 13523 | - | filename="gobject-2.0.c" | |
| 13524 | - | line="5115">Unblocks all signal handlers managed by @self so they will be | |
| 15338 | + | filename="gobject/gsignalgroup.c" | |
| 15339 | + | line="368">Unblocks all signal handlers managed by @self so they will be | |
| 13525 | 15340 | called again during any signal emissions unless it is blocked | |
| 13526 | 15341 | again. Must be unblocked exactly the same number of times it | |
| 13527 | 15342 | has been blocked to become active again.</doc> | |
| 13528 | - | <source-position filename="gsignalgroup.h" line="61"/> | |
| 15343 | + | <source-position filename="gobject/gsignalgroup.h" line="53"/> | |
| 13529 | 15344 | <return-value transfer-ownership="none"> | |
| 13530 | 15345 | <type name="none" c:type="void"/> | |
| 13531 | 15346 | </return-value> | |
| 13532 | 15347 | <parameters> | |
| 13533 | 15348 | <instance-parameter name="self" transfer-ownership="none"> | |
| 13534 | 15349 | <doc xml:space="preserve" | |
| 13535 | - | filename="gobject-2.0.c" | |
| 13536 | - | line="5117">the #GSignalGroup</doc> | |
| 15350 | + | filename="gobject/gsignalgroup.c" | |
| 15351 | + | line="370">the #GSignalGroup</doc> | |
| 13537 | 15352 | <type name="SignalGroup" c:type="GSignalGroup*"/> | |
| 13538 | 15353 | </instance-parameter> | |
| 13539 | 15354 | </parameters> | |
| @@ -13544,8 +15359,8 @@ has been blocked to become active again.</doc> | |||
| 13544 | 15359 | transfer-ownership="none" | |
| 13545 | 15360 | setter="set_target"> | |
| 13546 | 15361 | <doc xml:space="preserve" | |
| 13547 | - | filename="gobject-2.0.c" | |
| 13548 | - | line="139">The target instance used when connecting signals.</doc> | |
| 15362 | + | filename="gobject/gsignalgroup.c" | |
| 15363 | + | line="605">The target instance used when connecting signals.</doc> | |
| 13549 | 15364 | <type name="Object"/> | |
| 13550 | 15365 | </property> | |
| 13551 | 15366 | <property name="target-type" | |
| @@ -13554,14 +15369,14 @@ has been blocked to become active again.</doc> | |||
| 13554 | 15369 | construct-only="1" | |
| 13555 | 15370 | transfer-ownership="none"> | |
| 13556 | 15371 | <doc xml:space="preserve" | |
| 13557 | - | filename="gobject-2.0.c" | |
| 13558 | - | line="148">The #GType of the target property.</doc> | |
| 15372 | + | filename="gobject/gsignalgroup.c" | |
| 15373 | + | line="617">The #GType of the target property.</doc> | |
| 13559 | 15374 | <type name="GType" c:type="GType"/> | |
| 13560 | 15375 | </property> | |
| 13561 | 15376 | <glib:signal name="bind" when="last" version="2.72"> | |
| 13562 | 15377 | <doc xml:space="preserve" | |
| 13563 | - | filename="gobject-2.0.c" | |
| 13564 | - | line="111">This signal is emitted when #GSignalGroup:target is set to a new value | |
| 15378 | + | filename="gobject/gsignalgroup.c" | |
| 15379 | + | line="631">This signal is emitted when #GSignalGroup:target is set to a new value | |
| 13565 | 15380 | other than %NULL. It is similar to #GObject::notify on `target` except it | |
| 13566 | 15381 | will not emit when #GSignalGroup:target is %NULL and also allows for | |
| 13567 | 15382 | receiving the #GObject without a data-race.</doc> | |
| @@ -13571,16 +15386,16 @@ receiving the #GObject without a data-race.</doc> | |||
| 13571 | 15386 | <parameters> | |
| 13572 | 15387 | <parameter name="instance" transfer-ownership="none"> | |
| 13573 | 15388 | <doc xml:space="preserve" | |
| 13574 | - | filename="gobject-2.0.c" | |
| 13575 | - | line="114">a #GObject containing the new value for #GSignalGroup:target</doc> | |
| 15389 | + | filename="gobject/gsignalgroup.c" | |
| 15390 | + | line="634">a #GObject containing the new value for #GSignalGroup:target</doc> | |
| 13576 | 15391 | <type name="Object"/> | |
| 13577 | 15392 | </parameter> | |
| 13578 | 15393 | </parameters> | |
| 13579 | 15394 | </glib:signal> | |
| 13580 | 15395 | <glib:signal name="unbind" when="last" version="2.72"> | |
| 13581 | 15396 | <doc xml:space="preserve" | |
| 13582 | - | filename="gobject-2.0.c" | |
| 13583 | - | line="125">This signal is emitted when the target instance of @self is set to a | |
| 15397 | + | filename="gobject/gsignalgroup.c" | |
| 15398 | + | line="653">This signal is emitted when the target instance of @self is set to a | |
| 13584 | 15399 | new #GObject. | |
| 13585 | 15400 | ||
| 13586 | 15401 | This signal will only be emitted if the previous target of @self is | |
| @@ -13592,26 +15407,26 @@ non-%NULL.</doc> | |||
| 13592 | 15407 | </class> | |
| 13593 | 15408 | <record name="SignalInvocationHint" c:type="GSignalInvocationHint"> | |
| 13594 | 15409 | <doc xml:space="preserve" | |
| 13595 | - | filename="gsignal.h" | |
| 13596 | - | line="223">The #GSignalInvocationHint structure is used to pass on additional information | |
| 15410 | + | filename="gobject/gsignal.h" | |
| 15411 | + | line="253">The #GSignalInvocationHint structure is used to pass on additional information | |
| 13597 | 15412 | to callbacks during a signal emission.</doc> | |
| 13598 | - | <source-position filename="gsignal.h" line="241"/> | |
| 15413 | + | <source-position filename="gobject/gsignal.h" line="271"/> | |
| 13599 | 15414 | <field name="signal_id" writable="1"> | |
| 13600 | 15415 | <doc xml:space="preserve" | |
| 13601 | - | filename="gsignal.h" | |
| 13602 | - | line="225">The signal id of the signal invoking the callback</doc> | |
| 15416 | + | filename="gobject/gsignal.h" | |
| 15417 | + | line="255">The signal id of the signal invoking the callback</doc> | |
| 13603 | 15418 | <type name="guint" c:type="guint"/> | |
| 13604 | 15419 | </field> | |
| 13605 | 15420 | <field name="detail" writable="1"> | |
| 13606 | 15421 | <doc xml:space="preserve" | |
| 13607 | - | filename="gsignal.h" | |
| 13608 | - | line="226">The detail passed on for this emission</doc> | |
| 15422 | + | filename="gobject/gsignal.h" | |
| 15423 | + | line="256">The detail passed on for this emission</doc> | |
| 13609 | 15424 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 13610 | 15425 | </field> | |
| 13611 | 15426 | <field name="run_type" writable="1"> | |
| 13612 | 15427 | <doc xml:space="preserve" | |
| 13613 | - | filename="gsignal.h" | |
| 13614 | - | line="227">The stage the signal emission is currently in, this | |
| 15428 | + | filename="gobject/gsignal.h" | |
| 15429 | + | line="257">The stage the signal emission is currently in, this | |
| 13615 | 15430 | field will contain one of %G_SIGNAL_RUN_FIRST, | |
| 13616 | 15431 | %G_SIGNAL_RUN_LAST or %G_SIGNAL_RUN_CLEANUP and %G_SIGNAL_ACCUMULATOR_FIRST_RUN. | |
| 13617 | 15432 | %G_SIGNAL_ACCUMULATOR_FIRST_RUN is only set for the first run of the accumulator | |
| @@ -13621,92 +15436,92 @@ to callbacks during a signal emission.</doc> | |||
| 13621 | 15436 | </record> | |
| 13622 | 15437 | <bitfield name="SignalMatchType" c:type="GSignalMatchType"> | |
| 13623 | 15438 | <doc xml:space="preserve" | |
| 13624 | - | filename="gsignal.h" | |
| 13625 | - | line="171">The match types specify what g_signal_handlers_block_matched(), | |
| 15439 | + | filename="gobject/gsignal.h" | |
| 15440 | + | line="201">The match types specify what g_signal_handlers_block_matched(), | |
| 13626 | 15441 | g_signal_handlers_unblock_matched() and g_signal_handlers_disconnect_matched() | |
| 13627 | 15442 | match signals by.</doc> | |
| 13628 | - | <source-position filename="gsignal.h" line="192"/> | |
| 15443 | + | <source-position filename="gobject/gsignal.h" line="222"/> | |
| 13629 | 15444 | <member name="id" value="1" c:identifier="G_SIGNAL_MATCH_ID"> | |
| 13630 | 15445 | <doc xml:space="preserve" | |
| 13631 | - | filename="gsignal.h" | |
| 13632 | - | line="173">The signal id must be equal.</doc> | |
| 15446 | + | filename="gobject/gsignal.h" | |
| 15447 | + | line="203">The signal id must be equal.</doc> | |
| 13633 | 15448 | </member> | |
| 13634 | 15449 | <member name="detail" value="2" c:identifier="G_SIGNAL_MATCH_DETAIL"> | |
| 13635 | 15450 | <doc xml:space="preserve" | |
| 13636 | - | filename="gsignal.h" | |
| 13637 | - | line="174">The signal detail must be equal.</doc> | |
| 15451 | + | filename="gobject/gsignal.h" | |
| 15452 | + | line="204">The signal detail must be equal.</doc> | |
| 13638 | 15453 | </member> | |
| 13639 | 15454 | <member name="closure" value="4" c:identifier="G_SIGNAL_MATCH_CLOSURE"> | |
| 13640 | 15455 | <doc xml:space="preserve" | |
| 13641 | - | filename="gsignal.h" | |
| 13642 | - | line="175">The closure must be the same.</doc> | |
| 15456 | + | filename="gobject/gsignal.h" | |
| 15457 | + | line="205">The closure must be the same.</doc> | |
| 13643 | 15458 | </member> | |
| 13644 | 15459 | <member name="func" value="8" c:identifier="G_SIGNAL_MATCH_FUNC"> | |
| 13645 | 15460 | <doc xml:space="preserve" | |
| 13646 | - | filename="gsignal.h" | |
| 13647 | - | line="176">The C closure callback must be the same.</doc> | |
| 15461 | + | filename="gobject/gsignal.h" | |
| 15462 | + | line="206">The C closure callback must be the same.</doc> | |
| 13648 | 15463 | </member> | |
| 13649 | 15464 | <member name="data" value="16" c:identifier="G_SIGNAL_MATCH_DATA"> | |
| 13650 | 15465 | <doc xml:space="preserve" | |
| 13651 | - | filename="gsignal.h" | |
| 13652 | - | line="177">The closure data must be the same.</doc> | |
| 15466 | + | filename="gobject/gsignal.h" | |
| 15467 | + | line="207">The closure data must be the same.</doc> | |
| 13653 | 15468 | </member> | |
| 13654 | 15469 | <member name="unblocked" | |
| 13655 | 15470 | value="32" | |
| 13656 | 15471 | c:identifier="G_SIGNAL_MATCH_UNBLOCKED"> | |
| 13657 | 15472 | <doc xml:space="preserve" | |
| 13658 | - | filename="gsignal.h" | |
| 13659 | - | line="178">Only unblocked signals may be matched.</doc> | |
| 15473 | + | filename="gobject/gsignal.h" | |
| 15474 | + | line="208">Only unblocked signals may be matched.</doc> | |
| 13660 | 15475 | </member> | |
| 13661 | 15476 | </bitfield> | |
| 13662 | 15477 | <record name="SignalQuery" c:type="GSignalQuery"> | |
| 13663 | 15478 | <doc xml:space="preserve" | |
| 13664 | - | filename="gsignal.h" | |
| 13665 | - | line="242">A structure holding in-depth information for a specific signal. | |
| 15479 | + | filename="gobject/gsignal.h" | |
| 15480 | + | line="272">A structure holding in-depth information for a specific signal. | |
| 13666 | 15481 | ||
| 13667 | 15482 | See also: g_signal_query()</doc> | |
| 13668 | - | <source-position filename="gsignal.h" line="272"/> | |
| 15483 | + | <source-position filename="gobject/gsignal.h" line="302"/> | |
| 13669 | 15484 | <field name="signal_id" writable="1"> | |
| 13670 | 15485 | <doc xml:space="preserve" | |
| 13671 | - | filename="gsignal.h" | |
| 13672 | - | line="244">The signal id of the signal being queried, or 0 if the | |
| 15486 | + | filename="gobject/gsignal.h" | |
| 15487 | + | line="274">The signal id of the signal being queried, or 0 if the | |
| 13673 | 15488 | signal to be queried was unknown.</doc> | |
| 13674 | 15489 | <type name="guint" c:type="guint"/> | |
| 13675 | 15490 | </field> | |
| 13676 | 15491 | <field name="signal_name" writable="1"> | |
| 13677 | 15492 | <doc xml:space="preserve" | |
| 13678 | - | filename="gsignal.h" | |
| 13679 | - | line="246">The signal name.</doc> | |
| 15493 | + | filename="gobject/gsignal.h" | |
| 15494 | + | line="276">The signal name.</doc> | |
| 13680 | 15495 | <type name="utf8" c:type="const gchar*"/> | |
| 13681 | 15496 | </field> | |
| 13682 | 15497 | <field name="itype" writable="1"> | |
| 13683 | 15498 | <doc xml:space="preserve" | |
| 13684 | - | filename="gsignal.h" | |
| 13685 | - | line="247">The interface/instance type that this signal can be emitted for.</doc> | |
| 15499 | + | filename="gobject/gsignal.h" | |
| 15500 | + | line="277">The interface/instance type that this signal can be emitted for.</doc> | |
| 13686 | 15501 | <type name="GType" c:type="GType"/> | |
| 13687 | 15502 | </field> | |
| 13688 | 15503 | <field name="signal_flags" writable="1"> | |
| 13689 | 15504 | <doc xml:space="preserve" | |
| 13690 | - | filename="gsignal.h" | |
| 13691 | - | line="248">The signal flags as passed in to g_signal_new().</doc> | |
| 15505 | + | filename="gobject/gsignal.h" | |
| 15506 | + | line="278">The signal flags as passed in to g_signal_new().</doc> | |
| 13692 | 15507 | <type name="SignalFlags" c:type="GSignalFlags"/> | |
| 13693 | 15508 | </field> | |
| 13694 | 15509 | <field name="return_type" writable="1"> | |
| 13695 | 15510 | <doc xml:space="preserve" | |
| 13696 | - | filename="gsignal.h" | |
| 13697 | - | line="249">The return type for user callbacks.</doc> | |
| 15511 | + | filename="gobject/gsignal.h" | |
| 15512 | + | line="279">The return type for user callbacks.</doc> | |
| 13698 | 15513 | <type name="GType" c:type="GType"/> | |
| 13699 | 15514 | </field> | |
| 13700 | 15515 | <field name="n_params" writable="1"> | |
| 13701 | 15516 | <doc xml:space="preserve" | |
| 13702 | - | filename="gsignal.h" | |
| 13703 | - | line="250">The number of parameters that user callbacks take.</doc> | |
| 15517 | + | filename="gobject/gsignal.h" | |
| 15518 | + | line="280">The number of parameters that user callbacks take.</doc> | |
| 13704 | 15519 | <type name="guint" c:type="guint"/> | |
| 13705 | 15520 | </field> | |
| 13706 | 15521 | <field name="param_types" writable="1"> | |
| 13707 | 15522 | <doc xml:space="preserve" | |
| 13708 | - | filename="gsignal.h" | |
| 13709 | - | line="251">The individual parameter types for | |
| 15523 | + | filename="gobject/gsignal.h" | |
| 15524 | + | line="281">The individual parameter types for | |
| 13710 | 15525 | user callbacks, note that the effective callback signature is: | |
| 13711 | 15526 | |[<!-- language="C" --> | |
| 13712 | 15527 | @return_type callback (#gpointer data1, | |
| @@ -13718,32 +15533,106 @@ See also: g_signal_query()</doc> | |||
| 13718 | 15533 | </array> | |
| 13719 | 15534 | </field> | |
| 13720 | 15535 | </record> | |
| 15536 | + | <glib:boxed glib:name="Source" | |
| 15537 | + | c:symbol-prefix="source" | |
| 15538 | + | glib:type-name="GSource" | |
| 15539 | + | glib:get-type="g_source_get_type"> | |
| 15540 | + | <function name="set_closure" c:identifier="g_source_set_closure"> | |
| 15541 | + | <doc xml:space="preserve" | |
| 15542 | + | filename="gobject/gsourceclosure.c" | |
| 15543 | + | line="235">Set the callback for a source as a #GClosure. | |
| 15544 | + | ||
| 15545 | + | If the source is not one of the standard GLib types, the @closure_callback | |
| 15546 | + | and @closure_marshal fields of the #GSourceFuncs structure must have been | |
| 15547 | + | filled in with pointers to appropriate functions.</doc> | |
| 15548 | + | <source-position filename="gobject/gsourceclosure.h" line="32"/> | |
| 15549 | + | <return-value transfer-ownership="none"> | |
| 15550 | + | <type name="none" c:type="void"/> | |
| 15551 | + | </return-value> | |
| 15552 | + | <parameters> | |
| 15553 | + | <parameter name="source" transfer-ownership="none"> | |
| 15554 | + | <doc xml:space="preserve" | |
| 15555 | + | filename="gobject/gsourceclosure.c" | |
| 15556 | + | line="237">the source</doc> | |
| 15557 | + | <type name="GLib.Source" c:type="GSource*"/> | |
| 15558 | + | </parameter> | |
| 15559 | + | <parameter name="closure" transfer-ownership="none"> | |
| 15560 | + | <doc xml:space="preserve" | |
| 15561 | + | filename="gobject/gsourceclosure.c" | |
| 15562 | + | line="238">a #GClosure</doc> | |
| 15563 | + | <type name="Closure" c:type="GClosure*"/> | |
| 15564 | + | </parameter> | |
| 15565 | + | </parameters> | |
| 15566 | + | </function> | |
| 15567 | + | <function name="set_dummy_callback" | |
| 15568 | + | c:identifier="g_source_set_dummy_callback"> | |
| 15569 | + | <doc xml:space="preserve" | |
| 15570 | + | filename="gobject/gsourceclosure.c" | |
| 15571 | + | line="301">Sets a dummy callback for @source. The callback will do nothing, and | |
| 15572 | + | if the source expects a #gboolean return value, it will return %TRUE. | |
| 15573 | + | (If the source expects any other type of return value, it will return | |
| 15574 | + | a 0/%NULL value; whatever g_value_init() initializes a #GValue to for | |
| 15575 | + | that type.) | |
| 15576 | + | ||
| 15577 | + | If the source is not one of the standard GLib types, the | |
| 15578 | + | @closure_callback and @closure_marshal fields of the #GSourceFuncs | |
| 15579 | + | structure must have been filled in with pointers to appropriate | |
| 15580 | + | functions.</doc> | |
| 15581 | + | <source-position filename="gobject/gsourceclosure.h" line="36"/> | |
| 15582 | + | <return-value transfer-ownership="none"> | |
| 15583 | + | <type name="none" c:type="void"/> | |
| 15584 | + | </return-value> | |
| 15585 | + | <parameters> | |
| 15586 | + | <parameter name="source" transfer-ownership="none"> | |
| 15587 | + | <doc xml:space="preserve" | |
| 15588 | + | filename="gobject/gsourceclosure.c" | |
| 15589 | + | line="303">the source</doc> | |
| 15590 | + | <type name="GLib.Source" c:type="GSource*"/> | |
| 15591 | + | </parameter> | |
| 15592 | + | </parameters> | |
| 15593 | + | </function> | |
| 15594 | + | </glib:boxed> | |
| 15595 | + | <glib:boxed glib:name="String" | |
| 15596 | + | c:symbol-prefix="gstring" | |
| 15597 | + | glib:type-name="GString" | |
| 15598 | + | glib:get-type="g_gstring_get_type"> | |
| 15599 | + | </glib:boxed> | |
| 15600 | + | <glib:boxed glib:name="Strv" | |
| 15601 | + | c:symbol-prefix="strv" | |
| 15602 | + | glib:type-name="GStrv" | |
| 15603 | + | glib:get-type="g_strv_get_type"> | |
| 15604 | + | </glib:boxed> | |
| 15605 | + | <glib:boxed glib:name="StrvBuilder" | |
| 15606 | + | c:symbol-prefix="strv_builder" | |
| 15607 | + | glib:type-name="GStrvBuilder" | |
| 15608 | + | glib:get-type="g_strv_builder_get_type"> | |
| 15609 | + | </glib:boxed> | |
| 13721 | 15610 | <function-macro name="TYPE_CHECK_CLASS_CAST" | |
| 13722 | 15611 | c:identifier="G_TYPE_CHECK_CLASS_CAST" | |
| 13723 | 15612 | introspectable="0"> | |
| 13724 | 15613 | <doc xml:space="preserve" | |
| 13725 | - | filename="gtype.h" | |
| 13726 | - | line="558">Checks that @g_class is a class structure of the type identified by @g_type | |
| 15614 | + | filename="gobject/gtype.h" | |
| 15615 | + | line="585">Checks that @g_class is a class structure of the type identified by @g_type | |
| 13727 | 15616 | and issues a warning if this is not the case. Returns @g_class casted | |
| 13728 | 15617 | to a pointer to @c_type. %NULL is not a valid class structure. | |
| 13729 | 15618 | ||
| 13730 | 15619 | This macro should only be used in type implementations.</doc> | |
| 13731 | - | <source-position filename="gtype.h" line="570"/> | |
| 15620 | + | <source-position filename="gobject/gtype.h" line="597"/> | |
| 13732 | 15621 | <parameters> | |
| 13733 | 15622 | <parameter name="g_class"> | |
| 13734 | 15623 | <doc xml:space="preserve" | |
| 13735 | - | filename="gtype.h" | |
| 13736 | - | line="560">Location of a #GTypeClass structure</doc> | |
| 15624 | + | filename="gobject/gtype.h" | |
| 15625 | + | line="587">Location of a #GTypeClass structure</doc> | |
| 13737 | 15626 | </parameter> | |
| 13738 | 15627 | <parameter name="g_type"> | |
| 13739 | 15628 | <doc xml:space="preserve" | |
| 13740 | - | filename="gtype.h" | |
| 13741 | - | line="561">The type to be returned</doc> | |
| 15629 | + | filename="gobject/gtype.h" | |
| 15630 | + | line="588">The type to be returned</doc> | |
| 13742 | 15631 | </parameter> | |
| 13743 | 15632 | <parameter name="c_type"> | |
| 13744 | 15633 | <doc xml:space="preserve" | |
| 13745 | - | filename="gtype.h" | |
| 13746 | - | line="562">The corresponding C type of class structure of @g_type</doc> | |
| 15634 | + | filename="gobject/gtype.h" | |
| 15635 | + | line="589">The corresponding C type of class structure of @g_type</doc> | |
| 13747 | 15636 | </parameter> | |
| 13748 | 15637 | </parameters> | |
| 13749 | 15638 | </function-macro> | |
| @@ -13751,22 +15640,22 @@ This macro should only be used in type implementations.</doc> | |||
| 13751 | 15640 | c:identifier="G_TYPE_CHECK_CLASS_TYPE" | |
| 13752 | 15641 | introspectable="0"> | |
| 13753 | 15642 | <doc xml:space="preserve" | |
| 13754 | - | filename="gtype.h" | |
| 13755 | - | line="571">Checks if @g_class is a class structure of the type identified by | |
| 15643 | + | filename="gobject/gtype.h" | |
| 15644 | + | line="598">Checks if @g_class is a class structure of the type identified by | |
| 13756 | 15645 | @g_type. If @g_class is %NULL, %FALSE will be returned. | |
| 13757 | 15646 | ||
| 13758 | 15647 | This macro should only be used in type implementations.</doc> | |
| 13759 | - | <source-position filename="gtype.h" line="583"/> | |
| 15648 | + | <source-position filename="gobject/gtype.h" line="610"/> | |
| 13760 | 15649 | <parameters> | |
| 13761 | 15650 | <parameter name="g_class"> | |
| 13762 | 15651 | <doc xml:space="preserve" | |
| 13763 | - | filename="gtype.h" | |
| 13764 | - | line="573">Location of a #GTypeClass structure</doc> | |
| 15652 | + | filename="gobject/gtype.h" | |
| 15653 | + | line="600">Location of a #GTypeClass structure</doc> | |
| 13765 | 15654 | </parameter> | |
| 13766 | 15655 | <parameter name="g_type"> | |
| 13767 | 15656 | <doc xml:space="preserve" | |
| 13768 | - | filename="gtype.h" | |
| 13769 | - | line="574">The type to be checked</doc> | |
| 15657 | + | filename="gobject/gtype.h" | |
| 15658 | + | line="601">The type to be checked</doc> | |
| 13770 | 15659 | </parameter> | |
| 13771 | 15660 | </parameters> | |
| 13772 | 15661 | </function-macro> | |
| @@ -13774,18 +15663,18 @@ This macro should only be used in type implementations.</doc> | |||
| 13774 | 15663 | c:identifier="G_TYPE_CHECK_INSTANCE" | |
| 13775 | 15664 | introspectable="0"> | |
| 13776 | 15665 | <doc xml:space="preserve" | |
| 13777 | - | filename="gtype.h" | |
| 13778 | - | line="474">Checks if @instance is a valid #GTypeInstance structure, | |
| 15666 | + | filename="gobject/gtype.h" | |
| 15667 | + | line="501">Checks if @instance is a valid #GTypeInstance structure, | |
| 13779 | 15668 | otherwise issues a warning and returns %FALSE. %NULL is not a valid | |
| 13780 | 15669 | #GTypeInstance. | |
| 13781 | 15670 | ||
| 13782 | 15671 | This macro should only be used in type implementations.</doc> | |
| 13783 | - | <source-position filename="gtype.h" line="486"/> | |
| 15672 | + | <source-position filename="gobject/gtype.h" line="513"/> | |
| 13784 | 15673 | <parameters> | |
| 13785 | 15674 | <parameter name="instance"> | |
| 13786 | 15675 | <doc xml:space="preserve" | |
| 13787 | - | filename="gtype.h" | |
| 13788 | - | line="476">Location of a #GTypeInstance structure</doc> | |
| 15676 | + | filename="gobject/gtype.h" | |
| 15677 | + | line="503">Location of a #GTypeInstance structure</doc> | |
| 13789 | 15678 | </parameter> | |
| 13790 | 15679 | </parameters> | |
| 13791 | 15680 | </function-macro> | |
| @@ -13793,30 +15682,30 @@ This macro should only be used in type implementations.</doc> | |||
| 13793 | 15682 | c:identifier="G_TYPE_CHECK_INSTANCE_CAST" | |
| 13794 | 15683 | introspectable="0"> | |
| 13795 | 15684 | <doc xml:space="preserve" | |
| 13796 | - | filename="gtype.h" | |
| 13797 | - | line="487">Checks that @instance is an instance of the type identified by @g_type | |
| 15685 | + | filename="gobject/gtype.h" | |
| 15686 | + | line="514">Checks that @instance is an instance of the type identified by @g_type | |
| 13798 | 15687 | and issues a warning if this is not the case. Returns @instance casted | |
| 13799 | 15688 | to a pointer to @c_type. | |
| 13800 | 15689 | ||
| 13801 | 15690 | No warning will be issued if @instance is %NULL, and %NULL will be returned. | |
| 13802 | 15691 | ||
| 13803 | 15692 | This macro should only be used in type implementations.</doc> | |
| 13804 | - | <source-position filename="gtype.h" line="501"/> | |
| 15693 | + | <source-position filename="gobject/gtype.h" line="528"/> | |
| 13805 | 15694 | <parameters> | |
| 13806 | 15695 | <parameter name="instance"> | |
| 13807 | 15696 | <doc xml:space="preserve" | |
| 13808 | - | filename="gtype.h" | |
| 13809 | - | line="489">Location of a #GTypeInstance structure</doc> | |
| 15697 | + | filename="gobject/gtype.h" | |
| 15698 | + | line="516">Location of a #GTypeInstance structure</doc> | |
| 13810 | 15699 | </parameter> | |
| 13811 | 15700 | <parameter name="g_type"> | |
| 13812 | 15701 | <doc xml:space="preserve" | |
| 13813 | - | filename="gtype.h" | |
| 13814 | - | line="490">The type to be returned</doc> | |
| 15702 | + | filename="gobject/gtype.h" | |
| 15703 | + | line="517">The type to be returned</doc> | |
| 13815 | 15704 | </parameter> | |
| 13816 | 15705 | <parameter name="c_type"> | |
| 13817 | 15706 | <doc xml:space="preserve" | |
| 13818 | - | filename="gtype.h" | |
| 13819 | - | line="491">The corresponding C type of @g_type</doc> | |
| 15707 | + | filename="gobject/gtype.h" | |
| 15708 | + | line="518">The corresponding C type of @g_type</doc> | |
| 13820 | 15709 | </parameter> | |
| 13821 | 15710 | </parameters> | |
| 13822 | 15711 | </function-macro> | |
| @@ -13824,22 +15713,22 @@ This macro should only be used in type implementations.</doc> | |||
| 13824 | 15713 | c:identifier="G_TYPE_CHECK_INSTANCE_FUNDAMENTAL_TYPE" | |
| 13825 | 15714 | introspectable="0"> | |
| 13826 | 15715 | <doc xml:space="preserve" | |
| 13827 | - | filename="gtype.h" | |
| 13828 | - | line="515">Checks if @instance is an instance of the fundamental type identified by @g_type. | |
| 15716 | + | filename="gobject/gtype.h" | |
| 15717 | + | line="542">Checks if @instance is an instance of the fundamental type identified by @g_type. | |
| 13829 | 15718 | If @instance is %NULL, %FALSE will be returned. | |
| 13830 | 15719 | ||
| 13831 | 15720 | This macro should only be used in type implementations.</doc> | |
| 13832 | - | <source-position filename="gtype.h" line="527"/> | |
| 15721 | + | <source-position filename="gobject/gtype.h" line="554"/> | |
| 13833 | 15722 | <parameters> | |
| 13834 | 15723 | <parameter name="instance"> | |
| 13835 | 15724 | <doc xml:space="preserve" | |
| 13836 | - | filename="gtype.h" | |
| 13837 | - | line="517">Location of a #GTypeInstance structure.</doc> | |
| 15725 | + | filename="gobject/gtype.h" | |
| 15726 | + | line="544">Location of a #GTypeInstance structure.</doc> | |
| 13838 | 15727 | </parameter> | |
| 13839 | 15728 | <parameter name="g_type"> | |
| 13840 | 15729 | <doc xml:space="preserve" | |
| 13841 | - | filename="gtype.h" | |
| 13842 | - | line="518">The fundamental type to be checked</doc> | |
| 15730 | + | filename="gobject/gtype.h" | |
| 15731 | + | line="545">The fundamental type to be checked</doc> | |
| 13843 | 15732 | </parameter> | |
| 13844 | 15733 | </parameters> | |
| 13845 | 15734 | </function-macro> | |
| @@ -13847,22 +15736,22 @@ This macro should only be used in type implementations.</doc> | |||
| 13847 | 15736 | c:identifier="G_TYPE_CHECK_INSTANCE_TYPE" | |
| 13848 | 15737 | introspectable="0"> | |
| 13849 | 15738 | <doc xml:space="preserve" | |
| 13850 | - | filename="gtype.h" | |
| 13851 | - | line="502">Checks if @instance is an instance of the type identified by @g_type. If | |
| 15739 | + | filename="gobject/gtype.h" | |
| 15740 | + | line="529">Checks if @instance is an instance of the type identified by @g_type. If | |
| 13852 | 15741 | @instance is %NULL, %FALSE will be returned. | |
| 13853 | 15742 | ||
| 13854 | 15743 | This macro should only be used in type implementations.</doc> | |
| 13855 | - | <source-position filename="gtype.h" line="514"/> | |
| 15744 | + | <source-position filename="gobject/gtype.h" line="541"/> | |
| 13856 | 15745 | <parameters> | |
| 13857 | 15746 | <parameter name="instance"> | |
| 13858 | 15747 | <doc xml:space="preserve" | |
| 13859 | - | filename="gtype.h" | |
| 13860 | - | line="504">Location of a #GTypeInstance structure.</doc> | |
| 15748 | + | filename="gobject/gtype.h" | |
| 15749 | + | line="531">Location of a #GTypeInstance structure.</doc> | |
| 13861 | 15750 | </parameter> | |
| 13862 | 15751 | <parameter name="g_type"> | |
| 13863 | 15752 | <doc xml:space="preserve" | |
| 13864 | - | filename="gtype.h" | |
| 13865 | - | line="505">The type to be checked</doc> | |
| 15753 | + | filename="gobject/gtype.h" | |
| 15754 | + | line="532">The type to be checked</doc> | |
| 13866 | 15755 | </parameter> | |
| 13867 | 15756 | </parameters> | |
| 13868 | 15757 | </function-macro> | |
| @@ -13870,17 +15759,17 @@ This macro should only be used in type implementations.</doc> | |||
| 13870 | 15759 | c:identifier="G_TYPE_CHECK_VALUE" | |
| 13871 | 15760 | introspectable="0"> | |
| 13872 | 15761 | <doc xml:space="preserve" | |
| 13873 | - | filename="gtype.h" | |
| 13874 | - | line="584">Checks if @value has been initialized to hold values | |
| 15762 | + | filename="gobject/gtype.h" | |
| 15763 | + | line="611">Checks if @value has been initialized to hold values | |
| 13875 | 15764 | of a value type. | |
| 13876 | 15765 | ||
| 13877 | 15766 | This macro should only be used in type implementations.</doc> | |
| 13878 | - | <source-position filename="gtype.h" line="595"/> | |
| 15767 | + | <source-position filename="gobject/gtype.h" line="622"/> | |
| 13879 | 15768 | <parameters> | |
| 13880 | 15769 | <parameter name="value"> | |
| 13881 | 15770 | <doc xml:space="preserve" | |
| 13882 | - | filename="gtype.h" | |
| 13883 | - | line="586">a #GValue</doc> | |
| 15771 | + | filename="gobject/gtype.h" | |
| 15772 | + | line="613">a #GValue</doc> | |
| 13884 | 15773 | </parameter> | |
| 13885 | 15774 | </parameters> | |
| 13886 | 15775 | </function-macro> | |
| @@ -13888,22 +15777,22 @@ This macro should only be used in type implementations.</doc> | |||
| 13888 | 15777 | c:identifier="G_TYPE_CHECK_VALUE_TYPE" | |
| 13889 | 15778 | introspectable="0"> | |
| 13890 | 15779 | <doc xml:space="preserve" | |
| 13891 | - | filename="gtype.h" | |
| 13892 | - | line="596">Checks if @value has been initialized to hold values | |
| 15780 | + | filename="gobject/gtype.h" | |
| 15781 | + | line="623">Checks if @value has been initialized to hold values | |
| 13893 | 15782 | of type @g_type. | |
| 13894 | 15783 | ||
| 13895 | 15784 | This macro should only be used in type implementations.</doc> | |
| 13896 | - | <source-position filename="gtype.h" line="608"/> | |
| 15785 | + | <source-position filename="gobject/gtype.h" line="635"/> | |
| 13897 | 15786 | <parameters> | |
| 13898 | 15787 | <parameter name="value"> | |
| 13899 | 15788 | <doc xml:space="preserve" | |
| 13900 | - | filename="gtype.h" | |
| 13901 | - | line="598">a #GValue</doc> | |
| 15789 | + | filename="gobject/gtype.h" | |
| 15790 | + | line="625">a #GValue</doc> | |
| 13902 | 15791 | </parameter> | |
| 13903 | 15792 | <parameter name="g_type"> | |
| 13904 | 15793 | <doc xml:space="preserve" | |
| 13905 | - | filename="gtype.h" | |
| 13906 | - | line="599">The type to be checked</doc> | |
| 15794 | + | filename="gobject/gtype.h" | |
| 15795 | + | line="626">The type to be checked</doc> | |
| 13907 | 15796 | </parameter> | |
| 13908 | 15797 | </parameters> | |
| 13909 | 15798 | </function-macro> | |
| @@ -13912,29 +15801,29 @@ This macro should only be used in type implementations.</doc> | |||
| 13912 | 15801 | version="2.24" | |
| 13913 | 15802 | introspectable="0"> | |
| 13914 | 15803 | <doc xml:space="preserve" | |
| 13915 | - | filename="gtype.h" | |
| 13916 | - | line="663">Gets the private class structure for a particular type. | |
| 15804 | + | filename="gobject/gtype.h" | |
| 15805 | + | line="690">Gets the private class structure for a particular type. | |
| 13917 | 15806 | ||
| 13918 | 15807 | The private structure must have been registered in the | |
| 13919 | 15808 | get_type() function with g_type_add_class_private(). | |
| 13920 | 15809 | ||
| 13921 | 15810 | This macro should only be used in type implementations.</doc> | |
| 13922 | - | <source-position filename="gtype.h" line="679"/> | |
| 15811 | + | <source-position filename="gobject/gtype.h" line="706"/> | |
| 13923 | 15812 | <parameters> | |
| 13924 | 15813 | <parameter name="klass"> | |
| 13925 | 15814 | <doc xml:space="preserve" | |
| 13926 | - | filename="gtype.h" | |
| 13927 | - | line="665">the class of a type deriving from @private_type</doc> | |
| 15815 | + | filename="gobject/gtype.h" | |
| 15816 | + | line="692">the class of a type deriving from @private_type</doc> | |
| 13928 | 15817 | </parameter> | |
| 13929 | 15818 | <parameter name="g_type"> | |
| 13930 | 15819 | <doc xml:space="preserve" | |
| 13931 | - | filename="gtype.h" | |
| 13932 | - | line="666">the type identifying which private data to retrieve</doc> | |
| 15820 | + | filename="gobject/gtype.h" | |
| 15821 | + | line="693">the type identifying which private data to retrieve</doc> | |
| 13933 | 15822 | </parameter> | |
| 13934 | 15823 | <parameter name="c_type"> | |
| 13935 | 15824 | <doc xml:space="preserve" | |
| 13936 | - | filename="gtype.h" | |
| 13937 | - | line="667">The C type for the private structure</doc> | |
| 15825 | + | filename="gobject/gtype.h" | |
| 15826 | + | line="694">The C type for the private structure</doc> | |
| 13938 | 15827 | </parameter> | |
| 13939 | 15828 | </parameters> | |
| 13940 | 15829 | </function-macro> | |
| @@ -13942,25 +15831,25 @@ This macro should only be used in type implementations.</doc> | |||
| 13942 | 15831 | value="1" | |
| 13943 | 15832 | c:type="G_TYPE_FLAG_RESERVED_ID_BIT"> | |
| 13944 | 15833 | <doc xml:space="preserve" | |
| 13945 | - | filename="gtype.h" | |
| 13946 | - | line="2506">A bit in the type number that's supposed to be left untouched.</doc> | |
| 13947 | - | <source-position filename="gtype.h" line="2511"/> | |
| 13948 | - | <type name="GLib.Type" c:type="GType"/> | |
| 15834 | + | filename="gobject/gtype.h" | |
| 15835 | + | line="2712">A bit in the type number that's supposed to be left untouched.</doc> | |
| 15836 | + | <source-position filename="gobject/gtype.h" line="2717"/> | |
| 15837 | + | <type name="Type" c:type="GType"/> | |
| 13949 | 15838 | </constant> | |
| 13950 | 15839 | <function-macro name="TYPE_FROM_CLASS" | |
| 13951 | 15840 | c:identifier="G_TYPE_FROM_CLASS" | |
| 13952 | 15841 | introspectable="0"> | |
| 13953 | 15842 | <doc xml:space="preserve" | |
| 13954 | - | filename="gtype.h" | |
| 13955 | - | line="620">Get the type identifier from a given @class structure. | |
| 15843 | + | filename="gobject/gtype.h" | |
| 15844 | + | line="647">Get the type identifier from a given @class structure. | |
| 13956 | 15845 | ||
| 13957 | 15846 | This macro should only be used in type implementations.</doc> | |
| 13958 | - | <source-position filename="gtype.h" line="630"/> | |
| 15847 | + | <source-position filename="gobject/gtype.h" line="657"/> | |
| 13959 | 15848 | <parameters> | |
| 13960 | 15849 | <parameter name="g_class"> | |
| 13961 | 15850 | <doc xml:space="preserve" | |
| 13962 | - | filename="gtype.h" | |
| 13963 | - | line="622">Location of a valid #GTypeClass structure</doc> | |
| 15851 | + | filename="gobject/gtype.h" | |
| 15852 | + | line="649">Location of a valid #GTypeClass structure</doc> | |
| 13964 | 15853 | </parameter> | |
| 13965 | 15854 | </parameters> | |
| 13966 | 15855 | </function-macro> | |
| @@ -13968,16 +15857,16 @@ This macro should only be used in type implementations.</doc> | |||
| 13968 | 15857 | c:identifier="G_TYPE_FROM_INSTANCE" | |
| 13969 | 15858 | introspectable="0"> | |
| 13970 | 15859 | <doc xml:space="preserve" | |
| 13971 | - | filename="gtype.h" | |
| 13972 | - | line="609">Get the type identifier from a given @instance structure. | |
| 15860 | + | filename="gobject/gtype.h" | |
| 15861 | + | line="636">Get the type identifier from a given @instance structure. | |
| 13973 | 15862 | ||
| 13974 | 15863 | This macro should only be used in type implementations.</doc> | |
| 13975 | - | <source-position filename="gtype.h" line="619"/> | |
| 15864 | + | <source-position filename="gobject/gtype.h" line="646"/> | |
| 13976 | 15865 | <parameters> | |
| 13977 | 15866 | <parameter name="instance"> | |
| 13978 | 15867 | <doc xml:space="preserve" | |
| 13979 | - | filename="gtype.h" | |
| 13980 | - | line="611">Location of a valid #GTypeInstance structure</doc> | |
| 15868 | + | filename="gobject/gtype.h" | |
| 15869 | + | line="638">Location of a valid #GTypeInstance structure</doc> | |
| 13981 | 15870 | </parameter> | |
| 13982 | 15871 | </parameters> | |
| 13983 | 15872 | </function-macro> | |
| @@ -13985,16 +15874,16 @@ This macro should only be used in type implementations.</doc> | |||
| 13985 | 15874 | c:identifier="G_TYPE_FROM_INTERFACE" | |
| 13986 | 15875 | introspectable="0"> | |
| 13987 | 15876 | <doc xml:space="preserve" | |
| 13988 | - | filename="gtype.h" | |
| 13989 | - | line="631">Get the type identifier from a given @interface structure. | |
| 15877 | + | filename="gobject/gtype.h" | |
| 15878 | + | line="658">Get the type identifier from a given @interface structure. | |
| 13990 | 15879 | ||
| 13991 | 15880 | This macro should only be used in type implementations.</doc> | |
| 13992 | - | <source-position filename="gtype.h" line="641"/> | |
| 15881 | + | <source-position filename="gobject/gtype.h" line="668"/> | |
| 13993 | 15882 | <parameters> | |
| 13994 | 15883 | <parameter name="g_iface"> | |
| 13995 | 15884 | <doc xml:space="preserve" | |
| 13996 | - | filename="gtype.h" | |
| 13997 | - | line="633">Location of a valid #GTypeInterface structure</doc> | |
| 15885 | + | filename="gobject/gtype.h" | |
| 15886 | + | line="660">Location of a valid #GTypeInterface structure</doc> | |
| 13998 | 15887 | </parameter> | |
| 13999 | 15888 | </parameters> | |
| 14000 | 15889 | </function-macro> | |
| @@ -14002,51 +15891,51 @@ This macro should only be used in type implementations.</doc> | |||
| 14002 | 15891 | c:identifier="G_TYPE_FUNDAMENTAL" | |
| 14003 | 15892 | introspectable="0"> | |
| 14004 | 15893 | <doc xml:space="preserve" | |
| 14005 | - | filename="gtype.h" | |
| 14006 | - | line="30">The fundamental type which is the ancestor of @type. | |
| 15894 | + | filename="gobject/gtype.h" | |
| 15895 | + | line="33">The fundamental type which is the ancestor of @type. | |
| 14007 | 15896 | ||
| 14008 | 15897 | Fundamental types are types that serve as ultimate bases for the derived types, | |
| 14009 | 15898 | thus they are the roots of distinct inheritance hierarchies.</doc> | |
| 14010 | - | <source-position filename="gtype.h" line="39"/> | |
| 15899 | + | <source-position filename="gobject/gtype.h" line="42"/> | |
| 14011 | 15900 | <parameters> | |
| 14012 | 15901 | <parameter name="type"> | |
| 14013 | 15902 | <doc xml:space="preserve" | |
| 14014 | - | filename="gtype.h" | |
| 14015 | - | line="32">A #GType value.</doc> | |
| 15903 | + | filename="gobject/gtype.h" | |
| 15904 | + | line="35">A #GType value.</doc> | |
| 14016 | 15905 | </parameter> | |
| 14017 | 15906 | </parameters> | |
| 14018 | 15907 | </function-macro> | |
| 14019 | 15908 | <constant name="TYPE_FUNDAMENTAL_MAX" | |
| 14020 | - | value="255" | |
| 15909 | + | value="1020" | |
| 14021 | 15910 | c:type="G_TYPE_FUNDAMENTAL_MAX"> | |
| 14022 | 15911 | <doc xml:space="preserve" | |
| 14023 | - | filename="gtype.h" | |
| 14024 | - | line="40">An integer constant that represents the number of identifiers reserved | |
| 15912 | + | filename="gobject/gtype.h" | |
| 15913 | + | line="49">An integer constant that represents the number of identifiers reserved | |
| 14025 | 15914 | for types that are assigned at compile-time.</doc> | |
| 14026 | - | <source-position filename="gtype.h" line="46"/> | |
| 15915 | + | <source-position filename="gobject/gtype.h" line="55"/> | |
| 14027 | 15916 | <type name="gint" c:type="gint"/> | |
| 14028 | 15917 | </constant> | |
| 14029 | 15918 | <constant name="TYPE_FUNDAMENTAL_SHIFT" | |
| 14030 | 15919 | value="2" | |
| 14031 | 15920 | c:type="G_TYPE_FUNDAMENTAL_SHIFT"> | |
| 14032 | 15921 | <doc xml:space="preserve" | |
| 14033 | - | filename="gtype.h" | |
| 14034 | - | line="207">Shift value used in converting numbers to type IDs.</doc> | |
| 14035 | - | <source-position filename="gtype.h" line="212"/> | |
| 15922 | + | filename="gobject/gtype.h" | |
| 15923 | + | line="43">Shift value used in converting numbers to type IDs.</doc> | |
| 15924 | + | <source-position filename="gobject/gtype.h" line="48"/> | |
| 14036 | 15925 | <type name="gint" c:type="gint"/> | |
| 14037 | 15926 | </constant> | |
| 14038 | 15927 | <function-macro name="TYPE_HAS_VALUE_TABLE" | |
| 14039 | 15928 | c:identifier="G_TYPE_HAS_VALUE_TABLE" | |
| 14040 | 15929 | introspectable="0"> | |
| 14041 | 15930 | <doc xml:space="preserve" | |
| 14042 | - | filename="gtype.h" | |
| 14043 | - | line="368">Checks if @type has a #GTypeValueTable.</doc> | |
| 14044 | - | <source-position filename="gtype.h" line="376"/> | |
| 15931 | + | filename="gobject/gtype.h" | |
| 15932 | + | line="380">Checks if @type has a #GTypeValueTable.</doc> | |
| 15933 | + | <source-position filename="gobject/gtype.h" line="388"/> | |
| 14045 | 15934 | <parameters> | |
| 14046 | 15935 | <parameter name="type"> | |
| 14047 | 15936 | <doc xml:space="preserve" | |
| 14048 | - | filename="gtype.h" | |
| 14049 | - | line="370">A #GType value</doc> | |
| 15937 | + | filename="gobject/gtype.h" | |
| 15938 | + | line="382">A #GType value</doc> | |
| 14050 | 15939 | </parameter> | |
| 14051 | 15940 | </parameters> | |
| 14052 | 15941 | </function-macro> | |
| @@ -14054,30 +15943,30 @@ for types that are assigned at compile-time.</doc> | |||
| 14054 | 15943 | c:identifier="G_TYPE_INSTANCE_GET_CLASS" | |
| 14055 | 15944 | introspectable="0"> | |
| 14056 | 15945 | <doc xml:space="preserve" | |
| 14057 | - | filename="gtype.h" | |
| 14058 | - | line="528">Get the class structure of a given @instance, casted | |
| 15946 | + | filename="gobject/gtype.h" | |
| 15947 | + | line="555">Get the class structure of a given @instance, casted | |
| 14059 | 15948 | to a specified ancestor type @g_type of the instance. | |
| 14060 | 15949 | ||
| 14061 | 15950 | Note that while calling a GInstanceInitFunc(), the class pointer | |
| 14062 | 15951 | gets modified, so it might not always return the expected pointer. | |
| 14063 | 15952 | ||
| 14064 | 15953 | This macro should only be used in type implementations.</doc> | |
| 14065 | - | <source-position filename="gtype.h" line="544"/> | |
| 15954 | + | <source-position filename="gobject/gtype.h" line="571"/> | |
| 14066 | 15955 | <parameters> | |
| 14067 | 15956 | <parameter name="instance"> | |
| 14068 | 15957 | <doc xml:space="preserve" | |
| 14069 | - | filename="gtype.h" | |
| 14070 | - | line="530">Location of the #GTypeInstance structure</doc> | |
| 15958 | + | filename="gobject/gtype.h" | |
| 15959 | + | line="557">Location of the #GTypeInstance structure</doc> | |
| 14071 | 15960 | </parameter> | |
| 14072 | 15961 | <parameter name="g_type"> | |
| 14073 | 15962 | <doc xml:space="preserve" | |
| 14074 | - | filename="gtype.h" | |
| 14075 | - | line="531">The #GType of the class to be returned</doc> | |
| 15963 | + | filename="gobject/gtype.h" | |
| 15964 | + | line="558">The #GType of the class to be returned</doc> | |
| 14076 | 15965 | </parameter> | |
| 14077 | 15966 | <parameter name="c_type"> | |
| 14078 | 15967 | <doc xml:space="preserve" | |
| 14079 | - | filename="gtype.h" | |
| 14080 | - | line="532">The C type of the class structure</doc> | |
| 15968 | + | filename="gobject/gtype.h" | |
| 15969 | + | line="559">The C type of the class structure</doc> | |
| 14081 | 15970 | </parameter> | |
| 14082 | 15971 | </parameters> | |
| 14083 | 15972 | </function-macro> | |
| @@ -14085,26 +15974,26 @@ This macro should only be used in type implementations.</doc> | |||
| 14085 | 15974 | c:identifier="G_TYPE_INSTANCE_GET_INTERFACE" | |
| 14086 | 15975 | introspectable="0"> | |
| 14087 | 15976 | <doc xml:space="preserve" | |
| 14088 | - | filename="gtype.h" | |
| 14089 | - | line="545">Get the interface structure for interface @g_type of a given @instance. | |
| 15977 | + | filename="gobject/gtype.h" | |
| 15978 | + | line="572">Get the interface structure for interface @g_type of a given @instance. | |
| 14090 | 15979 | ||
| 14091 | 15980 | This macro should only be used in type implementations.</doc> | |
| 14092 | - | <source-position filename="gtype.h" line="557"/> | |
| 15981 | + | <source-position filename="gobject/gtype.h" line="584"/> | |
| 14093 | 15982 | <parameters> | |
| 14094 | 15983 | <parameter name="instance"> | |
| 14095 | 15984 | <doc xml:space="preserve" | |
| 14096 | - | filename="gtype.h" | |
| 14097 | - | line="547">Location of the #GTypeInstance structure</doc> | |
| 15985 | + | filename="gobject/gtype.h" | |
| 15986 | + | line="574">Location of the #GTypeInstance structure</doc> | |
| 14098 | 15987 | </parameter> | |
| 14099 | 15988 | <parameter name="g_type"> | |
| 14100 | 15989 | <doc xml:space="preserve" | |
| 14101 | - | filename="gtype.h" | |
| 14102 | - | line="548">The #GType of the interface to be returned</doc> | |
| 15990 | + | filename="gobject/gtype.h" | |
| 15991 | + | line="575">The #GType of the interface to be returned</doc> | |
| 14103 | 15992 | </parameter> | |
| 14104 | 15993 | <parameter name="c_type"> | |
| 14105 | 15994 | <doc xml:space="preserve" | |
| 14106 | - | filename="gtype.h" | |
| 14107 | - | line="549">The C type of the interface structure</doc> | |
| 15995 | + | filename="gobject/gtype.h" | |
| 15996 | + | line="576">The C type of the interface structure</doc> | |
| 14108 | 15997 | </parameter> | |
| 14109 | 15998 | </parameters> | |
| 14110 | 15999 | </function-macro> | |
| @@ -14115,8 +16004,8 @@ This macro should only be used in type implementations.</doc> | |||
| 14115 | 16004 | deprecated="1" | |
| 14116 | 16005 | deprecated-version="2.58"> | |
| 14117 | 16006 | <doc xml:space="preserve" | |
| 14118 | - | filename="gtype.h" | |
| 14119 | - | line="643">Gets the private structure for a particular type. | |
| 16007 | + | filename="gobject/gtype.h" | |
| 16008 | + | line="670">Gets the private structure for a particular type. | |
| 14120 | 16009 | ||
| 14121 | 16010 | The private structure must have been registered in the | |
| 14122 | 16011 | class_init function with g_type_class_add_private(). | |
| @@ -14124,22 +16013,22 @@ class_init function with g_type_class_add_private(). | |||
| 14124 | 16013 | This macro should only be used in type implementations.</doc> | |
| 14125 | 16014 | <doc-deprecated xml:space="preserve">Use G_ADD_PRIVATE() and the generated | |
| 14126 | 16015 | `your_type_get_instance_private()` function instead</doc-deprecated> | |
| 14127 | - | <source-position filename="gtype.h" line="661"/> | |
| 16016 | + | <source-position filename="gobject/gtype.h" line="688"/> | |
| 14128 | 16017 | <parameters> | |
| 14129 | 16018 | <parameter name="instance"> | |
| 14130 | 16019 | <doc xml:space="preserve" | |
| 14131 | - | filename="gtype.h" | |
| 14132 | - | line="645">the instance of a type deriving from @private_type</doc> | |
| 16020 | + | filename="gobject/gtype.h" | |
| 16021 | + | line="672">the instance of a type deriving from @private_type</doc> | |
| 14133 | 16022 | </parameter> | |
| 14134 | 16023 | <parameter name="g_type"> | |
| 14135 | 16024 | <doc xml:space="preserve" | |
| 14136 | - | filename="gtype.h" | |
| 14137 | - | line="646">the type identifying which private data to retrieve</doc> | |
| 16025 | + | filename="gobject/gtype.h" | |
| 16026 | + | line="673">the type identifying which private data to retrieve</doc> | |
| 14138 | 16027 | </parameter> | |
| 14139 | 16028 | <parameter name="c_type"> | |
| 14140 | 16029 | <doc xml:space="preserve" | |
| 14141 | - | filename="gtype.h" | |
| 14142 | - | line="647">The C type for the private structure</doc> | |
| 16030 | + | filename="gobject/gtype.h" | |
| 16031 | + | line="674">The C type for the private structure</doc> | |
| 14143 | 16032 | </parameter> | |
| 14144 | 16033 | </parameters> | |
| 14145 | 16034 | </function-macro> | |
| @@ -14147,23 +16036,23 @@ This macro should only be used in type implementations.</doc> | |||
| 14147 | 16036 | c:identifier="G_TYPE_IS_ABSTRACT" | |
| 14148 | 16037 | introspectable="0"> | |
| 14149 | 16038 | <doc xml:space="preserve" | |
| 14150 | - | filename="gtype.h" | |
| 14151 | - | line="337">Checks if @type is an abstract type. An abstract type cannot be | |
| 16039 | + | filename="gobject/gtype.h" | |
| 16040 | + | line="349">Checks if @type is an abstract type. An abstract type cannot be | |
| 14152 | 16041 | instantiated and is normally used as an abstract base class for | |
| 14153 | 16042 | derived classes.</doc> | |
| 14154 | - | <source-position filename="gtype.h" line="347"/> | |
| 16043 | + | <source-position filename="gobject/gtype.h" line="359"/> | |
| 14155 | 16044 | <parameters> | |
| 14156 | 16045 | <parameter name="type"> | |
| 14157 | 16046 | <doc xml:space="preserve" | |
| 14158 | - | filename="gtype.h" | |
| 14159 | - | line="339">A #GType value</doc> | |
| 16047 | + | filename="gobject/gtype.h" | |
| 16048 | + | line="351">A #GType value</doc> | |
| 14160 | 16049 | </parameter> | |
| 14161 | 16050 | </parameters> | |
| 14162 | 16051 | </function-macro> | |
| 14163 | 16052 | <function-macro name="TYPE_IS_BOXED" | |
| 14164 | 16053 | c:identifier="G_TYPE_IS_BOXED" | |
| 14165 | 16054 | introspectable="0"> | |
| 14166 | - | <source-position filename="gboxed.h" line="33"/> | |
| 16055 | + | <source-position filename="gobject/gboxed.h" line="35"/> | |
| 14167 | 16056 | <parameters> | |
| 14168 | 16057 | <parameter name="type"> | |
| 14169 | 16058 | </parameter> | |
| @@ -14173,14 +16062,23 @@ derived classes.</doc> | |||
| 14173 | 16062 | c:identifier="G_TYPE_IS_CLASSED" | |
| 14174 | 16063 | introspectable="0"> | |
| 14175 | 16064 | <doc xml:space="preserve" | |
| 14176 | - | filename="gtype.h" | |
| 14177 | - | line="298">Checks if @type is a classed type.</doc> | |
| 14178 | - | <source-position filename="gtype.h" line="306"/> | |
| 16065 | + | filename="gobject/gtype.h" | |
| 16066 | + | line="301">Checks if @type is a classed type. | |
| 16067 | + | ||
| 16068 | + | A classed type has an associated #GTypeClass which can be derived to store | |
| 16069 | + | class-wide virtual function pointers and data for all instances of the type. | |
| 16070 | + | This allows for subclassing. All #GObjects are classed; none of the scalar | |
| 16071 | + | fundamental types built into GLib are classed. | |
| 16072 | + | ||
| 16073 | + | Interfaces are not classed: while their #GTypeInterface struct could be | |
| 16074 | + | considered similar to #GTypeClass, and classes can derive interfaces, | |
| 16075 | + | #GTypeInterface doesn’t allow for subclassing.</doc> | |
| 16076 | + | <source-position filename="gobject/gtype.h" line="318"/> | |
| 14179 | 16077 | <parameters> | |
| 14180 | 16078 | <parameter name="type"> | |
| 14181 | 16079 | <doc xml:space="preserve" | |
| 14182 | - | filename="gtype.h" | |
| 14183 | - | line="300">A #GType value</doc> | |
| 16080 | + | filename="gobject/gtype.h" | |
| 16081 | + | line="303">A #GType value</doc> | |
| 14184 | 16082 | </parameter> | |
| 14185 | 16083 | </parameters> | |
| 14186 | 16084 | </function-macro> | |
| @@ -14188,15 +16086,32 @@ derived classes.</doc> | |||
| 14188 | 16086 | c:identifier="G_TYPE_IS_DEEP_DERIVABLE" | |
| 14189 | 16087 | introspectable="0"> | |
| 14190 | 16088 | <doc xml:space="preserve" | |
| 14191 | - | filename="gtype.h" | |
| 14192 | - | line="327">Checks if @type is a deep derivable type. A deep derivable type | |
| 16089 | + | filename="gobject/gtype.h" | |
| 16090 | + | line="339">Checks if @type is a deep derivable type. A deep derivable type | |
| 14193 | 16091 | can be used as the base class of a deep (multi-level) class hierarchy.</doc> | |
| 14194 | - | <source-position filename="gtype.h" line="336"/> | |
| 16092 | + | <source-position filename="gobject/gtype.h" line="348"/> | |
| 16093 | + | <parameters> | |
| 16094 | + | <parameter name="type"> | |
| 16095 | + | <doc xml:space="preserve" | |
| 16096 | + | filename="gobject/gtype.h" | |
| 16097 | + | line="341">A #GType value</doc> | |
| 16098 | + | </parameter> | |
| 16099 | + | </parameters> | |
| 16100 | + | </function-macro> | |
| 16101 | + | <function-macro name="TYPE_IS_DEPRECATED" | |
| 16102 | + | c:identifier="G_TYPE_IS_DEPRECATED" | |
| 16103 | + | version="2.76" | |
| 16104 | + | introspectable="0"> | |
| 16105 | + | <doc xml:space="preserve" | |
| 16106 | + | filename="gobject/gtype.h" | |
| 16107 | + | line="402">Checks if @type is deprecated. Instantiating a deprecated type will | |
| 16108 | + | trigger a warning if running with `G_ENABLE_DIAGNOSTIC=1`.</doc> | |
| 16109 | + | <source-position filename="gobject/gtype.h" line="413"/> | |
| 14195 | 16110 | <parameters> | |
| 14196 | 16111 | <parameter name="type"> | |
| 14197 | 16112 | <doc xml:space="preserve" | |
| 14198 | - | filename="gtype.h" | |
| 14199 | - | line="329">A #GType value</doc> | |
| 16113 | + | filename="gobject/gtype.h" | |
| 16114 | + | line="404">a #GType value</doc> | |
| 14200 | 16115 | </parameter> | |
| 14201 | 16116 | </parameters> | |
| 14202 | 16117 | </function-macro> | |
| @@ -14204,15 +16119,15 @@ can be used as the base class of a deep (multi-level) class hierarchy.</doc> | |||
| 14204 | 16119 | c:identifier="G_TYPE_IS_DERIVABLE" | |
| 14205 | 16120 | introspectable="0"> | |
| 14206 | 16121 | <doc xml:space="preserve" | |
| 14207 | - | filename="gtype.h" | |
| 14208 | - | line="317">Checks if @type is a derivable type. A derivable type can | |
| 16122 | + | filename="gobject/gtype.h" | |
| 16123 | + | line="329">Checks if @type is a derivable type. A derivable type can | |
| 14209 | 16124 | be used as the base class of a flat (single-level) class hierarchy.</doc> | |
| 14210 | - | <source-position filename="gtype.h" line="326"/> | |
| 16125 | + | <source-position filename="gobject/gtype.h" line="338"/> | |
| 14211 | 16126 | <parameters> | |
| 14212 | 16127 | <parameter name="type"> | |
| 14213 | 16128 | <doc xml:space="preserve" | |
| 14214 | - | filename="gtype.h" | |
| 14215 | - | line="319">A #GType value</doc> | |
| 16129 | + | filename="gobject/gtype.h" | |
| 16130 | + | line="331">A #GType value</doc> | |
| 14216 | 16131 | </parameter> | |
| 14217 | 16132 | </parameters> | |
| 14218 | 16133 | </function-macro> | |
| @@ -14220,16 +16135,16 @@ be used as the base class of a flat (single-level) class hierarchy.</doc> | |||
| 14220 | 16135 | c:identifier="G_TYPE_IS_DERIVED" | |
| 14221 | 16136 | introspectable="0"> | |
| 14222 | 16137 | <doc xml:space="preserve" | |
| 14223 | - | filename="gtype.h" | |
| 14224 | - | line="271">Checks if @type is derived (or in object-oriented terminology: | |
| 16138 | + | filename="gobject/gtype.h" | |
| 16139 | + | line="274">Checks if @type is derived (or in object-oriented terminology: | |
| 14225 | 16140 | inherited) from another type (this holds true for all non-fundamental | |
| 14226 | 16141 | types).</doc> | |
| 14227 | - | <source-position filename="gtype.h" line="281"/> | |
| 16142 | + | <source-position filename="gobject/gtype.h" line="284"/> | |
| 14228 | 16143 | <parameters> | |
| 14229 | 16144 | <parameter name="type"> | |
| 14230 | 16145 | <doc xml:space="preserve" | |
| 14231 | - | filename="gtype.h" | |
| 14232 | - | line="273">A #GType value</doc> | |
| 16146 | + | filename="gobject/gtype.h" | |
| 16147 | + | line="276">A #GType value</doc> | |
| 14233 | 16148 | </parameter> | |
| 14234 | 16149 | </parameters> | |
| 14235 | 16150 | </function-macro> | |
| @@ -14237,14 +16152,14 @@ types).</doc> | |||
| 14237 | 16152 | c:identifier="G_TYPE_IS_ENUM" | |
| 14238 | 16153 | introspectable="0"> | |
| 14239 | 16154 | <doc xml:space="preserve" | |
| 14240 | - | filename="genums.h" | |
| 14241 | - | line="29">Checks whether @type "is a" %G_TYPE_ENUM.</doc> | |
| 14242 | - | <source-position filename="genums.h" line="37"/> | |
| 16155 | + | filename="gobject/genums.h" | |
| 16156 | + | line="31">Checks whether @type "is a" %G_TYPE_ENUM.</doc> | |
| 16157 | + | <source-position filename="gobject/genums.h" line="39"/> | |
| 14243 | 16158 | <parameters> | |
| 14244 | 16159 | <parameter name="type"> | |
| 14245 | 16160 | <doc xml:space="preserve" | |
| 14246 | - | filename="genums.h" | |
| 14247 | - | line="31">a #GType ID.</doc> | |
| 16161 | + | filename="gobject/genums.h" | |
| 16162 | + | line="33">a #GType ID.</doc> | |
| 14248 | 16163 | </parameter> | |
| 14249 | 16164 | </parameters> | |
| 14250 | 16165 | </function-macro> | |
| @@ -14253,15 +16168,15 @@ types).</doc> | |||
| 14253 | 16168 | version="2.70" | |
| 14254 | 16169 | introspectable="0"> | |
| 14255 | 16170 | <doc xml:space="preserve" | |
| 14256 | - | filename="gtype.h" | |
| 14257 | - | line="377">Checks if @type is a final type. A final type cannot be derived any | |
| 16171 | + | filename="gobject/gtype.h" | |
| 16172 | + | line="389">Checks if @type is a final type. A final type cannot be derived any | |
| 14258 | 16173 | further.</doc> | |
| 14259 | - | <source-position filename="gtype.h" line="388"/> | |
| 16174 | + | <source-position filename="gobject/gtype.h" line="400"/> | |
| 14260 | 16175 | <parameters> | |
| 14261 | 16176 | <parameter name="type"> | |
| 14262 | 16177 | <doc xml:space="preserve" | |
| 14263 | - | filename="gtype.h" | |
| 14264 | - | line="379">a #GType value</doc> | |
| 16178 | + | filename="gobject/gtype.h" | |
| 16179 | + | line="391">a #GType value</doc> | |
| 14265 | 16180 | </parameter> | |
| 14266 | 16181 | </parameters> | |
| 14267 | 16182 | </function-macro> | |
| @@ -14269,14 +16184,14 @@ further.</doc> | |||
| 14269 | 16184 | c:identifier="G_TYPE_IS_FLAGS" | |
| 14270 | 16185 | introspectable="0"> | |
| 14271 | 16186 | <doc xml:space="preserve" | |
| 14272 | - | filename="genums.h" | |
| 14273 | - | line="73">Checks whether @type "is a" %G_TYPE_FLAGS.</doc> | |
| 14274 | - | <source-position filename="genums.h" line="81"/> | |
| 16187 | + | filename="gobject/genums.h" | |
| 16188 | + | line="75">Checks whether @type "is a" %G_TYPE_FLAGS.</doc> | |
| 16189 | + | <source-position filename="gobject/genums.h" line="83"/> | |
| 14275 | 16190 | <parameters> | |
| 14276 | 16191 | <parameter name="type"> | |
| 14277 | 16192 | <doc xml:space="preserve" | |
| 14278 | - | filename="genums.h" | |
| 14279 | - | line="75">a #GType ID.</doc> | |
| 16193 | + | filename="gobject/genums.h" | |
| 16194 | + | line="77">a #GType ID.</doc> | |
| 14280 | 16195 | </parameter> | |
| 14281 | 16196 | </parameters> | |
| 14282 | 16197 | </function-macro> | |
| @@ -14284,14 +16199,14 @@ further.</doc> | |||
| 14284 | 16199 | c:identifier="G_TYPE_IS_FUNDAMENTAL" | |
| 14285 | 16200 | introspectable="0"> | |
| 14286 | 16201 | <doc xml:space="preserve" | |
| 14287 | - | filename="gtype.h" | |
| 14288 | - | line="262">Checks if @type is a fundamental type.</doc> | |
| 14289 | - | <source-position filename="gtype.h" line="270"/> | |
| 16202 | + | filename="gobject/gtype.h" | |
| 16203 | + | line="265">Checks if @type is a fundamental type.</doc> | |
| 16204 | + | <source-position filename="gobject/gtype.h" line="273"/> | |
| 14290 | 16205 | <parameters> | |
| 14291 | 16206 | <parameter name="type"> | |
| 14292 | 16207 | <doc xml:space="preserve" | |
| 14293 | - | filename="gtype.h" | |
| 14294 | - | line="264">A #GType value</doc> | |
| 16208 | + | filename="gobject/gtype.h" | |
| 16209 | + | line="267">A #GType value</doc> | |
| 14295 | 16210 | </parameter> | |
| 14296 | 16211 | </parameters> | |
| 14297 | 16212 | </function-macro> | |
| @@ -14299,15 +16214,15 @@ further.</doc> | |||
| 14299 | 16214 | c:identifier="G_TYPE_IS_INSTANTIATABLE" | |
| 14300 | 16215 | introspectable="0"> | |
| 14301 | 16216 | <doc xml:space="preserve" | |
| 14302 | - | filename="gtype.h" | |
| 14303 | - | line="307">Checks if @type can be instantiated. Instantiation is the | |
| 16217 | + | filename="gobject/gtype.h" | |
| 16218 | + | line="319">Checks if @type can be instantiated. Instantiation is the | |
| 14304 | 16219 | process of creating an instance (object) of this type.</doc> | |
| 14305 | - | <source-position filename="gtype.h" line="316"/> | |
| 16220 | + | <source-position filename="gobject/gtype.h" line="328"/> | |
| 14306 | 16221 | <parameters> | |
| 14307 | 16222 | <parameter name="type"> | |
| 14308 | 16223 | <doc xml:space="preserve" | |
| 14309 | - | filename="gtype.h" | |
| 14310 | - | line="309">A #GType value</doc> | |
| 16224 | + | filename="gobject/gtype.h" | |
| 16225 | + | line="321">A #GType value</doc> | |
| 14311 | 16226 | </parameter> | |
| 14312 | 16227 | </parameters> | |
| 14313 | 16228 | </function-macro> | |
| @@ -14315,8 +16230,8 @@ process of creating an instance (object) of this type.</doc> | |||
| 14315 | 16230 | c:identifier="G_TYPE_IS_INTERFACE" | |
| 14316 | 16231 | introspectable="0"> | |
| 14317 | 16232 | <doc xml:space="preserve" | |
| 14318 | - | filename="gtype.h" | |
| 14319 | - | line="282">Checks if @type is an interface type. | |
| 16233 | + | filename="gobject/gtype.h" | |
| 16234 | + | line="285">Checks if @type is an interface type. | |
| 14320 | 16235 | ||
| 14321 | 16236 | An interface type provides a pure API, the implementation | |
| 14322 | 16237 | of which is provided by another type (which is then said to conform | |
| @@ -14324,12 +16239,12 @@ to the interface). GLib interfaces are somewhat analogous to Java | |||
| 14324 | 16239 | interfaces and C++ classes containing only pure virtual functions, | |
| 14325 | 16240 | with the difference that GType interfaces are not derivable (but see | |
| 14326 | 16241 | g_type_interface_add_prerequisite() for an alternative).</doc> | |
| 14327 | - | <source-position filename="gtype.h" line="297"/> | |
| 16242 | + | <source-position filename="gobject/gtype.h" line="300"/> | |
| 14328 | 16243 | <parameters> | |
| 14329 | 16244 | <parameter name="type"> | |
| 14330 | 16245 | <doc xml:space="preserve" | |
| 14331 | - | filename="gtype.h" | |
| 14332 | - | line="284">A #GType value</doc> | |
| 16246 | + | filename="gobject/gtype.h" | |
| 16247 | + | line="287">A #GType value</doc> | |
| 14333 | 16248 | </parameter> | |
| 14334 | 16249 | </parameters> | |
| 14335 | 16250 | </function-macro> | |
| @@ -14337,14 +16252,14 @@ g_type_interface_add_prerequisite() for an alternative).</doc> | |||
| 14337 | 16252 | c:identifier="G_TYPE_IS_OBJECT" | |
| 14338 | 16253 | introspectable="0"> | |
| 14339 | 16254 | <doc xml:space="preserve" | |
| 14340 | - | filename="gobject.h" | |
| 14341 | - | line="34">Check if the passed in type id is a %G_TYPE_OBJECT or derived from it.</doc> | |
| 14342 | - | <source-position filename="gobject.h" line="42"/> | |
| 16255 | + | filename="gobject/gobject.h" | |
| 16256 | + | line="36">Check if the passed in type id is a %G_TYPE_OBJECT or derived from it.</doc> | |
| 16257 | + | <source-position filename="gobject/gobject.h" line="44"/> | |
| 14343 | 16258 | <parameters> | |
| 14344 | 16259 | <parameter name="type"> | |
| 14345 | 16260 | <doc xml:space="preserve" | |
| 14346 | - | filename="gobject.h" | |
| 14347 | - | line="36">Type id to check</doc> | |
| 16261 | + | filename="gobject/gobject.h" | |
| 16262 | + | line="38">Type id to check</doc> | |
| 14348 | 16263 | </parameter> | |
| 14349 | 16264 | </parameters> | |
| 14350 | 16265 | </function-macro> | |
| @@ -14352,14 +16267,14 @@ g_type_interface_add_prerequisite() for an alternative).</doc> | |||
| 14352 | 16267 | c:identifier="G_TYPE_IS_PARAM" | |
| 14353 | 16268 | introspectable="0"> | |
| 14354 | 16269 | <doc xml:space="preserve" | |
| 14355 | - | filename="gparam.h" | |
| 14356 | - | line="31">Checks whether @type "is a" %G_TYPE_PARAM.</doc> | |
| 14357 | - | <source-position filename="gparam.h" line="37"/> | |
| 16270 | + | filename="gobject/gparam.h" | |
| 16271 | + | line="33">Checks whether @type "is a" %G_TYPE_PARAM.</doc> | |
| 16272 | + | <source-position filename="gobject/gparam.h" line="39"/> | |
| 14358 | 16273 | <parameters> | |
| 14359 | 16274 | <parameter name="type"> | |
| 14360 | 16275 | <doc xml:space="preserve" | |
| 14361 | - | filename="gparam.h" | |
| 14362 | - | line="33">a #GType ID</doc> | |
| 16276 | + | filename="gobject/gparam.h" | |
| 16277 | + | line="35">a #GType ID</doc> | |
| 14363 | 16278 | </parameter> | |
| 14364 | 16279 | </parameters> | |
| 14365 | 16280 | </function-macro> | |
| @@ -14367,17 +16282,17 @@ g_type_interface_add_prerequisite() for an alternative).</doc> | |||
| 14367 | 16282 | c:identifier="G_TYPE_IS_VALUE" | |
| 14368 | 16283 | introspectable="0"> | |
| 14369 | 16284 | <doc xml:space="preserve" | |
| 14370 | - | filename="gvalue.h" | |
| 14371 | - | line="31">Checks whether the passed in type ID can be used for g_value_init(). | |
| 16285 | + | filename="gobject/gvalue.h" | |
| 16286 | + | line="33">Checks whether the passed in type ID can be used for g_value_init(). | |
| 14372 | 16287 | ||
| 14373 | 16288 | That is, this macro checks whether this type provides an implementation | |
| 14374 | 16289 | of the #GTypeValueTable functions required for a type to create a #GValue of.</doc> | |
| 14375 | - | <source-position filename="gvalue.h" line="42"/> | |
| 16290 | + | <source-position filename="gobject/gvalue.h" line="44"/> | |
| 14376 | 16291 | <parameters> | |
| 14377 | 16292 | <parameter name="type"> | |
| 14378 | 16293 | <doc xml:space="preserve" | |
| 14379 | - | filename="gvalue.h" | |
| 14380 | - | line="33">A #GType value.</doc> | |
| 16294 | + | filename="gobject/gvalue.h" | |
| 16295 | + | line="35">A #GType value.</doc> | |
| 14381 | 16296 | </parameter> | |
| 14382 | 16297 | </parameters> | |
| 14383 | 16298 | </function-macro> | |
| @@ -14385,16 +16300,16 @@ of the #GTypeValueTable functions required for a type to create a #GValue of.</d | |||
| 14385 | 16300 | c:identifier="G_TYPE_IS_VALUE_ABSTRACT" | |
| 14386 | 16301 | introspectable="0"> | |
| 14387 | 16302 | <doc xml:space="preserve" | |
| 14388 | - | filename="gtype.h" | |
| 14389 | - | line="348">Checks if @type is an abstract value type. An abstract value type introduces | |
| 16303 | + | filename="gobject/gtype.h" | |
| 16304 | + | line="360">Checks if @type is an abstract value type. An abstract value type introduces | |
| 14390 | 16305 | a value table, but can't be used for g_value_init() and is normally used as | |
| 14391 | 16306 | an abstract base type for derived value types.</doc> | |
| 14392 | - | <source-position filename="gtype.h" line="358"/> | |
| 16307 | + | <source-position filename="gobject/gtype.h" line="370"/> | |
| 14393 | 16308 | <parameters> | |
| 14394 | 16309 | <parameter name="type"> | |
| 14395 | 16310 | <doc xml:space="preserve" | |
| 14396 | - | filename="gtype.h" | |
| 14397 | - | line="350">A #GType value</doc> | |
| 16311 | + | filename="gobject/gtype.h" | |
| 16312 | + | line="362">A #GType value</doc> | |
| 14398 | 16313 | </parameter> | |
| 14399 | 16314 | </parameters> | |
| 14400 | 16315 | </function-macro> | |
| @@ -14402,14 +16317,14 @@ an abstract base type for derived value types.</doc> | |||
| 14402 | 16317 | c:identifier="G_TYPE_IS_VALUE_TYPE" | |
| 14403 | 16318 | introspectable="0"> | |
| 14404 | 16319 | <doc xml:space="preserve" | |
| 14405 | - | filename="gtype.h" | |
| 14406 | - | line="359">Checks if @type is a value type and can be used with g_value_init().</doc> | |
| 14407 | - | <source-position filename="gtype.h" line="367"/> | |
| 16320 | + | filename="gobject/gtype.h" | |
| 16321 | + | line="371">Checks if @type is a value type and can be used with g_value_init().</doc> | |
| 16322 | + | <source-position filename="gobject/gtype.h" line="379"/> | |
| 14408 | 16323 | <parameters> | |
| 14409 | 16324 | <parameter name="type"> | |
| 14410 | 16325 | <doc xml:space="preserve" | |
| 14411 | - | filename="gtype.h" | |
| 14412 | - | line="361">A #GType value</doc> | |
| 16326 | + | filename="gobject/gtype.h" | |
| 16327 | + | line="373">A #GType value</doc> | |
| 14413 | 16328 | </parameter> | |
| 14414 | 16329 | </parameters> | |
| 14415 | 16330 | </function-macro> | |
| @@ -14417,24 +16332,24 @@ an abstract base type for derived value types.</doc> | |||
| 14417 | 16332 | c:identifier="G_TYPE_MAKE_FUNDAMENTAL" | |
| 14418 | 16333 | introspectable="0"> | |
| 14419 | 16334 | <doc xml:space="preserve" | |
| 14420 | - | filename="gtype.h" | |
| 14421 | - | line="213">Get the type ID for the fundamental type number @x. | |
| 16335 | + | filename="gobject/gtype.h" | |
| 16336 | + | line="216">Get the type ID for the fundamental type number @x. | |
| 14422 | 16337 | ||
| 14423 | 16338 | Use g_type_fundamental_next() instead of this macro to create new fundamental | |
| 14424 | 16339 | types.</doc> | |
| 14425 | - | <source-position filename="gtype.h" line="224"/> | |
| 16340 | + | <source-position filename="gobject/gtype.h" line="227"/> | |
| 14426 | 16341 | <parameters> | |
| 14427 | 16342 | <parameter name="x"> | |
| 14428 | 16343 | <doc xml:space="preserve" | |
| 14429 | - | filename="gtype.h" | |
| 14430 | - | line="215">the fundamental type number.</doc> | |
| 16344 | + | filename="gobject/gtype.h" | |
| 16345 | + | line="218">the fundamental type number.</doc> | |
| 14431 | 16346 | </parameter> | |
| 14432 | 16347 | </parameters> | |
| 14433 | 16348 | </function-macro> | |
| 14434 | 16349 | <function-macro name="TYPE_MODULE" | |
| 14435 | 16350 | c:identifier="G_TYPE_MODULE" | |
| 14436 | 16351 | introspectable="0"> | |
| 14437 | - | <source-position filename="gtypemodule.h" line="33"/> | |
| 16352 | + | <source-position filename="gobject/gtypemodule.h" line="35"/> | |
| 14438 | 16353 | <parameters> | |
| 14439 | 16354 | <parameter name="module"> | |
| 14440 | 16355 | </parameter> | |
| @@ -14443,7 +16358,7 @@ types.</doc> | |||
| 14443 | 16358 | <function-macro name="TYPE_MODULE_CLASS" | |
| 14444 | 16359 | c:identifier="G_TYPE_MODULE_CLASS" | |
| 14445 | 16360 | introspectable="0"> | |
| 14446 | - | <source-position filename="gtypemodule.h" line="34"/> | |
| 16361 | + | <source-position filename="gobject/gtypemodule.h" line="36"/> | |
| 14447 | 16362 | <parameters> | |
| 14448 | 16363 | <parameter name="class"> | |
| 14449 | 16364 | </parameter> | |
| @@ -14452,7 +16367,7 @@ types.</doc> | |||
| 14452 | 16367 | <function-macro name="TYPE_MODULE_GET_CLASS" | |
| 14453 | 16368 | c:identifier="G_TYPE_MODULE_GET_CLASS" | |
| 14454 | 16369 | introspectable="0"> | |
| 14455 | - | <source-position filename="gtypemodule.h" line="37"/> | |
| 16370 | + | <source-position filename="gobject/gtypemodule.h" line="39"/> | |
| 14456 | 16371 | <parameters> | |
| 14457 | 16372 | <parameter name="module"> | |
| 14458 | 16373 | </parameter> | |
| @@ -14461,7 +16376,7 @@ types.</doc> | |||
| 14461 | 16376 | <function-macro name="TYPE_PLUGIN" | |
| 14462 | 16377 | c:identifier="G_TYPE_PLUGIN" | |
| 14463 | 16378 | introspectable="0"> | |
| 14464 | - | <source-position filename="gtypeplugin.h" line="30"/> | |
| 16379 | + | <source-position filename="gobject/gtypeplugin.h" line="32"/> | |
| 14465 | 16380 | <parameters> | |
| 14466 | 16381 | <parameter name="inst"> | |
| 14467 | 16382 | </parameter> | |
| @@ -14470,7 +16385,7 @@ types.</doc> | |||
| 14470 | 16385 | <function-macro name="TYPE_PLUGIN_CLASS" | |
| 14471 | 16386 | c:identifier="G_TYPE_PLUGIN_CLASS" | |
| 14472 | 16387 | introspectable="0"> | |
| 14473 | - | <source-position filename="gtypeplugin.h" line="31"/> | |
| 16388 | + | <source-position filename="gobject/gtypeplugin.h" line="33"/> | |
| 14474 | 16389 | <parameters> | |
| 14475 | 16390 | <parameter name="vtable"> | |
| 14476 | 16391 | </parameter> | |
| @@ -14479,7 +16394,7 @@ types.</doc> | |||
| 14479 | 16394 | <function-macro name="TYPE_PLUGIN_GET_CLASS" | |
| 14480 | 16395 | c:identifier="G_TYPE_PLUGIN_GET_CLASS" | |
| 14481 | 16396 | introspectable="0"> | |
| 14482 | - | <source-position filename="gtypeplugin.h" line="34"/> | |
| 16397 | + | <source-position filename="gobject/gtypeplugin.h" line="36"/> | |
| 14483 | 16398 | <parameters> | |
| 14484 | 16399 | <parameter name="inst"> | |
| 14485 | 16400 | </parameter> | |
| @@ -14489,58 +16404,68 @@ types.</doc> | |||
| 14489 | 16404 | value="32" | |
| 14490 | 16405 | c:type="G_TYPE_RESERVED_BSE_FIRST"> | |
| 14491 | 16406 | <doc xml:space="preserve" | |
| 14492 | - | filename="gtype.h" | |
| 14493 | - | line="238">First fundamental type number to create a new fundamental type id with | |
| 16407 | + | filename="gobject/gtype.h" | |
| 16408 | + | line="241">First fundamental type number to create a new fundamental type id with | |
| 14494 | 16409 | G_TYPE_MAKE_FUNDAMENTAL() reserved for BSE.</doc> | |
| 14495 | - | <source-position filename="gtype.h" line="244"/> | |
| 16410 | + | <source-position filename="gobject/gtype.h" line="247"/> | |
| 14496 | 16411 | <type name="gint" c:type="gint"/> | |
| 14497 | 16412 | </constant> | |
| 14498 | 16413 | <constant name="TYPE_RESERVED_BSE_LAST" | |
| 14499 | 16414 | value="48" | |
| 14500 | 16415 | c:type="G_TYPE_RESERVED_BSE_LAST"> | |
| 14501 | 16416 | <doc xml:space="preserve" | |
| 14502 | - | filename="gtype.h" | |
| 14503 | - | line="245">Last fundamental type number reserved for BSE.</doc> | |
| 14504 | - | <source-position filename="gtype.h" line="250"/> | |
| 16417 | + | filename="gobject/gtype.h" | |
| 16418 | + | line="248">Last fundamental type number reserved for BSE.</doc> | |
| 16419 | + | <source-position filename="gobject/gtype.h" line="253"/> | |
| 14505 | 16420 | <type name="gint" c:type="gint"/> | |
| 14506 | 16421 | </constant> | |
| 14507 | 16422 | <constant name="TYPE_RESERVED_GLIB_FIRST" | |
| 14508 | 16423 | value="22" | |
| 14509 | 16424 | c:type="G_TYPE_RESERVED_GLIB_FIRST"> | |
| 14510 | 16425 | <doc xml:space="preserve" | |
| 14511 | - | filename="gtype.h" | |
| 14512 | - | line="225">First fundamental type number to create a new fundamental type id with | |
| 16426 | + | filename="gobject/gtype.h" | |
| 16427 | + | line="228">First fundamental type number to create a new fundamental type id with | |
| 14513 | 16428 | G_TYPE_MAKE_FUNDAMENTAL() reserved for GLib.</doc> | |
| 14514 | - | <source-position filename="gtype.h" line="231"/> | |
| 16429 | + | <source-position filename="gobject/gtype.h" line="234"/> | |
| 14515 | 16430 | <type name="gint" c:type="gint"/> | |
| 14516 | 16431 | </constant> | |
| 14517 | 16432 | <constant name="TYPE_RESERVED_GLIB_LAST" | |
| 14518 | 16433 | value="31" | |
| 14519 | 16434 | c:type="G_TYPE_RESERVED_GLIB_LAST"> | |
| 14520 | 16435 | <doc xml:space="preserve" | |
| 14521 | - | filename="gtype.h" | |
| 14522 | - | line="232">Last fundamental type number reserved for GLib.</doc> | |
| 14523 | - | <source-position filename="gtype.h" line="237"/> | |
| 16436 | + | filename="gobject/gtype.h" | |
| 16437 | + | line="235">Last fundamental type number reserved for GLib.</doc> | |
| 16438 | + | <source-position filename="gobject/gtype.h" line="240"/> | |
| 14524 | 16439 | <type name="gint" c:type="gint"/> | |
| 14525 | 16440 | </constant> | |
| 14526 | 16441 | <constant name="TYPE_RESERVED_USER_FIRST" | |
| 14527 | 16442 | value="49" | |
| 14528 | 16443 | c:type="G_TYPE_RESERVED_USER_FIRST"> | |
| 14529 | 16444 | <doc xml:space="preserve" | |
| 14530 | - | filename="gtype.h" | |
| 14531 | - | line="251">First available fundamental type number to create new fundamental | |
| 16445 | + | filename="gobject/gtype.h" | |
| 16446 | + | line="254">First available fundamental type number to create new fundamental | |
| 14532 | 16447 | type id with G_TYPE_MAKE_FUNDAMENTAL().</doc> | |
| 14533 | - | <source-position filename="gtype.h" line="257"/> | |
| 16448 | + | <source-position filename="gobject/gtype.h" line="260"/> | |
| 14534 | 16449 | <type name="gint" c:type="gint"/> | |
| 14535 | 16450 | </constant> | |
| 16451 | + | <glib:boxed glib:name="Thread" | |
| 16452 | + | c:symbol-prefix="thread" | |
| 16453 | + | glib:type-name="GThread" | |
| 16454 | + | glib:get-type="g_thread_get_type"> | |
| 16455 | + | </glib:boxed> | |
| 16456 | + | <glib:boxed glib:name="TimeZone" | |
| 16457 | + | c:symbol-prefix="time_zone" | |
| 16458 | + | glib:type-name="GTimeZone" | |
| 16459 | + | glib:get-type="g_time_zone_get_type"> | |
| 16460 | + | </glib:boxed> | |
| 14536 | 16461 | <callback name="ToggleNotify" c:type="GToggleNotify"> | |
| 14537 | 16462 | <doc xml:space="preserve" | |
| 14538 | - | filename="gobject.h" | |
| 14539 | - | line="545">A callback function used for notification when the state | |
| 16463 | + | filename="gobject/gobject.h" | |
| 16464 | + | line="537">A callback function used for notification when the state | |
| 14540 | 16465 | of a toggle reference changes. | |
| 14541 | 16466 | ||
| 14542 | 16467 | See also: g_object_add_toggle_ref()</doc> | |
| 14543 | - | <source-position filename="gobject.h" line="559"/> | |
| 16468 | + | <source-position filename="gobject/gobject.h" line="551"/> | |
| 14544 | 16469 | <return-value transfer-ownership="none"> | |
| 14545 | 16470 | <type name="none" c:type="void"/> | |
| 14546 | 16471 | </return-value> | |
| @@ -14550,20 +16475,20 @@ See also: g_object_add_toggle_ref()</doc> | |||
| 14550 | 16475 | nullable="1" | |
| 14551 | 16476 | allow-none="1"> | |
| 14552 | 16477 | <doc xml:space="preserve" | |
| 14553 | - | filename="gobject.h" | |
| 14554 | - | line="547">Callback data passed to g_object_add_toggle_ref()</doc> | |
| 16478 | + | filename="gobject/gobject.h" | |
| 16479 | + | line="539">Callback data passed to g_object_add_toggle_ref()</doc> | |
| 14555 | 16480 | <type name="gpointer" c:type="gpointer"/> | |
| 14556 | 16481 | </parameter> | |
| 14557 | 16482 | <parameter name="object" transfer-ownership="none"> | |
| 14558 | 16483 | <doc xml:space="preserve" | |
| 14559 | - | filename="gobject.h" | |
| 14560 | - | line="548">The object on which g_object_add_toggle_ref() was called.</doc> | |
| 16484 | + | filename="gobject/gobject.h" | |
| 16485 | + | line="540">The object on which g_object_add_toggle_ref() was called.</doc> | |
| 14561 | 16486 | <type name="Object" c:type="GObject*"/> | |
| 14562 | 16487 | </parameter> | |
| 14563 | 16488 | <parameter name="is_last_ref" transfer-ownership="none"> | |
| 14564 | 16489 | <doc xml:space="preserve" | |
| 14565 | - | filename="gobject.h" | |
| 14566 | - | line="549">%TRUE if the toggle reference is now the | |
| 16490 | + | filename="gobject/gobject.h" | |
| 16491 | + | line="541">%TRUE if the toggle reference is now the | |
| 14567 | 16492 | last reference to the object. %FALSE if the toggle | |
| 14568 | 16493 | reference was the last reference and there are now other | |
| 14569 | 16494 | references.</doc> | |
| @@ -14571,14 +16496,52 @@ See also: g_object_add_toggle_ref()</doc> | |||
| 14571 | 16496 | </parameter> | |
| 14572 | 16497 | </parameters> | |
| 14573 | 16498 | </callback> | |
| 16499 | + | <glib:boxed glib:name="Tree" | |
| 16500 | + | c:symbol-prefix="tree" | |
| 16501 | + | glib:type-name="GTree" | |
| 16502 | + | glib:get-type="g_tree_get_type"> | |
| 16503 | + | </glib:boxed> | |
| 14574 | 16504 | <union name="TypeCValue" c:type="GTypeCValue"> | |
| 14575 | - | <source-position filename="gtype.h" line="405"/> | |
| 16505 | + | <doc xml:space="preserve" | |
| 16506 | + | filename="gobject/gvaluecollector.h" | |
| 16507 | + | line="46">A union holding one collected value.</doc> | |
| 16508 | + | <source-position filename="gobject/gvaluecollector.h" line="63"/> | |
| 16509 | + | <field name="v_int" writable="1"> | |
| 16510 | + | <doc xml:space="preserve" | |
| 16511 | + | filename="gobject/gvaluecollector.h" | |
| 16512 | + | line="48">the field for holding integer values</doc> | |
| 16513 | + | <type name="gint" c:type="gint"/> | |
| 16514 | + | </field> | |
| 16515 | + | <field name="v_long" writable="1"> | |
| 16516 | + | <doc xml:space="preserve" | |
| 16517 | + | filename="gobject/gvaluecollector.h" | |
| 16518 | + | line="49">the field for holding long integer values</doc> | |
| 16519 | + | <type name="glong" c:type="glong"/> | |
| 16520 | + | </field> | |
| 16521 | + | <field name="v_int64" writable="1"> | |
| 16522 | + | <doc xml:space="preserve" | |
| 16523 | + | filename="gobject/gvaluecollector.h" | |
| 16524 | + | line="50">the field for holding 64 bit integer values</doc> | |
| 16525 | + | <type name="gint64" c:type="gint64"/> | |
| 16526 | + | </field> | |
| 16527 | + | <field name="v_double" writable="1"> | |
| 16528 | + | <doc xml:space="preserve" | |
| 16529 | + | filename="gobject/gvaluecollector.h" | |
| 16530 | + | line="51">the field for holding floating point values</doc> | |
| 16531 | + | <type name="gdouble" c:type="gdouble"/> | |
| 16532 | + | </field> | |
| 16533 | + | <field name="v_pointer" writable="1"> | |
| 16534 | + | <doc xml:space="preserve" | |
| 16535 | + | filename="gobject/gvaluecollector.h" | |
| 16536 | + | line="52">the field for holding pointers</doc> | |
| 16537 | + | <type name="gpointer" c:type="gpointer"/> | |
| 16538 | + | </field> | |
| 14576 | 16539 | </union> | |
| 14577 | 16540 | <record name="TypeClass" c:type="GTypeClass"> | |
| 14578 | 16541 | <doc xml:space="preserve" | |
| 14579 | - | filename="gtype.h" | |
| 14580 | - | line="419">An opaque structure used as the base of all classes.</doc> | |
| 14581 | - | <source-position filename="gtype.h" line="428"/> | |
| 16542 | + | filename="gobject/gtype.h" | |
| 16543 | + | line="446">An opaque structure used as the base of all classes.</doc> | |
| 16544 | + | <source-position filename="gobject/gtype.h" line="455"/> | |
| 14582 | 16545 | <field name="g_type" readable="0" private="1"> | |
| 14583 | 16546 | <type name="GType" c:type="GType"/> | |
| 14584 | 16547 | </field> | |
| @@ -14588,8 +16551,8 @@ See also: g_object_add_toggle_ref()</doc> | |||
| 14588 | 16551 | deprecated="1" | |
| 14589 | 16552 | deprecated-version="2.58"> | |
| 14590 | 16553 | <doc xml:space="preserve" | |
| 14591 | - | filename="gobject-2.0.c" | |
| 14592 | - | line="5817">Registers a private structure for an instantiatable type. | |
| 16554 | + | filename="gobject/gtype.c" | |
| 16555 | + | line="4441">Registers a private structure for an instantiatable type. | |
| 14593 | 16556 | ||
| 14594 | 16557 | When an object is allocated, the private structures for | |
| 14595 | 16558 | the type and all of its parent types are allocated | |
| @@ -14653,22 +16616,22 @@ my_object_get_some_field (MyObject *my_object) | |||
| 14653 | 16616 | ]|</doc> | |
| 14654 | 16617 | <doc-deprecated xml:space="preserve">Use the G_ADD_PRIVATE() macro with the `G_DEFINE_*` | |
| 14655 | 16618 | family of macros to add instance private data to a type</doc-deprecated> | |
| 14656 | - | <source-position filename="gtype.h" line="1346"/> | |
| 16619 | + | <source-position filename="gobject/gtype.h" line="1503"/> | |
| 14657 | 16620 | <return-value transfer-ownership="none"> | |
| 14658 | 16621 | <type name="none" c:type="void"/> | |
| 14659 | 16622 | </return-value> | |
| 14660 | 16623 | <parameters> | |
| 14661 | 16624 | <instance-parameter name="g_class" transfer-ownership="none"> | |
| 14662 | 16625 | <doc xml:space="preserve" | |
| 14663 | - | filename="gobject-2.0.c" | |
| 14664 | - | line="5819">class structure for an instantiatable | |
| 16626 | + | filename="gobject/gtype.c" | |
| 16627 | + | line="4443">class structure for an instantiatable | |
| 14665 | 16628 | type</doc> | |
| 14666 | 16629 | <type name="TypeClass" c:type="gpointer"/> | |
| 14667 | 16630 | </instance-parameter> | |
| 14668 | 16631 | <parameter name="private_size" transfer-ownership="none"> | |
| 14669 | 16632 | <doc xml:space="preserve" | |
| 14670 | - | filename="gobject-2.0.c" | |
| 14671 | - | line="5821">size of private structure</doc> | |
| 16633 | + | filename="gobject/gtype.c" | |
| 16634 | + | line="4445">size of private structure</doc> | |
| 14672 | 16635 | <type name="gsize" c:type="gsize"/> | |
| 14673 | 16636 | </parameter> | |
| 14674 | 16637 | </parameters> | |
| @@ -14678,8 +16641,8 @@ my_object_get_some_field (MyObject *my_object) | |||
| 14678 | 16641 | version="2.38" | |
| 14679 | 16642 | introspectable="0"> | |
| 14680 | 16643 | <doc xml:space="preserve" | |
| 14681 | - | filename="gobject-2.0.c" | |
| 14682 | - | line="5892">Gets the offset of the private data for instances of @g_class. | |
| 16644 | + | filename="gobject/gtype.c" | |
| 16645 | + | line="4676">Gets the offset of the private data for instances of @g_class. | |
| 14683 | 16646 | ||
| 14684 | 16647 | This is how many bytes you should add to the instance pointer of a | |
| 14685 | 16648 | class in order to get the private data for the type represented by | |
| @@ -14687,24 +16650,24 @@ class in order to get the private data for the type represented by | |||
| 14687 | 16650 | ||
| 14688 | 16651 | You can only call this function after you have registered a private | |
| 14689 | 16652 | data area for @g_class using g_type_class_add_private().</doc> | |
| 14690 | - | <source-position filename="gtype.h" line="1365"/> | |
| 16653 | + | <source-position filename="gobject/gtype.h" line="1522"/> | |
| 14691 | 16654 | <return-value transfer-ownership="none"> | |
| 14692 | 16655 | <doc xml:space="preserve" | |
| 14693 | - | filename="gobject-2.0.c" | |
| 14694 | - | line="5905">the offset, in bytes</doc> | |
| 16656 | + | filename="gobject/gtype.c" | |
| 16657 | + | line="4689">the offset, in bytes</doc> | |
| 14695 | 16658 | <type name="gint" c:type="gint"/> | |
| 14696 | 16659 | </return-value> | |
| 14697 | 16660 | <parameters> | |
| 14698 | 16661 | <instance-parameter name="g_class" transfer-ownership="none"> | |
| 14699 | 16662 | <doc xml:space="preserve" | |
| 14700 | - | filename="gobject-2.0.c" | |
| 14701 | - | line="5894">a #GTypeClass</doc> | |
| 16663 | + | filename="gobject/gtype.c" | |
| 16664 | + | line="4678">a #GTypeClass</doc> | |
| 14702 | 16665 | <type name="TypeClass" c:type="gpointer"/> | |
| 14703 | 16666 | </instance-parameter> | |
| 14704 | 16667 | </parameters> | |
| 14705 | 16668 | </method> | |
| 14706 | 16669 | <method name="get_private" c:identifier="g_type_class_get_private"> | |
| 14707 | - | <source-position filename="gtype.h" line="1362"/> | |
| 16670 | + | <source-position filename="gobject/gtype.h" line="1519"/> | |
| 14708 | 16671 | <return-value transfer-ownership="none" nullable="1"> | |
| 14709 | 16672 | <type name="gpointer" c:type="gpointer"/> | |
| 14710 | 16673 | </return-value> | |
| @@ -14719,78 +16682,92 @@ data area for @g_class using g_type_class_add_private().</doc> | |||
| 14719 | 16682 | </method> | |
| 14720 | 16683 | <method name="peek_parent" c:identifier="g_type_class_peek_parent"> | |
| 14721 | 16684 | <doc xml:space="preserve" | |
| 14722 | - | filename="gobject-2.0.c" | |
| 14723 | - | line="5926">This is a convenience function often needed in class initializers. | |
| 14724 | - | It returns the class structure of the immediate parent type of the | |
| 14725 | - | class passed in. Since derived classes hold a reference count on | |
| 14726 | - | their parent classes as long as they are instantiated, the returned | |
| 14727 | - | class will always exist. | |
| 16685 | + | filename="gobject/gtype.c" | |
| 16686 | + | line="2897">Retrieves the class structure of the immediate parent type of the | |
| 16687 | + | class passed in. | |
| 16688 | + | ||
| 16689 | + | This is a convenience function often needed in class initializers. | |
| 16690 | + | ||
| 16691 | + | Since derived classes hold a reference on their parent classes as | |
| 16692 | + | long as they are instantiated, the returned class will always exist. | |
| 14728 | 16693 | ||
| 14729 | 16694 | This function is essentially equivalent to: | |
| 14730 | 16695 | g_type_class_peek (g_type_parent (G_TYPE_FROM_CLASS (g_class)))</doc> | |
| 14731 | - | <source-position filename="gtype.h" line="740"/> | |
| 16696 | + | <source-position filename="gobject/gtype.h" line="773"/> | |
| 14732 | 16697 | <return-value transfer-ownership="none"> | |
| 14733 | 16698 | <doc xml:space="preserve" | |
| 14734 | - | filename="gobject-2.0.c" | |
| 14735 | - | line="5940">the parent class | |
| 14736 | - | of @g_class</doc> | |
| 16699 | + | filename="gobject/gtype.c" | |
| 16700 | + | line="2913">the parent class | |
| 16701 | + | of @g_class</doc> | |
| 14737 | 16702 | <type name="TypeClass" c:type="gpointer"/> | |
| 14738 | 16703 | </return-value> | |
| 14739 | 16704 | <parameters> | |
| 14740 | 16705 | <instance-parameter name="g_class" transfer-ownership="none"> | |
| 14741 | 16706 | <doc xml:space="preserve" | |
| 14742 | - | filename="gobject-2.0.c" | |
| 14743 | - | line="5928">the #GTypeClass structure to | |
| 14744 | - | retrieve the parent class for</doc> | |
| 16707 | + | filename="gobject/gtype.c" | |
| 16708 | + | line="2899">the #GTypeClass structure to | |
| 16709 | + | retrieve the parent class for</doc> | |
| 14745 | 16710 | <type name="TypeClass" c:type="gpointer"/> | |
| 14746 | 16711 | </instance-parameter> | |
| 14747 | 16712 | </parameters> | |
| 14748 | 16713 | </method> | |
| 14749 | - | <method name="unref" c:identifier="g_type_class_unref"> | |
| 16714 | + | <method name="unref" | |
| 16715 | + | c:identifier="g_type_class_unref" | |
| 16716 | + | deprecated="1" | |
| 16717 | + | deprecated-version="2.84"> | |
| 14750 | 16718 | <doc xml:space="preserve" | |
| 14751 | - | filename="gobject-2.0.c" | |
| 14752 | - | line="5972">Decrements the reference count of the class structure being passed in. | |
| 16719 | + | filename="gobject/gtype.c" | |
| 16720 | + | line="2790">Decrements the reference count of the class structure being passed in. | |
| 16721 | + | ||
| 14753 | 16722 | Once the last reference count of a class has been released, classes | |
| 14754 | 16723 | may be finalized by the type system, so further dereferencing of a | |
| 14755 | 16724 | class pointer after g_type_class_unref() are invalid.</doc> | |
| 14756 | - | <source-position filename="gtype.h" line="738"/> | |
| 16725 | + | <doc-deprecated xml:space="preserve">Type class reference counting has been removed and type | |
| 16726 | + | classes now cannot be finalized. This function no longer does anything.</doc-deprecated> | |
| 16727 | + | <source-position filename="gobject/gtype.h" line="771"/> | |
| 14757 | 16728 | <return-value transfer-ownership="none"> | |
| 14758 | 16729 | <type name="none" c:type="void"/> | |
| 14759 | 16730 | </return-value> | |
| 14760 | 16731 | <parameters> | |
| 14761 | 16732 | <instance-parameter name="g_class" transfer-ownership="none"> | |
| 14762 | 16733 | <doc xml:space="preserve" | |
| 14763 | - | filename="gobject-2.0.c" | |
| 14764 | - | line="5974">a #GTypeClass structure to unref</doc> | |
| 16734 | + | filename="gobject/gtype.c" | |
| 16735 | + | line="2792">a #GTypeClass structure to unref</doc> | |
| 14765 | 16736 | <type name="TypeClass" c:type="gpointer"/> | |
| 14766 | 16737 | </instance-parameter> | |
| 14767 | 16738 | </parameters> | |
| 14768 | 16739 | </method> | |
| 14769 | 16740 | <method name="unref_uncached" | |
| 14770 | 16741 | c:identifier="g_type_class_unref_uncached" | |
| 14771 | - | introspectable="0"> | |
| 16742 | + | introspectable="0" | |
| 16743 | + | deprecated="1" | |
| 16744 | + | deprecated-version="2.84"> | |
| 14772 | 16745 | <doc xml:space="preserve" | |
| 14773 | - | filename="gobject-2.0.c" | |
| 14774 | - | line="5983">A variant of g_type_class_unref() for use in #GTypeClassCacheFunc | |
| 14775 | - | implementations. It unreferences a class without consulting the chain | |
| 16746 | + | filename="gobject/gtype.c" | |
| 16747 | + | line="2808">A variant of g_type_class_unref() for use in #GTypeClassCacheFunc | |
| 16748 | + | implementations. | |
| 16749 | + | ||
| 16750 | + | It unreferences a class without consulting the chain | |
| 14776 | 16751 | of #GTypeClassCacheFuncs, avoiding the recursion which would occur | |
| 14777 | 16752 | otherwise.</doc> | |
| 14778 | - | <source-position filename="gtype.h" line="2405"/> | |
| 16753 | + | <doc-deprecated xml:space="preserve">Type class reference counting has been removed and type | |
| 16754 | + | classes now cannot be finalized. This function no longer does anything.</doc-deprecated> | |
| 16755 | + | <source-position filename="gobject/gtype.h" line="2610"/> | |
| 14779 | 16756 | <return-value transfer-ownership="none"> | |
| 14780 | 16757 | <type name="none" c:type="void"/> | |
| 14781 | 16758 | </return-value> | |
| 14782 | 16759 | <parameters> | |
| 14783 | 16760 | <instance-parameter name="g_class" transfer-ownership="none"> | |
| 14784 | 16761 | <doc xml:space="preserve" | |
| 14785 | - | filename="gobject-2.0.c" | |
| 14786 | - | line="5985">a #GTypeClass structure to unref</doc> | |
| 16762 | + | filename="gobject/gtype.c" | |
| 16763 | + | line="2810">a #GTypeClass structure to unref</doc> | |
| 14787 | 16764 | <type name="TypeClass" c:type="gpointer"/> | |
| 14788 | 16765 | </instance-parameter> | |
| 14789 | 16766 | </parameters> | |
| 14790 | 16767 | </method> | |
| 14791 | 16768 | <function name="adjust_private_offset" | |
| 14792 | 16769 | c:identifier="g_type_class_adjust_private_offset"> | |
| 14793 | - | <source-position filename="gtype.h" line="1355"/> | |
| 16770 | + | <source-position filename="gobject/gtype.h" line="1512"/> | |
| 14794 | 16771 | <return-value transfer-ownership="none"> | |
| 14795 | 16772 | <type name="none" c:type="void"/> | |
| 14796 | 16773 | </return-value> | |
| @@ -14806,28 +16783,57 @@ otherwise.</doc> | |||
| 14806 | 16783 | </parameter> | |
| 14807 | 16784 | </parameters> | |
| 14808 | 16785 | </function> | |
| 16786 | + | <function name="get" c:identifier="g_type_class_get" version="2.84"> | |
| 16787 | + | <doc xml:space="preserve" | |
| 16788 | + | filename="gobject/gtype.c" | |
| 16789 | + | line="2707">Retrieves the type class of the given @type. | |
| 16790 | + | ||
| 16791 | + | This function will create the class on demand if it does not exist | |
| 16792 | + | already. | |
| 16793 | + | ||
| 16794 | + | If you don't want to create the class, use g_type_class_peek() instead.</doc> | |
| 16795 | + | <source-position filename="gobject/gtype.h" line="763"/> | |
| 16796 | + | <return-value transfer-ownership="none"> | |
| 16797 | + | <doc xml:space="preserve" | |
| 16798 | + | filename="gobject/gtype.c" | |
| 16799 | + | line="2718">the class structure | |
| 16800 | + | for the type</doc> | |
| 16801 | + | <type name="TypeClass" c:type="gpointer"/> | |
| 16802 | + | </return-value> | |
| 16803 | + | <parameters> | |
| 16804 | + | <parameter name="type" transfer-ownership="none"> | |
| 16805 | + | <doc xml:space="preserve" | |
| 16806 | + | filename="gobject/gtype.c" | |
| 16807 | + | line="2709">type ID of a classed type</doc> | |
| 16808 | + | <type name="GType" c:type="GType"/> | |
| 16809 | + | </parameter> | |
| 16810 | + | </parameters> | |
| 16811 | + | </function> | |
| 14809 | 16812 | <function name="peek" c:identifier="g_type_class_peek"> | |
| 14810 | 16813 | <doc xml:space="preserve" | |
| 14811 | - | filename="gobject-2.0.c" | |
| 14812 | - | line="5910">This function is essentially the same as g_type_class_ref(), | |
| 14813 | - | except that the classes reference count isn't incremented. | |
| 16814 | + | filename="gobject/gtype.c" | |
| 16815 | + | line="2827">Retrieves the class for a give type. | |
| 16816 | + | ||
| 16817 | + | This function is essentially the same as g_type_class_get(), | |
| 16818 | + | except that the class may have not been instantiated yet. | |
| 16819 | + | ||
| 14814 | 16820 | As a consequence, this function may return %NULL if the class | |
| 14815 | 16821 | of the type passed in does not currently exist (hasn't been | |
| 14816 | 16822 | referenced before).</doc> | |
| 14817 | - | <source-position filename="gtype.h" line="734"/> | |
| 14818 | - | <return-value transfer-ownership="none"> | |
| 16823 | + | <source-position filename="gobject/gtype.h" line="767"/> | |
| 16824 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 14819 | 16825 | <doc xml:space="preserve" | |
| 14820 | - | filename="gobject-2.0.c" | |
| 14821 | - | line="5920">the #GTypeClass | |
| 14822 | - | structure for the given type ID or %NULL if the class does not | |
| 14823 | - | currently exist</doc> | |
| 16826 | + | filename="gobject/gtype.c" | |
| 16827 | + | line="2840">the | |
| 16828 | + | #GTypeClass structure for the given type ID or %NULL if the class | |
| 16829 | + | does not currently exist</doc> | |
| 14824 | 16830 | <type name="TypeClass" c:type="gpointer"/> | |
| 14825 | 16831 | </return-value> | |
| 14826 | 16832 | <parameters> | |
| 14827 | 16833 | <parameter name="type" transfer-ownership="none"> | |
| 14828 | 16834 | <doc xml:space="preserve" | |
| 14829 | - | filename="gobject-2.0.c" | |
| 14830 | - | line="5912">type ID of a classed type</doc> | |
| 16835 | + | filename="gobject/gtype.c" | |
| 16836 | + | line="2829">type ID of a classed type</doc> | |
| 14831 | 16837 | <type name="GType" c:type="GType"/> | |
| 14832 | 16838 | </parameter> | |
| 14833 | 16839 | </parameters> | |
| @@ -14836,46 +16842,51 @@ referenced before).</doc> | |||
| 14836 | 16842 | c:identifier="g_type_class_peek_static" | |
| 14837 | 16843 | version="2.4"> | |
| 14838 | 16844 | <doc xml:space="preserve" | |
| 14839 | - | filename="gobject-2.0.c" | |
| 14840 | - | line="5945">A more efficient version of g_type_class_peek() which works only for | |
| 16845 | + | filename="gobject/gtype.c" | |
| 16846 | + | line="2862">A more efficient version of g_type_class_peek() which works only for | |
| 14841 | 16847 | static types.</doc> | |
| 14842 | - | <source-position filename="gtype.h" line="736"/> | |
| 14843 | - | <return-value transfer-ownership="none"> | |
| 16848 | + | <source-position filename="gobject/gtype.h" line="769"/> | |
| 16849 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 14844 | 16850 | <doc xml:space="preserve" | |
| 14845 | - | filename="gobject-2.0.c" | |
| 14846 | - | line="5952">the #GTypeClass | |
| 14847 | - | structure for the given type ID or %NULL if the class does not | |
| 14848 | - | currently exist or is dynamically loaded</doc> | |
| 16851 | + | filename="gobject/gtype.c" | |
| 16852 | + | line="2869">the | |
| 16853 | + | #GTypeClass structure for the given type ID or %NULL if the class | |
| 16854 | + | does not currently exist or is dynamically loaded</doc> | |
| 14849 | 16855 | <type name="TypeClass" c:type="gpointer"/> | |
| 14850 | 16856 | </return-value> | |
| 14851 | 16857 | <parameters> | |
| 14852 | 16858 | <parameter name="type" transfer-ownership="none"> | |
| 14853 | 16859 | <doc xml:space="preserve" | |
| 14854 | - | filename="gobject-2.0.c" | |
| 14855 | - | line="5947">type ID of a classed type</doc> | |
| 16860 | + | filename="gobject/gtype.c" | |
| 16861 | + | line="2864">type ID of a classed type</doc> | |
| 14856 | 16862 | <type name="GType" c:type="GType"/> | |
| 14857 | 16863 | </parameter> | |
| 14858 | 16864 | </parameters> | |
| 14859 | 16865 | </function> | |
| 14860 | - | <function name="ref" c:identifier="g_type_class_ref"> | |
| 14861 | - | <doc xml:space="preserve" | |
| 14862 | - | filename="gobject-2.0.c" | |
| 14863 | - | line="5959">Increments the reference count of the class structure belonging to | |
| 14864 | - | @type. This function will demand-create the class if it doesn't | |
| 14865 | - | exist already.</doc> | |
| 14866 | - | <source-position filename="gtype.h" line="732"/> | |
| 16866 | + | <function name="ref" | |
| 16867 | + | c:identifier="g_type_class_ref" | |
| 16868 | + | deprecated="1" | |
| 16869 | + | deprecated-version="2.84"> | |
| 16870 | + | <doc xml:space="preserve" | |
| 16871 | + | filename="gobject/gtype.c" | |
| 16872 | + | line="2770">Increments the reference count of the class structure belonging to | |
| 16873 | + | @type. | |
| 16874 | + | ||
| 16875 | + | This function will demand-create the class if it doesn't exist already.</doc> | |
| 16876 | + | <doc-deprecated xml:space="preserve">Use g_type_class_get() instead</doc-deprecated> | |
| 16877 | + | <source-position filename="gobject/gtype.h" line="765"/> | |
| 14867 | 16878 | <return-value transfer-ownership="none"> | |
| 14868 | 16879 | <doc xml:space="preserve" | |
| 14869 | - | filename="gobject-2.0.c" | |
| 14870 | - | line="5967">the #GTypeClass | |
| 14871 | - | structure for the given type ID</doc> | |
| 16880 | + | filename="gobject/gtype.c" | |
| 16881 | + | line="2779">the #GTypeClass | |
| 16882 | + | structure for the given type ID</doc> | |
| 14872 | 16883 | <type name="TypeClass" c:type="gpointer"/> | |
| 14873 | 16884 | </return-value> | |
| 14874 | 16885 | <parameters> | |
| 14875 | 16886 | <parameter name="type" transfer-ownership="none"> | |
| 14876 | 16887 | <doc xml:space="preserve" | |
| 14877 | - | filename="gobject-2.0.c" | |
| 14878 | - | line="5961">type ID of a classed type</doc> | |
| 16888 | + | filename="gobject/gtype.c" | |
| 16889 | + | line="2772">type ID of a classed type</doc> | |
| 14879 | 16890 | <type name="GType" c:type="GType"/> | |
| 14880 | 16891 | </parameter> | |
| 14881 | 16892 | </parameters> | |
| @@ -14883,8 +16894,8 @@ exist already.</doc> | |||
| 14883 | 16894 | </record> | |
| 14884 | 16895 | <callback name="TypeClassCacheFunc" c:type="GTypeClassCacheFunc"> | |
| 14885 | 16896 | <doc xml:space="preserve" | |
| 14886 | - | filename="gtype.h" | |
| 14887 | - | line="981">A callback function which is called when the reference count of a class | |
| 16897 | + | filename="gobject/gtype.h" | |
| 16898 | + | line="1016">A callback function which is called when the reference count of a class | |
| 14888 | 16899 | drops to zero. | |
| 14889 | 16900 | ||
| 14890 | 16901 | It may use g_type_class_ref() to prevent the class from being freed. You | |
| @@ -14894,11 +16905,11 @@ to prevent infinite recursion, use g_type_class_unref_uncached() instead. | |||
| 14894 | 16905 | The functions have to check the class id passed in to figure | |
| 14895 | 16906 | whether they actually want to cache the class of this type, since all | |
| 14896 | 16907 | classes are routed through the same #GTypeClassCacheFunc chain.</doc> | |
| 14897 | - | <source-position filename="gtype.h" line="1001"/> | |
| 16908 | + | <source-position filename="gobject/gtype.h" line="1036"/> | |
| 14898 | 16909 | <return-value transfer-ownership="none"> | |
| 14899 | 16910 | <doc xml:space="preserve" | |
| 14900 | - | filename="gtype.h" | |
| 14901 | - | line="998">%TRUE to stop further #GTypeClassCacheFuncs from being | |
| 16911 | + | filename="gobject/gtype.h" | |
| 16912 | + | line="1033">%TRUE to stop further #GTypeClassCacheFuncs from being | |
| 14902 | 16913 | called, %FALSE to continue</doc> | |
| 14903 | 16914 | <type name="gboolean" c:type="gboolean"/> | |
| 14904 | 16915 | </return-value> | |
| @@ -14908,14 +16919,14 @@ classes are routed through the same #GTypeClassCacheFunc chain.</doc> | |||
| 14908 | 16919 | nullable="1" | |
| 14909 | 16920 | allow-none="1"> | |
| 14910 | 16921 | <doc xml:space="preserve" | |
| 14911 | - | filename="gtype.h" | |
| 14912 | - | line="983">data that was given to the g_type_add_class_cache_func() call</doc> | |
| 16922 | + | filename="gobject/gtype.h" | |
| 16923 | + | line="1018">data that was given to the g_type_add_class_cache_func() call</doc> | |
| 14913 | 16924 | <type name="gpointer" c:type="gpointer"/> | |
| 14914 | 16925 | </parameter> | |
| 14915 | 16926 | <parameter name="g_class" transfer-ownership="none"> | |
| 14916 | 16927 | <doc xml:space="preserve" | |
| 14917 | - | filename="gtype.h" | |
| 14918 | - | line="984">The #GTypeClass structure which is | |
| 16928 | + | filename="gobject/gtype.h" | |
| 16929 | + | line="1019">The #GTypeClass structure which is | |
| 14919 | 16930 | unreferenced</doc> | |
| 14920 | 16931 | <type name="TypeClass" c:type="GTypeClass*"/> | |
| 14921 | 16932 | </parameter> | |
| @@ -14926,117 +16937,131 @@ classes are routed through the same #GTypeClassCacheFunc chain.</doc> | |||
| 14926 | 16937 | deprecated-version="2.36" | |
| 14927 | 16938 | c:type="GTypeDebugFlags"> | |
| 14928 | 16939 | <doc xml:space="preserve" | |
| 14929 | - | filename="gtype.h" | |
| 14930 | - | line="681">These flags used to be passed to g_type_init_with_debug_flags() which | |
| 16940 | + | filename="gobject/gtype.h" | |
| 16941 | + | line="708">These flags used to be passed to g_type_init_with_debug_flags() which | |
| 14931 | 16942 | is now deprecated. | |
| 14932 | 16943 | ||
| 14933 | - | If you need to enable debugging features, use the GOBJECT_DEBUG | |
| 16944 | + | If you need to enable debugging features, use the `GOBJECT_DEBUG` | |
| 14934 | 16945 | environment variable.</doc> | |
| 14935 | 16946 | <doc-deprecated xml:space="preserve">g_type_init() is now done automatically</doc-deprecated> | |
| 14936 | - | <source-position filename="gtype.h" line="704"/> | |
| 16947 | + | <source-position filename="gobject/gtype.h" line="731"/> | |
| 14937 | 16948 | <member name="none" value="0" c:identifier="G_TYPE_DEBUG_NONE"> | |
| 14938 | 16949 | <doc xml:space="preserve" | |
| 14939 | - | filename="gtype.h" | |
| 14940 | - | line="683">Print no messages</doc> | |
| 16950 | + | filename="gobject/gtype.h" | |
| 16951 | + | line="710">Print no messages</doc> | |
| 14941 | 16952 | </member> | |
| 14942 | 16953 | <member name="objects" value="1" c:identifier="G_TYPE_DEBUG_OBJECTS"> | |
| 14943 | 16954 | <doc xml:space="preserve" | |
| 14944 | - | filename="gtype.h" | |
| 14945 | - | line="684">Print messages about object bookkeeping</doc> | |
| 16955 | + | filename="gobject/gtype.h" | |
| 16956 | + | line="711">Print messages about object bookkeeping</doc> | |
| 14946 | 16957 | </member> | |
| 14947 | 16958 | <member name="signals" value="2" c:identifier="G_TYPE_DEBUG_SIGNALS"> | |
| 14948 | 16959 | <doc xml:space="preserve" | |
| 14949 | - | filename="gtype.h" | |
| 14950 | - | line="685">Print messages about signal emissions</doc> | |
| 16960 | + | filename="gobject/gtype.h" | |
| 16961 | + | line="712">Print messages about signal emissions</doc> | |
| 14951 | 16962 | </member> | |
| 14952 | 16963 | <member name="instance_count" | |
| 14953 | 16964 | value="4" | |
| 14954 | 16965 | c:identifier="G_TYPE_DEBUG_INSTANCE_COUNT"> | |
| 14955 | 16966 | <doc xml:space="preserve" | |
| 14956 | - | filename="gtype.h" | |
| 14957 | - | line="687">Keep a count of instances of each type</doc> | |
| 16967 | + | filename="gobject/gtype.h" | |
| 16968 | + | line="714">Keep a count of instances of each type</doc> | |
| 14958 | 16969 | </member> | |
| 14959 | 16970 | <member name="mask" value="7" c:identifier="G_TYPE_DEBUG_MASK"> | |
| 14960 | 16971 | <doc xml:space="preserve" | |
| 14961 | - | filename="gtype.h" | |
| 14962 | - | line="686">Mask covering all debug flags</doc> | |
| 16972 | + | filename="gobject/gtype.h" | |
| 16973 | + | line="713">Mask covering all debug flags</doc> | |
| 14963 | 16974 | </member> | |
| 14964 | 16975 | </bitfield> | |
| 14965 | 16976 | <bitfield name="TypeFlags" c:type="GTypeFlags"> | |
| 14966 | 16977 | <doc xml:space="preserve" | |
| 14967 | - | filename="gtype.h" | |
| 14968 | - | line="1034">Bit masks used to check or determine characteristics of a type.</doc> | |
| 14969 | - | <source-position filename="gtype.h" line="1051"/> | |
| 16978 | + | filename="gobject/gtype.h" | |
| 16979 | + | line="1071">Bit masks used to check or determine characteristics of a type.</doc> | |
| 16980 | + | <source-position filename="gobject/gtype.h" line="1094"/> | |
| 16981 | + | <member name="none" value="0" c:identifier="G_TYPE_FLAG_NONE"> | |
| 16982 | + | <doc xml:space="preserve" | |
| 16983 | + | filename="gobject/gtype.h" | |
| 16984 | + | line="1073">No special flags. Since: 2.74</doc> | |
| 16985 | + | </member> | |
| 14970 | 16986 | <member name="abstract" value="16" c:identifier="G_TYPE_FLAG_ABSTRACT"> | |
| 14971 | 16987 | <doc xml:space="preserve" | |
| 14972 | - | filename="gtype.h" | |
| 14973 | - | line="1036">Indicates an abstract type. No instances can be | |
| 16988 | + | filename="gobject/gtype.h" | |
| 16989 | + | line="1074">Indicates an abstract type. No instances can be | |
| 14974 | 16990 | created for an abstract type</doc> | |
| 14975 | 16991 | </member> | |
| 14976 | 16992 | <member name="value_abstract" | |
| 14977 | 16993 | value="32" | |
| 14978 | 16994 | c:identifier="G_TYPE_FLAG_VALUE_ABSTRACT"> | |
| 14979 | 16995 | <doc xml:space="preserve" | |
| 14980 | - | filename="gtype.h" | |
| 14981 | - | line="1038">Indicates an abstract value type, i.e. a type | |
| 16996 | + | filename="gobject/gtype.h" | |
| 16997 | + | line="1076">Indicates an abstract value type, i.e. a type | |
| 14982 | 16998 | that introduces a value table, but can't be used for | |
| 14983 | 16999 | g_value_init()</doc> | |
| 14984 | 17000 | </member> | |
| 14985 | 17001 | <member name="final" value="64" c:identifier="G_TYPE_FLAG_FINAL"> | |
| 14986 | 17002 | <doc xml:space="preserve" | |
| 14987 | - | filename="gtype.h" | |
| 14988 | - | line="1041">Indicates a final type. A final type is a non-derivable | |
| 17003 | + | filename="gobject/gtype.h" | |
| 17004 | + | line="1079">Indicates a final type. A final type is a non-derivable | |
| 14989 | 17005 | leaf node in a deep derivable type hierarchy tree. Since: 2.70</doc> | |
| 14990 | 17006 | </member> | |
| 17007 | + | <member name="deprecated" | |
| 17008 | + | value="128" | |
| 17009 | + | c:identifier="G_TYPE_FLAG_DEPRECATED"> | |
| 17010 | + | <doc xml:space="preserve" | |
| 17011 | + | filename="gobject/gtype.h" | |
| 17012 | + | line="1081">The type is deprecated and may be removed in a | |
| 17013 | + | future version. A warning will be emitted if it is instantiated while | |
| 17014 | + | running with `G_ENABLE_DIAGNOSTIC=1`. Since 2.76</doc> | |
| 17015 | + | </member> | |
| 14991 | 17016 | </bitfield> | |
| 14992 | 17017 | <bitfield name="TypeFundamentalFlags" c:type="GTypeFundamentalFlags"> | |
| 14993 | 17018 | <doc xml:space="preserve" | |
| 14994 | - | filename="gtype.h" | |
| 14995 | - | line="1017">Bit masks used to check or determine specific characteristics of a | |
| 17019 | + | filename="gobject/gtype.h" | |
| 17020 | + | line="1052">Bit masks used to check or determine specific characteristics of a | |
| 14996 | 17021 | fundamental type.</doc> | |
| 14997 | - | <source-position filename="gtype.h" line="1033"/> | |
| 17022 | + | <source-position filename="gobject/gtype.h" line="1070"/> | |
| 14998 | 17023 | <member name="classed" value="1" c:identifier="G_TYPE_FLAG_CLASSED"> | |
| 14999 | 17024 | <doc xml:space="preserve" | |
| 15000 | - | filename="gtype.h" | |
| 15001 | - | line="1019">Indicates a classed type</doc> | |
| 17025 | + | filename="gobject/gtype.h" | |
| 17026 | + | line="1054">Indicates a classed type</doc> | |
| 15002 | 17027 | </member> | |
| 15003 | 17028 | <member name="instantiatable" | |
| 15004 | 17029 | value="2" | |
| 15005 | 17030 | c:identifier="G_TYPE_FLAG_INSTANTIATABLE"> | |
| 15006 | 17031 | <doc xml:space="preserve" | |
| 15007 | - | filename="gtype.h" | |
| 15008 | - | line="1020">Indicates an instantiatable type (implies classed)</doc> | |
| 17032 | + | filename="gobject/gtype.h" | |
| 17033 | + | line="1055">Indicates an instantiatable type (implies classed)</doc> | |
| 15009 | 17034 | </member> | |
| 15010 | 17035 | <member name="derivable" value="4" c:identifier="G_TYPE_FLAG_DERIVABLE"> | |
| 15011 | 17036 | <doc xml:space="preserve" | |
| 15012 | - | filename="gtype.h" | |
| 15013 | - | line="1021">Indicates a flat derivable type</doc> | |
| 17037 | + | filename="gobject/gtype.h" | |
| 17038 | + | line="1056">Indicates a flat derivable type</doc> | |
| 15014 | 17039 | </member> | |
| 15015 | 17040 | <member name="deep_derivable" | |
| 15016 | 17041 | value="8" | |
| 15017 | 17042 | c:identifier="G_TYPE_FLAG_DEEP_DERIVABLE"> | |
| 15018 | 17043 | <doc xml:space="preserve" | |
| 15019 | - | filename="gtype.h" | |
| 15020 | - | line="1022">Indicates a deep derivable type (implies derivable)</doc> | |
| 17044 | + | filename="gobject/gtype.h" | |
| 17045 | + | line="1057">Indicates a deep derivable type (implies derivable)</doc> | |
| 15021 | 17046 | </member> | |
| 15022 | 17047 | </bitfield> | |
| 15023 | 17048 | <record name="TypeFundamentalInfo" c:type="GTypeFundamentalInfo"> | |
| 15024 | 17049 | <doc xml:space="preserve" | |
| 15025 | - | filename="gtype.h" | |
| 15026 | - | line="1104">A structure that provides information to the type system which is | |
| 17050 | + | filename="gobject/gtype.h" | |
| 17051 | + | line="1147">A structure that provides information to the type system which is | |
| 15027 | 17052 | used specifically for managing fundamental types.</doc> | |
| 15028 | - | <source-position filename="gtype.h" line="1114"/> | |
| 17053 | + | <source-position filename="gobject/gtype.h" line="1157"/> | |
| 15029 | 17054 | <field name="type_flags" writable="1"> | |
| 15030 | 17055 | <doc xml:space="preserve" | |
| 15031 | - | filename="gtype.h" | |
| 15032 | - | line="1106">#GTypeFundamentalFlags describing the characteristics of the fundamental type</doc> | |
| 17056 | + | filename="gobject/gtype.h" | |
| 17057 | + | line="1149">#GTypeFundamentalFlags describing the characteristics of the fundamental type</doc> | |
| 15033 | 17058 | <type name="TypeFundamentalFlags" c:type="GTypeFundamentalFlags"/> | |
| 15034 | 17059 | </field> | |
| 15035 | 17060 | </record> | |
| 15036 | 17061 | <record name="TypeInfo" c:type="GTypeInfo"> | |
| 15037 | 17062 | <doc xml:space="preserve" | |
| 15038 | - | filename="gtype.h" | |
| 15039 | - | line="1052">This structure is used to provide the type system with the information | |
| 17063 | + | filename="gobject/gtype.h" | |
| 17064 | + | line="1095">This structure is used to provide the type system with the information | |
| 15040 | 17065 | required to initialize and destruct (finalize) a type's class and | |
| 15041 | 17066 | its instances. | |
| 15042 | 17067 | ||
| @@ -15045,31 +17070,31 @@ The initialized structure is passed to the g_type_register_static() function | |||
| 15045 | 17070 | g_type_plugin_complete_type_info()). The type system will perform a deep | |
| 15046 | 17071 | copy of this structure, so its memory does not need to be persistent | |
| 15047 | 17072 | across invocation of g_type_register_static().</doc> | |
| 15048 | - | <source-position filename="gtype.h" line="1103"/> | |
| 17073 | + | <source-position filename="gobject/gtype.h" line="1146"/> | |
| 15049 | 17074 | <field name="class_size" writable="1"> | |
| 15050 | 17075 | <doc xml:space="preserve" | |
| 15051 | - | filename="gtype.h" | |
| 15052 | - | line="1054">Size of the class structure (required for interface, classed and instantiatable types)</doc> | |
| 17076 | + | filename="gobject/gtype.h" | |
| 17077 | + | line="1097">Size of the class structure (required for interface, classed and instantiatable types)</doc> | |
| 15053 | 17078 | <type name="guint16" c:type="guint16"/> | |
| 15054 | 17079 | </field> | |
| 15055 | 17080 | <field name="base_init" writable="1"> | |
| 15056 | 17081 | <doc xml:space="preserve" | |
| 15057 | - | filename="gtype.h" | |
| 15058 | - | line="1055">Location of the base initialization function (optional)</doc> | |
| 17082 | + | filename="gobject/gtype.h" | |
| 17083 | + | line="1098">Location of the base initialization function (optional)</doc> | |
| 15059 | 17084 | <type name="BaseInitFunc" c:type="GBaseInitFunc"/> | |
| 15060 | 17085 | </field> | |
| 15061 | 17086 | <field name="base_finalize" writable="1"> | |
| 15062 | 17087 | <doc xml:space="preserve" | |
| 15063 | - | filename="gtype.h" | |
| 15064 | - | line="1056">Location of the base finalization function (optional)</doc> | |
| 17088 | + | filename="gobject/gtype.h" | |
| 17089 | + | line="1099">Location of the base finalization function (optional)</doc> | |
| 15065 | 17090 | <type name="BaseFinalizeFunc" c:type="GBaseFinalizeFunc"/> | |
| 15066 | 17091 | </field> | |
| 15067 | 17092 | <field name="class_init" writable="1"> | |
| 15068 | 17093 | <doc xml:space="preserve" | |
| 15069 | - | filename="gtype.h" | |
| 15070 | - | line="1057">Location of the class initialization function for | |
| 17094 | + | filename="gobject/gtype.h" | |
| 17095 | + | line="1100">Location of the class initialization function for | |
| 15071 | 17096 | classed and instantiatable types. Location of the default vtable | |
| 15072 | - | inititalization function for interface types. (optional) This function | |
| 17097 | + | initialization function for interface types. (optional) This function | |
| 15073 | 17098 | is used both to fill in virtual functions in the class or default vtable, | |
| 15074 | 17099 | and to do type-specific setup such as registering signals and object | |
| 15075 | 17100 | properties.</doc> | |
| @@ -15077,54 +17102,54 @@ across invocation of g_type_register_static().</doc> | |||
| 15077 | 17102 | </field> | |
| 15078 | 17103 | <field name="class_finalize" writable="1"> | |
| 15079 | 17104 | <doc xml:space="preserve" | |
| 15080 | - | filename="gtype.h" | |
| 15081 | - | line="1063">Location of the class finalization function for | |
| 17105 | + | filename="gobject/gtype.h" | |
| 17106 | + | line="1106">Location of the class finalization function for | |
| 15082 | 17107 | classed and instantiatable types. Location of the default vtable | |
| 15083 | 17108 | finalization function for interface types. (optional)</doc> | |
| 15084 | 17109 | <type name="ClassFinalizeFunc" c:type="GClassFinalizeFunc"/> | |
| 15085 | 17110 | </field> | |
| 15086 | 17111 | <field name="class_data" writable="1"> | |
| 15087 | 17112 | <doc xml:space="preserve" | |
| 15088 | - | filename="gtype.h" | |
| 15089 | - | line="1066">User-supplied data passed to the class init/finalize functions</doc> | |
| 17113 | + | filename="gobject/gtype.h" | |
| 17114 | + | line="1109">User-supplied data passed to the class init/finalize functions</doc> | |
| 15090 | 17115 | <type name="gpointer" c:type="gconstpointer"/> | |
| 15091 | 17116 | </field> | |
| 15092 | 17117 | <field name="instance_size" writable="1"> | |
| 15093 | 17118 | <doc xml:space="preserve" | |
| 15094 | - | filename="gtype.h" | |
| 15095 | - | line="1067">Size of the instance (object) structure (required for instantiatable types only)</doc> | |
| 17119 | + | filename="gobject/gtype.h" | |
| 17120 | + | line="1110">Size of the instance (object) structure (required for instantiatable types only)</doc> | |
| 15096 | 17121 | <type name="guint16" c:type="guint16"/> | |
| 15097 | 17122 | </field> | |
| 15098 | 17123 | <field name="n_preallocs" writable="1"> | |
| 15099 | 17124 | <doc xml:space="preserve" | |
| 15100 | - | filename="gtype.h" | |
| 15101 | - | line="1068">Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the [slice allocator][glib-Memory-Slices] now.</doc> | |
| 17125 | + | filename="gobject/gtype.h" | |
| 17126 | + | line="1111">Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10 this field is ignored.</doc> | |
| 15102 | 17127 | <type name="guint16" c:type="guint16"/> | |
| 15103 | 17128 | </field> | |
| 15104 | 17129 | <field name="instance_init" writable="1"> | |
| 15105 | 17130 | <doc xml:space="preserve" | |
| 15106 | - | filename="gtype.h" | |
| 15107 | - | line="1069">Location of the instance initialization function (optional, for instantiatable types only)</doc> | |
| 17131 | + | filename="gobject/gtype.h" | |
| 17132 | + | line="1112">Location of the instance initialization function (optional, for instantiatable types only)</doc> | |
| 15108 | 17133 | <type name="InstanceInitFunc" c:type="GInstanceInitFunc"/> | |
| 15109 | 17134 | </field> | |
| 15110 | 17135 | <field name="value_table" writable="1"> | |
| 15111 | 17136 | <doc xml:space="preserve" | |
| 15112 | - | filename="gtype.h" | |
| 15113 | - | line="1070">A #GTypeValueTable function table for generic handling of GValues | |
| 17137 | + | filename="gobject/gtype.h" | |
| 17138 | + | line="1113">A #GTypeValueTable function table for generic handling of GValues | |
| 15114 | 17139 | of this type (usually only useful for fundamental types)</doc> | |
| 15115 | 17140 | <type name="TypeValueTable" c:type="const GTypeValueTable*"/> | |
| 15116 | 17141 | </field> | |
| 15117 | 17142 | </record> | |
| 15118 | 17143 | <record name="TypeInstance" c:type="GTypeInstance"> | |
| 15119 | 17144 | <doc xml:space="preserve" | |
| 15120 | - | filename="gtype.h" | |
| 15121 | - | line="429">An opaque structure used as the base of all type instances.</doc> | |
| 15122 | - | <source-position filename="gtype.h" line="438"/> | |
| 17145 | + | filename="gobject/gtype.h" | |
| 17146 | + | line="456">An opaque structure used as the base of all type instances.</doc> | |
| 17147 | + | <source-position filename="gobject/gtype.h" line="465"/> | |
| 15123 | 17148 | <field name="g_class" readable="0" private="1"> | |
| 15124 | 17149 | <type name="TypeClass" c:type="GTypeClass*"/> | |
| 15125 | 17150 | </field> | |
| 15126 | 17151 | <method name="get_private" c:identifier="g_type_instance_get_private"> | |
| 15127 | - | <source-position filename="gtype.h" line="1352"/> | |
| 17152 | + | <source-position filename="gobject/gtype.h" line="1509"/> | |
| 15128 | 17153 | <return-value transfer-ownership="none" nullable="1"> | |
| 15129 | 17154 | <type name="gpointer" c:type="gpointer"/> | |
| 15130 | 17155 | </return-value> | |
| @@ -15140,9 +17165,9 @@ across invocation of g_type_register_static().</doc> | |||
| 15140 | 17165 | </record> | |
| 15141 | 17166 | <record name="TypeInterface" c:type="GTypeInterface"> | |
| 15142 | 17167 | <doc xml:space="preserve" | |
| 15143 | - | filename="gtype.h" | |
| 15144 | - | line="439">An opaque structure used as the base of all interface types.</doc> | |
| 15145 | - | <source-position filename="gtype.h" line="449"/> | |
| 17168 | + | filename="gobject/gtype.h" | |
| 17169 | + | line="466">An opaque structure used as the base of all interface types.</doc> | |
| 17170 | + | <source-position filename="gobject/gtype.h" line="476"/> | |
| 15146 | 17171 | <field name="g_type" readable="0" private="1"> | |
| 15147 | 17172 | <type name="GType" c:type="GType"/> | |
| 15148 | 17173 | </field> | |
| @@ -15151,26 +17176,27 @@ across invocation of g_type_register_static().</doc> | |||
| 15151 | 17176 | </field> | |
| 15152 | 17177 | <method name="peek_parent" c:identifier="g_type_interface_peek_parent"> | |
| 15153 | 17178 | <doc xml:space="preserve" | |
| 15154 | - | filename="gobject-2.0.c" | |
| 15155 | - | line="6293">Returns the corresponding #GTypeInterface structure of the parent type | |
| 15156 | - | of the instance type to which @g_iface belongs. This is useful when | |
| 15157 | - | deriving the implementation of an interface from the parent type and | |
| 15158 | - | then possibly overriding some methods.</doc> | |
| 15159 | - | <source-position filename="gtype.h" line="745"/> | |
| 15160 | - | <return-value transfer-ownership="none"> | |
| 17179 | + | filename="gobject/gtype.c" | |
| 17180 | + | line="2976">Returns the corresponding #GTypeInterface structure of the parent type | |
| 17181 | + | of the instance type to which @g_iface belongs. | |
| 17182 | + | ||
| 17183 | + | This is useful when deriving the implementation of an interface from the | |
| 17184 | + | parent type and then possibly overriding some methods.</doc> | |
| 17185 | + | <source-position filename="gobject/gtype.h" line="778"/> | |
| 17186 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 15161 | 17187 | <doc xml:space="preserve" | |
| 15162 | - | filename="gobject-2.0.c" | |
| 15163 | - | line="6302">the | |
| 15164 | - | corresponding #GTypeInterface structure of the parent type of the | |
| 15165 | - | instance type to which @g_iface belongs, or %NULL if the parent | |
| 15166 | - | type doesn't conform to the interface</doc> | |
| 17188 | + | filename="gobject/gtype.c" | |
| 17189 | + | line="2986">the | |
| 17190 | + | corresponding #GTypeInterface structure of the parent type of the | |
| 17191 | + | instance type to which @g_iface belongs, or %NULL if the parent | |
| 17192 | + | type doesn't conform to the interface</doc> | |
| 15167 | 17193 | <type name="TypeInterface" c:type="gpointer"/> | |
| 15168 | 17194 | </return-value> | |
| 15169 | 17195 | <parameters> | |
| 15170 | 17196 | <instance-parameter name="g_iface" transfer-ownership="none"> | |
| 15171 | 17197 | <doc xml:space="preserve" | |
| 15172 | - | filename="gobject-2.0.c" | |
| 15173 | - | line="6295">a #GTypeInterface structure</doc> | |
| 17198 | + | filename="gobject/gtype.c" | |
| 17199 | + | line="2978">a #GTypeInterface structure</doc> | |
| 15174 | 17200 | <type name="TypeInterface" c:type="gpointer"/> | |
| 15175 | 17201 | </instance-parameter> | |
| 15176 | 17202 | </parameters> | |
| @@ -15178,57 +17204,57 @@ then possibly overriding some methods.</doc> | |||
| 15178 | 17204 | <function name="add_prerequisite" | |
| 15179 | 17205 | c:identifier="g_type_interface_add_prerequisite"> | |
| 15180 | 17206 | <doc xml:space="preserve" | |
| 15181 | - | filename="gobject-2.0.c" | |
| 15182 | - | line="6235">Adds @prerequisite_type to the list of prerequisites of @interface_type. | |
| 17207 | + | filename="gobject/gtype.c" | |
| 17208 | + | line="1509">Adds @prerequisite_type to the list of prerequisites of @interface_type. | |
| 15183 | 17209 | This means that any type implementing @interface_type must also implement | |
| 15184 | 17210 | @prerequisite_type. Prerequisites can be thought of as an alternative to | |
| 15185 | 17211 | interface derivation (which GType doesn't support). An interface can have | |
| 15186 | 17212 | at most one instantiatable prerequisite type.</doc> | |
| 15187 | - | <source-position filename="gtype.h" line="1337"/> | |
| 17213 | + | <source-position filename="gobject/gtype.h" line="1494"/> | |
| 15188 | 17214 | <return-value transfer-ownership="none"> | |
| 15189 | 17215 | <type name="none" c:type="void"/> | |
| 15190 | 17216 | </return-value> | |
| 15191 | 17217 | <parameters> | |
| 15192 | 17218 | <parameter name="interface_type" transfer-ownership="none"> | |
| 15193 | 17219 | <doc xml:space="preserve" | |
| 15194 | - | filename="gobject-2.0.c" | |
| 15195 | - | line="6237">#GType value of an interface type</doc> | |
| 17220 | + | filename="gobject/gtype.c" | |
| 17221 | + | line="1511">#GType value of an interface type</doc> | |
| 15196 | 17222 | <type name="GType" c:type="GType"/> | |
| 15197 | 17223 | </parameter> | |
| 15198 | 17224 | <parameter name="prerequisite_type" transfer-ownership="none"> | |
| 15199 | 17225 | <doc xml:space="preserve" | |
| 15200 | - | filename="gobject-2.0.c" | |
| 15201 | - | line="6238">#GType value of an interface or instantiatable type</doc> | |
| 17226 | + | filename="gobject/gtype.c" | |
| 17227 | + | line="1512">#GType value of an interface or instantiatable type</doc> | |
| 15202 | 17228 | <type name="GType" c:type="GType"/> | |
| 15203 | 17229 | </parameter> | |
| 15204 | 17230 | </parameters> | |
| 15205 | 17231 | </function> | |
| 15206 | 17232 | <function name="get_plugin" c:identifier="g_type_interface_get_plugin"> | |
| 15207 | 17233 | <doc xml:space="preserve" | |
| 15208 | - | filename="gobject-2.0.c" | |
| 15209 | - | line="6248">Returns the #GTypePlugin structure for the dynamic interface | |
| 17234 | + | filename="gobject/gtype.c" | |
| 17235 | + | line="3802">Returns the #GTypePlugin structure for the dynamic interface | |
| 15210 | 17236 | @interface_type which has been added to @instance_type, or %NULL | |
| 15211 | 17237 | if @interface_type has not been added to @instance_type or does | |
| 15212 | 17238 | not have a #GTypePlugin structure. See g_type_add_interface_dynamic().</doc> | |
| 15213 | - | <source-position filename="gtype.h" line="2387"/> | |
| 17239 | + | <source-position filename="gobject/gtype.h" line="2592"/> | |
| 15214 | 17240 | <return-value transfer-ownership="none"> | |
| 15215 | 17241 | <doc xml:space="preserve" | |
| 15216 | - | filename="gobject-2.0.c" | |
| 15217 | - | line="6258">the #GTypePlugin for the dynamic | |
| 17242 | + | filename="gobject/gtype.c" | |
| 17243 | + | line="3812">the #GTypePlugin for the dynamic | |
| 15218 | 17244 | interface @interface_type of @instance_type</doc> | |
| 15219 | 17245 | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 15220 | 17246 | </return-value> | |
| 15221 | 17247 | <parameters> | |
| 15222 | 17248 | <parameter name="instance_type" transfer-ownership="none"> | |
| 15223 | 17249 | <doc xml:space="preserve" | |
| 15224 | - | filename="gobject-2.0.c" | |
| 15225 | - | line="6250">#GType of an instantiatable type</doc> | |
| 17250 | + | filename="gobject/gtype.c" | |
| 17251 | + | line="3804">#GType of an instantiatable type</doc> | |
| 15226 | 17252 | <type name="GType" c:type="GType"/> | |
| 15227 | 17253 | </parameter> | |
| 15228 | 17254 | <parameter name="interface_type" transfer-ownership="none"> | |
| 15229 | 17255 | <doc xml:space="preserve" | |
| 15230 | - | filename="gobject-2.0.c" | |
| 15231 | - | line="6251">#GType of an interface type</doc> | |
| 17256 | + | filename="gobject/gtype.c" | |
| 17257 | + | line="3805">#GType of an interface type</doc> | |
| 15232 | 17258 | <type name="GType" c:type="GType"/> | |
| 15233 | 17259 | </parameter> | |
| 15234 | 17260 | </parameters> | |
| @@ -15237,54 +17263,54 @@ not have a #GTypePlugin structure. See g_type_add_interface_dynamic().</doc> | |||
| 15237 | 17263 | c:identifier="g_type_interface_instantiatable_prerequisite" | |
| 15238 | 17264 | version="2.68"> | |
| 15239 | 17265 | <doc xml:space="preserve" | |
| 15240 | - | filename="gobject-2.0.c" | |
| 15241 | - | line="6263">Returns the most specific instantiatable prerequisite of an | |
| 17266 | + | filename="gobject/gtype.c" | |
| 17267 | + | line="1656">Returns the most specific instantiatable prerequisite of an | |
| 15242 | 17268 | interface type. If the interface type has no instantiatable | |
| 15243 | 17269 | prerequisite, %G_TYPE_INVALID is returned. | |
| 15244 | 17270 | ||
| 15245 | 17271 | See g_type_interface_add_prerequisite() for more information | |
| 15246 | 17272 | about prerequisites.</doc> | |
| 15247 | - | <source-position filename="gtype.h" line="1343"/> | |
| 17273 | + | <source-position filename="gobject/gtype.h" line="1500"/> | |
| 15248 | 17274 | <return-value transfer-ownership="none"> | |
| 15249 | 17275 | <doc xml:space="preserve" | |
| 15250 | - | filename="gobject-2.0.c" | |
| 15251 | - | line="6274">the instantiatable prerequisite type or %G_TYPE_INVALID if none</doc> | |
| 17276 | + | filename="gobject/gtype.c" | |
| 17277 | + | line="1667">the instantiatable prerequisite type or %G_TYPE_INVALID if none</doc> | |
| 15252 | 17278 | <type name="GType" c:type="GType"/> | |
| 15253 | 17279 | </return-value> | |
| 15254 | 17280 | <parameters> | |
| 15255 | 17281 | <parameter name="interface_type" transfer-ownership="none"> | |
| 15256 | 17282 | <doc xml:space="preserve" | |
| 15257 | - | filename="gobject-2.0.c" | |
| 15258 | - | line="6265">an interface type</doc> | |
| 17283 | + | filename="gobject/gtype.c" | |
| 17284 | + | line="1658">an interface type</doc> | |
| 15259 | 17285 | <type name="GType" c:type="GType"/> | |
| 15260 | 17286 | </parameter> | |
| 15261 | 17287 | </parameters> | |
| 15262 | 17288 | </function> | |
| 15263 | 17289 | <function name="peek" c:identifier="g_type_interface_peek"> | |
| 15264 | 17290 | <doc xml:space="preserve" | |
| 15265 | - | filename="gobject-2.0.c" | |
| 15266 | - | line="6279">Returns the #GTypeInterface structure of an interface to which the | |
| 17291 | + | filename="gobject/gtype.c" | |
| 17292 | + | line="2943">Returns the #GTypeInterface structure of an interface to which the | |
| 15267 | 17293 | passed in class conforms.</doc> | |
| 15268 | - | <source-position filename="gtype.h" line="742"/> | |
| 15269 | - | <return-value transfer-ownership="none"> | |
| 17294 | + | <source-position filename="gobject/gtype.h" line="775"/> | |
| 17295 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 15270 | 17296 | <doc xml:space="preserve" | |
| 15271 | - | filename="gobject-2.0.c" | |
| 15272 | - | line="6287">the #GTypeInterface | |
| 15273 | - | structure of @iface_type if implemented by @instance_class, %NULL | |
| 15274 | - | otherwise</doc> | |
| 17297 | + | filename="gobject/gtype.c" | |
| 17298 | + | line="2951">the #GTypeInterface | |
| 17299 | + | structure of @iface_type if implemented by @instance_class, %NULL | |
| 17300 | + | otherwise</doc> | |
| 15275 | 17301 | <type name="TypeInterface" c:type="gpointer"/> | |
| 15276 | 17302 | </return-value> | |
| 15277 | 17303 | <parameters> | |
| 15278 | 17304 | <parameter name="instance_class" transfer-ownership="none"> | |
| 15279 | 17305 | <doc xml:space="preserve" | |
| 15280 | - | filename="gobject-2.0.c" | |
| 15281 | - | line="6281">a #GTypeClass structure</doc> | |
| 17306 | + | filename="gobject/gtype.c" | |
| 17307 | + | line="2945">a #GTypeClass structure</doc> | |
| 15282 | 17308 | <type name="TypeClass" c:type="gpointer"/> | |
| 15283 | 17309 | </parameter> | |
| 15284 | 17310 | <parameter name="iface_type" transfer-ownership="none"> | |
| 15285 | 17311 | <doc xml:space="preserve" | |
| 15286 | - | filename="gobject-2.0.c" | |
| 15287 | - | line="6282">an interface ID which this class conforms to</doc> | |
| 17312 | + | filename="gobject/gtype.c" | |
| 17313 | + | line="2946">an interface ID which this class conforms to</doc> | |
| 15288 | 17314 | <type name="GType" c:type="GType"/> | |
| 15289 | 17315 | </parameter> | |
| 15290 | 17316 | </parameters> | |
| @@ -15293,13 +17319,13 @@ passed in class conforms.</doc> | |||
| 15293 | 17319 | c:identifier="g_type_interface_prerequisites" | |
| 15294 | 17320 | version="2.2"> | |
| 15295 | 17321 | <doc xml:space="preserve" | |
| 15296 | - | filename="gobject-2.0.c" | |
| 15297 | - | line="6309">Returns the prerequisites of an interfaces type.</doc> | |
| 15298 | - | <source-position filename="gtype.h" line="1340"/> | |
| 17322 | + | filename="gobject/gtype.c" | |
| 17323 | + | line="1595">Returns the prerequisites of an interfaces type.</doc> | |
| 17324 | + | <source-position filename="gobject/gtype.h" line="1497"/> | |
| 15299 | 17325 | <return-value transfer-ownership="full"> | |
| 15300 | 17326 | <doc xml:space="preserve" | |
| 15301 | - | filename="gobject-2.0.c" | |
| 15302 | - | line="6318">a | |
| 17327 | + | filename="gobject/gtype.c" | |
| 17328 | + | line="1605">a | |
| 15303 | 17329 | newly-allocated zero-terminated array of #GType containing | |
| 15304 | 17330 | the prerequisites of @interface_type</doc> | |
| 15305 | 17331 | <array length="1" zero-terminated="0" c:type="GType*"> | |
| @@ -15309,8 +17335,8 @@ passed in class conforms.</doc> | |||
| 15309 | 17335 | <parameters> | |
| 15310 | 17336 | <parameter name="interface_type" transfer-ownership="none"> | |
| 15311 | 17337 | <doc xml:space="preserve" | |
| 15312 | - | filename="gobject-2.0.c" | |
| 15313 | - | line="6311">an interface type</doc> | |
| 17338 | + | filename="gobject/gtype.c" | |
| 17339 | + | line="1597">an interface type</doc> | |
| 15314 | 17340 | <type name="GType" c:type="GType"/> | |
| 15315 | 17341 | </parameter> | |
| 15316 | 17342 | <parameter name="n_prerequisites" | |
| @@ -15320,8 +17346,8 @@ passed in class conforms.</doc> | |||
| 15320 | 17346 | optional="1" | |
| 15321 | 17347 | allow-none="1"> | |
| 15322 | 17348 | <doc xml:space="preserve" | |
| 15323 | - | filename="gobject-2.0.c" | |
| 15324 | - | line="6312">location to return the number | |
| 17349 | + | filename="gobject/gtype.c" | |
| 17350 | + | line="1598">location to return the number | |
| 15325 | 17351 | of prerequisites, or %NULL</doc> | |
| 15326 | 17352 | <type name="guint" c:type="guint*"/> | |
| 15327 | 17353 | </parameter> | |
| @@ -15332,11 +17358,11 @@ passed in class conforms.</doc> | |||
| 15332 | 17358 | c:type="GTypeInterfaceCheckFunc" | |
| 15333 | 17359 | version="2.4"> | |
| 15334 | 17360 | <doc xml:space="preserve" | |
| 15335 | - | filename="gtype.h" | |
| 15336 | - | line="1003">A callback called after an interface vtable is initialized. | |
| 17361 | + | filename="gobject/gtype.h" | |
| 17362 | + | line="1038">A callback called after an interface vtable is initialized. | |
| 15337 | 17363 | ||
| 15338 | 17364 | See g_type_add_interface_check().</doc> | |
| 15339 | - | <source-position filename="gtype.h" line="1015"/> | |
| 17365 | + | <source-position filename="gobject/gtype.h" line="1050"/> | |
| 15340 | 17366 | <return-value transfer-ownership="none"> | |
| 15341 | 17367 | <type name="none" c:type="void"/> | |
| 15342 | 17368 | </return-value> | |
| @@ -15346,14 +17372,14 @@ See g_type_add_interface_check().</doc> | |||
| 15346 | 17372 | nullable="1" | |
| 15347 | 17373 | allow-none="1"> | |
| 15348 | 17374 | <doc xml:space="preserve" | |
| 15349 | - | filename="gtype.h" | |
| 15350 | - | line="1005">data passed to g_type_add_interface_check()</doc> | |
| 17375 | + | filename="gobject/gtype.h" | |
| 17376 | + | line="1040">data passed to g_type_add_interface_check()</doc> | |
| 15351 | 17377 | <type name="gpointer" c:type="gpointer"/> | |
| 15352 | 17378 | </parameter> | |
| 15353 | 17379 | <parameter name="g_iface" transfer-ownership="none"> | |
| 15354 | 17380 | <doc xml:space="preserve" | |
| 15355 | - | filename="gtype.h" | |
| 15356 | - | line="1006">the interface that has been | |
| 17381 | + | filename="gobject/gtype.h" | |
| 17382 | + | line="1041">the interface that has been | |
| 15357 | 17383 | initialized</doc> | |
| 15358 | 17384 | <type name="TypeInterface" c:type="gpointer"/> | |
| 15359 | 17385 | </parameter> | |
| @@ -15368,41 +17394,46 @@ See g_type_add_interface_check().</doc> | |||
| 15368 | 17394 | glib:get-type="g_type_module_get_type" | |
| 15369 | 17395 | glib:type-struct="TypeModuleClass"> | |
| 15370 | 17396 | <doc xml:space="preserve" | |
| 15371 | - | filename="gobject-2.0.c" | |
| 15372 | - | line="623">#GTypeModule provides a simple implementation of the #GTypePlugin | |
| 17397 | + | filename="gobject/gtypemodule.c" | |
| 17398 | + | line="28">`GTypeModule` provides a simple implementation of the `GTypePlugin` | |
| 15373 | 17399 | interface. | |
| 15374 | 17400 | ||
| 15375 | - | The model of #GTypeModule is a dynamically loaded module which | |
| 17401 | + | The model of `GTypeModule` is a dynamically loaded module which | |
| 15376 | 17402 | implements some number of types and interface implementations. | |
| 15377 | 17403 | ||
| 15378 | 17404 | When the module is loaded, it registers its types and interfaces | |
| 15379 | - | using g_type_module_register_type() and g_type_module_add_interface(). | |
| 17405 | + | using [method@GObject.TypeModule.register_type] and | |
| 17406 | + | [method@GObject.TypeModule.add_interface]. | |
| 15380 | 17407 | As long as any instances of these types and interface implementations | |
| 15381 | 17408 | are in use, the module is kept loaded. When the types and interfaces | |
| 15382 | 17409 | are gone, the module may be unloaded. If the types and interfaces | |
| 15383 | 17410 | become used again, the module will be reloaded. Note that the last | |
| 15384 | 17411 | reference cannot be released from within the module code, since that | |
| 15385 | - | would lead to the caller's code being unloaded before g_object_unref() | |
| 17412 | + | would lead to the caller's code being unloaded before `g_object_unref()` | |
| 15386 | 17413 | returns to it. | |
| 15387 | 17414 | ||
| 15388 | 17415 | Keeping track of whether the module should be loaded or not is done by | |
| 15389 | 17416 | using a use count - it starts at zero, and whenever it is greater than | |
| 15390 | 17417 | zero, the module is loaded. The use count is maintained internally by | |
| 15391 | 17418 | the type system, but also can be explicitly controlled by | |
| 15392 | - | g_type_module_use() and g_type_module_unuse(). Typically, when loading | |
| 15393 | - | a module for the first type, g_type_module_use() will be used to load | |
| 15394 | - | it so that it can initialize its types. At some later point, when the | |
| 15395 | - | module no longer needs to be loaded except for the type | |
| 15396 | - | implementations it contains, g_type_module_unuse() is called. | |
| 17419 | + | [method@GObject.TypeModule.use] and [method@GObject.TypeModule.unuse]. | |
| 17420 | + | Typically, when loading a module for the first type, `g_type_module_use()` | |
| 17421 | + | will be used to load it so that it can initialize its types. At some later | |
| 17422 | + | point, when the module no longer needs to be loaded except for the type | |
| 17423 | + | implementations it contains, `g_type_module_unuse()` is called. | |
| 15397 | 17424 | ||
| 15398 | - | #GTypeModule does not actually provide any implementation of module | |
| 17425 | + | `GTypeModule` does not actually provide any implementation of module | |
| 15399 | 17426 | loading and unloading. To create a particular module type you must | |
| 15400 | - | derive from #GTypeModule and implement the load and unload functions | |
| 15401 | - | in #GTypeModuleClass.</doc> | |
| 15402 | - | <source-position filename="gtypemodule.h" line="84"/> | |
| 17427 | + | derive from `GTypeModule` and implement the load and unload functions | |
| 17428 | + | in `GTypeModuleClass`.</doc> | |
| 17429 | + | <source-position filename="gobject/gtypemodule.h" line="79"/> | |
| 15403 | 17430 | <implements name="TypePlugin"/> | |
| 15404 | 17431 | <virtual-method name="load"> | |
| 15405 | - | <source-position filename="gtypemodule.h" line="75"/> | |
| 17432 | + | <doc xml:space="preserve" | |
| 17433 | + | filename="gobject/gtypemodule.h" | |
| 17434 | + | line="58">loads the module and registers one or more types using | |
| 17435 | + | g_type_module_register_type().</doc> | |
| 17436 | + | <source-position filename="gobject/gtypemodule.h" line="70"/> | |
| 15406 | 17437 | <return-value transfer-ownership="none"> | |
| 15407 | 17438 | <type name="gboolean" c:type="gboolean"/> | |
| 15408 | 17439 | </return-value> | |
| @@ -15413,7 +17444,10 @@ in #GTypeModuleClass.</doc> | |||
| 15413 | 17444 | </parameters> | |
| 15414 | 17445 | </virtual-method> | |
| 15415 | 17446 | <virtual-method name="unload"> | |
| 15416 | - | <source-position filename="gtypemodule.h" line="76"/> | |
| 17447 | + | <doc xml:space="preserve" | |
| 17448 | + | filename="gobject/gtypemodule.h" | |
| 17449 | + | line="60">unloads the module</doc> | |
| 17450 | + | <source-position filename="gobject/gtypemodule.h" line="71"/> | |
| 15417 | 17451 | <return-value transfer-ownership="none"> | |
| 15418 | 17452 | <type name="none" c:type="void"/> | |
| 15419 | 17453 | </return-value> | |
| @@ -15425,8 +17459,8 @@ in #GTypeModuleClass.</doc> | |||
| 15425 | 17459 | </virtual-method> | |
| 15426 | 17460 | <method name="add_interface" c:identifier="g_type_module_add_interface"> | |
| 15427 | 17461 | <doc xml:space="preserve" | |
| 15428 | - | filename="gobject-2.0.c" | |
| 15429 | - | line="6352">Registers an additional interface for a type, whose interface lives | |
| 17462 | + | filename="gobject/gtypemodule.c" | |
| 17463 | + | line="453">Registers an additional interface for a type, whose interface lives | |
| 15430 | 17464 | in the given type plugin. If the interface was already registered | |
| 15431 | 17465 | for the type in this plugin, nothing will be done. | |
| 15432 | 17466 | ||
| @@ -15435,7 +17469,7 @@ not be unloaded. | |||
| 15435 | 17469 | ||
| 15436 | 17470 | Since 2.56 if @module is %NULL this will call g_type_add_interface_static() | |
| 15437 | 17471 | instead. This can be used when making a static build of the module.</doc> | |
| 15438 | - | <source-position filename="gtypemodule.h" line="285"/> | |
| 17472 | + | <source-position filename="gobject/gtypemodule.h" line="280"/> | |
| 15439 | 17473 | <return-value transfer-ownership="none"> | |
| 15440 | 17474 | <type name="none" c:type="void"/> | |
| 15441 | 17475 | </return-value> | |
| @@ -15445,26 +17479,26 @@ instead. This can be used when making a static build of the module.</doc> | |||
| 15445 | 17479 | nullable="1" | |
| 15446 | 17480 | allow-none="1"> | |
| 15447 | 17481 | <doc xml:space="preserve" | |
| 15448 | - | filename="gobject-2.0.c" | |
| 15449 | - | line="6354">a #GTypeModule</doc> | |
| 17482 | + | filename="gobject/gtypemodule.c" | |
| 17483 | + | line="455">a #GTypeModule</doc> | |
| 15450 | 17484 | <type name="TypeModule" c:type="GTypeModule*"/> | |
| 15451 | 17485 | </instance-parameter> | |
| 15452 | 17486 | <parameter name="instance_type" transfer-ownership="none"> | |
| 15453 | 17487 | <doc xml:space="preserve" | |
| 15454 | - | filename="gobject-2.0.c" | |
| 15455 | - | line="6355">type to which to add the interface.</doc> | |
| 17488 | + | filename="gobject/gtypemodule.c" | |
| 17489 | + | line="456">type to which to add the interface.</doc> | |
| 15456 | 17490 | <type name="GType" c:type="GType"/> | |
| 15457 | 17491 | </parameter> | |
| 15458 | 17492 | <parameter name="interface_type" transfer-ownership="none"> | |
| 15459 | 17493 | <doc xml:space="preserve" | |
| 15460 | - | filename="gobject-2.0.c" | |
| 15461 | - | line="6356">interface type to add</doc> | |
| 17494 | + | filename="gobject/gtypemodule.c" | |
| 17495 | + | line="457">interface type to add</doc> | |
| 15462 | 17496 | <type name="GType" c:type="GType"/> | |
| 15463 | 17497 | </parameter> | |
| 15464 | 17498 | <parameter name="interface_info" transfer-ownership="none"> | |
| 15465 | 17499 | <doc xml:space="preserve" | |
| 15466 | - | filename="gobject-2.0.c" | |
| 15467 | - | line="6357">type information structure</doc> | |
| 17500 | + | filename="gobject/gtypemodule.c" | |
| 17501 | + | line="458">type information structure</doc> | |
| 15468 | 17502 | <type name="InterfaceInfo" c:type="const GInterfaceInfo*"/> | |
| 15469 | 17503 | </parameter> | |
| 15470 | 17504 | </parameters> | |
| @@ -15473,8 +17507,8 @@ instead. This can be used when making a static build of the module.</doc> | |||
| 15473 | 17507 | c:identifier="g_type_module_register_enum" | |
| 15474 | 17508 | version="2.6"> | |
| 15475 | 17509 | <doc xml:space="preserve" | |
| 15476 | - | filename="gobject-2.0.c" | |
| 15477 | - | line="6371">Looks up or registers an enumeration that is implemented with a particular | |
| 17510 | + | filename="gobject/gtypemodule.c" | |
| 17511 | + | line="524">Looks up or registers an enumeration that is implemented with a particular | |
| 15478 | 17512 | type plugin. If a type with name @type_name was previously registered, | |
| 15479 | 17513 | the #GType identifier for the type is returned, otherwise the type | |
| 15480 | 17514 | is newly registered, and the resulting #GType identifier returned. | |
| @@ -15484,11 +17518,11 @@ not be unloaded. | |||
| 15484 | 17518 | ||
| 15485 | 17519 | Since 2.56 if @module is %NULL this will call g_type_register_static() | |
| 15486 | 17520 | instead. This can be used when making a static build of the module.</doc> | |
| 15487 | - | <source-position filename="gtypemodule.h" line="290"/> | |
| 17521 | + | <source-position filename="gobject/gtypemodule.h" line="285"/> | |
| 15488 | 17522 | <return-value transfer-ownership="none"> | |
| 15489 | 17523 | <doc xml:space="preserve" | |
| 15490 | - | filename="gobject-2.0.c" | |
| 15491 | - | line="6392">the new or existing type ID</doc> | |
| 17524 | + | filename="gobject/gtypemodule.c" | |
| 17525 | + | line="546">the new or existing type ID</doc> | |
| 15492 | 17526 | <type name="GType" c:type="GType"/> | |
| 15493 | 17527 | </return-value> | |
| 15494 | 17528 | <parameters> | |
| @@ -15497,20 +17531,20 @@ instead. This can be used when making a static build of the module.</doc> | |||
| 15497 | 17531 | nullable="1" | |
| 15498 | 17532 | allow-none="1"> | |
| 15499 | 17533 | <doc xml:space="preserve" | |
| 15500 | - | filename="gobject-2.0.c" | |
| 15501 | - | line="6373">a #GTypeModule</doc> | |
| 17534 | + | filename="gobject/gtypemodule.c" | |
| 17535 | + | line="526">a #GTypeModule</doc> | |
| 15502 | 17536 | <type name="TypeModule" c:type="GTypeModule*"/> | |
| 15503 | 17537 | </instance-parameter> | |
| 15504 | 17538 | <parameter name="name" transfer-ownership="none"> | |
| 15505 | 17539 | <doc xml:space="preserve" | |
| 15506 | - | filename="gobject-2.0.c" | |
| 15507 | - | line="6374">name for the type</doc> | |
| 17540 | + | filename="gobject/gtypemodule.c" | |
| 17541 | + | line="527">name for the type</doc> | |
| 15508 | 17542 | <type name="utf8" c:type="const gchar*"/> | |
| 15509 | 17543 | </parameter> | |
| 15510 | 17544 | <parameter name="const_static_values" transfer-ownership="none"> | |
| 15511 | 17545 | <doc xml:space="preserve" | |
| 15512 | - | filename="gobject-2.0.c" | |
| 15513 | - | line="6375">an array of #GEnumValue structs for the | |
| 17546 | + | filename="gobject/gtypemodule.c" | |
| 17547 | + | line="528">an array of #GEnumValue structs for the | |
| 15514 | 17548 | possible enumeration values. The array is | |
| 15515 | 17549 | terminated by a struct with all members being | |
| 15516 | 17550 | 0.</doc> | |
| @@ -15522,8 +17556,8 @@ instead. This can be used when making a static build of the module.</doc> | |||
| 15522 | 17556 | c:identifier="g_type_module_register_flags" | |
| 15523 | 17557 | version="2.6"> | |
| 15524 | 17558 | <doc xml:space="preserve" | |
| 15525 | - | filename="gobject-2.0.c" | |
| 15526 | - | line="6396">Looks up or registers a flags type that is implemented with a particular | |
| 17559 | + | filename="gobject/gtypemodule.c" | |
| 17560 | + | line="566">Looks up or registers a flags type that is implemented with a particular | |
| 15527 | 17561 | type plugin. If a type with name @type_name was previously registered, | |
| 15528 | 17562 | the #GType identifier for the type is returned, otherwise the type | |
| 15529 | 17563 | is newly registered, and the resulting #GType identifier returned. | |
| @@ -15533,11 +17567,11 @@ not be unloaded. | |||
| 15533 | 17567 | ||
| 15534 | 17568 | Since 2.56 if @module is %NULL this will call g_type_register_static() | |
| 15535 | 17569 | instead. This can be used when making a static build of the module.</doc> | |
| 15536 | - | <source-position filename="gtypemodule.h" line="294"/> | |
| 17570 | + | <source-position filename="gobject/gtypemodule.h" line="289"/> | |
| 15537 | 17571 | <return-value transfer-ownership="none"> | |
| 15538 | 17572 | <doc xml:space="preserve" | |
| 15539 | - | filename="gobject-2.0.c" | |
| 15540 | - | line="6417">the new or existing type ID</doc> | |
| 17573 | + | filename="gobject/gtypemodule.c" | |
| 17574 | + | line="588">the new or existing type ID</doc> | |
| 15541 | 17575 | <type name="GType" c:type="GType"/> | |
| 15542 | 17576 | </return-value> | |
| 15543 | 17577 | <parameters> | |
| @@ -15546,20 +17580,20 @@ instead. This can be used when making a static build of the module.</doc> | |||
| 15546 | 17580 | nullable="1" | |
| 15547 | 17581 | allow-none="1"> | |
| 15548 | 17582 | <doc xml:space="preserve" | |
| 15549 | - | filename="gobject-2.0.c" | |
| 15550 | - | line="6398">a #GTypeModule</doc> | |
| 17583 | + | filename="gobject/gtypemodule.c" | |
| 17584 | + | line="568">a #GTypeModule</doc> | |
| 15551 | 17585 | <type name="TypeModule" c:type="GTypeModule*"/> | |
| 15552 | 17586 | </instance-parameter> | |
| 15553 | 17587 | <parameter name="name" transfer-ownership="none"> | |
| 15554 | 17588 | <doc xml:space="preserve" | |
| 15555 | - | filename="gobject-2.0.c" | |
| 15556 | - | line="6399">name for the type</doc> | |
| 17589 | + | filename="gobject/gtypemodule.c" | |
| 17590 | + | line="569">name for the type</doc> | |
| 15557 | 17591 | <type name="utf8" c:type="const gchar*"/> | |
| 15558 | 17592 | </parameter> | |
| 15559 | 17593 | <parameter name="const_static_values" transfer-ownership="none"> | |
| 15560 | 17594 | <doc xml:space="preserve" | |
| 15561 | - | filename="gobject-2.0.c" | |
| 15562 | - | line="6400">an array of #GFlagsValue structs for the | |
| 17595 | + | filename="gobject/gtypemodule.c" | |
| 17596 | + | line="570">an array of #GFlagsValue structs for the | |
| 15563 | 17597 | possible flags values. The array is | |
| 15564 | 17598 | terminated by a struct with all members being | |
| 15565 | 17599 | 0.</doc> | |
| @@ -15569,8 +17603,8 @@ instead. This can be used when making a static build of the module.</doc> | |||
| 15569 | 17603 | </method> | |
| 15570 | 17604 | <method name="register_type" c:identifier="g_type_module_register_type"> | |
| 15571 | 17605 | <doc xml:space="preserve" | |
| 15572 | - | filename="gobject-2.0.c" | |
| 15573 | - | line="6421">Looks up or registers a type that is implemented with a particular | |
| 17606 | + | filename="gobject/gtypemodule.c" | |
| 17607 | + | line="353">Looks up or registers a type that is implemented with a particular | |
| 15574 | 17608 | type plugin. If a type with name @type_name was previously registered, | |
| 15575 | 17609 | the #GType identifier for the type is returned, otherwise the type | |
| 15576 | 17610 | is newly registered, and the resulting #GType identifier returned. | |
| @@ -15584,11 +17618,11 @@ not be unloaded. | |||
| 15584 | 17618 | ||
| 15585 | 17619 | Since 2.56 if @module is %NULL this will call g_type_register_static() | |
| 15586 | 17620 | instead. This can be used when making a static build of the module.</doc> | |
| 15587 | - | <source-position filename="gtypemodule.h" line="279"/> | |
| 17621 | + | <source-position filename="gobject/gtypemodule.h" line="274"/> | |
| 15588 | 17622 | <return-value transfer-ownership="none"> | |
| 15589 | 17623 | <doc xml:space="preserve" | |
| 15590 | - | filename="gobject-2.0.c" | |
| 15591 | - | line="6444">the new or existing type ID</doc> | |
| 17624 | + | filename="gobject/gtypemodule.c" | |
| 17625 | + | line="376">the new or existing type ID</doc> | |
| 15592 | 17626 | <type name="GType" c:type="GType"/> | |
| 15593 | 17627 | </return-value> | |
| 15594 | 17628 | <parameters> | |
| @@ -15597,100 +17631,100 @@ instead. This can be used when making a static build of the module.</doc> | |||
| 15597 | 17631 | nullable="1" | |
| 15598 | 17632 | allow-none="1"> | |
| 15599 | 17633 | <doc xml:space="preserve" | |
| 15600 | - | filename="gobject-2.0.c" | |
| 15601 | - | line="6423">a #GTypeModule</doc> | |
| 17634 | + | filename="gobject/gtypemodule.c" | |
| 17635 | + | line="355">a #GTypeModule</doc> | |
| 15602 | 17636 | <type name="TypeModule" c:type="GTypeModule*"/> | |
| 15603 | 17637 | </instance-parameter> | |
| 15604 | 17638 | <parameter name="parent_type" transfer-ownership="none"> | |
| 15605 | 17639 | <doc xml:space="preserve" | |
| 15606 | - | filename="gobject-2.0.c" | |
| 15607 | - | line="6424">the type for the parent class</doc> | |
| 17640 | + | filename="gobject/gtypemodule.c" | |
| 17641 | + | line="356">the type for the parent class</doc> | |
| 15608 | 17642 | <type name="GType" c:type="GType"/> | |
| 15609 | 17643 | </parameter> | |
| 15610 | 17644 | <parameter name="type_name" transfer-ownership="none"> | |
| 15611 | 17645 | <doc xml:space="preserve" | |
| 15612 | - | filename="gobject-2.0.c" | |
| 15613 | - | line="6425">name for the type</doc> | |
| 17646 | + | filename="gobject/gtypemodule.c" | |
| 17647 | + | line="357">name for the type</doc> | |
| 15614 | 17648 | <type name="utf8" c:type="const gchar*"/> | |
| 15615 | 17649 | </parameter> | |
| 15616 | 17650 | <parameter name="type_info" transfer-ownership="none"> | |
| 15617 | 17651 | <doc xml:space="preserve" | |
| 15618 | - | filename="gobject-2.0.c" | |
| 15619 | - | line="6426">type information structure</doc> | |
| 17652 | + | filename="gobject/gtypemodule.c" | |
| 17653 | + | line="358">type information structure</doc> | |
| 15620 | 17654 | <type name="TypeInfo" c:type="const GTypeInfo*"/> | |
| 15621 | 17655 | </parameter> | |
| 15622 | 17656 | <parameter name="flags" transfer-ownership="none"> | |
| 15623 | 17657 | <doc xml:space="preserve" | |
| 15624 | - | filename="gobject-2.0.c" | |
| 15625 | - | line="6427">flags field providing details about the type</doc> | |
| 17658 | + | filename="gobject/gtypemodule.c" | |
| 17659 | + | line="359">flags field providing details about the type</doc> | |
| 15626 | 17660 | <type name="TypeFlags" c:type="GTypeFlags"/> | |
| 15627 | 17661 | </parameter> | |
| 15628 | 17662 | </parameters> | |
| 15629 | 17663 | </method> | |
| 15630 | 17664 | <method name="set_name" c:identifier="g_type_module_set_name"> | |
| 15631 | 17665 | <doc xml:space="preserve" | |
| 15632 | - | filename="gobject-2.0.c" | |
| 15633 | - | line="6448">Sets the name for a #GTypeModule</doc> | |
| 15634 | - | <source-position filename="gtypemodule.h" line="276"/> | |
| 17666 | + | filename="gobject/gtypemodule.c" | |
| 17667 | + | line="178">Sets the name for a #GTypeModule</doc> | |
| 17668 | + | <source-position filename="gobject/gtypemodule.h" line="271"/> | |
| 15635 | 17669 | <return-value transfer-ownership="none"> | |
| 15636 | 17670 | <type name="none" c:type="void"/> | |
| 15637 | 17671 | </return-value> | |
| 15638 | 17672 | <parameters> | |
| 15639 | 17673 | <instance-parameter name="module" transfer-ownership="none"> | |
| 15640 | 17674 | <doc xml:space="preserve" | |
| 15641 | - | filename="gobject-2.0.c" | |
| 15642 | - | line="6450">a #GTypeModule.</doc> | |
| 17675 | + | filename="gobject/gtypemodule.c" | |
| 17676 | + | line="180">a #GTypeModule.</doc> | |
| 15643 | 17677 | <type name="TypeModule" c:type="GTypeModule*"/> | |
| 15644 | 17678 | </instance-parameter> | |
| 15645 | 17679 | <parameter name="name" transfer-ownership="none"> | |
| 15646 | 17680 | <doc xml:space="preserve" | |
| 15647 | - | filename="gobject-2.0.c" | |
| 15648 | - | line="6451">a human-readable name to use in error messages.</doc> | |
| 17681 | + | filename="gobject/gtypemodule.c" | |
| 17682 | + | line="181">a human-readable name to use in error messages.</doc> | |
| 15649 | 17683 | <type name="utf8" c:type="const gchar*"/> | |
| 15650 | 17684 | </parameter> | |
| 15651 | 17685 | </parameters> | |
| 15652 | 17686 | </method> | |
| 15653 | 17687 | <method name="unuse" c:identifier="g_type_module_unuse"> | |
| 15654 | 17688 | <doc xml:space="preserve" | |
| 15655 | - | filename="gobject-2.0.c" | |
| 15656 | - | line="6457">Decreases the use count of a #GTypeModule by one. If the | |
| 17689 | + | filename="gobject/gtypemodule.c" | |
| 17690 | + | line="279">Decreases the use count of a #GTypeModule by one. If the | |
| 15657 | 17691 | result is zero, the module will be unloaded. (However, the | |
| 15658 | 17692 | #GTypeModule will not be freed, and types associated with the | |
| 15659 | 17693 | #GTypeModule are not unregistered. Once a #GTypeModule is | |
| 15660 | 17694 | initialized, it must exist forever.)</doc> | |
| 15661 | - | <source-position filename="gtypemodule.h" line="274"/> | |
| 17695 | + | <source-position filename="gobject/gtypemodule.h" line="269"/> | |
| 15662 | 17696 | <return-value transfer-ownership="none"> | |
| 15663 | 17697 | <type name="none" c:type="void"/> | |
| 15664 | 17698 | </return-value> | |
| 15665 | 17699 | <parameters> | |
| 15666 | 17700 | <instance-parameter name="module" transfer-ownership="none"> | |
| 15667 | 17701 | <doc xml:space="preserve" | |
| 15668 | - | filename="gobject-2.0.c" | |
| 15669 | - | line="6459">a #GTypeModule</doc> | |
| 17702 | + | filename="gobject/gtypemodule.c" | |
| 17703 | + | line="281">a #GTypeModule</doc> | |
| 15670 | 17704 | <type name="TypeModule" c:type="GTypeModule*"/> | |
| 15671 | 17705 | </instance-parameter> | |
| 15672 | 17706 | </parameters> | |
| 15673 | 17707 | </method> | |
| 15674 | 17708 | <method name="use" c:identifier="g_type_module_use"> | |
| 15675 | 17709 | <doc xml:space="preserve" | |
| 15676 | - | filename="gobject-2.0.c" | |
| 15677 | - | line="6469">Increases the use count of a #GTypeModule by one. If the | |
| 17710 | + | filename="gobject/gtypemodule.c" | |
| 17711 | + | line="231">Increases the use count of a #GTypeModule by one. If the | |
| 15678 | 17712 | use count was zero before, the plugin will be loaded. | |
| 15679 | 17713 | If loading the plugin fails, the use count is reset to | |
| 15680 | 17714 | its prior value.</doc> | |
| 15681 | - | <source-position filename="gtypemodule.h" line="272"/> | |
| 17715 | + | <source-position filename="gobject/gtypemodule.h" line="267"/> | |
| 15682 | 17716 | <return-value transfer-ownership="none"> | |
| 15683 | 17717 | <doc xml:space="preserve" | |
| 15684 | - | filename="gobject-2.0.c" | |
| 15685 | - | line="6478">%FALSE if the plugin needed to be loaded and | |
| 17718 | + | filename="gobject/gtypemodule.c" | |
| 17719 | + | line="240">%FALSE if the plugin needed to be loaded and | |
| 15686 | 17720 | loading the plugin failed.</doc> | |
| 15687 | 17721 | <type name="gboolean" c:type="gboolean"/> | |
| 15688 | 17722 | </return-value> | |
| 15689 | 17723 | <parameters> | |
| 15690 | 17724 | <instance-parameter name="module" transfer-ownership="none"> | |
| 15691 | 17725 | <doc xml:space="preserve" | |
| 15692 | - | filename="gobject-2.0.c" | |
| 15693 | - | line="6471">a #GTypeModule</doc> | |
| 17726 | + | filename="gobject/gtypemodule.c" | |
| 17727 | + | line="233">a #GTypeModule</doc> | |
| 15694 | 17728 | <type name="TypeModule" c:type="GTypeModule*"/> | |
| 15695 | 17729 | </instance-parameter> | |
| 15696 | 17730 | </parameters> | |
| @@ -15713,8 +17747,8 @@ its prior value.</doc> | |||
| 15713 | 17747 | </field> | |
| 15714 | 17748 | <field name="name"> | |
| 15715 | 17749 | <doc xml:space="preserve" | |
| 15716 | - | filename="gtypemodule.h" | |
| 15717 | - | line="43">the name of the module</doc> | |
| 17750 | + | filename="gobject/gtypemodule.c" | |
| 17751 | + | line="30">the name of the module</doc> | |
| 15718 | 17752 | <type name="utf8" c:type="gchar*"/> | |
| 15719 | 17753 | </field> | |
| 15720 | 17754 | </class> | |
| @@ -15722,19 +17756,23 @@ its prior value.</doc> | |||
| 15722 | 17756 | c:type="GTypeModuleClass" | |
| 15723 | 17757 | glib:is-gtype-struct-for="TypeModule"> | |
| 15724 | 17758 | <doc xml:space="preserve" | |
| 15725 | - | filename="gtypemodule.h" | |
| 15726 | - | line="60">In order to implement dynamic loading of types based on #GTypeModule, | |
| 17759 | + | filename="gobject/gtypemodule.h" | |
| 17760 | + | line="55">In order to implement dynamic loading of types based on #GTypeModule, | |
| 15727 | 17761 | the @load and @unload functions in #GTypeModuleClass must be implemented.</doc> | |
| 15728 | - | <source-position filename="gtypemodule.h" line="84"/> | |
| 17762 | + | <source-position filename="gobject/gtypemodule.h" line="79"/> | |
| 15729 | 17763 | <field name="parent_class"> | |
| 15730 | 17764 | <doc xml:space="preserve" | |
| 15731 | - | filename="gtypemodule.h" | |
| 15732 | - | line="62">the parent class</doc> | |
| 17765 | + | filename="gobject/gtypemodule.h" | |
| 17766 | + | line="57">the parent class</doc> | |
| 15733 | 17767 | <type name="ObjectClass" c:type="GObjectClass"/> | |
| 15734 | 17768 | </field> | |
| 15735 | 17769 | <field name="load"> | |
| 17770 | + | <doc xml:space="preserve" | |
| 17771 | + | filename="gobject/gtypemodule.h" | |
| 17772 | + | line="58">loads the module and registers one or more types using | |
| 17773 | + | g_type_module_register_type().</doc> | |
| 15736 | 17774 | <callback name="load"> | |
| 15737 | - | <source-position filename="gtypemodule.h" line="75"/> | |
| 17775 | + | <source-position filename="gobject/gtypemodule.h" line="70"/> | |
| 15738 | 17776 | <return-value transfer-ownership="none"> | |
| 15739 | 17777 | <type name="gboolean" c:type="gboolean"/> | |
| 15740 | 17778 | </return-value> | |
| @@ -15746,8 +17784,11 @@ the @load and @unload functions in #GTypeModuleClass must be implemented.</doc> | |||
| 15746 | 17784 | </callback> | |
| 15747 | 17785 | </field> | |
| 15748 | 17786 | <field name="unload"> | |
| 17787 | + | <doc xml:space="preserve" | |
| 17788 | + | filename="gobject/gtypemodule.h" | |
| 17789 | + | line="60">unloads the module</doc> | |
| 15749 | 17790 | <callback name="unload"> | |
| 15750 | - | <source-position filename="gtypemodule.h" line="76"/> | |
| 17791 | + | <source-position filename="gobject/gtypemodule.h" line="71"/> | |
| 15751 | 17792 | <return-value transfer-ownership="none"> | |
| 15752 | 17793 | <type name="none" c:type="void"/> | |
| 15753 | 17794 | </return-value> | |
| @@ -15760,7 +17801,7 @@ the @load and @unload functions in #GTypeModuleClass must be implemented.</doc> | |||
| 15760 | 17801 | </field> | |
| 15761 | 17802 | <field name="reserved1"> | |
| 15762 | 17803 | <callback name="reserved1"> | |
| 15763 | - | <source-position filename="gtypemodule.h" line="80"/> | |
| 17804 | + | <source-position filename="gobject/gtypemodule.h" line="75"/> | |
| 15764 | 17805 | <return-value transfer-ownership="none"> | |
| 15765 | 17806 | <type name="none" c:type="void"/> | |
| 15766 | 17807 | </return-value> | |
| @@ -15768,7 +17809,7 @@ the @load and @unload functions in #GTypeModuleClass must be implemented.</doc> | |||
| 15768 | 17809 | </field> | |
| 15769 | 17810 | <field name="reserved2"> | |
| 15770 | 17811 | <callback name="reserved2"> | |
| 15771 | - | <source-position filename="gtypemodule.h" line="81"/> | |
| 17812 | + | <source-position filename="gobject/gtypemodule.h" line="76"/> | |
| 15772 | 17813 | <return-value transfer-ownership="none"> | |
| 15773 | 17814 | <type name="none" c:type="void"/> | |
| 15774 | 17815 | </return-value> | |
| @@ -15776,7 +17817,7 @@ the @load and @unload functions in #GTypeModuleClass must be implemented.</doc> | |||
| 15776 | 17817 | </field> | |
| 15777 | 17818 | <field name="reserved3"> | |
| 15778 | 17819 | <callback name="reserved3"> | |
| 15779 | - | <source-position filename="gtypemodule.h" line="82"/> | |
| 17820 | + | <source-position filename="gobject/gtypemodule.h" line="77"/> | |
| 15780 | 17821 | <return-value transfer-ownership="none"> | |
| 15781 | 17822 | <type name="none" c:type="void"/> | |
| 15782 | 17823 | </return-value> | |
| @@ -15784,7 +17825,7 @@ the @load and @unload functions in #GTypeModuleClass must be implemented.</doc> | |||
| 15784 | 17825 | </field> | |
| 15785 | 17826 | <field name="reserved4"> | |
| 15786 | 17827 | <callback name="reserved4"> | |
| 15787 | - | <source-position filename="gtypemodule.h" line="83"/> | |
| 17828 | + | <source-position filename="gobject/gtypemodule.h" line="78"/> | |
| 15788 | 17829 | <return-value transfer-ownership="none"> | |
| 15789 | 17830 | <type name="none" c:type="void"/> | |
| 15790 | 17831 | </return-value> | |
| @@ -15797,8 +17838,8 @@ the @load and @unload functions in #GTypeModuleClass must be implemented.</doc> | |||
| 15797 | 17838 | glib:type-name="GTypePlugin" | |
| 15798 | 17839 | glib:get-type="g_type_plugin_get_type"> | |
| 15799 | 17840 | <doc xml:space="preserve" | |
| 15800 | - | filename="gobject-2.0.c" | |
| 15801 | - | line="662">An interface that handles the lifecycle of dynamically loaded types. | |
| 17841 | + | filename="gobject/gtypeplugin.c" | |
| 17842 | + | line="25">An interface that handles the lifecycle of dynamically loaded types. | |
| 15802 | 17843 | ||
| 15803 | 17844 | The GObject type system supports dynamic loading of types. | |
| 15804 | 17845 | It goes as follows: | |
| @@ -15806,81 +17847,81 @@ It goes as follows: | |||
| 15806 | 17847 | 1. The type is initially introduced (usually upon loading the module | |
| 15807 | 17848 | the first time, or by your main application that knows what modules | |
| 15808 | 17849 | introduces what types), like this: | |
| 15809 | - | |[<!-- language="C" --> | |
| 17850 | + | ```c | |
| 15810 | 17851 | new_type_id = g_type_register_dynamic (parent_type_id, | |
| 15811 | 17852 | "TypeName", | |
| 15812 | 17853 | new_type_plugin, | |
| 15813 | 17854 | type_flags); | |
| 15814 | - | ]| | |
| 15815 | - | where @new_type_plugin is an implementation of the | |
| 15816 | - | #GTypePlugin interface. | |
| 17855 | + | ``` | |
| 17856 | + | where `new_type_plugin` is an implementation of the | |
| 17857 | + | `GTypePlugin` interface. | |
| 15817 | 17858 | ||
| 15818 | 17859 | 2. The type's implementation is referenced, e.g. through | |
| 15819 | - | g_type_class_ref() or through g_type_create_instance() (this is | |
| 15820 | - | being called by g_object_new()) or through one of the above done on | |
| 15821 | - | a type derived from @new_type_id. | |
| 17860 | + | [func@GObject.TypeClass.ref] or through [func@GObject.type_create_instance] | |
| 17861 | + | (this is being called by [ctor@GObject.Object.new]) or through one of the above | |
| 17862 | + | done on a type derived from `new_type_id`. | |
| 15822 | 17863 | ||
| 15823 | - | 3. This causes the type system to load the type's implementation by | |
| 15824 | - | calling g_type_plugin_use() and g_type_plugin_complete_type_info() | |
| 15825 | - | on @new_type_plugin. | |
| 17864 | + | 3. This causes the type system to load the type's implementation by calling | |
| 17865 | + | [method@GObject.TypePlugin.use] and [method@GObject.TypePlugin.complete_type_info] | |
| 17866 | + | on `new_type_plugin`. | |
| 15826 | 17867 | ||
| 15827 | - | 4. At some point the type's implementation isn't required anymore, | |
| 15828 | - | e.g. after g_type_class_unref() or g_type_free_instance() (called | |
| 15829 | - | when the reference count of an instance drops to zero). | |
| 17868 | + | 4. At some point the type's implementation isn't required anymore, e.g. after | |
| 17869 | + | [method@GObject.TypeClass.unref] or [func@GObject.type_free_instance] | |
| 17870 | + | (called when the reference count of an instance drops to zero). | |
| 15830 | 17871 | ||
| 15831 | 17872 | 5. This causes the type system to throw away the information retrieved | |
| 15832 | - | from g_type_plugin_complete_type_info() and then it calls | |
| 15833 | - | g_type_plugin_unuse() on @new_type_plugin. | |
| 17873 | + | from [method@GObject.TypePlugin.complete_type_info] and then it calls | |
| 17874 | + | [method@GObject.TypePlugin.unuse] on `new_type_plugin`. | |
| 15834 | 17875 | ||
| 15835 | 17876 | 6. Things may repeat from the second step. | |
| 15836 | 17877 | ||
| 15837 | - | So basically, you need to implement a #GTypePlugin type that | |
| 17878 | + | So basically, you need to implement a `GTypePlugin` type that | |
| 15838 | 17879 | carries a use_count, once use_count goes from zero to one, you need | |
| 15839 | 17880 | to load the implementation to successfully handle the upcoming | |
| 15840 | - | g_type_plugin_complete_type_info() call. Later, maybe after | |
| 17881 | + | [method@GObject.TypePlugin.complete_type_info] call. Later, maybe after | |
| 15841 | 17882 | succeeding use/unuse calls, once use_count drops to zero, you can | |
| 15842 | 17883 | unload the implementation again. The type system makes sure to call | |
| 15843 | - | g_type_plugin_use() and g_type_plugin_complete_type_info() again | |
| 15844 | - | when the type is needed again. | |
| 17884 | + | [method@GObject.TypePlugin.use] and [method@GObject.TypePlugin.complete_type_info] | |
| 17885 | + | again when the type is needed again. | |
| 15845 | 17886 | ||
| 15846 | - | #GTypeModule is an implementation of #GTypePlugin that already | |
| 15847 | - | implements most of this except for the actual module loading and | |
| 17887 | + | [class@GObject.TypeModule] is an implementation of `GTypePlugin` that | |
| 17888 | + | already implements most of this except for the actual module loading and | |
| 15848 | 17889 | unloading. It even handles multiple registered types per module.</doc> | |
| 15849 | 17890 | <method name="complete_interface_info" | |
| 15850 | 17891 | c:identifier="g_type_plugin_complete_interface_info"> | |
| 15851 | 17892 | <doc xml:space="preserve" | |
| 15852 | - | filename="gobject-2.0.c" | |
| 15853 | - | line="6525">Calls the @complete_interface_info function from the | |
| 17893 | + | filename="gobject/gtypeplugin.c" | |
| 17894 | + | line="174">Calls the @complete_interface_info function from the | |
| 15854 | 17895 | #GTypePluginClass of @plugin. There should be no need to use this | |
| 15855 | 17896 | function outside of the GObject type system itself.</doc> | |
| 15856 | - | <source-position filename="gtypeplugin.h" line="127"/> | |
| 17897 | + | <source-position filename="gobject/gtypeplugin.h" line="123"/> | |
| 15857 | 17898 | <return-value transfer-ownership="none"> | |
| 15858 | 17899 | <type name="none" c:type="void"/> | |
| 15859 | 17900 | </return-value> | |
| 15860 | 17901 | <parameters> | |
| 15861 | 17902 | <instance-parameter name="plugin" transfer-ownership="none"> | |
| 15862 | 17903 | <doc xml:space="preserve" | |
| 15863 | - | filename="gobject-2.0.c" | |
| 15864 | - | line="6527">the #GTypePlugin</doc> | |
| 17904 | + | filename="gobject/gtypeplugin.c" | |
| 17905 | + | line="176">the #GTypePlugin</doc> | |
| 15865 | 17906 | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 15866 | 17907 | </instance-parameter> | |
| 15867 | 17908 | <parameter name="instance_type" transfer-ownership="none"> | |
| 15868 | 17909 | <doc xml:space="preserve" | |
| 15869 | - | filename="gobject-2.0.c" | |
| 15870 | - | line="6528">the #GType of an instantiatable type to which the interface | |
| 17910 | + | filename="gobject/gtypeplugin.c" | |
| 17911 | + | line="177">the #GType of an instantiatable type to which the interface | |
| 15871 | 17912 | is added</doc> | |
| 15872 | 17913 | <type name="GType" c:type="GType"/> | |
| 15873 | 17914 | </parameter> | |
| 15874 | 17915 | <parameter name="interface_type" transfer-ownership="none"> | |
| 15875 | 17916 | <doc xml:space="preserve" | |
| 15876 | - | filename="gobject-2.0.c" | |
| 15877 | - | line="6530">the #GType of the interface whose info is completed</doc> | |
| 17917 | + | filename="gobject/gtypeplugin.c" | |
| 17918 | + | line="179">the #GType of the interface whose info is completed</doc> | |
| 15878 | 17919 | <type name="GType" c:type="GType"/> | |
| 15879 | 17920 | </parameter> | |
| 15880 | 17921 | <parameter name="info" transfer-ownership="none"> | |
| 15881 | 17922 | <doc xml:space="preserve" | |
| 15882 | - | filename="gobject-2.0.c" | |
| 15883 | - | line="6531">the #GInterfaceInfo to fill in</doc> | |
| 17923 | + | filename="gobject/gtypeplugin.c" | |
| 17924 | + | line="180">the #GInterfaceInfo to fill in</doc> | |
| 15884 | 17925 | <type name="InterfaceInfo" c:type="GInterfaceInfo*"/> | |
| 15885 | 17926 | </parameter> | |
| 15886 | 17927 | </parameters> | |
| @@ -15888,75 +17929,75 @@ function outside of the GObject type system itself.</doc> | |||
| 15888 | 17929 | <method name="complete_type_info" | |
| 15889 | 17930 | c:identifier="g_type_plugin_complete_type_info"> | |
| 15890 | 17931 | <doc xml:space="preserve" | |
| 15891 | - | filename="gobject-2.0.c" | |
| 15892 | - | line="6539">Calls the @complete_type_info function from the #GTypePluginClass of @plugin. | |
| 17932 | + | filename="gobject/gtypeplugin.c" | |
| 17933 | + | line="144">Calls the @complete_type_info function from the #GTypePluginClass of @plugin. | |
| 15893 | 17934 | There should be no need to use this function outside of the GObject | |
| 15894 | 17935 | type system itself.</doc> | |
| 15895 | - | <source-position filename="gtypeplugin.h" line="122"/> | |
| 17936 | + | <source-position filename="gobject/gtypeplugin.h" line="118"/> | |
| 15896 | 17937 | <return-value transfer-ownership="none"> | |
| 15897 | 17938 | <type name="none" c:type="void"/> | |
| 15898 | 17939 | </return-value> | |
| 15899 | 17940 | <parameters> | |
| 15900 | 17941 | <instance-parameter name="plugin" transfer-ownership="none"> | |
| 15901 | 17942 | <doc xml:space="preserve" | |
| 15902 | - | filename="gobject-2.0.c" | |
| 15903 | - | line="6541">a #GTypePlugin</doc> | |
| 17943 | + | filename="gobject/gtypeplugin.c" | |
| 17944 | + | line="146">a #GTypePlugin</doc> | |
| 15904 | 17945 | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 15905 | 17946 | </instance-parameter> | |
| 15906 | 17947 | <parameter name="g_type" transfer-ownership="none"> | |
| 15907 | 17948 | <doc xml:space="preserve" | |
| 15908 | - | filename="gobject-2.0.c" | |
| 15909 | - | line="6542">the #GType whose info is completed</doc> | |
| 17949 | + | filename="gobject/gtypeplugin.c" | |
| 17950 | + | line="147">the #GType whose info is completed</doc> | |
| 15910 | 17951 | <type name="GType" c:type="GType"/> | |
| 15911 | 17952 | </parameter> | |
| 15912 | 17953 | <parameter name="info" transfer-ownership="none"> | |
| 15913 | 17954 | <doc xml:space="preserve" | |
| 15914 | - | filename="gobject-2.0.c" | |
| 15915 | - | line="6543">the #GTypeInfo struct to fill in</doc> | |
| 17955 | + | filename="gobject/gtypeplugin.c" | |
| 17956 | + | line="148">the #GTypeInfo struct to fill in</doc> | |
| 15916 | 17957 | <type name="TypeInfo" c:type="GTypeInfo*"/> | |
| 15917 | 17958 | </parameter> | |
| 15918 | 17959 | <parameter name="value_table" transfer-ownership="none"> | |
| 15919 | 17960 | <doc xml:space="preserve" | |
| 15920 | - | filename="gobject-2.0.c" | |
| 15921 | - | line="6544">the #GTypeValueTable to fill in</doc> | |
| 17961 | + | filename="gobject/gtypeplugin.c" | |
| 17962 | + | line="149">the #GTypeValueTable to fill in</doc> | |
| 15922 | 17963 | <type name="TypeValueTable" c:type="GTypeValueTable*"/> | |
| 15923 | 17964 | </parameter> | |
| 15924 | 17965 | </parameters> | |
| 15925 | 17966 | </method> | |
| 15926 | 17967 | <method name="unuse" c:identifier="g_type_plugin_unuse"> | |
| 15927 | 17968 | <doc xml:space="preserve" | |
| 15928 | - | filename="gobject-2.0.c" | |
| 15929 | - | line="6552">Calls the @unuse_plugin function from the #GTypePluginClass of | |
| 17969 | + | filename="gobject/gtypeplugin.c" | |
| 17970 | + | line="125">Calls the @unuse_plugin function from the #GTypePluginClass of | |
| 15930 | 17971 | @plugin. There should be no need to use this function outside of | |
| 15931 | 17972 | the GObject type system itself.</doc> | |
| 15932 | - | <source-position filename="gtypeplugin.h" line="120"/> | |
| 17973 | + | <source-position filename="gobject/gtypeplugin.h" line="116"/> | |
| 15933 | 17974 | <return-value transfer-ownership="none"> | |
| 15934 | 17975 | <type name="none" c:type="void"/> | |
| 15935 | 17976 | </return-value> | |
| 15936 | 17977 | <parameters> | |
| 15937 | 17978 | <instance-parameter name="plugin" transfer-ownership="none"> | |
| 15938 | 17979 | <doc xml:space="preserve" | |
| 15939 | - | filename="gobject-2.0.c" | |
| 15940 | - | line="6554">a #GTypePlugin</doc> | |
| 17980 | + | filename="gobject/gtypeplugin.c" | |
| 17981 | + | line="127">a #GTypePlugin</doc> | |
| 15941 | 17982 | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 15942 | 17983 | </instance-parameter> | |
| 15943 | 17984 | </parameters> | |
| 15944 | 17985 | </method> | |
| 15945 | 17986 | <method name="use" c:identifier="g_type_plugin_use"> | |
| 15946 | 17987 | <doc xml:space="preserve" | |
| 15947 | - | filename="gobject-2.0.c" | |
| 15948 | - | line="6562">Calls the @use_plugin function from the #GTypePluginClass of | |
| 17988 | + | filename="gobject/gtypeplugin.c" | |
| 17989 | + | line="106">Calls the @use_plugin function from the #GTypePluginClass of | |
| 15949 | 17990 | @plugin. There should be no need to use this function outside of | |
| 15950 | 17991 | the GObject type system itself.</doc> | |
| 15951 | - | <source-position filename="gtypeplugin.h" line="118"/> | |
| 17992 | + | <source-position filename="gobject/gtypeplugin.h" line="114"/> | |
| 15952 | 17993 | <return-value transfer-ownership="none"> | |
| 15953 | 17994 | <type name="none" c:type="void"/> | |
| 15954 | 17995 | </return-value> | |
| 15955 | 17996 | <parameters> | |
| 15956 | 17997 | <instance-parameter name="plugin" transfer-ownership="none"> | |
| 15957 | 17998 | <doc xml:space="preserve" | |
| 15958 | - | filename="gobject-2.0.c" | |
| 15959 | - | line="6564">a #GTypePlugin</doc> | |
| 17999 | + | filename="gobject/gtypeplugin.c" | |
| 18000 | + | line="108">a #GTypePlugin</doc> | |
| 15960 | 18001 | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 15961 | 18002 | </instance-parameter> | |
| 15962 | 18003 | </parameters> | |
| @@ -15964,29 +18005,29 @@ the GObject type system itself.</doc> | |||
| 15964 | 18005 | </interface> | |
| 15965 | 18006 | <record name="TypePluginClass" c:type="GTypePluginClass"> | |
| 15966 | 18007 | <doc xml:space="preserve" | |
| 15967 | - | filename="gtypeplugin.h" | |
| 15968 | - | line="87">The #GTypePlugin interface is used by the type system in order to handle | |
| 18008 | + | filename="gobject/gtypeplugin.h" | |
| 18009 | + | line="83">The #GTypePlugin interface is used by the type system in order to handle | |
| 15969 | 18010 | the lifecycle of dynamically loaded types.</doc> | |
| 15970 | - | <source-position filename="gtypeplugin.h" line="111"/> | |
| 18011 | + | <source-position filename="gobject/gtypeplugin.h" line="107"/> | |
| 15971 | 18012 | <field name="base_iface" readable="0" private="1"> | |
| 15972 | 18013 | <type name="TypeInterface" c:type="GTypeInterface"/> | |
| 15973 | 18014 | </field> | |
| 15974 | 18015 | <field name="use_plugin" writable="1"> | |
| 15975 | 18016 | <doc xml:space="preserve" | |
| 15976 | - | filename="gtypeplugin.h" | |
| 15977 | - | line="89">Increases the use count of the plugin.</doc> | |
| 18017 | + | filename="gobject/gtypeplugin.h" | |
| 18018 | + | line="85">Increases the use count of the plugin.</doc> | |
| 15978 | 18019 | <type name="TypePluginUse" c:type="GTypePluginUse"/> | |
| 15979 | 18020 | </field> | |
| 15980 | 18021 | <field name="unuse_plugin" writable="1"> | |
| 15981 | 18022 | <doc xml:space="preserve" | |
| 15982 | - | filename="gtypeplugin.h" | |
| 15983 | - | line="90">Decreases the use count of the plugin.</doc> | |
| 18023 | + | filename="gobject/gtypeplugin.h" | |
| 18024 | + | line="86">Decreases the use count of the plugin.</doc> | |
| 15984 | 18025 | <type name="TypePluginUnuse" c:type="GTypePluginUnuse"/> | |
| 15985 | 18026 | </field> | |
| 15986 | 18027 | <field name="complete_type_info" writable="1"> | |
| 15987 | 18028 | <doc xml:space="preserve" | |
| 15988 | - | filename="gtypeplugin.h" | |
| 15989 | - | line="91">Fills in the #GTypeInfo and | |
| 18029 | + | filename="gobject/gtypeplugin.h" | |
| 18030 | + | line="87">Fills in the #GTypeInfo and | |
| 15990 | 18031 | #GTypeValueTable structs for the type. The structs are initialized | |
| 15991 | 18032 | with `memset(s, 0, sizeof (s))` before calling this function.</doc> | |
| 15992 | 18033 | <type name="TypePluginCompleteTypeInfo" | |
| @@ -15994,8 +18035,8 @@ the lifecycle of dynamically loaded types.</doc> | |||
| 15994 | 18035 | </field> | |
| 15995 | 18036 | <field name="complete_interface_info" writable="1"> | |
| 15996 | 18037 | <doc xml:space="preserve" | |
| 15997 | - | filename="gtypeplugin.h" | |
| 15998 | - | line="94">Fills in missing parts of the #GInterfaceInfo | |
| 18038 | + | filename="gobject/gtypeplugin.h" | |
| 18039 | + | line="90">Fills in missing parts of the #GInterfaceInfo | |
| 15999 | 18040 | for the interface. The structs is initialized with | |
| 16000 | 18041 | `memset(s, 0, sizeof (s))` before calling this function.</doc> | |
| 16001 | 18042 | <type name="TypePluginCompleteInterfaceInfo" | |
| @@ -16005,36 +18046,36 @@ the lifecycle of dynamically loaded types.</doc> | |||
| 16005 | 18046 | <callback name="TypePluginCompleteInterfaceInfo" | |
| 16006 | 18047 | c:type="GTypePluginCompleteInterfaceInfo"> | |
| 16007 | 18048 | <doc xml:space="preserve" | |
| 16008 | - | filename="gtypeplugin.h" | |
| 16009 | - | line="67">The type of the @complete_interface_info function of #GTypePluginClass.</doc> | |
| 16010 | - | <source-position filename="gtypeplugin.h" line="77"/> | |
| 18049 | + | filename="gobject/gtypeplugin.h" | |
| 18050 | + | line="69">The type of the @complete_interface_info function of #GTypePluginClass.</doc> | |
| 18051 | + | <source-position filename="gobject/gtypeplugin.h" line="79"/> | |
| 16011 | 18052 | <return-value transfer-ownership="none"> | |
| 16012 | 18053 | <type name="none" c:type="void"/> | |
| 16013 | 18054 | </return-value> | |
| 16014 | 18055 | <parameters> | |
| 16015 | 18056 | <parameter name="plugin" transfer-ownership="none"> | |
| 16016 | 18057 | <doc xml:space="preserve" | |
| 16017 | - | filename="gtypeplugin.h" | |
| 16018 | - | line="69">the #GTypePlugin</doc> | |
| 18058 | + | filename="gobject/gtypeplugin.h" | |
| 18059 | + | line="71">the #GTypePlugin</doc> | |
| 16019 | 18060 | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 16020 | 18061 | </parameter> | |
| 16021 | 18062 | <parameter name="instance_type" transfer-ownership="none"> | |
| 16022 | 18063 | <doc xml:space="preserve" | |
| 16023 | - | filename="gtypeplugin.h" | |
| 16024 | - | line="70">the #GType of an instantiatable type to which the interface | |
| 18064 | + | filename="gobject/gtypeplugin.h" | |
| 18065 | + | line="72">the #GType of an instantiatable type to which the interface | |
| 16025 | 18066 | is added</doc> | |
| 16026 | 18067 | <type name="GType" c:type="GType"/> | |
| 16027 | 18068 | </parameter> | |
| 16028 | 18069 | <parameter name="interface_type" transfer-ownership="none"> | |
| 16029 | 18070 | <doc xml:space="preserve" | |
| 16030 | - | filename="gtypeplugin.h" | |
| 16031 | - | line="72">the #GType of the interface whose info is completed</doc> | |
| 18071 | + | filename="gobject/gtypeplugin.h" | |
| 18072 | + | line="74">the #GType of the interface whose info is completed</doc> | |
| 16032 | 18073 | <type name="GType" c:type="GType"/> | |
| 16033 | 18074 | </parameter> | |
| 16034 | 18075 | <parameter name="info" transfer-ownership="none"> | |
| 16035 | 18076 | <doc xml:space="preserve" | |
| 16036 | - | filename="gtypeplugin.h" | |
| 16037 | - | line="73">the #GInterfaceInfo to fill in</doc> | |
| 18077 | + | filename="gobject/gtypeplugin.h" | |
| 18078 | + | line="75">the #GInterfaceInfo to fill in</doc> | |
| 16038 | 18079 | <type name="InterfaceInfo" c:type="GInterfaceInfo*"/> | |
| 16039 | 18080 | </parameter> | |
| 16040 | 18081 | </parameters> | |
| @@ -16042,283 +18083,733 @@ the lifecycle of dynamically loaded types.</doc> | |||
| 16042 | 18083 | <callback name="TypePluginCompleteTypeInfo" | |
| 16043 | 18084 | c:type="GTypePluginCompleteTypeInfo"> | |
| 16044 | 18085 | <doc xml:space="preserve" | |
| 16045 | - | filename="gtypeplugin.h" | |
| 16046 | - | line="54">The type of the @complete_type_info function of #GTypePluginClass.</doc> | |
| 16047 | - | <source-position filename="gtypeplugin.h" line="63"/> | |
| 18086 | + | filename="gobject/gtypeplugin.h" | |
| 18087 | + | line="56">The type of the @complete_type_info function of #GTypePluginClass.</doc> | |
| 18088 | + | <source-position filename="gobject/gtypeplugin.h" line="65"/> | |
| 18089 | + | <return-value transfer-ownership="none"> | |
| 18090 | + | <type name="none" c:type="void"/> | |
| 18091 | + | </return-value> | |
| 18092 | + | <parameters> | |
| 18093 | + | <parameter name="plugin" transfer-ownership="none"> | |
| 18094 | + | <doc xml:space="preserve" | |
| 18095 | + | filename="gobject/gtypeplugin.h" | |
| 18096 | + | line="58">the #GTypePlugin</doc> | |
| 18097 | + | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 18098 | + | </parameter> | |
| 18099 | + | <parameter name="g_type" transfer-ownership="none"> | |
| 18100 | + | <doc xml:space="preserve" | |
| 18101 | + | filename="gobject/gtypeplugin.h" | |
| 18102 | + | line="59">the #GType whose info is completed</doc> | |
| 18103 | + | <type name="GType" c:type="GType"/> | |
| 18104 | + | </parameter> | |
| 18105 | + | <parameter name="info" transfer-ownership="none"> | |
| 18106 | + | <doc xml:space="preserve" | |
| 18107 | + | filename="gobject/gtypeplugin.h" | |
| 18108 | + | line="60">the #GTypeInfo struct to fill in</doc> | |
| 18109 | + | <type name="TypeInfo" c:type="GTypeInfo*"/> | |
| 18110 | + | </parameter> | |
| 18111 | + | <parameter name="value_table" transfer-ownership="none"> | |
| 18112 | + | <doc xml:space="preserve" | |
| 18113 | + | filename="gobject/gtypeplugin.h" | |
| 18114 | + | line="61">the #GTypeValueTable to fill in</doc> | |
| 18115 | + | <type name="TypeValueTable" c:type="GTypeValueTable*"/> | |
| 18116 | + | </parameter> | |
| 18117 | + | </parameters> | |
| 18118 | + | </callback> | |
| 18119 | + | <callback name="TypePluginUnuse" c:type="GTypePluginUnuse"> | |
| 18120 | + | <doc xml:space="preserve" | |
| 18121 | + | filename="gobject/gtypeplugin.h" | |
| 18122 | + | line="49">The type of the @unuse_plugin function of #GTypePluginClass.</doc> | |
| 18123 | + | <source-position filename="gobject/gtypeplugin.h" line="55"/> | |
| 18124 | + | <return-value transfer-ownership="none"> | |
| 18125 | + | <type name="none" c:type="void"/> | |
| 18126 | + | </return-value> | |
| 18127 | + | <parameters> | |
| 18128 | + | <parameter name="plugin" transfer-ownership="none"> | |
| 18129 | + | <doc xml:space="preserve" | |
| 18130 | + | filename="gobject/gtypeplugin.h" | |
| 18131 | + | line="51">the #GTypePlugin whose use count should be decreased</doc> | |
| 18132 | + | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 18133 | + | </parameter> | |
| 18134 | + | </parameters> | |
| 18135 | + | </callback> | |
| 18136 | + | <callback name="TypePluginUse" c:type="GTypePluginUse"> | |
| 18137 | + | <doc xml:space="preserve" | |
| 18138 | + | filename="gobject/gtypeplugin.h" | |
| 18139 | + | line="41">The type of the @use_plugin function of #GTypePluginClass, which gets called | |
| 18140 | + | to increase the use count of @plugin.</doc> | |
| 18141 | + | <source-position filename="gobject/gtypeplugin.h" line="48"/> | |
| 18142 | + | <return-value transfer-ownership="none"> | |
| 18143 | + | <type name="none" c:type="void"/> | |
| 18144 | + | </return-value> | |
| 18145 | + | <parameters> | |
| 18146 | + | <parameter name="plugin" transfer-ownership="none"> | |
| 18147 | + | <doc xml:space="preserve" | |
| 18148 | + | filename="gobject/gtypeplugin.h" | |
| 18149 | + | line="43">the #GTypePlugin whose use count should be increased</doc> | |
| 18150 | + | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 18151 | + | </parameter> | |
| 18152 | + | </parameters> | |
| 18153 | + | </callback> | |
| 18154 | + | <record name="TypeQuery" c:type="GTypeQuery"> | |
| 18155 | + | <doc xml:space="preserve" | |
| 18156 | + | filename="gobject/gtype.h" | |
| 18157 | + | line="477">A structure holding information for a specific type. | |
| 18158 | + | ||
| 18159 | + | See also: g_type_query()</doc> | |
| 18160 | + | <source-position filename="gobject/gtype.h" line="494"/> | |
| 18161 | + | <field name="type" writable="1"> | |
| 18162 | + | <doc xml:space="preserve" | |
| 18163 | + | filename="gobject/gtype.h" | |
| 18164 | + | line="479">the #GType value of the type</doc> | |
| 18165 | + | <type name="GType" c:type="GType"/> | |
| 18166 | + | </field> | |
| 18167 | + | <field name="type_name" writable="1"> | |
| 18168 | + | <doc xml:space="preserve" | |
| 18169 | + | filename="gobject/gtype.h" | |
| 18170 | + | line="480">the name of the type</doc> | |
| 18171 | + | <type name="utf8" c:type="const gchar*"/> | |
| 18172 | + | </field> | |
| 18173 | + | <field name="class_size" writable="1"> | |
| 18174 | + | <doc xml:space="preserve" | |
| 18175 | + | filename="gobject/gtype.h" | |
| 18176 | + | line="481">the size of the class structure</doc> | |
| 18177 | + | <type name="guint" c:type="guint"/> | |
| 18178 | + | </field> | |
| 18179 | + | <field name="instance_size" writable="1"> | |
| 18180 | + | <doc xml:space="preserve" | |
| 18181 | + | filename="gobject/gtype.h" | |
| 18182 | + | line="482">the size of the instance structure</doc> | |
| 18183 | + | <type name="guint" c:type="guint"/> | |
| 18184 | + | </field> | |
| 18185 | + | </record> | |
| 18186 | + | <callback name="TypeValueCollectFunc" | |
| 18187 | + | c:type="GTypeValueCollectFunc" | |
| 18188 | + | version="2.78"> | |
| 18189 | + | <doc xml:space="preserve" | |
| 18190 | + | filename="gobject/gtype.h" | |
| 18191 | + | line="1260">This function is responsible for converting the values collected from | |
| 18192 | + | a variadic argument list into contents suitable for storage in a #GValue. | |
| 18193 | + | ||
| 18194 | + | This function should setup @value similar to #GTypeValueInitFunc; e.g. | |
| 18195 | + | for a string value that does not allow `NULL` pointers, it needs to either | |
| 18196 | + | emit an error, or do an implicit conversion by storing an empty string. | |
| 18197 | + | ||
| 18198 | + | The @value passed in to this function has a zero-filled data array, so | |
| 18199 | + | just like for #GTypeValueInitFunc it is guaranteed to not contain any old | |
| 18200 | + | contents that might need freeing. | |
| 18201 | + | ||
| 18202 | + | The @n_collect_values argument is the string length of the `collect_format` | |
| 18203 | + | field of #GTypeValueTable, and `collect_values` is an array of #GTypeCValue | |
| 18204 | + | with length of @n_collect_values, containing the collected values according | |
| 18205 | + | to `collect_format`. | |
| 18206 | + | ||
| 18207 | + | The @collect_flags argument provided as a hint by the caller. It may | |
| 18208 | + | contain the flag %G_VALUE_NOCOPY_CONTENTS indicating that the collected | |
| 18209 | + | value contents may be considered ‘static’ for the duration of the @value | |
| 18210 | + | lifetime. Thus an extra copy of the contents stored in @collect_values is | |
| 18211 | + | not required for assignment to @value. | |
| 18212 | + | ||
| 18213 | + | For our above string example, we continue with: | |
| 18214 | + | ||
| 18215 | + | |[<!-- language="C" --> | |
| 18216 | + | if (!collect_values[0].v_pointer) | |
| 18217 | + | value->data[0].v_pointer = g_strdup (""); | |
| 18218 | + | else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) | |
| 18219 | + | { | |
| 18220 | + | value->data[0].v_pointer = collect_values[0].v_pointer; | |
| 18221 | + | // keep a flag for the value_free() implementation to not free this string | |
| 18222 | + | value->data[1].v_uint = G_VALUE_NOCOPY_CONTENTS; | |
| 18223 | + | } | |
| 18224 | + | else | |
| 18225 | + | value->data[0].v_pointer = g_strdup (collect_values[0].v_pointer); | |
| 18226 | + | return NULL; | |
| 18227 | + | ]| | |
| 18228 | + | ||
| 18229 | + | It should be noted, that it is generally a bad idea to follow the | |
| 18230 | + | %G_VALUE_NOCOPY_CONTENTS hint for reference counted types. Due to | |
| 18231 | + | reentrancy requirements and reference count assertions performed | |
| 18232 | + | by the signal emission code, reference counts should always be | |
| 18233 | + | incremented for reference counted contents stored in the `value->data` | |
| 18234 | + | array. To deviate from our string example for a moment, and taking | |
| 18235 | + | a look at an exemplary implementation for `GTypeValueTable.collect_value()` | |
| 18236 | + | of `GObject`: | |
| 18237 | + | ||
| 18238 | + | |[<!-- language="C" --> | |
| 18239 | + | GObject *object = G_OBJECT (collect_values[0].v_pointer); | |
| 18240 | + | g_return_val_if_fail (object != NULL, | |
| 18241 | + | g_strdup_printf ("Object %p passed as invalid NULL pointer", object)); | |
| 18242 | + | // never honour G_VALUE_NOCOPY_CONTENTS for ref-counted types | |
| 18243 | + | value->data[0].v_pointer = g_object_ref (object); | |
| 18244 | + | return NULL; | |
| 18245 | + | ]| | |
| 18246 | + | ||
| 18247 | + | The reference count for valid objects is always incremented, regardless | |
| 18248 | + | of `collect_flags`. For invalid objects, the example returns a newly | |
| 18249 | + | allocated string without altering `value`. | |
| 18250 | + | ||
| 18251 | + | Upon success, `collect_value()` needs to return `NULL`. If, however, | |
| 18252 | + | an error condition occurred, `collect_value()` should return a newly | |
| 18253 | + | allocated string containing an error diagnostic. | |
| 18254 | + | ||
| 18255 | + | The calling code makes no assumptions about the `value` contents being | |
| 18256 | + | valid upon error returns, `value` is simply thrown away without further | |
| 18257 | + | freeing. As such, it is a good idea to not allocate `GValue` contents | |
| 18258 | + | prior to returning an error; however, `collect_values()` is not obliged | |
| 18259 | + | to return a correctly setup @value for error returns, simply because | |
| 18260 | + | any non-`NULL` return is considered a fatal programming error, and | |
| 18261 | + | further program behaviour is undefined.</doc> | |
| 18262 | + | <source-position filename="gobject/gtype.h" line="1345"/> | |
| 18263 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 18264 | + | <doc xml:space="preserve" | |
| 18265 | + | filename="gobject/gtype.h" | |
| 18266 | + | line="1339">`NULL` on success, otherwise a | |
| 18267 | + | newly allocated error string on failure</doc> | |
| 18268 | + | <type name="utf8" c:type="gchar*"/> | |
| 18269 | + | </return-value> | |
| 18270 | + | <parameters> | |
| 18271 | + | <parameter name="value" transfer-ownership="none"> | |
| 18272 | + | <doc xml:space="preserve" | |
| 18273 | + | filename="gobject/gtype.h" | |
| 18274 | + | line="1262">the value to initialize</doc> | |
| 18275 | + | <type name="Value" c:type="GValue*"/> | |
| 18276 | + | </parameter> | |
| 18277 | + | <parameter name="n_collect_values" transfer-ownership="none"> | |
| 18278 | + | <doc xml:space="preserve" | |
| 18279 | + | filename="gobject/gtype.h" | |
| 18280 | + | line="1263">the number of collected values</doc> | |
| 18281 | + | <type name="guint" c:type="guint"/> | |
| 18282 | + | </parameter> | |
| 18283 | + | <parameter name="collect_values" transfer-ownership="none"> | |
| 18284 | + | <doc xml:space="preserve" | |
| 18285 | + | filename="gobject/gtype.h" | |
| 18286 | + | line="1264">the collected values</doc> | |
| 18287 | + | <array length="1" zero-terminated="0" c:type="GTypeCValue*"> | |
| 18288 | + | <type name="TypeCValue" c:type="GTypeCValue"/> | |
| 18289 | + | </array> | |
| 18290 | + | </parameter> | |
| 18291 | + | <parameter name="collect_flags" transfer-ownership="none"> | |
| 18292 | + | <doc xml:space="preserve" | |
| 18293 | + | filename="gobject/gtype.h" | |
| 18294 | + | line="1265">optional flags</doc> | |
| 18295 | + | <type name="guint" c:type="guint"/> | |
| 18296 | + | </parameter> | |
| 18297 | + | </parameters> | |
| 18298 | + | </callback> | |
| 18299 | + | <callback name="TypeValueCopyFunc" | |
| 18300 | + | c:type="GTypeValueCopyFunc" | |
| 18301 | + | version="2.78"> | |
| 18302 | + | <doc xml:space="preserve" | |
| 18303 | + | filename="gobject/gtype.h" | |
| 18304 | + | line="1216">Copies the content of a #GValue into another. | |
| 18305 | + | ||
| 18306 | + | The @dest_value is a #GValue with zero-filled data section and @src_value | |
| 18307 | + | is a properly initialized #GValue of same type, or derived type. | |
| 18308 | + | ||
| 18309 | + | The purpose of this function is to copy the contents of @src_value | |
| 18310 | + | into @dest_value in a way, that even after @src_value has been freed, the | |
| 18311 | + | contents of @dest_value remain valid. String type example: | |
| 18312 | + | ||
| 18313 | + | |[<!-- language="C" --> | |
| 18314 | + | dest_value->data[0].v_pointer = g_strdup (src_value->data[0].v_pointer); | |
| 18315 | + | ]|</doc> | |
| 18316 | + | <source-position filename="gobject/gtype.h" line="1237"/> | |
| 18317 | + | <return-value transfer-ownership="none"> | |
| 18318 | + | <type name="none" c:type="void"/> | |
| 18319 | + | </return-value> | |
| 18320 | + | <parameters> | |
| 18321 | + | <parameter name="src_value" transfer-ownership="none"> | |
| 18322 | + | <doc xml:space="preserve" | |
| 18323 | + | filename="gobject/gtype.h" | |
| 18324 | + | line="1218">the value to copy</doc> | |
| 18325 | + | <type name="Value" c:type="const GValue*"/> | |
| 18326 | + | </parameter> | |
| 18327 | + | <parameter name="dest_value" | |
| 18328 | + | direction="out" | |
| 18329 | + | caller-allocates="1" | |
| 18330 | + | transfer-ownership="none"> | |
| 18331 | + | <doc xml:space="preserve" | |
| 18332 | + | filename="gobject/gtype.h" | |
| 18333 | + | line="1219">the location of the copy</doc> | |
| 18334 | + | <type name="Value" c:type="GValue*"/> | |
| 18335 | + | </parameter> | |
| 18336 | + | </parameters> | |
| 18337 | + | </callback> | |
| 18338 | + | <callback name="TypeValueFreeFunc" | |
| 18339 | + | c:type="GTypeValueFreeFunc" | |
| 18340 | + | version="2.78"> | |
| 18341 | + | <doc xml:space="preserve" | |
| 18342 | + | filename="gobject/gtype.h" | |
| 18343 | + | line="1195">Frees any old contents that might be left in the `value->data` array of | |
| 18344 | + | the given value. | |
| 18345 | + | ||
| 18346 | + | No resources may remain allocated through the #GValue contents after this | |
| 18347 | + | function returns. E.g. for our above string type: | |
| 18348 | + | ||
| 18349 | + | |[<!-- language="C" --> | |
| 18350 | + | // only free strings without a specific flag for static storage | |
| 18351 | + | if (!(value->data[1].v_uint & G_VALUE_NOCOPY_CONTENTS)) | |
| 18352 | + | g_free (value->data[0].v_pointer); | |
| 18353 | + | ]|</doc> | |
| 18354 | + | <source-position filename="gobject/gtype.h" line="1214"/> | |
| 18355 | + | <return-value transfer-ownership="none"> | |
| 18356 | + | <type name="none" c:type="void"/> | |
| 18357 | + | </return-value> | |
| 18358 | + | <parameters> | |
| 18359 | + | <parameter name="value" transfer-ownership="none"> | |
| 18360 | + | <doc xml:space="preserve" | |
| 18361 | + | filename="gobject/gtype.h" | |
| 18362 | + | line="1197">the value to free</doc> | |
| 18363 | + | <type name="Value" c:type="GValue*"/> | |
| 18364 | + | </parameter> | |
| 18365 | + | </parameters> | |
| 18366 | + | </callback> | |
| 18367 | + | <callback name="TypeValueInitFunc" | |
| 18368 | + | c:type="GTypeValueInitFunc" | |
| 18369 | + | version="2.78"> | |
| 18370 | + | <doc xml:space="preserve" | |
| 18371 | + | filename="gobject/gtype.h" | |
| 18372 | + | line="1174">Initializes the value contents by setting the fields of the `value->data` | |
| 18373 | + | array. | |
| 18374 | + | ||
| 18375 | + | The data array of the #GValue passed into this function was zero-filled | |
| 18376 | + | with `memset()`, so no care has to be taken to free any old contents. | |
| 18377 | + | For example, in the case of a string value that may never be %NULL, the | |
| 18378 | + | implementation might look like: | |
| 18379 | + | ||
| 18380 | + | |[<!-- language="C" --> | |
| 18381 | + | value->data[0].v_pointer = g_strdup (""); | |
| 18382 | + | ]|</doc> | |
| 18383 | + | <source-position filename="gobject/gtype.h" line="1193"/> | |
| 16048 | 18384 | <return-value transfer-ownership="none"> | |
| 16049 | 18385 | <type name="none" c:type="void"/> | |
| 16050 | 18386 | </return-value> | |
| 16051 | 18387 | <parameters> | |
| 16052 | - | <parameter name="plugin" transfer-ownership="none"> | |
| 16053 | - | <doc xml:space="preserve" | |
| 16054 | - | filename="gtypeplugin.h" | |
| 16055 | - | line="56">the #GTypePlugin</doc> | |
| 16056 | - | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 16057 | - | </parameter> | |
| 16058 | - | <parameter name="g_type" transfer-ownership="none"> | |
| 18388 | + | <parameter name="value" transfer-ownership="none"> | |
| 18389 | + | <doc xml:space="preserve" | |
| 18390 | + | filename="gobject/gtype.h" | |
| 18391 | + | line="1176">the value to initialize</doc> | |
| 18392 | + | <type name="Value" c:type="GValue*"/> | |
| 18393 | + | </parameter> | |
| 18394 | + | </parameters> | |
| 18395 | + | </callback> | |
| 18396 | + | <callback name="TypeValueLCopyFunc" | |
| 18397 | + | c:type="GTypeValueLCopyFunc" | |
| 18398 | + | version="2.78"> | |
| 18399 | + | <doc xml:space="preserve" | |
| 18400 | + | filename="gobject/gtype.h" | |
| 18401 | + | line="1350">This function is responsible for storing the `value` | |
| 18402 | + | contents into arguments passed through a variadic argument list which | |
| 18403 | + | got collected into `collect_values` according to `lcopy_format`. | |
| 18404 | + | ||
| 18405 | + | The `n_collect_values` argument equals the string length of | |
| 18406 | + | `lcopy_format`, and `collect_flags` may contain %G_VALUE_NOCOPY_CONTENTS. | |
| 18407 | + | ||
| 18408 | + | In contrast to #GTypeValueCollectFunc, this function is obliged to always | |
| 18409 | + | properly support %G_VALUE_NOCOPY_CONTENTS. | |
| 18410 | + | ||
| 18411 | + | Similar to #GTypeValueCollectFunc the function may prematurely abort by | |
| 18412 | + | returning a newly allocated string describing an error condition. To | |
| 18413 | + | complete the string example: | |
| 18414 | + | ||
| 18415 | + | |[<!-- language="C" --> | |
| 18416 | + | gchar **string_p = collect_values[0].v_pointer; | |
| 18417 | + | g_return_val_if_fail (string_p != NULL, | |
| 18418 | + | g_strdup ("string location passed as NULL")); | |
| 18419 | + | ||
| 18420 | + | if (collect_flags & G_VALUE_NOCOPY_CONTENTS) | |
| 18421 | + | *string_p = value->data[0].v_pointer; | |
| 18422 | + | else | |
| 18423 | + | *string_p = g_strdup (value->data[0].v_pointer); | |
| 18424 | + | ]| | |
| 18425 | + | ||
| 18426 | + | And an illustrative version of this function for reference-counted | |
| 18427 | + | types: | |
| 18428 | + | ||
| 18429 | + | |[<!-- language="C" --> | |
| 18430 | + | GObject **object_p = collect_values[0].v_pointer; | |
| 18431 | + | g_return_val_if_fail (object_p != NULL, | |
| 18432 | + | g_strdup ("object location passed as NULL")); | |
| 18433 | + | ||
| 18434 | + | if (value->data[0].v_pointer == NULL) | |
| 18435 | + | *object_p = NULL; | |
| 18436 | + | else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) // always honour | |
| 18437 | + | *object_p = value->data[0].v_pointer; | |
| 18438 | + | else | |
| 18439 | + | *object_p = g_object_ref (value->data[0].v_pointer); | |
| 18440 | + | ||
| 18441 | + | return NULL; | |
| 18442 | + | ]|</doc> | |
| 18443 | + | <source-position filename="gobject/gtype.h" line="1407"/> | |
| 18444 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 18445 | + | <doc xml:space="preserve" | |
| 18446 | + | filename="gobject/gtype.h" | |
| 18447 | + | line="1401">`NULL` on success, otherwise | |
| 18448 | + | a newly allocated error string on failure</doc> | |
| 18449 | + | <type name="utf8" c:type="gchar*"/> | |
| 18450 | + | </return-value> | |
| 18451 | + | <parameters> | |
| 18452 | + | <parameter name="value" transfer-ownership="none"> | |
| 16059 | 18453 | <doc xml:space="preserve" | |
| 16060 | - | filename="gtypeplugin.h" | |
| 16061 | - | line="57">the #GType whose info is completed</doc> | |
| 16062 | - | <type name="GType" c:type="GType"/> | |
| 18454 | + | filename="gobject/gtype.h" | |
| 18455 | + | line="1352">the value to lcopy</doc> | |
| 18456 | + | <type name="Value" c:type="const GValue*"/> | |
| 16063 | 18457 | </parameter> | |
| 16064 | - | <parameter name="info" transfer-ownership="none"> | |
| 18458 | + | <parameter name="n_collect_values" transfer-ownership="none"> | |
| 16065 | 18459 | <doc xml:space="preserve" | |
| 16066 | - | filename="gtypeplugin.h" | |
| 16067 | - | line="58">the #GTypeInfo struct to fill in</doc> | |
| 16068 | - | <type name="TypeInfo" c:type="GTypeInfo*"/> | |
| 18460 | + | filename="gobject/gtype.h" | |
| 18461 | + | line="1353">the number of collected values</doc> | |
| 18462 | + | <type name="guint" c:type="guint"/> | |
| 16069 | 18463 | </parameter> | |
| 16070 | - | <parameter name="value_table" transfer-ownership="none"> | |
| 18464 | + | <parameter name="collect_values" transfer-ownership="none"> | |
| 16071 | 18465 | <doc xml:space="preserve" | |
| 16072 | - | filename="gtypeplugin.h" | |
| 16073 | - | line="59">the #GTypeValueTable to fill in</doc> | |
| 16074 | - | <type name="TypeValueTable" c:type="GTypeValueTable*"/> | |
| 18466 | + | filename="gobject/gtype.h" | |
| 18467 | + | line="1354">the collected | |
| 18468 | + | locations for storage</doc> | |
| 18469 | + | <array length="1" zero-terminated="0" c:type="GTypeCValue*"> | |
| 18470 | + | <type name="TypeCValue" c:type="GTypeCValue"/> | |
| 18471 | + | </array> | |
| 16075 | 18472 | </parameter> | |
| 16076 | - | </parameters> | |
| 16077 | - | </callback> | |
| 16078 | - | <callback name="TypePluginUnuse" c:type="GTypePluginUnuse"> | |
| 16079 | - | <doc xml:space="preserve" | |
| 16080 | - | filename="gtypeplugin.h" | |
| 16081 | - | line="47">The type of the @unuse_plugin function of #GTypePluginClass.</doc> | |
| 16082 | - | <source-position filename="gtypeplugin.h" line="53"/> | |
| 16083 | - | <return-value transfer-ownership="none"> | |
| 16084 | - | <type name="none" c:type="void"/> | |
| 16085 | - | </return-value> | |
| 16086 | - | <parameters> | |
| 16087 | - | <parameter name="plugin" transfer-ownership="none"> | |
| 18473 | + | <parameter name="collect_flags" transfer-ownership="none"> | |
| 16088 | 18474 | <doc xml:space="preserve" | |
| 16089 | - | filename="gtypeplugin.h" | |
| 16090 | - | line="49">the #GTypePlugin whose use count should be decreased</doc> | |
| 16091 | - | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 18475 | + | filename="gobject/gtype.h" | |
| 18476 | + | line="1356">optional flags</doc> | |
| 18477 | + | <type name="guint" c:type="guint"/> | |
| 16092 | 18478 | </parameter> | |
| 16093 | 18479 | </parameters> | |
| 16094 | 18480 | </callback> | |
| 16095 | - | <callback name="TypePluginUse" c:type="GTypePluginUse"> | |
| 18481 | + | <callback name="TypeValuePeekPointerFunc" | |
| 18482 | + | c:type="GTypeValuePeekPointerFunc" | |
| 18483 | + | version="2.78"> | |
| 16096 | 18484 | <doc xml:space="preserve" | |
| 16097 | - | filename="gtypeplugin.h" | |
| 16098 | - | line="39">The type of the @use_plugin function of #GTypePluginClass, which gets called | |
| 16099 | - | to increase the use count of @plugin.</doc> | |
| 16100 | - | <source-position filename="gtypeplugin.h" line="46"/> | |
| 16101 | - | <return-value transfer-ownership="none"> | |
| 16102 | - | <type name="none" c:type="void"/> | |
| 18485 | + | filename="gobject/gtype.h" | |
| 18486 | + | line="1240">If the value contents fit into a pointer, such as objects or strings, | |
| 18487 | + | return this pointer, so the caller can peek at the current contents. | |
| 18488 | + | ||
| 18489 | + | To extend on our above string example: | |
| 18490 | + | ||
| 18491 | + | |[<!-- language="C" --> | |
| 18492 | + | return value->data[0].v_pointer; | |
| 18493 | + | ]|</doc> | |
| 18494 | + | <source-position filename="gobject/gtype.h" line="1258"/> | |
| 18495 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 18496 | + | <doc xml:space="preserve" | |
| 18497 | + | filename="gobject/gtype.h" | |
| 18498 | + | line="1253">a pointer to the value contents</doc> | |
| 18499 | + | <type name="gpointer" c:type="gpointer"/> | |
| 16103 | 18500 | </return-value> | |
| 16104 | 18501 | <parameters> | |
| 16105 | - | <parameter name="plugin" transfer-ownership="none"> | |
| 18502 | + | <parameter name="value" transfer-ownership="none"> | |
| 16106 | 18503 | <doc xml:space="preserve" | |
| 16107 | - | filename="gtypeplugin.h" | |
| 16108 | - | line="41">the #GTypePlugin whose use count should be increased</doc> | |
| 16109 | - | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 18504 | + | filename="gobject/gtype.h" | |
| 18505 | + | line="1242">the value to peek</doc> | |
| 18506 | + | <type name="Value" c:type="const GValue*"/> | |
| 16110 | 18507 | </parameter> | |
| 16111 | 18508 | </parameters> | |
| 16112 | 18509 | </callback> | |
| 16113 | - | <record name="TypeQuery" c:type="GTypeQuery"> | |
| 18510 | + | <record name="TypeValueTable" c:type="GTypeValueTable"> | |
| 16114 | 18511 | <doc xml:space="preserve" | |
| 16115 | - | filename="gtype.h" | |
| 16116 | - | line="450">A structure holding information for a specific type. | |
| 16117 | - | ||
| 16118 | - | See also: g_type_query()</doc> | |
| 16119 | - | <source-position filename="gtype.h" line="467"/> | |
| 16120 | - | <field name="type" writable="1"> | |
| 18512 | + | filename="gobject/gtype.h" | |
| 18513 | + | line="1412">- `'i'`: Integers, passed as `collect_values[].v_int` | |
| 18514 | + | - `'l'`: Longs, passed as `collect_values[].v_long` | |
| 18515 | + | - `'d'`: Doubles, passed as `collect_values[].v_double` | |
| 18516 | + | - `'p'`: Pointers, passed as `collect_values[].v_pointer` | |
| 18517 | + | ||
| 18518 | + | It should be noted that for variable argument list construction, | |
| 18519 | + | ANSI C promotes every type smaller than an integer to an int, and | |
| 18520 | + | floats to doubles. So for collection of short int or char, `'i'` | |
| 18521 | + | needs to be used, and for collection of floats `'d'`. | |
| 18522 | + | The #GTypeValueTable provides the functions required by the #GValue | |
| 18523 | + | implementation, to serve as a container for values of a type.</doc> | |
| 18524 | + | <source-position filename="gobject/gtype.h" line="1457"/> | |
| 18525 | + | <field name="value_init" writable="1"> | |
| 16121 | 18526 | <doc xml:space="preserve" | |
| 16122 | - | filename="gtype.h" | |
| 16123 | - | line="452">the #GType value of the type</doc> | |
| 16124 | - | <type name="GType" c:type="GType"/> | |
| 18527 | + | filename="gobject/gtype.h" | |
| 18528 | + | line="1414">Function to initialize a GValue</doc> | |
| 18529 | + | <type name="TypeValueInitFunc" c:type="GTypeValueInitFunc"/> | |
| 16125 | 18530 | </field> | |
| 16126 | - | <field name="type_name" writable="1"> | |
| 18531 | + | <field name="value_free" writable="1"> | |
| 16127 | 18532 | <doc xml:space="preserve" | |
| 16128 | - | filename="gtype.h" | |
| 16129 | - | line="453">the name of the type</doc> | |
| 16130 | - | <type name="utf8" c:type="const gchar*"/> | |
| 18533 | + | filename="gobject/gtype.h" | |
| 18534 | + | line="1415">Function to free a GValue</doc> | |
| 18535 | + | <type name="TypeValueFreeFunc" c:type="GTypeValueFreeFunc"/> | |
| 16131 | 18536 | </field> | |
| 16132 | - | <field name="class_size" writable="1"> | |
| 18537 | + | <field name="value_copy" writable="1"> | |
| 16133 | 18538 | <doc xml:space="preserve" | |
| 16134 | - | filename="gtype.h" | |
| 16135 | - | line="454">the size of the class structure</doc> | |
| 16136 | - | <type name="guint" c:type="guint"/> | |
| 18539 | + | filename="gobject/gtype.h" | |
| 18540 | + | line="1416">Function to copy a GValue</doc> | |
| 18541 | + | <type name="TypeValueCopyFunc" c:type="GTypeValueCopyFunc"/> | |
| 16137 | 18542 | </field> | |
| 16138 | - | <field name="instance_size" writable="1"> | |
| 18543 | + | <field name="value_peek_pointer" writable="1"> | |
| 16139 | 18544 | <doc xml:space="preserve" | |
| 16140 | - | filename="gtype.h" | |
| 16141 | - | line="455">the size of the instance structure</doc> | |
| 16142 | - | <type name="guint" c:type="guint"/> | |
| 16143 | - | </field> | |
| 16144 | - | </record> | |
| 16145 | - | <record name="TypeValueTable" c:type="GTypeValueTable"> | |
| 16146 | - | <doc xml:space="preserve" | |
| 16147 | - | filename="gtype.h" | |
| 16148 | - | line="1130">The #GTypeValueTable provides the functions required by the #GValue | |
| 16149 | - | implementation, to serve as a container for values of a type.</doc> | |
| 16150 | - | <source-position filename="gtype.h" line="1302"/> | |
| 16151 | - | <field name="value_init"> | |
| 16152 | - | <callback name="value_init"> | |
| 16153 | - | <source-position filename="gtype.h" line="1286"/> | |
| 16154 | - | <return-value transfer-ownership="none"> | |
| 16155 | - | <type name="none" c:type="void"/> | |
| 16156 | - | </return-value> | |
| 16157 | - | <parameters> | |
| 16158 | - | <parameter name="value" transfer-ownership="none"> | |
| 16159 | - | <type name="Value" c:type="GValue*"/> | |
| 16160 | - | </parameter> | |
| 16161 | - | </parameters> | |
| 16162 | - | </callback> | |
| 16163 | - | </field> | |
| 16164 | - | <field name="value_free"> | |
| 16165 | - | <callback name="value_free"> | |
| 16166 | - | <source-position filename="gtype.h" line="1287"/> | |
| 16167 | - | <return-value transfer-ownership="none"> | |
| 16168 | - | <type name="none" c:type="void"/> | |
| 16169 | - | </return-value> | |
| 16170 | - | <parameters> | |
| 16171 | - | <parameter name="value" transfer-ownership="none"> | |
| 16172 | - | <type name="Value" c:type="GValue*"/> | |
| 16173 | - | </parameter> | |
| 16174 | - | </parameters> | |
| 16175 | - | </callback> | |
| 16176 | - | </field> | |
| 16177 | - | <field name="value_copy"> | |
| 16178 | - | <callback name="value_copy"> | |
| 16179 | - | <source-position filename="gtype.h" line="1288"/> | |
| 16180 | - | <return-value transfer-ownership="none"> | |
| 16181 | - | <type name="none" c:type="void"/> | |
| 16182 | - | </return-value> | |
| 16183 | - | <parameters> | |
| 16184 | - | <parameter name="src_value" transfer-ownership="none"> | |
| 16185 | - | <type name="Value" c:type="const GValue*"/> | |
| 16186 | - | </parameter> | |
| 16187 | - | <parameter name="dest_value" transfer-ownership="none"> | |
| 16188 | - | <type name="Value" c:type="GValue*"/> | |
| 16189 | - | </parameter> | |
| 16190 | - | </parameters> | |
| 16191 | - | </callback> | |
| 16192 | - | </field> | |
| 16193 | - | <field name="value_peek_pointer"> | |
| 16194 | - | <callback name="value_peek_pointer"> | |
| 16195 | - | <source-position filename="gtype.h" line="1291"/> | |
| 16196 | - | <return-value transfer-ownership="none"> | |
| 16197 | - | <type name="gpointer" c:type="gpointer"/> | |
| 16198 | - | </return-value> | |
| 16199 | - | <parameters> | |
| 16200 | - | <parameter name="value" transfer-ownership="none"> | |
| 16201 | - | <type name="Value" c:type="const GValue*"/> | |
| 16202 | - | </parameter> | |
| 16203 | - | </parameters> | |
| 16204 | - | </callback> | |
| 18545 | + | filename="gobject/gtype.h" | |
| 18546 | + | line="1417">Function to peek the contents of a GValue if they fit | |
| 18547 | + | into a pointer</doc> | |
| 18548 | + | <type name="TypeValuePeekPointerFunc" | |
| 18549 | + | c:type="GTypeValuePeekPointerFunc"/> | |
| 16205 | 18550 | </field> | |
| 16206 | 18551 | <field name="collect_format" writable="1"> | |
| 16207 | 18552 | <doc xml:space="preserve" | |
| 16208 | - | filename="gtype.h" | |
| 16209 | - | line="1167">A string format describing how to collect the contents of | |
| 16210 | - | this value bit-by-bit. Each character in the format represents | |
| 16211 | - | an argument to be collected, and the characters themselves indicate | |
| 16212 | - | the type of the argument. Currently supported arguments are: | |
| 16213 | - | - 'i' - Integers. passed as collect_values[].v_int. | |
| 16214 | - | - 'l' - Longs. passed as collect_values[].v_long. | |
| 16215 | - | - 'd' - Doubles. passed as collect_values[].v_double. | |
| 16216 | - | - 'p' - Pointers. passed as collect_values[].v_pointer. | |
| 16217 | - | It should be noted that for variable argument list construction, | |
| 16218 | - | ANSI C promotes every type smaller than an integer to an int, and | |
| 16219 | - | floats to doubles. So for collection of short int or char, 'i' | |
| 16220 | - | needs to be used, and for collection of floats 'd'.</doc> | |
| 18553 | + | filename="gobject/gtype.h" | |
| 18554 | + | line="1419">A string format describing how to collect the contents of | |
| 18555 | + | this value bit-by-bit. Each character in the format represents | |
| 18556 | + | an argument to be collected, and the characters themselves indicate | |
| 18557 | + | the type of the argument. Currently supported arguments are:</doc> | |
| 16221 | 18558 | <type name="utf8" c:type="const gchar*"/> | |
| 16222 | 18559 | </field> | |
| 16223 | - | <field name="collect_value"> | |
| 16224 | - | <callback name="collect_value"> | |
| 16225 | - | <source-position filename="gtype.h" line="1293"/> | |
| 16226 | - | <return-value transfer-ownership="full"> | |
| 16227 | - | <type name="utf8" c:type="gchar*"/> | |
| 16228 | - | </return-value> | |
| 16229 | - | <parameters> | |
| 16230 | - | <parameter name="value" transfer-ownership="none"> | |
| 16231 | - | <type name="Value" c:type="GValue*"/> | |
| 16232 | - | </parameter> | |
| 16233 | - | <parameter name="n_collect_values" transfer-ownership="none"> | |
| 16234 | - | <type name="guint" c:type="guint"/> | |
| 16235 | - | </parameter> | |
| 16236 | - | <parameter name="collect_values" transfer-ownership="none"> | |
| 16237 | - | <type name="TypeCValue" c:type="GTypeCValue*"/> | |
| 16238 | - | </parameter> | |
| 16239 | - | <parameter name="collect_flags" transfer-ownership="none"> | |
| 16240 | - | <type name="guint" c:type="guint"/> | |
| 16241 | - | </parameter> | |
| 16242 | - | </parameters> | |
| 16243 | - | </callback> | |
| 18560 | + | <field name="collect_value" writable="1"> | |
| 18561 | + | <doc xml:space="preserve" | |
| 18562 | + | filename="gobject/gtype.h" | |
| 18563 | + | line="1433">Function to initialize a GValue from the values | |
| 18564 | + | collected from variadic arguments</doc> | |
| 18565 | + | <type name="TypeValueCollectFunc" c:type="GTypeValueCollectFunc"/> | |
| 16244 | 18566 | </field> | |
| 16245 | 18567 | <field name="lcopy_format" writable="1"> | |
| 16246 | 18568 | <doc xml:space="preserve" | |
| 16247 | - | filename="gtype.h" | |
| 16248 | - | line="1243">Format description of the arguments to collect for @lcopy_value, | |
| 16249 | - | analogous to @collect_format. Usually, @lcopy_format string consists | |
| 16250 | - | only of 'p's to provide lcopy_value() with pointers to storage locations.</doc> | |
| 18569 | + | filename="gobject/gtype.h" | |
| 18570 | + | line="1435">Format description of the arguments to collect for @lcopy_value, | |
| 18571 | + | analogous to @collect_format. Usually, @lcopy_format string consists | |
| 18572 | + | only of `'p'`s to provide lcopy_value() with pointers to storage locations.</doc> | |
| 16251 | 18573 | <type name="utf8" c:type="const gchar*"/> | |
| 16252 | 18574 | </field> | |
| 16253 | - | <field name="lcopy_value"> | |
| 16254 | - | <callback name="lcopy_value"> | |
| 16255 | - | <source-position filename="gtype.h" line="1298"/> | |
| 16256 | - | <return-value transfer-ownership="full"> | |
| 16257 | - | <type name="utf8" c:type="gchar*"/> | |
| 16258 | - | </return-value> | |
| 16259 | - | <parameters> | |
| 16260 | - | <parameter name="value" transfer-ownership="none"> | |
| 16261 | - | <type name="Value" c:type="const GValue*"/> | |
| 16262 | - | </parameter> | |
| 16263 | - | <parameter name="n_collect_values" transfer-ownership="none"> | |
| 16264 | - | <type name="guint" c:type="guint"/> | |
| 16265 | - | </parameter> | |
| 16266 | - | <parameter name="collect_values" transfer-ownership="none"> | |
| 16267 | - | <type name="TypeCValue" c:type="GTypeCValue*"/> | |
| 16268 | - | </parameter> | |
| 16269 | - | <parameter name="collect_flags" transfer-ownership="none"> | |
| 16270 | - | <type name="guint" c:type="guint"/> | |
| 16271 | - | </parameter> | |
| 16272 | - | </parameters> | |
| 16273 | - | </callback> | |
| 18575 | + | <field name="lcopy_value" writable="1"> | |
| 18576 | + | <doc xml:space="preserve" | |
| 18577 | + | filename="gobject/gtype.h" | |
| 18578 | + | line="1438">Function to store the contents of a value into the | |
| 18579 | + | locations collected from variadic arguments</doc> | |
| 18580 | + | <type name="TypeValueLCopyFunc" c:type="GTypeValueLCopyFunc"/> | |
| 16274 | 18581 | </field> | |
| 16275 | 18582 | <function name="peek" | |
| 16276 | 18583 | c:identifier="g_type_value_table_peek" | |
| 16277 | 18584 | introspectable="0"> | |
| 16278 | 18585 | <doc xml:space="preserve" | |
| 16279 | - | filename="gobject-2.0.c" | |
| 16280 | - | line="6704">Returns the location of the #GTypeValueTable associated with @type. | |
| 18586 | + | filename="gobject/gtype.c" | |
| 18587 | + | line="4101">Returns the location of the #GTypeValueTable associated with @type. | |
| 16281 | 18588 | ||
| 16282 | 18589 | Note that this function should only be used from source code | |
| 16283 | 18590 | that implements or has internal knowledge of the implementation of | |
| 16284 | 18591 | @type.</doc> | |
| 16285 | - | <source-position filename="gtype.h" line="2415"/> | |
| 16286 | - | <return-value> | |
| 18592 | + | <source-position filename="gobject/gtype.h" line="2620"/> | |
| 18593 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 16287 | 18594 | <doc xml:space="preserve" | |
| 16288 | - | filename="gobject-2.0.c" | |
| 16289 | - | line="6714">location of the #GTypeValueTable associated with @type or | |
| 16290 | - | %NULL if there is no #GTypeValueTable associated with @type</doc> | |
| 18595 | + | filename="gobject/gtype.c" | |
| 18596 | + | line="4111">location of the #GTypeValueTable | |
| 18597 | + | associated with @type or %NULL if there is no #GTypeValueTable | |
| 18598 | + | associated with @type</doc> | |
| 16291 | 18599 | <type name="TypeValueTable" c:type="GTypeValueTable*"/> | |
| 16292 | 18600 | </return-value> | |
| 16293 | 18601 | <parameters> | |
| 16294 | 18602 | <parameter name="type" transfer-ownership="none"> | |
| 16295 | 18603 | <doc xml:space="preserve" | |
| 16296 | - | filename="gobject-2.0.c" | |
| 16297 | - | line="6706">a #GType</doc> | |
| 18604 | + | filename="gobject/gtype.c" | |
| 18605 | + | line="4103">a #GType</doc> | |
| 16298 | 18606 | <type name="GType" c:type="GType"/> | |
| 16299 | 18607 | </parameter> | |
| 16300 | 18608 | </parameters> | |
| 16301 | 18609 | </function> | |
| 16302 | 18610 | </record> | |
| 18611 | + | <function-macro name="UNAVAILABLE" | |
| 18612 | + | c:identifier="GOBJECT_UNAVAILABLE" | |
| 18613 | + | introspectable="0"> | |
| 18614 | + | <source-position filename="gobject/gobject-visibility.h" line="27"/> | |
| 18615 | + | <parameters> | |
| 18616 | + | <parameter name="maj"> | |
| 18617 | + | </parameter> | |
| 18618 | + | <parameter name="min"> | |
| 18619 | + | </parameter> | |
| 18620 | + | </parameters> | |
| 18621 | + | </function-macro> | |
| 18622 | + | <function-macro name="UNAVAILABLE_STATIC_INLINE" | |
| 18623 | + | c:identifier="GOBJECT_UNAVAILABLE_STATIC_INLINE" | |
| 18624 | + | introspectable="0"> | |
| 18625 | + | <source-position filename="gobject/gobject-visibility.h" line="28"/> | |
| 18626 | + | <parameters> | |
| 18627 | + | <parameter name="maj"> | |
| 18628 | + | </parameter> | |
| 18629 | + | <parameter name="min"> | |
| 18630 | + | </parameter> | |
| 18631 | + | </parameters> | |
| 18632 | + | </function-macro> | |
| 18633 | + | <glib:boxed glib:name="Uri" | |
| 18634 | + | c:symbol-prefix="uri" | |
| 18635 | + | glib:type-name="GUri" | |
| 18636 | + | glib:get-type="g_uri_get_type"> | |
| 18637 | + | </glib:boxed> | |
| 18638 | + | <function-macro name="VALUE_COLLECT" | |
| 18639 | + | c:identifier="G_VALUE_COLLECT" | |
| 18640 | + | introspectable="0"> | |
| 18641 | + | <doc xml:space="preserve" | |
| 18642 | + | filename="gobject/gvaluecollector.h" | |
| 18643 | + | line="146">Collects a variable argument value from a `va_list`. | |
| 18644 | + | ||
| 18645 | + | We have to implement the varargs collection as a macro, because on some systems | |
| 18646 | + | `va_list` variables cannot be passed by reference. | |
| 18647 | + | ||
| 18648 | + | Note: If you are creating the @value argument just before calling this macro, | |
| 18649 | + | you should use the G_VALUE_COLLECT_INIT() variant and pass the uninitialized | |
| 18650 | + | #GValue. That variant is faster than G_VALUE_COLLECT().</doc> | |
| 18651 | + | <source-position filename="gobject/gvaluecollector.h" line="165"/> | |
| 18652 | + | <parameters> | |
| 18653 | + | <parameter name="value"> | |
| 18654 | + | <doc xml:space="preserve" | |
| 18655 | + | filename="gobject/gvaluecollector.h" | |
| 18656 | + | line="148">a #GValue return location. @value is supposed to be initialized | |
| 18657 | + | according to the value type to be collected</doc> | |
| 18658 | + | </parameter> | |
| 18659 | + | <parameter name="var_args"> | |
| 18660 | + | <doc xml:space="preserve" | |
| 18661 | + | filename="gobject/gvaluecollector.h" | |
| 18662 | + | line="150">the va_list variable; it may be evaluated multiple times</doc> | |
| 18663 | + | </parameter> | |
| 18664 | + | <parameter name="flags"> | |
| 18665 | + | <doc xml:space="preserve" | |
| 18666 | + | filename="gobject/gvaluecollector.h" | |
| 18667 | + | line="151">flags which are passed on to the collect_value() function of | |
| 18668 | + | the #GTypeValueTable of @value.</doc> | |
| 18669 | + | </parameter> | |
| 18670 | + | <parameter name="__error"> | |
| 18671 | + | <doc xml:space="preserve" | |
| 18672 | + | filename="gobject/gvaluecollector.h" | |
| 18673 | + | line="153">a #gchar** variable that will be modified to hold a g_new() | |
| 18674 | + | allocated error messages if something fails</doc> | |
| 18675 | + | </parameter> | |
| 18676 | + | </parameters> | |
| 18677 | + | </function-macro> | |
| 18678 | + | <constant name="VALUE_COLLECT_FORMAT_MAX_LENGTH" | |
| 18679 | + | value="8" | |
| 18680 | + | c:type="G_VALUE_COLLECT_FORMAT_MAX_LENGTH"> | |
| 18681 | + | <doc xml:space="preserve" | |
| 18682 | + | filename="gobject/gvaluecollector.h" | |
| 18683 | + | line="270">The maximal number of #GTypeCValues which can be collected for a | |
| 18684 | + | single #GValue.</doc> | |
| 18685 | + | <source-position filename="gobject/gvaluecollector.h" line="276"/> | |
| 18686 | + | <type name="gint" c:type="gint"/> | |
| 18687 | + | </constant> | |
| 18688 | + | <function-macro name="VALUE_COLLECT_INIT" | |
| 18689 | + | c:identifier="G_VALUE_COLLECT_INIT" | |
| 18690 | + | version="2.24" | |
| 18691 | + | introspectable="0"> | |
| 18692 | + | <doc xml:space="preserve" | |
| 18693 | + | filename="gobject/gvaluecollector.h" | |
| 18694 | + | line="65">Collects a variable argument value from a `va_list`. | |
| 18695 | + | ||
| 18696 | + | We have to implement the varargs collection as a macro, because on some | |
| 18697 | + | systems `va_list` variables cannot be passed by reference.</doc> | |
| 18698 | + | <source-position filename="gobject/gvaluecollector.h" line="82"/> | |
| 18699 | + | <parameters> | |
| 18700 | + | <parameter name="value"> | |
| 18701 | + | <doc xml:space="preserve" | |
| 18702 | + | filename="gobject/gvaluecollector.h" | |
| 18703 | + | line="67">a #GValue return location. @value must contain only 0 bytes.</doc> | |
| 18704 | + | </parameter> | |
| 18705 | + | <parameter name="_value_type"> | |
| 18706 | + | <doc xml:space="preserve" | |
| 18707 | + | filename="gobject/gvaluecollector.h" | |
| 18708 | + | line="68">the #GType to use for @value.</doc> | |
| 18709 | + | </parameter> | |
| 18710 | + | <parameter name="var_args"> | |
| 18711 | + | <doc xml:space="preserve" | |
| 18712 | + | filename="gobject/gvaluecollector.h" | |
| 18713 | + | line="69">the va_list variable; it may be evaluated multiple times</doc> | |
| 18714 | + | </parameter> | |
| 18715 | + | <parameter name="flags"> | |
| 18716 | + | <doc xml:space="preserve" | |
| 18717 | + | filename="gobject/gvaluecollector.h" | |
| 18718 | + | line="70">flags which are passed on to the collect_value() function of | |
| 18719 | + | the #GTypeValueTable of @value.</doc> | |
| 18720 | + | </parameter> | |
| 18721 | + | <parameter name="__error"> | |
| 18722 | + | <doc xml:space="preserve" | |
| 18723 | + | filename="gobject/gvaluecollector.h" | |
| 18724 | + | line="72">a #gchar** variable that will be modified to hold a g_new() | |
| 18725 | + | allocated error messages if something fails</doc> | |
| 18726 | + | </parameter> | |
| 18727 | + | </parameters> | |
| 18728 | + | </function-macro> | |
| 18729 | + | <function-macro name="VALUE_COLLECT_INIT2" | |
| 18730 | + | c:identifier="G_VALUE_COLLECT_INIT2" | |
| 18731 | + | version="2.74" | |
| 18732 | + | introspectable="0"> | |
| 18733 | + | <doc xml:space="preserve" | |
| 18734 | + | filename="gobject/gvaluecollector.h" | |
| 18735 | + | line="88">A variant of G_VALUE_COLLECT_INIT() that provides the #GTypeValueTable | |
| 18736 | + | to the caller.</doc> | |
| 18737 | + | <source-position filename="gobject/gvaluecollector.h" line="105"/> | |
| 18738 | + | <parameters> | |
| 18739 | + | <parameter name="value"> | |
| 18740 | + | <doc xml:space="preserve" | |
| 18741 | + | filename="gobject/gvaluecollector.h" | |
| 18742 | + | line="90">a #GValue return location. @value must contain only 0 bytes.</doc> | |
| 18743 | + | </parameter> | |
| 18744 | + | <parameter name="g_vci_vtab"> | |
| 18745 | + | <doc xml:space="preserve" | |
| 18746 | + | filename="gobject/gvaluecollector.h" | |
| 18747 | + | line="91">a #GTypeValueTable pointer that will be set to the value table | |
| 18748 | + | for @_value_type</doc> | |
| 18749 | + | </parameter> | |
| 18750 | + | <parameter name="_value_type"> | |
| 18751 | + | <doc xml:space="preserve" | |
| 18752 | + | filename="gobject/gvaluecollector.h" | |
| 18753 | + | line="93">the #GType to use for @value.</doc> | |
| 18754 | + | </parameter> | |
| 18755 | + | <parameter name="var_args"> | |
| 18756 | + | <doc xml:space="preserve" | |
| 18757 | + | filename="gobject/gvaluecollector.h" | |
| 18758 | + | line="94">the va_list variable; it may be evaluated multiple times</doc> | |
| 18759 | + | </parameter> | |
| 18760 | + | <parameter name="flags"> | |
| 18761 | + | <doc xml:space="preserve" | |
| 18762 | + | filename="gobject/gvaluecollector.h" | |
| 18763 | + | line="95">flags which are passed on to the collect_value() function of | |
| 18764 | + | the #GTypeValueTable of @value.</doc> | |
| 18765 | + | </parameter> | |
| 18766 | + | <parameter name="__error"> | |
| 18767 | + | <doc xml:space="preserve" | |
| 18768 | + | filename="gobject/gvaluecollector.h" | |
| 18769 | + | line="97">a #gchar** variable that will be modified to hold a g_new() | |
| 18770 | + | allocated error messages if something fails</doc> | |
| 18771 | + | </parameter> | |
| 18772 | + | </parameters> | |
| 18773 | + | </function-macro> | |
| 18774 | + | <function-macro name="VALUE_COLLECT_SKIP" | |
| 18775 | + | c:identifier="G_VALUE_COLLECT_SKIP" | |
| 18776 | + | introspectable="0"> | |
| 18777 | + | <doc xml:space="preserve" | |
| 18778 | + | filename="gobject/gvaluecollector.h" | |
| 18779 | + | line="177">Skip an argument of type @_value_type from @var_args.</doc> | |
| 18780 | + | <source-position filename="gobject/gvaluecollector.h" line="184"/> | |
| 18781 | + | <parameters> | |
| 18782 | + | <parameter name="_value_type"> | |
| 18783 | + | <doc xml:space="preserve" | |
| 18784 | + | filename="gobject/gvaluecollector.h" | |
| 18785 | + | line="179">the #GType of the value to skip</doc> | |
| 18786 | + | </parameter> | |
| 18787 | + | <parameter name="var_args"> | |
| 18788 | + | <doc xml:space="preserve" | |
| 18789 | + | filename="gobject/gvaluecollector.h" | |
| 18790 | + | line="180">the va_list variable; it may be evaluated multiple times</doc> | |
| 18791 | + | </parameter> | |
| 18792 | + | </parameters> | |
| 18793 | + | </function-macro> | |
| 16303 | 18794 | <function-macro name="VALUE_HOLDS" | |
| 16304 | 18795 | c:identifier="G_VALUE_HOLDS" | |
| 16305 | 18796 | introspectable="0"> | |
| 16306 | 18797 | <doc xml:space="preserve" | |
| 16307 | - | filename="gvalue.h" | |
| 16308 | - | line="70">Checks if @value holds (or contains) a value of @type. | |
| 18798 | + | filename="gobject/gvalue.h" | |
| 18799 | + | line="72">Checks if @value holds (or contains) a value of @type. | |
| 16309 | 18800 | This macro will also check for @value != %NULL and issue a | |
| 16310 | 18801 | warning if the check fails.</doc> | |
| 16311 | - | <source-position filename="gvalue.h" line="81"/> | |
| 18802 | + | <source-position filename="gobject/gvalue.h" line="83"/> | |
| 16312 | 18803 | <parameters> | |
| 16313 | 18804 | <parameter name="value"> | |
| 16314 | 18805 | <doc xml:space="preserve" | |
| 16315 | - | filename="gvalue.h" | |
| 16316 | - | line="72">A #GValue structure.</doc> | |
| 18806 | + | filename="gobject/gvalue.h" | |
| 18807 | + | line="74">A #GValue structure.</doc> | |
| 16317 | 18808 | </parameter> | |
| 16318 | 18809 | <parameter name="type"> | |
| 16319 | 18810 | <doc xml:space="preserve" | |
| 16320 | - | filename="gvalue.h" | |
| 16321 | - | line="73">A #GType value.</doc> | |
| 18811 | + | filename="gobject/gvalue.h" | |
| 18812 | + | line="75">A #GType value.</doc> | |
| 16322 | 18813 | </parameter> | |
| 16323 | 18814 | </parameters> | |
| 16324 | 18815 | </function-macro> | |
| @@ -16326,14 +18817,14 @@ warning if the check fails.</doc> | |||
| 16326 | 18817 | c:identifier="G_VALUE_HOLDS_BOOLEAN" | |
| 16327 | 18818 | introspectable="0"> | |
| 16328 | 18819 | <doc xml:space="preserve" | |
| 16329 | - | filename="gvaluetypes.h" | |
| 16330 | - | line="49">Checks whether the given #GValue can hold values of type %G_TYPE_BOOLEAN.</doc> | |
| 16331 | - | <source-position filename="gvaluetypes.h" line="57"/> | |
| 18820 | + | filename="gobject/gvaluetypes.h" | |
| 18821 | + | line="51">Checks whether the given #GValue can hold values of type %G_TYPE_BOOLEAN.</doc> | |
| 18822 | + | <source-position filename="gobject/gvaluetypes.h" line="59"/> | |
| 16332 | 18823 | <parameters> | |
| 16333 | 18824 | <parameter name="value"> | |
| 16334 | 18825 | <doc xml:space="preserve" | |
| 16335 | - | filename="gvaluetypes.h" | |
| 16336 | - | line="51">a valid #GValue structure</doc> | |
| 18826 | + | filename="gobject/gvaluetypes.h" | |
| 18827 | + | line="53">a valid #GValue structure</doc> | |
| 16337 | 18828 | </parameter> | |
| 16338 | 18829 | </parameters> | |
| 16339 | 18830 | </function-macro> | |
| @@ -16341,15 +18832,15 @@ warning if the check fails.</doc> | |||
| 16341 | 18832 | c:identifier="G_VALUE_HOLDS_BOXED" | |
| 16342 | 18833 | introspectable="0"> | |
| 16343 | 18834 | <doc xml:space="preserve" | |
| 16344 | - | filename="gboxed.h" | |
| 16345 | - | line="34">Checks whether the given #GValue can hold values derived | |
| 18835 | + | filename="gobject/gboxed.h" | |
| 18836 | + | line="36">Checks whether the given #GValue can hold values derived | |
| 16346 | 18837 | from type %G_TYPE_BOXED.</doc> | |
| 16347 | - | <source-position filename="gboxed.h" line="43"/> | |
| 18838 | + | <source-position filename="gobject/gboxed.h" line="45"/> | |
| 16348 | 18839 | <parameters> | |
| 16349 | 18840 | <parameter name="value"> | |
| 16350 | 18841 | <doc xml:space="preserve" | |
| 16351 | - | filename="gboxed.h" | |
| 16352 | - | line="36">a valid #GValue structure</doc> | |
| 18842 | + | filename="gobject/gboxed.h" | |
| 18843 | + | line="38">a valid #GValue structure</doc> | |
| 16353 | 18844 | </parameter> | |
| 16354 | 18845 | </parameters> | |
| 16355 | 18846 | </function-macro> | |
| @@ -16357,14 +18848,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16357 | 18848 | c:identifier="G_VALUE_HOLDS_CHAR" | |
| 16358 | 18849 | introspectable="0"> | |
| 16359 | 18850 | <doc xml:space="preserve" | |
| 16360 | - | filename="gvaluetypes.h" | |
| 16361 | - | line="31">Checks whether the given #GValue can hold values of type %G_TYPE_CHAR.</doc> | |
| 16362 | - | <source-position filename="gvaluetypes.h" line="39"/> | |
| 18851 | + | filename="gobject/gvaluetypes.h" | |
| 18852 | + | line="33">Checks whether the given #GValue can hold values of type %G_TYPE_CHAR.</doc> | |
| 18853 | + | <source-position filename="gobject/gvaluetypes.h" line="41"/> | |
| 16363 | 18854 | <parameters> | |
| 16364 | 18855 | <parameter name="value"> | |
| 16365 | 18856 | <doc xml:space="preserve" | |
| 16366 | - | filename="gvaluetypes.h" | |
| 16367 | - | line="33">a valid #GValue structure</doc> | |
| 18857 | + | filename="gobject/gvaluetypes.h" | |
| 18858 | + | line="35">a valid #GValue structure</doc> | |
| 16368 | 18859 | </parameter> | |
| 16369 | 18860 | </parameters> | |
| 16370 | 18861 | </function-macro> | |
| @@ -16372,14 +18863,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16372 | 18863 | c:identifier="G_VALUE_HOLDS_DOUBLE" | |
| 16373 | 18864 | introspectable="0"> | |
| 16374 | 18865 | <doc xml:space="preserve" | |
| 16375 | - | filename="gvaluetypes.h" | |
| 16376 | - | line="121">Checks whether the given #GValue can hold values of type %G_TYPE_DOUBLE.</doc> | |
| 16377 | - | <source-position filename="gvaluetypes.h" line="129"/> | |
| 18866 | + | filename="gobject/gvaluetypes.h" | |
| 18867 | + | line="123">Checks whether the given #GValue can hold values of type %G_TYPE_DOUBLE.</doc> | |
| 18868 | + | <source-position filename="gobject/gvaluetypes.h" line="131"/> | |
| 16378 | 18869 | <parameters> | |
| 16379 | 18870 | <parameter name="value"> | |
| 16380 | 18871 | <doc xml:space="preserve" | |
| 16381 | - | filename="gvaluetypes.h" | |
| 16382 | - | line="123">a valid #GValue structure</doc> | |
| 18872 | + | filename="gobject/gvaluetypes.h" | |
| 18873 | + | line="125">a valid #GValue structure</doc> | |
| 16383 | 18874 | </parameter> | |
| 16384 | 18875 | </parameters> | |
| 16385 | 18876 | </function-macro> | |
| @@ -16387,14 +18878,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16387 | 18878 | c:identifier="G_VALUE_HOLDS_ENUM" | |
| 16388 | 18879 | introspectable="0"> | |
| 16389 | 18880 | <doc xml:space="preserve" | |
| 16390 | - | filename="genums.h" | |
| 16391 | - | line="117">Checks whether the given #GValue can hold values derived from type %G_TYPE_ENUM.</doc> | |
| 16392 | - | <source-position filename="genums.h" line="125"/> | |
| 18881 | + | filename="gobject/genums.h" | |
| 18882 | + | line="119">Checks whether the given #GValue can hold values derived from type %G_TYPE_ENUM.</doc> | |
| 18883 | + | <source-position filename="gobject/genums.h" line="127"/> | |
| 16393 | 18884 | <parameters> | |
| 16394 | 18885 | <parameter name="value"> | |
| 16395 | 18886 | <doc xml:space="preserve" | |
| 16396 | - | filename="genums.h" | |
| 16397 | - | line="119">a valid #GValue structure</doc> | |
| 18887 | + | filename="gobject/genums.h" | |
| 18888 | + | line="121">a valid #GValue structure</doc> | |
| 16398 | 18889 | </parameter> | |
| 16399 | 18890 | </parameters> | |
| 16400 | 18891 | </function-macro> | |
| @@ -16402,14 +18893,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16402 | 18893 | c:identifier="G_VALUE_HOLDS_FLAGS" | |
| 16403 | 18894 | introspectable="0"> | |
| 16404 | 18895 | <doc xml:space="preserve" | |
| 16405 | - | filename="genums.h" | |
| 16406 | - | line="126">Checks whether the given #GValue can hold values derived from type %G_TYPE_FLAGS.</doc> | |
| 16407 | - | <source-position filename="genums.h" line="134"/> | |
| 18896 | + | filename="gobject/genums.h" | |
| 18897 | + | line="128">Checks whether the given #GValue can hold values derived from type %G_TYPE_FLAGS.</doc> | |
| 18898 | + | <source-position filename="gobject/genums.h" line="136"/> | |
| 16408 | 18899 | <parameters> | |
| 16409 | 18900 | <parameter name="value"> | |
| 16410 | 18901 | <doc xml:space="preserve" | |
| 16411 | - | filename="genums.h" | |
| 16412 | - | line="128">a valid #GValue structure</doc> | |
| 18902 | + | filename="gobject/genums.h" | |
| 18903 | + | line="130">a valid #GValue structure</doc> | |
| 16413 | 18904 | </parameter> | |
| 16414 | 18905 | </parameters> | |
| 16415 | 18906 | </function-macro> | |
| @@ -16417,14 +18908,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16417 | 18908 | c:identifier="G_VALUE_HOLDS_FLOAT" | |
| 16418 | 18909 | introspectable="0"> | |
| 16419 | 18910 | <doc xml:space="preserve" | |
| 16420 | - | filename="gvaluetypes.h" | |
| 16421 | - | line="112">Checks whether the given #GValue can hold values of type %G_TYPE_FLOAT.</doc> | |
| 16422 | - | <source-position filename="gvaluetypes.h" line="120"/> | |
| 18911 | + | filename="gobject/gvaluetypes.h" | |
| 18912 | + | line="114">Checks whether the given #GValue can hold values of type %G_TYPE_FLOAT.</doc> | |
| 18913 | + | <source-position filename="gobject/gvaluetypes.h" line="122"/> | |
| 16423 | 18914 | <parameters> | |
| 16424 | 18915 | <parameter name="value"> | |
| 16425 | 18916 | <doc xml:space="preserve" | |
| 16426 | - | filename="gvaluetypes.h" | |
| 16427 | - | line="114">a valid #GValue structure</doc> | |
| 18917 | + | filename="gobject/gvaluetypes.h" | |
| 18918 | + | line="116">a valid #GValue structure</doc> | |
| 16428 | 18919 | </parameter> | |
| 16429 | 18920 | </parameters> | |
| 16430 | 18921 | </function-macro> | |
| @@ -16433,14 +18924,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16433 | 18924 | version="2.12" | |
| 16434 | 18925 | introspectable="0"> | |
| 16435 | 18926 | <doc xml:space="preserve" | |
| 16436 | - | filename="gvaluetypes.h" | |
| 16437 | - | line="167">Checks whether the given #GValue can hold values of type %G_TYPE_GTYPE.</doc> | |
| 16438 | - | <source-position filename="gvaluetypes.h" line="176"/> | |
| 18927 | + | filename="gobject/gvaluetypes.h" | |
| 18928 | + | line="169">Checks whether the given #GValue can hold values of type %G_TYPE_GTYPE.</doc> | |
| 18929 | + | <source-position filename="gobject/gvaluetypes.h" line="178"/> | |
| 16439 | 18930 | <parameters> | |
| 16440 | 18931 | <parameter name="value"> | |
| 16441 | 18932 | <doc xml:space="preserve" | |
| 16442 | - | filename="gvaluetypes.h" | |
| 16443 | - | line="169">a valid #GValue structure</doc> | |
| 18933 | + | filename="gobject/gvaluetypes.h" | |
| 18934 | + | line="171">a valid #GValue structure</doc> | |
| 16444 | 18935 | </parameter> | |
| 16445 | 18936 | </parameters> | |
| 16446 | 18937 | </function-macro> | |
| @@ -16448,14 +18939,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16448 | 18939 | c:identifier="G_VALUE_HOLDS_INT" | |
| 16449 | 18940 | introspectable="0"> | |
| 16450 | 18941 | <doc xml:space="preserve" | |
| 16451 | - | filename="gvaluetypes.h" | |
| 16452 | - | line="58">Checks whether the given #GValue can hold values of type %G_TYPE_INT.</doc> | |
| 16453 | - | <source-position filename="gvaluetypes.h" line="66"/> | |
| 18942 | + | filename="gobject/gvaluetypes.h" | |
| 18943 | + | line="60">Checks whether the given #GValue can hold values of type %G_TYPE_INT.</doc> | |
| 18944 | + | <source-position filename="gobject/gvaluetypes.h" line="68"/> | |
| 16454 | 18945 | <parameters> | |
| 16455 | 18946 | <parameter name="value"> | |
| 16456 | 18947 | <doc xml:space="preserve" | |
| 16457 | - | filename="gvaluetypes.h" | |
| 16458 | - | line="60">a valid #GValue structure</doc> | |
| 18948 | + | filename="gobject/gvaluetypes.h" | |
| 18949 | + | line="62">a valid #GValue structure</doc> | |
| 16459 | 18950 | </parameter> | |
| 16460 | 18951 | </parameters> | |
| 16461 | 18952 | </function-macro> | |
| @@ -16463,14 +18954,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16463 | 18954 | c:identifier="G_VALUE_HOLDS_INT64" | |
| 16464 | 18955 | introspectable="0"> | |
| 16465 | 18956 | <doc xml:space="preserve" | |
| 16466 | - | filename="gvaluetypes.h" | |
| 16467 | - | line="94">Checks whether the given #GValue can hold values of type %G_TYPE_INT64.</doc> | |
| 16468 | - | <source-position filename="gvaluetypes.h" line="102"/> | |
| 18957 | + | filename="gobject/gvaluetypes.h" | |
| 18958 | + | line="96">Checks whether the given #GValue can hold values of type %G_TYPE_INT64.</doc> | |
| 18959 | + | <source-position filename="gobject/gvaluetypes.h" line="104"/> | |
| 16469 | 18960 | <parameters> | |
| 16470 | 18961 | <parameter name="value"> | |
| 16471 | 18962 | <doc xml:space="preserve" | |
| 16472 | - | filename="gvaluetypes.h" | |
| 16473 | - | line="96">a valid #GValue structure</doc> | |
| 18963 | + | filename="gobject/gvaluetypes.h" | |
| 18964 | + | line="98">a valid #GValue structure</doc> | |
| 16474 | 18965 | </parameter> | |
| 16475 | 18966 | </parameters> | |
| 16476 | 18967 | </function-macro> | |
| @@ -16478,14 +18969,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16478 | 18969 | c:identifier="G_VALUE_HOLDS_LONG" | |
| 16479 | 18970 | introspectable="0"> | |
| 16480 | 18971 | <doc xml:space="preserve" | |
| 16481 | - | filename="gvaluetypes.h" | |
| 16482 | - | line="76">Checks whether the given #GValue can hold values of type %G_TYPE_LONG.</doc> | |
| 16483 | - | <source-position filename="gvaluetypes.h" line="84"/> | |
| 18972 | + | filename="gobject/gvaluetypes.h" | |
| 18973 | + | line="78">Checks whether the given #GValue can hold values of type %G_TYPE_LONG.</doc> | |
| 18974 | + | <source-position filename="gobject/gvaluetypes.h" line="86"/> | |
| 16484 | 18975 | <parameters> | |
| 16485 | 18976 | <parameter name="value"> | |
| 16486 | 18977 | <doc xml:space="preserve" | |
| 16487 | - | filename="gvaluetypes.h" | |
| 16488 | - | line="78">a valid #GValue structure</doc> | |
| 18978 | + | filename="gobject/gvaluetypes.h" | |
| 18979 | + | line="80">a valid #GValue structure</doc> | |
| 16489 | 18980 | </parameter> | |
| 16490 | 18981 | </parameters> | |
| 16491 | 18982 | </function-macro> | |
| @@ -16493,14 +18984,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16493 | 18984 | c:identifier="G_VALUE_HOLDS_OBJECT" | |
| 16494 | 18985 | introspectable="0"> | |
| 16495 | 18986 | <doc xml:space="preserve" | |
| 16496 | - | filename="gobject.h" | |
| 16497 | - | line="126">Checks whether the given #GValue can hold values derived from type %G_TYPE_OBJECT.</doc> | |
| 16498 | - | <source-position filename="gobject.h" line="134"/> | |
| 18987 | + | filename="gobject/gobject.h" | |
| 18988 | + | line="128">Checks whether the given #GValue can hold values derived from type %G_TYPE_OBJECT.</doc> | |
| 18989 | + | <source-position filename="gobject/gobject.h" line="136"/> | |
| 16499 | 18990 | <parameters> | |
| 16500 | 18991 | <parameter name="value"> | |
| 16501 | 18992 | <doc xml:space="preserve" | |
| 16502 | - | filename="gobject.h" | |
| 16503 | - | line="128">a valid #GValue structure</doc> | |
| 18993 | + | filename="gobject/gobject.h" | |
| 18994 | + | line="130">a valid #GValue structure</doc> | |
| 16504 | 18995 | </parameter> | |
| 16505 | 18996 | </parameters> | |
| 16506 | 18997 | </function-macro> | |
| @@ -16508,14 +18999,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16508 | 18999 | c:identifier="G_VALUE_HOLDS_PARAM" | |
| 16509 | 19000 | introspectable="0"> | |
| 16510 | 19001 | <doc xml:space="preserve" | |
| 16511 | - | filename="gparam.h" | |
| 16512 | - | line="104">Checks whether the given #GValue can hold values derived from type %G_TYPE_PARAM.</doc> | |
| 16513 | - | <source-position filename="gparam.h" line="112"/> | |
| 19002 | + | filename="gobject/gparam.h" | |
| 19003 | + | line="106">Checks whether the given #GValue can hold values derived from type %G_TYPE_PARAM.</doc> | |
| 19004 | + | <source-position filename="gobject/gparam.h" line="114"/> | |
| 16514 | 19005 | <parameters> | |
| 16515 | 19006 | <parameter name="value"> | |
| 16516 | 19007 | <doc xml:space="preserve" | |
| 16517 | - | filename="gparam.h" | |
| 16518 | - | line="106">a valid #GValue structure</doc> | |
| 19008 | + | filename="gobject/gparam.h" | |
| 19009 | + | line="108">a valid #GValue structure</doc> | |
| 16519 | 19010 | </parameter> | |
| 16520 | 19011 | </parameters> | |
| 16521 | 19012 | </function-macro> | |
| @@ -16523,14 +19014,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16523 | 19014 | c:identifier="G_VALUE_HOLDS_POINTER" | |
| 16524 | 19015 | introspectable="0"> | |
| 16525 | 19016 | <doc xml:space="preserve" | |
| 16526 | - | filename="gvaluetypes.h" | |
| 16527 | - | line="152">Checks whether the given #GValue can hold values of type %G_TYPE_POINTER.</doc> | |
| 16528 | - | <source-position filename="gvaluetypes.h" line="160"/> | |
| 19017 | + | filename="gobject/gvaluetypes.h" | |
| 19018 | + | line="154">Checks whether the given #GValue can hold values of type %G_TYPE_POINTER.</doc> | |
| 19019 | + | <source-position filename="gobject/gvaluetypes.h" line="162"/> | |
| 16529 | 19020 | <parameters> | |
| 16530 | 19021 | <parameter name="value"> | |
| 16531 | 19022 | <doc xml:space="preserve" | |
| 16532 | - | filename="gvaluetypes.h" | |
| 16533 | - | line="154">a valid #GValue structure</doc> | |
| 19023 | + | filename="gobject/gvaluetypes.h" | |
| 19024 | + | line="156">a valid #GValue structure</doc> | |
| 16534 | 19025 | </parameter> | |
| 16535 | 19026 | </parameters> | |
| 16536 | 19027 | </function-macro> | |
| @@ -16538,14 +19029,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16538 | 19029 | c:identifier="G_VALUE_HOLDS_STRING" | |
| 16539 | 19030 | introspectable="0"> | |
| 16540 | 19031 | <doc xml:space="preserve" | |
| 16541 | - | filename="gvaluetypes.h" | |
| 16542 | - | line="130">Checks whether the given #GValue can hold values of type %G_TYPE_STRING.</doc> | |
| 16543 | - | <source-position filename="gvaluetypes.h" line="138"/> | |
| 19032 | + | filename="gobject/gvaluetypes.h" | |
| 19033 | + | line="132">Checks whether the given #GValue can hold values of type %G_TYPE_STRING.</doc> | |
| 19034 | + | <source-position filename="gobject/gvaluetypes.h" line="140"/> | |
| 16544 | 19035 | <parameters> | |
| 16545 | 19036 | <parameter name="value"> | |
| 16546 | 19037 | <doc xml:space="preserve" | |
| 16547 | - | filename="gvaluetypes.h" | |
| 16548 | - | line="132">a valid #GValue structure</doc> | |
| 19038 | + | filename="gobject/gvaluetypes.h" | |
| 19039 | + | line="134">a valid #GValue structure</doc> | |
| 16549 | 19040 | </parameter> | |
| 16550 | 19041 | </parameters> | |
| 16551 | 19042 | </function-macro> | |
| @@ -16553,14 +19044,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16553 | 19044 | c:identifier="G_VALUE_HOLDS_UCHAR" | |
| 16554 | 19045 | introspectable="0"> | |
| 16555 | 19046 | <doc xml:space="preserve" | |
| 16556 | - | filename="gvaluetypes.h" | |
| 16557 | - | line="40">Checks whether the given #GValue can hold values of type %G_TYPE_UCHAR.</doc> | |
| 16558 | - | <source-position filename="gvaluetypes.h" line="48"/> | |
| 19047 | + | filename="gobject/gvaluetypes.h" | |
| 19048 | + | line="42">Checks whether the given #GValue can hold values of type %G_TYPE_UCHAR.</doc> | |
| 19049 | + | <source-position filename="gobject/gvaluetypes.h" line="50"/> | |
| 16559 | 19050 | <parameters> | |
| 16560 | 19051 | <parameter name="value"> | |
| 16561 | 19052 | <doc xml:space="preserve" | |
| 16562 | - | filename="gvaluetypes.h" | |
| 16563 | - | line="42">a valid #GValue structure</doc> | |
| 19053 | + | filename="gobject/gvaluetypes.h" | |
| 19054 | + | line="44">a valid #GValue structure</doc> | |
| 16564 | 19055 | </parameter> | |
| 16565 | 19056 | </parameters> | |
| 16566 | 19057 | </function-macro> | |
| @@ -16568,14 +19059,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16568 | 19059 | c:identifier="G_VALUE_HOLDS_UINT" | |
| 16569 | 19060 | introspectable="0"> | |
| 16570 | 19061 | <doc xml:space="preserve" | |
| 16571 | - | filename="gvaluetypes.h" | |
| 16572 | - | line="67">Checks whether the given #GValue can hold values of type %G_TYPE_UINT.</doc> | |
| 16573 | - | <source-position filename="gvaluetypes.h" line="75"/> | |
| 19062 | + | filename="gobject/gvaluetypes.h" | |
| 19063 | + | line="69">Checks whether the given #GValue can hold values of type %G_TYPE_UINT.</doc> | |
| 19064 | + | <source-position filename="gobject/gvaluetypes.h" line="77"/> | |
| 16574 | 19065 | <parameters> | |
| 16575 | 19066 | <parameter name="value"> | |
| 16576 | 19067 | <doc xml:space="preserve" | |
| 16577 | - | filename="gvaluetypes.h" | |
| 16578 | - | line="69">a valid #GValue structure</doc> | |
| 19068 | + | filename="gobject/gvaluetypes.h" | |
| 19069 | + | line="71">a valid #GValue structure</doc> | |
| 16579 | 19070 | </parameter> | |
| 16580 | 19071 | </parameters> | |
| 16581 | 19072 | </function-macro> | |
| @@ -16583,14 +19074,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16583 | 19074 | c:identifier="G_VALUE_HOLDS_UINT64" | |
| 16584 | 19075 | introspectable="0"> | |
| 16585 | 19076 | <doc xml:space="preserve" | |
| 16586 | - | filename="gvaluetypes.h" | |
| 16587 | - | line="103">Checks whether the given #GValue can hold values of type %G_TYPE_UINT64.</doc> | |
| 16588 | - | <source-position filename="gvaluetypes.h" line="111"/> | |
| 19077 | + | filename="gobject/gvaluetypes.h" | |
| 19078 | + | line="105">Checks whether the given #GValue can hold values of type %G_TYPE_UINT64.</doc> | |
| 19079 | + | <source-position filename="gobject/gvaluetypes.h" line="113"/> | |
| 16589 | 19080 | <parameters> | |
| 16590 | 19081 | <parameter name="value"> | |
| 16591 | 19082 | <doc xml:space="preserve" | |
| 16592 | - | filename="gvaluetypes.h" | |
| 16593 | - | line="105">a valid #GValue structure</doc> | |
| 19083 | + | filename="gobject/gvaluetypes.h" | |
| 19084 | + | line="107">a valid #GValue structure</doc> | |
| 16594 | 19085 | </parameter> | |
| 16595 | 19086 | </parameters> | |
| 16596 | 19087 | </function-macro> | |
| @@ -16598,14 +19089,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16598 | 19089 | c:identifier="G_VALUE_HOLDS_ULONG" | |
| 16599 | 19090 | introspectable="0"> | |
| 16600 | 19091 | <doc xml:space="preserve" | |
| 16601 | - | filename="gvaluetypes.h" | |
| 16602 | - | line="85">Checks whether the given #GValue can hold values of type %G_TYPE_ULONG.</doc> | |
| 16603 | - | <source-position filename="gvaluetypes.h" line="93"/> | |
| 19092 | + | filename="gobject/gvaluetypes.h" | |
| 19093 | + | line="87">Checks whether the given #GValue can hold values of type %G_TYPE_ULONG.</doc> | |
| 19094 | + | <source-position filename="gobject/gvaluetypes.h" line="95"/> | |
| 16604 | 19095 | <parameters> | |
| 16605 | 19096 | <parameter name="value"> | |
| 16606 | 19097 | <doc xml:space="preserve" | |
| 16607 | - | filename="gvaluetypes.h" | |
| 16608 | - | line="87">a valid #GValue structure</doc> | |
| 19098 | + | filename="gobject/gvaluetypes.h" | |
| 19099 | + | line="89">a valid #GValue structure</doc> | |
| 16609 | 19100 | </parameter> | |
| 16610 | 19101 | </parameters> | |
| 16611 | 19102 | </function-macro> | |
| @@ -16614,14 +19105,14 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16614 | 19105 | version="2.26" | |
| 16615 | 19106 | introspectable="0"> | |
| 16616 | 19107 | <doc xml:space="preserve" | |
| 16617 | - | filename="gvaluetypes.h" | |
| 16618 | - | line="177">Checks whether the given #GValue can hold values of type %G_TYPE_VARIANT.</doc> | |
| 16619 | - | <source-position filename="gvaluetypes.h" line="187"/> | |
| 19108 | + | filename="gobject/gvaluetypes.h" | |
| 19109 | + | line="179">Checks whether the given #GValue can hold values of type %G_TYPE_VARIANT.</doc> | |
| 19110 | + | <source-position filename="gobject/gvaluetypes.h" line="189"/> | |
| 16620 | 19111 | <parameters> | |
| 16621 | 19112 | <parameter name="value"> | |
| 16622 | 19113 | <doc xml:space="preserve" | |
| 16623 | - | filename="gvaluetypes.h" | |
| 16624 | - | line="179">a valid #GValue structure</doc> | |
| 19114 | + | filename="gobject/gvaluetypes.h" | |
| 19115 | + | line="181">a valid #GValue structure</doc> | |
| 16625 | 19116 | </parameter> | |
| 16626 | 19117 | </parameters> | |
| 16627 | 19118 | </function-macro> | |
| @@ -16630,10 +19121,10 @@ from type %G_TYPE_BOXED.</doc> | |||
| 16630 | 19121 | c:type="G_VALUE_INTERNED_STRING" | |
| 16631 | 19122 | version="2.66"> | |
| 16632 | 19123 | <doc xml:space="preserve" | |
| 16633 | - | filename="gvalue.h" | |
| 16634 | - | line="182">For string values, indicates that the string contained is canonical and will | |
| 19124 | + | filename="gobject/gvalue.h" | |
| 19125 | + | line="184">For string values, indicates that the string contained is canonical and will | |
| 16635 | 19126 | exist for the duration of the process. See g_value_set_interned_string().</doc> | |
| 16636 | - | <source-position filename="gvalue.h" line="190"/> | |
| 19127 | + | <source-position filename="gobject/gvalue.h" line="192"/> | |
| 16637 | 19128 | <type name="gint" c:type="gint"/> | |
| 16638 | 19129 | </constant> | |
| 16639 | 19130 | <function-macro name="VALUE_IS_INTERNED_STRING" | |
| @@ -16641,14 +19132,49 @@ exist for the duration of the process. See g_value_set_interned_string().</doc> | |||
| 16641 | 19132 | version="2.66" | |
| 16642 | 19133 | introspectable="0"> | |
| 16643 | 19134 | <doc xml:space="preserve" | |
| 16644 | - | filename="gvaluetypes.h" | |
| 16645 | - | line="139">Checks whether @value contains a string which is canonical.</doc> | |
| 16646 | - | <source-position filename="gvaluetypes.h" line="151"/> | |
| 19135 | + | filename="gobject/gvaluetypes.h" | |
| 19136 | + | line="141">Checks whether @value contains a string which is canonical.</doc> | |
| 19137 | + | <source-position filename="gobject/gvaluetypes.h" line="153"/> | |
| 19138 | + | <parameters> | |
| 19139 | + | <parameter name="value"> | |
| 19140 | + | <doc xml:space="preserve" | |
| 19141 | + | filename="gobject/gvaluetypes.h" | |
| 19142 | + | line="143">a valid #GValue structure</doc> | |
| 19143 | + | </parameter> | |
| 19144 | + | </parameters> | |
| 19145 | + | </function-macro> | |
| 19146 | + | <function-macro name="VALUE_LCOPY" | |
| 19147 | + | c:identifier="G_VALUE_LCOPY" | |
| 19148 | + | introspectable="0"> | |
| 19149 | + | <doc xml:space="preserve" | |
| 19150 | + | filename="gobject/gvaluecollector.h" | |
| 19151 | + | line="214">Stores a value’s value into one or more argument locations from a `va_list`. | |
| 19152 | + | ||
| 19153 | + | This is the inverse of G_VALUE_COLLECT().</doc> | |
| 19154 | + | <source-position filename="gobject/gvaluecollector.h" line="228"/> | |
| 16647 | 19155 | <parameters> | |
| 16648 | 19156 | <parameter name="value"> | |
| 16649 | 19157 | <doc xml:space="preserve" | |
| 16650 | - | filename="gvaluetypes.h" | |
| 16651 | - | line="141">a valid #GValue structure</doc> | |
| 19158 | + | filename="gobject/gvaluecollector.h" | |
| 19159 | + | line="216">a #GValue to store into the @var_args; this must be initialized | |
| 19160 | + | and set</doc> | |
| 19161 | + | </parameter> | |
| 19162 | + | <parameter name="var_args"> | |
| 19163 | + | <doc xml:space="preserve" | |
| 19164 | + | filename="gobject/gvaluecollector.h" | |
| 19165 | + | line="218">the va_list variable; it may be evaluated multiple times</doc> | |
| 19166 | + | </parameter> | |
| 19167 | + | <parameter name="flags"> | |
| 19168 | + | <doc xml:space="preserve" | |
| 19169 | + | filename="gobject/gvaluecollector.h" | |
| 19170 | + | line="219">flags which are passed on to the lcopy_value() function of | |
| 19171 | + | the #GTypeValueTable of @value.</doc> | |
| 19172 | + | </parameter> | |
| 19173 | + | <parameter name="__error"> | |
| 19174 | + | <doc xml:space="preserve" | |
| 19175 | + | filename="gobject/gvaluecollector.h" | |
| 19176 | + | line="221">a #gchar** variable that will be modified to hold a g_new() | |
| 19177 | + | allocated error message if something fails</doc> | |
| 16652 | 19178 | </parameter> | |
| 16653 | 19179 | </parameters> | |
| 16654 | 19180 | </function-macro> | |
| @@ -16656,26 +19182,26 @@ exist for the duration of the process. See g_value_set_interned_string().</doc> | |||
| 16656 | 19182 | value="134217728" | |
| 16657 | 19183 | c:type="G_VALUE_NOCOPY_CONTENTS"> | |
| 16658 | 19184 | <doc xml:space="preserve" | |
| 16659 | - | filename="gvalue.h" | |
| 16660 | - | line="172">If passed to G_VALUE_COLLECT(), allocated data won't be copied | |
| 19185 | + | filename="gobject/gvalue.h" | |
| 19186 | + | line="174">If passed to G_VALUE_COLLECT(), allocated data won't be copied | |
| 16661 | 19187 | but used verbatim. This does not affect ref-counted types like | |
| 16662 | 19188 | objects. This does not affect usage of g_value_copy(), the data will | |
| 16663 | 19189 | be copied if it is not ref-counted.</doc> | |
| 16664 | - | <source-position filename="gvalue.h" line="180"/> | |
| 19190 | + | <source-position filename="gobject/gvalue.h" line="182"/> | |
| 16665 | 19191 | <type name="gint" c:type="gint"/> | |
| 16666 | 19192 | </constant> | |
| 16667 | 19193 | <function-macro name="VALUE_TYPE" | |
| 16668 | 19194 | c:identifier="G_VALUE_TYPE" | |
| 16669 | 19195 | introspectable="0"> | |
| 16670 | 19196 | <doc xml:space="preserve" | |
| 16671 | - | filename="gvalue.h" | |
| 16672 | - | line="52">Get the type identifier of @value.</doc> | |
| 16673 | - | <source-position filename="gvalue.h" line="60"/> | |
| 19197 | + | filename="gobject/gvalue.h" | |
| 19198 | + | line="54">Get the type identifier of @value.</doc> | |
| 19199 | + | <source-position filename="gobject/gvalue.h" line="62"/> | |
| 16674 | 19200 | <parameters> | |
| 16675 | 19201 | <parameter name="value"> | |
| 16676 | 19202 | <doc xml:space="preserve" | |
| 16677 | - | filename="gvalue.h" | |
| 16678 | - | line="54">A #GValue structure.</doc> | |
| 19203 | + | filename="gobject/gvalue.h" | |
| 19204 | + | line="56">A #GValue structure.</doc> | |
| 16679 | 19205 | </parameter> | |
| 16680 | 19206 | </parameters> | |
| 16681 | 19207 | </function-macro> | |
| @@ -16683,14 +19209,14 @@ be copied if it is not ref-counted.</doc> | |||
| 16683 | 19209 | c:identifier="G_VALUE_TYPE_NAME" | |
| 16684 | 19210 | introspectable="0"> | |
| 16685 | 19211 | <doc xml:space="preserve" | |
| 16686 | - | filename="gvalue.h" | |
| 16687 | - | line="61">Gets the type name of @value.</doc> | |
| 16688 | - | <source-position filename="gvalue.h" line="69"/> | |
| 19212 | + | filename="gobject/gvalue.h" | |
| 19213 | + | line="63">Gets the type name of @value.</doc> | |
| 19214 | + | <source-position filename="gobject/gvalue.h" line="71"/> | |
| 16689 | 19215 | <parameters> | |
| 16690 | 19216 | <parameter name="value"> | |
| 16691 | 19217 | <doc xml:space="preserve" | |
| 16692 | - | filename="gvalue.h" | |
| 16693 | - | line="63">A #GValue structure.</doc> | |
| 19218 | + | filename="gobject/gvalue.h" | |
| 19219 | + | line="65">A #GValue structure.</doc> | |
| 16694 | 19220 | </parameter> | |
| 16695 | 19221 | </parameters> | |
| 16696 | 19222 | </function-macro> | |
| @@ -16698,19 +19224,19 @@ be copied if it is not ref-counted.</doc> | |||
| 16698 | 19224 | c:type="GVaClosureMarshal" | |
| 16699 | 19225 | introspectable="0"> | |
| 16700 | 19226 | <doc xml:space="preserve" | |
| 16701 | - | filename="gclosure.h" | |
| 16702 | - | line="126">This is the signature of va_list marshaller functions, an optional | |
| 19227 | + | filename="gobject/gclosure.h" | |
| 19228 | + | line="128">This is the signature of va_list marshaller functions, an optional | |
| 16703 | 19229 | marshaller that can be used in some situations to avoid | |
| 16704 | 19230 | marshalling the signal argument into GValues.</doc> | |
| 16705 | - | <source-position filename="gclosure.h" line="146"/> | |
| 19231 | + | <source-position filename="gobject/gclosure.h" line="148"/> | |
| 16706 | 19232 | <return-value transfer-ownership="none"> | |
| 16707 | 19233 | <type name="none" c:type="void"/> | |
| 16708 | 19234 | </return-value> | |
| 16709 | 19235 | <parameters> | |
| 16710 | 19236 | <parameter name="closure" transfer-ownership="none"> | |
| 16711 | 19237 | <doc xml:space="preserve" | |
| 16712 | - | filename="gclosure.h" | |
| 16713 | - | line="128">the #GClosure to which the marshaller belongs</doc> | |
| 19238 | + | filename="gobject/gclosure.h" | |
| 19239 | + | line="130">the #GClosure to which the marshaller belongs</doc> | |
| 16714 | 19240 | <type name="Closure" c:type="GClosure*"/> | |
| 16715 | 19241 | </parameter> | |
| 16716 | 19242 | <parameter name="return_value" | |
| @@ -16718,23 +19244,23 @@ marshalling the signal argument into GValues.</doc> | |||
| 16718 | 19244 | nullable="1" | |
| 16719 | 19245 | allow-none="1"> | |
| 16720 | 19246 | <doc xml:space="preserve" | |
| 16721 | - | filename="gclosure.h" | |
| 16722 | - | line="129">a #GValue to store the return | |
| 19247 | + | filename="gobject/gclosure.h" | |
| 19248 | + | line="131">a #GValue to store the return | |
| 16723 | 19249 | value. May be %NULL if the callback of @closure doesn't return a | |
| 16724 | 19250 | value.</doc> | |
| 16725 | 19251 | <type name="Value" c:type="GValue*"/> | |
| 16726 | 19252 | </parameter> | |
| 16727 | 19253 | <parameter name="instance" transfer-ownership="none"> | |
| 16728 | 19254 | <doc xml:space="preserve" | |
| 16729 | - | filename="gclosure.h" | |
| 16730 | - | line="132">the instance on which the closure is | |
| 19255 | + | filename="gobject/gclosure.h" | |
| 19256 | + | line="134">the instance on which the closure is | |
| 16731 | 19257 | invoked.</doc> | |
| 16732 | 19258 | <type name="TypeInstance" c:type="gpointer"/> | |
| 16733 | 19259 | </parameter> | |
| 16734 | 19260 | <parameter name="args" transfer-ownership="none"> | |
| 16735 | 19261 | <doc xml:space="preserve" | |
| 16736 | - | filename="gclosure.h" | |
| 16737 | - | line="134">va_list of arguments to be passed to the closure.</doc> | |
| 19262 | + | filename="gobject/gclosure.h" | |
| 19263 | + | line="136">va_list of arguments to be passed to the closure.</doc> | |
| 16738 | 19264 | <type name="va_list" c:type="va_list"/> | |
| 16739 | 19265 | </parameter> | |
| 16740 | 19266 | <parameter name="marshal_data" | |
| @@ -16742,22 +19268,22 @@ marshalling the signal argument into GValues.</doc> | |||
| 16742 | 19268 | nullable="1" | |
| 16743 | 19269 | allow-none="1"> | |
| 16744 | 19270 | <doc xml:space="preserve" | |
| 16745 | - | filename="gclosure.h" | |
| 16746 | - | line="135">additional data specified when | |
| 19271 | + | filename="gobject/gclosure.h" | |
| 19272 | + | line="137">additional data specified when | |
| 16747 | 19273 | registering the marshaller, see g_closure_set_marshal() and | |
| 16748 | 19274 | g_closure_set_meta_marshal()</doc> | |
| 16749 | 19275 | <type name="gpointer" c:type="gpointer"/> | |
| 16750 | 19276 | </parameter> | |
| 16751 | 19277 | <parameter name="n_params" transfer-ownership="none"> | |
| 16752 | 19278 | <doc xml:space="preserve" | |
| 16753 | - | filename="gclosure.h" | |
| 16754 | - | line="138">the length of the @param_types array</doc> | |
| 19279 | + | filename="gobject/gclosure.h" | |
| 19280 | + | line="140">the length of the @param_types array</doc> | |
| 16755 | 19281 | <type name="gint" c:type="int"/> | |
| 16756 | 19282 | </parameter> | |
| 16757 | 19283 | <parameter name="param_types" transfer-ownership="none"> | |
| 16758 | 19284 | <doc xml:space="preserve" | |
| 16759 | - | filename="gclosure.h" | |
| 16760 | - | line="139">the #GType of each argument from | |
| 19285 | + | filename="gobject/gclosure.h" | |
| 19286 | + | line="141">the #GType of each argument from | |
| 16761 | 19287 | @args.</doc> | |
| 16762 | 19288 | <array length="5" zero-terminated="0" c:type="GType*"> | |
| 16763 | 19289 | <type name="GType" c:type="GType"/> | |
| @@ -16771,8 +19297,8 @@ marshalling the signal argument into GValues.</doc> | |||
| 16771 | 19297 | glib:get-type="g_value_get_type" | |
| 16772 | 19298 | c:symbol-prefix="value"> | |
| 16773 | 19299 | <doc xml:space="preserve" | |
| 16774 | - | filename="gvalue.h" | |
| 16775 | - | line="97">An opaque structure used to hold different types of values. | |
| 19300 | + | filename="gobject/gvalue.h" | |
| 19301 | + | line="99">An opaque structure used to hold different types of values. | |
| 16776 | 19302 | ||
| 16777 | 19303 | The data within the structure has protected scope: it is accessible only | |
| 16778 | 19304 | to functions within a #GTypeValueTable structure, or implementations of | |
| @@ -16782,7 +19308,7 @@ types. | |||
| 16782 | 19308 | #GValue users cannot make any assumptions about how data is stored | |
| 16783 | 19309 | within the 2 element @data union, and the @g_type member should | |
| 16784 | 19310 | only be accessed through the G_VALUE_TYPE() macro.</doc> | |
| 16785 | - | <source-position filename="gvalue.h" line="128"/> | |
| 19311 | + | <source-position filename="gobject/gvalue.h" line="130"/> | |
| 16786 | 19312 | <field name="g_type" readable="0" private="1"> | |
| 16787 | 19313 | <type name="GType" c:type="GType"/> | |
| 16788 | 19314 | </field> | |
| @@ -16793,23 +19319,23 @@ only be accessed through the G_VALUE_TYPE() macro.</doc> | |||
| 16793 | 19319 | </field> | |
| 16794 | 19320 | <method name="copy" c:identifier="g_value_copy"> | |
| 16795 | 19321 | <doc xml:space="preserve" | |
| 16796 | - | filename="gobject-2.0.c" | |
| 16797 | - | line="6852">Copies the value of @src_value into @dest_value.</doc> | |
| 16798 | - | <source-position filename="gvalue.h" line="136"/> | |
| 19322 | + | filename="gobject/gvalue.c" | |
| 19323 | + | line="110">Copies the value of @src_value into @dest_value.</doc> | |
| 19324 | + | <source-position filename="gobject/gvalue.h" line="138"/> | |
| 16799 | 19325 | <return-value transfer-ownership="none"> | |
| 16800 | 19326 | <type name="none" c:type="void"/> | |
| 16801 | 19327 | </return-value> | |
| 16802 | 19328 | <parameters> | |
| 16803 | 19329 | <instance-parameter name="src_value" transfer-ownership="none"> | |
| 16804 | 19330 | <doc xml:space="preserve" | |
| 16805 | - | filename="gobject-2.0.c" | |
| 16806 | - | line="6854">An initialized #GValue structure.</doc> | |
| 19331 | + | filename="gobject/gvalue.c" | |
| 19332 | + | line="112">An initialized #GValue structure.</doc> | |
| 16807 | 19333 | <type name="Value" c:type="const GValue*"/> | |
| 16808 | 19334 | </instance-parameter> | |
| 16809 | 19335 | <parameter name="dest_value" transfer-ownership="none"> | |
| 16810 | 19336 | <doc xml:space="preserve" | |
| 16811 | - | filename="gobject-2.0.c" | |
| 16812 | - | line="6855">An initialized #GValue structure of the same type as @src_value.</doc> | |
| 19337 | + | filename="gobject/gvalue.c" | |
| 19338 | + | line="113">An initialized #GValue structure of the same type as @src_value.</doc> | |
| 16813 | 19339 | <type name="Value" c:type="GValue*"/> | |
| 16814 | 19340 | </parameter> | |
| 16815 | 19341 | </parameters> | |
| @@ -16818,46 +19344,46 @@ only be accessed through the G_VALUE_TYPE() macro.</doc> | |||
| 16818 | 19344 | c:identifier="g_value_dup_boxed" | |
| 16819 | 19345 | introspectable="0"> | |
| 16820 | 19346 | <doc xml:space="preserve" | |
| 16821 | - | filename="gobject-2.0.c" | |
| 16822 | - | line="6861">Get the contents of a %G_TYPE_BOXED derived #GValue. Upon getting, | |
| 19347 | + | filename="gobject/gboxed.c" | |
| 19348 | + | line="429">Get the contents of a %G_TYPE_BOXED derived #GValue. Upon getting, | |
| 16823 | 19349 | the boxed value is duplicated and needs to be later freed with | |
| 16824 | 19350 | g_boxed_free(), e.g. like: g_boxed_free (G_VALUE_TYPE (@value), | |
| 16825 | 19351 | return_value);</doc> | |
| 16826 | - | <source-position filename="gboxed.h" line="90"/> | |
| 16827 | - | <return-value transfer-ownership="none" nullable="1"> | |
| 19352 | + | <source-position filename="gobject/gboxed.h" line="92"/> | |
| 19353 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 16828 | 19354 | <doc xml:space="preserve" | |
| 16829 | - | filename="gobject-2.0.c" | |
| 16830 | - | line="6870">boxed contents of @value</doc> | |
| 19355 | + | filename="gobject/gboxed.c" | |
| 19356 | + | line="438">boxed contents of @value</doc> | |
| 16831 | 19357 | <type name="gpointer" c:type="gpointer"/> | |
| 16832 | 19358 | </return-value> | |
| 16833 | 19359 | <parameters> | |
| 16834 | 19360 | <instance-parameter name="value" transfer-ownership="none"> | |
| 16835 | 19361 | <doc xml:space="preserve" | |
| 16836 | - | filename="gobject-2.0.c" | |
| 16837 | - | line="6863">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 19362 | + | filename="gobject/gboxed.c" | |
| 19363 | + | line="431">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 16838 | 19364 | <type name="Value" c:type="const GValue*"/> | |
| 16839 | 19365 | </instance-parameter> | |
| 16840 | 19366 | </parameters> | |
| 16841 | 19367 | </method> | |
| 16842 | 19368 | <method name="dup_object" c:identifier="g_value_dup_object"> | |
| 16843 | 19369 | <doc xml:space="preserve" | |
| 16844 | - | filename="gobject-2.0.c" | |
| 16845 | - | line="6874">Get the contents of a %G_TYPE_OBJECT derived #GValue, increasing | |
| 19370 | + | filename="gobject/gobject.c" | |
| 19371 | + | line="5144">Get the contents of a %G_TYPE_OBJECT derived #GValue, increasing | |
| 16846 | 19372 | its reference count. If the contents of the #GValue are %NULL, then | |
| 16847 | 19373 | %NULL will be returned.</doc> | |
| 16848 | - | <source-position filename="gobject.h" line="649"/> | |
| 16849 | - | <return-value transfer-ownership="full"> | |
| 19374 | + | <source-position filename="gobject/gobject.h" line="641"/> | |
| 19375 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 16850 | 19376 | <doc xml:space="preserve" | |
| 16851 | - | filename="gobject-2.0.c" | |
| 16852 | - | line="6882">object content of @value, | |
| 19377 | + | filename="gobject/gobject.c" | |
| 19378 | + | line="5152">object content of @value, | |
| 16853 | 19379 | should be unreferenced when no longer needed.</doc> | |
| 16854 | 19380 | <type name="Object" c:type="gpointer"/> | |
| 16855 | 19381 | </return-value> | |
| 16856 | 19382 | <parameters> | |
| 16857 | 19383 | <instance-parameter name="value" transfer-ownership="none"> | |
| 16858 | 19384 | <doc xml:space="preserve" | |
| 16859 | - | filename="gobject-2.0.c" | |
| 16860 | - | line="6876">a valid #GValue whose type is derived from %G_TYPE_OBJECT</doc> | |
| 19385 | + | filename="gobject/gobject.c" | |
| 19386 | + | line="5146">a valid #GValue whose type is derived from %G_TYPE_OBJECT</doc> | |
| 16861 | 19387 | <type name="Value" c:type="const GValue*"/> | |
| 16862 | 19388 | </instance-parameter> | |
| 16863 | 19389 | </parameters> | |
| @@ -16866,42 +19392,42 @@ its reference count. If the contents of the #GValue are %NULL, then | |||
| 16866 | 19392 | c:identifier="g_value_dup_param" | |
| 16867 | 19393 | introspectable="0"> | |
| 16868 | 19394 | <doc xml:space="preserve" | |
| 16869 | - | filename="gobject-2.0.c" | |
| 16870 | - | line="6887">Get the contents of a %G_TYPE_PARAM #GValue, increasing its | |
| 19395 | + | filename="gobject/gparam.c" | |
| 19396 | + | line="1603">Get the contents of a %G_TYPE_PARAM #GValue, increasing its | |
| 16871 | 19397 | reference count.</doc> | |
| 16872 | - | <source-position filename="gparam.h" line="337"/> | |
| 19398 | + | <source-position filename="gobject/gparam.h" line="347"/> | |
| 16873 | 19399 | <return-value transfer-ownership="full"> | |
| 16874 | 19400 | <doc xml:space="preserve" | |
| 16875 | - | filename="gobject-2.0.c" | |
| 16876 | - | line="6894">#GParamSpec content of @value, should be | |
| 19401 | + | filename="gobject/gparam.c" | |
| 19402 | + | line="1610">#GParamSpec content of @value, should be | |
| 16877 | 19403 | unreferenced when no longer needed.</doc> | |
| 16878 | 19404 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 16879 | 19405 | </return-value> | |
| 16880 | 19406 | <parameters> | |
| 16881 | 19407 | <instance-parameter name="value" transfer-ownership="none"> | |
| 16882 | 19408 | <doc xml:space="preserve" | |
| 16883 | - | filename="gobject-2.0.c" | |
| 16884 | - | line="6889">a valid #GValue whose type is derived from %G_TYPE_PARAM</doc> | |
| 19409 | + | filename="gobject/gparam.c" | |
| 19410 | + | line="1605">a valid #GValue whose type is derived from %G_TYPE_PARAM</doc> | |
| 16885 | 19411 | <type name="Value" c:type="const GValue*"/> | |
| 16886 | 19412 | </instance-parameter> | |
| 16887 | 19413 | </parameters> | |
| 16888 | 19414 | </method> | |
| 16889 | 19415 | <method name="dup_string" c:identifier="g_value_dup_string"> | |
| 16890 | 19416 | <doc xml:space="preserve" | |
| 16891 | - | filename="gobject-2.0.c" | |
| 16892 | - | line="6899">Get a copy the contents of a %G_TYPE_STRING #GValue.</doc> | |
| 16893 | - | <source-position filename="gvaluetypes.h" line="263"/> | |
| 16894 | - | <return-value transfer-ownership="full"> | |
| 19417 | + | filename="gobject/gvaluetypes.c" | |
| 19418 | + | line="1147">Get a copy the contents of a %G_TYPE_STRING #GValue.</doc> | |
| 19419 | + | <source-position filename="gobject/gvaluetypes.h" line="265"/> | |
| 19420 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 16895 | 19421 | <doc xml:space="preserve" | |
| 16896 | - | filename="gobject-2.0.c" | |
| 16897 | - | line="6905">a newly allocated copy of the string content of @value</doc> | |
| 19422 | + | filename="gobject/gvaluetypes.c" | |
| 19423 | + | line="1153">a newly allocated copy of the string content of @value</doc> | |
| 16898 | 19424 | <type name="utf8" c:type="gchar*"/> | |
| 16899 | 19425 | </return-value> | |
| 16900 | 19426 | <parameters> | |
| 16901 | 19427 | <instance-parameter name="value" transfer-ownership="none"> | |
| 16902 | 19428 | <doc xml:space="preserve" | |
| 16903 | - | filename="gobject-2.0.c" | |
| 16904 | - | line="6901">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 19429 | + | filename="gobject/gvaluetypes.c" | |
| 19430 | + | line="1149">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 16905 | 19431 | <type name="Value" c:type="const GValue*"/> | |
| 16906 | 19432 | </instance-parameter> | |
| 16907 | 19433 | </parameters> | |
| @@ -16910,83 +19436,83 @@ reference count.</doc> | |||
| 16910 | 19436 | c:identifier="g_value_dup_variant" | |
| 16911 | 19437 | version="2.26"> | |
| 16912 | 19438 | <doc xml:space="preserve" | |
| 16913 | - | filename="gobject-2.0.c" | |
| 16914 | - | line="6909">Get the contents of a variant #GValue, increasing its refcount. The returned | |
| 19439 | + | filename="gobject/gvaluetypes.c" | |
| 19440 | + | line="1355">Get the contents of a variant #GValue, increasing its refcount. The returned | |
| 16915 | 19441 | #GVariant is never floating.</doc> | |
| 16916 | - | <source-position filename="gvaluetypes.h" line="285"/> | |
| 19442 | + | <source-position filename="gobject/gvaluetypes.h" line="289"/> | |
| 16917 | 19443 | <return-value transfer-ownership="full" nullable="1"> | |
| 16918 | 19444 | <doc xml:space="preserve" | |
| 16919 | - | filename="gobject-2.0.c" | |
| 16920 | - | line="6916">variant contents of @value (may be %NULL); | |
| 19445 | + | filename="gobject/gvaluetypes.c" | |
| 19446 | + | line="1362">variant contents of @value (may be %NULL); | |
| 16921 | 19447 | should be unreffed using g_variant_unref() when no longer needed</doc> | |
| 16922 | 19448 | <type name="GLib.Variant" c:type="GVariant*"/> | |
| 16923 | 19449 | </return-value> | |
| 16924 | 19450 | <parameters> | |
| 16925 | 19451 | <instance-parameter name="value" transfer-ownership="none"> | |
| 16926 | 19452 | <doc xml:space="preserve" | |
| 16927 | - | filename="gobject-2.0.c" | |
| 16928 | - | line="6911">a valid #GValue of type %G_TYPE_VARIANT</doc> | |
| 19453 | + | filename="gobject/gvaluetypes.c" | |
| 19454 | + | line="1357">a valid #GValue of type %G_TYPE_VARIANT</doc> | |
| 16929 | 19455 | <type name="Value" c:type="const GValue*"/> | |
| 16930 | 19456 | </instance-parameter> | |
| 16931 | 19457 | </parameters> | |
| 16932 | 19458 | </method> | |
| 16933 | 19459 | <method name="fits_pointer" c:identifier="g_value_fits_pointer"> | |
| 16934 | 19460 | <doc xml:space="preserve" | |
| 16935 | - | filename="gobject-2.0.c" | |
| 16936 | - | line="6922">Determines if @value will fit inside the size of a pointer value. | |
| 19461 | + | filename="gobject/gvalue.c" | |
| 19462 | + | line="201">Determines if @value will fit inside the size of a pointer value. | |
| 16937 | 19463 | This is an internal function introduced mainly for C marshallers.</doc> | |
| 16938 | - | <source-position filename="gvalue.h" line="152"/> | |
| 19464 | + | <source-position filename="gobject/gvalue.h" line="154"/> | |
| 16939 | 19465 | <return-value transfer-ownership="none"> | |
| 16940 | 19466 | <doc xml:space="preserve" | |
| 16941 | - | filename="gobject-2.0.c" | |
| 16942 | - | line="6929">%TRUE if @value will fit inside a pointer value.</doc> | |
| 19467 | + | filename="gobject/gvalue.c" | |
| 19468 | + | line="208">%TRUE if @value will fit inside a pointer value.</doc> | |
| 16943 | 19469 | <type name="gboolean" c:type="gboolean"/> | |
| 16944 | 19470 | </return-value> | |
| 16945 | 19471 | <parameters> | |
| 16946 | 19472 | <instance-parameter name="value" transfer-ownership="none"> | |
| 16947 | 19473 | <doc xml:space="preserve" | |
| 16948 | - | filename="gobject-2.0.c" | |
| 16949 | - | line="6924">An initialized #GValue structure.</doc> | |
| 19474 | + | filename="gobject/gvalue.c" | |
| 19475 | + | line="203">An initialized #GValue structure.</doc> | |
| 16950 | 19476 | <type name="Value" c:type="const GValue*"/> | |
| 16951 | 19477 | </instance-parameter> | |
| 16952 | 19478 | </parameters> | |
| 16953 | 19479 | </method> | |
| 16954 | 19480 | <method name="get_boolean" c:identifier="g_value_get_boolean"> | |
| 16955 | 19481 | <doc xml:space="preserve" | |
| 16956 | - | filename="gobject-2.0.c" | |
| 16957 | - | line="6933">Get the contents of a %G_TYPE_BOOLEAN #GValue.</doc> | |
| 16958 | - | <source-position filename="gvaluetypes.h" line="210"/> | |
| 19482 | + | filename="gobject/gvaluetypes.c" | |
| 19483 | + | line="749">Get the contents of a %G_TYPE_BOOLEAN #GValue.</doc> | |
| 19484 | + | <source-position filename="gobject/gvaluetypes.h" line="212"/> | |
| 16959 | 19485 | <return-value transfer-ownership="none"> | |
| 16960 | 19486 | <doc xml:space="preserve" | |
| 16961 | - | filename="gobject-2.0.c" | |
| 16962 | - | line="6939">boolean contents of @value</doc> | |
| 19487 | + | filename="gobject/gvaluetypes.c" | |
| 19488 | + | line="755">boolean contents of @value</doc> | |
| 16963 | 19489 | <type name="gboolean" c:type="gboolean"/> | |
| 16964 | 19490 | </return-value> | |
| 16965 | 19491 | <parameters> | |
| 16966 | 19492 | <instance-parameter name="value" transfer-ownership="none"> | |
| 16967 | 19493 | <doc xml:space="preserve" | |
| 16968 | - | filename="gobject-2.0.c" | |
| 16969 | - | line="6935">a valid #GValue of type %G_TYPE_BOOLEAN</doc> | |
| 19494 | + | filename="gobject/gvaluetypes.c" | |
| 19495 | + | line="751">a valid #GValue of type %G_TYPE_BOOLEAN</doc> | |
| 16970 | 19496 | <type name="Value" c:type="const GValue*"/> | |
| 16971 | 19497 | </instance-parameter> | |
| 16972 | 19498 | </parameters> | |
| 16973 | 19499 | </method> | |
| 16974 | 19500 | <method name="get_boxed" c:identifier="g_value_get_boxed"> | |
| 16975 | 19501 | <doc xml:space="preserve" | |
| 16976 | - | filename="gobject-2.0.c" | |
| 16977 | - | line="6943">Get the contents of a %G_TYPE_BOXED derived #GValue.</doc> | |
| 16978 | - | <source-position filename="gboxed.h" line="88"/> | |
| 19502 | + | filename="gobject/gboxed.c" | |
| 19503 | + | line="412">Get the contents of a %G_TYPE_BOXED derived #GValue.</doc> | |
| 19504 | + | <source-position filename="gobject/gboxed.h" line="90"/> | |
| 16979 | 19505 | <return-value transfer-ownership="none" nullable="1"> | |
| 16980 | 19506 | <doc xml:space="preserve" | |
| 16981 | - | filename="gobject-2.0.c" | |
| 16982 | - | line="6949">boxed contents of @value</doc> | |
| 19507 | + | filename="gobject/gboxed.c" | |
| 19508 | + | line="418">boxed contents of @value</doc> | |
| 16983 | 19509 | <type name="gpointer" c:type="gpointer"/> | |
| 16984 | 19510 | </return-value> | |
| 16985 | 19511 | <parameters> | |
| 16986 | 19512 | <instance-parameter name="value" transfer-ownership="none"> | |
| 16987 | 19513 | <doc xml:space="preserve" | |
| 16988 | - | filename="gobject-2.0.c" | |
| 16989 | - | line="6945">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 19514 | + | filename="gobject/gboxed.c" | |
| 19515 | + | line="414">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 16990 | 19516 | <type name="Value" c:type="const GValue*"/> | |
| 16991 | 19517 | </instance-parameter> | |
| 16992 | 19518 | </parameters> | |
| @@ -16996,364 +19522,364 @@ This is an internal function introduced mainly for C marshallers.</doc> | |||
| 16996 | 19522 | deprecated="1" | |
| 16997 | 19523 | deprecated-version="2.32"> | |
| 16998 | 19524 | <doc xml:space="preserve" | |
| 16999 | - | filename="gobject-2.0.c" | |
| 17000 | - | line="6953">Do not use this function; it is broken on platforms where the %char | |
| 19525 | + | filename="gobject/gvaluetypes.c" | |
| 19526 | + | line="646">Do not use this function; it is broken on platforms where the %char | |
| 17001 | 19527 | type is unsigned, such as ARM and PowerPC. See g_value_get_schar(). | |
| 17002 | 19528 | ||
| 17003 | 19529 | Get the contents of a %G_TYPE_CHAR #GValue.</doc> | |
| 17004 | 19530 | <doc-deprecated xml:space="preserve">This function's return type is broken, see g_value_get_schar()</doc-deprecated> | |
| 17005 | - | <source-position filename="gvaluetypes.h" line="195"/> | |
| 19531 | + | <source-position filename="gobject/gvaluetypes.h" line="197"/> | |
| 17006 | 19532 | <return-value transfer-ownership="none"> | |
| 17007 | 19533 | <doc xml:space="preserve" | |
| 17008 | - | filename="gobject-2.0.c" | |
| 17009 | - | line="6962">character contents of @value</doc> | |
| 19534 | + | filename="gobject/gvaluetypes.c" | |
| 19535 | + | line="655">character contents of @value</doc> | |
| 17010 | 19536 | <type name="gchar" c:type="gchar"/> | |
| 17011 | 19537 | </return-value> | |
| 17012 | 19538 | <parameters> | |
| 17013 | 19539 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17014 | 19540 | <doc xml:space="preserve" | |
| 17015 | - | filename="gobject-2.0.c" | |
| 17016 | - | line="6955">a valid #GValue of type %G_TYPE_CHAR</doc> | |
| 19541 | + | filename="gobject/gvaluetypes.c" | |
| 19542 | + | line="648">a valid #GValue of type %G_TYPE_CHAR</doc> | |
| 17017 | 19543 | <type name="Value" c:type="const GValue*"/> | |
| 17018 | 19544 | </instance-parameter> | |
| 17019 | 19545 | </parameters> | |
| 17020 | 19546 | </method> | |
| 17021 | 19547 | <method name="get_double" c:identifier="g_value_get_double"> | |
| 17022 | 19548 | <doc xml:space="preserve" | |
| 17023 | - | filename="gobject-2.0.c" | |
| 17024 | - | line="6967">Get the contents of a %G_TYPE_DOUBLE #GValue.</doc> | |
| 17025 | - | <source-position filename="gvaluetypes.h" line="250"/> | |
| 19549 | + | filename="gobject/gvaluetypes.c" | |
| 19550 | + | line="1005">Get the contents of a %G_TYPE_DOUBLE #GValue.</doc> | |
| 19551 | + | <source-position filename="gobject/gvaluetypes.h" line="252"/> | |
| 17026 | 19552 | <return-value transfer-ownership="none"> | |
| 17027 | 19553 | <doc xml:space="preserve" | |
| 17028 | - | filename="gobject-2.0.c" | |
| 17029 | - | line="6973">double contents of @value</doc> | |
| 19554 | + | filename="gobject/gvaluetypes.c" | |
| 19555 | + | line="1011">double contents of @value</doc> | |
| 17030 | 19556 | <type name="gdouble" c:type="gdouble"/> | |
| 17031 | 19557 | </return-value> | |
| 17032 | 19558 | <parameters> | |
| 17033 | 19559 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17034 | 19560 | <doc xml:space="preserve" | |
| 17035 | - | filename="gobject-2.0.c" | |
| 17036 | - | line="6969">a valid #GValue of type %G_TYPE_DOUBLE</doc> | |
| 19561 | + | filename="gobject/gvaluetypes.c" | |
| 19562 | + | line="1007">a valid #GValue of type %G_TYPE_DOUBLE</doc> | |
| 17037 | 19563 | <type name="Value" c:type="const GValue*"/> | |
| 17038 | 19564 | </instance-parameter> | |
| 17039 | 19565 | </parameters> | |
| 17040 | 19566 | </method> | |
| 17041 | 19567 | <method name="get_enum" c:identifier="g_value_get_enum"> | |
| 17042 | 19568 | <doc xml:space="preserve" | |
| 17043 | - | filename="gobject-2.0.c" | |
| 17044 | - | line="6977">Get the contents of a %G_TYPE_ENUM #GValue.</doc> | |
| 17045 | - | <source-position filename="genums.h" line="246"/> | |
| 19569 | + | filename="gobject/genums.c" | |
| 19570 | + | line="680">Get the contents of a %G_TYPE_ENUM #GValue.</doc> | |
| 19571 | + | <source-position filename="gobject/genums.h" line="248"/> | |
| 17046 | 19572 | <return-value transfer-ownership="none"> | |
| 17047 | 19573 | <doc xml:space="preserve" | |
| 17048 | - | filename="gobject-2.0.c" | |
| 17049 | - | line="6983">enum contents of @value</doc> | |
| 19574 | + | filename="gobject/genums.c" | |
| 19575 | + | line="686">enum contents of @value</doc> | |
| 17050 | 19576 | <type name="gint" c:type="gint"/> | |
| 17051 | 19577 | </return-value> | |
| 17052 | 19578 | <parameters> | |
| 17053 | 19579 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17054 | 19580 | <doc xml:space="preserve" | |
| 17055 | - | filename="gobject-2.0.c" | |
| 17056 | - | line="6979">a valid #GValue whose type is derived from %G_TYPE_ENUM</doc> | |
| 19581 | + | filename="gobject/genums.c" | |
| 19582 | + | line="682">a valid #GValue whose type is derived from %G_TYPE_ENUM</doc> | |
| 17057 | 19583 | <type name="Value" c:type="const GValue*"/> | |
| 17058 | 19584 | </instance-parameter> | |
| 17059 | 19585 | </parameters> | |
| 17060 | 19586 | </method> | |
| 17061 | 19587 | <method name="get_flags" c:identifier="g_value_get_flags"> | |
| 17062 | 19588 | <doc xml:space="preserve" | |
| 17063 | - | filename="gobject-2.0.c" | |
| 17064 | - | line="6987">Get the contents of a %G_TYPE_FLAGS #GValue.</doc> | |
| 17065 | - | <source-position filename="genums.h" line="251"/> | |
| 19589 | + | filename="gobject/genums.c" | |
| 19590 | + | line="712">Get the contents of a %G_TYPE_FLAGS #GValue.</doc> | |
| 19591 | + | <source-position filename="gobject/genums.h" line="253"/> | |
| 17066 | 19592 | <return-value transfer-ownership="none"> | |
| 17067 | 19593 | <doc xml:space="preserve" | |
| 17068 | - | filename="gobject-2.0.c" | |
| 17069 | - | line="6993">flags contents of @value</doc> | |
| 19594 | + | filename="gobject/genums.c" | |
| 19595 | + | line="718">flags contents of @value</doc> | |
| 17070 | 19596 | <type name="guint" c:type="guint"/> | |
| 17071 | 19597 | </return-value> | |
| 17072 | 19598 | <parameters> | |
| 17073 | 19599 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17074 | 19600 | <doc xml:space="preserve" | |
| 17075 | - | filename="gobject-2.0.c" | |
| 17076 | - | line="6989">a valid #GValue whose type is derived from %G_TYPE_FLAGS</doc> | |
| 19601 | + | filename="gobject/genums.c" | |
| 19602 | + | line="714">a valid #GValue whose type is derived from %G_TYPE_FLAGS</doc> | |
| 17077 | 19603 | <type name="Value" c:type="const GValue*"/> | |
| 17078 | 19604 | </instance-parameter> | |
| 17079 | 19605 | </parameters> | |
| 17080 | 19606 | </method> | |
| 17081 | 19607 | <method name="get_float" c:identifier="g_value_get_float"> | |
| 17082 | 19608 | <doc xml:space="preserve" | |
| 17083 | - | filename="gobject-2.0.c" | |
| 17084 | - | line="6997">Get the contents of a %G_TYPE_FLOAT #GValue.</doc> | |
| 17085 | - | <source-position filename="gvaluetypes.h" line="245"/> | |
| 19609 | + | filename="gobject/gvaluetypes.c" | |
| 19610 | + | line="973">Get the contents of a %G_TYPE_FLOAT #GValue.</doc> | |
| 19611 | + | <source-position filename="gobject/gvaluetypes.h" line="247"/> | |
| 17086 | 19612 | <return-value transfer-ownership="none"> | |
| 17087 | 19613 | <doc xml:space="preserve" | |
| 17088 | - | filename="gobject-2.0.c" | |
| 17089 | - | line="7003">float contents of @value</doc> | |
| 19614 | + | filename="gobject/gvaluetypes.c" | |
| 19615 | + | line="979">float contents of @value</doc> | |
| 17090 | 19616 | <type name="gfloat" c:type="gfloat"/> | |
| 17091 | 19617 | </return-value> | |
| 17092 | 19618 | <parameters> | |
| 17093 | 19619 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17094 | 19620 | <doc xml:space="preserve" | |
| 17095 | - | filename="gobject-2.0.c" | |
| 17096 | - | line="6999">a valid #GValue of type %G_TYPE_FLOAT</doc> | |
| 19621 | + | filename="gobject/gvaluetypes.c" | |
| 19622 | + | line="975">a valid #GValue of type %G_TYPE_FLOAT</doc> | |
| 17097 | 19623 | <type name="Value" c:type="const GValue*"/> | |
| 17098 | 19624 | </instance-parameter> | |
| 17099 | 19625 | </parameters> | |
| 17100 | 19626 | </method> | |
| 17101 | 19627 | <method name="get_gtype" c:identifier="g_value_get_gtype" version="2.12"> | |
| 17102 | 19628 | <doc xml:space="preserve" | |
| 17103 | - | filename="gobject-2.0.c" | |
| 17104 | - | line="7007">Get the contents of a %G_TYPE_GTYPE #GValue.</doc> | |
| 17105 | - | <source-position filename="gvaluetypes.h" line="275"/> | |
| 19629 | + | filename="gobject/gvaluetypes.c" | |
| 19630 | + | line="1251">Get the contents of a %G_TYPE_GTYPE #GValue.</doc> | |
| 19631 | + | <source-position filename="gobject/gvaluetypes.h" line="279"/> | |
| 17106 | 19632 | <return-value transfer-ownership="none"> | |
| 17107 | 19633 | <doc xml:space="preserve" | |
| 17108 | - | filename="gobject-2.0.c" | |
| 17109 | - | line="7014">the #GType stored in @value</doc> | |
| 19634 | + | filename="gobject/gvaluetypes.c" | |
| 19635 | + | line="1259">the #GType stored in @value</doc> | |
| 17110 | 19636 | <type name="GType" c:type="GType"/> | |
| 17111 | 19637 | </return-value> | |
| 17112 | 19638 | <parameters> | |
| 17113 | 19639 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17114 | 19640 | <doc xml:space="preserve" | |
| 17115 | - | filename="gobject-2.0.c" | |
| 17116 | - | line="7009">a valid #GValue of type %G_TYPE_GTYPE</doc> | |
| 19641 | + | filename="gobject/gvaluetypes.c" | |
| 19642 | + | line="1253">a valid #GValue of type %G_TYPE_GTYPE</doc> | |
| 17117 | 19643 | <type name="Value" c:type="const GValue*"/> | |
| 17118 | 19644 | </instance-parameter> | |
| 17119 | 19645 | </parameters> | |
| 17120 | 19646 | </method> | |
| 17121 | 19647 | <method name="get_int" c:identifier="g_value_get_int"> | |
| 17122 | 19648 | <doc xml:space="preserve" | |
| 17123 | - | filename="gobject-2.0.c" | |
| 17124 | - | line="7018">Get the contents of a %G_TYPE_INT #GValue.</doc> | |
| 17125 | - | <source-position filename="gvaluetypes.h" line="215"/> | |
| 19649 | + | filename="gobject/gvaluetypes.c" | |
| 19650 | + | line="781">Get the contents of a %G_TYPE_INT #GValue.</doc> | |
| 19651 | + | <source-position filename="gobject/gvaluetypes.h" line="217"/> | |
| 17126 | 19652 | <return-value transfer-ownership="none"> | |
| 17127 | 19653 | <doc xml:space="preserve" | |
| 17128 | - | filename="gobject-2.0.c" | |
| 17129 | - | line="7024">integer contents of @value</doc> | |
| 19654 | + | filename="gobject/gvaluetypes.c" | |
| 19655 | + | line="787">integer contents of @value</doc> | |
| 17130 | 19656 | <type name="gint" c:type="gint"/> | |
| 17131 | 19657 | </return-value> | |
| 17132 | 19658 | <parameters> | |
| 17133 | 19659 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17134 | 19660 | <doc xml:space="preserve" | |
| 17135 | - | filename="gobject-2.0.c" | |
| 17136 | - | line="7020">a valid #GValue of type %G_TYPE_INT</doc> | |
| 19661 | + | filename="gobject/gvaluetypes.c" | |
| 19662 | + | line="783">a valid #GValue of type %G_TYPE_INT</doc> | |
| 17137 | 19663 | <type name="Value" c:type="const GValue*"/> | |
| 17138 | 19664 | </instance-parameter> | |
| 17139 | 19665 | </parameters> | |
| 17140 | 19666 | </method> | |
| 17141 | 19667 | <method name="get_int64" c:identifier="g_value_get_int64"> | |
| 17142 | 19668 | <doc xml:space="preserve" | |
| 17143 | - | filename="gobject-2.0.c" | |
| 17144 | - | line="7028">Get the contents of a %G_TYPE_INT64 #GValue.</doc> | |
| 17145 | - | <source-position filename="gvaluetypes.h" line="235"/> | |
| 19669 | + | filename="gobject/gvaluetypes.c" | |
| 19670 | + | line="893">Get the contents of a %G_TYPE_INT64 #GValue.</doc> | |
| 19671 | + | <source-position filename="gobject/gvaluetypes.h" line="237"/> | |
| 17146 | 19672 | <return-value transfer-ownership="none"> | |
| 17147 | 19673 | <doc xml:space="preserve" | |
| 17148 | - | filename="gobject-2.0.c" | |
| 17149 | - | line="7034">64bit integer contents of @value</doc> | |
| 19674 | + | filename="gobject/gvaluetypes.c" | |
| 19675 | + | line="899">64bit integer contents of @value</doc> | |
| 17150 | 19676 | <type name="gint64" c:type="gint64"/> | |
| 17151 | 19677 | </return-value> | |
| 17152 | 19678 | <parameters> | |
| 17153 | 19679 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17154 | 19680 | <doc xml:space="preserve" | |
| 17155 | - | filename="gobject-2.0.c" | |
| 17156 | - | line="7030">a valid #GValue of type %G_TYPE_INT64</doc> | |
| 19681 | + | filename="gobject/gvaluetypes.c" | |
| 19682 | + | line="895">a valid #GValue of type %G_TYPE_INT64</doc> | |
| 17157 | 19683 | <type name="Value" c:type="const GValue*"/> | |
| 17158 | 19684 | </instance-parameter> | |
| 17159 | 19685 | </parameters> | |
| 17160 | 19686 | </method> | |
| 17161 | 19687 | <method name="get_long" c:identifier="g_value_get_long"> | |
| 17162 | 19688 | <doc xml:space="preserve" | |
| 17163 | - | filename="gobject-2.0.c" | |
| 17164 | - | line="7038">Get the contents of a %G_TYPE_LONG #GValue.</doc> | |
| 17165 | - | <source-position filename="gvaluetypes.h" line="225"/> | |
| 19689 | + | filename="gobject/gvaluetypes.c" | |
| 19690 | + | line="845">Get the contents of a %G_TYPE_LONG #GValue.</doc> | |
| 19691 | + | <source-position filename="gobject/gvaluetypes.h" line="227"/> | |
| 17166 | 19692 | <return-value transfer-ownership="none"> | |
| 17167 | 19693 | <doc xml:space="preserve" | |
| 17168 | - | filename="gobject-2.0.c" | |
| 17169 | - | line="7044">long integer contents of @value</doc> | |
| 19694 | + | filename="gobject/gvaluetypes.c" | |
| 19695 | + | line="851">long integer contents of @value</doc> | |
| 17170 | 19696 | <type name="glong" c:type="glong"/> | |
| 17171 | 19697 | </return-value> | |
| 17172 | 19698 | <parameters> | |
| 17173 | 19699 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17174 | 19700 | <doc xml:space="preserve" | |
| 17175 | - | filename="gobject-2.0.c" | |
| 17176 | - | line="7040">a valid #GValue of type %G_TYPE_LONG</doc> | |
| 19701 | + | filename="gobject/gvaluetypes.c" | |
| 19702 | + | line="847">a valid #GValue of type %G_TYPE_LONG</doc> | |
| 17177 | 19703 | <type name="Value" c:type="const GValue*"/> | |
| 17178 | 19704 | </instance-parameter> | |
| 17179 | 19705 | </parameters> | |
| 17180 | 19706 | </method> | |
| 17181 | 19707 | <method name="get_object" c:identifier="g_value_get_object"> | |
| 17182 | 19708 | <doc xml:space="preserve" | |
| 17183 | - | filename="gobject-2.0.c" | |
| 17184 | - | line="7048">Get the contents of a %G_TYPE_OBJECT derived #GValue.</doc> | |
| 17185 | - | <source-position filename="gobject.h" line="647"/> | |
| 17186 | - | <return-value transfer-ownership="none"> | |
| 19709 | + | filename="gobject/gobject.c" | |
| 19710 | + | line="5128">Get the contents of a %G_TYPE_OBJECT derived #GValue.</doc> | |
| 19711 | + | <source-position filename="gobject/gobject.h" line="639"/> | |
| 19712 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 17187 | 19713 | <doc xml:space="preserve" | |
| 17188 | - | filename="gobject-2.0.c" | |
| 17189 | - | line="7054">object contents of @value</doc> | |
| 19714 | + | filename="gobject/gobject.c" | |
| 19715 | + | line="5134">object contents of @value</doc> | |
| 17190 | 19716 | <type name="Object" c:type="gpointer"/> | |
| 17191 | 19717 | </return-value> | |
| 17192 | 19718 | <parameters> | |
| 17193 | 19719 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17194 | 19720 | <doc xml:space="preserve" | |
| 17195 | - | filename="gobject-2.0.c" | |
| 17196 | - | line="7050">a valid #GValue of %G_TYPE_OBJECT derived type</doc> | |
| 19721 | + | filename="gobject/gobject.c" | |
| 19722 | + | line="5130">a valid #GValue of %G_TYPE_OBJECT derived type</doc> | |
| 17197 | 19723 | <type name="Value" c:type="const GValue*"/> | |
| 17198 | 19724 | </instance-parameter> | |
| 17199 | 19725 | </parameters> | |
| 17200 | 19726 | </method> | |
| 17201 | 19727 | <method name="get_param" c:identifier="g_value_get_param"> | |
| 17202 | 19728 | <doc xml:space="preserve" | |
| 17203 | - | filename="gobject-2.0.c" | |
| 17204 | - | line="7058">Get the contents of a %G_TYPE_PARAM #GValue.</doc> | |
| 17205 | - | <source-position filename="gparam.h" line="335"/> | |
| 19729 | + | filename="gobject/gparam.c" | |
| 19730 | + | line="1587">Get the contents of a %G_TYPE_PARAM #GValue.</doc> | |
| 19731 | + | <source-position filename="gobject/gparam.h" line="345"/> | |
| 17206 | 19732 | <return-value transfer-ownership="none"> | |
| 17207 | 19733 | <doc xml:space="preserve" | |
| 17208 | - | filename="gobject-2.0.c" | |
| 17209 | - | line="7064">#GParamSpec content of @value</doc> | |
| 19734 | + | filename="gobject/gparam.c" | |
| 19735 | + | line="1593">#GParamSpec content of @value</doc> | |
| 17210 | 19736 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 17211 | 19737 | </return-value> | |
| 17212 | 19738 | <parameters> | |
| 17213 | 19739 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17214 | 19740 | <doc xml:space="preserve" | |
| 17215 | - | filename="gobject-2.0.c" | |
| 17216 | - | line="7060">a valid #GValue whose type is derived from %G_TYPE_PARAM</doc> | |
| 19741 | + | filename="gobject/gparam.c" | |
| 19742 | + | line="1589">a valid #GValue whose type is derived from %G_TYPE_PARAM</doc> | |
| 17217 | 19743 | <type name="Value" c:type="const GValue*"/> | |
| 17218 | 19744 | </instance-parameter> | |
| 17219 | 19745 | </parameters> | |
| 17220 | 19746 | </method> | |
| 17221 | 19747 | <method name="get_pointer" c:identifier="g_value_get_pointer"> | |
| 17222 | 19748 | <doc xml:space="preserve" | |
| 17223 | - | filename="gobject-2.0.c" | |
| 17224 | - | line="7068">Get the contents of a pointer #GValue.</doc> | |
| 17225 | - | <source-position filename="gvaluetypes.h" line="268"/> | |
| 19749 | + | filename="gobject/gvaluetypes.c" | |
| 19750 | + | line="1214">Get the contents of a pointer #GValue.</doc> | |
| 19751 | + | <source-position filename="gobject/gvaluetypes.h" line="272"/> | |
| 17226 | 19752 | <return-value transfer-ownership="none" nullable="1"> | |
| 17227 | 19753 | <doc xml:space="preserve" | |
| 17228 | - | filename="gobject-2.0.c" | |
| 17229 | - | line="7074">pointer contents of @value</doc> | |
| 19754 | + | filename="gobject/gvaluetypes.c" | |
| 19755 | + | line="1220">pointer contents of @value</doc> | |
| 17230 | 19756 | <type name="gpointer" c:type="gpointer"/> | |
| 17231 | 19757 | </return-value> | |
| 17232 | 19758 | <parameters> | |
| 17233 | 19759 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17234 | 19760 | <doc xml:space="preserve" | |
| 17235 | - | filename="gobject-2.0.c" | |
| 17236 | - | line="7070">a valid #GValue of %G_TYPE_POINTER</doc> | |
| 19761 | + | filename="gobject/gvaluetypes.c" | |
| 19762 | + | line="1216">a valid #GValue of %G_TYPE_POINTER</doc> | |
| 17237 | 19763 | <type name="Value" c:type="const GValue*"/> | |
| 17238 | 19764 | </instance-parameter> | |
| 17239 | 19765 | </parameters> | |
| 17240 | 19766 | </method> | |
| 17241 | 19767 | <method name="get_schar" c:identifier="g_value_get_schar" version="2.32"> | |
| 17242 | 19768 | <doc xml:space="preserve" | |
| 17243 | - | filename="gobject-2.0.c" | |
| 17244 | - | line="7078">Get the contents of a %G_TYPE_CHAR #GValue.</doc> | |
| 17245 | - | <source-position filename="gvaluetypes.h" line="200"/> | |
| 19769 | + | filename="gobject/gvaluetypes.c" | |
| 19770 | + | line="684">Get the contents of a %G_TYPE_CHAR #GValue.</doc> | |
| 19771 | + | <source-position filename="gobject/gvaluetypes.h" line="202"/> | |
| 17246 | 19772 | <return-value transfer-ownership="none"> | |
| 17247 | 19773 | <doc xml:space="preserve" | |
| 17248 | - | filename="gobject-2.0.c" | |
| 17249 | - | line="7084">signed 8 bit integer contents of @value</doc> | |
| 19774 | + | filename="gobject/gvaluetypes.c" | |
| 19775 | + | line="690">signed 8 bit integer contents of @value</doc> | |
| 17250 | 19776 | <type name="gint8" c:type="gint8"/> | |
| 17251 | 19777 | </return-value> | |
| 17252 | 19778 | <parameters> | |
| 17253 | 19779 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17254 | 19780 | <doc xml:space="preserve" | |
| 17255 | - | filename="gobject-2.0.c" | |
| 17256 | - | line="7080">a valid #GValue of type %G_TYPE_CHAR</doc> | |
| 19781 | + | filename="gobject/gvaluetypes.c" | |
| 19782 | + | line="686">a valid #GValue of type %G_TYPE_CHAR</doc> | |
| 17257 | 19783 | <type name="Value" c:type="const GValue*"/> | |
| 17258 | 19784 | </instance-parameter> | |
| 17259 | 19785 | </parameters> | |
| 17260 | 19786 | </method> | |
| 17261 | 19787 | <method name="get_string" c:identifier="g_value_get_string"> | |
| 17262 | 19788 | <doc xml:space="preserve" | |
| 17263 | - | filename="gobject-2.0.c" | |
| 17264 | - | line="7089">Get the contents of a %G_TYPE_STRING #GValue.</doc> | |
| 17265 | - | <source-position filename="gvaluetypes.h" line="261"/> | |
| 17266 | - | <return-value transfer-ownership="none"> | |
| 19789 | + | filename="gobject/gvaluetypes.c" | |
| 19790 | + | line="1131">Get the contents of a %G_TYPE_STRING #GValue.</doc> | |
| 19791 | + | <source-position filename="gobject/gvaluetypes.h" line="263"/> | |
| 19792 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 17267 | 19793 | <doc xml:space="preserve" | |
| 17268 | - | filename="gobject-2.0.c" | |
| 17269 | - | line="7095">string content of @value</doc> | |
| 19794 | + | filename="gobject/gvaluetypes.c" | |
| 19795 | + | line="1137">string content of @value</doc> | |
| 17270 | 19796 | <type name="utf8" c:type="const gchar*"/> | |
| 17271 | 19797 | </return-value> | |
| 17272 | 19798 | <parameters> | |
| 17273 | 19799 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17274 | 19800 | <doc xml:space="preserve" | |
| 17275 | - | filename="gobject-2.0.c" | |
| 17276 | - | line="7091">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 19801 | + | filename="gobject/gvaluetypes.c" | |
| 19802 | + | line="1133">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 17277 | 19803 | <type name="Value" c:type="const GValue*"/> | |
| 17278 | 19804 | </instance-parameter> | |
| 17279 | 19805 | </parameters> | |
| 17280 | 19806 | </method> | |
| 17281 | 19807 | <method name="get_uchar" c:identifier="g_value_get_uchar"> | |
| 17282 | 19808 | <doc xml:space="preserve" | |
| 17283 | - | filename="gobject-2.0.c" | |
| 17284 | - | line="7099">Get the contents of a %G_TYPE_UCHAR #GValue.</doc> | |
| 17285 | - | <source-position filename="gvaluetypes.h" line="205"/> | |
| 19809 | + | filename="gobject/gvaluetypes.c" | |
| 19810 | + | line="717">Get the contents of a %G_TYPE_UCHAR #GValue.</doc> | |
| 19811 | + | <source-position filename="gobject/gvaluetypes.h" line="207"/> | |
| 17286 | 19812 | <return-value transfer-ownership="none"> | |
| 17287 | 19813 | <doc xml:space="preserve" | |
| 17288 | - | filename="gobject-2.0.c" | |
| 17289 | - | line="7105">unsigned character contents of @value</doc> | |
| 19814 | + | filename="gobject/gvaluetypes.c" | |
| 19815 | + | line="723">unsigned character contents of @value</doc> | |
| 17290 | 19816 | <type name="guint8" c:type="guchar"/> | |
| 17291 | 19817 | </return-value> | |
| 17292 | 19818 | <parameters> | |
| 17293 | 19819 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17294 | 19820 | <doc xml:space="preserve" | |
| 17295 | - | filename="gobject-2.0.c" | |
| 17296 | - | line="7101">a valid #GValue of type %G_TYPE_UCHAR</doc> | |
| 19821 | + | filename="gobject/gvaluetypes.c" | |
| 19822 | + | line="719">a valid #GValue of type %G_TYPE_UCHAR</doc> | |
| 17297 | 19823 | <type name="Value" c:type="const GValue*"/> | |
| 17298 | 19824 | </instance-parameter> | |
| 17299 | 19825 | </parameters> | |
| 17300 | 19826 | </method> | |
| 17301 | 19827 | <method name="get_uint" c:identifier="g_value_get_uint"> | |
| 17302 | 19828 | <doc xml:space="preserve" | |
| 17303 | - | filename="gobject-2.0.c" | |
| 17304 | - | line="7109">Get the contents of a %G_TYPE_UINT #GValue.</doc> | |
| 17305 | - | <source-position filename="gvaluetypes.h" line="220"/> | |
| 19829 | + | filename="gobject/gvaluetypes.c" | |
| 19830 | + | line="813">Get the contents of a %G_TYPE_UINT #GValue.</doc> | |
| 19831 | + | <source-position filename="gobject/gvaluetypes.h" line="222"/> | |
| 17306 | 19832 | <return-value transfer-ownership="none"> | |
| 17307 | 19833 | <doc xml:space="preserve" | |
| 17308 | - | filename="gobject-2.0.c" | |
| 17309 | - | line="7115">unsigned integer contents of @value</doc> | |
| 19834 | + | filename="gobject/gvaluetypes.c" | |
| 19835 | + | line="819">unsigned integer contents of @value</doc> | |
| 17310 | 19836 | <type name="guint" c:type="guint"/> | |
| 17311 | 19837 | </return-value> | |
| 17312 | 19838 | <parameters> | |
| 17313 | 19839 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17314 | 19840 | <doc xml:space="preserve" | |
| 17315 | - | filename="gobject-2.0.c" | |
| 17316 | - | line="7111">a valid #GValue of type %G_TYPE_UINT</doc> | |
| 19841 | + | filename="gobject/gvaluetypes.c" | |
| 19842 | + | line="815">a valid #GValue of type %G_TYPE_UINT</doc> | |
| 17317 | 19843 | <type name="Value" c:type="const GValue*"/> | |
| 17318 | 19844 | </instance-parameter> | |
| 17319 | 19845 | </parameters> | |
| 17320 | 19846 | </method> | |
| 17321 | 19847 | <method name="get_uint64" c:identifier="g_value_get_uint64"> | |
| 17322 | 19848 | <doc xml:space="preserve" | |
| 17323 | - | filename="gobject-2.0.c" | |
| 17324 | - | line="7119">Get the contents of a %G_TYPE_UINT64 #GValue.</doc> | |
| 17325 | - | <source-position filename="gvaluetypes.h" line="240"/> | |
| 19849 | + | filename="gobject/gvaluetypes.c" | |
| 19850 | + | line="941">Get the contents of a %G_TYPE_UINT64 #GValue.</doc> | |
| 19851 | + | <source-position filename="gobject/gvaluetypes.h" line="242"/> | |
| 17326 | 19852 | <return-value transfer-ownership="none"> | |
| 17327 | 19853 | <doc xml:space="preserve" | |
| 17328 | - | filename="gobject-2.0.c" | |
| 17329 | - | line="7125">unsigned 64bit integer contents of @value</doc> | |
| 19854 | + | filename="gobject/gvaluetypes.c" | |
| 19855 | + | line="947">unsigned 64bit integer contents of @value</doc> | |
| 17330 | 19856 | <type name="guint64" c:type="guint64"/> | |
| 17331 | 19857 | </return-value> | |
| 17332 | 19858 | <parameters> | |
| 17333 | 19859 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17334 | 19860 | <doc xml:space="preserve" | |
| 17335 | - | filename="gobject-2.0.c" | |
| 17336 | - | line="7121">a valid #GValue of type %G_TYPE_UINT64</doc> | |
| 19861 | + | filename="gobject/gvaluetypes.c" | |
| 19862 | + | line="943">a valid #GValue of type %G_TYPE_UINT64</doc> | |
| 17337 | 19863 | <type name="Value" c:type="const GValue*"/> | |
| 17338 | 19864 | </instance-parameter> | |
| 17339 | 19865 | </parameters> | |
| 17340 | 19866 | </method> | |
| 17341 | 19867 | <method name="get_ulong" c:identifier="g_value_get_ulong"> | |
| 17342 | 19868 | <doc xml:space="preserve" | |
| 17343 | - | filename="gobject-2.0.c" | |
| 17344 | - | line="7129">Get the contents of a %G_TYPE_ULONG #GValue.</doc> | |
| 17345 | - | <source-position filename="gvaluetypes.h" line="230"/> | |
| 19869 | + | filename="gobject/gvaluetypes.c" | |
| 19870 | + | line="877">Get the contents of a %G_TYPE_ULONG #GValue.</doc> | |
| 19871 | + | <source-position filename="gobject/gvaluetypes.h" line="232"/> | |
| 17346 | 19872 | <return-value transfer-ownership="none"> | |
| 17347 | 19873 | <doc xml:space="preserve" | |
| 17348 | - | filename="gobject-2.0.c" | |
| 17349 | - | line="7135">unsigned long integer contents of @value</doc> | |
| 19874 | + | filename="gobject/gvaluetypes.c" | |
| 19875 | + | line="883">unsigned long integer contents of @value</doc> | |
| 17350 | 19876 | <type name="gulong" c:type="gulong"/> | |
| 17351 | 19877 | </return-value> | |
| 17352 | 19878 | <parameters> | |
| 17353 | 19879 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17354 | 19880 | <doc xml:space="preserve" | |
| 17355 | - | filename="gobject-2.0.c" | |
| 17356 | - | line="7131">a valid #GValue of type %G_TYPE_ULONG</doc> | |
| 19881 | + | filename="gobject/gvaluetypes.c" | |
| 19882 | + | line="879">a valid #GValue of type %G_TYPE_ULONG</doc> | |
| 17357 | 19883 | <type name="Value" c:type="const GValue*"/> | |
| 17358 | 19884 | </instance-parameter> | |
| 17359 | 19885 | </parameters> | |
| @@ -17362,46 +19888,46 @@ Get the contents of a %G_TYPE_CHAR #GValue.</doc> | |||
| 17362 | 19888 | c:identifier="g_value_get_variant" | |
| 17363 | 19889 | version="2.26"> | |
| 17364 | 19890 | <doc xml:space="preserve" | |
| 17365 | - | filename="gobject-2.0.c" | |
| 17366 | - | line="7139">Get the contents of a variant #GValue.</doc> | |
| 17367 | - | <source-position filename="gvaluetypes.h" line="283"/> | |
| 19891 | + | filename="gobject/gvaluetypes.c" | |
| 19892 | + | line="1337">Get the contents of a variant #GValue.</doc> | |
| 19893 | + | <source-position filename="gobject/gvaluetypes.h" line="287"/> | |
| 17368 | 19894 | <return-value transfer-ownership="none" nullable="1"> | |
| 17369 | 19895 | <doc xml:space="preserve" | |
| 17370 | - | filename="gobject-2.0.c" | |
| 17371 | - | line="7145">variant contents of @value (may be %NULL)</doc> | |
| 19896 | + | filename="gobject/gvaluetypes.c" | |
| 19897 | + | line="1343">variant contents of @value (may be %NULL)</doc> | |
| 17372 | 19898 | <type name="GLib.Variant" c:type="GVariant*"/> | |
| 17373 | 19899 | </return-value> | |
| 17374 | 19900 | <parameters> | |
| 17375 | 19901 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17376 | 19902 | <doc xml:space="preserve" | |
| 17377 | - | filename="gobject-2.0.c" | |
| 17378 | - | line="7141">a valid #GValue of type %G_TYPE_VARIANT</doc> | |
| 19903 | + | filename="gobject/gvaluetypes.c" | |
| 19904 | + | line="1339">a valid #GValue of type %G_TYPE_VARIANT</doc> | |
| 17379 | 19905 | <type name="Value" c:type="const GValue*"/> | |
| 17380 | 19906 | </instance-parameter> | |
| 17381 | 19907 | </parameters> | |
| 17382 | 19908 | </method> | |
| 17383 | 19909 | <method name="init" c:identifier="g_value_init"> | |
| 17384 | 19910 | <doc xml:space="preserve" | |
| 17385 | - | filename="gobject-2.0.c" | |
| 17386 | - | line="7150">Initializes @value with the default value of @type.</doc> | |
| 17387 | - | <source-position filename="gvalue.h" line="133"/> | |
| 19911 | + | filename="gobject/gvalue.c" | |
| 19912 | + | line="71">Initializes @value with the default value of @type.</doc> | |
| 19913 | + | <source-position filename="gobject/gvalue.h" line="135"/> | |
| 17388 | 19914 | <return-value transfer-ownership="none"> | |
| 17389 | 19915 | <doc xml:space="preserve" | |
| 17390 | - | filename="gobject-2.0.c" | |
| 17391 | - | line="7157">the #GValue structure that has been passed in</doc> | |
| 19916 | + | filename="gobject/gvalue.c" | |
| 19917 | + | line="78">the #GValue structure that has been passed in</doc> | |
| 17392 | 19918 | <type name="Value" c:type="GValue*"/> | |
| 17393 | 19919 | </return-value> | |
| 17394 | 19920 | <parameters> | |
| 17395 | 19921 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17396 | 19922 | <doc xml:space="preserve" | |
| 17397 | - | filename="gobject-2.0.c" | |
| 17398 | - | line="7152">A zero-filled (uninitialized) #GValue structure.</doc> | |
| 19923 | + | filename="gobject/gvalue.c" | |
| 19924 | + | line="73">A zero-filled (uninitialized) #GValue structure.</doc> | |
| 17399 | 19925 | <type name="Value" c:type="GValue*"/> | |
| 17400 | 19926 | </instance-parameter> | |
| 17401 | 19927 | <parameter name="g_type" transfer-ownership="none"> | |
| 17402 | 19928 | <doc xml:space="preserve" | |
| 17403 | - | filename="gobject-2.0.c" | |
| 17404 | - | line="7153">Type the #GValue should hold values of.</doc> | |
| 19929 | + | filename="gobject/gvalue.c" | |
| 19930 | + | line="74">Type the #GValue should hold values of.</doc> | |
| 17405 | 19931 | <type name="GType" c:type="GType"/> | |
| 17406 | 19932 | </parameter> | |
| 17407 | 19933 | </parameters> | |
| @@ -17410,112 +19936,112 @@ Get the contents of a %G_TYPE_CHAR #GValue.</doc> | |||
| 17410 | 19936 | c:identifier="g_value_init_from_instance" | |
| 17411 | 19937 | version="2.42"> | |
| 17412 | 19938 | <doc xml:space="preserve" | |
| 17413 | - | filename="gobject-2.0.c" | |
| 17414 | - | line="7161">Initializes and sets @value from an instantiatable type via the | |
| 19939 | + | filename="gobject/gvalue.c" | |
| 19940 | + | line="305">Initializes and sets @value from an instantiatable type via the | |
| 17415 | 19941 | value_table's collect_value() function. | |
| 17416 | 19942 | ||
| 17417 | 19943 | Note: The @value will be initialised with the exact type of | |
| 17418 | 19944 | @instance. If you wish to set the @value's type to a different GType | |
| 17419 | 19945 | (such as a parent class GType), you need to manually call | |
| 17420 | 19946 | g_value_init() and g_value_set_instance().</doc> | |
| 17421 | - | <source-position filename="gvalue.h" line="146"/> | |
| 19947 | + | <source-position filename="gobject/gvalue.h" line="148"/> | |
| 17422 | 19948 | <return-value transfer-ownership="none"> | |
| 17423 | 19949 | <type name="none" c:type="void"/> | |
| 17424 | 19950 | </return-value> | |
| 17425 | 19951 | <parameters> | |
| 17426 | 19952 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17427 | 19953 | <doc xml:space="preserve" | |
| 17428 | - | filename="gobject-2.0.c" | |
| 17429 | - | line="7163">An uninitialized #GValue structure.</doc> | |
| 19954 | + | filename="gobject/gvalue.c" | |
| 19955 | + | line="307">An uninitialized #GValue structure.</doc> | |
| 17430 | 19956 | <type name="Value" c:type="GValue*"/> | |
| 17431 | 19957 | </instance-parameter> | |
| 17432 | 19958 | <parameter name="instance" transfer-ownership="none"> | |
| 17433 | 19959 | <doc xml:space="preserve" | |
| 17434 | - | filename="gobject-2.0.c" | |
| 17435 | - | line="7164">the instance</doc> | |
| 19960 | + | filename="gobject/gvalue.c" | |
| 19961 | + | line="308">the instance</doc> | |
| 17436 | 19962 | <type name="TypeInstance" c:type="gpointer"/> | |
| 17437 | 19963 | </parameter> | |
| 17438 | 19964 | </parameters> | |
| 17439 | 19965 | </method> | |
| 17440 | 19966 | <method name="peek_pointer" c:identifier="g_value_peek_pointer"> | |
| 17441 | 19967 | <doc xml:space="preserve" | |
| 17442 | - | filename="gobject-2.0.c" | |
| 17443 | - | line="7178">Returns the value contents as pointer. This function asserts that | |
| 19968 | + | filename="gobject/gvalue.c" | |
| 19969 | + | line="223">Returns the value contents as pointer. This function asserts that | |
| 17444 | 19970 | g_value_fits_pointer() returned %TRUE for the passed in value. | |
| 17445 | 19971 | This is an internal function introduced mainly for C marshallers.</doc> | |
| 17446 | - | <source-position filename="gvalue.h" line="154"/> | |
| 19972 | + | <source-position filename="gobject/gvalue.h" line="156"/> | |
| 17447 | 19973 | <return-value transfer-ownership="none" nullable="1"> | |
| 17448 | 19974 | <doc xml:space="preserve" | |
| 17449 | - | filename="gobject-2.0.c" | |
| 17450 | - | line="7186">the value contents as pointer</doc> | |
| 19975 | + | filename="gobject/gvalue.c" | |
| 19976 | + | line="231">the value contents as pointer</doc> | |
| 17451 | 19977 | <type name="gpointer" c:type="gpointer"/> | |
| 17452 | 19978 | </return-value> | |
| 17453 | 19979 | <parameters> | |
| 17454 | 19980 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17455 | 19981 | <doc xml:space="preserve" | |
| 17456 | - | filename="gobject-2.0.c" | |
| 17457 | - | line="7180">An initialized #GValue structure</doc> | |
| 19982 | + | filename="gobject/gvalue.c" | |
| 19983 | + | line="225">An initialized #GValue structure</doc> | |
| 17458 | 19984 | <type name="Value" c:type="const GValue*"/> | |
| 17459 | 19985 | </instance-parameter> | |
| 17460 | 19986 | </parameters> | |
| 17461 | 19987 | </method> | |
| 17462 | 19988 | <method name="reset" c:identifier="g_value_reset"> | |
| 17463 | 19989 | <doc xml:space="preserve" | |
| 17464 | - | filename="gobject-2.0.c" | |
| 17465 | - | line="7203">Clears the current value in @value and resets it to the default value | |
| 19990 | + | filename="gobject/gvalue.c" | |
| 19991 | + | line="142">Clears the current value in @value and resets it to the default value | |
| 17466 | 19992 | (as if the value had just been initialized).</doc> | |
| 17467 | - | <source-position filename="gvalue.h" line="139"/> | |
| 19993 | + | <source-position filename="gobject/gvalue.h" line="141"/> | |
| 17468 | 19994 | <return-value transfer-ownership="full"> | |
| 17469 | 19995 | <doc xml:space="preserve" | |
| 17470 | - | filename="gobject-2.0.c" | |
| 17471 | - | line="7210">the #GValue structure that has been passed in</doc> | |
| 19996 | + | filename="gobject/gvalue.c" | |
| 19997 | + | line="149">the #GValue structure that has been passed in</doc> | |
| 17472 | 19998 | <type name="Value" c:type="GValue*"/> | |
| 17473 | 19999 | </return-value> | |
| 17474 | 20000 | <parameters> | |
| 17475 | 20001 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17476 | 20002 | <doc xml:space="preserve" | |
| 17477 | - | filename="gobject-2.0.c" | |
| 17478 | - | line="7205">An initialized #GValue structure.</doc> | |
| 20003 | + | filename="gobject/gvalue.c" | |
| 20004 | + | line="144">An initialized #GValue structure.</doc> | |
| 17479 | 20005 | <type name="Value" c:type="GValue*"/> | |
| 17480 | 20006 | </instance-parameter> | |
| 17481 | 20007 | </parameters> | |
| 17482 | 20008 | </method> | |
| 17483 | 20009 | <method name="set_boolean" c:identifier="g_value_set_boolean"> | |
| 17484 | 20010 | <doc xml:space="preserve" | |
| 17485 | - | filename="gobject-2.0.c" | |
| 17486 | - | line="7214">Set the contents of a %G_TYPE_BOOLEAN #GValue to @v_boolean.</doc> | |
| 17487 | - | <source-position filename="gvaluetypes.h" line="207"/> | |
| 20011 | + | filename="gobject/gvaluetypes.c" | |
| 20012 | + | line="733">Set the contents of a %G_TYPE_BOOLEAN #GValue to @v_boolean.</doc> | |
| 20013 | + | <source-position filename="gobject/gvaluetypes.h" line="209"/> | |
| 17488 | 20014 | <return-value transfer-ownership="none"> | |
| 17489 | 20015 | <type name="none" c:type="void"/> | |
| 17490 | 20016 | </return-value> | |
| 17491 | 20017 | <parameters> | |
| 17492 | 20018 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17493 | 20019 | <doc xml:space="preserve" | |
| 17494 | - | filename="gobject-2.0.c" | |
| 17495 | - | line="7216">a valid #GValue of type %G_TYPE_BOOLEAN</doc> | |
| 20020 | + | filename="gobject/gvaluetypes.c" | |
| 20021 | + | line="735">a valid #GValue of type %G_TYPE_BOOLEAN</doc> | |
| 17496 | 20022 | <type name="Value" c:type="GValue*"/> | |
| 17497 | 20023 | </instance-parameter> | |
| 17498 | 20024 | <parameter name="v_boolean" transfer-ownership="none"> | |
| 17499 | 20025 | <doc xml:space="preserve" | |
| 17500 | - | filename="gobject-2.0.c" | |
| 17501 | - | line="7217">boolean value to be set</doc> | |
| 20026 | + | filename="gobject/gvaluetypes.c" | |
| 20027 | + | line="736">boolean value to be set</doc> | |
| 17502 | 20028 | <type name="gboolean" c:type="gboolean"/> | |
| 17503 | 20029 | </parameter> | |
| 17504 | 20030 | </parameters> | |
| 17505 | 20031 | </method> | |
| 17506 | 20032 | <method name="set_boxed" c:identifier="g_value_set_boxed"> | |
| 17507 | 20033 | <doc xml:space="preserve" | |
| 17508 | - | filename="gobject-2.0.c" | |
| 17509 | - | line="7223">Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed.</doc> | |
| 17510 | - | <source-position filename="gboxed.h" line="76"/> | |
| 20034 | + | filename="gobject/gboxed.c" | |
| 20035 | + | line="472">Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed.</doc> | |
| 20036 | + | <source-position filename="gobject/gboxed.h" line="78"/> | |
| 17511 | 20037 | <return-value transfer-ownership="none"> | |
| 17512 | 20038 | <type name="none" c:type="void"/> | |
| 17513 | 20039 | </return-value> | |
| 17514 | 20040 | <parameters> | |
| 17515 | 20041 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17516 | 20042 | <doc xml:space="preserve" | |
| 17517 | - | filename="gobject-2.0.c" | |
| 17518 | - | line="7225">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 20043 | + | filename="gobject/gboxed.c" | |
| 20044 | + | line="474">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 17519 | 20045 | <type name="Value" c:type="GValue*"/> | |
| 17520 | 20046 | </instance-parameter> | |
| 17521 | 20047 | <parameter name="v_boxed" | |
| @@ -17523,8 +20049,8 @@ This is an internal function introduced mainly for C marshallers.</doc> | |||
| 17523 | 20049 | nullable="1" | |
| 17524 | 20050 | allow-none="1"> | |
| 17525 | 20051 | <doc xml:space="preserve" | |
| 17526 | - | filename="gobject-2.0.c" | |
| 17527 | - | line="7226">boxed value to be set</doc> | |
| 20052 | + | filename="gobject/gboxed.c" | |
| 20053 | + | line="475">boxed value to be set</doc> | |
| 17528 | 20054 | <type name="gpointer" c:type="gconstpointer"/> | |
| 17529 | 20055 | </parameter> | |
| 17530 | 20056 | </parameters> | |
| @@ -17534,18 +20060,18 @@ This is an internal function introduced mainly for C marshallers.</doc> | |||
| 17534 | 20060 | deprecated="1" | |
| 17535 | 20061 | deprecated-version="2.4"> | |
| 17536 | 20062 | <doc xml:space="preserve" | |
| 17537 | - | filename="gobject-2.0.c" | |
| 17538 | - | line="7232">This is an internal function introduced mainly for C marshallers.</doc> | |
| 20063 | + | filename="gobject/gboxed.c" | |
| 20064 | + | line="509">This is an internal function introduced mainly for C marshallers.</doc> | |
| 17539 | 20065 | <doc-deprecated xml:space="preserve">Use g_value_take_boxed() instead.</doc-deprecated> | |
| 17540 | - | <source-position filename="gboxed.h" line="85"/> | |
| 20066 | + | <source-position filename="gobject/gboxed.h" line="87"/> | |
| 17541 | 20067 | <return-value transfer-ownership="none"> | |
| 17542 | 20068 | <type name="none" c:type="void"/> | |
| 17543 | 20069 | </return-value> | |
| 17544 | 20070 | <parameters> | |
| 17545 | 20071 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17546 | 20072 | <doc xml:space="preserve" | |
| 17547 | - | filename="gobject-2.0.c" | |
| 17548 | - | line="7234">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 20073 | + | filename="gobject/gboxed.c" | |
| 20074 | + | line="511">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 17549 | 20075 | <type name="Value" c:type="GValue*"/> | |
| 17550 | 20076 | </instance-parameter> | |
| 17551 | 20077 | <parameter name="v_boxed" | |
| @@ -17553,8 +20079,8 @@ This is an internal function introduced mainly for C marshallers.</doc> | |||
| 17553 | 20079 | nullable="1" | |
| 17554 | 20080 | allow-none="1"> | |
| 17555 | 20081 | <doc xml:space="preserve" | |
| 17556 | - | filename="gobject-2.0.c" | |
| 17557 | - | line="7235">duplicated unowned boxed value to be set</doc> | |
| 20082 | + | filename="gobject/gboxed.c" | |
| 20083 | + | line="512">duplicated unowned boxed value to be set</doc> | |
| 17558 | 20084 | <type name="gpointer" c:type="gconstpointer"/> | |
| 17559 | 20085 | </parameter> | |
| 17560 | 20086 | </parameters> | |
| @@ -17564,157 +20090,157 @@ This is an internal function introduced mainly for C marshallers.</doc> | |||
| 17564 | 20090 | deprecated="1" | |
| 17565 | 20091 | deprecated-version="2.32"> | |
| 17566 | 20092 | <doc xml:space="preserve" | |
| 17567 | - | filename="gobject-2.0.c" | |
| 17568 | - | line="7243">Set the contents of a %G_TYPE_CHAR #GValue to @v_char.</doc> | |
| 20093 | + | filename="gobject/gvaluetypes.c" | |
| 20094 | + | line="629">Set the contents of a %G_TYPE_CHAR #GValue to @v_char.</doc> | |
| 17569 | 20095 | <doc-deprecated xml:space="preserve">This function's input type is broken, see g_value_set_schar()</doc-deprecated> | |
| 17570 | - | <source-position filename="gvaluetypes.h" line="192"/> | |
| 20096 | + | <source-position filename="gobject/gvaluetypes.h" line="194"/> | |
| 17571 | 20097 | <return-value transfer-ownership="none"> | |
| 17572 | 20098 | <type name="none" c:type="void"/> | |
| 17573 | 20099 | </return-value> | |
| 17574 | 20100 | <parameters> | |
| 17575 | 20101 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17576 | 20102 | <doc xml:space="preserve" | |
| 17577 | - | filename="gobject-2.0.c" | |
| 17578 | - | line="7245">a valid #GValue of type %G_TYPE_CHAR</doc> | |
| 20103 | + | filename="gobject/gvaluetypes.c" | |
| 20104 | + | line="631">a valid #GValue of type %G_TYPE_CHAR</doc> | |
| 17579 | 20105 | <type name="Value" c:type="GValue*"/> | |
| 17580 | 20106 | </instance-parameter> | |
| 17581 | 20107 | <parameter name="v_char" transfer-ownership="none"> | |
| 17582 | 20108 | <doc xml:space="preserve" | |
| 17583 | - | filename="gobject-2.0.c" | |
| 17584 | - | line="7246">character value to be set</doc> | |
| 20109 | + | filename="gobject/gvaluetypes.c" | |
| 20110 | + | line="632">character value to be set</doc> | |
| 17585 | 20111 | <type name="gchar" c:type="gchar"/> | |
| 17586 | 20112 | </parameter> | |
| 17587 | 20113 | </parameters> | |
| 17588 | 20114 | </method> | |
| 17589 | 20115 | <method name="set_double" c:identifier="g_value_set_double"> | |
| 17590 | 20116 | <doc xml:space="preserve" | |
| 17591 | - | filename="gobject-2.0.c" | |
| 17592 | - | line="7254">Set the contents of a %G_TYPE_DOUBLE #GValue to @v_double.</doc> | |
| 17593 | - | <source-position filename="gvaluetypes.h" line="247"/> | |
| 20117 | + | filename="gobject/gvaluetypes.c" | |
| 20118 | + | line="989">Set the contents of a %G_TYPE_DOUBLE #GValue to @v_double.</doc> | |
| 20119 | + | <source-position filename="gobject/gvaluetypes.h" line="249"/> | |
| 17594 | 20120 | <return-value transfer-ownership="none"> | |
| 17595 | 20121 | <type name="none" c:type="void"/> | |
| 17596 | 20122 | </return-value> | |
| 17597 | 20123 | <parameters> | |
| 17598 | 20124 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17599 | 20125 | <doc xml:space="preserve" | |
| 17600 | - | filename="gobject-2.0.c" | |
| 17601 | - | line="7256">a valid #GValue of type %G_TYPE_DOUBLE</doc> | |
| 20126 | + | filename="gobject/gvaluetypes.c" | |
| 20127 | + | line="991">a valid #GValue of type %G_TYPE_DOUBLE</doc> | |
| 17602 | 20128 | <type name="Value" c:type="GValue*"/> | |
| 17603 | 20129 | </instance-parameter> | |
| 17604 | 20130 | <parameter name="v_double" transfer-ownership="none"> | |
| 17605 | 20131 | <doc xml:space="preserve" | |
| 17606 | - | filename="gobject-2.0.c" | |
| 17607 | - | line="7257">double value to be set</doc> | |
| 20132 | + | filename="gobject/gvaluetypes.c" | |
| 20133 | + | line="992">double value to be set</doc> | |
| 17608 | 20134 | <type name="gdouble" c:type="gdouble"/> | |
| 17609 | 20135 | </parameter> | |
| 17610 | 20136 | </parameters> | |
| 17611 | 20137 | </method> | |
| 17612 | 20138 | <method name="set_enum" c:identifier="g_value_set_enum"> | |
| 17613 | 20139 | <doc xml:space="preserve" | |
| 17614 | - | filename="gobject-2.0.c" | |
| 17615 | - | line="7263">Set the contents of a %G_TYPE_ENUM #GValue to @v_enum.</doc> | |
| 17616 | - | <source-position filename="genums.h" line="243"/> | |
| 20140 | + | filename="gobject/genums.c" | |
| 20141 | + | line="664">Set the contents of a %G_TYPE_ENUM #GValue to @v_enum.</doc> | |
| 20142 | + | <source-position filename="gobject/genums.h" line="245"/> | |
| 17617 | 20143 | <return-value transfer-ownership="none"> | |
| 17618 | 20144 | <type name="none" c:type="void"/> | |
| 17619 | 20145 | </return-value> | |
| 17620 | 20146 | <parameters> | |
| 17621 | 20147 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17622 | 20148 | <doc xml:space="preserve" | |
| 17623 | - | filename="gobject-2.0.c" | |
| 17624 | - | line="7265">a valid #GValue whose type is derived from %G_TYPE_ENUM</doc> | |
| 20149 | + | filename="gobject/genums.c" | |
| 20150 | + | line="666">a valid #GValue whose type is derived from %G_TYPE_ENUM</doc> | |
| 17625 | 20151 | <type name="Value" c:type="GValue*"/> | |
| 17626 | 20152 | </instance-parameter> | |
| 17627 | 20153 | <parameter name="v_enum" transfer-ownership="none"> | |
| 17628 | 20154 | <doc xml:space="preserve" | |
| 17629 | - | filename="gobject-2.0.c" | |
| 17630 | - | line="7266">enum value to be set</doc> | |
| 20155 | + | filename="gobject/genums.c" | |
| 20156 | + | line="667">enum value to be set</doc> | |
| 17631 | 20157 | <type name="gint" c:type="gint"/> | |
| 17632 | 20158 | </parameter> | |
| 17633 | 20159 | </parameters> | |
| 17634 | 20160 | </method> | |
| 17635 | 20161 | <method name="set_flags" c:identifier="g_value_set_flags"> | |
| 17636 | 20162 | <doc xml:space="preserve" | |
| 17637 | - | filename="gobject-2.0.c" | |
| 17638 | - | line="7272">Set the contents of a %G_TYPE_FLAGS #GValue to @v_flags.</doc> | |
| 17639 | - | <source-position filename="genums.h" line="248"/> | |
| 20163 | + | filename="gobject/genums.c" | |
| 20164 | + | line="696">Set the contents of a %G_TYPE_FLAGS #GValue to @v_flags.</doc> | |
| 20165 | + | <source-position filename="gobject/genums.h" line="250"/> | |
| 17640 | 20166 | <return-value transfer-ownership="none"> | |
| 17641 | 20167 | <type name="none" c:type="void"/> | |
| 17642 | 20168 | </return-value> | |
| 17643 | 20169 | <parameters> | |
| 17644 | 20170 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17645 | 20171 | <doc xml:space="preserve" | |
| 17646 | - | filename="gobject-2.0.c" | |
| 17647 | - | line="7274">a valid #GValue whose type is derived from %G_TYPE_FLAGS</doc> | |
| 20172 | + | filename="gobject/genums.c" | |
| 20173 | + | line="698">a valid #GValue whose type is derived from %G_TYPE_FLAGS</doc> | |
| 17648 | 20174 | <type name="Value" c:type="GValue*"/> | |
| 17649 | 20175 | </instance-parameter> | |
| 17650 | 20176 | <parameter name="v_flags" transfer-ownership="none"> | |
| 17651 | 20177 | <doc xml:space="preserve" | |
| 17652 | - | filename="gobject-2.0.c" | |
| 17653 | - | line="7275">flags value to be set</doc> | |
| 20178 | + | filename="gobject/genums.c" | |
| 20179 | + | line="699">flags value to be set</doc> | |
| 17654 | 20180 | <type name="guint" c:type="guint"/> | |
| 17655 | 20181 | </parameter> | |
| 17656 | 20182 | </parameters> | |
| 17657 | 20183 | </method> | |
| 17658 | 20184 | <method name="set_float" c:identifier="g_value_set_float"> | |
| 17659 | 20185 | <doc xml:space="preserve" | |
| 17660 | - | filename="gobject-2.0.c" | |
| 17661 | - | line="7281">Set the contents of a %G_TYPE_FLOAT #GValue to @v_float.</doc> | |
| 17662 | - | <source-position filename="gvaluetypes.h" line="242"/> | |
| 20186 | + | filename="gobject/gvaluetypes.c" | |
| 20187 | + | line="957">Set the contents of a %G_TYPE_FLOAT #GValue to @v_float.</doc> | |
| 20188 | + | <source-position filename="gobject/gvaluetypes.h" line="244"/> | |
| 17663 | 20189 | <return-value transfer-ownership="none"> | |
| 17664 | 20190 | <type name="none" c:type="void"/> | |
| 17665 | 20191 | </return-value> | |
| 17666 | 20192 | <parameters> | |
| 17667 | 20193 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17668 | 20194 | <doc xml:space="preserve" | |
| 17669 | - | filename="gobject-2.0.c" | |
| 17670 | - | line="7283">a valid #GValue of type %G_TYPE_FLOAT</doc> | |
| 20195 | + | filename="gobject/gvaluetypes.c" | |
| 20196 | + | line="959">a valid #GValue of type %G_TYPE_FLOAT</doc> | |
| 17671 | 20197 | <type name="Value" c:type="GValue*"/> | |
| 17672 | 20198 | </instance-parameter> | |
| 17673 | 20199 | <parameter name="v_float" transfer-ownership="none"> | |
| 17674 | 20200 | <doc xml:space="preserve" | |
| 17675 | - | filename="gobject-2.0.c" | |
| 17676 | - | line="7284">float value to be set</doc> | |
| 20201 | + | filename="gobject/gvaluetypes.c" | |
| 20202 | + | line="960">float value to be set</doc> | |
| 17677 | 20203 | <type name="gfloat" c:type="gfloat"/> | |
| 17678 | 20204 | </parameter> | |
| 17679 | 20205 | </parameters> | |
| 17680 | 20206 | </method> | |
| 17681 | 20207 | <method name="set_gtype" c:identifier="g_value_set_gtype" version="2.12"> | |
| 17682 | 20208 | <doc xml:space="preserve" | |
| 17683 | - | filename="gobject-2.0.c" | |
| 17684 | - | line="7290">Set the contents of a %G_TYPE_GTYPE #GValue to @v_gtype.</doc> | |
| 17685 | - | <source-position filename="gvaluetypes.h" line="272"/> | |
| 20209 | + | filename="gobject/gvaluetypes.c" | |
| 20210 | + | line="1232">Set the contents of a %G_TYPE_GTYPE #GValue to @v_gtype.</doc> | |
| 20211 | + | <source-position filename="gobject/gvaluetypes.h" line="276"/> | |
| 17686 | 20212 | <return-value transfer-ownership="none"> | |
| 17687 | 20213 | <type name="none" c:type="void"/> | |
| 17688 | 20214 | </return-value> | |
| 17689 | 20215 | <parameters> | |
| 17690 | 20216 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17691 | 20217 | <doc xml:space="preserve" | |
| 17692 | - | filename="gobject-2.0.c" | |
| 17693 | - | line="7292">a valid #GValue of type %G_TYPE_GTYPE</doc> | |
| 20218 | + | filename="gobject/gvaluetypes.c" | |
| 20219 | + | line="1234">a valid #GValue of type %G_TYPE_GTYPE</doc> | |
| 17694 | 20220 | <type name="Value" c:type="GValue*"/> | |
| 17695 | 20221 | </instance-parameter> | |
| 17696 | 20222 | <parameter name="v_gtype" transfer-ownership="none"> | |
| 17697 | 20223 | <doc xml:space="preserve" | |
| 17698 | - | filename="gobject-2.0.c" | |
| 17699 | - | line="7293">#GType to be set</doc> | |
| 20224 | + | filename="gobject/gvaluetypes.c" | |
| 20225 | + | line="1235">#GType to be set</doc> | |
| 17700 | 20226 | <type name="GType" c:type="GType"/> | |
| 17701 | 20227 | </parameter> | |
| 17702 | 20228 | </parameters> | |
| 17703 | 20229 | </method> | |
| 17704 | 20230 | <method name="set_instance" c:identifier="g_value_set_instance"> | |
| 17705 | 20231 | <doc xml:space="preserve" | |
| 17706 | - | filename="gobject-2.0.c" | |
| 17707 | - | line="7301">Sets @value from an instantiatable type via the | |
| 20232 | + | filename="gobject/gvalue.c" | |
| 20233 | + | line="252">Sets @value from an instantiatable type via the | |
| 17708 | 20234 | value_table's collect_value() function.</doc> | |
| 17709 | - | <source-position filename="gvalue.h" line="143"/> | |
| 20235 | + | <source-position filename="gobject/gvalue.h" line="145"/> | |
| 17710 | 20236 | <return-value transfer-ownership="none"> | |
| 17711 | 20237 | <type name="none" c:type="void"/> | |
| 17712 | 20238 | </return-value> | |
| 17713 | 20239 | <parameters> | |
| 17714 | 20240 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17715 | 20241 | <doc xml:space="preserve" | |
| 17716 | - | filename="gobject-2.0.c" | |
| 17717 | - | line="7303">An initialized #GValue structure.</doc> | |
| 20242 | + | filename="gobject/gvalue.c" | |
| 20243 | + | line="254">An initialized #GValue structure.</doc> | |
| 17718 | 20244 | <type name="Value" c:type="GValue*"/> | |
| 17719 | 20245 | </instance-parameter> | |
| 17720 | 20246 | <parameter name="instance" | |
| @@ -17722,54 +20248,54 @@ value_table's collect_value() function.</doc> | |||
| 17722 | 20248 | nullable="1" | |
| 17723 | 20249 | allow-none="1"> | |
| 17724 | 20250 | <doc xml:space="preserve" | |
| 17725 | - | filename="gobject-2.0.c" | |
| 17726 | - | line="7304">the instance</doc> | |
| 20251 | + | filename="gobject/gvalue.c" | |
| 20252 | + | line="255">the instance</doc> | |
| 17727 | 20253 | <type name="gpointer" c:type="gpointer"/> | |
| 17728 | 20254 | </parameter> | |
| 17729 | 20255 | </parameters> | |
| 17730 | 20256 | </method> | |
| 17731 | 20257 | <method name="set_int" c:identifier="g_value_set_int"> | |
| 17732 | 20258 | <doc xml:space="preserve" | |
| 17733 | - | filename="gobject-2.0.c" | |
| 17734 | - | line="7311">Set the contents of a %G_TYPE_INT #GValue to @v_int.</doc> | |
| 17735 | - | <source-position filename="gvaluetypes.h" line="212"/> | |
| 20259 | + | filename="gobject/gvaluetypes.c" | |
| 20260 | + | line="765">Set the contents of a %G_TYPE_INT #GValue to @v_int.</doc> | |
| 20261 | + | <source-position filename="gobject/gvaluetypes.h" line="214"/> | |
| 17736 | 20262 | <return-value transfer-ownership="none"> | |
| 17737 | 20263 | <type name="none" c:type="void"/> | |
| 17738 | 20264 | </return-value> | |
| 17739 | 20265 | <parameters> | |
| 17740 | 20266 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17741 | 20267 | <doc xml:space="preserve" | |
| 17742 | - | filename="gobject-2.0.c" | |
| 17743 | - | line="7313">a valid #GValue of type %G_TYPE_INT</doc> | |
| 20268 | + | filename="gobject/gvaluetypes.c" | |
| 20269 | + | line="767">a valid #GValue of type %G_TYPE_INT</doc> | |
| 17744 | 20270 | <type name="Value" c:type="GValue*"/> | |
| 17745 | 20271 | </instance-parameter> | |
| 17746 | 20272 | <parameter name="v_int" transfer-ownership="none"> | |
| 17747 | 20273 | <doc xml:space="preserve" | |
| 17748 | - | filename="gobject-2.0.c" | |
| 17749 | - | line="7314">integer value to be set</doc> | |
| 20274 | + | filename="gobject/gvaluetypes.c" | |
| 20275 | + | line="768">integer value to be set</doc> | |
| 17750 | 20276 | <type name="gint" c:type="gint"/> | |
| 17751 | 20277 | </parameter> | |
| 17752 | 20278 | </parameters> | |
| 17753 | 20279 | </method> | |
| 17754 | 20280 | <method name="set_int64" c:identifier="g_value_set_int64"> | |
| 17755 | 20281 | <doc xml:space="preserve" | |
| 17756 | - | filename="gobject-2.0.c" | |
| 17757 | - | line="7320">Set the contents of a %G_TYPE_INT64 #GValue to @v_int64.</doc> | |
| 17758 | - | <source-position filename="gvaluetypes.h" line="232"/> | |
| 20282 | + | filename="gobject/gvaluetypes.c" | |
| 20283 | + | line="910">Set the contents of a %G_TYPE_INT64 #GValue to @v_int64.</doc> | |
| 20284 | + | <source-position filename="gobject/gvaluetypes.h" line="234"/> | |
| 17759 | 20285 | <return-value transfer-ownership="none"> | |
| 17760 | 20286 | <type name="none" c:type="void"/> | |
| 17761 | 20287 | </return-value> | |
| 17762 | 20288 | <parameters> | |
| 17763 | 20289 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17764 | 20290 | <doc xml:space="preserve" | |
| 17765 | - | filename="gobject-2.0.c" | |
| 17766 | - | line="7322">a valid #GValue of type %G_TYPE_INT64</doc> | |
| 20291 | + | filename="gobject/gvaluetypes.c" | |
| 20292 | + | line="912">a valid #GValue of type %G_TYPE_INT64</doc> | |
| 17767 | 20293 | <type name="Value" c:type="GValue*"/> | |
| 17768 | 20294 | </instance-parameter> | |
| 17769 | 20295 | <parameter name="v_int64" transfer-ownership="none"> | |
| 17770 | 20296 | <doc xml:space="preserve" | |
| 17771 | - | filename="gobject-2.0.c" | |
| 17772 | - | line="7323">64bit integer value to be set</doc> | |
| 20297 | + | filename="gobject/gvaluetypes.c" | |
| 20298 | + | line="913">64bit integer value to be set</doc> | |
| 17773 | 20299 | <type name="gint64" c:type="gint64"/> | |
| 17774 | 20300 | </parameter> | |
| 17775 | 20301 | </parameters> | |
| @@ -17778,19 +20304,19 @@ value_table's collect_value() function.</doc> | |||
| 17778 | 20304 | c:identifier="g_value_set_interned_string" | |
| 17779 | 20305 | version="2.66"> | |
| 17780 | 20306 | <doc xml:space="preserve" | |
| 17781 | - | filename="gobject-2.0.c" | |
| 17782 | - | line="7329">Set the contents of a %G_TYPE_STRING #GValue to @v_string. The string is | |
| 20307 | + | filename="gobject/gvaluetypes.c" | |
| 20308 | + | line="1070">Set the contents of a %G_TYPE_STRING #GValue to @v_string. The string is | |
| 17783 | 20309 | assumed to be static and interned (canonical, for example from | |
| 17784 | 20310 | g_intern_string()), and is thus not duplicated when setting the #GValue.</doc> | |
| 17785 | - | <source-position filename="gvaluetypes.h" line="258"/> | |
| 20311 | + | <source-position filename="gobject/gvaluetypes.h" line="260"/> | |
| 17786 | 20312 | <return-value transfer-ownership="none"> | |
| 17787 | 20313 | <type name="none" c:type="void"/> | |
| 17788 | 20314 | </return-value> | |
| 17789 | 20315 | <parameters> | |
| 17790 | 20316 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17791 | 20317 | <doc xml:space="preserve" | |
| 17792 | - | filename="gobject-2.0.c" | |
| 17793 | - | line="7331">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 20318 | + | filename="gobject/gvaluetypes.c" | |
| 20319 | + | line="1072">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 17794 | 20320 | <type name="Value" c:type="GValue*"/> | |
| 17795 | 20321 | </instance-parameter> | |
| 17796 | 20322 | <parameter name="v_string" | |
| @@ -17798,39 +20324,39 @@ g_intern_string()), and is thus not duplicated when setting the #GValue.</doc> | |||
| 17798 | 20324 | nullable="1" | |
| 17799 | 20325 | allow-none="1"> | |
| 17800 | 20326 | <doc xml:space="preserve" | |
| 17801 | - | filename="gobject-2.0.c" | |
| 17802 | - | line="7332">static string to be set</doc> | |
| 20327 | + | filename="gobject/gvaluetypes.c" | |
| 20328 | + | line="1073">static string to be set</doc> | |
| 17803 | 20329 | <type name="utf8" c:type="const gchar*"/> | |
| 17804 | 20330 | </parameter> | |
| 17805 | 20331 | </parameters> | |
| 17806 | 20332 | </method> | |
| 17807 | 20333 | <method name="set_long" c:identifier="g_value_set_long"> | |
| 17808 | 20334 | <doc xml:space="preserve" | |
| 17809 | - | filename="gobject-2.0.c" | |
| 17810 | - | line="7342">Set the contents of a %G_TYPE_LONG #GValue to @v_long.</doc> | |
| 17811 | - | <source-position filename="gvaluetypes.h" line="222"/> | |
| 20335 | + | filename="gobject/gvaluetypes.c" | |
| 20336 | + | line="829">Set the contents of a %G_TYPE_LONG #GValue to @v_long.</doc> | |
| 20337 | + | <source-position filename="gobject/gvaluetypes.h" line="224"/> | |
| 17812 | 20338 | <return-value transfer-ownership="none"> | |
| 17813 | 20339 | <type name="none" c:type="void"/> | |
| 17814 | 20340 | </return-value> | |
| 17815 | 20341 | <parameters> | |
| 17816 | 20342 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17817 | 20343 | <doc xml:space="preserve" | |
| 17818 | - | filename="gobject-2.0.c" | |
| 17819 | - | line="7344">a valid #GValue of type %G_TYPE_LONG</doc> | |
| 20344 | + | filename="gobject/gvaluetypes.c" | |
| 20345 | + | line="831">a valid #GValue of type %G_TYPE_LONG</doc> | |
| 17820 | 20346 | <type name="Value" c:type="GValue*"/> | |
| 17821 | 20347 | </instance-parameter> | |
| 17822 | 20348 | <parameter name="v_long" transfer-ownership="none"> | |
| 17823 | 20349 | <doc xml:space="preserve" | |
| 17824 | - | filename="gobject-2.0.c" | |
| 17825 | - | line="7345">long integer value to be set</doc> | |
| 20350 | + | filename="gobject/gvaluetypes.c" | |
| 20351 | + | line="832">long integer value to be set</doc> | |
| 17826 | 20352 | <type name="glong" c:type="glong"/> | |
| 17827 | 20353 | </parameter> | |
| 17828 | 20354 | </parameters> | |
| 17829 | 20355 | </method> | |
| 17830 | 20356 | <method name="set_object" c:identifier="g_value_set_object"> | |
| 17831 | 20357 | <doc xml:space="preserve" | |
| 17832 | - | filename="gobject-2.0.c" | |
| 17833 | - | line="7351">Set the contents of a %G_TYPE_OBJECT derived #GValue to @v_object. | |
| 20358 | + | filename="gobject/gobject.c" | |
| 20359 | + | line="5039">Set the contents of a %G_TYPE_OBJECT derived #GValue to @v_object. | |
| 17834 | 20360 | ||
| 17835 | 20361 | g_value_set_object() increases the reference count of @v_object | |
| 17836 | 20362 | (the #GValue holds a reference to @v_object). If you do not wish | |
| @@ -17841,15 +20367,15 @@ need it), use g_value_take_object() instead. | |||
| 17841 | 20367 | It is important that your #GValue holds a reference to @v_object (either its | |
| 17842 | 20368 | own, or one it has taken) to ensure that the object won't be destroyed while | |
| 17843 | 20369 | the #GValue still exists).</doc> | |
| 17844 | - | <source-position filename="gobject.h" line="644"/> | |
| 20370 | + | <source-position filename="gobject/gobject.h" line="636"/> | |
| 17845 | 20371 | <return-value transfer-ownership="none"> | |
| 17846 | 20372 | <type name="none" c:type="void"/> | |
| 17847 | 20373 | </return-value> | |
| 17848 | 20374 | <parameters> | |
| 17849 | 20375 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17850 | 20376 | <doc xml:space="preserve" | |
| 17851 | - | filename="gobject-2.0.c" | |
| 17852 | - | line="7353">a valid #GValue of %G_TYPE_OBJECT derived type</doc> | |
| 20377 | + | filename="gobject/gobject.c" | |
| 20378 | + | line="5041">a valid #GValue of %G_TYPE_OBJECT derived type</doc> | |
| 17853 | 20379 | <type name="Value" c:type="GValue*"/> | |
| 17854 | 20380 | </instance-parameter> | |
| 17855 | 20381 | <parameter name="v_object" | |
| @@ -17857,8 +20383,8 @@ the #GValue still exists).</doc> | |||
| 17857 | 20383 | nullable="1" | |
| 17858 | 20384 | allow-none="1"> | |
| 17859 | 20385 | <doc xml:space="preserve" | |
| 17860 | - | filename="gobject-2.0.c" | |
| 17861 | - | line="7354">object value to be set</doc> | |
| 20386 | + | filename="gobject/gobject.c" | |
| 20387 | + | line="5042">object value to be set</doc> | |
| 17862 | 20388 | <type name="Object" c:type="gpointer"/> | |
| 17863 | 20389 | </parameter> | |
| 17864 | 20390 | </parameters> | |
| @@ -17869,18 +20395,18 @@ the #GValue still exists).</doc> | |||
| 17869 | 20395 | deprecated="1" | |
| 17870 | 20396 | deprecated-version="2.4"> | |
| 17871 | 20397 | <doc xml:space="preserve" | |
| 17872 | - | filename="gobject-2.0.c" | |
| 17873 | - | line="7370">This is an internal function introduced mainly for C marshallers.</doc> | |
| 20398 | + | filename="gobject/gobject.c" | |
| 20399 | + | line="5080">This is an internal function introduced mainly for C marshallers.</doc> | |
| 17874 | 20400 | <doc-deprecated xml:space="preserve">Use g_value_take_object() instead.</doc-deprecated> | |
| 17875 | - | <source-position filename="gobject.h" line="668"/> | |
| 20401 | + | <source-position filename="gobject/gobject.h" line="660"/> | |
| 17876 | 20402 | <return-value transfer-ownership="none"> | |
| 17877 | 20403 | <type name="none" c:type="void"/> | |
| 17878 | 20404 | </return-value> | |
| 17879 | 20405 | <parameters> | |
| 17880 | 20406 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17881 | 20407 | <doc xml:space="preserve" | |
| 17882 | - | filename="gobject-2.0.c" | |
| 17883 | - | line="7372">a valid #GValue of %G_TYPE_OBJECT derived type</doc> | |
| 20408 | + | filename="gobject/gobject.c" | |
| 20409 | + | line="5082">a valid #GValue of %G_TYPE_OBJECT derived type</doc> | |
| 17884 | 20410 | <type name="Value" c:type="GValue*"/> | |
| 17885 | 20411 | </instance-parameter> | |
| 17886 | 20412 | <parameter name="v_object" | |
| @@ -17888,25 +20414,25 @@ the #GValue still exists).</doc> | |||
| 17888 | 20414 | nullable="1" | |
| 17889 | 20415 | allow-none="1"> | |
| 17890 | 20416 | <doc xml:space="preserve" | |
| 17891 | - | filename="gobject-2.0.c" | |
| 17892 | - | line="7373">object value to be set</doc> | |
| 20417 | + | filename="gobject/gobject.c" | |
| 20418 | + | line="5083">object value to be set</doc> | |
| 17893 | 20419 | <type name="gpointer" c:type="gpointer"/> | |
| 17894 | 20420 | </parameter> | |
| 17895 | 20421 | </parameters> | |
| 17896 | 20422 | </method> | |
| 17897 | 20423 | <method name="set_param" c:identifier="g_value_set_param"> | |
| 17898 | 20424 | <doc xml:space="preserve" | |
| 17899 | - | filename="gobject-2.0.c" | |
| 17900 | - | line="7381">Set the contents of a %G_TYPE_PARAM #GValue to @param.</doc> | |
| 17901 | - | <source-position filename="gparam.h" line="332"/> | |
| 20425 | + | filename="gobject/gparam.c" | |
| 20426 | + | line="1525">Set the contents of a %G_TYPE_PARAM #GValue to @param.</doc> | |
| 20427 | + | <source-position filename="gobject/gparam.h" line="342"/> | |
| 17902 | 20428 | <return-value transfer-ownership="none"> | |
| 17903 | 20429 | <type name="none" c:type="void"/> | |
| 17904 | 20430 | </return-value> | |
| 17905 | 20431 | <parameters> | |
| 17906 | 20432 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17907 | 20433 | <doc xml:space="preserve" | |
| 17908 | - | filename="gobject-2.0.c" | |
| 17909 | - | line="7383">a valid #GValue of type %G_TYPE_PARAM</doc> | |
| 20434 | + | filename="gobject/gparam.c" | |
| 20435 | + | line="1527">a valid #GValue of type %G_TYPE_PARAM</doc> | |
| 17910 | 20436 | <type name="Value" c:type="GValue*"/> | |
| 17911 | 20437 | </instance-parameter> | |
| 17912 | 20438 | <parameter name="param" | |
| @@ -17914,8 +20440,8 @@ the #GValue still exists).</doc> | |||
| 17914 | 20440 | nullable="1" | |
| 17915 | 20441 | allow-none="1"> | |
| 17916 | 20442 | <doc xml:space="preserve" | |
| 17917 | - | filename="gobject-2.0.c" | |
| 17918 | - | line="7384">the #GParamSpec to be set</doc> | |
| 20443 | + | filename="gobject/gparam.c" | |
| 20444 | + | line="1528">the #GParamSpec to be set</doc> | |
| 17919 | 20445 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 17920 | 20446 | </parameter> | |
| 17921 | 20447 | </parameters> | |
| @@ -17926,18 +20452,18 @@ the #GValue still exists).</doc> | |||
| 17926 | 20452 | deprecated="1" | |
| 17927 | 20453 | deprecated-version="2.4"> | |
| 17928 | 20454 | <doc xml:space="preserve" | |
| 17929 | - | filename="gobject-2.0.c" | |
| 17930 | - | line="7390">This is an internal function introduced mainly for C marshallers.</doc> | |
| 20455 | + | filename="gobject/gparam.c" | |
| 20456 | + | line="1547">This is an internal function introduced mainly for C marshallers.</doc> | |
| 17931 | 20457 | <doc-deprecated xml:space="preserve">Use g_value_take_param() instead.</doc-deprecated> | |
| 17932 | - | <source-position filename="gparam.h" line="344"/> | |
| 20458 | + | <source-position filename="gobject/gparam.h" line="354"/> | |
| 17933 | 20459 | <return-value transfer-ownership="none"> | |
| 17934 | 20460 | <type name="none" c:type="void"/> | |
| 17935 | 20461 | </return-value> | |
| 17936 | 20462 | <parameters> | |
| 17937 | 20463 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17938 | 20464 | <doc xml:space="preserve" | |
| 17939 | - | filename="gobject-2.0.c" | |
| 17940 | - | line="7392">a valid #GValue of type %G_TYPE_PARAM</doc> | |
| 20465 | + | filename="gobject/gparam.c" | |
| 20466 | + | line="1549">a valid #GValue of type %G_TYPE_PARAM</doc> | |
| 17941 | 20467 | <type name="Value" c:type="GValue*"/> | |
| 17942 | 20468 | </instance-parameter> | |
| 17943 | 20469 | <parameter name="param" | |
| @@ -17945,25 +20471,25 @@ the #GValue still exists).</doc> | |||
| 17945 | 20471 | nullable="1" | |
| 17946 | 20472 | allow-none="1"> | |
| 17947 | 20473 | <doc xml:space="preserve" | |
| 17948 | - | filename="gobject-2.0.c" | |
| 17949 | - | line="7393">the #GParamSpec to be set</doc> | |
| 20474 | + | filename="gobject/gparam.c" | |
| 20475 | + | line="1550">the #GParamSpec to be set</doc> | |
| 17950 | 20476 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 17951 | 20477 | </parameter> | |
| 17952 | 20478 | </parameters> | |
| 17953 | 20479 | </method> | |
| 17954 | 20480 | <method name="set_pointer" c:identifier="g_value_set_pointer"> | |
| 17955 | 20481 | <doc xml:space="preserve" | |
| 17956 | - | filename="gobject-2.0.c" | |
| 17957 | - | line="7401">Set the contents of a pointer #GValue to @v_pointer.</doc> | |
| 17958 | - | <source-position filename="gvaluetypes.h" line="265"/> | |
| 20482 | + | filename="gobject/gvaluetypes.c" | |
| 20483 | + | line="1198">Set the contents of a pointer #GValue to @v_pointer.</doc> | |
| 20484 | + | <source-position filename="gobject/gvaluetypes.h" line="269"/> | |
| 17959 | 20485 | <return-value transfer-ownership="none"> | |
| 17960 | 20486 | <type name="none" c:type="void"/> | |
| 17961 | 20487 | </return-value> | |
| 17962 | 20488 | <parameters> | |
| 17963 | 20489 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17964 | 20490 | <doc xml:space="preserve" | |
| 17965 | - | filename="gobject-2.0.c" | |
| 17966 | - | line="7403">a valid #GValue of %G_TYPE_POINTER</doc> | |
| 20491 | + | filename="gobject/gvaluetypes.c" | |
| 20492 | + | line="1200">a valid #GValue of %G_TYPE_POINTER</doc> | |
| 17967 | 20493 | <type name="Value" c:type="GValue*"/> | |
| 17968 | 20494 | </instance-parameter> | |
| 17969 | 20495 | <parameter name="v_pointer" | |
| @@ -17971,51 +20497,51 @@ the #GValue still exists).</doc> | |||
| 17971 | 20497 | nullable="1" | |
| 17972 | 20498 | allow-none="1"> | |
| 17973 | 20499 | <doc xml:space="preserve" | |
| 17974 | - | filename="gobject-2.0.c" | |
| 17975 | - | line="7404">pointer value to be set</doc> | |
| 20500 | + | filename="gobject/gvaluetypes.c" | |
| 20501 | + | line="1201">pointer value to be set</doc> | |
| 17976 | 20502 | <type name="gpointer" c:type="gpointer"/> | |
| 17977 | 20503 | </parameter> | |
| 17978 | 20504 | </parameters> | |
| 17979 | 20505 | </method> | |
| 17980 | 20506 | <method name="set_schar" c:identifier="g_value_set_schar" version="2.32"> | |
| 17981 | 20507 | <doc xml:space="preserve" | |
| 17982 | - | filename="gobject-2.0.c" | |
| 17983 | - | line="7410">Set the contents of a %G_TYPE_CHAR #GValue to @v_char.</doc> | |
| 17984 | - | <source-position filename="gvaluetypes.h" line="197"/> | |
| 20508 | + | filename="gobject/gvaluetypes.c" | |
| 20509 | + | line="666">Set the contents of a %G_TYPE_CHAR #GValue to @v_char.</doc> | |
| 20510 | + | <source-position filename="gobject/gvaluetypes.h" line="199"/> | |
| 17985 | 20511 | <return-value transfer-ownership="none"> | |
| 17986 | 20512 | <type name="none" c:type="void"/> | |
| 17987 | 20513 | </return-value> | |
| 17988 | 20514 | <parameters> | |
| 17989 | 20515 | <instance-parameter name="value" transfer-ownership="none"> | |
| 17990 | 20516 | <doc xml:space="preserve" | |
| 17991 | - | filename="gobject-2.0.c" | |
| 17992 | - | line="7412">a valid #GValue of type %G_TYPE_CHAR</doc> | |
| 20517 | + | filename="gobject/gvaluetypes.c" | |
| 20518 | + | line="668">a valid #GValue of type %G_TYPE_CHAR</doc> | |
| 17993 | 20519 | <type name="Value" c:type="GValue*"/> | |
| 17994 | 20520 | </instance-parameter> | |
| 17995 | 20521 | <parameter name="v_char" transfer-ownership="none"> | |
| 17996 | 20522 | <doc xml:space="preserve" | |
| 17997 | - | filename="gobject-2.0.c" | |
| 17998 | - | line="7413">signed 8 bit integer to be set</doc> | |
| 20523 | + | filename="gobject/gvaluetypes.c" | |
| 20524 | + | line="669">signed 8 bit integer to be set</doc> | |
| 17999 | 20525 | <type name="gint8" c:type="gint8"/> | |
| 18000 | 20526 | </parameter> | |
| 18001 | 20527 | </parameters> | |
| 18002 | 20528 | </method> | |
| 18003 | 20529 | <method name="set_static_boxed" c:identifier="g_value_set_static_boxed"> | |
| 18004 | 20530 | <doc xml:space="preserve" | |
| 18005 | - | filename="gobject-2.0.c" | |
| 18006 | - | line="7421">Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed. | |
| 20531 | + | filename="gobject/gboxed.c" | |
| 20532 | + | line="489">Set the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed. | |
| 18007 | 20533 | ||
| 18008 | 20534 | The boxed value is assumed to be static, and is thus not duplicated | |
| 18009 | 20535 | when setting the #GValue.</doc> | |
| 18010 | - | <source-position filename="gboxed.h" line="79"/> | |
| 20536 | + | <source-position filename="gobject/gboxed.h" line="81"/> | |
| 18011 | 20537 | <return-value transfer-ownership="none"> | |
| 18012 | 20538 | <type name="none" c:type="void"/> | |
| 18013 | 20539 | </return-value> | |
| 18014 | 20540 | <parameters> | |
| 18015 | 20541 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18016 | 20542 | <doc xml:space="preserve" | |
| 18017 | - | filename="gobject-2.0.c" | |
| 18018 | - | line="7423">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 20543 | + | filename="gobject/gboxed.c" | |
| 20544 | + | line="491">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 18019 | 20545 | <type name="Value" c:type="GValue*"/> | |
| 18020 | 20546 | </instance-parameter> | |
| 18021 | 20547 | <parameter name="v_boxed" | |
| @@ -18023,8 +20549,8 @@ when setting the #GValue.</doc> | |||
| 18023 | 20549 | nullable="1" | |
| 18024 | 20550 | allow-none="1"> | |
| 18025 | 20551 | <doc xml:space="preserve" | |
| 18026 | - | filename="gobject-2.0.c" | |
| 18027 | - | line="7424">static boxed value to be set</doc> | |
| 20552 | + | filename="gobject/gboxed.c" | |
| 20553 | + | line="492">static boxed value to be set</doc> | |
| 18028 | 20554 | <type name="gpointer" c:type="gconstpointer"/> | |
| 18029 | 20555 | </parameter> | |
| 18030 | 20556 | </parameters> | |
| @@ -18032,22 +20558,22 @@ when setting the #GValue.</doc> | |||
| 18032 | 20558 | <method name="set_static_string" | |
| 18033 | 20559 | c:identifier="g_value_set_static_string"> | |
| 18034 | 20560 | <doc xml:space="preserve" | |
| 18035 | - | filename="gobject-2.0.c" | |
| 18036 | - | line="7433">Set the contents of a %G_TYPE_STRING #GValue to @v_string. | |
| 20561 | + | filename="gobject/gvaluetypes.c" | |
| 20562 | + | line="1046">Set the contents of a %G_TYPE_STRING #GValue to @v_string. | |
| 18037 | 20563 | The string is assumed to be static, and is thus not duplicated | |
| 18038 | 20564 | when setting the #GValue. | |
| 18039 | 20565 | ||
| 18040 | 20566 | If the the string is a canonical string, using g_value_set_interned_string() | |
| 18041 | 20567 | is more appropriate.</doc> | |
| 18042 | - | <source-position filename="gvaluetypes.h" line="255"/> | |
| 20568 | + | <source-position filename="gobject/gvaluetypes.h" line="257"/> | |
| 18043 | 20569 | <return-value transfer-ownership="none"> | |
| 18044 | 20570 | <type name="none" c:type="void"/> | |
| 18045 | 20571 | </return-value> | |
| 18046 | 20572 | <parameters> | |
| 18047 | 20573 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18048 | 20574 | <doc xml:space="preserve" | |
| 18049 | - | filename="gobject-2.0.c" | |
| 18050 | - | line="7435">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 20575 | + | filename="gobject/gvaluetypes.c" | |
| 20576 | + | line="1048">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 18051 | 20577 | <type name="Value" c:type="GValue*"/> | |
| 18052 | 20578 | </instance-parameter> | |
| 18053 | 20579 | <parameter name="v_string" | |
| @@ -18055,25 +20581,25 @@ is more appropriate.</doc> | |||
| 18055 | 20581 | nullable="1" | |
| 18056 | 20582 | allow-none="1"> | |
| 18057 | 20583 | <doc xml:space="preserve" | |
| 18058 | - | filename="gobject-2.0.c" | |
| 18059 | - | line="7436">static string to be set</doc> | |
| 20584 | + | filename="gobject/gvaluetypes.c" | |
| 20585 | + | line="1049">static string to be set</doc> | |
| 18060 | 20586 | <type name="utf8" c:type="const gchar*"/> | |
| 18061 | 20587 | </parameter> | |
| 18062 | 20588 | </parameters> | |
| 18063 | 20589 | </method> | |
| 18064 | 20590 | <method name="set_string" c:identifier="g_value_set_string"> | |
| 18065 | 20591 | <doc xml:space="preserve" | |
| 18066 | - | filename="gobject-2.0.c" | |
| 18067 | - | line="7447">Set the contents of a %G_TYPE_STRING #GValue to a copy of @v_string.</doc> | |
| 18068 | - | <source-position filename="gvaluetypes.h" line="252"/> | |
| 20592 | + | filename="gobject/gvaluetypes.c" | |
| 20593 | + | line="1021">Set the contents of a %G_TYPE_STRING #GValue to a copy of @v_string.</doc> | |
| 20594 | + | <source-position filename="gobject/gvaluetypes.h" line="254"/> | |
| 18069 | 20595 | <return-value transfer-ownership="none"> | |
| 18070 | 20596 | <type name="none" c:type="void"/> | |
| 18071 | 20597 | </return-value> | |
| 18072 | 20598 | <parameters> | |
| 18073 | 20599 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18074 | 20600 | <doc xml:space="preserve" | |
| 18075 | - | filename="gobject-2.0.c" | |
| 18076 | - | line="7449">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 20601 | + | filename="gobject/gvaluetypes.c" | |
| 20602 | + | line="1023">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 18077 | 20603 | <type name="Value" c:type="GValue*"/> | |
| 18078 | 20604 | </instance-parameter> | |
| 18079 | 20605 | <parameter name="v_string" | |
| @@ -18081,8 +20607,8 @@ is more appropriate.</doc> | |||
| 18081 | 20607 | nullable="1" | |
| 18082 | 20608 | allow-none="1"> | |
| 18083 | 20609 | <doc xml:space="preserve" | |
| 18084 | - | filename="gobject-2.0.c" | |
| 18085 | - | line="7450">caller-owned string to be duplicated for the #GValue</doc> | |
| 20610 | + | filename="gobject/gvaluetypes.c" | |
| 20611 | + | line="1024">caller-owned string to be duplicated for the #GValue</doc> | |
| 18086 | 20612 | <type name="utf8" c:type="const gchar*"/> | |
| 18087 | 20613 | </parameter> | |
| 18088 | 20614 | </parameters> | |
| @@ -18092,18 +20618,18 @@ is more appropriate.</doc> | |||
| 18092 | 20618 | deprecated="1" | |
| 18093 | 20619 | deprecated-version="2.4"> | |
| 18094 | 20620 | <doc xml:space="preserve" | |
| 18095 | - | filename="gobject-2.0.c" | |
| 18096 | - | line="7456">This is an internal function introduced mainly for C marshallers.</doc> | |
| 20621 | + | filename="gobject/gvaluetypes.c" | |
| 20622 | + | line="1093">This is an internal function introduced mainly for C marshallers.</doc> | |
| 18097 | 20623 | <doc-deprecated xml:space="preserve">Use g_value_take_string() instead.</doc-deprecated> | |
| 18098 | - | <source-position filename="gvaluetypes.h" line="301"/> | |
| 20624 | + | <source-position filename="gobject/gvaluetypes.h" line="305"/> | |
| 18099 | 20625 | <return-value transfer-ownership="none"> | |
| 18100 | 20626 | <type name="none" c:type="void"/> | |
| 18101 | 20627 | </return-value> | |
| 18102 | 20628 | <parameters> | |
| 18103 | 20629 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18104 | 20630 | <doc xml:space="preserve" | |
| 18105 | - | filename="gobject-2.0.c" | |
| 18106 | - | line="7458">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 20631 | + | filename="gobject/gvaluetypes.c" | |
| 20632 | + | line="1095">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 18107 | 20633 | <type name="Value" c:type="GValue*"/> | |
| 18108 | 20634 | </instance-parameter> | |
| 18109 | 20635 | <parameter name="v_string" | |
| @@ -18111,100 +20637,100 @@ is more appropriate.</doc> | |||
| 18111 | 20637 | nullable="1" | |
| 18112 | 20638 | allow-none="1"> | |
| 18113 | 20639 | <doc xml:space="preserve" | |
| 18114 | - | filename="gobject-2.0.c" | |
| 18115 | - | line="7459">duplicated unowned string to be set</doc> | |
| 20640 | + | filename="gobject/gvaluetypes.c" | |
| 20641 | + | line="1096">duplicated unowned string to be set</doc> | |
| 18116 | 20642 | <type name="utf8" c:type="gchar*"/> | |
| 18117 | 20643 | </parameter> | |
| 18118 | 20644 | </parameters> | |
| 18119 | 20645 | </method> | |
| 18120 | 20646 | <method name="set_uchar" c:identifier="g_value_set_uchar"> | |
| 18121 | 20647 | <doc xml:space="preserve" | |
| 18122 | - | filename="gobject-2.0.c" | |
| 18123 | - | line="7467">Set the contents of a %G_TYPE_UCHAR #GValue to @v_uchar.</doc> | |
| 18124 | - | <source-position filename="gvaluetypes.h" line="202"/> | |
| 20648 | + | filename="gobject/gvaluetypes.c" | |
| 20649 | + | line="701">Set the contents of a %G_TYPE_UCHAR #GValue to @v_uchar.</doc> | |
| 20650 | + | <source-position filename="gobject/gvaluetypes.h" line="204"/> | |
| 18125 | 20651 | <return-value transfer-ownership="none"> | |
| 18126 | 20652 | <type name="none" c:type="void"/> | |
| 18127 | 20653 | </return-value> | |
| 18128 | 20654 | <parameters> | |
| 18129 | 20655 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18130 | 20656 | <doc xml:space="preserve" | |
| 18131 | - | filename="gobject-2.0.c" | |
| 18132 | - | line="7469">a valid #GValue of type %G_TYPE_UCHAR</doc> | |
| 20657 | + | filename="gobject/gvaluetypes.c" | |
| 20658 | + | line="703">a valid #GValue of type %G_TYPE_UCHAR</doc> | |
| 18133 | 20659 | <type name="Value" c:type="GValue*"/> | |
| 18134 | 20660 | </instance-parameter> | |
| 18135 | 20661 | <parameter name="v_uchar" transfer-ownership="none"> | |
| 18136 | 20662 | <doc xml:space="preserve" | |
| 18137 | - | filename="gobject-2.0.c" | |
| 18138 | - | line="7470">unsigned character value to be set</doc> | |
| 20663 | + | filename="gobject/gvaluetypes.c" | |
| 20664 | + | line="704">unsigned character value to be set</doc> | |
| 18139 | 20665 | <type name="guint8" c:type="guchar"/> | |
| 18140 | 20666 | </parameter> | |
| 18141 | 20667 | </parameters> | |
| 18142 | 20668 | </method> | |
| 18143 | 20669 | <method name="set_uint" c:identifier="g_value_set_uint"> | |
| 18144 | 20670 | <doc xml:space="preserve" | |
| 18145 | - | filename="gobject-2.0.c" | |
| 18146 | - | line="7476">Set the contents of a %G_TYPE_UINT #GValue to @v_uint.</doc> | |
| 18147 | - | <source-position filename="gvaluetypes.h" line="217"/> | |
| 20671 | + | filename="gobject/gvaluetypes.c" | |
| 20672 | + | line="797">Set the contents of a %G_TYPE_UINT #GValue to @v_uint.</doc> | |
| 20673 | + | <source-position filename="gobject/gvaluetypes.h" line="219"/> | |
| 18148 | 20674 | <return-value transfer-ownership="none"> | |
| 18149 | 20675 | <type name="none" c:type="void"/> | |
| 18150 | 20676 | </return-value> | |
| 18151 | 20677 | <parameters> | |
| 18152 | 20678 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18153 | 20679 | <doc xml:space="preserve" | |
| 18154 | - | filename="gobject-2.0.c" | |
| 18155 | - | line="7478">a valid #GValue of type %G_TYPE_UINT</doc> | |
| 20680 | + | filename="gobject/gvaluetypes.c" | |
| 20681 | + | line="799">a valid #GValue of type %G_TYPE_UINT</doc> | |
| 18156 | 20682 | <type name="Value" c:type="GValue*"/> | |
| 18157 | 20683 | </instance-parameter> | |
| 18158 | 20684 | <parameter name="v_uint" transfer-ownership="none"> | |
| 18159 | 20685 | <doc xml:space="preserve" | |
| 18160 | - | filename="gobject-2.0.c" | |
| 18161 | - | line="7479">unsigned integer value to be set</doc> | |
| 20686 | + | filename="gobject/gvaluetypes.c" | |
| 20687 | + | line="800">unsigned integer value to be set</doc> | |
| 18162 | 20688 | <type name="guint" c:type="guint"/> | |
| 18163 | 20689 | </parameter> | |
| 18164 | 20690 | </parameters> | |
| 18165 | 20691 | </method> | |
| 18166 | 20692 | <method name="set_uint64" c:identifier="g_value_set_uint64"> | |
| 18167 | 20693 | <doc xml:space="preserve" | |
| 18168 | - | filename="gobject-2.0.c" | |
| 18169 | - | line="7485">Set the contents of a %G_TYPE_UINT64 #GValue to @v_uint64.</doc> | |
| 18170 | - | <source-position filename="gvaluetypes.h" line="237"/> | |
| 20694 | + | filename="gobject/gvaluetypes.c" | |
| 20695 | + | line="925">Set the contents of a %G_TYPE_UINT64 #GValue to @v_uint64.</doc> | |
| 20696 | + | <source-position filename="gobject/gvaluetypes.h" line="239"/> | |
| 18171 | 20697 | <return-value transfer-ownership="none"> | |
| 18172 | 20698 | <type name="none" c:type="void"/> | |
| 18173 | 20699 | </return-value> | |
| 18174 | 20700 | <parameters> | |
| 18175 | 20701 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18176 | 20702 | <doc xml:space="preserve" | |
| 18177 | - | filename="gobject-2.0.c" | |
| 18178 | - | line="7487">a valid #GValue of type %G_TYPE_UINT64</doc> | |
| 20703 | + | filename="gobject/gvaluetypes.c" | |
| 20704 | + | line="927">a valid #GValue of type %G_TYPE_UINT64</doc> | |
| 18179 | 20705 | <type name="Value" c:type="GValue*"/> | |
| 18180 | 20706 | </instance-parameter> | |
| 18181 | 20707 | <parameter name="v_uint64" transfer-ownership="none"> | |
| 18182 | 20708 | <doc xml:space="preserve" | |
| 18183 | - | filename="gobject-2.0.c" | |
| 18184 | - | line="7488">unsigned 64bit integer value to be set</doc> | |
| 20709 | + | filename="gobject/gvaluetypes.c" | |
| 20710 | + | line="928">unsigned 64bit integer value to be set</doc> | |
| 18185 | 20711 | <type name="guint64" c:type="guint64"/> | |
| 18186 | 20712 | </parameter> | |
| 18187 | 20713 | </parameters> | |
| 18188 | 20714 | </method> | |
| 18189 | 20715 | <method name="set_ulong" c:identifier="g_value_set_ulong"> | |
| 18190 | 20716 | <doc xml:space="preserve" | |
| 18191 | - | filename="gobject-2.0.c" | |
| 18192 | - | line="7494">Set the contents of a %G_TYPE_ULONG #GValue to @v_ulong.</doc> | |
| 18193 | - | <source-position filename="gvaluetypes.h" line="227"/> | |
| 20717 | + | filename="gobject/gvaluetypes.c" | |
| 20718 | + | line="861">Set the contents of a %G_TYPE_ULONG #GValue to @v_ulong.</doc> | |
| 20719 | + | <source-position filename="gobject/gvaluetypes.h" line="229"/> | |
| 18194 | 20720 | <return-value transfer-ownership="none"> | |
| 18195 | 20721 | <type name="none" c:type="void"/> | |
| 18196 | 20722 | </return-value> | |
| 18197 | 20723 | <parameters> | |
| 18198 | 20724 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18199 | 20725 | <doc xml:space="preserve" | |
| 18200 | - | filename="gobject-2.0.c" | |
| 18201 | - | line="7496">a valid #GValue of type %G_TYPE_ULONG</doc> | |
| 20726 | + | filename="gobject/gvaluetypes.c" | |
| 20727 | + | line="863">a valid #GValue of type %G_TYPE_ULONG</doc> | |
| 18202 | 20728 | <type name="Value" c:type="GValue*"/> | |
| 18203 | 20729 | </instance-parameter> | |
| 18204 | 20730 | <parameter name="v_ulong" transfer-ownership="none"> | |
| 18205 | 20731 | <doc xml:space="preserve" | |
| 18206 | - | filename="gobject-2.0.c" | |
| 18207 | - | line="7497">unsigned long integer value to be set</doc> | |
| 20732 | + | filename="gobject/gvaluetypes.c" | |
| 20733 | + | line="864">unsigned long integer value to be set</doc> | |
| 18208 | 20734 | <type name="gulong" c:type="gulong"/> | |
| 18209 | 20735 | </parameter> | |
| 18210 | 20736 | </parameters> | |
| @@ -18213,18 +20739,18 @@ is more appropriate.</doc> | |||
| 18213 | 20739 | c:identifier="g_value_set_variant" | |
| 18214 | 20740 | version="2.26"> | |
| 18215 | 20741 | <doc xml:space="preserve" | |
| 18216 | - | filename="gobject-2.0.c" | |
| 18217 | - | line="7503">Set the contents of a variant #GValue to @variant. | |
| 20742 | + | filename="gobject/gvaluetypes.c" | |
| 20743 | + | line="1269">Set the contents of a variant #GValue to @variant. | |
| 18218 | 20744 | If the variant is floating, it is consumed.</doc> | |
| 18219 | - | <source-position filename="gvaluetypes.h" line="277"/> | |
| 20745 | + | <source-position filename="gobject/gvaluetypes.h" line="281"/> | |
| 18220 | 20746 | <return-value transfer-ownership="none"> | |
| 18221 | 20747 | <type name="none" c:type="void"/> | |
| 18222 | 20748 | </return-value> | |
| 18223 | 20749 | <parameters> | |
| 18224 | 20750 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18225 | 20751 | <doc xml:space="preserve" | |
| 18226 | - | filename="gobject-2.0.c" | |
| 18227 | - | line="7505">a valid #GValue of type %G_TYPE_VARIANT</doc> | |
| 20752 | + | filename="gobject/gvaluetypes.c" | |
| 20753 | + | line="1271">a valid #GValue of type %G_TYPE_VARIANT</doc> | |
| 18228 | 20754 | <type name="Value" c:type="GValue*"/> | |
| 18229 | 20755 | </instance-parameter> | |
| 18230 | 20756 | <parameter name="variant" | |
| @@ -18232,29 +20758,60 @@ If the variant is floating, it is consumed.</doc> | |||
| 18232 | 20758 | nullable="1" | |
| 18233 | 20759 | allow-none="1"> | |
| 18234 | 20760 | <doc xml:space="preserve" | |
| 18235 | - | filename="gobject-2.0.c" | |
| 18236 | - | line="7506">a #GVariant, or %NULL</doc> | |
| 18237 | - | <type name="GLib.Variant" c:type="GVariant*"/> | |
| 18238 | - | </parameter> | |
| 20761 | + | filename="gobject/gvaluetypes.c" | |
| 20762 | + | line="1272">a #GVariant, or %NULL</doc> | |
| 20763 | + | <type name="GLib.Variant" c:type="GVariant*"/> | |
| 20764 | + | </parameter> | |
| 20765 | + | </parameters> | |
| 20766 | + | </method> | |
| 20767 | + | <method name="steal_string" | |
| 20768 | + | c:identifier="g_value_steal_string" | |
| 20769 | + | version="2.80"> | |
| 20770 | + | <doc xml:space="preserve" | |
| 20771 | + | filename="gobject/gvaluetypes.c" | |
| 20772 | + | line="1163">Steal ownership on contents of a %G_TYPE_STRING #GValue. | |
| 20773 | + | As a result of this operation the value's contents will be reset to %NULL. | |
| 20774 | + | ||
| 20775 | + | The purpose of this call is to provide a way to avoid an extra copy | |
| 20776 | + | when some object have been serialized into string through #GValue API. | |
| 20777 | + | ||
| 20778 | + | NOTE: for safety and compatibility purposes, if #GValue contains | |
| 20779 | + | static string, or an interned one, this function will return a copy | |
| 20780 | + | of the string. Otherwise the transfer notation would be ambiguous.</doc> | |
| 20781 | + | <source-position filename="gobject/gvaluetypes.h" line="267"/> | |
| 20782 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 20783 | + | <doc xml:space="preserve" | |
| 20784 | + | filename="gobject/gvaluetypes.c" | |
| 20785 | + | line="1177">string content of @value; | |
| 20786 | + | Should be freed with g_free() when no longer needed.</doc> | |
| 20787 | + | <type name="utf8" c:type="gchar*"/> | |
| 20788 | + | </return-value> | |
| 20789 | + | <parameters> | |
| 20790 | + | <instance-parameter name="value" transfer-ownership="none"> | |
| 20791 | + | <doc xml:space="preserve" | |
| 20792 | + | filename="gobject/gvaluetypes.c" | |
| 20793 | + | line="1165">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 20794 | + | <type name="Value" c:type="GValue*"/> | |
| 20795 | + | </instance-parameter> | |
| 18239 | 20796 | </parameters> | |
| 18240 | 20797 | </method> | |
| 18241 | 20798 | <method name="take_boxed" | |
| 18242 | 20799 | c:identifier="g_value_take_boxed" | |
| 18243 | 20800 | version="2.4"> | |
| 18244 | 20801 | <doc xml:space="preserve" | |
| 18245 | - | filename="gobject-2.0.c" | |
| 18246 | - | line="7515">Sets the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed | |
| 20802 | + | filename="gobject/gboxed.c" | |
| 20803 | + | line="525">Sets the contents of a %G_TYPE_BOXED derived #GValue to @v_boxed | |
| 18247 | 20804 | and takes over the ownership of the caller’s reference to @v_boxed; | |
| 18248 | 20805 | the caller doesn’t have to unref it any more.</doc> | |
| 18249 | - | <source-position filename="gboxed.h" line="82"/> | |
| 20806 | + | <source-position filename="gobject/gboxed.h" line="84"/> | |
| 18250 | 20807 | <return-value transfer-ownership="none"> | |
| 18251 | 20808 | <type name="none" c:type="void"/> | |
| 18252 | 20809 | </return-value> | |
| 18253 | 20810 | <parameters> | |
| 18254 | 20811 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18255 | 20812 | <doc xml:space="preserve" | |
| 18256 | - | filename="gobject-2.0.c" | |
| 18257 | - | line="7517">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 20813 | + | filename="gobject/gboxed.c" | |
| 20814 | + | line="527">a valid #GValue of %G_TYPE_BOXED derived type</doc> | |
| 18258 | 20815 | <type name="Value" c:type="GValue*"/> | |
| 18259 | 20816 | </instance-parameter> | |
| 18260 | 20817 | <parameter name="v_boxed" | |
| @@ -18262,8 +20819,8 @@ the caller doesn’t have to unref it any more.</doc> | |||
| 18262 | 20819 | nullable="1" | |
| 18263 | 20820 | allow-none="1"> | |
| 18264 | 20821 | <doc xml:space="preserve" | |
| 18265 | - | filename="gobject-2.0.c" | |
| 18266 | - | line="7518">duplicated unowned boxed value to be set</doc> | |
| 20822 | + | filename="gobject/gboxed.c" | |
| 20823 | + | line="528">duplicated unowned boxed value to be set</doc> | |
| 18267 | 20824 | <type name="gpointer" c:type="gconstpointer"/> | |
| 18268 | 20825 | </parameter> | |
| 18269 | 20826 | </parameters> | |
| @@ -18273,23 +20830,23 @@ the caller doesn’t have to unref it any more.</doc> | |||
| 18273 | 20830 | version="2.4" | |
| 18274 | 20831 | introspectable="0"> | |
| 18275 | 20832 | <doc xml:space="preserve" | |
| 18276 | - | filename="gobject-2.0.c" | |
| 18277 | - | line="7528">Sets the contents of a %G_TYPE_OBJECT derived #GValue to @v_object | |
| 20833 | + | filename="gobject/gobject.c" | |
| 20834 | + | line="5096">Sets the contents of a %G_TYPE_OBJECT derived #GValue to @v_object | |
| 18278 | 20835 | and takes over the ownership of the caller’s reference to @v_object; | |
| 18279 | 20836 | the caller doesn’t have to unref it any more (i.e. the reference | |
| 18280 | 20837 | count of the object is not increased). | |
| 18281 | 20838 | ||
| 18282 | 20839 | If you want the #GValue to hold its own reference to @v_object, use | |
| 18283 | 20840 | g_value_set_object() instead.</doc> | |
| 18284 | - | <source-position filename="gobject.h" line="665"/> | |
| 20841 | + | <source-position filename="gobject/gobject.h" line="657"/> | |
| 18285 | 20842 | <return-value transfer-ownership="none"> | |
| 18286 | 20843 | <type name="none" c:type="void"/> | |
| 18287 | 20844 | </return-value> | |
| 18288 | 20845 | <parameters> | |
| 18289 | 20846 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18290 | 20847 | <doc xml:space="preserve" | |
| 18291 | - | filename="gobject-2.0.c" | |
| 18292 | - | line="7530">a valid #GValue of %G_TYPE_OBJECT derived type</doc> | |
| 20848 | + | filename="gobject/gobject.c" | |
| 20849 | + | line="5098">a valid #GValue of %G_TYPE_OBJECT derived type</doc> | |
| 18293 | 20850 | <type name="Value" c:type="GValue*"/> | |
| 18294 | 20851 | </instance-parameter> | |
| 18295 | 20852 | <parameter name="v_object" | |
| @@ -18297,8 +20854,8 @@ g_value_set_object() instead.</doc> | |||
| 18297 | 20854 | nullable="1" | |
| 18298 | 20855 | allow-none="1"> | |
| 18299 | 20856 | <doc xml:space="preserve" | |
| 18300 | - | filename="gobject-2.0.c" | |
| 18301 | - | line="7531">object value to be set</doc> | |
| 20857 | + | filename="gobject/gobject.c" | |
| 20858 | + | line="5099">object value to be set</doc> | |
| 18302 | 20859 | <type name="gpointer" c:type="gpointer"/> | |
| 18303 | 20860 | </parameter> | |
| 18304 | 20861 | </parameters> | |
| @@ -18308,19 +20865,19 @@ g_value_set_object() instead.</doc> | |||
| 18308 | 20865 | version="2.4" | |
| 18309 | 20866 | introspectable="0"> | |
| 18310 | 20867 | <doc xml:space="preserve" | |
| 18311 | - | filename="gobject-2.0.c" | |
| 18312 | - | line="7545">Sets the contents of a %G_TYPE_PARAM #GValue to @param and takes | |
| 20868 | + | filename="gobject/gparam.c" | |
| 20869 | + | line="1563">Sets the contents of a %G_TYPE_PARAM #GValue to @param and takes | |
| 18313 | 20870 | over the ownership of the caller’s reference to @param; the caller | |
| 18314 | 20871 | doesn’t have to unref it any more.</doc> | |
| 18315 | - | <source-position filename="gparam.h" line="341"/> | |
| 20872 | + | <source-position filename="gobject/gparam.h" line="351"/> | |
| 18316 | 20873 | <return-value transfer-ownership="none"> | |
| 18317 | 20874 | <type name="none" c:type="void"/> | |
| 18318 | 20875 | </return-value> | |
| 18319 | 20876 | <parameters> | |
| 18320 | 20877 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18321 | 20878 | <doc xml:space="preserve" | |
| 18322 | - | filename="gobject-2.0.c" | |
| 18323 | - | line="7547">a valid #GValue of type %G_TYPE_PARAM</doc> | |
| 20879 | + | filename="gobject/gparam.c" | |
| 20880 | + | line="1565">a valid #GValue of type %G_TYPE_PARAM</doc> | |
| 18324 | 20881 | <type name="Value" c:type="GValue*"/> | |
| 18325 | 20882 | </instance-parameter> | |
| 18326 | 20883 | <parameter name="param" | |
| @@ -18328,8 +20885,8 @@ doesn’t have to unref it any more.</doc> | |||
| 18328 | 20885 | nullable="1" | |
| 18329 | 20886 | allow-none="1"> | |
| 18330 | 20887 | <doc xml:space="preserve" | |
| 18331 | - | filename="gobject-2.0.c" | |
| 18332 | - | line="7548">the #GParamSpec to be set</doc> | |
| 20888 | + | filename="gobject/gparam.c" | |
| 20889 | + | line="1566">the #GParamSpec to be set</doc> | |
| 18333 | 20890 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 18334 | 20891 | </parameter> | |
| 18335 | 20892 | </parameters> | |
| @@ -18338,26 +20895,26 @@ doesn’t have to unref it any more.</doc> | |||
| 18338 | 20895 | c:identifier="g_value_take_string" | |
| 18339 | 20896 | version="2.4"> | |
| 18340 | 20897 | <doc xml:space="preserve" | |
| 18341 | - | filename="gobject-2.0.c" | |
| 18342 | - | line="7558">Sets the contents of a %G_TYPE_STRING #GValue to @v_string.</doc> | |
| 18343 | - | <source-position filename="gvaluetypes.h" line="298"/> | |
| 20898 | + | filename="gobject/gvaluetypes.c" | |
| 20899 | + | line="1109">Sets the contents of a %G_TYPE_STRING #GValue to @v_string.</doc> | |
| 20900 | + | <source-position filename="gobject/gvaluetypes.h" line="302"/> | |
| 18344 | 20901 | <return-value transfer-ownership="none"> | |
| 18345 | 20902 | <type name="none" c:type="void"/> | |
| 18346 | 20903 | </return-value> | |
| 18347 | 20904 | <parameters> | |
| 18348 | 20905 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18349 | 20906 | <doc xml:space="preserve" | |
| 18350 | - | filename="gobject-2.0.c" | |
| 18351 | - | line="7560">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 20907 | + | filename="gobject/gvaluetypes.c" | |
| 20908 | + | line="1111">a valid #GValue of type %G_TYPE_STRING</doc> | |
| 18352 | 20909 | <type name="Value" c:type="GValue*"/> | |
| 18353 | 20910 | </instance-parameter> | |
| 18354 | 20911 | <parameter name="v_string" | |
| 18355 | - | transfer-ownership="none" | |
| 20912 | + | transfer-ownership="full" | |
| 18356 | 20913 | nullable="1" | |
| 18357 | 20914 | allow-none="1"> | |
| 18358 | 20915 | <doc xml:space="preserve" | |
| 18359 | - | filename="gobject-2.0.c" | |
| 18360 | - | line="7561">string to take ownership of</doc> | |
| 20916 | + | filename="gobject/gvaluetypes.c" | |
| 20917 | + | line="1112">string to take ownership of</doc> | |
| 18361 | 20918 | <type name="utf8" c:type="gchar*"/> | |
| 18362 | 20919 | </parameter> | |
| 18363 | 20920 | </parameters> | |
| @@ -18366,8 +20923,8 @@ doesn’t have to unref it any more.</doc> | |||
| 18366 | 20923 | c:identifier="g_value_take_variant" | |
| 18367 | 20924 | version="2.26"> | |
| 18368 | 20925 | <doc xml:space="preserve" | |
| 18369 | - | filename="gobject-2.0.c" | |
| 18370 | - | line="7569">Set the contents of a variant #GValue to @variant, and takes over | |
| 20926 | + | filename="gobject/gvaluetypes.c" | |
| 20927 | + | line="1298">Set the contents of a variant #GValue to @variant, and takes over | |
| 18371 | 20928 | the ownership of the caller's reference to @variant; | |
| 18372 | 20929 | the caller doesn't have to unref it any more (i.e. the reference | |
| 18373 | 20930 | count of the variant is not increased). | |
| @@ -18379,15 +20936,15 @@ If you want the #GValue to hold its own reference to @variant, use | |||
| 18379 | 20936 | g_value_set_variant() instead. | |
| 18380 | 20937 | ||
| 18381 | 20938 | This is an internal function introduced mainly for C marshallers.</doc> | |
| 18382 | - | <source-position filename="gvaluetypes.h" line="280"/> | |
| 20939 | + | <source-position filename="gobject/gvaluetypes.h" line="284"/> | |
| 18383 | 20940 | <return-value transfer-ownership="none"> | |
| 18384 | 20941 | <type name="none" c:type="void"/> | |
| 18385 | 20942 | </return-value> | |
| 18386 | 20943 | <parameters> | |
| 18387 | 20944 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18388 | 20945 | <doc xml:space="preserve" | |
| 18389 | - | filename="gobject-2.0.c" | |
| 18390 | - | line="7571">a valid #GValue of type %G_TYPE_VARIANT</doc> | |
| 20946 | + | filename="gobject/gvaluetypes.c" | |
| 20947 | + | line="1300">a valid #GValue of type %G_TYPE_VARIANT</doc> | |
| 18391 | 20948 | <type name="Value" c:type="GValue*"/> | |
| 18392 | 20949 | </instance-parameter> | |
| 18393 | 20950 | <parameter name="variant" | |
| @@ -18395,61 +20952,61 @@ This is an internal function introduced mainly for C marshallers.</doc> | |||
| 18395 | 20952 | nullable="1" | |
| 18396 | 20953 | allow-none="1"> | |
| 18397 | 20954 | <doc xml:space="preserve" | |
| 18398 | - | filename="gobject-2.0.c" | |
| 18399 | - | line="7572">a #GVariant, or %NULL</doc> | |
| 20955 | + | filename="gobject/gvaluetypes.c" | |
| 20956 | + | line="1301">a #GVariant, or %NULL</doc> | |
| 18400 | 20957 | <type name="GLib.Variant" c:type="GVariant*"/> | |
| 18401 | 20958 | </parameter> | |
| 18402 | 20959 | </parameters> | |
| 18403 | 20960 | </method> | |
| 18404 | 20961 | <method name="transform" c:identifier="g_value_transform"> | |
| 18405 | 20962 | <doc xml:space="preserve" | |
| 18406 | - | filename="gobject-2.0.c" | |
| 18407 | - | line="7591">Tries to cast the contents of @src_value into a type appropriate | |
| 20963 | + | filename="gobject/gvalue.c" | |
| 20964 | + | line="513">Tries to cast the contents of @src_value into a type appropriate | |
| 18408 | 20965 | to store in @dest_value, e.g. to transform a %G_TYPE_INT value | |
| 18409 | 20966 | into a %G_TYPE_FLOAT value. Performing transformations between | |
| 18410 | 20967 | value types might incur precision lossage. Especially | |
| 18411 | 20968 | transformations into strings might reveal seemingly arbitrary | |
| 18412 | 20969 | results and shouldn't be relied upon for production code (such | |
| 18413 | 20970 | as rcfile value or object property serialization).</doc> | |
| 18414 | - | <source-position filename="gvalue.h" line="165"/> | |
| 20971 | + | <source-position filename="gobject/gvalue.h" line="167"/> | |
| 18415 | 20972 | <return-value transfer-ownership="none"> | |
| 18416 | 20973 | <doc xml:space="preserve" | |
| 18417 | - | filename="gobject-2.0.c" | |
| 18418 | - | line="7604">Whether a transformation rule was found and could be applied. | |
| 20974 | + | filename="gobject/gvalue.c" | |
| 20975 | + | line="526">Whether a transformation rule was found and could be applied. | |
| 18419 | 20976 | Upon failing transformations, @dest_value is left untouched.</doc> | |
| 18420 | 20977 | <type name="gboolean" c:type="gboolean"/> | |
| 18421 | 20978 | </return-value> | |
| 18422 | 20979 | <parameters> | |
| 18423 | 20980 | <instance-parameter name="src_value" transfer-ownership="none"> | |
| 18424 | 20981 | <doc xml:space="preserve" | |
| 18425 | - | filename="gobject-2.0.c" | |
| 18426 | - | line="7593">Source value.</doc> | |
| 20982 | + | filename="gobject/gvalue.c" | |
| 20983 | + | line="515">Source value.</doc> | |
| 18427 | 20984 | <type name="Value" c:type="const GValue*"/> | |
| 18428 | 20985 | </instance-parameter> | |
| 18429 | 20986 | <parameter name="dest_value" transfer-ownership="none"> | |
| 18430 | 20987 | <doc xml:space="preserve" | |
| 18431 | - | filename="gobject-2.0.c" | |
| 18432 | - | line="7594">Target value.</doc> | |
| 20988 | + | filename="gobject/gvalue.c" | |
| 20989 | + | line="516">Target value.</doc> | |
| 18433 | 20990 | <type name="Value" c:type="GValue*"/> | |
| 18434 | 20991 | </parameter> | |
| 18435 | 20992 | </parameters> | |
| 18436 | 20993 | </method> | |
| 18437 | 20994 | <method name="unset" c:identifier="g_value_unset"> | |
| 18438 | 20995 | <doc xml:space="preserve" | |
| 18439 | - | filename="gobject-2.0.c" | |
| 18440 | - | line="7635">Clears the current value in @value (if any) and "unsets" the type, | |
| 20996 | + | filename="gobject/gvalue.c" | |
| 20997 | + | line="174">Clears the current value in @value (if any) and "unsets" the type, | |
| 18441 | 20998 | this releases all resources associated with this GValue. An unset | |
| 18442 | 20999 | value is the same as an uninitialized (zero-filled) #GValue | |
| 18443 | 21000 | structure.</doc> | |
| 18444 | - | <source-position filename="gvalue.h" line="141"/> | |
| 21001 | + | <source-position filename="gobject/gvalue.h" line="143"/> | |
| 18445 | 21002 | <return-value transfer-ownership="none"> | |
| 18446 | 21003 | <type name="none" c:type="void"/> | |
| 18447 | 21004 | </return-value> | |
| 18448 | 21005 | <parameters> | |
| 18449 | 21006 | <instance-parameter name="value" transfer-ownership="none"> | |
| 18450 | 21007 | <doc xml:space="preserve" | |
| 18451 | - | filename="gobject-2.0.c" | |
| 18452 | - | line="7637">An initialized #GValue structure.</doc> | |
| 21008 | + | filename="gobject/gvalue.c" | |
| 21009 | + | line="176">An initialized #GValue structure.</doc> | |
| 18453 | 21010 | <type name="Value" c:type="GValue*"/> | |
| 18454 | 21011 | </instance-parameter> | |
| 18455 | 21012 | </parameters> | |
| @@ -18458,31 +21015,31 @@ structure.</doc> | |||
| 18458 | 21015 | c:identifier="g_value_register_transform_func" | |
| 18459 | 21016 | introspectable="0"> | |
| 18460 | 21017 | <doc xml:space="preserve" | |
| 18461 | - | filename="gobject-2.0.c" | |
| 18462 | - | line="7190">Registers a value transformation function for use in g_value_transform(). | |
| 21018 | + | filename="gobject/gvalue.c" | |
| 21019 | + | line="426">Registers a value transformation function for use in g_value_transform(). | |
| 18463 | 21020 | A previously registered transformation function for @src_type and @dest_type | |
| 18464 | 21021 | will be replaced.</doc> | |
| 18465 | - | <source-position filename="gvalue.h" line="168"/> | |
| 21022 | + | <source-position filename="gobject/gvalue.h" line="170"/> | |
| 18466 | 21023 | <return-value transfer-ownership="none"> | |
| 18467 | 21024 | <type name="none" c:type="void"/> | |
| 18468 | 21025 | </return-value> | |
| 18469 | 21026 | <parameters> | |
| 18470 | 21027 | <parameter name="src_type" transfer-ownership="none"> | |
| 18471 | 21028 | <doc xml:space="preserve" | |
| 18472 | - | filename="gobject-2.0.c" | |
| 18473 | - | line="7192">Source type.</doc> | |
| 21029 | + | filename="gobject/gvalue.c" | |
| 21030 | + | line="428">Source type.</doc> | |
| 18474 | 21031 | <type name="GType" c:type="GType"/> | |
| 18475 | 21032 | </parameter> | |
| 18476 | 21033 | <parameter name="dest_type" transfer-ownership="none"> | |
| 18477 | 21034 | <doc xml:space="preserve" | |
| 18478 | - | filename="gobject-2.0.c" | |
| 18479 | - | line="7193">Target type.</doc> | |
| 21035 | + | filename="gobject/gvalue.c" | |
| 21036 | + | line="429">Target type.</doc> | |
| 18480 | 21037 | <type name="GType" c:type="GType"/> | |
| 18481 | 21038 | </parameter> | |
| 18482 | 21039 | <parameter name="transform_func" transfer-ownership="none"> | |
| 18483 | 21040 | <doc xml:space="preserve" | |
| 18484 | - | filename="gobject-2.0.c" | |
| 18485 | - | line="7194">a function which transforms values of type @src_type | |
| 21041 | + | filename="gobject/gvalue.c" | |
| 21042 | + | line="430">a function which transforms values of type @src_type | |
| 18486 | 21043 | into value of type @dest_type</doc> | |
| 18487 | 21044 | <type name="ValueTransform" c:type="GValueTransform"/> | |
| 18488 | 21045 | </parameter> | |
| @@ -18490,27 +21047,27 @@ will be replaced.</doc> | |||
| 18490 | 21047 | </function> | |
| 18491 | 21048 | <function name="type_compatible" c:identifier="g_value_type_compatible"> | |
| 18492 | 21049 | <doc xml:space="preserve" | |
| 18493 | - | filename="gobject-2.0.c" | |
| 18494 | - | line="7609">Returns whether a #GValue of type @src_type can be copied into | |
| 21050 | + | filename="gobject/gvalue.c" | |
| 21051 | + | line="488">Returns whether a #GValue of type @src_type can be copied into | |
| 18495 | 21052 | a #GValue of type @dest_type.</doc> | |
| 18496 | - | <source-position filename="gvalue.h" line="159"/> | |
| 21053 | + | <source-position filename="gobject/gvalue.h" line="161"/> | |
| 18497 | 21054 | <return-value transfer-ownership="none"> | |
| 18498 | 21055 | <doc xml:space="preserve" | |
| 18499 | - | filename="gobject-2.0.c" | |
| 18500 | - | line="7617">%TRUE if g_value_copy() is possible with @src_type and @dest_type.</doc> | |
| 21056 | + | filename="gobject/gvalue.c" | |
| 21057 | + | line="496">%TRUE if g_value_copy() is possible with @src_type and @dest_type.</doc> | |
| 18501 | 21058 | <type name="gboolean" c:type="gboolean"/> | |
| 18502 | 21059 | </return-value> | |
| 18503 | 21060 | <parameters> | |
| 18504 | 21061 | <parameter name="src_type" transfer-ownership="none"> | |
| 18505 | 21062 | <doc xml:space="preserve" | |
| 18506 | - | filename="gobject-2.0.c" | |
| 18507 | - | line="7611">source type to be copied.</doc> | |
| 21063 | + | filename="gobject/gvalue.c" | |
| 21064 | + | line="490">source type to be copied.</doc> | |
| 18508 | 21065 | <type name="GType" c:type="GType"/> | |
| 18509 | 21066 | </parameter> | |
| 18510 | 21067 | <parameter name="dest_type" transfer-ownership="none"> | |
| 18511 | 21068 | <doc xml:space="preserve" | |
| 18512 | - | filename="gobject-2.0.c" | |
| 18513 | - | line="7612">destination type for copying.</doc> | |
| 21069 | + | filename="gobject/gvalue.c" | |
| 21070 | + | line="491">destination type for copying.</doc> | |
| 18514 | 21071 | <type name="GType" c:type="GType"/> | |
| 18515 | 21072 | </parameter> | |
| 18516 | 21073 | </parameters> | |
| @@ -18518,29 +21075,29 @@ a #GValue of type @dest_type.</doc> | |||
| 18518 | 21075 | <function name="type_transformable" | |
| 18519 | 21076 | c:identifier="g_value_type_transformable"> | |
| 18520 | 21077 | <doc xml:space="preserve" | |
| 18521 | - | filename="gobject-2.0.c" | |
| 18522 | - | line="7621">Check whether g_value_transform() is able to transform values | |
| 21078 | + | filename="gobject/gvalue.c" | |
| 21079 | + | line="465">Check whether g_value_transform() is able to transform values | |
| 18523 | 21080 | of type @src_type into values of type @dest_type. Note that for | |
| 18524 | 21081 | the types to be transformable, they must be compatible or a | |
| 18525 | 21082 | transformation function must be registered.</doc> | |
| 18526 | - | <source-position filename="gvalue.h" line="162"/> | |
| 21083 | + | <source-position filename="gobject/gvalue.h" line="164"/> | |
| 18527 | 21084 | <return-value transfer-ownership="none"> | |
| 18528 | 21085 | <doc xml:space="preserve" | |
| 18529 | - | filename="gobject-2.0.c" | |
| 18530 | - | line="7631">%TRUE if the transformation is possible, %FALSE otherwise.</doc> | |
| 21086 | + | filename="gobject/gvalue.c" | |
| 21087 | + | line="475">%TRUE if the transformation is possible, %FALSE otherwise.</doc> | |
| 18531 | 21088 | <type name="gboolean" c:type="gboolean"/> | |
| 18532 | 21089 | </return-value> | |
| 18533 | 21090 | <parameters> | |
| 18534 | 21091 | <parameter name="src_type" transfer-ownership="none"> | |
| 18535 | 21092 | <doc xml:space="preserve" | |
| 18536 | - | filename="gobject-2.0.c" | |
| 18537 | - | line="7623">Source type.</doc> | |
| 21093 | + | filename="gobject/gvalue.c" | |
| 21094 | + | line="467">Source type.</doc> | |
| 18538 | 21095 | <type name="GType" c:type="GType"/> | |
| 18539 | 21096 | </parameter> | |
| 18540 | 21097 | <parameter name="dest_type" transfer-ownership="none"> | |
| 18541 | 21098 | <doc xml:space="preserve" | |
| 18542 | - | filename="gobject-2.0.c" | |
| 18543 | - | line="7624">Target type.</doc> | |
| 21099 | + | filename="gobject/gvalue.c" | |
| 21100 | + | line="468">Target type.</doc> | |
| 18544 | 21101 | <type name="GType" c:type="GType"/> | |
| 18545 | 21102 | </parameter> | |
| 18546 | 21103 | </parameters> | |
| @@ -18548,23 +21105,49 @@ transformation function must be registered.</doc> | |||
| 18548 | 21105 | </record> | |
| 18549 | 21106 | <record name="ValueArray" | |
| 18550 | 21107 | c:type="GValueArray" | |
| 21108 | + | deprecated="1" | |
| 21109 | + | deprecated-version="2.32" | |
| 18551 | 21110 | glib:type-name="GValueArray" | |
| 18552 | 21111 | glib:get-type="g_value_array_get_type" | |
| 18553 | 21112 | c:symbol-prefix="value_array"> | |
| 18554 | 21113 | <doc xml:space="preserve" | |
| 18555 | - | filename="gvaluearray.h" | |
| 18556 | - | line="42">A #GValueArray contains an array of #GValue elements.</doc> | |
| 18557 | - | <source-position filename="gvaluearray.h" line="56"/> | |
| 21114 | + | filename="gobject/gvaluearray.c" | |
| 21115 | + | line="32">A `GValueArray` is a container structure to hold an array of generic values. | |
| 21116 | + | ||
| 21117 | + | The prime purpose of a `GValueArray` is for it to be used as an | |
| 21118 | + | object property that holds an array of values. A `GValueArray` wraps | |
| 21119 | + | an array of `GValue` elements in order for it to be used as a boxed | |
| 21120 | + | type through `G_TYPE_VALUE_ARRAY`. | |
| 21121 | + | ||
| 21122 | + | `GValueArray` is deprecated in favour of `GArray` since GLib 2.32. | |
| 21123 | + | It is possible to create a `GArray` that behaves like a `GValueArray` | |
| 21124 | + | by using the size of `GValue` as the element size, and by setting | |
| 21125 | + | [method@GObject.Value.unset] as the clear function using | |
| 21126 | + | [func@GLib.Array.set_clear_func], for instance, the following code: | |
| 21127 | + | ||
| 21128 | + | ```c | |
| 21129 | + | GValueArray *array = g_value_array_new (10); | |
| 21130 | + | ``` | |
| 21131 | + | ||
| 21132 | + | can be replaced by: | |
| 21133 | + | ||
| 21134 | + | ```c | |
| 21135 | + | GArray *array = g_array_sized_new (FALSE, TRUE, sizeof (GValue), 10); | |
| 21136 | + | g_array_set_clear_func (array, (GDestroyNotify) g_value_unset); | |
| 21137 | + | ```</doc> | |
| 21138 | + | <doc-deprecated xml:space="preserve">Use `GArray` instead, if possible for the given use case, | |
| 21139 | + | as described above.</doc-deprecated> | |
| 21140 | + | <source-position filename="gobject/gvaluearray.h" line="51"/> | |
| 18558 | 21141 | <field name="n_values" writable="1"> | |
| 18559 | 21142 | <doc xml:space="preserve" | |
| 18560 | - | filename="gvaluearray.h" | |
| 18561 | - | line="44">number of values contained in the array</doc> | |
| 21143 | + | filename="gobject/gvaluearray.c" | |
| 21144 | + | line="34">number of values contained in the array</doc> | |
| 18562 | 21145 | <type name="guint" c:type="guint"/> | |
| 18563 | 21146 | </field> | |
| 18564 | 21147 | <field name="values" writable="1"> | |
| 18565 | 21148 | <doc xml:space="preserve" | |
| 18566 | - | filename="gvaluearray.h" | |
| 18567 | - | line="45">array of values</doc> | |
| 21149 | + | filename="gobject/gvaluearray.c" | |
| 21150 | + | line="35">array of values</doc> | |
| 18568 | 21151 | <type name="Value" c:type="GValue*"/> | |
| 18569 | 21152 | </field> | |
| 18570 | 21153 | <field name="n_prealloced" readable="0" private="1"> | |
| @@ -18575,23 +21158,23 @@ transformation function must be registered.</doc> | |||
| 18575 | 21158 | deprecated="1" | |
| 18576 | 21159 | deprecated-version="2.32"> | |
| 18577 | 21160 | <doc xml:space="preserve" | |
| 18578 | - | filename="gobject-2.0.c" | |
| 18579 | - | line="6780">Allocate and initialize a new #GValueArray, optionally preserve space | |
| 21161 | + | filename="gobject/gvaluearray.c" | |
| 21162 | + | line="111">Allocate and initialize a new #GValueArray, optionally preserve space | |
| 18580 | 21163 | for @n_prealloced elements. New arrays always contain 0 elements, | |
| 18581 | 21164 | regardless of the value of @n_prealloced.</doc> | |
| 18582 | 21165 | <doc-deprecated xml:space="preserve">Use #GArray and g_array_sized_new() instead.</doc-deprecated> | |
| 18583 | - | <source-position filename="gvaluearray.h" line="67"/> | |
| 21166 | + | <source-position filename="gobject/gvaluearray.h" line="62"/> | |
| 18584 | 21167 | <return-value transfer-ownership="full"> | |
| 18585 | 21168 | <doc xml:space="preserve" | |
| 18586 | - | filename="gobject-2.0.c" | |
| 18587 | - | line="6788">a newly allocated #GValueArray with 0 values</doc> | |
| 21169 | + | filename="gobject/gvaluearray.c" | |
| 21170 | + | line="119">a newly allocated #GValueArray with 0 values</doc> | |
| 18588 | 21171 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18589 | 21172 | </return-value> | |
| 18590 | 21173 | <parameters> | |
| 18591 | 21174 | <parameter name="n_prealloced" transfer-ownership="none"> | |
| 18592 | 21175 | <doc xml:space="preserve" | |
| 18593 | - | filename="gobject-2.0.c" | |
| 18594 | - | line="6782">number of values to preallocate space for</doc> | |
| 21176 | + | filename="gobject/gvaluearray.c" | |
| 21177 | + | line="113">number of values to preallocate space for</doc> | |
| 18595 | 21178 | <type name="guint" c:type="guint"/> | |
| 18596 | 21179 | </parameter> | |
| 18597 | 21180 | </parameters> | |
| @@ -18601,22 +21184,22 @@ regardless of the value of @n_prealloced.</doc> | |||
| 18601 | 21184 | deprecated="1" | |
| 18602 | 21185 | deprecated-version="2.32"> | |
| 18603 | 21186 | <doc xml:space="preserve" | |
| 18604 | - | filename="gobject-2.0.c" | |
| 18605 | - | line="6719">Insert a copy of @value as last element of @value_array. If @value is | |
| 21187 | + | filename="gobject/gvaluearray.c" | |
| 21188 | + | line="222">Insert a copy of @value as last element of @value_array. If @value is | |
| 18606 | 21189 | %NULL, an uninitialized value is appended.</doc> | |
| 18607 | 21190 | <doc-deprecated xml:space="preserve">Use #GArray and g_array_append_val() instead.</doc-deprecated> | |
| 18608 | - | <source-position filename="gvaluearray.h" line="80"/> | |
| 21191 | + | <source-position filename="gobject/gvaluearray.h" line="75"/> | |
| 18609 | 21192 | <return-value transfer-ownership="none"> | |
| 18610 | 21193 | <doc xml:space="preserve" | |
| 18611 | - | filename="gobject-2.0.c" | |
| 18612 | - | line="6727">the #GValueArray passed in as @value_array</doc> | |
| 21194 | + | filename="gobject/gvaluearray.c" | |
| 21195 | + | line="230">the #GValueArray passed in as @value_array</doc> | |
| 18613 | 21196 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18614 | 21197 | </return-value> | |
| 18615 | 21198 | <parameters> | |
| 18616 | 21199 | <instance-parameter name="value_array" transfer-ownership="none"> | |
| 18617 | 21200 | <doc xml:space="preserve" | |
| 18618 | - | filename="gobject-2.0.c" | |
| 18619 | - | line="6721">#GValueArray to add an element to</doc> | |
| 21201 | + | filename="gobject/gvaluearray.c" | |
| 21202 | + | line="224">#GValueArray to add an element to</doc> | |
| 18620 | 21203 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18621 | 21204 | </instance-parameter> | |
| 18622 | 21205 | <parameter name="value" | |
| @@ -18624,8 +21207,8 @@ regardless of the value of @n_prealloced.</doc> | |||
| 18624 | 21207 | nullable="1" | |
| 18625 | 21208 | allow-none="1"> | |
| 18626 | 21209 | <doc xml:space="preserve" | |
| 18627 | - | filename="gobject-2.0.c" | |
| 18628 | - | line="6722">#GValue to copy into #GValueArray, or %NULL</doc> | |
| 21210 | + | filename="gobject/gvaluearray.c" | |
| 21211 | + | line="225">#GValue to copy into #GValueArray, or %NULL</doc> | |
| 18629 | 21212 | <type name="Value" c:type="const GValue*"/> | |
| 18630 | 21213 | </parameter> | |
| 18631 | 21214 | </parameters> | |
| @@ -18635,22 +21218,22 @@ regardless of the value of @n_prealloced.</doc> | |||
| 18635 | 21218 | deprecated="1" | |
| 18636 | 21219 | deprecated-version="2.32"> | |
| 18637 | 21220 | <doc xml:space="preserve" | |
| 18638 | - | filename="gobject-2.0.c" | |
| 18639 | - | line="6732">Construct an exact copy of a #GValueArray by duplicating all its | |
| 21221 | + | filename="gobject/gvaluearray.c" | |
| 21222 | + | line="163">Construct an exact copy of a #GValueArray by duplicating all its | |
| 18640 | 21223 | contents.</doc> | |
| 18641 | 21224 | <doc-deprecated xml:space="preserve">Use #GArray and g_array_ref() instead.</doc-deprecated> | |
| 18642 | - | <source-position filename="gvaluearray.h" line="73"/> | |
| 21225 | + | <source-position filename="gobject/gvaluearray.h" line="68"/> | |
| 18643 | 21226 | <return-value transfer-ownership="full"> | |
| 18644 | 21227 | <doc xml:space="preserve" | |
| 18645 | - | filename="gobject-2.0.c" | |
| 18646 | - | line="6739">Newly allocated copy of #GValueArray</doc> | |
| 21228 | + | filename="gobject/gvaluearray.c" | |
| 21229 | + | line="170">Newly allocated copy of #GValueArray</doc> | |
| 18647 | 21230 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18648 | 21231 | </return-value> | |
| 18649 | 21232 | <parameters> | |
| 18650 | 21233 | <instance-parameter name="value_array" transfer-ownership="none"> | |
| 18651 | 21234 | <doc xml:space="preserve" | |
| 18652 | - | filename="gobject-2.0.c" | |
| 18653 | - | line="6734">#GValueArray to copy</doc> | |
| 21235 | + | filename="gobject/gvaluearray.c" | |
| 21236 | + | line="165">#GValueArray to copy</doc> | |
| 18654 | 21237 | <type name="ValueArray" c:type="const GValueArray*"/> | |
| 18655 | 21238 | </instance-parameter> | |
| 18656 | 21239 | </parameters> | |
| @@ -18661,18 +21244,18 @@ contents.</doc> | |||
| 18661 | 21244 | deprecated="1" | |
| 18662 | 21245 | deprecated-version="2.32"> | |
| 18663 | 21246 | <doc xml:space="preserve" | |
| 18664 | - | filename="gobject-2.0.c" | |
| 18665 | - | line="6744">Free a #GValueArray including its contents.</doc> | |
| 21247 | + | filename="gobject/gvaluearray.c" | |
| 21248 | + | line="137">Free a #GValueArray including its contents.</doc> | |
| 18666 | 21249 | <doc-deprecated xml:space="preserve">Use #GArray and g_array_unref() instead.</doc-deprecated> | |
| 18667 | - | <source-position filename="gvaluearray.h" line="70"/> | |
| 21250 | + | <source-position filename="gobject/gvaluearray.h" line="65"/> | |
| 18668 | 21251 | <return-value transfer-ownership="none"> | |
| 18669 | 21252 | <type name="none" c:type="void"/> | |
| 18670 | 21253 | </return-value> | |
| 18671 | 21254 | <parameters> | |
| 18672 | 21255 | <instance-parameter name="value_array" transfer-ownership="none"> | |
| 18673 | 21256 | <doc xml:space="preserve" | |
| 18674 | - | filename="gobject-2.0.c" | |
| 18675 | - | line="6746">#GValueArray to free</doc> | |
| 21257 | + | filename="gobject/gvaluearray.c" | |
| 21258 | + | line="139">#GValueArray to free</doc> | |
| 18676 | 21259 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18677 | 21260 | </instance-parameter> | |
| 18678 | 21261 | </parameters> | |
| @@ -18682,27 +21265,27 @@ contents.</doc> | |||
| 18682 | 21265 | deprecated="1" | |
| 18683 | 21266 | deprecated-version="2.32"> | |
| 18684 | 21267 | <doc xml:space="preserve" | |
| 18685 | - | filename="gobject-2.0.c" | |
| 18686 | - | line="6754">Return a pointer to the value at @index_ containd in @value_array.</doc> | |
| 21268 | + | filename="gobject/gvaluearray.c" | |
| 21269 | + | line="69">Return a pointer to the value at @index_ contained in @value_array.</doc> | |
| 18687 | 21270 | <doc-deprecated xml:space="preserve">Use g_array_index() instead.</doc-deprecated> | |
| 18688 | - | <source-position filename="gvaluearray.h" line="63"/> | |
| 21271 | + | <source-position filename="gobject/gvaluearray.h" line="58"/> | |
| 18689 | 21272 | <return-value transfer-ownership="none"> | |
| 18690 | 21273 | <doc xml:space="preserve" | |
| 18691 | - | filename="gobject-2.0.c" | |
| 18692 | - | line="6761">pointer to a value at @index_ in @value_array</doc> | |
| 21274 | + | filename="gobject/gvaluearray.c" | |
| 21275 | + | line="76">pointer to a value at @index_ in @value_array</doc> | |
| 18693 | 21276 | <type name="Value" c:type="GValue*"/> | |
| 18694 | 21277 | </return-value> | |
| 18695 | 21278 | <parameters> | |
| 18696 | 21279 | <instance-parameter name="value_array" transfer-ownership="none"> | |
| 18697 | 21280 | <doc xml:space="preserve" | |
| 18698 | - | filename="gobject-2.0.c" | |
| 18699 | - | line="6756">#GValueArray to get a value from</doc> | |
| 21281 | + | filename="gobject/gvaluearray.c" | |
| 21282 | + | line="71">#GValueArray to get a value from</doc> | |
| 18700 | 21283 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18701 | 21284 | </instance-parameter> | |
| 18702 | 21285 | <parameter name="index_" transfer-ownership="none"> | |
| 18703 | 21286 | <doc xml:space="preserve" | |
| 18704 | - | filename="gobject-2.0.c" | |
| 18705 | - | line="6757">index of the value of interest</doc> | |
| 21287 | + | filename="gobject/gvaluearray.c" | |
| 21288 | + | line="72">index of the value of interest</doc> | |
| 18706 | 21289 | <type name="guint" c:type="guint"/> | |
| 18707 | 21290 | </parameter> | |
| 18708 | 21291 | </parameters> | |
| @@ -18712,28 +21295,28 @@ contents.</doc> | |||
| 18712 | 21295 | deprecated="1" | |
| 18713 | 21296 | deprecated-version="2.32"> | |
| 18714 | 21297 | <doc xml:space="preserve" | |
| 18715 | - | filename="gobject-2.0.c" | |
| 18716 | - | line="6766">Insert a copy of @value at specified position into @value_array. If @value | |
| 21298 | + | filename="gobject/gvaluearray.c" | |
| 21299 | + | line="245">Insert a copy of @value at specified position into @value_array. If @value | |
| 18717 | 21300 | is %NULL, an uninitialized value is inserted.</doc> | |
| 18718 | 21301 | <doc-deprecated xml:space="preserve">Use #GArray and g_array_insert_val() instead.</doc-deprecated> | |
| 18719 | - | <source-position filename="gvaluearray.h" line="84"/> | |
| 21302 | + | <source-position filename="gobject/gvaluearray.h" line="79"/> | |
| 18720 | 21303 | <return-value transfer-ownership="none"> | |
| 18721 | 21304 | <doc xml:space="preserve" | |
| 18722 | - | filename="gobject-2.0.c" | |
| 18723 | - | line="6775">the #GValueArray passed in as @value_array</doc> | |
| 21305 | + | filename="gobject/gvaluearray.c" | |
| 21306 | + | line="254">the #GValueArray passed in as @value_array</doc> | |
| 18724 | 21307 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18725 | 21308 | </return-value> | |
| 18726 | 21309 | <parameters> | |
| 18727 | 21310 | <instance-parameter name="value_array" transfer-ownership="none"> | |
| 18728 | 21311 | <doc xml:space="preserve" | |
| 18729 | - | filename="gobject-2.0.c" | |
| 18730 | - | line="6768">#GValueArray to add an element to</doc> | |
| 21312 | + | filename="gobject/gvaluearray.c" | |
| 21313 | + | line="247">#GValueArray to add an element to</doc> | |
| 18731 | 21314 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18732 | 21315 | </instance-parameter> | |
| 18733 | 21316 | <parameter name="index_" transfer-ownership="none"> | |
| 18734 | 21317 | <doc xml:space="preserve" | |
| 18735 | - | filename="gobject-2.0.c" | |
| 18736 | - | line="6769">insertion position, must be <= value_array->;n_values</doc> | |
| 21318 | + | filename="gobject/gvaluearray.c" | |
| 21319 | + | line="248">insertion position, must be <= value_array->;n_values</doc> | |
| 18737 | 21320 | <type name="guint" c:type="guint"/> | |
| 18738 | 21321 | </parameter> | |
| 18739 | 21322 | <parameter name="value" | |
| @@ -18741,8 +21324,8 @@ is %NULL, an uninitialized value is inserted.</doc> | |||
| 18741 | 21324 | nullable="1" | |
| 18742 | 21325 | allow-none="1"> | |
| 18743 | 21326 | <doc xml:space="preserve" | |
| 18744 | - | filename="gobject-2.0.c" | |
| 18745 | - | line="6770">#GValue to copy into #GValueArray, or %NULL</doc> | |
| 21327 | + | filename="gobject/gvaluearray.c" | |
| 21328 | + | line="249">#GValue to copy into #GValueArray, or %NULL</doc> | |
| 18746 | 21329 | <type name="Value" c:type="const GValue*"/> | |
| 18747 | 21330 | </parameter> | |
| 18748 | 21331 | </parameters> | |
| @@ -18752,22 +21335,22 @@ is %NULL, an uninitialized value is inserted.</doc> | |||
| 18752 | 21335 | deprecated="1" | |
| 18753 | 21336 | deprecated-version="2.32"> | |
| 18754 | 21337 | <doc xml:space="preserve" | |
| 18755 | - | filename="gobject-2.0.c" | |
| 18756 | - | line="6793">Insert a copy of @value as first element of @value_array. If @value is | |
| 21338 | + | filename="gobject/gvaluearray.c" | |
| 21339 | + | line="198">Insert a copy of @value as first element of @value_array. If @value is | |
| 18757 | 21340 | %NULL, an uninitialized value is prepended.</doc> | |
| 18758 | 21341 | <doc-deprecated xml:space="preserve">Use #GArray and g_array_prepend_val() instead.</doc-deprecated> | |
| 18759 | - | <source-position filename="gvaluearray.h" line="76"/> | |
| 21342 | + | <source-position filename="gobject/gvaluearray.h" line="71"/> | |
| 18760 | 21343 | <return-value transfer-ownership="none"> | |
| 18761 | 21344 | <doc xml:space="preserve" | |
| 18762 | - | filename="gobject-2.0.c" | |
| 18763 | - | line="6801">the #GValueArray passed in as @value_array</doc> | |
| 21345 | + | filename="gobject/gvaluearray.c" | |
| 21346 | + | line="207">the #GValueArray passed in as @value_array</doc> | |
| 18764 | 21347 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18765 | 21348 | </return-value> | |
| 18766 | 21349 | <parameters> | |
| 18767 | 21350 | <instance-parameter name="value_array" transfer-ownership="none"> | |
| 18768 | 21351 | <doc xml:space="preserve" | |
| 18769 | - | filename="gobject-2.0.c" | |
| 18770 | - | line="6795">#GValueArray to add an element to</doc> | |
| 21352 | + | filename="gobject/gvaluearray.c" | |
| 21353 | + | line="200">#GValueArray to add an element to</doc> | |
| 18771 | 21354 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18772 | 21355 | </instance-parameter> | |
| 18773 | 21356 | <parameter name="value" | |
| @@ -18775,8 +21358,8 @@ is %NULL, an uninitialized value is inserted.</doc> | |||
| 18775 | 21358 | nullable="1" | |
| 18776 | 21359 | allow-none="1"> | |
| 18777 | 21360 | <doc xml:space="preserve" | |
| 18778 | - | filename="gobject-2.0.c" | |
| 18779 | - | line="6796">#GValue to copy into #GValueArray, or %NULL</doc> | |
| 21361 | + | filename="gobject/gvaluearray.c" | |
| 21362 | + | line="201">#GValue to copy into #GValueArray, or %NULL</doc> | |
| 18780 | 21363 | <type name="Value" c:type="const GValue*"/> | |
| 18781 | 21364 | </parameter> | |
| 18782 | 21365 | </parameters> | |
| @@ -18786,27 +21369,27 @@ is %NULL, an uninitialized value is inserted.</doc> | |||
| 18786 | 21369 | deprecated="1" | |
| 18787 | 21370 | deprecated-version="2.32"> | |
| 18788 | 21371 | <doc xml:space="preserve" | |
| 18789 | - | filename="gobject-2.0.c" | |
| 18790 | - | line="6806">Remove the value at position @index_ from @value_array.</doc> | |
| 21372 | + | filename="gobject/gvaluearray.c" | |
| 21373 | + | line="282">Remove the value at position @index_ from @value_array.</doc> | |
| 18791 | 21374 | <doc-deprecated xml:space="preserve">Use #GArray and g_array_remove_index() instead.</doc-deprecated> | |
| 18792 | - | <source-position filename="gvaluearray.h" line="89"/> | |
| 21375 | + | <source-position filename="gobject/gvaluearray.h" line="84"/> | |
| 18793 | 21376 | <return-value transfer-ownership="none"> | |
| 18794 | 21377 | <doc xml:space="preserve" | |
| 18795 | - | filename="gobject-2.0.c" | |
| 18796 | - | line="6814">the #GValueArray passed in as @value_array</doc> | |
| 21378 | + | filename="gobject/gvaluearray.c" | |
| 21379 | + | line="290">the #GValueArray passed in as @value_array</doc> | |
| 18797 | 21380 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18798 | 21381 | </return-value> | |
| 18799 | 21382 | <parameters> | |
| 18800 | 21383 | <instance-parameter name="value_array" transfer-ownership="none"> | |
| 18801 | 21384 | <doc xml:space="preserve" | |
| 18802 | - | filename="gobject-2.0.c" | |
| 18803 | - | line="6808">#GValueArray to remove an element from</doc> | |
| 21385 | + | filename="gobject/gvaluearray.c" | |
| 21386 | + | line="284">#GValueArray to remove an element from</doc> | |
| 18804 | 21387 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18805 | 21388 | </instance-parameter> | |
| 18806 | 21389 | <parameter name="index_" transfer-ownership="none"> | |
| 18807 | 21390 | <doc xml:space="preserve" | |
| 18808 | - | filename="gobject-2.0.c" | |
| 18809 | - | line="6809">position of value to remove, which must be less than | |
| 21391 | + | filename="gobject/gvaluearray.c" | |
| 21392 | + | line="285">position of value to remove, which must be less than | |
| 18810 | 21393 | @value_array->n_values</doc> | |
| 18811 | 21394 | <type name="guint" c:type="guint"/> | |
| 18812 | 21395 | </parameter> | |
| @@ -18818,33 +21401,33 @@ is %NULL, an uninitialized value is inserted.</doc> | |||
| 18818 | 21401 | deprecated="1" | |
| 18819 | 21402 | deprecated-version="2.32"> | |
| 18820 | 21403 | <doc xml:space="preserve" | |
| 18821 | - | filename="gobject-2.0.c" | |
| 18822 | - | line="6819">Sort @value_array using @compare_func to compare the elements according to | |
| 21404 | + | filename="gobject/gvaluearray.c" | |
| 21405 | + | line="313">Sort @value_array using @compare_func to compare the elements according to | |
| 18823 | 21406 | the semantics of #GCompareFunc. | |
| 18824 | 21407 | ||
| 18825 | 21408 | The current implementation uses the same sorting algorithm as standard | |
| 18826 | 21409 | C qsort() function.</doc> | |
| 18827 | 21410 | <doc-deprecated xml:space="preserve">Use #GArray and g_array_sort().</doc-deprecated> | |
| 18828 | - | <source-position filename="gvaluearray.h" line="93"/> | |
| 21411 | + | <source-position filename="gobject/gvaluearray.h" line="88"/> | |
| 18829 | 21412 | <return-value transfer-ownership="none"> | |
| 18830 | 21413 | <doc xml:space="preserve" | |
| 18831 | - | filename="gobject-2.0.c" | |
| 18832 | - | line="6830">the #GValueArray passed in as @value_array</doc> | |
| 21414 | + | filename="gobject/gvaluearray.c" | |
| 21415 | + | line="324">the #GValueArray passed in as @value_array</doc> | |
| 18833 | 21416 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18834 | 21417 | </return-value> | |
| 18835 | 21418 | <parameters> | |
| 18836 | 21419 | <instance-parameter name="value_array" transfer-ownership="none"> | |
| 18837 | 21420 | <doc xml:space="preserve" | |
| 18838 | - | filename="gobject-2.0.c" | |
| 18839 | - | line="6821">#GValueArray to sort</doc> | |
| 21421 | + | filename="gobject/gvaluearray.c" | |
| 21422 | + | line="315">#GValueArray to sort</doc> | |
| 18840 | 21423 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18841 | 21424 | </instance-parameter> | |
| 18842 | 21425 | <parameter name="compare_func" | |
| 18843 | 21426 | transfer-ownership="none" | |
| 18844 | 21427 | scope="call"> | |
| 18845 | 21428 | <doc xml:space="preserve" | |
| 18846 | - | filename="gobject-2.0.c" | |
| 18847 | - | line="6822">function to compare elements</doc> | |
| 21429 | + | filename="gobject/gvaluearray.c" | |
| 21430 | + | line="316">function to compare elements</doc> | |
| 18848 | 21431 | <type name="GLib.CompareFunc" c:type="GCompareFunc"/> | |
| 18849 | 21432 | </parameter> | |
| 18850 | 21433 | </parameters> | |
| @@ -18855,25 +21438,25 @@ C qsort() function.</doc> | |||
| 18855 | 21438 | deprecated="1" | |
| 18856 | 21439 | deprecated-version="2.32"> | |
| 18857 | 21440 | <doc xml:space="preserve" | |
| 18858 | - | filename="gobject-2.0.c" | |
| 18859 | - | line="6835">Sort @value_array using @compare_func to compare the elements according | |
| 21441 | + | filename="gobject/gvaluearray.c" | |
| 21442 | + | line="342">Sort @value_array using @compare_func to compare the elements according | |
| 18860 | 21443 | to the semantics of #GCompareDataFunc. | |
| 18861 | 21444 | ||
| 18862 | 21445 | The current implementation uses the same sorting algorithm as standard | |
| 18863 | 21446 | C qsort() function.</doc> | |
| 18864 | 21447 | <doc-deprecated xml:space="preserve">Use #GArray and g_array_sort_with_data().</doc-deprecated> | |
| 18865 | - | <source-position filename="gvaluearray.h" line="97"/> | |
| 21448 | + | <source-position filename="gobject/gvaluearray.h" line="92"/> | |
| 18866 | 21449 | <return-value transfer-ownership="none"> | |
| 18867 | 21450 | <doc xml:space="preserve" | |
| 18868 | - | filename="gobject-2.0.c" | |
| 18869 | - | line="6847">the #GValueArray passed in as @value_array</doc> | |
| 21451 | + | filename="gobject/gvaluearray.c" | |
| 21452 | + | line="354">the #GValueArray passed in as @value_array</doc> | |
| 18870 | 21453 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18871 | 21454 | </return-value> | |
| 18872 | 21455 | <parameters> | |
| 18873 | 21456 | <instance-parameter name="value_array" transfer-ownership="none"> | |
| 18874 | 21457 | <doc xml:space="preserve" | |
| 18875 | - | filename="gobject-2.0.c" | |
| 18876 | - | line="6837">#GValueArray to sort</doc> | |
| 21458 | + | filename="gobject/gvaluearray.c" | |
| 21459 | + | line="344">#GValueArray to sort</doc> | |
| 18877 | 21460 | <type name="ValueArray" c:type="GValueArray*"/> | |
| 18878 | 21461 | </instance-parameter> | |
| 18879 | 21462 | <parameter name="compare_func" | |
| @@ -18881,8 +21464,8 @@ C qsort() function.</doc> | |||
| 18881 | 21464 | scope="call" | |
| 18882 | 21465 | closure="1"> | |
| 18883 | 21466 | <doc xml:space="preserve" | |
| 18884 | - | filename="gobject-2.0.c" | |
| 18885 | - | line="6838">function to compare elements</doc> | |
| 21467 | + | filename="gobject/gvaluearray.c" | |
| 21468 | + | line="345">function to compare elements</doc> | |
| 18886 | 21469 | <type name="GLib.CompareDataFunc" c:type="GCompareDataFunc"/> | |
| 18887 | 21470 | </parameter> | |
| 18888 | 21471 | <parameter name="user_data" | |
| @@ -18890,8 +21473,8 @@ C qsort() function.</doc> | |||
| 18890 | 21473 | nullable="1" | |
| 18891 | 21474 | allow-none="1"> | |
| 18892 | 21475 | <doc xml:space="preserve" | |
| 18893 | - | filename="gobject-2.0.c" | |
| 18894 | - | line="6839">extra data argument provided for @compare_func</doc> | |
| 21476 | + | filename="gobject/gvaluearray.c" | |
| 21477 | + | line="346">extra data argument provided for @compare_func</doc> | |
| 18895 | 21478 | <type name="gpointer" c:type="gpointer"/> | |
| 18896 | 21479 | </parameter> | |
| 18897 | 21480 | </parameters> | |
| @@ -18899,34 +21482,49 @@ C qsort() function.</doc> | |||
| 18899 | 21482 | </record> | |
| 18900 | 21483 | <callback name="ValueTransform" c:type="GValueTransform"> | |
| 18901 | 21484 | <doc xml:space="preserve" | |
| 18902 | - | filename="gvalue.h" | |
| 18903 | - | line="85">The type of value transformation functions which can be registered with | |
| 21485 | + | filename="gobject/gvalue.h" | |
| 21486 | + | line="87">The type of value transformation functions which can be registered with | |
| 18904 | 21487 | g_value_register_transform_func(). | |
| 18905 | 21488 | ||
| 18906 | 21489 | @dest_value will be initialized to the correct destination type.</doc> | |
| 18907 | - | <source-position filename="gvalue.h" line="95"/> | |
| 21490 | + | <source-position filename="gobject/gvalue.h" line="97"/> | |
| 18908 | 21491 | <return-value transfer-ownership="none"> | |
| 18909 | 21492 | <type name="none" c:type="void"/> | |
| 18910 | 21493 | </return-value> | |
| 18911 | 21494 | <parameters> | |
| 18912 | 21495 | <parameter name="src_value" transfer-ownership="none"> | |
| 18913 | 21496 | <doc xml:space="preserve" | |
| 18914 | - | filename="gvalue.h" | |
| 18915 | - | line="87">Source value.</doc> | |
| 21497 | + | filename="gobject/gvalue.h" | |
| 21498 | + | line="89">Source value.</doc> | |
| 18916 | 21499 | <type name="Value" c:type="const GValue*"/> | |
| 18917 | 21500 | </parameter> | |
| 18918 | 21501 | <parameter name="dest_value" transfer-ownership="none"> | |
| 18919 | 21502 | <doc xml:space="preserve" | |
| 18920 | - | filename="gvalue.h" | |
| 18921 | - | line="88">Target value.</doc> | |
| 21503 | + | filename="gobject/gvalue.h" | |
| 21504 | + | line="90">Target value.</doc> | |
| 18922 | 21505 | <type name="Value" c:type="GValue*"/> | |
| 18923 | 21506 | </parameter> | |
| 18924 | 21507 | </parameters> | |
| 18925 | 21508 | </callback> | |
| 21509 | + | <glib:boxed glib:name="VariantBuilder" | |
| 21510 | + | c:symbol-prefix="variant_builder" | |
| 21511 | + | glib:type-name="GVariantBuilder" | |
| 21512 | + | glib:get-type="g_variant_builder_get_type"> | |
| 21513 | + | </glib:boxed> | |
| 21514 | + | <glib:boxed glib:name="VariantDict" | |
| 21515 | + | c:symbol-prefix="variant_dict" | |
| 21516 | + | glib:type-name="GVariantDict" | |
| 21517 | + | glib:get-type="g_variant_dict_get_type"> | |
| 21518 | + | </glib:boxed> | |
| 21519 | + | <glib:boxed glib:name="VariantType" | |
| 21520 | + | c:symbol-prefix="variant_type" | |
| 21521 | + | glib:type-name="GVariantType" | |
| 21522 | + | glib:get-type="g_variant_type_get_gtype"> | |
| 21523 | + | </glib:boxed> | |
| 18926 | 21524 | <callback name="WeakNotify" c:type="GWeakNotify"> | |
| 18927 | 21525 | <doc xml:space="preserve" | |
| 18928 | - | filename="gobject.h" | |
| 18929 | - | line="230">A #GWeakNotify function can be added to an object as a callback that gets | |
| 21526 | + | filename="gobject/gobject.h" | |
| 21527 | + | line="232">A #GWeakNotify function can be added to an object as a callback that gets | |
| 18930 | 21528 | triggered when the object is finalized. | |
| 18931 | 21529 | ||
| 18932 | 21530 | Since the object is already being disposed when the #GWeakNotify is called, | |
| @@ -18937,7 +21535,7 @@ In particular, this means it’s invalid to call g_object_ref(), | |||
| 18937 | 21535 | g_weak_ref_init(), g_weak_ref_set(), g_object_add_toggle_ref(), | |
| 18938 | 21536 | g_object_weak_ref(), g_object_add_weak_pointer() or any function which calls | |
| 18939 | 21537 | them on the object from this callback.</doc> | |
| 18940 | - | <source-position filename="gobject.h" line="247"/> | |
| 21538 | + | <source-position filename="gobject/gobject.h" line="249"/> | |
| 18941 | 21539 | <return-value transfer-ownership="none"> | |
| 18942 | 21540 | <type name="none" c:type="void"/> | |
| 18943 | 21541 | </return-value> | |
| @@ -18947,22 +21545,22 @@ them on the object from this callback.</doc> | |||
| 18947 | 21545 | nullable="1" | |
| 18948 | 21546 | allow-none="1"> | |
| 18949 | 21547 | <doc xml:space="preserve" | |
| 18950 | - | filename="gobject.h" | |
| 18951 | - | line="232">data that was provided when the weak reference was established</doc> | |
| 21548 | + | filename="gobject/gobject.h" | |
| 21549 | + | line="234">data that was provided when the weak reference was established</doc> | |
| 18952 | 21550 | <type name="gpointer" c:type="gpointer"/> | |
| 18953 | 21551 | </parameter> | |
| 18954 | 21552 | <parameter name="where_the_object_was" transfer-ownership="none"> | |
| 18955 | 21553 | <doc xml:space="preserve" | |
| 18956 | - | filename="gobject.h" | |
| 18957 | - | line="233">the object being disposed</doc> | |
| 21554 | + | filename="gobject/gobject.h" | |
| 21555 | + | line="235">the object being disposed</doc> | |
| 18958 | 21556 | <type name="Object" c:type="GObject*"/> | |
| 18959 | 21557 | </parameter> | |
| 18960 | 21558 | </parameters> | |
| 18961 | 21559 | </callback> | |
| 18962 | 21560 | <record name="WeakRef" c:type="GWeakRef"> | |
| 18963 | 21561 | <doc xml:space="preserve" | |
| 18964 | - | filename="gobject-2.0.c" | |
| 18965 | - | line="157">A structure containing a weak reference to a #GObject. | |
| 21562 | + | filename="gobject/gobject.c" | |
| 21563 | + | line="5437">A structure containing a weak reference to a #GObject. | |
| 18966 | 21564 | ||
| 18967 | 21565 | A `GWeakRef` can either be empty (i.e. point to %NULL), or point to an | |
| 18968 | 21566 | object for as long as at least one "strong" reference to that object | |
| @@ -18986,9 +21584,9 @@ goes back to zero, at which point they too will be invalidated. | |||
| 18986 | 21584 | ||
| 18987 | 21585 | It is invalid to take a #GWeakRef on an object during #GObjectClass.dispose | |
| 18988 | 21586 | without first having or creating a strong reference to the object.</doc> | |
| 18989 | - | <source-position filename="gobject.h" line="931"/> | |
| 21587 | + | <source-position filename="gobject/gobject.h" line="923"/> | |
| 18990 | 21588 | <union name="priv" c:type="priv"> | |
| 18991 | - | <source-position filename="gobject.h" line="930"/> | |
| 21589 | + | <source-position filename="gobject/gobject.h" line="922"/> | |
| 18992 | 21590 | <field name="p" writable="1"> | |
| 18993 | 21591 | <type name="gpointer" c:type="gpointer"/> | |
| 18994 | 21592 | </field> | |
| @@ -18998,24 +21596,21 @@ without first having or creating a strong reference to the object.</doc> | |||
| 18998 | 21596 | version="2.32" | |
| 18999 | 21597 | introspectable="0"> | |
| 19000 | 21598 | <doc xml:space="preserve" | |
| 19001 | - | filename="gobject-2.0.c" | |
| 19002 | - | line="7646">Frees resources associated with a non-statically-allocated #GWeakRef. | |
| 21599 | + | filename="gobject/gobject.c" | |
| 21600 | + | line="5698">Frees resources associated with a non-statically-allocated #GWeakRef. | |
| 19003 | 21601 | After this call, the #GWeakRef is left in an undefined state. | |
| 19004 | 21602 | ||
| 19005 | 21603 | You should only call this on a #GWeakRef that previously had | |
| 19006 | 21604 | g_weak_ref_init() called on it.</doc> | |
| 19007 | - | <source-position filename="gobject.h" line="937"/> | |
| 21605 | + | <source-position filename="gobject/gobject.h" line="929"/> | |
| 19008 | 21606 | <return-value transfer-ownership="none"> | |
| 19009 | 21607 | <type name="none" c:type="void"/> | |
| 19010 | 21608 | </return-value> | |
| 19011 | 21609 | <parameters> | |
| 19012 | - | <instance-parameter name="weak_ref" | |
| 19013 | - | direction="inout" | |
| 19014 | - | caller-allocates="0" | |
| 19015 | - | transfer-ownership="full"> | |
| 21610 | + | <instance-parameter name="weak_ref" transfer-ownership="none"> | |
| 19016 | 21611 | <doc xml:space="preserve" | |
| 19017 | - | filename="gobject-2.0.c" | |
| 19018 | - | line="7648">location of a weak reference, which | |
| 21612 | + | filename="gobject/gobject.c" | |
| 21613 | + | line="5700">location of a weak reference, which | |
| 19019 | 21614 | may be empty</doc> | |
| 19020 | 21615 | <type name="WeakRef" c:type="GWeakRef*"/> | |
| 19021 | 21616 | </instance-parameter> | |
| @@ -19026,8 +21621,8 @@ g_weak_ref_init() called on it.</doc> | |||
| 19026 | 21621 | version="2.32" | |
| 19027 | 21622 | introspectable="0"> | |
| 19028 | 21623 | <doc xml:space="preserve" | |
| 19029 | - | filename="gobject-2.0.c" | |
| 19030 | - | line="7661">If @weak_ref is not empty, atomically acquire a strong | |
| 21624 | + | filename="gobject/gobject.c" | |
| 21625 | + | line="5720">If @weak_ref is not empty, atomically acquire a strong | |
| 19031 | 21626 | reference to the object it points to, and return that reference. | |
| 19032 | 21627 | ||
| 19033 | 21628 | This function is needed because of the potential race between taking | |
| @@ -19036,22 +21631,19 @@ its last reference at the same time in a different thread. | |||
| 19036 | 21631 | ||
| 19037 | 21632 | The caller should release the resulting reference in the usual way, | |
| 19038 | 21633 | by using g_object_unref().</doc> | |
| 19039 | - | <source-position filename="gobject.h" line="939"/> | |
| 21634 | + | <source-position filename="gobject/gobject.h" line="931"/> | |
| 19040 | 21635 | <return-value transfer-ownership="full"> | |
| 19041 | 21636 | <doc xml:space="preserve" | |
| 19042 | - | filename="gobject-2.0.c" | |
| 19043 | - | line="7675">the object pointed to | |
| 21637 | + | filename="gobject/gobject.c" | |
| 21638 | + | line="5734">the object pointed to | |
| 19044 | 21639 | by @weak_ref, or %NULL if it was empty</doc> | |
| 19045 | 21640 | <type name="Object" c:type="gpointer"/> | |
| 19046 | 21641 | </return-value> | |
| 19047 | 21642 | <parameters> | |
| 19048 | - | <instance-parameter name="weak_ref" | |
| 19049 | - | direction="inout" | |
| 19050 | - | caller-allocates="0" | |
| 19051 | - | transfer-ownership="full"> | |
| 21643 | + | <instance-parameter name="weak_ref" transfer-ownership="none"> | |
| 19052 | 21644 | <doc xml:space="preserve" | |
| 19053 | - | filename="gobject-2.0.c" | |
| 19054 | - | line="7663">location of a weak reference to a #GObject</doc> | |
| 21645 | + | filename="gobject/gobject.c" | |
| 21646 | + | line="5722">location of a weak reference to a #GObject</doc> | |
| 19055 | 21647 | <type name="WeakRef" c:type="GWeakRef*"/> | |
| 19056 | 21648 | </instance-parameter> | |
| 19057 | 21649 | </parameters> | |
| @@ -19061,8 +21653,8 @@ by using g_object_unref().</doc> | |||
| 19061 | 21653 | version="2.32" | |
| 19062 | 21654 | introspectable="0"> | |
| 19063 | 21655 | <doc xml:space="preserve" | |
| 19064 | - | filename="gobject-2.0.c" | |
| 19065 | - | line="7681">Initialise a non-statically-allocated #GWeakRef. | |
| 21656 | + | filename="gobject/gobject.c" | |
| 21657 | + | line="5664">Initialise a non-statically-allocated #GWeakRef. | |
| 19066 | 21658 | ||
| 19067 | 21659 | This function also calls g_weak_ref_set() with @object on the | |
| 19068 | 21660 | freshly-initialised weak reference. | |
| @@ -19071,19 +21663,15 @@ This function should always be matched with a call to | |||
| 19071 | 21663 | g_weak_ref_clear(). It is not necessary to use this function for a | |
| 19072 | 21664 | #GWeakRef in static storage because it will already be | |
| 19073 | 21665 | properly initialised. Just use g_weak_ref_set() directly.</doc> | |
| 19074 | - | <source-position filename="gobject.h" line="934"/> | |
| 21666 | + | <source-position filename="gobject/gobject.h" line="926"/> | |
| 19075 | 21667 | <return-value transfer-ownership="none"> | |
| 19076 | 21668 | <type name="none" c:type="void"/> | |
| 19077 | 21669 | </return-value> | |
| 19078 | 21670 | <parameters> | |
| 19079 | - | <instance-parameter name="weak_ref" | |
| 19080 | - | direction="inout" | |
| 19081 | - | caller-allocates="0" | |
| 19082 | - | transfer-ownership="full"> | |
| 21671 | + | <instance-parameter name="weak_ref" transfer-ownership="none"> | |
| 19083 | 21672 | <doc xml:space="preserve" | |
| 19084 | - | filename="gobject-2.0.c" | |
| 19085 | - | line="7683">uninitialized or empty location for a weak | |
| 19086 | - | reference</doc> | |
| 21673 | + | filename="gobject/gobject.c" | |
| 21674 | + | line="5666">uninitialized or empty location for a weak reference</doc> | |
| 19087 | 21675 | <type name="WeakRef" c:type="GWeakRef*"/> | |
| 19088 | 21676 | </instance-parameter> | |
| 19089 | 21677 | <parameter name="object" | |
| @@ -19091,8 +21679,8 @@ properly initialised. Just use g_weak_ref_set() directly.</doc> | |||
| 19091 | 21679 | nullable="1" | |
| 19092 | 21680 | allow-none="1"> | |
| 19093 | 21681 | <doc xml:space="preserve" | |
| 19094 | - | filename="gobject-2.0.c" | |
| 19095 | - | line="7685">a #GObject or %NULL</doc> | |
| 21682 | + | filename="gobject/gobject.c" | |
| 21683 | + | line="5667">a #GObject or %NULL</doc> | |
| 19096 | 21684 | <type name="Object" c:type="gpointer"/> | |
| 19097 | 21685 | </parameter> | |
| 19098 | 21686 | </parameters> | |
| @@ -19102,21 +21690,21 @@ properly initialised. Just use g_weak_ref_set() directly.</doc> | |||
| 19102 | 21690 | version="2.32" | |
| 19103 | 21691 | introspectable="0"> | |
| 19104 | 21692 | <doc xml:space="preserve" | |
| 19105 | - | filename="gobject-2.0.c" | |
| 19106 | - | line="7701">Change the object to which @weak_ref points, or set it to | |
| 21693 | + | filename="gobject/gobject.c" | |
| 21694 | + | line="5829">Change the object to which @weak_ref points, or set it to | |
| 19107 | 21695 | %NULL. | |
| 19108 | 21696 | ||
| 19109 | 21697 | You must own a strong reference on @object while calling this | |
| 19110 | 21698 | function.</doc> | |
| 19111 | - | <source-position filename="gobject.h" line="941"/> | |
| 21699 | + | <source-position filename="gobject/gobject.h" line="933"/> | |
| 19112 | 21700 | <return-value transfer-ownership="none"> | |
| 19113 | 21701 | <type name="none" c:type="void"/> | |
| 19114 | 21702 | </return-value> | |
| 19115 | 21703 | <parameters> | |
| 19116 | 21704 | <instance-parameter name="weak_ref" transfer-ownership="none"> | |
| 19117 | 21705 | <doc xml:space="preserve" | |
| 19118 | - | filename="gobject-2.0.c" | |
| 19119 | - | line="7703">location for a weak reference</doc> | |
| 21706 | + | filename="gobject/gobject.c" | |
| 21707 | + | line="5831">location for a weak reference</doc> | |
| 19120 | 21708 | <type name="WeakRef" c:type="GWeakRef*"/> | |
| 19121 | 21709 | </instance-parameter> | |
| 19122 | 21710 | <parameter name="object" | |
| @@ -19124,8 +21712,8 @@ function.</doc> | |||
| 19124 | 21712 | nullable="1" | |
| 19125 | 21713 | allow-none="1"> | |
| 19126 | 21714 | <doc xml:space="preserve" | |
| 19127 | - | filename="gobject-2.0.c" | |
| 19128 | - | line="7704">a #GObject or %NULL</doc> | |
| 21715 | + | filename="gobject/gobject.c" | |
| 21716 | + | line="5832">a #GObject or %NULL</doc> | |
| 19129 | 21717 | <type name="Object" c:type="gpointer"/> | |
| 19130 | 21718 | </parameter> | |
| 19131 | 21719 | </parameters> | |
| @@ -19165,8 +21753,8 @@ function.</doc> | |||
| 19165 | 21753 | version="2.62" | |
| 19166 | 21754 | introspectable="0"> | |
| 19167 | 21755 | <doc xml:space="preserve" | |
| 19168 | - | filename="gobject.h" | |
| 19169 | - | line="792">Assert that @object is non-%NULL, then release one reference to it with | |
| 21756 | + | filename="gobject/gobject.h" | |
| 21757 | + | line="784">Assert that @object is non-%NULL, then release one reference to it with | |
| 19170 | 21758 | g_object_unref() and assert that it has been finalized (i.e. that there | |
| 19171 | 21759 | are no more references). | |
| 19172 | 21760 | ||
| @@ -19174,71 +21762,70 @@ If assertions are disabled via `G_DISABLE_ASSERT`, | |||
| 19174 | 21762 | this macro just calls g_object_unref() without any further checks. | |
| 19175 | 21763 | ||
| 19176 | 21764 | This macro should only be used in regression tests.</doc> | |
| 19177 | - | <source-position filename="gobject.h" line="819"/> | |
| 21765 | + | <source-position filename="gobject/gobject.h" line="811"/> | |
| 19178 | 21766 | <parameters> | |
| 19179 | 21767 | <parameter name="object"> | |
| 19180 | 21768 | <doc xml:space="preserve" | |
| 19181 | - | filename="gobject.h" | |
| 19182 | - | line="794">an object</doc> | |
| 21769 | + | filename="gobject/gobject.h" | |
| 21770 | + | line="786">an object</doc> | |
| 19183 | 21771 | </parameter> | |
| 19184 | 21772 | </parameters> | |
| 19185 | 21773 | </function-macro> | |
| 19186 | 21774 | <function name="boxed_copy" c:identifier="g_boxed_copy"> | |
| 19187 | 21775 | <doc xml:space="preserve" | |
| 19188 | - | filename="gobject-2.0.c" | |
| 19189 | - | line="1211">Provide a copy of a boxed structure @src_boxed which is of type @boxed_type.</doc> | |
| 19190 | - | <source-position filename="gboxed.h" line="70"/> | |
| 21776 | + | filename="gobject/gboxed.c" | |
| 21777 | + | line="317">Provide a copy of a boxed structure @src_boxed which is of type @boxed_type.</doc> | |
| 21778 | + | <source-position filename="gobject/gboxed.h" line="72"/> | |
| 19191 | 21779 | <return-value transfer-ownership="full"> | |
| 19192 | 21780 | <doc xml:space="preserve" | |
| 19193 | - | filename="gobject-2.0.c" | |
| 19194 | - | line="1218">The newly created copy of the boxed | |
| 21781 | + | filename="gobject/gboxed.c" | |
| 21782 | + | line="324">The newly created copy of the boxed | |
| 19195 | 21783 | structure.</doc> | |
| 19196 | 21784 | <type name="gpointer" c:type="gpointer"/> | |
| 19197 | 21785 | </return-value> | |
| 19198 | 21786 | <parameters> | |
| 19199 | 21787 | <parameter name="boxed_type" transfer-ownership="none"> | |
| 19200 | 21788 | <doc xml:space="preserve" | |
| 19201 | - | filename="gobject-2.0.c" | |
| 19202 | - | line="1213">The type of @src_boxed.</doc> | |
| 21789 | + | filename="gobject/gboxed.c" | |
| 21790 | + | line="319">The type of @src_boxed.</doc> | |
| 19203 | 21791 | <type name="GType" c:type="GType"/> | |
| 19204 | 21792 | </parameter> | |
| 19205 | 21793 | <parameter name="src_boxed" transfer-ownership="none"> | |
| 19206 | 21794 | <doc xml:space="preserve" | |
| 19207 | - | filename="gobject-2.0.c" | |
| 19208 | - | line="1214">The boxed structure to be copied.</doc> | |
| 21795 | + | filename="gobject/gboxed.c" | |
| 21796 | + | line="320">The boxed structure to be copied.</doc> | |
| 19209 | 21797 | <type name="gpointer" c:type="gconstpointer"/> | |
| 19210 | 21798 | </parameter> | |
| 19211 | 21799 | </parameters> | |
| 19212 | 21800 | </function> | |
| 19213 | 21801 | <function name="boxed_free" c:identifier="g_boxed_free"> | |
| 19214 | 21802 | <doc xml:space="preserve" | |
| 19215 | - | filename="gobject-2.0.c" | |
| 19216 | - | line="1223">Free the boxed structure @boxed which is of type @boxed_type.</doc> | |
| 19217 | - | <source-position filename="gboxed.h" line="73"/> | |
| 21803 | + | filename="gobject/gboxed.c" | |
| 21804 | + | line="378">Free the boxed structure @boxed which is of type @boxed_type.</doc> | |
| 21805 | + | <source-position filename="gobject/gboxed.h" line="75"/> | |
| 19218 | 21806 | <return-value transfer-ownership="none"> | |
| 19219 | 21807 | <type name="none" c:type="void"/> | |
| 19220 | 21808 | </return-value> | |
| 19221 | 21809 | <parameters> | |
| 19222 | 21810 | <parameter name="boxed_type" transfer-ownership="none"> | |
| 19223 | 21811 | <doc xml:space="preserve" | |
| 19224 | - | filename="gobject-2.0.c" | |
| 19225 | - | line="1225">The type of @boxed.</doc> | |
| 21812 | + | filename="gobject/gboxed.c" | |
| 21813 | + | line="380">The type of @boxed.</doc> | |
| 19226 | 21814 | <type name="GType" c:type="GType"/> | |
| 19227 | 21815 | </parameter> | |
| 19228 | 21816 | <parameter name="boxed" transfer-ownership="none"> | |
| 19229 | 21817 | <doc xml:space="preserve" | |
| 19230 | - | filename="gobject-2.0.c" | |
| 19231 | - | line="1226">The boxed structure to be freed.</doc> | |
| 21818 | + | filename="gobject/gboxed.c" | |
| 21819 | + | line="381">The boxed structure to be freed.</doc> | |
| 19232 | 21820 | <type name="gpointer" c:type="gpointer"/> | |
| 19233 | 21821 | </parameter> | |
| 19234 | 21822 | </parameters> | |
| 19235 | 21823 | </function> | |
| 19236 | 21824 | <function name="boxed_type_register_static" | |
| 19237 | - | c:identifier="g_boxed_type_register_static" | |
| 19238 | - | introspectable="0"> | |
| 21825 | + | c:identifier="g_boxed_type_register_static"> | |
| 19239 | 21826 | <doc xml:space="preserve" | |
| 19240 | - | filename="gobject-2.0.c" | |
| 19241 | - | line="1232">This function creates a new %G_TYPE_BOXED derived type id for a new | |
| 21827 | + | filename="gobject/gboxed.c" | |
| 21828 | + | line="256">This function creates a new %G_TYPE_BOXED derived type id for a new | |
| 19242 | 21829 | boxed type with name @name. | |
| 19243 | 21830 | ||
| 19244 | 21831 | Boxed type handling functions have to be provided to copy and free | |
| @@ -19247,30 +21834,30 @@ opaque boxed structures of this type. | |||
| 19247 | 21834 | For the general case, it is recommended to use G_DEFINE_BOXED_TYPE() | |
| 19248 | 21835 | instead of calling g_boxed_type_register_static() directly. The macro | |
| 19249 | 21836 | will create the appropriate `*_get_type()` function for the boxed type.</doc> | |
| 19250 | - | <source-position filename="gboxed.h" line="95"/> | |
| 21837 | + | <source-position filename="gobject/gboxed.h" line="97"/> | |
| 19251 | 21838 | <return-value transfer-ownership="none"> | |
| 19252 | 21839 | <doc xml:space="preserve" | |
| 19253 | - | filename="gobject-2.0.c" | |
| 19254 | - | line="1248">New %G_TYPE_BOXED derived type id for @name.</doc> | |
| 21840 | + | filename="gobject/gboxed.c" | |
| 21841 | + | line="272">New %G_TYPE_BOXED derived type id for @name.</doc> | |
| 19255 | 21842 | <type name="GType" c:type="GType"/> | |
| 19256 | 21843 | </return-value> | |
| 19257 | 21844 | <parameters> | |
| 19258 | 21845 | <parameter name="name" transfer-ownership="none"> | |
| 19259 | 21846 | <doc xml:space="preserve" | |
| 19260 | - | filename="gobject-2.0.c" | |
| 19261 | - | line="1234">Name of the new boxed type.</doc> | |
| 21847 | + | filename="gobject/gboxed.c" | |
| 21848 | + | line="258">Name of the new boxed type.</doc> | |
| 19262 | 21849 | <type name="utf8" c:type="const gchar*"/> | |
| 19263 | 21850 | </parameter> | |
| 19264 | - | <parameter name="boxed_copy" transfer-ownership="none"> | |
| 21851 | + | <parameter name="boxed_copy" transfer-ownership="none" scope="forever"> | |
| 19265 | 21852 | <doc xml:space="preserve" | |
| 19266 | - | filename="gobject-2.0.c" | |
| 19267 | - | line="1235">Boxed structure copy function.</doc> | |
| 21853 | + | filename="gobject/gboxed.c" | |
| 21854 | + | line="259">Boxed structure copy function.</doc> | |
| 19268 | 21855 | <type name="BoxedCopyFunc" c:type="GBoxedCopyFunc"/> | |
| 19269 | 21856 | </parameter> | |
| 19270 | - | <parameter name="boxed_free" transfer-ownership="none"> | |
| 21857 | + | <parameter name="boxed_free" transfer-ownership="none" scope="forever"> | |
| 19271 | 21858 | <doc xml:space="preserve" | |
| 19272 | - | filename="gobject-2.0.c" | |
| 19273 | - | line="1236">Boxed structure free function.</doc> | |
| 21859 | + | filename="gobject/gboxed.c" | |
| 21860 | + | line="260">Boxed structure free function.</doc> | |
| 19274 | 21861 | <type name="BoxedFreeFunc" c:type="GBoxedFreeFunc"/> | |
| 19275 | 21862 | </parameter> | |
| 19276 | 21863 | </parameters> | |
| @@ -19279,39 +21866,39 @@ will create the appropriate `*_get_type()` function for the boxed type.</doc> | |||
| 19279 | 21866 | c:identifier="g_cclosure_marshal_BOOLEAN__BOXED_BOXED" | |
| 19280 | 21867 | moved-to="CClosure.marshal_BOOLEAN__BOXED_BOXED"> | |
| 19281 | 21868 | <doc xml:space="preserve" | |
| 19282 | - | filename="gobject-2.0.c" | |
| 19283 | - | line="1252">A #GClosureMarshal function for use with signals with handlers that | |
| 21869 | + | filename="gobject/gmarshal.c" | |
| 21870 | + | line="2390">A #GClosureMarshal function for use with signals with handlers that | |
| 19284 | 21871 | take two boxed pointers as arguments and return a boolean. If you | |
| 19285 | 21872 | have such a signal, you will probably also need to use an | |
| 19286 | 21873 | accumulator, such as g_signal_accumulator_true_handled().</doc> | |
| 19287 | - | <source-position filename="gmarshal.h" line="399"/> | |
| 21874 | + | <source-position filename="gobject/gmarshal.h" line="399"/> | |
| 19288 | 21875 | <return-value transfer-ownership="none"> | |
| 19289 | 21876 | <type name="none" c:type="void"/> | |
| 19290 | 21877 | </return-value> | |
| 19291 | 21878 | <parameters> | |
| 19292 | 21879 | <parameter name="closure" transfer-ownership="none"> | |
| 19293 | 21880 | <doc xml:space="preserve" | |
| 19294 | - | filename="gobject-2.0.c" | |
| 19295 | - | line="1254">A #GClosure.</doc> | |
| 21881 | + | filename="gobject/gmarshal.c" | |
| 21882 | + | line="2392">A #GClosure.</doc> | |
| 19296 | 21883 | <type name="Closure" c:type="GClosure*"/> | |
| 19297 | 21884 | </parameter> | |
| 19298 | 21885 | <parameter name="return_value" transfer-ownership="none"> | |
| 19299 | 21886 | <doc xml:space="preserve" | |
| 19300 | - | filename="gobject-2.0.c" | |
| 19301 | - | line="1255">A #GValue to store the return value. May be %NULL | |
| 21887 | + | filename="gobject/gmarshal.c" | |
| 21888 | + | line="2393">A #GValue to store the return value. May be %NULL | |
| 19302 | 21889 | if the callback of closure doesn't return a value.</doc> | |
| 19303 | 21890 | <type name="Value" c:type="GValue*"/> | |
| 19304 | 21891 | </parameter> | |
| 19305 | 21892 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19306 | 21893 | <doc xml:space="preserve" | |
| 19307 | - | filename="gobject-2.0.c" | |
| 19308 | - | line="1257">The length of the @param_values array.</doc> | |
| 21894 | + | filename="gobject/gmarshal.c" | |
| 21895 | + | line="2395">The length of the @param_values array.</doc> | |
| 19309 | 21896 | <type name="guint" c:type="guint"/> | |
| 19310 | 21897 | </parameter> | |
| 19311 | 21898 | <parameter name="param_values" transfer-ownership="none"> | |
| 19312 | 21899 | <doc xml:space="preserve" | |
| 19313 | - | filename="gobject-2.0.c" | |
| 19314 | - | line="1258">An array of #GValues holding the arguments | |
| 21900 | + | filename="gobject/gmarshal.c" | |
| 21901 | + | line="2396">An array of #GValues holding the arguments | |
| 19315 | 21902 | on which to invoke the callback of closure.</doc> | |
| 19316 | 21903 | <type name="Value" c:type="const GValue*"/> | |
| 19317 | 21904 | </parameter> | |
| @@ -19320,8 +21907,8 @@ accumulator, such as g_signal_accumulator_true_handled().</doc> | |||
| 19320 | 21907 | nullable="1" | |
| 19321 | 21908 | allow-none="1"> | |
| 19322 | 21909 | <doc xml:space="preserve" | |
| 19323 | - | filename="gobject-2.0.c" | |
| 19324 | - | line="1260">The invocation hint given as the last argument to | |
| 21910 | + | filename="gobject/gmarshal.c" | |
| 21911 | + | line="2398">The invocation hint given as the last argument to | |
| 19325 | 21912 | g_closure_invoke().</doc> | |
| 19326 | 21913 | <type name="gpointer" c:type="gpointer"/> | |
| 19327 | 21914 | </parameter> | |
| @@ -19330,8 +21917,8 @@ accumulator, such as g_signal_accumulator_true_handled().</doc> | |||
| 19330 | 21917 | nullable="1" | |
| 19331 | 21918 | allow-none="1"> | |
| 19332 | 21919 | <doc xml:space="preserve" | |
| 19333 | - | filename="gobject-2.0.c" | |
| 19334 | - | line="1262">Additional data specified when registering the | |
| 21920 | + | filename="gobject/gmarshal.c" | |
| 21921 | + | line="2400">Additional data specified when registering the | |
| 19335 | 21922 | marshaller, see g_closure_set_marshal() and | |
| 19336 | 21923 | g_closure_set_meta_marshal()</doc> | |
| 19337 | 21924 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -19342,37 +21929,40 @@ accumulator, such as g_signal_accumulator_true_handled().</doc> | |||
| 19342 | 21929 | c:identifier="g_cclosure_marshal_BOOLEAN__FLAGS" | |
| 19343 | 21930 | moved-to="CClosure.marshal_BOOLEAN__FLAGS"> | |
| 19344 | 21931 | <doc xml:space="preserve" | |
| 19345 | - | filename="gobject-2.0.c" | |
| 19346 | - | line="1292">A marshaller for a #GCClosure with a callback of type | |
| 19347 | - | `gboolean (*callback) (gpointer instance, gint arg1, gpointer user_data)` where the #gint parameter | |
| 19348 | - | denotes a flags type.</doc> | |
| 19349 | - | <source-position filename="gmarshal.h" line="347"/> | |
| 21932 | + | filename="gobject/gmarshal.c" | |
| 21933 | + | line="2143">A #GClosureMarshal function for use with signals with handlers that | |
| 21934 | + | take a flags type as an argument and return a boolean. If you have | |
| 21935 | + | such a signal, you will probably also need to use an accumulator, | |
| 21936 | + | such as g_signal_accumulator_true_handled().</doc> | |
| 21937 | + | <source-position filename="gobject/gmarshal.h" line="347"/> | |
| 19350 | 21938 | <return-value transfer-ownership="none"> | |
| 19351 | 21939 | <type name="none" c:type="void"/> | |
| 19352 | 21940 | </return-value> | |
| 19353 | 21941 | <parameters> | |
| 19354 | 21942 | <parameter name="closure" transfer-ownership="none"> | |
| 19355 | 21943 | <doc xml:space="preserve" | |
| 19356 | - | filename="gobject-2.0.c" | |
| 19357 | - | line="1294">the #GClosure to which the marshaller belongs</doc> | |
| 21944 | + | filename="gobject/gmarshal.c" | |
| 21945 | + | line="2145">A #GClosure.</doc> | |
| 19358 | 21946 | <type name="Closure" c:type="GClosure*"/> | |
| 19359 | 21947 | </parameter> | |
| 19360 | 21948 | <parameter name="return_value" transfer-ownership="none"> | |
| 19361 | 21949 | <doc xml:space="preserve" | |
| 19362 | - | filename="gobject-2.0.c" | |
| 19363 | - | line="1295">a #GValue which can store the returned #gboolean</doc> | |
| 21950 | + | filename="gobject/gmarshal.c" | |
| 21951 | + | line="2146">A #GValue to store the return value. May be %NULL | |
| 21952 | + | if the callback of closure doesn't return a value.</doc> | |
| 19364 | 21953 | <type name="Value" c:type="GValue*"/> | |
| 19365 | 21954 | </parameter> | |
| 19366 | 21955 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19367 | 21956 | <doc xml:space="preserve" | |
| 19368 | - | filename="gobject-2.0.c" | |
| 19369 | - | line="1296">2</doc> | |
| 21957 | + | filename="gobject/gmarshal.c" | |
| 21958 | + | line="2148">The length of the @param_values array.</doc> | |
| 19370 | 21959 | <type name="guint" c:type="guint"/> | |
| 19371 | 21960 | </parameter> | |
| 19372 | 21961 | <parameter name="param_values" transfer-ownership="none"> | |
| 19373 | 21962 | <doc xml:space="preserve" | |
| 19374 | - | filename="gobject-2.0.c" | |
| 19375 | - | line="1297">a #GValue array holding instance and arg1</doc> | |
| 21963 | + | filename="gobject/gmarshal.c" | |
| 21964 | + | line="2149">An array of #GValues holding the arguments | |
| 21965 | + | on which to invoke the callback of closure.</doc> | |
| 19376 | 21966 | <type name="Value" c:type="const GValue*"/> | |
| 19377 | 21967 | </parameter> | |
| 19378 | 21968 | <parameter name="invocation_hint" | |
| @@ -19380,9 +21970,9 @@ denotes a flags type.</doc> | |||
| 19380 | 21970 | nullable="1" | |
| 19381 | 21971 | allow-none="1"> | |
| 19382 | 21972 | <doc xml:space="preserve" | |
| 19383 | - | filename="gobject-2.0.c" | |
| 19384 | - | line="1298">the invocation hint given as the last argument | |
| 19385 | - | to g_closure_invoke()</doc> | |
| 21973 | + | filename="gobject/gmarshal.c" | |
| 21974 | + | line="2151">The invocation hint given as the last argument to | |
| 21975 | + | g_closure_invoke().</doc> | |
| 19386 | 21976 | <type name="gpointer" c:type="gpointer"/> | |
| 19387 | 21977 | </parameter> | |
| 19388 | 21978 | <parameter name="marshal_data" | |
| @@ -19390,8 +21980,10 @@ denotes a flags type.</doc> | |||
| 19390 | 21980 | nullable="1" | |
| 19391 | 21981 | allow-none="1"> | |
| 19392 | 21982 | <doc xml:space="preserve" | |
| 19393 | - | filename="gobject-2.0.c" | |
| 19394 | - | line="1300">additional data specified when registering the marshaller</doc> | |
| 21983 | + | filename="gobject/gmarshal.c" | |
| 21984 | + | line="2153">Additional data specified when registering the | |
| 21985 | + | marshaller, see g_closure_set_marshal() and | |
| 21986 | + | g_closure_set_meta_marshal()</doc> | |
| 19395 | 21987 | <type name="gpointer" c:type="gpointer"/> | |
| 19396 | 21988 | </parameter> | |
| 19397 | 21989 | </parameters> | |
| @@ -19400,36 +21992,39 @@ denotes a flags type.</doc> | |||
| 19400 | 21992 | c:identifier="g_cclosure_marshal_STRING__OBJECT_POINTER" | |
| 19401 | 21993 | moved-to="CClosure.marshal_STRING__OBJECT_POINTER"> | |
| 19402 | 21994 | <doc xml:space="preserve" | |
| 19403 | - | filename="gobject-2.0.c" | |
| 19404 | - | line="1351">A marshaller for a #GCClosure with a callback of type | |
| 19405 | - | `gchar* (*callback) (gpointer instance, GObject *arg1, gpointer arg2, gpointer user_data)`.</doc> | |
| 19406 | - | <source-position filename="gmarshal.h" line="382"/> | |
| 21995 | + | filename="gobject/gmarshal.c" | |
| 21996 | + | line="2262">A #GClosureMarshal function for use with signals with handlers that | |
| 21997 | + | take a #GObject and a pointer and produce a string. It is highly | |
| 21998 | + | unlikely that your signal handler fits this description.</doc> | |
| 21999 | + | <source-position filename="gobject/gmarshal.h" line="382"/> | |
| 19407 | 22000 | <return-value transfer-ownership="none"> | |
| 19408 | 22001 | <type name="none" c:type="void"/> | |
| 19409 | 22002 | </return-value> | |
| 19410 | 22003 | <parameters> | |
| 19411 | 22004 | <parameter name="closure" transfer-ownership="none"> | |
| 19412 | 22005 | <doc xml:space="preserve" | |
| 19413 | - | filename="gobject-2.0.c" | |
| 19414 | - | line="1353">the #GClosure to which the marshaller belongs</doc> | |
| 22006 | + | filename="gobject/gmarshal.c" | |
| 22007 | + | line="2264">A #GClosure.</doc> | |
| 19415 | 22008 | <type name="Closure" c:type="GClosure*"/> | |
| 19416 | 22009 | </parameter> | |
| 19417 | 22010 | <parameter name="return_value" transfer-ownership="none"> | |
| 19418 | 22011 | <doc xml:space="preserve" | |
| 19419 | - | filename="gobject-2.0.c" | |
| 19420 | - | line="1354">a #GValue, which can store the returned string</doc> | |
| 22012 | + | filename="gobject/gmarshal.c" | |
| 22013 | + | line="2265">A #GValue to store the return value. May be %NULL | |
| 22014 | + | if the callback of closure doesn't return a value.</doc> | |
| 19421 | 22015 | <type name="Value" c:type="GValue*"/> | |
| 19422 | 22016 | </parameter> | |
| 19423 | 22017 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19424 | 22018 | <doc xml:space="preserve" | |
| 19425 | - | filename="gobject-2.0.c" | |
| 19426 | - | line="1355">3</doc> | |
| 22019 | + | filename="gobject/gmarshal.c" | |
| 22020 | + | line="2267">The length of the @param_values array.</doc> | |
| 19427 | 22021 | <type name="guint" c:type="guint"/> | |
| 19428 | 22022 | </parameter> | |
| 19429 | 22023 | <parameter name="param_values" transfer-ownership="none"> | |
| 19430 | 22024 | <doc xml:space="preserve" | |
| 19431 | - | filename="gobject-2.0.c" | |
| 19432 | - | line="1356">a #GValue array holding instance, arg1 and arg2</doc> | |
| 22025 | + | filename="gobject/gmarshal.c" | |
| 22026 | + | line="2268">An array of #GValues holding the arguments | |
| 22027 | + | on which to invoke the callback of closure.</doc> | |
| 19433 | 22028 | <type name="Value" c:type="const GValue*"/> | |
| 19434 | 22029 | </parameter> | |
| 19435 | 22030 | <parameter name="invocation_hint" | |
| @@ -19437,9 +22032,9 @@ denotes a flags type.</doc> | |||
| 19437 | 22032 | nullable="1" | |
| 19438 | 22033 | allow-none="1"> | |
| 19439 | 22034 | <doc xml:space="preserve" | |
| 19440 | - | filename="gobject-2.0.c" | |
| 19441 | - | line="1357">the invocation hint given as the last argument | |
| 19442 | - | to g_closure_invoke()</doc> | |
| 22035 | + | filename="gobject/gmarshal.c" | |
| 22036 | + | line="2270">The invocation hint given as the last argument to | |
| 22037 | + | g_closure_invoke().</doc> | |
| 19443 | 22038 | <type name="gpointer" c:type="gpointer"/> | |
| 19444 | 22039 | </parameter> | |
| 19445 | 22040 | <parameter name="marshal_data" | |
| @@ -19447,8 +22042,10 @@ denotes a flags type.</doc> | |||
| 19447 | 22042 | nullable="1" | |
| 19448 | 22043 | allow-none="1"> | |
| 19449 | 22044 | <doc xml:space="preserve" | |
| 19450 | - | filename="gobject-2.0.c" | |
| 19451 | - | line="1359">additional data specified when registering the marshaller</doc> | |
| 22045 | + | filename="gobject/gmarshal.c" | |
| 22046 | + | line="2272">Additional data specified when registering the | |
| 22047 | + | marshaller, see g_closure_set_marshal() and | |
| 22048 | + | g_closure_set_meta_marshal()</doc> | |
| 19452 | 22049 | <type name="gpointer" c:type="gpointer"/> | |
| 19453 | 22050 | </parameter> | |
| 19454 | 22051 | </parameters> | |
| @@ -19457,36 +22054,38 @@ denotes a flags type.</doc> | |||
| 19457 | 22054 | c:identifier="g_cclosure_marshal_VOID__BOOLEAN" | |
| 19458 | 22055 | moved-to="CClosure.marshal_VOID__BOOLEAN"> | |
| 19459 | 22056 | <doc xml:space="preserve" | |
| 19460 | - | filename="gobject-2.0.c" | |
| 19461 | - | line="1385">A marshaller for a #GCClosure with a callback of type | |
| 19462 | - | `void (*callback) (gpointer instance, gboolean arg1, gpointer user_data)`.</doc> | |
| 19463 | - | <source-position filename="gmarshal.h" line="41"/> | |
| 22057 | + | filename="gobject/gmarshal.c" | |
| 22058 | + | line="169">A #GClosureMarshal function for use with signals with a single | |
| 22059 | + | boolean argument.</doc> | |
| 22060 | + | <source-position filename="gobject/gmarshal.h" line="41"/> | |
| 19464 | 22061 | <return-value transfer-ownership="none"> | |
| 19465 | 22062 | <type name="none" c:type="void"/> | |
| 19466 | 22063 | </return-value> | |
| 19467 | 22064 | <parameters> | |
| 19468 | 22065 | <parameter name="closure" transfer-ownership="none"> | |
| 19469 | 22066 | <doc xml:space="preserve" | |
| 19470 | - | filename="gobject-2.0.c" | |
| 19471 | - | line="1387">the #GClosure to which the marshaller belongs</doc> | |
| 22067 | + | filename="gobject/gmarshal.c" | |
| 22068 | + | line="171">A #GClosure.</doc> | |
| 19472 | 22069 | <type name="Closure" c:type="GClosure*"/> | |
| 19473 | 22070 | </parameter> | |
| 19474 | 22071 | <parameter name="return_value" transfer-ownership="none"> | |
| 19475 | 22072 | <doc xml:space="preserve" | |
| 19476 | - | filename="gobject-2.0.c" | |
| 19477 | - | line="1388">ignored</doc> | |
| 22073 | + | filename="gobject/gmarshal.c" | |
| 22074 | + | line="172">A #GValue to store the return value. May be %NULL | |
| 22075 | + | if the callback of closure doesn't return a value.</doc> | |
| 19478 | 22076 | <type name="Value" c:type="GValue*"/> | |
| 19479 | 22077 | </parameter> | |
| 19480 | 22078 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19481 | 22079 | <doc xml:space="preserve" | |
| 19482 | - | filename="gobject-2.0.c" | |
| 19483 | - | line="1389">2</doc> | |
| 22080 | + | filename="gobject/gmarshal.c" | |
| 22081 | + | line="174">The length of the @param_values array.</doc> | |
| 19484 | 22082 | <type name="guint" c:type="guint"/> | |
| 19485 | 22083 | </parameter> | |
| 19486 | 22084 | <parameter name="param_values" transfer-ownership="none"> | |
| 19487 | 22085 | <doc xml:space="preserve" | |
| 19488 | - | filename="gobject-2.0.c" | |
| 19489 | - | line="1390">a #GValue array holding the instance and the #gboolean parameter</doc> | |
| 22086 | + | filename="gobject/gmarshal.c" | |
| 22087 | + | line="175">An array of #GValues holding the arguments | |
| 22088 | + | on which to invoke the callback of closure.</doc> | |
| 19490 | 22089 | <type name="Value" c:type="const GValue*"/> | |
| 19491 | 22090 | </parameter> | |
| 19492 | 22091 | <parameter name="invocation_hint" | |
| @@ -19494,9 +22093,9 @@ denotes a flags type.</doc> | |||
| 19494 | 22093 | nullable="1" | |
| 19495 | 22094 | allow-none="1"> | |
| 19496 | 22095 | <doc xml:space="preserve" | |
| 19497 | - | filename="gobject-2.0.c" | |
| 19498 | - | line="1391">the invocation hint given as the last argument | |
| 19499 | - | to g_closure_invoke()</doc> | |
| 22096 | + | filename="gobject/gmarshal.c" | |
| 22097 | + | line="177">The invocation hint given as the last argument to | |
| 22098 | + | g_closure_invoke().</doc> | |
| 19500 | 22099 | <type name="gpointer" c:type="gpointer"/> | |
| 19501 | 22100 | </parameter> | |
| 19502 | 22101 | <parameter name="marshal_data" | |
| @@ -19504,8 +22103,10 @@ denotes a flags type.</doc> | |||
| 19504 | 22103 | nullable="1" | |
| 19505 | 22104 | allow-none="1"> | |
| 19506 | 22105 | <doc xml:space="preserve" | |
| 19507 | - | filename="gobject-2.0.c" | |
| 19508 | - | line="1393">additional data specified when registering the marshaller</doc> | |
| 22106 | + | filename="gobject/gmarshal.c" | |
| 22107 | + | line="179">Additional data specified when registering the | |
| 22108 | + | marshaller, see g_closure_set_marshal() and | |
| 22109 | + | g_closure_set_meta_marshal()</doc> | |
| 19509 | 22110 | <type name="gpointer" c:type="gpointer"/> | |
| 19510 | 22111 | </parameter> | |
| 19511 | 22112 | </parameters> | |
| @@ -19514,36 +22115,38 @@ denotes a flags type.</doc> | |||
| 19514 | 22115 | c:identifier="g_cclosure_marshal_VOID__BOXED" | |
| 19515 | 22116 | moved-to="CClosure.marshal_VOID__BOXED"> | |
| 19516 | 22117 | <doc xml:space="preserve" | |
| 19517 | - | filename="gobject-2.0.c" | |
| 19518 | - | line="1419">A marshaller for a #GCClosure with a callback of type | |
| 19519 | - | `void (*callback) (gpointer instance, GBoxed *arg1, gpointer user_data)`.</doc> | |
| 19520 | - | <source-position filename="gmarshal.h" line="262"/> | |
| 22118 | + | filename="gobject/gmarshal.c" | |
| 22119 | + | line="1581">A #GClosureMarshal function for use with signals with a single | |
| 22120 | + | argument which is any boxed pointer type.</doc> | |
| 22121 | + | <source-position filename="gobject/gmarshal.h" line="262"/> | |
| 19521 | 22122 | <return-value transfer-ownership="none"> | |
| 19522 | 22123 | <type name="none" c:type="void"/> | |
| 19523 | 22124 | </return-value> | |
| 19524 | 22125 | <parameters> | |
| 19525 | 22126 | <parameter name="closure" transfer-ownership="none"> | |
| 19526 | 22127 | <doc xml:space="preserve" | |
| 19527 | - | filename="gobject-2.0.c" | |
| 19528 | - | line="1421">the #GClosure to which the marshaller belongs</doc> | |
| 22128 | + | filename="gobject/gmarshal.c" | |
| 22129 | + | line="1583">A #GClosure.</doc> | |
| 19529 | 22130 | <type name="Closure" c:type="GClosure*"/> | |
| 19530 | 22131 | </parameter> | |
| 19531 | 22132 | <parameter name="return_value" transfer-ownership="none"> | |
| 19532 | 22133 | <doc xml:space="preserve" | |
| 19533 | - | filename="gobject-2.0.c" | |
| 19534 | - | line="1422">ignored</doc> | |
| 22134 | + | filename="gobject/gmarshal.c" | |
| 22135 | + | line="1584">A #GValue to store the return value. May be %NULL | |
| 22136 | + | if the callback of closure doesn't return a value.</doc> | |
| 19535 | 22137 | <type name="Value" c:type="GValue*"/> | |
| 19536 | 22138 | </parameter> | |
| 19537 | 22139 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19538 | 22140 | <doc xml:space="preserve" | |
| 19539 | - | filename="gobject-2.0.c" | |
| 19540 | - | line="1423">2</doc> | |
| 22141 | + | filename="gobject/gmarshal.c" | |
| 22142 | + | line="1586">The length of the @param_values array.</doc> | |
| 19541 | 22143 | <type name="guint" c:type="guint"/> | |
| 19542 | 22144 | </parameter> | |
| 19543 | 22145 | <parameter name="param_values" transfer-ownership="none"> | |
| 19544 | 22146 | <doc xml:space="preserve" | |
| 19545 | - | filename="gobject-2.0.c" | |
| 19546 | - | line="1424">a #GValue array holding the instance and the #GBoxed* parameter</doc> | |
| 22147 | + | filename="gobject/gmarshal.c" | |
| 22148 | + | line="1587">An array of #GValues holding the arguments | |
| 22149 | + | on which to invoke the callback of closure.</doc> | |
| 19547 | 22150 | <type name="Value" c:type="const GValue*"/> | |
| 19548 | 22151 | </parameter> | |
| 19549 | 22152 | <parameter name="invocation_hint" | |
| @@ -19551,9 +22154,9 @@ denotes a flags type.</doc> | |||
| 19551 | 22154 | nullable="1" | |
| 19552 | 22155 | allow-none="1"> | |
| 19553 | 22156 | <doc xml:space="preserve" | |
| 19554 | - | filename="gobject-2.0.c" | |
| 19555 | - | line="1425">the invocation hint given as the last argument | |
| 19556 | - | to g_closure_invoke()</doc> | |
| 22157 | + | filename="gobject/gmarshal.c" | |
| 22158 | + | line="1589">The invocation hint given as the last argument to | |
| 22159 | + | g_closure_invoke().</doc> | |
| 19557 | 22160 | <type name="gpointer" c:type="gpointer"/> | |
| 19558 | 22161 | </parameter> | |
| 19559 | 22162 | <parameter name="marshal_data" | |
| @@ -19561,8 +22164,10 @@ denotes a flags type.</doc> | |||
| 19561 | 22164 | nullable="1" | |
| 19562 | 22165 | allow-none="1"> | |
| 19563 | 22166 | <doc xml:space="preserve" | |
| 19564 | - | filename="gobject-2.0.c" | |
| 19565 | - | line="1427">additional data specified when registering the marshaller</doc> | |
| 22167 | + | filename="gobject/gmarshal.c" | |
| 22168 | + | line="1591">Additional data specified when registering the | |
| 22169 | + | marshaller, see g_closure_set_marshal() and | |
| 22170 | + | g_closure_set_meta_marshal()</doc> | |
| 19566 | 22171 | <type name="gpointer" c:type="gpointer"/> | |
| 19567 | 22172 | </parameter> | |
| 19568 | 22173 | </parameters> | |
| @@ -19571,36 +22176,38 @@ denotes a flags type.</doc> | |||
| 19571 | 22176 | c:identifier="g_cclosure_marshal_VOID__CHAR" | |
| 19572 | 22177 | moved-to="CClosure.marshal_VOID__CHAR"> | |
| 19573 | 22178 | <doc xml:space="preserve" | |
| 19574 | - | filename="gobject-2.0.c" | |
| 19575 | - | line="1453">A marshaller for a #GCClosure with a callback of type | |
| 19576 | - | `void (*callback) (gpointer instance, gchar arg1, gpointer user_data)`.</doc> | |
| 19577 | - | <source-position filename="gmarshal.h" line="58"/> | |
| 22179 | + | filename="gobject/gmarshal.c" | |
| 22180 | + | line="277">A #GClosureMarshal function for use with signals with a single | |
| 22181 | + | character argument.</doc> | |
| 22182 | + | <source-position filename="gobject/gmarshal.h" line="58"/> | |
| 19578 | 22183 | <return-value transfer-ownership="none"> | |
| 19579 | 22184 | <type name="none" c:type="void"/> | |
| 19580 | 22185 | </return-value> | |
| 19581 | 22186 | <parameters> | |
| 19582 | 22187 | <parameter name="closure" transfer-ownership="none"> | |
| 19583 | 22188 | <doc xml:space="preserve" | |
| 19584 | - | filename="gobject-2.0.c" | |
| 19585 | - | line="1455">the #GClosure to which the marshaller belongs</doc> | |
| 22189 | + | filename="gobject/gmarshal.c" | |
| 22190 | + | line="279">A #GClosure.</doc> | |
| 19586 | 22191 | <type name="Closure" c:type="GClosure*"/> | |
| 19587 | 22192 | </parameter> | |
| 19588 | 22193 | <parameter name="return_value" transfer-ownership="none"> | |
| 19589 | 22194 | <doc xml:space="preserve" | |
| 19590 | - | filename="gobject-2.0.c" | |
| 19591 | - | line="1456">ignored</doc> | |
| 22195 | + | filename="gobject/gmarshal.c" | |
| 22196 | + | line="280">A #GValue to store the return value. May be %NULL | |
| 22197 | + | if the callback of closure doesn't return a value.</doc> | |
| 19592 | 22198 | <type name="Value" c:type="GValue*"/> | |
| 19593 | 22199 | </parameter> | |
| 19594 | 22200 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19595 | 22201 | <doc xml:space="preserve" | |
| 19596 | - | filename="gobject-2.0.c" | |
| 19597 | - | line="1457">2</doc> | |
| 22202 | + | filename="gobject/gmarshal.c" | |
| 22203 | + | line="282">The length of the @param_values array.</doc> | |
| 19598 | 22204 | <type name="guint" c:type="guint"/> | |
| 19599 | 22205 | </parameter> | |
| 19600 | 22206 | <parameter name="param_values" transfer-ownership="none"> | |
| 19601 | 22207 | <doc xml:space="preserve" | |
| 19602 | - | filename="gobject-2.0.c" | |
| 19603 | - | line="1458">a #GValue array holding the instance and the #gchar parameter</doc> | |
| 22208 | + | filename="gobject/gmarshal.c" | |
| 22209 | + | line="283">An array of #GValues holding the arguments | |
| 22210 | + | on which to invoke the callback of closure.</doc> | |
| 19604 | 22211 | <type name="Value" c:type="const GValue*"/> | |
| 19605 | 22212 | </parameter> | |
| 19606 | 22213 | <parameter name="invocation_hint" | |
| @@ -19608,9 +22215,9 @@ denotes a flags type.</doc> | |||
| 19608 | 22215 | nullable="1" | |
| 19609 | 22216 | allow-none="1"> | |
| 19610 | 22217 | <doc xml:space="preserve" | |
| 19611 | - | filename="gobject-2.0.c" | |
| 19612 | - | line="1459">the invocation hint given as the last argument | |
| 19613 | - | to g_closure_invoke()</doc> | |
| 22218 | + | filename="gobject/gmarshal.c" | |
| 22219 | + | line="285">The invocation hint given as the last argument to | |
| 22220 | + | g_closure_invoke().</doc> | |
| 19614 | 22221 | <type name="gpointer" c:type="gpointer"/> | |
| 19615 | 22222 | </parameter> | |
| 19616 | 22223 | <parameter name="marshal_data" | |
| @@ -19618,8 +22225,10 @@ denotes a flags type.</doc> | |||
| 19618 | 22225 | nullable="1" | |
| 19619 | 22226 | allow-none="1"> | |
| 19620 | 22227 | <doc xml:space="preserve" | |
| 19621 | - | filename="gobject-2.0.c" | |
| 19622 | - | line="1461">additional data specified when registering the marshaller</doc> | |
| 22228 | + | filename="gobject/gmarshal.c" | |
| 22229 | + | line="287">Additional data specified when registering the | |
| 22230 | + | marshaller, see g_closure_set_marshal() and | |
| 22231 | + | g_closure_set_meta_marshal()</doc> | |
| 19623 | 22232 | <type name="gpointer" c:type="gpointer"/> | |
| 19624 | 22233 | </parameter> | |
| 19625 | 22234 | </parameters> | |
| @@ -19628,36 +22237,38 @@ denotes a flags type.</doc> | |||
| 19628 | 22237 | c:identifier="g_cclosure_marshal_VOID__DOUBLE" | |
| 19629 | 22238 | moved-to="CClosure.marshal_VOID__DOUBLE"> | |
| 19630 | 22239 | <doc xml:space="preserve" | |
| 19631 | - | filename="gobject-2.0.c" | |
| 19632 | - | line="1487">A marshaller for a #GCClosure with a callback of type | |
| 19633 | - | `void (*callback) (gpointer instance, gdouble arg1, gpointer user_data)`.</doc> | |
| 19634 | - | <source-position filename="gmarshal.h" line="211"/> | |
| 22240 | + | filename="gobject/gmarshal.c" | |
| 22241 | + | line="1249">A #GClosureMarshal function for use with signals with one | |
| 22242 | + | double-precision floating point argument.</doc> | |
| 22243 | + | <source-position filename="gobject/gmarshal.h" line="211"/> | |
| 19635 | 22244 | <return-value transfer-ownership="none"> | |
| 19636 | 22245 | <type name="none" c:type="void"/> | |
| 19637 | 22246 | </return-value> | |
| 19638 | 22247 | <parameters> | |
| 19639 | 22248 | <parameter name="closure" transfer-ownership="none"> | |
| 19640 | 22249 | <doc xml:space="preserve" | |
| 19641 | - | filename="gobject-2.0.c" | |
| 19642 | - | line="1489">the #GClosure to which the marshaller belongs</doc> | |
| 22250 | + | filename="gobject/gmarshal.c" | |
| 22251 | + | line="1251">A #GClosure.</doc> | |
| 19643 | 22252 | <type name="Closure" c:type="GClosure*"/> | |
| 19644 | 22253 | </parameter> | |
| 19645 | 22254 | <parameter name="return_value" transfer-ownership="none"> | |
| 19646 | 22255 | <doc xml:space="preserve" | |
| 19647 | - | filename="gobject-2.0.c" | |
| 19648 | - | line="1490">ignored</doc> | |
| 22256 | + | filename="gobject/gmarshal.c" | |
| 22257 | + | line="1252">A #GValue to store the return value. May be %NULL | |
| 22258 | + | if the callback of closure doesn't return a value.</doc> | |
| 19649 | 22259 | <type name="Value" c:type="GValue*"/> | |
| 19650 | 22260 | </parameter> | |
| 19651 | 22261 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19652 | 22262 | <doc xml:space="preserve" | |
| 19653 | - | filename="gobject-2.0.c" | |
| 19654 | - | line="1491">2</doc> | |
| 22263 | + | filename="gobject/gmarshal.c" | |
| 22264 | + | line="1254">The length of the @param_values array.</doc> | |
| 19655 | 22265 | <type name="guint" c:type="guint"/> | |
| 19656 | 22266 | </parameter> | |
| 19657 | 22267 | <parameter name="param_values" transfer-ownership="none"> | |
| 19658 | 22268 | <doc xml:space="preserve" | |
| 19659 | - | filename="gobject-2.0.c" | |
| 19660 | - | line="1492">a #GValue array holding the instance and the #gdouble parameter</doc> | |
| 22269 | + | filename="gobject/gmarshal.c" | |
| 22270 | + | line="1255">An array of #GValues holding the arguments | |
| 22271 | + | on which to invoke the callback of closure.</doc> | |
| 19661 | 22272 | <type name="Value" c:type="const GValue*"/> | |
| 19662 | 22273 | </parameter> | |
| 19663 | 22274 | <parameter name="invocation_hint" | |
| @@ -19665,9 +22276,9 @@ denotes a flags type.</doc> | |||
| 19665 | 22276 | nullable="1" | |
| 19666 | 22277 | allow-none="1"> | |
| 19667 | 22278 | <doc xml:space="preserve" | |
| 19668 | - | filename="gobject-2.0.c" | |
| 19669 | - | line="1493">the invocation hint given as the last argument | |
| 19670 | - | to g_closure_invoke()</doc> | |
| 22279 | + | filename="gobject/gmarshal.c" | |
| 22280 | + | line="1257">The invocation hint given as the last argument to | |
| 22281 | + | g_closure_invoke().</doc> | |
| 19671 | 22282 | <type name="gpointer" c:type="gpointer"/> | |
| 19672 | 22283 | </parameter> | |
| 19673 | 22284 | <parameter name="marshal_data" | |
| @@ -19675,8 +22286,10 @@ denotes a flags type.</doc> | |||
| 19675 | 22286 | nullable="1" | |
| 19676 | 22287 | allow-none="1"> | |
| 19677 | 22288 | <doc xml:space="preserve" | |
| 19678 | - | filename="gobject-2.0.c" | |
| 19679 | - | line="1495">additional data specified when registering the marshaller</doc> | |
| 22289 | + | filename="gobject/gmarshal.c" | |
| 22290 | + | line="1259">Additional data specified when registering the | |
| 22291 | + | marshaller, see g_closure_set_marshal() and | |
| 22292 | + | g_closure_set_meta_marshal()</doc> | |
| 19680 | 22293 | <type name="gpointer" c:type="gpointer"/> | |
| 19681 | 22294 | </parameter> | |
| 19682 | 22295 | </parameters> | |
| @@ -19685,36 +22298,38 @@ denotes a flags type.</doc> | |||
| 19685 | 22298 | c:identifier="g_cclosure_marshal_VOID__ENUM" | |
| 19686 | 22299 | moved-to="CClosure.marshal_VOID__ENUM"> | |
| 19687 | 22300 | <doc xml:space="preserve" | |
| 19688 | - | filename="gobject-2.0.c" | |
| 19689 | - | line="1521">A marshaller for a #GCClosure with a callback of type | |
| 19690 | - | `void (*callback) (gpointer instance, gint arg1, gpointer user_data)` where the #gint parameter denotes an enumeration type..</doc> | |
| 19691 | - | <source-position filename="gmarshal.h" line="160"/> | |
| 22301 | + | filename="gobject/gmarshal.c" | |
| 22302 | + | line="925">A #GClosureMarshal function for use with signals with a single | |
| 22303 | + | argument with an enumerated type.</doc> | |
| 22304 | + | <source-position filename="gobject/gmarshal.h" line="160"/> | |
| 19692 | 22305 | <return-value transfer-ownership="none"> | |
| 19693 | 22306 | <type name="none" c:type="void"/> | |
| 19694 | 22307 | </return-value> | |
| 19695 | 22308 | <parameters> | |
| 19696 | 22309 | <parameter name="closure" transfer-ownership="none"> | |
| 19697 | 22310 | <doc xml:space="preserve" | |
| 19698 | - | filename="gobject-2.0.c" | |
| 19699 | - | line="1523">the #GClosure to which the marshaller belongs</doc> | |
| 22311 | + | filename="gobject/gmarshal.c" | |
| 22312 | + | line="927">A #GClosure.</doc> | |
| 19700 | 22313 | <type name="Closure" c:type="GClosure*"/> | |
| 19701 | 22314 | </parameter> | |
| 19702 | 22315 | <parameter name="return_value" transfer-ownership="none"> | |
| 19703 | 22316 | <doc xml:space="preserve" | |
| 19704 | - | filename="gobject-2.0.c" | |
| 19705 | - | line="1524">ignored</doc> | |
| 22317 | + | filename="gobject/gmarshal.c" | |
| 22318 | + | line="928">A #GValue to store the return value. May be %NULL | |
| 22319 | + | if the callback of closure doesn't return a value.</doc> | |
| 19706 | 22320 | <type name="Value" c:type="GValue*"/> | |
| 19707 | 22321 | </parameter> | |
| 19708 | 22322 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19709 | 22323 | <doc xml:space="preserve" | |
| 19710 | - | filename="gobject-2.0.c" | |
| 19711 | - | line="1525">2</doc> | |
| 22324 | + | filename="gobject/gmarshal.c" | |
| 22325 | + | line="930">The length of the @param_values array.</doc> | |
| 19712 | 22326 | <type name="guint" c:type="guint"/> | |
| 19713 | 22327 | </parameter> | |
| 19714 | 22328 | <parameter name="param_values" transfer-ownership="none"> | |
| 19715 | 22329 | <doc xml:space="preserve" | |
| 19716 | - | filename="gobject-2.0.c" | |
| 19717 | - | line="1526">a #GValue array holding the instance and the enumeration parameter</doc> | |
| 22330 | + | filename="gobject/gmarshal.c" | |
| 22331 | + | line="931">An array of #GValues holding the arguments | |
| 22332 | + | on which to invoke the callback of closure.</doc> | |
| 19718 | 22333 | <type name="Value" c:type="const GValue*"/> | |
| 19719 | 22334 | </parameter> | |
| 19720 | 22335 | <parameter name="invocation_hint" | |
| @@ -19722,9 +22337,9 @@ denotes a flags type.</doc> | |||
| 19722 | 22337 | nullable="1" | |
| 19723 | 22338 | allow-none="1"> | |
| 19724 | 22339 | <doc xml:space="preserve" | |
| 19725 | - | filename="gobject-2.0.c" | |
| 19726 | - | line="1527">the invocation hint given as the last argument | |
| 19727 | - | to g_closure_invoke()</doc> | |
| 22340 | + | filename="gobject/gmarshal.c" | |
| 22341 | + | line="933">The invocation hint given as the last argument to | |
| 22342 | + | g_closure_invoke().</doc> | |
| 19728 | 22343 | <type name="gpointer" c:type="gpointer"/> | |
| 19729 | 22344 | </parameter> | |
| 19730 | 22345 | <parameter name="marshal_data" | |
| @@ -19732,8 +22347,10 @@ denotes a flags type.</doc> | |||
| 19732 | 22347 | nullable="1" | |
| 19733 | 22348 | allow-none="1"> | |
| 19734 | 22349 | <doc xml:space="preserve" | |
| 19735 | - | filename="gobject-2.0.c" | |
| 19736 | - | line="1529">additional data specified when registering the marshaller</doc> | |
| 22350 | + | filename="gobject/gmarshal.c" | |
| 22351 | + | line="935">Additional data specified when registering the | |
| 22352 | + | marshaller, see g_closure_set_marshal() and | |
| 22353 | + | g_closure_set_meta_marshal()</doc> | |
| 19737 | 22354 | <type name="gpointer" c:type="gpointer"/> | |
| 19738 | 22355 | </parameter> | |
| 19739 | 22356 | </parameters> | |
| @@ -19742,36 +22359,38 @@ denotes a flags type.</doc> | |||
| 19742 | 22359 | c:identifier="g_cclosure_marshal_VOID__FLAGS" | |
| 19743 | 22360 | moved-to="CClosure.marshal_VOID__FLAGS"> | |
| 19744 | 22361 | <doc xml:space="preserve" | |
| 19745 | - | filename="gobject-2.0.c" | |
| 19746 | - | line="1555">A marshaller for a #GCClosure with a callback of type | |
| 19747 | - | `void (*callback) (gpointer instance, gint arg1, gpointer user_data)` where the #gint parameter denotes a flags type.</doc> | |
| 19748 | - | <source-position filename="gmarshal.h" line="177"/> | |
| 22362 | + | filename="gobject/gmarshal.c" | |
| 22363 | + | line="1033">A #GClosureMarshal function for use with signals with a single | |
| 22364 | + | argument with a flags types.</doc> | |
| 22365 | + | <source-position filename="gobject/gmarshal.h" line="177"/> | |
| 19749 | 22366 | <return-value transfer-ownership="none"> | |
| 19750 | 22367 | <type name="none" c:type="void"/> | |
| 19751 | 22368 | </return-value> | |
| 19752 | 22369 | <parameters> | |
| 19753 | 22370 | <parameter name="closure" transfer-ownership="none"> | |
| 19754 | 22371 | <doc xml:space="preserve" | |
| 19755 | - | filename="gobject-2.0.c" | |
| 19756 | - | line="1557">the #GClosure to which the marshaller belongs</doc> | |
| 22372 | + | filename="gobject/gmarshal.c" | |
| 22373 | + | line="1035">A #GClosure.</doc> | |
| 19757 | 22374 | <type name="Closure" c:type="GClosure*"/> | |
| 19758 | 22375 | </parameter> | |
| 19759 | 22376 | <parameter name="return_value" transfer-ownership="none"> | |
| 19760 | 22377 | <doc xml:space="preserve" | |
| 19761 | - | filename="gobject-2.0.c" | |
| 19762 | - | line="1558">ignored</doc> | |
| 22378 | + | filename="gobject/gmarshal.c" | |
| 22379 | + | line="1036">A #GValue to store the return value. May be %NULL | |
| 22380 | + | if the callback of closure doesn't return a value.</doc> | |
| 19763 | 22381 | <type name="Value" c:type="GValue*"/> | |
| 19764 | 22382 | </parameter> | |
| 19765 | 22383 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19766 | 22384 | <doc xml:space="preserve" | |
| 19767 | - | filename="gobject-2.0.c" | |
| 19768 | - | line="1559">2</doc> | |
| 22385 | + | filename="gobject/gmarshal.c" | |
| 22386 | + | line="1038">The length of the @param_values array.</doc> | |
| 19769 | 22387 | <type name="guint" c:type="guint"/> | |
| 19770 | 22388 | </parameter> | |
| 19771 | 22389 | <parameter name="param_values" transfer-ownership="none"> | |
| 19772 | 22390 | <doc xml:space="preserve" | |
| 19773 | - | filename="gobject-2.0.c" | |
| 19774 | - | line="1560">a #GValue array holding the instance and the flags parameter</doc> | |
| 22391 | + | filename="gobject/gmarshal.c" | |
| 22392 | + | line="1039">An array of #GValues holding the arguments | |
| 22393 | + | on which to invoke the callback of closure.</doc> | |
| 19775 | 22394 | <type name="Value" c:type="const GValue*"/> | |
| 19776 | 22395 | </parameter> | |
| 19777 | 22396 | <parameter name="invocation_hint" | |
| @@ -19779,9 +22398,9 @@ denotes a flags type.</doc> | |||
| 19779 | 22398 | nullable="1" | |
| 19780 | 22399 | allow-none="1"> | |
| 19781 | 22400 | <doc xml:space="preserve" | |
| 19782 | - | filename="gobject-2.0.c" | |
| 19783 | - | line="1561">the invocation hint given as the last argument | |
| 19784 | - | to g_closure_invoke()</doc> | |
| 22401 | + | filename="gobject/gmarshal.c" | |
| 22402 | + | line="1041">The invocation hint given as the last argument to | |
| 22403 | + | g_closure_invoke().</doc> | |
| 19785 | 22404 | <type name="gpointer" c:type="gpointer"/> | |
| 19786 | 22405 | </parameter> | |
| 19787 | 22406 | <parameter name="marshal_data" | |
| @@ -19789,8 +22408,10 @@ denotes a flags type.</doc> | |||
| 19789 | 22408 | nullable="1" | |
| 19790 | 22409 | allow-none="1"> | |
| 19791 | 22410 | <doc xml:space="preserve" | |
| 19792 | - | filename="gobject-2.0.c" | |
| 19793 | - | line="1563">additional data specified when registering the marshaller</doc> | |
| 22411 | + | filename="gobject/gmarshal.c" | |
| 22412 | + | line="1043">Additional data specified when registering the | |
| 22413 | + | marshaller, see g_closure_set_marshal() and | |
| 22414 | + | g_closure_set_meta_marshal()</doc> | |
| 19794 | 22415 | <type name="gpointer" c:type="gpointer"/> | |
| 19795 | 22416 | </parameter> | |
| 19796 | 22417 | </parameters> | |
| @@ -19799,36 +22420,38 @@ denotes a flags type.</doc> | |||
| 19799 | 22420 | c:identifier="g_cclosure_marshal_VOID__FLOAT" | |
| 19800 | 22421 | moved-to="CClosure.marshal_VOID__FLOAT"> | |
| 19801 | 22422 | <doc xml:space="preserve" | |
| 19802 | - | filename="gobject-2.0.c" | |
| 19803 | - | line="1589">A marshaller for a #GCClosure with a callback of type | |
| 19804 | - | `void (*callback) (gpointer instance, gfloat arg1, gpointer user_data)`.</doc> | |
| 19805 | - | <source-position filename="gmarshal.h" line="194"/> | |
| 22423 | + | filename="gobject/gmarshal.c" | |
| 22424 | + | line="1141">A #GClosureMarshal function for use with signals with one | |
| 22425 | + | single-precision floating point argument.</doc> | |
| 22426 | + | <source-position filename="gobject/gmarshal.h" line="194"/> | |
| 19806 | 22427 | <return-value transfer-ownership="none"> | |
| 19807 | 22428 | <type name="none" c:type="void"/> | |
| 19808 | 22429 | </return-value> | |
| 19809 | 22430 | <parameters> | |
| 19810 | 22431 | <parameter name="closure" transfer-ownership="none"> | |
| 19811 | 22432 | <doc xml:space="preserve" | |
| 19812 | - | filename="gobject-2.0.c" | |
| 19813 | - | line="1591">the #GClosure to which the marshaller belongs</doc> | |
| 22433 | + | filename="gobject/gmarshal.c" | |
| 22434 | + | line="1143">A #GClosure.</doc> | |
| 19814 | 22435 | <type name="Closure" c:type="GClosure*"/> | |
| 19815 | 22436 | </parameter> | |
| 19816 | 22437 | <parameter name="return_value" transfer-ownership="none"> | |
| 19817 | 22438 | <doc xml:space="preserve" | |
| 19818 | - | filename="gobject-2.0.c" | |
| 19819 | - | line="1592">ignored</doc> | |
| 22439 | + | filename="gobject/gmarshal.c" | |
| 22440 | + | line="1144">A #GValue to store the return value. May be %NULL | |
| 22441 | + | if the callback of closure doesn't return a value.</doc> | |
| 19820 | 22442 | <type name="Value" c:type="GValue*"/> | |
| 19821 | 22443 | </parameter> | |
| 19822 | 22444 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19823 | 22445 | <doc xml:space="preserve" | |
| 19824 | - | filename="gobject-2.0.c" | |
| 19825 | - | line="1593">2</doc> | |
| 22446 | + | filename="gobject/gmarshal.c" | |
| 22447 | + | line="1146">The length of the @param_values array.</doc> | |
| 19826 | 22448 | <type name="guint" c:type="guint"/> | |
| 19827 | 22449 | </parameter> | |
| 19828 | 22450 | <parameter name="param_values" transfer-ownership="none"> | |
| 19829 | 22451 | <doc xml:space="preserve" | |
| 19830 | - | filename="gobject-2.0.c" | |
| 19831 | - | line="1594">a #GValue array holding the instance and the #gfloat parameter</doc> | |
| 22452 | + | filename="gobject/gmarshal.c" | |
| 22453 | + | line="1147">An array of #GValues holding the arguments | |
| 22454 | + | on which to invoke the callback of closure.</doc> | |
| 19832 | 22455 | <type name="Value" c:type="const GValue*"/> | |
| 19833 | 22456 | </parameter> | |
| 19834 | 22457 | <parameter name="invocation_hint" | |
| @@ -19836,9 +22459,9 @@ denotes a flags type.</doc> | |||
| 19836 | 22459 | nullable="1" | |
| 19837 | 22460 | allow-none="1"> | |
| 19838 | 22461 | <doc xml:space="preserve" | |
| 19839 | - | filename="gobject-2.0.c" | |
| 19840 | - | line="1595">the invocation hint given as the last argument | |
| 19841 | - | to g_closure_invoke()</doc> | |
| 22462 | + | filename="gobject/gmarshal.c" | |
| 22463 | + | line="1149">The invocation hint given as the last argument to | |
| 22464 | + | g_closure_invoke().</doc> | |
| 19842 | 22465 | <type name="gpointer" c:type="gpointer"/> | |
| 19843 | 22466 | </parameter> | |
| 19844 | 22467 | <parameter name="marshal_data" | |
| @@ -19846,8 +22469,10 @@ denotes a flags type.</doc> | |||
| 19846 | 22469 | nullable="1" | |
| 19847 | 22470 | allow-none="1"> | |
| 19848 | 22471 | <doc xml:space="preserve" | |
| 19849 | - | filename="gobject-2.0.c" | |
| 19850 | - | line="1597">additional data specified when registering the marshaller</doc> | |
| 22472 | + | filename="gobject/gmarshal.c" | |
| 22473 | + | line="1151">Additional data specified when registering the | |
| 22474 | + | marshaller, see g_closure_set_marshal() and | |
| 22475 | + | g_closure_set_meta_marshal()</doc> | |
| 19851 | 22476 | <type name="gpointer" c:type="gpointer"/> | |
| 19852 | 22477 | </parameter> | |
| 19853 | 22478 | </parameters> | |
| @@ -19856,36 +22481,38 @@ denotes a flags type.</doc> | |||
| 19856 | 22481 | c:identifier="g_cclosure_marshal_VOID__INT" | |
| 19857 | 22482 | moved-to="CClosure.marshal_VOID__INT"> | |
| 19858 | 22483 | <doc xml:space="preserve" | |
| 19859 | - | filename="gobject-2.0.c" | |
| 19860 | - | line="1623">A marshaller for a #GCClosure with a callback of type | |
| 19861 | - | `void (*callback) (gpointer instance, gint arg1, gpointer user_data)`.</doc> | |
| 19862 | - | <source-position filename="gmarshal.h" line="92"/> | |
| 22484 | + | filename="gobject/gmarshal.c" | |
| 22485 | + | line="493">A #GClosureMarshal function for use with signals with a single | |
| 22486 | + | integer argument.</doc> | |
| 22487 | + | <source-position filename="gobject/gmarshal.h" line="92"/> | |
| 19863 | 22488 | <return-value transfer-ownership="none"> | |
| 19864 | 22489 | <type name="none" c:type="void"/> | |
| 19865 | 22490 | </return-value> | |
| 19866 | 22491 | <parameters> | |
| 19867 | 22492 | <parameter name="closure" transfer-ownership="none"> | |
| 19868 | 22493 | <doc xml:space="preserve" | |
| 19869 | - | filename="gobject-2.0.c" | |
| 19870 | - | line="1625">the #GClosure to which the marshaller belongs</doc> | |
| 22494 | + | filename="gobject/gmarshal.c" | |
| 22495 | + | line="495">A #GClosure.</doc> | |
| 19871 | 22496 | <type name="Closure" c:type="GClosure*"/> | |
| 19872 | 22497 | </parameter> | |
| 19873 | 22498 | <parameter name="return_value" transfer-ownership="none"> | |
| 19874 | 22499 | <doc xml:space="preserve" | |
| 19875 | - | filename="gobject-2.0.c" | |
| 19876 | - | line="1626">ignored</doc> | |
| 22500 | + | filename="gobject/gmarshal.c" | |
| 22501 | + | line="496">A #GValue to store the return value. May be %NULL | |
| 22502 | + | if the callback of closure doesn't return a value.</doc> | |
| 19877 | 22503 | <type name="Value" c:type="GValue*"/> | |
| 19878 | 22504 | </parameter> | |
| 19879 | 22505 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19880 | 22506 | <doc xml:space="preserve" | |
| 19881 | - | filename="gobject-2.0.c" | |
| 19882 | - | line="1627">2</doc> | |
| 22507 | + | filename="gobject/gmarshal.c" | |
| 22508 | + | line="498">The length of the @param_values array.</doc> | |
| 19883 | 22509 | <type name="guint" c:type="guint"/> | |
| 19884 | 22510 | </parameter> | |
| 19885 | 22511 | <parameter name="param_values" transfer-ownership="none"> | |
| 19886 | 22512 | <doc xml:space="preserve" | |
| 19887 | - | filename="gobject-2.0.c" | |
| 19888 | - | line="1628">a #GValue array holding the instance and the #gint parameter</doc> | |
| 22513 | + | filename="gobject/gmarshal.c" | |
| 22514 | + | line="499">An array of #GValues holding the arguments | |
| 22515 | + | on which to invoke the callback of closure.</doc> | |
| 19889 | 22516 | <type name="Value" c:type="const GValue*"/> | |
| 19890 | 22517 | </parameter> | |
| 19891 | 22518 | <parameter name="invocation_hint" | |
| @@ -19893,9 +22520,9 @@ denotes a flags type.</doc> | |||
| 19893 | 22520 | nullable="1" | |
| 19894 | 22521 | allow-none="1"> | |
| 19895 | 22522 | <doc xml:space="preserve" | |
| 19896 | - | filename="gobject-2.0.c" | |
| 19897 | - | line="1629">the invocation hint given as the last argument | |
| 19898 | - | to g_closure_invoke()</doc> | |
| 22523 | + | filename="gobject/gmarshal.c" | |
| 22524 | + | line="501">The invocation hint given as the last argument to | |
| 22525 | + | g_closure_invoke().</doc> | |
| 19899 | 22526 | <type name="gpointer" c:type="gpointer"/> | |
| 19900 | 22527 | </parameter> | |
| 19901 | 22528 | <parameter name="marshal_data" | |
| @@ -19903,8 +22530,10 @@ denotes a flags type.</doc> | |||
| 19903 | 22530 | nullable="1" | |
| 19904 | 22531 | allow-none="1"> | |
| 19905 | 22532 | <doc xml:space="preserve" | |
| 19906 | - | filename="gobject-2.0.c" | |
| 19907 | - | line="1631">additional data specified when registering the marshaller</doc> | |
| 22533 | + | filename="gobject/gmarshal.c" | |
| 22534 | + | line="503">Additional data specified when registering the | |
| 22535 | + | marshaller, see g_closure_set_marshal() and | |
| 22536 | + | g_closure_set_meta_marshal()</doc> | |
| 19908 | 22537 | <type name="gpointer" c:type="gpointer"/> | |
| 19909 | 22538 | </parameter> | |
| 19910 | 22539 | </parameters> | |
| @@ -19913,36 +22542,38 @@ denotes a flags type.</doc> | |||
| 19913 | 22542 | c:identifier="g_cclosure_marshal_VOID__LONG" | |
| 19914 | 22543 | moved-to="CClosure.marshal_VOID__LONG"> | |
| 19915 | 22544 | <doc xml:space="preserve" | |
| 19916 | - | filename="gobject-2.0.c" | |
| 19917 | - | line="1657">A marshaller for a #GCClosure with a callback of type | |
| 19918 | - | `void (*callback) (gpointer instance, glong arg1, gpointer user_data)`.</doc> | |
| 19919 | - | <source-position filename="gmarshal.h" line="126"/> | |
| 22545 | + | filename="gobject/gmarshal.c" | |
| 22546 | + | line="709">A #GClosureMarshal function for use with signals with with a single | |
| 22547 | + | long integer argument.</doc> | |
| 22548 | + | <source-position filename="gobject/gmarshal.h" line="126"/> | |
| 19920 | 22549 | <return-value transfer-ownership="none"> | |
| 19921 | 22550 | <type name="none" c:type="void"/> | |
| 19922 | 22551 | </return-value> | |
| 19923 | 22552 | <parameters> | |
| 19924 | 22553 | <parameter name="closure" transfer-ownership="none"> | |
| 19925 | 22554 | <doc xml:space="preserve" | |
| 19926 | - | filename="gobject-2.0.c" | |
| 19927 | - | line="1659">the #GClosure to which the marshaller belongs</doc> | |
| 22555 | + | filename="gobject/gmarshal.c" | |
| 22556 | + | line="711">A #GClosure.</doc> | |
| 19928 | 22557 | <type name="Closure" c:type="GClosure*"/> | |
| 19929 | 22558 | </parameter> | |
| 19930 | 22559 | <parameter name="return_value" transfer-ownership="none"> | |
| 19931 | 22560 | <doc xml:space="preserve" | |
| 19932 | - | filename="gobject-2.0.c" | |
| 19933 | - | line="1660">ignored</doc> | |
| 22561 | + | filename="gobject/gmarshal.c" | |
| 22562 | + | line="712">A #GValue to store the return value. May be %NULL | |
| 22563 | + | if the callback of closure doesn't return a value.</doc> | |
| 19934 | 22564 | <type name="Value" c:type="GValue*"/> | |
| 19935 | 22565 | </parameter> | |
| 19936 | 22566 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19937 | 22567 | <doc xml:space="preserve" | |
| 19938 | - | filename="gobject-2.0.c" | |
| 19939 | - | line="1661">2</doc> | |
| 22568 | + | filename="gobject/gmarshal.c" | |
| 22569 | + | line="714">The length of the @param_values array.</doc> | |
| 19940 | 22570 | <type name="guint" c:type="guint"/> | |
| 19941 | 22571 | </parameter> | |
| 19942 | 22572 | <parameter name="param_values" transfer-ownership="none"> | |
| 19943 | 22573 | <doc xml:space="preserve" | |
| 19944 | - | filename="gobject-2.0.c" | |
| 19945 | - | line="1662">a #GValue array holding the instance and the #glong parameter</doc> | |
| 22574 | + | filename="gobject/gmarshal.c" | |
| 22575 | + | line="715">An array of #GValues holding the arguments | |
| 22576 | + | on which to invoke the callback of closure.</doc> | |
| 19946 | 22577 | <type name="Value" c:type="const GValue*"/> | |
| 19947 | 22578 | </parameter> | |
| 19948 | 22579 | <parameter name="invocation_hint" | |
| @@ -19950,9 +22581,9 @@ denotes a flags type.</doc> | |||
| 19950 | 22581 | nullable="1" | |
| 19951 | 22582 | allow-none="1"> | |
| 19952 | 22583 | <doc xml:space="preserve" | |
| 19953 | - | filename="gobject-2.0.c" | |
| 19954 | - | line="1663">the invocation hint given as the last argument | |
| 19955 | - | to g_closure_invoke()</doc> | |
| 22584 | + | filename="gobject/gmarshal.c" | |
| 22585 | + | line="717">The invocation hint given as the last argument to | |
| 22586 | + | g_closure_invoke().</doc> | |
| 19956 | 22587 | <type name="gpointer" c:type="gpointer"/> | |
| 19957 | 22588 | </parameter> | |
| 19958 | 22589 | <parameter name="marshal_data" | |
| @@ -19960,8 +22591,10 @@ denotes a flags type.</doc> | |||
| 19960 | 22591 | nullable="1" | |
| 19961 | 22592 | allow-none="1"> | |
| 19962 | 22593 | <doc xml:space="preserve" | |
| 19963 | - | filename="gobject-2.0.c" | |
| 19964 | - | line="1665">additional data specified when registering the marshaller</doc> | |
| 22594 | + | filename="gobject/gmarshal.c" | |
| 22595 | + | line="719">Additional data specified when registering the | |
| 22596 | + | marshaller, see g_closure_set_marshal() and | |
| 22597 | + | g_closure_set_meta_marshal()</doc> | |
| 19965 | 22598 | <type name="gpointer" c:type="gpointer"/> | |
| 19966 | 22599 | </parameter> | |
| 19967 | 22600 | </parameters> | |
| @@ -19970,36 +22603,38 @@ denotes a flags type.</doc> | |||
| 19970 | 22603 | c:identifier="g_cclosure_marshal_VOID__OBJECT" | |
| 19971 | 22604 | moved-to="CClosure.marshal_VOID__OBJECT"> | |
| 19972 | 22605 | <doc xml:space="preserve" | |
| 19973 | - | filename="gobject-2.0.c" | |
| 19974 | - | line="1691">A marshaller for a #GCClosure with a callback of type | |
| 19975 | - | `void (*callback) (gpointer instance, GObject *arg1, gpointer user_data)`.</doc> | |
| 19976 | - | <source-position filename="gmarshal.h" line="296"/> | |
| 22606 | + | filename="gobject/gmarshal.c" | |
| 22607 | + | line="1805">A #GClosureMarshal function for use with signals with a single | |
| 22608 | + | #GObject argument.</doc> | |
| 22609 | + | <source-position filename="gobject/gmarshal.h" line="296"/> | |
| 19977 | 22610 | <return-value transfer-ownership="none"> | |
| 19978 | 22611 | <type name="none" c:type="void"/> | |
| 19979 | 22612 | </return-value> | |
| 19980 | 22613 | <parameters> | |
| 19981 | 22614 | <parameter name="closure" transfer-ownership="none"> | |
| 19982 | 22615 | <doc xml:space="preserve" | |
| 19983 | - | filename="gobject-2.0.c" | |
| 19984 | - | line="1693">the #GClosure to which the marshaller belongs</doc> | |
| 22616 | + | filename="gobject/gmarshal.c" | |
| 22617 | + | line="1807">A #GClosure.</doc> | |
| 19985 | 22618 | <type name="Closure" c:type="GClosure*"/> | |
| 19986 | 22619 | </parameter> | |
| 19987 | 22620 | <parameter name="return_value" transfer-ownership="none"> | |
| 19988 | 22621 | <doc xml:space="preserve" | |
| 19989 | - | filename="gobject-2.0.c" | |
| 19990 | - | line="1694">ignored</doc> | |
| 22622 | + | filename="gobject/gmarshal.c" | |
| 22623 | + | line="1808">A #GValue to store the return value. May be %NULL | |
| 22624 | + | if the callback of closure doesn't return a value.</doc> | |
| 19991 | 22625 | <type name="Value" c:type="GValue*"/> | |
| 19992 | 22626 | </parameter> | |
| 19993 | 22627 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 19994 | 22628 | <doc xml:space="preserve" | |
| 19995 | - | filename="gobject-2.0.c" | |
| 19996 | - | line="1695">2</doc> | |
| 22629 | + | filename="gobject/gmarshal.c" | |
| 22630 | + | line="1810">The length of the @param_values array.</doc> | |
| 19997 | 22631 | <type name="guint" c:type="guint"/> | |
| 19998 | 22632 | </parameter> | |
| 19999 | 22633 | <parameter name="param_values" transfer-ownership="none"> | |
| 20000 | 22634 | <doc xml:space="preserve" | |
| 20001 | - | filename="gobject-2.0.c" | |
| 20002 | - | line="1696">a #GValue array holding the instance and the #GObject* parameter</doc> | |
| 22635 | + | filename="gobject/gmarshal.c" | |
| 22636 | + | line="1811">An array of #GValues holding the arguments | |
| 22637 | + | on which to invoke the callback of closure.</doc> | |
| 20003 | 22638 | <type name="Value" c:type="const GValue*"/> | |
| 20004 | 22639 | </parameter> | |
| 20005 | 22640 | <parameter name="invocation_hint" | |
| @@ -20007,9 +22642,9 @@ denotes a flags type.</doc> | |||
| 20007 | 22642 | nullable="1" | |
| 20008 | 22643 | allow-none="1"> | |
| 20009 | 22644 | <doc xml:space="preserve" | |
| 20010 | - | filename="gobject-2.0.c" | |
| 20011 | - | line="1697">the invocation hint given as the last argument | |
| 20012 | - | to g_closure_invoke()</doc> | |
| 22645 | + | filename="gobject/gmarshal.c" | |
| 22646 | + | line="1813">The invocation hint given as the last argument to | |
| 22647 | + | g_closure_invoke().</doc> | |
| 20013 | 22648 | <type name="gpointer" c:type="gpointer"/> | |
| 20014 | 22649 | </parameter> | |
| 20015 | 22650 | <parameter name="marshal_data" | |
| @@ -20017,8 +22652,10 @@ denotes a flags type.</doc> | |||
| 20017 | 22652 | nullable="1" | |
| 20018 | 22653 | allow-none="1"> | |
| 20019 | 22654 | <doc xml:space="preserve" | |
| 20020 | - | filename="gobject-2.0.c" | |
| 20021 | - | line="1699">additional data specified when registering the marshaller</doc> | |
| 22655 | + | filename="gobject/gmarshal.c" | |
| 22656 | + | line="1815">Additional data specified when registering the | |
| 22657 | + | marshaller, see g_closure_set_marshal() and | |
| 22658 | + | g_closure_set_meta_marshal()</doc> | |
| 20022 | 22659 | <type name="gpointer" c:type="gpointer"/> | |
| 20023 | 22660 | </parameter> | |
| 20024 | 22661 | </parameters> | |
| @@ -20027,36 +22664,38 @@ denotes a flags type.</doc> | |||
| 20027 | 22664 | c:identifier="g_cclosure_marshal_VOID__PARAM" | |
| 20028 | 22665 | moved-to="CClosure.marshal_VOID__PARAM"> | |
| 20029 | 22666 | <doc xml:space="preserve" | |
| 20030 | - | filename="gobject-2.0.c" | |
| 20031 | - | line="1725">A marshaller for a #GCClosure with a callback of type | |
| 20032 | - | `void (*callback) (gpointer instance, GParamSpec *arg1, gpointer user_data)`.</doc> | |
| 20033 | - | <source-position filename="gmarshal.h" line="245"/> | |
| 22667 | + | filename="gobject/gmarshal.c" | |
| 22668 | + | line="1469">A #GClosureMarshal function for use with signals with a single | |
| 22669 | + | argument of type #GParamSpec.</doc> | |
| 22670 | + | <source-position filename="gobject/gmarshal.h" line="245"/> | |
| 20034 | 22671 | <return-value transfer-ownership="none"> | |
| 20035 | 22672 | <type name="none" c:type="void"/> | |
| 20036 | 22673 | </return-value> | |
| 20037 | 22674 | <parameters> | |
| 20038 | 22675 | <parameter name="closure" transfer-ownership="none"> | |
| 20039 | 22676 | <doc xml:space="preserve" | |
| 20040 | - | filename="gobject-2.0.c" | |
| 20041 | - | line="1727">the #GClosure to which the marshaller belongs</doc> | |
| 22677 | + | filename="gobject/gmarshal.c" | |
| 22678 | + | line="1471">A #GClosure.</doc> | |
| 20042 | 22679 | <type name="Closure" c:type="GClosure*"/> | |
| 20043 | 22680 | </parameter> | |
| 20044 | 22681 | <parameter name="return_value" transfer-ownership="none"> | |
| 20045 | 22682 | <doc xml:space="preserve" | |
| 20046 | - | filename="gobject-2.0.c" | |
| 20047 | - | line="1728">ignored</doc> | |
| 22683 | + | filename="gobject/gmarshal.c" | |
| 22684 | + | line="1472">A #GValue to store the return value. May be %NULL | |
| 22685 | + | if the callback of closure doesn't return a value.</doc> | |
| 20048 | 22686 | <type name="Value" c:type="GValue*"/> | |
| 20049 | 22687 | </parameter> | |
| 20050 | 22688 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 20051 | 22689 | <doc xml:space="preserve" | |
| 20052 | - | filename="gobject-2.0.c" | |
| 20053 | - | line="1729">2</doc> | |
| 22690 | + | filename="gobject/gmarshal.c" | |
| 22691 | + | line="1474">The length of the @param_values array.</doc> | |
| 20054 | 22692 | <type name="guint" c:type="guint"/> | |
| 20055 | 22693 | </parameter> | |
| 20056 | 22694 | <parameter name="param_values" transfer-ownership="none"> | |
| 20057 | 22695 | <doc xml:space="preserve" | |
| 20058 | - | filename="gobject-2.0.c" | |
| 20059 | - | line="1730">a #GValue array holding the instance and the #GParamSpec* parameter</doc> | |
| 22696 | + | filename="gobject/gmarshal.c" | |
| 22697 | + | line="1475">An array of #GValues holding the arguments | |
| 22698 | + | on which to invoke the callback of closure.</doc> | |
| 20060 | 22699 | <type name="Value" c:type="const GValue*"/> | |
| 20061 | 22700 | </parameter> | |
| 20062 | 22701 | <parameter name="invocation_hint" | |
| @@ -20064,9 +22703,9 @@ denotes a flags type.</doc> | |||
| 20064 | 22703 | nullable="1" | |
| 20065 | 22704 | allow-none="1"> | |
| 20066 | 22705 | <doc xml:space="preserve" | |
| 20067 | - | filename="gobject-2.0.c" | |
| 20068 | - | line="1731">the invocation hint given as the last argument | |
| 20069 | - | to g_closure_invoke()</doc> | |
| 22706 | + | filename="gobject/gmarshal.c" | |
| 22707 | + | line="1477">The invocation hint given as the last argument to | |
| 22708 | + | g_closure_invoke().</doc> | |
| 20070 | 22709 | <type name="gpointer" c:type="gpointer"/> | |
| 20071 | 22710 | </parameter> | |
| 20072 | 22711 | <parameter name="marshal_data" | |
| @@ -20074,8 +22713,10 @@ denotes a flags type.</doc> | |||
| 20074 | 22713 | nullable="1" | |
| 20075 | 22714 | allow-none="1"> | |
| 20076 | 22715 | <doc xml:space="preserve" | |
| 20077 | - | filename="gobject-2.0.c" | |
| 20078 | - | line="1733">additional data specified when registering the marshaller</doc> | |
| 22716 | + | filename="gobject/gmarshal.c" | |
| 22717 | + | line="1479">Additional data specified when registering the | |
| 22718 | + | marshaller, see g_closure_set_marshal() and | |
| 22719 | + | g_closure_set_meta_marshal()</doc> | |
| 20079 | 22720 | <type name="gpointer" c:type="gpointer"/> | |
| 20080 | 22721 | </parameter> | |
| 20081 | 22722 | </parameters> | |
| @@ -20084,36 +22725,42 @@ denotes a flags type.</doc> | |||
| 20084 | 22725 | c:identifier="g_cclosure_marshal_VOID__POINTER" | |
| 20085 | 22726 | moved-to="CClosure.marshal_VOID__POINTER"> | |
| 20086 | 22727 | <doc xml:space="preserve" | |
| 20087 | - | filename="gobject-2.0.c" | |
| 20088 | - | line="1759">A marshaller for a #GCClosure with a callback of type | |
| 20089 | - | `void (*callback) (gpointer instance, gpointer arg1, gpointer user_data)`.</doc> | |
| 20090 | - | <source-position filename="gmarshal.h" line="279"/> | |
| 22728 | + | filename="gobject/gmarshal.c" | |
| 22729 | + | line="1693">A #GClosureMarshal function for use with signals with a single raw | |
| 22730 | + | pointer argument type. | |
| 22731 | + | ||
| 22732 | + | If it is possible, it is better to use one of the more specific | |
| 22733 | + | functions such as g_cclosure_marshal_VOID__OBJECT() or | |
| 22734 | + | g_cclosure_marshal_VOID__OBJECT().</doc> | |
| 22735 | + | <source-position filename="gobject/gmarshal.h" line="279"/> | |
| 20091 | 22736 | <return-value transfer-ownership="none"> | |
| 20092 | 22737 | <type name="none" c:type="void"/> | |
| 20093 | 22738 | </return-value> | |
| 20094 | 22739 | <parameters> | |
| 20095 | 22740 | <parameter name="closure" transfer-ownership="none"> | |
| 20096 | 22741 | <doc xml:space="preserve" | |
| 20097 | - | filename="gobject-2.0.c" | |
| 20098 | - | line="1761">the #GClosure to which the marshaller belongs</doc> | |
| 22742 | + | filename="gobject/gmarshal.c" | |
| 22743 | + | line="1695">A #GClosure.</doc> | |
| 20099 | 22744 | <type name="Closure" c:type="GClosure*"/> | |
| 20100 | 22745 | </parameter> | |
| 20101 | 22746 | <parameter name="return_value" transfer-ownership="none"> | |
| 20102 | 22747 | <doc xml:space="preserve" | |
| 20103 | - | filename="gobject-2.0.c" | |
| 20104 | - | line="1762">ignored</doc> | |
| 22748 | + | filename="gobject/gmarshal.c" | |
| 22749 | + | line="1696">A #GValue to store the return value. May be %NULL | |
| 22750 | + | if the callback of closure doesn't return a value.</doc> | |
| 20105 | 22751 | <type name="Value" c:type="GValue*"/> | |
| 20106 | 22752 | </parameter> | |
| 20107 | 22753 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 20108 | 22754 | <doc xml:space="preserve" | |
| 20109 | - | filename="gobject-2.0.c" | |
| 20110 | - | line="1763">2</doc> | |
| 22755 | + | filename="gobject/gmarshal.c" | |
| 22756 | + | line="1698">The length of the @param_values array.</doc> | |
| 20111 | 22757 | <type name="guint" c:type="guint"/> | |
| 20112 | 22758 | </parameter> | |
| 20113 | 22759 | <parameter name="param_values" transfer-ownership="none"> | |
| 20114 | 22760 | <doc xml:space="preserve" | |
| 20115 | - | filename="gobject-2.0.c" | |
| 20116 | - | line="1764">a #GValue array holding the instance and the #gpointer parameter</doc> | |
| 22761 | + | filename="gobject/gmarshal.c" | |
| 22762 | + | line="1699">An array of #GValues holding the arguments | |
| 22763 | + | on which to invoke the callback of closure.</doc> | |
| 20117 | 22764 | <type name="Value" c:type="const GValue*"/> | |
| 20118 | 22765 | </parameter> | |
| 20119 | 22766 | <parameter name="invocation_hint" | |
| @@ -20121,9 +22768,9 @@ denotes a flags type.</doc> | |||
| 20121 | 22768 | nullable="1" | |
| 20122 | 22769 | allow-none="1"> | |
| 20123 | 22770 | <doc xml:space="preserve" | |
| 20124 | - | filename="gobject-2.0.c" | |
| 20125 | - | line="1765">the invocation hint given as the last argument | |
| 20126 | - | to g_closure_invoke()</doc> | |
| 22771 | + | filename="gobject/gmarshal.c" | |
| 22772 | + | line="1701">The invocation hint given as the last argument to | |
| 22773 | + | g_closure_invoke().</doc> | |
| 20127 | 22774 | <type name="gpointer" c:type="gpointer"/> | |
| 20128 | 22775 | </parameter> | |
| 20129 | 22776 | <parameter name="marshal_data" | |
| @@ -20131,8 +22778,10 @@ denotes a flags type.</doc> | |||
| 20131 | 22778 | nullable="1" | |
| 20132 | 22779 | allow-none="1"> | |
| 20133 | 22780 | <doc xml:space="preserve" | |
| 20134 | - | filename="gobject-2.0.c" | |
| 20135 | - | line="1767">additional data specified when registering the marshaller</doc> | |
| 22781 | + | filename="gobject/gmarshal.c" | |
| 22782 | + | line="1703">Additional data specified when registering the | |
| 22783 | + | marshaller, see g_closure_set_marshal() and | |
| 22784 | + | g_closure_set_meta_marshal()</doc> | |
| 20136 | 22785 | <type name="gpointer" c:type="gpointer"/> | |
| 20137 | 22786 | </parameter> | |
| 20138 | 22787 | </parameters> | |
| @@ -20141,36 +22790,38 @@ denotes a flags type.</doc> | |||
| 20141 | 22790 | c:identifier="g_cclosure_marshal_VOID__STRING" | |
| 20142 | 22791 | moved-to="CClosure.marshal_VOID__STRING"> | |
| 20143 | 22792 | <doc xml:space="preserve" | |
| 20144 | - | filename="gobject-2.0.c" | |
| 20145 | - | line="1793">A marshaller for a #GCClosure with a callback of type | |
| 20146 | - | `void (*callback) (gpointer instance, const gchar *arg1, gpointer user_data)`.</doc> | |
| 20147 | - | <source-position filename="gmarshal.h" line="228"/> | |
| 22793 | + | filename="gobject/gmarshal.c" | |
| 22794 | + | line="1357">A #GClosureMarshal function for use with signals with a single string | |
| 22795 | + | argument.</doc> | |
| 22796 | + | <source-position filename="gobject/gmarshal.h" line="228"/> | |
| 20148 | 22797 | <return-value transfer-ownership="none"> | |
| 20149 | 22798 | <type name="none" c:type="void"/> | |
| 20150 | 22799 | </return-value> | |
| 20151 | 22800 | <parameters> | |
| 20152 | 22801 | <parameter name="closure" transfer-ownership="none"> | |
| 20153 | 22802 | <doc xml:space="preserve" | |
| 20154 | - | filename="gobject-2.0.c" | |
| 20155 | - | line="1795">the #GClosure to which the marshaller belongs</doc> | |
| 22803 | + | filename="gobject/gmarshal.c" | |
| 22804 | + | line="1359">A #GClosure.</doc> | |
| 20156 | 22805 | <type name="Closure" c:type="GClosure*"/> | |
| 20157 | 22806 | </parameter> | |
| 20158 | 22807 | <parameter name="return_value" transfer-ownership="none"> | |
| 20159 | 22808 | <doc xml:space="preserve" | |
| 20160 | - | filename="gobject-2.0.c" | |
| 20161 | - | line="1796">ignored</doc> | |
| 22809 | + | filename="gobject/gmarshal.c" | |
| 22810 | + | line="1360">A #GValue to store the return value. May be %NULL | |
| 22811 | + | if the callback of closure doesn't return a value.</doc> | |
| 20162 | 22812 | <type name="Value" c:type="GValue*"/> | |
| 20163 | 22813 | </parameter> | |
| 20164 | 22814 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 20165 | 22815 | <doc xml:space="preserve" | |
| 20166 | - | filename="gobject-2.0.c" | |
| 20167 | - | line="1797">2</doc> | |
| 22816 | + | filename="gobject/gmarshal.c" | |
| 22817 | + | line="1362">The length of the @param_values array.</doc> | |
| 20168 | 22818 | <type name="guint" c:type="guint"/> | |
| 20169 | 22819 | </parameter> | |
| 20170 | 22820 | <parameter name="param_values" transfer-ownership="none"> | |
| 20171 | 22821 | <doc xml:space="preserve" | |
| 20172 | - | filename="gobject-2.0.c" | |
| 20173 | - | line="1798">a #GValue array holding the instance and the #gchar* parameter</doc> | |
| 22822 | + | filename="gobject/gmarshal.c" | |
| 22823 | + | line="1363">An array of #GValues holding the arguments | |
| 22824 | + | on which to invoke the callback of closure.</doc> | |
| 20174 | 22825 | <type name="Value" c:type="const GValue*"/> | |
| 20175 | 22826 | </parameter> | |
| 20176 | 22827 | <parameter name="invocation_hint" | |
| @@ -20178,9 +22829,9 @@ denotes a flags type.</doc> | |||
| 20178 | 22829 | nullable="1" | |
| 20179 | 22830 | allow-none="1"> | |
| 20180 | 22831 | <doc xml:space="preserve" | |
| 20181 | - | filename="gobject-2.0.c" | |
| 20182 | - | line="1799">the invocation hint given as the last argument | |
| 20183 | - | to g_closure_invoke()</doc> | |
| 22832 | + | filename="gobject/gmarshal.c" | |
| 22833 | + | line="1365">The invocation hint given as the last argument to | |
| 22834 | + | g_closure_invoke().</doc> | |
| 20184 | 22835 | <type name="gpointer" c:type="gpointer"/> | |
| 20185 | 22836 | </parameter> | |
| 20186 | 22837 | <parameter name="marshal_data" | |
| @@ -20188,8 +22839,10 @@ denotes a flags type.</doc> | |||
| 20188 | 22839 | nullable="1" | |
| 20189 | 22840 | allow-none="1"> | |
| 20190 | 22841 | <doc xml:space="preserve" | |
| 20191 | - | filename="gobject-2.0.c" | |
| 20192 | - | line="1801">additional data specified when registering the marshaller</doc> | |
| 22842 | + | filename="gobject/gmarshal.c" | |
| 22843 | + | line="1367">Additional data specified when registering the | |
| 22844 | + | marshaller, see g_closure_set_marshal() and | |
| 22845 | + | g_closure_set_meta_marshal()</doc> | |
| 20193 | 22846 | <type name="gpointer" c:type="gpointer"/> | |
| 20194 | 22847 | </parameter> | |
| 20195 | 22848 | </parameters> | |
| @@ -20198,36 +22851,38 @@ denotes a flags type.</doc> | |||
| 20198 | 22851 | c:identifier="g_cclosure_marshal_VOID__UCHAR" | |
| 20199 | 22852 | moved-to="CClosure.marshal_VOID__UCHAR"> | |
| 20200 | 22853 | <doc xml:space="preserve" | |
| 20201 | - | filename="gobject-2.0.c" | |
| 20202 | - | line="1827">A marshaller for a #GCClosure with a callback of type | |
| 20203 | - | `void (*callback) (gpointer instance, guchar arg1, gpointer user_data)`.</doc> | |
| 20204 | - | <source-position filename="gmarshal.h" line="75"/> | |
| 22854 | + | filename="gobject/gmarshal.c" | |
| 22855 | + | line="385">A #GClosureMarshal function for use with signals with a single | |
| 22856 | + | unsigned character argument.</doc> | |
| 22857 | + | <source-position filename="gobject/gmarshal.h" line="75"/> | |
| 20205 | 22858 | <return-value transfer-ownership="none"> | |
| 20206 | 22859 | <type name="none" c:type="void"/> | |
| 20207 | 22860 | </return-value> | |
| 20208 | 22861 | <parameters> | |
| 20209 | 22862 | <parameter name="closure" transfer-ownership="none"> | |
| 20210 | 22863 | <doc xml:space="preserve" | |
| 20211 | - | filename="gobject-2.0.c" | |
| 20212 | - | line="1829">the #GClosure to which the marshaller belongs</doc> | |
| 22864 | + | filename="gobject/gmarshal.c" | |
| 22865 | + | line="387">A #GClosure.</doc> | |
| 20213 | 22866 | <type name="Closure" c:type="GClosure*"/> | |
| 20214 | 22867 | </parameter> | |
| 20215 | 22868 | <parameter name="return_value" transfer-ownership="none"> | |
| 20216 | 22869 | <doc xml:space="preserve" | |
| 20217 | - | filename="gobject-2.0.c" | |
| 20218 | - | line="1830">ignored</doc> | |
| 22870 | + | filename="gobject/gmarshal.c" | |
| 22871 | + | line="388">A #GValue to store the return value. May be %NULL | |
| 22872 | + | if the callback of closure doesn't return a value.</doc> | |
| 20219 | 22873 | <type name="Value" c:type="GValue*"/> | |
| 20220 | 22874 | </parameter> | |
| 20221 | 22875 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 20222 | 22876 | <doc xml:space="preserve" | |
| 20223 | - | filename="gobject-2.0.c" | |
| 20224 | - | line="1831">2</doc> | |
| 22877 | + | filename="gobject/gmarshal.c" | |
| 22878 | + | line="390">The length of the @param_values array.</doc> | |
| 20225 | 22879 | <type name="guint" c:type="guint"/> | |
| 20226 | 22880 | </parameter> | |
| 20227 | 22881 | <parameter name="param_values" transfer-ownership="none"> | |
| 20228 | 22882 | <doc xml:space="preserve" | |
| 20229 | - | filename="gobject-2.0.c" | |
| 20230 | - | line="1832">a #GValue array holding the instance and the #guchar parameter</doc> | |
| 22883 | + | filename="gobject/gmarshal.c" | |
| 22884 | + | line="391">An array of #GValues holding the arguments | |
| 22885 | + | on which to invoke the callback of closure.</doc> | |
| 20231 | 22886 | <type name="Value" c:type="const GValue*"/> | |
| 20232 | 22887 | </parameter> | |
| 20233 | 22888 | <parameter name="invocation_hint" | |
| @@ -20235,9 +22890,9 @@ denotes a flags type.</doc> | |||
| 20235 | 22890 | nullable="1" | |
| 20236 | 22891 | allow-none="1"> | |
| 20237 | 22892 | <doc xml:space="preserve" | |
| 20238 | - | filename="gobject-2.0.c" | |
| 20239 | - | line="1833">the invocation hint given as the last argument | |
| 20240 | - | to g_closure_invoke()</doc> | |
| 22893 | + | filename="gobject/gmarshal.c" | |
| 22894 | + | line="393">The invocation hint given as the last argument to | |
| 22895 | + | g_closure_invoke().</doc> | |
| 20241 | 22896 | <type name="gpointer" c:type="gpointer"/> | |
| 20242 | 22897 | </parameter> | |
| 20243 | 22898 | <parameter name="marshal_data" | |
| @@ -20245,8 +22900,10 @@ denotes a flags type.</doc> | |||
| 20245 | 22900 | nullable="1" | |
| 20246 | 22901 | allow-none="1"> | |
| 20247 | 22902 | <doc xml:space="preserve" | |
| 20248 | - | filename="gobject-2.0.c" | |
| 20249 | - | line="1835">additional data specified when registering the marshaller</doc> | |
| 22903 | + | filename="gobject/gmarshal.c" | |
| 22904 | + | line="395">Additional data specified when registering the | |
| 22905 | + | marshaller, see g_closure_set_marshal() and | |
| 22906 | + | g_closure_set_meta_marshal()</doc> | |
| 20250 | 22907 | <type name="gpointer" c:type="gpointer"/> | |
| 20251 | 22908 | </parameter> | |
| 20252 | 22909 | </parameters> | |
| @@ -20255,36 +22912,38 @@ denotes a flags type.</doc> | |||
| 20255 | 22912 | c:identifier="g_cclosure_marshal_VOID__UINT" | |
| 20256 | 22913 | moved-to="CClosure.marshal_VOID__UINT"> | |
| 20257 | 22914 | <doc xml:space="preserve" | |
| 20258 | - | filename="gobject-2.0.c" | |
| 20259 | - | line="1861">A marshaller for a #GCClosure with a callback of type | |
| 20260 | - | `void (*callback) (gpointer instance, guint arg1, gpointer user_data)`.</doc> | |
| 20261 | - | <source-position filename="gmarshal.h" line="109"/> | |
| 22915 | + | filename="gobject/gmarshal.c" | |
| 22916 | + | line="601">A #GClosureMarshal function for use with signals with with a single | |
| 22917 | + | unsigned integer argument.</doc> | |
| 22918 | + | <source-position filename="gobject/gmarshal.h" line="109"/> | |
| 20262 | 22919 | <return-value transfer-ownership="none"> | |
| 20263 | 22920 | <type name="none" c:type="void"/> | |
| 20264 | 22921 | </return-value> | |
| 20265 | 22922 | <parameters> | |
| 20266 | 22923 | <parameter name="closure" transfer-ownership="none"> | |
| 20267 | 22924 | <doc xml:space="preserve" | |
| 20268 | - | filename="gobject-2.0.c" | |
| 20269 | - | line="1863">the #GClosure to which the marshaller belongs</doc> | |
| 22925 | + | filename="gobject/gmarshal.c" | |
| 22926 | + | line="603">A #GClosure.</doc> | |
| 20270 | 22927 | <type name="Closure" c:type="GClosure*"/> | |
| 20271 | 22928 | </parameter> | |
| 20272 | 22929 | <parameter name="return_value" transfer-ownership="none"> | |
| 20273 | 22930 | <doc xml:space="preserve" | |
| 20274 | - | filename="gobject-2.0.c" | |
| 20275 | - | line="1864">ignored</doc> | |
| 22931 | + | filename="gobject/gmarshal.c" | |
| 22932 | + | line="604">A #GValue to store the return value. May be %NULL | |
| 22933 | + | if the callback of closure doesn't return a value.</doc> | |
| 20276 | 22934 | <type name="Value" c:type="GValue*"/> | |
| 20277 | 22935 | </parameter> | |
| 20278 | 22936 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 20279 | 22937 | <doc xml:space="preserve" | |
| 20280 | - | filename="gobject-2.0.c" | |
| 20281 | - | line="1865">2</doc> | |
| 22938 | + | filename="gobject/gmarshal.c" | |
| 22939 | + | line="606">The length of the @param_values array.</doc> | |
| 20282 | 22940 | <type name="guint" c:type="guint"/> | |
| 20283 | 22941 | </parameter> | |
| 20284 | 22942 | <parameter name="param_values" transfer-ownership="none"> | |
| 20285 | 22943 | <doc xml:space="preserve" | |
| 20286 | - | filename="gobject-2.0.c" | |
| 20287 | - | line="1866">a #GValue array holding the instance and the #guint parameter</doc> | |
| 22944 | + | filename="gobject/gmarshal.c" | |
| 22945 | + | line="607">An array of #GValues holding the arguments | |
| 22946 | + | on which to invoke the callback of closure.</doc> | |
| 20288 | 22947 | <type name="Value" c:type="const GValue*"/> | |
| 20289 | 22948 | </parameter> | |
| 20290 | 22949 | <parameter name="invocation_hint" | |
| @@ -20292,9 +22951,9 @@ denotes a flags type.</doc> | |||
| 20292 | 22951 | nullable="1" | |
| 20293 | 22952 | allow-none="1"> | |
| 20294 | 22953 | <doc xml:space="preserve" | |
| 20295 | - | filename="gobject-2.0.c" | |
| 20296 | - | line="1867">the invocation hint given as the last argument | |
| 20297 | - | to g_closure_invoke()</doc> | |
| 22954 | + | filename="gobject/gmarshal.c" | |
| 22955 | + | line="609">The invocation hint given as the last argument to | |
| 22956 | + | g_closure_invoke().</doc> | |
| 20298 | 22957 | <type name="gpointer" c:type="gpointer"/> | |
| 20299 | 22958 | </parameter> | |
| 20300 | 22959 | <parameter name="marshal_data" | |
| @@ -20302,8 +22961,10 @@ denotes a flags type.</doc> | |||
| 20302 | 22961 | nullable="1" | |
| 20303 | 22962 | allow-none="1"> | |
| 20304 | 22963 | <doc xml:space="preserve" | |
| 20305 | - | filename="gobject-2.0.c" | |
| 20306 | - | line="1869">additional data specified when registering the marshaller</doc> | |
| 22964 | + | filename="gobject/gmarshal.c" | |
| 22965 | + | line="611">Additional data specified when registering the | |
| 22966 | + | marshaller, see g_closure_set_marshal() and | |
| 22967 | + | g_closure_set_meta_marshal()</doc> | |
| 20307 | 22968 | <type name="gpointer" c:type="gpointer"/> | |
| 20308 | 22969 | </parameter> | |
| 20309 | 22970 | </parameters> | |
| @@ -20312,36 +22973,38 @@ denotes a flags type.</doc> | |||
| 20312 | 22973 | c:identifier="g_cclosure_marshal_VOID__UINT_POINTER" | |
| 20313 | 22974 | moved-to="CClosure.marshal_VOID__UINT_POINTER"> | |
| 20314 | 22975 | <doc xml:space="preserve" | |
| 20315 | - | filename="gobject-2.0.c" | |
| 20316 | - | line="1876">A marshaller for a #GCClosure with a callback of type | |
| 20317 | - | `void (*callback) (gpointer instance, guint arg1, gpointer arg2, gpointer user_data)`.</doc> | |
| 20318 | - | <source-position filename="gmarshal.h" line="330"/> | |
| 22976 | + | filename="gobject/gmarshal.c" | |
| 22977 | + | line="2029">A #GClosureMarshal function for use with signals with an unsigned int | |
| 22978 | + | and a pointer as arguments.</doc> | |
| 22979 | + | <source-position filename="gobject/gmarshal.h" line="330"/> | |
| 20319 | 22980 | <return-value transfer-ownership="none"> | |
| 20320 | 22981 | <type name="none" c:type="void"/> | |
| 20321 | 22982 | </return-value> | |
| 20322 | 22983 | <parameters> | |
| 20323 | 22984 | <parameter name="closure" transfer-ownership="none"> | |
| 20324 | 22985 | <doc xml:space="preserve" | |
| 20325 | - | filename="gobject-2.0.c" | |
| 20326 | - | line="1878">the #GClosure to which the marshaller belongs</doc> | |
| 22986 | + | filename="gobject/gmarshal.c" | |
| 22987 | + | line="2031">A #GClosure.</doc> | |
| 20327 | 22988 | <type name="Closure" c:type="GClosure*"/> | |
| 20328 | 22989 | </parameter> | |
| 20329 | 22990 | <parameter name="return_value" transfer-ownership="none"> | |
| 20330 | 22991 | <doc xml:space="preserve" | |
| 20331 | - | filename="gobject-2.0.c" | |
| 20332 | - | line="1879">ignored</doc> | |
| 22992 | + | filename="gobject/gmarshal.c" | |
| 22993 | + | line="2032">A #GValue to store the return value. May be %NULL | |
| 22994 | + | if the callback of closure doesn't return a value.</doc> | |
| 20333 | 22995 | <type name="Value" c:type="GValue*"/> | |
| 20334 | 22996 | </parameter> | |
| 20335 | 22997 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 20336 | 22998 | <doc xml:space="preserve" | |
| 20337 | - | filename="gobject-2.0.c" | |
| 20338 | - | line="1880">3</doc> | |
| 22999 | + | filename="gobject/gmarshal.c" | |
| 23000 | + | line="2034">The length of the @param_values array.</doc> | |
| 20339 | 23001 | <type name="guint" c:type="guint"/> | |
| 20340 | 23002 | </parameter> | |
| 20341 | 23003 | <parameter name="param_values" transfer-ownership="none"> | |
| 20342 | 23004 | <doc xml:space="preserve" | |
| 20343 | - | filename="gobject-2.0.c" | |
| 20344 | - | line="1881">a #GValue array holding instance, arg1 and arg2</doc> | |
| 23005 | + | filename="gobject/gmarshal.c" | |
| 23006 | + | line="2035">An array of #GValues holding the arguments | |
| 23007 | + | on which to invoke the callback of closure.</doc> | |
| 20345 | 23008 | <type name="Value" c:type="const GValue*"/> | |
| 20346 | 23009 | </parameter> | |
| 20347 | 23010 | <parameter name="invocation_hint" | |
| @@ -20349,9 +23012,9 @@ denotes a flags type.</doc> | |||
| 20349 | 23012 | nullable="1" | |
| 20350 | 23013 | allow-none="1"> | |
| 20351 | 23014 | <doc xml:space="preserve" | |
| 20352 | - | filename="gobject-2.0.c" | |
| 20353 | - | line="1882">the invocation hint given as the last argument | |
| 20354 | - | to g_closure_invoke()</doc> | |
| 23015 | + | filename="gobject/gmarshal.c" | |
| 23016 | + | line="2037">The invocation hint given as the last argument to | |
| 23017 | + | g_closure_invoke().</doc> | |
| 20355 | 23018 | <type name="gpointer" c:type="gpointer"/> | |
| 20356 | 23019 | </parameter> | |
| 20357 | 23020 | <parameter name="marshal_data" | |
| @@ -20359,8 +23022,10 @@ denotes a flags type.</doc> | |||
| 20359 | 23022 | nullable="1" | |
| 20360 | 23023 | allow-none="1"> | |
| 20361 | 23024 | <doc xml:space="preserve" | |
| 20362 | - | filename="gobject-2.0.c" | |
| 20363 | - | line="1884">additional data specified when registering the marshaller</doc> | |
| 23025 | + | filename="gobject/gmarshal.c" | |
| 23026 | + | line="2039">Additional data specified when registering the | |
| 23027 | + | marshaller, see g_closure_set_marshal() and | |
| 23028 | + | g_closure_set_meta_marshal()</doc> | |
| 20364 | 23029 | <type name="gpointer" c:type="gpointer"/> | |
| 20365 | 23030 | </parameter> | |
| 20366 | 23031 | </parameters> | |
| @@ -20369,36 +23034,38 @@ denotes a flags type.</doc> | |||
| 20369 | 23034 | c:identifier="g_cclosure_marshal_VOID__ULONG" | |
| 20370 | 23035 | moved-to="CClosure.marshal_VOID__ULONG"> | |
| 20371 | 23036 | <doc xml:space="preserve" | |
| 20372 | - | filename="gobject-2.0.c" | |
| 20373 | - | line="1929">A marshaller for a #GCClosure with a callback of type | |
| 20374 | - | `void (*callback) (gpointer instance, gulong arg1, gpointer user_data)`.</doc> | |
| 20375 | - | <source-position filename="gmarshal.h" line="143"/> | |
| 23037 | + | filename="gobject/gmarshal.c" | |
| 23038 | + | line="817">A #GClosureMarshal function for use with signals with a single | |
| 23039 | + | unsigned long integer argument.</doc> | |
| 23040 | + | <source-position filename="gobject/gmarshal.h" line="143"/> | |
| 20376 | 23041 | <return-value transfer-ownership="none"> | |
| 20377 | 23042 | <type name="none" c:type="void"/> | |
| 20378 | 23043 | </return-value> | |
| 20379 | 23044 | <parameters> | |
| 20380 | 23045 | <parameter name="closure" transfer-ownership="none"> | |
| 20381 | 23046 | <doc xml:space="preserve" | |
| 20382 | - | filename="gobject-2.0.c" | |
| 20383 | - | line="1931">the #GClosure to which the marshaller belongs</doc> | |
| 23047 | + | filename="gobject/gmarshal.c" | |
| 23048 | + | line="819">A #GClosure.</doc> | |
| 20384 | 23049 | <type name="Closure" c:type="GClosure*"/> | |
| 20385 | 23050 | </parameter> | |
| 20386 | 23051 | <parameter name="return_value" transfer-ownership="none"> | |
| 20387 | 23052 | <doc xml:space="preserve" | |
| 20388 | - | filename="gobject-2.0.c" | |
| 20389 | - | line="1932">ignored</doc> | |
| 23053 | + | filename="gobject/gmarshal.c" | |
| 23054 | + | line="820">A #GValue to store the return value. May be %NULL | |
| 23055 | + | if the callback of closure doesn't return a value.</doc> | |
| 20390 | 23056 | <type name="Value" c:type="GValue*"/> | |
| 20391 | 23057 | </parameter> | |
| 20392 | 23058 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 20393 | 23059 | <doc xml:space="preserve" | |
| 20394 | - | filename="gobject-2.0.c" | |
| 20395 | - | line="1933">2</doc> | |
| 23060 | + | filename="gobject/gmarshal.c" | |
| 23061 | + | line="822">The length of the @param_values array.</doc> | |
| 20396 | 23062 | <type name="guint" c:type="guint"/> | |
| 20397 | 23063 | </parameter> | |
| 20398 | 23064 | <parameter name="param_values" transfer-ownership="none"> | |
| 20399 | 23065 | <doc xml:space="preserve" | |
| 20400 | - | filename="gobject-2.0.c" | |
| 20401 | - | line="1934">a #GValue array holding the instance and the #gulong parameter</doc> | |
| 23066 | + | filename="gobject/gmarshal.c" | |
| 23067 | + | line="823">An array of #GValues holding the arguments | |
| 23068 | + | on which to invoke the callback of closure.</doc> | |
| 20402 | 23069 | <type name="Value" c:type="const GValue*"/> | |
| 20403 | 23070 | </parameter> | |
| 20404 | 23071 | <parameter name="invocation_hint" | |
| @@ -20406,9 +23073,9 @@ denotes a flags type.</doc> | |||
| 20406 | 23073 | nullable="1" | |
| 20407 | 23074 | allow-none="1"> | |
| 20408 | 23075 | <doc xml:space="preserve" | |
| 20409 | - | filename="gobject-2.0.c" | |
| 20410 | - | line="1935">the invocation hint given as the last argument | |
| 20411 | - | to g_closure_invoke()</doc> | |
| 23076 | + | filename="gobject/gmarshal.c" | |
| 23077 | + | line="825">The invocation hint given as the last argument to | |
| 23078 | + | g_closure_invoke().</doc> | |
| 20412 | 23079 | <type name="gpointer" c:type="gpointer"/> | |
| 20413 | 23080 | </parameter> | |
| 20414 | 23081 | <parameter name="marshal_data" | |
| @@ -20416,47 +23083,50 @@ denotes a flags type.</doc> | |||
| 20416 | 23083 | nullable="1" | |
| 20417 | 23084 | allow-none="1"> | |
| 20418 | 23085 | <doc xml:space="preserve" | |
| 20419 | - | filename="gobject-2.0.c" | |
| 20420 | - | line="1937">additional data specified when registering the marshaller</doc> | |
| 23086 | + | filename="gobject/gmarshal.c" | |
| 23087 | + | line="827">Additional data specified when registering the | |
| 23088 | + | marshaller, see g_closure_set_marshal() and | |
| 23089 | + | g_closure_set_meta_marshal()</doc> | |
| 20421 | 23090 | <type name="gpointer" c:type="gpointer"/> | |
| 20422 | 23091 | </parameter> | |
| 20423 | 23092 | </parameters> | |
| 20424 | 23093 | </function> | |
| 20425 | 23094 | <function name="cclosure_marshal_VOID__VARIANT" | |
| 20426 | 23095 | c:identifier="g_cclosure_marshal_VOID__VARIANT" | |
| 20427 | - | moved-to="CClosure.marshal_VOID__VARIANT" | |
| 20428 | - | version="2.26"> | |
| 23096 | + | moved-to="CClosure.marshal_VOID__VARIANT"> | |
| 20429 | 23097 | <doc xml:space="preserve" | |
| 20430 | - | filename="gobject-2.0.c" | |
| 20431 | - | line="1963">A marshaller for a #GCClosure with a callback of type | |
| 20432 | - | `void (*callback) (gpointer instance, GVariant *arg1, gpointer user_data)`.</doc> | |
| 20433 | - | <source-position filename="gmarshal.h" line="313"/> | |
| 23098 | + | filename="gobject/gmarshal.c" | |
| 23099 | + | line="1917">A #GClosureMarshal function for use with signals with a single | |
| 23100 | + | #GVariant argument.</doc> | |
| 23101 | + | <source-position filename="gobject/gmarshal.h" line="313"/> | |
| 20434 | 23102 | <return-value transfer-ownership="none"> | |
| 20435 | 23103 | <type name="none" c:type="void"/> | |
| 20436 | 23104 | </return-value> | |
| 20437 | 23105 | <parameters> | |
| 20438 | 23106 | <parameter name="closure" transfer-ownership="none"> | |
| 20439 | 23107 | <doc xml:space="preserve" | |
| 20440 | - | filename="gobject-2.0.c" | |
| 20441 | - | line="1965">the #GClosure to which the marshaller belongs</doc> | |
| 23108 | + | filename="gobject/gmarshal.c" | |
| 23109 | + | line="1919">A #GClosure.</doc> | |
| 20442 | 23110 | <type name="Closure" c:type="GClosure*"/> | |
| 20443 | 23111 | </parameter> | |
| 20444 | 23112 | <parameter name="return_value" transfer-ownership="none"> | |
| 20445 | 23113 | <doc xml:space="preserve" | |
| 20446 | - | filename="gobject-2.0.c" | |
| 20447 | - | line="1966">ignored</doc> | |
| 23114 | + | filename="gobject/gmarshal.c" | |
| 23115 | + | line="1920">A #GValue to store the return value. May be %NULL | |
| 23116 | + | if the callback of closure doesn't return a value.</doc> | |
| 20448 | 23117 | <type name="Value" c:type="GValue*"/> | |
| 20449 | 23118 | </parameter> | |
| 20450 | 23119 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 20451 | 23120 | <doc xml:space="preserve" | |
| 20452 | - | filename="gobject-2.0.c" | |
| 20453 | - | line="1967">2</doc> | |
| 23121 | + | filename="gobject/gmarshal.c" | |
| 23122 | + | line="1922">The length of the @param_values array.</doc> | |
| 20454 | 23123 | <type name="guint" c:type="guint"/> | |
| 20455 | 23124 | </parameter> | |
| 20456 | 23125 | <parameter name="param_values" transfer-ownership="none"> | |
| 20457 | 23126 | <doc xml:space="preserve" | |
| 20458 | - | filename="gobject-2.0.c" | |
| 20459 | - | line="1968">a #GValue array holding the instance and the #GVariant* parameter</doc> | |
| 23127 | + | filename="gobject/gmarshal.c" | |
| 23128 | + | line="1923">An array of #GValues holding the arguments | |
| 23129 | + | on which to invoke the callback of closure.</doc> | |
| 20460 | 23130 | <type name="Value" c:type="const GValue*"/> | |
| 20461 | 23131 | </parameter> | |
| 20462 | 23132 | <parameter name="invocation_hint" | |
| @@ -20464,9 +23134,9 @@ denotes a flags type.</doc> | |||
| 20464 | 23134 | nullable="1" | |
| 20465 | 23135 | allow-none="1"> | |
| 20466 | 23136 | <doc xml:space="preserve" | |
| 20467 | - | filename="gobject-2.0.c" | |
| 20468 | - | line="1969">the invocation hint given as the last argument | |
| 20469 | - | to g_closure_invoke()</doc> | |
| 23137 | + | filename="gobject/gmarshal.c" | |
| 23138 | + | line="1925">The invocation hint given as the last argument to | |
| 23139 | + | g_closure_invoke().</doc> | |
| 20470 | 23140 | <type name="gpointer" c:type="gpointer"/> | |
| 20471 | 23141 | </parameter> | |
| 20472 | 23142 | <parameter name="marshal_data" | |
| @@ -20474,8 +23144,10 @@ denotes a flags type.</doc> | |||
| 20474 | 23144 | nullable="1" | |
| 20475 | 23145 | allow-none="1"> | |
| 20476 | 23146 | <doc xml:space="preserve" | |
| 20477 | - | filename="gobject-2.0.c" | |
| 20478 | - | line="1971">additional data specified when registering the marshaller</doc> | |
| 23147 | + | filename="gobject/gmarshal.c" | |
| 23148 | + | line="1927">Additional data specified when registering the | |
| 23149 | + | marshaller, see g_closure_set_marshal() and | |
| 23150 | + | g_closure_set_meta_marshal()</doc> | |
| 20479 | 23151 | <type name="gpointer" c:type="gpointer"/> | |
| 20480 | 23152 | </parameter> | |
| 20481 | 23153 | </parameters> | |
| @@ -20484,36 +23156,37 @@ denotes a flags type.</doc> | |||
| 20484 | 23156 | c:identifier="g_cclosure_marshal_VOID__VOID" | |
| 20485 | 23157 | moved-to="CClosure.marshal_VOID__VOID"> | |
| 20486 | 23158 | <doc xml:space="preserve" | |
| 20487 | - | filename="gobject-2.0.c" | |
| 20488 | - | line="1999">A marshaller for a #GCClosure with a callback of type | |
| 20489 | - | `void (*callback) (gpointer instance, gpointer user_data)`.</doc> | |
| 20490 | - | <source-position filename="gmarshal.h" line="24"/> | |
| 23159 | + | filename="gobject/gmarshal.c" | |
| 23160 | + | line="72">A #GClosureMarshal function for use with signals with no arguments.</doc> | |
| 23161 | + | <source-position filename="gobject/gmarshal.h" line="24"/> | |
| 20491 | 23162 | <return-value transfer-ownership="none"> | |
| 20492 | 23163 | <type name="none" c:type="void"/> | |
| 20493 | 23164 | </return-value> | |
| 20494 | 23165 | <parameters> | |
| 20495 | 23166 | <parameter name="closure" transfer-ownership="none"> | |
| 20496 | 23167 | <doc xml:space="preserve" | |
| 20497 | - | filename="gobject-2.0.c" | |
| 20498 | - | line="2001">the #GClosure to which the marshaller belongs</doc> | |
| 23168 | + | filename="gobject/gmarshal.c" | |
| 23169 | + | line="74">A #GClosure.</doc> | |
| 20499 | 23170 | <type name="Closure" c:type="GClosure*"/> | |
| 20500 | 23171 | </parameter> | |
| 20501 | 23172 | <parameter name="return_value" transfer-ownership="none"> | |
| 20502 | 23173 | <doc xml:space="preserve" | |
| 20503 | - | filename="gobject-2.0.c" | |
| 20504 | - | line="2002">ignored</doc> | |
| 23174 | + | filename="gobject/gmarshal.c" | |
| 23175 | + | line="75">A #GValue to store the return value. May be %NULL | |
| 23176 | + | if the callback of closure doesn't return a value.</doc> | |
| 20505 | 23177 | <type name="Value" c:type="GValue*"/> | |
| 20506 | 23178 | </parameter> | |
| 20507 | 23179 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 20508 | 23180 | <doc xml:space="preserve" | |
| 20509 | - | filename="gobject-2.0.c" | |
| 20510 | - | line="2003">1</doc> | |
| 23181 | + | filename="gobject/gmarshal.c" | |
| 23182 | + | line="77">The length of the @param_values array.</doc> | |
| 20511 | 23183 | <type name="guint" c:type="guint"/> | |
| 20512 | 23184 | </parameter> | |
| 20513 | 23185 | <parameter name="param_values" transfer-ownership="none"> | |
| 20514 | 23186 | <doc xml:space="preserve" | |
| 20515 | - | filename="gobject-2.0.c" | |
| 20516 | - | line="2004">a #GValue array holding only the instance</doc> | |
| 23187 | + | filename="gobject/gmarshal.c" | |
| 23188 | + | line="78">An array of #GValues holding the arguments | |
| 23189 | + | on which to invoke the callback of closure.</doc> | |
| 20517 | 23190 | <type name="Value" c:type="const GValue*"/> | |
| 20518 | 23191 | </parameter> | |
| 20519 | 23192 | <parameter name="invocation_hint" | |
| @@ -20521,9 +23194,9 @@ denotes a flags type.</doc> | |||
| 20521 | 23194 | nullable="1" | |
| 20522 | 23195 | allow-none="1"> | |
| 20523 | 23196 | <doc xml:space="preserve" | |
| 20524 | - | filename="gobject-2.0.c" | |
| 20525 | - | line="2005">the invocation hint given as the last argument | |
| 20526 | - | to g_closure_invoke()</doc> | |
| 23197 | + | filename="gobject/gmarshal.c" | |
| 23198 | + | line="80">The invocation hint given as the last argument to | |
| 23199 | + | g_closure_invoke().</doc> | |
| 20527 | 23200 | <type name="gpointer" c:type="gpointer"/> | |
| 20528 | 23201 | </parameter> | |
| 20529 | 23202 | <parameter name="marshal_data" | |
| @@ -20531,8 +23204,10 @@ denotes a flags type.</doc> | |||
| 20531 | 23204 | nullable="1" | |
| 20532 | 23205 | allow-none="1"> | |
| 20533 | 23206 | <doc xml:space="preserve" | |
| 20534 | - | filename="gobject-2.0.c" | |
| 20535 | - | line="2007">additional data specified when registering the marshaller</doc> | |
| 23207 | + | filename="gobject/gmarshal.c" | |
| 23208 | + | line="82">Additional data specified when registering the | |
| 23209 | + | marshaller, see g_closure_set_marshal() and | |
| 23210 | + | g_closure_set_meta_marshal()</doc> | |
| 20536 | 23211 | <type name="gpointer" c:type="gpointer"/> | |
| 20537 | 23212 | </parameter> | |
| 20538 | 23213 | </parameters> | |
| @@ -20542,40 +23217,40 @@ denotes a flags type.</doc> | |||
| 20542 | 23217 | moved-to="CClosure.marshal_generic" | |
| 20543 | 23218 | version="2.30"> | |
| 20544 | 23219 | <doc xml:space="preserve" | |
| 20545 | - | filename="gobject-2.0.c" | |
| 20546 | - | line="2033">A generic marshaller function implemented via | |
| 23220 | + | filename="gobject/gclosure.c" | |
| 23221 | + | line="1446">A generic marshaller function implemented via | |
| 20547 | 23222 | [libffi](http://sourceware.org/libffi/). | |
| 20548 | 23223 | ||
| 20549 | 23224 | Normally this function is not passed explicitly to g_signal_new(), | |
| 20550 | 23225 | but used automatically by GLib when specifying a %NULL marshaller.</doc> | |
| 20551 | - | <source-position filename="gclosure.h" line="302"/> | |
| 23226 | + | <source-position filename="gobject/gclosure.h" line="296"/> | |
| 20552 | 23227 | <return-value transfer-ownership="none"> | |
| 20553 | 23228 | <type name="none" c:type="void"/> | |
| 20554 | 23229 | </return-value> | |
| 20555 | 23230 | <parameters> | |
| 20556 | 23231 | <parameter name="closure" transfer-ownership="none"> | |
| 20557 | 23232 | <doc xml:space="preserve" | |
| 20558 | - | filename="gobject-2.0.c" | |
| 20559 | - | line="2035">A #GClosure.</doc> | |
| 23233 | + | filename="gobject/gclosure.c" | |
| 23234 | + | line="1448">A #GClosure.</doc> | |
| 20560 | 23235 | <type name="Closure" c:type="GClosure*"/> | |
| 20561 | 23236 | </parameter> | |
| 20562 | 23237 | <parameter name="return_gvalue" transfer-ownership="none"> | |
| 20563 | 23238 | <doc xml:space="preserve" | |
| 20564 | - | filename="gobject-2.0.c" | |
| 20565 | - | line="2036">A #GValue to store the return value. May be %NULL | |
| 23239 | + | filename="gobject/gclosure.c" | |
| 23240 | + | line="1449">A #GValue to store the return value. May be %NULL | |
| 20566 | 23241 | if the callback of closure doesn't return a value.</doc> | |
| 20567 | 23242 | <type name="Value" c:type="GValue*"/> | |
| 20568 | 23243 | </parameter> | |
| 20569 | 23244 | <parameter name="n_param_values" transfer-ownership="none"> | |
| 20570 | 23245 | <doc xml:space="preserve" | |
| 20571 | - | filename="gobject-2.0.c" | |
| 20572 | - | line="2038">The length of the @param_values array.</doc> | |
| 23246 | + | filename="gobject/gclosure.c" | |
| 23247 | + | line="1451">The length of the @param_values array.</doc> | |
| 20573 | 23248 | <type name="guint" c:type="guint"/> | |
| 20574 | 23249 | </parameter> | |
| 20575 | 23250 | <parameter name="param_values" transfer-ownership="none"> | |
| 20576 | 23251 | <doc xml:space="preserve" | |
| 20577 | - | filename="gobject-2.0.c" | |
| 20578 | - | line="2039">An array of #GValues holding the arguments | |
| 23252 | + | filename="gobject/gclosure.c" | |
| 23253 | + | line="1452">An array of #GValues holding the arguments | |
| 20579 | 23254 | on which to invoke the callback of closure.</doc> | |
| 20580 | 23255 | <type name="Value" c:type="const GValue*"/> | |
| 20581 | 23256 | </parameter> | |
| @@ -20584,8 +23259,8 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc> | |||
| 20584 | 23259 | nullable="1" | |
| 20585 | 23260 | allow-none="1"> | |
| 20586 | 23261 | <doc xml:space="preserve" | |
| 20587 | - | filename="gobject-2.0.c" | |
| 20588 | - | line="2041">The invocation hint given as the last argument to | |
| 23262 | + | filename="gobject/gclosure.c" | |
| 23263 | + | line="1454">The invocation hint given as the last argument to | |
| 20589 | 23264 | g_closure_invoke().</doc> | |
| 20590 | 23265 | <type name="gpointer" c:type="gpointer"/> | |
| 20591 | 23266 | </parameter> | |
| @@ -20594,8 +23269,8 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc> | |||
| 20594 | 23269 | nullable="1" | |
| 20595 | 23270 | allow-none="1"> | |
| 20596 | 23271 | <doc xml:space="preserve" | |
| 20597 | - | filename="gobject-2.0.c" | |
| 20598 | - | line="2043">Additional data specified when registering the | |
| 23272 | + | filename="gobject/gclosure.c" | |
| 23273 | + | line="1456">Additional data specified when registering the | |
| 20599 | 23274 | marshaller, see g_closure_set_marshal() and | |
| 20600 | 23275 | g_closure_set_meta_marshal()</doc> | |
| 20601 | 23276 | <type name="gpointer" c:type="gpointer"/> | |
| @@ -20607,43 +23282,38 @@ but used automatically by GLib when specifying a %NULL marshaller.</doc> | |||
| 20607 | 23282 | moved-to="CClosure.new" | |
| 20608 | 23283 | introspectable="0"> | |
| 20609 | 23284 | <doc xml:space="preserve" | |
| 20610 | - | filename="gobject-2.0.c" | |
| 20611 | - | line="2080">Creates a new closure which invokes @callback_func with @user_data as | |
| 23285 | + | filename="gobject/gclosure.c" | |
| 23286 | + | line="959">Creates a new closure which invokes @callback_func with @user_data as | |
| 20612 | 23287 | the last parameter. | |
| 20613 | 23288 | ||
| 20614 | 23289 | @destroy_data will be called as a finalize notifier on the #GClosure.</doc> | |
| 20615 | - | <source-position filename="gclosure.h" line="229"/> | |
| 23290 | + | <source-position filename="gobject/gclosure.h" line="223"/> | |
| 20616 | 23291 | <return-value transfer-ownership="none"> | |
| 20617 | 23292 | <doc xml:space="preserve" | |
| 20618 | - | filename="gobject-2.0.c" | |
| 20619 | - | line="2091">a floating reference to a new #GCClosure</doc> | |
| 23293 | + | filename="gobject/gclosure.c" | |
| 23294 | + | line="970">a floating reference to a new #GCClosure</doc> | |
| 20620 | 23295 | <type name="Closure" c:type="GClosure*"/> | |
| 20621 | 23296 | </return-value> | |
| 20622 | 23297 | <parameters> | |
| 20623 | - | <parameter name="callback_func" | |
| 20624 | - | transfer-ownership="none" | |
| 20625 | - | nullable="1" | |
| 20626 | - | allow-none="1" | |
| 20627 | - | closure="1"> | |
| 23298 | + | <parameter name="callback_func" transfer-ownership="none" closure="1"> | |
| 20628 | 23299 | <doc xml:space="preserve" | |
| 20629 | - | filename="gobject-2.0.c" | |
| 20630 | - | line="2082">the function to invoke</doc> | |
| 23300 | + | filename="gobject/gclosure.c" | |
| 23301 | + | line="961">the function to invoke</doc> | |
| 20631 | 23302 | <type name="Callback" c:type="GCallback"/> | |
| 20632 | 23303 | </parameter> | |
| 20633 | 23304 | <parameter name="user_data" | |
| 20634 | 23305 | transfer-ownership="none" | |
| 20635 | 23306 | nullable="1" | |
| 20636 | - | allow-none="1" | |
| 20637 | - | closure="0"> | |
| 23307 | + | allow-none="1"> | |
| 20638 | 23308 | <doc xml:space="preserve" | |
| 20639 | - | filename="gobject-2.0.c" | |
| 20640 | - | line="2083">user data to pass to @callback_func</doc> | |
| 23309 | + | filename="gobject/gclosure.c" | |
| 23310 | + | line="962">user data to pass to @callback_func</doc> | |
| 20641 | 23311 | <type name="gpointer" c:type="gpointer"/> | |
| 20642 | 23312 | </parameter> | |
| 20643 | 23313 | <parameter name="destroy_data" transfer-ownership="none"> | |
| 20644 | 23314 | <doc xml:space="preserve" | |
| 20645 | - | filename="gobject-2.0.c" | |
| 20646 | - | line="2084">destroy notify to be called when @user_data is no longer used</doc> | |
| 23315 | + | filename="gobject/gclosure.c" | |
| 23316 | + | line="963">destroy notify to be called when @user_data is no longer used</doc> | |
| 20647 | 23317 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 20648 | 23318 | </parameter> | |
| 20649 | 23319 | </parameters> | |
| @@ -20653,30 +23323,30 @@ the last parameter. | |||
| 20653 | 23323 | moved-to="CClosure.new_object" | |
| 20654 | 23324 | introspectable="0"> | |
| 20655 | 23325 | <doc xml:space="preserve" | |
| 20656 | - | filename="gobject-2.0.c" | |
| 20657 | - | line="2095">A variant of g_cclosure_new() which uses @object as @user_data and | |
| 23326 | + | filename="gobject/gobject.c" | |
| 23327 | + | line="5345">A variant of g_cclosure_new() which uses @object as @user_data and | |
| 20658 | 23328 | calls g_object_watch_closure() on @object and the created | |
| 20659 | 23329 | closure. This function is useful when you have a callback closely | |
| 20660 | 23330 | associated with a #GObject, and want the callback to no longer run | |
| 20661 | 23331 | after the object is is freed.</doc> | |
| 20662 | - | <source-position filename="gobject.h" line="635"/> | |
| 20663 | - | <return-value transfer-ownership="full"> | |
| 23332 | + | <source-position filename="gobject/gobject.h" line="627"/> | |
| 23333 | + | <return-value transfer-ownership="none"> | |
| 20664 | 23334 | <doc xml:space="preserve" | |
| 20665 | - | filename="gobject-2.0.c" | |
| 20666 | - | line="2106">a new #GCClosure</doc> | |
| 23335 | + | filename="gobject/gobject.c" | |
| 23336 | + | line="5356">a new #GCClosure</doc> | |
| 20667 | 23337 | <type name="Closure" c:type="GClosure*"/> | |
| 20668 | 23338 | </return-value> | |
| 20669 | 23339 | <parameters> | |
| 20670 | 23340 | <parameter name="callback_func" transfer-ownership="none"> | |
| 20671 | 23341 | <doc xml:space="preserve" | |
| 20672 | - | filename="gobject-2.0.c" | |
| 20673 | - | line="2097">the function to invoke</doc> | |
| 23342 | + | filename="gobject/gobject.c" | |
| 23343 | + | line="5347">the function to invoke</doc> | |
| 20674 | 23344 | <type name="Callback" c:type="GCallback"/> | |
| 20675 | 23345 | </parameter> | |
| 20676 | 23346 | <parameter name="object" transfer-ownership="none"> | |
| 20677 | 23347 | <doc xml:space="preserve" | |
| 20678 | - | filename="gobject-2.0.c" | |
| 20679 | - | line="2098">a #GObject pointer to pass to @callback_func</doc> | |
| 23348 | + | filename="gobject/gobject.c" | |
| 23349 | + | line="5348">a #GObject pointer to pass to @callback_func</doc> | |
| 20680 | 23350 | <type name="Object" c:type="GObject*"/> | |
| 20681 | 23351 | </parameter> | |
| 20682 | 23352 | </parameters> | |
| @@ -20686,30 +23356,30 @@ after the object is is freed.</doc> | |||
| 20686 | 23356 | moved-to="CClosure.new_object_swap" | |
| 20687 | 23357 | introspectable="0"> | |
| 20688 | 23358 | <doc xml:space="preserve" | |
| 20689 | - | filename="gobject-2.0.c" | |
| 20690 | - | line="2110">A variant of g_cclosure_new_swap() which uses @object as @user_data | |
| 23359 | + | filename="gobject/gobject.c" | |
| 23360 | + | line="5374">A variant of g_cclosure_new_swap() which uses @object as @user_data | |
| 20691 | 23361 | and calls g_object_watch_closure() on @object and the created | |
| 20692 | 23362 | closure. This function is useful when you have a callback closely | |
| 20693 | 23363 | associated with a #GObject, and want the callback to no longer run | |
| 20694 | 23364 | after the object is is freed.</doc> | |
| 20695 | - | <source-position filename="gobject.h" line="638"/> | |
| 20696 | - | <return-value transfer-ownership="full"> | |
| 23365 | + | <source-position filename="gobject/gobject.h" line="630"/> | |
| 23366 | + | <return-value transfer-ownership="none"> | |
| 20697 | 23367 | <doc xml:space="preserve" | |
| 20698 | - | filename="gobject-2.0.c" | |
| 20699 | - | line="2121">a new #GCClosure</doc> | |
| 23368 | + | filename="gobject/gobject.c" | |
| 23369 | + | line="5385">a new #GCClosure</doc> | |
| 20700 | 23370 | <type name="Closure" c:type="GClosure*"/> | |
| 20701 | 23371 | </return-value> | |
| 20702 | 23372 | <parameters> | |
| 20703 | 23373 | <parameter name="callback_func" transfer-ownership="none"> | |
| 20704 | 23374 | <doc xml:space="preserve" | |
| 20705 | - | filename="gobject-2.0.c" | |
| 20706 | - | line="2112">the function to invoke</doc> | |
| 23375 | + | filename="gobject/gobject.c" | |
| 23376 | + | line="5376">the function to invoke</doc> | |
| 20707 | 23377 | <type name="Callback" c:type="GCallback"/> | |
| 20708 | 23378 | </parameter> | |
| 20709 | 23379 | <parameter name="object" transfer-ownership="none"> | |
| 20710 | 23380 | <doc xml:space="preserve" | |
| 20711 | - | filename="gobject-2.0.c" | |
| 20712 | - | line="2113">a #GObject pointer to pass to @callback_func</doc> | |
| 23381 | + | filename="gobject/gobject.c" | |
| 23382 | + | line="5377">a #GObject pointer to pass to @callback_func</doc> | |
| 20713 | 23383 | <type name="Object" c:type="GObject*"/> | |
| 20714 | 23384 | </parameter> | |
| 20715 | 23385 | </parameters> | |
| @@ -20719,43 +23389,38 @@ after the object is is freed.</doc> | |||
| 20719 | 23389 | moved-to="CClosure.new_swap" | |
| 20720 | 23390 | introspectable="0"> | |
| 20721 | 23391 | <doc xml:space="preserve" | |
| 20722 | - | filename="gobject-2.0.c" | |
| 20723 | - | line="2125">Creates a new closure which invokes @callback_func with @user_data as | |
| 23392 | + | filename="gobject/gclosure.c" | |
| 23393 | + | line="989">Creates a new closure which invokes @callback_func with @user_data as | |
| 20724 | 23394 | the first parameter. | |
| 20725 | 23395 | ||
| 20726 | 23396 | @destroy_data will be called as a finalize notifier on the #GClosure.</doc> | |
| 20727 | - | <source-position filename="gclosure.h" line="233"/> | |
| 23397 | + | <source-position filename="gobject/gclosure.h" line="227"/> | |
| 20728 | 23398 | <return-value transfer-ownership="none"> | |
| 20729 | 23399 | <doc xml:space="preserve" | |
| 20730 | - | filename="gobject-2.0.c" | |
| 20731 | - | line="2136">a floating reference to a new #GCClosure</doc> | |
| 23400 | + | filename="gobject/gclosure.c" | |
| 23401 | + | line="1000">a floating reference to a new #GCClosure</doc> | |
| 20732 | 23402 | <type name="Closure" c:type="GClosure*"/> | |
| 20733 | 23403 | </return-value> | |
| 20734 | 23404 | <parameters> | |
| 20735 | - | <parameter name="callback_func" | |
| 20736 | - | transfer-ownership="none" | |
| 20737 | - | nullable="1" | |
| 20738 | - | allow-none="1" | |
| 20739 | - | closure="1"> | |
| 23405 | + | <parameter name="callback_func" transfer-ownership="none" closure="1"> | |
| 20740 | 23406 | <doc xml:space="preserve" | |
| 20741 | - | filename="gobject-2.0.c" | |
| 20742 | - | line="2127">the function to invoke</doc> | |
| 23407 | + | filename="gobject/gclosure.c" | |
| 23408 | + | line="991">the function to invoke</doc> | |
| 20743 | 23409 | <type name="Callback" c:type="GCallback"/> | |
| 20744 | 23410 | </parameter> | |
| 20745 | 23411 | <parameter name="user_data" | |
| 20746 | 23412 | transfer-ownership="none" | |
| 20747 | 23413 | nullable="1" | |
| 20748 | - | allow-none="1" | |
| 20749 | - | closure="0"> | |
| 23414 | + | allow-none="1"> | |
| 20750 | 23415 | <doc xml:space="preserve" | |
| 20751 | - | filename="gobject-2.0.c" | |
| 20752 | - | line="2128">user data to pass to @callback_func</doc> | |
| 23416 | + | filename="gobject/gclosure.c" | |
| 23417 | + | line="992">user data to pass to @callback_func</doc> | |
| 20753 | 23418 | <type name="gpointer" c:type="gpointer"/> | |
| 20754 | 23419 | </parameter> | |
| 20755 | 23420 | <parameter name="destroy_data" transfer-ownership="none"> | |
| 20756 | 23421 | <doc xml:space="preserve" | |
| 20757 | - | filename="gobject-2.0.c" | |
| 20758 | - | line="2129">destroy notify to be called when @user_data is no longer used</doc> | |
| 23422 | + | filename="gobject/gclosure.c" | |
| 23423 | + | line="993">destroy notify to be called when @user_data is no longer used</doc> | |
| 20759 | 23424 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 20760 | 23425 | </parameter> | |
| 20761 | 23426 | </parameters> | |
| @@ -20765,8 +23430,8 @@ the first parameter. | |||
| 20765 | 23430 | version="2.28" | |
| 20766 | 23431 | introspectable="0"> | |
| 20767 | 23432 | <doc xml:space="preserve" | |
| 20768 | - | filename="gobject-2.0.c" | |
| 20769 | - | line="2140">Clears a reference to a #GObject. | |
| 23433 | + | filename="gobject/gobject.c" | |
| 23434 | + | line="4528">Clears a reference to a #GObject. | |
| 20770 | 23435 | ||
| 20771 | 23436 | @object_ptr must not be %NULL. | |
| 20772 | 23437 | ||
| @@ -20776,15 +23441,15 @@ pointer is set to %NULL. | |||
| 20776 | 23441 | ||
| 20777 | 23442 | A macro is also included that allows this function to be used without | |
| 20778 | 23443 | pointer casts.</doc> | |
| 20779 | - | <source-position filename="gobject.h" line="702"/> | |
| 23444 | + | <source-position filename="gobject/gobject.h" line="694"/> | |
| 20780 | 23445 | <return-value transfer-ownership="none"> | |
| 20781 | 23446 | <type name="none" c:type="void"/> | |
| 20782 | 23447 | </return-value> | |
| 20783 | 23448 | <parameters> | |
| 20784 | 23449 | <parameter name="object_ptr" transfer-ownership="none"> | |
| 20785 | 23450 | <doc xml:space="preserve" | |
| 20786 | - | filename="gobject-2.0.c" | |
| 20787 | - | line="2142">a pointer to a #GObject reference</doc> | |
| 23451 | + | filename="gobject/gobject.c" | |
| 23452 | + | line="4530">a pointer to a #GObject reference</doc> | |
| 20788 | 23453 | <type name="Object" c:type="GObject**"/> | |
| 20789 | 23454 | </parameter> | |
| 20790 | 23455 | </parameters> | |
| @@ -20793,8 +23458,8 @@ pointer casts.</doc> | |||
| 20793 | 23458 | c:identifier="g_clear_signal_handler" | |
| 20794 | 23459 | version="2.62"> | |
| 20795 | 23460 | <doc xml:space="preserve" | |
| 20796 | - | filename="gobject-2.0.c" | |
| 20797 | - | line="2159">Disconnects a handler from @instance so it will not be called during | |
| 23461 | + | filename="gobject/gsignal.c" | |
| 23462 | + | line="4173">Disconnects a handler from @instance so it will not be called during | |
| 20798 | 23463 | any future or currently ongoing emissions of the signal it has been | |
| 20799 | 23464 | connected to. The @handler_id_ptr is then set to zero, which is never a valid handler ID value (see g_signal_connect()). | |
| 20800 | 23465 | ||
| @@ -20802,21 +23467,21 @@ If the handler ID is 0 then this function does nothing. | |||
| 20802 | 23467 | ||
| 20803 | 23468 | There is also a macro version of this function so that the code | |
| 20804 | 23469 | will be inlined.</doc> | |
| 20805 | - | <source-position filename="gsignal.h" line="456"/> | |
| 23470 | + | <source-position filename="gobject/gsignal.h" line="486"/> | |
| 20806 | 23471 | <return-value transfer-ownership="none"> | |
| 20807 | 23472 | <type name="none" c:type="void"/> | |
| 20808 | 23473 | </return-value> | |
| 20809 | 23474 | <parameters> | |
| 20810 | 23475 | <parameter name="handler_id_ptr" transfer-ownership="none"> | |
| 20811 | 23476 | <doc xml:space="preserve" | |
| 20812 | - | filename="gobject-2.0.c" | |
| 20813 | - | line="2161">A pointer to a handler ID (of type #gulong) of the handler to be disconnected.</doc> | |
| 23477 | + | filename="gobject/gsignal.c" | |
| 23478 | + | line="4175">A pointer to a handler ID (of type #gulong) of the handler to be disconnected.</doc> | |
| 20814 | 23479 | <type name="gulong" c:type="gulong*"/> | |
| 20815 | 23480 | </parameter> | |
| 20816 | 23481 | <parameter name="instance" transfer-ownership="none"> | |
| 20817 | 23482 | <doc xml:space="preserve" | |
| 20818 | - | filename="gobject-2.0.c" | |
| 20819 | - | line="2162">The instance to remove the signal handler from. | |
| 23483 | + | filename="gobject/gsignal.c" | |
| 23484 | + | line="4176">The instance to remove the signal handler from. | |
| 20820 | 23485 | This pointer may be %NULL or invalid, if the handler ID is zero.</doc> | |
| 20821 | 23486 | <type name="Object" c:type="gpointer"/> | |
| 20822 | 23487 | </parameter> | |
| @@ -20827,8 +23492,8 @@ will be inlined.</doc> | |||
| 20827 | 23492 | version="2.56" | |
| 20828 | 23493 | introspectable="0"> | |
| 20829 | 23494 | <doc xml:space="preserve" | |
| 20830 | - | filename="gobject.h" | |
| 20831 | - | line="824">Clears a weak reference to a #GObject. | |
| 23495 | + | filename="gobject/gobject.h" | |
| 23496 | + | line="816">Clears a weak reference to a #GObject. | |
| 20832 | 23497 | ||
| 20833 | 23498 | @weak_pointer_location must not be %NULL. | |
| 20834 | 23499 | ||
| @@ -20839,20 +23504,20 @@ and the pointer is set to %NULL. | |||
| 20839 | 23504 | A macro is also included that allows this function to be used without | |
| 20840 | 23505 | pointer casts. The function itself is static inline, so its address may vary | |
| 20841 | 23506 | between compilation units.</doc> | |
| 20842 | - | <source-position filename="gobject.h" line="854"/> | |
| 23507 | + | <source-position filename="gobject/gobject.h" line="846"/> | |
| 20843 | 23508 | <parameters> | |
| 20844 | 23509 | <parameter name="weak_pointer_location"> | |
| 20845 | 23510 | <doc xml:space="preserve" | |
| 20846 | - | filename="gobject.h" | |
| 20847 | - | line="826">The memory address of a pointer</doc> | |
| 23511 | + | filename="gobject/gobject.h" | |
| 23512 | + | line="818">The memory address of a pointer</doc> | |
| 20848 | 23513 | </parameter> | |
| 20849 | 23514 | </parameters> | |
| 20850 | 23515 | </function-macro> | |
| 20851 | 23516 | <function name="enum_complete_type_info" | |
| 20852 | 23517 | c:identifier="g_enum_complete_type_info"> | |
| 20853 | 23518 | <doc xml:space="preserve" | |
| 20854 | - | filename="gobject-2.0.c" | |
| 20855 | - | line="2478">This function is meant to be called from the `complete_type_info` | |
| 23519 | + | filename="gobject/genums.c" | |
| 23520 | + | line="231">This function is meant to be called from the `complete_type_info` | |
| 20856 | 23521 | function of a #GTypePlugin implementation, as in the following | |
| 20857 | 23522 | example: | |
| 20858 | 23523 | ||
| @@ -20872,15 +23537,15 @@ my_enum_complete_type_info (GTypePlugin *plugin, | |||
| 20872 | 23537 | g_enum_complete_type_info (type, info, values); | |
| 20873 | 23538 | } | |
| 20874 | 23539 | ]|</doc> | |
| 20875 | - | <source-position filename="genums.h" line="269"/> | |
| 23540 | + | <source-position filename="gobject/genums.h" line="271"/> | |
| 20876 | 23541 | <return-value transfer-ownership="none"> | |
| 20877 | 23542 | <type name="none" c:type="void"/> | |
| 20878 | 23543 | </return-value> | |
| 20879 | 23544 | <parameters> | |
| 20880 | 23545 | <parameter name="g_enum_type" transfer-ownership="none"> | |
| 20881 | 23546 | <doc xml:space="preserve" | |
| 20882 | - | filename="gobject-2.0.c" | |
| 20883 | - | line="2480">the type identifier of the type being completed</doc> | |
| 23547 | + | filename="gobject/genums.c" | |
| 23548 | + | line="233">the type identifier of the type being completed</doc> | |
| 20884 | 23549 | <type name="GType" c:type="GType"/> | |
| 20885 | 23550 | </parameter> | |
| 20886 | 23551 | <parameter name="info" | |
| @@ -20888,14 +23553,14 @@ my_enum_complete_type_info (GTypePlugin *plugin, | |||
| 20888 | 23553 | caller-allocates="0" | |
| 20889 | 23554 | transfer-ownership="full"> | |
| 20890 | 23555 | <doc xml:space="preserve" | |
| 20891 | - | filename="gobject-2.0.c" | |
| 20892 | - | line="2481">the #GTypeInfo struct to be filled in</doc> | |
| 23556 | + | filename="gobject/genums.c" | |
| 23557 | + | line="234">the #GTypeInfo struct to be filled in</doc> | |
| 20893 | 23558 | <type name="TypeInfo" c:type="GTypeInfo*"/> | |
| 20894 | 23559 | </parameter> | |
| 20895 | 23560 | <parameter name="const_values" transfer-ownership="none"> | |
| 20896 | 23561 | <doc xml:space="preserve" | |
| 20897 | - | filename="gobject-2.0.c" | |
| 20898 | - | line="2482">An array of #GEnumValue structs for the possible | |
| 23562 | + | filename="gobject/genums.c" | |
| 23563 | + | line="235">An array of #GEnumValue structs for the possible | |
| 20899 | 23564 | enumeration values. The array is terminated by a struct with all | |
| 20900 | 23565 | members being 0.</doc> | |
| 20901 | 23566 | <type name="EnumValue" c:type="const GEnumValue*"/> | |
| @@ -20904,27 +23569,27 @@ my_enum_complete_type_info (GTypePlugin *plugin, | |||
| 20904 | 23569 | </function> | |
| 20905 | 23570 | <function name="enum_get_value" c:identifier="g_enum_get_value"> | |
| 20906 | 23571 | <doc xml:space="preserve" | |
| 20907 | - | filename="gobject-2.0.c" | |
| 20908 | - | line="2509">Returns the #GEnumValue for a value.</doc> | |
| 20909 | - | <source-position filename="genums.h" line="219"/> | |
| 23572 | + | filename="gobject/genums.c" | |
| 23573 | + | line="472">Returns the #GEnumValue for a value.</doc> | |
| 23574 | + | <source-position filename="gobject/genums.h" line="221"/> | |
| 20910 | 23575 | <return-value transfer-ownership="none" nullable="1"> | |
| 20911 | 23576 | <doc xml:space="preserve" | |
| 20912 | - | filename="gobject-2.0.c" | |
| 20913 | - | line="2516">the #GEnumValue for @value, or %NULL | |
| 23577 | + | filename="gobject/genums.c" | |
| 23578 | + | line="479">the #GEnumValue for @value, or %NULL | |
| 20914 | 23579 | if @value is not a member of the enumeration</doc> | |
| 20915 | 23580 | <type name="EnumValue" c:type="GEnumValue*"/> | |
| 20916 | 23581 | </return-value> | |
| 20917 | 23582 | <parameters> | |
| 20918 | 23583 | <parameter name="enum_class" transfer-ownership="none"> | |
| 20919 | 23584 | <doc xml:space="preserve" | |
| 20920 | - | filename="gobject-2.0.c" | |
| 20921 | - | line="2511">a #GEnumClass</doc> | |
| 23585 | + | filename="gobject/genums.c" | |
| 23586 | + | line="474">a #GEnumClass</doc> | |
| 20922 | 23587 | <type name="EnumClass" c:type="GEnumClass*"/> | |
| 20923 | 23588 | </parameter> | |
| 20924 | 23589 | <parameter name="value" transfer-ownership="none"> | |
| 20925 | 23590 | <doc xml:space="preserve" | |
| 20926 | - | filename="gobject-2.0.c" | |
| 20927 | - | line="2512">the value to look up</doc> | |
| 23591 | + | filename="gobject/genums.c" | |
| 23592 | + | line="475">the value to look up</doc> | |
| 20928 | 23593 | <type name="gint" c:type="gint"/> | |
| 20929 | 23594 | </parameter> | |
| 20930 | 23595 | </parameters> | |
| @@ -20932,13 +23597,13 @@ my_enum_complete_type_info (GTypePlugin *plugin, | |||
| 20932 | 23597 | <function name="enum_get_value_by_name" | |
| 20933 | 23598 | c:identifier="g_enum_get_value_by_name"> | |
| 20934 | 23599 | <doc xml:space="preserve" | |
| 20935 | - | filename="gobject-2.0.c" | |
| 20936 | - | line="2521">Looks up a #GEnumValue by name.</doc> | |
| 20937 | - | <source-position filename="genums.h" line="222"/> | |
| 23600 | + | filename="gobject/genums.c" | |
| 23601 | + | line="354">Looks up a #GEnumValue by name.</doc> | |
| 23602 | + | <source-position filename="gobject/genums.h" line="224"/> | |
| 20938 | 23603 | <return-value transfer-ownership="none" nullable="1"> | |
| 20939 | 23604 | <doc xml:space="preserve" | |
| 20940 | - | filename="gobject-2.0.c" | |
| 20941 | - | line="2528">the #GEnumValue with name @name, | |
| 23605 | + | filename="gobject/genums.c" | |
| 23606 | + | line="361">the #GEnumValue with name @name, | |
| 20942 | 23607 | or %NULL if the enumeration doesn't have a member | |
| 20943 | 23608 | with that name</doc> | |
| 20944 | 23609 | <type name="EnumValue" c:type="GEnumValue*"/> | |
| @@ -20946,14 +23611,14 @@ my_enum_complete_type_info (GTypePlugin *plugin, | |||
| 20946 | 23611 | <parameters> | |
| 20947 | 23612 | <parameter name="enum_class" transfer-ownership="none"> | |
| 20948 | 23613 | <doc xml:space="preserve" | |
| 20949 | - | filename="gobject-2.0.c" | |
| 20950 | - | line="2523">a #GEnumClass</doc> | |
| 23614 | + | filename="gobject/genums.c" | |
| 23615 | + | line="356">a #GEnumClass</doc> | |
| 20951 | 23616 | <type name="EnumClass" c:type="GEnumClass*"/> | |
| 20952 | 23617 | </parameter> | |
| 20953 | 23618 | <parameter name="name" transfer-ownership="none"> | |
| 20954 | 23619 | <doc xml:space="preserve" | |
| 20955 | - | filename="gobject-2.0.c" | |
| 20956 | - | line="2524">the name to look up</doc> | |
| 23620 | + | filename="gobject/genums.c" | |
| 23621 | + | line="357">the name to look up</doc> | |
| 20957 | 23622 | <type name="utf8" c:type="const gchar*"/> | |
| 20958 | 23623 | </parameter> | |
| 20959 | 23624 | </parameters> | |
| @@ -20961,13 +23626,13 @@ my_enum_complete_type_info (GTypePlugin *plugin, | |||
| 20961 | 23626 | <function name="enum_get_value_by_nick" | |
| 20962 | 23627 | c:identifier="g_enum_get_value_by_nick"> | |
| 20963 | 23628 | <doc xml:space="preserve" | |
| 20964 | - | filename="gobject-2.0.c" | |
| 20965 | - | line="2534">Looks up a #GEnumValue by nickname.</doc> | |
| 20966 | - | <source-position filename="genums.h" line="225"/> | |
| 23629 | + | filename="gobject/genums.c" | |
| 23630 | + | line="413">Looks up a #GEnumValue by nickname.</doc> | |
| 23631 | + | <source-position filename="gobject/genums.h" line="227"/> | |
| 20967 | 23632 | <return-value transfer-ownership="none" nullable="1"> | |
| 20968 | 23633 | <doc xml:space="preserve" | |
| 20969 | - | filename="gobject-2.0.c" | |
| 20970 | - | line="2541">the #GEnumValue with nickname @nick, | |
| 23634 | + | filename="gobject/genums.c" | |
| 23635 | + | line="420">the #GEnumValue with nickname @nick, | |
| 20971 | 23636 | or %NULL if the enumeration doesn't have a member | |
| 20972 | 23637 | with that nickname</doc> | |
| 20973 | 23638 | <type name="EnumValue" c:type="GEnumValue*"/> | |
| @@ -20975,14 +23640,14 @@ my_enum_complete_type_info (GTypePlugin *plugin, | |||
| 20975 | 23640 | <parameters> | |
| 20976 | 23641 | <parameter name="enum_class" transfer-ownership="none"> | |
| 20977 | 23642 | <doc xml:space="preserve" | |
| 20978 | - | filename="gobject-2.0.c" | |
| 20979 | - | line="2536">a #GEnumClass</doc> | |
| 23643 | + | filename="gobject/genums.c" | |
| 23644 | + | line="415">a #GEnumClass</doc> | |
| 20980 | 23645 | <type name="EnumClass" c:type="GEnumClass*"/> | |
| 20981 | 23646 | </parameter> | |
| 20982 | 23647 | <parameter name="nick" transfer-ownership="none"> | |
| 20983 | 23648 | <doc xml:space="preserve" | |
| 20984 | - | filename="gobject-2.0.c" | |
| 20985 | - | line="2537">the nickname to look up</doc> | |
| 23649 | + | filename="gobject/genums.c" | |
| 23650 | + | line="416">the nickname to look up</doc> | |
| 20986 | 23651 | <type name="utf8" c:type="const gchar*"/> | |
| 20987 | 23652 | </parameter> | |
| 20988 | 23653 | </parameters> | |
| @@ -20990,34 +23655,36 @@ my_enum_complete_type_info (GTypePlugin *plugin, | |||
| 20990 | 23655 | <function name="enum_register_static" | |
| 20991 | 23656 | c:identifier="g_enum_register_static"> | |
| 20992 | 23657 | <doc xml:space="preserve" | |
| 20993 | - | filename="gobject-2.0.c" | |
| 20994 | - | line="2547">Registers a new static enumeration type with the name @name. | |
| 23658 | + | filename="gobject/genums.c" | |
| 23659 | + | line="143">Registers a new static enumeration type with the name @name. | |
| 20995 | 23660 | ||
| 20996 | 23661 | It is normally more convenient to let [glib-mkenums][glib-mkenums], | |
| 20997 | 23662 | generate a my_enum_get_type() function from a usual C enumeration | |
| 20998 | 23663 | definition than to write one yourself using g_enum_register_static().</doc> | |
| 20999 | - | <source-position filename="genums.h" line="260"/> | |
| 23664 | + | <source-position filename="gobject/genums.h" line="262"/> | |
| 21000 | 23665 | <return-value transfer-ownership="none"> | |
| 21001 | 23666 | <doc xml:space="preserve" | |
| 21002 | - | filename="gobject-2.0.c" | |
| 21003 | - | line="2561">The new type identifier.</doc> | |
| 23667 | + | filename="gobject/genums.c" | |
| 23668 | + | line="157">The new type identifier.</doc> | |
| 21004 | 23669 | <type name="GType" c:type="GType"/> | |
| 21005 | 23670 | </return-value> | |
| 21006 | 23671 | <parameters> | |
| 21007 | 23672 | <parameter name="name" transfer-ownership="none"> | |
| 21008 | 23673 | <doc xml:space="preserve" | |
| 21009 | - | filename="gobject-2.0.c" | |
| 21010 | - | line="2549">A nul-terminated string used as the name of the new type.</doc> | |
| 23674 | + | filename="gobject/genums.c" | |
| 23675 | + | line="145">A nul-terminated string used as the name of the new type.</doc> | |
| 21011 | 23676 | <type name="utf8" c:type="const gchar*"/> | |
| 21012 | 23677 | </parameter> | |
| 21013 | 23678 | <parameter name="const_static_values" transfer-ownership="none"> | |
| 21014 | 23679 | <doc xml:space="preserve" | |
| 21015 | - | filename="gobject-2.0.c" | |
| 21016 | - | line="2550">An array of #GEnumValue structs for the possible | |
| 21017 | - | enumeration values. The array is terminated by a struct with all | |
| 21018 | - | members being 0. GObject keeps a reference to the data, so it cannot | |
| 21019 | - | be stack-allocated.</doc> | |
| 21020 | - | <type name="EnumValue" c:type="const GEnumValue*"/> | |
| 23680 | + | filename="gobject/genums.c" | |
| 23681 | + | line="146">An array of | |
| 23682 | + | #GEnumValue structs for the possible enumeration values. The array is | |
| 23683 | + | terminated by a struct with all members being 0. GObject keeps a | |
| 23684 | + | reference to the data, so it cannot be stack-allocated.</doc> | |
| 23685 | + | <array c:type="const GEnumValue*"> | |
| 23686 | + | <type name="EnumValue" c:type="GEnumValue"/> | |
| 23687 | + | </array> | |
| 21021 | 23688 | </parameter> | |
| 21022 | 23689 | </parameters> | |
| 21023 | 23690 | </function> | |
| @@ -21025,80 +23692,49 @@ definition than to write one yourself using g_enum_register_static().</doc> | |||
| 21025 | 23692 | c:identifier="g_enum_to_string" | |
| 21026 | 23693 | version="2.54"> | |
| 21027 | 23694 | <doc xml:space="preserve" | |
| 21028 | - | filename="gobject-2.0.c" | |
| 21029 | - | line="2565">Pretty-prints @value in the form of the enum’s name. | |
| 23695 | + | filename="gobject/genums.c" | |
| 23696 | + | line="537">Pretty-prints @value in the form of the enum’s name. | |
| 21030 | 23697 | ||
| 21031 | 23698 | This is intended to be used for debugging purposes. The format of the output | |
| 21032 | 23699 | may change in the future.</doc> | |
| 21033 | - | <source-position filename="genums.h" line="237"/> | |
| 23700 | + | <source-position filename="gobject/genums.h" line="239"/> | |
| 21034 | 23701 | <return-value transfer-ownership="full"> | |
| 21035 | 23702 | <doc xml:space="preserve" | |
| 21036 | - | filename="gobject-2.0.c" | |
| 21037 | - | line="2575">a newly-allocated text string</doc> | |
| 23703 | + | filename="gobject/genums.c" | |
| 23704 | + | line="547">a newly-allocated text string</doc> | |
| 21038 | 23705 | <type name="utf8" c:type="gchar*"/> | |
| 21039 | 23706 | </return-value> | |
| 21040 | 23707 | <parameters> | |
| 21041 | 23708 | <parameter name="g_enum_type" transfer-ownership="none"> | |
| 21042 | 23709 | <doc xml:space="preserve" | |
| 21043 | - | filename="gobject-2.0.c" | |
| 21044 | - | line="2567">the type identifier of a #GEnumClass type</doc> | |
| 23710 | + | filename="gobject/genums.c" | |
| 23711 | + | line="539">the type identifier of a #GEnumClass type</doc> | |
| 21045 | 23712 | <type name="GType" c:type="GType"/> | |
| 21046 | 23713 | </parameter> | |
| 21047 | 23714 | <parameter name="value" transfer-ownership="none"> | |
| 21048 | 23715 | <doc xml:space="preserve" | |
| 21049 | - | filename="gobject-2.0.c" | |
| 21050 | - | line="2568">the value</doc> | |
| 23716 | + | filename="gobject/genums.c" | |
| 23717 | + | line="540">the value</doc> | |
| 21051 | 23718 | <type name="gint" c:type="gint"/> | |
| 21052 | 23719 | </parameter> | |
| 21053 | 23720 | </parameters> | |
| 21054 | 23721 | </function> | |
| 21055 | - | <docsection name="enumerations_flags"> | |
| 21056 | - | <doc xml:space="preserve" | |
| 21057 | - | filename="gobject-2.0.c" | |
| 21058 | - | line="187">The GLib type system provides fundamental types for enumeration and | |
| 21059 | - | flags types. (Flags types are like enumerations, but allow their | |
| 21060 | - | values to be combined by bitwise or). A registered enumeration or | |
| 21061 | - | flags type associates a name and a nickname with each allowed | |
| 21062 | - | value, and the methods g_enum_get_value_by_name(), | |
| 21063 | - | g_enum_get_value_by_nick(), g_flags_get_value_by_name() and | |
| 21064 | - | g_flags_get_value_by_nick() can look up values by their name or | |
| 21065 | - | nickname. When an enumeration or flags type is registered with the | |
| 21066 | - | GLib type system, it can be used as value type for object | |
| 21067 | - | properties, using g_param_spec_enum() or g_param_spec_flags(). | |
| 21068 | - | ||
| 21069 | - | GObject ships with a utility called [glib-mkenums][glib-mkenums], | |
| 21070 | - | that can construct suitable type registration functions from C enumeration | |
| 21071 | - | definitions. | |
| 21072 | - | ||
| 21073 | - | Example of how to get a string representation of an enum value: | |
| 21074 | - | |[<!-- language="C" --> | |
| 21075 | - | GEnumClass *enum_class; | |
| 21076 | - | GEnumValue *enum_value; | |
| 21077 | - | ||
| 21078 | - | enum_class = g_type_class_ref (MAMAN_TYPE_MY_ENUM); | |
| 21079 | - | enum_value = g_enum_get_value (enum_class, MAMAN_MY_ENUM_FOO); | |
| 21080 | - | ||
| 21081 | - | g_print ("Name: %s\n", enum_value->value_name); | |
| 21082 | - | ||
| 21083 | - | g_type_class_unref (enum_class); | |
| 21084 | - | ]|</doc> | |
| 21085 | - | </docsection> | |
| 21086 | 23722 | <function name="flags_complete_type_info" | |
| 21087 | 23723 | c:identifier="g_flags_complete_type_info"> | |
| 21088 | 23724 | <doc xml:space="preserve" | |
| 21089 | - | filename="gobject-2.0.c" | |
| 21090 | - | line="2580">This function is meant to be called from the complete_type_info() | |
| 23725 | + | filename="gobject/genums.c" | |
| 23726 | + | line="277">This function is meant to be called from the complete_type_info() | |
| 21091 | 23727 | function of a #GTypePlugin implementation, see the example for | |
| 21092 | 23728 | g_enum_complete_type_info() above.</doc> | |
| 21093 | - | <source-position filename="genums.h" line="273"/> | |
| 23729 | + | <source-position filename="gobject/genums.h" line="275"/> | |
| 21094 | 23730 | <return-value transfer-ownership="none"> | |
| 21095 | 23731 | <type name="none" c:type="void"/> | |
| 21096 | 23732 | </return-value> | |
| 21097 | 23733 | <parameters> | |
| 21098 | 23734 | <parameter name="g_flags_type" transfer-ownership="none"> | |
| 21099 | 23735 | <doc xml:space="preserve" | |
| 21100 | - | filename="gobject-2.0.c" | |
| 21101 | - | line="2582">the type identifier of the type being completed</doc> | |
| 23736 | + | filename="gobject/genums.c" | |
| 23737 | + | line="279">the type identifier of the type being completed</doc> | |
| 21102 | 23738 | <type name="GType" c:type="GType"/> | |
| 21103 | 23739 | </parameter> | |
| 21104 | 23740 | <parameter name="info" | |
| @@ -21106,14 +23742,14 @@ g_enum_complete_type_info() above.</doc> | |||
| 21106 | 23742 | caller-allocates="0" | |
| 21107 | 23743 | transfer-ownership="full"> | |
| 21108 | 23744 | <doc xml:space="preserve" | |
| 21109 | - | filename="gobject-2.0.c" | |
| 21110 | - | line="2583">the #GTypeInfo struct to be filled in</doc> | |
| 23745 | + | filename="gobject/genums.c" | |
| 23746 | + | line="280">the #GTypeInfo struct to be filled in</doc> | |
| 21111 | 23747 | <type name="TypeInfo" c:type="GTypeInfo*"/> | |
| 21112 | 23748 | </parameter> | |
| 21113 | 23749 | <parameter name="const_values" transfer-ownership="none"> | |
| 21114 | 23750 | <doc xml:space="preserve" | |
| 21115 | - | filename="gobject-2.0.c" | |
| 21116 | - | line="2584">An array of #GFlagsValue structs for the possible | |
| 23751 | + | filename="gobject/genums.c" | |
| 23752 | + | line="281">An array of #GFlagsValue structs for the possible | |
| 21117 | 23753 | enumeration values. The array is terminated by a struct with all | |
| 21118 | 23754 | members being 0.</doc> | |
| 21119 | 23755 | <type name="FlagsValue" c:type="const GFlagsValue*"/> | |
| @@ -21123,27 +23759,27 @@ g_enum_complete_type_info() above.</doc> | |||
| 21123 | 23759 | <function name="flags_get_first_value" | |
| 21124 | 23760 | c:identifier="g_flags_get_first_value"> | |
| 21125 | 23761 | <doc xml:space="preserve" | |
| 21126 | - | filename="gobject-2.0.c" | |
| 21127 | - | line="2594">Returns the first #GFlagsValue which is set in @value.</doc> | |
| 21128 | - | <source-position filename="genums.h" line="228"/> | |
| 23762 | + | filename="gobject/genums.c" | |
| 23763 | + | line="500">Returns the first #GFlagsValue which is set in @value.</doc> | |
| 23764 | + | <source-position filename="gobject/genums.h" line="230"/> | |
| 21129 | 23765 | <return-value transfer-ownership="none" nullable="1"> | |
| 21130 | 23766 | <doc xml:space="preserve" | |
| 21131 | - | filename="gobject-2.0.c" | |
| 21132 | - | line="2601">the first #GFlagsValue which is set in | |
| 23767 | + | filename="gobject/genums.c" | |
| 23768 | + | line="507">the first #GFlagsValue which is set in | |
| 21133 | 23769 | @value, or %NULL if none is set</doc> | |
| 21134 | 23770 | <type name="FlagsValue" c:type="GFlagsValue*"/> | |
| 21135 | 23771 | </return-value> | |
| 21136 | 23772 | <parameters> | |
| 21137 | 23773 | <parameter name="flags_class" transfer-ownership="none"> | |
| 21138 | 23774 | <doc xml:space="preserve" | |
| 21139 | - | filename="gobject-2.0.c" | |
| 21140 | - | line="2596">a #GFlagsClass</doc> | |
| 23775 | + | filename="gobject/genums.c" | |
| 23776 | + | line="502">a #GFlagsClass</doc> | |
| 21141 | 23777 | <type name="FlagsClass" c:type="GFlagsClass*"/> | |
| 21142 | 23778 | </parameter> | |
| 21143 | 23779 | <parameter name="value" transfer-ownership="none"> | |
| 21144 | 23780 | <doc xml:space="preserve" | |
| 21145 | - | filename="gobject-2.0.c" | |
| 21146 | - | line="2597">the value</doc> | |
| 23781 | + | filename="gobject/genums.c" | |
| 23782 | + | line="503">the value</doc> | |
| 21147 | 23783 | <type name="guint" c:type="guint"/> | |
| 21148 | 23784 | </parameter> | |
| 21149 | 23785 | </parameters> | |
| @@ -21151,27 +23787,27 @@ g_enum_complete_type_info() above.</doc> | |||
| 21151 | 23787 | <function name="flags_get_value_by_name" | |
| 21152 | 23788 | c:identifier="g_flags_get_value_by_name"> | |
| 21153 | 23789 | <doc xml:space="preserve" | |
| 21154 | - | filename="gobject-2.0.c" | |
| 21155 | - | line="2606">Looks up a #GFlagsValue by name.</doc> | |
| 21156 | - | <source-position filename="genums.h" line="231"/> | |
| 23790 | + | filename="gobject/genums.c" | |
| 23791 | + | line="384">Looks up a #GFlagsValue by name.</doc> | |
| 23792 | + | <source-position filename="gobject/genums.h" line="233"/> | |
| 21157 | 23793 | <return-value transfer-ownership="none" nullable="1"> | |
| 21158 | 23794 | <doc xml:space="preserve" | |
| 21159 | - | filename="gobject-2.0.c" | |
| 21160 | - | line="2613">the #GFlagsValue with name @name, | |
| 23795 | + | filename="gobject/genums.c" | |
| 23796 | + | line="391">the #GFlagsValue with name @name, | |
| 21161 | 23797 | or %NULL if there is no flag with that name</doc> | |
| 21162 | 23798 | <type name="FlagsValue" c:type="GFlagsValue*"/> | |
| 21163 | 23799 | </return-value> | |
| 21164 | 23800 | <parameters> | |
| 21165 | 23801 | <parameter name="flags_class" transfer-ownership="none"> | |
| 21166 | 23802 | <doc xml:space="preserve" | |
| 21167 | - | filename="gobject-2.0.c" | |
| 21168 | - | line="2608">a #GFlagsClass</doc> | |
| 23803 | + | filename="gobject/genums.c" | |
| 23804 | + | line="386">a #GFlagsClass</doc> | |
| 21169 | 23805 | <type name="FlagsClass" c:type="GFlagsClass*"/> | |
| 21170 | 23806 | </parameter> | |
| 21171 | 23807 | <parameter name="name" transfer-ownership="none"> | |
| 21172 | 23808 | <doc xml:space="preserve" | |
| 21173 | - | filename="gobject-2.0.c" | |
| 21174 | - | line="2609">the name to look up</doc> | |
| 23809 | + | filename="gobject/genums.c" | |
| 23810 | + | line="387">the name to look up</doc> | |
| 21175 | 23811 | <type name="utf8" c:type="const gchar*"/> | |
| 21176 | 23812 | </parameter> | |
| 21177 | 23813 | </parameters> | |
| @@ -21179,27 +23815,27 @@ g_enum_complete_type_info() above.</doc> | |||
| 21179 | 23815 | <function name="flags_get_value_by_nick" | |
| 21180 | 23816 | c:identifier="g_flags_get_value_by_nick"> | |
| 21181 | 23817 | <doc xml:space="preserve" | |
| 21182 | - | filename="gobject-2.0.c" | |
| 21183 | - | line="2618">Looks up a #GFlagsValue by nickname.</doc> | |
| 21184 | - | <source-position filename="genums.h" line="234"/> | |
| 23818 | + | filename="gobject/genums.c" | |
| 23819 | + | line="443">Looks up a #GFlagsValue by nickname.</doc> | |
| 23820 | + | <source-position filename="gobject/genums.h" line="236"/> | |
| 21185 | 23821 | <return-value transfer-ownership="none" nullable="1"> | |
| 21186 | 23822 | <doc xml:space="preserve" | |
| 21187 | - | filename="gobject-2.0.c" | |
| 21188 | - | line="2625">the #GFlagsValue with nickname @nick, | |
| 23823 | + | filename="gobject/genums.c" | |
| 23824 | + | line="450">the #GFlagsValue with nickname @nick, | |
| 21189 | 23825 | or %NULL if there is no flag with that nickname</doc> | |
| 21190 | 23826 | <type name="FlagsValue" c:type="GFlagsValue*"/> | |
| 21191 | 23827 | </return-value> | |
| 21192 | 23828 | <parameters> | |
| 21193 | 23829 | <parameter name="flags_class" transfer-ownership="none"> | |
| 21194 | 23830 | <doc xml:space="preserve" | |
| 21195 | - | filename="gobject-2.0.c" | |
| 21196 | - | line="2620">a #GFlagsClass</doc> | |
| 23831 | + | filename="gobject/genums.c" | |
| 23832 | + | line="445">a #GFlagsClass</doc> | |
| 21197 | 23833 | <type name="FlagsClass" c:type="GFlagsClass*"/> | |
| 21198 | 23834 | </parameter> | |
| 21199 | 23835 | <parameter name="nick" transfer-ownership="none"> | |
| 21200 | 23836 | <doc xml:space="preserve" | |
| 21201 | - | filename="gobject-2.0.c" | |
| 21202 | - | line="2621">the nickname to look up</doc> | |
| 23837 | + | filename="gobject/genums.c" | |
| 23838 | + | line="446">the nickname to look up</doc> | |
| 21203 | 23839 | <type name="utf8" c:type="const gchar*"/> | |
| 21204 | 23840 | </parameter> | |
| 21205 | 23841 | </parameters> | |
| @@ -21207,33 +23843,36 @@ g_enum_complete_type_info() above.</doc> | |||
| 21207 | 23843 | <function name="flags_register_static" | |
| 21208 | 23844 | c:identifier="g_flags_register_static"> | |
| 21209 | 23845 | <doc xml:space="preserve" | |
| 21210 | - | filename="gobject-2.0.c" | |
| 21211 | - | line="2630">Registers a new static flags type with the name @name. | |
| 23846 | + | filename="gobject/genums.c" | |
| 23847 | + | line="187">Registers a new static flags type with the name @name. | |
| 21212 | 23848 | ||
| 21213 | 23849 | It is normally more convenient to let [glib-mkenums][glib-mkenums] | |
| 21214 | 23850 | generate a my_flags_get_type() function from a usual C enumeration | |
| 21215 | 23851 | definition than to write one yourself using g_flags_register_static().</doc> | |
| 21216 | - | <source-position filename="genums.h" line="263"/> | |
| 23852 | + | <source-position filename="gobject/genums.h" line="265"/> | |
| 21217 | 23853 | <return-value transfer-ownership="none"> | |
| 21218 | 23854 | <doc xml:space="preserve" | |
| 21219 | - | filename="gobject-2.0.c" | |
| 21220 | - | line="2643">The new type identifier.</doc> | |
| 23855 | + | filename="gobject/genums.c" | |
| 23856 | + | line="201">The new type identifier.</doc> | |
| 21221 | 23857 | <type name="GType" c:type="GType"/> | |
| 21222 | 23858 | </return-value> | |
| 21223 | 23859 | <parameters> | |
| 21224 | 23860 | <parameter name="name" transfer-ownership="none"> | |
| 21225 | 23861 | <doc xml:space="preserve" | |
| 21226 | - | filename="gobject-2.0.c" | |
| 21227 | - | line="2632">A nul-terminated string used as the name of the new type.</doc> | |
| 23862 | + | filename="gobject/genums.c" | |
| 23863 | + | line="189">A nul-terminated string used as the name of the new type.</doc> | |
| 21228 | 23864 | <type name="utf8" c:type="const gchar*"/> | |
| 21229 | 23865 | </parameter> | |
| 21230 | 23866 | <parameter name="const_static_values" transfer-ownership="none"> | |
| 21231 | 23867 | <doc xml:space="preserve" | |
| 21232 | - | filename="gobject-2.0.c" | |
| 21233 | - | line="2633">An array of #GFlagsValue structs for the possible | |
| 21234 | - | flags values. The array is terminated by a struct with all members being 0. | |
| 21235 | - | GObject keeps a reference to the data, so it cannot be stack-allocated.</doc> | |
| 21236 | - | <type name="FlagsValue" c:type="const GFlagsValue*"/> | |
| 23868 | + | filename="gobject/genums.c" | |
| 23869 | + | line="190">An array of | |
| 23870 | + | #GFlagsValue structs for the possible flags values. The array is | |
| 23871 | + | terminated by a struct with all members being 0. GObject keeps a | |
| 23872 | + | reference to the data, so it cannot be stack-allocated.</doc> | |
| 23873 | + | <array c:type="const GFlagsValue*"> | |
| 23874 | + | <type name="FlagsValue" c:type="GFlagsValue"/> | |
| 23875 | + | </array> | |
| 21237 | 23876 | </parameter> | |
| 21238 | 23877 | </parameters> | |
| 21239 | 23878 | </function> | |
| @@ -21241,677 +23880,454 @@ definition than to write one yourself using g_flags_register_static().</doc> | |||
| 21241 | 23880 | c:identifier="g_flags_to_string" | |
| 21242 | 23881 | version="2.54"> | |
| 21243 | 23882 | <doc xml:space="preserve" | |
| 21244 | - | filename="gobject-2.0.c" | |
| 21245 | - | line="2647">Pretty-prints @value in the form of the flag names separated by ` | ` and | |
| 23883 | + | filename="gobject/genums.c" | |
| 23884 | + | line="627">Pretty-prints @value in the form of the flag names separated by ` | ` and | |
| 21246 | 23885 | sorted. Any extra bits will be shown at the end as a hexadecimal number. | |
| 21247 | 23886 | ||
| 21248 | 23887 | This is intended to be used for debugging purposes. The format of the output | |
| 21249 | 23888 | may change in the future.</doc> | |
| 21250 | - | <source-position filename="genums.h" line="240"/> | |
| 23889 | + | <source-position filename="gobject/genums.h" line="242"/> | |
| 21251 | 23890 | <return-value transfer-ownership="full"> | |
| 21252 | 23891 | <doc xml:space="preserve" | |
| 21253 | - | filename="gobject-2.0.c" | |
| 21254 | - | line="2658">a newly-allocated text string</doc> | |
| 23892 | + | filename="gobject/genums.c" | |
| 23893 | + | line="638">a newly-allocated text string</doc> | |
| 21255 | 23894 | <type name="utf8" c:type="gchar*"/> | |
| 21256 | 23895 | </return-value> | |
| 21257 | 23896 | <parameters> | |
| 21258 | 23897 | <parameter name="flags_type" transfer-ownership="none"> | |
| 21259 | 23898 | <doc xml:space="preserve" | |
| 21260 | - | filename="gobject-2.0.c" | |
| 21261 | - | line="2649">the type identifier of a #GFlagsClass type</doc> | |
| 23899 | + | filename="gobject/genums.c" | |
| 23900 | + | line="629">the type identifier of a #GFlagsClass type</doc> | |
| 21262 | 23901 | <type name="GType" c:type="GType"/> | |
| 21263 | 23902 | </parameter> | |
| 21264 | 23903 | <parameter name="value" transfer-ownership="none"> | |
| 21265 | 23904 | <doc xml:space="preserve" | |
| 21266 | - | filename="gobject-2.0.c" | |
| 21267 | - | line="2650">the value</doc> | |
| 23905 | + | filename="gobject/genums.c" | |
| 23906 | + | line="630">the value</doc> | |
| 21268 | 23907 | <type name="guint" c:type="guint"/> | |
| 21269 | 23908 | </parameter> | |
| 21270 | 23909 | </parameters> | |
| 21271 | 23910 | </function> | |
| 21272 | - | <docsection name="gboxed"> | |
| 21273 | - | <doc xml:space="preserve" | |
| 21274 | - | filename="gobject-2.0.c" | |
| 21275 | - | line="328">#GBoxed is a generic wrapper mechanism for arbitrary C structures. | |
| 21276 | - | ||
| 21277 | - | The only thing the type system needs to know about the structures is how to | |
| 21278 | - | copy them (a #GBoxedCopyFunc) and how to free them (a #GBoxedFreeFunc); | |
| 21279 | - | beyond that, they are treated as opaque chunks of memory. | |
| 21280 | - | ||
| 21281 | - | Boxed types are useful for simple value-holder structures like rectangles or | |
| 21282 | - | points. They can also be used for wrapping structures defined in non-#GObject | |
| 21283 | - | based libraries. They allow arbitrary structures to be handled in a uniform | |
| 21284 | - | way, allowing uniform copying (or referencing) and freeing (or unreferencing) | |
| 21285 | - | of them, and uniform representation of the type of the contained structure. | |
| 21286 | - | In turn, this allows any type which can be boxed to be set as the data in a | |
| 21287 | - | #GValue, which allows for polymorphic handling of a much wider range of data | |
| 21288 | - | types, and hence usage of such types as #GObject property values. | |
| 21289 | - | ||
| 21290 | - | #GBoxed is designed so that reference counted types can be boxed. Use the | |
| 21291 | - | type’s ‘ref’ function as the #GBoxedCopyFunc, and its ‘unref’ function as the | |
| 21292 | - | #GBoxedFreeFunc. For example, for #GBytes, the #GBoxedCopyFunc is | |
| 21293 | - | g_bytes_ref(), and the #GBoxedFreeFunc is g_bytes_unref().</doc> | |
| 21294 | - | </docsection> | |
| 21295 | - | <docsection name="generic_values"> | |
| 21296 | - | <doc xml:space="preserve" | |
| 21297 | - | filename="gobject-2.0.c" | |
| 21298 | - | line="409">The #GValue structure is basically a variable container that consists | |
| 21299 | - | of a type identifier and a specific value of that type. | |
| 21300 | - | ||
| 21301 | - | The type identifier within a #GValue structure always determines the | |
| 21302 | - | type of the associated value. | |
| 21303 | - | ||
| 21304 | - | To create an undefined #GValue structure, simply create a zero-filled | |
| 21305 | - | #GValue structure. To initialize the #GValue, use the g_value_init() | |
| 21306 | - | function. A #GValue cannot be used until it is initialized. Before | |
| 21307 | - | destruction you must always use g_value_unset() to make sure allocated | |
| 21308 | - | memory is freed. | |
| 21309 | - | ||
| 21310 | - | The basic type operations (such as freeing and copying) are determined | |
| 21311 | - | by the #GTypeValueTable associated with the type ID stored in the #GValue. | |
| 21312 | - | Other #GValue operations (such as converting values between types) are | |
| 21313 | - | provided by this interface. | |
| 21314 | - | ||
| 21315 | - | The code in the example program below demonstrates #GValue's | |
| 21316 | - | features. | |
| 21317 | - | ||
| 21318 | - | |[<!-- language="C" --> | |
| 21319 | - | #include <glib-object.h> | |
| 21320 | - | ||
| 21321 | - | static void | |
| 21322 | - | int2string (const GValue *src_value, | |
| 21323 | - | GValue *dest_value) | |
| 21324 | - | { | |
| 21325 | - | if (g_value_get_int (src_value) == 42) | |
| 21326 | - | g_value_set_static_string (dest_value, "An important number"); | |
| 21327 | - | else | |
| 21328 | - | g_value_set_static_string (dest_value, "What's that?"); | |
| 21329 | - | } | |
| 21330 | - | ||
| 21331 | - | int | |
| 21332 | - | main (int argc, | |
| 21333 | - | char *argv[]) | |
| 21334 | - | { | |
| 21335 | - | // GValues must be initialized | |
| 21336 | - | GValue a = G_VALUE_INIT; | |
| 21337 | - | GValue b = G_VALUE_INIT; | |
| 21338 | - | const gchar *message; | |
| 21339 | - | ||
| 21340 | - | // The GValue starts empty | |
| 21341 | - | g_assert (!G_VALUE_HOLDS_STRING (&a)); | |
| 21342 | - | ||
| 21343 | - | // Put a string in it | |
| 21344 | - | g_value_init (&a, G_TYPE_STRING); | |
| 21345 | - | g_assert (G_VALUE_HOLDS_STRING (&a)); | |
| 21346 | - | g_value_set_static_string (&a, "Hello, world!"); | |
| 21347 | - | g_printf ("%s\n", g_value_get_string (&a)); | |
| 21348 | - | ||
| 21349 | - | // Reset it to its pristine state | |
| 21350 | - | g_value_unset (&a); | |
| 21351 | - | ||
| 21352 | - | // It can then be reused for another type | |
| 21353 | - | g_value_init (&a, G_TYPE_INT); | |
| 21354 | - | g_value_set_int (&a, 42); | |
| 21355 | - | ||
| 21356 | - | // Attempt to transform it into a GValue of type STRING | |
| 21357 | - | g_value_init (&b, G_TYPE_STRING); | |
| 21358 | - | ||
| 21359 | - | // An INT is transformable to a STRING | |
| 21360 | - | g_assert (g_value_type_transformable (G_TYPE_INT, G_TYPE_STRING)); | |
| 21361 | - | ||
| 21362 | - | g_value_transform (&a, &b); | |
| 21363 | - | g_printf ("%s\n", g_value_get_string (&b)); | |
| 21364 | - | ||
| 21365 | - | // Attempt to transform it again using a custom transform function | |
| 21366 | - | g_value_register_transform_func (G_TYPE_INT, G_TYPE_STRING, int2string); | |
| 21367 | - | g_value_transform (&a, &b); | |
| 21368 | - | g_printf ("%s\n", g_value_get_string (&b)); | |
| 21369 | - | return 0; | |
| 21370 | - | } | |
| 21371 | - | ]| | |
| 21372 | - | ||
| 21373 | - | See also [gobject-Standard-Parameter-and-Value-Types] for more information on | |
| 21374 | - | validation of #GValue. | |
| 21375 | - | ||
| 21376 | - | For letting a #GValue own (and memory manage) arbitrary types or pointers, | |
| 21377 | - | they need to become a [boxed type][gboxed]. The example below shows how | |
| 21378 | - | the pointer `mystruct` of type `MyStruct` is used as a [boxed type][gboxed]. | |
| 21379 | - | ||
| 21380 | - | |[<!-- language="C" --> | |
| 21381 | - | typedef struct { ... } MyStruct; | |
| 21382 | - | G_DEFINE_BOXED_TYPE (MyStruct, my_struct, my_struct_copy, my_struct_free) | |
| 21383 | - | ||
| 21384 | - | // These two lines normally go in a public header. By GObject convention, | |
| 21385 | - | // the naming scheme is NAMESPACE_TYPE_NAME: | |
| 21386 | - | #define MY_TYPE_STRUCT (my_struct_get_type ()) | |
| 21387 | - | GType my_struct_get_type (void); | |
| 21388 | - | ||
| 21389 | - | void | |
| 21390 | - | foo () | |
| 21391 | - | { | |
| 21392 | - | GValue *value = g_new0 (GValue, 1); | |
| 21393 | - | g_value_init (value, MY_TYPE_STRUCT); | |
| 21394 | - | g_value_set_boxed (value, mystruct); | |
| 21395 | - | // [... your code ....] | |
| 21396 | - | g_value_unset (value); | |
| 21397 | - | g_value_free (value); | |
| 21398 | - | } | |
| 21399 | - | ]|</doc> | |
| 21400 | - | </docsection> | |
| 21401 | - | <docsection name="gtype"> | |
| 21402 | - | <doc xml:space="preserve" | |
| 21403 | - | filename="gobject-2.0.c" | |
| 21404 | - | line="577">The GType API is the foundation of the GObject system. It provides the | |
| 21405 | - | facilities for registering and managing all fundamental data types, | |
| 21406 | - | user-defined object and interface types. | |
| 21407 | - | ||
| 21408 | - | For type creation and registration purposes, all types fall into one of | |
| 21409 | - | two categories: static or dynamic. Static types are never loaded or | |
| 21410 | - | unloaded at run-time as dynamic types may be. Static types are created | |
| 21411 | - | with g_type_register_static() that gets type specific information passed | |
| 21412 | - | in via a #GTypeInfo structure. | |
| 21413 | - | ||
| 21414 | - | Dynamic types are created with g_type_register_dynamic() which takes a | |
| 21415 | - | #GTypePlugin structure instead. The remaining type information (the | |
| 21416 | - | #GTypeInfo structure) is retrieved during runtime through #GTypePlugin | |
| 21417 | - | and the g_type_plugin_*() API. | |
| 21418 | - | ||
| 21419 | - | These registration functions are usually called only once from a | |
| 21420 | - | function whose only purpose is to return the type identifier for a | |
| 21421 | - | specific class. Once the type (or class or interface) is registered, | |
| 21422 | - | it may be instantiated, inherited, or implemented depending on exactly | |
| 21423 | - | what sort of type it is. | |
| 21424 | - | ||
| 21425 | - | There is also a third registration function for registering fundamental | |
| 21426 | - | types called g_type_register_fundamental() which requires both a #GTypeInfo | |
| 21427 | - | structure and a #GTypeFundamentalInfo structure but it is seldom used | |
| 21428 | - | since most fundamental types are predefined rather than user-defined. | |
| 21429 | - | ||
| 21430 | - | Type instance and class structs are limited to a total of 64 KiB, | |
| 21431 | - | including all parent types. Similarly, type instances' private data | |
| 21432 | - | (as created by G_ADD_PRIVATE()) are limited to a total of | |
| 21433 | - | 64 KiB. If a type instance needs a large static buffer, allocate it | |
| 21434 | - | separately (typically by using #GArray or #GPtrArray) and put a pointer | |
| 21435 | - | to the buffer in the structure. | |
| 21436 | - | ||
| 21437 | - | As mentioned in the [GType conventions][gtype-conventions], type names must | |
| 21438 | - | be at least three characters long. There is no upper length limit. The first | |
| 21439 | - | character must be a letter (a–z or A–Z) or an underscore (‘_’). Subsequent | |
| 21440 | - | characters can be letters, numbers or any of ‘-_+’.</doc> | |
| 21441 | - | </docsection> | |
| 21442 | 23911 | <function name="gtype_get_type" c:identifier="g_gtype_get_type"> | |
| 21443 | - | <source-position filename="gvaluetypes.h" line="270"/> | |
| 23912 | + | <source-position filename="gobject/gvaluetypes.h" line="274"/> | |
| 21444 | 23913 | <return-value transfer-ownership="none"> | |
| 21445 | 23914 | <type name="GType" c:type="GType"/> | |
| 21446 | 23915 | </return-value> | |
| 21447 | 23916 | </function> | |
| 21448 | - | <docsection name="objects"> | |
| 21449 | - | <doc xml:space="preserve" | |
| 21450 | - | filename="gobject-2.0.c" | |
| 21451 | - | line="719">GObject is the fundamental type providing the common attributes and | |
| 21452 | - | methods for all object types in GTK+, Pango and other libraries | |
| 21453 | - | based on GObject. The GObject class provides methods for object | |
| 21454 | - | construction and destruction, property access methods, and signal | |
| 21455 | - | support. Signals are described in detail [here][gobject-Signals]. | |
| 21456 | - | ||
| 21457 | - | For a tutorial on implementing a new GObject class, see [How to define and | |
| 21458 | - | implement a new GObject][howto-gobject]. For a list of naming conventions for | |
| 21459 | - | GObjects and their methods, see the [GType conventions][gtype-conventions]. | |
| 21460 | - | For the high-level concepts behind GObject, read [Instantiatable classed types: | |
| 21461 | - | Objects][gtype-instantiatable-classed]. | |
| 21462 | - | ||
| 21463 | - | ## Floating references # {#floating-ref} | |
| 21464 | - | ||
| 21465 | - | **Note**: Floating references are a C convenience API and should not be | |
| 21466 | - | used in modern GObject code. Language bindings in particular find the | |
| 21467 | - | concept highly problematic, as floating references are not identifiable | |
| 21468 | - | through annotations, and neither are deviations from the floating reference | |
| 21469 | - | behavior, like types that inherit from #GInitiallyUnowned and still return | |
| 21470 | - | a full reference from g_object_new(). | |
| 21471 | - | ||
| 21472 | - | GInitiallyUnowned is derived from GObject. The only difference between | |
| 21473 | - | the two is that the initial reference of a GInitiallyUnowned is flagged | |
| 21474 | - | as a "floating" reference. This means that it is not specifically | |
| 21475 | - | claimed to be "owned" by any code portion. The main motivation for | |
| 21476 | - | providing floating references is C convenience. In particular, it | |
| 21477 | - | allows code to be written as: | |
| 21478 | - | ||
| 21479 | - | |[<!-- language="C" --> | |
| 21480 | - | container = create_container (); | |
| 21481 | - | container_add_child (container, create_child()); | |
| 21482 | - | ]| | |
| 21483 | - | ||
| 21484 | - | If container_add_child() calls g_object_ref_sink() on the passed-in child, | |
| 21485 | - | no reference of the newly created child is leaked. Without floating | |
| 21486 | - | references, container_add_child() can only g_object_ref() the new child, | |
| 21487 | - | so to implement this code without reference leaks, it would have to be | |
| 21488 | - | written as: | |
| 21489 | - | ||
| 21490 | - | |[<!-- language="C" --> | |
| 21491 | - | Child *child; | |
| 21492 | - | container = create_container (); | |
| 21493 | - | child = create_child (); | |
| 21494 | - | container_add_child (container, child); | |
| 21495 | - | g_object_unref (child); | |
| 21496 | - | ]| | |
| 21497 | - | ||
| 21498 | - | The floating reference can be converted into an ordinary reference by | |
| 21499 | - | calling g_object_ref_sink(). For already sunken objects (objects that | |
| 21500 | - | don't have a floating reference anymore), g_object_ref_sink() is equivalent | |
| 21501 | - | to g_object_ref() and returns a new reference. | |
| 21502 | - | ||
| 21503 | - | Since floating references are useful almost exclusively for C convenience, | |
| 21504 | - | language bindings that provide automated reference and memory ownership | |
| 21505 | - | maintenance (such as smart pointers or garbage collection) should not | |
| 21506 | - | expose floating references in their API. The best practice for handling | |
| 21507 | - | types that have initially floating references is to immediately sink those | |
| 21508 | - | references after g_object_new() returns, by checking if the #GType | |
| 21509 | - | inherits from #GInitiallyUnowned. For instance: | |
| 21510 | - | ||
| 21511 | - | |[<!-- language="C" --> | |
| 21512 | - | GObject *res = g_object_new_with_properties (gtype, | |
| 21513 | - | n_props, | |
| 21514 | - | prop_names, | |
| 21515 | - | prop_values); | |
| 21516 | - | ||
| 21517 | - | // or: if (g_type_is_a (gtype, G_TYPE_INITIALLY_UNOWNED)) | |
| 21518 | - | if (G_IS_INITIALLY_UNOWNED (res)) | |
| 21519 | - | g_object_ref_sink (res); | |
| 21520 | - | ||
| 21521 | - | return res; | |
| 21522 | - | ]| | |
| 21523 | - | ||
| 21524 | - | Some object implementations may need to save an objects floating state | |
| 21525 | - | across certain code portions (an example is #GtkMenu), to achieve this, | |
| 21526 | - | the following sequence can be used: | |
| 21527 | - | ||
| 21528 | - | |[<!-- language="C" --> | |
| 21529 | - | // save floating state | |
| 21530 | - | gboolean was_floating = g_object_is_floating (object); | |
| 21531 | - | g_object_ref_sink (object); | |
| 21532 | - | // protected code portion | |
| 21533 | - | ||
| 21534 | - | ... | |
| 21535 | - | ||
| 21536 | - | // restore floating state | |
| 21537 | - | if (was_floating) | |
| 21538 | - | g_object_force_floating (object); | |
| 21539 | - | else | |
| 21540 | - | g_object_unref (object); // release previously acquired reference | |
| 21541 | - | ]|</doc> | |
| 21542 | - | </docsection> | |
| 21543 | 23917 | <function name="param_spec_boolean" c:identifier="g_param_spec_boolean"> | |
| 21544 | 23918 | <doc xml:space="preserve" | |
| 21545 | - | filename="gobject-2.0.c" | |
| 21546 | - | line="3925">Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN | |
| 23919 | + | filename="gobject/gparamspecs.c" | |
| 23920 | + | line="1912">Creates a new #GParamSpecBoolean instance specifying a %G_TYPE_BOOLEAN | |
| 21547 | 23921 | property. In many cases, it may be more appropriate to use an enum with | |
| 21548 | 23922 | g_param_spec_enum(), both to improve code clarity by using explicitly named | |
| 21549 | 23923 | values, and to allow for more values to be added in future without breaking | |
| 21550 | 23924 | API. | |
| 21551 | 23925 | ||
| 21552 | 23926 | See g_param_spec_internal() for details on property names.</doc> | |
| 21553 | - | <source-position filename="gparamspecs.h" line="1004"/> | |
| 23927 | + | <source-position filename="gobject/gparamspecs.h" line="1006"/> | |
| 21554 | 23928 | <return-value transfer-ownership="full"> | |
| 21555 | 23929 | <doc xml:space="preserve" | |
| 21556 | - | filename="gobject-2.0.c" | |
| 21557 | - | line="3941">a newly created parameter specification</doc> | |
| 23930 | + | filename="gobject/gparamspecs.c" | |
| 23931 | + | line="1928">a newly created parameter specification</doc> | |
| 21558 | 23932 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 21559 | 23933 | </return-value> | |
| 21560 | 23934 | <parameters> | |
| 21561 | 23935 | <parameter name="name" transfer-ownership="none"> | |
| 21562 | 23936 | <doc xml:space="preserve" | |
| 21563 | - | filename="gobject-2.0.c" | |
| 21564 | - | line="3927">canonical name of the property specified</doc> | |
| 23937 | + | filename="gobject/gparamspecs.c" | |
| 23938 | + | line="1914">canonical name of the property specified</doc> | |
| 21565 | 23939 | <type name="utf8" c:type="const gchar*"/> | |
| 21566 | 23940 | </parameter> | |
| 21567 | - | <parameter name="nick" transfer-ownership="none"> | |
| 23941 | + | <parameter name="nick" | |
| 23942 | + | transfer-ownership="none" | |
| 23943 | + | nullable="1" | |
| 23944 | + | allow-none="1"> | |
| 21568 | 23945 | <doc xml:space="preserve" | |
| 21569 | - | filename="gobject-2.0.c" | |
| 21570 | - | line="3928">nick name for the property specified</doc> | |
| 23946 | + | filename="gobject/gparamspecs.c" | |
| 23947 | + | line="1915">nick name for the property specified</doc> | |
| 21571 | 23948 | <type name="utf8" c:type="const gchar*"/> | |
| 21572 | 23949 | </parameter> | |
| 21573 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 23950 | + | <parameter name="blurb" | |
| 23951 | + | transfer-ownership="none" | |
| 23952 | + | nullable="1" | |
| 23953 | + | allow-none="1"> | |
| 21574 | 23954 | <doc xml:space="preserve" | |
| 21575 | - | filename="gobject-2.0.c" | |
| 21576 | - | line="3929">description of the property specified</doc> | |
| 23955 | + | filename="gobject/gparamspecs.c" | |
| 23956 | + | line="1916">description of the property specified</doc> | |
| 21577 | 23957 | <type name="utf8" c:type="const gchar*"/> | |
| 21578 | 23958 | </parameter> | |
| 21579 | 23959 | <parameter name="default_value" transfer-ownership="none"> | |
| 21580 | 23960 | <doc xml:space="preserve" | |
| 21581 | - | filename="gobject-2.0.c" | |
| 21582 | - | line="3930">default value for the property specified</doc> | |
| 23961 | + | filename="gobject/gparamspecs.c" | |
| 23962 | + | line="1917">default value for the property specified</doc> | |
| 21583 | 23963 | <type name="gboolean" c:type="gboolean"/> | |
| 21584 | 23964 | </parameter> | |
| 21585 | 23965 | <parameter name="flags" transfer-ownership="none"> | |
| 21586 | 23966 | <doc xml:space="preserve" | |
| 21587 | - | filename="gobject-2.0.c" | |
| 21588 | - | line="3931">flags for the property specified</doc> | |
| 23967 | + | filename="gobject/gparamspecs.c" | |
| 23968 | + | line="1918">flags for the property specified</doc> | |
| 21589 | 23969 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 21590 | 23970 | </parameter> | |
| 21591 | 23971 | </parameters> | |
| 21592 | 23972 | </function> | |
| 21593 | 23973 | <function name="param_spec_boxed" c:identifier="g_param_spec_boxed"> | |
| 21594 | 23974 | <doc xml:space="preserve" | |
| 21595 | - | filename="gobject-2.0.c" | |
| 21596 | - | line="3945">Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED | |
| 23975 | + | filename="gobject/gparamspecs.c" | |
| 23976 | + | line="2489">Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_BOXED | |
| 21597 | 23977 | derived property. | |
| 21598 | 23978 | ||
| 21599 | 23979 | See g_param_spec_internal() for details on property names.</doc> | |
| 21600 | - | <source-position filename="gparamspecs.h" line="1106"/> | |
| 23980 | + | <source-position filename="gobject/gparamspecs.h" line="1108"/> | |
| 21601 | 23981 | <return-value transfer-ownership="full"> | |
| 21602 | 23982 | <doc xml:space="preserve" | |
| 21603 | - | filename="gobject-2.0.c" | |
| 21604 | - | line="3958">a newly created parameter specification</doc> | |
| 23983 | + | filename="gobject/gparamspecs.c" | |
| 23984 | + | line="2502">a newly created parameter specification</doc> | |
| 21605 | 23985 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 21606 | 23986 | </return-value> | |
| 21607 | 23987 | <parameters> | |
| 21608 | 23988 | <parameter name="name" transfer-ownership="none"> | |
| 21609 | 23989 | <doc xml:space="preserve" | |
| 21610 | - | filename="gobject-2.0.c" | |
| 21611 | - | line="3947">canonical name of the property specified</doc> | |
| 23990 | + | filename="gobject/gparamspecs.c" | |
| 23991 | + | line="2491">canonical name of the property specified</doc> | |
| 21612 | 23992 | <type name="utf8" c:type="const gchar*"/> | |
| 21613 | 23993 | </parameter> | |
| 21614 | - | <parameter name="nick" transfer-ownership="none"> | |
| 23994 | + | <parameter name="nick" | |
| 23995 | + | transfer-ownership="none" | |
| 23996 | + | nullable="1" | |
| 23997 | + | allow-none="1"> | |
| 21615 | 23998 | <doc xml:space="preserve" | |
| 21616 | - | filename="gobject-2.0.c" | |
| 21617 | - | line="3948">nick name for the property specified</doc> | |
| 23999 | + | filename="gobject/gparamspecs.c" | |
| 24000 | + | line="2492">nick name for the property specified</doc> | |
| 21618 | 24001 | <type name="utf8" c:type="const gchar*"/> | |
| 21619 | 24002 | </parameter> | |
| 21620 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24003 | + | <parameter name="blurb" | |
| 24004 | + | transfer-ownership="none" | |
| 24005 | + | nullable="1" | |
| 24006 | + | allow-none="1"> | |
| 21621 | 24007 | <doc xml:space="preserve" | |
| 21622 | - | filename="gobject-2.0.c" | |
| 21623 | - | line="3949">description of the property specified</doc> | |
| 24008 | + | filename="gobject/gparamspecs.c" | |
| 24009 | + | line="2493">description of the property specified</doc> | |
| 21624 | 24010 | <type name="utf8" c:type="const gchar*"/> | |
| 21625 | 24011 | </parameter> | |
| 21626 | 24012 | <parameter name="boxed_type" transfer-ownership="none"> | |
| 21627 | 24013 | <doc xml:space="preserve" | |
| 21628 | - | filename="gobject-2.0.c" | |
| 21629 | - | line="3950">%G_TYPE_BOXED derived type of this property</doc> | |
| 24014 | + | filename="gobject/gparamspecs.c" | |
| 24015 | + | line="2494">%G_TYPE_BOXED derived type of this property</doc> | |
| 21630 | 24016 | <type name="GType" c:type="GType"/> | |
| 21631 | 24017 | </parameter> | |
| 21632 | 24018 | <parameter name="flags" transfer-ownership="none"> | |
| 21633 | 24019 | <doc xml:space="preserve" | |
| 21634 | - | filename="gobject-2.0.c" | |
| 21635 | - | line="3951">flags for the property specified</doc> | |
| 24020 | + | filename="gobject/gparamspecs.c" | |
| 24021 | + | line="2495">flags for the property specified</doc> | |
| 21636 | 24022 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 21637 | 24023 | </parameter> | |
| 21638 | 24024 | </parameters> | |
| 21639 | 24025 | </function> | |
| 21640 | 24026 | <function name="param_spec_char" c:identifier="g_param_spec_char"> | |
| 21641 | 24027 | <doc xml:space="preserve" | |
| 21642 | - | filename="gobject-2.0.c" | |
| 21643 | - | line="3962">Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property.</doc> | |
| 21644 | - | <source-position filename="gparamspecs.h" line="988"/> | |
| 24028 | + | filename="gobject/gparamspecs.c" | |
| 24029 | + | line="1832">Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property.</doc> | |
| 24030 | + | <source-position filename="gobject/gparamspecs.h" line="990"/> | |
| 21645 | 24031 | <return-value transfer-ownership="full"> | |
| 21646 | 24032 | <doc xml:space="preserve" | |
| 21647 | - | filename="gobject-2.0.c" | |
| 21648 | - | line="3974">a newly created parameter specification</doc> | |
| 24033 | + | filename="gobject/gparamspecs.c" | |
| 24034 | + | line="1844">a newly created parameter specification</doc> | |
| 21649 | 24035 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 21650 | 24036 | </return-value> | |
| 21651 | 24037 | <parameters> | |
| 21652 | 24038 | <parameter name="name" transfer-ownership="none"> | |
| 21653 | 24039 | <doc xml:space="preserve" | |
| 21654 | - | filename="gobject-2.0.c" | |
| 21655 | - | line="3964">canonical name of the property specified</doc> | |
| 24040 | + | filename="gobject/gparamspecs.c" | |
| 24041 | + | line="1834">canonical name of the property specified</doc> | |
| 21656 | 24042 | <type name="utf8" c:type="const gchar*"/> | |
| 21657 | 24043 | </parameter> | |
| 21658 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24044 | + | <parameter name="nick" | |
| 24045 | + | transfer-ownership="none" | |
| 24046 | + | nullable="1" | |
| 24047 | + | allow-none="1"> | |
| 21659 | 24048 | <doc xml:space="preserve" | |
| 21660 | - | filename="gobject-2.0.c" | |
| 21661 | - | line="3965">nick name for the property specified</doc> | |
| 24049 | + | filename="gobject/gparamspecs.c" | |
| 24050 | + | line="1835">nick name for the property specified</doc> | |
| 21662 | 24051 | <type name="utf8" c:type="const gchar*"/> | |
| 21663 | 24052 | </parameter> | |
| 21664 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24053 | + | <parameter name="blurb" | |
| 24054 | + | transfer-ownership="none" | |
| 24055 | + | nullable="1" | |
| 24056 | + | allow-none="1"> | |
| 21665 | 24057 | <doc xml:space="preserve" | |
| 21666 | - | filename="gobject-2.0.c" | |
| 21667 | - | line="3966">description of the property specified</doc> | |
| 24058 | + | filename="gobject/gparamspecs.c" | |
| 24059 | + | line="1836">description of the property specified</doc> | |
| 21668 | 24060 | <type name="utf8" c:type="const gchar*"/> | |
| 21669 | 24061 | </parameter> | |
| 21670 | 24062 | <parameter name="minimum" transfer-ownership="none"> | |
| 21671 | 24063 | <doc xml:space="preserve" | |
| 21672 | - | filename="gobject-2.0.c" | |
| 21673 | - | line="3967">minimum value for the property specified</doc> | |
| 24064 | + | filename="gobject/gparamspecs.c" | |
| 24065 | + | line="1837">minimum value for the property specified</doc> | |
| 21674 | 24066 | <type name="gint8" c:type="gint8"/> | |
| 21675 | 24067 | </parameter> | |
| 21676 | 24068 | <parameter name="maximum" transfer-ownership="none"> | |
| 21677 | 24069 | <doc xml:space="preserve" | |
| 21678 | - | filename="gobject-2.0.c" | |
| 21679 | - | line="3968">maximum value for the property specified</doc> | |
| 24070 | + | filename="gobject/gparamspecs.c" | |
| 24071 | + | line="1838">maximum value for the property specified</doc> | |
| 21680 | 24072 | <type name="gint8" c:type="gint8"/> | |
| 21681 | 24073 | </parameter> | |
| 21682 | 24074 | <parameter name="default_value" transfer-ownership="none"> | |
| 21683 | 24075 | <doc xml:space="preserve" | |
| 21684 | - | filename="gobject-2.0.c" | |
| 21685 | - | line="3969">default value for the property specified</doc> | |
| 24076 | + | filename="gobject/gparamspecs.c" | |
| 24077 | + | line="1839">default value for the property specified</doc> | |
| 21686 | 24078 | <type name="gint8" c:type="gint8"/> | |
| 21687 | 24079 | </parameter> | |
| 21688 | 24080 | <parameter name="flags" transfer-ownership="none"> | |
| 21689 | 24081 | <doc xml:space="preserve" | |
| 21690 | - | filename="gobject-2.0.c" | |
| 21691 | - | line="3970">flags for the property specified</doc> | |
| 24082 | + | filename="gobject/gparamspecs.c" | |
| 24083 | + | line="1840">flags for the property specified</doc> | |
| 21692 | 24084 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 21693 | 24085 | </parameter> | |
| 21694 | 24086 | </parameters> | |
| 21695 | 24087 | </function> | |
| 21696 | 24088 | <function name="param_spec_double" c:identifier="g_param_spec_double"> | |
| 21697 | 24089 | <doc xml:space="preserve" | |
| 21698 | - | filename="gobject-2.0.c" | |
| 21699 | - | line="3978">Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE | |
| 24090 | + | filename="gobject/gparamspecs.c" | |
| 24091 | + | line="2376">Creates a new #GParamSpecDouble instance specifying a %G_TYPE_DOUBLE | |
| 21700 | 24092 | property. | |
| 21701 | 24093 | ||
| 21702 | 24094 | See g_param_spec_internal() for details on property names.</doc> | |
| 21703 | - | <source-position filename="gparamspecs.h" line="1086"/> | |
| 24095 | + | <source-position filename="gobject/gparamspecs.h" line="1088"/> | |
| 21704 | 24096 | <return-value transfer-ownership="full"> | |
| 21705 | 24097 | <doc xml:space="preserve" | |
| 21706 | - | filename="gobject-2.0.c" | |
| 21707 | - | line="3993">a newly created parameter specification</doc> | |
| 24098 | + | filename="gobject/gparamspecs.c" | |
| 24099 | + | line="2391">a newly created parameter specification</doc> | |
| 21708 | 24100 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 21709 | 24101 | </return-value> | |
| 21710 | 24102 | <parameters> | |
| 21711 | 24103 | <parameter name="name" transfer-ownership="none"> | |
| 21712 | 24104 | <doc xml:space="preserve" | |
| 21713 | - | filename="gobject-2.0.c" | |
| 21714 | - | line="3980">canonical name of the property specified</doc> | |
| 24105 | + | filename="gobject/gparamspecs.c" | |
| 24106 | + | line="2378">canonical name of the property specified</doc> | |
| 21715 | 24107 | <type name="utf8" c:type="const gchar*"/> | |
| 21716 | 24108 | </parameter> | |
| 21717 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24109 | + | <parameter name="nick" | |
| 24110 | + | transfer-ownership="none" | |
| 24111 | + | nullable="1" | |
| 24112 | + | allow-none="1"> | |
| 21718 | 24113 | <doc xml:space="preserve" | |
| 21719 | - | filename="gobject-2.0.c" | |
| 21720 | - | line="3981">nick name for the property specified</doc> | |
| 24114 | + | filename="gobject/gparamspecs.c" | |
| 24115 | + | line="2379">nick name for the property specified</doc> | |
| 21721 | 24116 | <type name="utf8" c:type="const gchar*"/> | |
| 21722 | 24117 | </parameter> | |
| 21723 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24118 | + | <parameter name="blurb" | |
| 24119 | + | transfer-ownership="none" | |
| 24120 | + | nullable="1" | |
| 24121 | + | allow-none="1"> | |
| 21724 | 24122 | <doc xml:space="preserve" | |
| 21725 | - | filename="gobject-2.0.c" | |
| 21726 | - | line="3982">description of the property specified</doc> | |
| 24123 | + | filename="gobject/gparamspecs.c" | |
| 24124 | + | line="2380">description of the property specified</doc> | |
| 21727 | 24125 | <type name="utf8" c:type="const gchar*"/> | |
| 21728 | 24126 | </parameter> | |
| 21729 | 24127 | <parameter name="minimum" transfer-ownership="none"> | |
| 21730 | 24128 | <doc xml:space="preserve" | |
| 21731 | - | filename="gobject-2.0.c" | |
| 21732 | - | line="3983">minimum value for the property specified</doc> | |
| 24129 | + | filename="gobject/gparamspecs.c" | |
| 24130 | + | line="2381">minimum value for the property specified</doc> | |
| 21733 | 24131 | <type name="gdouble" c:type="gdouble"/> | |
| 21734 | 24132 | </parameter> | |
| 21735 | 24133 | <parameter name="maximum" transfer-ownership="none"> | |
| 21736 | 24134 | <doc xml:space="preserve" | |
| 21737 | - | filename="gobject-2.0.c" | |
| 21738 | - | line="3984">maximum value for the property specified</doc> | |
| 24135 | + | filename="gobject/gparamspecs.c" | |
| 24136 | + | line="2382">maximum value for the property specified</doc> | |
| 21739 | 24137 | <type name="gdouble" c:type="gdouble"/> | |
| 21740 | 24138 | </parameter> | |
| 21741 | 24139 | <parameter name="default_value" transfer-ownership="none"> | |
| 21742 | 24140 | <doc xml:space="preserve" | |
| 21743 | - | filename="gobject-2.0.c" | |
| 21744 | - | line="3985">default value for the property specified</doc> | |
| 24141 | + | filename="gobject/gparamspecs.c" | |
| 24142 | + | line="2383">default value for the property specified</doc> | |
| 21745 | 24143 | <type name="gdouble" c:type="gdouble"/> | |
| 21746 | 24144 | </parameter> | |
| 21747 | 24145 | <parameter name="flags" transfer-ownership="none"> | |
| 21748 | 24146 | <doc xml:space="preserve" | |
| 21749 | - | filename="gobject-2.0.c" | |
| 21750 | - | line="3986">flags for the property specified</doc> | |
| 24147 | + | filename="gobject/gparamspecs.c" | |
| 24148 | + | line="2384">flags for the property specified</doc> | |
| 21751 | 24149 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 21752 | 24150 | </parameter> | |
| 21753 | 24151 | </parameters> | |
| 21754 | 24152 | </function> | |
| 21755 | 24153 | <function name="param_spec_enum" c:identifier="g_param_spec_enum"> | |
| 21756 | 24154 | <doc xml:space="preserve" | |
| 21757 | - | filename="gobject-2.0.c" | |
| 21758 | - | line="3997">Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM | |
| 24155 | + | filename="gobject/gparamspecs.c" | |
| 24156 | + | line="2242">Creates a new #GParamSpecEnum instance specifying a %G_TYPE_ENUM | |
| 21759 | 24157 | property. | |
| 21760 | 24158 | ||
| 21761 | 24159 | See g_param_spec_internal() for details on property names.</doc> | |
| 21762 | - | <source-position filename="gparamspecs.h" line="1064"/> | |
| 24160 | + | <source-position filename="gobject/gparamspecs.h" line="1066"/> | |
| 21763 | 24161 | <return-value transfer-ownership="full"> | |
| 21764 | 24162 | <doc xml:space="preserve" | |
| 21765 | - | filename="gobject-2.0.c" | |
| 21766 | - | line="4011">a newly created parameter specification</doc> | |
| 24163 | + | filename="gobject/gparamspecs.c" | |
| 24164 | + | line="2256">a newly created parameter specification</doc> | |
| 21767 | 24165 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 21768 | 24166 | </return-value> | |
| 21769 | 24167 | <parameters> | |
| 21770 | 24168 | <parameter name="name" transfer-ownership="none"> | |
| 21771 | 24169 | <doc xml:space="preserve" | |
| 21772 | - | filename="gobject-2.0.c" | |
| 21773 | - | line="3999">canonical name of the property specified</doc> | |
| 24170 | + | filename="gobject/gparamspecs.c" | |
| 24171 | + | line="2244">canonical name of the property specified</doc> | |
| 21774 | 24172 | <type name="utf8" c:type="const gchar*"/> | |
| 21775 | 24173 | </parameter> | |
| 21776 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24174 | + | <parameter name="nick" | |
| 24175 | + | transfer-ownership="none" | |
| 24176 | + | nullable="1" | |
| 24177 | + | allow-none="1"> | |
| 21777 | 24178 | <doc xml:space="preserve" | |
| 21778 | - | filename="gobject-2.0.c" | |
| 21779 | - | line="4000">nick name for the property specified</doc> | |
| 24179 | + | filename="gobject/gparamspecs.c" | |
| 24180 | + | line="2245">nick name for the property specified</doc> | |
| 21780 | 24181 | <type name="utf8" c:type="const gchar*"/> | |
| 21781 | 24182 | </parameter> | |
| 21782 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24183 | + | <parameter name="blurb" | |
| 24184 | + | transfer-ownership="none" | |
| 24185 | + | nullable="1" | |
| 24186 | + | allow-none="1"> | |
| 21783 | 24187 | <doc xml:space="preserve" | |
| 21784 | - | filename="gobject-2.0.c" | |
| 21785 | - | line="4001">description of the property specified</doc> | |
| 24188 | + | filename="gobject/gparamspecs.c" | |
| 24189 | + | line="2246">description of the property specified</doc> | |
| 21786 | 24190 | <type name="utf8" c:type="const gchar*"/> | |
| 21787 | 24191 | </parameter> | |
| 21788 | 24192 | <parameter name="enum_type" transfer-ownership="none"> | |
| 21789 | 24193 | <doc xml:space="preserve" | |
| 21790 | - | filename="gobject-2.0.c" | |
| 21791 | - | line="4002">a #GType derived from %G_TYPE_ENUM</doc> | |
| 24194 | + | filename="gobject/gparamspecs.c" | |
| 24195 | + | line="2247">a #GType derived from %G_TYPE_ENUM</doc> | |
| 21792 | 24196 | <type name="GType" c:type="GType"/> | |
| 21793 | 24197 | </parameter> | |
| 21794 | 24198 | <parameter name="default_value" transfer-ownership="none"> | |
| 21795 | 24199 | <doc xml:space="preserve" | |
| 21796 | - | filename="gobject-2.0.c" | |
| 21797 | - | line="4003">default value for the property specified</doc> | |
| 24200 | + | filename="gobject/gparamspecs.c" | |
| 24201 | + | line="2248">default value for the property specified</doc> | |
| 21798 | 24202 | <type name="gint" c:type="gint"/> | |
| 21799 | 24203 | </parameter> | |
| 21800 | 24204 | <parameter name="flags" transfer-ownership="none"> | |
| 21801 | 24205 | <doc xml:space="preserve" | |
| 21802 | - | filename="gobject-2.0.c" | |
| 21803 | - | line="4004">flags for the property specified</doc> | |
| 24206 | + | filename="gobject/gparamspecs.c" | |
| 24207 | + | line="2249">flags for the property specified</doc> | |
| 21804 | 24208 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 21805 | 24209 | </parameter> | |
| 21806 | 24210 | </parameters> | |
| 21807 | 24211 | </function> | |
| 21808 | 24212 | <function name="param_spec_flags" c:identifier="g_param_spec_flags"> | |
| 21809 | 24213 | <doc xml:space="preserve" | |
| 21810 | - | filename="gobject-2.0.c" | |
| 21811 | - | line="4015">Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS | |
| 24214 | + | filename="gobject/gparamspecs.c" | |
| 24215 | + | line="2288">Creates a new #GParamSpecFlags instance specifying a %G_TYPE_FLAGS | |
| 21812 | 24216 | property. | |
| 21813 | 24217 | ||
| 21814 | 24218 | See g_param_spec_internal() for details on property names.</doc> | |
| 21815 | - | <source-position filename="gparamspecs.h" line="1071"/> | |
| 24219 | + | <source-position filename="gobject/gparamspecs.h" line="1073"/> | |
| 21816 | 24220 | <return-value transfer-ownership="full"> | |
| 21817 | 24221 | <doc xml:space="preserve" | |
| 21818 | - | filename="gobject-2.0.c" | |
| 21819 | - | line="4029">a newly created parameter specification</doc> | |
| 24222 | + | filename="gobject/gparamspecs.c" | |
| 24223 | + | line="2302">a newly created parameter specification</doc> | |
| 21820 | 24224 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 21821 | 24225 | </return-value> | |
| 21822 | 24226 | <parameters> | |
| 21823 | 24227 | <parameter name="name" transfer-ownership="none"> | |
| 21824 | 24228 | <doc xml:space="preserve" | |
| 21825 | - | filename="gobject-2.0.c" | |
| 21826 | - | line="4017">canonical name of the property specified</doc> | |
| 24229 | + | filename="gobject/gparamspecs.c" | |
| 24230 | + | line="2290">canonical name of the property specified</doc> | |
| 21827 | 24231 | <type name="utf8" c:type="const gchar*"/> | |
| 21828 | 24232 | </parameter> | |
| 21829 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24233 | + | <parameter name="nick" | |
| 24234 | + | transfer-ownership="none" | |
| 24235 | + | nullable="1" | |
| 24236 | + | allow-none="1"> | |
| 21830 | 24237 | <doc xml:space="preserve" | |
| 21831 | - | filename="gobject-2.0.c" | |
| 21832 | - | line="4018">nick name for the property specified</doc> | |
| 24238 | + | filename="gobject/gparamspecs.c" | |
| 24239 | + | line="2291">nick name for the property specified</doc> | |
| 21833 | 24240 | <type name="utf8" c:type="const gchar*"/> | |
| 21834 | 24241 | </parameter> | |
| 21835 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24242 | + | <parameter name="blurb" | |
| 24243 | + | transfer-ownership="none" | |
| 24244 | + | nullable="1" | |
| 24245 | + | allow-none="1"> | |
| 21836 | 24246 | <doc xml:space="preserve" | |
| 21837 | - | filename="gobject-2.0.c" | |
| 21838 | - | line="4019">description of the property specified</doc> | |
| 24247 | + | filename="gobject/gparamspecs.c" | |
| 24248 | + | line="2292">description of the property specified</doc> | |
| 21839 | 24249 | <type name="utf8" c:type="const gchar*"/> | |
| 21840 | 24250 | </parameter> | |
| 21841 | 24251 | <parameter name="flags_type" transfer-ownership="none"> | |
| 21842 | 24252 | <doc xml:space="preserve" | |
| 21843 | - | filename="gobject-2.0.c" | |
| 21844 | - | line="4020">a #GType derived from %G_TYPE_FLAGS</doc> | |
| 24253 | + | filename="gobject/gparamspecs.c" | |
| 24254 | + | line="2293">a #GType derived from %G_TYPE_FLAGS</doc> | |
| 21845 | 24255 | <type name="GType" c:type="GType"/> | |
| 21846 | 24256 | </parameter> | |
| 21847 | 24257 | <parameter name="default_value" transfer-ownership="none"> | |
| 21848 | 24258 | <doc xml:space="preserve" | |
| 21849 | - | filename="gobject-2.0.c" | |
| 21850 | - | line="4021">default value for the property specified</doc> | |
| 24259 | + | filename="gobject/gparamspecs.c" | |
| 24260 | + | line="2294">default value for the property specified</doc> | |
| 21851 | 24261 | <type name="guint" c:type="guint"/> | |
| 21852 | 24262 | </parameter> | |
| 21853 | 24263 | <parameter name="flags" transfer-ownership="none"> | |
| 21854 | 24264 | <doc xml:space="preserve" | |
| 21855 | - | filename="gobject-2.0.c" | |
| 21856 | - | line="4022">flags for the property specified</doc> | |
| 24265 | + | filename="gobject/gparamspecs.c" | |
| 24266 | + | line="2295">flags for the property specified</doc> | |
| 21857 | 24267 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 21858 | 24268 | </parameter> | |
| 21859 | 24269 | </parameters> | |
| 21860 | 24270 | </function> | |
| 21861 | 24271 | <function name="param_spec_float" c:identifier="g_param_spec_float"> | |
| 21862 | 24272 | <doc xml:space="preserve" | |
| 21863 | - | filename="gobject-2.0.c" | |
| 21864 | - | line="4033">Creates a new #GParamSpecFloat instance specifying a %G_TYPE_FLOAT property. | |
| 24273 | + | filename="gobject/gparamspecs.c" | |
| 24274 | + | line="2334">Creates a new #GParamSpecFloat instance specifying a %G_TYPE_FLOAT property. | |
| 21865 | 24275 | ||
| 21866 | 24276 | See g_param_spec_internal() for details on property names.</doc> | |
| 21867 | - | <source-position filename="gparamspecs.h" line="1078"/> | |
| 24277 | + | <source-position filename="gobject/gparamspecs.h" line="1080"/> | |
| 21868 | 24278 | <return-value transfer-ownership="full"> | |
| 21869 | 24279 | <doc xml:space="preserve" | |
| 21870 | - | filename="gobject-2.0.c" | |
| 21871 | - | line="4047">a newly created parameter specification</doc> | |
| 24280 | + | filename="gobject/gparamspecs.c" | |
| 24281 | + | line="2348">a newly created parameter specification</doc> | |
| 21872 | 24282 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 21873 | 24283 | </return-value> | |
| 21874 | 24284 | <parameters> | |
| 21875 | 24285 | <parameter name="name" transfer-ownership="none"> | |
| 21876 | 24286 | <doc xml:space="preserve" | |
| 21877 | - | filename="gobject-2.0.c" | |
| 21878 | - | line="4035">canonical name of the property specified</doc> | |
| 24287 | + | filename="gobject/gparamspecs.c" | |
| 24288 | + | line="2336">canonical name of the property specified</doc> | |
| 21879 | 24289 | <type name="utf8" c:type="const gchar*"/> | |
| 21880 | 24290 | </parameter> | |
| 21881 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24291 | + | <parameter name="nick" | |
| 24292 | + | transfer-ownership="none" | |
| 24293 | + | nullable="1" | |
| 24294 | + | allow-none="1"> | |
| 21882 | 24295 | <doc xml:space="preserve" | |
| 21883 | - | filename="gobject-2.0.c" | |
| 21884 | - | line="4036">nick name for the property specified</doc> | |
| 24296 | + | filename="gobject/gparamspecs.c" | |
| 24297 | + | line="2337">nick name for the property specified</doc> | |
| 21885 | 24298 | <type name="utf8" c:type="const gchar*"/> | |
| 21886 | 24299 | </parameter> | |
| 21887 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24300 | + | <parameter name="blurb" | |
| 24301 | + | transfer-ownership="none" | |
| 24302 | + | nullable="1" | |
| 24303 | + | allow-none="1"> | |
| 21888 | 24304 | <doc xml:space="preserve" | |
| 21889 | - | filename="gobject-2.0.c" | |
| 21890 | - | line="4037">description of the property specified</doc> | |
| 24305 | + | filename="gobject/gparamspecs.c" | |
| 24306 | + | line="2338">description of the property specified</doc> | |
| 21891 | 24307 | <type name="utf8" c:type="const gchar*"/> | |
| 21892 | 24308 | </parameter> | |
| 21893 | 24309 | <parameter name="minimum" transfer-ownership="none"> | |
| 21894 | 24310 | <doc xml:space="preserve" | |
| 21895 | - | filename="gobject-2.0.c" | |
| 21896 | - | line="4038">minimum value for the property specified</doc> | |
| 24311 | + | filename="gobject/gparamspecs.c" | |
| 24312 | + | line="2339">minimum value for the property specified</doc> | |
| 21897 | 24313 | <type name="gfloat" c:type="gfloat"/> | |
| 21898 | 24314 | </parameter> | |
| 21899 | 24315 | <parameter name="maximum" transfer-ownership="none"> | |
| 21900 | 24316 | <doc xml:space="preserve" | |
| 21901 | - | filename="gobject-2.0.c" | |
| 21902 | - | line="4039">maximum value for the property specified</doc> | |
| 24317 | + | filename="gobject/gparamspecs.c" | |
| 24318 | + | line="2340">maximum value for the property specified</doc> | |
| 21903 | 24319 | <type name="gfloat" c:type="gfloat"/> | |
| 21904 | 24320 | </parameter> | |
| 21905 | 24321 | <parameter name="default_value" transfer-ownership="none"> | |
| 21906 | 24322 | <doc xml:space="preserve" | |
| 21907 | - | filename="gobject-2.0.c" | |
| 21908 | - | line="4040">default value for the property specified</doc> | |
| 24323 | + | filename="gobject/gparamspecs.c" | |
| 24324 | + | line="2341">default value for the property specified</doc> | |
| 21909 | 24325 | <type name="gfloat" c:type="gfloat"/> | |
| 21910 | 24326 | </parameter> | |
| 21911 | 24327 | <parameter name="flags" transfer-ownership="none"> | |
| 21912 | 24328 | <doc xml:space="preserve" | |
| 21913 | - | filename="gobject-2.0.c" | |
| 21914 | - | line="4041">flags for the property specified</doc> | |
| 24329 | + | filename="gobject/gparamspecs.c" | |
| 24330 | + | line="2342">flags for the property specified</doc> | |
| 21915 | 24331 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 21916 | 24332 | </parameter> | |
| 21917 | 24333 | </parameters> | |
| @@ -21920,269 +24336,299 @@ See g_param_spec_internal() for details on property names.</doc> | |||
| 21920 | 24336 | c:identifier="g_param_spec_gtype" | |
| 21921 | 24337 | version="2.10"> | |
| 21922 | 24338 | <doc xml:space="preserve" | |
| 21923 | - | filename="gobject-2.0.c" | |
| 21924 | - | line="4137">Creates a new #GParamSpecGType instance specifying a | |
| 24339 | + | filename="gobject/gparamspecs.c" | |
| 24340 | + | line="2559">Creates a new #GParamSpecGType instance specifying a | |
| 21925 | 24341 | %G_TYPE_GTYPE property. | |
| 21926 | 24342 | ||
| 21927 | 24343 | See g_param_spec_internal() for details on property names.</doc> | |
| 21928 | - | <source-position filename="gparamspecs.h" line="1132"/> | |
| 24344 | + | <source-position filename="gobject/gparamspecs.h" line="1134"/> | |
| 21929 | 24345 | <return-value transfer-ownership="full"> | |
| 21930 | 24346 | <doc xml:space="preserve" | |
| 21931 | - | filename="gobject-2.0.c" | |
| 21932 | - | line="4152">a newly created parameter specification</doc> | |
| 24347 | + | filename="gobject/gparamspecs.c" | |
| 24348 | + | line="2575">a newly created parameter specification</doc> | |
| 21933 | 24349 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 21934 | 24350 | </return-value> | |
| 21935 | 24351 | <parameters> | |
| 21936 | 24352 | <parameter name="name" transfer-ownership="none"> | |
| 21937 | 24353 | <doc xml:space="preserve" | |
| 21938 | - | filename="gobject-2.0.c" | |
| 21939 | - | line="4139">canonical name of the property specified</doc> | |
| 24354 | + | filename="gobject/gparamspecs.c" | |
| 24355 | + | line="2561">canonical name of the property specified</doc> | |
| 21940 | 24356 | <type name="utf8" c:type="const gchar*"/> | |
| 21941 | 24357 | </parameter> | |
| 21942 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24358 | + | <parameter name="nick" | |
| 24359 | + | transfer-ownership="none" | |
| 24360 | + | nullable="1" | |
| 24361 | + | allow-none="1"> | |
| 21943 | 24362 | <doc xml:space="preserve" | |
| 21944 | - | filename="gobject-2.0.c" | |
| 21945 | - | line="4140">nick name for the property specified</doc> | |
| 24363 | + | filename="gobject/gparamspecs.c" | |
| 24364 | + | line="2562">nick name for the property specified</doc> | |
| 21946 | 24365 | <type name="utf8" c:type="const gchar*"/> | |
| 21947 | 24366 | </parameter> | |
| 21948 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24367 | + | <parameter name="blurb" | |
| 24368 | + | transfer-ownership="none" | |
| 24369 | + | nullable="1" | |
| 24370 | + | allow-none="1"> | |
| 21949 | 24371 | <doc xml:space="preserve" | |
| 21950 | - | filename="gobject-2.0.c" | |
| 21951 | - | line="4141">description of the property specified</doc> | |
| 24372 | + | filename="gobject/gparamspecs.c" | |
| 24373 | + | line="2563">description of the property specified</doc> | |
| 21952 | 24374 | <type name="utf8" c:type="const gchar*"/> | |
| 21953 | 24375 | </parameter> | |
| 21954 | 24376 | <parameter name="is_a_type" transfer-ownership="none"> | |
| 21955 | 24377 | <doc xml:space="preserve" | |
| 21956 | - | filename="gobject-2.0.c" | |
| 21957 | - | line="4142">a #GType whose subtypes are allowed as values | |
| 24378 | + | filename="gobject/gparamspecs.c" | |
| 24379 | + | line="2564">a #GType whose subtypes are allowed as values | |
| 21958 | 24380 | of the property (use %G_TYPE_NONE for any type)</doc> | |
| 21959 | 24381 | <type name="GType" c:type="GType"/> | |
| 21960 | 24382 | </parameter> | |
| 21961 | 24383 | <parameter name="flags" transfer-ownership="none"> | |
| 21962 | 24384 | <doc xml:space="preserve" | |
| 21963 | - | filename="gobject-2.0.c" | |
| 21964 | - | line="4144">flags for the property specified</doc> | |
| 24385 | + | filename="gobject/gparamspecs.c" | |
| 24386 | + | line="2566">flags for the property specified</doc> | |
| 21965 | 24387 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 21966 | 24388 | </parameter> | |
| 21967 | 24389 | </parameters> | |
| 21968 | 24390 | </function> | |
| 21969 | 24391 | <function name="param_spec_int" c:identifier="g_param_spec_int"> | |
| 21970 | 24392 | <doc xml:space="preserve" | |
| 21971 | - | filename="gobject-2.0.c" | |
| 21972 | - | line="4156">Creates a new #GParamSpecInt instance specifying a %G_TYPE_INT property. | |
| 24393 | + | filename="gobject/gparamspecs.c" | |
| 24394 | + | line="1952">Creates a new #GParamSpecInt instance specifying a %G_TYPE_INT property. | |
| 21973 | 24395 | ||
| 21974 | 24396 | See g_param_spec_internal() for details on property names.</doc> | |
| 21975 | - | <source-position filename="gparamspecs.h" line="1010"/> | |
| 24397 | + | <source-position filename="gobject/gparamspecs.h" line="1012"/> | |
| 21976 | 24398 | <return-value transfer-ownership="full"> | |
| 21977 | 24399 | <doc xml:space="preserve" | |
| 21978 | - | filename="gobject-2.0.c" | |
| 21979 | - | line="4170">a newly created parameter specification</doc> | |
| 24400 | + | filename="gobject/gparamspecs.c" | |
| 24401 | + | line="1966">a newly created parameter specification</doc> | |
| 21980 | 24402 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 21981 | 24403 | </return-value> | |
| 21982 | 24404 | <parameters> | |
| 21983 | 24405 | <parameter name="name" transfer-ownership="none"> | |
| 21984 | 24406 | <doc xml:space="preserve" | |
| 21985 | - | filename="gobject-2.0.c" | |
| 21986 | - | line="4158">canonical name of the property specified</doc> | |
| 24407 | + | filename="gobject/gparamspecs.c" | |
| 24408 | + | line="1954">canonical name of the property specified</doc> | |
| 21987 | 24409 | <type name="utf8" c:type="const gchar*"/> | |
| 21988 | 24410 | </parameter> | |
| 21989 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24411 | + | <parameter name="nick" | |
| 24412 | + | transfer-ownership="none" | |
| 24413 | + | nullable="1" | |
| 24414 | + | allow-none="1"> | |
| 21990 | 24415 | <doc xml:space="preserve" | |
| 21991 | - | filename="gobject-2.0.c" | |
| 21992 | - | line="4159">nick name for the property specified</doc> | |
| 24416 | + | filename="gobject/gparamspecs.c" | |
| 24417 | + | line="1955">nick name for the property specified</doc> | |
| 21993 | 24418 | <type name="utf8" c:type="const gchar*"/> | |
| 21994 | 24419 | </parameter> | |
| 21995 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24420 | + | <parameter name="blurb" | |
| 24421 | + | transfer-ownership="none" | |
| 24422 | + | nullable="1" | |
| 24423 | + | allow-none="1"> | |
| 21996 | 24424 | <doc xml:space="preserve" | |
| 21997 | - | filename="gobject-2.0.c" | |
| 21998 | - | line="4160">description of the property specified</doc> | |
| 24425 | + | filename="gobject/gparamspecs.c" | |
| 24426 | + | line="1956">description of the property specified</doc> | |
| 21999 | 24427 | <type name="utf8" c:type="const gchar*"/> | |
| 22000 | 24428 | </parameter> | |
| 22001 | 24429 | <parameter name="minimum" transfer-ownership="none"> | |
| 22002 | 24430 | <doc xml:space="preserve" | |
| 22003 | - | filename="gobject-2.0.c" | |
| 22004 | - | line="4161">minimum value for the property specified</doc> | |
| 24431 | + | filename="gobject/gparamspecs.c" | |
| 24432 | + | line="1957">minimum value for the property specified</doc> | |
| 22005 | 24433 | <type name="gint" c:type="gint"/> | |
| 22006 | 24434 | </parameter> | |
| 22007 | 24435 | <parameter name="maximum" transfer-ownership="none"> | |
| 22008 | 24436 | <doc xml:space="preserve" | |
| 22009 | - | filename="gobject-2.0.c" | |
| 22010 | - | line="4162">maximum value for the property specified</doc> | |
| 24437 | + | filename="gobject/gparamspecs.c" | |
| 24438 | + | line="1958">maximum value for the property specified</doc> | |
| 22011 | 24439 | <type name="gint" c:type="gint"/> | |
| 22012 | 24440 | </parameter> | |
| 22013 | 24441 | <parameter name="default_value" transfer-ownership="none"> | |
| 22014 | 24442 | <doc xml:space="preserve" | |
| 22015 | - | filename="gobject-2.0.c" | |
| 22016 | - | line="4163">default value for the property specified</doc> | |
| 24443 | + | filename="gobject/gparamspecs.c" | |
| 24444 | + | line="1959">default value for the property specified</doc> | |
| 22017 | 24445 | <type name="gint" c:type="gint"/> | |
| 22018 | 24446 | </parameter> | |
| 22019 | 24447 | <parameter name="flags" transfer-ownership="none"> | |
| 22020 | 24448 | <doc xml:space="preserve" | |
| 22021 | - | filename="gobject-2.0.c" | |
| 22022 | - | line="4164">flags for the property specified</doc> | |
| 24449 | + | filename="gobject/gparamspecs.c" | |
| 24450 | + | line="1960">flags for the property specified</doc> | |
| 22023 | 24451 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22024 | 24452 | </parameter> | |
| 22025 | 24453 | </parameters> | |
| 22026 | 24454 | </function> | |
| 22027 | 24455 | <function name="param_spec_int64" c:identifier="g_param_spec_int64"> | |
| 22028 | 24456 | <doc xml:space="preserve" | |
| 22029 | - | filename="gobject-2.0.c" | |
| 22030 | - | line="4174">Creates a new #GParamSpecInt64 instance specifying a %G_TYPE_INT64 property. | |
| 24457 | + | filename="gobject/gparamspecs.c" | |
| 24458 | + | line="2121">Creates a new #GParamSpecInt64 instance specifying a %G_TYPE_INT64 property. | |
| 22031 | 24459 | ||
| 22032 | 24460 | See g_param_spec_internal() for details on property names.</doc> | |
| 22033 | - | <source-position filename="gparamspecs.h" line="1042"/> | |
| 24461 | + | <source-position filename="gobject/gparamspecs.h" line="1044"/> | |
| 22034 | 24462 | <return-value transfer-ownership="full"> | |
| 22035 | 24463 | <doc xml:space="preserve" | |
| 22036 | - | filename="gobject-2.0.c" | |
| 22037 | - | line="4188">a newly created parameter specification</doc> | |
| 24464 | + | filename="gobject/gparamspecs.c" | |
| 24465 | + | line="2135">a newly created parameter specification</doc> | |
| 22038 | 24466 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22039 | 24467 | </return-value> | |
| 22040 | 24468 | <parameters> | |
| 22041 | 24469 | <parameter name="name" transfer-ownership="none"> | |
| 22042 | 24470 | <doc xml:space="preserve" | |
| 22043 | - | filename="gobject-2.0.c" | |
| 22044 | - | line="4176">canonical name of the property specified</doc> | |
| 24471 | + | filename="gobject/gparamspecs.c" | |
| 24472 | + | line="2123">canonical name of the property specified</doc> | |
| 22045 | 24473 | <type name="utf8" c:type="const gchar*"/> | |
| 22046 | 24474 | </parameter> | |
| 22047 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24475 | + | <parameter name="nick" | |
| 24476 | + | transfer-ownership="none" | |
| 24477 | + | nullable="1" | |
| 24478 | + | allow-none="1"> | |
| 22048 | 24479 | <doc xml:space="preserve" | |
| 22049 | - | filename="gobject-2.0.c" | |
| 22050 | - | line="4177">nick name for the property specified</doc> | |
| 24480 | + | filename="gobject/gparamspecs.c" | |
| 24481 | + | line="2124">nick name for the property specified</doc> | |
| 22051 | 24482 | <type name="utf8" c:type="const gchar*"/> | |
| 22052 | 24483 | </parameter> | |
| 22053 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24484 | + | <parameter name="blurb" | |
| 24485 | + | transfer-ownership="none" | |
| 24486 | + | nullable="1" | |
| 24487 | + | allow-none="1"> | |
| 22054 | 24488 | <doc xml:space="preserve" | |
| 22055 | - | filename="gobject-2.0.c" | |
| 22056 | - | line="4178">description of the property specified</doc> | |
| 24489 | + | filename="gobject/gparamspecs.c" | |
| 24490 | + | line="2125">description of the property specified</doc> | |
| 22057 | 24491 | <type name="utf8" c:type="const gchar*"/> | |
| 22058 | 24492 | </parameter> | |
| 22059 | 24493 | <parameter name="minimum" transfer-ownership="none"> | |
| 22060 | 24494 | <doc xml:space="preserve" | |
| 22061 | - | filename="gobject-2.0.c" | |
| 22062 | - | line="4179">minimum value for the property specified</doc> | |
| 24495 | + | filename="gobject/gparamspecs.c" | |
| 24496 | + | line="2126">minimum value for the property specified</doc> | |
| 22063 | 24497 | <type name="gint64" c:type="gint64"/> | |
| 22064 | 24498 | </parameter> | |
| 22065 | 24499 | <parameter name="maximum" transfer-ownership="none"> | |
| 22066 | 24500 | <doc xml:space="preserve" | |
| 22067 | - | filename="gobject-2.0.c" | |
| 22068 | - | line="4180">maximum value for the property specified</doc> | |
| 24501 | + | filename="gobject/gparamspecs.c" | |
| 24502 | + | line="2127">maximum value for the property specified</doc> | |
| 22069 | 24503 | <type name="gint64" c:type="gint64"/> | |
| 22070 | 24504 | </parameter> | |
| 22071 | 24505 | <parameter name="default_value" transfer-ownership="none"> | |
| 22072 | 24506 | <doc xml:space="preserve" | |
| 22073 | - | filename="gobject-2.0.c" | |
| 22074 | - | line="4181">default value for the property specified</doc> | |
| 24507 | + | filename="gobject/gparamspecs.c" | |
| 24508 | + | line="2128">default value for the property specified</doc> | |
| 22075 | 24509 | <type name="gint64" c:type="gint64"/> | |
| 22076 | 24510 | </parameter> | |
| 22077 | 24511 | <parameter name="flags" transfer-ownership="none"> | |
| 22078 | 24512 | <doc xml:space="preserve" | |
| 22079 | - | filename="gobject-2.0.c" | |
| 22080 | - | line="4182">flags for the property specified</doc> | |
| 24513 | + | filename="gobject/gparamspecs.c" | |
| 24514 | + | line="2129">flags for the property specified</doc> | |
| 22081 | 24515 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22082 | 24516 | </parameter> | |
| 22083 | 24517 | </parameters> | |
| 22084 | 24518 | </function> | |
| 22085 | 24519 | <function name="param_spec_long" c:identifier="g_param_spec_long"> | |
| 22086 | 24520 | <doc xml:space="preserve" | |
| 22087 | - | filename="gobject-2.0.c" | |
| 22088 | - | line="4233">Creates a new #GParamSpecLong instance specifying a %G_TYPE_LONG property. | |
| 24521 | + | filename="gobject/gparamspecs.c" | |
| 24522 | + | line="2036">Creates a new #GParamSpecLong instance specifying a %G_TYPE_LONG property. | |
| 22089 | 24523 | ||
| 22090 | 24524 | See g_param_spec_internal() for details on property names.</doc> | |
| 22091 | - | <source-position filename="gparamspecs.h" line="1026"/> | |
| 24525 | + | <source-position filename="gobject/gparamspecs.h" line="1028"/> | |
| 22092 | 24526 | <return-value transfer-ownership="full"> | |
| 22093 | 24527 | <doc xml:space="preserve" | |
| 22094 | - | filename="gobject-2.0.c" | |
| 22095 | - | line="4247">a newly created parameter specification</doc> | |
| 24528 | + | filename="gobject/gparamspecs.c" | |
| 24529 | + | line="2050">a newly created parameter specification</doc> | |
| 22096 | 24530 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22097 | 24531 | </return-value> | |
| 22098 | 24532 | <parameters> | |
| 22099 | 24533 | <parameter name="name" transfer-ownership="none"> | |
| 22100 | 24534 | <doc xml:space="preserve" | |
| 22101 | - | filename="gobject-2.0.c" | |
| 22102 | - | line="4235">canonical name of the property specified</doc> | |
| 24535 | + | filename="gobject/gparamspecs.c" | |
| 24536 | + | line="2038">canonical name of the property specified</doc> | |
| 22103 | 24537 | <type name="utf8" c:type="const gchar*"/> | |
| 22104 | 24538 | </parameter> | |
| 22105 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24539 | + | <parameter name="nick" | |
| 24540 | + | transfer-ownership="none" | |
| 24541 | + | nullable="1" | |
| 24542 | + | allow-none="1"> | |
| 22106 | 24543 | <doc xml:space="preserve" | |
| 22107 | - | filename="gobject-2.0.c" | |
| 22108 | - | line="4236">nick name for the property specified</doc> | |
| 24544 | + | filename="gobject/gparamspecs.c" | |
| 24545 | + | line="2039">nick name for the property specified</doc> | |
| 22109 | 24546 | <type name="utf8" c:type="const gchar*"/> | |
| 22110 | 24547 | </parameter> | |
| 22111 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24548 | + | <parameter name="blurb" | |
| 24549 | + | transfer-ownership="none" | |
| 24550 | + | nullable="1" | |
| 24551 | + | allow-none="1"> | |
| 22112 | 24552 | <doc xml:space="preserve" | |
| 22113 | - | filename="gobject-2.0.c" | |
| 22114 | - | line="4237">description of the property specified</doc> | |
| 24553 | + | filename="gobject/gparamspecs.c" | |
| 24554 | + | line="2040">description of the property specified</doc> | |
| 22115 | 24555 | <type name="utf8" c:type="const gchar*"/> | |
| 22116 | 24556 | </parameter> | |
| 22117 | 24557 | <parameter name="minimum" transfer-ownership="none"> | |
| 22118 | 24558 | <doc xml:space="preserve" | |
| 22119 | - | filename="gobject-2.0.c" | |
| 22120 | - | line="4238">minimum value for the property specified</doc> | |
| 24559 | + | filename="gobject/gparamspecs.c" | |
| 24560 | + | line="2041">minimum value for the property specified</doc> | |
| 22121 | 24561 | <type name="glong" c:type="glong"/> | |
| 22122 | 24562 | </parameter> | |
| 22123 | 24563 | <parameter name="maximum" transfer-ownership="none"> | |
| 22124 | 24564 | <doc xml:space="preserve" | |
| 22125 | - | filename="gobject-2.0.c" | |
| 22126 | - | line="4239">maximum value for the property specified</doc> | |
| 24565 | + | filename="gobject/gparamspecs.c" | |
| 24566 | + | line="2042">maximum value for the property specified</doc> | |
| 22127 | 24567 | <type name="glong" c:type="glong"/> | |
| 22128 | 24568 | </parameter> | |
| 22129 | 24569 | <parameter name="default_value" transfer-ownership="none"> | |
| 22130 | 24570 | <doc xml:space="preserve" | |
| 22131 | - | filename="gobject-2.0.c" | |
| 22132 | - | line="4240">default value for the property specified</doc> | |
| 24571 | + | filename="gobject/gparamspecs.c" | |
| 24572 | + | line="2043">default value for the property specified</doc> | |
| 22133 | 24573 | <type name="glong" c:type="glong"/> | |
| 22134 | 24574 | </parameter> | |
| 22135 | 24575 | <parameter name="flags" transfer-ownership="none"> | |
| 22136 | 24576 | <doc xml:space="preserve" | |
| 22137 | - | filename="gobject-2.0.c" | |
| 22138 | - | line="4241">flags for the property specified</doc> | |
| 24577 | + | filename="gobject/gparamspecs.c" | |
| 24578 | + | line="2044">flags for the property specified</doc> | |
| 22139 | 24579 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22140 | 24580 | </parameter> | |
| 22141 | 24581 | </parameters> | |
| 22142 | 24582 | </function> | |
| 22143 | 24583 | <function name="param_spec_object" c:identifier="g_param_spec_object"> | |
| 22144 | 24584 | <doc xml:space="preserve" | |
| 22145 | - | filename="gobject-2.0.c" | |
| 22146 | - | line="4251">Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT | |
| 24585 | + | filename="gobject/gparamspecs.c" | |
| 24586 | + | line="2641">Creates a new #GParamSpecBoxed instance specifying a %G_TYPE_OBJECT | |
| 22147 | 24587 | derived property. | |
| 22148 | 24588 | ||
| 22149 | 24589 | See g_param_spec_internal() for details on property names.</doc> | |
| 22150 | - | <source-position filename="gparamspecs.h" line="1123"/> | |
| 24590 | + | <source-position filename="gobject/gparamspecs.h" line="1125"/> | |
| 22151 | 24591 | <return-value transfer-ownership="full"> | |
| 22152 | 24592 | <doc xml:space="preserve" | |
| 22153 | - | filename="gobject-2.0.c" | |
| 22154 | - | line="4264">a newly created parameter specification</doc> | |
| 24593 | + | filename="gobject/gparamspecs.c" | |
| 24594 | + | line="2654">a newly created parameter specification</doc> | |
| 22155 | 24595 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22156 | 24596 | </return-value> | |
| 22157 | 24597 | <parameters> | |
| 22158 | 24598 | <parameter name="name" transfer-ownership="none"> | |
| 22159 | 24599 | <doc xml:space="preserve" | |
| 22160 | - | filename="gobject-2.0.c" | |
| 22161 | - | line="4253">canonical name of the property specified</doc> | |
| 24600 | + | filename="gobject/gparamspecs.c" | |
| 24601 | + | line="2643">canonical name of the property specified</doc> | |
| 22162 | 24602 | <type name="utf8" c:type="const gchar*"/> | |
| 22163 | 24603 | </parameter> | |
| 22164 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24604 | + | <parameter name="nick" | |
| 24605 | + | transfer-ownership="none" | |
| 24606 | + | nullable="1" | |
| 24607 | + | allow-none="1"> | |
| 22165 | 24608 | <doc xml:space="preserve" | |
| 22166 | - | filename="gobject-2.0.c" | |
| 22167 | - | line="4254">nick name for the property specified</doc> | |
| 24609 | + | filename="gobject/gparamspecs.c" | |
| 24610 | + | line="2644">nick name for the property specified</doc> | |
| 22168 | 24611 | <type name="utf8" c:type="const gchar*"/> | |
| 22169 | 24612 | </parameter> | |
| 22170 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24613 | + | <parameter name="blurb" | |
| 24614 | + | transfer-ownership="none" | |
| 24615 | + | nullable="1" | |
| 24616 | + | allow-none="1"> | |
| 22171 | 24617 | <doc xml:space="preserve" | |
| 22172 | - | filename="gobject-2.0.c" | |
| 22173 | - | line="4255">description of the property specified</doc> | |
| 24618 | + | filename="gobject/gparamspecs.c" | |
| 24619 | + | line="2645">description of the property specified</doc> | |
| 22174 | 24620 | <type name="utf8" c:type="const gchar*"/> | |
| 22175 | 24621 | </parameter> | |
| 22176 | 24622 | <parameter name="object_type" transfer-ownership="none"> | |
| 22177 | 24623 | <doc xml:space="preserve" | |
| 22178 | - | filename="gobject-2.0.c" | |
| 22179 | - | line="4256">%G_TYPE_OBJECT derived type of this property</doc> | |
| 24624 | + | filename="gobject/gparamspecs.c" | |
| 24625 | + | line="2646">%G_TYPE_OBJECT derived type of this property</doc> | |
| 22180 | 24626 | <type name="GType" c:type="GType"/> | |
| 22181 | 24627 | </parameter> | |
| 22182 | 24628 | <parameter name="flags" transfer-ownership="none"> | |
| 22183 | 24629 | <doc xml:space="preserve" | |
| 22184 | - | filename="gobject-2.0.c" | |
| 22185 | - | line="4257">flags for the property specified</doc> | |
| 24630 | + | filename="gobject/gparamspecs.c" | |
| 24631 | + | line="2647">flags for the property specified</doc> | |
| 22186 | 24632 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22187 | 24633 | </parameter> | |
| 22188 | 24634 | </parameters> | |
| @@ -22192,151 +24638,169 @@ See g_param_spec_internal() for details on property names.</doc> | |||
| 22192 | 24638 | version="2.4" | |
| 22193 | 24639 | introspectable="0"> | |
| 22194 | 24640 | <doc xml:space="preserve" | |
| 22195 | - | filename="gobject-2.0.c" | |
| 22196 | - | line="4268">Creates a new property of type #GParamSpecOverride. This is used | |
| 24641 | + | filename="gobject/gparamspecs.c" | |
| 24642 | + | line="2678">Creates a new property of type #GParamSpecOverride. This is used | |
| 22197 | 24643 | to direct operations to another paramspec, and will not be directly | |
| 22198 | 24644 | useful unless you are implementing a new base type similar to GObject.</doc> | |
| 22199 | - | <source-position filename="gparamspecs.h" line="1129"/> | |
| 24645 | + | <source-position filename="gobject/gparamspecs.h" line="1131"/> | |
| 22200 | 24646 | <return-value> | |
| 22201 | 24647 | <doc xml:space="preserve" | |
| 22202 | - | filename="gobject-2.0.c" | |
| 22203 | - | line="4278">the newly created #GParamSpec</doc> | |
| 24648 | + | filename="gobject/gparamspecs.c" | |
| 24649 | + | line="2689">the newly created #GParamSpec</doc> | |
| 22204 | 24650 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22205 | 24651 | </return-value> | |
| 22206 | 24652 | <parameters> | |
| 22207 | 24653 | <parameter name="name" transfer-ownership="none"> | |
| 22208 | 24654 | <doc xml:space="preserve" | |
| 22209 | - | filename="gobject-2.0.c" | |
| 22210 | - | line="4270">the name of the property.</doc> | |
| 24655 | + | filename="gobject/gparamspecs.c" | |
| 24656 | + | line="2680">the name of the property.</doc> | |
| 22211 | 24657 | <type name="utf8" c:type="const gchar*"/> | |
| 22212 | 24658 | </parameter> | |
| 22213 | 24659 | <parameter name="overridden" transfer-ownership="none"> | |
| 22214 | 24660 | <doc xml:space="preserve" | |
| 22215 | - | filename="gobject-2.0.c" | |
| 22216 | - | line="4271">The property that is being overridden</doc> | |
| 24661 | + | filename="gobject/gparamspecs.c" | |
| 24662 | + | line="2681">The property that is being overridden</doc> | |
| 22217 | 24663 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22218 | 24664 | </parameter> | |
| 22219 | 24665 | </parameters> | |
| 22220 | 24666 | </function> | |
| 22221 | 24667 | <function name="param_spec_param" c:identifier="g_param_spec_param"> | |
| 22222 | 24668 | <doc xml:space="preserve" | |
| 22223 | - | filename="gobject-2.0.c" | |
| 22224 | - | line="4282">Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM | |
| 24669 | + | filename="gobject/gparamspecs.c" | |
| 24670 | + | line="2452">Creates a new #GParamSpecParam instance specifying a %G_TYPE_PARAM | |
| 22225 | 24671 | property. | |
| 22226 | 24672 | ||
| 22227 | 24673 | See g_param_spec_internal() for details on property names.</doc> | |
| 22228 | - | <source-position filename="gparamspecs.h" line="1100"/> | |
| 24674 | + | <source-position filename="gobject/gparamspecs.h" line="1102"/> | |
| 22229 | 24675 | <return-value transfer-ownership="full"> | |
| 22230 | 24676 | <doc xml:space="preserve" | |
| 22231 | - | filename="gobject-2.0.c" | |
| 22232 | - | line="4295">a newly created parameter specification</doc> | |
| 24677 | + | filename="gobject/gparamspecs.c" | |
| 24678 | + | line="2465">a newly created parameter specification</doc> | |
| 22233 | 24679 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22234 | 24680 | </return-value> | |
| 22235 | 24681 | <parameters> | |
| 22236 | 24682 | <parameter name="name" transfer-ownership="none"> | |
| 22237 | 24683 | <doc xml:space="preserve" | |
| 22238 | - | filename="gobject-2.0.c" | |
| 22239 | - | line="4284">canonical name of the property specified</doc> | |
| 24684 | + | filename="gobject/gparamspecs.c" | |
| 24685 | + | line="2454">canonical name of the property specified</doc> | |
| 22240 | 24686 | <type name="utf8" c:type="const gchar*"/> | |
| 22241 | 24687 | </parameter> | |
| 22242 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24688 | + | <parameter name="nick" | |
| 24689 | + | transfer-ownership="none" | |
| 24690 | + | nullable="1" | |
| 24691 | + | allow-none="1"> | |
| 22243 | 24692 | <doc xml:space="preserve" | |
| 22244 | - | filename="gobject-2.0.c" | |
| 22245 | - | line="4285">nick name for the property specified</doc> | |
| 24693 | + | filename="gobject/gparamspecs.c" | |
| 24694 | + | line="2455">nick name for the property specified</doc> | |
| 22246 | 24695 | <type name="utf8" c:type="const gchar*"/> | |
| 22247 | 24696 | </parameter> | |
| 22248 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24697 | + | <parameter name="blurb" | |
| 24698 | + | transfer-ownership="none" | |
| 24699 | + | nullable="1" | |
| 24700 | + | allow-none="1"> | |
| 22249 | 24701 | <doc xml:space="preserve" | |
| 22250 | - | filename="gobject-2.0.c" | |
| 22251 | - | line="4286">description of the property specified</doc> | |
| 24702 | + | filename="gobject/gparamspecs.c" | |
| 24703 | + | line="2456">description of the property specified</doc> | |
| 22252 | 24704 | <type name="utf8" c:type="const gchar*"/> | |
| 22253 | 24705 | </parameter> | |
| 22254 | 24706 | <parameter name="param_type" transfer-ownership="none"> | |
| 22255 | 24707 | <doc xml:space="preserve" | |
| 22256 | - | filename="gobject-2.0.c" | |
| 22257 | - | line="4287">a #GType derived from %G_TYPE_PARAM</doc> | |
| 24708 | + | filename="gobject/gparamspecs.c" | |
| 24709 | + | line="2457">a #GType derived from %G_TYPE_PARAM</doc> | |
| 22258 | 24710 | <type name="GType" c:type="GType"/> | |
| 22259 | 24711 | </parameter> | |
| 22260 | 24712 | <parameter name="flags" transfer-ownership="none"> | |
| 22261 | 24713 | <doc xml:space="preserve" | |
| 22262 | - | filename="gobject-2.0.c" | |
| 22263 | - | line="4288">flags for the property specified</doc> | |
| 24714 | + | filename="gobject/gparamspecs.c" | |
| 24715 | + | line="2458">flags for the property specified</doc> | |
| 22264 | 24716 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22265 | 24717 | </parameter> | |
| 22266 | 24718 | </parameters> | |
| 22267 | 24719 | </function> | |
| 22268 | 24720 | <function name="param_spec_pointer" c:identifier="g_param_spec_pointer"> | |
| 22269 | 24721 | <doc xml:space="preserve" | |
| 22270 | - | filename="gobject-2.0.c" | |
| 22271 | - | line="4299">Creates a new #GParamSpecPointer instance specifying a pointer property. | |
| 24722 | + | filename="gobject/gparamspecs.c" | |
| 24723 | + | line="2527">Creates a new #GParamSpecPointer instance specifying a pointer property. | |
| 22272 | 24724 | Where possible, it is better to use g_param_spec_object() or | |
| 22273 | 24725 | g_param_spec_boxed() to expose memory management information. | |
| 22274 | 24726 | ||
| 22275 | 24727 | See g_param_spec_internal() for details on property names.</doc> | |
| 22276 | - | <source-position filename="gparamspecs.h" line="1112"/> | |
| 24728 | + | <source-position filename="gobject/gparamspecs.h" line="1114"/> | |
| 22277 | 24729 | <return-value transfer-ownership="full"> | |
| 22278 | 24730 | <doc xml:space="preserve" | |
| 22279 | - | filename="gobject-2.0.c" | |
| 22280 | - | line="4312">a newly created parameter specification</doc> | |
| 24731 | + | filename="gobject/gparamspecs.c" | |
| 24732 | + | line="2540">a newly created parameter specification</doc> | |
| 22281 | 24733 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22282 | 24734 | </return-value> | |
| 22283 | 24735 | <parameters> | |
| 22284 | 24736 | <parameter name="name" transfer-ownership="none"> | |
| 22285 | 24737 | <doc xml:space="preserve" | |
| 22286 | - | filename="gobject-2.0.c" | |
| 22287 | - | line="4301">canonical name of the property specified</doc> | |
| 24738 | + | filename="gobject/gparamspecs.c" | |
| 24739 | + | line="2529">canonical name of the property specified</doc> | |
| 22288 | 24740 | <type name="utf8" c:type="const gchar*"/> | |
| 22289 | 24741 | </parameter> | |
| 22290 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24742 | + | <parameter name="nick" | |
| 24743 | + | transfer-ownership="none" | |
| 24744 | + | nullable="1" | |
| 24745 | + | allow-none="1"> | |
| 22291 | 24746 | <doc xml:space="preserve" | |
| 22292 | - | filename="gobject-2.0.c" | |
| 22293 | - | line="4302">nick name for the property specified</doc> | |
| 24747 | + | filename="gobject/gparamspecs.c" | |
| 24748 | + | line="2530">nick name for the property specified</doc> | |
| 22294 | 24749 | <type name="utf8" c:type="const gchar*"/> | |
| 22295 | 24750 | </parameter> | |
| 22296 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24751 | + | <parameter name="blurb" | |
| 24752 | + | transfer-ownership="none" | |
| 24753 | + | nullable="1" | |
| 24754 | + | allow-none="1"> | |
| 22297 | 24755 | <doc xml:space="preserve" | |
| 22298 | - | filename="gobject-2.0.c" | |
| 22299 | - | line="4303">description of the property specified</doc> | |
| 24756 | + | filename="gobject/gparamspecs.c" | |
| 24757 | + | line="2531">description of the property specified</doc> | |
| 22300 | 24758 | <type name="utf8" c:type="const gchar*"/> | |
| 22301 | 24759 | </parameter> | |
| 22302 | 24760 | <parameter name="flags" transfer-ownership="none"> | |
| 22303 | 24761 | <doc xml:space="preserve" | |
| 22304 | - | filename="gobject-2.0.c" | |
| 22305 | - | line="4304">flags for the property specified</doc> | |
| 24762 | + | filename="gobject/gparamspecs.c" | |
| 24763 | + | line="2532">flags for the property specified</doc> | |
| 22306 | 24764 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22307 | 24765 | </parameter> | |
| 22308 | 24766 | </parameters> | |
| 22309 | 24767 | </function> | |
| 22310 | 24768 | <function name="param_spec_string" c:identifier="g_param_spec_string"> | |
| 22311 | 24769 | <doc xml:space="preserve" | |
| 22312 | - | filename="gobject-2.0.c" | |
| 22313 | - | line="4474">Creates a new #GParamSpecString instance. | |
| 24770 | + | filename="gobject/gparamspecs.c" | |
| 24771 | + | line="2419">Creates a new #GParamSpecString instance. | |
| 22314 | 24772 | ||
| 22315 | 24773 | See g_param_spec_internal() for details on property names.</doc> | |
| 22316 | - | <source-position filename="gparamspecs.h" line="1094"/> | |
| 24774 | + | <source-position filename="gobject/gparamspecs.h" line="1096"/> | |
| 22317 | 24775 | <return-value transfer-ownership="full"> | |
| 22318 | 24776 | <doc xml:space="preserve" | |
| 22319 | - | filename="gobject-2.0.c" | |
| 22320 | - | line="4486">a newly created parameter specification</doc> | |
| 24777 | + | filename="gobject/gparamspecs.c" | |
| 24778 | + | line="2431">a newly created parameter specification</doc> | |
| 22321 | 24779 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22322 | 24780 | </return-value> | |
| 22323 | 24781 | <parameters> | |
| 22324 | 24782 | <parameter name="name" transfer-ownership="none"> | |
| 22325 | 24783 | <doc xml:space="preserve" | |
| 22326 | - | filename="gobject-2.0.c" | |
| 22327 | - | line="4476">canonical name of the property specified</doc> | |
| 24784 | + | filename="gobject/gparamspecs.c" | |
| 24785 | + | line="2421">canonical name of the property specified</doc> | |
| 22328 | 24786 | <type name="utf8" c:type="const gchar*"/> | |
| 22329 | 24787 | </parameter> | |
| 22330 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24788 | + | <parameter name="nick" | |
| 24789 | + | transfer-ownership="none" | |
| 24790 | + | nullable="1" | |
| 24791 | + | allow-none="1"> | |
| 22331 | 24792 | <doc xml:space="preserve" | |
| 22332 | - | filename="gobject-2.0.c" | |
| 22333 | - | line="4477">nick name for the property specified</doc> | |
| 24793 | + | filename="gobject/gparamspecs.c" | |
| 24794 | + | line="2422">nick name for the property specified</doc> | |
| 22334 | 24795 | <type name="utf8" c:type="const gchar*"/> | |
| 22335 | 24796 | </parameter> | |
| 22336 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24797 | + | <parameter name="blurb" | |
| 24798 | + | transfer-ownership="none" | |
| 24799 | + | nullable="1" | |
| 24800 | + | allow-none="1"> | |
| 22337 | 24801 | <doc xml:space="preserve" | |
| 22338 | - | filename="gobject-2.0.c" | |
| 22339 | - | line="4478">description of the property specified</doc> | |
| 24802 | + | filename="gobject/gparamspecs.c" | |
| 24803 | + | line="2423">description of the property specified</doc> | |
| 22340 | 24804 | <type name="utf8" c:type="const gchar*"/> | |
| 22341 | 24805 | </parameter> | |
| 22342 | 24806 | <parameter name="default_value" | |
| @@ -22344,294 +24808,324 @@ See g_param_spec_internal() for details on property names.</doc> | |||
| 22344 | 24808 | nullable="1" | |
| 22345 | 24809 | allow-none="1"> | |
| 22346 | 24810 | <doc xml:space="preserve" | |
| 22347 | - | filename="gobject-2.0.c" | |
| 22348 | - | line="4479">default value for the property specified</doc> | |
| 24811 | + | filename="gobject/gparamspecs.c" | |
| 24812 | + | line="2424">default value for the property specified</doc> | |
| 22349 | 24813 | <type name="utf8" c:type="const gchar*"/> | |
| 22350 | 24814 | </parameter> | |
| 22351 | 24815 | <parameter name="flags" transfer-ownership="none"> | |
| 22352 | 24816 | <doc xml:space="preserve" | |
| 22353 | - | filename="gobject-2.0.c" | |
| 22354 | - | line="4480">flags for the property specified</doc> | |
| 24817 | + | filename="gobject/gparamspecs.c" | |
| 24818 | + | line="2425">flags for the property specified</doc> | |
| 22355 | 24819 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22356 | 24820 | </parameter> | |
| 22357 | 24821 | </parameters> | |
| 22358 | 24822 | </function> | |
| 22359 | 24823 | <function name="param_spec_uchar" c:identifier="g_param_spec_uchar"> | |
| 22360 | 24824 | <doc xml:space="preserve" | |
| 22361 | - | filename="gobject-2.0.c" | |
| 22362 | - | line="4490">Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property.</doc> | |
| 22363 | - | <source-position filename="gparamspecs.h" line="996"/> | |
| 24825 | + | filename="gobject/gparamspecs.c" | |
| 24826 | + | line="1872">Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property.</doc> | |
| 24827 | + | <source-position filename="gobject/gparamspecs.h" line="998"/> | |
| 22364 | 24828 | <return-value transfer-ownership="full"> | |
| 22365 | 24829 | <doc xml:space="preserve" | |
| 22366 | - | filename="gobject-2.0.c" | |
| 22367 | - | line="4502">a newly created parameter specification</doc> | |
| 24830 | + | filename="gobject/gparamspecs.c" | |
| 24831 | + | line="1884">a newly created parameter specification</doc> | |
| 22368 | 24832 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22369 | 24833 | </return-value> | |
| 22370 | 24834 | <parameters> | |
| 22371 | 24835 | <parameter name="name" transfer-ownership="none"> | |
| 22372 | 24836 | <doc xml:space="preserve" | |
| 22373 | - | filename="gobject-2.0.c" | |
| 22374 | - | line="4492">canonical name of the property specified</doc> | |
| 24837 | + | filename="gobject/gparamspecs.c" | |
| 24838 | + | line="1874">canonical name of the property specified</doc> | |
| 22375 | 24839 | <type name="utf8" c:type="const gchar*"/> | |
| 22376 | 24840 | </parameter> | |
| 22377 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24841 | + | <parameter name="nick" | |
| 24842 | + | transfer-ownership="none" | |
| 24843 | + | nullable="1" | |
| 24844 | + | allow-none="1"> | |
| 22378 | 24845 | <doc xml:space="preserve" | |
| 22379 | - | filename="gobject-2.0.c" | |
| 22380 | - | line="4493">nick name for the property specified</doc> | |
| 24846 | + | filename="gobject/gparamspecs.c" | |
| 24847 | + | line="1875">nick name for the property specified</doc> | |
| 22381 | 24848 | <type name="utf8" c:type="const gchar*"/> | |
| 22382 | 24849 | </parameter> | |
| 22383 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24850 | + | <parameter name="blurb" | |
| 24851 | + | transfer-ownership="none" | |
| 24852 | + | nullable="1" | |
| 24853 | + | allow-none="1"> | |
| 22384 | 24854 | <doc xml:space="preserve" | |
| 22385 | - | filename="gobject-2.0.c" | |
| 22386 | - | line="4494">description of the property specified</doc> | |
| 24855 | + | filename="gobject/gparamspecs.c" | |
| 24856 | + | line="1876">description of the property specified</doc> | |
| 22387 | 24857 | <type name="utf8" c:type="const gchar*"/> | |
| 22388 | 24858 | </parameter> | |
| 22389 | 24859 | <parameter name="minimum" transfer-ownership="none"> | |
| 22390 | 24860 | <doc xml:space="preserve" | |
| 22391 | - | filename="gobject-2.0.c" | |
| 22392 | - | line="4495">minimum value for the property specified</doc> | |
| 24861 | + | filename="gobject/gparamspecs.c" | |
| 24862 | + | line="1877">minimum value for the property specified</doc> | |
| 22393 | 24863 | <type name="guint8" c:type="guint8"/> | |
| 22394 | 24864 | </parameter> | |
| 22395 | 24865 | <parameter name="maximum" transfer-ownership="none"> | |
| 22396 | 24866 | <doc xml:space="preserve" | |
| 22397 | - | filename="gobject-2.0.c" | |
| 22398 | - | line="4496">maximum value for the property specified</doc> | |
| 24867 | + | filename="gobject/gparamspecs.c" | |
| 24868 | + | line="1878">maximum value for the property specified</doc> | |
| 22399 | 24869 | <type name="guint8" c:type="guint8"/> | |
| 22400 | 24870 | </parameter> | |
| 22401 | 24871 | <parameter name="default_value" transfer-ownership="none"> | |
| 22402 | 24872 | <doc xml:space="preserve" | |
| 22403 | - | filename="gobject-2.0.c" | |
| 22404 | - | line="4497">default value for the property specified</doc> | |
| 24873 | + | filename="gobject/gparamspecs.c" | |
| 24874 | + | line="1879">default value for the property specified</doc> | |
| 22405 | 24875 | <type name="guint8" c:type="guint8"/> | |
| 22406 | 24876 | </parameter> | |
| 22407 | 24877 | <parameter name="flags" transfer-ownership="none"> | |
| 22408 | 24878 | <doc xml:space="preserve" | |
| 22409 | - | filename="gobject-2.0.c" | |
| 22410 | - | line="4498">flags for the property specified</doc> | |
| 24879 | + | filename="gobject/gparamspecs.c" | |
| 24880 | + | line="1880">flags for the property specified</doc> | |
| 22411 | 24881 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22412 | 24882 | </parameter> | |
| 22413 | 24883 | </parameters> | |
| 22414 | 24884 | </function> | |
| 22415 | 24885 | <function name="param_spec_uint" c:identifier="g_param_spec_uint"> | |
| 22416 | 24886 | <doc xml:space="preserve" | |
| 22417 | - | filename="gobject-2.0.c" | |
| 22418 | - | line="4506">Creates a new #GParamSpecUInt instance specifying a %G_TYPE_UINT property. | |
| 24887 | + | filename="gobject/gparamspecs.c" | |
| 24888 | + | line="1994">Creates a new #GParamSpecUInt instance specifying a %G_TYPE_UINT property. | |
| 22419 | 24889 | ||
| 22420 | 24890 | See g_param_spec_internal() for details on property names.</doc> | |
| 22421 | - | <source-position filename="gparamspecs.h" line="1018"/> | |
| 24891 | + | <source-position filename="gobject/gparamspecs.h" line="1020"/> | |
| 22422 | 24892 | <return-value transfer-ownership="full"> | |
| 22423 | 24893 | <doc xml:space="preserve" | |
| 22424 | - | filename="gobject-2.0.c" | |
| 22425 | - | line="4520">a newly created parameter specification</doc> | |
| 24894 | + | filename="gobject/gparamspecs.c" | |
| 24895 | + | line="2008">a newly created parameter specification</doc> | |
| 22426 | 24896 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22427 | 24897 | </return-value> | |
| 22428 | 24898 | <parameters> | |
| 22429 | 24899 | <parameter name="name" transfer-ownership="none"> | |
| 22430 | 24900 | <doc xml:space="preserve" | |
| 22431 | - | filename="gobject-2.0.c" | |
| 22432 | - | line="4508">canonical name of the property specified</doc> | |
| 24901 | + | filename="gobject/gparamspecs.c" | |
| 24902 | + | line="1996">canonical name of the property specified</doc> | |
| 22433 | 24903 | <type name="utf8" c:type="const gchar*"/> | |
| 22434 | 24904 | </parameter> | |
| 22435 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24905 | + | <parameter name="nick" | |
| 24906 | + | transfer-ownership="none" | |
| 24907 | + | nullable="1" | |
| 24908 | + | allow-none="1"> | |
| 22436 | 24909 | <doc xml:space="preserve" | |
| 22437 | - | filename="gobject-2.0.c" | |
| 22438 | - | line="4509">nick name for the property specified</doc> | |
| 24910 | + | filename="gobject/gparamspecs.c" | |
| 24911 | + | line="1997">nick name for the property specified</doc> | |
| 22439 | 24912 | <type name="utf8" c:type="const gchar*"/> | |
| 22440 | 24913 | </parameter> | |
| 22441 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24914 | + | <parameter name="blurb" | |
| 24915 | + | transfer-ownership="none" | |
| 24916 | + | nullable="1" | |
| 24917 | + | allow-none="1"> | |
| 22442 | 24918 | <doc xml:space="preserve" | |
| 22443 | - | filename="gobject-2.0.c" | |
| 22444 | - | line="4510">description of the property specified</doc> | |
| 24919 | + | filename="gobject/gparamspecs.c" | |
| 24920 | + | line="1998">description of the property specified</doc> | |
| 22445 | 24921 | <type name="utf8" c:type="const gchar*"/> | |
| 22446 | 24922 | </parameter> | |
| 22447 | 24923 | <parameter name="minimum" transfer-ownership="none"> | |
| 22448 | 24924 | <doc xml:space="preserve" | |
| 22449 | - | filename="gobject-2.0.c" | |
| 22450 | - | line="4511">minimum value for the property specified</doc> | |
| 24925 | + | filename="gobject/gparamspecs.c" | |
| 24926 | + | line="1999">minimum value for the property specified</doc> | |
| 22451 | 24927 | <type name="guint" c:type="guint"/> | |
| 22452 | 24928 | </parameter> | |
| 22453 | 24929 | <parameter name="maximum" transfer-ownership="none"> | |
| 22454 | 24930 | <doc xml:space="preserve" | |
| 22455 | - | filename="gobject-2.0.c" | |
| 22456 | - | line="4512">maximum value for the property specified</doc> | |
| 24931 | + | filename="gobject/gparamspecs.c" | |
| 24932 | + | line="2000">maximum value for the property specified</doc> | |
| 22457 | 24933 | <type name="guint" c:type="guint"/> | |
| 22458 | 24934 | </parameter> | |
| 22459 | 24935 | <parameter name="default_value" transfer-ownership="none"> | |
| 22460 | 24936 | <doc xml:space="preserve" | |
| 22461 | - | filename="gobject-2.0.c" | |
| 22462 | - | line="4513">default value for the property specified</doc> | |
| 24937 | + | filename="gobject/gparamspecs.c" | |
| 24938 | + | line="2001">default value for the property specified</doc> | |
| 22463 | 24939 | <type name="guint" c:type="guint"/> | |
| 22464 | 24940 | </parameter> | |
| 22465 | 24941 | <parameter name="flags" transfer-ownership="none"> | |
| 22466 | 24942 | <doc xml:space="preserve" | |
| 22467 | - | filename="gobject-2.0.c" | |
| 22468 | - | line="4514">flags for the property specified</doc> | |
| 24943 | + | filename="gobject/gparamspecs.c" | |
| 24944 | + | line="2002">flags for the property specified</doc> | |
| 22469 | 24945 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22470 | 24946 | </parameter> | |
| 22471 | 24947 | </parameters> | |
| 22472 | 24948 | </function> | |
| 22473 | 24949 | <function name="param_spec_uint64" c:identifier="g_param_spec_uint64"> | |
| 22474 | 24950 | <doc xml:space="preserve" | |
| 22475 | - | filename="gobject-2.0.c" | |
| 22476 | - | line="4524">Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64 | |
| 24951 | + | filename="gobject/gparamspecs.c" | |
| 24952 | + | line="2163">Creates a new #GParamSpecUInt64 instance specifying a %G_TYPE_UINT64 | |
| 22477 | 24953 | property. | |
| 22478 | 24954 | ||
| 22479 | 24955 | See g_param_spec_internal() for details on property names.</doc> | |
| 22480 | - | <source-position filename="gparamspecs.h" line="1050"/> | |
| 24956 | + | <source-position filename="gobject/gparamspecs.h" line="1052"/> | |
| 22481 | 24957 | <return-value transfer-ownership="full"> | |
| 22482 | 24958 | <doc xml:space="preserve" | |
| 22483 | - | filename="gobject-2.0.c" | |
| 22484 | - | line="4539">a newly created parameter specification</doc> | |
| 24959 | + | filename="gobject/gparamspecs.c" | |
| 24960 | + | line="2178">a newly created parameter specification</doc> | |
| 22485 | 24961 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22486 | 24962 | </return-value> | |
| 22487 | 24963 | <parameters> | |
| 22488 | 24964 | <parameter name="name" transfer-ownership="none"> | |
| 22489 | 24965 | <doc xml:space="preserve" | |
| 22490 | - | filename="gobject-2.0.c" | |
| 22491 | - | line="4526">canonical name of the property specified</doc> | |
| 24966 | + | filename="gobject/gparamspecs.c" | |
| 24967 | + | line="2165">canonical name of the property specified</doc> | |
| 22492 | 24968 | <type name="utf8" c:type="const gchar*"/> | |
| 22493 | 24969 | </parameter> | |
| 22494 | - | <parameter name="nick" transfer-ownership="none"> | |
| 24970 | + | <parameter name="nick" | |
| 24971 | + | transfer-ownership="none" | |
| 24972 | + | nullable="1" | |
| 24973 | + | allow-none="1"> | |
| 22495 | 24974 | <doc xml:space="preserve" | |
| 22496 | - | filename="gobject-2.0.c" | |
| 22497 | - | line="4527">nick name for the property specified</doc> | |
| 24975 | + | filename="gobject/gparamspecs.c" | |
| 24976 | + | line="2166">nick name for the property specified</doc> | |
| 22498 | 24977 | <type name="utf8" c:type="const gchar*"/> | |
| 22499 | 24978 | </parameter> | |
| 22500 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 24979 | + | <parameter name="blurb" | |
| 24980 | + | transfer-ownership="none" | |
| 24981 | + | nullable="1" | |
| 24982 | + | allow-none="1"> | |
| 22501 | 24983 | <doc xml:space="preserve" | |
| 22502 | - | filename="gobject-2.0.c" | |
| 22503 | - | line="4528">description of the property specified</doc> | |
| 24984 | + | filename="gobject/gparamspecs.c" | |
| 24985 | + | line="2167">description of the property specified</doc> | |
| 22504 | 24986 | <type name="utf8" c:type="const gchar*"/> | |
| 22505 | 24987 | </parameter> | |
| 22506 | 24988 | <parameter name="minimum" transfer-ownership="none"> | |
| 22507 | 24989 | <doc xml:space="preserve" | |
| 22508 | - | filename="gobject-2.0.c" | |
| 22509 | - | line="4529">minimum value for the property specified</doc> | |
| 24990 | + | filename="gobject/gparamspecs.c" | |
| 24991 | + | line="2168">minimum value for the property specified</doc> | |
| 22510 | 24992 | <type name="guint64" c:type="guint64"/> | |
| 22511 | 24993 | </parameter> | |
| 22512 | 24994 | <parameter name="maximum" transfer-ownership="none"> | |
| 22513 | 24995 | <doc xml:space="preserve" | |
| 22514 | - | filename="gobject-2.0.c" | |
| 22515 | - | line="4530">maximum value for the property specified</doc> | |
| 24996 | + | filename="gobject/gparamspecs.c" | |
| 24997 | + | line="2169">maximum value for the property specified</doc> | |
| 22516 | 24998 | <type name="guint64" c:type="guint64"/> | |
| 22517 | 24999 | </parameter> | |
| 22518 | 25000 | <parameter name="default_value" transfer-ownership="none"> | |
| 22519 | 25001 | <doc xml:space="preserve" | |
| 22520 | - | filename="gobject-2.0.c" | |
| 22521 | - | line="4531">default value for the property specified</doc> | |
| 25002 | + | filename="gobject/gparamspecs.c" | |
| 25003 | + | line="2170">default value for the property specified</doc> | |
| 22522 | 25004 | <type name="guint64" c:type="guint64"/> | |
| 22523 | 25005 | </parameter> | |
| 22524 | 25006 | <parameter name="flags" transfer-ownership="none"> | |
| 22525 | 25007 | <doc xml:space="preserve" | |
| 22526 | - | filename="gobject-2.0.c" | |
| 22527 | - | line="4532">flags for the property specified</doc> | |
| 25008 | + | filename="gobject/gparamspecs.c" | |
| 25009 | + | line="2171">flags for the property specified</doc> | |
| 22528 | 25010 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22529 | 25011 | </parameter> | |
| 22530 | 25012 | </parameters> | |
| 22531 | 25013 | </function> | |
| 22532 | 25014 | <function name="param_spec_ulong" c:identifier="g_param_spec_ulong"> | |
| 22533 | 25015 | <doc xml:space="preserve" | |
| 22534 | - | filename="gobject-2.0.c" | |
| 22535 | - | line="4543">Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG | |
| 25016 | + | filename="gobject/gparamspecs.c" | |
| 25017 | + | line="2078">Creates a new #GParamSpecULong instance specifying a %G_TYPE_ULONG | |
| 22536 | 25018 | property. | |
| 22537 | 25019 | ||
| 22538 | 25020 | See g_param_spec_internal() for details on property names.</doc> | |
| 22539 | - | <source-position filename="gparamspecs.h" line="1034"/> | |
| 25021 | + | <source-position filename="gobject/gparamspecs.h" line="1036"/> | |
| 22540 | 25022 | <return-value transfer-ownership="full"> | |
| 22541 | 25023 | <doc xml:space="preserve" | |
| 22542 | - | filename="gobject-2.0.c" | |
| 22543 | - | line="4558">a newly created parameter specification</doc> | |
| 25024 | + | filename="gobject/gparamspecs.c" | |
| 25025 | + | line="2093">a newly created parameter specification</doc> | |
| 22544 | 25026 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22545 | 25027 | </return-value> | |
| 22546 | 25028 | <parameters> | |
| 22547 | 25029 | <parameter name="name" transfer-ownership="none"> | |
| 22548 | 25030 | <doc xml:space="preserve" | |
| 22549 | - | filename="gobject-2.0.c" | |
| 22550 | - | line="4545">canonical name of the property specified</doc> | |
| 25031 | + | filename="gobject/gparamspecs.c" | |
| 25032 | + | line="2080">canonical name of the property specified</doc> | |
| 22551 | 25033 | <type name="utf8" c:type="const gchar*"/> | |
| 22552 | 25034 | </parameter> | |
| 22553 | - | <parameter name="nick" transfer-ownership="none"> | |
| 25035 | + | <parameter name="nick" | |
| 25036 | + | transfer-ownership="none" | |
| 25037 | + | nullable="1" | |
| 25038 | + | allow-none="1"> | |
| 22554 | 25039 | <doc xml:space="preserve" | |
| 22555 | - | filename="gobject-2.0.c" | |
| 22556 | - | line="4546">nick name for the property specified</doc> | |
| 25040 | + | filename="gobject/gparamspecs.c" | |
| 25041 | + | line="2081">nick name for the property specified</doc> | |
| 22557 | 25042 | <type name="utf8" c:type="const gchar*"/> | |
| 22558 | 25043 | </parameter> | |
| 22559 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 25044 | + | <parameter name="blurb" | |
| 25045 | + | transfer-ownership="none" | |
| 25046 | + | nullable="1" | |
| 25047 | + | allow-none="1"> | |
| 22560 | 25048 | <doc xml:space="preserve" | |
| 22561 | - | filename="gobject-2.0.c" | |
| 22562 | - | line="4547">description of the property specified</doc> | |
| 25049 | + | filename="gobject/gparamspecs.c" | |
| 25050 | + | line="2082">description of the property specified</doc> | |
| 22563 | 25051 | <type name="utf8" c:type="const gchar*"/> | |
| 22564 | 25052 | </parameter> | |
| 22565 | 25053 | <parameter name="minimum" transfer-ownership="none"> | |
| 22566 | 25054 | <doc xml:space="preserve" | |
| 22567 | - | filename="gobject-2.0.c" | |
| 22568 | - | line="4548">minimum value for the property specified</doc> | |
| 25055 | + | filename="gobject/gparamspecs.c" | |
| 25056 | + | line="2083">minimum value for the property specified</doc> | |
| 22569 | 25057 | <type name="gulong" c:type="gulong"/> | |
| 22570 | 25058 | </parameter> | |
| 22571 | 25059 | <parameter name="maximum" transfer-ownership="none"> | |
| 22572 | 25060 | <doc xml:space="preserve" | |
| 22573 | - | filename="gobject-2.0.c" | |
| 22574 | - | line="4549">maximum value for the property specified</doc> | |
| 25061 | + | filename="gobject/gparamspecs.c" | |
| 25062 | + | line="2084">maximum value for the property specified</doc> | |
| 22575 | 25063 | <type name="gulong" c:type="gulong"/> | |
| 22576 | 25064 | </parameter> | |
| 22577 | 25065 | <parameter name="default_value" transfer-ownership="none"> | |
| 22578 | 25066 | <doc xml:space="preserve" | |
| 22579 | - | filename="gobject-2.0.c" | |
| 22580 | - | line="4550">default value for the property specified</doc> | |
| 25067 | + | filename="gobject/gparamspecs.c" | |
| 25068 | + | line="2085">default value for the property specified</doc> | |
| 22581 | 25069 | <type name="gulong" c:type="gulong"/> | |
| 22582 | 25070 | </parameter> | |
| 22583 | 25071 | <parameter name="flags" transfer-ownership="none"> | |
| 22584 | 25072 | <doc xml:space="preserve" | |
| 22585 | - | filename="gobject-2.0.c" | |
| 22586 | - | line="4551">flags for the property specified</doc> | |
| 25073 | + | filename="gobject/gparamspecs.c" | |
| 25074 | + | line="2086">flags for the property specified</doc> | |
| 22587 | 25075 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22588 | 25076 | </parameter> | |
| 22589 | 25077 | </parameters> | |
| 22590 | 25078 | </function> | |
| 22591 | 25079 | <function name="param_spec_unichar" c:identifier="g_param_spec_unichar"> | |
| 22592 | 25080 | <doc xml:space="preserve" | |
| 22593 | - | filename="gobject-2.0.c" | |
| 22594 | - | line="4562">Creates a new #GParamSpecUnichar instance specifying a %G_TYPE_UINT | |
| 25081 | + | filename="gobject/gparamspecs.c" | |
| 25082 | + | line="2206">Creates a new #GParamSpecUnichar instance specifying a %G_TYPE_UINT | |
| 22595 | 25083 | property. #GValue structures for this property can be accessed with | |
| 22596 | 25084 | g_value_set_uint() and g_value_get_uint(). | |
| 22597 | 25085 | ||
| 22598 | 25086 | See g_param_spec_internal() for details on property names.</doc> | |
| 22599 | - | <source-position filename="gparamspecs.h" line="1058"/> | |
| 25087 | + | <source-position filename="gobject/gparamspecs.h" line="1060"/> | |
| 22600 | 25088 | <return-value transfer-ownership="full"> | |
| 22601 | 25089 | <doc xml:space="preserve" | |
| 22602 | - | filename="gobject-2.0.c" | |
| 22603 | - | line="4576">a newly created parameter specification</doc> | |
| 25090 | + | filename="gobject/gparamspecs.c" | |
| 25091 | + | line="2220">a newly created parameter specification</doc> | |
| 22604 | 25092 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22605 | 25093 | </return-value> | |
| 22606 | 25094 | <parameters> | |
| 22607 | 25095 | <parameter name="name" transfer-ownership="none"> | |
| 22608 | 25096 | <doc xml:space="preserve" | |
| 22609 | - | filename="gobject-2.0.c" | |
| 22610 | - | line="4564">canonical name of the property specified</doc> | |
| 25097 | + | filename="gobject/gparamspecs.c" | |
| 25098 | + | line="2208">canonical name of the property specified</doc> | |
| 22611 | 25099 | <type name="utf8" c:type="const gchar*"/> | |
| 22612 | 25100 | </parameter> | |
| 22613 | - | <parameter name="nick" transfer-ownership="none"> | |
| 25101 | + | <parameter name="nick" | |
| 25102 | + | transfer-ownership="none" | |
| 25103 | + | nullable="1" | |
| 25104 | + | allow-none="1"> | |
| 22614 | 25105 | <doc xml:space="preserve" | |
| 22615 | - | filename="gobject-2.0.c" | |
| 22616 | - | line="4565">nick name for the property specified</doc> | |
| 25106 | + | filename="gobject/gparamspecs.c" | |
| 25107 | + | line="2209">nick name for the property specified</doc> | |
| 22617 | 25108 | <type name="utf8" c:type="const gchar*"/> | |
| 22618 | 25109 | </parameter> | |
| 22619 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 25110 | + | <parameter name="blurb" | |
| 25111 | + | transfer-ownership="none" | |
| 25112 | + | nullable="1" | |
| 25113 | + | allow-none="1"> | |
| 22620 | 25114 | <doc xml:space="preserve" | |
| 22621 | - | filename="gobject-2.0.c" | |
| 22622 | - | line="4566">description of the property specified</doc> | |
| 25115 | + | filename="gobject/gparamspecs.c" | |
| 25116 | + | line="2210">description of the property specified</doc> | |
| 22623 | 25117 | <type name="utf8" c:type="const gchar*"/> | |
| 22624 | 25118 | </parameter> | |
| 22625 | 25119 | <parameter name="default_value" transfer-ownership="none"> | |
| 22626 | 25120 | <doc xml:space="preserve" | |
| 22627 | - | filename="gobject-2.0.c" | |
| 22628 | - | line="4567">default value for the property specified</doc> | |
| 25121 | + | filename="gobject/gparamspecs.c" | |
| 25122 | + | line="2211">default value for the property specified</doc> | |
| 22629 | 25123 | <type name="gunichar" c:type="gunichar"/> | |
| 22630 | 25124 | </parameter> | |
| 22631 | 25125 | <parameter name="flags" transfer-ownership="none"> | |
| 22632 | 25126 | <doc xml:space="preserve" | |
| 22633 | - | filename="gobject-2.0.c" | |
| 22634 | - | line="4568">flags for the property specified</doc> | |
| 25127 | + | filename="gobject/gparamspecs.c" | |
| 25128 | + | line="2212">flags for the property specified</doc> | |
| 22635 | 25129 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22636 | 25130 | </parameter> | |
| 22637 | 25131 | </parameters> | |
| @@ -22640,50 +25134,56 @@ See g_param_spec_internal() for details on property names.</doc> | |||
| 22640 | 25134 | c:identifier="g_param_spec_value_array" | |
| 22641 | 25135 | introspectable="0"> | |
| 22642 | 25136 | <doc xml:space="preserve" | |
| 22643 | - | filename="gobject-2.0.c" | |
| 22644 | - | line="4588">Creates a new #GParamSpecValueArray instance specifying a | |
| 25137 | + | filename="gobject/gparamspecs.c" | |
| 25138 | + | line="2597">Creates a new #GParamSpecValueArray instance specifying a | |
| 22645 | 25139 | %G_TYPE_VALUE_ARRAY property. %G_TYPE_VALUE_ARRAY is a | |
| 22646 | 25140 | %G_TYPE_BOXED type, as such, #GValue structures for this property | |
| 22647 | 25141 | can be accessed with g_value_set_boxed() and g_value_get_boxed(). | |
| 22648 | 25142 | ||
| 22649 | 25143 | See g_param_spec_internal() for details on property names.</doc> | |
| 22650 | - | <source-position filename="gparamspecs.h" line="1117"/> | |
| 25144 | + | <source-position filename="gobject/gparamspecs.h" line="1119"/> | |
| 22651 | 25145 | <return-value> | |
| 22652 | 25146 | <doc xml:space="preserve" | |
| 22653 | - | filename="gobject-2.0.c" | |
| 22654 | - | line="4604">a newly created parameter specification</doc> | |
| 25147 | + | filename="gobject/gparamspecs.c" | |
| 25148 | + | line="2613">a newly created parameter specification</doc> | |
| 22655 | 25149 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22656 | 25150 | </return-value> | |
| 22657 | 25151 | <parameters> | |
| 22658 | 25152 | <parameter name="name" transfer-ownership="none"> | |
| 22659 | 25153 | <doc xml:space="preserve" | |
| 22660 | - | filename="gobject-2.0.c" | |
| 22661 | - | line="4590">canonical name of the property specified</doc> | |
| 25154 | + | filename="gobject/gparamspecs.c" | |
| 25155 | + | line="2599">canonical name of the property specified</doc> | |
| 22662 | 25156 | <type name="utf8" c:type="const gchar*"/> | |
| 22663 | 25157 | </parameter> | |
| 22664 | - | <parameter name="nick" transfer-ownership="none"> | |
| 25158 | + | <parameter name="nick" | |
| 25159 | + | transfer-ownership="none" | |
| 25160 | + | nullable="1" | |
| 25161 | + | allow-none="1"> | |
| 22665 | 25162 | <doc xml:space="preserve" | |
| 22666 | - | filename="gobject-2.0.c" | |
| 22667 | - | line="4591">nick name for the property specified</doc> | |
| 25163 | + | filename="gobject/gparamspecs.c" | |
| 25164 | + | line="2600">nick name for the property specified</doc> | |
| 22668 | 25165 | <type name="utf8" c:type="const gchar*"/> | |
| 22669 | 25166 | </parameter> | |
| 22670 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 25167 | + | <parameter name="blurb" | |
| 25168 | + | transfer-ownership="none" | |
| 25169 | + | nullable="1" | |
| 25170 | + | allow-none="1"> | |
| 22671 | 25171 | <doc xml:space="preserve" | |
| 22672 | - | filename="gobject-2.0.c" | |
| 22673 | - | line="4592">description of the property specified</doc> | |
| 25172 | + | filename="gobject/gparamspecs.c" | |
| 25173 | + | line="2601">description of the property specified</doc> | |
| 22674 | 25174 | <type name="utf8" c:type="const gchar*"/> | |
| 22675 | 25175 | </parameter> | |
| 22676 | 25176 | <parameter name="element_spec" transfer-ownership="none"> | |
| 22677 | 25177 | <doc xml:space="preserve" | |
| 22678 | - | filename="gobject-2.0.c" | |
| 22679 | - | line="4593">a #GParamSpec describing the elements contained in | |
| 25178 | + | filename="gobject/gparamspecs.c" | |
| 25179 | + | line="2602">a #GParamSpec describing the elements contained in | |
| 22680 | 25180 | arrays of this property, may be %NULL</doc> | |
| 22681 | 25181 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22682 | 25182 | </parameter> | |
| 22683 | 25183 | <parameter name="flags" transfer-ownership="none"> | |
| 22684 | 25184 | <doc xml:space="preserve" | |
| 22685 | - | filename="gobject-2.0.c" | |
| 22686 | - | line="4595">flags for the property specified</doc> | |
| 25185 | + | filename="gobject/gparamspecs.c" | |
| 25186 | + | line="2604">flags for the property specified</doc> | |
| 22687 | 25187 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22688 | 25188 | </parameter> | |
| 22689 | 25189 | </parameters> | |
| @@ -22692,43 +25192,49 @@ See g_param_spec_internal() for details on property names.</doc> | |||
| 22692 | 25192 | c:identifier="g_param_spec_variant" | |
| 22693 | 25193 | version="2.26"> | |
| 22694 | 25194 | <doc xml:space="preserve" | |
| 22695 | - | filename="gobject-2.0.c" | |
| 22696 | - | line="4608">Creates a new #GParamSpecVariant instance specifying a #GVariant | |
| 25195 | + | filename="gobject/gparamspecs.c" | |
| 25196 | + | line="2721">Creates a new #GParamSpecVariant instance specifying a #GVariant | |
| 22697 | 25197 | property. | |
| 22698 | 25198 | ||
| 22699 | 25199 | If @default_value is floating, it is consumed. | |
| 22700 | 25200 | ||
| 22701 | 25201 | See g_param_spec_internal() for details on property names.</doc> | |
| 22702 | - | <source-position filename="gparamspecs.h" line="1138"/> | |
| 25202 | + | <source-position filename="gobject/gparamspecs.h" line="1140"/> | |
| 22703 | 25203 | <return-value transfer-ownership="full"> | |
| 22704 | 25204 | <doc xml:space="preserve" | |
| 22705 | - | filename="gobject-2.0.c" | |
| 22706 | - | line="4625">the newly created #GParamSpec</doc> | |
| 25205 | + | filename="gobject/gparamspecs.c" | |
| 25206 | + | line="2738">the newly created #GParamSpec</doc> | |
| 22707 | 25207 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22708 | 25208 | </return-value> | |
| 22709 | 25209 | <parameters> | |
| 22710 | 25210 | <parameter name="name" transfer-ownership="none"> | |
| 22711 | 25211 | <doc xml:space="preserve" | |
| 22712 | - | filename="gobject-2.0.c" | |
| 22713 | - | line="4610">canonical name of the property specified</doc> | |
| 25212 | + | filename="gobject/gparamspecs.c" | |
| 25213 | + | line="2723">canonical name of the property specified</doc> | |
| 22714 | 25214 | <type name="utf8" c:type="const gchar*"/> | |
| 22715 | 25215 | </parameter> | |
| 22716 | - | <parameter name="nick" transfer-ownership="none"> | |
| 25216 | + | <parameter name="nick" | |
| 25217 | + | transfer-ownership="none" | |
| 25218 | + | nullable="1" | |
| 25219 | + | allow-none="1"> | |
| 22717 | 25220 | <doc xml:space="preserve" | |
| 22718 | - | filename="gobject-2.0.c" | |
| 22719 | - | line="4611">nick name for the property specified</doc> | |
| 25221 | + | filename="gobject/gparamspecs.c" | |
| 25222 | + | line="2724">nick name for the property specified</doc> | |
| 22720 | 25223 | <type name="utf8" c:type="const gchar*"/> | |
| 22721 | 25224 | </parameter> | |
| 22722 | - | <parameter name="blurb" transfer-ownership="none"> | |
| 25225 | + | <parameter name="blurb" | |
| 25226 | + | transfer-ownership="none" | |
| 25227 | + | nullable="1" | |
| 25228 | + | allow-none="1"> | |
| 22723 | 25229 | <doc xml:space="preserve" | |
| 22724 | - | filename="gobject-2.0.c" | |
| 22725 | - | line="4612">description of the property specified</doc> | |
| 25230 | + | filename="gobject/gparamspecs.c" | |
| 25231 | + | line="2725">description of the property specified</doc> | |
| 22726 | 25232 | <type name="utf8" c:type="const gchar*"/> | |
| 22727 | 25233 | </parameter> | |
| 22728 | 25234 | <parameter name="type" transfer-ownership="none"> | |
| 22729 | 25235 | <doc xml:space="preserve" | |
| 22730 | - | filename="gobject-2.0.c" | |
| 22731 | - | line="4613">a #GVariantType</doc> | |
| 25236 | + | filename="gobject/gparamspecs.c" | |
| 25237 | + | line="2726">a #GVariantType</doc> | |
| 22732 | 25238 | <type name="GLib.VariantType" c:type="const GVariantType*"/> | |
| 22733 | 25239 | </parameter> | |
| 22734 | 25240 | <parameter name="default_value" | |
| @@ -22736,15 +25242,15 @@ See g_param_spec_internal() for details on property names.</doc> | |||
| 22736 | 25242 | nullable="1" | |
| 22737 | 25243 | allow-none="1"> | |
| 22738 | 25244 | <doc xml:space="preserve" | |
| 22739 | - | filename="gobject-2.0.c" | |
| 22740 | - | line="4614">a #GVariant of type @type to | |
| 25245 | + | filename="gobject/gparamspecs.c" | |
| 25246 | + | line="2727">a #GVariant of type @type to | |
| 22741 | 25247 | use as the default value, or %NULL</doc> | |
| 22742 | 25248 | <type name="GLib.Variant" c:type="GVariant*"/> | |
| 22743 | 25249 | </parameter> | |
| 22744 | 25250 | <parameter name="flags" transfer-ownership="none"> | |
| 22745 | 25251 | <doc xml:space="preserve" | |
| 22746 | - | filename="gobject-2.0.c" | |
| 22747 | - | line="4616">flags for the property specified</doc> | |
| 25252 | + | filename="gobject/gparamspecs.c" | |
| 25253 | + | line="2729">flags for the property specified</doc> | |
| 22748 | 25254 | <type name="ParamFlags" c:type="GParamFlags"/> | |
| 22749 | 25255 | </parameter> | |
| 22750 | 25256 | </parameters> | |
| @@ -22752,76 +25258,76 @@ See g_param_spec_internal() for details on property names.</doc> | |||
| 22752 | 25258 | <function name="param_type_register_static" | |
| 22753 | 25259 | c:identifier="g_param_type_register_static"> | |
| 22754 | 25260 | <doc xml:space="preserve" | |
| 22755 | - | filename="gobject-2.0.c" | |
| 22756 | - | line="4630">Registers @name as the name of a new static type derived | |
| 25261 | + | filename="gobject/gparam.c" | |
| 25262 | + | line="1470">Registers @name as the name of a new static type derived | |
| 22757 | 25263 | from %G_TYPE_PARAM. | |
| 22758 | 25264 | ||
| 22759 | 25265 | The type system uses the information contained in the #GParamSpecTypeInfo | |
| 22760 | 25266 | structure pointed to by @info to manage the #GParamSpec type and its | |
| 22761 | 25267 | instances.</doc> | |
| 22762 | - | <source-position filename="gparam.h" line="398"/> | |
| 25268 | + | <source-position filename="gobject/gparam.h" line="408"/> | |
| 22763 | 25269 | <return-value transfer-ownership="none"> | |
| 22764 | 25270 | <doc xml:space="preserve" | |
| 22765 | - | filename="gobject-2.0.c" | |
| 22766 | - | line="4642">The new type identifier.</doc> | |
| 25271 | + | filename="gobject/gparam.c" | |
| 25272 | + | line="1482">The new type identifier.</doc> | |
| 22767 | 25273 | <type name="GType" c:type="GType"/> | |
| 22768 | 25274 | </return-value> | |
| 22769 | 25275 | <parameters> | |
| 22770 | 25276 | <parameter name="name" transfer-ownership="none"> | |
| 22771 | 25277 | <doc xml:space="preserve" | |
| 22772 | - | filename="gobject-2.0.c" | |
| 22773 | - | line="4632">0-terminated string used as the name of the new #GParamSpec type.</doc> | |
| 25278 | + | filename="gobject/gparam.c" | |
| 25279 | + | line="1472">0-terminated string used as the name of the new #GParamSpec type.</doc> | |
| 22774 | 25280 | <type name="utf8" c:type="const gchar*"/> | |
| 22775 | 25281 | </parameter> | |
| 22776 | 25282 | <parameter name="pspec_info" transfer-ownership="none"> | |
| 22777 | 25283 | <doc xml:space="preserve" | |
| 22778 | - | filename="gobject-2.0.c" | |
| 22779 | - | line="4633">The #GParamSpecTypeInfo for this #GParamSpec type.</doc> | |
| 25284 | + | filename="gobject/gparam.c" | |
| 25285 | + | line="1473">The #GParamSpecTypeInfo for this #GParamSpec type.</doc> | |
| 22780 | 25286 | <type name="ParamSpecTypeInfo" c:type="const GParamSpecTypeInfo*"/> | |
| 22781 | 25287 | </parameter> | |
| 22782 | 25288 | </parameters> | |
| 22783 | 25289 | </function> | |
| 22784 | 25290 | <function name="param_value_convert" c:identifier="g_param_value_convert"> | |
| 22785 | 25291 | <doc xml:space="preserve" | |
| 22786 | - | filename="gobject-2.0.c" | |
| 22787 | - | line="4646">Transforms @src_value into @dest_value if possible, and then | |
| 25292 | + | filename="gobject/gparam.c" | |
| 25293 | + | line="754">Transforms @src_value into @dest_value if possible, and then | |
| 22788 | 25294 | validates @dest_value, in order for it to conform to @pspec. If | |
| 22789 | 25295 | @strict_validation is %TRUE this function will only succeed if the | |
| 22790 | 25296 | transformed @dest_value complied to @pspec without modifications. | |
| 22791 | 25297 | ||
| 22792 | 25298 | See also g_value_type_transformable(), g_value_transform() and | |
| 22793 | 25299 | g_param_value_validate().</doc> | |
| 22794 | - | <source-position filename="gparam.h" line="317"/> | |
| 25300 | + | <source-position filename="gobject/gparam.h" line="327"/> | |
| 22795 | 25301 | <return-value transfer-ownership="none"> | |
| 22796 | 25302 | <doc xml:space="preserve" | |
| 22797 | - | filename="gobject-2.0.c" | |
| 22798 | - | line="4662">%TRUE if transformation and validation were successful, | |
| 25303 | + | filename="gobject/gparam.c" | |
| 25304 | + | line="770">%TRUE if transformation and validation were successful, | |
| 22799 | 25305 | %FALSE otherwise and @dest_value is left untouched.</doc> | |
| 22800 | 25306 | <type name="gboolean" c:type="gboolean"/> | |
| 22801 | 25307 | </return-value> | |
| 22802 | 25308 | <parameters> | |
| 22803 | 25309 | <parameter name="pspec" transfer-ownership="none"> | |
| 22804 | 25310 | <doc xml:space="preserve" | |
| 22805 | - | filename="gobject-2.0.c" | |
| 22806 | - | line="4648">a valid #GParamSpec</doc> | |
| 25311 | + | filename="gobject/gparam.c" | |
| 25312 | + | line="756">a valid #GParamSpec</doc> | |
| 22807 | 25313 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22808 | 25314 | </parameter> | |
| 22809 | 25315 | <parameter name="src_value" transfer-ownership="none"> | |
| 22810 | 25316 | <doc xml:space="preserve" | |
| 22811 | - | filename="gobject-2.0.c" | |
| 22812 | - | line="4649">source #GValue</doc> | |
| 25317 | + | filename="gobject/gparam.c" | |
| 25318 | + | line="757">source #GValue</doc> | |
| 22813 | 25319 | <type name="Value" c:type="const GValue*"/> | |
| 22814 | 25320 | </parameter> | |
| 22815 | 25321 | <parameter name="dest_value" transfer-ownership="none"> | |
| 22816 | 25322 | <doc xml:space="preserve" | |
| 22817 | - | filename="gobject-2.0.c" | |
| 22818 | - | line="4650">destination #GValue of correct type for @pspec</doc> | |
| 25323 | + | filename="gobject/gparam.c" | |
| 25324 | + | line="758">destination #GValue of correct type for @pspec</doc> | |
| 22819 | 25325 | <type name="Value" c:type="GValue*"/> | |
| 22820 | 25326 | </parameter> | |
| 22821 | 25327 | <parameter name="strict_validation" transfer-ownership="none"> | |
| 22822 | 25328 | <doc xml:space="preserve" | |
| 22823 | - | filename="gobject-2.0.c" | |
| 22824 | - | line="4651">%TRUE requires @dest_value to conform to @pspec | |
| 25329 | + | filename="gobject/gparam.c" | |
| 25330 | + | line="759">%TRUE requires @dest_value to conform to @pspec | |
| 22825 | 25331 | without modifications</doc> | |
| 22826 | 25332 | <type name="gboolean" c:type="gboolean"/> | |
| 22827 | 25333 | </parameter> | |
| @@ -22830,26 +25336,56 @@ without modifications</doc> | |||
| 22830 | 25336 | <function name="param_value_defaults" | |
| 22831 | 25337 | c:identifier="g_param_value_defaults"> | |
| 22832 | 25338 | <doc xml:space="preserve" | |
| 22833 | - | filename="gobject-2.0.c" | |
| 22834 | - | line="4667">Checks whether @value contains the default value as specified in @pspec.</doc> | |
| 22835 | - | <source-position filename="gparam.h" line="311"/> | |
| 25339 | + | filename="gobject/gparam.c" | |
| 25340 | + | line="647">Checks whether @value contains the default value as specified in @pspec.</doc> | |
| 25341 | + | <source-position filename="gobject/gparam.h" line="318"/> | |
| 25342 | + | <return-value transfer-ownership="none"> | |
| 25343 | + | <doc xml:space="preserve" | |
| 25344 | + | filename="gobject/gparam.c" | |
| 25345 | + | line="654">whether @value contains the canonical default for this @pspec</doc> | |
| 25346 | + | <type name="gboolean" c:type="gboolean"/> | |
| 25347 | + | </return-value> | |
| 25348 | + | <parameters> | |
| 25349 | + | <parameter name="pspec" transfer-ownership="none"> | |
| 25350 | + | <doc xml:space="preserve" | |
| 25351 | + | filename="gobject/gparam.c" | |
| 25352 | + | line="649">a valid #GParamSpec</doc> | |
| 25353 | + | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 25354 | + | </parameter> | |
| 25355 | + | <parameter name="value" transfer-ownership="none"> | |
| 25356 | + | <doc xml:space="preserve" | |
| 25357 | + | filename="gobject/gparam.c" | |
| 25358 | + | line="650">a #GValue of correct type for @pspec</doc> | |
| 25359 | + | <type name="Value" c:type="const GValue*"/> | |
| 25360 | + | </parameter> | |
| 25361 | + | </parameters> | |
| 25362 | + | </function> | |
| 25363 | + | <function name="param_value_is_valid" | |
| 25364 | + | c:identifier="g_param_value_is_valid" | |
| 25365 | + | version="2.74"> | |
| 25366 | + | <doc xml:space="preserve" | |
| 25367 | + | filename="gobject/gparam.c" | |
| 25368 | + | line="709">Return whether the contents of @value comply with the specifications | |
| 25369 | + | set out by @pspec.</doc> | |
| 25370 | + | <source-position filename="gobject/gparam.h" line="324"/> | |
| 22836 | 25371 | <return-value transfer-ownership="none"> | |
| 22837 | 25372 | <doc xml:space="preserve" | |
| 22838 | - | filename="gobject-2.0.c" | |
| 22839 | - | line="4674">whether @value contains the canonical default for this @pspec</doc> | |
| 25373 | + | filename="gobject/gparam.c" | |
| 25374 | + | line="717">whether the contents of @value comply with the specifications | |
| 25375 | + | set out by @pspec.</doc> | |
| 22840 | 25376 | <type name="gboolean" c:type="gboolean"/> | |
| 22841 | 25377 | </return-value> | |
| 22842 | 25378 | <parameters> | |
| 22843 | 25379 | <parameter name="pspec" transfer-ownership="none"> | |
| 22844 | 25380 | <doc xml:space="preserve" | |
| 22845 | - | filename="gobject-2.0.c" | |
| 22846 | - | line="4669">a valid #GParamSpec</doc> | |
| 25381 | + | filename="gobject/gparam.c" | |
| 25382 | + | line="711">a valid #GParamSpec</doc> | |
| 22847 | 25383 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22848 | 25384 | </parameter> | |
| 22849 | 25385 | <parameter name="value" transfer-ownership="none"> | |
| 22850 | 25386 | <doc xml:space="preserve" | |
| 22851 | - | filename="gobject-2.0.c" | |
| 22852 | - | line="4670">a #GValue of correct type for @pspec</doc> | |
| 25387 | + | filename="gobject/gparam.c" | |
| 25388 | + | line="712">a #GValue of correct type for @pspec</doc> | |
| 22853 | 25389 | <type name="Value" c:type="const GValue*"/> | |
| 22854 | 25390 | </parameter> | |
| 22855 | 25391 | </parameters> | |
| @@ -22857,107 +25393,90 @@ without modifications</doc> | |||
| 22857 | 25393 | <function name="param_value_set_default" | |
| 22858 | 25394 | c:identifier="g_param_value_set_default"> | |
| 22859 | 25395 | <doc xml:space="preserve" | |
| 22860 | - | filename="gobject-2.0.c" | |
| 22861 | - | line="4678">Sets @value to its default value as specified in @pspec.</doc> | |
| 22862 | - | <source-position filename="gparam.h" line="308"/> | |
| 25396 | + | filename="gobject/gparam.c" | |
| 25397 | + | line="619">Sets @value to its default value as specified in @pspec.</doc> | |
| 25398 | + | <source-position filename="gobject/gparam.h" line="315"/> | |
| 22863 | 25399 | <return-value transfer-ownership="none"> | |
| 22864 | 25400 | <type name="none" c:type="void"/> | |
| 22865 | 25401 | </return-value> | |
| 22866 | 25402 | <parameters> | |
| 22867 | 25403 | <parameter name="pspec" transfer-ownership="none"> | |
| 22868 | 25404 | <doc xml:space="preserve" | |
| 22869 | - | filename="gobject-2.0.c" | |
| 22870 | - | line="4680">a valid #GParamSpec</doc> | |
| 25405 | + | filename="gobject/gparam.c" | |
| 25406 | + | line="621">a valid #GParamSpec</doc> | |
| 22871 | 25407 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22872 | 25408 | </parameter> | |
| 22873 | 25409 | <parameter name="value" transfer-ownership="none"> | |
| 22874 | 25410 | <doc xml:space="preserve" | |
| 22875 | - | filename="gobject-2.0.c" | |
| 22876 | - | line="4681">a #GValue of correct type for @pspec; since 2.64, you | |
| 25411 | + | filename="gobject/gparam.c" | |
| 25412 | + | line="622">a #GValue of correct type for @pspec; since 2.64, you | |
| 22877 | 25413 | can also pass an empty #GValue, initialized with %G_VALUE_INIT</doc> | |
| 22878 | 25414 | <type name="Value" c:type="GValue*"/> | |
| 22879 | 25415 | </parameter> | |
| 22880 | 25416 | </parameters> | |
| 22881 | 25417 | </function> | |
| 22882 | - | <docsection name="param_value_types"> | |
| 22883 | - | <doc xml:space="preserve" | |
| 22884 | - | filename="gobject-2.0.c" | |
| 22885 | - | line="819">#GValue provides an abstract container structure which can be | |
| 22886 | - | copied, transformed and compared while holding a value of any | |
| 22887 | - | (derived) type, which is registered as a #GType with a | |
| 22888 | - | #GTypeValueTable in its #GTypeInfo structure. Parameter | |
| 22889 | - | specifications for most value types can be created as #GParamSpec | |
| 22890 | - | derived instances, to implement e.g. #GObject properties which | |
| 22891 | - | operate on #GValue containers. | |
| 22892 | - | ||
| 22893 | - | Parameter names need to start with a letter (a-z or A-Z). Subsequent | |
| 22894 | - | characters can be letters, numbers or a '-'. | |
| 22895 | - | All other characters are replaced by a '-' during construction. | |
| 22896 | - | ||
| 22897 | - | See also #GValue for more information.</doc> | |
| 22898 | - | </docsection> | |
| 22899 | 25418 | <function name="param_value_validate" | |
| 22900 | 25419 | c:identifier="g_param_value_validate"> | |
| 22901 | 25420 | <doc xml:space="preserve" | |
| 22902 | - | filename="gobject-2.0.c" | |
| 22903 | - | line="4688">Ensures that the contents of @value comply with the specifications | |
| 25421 | + | filename="gobject/gparam.c" | |
| 25422 | + | line="675">Ensures that the contents of @value comply with the specifications | |
| 22904 | 25423 | set out by @pspec. For example, a #GParamSpecInt might require | |
| 22905 | 25424 | that integers stored in @value may not be smaller than -42 and not be | |
| 22906 | 25425 | greater than +42. If @value contains an integer outside of this range, | |
| 22907 | 25426 | it is modified accordingly, so the resulting value will fit into the | |
| 22908 | 25427 | range -42 .. +42.</doc> | |
| 22909 | - | <source-position filename="gparam.h" line="314"/> | |
| 25428 | + | <source-position filename="gobject/gparam.h" line="321"/> | |
| 22910 | 25429 | <return-value transfer-ownership="none"> | |
| 22911 | 25430 | <doc xml:space="preserve" | |
| 22912 | - | filename="gobject-2.0.c" | |
| 22913 | - | line="4700">whether modifying @value was necessary to ensure validity</doc> | |
| 25431 | + | filename="gobject/gparam.c" | |
| 25432 | + | line="687">whether modifying @value was necessary to ensure validity</doc> | |
| 22914 | 25433 | <type name="gboolean" c:type="gboolean"/> | |
| 22915 | 25434 | </return-value> | |
| 22916 | 25435 | <parameters> | |
| 22917 | 25436 | <parameter name="pspec" transfer-ownership="none"> | |
| 22918 | 25437 | <doc xml:space="preserve" | |
| 22919 | - | filename="gobject-2.0.c" | |
| 22920 | - | line="4690">a valid #GParamSpec</doc> | |
| 25438 | + | filename="gobject/gparam.c" | |
| 25439 | + | line="677">a valid #GParamSpec</doc> | |
| 22921 | 25440 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22922 | 25441 | </parameter> | |
| 22923 | 25442 | <parameter name="value" transfer-ownership="none"> | |
| 22924 | 25443 | <doc xml:space="preserve" | |
| 22925 | - | filename="gobject-2.0.c" | |
| 22926 | - | line="4691">a #GValue of correct type for @pspec</doc> | |
| 25444 | + | filename="gobject/gparam.c" | |
| 25445 | + | line="678">a #GValue of correct type for @pspec</doc> | |
| 22927 | 25446 | <type name="Value" c:type="GValue*"/> | |
| 22928 | 25447 | </parameter> | |
| 22929 | 25448 | </parameters> | |
| 22930 | 25449 | </function> | |
| 22931 | 25450 | <function name="param_values_cmp" c:identifier="g_param_values_cmp"> | |
| 22932 | 25451 | <doc xml:space="preserve" | |
| 22933 | - | filename="gobject-2.0.c" | |
| 22934 | - | line="4704">Compares @value1 with @value2 according to @pspec, and return -1, 0 or +1, | |
| 25452 | + | filename="gobject/gparam.c" | |
| 25453 | + | line="807">Compares @value1 with @value2 according to @pspec, and return -1, 0 or +1, | |
| 22935 | 25454 | if @value1 is found to be less than, equal to or greater than @value2, | |
| 22936 | 25455 | respectively.</doc> | |
| 22937 | - | <source-position filename="gparam.h" line="322"/> | |
| 25456 | + | <source-position filename="gobject/gparam.h" line="332"/> | |
| 22938 | 25457 | <return-value transfer-ownership="none"> | |
| 22939 | 25458 | <doc xml:space="preserve" | |
| 22940 | - | filename="gobject-2.0.c" | |
| 22941 | - | line="4714">-1, 0 or +1, for a less than, equal to or greater than result</doc> | |
| 25459 | + | filename="gobject/gparam.c" | |
| 25460 | + | line="817">-1, 0 or +1, for a less than, equal to or greater than result</doc> | |
| 22942 | 25461 | <type name="gint" c:type="gint"/> | |
| 22943 | 25462 | </return-value> | |
| 22944 | 25463 | <parameters> | |
| 22945 | 25464 | <parameter name="pspec" transfer-ownership="none"> | |
| 22946 | 25465 | <doc xml:space="preserve" | |
| 22947 | - | filename="gobject-2.0.c" | |
| 22948 | - | line="4706">a valid #GParamSpec</doc> | |
| 25466 | + | filename="gobject/gparam.c" | |
| 25467 | + | line="809">a valid #GParamSpec</doc> | |
| 22949 | 25468 | <type name="ParamSpec" c:type="GParamSpec*"/> | |
| 22950 | 25469 | </parameter> | |
| 22951 | 25470 | <parameter name="value1" transfer-ownership="none"> | |
| 22952 | 25471 | <doc xml:space="preserve" | |
| 22953 | - | filename="gobject-2.0.c" | |
| 22954 | - | line="4707">a #GValue of correct type for @pspec</doc> | |
| 25472 | + | filename="gobject/gparam.c" | |
| 25473 | + | line="810">a #GValue of correct type for @pspec</doc> | |
| 22955 | 25474 | <type name="Value" c:type="const GValue*"/> | |
| 22956 | 25475 | </parameter> | |
| 22957 | 25476 | <parameter name="value2" transfer-ownership="none"> | |
| 22958 | 25477 | <doc xml:space="preserve" | |
| 22959 | - | filename="gobject-2.0.c" | |
| 22960 | - | line="4708">a #GValue of correct type for @pspec</doc> | |
| 25478 | + | filename="gobject/gparam.c" | |
| 25479 | + | line="811">a #GValue of correct type for @pspec</doc> | |
| 22961 | 25480 | <type name="Value" c:type="const GValue*"/> | |
| 22962 | 25481 | </parameter> | |
| 22963 | 25482 | </parameters> | |
| @@ -22965,21 +25484,21 @@ respectively.</doc> | |||
| 22965 | 25484 | <function name="pointer_type_register_static" | |
| 22966 | 25485 | c:identifier="g_pointer_type_register_static"> | |
| 22967 | 25486 | <doc xml:space="preserve" | |
| 22968 | - | filename="gobject-2.0.c" | |
| 22969 | - | line="4718">Creates a new %G_TYPE_POINTER derived type id for a new | |
| 25487 | + | filename="gobject/gvaluetypes.c" | |
| 25488 | + | line="1473">Creates a new %G_TYPE_POINTER derived type id for a new | |
| 22970 | 25489 | pointer type with name @name.</doc> | |
| 22971 | - | <source-position filename="gvaluetypes.h" line="290"/> | |
| 25490 | + | <source-position filename="gobject/gvaluetypes.h" line="294"/> | |
| 22972 | 25491 | <return-value transfer-ownership="none"> | |
| 22973 | 25492 | <doc xml:space="preserve" | |
| 22974 | - | filename="gobject-2.0.c" | |
| 22975 | - | line="4725">a new %G_TYPE_POINTER derived type id for @name.</doc> | |
| 25493 | + | filename="gobject/gvaluetypes.c" | |
| 25494 | + | line="1480">a new %G_TYPE_POINTER derived type id for @name.</doc> | |
| 22976 | 25495 | <type name="GType" c:type="GType"/> | |
| 22977 | 25496 | </return-value> | |
| 22978 | 25497 | <parameters> | |
| 22979 | 25498 | <parameter name="name" transfer-ownership="none"> | |
| 22980 | 25499 | <doc xml:space="preserve" | |
| 22981 | - | filename="gobject-2.0.c" | |
| 22982 | - | line="4720">the name of the new pointer type.</doc> | |
| 25500 | + | filename="gobject/gvaluetypes.c" | |
| 25501 | + | line="1475">the name of the new pointer type.</doc> | |
| 22983 | 25502 | <type name="utf8" c:type="const gchar*"/> | |
| 22984 | 25503 | </parameter> | |
| 22985 | 25504 | </parameters> | |
| @@ -22989,8 +25508,8 @@ pointer type with name @name.</doc> | |||
| 22989 | 25508 | version="2.44" | |
| 22990 | 25509 | introspectable="0"> | |
| 22991 | 25510 | <doc xml:space="preserve" | |
| 22992 | - | filename="gobject.h" | |
| 22993 | - | line="705">Updates a #GObject pointer to refer to @new_object. | |
| 25511 | + | filename="gobject/gobject.h" | |
| 25512 | + | line="697">Updates a #GObject pointer to refer to @new_object. | |
| 22994 | 25513 | ||
| 22995 | 25514 | It increments the reference count of @new_object (if non-%NULL), decrements | |
| 22996 | 25515 | the reference count of the current value of @object_ptr (if non-%NULL), and | |
| @@ -23015,17 +25534,17 @@ One convenient usage of this function is in implementing property setters: | |||
| 23015 | 25534 | g_object_notify (foo, "bar"); | |
| 23016 | 25535 | } | |
| 23017 | 25536 | ]|</doc> | |
| 23018 | - | <source-position filename="gobject.h" line="770"/> | |
| 25537 | + | <source-position filename="gobject/gobject.h" line="762"/> | |
| 23019 | 25538 | <parameters> | |
| 23020 | 25539 | <parameter name="object_ptr"> | |
| 23021 | 25540 | <doc xml:space="preserve" | |
| 23022 | - | filename="gobject.h" | |
| 23023 | - | line="707">a pointer to a #GObject reference</doc> | |
| 25541 | + | filename="gobject/gobject.h" | |
| 25542 | + | line="699">a pointer to a #GObject reference</doc> | |
| 23024 | 25543 | </parameter> | |
| 23025 | 25544 | <parameter name="new_object"> | |
| 23026 | 25545 | <doc xml:space="preserve" | |
| 23027 | - | filename="gobject.h" | |
| 23028 | - | line="708">a pointer to the new #GObject to | |
| 25546 | + | filename="gobject/gobject.h" | |
| 25547 | + | line="700">a pointer to the new #GObject to | |
| 23029 | 25548 | assign to @object_ptr, or %NULL to clear the pointer</doc> | |
| 23030 | 25549 | </parameter> | |
| 23031 | 25550 | </parameters> | |
| @@ -23035,8 +25554,8 @@ One convenient usage of this function is in implementing property setters: | |||
| 23035 | 25554 | version="2.56" | |
| 23036 | 25555 | introspectable="0"> | |
| 23037 | 25556 | <doc xml:space="preserve" | |
| 23038 | - | filename="gobject.h" | |
| 23039 | - | line="859">Updates a pointer to weakly refer to @new_object. | |
| 25557 | + | filename="gobject/gobject.h" | |
| 25558 | + | line="851">Updates a pointer to weakly refer to @new_object. | |
| 23040 | 25559 | ||
| 23041 | 25560 | It assigns @new_object to @weak_pointer_location and ensures | |
| 23042 | 25561 | that @weak_pointer_location will automatically be set to %NULL | |
| @@ -23063,17 +25582,17 @@ One convenient usage of this function is in implementing property setters: | |||
| 23063 | 25582 | g_object_notify (foo, "bar"); | |
| 23064 | 25583 | } | |
| 23065 | 25584 | ]|</doc> | |
| 23066 | - | <source-position filename="gobject.h" line="922"/> | |
| 25585 | + | <source-position filename="gobject/gobject.h" line="914"/> | |
| 23067 | 25586 | <parameters> | |
| 23068 | 25587 | <parameter name="weak_pointer_location"> | |
| 23069 | 25588 | <doc xml:space="preserve" | |
| 23070 | - | filename="gobject.h" | |
| 23071 | - | line="861">the memory address of a pointer</doc> | |
| 25589 | + | filename="gobject/gobject.h" | |
| 25590 | + | line="853">the memory address of a pointer</doc> | |
| 23072 | 25591 | </parameter> | |
| 23073 | 25592 | <parameter name="new_object"> | |
| 23074 | 25593 | <doc xml:space="preserve" | |
| 23075 | - | filename="gobject.h" | |
| 23076 | - | line="862">a pointer to the new #GObject to | |
| 25594 | + | filename="gobject/gobject.h" | |
| 25595 | + | line="854">a pointer to the new #GObject to | |
| 23077 | 25596 | assign to it, or %NULL to clear the pointer</doc> | |
| 23078 | 25597 | </parameter> | |
| 23079 | 25598 | </parameters> | |
| @@ -23082,8 +25601,8 @@ One convenient usage of this function is in implementing property setters: | |||
| 23082 | 25601 | c:identifier="g_signal_accumulator_first_wins" | |
| 23083 | 25602 | version="2.28"> | |
| 23084 | 25603 | <doc xml:space="preserve" | |
| 23085 | - | filename="gobject-2.0.c" | |
| 23086 | - | line="4729">A predefined #GSignalAccumulator for signals intended to be used as a | |
| 25604 | + | filename="gobject/gsignal.c" | |
| 25605 | + | line="4141">A predefined #GSignalAccumulator for signals intended to be used as a | |
| 23087 | 25606 | hook for application code to provide a particular value. Usually | |
| 23088 | 25607 | only one such value is desired and multiple handlers for the same | |
| 23089 | 25608 | signal don't make much sense (except for the case of the default | |
| @@ -23093,30 +25612,30 @@ usually want the signal connection to override the class handler). | |||
| 23093 | 25612 | This accumulator will use the return value from the first signal | |
| 23094 | 25613 | handler that is run as the return value for the signal and not run | |
| 23095 | 25614 | any further handlers (ie: the first handler "wins").</doc> | |
| 23096 | - | <source-position filename="gsignal.h" line="628"/> | |
| 25615 | + | <source-position filename="gobject/gsignal.h" line="685"/> | |
| 23097 | 25616 | <return-value transfer-ownership="none"> | |
| 23098 | 25617 | <doc xml:space="preserve" | |
| 23099 | - | filename="gobject-2.0.c" | |
| 23100 | - | line="4747">standard #GSignalAccumulator result</doc> | |
| 25618 | + | filename="gobject/gsignal.c" | |
| 25619 | + | line="4159">standard #GSignalAccumulator result</doc> | |
| 23101 | 25620 | <type name="gboolean" c:type="gboolean"/> | |
| 23102 | 25621 | </return-value> | |
| 23103 | 25622 | <parameters> | |
| 23104 | 25623 | <parameter name="ihint" transfer-ownership="none"> | |
| 23105 | 25624 | <doc xml:space="preserve" | |
| 23106 | - | filename="gobject-2.0.c" | |
| 23107 | - | line="4731">standard #GSignalAccumulator parameter</doc> | |
| 25625 | + | filename="gobject/gsignal.c" | |
| 25626 | + | line="4143">standard #GSignalAccumulator parameter</doc> | |
| 23108 | 25627 | <type name="SignalInvocationHint" c:type="GSignalInvocationHint*"/> | |
| 23109 | 25628 | </parameter> | |
| 23110 | 25629 | <parameter name="return_accu" transfer-ownership="none"> | |
| 23111 | 25630 | <doc xml:space="preserve" | |
| 23112 | - | filename="gobject-2.0.c" | |
| 23113 | - | line="4732">standard #GSignalAccumulator parameter</doc> | |
| 25631 | + | filename="gobject/gsignal.c" | |
| 25632 | + | line="4144">standard #GSignalAccumulator parameter</doc> | |
| 23114 | 25633 | <type name="Value" c:type="GValue*"/> | |
| 23115 | 25634 | </parameter> | |
| 23116 | 25635 | <parameter name="handler_return" transfer-ownership="none"> | |
| 23117 | 25636 | <doc xml:space="preserve" | |
| 23118 | - | filename="gobject-2.0.c" | |
| 23119 | - | line="4733">standard #GSignalAccumulator parameter</doc> | |
| 25637 | + | filename="gobject/gsignal.c" | |
| 25638 | + | line="4145">standard #GSignalAccumulator parameter</doc> | |
| 23120 | 25639 | <type name="Value" c:type="const GValue*"/> | |
| 23121 | 25640 | </parameter> | |
| 23122 | 25641 | <parameter name="dummy" | |
| @@ -23124,8 +25643,8 @@ any further handlers (ie: the first handler "wins").</doc> | |||
| 23124 | 25643 | nullable="1" | |
| 23125 | 25644 | allow-none="1"> | |
| 23126 | 25645 | <doc xml:space="preserve" | |
| 23127 | - | filename="gobject-2.0.c" | |
| 23128 | - | line="4734">standard #GSignalAccumulator parameter</doc> | |
| 25646 | + | filename="gobject/gsignal.c" | |
| 25647 | + | line="4146">standard #GSignalAccumulator parameter</doc> | |
| 23129 | 25648 | <type name="gpointer" c:type="gpointer"/> | |
| 23130 | 25649 | </parameter> | |
| 23131 | 25650 | </parameters> | |
| @@ -23134,38 +25653,38 @@ any further handlers (ie: the first handler "wins").</doc> | |||
| 23134 | 25653 | c:identifier="g_signal_accumulator_true_handled" | |
| 23135 | 25654 | version="2.4"> | |
| 23136 | 25655 | <doc xml:space="preserve" | |
| 23137 | - | filename="gobject-2.0.c" | |
| 23138 | - | line="4752">A predefined #GSignalAccumulator for signals that return a | |
| 25656 | + | filename="gobject/gsignal.c" | |
| 25657 | + | line="4106">A predefined #GSignalAccumulator for signals that return a | |
| 23139 | 25658 | boolean values. The behavior that this accumulator gives is | |
| 23140 | 25659 | that a return of %TRUE stops the signal emission: no further | |
| 23141 | 25660 | callbacks will be invoked, while a return of %FALSE allows | |
| 23142 | 25661 | the emission to continue. The idea here is that a %TRUE return | |
| 23143 | 25662 | indicates that the callback handled the signal, and no further | |
| 23144 | 25663 | handling is needed.</doc> | |
| 23145 | - | <source-position filename="gsignal.h" line="622"/> | |
| 25664 | + | <source-position filename="gobject/gsignal.h" line="679"/> | |
| 23146 | 25665 | <return-value transfer-ownership="none"> | |
| 23147 | 25666 | <doc xml:space="preserve" | |
| 23148 | - | filename="gobject-2.0.c" | |
| 23149 | - | line="4768">standard #GSignalAccumulator result</doc> | |
| 25667 | + | filename="gobject/gsignal.c" | |
| 25668 | + | line="4123">standard #GSignalAccumulator result</doc> | |
| 23150 | 25669 | <type name="gboolean" c:type="gboolean"/> | |
| 23151 | 25670 | </return-value> | |
| 23152 | 25671 | <parameters> | |
| 23153 | 25672 | <parameter name="ihint" transfer-ownership="none"> | |
| 23154 | 25673 | <doc xml:space="preserve" | |
| 23155 | - | filename="gobject-2.0.c" | |
| 23156 | - | line="4754">standard #GSignalAccumulator parameter</doc> | |
| 25674 | + | filename="gobject/gsignal.c" | |
| 25675 | + | line="4108">standard #GSignalAccumulator parameter</doc> | |
| 23157 | 25676 | <type name="SignalInvocationHint" c:type="GSignalInvocationHint*"/> | |
| 23158 | 25677 | </parameter> | |
| 23159 | 25678 | <parameter name="return_accu" transfer-ownership="none"> | |
| 23160 | 25679 | <doc xml:space="preserve" | |
| 23161 | - | filename="gobject-2.0.c" | |
| 23162 | - | line="4755">standard #GSignalAccumulator parameter</doc> | |
| 25680 | + | filename="gobject/gsignal.c" | |
| 25681 | + | line="4109">standard #GSignalAccumulator parameter</doc> | |
| 23163 | 25682 | <type name="Value" c:type="GValue*"/> | |
| 23164 | 25683 | </parameter> | |
| 23165 | 25684 | <parameter name="handler_return" transfer-ownership="none"> | |
| 23166 | 25685 | <doc xml:space="preserve" | |
| 23167 | - | filename="gobject-2.0.c" | |
| 23168 | - | line="4756">standard #GSignalAccumulator parameter</doc> | |
| 25686 | + | filename="gobject/gsignal.c" | |
| 25687 | + | line="4110">standard #GSignalAccumulator parameter</doc> | |
| 23169 | 25688 | <type name="Value" c:type="const GValue*"/> | |
| 23170 | 25689 | </parameter> | |
| 23171 | 25690 | <parameter name="dummy" | |
| @@ -23173,8 +25692,8 @@ handling is needed.</doc> | |||
| 23173 | 25692 | nullable="1" | |
| 23174 | 25693 | allow-none="1"> | |
| 23175 | 25694 | <doc xml:space="preserve" | |
| 23176 | - | filename="gobject-2.0.c" | |
| 23177 | - | line="4757">standard #GSignalAccumulator parameter</doc> | |
| 25695 | + | filename="gobject/gsignal.c" | |
| 25696 | + | line="4111">standard #GSignalAccumulator parameter</doc> | |
| 23178 | 25697 | <type name="gpointer" c:type="gpointer"/> | |
| 23179 | 25698 | </parameter> | |
| 23180 | 25699 | </parameters> | |
| @@ -23182,28 +25701,28 @@ handling is needed.</doc> | |||
| 23182 | 25701 | <function name="signal_add_emission_hook" | |
| 23183 | 25702 | c:identifier="g_signal_add_emission_hook"> | |
| 23184 | 25703 | <doc xml:space="preserve" | |
| 23185 | - | filename="gobject-2.0.c" | |
| 23186 | - | line="4772">Adds an emission hook for a signal, which will get called for any emission | |
| 25704 | + | filename="gobject/gsignal.c" | |
| 25705 | + | line="934">Adds an emission hook for a signal, which will get called for any emission | |
| 23187 | 25706 | of that signal, independent of the instance. This is possible only | |
| 23188 | 25707 | for signals which don't have %G_SIGNAL_NO_HOOKS flag set.</doc> | |
| 23189 | - | <source-position filename="gsignal.h" line="376"/> | |
| 25708 | + | <source-position filename="gobject/gsignal.h" line="406"/> | |
| 23190 | 25709 | <return-value transfer-ownership="none"> | |
| 23191 | 25710 | <doc xml:space="preserve" | |
| 23192 | - | filename="gobject-2.0.c" | |
| 23193 | - | line="4784">the hook id, for later use with g_signal_remove_emission_hook().</doc> | |
| 25711 | + | filename="gobject/gsignal.c" | |
| 25712 | + | line="946">the hook id, for later use with g_signal_remove_emission_hook().</doc> | |
| 23194 | 25713 | <type name="gulong" c:type="gulong"/> | |
| 23195 | 25714 | </return-value> | |
| 23196 | 25715 | <parameters> | |
| 23197 | 25716 | <parameter name="signal_id" transfer-ownership="none"> | |
| 23198 | 25717 | <doc xml:space="preserve" | |
| 23199 | - | filename="gobject-2.0.c" | |
| 23200 | - | line="4774">the signal identifier, as returned by g_signal_lookup().</doc> | |
| 25718 | + | filename="gobject/gsignal.c" | |
| 25719 | + | line="936">the signal identifier, as returned by g_signal_lookup().</doc> | |
| 23201 | 25720 | <type name="guint" c:type="guint"/> | |
| 23202 | 25721 | </parameter> | |
| 23203 | 25722 | <parameter name="detail" transfer-ownership="none"> | |
| 23204 | 25723 | <doc xml:space="preserve" | |
| 23205 | - | filename="gobject-2.0.c" | |
| 23206 | - | line="4775">the detail on which to call the hook.</doc> | |
| 25724 | + | filename="gobject/gsignal.c" | |
| 25725 | + | line="937">the detail on which to call the hook.</doc> | |
| 23207 | 25726 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 23208 | 25727 | </parameter> | |
| 23209 | 25728 | <parameter name="hook_func" | |
| @@ -23212,19 +25731,18 @@ for signals which don't have %G_SIGNAL_NO_HOOKS flag set.</doc> | |||
| 23212 | 25731 | closure="3" | |
| 23213 | 25732 | destroy="4"> | |
| 23214 | 25733 | <doc xml:space="preserve" | |
| 23215 | - | filename="gobject-2.0.c" | |
| 23216 | - | line="4776">a #GSignalEmissionHook function.</doc> | |
| 25734 | + | filename="gobject/gsignal.c" | |
| 25735 | + | line="938">a #GSignalEmissionHook function.</doc> | |
| 23217 | 25736 | <type name="SignalEmissionHook" c:type="GSignalEmissionHook"/> | |
| 23218 | 25737 | </parameter> | |
| 23219 | 25738 | <parameter name="hook_data" | |
| 23220 | 25739 | transfer-ownership="none" | |
| 23221 | 25740 | nullable="1" | |
| 23222 | 25741 | allow-none="1" | |
| 23223 | - | scope="notified" | |
| 23224 | - | closure="2"> | |
| 25742 | + | scope="notified"> | |
| 23225 | 25743 | <doc xml:space="preserve" | |
| 23226 | - | filename="gobject-2.0.c" | |
| 23227 | - | line="4777">user data for @hook_func.</doc> | |
| 25744 | + | filename="gobject/gsignal.c" | |
| 25745 | + | line="939">user data for @hook_func.</doc> | |
| 23228 | 25746 | <type name="gpointer" c:type="gpointer"/> | |
| 23229 | 25747 | </parameter> | |
| 23230 | 25748 | <parameter name="data_destroy" | |
| @@ -23234,8 +25752,8 @@ for signals which don't have %G_SIGNAL_NO_HOOKS flag set.</doc> | |||
| 23234 | 25752 | scope="async" | |
| 23235 | 25753 | destroy="3"> | |
| 23236 | 25754 | <doc xml:space="preserve" | |
| 23237 | - | filename="gobject-2.0.c" | |
| 23238 | - | line="4778">a #GDestroyNotify for @hook_data.</doc> | |
| 25755 | + | filename="gobject/gsignal.c" | |
| 25756 | + | line="940">a #GDestroyNotify for @hook_data.</doc> | |
| 23239 | 25757 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/> | |
| 23240 | 25758 | </parameter> | |
| 23241 | 25759 | </parameters> | |
| @@ -23243,20 +25761,20 @@ for signals which don't have %G_SIGNAL_NO_HOOKS flag set.</doc> | |||
| 23243 | 25761 | <function name="signal_chain_from_overridden" | |
| 23244 | 25762 | c:identifier="g_signal_chain_from_overridden"> | |
| 23245 | 25763 | <doc xml:space="preserve" | |
| 23246 | - | filename="gobject-2.0.c" | |
| 23247 | - | line="4788">Calls the original class closure of a signal. This function should only | |
| 25764 | + | filename="gobject/gsignal.c" | |
| 25765 | + | line="2033">Calls the original class closure of a signal. This function should only | |
| 23248 | 25766 | be called from an overridden class closure; see | |
| 23249 | 25767 | g_signal_override_class_closure() and | |
| 23250 | 25768 | g_signal_override_class_handler().</doc> | |
| 23251 | - | <source-position filename="gsignal.h" line="483"/> | |
| 25769 | + | <source-position filename="gobject/gsignal.h" line="513"/> | |
| 23252 | 25770 | <return-value transfer-ownership="none"> | |
| 23253 | 25771 | <type name="none" c:type="void"/> | |
| 23254 | 25772 | </return-value> | |
| 23255 | 25773 | <parameters> | |
| 23256 | 25774 | <parameter name="instance_and_params" transfer-ownership="none"> | |
| 23257 | 25775 | <doc xml:space="preserve" | |
| 23258 | - | filename="gobject-2.0.c" | |
| 23259 | - | line="4790">the argument list of the signal emission. | |
| 25776 | + | filename="gobject/gsignal.c" | |
| 25777 | + | line="2035">the argument list of the signal emission. | |
| 23260 | 25778 | The first element in the array is a #GValue for the instance the signal | |
| 23261 | 25779 | is being emitted on. The rest are any arguments to be passed to the signal.</doc> | |
| 23262 | 25780 | <array zero-terminated="0" c:type="const GValue*"> | |
| @@ -23265,8 +25783,8 @@ g_signal_override_class_handler().</doc> | |||
| 23265 | 25783 | </parameter> | |
| 23266 | 25784 | <parameter name="return_value" transfer-ownership="none"> | |
| 23267 | 25785 | <doc xml:space="preserve" | |
| 23268 | - | filename="gobject-2.0.c" | |
| 23269 | - | line="4793">Location for the return value.</doc> | |
| 25786 | + | filename="gobject/gsignal.c" | |
| 25787 | + | line="2038">Location for the return value.</doc> | |
| 23270 | 25788 | <type name="Value" c:type="GValue*"/> | |
| 23271 | 25789 | </parameter> | |
| 23272 | 25790 | </parameters> | |
| @@ -23276,27 +25794,27 @@ g_signal_override_class_handler().</doc> | |||
| 23276 | 25794 | version="2.18" | |
| 23277 | 25795 | introspectable="0"> | |
| 23278 | 25796 | <doc xml:space="preserve" | |
| 23279 | - | filename="gobject-2.0.c" | |
| 23280 | - | line="4802">Calls the original class closure of a signal. This function should | |
| 25797 | + | filename="gobject/gsignal.c" | |
| 25798 | + | line="2105">Calls the original class closure of a signal. This function should | |
| 23281 | 25799 | only be called from an overridden class closure; see | |
| 23282 | 25800 | g_signal_override_class_closure() and | |
| 23283 | 25801 | g_signal_override_class_handler().</doc> | |
| 23284 | - | <source-position filename="gsignal.h" line="486"/> | |
| 25802 | + | <source-position filename="gobject/gsignal.h" line="516"/> | |
| 23285 | 25803 | <return-value transfer-ownership="none"> | |
| 23286 | 25804 | <type name="none" c:type="void"/> | |
| 23287 | 25805 | </return-value> | |
| 23288 | 25806 | <parameters> | |
| 23289 | 25807 | <parameter name="instance" transfer-ownership="none"> | |
| 23290 | 25808 | <doc xml:space="preserve" | |
| 23291 | - | filename="gobject-2.0.c" | |
| 23292 | - | line="4804">the instance the signal is being | |
| 25809 | + | filename="gobject/gsignal.c" | |
| 25810 | + | line="2107">the instance the signal is being | |
| 23293 | 25811 | emitted on.</doc> | |
| 23294 | 25812 | <type name="TypeInstance" c:type="gpointer"/> | |
| 23295 | 25813 | </parameter> | |
| 23296 | 25814 | <parameter name="..." transfer-ownership="none"> | |
| 23297 | 25815 | <doc xml:space="preserve" | |
| 23298 | - | filename="gobject-2.0.c" | |
| 23299 | - | line="4806">parameters to be passed to the parent class closure, followed by a | |
| 25816 | + | filename="gobject/gsignal.c" | |
| 25817 | + | line="2109">parameters to be passed to the parent class closure, followed by a | |
| 23300 | 25818 | location for the return value. If the return type of the signal | |
| 23301 | 25819 | is %G_TYPE_NONE, the return value location can be omitted.</doc> | |
| 23302 | 25820 | <varargs/> | |
| @@ -23307,34 +25825,43 @@ g_signal_override_class_handler().</doc> | |||
| 23307 | 25825 | c:identifier="g_signal_connect" | |
| 23308 | 25826 | introspectable="0"> | |
| 23309 | 25827 | <doc xml:space="preserve" | |
| 23310 | - | filename="gsignal.h" | |
| 23311 | - | line="491">Connects a #GCallback function to a signal for a particular object. | |
| 25828 | + | filename="gobject/gsignal.h" | |
| 25829 | + | line="521">Connects a [type@GObject.Callback] function to a signal for a particular object. | |
| 25830 | + | ||
| 25831 | + | The handler will be called synchronously, before the default handler of the signal. | |
| 25832 | + | [func@GObject.signal_emit] will not return control until all handlers are called. | |
| 25833 | + | ||
| 25834 | + | See [memory management of signal handlers](signals.html#memory-management-of-signal-handlers) for | |
| 25835 | + | details on how to handle the return value and memory management of @data. | |
| 23312 | 25836 | ||
| 23313 | - | The handler will be called synchronously, before the default handler of the signal. g_signal_emit() will not return control until all handlers are called. | |
| 25837 | + | This function cannot fail. If the given signal name doesn’t exist, | |
| 25838 | + | a critical warning is emitted. No validation is performed on the | |
| 25839 | + | ‘detail’ string when specified in @detailed_signal, other than a | |
| 25840 | + | non-empty check. | |
| 23314 | 25841 | ||
| 23315 | - | See [memory management of signal handlers][signal-memory-management] for | |
| 23316 | - | details on how to handle the return value and memory management of @data.</doc> | |
| 23317 | - | <source-position filename="gsignal.h" line="507"/> | |
| 25842 | + | Refer to the [signals documentation](signals.html) for more | |
| 25843 | + | details.</doc> | |
| 25844 | + | <source-position filename="gobject/gsignal.h" line="548"/> | |
| 23318 | 25845 | <parameters> | |
| 23319 | 25846 | <parameter name="instance"> | |
| 23320 | 25847 | <doc xml:space="preserve" | |
| 23321 | - | filename="gsignal.h" | |
| 23322 | - | line="493">the instance to connect to.</doc> | |
| 25848 | + | filename="gobject/gsignal.h" | |
| 25849 | + | line="523">the instance to connect to.</doc> | |
| 23323 | 25850 | </parameter> | |
| 23324 | 25851 | <parameter name="detailed_signal"> | |
| 23325 | 25852 | <doc xml:space="preserve" | |
| 23326 | - | filename="gsignal.h" | |
| 23327 | - | line="494">a string of the form "signal-name::detail".</doc> | |
| 25853 | + | filename="gobject/gsignal.h" | |
| 25854 | + | line="524">a string of the form "signal-name::detail".</doc> | |
| 23328 | 25855 | </parameter> | |
| 23329 | 25856 | <parameter name="c_handler"> | |
| 23330 | 25857 | <doc xml:space="preserve" | |
| 23331 | - | filename="gsignal.h" | |
| 23332 | - | line="495">the #GCallback to connect.</doc> | |
| 25858 | + | filename="gobject/gsignal.h" | |
| 25859 | + | line="525">the #GCallback to connect.</doc> | |
| 23333 | 25860 | </parameter> | |
| 23334 | 25861 | <parameter name="data"> | |
| 23335 | 25862 | <doc xml:space="preserve" | |
| 23336 | - | filename="gsignal.h" | |
| 23337 | - | line="496">data to pass to @c_handler calls.</doc> | |
| 25863 | + | filename="gobject/gsignal.h" | |
| 25864 | + | line="526">data to pass to @c_handler calls.</doc> | |
| 23338 | 25865 | </parameter> | |
| 23339 | 25866 | </parameters> | |
| 23340 | 25867 | </function-macro> | |
| @@ -23342,69 +25869,88 @@ details on how to handle the return value and memory management of @data.</doc> | |||
| 23342 | 25869 | c:identifier="g_signal_connect_after" | |
| 23343 | 25870 | introspectable="0"> | |
| 23344 | 25871 | <doc xml:space="preserve" | |
| 23345 | - | filename="gsignal.h" | |
| 23346 | - | line="509">Connects a #GCallback function to a signal for a particular object. | |
| 25872 | + | filename="gobject/gsignal.h" | |
| 25873 | + | line="550">Connects a #GCallback function to a signal for a particular object. | |
| 23347 | 25874 | ||
| 23348 | - | The handler will be called synchronously, after the default handler of the signal.</doc> | |
| 23349 | - | <source-position filename="gsignal.h" line="522"/> | |
| 25875 | + | The handler will be called synchronously, after the default handler of the signal. | |
| 25876 | + | ||
| 25877 | + | This function cannot fail. If the given signal name doesn’t exist, | |
| 25878 | + | a critical warning is emitted. No validation is performed on the | |
| 25879 | + | ‘detail’ string when specified in @detailed_signal, other than a | |
| 25880 | + | non-empty check. | |
| 25881 | + | ||
| 25882 | + | Refer to the [signals documentation](signals.html) for more | |
| 25883 | + | details.</doc> | |
| 25884 | + | <source-position filename="gobject/gsignal.h" line="571"/> | |
| 23350 | 25885 | <parameters> | |
| 23351 | 25886 | <parameter name="instance"> | |
| 23352 | 25887 | <doc xml:space="preserve" | |
| 23353 | - | filename="gsignal.h" | |
| 23354 | - | line="511">the instance to connect to.</doc> | |
| 25888 | + | filename="gobject/gsignal.h" | |
| 25889 | + | line="552">the instance to connect to.</doc> | |
| 23355 | 25890 | </parameter> | |
| 23356 | 25891 | <parameter name="detailed_signal"> | |
| 23357 | 25892 | <doc xml:space="preserve" | |
| 23358 | - | filename="gsignal.h" | |
| 23359 | - | line="512">a string of the form "signal-name::detail".</doc> | |
| 25893 | + | filename="gobject/gsignal.h" | |
| 25894 | + | line="553">a string of the form "signal-name::detail".</doc> | |
| 23360 | 25895 | </parameter> | |
| 23361 | 25896 | <parameter name="c_handler"> | |
| 23362 | 25897 | <doc xml:space="preserve" | |
| 23363 | - | filename="gsignal.h" | |
| 23364 | - | line="513">the #GCallback to connect.</doc> | |
| 25898 | + | filename="gobject/gsignal.h" | |
| 25899 | + | line="554">the #GCallback to connect.</doc> | |
| 23365 | 25900 | </parameter> | |
| 23366 | 25901 | <parameter name="data"> | |
| 23367 | 25902 | <doc xml:space="preserve" | |
| 23368 | - | filename="gsignal.h" | |
| 23369 | - | line="514">data to pass to @c_handler calls.</doc> | |
| 25903 | + | filename="gobject/gsignal.h" | |
| 25904 | + | line="555">data to pass to @c_handler calls.</doc> | |
| 23370 | 25905 | </parameter> | |
| 23371 | 25906 | </parameters> | |
| 23372 | 25907 | </function-macro> | |
| 23373 | 25908 | <function name="signal_connect_closure" | |
| 23374 | 25909 | c:identifier="g_signal_connect_closure"> | |
| 23375 | 25910 | <doc xml:space="preserve" | |
| 23376 | - | filename="gobject-2.0.c" | |
| 23377 | - | line="4819">Connects a closure to a signal for a particular object.</doc> | |
| 23378 | - | <source-position filename="gsignal.h" line="399"/> | |
| 25911 | + | filename="gobject/gsignal.c" | |
| 25912 | + | line="2363">Connects a closure to a signal for a particular object. | |
| 25913 | + | ||
| 25914 | + | If @closure is a floating reference (see g_closure_sink()), this function | |
| 25915 | + | takes ownership of @closure. | |
| 25916 | + | ||
| 25917 | + | This function cannot fail. If the given signal name doesn’t exist, | |
| 25918 | + | a critical warning is emitted. No validation is performed on the | |
| 25919 | + | ‘detail’ string when specified in @detailed_signal, other than a | |
| 25920 | + | non-empty check. | |
| 25921 | + | ||
| 25922 | + | Refer to the [signals documentation](signals.html) for more | |
| 25923 | + | details.</doc> | |
| 25924 | + | <source-position filename="gobject/gsignal.h" line="429"/> | |
| 23379 | 25925 | <return-value transfer-ownership="none"> | |
| 23380 | 25926 | <doc xml:space="preserve" | |
| 23381 | - | filename="gobject-2.0.c" | |
| 23382 | - | line="4829">the handler ID (always greater than 0 for successful connections)</doc> | |
| 25927 | + | filename="gobject/gsignal.c" | |
| 25928 | + | line="2384">the handler ID (always greater than 0)</doc> | |
| 23383 | 25929 | <type name="gulong" c:type="gulong"/> | |
| 23384 | 25930 | </return-value> | |
| 23385 | 25931 | <parameters> | |
| 23386 | 25932 | <parameter name="instance" transfer-ownership="none"> | |
| 23387 | 25933 | <doc xml:space="preserve" | |
| 23388 | - | filename="gobject-2.0.c" | |
| 23389 | - | line="4821">the instance to connect to.</doc> | |
| 25934 | + | filename="gobject/gsignal.c" | |
| 25935 | + | line="2365">the instance to connect to.</doc> | |
| 23390 | 25936 | <type name="Object" c:type="gpointer"/> | |
| 23391 | 25937 | </parameter> | |
| 23392 | 25938 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 23393 | 25939 | <doc xml:space="preserve" | |
| 23394 | - | filename="gobject-2.0.c" | |
| 23395 | - | line="4822">a string of the form "signal-name::detail".</doc> | |
| 25940 | + | filename="gobject/gsignal.c" | |
| 25941 | + | line="2366">a string of the form "signal-name::detail".</doc> | |
| 23396 | 25942 | <type name="utf8" c:type="const gchar*"/> | |
| 23397 | 25943 | </parameter> | |
| 23398 | 25944 | <parameter name="closure" transfer-ownership="none"> | |
| 23399 | 25945 | <doc xml:space="preserve" | |
| 23400 | - | filename="gobject-2.0.c" | |
| 23401 | - | line="4823">the closure to connect.</doc> | |
| 25946 | + | filename="gobject/gsignal.c" | |
| 25947 | + | line="2367">the closure to connect.</doc> | |
| 23402 | 25948 | <type name="Closure" c:type="GClosure*"/> | |
| 23403 | 25949 | </parameter> | |
| 23404 | 25950 | <parameter name="after" transfer-ownership="none"> | |
| 23405 | 25951 | <doc xml:space="preserve" | |
| 23406 | - | filename="gobject-2.0.c" | |
| 23407 | - | line="4824">whether the handler should be called before or after the | |
| 25952 | + | filename="gobject/gsignal.c" | |
| 25953 | + | line="2368">whether the handler should be called before or after the | |
| 23408 | 25954 | default handler of the signal.</doc> | |
| 23409 | 25955 | <type name="gboolean" c:type="gboolean"/> | |
| 23410 | 25956 | </parameter> | |
| @@ -23413,44 +25959,55 @@ The handler will be called synchronously, after the default handler of the signa | |||
| 23413 | 25959 | <function name="signal_connect_closure_by_id" | |
| 23414 | 25960 | c:identifier="g_signal_connect_closure_by_id"> | |
| 23415 | 25961 | <doc xml:space="preserve" | |
| 23416 | - | filename="gobject-2.0.c" | |
| 23417 | - | line="4833">Connects a closure to a signal for a particular object.</doc> | |
| 23418 | - | <source-position filename="gsignal.h" line="393"/> | |
| 25962 | + | filename="gobject/gsignal.c" | |
| 25963 | + | line="2289">Connects a closure to a signal for a particular object. | |
| 25964 | + | ||
| 25965 | + | If @closure is a floating reference (see g_closure_sink()), this function | |
| 25966 | + | takes ownership of @closure. | |
| 25967 | + | ||
| 25968 | + | This function cannot fail. If the given signal name doesn’t exist, | |
| 25969 | + | a critical warning is emitted. No validation is performed on the | |
| 25970 | + | ‘detail’ string when specified in @detailed_signal, other than a | |
| 25971 | + | non-empty check. | |
| 25972 | + | ||
| 25973 | + | Refer to the [signals documentation](signals.html) for more | |
| 25974 | + | details.</doc> | |
| 25975 | + | <source-position filename="gobject/gsignal.h" line="423"/> | |
| 23419 | 25976 | <return-value transfer-ownership="none"> | |
| 23420 | 25977 | <doc xml:space="preserve" | |
| 23421 | - | filename="gobject-2.0.c" | |
| 23422 | - | line="4844">the handler ID (always greater than 0 for successful connections)</doc> | |
| 25978 | + | filename="gobject/gsignal.c" | |
| 25979 | + | line="2311">the handler ID (always greater than 0)</doc> | |
| 23423 | 25980 | <type name="gulong" c:type="gulong"/> | |
| 23424 | 25981 | </return-value> | |
| 23425 | 25982 | <parameters> | |
| 23426 | 25983 | <parameter name="instance" transfer-ownership="none"> | |
| 23427 | 25984 | <doc xml:space="preserve" | |
| 23428 | - | filename="gobject-2.0.c" | |
| 23429 | - | line="4835">the instance to connect to.</doc> | |
| 25985 | + | filename="gobject/gsignal.c" | |
| 25986 | + | line="2291">the instance to connect to.</doc> | |
| 23430 | 25987 | <type name="Object" c:type="gpointer"/> | |
| 23431 | 25988 | </parameter> | |
| 23432 | 25989 | <parameter name="signal_id" transfer-ownership="none"> | |
| 23433 | 25990 | <doc xml:space="preserve" | |
| 23434 | - | filename="gobject-2.0.c" | |
| 23435 | - | line="4836">the id of the signal.</doc> | |
| 25991 | + | filename="gobject/gsignal.c" | |
| 25992 | + | line="2292">the id of the signal.</doc> | |
| 23436 | 25993 | <type name="guint" c:type="guint"/> | |
| 23437 | 25994 | </parameter> | |
| 23438 | 25995 | <parameter name="detail" transfer-ownership="none"> | |
| 23439 | 25996 | <doc xml:space="preserve" | |
| 23440 | - | filename="gobject-2.0.c" | |
| 23441 | - | line="4837">the detail.</doc> | |
| 25997 | + | filename="gobject/gsignal.c" | |
| 25998 | + | line="2293">the detail.</doc> | |
| 23442 | 25999 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 23443 | 26000 | </parameter> | |
| 23444 | 26001 | <parameter name="closure" transfer-ownership="none"> | |
| 23445 | 26002 | <doc xml:space="preserve" | |
| 23446 | - | filename="gobject-2.0.c" | |
| 23447 | - | line="4838">the closure to connect.</doc> | |
| 26003 | + | filename="gobject/gsignal.c" | |
| 26004 | + | line="2294">the closure to connect.</doc> | |
| 23448 | 26005 | <type name="Closure" c:type="GClosure*"/> | |
| 23449 | 26006 | </parameter> | |
| 23450 | 26007 | <parameter name="after" transfer-ownership="none"> | |
| 23451 | 26008 | <doc xml:space="preserve" | |
| 23452 | - | filename="gobject-2.0.c" | |
| 23453 | - | line="4839">whether the handler should be called before or after the | |
| 26009 | + | filename="gobject/gsignal.c" | |
| 26010 | + | line="2295">whether the handler should be called before or after the | |
| 23454 | 26011 | default handler of the signal.</doc> | |
| 23455 | 26012 | <type name="gboolean" c:type="gboolean"/> | |
| 23456 | 26013 | </parameter> | |
| @@ -23460,47 +26017,54 @@ The handler will be called synchronously, after the default handler of the signa | |||
| 23460 | 26017 | c:identifier="g_signal_connect_data" | |
| 23461 | 26018 | introspectable="0"> | |
| 23462 | 26019 | <doc xml:space="preserve" | |
| 23463 | - | filename="gobject-2.0.c" | |
| 23464 | - | line="4848">Connects a #GCallback function to a signal for a particular object. Similar | |
| 26020 | + | filename="gobject/gsignal.c" | |
| 26021 | + | line="2465">Connects a #GCallback function to a signal for a particular object. Similar | |
| 23465 | 26022 | to g_signal_connect(), but allows to provide a #GClosureNotify for the data | |
| 23466 | 26023 | which will be called when the signal handler is disconnected and no longer | |
| 23467 | 26024 | used. Specify @connect_flags if you need `..._after()` or | |
| 23468 | - | `..._swapped()` variants of this function.</doc> | |
| 23469 | - | <source-position filename="gsignal.h" line="404"/> | |
| 26025 | + | `..._swapped()` variants of this function. | |
| 26026 | + | ||
| 26027 | + | This function cannot fail. If the given signal name doesn’t exist, | |
| 26028 | + | a critical warning is emitted. No validation is performed on the | |
| 26029 | + | ‘detail’ string when specified in @detailed_signal, other than a | |
| 26030 | + | non-empty check. | |
| 26031 | + | ||
| 26032 | + | Refer to the [signals documentation](signals.html) for more | |
| 26033 | + | details.</doc> | |
| 26034 | + | <source-position filename="gobject/gsignal.h" line="434"/> | |
| 23470 | 26035 | <return-value transfer-ownership="none"> | |
| 23471 | 26036 | <doc xml:space="preserve" | |
| 23472 | - | filename="gobject-2.0.c" | |
| 23473 | - | line="4863">the handler ID (always greater than 0 for successful connections)</doc> | |
| 26037 | + | filename="gobject/gsignal.c" | |
| 26038 | + | line="2488">the handler ID (always greater than 0)</doc> | |
| 23474 | 26039 | <type name="gulong" c:type="gulong"/> | |
| 23475 | 26040 | </return-value> | |
| 23476 | 26041 | <parameters> | |
| 23477 | 26042 | <parameter name="instance" transfer-ownership="none"> | |
| 23478 | 26043 | <doc xml:space="preserve" | |
| 23479 | - | filename="gobject-2.0.c" | |
| 23480 | - | line="4850">the instance to connect to.</doc> | |
| 26044 | + | filename="gobject/gsignal.c" | |
| 26045 | + | line="2467">the instance to connect to.</doc> | |
| 23481 | 26046 | <type name="Object" c:type="gpointer"/> | |
| 23482 | 26047 | </parameter> | |
| 23483 | 26048 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 23484 | 26049 | <doc xml:space="preserve" | |
| 23485 | - | filename="gobject-2.0.c" | |
| 23486 | - | line="4851">a string of the form "signal-name::detail".</doc> | |
| 26050 | + | filename="gobject/gsignal.c" | |
| 26051 | + | line="2468">a string of the form "signal-name::detail".</doc> | |
| 23487 | 26052 | <type name="utf8" c:type="const gchar*"/> | |
| 23488 | 26053 | </parameter> | |
| 23489 | 26054 | <parameter name="c_handler" transfer-ownership="none" closure="3"> | |
| 23490 | 26055 | <doc xml:space="preserve" | |
| 23491 | - | filename="gobject-2.0.c" | |
| 23492 | - | line="4852">the #GCallback to connect.</doc> | |
| 26056 | + | filename="gobject/gsignal.c" | |
| 26057 | + | line="2469">the #GCallback to connect.</doc> | |
| 23493 | 26058 | <type name="Callback" c:type="GCallback"/> | |
| 23494 | 26059 | </parameter> | |
| 23495 | 26060 | <parameter name="data" | |
| 23496 | 26061 | transfer-ownership="none" | |
| 23497 | 26062 | nullable="1" | |
| 23498 | 26063 | allow-none="1" | |
| 23499 | - | scope="notified" | |
| 23500 | - | closure="2"> | |
| 26064 | + | scope="notified"> | |
| 23501 | 26065 | <doc xml:space="preserve" | |
| 23502 | - | filename="gobject-2.0.c" | |
| 23503 | - | line="4853">data to pass to @c_handler calls.</doc> | |
| 26066 | + | filename="gobject/gsignal.c" | |
| 26067 | + | line="2470">data to pass to @c_handler calls.</doc> | |
| 23504 | 26068 | <type name="gpointer" c:type="gpointer"/> | |
| 23505 | 26069 | </parameter> | |
| 23506 | 26070 | <parameter name="destroy_data" | |
| @@ -23510,14 +26074,14 @@ used. Specify @connect_flags if you need `..._after()` or | |||
| 23510 | 26074 | scope="notified" | |
| 23511 | 26075 | destroy="3"> | |
| 23512 | 26076 | <doc xml:space="preserve" | |
| 23513 | - | filename="gobject-2.0.c" | |
| 23514 | - | line="4854">a #GClosureNotify for @data.</doc> | |
| 26077 | + | filename="gobject/gsignal.c" | |
| 26078 | + | line="2471">a #GClosureNotify for @data.</doc> | |
| 23515 | 26079 | <type name="ClosureNotify" c:type="GClosureNotify"/> | |
| 23516 | 26080 | </parameter> | |
| 23517 | 26081 | <parameter name="connect_flags" transfer-ownership="none"> | |
| 23518 | 26082 | <doc xml:space="preserve" | |
| 23519 | - | filename="gobject-2.0.c" | |
| 23520 | - | line="4855">a combination of #GConnectFlags.</doc> | |
| 26083 | + | filename="gobject/gsignal.c" | |
| 26084 | + | line="2472">a combination of #GConnectFlags.</doc> | |
| 23521 | 26085 | <type name="ConnectFlags" c:type="GConnectFlags"/> | |
| 23522 | 26086 | </parameter> | |
| 23523 | 26087 | </parameters> | |
| @@ -23526,39 +26090,47 @@ used. Specify @connect_flags if you need `..._after()` or | |||
| 23526 | 26090 | c:identifier="g_signal_connect_object" | |
| 23527 | 26091 | introspectable="0"> | |
| 23528 | 26092 | <doc xml:space="preserve" | |
| 23529 | - | filename="gobject-2.0.c" | |
| 23530 | - | line="4867">This is similar to g_signal_connect_data(), but uses a closure which | |
| 26093 | + | filename="gobject/gobject.c" | |
| 26094 | + | line="5163">This is similar to g_signal_connect_data(), but uses a closure which | |
| 23531 | 26095 | ensures that the @gobject stays alive during the call to @c_handler | |
| 23532 | 26096 | by temporarily adding a reference count to @gobject. | |
| 23533 | 26097 | ||
| 23534 | 26098 | When the @gobject is destroyed the signal handler will be automatically | |
| 23535 | 26099 | disconnected. Note that this is not currently threadsafe (ie: | |
| 23536 | 26100 | emitting a signal while @gobject is being destroyed in another thread | |
| 23537 | - | is not safe).</doc> | |
| 23538 | - | <source-position filename="gobject.h" line="651"/> | |
| 26101 | + | is not safe). | |
| 26102 | + | ||
| 26103 | + | This function cannot fail. If the given signal name doesn’t exist, | |
| 26104 | + | a critical warning is emitted. No validation is performed on the | |
| 26105 | + | "detail" string when specified in @detailed_signal, other than a | |
| 26106 | + | non-empty check. | |
| 26107 | + | ||
| 26108 | + | Refer to the [signals documentation](signals.html) for more | |
| 26109 | + | details.</doc> | |
| 26110 | + | <source-position filename="gobject/gobject.h" line="643"/> | |
| 23539 | 26111 | <return-value transfer-ownership="none"> | |
| 23540 | 26112 | <doc xml:space="preserve" | |
| 23541 | - | filename="gobject-2.0.c" | |
| 23542 | - | line="4885">the handler id.</doc> | |
| 26113 | + | filename="gobject/gobject.c" | |
| 26114 | + | line="5189">the handler id.</doc> | |
| 23543 | 26115 | <type name="gulong" c:type="gulong"/> | |
| 23544 | 26116 | </return-value> | |
| 23545 | 26117 | <parameters> | |
| 23546 | 26118 | <parameter name="instance" transfer-ownership="none"> | |
| 23547 | 26119 | <doc xml:space="preserve" | |
| 23548 | - | filename="gobject-2.0.c" | |
| 23549 | - | line="4869">the instance to connect to.</doc> | |
| 26120 | + | filename="gobject/gobject.c" | |
| 26121 | + | line="5165">the instance to connect to.</doc> | |
| 23550 | 26122 | <type name="TypeInstance" c:type="gpointer"/> | |
| 23551 | 26123 | </parameter> | |
| 23552 | 26124 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 23553 | 26125 | <doc xml:space="preserve" | |
| 23554 | - | filename="gobject-2.0.c" | |
| 23555 | - | line="4870">a string of the form "signal-name::detail".</doc> | |
| 26126 | + | filename="gobject/gobject.c" | |
| 26127 | + | line="5166">a string of the form "signal-name::detail".</doc> | |
| 23556 | 26128 | <type name="utf8" c:type="const gchar*"/> | |
| 23557 | 26129 | </parameter> | |
| 23558 | 26130 | <parameter name="c_handler" transfer-ownership="none"> | |
| 23559 | 26131 | <doc xml:space="preserve" | |
| 23560 | - | filename="gobject-2.0.c" | |
| 23561 | - | line="4871">the #GCallback to connect.</doc> | |
| 26132 | + | filename="gobject/gobject.c" | |
| 26133 | + | line="5167">the #GCallback to connect.</doc> | |
| 23562 | 26134 | <type name="Callback" c:type="GCallback"/> | |
| 23563 | 26135 | </parameter> | |
| 23564 | 26136 | <parameter name="gobject" | |
| @@ -23566,15 +26138,15 @@ is not safe).</doc> | |||
| 23566 | 26138 | nullable="1" | |
| 23567 | 26139 | allow-none="1"> | |
| 23568 | 26140 | <doc xml:space="preserve" | |
| 23569 | - | filename="gobject-2.0.c" | |
| 23570 | - | line="4872">the object to pass as data | |
| 26141 | + | filename="gobject/gobject.c" | |
| 26142 | + | line="5168">the object to pass as data | |
| 23571 | 26143 | to @c_handler.</doc> | |
| 23572 | 26144 | <type name="Object" c:type="gpointer"/> | |
| 23573 | 26145 | </parameter> | |
| 23574 | 26146 | <parameter name="connect_flags" transfer-ownership="none"> | |
| 23575 | 26147 | <doc xml:space="preserve" | |
| 23576 | - | filename="gobject-2.0.c" | |
| 23577 | - | line="4874">a combination of #GConnectFlags.</doc> | |
| 26148 | + | filename="gobject/gobject.c" | |
| 26149 | + | line="5170">a combination of #GConnectFlags.</doc> | |
| 23578 | 26150 | <type name="ConnectFlags" c:type="GConnectFlags"/> | |
| 23579 | 26151 | </parameter> | |
| 23580 | 26152 | </parameters> | |
| @@ -23583,8 +26155,8 @@ is not safe).</doc> | |||
| 23583 | 26155 | c:identifier="g_signal_connect_swapped" | |
| 23584 | 26156 | introspectable="0"> | |
| 23585 | 26157 | <doc xml:space="preserve" | |
| 23586 | - | filename="gsignal.h" | |
| 23587 | - | line="524">Connects a #GCallback function to a signal for a particular object. | |
| 26158 | + | filename="gobject/gsignal.h" | |
| 26159 | + | line="573">Connects a #GCallback function to a signal for a particular object. | |
| 23588 | 26160 | ||
| 23589 | 26161 | The instance on which the signal is emitted and @data will be swapped when | |
| 23590 | 26162 | calling the handler. This is useful when calling pre-existing functions to | |
| @@ -23609,28 +26181,36 @@ button_clicked_cb (GtkButton *button, GtkWidget *other_widget) | |||
| 23609 | 26181 | ||
| 23610 | 26182 | g_signal_connect (button, "clicked", | |
| 23611 | 26183 | (GCallback) button_clicked_cb, other_widget); | |
| 23612 | - | ]|</doc> | |
| 23613 | - | <source-position filename="gsignal.h" line="560"/> | |
| 26184 | + | ]| | |
| 26185 | + | ||
| 26186 | + | This function cannot fail. If the given signal name doesn’t exist, | |
| 26187 | + | a critical warning is emitted. No validation is performed on the | |
| 26188 | + | ‘detail’ string when specified in @detailed_signal, other than a | |
| 26189 | + | non-empty check. | |
| 26190 | + | ||
| 26191 | + | Refer to the [signals documentation](signals.html) for more | |
| 26192 | + | details.</doc> | |
| 26193 | + | <source-position filename="gobject/gsignal.h" line="617"/> | |
| 23614 | 26194 | <parameters> | |
| 23615 | 26195 | <parameter name="instance"> | |
| 23616 | 26196 | <doc xml:space="preserve" | |
| 23617 | - | filename="gsignal.h" | |
| 23618 | - | line="526">the instance to connect to.</doc> | |
| 26197 | + | filename="gobject/gsignal.h" | |
| 26198 | + | line="575">the instance to connect to.</doc> | |
| 23619 | 26199 | </parameter> | |
| 23620 | 26200 | <parameter name="detailed_signal"> | |
| 23621 | 26201 | <doc xml:space="preserve" | |
| 23622 | - | filename="gsignal.h" | |
| 23623 | - | line="527">a string of the form "signal-name::detail".</doc> | |
| 26202 | + | filename="gobject/gsignal.h" | |
| 26203 | + | line="576">a string of the form "signal-name::detail".</doc> | |
| 23624 | 26204 | </parameter> | |
| 23625 | 26205 | <parameter name="c_handler"> | |
| 23626 | 26206 | <doc xml:space="preserve" | |
| 23627 | - | filename="gsignal.h" | |
| 23628 | - | line="528">the #GCallback to connect.</doc> | |
| 26207 | + | filename="gobject/gsignal.h" | |
| 26208 | + | line="577">the #GCallback to connect.</doc> | |
| 23629 | 26209 | </parameter> | |
| 23630 | 26210 | <parameter name="data"> | |
| 23631 | 26211 | <doc xml:space="preserve" | |
| 23632 | - | filename="gsignal.h" | |
| 23633 | - | line="529">data to pass to @c_handler calls.</doc> | |
| 26212 | + | filename="gobject/gsignal.h" | |
| 26213 | + | line="578">data to pass to @c_handler calls.</doc> | |
| 23634 | 26214 | </parameter> | |
| 23635 | 26215 | </parameters> | |
| 23636 | 26216 | </function-macro> | |
| @@ -23638,39 +26218,39 @@ g_signal_connect (button, "clicked", | |||
| 23638 | 26218 | c:identifier="g_signal_emit" | |
| 23639 | 26219 | introspectable="0"> | |
| 23640 | 26220 | <doc xml:space="preserve" | |
| 23641 | - | filename="gobject-2.0.c" | |
| 23642 | - | line="4889">Emits a signal. Signal emission is done synchronously. | |
| 26221 | + | filename="gobject/gsignal.c" | |
| 26222 | + | line="3573">Emits a signal. Signal emission is done synchronously. | |
| 23643 | 26223 | The method will only return control after all handlers are called or signal emission was stopped. | |
| 23644 | 26224 | ||
| 23645 | 26225 | Note that g_signal_emit() resets the return value to the default | |
| 23646 | 26226 | if no handlers are connected, in contrast to g_signal_emitv().</doc> | |
| 23647 | - | <source-position filename="gsignal.h" line="336"/> | |
| 26227 | + | <source-position filename="gobject/gsignal.h" line="366"/> | |
| 23648 | 26228 | <return-value transfer-ownership="none"> | |
| 23649 | 26229 | <type name="none" c:type="void"/> | |
| 23650 | 26230 | </return-value> | |
| 23651 | 26231 | <parameters> | |
| 23652 | 26232 | <parameter name="instance" transfer-ownership="none"> | |
| 23653 | 26233 | <doc xml:space="preserve" | |
| 23654 | - | filename="gobject-2.0.c" | |
| 23655 | - | line="4891">the instance the signal is being emitted on.</doc> | |
| 26234 | + | filename="gobject/gsignal.c" | |
| 26235 | + | line="3575">the instance the signal is being emitted on.</doc> | |
| 23656 | 26236 | <type name="Object" c:type="gpointer"/> | |
| 23657 | 26237 | </parameter> | |
| 23658 | 26238 | <parameter name="signal_id" transfer-ownership="none"> | |
| 23659 | 26239 | <doc xml:space="preserve" | |
| 23660 | - | filename="gobject-2.0.c" | |
| 23661 | - | line="4892">the signal id</doc> | |
| 26240 | + | filename="gobject/gsignal.c" | |
| 26241 | + | line="3576">the signal id</doc> | |
| 23662 | 26242 | <type name="guint" c:type="guint"/> | |
| 23663 | 26243 | </parameter> | |
| 23664 | 26244 | <parameter name="detail" transfer-ownership="none"> | |
| 23665 | 26245 | <doc xml:space="preserve" | |
| 23666 | - | filename="gobject-2.0.c" | |
| 23667 | - | line="4893">the detail</doc> | |
| 26246 | + | filename="gobject/gsignal.c" | |
| 26247 | + | line="3577">the detail</doc> | |
| 23668 | 26248 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 23669 | 26249 | </parameter> | |
| 23670 | 26250 | <parameter name="..." transfer-ownership="none"> | |
| 23671 | 26251 | <doc xml:space="preserve" | |
| 23672 | - | filename="gobject-2.0.c" | |
| 23673 | - | line="4894">parameters to be passed to the signal, followed by a | |
| 26252 | + | filename="gobject/gsignal.c" | |
| 26253 | + | line="3578">parameters to be passed to the signal, followed by a | |
| 23674 | 26254 | location for the return value. If the return type of the signal | |
| 23675 | 26255 | is %G_TYPE_NONE, the return value location can be omitted.</doc> | |
| 23676 | 26256 | <varargs/> | |
| @@ -23681,33 +26261,33 @@ if no handlers are connected, in contrast to g_signal_emitv().</doc> | |||
| 23681 | 26261 | c:identifier="g_signal_emit_by_name" | |
| 23682 | 26262 | introspectable="0"> | |
| 23683 | 26263 | <doc xml:space="preserve" | |
| 23684 | - | filename="gobject-2.0.c" | |
| 23685 | - | line="4906">Emits a signal. Signal emission is done synchronously. | |
| 26264 | + | filename="gobject/gsignal.c" | |
| 26265 | + | line="3601">Emits a signal. Signal emission is done synchronously. | |
| 23686 | 26266 | The method will only return control after all handlers are called or signal emission was stopped. | |
| 23687 | 26267 | ||
| 23688 | 26268 | Note that g_signal_emit_by_name() resets the return value to the default | |
| 23689 | 26269 | if no handlers are connected, in contrast to g_signal_emitv().</doc> | |
| 23690 | - | <source-position filename="gsignal.h" line="341"/> | |
| 26270 | + | <source-position filename="gobject/gsignal.h" line="371"/> | |
| 23691 | 26271 | <return-value transfer-ownership="none"> | |
| 23692 | 26272 | <type name="none" c:type="void"/> | |
| 23693 | 26273 | </return-value> | |
| 23694 | 26274 | <parameters> | |
| 23695 | 26275 | <parameter name="instance" transfer-ownership="none"> | |
| 23696 | 26276 | <doc xml:space="preserve" | |
| 23697 | - | filename="gobject-2.0.c" | |
| 23698 | - | line="4908">the instance the signal is being emitted on.</doc> | |
| 26277 | + | filename="gobject/gsignal.c" | |
| 26278 | + | line="3603">the instance the signal is being emitted on.</doc> | |
| 23699 | 26279 | <type name="Object" c:type="gpointer"/> | |
| 23700 | 26280 | </parameter> | |
| 23701 | 26281 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 23702 | 26282 | <doc xml:space="preserve" | |
| 23703 | - | filename="gobject-2.0.c" | |
| 23704 | - | line="4909">a string of the form "signal-name::detail".</doc> | |
| 26283 | + | filename="gobject/gsignal.c" | |
| 26284 | + | line="3604">a string of the form "signal-name::detail".</doc> | |
| 23705 | 26285 | <type name="utf8" c:type="const gchar*"/> | |
| 23706 | 26286 | </parameter> | |
| 23707 | 26287 | <parameter name="..." transfer-ownership="none"> | |
| 23708 | 26288 | <doc xml:space="preserve" | |
| 23709 | - | filename="gobject-2.0.c" | |
| 23710 | - | line="4910">parameters to be passed to the signal, followed by a | |
| 26289 | + | filename="gobject/gsignal.c" | |
| 26290 | + | line="3605">parameters to be passed to the signal, followed by a | |
| 23711 | 26291 | location for the return value. If the return type of the signal | |
| 23712 | 26292 | is %G_TYPE_NONE, the return value location can be omitted. The | |
| 23713 | 26293 | number of parameters to pass to this function is defined when creating the signal.</doc> | |
| @@ -23719,40 +26299,40 @@ if no handlers are connected, in contrast to g_signal_emitv().</doc> | |||
| 23719 | 26299 | c:identifier="g_signal_emit_valist" | |
| 23720 | 26300 | introspectable="0"> | |
| 23721 | 26301 | <doc xml:space="preserve" | |
| 23722 | - | filename="gobject-2.0.c" | |
| 23723 | - | line="4923">Emits a signal. Signal emission is done synchronously. | |
| 26302 | + | filename="gobject/gsignal.c" | |
| 26303 | + | line="3254">Emits a signal. Signal emission is done synchronously. | |
| 23724 | 26304 | The method will only return control after all handlers are called or signal emission was stopped. | |
| 23725 | 26305 | ||
| 23726 | 26306 | Note that g_signal_emit_valist() resets the return value to the default | |
| 23727 | 26307 | if no handlers are connected, in contrast to g_signal_emitv().</doc> | |
| 23728 | - | <source-position filename="gsignal.h" line="331"/> | |
| 26308 | + | <source-position filename="gobject/gsignal.h" line="361"/> | |
| 23729 | 26309 | <return-value transfer-ownership="none"> | |
| 23730 | 26310 | <type name="none" c:type="void"/> | |
| 23731 | 26311 | </return-value> | |
| 23732 | 26312 | <parameters> | |
| 23733 | 26313 | <parameter name="instance" transfer-ownership="none"> | |
| 23734 | 26314 | <doc xml:space="preserve" | |
| 23735 | - | filename="gobject-2.0.c" | |
| 23736 | - | line="4925">the instance the signal is being | |
| 26315 | + | filename="gobject/gsignal.c" | |
| 26316 | + | line="3256">the instance the signal is being | |
| 23737 | 26317 | emitted on.</doc> | |
| 23738 | 26318 | <type name="TypeInstance" c:type="gpointer"/> | |
| 23739 | 26319 | </parameter> | |
| 23740 | 26320 | <parameter name="signal_id" transfer-ownership="none"> | |
| 23741 | 26321 | <doc xml:space="preserve" | |
| 23742 | - | filename="gobject-2.0.c" | |
| 23743 | - | line="4927">the signal id</doc> | |
| 26322 | + | filename="gobject/gsignal.c" | |
| 26323 | + | line="3258">the signal id</doc> | |
| 23744 | 26324 | <type name="guint" c:type="guint"/> | |
| 23745 | 26325 | </parameter> | |
| 23746 | 26326 | <parameter name="detail" transfer-ownership="none"> | |
| 23747 | 26327 | <doc xml:space="preserve" | |
| 23748 | - | filename="gobject-2.0.c" | |
| 23749 | - | line="4928">the detail</doc> | |
| 26328 | + | filename="gobject/gsignal.c" | |
| 26329 | + | line="3259">the detail</doc> | |
| 23750 | 26330 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 23751 | 26331 | </parameter> | |
| 23752 | 26332 | <parameter name="var_args" transfer-ownership="none"> | |
| 23753 | 26333 | <doc xml:space="preserve" | |
| 23754 | - | filename="gobject-2.0.c" | |
| 23755 | - | line="4929">a list of parameters to be passed to the signal, followed by a | |
| 26334 | + | filename="gobject/gsignal.c" | |
| 26335 | + | line="3260">a list of parameters to be passed to the signal, followed by a | |
| 23756 | 26336 | location for the return value. If the return type of the signal | |
| 23757 | 26337 | is %G_TYPE_NONE, the return value location can be omitted.</doc> | |
| 23758 | 26338 | <type name="va_list" c:type="va_list"/> | |
| @@ -23761,21 +26341,21 @@ if no handlers are connected, in contrast to g_signal_emitv().</doc> | |||
| 23761 | 26341 | </function> | |
| 23762 | 26342 | <function name="signal_emitv" c:identifier="g_signal_emitv"> | |
| 23763 | 26343 | <doc xml:space="preserve" | |
| 23764 | - | filename="gobject-2.0.c" | |
| 23765 | - | line="4941">Emits a signal. Signal emission is done synchronously. | |
| 26344 | + | filename="gobject/gsignal.c" | |
| 26345 | + | line="3102">Emits a signal. Signal emission is done synchronously. | |
| 23766 | 26346 | The method will only return control after all handlers are called or signal emission was stopped. | |
| 23767 | 26347 | ||
| 23768 | 26348 | Note that g_signal_emitv() doesn't change @return_value if no handlers are | |
| 23769 | 26349 | connected, in contrast to g_signal_emit() and g_signal_emit_valist().</doc> | |
| 23770 | - | <source-position filename="gsignal.h" line="326"/> | |
| 26350 | + | <source-position filename="gobject/gsignal.h" line="356"/> | |
| 23771 | 26351 | <return-value transfer-ownership="none"> | |
| 23772 | 26352 | <type name="none" c:type="void"/> | |
| 23773 | 26353 | </return-value> | |
| 23774 | 26354 | <parameters> | |
| 23775 | 26355 | <parameter name="instance_and_params" transfer-ownership="none"> | |
| 23776 | 26356 | <doc xml:space="preserve" | |
| 23777 | - | filename="gobject-2.0.c" | |
| 23778 | - | line="4943">argument list for the signal emission. | |
| 26357 | + | filename="gobject/gsignal.c" | |
| 26358 | + | line="3104">argument list for the signal emission. | |
| 23779 | 26359 | The first element in the array is a #GValue for the instance the signal | |
| 23780 | 26360 | is being emitted on. The rest are any arguments to be passed to the signal.</doc> | |
| 23781 | 26361 | <array zero-terminated="0" c:type="const GValue*"> | |
| @@ -23784,14 +26364,14 @@ connected, in contrast to g_signal_emit() and g_signal_emit_valist().</doc> | |||
| 23784 | 26364 | </parameter> | |
| 23785 | 26365 | <parameter name="signal_id" transfer-ownership="none"> | |
| 23786 | 26366 | <doc xml:space="preserve" | |
| 23787 | - | filename="gobject-2.0.c" | |
| 23788 | - | line="4946">the signal id</doc> | |
| 26367 | + | filename="gobject/gsignal.c" | |
| 26368 | + | line="3107">the signal id</doc> | |
| 23789 | 26369 | <type name="guint" c:type="guint"/> | |
| 23790 | 26370 | </parameter> | |
| 23791 | 26371 | <parameter name="detail" transfer-ownership="none"> | |
| 23792 | 26372 | <doc xml:space="preserve" | |
| 23793 | - | filename="gobject-2.0.c" | |
| 23794 | - | line="4947">the detail</doc> | |
| 26373 | + | filename="gobject/gsignal.c" | |
| 26374 | + | line="3108">the detail</doc> | |
| 23795 | 26375 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 23796 | 26376 | </parameter> | |
| 23797 | 26377 | <parameter name="return_value" | |
| @@ -23800,8 +26380,8 @@ connected, in contrast to g_signal_emit() and g_signal_emit_valist().</doc> | |||
| 23800 | 26380 | transfer-ownership="full" | |
| 23801 | 26381 | optional="1"> | |
| 23802 | 26382 | <doc xml:space="preserve" | |
| 23803 | - | filename="gobject-2.0.c" | |
| 23804 | - | line="4948">Location to | |
| 26383 | + | filename="gobject/gsignal.c" | |
| 26384 | + | line="3109">Location to | |
| 23805 | 26385 | store the return value of the signal emission. This must be provided if the | |
| 23806 | 26386 | specified signal returns a value, but may be ignored otherwise.</doc> | |
| 23807 | 26387 | <type name="Value" c:type="GValue*"/> | |
| @@ -23811,21 +26391,21 @@ specified signal returns a value, but may be ignored otherwise.</doc> | |||
| 23811 | 26391 | <function name="signal_get_invocation_hint" | |
| 23812 | 26392 | c:identifier="g_signal_get_invocation_hint"> | |
| 23813 | 26393 | <doc xml:space="preserve" | |
| 23814 | - | filename="gobject-2.0.c" | |
| 23815 | - | line="4960">Returns the invocation hint of the innermost signal emission of instance.</doc> | |
| 23816 | - | <source-position filename="gsignal.h" line="364"/> | |
| 26394 | + | filename="gobject/gsignal.c" | |
| 26395 | + | line="2266">Returns the invocation hint of the innermost signal emission of instance.</doc> | |
| 26396 | + | <source-position filename="gobject/gsignal.h" line="394"/> | |
| 23817 | 26397 | <return-value transfer-ownership="none" nullable="1"> | |
| 23818 | 26398 | <doc xml:space="preserve" | |
| 23819 | - | filename="gobject-2.0.c" | |
| 23820 | - | line="4966">the invocation hint of the innermost | |
| 26399 | + | filename="gobject/gsignal.c" | |
| 26400 | + | line="2272">the invocation hint of the innermost | |
| 23821 | 26401 | signal emission, or %NULL if not found.</doc> | |
| 23822 | 26402 | <type name="SignalInvocationHint" c:type="GSignalInvocationHint*"/> | |
| 23823 | 26403 | </return-value> | |
| 23824 | 26404 | <parameters> | |
| 23825 | 26405 | <parameter name="instance" transfer-ownership="none"> | |
| 23826 | 26406 | <doc xml:space="preserve" | |
| 23827 | - | filename="gobject-2.0.c" | |
| 23828 | - | line="4962">the instance to query</doc> | |
| 26407 | + | filename="gobject/gsignal.c" | |
| 26408 | + | line="2268">the instance to query</doc> | |
| 23829 | 26409 | <type name="Object" c:type="gpointer"/> | |
| 23830 | 26410 | </parameter> | |
| 23831 | 26411 | </parameters> | |
| @@ -23833,8 +26413,8 @@ specified signal returns a value, but may be ignored otherwise.</doc> | |||
| 23833 | 26413 | <function name="signal_handler_block" | |
| 23834 | 26414 | c:identifier="g_signal_handler_block"> | |
| 23835 | 26415 | <doc xml:space="preserve" | |
| 23836 | - | filename="gobject-2.0.c" | |
| 23837 | - | line="5128">Blocks a handler of an instance so it will not be called during any | |
| 26416 | + | filename="gobject/gsignal.c" | |
| 26417 | + | line="2557">Blocks a handler of an instance so it will not be called during any | |
| 23838 | 26418 | signal emissions unless it is unblocked again. Thus "blocking" a | |
| 23839 | 26419 | signal handler means to temporarily deactivate it, a signal handler | |
| 23840 | 26420 | has to be unblocked exactly the same amount of times it has been | |
| @@ -23842,21 +26422,21 @@ blocked before to become active again. | |||
| 23842 | 26422 | ||
| 23843 | 26423 | The @handler_id has to be a valid signal handler id, connected to a | |
| 23844 | 26424 | signal of @instance.</doc> | |
| 23845 | - | <source-position filename="gsignal.h" line="411"/> | |
| 26425 | + | <source-position filename="gobject/gsignal.h" line="441"/> | |
| 23846 | 26426 | <return-value transfer-ownership="none"> | |
| 23847 | 26427 | <type name="none" c:type="void"/> | |
| 23848 | 26428 | </return-value> | |
| 23849 | 26429 | <parameters> | |
| 23850 | 26430 | <parameter name="instance" transfer-ownership="none"> | |
| 23851 | 26431 | <doc xml:space="preserve" | |
| 23852 | - | filename="gobject-2.0.c" | |
| 23853 | - | line="5130">The instance to block the signal handler of.</doc> | |
| 26432 | + | filename="gobject/gsignal.c" | |
| 26433 | + | line="2559">The instance to block the signal handler of.</doc> | |
| 23854 | 26434 | <type name="Object" c:type="gpointer"/> | |
| 23855 | 26435 | </parameter> | |
| 23856 | 26436 | <parameter name="handler_id" transfer-ownership="none"> | |
| 23857 | 26437 | <doc xml:space="preserve" | |
| 23858 | - | filename="gobject-2.0.c" | |
| 23859 | - | line="5131">Handler id of the handler to be blocked.</doc> | |
| 26438 | + | filename="gobject/gsignal.c" | |
| 26439 | + | line="2560">Handler id of the handler to be blocked.</doc> | |
| 23860 | 26440 | <type name="gulong" c:type="gulong"/> | |
| 23861 | 26441 | </parameter> | |
| 23862 | 26442 | </parameters> | |
| @@ -23864,71 +26444,71 @@ signal of @instance.</doc> | |||
| 23864 | 26444 | <function name="signal_handler_disconnect" | |
| 23865 | 26445 | c:identifier="g_signal_handler_disconnect"> | |
| 23866 | 26446 | <doc xml:space="preserve" | |
| 23867 | - | filename="gobject-2.0.c" | |
| 23868 | - | line="5144">Disconnects a handler from an instance so it will not be called during | |
| 26447 | + | filename="gobject/gsignal.c" | |
| 26448 | + | line="2659">Disconnects a handler from an instance so it will not be called during | |
| 23869 | 26449 | any future or currently ongoing emissions of the signal it has been | |
| 23870 | 26450 | connected to. The @handler_id becomes invalid and may be reused. | |
| 23871 | 26451 | ||
| 23872 | 26452 | The @handler_id has to be a valid signal handler id, connected to a | |
| 23873 | 26453 | signal of @instance.</doc> | |
| 23874 | - | <source-position filename="gsignal.h" line="417"/> | |
| 26454 | + | <source-position filename="gobject/gsignal.h" line="447"/> | |
| 23875 | 26455 | <return-value transfer-ownership="none"> | |
| 23876 | 26456 | <type name="none" c:type="void"/> | |
| 23877 | 26457 | </return-value> | |
| 23878 | 26458 | <parameters> | |
| 23879 | 26459 | <parameter name="instance" transfer-ownership="none"> | |
| 23880 | 26460 | <doc xml:space="preserve" | |
| 23881 | - | filename="gobject-2.0.c" | |
| 23882 | - | line="5146">The instance to remove the signal handler from.</doc> | |
| 26461 | + | filename="gobject/gsignal.c" | |
| 26462 | + | line="2661">The instance to remove the signal handler from.</doc> | |
| 23883 | 26463 | <type name="Object" c:type="gpointer"/> | |
| 23884 | 26464 | </parameter> | |
| 23885 | 26465 | <parameter name="handler_id" transfer-ownership="none"> | |
| 23886 | 26466 | <doc xml:space="preserve" | |
| 23887 | - | filename="gobject-2.0.c" | |
| 23888 | - | line="5147">Handler id of the handler to be disconnected.</doc> | |
| 26467 | + | filename="gobject/gsignal.c" | |
| 26468 | + | line="2662">Handler id of the handler to be disconnected.</doc> | |
| 23889 | 26469 | <type name="gulong" c:type="gulong"/> | |
| 23890 | 26470 | </parameter> | |
| 23891 | 26471 | </parameters> | |
| 23892 | 26472 | </function> | |
| 23893 | 26473 | <function name="signal_handler_find" c:identifier="g_signal_handler_find"> | |
| 23894 | 26474 | <doc xml:space="preserve" | |
| 23895 | - | filename="gobject-2.0.c" | |
| 23896 | - | line="5158">Finds the first signal handler that matches certain selection criteria. | |
| 26475 | + | filename="gobject/gsignal.c" | |
| 26476 | + | line="2780">Finds the first signal handler that matches certain selection criteria. | |
| 23897 | 26477 | The criteria mask is passed as an OR-ed combination of #GSignalMatchType | |
| 23898 | 26478 | flags, and the criteria values are passed as arguments. | |
| 23899 | 26479 | The match @mask has to be non-0 for successful matches. | |
| 23900 | 26480 | If no handler was found, 0 is returned.</doc> | |
| 23901 | - | <source-position filename="gsignal.h" line="423"/> | |
| 26481 | + | <source-position filename="gobject/gsignal.h" line="453"/> | |
| 23902 | 26482 | <return-value transfer-ownership="none"> | |
| 23903 | 26483 | <doc xml:space="preserve" | |
| 23904 | - | filename="gobject-2.0.c" | |
| 23905 | - | line="5175">A valid non-0 signal handler id for a successful match.</doc> | |
| 26484 | + | filename="gobject/gsignal.c" | |
| 26485 | + | line="2797">A valid non-0 signal handler id for a successful match.</doc> | |
| 23906 | 26486 | <type name="gulong" c:type="gulong"/> | |
| 23907 | 26487 | </return-value> | |
| 23908 | 26488 | <parameters> | |
| 23909 | 26489 | <parameter name="instance" transfer-ownership="none"> | |
| 23910 | 26490 | <doc xml:space="preserve" | |
| 23911 | - | filename="gobject-2.0.c" | |
| 23912 | - | line="5160">The instance owning the signal handler to be found.</doc> | |
| 26491 | + | filename="gobject/gsignal.c" | |
| 26492 | + | line="2782">The instance owning the signal handler to be found.</doc> | |
| 23913 | 26493 | <type name="Object" c:type="gpointer"/> | |
| 23914 | 26494 | </parameter> | |
| 23915 | 26495 | <parameter name="mask" transfer-ownership="none"> | |
| 23916 | 26496 | <doc xml:space="preserve" | |
| 23917 | - | filename="gobject-2.0.c" | |
| 23918 | - | line="5161">Mask indicating which of @signal_id, @detail, @closure, @func | |
| 26497 | + | filename="gobject/gsignal.c" | |
| 26498 | + | line="2783">Mask indicating which of @signal_id, @detail, @closure, @func | |
| 23919 | 26499 | and/or @data the handler has to match.</doc> | |
| 23920 | 26500 | <type name="SignalMatchType" c:type="GSignalMatchType"/> | |
| 23921 | 26501 | </parameter> | |
| 23922 | 26502 | <parameter name="signal_id" transfer-ownership="none"> | |
| 23923 | 26503 | <doc xml:space="preserve" | |
| 23924 | - | filename="gobject-2.0.c" | |
| 23925 | - | line="5163">Signal the handler has to be connected to.</doc> | |
| 26504 | + | filename="gobject/gsignal.c" | |
| 26505 | + | line="2785">Signal the handler has to be connected to.</doc> | |
| 23926 | 26506 | <type name="guint" c:type="guint"/> | |
| 23927 | 26507 | </parameter> | |
| 23928 | 26508 | <parameter name="detail" transfer-ownership="none"> | |
| 23929 | 26509 | <doc xml:space="preserve" | |
| 23930 | - | filename="gobject-2.0.c" | |
| 23931 | - | line="5164">Signal detail the handler has to be connected to.</doc> | |
| 26510 | + | filename="gobject/gsignal.c" | |
| 26511 | + | line="2786">Signal detail the handler has to be connected to.</doc> | |
| 23932 | 26512 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 23933 | 26513 | </parameter> | |
| 23934 | 26514 | <parameter name="closure" | |
| @@ -23936,8 +26516,8 @@ If no handler was found, 0 is returned.</doc> | |||
| 23936 | 26516 | nullable="1" | |
| 23937 | 26517 | allow-none="1"> | |
| 23938 | 26518 | <doc xml:space="preserve" | |
| 23939 | - | filename="gobject-2.0.c" | |
| 23940 | - | line="5165">The closure the handler will invoke.</doc> | |
| 26519 | + | filename="gobject/gsignal.c" | |
| 26520 | + | line="2787">The closure the handler will invoke.</doc> | |
| 23941 | 26521 | <type name="Closure" c:type="GClosure*"/> | |
| 23942 | 26522 | </parameter> | |
| 23943 | 26523 | <parameter name="func" | |
| @@ -23945,18 +26525,17 @@ If no handler was found, 0 is returned.</doc> | |||
| 23945 | 26525 | nullable="1" | |
| 23946 | 26526 | allow-none="1"> | |
| 23947 | 26527 | <doc xml:space="preserve" | |
| 23948 | - | filename="gobject-2.0.c" | |
| 23949 | - | line="5166">The C closure callback of the handler (useless for non-C closures).</doc> | |
| 26528 | + | filename="gobject/gsignal.c" | |
| 26529 | + | line="2788">The C closure callback of the handler (useless for non-C closures).</doc> | |
| 23950 | 26530 | <type name="gpointer" c:type="gpointer"/> | |
| 23951 | 26531 | </parameter> | |
| 23952 | 26532 | <parameter name="data" | |
| 23953 | 26533 | transfer-ownership="none" | |
| 23954 | 26534 | nullable="1" | |
| 23955 | - | allow-none="1" | |
| 23956 | - | closure="4"> | |
| 26535 | + | allow-none="1"> | |
| 23957 | 26536 | <doc xml:space="preserve" | |
| 23958 | - | filename="gobject-2.0.c" | |
| 23959 | - | line="5167">The closure data of the handler's closure.</doc> | |
| 26537 | + | filename="gobject/gsignal.c" | |
| 26538 | + | line="2789">The closure data of the handler's closure.</doc> | |
| 23960 | 26539 | <type name="gpointer" c:type="gpointer"/> | |
| 23961 | 26540 | </parameter> | |
| 23962 | 26541 | </parameters> | |
| @@ -23964,26 +26543,26 @@ If no handler was found, 0 is returned.</doc> | |||
| 23964 | 26543 | <function name="signal_handler_is_connected" | |
| 23965 | 26544 | c:identifier="g_signal_handler_is_connected"> | |
| 23966 | 26545 | <doc xml:space="preserve" | |
| 23967 | - | filename="gobject-2.0.c" | |
| 23968 | - | line="5179">Returns whether @handler_id is the ID of a handler connected to @instance.</doc> | |
| 23969 | - | <source-position filename="gsignal.h" line="420"/> | |
| 26546 | + | filename="gobject/gsignal.c" | |
| 26547 | + | line="2702">Returns whether @handler_id is the ID of a handler connected to @instance.</doc> | |
| 26548 | + | <source-position filename="gobject/gsignal.h" line="450"/> | |
| 23970 | 26549 | <return-value transfer-ownership="none"> | |
| 23971 | 26550 | <doc xml:space="preserve" | |
| 23972 | - | filename="gobject-2.0.c" | |
| 23973 | - | line="5186">whether @handler_id identifies a handler connected to @instance.</doc> | |
| 26551 | + | filename="gobject/gsignal.c" | |
| 26552 | + | line="2709">whether @handler_id identifies a handler connected to @instance.</doc> | |
| 23974 | 26553 | <type name="gboolean" c:type="gboolean"/> | |
| 23975 | 26554 | </return-value> | |
| 23976 | 26555 | <parameters> | |
| 23977 | 26556 | <parameter name="instance" transfer-ownership="none"> | |
| 23978 | 26557 | <doc xml:space="preserve" | |
| 23979 | - | filename="gobject-2.0.c" | |
| 23980 | - | line="5181">The instance where a signal handler is sought.</doc> | |
| 26558 | + | filename="gobject/gsignal.c" | |
| 26559 | + | line="2704">The instance where a signal handler is sought.</doc> | |
| 23981 | 26560 | <type name="Object" c:type="gpointer"/> | |
| 23982 | 26561 | </parameter> | |
| 23983 | 26562 | <parameter name="handler_id" transfer-ownership="none"> | |
| 23984 | 26563 | <doc xml:space="preserve" | |
| 23985 | - | filename="gobject-2.0.c" | |
| 23986 | - | line="5182">the handler ID.</doc> | |
| 26564 | + | filename="gobject/gsignal.c" | |
| 26565 | + | line="2705">the handler ID.</doc> | |
| 23987 | 26566 | <type name="gulong" c:type="gulong"/> | |
| 23988 | 26567 | </parameter> | |
| 23989 | 26568 | </parameters> | |
| @@ -23991,8 +26570,8 @@ If no handler was found, 0 is returned.</doc> | |||
| 23991 | 26570 | <function name="signal_handler_unblock" | |
| 23992 | 26571 | c:identifier="g_signal_handler_unblock"> | |
| 23993 | 26572 | <doc xml:space="preserve" | |
| 23994 | - | filename="gobject-2.0.c" | |
| 23995 | - | line="5190">Undoes the effect of a previous g_signal_handler_block() call. A | |
| 26573 | + | filename="gobject/gsignal.c" | |
| 26574 | + | line="2606">Undoes the effect of a previous g_signal_handler_block() call. A | |
| 23996 | 26575 | blocked handler is skipped during signal emissions and will not be | |
| 23997 | 26576 | invoked, unblocking it (for exactly the amount of times it has been | |
| 23998 | 26577 | blocked before) reverts its "blocked" state, so the handler will be | |
| @@ -24005,21 +26584,21 @@ proceeded yet). | |||
| 24005 | 26584 | ||
| 24006 | 26585 | The @handler_id has to be a valid id of a signal handler that is | |
| 24007 | 26586 | connected to a signal of @instance and is currently blocked.</doc> | |
| 24008 | - | <source-position filename="gsignal.h" line="414"/> | |
| 26587 | + | <source-position filename="gobject/gsignal.h" line="444"/> | |
| 24009 | 26588 | <return-value transfer-ownership="none"> | |
| 24010 | 26589 | <type name="none" c:type="void"/> | |
| 24011 | 26590 | </return-value> | |
| 24012 | 26591 | <parameters> | |
| 24013 | 26592 | <parameter name="instance" transfer-ownership="none"> | |
| 24014 | 26593 | <doc xml:space="preserve" | |
| 24015 | - | filename="gobject-2.0.c" | |
| 24016 | - | line="5192">The instance to unblock the signal handler of.</doc> | |
| 26594 | + | filename="gobject/gsignal.c" | |
| 26595 | + | line="2608">The instance to unblock the signal handler of.</doc> | |
| 24017 | 26596 | <type name="Object" c:type="gpointer"/> | |
| 24018 | 26597 | </parameter> | |
| 24019 | 26598 | <parameter name="handler_id" transfer-ownership="none"> | |
| 24020 | 26599 | <doc xml:space="preserve" | |
| 24021 | - | filename="gobject-2.0.c" | |
| 24022 | - | line="5193">Handler id of the handler to be unblocked.</doc> | |
| 26600 | + | filename="gobject/gsignal.c" | |
| 26601 | + | line="2609">Handler id of the handler to be unblocked.</doc> | |
| 24023 | 26602 | <type name="gulong" c:type="gulong"/> | |
| 24024 | 26603 | </parameter> | |
| 24025 | 26604 | </parameters> | |
| @@ -24028,69 +26607,75 @@ connected to a signal of @instance and is currently blocked.</doc> | |||
| 24028 | 26607 | c:identifier="g_signal_handlers_block_by_func" | |
| 24029 | 26608 | introspectable="0"> | |
| 24030 | 26609 | <doc xml:space="preserve" | |
| 24031 | - | filename="gsignal.h" | |
| 24032 | - | line="591">Blocks all handlers on an instance that match @func and @data.</doc> | |
| 24033 | - | <source-position filename="gsignal.h" line="601"/> | |
| 26610 | + | filename="gobject/gsignal.h" | |
| 26611 | + | line="648">Blocks all handlers on an instance that match @func and @data.</doc> | |
| 26612 | + | <source-position filename="gobject/gsignal.h" line="658"/> | |
| 24034 | 26613 | <parameters> | |
| 24035 | 26614 | <parameter name="instance"> | |
| 24036 | 26615 | <doc xml:space="preserve" | |
| 24037 | - | filename="gsignal.h" | |
| 24038 | - | line="593">The instance to block handlers from.</doc> | |
| 26616 | + | filename="gobject/gsignal.h" | |
| 26617 | + | line="650">The instance to block handlers from.</doc> | |
| 24039 | 26618 | </parameter> | |
| 24040 | 26619 | <parameter name="func"> | |
| 24041 | 26620 | <doc xml:space="preserve" | |
| 24042 | - | filename="gsignal.h" | |
| 24043 | - | line="594">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 26621 | + | filename="gobject/gsignal.h" | |
| 26622 | + | line="651">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 24044 | 26623 | </parameter> | |
| 24045 | 26624 | <parameter name="data"> | |
| 24046 | 26625 | <doc xml:space="preserve" | |
| 24047 | - | filename="gsignal.h" | |
| 24048 | - | line="595">The closure data of the handlers' closures.</doc> | |
| 26626 | + | filename="gobject/gsignal.h" | |
| 26627 | + | line="652">The closure data of the handlers' closures.</doc> | |
| 24049 | 26628 | </parameter> | |
| 24050 | 26629 | </parameters> | |
| 24051 | 26630 | </function-macro> | |
| 24052 | 26631 | <function name="signal_handlers_block_matched" | |
| 24053 | 26632 | c:identifier="g_signal_handlers_block_matched"> | |
| 24054 | 26633 | <doc xml:space="preserve" | |
| 24055 | - | filename="gobject-2.0.c" | |
| 24056 | - | line="5211">Blocks all handlers on an instance that match a certain selection criteria. | |
| 24057 | - | The criteria mask is passed as an OR-ed combination of #GSignalMatchType | |
| 24058 | - | flags, and the criteria values are passed as arguments. | |
| 24059 | - | Passing at least one of the %G_SIGNAL_MATCH_CLOSURE, %G_SIGNAL_MATCH_FUNC | |
| 26634 | + | filename="gobject/gsignal.c" | |
| 26635 | + | line="2858">Blocks all handlers on an instance that match a certain selection criteria. | |
| 26636 | + | ||
| 26637 | + | The criteria mask is passed as a combination of #GSignalMatchType flags, and | |
| 26638 | + | the criteria values are passed as arguments. A handler must match on all | |
| 26639 | + | flags set in @mask to be blocked (i.e. the match is conjunctive). | |
| 26640 | + | ||
| 26641 | + | Passing at least one of the %G_SIGNAL_MATCH_ID, %G_SIGNAL_MATCH_CLOSURE, | |
| 26642 | + | %G_SIGNAL_MATCH_FUNC | |
| 24060 | 26643 | or %G_SIGNAL_MATCH_DATA match flags is required for successful matches. | |
| 24061 | 26644 | If no handlers were found, 0 is returned, the number of blocked handlers | |
| 24062 | - | otherwise.</doc> | |
| 24063 | - | <source-position filename="gsignal.h" line="431"/> | |
| 26645 | + | otherwise. | |
| 26646 | + | ||
| 26647 | + | Support for %G_SIGNAL_MATCH_ID was added in GLib 2.78.</doc> | |
| 26648 | + | <source-position filename="gobject/gsignal.h" line="461"/> | |
| 24064 | 26649 | <return-value transfer-ownership="none"> | |
| 24065 | 26650 | <doc xml:space="preserve" | |
| 24066 | - | filename="gobject-2.0.c" | |
| 24067 | - | line="5230">The number of handlers that matched.</doc> | |
| 26651 | + | filename="gobject/gsignal.c" | |
| 26652 | + | line="2883">The number of handlers that matched.</doc> | |
| 24068 | 26653 | <type name="guint" c:type="guint"/> | |
| 24069 | 26654 | </return-value> | |
| 24070 | 26655 | <parameters> | |
| 24071 | 26656 | <parameter name="instance" transfer-ownership="none"> | |
| 24072 | 26657 | <doc xml:space="preserve" | |
| 24073 | - | filename="gobject-2.0.c" | |
| 24074 | - | line="5213">The instance to block handlers from.</doc> | |
| 26658 | + | filename="gobject/gsignal.c" | |
| 26659 | + | line="2860">The instance to block handlers from.</doc> | |
| 24075 | 26660 | <type name="Object" c:type="gpointer"/> | |
| 24076 | 26661 | </parameter> | |
| 24077 | 26662 | <parameter name="mask" transfer-ownership="none"> | |
| 24078 | 26663 | <doc xml:space="preserve" | |
| 24079 | - | filename="gobject-2.0.c" | |
| 24080 | - | line="5214">Mask indicating which of @signal_id, @detail, @closure, @func | |
| 26664 | + | filename="gobject/gsignal.c" | |
| 26665 | + | line="2861">Mask indicating which of @signal_id, @detail, @closure, @func | |
| 24081 | 26666 | and/or @data the handlers have to match.</doc> | |
| 24082 | 26667 | <type name="SignalMatchType" c:type="GSignalMatchType"/> | |
| 24083 | 26668 | </parameter> | |
| 24084 | 26669 | <parameter name="signal_id" transfer-ownership="none"> | |
| 24085 | 26670 | <doc xml:space="preserve" | |
| 24086 | - | filename="gobject-2.0.c" | |
| 24087 | - | line="5216">Signal the handlers have to be connected to.</doc> | |
| 26671 | + | filename="gobject/gsignal.c" | |
| 26672 | + | line="2863">Signal the handlers have to be connected to.</doc> | |
| 24088 | 26673 | <type name="guint" c:type="guint"/> | |
| 24089 | 26674 | </parameter> | |
| 24090 | 26675 | <parameter name="detail" transfer-ownership="none"> | |
| 24091 | 26676 | <doc xml:space="preserve" | |
| 24092 | - | filename="gobject-2.0.c" | |
| 24093 | - | line="5217">Signal detail the handlers have to be connected to.</doc> | |
| 26677 | + | filename="gobject/gsignal.c" | |
| 26678 | + | line="2864">Signal detail the handlers have to be connected to.</doc> | |
| 24094 | 26679 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 24095 | 26680 | </parameter> | |
| 24096 | 26681 | <parameter name="closure" | |
| @@ -24098,8 +26683,8 @@ otherwise.</doc> | |||
| 24098 | 26683 | nullable="1" | |
| 24099 | 26684 | allow-none="1"> | |
| 24100 | 26685 | <doc xml:space="preserve" | |
| 24101 | - | filename="gobject-2.0.c" | |
| 24102 | - | line="5218">The closure the handlers will invoke.</doc> | |
| 26686 | + | filename="gobject/gsignal.c" | |
| 26687 | + | line="2865">The closure the handlers will invoke.</doc> | |
| 24103 | 26688 | <type name="Closure" c:type="GClosure*"/> | |
| 24104 | 26689 | </parameter> | |
| 24105 | 26690 | <parameter name="func" | |
| @@ -24107,18 +26692,17 @@ otherwise.</doc> | |||
| 24107 | 26692 | nullable="1" | |
| 24108 | 26693 | allow-none="1"> | |
| 24109 | 26694 | <doc xml:space="preserve" | |
| 24110 | - | filename="gobject-2.0.c" | |
| 24111 | - | line="5219">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 26695 | + | filename="gobject/gsignal.c" | |
| 26696 | + | line="2866">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 24112 | 26697 | <type name="gpointer" c:type="gpointer"/> | |
| 24113 | 26698 | </parameter> | |
| 24114 | 26699 | <parameter name="data" | |
| 24115 | 26700 | transfer-ownership="none" | |
| 24116 | 26701 | nullable="1" | |
| 24117 | - | allow-none="1" | |
| 24118 | - | closure="4"> | |
| 26702 | + | allow-none="1"> | |
| 24119 | 26703 | <doc xml:space="preserve" | |
| 24120 | - | filename="gobject-2.0.c" | |
| 24121 | - | line="5220">The closure data of the handlers' closures.</doc> | |
| 26704 | + | filename="gobject/gsignal.c" | |
| 26705 | + | line="2867">The closure data of the handlers' closures.</doc> | |
| 24122 | 26706 | <type name="gpointer" c:type="gpointer"/> | |
| 24123 | 26707 | </parameter> | |
| 24124 | 26708 | </parameters> | |
| @@ -24126,19 +26710,19 @@ otherwise.</doc> | |||
| 24126 | 26710 | <function name="signal_handlers_destroy" | |
| 24127 | 26711 | c:identifier="g_signal_handlers_destroy"> | |
| 24128 | 26712 | <doc xml:space="preserve" | |
| 24129 | - | filename="gobject-2.0.c" | |
| 24130 | - | line="5234">Destroy all signal handlers of a type instance. This function is | |
| 26713 | + | filename="gobject/gsignal.c" | |
| 26714 | + | line="2728">Destroy all signal handlers of a type instance. This function is | |
| 24131 | 26715 | an implementation detail of the #GObject dispose implementation, | |
| 24132 | 26716 | and should not be used outside of the type system.</doc> | |
| 24133 | - | <source-position filename="gsignal.h" line="635"/> | |
| 26717 | + | <source-position filename="gobject/gsignal.h" line="692"/> | |
| 24134 | 26718 | <return-value transfer-ownership="none"> | |
| 24135 | 26719 | <type name="none" c:type="void"/> | |
| 24136 | 26720 | </return-value> | |
| 24137 | 26721 | <parameters> | |
| 24138 | 26722 | <parameter name="instance" transfer-ownership="none"> | |
| 24139 | 26723 | <doc xml:space="preserve" | |
| 24140 | - | filename="gobject-2.0.c" | |
| 24141 | - | line="5236">The instance whose signal handlers are destroyed</doc> | |
| 26724 | + | filename="gobject/gsignal.c" | |
| 26725 | + | line="2730">The instance whose signal handlers are destroyed</doc> | |
| 24142 | 26726 | <type name="Object" c:type="gpointer"/> | |
| 24143 | 26727 | </parameter> | |
| 24144 | 26728 | </parameters> | |
| @@ -24148,19 +26732,19 @@ and should not be used outside of the type system.</doc> | |||
| 24148 | 26732 | version="2.32" | |
| 24149 | 26733 | introspectable="0"> | |
| 24150 | 26734 | <doc xml:space="preserve" | |
| 24151 | - | filename="gsignal.h" | |
| 24152 | - | line="577">Disconnects all handlers on an instance that match @data.</doc> | |
| 24153 | - | <source-position filename="gsignal.h" line="588"/> | |
| 26735 | + | filename="gobject/gsignal.h" | |
| 26736 | + | line="634">Disconnects all handlers on an instance that match @data.</doc> | |
| 26737 | + | <source-position filename="gobject/gsignal.h" line="645"/> | |
| 24154 | 26738 | <parameters> | |
| 24155 | 26739 | <parameter name="instance"> | |
| 24156 | 26740 | <doc xml:space="preserve" | |
| 24157 | - | filename="gsignal.h" | |
| 24158 | - | line="579">The instance to remove handlers from</doc> | |
| 26741 | + | filename="gobject/gsignal.h" | |
| 26742 | + | line="636">The instance to remove handlers from</doc> | |
| 24159 | 26743 | </parameter> | |
| 24160 | 26744 | <parameter name="data"> | |
| 24161 | 26745 | <doc xml:space="preserve" | |
| 24162 | - | filename="gsignal.h" | |
| 24163 | - | line="580">the closure data of the handlers' closures</doc> | |
| 26746 | + | filename="gobject/gsignal.h" | |
| 26747 | + | line="637">the closure data of the handlers' closures</doc> | |
| 24164 | 26748 | </parameter> | |
| 24165 | 26749 | </parameters> | |
| 24166 | 26750 | </function-macro> | |
| @@ -24168,70 +26752,76 @@ and should not be used outside of the type system.</doc> | |||
| 24168 | 26752 | c:identifier="g_signal_handlers_disconnect_by_func" | |
| 24169 | 26753 | introspectable="0"> | |
| 24170 | 26754 | <doc xml:space="preserve" | |
| 24171 | - | filename="gsignal.h" | |
| 24172 | - | line="562">Disconnects all handlers on an instance that match @func and @data.</doc> | |
| 24173 | - | <source-position filename="gsignal.h" line="572"/> | |
| 26755 | + | filename="gobject/gsignal.h" | |
| 26756 | + | line="619">Disconnects all handlers on an instance that match @func and @data.</doc> | |
| 26757 | + | <source-position filename="gobject/gsignal.h" line="629"/> | |
| 24174 | 26758 | <parameters> | |
| 24175 | 26759 | <parameter name="instance"> | |
| 24176 | 26760 | <doc xml:space="preserve" | |
| 24177 | - | filename="gsignal.h" | |
| 24178 | - | line="564">The instance to remove handlers from.</doc> | |
| 26761 | + | filename="gobject/gsignal.h" | |
| 26762 | + | line="621">The instance to remove handlers from.</doc> | |
| 24179 | 26763 | </parameter> | |
| 24180 | 26764 | <parameter name="func"> | |
| 24181 | 26765 | <doc xml:space="preserve" | |
| 24182 | - | filename="gsignal.h" | |
| 24183 | - | line="565">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 26766 | + | filename="gobject/gsignal.h" | |
| 26767 | + | line="622">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 24184 | 26768 | </parameter> | |
| 24185 | 26769 | <parameter name="data"> | |
| 24186 | 26770 | <doc xml:space="preserve" | |
| 24187 | - | filename="gsignal.h" | |
| 24188 | - | line="566">The closure data of the handlers' closures.</doc> | |
| 26771 | + | filename="gobject/gsignal.h" | |
| 26772 | + | line="623">The closure data of the handlers' closures.</doc> | |
| 24189 | 26773 | </parameter> | |
| 24190 | 26774 | </parameters> | |
| 24191 | 26775 | </function-macro> | |
| 24192 | 26776 | <function name="signal_handlers_disconnect_matched" | |
| 24193 | 26777 | c:identifier="g_signal_handlers_disconnect_matched"> | |
| 24194 | 26778 | <doc xml:space="preserve" | |
| 24195 | - | filename="gobject-2.0.c" | |
| 24196 | - | line="5244">Disconnects all handlers on an instance that match a certain | |
| 24197 | - | selection criteria. The criteria mask is passed as an OR-ed | |
| 24198 | - | combination of #GSignalMatchType flags, and the criteria values are | |
| 24199 | - | passed as arguments. Passing at least one of the | |
| 24200 | - | %G_SIGNAL_MATCH_CLOSURE, %G_SIGNAL_MATCH_FUNC or | |
| 26779 | + | filename="gobject/gsignal.c" | |
| 26780 | + | line="2968">Disconnects all handlers on an instance that match a certain | |
| 26781 | + | selection criteria. | |
| 26782 | + | ||
| 26783 | + | The criteria mask is passed as a combination of #GSignalMatchType flags, and | |
| 26784 | + | the criteria values are passed as arguments. A handler must match on all | |
| 26785 | + | flags set in @mask to be disconnected (i.e. the match is conjunctive). | |
| 26786 | + | ||
| 26787 | + | Passing at least one of the %G_SIGNAL_MATCH_ID, %G_SIGNAL_MATCH_CLOSURE, | |
| 26788 | + | %G_SIGNAL_MATCH_FUNC or | |
| 24201 | 26789 | %G_SIGNAL_MATCH_DATA match flags is required for successful | |
| 24202 | 26790 | matches. If no handlers were found, 0 is returned, the number of | |
| 24203 | - | disconnected handlers otherwise.</doc> | |
| 24204 | - | <source-position filename="gsignal.h" line="447"/> | |
| 26791 | + | disconnected handlers otherwise. | |
| 26792 | + | ||
| 26793 | + | Support for %G_SIGNAL_MATCH_ID was added in GLib 2.78.</doc> | |
| 26794 | + | <source-position filename="gobject/gsignal.h" line="477"/> | |
| 24205 | 26795 | <return-value transfer-ownership="none"> | |
| 24206 | 26796 | <doc xml:space="preserve" | |
| 24207 | - | filename="gobject-2.0.c" | |
| 24208 | - | line="5264">The number of handlers that matched.</doc> | |
| 26797 | + | filename="gobject/gsignal.c" | |
| 26798 | + | line="2994">The number of handlers that matched.</doc> | |
| 24209 | 26799 | <type name="guint" c:type="guint"/> | |
| 24210 | 26800 | </return-value> | |
| 24211 | 26801 | <parameters> | |
| 24212 | 26802 | <parameter name="instance" transfer-ownership="none"> | |
| 24213 | 26803 | <doc xml:space="preserve" | |
| 24214 | - | filename="gobject-2.0.c" | |
| 24215 | - | line="5246">The instance to remove handlers from.</doc> | |
| 26804 | + | filename="gobject/gsignal.c" | |
| 26805 | + | line="2970">The instance to remove handlers from.</doc> | |
| 24216 | 26806 | <type name="Object" c:type="gpointer"/> | |
| 24217 | 26807 | </parameter> | |
| 24218 | 26808 | <parameter name="mask" transfer-ownership="none"> | |
| 24219 | 26809 | <doc xml:space="preserve" | |
| 24220 | - | filename="gobject-2.0.c" | |
| 24221 | - | line="5247">Mask indicating which of @signal_id, @detail, @closure, @func | |
| 26810 | + | filename="gobject/gsignal.c" | |
| 26811 | + | line="2971">Mask indicating which of @signal_id, @detail, @closure, @func | |
| 24222 | 26812 | and/or @data the handlers have to match.</doc> | |
| 24223 | 26813 | <type name="SignalMatchType" c:type="GSignalMatchType"/> | |
| 24224 | 26814 | </parameter> | |
| 24225 | 26815 | <parameter name="signal_id" transfer-ownership="none"> | |
| 24226 | 26816 | <doc xml:space="preserve" | |
| 24227 | - | filename="gobject-2.0.c" | |
| 24228 | - | line="5249">Signal the handlers have to be connected to.</doc> | |
| 26817 | + | filename="gobject/gsignal.c" | |
| 26818 | + | line="2973">Signal the handlers have to be connected to.</doc> | |
| 24229 | 26819 | <type name="guint" c:type="guint"/> | |
| 24230 | 26820 | </parameter> | |
| 24231 | 26821 | <parameter name="detail" transfer-ownership="none"> | |
| 24232 | 26822 | <doc xml:space="preserve" | |
| 24233 | - | filename="gobject-2.0.c" | |
| 24234 | - | line="5250">Signal detail the handlers have to be connected to.</doc> | |
| 26823 | + | filename="gobject/gsignal.c" | |
| 26824 | + | line="2974">Signal detail the handlers have to be connected to.</doc> | |
| 24235 | 26825 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 24236 | 26826 | </parameter> | |
| 24237 | 26827 | <parameter name="closure" | |
| @@ -24239,8 +26829,8 @@ disconnected handlers otherwise.</doc> | |||
| 24239 | 26829 | nullable="1" | |
| 24240 | 26830 | allow-none="1"> | |
| 24241 | 26831 | <doc xml:space="preserve" | |
| 24242 | - | filename="gobject-2.0.c" | |
| 24243 | - | line="5251">The closure the handlers will invoke.</doc> | |
| 26832 | + | filename="gobject/gsignal.c" | |
| 26833 | + | line="2975">The closure the handlers will invoke.</doc> | |
| 24244 | 26834 | <type name="Closure" c:type="GClosure*"/> | |
| 24245 | 26835 | </parameter> | |
| 24246 | 26836 | <parameter name="func" | |
| @@ -24248,18 +26838,17 @@ disconnected handlers otherwise.</doc> | |||
| 24248 | 26838 | nullable="1" | |
| 24249 | 26839 | allow-none="1"> | |
| 24250 | 26840 | <doc xml:space="preserve" | |
| 24251 | - | filename="gobject-2.0.c" | |
| 24252 | - | line="5252">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 26841 | + | filename="gobject/gsignal.c" | |
| 26842 | + | line="2976">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 24253 | 26843 | <type name="gpointer" c:type="gpointer"/> | |
| 24254 | 26844 | </parameter> | |
| 24255 | 26845 | <parameter name="data" | |
| 24256 | 26846 | transfer-ownership="none" | |
| 24257 | 26847 | nullable="1" | |
| 24258 | - | allow-none="1" | |
| 24259 | - | closure="4"> | |
| 26848 | + | allow-none="1"> | |
| 24260 | 26849 | <doc xml:space="preserve" | |
| 24261 | - | filename="gobject-2.0.c" | |
| 24262 | - | line="5253">The closure data of the handlers' closures.</doc> | |
| 26850 | + | filename="gobject/gsignal.c" | |
| 26851 | + | line="2977">The closure data of the handlers' closures.</doc> | |
| 24263 | 26852 | <type name="gpointer" c:type="gpointer"/> | |
| 24264 | 26853 | </parameter> | |
| 24265 | 26854 | </parameters> | |
| @@ -24268,70 +26857,77 @@ disconnected handlers otherwise.</doc> | |||
| 24268 | 26857 | c:identifier="g_signal_handlers_unblock_by_func" | |
| 24269 | 26858 | introspectable="0"> | |
| 24270 | 26859 | <doc xml:space="preserve" | |
| 24271 | - | filename="gsignal.h" | |
| 24272 | - | line="605">Unblocks all handlers on an instance that match @func and @data.</doc> | |
| 24273 | - | <source-position filename="gsignal.h" line="615"/> | |
| 26860 | + | filename="gobject/gsignal.h" | |
| 26861 | + | line="662">Unblocks all handlers on an instance that match @func and @data.</doc> | |
| 26862 | + | <source-position filename="gobject/gsignal.h" line="672"/> | |
| 24274 | 26863 | <parameters> | |
| 24275 | 26864 | <parameter name="instance"> | |
| 24276 | 26865 | <doc xml:space="preserve" | |
| 24277 | - | filename="gsignal.h" | |
| 24278 | - | line="607">The instance to unblock handlers from.</doc> | |
| 26866 | + | filename="gobject/gsignal.h" | |
| 26867 | + | line="664">The instance to unblock handlers from.</doc> | |
| 24279 | 26868 | </parameter> | |
| 24280 | 26869 | <parameter name="func"> | |
| 24281 | 26870 | <doc xml:space="preserve" | |
| 24282 | - | filename="gsignal.h" | |
| 24283 | - | line="608">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 26871 | + | filename="gobject/gsignal.h" | |
| 26872 | + | line="665">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 24284 | 26873 | </parameter> | |
| 24285 | 26874 | <parameter name="data"> | |
| 24286 | 26875 | <doc xml:space="preserve" | |
| 24287 | - | filename="gsignal.h" | |
| 24288 | - | line="609">The closure data of the handlers' closures.</doc> | |
| 26876 | + | filename="gobject/gsignal.h" | |
| 26877 | + | line="666">The closure data of the handlers' closures.</doc> | |
| 24289 | 26878 | </parameter> | |
| 24290 | 26879 | </parameters> | |
| 24291 | 26880 | </function-macro> | |
| 24292 | 26881 | <function name="signal_handlers_unblock_matched" | |
| 24293 | 26882 | c:identifier="g_signal_handlers_unblock_matched"> | |
| 24294 | 26883 | <doc xml:space="preserve" | |
| 24295 | - | filename="gobject-2.0.c" | |
| 24296 | - | line="5268">Unblocks all handlers on an instance that match a certain selection | |
| 24297 | - | criteria. The criteria mask is passed as an OR-ed combination of | |
| 24298 | - | #GSignalMatchType flags, and the criteria values are passed as arguments. | |
| 24299 | - | Passing at least one of the %G_SIGNAL_MATCH_CLOSURE, %G_SIGNAL_MATCH_FUNC | |
| 26884 | + | filename="gobject/gsignal.c" | |
| 26885 | + | line="2912">Unblocks all handlers on an instance that match a certain selection | |
| 26886 | + | criteria. | |
| 26887 | + | ||
| 26888 | + | The criteria mask is passed as a combination of #GSignalMatchType flags, and | |
| 26889 | + | the criteria values are passed as arguments. A handler must match on all | |
| 26890 | + | flags set in @mask to be unblocked (i.e. the match is conjunctive). | |
| 26891 | + | ||
| 26892 | + | Passing at least one of the %G_SIGNAL_MATCH_ID, %G_SIGNAL_MATCH_CLOSURE, | |
| 26893 | + | %G_SIGNAL_MATCH_FUNC | |
| 24300 | 26894 | or %G_SIGNAL_MATCH_DATA match flags is required for successful matches. | |
| 24301 | 26895 | If no handlers were found, 0 is returned, the number of unblocked handlers | |
| 24302 | 26896 | otherwise. The match criteria should not apply to any handlers that are | |
| 24303 | - | not currently blocked.</doc> | |
| 24304 | - | <source-position filename="gsignal.h" line="439"/> | |
| 26897 | + | not currently blocked. | |
| 26898 | + | ||
| 26899 | + | Support for %G_SIGNAL_MATCH_ID was added in GLib 2.78.</doc> | |
| 26900 | + | <source-position filename="gobject/gsignal.h" line="469"/> | |
| 24305 | 26901 | <return-value transfer-ownership="none"> | |
| 24306 | 26902 | <doc xml:space="preserve" | |
| 24307 | - | filename="gobject-2.0.c" | |
| 24308 | - | line="5288">The number of handlers that matched.</doc> | |
| 26903 | + | filename="gobject/gsignal.c" | |
| 26904 | + | line="2939">The number of handlers that matched.</doc> | |
| 24309 | 26905 | <type name="guint" c:type="guint"/> | |
| 24310 | 26906 | </return-value> | |
| 24311 | 26907 | <parameters> | |
| 24312 | 26908 | <parameter name="instance" transfer-ownership="none"> | |
| 24313 | 26909 | <doc xml:space="preserve" | |
| 24314 | - | filename="gobject-2.0.c" | |
| 24315 | - | line="5270">The instance to unblock handlers from.</doc> | |
| 26910 | + | filename="gobject/gsignal.c" | |
| 26911 | + | line="2914">The instance to unblock handlers from.</doc> | |
| 24316 | 26912 | <type name="Object" c:type="gpointer"/> | |
| 24317 | 26913 | </parameter> | |
| 24318 | 26914 | <parameter name="mask" transfer-ownership="none"> | |
| 24319 | 26915 | <doc xml:space="preserve" | |
| 24320 | - | filename="gobject-2.0.c" | |
| 24321 | - | line="5271">Mask indicating which of @signal_id, @detail, @closure, @func | |
| 26916 | + | filename="gobject/gsignal.c" | |
| 26917 | + | line="2915">Mask indicating which of @signal_id, @detail, @closure, @func | |
| 24322 | 26918 | and/or @data the handlers have to match.</doc> | |
| 24323 | 26919 | <type name="SignalMatchType" c:type="GSignalMatchType"/> | |
| 24324 | 26920 | </parameter> | |
| 24325 | 26921 | <parameter name="signal_id" transfer-ownership="none"> | |
| 24326 | 26922 | <doc xml:space="preserve" | |
| 24327 | - | filename="gobject-2.0.c" | |
| 24328 | - | line="5273">Signal the handlers have to be connected to.</doc> | |
| 26923 | + | filename="gobject/gsignal.c" | |
| 26924 | + | line="2917">Signal the handlers have to be connected to.</doc> | |
| 24329 | 26925 | <type name="guint" c:type="guint"/> | |
| 24330 | 26926 | </parameter> | |
| 24331 | 26927 | <parameter name="detail" transfer-ownership="none"> | |
| 24332 | 26928 | <doc xml:space="preserve" | |
| 24333 | - | filename="gobject-2.0.c" | |
| 24334 | - | line="5274">Signal detail the handlers have to be connected to.</doc> | |
| 26929 | + | filename="gobject/gsignal.c" | |
| 26930 | + | line="2918">Signal detail the handlers have to be connected to.</doc> | |
| 24335 | 26931 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 24336 | 26932 | </parameter> | |
| 24337 | 26933 | <parameter name="closure" | |
| @@ -24339,8 +26935,8 @@ not currently blocked.</doc> | |||
| 24339 | 26935 | nullable="1" | |
| 24340 | 26936 | allow-none="1"> | |
| 24341 | 26937 | <doc xml:space="preserve" | |
| 24342 | - | filename="gobject-2.0.c" | |
| 24343 | - | line="5275">The closure the handlers will invoke.</doc> | |
| 26938 | + | filename="gobject/gsignal.c" | |
| 26939 | + | line="2919">The closure the handlers will invoke.</doc> | |
| 24344 | 26940 | <type name="Closure" c:type="GClosure*"/> | |
| 24345 | 26941 | </parameter> | |
| 24346 | 26942 | <parameter name="func" | |
| @@ -24348,18 +26944,17 @@ not currently blocked.</doc> | |||
| 24348 | 26944 | nullable="1" | |
| 24349 | 26945 | allow-none="1"> | |
| 24350 | 26946 | <doc xml:space="preserve" | |
| 24351 | - | filename="gobject-2.0.c" | |
| 24352 | - | line="5276">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 26947 | + | filename="gobject/gsignal.c" | |
| 26948 | + | line="2920">The C closure callback of the handlers (useless for non-C closures).</doc> | |
| 24353 | 26949 | <type name="gpointer" c:type="gpointer"/> | |
| 24354 | 26950 | </parameter> | |
| 24355 | 26951 | <parameter name="data" | |
| 24356 | 26952 | transfer-ownership="none" | |
| 24357 | 26953 | nullable="1" | |
| 24358 | - | allow-none="1" | |
| 24359 | - | closure="4"> | |
| 26954 | + | allow-none="1"> | |
| 24360 | 26955 | <doc xml:space="preserve" | |
| 24361 | - | filename="gobject-2.0.c" | |
| 24362 | - | line="5277">The closure data of the handlers' closures.</doc> | |
| 26956 | + | filename="gobject/gsignal.c" | |
| 26957 | + | line="2921">The closure data of the handlers' closures.</doc> | |
| 24363 | 26958 | <type name="gpointer" c:type="gpointer"/> | |
| 24364 | 26959 | </parameter> | |
| 24365 | 26960 | </parameters> | |
| @@ -24367,8 +26962,8 @@ not currently blocked.</doc> | |||
| 24367 | 26962 | <function name="signal_has_handler_pending" | |
| 24368 | 26963 | c:identifier="g_signal_has_handler_pending"> | |
| 24369 | 26964 | <doc xml:space="preserve" | |
| 24370 | - | filename="gobject-2.0.c" | |
| 24371 | - | line="5292">Returns whether there are any handlers connected to @instance for the | |
| 26965 | + | filename="gobject/gsignal.c" | |
| 26966 | + | line="3023">Returns whether there are any handlers connected to @instance for the | |
| 24372 | 26967 | given signal id and detail. | |
| 24373 | 26968 | ||
| 24374 | 26969 | If @detail is 0 then it will only match handlers that were connected | |
| @@ -24384,37 +26979,37 @@ One example of when you might use this is when the arguments to the | |||
| 24384 | 26979 | signal are difficult to compute. A class implementor may opt to not | |
| 24385 | 26980 | emit the signal if no one is attached anyway, thus saving the cost | |
| 24386 | 26981 | of building the arguments.</doc> | |
| 24387 | - | <source-position filename="gsignal.h" line="388"/> | |
| 26982 | + | <source-position filename="gobject/gsignal.h" line="418"/> | |
| 24388 | 26983 | <return-value transfer-ownership="none"> | |
| 24389 | 26984 | <doc xml:space="preserve" | |
| 24390 | - | filename="gobject-2.0.c" | |
| 24391 | - | line="5316">%TRUE if a handler is connected to the signal, %FALSE | |
| 26985 | + | filename="gobject/gsignal.c" | |
| 26986 | + | line="3047">%TRUE if a handler is connected to the signal, %FALSE | |
| 24392 | 26987 | otherwise.</doc> | |
| 24393 | 26988 | <type name="gboolean" c:type="gboolean"/> | |
| 24394 | 26989 | </return-value> | |
| 24395 | 26990 | <parameters> | |
| 24396 | 26991 | <parameter name="instance" transfer-ownership="none"> | |
| 24397 | 26992 | <doc xml:space="preserve" | |
| 24398 | - | filename="gobject-2.0.c" | |
| 24399 | - | line="5294">the object whose signal handlers are sought.</doc> | |
| 26993 | + | filename="gobject/gsignal.c" | |
| 26994 | + | line="3025">the object whose signal handlers are sought.</doc> | |
| 24400 | 26995 | <type name="Object" c:type="gpointer"/> | |
| 24401 | 26996 | </parameter> | |
| 24402 | 26997 | <parameter name="signal_id" transfer-ownership="none"> | |
| 24403 | 26998 | <doc xml:space="preserve" | |
| 24404 | - | filename="gobject-2.0.c" | |
| 24405 | - | line="5295">the signal id.</doc> | |
| 26999 | + | filename="gobject/gsignal.c" | |
| 27000 | + | line="3026">the signal id.</doc> | |
| 24406 | 27001 | <type name="guint" c:type="guint"/> | |
| 24407 | 27002 | </parameter> | |
| 24408 | 27003 | <parameter name="detail" transfer-ownership="none"> | |
| 24409 | 27004 | <doc xml:space="preserve" | |
| 24410 | - | filename="gobject-2.0.c" | |
| 24411 | - | line="5296">the detail.</doc> | |
| 27005 | + | filename="gobject/gsignal.c" | |
| 27006 | + | line="3027">the detail.</doc> | |
| 24412 | 27007 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 24413 | 27008 | </parameter> | |
| 24414 | 27009 | <parameter name="may_be_blocked" transfer-ownership="none"> | |
| 24415 | 27010 | <doc xml:space="preserve" | |
| 24416 | - | filename="gobject-2.0.c" | |
| 24417 | - | line="5297">whether blocked handlers should count as match.</doc> | |
| 27011 | + | filename="gobject/gsignal.c" | |
| 27012 | + | line="3028">whether blocked handlers should count as match.</doc> | |
| 24418 | 27013 | <type name="gboolean" c:type="gboolean"/> | |
| 24419 | 27014 | </parameter> | |
| 24420 | 27015 | </parameters> | |
| @@ -24423,40 +27018,39 @@ of building the arguments.</doc> | |||
| 24423 | 27018 | c:identifier="g_signal_is_valid_name" | |
| 24424 | 27019 | version="2.66"> | |
| 24425 | 27020 | <doc xml:space="preserve" | |
| 24426 | - | filename="gobject-2.0.c" | |
| 24427 | - | line="5321">Validate a signal name. This can be useful for dynamically-generated signals | |
| 27021 | + | filename="gobject/gsignal.c" | |
| 27022 | + | line="279">Validate a signal name. This can be useful for dynamically-generated signals | |
| 24428 | 27023 | which need to be validated at run-time before actually trying to create them. | |
| 24429 | 27024 | ||
| 24430 | - | See [canonical parameter names][canonical-parameter-names] for details of | |
| 24431 | - | the rules for valid names. The rules for signal names are the same as those | |
| 24432 | - | for property names.</doc> | |
| 24433 | - | <source-position filename="gsignal.h" line="356"/> | |
| 27025 | + | See [func@GObject.signal_new] for details of the rules for valid names. | |
| 27026 | + | The rules for signal names are the same as those for property names.</doc> | |
| 27027 | + | <source-position filename="gobject/gsignal.h" line="386"/> | |
| 24434 | 27028 | <return-value transfer-ownership="none"> | |
| 24435 | 27029 | <doc xml:space="preserve" | |
| 24436 | - | filename="gobject-2.0.c" | |
| 24437 | - | line="5332">%TRUE if @name is a valid signal name, %FALSE otherwise.</doc> | |
| 27030 | + | filename="gobject/gsignal.c" | |
| 27031 | + | line="289">%TRUE if @name is a valid signal name, %FALSE otherwise.</doc> | |
| 24438 | 27032 | <type name="gboolean" c:type="gboolean"/> | |
| 24439 | 27033 | </return-value> | |
| 24440 | 27034 | <parameters> | |
| 24441 | 27035 | <parameter name="name" transfer-ownership="none"> | |
| 24442 | 27036 | <doc xml:space="preserve" | |
| 24443 | - | filename="gobject-2.0.c" | |
| 24444 | - | line="5323">the canonical name of the signal</doc> | |
| 27037 | + | filename="gobject/gsignal.c" | |
| 27038 | + | line="281">the canonical name of the signal</doc> | |
| 24445 | 27039 | <type name="utf8" c:type="const gchar*"/> | |
| 24446 | 27040 | </parameter> | |
| 24447 | 27041 | </parameters> | |
| 24448 | 27042 | </function> | |
| 24449 | 27043 | <function name="signal_list_ids" c:identifier="g_signal_list_ids"> | |
| 24450 | 27044 | <doc xml:space="preserve" | |
| 24451 | - | filename="gobject-2.0.c" | |
| 24452 | - | line="5337">Lists the signals by id that a certain instance or interface type | |
| 27045 | + | filename="gobject/gsignal.c" | |
| 27046 | + | line="1237">Lists the signals by id that a certain instance or interface type | |
| 24453 | 27047 | created. Further information about the signals can be acquired through | |
| 24454 | 27048 | g_signal_query().</doc> | |
| 24455 | - | <source-position filename="gsignal.h" line="353"/> | |
| 27049 | + | <source-position filename="gobject/gsignal.h" line="383"/> | |
| 24456 | 27050 | <return-value transfer-ownership="full"> | |
| 24457 | 27051 | <doc xml:space="preserve" | |
| 24458 | - | filename="gobject-2.0.c" | |
| 24459 | - | line="5346">Newly allocated array of signal IDs.</doc> | |
| 27052 | + | filename="gobject/gsignal.c" | |
| 27053 | + | line="1246">Newly allocated array of signal IDs.</doc> | |
| 24460 | 27054 | <array length="1" zero-terminated="0" c:type="guint*"> | |
| 24461 | 27055 | <type name="guint" c:type="guint"/> | |
| 24462 | 27056 | </array> | |
| @@ -24464,8 +27058,8 @@ g_signal_query().</doc> | |||
| 24464 | 27058 | <parameters> | |
| 24465 | 27059 | <parameter name="itype" transfer-ownership="none"> | |
| 24466 | 27060 | <doc xml:space="preserve" | |
| 24467 | - | filename="gobject-2.0.c" | |
| 24468 | - | line="5339">Instance or interface type.</doc> | |
| 27061 | + | filename="gobject/gsignal.c" | |
| 27062 | + | line="1239">Instance or interface type.</doc> | |
| 24469 | 27063 | <type name="GType" c:type="GType"/> | |
| 24470 | 27064 | </parameter> | |
| 24471 | 27065 | <parameter name="n_ids" | |
| @@ -24473,16 +27067,16 @@ g_signal_query().</doc> | |||
| 24473 | 27067 | caller-allocates="0" | |
| 24474 | 27068 | transfer-ownership="full"> | |
| 24475 | 27069 | <doc xml:space="preserve" | |
| 24476 | - | filename="gobject-2.0.c" | |
| 24477 | - | line="5340">Location to store the number of signal ids for @itype.</doc> | |
| 27070 | + | filename="gobject/gsignal.c" | |
| 27071 | + | line="1240">Location to store the number of signal ids for @itype.</doc> | |
| 24478 | 27072 | <type name="guint" c:type="guint*"/> | |
| 24479 | 27073 | </parameter> | |
| 24480 | 27074 | </parameters> | |
| 24481 | 27075 | </function> | |
| 24482 | 27076 | <function name="signal_lookup" c:identifier="g_signal_lookup"> | |
| 24483 | 27077 | <doc xml:space="preserve" | |
| 24484 | - | filename="gobject-2.0.c" | |
| 24485 | - | line="5350">Given the name of the signal and the type of object it connects to, gets | |
| 27078 | + | filename="gobject/gsignal.c" | |
| 27079 | + | line="1193">Given the name of the signal and the type of object it connects to, gets | |
| 24486 | 27080 | the signal's identifying integer. Emitting the signal by number is | |
| 24487 | 27081 | somewhat faster than using the name each time. | |
| 24488 | 27082 | ||
| @@ -24493,54 +27087,54 @@ example, using g_type_class_ref()) for this function to work, as signals are | |||
| 24493 | 27087 | always installed during class initialization. | |
| 24494 | 27088 | ||
| 24495 | 27089 | See g_signal_new() for details on allowed signal names.</doc> | |
| 24496 | - | <source-position filename="gsignal.h" line="345"/> | |
| 27090 | + | <source-position filename="gobject/gsignal.h" line="375"/> | |
| 24497 | 27091 | <return-value transfer-ownership="none"> | |
| 24498 | 27092 | <doc xml:space="preserve" | |
| 24499 | - | filename="gobject-2.0.c" | |
| 24500 | - | line="5367">the signal's identifying number, or 0 if no signal was found.</doc> | |
| 27093 | + | filename="gobject/gsignal.c" | |
| 27094 | + | line="1210">the signal's identifying number, or 0 if no signal was found.</doc> | |
| 24501 | 27095 | <type name="guint" c:type="guint"/> | |
| 24502 | 27096 | </return-value> | |
| 24503 | 27097 | <parameters> | |
| 24504 | 27098 | <parameter name="name" transfer-ownership="none"> | |
| 24505 | 27099 | <doc xml:space="preserve" | |
| 24506 | - | filename="gobject-2.0.c" | |
| 24507 | - | line="5352">the signal's name.</doc> | |
| 27100 | + | filename="gobject/gsignal.c" | |
| 27101 | + | line="1195">the signal's name.</doc> | |
| 24508 | 27102 | <type name="utf8" c:type="const gchar*"/> | |
| 24509 | 27103 | </parameter> | |
| 24510 | 27104 | <parameter name="itype" transfer-ownership="none"> | |
| 24511 | 27105 | <doc xml:space="preserve" | |
| 24512 | - | filename="gobject-2.0.c" | |
| 24513 | - | line="5353">the type that the signal operates on.</doc> | |
| 27106 | + | filename="gobject/gsignal.c" | |
| 27107 | + | line="1196">the type that the signal operates on.</doc> | |
| 24514 | 27108 | <type name="GType" c:type="GType"/> | |
| 24515 | 27109 | </parameter> | |
| 24516 | 27110 | </parameters> | |
| 24517 | 27111 | </function> | |
| 24518 | 27112 | <function name="signal_name" c:identifier="g_signal_name"> | |
| 24519 | 27113 | <doc xml:space="preserve" | |
| 24520 | - | filename="gobject-2.0.c" | |
| 24521 | - | line="5371">Given the signal's identifier, finds its name. | |
| 27114 | + | filename="gobject/gsignal.c" | |
| 27115 | + | line="1289">Given the signal's identifier, finds its name. | |
| 24522 | 27116 | ||
| 24523 | 27117 | Two different signals may have the same name, if they have differing types.</doc> | |
| 24524 | - | <source-position filename="gsignal.h" line="348"/> | |
| 27118 | + | <source-position filename="gobject/gsignal.h" line="378"/> | |
| 24525 | 27119 | <return-value transfer-ownership="none" nullable="1"> | |
| 24526 | 27120 | <doc xml:space="preserve" | |
| 24527 | - | filename="gobject-2.0.c" | |
| 24528 | - | line="5379">the signal name, or %NULL if the signal number was invalid.</doc> | |
| 27121 | + | filename="gobject/gsignal.c" | |
| 27122 | + | line="1297">the signal name, or %NULL if the signal number was invalid.</doc> | |
| 24529 | 27123 | <type name="utf8" c:type="const gchar*"/> | |
| 24530 | 27124 | </return-value> | |
| 24531 | 27125 | <parameters> | |
| 24532 | 27126 | <parameter name="signal_id" transfer-ownership="none"> | |
| 24533 | 27127 | <doc xml:space="preserve" | |
| 24534 | - | filename="gobject-2.0.c" | |
| 24535 | - | line="5373">the signal's identifying number.</doc> | |
| 27128 | + | filename="gobject/gsignal.c" | |
| 27129 | + | line="1291">the signal's identifying number.</doc> | |
| 24536 | 27130 | <type name="guint" c:type="guint"/> | |
| 24537 | 27131 | </parameter> | |
| 24538 | 27132 | </parameters> | |
| 24539 | 27133 | </function> | |
| 24540 | 27134 | <function name="signal_new" c:identifier="g_signal_new" introspectable="0"> | |
| 24541 | 27135 | <doc xml:space="preserve" | |
| 24542 | - | filename="gobject-2.0.c" | |
| 24543 | - | line="5383">Creates a new signal. (This is usually done in the class initializer.) | |
| 27136 | + | filename="gobject/gsignal.c" | |
| 27137 | + | line="1351">Creates a new signal. (This is usually done in the class initializer.) | |
| 24544 | 27138 | ||
| 24545 | 27139 | A signal name consists of segments consisting of ASCII letters and | |
| 24546 | 27140 | digits, separated by either the `-` or `_` character. The first | |
| @@ -24564,39 +27158,39 @@ instead of g_cclosure_marshal_generic(). | |||
| 24564 | 27158 | If @c_marshaller is non-%NULL, you need to also specify a va_marshaller | |
| 24565 | 27159 | using g_signal_set_va_marshaller() or the generic va_marshaller will | |
| 24566 | 27160 | be used.</doc> | |
| 24567 | - | <source-position filename="gsignal.h" line="299"/> | |
| 27161 | + | <source-position filename="gobject/gsignal.h" line="329"/> | |
| 24568 | 27162 | <return-value transfer-ownership="none"> | |
| 24569 | 27163 | <doc xml:space="preserve" | |
| 24570 | - | filename="gobject-2.0.c" | |
| 24571 | - | line="5428">the signal id</doc> | |
| 27164 | + | filename="gobject/gsignal.c" | |
| 27165 | + | line="1396">the signal id</doc> | |
| 24572 | 27166 | <type name="guint" c:type="guint"/> | |
| 24573 | 27167 | </return-value> | |
| 24574 | 27168 | <parameters> | |
| 24575 | 27169 | <parameter name="signal_name" transfer-ownership="none"> | |
| 24576 | 27170 | <doc xml:space="preserve" | |
| 24577 | - | filename="gobject-2.0.c" | |
| 24578 | - | line="5385">the name for the signal</doc> | |
| 27171 | + | filename="gobject/gsignal.c" | |
| 27172 | + | line="1353">the name for the signal</doc> | |
| 24579 | 27173 | <type name="utf8" c:type="const gchar*"/> | |
| 24580 | 27174 | </parameter> | |
| 24581 | 27175 | <parameter name="itype" transfer-ownership="none"> | |
| 24582 | 27176 | <doc xml:space="preserve" | |
| 24583 | - | filename="gobject-2.0.c" | |
| 24584 | - | line="5386">the type this signal pertains to. It will also pertain to | |
| 27177 | + | filename="gobject/gsignal.c" | |
| 27178 | + | line="1354">the type this signal pertains to. It will also pertain to | |
| 24585 | 27179 | types which are derived from this type.</doc> | |
| 24586 | 27180 | <type name="GType" c:type="GType"/> | |
| 24587 | 27181 | </parameter> | |
| 24588 | 27182 | <parameter name="signal_flags" transfer-ownership="none"> | |
| 24589 | 27183 | <doc xml:space="preserve" | |
| 24590 | - | filename="gobject-2.0.c" | |
| 24591 | - | line="5388">a combination of #GSignalFlags specifying detail of when | |
| 27184 | + | filename="gobject/gsignal.c" | |
| 27185 | + | line="1356">a combination of #GSignalFlags specifying detail of when | |
| 24592 | 27186 | the default handler is to be invoked. You should at least specify | |
| 24593 | 27187 | %G_SIGNAL_RUN_FIRST or %G_SIGNAL_RUN_LAST.</doc> | |
| 24594 | 27188 | <type name="SignalFlags" c:type="GSignalFlags"/> | |
| 24595 | 27189 | </parameter> | |
| 24596 | 27190 | <parameter name="class_offset" transfer-ownership="none"> | |
| 24597 | 27191 | <doc xml:space="preserve" | |
| 24598 | - | filename="gobject-2.0.c" | |
| 24599 | - | line="5391">The offset of the function pointer in the class structure | |
| 27192 | + | filename="gobject/gsignal.c" | |
| 27193 | + | line="1359">The offset of the function pointer in the class structure | |
| 24600 | 27194 | for this type. Used to invoke a class method generically. Pass 0 to | |
| 24601 | 27195 | not associate a class method slot with this signal.</doc> | |
| 24602 | 27196 | <type name="guint" c:type="guint"/> | |
| @@ -24605,20 +27199,20 @@ be used.</doc> | |||
| 24605 | 27199 | transfer-ownership="none" | |
| 24606 | 27200 | nullable="1" | |
| 24607 | 27201 | allow-none="1" | |
| 27202 | + | scope="forever" | |
| 24608 | 27203 | closure="5"> | |
| 24609 | 27204 | <doc xml:space="preserve" | |
| 24610 | - | filename="gobject-2.0.c" | |
| 24611 | - | line="5394">the accumulator for this signal; may be %NULL.</doc> | |
| 27205 | + | filename="gobject/gsignal.c" | |
| 27206 | + | line="1362">the accumulator for this signal; may be %NULL.</doc> | |
| 24612 | 27207 | <type name="SignalAccumulator" c:type="GSignalAccumulator"/> | |
| 24613 | 27208 | </parameter> | |
| 24614 | 27209 | <parameter name="accu_data" | |
| 24615 | 27210 | transfer-ownership="none" | |
| 24616 | 27211 | nullable="1" | |
| 24617 | - | allow-none="1" | |
| 24618 | - | closure="4"> | |
| 27212 | + | allow-none="1"> | |
| 24619 | 27213 | <doc xml:space="preserve" | |
| 24620 | - | filename="gobject-2.0.c" | |
| 24621 | - | line="5395">user data for the @accumulator.</doc> | |
| 27214 | + | filename="gobject/gsignal.c" | |
| 27215 | + | line="1363">user data for the @accumulator.</doc> | |
| 24622 | 27216 | <type name="gpointer" c:type="gpointer"/> | |
| 24623 | 27217 | </parameter> | |
| 24624 | 27218 | <parameter name="c_marshaller" | |
| @@ -24626,28 +27220,28 @@ be used.</doc> | |||
| 24626 | 27220 | nullable="1" | |
| 24627 | 27221 | allow-none="1"> | |
| 24628 | 27222 | <doc xml:space="preserve" | |
| 24629 | - | filename="gobject-2.0.c" | |
| 24630 | - | line="5396">the function to translate arrays of parameter | |
| 27223 | + | filename="gobject/gsignal.c" | |
| 27224 | + | line="1364">the function to translate arrays of parameter | |
| 24631 | 27225 | values to signal emissions into C language callback invocations or %NULL.</doc> | |
| 24632 | 27226 | <type name="SignalCMarshaller" c:type="GSignalCMarshaller"/> | |
| 24633 | 27227 | </parameter> | |
| 24634 | 27228 | <parameter name="return_type" transfer-ownership="none"> | |
| 24635 | 27229 | <doc xml:space="preserve" | |
| 24636 | - | filename="gobject-2.0.c" | |
| 24637 | - | line="5398">the type of return value, or %G_TYPE_NONE for a signal | |
| 27230 | + | filename="gobject/gsignal.c" | |
| 27231 | + | line="1366">the type of return value, or %G_TYPE_NONE for a signal | |
| 24638 | 27232 | without a return value.</doc> | |
| 24639 | 27233 | <type name="GType" c:type="GType"/> | |
| 24640 | 27234 | </parameter> | |
| 24641 | 27235 | <parameter name="n_params" transfer-ownership="none"> | |
| 24642 | 27236 | <doc xml:space="preserve" | |
| 24643 | - | filename="gobject-2.0.c" | |
| 24644 | - | line="5400">the number of parameter types to follow.</doc> | |
| 27237 | + | filename="gobject/gsignal.c" | |
| 27238 | + | line="1368">the number of parameter types to follow.</doc> | |
| 24645 | 27239 | <type name="guint" c:type="guint"/> | |
| 24646 | 27240 | </parameter> | |
| 24647 | 27241 | <parameter name="..." transfer-ownership="none"> | |
| 24648 | 27242 | <doc xml:space="preserve" | |
| 24649 | - | filename="gobject-2.0.c" | |
| 24650 | - | line="5401">a list of types, one for each parameter.</doc> | |
| 27243 | + | filename="gobject/gsignal.c" | |
| 27244 | + | line="1369">a list of types, one for each parameter.</doc> | |
| 24651 | 27245 | <varargs/> | |
| 24652 | 27246 | </parameter> | |
| 24653 | 27247 | </parameters> | |
| @@ -24657,8 +27251,8 @@ be used.</doc> | |||
| 24657 | 27251 | version="2.18" | |
| 24658 | 27252 | introspectable="0"> | |
| 24659 | 27253 | <doc xml:space="preserve" | |
| 24660 | - | filename="gobject-2.0.c" | |
| 24661 | - | line="5432">Creates a new signal. (This is usually done in the class initializer.) | |
| 27254 | + | filename="gobject/gsignal.c" | |
| 27255 | + | line="1427">Creates a new signal. (This is usually done in the class initializer.) | |
| 24662 | 27256 | ||
| 24663 | 27257 | This is a variant of g_signal_new() that takes a C callback instead | |
| 24664 | 27258 | of a class offset for the signal's class handler. This function | |
| @@ -24666,7 +27260,7 @@ doesn't need a function pointer exposed in the class structure of | |||
| 24666 | 27260 | an object definition, instead the function pointer is passed | |
| 24667 | 27261 | directly and can be overridden by derived classes with | |
| 24668 | 27262 | g_signal_override_class_closure() or | |
| 24669 | - | g_signal_override_class_handler()and chained to with | |
| 27263 | + | g_signal_override_class_handler() and chained to with | |
| 24670 | 27264 | g_signal_chain_from_overridden() or | |
| 24671 | 27265 | g_signal_chain_from_overridden_handler(). | |
| 24672 | 27266 | ||
| @@ -24674,31 +27268,31 @@ See g_signal_new() for information about signal names. | |||
| 24674 | 27268 | ||
| 24675 | 27269 | If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as | |
| 24676 | 27270 | the marshaller for this signal.</doc> | |
| 24677 | - | <source-position filename="gsignal.h" line="310"/> | |
| 27271 | + | <source-position filename="gobject/gsignal.h" line="340"/> | |
| 24678 | 27272 | <return-value transfer-ownership="none"> | |
| 24679 | 27273 | <doc xml:space="preserve" | |
| 24680 | - | filename="gobject-2.0.c" | |
| 24681 | - | line="5469">the signal id</doc> | |
| 27274 | + | filename="gobject/gsignal.c" | |
| 27275 | + | line="1464">the signal id</doc> | |
| 24682 | 27276 | <type name="guint" c:type="guint"/> | |
| 24683 | 27277 | </return-value> | |
| 24684 | 27278 | <parameters> | |
| 24685 | 27279 | <parameter name="signal_name" transfer-ownership="none"> | |
| 24686 | 27280 | <doc xml:space="preserve" | |
| 24687 | - | filename="gobject-2.0.c" | |
| 24688 | - | line="5434">the name for the signal</doc> | |
| 27281 | + | filename="gobject/gsignal.c" | |
| 27282 | + | line="1429">the name for the signal</doc> | |
| 24689 | 27283 | <type name="utf8" c:type="const gchar*"/> | |
| 24690 | 27284 | </parameter> | |
| 24691 | 27285 | <parameter name="itype" transfer-ownership="none"> | |
| 24692 | 27286 | <doc xml:space="preserve" | |
| 24693 | - | filename="gobject-2.0.c" | |
| 24694 | - | line="5435">the type this signal pertains to. It will also pertain to | |
| 27287 | + | filename="gobject/gsignal.c" | |
| 27288 | + | line="1430">the type this signal pertains to. It will also pertain to | |
| 24695 | 27289 | types which are derived from this type.</doc> | |
| 24696 | 27290 | <type name="GType" c:type="GType"/> | |
| 24697 | 27291 | </parameter> | |
| 24698 | 27292 | <parameter name="signal_flags" transfer-ownership="none"> | |
| 24699 | 27293 | <doc xml:space="preserve" | |
| 24700 | - | filename="gobject-2.0.c" | |
| 24701 | - | line="5437">a combination of #GSignalFlags specifying detail of when | |
| 27294 | + | filename="gobject/gsignal.c" | |
| 27295 | + | line="1432">a combination of #GSignalFlags specifying detail of when | |
| 24702 | 27296 | the default handler is to be invoked. You should at least specify | |
| 24703 | 27297 | %G_SIGNAL_RUN_FIRST or %G_SIGNAL_RUN_LAST.</doc> | |
| 24704 | 27298 | <type name="SignalFlags" c:type="GSignalFlags"/> | |
| @@ -24706,10 +27300,11 @@ the marshaller for this signal.</doc> | |||
| 24706 | 27300 | <parameter name="class_handler" | |
| 24707 | 27301 | transfer-ownership="none" | |
| 24708 | 27302 | nullable="1" | |
| 24709 | - | allow-none="1"> | |
| 27303 | + | allow-none="1" | |
| 27304 | + | scope="forever"> | |
| 24710 | 27305 | <doc xml:space="preserve" | |
| 24711 | - | filename="gobject-2.0.c" | |
| 24712 | - | line="5440">a #GCallback which acts as class implementation of | |
| 27306 | + | filename="gobject/gsignal.c" | |
| 27307 | + | line="1435">a #GCallback which acts as class implementation of | |
| 24713 | 27308 | this signal. Used to invoke a class method generically. Pass %NULL to | |
| 24714 | 27309 | not associate a class method with this signal.</doc> | |
| 24715 | 27310 | <type name="Callback" c:type="GCallback"/> | |
| @@ -24718,20 +27313,20 @@ the marshaller for this signal.</doc> | |||
| 24718 | 27313 | transfer-ownership="none" | |
| 24719 | 27314 | nullable="1" | |
| 24720 | 27315 | allow-none="1" | |
| 27316 | + | scope="forever" | |
| 24721 | 27317 | closure="5"> | |
| 24722 | 27318 | <doc xml:space="preserve" | |
| 24723 | - | filename="gobject-2.0.c" | |
| 24724 | - | line="5443">the accumulator for this signal; may be %NULL.</doc> | |
| 27319 | + | filename="gobject/gsignal.c" | |
| 27320 | + | line="1438">the accumulator for this signal; may be %NULL.</doc> | |
| 24725 | 27321 | <type name="SignalAccumulator" c:type="GSignalAccumulator"/> | |
| 24726 | 27322 | </parameter> | |
| 24727 | 27323 | <parameter name="accu_data" | |
| 24728 | 27324 | transfer-ownership="none" | |
| 24729 | 27325 | nullable="1" | |
| 24730 | - | allow-none="1" | |
| 24731 | - | closure="4"> | |
| 27326 | + | allow-none="1"> | |
| 24732 | 27327 | <doc xml:space="preserve" | |
| 24733 | - | filename="gobject-2.0.c" | |
| 24734 | - | line="5444">user data for the @accumulator.</doc> | |
| 27328 | + | filename="gobject/gsignal.c" | |
| 27329 | + | line="1439">user data for the @accumulator.</doc> | |
| 24735 | 27330 | <type name="gpointer" c:type="gpointer"/> | |
| 24736 | 27331 | </parameter> | |
| 24737 | 27332 | <parameter name="c_marshaller" | |
| @@ -24739,28 +27334,28 @@ the marshaller for this signal.</doc> | |||
| 24739 | 27334 | nullable="1" | |
| 24740 | 27335 | allow-none="1"> | |
| 24741 | 27336 | <doc xml:space="preserve" | |
| 24742 | - | filename="gobject-2.0.c" | |
| 24743 | - | line="5445">the function to translate arrays of parameter | |
| 27337 | + | filename="gobject/gsignal.c" | |
| 27338 | + | line="1440">the function to translate arrays of parameter | |
| 24744 | 27339 | values to signal emissions into C language callback invocations or %NULL.</doc> | |
| 24745 | 27340 | <type name="SignalCMarshaller" c:type="GSignalCMarshaller"/> | |
| 24746 | 27341 | </parameter> | |
| 24747 | 27342 | <parameter name="return_type" transfer-ownership="none"> | |
| 24748 | 27343 | <doc xml:space="preserve" | |
| 24749 | - | filename="gobject-2.0.c" | |
| 24750 | - | line="5447">the type of return value, or %G_TYPE_NONE for a signal | |
| 27344 | + | filename="gobject/gsignal.c" | |
| 27345 | + | line="1442">the type of return value, or %G_TYPE_NONE for a signal | |
| 24751 | 27346 | without a return value.</doc> | |
| 24752 | 27347 | <type name="GType" c:type="GType"/> | |
| 24753 | 27348 | </parameter> | |
| 24754 | 27349 | <parameter name="n_params" transfer-ownership="none"> | |
| 24755 | 27350 | <doc xml:space="preserve" | |
| 24756 | - | filename="gobject-2.0.c" | |
| 24757 | - | line="5449">the number of parameter types to follow.</doc> | |
| 27351 | + | filename="gobject/gsignal.c" | |
| 27352 | + | line="1444">the number of parameter types to follow.</doc> | |
| 24758 | 27353 | <type name="guint" c:type="guint"/> | |
| 24759 | 27354 | </parameter> | |
| 24760 | 27355 | <parameter name="..." transfer-ownership="none"> | |
| 24761 | 27356 | <doc xml:space="preserve" | |
| 24762 | - | filename="gobject-2.0.c" | |
| 24763 | - | line="5450">a list of types, one for each parameter.</doc> | |
| 27357 | + | filename="gobject/gsignal.c" | |
| 27358 | + | line="1445">a list of types, one for each parameter.</doc> | |
| 24764 | 27359 | <varargs/> | |
| 24765 | 27360 | </parameter> | |
| 24766 | 27361 | </parameters> | |
| @@ -24769,38 +27364,38 @@ the marshaller for this signal.</doc> | |||
| 24769 | 27364 | c:identifier="g_signal_new_valist" | |
| 24770 | 27365 | introspectable="0"> | |
| 24771 | 27366 | <doc xml:space="preserve" | |
| 24772 | - | filename="gobject-2.0.c" | |
| 24773 | - | line="5474">Creates a new signal. (This is usually done in the class initializer.) | |
| 27367 | + | filename="gobject/gsignal.c" | |
| 27368 | + | line="1827">Creates a new signal. (This is usually done in the class initializer.) | |
| 24774 | 27369 | ||
| 24775 | 27370 | See g_signal_new() for details on allowed signal names. | |
| 24776 | 27371 | ||
| 24777 | 27372 | If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as | |
| 24778 | 27373 | the marshaller for this signal.</doc> | |
| 24779 | - | <source-position filename="gsignal.h" line="288"/> | |
| 27374 | + | <source-position filename="gobject/gsignal.h" line="318"/> | |
| 24780 | 27375 | <return-value transfer-ownership="none"> | |
| 24781 | 27376 | <doc xml:space="preserve" | |
| 24782 | - | filename="gobject-2.0.c" | |
| 24783 | - | line="5499">the signal id</doc> | |
| 27377 | + | filename="gobject/gsignal.c" | |
| 27378 | + | line="1852">the signal id</doc> | |
| 24784 | 27379 | <type name="guint" c:type="guint"/> | |
| 24785 | 27380 | </return-value> | |
| 24786 | 27381 | <parameters> | |
| 24787 | 27382 | <parameter name="signal_name" transfer-ownership="none"> | |
| 24788 | 27383 | <doc xml:space="preserve" | |
| 24789 | - | filename="gobject-2.0.c" | |
| 24790 | - | line="5476">the name for the signal</doc> | |
| 27384 | + | filename="gobject/gsignal.c" | |
| 27385 | + | line="1829">the name for the signal</doc> | |
| 24791 | 27386 | <type name="utf8" c:type="const gchar*"/> | |
| 24792 | 27387 | </parameter> | |
| 24793 | 27388 | <parameter name="itype" transfer-ownership="none"> | |
| 24794 | 27389 | <doc xml:space="preserve" | |
| 24795 | - | filename="gobject-2.0.c" | |
| 24796 | - | line="5477">the type this signal pertains to. It will also pertain to | |
| 27390 | + | filename="gobject/gsignal.c" | |
| 27391 | + | line="1830">the type this signal pertains to. It will also pertain to | |
| 24797 | 27392 | types which are derived from this type.</doc> | |
| 24798 | 27393 | <type name="GType" c:type="GType"/> | |
| 24799 | 27394 | </parameter> | |
| 24800 | 27395 | <parameter name="signal_flags" transfer-ownership="none"> | |
| 24801 | 27396 | <doc xml:space="preserve" | |
| 24802 | - | filename="gobject-2.0.c" | |
| 24803 | - | line="5479">a combination of #GSignalFlags specifying detail of when | |
| 27397 | + | filename="gobject/gsignal.c" | |
| 27398 | + | line="1832">a combination of #GSignalFlags specifying detail of when | |
| 24804 | 27399 | the default handler is to be invoked. You should at least specify | |
| 24805 | 27400 | %G_SIGNAL_RUN_FIRST or %G_SIGNAL_RUN_LAST.</doc> | |
| 24806 | 27401 | <type name="SignalFlags" c:type="GSignalFlags"/> | |
| @@ -24810,28 +27405,28 @@ the marshaller for this signal.</doc> | |||
| 24810 | 27405 | nullable="1" | |
| 24811 | 27406 | allow-none="1"> | |
| 24812 | 27407 | <doc xml:space="preserve" | |
| 24813 | - | filename="gobject-2.0.c" | |
| 24814 | - | line="5482">The closure to invoke on signal emission; may be %NULL.</doc> | |
| 27408 | + | filename="gobject/gsignal.c" | |
| 27409 | + | line="1835">The closure to invoke on signal emission; may be %NULL.</doc> | |
| 24815 | 27410 | <type name="Closure" c:type="GClosure*"/> | |
| 24816 | 27411 | </parameter> | |
| 24817 | 27412 | <parameter name="accumulator" | |
| 24818 | 27413 | transfer-ownership="none" | |
| 24819 | 27414 | nullable="1" | |
| 24820 | 27415 | allow-none="1" | |
| 27416 | + | scope="forever" | |
| 24821 | 27417 | closure="5"> | |
| 24822 | 27418 | <doc xml:space="preserve" | |
| 24823 | - | filename="gobject-2.0.c" | |
| 24824 | - | line="5483">the accumulator for this signal; may be %NULL.</doc> | |
| 27419 | + | filename="gobject/gsignal.c" | |
| 27420 | + | line="1836">the accumulator for this signal; may be %NULL.</doc> | |
| 24825 | 27421 | <type name="SignalAccumulator" c:type="GSignalAccumulator"/> | |
| 24826 | 27422 | </parameter> | |
| 24827 | 27423 | <parameter name="accu_data" | |
| 24828 | 27424 | transfer-ownership="none" | |
| 24829 | 27425 | nullable="1" | |
| 24830 | - | allow-none="1" | |
| 24831 | - | closure="4"> | |
| 27426 | + | allow-none="1"> | |
| 24832 | 27427 | <doc xml:space="preserve" | |
| 24833 | - | filename="gobject-2.0.c" | |
| 24834 | - | line="5484">user data for the @accumulator.</doc> | |
| 27428 | + | filename="gobject/gsignal.c" | |
| 27429 | + | line="1837">user data for the @accumulator.</doc> | |
| 24835 | 27430 | <type name="gpointer" c:type="gpointer"/> | |
| 24836 | 27431 | </parameter> | |
| 24837 | 27432 | <parameter name="c_marshaller" | |
| @@ -24839,28 +27434,28 @@ the marshaller for this signal.</doc> | |||
| 24839 | 27434 | nullable="1" | |
| 24840 | 27435 | allow-none="1"> | |
| 24841 | 27436 | <doc xml:space="preserve" | |
| 24842 | - | filename="gobject-2.0.c" | |
| 24843 | - | line="5485">the function to translate arrays of parameter | |
| 27437 | + | filename="gobject/gsignal.c" | |
| 27438 | + | line="1838">the function to translate arrays of parameter | |
| 24844 | 27439 | values to signal emissions into C language callback invocations or %NULL.</doc> | |
| 24845 | 27440 | <type name="SignalCMarshaller" c:type="GSignalCMarshaller"/> | |
| 24846 | 27441 | </parameter> | |
| 24847 | 27442 | <parameter name="return_type" transfer-ownership="none"> | |
| 24848 | 27443 | <doc xml:space="preserve" | |
| 24849 | - | filename="gobject-2.0.c" | |
| 24850 | - | line="5487">the type of return value, or %G_TYPE_NONE for a signal | |
| 27444 | + | filename="gobject/gsignal.c" | |
| 27445 | + | line="1840">the type of return value, or %G_TYPE_NONE for a signal | |
| 24851 | 27446 | without a return value.</doc> | |
| 24852 | 27447 | <type name="GType" c:type="GType"/> | |
| 24853 | 27448 | </parameter> | |
| 24854 | 27449 | <parameter name="n_params" transfer-ownership="none"> | |
| 24855 | 27450 | <doc xml:space="preserve" | |
| 24856 | - | filename="gobject-2.0.c" | |
| 24857 | - | line="5489">the number of parameter types in @args.</doc> | |
| 27451 | + | filename="gobject/gsignal.c" | |
| 27452 | + | line="1842">the number of parameter types in @args.</doc> | |
| 24858 | 27453 | <type name="guint" c:type="guint"/> | |
| 24859 | 27454 | </parameter> | |
| 24860 | 27455 | <parameter name="args" transfer-ownership="none"> | |
| 24861 | 27456 | <doc xml:space="preserve" | |
| 24862 | - | filename="gobject-2.0.c" | |
| 24863 | - | line="5490">va_list of #GType, one for each parameter.</doc> | |
| 27457 | + | filename="gobject/gsignal.c" | |
| 27458 | + | line="1843">va_list of #GType, one for each parameter.</doc> | |
| 24864 | 27459 | <type name="va_list" c:type="va_list"/> | |
| 24865 | 27460 | </parameter> | |
| 24866 | 27461 | </parameters> | |
| @@ -24869,38 +27464,38 @@ the marshaller for this signal.</doc> | |||
| 24869 | 27464 | c:identifier="g_signal_newv" | |
| 24870 | 27465 | introspectable="0"> | |
| 24871 | 27466 | <doc xml:space="preserve" | |
| 24872 | - | filename="gobject-2.0.c" | |
| 24873 | - | line="5503">Creates a new signal. (This is usually done in the class initializer.) | |
| 27467 | + | filename="gobject/gsignal.c" | |
| 27468 | + | line="1565">Creates a new signal. (This is usually done in the class initializer.) | |
| 24874 | 27469 | ||
| 24875 | 27470 | See g_signal_new() for details on allowed signal names. | |
| 24876 | 27471 | ||
| 24877 | 27472 | If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as | |
| 24878 | 27473 | the marshaller for this signal.</doc> | |
| 24879 | - | <source-position filename="gsignal.h" line="277"/> | |
| 27474 | + | <source-position filename="gobject/gsignal.h" line="307"/> | |
| 24880 | 27475 | <return-value transfer-ownership="none"> | |
| 24881 | 27476 | <doc xml:space="preserve" | |
| 24882 | - | filename="gobject-2.0.c" | |
| 24883 | - | line="5531">the signal id</doc> | |
| 27477 | + | filename="gobject/gsignal.c" | |
| 27478 | + | line="1593">the signal id</doc> | |
| 24884 | 27479 | <type name="guint" c:type="guint"/> | |
| 24885 | 27480 | </return-value> | |
| 24886 | 27481 | <parameters> | |
| 24887 | 27482 | <parameter name="signal_name" transfer-ownership="none"> | |
| 24888 | 27483 | <doc xml:space="preserve" | |
| 24889 | - | filename="gobject-2.0.c" | |
| 24890 | - | line="5505">the name for the signal</doc> | |
| 27484 | + | filename="gobject/gsignal.c" | |
| 27485 | + | line="1567">the name for the signal</doc> | |
| 24891 | 27486 | <type name="utf8" c:type="const gchar*"/> | |
| 24892 | 27487 | </parameter> | |
| 24893 | 27488 | <parameter name="itype" transfer-ownership="none"> | |
| 24894 | 27489 | <doc xml:space="preserve" | |
| 24895 | - | filename="gobject-2.0.c" | |
| 24896 | - | line="5506">the type this signal pertains to. It will also pertain to | |
| 27490 | + | filename="gobject/gsignal.c" | |
| 27491 | + | line="1568">the type this signal pertains to. It will also pertain to | |
| 24897 | 27492 | types which are derived from this type</doc> | |
| 24898 | 27493 | <type name="GType" c:type="GType"/> | |
| 24899 | 27494 | </parameter> | |
| 24900 | 27495 | <parameter name="signal_flags" transfer-ownership="none"> | |
| 24901 | 27496 | <doc xml:space="preserve" | |
| 24902 | - | filename="gobject-2.0.c" | |
| 24903 | - | line="5508">a combination of #GSignalFlags specifying detail of when | |
| 27497 | + | filename="gobject/gsignal.c" | |
| 27498 | + | line="1570">a combination of #GSignalFlags specifying detail of when | |
| 24904 | 27499 | the default handler is to be invoked. You should at least specify | |
| 24905 | 27500 | %G_SIGNAL_RUN_FIRST or %G_SIGNAL_RUN_LAST</doc> | |
| 24906 | 27501 | <type name="SignalFlags" c:type="GSignalFlags"/> | |
| @@ -24910,8 +27505,8 @@ the marshaller for this signal.</doc> | |||
| 24910 | 27505 | nullable="1" | |
| 24911 | 27506 | allow-none="1"> | |
| 24912 | 27507 | <doc xml:space="preserve" | |
| 24913 | - | filename="gobject-2.0.c" | |
| 24914 | - | line="5511">The closure to invoke on signal emission; | |
| 27508 | + | filename="gobject/gsignal.c" | |
| 27509 | + | line="1573">The closure to invoke on signal emission; | |
| 24915 | 27510 | may be %NULL</doc> | |
| 24916 | 27511 | <type name="Closure" c:type="GClosure*"/> | |
| 24917 | 27512 | </parameter> | |
| @@ -24919,20 +27514,20 @@ the marshaller for this signal.</doc> | |||
| 24919 | 27514 | transfer-ownership="none" | |
| 24920 | 27515 | nullable="1" | |
| 24921 | 27516 | allow-none="1" | |
| 27517 | + | scope="forever" | |
| 24922 | 27518 | closure="5"> | |
| 24923 | 27519 | <doc xml:space="preserve" | |
| 24924 | - | filename="gobject-2.0.c" | |
| 24925 | - | line="5513">the accumulator for this signal; may be %NULL</doc> | |
| 27520 | + | filename="gobject/gsignal.c" | |
| 27521 | + | line="1575">the accumulator for this signal; may be %NULL</doc> | |
| 24926 | 27522 | <type name="SignalAccumulator" c:type="GSignalAccumulator"/> | |
| 24927 | 27523 | </parameter> | |
| 24928 | 27524 | <parameter name="accu_data" | |
| 24929 | 27525 | transfer-ownership="none" | |
| 24930 | 27526 | nullable="1" | |
| 24931 | - | allow-none="1" | |
| 24932 | - | closure="4"> | |
| 27527 | + | allow-none="1"> | |
| 24933 | 27528 | <doc xml:space="preserve" | |
| 24934 | - | filename="gobject-2.0.c" | |
| 24935 | - | line="5514">user data for the @accumulator</doc> | |
| 27529 | + | filename="gobject/gsignal.c" | |
| 27530 | + | line="1576">user data for the @accumulator</doc> | |
| 24936 | 27531 | <type name="gpointer" c:type="gpointer"/> | |
| 24937 | 27532 | </parameter> | |
| 24938 | 27533 | <parameter name="c_marshaller" | |
| @@ -24940,23 +27535,23 @@ the marshaller for this signal.</doc> | |||
| 24940 | 27535 | nullable="1" | |
| 24941 | 27536 | allow-none="1"> | |
| 24942 | 27537 | <doc xml:space="preserve" | |
| 24943 | - | filename="gobject-2.0.c" | |
| 24944 | - | line="5515">the function to translate arrays of | |
| 27538 | + | filename="gobject/gsignal.c" | |
| 27539 | + | line="1577">the function to translate arrays of | |
| 24945 | 27540 | parameter values to signal emissions into C language callback | |
| 24946 | 27541 | invocations or %NULL</doc> | |
| 24947 | 27542 | <type name="SignalCMarshaller" c:type="GSignalCMarshaller"/> | |
| 24948 | 27543 | </parameter> | |
| 24949 | 27544 | <parameter name="return_type" transfer-ownership="none"> | |
| 24950 | 27545 | <doc xml:space="preserve" | |
| 24951 | - | filename="gobject-2.0.c" | |
| 24952 | - | line="5518">the type of return value, or %G_TYPE_NONE for a signal | |
| 27546 | + | filename="gobject/gsignal.c" | |
| 27547 | + | line="1580">the type of return value, or %G_TYPE_NONE for a signal | |
| 24953 | 27548 | without a return value</doc> | |
| 24954 | 27549 | <type name="GType" c:type="GType"/> | |
| 24955 | 27550 | </parameter> | |
| 24956 | 27551 | <parameter name="n_params" transfer-ownership="none"> | |
| 24957 | 27552 | <doc xml:space="preserve" | |
| 24958 | - | filename="gobject-2.0.c" | |
| 24959 | - | line="5520">the length of @param_types</doc> | |
| 27553 | + | filename="gobject/gsignal.c" | |
| 27554 | + | line="1582">the length of @param_types</doc> | |
| 24960 | 27555 | <type name="guint" c:type="guint"/> | |
| 24961 | 27556 | </parameter> | |
| 24962 | 27557 | <parameter name="param_types" | |
| @@ -24964,8 +27559,8 @@ the marshaller for this signal.</doc> | |||
| 24964 | 27559 | nullable="1" | |
| 24965 | 27560 | allow-none="1"> | |
| 24966 | 27561 | <doc xml:space="preserve" | |
| 24967 | - | filename="gobject-2.0.c" | |
| 24968 | - | line="5521">an array of types, one for | |
| 27562 | + | filename="gobject/gsignal.c" | |
| 27563 | + | line="1583">an array of types, one for | |
| 24969 | 27564 | each parameter (may be %NULL if @n_params is zero)</doc> | |
| 24970 | 27565 | <array length="8" zero-terminated="0" c:type="GType*"> | |
| 24971 | 27566 | <type name="GType" c:type="GType"/> | |
| @@ -24976,47 +27571,46 @@ the marshaller for this signal.</doc> | |||
| 24976 | 27571 | <function name="signal_override_class_closure" | |
| 24977 | 27572 | c:identifier="g_signal_override_class_closure"> | |
| 24978 | 27573 | <doc xml:space="preserve" | |
| 24979 | - | filename="gobject-2.0.c" | |
| 24980 | - | line="5535">Overrides the class closure (i.e. the default handler) for the given signal | |
| 27574 | + | filename="gobject/gsignal.c" | |
| 27575 | + | line="1951">Overrides the class closure (i.e. the default handler) for the given signal | |
| 24981 | 27576 | for emissions on instances of @instance_type. @instance_type must be derived | |
| 24982 | 27577 | from the type to which the signal belongs. | |
| 24983 | 27578 | ||
| 24984 | 27579 | See g_signal_chain_from_overridden() and | |
| 24985 | 27580 | g_signal_chain_from_overridden_handler() for how to chain up to the | |
| 24986 | 27581 | parent class closure from inside the overridden one.</doc> | |
| 24987 | - | <source-position filename="gsignal.h" line="475"/> | |
| 27582 | + | <source-position filename="gobject/gsignal.h" line="505"/> | |
| 24988 | 27583 | <return-value transfer-ownership="none"> | |
| 24989 | 27584 | <type name="none" c:type="void"/> | |
| 24990 | 27585 | </return-value> | |
| 24991 | 27586 | <parameters> | |
| 24992 | 27587 | <parameter name="signal_id" transfer-ownership="none"> | |
| 24993 | 27588 | <doc xml:space="preserve" | |
| 24994 | - | filename="gobject-2.0.c" | |
| 24995 | - | line="5537">the signal id</doc> | |
| 27589 | + | filename="gobject/gsignal.c" | |
| 27590 | + | line="1953">the signal id</doc> | |
| 24996 | 27591 | <type name="guint" c:type="guint"/> | |
| 24997 | 27592 | </parameter> | |
| 24998 | 27593 | <parameter name="instance_type" transfer-ownership="none"> | |
| 24999 | 27594 | <doc xml:space="preserve" | |
| 25000 | - | filename="gobject-2.0.c" | |
| 25001 | - | line="5538">the instance type on which to override the class closure | |
| 27595 | + | filename="gobject/gsignal.c" | |
| 27596 | + | line="1954">the instance type on which to override the class closure | |
| 25002 | 27597 | for the signal.</doc> | |
| 25003 | 27598 | <type name="GType" c:type="GType"/> | |
| 25004 | 27599 | </parameter> | |
| 25005 | 27600 | <parameter name="class_closure" transfer-ownership="none"> | |
| 25006 | 27601 | <doc xml:space="preserve" | |
| 25007 | - | filename="gobject-2.0.c" | |
| 25008 | - | line="5540">the closure.</doc> | |
| 27602 | + | filename="gobject/gsignal.c" | |
| 27603 | + | line="1956">the closure.</doc> | |
| 25009 | 27604 | <type name="Closure" c:type="GClosure*"/> | |
| 25010 | 27605 | </parameter> | |
| 25011 | 27606 | </parameters> | |
| 25012 | 27607 | </function> | |
| 25013 | 27608 | <function name="signal_override_class_handler" | |
| 25014 | 27609 | c:identifier="g_signal_override_class_handler" | |
| 25015 | - | version="2.18" | |
| 25016 | - | introspectable="0"> | |
| 27610 | + | version="2.18"> | |
| 25017 | 27611 | <doc xml:space="preserve" | |
| 25018 | - | filename="gobject-2.0.c" | |
| 25019 | - | line="5552">Overrides the class closure (i.e. the default handler) for the | |
| 27612 | + | filename="gobject/gsignal.c" | |
| 27613 | + | line="1993">Overrides the class closure (i.e. the default handler) for the | |
| 25020 | 27614 | given signal for emissions on instances of @instance_type with | |
| 25021 | 27615 | callback @class_handler. @instance_type must be derived from the | |
| 25022 | 27616 | type to which the signal belongs. | |
| @@ -25024,55 +27618,57 @@ type to which the signal belongs. | |||
| 25024 | 27618 | See g_signal_chain_from_overridden() and | |
| 25025 | 27619 | g_signal_chain_from_overridden_handler() for how to chain up to the | |
| 25026 | 27620 | parent class closure from inside the overridden one.</doc> | |
| 25027 | - | <source-position filename="gsignal.h" line="479"/> | |
| 27621 | + | <source-position filename="gobject/gsignal.h" line="509"/> | |
| 25028 | 27622 | <return-value transfer-ownership="none"> | |
| 25029 | 27623 | <type name="none" c:type="void"/> | |
| 25030 | 27624 | </return-value> | |
| 25031 | 27625 | <parameters> | |
| 25032 | 27626 | <parameter name="signal_name" transfer-ownership="none"> | |
| 25033 | 27627 | <doc xml:space="preserve" | |
| 25034 | - | filename="gobject-2.0.c" | |
| 25035 | - | line="5554">the name for the signal</doc> | |
| 27628 | + | filename="gobject/gsignal.c" | |
| 27629 | + | line="1995">the name for the signal</doc> | |
| 25036 | 27630 | <type name="utf8" c:type="const gchar*"/> | |
| 25037 | 27631 | </parameter> | |
| 25038 | 27632 | <parameter name="instance_type" transfer-ownership="none"> | |
| 25039 | 27633 | <doc xml:space="preserve" | |
| 25040 | - | filename="gobject-2.0.c" | |
| 25041 | - | line="5555">the instance type on which to override the class handler | |
| 27634 | + | filename="gobject/gsignal.c" | |
| 27635 | + | line="1996">the instance type on which to override the class handler | |
| 25042 | 27636 | for the signal.</doc> | |
| 25043 | 27637 | <type name="GType" c:type="GType"/> | |
| 25044 | 27638 | </parameter> | |
| 25045 | - | <parameter name="class_handler" transfer-ownership="none"> | |
| 27639 | + | <parameter name="class_handler" | |
| 27640 | + | transfer-ownership="none" | |
| 27641 | + | scope="forever"> | |
| 25046 | 27642 | <doc xml:space="preserve" | |
| 25047 | - | filename="gobject-2.0.c" | |
| 25048 | - | line="5557">the handler.</doc> | |
| 27643 | + | filename="gobject/gsignal.c" | |
| 27644 | + | line="1998">the handler.</doc> | |
| 25049 | 27645 | <type name="Callback" c:type="GCallback"/> | |
| 25050 | 27646 | </parameter> | |
| 25051 | 27647 | </parameters> | |
| 25052 | 27648 | </function> | |
| 25053 | 27649 | <function name="signal_parse_name" c:identifier="g_signal_parse_name"> | |
| 25054 | 27650 | <doc xml:space="preserve" | |
| 25055 | - | filename="gobject-2.0.c" | |
| 25056 | - | line="5572">Internal function to parse a signal name into its @signal_id | |
| 27651 | + | filename="gobject/gsignal.c" | |
| 27652 | + | line="1088">Internal function to parse a signal name into its @signal_id | |
| 25057 | 27653 | and @detail quark.</doc> | |
| 25058 | - | <source-position filename="gsignal.h" line="358"/> | |
| 27654 | + | <source-position filename="gobject/gsignal.h" line="388"/> | |
| 25059 | 27655 | <return-value transfer-ownership="none"> | |
| 25060 | 27656 | <doc xml:space="preserve" | |
| 25061 | - | filename="gobject-2.0.c" | |
| 25062 | - | line="5583">Whether the signal name could successfully be parsed and @signal_id_p and @detail_p contain valid return values.</doc> | |
| 27657 | + | filename="gobject/gsignal.c" | |
| 27658 | + | line="1099">Whether the signal name could successfully be parsed and @signal_id_p and @detail_p contain valid return values.</doc> | |
| 25063 | 27659 | <type name="gboolean" c:type="gboolean"/> | |
| 25064 | 27660 | </return-value> | |
| 25065 | 27661 | <parameters> | |
| 25066 | 27662 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 25067 | 27663 | <doc xml:space="preserve" | |
| 25068 | - | filename="gobject-2.0.c" | |
| 25069 | - | line="5574">a string of the form "signal-name::detail".</doc> | |
| 27664 | + | filename="gobject/gsignal.c" | |
| 27665 | + | line="1090">a string of the form "signal-name::detail".</doc> | |
| 25070 | 27666 | <type name="utf8" c:type="const gchar*"/> | |
| 25071 | 27667 | </parameter> | |
| 25072 | 27668 | <parameter name="itype" transfer-ownership="none"> | |
| 25073 | 27669 | <doc xml:space="preserve" | |
| 25074 | - | filename="gobject-2.0.c" | |
| 25075 | - | line="5575">The interface/instance type that introduced "signal-name".</doc> | |
| 27670 | + | filename="gobject/gsignal.c" | |
| 27671 | + | line="1091">The interface/instance type that introduced "signal-name".</doc> | |
| 25076 | 27672 | <type name="GType" c:type="GType"/> | |
| 25077 | 27673 | </parameter> | |
| 25078 | 27674 | <parameter name="signal_id_p" | |
| @@ -25080,8 +27676,8 @@ and @detail quark.</doc> | |||
| 25080 | 27676 | caller-allocates="0" | |
| 25081 | 27677 | transfer-ownership="full"> | |
| 25082 | 27678 | <doc xml:space="preserve" | |
| 25083 | - | filename="gobject-2.0.c" | |
| 25084 | - | line="5576">Location to store the signal id.</doc> | |
| 27679 | + | filename="gobject/gsignal.c" | |
| 27680 | + | line="1092">Location to store the signal id.</doc> | |
| 25085 | 27681 | <type name="guint" c:type="guint*"/> | |
| 25086 | 27682 | </parameter> | |
| 25087 | 27683 | <parameter name="detail_p" | |
| @@ -25089,36 +27685,36 @@ and @detail quark.</doc> | |||
| 25089 | 27685 | caller-allocates="0" | |
| 25090 | 27686 | transfer-ownership="full"> | |
| 25091 | 27687 | <doc xml:space="preserve" | |
| 25092 | - | filename="gobject-2.0.c" | |
| 25093 | - | line="5577">Location to store the detail quark.</doc> | |
| 27688 | + | filename="gobject/gsignal.c" | |
| 27689 | + | line="1093">Location to store the detail quark.</doc> | |
| 25094 | 27690 | <type name="GLib.Quark" c:type="GQuark*"/> | |
| 25095 | 27691 | </parameter> | |
| 25096 | 27692 | <parameter name="force_detail_quark" transfer-ownership="none"> | |
| 25097 | 27693 | <doc xml:space="preserve" | |
| 25098 | - | filename="gobject-2.0.c" | |
| 25099 | - | line="5578">%TRUE forces creation of a #GQuark for the detail.</doc> | |
| 27694 | + | filename="gobject/gsignal.c" | |
| 27695 | + | line="1094">%TRUE forces creation of a #GQuark for the detail.</doc> | |
| 25100 | 27696 | <type name="gboolean" c:type="gboolean"/> | |
| 25101 | 27697 | </parameter> | |
| 25102 | 27698 | </parameters> | |
| 25103 | 27699 | </function> | |
| 25104 | 27700 | <function name="signal_query" c:identifier="g_signal_query"> | |
| 25105 | 27701 | <doc xml:space="preserve" | |
| 25106 | - | filename="gobject-2.0.c" | |
| 25107 | - | line="5587">Queries the signal system for in-depth information about a | |
| 27702 | + | filename="gobject/gsignal.c" | |
| 27703 | + | line="1313">Queries the signal system for in-depth information about a | |
| 25108 | 27704 | specific signal. This function will fill in a user-provided | |
| 25109 | 27705 | structure to hold signal-specific information. If an invalid | |
| 25110 | 27706 | signal id is passed in, the @signal_id member of the #GSignalQuery | |
| 25111 | 27707 | is 0. All members filled into the #GSignalQuery structure should | |
| 25112 | 27708 | be considered constant and have to be left untouched.</doc> | |
| 25113 | - | <source-position filename="gsignal.h" line="350"/> | |
| 27709 | + | <source-position filename="gobject/gsignal.h" line="380"/> | |
| 25114 | 27710 | <return-value transfer-ownership="none"> | |
| 25115 | 27711 | <type name="none" c:type="void"/> | |
| 25116 | 27712 | </return-value> | |
| 25117 | 27713 | <parameters> | |
| 25118 | 27714 | <parameter name="signal_id" transfer-ownership="none"> | |
| 25119 | 27715 | <doc xml:space="preserve" | |
| 25120 | - | filename="gobject-2.0.c" | |
| 25121 | - | line="5589">The signal id of the signal to query information for.</doc> | |
| 27716 | + | filename="gobject/gsignal.c" | |
| 27717 | + | line="1315">The signal id of the signal to query information for.</doc> | |
| 25122 | 27718 | <type name="guint" c:type="guint"/> | |
| 25123 | 27719 | </parameter> | |
| 25124 | 27720 | <parameter name="query" | |
| @@ -25126,8 +27722,8 @@ be considered constant and have to be left untouched.</doc> | |||
| 25126 | 27722 | caller-allocates="1" | |
| 25127 | 27723 | transfer-ownership="none"> | |
| 25128 | 27724 | <doc xml:space="preserve" | |
| 25129 | - | filename="gobject-2.0.c" | |
| 25130 | - | line="5590">A user provided structure that is | |
| 27725 | + | filename="gobject/gsignal.c" | |
| 27726 | + | line="1316">A user provided structure that is | |
| 25131 | 27727 | filled in with constant values upon success.</doc> | |
| 25132 | 27728 | <type name="SignalQuery" c:type="GSignalQuery*"/> | |
| 25133 | 27729 | </parameter> | |
| @@ -25136,23 +27732,23 @@ be considered constant and have to be left untouched.</doc> | |||
| 25136 | 27732 | <function name="signal_remove_emission_hook" | |
| 25137 | 27733 | c:identifier="g_signal_remove_emission_hook"> | |
| 25138 | 27734 | <doc xml:space="preserve" | |
| 25139 | - | filename="gobject-2.0.c" | |
| 25140 | - | line="5602">Deletes an emission hook.</doc> | |
| 25141 | - | <source-position filename="gsignal.h" line="382"/> | |
| 27735 | + | filename="gobject/gsignal.c" | |
| 27736 | + | line="1008">Deletes an emission hook.</doc> | |
| 27737 | + | <source-position filename="gobject/gsignal.h" line="412"/> | |
| 25142 | 27738 | <return-value transfer-ownership="none"> | |
| 25143 | 27739 | <type name="none" c:type="void"/> | |
| 25144 | 27740 | </return-value> | |
| 25145 | 27741 | <parameters> | |
| 25146 | 27742 | <parameter name="signal_id" transfer-ownership="none"> | |
| 25147 | 27743 | <doc xml:space="preserve" | |
| 25148 | - | filename="gobject-2.0.c" | |
| 25149 | - | line="5604">the id of the signal</doc> | |
| 27744 | + | filename="gobject/gsignal.c" | |
| 27745 | + | line="1010">the id of the signal</doc> | |
| 25150 | 27746 | <type name="guint" c:type="guint"/> | |
| 25151 | 27747 | </parameter> | |
| 25152 | 27748 | <parameter name="hook_id" transfer-ownership="none"> | |
| 25153 | 27749 | <doc xml:space="preserve" | |
| 25154 | - | filename="gobject-2.0.c" | |
| 25155 | - | line="5605">the id of the emission hook, as returned by | |
| 27750 | + | filename="gobject/gsignal.c" | |
| 27751 | + | line="1011">the id of the emission hook, as returned by | |
| 25156 | 27752 | g_signal_add_emission_hook()</doc> | |
| 25157 | 27753 | <type name="gulong" c:type="gulong"/> | |
| 25158 | 27754 | </parameter> | |
| @@ -25160,34 +27756,35 @@ be considered constant and have to be left untouched.</doc> | |||
| 25160 | 27756 | </function> | |
| 25161 | 27757 | <function name="signal_set_va_marshaller" | |
| 25162 | 27758 | c:identifier="g_signal_set_va_marshaller" | |
| 25163 | - | version="2.32"> | |
| 27759 | + | version="2.32" | |
| 27760 | + | introspectable="0"> | |
| 25164 | 27761 | <doc xml:space="preserve" | |
| 25165 | - | filename="gobject-2.0.c" | |
| 25166 | - | line="5612">Change the #GSignalCVaMarshaller used for a given signal. This is a | |
| 27762 | + | filename="gobject/gsignal.c" | |
| 27763 | + | line="1785">Change the #GSignalCVaMarshaller used for a given signal. This is a | |
| 25167 | 27764 | specialised form of the marshaller that can often be used for the | |
| 25168 | 27765 | common case of a single connected signal handler and avoids the | |
| 25169 | 27766 | overhead of #GValue. Its use is optional.</doc> | |
| 25170 | - | <source-position filename="gsignal.h" line="321"/> | |
| 27767 | + | <source-position filename="gobject/gsignal.h" line="351"/> | |
| 25171 | 27768 | <return-value transfer-ownership="none"> | |
| 25172 | 27769 | <type name="none" c:type="void"/> | |
| 25173 | 27770 | </return-value> | |
| 25174 | 27771 | <parameters> | |
| 25175 | 27772 | <parameter name="signal_id" transfer-ownership="none"> | |
| 25176 | 27773 | <doc xml:space="preserve" | |
| 25177 | - | filename="gobject-2.0.c" | |
| 25178 | - | line="5614">the signal id</doc> | |
| 27774 | + | filename="gobject/gsignal.c" | |
| 27775 | + | line="1787">the signal id</doc> | |
| 25179 | 27776 | <type name="guint" c:type="guint"/> | |
| 25180 | 27777 | </parameter> | |
| 25181 | 27778 | <parameter name="instance_type" transfer-ownership="none"> | |
| 25182 | 27779 | <doc xml:space="preserve" | |
| 25183 | - | filename="gobject-2.0.c" | |
| 25184 | - | line="5615">the instance type on which to set the marshaller.</doc> | |
| 27780 | + | filename="gobject/gsignal.c" | |
| 27781 | + | line="1788">the instance type on which to set the marshaller.</doc> | |
| 25185 | 27782 | <type name="GType" c:type="GType"/> | |
| 25186 | 27783 | </parameter> | |
| 25187 | 27784 | <parameter name="va_marshaller" transfer-ownership="none"> | |
| 25188 | 27785 | <doc xml:space="preserve" | |
| 25189 | - | filename="gobject-2.0.c" | |
| 25190 | - | line="5616">the marshaller to set.</doc> | |
| 27786 | + | filename="gobject/gsignal.c" | |
| 27787 | + | line="1789">the marshaller to set.</doc> | |
| 25191 | 27788 | <type name="SignalCVaMarshaller" c:type="GSignalCVaMarshaller"/> | |
| 25192 | 27789 | </parameter> | |
| 25193 | 27790 | </parameters> | |
| @@ -25195,35 +27792,35 @@ overhead of #GValue. Its use is optional.</doc> | |||
| 25195 | 27792 | <function name="signal_stop_emission" | |
| 25196 | 27793 | c:identifier="g_signal_stop_emission"> | |
| 25197 | 27794 | <doc xml:space="preserve" | |
| 25198 | - | filename="gobject-2.0.c" | |
| 25199 | - | line="5627">Stops a signal's current emission. | |
| 27795 | + | filename="gobject/gsignal.c" | |
| 27796 | + | line="866">Stops a signal's current emission. | |
| 25200 | 27797 | ||
| 25201 | 27798 | This will prevent the default method from running, if the signal was | |
| 25202 | 27799 | %G_SIGNAL_RUN_LAST and you connected normally (i.e. without the "after" | |
| 25203 | 27800 | flag). | |
| 25204 | 27801 | ||
| 25205 | 27802 | Prints a warning if used on a signal which isn't being emitted.</doc> | |
| 25206 | - | <source-position filename="gsignal.h" line="369"/> | |
| 27803 | + | <source-position filename="gobject/gsignal.h" line="399"/> | |
| 25207 | 27804 | <return-value transfer-ownership="none"> | |
| 25208 | 27805 | <type name="none" c:type="void"/> | |
| 25209 | 27806 | </return-value> | |
| 25210 | 27807 | <parameters> | |
| 25211 | 27808 | <parameter name="instance" transfer-ownership="none"> | |
| 25212 | 27809 | <doc xml:space="preserve" | |
| 25213 | - | filename="gobject-2.0.c" | |
| 25214 | - | line="5629">the object whose signal handlers you wish to stop.</doc> | |
| 27810 | + | filename="gobject/gsignal.c" | |
| 27811 | + | line="868">the object whose signal handlers you wish to stop.</doc> | |
| 25215 | 27812 | <type name="Object" c:type="gpointer"/> | |
| 25216 | 27813 | </parameter> | |
| 25217 | 27814 | <parameter name="signal_id" transfer-ownership="none"> | |
| 25218 | 27815 | <doc xml:space="preserve" | |
| 25219 | - | filename="gobject-2.0.c" | |
| 25220 | - | line="5630">the signal identifier, as returned by g_signal_lookup().</doc> | |
| 27816 | + | filename="gobject/gsignal.c" | |
| 27817 | + | line="869">the signal identifier, as returned by g_signal_lookup().</doc> | |
| 25221 | 27818 | <type name="guint" c:type="guint"/> | |
| 25222 | 27819 | </parameter> | |
| 25223 | 27820 | <parameter name="detail" transfer-ownership="none"> | |
| 25224 | 27821 | <doc xml:space="preserve" | |
| 25225 | - | filename="gobject-2.0.c" | |
| 25226 | - | line="5631">the detail which the signal was emitted with.</doc> | |
| 27822 | + | filename="gobject/gsignal.c" | |
| 27823 | + | line="870">the detail which the signal was emitted with.</doc> | |
| 25227 | 27824 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 25228 | 27825 | </parameter> | |
| 25229 | 27826 | </parameters> | |
| @@ -25231,26 +27828,26 @@ Prints a warning if used on a signal which isn't being emitted.</doc> | |||
| 25231 | 27828 | <function name="signal_stop_emission_by_name" | |
| 25232 | 27829 | c:identifier="g_signal_stop_emission_by_name"> | |
| 25233 | 27830 | <doc xml:space="preserve" | |
| 25234 | - | filename="gobject-2.0.c" | |
| 25235 | - | line="5643">Stops a signal's current emission. | |
| 27831 | + | filename="gobject/gsignal.c" | |
| 27832 | + | line="1137">Stops a signal's current emission. | |
| 25236 | 27833 | ||
| 25237 | 27834 | This is just like g_signal_stop_emission() except it will look up the | |
| 25238 | 27835 | signal id for you.</doc> | |
| 25239 | - | <source-position filename="gsignal.h" line="373"/> | |
| 27836 | + | <source-position filename="gobject/gsignal.h" line="403"/> | |
| 25240 | 27837 | <return-value transfer-ownership="none"> | |
| 25241 | 27838 | <type name="none" c:type="void"/> | |
| 25242 | 27839 | </return-value> | |
| 25243 | 27840 | <parameters> | |
| 25244 | 27841 | <parameter name="instance" transfer-ownership="none"> | |
| 25245 | 27842 | <doc xml:space="preserve" | |
| 25246 | - | filename="gobject-2.0.c" | |
| 25247 | - | line="5645">the object whose signal handlers you wish to stop.</doc> | |
| 27843 | + | filename="gobject/gsignal.c" | |
| 27844 | + | line="1139">the object whose signal handlers you wish to stop.</doc> | |
| 25248 | 27845 | <type name="Object" c:type="gpointer"/> | |
| 25249 | 27846 | </parameter> | |
| 25250 | 27847 | <parameter name="detailed_signal" transfer-ownership="none"> | |
| 25251 | 27848 | <doc xml:space="preserve" | |
| 25252 | - | filename="gobject-2.0.c" | |
| 25253 | - | line="5646">a string of the form "signal-name::detail".</doc> | |
| 27849 | + | filename="gobject/gsignal.c" | |
| 27850 | + | line="1140">a string of the form "signal-name::detail".</doc> | |
| 25254 | 27851 | <type name="utf8" c:type="const gchar*"/> | |
| 25255 | 27852 | </parameter> | |
| 25256 | 27853 | </parameters> | |
| @@ -25258,153 +27855,68 @@ signal id for you.</doc> | |||
| 25258 | 27855 | <function name="signal_type_cclosure_new" | |
| 25259 | 27856 | c:identifier="g_signal_type_cclosure_new"> | |
| 25260 | 27857 | <doc xml:space="preserve" | |
| 25261 | - | filename="gobject-2.0.c" | |
| 25262 | - | line="5655">Creates a new closure which invokes the function found at the offset | |
| 27858 | + | filename="gobject/gclosure.c" | |
| 27859 | + | line="1158">Creates a new closure which invokes the function found at the offset | |
| 25263 | 27860 | @struct_offset in the class structure of the interface or classed type | |
| 25264 | 27861 | identified by @itype.</doc> | |
| 25265 | - | <source-position filename="gclosure.h" line="237"/> | |
| 27862 | + | <source-position filename="gobject/gclosure.h" line="231"/> | |
| 25266 | 27863 | <return-value transfer-ownership="none"> | |
| 25267 | 27864 | <doc xml:space="preserve" | |
| 25268 | - | filename="gobject-2.0.c" | |
| 25269 | - | line="5665">a floating reference to a new #GCClosure</doc> | |
| 27865 | + | filename="gobject/gclosure.c" | |
| 27866 | + | line="1168">a floating reference to a new #GCClosure</doc> | |
| 25270 | 27867 | <type name="Closure" c:type="GClosure*"/> | |
| 25271 | 27868 | </return-value> | |
| 25272 | 27869 | <parameters> | |
| 25273 | 27870 | <parameter name="itype" transfer-ownership="none"> | |
| 25274 | 27871 | <doc xml:space="preserve" | |
| 25275 | - | filename="gobject-2.0.c" | |
| 25276 | - | line="5657">the #GType identifier of an interface or classed type</doc> | |
| 27872 | + | filename="gobject/gclosure.c" | |
| 27873 | + | line="1160">the #GType identifier of an interface or classed type</doc> | |
| 25277 | 27874 | <type name="GType" c:type="GType"/> | |
| 25278 | 27875 | </parameter> | |
| 25279 | 27876 | <parameter name="struct_offset" transfer-ownership="none"> | |
| 25280 | 27877 | <doc xml:space="preserve" | |
| 25281 | - | filename="gobject-2.0.c" | |
| 25282 | - | line="5658">the offset of the member function of @itype's class | |
| 27878 | + | filename="gobject/gclosure.c" | |
| 27879 | + | line="1161">the offset of the member function of @itype's class | |
| 25283 | 27880 | structure which is to be invoked by the new closure</doc> | |
| 25284 | 27881 | <type name="guint" c:type="guint"/> | |
| 25285 | 27882 | </parameter> | |
| 25286 | 27883 | </parameters> | |
| 25287 | 27884 | </function> | |
| 25288 | - | <docsection name="signals"> | |
| 25289 | - | <doc xml:space="preserve" | |
| 25290 | - | filename="gobject-2.0.c" | |
| 25291 | - | line="841">The basic concept of the signal system is that of the emission | |
| 25292 | - | of a signal. Signals are introduced per-type and are identified | |
| 25293 | - | through strings. Signals introduced for a parent type are available | |
| 25294 | - | in derived types as well, so basically they are a per-type facility | |
| 25295 | - | that is inherited. | |
| 25296 | - | ||
| 25297 | - | A signal emission mainly involves invocation of a certain set of | |
| 25298 | - | callbacks in precisely defined manner. There are two main categories | |
| 25299 | - | of such callbacks, per-object ones and user provided ones. | |
| 25300 | - | (Although signals can deal with any kind of instantiatable type, I'm | |
| 25301 | - | referring to those types as "object types" in the following, simply | |
| 25302 | - | because that is the context most users will encounter signals in.) | |
| 25303 | - | The per-object callbacks are most often referred to as "object method | |
| 25304 | - | handler" or "default (signal) handler", while user provided callbacks are | |
| 25305 | - | usually just called "signal handler". | |
| 25306 | - | ||
| 25307 | - | The object method handler is provided at signal creation time (this most | |
| 25308 | - | frequently happens at the end of an object class' creation), while user | |
| 25309 | - | provided handlers are frequently connected and disconnected to/from a | |
| 25310 | - | certain signal on certain object instances. | |
| 25311 | - | ||
| 25312 | - | A signal emission consists of five stages, unless prematurely stopped: | |
| 25313 | - | ||
| 25314 | - | 1. Invocation of the object method handler for %G_SIGNAL_RUN_FIRST signals | |
| 25315 | - | ||
| 25316 | - | 2. Invocation of normal user-provided signal handlers (where the @after | |
| 25317 | - | flag is not set) | |
| 25318 | - | ||
| 25319 | - | 3. Invocation of the object method handler for %G_SIGNAL_RUN_LAST signals | |
| 25320 | - | ||
| 25321 | - | 4. Invocation of user provided signal handlers (where the @after flag is set) | |
| 25322 | - | ||
| 25323 | - | 5. Invocation of the object method handler for %G_SIGNAL_RUN_CLEANUP signals | |
| 25324 | - | ||
| 25325 | - | The user-provided signal handlers are called in the order they were | |
| 25326 | - | connected in. | |
| 25327 | - | ||
| 25328 | - | All handlers may prematurely stop a signal emission, and any number of | |
| 25329 | - | handlers may be connected, disconnected, blocked or unblocked during | |
| 25330 | - | a signal emission. | |
| 25331 | - | ||
| 25332 | - | There are certain criteria for skipping user handlers in stages 2 and 4 | |
| 25333 | - | of a signal emission. | |
| 25334 | - | ||
| 25335 | - | First, user handlers may be blocked. Blocked handlers are omitted during | |
| 25336 | - | callback invocation, to return from the blocked state, a handler has to | |
| 25337 | - | get unblocked exactly the same amount of times it has been blocked before. | |
| 25338 | - | ||
| 25339 | - | Second, upon emission of a %G_SIGNAL_DETAILED signal, an additional | |
| 25340 | - | @detail argument passed in to g_signal_emit() has to match the detail | |
| 25341 | - | argument of the signal handler currently subject to invocation. | |
| 25342 | - | Specification of no detail argument for signal handlers (omission of the | |
| 25343 | - | detail part of the signal specification upon connection) serves as a | |
| 25344 | - | wildcard and matches any detail argument passed in to emission. | |
| 25345 | - | ||
| 25346 | - | While the @detail argument is typically used to pass an object property name | |
| 25347 | - | (as with #GObject::notify), no specific format is mandated for the detail | |
| 25348 | - | string, other than that it must be non-empty. | |
| 25349 | - | ||
| 25350 | - | ## Memory management of signal handlers # {#signal-memory-management} | |
| 25351 | - | ||
| 25352 | - | If you are connecting handlers to signals and using a #GObject instance as | |
| 25353 | - | your signal handler user data, you should remember to pair calls to | |
| 25354 | - | g_signal_connect() with calls to g_signal_handler_disconnect() or | |
| 25355 | - | g_signal_handlers_disconnect_by_func(). While signal handlers are | |
| 25356 | - | automatically disconnected when the object emitting the signal is finalised, | |
| 25357 | - | they are not automatically disconnected when the signal handler user data is | |
| 25358 | - | destroyed. If this user data is a #GObject instance, using it from a | |
| 25359 | - | signal handler after it has been finalised is an error. | |
| 25360 | - | ||
| 25361 | - | There are two strategies for managing such user data. The first is to | |
| 25362 | - | disconnect the signal handler (using g_signal_handler_disconnect() or | |
| 25363 | - | g_signal_handlers_disconnect_by_func()) when the user data (object) is | |
| 25364 | - | finalised; this has to be implemented manually. For non-threaded programs, | |
| 25365 | - | g_signal_connect_object() can be used to implement this automatically. | |
| 25366 | - | Currently, however, it is unsafe to use in threaded programs. | |
| 25367 | - | ||
| 25368 | - | The second is to hold a strong reference on the user data until after the | |
| 25369 | - | signal is disconnected for other reasons. This can be implemented | |
| 25370 | - | automatically using g_signal_connect_data(). | |
| 25371 | - | ||
| 25372 | - | The first approach is recommended, as the second approach can result in | |
| 25373 | - | effective memory leaks of the user data if the signal handler is never | |
| 25374 | - | disconnected for some reason.</doc> | |
| 25375 | - | </docsection> | |
| 25376 | - | <function name="source_set_closure" c:identifier="g_source_set_closure"> | |
| 25377 | - | <doc xml:space="preserve" | |
| 25378 | - | filename="gobject-2.0.c" | |
| 25379 | - | line="5669">Set the callback for a source as a #GClosure. | |
| 27885 | + | <function name="source_set_closure" | |
| 27886 | + | c:identifier="g_source_set_closure" | |
| 27887 | + | moved-to="Source.set_closure"> | |
| 27888 | + | <doc xml:space="preserve" | |
| 27889 | + | filename="gobject/gsourceclosure.c" | |
| 27890 | + | line="235">Set the callback for a source as a #GClosure. | |
| 25380 | 27891 | ||
| 25381 | 27892 | If the source is not one of the standard GLib types, the @closure_callback | |
| 25382 | 27893 | and @closure_marshal fields of the #GSourceFuncs structure must have been | |
| 25383 | 27894 | filled in with pointers to appropriate functions.</doc> | |
| 25384 | - | <source-position filename="gsourceclosure.h" line="30"/> | |
| 27895 | + | <source-position filename="gobject/gsourceclosure.h" line="32"/> | |
| 25385 | 27896 | <return-value transfer-ownership="none"> | |
| 25386 | 27897 | <type name="none" c:type="void"/> | |
| 25387 | 27898 | </return-value> | |
| 25388 | 27899 | <parameters> | |
| 25389 | 27900 | <parameter name="source" transfer-ownership="none"> | |
| 25390 | 27901 | <doc xml:space="preserve" | |
| 25391 | - | filename="gobject-2.0.c" | |
| 25392 | - | line="5671">the source</doc> | |
| 27902 | + | filename="gobject/gsourceclosure.c" | |
| 27903 | + | line="237">the source</doc> | |
| 25393 | 27904 | <type name="GLib.Source" c:type="GSource*"/> | |
| 25394 | 27905 | </parameter> | |
| 25395 | 27906 | <parameter name="closure" transfer-ownership="none"> | |
| 25396 | 27907 | <doc xml:space="preserve" | |
| 25397 | - | filename="gobject-2.0.c" | |
| 25398 | - | line="5672">a #GClosure</doc> | |
| 27908 | + | filename="gobject/gsourceclosure.c" | |
| 27909 | + | line="238">a #GClosure</doc> | |
| 25399 | 27910 | <type name="Closure" c:type="GClosure*"/> | |
| 25400 | 27911 | </parameter> | |
| 25401 | 27912 | </parameters> | |
| 25402 | 27913 | </function> | |
| 25403 | 27914 | <function name="source_set_dummy_callback" | |
| 25404 | - | c:identifier="g_source_set_dummy_callback"> | |
| 27915 | + | c:identifier="g_source_set_dummy_callback" | |
| 27916 | + | moved-to="Source.set_dummy_callback"> | |
| 25405 | 27917 | <doc xml:space="preserve" | |
| 25406 | - | filename="gobject-2.0.c" | |
| 25407 | - | line="5682">Sets a dummy callback for @source. The callback will do nothing, and | |
| 27918 | + | filename="gobject/gsourceclosure.c" | |
| 27919 | + | line="301">Sets a dummy callback for @source. The callback will do nothing, and | |
| 25408 | 27920 | if the source expects a #gboolean return value, it will return %TRUE. | |
| 25409 | 27921 | (If the source expects any other type of return value, it will return | |
| 25410 | 27922 | a 0/%NULL value; whatever g_value_init() initializes a #GValue to for | |
| @@ -25414,15 +27926,15 @@ If the source is not one of the standard GLib types, the | |||
| 25414 | 27926 | @closure_callback and @closure_marshal fields of the #GSourceFuncs | |
| 25415 | 27927 | structure must have been filled in with pointers to appropriate | |
| 25416 | 27928 | functions.</doc> | |
| 25417 | - | <source-position filename="gsourceclosure.h" line="34"/> | |
| 27929 | + | <source-position filename="gobject/gsourceclosure.h" line="36"/> | |
| 25418 | 27930 | <return-value transfer-ownership="none"> | |
| 25419 | 27931 | <type name="none" c:type="void"/> | |
| 25420 | 27932 | </return-value> | |
| 25421 | 27933 | <parameters> | |
| 25422 | 27934 | <parameter name="source" transfer-ownership="none"> | |
| 25423 | 27935 | <doc xml:space="preserve" | |
| 25424 | - | filename="gobject-2.0.c" | |
| 25425 | - | line="5684">the source</doc> | |
| 27936 | + | filename="gobject/gsourceclosure.c" | |
| 27937 | + | line="303">the source</doc> | |
| 25426 | 27938 | <type name="GLib.Source" c:type="GSource*"/> | |
| 25427 | 27939 | </parameter> | |
| 25428 | 27940 | </parameters> | |
| @@ -25430,23 +27942,23 @@ functions.</doc> | |||
| 25430 | 27942 | <function name="strdup_value_contents" | |
| 25431 | 27943 | c:identifier="g_strdup_value_contents"> | |
| 25432 | 27944 | <doc xml:space="preserve" | |
| 25433 | - | filename="gobject-2.0.c" | |
| 25434 | - | line="5699">Return a newly allocated string, which describes the contents of a | |
| 27945 | + | filename="gobject/gvaluetypes.c" | |
| 27946 | + | line="1381">Return a newly allocated string, which describes the contents of a | |
| 25435 | 27947 | #GValue. The main purpose of this function is to describe #GValue | |
| 25436 | 27948 | contents for debugging output, the way in which the contents are | |
| 25437 | 27949 | described may change between different GLib versions.</doc> | |
| 25438 | - | <source-position filename="gvaluetypes.h" line="294"/> | |
| 27950 | + | <source-position filename="gobject/gvaluetypes.h" line="298"/> | |
| 25439 | 27951 | <return-value transfer-ownership="full"> | |
| 25440 | 27952 | <doc xml:space="preserve" | |
| 25441 | - | filename="gobject-2.0.c" | |
| 25442 | - | line="5708">Newly allocated string.</doc> | |
| 27953 | + | filename="gobject/gvaluetypes.c" | |
| 27954 | + | line="1390">Newly allocated string.</doc> | |
| 25443 | 27955 | <type name="utf8" c:type="gchar*"/> | |
| 25444 | 27956 | </return-value> | |
| 25445 | 27957 | <parameters> | |
| 25446 | 27958 | <parameter name="value" transfer-ownership="none"> | |
| 25447 | 27959 | <doc xml:space="preserve" | |
| 25448 | - | filename="gobject-2.0.c" | |
| 25449 | - | line="5701">#GValue which contents are to be described.</doc> | |
| 27960 | + | filename="gobject/gvaluetypes.c" | |
| 27961 | + | line="1383">#GValue which contents are to be described.</doc> | |
| 25450 | 27962 | <type name="Value" c:type="const GValue*"/> | |
| 25451 | 27963 | </parameter> | |
| 25452 | 27964 | </parameters> | |
| @@ -25455,15 +27967,15 @@ described may change between different GLib versions.</doc> | |||
| 25455 | 27967 | c:identifier="g_type_add_class_cache_func" | |
| 25456 | 27968 | introspectable="0"> | |
| 25457 | 27969 | <doc xml:space="preserve" | |
| 25458 | - | filename="gobject-2.0.c" | |
| 25459 | - | line="5712">Adds a #GTypeClassCacheFunc to be called before the reference count of a | |
| 27970 | + | filename="gobject/gtype.c" | |
| 27971 | + | line="2270">Adds a #GTypeClassCacheFunc to be called before the reference count of a | |
| 25460 | 27972 | class goes from one to zero. This can be used to prevent premature class | |
| 25461 | 27973 | destruction. All installed #GTypeClassCacheFunc functions will be chained | |
| 25462 | 27974 | until one of them returns %TRUE. The functions have to check the class id | |
| 25463 | 27975 | passed in to figure whether they actually want to cache the class of this | |
| 25464 | 27976 | type, since all classes are routed through the same #GTypeClassCacheFunc | |
| 25465 | 27977 | chain.</doc> | |
| 25466 | - | <source-position filename="gtype.h" line="2399"/> | |
| 27978 | + | <source-position filename="gobject/gtype.h" line="2604"/> | |
| 25467 | 27979 | <return-value transfer-ownership="none"> | |
| 25468 | 27980 | <type name="none" c:type="void"/> | |
| 25469 | 27981 | </return-value> | |
| @@ -25473,14 +27985,14 @@ chain.</doc> | |||
| 25473 | 27985 | nullable="1" | |
| 25474 | 27986 | allow-none="1"> | |
| 25475 | 27987 | <doc xml:space="preserve" | |
| 25476 | - | filename="gobject-2.0.c" | |
| 25477 | - | line="5714">data to be passed to @cache_func</doc> | |
| 27988 | + | filename="gobject/gtype.c" | |
| 27989 | + | line="2272">data to be passed to @cache_func</doc> | |
| 25478 | 27990 | <type name="gpointer" c:type="gpointer"/> | |
| 25479 | 27991 | </parameter> | |
| 25480 | 27992 | <parameter name="cache_func" transfer-ownership="none"> | |
| 25481 | 27993 | <doc xml:space="preserve" | |
| 25482 | - | filename="gobject-2.0.c" | |
| 25483 | - | line="5715">a #GTypeClassCacheFunc</doc> | |
| 27994 | + | filename="gobject/gtype.c" | |
| 27995 | + | line="2273">a #GTypeClassCacheFunc</doc> | |
| 25484 | 27996 | <type name="TypeClassCacheFunc" c:type="GTypeClassCacheFunc"/> | |
| 25485 | 27997 | </parameter> | |
| 25486 | 27998 | </parameters> | |
| @@ -25489,8 +28001,8 @@ chain.</doc> | |||
| 25489 | 28001 | c:identifier="g_type_add_class_private" | |
| 25490 | 28002 | version="2.24"> | |
| 25491 | 28003 | <doc xml:space="preserve" | |
| 25492 | - | filename="gobject-2.0.c" | |
| 25493 | - | line="5727">Registers a private class structure for a classed type; | |
| 28004 | + | filename="gobject/gtype.c" | |
| 28005 | + | line="4724">Registers a private class structure for a classed type; | |
| 25494 | 28006 | when the class is allocated, the private structures for | |
| 25495 | 28007 | the class and all of its parent types are allocated | |
| 25496 | 28008 | sequentially in the same memory block as the public | |
| @@ -25500,28 +28012,28 @@ This function should be called in the | |||
| 25500 | 28012 | type's get_type() function after the type is registered. | |
| 25501 | 28013 | The private structure can be retrieved using the | |
| 25502 | 28014 | G_TYPE_CLASS_GET_PRIVATE() macro.</doc> | |
| 25503 | - | <source-position filename="gtype.h" line="1359"/> | |
| 28015 | + | <source-position filename="gobject/gtype.h" line="1516"/> | |
| 25504 | 28016 | <return-value transfer-ownership="none"> | |
| 25505 | 28017 | <type name="none" c:type="void"/> | |
| 25506 | 28018 | </return-value> | |
| 25507 | 28019 | <parameters> | |
| 25508 | 28020 | <parameter name="class_type" transfer-ownership="none"> | |
| 25509 | 28021 | <doc xml:space="preserve" | |
| 25510 | - | filename="gobject-2.0.c" | |
| 25511 | - | line="5729">GType of a classed type</doc> | |
| 28022 | + | filename="gobject/gtype.c" | |
| 28023 | + | line="4726">GType of a classed type</doc> | |
| 25512 | 28024 | <type name="GType" c:type="GType"/> | |
| 25513 | 28025 | </parameter> | |
| 25514 | 28026 | <parameter name="private_size" transfer-ownership="none"> | |
| 25515 | 28027 | <doc xml:space="preserve" | |
| 25516 | - | filename="gobject-2.0.c" | |
| 25517 | - | line="5730">size of private structure</doc> | |
| 28028 | + | filename="gobject/gtype.c" | |
| 28029 | + | line="4727">size of private structure</doc> | |
| 25518 | 28030 | <type name="gsize" c:type="gsize"/> | |
| 25519 | 28031 | </parameter> | |
| 25520 | 28032 | </parameters> | |
| 25521 | 28033 | </function> | |
| 25522 | 28034 | <function name="type_add_instance_private" | |
| 25523 | 28035 | c:identifier="g_type_add_instance_private"> | |
| 25524 | - | <source-position filename="gtype.h" line="1349"/> | |
| 28036 | + | <source-position filename="gobject/gtype.h" line="1506"/> | |
| 25525 | 28037 | <return-value transfer-ownership="none"> | |
| 25526 | 28038 | <type name="gint" c:type="gint"/> | |
| 25527 | 28039 | </return-value> | |
| @@ -25539,8 +28051,8 @@ G_TYPE_CLASS_GET_PRIVATE() macro.</doc> | |||
| 25539 | 28051 | version="2.4" | |
| 25540 | 28052 | introspectable="0"> | |
| 25541 | 28053 | <doc xml:space="preserve" | |
| 25542 | - | filename="gobject-2.0.c" | |
| 25543 | - | line="5747">Adds a function to be called after an interface vtable is | |
| 28054 | + | filename="gobject/gtype.c" | |
| 28055 | + | line="2338">Adds a function to be called after an interface vtable is | |
| 25544 | 28056 | initialized for any class (i.e. after the @interface_init | |
| 25545 | 28057 | member of #GInterfaceInfo has been called). | |
| 25546 | 28058 | ||
| @@ -25549,7 +28061,7 @@ that depends on the interfaces of a class. For instance, the | |||
| 25549 | 28061 | implementation of #GObject uses this facility to check that an | |
| 25550 | 28062 | object implements all of the properties that are defined on its | |
| 25551 | 28063 | interfaces.</doc> | |
| 25552 | - | <source-position filename="gtype.h" line="2408"/> | |
| 28064 | + | <source-position filename="gobject/gtype.h" line="2613"/> | |
| 25553 | 28065 | <return-value transfer-ownership="none"> | |
| 25554 | 28066 | <type name="none" c:type="void"/> | |
| 25555 | 28067 | </return-value> | |
| @@ -25559,14 +28071,14 @@ interfaces.</doc> | |||
| 25559 | 28071 | nullable="1" | |
| 25560 | 28072 | allow-none="1"> | |
| 25561 | 28073 | <doc xml:space="preserve" | |
| 25562 | - | filename="gobject-2.0.c" | |
| 25563 | - | line="5749">data to pass to @check_func</doc> | |
| 28074 | + | filename="gobject/gtype.c" | |
| 28075 | + | line="2340">data to pass to @check_func</doc> | |
| 25564 | 28076 | <type name="gpointer" c:type="gpointer"/> | |
| 25565 | 28077 | </parameter> | |
| 25566 | 28078 | <parameter name="check_func" transfer-ownership="none"> | |
| 25567 | 28079 | <doc xml:space="preserve" | |
| 25568 | - | filename="gobject-2.0.c" | |
| 25569 | - | line="5750">function to be called after each interface | |
| 28080 | + | filename="gobject/gtype.c" | |
| 28081 | + | line="2341">function to be called after each interface | |
| 25570 | 28082 | is initialized</doc> | |
| 25571 | 28083 | <type name="TypeInterfaceCheckFunc" | |
| 25572 | 28084 | c:type="GTypeInterfaceCheckFunc"/> | |
| @@ -25576,31 +28088,31 @@ interfaces.</doc> | |||
| 25576 | 28088 | <function name="type_add_interface_dynamic" | |
| 25577 | 28089 | c:identifier="g_type_add_interface_dynamic"> | |
| 25578 | 28090 | <doc xml:space="preserve" | |
| 25579 | - | filename="gobject-2.0.c" | |
| 25580 | - | line="5767">Adds @interface_type to the dynamic @instance_type. The information | |
| 28091 | + | filename="gobject/gtype.c" | |
| 28092 | + | line="2668">Adds @interface_type to the dynamic @instance_type. The information | |
| 25581 | 28093 | contained in the #GTypePlugin structure pointed to by @plugin | |
| 25582 | 28094 | is used to manage the relationship.</doc> | |
| 25583 | - | <source-position filename="gtype.h" line="1333"/> | |
| 28095 | + | <source-position filename="gobject/gtype.h" line="1490"/> | |
| 25584 | 28096 | <return-value transfer-ownership="none"> | |
| 25585 | 28097 | <type name="none" c:type="void"/> | |
| 25586 | 28098 | </return-value> | |
| 25587 | 28099 | <parameters> | |
| 25588 | 28100 | <parameter name="instance_type" transfer-ownership="none"> | |
| 25589 | 28101 | <doc xml:space="preserve" | |
| 25590 | - | filename="gobject-2.0.c" | |
| 25591 | - | line="5769">#GType value of an instantiatable type</doc> | |
| 28102 | + | filename="gobject/gtype.c" | |
| 28103 | + | line="2670">#GType value of an instantiatable type</doc> | |
| 25592 | 28104 | <type name="GType" c:type="GType"/> | |
| 25593 | 28105 | </parameter> | |
| 25594 | 28106 | <parameter name="interface_type" transfer-ownership="none"> | |
| 25595 | 28107 | <doc xml:space="preserve" | |
| 25596 | - | filename="gobject-2.0.c" | |
| 25597 | - | line="5770">#GType value of an interface type</doc> | |
| 28108 | + | filename="gobject/gtype.c" | |
| 28109 | + | line="2671">#GType value of an interface type</doc> | |
| 25598 | 28110 | <type name="GType" c:type="GType"/> | |
| 25599 | 28111 | </parameter> | |
| 25600 | 28112 | <parameter name="plugin" transfer-ownership="none"> | |
| 25601 | 28113 | <doc xml:space="preserve" | |
| 25602 | - | filename="gobject-2.0.c" | |
| 25603 | - | line="5771">#GTypePlugin structure to retrieve the #GInterfaceInfo from</doc> | |
| 28114 | + | filename="gobject/gtype.c" | |
| 28115 | + | line="2672">#GTypePlugin structure to retrieve the #GInterfaceInfo from</doc> | |
| 25604 | 28116 | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 25605 | 28117 | </parameter> | |
| 25606 | 28118 | </parameters> | |
| @@ -25608,31 +28120,31 @@ is used to manage the relationship.</doc> | |||
| 25608 | 28120 | <function name="type_add_interface_static" | |
| 25609 | 28121 | c:identifier="g_type_add_interface_static"> | |
| 25610 | 28122 | <doc xml:space="preserve" | |
| 25611 | - | filename="gobject-2.0.c" | |
| 25612 | - | line="5779">Adds @interface_type to the static @instance_type. | |
| 28123 | + | filename="gobject/gtype.c" | |
| 28124 | + | line="2631">Adds @interface_type to the static @instance_type. | |
| 25613 | 28125 | The information contained in the #GInterfaceInfo structure | |
| 25614 | 28126 | pointed to by @info is used to manage the relationship.</doc> | |
| 25615 | - | <source-position filename="gtype.h" line="1329"/> | |
| 28127 | + | <source-position filename="gobject/gtype.h" line="1486"/> | |
| 25616 | 28128 | <return-value transfer-ownership="none"> | |
| 25617 | 28129 | <type name="none" c:type="void"/> | |
| 25618 | 28130 | </return-value> | |
| 25619 | 28131 | <parameters> | |
| 25620 | 28132 | <parameter name="instance_type" transfer-ownership="none"> | |
| 25621 | 28133 | <doc xml:space="preserve" | |
| 25622 | - | filename="gobject-2.0.c" | |
| 25623 | - | line="5781">#GType value of an instantiatable type</doc> | |
| 28134 | + | filename="gobject/gtype.c" | |
| 28135 | + | line="2633">#GType value of an instantiatable type</doc> | |
| 25624 | 28136 | <type name="GType" c:type="GType"/> | |
| 25625 | 28137 | </parameter> | |
| 25626 | 28138 | <parameter name="interface_type" transfer-ownership="none"> | |
| 25627 | 28139 | <doc xml:space="preserve" | |
| 25628 | - | filename="gobject-2.0.c" | |
| 25629 | - | line="5782">#GType value of an interface type</doc> | |
| 28140 | + | filename="gobject/gtype.c" | |
| 28141 | + | line="2634">#GType value of an interface type</doc> | |
| 25630 | 28142 | <type name="GType" c:type="GType"/> | |
| 25631 | 28143 | </parameter> | |
| 25632 | 28144 | <parameter name="info" transfer-ownership="none"> | |
| 25633 | 28145 | <doc xml:space="preserve" | |
| 25634 | - | filename="gobject-2.0.c" | |
| 25635 | - | line="5783">#GInterfaceInfo structure for this | |
| 28146 | + | filename="gobject/gtype.c" | |
| 28147 | + | line="2635">#GInterfaceInfo structure for this | |
| 25636 | 28148 | (@instance_type, @interface_type) combination</doc> | |
| 25637 | 28149 | <type name="InterfaceInfo" c:type="const GInterfaceInfo*"/> | |
| 25638 | 28150 | </parameter> | |
| @@ -25641,7 +28153,7 @@ pointed to by @info is used to manage the relationship.</doc> | |||
| 25641 | 28153 | <function name="type_check_class_cast" | |
| 25642 | 28154 | c:identifier="g_type_check_class_cast" | |
| 25643 | 28155 | introspectable="0"> | |
| 25644 | - | <source-position filename="gtype.h" line="2431"/> | |
| 28156 | + | <source-position filename="gobject/gtype.h" line="2636"/> | |
| 25645 | 28157 | <return-value> | |
| 25646 | 28158 | <type name="TypeClass" c:type="GTypeClass*"/> | |
| 25647 | 28159 | </return-value> | |
| @@ -25656,7 +28168,7 @@ pointed to by @info is used to manage the relationship.</doc> | |||
| 25656 | 28168 | </function> | |
| 25657 | 28169 | <function name="type_check_class_is_a" | |
| 25658 | 28170 | c:identifier="g_type_check_class_is_a"> | |
| 25659 | - | <source-position filename="gtype.h" line="2434"/> | |
| 28171 | + | <source-position filename="gobject/gtype.h" line="2639"/> | |
| 25660 | 28172 | <return-value transfer-ownership="none"> | |
| 25661 | 28173 | <type name="gboolean" c:type="gboolean"/> | |
| 25662 | 28174 | </return-value> | |
| @@ -25671,21 +28183,21 @@ pointed to by @info is used to manage the relationship.</doc> | |||
| 25671 | 28183 | </function> | |
| 25672 | 28184 | <function name="type_check_instance" c:identifier="g_type_check_instance"> | |
| 25673 | 28185 | <doc xml:space="preserve" | |
| 25674 | - | filename="gobject-2.0.c" | |
| 25675 | - | line="5792">Private helper function to aid implementation of the | |
| 28186 | + | filename="gobject/gtype.c" | |
| 28187 | + | line="4005">Private helper function to aid implementation of the | |
| 25676 | 28188 | G_TYPE_CHECK_INSTANCE() macro.</doc> | |
| 25677 | - | <source-position filename="gtype.h" line="2420"/> | |
| 28189 | + | <source-position filename="gobject/gtype.h" line="2625"/> | |
| 25678 | 28190 | <return-value transfer-ownership="none"> | |
| 25679 | 28191 | <doc xml:space="preserve" | |
| 25680 | - | filename="gobject-2.0.c" | |
| 25681 | - | line="5799">%TRUE if @instance is valid, %FALSE otherwise</doc> | |
| 28192 | + | filename="gobject/gtype.c" | |
| 28193 | + | line="4012">%TRUE if @instance is valid, %FALSE otherwise</doc> | |
| 25682 | 28194 | <type name="gboolean" c:type="gboolean"/> | |
| 25683 | 28195 | </return-value> | |
| 25684 | 28196 | <parameters> | |
| 25685 | 28197 | <parameter name="instance" transfer-ownership="none"> | |
| 25686 | 28198 | <doc xml:space="preserve" | |
| 25687 | - | filename="gobject-2.0.c" | |
| 25688 | - | line="5794">a valid #GTypeInstance structure</doc> | |
| 28199 | + | filename="gobject/gtype.c" | |
| 28200 | + | line="4007">a valid #GTypeInstance structure</doc> | |
| 25689 | 28201 | <type name="TypeInstance" c:type="GTypeInstance*"/> | |
| 25690 | 28202 | </parameter> | |
| 25691 | 28203 | </parameters> | |
| @@ -25693,7 +28205,7 @@ G_TYPE_CHECK_INSTANCE() macro.</doc> | |||
| 25693 | 28205 | <function name="type_check_instance_cast" | |
| 25694 | 28206 | c:identifier="g_type_check_instance_cast" | |
| 25695 | 28207 | introspectable="0"> | |
| 25696 | - | <source-position filename="gtype.h" line="2422"/> | |
| 28208 | + | <source-position filename="gobject/gtype.h" line="2627"/> | |
| 25697 | 28209 | <return-value> | |
| 25698 | 28210 | <type name="TypeInstance" c:type="GTypeInstance*"/> | |
| 25699 | 28211 | </return-value> | |
| @@ -25708,7 +28220,7 @@ G_TYPE_CHECK_INSTANCE() macro.</doc> | |||
| 25708 | 28220 | </function> | |
| 25709 | 28221 | <function name="type_check_instance_is_a" | |
| 25710 | 28222 | c:identifier="g_type_check_instance_is_a"> | |
| 25711 | - | <source-position filename="gtype.h" line="2425"/> | |
| 28223 | + | <source-position filename="gobject/gtype.h" line="2630"/> | |
| 25712 | 28224 | <return-value transfer-ownership="none"> | |
| 25713 | 28225 | <type name="gboolean" c:type="gboolean"/> | |
| 25714 | 28226 | </return-value> | |
| @@ -25723,7 +28235,7 @@ G_TYPE_CHECK_INSTANCE() macro.</doc> | |||
| 25723 | 28235 | </function> | |
| 25724 | 28236 | <function name="type_check_instance_is_fundamentally_a" | |
| 25725 | 28237 | c:identifier="g_type_check_instance_is_fundamentally_a"> | |
| 25726 | - | <source-position filename="gtype.h" line="2428"/> | |
| 28238 | + | <source-position filename="gobject/gtype.h" line="2633"/> | |
| 25727 | 28239 | <return-value transfer-ownership="none"> | |
| 25728 | 28240 | <type name="gboolean" c:type="gboolean"/> | |
| 25729 | 28241 | </return-value> | |
| @@ -25738,7 +28250,7 @@ G_TYPE_CHECK_INSTANCE() macro.</doc> | |||
| 25738 | 28250 | </function> | |
| 25739 | 28251 | <function name="type_check_is_value_type" | |
| 25740 | 28252 | c:identifier="g_type_check_is_value_type"> | |
| 25741 | - | <source-position filename="gtype.h" line="2437"/> | |
| 28253 | + | <source-position filename="gobject/gtype.h" line="2642"/> | |
| 25742 | 28254 | <return-value transfer-ownership="none"> | |
| 25743 | 28255 | <type name="gboolean" c:type="gboolean"/> | |
| 25744 | 28256 | </return-value> | |
| @@ -25749,7 +28261,7 @@ G_TYPE_CHECK_INSTANCE() macro.</doc> | |||
| 25749 | 28261 | </parameters> | |
| 25750 | 28262 | </function> | |
| 25751 | 28263 | <function name="type_check_value" c:identifier="g_type_check_value"> | |
| 25752 | - | <source-position filename="gtype.h" line="2439"/> | |
| 28264 | + | <source-position filename="gobject/gtype.h" line="2644"/> | |
| 25753 | 28265 | <return-value transfer-ownership="none"> | |
| 25754 | 28266 | <type name="gboolean" c:type="gboolean"/> | |
| 25755 | 28267 | </return-value> | |
| @@ -25761,7 +28273,7 @@ G_TYPE_CHECK_INSTANCE() macro.</doc> | |||
| 25761 | 28273 | </function> | |
| 25762 | 28274 | <function name="type_check_value_holds" | |
| 25763 | 28275 | c:identifier="g_type_check_value_holds"> | |
| 25764 | - | <source-position filename="gtype.h" line="2441"/> | |
| 28276 | + | <source-position filename="gobject/gtype.h" line="2646"/> | |
| 25765 | 28277 | <return-value transfer-ownership="none"> | |
| 25766 | 28278 | <type name="gboolean" c:type="gboolean"/> | |
| 25767 | 28279 | </return-value> | |
| @@ -25776,14 +28288,14 @@ G_TYPE_CHECK_INSTANCE() macro.</doc> | |||
| 25776 | 28288 | </function> | |
| 25777 | 28289 | <function name="type_children" c:identifier="g_type_children"> | |
| 25778 | 28290 | <doc xml:space="preserve" | |
| 25779 | - | filename="gobject-2.0.c" | |
| 25780 | - | line="5803">Return a newly allocated and 0-terminated array of type IDs, listing | |
| 28291 | + | filename="gobject/gtype.c" | |
| 28292 | + | line="3383">Return a newly allocated and 0-terminated array of type IDs, listing | |
| 25781 | 28293 | the child types of @type.</doc> | |
| 25782 | - | <source-position filename="gtype.h" line="756"/> | |
| 28294 | + | <source-position filename="gobject/gtype.h" line="791"/> | |
| 25783 | 28295 | <return-value transfer-ownership="full"> | |
| 25784 | 28296 | <doc xml:space="preserve" | |
| 25785 | - | filename="gobject-2.0.c" | |
| 25786 | - | line="5812">Newly allocated | |
| 28297 | + | filename="gobject/gtype.c" | |
| 28298 | + | line="3392">Newly allocated | |
| 25787 | 28299 | and 0-terminated array of child types, free with g_free()</doc> | |
| 25788 | 28300 | <array length="1" zero-terminated="0" c:type="GType*"> | |
| 25789 | 28301 | <type name="GType" c:type="GType"/> | |
| @@ -25792,8 +28304,8 @@ the child types of @type.</doc> | |||
| 25792 | 28304 | <parameters> | |
| 25793 | 28305 | <parameter name="type" transfer-ownership="none"> | |
| 25794 | 28306 | <doc xml:space="preserve" | |
| 25795 | - | filename="gobject-2.0.c" | |
| 25796 | - | line="5805">the parent type</doc> | |
| 28307 | + | filename="gobject/gtype.c" | |
| 28308 | + | line="3385">the parent type</doc> | |
| 25797 | 28309 | <type name="GType" c:type="GType"/> | |
| 25798 | 28310 | </parameter> | |
| 25799 | 28311 | <parameter name="n_children" | |
| @@ -25803,8 +28315,8 @@ the child types of @type.</doc> | |||
| 25803 | 28315 | optional="1" | |
| 25804 | 28316 | allow-none="1"> | |
| 25805 | 28317 | <doc xml:space="preserve" | |
| 25806 | - | filename="gobject-2.0.c" | |
| 25807 | - | line="5806">location to store the length of | |
| 28318 | + | filename="gobject/gtype.c" | |
| 28319 | + | line="3386">location to store the length of | |
| 25808 | 28320 | the returned array, or %NULL</doc> | |
| 25809 | 28321 | <type name="guint" c:type="guint*"/> | |
| 25810 | 28322 | </parameter> | |
| @@ -25813,7 +28325,7 @@ the child types of @type.</doc> | |||
| 25813 | 28325 | <function name="type_class_adjust_private_offset" | |
| 25814 | 28326 | c:identifier="g_type_class_adjust_private_offset" | |
| 25815 | 28327 | moved-to="TypeClass.adjust_private_offset"> | |
| 25816 | - | <source-position filename="gtype.h" line="1355"/> | |
| 28328 | + | <source-position filename="gobject/gtype.h" line="1512"/> | |
| 25817 | 28329 | <return-value transfer-ownership="none"> | |
| 25818 | 28330 | <type name="none" c:type="void"/> | |
| 25819 | 28331 | </return-value> | |
| @@ -25829,30 +28341,62 @@ the child types of @type.</doc> | |||
| 25829 | 28341 | </parameter> | |
| 25830 | 28342 | </parameters> | |
| 25831 | 28343 | </function> | |
| 28344 | + | <function name="type_class_get" | |
| 28345 | + | c:identifier="g_type_class_get" | |
| 28346 | + | moved-to="TypeClass.get" | |
| 28347 | + | version="2.84"> | |
| 28348 | + | <doc xml:space="preserve" | |
| 28349 | + | filename="gobject/gtype.c" | |
| 28350 | + | line="2707">Retrieves the type class of the given @type. | |
| 28351 | + | ||
| 28352 | + | This function will create the class on demand if it does not exist | |
| 28353 | + | already. | |
| 28354 | + | ||
| 28355 | + | If you don't want to create the class, use g_type_class_peek() instead.</doc> | |
| 28356 | + | <source-position filename="gobject/gtype.h" line="763"/> | |
| 28357 | + | <return-value transfer-ownership="none"> | |
| 28358 | + | <doc xml:space="preserve" | |
| 28359 | + | filename="gobject/gtype.c" | |
| 28360 | + | line="2718">the class structure | |
| 28361 | + | for the type</doc> | |
| 28362 | + | <type name="TypeClass" c:type="gpointer"/> | |
| 28363 | + | </return-value> | |
| 28364 | + | <parameters> | |
| 28365 | + | <parameter name="type" transfer-ownership="none"> | |
| 28366 | + | <doc xml:space="preserve" | |
| 28367 | + | filename="gobject/gtype.c" | |
| 28368 | + | line="2709">type ID of a classed type</doc> | |
| 28369 | + | <type name="GType" c:type="GType"/> | |
| 28370 | + | </parameter> | |
| 28371 | + | </parameters> | |
| 28372 | + | </function> | |
| 25832 | 28373 | <function name="type_class_peek" | |
| 25833 | 28374 | c:identifier="g_type_class_peek" | |
| 25834 | 28375 | moved-to="TypeClass.peek"> | |
| 25835 | 28376 | <doc xml:space="preserve" | |
| 25836 | - | filename="gobject-2.0.c" | |
| 25837 | - | line="5910">This function is essentially the same as g_type_class_ref(), | |
| 25838 | - | except that the classes reference count isn't incremented. | |
| 28377 | + | filename="gobject/gtype.c" | |
| 28378 | + | line="2827">Retrieves the class for a give type. | |
| 28379 | + | ||
| 28380 | + | This function is essentially the same as g_type_class_get(), | |
| 28381 | + | except that the class may have not been instantiated yet. | |
| 28382 | + | ||
| 25839 | 28383 | As a consequence, this function may return %NULL if the class | |
| 25840 | 28384 | of the type passed in does not currently exist (hasn't been | |
| 25841 | 28385 | referenced before).</doc> | |
| 25842 | - | <source-position filename="gtype.h" line="734"/> | |
| 25843 | - | <return-value transfer-ownership="none"> | |
| 28386 | + | <source-position filename="gobject/gtype.h" line="767"/> | |
| 28387 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 25844 | 28388 | <doc xml:space="preserve" | |
| 25845 | - | filename="gobject-2.0.c" | |
| 25846 | - | line="5920">the #GTypeClass | |
| 25847 | - | structure for the given type ID or %NULL if the class does not | |
| 25848 | - | currently exist</doc> | |
| 28389 | + | filename="gobject/gtype.c" | |
| 28390 | + | line="2840">the | |
| 28391 | + | #GTypeClass structure for the given type ID or %NULL if the class | |
| 28392 | + | does not currently exist</doc> | |
| 25849 | 28393 | <type name="TypeClass" c:type="gpointer"/> | |
| 25850 | 28394 | </return-value> | |
| 25851 | 28395 | <parameters> | |
| 25852 | 28396 | <parameter name="type" transfer-ownership="none"> | |
| 25853 | 28397 | <doc xml:space="preserve" | |
| 25854 | - | filename="gobject-2.0.c" | |
| 25855 | - | line="5912">type ID of a classed type</doc> | |
| 28398 | + | filename="gobject/gtype.c" | |
| 28399 | + | line="2829">type ID of a classed type</doc> | |
| 25856 | 28400 | <type name="GType" c:type="GType"/> | |
| 25857 | 28401 | </parameter> | |
| 25858 | 28402 | </parameters> | |
| @@ -25862,48 +28406,52 @@ referenced before).</doc> | |||
| 25862 | 28406 | moved-to="TypeClass.peek_static" | |
| 25863 | 28407 | version="2.4"> | |
| 25864 | 28408 | <doc xml:space="preserve" | |
| 25865 | - | filename="gobject-2.0.c" | |
| 25866 | - | line="5945">A more efficient version of g_type_class_peek() which works only for | |
| 28409 | + | filename="gobject/gtype.c" | |
| 28410 | + | line="2862">A more efficient version of g_type_class_peek() which works only for | |
| 25867 | 28411 | static types.</doc> | |
| 25868 | - | <source-position filename="gtype.h" line="736"/> | |
| 25869 | - | <return-value transfer-ownership="none"> | |
| 28412 | + | <source-position filename="gobject/gtype.h" line="769"/> | |
| 28413 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 25870 | 28414 | <doc xml:space="preserve" | |
| 25871 | - | filename="gobject-2.0.c" | |
| 25872 | - | line="5952">the #GTypeClass | |
| 25873 | - | structure for the given type ID or %NULL if the class does not | |
| 25874 | - | currently exist or is dynamically loaded</doc> | |
| 28415 | + | filename="gobject/gtype.c" | |
| 28416 | + | line="2869">the | |
| 28417 | + | #GTypeClass structure for the given type ID or %NULL if the class | |
| 28418 | + | does not currently exist or is dynamically loaded</doc> | |
| 25875 | 28419 | <type name="TypeClass" c:type="gpointer"/> | |
| 25876 | 28420 | </return-value> | |
| 25877 | 28421 | <parameters> | |
| 25878 | 28422 | <parameter name="type" transfer-ownership="none"> | |
| 25879 | 28423 | <doc xml:space="preserve" | |
| 25880 | - | filename="gobject-2.0.c" | |
| 25881 | - | line="5947">type ID of a classed type</doc> | |
| 28424 | + | filename="gobject/gtype.c" | |
| 28425 | + | line="2864">type ID of a classed type</doc> | |
| 25882 | 28426 | <type name="GType" c:type="GType"/> | |
| 25883 | 28427 | </parameter> | |
| 25884 | 28428 | </parameters> | |
| 25885 | 28429 | </function> | |
| 25886 | 28430 | <function name="type_class_ref" | |
| 25887 | 28431 | c:identifier="g_type_class_ref" | |
| 25888 | - | moved-to="TypeClass.ref"> | |
| 28432 | + | moved-to="TypeClass.ref" | |
| 28433 | + | deprecated="1" | |
| 28434 | + | deprecated-version="2.84"> | |
| 25889 | 28435 | <doc xml:space="preserve" | |
| 25890 | - | filename="gobject-2.0.c" | |
| 25891 | - | line="5959">Increments the reference count of the class structure belonging to | |
| 25892 | - | @type. This function will demand-create the class if it doesn't | |
| 25893 | - | exist already.</doc> | |
| 25894 | - | <source-position filename="gtype.h" line="732"/> | |
| 28436 | + | filename="gobject/gtype.c" | |
| 28437 | + | line="2770">Increments the reference count of the class structure belonging to | |
| 28438 | + | @type. | |
| 28439 | + | ||
| 28440 | + | This function will demand-create the class if it doesn't exist already.</doc> | |
| 28441 | + | <doc-deprecated xml:space="preserve">Use g_type_class_get() instead</doc-deprecated> | |
| 28442 | + | <source-position filename="gobject/gtype.h" line="765"/> | |
| 25895 | 28443 | <return-value transfer-ownership="none"> | |
| 25896 | 28444 | <doc xml:space="preserve" | |
| 25897 | - | filename="gobject-2.0.c" | |
| 25898 | - | line="5967">the #GTypeClass | |
| 25899 | - | structure for the given type ID</doc> | |
| 28445 | + | filename="gobject/gtype.c" | |
| 28446 | + | line="2779">the #GTypeClass | |
| 28447 | + | structure for the given type ID</doc> | |
| 25900 | 28448 | <type name="TypeClass" c:type="gpointer"/> | |
| 25901 | 28449 | </return-value> | |
| 25902 | 28450 | <parameters> | |
| 25903 | 28451 | <parameter name="type" transfer-ownership="none"> | |
| 25904 | 28452 | <doc xml:space="preserve" | |
| 25905 | - | filename="gobject-2.0.c" | |
| 25906 | - | line="5961">type ID of a classed type</doc> | |
| 28453 | + | filename="gobject/gtype.c" | |
| 28454 | + | line="2772">type ID of a classed type</doc> | |
| 25907 | 28455 | <type name="GType" c:type="GType"/> | |
| 25908 | 28456 | </parameter> | |
| 25909 | 28457 | </parameters> | |
| @@ -25912,8 +28460,8 @@ exist already.</doc> | |||
| 25912 | 28460 | c:identifier="g_type_create_instance" | |
| 25913 | 28461 | introspectable="0"> | |
| 25914 | 28462 | <doc xml:space="preserve" | |
| 25915 | - | filename="gobject-2.0.c" | |
| 25916 | - | line="5994">Creates and initializes an instance of @type if @type is valid and | |
| 28463 | + | filename="gobject/gtype.c" | |
| 28464 | + | line="1793">Creates and initializes an instance of @type if @type is valid and | |
| 25917 | 28465 | can be instantiated. The type system only performs basic allocation | |
| 25918 | 28466 | and structure setups for instances: actual instance creation should | |
| 25919 | 28467 | happen through functions supplied by the type's fundamental type | |
| @@ -25929,19 +28477,54 @@ with zeros. | |||
| 25929 | 28477 | Note: Do not use this function, unless you're implementing a | |
| 25930 | 28478 | fundamental type. Also language bindings should not use this | |
| 25931 | 28479 | function, but g_object_new() instead.</doc> | |
| 25932 | - | <source-position filename="gtype.h" line="2394"/> | |
| 28480 | + | <source-position filename="gobject/gtype.h" line="2599"/> | |
| 25933 | 28481 | <return-value> | |
| 25934 | 28482 | <doc xml:space="preserve" | |
| 25935 | - | filename="gobject-2.0.c" | |
| 25936 | - | line="6015">an allocated and initialized instance, subject to further | |
| 28483 | + | filename="gobject/gtype.c" | |
| 28484 | + | line="1814">an allocated and initialized instance, subject to further | |
| 25937 | 28485 | treatment by the fundamental type implementation</doc> | |
| 25938 | 28486 | <type name="TypeInstance" c:type="GTypeInstance*"/> | |
| 25939 | 28487 | </return-value> | |
| 25940 | 28488 | <parameters> | |
| 25941 | 28489 | <parameter name="type" transfer-ownership="none"> | |
| 25942 | 28490 | <doc xml:space="preserve" | |
| 25943 | - | filename="gobject-2.0.c" | |
| 25944 | - | line="5996">an instantiatable type to create an instance for</doc> | |
| 28491 | + | filename="gobject/gtype.c" | |
| 28492 | + | line="1795">an instantiatable type to create an instance for</doc> | |
| 28493 | + | <type name="GType" c:type="GType"/> | |
| 28494 | + | </parameter> | |
| 28495 | + | </parameters> | |
| 28496 | + | </function> | |
| 28497 | + | <function name="type_default_interface_get" | |
| 28498 | + | c:identifier="g_type_default_interface_get" | |
| 28499 | + | version="2.84"> | |
| 28500 | + | <doc xml:space="preserve" | |
| 28501 | + | filename="gobject/gtype.c" | |
| 28502 | + | line="3042">Returns the default interface vtable for the given @g_type. | |
| 28503 | + | ||
| 28504 | + | If the type is not currently in use, then the default vtable | |
| 28505 | + | for the type will be created and initialized by calling | |
| 28506 | + | the base interface init and default vtable init functions for | |
| 28507 | + | the type (the @base_init and @class_init members of #GTypeInfo). | |
| 28508 | + | ||
| 28509 | + | If you don't want to create the interface vtable, you should use | |
| 28510 | + | g_type_default_interface_peek() instead. | |
| 28511 | + | ||
| 28512 | + | Calling g_type_default_interface_get() is useful when you | |
| 28513 | + | want to make sure that signals and properties for an interface | |
| 28514 | + | have been installed.</doc> | |
| 28515 | + | <source-position filename="gobject/gtype.h" line="781"/> | |
| 28516 | + | <return-value transfer-ownership="none"> | |
| 28517 | + | <doc xml:space="preserve" | |
| 28518 | + | filename="gobject/gtype.c" | |
| 28519 | + | line="3060">the default | |
| 28520 | + | vtable for the interface.</doc> | |
| 28521 | + | <type name="TypeInterface" c:type="gpointer"/> | |
| 28522 | + | </return-value> | |
| 28523 | + | <parameters> | |
| 28524 | + | <parameter name="g_type" transfer-ownership="none"> | |
| 28525 | + | <doc xml:space="preserve" | |
| 28526 | + | filename="gobject/gtype.c" | |
| 28527 | + | line="3044">an interface type</doc> | |
| 25945 | 28528 | <type name="GType" c:type="GType"/> | |
| 25946 | 28529 | </parameter> | |
| 25947 | 28530 | </parameters> | |
| @@ -25950,33 +28533,35 @@ function, but g_object_new() instead.</doc> | |||
| 25950 | 28533 | c:identifier="g_type_default_interface_peek" | |
| 25951 | 28534 | version="2.4"> | |
| 25952 | 28535 | <doc xml:space="preserve" | |
| 25953 | - | filename="gobject-2.0.c" | |
| 25954 | - | line="6020">If the interface type @g_type is currently in use, returns its | |
| 28536 | + | filename="gobject/gtype.c" | |
| 28537 | + | line="3099">If the interface type @g_type is currently in use, returns its | |
| 25955 | 28538 | default interface vtable.</doc> | |
| 25956 | - | <source-position filename="gtype.h" line="750"/> | |
| 28539 | + | <source-position filename="gobject/gtype.h" line="785"/> | |
| 25957 | 28540 | <return-value transfer-ownership="none"> | |
| 25958 | 28541 | <doc xml:space="preserve" | |
| 25959 | - | filename="gobject-2.0.c" | |
| 25960 | - | line="6028">the default | |
| 25961 | - | vtable for the interface, or %NULL if the type is not currently | |
| 25962 | - | in use</doc> | |
| 28542 | + | filename="gobject/gtype.c" | |
| 28543 | + | line="3108">the default | |
| 28544 | + | vtable for the interface, or %NULL if the type is not currently | |
| 28545 | + | in use</doc> | |
| 25963 | 28546 | <type name="TypeInterface" c:type="gpointer"/> | |
| 25964 | 28547 | </return-value> | |
| 25965 | 28548 | <parameters> | |
| 25966 | 28549 | <parameter name="g_type" transfer-ownership="none"> | |
| 25967 | 28550 | <doc xml:space="preserve" | |
| 25968 | - | filename="gobject-2.0.c" | |
| 25969 | - | line="6022">an interface type</doc> | |
| 28551 | + | filename="gobject/gtype.c" | |
| 28552 | + | line="3101">an interface type</doc> | |
| 25970 | 28553 | <type name="GType" c:type="GType"/> | |
| 25971 | 28554 | </parameter> | |
| 25972 | 28555 | </parameters> | |
| 25973 | 28556 | </function> | |
| 25974 | 28557 | <function name="type_default_interface_ref" | |
| 25975 | 28558 | c:identifier="g_type_default_interface_ref" | |
| 25976 | - | version="2.4"> | |
| 28559 | + | version="2.4" | |
| 28560 | + | deprecated="1" | |
| 28561 | + | deprecated-version="2.84"> | |
| 25977 | 28562 | <doc xml:space="preserve" | |
| 25978 | - | filename="gobject-2.0.c" | |
| 25979 | - | line="6034">Increments the reference count for the interface type @g_type, | |
| 28563 | + | filename="gobject/gtype.c" | |
| 28564 | + | line="3013">Increments the reference count for the interface type @g_type, | |
| 25980 | 28565 | and returns the default interface vtable for the type. | |
| 25981 | 28566 | ||
| 25982 | 28567 | If the type is not currently in use, then the default vtable | |
| @@ -25986,43 +28571,50 @@ the type (the @base_init and @class_init members of #GTypeInfo). | |||
| 25986 | 28571 | Calling g_type_default_interface_ref() is useful when you | |
| 25987 | 28572 | want to make sure that signals and properties for an interface | |
| 25988 | 28573 | have been installed.</doc> | |
| 25989 | - | <source-position filename="gtype.h" line="748"/> | |
| 28574 | + | <doc-deprecated xml:space="preserve">Use g_type_default_interface_get() instead</doc-deprecated> | |
| 28575 | + | <source-position filename="gobject/gtype.h" line="783"/> | |
| 25990 | 28576 | <return-value transfer-ownership="none"> | |
| 25991 | 28577 | <doc xml:space="preserve" | |
| 25992 | - | filename="gobject-2.0.c" | |
| 25993 | - | line="6050">the default | |
| 25994 | - | vtable for the interface; call g_type_default_interface_unref() | |
| 25995 | - | when you are done using the interface.</doc> | |
| 28578 | + | filename="gobject/gtype.c" | |
| 28579 | + | line="3032">the default | |
| 28580 | + | vtable for the interface; call g_type_default_interface_unref() | |
| 28581 | + | when you are done using the interface.</doc> | |
| 25996 | 28582 | <type name="TypeInterface" c:type="gpointer"/> | |
| 25997 | 28583 | </return-value> | |
| 25998 | 28584 | <parameters> | |
| 25999 | 28585 | <parameter name="g_type" transfer-ownership="none"> | |
| 26000 | 28586 | <doc xml:space="preserve" | |
| 26001 | - | filename="gobject-2.0.c" | |
| 26002 | - | line="6036">an interface type</doc> | |
| 28587 | + | filename="gobject/gtype.c" | |
| 28588 | + | line="3015">an interface type</doc> | |
| 26003 | 28589 | <type name="GType" c:type="GType"/> | |
| 26004 | 28590 | </parameter> | |
| 26005 | 28591 | </parameters> | |
| 26006 | 28592 | </function> | |
| 26007 | 28593 | <function name="type_default_interface_unref" | |
| 26008 | 28594 | c:identifier="g_type_default_interface_unref" | |
| 26009 | - | version="2.4"> | |
| 26010 | - | <doc xml:space="preserve" | |
| 26011 | - | filename="gobject-2.0.c" | |
| 26012 | - | line="6056">Decrements the reference count for the type corresponding to the | |
| 26013 | - | interface default vtable @g_iface. If the type is dynamic, then | |
| 26014 | - | when no one is using the interface and all references have | |
| 26015 | - | been released, the finalize function for the interface's default | |
| 26016 | - | vtable (the @class_finalize member of #GTypeInfo) will be called.</doc> | |
| 26017 | - | <source-position filename="gtype.h" line="752"/> | |
| 28595 | + | version="2.4" | |
| 28596 | + | deprecated="1" | |
| 28597 | + | deprecated-version="2.84"> | |
| 28598 | + | <doc xml:space="preserve" | |
| 28599 | + | filename="gobject/gtype.c" | |
| 28600 | + | line="3127">Decrements the reference count for the type corresponding to the | |
| 28601 | + | interface default vtable @g_iface. | |
| 28602 | + | ||
| 28603 | + | If the type is dynamic, then when no one is using the interface and all | |
| 28604 | + | references have been released, the finalize function for the interface's | |
| 28605 | + | default vtable (the @class_finalize member of #GTypeInfo) will be called.</doc> | |
| 28606 | + | <doc-deprecated xml:space="preserve">Interface reference counting has been removed and | |
| 28607 | + | interface types now cannot be finalized. This function no longer does | |
| 28608 | + | anything.</doc-deprecated> | |
| 28609 | + | <source-position filename="gobject/gtype.h" line="787"/> | |
| 26018 | 28610 | <return-value transfer-ownership="none"> | |
| 26019 | 28611 | <type name="none" c:type="void"/> | |
| 26020 | 28612 | </return-value> | |
| 26021 | 28613 | <parameters> | |
| 26022 | 28614 | <parameter name="g_iface" transfer-ownership="none"> | |
| 26023 | 28615 | <doc xml:space="preserve" | |
| 26024 | - | filename="gobject-2.0.c" | |
| 26025 | - | line="6058">the default vtable | |
| 28616 | + | filename="gobject/gtype.c" | |
| 28617 | + | line="3129">the default vtable | |
| 26026 | 28618 | structure for an interface, as returned by g_type_default_interface_ref()</doc> | |
| 26027 | 28619 | <type name="TypeInterface" c:type="gpointer"/> | |
| 26028 | 28620 | </parameter> | |
| @@ -26030,29 +28622,29 @@ vtable (the @class_finalize member of #GTypeInfo) will be called.</doc> | |||
| 26030 | 28622 | </function> | |
| 26031 | 28623 | <function name="type_depth" c:identifier="g_type_depth"> | |
| 26032 | 28624 | <doc xml:space="preserve" | |
| 26033 | - | filename="gobject-2.0.c" | |
| 26034 | - | line="6071">Returns the length of the ancestry of the passed in type. This | |
| 28625 | + | filename="gobject/gtype.c" | |
| 28626 | + | line="3237">Returns the length of the ancestry of the passed in type. This | |
| 26035 | 28627 | includes the type itself, so that e.g. a fundamental type has depth 1.</doc> | |
| 26036 | - | <source-position filename="gtype.h" line="724"/> | |
| 28628 | + | <source-position filename="gobject/gtype.h" line="751"/> | |
| 26037 | 28629 | <return-value transfer-ownership="none"> | |
| 26038 | 28630 | <doc xml:space="preserve" | |
| 26039 | - | filename="gobject-2.0.c" | |
| 26040 | - | line="6078">the depth of @type</doc> | |
| 28631 | + | filename="gobject/gtype.c" | |
| 28632 | + | line="3244">the depth of @type</doc> | |
| 26041 | 28633 | <type name="guint" c:type="guint"/> | |
| 26042 | 28634 | </return-value> | |
| 26043 | 28635 | <parameters> | |
| 26044 | 28636 | <parameter name="type" transfer-ownership="none"> | |
| 26045 | 28637 | <doc xml:space="preserve" | |
| 26046 | - | filename="gobject-2.0.c" | |
| 26047 | - | line="6073">a #GType</doc> | |
| 28638 | + | filename="gobject/gtype.c" | |
| 28639 | + | line="3239">a #GType</doc> | |
| 26048 | 28640 | <type name="GType" c:type="GType"/> | |
| 26049 | 28641 | </parameter> | |
| 26050 | 28642 | </parameters> | |
| 26051 | 28643 | </function> | |
| 26052 | 28644 | <function name="type_ensure" c:identifier="g_type_ensure" version="2.34"> | |
| 26053 | 28645 | <doc xml:space="preserve" | |
| 26054 | - | filename="gobject-2.0.c" | |
| 26055 | - | line="6082">Ensures that the indicated @type has been registered with the | |
| 28646 | + | filename="gobject/gtype.c" | |
| 28647 | + | line="4822">Ensures that the indicated @type has been registered with the | |
| 26056 | 28648 | type system, and its _class_init() method has been run. | |
| 26057 | 28649 | ||
| 26058 | 28650 | In theory, simply calling the type's _get_type() method (or using | |
| @@ -26064,80 +28656,80 @@ which _get_type() methods do on the first call). As a result, if | |||
| 26064 | 28656 | you write a bare call to a _get_type() macro, it may get optimized | |
| 26065 | 28657 | out by the compiler. Using g_type_ensure() guarantees that the | |
| 26066 | 28658 | type's _get_type() method is called.</doc> | |
| 26067 | - | <source-position filename="gtype.h" line="1368"/> | |
| 28659 | + | <source-position filename="gobject/gtype.h" line="1525"/> | |
| 26068 | 28660 | <return-value transfer-ownership="none"> | |
| 26069 | 28661 | <type name="none" c:type="void"/> | |
| 26070 | 28662 | </return-value> | |
| 26071 | 28663 | <parameters> | |
| 26072 | 28664 | <parameter name="type" transfer-ownership="none"> | |
| 26073 | 28665 | <doc xml:space="preserve" | |
| 26074 | - | filename="gobject-2.0.c" | |
| 26075 | - | line="6084">a #GType</doc> | |
| 28666 | + | filename="gobject/gtype.c" | |
| 28667 | + | line="4824">a #GType</doc> | |
| 26076 | 28668 | <type name="GType" c:type="GType"/> | |
| 26077 | 28669 | </parameter> | |
| 26078 | 28670 | </parameters> | |
| 26079 | 28671 | </function> | |
| 26080 | 28672 | <function name="type_free_instance" c:identifier="g_type_free_instance"> | |
| 26081 | 28673 | <doc xml:space="preserve" | |
| 26082 | - | filename="gobject-2.0.c" | |
| 26083 | - | line="6103">Frees an instance of a type, returning it to the instance pool for | |
| 28674 | + | filename="gobject/gtype.c" | |
| 28675 | + | line="1915">Frees an instance of a type, returning it to the instance pool for | |
| 26084 | 28676 | the type, if there is one. | |
| 26085 | 28677 | ||
| 26086 | 28678 | Like g_type_create_instance(), this function is reserved for | |
| 26087 | 28679 | implementors of fundamental types.</doc> | |
| 26088 | - | <source-position filename="gtype.h" line="2396"/> | |
| 28680 | + | <source-position filename="gobject/gtype.h" line="2601"/> | |
| 26089 | 28681 | <return-value transfer-ownership="none"> | |
| 26090 | 28682 | <type name="none" c:type="void"/> | |
| 26091 | 28683 | </return-value> | |
| 26092 | 28684 | <parameters> | |
| 26093 | 28685 | <parameter name="instance" transfer-ownership="none"> | |
| 26094 | 28686 | <doc xml:space="preserve" | |
| 26095 | - | filename="gobject-2.0.c" | |
| 26096 | - | line="6105">an instance of a type</doc> | |
| 28687 | + | filename="gobject/gtype.c" | |
| 28688 | + | line="1917">an instance of a type</doc> | |
| 26097 | 28689 | <type name="TypeInstance" c:type="GTypeInstance*"/> | |
| 26098 | 28690 | </parameter> | |
| 26099 | 28691 | </parameters> | |
| 26100 | 28692 | </function> | |
| 26101 | 28693 | <function name="type_from_name" c:identifier="g_type_from_name"> | |
| 26102 | 28694 | <doc xml:space="preserve" | |
| 26103 | - | filename="gobject-2.0.c" | |
| 26104 | - | line="6115">Look up the type ID from a given type name, returning 0 if no type | |
| 28695 | + | filename="gobject/gtype.c" | |
| 28696 | + | line="3193">Look up the type ID from a given type name, returning 0 if no type | |
| 26105 | 28697 | has been registered under this name (this is the preferred method | |
| 26106 | 28698 | to find out by name whether a specific type has been registered | |
| 26107 | 28699 | yet).</doc> | |
| 26108 | - | <source-position filename="gtype.h" line="720"/> | |
| 28700 | + | <source-position filename="gobject/gtype.h" line="747"/> | |
| 26109 | 28701 | <return-value transfer-ownership="none"> | |
| 26110 | 28702 | <doc xml:space="preserve" | |
| 26111 | - | filename="gobject-2.0.c" | |
| 26112 | - | line="6124">corresponding type ID or 0</doc> | |
| 28703 | + | filename="gobject/gtype.c" | |
| 28704 | + | line="3202">corresponding type ID or 0</doc> | |
| 26113 | 28705 | <type name="GType" c:type="GType"/> | |
| 26114 | 28706 | </return-value> | |
| 26115 | 28707 | <parameters> | |
| 26116 | 28708 | <parameter name="name" transfer-ownership="none"> | |
| 26117 | 28709 | <doc xml:space="preserve" | |
| 26118 | - | filename="gobject-2.0.c" | |
| 26119 | - | line="6117">type name to look up</doc> | |
| 28710 | + | filename="gobject/gtype.c" | |
| 28711 | + | line="3195">type name to look up</doc> | |
| 26120 | 28712 | <type name="utf8" c:type="const gchar*"/> | |
| 26121 | 28713 | </parameter> | |
| 26122 | 28714 | </parameters> | |
| 26123 | 28715 | </function> | |
| 26124 | 28716 | <function name="type_fundamental" c:identifier="g_type_fundamental"> | |
| 26125 | 28717 | <doc xml:space="preserve" | |
| 26126 | - | filename="gobject-2.0.c" | |
| 26127 | - | line="6128">Internal function, used to extract the fundamental type ID portion. | |
| 28718 | + | filename="gobject/gtype.c" | |
| 28719 | + | line="3874">Internal function, used to extract the fundamental type ID portion. | |
| 26128 | 28720 | Use G_TYPE_FUNDAMENTAL() instead.</doc> | |
| 26129 | - | <source-position filename="gtype.h" line="2392"/> | |
| 28721 | + | <source-position filename="gobject/gtype.h" line="2597"/> | |
| 26130 | 28722 | <return-value transfer-ownership="none"> | |
| 26131 | 28723 | <doc xml:space="preserve" | |
| 26132 | - | filename="gobject-2.0.c" | |
| 26133 | - | line="6135">fundamental type ID</doc> | |
| 28724 | + | filename="gobject/gtype.c" | |
| 28725 | + | line="3881">fundamental type ID</doc> | |
| 26134 | 28726 | <type name="GType" c:type="GType"/> | |
| 26135 | 28727 | </return-value> | |
| 26136 | 28728 | <parameters> | |
| 26137 | 28729 | <parameter name="type_id" transfer-ownership="none"> | |
| 26138 | 28730 | <doc xml:space="preserve" | |
| 26139 | - | filename="gobject-2.0.c" | |
| 26140 | - | line="6130">valid type ID</doc> | |
| 28731 | + | filename="gobject/gtype.c" | |
| 28732 | + | line="3876">valid type ID</doc> | |
| 26141 | 28733 | <type name="GType" c:type="GType"/> | |
| 26142 | 28734 | </parameter> | |
| 26143 | 28735 | </parameters> | |
| @@ -26145,16 +28737,16 @@ Use G_TYPE_FUNDAMENTAL() instead.</doc> | |||
| 26145 | 28737 | <function name="type_fundamental_next" | |
| 26146 | 28738 | c:identifier="g_type_fundamental_next"> | |
| 26147 | 28739 | <doc xml:space="preserve" | |
| 26148 | - | filename="gobject-2.0.c" | |
| 26149 | - | line="6139">Returns the next free fundamental type id which can be used to | |
| 28740 | + | filename="gobject/gtype.c" | |
| 28741 | + | line="3851">Returns the next free fundamental type id which can be used to | |
| 26150 | 28742 | register a new fundamental type with g_type_register_fundamental(). | |
| 26151 | 28743 | The returned type ID represents the highest currently registered | |
| 26152 | 28744 | fundamental type identifier.</doc> | |
| 26153 | - | <source-position filename="gtype.h" line="2390"/> | |
| 28745 | + | <source-position filename="gobject/gtype.h" line="2595"/> | |
| 26154 | 28746 | <return-value transfer-ownership="none"> | |
| 26155 | 28747 | <doc xml:space="preserve" | |
| 26156 | - | filename="gobject-2.0.c" | |
| 26157 | - | line="6147">the next available fundamental type ID to be registered, | |
| 28748 | + | filename="gobject/gtype.c" | |
| 28749 | + | line="3859">the next available fundamental type ID to be registered, | |
| 26158 | 28750 | or 0 if the type system ran out of fundamental type IDs</doc> | |
| 26159 | 28751 | <type name="GType" c:type="GType"/> | |
| 26160 | 28752 | </return-value> | |
| @@ -26163,76 +28755,76 @@ fundamental type identifier.</doc> | |||
| 26163 | 28755 | c:identifier="g_type_get_instance_count" | |
| 26164 | 28756 | version="2.44"> | |
| 26165 | 28757 | <doc xml:space="preserve" | |
| 26166 | - | filename="gobject-2.0.c" | |
| 26167 | - | line="6152">Returns the number of instances allocated of the particular type; | |
| 28758 | + | filename="gobject/gtype.c" | |
| 28759 | + | line="3689">Returns the number of instances allocated of the particular type; | |
| 26168 | 28760 | this is only available if GLib is built with debugging support and | |
| 26169 | - | the instance_count debug flag is set (by setting the GOBJECT_DEBUG | |
| 26170 | - | variable to include instance-count).</doc> | |
| 26171 | - | <source-position filename="gtype.h" line="775"/> | |
| 28761 | + | the `instance-count` debug flag is set (by setting the `GOBJECT_DEBUG` | |
| 28762 | + | variable to include `instance-count`).</doc> | |
| 28763 | + | <source-position filename="gobject/gtype.h" line="810"/> | |
| 26172 | 28764 | <return-value transfer-ownership="none"> | |
| 26173 | 28765 | <doc xml:space="preserve" | |
| 26174 | - | filename="gobject-2.0.c" | |
| 26175 | - | line="6161">the number of instances allocated of the given type; | |
| 28766 | + | filename="gobject/gtype.c" | |
| 28767 | + | line="3698">the number of instances allocated of the given type; | |
| 26176 | 28768 | if instance counts are not available, returns 0.</doc> | |
| 26177 | 28769 | <type name="gint" c:type="int"/> | |
| 26178 | 28770 | </return-value> | |
| 26179 | 28771 | <parameters> | |
| 26180 | 28772 | <parameter name="type" transfer-ownership="none"> | |
| 26181 | 28773 | <doc xml:space="preserve" | |
| 26182 | - | filename="gobject-2.0.c" | |
| 26183 | - | line="6154">a #GType</doc> | |
| 28774 | + | filename="gobject/gtype.c" | |
| 28775 | + | line="3691">a #GType</doc> | |
| 26184 | 28776 | <type name="GType" c:type="GType"/> | |
| 26185 | 28777 | </parameter> | |
| 26186 | 28778 | </parameters> | |
| 26187 | 28779 | </function> | |
| 26188 | 28780 | <function name="type_get_plugin" c:identifier="g_type_get_plugin"> | |
| 26189 | 28781 | <doc xml:space="preserve" | |
| 26190 | - | filename="gobject-2.0.c" | |
| 26191 | - | line="6167">Returns the #GTypePlugin structure for @type.</doc> | |
| 26192 | - | <source-position filename="gtype.h" line="2385"/> | |
| 28782 | + | filename="gobject/gtype.c" | |
| 28783 | + | line="3783">Returns the #GTypePlugin structure for @type.</doc> | |
| 28784 | + | <source-position filename="gobject/gtype.h" line="2590"/> | |
| 26193 | 28785 | <return-value transfer-ownership="none"> | |
| 26194 | 28786 | <doc xml:space="preserve" | |
| 26195 | - | filename="gobject-2.0.c" | |
| 26196 | - | line="6173">the corresponding plugin | |
| 28787 | + | filename="gobject/gtype.c" | |
| 28788 | + | line="3789">the corresponding plugin | |
| 26197 | 28789 | if @type is a dynamic type, %NULL otherwise</doc> | |
| 26198 | 28790 | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 26199 | 28791 | </return-value> | |
| 26200 | 28792 | <parameters> | |
| 26201 | 28793 | <parameter name="type" transfer-ownership="none"> | |
| 26202 | 28794 | <doc xml:space="preserve" | |
| 26203 | - | filename="gobject-2.0.c" | |
| 26204 | - | line="6169">#GType to retrieve the plugin for</doc> | |
| 28795 | + | filename="gobject/gtype.c" | |
| 28796 | + | line="3785">#GType to retrieve the plugin for</doc> | |
| 26205 | 28797 | <type name="GType" c:type="GType"/> | |
| 26206 | 28798 | </parameter> | |
| 26207 | 28799 | </parameters> | |
| 26208 | 28800 | </function> | |
| 26209 | 28801 | <function name="type_get_qdata" c:identifier="g_type_get_qdata"> | |
| 26210 | 28802 | <doc xml:space="preserve" | |
| 26211 | - | filename="gobject-2.0.c" | |
| 26212 | - | line="6178">Obtains data which has previously been attached to @type | |
| 28803 | + | filename="gobject/gtype.c" | |
| 28804 | + | line="3527">Obtains data which has previously been attached to @type | |
| 26213 | 28805 | with g_type_set_qdata(). | |
| 26214 | 28806 | ||
| 26215 | 28807 | Note that this does not take subtyping into account; data | |
| 26216 | 28808 | attached to one type with g_type_set_qdata() cannot | |
| 26217 | 28809 | be retrieved from a subtype using g_type_get_qdata().</doc> | |
| 26218 | - | <source-position filename="gtype.h" line="768"/> | |
| 28810 | + | <source-position filename="gobject/gtype.h" line="803"/> | |
| 26219 | 28811 | <return-value transfer-ownership="none" nullable="1"> | |
| 26220 | 28812 | <doc xml:space="preserve" | |
| 26221 | - | filename="gobject-2.0.c" | |
| 26222 | - | line="6190">the data, or %NULL if no data was found</doc> | |
| 28813 | + | filename="gobject/gtype.c" | |
| 28814 | + | line="3539">the data, or %NULL if no data was found</doc> | |
| 26223 | 28815 | <type name="gpointer" c:type="gpointer"/> | |
| 26224 | 28816 | </return-value> | |
| 26225 | 28817 | <parameters> | |
| 26226 | 28818 | <parameter name="type" transfer-ownership="none"> | |
| 26227 | 28819 | <doc xml:space="preserve" | |
| 26228 | - | filename="gobject-2.0.c" | |
| 26229 | - | line="6180">a #GType</doc> | |
| 28820 | + | filename="gobject/gtype.c" | |
| 28821 | + | line="3529">a #GType</doc> | |
| 26230 | 28822 | <type name="GType" c:type="GType"/> | |
| 26231 | 28823 | </parameter> | |
| 26232 | 28824 | <parameter name="quark" transfer-ownership="none"> | |
| 26233 | 28825 | <doc xml:space="preserve" | |
| 26234 | - | filename="gobject-2.0.c" | |
| 26235 | - | line="6181">a #GQuark id to identify the data</doc> | |
| 28826 | + | filename="gobject/gtype.c" | |
| 28827 | + | line="3530">a #GQuark id to identify the data</doc> | |
| 26236 | 28828 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 26237 | 28829 | </parameter> | |
| 26238 | 28830 | </parameters> | |
| @@ -26241,17 +28833,17 @@ be retrieved from a subtype using g_type_get_qdata().</doc> | |||
| 26241 | 28833 | c:identifier="g_type_get_type_registration_serial" | |
| 26242 | 28834 | version="2.36"> | |
| 26243 | 28835 | <doc xml:space="preserve" | |
| 26244 | - | filename="gobject-2.0.c" | |
| 26245 | - | line="6194">Returns an opaque serial number that represents the state of the set | |
| 28836 | + | filename="gobject/gtype.c" | |
| 28837 | + | line="370">Returns an opaque serial number that represents the state of the set | |
| 26246 | 28838 | of registered types. Any time a type is registered this serial changes, | |
| 26247 | 28839 | which means you can cache information based on type lookups (such as | |
| 26248 | 28840 | g_type_from_name()) and know if the cache is still valid at a later | |
| 26249 | 28841 | time by comparing the current serial with the one at the type lookup.</doc> | |
| 26250 | - | <source-position filename="gtype.h" line="1370"/> | |
| 28842 | + | <source-position filename="gobject/gtype.h" line="1527"/> | |
| 26251 | 28843 | <return-value transfer-ownership="none"> | |
| 26252 | 28844 | <doc xml:space="preserve" | |
| 26253 | - | filename="gobject-2.0.c" | |
| 26254 | - | line="6204">An unsigned int, representing the state of type registrations</doc> | |
| 28845 | + | filename="gobject/gtype.c" | |
| 28846 | + | line="381">An unsigned int, representing the state of type registrations</doc> | |
| 26255 | 28847 | <type name="guint" c:type="guint"/> | |
| 26256 | 28848 | </return-value> | |
| 26257 | 28849 | </function> | |
| @@ -26260,12 +28852,12 @@ time by comparing the current serial with the one at the type lookup.</doc> | |||
| 26260 | 28852 | deprecated="1" | |
| 26261 | 28853 | deprecated-version="2.36"> | |
| 26262 | 28854 | <doc xml:space="preserve" | |
| 26263 | - | filename="gobject-2.0.c" | |
| 26264 | - | line="6208">This function used to initialise the type system. Since GLib 2.36, | |
| 28855 | + | filename="gobject/gtype.c" | |
| 28856 | + | line="4240">This function used to initialise the type system. Since GLib 2.36, | |
| 26265 | 28857 | the type system is initialised automatically and this function does | |
| 26266 | 28858 | nothing.</doc> | |
| 26267 | 28859 | <doc-deprecated xml:space="preserve">the type system is now initialised automatically</doc-deprecated> | |
| 26268 | - | <source-position filename="gtype.h" line="710"/> | |
| 28860 | + | <source-position filename="gobject/gtype.h" line="737"/> | |
| 26269 | 28861 | <return-value transfer-ownership="none"> | |
| 26270 | 28862 | <type name="none" c:type="void"/> | |
| 26271 | 28863 | </return-value> | |
| @@ -26275,23 +28867,23 @@ nothing.</doc> | |||
| 26275 | 28867 | deprecated="1" | |
| 26276 | 28868 | deprecated-version="2.36"> | |
| 26277 | 28869 | <doc xml:space="preserve" | |
| 26278 | - | filename="gobject-2.0.c" | |
| 26279 | - | line="6219">This function used to initialise the type system with debugging | |
| 28870 | + | filename="gobject/gtype.c" | |
| 28871 | + | line="4215">This function used to initialise the type system with debugging | |
| 26280 | 28872 | flags. Since GLib 2.36, the type system is initialised automatically | |
| 26281 | 28873 | and this function does nothing. | |
| 26282 | 28874 | ||
| 26283 | - | If you need to enable debugging features, use the GOBJECT_DEBUG | |
| 28875 | + | If you need to enable debugging features, use the `GOBJECT_DEBUG` | |
| 26284 | 28876 | environment variable.</doc> | |
| 26285 | 28877 | <doc-deprecated xml:space="preserve">the type system is now initialised automatically</doc-deprecated> | |
| 26286 | - | <source-position filename="gtype.h" line="712"/> | |
| 28878 | + | <source-position filename="gobject/gtype.h" line="739"/> | |
| 26287 | 28879 | <return-value transfer-ownership="none"> | |
| 26288 | 28880 | <type name="none" c:type="void"/> | |
| 26289 | 28881 | </return-value> | |
| 26290 | 28882 | <parameters> | |
| 26291 | 28883 | <parameter name="debug_flags" transfer-ownership="none"> | |
| 26292 | 28884 | <doc xml:space="preserve" | |
| 26293 | - | filename="gobject-2.0.c" | |
| 26294 | - | line="6221">bitwise combination of #GTypeDebugFlags values for | |
| 28885 | + | filename="gobject/gtype.c" | |
| 28886 | + | line="4217">bitwise combination of #GTypeDebugFlags values for | |
| 26295 | 28887 | debugging purposes</doc> | |
| 26296 | 28888 | <type name="TypeDebugFlags" c:type="GTypeDebugFlags"/> | |
| 26297 | 28889 | </parameter> | |
| @@ -26301,27 +28893,27 @@ environment variable.</doc> | |||
| 26301 | 28893 | c:identifier="g_type_interface_add_prerequisite" | |
| 26302 | 28894 | moved-to="TypeInterface.add_prerequisite"> | |
| 26303 | 28895 | <doc xml:space="preserve" | |
| 26304 | - | filename="gobject-2.0.c" | |
| 26305 | - | line="6235">Adds @prerequisite_type to the list of prerequisites of @interface_type. | |
| 28896 | + | filename="gobject/gtype.c" | |
| 28897 | + | line="1509">Adds @prerequisite_type to the list of prerequisites of @interface_type. | |
| 26306 | 28898 | This means that any type implementing @interface_type must also implement | |
| 26307 | 28899 | @prerequisite_type. Prerequisites can be thought of as an alternative to | |
| 26308 | 28900 | interface derivation (which GType doesn't support). An interface can have | |
| 26309 | 28901 | at most one instantiatable prerequisite type.</doc> | |
| 26310 | - | <source-position filename="gtype.h" line="1337"/> | |
| 28902 | + | <source-position filename="gobject/gtype.h" line="1494"/> | |
| 26311 | 28903 | <return-value transfer-ownership="none"> | |
| 26312 | 28904 | <type name="none" c:type="void"/> | |
| 26313 | 28905 | </return-value> | |
| 26314 | 28906 | <parameters> | |
| 26315 | 28907 | <parameter name="interface_type" transfer-ownership="none"> | |
| 26316 | 28908 | <doc xml:space="preserve" | |
| 26317 | - | filename="gobject-2.0.c" | |
| 26318 | - | line="6237">#GType value of an interface type</doc> | |
| 28909 | + | filename="gobject/gtype.c" | |
| 28910 | + | line="1511">#GType value of an interface type</doc> | |
| 26319 | 28911 | <type name="GType" c:type="GType"/> | |
| 26320 | 28912 | </parameter> | |
| 26321 | 28913 | <parameter name="prerequisite_type" transfer-ownership="none"> | |
| 26322 | 28914 | <doc xml:space="preserve" | |
| 26323 | - | filename="gobject-2.0.c" | |
| 26324 | - | line="6238">#GType value of an interface or instantiatable type</doc> | |
| 28915 | + | filename="gobject/gtype.c" | |
| 28916 | + | line="1512">#GType value of an interface or instantiatable type</doc> | |
| 26325 | 28917 | <type name="GType" c:type="GType"/> | |
| 26326 | 28918 | </parameter> | |
| 26327 | 28919 | </parameters> | |
| @@ -26330,30 +28922,30 @@ at most one instantiatable prerequisite type.</doc> | |||
| 26330 | 28922 | c:identifier="g_type_interface_get_plugin" | |
| 26331 | 28923 | moved-to="TypeInterface.get_plugin"> | |
| 26332 | 28924 | <doc xml:space="preserve" | |
| 26333 | - | filename="gobject-2.0.c" | |
| 26334 | - | line="6248">Returns the #GTypePlugin structure for the dynamic interface | |
| 28925 | + | filename="gobject/gtype.c" | |
| 28926 | + | line="3802">Returns the #GTypePlugin structure for the dynamic interface | |
| 26335 | 28927 | @interface_type which has been added to @instance_type, or %NULL | |
| 26336 | 28928 | if @interface_type has not been added to @instance_type or does | |
| 26337 | 28929 | not have a #GTypePlugin structure. See g_type_add_interface_dynamic().</doc> | |
| 26338 | - | <source-position filename="gtype.h" line="2387"/> | |
| 28930 | + | <source-position filename="gobject/gtype.h" line="2592"/> | |
| 26339 | 28931 | <return-value transfer-ownership="none"> | |
| 26340 | 28932 | <doc xml:space="preserve" | |
| 26341 | - | filename="gobject-2.0.c" | |
| 26342 | - | line="6258">the #GTypePlugin for the dynamic | |
| 28933 | + | filename="gobject/gtype.c" | |
| 28934 | + | line="3812">the #GTypePlugin for the dynamic | |
| 26343 | 28935 | interface @interface_type of @instance_type</doc> | |
| 26344 | 28936 | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 26345 | 28937 | </return-value> | |
| 26346 | 28938 | <parameters> | |
| 26347 | 28939 | <parameter name="instance_type" transfer-ownership="none"> | |
| 26348 | 28940 | <doc xml:space="preserve" | |
| 26349 | - | filename="gobject-2.0.c" | |
| 26350 | - | line="6250">#GType of an instantiatable type</doc> | |
| 28941 | + | filename="gobject/gtype.c" | |
| 28942 | + | line="3804">#GType of an instantiatable type</doc> | |
| 26351 | 28943 | <type name="GType" c:type="GType"/> | |
| 26352 | 28944 | </parameter> | |
| 26353 | 28945 | <parameter name="interface_type" transfer-ownership="none"> | |
| 26354 | 28946 | <doc xml:space="preserve" | |
| 26355 | - | filename="gobject-2.0.c" | |
| 26356 | - | line="6251">#GType of an interface type</doc> | |
| 28947 | + | filename="gobject/gtype.c" | |
| 28948 | + | line="3805">#GType of an interface type</doc> | |
| 26357 | 28949 | <type name="GType" c:type="GType"/> | |
| 26358 | 28950 | </parameter> | |
| 26359 | 28951 | </parameters> | |
| @@ -26363,25 +28955,25 @@ not have a #GTypePlugin structure. See g_type_add_interface_dynamic().</doc> | |||
| 26363 | 28955 | moved-to="TypeInterface.instantiatable_prerequisite" | |
| 26364 | 28956 | version="2.68"> | |
| 26365 | 28957 | <doc xml:space="preserve" | |
| 26366 | - | filename="gobject-2.0.c" | |
| 26367 | - | line="6263">Returns the most specific instantiatable prerequisite of an | |
| 28958 | + | filename="gobject/gtype.c" | |
| 28959 | + | line="1656">Returns the most specific instantiatable prerequisite of an | |
| 26368 | 28960 | interface type. If the interface type has no instantiatable | |
| 26369 | 28961 | prerequisite, %G_TYPE_INVALID is returned. | |
| 26370 | 28962 | ||
| 26371 | 28963 | See g_type_interface_add_prerequisite() for more information | |
| 26372 | 28964 | about prerequisites.</doc> | |
| 26373 | - | <source-position filename="gtype.h" line="1343"/> | |
| 28965 | + | <source-position filename="gobject/gtype.h" line="1500"/> | |
| 26374 | 28966 | <return-value transfer-ownership="none"> | |
| 26375 | 28967 | <doc xml:space="preserve" | |
| 26376 | - | filename="gobject-2.0.c" | |
| 26377 | - | line="6274">the instantiatable prerequisite type or %G_TYPE_INVALID if none</doc> | |
| 28968 | + | filename="gobject/gtype.c" | |
| 28969 | + | line="1667">the instantiatable prerequisite type or %G_TYPE_INVALID if none</doc> | |
| 26378 | 28970 | <type name="GType" c:type="GType"/> | |
| 26379 | 28971 | </return-value> | |
| 26380 | 28972 | <parameters> | |
| 26381 | 28973 | <parameter name="interface_type" transfer-ownership="none"> | |
| 26382 | 28974 | <doc xml:space="preserve" | |
| 26383 | - | filename="gobject-2.0.c" | |
| 26384 | - | line="6265">an interface type</doc> | |
| 28975 | + | filename="gobject/gtype.c" | |
| 28976 | + | line="1658">an interface type</doc> | |
| 26385 | 28977 | <type name="GType" c:type="GType"/> | |
| 26386 | 28978 | </parameter> | |
| 26387 | 28979 | </parameters> | |
| @@ -26390,29 +28982,29 @@ about prerequisites.</doc> | |||
| 26390 | 28982 | c:identifier="g_type_interface_peek" | |
| 26391 | 28983 | moved-to="TypeInterface.peek"> | |
| 26392 | 28984 | <doc xml:space="preserve" | |
| 26393 | - | filename="gobject-2.0.c" | |
| 26394 | - | line="6279">Returns the #GTypeInterface structure of an interface to which the | |
| 28985 | + | filename="gobject/gtype.c" | |
| 28986 | + | line="2943">Returns the #GTypeInterface structure of an interface to which the | |
| 26395 | 28987 | passed in class conforms.</doc> | |
| 26396 | - | <source-position filename="gtype.h" line="742"/> | |
| 26397 | - | <return-value transfer-ownership="none"> | |
| 28988 | + | <source-position filename="gobject/gtype.h" line="775"/> | |
| 28989 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 26398 | 28990 | <doc xml:space="preserve" | |
| 26399 | - | filename="gobject-2.0.c" | |
| 26400 | - | line="6287">the #GTypeInterface | |
| 26401 | - | structure of @iface_type if implemented by @instance_class, %NULL | |
| 26402 | - | otherwise</doc> | |
| 28991 | + | filename="gobject/gtype.c" | |
| 28992 | + | line="2951">the #GTypeInterface | |
| 28993 | + | structure of @iface_type if implemented by @instance_class, %NULL | |
| 28994 | + | otherwise</doc> | |
| 26403 | 28995 | <type name="TypeInterface" c:type="gpointer"/> | |
| 26404 | 28996 | </return-value> | |
| 26405 | 28997 | <parameters> | |
| 26406 | 28998 | <parameter name="instance_class" transfer-ownership="none"> | |
| 26407 | 28999 | <doc xml:space="preserve" | |
| 26408 | - | filename="gobject-2.0.c" | |
| 26409 | - | line="6281">a #GTypeClass structure</doc> | |
| 29000 | + | filename="gobject/gtype.c" | |
| 29001 | + | line="2945">a #GTypeClass structure</doc> | |
| 26410 | 29002 | <type name="TypeClass" c:type="gpointer"/> | |
| 26411 | 29003 | </parameter> | |
| 26412 | 29004 | <parameter name="iface_type" transfer-ownership="none"> | |
| 26413 | 29005 | <doc xml:space="preserve" | |
| 26414 | - | filename="gobject-2.0.c" | |
| 26415 | - | line="6282">an interface ID which this class conforms to</doc> | |
| 29006 | + | filename="gobject/gtype.c" | |
| 29007 | + | line="2946">an interface ID which this class conforms to</doc> | |
| 26416 | 29008 | <type name="GType" c:type="GType"/> | |
| 26417 | 29009 | </parameter> | |
| 26418 | 29010 | </parameters> | |
| @@ -26422,13 +29014,13 @@ passed in class conforms.</doc> | |||
| 26422 | 29014 | moved-to="TypeInterface.prerequisites" | |
| 26423 | 29015 | version="2.2"> | |
| 26424 | 29016 | <doc xml:space="preserve" | |
| 26425 | - | filename="gobject-2.0.c" | |
| 26426 | - | line="6309">Returns the prerequisites of an interfaces type.</doc> | |
| 26427 | - | <source-position filename="gtype.h" line="1340"/> | |
| 29017 | + | filename="gobject/gtype.c" | |
| 29018 | + | line="1595">Returns the prerequisites of an interfaces type.</doc> | |
| 29019 | + | <source-position filename="gobject/gtype.h" line="1497"/> | |
| 26428 | 29020 | <return-value transfer-ownership="full"> | |
| 26429 | 29021 | <doc xml:space="preserve" | |
| 26430 | - | filename="gobject-2.0.c" | |
| 26431 | - | line="6318">a | |
| 29022 | + | filename="gobject/gtype.c" | |
| 29023 | + | line="1605">a | |
| 26432 | 29024 | newly-allocated zero-terminated array of #GType containing | |
| 26433 | 29025 | the prerequisites of @interface_type</doc> | |
| 26434 | 29026 | <array length="1" zero-terminated="0" c:type="GType*"> | |
| @@ -26438,8 +29030,8 @@ passed in class conforms.</doc> | |||
| 26438 | 29030 | <parameters> | |
| 26439 | 29031 | <parameter name="interface_type" transfer-ownership="none"> | |
| 26440 | 29032 | <doc xml:space="preserve" | |
| 26441 | - | filename="gobject-2.0.c" | |
| 26442 | - | line="6311">an interface type</doc> | |
| 29033 | + | filename="gobject/gtype.c" | |
| 29034 | + | line="1597">an interface type</doc> | |
| 26443 | 29035 | <type name="GType" c:type="GType"/> | |
| 26444 | 29036 | </parameter> | |
| 26445 | 29037 | <parameter name="n_prerequisites" | |
| @@ -26449,8 +29041,8 @@ passed in class conforms.</doc> | |||
| 26449 | 29041 | optional="1" | |
| 26450 | 29042 | allow-none="1"> | |
| 26451 | 29043 | <doc xml:space="preserve" | |
| 26452 | - | filename="gobject-2.0.c" | |
| 26453 | - | line="6312">location to return the number | |
| 29044 | + | filename="gobject/gtype.c" | |
| 29045 | + | line="1598">location to return the number | |
| 26454 | 29046 | of prerequisites, or %NULL</doc> | |
| 26455 | 29047 | <type name="guint" c:type="guint*"/> | |
| 26456 | 29048 | </parameter> | |
| @@ -26458,14 +29050,14 @@ passed in class conforms.</doc> | |||
| 26458 | 29050 | </function> | |
| 26459 | 29051 | <function name="type_interfaces" c:identifier="g_type_interfaces"> | |
| 26460 | 29052 | <doc xml:space="preserve" | |
| 26461 | - | filename="gobject-2.0.c" | |
| 26462 | - | line="6324">Return a newly allocated and 0-terminated array of type IDs, listing | |
| 29053 | + | filename="gobject/gtype.c" | |
| 29054 | + | line="3427">Return a newly allocated and 0-terminated array of type IDs, listing | |
| 26463 | 29055 | the interface types that @type conforms to.</doc> | |
| 26464 | - | <source-position filename="gtype.h" line="759"/> | |
| 29056 | + | <source-position filename="gobject/gtype.h" line="794"/> | |
| 26465 | 29057 | <return-value transfer-ownership="full"> | |
| 26466 | 29058 | <doc xml:space="preserve" | |
| 26467 | - | filename="gobject-2.0.c" | |
| 26468 | - | line="6333">Newly allocated | |
| 29059 | + | filename="gobject/gtype.c" | |
| 29060 | + | line="3436">Newly allocated | |
| 26469 | 29061 | and 0-terminated array of interface types, free with g_free()</doc> | |
| 26470 | 29062 | <array length="1" zero-terminated="0" c:type="GType*"> | |
| 26471 | 29063 | <type name="GType" c:type="GType"/> | |
| @@ -26474,8 +29066,8 @@ the interface types that @type conforms to.</doc> | |||
| 26474 | 29066 | <parameters> | |
| 26475 | 29067 | <parameter name="type" transfer-ownership="none"> | |
| 26476 | 29068 | <doc xml:space="preserve" | |
| 26477 | - | filename="gobject-2.0.c" | |
| 26478 | - | line="6326">the type to list interface types for</doc> | |
| 29069 | + | filename="gobject/gtype.c" | |
| 29070 | + | line="3429">the type to list interface types for</doc> | |
| 26479 | 29071 | <type name="GType" c:type="GType"/> | |
| 26480 | 29072 | </parameter> | |
| 26481 | 29073 | <parameter name="n_interfaces" | |
| @@ -26485,8 +29077,8 @@ the interface types that @type conforms to.</doc> | |||
| 26485 | 29077 | optional="1" | |
| 26486 | 29078 | allow-none="1"> | |
| 26487 | 29079 | <doc xml:space="preserve" | |
| 26488 | - | filename="gobject-2.0.c" | |
| 26489 | - | line="6327">location to store the length of | |
| 29080 | + | filename="gobject/gtype.c" | |
| 29081 | + | line="3430">location to store the length of | |
| 26490 | 29082 | the returned array, or %NULL</doc> | |
| 26491 | 29083 | <type name="guint" c:type="guint*"/> | |
| 26492 | 29084 | </parameter> | |
| @@ -26494,28 +29086,28 @@ the interface types that @type conforms to.</doc> | |||
| 26494 | 29086 | </function> | |
| 26495 | 29087 | <function name="type_is_a" c:identifier="g_type_is_a"> | |
| 26496 | 29088 | <doc xml:space="preserve" | |
| 26497 | - | filename="gobject-2.0.c" | |
| 26498 | - | line="6338">If @is_a_type is a derivable type, check whether @type is a | |
| 29089 | + | filename="gobject/gtype.c" | |
| 29090 | + | line="3354">If @is_a_type is a derivable type, check whether @type is a | |
| 26499 | 29091 | descendant of @is_a_type. If @is_a_type is an interface, check | |
| 26500 | 29092 | whether @type conforms to it.</doc> | |
| 26501 | - | <source-position filename="gtype.h" line="729"/> | |
| 29093 | + | <source-position filename="gobject/gtype.h" line="756"/> | |
| 26502 | 29094 | <return-value transfer-ownership="none"> | |
| 26503 | 29095 | <doc xml:space="preserve" | |
| 26504 | - | filename="gobject-2.0.c" | |
| 26505 | - | line="6348">%TRUE if @type is a @is_a_type</doc> | |
| 29096 | + | filename="gobject/gtype.c" | |
| 29097 | + | line="3364">%TRUE if @type is a @is_a_type</doc> | |
| 26506 | 29098 | <type name="gboolean" c:type="gboolean"/> | |
| 26507 | 29099 | </return-value> | |
| 26508 | 29100 | <parameters> | |
| 26509 | 29101 | <parameter name="type" transfer-ownership="none"> | |
| 26510 | 29102 | <doc xml:space="preserve" | |
| 26511 | - | filename="gobject-2.0.c" | |
| 26512 | - | line="6340">type to check ancestry for</doc> | |
| 29103 | + | filename="gobject/gtype.c" | |
| 29104 | + | line="3356">type to check ancestry for</doc> | |
| 26513 | 29105 | <type name="GType" c:type="GType"/> | |
| 26514 | 29106 | </parameter> | |
| 26515 | 29107 | <parameter name="is_a_type" transfer-ownership="none"> | |
| 26516 | 29108 | <doc xml:space="preserve" | |
| 26517 | - | filename="gobject-2.0.c" | |
| 26518 | - | line="6341">possible ancestor of @type or interface that @type | |
| 29109 | + | filename="gobject/gtype.c" | |
| 29110 | + | line="3357">possible ancestor of @type or interface that @type | |
| 26519 | 29111 | could conform to</doc> | |
| 26520 | 29112 | <type name="GType" c:type="GType"/> | |
| 26521 | 29113 | </parameter> | |
| @@ -26523,31 +29115,32 @@ whether @type conforms to it.</doc> | |||
| 26523 | 29115 | </function> | |
| 26524 | 29116 | <function name="type_name" c:identifier="g_type_name"> | |
| 26525 | 29117 | <doc xml:space="preserve" | |
| 26526 | - | filename="gobject-2.0.c" | |
| 26527 | - | line="6483">Get the unique name that is assigned to a type ID. Note that this | |
| 26528 | - | function (like all other GType API) cannot cope with invalid type | |
| 26529 | - | IDs. %G_TYPE_INVALID may be passed to this function, as may be any | |
| 26530 | - | other validly registered type ID, but randomized type IDs should | |
| 26531 | - | not be passed in and will most likely lead to a crash.</doc> | |
| 26532 | - | <source-position filename="gtype.h" line="716"/> | |
| 26533 | - | <return-value transfer-ownership="none"> | |
| 29118 | + | filename="gobject/gtype.c" | |
| 29119 | + | line="3150">Get the unique name that is assigned to a type ID. | |
| 29120 | + | ||
| 29121 | + | Note that this function (like all other GType API) cannot cope with | |
| 29122 | + | invalid type IDs. %G_TYPE_INVALID may be passed to this function, as | |
| 29123 | + | may be any other validly registered type ID, but randomized type IDs | |
| 29124 | + | should not be passed in and will most likely lead to a crash.</doc> | |
| 29125 | + | <source-position filename="gobject/gtype.h" line="743"/> | |
| 29126 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 26534 | 29127 | <doc xml:space="preserve" | |
| 26535 | - | filename="gobject-2.0.c" | |
| 26536 | - | line="6493">static type name or %NULL</doc> | |
| 29128 | + | filename="gobject/gtype.c" | |
| 29129 | + | line="3161">static type name or %NULL</doc> | |
| 26537 | 29130 | <type name="utf8" c:type="const gchar*"/> | |
| 26538 | 29131 | </return-value> | |
| 26539 | 29132 | <parameters> | |
| 26540 | 29133 | <parameter name="type" transfer-ownership="none"> | |
| 26541 | 29134 | <doc xml:space="preserve" | |
| 26542 | - | filename="gobject-2.0.c" | |
| 26543 | - | line="6485">type to return name for</doc> | |
| 29135 | + | filename="gobject/gtype.c" | |
| 29136 | + | line="3152">type to return name for</doc> | |
| 26544 | 29137 | <type name="GType" c:type="GType"/> | |
| 26545 | 29138 | </parameter> | |
| 26546 | 29139 | </parameters> | |
| 26547 | 29140 | </function> | |
| 26548 | 29141 | <function name="type_name_from_class" | |
| 26549 | 29142 | c:identifier="g_type_name_from_class"> | |
| 26550 | - | <source-position filename="gtype.h" line="2452"/> | |
| 29143 | + | <source-position filename="gobject/gtype.h" line="2657"/> | |
| 26551 | 29144 | <return-value transfer-ownership="none"> | |
| 26552 | 29145 | <type name="utf8" c:type="const gchar*"/> | |
| 26553 | 29146 | </return-value> | |
| @@ -26559,7 +29152,7 @@ not be passed in and will most likely lead to a crash.</doc> | |||
| 26559 | 29152 | </function> | |
| 26560 | 29153 | <function name="type_name_from_instance" | |
| 26561 | 29154 | c:identifier="g_type_name_from_instance"> | |
| 26562 | - | <source-position filename="gtype.h" line="2450"/> | |
| 29155 | + | <source-position filename="gobject/gtype.h" line="2655"/> | |
| 26563 | 29156 | <return-value transfer-ownership="none"> | |
| 26564 | 29157 | <type name="utf8" c:type="const gchar*"/> | |
| 26565 | 29158 | </return-value> | |
| @@ -26571,95 +29164,99 @@ not be passed in and will most likely lead to a crash.</doc> | |||
| 26571 | 29164 | </function> | |
| 26572 | 29165 | <function name="type_next_base" c:identifier="g_type_next_base"> | |
| 26573 | 29166 | <doc xml:space="preserve" | |
| 26574 | - | filename="gobject-2.0.c" | |
| 26575 | - | line="6497">Given a @leaf_type and a @root_type which is contained in its | |
| 29167 | + | filename="gobject/gtype.c" | |
| 29168 | + | line="3256">Given a @leaf_type and a @root_type which is contained in its | |
| 26576 | 29169 | ancestry, return the type that @root_type is the immediate parent | |
| 26577 | 29170 | of. In other words, this function determines the type that is | |
| 26578 | 29171 | derived directly from @root_type which is also a base class of | |
| 26579 | 29172 | @leaf_type. Given a root type and a leaf type, this function can | |
| 26580 | 29173 | be used to determine the types and order in which the leaf type is | |
| 26581 | 29174 | descended from the root type.</doc> | |
| 26582 | - | <source-position filename="gtype.h" line="726"/> | |
| 29175 | + | <source-position filename="gobject/gtype.h" line="753"/> | |
| 26583 | 29176 | <return-value transfer-ownership="none"> | |
| 26584 | 29177 | <doc xml:space="preserve" | |
| 26585 | - | filename="gobject-2.0.c" | |
| 26586 | - | line="6510">immediate child of @root_type and ancestor of @leaf_type</doc> | |
| 29178 | + | filename="gobject/gtype.c" | |
| 29179 | + | line="3269">immediate child of @root_type and ancestor of @leaf_type</doc> | |
| 26587 | 29180 | <type name="GType" c:type="GType"/> | |
| 26588 | 29181 | </return-value> | |
| 26589 | 29182 | <parameters> | |
| 26590 | 29183 | <parameter name="leaf_type" transfer-ownership="none"> | |
| 26591 | 29184 | <doc xml:space="preserve" | |
| 26592 | - | filename="gobject-2.0.c" | |
| 26593 | - | line="6499">descendant of @root_type and the type to be returned</doc> | |
| 29185 | + | filename="gobject/gtype.c" | |
| 29186 | + | line="3258">descendant of @root_type and the type to be returned</doc> | |
| 26594 | 29187 | <type name="GType" c:type="GType"/> | |
| 26595 | 29188 | </parameter> | |
| 26596 | 29189 | <parameter name="root_type" transfer-ownership="none"> | |
| 26597 | 29190 | <doc xml:space="preserve" | |
| 26598 | - | filename="gobject-2.0.c" | |
| 26599 | - | line="6500">immediate parent of the returned type</doc> | |
| 29191 | + | filename="gobject/gtype.c" | |
| 29192 | + | line="3259">immediate parent of the returned type</doc> | |
| 26600 | 29193 | <type name="GType" c:type="GType"/> | |
| 26601 | 29194 | </parameter> | |
| 26602 | 29195 | </parameters> | |
| 26603 | 29196 | </function> | |
| 26604 | 29197 | <function name="type_parent" c:identifier="g_type_parent"> | |
| 26605 | 29198 | <doc xml:space="preserve" | |
| 26606 | - | filename="gobject-2.0.c" | |
| 26607 | - | line="6514">Return the direct parent type of the passed in type. If the passed | |
| 29199 | + | filename="gobject/gtype.c" | |
| 29200 | + | line="3218">Return the direct parent type of the passed in type. If the passed | |
| 26608 | 29201 | in type has no parent, i.e. is a fundamental type, 0 is returned.</doc> | |
| 26609 | - | <source-position filename="gtype.h" line="722"/> | |
| 29202 | + | <source-position filename="gobject/gtype.h" line="749"/> | |
| 26610 | 29203 | <return-value transfer-ownership="none"> | |
| 26611 | 29204 | <doc xml:space="preserve" | |
| 26612 | - | filename="gobject-2.0.c" | |
| 26613 | - | line="6521">the parent type</doc> | |
| 29205 | + | filename="gobject/gtype.c" | |
| 29206 | + | line="3225">the parent type</doc> | |
| 26614 | 29207 | <type name="GType" c:type="GType"/> | |
| 26615 | 29208 | </return-value> | |
| 26616 | 29209 | <parameters> | |
| 26617 | 29210 | <parameter name="type" transfer-ownership="none"> | |
| 26618 | 29211 | <doc xml:space="preserve" | |
| 26619 | - | filename="gobject-2.0.c" | |
| 26620 | - | line="6516">the derived type</doc> | |
| 29212 | + | filename="gobject/gtype.c" | |
| 29213 | + | line="3220">the derived type</doc> | |
| 26621 | 29214 | <type name="GType" c:type="GType"/> | |
| 26622 | 29215 | </parameter> | |
| 26623 | 29216 | </parameters> | |
| 26624 | 29217 | </function> | |
| 26625 | 29218 | <function name="type_qname" c:identifier="g_type_qname"> | |
| 26626 | 29219 | <doc xml:space="preserve" | |
| 26627 | - | filename="gobject-2.0.c" | |
| 26628 | - | line="6572">Get the corresponding quark of the type IDs name.</doc> | |
| 26629 | - | <source-position filename="gtype.h" line="718"/> | |
| 29220 | + | filename="gobject/gtype.c" | |
| 29221 | + | line="3175">Get the corresponding quark of the type IDs name.</doc> | |
| 29222 | + | <source-position filename="gobject/gtype.h" line="745"/> | |
| 26630 | 29223 | <return-value transfer-ownership="none"> | |
| 26631 | 29224 | <doc xml:space="preserve" | |
| 26632 | - | filename="gobject-2.0.c" | |
| 26633 | - | line="6578">the type names quark or 0</doc> | |
| 29225 | + | filename="gobject/gtype.c" | |
| 29226 | + | line="3181">the type names quark or 0</doc> | |
| 26634 | 29227 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 26635 | 29228 | </return-value> | |
| 26636 | 29229 | <parameters> | |
| 26637 | 29230 | <parameter name="type" transfer-ownership="none"> | |
| 26638 | 29231 | <doc xml:space="preserve" | |
| 26639 | - | filename="gobject-2.0.c" | |
| 26640 | - | line="6574">type to return quark of type name for</doc> | |
| 29232 | + | filename="gobject/gtype.c" | |
| 29233 | + | line="3177">type to return quark of type name for</doc> | |
| 26641 | 29234 | <type name="GType" c:type="GType"/> | |
| 26642 | 29235 | </parameter> | |
| 26643 | 29236 | </parameters> | |
| 26644 | 29237 | </function> | |
| 26645 | 29238 | <function name="type_query" c:identifier="g_type_query"> | |
| 26646 | 29239 | <doc xml:space="preserve" | |
| 26647 | - | filename="gobject-2.0.c" | |
| 26648 | - | line="6582">Queries the type system for information about a specific type. | |
| 29240 | + | filename="gobject/gtype.c" | |
| 29241 | + | line="3646">Queries the type system for information about a specific type. | |
| 29242 | + | ||
| 26649 | 29243 | This function will fill in a user-provided structure to hold | |
| 26650 | 29244 | type-specific information. If an invalid #GType is passed in, the | |
| 26651 | 29245 | @type member of the #GTypeQuery is 0. All members filled into the | |
| 26652 | 29246 | #GTypeQuery structure should be considered constant and have to be | |
| 26653 | - | left untouched.</doc> | |
| 26654 | - | <source-position filename="gtype.h" line="771"/> | |
| 29247 | + | left untouched. | |
| 29248 | + | ||
| 29249 | + | Since GLib 2.78, this function allows queries on dynamic types. Previously | |
| 29250 | + | it only supported static types.</doc> | |
| 29251 | + | <source-position filename="gobject/gtype.h" line="806"/> | |
| 26655 | 29252 | <return-value transfer-ownership="none"> | |
| 26656 | 29253 | <type name="none" c:type="void"/> | |
| 26657 | 29254 | </return-value> | |
| 26658 | 29255 | <parameters> | |
| 26659 | 29256 | <parameter name="type" transfer-ownership="none"> | |
| 26660 | 29257 | <doc xml:space="preserve" | |
| 26661 | - | filename="gobject-2.0.c" | |
| 26662 | - | line="6584">#GType of a static, classed type</doc> | |
| 29258 | + | filename="gobject/gtype.c" | |
| 29259 | + | line="3648">#GType of a static, classed type</doc> | |
| 26663 | 29260 | <type name="GType" c:type="GType"/> | |
| 26664 | 29261 | </parameter> | |
| 26665 | 29262 | <parameter name="query" | |
| @@ -26667,8 +29264,8 @@ left untouched.</doc> | |||
| 26667 | 29264 | caller-allocates="1" | |
| 26668 | 29265 | transfer-ownership="none"> | |
| 26669 | 29266 | <doc xml:space="preserve" | |
| 26670 | - | filename="gobject-2.0.c" | |
| 26671 | - | line="6585">a user provided structure that is | |
| 29267 | + | filename="gobject/gtype.c" | |
| 29268 | + | line="3649">a user provided structure that is | |
| 26672 | 29269 | filled in with constant values upon success</doc> | |
| 26673 | 29270 | <type name="TypeQuery" c:type="GTypeQuery*"/> | |
| 26674 | 29271 | </parameter> | |
| @@ -26677,42 +29274,42 @@ left untouched.</doc> | |||
| 26677 | 29274 | <function name="type_register_dynamic" | |
| 26678 | 29275 | c:identifier="g_type_register_dynamic"> | |
| 26679 | 29276 | <doc xml:space="preserve" | |
| 26680 | - | filename="gobject-2.0.c" | |
| 26681 | - | line="6597">Registers @type_name as the name of a new dynamic type derived from | |
| 29277 | + | filename="gobject/gtype.c" | |
| 29278 | + | line="2587">Registers @type_name as the name of a new dynamic type derived from | |
| 26682 | 29279 | @parent_type. The type system uses the information contained in the | |
| 26683 | 29280 | #GTypePlugin structure pointed to by @plugin to manage the type and its | |
| 26684 | 29281 | instances (if not abstract). The value of @flags determines the nature | |
| 26685 | 29282 | (e.g. abstract or not) of the type.</doc> | |
| 26686 | - | <source-position filename="gtype.h" line="1318"/> | |
| 29283 | + | <source-position filename="gobject/gtype.h" line="1475"/> | |
| 26687 | 29284 | <return-value transfer-ownership="none"> | |
| 26688 | 29285 | <doc xml:space="preserve" | |
| 26689 | - | filename="gobject-2.0.c" | |
| 26690 | - | line="6610">the new type identifier or %G_TYPE_INVALID if registration failed</doc> | |
| 29286 | + | filename="gobject/gtype.c" | |
| 29287 | + | line="2600">the new type identifier or %G_TYPE_INVALID if registration failed</doc> | |
| 26691 | 29288 | <type name="GType" c:type="GType"/> | |
| 26692 | 29289 | </return-value> | |
| 26693 | 29290 | <parameters> | |
| 26694 | 29291 | <parameter name="parent_type" transfer-ownership="none"> | |
| 26695 | 29292 | <doc xml:space="preserve" | |
| 26696 | - | filename="gobject-2.0.c" | |
| 26697 | - | line="6599">type from which this type will be derived</doc> | |
| 29293 | + | filename="gobject/gtype.c" | |
| 29294 | + | line="2589">type from which this type will be derived</doc> | |
| 26698 | 29295 | <type name="GType" c:type="GType"/> | |
| 26699 | 29296 | </parameter> | |
| 26700 | 29297 | <parameter name="type_name" transfer-ownership="none"> | |
| 26701 | 29298 | <doc xml:space="preserve" | |
| 26702 | - | filename="gobject-2.0.c" | |
| 26703 | - | line="6600">0-terminated string used as the name of the new type</doc> | |
| 29299 | + | filename="gobject/gtype.c" | |
| 29300 | + | line="2590">0-terminated string used as the name of the new type</doc> | |
| 26704 | 29301 | <type name="utf8" c:type="const gchar*"/> | |
| 26705 | 29302 | </parameter> | |
| 26706 | 29303 | <parameter name="plugin" transfer-ownership="none"> | |
| 26707 | 29304 | <doc xml:space="preserve" | |
| 26708 | - | filename="gobject-2.0.c" | |
| 26709 | - | line="6601">#GTypePlugin structure to retrieve the #GTypeInfo from</doc> | |
| 29305 | + | filename="gobject/gtype.c" | |
| 29306 | + | line="2591">#GTypePlugin structure to retrieve the #GTypeInfo from</doc> | |
| 26710 | 29307 | <type name="TypePlugin" c:type="GTypePlugin*"/> | |
| 26711 | 29308 | </parameter> | |
| 26712 | 29309 | <parameter name="flags" transfer-ownership="none"> | |
| 26713 | 29310 | <doc xml:space="preserve" | |
| 26714 | - | filename="gobject-2.0.c" | |
| 26715 | - | line="6602">bitwise combination of #GTypeFlags values</doc> | |
| 29311 | + | filename="gobject/gtype.c" | |
| 29312 | + | line="2592">bitwise combination of #GTypeFlags values</doc> | |
| 26716 | 29313 | <type name="TypeFlags" c:type="GTypeFlags"/> | |
| 26717 | 29314 | </parameter> | |
| 26718 | 29315 | </parameters> | |
| @@ -26720,51 +29317,51 @@ instances (if not abstract). The value of @flags determines the nature | |||
| 26720 | 29317 | <function name="type_register_fundamental" | |
| 26721 | 29318 | c:identifier="g_type_register_fundamental"> | |
| 26722 | 29319 | <doc xml:space="preserve" | |
| 26723 | - | filename="gobject-2.0.c" | |
| 26724 | - | line="6614">Registers @type_id as the predefined identifier and @type_name as the | |
| 29320 | + | filename="gobject/gtype.c" | |
| 29321 | + | line="2412">Registers @type_id as the predefined identifier and @type_name as the | |
| 26725 | 29322 | name of a fundamental type. If @type_id is already registered, or a | |
| 26726 | 29323 | type named @type_name is already registered, the behaviour is undefined. | |
| 26727 | 29324 | The type system uses the information contained in the #GTypeInfo structure | |
| 26728 | 29325 | pointed to by @info and the #GTypeFundamentalInfo structure pointed to by | |
| 26729 | 29326 | @finfo to manage the type and its instances. The value of @flags determines | |
| 26730 | 29327 | additional characteristics of the fundamental type.</doc> | |
| 26731 | - | <source-position filename="gtype.h" line="1323"/> | |
| 29328 | + | <source-position filename="gobject/gtype.h" line="1480"/> | |
| 26732 | 29329 | <return-value transfer-ownership="none"> | |
| 26733 | 29330 | <doc xml:space="preserve" | |
| 26734 | - | filename="gobject-2.0.c" | |
| 26735 | - | line="6630">the predefined type identifier</doc> | |
| 29331 | + | filename="gobject/gtype.c" | |
| 29332 | + | line="2428">the predefined type identifier</doc> | |
| 26736 | 29333 | <type name="GType" c:type="GType"/> | |
| 26737 | 29334 | </return-value> | |
| 26738 | 29335 | <parameters> | |
| 26739 | 29336 | <parameter name="type_id" transfer-ownership="none"> | |
| 26740 | 29337 | <doc xml:space="preserve" | |
| 26741 | - | filename="gobject-2.0.c" | |
| 26742 | - | line="6616">a predefined type identifier</doc> | |
| 29338 | + | filename="gobject/gtype.c" | |
| 29339 | + | line="2414">a predefined type identifier</doc> | |
| 26743 | 29340 | <type name="GType" c:type="GType"/> | |
| 26744 | 29341 | </parameter> | |
| 26745 | 29342 | <parameter name="type_name" transfer-ownership="none"> | |
| 26746 | 29343 | <doc xml:space="preserve" | |
| 26747 | - | filename="gobject-2.0.c" | |
| 26748 | - | line="6617">0-terminated string used as the name of the new type</doc> | |
| 29344 | + | filename="gobject/gtype.c" | |
| 29345 | + | line="2415">0-terminated string used as the name of the new type</doc> | |
| 26749 | 29346 | <type name="utf8" c:type="const gchar*"/> | |
| 26750 | 29347 | </parameter> | |
| 26751 | 29348 | <parameter name="info" transfer-ownership="none"> | |
| 26752 | 29349 | <doc xml:space="preserve" | |
| 26753 | - | filename="gobject-2.0.c" | |
| 26754 | - | line="6618">#GTypeInfo structure for this type</doc> | |
| 29350 | + | filename="gobject/gtype.c" | |
| 29351 | + | line="2416">#GTypeInfo structure for this type</doc> | |
| 26755 | 29352 | <type name="TypeInfo" c:type="const GTypeInfo*"/> | |
| 26756 | 29353 | </parameter> | |
| 26757 | 29354 | <parameter name="finfo" transfer-ownership="none"> | |
| 26758 | 29355 | <doc xml:space="preserve" | |
| 26759 | - | filename="gobject-2.0.c" | |
| 26760 | - | line="6619">#GTypeFundamentalInfo structure for this type</doc> | |
| 29356 | + | filename="gobject/gtype.c" | |
| 29357 | + | line="2417">#GTypeFundamentalInfo structure for this type</doc> | |
| 26761 | 29358 | <type name="TypeFundamentalInfo" | |
| 26762 | 29359 | c:type="const GTypeFundamentalInfo*"/> | |
| 26763 | 29360 | </parameter> | |
| 26764 | 29361 | <parameter name="flags" transfer-ownership="none"> | |
| 26765 | 29362 | <doc xml:space="preserve" | |
| 26766 | - | filename="gobject-2.0.c" | |
| 26767 | - | line="6620">bitwise combination of #GTypeFlags values</doc> | |
| 29363 | + | filename="gobject/gtype.c" | |
| 29364 | + | line="2418">bitwise combination of #GTypeFlags values</doc> | |
| 26768 | 29365 | <type name="TypeFlags" c:type="GTypeFlags"/> | |
| 26769 | 29366 | </parameter> | |
| 26770 | 29367 | </parameters> | |
| @@ -26772,42 +29369,42 @@ additional characteristics of the fundamental type.</doc> | |||
| 26772 | 29369 | <function name="type_register_static" | |
| 26773 | 29370 | c:identifier="g_type_register_static"> | |
| 26774 | 29371 | <doc xml:space="preserve" | |
| 26775 | - | filename="gobject-2.0.c" | |
| 26776 | - | line="6634">Registers @type_name as the name of a new static type derived from | |
| 29372 | + | filename="gobject/gtype.c" | |
| 29373 | + | line="2532">Registers @type_name as the name of a new static type derived from | |
| 26777 | 29374 | @parent_type. The type system uses the information contained in the | |
| 26778 | 29375 | #GTypeInfo structure pointed to by @info to manage the type and its | |
| 26779 | 29376 | instances (if not abstract). The value of @flags determines the nature | |
| 26780 | 29377 | (e.g. abstract or not) of the type.</doc> | |
| 26781 | - | <source-position filename="gtype.h" line="1304"/> | |
| 29378 | + | <source-position filename="gobject/gtype.h" line="1461"/> | |
| 26782 | 29379 | <return-value transfer-ownership="none"> | |
| 26783 | 29380 | <doc xml:space="preserve" | |
| 26784 | - | filename="gobject-2.0.c" | |
| 26785 | - | line="6647">the new type identifier</doc> | |
| 29381 | + | filename="gobject/gtype.c" | |
| 29382 | + | line="2545">the new type identifier</doc> | |
| 26786 | 29383 | <type name="GType" c:type="GType"/> | |
| 26787 | 29384 | </return-value> | |
| 26788 | 29385 | <parameters> | |
| 26789 | 29386 | <parameter name="parent_type" transfer-ownership="none"> | |
| 26790 | 29387 | <doc xml:space="preserve" | |
| 26791 | - | filename="gobject-2.0.c" | |
| 26792 | - | line="6636">type from which this type will be derived</doc> | |
| 29388 | + | filename="gobject/gtype.c" | |
| 29389 | + | line="2534">type from which this type will be derived</doc> | |
| 26793 | 29390 | <type name="GType" c:type="GType"/> | |
| 26794 | 29391 | </parameter> | |
| 26795 | 29392 | <parameter name="type_name" transfer-ownership="none"> | |
| 26796 | 29393 | <doc xml:space="preserve" | |
| 26797 | - | filename="gobject-2.0.c" | |
| 26798 | - | line="6637">0-terminated string used as the name of the new type</doc> | |
| 29394 | + | filename="gobject/gtype.c" | |
| 29395 | + | line="2535">0-terminated string used as the name of the new type</doc> | |
| 26799 | 29396 | <type name="utf8" c:type="const gchar*"/> | |
| 26800 | 29397 | </parameter> | |
| 26801 | 29398 | <parameter name="info" transfer-ownership="none"> | |
| 26802 | 29399 | <doc xml:space="preserve" | |
| 26803 | - | filename="gobject-2.0.c" | |
| 26804 | - | line="6638">#GTypeInfo structure for this type</doc> | |
| 29400 | + | filename="gobject/gtype.c" | |
| 29401 | + | line="2536">#GTypeInfo structure for this type</doc> | |
| 26805 | 29402 | <type name="TypeInfo" c:type="const GTypeInfo*"/> | |
| 26806 | 29403 | </parameter> | |
| 26807 | 29404 | <parameter name="flags" transfer-ownership="none"> | |
| 26808 | 29405 | <doc xml:space="preserve" | |
| 26809 | - | filename="gobject-2.0.c" | |
| 26810 | - | line="6639">bitwise combination of #GTypeFlags values</doc> | |
| 29406 | + | filename="gobject/gtype.c" | |
| 29407 | + | line="2537">bitwise combination of #GTypeFlags values</doc> | |
| 26811 | 29408 | <type name="TypeFlags" c:type="GTypeFlags"/> | |
| 26812 | 29409 | </parameter> | |
| 26813 | 29410 | </parameters> | |
| @@ -26817,59 +29414,59 @@ instances (if not abstract). The value of @flags determines the nature | |||
| 26817 | 29414 | version="2.12" | |
| 26818 | 29415 | introspectable="0"> | |
| 26819 | 29416 | <doc xml:space="preserve" | |
| 26820 | - | filename="gobject-2.0.c" | |
| 26821 | - | line="6651">Registers @type_name as the name of a new static type derived from | |
| 29417 | + | filename="gobject/gtype.c" | |
| 29418 | + | line="2482">Registers @type_name as the name of a new static type derived from | |
| 26822 | 29419 | @parent_type. The value of @flags determines the nature (e.g. | |
| 26823 | 29420 | abstract or not) of the type. It works by filling a #GTypeInfo | |
| 26824 | 29421 | struct and calling g_type_register_static().</doc> | |
| 26825 | - | <source-position filename="gtype.h" line="1309"/> | |
| 29422 | + | <source-position filename="gobject/gtype.h" line="1466"/> | |
| 26826 | 29423 | <return-value transfer-ownership="none"> | |
| 26827 | 29424 | <doc xml:space="preserve" | |
| 26828 | - | filename="gobject-2.0.c" | |
| 26829 | - | line="6667">the new type identifier</doc> | |
| 29425 | + | filename="gobject/gtype.c" | |
| 29426 | + | line="2499">the new type identifier</doc> | |
| 26830 | 29427 | <type name="GType" c:type="GType"/> | |
| 26831 | 29428 | </return-value> | |
| 26832 | 29429 | <parameters> | |
| 26833 | 29430 | <parameter name="parent_type" transfer-ownership="none"> | |
| 26834 | 29431 | <doc xml:space="preserve" | |
| 26835 | - | filename="gobject-2.0.c" | |
| 26836 | - | line="6653">type from which this type will be derived</doc> | |
| 29432 | + | filename="gobject/gtype.c" | |
| 29433 | + | line="2484">type from which this type will be derived</doc> | |
| 26837 | 29434 | <type name="GType" c:type="GType"/> | |
| 26838 | 29435 | </parameter> | |
| 26839 | 29436 | <parameter name="type_name" transfer-ownership="none"> | |
| 26840 | 29437 | <doc xml:space="preserve" | |
| 26841 | - | filename="gobject-2.0.c" | |
| 26842 | - | line="6654">0-terminated string used as the name of the new type</doc> | |
| 29438 | + | filename="gobject/gtype.c" | |
| 29439 | + | line="2485">0-terminated string used as the name of the new type</doc> | |
| 26843 | 29440 | <type name="utf8" c:type="const gchar*"/> | |
| 26844 | 29441 | </parameter> | |
| 26845 | 29442 | <parameter name="class_size" transfer-ownership="none"> | |
| 26846 | 29443 | <doc xml:space="preserve" | |
| 26847 | - | filename="gobject-2.0.c" | |
| 26848 | - | line="6655">size of the class structure (see #GTypeInfo)</doc> | |
| 29444 | + | filename="gobject/gtype.c" | |
| 29445 | + | line="2486">size of the class structure (see #GTypeInfo)</doc> | |
| 26849 | 29446 | <type name="guint" c:type="guint"/> | |
| 26850 | 29447 | </parameter> | |
| 26851 | 29448 | <parameter name="class_init" transfer-ownership="none"> | |
| 26852 | 29449 | <doc xml:space="preserve" | |
| 26853 | - | filename="gobject-2.0.c" | |
| 26854 | - | line="6656">location of the class initialization function (see #GTypeInfo)</doc> | |
| 29450 | + | filename="gobject/gtype.c" | |
| 29451 | + | line="2487">location of the class initialization function (see #GTypeInfo)</doc> | |
| 26855 | 29452 | <type name="ClassInitFunc" c:type="GClassInitFunc"/> | |
| 26856 | 29453 | </parameter> | |
| 26857 | 29454 | <parameter name="instance_size" transfer-ownership="none"> | |
| 26858 | 29455 | <doc xml:space="preserve" | |
| 26859 | - | filename="gobject-2.0.c" | |
| 26860 | - | line="6657">size of the instance structure (see #GTypeInfo)</doc> | |
| 29456 | + | filename="gobject/gtype.c" | |
| 29457 | + | line="2488">size of the instance structure (see #GTypeInfo)</doc> | |
| 26861 | 29458 | <type name="guint" c:type="guint"/> | |
| 26862 | 29459 | </parameter> | |
| 26863 | 29460 | <parameter name="instance_init" transfer-ownership="none"> | |
| 26864 | 29461 | <doc xml:space="preserve" | |
| 26865 | - | filename="gobject-2.0.c" | |
| 26866 | - | line="6658">location of the instance initialization function (see #GTypeInfo)</doc> | |
| 29462 | + | filename="gobject/gtype.c" | |
| 29463 | + | line="2489">location of the instance initialization function (see #GTypeInfo)</doc> | |
| 26867 | 29464 | <type name="InstanceInitFunc" c:type="GInstanceInitFunc"/> | |
| 26868 | 29465 | </parameter> | |
| 26869 | 29466 | <parameter name="flags" transfer-ownership="none"> | |
| 26870 | 29467 | <doc xml:space="preserve" | |
| 26871 | - | filename="gobject-2.0.c" | |
| 26872 | - | line="6659">bitwise combination of #GTypeFlags values</doc> | |
| 29468 | + | filename="gobject/gtype.c" | |
| 29469 | + | line="2490">bitwise combination of #GTypeFlags values</doc> | |
| 26873 | 29470 | <type name="TypeFlags" c:type="GTypeFlags"/> | |
| 26874 | 29471 | </parameter> | |
| 26875 | 29472 | </parameters> | |
| @@ -26878,11 +29475,11 @@ struct and calling g_type_register_static().</doc> | |||
| 26878 | 29475 | c:identifier="g_type_remove_class_cache_func" | |
| 26879 | 29476 | introspectable="0"> | |
| 26880 | 29477 | <doc xml:space="preserve" | |
| 26881 | - | filename="gobject-2.0.c" | |
| 26882 | - | line="6671">Removes a previously installed #GTypeClassCacheFunc. The cache | |
| 29478 | + | filename="gobject/gtype.c" | |
| 29479 | + | line="2299">Removes a previously installed #GTypeClassCacheFunc. The cache | |
| 26883 | 29480 | maintained by @cache_func has to be empty when calling | |
| 26884 | 29481 | g_type_remove_class_cache_func() to avoid leaks.</doc> | |
| 26885 | - | <source-position filename="gtype.h" line="2402"/> | |
| 29482 | + | <source-position filename="gobject/gtype.h" line="2607"/> | |
| 26886 | 29483 | <return-value transfer-ownership="none"> | |
| 26887 | 29484 | <type name="none" c:type="void"/> | |
| 26888 | 29485 | </return-value> | |
| @@ -26892,14 +29489,14 @@ g_type_remove_class_cache_func() to avoid leaks.</doc> | |||
| 26892 | 29489 | nullable="1" | |
| 26893 | 29490 | allow-none="1"> | |
| 26894 | 29491 | <doc xml:space="preserve" | |
| 26895 | - | filename="gobject-2.0.c" | |
| 26896 | - | line="6673">data that was given when adding @cache_func</doc> | |
| 29492 | + | filename="gobject/gtype.c" | |
| 29493 | + | line="2301">data that was given when adding @cache_func</doc> | |
| 26897 | 29494 | <type name="gpointer" c:type="gpointer"/> | |
| 26898 | 29495 | </parameter> | |
| 26899 | 29496 | <parameter name="cache_func" transfer-ownership="none"> | |
| 26900 | 29497 | <doc xml:space="preserve" | |
| 26901 | - | filename="gobject-2.0.c" | |
| 26902 | - | line="6674">a #GTypeClassCacheFunc</doc> | |
| 29498 | + | filename="gobject/gtype.c" | |
| 29499 | + | line="2302">a #GTypeClassCacheFunc</doc> | |
| 26903 | 29500 | <type name="TypeClassCacheFunc" c:type="GTypeClassCacheFunc"/> | |
| 26904 | 29501 | </parameter> | |
| 26905 | 29502 | </parameters> | |
| @@ -26909,10 +29506,10 @@ g_type_remove_class_cache_func() to avoid leaks.</doc> | |||
| 26909 | 29506 | version="2.4" | |
| 26910 | 29507 | introspectable="0"> | |
| 26911 | 29508 | <doc xml:space="preserve" | |
| 26912 | - | filename="gobject-2.0.c" | |
| 26913 | - | line="6682">Removes an interface check function added with | |
| 29509 | + | filename="gobject/gtype.c" | |
| 29510 | + | line="2372">Removes an interface check function added with | |
| 26914 | 29511 | g_type_add_interface_check().</doc> | |
| 26915 | - | <source-position filename="gtype.h" line="2411"/> | |
| 29512 | + | <source-position filename="gobject/gtype.h" line="2616"/> | |
| 26916 | 29513 | <return-value transfer-ownership="none"> | |
| 26917 | 29514 | <type name="none" c:type="void"/> | |
| 26918 | 29515 | </return-value> | |
| @@ -26922,14 +29519,14 @@ g_type_add_interface_check().</doc> | |||
| 26922 | 29519 | nullable="1" | |
| 26923 | 29520 | allow-none="1"> | |
| 26924 | 29521 | <doc xml:space="preserve" | |
| 26925 | - | filename="gobject-2.0.c" | |
| 26926 | - | line="6684">callback data passed to g_type_add_interface_check()</doc> | |
| 29522 | + | filename="gobject/gtype.c" | |
| 29523 | + | line="2374">callback data passed to g_type_add_interface_check()</doc> | |
| 26927 | 29524 | <type name="gpointer" c:type="gpointer"/> | |
| 26928 | 29525 | </parameter> | |
| 26929 | 29526 | <parameter name="check_func" transfer-ownership="none"> | |
| 26930 | 29527 | <doc xml:space="preserve" | |
| 26931 | - | filename="gobject-2.0.c" | |
| 26932 | - | line="6685">callback function passed to g_type_add_interface_check()</doc> | |
| 29528 | + | filename="gobject/gtype.c" | |
| 29529 | + | line="2375">callback function passed to g_type_add_interface_check()</doc> | |
| 26933 | 29530 | <type name="TypeInterfaceCheckFunc" | |
| 26934 | 29531 | c:type="GTypeInterfaceCheckFunc"/> | |
| 26935 | 29532 | </parameter> | |
| @@ -26937,23 +29534,23 @@ g_type_add_interface_check().</doc> | |||
| 26937 | 29534 | </function> | |
| 26938 | 29535 | <function name="type_set_qdata" c:identifier="g_type_set_qdata"> | |
| 26939 | 29536 | <doc xml:space="preserve" | |
| 26940 | - | filename="gobject-2.0.c" | |
| 26941 | - | line="6694">Attaches arbitrary data to a type.</doc> | |
| 26942 | - | <source-position filename="gtype.h" line="764"/> | |
| 29537 | + | filename="gobject/gtype.c" | |
| 29538 | + | line="3598">Attaches arbitrary data to a type.</doc> | |
| 29539 | + | <source-position filename="gobject/gtype.h" line="799"/> | |
| 26943 | 29540 | <return-value transfer-ownership="none"> | |
| 26944 | 29541 | <type name="none" c:type="void"/> | |
| 26945 | 29542 | </return-value> | |
| 26946 | 29543 | <parameters> | |
| 26947 | 29544 | <parameter name="type" transfer-ownership="none"> | |
| 26948 | 29545 | <doc xml:space="preserve" | |
| 26949 | - | filename="gobject-2.0.c" | |
| 26950 | - | line="6696">a #GType</doc> | |
| 29546 | + | filename="gobject/gtype.c" | |
| 29547 | + | line="3600">a #GType</doc> | |
| 26951 | 29548 | <type name="GType" c:type="GType"/> | |
| 26952 | 29549 | </parameter> | |
| 26953 | 29550 | <parameter name="quark" transfer-ownership="none"> | |
| 26954 | 29551 | <doc xml:space="preserve" | |
| 26955 | - | filename="gobject-2.0.c" | |
| 26956 | - | line="6697">a #GQuark id to identify the data</doc> | |
| 29552 | + | filename="gobject/gtype.c" | |
| 29553 | + | line="3601">a #GQuark id to identify the data</doc> | |
| 26957 | 29554 | <type name="GLib.Quark" c:type="GQuark"/> | |
| 26958 | 29555 | </parameter> | |
| 26959 | 29556 | <parameter name="data" | |
| @@ -26961,14 +29558,14 @@ g_type_add_interface_check().</doc> | |||
| 26961 | 29558 | nullable="1" | |
| 26962 | 29559 | allow-none="1"> | |
| 26963 | 29560 | <doc xml:space="preserve" | |
| 26964 | - | filename="gobject-2.0.c" | |
| 26965 | - | line="6698">the data</doc> | |
| 29561 | + | filename="gobject/gtype.c" | |
| 29562 | + | line="3602">the data</doc> | |
| 26966 | 29563 | <type name="gpointer" c:type="gpointer"/> | |
| 26967 | 29564 | </parameter> | |
| 26968 | 29565 | </parameters> | |
| 26969 | 29566 | </function> | |
| 26970 | 29567 | <function name="type_test_flags" c:identifier="g_type_test_flags"> | |
| 26971 | - | <source-position filename="gtype.h" line="2444"/> | |
| 29568 | + | <source-position filename="gobject/gtype.h" line="2649"/> | |
| 26972 | 29569 | <return-value transfer-ownership="none"> | |
| 26973 | 29570 | <type name="gboolean" c:type="gboolean"/> | |
| 26974 | 29571 | </return-value> | |
| @@ -26986,84 +29583,60 @@ g_type_add_interface_check().</doc> | |||
| 26986 | 29583 | moved-to="TypeValueTable.peek" | |
| 26987 | 29584 | introspectable="0"> | |
| 26988 | 29585 | <doc xml:space="preserve" | |
| 26989 | - | filename="gobject-2.0.c" | |
| 26990 | - | line="6704">Returns the location of the #GTypeValueTable associated with @type. | |
| 29586 | + | filename="gobject/gtype.c" | |
| 29587 | + | line="4101">Returns the location of the #GTypeValueTable associated with @type. | |
| 26991 | 29588 | ||
| 26992 | 29589 | Note that this function should only be used from source code | |
| 26993 | 29590 | that implements or has internal knowledge of the implementation of | |
| 26994 | 29591 | @type.</doc> | |
| 26995 | - | <source-position filename="gtype.h" line="2415"/> | |
| 26996 | - | <return-value> | |
| 29592 | + | <source-position filename="gobject/gtype.h" line="2620"/> | |
| 29593 | + | <return-value transfer-ownership="none" nullable="1"> | |
| 26997 | 29594 | <doc xml:space="preserve" | |
| 26998 | - | filename="gobject-2.0.c" | |
| 26999 | - | line="6714">location of the #GTypeValueTable associated with @type or | |
| 27000 | - | %NULL if there is no #GTypeValueTable associated with @type</doc> | |
| 29595 | + | filename="gobject/gtype.c" | |
| 29596 | + | line="4111">location of the #GTypeValueTable | |
| 29597 | + | associated with @type or %NULL if there is no #GTypeValueTable | |
| 29598 | + | associated with @type</doc> | |
| 27001 | 29599 | <type name="TypeValueTable" c:type="GTypeValueTable*"/> | |
| 27002 | 29600 | </return-value> | |
| 27003 | 29601 | <parameters> | |
| 27004 | 29602 | <parameter name="type" transfer-ownership="none"> | |
| 27005 | 29603 | <doc xml:space="preserve" | |
| 27006 | - | filename="gobject-2.0.c" | |
| 27007 | - | line="6706">a #GType</doc> | |
| 29604 | + | filename="gobject/gtype.c" | |
| 29605 | + | line="4103">a #GType</doc> | |
| 27008 | 29606 | <type name="GType" c:type="GType"/> | |
| 27009 | 29607 | </parameter> | |
| 27010 | 29608 | </parameters> | |
| 27011 | 29609 | </function> | |
| 27012 | - | <docsection name="value_arrays"> | |
| 27013 | - | <doc xml:space="preserve" | |
| 27014 | - | filename="gobject-2.0.c" | |
| 27015 | - | line="934">The prime purpose of a #GValueArray is for it to be used as an | |
| 27016 | - | object property that holds an array of values. A #GValueArray wraps | |
| 27017 | - | an array of #GValue elements in order for it to be used as a boxed | |
| 27018 | - | type through %G_TYPE_VALUE_ARRAY. | |
| 27019 | - | ||
| 27020 | - | #GValueArray is deprecated in favour of #GArray since GLib 2.32. It | |
| 27021 | - | is possible to create a #GArray that behaves like a #GValueArray by | |
| 27022 | - | using the size of #GValue as the element size, and by setting | |
| 27023 | - | g_value_unset() as the clear function using g_array_set_clear_func(), | |
| 27024 | - | for instance, the following code: | |
| 27025 | - | ||
| 27026 | - | |[<!-- language="C" --> | |
| 27027 | - | GValueArray *array = g_value_array_new (10); | |
| 27028 | - | ]| | |
| 27029 | - | ||
| 27030 | - | can be replaced by: | |
| 27031 | - | ||
| 27032 | - | |[<!-- language="C" --> | |
| 27033 | - | GArray *array = g_array_sized_new (FALSE, TRUE, sizeof (GValue), 10); | |
| 27034 | - | g_array_set_clear_func (array, (GDestroyNotify) g_value_unset); | |
| 27035 | - | ]|</doc> | |
| 27036 | - | </docsection> | |
| 27037 | 29610 | <function name="value_register_transform_func" | |
| 27038 | 29611 | c:identifier="g_value_register_transform_func" | |
| 27039 | 29612 | moved-to="Value.register_transform_func" | |
| 27040 | 29613 | introspectable="0"> | |
| 27041 | 29614 | <doc xml:space="preserve" | |
| 27042 | - | filename="gobject-2.0.c" | |
| 27043 | - | line="7190">Registers a value transformation function for use in g_value_transform(). | |
| 29615 | + | filename="gobject/gvalue.c" | |
| 29616 | + | line="426">Registers a value transformation function for use in g_value_transform(). | |
| 27044 | 29617 | A previously registered transformation function for @src_type and @dest_type | |
| 27045 | 29618 | will be replaced.</doc> | |
| 27046 | - | <source-position filename="gvalue.h" line="168"/> | |
| 29619 | + | <source-position filename="gobject/gvalue.h" line="170"/> | |
| 27047 | 29620 | <return-value transfer-ownership="none"> | |
| 27048 | 29621 | <type name="none" c:type="void"/> | |
| 27049 | 29622 | </return-value> | |
| 27050 | 29623 | <parameters> | |
| 27051 | 29624 | <parameter name="src_type" transfer-ownership="none"> | |
| 27052 | 29625 | <doc xml:space="preserve" | |
| 27053 | - | filename="gobject-2.0.c" | |
| 27054 | - | line="7192">Source type.</doc> | |
| 29626 | + | filename="gobject/gvalue.c" | |
| 29627 | + | line="428">Source type.</doc> | |
| 27055 | 29628 | <type name="GType" c:type="GType"/> | |
| 27056 | 29629 | </parameter> | |
| 27057 | 29630 | <parameter name="dest_type" transfer-ownership="none"> | |
| 27058 | 29631 | <doc xml:space="preserve" | |
| 27059 | - | filename="gobject-2.0.c" | |
| 27060 | - | line="7193">Target type.</doc> | |
| 29632 | + | filename="gobject/gvalue.c" | |
| 29633 | + | line="429">Target type.</doc> | |
| 27061 | 29634 | <type name="GType" c:type="GType"/> | |
| 27062 | 29635 | </parameter> | |
| 27063 | 29636 | <parameter name="transform_func" transfer-ownership="none"> | |
| 27064 | 29637 | <doc xml:space="preserve" | |
| 27065 | - | filename="gobject-2.0.c" | |
| 27066 | - | line="7194">a function which transforms values of type @src_type | |
| 29638 | + | filename="gobject/gvalue.c" | |
| 29639 | + | line="430">a function which transforms values of type @src_type | |
| 27067 | 29640 | into value of type @dest_type</doc> | |
| 27068 | 29641 | <type name="ValueTransform" c:type="GValueTransform"/> | |
| 27069 | 29642 | </parameter> | |
| @@ -27073,27 +29646,27 @@ will be replaced.</doc> | |||
| 27073 | 29646 | c:identifier="g_value_type_compatible" | |
| 27074 | 29647 | moved-to="Value.type_compatible"> | |
| 27075 | 29648 | <doc xml:space="preserve" | |
| 27076 | - | filename="gobject-2.0.c" | |
| 27077 | - | line="7609">Returns whether a #GValue of type @src_type can be copied into | |
| 29649 | + | filename="gobject/gvalue.c" | |
| 29650 | + | line="488">Returns whether a #GValue of type @src_type can be copied into | |
| 27078 | 29651 | a #GValue of type @dest_type.</doc> | |
| 27079 | - | <source-position filename="gvalue.h" line="159"/> | |
| 29652 | + | <source-position filename="gobject/gvalue.h" line="161"/> | |
| 27080 | 29653 | <return-value transfer-ownership="none"> | |
| 27081 | 29654 | <doc xml:space="preserve" | |
| 27082 | - | filename="gobject-2.0.c" | |
| 27083 | - | line="7617">%TRUE if g_value_copy() is possible with @src_type and @dest_type.</doc> | |
| 29655 | + | filename="gobject/gvalue.c" | |
| 29656 | + | line="496">%TRUE if g_value_copy() is possible with @src_type and @dest_type.</doc> | |
| 27084 | 29657 | <type name="gboolean" c:type="gboolean"/> | |
| 27085 | 29658 | </return-value> | |
| 27086 | 29659 | <parameters> | |
| 27087 | 29660 | <parameter name="src_type" transfer-ownership="none"> | |
| 27088 | 29661 | <doc xml:space="preserve" | |
| 27089 | - | filename="gobject-2.0.c" | |
| 27090 | - | line="7611">source type to be copied.</doc> | |
| 29662 | + | filename="gobject/gvalue.c" | |
| 29663 | + | line="490">source type to be copied.</doc> | |
| 27091 | 29664 | <type name="GType" c:type="GType"/> | |
| 27092 | 29665 | </parameter> | |
| 27093 | 29666 | <parameter name="dest_type" transfer-ownership="none"> | |
| 27094 | 29667 | <doc xml:space="preserve" | |
| 27095 | - | filename="gobject-2.0.c" | |
| 27096 | - | line="7612">destination type for copying.</doc> | |
| 29668 | + | filename="gobject/gvalue.c" | |
| 29669 | + | line="491">destination type for copying.</doc> | |
| 27097 | 29670 | <type name="GType" c:type="GType"/> | |
| 27098 | 29671 | </parameter> | |
| 27099 | 29672 | </parameters> | |
| @@ -27102,32 +29675,38 @@ a #GValue of type @dest_type.</doc> | |||
| 27102 | 29675 | c:identifier="g_value_type_transformable" | |
| 27103 | 29676 | moved-to="Value.type_transformable"> | |
| 27104 | 29677 | <doc xml:space="preserve" | |
| 27105 | - | filename="gobject-2.0.c" | |
| 27106 | - | line="7621">Check whether g_value_transform() is able to transform values | |
| 29678 | + | filename="gobject/gvalue.c" | |
| 29679 | + | line="465">Check whether g_value_transform() is able to transform values | |
| 27107 | 29680 | of type @src_type into values of type @dest_type. Note that for | |
| 27108 | 29681 | the types to be transformable, they must be compatible or a | |
| 27109 | 29682 | transformation function must be registered.</doc> | |
| 27110 | - | <source-position filename="gvalue.h" line="162"/> | |
| 29683 | + | <source-position filename="gobject/gvalue.h" line="164"/> | |
| 27111 | 29684 | <return-value transfer-ownership="none"> | |
| 27112 | 29685 | <doc xml:space="preserve" | |
| 27113 | - | filename="gobject-2.0.c" | |
| 27114 | - | line="7631">%TRUE if the transformation is possible, %FALSE otherwise.</doc> | |
| 29686 | + | filename="gobject/gvalue.c" | |
| 29687 | + | line="475">%TRUE if the transformation is possible, %FALSE otherwise.</doc> | |
| 27115 | 29688 | <type name="gboolean" c:type="gboolean"/> | |
| 27116 | 29689 | </return-value> | |
| 27117 | 29690 | <parameters> | |
| 27118 | 29691 | <parameter name="src_type" transfer-ownership="none"> | |
| 27119 | 29692 | <doc xml:space="preserve" | |
| 27120 | - | filename="gobject-2.0.c" | |
| 27121 | - | line="7623">Source type.</doc> | |
| 29693 | + | filename="gobject/gvalue.c" | |
| 29694 | + | line="467">Source type.</doc> | |
| 27122 | 29695 | <type name="GType" c:type="GType"/> | |
| 27123 | 29696 | </parameter> | |
| 27124 | 29697 | <parameter name="dest_type" transfer-ownership="none"> | |
| 27125 | 29698 | <doc xml:space="preserve" | |
| 27126 | - | filename="gobject-2.0.c" | |
| 27127 | - | line="7624">Target type.</doc> | |
| 29699 | + | filename="gobject/gvalue.c" | |
| 29700 | + | line="468">Target type.</doc> | |
| 27128 | 29701 | <type name="GType" c:type="GType"/> | |
| 27129 | 29702 | </parameter> | |
| 27130 | 29703 | </parameters> | |
| 27131 | 29704 | </function> | |
| 29705 | + | <function name="variant_get_gtype" c:identifier="g_variant_get_gtype"> | |
| 29706 | + | <source-position filename="gobject/glib-types.h" line="449"/> | |
| 29707 | + | <return-value transfer-ownership="none"> | |
| 29708 | + | <type name="GType" c:type="GType"/> | |
| 29709 | + | </return-value> | |
| 29710 | + | </function> | |
| 27132 | 29711 | </namespace> | |
| 27133 | 29712 | </repository> | |
M internal/gir/spec/Gdk-4.0.gir +13451 -7948 large diff (21399 lines changed): collapsed
M internal/gir/spec/GdkPixbuf-2.0.gir +971 -1025
| @@ -5,11 +5,13 @@ and/or use gtk-doc annotations. --> | |||
| 5 | 5 | <repository version="1.2" | |
| 6 | 6 | xmlns="http://www.gtk.org/introspection/core/1.0" | |
| 7 | 7 | xmlns:c="http://www.gtk.org/introspection/c/1.0" | |
| 8 | + | xmlns:doc="http://www.gtk.org/introspection/doc/1.0" | |
| 8 | 9 | xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> | |
| 9 | 10 | <include name="GModule" version="2.0"/> | |
| 10 | 11 | <include name="Gio" version="2.0"/> | |
| 11 | 12 | <package name="gdk-pixbuf-2.0"/> | |
| 12 | 13 | <c:include name="gdk-pixbuf/gdk-pixbuf.h"/> | |
| 14 | + | <doc:format name="unknown"/> | |
| 13 | 15 | <namespace name="GdkPixbuf" | |
| 14 | 16 | version="2.0" | |
| 15 | 17 | shared-library="libgdk_pixbuf-2.0.so.0" | |
| @@ -20,7 +22,7 @@ and/or use gtk-doc annotations. --> | |||
| 20 | 22 | glib:get-type="gdk_colorspace_get_type" | |
| 21 | 23 | c:type="GdkColorspace"> | |
| 22 | 24 | <doc xml:space="preserve" | |
| 23 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 25 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 24 | 26 | line="71">This enumeration defines the color spaces that are supported by | |
| 25 | 27 | the gdk-pixbuf library. | |
| 26 | 28 | ||
| @@ -31,14 +33,14 @@ Currently only RGB is supported.</doc> | |||
| 31 | 33 | glib:nick="rgb" | |
| 32 | 34 | glib:name="GDK_COLORSPACE_RGB"> | |
| 33 | 35 | <doc xml:space="preserve" | |
| 34 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 36 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 35 | 37 | line="73">Indicates a red/green/blue additive color space.</doc> | |
| 36 | 38 | </member> | |
| 37 | 39 | </enumeration> | |
| 38 | 40 | <function-macro name="IS_PIXBUF" | |
| 39 | 41 | c:identifier="GDK_IS_PIXBUF" | |
| 40 | 42 | introspectable="0"> | |
| 41 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" line="93"/> | |
| 43 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="93"/> | |
| 42 | 44 | <parameters> | |
| 43 | 45 | <parameter name="object"> | |
| 44 | 46 | </parameter> | |
| @@ -47,8 +49,7 @@ Currently only RGB is supported.</doc> | |||
| 47 | 49 | <function-macro name="IS_PIXBUF_ANIMATION" | |
| 48 | 50 | c:identifier="GDK_IS_PIXBUF_ANIMATION" | |
| 49 | 51 | introspectable="0"> | |
| 50 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 51 | - | line="46"/> | |
| 52 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" line="46"/> | |
| 52 | 53 | <parameters> | |
| 53 | 54 | <parameter name="object"> | |
| 54 | 55 | </parameter> | |
| @@ -57,7 +58,7 @@ Currently only RGB is supported.</doc> | |||
| 57 | 58 | <function-macro name="IS_PIXBUF_ANIMATION_CLASS" | |
| 58 | 59 | c:identifier="GDK_IS_PIXBUF_ANIMATION_CLASS" | |
| 59 | 60 | introspectable="0"> | |
| 60 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 61 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 61 | 62 | line="138"/> | |
| 62 | 63 | <parameters> | |
| 63 | 64 | <parameter name="klass"> | |
| @@ -67,8 +68,7 @@ Currently only RGB is supported.</doc> | |||
| 67 | 68 | <function-macro name="IS_PIXBUF_ANIMATION_ITER" | |
| 68 | 69 | c:identifier="GDK_IS_PIXBUF_ANIMATION_ITER" | |
| 69 | 70 | introspectable="0"> | |
| 70 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 71 | - | line="50"/> | |
| 71 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" line="50"/> | |
| 72 | 72 | <parameters> | |
| 73 | 73 | <parameter name="object"> | |
| 74 | 74 | </parameter> | |
| @@ -77,7 +77,7 @@ Currently only RGB is supported.</doc> | |||
| 77 | 77 | <function-macro name="IS_PIXBUF_ANIMATION_ITER_CLASS" | |
| 78 | 78 | c:identifier="GDK_IS_PIXBUF_ANIMATION_ITER_CLASS" | |
| 79 | 79 | introspectable="0"> | |
| 80 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 80 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 81 | 81 | line="186"/> | |
| 82 | 82 | <parameters> | |
| 83 | 83 | <parameter name="klass"> | |
| @@ -87,7 +87,7 @@ Currently only RGB is supported.</doc> | |||
| 87 | 87 | <function-macro name="IS_PIXBUF_LOADER" | |
| 88 | 88 | c:identifier="GDK_IS_PIXBUF_LOADER" | |
| 89 | 89 | introspectable="0"> | |
| 90 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="42"/> | |
| 90 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="42"/> | |
| 91 | 91 | <parameters> | |
| 92 | 92 | <parameter name="obj"> | |
| 93 | 93 | </parameter> | |
| @@ -96,7 +96,7 @@ Currently only RGB is supported.</doc> | |||
| 96 | 96 | <function-macro name="IS_PIXBUF_LOADER_CLASS" | |
| 97 | 97 | c:identifier="GDK_IS_PIXBUF_LOADER_CLASS" | |
| 98 | 98 | introspectable="0"> | |
| 99 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="43"/> | |
| 99 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="43"/> | |
| 100 | 100 | <parameters> | |
| 101 | 101 | <parameter name="klass"> | |
| 102 | 102 | </parameter> | |
| @@ -105,7 +105,7 @@ Currently only RGB is supported.</doc> | |||
| 105 | 105 | <function-macro name="IS_PIXBUF_SIMPLE_ANIM" | |
| 106 | 106 | c:identifier="GDK_IS_PIXBUF_SIMPLE_ANIM" | |
| 107 | 107 | introspectable="0"> | |
| 108 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 108 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 109 | 109 | line="43"/> | |
| 110 | 110 | <parameters> | |
| 111 | 111 | <parameter name="object"> | |
| @@ -115,7 +115,7 @@ Currently only RGB is supported.</doc> | |||
| 115 | 115 | <function-macro name="IS_PIXBUF_SIMPLE_ANIM_CLASS" | |
| 116 | 116 | c:identifier="GDK_IS_PIXBUF_SIMPLE_ANIM_CLASS" | |
| 117 | 117 | introspectable="0"> | |
| 118 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 118 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 119 | 119 | line="46"/> | |
| 120 | 120 | <parameters> | |
| 121 | 121 | <parameter name="klass"> | |
| @@ -127,7 +127,7 @@ Currently only RGB is supported.</doc> | |||
| 127 | 127 | glib:get-type="gdk_interp_type_get_type" | |
| 128 | 128 | c:type="GdkInterpType"> | |
| 129 | 129 | <doc xml:space="preserve" | |
| 130 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 130 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 131 | 131 | line="39">Interpolation modes for scaling functions. | |
| 132 | 132 | ||
| 133 | 133 | The `GDK_INTERP_NEAREST` mode is the fastest scaling method, but has | |
| @@ -143,7 +143,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 143 | 143 | glib:nick="nearest" | |
| 144 | 144 | glib:name="GDK_INTERP_NEAREST"> | |
| 145 | 145 | <doc xml:space="preserve" | |
| 146 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 146 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 147 | 147 | line="41">Nearest neighbor sampling; this is the fastest | |
| 148 | 148 | and lowest quality mode. Quality is normally unacceptable when scaling | |
| 149 | 149 | down, but may be OK when scaling up.</doc> | |
| @@ -154,7 +154,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 154 | 154 | glib:nick="tiles" | |
| 155 | 155 | glib:name="GDK_INTERP_TILES"> | |
| 156 | 156 | <doc xml:space="preserve" | |
| 157 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 157 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 158 | 158 | line="44">This is an accurate simulation of the PostScript | |
| 159 | 159 | image operator without any interpolation enabled. Each pixel is | |
| 160 | 160 | rendered as a tiny parallelogram of solid color, the edges of which | |
| @@ -167,7 +167,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 167 | 167 | glib:nick="bilinear" | |
| 168 | 168 | glib:name="GDK_INTERP_BILINEAR"> | |
| 169 | 169 | <doc xml:space="preserve" | |
| 170 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 170 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 171 | 171 | line="49">Best quality/speed balance; use this mode by | |
| 172 | 172 | default. Bilinear interpolation. For enlargement, it is | |
| 173 | 173 | equivalent to point-sampling the ideal bilinear-interpolated image. | |
| @@ -180,7 +180,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 180 | 180 | glib:nick="hyper" | |
| 181 | 181 | glib:name="GDK_INTERP_HYPER"> | |
| 182 | 182 | <doc xml:space="preserve" | |
| 183 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 183 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 184 | 184 | line="54">This is the slowest and highest quality | |
| 185 | 185 | reconstruction function. It is derived from the hyperbolic filters in | |
| 186 | 186 | Wolberg's "Digital Image Warping", and is formally defined as the | |
| @@ -192,7 +192,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 192 | 192 | </member> | |
| 193 | 193 | </enumeration> | |
| 194 | 194 | <function-macro name="PIXBUF" c:identifier="GDK_PIXBUF" introspectable="0"> | |
| 195 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" line="92"/> | |
| 195 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="92"/> | |
| 196 | 196 | <parameters> | |
| 197 | 197 | <parameter name="object"> | |
| 198 | 198 | </parameter> | |
| @@ -201,8 +201,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 201 | 201 | <function-macro name="PIXBUF_ANIMATION" | |
| 202 | 202 | c:identifier="GDK_PIXBUF_ANIMATION" | |
| 203 | 203 | introspectable="0"> | |
| 204 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 205 | - | line="45"/> | |
| 204 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" line="45"/> | |
| 206 | 205 | <parameters> | |
| 207 | 206 | <parameter name="object"> | |
| 208 | 207 | </parameter> | |
| @@ -211,7 +210,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 211 | 210 | <function-macro name="PIXBUF_ANIMATION_CLASS" | |
| 212 | 211 | c:identifier="GDK_PIXBUF_ANIMATION_CLASS" | |
| 213 | 212 | introspectable="0"> | |
| 214 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 213 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 215 | 214 | line="137"/> | |
| 216 | 215 | <parameters> | |
| 217 | 216 | <parameter name="klass"> | |
| @@ -221,7 +220,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 221 | 220 | <function-macro name="PIXBUF_ANIMATION_GET_CLASS" | |
| 222 | 221 | c:identifier="GDK_PIXBUF_ANIMATION_GET_CLASS" | |
| 223 | 222 | introspectable="0"> | |
| 224 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 223 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 225 | 224 | line="139"/> | |
| 226 | 225 | <parameters> | |
| 227 | 226 | <parameter name="obj"> | |
| @@ -231,8 +230,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 231 | 230 | <function-macro name="PIXBUF_ANIMATION_ITER" | |
| 232 | 231 | c:identifier="GDK_PIXBUF_ANIMATION_ITER" | |
| 233 | 232 | introspectable="0"> | |
| 234 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 235 | - | line="49"/> | |
| 233 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" line="49"/> | |
| 236 | 234 | <parameters> | |
| 237 | 235 | <parameter name="object"> | |
| 238 | 236 | </parameter> | |
| @@ -241,7 +239,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 241 | 239 | <function-macro name="PIXBUF_ANIMATION_ITER_CLASS" | |
| 242 | 240 | c:identifier="GDK_PIXBUF_ANIMATION_ITER_CLASS" | |
| 243 | 241 | introspectable="0"> | |
| 244 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 242 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 245 | 243 | line="185"/> | |
| 246 | 244 | <parameters> | |
| 247 | 245 | <parameter name="klass"> | |
| @@ -251,7 +249,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 251 | 249 | <function-macro name="PIXBUF_ANIMATION_ITER_GET_CLASS" | |
| 252 | 250 | c:identifier="GDK_PIXBUF_ANIMATION_ITER_GET_CLASS" | |
| 253 | 251 | introspectable="0"> | |
| 254 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 252 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 255 | 253 | line="187"/> | |
| 256 | 254 | <parameters> | |
| 257 | 255 | <parameter name="obj"> | |
| @@ -263,23 +261,23 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 263 | 261 | version="2.36" | |
| 264 | 262 | introspectable="0"> | |
| 265 | 263 | <doc xml:space="preserve" | |
| 266 | - | filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 264 | + | filename="gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 267 | 265 | line="32">Macro to test the version of GdkPixbuf being compiled against.</doc> | |
| 268 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" line="45"/> | |
| 266 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="45"/> | |
| 269 | 267 | <parameters> | |
| 270 | 268 | <parameter name="major"> | |
| 271 | 269 | <doc xml:space="preserve" | |
| 272 | - | filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 270 | + | filename="gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 273 | 271 | line="34">major version (e.g. 2 for version 2.34.0)</doc> | |
| 274 | 272 | </parameter> | |
| 275 | 273 | <parameter name="minor"> | |
| 276 | 274 | <doc xml:space="preserve" | |
| 277 | - | filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 275 | + | filename="gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 278 | 276 | line="35">minor version (e.g. 34 for version 2.34.0)</doc> | |
| 279 | 277 | </parameter> | |
| 280 | 278 | <parameter name="micro"> | |
| 281 | 279 | <doc xml:space="preserve" | |
| 282 | - | filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 280 | + | filename="gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 283 | 281 | line="36">micro version (e.g. 0 for version 2.34.0)</doc> | |
| 284 | 282 | </parameter> | |
| 285 | 283 | </parameters> | |
| @@ -287,8 +285,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 287 | 285 | <function-macro name="PIXBUF_DEPRECATED_IN_2_0_FOR" | |
| 288 | 286 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_0_FOR" | |
| 289 | 287 | introspectable="0"> | |
| 290 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 291 | - | line="343"/> | |
| 288 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="343"/> | |
| 292 | 289 | <parameters> | |
| 293 | 290 | <parameter name="f"> | |
| 294 | 291 | </parameter> | |
| @@ -297,8 +294,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 297 | 294 | <function-macro name="PIXBUF_DEPRECATED_IN_2_10_FOR" | |
| 298 | 295 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_10_FOR" | |
| 299 | 296 | introspectable="0"> | |
| 300 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 301 | - | line="433"/> | |
| 297 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="433"/> | |
| 302 | 298 | <parameters> | |
| 303 | 299 | <parameter name="f"> | |
| 304 | 300 | </parameter> | |
| @@ -307,8 +303,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 307 | 303 | <function-macro name="PIXBUF_DEPRECATED_IN_2_12_FOR" | |
| 308 | 304 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_12_FOR" | |
| 309 | 305 | introspectable="0"> | |
| 310 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 311 | - | line="451"/> | |
| 306 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="451"/> | |
| 312 | 307 | <parameters> | |
| 313 | 308 | <parameter name="f"> | |
| 314 | 309 | </parameter> | |
| @@ -317,8 +312,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 317 | 312 | <function-macro name="PIXBUF_DEPRECATED_IN_2_14_FOR" | |
| 318 | 313 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_14_FOR" | |
| 319 | 314 | introspectable="0"> | |
| 320 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 321 | - | line="469"/> | |
| 315 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="469"/> | |
| 322 | 316 | <parameters> | |
| 323 | 317 | <parameter name="f"> | |
| 324 | 318 | </parameter> | |
| @@ -327,8 +321,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 327 | 321 | <function-macro name="PIXBUF_DEPRECATED_IN_2_16_FOR" | |
| 328 | 322 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_16_FOR" | |
| 329 | 323 | introspectable="0"> | |
| 330 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 331 | - | line="487"/> | |
| 324 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="487"/> | |
| 332 | 325 | <parameters> | |
| 333 | 326 | <parameter name="f"> | |
| 334 | 327 | </parameter> | |
| @@ -337,8 +330,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 337 | 330 | <function-macro name="PIXBUF_DEPRECATED_IN_2_18_FOR" | |
| 338 | 331 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_18_FOR" | |
| 339 | 332 | introspectable="0"> | |
| 340 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 341 | - | line="505"/> | |
| 333 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="505"/> | |
| 342 | 334 | <parameters> | |
| 343 | 335 | <parameter name="f"> | |
| 344 | 336 | </parameter> | |
| @@ -347,8 +339,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 347 | 339 | <function-macro name="PIXBUF_DEPRECATED_IN_2_20_FOR" | |
| 348 | 340 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_20_FOR" | |
| 349 | 341 | introspectable="0"> | |
| 350 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 351 | - | line="523"/> | |
| 342 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="523"/> | |
| 352 | 343 | <parameters> | |
| 353 | 344 | <parameter name="f"> | |
| 354 | 345 | </parameter> | |
| @@ -357,8 +348,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 357 | 348 | <function-macro name="PIXBUF_DEPRECATED_IN_2_22_FOR" | |
| 358 | 349 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_22_FOR" | |
| 359 | 350 | introspectable="0"> | |
| 360 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 361 | - | line="541"/> | |
| 351 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="541"/> | |
| 362 | 352 | <parameters> | |
| 363 | 353 | <parameter name="f"> | |
| 364 | 354 | </parameter> | |
| @@ -367,8 +357,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 367 | 357 | <function-macro name="PIXBUF_DEPRECATED_IN_2_24_FOR" | |
| 368 | 358 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_24_FOR" | |
| 369 | 359 | introspectable="0"> | |
| 370 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 371 | - | line="559"/> | |
| 360 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="559"/> | |
| 372 | 361 | <parameters> | |
| 373 | 362 | <parameter name="f"> | |
| 374 | 363 | </parameter> | |
| @@ -377,8 +366,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 377 | 366 | <function-macro name="PIXBUF_DEPRECATED_IN_2_26_FOR" | |
| 378 | 367 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_26_FOR" | |
| 379 | 368 | introspectable="0"> | |
| 380 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 381 | - | line="577"/> | |
| 369 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="577"/> | |
| 382 | 370 | <parameters> | |
| 383 | 371 | <parameter name="f"> | |
| 384 | 372 | </parameter> | |
| @@ -387,8 +375,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 387 | 375 | <function-macro name="PIXBUF_DEPRECATED_IN_2_28_FOR" | |
| 388 | 376 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_28_FOR" | |
| 389 | 377 | introspectable="0"> | |
| 390 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 391 | - | line="595"/> | |
| 378 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="595"/> | |
| 392 | 379 | <parameters> | |
| 393 | 380 | <parameter name="f"> | |
| 394 | 381 | </parameter> | |
| @@ -397,8 +384,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 397 | 384 | <function-macro name="PIXBUF_DEPRECATED_IN_2_2_FOR" | |
| 398 | 385 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_2_FOR" | |
| 399 | 386 | introspectable="0"> | |
| 400 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 401 | - | line="361"/> | |
| 387 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="361"/> | |
| 402 | 388 | <parameters> | |
| 403 | 389 | <parameter name="f"> | |
| 404 | 390 | </parameter> | |
| @@ -407,8 +393,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 407 | 393 | <function-macro name="PIXBUF_DEPRECATED_IN_2_30_FOR" | |
| 408 | 394 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_30_FOR" | |
| 409 | 395 | introspectable="0"> | |
| 410 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 411 | - | line="613"/> | |
| 396 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="613"/> | |
| 412 | 397 | <parameters> | |
| 413 | 398 | <parameter name="f"> | |
| 414 | 399 | </parameter> | |
| @@ -417,8 +402,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 417 | 402 | <function-macro name="PIXBUF_DEPRECATED_IN_2_32_FOR" | |
| 418 | 403 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_32_FOR" | |
| 419 | 404 | introspectable="0"> | |
| 420 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 421 | - | line="631"/> | |
| 405 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="631"/> | |
| 422 | 406 | <parameters> | |
| 423 | 407 | <parameter name="f"> | |
| 424 | 408 | </parameter> | |
| @@ -427,8 +411,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 427 | 411 | <function-macro name="PIXBUF_DEPRECATED_IN_2_34_FOR" | |
| 428 | 412 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_34_FOR" | |
| 429 | 413 | introspectable="0"> | |
| 430 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 431 | - | line="649"/> | |
| 414 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="649"/> | |
| 432 | 415 | <parameters> | |
| 433 | 416 | <parameter name="f"> | |
| 434 | 417 | </parameter> | |
| @@ -437,8 +420,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 437 | 420 | <function-macro name="PIXBUF_DEPRECATED_IN_2_36_FOR" | |
| 438 | 421 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_36_FOR" | |
| 439 | 422 | introspectable="0"> | |
| 440 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 441 | - | line="667"/> | |
| 423 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="667"/> | |
| 442 | 424 | <parameters> | |
| 443 | 425 | <parameter name="f"> | |
| 444 | 426 | </parameter> | |
| @@ -447,8 +429,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 447 | 429 | <function-macro name="PIXBUF_DEPRECATED_IN_2_38_FOR" | |
| 448 | 430 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_38_FOR" | |
| 449 | 431 | introspectable="0"> | |
| 450 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 451 | - | line="685"/> | |
| 432 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="685"/> | |
| 452 | 433 | <parameters> | |
| 453 | 434 | <parameter name="f"> | |
| 454 | 435 | </parameter> | |
| @@ -457,8 +438,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 457 | 438 | <function-macro name="PIXBUF_DEPRECATED_IN_2_40_FOR" | |
| 458 | 439 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_40_FOR" | |
| 459 | 440 | introspectable="0"> | |
| 460 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 461 | - | line="703"/> | |
| 441 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="703"/> | |
| 462 | 442 | <parameters> | |
| 463 | 443 | <parameter name="f"> | |
| 464 | 444 | </parameter> | |
| @@ -467,8 +447,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 467 | 447 | <function-macro name="PIXBUF_DEPRECATED_IN_2_4_FOR" | |
| 468 | 448 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_4_FOR" | |
| 469 | 449 | introspectable="0"> | |
| 470 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 471 | - | line="379"/> | |
| 450 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="379"/> | |
| 472 | 451 | <parameters> | |
| 473 | 452 | <parameter name="f"> | |
| 474 | 453 | </parameter> | |
| @@ -477,8 +456,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 477 | 456 | <function-macro name="PIXBUF_DEPRECATED_IN_2_6_FOR" | |
| 478 | 457 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_6_FOR" | |
| 479 | 458 | introspectable="0"> | |
| 480 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 481 | - | line="397"/> | |
| 459 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="397"/> | |
| 482 | 460 | <parameters> | |
| 483 | 461 | <parameter name="f"> | |
| 484 | 462 | </parameter> | |
| @@ -487,8 +465,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 487 | 465 | <function-macro name="PIXBUF_DEPRECATED_IN_2_8_FOR" | |
| 488 | 466 | c:identifier="GDK_PIXBUF_DEPRECATED_IN_2_8_FOR" | |
| 489 | 467 | introspectable="0"> | |
| 490 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-macros.h" | |
| 491 | - | line="415"/> | |
| 468 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-macros.h" line="415"/> | |
| 492 | 469 | <parameters> | |
| 493 | 470 | <parameter name="f"> | |
| 494 | 471 | </parameter> | |
| @@ -497,7 +474,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 497 | 474 | <function-macro name="PIXBUF_LOADER" | |
| 498 | 475 | c:identifier="GDK_PIXBUF_LOADER" | |
| 499 | 476 | introspectable="0"> | |
| 500 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="40"/> | |
| 477 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="40"/> | |
| 501 | 478 | <parameters> | |
| 502 | 479 | <parameter name="obj"> | |
| 503 | 480 | </parameter> | |
| @@ -506,7 +483,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 506 | 483 | <function-macro name="PIXBUF_LOADER_CLASS" | |
| 507 | 484 | c:identifier="GDK_PIXBUF_LOADER_CLASS" | |
| 508 | 485 | introspectable="0"> | |
| 509 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="41"/> | |
| 486 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="41"/> | |
| 510 | 487 | <parameters> | |
| 511 | 488 | <parameter name="klass"> | |
| 512 | 489 | </parameter> | |
| @@ -515,7 +492,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 515 | 492 | <function-macro name="PIXBUF_LOADER_GET_CLASS" | |
| 516 | 493 | c:identifier="GDK_PIXBUF_LOADER_GET_CLASS" | |
| 517 | 494 | introspectable="0"> | |
| 518 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="44"/> | |
| 495 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="44"/> | |
| 519 | 496 | <parameters> | |
| 520 | 497 | <parameter name="obj"> | |
| 521 | 498 | </parameter> | |
| @@ -523,35 +500,32 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 523 | 500 | </function-macro> | |
| 524 | 501 | <constant name="PIXBUF_MAJOR" value="2" c:type="GDK_PIXBUF_MAJOR"> | |
| 525 | 502 | <doc xml:space="preserve" | |
| 526 | - | filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 503 | + | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 527 | 504 | line="10">Major version of gdk-pixbuf library, that is the "0" in | |
| 528 | 505 | "0.8.2" for example.</doc> | |
| 529 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 530 | - | line="37"/> | |
| 506 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="37"/> | |
| 531 | 507 | <type name="gint" c:type="gint"/> | |
| 532 | 508 | </constant> | |
| 533 | - | <constant name="PIXBUF_MICRO" value="10" c:type="GDK_PIXBUF_MICRO"> | |
| 509 | + | <constant name="PIXBUF_MICRO" value="12" c:type="GDK_PIXBUF_MICRO"> | |
| 534 | 510 | <doc xml:space="preserve" | |
| 535 | - | filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 511 | + | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 536 | 512 | line="22">Micro version of gdk-pixbuf library, that is the "2" in | |
| 537 | 513 | "0.8.2" for example.</doc> | |
| 538 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 539 | - | line="39"/> | |
| 514 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="39"/> | |
| 540 | 515 | <type name="gint" c:type="gint"/> | |
| 541 | 516 | </constant> | |
| 542 | 517 | <constant name="PIXBUF_MINOR" value="42" c:type="GDK_PIXBUF_MINOR"> | |
| 543 | 518 | <doc xml:space="preserve" | |
| 544 | - | filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 519 | + | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 545 | 520 | line="16">Minor version of gdk-pixbuf library, that is the "8" in | |
| 546 | 521 | "0.8.2" for example.</doc> | |
| 547 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 548 | - | line="38"/> | |
| 522 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="38"/> | |
| 549 | 523 | <type name="gint" c:type="gint"/> | |
| 550 | 524 | </constant> | |
| 551 | 525 | <function-macro name="PIXBUF_SIMPLE_ANIM" | |
| 552 | 526 | c:identifier="GDK_PIXBUF_SIMPLE_ANIM" | |
| 553 | 527 | introspectable="0"> | |
| 554 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 528 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 555 | 529 | line="42"/> | |
| 556 | 530 | <parameters> | |
| 557 | 531 | <parameter name="object"> | |
| @@ -561,7 +535,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 561 | 535 | <function-macro name="PIXBUF_SIMPLE_ANIM_CLASS" | |
| 562 | 536 | c:identifier="GDK_PIXBUF_SIMPLE_ANIM_CLASS" | |
| 563 | 537 | introspectable="0"> | |
| 564 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 538 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 565 | 539 | line="45"/> | |
| 566 | 540 | <parameters> | |
| 567 | 541 | <parameter name="klass"> | |
| @@ -571,7 +545,7 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 571 | 545 | <function-macro name="PIXBUF_SIMPLE_ANIM_GET_CLASS" | |
| 572 | 546 | c:identifier="GDK_PIXBUF_SIMPLE_ANIM_GET_CLASS" | |
| 573 | 547 | introspectable="0"> | |
| 574 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 548 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 575 | 549 | line="47"/> | |
| 576 | 550 | <parameters> | |
| 577 | 551 | <parameter name="obj"> | |
| @@ -579,16 +553,15 @@ interpolation is just as fast and results in higher quality.</doc> | |||
| 579 | 553 | </parameters> | |
| 580 | 554 | </function-macro> | |
| 581 | 555 | <constant name="PIXBUF_VERSION" | |
| 582 | - | value="2.42.10" | |
| 556 | + | value="2.42.12" | |
| 583 | 557 | c:type="GDK_PIXBUF_VERSION"> | |
| 584 | 558 | <doc xml:space="preserve" | |
| 585 | - | filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 559 | + | filename="gdk-pixbuf/gdk-pixbuf-features.h" | |
| 586 | 560 | line="28">Contains the full version of GdkPixbuf as a string. | |
| 587 | 561 | ||
| 588 | 562 | This is the version being compiled against; contrast with | |
| 589 | 563 | `gdk_pixbuf_version`.</doc> | |
| 590 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-features.h" | |
| 591 | - | line="40"/> | |
| 564 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-features.h" line="40"/> | |
| 592 | 565 | <type name="utf8" c:type="gchar*"/> | |
| 593 | 566 | </constant> | |
| 594 | 567 | <class name="Pixbuf" | |
| @@ -598,7 +571,7 @@ This is the version being compiled against; contrast with | |||
| 598 | 571 | glib:type-name="GdkPixbuf" | |
| 599 | 572 | glib:get-type="gdk_pixbuf_get_type"> | |
| 600 | 573 | <doc xml:space="preserve" | |
| 601 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 574 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 602 | 575 | line="24">A pixel buffer. | |
| 603 | 576 | ||
| 604 | 577 | `GdkPixbuf` contains information about an image's pixel data, | |
| @@ -738,49 +711,48 @@ to a socket or store it in a database.</doc> | |||
| 738 | 711 | <implements name="Gio.LoadableIcon"/> | |
| 739 | 712 | <constructor name="new" c:identifier="gdk_pixbuf_new"> | |
| 740 | 713 | <doc xml:space="preserve" | |
| 741 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 714 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 742 | 715 | line="599">Creates a new `GdkPixbuf` structure and allocates a buffer for it. | |
| 743 | 716 | ||
| 744 | 717 | If the allocation of the buffer failed, this function will return `NULL`. | |
| 745 | 718 | ||
| 746 | 719 | The buffer has an optimal rowstride. Note that the buffer is not cleared; | |
| 747 | 720 | you will have to fill it completely yourself.</doc> | |
| 748 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 749 | - | line="206"/> | |
| 721 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="206"/> | |
| 750 | 722 | <return-value transfer-ownership="full" nullable="1"> | |
| 751 | 723 | <doc xml:space="preserve" | |
| 752 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 724 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 753 | 725 | line="614">A newly-created pixel buffer</doc> | |
| 754 | 726 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 755 | 727 | </return-value> | |
| 756 | 728 | <parameters> | |
| 757 | 729 | <parameter name="colorspace" transfer-ownership="none"> | |
| 758 | 730 | <doc xml:space="preserve" | |
| 759 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 731 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 760 | 732 | line="601">Color space for image</doc> | |
| 761 | 733 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 762 | 734 | </parameter> | |
| 763 | 735 | <parameter name="has_alpha" transfer-ownership="none"> | |
| 764 | 736 | <doc xml:space="preserve" | |
| 765 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 737 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 766 | 738 | line="602">Whether the image should have transparency information</doc> | |
| 767 | 739 | <type name="gboolean" c:type="gboolean"/> | |
| 768 | 740 | </parameter> | |
| 769 | 741 | <parameter name="bits_per_sample" transfer-ownership="none"> | |
| 770 | 742 | <doc xml:space="preserve" | |
| 771 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 743 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 772 | 744 | line="603">Number of bits per color sample</doc> | |
| 773 | 745 | <type name="gint" c:type="int"/> | |
| 774 | 746 | </parameter> | |
| 775 | 747 | <parameter name="width" transfer-ownership="none"> | |
| 776 | 748 | <doc xml:space="preserve" | |
| 777 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 749 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 778 | 750 | line="604">Width of image in pixels, must be > 0</doc> | |
| 779 | 751 | <type name="gint" c:type="int"/> | |
| 780 | 752 | </parameter> | |
| 781 | 753 | <parameter name="height" transfer-ownership="none"> | |
| 782 | 754 | <doc xml:space="preserve" | |
| 783 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 755 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 784 | 756 | line="605">Height of image in pixels, must be > 0</doc> | |
| 785 | 757 | <type name="gint" c:type="int"/> | |
| 786 | 758 | </parameter> | |
| @@ -790,61 +762,60 @@ you will have to fill it completely yourself.</doc> | |||
| 790 | 762 | c:identifier="gdk_pixbuf_new_from_bytes" | |
| 791 | 763 | version="2.32"> | |
| 792 | 764 | <doc xml:space="preserve" | |
| 793 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 765 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 794 | 766 | line="94">Creates a new #GdkPixbuf out of in-memory readonly image data. | |
| 795 | 767 | ||
| 796 | 768 | Currently only RGB images with 8 bits per sample are supported. | |
| 797 | 769 | ||
| 798 | 770 | This is the `GBytes` variant of gdk_pixbuf_new_from_data(), useful | |
| 799 | 771 | for language bindings.</doc> | |
| 800 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 801 | - | line="286"/> | |
| 772 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="286"/> | |
| 802 | 773 | <return-value transfer-ownership="full"> | |
| 803 | 774 | <doc xml:space="preserve" | |
| 804 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 775 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 805 | 776 | line="111">A newly-created pixbuf</doc> | |
| 806 | 777 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 807 | 778 | </return-value> | |
| 808 | 779 | <parameters> | |
| 809 | 780 | <parameter name="data" transfer-ownership="none"> | |
| 810 | 781 | <doc xml:space="preserve" | |
| 811 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 782 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 812 | 783 | line="96">Image data in 8-bit/sample packed format inside a #GBytes</doc> | |
| 813 | 784 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 814 | 785 | </parameter> | |
| 815 | 786 | <parameter name="colorspace" transfer-ownership="none"> | |
| 816 | 787 | <doc xml:space="preserve" | |
| 817 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 788 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 818 | 789 | line="97">Colorspace for the image data</doc> | |
| 819 | 790 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 820 | 791 | </parameter> | |
| 821 | 792 | <parameter name="has_alpha" transfer-ownership="none"> | |
| 822 | 793 | <doc xml:space="preserve" | |
| 823 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 794 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 824 | 795 | line="98">Whether the data has an opacity channel</doc> | |
| 825 | 796 | <type name="gboolean" c:type="gboolean"/> | |
| 826 | 797 | </parameter> | |
| 827 | 798 | <parameter name="bits_per_sample" transfer-ownership="none"> | |
| 828 | 799 | <doc xml:space="preserve" | |
| 829 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 800 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 830 | 801 | line="99">Number of bits per sample</doc> | |
| 831 | 802 | <type name="gint" c:type="int"/> | |
| 832 | 803 | </parameter> | |
| 833 | 804 | <parameter name="width" transfer-ownership="none"> | |
| 834 | 805 | <doc xml:space="preserve" | |
| 835 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 806 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 836 | 807 | line="100">Width of the image in pixels, must be > 0</doc> | |
| 837 | 808 | <type name="gint" c:type="int"/> | |
| 838 | 809 | </parameter> | |
| 839 | 810 | <parameter name="height" transfer-ownership="none"> | |
| 840 | 811 | <doc xml:space="preserve" | |
| 841 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 812 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 842 | 813 | line="101">Height of the image in pixels, must be > 0</doc> | |
| 843 | 814 | <type name="gint" c:type="int"/> | |
| 844 | 815 | </parameter> | |
| 845 | 816 | <parameter name="rowstride" transfer-ownership="none"> | |
| 846 | 817 | <doc xml:space="preserve" | |
| 847 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 818 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 848 | 819 | line="102">Distance in bytes between row starts</doc> | |
| 849 | 820 | <type name="gint" c:type="int"/> | |
| 850 | 821 | </parameter> | |
| @@ -853,7 +824,7 @@ for language bindings.</doc> | |||
| 853 | 824 | <constructor name="new_from_data" | |
| 854 | 825 | c:identifier="gdk_pixbuf_new_from_data"> | |
| 855 | 826 | <doc xml:space="preserve" | |
| 856 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 827 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 857 | 828 | line="29">Creates a new #GdkPixbuf out of in-memory image data. | |
| 858 | 829 | ||
| 859 | 830 | Currently only RGB images with 8 bits per sample are supported. | |
| @@ -865,18 +836,17 @@ finalized, your destroy notification function will be called, and | |||
| 865 | 836 | it is its responsibility to free the pixel array. | |
| 866 | 837 | ||
| 867 | 838 | See also: [ctor@GdkPixbuf.Pixbuf.new_from_bytes]</doc> | |
| 868 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 869 | - | line="276"/> | |
| 839 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="276"/> | |
| 870 | 840 | <return-value transfer-ownership="full"> | |
| 871 | 841 | <doc xml:space="preserve" | |
| 872 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 842 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 873 | 843 | line="54">A newly-created pixbuf</doc> | |
| 874 | 844 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 875 | 845 | </return-value> | |
| 876 | 846 | <parameters> | |
| 877 | 847 | <parameter name="data" transfer-ownership="none"> | |
| 878 | 848 | <doc xml:space="preserve" | |
| 879 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 849 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 880 | 850 | line="31">Image data in 8-bit/sample packed format</doc> | |
| 881 | 851 | <array zero-terminated="0" c:type="const guchar*"> | |
| 882 | 852 | <type name="guint8" c:type="guchar"/> | |
| @@ -884,37 +854,37 @@ See also: [ctor@GdkPixbuf.Pixbuf.new_from_bytes]</doc> | |||
| 884 | 854 | </parameter> | |
| 885 | 855 | <parameter name="colorspace" transfer-ownership="none"> | |
| 886 | 856 | <doc xml:space="preserve" | |
| 887 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 857 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 888 | 858 | line="32">Colorspace for the image data</doc> | |
| 889 | 859 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 890 | 860 | </parameter> | |
| 891 | 861 | <parameter name="has_alpha" transfer-ownership="none"> | |
| 892 | 862 | <doc xml:space="preserve" | |
| 893 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 863 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 894 | 864 | line="33">Whether the data has an opacity channel</doc> | |
| 895 | 865 | <type name="gboolean" c:type="gboolean"/> | |
| 896 | 866 | </parameter> | |
| 897 | 867 | <parameter name="bits_per_sample" transfer-ownership="none"> | |
| 898 | 868 | <doc xml:space="preserve" | |
| 899 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 869 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 900 | 870 | line="34">Number of bits per sample</doc> | |
| 901 | 871 | <type name="gint" c:type="int"/> | |
| 902 | 872 | </parameter> | |
| 903 | 873 | <parameter name="width" transfer-ownership="none"> | |
| 904 | 874 | <doc xml:space="preserve" | |
| 905 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 875 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 906 | 876 | line="35">Width of the image in pixels, must be > 0</doc> | |
| 907 | 877 | <type name="gint" c:type="int"/> | |
| 908 | 878 | </parameter> | |
| 909 | 879 | <parameter name="height" transfer-ownership="none"> | |
| 910 | 880 | <doc xml:space="preserve" | |
| 911 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 881 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 912 | 882 | line="36">Height of the image in pixels, must be > 0</doc> | |
| 913 | 883 | <type name="gint" c:type="int"/> | |
| 914 | 884 | </parameter> | |
| 915 | 885 | <parameter name="rowstride" transfer-ownership="none"> | |
| 916 | 886 | <doc xml:space="preserve" | |
| 917 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 887 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 918 | 888 | line="37">Distance in bytes between row starts</doc> | |
| 919 | 889 | <type name="gint" c:type="int"/> | |
| 920 | 890 | </parameter> | |
| @@ -925,7 +895,7 @@ See also: [ctor@GdkPixbuf.Pixbuf.new_from_bytes]</doc> | |||
| 925 | 895 | scope="async" | |
| 926 | 896 | closure="8"> | |
| 927 | 897 | <doc xml:space="preserve" | |
| 928 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 898 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 929 | 899 | line="38">Function used to free the data when the pixbuf's reference count | |
| 930 | 900 | drops to zero, or %NULL if the data should not be freed</doc> | |
| 931 | 901 | <type name="PixbufDestroyNotify" c:type="GdkPixbufDestroyNotify"/> | |
| @@ -935,7 +905,7 @@ drops to zero, or %NULL if the data should not be freed</doc> | |||
| 935 | 905 | nullable="1" | |
| 936 | 906 | allow-none="1"> | |
| 937 | 907 | <doc xml:space="preserve" | |
| 938 | - | filename="../gdk-pixbuf/gdk-pixbuf-data.c" | |
| 908 | + | filename="gdk-pixbuf/gdk-pixbuf-data.c" | |
| 939 | 909 | line="40">Closure data to pass to the destroy notification function</doc> | |
| 940 | 910 | <type name="gpointer" c:type="gpointer"/> | |
| 941 | 911 | </parameter> | |
| @@ -945,7 +915,7 @@ drops to zero, or %NULL if the data should not be freed</doc> | |||
| 945 | 915 | c:identifier="gdk_pixbuf_new_from_file" | |
| 946 | 916 | throws="1"> | |
| 947 | 917 | <doc xml:space="preserve" | |
| 948 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 918 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 949 | 919 | line="1089">Creates a new pixbuf by loading an image from a file. | |
| 950 | 920 | ||
| 951 | 921 | The file format is detected automatically. | |
| @@ -958,18 +928,17 @@ If `NULL` is returned, then @error will be set. Possible errors are: | |||
| 958 | 928 | - the image buffer contains invalid data | |
| 959 | 929 | ||
| 960 | 930 | The error domains are `GDK_PIXBUF_ERROR` and `G_FILE_ERROR`.</doc> | |
| 961 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 962 | - | line="252"/> | |
| 931 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="252"/> | |
| 963 | 932 | <return-value transfer-ownership="full" nullable="1"> | |
| 964 | 933 | <doc xml:space="preserve" | |
| 965 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 934 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 966 | 935 | line="1108">A newly-created pixbuf</doc> | |
| 967 | 936 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 968 | 937 | </return-value> | |
| 969 | 938 | <parameters> | |
| 970 | 939 | <parameter name="filename" transfer-ownership="none"> | |
| 971 | 940 | <doc xml:space="preserve" | |
| 972 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 941 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 973 | 942 | line="1091">Name of file to load, in the GLib file | |
| 974 | 943 | name encoding</doc> | |
| 975 | 944 | <type name="filename" c:type="const char*"/> | |
| @@ -981,7 +950,7 @@ The error domains are `GDK_PIXBUF_ERROR` and `G_FILE_ERROR`.</doc> | |||
| 981 | 950 | version="2.6" | |
| 982 | 951 | throws="1"> | |
| 983 | 952 | <doc xml:space="preserve" | |
| 984 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 953 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 985 | 954 | line="1337">Creates a new pixbuf by loading an image from a file. | |
| 986 | 955 | ||
| 987 | 956 | The file format is detected automatically. | |
| @@ -1004,37 +973,36 @@ the image to be scaled to the exact given width. When not preserving | |||
| 1004 | 973 | aspect ratio, a `width` or `height` of -1 means to not scale the image | |
| 1005 | 974 | at all in that dimension. Negative values for `width` and `height` are | |
| 1006 | 975 | allowed since 2.8.</doc> | |
| 1007 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1008 | - | line="260"/> | |
| 976 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="260"/> | |
| 1009 | 977 | <return-value transfer-ownership="full" nullable="1"> | |
| 1010 | 978 | <doc xml:space="preserve" | |
| 1011 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 979 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1012 | 980 | line="1369">A newly-created pixbuf</doc> | |
| 1013 | 981 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1014 | 982 | </return-value> | |
| 1015 | 983 | <parameters> | |
| 1016 | 984 | <parameter name="filename" transfer-ownership="none"> | |
| 1017 | 985 | <doc xml:space="preserve" | |
| 1018 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 986 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1019 | 987 | line="1339">Name of file to load, in the GLib file | |
| 1020 | 988 | name encoding</doc> | |
| 1021 | 989 | <type name="filename" c:type="const char*"/> | |
| 1022 | 990 | </parameter> | |
| 1023 | 991 | <parameter name="width" transfer-ownership="none"> | |
| 1024 | 992 | <doc xml:space="preserve" | |
| 1025 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 993 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1026 | 994 | line="1341">The width the image should have or -1 to not constrain the width</doc> | |
| 1027 | 995 | <type name="gint" c:type="int"/> | |
| 1028 | 996 | </parameter> | |
| 1029 | 997 | <parameter name="height" transfer-ownership="none"> | |
| 1030 | 998 | <doc xml:space="preserve" | |
| 1031 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 999 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1032 | 1000 | line="1342">The height the image should have or -1 to not constrain the height</doc> | |
| 1033 | 1001 | <type name="gint" c:type="int"/> | |
| 1034 | 1002 | </parameter> | |
| 1035 | 1003 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1036 | 1004 | <doc xml:space="preserve" | |
| 1037 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1005 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1038 | 1006 | line="1343">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1039 | 1007 | <type name="gboolean" c:type="gboolean"/> | |
| 1040 | 1008 | </parameter> | |
| @@ -1045,7 +1013,7 @@ allowed since 2.8.</doc> | |||
| 1045 | 1013 | version="2.4" | |
| 1046 | 1014 | throws="1"> | |
| 1047 | 1015 | <doc xml:space="preserve" | |
| 1048 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1016 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1049 | 1017 | line="1210">Creates a new pixbuf by loading an image from a file. | |
| 1050 | 1018 | ||
| 1051 | 1019 | The file format is detected automatically. | |
| @@ -1064,31 +1032,30 @@ the image's aspect ratio. Note that the returned pixbuf may be smaller | |||
| 1064 | 1032 | than `width` x `height`, if the aspect ratio requires it. To load | |
| 1065 | 1033 | and image at the requested size, regardless of aspect ratio, use | |
| 1066 | 1034 | [ctor@GdkPixbuf.Pixbuf.new_from_file_at_scale].</doc> | |
| 1067 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1068 | - | line="255"/> | |
| 1035 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="255"/> | |
| 1069 | 1036 | <return-value transfer-ownership="full" nullable="1"> | |
| 1070 | 1037 | <doc xml:space="preserve" | |
| 1071 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1038 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1072 | 1039 | line="1237">A newly-created pixbuf</doc> | |
| 1073 | 1040 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1074 | 1041 | </return-value> | |
| 1075 | 1042 | <parameters> | |
| 1076 | 1043 | <parameter name="filename" transfer-ownership="none"> | |
| 1077 | 1044 | <doc xml:space="preserve" | |
| 1078 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1045 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1079 | 1046 | line="1212">Name of file to load, in the GLib file | |
| 1080 | 1047 | name encoding</doc> | |
| 1081 | 1048 | <type name="filename" c:type="const char*"/> | |
| 1082 | 1049 | </parameter> | |
| 1083 | 1050 | <parameter name="width" transfer-ownership="none"> | |
| 1084 | 1051 | <doc xml:space="preserve" | |
| 1085 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1052 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1086 | 1053 | line="1214">The width the image should have or -1 to not constrain the width</doc> | |
| 1087 | 1054 | <type name="gint" c:type="int"/> | |
| 1088 | 1055 | </parameter> | |
| 1089 | 1056 | <parameter name="height" transfer-ownership="none"> | |
| 1090 | 1057 | <doc xml:space="preserve" | |
| 1091 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1058 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1092 | 1059 | line="1215">The height the image should have or -1 to not constrain the height</doc> | |
| 1093 | 1060 | <type name="gint" c:type="int"/> | |
| 1094 | 1061 | </parameter> | |
| @@ -1100,7 +1067,7 @@ and image at the requested size, regardless of aspect ratio, use | |||
| 1100 | 1067 | deprecated-version="2.32" | |
| 1101 | 1068 | throws="1"> | |
| 1102 | 1069 | <doc xml:space="preserve" | |
| 1103 | - | filename="../gdk-pixbuf/gdk-pixdata.c" | |
| 1070 | + | filename="gdk-pixbuf/gdk-pixdata.c" | |
| 1104 | 1071 | line="951">Creates a `GdkPixbuf` from a flat representation that is suitable for | |
| 1105 | 1072 | storing as inline data in a program. | |
| 1106 | 1073 | ||
| @@ -1135,25 +1102,24 @@ For non-const inline data, you could get out of memory. For untrusted | |||
| 1135 | 1102 | inline data located at runtime, you could have corrupt inline data in | |
| 1136 | 1103 | addition.</doc> | |
| 1137 | 1104 | <doc-deprecated xml:space="preserve">Use `GResource` instead.</doc-deprecated> | |
| 1138 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1139 | - | line="298"/> | |
| 1105 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="298"/> | |
| 1140 | 1106 | <return-value transfer-ownership="full"> | |
| 1141 | 1107 | <doc xml:space="preserve" | |
| 1142 | - | filename="../gdk-pixbuf/gdk-pixdata.c" | |
| 1108 | + | filename="gdk-pixbuf/gdk-pixdata.c" | |
| 1143 | 1109 | line="995">A newly-created pixbuf</doc> | |
| 1144 | 1110 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1145 | 1111 | </return-value> | |
| 1146 | 1112 | <parameters> | |
| 1147 | 1113 | <parameter name="data_length" transfer-ownership="none"> | |
| 1148 | 1114 | <doc xml:space="preserve" | |
| 1149 | - | filename="../gdk-pixbuf/gdk-pixdata.c" | |
| 1115 | + | filename="gdk-pixbuf/gdk-pixdata.c" | |
| 1150 | 1116 | line="953">Length in bytes of the `data` argument or -1 to | |
| 1151 | 1117 | disable length checks</doc> | |
| 1152 | 1118 | <type name="gint" c:type="gint"/> | |
| 1153 | 1119 | </parameter> | |
| 1154 | 1120 | <parameter name="data" transfer-ownership="none"> | |
| 1155 | 1121 | <doc xml:space="preserve" | |
| 1156 | - | filename="../gdk-pixbuf/gdk-pixdata.c" | |
| 1122 | + | filename="gdk-pixbuf/gdk-pixdata.c" | |
| 1157 | 1123 | line="955">Byte data containing a | |
| 1158 | 1124 | serialized `GdkPixdata` structure</doc> | |
| 1159 | 1125 | <array length="0" zero-terminated="0" c:type="const guint8*"> | |
| @@ -1162,7 +1128,7 @@ addition.</doc> | |||
| 1162 | 1128 | </parameter> | |
| 1163 | 1129 | <parameter name="copy_pixels" transfer-ownership="none"> | |
| 1164 | 1130 | <doc xml:space="preserve" | |
| 1165 | - | filename="../gdk-pixbuf/gdk-pixdata.c" | |
| 1131 | + | filename="gdk-pixbuf/gdk-pixdata.c" | |
| 1166 | 1132 | line="957">Whether to copy the pixel data, or use direct pointers | |
| 1167 | 1133 | `data` for the resulting pixbuf</doc> | |
| 1168 | 1134 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -1174,23 +1140,22 @@ addition.</doc> | |||
| 1174 | 1140 | version="2.26" | |
| 1175 | 1141 | throws="1"> | |
| 1176 | 1142 | <doc xml:space="preserve" | |
| 1177 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1143 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1178 | 1144 | line="1793">Creates a new pixbuf by loading an image from an resource. | |
| 1179 | 1145 | ||
| 1180 | 1146 | The file format is detected automatically. If `NULL` is returned, then | |
| 1181 | 1147 | @error will be set.</doc> | |
| 1182 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1183 | - | line="266"/> | |
| 1148 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="266"/> | |
| 1184 | 1149 | <return-value transfer-ownership="full" nullable="1"> | |
| 1185 | 1150 | <doc xml:space="preserve" | |
| 1186 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1151 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1187 | 1152 | line="1803">A newly-created pixbuf</doc> | |
| 1188 | 1153 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1189 | 1154 | </return-value> | |
| 1190 | 1155 | <parameters> | |
| 1191 | 1156 | <parameter name="resource_path" transfer-ownership="none"> | |
| 1192 | 1157 | <doc xml:space="preserve" | |
| 1193 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1158 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1194 | 1159 | line="1795">the path of the resource file</doc> | |
| 1195 | 1160 | <type name="utf8" c:type="const char*"/> | |
| 1196 | 1161 | </parameter> | |
| @@ -1201,7 +1166,7 @@ The file format is detected automatically. If `NULL` is returned, then | |||
| 1201 | 1166 | version="2.26" | |
| 1202 | 1167 | throws="1"> | |
| 1203 | 1168 | <doc xml:space="preserve" | |
| 1204 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1169 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1205 | 1170 | line="1827">Creates a new pixbuf by loading an image from an resource. | |
| 1206 | 1171 | ||
| 1207 | 1172 | The file format is detected automatically. If `NULL` is returned, then | |
| @@ -1215,36 +1180,35 @@ exact given width. When not preserving aspect ratio, a @width or | |||
| 1215 | 1180 | @height of -1 means to not scale the image at all in that dimension. | |
| 1216 | 1181 | ||
| 1217 | 1182 | The stream is not closed.</doc> | |
| 1218 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1219 | - | line="269"/> | |
| 1183 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="269"/> | |
| 1220 | 1184 | <return-value transfer-ownership="full" nullable="1"> | |
| 1221 | 1185 | <doc xml:space="preserve" | |
| 1222 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1186 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1223 | 1187 | line="1849">A newly-created pixbuf</doc> | |
| 1224 | 1188 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1225 | 1189 | </return-value> | |
| 1226 | 1190 | <parameters> | |
| 1227 | 1191 | <parameter name="resource_path" transfer-ownership="none"> | |
| 1228 | 1192 | <doc xml:space="preserve" | |
| 1229 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1193 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1230 | 1194 | line="1829">the path of the resource file</doc> | |
| 1231 | 1195 | <type name="utf8" c:type="const char*"/> | |
| 1232 | 1196 | </parameter> | |
| 1233 | 1197 | <parameter name="width" transfer-ownership="none"> | |
| 1234 | 1198 | <doc xml:space="preserve" | |
| 1235 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1199 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1236 | 1200 | line="1830">The width the image should have or -1 to not constrain the width</doc> | |
| 1237 | 1201 | <type name="gint" c:type="int"/> | |
| 1238 | 1202 | </parameter> | |
| 1239 | 1203 | <parameter name="height" transfer-ownership="none"> | |
| 1240 | 1204 | <doc xml:space="preserve" | |
| 1241 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1205 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1242 | 1206 | line="1831">The height the image should have or -1 to not constrain the height</doc> | |
| 1243 | 1207 | <type name="gint" c:type="int"/> | |
| 1244 | 1208 | </parameter> | |
| 1245 | 1209 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1246 | 1210 | <doc xml:space="preserve" | |
| 1247 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1211 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1248 | 1212 | line="1832">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1249 | 1213 | <type name="gboolean" c:type="gboolean"/> | |
| 1250 | 1214 | </parameter> | |
| @@ -1255,7 +1219,7 @@ The stream is not closed.</doc> | |||
| 1255 | 1219 | version="2.14" | |
| 1256 | 1220 | throws="1"> | |
| 1257 | 1221 | <doc xml:space="preserve" | |
| 1258 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1222 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1259 | 1223 | line="1717">Creates a new pixbuf by loading an image from an input stream. | |
| 1260 | 1224 | ||
| 1261 | 1225 | The file format is detected automatically. | |
| @@ -1268,18 +1232,17 @@ returned. Other possible errors are in the `GDK_PIXBUF_ERROR` and | |||
| 1268 | 1232 | `G_IO_ERROR` domains. | |
| 1269 | 1233 | ||
| 1270 | 1234 | The stream is not closed.</doc> | |
| 1271 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1272 | - | line="409"/> | |
| 1235 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="409"/> | |
| 1273 | 1236 | <return-value transfer-ownership="full" nullable="1"> | |
| 1274 | 1237 | <doc xml:space="preserve" | |
| 1275 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1238 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1276 | 1239 | line="1736">A newly-created pixbuf</doc> | |
| 1277 | 1240 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1278 | 1241 | </return-value> | |
| 1279 | 1242 | <parameters> | |
| 1280 | 1243 | <parameter name="stream" transfer-ownership="none"> | |
| 1281 | 1244 | <doc xml:space="preserve" | |
| 1282 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1245 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1283 | 1246 | line="1719">a `GInputStream` to load the pixbuf from</doc> | |
| 1284 | 1247 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1285 | 1248 | </parameter> | |
| @@ -1288,7 +1251,7 @@ The stream is not closed.</doc> | |||
| 1288 | 1251 | nullable="1" | |
| 1289 | 1252 | allow-none="1"> | |
| 1290 | 1253 | <doc xml:space="preserve" | |
| 1291 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1254 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1292 | 1255 | line="1720">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1293 | 1256 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1294 | 1257 | </parameter> | |
| @@ -1299,7 +1262,7 @@ The stream is not closed.</doc> | |||
| 1299 | 1262 | version="2.14" | |
| 1300 | 1263 | throws="1"> | |
| 1301 | 1264 | <doc xml:space="preserve" | |
| 1302 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1265 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1303 | 1266 | line="1543">Creates a new pixbuf by loading an image from an input stream. | |
| 1304 | 1267 | ||
| 1305 | 1268 | The file format is detected automatically. If `NULL` is returned, then | |
| @@ -1321,36 +1284,35 @@ When not preserving aspect ratio, a `width` or `height` of -1 means to not | |||
| 1321 | 1284 | scale the image at all in that dimension. | |
| 1322 | 1285 | ||
| 1323 | 1286 | The stream is not closed.</doc> | |
| 1324 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1325 | - | line="424"/> | |
| 1287 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="424"/> | |
| 1326 | 1288 | <return-value transfer-ownership="full" nullable="1"> | |
| 1327 | 1289 | <doc xml:space="preserve" | |
| 1328 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1290 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1329 | 1291 | line="1574">A newly-created pixbuf</doc> | |
| 1330 | 1292 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1331 | 1293 | </return-value> | |
| 1332 | 1294 | <parameters> | |
| 1333 | 1295 | <parameter name="stream" transfer-ownership="none"> | |
| 1334 | 1296 | <doc xml:space="preserve" | |
| 1335 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1297 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1336 | 1298 | line="1545">a `GInputStream` to load the pixbuf from</doc> | |
| 1337 | 1299 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1338 | 1300 | </parameter> | |
| 1339 | 1301 | <parameter name="width" transfer-ownership="none"> | |
| 1340 | 1302 | <doc xml:space="preserve" | |
| 1341 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1303 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1342 | 1304 | line="1546">The width the image should have or -1 to not constrain the width</doc> | |
| 1343 | 1305 | <type name="gint" c:type="gint"/> | |
| 1344 | 1306 | </parameter> | |
| 1345 | 1307 | <parameter name="height" transfer-ownership="none"> | |
| 1346 | 1308 | <doc xml:space="preserve" | |
| 1347 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1309 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1348 | 1310 | line="1547">The height the image should have or -1 to not constrain the height</doc> | |
| 1349 | 1311 | <type name="gint" c:type="gint"/> | |
| 1350 | 1312 | </parameter> | |
| 1351 | 1313 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1352 | 1314 | <doc xml:space="preserve" | |
| 1353 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1315 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1354 | 1316 | line="1548">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1355 | 1317 | <type name="gboolean" c:type="gboolean"/> | |
| 1356 | 1318 | </parameter> | |
| @@ -1359,7 +1321,7 @@ The stream is not closed.</doc> | |||
| 1359 | 1321 | nullable="1" | |
| 1360 | 1322 | allow-none="1"> | |
| 1361 | 1323 | <doc xml:space="preserve" | |
| 1362 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1324 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1363 | 1325 | line="1549">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1364 | 1326 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1365 | 1327 | </parameter> | |
| @@ -1370,21 +1332,20 @@ The stream is not closed.</doc> | |||
| 1370 | 1332 | version="2.24" | |
| 1371 | 1333 | throws="1"> | |
| 1372 | 1334 | <doc xml:space="preserve" | |
| 1373 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1335 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1374 | 1336 | line="1914">Finishes an asynchronous pixbuf creation operation started with | |
| 1375 | 1337 | gdk_pixbuf_new_from_stream_async().</doc> | |
| 1376 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1377 | - | line="420"/> | |
| 1338 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="420"/> | |
| 1378 | 1339 | <return-value transfer-ownership="full" nullable="1"> | |
| 1379 | 1340 | <doc xml:space="preserve" | |
| 1380 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1341 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1381 | 1342 | line="1922">the newly created pixbuf</doc> | |
| 1382 | 1343 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1383 | 1344 | </return-value> | |
| 1384 | 1345 | <parameters> | |
| 1385 | 1346 | <parameter name="async_result" transfer-ownership="none"> | |
| 1386 | 1347 | <doc xml:space="preserve" | |
| 1387 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1348 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1388 | 1349 | line="1916">a `GAsyncResult`</doc> | |
| 1389 | 1350 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 1390 | 1351 | </parameter> | |
| @@ -1393,23 +1354,22 @@ gdk_pixbuf_new_from_stream_async().</doc> | |||
| 1393 | 1354 | <constructor name="new_from_xpm_data" | |
| 1394 | 1355 | c:identifier="gdk_pixbuf_new_from_xpm_data"> | |
| 1395 | 1356 | <doc xml:space="preserve" | |
| 1396 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1357 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1397 | 1358 | line="2148">Creates a new pixbuf by parsing XPM data in memory. | |
| 1398 | 1359 | ||
| 1399 | 1360 | This data is commonly the result of including an XPM file into a | |
| 1400 | 1361 | program's C source.</doc> | |
| 1401 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1402 | - | line="294"/> | |
| 1403 | - | <return-value transfer-ownership="full"> | |
| 1362 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="294"/> | |
| 1363 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 1404 | 1364 | <doc xml:space="preserve" | |
| 1405 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1365 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1406 | 1366 | line="2157">A newly-created pixbuf</doc> | |
| 1407 | 1367 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1408 | 1368 | </return-value> | |
| 1409 | 1369 | <parameters> | |
| 1410 | 1370 | <parameter name="data" transfer-ownership="none"> | |
| 1411 | 1371 | <doc xml:space="preserve" | |
| 1412 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1372 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1413 | 1373 | line="2150">Pointer to inline XPM data.</doc> | |
| 1414 | 1374 | <array c:type="const char**"> | |
| 1415 | 1375 | <type name="utf8" c:type="char*"/> | |
| @@ -1421,48 +1381,47 @@ program's C source.</doc> | |||
| 1421 | 1381 | c:identifier="gdk_pixbuf_calculate_rowstride" | |
| 1422 | 1382 | version="2.36.8"> | |
| 1423 | 1383 | <doc xml:space="preserve" | |
| 1424 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1384 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1425 | 1385 | line="557">Calculates the rowstride that an image created with those values would | |
| 1426 | 1386 | have. | |
| 1427 | 1387 | ||
| 1428 | 1388 | This function is useful for front-ends and backends that want to check | |
| 1429 | 1389 | image values without needing to create a `GdkPixbuf`.</doc> | |
| 1430 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1431 | - | line="210"/> | |
| 1390 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="210"/> | |
| 1432 | 1391 | <return-value transfer-ownership="none"> | |
| 1433 | 1392 | <doc xml:space="preserve" | |
| 1434 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1393 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1435 | 1394 | line="571">the rowstride for the given values, or -1 in case of error.</doc> | |
| 1436 | 1395 | <type name="gint" c:type="gint"/> | |
| 1437 | 1396 | </return-value> | |
| 1438 | 1397 | <parameters> | |
| 1439 | 1398 | <parameter name="colorspace" transfer-ownership="none"> | |
| 1440 | 1399 | <doc xml:space="preserve" | |
| 1441 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1400 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1442 | 1401 | line="559">Color space for image</doc> | |
| 1443 | 1402 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 1444 | 1403 | </parameter> | |
| 1445 | 1404 | <parameter name="has_alpha" transfer-ownership="none"> | |
| 1446 | 1405 | <doc xml:space="preserve" | |
| 1447 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1406 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1448 | 1407 | line="560">Whether the image should have transparency information</doc> | |
| 1449 | 1408 | <type name="gboolean" c:type="gboolean"/> | |
| 1450 | 1409 | </parameter> | |
| 1451 | 1410 | <parameter name="bits_per_sample" transfer-ownership="none"> | |
| 1452 | 1411 | <doc xml:space="preserve" | |
| 1453 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1412 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1454 | 1413 | line="561">Number of bits per color sample</doc> | |
| 1455 | 1414 | <type name="gint" c:type="int"/> | |
| 1456 | 1415 | </parameter> | |
| 1457 | 1416 | <parameter name="width" transfer-ownership="none"> | |
| 1458 | 1417 | <doc xml:space="preserve" | |
| 1459 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1418 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1460 | 1419 | line="562">Width of image in pixels, must be > 0</doc> | |
| 1461 | 1420 | <type name="gint" c:type="int"/> | |
| 1462 | 1421 | </parameter> | |
| 1463 | 1422 | <parameter name="height" transfer-ownership="none"> | |
| 1464 | 1423 | <doc xml:space="preserve" | |
| 1465 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 1424 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 1466 | 1425 | line="563">Height of image in pixels, must be > 0</doc> | |
| 1467 | 1426 | <type name="gint" c:type="int"/> | |
| 1468 | 1427 | </parameter> | |
| @@ -1470,14 +1429,15 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1470 | 1429 | </function> | |
| 1471 | 1430 | <function name="get_file_info" | |
| 1472 | 1431 | c:identifier="gdk_pixbuf_get_file_info" | |
| 1473 | - | version="2.4"> | |
| 1432 | + | version="2.4" | |
| 1433 | + | glib:async-func="get_file_info_async"> | |
| 1474 | 1434 | <doc xml:space="preserve" | |
| 1475 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1435 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1476 | 1436 | line="1964">Parses an image file far enough to determine its format and size.</doc> | |
| 1477 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="77"/> | |
| 1437 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="77"/> | |
| 1478 | 1438 | <return-value transfer-ownership="none" nullable="1"> | |
| 1479 | 1439 | <doc xml:space="preserve" | |
| 1480 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1440 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1481 | 1441 | line="1972">A `GdkPixbufFormat` describing | |
| 1482 | 1442 | the image format of the file</doc> | |
| 1483 | 1443 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| @@ -1485,7 +1445,7 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1485 | 1445 | <parameters> | |
| 1486 | 1446 | <parameter name="filename" transfer-ownership="none"> | |
| 1487 | 1447 | <doc xml:space="preserve" | |
| 1488 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1448 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1489 | 1449 | line="1966">The name of the file to identify.</doc> | |
| 1490 | 1450 | <type name="filename" c:type="const gchar*"/> | |
| 1491 | 1451 | </parameter> | |
| @@ -1496,7 +1456,7 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1496 | 1456 | optional="1" | |
| 1497 | 1457 | allow-none="1"> | |
| 1498 | 1458 | <doc xml:space="preserve" | |
| 1499 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1459 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1500 | 1460 | line="1967">Return location for the width of the image</doc> | |
| 1501 | 1461 | <type name="gint" c:type="gint*"/> | |
| 1502 | 1462 | </parameter> | |
| @@ -1507,7 +1467,7 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1507 | 1467 | optional="1" | |
| 1508 | 1468 | allow-none="1"> | |
| 1509 | 1469 | <doc xml:space="preserve" | |
| 1510 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1470 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1511 | 1471 | line="1968">Return location for the height of the image</doc> | |
| 1512 | 1472 | <type name="gint" c:type="gint*"/> | |
| 1513 | 1473 | </parameter> | |
| @@ -1515,9 +1475,11 @@ image values without needing to create a `GdkPixbuf`.</doc> | |||
| 1515 | 1475 | </function> | |
| 1516 | 1476 | <function name="get_file_info_async" | |
| 1517 | 1477 | c:identifier="gdk_pixbuf_get_file_info_async" | |
| 1518 | - | version="2.32"> | |
| 1478 | + | version="2.32" | |
| 1479 | + | glib:finish-func="get_file_info_finish" | |
| 1480 | + | glib:sync-func="get_file_info"> | |
| 1519 | 1481 | <doc xml:space="preserve" | |
| 1520 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1482 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1521 | 1483 | line="2062">Asynchronously parses an image file far enough to determine its | |
| 1522 | 1484 | format and size. | |
| 1523 | 1485 | ||
| @@ -1527,14 +1489,14 @@ version of this function. | |||
| 1527 | 1489 | When the operation is finished, @callback will be called in the | |
| 1528 | 1490 | main thread. You can then call gdk_pixbuf_get_file_info_finish() to | |
| 1529 | 1491 | get the result of the operation.</doc> | |
| 1530 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="81"/> | |
| 1492 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="81"/> | |
| 1531 | 1493 | <return-value transfer-ownership="none"> | |
| 1532 | 1494 | <type name="none" c:type="void"/> | |
| 1533 | 1495 | </return-value> | |
| 1534 | 1496 | <parameters> | |
| 1535 | 1497 | <parameter name="filename" transfer-ownership="none"> | |
| 1536 | 1498 | <doc xml:space="preserve" | |
| 1537 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1499 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1538 | 1500 | line="2064">The name of the file to identify</doc> | |
| 1539 | 1501 | <type name="filename" c:type="const gchar*"/> | |
| 1540 | 1502 | </parameter> | |
| @@ -1543,7 +1505,7 @@ get the result of the operation.</doc> | |||
| 1543 | 1505 | nullable="1" | |
| 1544 | 1506 | allow-none="1"> | |
| 1545 | 1507 | <doc xml:space="preserve" | |
| 1546 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1508 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1547 | 1509 | line="2065">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1548 | 1510 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1549 | 1511 | </parameter> | |
| @@ -1554,7 +1516,7 @@ get the result of the operation.</doc> | |||
| 1554 | 1516 | scope="async" | |
| 1555 | 1517 | closure="3"> | |
| 1556 | 1518 | <doc xml:space="preserve" | |
| 1557 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1519 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1558 | 1520 | line="2066">a `GAsyncReadyCallback` to call when the file info is available</doc> | |
| 1559 | 1521 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 1560 | 1522 | </parameter> | |
| @@ -1563,7 +1525,7 @@ get the result of the operation.</doc> | |||
| 1563 | 1525 | nullable="1" | |
| 1564 | 1526 | allow-none="1"> | |
| 1565 | 1527 | <doc xml:space="preserve" | |
| 1566 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1528 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1567 | 1529 | line="2067">the data to pass to the callback function</doc> | |
| 1568 | 1530 | <type name="gpointer" c:type="gpointer"/> | |
| 1569 | 1531 | </parameter> | |
| @@ -1574,13 +1536,13 @@ get the result of the operation.</doc> | |||
| 1574 | 1536 | version="2.32" | |
| 1575 | 1537 | throws="1"> | |
| 1576 | 1538 | <doc xml:space="preserve" | |
| 1577 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1539 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1578 | 1540 | line="2105">Finishes an asynchronous pixbuf parsing operation started with | |
| 1579 | 1541 | gdk_pixbuf_get_file_info_async().</doc> | |
| 1580 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="86"/> | |
| 1542 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="86"/> | |
| 1581 | 1543 | <return-value transfer-ownership="none" nullable="1"> | |
| 1582 | 1544 | <doc xml:space="preserve" | |
| 1583 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1545 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1584 | 1546 | line="2115">A `GdkPixbufFormat` describing the | |
| 1585 | 1547 | image format of the file</doc> | |
| 1586 | 1548 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| @@ -1588,7 +1550,7 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1588 | 1550 | <parameters> | |
| 1589 | 1551 | <parameter name="async_result" transfer-ownership="none"> | |
| 1590 | 1552 | <doc xml:space="preserve" | |
| 1591 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1553 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1592 | 1554 | line="2107">a `GAsyncResult`</doc> | |
| 1593 | 1555 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 1594 | 1556 | </parameter> | |
| @@ -1597,7 +1559,7 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1597 | 1559 | caller-allocates="0" | |
| 1598 | 1560 | transfer-ownership="full"> | |
| 1599 | 1561 | <doc xml:space="preserve" | |
| 1600 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1562 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1601 | 1563 | line="2108">Return location for the width of the image, or `NULL`</doc> | |
| 1602 | 1564 | <type name="gint" c:type="gint*"/> | |
| 1603 | 1565 | </parameter> | |
| @@ -1606,7 +1568,7 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1606 | 1568 | caller-allocates="0" | |
| 1607 | 1569 | transfer-ownership="full"> | |
| 1608 | 1570 | <doc xml:space="preserve" | |
| 1609 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1571 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1610 | 1572 | line="2109">Return location for the height of the image, or `NULL`</doc> | |
| 1611 | 1573 | <type name="gint" c:type="gint*"/> | |
| 1612 | 1574 | </parameter> | |
| @@ -1616,13 +1578,13 @@ gdk_pixbuf_get_file_info_async().</doc> | |||
| 1616 | 1578 | c:identifier="gdk_pixbuf_get_formats" | |
| 1617 | 1579 | version="2.2"> | |
| 1618 | 1580 | <doc xml:space="preserve" | |
| 1619 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1581 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1620 | 1582 | line="3426">Obtains the available information about the image formats supported | |
| 1621 | 1583 | by GdkPixbuf.</doc> | |
| 1622 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="52"/> | |
| 1584 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="52"/> | |
| 1623 | 1585 | <return-value transfer-ownership="container"> | |
| 1624 | 1586 | <doc xml:space="preserve" | |
| 1625 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1587 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1626 | 1588 | line="3432">A list of | |
| 1627 | 1589 | support image formats.</doc> | |
| 1628 | 1590 | <type name="GLib.SList" c:type="GSList*"> | |
| @@ -1635,7 +1597,7 @@ by GdkPixbuf.</doc> | |||
| 1635 | 1597 | version="2.40" | |
| 1636 | 1598 | throws="1"> | |
| 1637 | 1599 | <doc xml:space="preserve" | |
| 1638 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1600 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1639 | 1601 | line="561">Initalizes the gdk-pixbuf loader modules referenced by the `loaders.cache` | |
| 1640 | 1602 | file present inside that directory. | |
| 1641 | 1603 | ||
| @@ -1649,14 +1611,14 @@ broader image file types coverage, such as image viewers, would be | |||
| 1649 | 1611 | expected to ship the gdk-pixbuf modules in a separate location, bundled | |
| 1650 | 1612 | with the application in a separate directory from the OS or runtime- | |
| 1651 | 1613 | provided modules.</doc> | |
| 1652 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="45"/> | |
| 1614 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="45"/> | |
| 1653 | 1615 | <return-value transfer-ownership="none"> | |
| 1654 | 1616 | <type name="gboolean" c:type="gboolean"/> | |
| 1655 | 1617 | </return-value> | |
| 1656 | 1618 | <parameters> | |
| 1657 | 1619 | <parameter name="path" transfer-ownership="none"> | |
| 1658 | 1620 | <doc xml:space="preserve" | |
| 1659 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1621 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1660 | 1622 | line="563">Path to directory where the `loaders.cache` is installed</doc> | |
| 1661 | 1623 | <type name="utf8" c:type="const char*"/> | |
| 1662 | 1624 | </parameter> | |
| @@ -1664,9 +1626,10 @@ provided modules.</doc> | |||
| 1664 | 1626 | </function> | |
| 1665 | 1627 | <function name="new_from_stream_async" | |
| 1666 | 1628 | c:identifier="gdk_pixbuf_new_from_stream_async" | |
| 1667 | - | version="2.24"> | |
| 1629 | + | version="2.24" | |
| 1630 | + | glib:finish-func="new_from_stream_finish"> | |
| 1668 | 1631 | <doc xml:space="preserve" | |
| 1669 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1632 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1670 | 1633 | line="1872">Creates a new pixbuf by asynchronously loading an image from an input stream. | |
| 1671 | 1634 | ||
| 1672 | 1635 | For more details see gdk_pixbuf_new_from_stream(), which is the synchronous | |
| @@ -1675,15 +1638,14 @@ version of this function. | |||
| 1675 | 1638 | When the operation is finished, @callback will be called in the main thread. | |
| 1676 | 1639 | You can then call gdk_pixbuf_new_from_stream_finish() to get the result of | |
| 1677 | 1640 | the operation.</doc> | |
| 1678 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1679 | - | line="414"/> | |
| 1641 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="414"/> | |
| 1680 | 1642 | <return-value transfer-ownership="none"> | |
| 1681 | 1643 | <type name="none" c:type="void"/> | |
| 1682 | 1644 | </return-value> | |
| 1683 | 1645 | <parameters> | |
| 1684 | 1646 | <parameter name="stream" transfer-ownership="none"> | |
| 1685 | 1647 | <doc xml:space="preserve" | |
| 1686 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1648 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1687 | 1649 | line="1874">a `GInputStream` from which to load the pixbuf</doc> | |
| 1688 | 1650 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1689 | 1651 | </parameter> | |
| @@ -1692,7 +1654,7 @@ the operation.</doc> | |||
| 1692 | 1654 | nullable="1" | |
| 1693 | 1655 | allow-none="1"> | |
| 1694 | 1656 | <doc xml:space="preserve" | |
| 1695 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1657 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1696 | 1658 | line="1875">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1697 | 1659 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1698 | 1660 | </parameter> | |
| @@ -1703,7 +1665,7 @@ the operation.</doc> | |||
| 1703 | 1665 | scope="async" | |
| 1704 | 1666 | closure="3"> | |
| 1705 | 1667 | <doc xml:space="preserve" | |
| 1706 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1668 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1707 | 1669 | line="1876">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 1708 | 1670 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 1709 | 1671 | </parameter> | |
| @@ -1712,7 +1674,7 @@ the operation.</doc> | |||
| 1712 | 1674 | nullable="1" | |
| 1713 | 1675 | allow-none="1"> | |
| 1714 | 1676 | <doc xml:space="preserve" | |
| 1715 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1677 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1716 | 1678 | line="1877">the data to pass to the callback function</doc> | |
| 1717 | 1679 | <type name="gpointer" c:type="gpointer"/> | |
| 1718 | 1680 | </parameter> | |
| @@ -1722,7 +1684,7 @@ the operation.</doc> | |||
| 1722 | 1684 | c:identifier="gdk_pixbuf_new_from_stream_at_scale_async" | |
| 1723 | 1685 | version="2.24"> | |
| 1724 | 1686 | <doc xml:space="preserve" | |
| 1725 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1687 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1726 | 1688 | line="1655">Creates a new pixbuf by asynchronously loading an image from an input stream. | |
| 1727 | 1689 | ||
| 1728 | 1690 | For more details see gdk_pixbuf_new_from_stream_at_scale(), which is the synchronous | |
| @@ -1730,33 +1692,32 @@ version of this function. | |||
| 1730 | 1692 | ||
| 1731 | 1693 | When the operation is finished, @callback will be called in the main thread. | |
| 1732 | 1694 | You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the operation.</doc> | |
| 1733 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1734 | - | line="432"/> | |
| 1695 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="432"/> | |
| 1735 | 1696 | <return-value transfer-ownership="none"> | |
| 1736 | 1697 | <type name="none" c:type="void"/> | |
| 1737 | 1698 | </return-value> | |
| 1738 | 1699 | <parameters> | |
| 1739 | 1700 | <parameter name="stream" transfer-ownership="none"> | |
| 1740 | 1701 | <doc xml:space="preserve" | |
| 1741 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1702 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1742 | 1703 | line="1657">a `GInputStream` from which to load the pixbuf</doc> | |
| 1743 | 1704 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 1744 | 1705 | </parameter> | |
| 1745 | 1706 | <parameter name="width" transfer-ownership="none"> | |
| 1746 | 1707 | <doc xml:space="preserve" | |
| 1747 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1708 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1748 | 1709 | line="1658">the width the image should have or -1 to not constrain the width</doc> | |
| 1749 | 1710 | <type name="gint" c:type="gint"/> | |
| 1750 | 1711 | </parameter> | |
| 1751 | 1712 | <parameter name="height" transfer-ownership="none"> | |
| 1752 | 1713 | <doc xml:space="preserve" | |
| 1753 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1714 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1754 | 1715 | line="1659">the height the image should have or -1 to not constrain the height</doc> | |
| 1755 | 1716 | <type name="gint" c:type="gint"/> | |
| 1756 | 1717 | </parameter> | |
| 1757 | 1718 | <parameter name="preserve_aspect_ratio" transfer-ownership="none"> | |
| 1758 | 1719 | <doc xml:space="preserve" | |
| 1759 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1720 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1760 | 1721 | line="1660">`TRUE` to preserve the image's aspect ratio</doc> | |
| 1761 | 1722 | <type name="gboolean" c:type="gboolean"/> | |
| 1762 | 1723 | </parameter> | |
| @@ -1765,7 +1726,7 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1765 | 1726 | nullable="1" | |
| 1766 | 1727 | allow-none="1"> | |
| 1767 | 1728 | <doc xml:space="preserve" | |
| 1768 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1729 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1769 | 1730 | line="1661">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 1770 | 1731 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 1771 | 1732 | </parameter> | |
| @@ -1776,7 +1737,7 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1776 | 1737 | scope="async" | |
| 1777 | 1738 | closure="6"> | |
| 1778 | 1739 | <doc xml:space="preserve" | |
| 1779 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1740 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1780 | 1741 | line="1662">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 1781 | 1742 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 1782 | 1743 | </parameter> | |
| @@ -1785,7 +1746,7 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1785 | 1746 | nullable="1" | |
| 1786 | 1747 | allow-none="1"> | |
| 1787 | 1748 | <doc xml:space="preserve" | |
| 1788 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1749 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1789 | 1750 | line="1663">the data to pass to the callback function</doc> | |
| 1790 | 1751 | <type name="gpointer" c:type="gpointer"/> | |
| 1791 | 1752 | </parameter> | |
| @@ -1796,21 +1757,20 @@ You can then call gdk_pixbuf_new_from_stream_finish() to get the result of the o | |||
| 1796 | 1757 | version="2.24" | |
| 1797 | 1758 | throws="1"> | |
| 1798 | 1759 | <doc xml:space="preserve" | |
| 1799 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1760 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1800 | 1761 | line="3199">Finishes an asynchronous pixbuf save operation started with | |
| 1801 | 1762 | gdk_pixbuf_save_to_stream_async().</doc> | |
| 1802 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1803 | - | line="458"/> | |
| 1763 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="458"/> | |
| 1804 | 1764 | <return-value transfer-ownership="none"> | |
| 1805 | 1765 | <doc xml:space="preserve" | |
| 1806 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1766 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1807 | 1767 | line="3207">`TRUE` if the pixbuf was saved successfully, `FALSE` if an error was set.</doc> | |
| 1808 | 1768 | <type name="gboolean" c:type="gboolean"/> | |
| 1809 | 1769 | </return-value> | |
| 1810 | 1770 | <parameters> | |
| 1811 | 1771 | <parameter name="async_result" transfer-ownership="none"> | |
| 1812 | 1772 | <doc xml:space="preserve" | |
| 1813 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1773 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 1814 | 1774 | line="3201">a `GAsyncResult`</doc> | |
| 1815 | 1775 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 1816 | 1776 | </parameter> | |
| @@ -1818,7 +1778,7 @@ gdk_pixbuf_save_to_stream_async().</doc> | |||
| 1818 | 1778 | </function> | |
| 1819 | 1779 | <method name="add_alpha" c:identifier="gdk_pixbuf_add_alpha"> | |
| 1820 | 1780 | <doc xml:space="preserve" | |
| 1821 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1781 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1822 | 1782 | line="29">Takes an existing pixbuf and adds an alpha channel to it. | |
| 1823 | 1783 | ||
| 1824 | 1784 | If the existing pixbuf already had an alpha channel, the channel | |
| @@ -1832,42 +1792,41 @@ pixels will become fully transparent. | |||
| 1832 | 1792 | ||
| 1833 | 1793 | If `substitute_color` is `FALSE`, then the (`r`, `g`, `b`) arguments | |
| 1834 | 1794 | will be ignored.</doc> | |
| 1835 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1836 | - | line="482"/> | |
| 1837 | - | <return-value transfer-ownership="full"> | |
| 1795 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="482"/> | |
| 1796 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 1838 | 1797 | <doc xml:space="preserve" | |
| 1839 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1798 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1840 | 1799 | line="51">A newly-created pixbuf</doc> | |
| 1841 | 1800 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1842 | 1801 | </return-value> | |
| 1843 | 1802 | <parameters> | |
| 1844 | 1803 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 1845 | 1804 | <doc xml:space="preserve" | |
| 1846 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1805 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1847 | 1806 | line="31">A #GdkPixbuf.</doc> | |
| 1848 | 1807 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 1849 | 1808 | </instance-parameter> | |
| 1850 | 1809 | <parameter name="substitute_color" transfer-ownership="none"> | |
| 1851 | 1810 | <doc xml:space="preserve" | |
| 1852 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1811 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1853 | 1812 | line="32">Whether to set a color to zero opacity.</doc> | |
| 1854 | 1813 | <type name="gboolean" c:type="gboolean"/> | |
| 1855 | 1814 | </parameter> | |
| 1856 | 1815 | <parameter name="r" transfer-ownership="none"> | |
| 1857 | 1816 | <doc xml:space="preserve" | |
| 1858 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1817 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1859 | 1818 | line="33">Red value to substitute.</doc> | |
| 1860 | 1819 | <type name="guint8" c:type="guchar"/> | |
| 1861 | 1820 | </parameter> | |
| 1862 | 1821 | <parameter name="g" transfer-ownership="none"> | |
| 1863 | 1822 | <doc xml:space="preserve" | |
| 1864 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1823 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1865 | 1824 | line="34">Green value to substitute.</doc> | |
| 1866 | 1825 | <type name="guint8" c:type="guchar"/> | |
| 1867 | 1826 | </parameter> | |
| 1868 | 1827 | <parameter name="b" transfer-ownership="none"> | |
| 1869 | 1828 | <doc xml:space="preserve" | |
| 1870 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1829 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1871 | 1830 | line="35">Blue value to substitute.</doc> | |
| 1872 | 1831 | <type name="guint8" c:type="guchar"/> | |
| 1873 | 1832 | </parameter> | |
| @@ -1877,7 +1836,7 @@ will be ignored.</doc> | |||
| 1877 | 1836 | c:identifier="gdk_pixbuf_apply_embedded_orientation" | |
| 1878 | 1837 | version="2.12"> | |
| 1879 | 1838 | <doc xml:space="preserve" | |
| 1880 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1839 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1881 | 1840 | line="273">Takes an existing pixbuf and checks for the presence of an | |
| 1882 | 1841 | associated "orientation" option. | |
| 1883 | 1842 | ||
| @@ -1888,18 +1847,17 @@ transforms performed by libtiff). | |||
| 1888 | 1847 | ||
| 1889 | 1848 | If an orientation option/tag is present, the appropriate transform | |
| 1890 | 1849 | will be performed so that the pixbuf is oriented correctly.</doc> | |
| 1891 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 1892 | - | line="502"/> | |
| 1850 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="502"/> | |
| 1893 | 1851 | <return-value transfer-ownership="full" nullable="1"> | |
| 1894 | 1852 | <doc xml:space="preserve" | |
| 1895 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1853 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1896 | 1854 | line="288">A newly-created pixbuf</doc> | |
| 1897 | 1855 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1898 | 1856 | </return-value> | |
| 1899 | 1857 | <parameters> | |
| 1900 | 1858 | <instance-parameter name="src" transfer-ownership="none"> | |
| 1901 | 1859 | <doc xml:space="preserve" | |
| 1902 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1860 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 1903 | 1861 | line="275">a pixbuf with an orientation option</doc> | |
| 1904 | 1862 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1905 | 1863 | </instance-parameter> | |
| @@ -1907,7 +1865,7 @@ will be performed so that the pixbuf is oriented correctly.</doc> | |||
| 1907 | 1865 | </method> | |
| 1908 | 1866 | <method name="composite" c:identifier="gdk_pixbuf_composite"> | |
| 1909 | 1867 | <doc xml:space="preserve" | |
| 1910 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1868 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1911 | 1869 | line="91">Creates a transformation of the source image @src by scaling by | |
| 1912 | 1870 | @scale_x and @scale_y then translating by @offset_x and @offset_y. | |
| 1913 | 1871 | ||
| @@ -1921,7 +1879,7 @@ image, the data at the edges of the source image is replicated | |||
| 1921 | 1879 | to infinity. | |
| 1922 | 1880 | ||
| 1923 | 1881 | </doc> | |
| 1924 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 1882 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 1925 | 1883 | line="111"/> | |
| 1926 | 1884 | <return-value transfer-ownership="none"> | |
| 1927 | 1885 | <type name="none" c:type="void"/> | |
| @@ -1929,73 +1887,73 @@ to infinity. | |||
| 1929 | 1887 | <parameters> | |
| 1930 | 1888 | <instance-parameter name="src" transfer-ownership="none"> | |
| 1931 | 1889 | <doc xml:space="preserve" | |
| 1932 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1890 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1933 | 1891 | line="93">a #GdkPixbuf</doc> | |
| 1934 | 1892 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 1935 | 1893 | </instance-parameter> | |
| 1936 | 1894 | <parameter name="dest" transfer-ownership="none"> | |
| 1937 | 1895 | <doc xml:space="preserve" | |
| 1938 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1896 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1939 | 1897 | line="94">the #GdkPixbuf into which to render the results</doc> | |
| 1940 | 1898 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 1941 | 1899 | </parameter> | |
| 1942 | 1900 | <parameter name="dest_x" transfer-ownership="none"> | |
| 1943 | 1901 | <doc xml:space="preserve" | |
| 1944 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1902 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1945 | 1903 | line="95">the left coordinate for region to render</doc> | |
| 1946 | 1904 | <type name="gint" c:type="int"/> | |
| 1947 | 1905 | </parameter> | |
| 1948 | 1906 | <parameter name="dest_y" transfer-ownership="none"> | |
| 1949 | 1907 | <doc xml:space="preserve" | |
| 1950 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1908 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1951 | 1909 | line="96">the top coordinate for region to render</doc> | |
| 1952 | 1910 | <type name="gint" c:type="int"/> | |
| 1953 | 1911 | </parameter> | |
| 1954 | 1912 | <parameter name="dest_width" transfer-ownership="none"> | |
| 1955 | 1913 | <doc xml:space="preserve" | |
| 1956 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1914 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1957 | 1915 | line="97">the width of the region to render</doc> | |
| 1958 | 1916 | <type name="gint" c:type="int"/> | |
| 1959 | 1917 | </parameter> | |
| 1960 | 1918 | <parameter name="dest_height" transfer-ownership="none"> | |
| 1961 | 1919 | <doc xml:space="preserve" | |
| 1962 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1920 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1963 | 1921 | line="98">the height of the region to render</doc> | |
| 1964 | 1922 | <type name="gint" c:type="int"/> | |
| 1965 | 1923 | </parameter> | |
| 1966 | 1924 | <parameter name="offset_x" transfer-ownership="none"> | |
| 1967 | 1925 | <doc xml:space="preserve" | |
| 1968 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1926 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1969 | 1927 | line="99">the offset in the X direction (currently rounded to an integer)</doc> | |
| 1970 | 1928 | <type name="gdouble" c:type="double"/> | |
| 1971 | 1929 | </parameter> | |
| 1972 | 1930 | <parameter name="offset_y" transfer-ownership="none"> | |
| 1973 | 1931 | <doc xml:space="preserve" | |
| 1974 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1932 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1975 | 1933 | line="100">the offset in the Y direction (currently rounded to an integer)</doc> | |
| 1976 | 1934 | <type name="gdouble" c:type="double"/> | |
| 1977 | 1935 | </parameter> | |
| 1978 | 1936 | <parameter name="scale_x" transfer-ownership="none"> | |
| 1979 | 1937 | <doc xml:space="preserve" | |
| 1980 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1938 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1981 | 1939 | line="101">the scale factor in the X direction</doc> | |
| 1982 | 1940 | <type name="gdouble" c:type="double"/> | |
| 1983 | 1941 | </parameter> | |
| 1984 | 1942 | <parameter name="scale_y" transfer-ownership="none"> | |
| 1985 | 1943 | <doc xml:space="preserve" | |
| 1986 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1944 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1987 | 1945 | line="102">the scale factor in the Y direction</doc> | |
| 1988 | 1946 | <type name="gdouble" c:type="double"/> | |
| 1989 | 1947 | </parameter> | |
| 1990 | 1948 | <parameter name="interp_type" transfer-ownership="none"> | |
| 1991 | 1949 | <doc xml:space="preserve" | |
| 1992 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1950 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1993 | 1951 | line="103">the interpolation type for the transformation.</doc> | |
| 1994 | 1952 | <type name="InterpType" c:type="GdkInterpType"/> | |
| 1995 | 1953 | </parameter> | |
| 1996 | 1954 | <parameter name="overall_alpha" transfer-ownership="none"> | |
| 1997 | 1955 | <doc xml:space="preserve" | |
| 1998 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1956 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1999 | 1957 | line="104">overall alpha for source image (0..255)</doc> | |
| 2000 | 1958 | <type name="gint" c:type="int"/> | |
| 2001 | 1959 | </parameter> | |
| @@ -2003,7 +1961,7 @@ to infinity. | |||
| 2003 | 1961 | </method> | |
| 2004 | 1962 | <method name="composite_color" c:identifier="gdk_pixbuf_composite_color"> | |
| 2005 | 1963 | <doc xml:space="preserve" | |
| 2006 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1964 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2007 | 1965 | line="158">Creates a transformation of the source image @src by scaling by | |
| 2008 | 1966 | @scale_x and @scale_y then translating by @offset_x and @offset_y, | |
| 2009 | 1967 | then alpha blends the rectangle (@dest_x ,@dest_y, @dest_width, | |
| @@ -2016,7 +1974,7 @@ path is used which omits the alpha blending and just performs the scaling. | |||
| 2016 | 1974 | ||
| 2017 | 1975 | See gdk_pixbuf_composite_color_simple() for a simpler variant of this | |
| 2018 | 1976 | function suitable for many tasks.</doc> | |
| 2019 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 1977 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2020 | 1978 | line="124"/> | |
| 2021 | 1979 | <return-value transfer-ownership="none"> | |
| 2022 | 1980 | <type name="none" c:type="void"/> | |
| @@ -2024,103 +1982,103 @@ function suitable for many tasks.</doc> | |||
| 2024 | 1982 | <parameters> | |
| 2025 | 1983 | <instance-parameter name="src" transfer-ownership="none"> | |
| 2026 | 1984 | <doc xml:space="preserve" | |
| 2027 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1985 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2028 | 1986 | line="160">a #GdkPixbuf</doc> | |
| 2029 | 1987 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2030 | 1988 | </instance-parameter> | |
| 2031 | 1989 | <parameter name="dest" transfer-ownership="none"> | |
| 2032 | 1990 | <doc xml:space="preserve" | |
| 2033 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1991 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2034 | 1992 | line="161">the #GdkPixbuf into which to render the results</doc> | |
| 2035 | 1993 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2036 | 1994 | </parameter> | |
| 2037 | 1995 | <parameter name="dest_x" transfer-ownership="none"> | |
| 2038 | 1996 | <doc xml:space="preserve" | |
| 2039 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 1997 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2040 | 1998 | line="162">the left coordinate for region to render</doc> | |
| 2041 | 1999 | <type name="gint" c:type="int"/> | |
| 2042 | 2000 | </parameter> | |
| 2043 | 2001 | <parameter name="dest_y" transfer-ownership="none"> | |
| 2044 | 2002 | <doc xml:space="preserve" | |
| 2045 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2003 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2046 | 2004 | line="163">the top coordinate for region to render</doc> | |
| 2047 | 2005 | <type name="gint" c:type="int"/> | |
| 2048 | 2006 | </parameter> | |
| 2049 | 2007 | <parameter name="dest_width" transfer-ownership="none"> | |
| 2050 | 2008 | <doc xml:space="preserve" | |
| 2051 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2009 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2052 | 2010 | line="164">the width of the region to render</doc> | |
| 2053 | 2011 | <type name="gint" c:type="int"/> | |
| 2054 | 2012 | </parameter> | |
| 2055 | 2013 | <parameter name="dest_height" transfer-ownership="none"> | |
| 2056 | 2014 | <doc xml:space="preserve" | |
| 2057 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2015 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2058 | 2016 | line="165">the height of the region to render</doc> | |
| 2059 | 2017 | <type name="gint" c:type="int"/> | |
| 2060 | 2018 | </parameter> | |
| 2061 | 2019 | <parameter name="offset_x" transfer-ownership="none"> | |
| 2062 | 2020 | <doc xml:space="preserve" | |
| 2063 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2021 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2064 | 2022 | line="166">the offset in the X direction (currently rounded to an integer)</doc> | |
| 2065 | 2023 | <type name="gdouble" c:type="double"/> | |
| 2066 | 2024 | </parameter> | |
| 2067 | 2025 | <parameter name="offset_y" transfer-ownership="none"> | |
| 2068 | 2026 | <doc xml:space="preserve" | |
| 2069 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2027 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2070 | 2028 | line="167">the offset in the Y direction (currently rounded to an integer)</doc> | |
| 2071 | 2029 | <type name="gdouble" c:type="double"/> | |
| 2072 | 2030 | </parameter> | |
| 2073 | 2031 | <parameter name="scale_x" transfer-ownership="none"> | |
| 2074 | 2032 | <doc xml:space="preserve" | |
| 2075 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2033 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2076 | 2034 | line="168">the scale factor in the X direction</doc> | |
| 2077 | 2035 | <type name="gdouble" c:type="double"/> | |
| 2078 | 2036 | </parameter> | |
| 2079 | 2037 | <parameter name="scale_y" transfer-ownership="none"> | |
| 2080 | 2038 | <doc xml:space="preserve" | |
| 2081 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2039 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2082 | 2040 | line="169">the scale factor in the Y direction</doc> | |
| 2083 | 2041 | <type name="gdouble" c:type="double"/> | |
| 2084 | 2042 | </parameter> | |
| 2085 | 2043 | <parameter name="interp_type" transfer-ownership="none"> | |
| 2086 | 2044 | <doc xml:space="preserve" | |
| 2087 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2045 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2088 | 2046 | line="170">the interpolation type for the transformation.</doc> | |
| 2089 | 2047 | <type name="InterpType" c:type="GdkInterpType"/> | |
| 2090 | 2048 | </parameter> | |
| 2091 | 2049 | <parameter name="overall_alpha" transfer-ownership="none"> | |
| 2092 | 2050 | <doc xml:space="preserve" | |
| 2093 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2051 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2094 | 2052 | line="171">overall alpha for source image (0..255)</doc> | |
| 2095 | 2053 | <type name="gint" c:type="int"/> | |
| 2096 | 2054 | </parameter> | |
| 2097 | 2055 | <parameter name="check_x" transfer-ownership="none"> | |
| 2098 | 2056 | <doc xml:space="preserve" | |
| 2099 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2057 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2100 | 2058 | line="172">the X offset for the checkboard (origin of checkboard is at -@check_x, -@check_y)</doc> | |
| 2101 | 2059 | <type name="gint" c:type="int"/> | |
| 2102 | 2060 | </parameter> | |
| 2103 | 2061 | <parameter name="check_y" transfer-ownership="none"> | |
| 2104 | 2062 | <doc xml:space="preserve" | |
| 2105 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2063 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2106 | 2064 | line="173">the Y offset for the checkboard</doc> | |
| 2107 | 2065 | <type name="gint" c:type="int"/> | |
| 2108 | 2066 | </parameter> | |
| 2109 | 2067 | <parameter name="check_size" transfer-ownership="none"> | |
| 2110 | 2068 | <doc xml:space="preserve" | |
| 2111 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2069 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2112 | 2070 | line="174">the size of checks in the checkboard (must be a power of two)</doc> | |
| 2113 | 2071 | <type name="gint" c:type="int"/> | |
| 2114 | 2072 | </parameter> | |
| 2115 | 2073 | <parameter name="color1" transfer-ownership="none"> | |
| 2116 | 2074 | <doc xml:space="preserve" | |
| 2117 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2075 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2118 | 2076 | line="175">the color of check at upper left</doc> | |
| 2119 | 2077 | <type name="guint32" c:type="guint32"/> | |
| 2120 | 2078 | </parameter> | |
| 2121 | 2079 | <parameter name="color2" transfer-ownership="none"> | |
| 2122 | 2080 | <doc xml:space="preserve" | |
| 2123 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2081 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2124 | 2082 | line="176">the color of the other check</doc> | |
| 2125 | 2083 | <type name="guint32" c:type="guint32"/> | |
| 2126 | 2084 | </parameter> | |
| @@ -2129,64 +2087,64 @@ function suitable for many tasks.</doc> | |||
| 2129 | 2087 | <method name="composite_color_simple" | |
| 2130 | 2088 | c:identifier="gdk_pixbuf_composite_color_simple"> | |
| 2131 | 2089 | <doc xml:space="preserve" | |
| 2132 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2090 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2133 | 2091 | line="292">Creates a new pixbuf by scaling `src` to `dest_width` x `dest_height` | |
| 2134 | 2092 | and alpha blending the result with a checkboard of colors `color1` | |
| 2135 | 2093 | and `color2`.</doc> | |
| 2136 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2094 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2137 | 2095 | line="149"/> | |
| 2138 | 2096 | <return-value transfer-ownership="full" nullable="1"> | |
| 2139 | 2097 | <doc xml:space="preserve" | |
| 2140 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2098 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2141 | 2099 | line="307">the new pixbuf</doc> | |
| 2142 | 2100 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2143 | 2101 | </return-value> | |
| 2144 | 2102 | <parameters> | |
| 2145 | 2103 | <instance-parameter name="src" transfer-ownership="none"> | |
| 2146 | 2104 | <doc xml:space="preserve" | |
| 2147 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2105 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2148 | 2106 | line="294">a #GdkPixbuf</doc> | |
| 2149 | 2107 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2150 | 2108 | </instance-parameter> | |
| 2151 | 2109 | <parameter name="dest_width" transfer-ownership="none"> | |
| 2152 | 2110 | <doc xml:space="preserve" | |
| 2153 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2111 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2154 | 2112 | line="295">the width of destination image</doc> | |
| 2155 | 2113 | <type name="gint" c:type="int"/> | |
| 2156 | 2114 | </parameter> | |
| 2157 | 2115 | <parameter name="dest_height" transfer-ownership="none"> | |
| 2158 | 2116 | <doc xml:space="preserve" | |
| 2159 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2117 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2160 | 2118 | line="296">the height of destination image</doc> | |
| 2161 | 2119 | <type name="gint" c:type="int"/> | |
| 2162 | 2120 | </parameter> | |
| 2163 | 2121 | <parameter name="interp_type" transfer-ownership="none"> | |
| 2164 | 2122 | <doc xml:space="preserve" | |
| 2165 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2123 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2166 | 2124 | line="297">the interpolation type for the transformation.</doc> | |
| 2167 | 2125 | <type name="InterpType" c:type="GdkInterpType"/> | |
| 2168 | 2126 | </parameter> | |
| 2169 | 2127 | <parameter name="overall_alpha" transfer-ownership="none"> | |
| 2170 | 2128 | <doc xml:space="preserve" | |
| 2171 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2129 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2172 | 2130 | line="298">overall alpha for source image (0..255)</doc> | |
| 2173 | 2131 | <type name="gint" c:type="int"/> | |
| 2174 | 2132 | </parameter> | |
| 2175 | 2133 | <parameter name="check_size" transfer-ownership="none"> | |
| 2176 | 2134 | <doc xml:space="preserve" | |
| 2177 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2135 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2178 | 2136 | line="299">the size of checks in the checkboard (must be a power of two)</doc> | |
| 2179 | 2137 | <type name="gint" c:type="int"/> | |
| 2180 | 2138 | </parameter> | |
| 2181 | 2139 | <parameter name="color1" transfer-ownership="none"> | |
| 2182 | 2140 | <doc xml:space="preserve" | |
| 2183 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2141 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2184 | 2142 | line="300">the color of check at upper left</doc> | |
| 2185 | 2143 | <type name="guint32" c:type="guint32"/> | |
| 2186 | 2144 | </parameter> | |
| 2187 | 2145 | <parameter name="color2" transfer-ownership="none"> | |
| 2188 | 2146 | <doc xml:space="preserve" | |
| 2189 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2147 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2190 | 2148 | line="301">the color of the other check</doc> | |
| 2191 | 2149 | <type name="guint32" c:type="guint32"/> | |
| 2192 | 2150 | </parameter> | |
| @@ -2194,24 +2152,23 @@ and `color2`.</doc> | |||
| 2194 | 2152 | </method> | |
| 2195 | 2153 | <method name="copy" c:identifier="gdk_pixbuf_copy"> | |
| 2196 | 2154 | <doc xml:space="preserve" | |
| 2197 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2155 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2198 | 2156 | line="643">Creates a new `GdkPixbuf` with a copy of the information in the specified | |
| 2199 | 2157 | `pixbuf`. | |
| 2200 | 2158 | ||
| 2201 | 2159 | Note that this does not copy the options set on the original `GdkPixbuf`, | |
| 2202 | 2160 | use gdk_pixbuf_copy_options() for this.</doc> | |
| 2203 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2204 | - | line="218"/> | |
| 2161 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="218"/> | |
| 2205 | 2162 | <return-value transfer-ownership="full" nullable="1"> | |
| 2206 | 2163 | <doc xml:space="preserve" | |
| 2207 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2164 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2208 | 2165 | line="653">A newly-created pixbuf</doc> | |
| 2209 | 2166 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2210 | 2167 | </return-value> | |
| 2211 | 2168 | <parameters> | |
| 2212 | 2169 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2213 | 2170 | <doc xml:space="preserve" | |
| 2214 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2171 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2215 | 2172 | line="645">A pixbuf.</doc> | |
| 2216 | 2173 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2217 | 2174 | </instance-parameter> | |
| @@ -2219,7 +2176,7 @@ use gdk_pixbuf_copy_options() for this.</doc> | |||
| 2219 | 2176 | </method> | |
| 2220 | 2177 | <method name="copy_area" c:identifier="gdk_pixbuf_copy_area"> | |
| 2221 | 2178 | <doc xml:space="preserve" | |
| 2222 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2179 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2223 | 2180 | line="121">Copies a rectangular area from `src_pixbuf` to `dest_pixbuf`. | |
| 2224 | 2181 | ||
| 2225 | 2182 | Conversion of pixbuf formats is done automatically. | |
| @@ -2227,57 +2184,56 @@ Conversion of pixbuf formats is done automatically. | |||
| 2227 | 2184 | If the source rectangle overlaps the destination rectangle on the | |
| 2228 | 2185 | same pixbuf, it will be overwritten during the copy operation. | |
| 2229 | 2186 | Therefore, you can not use this function to scroll a pixbuf.</doc> | |
| 2230 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2231 | - | line="487"/> | |
| 2187 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="487"/> | |
| 2232 | 2188 | <return-value transfer-ownership="none"> | |
| 2233 | 2189 | <type name="none" c:type="void"/> | |
| 2234 | 2190 | </return-value> | |
| 2235 | 2191 | <parameters> | |
| 2236 | 2192 | <instance-parameter name="src_pixbuf" transfer-ownership="none"> | |
| 2237 | 2193 | <doc xml:space="preserve" | |
| 2238 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2194 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2239 | 2195 | line="123">Source pixbuf.</doc> | |
| 2240 | 2196 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2241 | 2197 | </instance-parameter> | |
| 2242 | 2198 | <parameter name="src_x" transfer-ownership="none"> | |
| 2243 | 2199 | <doc xml:space="preserve" | |
| 2244 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2200 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2245 | 2201 | line="124">Source X coordinate within @src_pixbuf.</doc> | |
| 2246 | 2202 | <type name="gint" c:type="int"/> | |
| 2247 | 2203 | </parameter> | |
| 2248 | 2204 | <parameter name="src_y" transfer-ownership="none"> | |
| 2249 | 2205 | <doc xml:space="preserve" | |
| 2250 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2206 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2251 | 2207 | line="125">Source Y coordinate within @src_pixbuf.</doc> | |
| 2252 | 2208 | <type name="gint" c:type="int"/> | |
| 2253 | 2209 | </parameter> | |
| 2254 | 2210 | <parameter name="width" transfer-ownership="none"> | |
| 2255 | 2211 | <doc xml:space="preserve" | |
| 2256 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2212 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2257 | 2213 | line="126">Width of the area to copy.</doc> | |
| 2258 | 2214 | <type name="gint" c:type="int"/> | |
| 2259 | 2215 | </parameter> | |
| 2260 | 2216 | <parameter name="height" transfer-ownership="none"> | |
| 2261 | 2217 | <doc xml:space="preserve" | |
| 2262 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2218 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2263 | 2219 | line="127">Height of the area to copy.</doc> | |
| 2264 | 2220 | <type name="gint" c:type="int"/> | |
| 2265 | 2221 | </parameter> | |
| 2266 | 2222 | <parameter name="dest_pixbuf" transfer-ownership="none"> | |
| 2267 | 2223 | <doc xml:space="preserve" | |
| 2268 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2224 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2269 | 2225 | line="128">Destination pixbuf.</doc> | |
| 2270 | 2226 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2271 | 2227 | </parameter> | |
| 2272 | 2228 | <parameter name="dest_x" transfer-ownership="none"> | |
| 2273 | 2229 | <doc xml:space="preserve" | |
| 2274 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2230 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2275 | 2231 | line="129">X coordinate within @dest_pixbuf.</doc> | |
| 2276 | 2232 | <type name="gint" c:type="int"/> | |
| 2277 | 2233 | </parameter> | |
| 2278 | 2234 | <parameter name="dest_y" transfer-ownership="none"> | |
| 2279 | 2235 | <doc xml:space="preserve" | |
| 2280 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2236 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2281 | 2237 | line="130">Y coordinate within @dest_pixbuf.</doc> | |
| 2282 | 2238 | <type name="gint" c:type="int"/> | |
| 2283 | 2239 | </parameter> | |
| @@ -2287,31 +2243,30 @@ Therefore, you can not use this function to scroll a pixbuf.</doc> | |||
| 2287 | 2243 | c:identifier="gdk_pixbuf_copy_options" | |
| 2288 | 2244 | version="2.36"> | |
| 2289 | 2245 | <doc xml:space="preserve" | |
| 2290 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2246 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2291 | 2247 | line="1311">Copies the key/value pair options attached to a `GdkPixbuf` to another | |
| 2292 | 2248 | `GdkPixbuf`. | |
| 2293 | 2249 | ||
| 2294 | 2250 | This is useful to keep original metadata after having manipulated | |
| 2295 | 2251 | a file. However be careful to remove metadata which you've already | |
| 2296 | 2252 | applied, such as the "orientation" option after rotating the image.</doc> | |
| 2297 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2298 | - | line="518"/> | |
| 2253 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="518"/> | |
| 2299 | 2254 | <return-value transfer-ownership="none"> | |
| 2300 | 2255 | <doc xml:space="preserve" | |
| 2301 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2256 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2302 | 2257 | line="1323">`TRUE` on success.</doc> | |
| 2303 | 2258 | <type name="gboolean" c:type="gboolean"/> | |
| 2304 | 2259 | </return-value> | |
| 2305 | 2260 | <parameters> | |
| 2306 | 2261 | <instance-parameter name="src_pixbuf" transfer-ownership="none"> | |
| 2307 | 2262 | <doc xml:space="preserve" | |
| 2308 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2263 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2309 | 2264 | line="1313">the source pixbuf</doc> | |
| 2310 | 2265 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2311 | 2266 | </instance-parameter> | |
| 2312 | 2267 | <parameter name="dest_pixbuf" transfer-ownership="none"> | |
| 2313 | 2268 | <doc xml:space="preserve" | |
| 2314 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2269 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2315 | 2270 | line="1314">the destination pixbuf</doc> | |
| 2316 | 2271 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2317 | 2272 | </parameter> | |
| @@ -2319,27 +2274,26 @@ applied, such as the "orientation" option after rotating the image.</doc> | |||
| 2319 | 2274 | </method> | |
| 2320 | 2275 | <method name="fill" c:identifier="gdk_pixbuf_fill"> | |
| 2321 | 2276 | <doc xml:space="preserve" | |
| 2322 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2277 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2323 | 2278 | line="1043">Clears a pixbuf to the given RGBA value, converting the RGBA value into | |
| 2324 | 2279 | the pixbuf's pixel format. | |
| 2325 | 2280 | ||
| 2326 | 2281 | The alpha component will be ignored if the pixbuf doesn't have an alpha | |
| 2327 | 2282 | channel.</doc> | |
| 2328 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2329 | - | line="306"/> | |
| 2283 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="306"/> | |
| 2330 | 2284 | <return-value transfer-ownership="none"> | |
| 2331 | 2285 | <type name="none" c:type="void"/> | |
| 2332 | 2286 | </return-value> | |
| 2333 | 2287 | <parameters> | |
| 2334 | 2288 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2335 | 2289 | <doc xml:space="preserve" | |
| 2336 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2290 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2337 | 2291 | line="1045">a `GdkPixbuf`</doc> | |
| 2338 | 2292 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2339 | 2293 | </instance-parameter> | |
| 2340 | 2294 | <parameter name="pixel" transfer-ownership="none"> | |
| 2341 | 2295 | <doc xml:space="preserve" | |
| 2342 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2296 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2343 | 2297 | line="1046">RGBA pixel to used to clear (`0xffffffff` is opaque white, | |
| 2344 | 2298 | `0x00000000` transparent black)</doc> | |
| 2345 | 2299 | <type name="guint32" c:type="guint32"/> | |
| @@ -2348,27 +2302,27 @@ channel.</doc> | |||
| 2348 | 2302 | </method> | |
| 2349 | 2303 | <method name="flip" c:identifier="gdk_pixbuf_flip" version="2.6"> | |
| 2350 | 2304 | <doc xml:space="preserve" | |
| 2351 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2305 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2352 | 2306 | line="446">Flips a pixbuf horizontally or vertically and returns the | |
| 2353 | 2307 | result in a new pixbuf.</doc> | |
| 2354 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2308 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2355 | 2309 | line="162"/> | |
| 2356 | 2310 | <return-value transfer-ownership="full" nullable="1"> | |
| 2357 | 2311 | <doc xml:space="preserve" | |
| 2358 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2312 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2359 | 2313 | line="454">the new pixbuf</doc> | |
| 2360 | 2314 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2361 | 2315 | </return-value> | |
| 2362 | 2316 | <parameters> | |
| 2363 | 2317 | <instance-parameter name="src" transfer-ownership="none"> | |
| 2364 | 2318 | <doc xml:space="preserve" | |
| 2365 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2319 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2366 | 2320 | line="448">a #GdkPixbuf</doc> | |
| 2367 | 2321 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2368 | 2322 | </instance-parameter> | |
| 2369 | 2323 | <parameter name="horizontal" transfer-ownership="none"> | |
| 2370 | 2324 | <doc xml:space="preserve" | |
| 2371 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2325 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2372 | 2326 | line="449">`TRUE` to flip horizontally, `FALSE` to flip vertically</doc> | |
| 2373 | 2327 | <type name="gboolean" c:type="gboolean"/> | |
| 2374 | 2328 | </parameter> | |
| @@ -2378,20 +2332,19 @@ result in a new pixbuf.</doc> | |||
| 2378 | 2332 | c:identifier="gdk_pixbuf_get_bits_per_sample" | |
| 2379 | 2333 | glib:get-property="bits-per-sample"> | |
| 2380 | 2334 | <doc xml:space="preserve" | |
| 2381 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2335 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2382 | 2336 | line="795">Queries the number of bits per color sample in a pixbuf.</doc> | |
| 2383 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2384 | - | line="180"/> | |
| 2337 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="180"/> | |
| 2385 | 2338 | <return-value transfer-ownership="none"> | |
| 2386 | 2339 | <doc xml:space="preserve" | |
| 2387 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2340 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2388 | 2341 | line="801">Number of bits per color sample.</doc> | |
| 2389 | 2342 | <type name="gint" c:type="int"/> | |
| 2390 | 2343 | </return-value> | |
| 2391 | 2344 | <parameters> | |
| 2392 | 2345 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2393 | 2346 | <doc xml:space="preserve" | |
| 2394 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2347 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2395 | 2348 | line="797">A pixbuf.</doc> | |
| 2396 | 2349 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2397 | 2350 | </instance-parameter> | |
| @@ -2401,20 +2354,19 @@ result in a new pixbuf.</doc> | |||
| 2401 | 2354 | c:identifier="gdk_pixbuf_get_byte_length" | |
| 2402 | 2355 | version="2.26"> | |
| 2403 | 2356 | <doc xml:space="preserve" | |
| 2404 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2357 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2405 | 2358 | line="1008">Returns the length of the pixel data, in bytes.</doc> | |
| 2406 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2407 | - | line="190"/> | |
| 2359 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="190"/> | |
| 2408 | 2360 | <return-value transfer-ownership="none"> | |
| 2409 | 2361 | <doc xml:space="preserve" | |
| 2410 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2362 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2411 | 2363 | line="1014">The length of the pixel data.</doc> | |
| 2412 | 2364 | <type name="gsize" c:type="gsize"/> | |
| 2413 | 2365 | </return-value> | |
| 2414 | 2366 | <parameters> | |
| 2415 | 2367 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2416 | 2368 | <doc xml:space="preserve" | |
| 2417 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2369 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2418 | 2370 | line="1010">A pixbuf</doc> | |
| 2419 | 2371 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2420 | 2372 | </instance-parameter> | |
| @@ -2424,20 +2376,19 @@ result in a new pixbuf.</doc> | |||
| 2424 | 2376 | c:identifier="gdk_pixbuf_get_colorspace" | |
| 2425 | 2377 | glib:get-property="colorspace"> | |
| 2426 | 2378 | <doc xml:space="preserve" | |
| 2427 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2379 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2428 | 2380 | line="747">Queries the color space of a pixbuf.</doc> | |
| 2429 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2430 | - | line="174"/> | |
| 2381 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="174"/> | |
| 2431 | 2382 | <return-value transfer-ownership="none"> | |
| 2432 | 2383 | <doc xml:space="preserve" | |
| 2433 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2384 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2434 | 2385 | line="753">Color space.</doc> | |
| 2435 | 2386 | <type name="Colorspace" c:type="GdkColorspace"/> | |
| 2436 | 2387 | </return-value> | |
| 2437 | 2388 | <parameters> | |
| 2438 | 2389 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2439 | 2390 | <doc xml:space="preserve" | |
| 2440 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2391 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2441 | 2392 | line="749">A pixbuf.</doc> | |
| 2442 | 2393 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2443 | 2394 | </instance-parameter> | |
| @@ -2447,20 +2398,19 @@ result in a new pixbuf.</doc> | |||
| 2447 | 2398 | c:identifier="gdk_pixbuf_get_has_alpha" | |
| 2448 | 2399 | glib:get-property="has-alpha"> | |
| 2449 | 2400 | <doc xml:space="preserve" | |
| 2450 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2401 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2451 | 2402 | line="779">Queries whether a pixbuf has an alpha channel (opacity information).</doc> | |
| 2452 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2453 | - | line="178"/> | |
| 2403 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="178"/> | |
| 2454 | 2404 | <return-value transfer-ownership="none"> | |
| 2455 | 2405 | <doc xml:space="preserve" | |
| 2456 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2406 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2457 | 2407 | line="785">`TRUE` if it has an alpha channel, `FALSE` otherwise.</doc> | |
| 2458 | 2408 | <type name="gboolean" c:type="gboolean"/> | |
| 2459 | 2409 | </return-value> | |
| 2460 | 2410 | <parameters> | |
| 2461 | 2411 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2462 | 2412 | <doc xml:space="preserve" | |
| 2463 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2413 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2464 | 2414 | line="781">A pixbuf.</doc> | |
| 2465 | 2415 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2466 | 2416 | </instance-parameter> | |
| @@ -2470,20 +2420,19 @@ result in a new pixbuf.</doc> | |||
| 2470 | 2420 | c:identifier="gdk_pixbuf_get_height" | |
| 2471 | 2421 | glib:get-property="height"> | |
| 2472 | 2422 | <doc xml:space="preserve" | |
| 2473 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2423 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2474 | 2424 | line="975">Queries the height of a pixbuf.</doc> | |
| 2475 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2476 | - | line="186"/> | |
| 2425 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="186"/> | |
| 2477 | 2426 | <return-value transfer-ownership="none"> | |
| 2478 | 2427 | <doc xml:space="preserve" | |
| 2479 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2428 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2480 | 2429 | line="981">Height in pixels.</doc> | |
| 2481 | 2430 | <type name="gint" c:type="int"/> | |
| 2482 | 2431 | </return-value> | |
| 2483 | 2432 | <parameters> | |
| 2484 | 2433 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2485 | 2434 | <doc xml:space="preserve" | |
| 2486 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2435 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2487 | 2436 | line="977">A pixbuf.</doc> | |
| 2488 | 2437 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2489 | 2438 | </instance-parameter> | |
| @@ -2493,20 +2442,19 @@ result in a new pixbuf.</doc> | |||
| 2493 | 2442 | c:identifier="gdk_pixbuf_get_n_channels" | |
| 2494 | 2443 | glib:get-property="n-channels"> | |
| 2495 | 2444 | <doc xml:space="preserve" | |
| 2496 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2445 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2497 | 2446 | line="763">Queries the number of channels of a pixbuf.</doc> | |
| 2498 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2499 | - | line="176"/> | |
| 2447 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="176"/> | |
| 2500 | 2448 | <return-value transfer-ownership="none"> | |
| 2501 | 2449 | <doc xml:space="preserve" | |
| 2502 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2450 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2503 | 2451 | line="769">Number of channels.</doc> | |
| 2504 | 2452 | <type name="gint" c:type="int"/> | |
| 2505 | 2453 | </return-value> | |
| 2506 | 2454 | <parameters> | |
| 2507 | 2455 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2508 | 2456 | <doc xml:space="preserve" | |
| 2509 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2457 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2510 | 2458 | line="765">A pixbuf.</doc> | |
| 2511 | 2459 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2512 | 2460 | </instance-parameter> | |
| @@ -2514,7 +2462,7 @@ result in a new pixbuf.</doc> | |||
| 2514 | 2462 | </method> | |
| 2515 | 2463 | <method name="get_option" c:identifier="gdk_pixbuf_get_option"> | |
| 2516 | 2464 | <doc xml:space="preserve" | |
| 2517 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2465 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2518 | 2466 | line="1111">Looks up @key in the list of options that may have been attached to the | |
| 2519 | 2467 | @pixbuf when it was loaded, or that may have been attached by another | |
| 2520 | 2468 | function using gdk_pixbuf_set_option(). | |
| @@ -2530,24 +2478,23 @@ Since 2.32 the JPEG and PNG loaders set "x-dpi" and "y-dpi" if the file | |||
| 2530 | 2478 | contains image density information in dots per inch. | |
| 2531 | 2479 | Since 2.36.6, the JPEG loader sets the "comment" option with the comment | |
| 2532 | 2480 | EXIF tag.</doc> | |
| 2533 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2534 | - | line="510"/> | |
| 2481 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="510"/> | |
| 2535 | 2482 | <return-value transfer-ownership="none" nullable="1"> | |
| 2536 | 2483 | <doc xml:space="preserve" | |
| 2537 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2484 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2538 | 2485 | line="1132">the value associated with `key`</doc> | |
| 2539 | 2486 | <type name="utf8" c:type="const gchar*"/> | |
| 2540 | 2487 | </return-value> | |
| 2541 | 2488 | <parameters> | |
| 2542 | 2489 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2543 | 2490 | <doc xml:space="preserve" | |
| 2544 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2491 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2545 | 2492 | line="1113">a `GdkPixbuf`</doc> | |
| 2546 | 2493 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2547 | 2494 | </instance-parameter> | |
| 2548 | 2495 | <parameter name="key" transfer-ownership="none"> | |
| 2549 | 2496 | <doc xml:space="preserve" | |
| 2550 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2497 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2551 | 2498 | line="1114">a nul-terminated string.</doc> | |
| 2552 | 2499 | <type name="utf8" c:type="const gchar*"/> | |
| 2553 | 2500 | </parameter> | |
| @@ -2557,15 +2504,14 @@ EXIF tag.</doc> | |||
| 2557 | 2504 | c:identifier="gdk_pixbuf_get_options" | |
| 2558 | 2505 | version="2.32"> | |
| 2559 | 2506 | <doc xml:space="preserve" | |
| 2560 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2507 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2561 | 2508 | line="1156">Returns a `GHashTable` with a list of all the options that may have been | |
| 2562 | 2509 | attached to the `pixbuf` when it was loaded, or that may have been | |
| 2563 | 2510 | attached by another function using [method@GdkPixbuf.Pixbuf.set_option].</doc> | |
| 2564 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2565 | - | line="516"/> | |
| 2511 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="516"/> | |
| 2566 | 2512 | <return-value transfer-ownership="container"> | |
| 2567 | 2513 | <doc xml:space="preserve" | |
| 2568 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2514 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2569 | 2515 | line="1164">a #GHashTable | |
| 2570 | 2516 | of key/values pairs</doc> | |
| 2571 | 2517 | <type name="GLib.HashTable" c:type="GHashTable*"> | |
| @@ -2576,7 +2522,7 @@ attached by another function using [method@GdkPixbuf.Pixbuf.set_option].</doc> | |||
| 2576 | 2522 | <parameters> | |
| 2577 | 2523 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2578 | 2524 | <doc xml:space="preserve" | |
| 2579 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2525 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2580 | 2526 | line="1158">a `GdkPixbuf`</doc> | |
| 2581 | 2527 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2582 | 2528 | </instance-parameter> | |
| @@ -2587,7 +2533,7 @@ attached by another function using [method@GdkPixbuf.Pixbuf.set_option].</doc> | |||
| 2587 | 2533 | shadowed-by="get_pixels_with_length" | |
| 2588 | 2534 | glib:get-property="pixels"> | |
| 2589 | 2535 | <doc xml:space="preserve" | |
| 2590 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2536 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2591 | 2537 | line="811">Queries a pointer to the pixel data of a pixbuf. | |
| 2592 | 2538 | ||
| 2593 | 2539 | This function will cause an implicit copy of the pixbuf data if the | |
| @@ -2595,11 +2541,10 @@ pixbuf was created from read-only data. | |||
| 2595 | 2541 | ||
| 2596 | 2542 | Please see the section on [image data](class.Pixbuf.html#image-data) for information | |
| 2597 | 2543 | about how the pixel data is stored in memory.</doc> | |
| 2598 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2599 | - | line="182"/> | |
| 2544 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="182"/> | |
| 2600 | 2545 | <return-value transfer-ownership="none"> | |
| 2601 | 2546 | <doc xml:space="preserve" | |
| 2602 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2547 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2603 | 2548 | line="823">A pointer to the pixbuf's pixel data.</doc> | |
| 2604 | 2549 | <array zero-terminated="0" c:type="guchar*"> | |
| 2605 | 2550 | <type name="guint8" c:type="guchar"/> | |
| @@ -2608,7 +2553,7 @@ about how the pixel data is stored in memory.</doc> | |||
| 2608 | 2553 | <parameters> | |
| 2609 | 2554 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2610 | 2555 | <doc xml:space="preserve" | |
| 2611 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2556 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2612 | 2557 | line="813">A pixbuf.</doc> | |
| 2613 | 2558 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2614 | 2559 | </instance-parameter> | |
| @@ -2619,7 +2564,7 @@ about how the pixel data is stored in memory.</doc> | |||
| 2619 | 2564 | shadows="get_pixels" | |
| 2620 | 2565 | version="2.26"> | |
| 2621 | 2566 | <doc xml:space="preserve" | |
| 2622 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2567 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2623 | 2568 | line="857">Queries a pointer to the pixel data of a pixbuf. | |
| 2624 | 2569 | ||
| 2625 | 2570 | This function will cause an implicit copy of the pixbuf data if the | |
| @@ -2627,11 +2572,10 @@ pixbuf was created from read-only data. | |||
| 2627 | 2572 | ||
| 2628 | 2573 | Please see the section on [image data](class.Pixbuf.html#image-data) for information | |
| 2629 | 2574 | about how the pixel data is stored in memory.</doc> | |
| 2630 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2631 | - | line="193"/> | |
| 2575 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="193"/> | |
| 2632 | 2576 | <return-value transfer-ownership="none"> | |
| 2633 | 2577 | <doc xml:space="preserve" | |
| 2634 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2578 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2635 | 2579 | line="870">A pointer to the pixbuf's | |
| 2636 | 2580 | pixel data.</doc> | |
| 2637 | 2581 | <array length="0" zero-terminated="0" c:type="guchar*"> | |
| @@ -2641,7 +2585,7 @@ pixel data.</doc> | |||
| 2641 | 2585 | <parameters> | |
| 2642 | 2586 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2643 | 2587 | <doc xml:space="preserve" | |
| 2644 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2588 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2645 | 2589 | line="859">A pixbuf.</doc> | |
| 2646 | 2590 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2647 | 2591 | </instance-parameter> | |
| @@ -2650,7 +2594,7 @@ pixel data.</doc> | |||
| 2650 | 2594 | caller-allocates="0" | |
| 2651 | 2595 | transfer-ownership="full"> | |
| 2652 | 2596 | <doc xml:space="preserve" | |
| 2653 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2597 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2654 | 2598 | line="860">The length of the binary data.</doc> | |
| 2655 | 2599 | <type name="guint" c:type="guint*"/> | |
| 2656 | 2600 | </parameter> | |
| @@ -2660,21 +2604,20 @@ pixel data.</doc> | |||
| 2660 | 2604 | c:identifier="gdk_pixbuf_get_rowstride" | |
| 2661 | 2605 | glib:get-property="rowstride"> | |
| 2662 | 2606 | <doc xml:space="preserve" | |
| 2663 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2607 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2664 | 2608 | line="991">Queries the rowstride of a pixbuf, which is the number of bytes between | |
| 2665 | 2609 | the start of a row and the start of the next row.</doc> | |
| 2666 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2667 | - | line="188"/> | |
| 2610 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="188"/> | |
| 2668 | 2611 | <return-value transfer-ownership="none"> | |
| 2669 | 2612 | <doc xml:space="preserve" | |
| 2670 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2613 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2671 | 2614 | line="998">Distance between row starts.</doc> | |
| 2672 | 2615 | <type name="gint" c:type="int"/> | |
| 2673 | 2616 | </return-value> | |
| 2674 | 2617 | <parameters> | |
| 2675 | 2618 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2676 | 2619 | <doc xml:space="preserve" | |
| 2677 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2620 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2678 | 2621 | line="993">A pixbuf.</doc> | |
| 2679 | 2622 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2680 | 2623 | </instance-parameter> | |
| @@ -2684,20 +2627,19 @@ the start of a row and the start of the next row.</doc> | |||
| 2684 | 2627 | c:identifier="gdk_pixbuf_get_width" | |
| 2685 | 2628 | glib:get-property="width"> | |
| 2686 | 2629 | <doc xml:space="preserve" | |
| 2687 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2630 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2688 | 2631 | line="959">Queries the width of a pixbuf.</doc> | |
| 2689 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2690 | - | line="184"/> | |
| 2632 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="184"/> | |
| 2691 | 2633 | <return-value transfer-ownership="none"> | |
| 2692 | 2634 | <doc xml:space="preserve" | |
| 2693 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2635 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2694 | 2636 | line="965">Width in pixels.</doc> | |
| 2695 | 2637 | <type name="gint" c:type="int"/> | |
| 2696 | 2638 | </return-value> | |
| 2697 | 2639 | <parameters> | |
| 2698 | 2640 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2699 | 2641 | <doc xml:space="preserve" | |
| 2700 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2642 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2701 | 2643 | line="961">A pixbuf.</doc> | |
| 2702 | 2644 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2703 | 2645 | </instance-parameter> | |
| @@ -2705,7 +2647,7 @@ the start of a row and the start of the next row.</doc> | |||
| 2705 | 2647 | </method> | |
| 2706 | 2648 | <method name="new_subpixbuf" c:identifier="gdk_pixbuf_new_subpixbuf"> | |
| 2707 | 2649 | <doc xml:space="preserve" | |
| 2708 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2650 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2709 | 2651 | line="685">Creates a new pixbuf which represents a sub-region of `src_pixbuf`. | |
| 2710 | 2652 | ||
| 2711 | 2653 | The new pixbuf shares its pixels with the original pixbuf, so | |
| @@ -2715,42 +2657,41 @@ pixbuf is finalized. | |||
| 2715 | 2657 | ||
| 2716 | 2658 | Note that if `src_pixbuf` is read-only, this function will force it | |
| 2717 | 2659 | to be mutable.</doc> | |
| 2718 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2719 | - | line="222"/> | |
| 2660 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="222"/> | |
| 2720 | 2661 | <return-value transfer-ownership="full"> | |
| 2721 | 2662 | <doc xml:space="preserve" | |
| 2722 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2663 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2723 | 2664 | line="703">a new pixbuf</doc> | |
| 2724 | 2665 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2725 | 2666 | </return-value> | |
| 2726 | 2667 | <parameters> | |
| 2727 | 2668 | <instance-parameter name="src_pixbuf" transfer-ownership="none"> | |
| 2728 | 2669 | <doc xml:space="preserve" | |
| 2729 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2670 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2730 | 2671 | line="687">a `GdkPixbuf`</doc> | |
| 2731 | 2672 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2732 | 2673 | </instance-parameter> | |
| 2733 | 2674 | <parameter name="src_x" transfer-ownership="none"> | |
| 2734 | 2675 | <doc xml:space="preserve" | |
| 2735 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2676 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2736 | 2677 | line="688">X coord in @src_pixbuf</doc> | |
| 2737 | 2678 | <type name="gint" c:type="int"/> | |
| 2738 | 2679 | </parameter> | |
| 2739 | 2680 | <parameter name="src_y" transfer-ownership="none"> | |
| 2740 | 2681 | <doc xml:space="preserve" | |
| 2741 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2682 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2742 | 2683 | line="689">Y coord in @src_pixbuf</doc> | |
| 2743 | 2684 | <type name="gint" c:type="int"/> | |
| 2744 | 2685 | </parameter> | |
| 2745 | 2686 | <parameter name="width" transfer-ownership="none"> | |
| 2746 | 2687 | <doc xml:space="preserve" | |
| 2747 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2688 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2748 | 2689 | line="690">width of region in @src_pixbuf</doc> | |
| 2749 | 2690 | <type name="gint" c:type="int"/> | |
| 2750 | 2691 | </parameter> | |
| 2751 | 2692 | <parameter name="height" transfer-ownership="none"> | |
| 2752 | 2693 | <doc xml:space="preserve" | |
| 2753 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2694 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2754 | 2695 | line="691">height of region in @src_pixbuf</doc> | |
| 2755 | 2696 | <type name="gint" c:type="int"/> | |
| 2756 | 2697 | </parameter> | |
| @@ -2760,17 +2701,16 @@ to be mutable.</doc> | |||
| 2760 | 2701 | c:identifier="gdk_pixbuf_read_pixel_bytes" | |
| 2761 | 2702 | version="2.32"> | |
| 2762 | 2703 | <doc xml:space="preserve" | |
| 2763 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2704 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2764 | 2705 | line="924">Provides a #GBytes buffer containing the raw pixel data; the data | |
| 2765 | 2706 | must not be modified. | |
| 2766 | 2707 | ||
| 2767 | 2708 | This function allows skipping the implicit copy that must be made | |
| 2768 | 2709 | if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |
| 2769 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2770 | - | line="199"/> | |
| 2710 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="199"/> | |
| 2771 | 2711 | <return-value transfer-ownership="full"> | |
| 2772 | 2712 | <doc xml:space="preserve" | |
| 2773 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2713 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2774 | 2714 | line="934">A new reference to a read-only copy of | |
| 2775 | 2715 | the pixel data. Note that for mutable pixbufs, this function will | |
| 2776 | 2716 | incur a one-time copy of the pixel data for conversion into the | |
| @@ -2780,7 +2720,7 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2780 | 2720 | <parameters> | |
| 2781 | 2721 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2782 | 2722 | <doc xml:space="preserve" | |
| 2783 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2723 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2784 | 2724 | line="926">A pixbuf</doc> | |
| 2785 | 2725 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2786 | 2726 | </instance-parameter> | |
| @@ -2790,23 +2730,22 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2790 | 2730 | c:identifier="gdk_pixbuf_read_pixels" | |
| 2791 | 2731 | version="2.32"> | |
| 2792 | 2732 | <doc xml:space="preserve" | |
| 2793 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2733 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2794 | 2734 | line="890">Provides a read-only pointer to the raw pixel data. | |
| 2795 | 2735 | ||
| 2796 | 2736 | This function allows skipping the implicit copy that must be made | |
| 2797 | 2737 | if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |
| 2798 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2799 | - | line="197"/> | |
| 2738 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="197"/> | |
| 2800 | 2739 | <return-value transfer-ownership="none"> | |
| 2801 | 2740 | <doc xml:space="preserve" | |
| 2802 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2741 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2803 | 2742 | line="899">a read-only pointer to the raw pixel data</doc> | |
| 2804 | 2743 | <type name="guint8" c:type="const guint8*"/> | |
| 2805 | 2744 | </return-value> | |
| 2806 | 2745 | <parameters> | |
| 2807 | 2746 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2808 | 2747 | <doc xml:space="preserve" | |
| 2809 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2748 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2810 | 2749 | line="892">A pixbuf</doc> | |
| 2811 | 2750 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2812 | 2751 | </instance-parameter> | |
| @@ -2818,21 +2757,20 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2818 | 2757 | deprecated="1" | |
| 2819 | 2758 | deprecated-version="2.0"> | |
| 2820 | 2759 | <doc xml:space="preserve" | |
| 2821 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2760 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2822 | 2761 | line="414">Adds a reference to a pixbuf.</doc> | |
| 2823 | 2762 | <doc-deprecated xml:space="preserve">Use g_object_ref().</doc-deprecated> | |
| 2824 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2825 | - | line="166"/> | |
| 2763 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="166"/> | |
| 2826 | 2764 | <return-value> | |
| 2827 | 2765 | <doc xml:space="preserve" | |
| 2828 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2766 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2829 | 2767 | line="420">The same as the @pixbuf argument.</doc> | |
| 2830 | 2768 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2831 | 2769 | </return-value> | |
| 2832 | 2770 | <parameters> | |
| 2833 | 2771 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2834 | 2772 | <doc xml:space="preserve" | |
| 2835 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2773 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2836 | 2774 | line="416">A pixbuf.</doc> | |
| 2837 | 2775 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2838 | 2776 | </instance-parameter> | |
| @@ -2842,26 +2780,25 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2842 | 2780 | c:identifier="gdk_pixbuf_remove_option" | |
| 2843 | 2781 | version="2.36"> | |
| 2844 | 2782 | <doc xml:space="preserve" | |
| 2845 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2783 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2846 | 2784 | line="1191">Removes the key/value pair option attached to a `GdkPixbuf`.</doc> | |
| 2847 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2848 | - | line="513"/> | |
| 2785 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="513"/> | |
| 2849 | 2786 | <return-value transfer-ownership="none"> | |
| 2850 | 2787 | <doc xml:space="preserve" | |
| 2851 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2788 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2852 | 2789 | line="1198">`TRUE` if an option was removed, `FALSE` if not.</doc> | |
| 2853 | 2790 | <type name="gboolean" c:type="gboolean"/> | |
| 2854 | 2791 | </return-value> | |
| 2855 | 2792 | <parameters> | |
| 2856 | 2793 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 2857 | 2794 | <doc xml:space="preserve" | |
| 2858 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2795 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2859 | 2796 | line="1193">a `GdkPixbuf`</doc> | |
| 2860 | 2797 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2861 | 2798 | </instance-parameter> | |
| 2862 | 2799 | <parameter name="key" transfer-ownership="none"> | |
| 2863 | 2800 | <doc xml:space="preserve" | |
| 2864 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 2801 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 2865 | 2802 | line="1194">a nul-terminated string representing the key to remove.</doc> | |
| 2866 | 2803 | <type name="utf8" c:type="const gchar*"/> | |
| 2867 | 2804 | </parameter> | |
| @@ -2871,29 +2808,29 @@ if gdk_pixbuf_get_pixels() is called on a read-only pixbuf.</doc> | |||
| 2871 | 2808 | c:identifier="gdk_pixbuf_rotate_simple" | |
| 2872 | 2809 | version="2.6"> | |
| 2873 | 2810 | <doc xml:space="preserve" | |
| 2874 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2811 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2875 | 2812 | line="340">Rotates a pixbuf by a multiple of 90 degrees, and returns the | |
| 2876 | 2813 | result in a new pixbuf. | |
| 2877 | 2814 | ||
| 2878 | 2815 | If `angle` is 0, this function will return a copy of `src`.</doc> | |
| 2879 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2816 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 2880 | 2817 | line="159"/> | |
| 2881 | 2818 | <return-value transfer-ownership="full" nullable="1"> | |
| 2882 | 2819 | <doc xml:space="preserve" | |
| 2883 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2820 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2884 | 2821 | line="350">the new pixbuf</doc> | |
| 2885 | 2822 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2886 | 2823 | </return-value> | |
| 2887 | 2824 | <parameters> | |
| 2888 | 2825 | <instance-parameter name="src" transfer-ownership="none"> | |
| 2889 | 2826 | <doc xml:space="preserve" | |
| 2890 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2827 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2891 | 2828 | line="342">a #GdkPixbuf</doc> | |
| 2892 | 2829 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2893 | 2830 | </instance-parameter> | |
| 2894 | 2831 | <parameter name="angle" transfer-ownership="none"> | |
| 2895 | 2832 | <doc xml:space="preserve" | |
| 2896 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2833 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 2897 | 2834 | line="343">the angle to rotate by</doc> | |
| 2898 | 2835 | <type name="PixbufRotation" c:type="GdkPixbufRotation"/> | |
| 2899 | 2836 | </parameter> | |
| @@ -2902,7 +2839,7 @@ If `angle` is 0, this function will return a copy of `src`.</doc> | |||
| 2902 | 2839 | <method name="saturate_and_pixelate" | |
| 2903 | 2840 | c:identifier="gdk_pixbuf_saturate_and_pixelate"> | |
| 2904 | 2841 | <doc xml:space="preserve" | |
| 2905 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2842 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2906 | 2843 | line="172">Modifies saturation and optionally pixelates `src`, placing the result in | |
| 2907 | 2844 | `dest`. | |
| 2908 | 2845 | ||
| @@ -2917,33 +2854,32 @@ saturation is reduced (the image turns toward grayscale); if greater than | |||
| 2917 | 2854 | ||
| 2918 | 2855 | If `pixelate` is `TRUE`, then pixels are faded in a checkerboard pattern to | |
| 2919 | 2856 | create a pixelated image.</doc> | |
| 2920 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 2921 | - | line="495"/> | |
| 2857 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="495"/> | |
| 2922 | 2858 | <return-value transfer-ownership="none"> | |
| 2923 | 2859 | <type name="none" c:type="void"/> | |
| 2924 | 2860 | </return-value> | |
| 2925 | 2861 | <parameters> | |
| 2926 | 2862 | <instance-parameter name="src" transfer-ownership="none"> | |
| 2927 | 2863 | <doc xml:space="preserve" | |
| 2928 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2864 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2929 | 2865 | line="174">source image</doc> | |
| 2930 | 2866 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 2931 | 2867 | </instance-parameter> | |
| 2932 | 2868 | <parameter name="dest" transfer-ownership="none"> | |
| 2933 | 2869 | <doc xml:space="preserve" | |
| 2934 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2870 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2935 | 2871 | line="175">place to write modified version of @src</doc> | |
| 2936 | 2872 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 2937 | 2873 | </parameter> | |
| 2938 | 2874 | <parameter name="saturation" transfer-ownership="none"> | |
| 2939 | 2875 | <doc xml:space="preserve" | |
| 2940 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2876 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2941 | 2877 | line="176">saturation factor</doc> | |
| 2942 | 2878 | <type name="gfloat" c:type="gfloat"/> | |
| 2943 | 2879 | </parameter> | |
| 2944 | 2880 | <parameter name="pixelate" transfer-ownership="none"> | |
| 2945 | 2881 | <doc xml:space="preserve" | |
| 2946 | - | filename="../gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2882 | + | filename="gdk-pixbuf/gdk-pixbuf-util.c" | |
| 2947 | 2883 | line="177">whether to pixelate</doc> | |
| 2948 | 2884 | <type name="gboolean" c:type="gboolean"/> | |
| 2949 | 2885 | </parameter> | |
| @@ -2951,7 +2887,7 @@ create a pixelated image.</doc> | |||
| 2951 | 2887 | </method> | |
| 2952 | 2888 | <method name="save" c:identifier="gdk_pixbuf_save" introspectable="0"> | |
| 2953 | 2889 | <doc xml:space="preserve" | |
| 2954 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2890 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2955 | 2891 | line="2416">Saves pixbuf to a file in format @type. By default, "jpeg", "png", "ico" | |
| 2956 | 2892 | and "bmp" are possible file formats to save in, but more formats may be | |
| 2957 | 2893 | installed. The list of all writable formats can be determined in the | |
| @@ -3023,30 +2959,29 @@ TIFF images recognize: | |||
| 3023 | 2959 | ICO images can be saved in depth 16, 24, or 32, by using the "depth" | |
| 3024 | 2960 | parameter. When the ICO saver is given "x_hot" and "y_hot" parameters, | |
| 3025 | 2961 | it produces a CUR instead of an ICO.</doc> | |
| 3026 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3027 | - | line="319"/> | |
| 2962 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="319"/> | |
| 3028 | 2963 | <return-value transfer-ownership="none"> | |
| 3029 | 2964 | <doc xml:space="preserve" | |
| 3030 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2965 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3031 | 2966 | line="2496">`TRUE` on success, and `FALSE` otherwise</doc> | |
| 3032 | 2967 | <type name="gboolean" c:type="gboolean"/> | |
| 3033 | 2968 | </return-value> | |
| 3034 | 2969 | <parameters> | |
| 3035 | 2970 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3036 | 2971 | <doc xml:space="preserve" | |
| 3037 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2972 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3038 | 2973 | line="2418">a `GdkPixbuf`.</doc> | |
| 3039 | 2974 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3040 | 2975 | </instance-parameter> | |
| 3041 | 2976 | <parameter name="filename" transfer-ownership="none"> | |
| 3042 | 2977 | <doc xml:space="preserve" | |
| 3043 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2978 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3044 | 2979 | line="2419">name of file to save.</doc> | |
| 3045 | 2980 | <type name="filename" c:type="const char*"/> | |
| 3046 | 2981 | </parameter> | |
| 3047 | 2982 | <parameter name="type" transfer-ownership="none"> | |
| 3048 | 2983 | <doc xml:space="preserve" | |
| 3049 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2984 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3050 | 2985 | line="2420">name of file format.</doc> | |
| 3051 | 2986 | <type name="utf8" c:type="const char*"/> | |
| 3052 | 2987 | </parameter> | |
| @@ -3055,13 +2990,13 @@ it produces a CUR instead of an ICO.</doc> | |||
| 3055 | 2990 | nullable="1" | |
| 3056 | 2991 | allow-none="1"> | |
| 3057 | 2992 | <doc xml:space="preserve" | |
| 3058 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2993 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3059 | 2994 | line="2421">return location for error</doc> | |
| 3060 | 2995 | <type name="GLib.Error" c:type="GError**"/> | |
| 3061 | 2996 | </parameter> | |
| 3062 | 2997 | <parameter name="..." transfer-ownership="none"> | |
| 3063 | 2998 | <doc xml:space="preserve" | |
| 3064 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 2999 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3065 | 3000 | line="2422">list of key-value save options, followed by `NULL`</doc> | |
| 3066 | 3001 | <varargs/> | |
| 3067 | 3002 | </parameter> | |
| @@ -3072,7 +3007,7 @@ it produces a CUR instead of an ICO.</doc> | |||
| 3072 | 3007 | version="2.4" | |
| 3073 | 3008 | introspectable="0"> | |
| 3074 | 3009 | <doc xml:space="preserve" | |
| 3075 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3010 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3076 | 3011 | line="2753">Saves pixbuf to a new buffer in format `type`, which is currently "jpeg", | |
| 3077 | 3012 | "png", "tiff", "ico" or "bmp". | |
| 3078 | 3013 | ||
| @@ -3087,18 +3022,17 @@ If @error is set, `FALSE` will be returned and @buffer will be set to | |||
| 3087 | 3022 | domain. | |
| 3088 | 3023 | ||
| 3089 | 3024 | See `gdk_pixbuf_save()` for more details.</doc> | |
| 3090 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3091 | - | line="392"/> | |
| 3025 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="392"/> | |
| 3092 | 3026 | <return-value transfer-ownership="none"> | |
| 3093 | 3027 | <doc xml:space="preserve" | |
| 3094 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3028 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3095 | 3029 | line="2778">whether an error was set</doc> | |
| 3096 | 3030 | <type name="gboolean" c:type="gboolean"/> | |
| 3097 | 3031 | </return-value> | |
| 3098 | 3032 | <parameters> | |
| 3099 | 3033 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3100 | 3034 | <doc xml:space="preserve" | |
| 3101 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3035 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3102 | 3036 | line="2755">a `GdkPixbuf`.</doc> | |
| 3103 | 3037 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3104 | 3038 | </instance-parameter> | |
| @@ -3107,7 +3041,7 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3107 | 3041 | caller-allocates="0" | |
| 3108 | 3042 | transfer-ownership="full"> | |
| 3109 | 3043 | <doc xml:space="preserve" | |
| 3110 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3044 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3111 | 3045 | line="2756">location to receive a pointer | |
| 3112 | 3046 | to the new buffer.</doc> | |
| 3113 | 3047 | <array length="1" zero-terminated="0" c:type="gchar**"> | |
| @@ -3119,13 +3053,13 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3119 | 3053 | caller-allocates="0" | |
| 3120 | 3054 | transfer-ownership="full"> | |
| 3121 | 3055 | <doc xml:space="preserve" | |
| 3122 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3056 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3123 | 3057 | line="2758">location to receive the size of the new buffer.</doc> | |
| 3124 | 3058 | <type name="gsize" c:type="gsize*"/> | |
| 3125 | 3059 | </parameter> | |
| 3126 | 3060 | <parameter name="type" transfer-ownership="none"> | |
| 3127 | 3061 | <doc xml:space="preserve" | |
| 3128 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3062 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3129 | 3063 | line="2759">name of file format.</doc> | |
| 3130 | 3064 | <type name="utf8" c:type="const char*"/> | |
| 3131 | 3065 | </parameter> | |
| @@ -3134,13 +3068,13 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3134 | 3068 | nullable="1" | |
| 3135 | 3069 | allow-none="1"> | |
| 3136 | 3070 | <doc xml:space="preserve" | |
| 3137 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3071 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3138 | 3072 | line="2760">return location for error, or `NULL`</doc> | |
| 3139 | 3073 | <type name="GLib.Error" c:type="GError**"/> | |
| 3140 | 3074 | </parameter> | |
| 3141 | 3075 | <parameter name="..." transfer-ownership="none"> | |
| 3142 | 3076 | <doc xml:space="preserve" | |
| 3143 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3077 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3144 | 3078 | line="2761">list of key-value save options</doc> | |
| 3145 | 3079 | <varargs/> | |
| 3146 | 3080 | </parameter> | |
| @@ -3151,25 +3085,24 @@ See `gdk_pixbuf_save()` for more details.</doc> | |||
| 3151 | 3085 | version="2.4" | |
| 3152 | 3086 | throws="1"> | |
| 3153 | 3087 | <doc xml:space="preserve" | |
| 3154 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3088 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3155 | 3089 | line="2846">Vector version of `gdk_pixbuf_save_to_buffer()`. | |
| 3156 | 3090 | ||
| 3157 | 3091 | Saves pixbuf to a new buffer in format @type, which is currently "jpeg", | |
| 3158 | 3092 | "tiff", "png", "ico" or "bmp". | |
| 3159 | 3093 | ||
| 3160 | 3094 | See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |
| 3161 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3162 | - | line="400"/> | |
| 3095 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="400"/> | |
| 3163 | 3096 | <return-value transfer-ownership="none"> | |
| 3164 | 3097 | <doc xml:space="preserve" | |
| 3165 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3098 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3166 | 3099 | line="2864">whether an error was set</doc> | |
| 3167 | 3100 | <type name="gboolean" c:type="gboolean"/> | |
| 3168 | 3101 | </return-value> | |
| 3169 | 3102 | <parameters> | |
| 3170 | 3103 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3171 | 3104 | <doc xml:space="preserve" | |
| 3172 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3105 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3173 | 3106 | line="2848">a `GdkPixbuf`.</doc> | |
| 3174 | 3107 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3175 | 3108 | </instance-parameter> | |
| @@ -3178,7 +3111,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3178 | 3111 | caller-allocates="0" | |
| 3179 | 3112 | transfer-ownership="full"> | |
| 3180 | 3113 | <doc xml:space="preserve" | |
| 3181 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3114 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3182 | 3115 | line="2849"> | |
| 3183 | 3116 | location to receive a pointer to the new buffer.</doc> | |
| 3184 | 3117 | <array length="1" zero-terminated="0" c:type="gchar**"> | |
| @@ -3190,13 +3123,13 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3190 | 3123 | caller-allocates="0" | |
| 3191 | 3124 | transfer-ownership="full"> | |
| 3192 | 3125 | <doc xml:space="preserve" | |
| 3193 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3126 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3194 | 3127 | line="2851">location to receive the size of the new buffer.</doc> | |
| 3195 | 3128 | <type name="gsize" c:type="gsize*"/> | |
| 3196 | 3129 | </parameter> | |
| 3197 | 3130 | <parameter name="type" transfer-ownership="none"> | |
| 3198 | 3131 | <doc xml:space="preserve" | |
| 3199 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3132 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3200 | 3133 | line="2852">name of file format.</doc> | |
| 3201 | 3134 | <type name="utf8" c:type="const char*"/> | |
| 3202 | 3135 | </parameter> | |
| @@ -3205,7 +3138,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3205 | 3138 | nullable="1" | |
| 3206 | 3139 | allow-none="1"> | |
| 3207 | 3140 | <doc xml:space="preserve" | |
| 3208 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3141 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3209 | 3142 | line="2853">name of options to set</doc> | |
| 3210 | 3143 | <array c:type="char**"> | |
| 3211 | 3144 | <type name="utf8"/> | |
| @@ -3216,7 +3149,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3216 | 3149 | nullable="1" | |
| 3217 | 3150 | allow-none="1"> | |
| 3218 | 3151 | <doc xml:space="preserve" | |
| 3219 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3152 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3220 | 3153 | line="2854">values for named options</doc> | |
| 3221 | 3154 | <array c:type="char**"> | |
| 3222 | 3155 | <type name="utf8"/> | |
| @@ -3229,7 +3162,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_buffer] for more details.</doc> | |||
| 3229 | 3162 | version="2.4" | |
| 3230 | 3163 | introspectable="0"> | |
| 3231 | 3164 | <doc xml:space="preserve" | |
| 3232 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3165 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3233 | 3166 | line="2640">Saves pixbuf in format `type` by feeding the produced data to a | |
| 3234 | 3167 | callback. | |
| 3235 | 3168 | ||
| @@ -3241,18 +3174,17 @@ include those in the `GDK_PIXBUF_ERROR` domain and whatever the save | |||
| 3241 | 3174 | function generates. | |
| 3242 | 3175 | ||
| 3243 | 3176 | See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |
| 3244 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3245 | - | line="373"/> | |
| 3177 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="373"/> | |
| 3246 | 3178 | <return-value transfer-ownership="none"> | |
| 3247 | 3179 | <doc xml:space="preserve" | |
| 3248 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3180 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3249 | 3181 | line="2662">whether an error was set</doc> | |
| 3250 | 3182 | <type name="gboolean" c:type="gboolean"/> | |
| 3251 | 3183 | </return-value> | |
| 3252 | 3184 | <parameters> | |
| 3253 | 3185 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3254 | 3186 | <doc xml:space="preserve" | |
| 3255 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3187 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3256 | 3188 | line="2642">a `GdkPixbuf`.</doc> | |
| 3257 | 3189 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3258 | 3190 | </instance-parameter> | |
| @@ -3261,7 +3193,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3261 | 3193 | scope="call" | |
| 3262 | 3194 | closure="1"> | |
| 3263 | 3195 | <doc xml:space="preserve" | |
| 3264 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3196 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3265 | 3197 | line="2643">a function that is called to save each block of data that | |
| 3266 | 3198 | the save routine generates.</doc> | |
| 3267 | 3199 | <type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/> | |
| @@ -3271,13 +3203,13 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3271 | 3203 | nullable="1" | |
| 3272 | 3204 | allow-none="1"> | |
| 3273 | 3205 | <doc xml:space="preserve" | |
| 3274 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3206 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3275 | 3207 | line="2645">user data to pass to the save function.</doc> | |
| 3276 | 3208 | <type name="gpointer" c:type="gpointer"/> | |
| 3277 | 3209 | </parameter> | |
| 3278 | 3210 | <parameter name="type" transfer-ownership="none"> | |
| 3279 | 3211 | <doc xml:space="preserve" | |
| 3280 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3212 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3281 | 3213 | line="2646">name of file format.</doc> | |
| 3282 | 3214 | <type name="utf8" c:type="const char*"/> | |
| 3283 | 3215 | </parameter> | |
| @@ -3286,13 +3218,13 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3286 | 3218 | nullable="1" | |
| 3287 | 3219 | allow-none="1"> | |
| 3288 | 3220 | <doc xml:space="preserve" | |
| 3289 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3221 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3290 | 3222 | line="2647">return location for error, or `NULL`</doc> | |
| 3291 | 3223 | <type name="GLib.Error" c:type="GError**"/> | |
| 3292 | 3224 | </parameter> | |
| 3293 | 3225 | <parameter name="..." transfer-ownership="none"> | |
| 3294 | 3226 | <doc xml:space="preserve" | |
| 3295 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3227 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3296 | 3228 | line="2648">list of key-value save options</doc> | |
| 3297 | 3229 | <varargs/> | |
| 3298 | 3230 | </parameter> | |
| @@ -3303,7 +3235,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3303 | 3235 | version="2.4" | |
| 3304 | 3236 | throws="1"> | |
| 3305 | 3237 | <doc xml:space="preserve" | |
| 3306 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3238 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3307 | 3239 | line="2697">Vector version of `gdk_pixbuf_save_to_callback()`. | |
| 3308 | 3240 | ||
| 3309 | 3241 | Saves pixbuf to a callback in format @type, which is currently "jpeg", | |
| @@ -3312,18 +3244,17 @@ Saves pixbuf to a callback in format @type, which is currently "jpeg", | |||
| 3312 | 3244 | If @error is set, `FALSE` will be returned. | |
| 3313 | 3245 | ||
| 3314 | 3246 | See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |
| 3315 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3316 | - | line="381"/> | |
| 3247 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="381"/> | |
| 3317 | 3248 | <return-value transfer-ownership="none"> | |
| 3318 | 3249 | <doc xml:space="preserve" | |
| 3319 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3250 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3320 | 3251 | line="2717">whether an error was set</doc> | |
| 3321 | 3252 | <type name="gboolean" c:type="gboolean"/> | |
| 3322 | 3253 | </return-value> | |
| 3323 | 3254 | <parameters> | |
| 3324 | 3255 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3325 | 3256 | <doc xml:space="preserve" | |
| 3326 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3257 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3327 | 3258 | line="2699">a `GdkPixbuf`.</doc> | |
| 3328 | 3259 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3329 | 3260 | </instance-parameter> | |
| @@ -3332,7 +3263,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3332 | 3263 | scope="call" | |
| 3333 | 3264 | closure="1"> | |
| 3334 | 3265 | <doc xml:space="preserve" | |
| 3335 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3266 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3336 | 3267 | line="2700">a function that is called to save each block of data that | |
| 3337 | 3268 | the save routine generates.</doc> | |
| 3338 | 3269 | <type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/> | |
| @@ -3342,13 +3273,13 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3342 | 3273 | nullable="1" | |
| 3343 | 3274 | allow-none="1"> | |
| 3344 | 3275 | <doc xml:space="preserve" | |
| 3345 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3276 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3346 | 3277 | line="2702">user data to pass to the save function.</doc> | |
| 3347 | 3278 | <type name="gpointer" c:type="gpointer"/> | |
| 3348 | 3279 | </parameter> | |
| 3349 | 3280 | <parameter name="type" transfer-ownership="none"> | |
| 3350 | 3281 | <doc xml:space="preserve" | |
| 3351 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3282 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3352 | 3283 | line="2703">name of file format.</doc> | |
| 3353 | 3284 | <type name="utf8" c:type="const char*"/> | |
| 3354 | 3285 | </parameter> | |
| @@ -3357,7 +3288,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3357 | 3288 | nullable="1" | |
| 3358 | 3289 | allow-none="1"> | |
| 3359 | 3290 | <doc xml:space="preserve" | |
| 3360 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3291 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3361 | 3292 | line="2704">name of options to set</doc> | |
| 3362 | 3293 | <array c:type="char**"> | |
| 3363 | 3294 | <type name="utf8"/> | |
| @@ -3368,7 +3299,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3368 | 3299 | nullable="1" | |
| 3369 | 3300 | allow-none="1"> | |
| 3370 | 3301 | <doc xml:space="preserve" | |
| 3371 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3302 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3372 | 3303 | line="2705">values for named options</doc> | |
| 3373 | 3304 | <array c:type="char**"> | |
| 3374 | 3305 | <type name="utf8"/> | |
| @@ -3381,7 +3312,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_callback] for more details.</doc> | |||
| 3381 | 3312 | version="2.14" | |
| 3382 | 3313 | introspectable="0"> | |
| 3383 | 3314 | <doc xml:space="preserve" | |
| 3384 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3315 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3385 | 3316 | line="2990">Saves `pixbuf` to an output stream. | |
| 3386 | 3317 | ||
| 3387 | 3318 | Supported file formats are currently "jpeg", "tiff", "png", "ico" or | |
| @@ -3393,11 +3324,10 @@ will be returned. Other possible errors are in the `GDK_PIXBUF_ERROR` | |||
| 3393 | 3324 | and `G_IO_ERROR` domains. | |
| 3394 | 3325 | ||
| 3395 | 3326 | The stream is not closed at the end of this call.</doc> | |
| 3396 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3397 | - | line="441"/> | |
| 3327 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="441"/> | |
| 3398 | 3328 | <return-value transfer-ownership="none"> | |
| 3399 | 3329 | <doc xml:space="preserve" | |
| 3400 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3330 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3401 | 3331 | line="3011">`TRUE` if the pixbuf was saved successfully, `FALSE` if an | |
| 3402 | 3332 | error was set.</doc> | |
| 3403 | 3333 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -3405,19 +3335,19 @@ The stream is not closed at the end of this call.</doc> | |||
| 3405 | 3335 | <parameters> | |
| 3406 | 3336 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3407 | 3337 | <doc xml:space="preserve" | |
| 3408 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3338 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3409 | 3339 | line="2992">a `GdkPixbuf`</doc> | |
| 3410 | 3340 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3411 | 3341 | </instance-parameter> | |
| 3412 | 3342 | <parameter name="stream" transfer-ownership="none"> | |
| 3413 | 3343 | <doc xml:space="preserve" | |
| 3414 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3344 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3415 | 3345 | line="2993">a `GOutputStream` to save the pixbuf to</doc> | |
| 3416 | 3346 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3417 | 3347 | </parameter> | |
| 3418 | 3348 | <parameter name="type" transfer-ownership="none"> | |
| 3419 | 3349 | <doc xml:space="preserve" | |
| 3420 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3350 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3421 | 3351 | line="2994">name of file format</doc> | |
| 3422 | 3352 | <type name="utf8" c:type="const char*"/> | |
| 3423 | 3353 | </parameter> | |
| @@ -3426,7 +3356,7 @@ The stream is not closed at the end of this call.</doc> | |||
| 3426 | 3356 | nullable="1" | |
| 3427 | 3357 | allow-none="1"> | |
| 3428 | 3358 | <doc xml:space="preserve" | |
| 3429 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3359 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3430 | 3360 | line="2995">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3431 | 3361 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3432 | 3362 | </parameter> | |
| @@ -3435,13 +3365,13 @@ The stream is not closed at the end of this call.</doc> | |||
| 3435 | 3365 | nullable="1" | |
| 3436 | 3366 | allow-none="1"> | |
| 3437 | 3367 | <doc xml:space="preserve" | |
| 3438 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3368 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3439 | 3369 | line="2996">return location for error, or `NULL`</doc> | |
| 3440 | 3370 | <type name="GLib.Error" c:type="GError**"/> | |
| 3441 | 3371 | </parameter> | |
| 3442 | 3372 | <parameter name="..." transfer-ownership="none"> | |
| 3443 | 3373 | <doc xml:space="preserve" | |
| 3444 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3374 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3445 | 3375 | line="2997">list of key-value save options</doc> | |
| 3446 | 3376 | <varargs/> | |
| 3447 | 3377 | </parameter> | |
| @@ -3452,7 +3382,7 @@ The stream is not closed at the end of this call.</doc> | |||
| 3452 | 3382 | version="2.24" | |
| 3453 | 3383 | introspectable="0"> | |
| 3454 | 3384 | <doc xml:space="preserve" | |
| 3455 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3385 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3456 | 3386 | line="3144">Saves `pixbuf` to an output stream asynchronously. | |
| 3457 | 3387 | ||
| 3458 | 3388 | For more details see gdk_pixbuf_save_to_stream(), which is the synchronous | |
| @@ -3462,27 +3392,26 @@ When the operation is finished, `callback` will be called in the main thread. | |||
| 3462 | 3392 | ||
| 3463 | 3393 | You can then call gdk_pixbuf_save_to_stream_finish() to get the result of | |
| 3464 | 3394 | the operation.</doc> | |
| 3465 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3466 | - | line="449"/> | |
| 3395 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="449"/> | |
| 3467 | 3396 | <return-value transfer-ownership="none"> | |
| 3468 | 3397 | <type name="none" c:type="void"/> | |
| 3469 | 3398 | </return-value> | |
| 3470 | 3399 | <parameters> | |
| 3471 | 3400 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3472 | 3401 | <doc xml:space="preserve" | |
| 3473 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3402 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3474 | 3403 | line="3146">a `GdkPixbuf`</doc> | |
| 3475 | 3404 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3476 | 3405 | </instance-parameter> | |
| 3477 | 3406 | <parameter name="stream" transfer-ownership="none"> | |
| 3478 | 3407 | <doc xml:space="preserve" | |
| 3479 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3408 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3480 | 3409 | line="3147">a `GOutputStream` to which to save the pixbuf</doc> | |
| 3481 | 3410 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3482 | 3411 | </parameter> | |
| 3483 | 3412 | <parameter name="type" transfer-ownership="none"> | |
| 3484 | 3413 | <doc xml:space="preserve" | |
| 3485 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3414 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3486 | 3415 | line="3148">name of file format</doc> | |
| 3487 | 3416 | <type name="utf8" c:type="const gchar*"/> | |
| 3488 | 3417 | </parameter> | |
| @@ -3491,7 +3420,7 @@ the operation.</doc> | |||
| 3491 | 3420 | nullable="1" | |
| 3492 | 3421 | allow-none="1"> | |
| 3493 | 3422 | <doc xml:space="preserve" | |
| 3494 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3423 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3495 | 3424 | line="3149">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3496 | 3425 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3497 | 3426 | </parameter> | |
| @@ -3502,7 +3431,7 @@ the operation.</doc> | |||
| 3502 | 3431 | scope="async" | |
| 3503 | 3432 | closure="4"> | |
| 3504 | 3433 | <doc xml:space="preserve" | |
| 3505 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3434 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3506 | 3435 | line="3150">a `GAsyncReadyCallback` to call when the pixbuf is saved</doc> | |
| 3507 | 3436 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 3508 | 3437 | </parameter> | |
| @@ -3511,13 +3440,13 @@ the operation.</doc> | |||
| 3511 | 3440 | nullable="1" | |
| 3512 | 3441 | allow-none="1"> | |
| 3513 | 3442 | <doc xml:space="preserve" | |
| 3514 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3443 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3515 | 3444 | line="3151">the data to pass to the callback function</doc> | |
| 3516 | 3445 | <type name="gpointer" c:type="gpointer"/> | |
| 3517 | 3446 | </parameter> | |
| 3518 | 3447 | <parameter name="..." transfer-ownership="none"> | |
| 3519 | 3448 | <doc xml:space="preserve" | |
| 3520 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3449 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3521 | 3450 | line="3152">list of key-value save options</doc> | |
| 3522 | 3451 | <varargs/> | |
| 3523 | 3452 | </parameter> | |
| @@ -3528,18 +3457,17 @@ the operation.</doc> | |||
| 3528 | 3457 | version="2.36" | |
| 3529 | 3458 | throws="1"> | |
| 3530 | 3459 | <doc xml:space="preserve" | |
| 3531 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3460 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3532 | 3461 | line="2948">Saves `pixbuf` to an output stream. | |
| 3533 | 3462 | ||
| 3534 | 3463 | Supported file formats are currently "jpeg", "tiff", "png", "ico" or | |
| 3535 | 3464 | "bmp". | |
| 3536 | 3465 | ||
| 3537 | 3466 | See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |
| 3538 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3539 | - | line="472"/> | |
| 3467 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="472"/> | |
| 3540 | 3468 | <return-value transfer-ownership="none"> | |
| 3541 | 3469 | <doc xml:space="preserve" | |
| 3542 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3470 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3543 | 3471 | line="2965">`TRUE` if the pixbuf was saved successfully, `FALSE` if an | |
| 3544 | 3472 | error was set.</doc> | |
| 3545 | 3473 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -3547,19 +3475,19 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3547 | 3475 | <parameters> | |
| 3548 | 3476 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3549 | 3477 | <doc xml:space="preserve" | |
| 3550 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3478 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3551 | 3479 | line="2950">a `GdkPixbuf`</doc> | |
| 3552 | 3480 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3553 | 3481 | </instance-parameter> | |
| 3554 | 3482 | <parameter name="stream" transfer-ownership="none"> | |
| 3555 | 3483 | <doc xml:space="preserve" | |
| 3556 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3484 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3557 | 3485 | line="2951">a `GOutputStream` to save the pixbuf to</doc> | |
| 3558 | 3486 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3559 | 3487 | </parameter> | |
| 3560 | 3488 | <parameter name="type" transfer-ownership="none"> | |
| 3561 | 3489 | <doc xml:space="preserve" | |
| 3562 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3490 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3563 | 3491 | line="2952">name of file format</doc> | |
| 3564 | 3492 | <type name="utf8" c:type="const char*"/> | |
| 3565 | 3493 | </parameter> | |
| @@ -3568,7 +3496,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3568 | 3496 | nullable="1" | |
| 3569 | 3497 | allow-none="1"> | |
| 3570 | 3498 | <doc xml:space="preserve" | |
| 3571 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3499 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3572 | 3500 | line="2953">name of options to set</doc> | |
| 3573 | 3501 | <array c:type="char**"> | |
| 3574 | 3502 | <type name="utf8"/> | |
| @@ -3579,7 +3507,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3579 | 3507 | nullable="1" | |
| 3580 | 3508 | allow-none="1"> | |
| 3581 | 3509 | <doc xml:space="preserve" | |
| 3582 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3510 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3583 | 3511 | line="2954">values for named options</doc> | |
| 3584 | 3512 | <array c:type="char**"> | |
| 3585 | 3513 | <type name="utf8"/> | |
| @@ -3590,7 +3518,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3590 | 3518 | nullable="1" | |
| 3591 | 3519 | allow-none="1"> | |
| 3592 | 3520 | <doc xml:space="preserve" | |
| 3593 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3521 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3594 | 3522 | line="2955">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3595 | 3523 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3596 | 3524 | </parameter> | |
| @@ -3600,7 +3528,7 @@ See [method@GdkPixbuf.Pixbuf.save_to_stream] for more details.</doc> | |||
| 3600 | 3528 | c:identifier="gdk_pixbuf_save_to_streamv_async" | |
| 3601 | 3529 | version="2.36"> | |
| 3602 | 3530 | <doc xml:space="preserve" | |
| 3603 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3531 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3604 | 3532 | line="3086">Saves `pixbuf` to an output stream asynchronously. | |
| 3605 | 3533 | ||
| 3606 | 3534 | For more details see gdk_pixbuf_save_to_streamv(), which is the synchronous | |
| @@ -3610,27 +3538,26 @@ When the operation is finished, `callback` will be called in the main thread. | |||
| 3610 | 3538 | ||
| 3611 | 3539 | You can then call gdk_pixbuf_save_to_stream_finish() to get the result of | |
| 3612 | 3540 | the operation.</doc> | |
| 3613 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3614 | - | line="462"/> | |
| 3541 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="462"/> | |
| 3615 | 3542 | <return-value transfer-ownership="none"> | |
| 3616 | 3543 | <type name="none" c:type="void"/> | |
| 3617 | 3544 | </return-value> | |
| 3618 | 3545 | <parameters> | |
| 3619 | 3546 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3620 | 3547 | <doc xml:space="preserve" | |
| 3621 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3548 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3622 | 3549 | line="3088">a `GdkPixbuf`</doc> | |
| 3623 | 3550 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3624 | 3551 | </instance-parameter> | |
| 3625 | 3552 | <parameter name="stream" transfer-ownership="none"> | |
| 3626 | 3553 | <doc xml:space="preserve" | |
| 3627 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3554 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3628 | 3555 | line="3089">a `GOutputStream` to which to save the pixbuf</doc> | |
| 3629 | 3556 | <type name="Gio.OutputStream" c:type="GOutputStream*"/> | |
| 3630 | 3557 | </parameter> | |
| 3631 | 3558 | <parameter name="type" transfer-ownership="none"> | |
| 3632 | 3559 | <doc xml:space="preserve" | |
| 3633 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3560 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3634 | 3561 | line="3090">name of file format</doc> | |
| 3635 | 3562 | <type name="utf8" c:type="const gchar*"/> | |
| 3636 | 3563 | </parameter> | |
| @@ -3639,7 +3566,7 @@ the operation.</doc> | |||
| 3639 | 3566 | nullable="1" | |
| 3640 | 3567 | allow-none="1"> | |
| 3641 | 3568 | <doc xml:space="preserve" | |
| 3642 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3569 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3643 | 3570 | line="3091">name of options to set</doc> | |
| 3644 | 3571 | <array c:type="gchar**"> | |
| 3645 | 3572 | <type name="utf8"/> | |
| @@ -3650,7 +3577,7 @@ the operation.</doc> | |||
| 3650 | 3577 | nullable="1" | |
| 3651 | 3578 | allow-none="1"> | |
| 3652 | 3579 | <doc xml:space="preserve" | |
| 3653 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3580 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3654 | 3581 | line="3092">values for named options</doc> | |
| 3655 | 3582 | <array c:type="gchar**"> | |
| 3656 | 3583 | <type name="utf8"/> | |
| @@ -3661,7 +3588,7 @@ the operation.</doc> | |||
| 3661 | 3588 | nullable="1" | |
| 3662 | 3589 | allow-none="1"> | |
| 3663 | 3590 | <doc xml:space="preserve" | |
| 3664 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3591 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3665 | 3592 | line="3093">optional `GCancellable` object, `NULL` to ignore</doc> | |
| 3666 | 3593 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 3667 | 3594 | </parameter> | |
| @@ -3672,7 +3599,7 @@ the operation.</doc> | |||
| 3672 | 3599 | scope="async" | |
| 3673 | 3600 | closure="6"> | |
| 3674 | 3601 | <doc xml:space="preserve" | |
| 3675 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3602 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3676 | 3603 | line="3094">a `GAsyncReadyCallback` to call when the pixbuf is saved</doc> | |
| 3677 | 3604 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 3678 | 3605 | </parameter> | |
| @@ -3681,7 +3608,7 @@ the operation.</doc> | |||
| 3681 | 3608 | nullable="1" | |
| 3682 | 3609 | allow-none="1"> | |
| 3683 | 3610 | <doc xml:space="preserve" | |
| 3684 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3611 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3685 | 3612 | line="3095">the data to pass to the callback function</doc> | |
| 3686 | 3613 | <type name="gpointer" c:type="gpointer"/> | |
| 3687 | 3614 | </parameter> | |
| @@ -3689,7 +3616,7 @@ the operation.</doc> | |||
| 3689 | 3616 | </method> | |
| 3690 | 3617 | <method name="savev" c:identifier="gdk_pixbuf_savev" throws="1"> | |
| 3691 | 3618 | <doc xml:space="preserve" | |
| 3692 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3619 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3693 | 3620 | line="2528">Vector version of `gdk_pixbuf_save()`. | |
| 3694 | 3621 | ||
| 3695 | 3622 | Saves pixbuf to a file in `type`, which is currently "jpeg", "png", "tiff", "ico" or "bmp". | |
| @@ -3697,30 +3624,29 @@ Saves pixbuf to a file in `type`, which is currently "jpeg", "png", "tiff", "ico | |||
| 3697 | 3624 | If @error is set, `FALSE` will be returned. | |
| 3698 | 3625 | ||
| 3699 | 3626 | See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |
| 3700 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3701 | - | line="326"/> | |
| 3627 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="326"/> | |
| 3702 | 3628 | <return-value transfer-ownership="none"> | |
| 3703 | 3629 | <doc xml:space="preserve" | |
| 3704 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3630 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3705 | 3631 | line="2545">whether an error was set</doc> | |
| 3706 | 3632 | <type name="gboolean" c:type="gboolean"/> | |
| 3707 | 3633 | </return-value> | |
| 3708 | 3634 | <parameters> | |
| 3709 | 3635 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3710 | 3636 | <doc xml:space="preserve" | |
| 3711 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3637 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3712 | 3638 | line="2530">a `GdkPixbuf`.</doc> | |
| 3713 | 3639 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3714 | 3640 | </instance-parameter> | |
| 3715 | 3641 | <parameter name="filename" transfer-ownership="none"> | |
| 3716 | 3642 | <doc xml:space="preserve" | |
| 3717 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3643 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3718 | 3644 | line="2531">name of file to save.</doc> | |
| 3719 | 3645 | <type name="filename" c:type="const char*"/> | |
| 3720 | 3646 | </parameter> | |
| 3721 | 3647 | <parameter name="type" transfer-ownership="none"> | |
| 3722 | 3648 | <doc xml:space="preserve" | |
| 3723 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3649 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3724 | 3650 | line="2532">name of file format.</doc> | |
| 3725 | 3651 | <type name="utf8" c:type="const char*"/> | |
| 3726 | 3652 | </parameter> | |
| @@ -3729,7 +3655,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3729 | 3655 | nullable="1" | |
| 3730 | 3656 | allow-none="1"> | |
| 3731 | 3657 | <doc xml:space="preserve" | |
| 3732 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3658 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3733 | 3659 | line="2533">name of options to set</doc> | |
| 3734 | 3660 | <array c:type="char**"> | |
| 3735 | 3661 | <type name="utf8"/> | |
| @@ -3740,7 +3666,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3740 | 3666 | nullable="1" | |
| 3741 | 3667 | allow-none="1"> | |
| 3742 | 3668 | <doc xml:space="preserve" | |
| 3743 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3669 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 3744 | 3670 | line="2534">values for named options</doc> | |
| 3745 | 3671 | <array c:type="char**"> | |
| 3746 | 3672 | <type name="utf8"/> | |
| @@ -3750,7 +3676,7 @@ See [method@GdkPixbuf.Pixbuf.save] for more details.</doc> | |||
| 3750 | 3676 | </method> | |
| 3751 | 3677 | <method name="scale" c:identifier="gdk_pixbuf_scale"> | |
| 3752 | 3678 | <doc xml:space="preserve" | |
| 3753 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3679 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3754 | 3680 | line="28">Creates a transformation of the source image @src by scaling by | |
| 3755 | 3681 | @scale_x and @scale_y then translating by @offset_x and @offset_y, | |
| 3756 | 3682 | then renders the rectangle (@dest_x, @dest_y, @dest_width, | |
| @@ -3764,7 +3690,7 @@ gdk_pixbuf_scale_simple() isn't powerful enough. | |||
| 3764 | 3690 | If the source rectangle overlaps the destination rectangle on the | |
| 3765 | 3691 | same pixbuf, it will be overwritten during the scaling which | |
| 3766 | 3692 | results in rendering artifacts.</doc> | |
| 3767 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 3693 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 3768 | 3694 | line="99"/> | |
| 3769 | 3695 | <return-value transfer-ownership="none"> | |
| 3770 | 3696 | <type name="none" c:type="void"/> | |
| @@ -3772,67 +3698,67 @@ results in rendering artifacts.</doc> | |||
| 3772 | 3698 | <parameters> | |
| 3773 | 3699 | <instance-parameter name="src" transfer-ownership="none"> | |
| 3774 | 3700 | <doc xml:space="preserve" | |
| 3775 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3701 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3776 | 3702 | line="30">a #GdkPixbuf</doc> | |
| 3777 | 3703 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 3778 | 3704 | </instance-parameter> | |
| 3779 | 3705 | <parameter name="dest" transfer-ownership="none"> | |
| 3780 | 3706 | <doc xml:space="preserve" | |
| 3781 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3707 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3782 | 3708 | line="31">the #GdkPixbuf into which to render the results</doc> | |
| 3783 | 3709 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3784 | 3710 | </parameter> | |
| 3785 | 3711 | <parameter name="dest_x" transfer-ownership="none"> | |
| 3786 | 3712 | <doc xml:space="preserve" | |
| 3787 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3713 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3788 | 3714 | line="32">the left coordinate for region to render</doc> | |
| 3789 | 3715 | <type name="gint" c:type="int"/> | |
| 3790 | 3716 | </parameter> | |
| 3791 | 3717 | <parameter name="dest_y" transfer-ownership="none"> | |
| 3792 | 3718 | <doc xml:space="preserve" | |
| 3793 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3719 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3794 | 3720 | line="33">the top coordinate for region to render</doc> | |
| 3795 | 3721 | <type name="gint" c:type="int"/> | |
| 3796 | 3722 | </parameter> | |
| 3797 | 3723 | <parameter name="dest_width" transfer-ownership="none"> | |
| 3798 | 3724 | <doc xml:space="preserve" | |
| 3799 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3725 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3800 | 3726 | line="34">the width of the region to render</doc> | |
| 3801 | 3727 | <type name="gint" c:type="int"/> | |
| 3802 | 3728 | </parameter> | |
| 3803 | 3729 | <parameter name="dest_height" transfer-ownership="none"> | |
| 3804 | 3730 | <doc xml:space="preserve" | |
| 3805 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3731 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3806 | 3732 | line="35">the height of the region to render</doc> | |
| 3807 | 3733 | <type name="gint" c:type="int"/> | |
| 3808 | 3734 | </parameter> | |
| 3809 | 3735 | <parameter name="offset_x" transfer-ownership="none"> | |
| 3810 | 3736 | <doc xml:space="preserve" | |
| 3811 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3737 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3812 | 3738 | line="36">the offset in the X direction (currently rounded to an integer)</doc> | |
| 3813 | 3739 | <type name="gdouble" c:type="double"/> | |
| 3814 | 3740 | </parameter> | |
| 3815 | 3741 | <parameter name="offset_y" transfer-ownership="none"> | |
| 3816 | 3742 | <doc xml:space="preserve" | |
| 3817 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3743 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3818 | 3744 | line="37">the offset in the Y direction (currently rounded to an integer)</doc> | |
| 3819 | 3745 | <type name="gdouble" c:type="double"/> | |
| 3820 | 3746 | </parameter> | |
| 3821 | 3747 | <parameter name="scale_x" transfer-ownership="none"> | |
| 3822 | 3748 | <doc xml:space="preserve" | |
| 3823 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3749 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3824 | 3750 | line="38">the scale factor in the X direction</doc> | |
| 3825 | 3751 | <type name="gdouble" c:type="double"/> | |
| 3826 | 3752 | </parameter> | |
| 3827 | 3753 | <parameter name="scale_y" transfer-ownership="none"> | |
| 3828 | 3754 | <doc xml:space="preserve" | |
| 3829 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3755 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3830 | 3756 | line="39">the scale factor in the Y direction</doc> | |
| 3831 | 3757 | <type name="gdouble" c:type="double"/> | |
| 3832 | 3758 | </parameter> | |
| 3833 | 3759 | <parameter name="interp_type" transfer-ownership="none"> | |
| 3834 | 3760 | <doc xml:space="preserve" | |
| 3835 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3761 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3836 | 3762 | line="40">the interpolation type for the transformation.</doc> | |
| 3837 | 3763 | <type name="InterpType" c:type="GdkInterpType"/> | |
| 3838 | 3764 | </parameter> | |
| @@ -3840,7 +3766,7 @@ results in rendering artifacts.</doc> | |||
| 3840 | 3766 | </method> | |
| 3841 | 3767 | <method name="scale_simple" c:identifier="gdk_pixbuf_scale_simple"> | |
| 3842 | 3768 | <doc xml:space="preserve" | |
| 3843 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3769 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3844 | 3770 | line="236">Create a new pixbuf containing a copy of `src` scaled to | |
| 3845 | 3771 | `dest_width` x `dest_height`. | |
| 3846 | 3772 | ||
| @@ -3859,36 +3785,36 @@ If `dest_width` and `dest_height` are equal to the width and height of | |||
| 3859 | 3785 | ||
| 3860 | 3786 | For more complicated scaling/alpha blending see [method@GdkPixbuf.Pixbuf.scale] | |
| 3861 | 3787 | and [method@GdkPixbuf.Pixbuf.composite].</doc> | |
| 3862 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 3788 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 3863 | 3789 | line="143"/> | |
| 3864 | 3790 | <return-value transfer-ownership="full" nullable="1"> | |
| 3865 | 3791 | <doc xml:space="preserve" | |
| 3866 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3792 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3867 | 3793 | line="262">the new pixbuf</doc> | |
| 3868 | 3794 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3869 | 3795 | </return-value> | |
| 3870 | 3796 | <parameters> | |
| 3871 | 3797 | <instance-parameter name="src" transfer-ownership="none"> | |
| 3872 | 3798 | <doc xml:space="preserve" | |
| 3873 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3799 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3874 | 3800 | line="238">a #GdkPixbuf</doc> | |
| 3875 | 3801 | <type name="Pixbuf" c:type="const GdkPixbuf*"/> | |
| 3876 | 3802 | </instance-parameter> | |
| 3877 | 3803 | <parameter name="dest_width" transfer-ownership="none"> | |
| 3878 | 3804 | <doc xml:space="preserve" | |
| 3879 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3805 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3880 | 3806 | line="239">the width of destination image</doc> | |
| 3881 | 3807 | <type name="gint" c:type="int"/> | |
| 3882 | 3808 | </parameter> | |
| 3883 | 3809 | <parameter name="dest_height" transfer-ownership="none"> | |
| 3884 | 3810 | <doc xml:space="preserve" | |
| 3885 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3811 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3886 | 3812 | line="240">the height of destination image</doc> | |
| 3887 | 3813 | <type name="gint" c:type="int"/> | |
| 3888 | 3814 | </parameter> | |
| 3889 | 3815 | <parameter name="interp_type" transfer-ownership="none"> | |
| 3890 | 3816 | <doc xml:space="preserve" | |
| 3891 | - | filename="../gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3817 | + | filename="gdk-pixbuf/gdk-pixbuf-scale.c" | |
| 3892 | 3818 | line="241">the interpolation type for the transformation.</doc> | |
| 3893 | 3819 | <type name="InterpType" c:type="GdkInterpType"/> | |
| 3894 | 3820 | </parameter> | |
| @@ -3898,35 +3824,34 @@ and [method@GdkPixbuf.Pixbuf.composite].</doc> | |||
| 3898 | 3824 | c:identifier="gdk_pixbuf_set_option" | |
| 3899 | 3825 | version="2.2"> | |
| 3900 | 3826 | <doc xml:space="preserve" | |
| 3901 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3827 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3902 | 3828 | line="1257">Attaches a key/value pair as an option to a `GdkPixbuf`. | |
| 3903 | 3829 | ||
| 3904 | 3830 | If `key` already exists in the list of options attached to the `pixbuf`, | |
| 3905 | 3831 | the new value is ignored and `FALSE` is returned.</doc> | |
| 3906 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3907 | - | line="506"/> | |
| 3832 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="506"/> | |
| 3908 | 3833 | <return-value transfer-ownership="none"> | |
| 3909 | 3834 | <doc xml:space="preserve" | |
| 3910 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3835 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3911 | 3836 | line="1268">`TRUE` on success</doc> | |
| 3912 | 3837 | <type name="gboolean" c:type="gboolean"/> | |
| 3913 | 3838 | </return-value> | |
| 3914 | 3839 | <parameters> | |
| 3915 | 3840 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3916 | 3841 | <doc xml:space="preserve" | |
| 3917 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3842 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3918 | 3843 | line="1259">a `GdkPixbuf`</doc> | |
| 3919 | 3844 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3920 | 3845 | </instance-parameter> | |
| 3921 | 3846 | <parameter name="key" transfer-ownership="none"> | |
| 3922 | 3847 | <doc xml:space="preserve" | |
| 3923 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3848 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3924 | 3849 | line="1260">a nul-terminated string.</doc> | |
| 3925 | 3850 | <type name="utf8" c:type="const gchar*"/> | |
| 3926 | 3851 | </parameter> | |
| 3927 | 3852 | <parameter name="value" transfer-ownership="none"> | |
| 3928 | 3853 | <doc xml:space="preserve" | |
| 3929 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3854 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3930 | 3855 | line="1261">a nul-terminated string.</doc> | |
| 3931 | 3856 | <type name="utf8" c:type="const gchar*"/> | |
| 3932 | 3857 | </parameter> | |
| @@ -3938,18 +3863,17 @@ the new value is ignored and `FALSE` is returned.</doc> | |||
| 3938 | 3863 | deprecated="1" | |
| 3939 | 3864 | deprecated-version="2.0"> | |
| 3940 | 3865 | <doc xml:space="preserve" | |
| 3941 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3866 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3942 | 3867 | line="430">Removes a reference from a pixbuf.</doc> | |
| 3943 | 3868 | <doc-deprecated xml:space="preserve">Use g_object_unref().</doc-deprecated> | |
| 3944 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3945 | - | line="168"/> | |
| 3869 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="168"/> | |
| 3946 | 3870 | <return-value transfer-ownership="none"> | |
| 3947 | 3871 | <type name="none" c:type="void"/> | |
| 3948 | 3872 | </return-value> | |
| 3949 | 3873 | <parameters> | |
| 3950 | 3874 | <instance-parameter name="pixbuf" transfer-ownership="none"> | |
| 3951 | 3875 | <doc xml:space="preserve" | |
| 3952 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3876 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3953 | 3877 | line="432">A pixbuf.</doc> | |
| 3954 | 3878 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 3955 | 3879 | </instance-parameter> | |
| @@ -3959,9 +3883,10 @@ the new value is ignored and `FALSE` is returned.</doc> | |||
| 3959 | 3883 | writable="1" | |
| 3960 | 3884 | construct-only="1" | |
| 3961 | 3885 | transfer-ownership="none" | |
| 3962 | - | getter="get_bits_per_sample"> | |
| 3886 | + | getter="get_bits_per_sample" | |
| 3887 | + | default-value="8"> | |
| 3963 | 3888 | <doc xml:space="preserve" | |
| 3964 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3889 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3965 | 3890 | line="281">The number of bits per sample. | |
| 3966 | 3891 | ||
| 3967 | 3892 | Currently only 8 bit per sample are supported.</doc> | |
| @@ -3971,9 +3896,10 @@ Currently only 8 bit per sample are supported.</doc> | |||
| 3971 | 3896 | writable="1" | |
| 3972 | 3897 | construct-only="1" | |
| 3973 | 3898 | transfer-ownership="none" | |
| 3974 | - | getter="get_colorspace"> | |
| 3899 | + | getter="get_colorspace" | |
| 3900 | + | default-value="GDK_COLORSPACE_RGB"> | |
| 3975 | 3901 | <doc xml:space="preserve" | |
| 3976 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3902 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3977 | 3903 | line="254">The color space of the pixbuf. | |
| 3978 | 3904 | ||
| 3979 | 3905 | Currently, only `GDK_COLORSPACE_RGB` is supported.</doc> | |
| @@ -3983,9 +3909,10 @@ Currently, only `GDK_COLORSPACE_RGB` is supported.</doc> | |||
| 3983 | 3909 | writable="1" | |
| 3984 | 3910 | construct-only="1" | |
| 3985 | 3911 | transfer-ownership="none" | |
| 3986 | - | getter="get_has_alpha"> | |
| 3912 | + | getter="get_has_alpha" | |
| 3913 | + | default-value="FALSE"> | |
| 3987 | 3914 | <doc xml:space="preserve" | |
| 3988 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3915 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3989 | 3916 | line="269">Whether the pixbuf has an alpha channel.</doc> | |
| 3990 | 3917 | <type name="gboolean" c:type="gboolean"/> | |
| 3991 | 3918 | </property> | |
| @@ -3993,9 +3920,10 @@ Currently, only `GDK_COLORSPACE_RGB` is supported.</doc> | |||
| 3993 | 3920 | writable="1" | |
| 3994 | 3921 | construct-only="1" | |
| 3995 | 3922 | transfer-ownership="none" | |
| 3996 | - | getter="get_height"> | |
| 3923 | + | getter="get_height" | |
| 3924 | + | default-value="1"> | |
| 3997 | 3925 | <doc xml:space="preserve" | |
| 3998 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3926 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 3999 | 3927 | line="311">The number of rows of the pixbuf.</doc> | |
| 4000 | 3928 | <type name="gint" c:type="gint"/> | |
| 4001 | 3929 | </property> | |
| @@ -4003,9 +3931,10 @@ Currently, only `GDK_COLORSPACE_RGB` is supported.</doc> | |||
| 4003 | 3931 | writable="1" | |
| 4004 | 3932 | construct-only="1" | |
| 4005 | 3933 | transfer-ownership="none" | |
| 4006 | - | getter="get_n_channels"> | |
| 3934 | + | getter="get_n_channels" | |
| 3935 | + | default-value="3"> | |
| 4007 | 3936 | <doc xml:space="preserve" | |
| 4008 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3937 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 4009 | 3938 | line="238">The number of samples per pixel. | |
| 4010 | 3939 | ||
| 4011 | 3940 | Currently, only 3 or 4 samples per pixel are supported.</doc> | |
| @@ -4023,7 +3952,7 @@ Currently, only 3 or 4 samples per pixel are supported.</doc> | |||
| 4023 | 3952 | transfer-ownership="none" | |
| 4024 | 3953 | getter="get_pixels"> | |
| 4025 | 3954 | <doc xml:space="preserve" | |
| 4026 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3955 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 4027 | 3956 | line="343">A pointer to the pixel data of the pixbuf.</doc> | |
| 4028 | 3957 | <type name="gpointer" c:type="gpointer"/> | |
| 4029 | 3958 | </property> | |
| @@ -4031,9 +3960,10 @@ Currently, only 3 or 4 samples per pixel are supported.</doc> | |||
| 4031 | 3960 | writable="1" | |
| 4032 | 3961 | construct-only="1" | |
| 4033 | 3962 | transfer-ownership="none" | |
| 4034 | - | getter="get_rowstride"> | |
| 3963 | + | getter="get_rowstride" | |
| 3964 | + | default-value="1"> | |
| 4035 | 3965 | <doc xml:space="preserve" | |
| 4036 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3966 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 4037 | 3967 | line="325">The number of bytes between the start of a row and | |
| 4038 | 3968 | the start of the next row. | |
| 4039 | 3969 | ||
| @@ -4045,9 +3975,10 @@ width of the pixbuf.</doc> | |||
| 4045 | 3975 | writable="1" | |
| 4046 | 3976 | construct-only="1" | |
| 4047 | 3977 | transfer-ownership="none" | |
| 4048 | - | getter="get_width"> | |
| 3978 | + | getter="get_width" | |
| 3979 | + | default-value="1"> | |
| 4049 | 3980 | <doc xml:space="preserve" | |
| 4050 | - | filename="../gdk-pixbuf/gdk-pixbuf.c" | |
| 3981 | + | filename="gdk-pixbuf/gdk-pixbuf.c" | |
| 4051 | 3982 | line="297">The number of columns of the pixbuf.</doc> | |
| 4052 | 3983 | <type name="gint" c:type="gint"/> | |
| 4053 | 3984 | </property> | |
| @@ -4059,7 +3990,7 @@ width of the pixbuf.</doc> | |||
| 4059 | 3990 | glib:get-type="gdk_pixbuf_alpha_mode_get_type" | |
| 4060 | 3991 | c:type="GdkPixbufAlphaMode"> | |
| 4061 | 3992 | <doc xml:space="preserve" | |
| 4062 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 3993 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 4063 | 3994 | line="39">Control the alpha channel for drawables. | |
| 4064 | 3995 | ||
| 4065 | 3996 | These values can be passed to gdk_pixbuf_xlib_render_to_drawable_alpha() | |
| @@ -4081,7 +4012,7 @@ For now both cases fall back to a bilevel clipping mask.</doc> | |||
| 4081 | 4012 | glib:nick="bilevel" | |
| 4082 | 4013 | glib:name="GDK_PIXBUF_ALPHA_BILEVEL"> | |
| 4083 | 4014 | <doc xml:space="preserve" | |
| 4084 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 4015 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 4085 | 4016 | line="41">A bilevel clipping mask (black and white) | |
| 4086 | 4017 | will be created and used to draw the image. Pixels below 0.5 opacity | |
| 4087 | 4018 | will be considered fully transparent, and all others will be | |
| @@ -4093,7 +4024,7 @@ For now both cases fall back to a bilevel clipping mask.</doc> | |||
| 4093 | 4024 | glib:nick="full" | |
| 4094 | 4025 | glib:name="GDK_PIXBUF_ALPHA_FULL"> | |
| 4095 | 4026 | <doc xml:space="preserve" | |
| 4096 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 4027 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 4097 | 4028 | line="45">For now falls back to #GDK_PIXBUF_ALPHA_BILEVEL. | |
| 4098 | 4029 | In the future it will do full alpha compositing.</doc> | |
| 4099 | 4030 | </member> | |
| @@ -4106,7 +4037,7 @@ For now both cases fall back to a bilevel clipping mask.</doc> | |||
| 4106 | 4037 | glib:get-type="gdk_pixbuf_animation_get_type" | |
| 4107 | 4038 | glib:type-struct="PixbufAnimationClass"> | |
| 4108 | 4039 | <doc xml:space="preserve" | |
| 4109 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4040 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4110 | 4041 | line="32">An opaque object representing an animation. | |
| 4111 | 4042 | ||
| 4112 | 4043 | The GdkPixBuf library provides a simple mechanism to load and | |
| @@ -4120,13 +4051,13 @@ instructions for moving the sprite around a background. | |||
| 4120 | 4051 | To display an animation you don't need to understand its | |
| 4121 | 4052 | representation, however; you just ask `GdkPixbuf` what should | |
| 4122 | 4053 | be displayed at a given point in time.</doc> | |
| 4123 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4054 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4124 | 4055 | line="163"/> | |
| 4125 | 4056 | <constructor name="new_from_file" | |
| 4126 | 4057 | c:identifier="gdk_pixbuf_animation_new_from_file" | |
| 4127 | 4058 | throws="1"> | |
| 4128 | 4059 | <doc xml:space="preserve" | |
| 4129 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4060 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4130 | 4061 | line="147">Creates a new animation by loading it from a file. | |
| 4131 | 4062 | ||
| 4132 | 4063 | The file format is detected automatically. | |
| @@ -4135,18 +4066,18 @@ If the file's format does not support multi-frame images, then an animation | |||
| 4135 | 4066 | with a single frame will be created. | |
| 4136 | 4067 | ||
| 4137 | 4068 | Possible errors are in the `GDK_PIXBUF_ERROR` and `G_FILE_ERROR` domains.</doc> | |
| 4138 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4069 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4139 | 4070 | line="63"/> | |
| 4140 | 4071 | <return-value transfer-ownership="full" nullable="1"> | |
| 4141 | 4072 | <doc xml:space="preserve" | |
| 4142 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4073 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4143 | 4074 | line="162">A newly-created animation</doc> | |
| 4144 | 4075 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4145 | 4076 | </return-value> | |
| 4146 | 4077 | <parameters> | |
| 4147 | 4078 | <parameter name="filename" transfer-ownership="none"> | |
| 4148 | 4079 | <doc xml:space="preserve" | |
| 4149 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4080 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4150 | 4081 | line="149">Name of file to load, in the GLib file | |
| 4151 | 4082 | name encoding</doc> | |
| 4152 | 4083 | <type name="filename" c:type="const char*"/> | |
| @@ -4158,23 +4089,23 @@ Possible errors are in the `GDK_PIXBUF_ERROR` and `G_FILE_ERROR` domains.</doc> | |||
| 4158 | 4089 | version="2.28" | |
| 4159 | 4090 | throws="1"> | |
| 4160 | 4091 | <doc xml:space="preserve" | |
| 4161 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4092 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4162 | 4093 | line="504">Creates a new pixbuf animation by loading an image from an resource. | |
| 4163 | 4094 | ||
| 4164 | 4095 | The file format is detected automatically. If `NULL` is returned, then | |
| 4165 | 4096 | @error will be set.</doc> | |
| 4166 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4097 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4167 | 4098 | line="78"/> | |
| 4168 | 4099 | <return-value transfer-ownership="full" nullable="1"> | |
| 4169 | 4100 | <doc xml:space="preserve" | |
| 4170 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4101 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4171 | 4102 | line="514">A newly-created animation</doc> | |
| 4172 | 4103 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4173 | 4104 | </return-value> | |
| 4174 | 4105 | <parameters> | |
| 4175 | 4106 | <parameter name="resource_path" transfer-ownership="none"> | |
| 4176 | 4107 | <doc xml:space="preserve" | |
| 4177 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4108 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4178 | 4109 | line="506">the path of the resource file</doc> | |
| 4179 | 4110 | <type name="utf8" c:type="const char*"/> | |
| 4180 | 4111 | </parameter> | |
| @@ -4185,7 +4116,7 @@ The file format is detected automatically. If `NULL` is returned, then | |||
| 4185 | 4116 | version="2.28" | |
| 4186 | 4117 | throws="1"> | |
| 4187 | 4118 | <doc xml:space="preserve" | |
| 4188 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4119 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4189 | 4120 | line="346">Creates a new animation by loading it from an input stream. | |
| 4190 | 4121 | ||
| 4191 | 4122 | The file format is detected automatically. | |
| @@ -4198,18 +4129,18 @@ returned. Other possible errors are in the `GDK_PIXBUF_ERROR` and | |||
| 4198 | 4129 | `G_IO_ERROR` domains. | |
| 4199 | 4130 | ||
| 4200 | 4131 | The stream is not closed.</doc> | |
| 4201 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4132 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4202 | 4133 | line="66"/> | |
| 4203 | 4134 | <return-value transfer-ownership="full" nullable="1"> | |
| 4204 | 4135 | <doc xml:space="preserve" | |
| 4205 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4136 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4206 | 4137 | line="365">A newly-created animation</doc> | |
| 4207 | 4138 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4208 | 4139 | </return-value> | |
| 4209 | 4140 | <parameters> | |
| 4210 | 4141 | <parameter name="stream" transfer-ownership="none"> | |
| 4211 | 4142 | <doc xml:space="preserve" | |
| 4212 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4143 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4213 | 4144 | line="348">a `GInputStream` to load the pixbuf from</doc> | |
| 4214 | 4145 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 4215 | 4146 | </parameter> | |
| @@ -4218,7 +4149,7 @@ The stream is not closed.</doc> | |||
| 4218 | 4149 | nullable="1" | |
| 4219 | 4150 | allow-none="1"> | |
| 4220 | 4151 | <doc xml:space="preserve" | |
| 4221 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4152 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4222 | 4153 | line="349">optional `GCancellable` object</doc> | |
| 4223 | 4154 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 4224 | 4155 | </parameter> | |
| @@ -4229,21 +4160,21 @@ The stream is not closed.</doc> | |||
| 4229 | 4160 | version="2.28" | |
| 4230 | 4161 | throws="1"> | |
| 4231 | 4162 | <doc xml:space="preserve" | |
| 4232 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4163 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4233 | 4164 | line="479">Finishes an asynchronous pixbuf animation creation operation started with | |
| 4234 | 4165 | [func@GdkPixbuf.PixbufAnimation.new_from_stream_async].</doc> | |
| 4235 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4166 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4236 | 4167 | line="75"/> | |
| 4237 | 4168 | <return-value transfer-ownership="full" nullable="1"> | |
| 4238 | 4169 | <doc xml:space="preserve" | |
| 4239 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4170 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4240 | 4171 | line="487">the newly created animation</doc> | |
| 4241 | 4172 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4242 | 4173 | </return-value> | |
| 4243 | 4174 | <parameters> | |
| 4244 | 4175 | <parameter name="async_result" transfer-ownership="none"> | |
| 4245 | 4176 | <doc xml:space="preserve" | |
| 4246 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4177 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4247 | 4178 | line="481">a #GAsyncResult</doc> | |
| 4248 | 4179 | <type name="Gio.AsyncResult" c:type="GAsyncResult*"/> | |
| 4249 | 4180 | </parameter> | |
| @@ -4251,9 +4182,10 @@ The stream is not closed.</doc> | |||
| 4251 | 4182 | </constructor> | |
| 4252 | 4183 | <function name="new_from_stream_async" | |
| 4253 | 4184 | c:identifier="gdk_pixbuf_animation_new_from_stream_async" | |
| 4254 | - | version="2.28"> | |
| 4185 | + | version="2.28" | |
| 4186 | + | glib:finish-func="new_from_stream_finish"> | |
| 4255 | 4187 | <doc xml:space="preserve" | |
| 4256 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4188 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4257 | 4189 | line="443">Creates a new animation by asynchronously loading an image from an input stream. | |
| 4258 | 4190 | ||
| 4259 | 4191 | For more details see gdk_pixbuf_new_from_stream(), which is the synchronous | |
| @@ -4262,7 +4194,7 @@ version of this function. | |||
| 4262 | 4194 | When the operation is finished, `callback` will be called in the main thread. | |
| 4263 | 4195 | You can then call gdk_pixbuf_animation_new_from_stream_finish() to get the | |
| 4264 | 4196 | result of the operation.</doc> | |
| 4265 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4197 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4266 | 4198 | line="70"/> | |
| 4267 | 4199 | <return-value transfer-ownership="none"> | |
| 4268 | 4200 | <type name="none" c:type="void"/> | |
| @@ -4270,7 +4202,7 @@ result of the operation.</doc> | |||
| 4270 | 4202 | <parameters> | |
| 4271 | 4203 | <parameter name="stream" transfer-ownership="none"> | |
| 4272 | 4204 | <doc xml:space="preserve" | |
| 4273 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4205 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4274 | 4206 | line="445">a #GInputStream from which to load the animation</doc> | |
| 4275 | 4207 | <type name="Gio.InputStream" c:type="GInputStream*"/> | |
| 4276 | 4208 | </parameter> | |
| @@ -4279,7 +4211,7 @@ result of the operation.</doc> | |||
| 4279 | 4211 | nullable="1" | |
| 4280 | 4212 | allow-none="1"> | |
| 4281 | 4213 | <doc xml:space="preserve" | |
| 4282 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4214 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4283 | 4215 | line="446">optional #GCancellable object</doc> | |
| 4284 | 4216 | <type name="Gio.Cancellable" c:type="GCancellable*"/> | |
| 4285 | 4217 | </parameter> | |
| @@ -4290,7 +4222,7 @@ result of the operation.</doc> | |||
| 4290 | 4222 | scope="async" | |
| 4291 | 4223 | closure="3"> | |
| 4292 | 4224 | <doc xml:space="preserve" | |
| 4293 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4225 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4294 | 4226 | line="447">a `GAsyncReadyCallback` to call when the pixbuf is loaded</doc> | |
| 4295 | 4227 | <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/> | |
| 4296 | 4228 | </parameter> | |
| @@ -4299,7 +4231,7 @@ result of the operation.</doc> | |||
| 4299 | 4231 | nullable="1" | |
| 4300 | 4232 | allow-none="1"> | |
| 4301 | 4233 | <doc xml:space="preserve" | |
| 4302 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4234 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4303 | 4235 | line="448">the data to pass to the callback function</doc> | |
| 4304 | 4236 | <type name="gpointer" c:type="gpointer"/> | |
| 4305 | 4237 | </parameter> | |
| @@ -4307,7 +4239,7 @@ result of the operation.</doc> | |||
| 4307 | 4239 | </function> | |
| 4308 | 4240 | <virtual-method name="get_iter" invoker="get_iter"> | |
| 4309 | 4241 | <doc xml:space="preserve" | |
| 4310 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4242 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4311 | 4243 | line="664">Get an iterator for displaying an animation. | |
| 4312 | 4244 | ||
| 4313 | 4245 | The iterator provides the frames that should be displayed at a | |
| @@ -4342,18 +4274,18 @@ the frame itself. So your timeout should be reinstalled after any | |||
| 4342 | 4274 | area_updated signal. | |
| 4343 | 4275 | ||
| 4344 | 4276 | A delay time of -1 is possible, indicating "infinite".</doc> | |
| 4345 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4277 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4346 | 4278 | line="161"/> | |
| 4347 | 4279 | <return-value transfer-ownership="full"> | |
| 4348 | 4280 | <doc xml:space="preserve" | |
| 4349 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4281 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4350 | 4282 | line="704">an iterator to move over the animation</doc> | |
| 4351 | 4283 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4352 | 4284 | </return-value> | |
| 4353 | 4285 | <parameters> | |
| 4354 | 4286 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4355 | 4287 | <doc xml:space="preserve" | |
| 4356 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4288 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4357 | 4289 | line="666">a #GdkPixbufAnimation</doc> | |
| 4358 | 4290 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4359 | 4291 | </instance-parameter> | |
| @@ -4362,14 +4294,17 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4362 | 4294 | nullable="1" | |
| 4363 | 4295 | allow-none="1"> | |
| 4364 | 4296 | <doc xml:space="preserve" | |
| 4365 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4297 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4366 | 4298 | line="667">time when the animation starts playing</doc> | |
| 4367 | 4299 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4368 | 4300 | </parameter> | |
| 4369 | 4301 | </parameters> | |
| 4370 | 4302 | </virtual-method> | |
| 4371 | 4303 | <virtual-method name="get_size"> | |
| 4372 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4304 | + | <doc xml:space="preserve" | |
| 4305 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4306 | + | line="128">fills @width and @height with the frame size of the animation.</doc> | |
| 4307 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4373 | 4308 | line="157"/> | |
| 4374 | 4309 | <return-value transfer-ownership="none"> | |
| 4375 | 4310 | <type name="none" c:type="void"/> | |
| @@ -4388,7 +4323,7 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4388 | 4323 | </virtual-method> | |
| 4389 | 4324 | <virtual-method name="get_static_image" invoker="get_static_image"> | |
| 4390 | 4325 | <doc xml:space="preserve" | |
| 4391 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4326 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4392 | 4327 | line="593">Retrieves a static image for the animation. | |
| 4393 | 4328 | ||
| 4394 | 4329 | If an animation is really just a plain image (has only one frame), | |
| @@ -4400,18 +4335,18 @@ frame, or something more sophisticated depending on the file format. | |||
| 4400 | 4335 | ||
| 4401 | 4336 | If an animation hasn't loaded any frames yet, this function will | |
| 4402 | 4337 | return `NULL`.</doc> | |
| 4403 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4338 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4404 | 4339 | line="155"/> | |
| 4405 | 4340 | <return-value transfer-ownership="none"> | |
| 4406 | 4341 | <doc xml:space="preserve" | |
| 4407 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4342 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4408 | 4343 | line="609">unanimated image representing the animation</doc> | |
| 4409 | 4344 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4410 | 4345 | </return-value> | |
| 4411 | 4346 | <parameters> | |
| 4412 | 4347 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4413 | 4348 | <doc xml:space="preserve" | |
| 4414 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4349 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4415 | 4350 | line="595">a #GdkPixbufAnimation</doc> | |
| 4416 | 4351 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4417 | 4352 | </instance-parameter> | |
| @@ -4419,25 +4354,25 @@ return `NULL`.</doc> | |||
| 4419 | 4354 | </virtual-method> | |
| 4420 | 4355 | <virtual-method name="is_static_image" invoker="is_static_image"> | |
| 4421 | 4356 | <doc xml:space="preserve" | |
| 4422 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4357 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4423 | 4358 | line="572">Checks whether the animation is a static image. | |
| 4424 | 4359 | ||
| 4425 | 4360 | If you load a file with gdk_pixbuf_animation_new_from_file() and it | |
| 4426 | 4361 | turns out to be a plain, unanimated image, then this function will | |
| 4427 | 4362 | return `TRUE`. Use gdk_pixbuf_animation_get_static_image() to retrieve | |
| 4428 | 4363 | the image.</doc> | |
| 4429 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4364 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4430 | 4365 | line="153"/> | |
| 4431 | 4366 | <return-value transfer-ownership="none"> | |
| 4432 | 4367 | <doc xml:space="preserve" | |
| 4433 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4368 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4434 | 4369 | line="583">`TRUE` if the "animation" was really just an image</doc> | |
| 4435 | 4370 | <type name="gboolean" c:type="gboolean"/> | |
| 4436 | 4371 | </return-value> | |
| 4437 | 4372 | <parameters> | |
| 4438 | 4373 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4439 | 4374 | <doc xml:space="preserve" | |
| 4440 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4375 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4441 | 4376 | line="574">a #GdkPixbufAnimation</doc> | |
| 4442 | 4377 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4443 | 4378 | </instance-parameter> | |
| @@ -4445,20 +4380,20 @@ the image.</doc> | |||
| 4445 | 4380 | </virtual-method> | |
| 4446 | 4381 | <method name="get_height" c:identifier="gdk_pixbuf_animation_get_height"> | |
| 4447 | 4382 | <doc xml:space="preserve" | |
| 4448 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4383 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4449 | 4384 | line="641">Queries the height of the bounding box of a pixbuf animation.</doc> | |
| 4450 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4385 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4451 | 4386 | line="92"/> | |
| 4452 | 4387 | <return-value transfer-ownership="none"> | |
| 4453 | 4388 | <doc xml:space="preserve" | |
| 4454 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4389 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4455 | 4390 | line="647">Height of the bounding box of the animation.</doc> | |
| 4456 | 4391 | <type name="gint" c:type="int"/> | |
| 4457 | 4392 | </return-value> | |
| 4458 | 4393 | <parameters> | |
| 4459 | 4394 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4460 | 4395 | <doc xml:space="preserve" | |
| 4461 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4396 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4462 | 4397 | line="643">An animation.</doc> | |
| 4463 | 4398 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4464 | 4399 | </instance-parameter> | |
| @@ -4466,7 +4401,7 @@ the image.</doc> | |||
| 4466 | 4401 | </method> | |
| 4467 | 4402 | <method name="get_iter" c:identifier="gdk_pixbuf_animation_get_iter"> | |
| 4468 | 4403 | <doc xml:space="preserve" | |
| 4469 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4404 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4470 | 4405 | line="664">Get an iterator for displaying an animation. | |
| 4471 | 4406 | ||
| 4472 | 4407 | The iterator provides the frames that should be displayed at a | |
| @@ -4501,18 +4436,18 @@ the frame itself. So your timeout should be reinstalled after any | |||
| 4501 | 4436 | area_updated signal. | |
| 4502 | 4437 | ||
| 4503 | 4438 | A delay time of -1 is possible, indicating "infinite".</doc> | |
| 4504 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4439 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4505 | 4440 | line="100"/> | |
| 4506 | 4441 | <return-value transfer-ownership="full"> | |
| 4507 | 4442 | <doc xml:space="preserve" | |
| 4508 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4443 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4509 | 4444 | line="704">an iterator to move over the animation</doc> | |
| 4510 | 4445 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4511 | 4446 | </return-value> | |
| 4512 | 4447 | <parameters> | |
| 4513 | 4448 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4514 | 4449 | <doc xml:space="preserve" | |
| 4515 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4450 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4516 | 4451 | line="666">a #GdkPixbufAnimation</doc> | |
| 4517 | 4452 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4518 | 4453 | </instance-parameter> | |
| @@ -4521,7 +4456,7 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4521 | 4456 | nullable="1" | |
| 4522 | 4457 | allow-none="1"> | |
| 4523 | 4458 | <doc xml:space="preserve" | |
| 4524 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4459 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4525 | 4460 | line="667">time when the animation starts playing</doc> | |
| 4526 | 4461 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4527 | 4462 | </parameter> | |
| @@ -4530,7 +4465,7 @@ A delay time of -1 is possible, indicating "infinite".</doc> | |||
| 4530 | 4465 | <method name="get_static_image" | |
| 4531 | 4466 | c:identifier="gdk_pixbuf_animation_get_static_image"> | |
| 4532 | 4467 | <doc xml:space="preserve" | |
| 4533 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4468 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4534 | 4469 | line="593">Retrieves a static image for the animation. | |
| 4535 | 4470 | ||
| 4536 | 4471 | If an animation is really just a plain image (has only one frame), | |
| @@ -4542,18 +4477,18 @@ frame, or something more sophisticated depending on the file format. | |||
| 4542 | 4477 | ||
| 4543 | 4478 | If an animation hasn't loaded any frames yet, this function will | |
| 4544 | 4479 | return `NULL`.</doc> | |
| 4545 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4480 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4546 | 4481 | line="96"/> | |
| 4547 | 4482 | <return-value transfer-ownership="none"> | |
| 4548 | 4483 | <doc xml:space="preserve" | |
| 4549 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4484 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4550 | 4485 | line="609">unanimated image representing the animation</doc> | |
| 4551 | 4486 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4552 | 4487 | </return-value> | |
| 4553 | 4488 | <parameters> | |
| 4554 | 4489 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4555 | 4490 | <doc xml:space="preserve" | |
| 4556 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4491 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4557 | 4492 | line="595">a #GdkPixbufAnimation</doc> | |
| 4558 | 4493 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4559 | 4494 | </instance-parameter> | |
| @@ -4561,20 +4496,20 @@ return `NULL`.</doc> | |||
| 4561 | 4496 | </method> | |
| 4562 | 4497 | <method name="get_width" c:identifier="gdk_pixbuf_animation_get_width"> | |
| 4563 | 4498 | <doc xml:space="preserve" | |
| 4564 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4499 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4565 | 4500 | line="619">Queries the width of the bounding box of a pixbuf animation.</doc> | |
| 4566 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4501 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4567 | 4502 | line="90"/> | |
| 4568 | 4503 | <return-value transfer-ownership="none"> | |
| 4569 | 4504 | <doc xml:space="preserve" | |
| 4570 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4505 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4571 | 4506 | line="625">Width of the bounding box of the animation.</doc> | |
| 4572 | 4507 | <type name="gint" c:type="int"/> | |
| 4573 | 4508 | </return-value> | |
| 4574 | 4509 | <parameters> | |
| 4575 | 4510 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4576 | 4511 | <doc xml:space="preserve" | |
| 4577 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4512 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4578 | 4513 | line="621">An animation.</doc> | |
| 4579 | 4514 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4580 | 4515 | </instance-parameter> | |
| @@ -4583,25 +4518,25 @@ return `NULL`.</doc> | |||
| 4583 | 4518 | <method name="is_static_image" | |
| 4584 | 4519 | c:identifier="gdk_pixbuf_animation_is_static_image"> | |
| 4585 | 4520 | <doc xml:space="preserve" | |
| 4586 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4521 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4587 | 4522 | line="572">Checks whether the animation is a static image. | |
| 4588 | 4523 | ||
| 4589 | 4524 | If you load a file with gdk_pixbuf_animation_new_from_file() and it | |
| 4590 | 4525 | turns out to be a plain, unanimated image, then this function will | |
| 4591 | 4526 | return `TRUE`. Use gdk_pixbuf_animation_get_static_image() to retrieve | |
| 4592 | 4527 | the image.</doc> | |
| 4593 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4528 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4594 | 4529 | line="94"/> | |
| 4595 | 4530 | <return-value transfer-ownership="none"> | |
| 4596 | 4531 | <doc xml:space="preserve" | |
| 4597 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4532 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4598 | 4533 | line="583">`TRUE` if the "animation" was really just an image</doc> | |
| 4599 | 4534 | <type name="gboolean" c:type="gboolean"/> | |
| 4600 | 4535 | </return-value> | |
| 4601 | 4536 | <parameters> | |
| 4602 | 4537 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4603 | 4538 | <doc xml:space="preserve" | |
| 4604 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4539 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4605 | 4540 | line="574">a #GdkPixbufAnimation</doc> | |
| 4606 | 4541 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4607 | 4542 | </instance-parameter> | |
| @@ -4613,21 +4548,21 @@ the image.</doc> | |||
| 4613 | 4548 | deprecated="1" | |
| 4614 | 4549 | deprecated-version="2.0"> | |
| 4615 | 4550 | <doc xml:space="preserve" | |
| 4616 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4551 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4617 | 4552 | line="542">Adds a reference to an animation.</doc> | |
| 4618 | 4553 | <doc-deprecated xml:space="preserve">Use g_object_ref().</doc-deprecated> | |
| 4619 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4554 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4620 | 4555 | line="84"/> | |
| 4621 | 4556 | <return-value> | |
| 4622 | 4557 | <doc xml:space="preserve" | |
| 4623 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4558 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4624 | 4559 | line="548">The same as the @animation argument.</doc> | |
| 4625 | 4560 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4626 | 4561 | </return-value> | |
| 4627 | 4562 | <parameters> | |
| 4628 | 4563 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4629 | 4564 | <doc xml:space="preserve" | |
| 4630 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4565 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4631 | 4566 | line="544">An animation.</doc> | |
| 4632 | 4567 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4633 | 4568 | </instance-parameter> | |
| @@ -4639,10 +4574,10 @@ the image.</doc> | |||
| 4639 | 4574 | deprecated="1" | |
| 4640 | 4575 | deprecated-version="2.0"> | |
| 4641 | 4576 | <doc xml:space="preserve" | |
| 4642 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4577 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4643 | 4578 | line="558">Removes a reference from an animation.</doc> | |
| 4644 | 4579 | <doc-deprecated xml:space="preserve">Use g_object_unref().</doc-deprecated> | |
| 4645 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4580 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4646 | 4581 | line="86"/> | |
| 4647 | 4582 | <return-value transfer-ownership="none"> | |
| 4648 | 4583 | <type name="none" c:type="void"/> | |
| @@ -4650,7 +4585,7 @@ the image.</doc> | |||
| 4650 | 4585 | <parameters> | |
| 4651 | 4586 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 4652 | 4587 | <doc xml:space="preserve" | |
| 4653 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4588 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4654 | 4589 | line="560">An animation.</doc> | |
| 4655 | 4590 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4656 | 4591 | </instance-parameter> | |
| @@ -4664,32 +4599,35 @@ the image.</doc> | |||
| 4664 | 4599 | c:type="GdkPixbufAnimationClass" | |
| 4665 | 4600 | glib:is-gtype-struct-for="PixbufAnimation"> | |
| 4666 | 4601 | <doc xml:space="preserve" | |
| 4667 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4602 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4668 | 4603 | line="123">Modules supporting animations must derive a type from | |
| 4669 | 4604 | #GdkPixbufAnimation, providing suitable implementations of the | |
| 4670 | 4605 | virtual functions.</doc> | |
| 4671 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4606 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4672 | 4607 | line="163"/> | |
| 4673 | 4608 | <field name="parent_class"> | |
| 4674 | 4609 | <doc xml:space="preserve" | |
| 4675 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4610 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4676 | 4611 | line="125">the parent class</doc> | |
| 4677 | 4612 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 4678 | 4613 | </field> | |
| 4679 | 4614 | <field name="is_static_image"> | |
| 4615 | + | <doc xml:space="preserve" | |
| 4616 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4617 | + | line="126">returns whether the given animation is just a static image.</doc> | |
| 4680 | 4618 | <callback name="is_static_image"> | |
| 4681 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4619 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4682 | 4620 | line="153"/> | |
| 4683 | 4621 | <return-value transfer-ownership="none"> | |
| 4684 | 4622 | <doc xml:space="preserve" | |
| 4685 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4623 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4686 | 4624 | line="583">`TRUE` if the "animation" was really just an image</doc> | |
| 4687 | 4625 | <type name="gboolean" c:type="gboolean"/> | |
| 4688 | 4626 | </return-value> | |
| 4689 | 4627 | <parameters> | |
| 4690 | 4628 | <parameter name="animation" transfer-ownership="none"> | |
| 4691 | 4629 | <doc xml:space="preserve" | |
| 4692 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4630 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4693 | 4631 | line="574">a #GdkPixbufAnimation</doc> | |
| 4694 | 4632 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4695 | 4633 | </parameter> | |
| @@ -4697,19 +4635,22 @@ virtual functions.</doc> | |||
| 4697 | 4635 | </callback> | |
| 4698 | 4636 | </field> | |
| 4699 | 4637 | <field name="get_static_image"> | |
| 4638 | + | <doc xml:space="preserve" | |
| 4639 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4640 | + | line="127">returns a static image representing the given animation.</doc> | |
| 4700 | 4641 | <callback name="get_static_image"> | |
| 4701 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4642 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4702 | 4643 | line="155"/> | |
| 4703 | 4644 | <return-value transfer-ownership="none"> | |
| 4704 | 4645 | <doc xml:space="preserve" | |
| 4705 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4646 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4706 | 4647 | line="609">unanimated image representing the animation</doc> | |
| 4707 | 4648 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4708 | 4649 | </return-value> | |
| 4709 | 4650 | <parameters> | |
| 4710 | 4651 | <parameter name="animation" transfer-ownership="none"> | |
| 4711 | 4652 | <doc xml:space="preserve" | |
| 4712 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4653 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4713 | 4654 | line="595">a #GdkPixbufAnimation</doc> | |
| 4714 | 4655 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4715 | 4656 | </parameter> | |
| @@ -4717,8 +4658,11 @@ virtual functions.</doc> | |||
| 4717 | 4658 | </callback> | |
| 4718 | 4659 | </field> | |
| 4719 | 4660 | <field name="get_size"> | |
| 4661 | + | <doc xml:space="preserve" | |
| 4662 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4663 | + | line="128">fills @width and @height with the frame size of the animation.</doc> | |
| 4720 | 4664 | <callback name="get_size"> | |
| 4721 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4665 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4722 | 4666 | line="157"/> | |
| 4723 | 4667 | <return-value transfer-ownership="none"> | |
| 4724 | 4668 | <type name="none" c:type="void"/> | |
| @@ -4737,19 +4681,22 @@ virtual functions.</doc> | |||
| 4737 | 4681 | </callback> | |
| 4738 | 4682 | </field> | |
| 4739 | 4683 | <field name="get_iter"> | |
| 4684 | + | <doc xml:space="preserve" | |
| 4685 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4686 | + | line="129">returns an iterator for the given animation.</doc> | |
| 4740 | 4687 | <callback name="get_iter"> | |
| 4741 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4688 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4742 | 4689 | line="161"/> | |
| 4743 | 4690 | <return-value transfer-ownership="full"> | |
| 4744 | 4691 | <doc xml:space="preserve" | |
| 4745 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4692 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4746 | 4693 | line="704">an iterator to move over the animation</doc> | |
| 4747 | 4694 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4748 | 4695 | </return-value> | |
| 4749 | 4696 | <parameters> | |
| 4750 | 4697 | <parameter name="animation" transfer-ownership="none"> | |
| 4751 | 4698 | <doc xml:space="preserve" | |
| 4752 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4699 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4753 | 4700 | line="666">a #GdkPixbufAnimation</doc> | |
| 4754 | 4701 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 4755 | 4702 | </parameter> | |
| @@ -4758,7 +4705,7 @@ virtual functions.</doc> | |||
| 4758 | 4705 | nullable="1" | |
| 4759 | 4706 | allow-none="1"> | |
| 4760 | 4707 | <doc xml:space="preserve" | |
| 4761 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4708 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4762 | 4709 | line="667">time when the animation starts playing</doc> | |
| 4763 | 4710 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4764 | 4711 | </parameter> | |
| @@ -4774,14 +4721,14 @@ virtual functions.</doc> | |||
| 4774 | 4721 | glib:get-type="gdk_pixbuf_animation_iter_get_type" | |
| 4775 | 4722 | glib:type-struct="PixbufAnimationIterClass"> | |
| 4776 | 4723 | <doc xml:space="preserve" | |
| 4777 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4724 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4778 | 4725 | line="50">An opaque object representing an iterator which points to a | |
| 4779 | 4726 | certain position in an animation.</doc> | |
| 4780 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4727 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4781 | 4728 | line="208"/> | |
| 4782 | 4729 | <virtual-method name="advance" invoker="advance"> | |
| 4783 | 4730 | <doc xml:space="preserve" | |
| 4784 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4731 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4785 | 4732 | line="813">Possibly advances an animation to a new frame. | |
| 4786 | 4733 | ||
| 4787 | 4734 | Chooses the frame based on the start time passed to | |
| @@ -4803,18 +4750,18 @@ If this function returns `FALSE`, there's no need to update the animation | |||
| 4803 | 4750 | display, assuming the display had been rendered prior to advancing; | |
| 4804 | 4751 | if `TRUE`, you need to call gdk_pixbuf_animation_iter_get_pixbuf() | |
| 4805 | 4752 | and update the display with the new pixbuf.</doc> | |
| 4806 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4753 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4807 | 4754 | line="206"/> | |
| 4808 | 4755 | <return-value transfer-ownership="none"> | |
| 4809 | 4756 | <doc xml:space="preserve" | |
| 4810 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4757 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4811 | 4758 | line="840">`TRUE` if the image may need updating</doc> | |
| 4812 | 4759 | <type name="gboolean" c:type="gboolean"/> | |
| 4813 | 4760 | </return-value> | |
| 4814 | 4761 | <parameters> | |
| 4815 | 4762 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4816 | 4763 | <doc xml:space="preserve" | |
| 4817 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4764 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4818 | 4765 | line="815">a #GdkPixbufAnimationIter</doc> | |
| 4819 | 4766 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4820 | 4767 | </instance-parameter> | |
| @@ -4823,7 +4770,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4823 | 4770 | nullable="1" | |
| 4824 | 4771 | allow-none="1"> | |
| 4825 | 4772 | <doc xml:space="preserve" | |
| 4826 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4773 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4827 | 4774 | line="816">current time</doc> | |
| 4828 | 4775 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4829 | 4776 | </parameter> | |
| @@ -4831,7 +4778,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4831 | 4778 | </virtual-method> | |
| 4832 | 4779 | <virtual-method name="get_delay_time" invoker="get_delay_time"> | |
| 4833 | 4780 | <doc xml:space="preserve" | |
| 4834 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4781 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4835 | 4782 | line="735">Gets the number of milliseconds the current pixbuf should be displayed, | |
| 4836 | 4783 | or -1 if the current pixbuf should be displayed forever. | |
| 4837 | 4784 | ||
| @@ -4841,18 +4788,18 @@ so you can use a timeout to schedule the next update. | |||
| 4841 | 4788 | Note that some formats, like GIF, might clamp the timeout values in the | |
| 4842 | 4789 | image file to avoid updates that are just too quick. The minimum timeout | |
| 4843 | 4790 | for GIF images is currently 20 milliseconds.</doc> | |
| 4844 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4791 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4845 | 4792 | line="200"/> | |
| 4846 | 4793 | <return-value transfer-ownership="none"> | |
| 4847 | 4794 | <doc xml:space="preserve" | |
| 4848 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4795 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4849 | 4796 | line="749">delay time in milliseconds (thousandths of a second)</doc> | |
| 4850 | 4797 | <type name="gint" c:type="int"/> | |
| 4851 | 4798 | </return-value> | |
| 4852 | 4799 | <parameters> | |
| 4853 | 4800 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4854 | 4801 | <doc xml:space="preserve" | |
| 4855 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4802 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4856 | 4803 | line="737">an animation iterator</doc> | |
| 4857 | 4804 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4858 | 4805 | </instance-parameter> | |
| @@ -4860,7 +4807,7 @@ for GIF images is currently 20 milliseconds.</doc> | |||
| 4860 | 4807 | </virtual-method> | |
| 4861 | 4808 | <virtual-method name="get_pixbuf" invoker="get_pixbuf"> | |
| 4862 | 4809 | <doc xml:space="preserve" | |
| 4863 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4810 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4864 | 4811 | line="760">Gets the current pixbuf which should be displayed. | |
| 4865 | 4812 | ||
| 4866 | 4813 | The pixbuf might not be the same size as the animation itself | |
| @@ -4876,18 +4823,18 @@ gdk_pixbuf_animation_iter_advance(). | |||
| 4876 | 4823 | ||
| 4877 | 4824 | Copy the pixbuf to keep it (don't just add a reference), as it may get | |
| 4878 | 4825 | recycled as you advance the iterator.</doc> | |
| 4879 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4826 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4880 | 4827 | line="202"/> | |
| 4881 | 4828 | <return-value transfer-ownership="none"> | |
| 4882 | 4829 | <doc xml:space="preserve" | |
| 4883 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4830 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4884 | 4831 | line="780">the pixbuf to be displayed</doc> | |
| 4885 | 4832 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 4886 | 4833 | </return-value> | |
| 4887 | 4834 | <parameters> | |
| 4888 | 4835 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4889 | 4836 | <doc xml:space="preserve" | |
| 4890 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4837 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4891 | 4838 | line="762">an animation iterator</doc> | |
| 4892 | 4839 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4893 | 4840 | </instance-parameter> | |
| @@ -4896,25 +4843,25 @@ recycled as you advance the iterator.</doc> | |||
| 4896 | 4843 | <virtual-method name="on_currently_loading_frame" | |
| 4897 | 4844 | invoker="on_currently_loading_frame"> | |
| 4898 | 4845 | <doc xml:space="preserve" | |
| 4899 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4846 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4900 | 4847 | line="791">Used to determine how to respond to the area_updated signal on | |
| 4901 | 4848 | #GdkPixbufLoader when loading an animation. | |
| 4902 | 4849 | ||
| 4903 | 4850 | The `::area_updated` signal is emitted for an area of the frame currently | |
| 4904 | 4851 | streaming in to the loader. So if you're on the currently loading frame, | |
| 4905 | 4852 | you will need to redraw the screen for the updated area.</doc> | |
| 4906 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4853 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4907 | 4854 | line="204"/> | |
| 4908 | 4855 | <return-value transfer-ownership="none"> | |
| 4909 | 4856 | <doc xml:space="preserve" | |
| 4910 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4857 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4911 | 4858 | line="802">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 4912 | 4859 | <type name="gboolean" c:type="gboolean"/> | |
| 4913 | 4860 | </return-value> | |
| 4914 | 4861 | <parameters> | |
| 4915 | 4862 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4916 | 4863 | <doc xml:space="preserve" | |
| 4917 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4864 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4918 | 4865 | line="793">a #GdkPixbufAnimationIter</doc> | |
| 4919 | 4866 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4920 | 4867 | </instance-parameter> | |
| @@ -4922,7 +4869,7 @@ you will need to redraw the screen for the updated area.</doc> | |||
| 4922 | 4869 | </virtual-method> | |
| 4923 | 4870 | <method name="advance" c:identifier="gdk_pixbuf_animation_iter_advance"> | |
| 4924 | 4871 | <doc xml:space="preserve" | |
| 4925 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4872 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4926 | 4873 | line="813">Possibly advances an animation to a new frame. | |
| 4927 | 4874 | ||
| 4928 | 4875 | Chooses the frame based on the start time passed to | |
| @@ -4944,18 +4891,18 @@ If this function returns `FALSE`, there's no need to update the animation | |||
| 4944 | 4891 | display, assuming the display had been rendered prior to advancing; | |
| 4945 | 4892 | if `TRUE`, you need to call gdk_pixbuf_animation_iter_get_pixbuf() | |
| 4946 | 4893 | and update the display with the new pixbuf.</doc> | |
| 4947 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4894 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4948 | 4895 | line="114"/> | |
| 4949 | 4896 | <return-value transfer-ownership="none"> | |
| 4950 | 4897 | <doc xml:space="preserve" | |
| 4951 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4898 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4952 | 4899 | line="840">`TRUE` if the image may need updating</doc> | |
| 4953 | 4900 | <type name="gboolean" c:type="gboolean"/> | |
| 4954 | 4901 | </return-value> | |
| 4955 | 4902 | <parameters> | |
| 4956 | 4903 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4957 | 4904 | <doc xml:space="preserve" | |
| 4958 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4905 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4959 | 4906 | line="815">a #GdkPixbufAnimationIter</doc> | |
| 4960 | 4907 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 4961 | 4908 | </instance-parameter> | |
| @@ -4964,7 +4911,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4964 | 4911 | nullable="1" | |
| 4965 | 4912 | allow-none="1"> | |
| 4966 | 4913 | <doc xml:space="preserve" | |
| 4967 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4914 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4968 | 4915 | line="816">current time</doc> | |
| 4969 | 4916 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 4970 | 4917 | </parameter> | |
| @@ -4973,7 +4920,7 @@ and update the display with the new pixbuf.</doc> | |||
| 4973 | 4920 | <method name="get_delay_time" | |
| 4974 | 4921 | c:identifier="gdk_pixbuf_animation_iter_get_delay_time"> | |
| 4975 | 4922 | <doc xml:space="preserve" | |
| 4976 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4923 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4977 | 4924 | line="735">Gets the number of milliseconds the current pixbuf should be displayed, | |
| 4978 | 4925 | or -1 if the current pixbuf should be displayed forever. | |
| 4979 | 4926 | ||
| @@ -4983,18 +4930,18 @@ so you can use a timeout to schedule the next update. | |||
| 4983 | 4930 | Note that some formats, like GIF, might clamp the timeout values in the | |
| 4984 | 4931 | image file to avoid updates that are just too quick. The minimum timeout | |
| 4985 | 4932 | for GIF images is currently 20 milliseconds.</doc> | |
| 4986 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4933 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4987 | 4934 | line="107"/> | |
| 4988 | 4935 | <return-value transfer-ownership="none"> | |
| 4989 | 4936 | <doc xml:space="preserve" | |
| 4990 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4937 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4991 | 4938 | line="749">delay time in milliseconds (thousandths of a second)</doc> | |
| 4992 | 4939 | <type name="gint" c:type="int"/> | |
| 4993 | 4940 | </return-value> | |
| 4994 | 4941 | <parameters> | |
| 4995 | 4942 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 4996 | 4943 | <doc xml:space="preserve" | |
| 4997 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4944 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4998 | 4945 | line="737">an animation iterator</doc> | |
| 4999 | 4946 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 5000 | 4947 | </instance-parameter> | |
| @@ -5003,7 +4950,7 @@ for GIF images is currently 20 milliseconds.</doc> | |||
| 5003 | 4950 | <method name="get_pixbuf" | |
| 5004 | 4951 | c:identifier="gdk_pixbuf_animation_iter_get_pixbuf"> | |
| 5005 | 4952 | <doc xml:space="preserve" | |
| 5006 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4953 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5007 | 4954 | line="760">Gets the current pixbuf which should be displayed. | |
| 5008 | 4955 | ||
| 5009 | 4956 | The pixbuf might not be the same size as the animation itself | |
| @@ -5019,18 +4966,18 @@ gdk_pixbuf_animation_iter_advance(). | |||
| 5019 | 4966 | ||
| 5020 | 4967 | Copy the pixbuf to keep it (don't just add a reference), as it may get | |
| 5021 | 4968 | recycled as you advance the iterator.</doc> | |
| 5022 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4969 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5023 | 4970 | line="109"/> | |
| 5024 | 4971 | <return-value transfer-ownership="none"> | |
| 5025 | 4972 | <doc xml:space="preserve" | |
| 5026 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4973 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5027 | 4974 | line="780">the pixbuf to be displayed</doc> | |
| 5028 | 4975 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 5029 | 4976 | </return-value> | |
| 5030 | 4977 | <parameters> | |
| 5031 | 4978 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 5032 | 4979 | <doc xml:space="preserve" | |
| 5033 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4980 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5034 | 4981 | line="762">an animation iterator</doc> | |
| 5035 | 4982 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 5036 | 4983 | </instance-parameter> | |
| @@ -5039,25 +4986,25 @@ recycled as you advance the iterator.</doc> | |||
| 5039 | 4986 | <method name="on_currently_loading_frame" | |
| 5040 | 4987 | c:identifier="gdk_pixbuf_animation_iter_on_currently_loading_frame"> | |
| 5041 | 4988 | <doc xml:space="preserve" | |
| 5042 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 4989 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5043 | 4990 | line="791">Used to determine how to respond to the area_updated signal on | |
| 5044 | 4991 | #GdkPixbufLoader when loading an animation. | |
| 5045 | 4992 | ||
| 5046 | 4993 | The `::area_updated` signal is emitted for an area of the frame currently | |
| 5047 | 4994 | streaming in to the loader. So if you're on the currently loading frame, | |
| 5048 | 4995 | you will need to redraw the screen for the updated area.</doc> | |
| 5049 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 4996 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5050 | 4997 | line="111"/> | |
| 5051 | 4998 | <return-value transfer-ownership="none"> | |
| 5052 | 4999 | <doc xml:space="preserve" | |
| 5053 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5000 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5054 | 5001 | line="802">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 5055 | 5002 | <type name="gboolean" c:type="gboolean"/> | |
| 5056 | 5003 | </return-value> | |
| 5057 | 5004 | <parameters> | |
| 5058 | 5005 | <instance-parameter name="iter" transfer-ownership="none"> | |
| 5059 | 5006 | <doc xml:space="preserve" | |
| 5060 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5007 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5061 | 5008 | line="793">a #GdkPixbufAnimationIter</doc> | |
| 5062 | 5009 | <type name="PixbufAnimationIter" c:type="GdkPixbufAnimationIter*"/> | |
| 5063 | 5010 | </instance-parameter> | |
| @@ -5071,32 +5018,36 @@ you will need to redraw the screen for the updated area.</doc> | |||
| 5071 | 5018 | c:type="GdkPixbufAnimationIterClass" | |
| 5072 | 5019 | glib:is-gtype-struct-for="PixbufAnimationIter"> | |
| 5073 | 5020 | <doc xml:space="preserve" | |
| 5074 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5021 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5075 | 5022 | line="168">Modules supporting animations must derive a type from | |
| 5076 | 5023 | #GdkPixbufAnimationIter, providing suitable implementations of the | |
| 5077 | 5024 | virtual functions.</doc> | |
| 5078 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5025 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5079 | 5026 | line="208"/> | |
| 5080 | 5027 | <field name="parent_class"> | |
| 5081 | 5028 | <doc xml:space="preserve" | |
| 5082 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5029 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5083 | 5030 | line="170">the parent class</doc> | |
| 5084 | 5031 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 5085 | 5032 | </field> | |
| 5086 | 5033 | <field name="get_delay_time"> | |
| 5034 | + | <doc xml:space="preserve" | |
| 5035 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5036 | + | line="171">returns the time in milliseconds that the current frame | |
| 5037 | + | should be shown.</doc> | |
| 5087 | 5038 | <callback name="get_delay_time"> | |
| 5088 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5039 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5089 | 5040 | line="200"/> | |
| 5090 | 5041 | <return-value transfer-ownership="none"> | |
| 5091 | 5042 | <doc xml:space="preserve" | |
| 5092 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5043 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5093 | 5044 | line="749">delay time in milliseconds (thousandths of a second)</doc> | |
| 5094 | 5045 | <type name="gint" c:type="int"/> | |
| 5095 | 5046 | </return-value> | |
| 5096 | 5047 | <parameters> | |
| 5097 | 5048 | <parameter name="iter" transfer-ownership="none"> | |
| 5098 | 5049 | <doc xml:space="preserve" | |
| 5099 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5050 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5100 | 5051 | line="737">an animation iterator</doc> | |
| 5101 | 5052 | <type name="PixbufAnimationIter" | |
| 5102 | 5053 | c:type="GdkPixbufAnimationIter*"/> | |
| @@ -5105,19 +5056,22 @@ virtual functions.</doc> | |||
| 5105 | 5056 | </callback> | |
| 5106 | 5057 | </field> | |
| 5107 | 5058 | <field name="get_pixbuf"> | |
| 5059 | + | <doc xml:space="preserve" | |
| 5060 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5061 | + | line="173">returns the current frame.</doc> | |
| 5108 | 5062 | <callback name="get_pixbuf"> | |
| 5109 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5063 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5110 | 5064 | line="202"/> | |
| 5111 | 5065 | <return-value transfer-ownership="none"> | |
| 5112 | 5066 | <doc xml:space="preserve" | |
| 5113 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5067 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5114 | 5068 | line="780">the pixbuf to be displayed</doc> | |
| 5115 | 5069 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 5116 | 5070 | </return-value> | |
| 5117 | 5071 | <parameters> | |
| 5118 | 5072 | <parameter name="iter" transfer-ownership="none"> | |
| 5119 | 5073 | <doc xml:space="preserve" | |
| 5120 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5074 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5121 | 5075 | line="762">an animation iterator</doc> | |
| 5122 | 5076 | <type name="PixbufAnimationIter" | |
| 5123 | 5077 | c:type="GdkPixbufAnimationIter*"/> | |
| @@ -5126,19 +5080,23 @@ virtual functions.</doc> | |||
| 5126 | 5080 | </callback> | |
| 5127 | 5081 | </field> | |
| 5128 | 5082 | <field name="on_currently_loading_frame"> | |
| 5083 | + | <doc xml:space="preserve" | |
| 5084 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5085 | + | line="174">returns whether the current frame of @iter is | |
| 5086 | + | being loaded.</doc> | |
| 5129 | 5087 | <callback name="on_currently_loading_frame"> | |
| 5130 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5088 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5131 | 5089 | line="204"/> | |
| 5132 | 5090 | <return-value transfer-ownership="none"> | |
| 5133 | 5091 | <doc xml:space="preserve" | |
| 5134 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5092 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5135 | 5093 | line="802">`TRUE` if the frame we're on is partially loaded, or the last frame</doc> | |
| 5136 | 5094 | <type name="gboolean" c:type="gboolean"/> | |
| 5137 | 5095 | </return-value> | |
| 5138 | 5096 | <parameters> | |
| 5139 | 5097 | <parameter name="iter" transfer-ownership="none"> | |
| 5140 | 5098 | <doc xml:space="preserve" | |
| 5141 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5099 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5142 | 5100 | line="793">a #GdkPixbufAnimationIter</doc> | |
| 5143 | 5101 | <type name="PixbufAnimationIter" | |
| 5144 | 5102 | c:type="GdkPixbufAnimationIter*"/> | |
| @@ -5147,19 +5105,23 @@ virtual functions.</doc> | |||
| 5147 | 5105 | </callback> | |
| 5148 | 5106 | </field> | |
| 5149 | 5107 | <field name="advance"> | |
| 5108 | + | <doc xml:space="preserve" | |
| 5109 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5110 | + | line="176">advances the iterator to @current_time, possibly changing the | |
| 5111 | + | current frame.</doc> | |
| 5150 | 5112 | <callback name="advance"> | |
| 5151 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5113 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 5152 | 5114 | line="206"/> | |
| 5153 | 5115 | <return-value transfer-ownership="none"> | |
| 5154 | 5116 | <doc xml:space="preserve" | |
| 5155 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5117 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5156 | 5118 | line="840">`TRUE` if the image may need updating</doc> | |
| 5157 | 5119 | <type name="gboolean" c:type="gboolean"/> | |
| 5158 | 5120 | </return-value> | |
| 5159 | 5121 | <parameters> | |
| 5160 | 5122 | <parameter name="iter" transfer-ownership="none"> | |
| 5161 | 5123 | <doc xml:space="preserve" | |
| 5162 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5124 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5163 | 5125 | line="815">a #GdkPixbufAnimationIter</doc> | |
| 5164 | 5126 | <type name="PixbufAnimationIter" | |
| 5165 | 5127 | c:type="GdkPixbufAnimationIter*"/> | |
| @@ -5169,7 +5131,7 @@ virtual functions.</doc> | |||
| 5169 | 5131 | nullable="1" | |
| 5170 | 5132 | allow-none="1"> | |
| 5171 | 5133 | <doc xml:space="preserve" | |
| 5172 | - | filename="../gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5134 | + | filename="gdk-pixbuf/gdk-pixbuf-animation.c" | |
| 5173 | 5135 | line="816">current time</doc> | |
| 5174 | 5136 | <type name="GLib.TimeVal" c:type="const GTimeVal*"/> | |
| 5175 | 5137 | </parameter> | |
| @@ -5179,7 +5141,7 @@ virtual functions.</doc> | |||
| 5179 | 5141 | </record> | |
| 5180 | 5142 | <callback name="PixbufDestroyNotify" c:type="GdkPixbufDestroyNotify"> | |
| 5181 | 5143 | <doc xml:space="preserve" | |
| 5182 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5144 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5183 | 5145 | line="96">A function of this type is responsible for freeing the pixel array | |
| 5184 | 5146 | of a pixbuf. | |
| 5185 | 5147 | ||
| @@ -5187,14 +5149,14 @@ The gdk_pixbuf_new_from_data() function lets you pass in a pre-allocated | |||
| 5187 | 5149 | pixel array so that a pixbuf can be created from it; in this case you | |
| 5188 | 5150 | will need to pass in a function of type `GdkPixbufDestroyNotify` so that | |
| 5189 | 5151 | the pixel data can be freed when the pixbuf is finalized.</doc> | |
| 5190 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" line="110"/> | |
| 5152 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="110"/> | |
| 5191 | 5153 | <return-value transfer-ownership="none"> | |
| 5192 | 5154 | <type name="none" c:type="void"/> | |
| 5193 | 5155 | </return-value> | |
| 5194 | 5156 | <parameters> | |
| 5195 | 5157 | <parameter name="pixels" transfer-ownership="none"> | |
| 5196 | 5158 | <doc xml:space="preserve" | |
| 5197 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5159 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5198 | 5160 | line="98">The pixel array of the pixbuf | |
| 5199 | 5161 | that is being finalized.</doc> | |
| 5200 | 5162 | <array zero-terminated="0" c:type="guchar*"> | |
| @@ -5207,7 +5169,7 @@ the pixel data can be freed when the pixbuf is finalized.</doc> | |||
| 5207 | 5169 | allow-none="1" | |
| 5208 | 5170 | closure="1"> | |
| 5209 | 5171 | <doc xml:space="preserve" | |
| 5210 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5172 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5211 | 5173 | line="100">User closure data.</doc> | |
| 5212 | 5174 | <type name="gpointer" c:type="gpointer"/> | |
| 5213 | 5175 | </parameter> | |
| @@ -5219,7 +5181,7 @@ the pixel data can be freed when the pixbuf is finalized.</doc> | |||
| 5219 | 5181 | c:type="GdkPixbufError" | |
| 5220 | 5182 | glib:error-domain="gdk-pixbuf-error-quark"> | |
| 5221 | 5183 | <doc xml:space="preserve" | |
| 5222 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5184 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5223 | 5185 | line="123">An error code in the `GDK_PIXBUF_ERROR` domain. | |
| 5224 | 5186 | ||
| 5225 | 5187 | Many gdk-pixbuf operations can cause errors in this domain, or in | |
| @@ -5230,7 +5192,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5230 | 5192 | glib:nick="corrupt-image" | |
| 5231 | 5193 | glib:name="GDK_PIXBUF_ERROR_CORRUPT_IMAGE"> | |
| 5232 | 5194 | <doc xml:space="preserve" | |
| 5233 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5195 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5234 | 5196 | line="125">An image file was broken somehow.</doc> | |
| 5235 | 5197 | </member> | |
| 5236 | 5198 | <member name="insufficient_memory" | |
| @@ -5239,7 +5201,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5239 | 5201 | glib:nick="insufficient-memory" | |
| 5240 | 5202 | glib:name="GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY"> | |
| 5241 | 5203 | <doc xml:space="preserve" | |
| 5242 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5204 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5243 | 5205 | line="126">Not enough memory.</doc> | |
| 5244 | 5206 | </member> | |
| 5245 | 5207 | <member name="bad_option" | |
| @@ -5248,7 +5210,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5248 | 5210 | glib:nick="bad-option" | |
| 5249 | 5211 | glib:name="GDK_PIXBUF_ERROR_BAD_OPTION"> | |
| 5250 | 5212 | <doc xml:space="preserve" | |
| 5251 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5213 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5252 | 5214 | line="127">A bad option was passed to a pixbuf save module.</doc> | |
| 5253 | 5215 | </member> | |
| 5254 | 5216 | <member name="unknown_type" | |
| @@ -5257,7 +5219,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5257 | 5219 | glib:nick="unknown-type" | |
| 5258 | 5220 | glib:name="GDK_PIXBUF_ERROR_UNKNOWN_TYPE"> | |
| 5259 | 5221 | <doc xml:space="preserve" | |
| 5260 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5222 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5261 | 5223 | line="128">Unknown image type.</doc> | |
| 5262 | 5224 | </member> | |
| 5263 | 5225 | <member name="unsupported_operation" | |
| @@ -5266,7 +5228,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5266 | 5228 | glib:nick="unsupported-operation" | |
| 5267 | 5229 | glib:name="GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION"> | |
| 5268 | 5230 | <doc xml:space="preserve" | |
| 5269 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5231 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5270 | 5232 | line="129">Don't know how to perform the | |
| 5271 | 5233 | given operation on the type of image at hand.</doc> | |
| 5272 | 5234 | </member> | |
| @@ -5276,7 +5238,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5276 | 5238 | glib:nick="failed" | |
| 5277 | 5239 | glib:name="GDK_PIXBUF_ERROR_FAILED"> | |
| 5278 | 5240 | <doc xml:space="preserve" | |
| 5279 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5241 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5280 | 5242 | line="131">Generic failure code, something went wrong.</doc> | |
| 5281 | 5243 | </member> | |
| 5282 | 5244 | <member name="incomplete_animation" | |
| @@ -5285,7 +5247,7 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5285 | 5247 | glib:nick="incomplete-animation" | |
| 5286 | 5248 | glib:name="GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION"> | |
| 5287 | 5249 | <doc xml:space="preserve" | |
| 5288 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5250 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 5289 | 5251 | line="132">Only part of the animation was loaded.</doc> | |
| 5290 | 5252 | </member> | |
| 5291 | 5253 | <function name="quark" c:identifier="gdk_pixbuf_error_quark"> | |
| @@ -5301,40 +5263,40 @@ the `G_FILE_ERROR` domain.</doc> | |||
| 5301 | 5263 | glib:get-type="gdk_pixbuf_format_get_type" | |
| 5302 | 5264 | c:symbol-prefix="pixbuf_format"> | |
| 5303 | 5265 | <doc xml:space="preserve" | |
| 5304 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5266 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5305 | 5267 | line="443">A `GdkPixbufFormat` contains information about the image format accepted | |
| 5306 | 5268 | by a module. | |
| 5307 | 5269 | ||
| 5308 | 5270 | Only modules should access the fields directly, applications should | |
| 5309 | 5271 | use the `gdk_pixbuf_format_*` family of functions.</doc> | |
| 5310 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="475"/> | |
| 5272 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="475"/> | |
| 5311 | 5273 | <field name="name" writable="1"> | |
| 5312 | 5274 | <doc xml:space="preserve" | |
| 5313 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5275 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5314 | 5276 | line="445">the name of the image format</doc> | |
| 5315 | 5277 | <type name="utf8" c:type="gchar*"/> | |
| 5316 | 5278 | </field> | |
| 5317 | 5279 | <field name="signature" writable="1"> | |
| 5318 | 5280 | <doc xml:space="preserve" | |
| 5319 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5281 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5320 | 5282 | line="446">the signature of the module</doc> | |
| 5321 | 5283 | <type name="PixbufModulePattern" c:type="GdkPixbufModulePattern*"/> | |
| 5322 | 5284 | </field> | |
| 5323 | 5285 | <field name="domain" writable="1"> | |
| 5324 | 5286 | <doc xml:space="preserve" | |
| 5325 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5287 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5326 | 5288 | line="447">the message domain for the `description`</doc> | |
| 5327 | 5289 | <type name="utf8" c:type="gchar*"/> | |
| 5328 | 5290 | </field> | |
| 5329 | 5291 | <field name="description" writable="1"> | |
| 5330 | 5292 | <doc xml:space="preserve" | |
| 5331 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5293 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5332 | 5294 | line="448">a description of the image format</doc> | |
| 5333 | 5295 | <type name="utf8" c:type="gchar*"/> | |
| 5334 | 5296 | </field> | |
| 5335 | 5297 | <field name="mime_types" writable="1"> | |
| 5336 | 5298 | <doc xml:space="preserve" | |
| 5337 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5299 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5338 | 5300 | line="449">the MIME types for the image format</doc> | |
| 5339 | 5301 | <array c:type="gchar**"> | |
| 5340 | 5302 | <type name="utf8" c:type="gchar*"/> | |
| @@ -5342,7 +5304,7 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5342 | 5304 | </field> | |
| 5343 | 5305 | <field name="extensions" writable="1"> | |
| 5344 | 5306 | <doc xml:space="preserve" | |
| 5345 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5307 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5346 | 5308 | line="450">typical filename extensions for the | |
| 5347 | 5309 | image format</doc> | |
| 5348 | 5310 | <array c:type="gchar**"> | |
| @@ -5351,31 +5313,31 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5351 | 5313 | </field> | |
| 5352 | 5314 | <field name="flags" writable="1"> | |
| 5353 | 5315 | <doc xml:space="preserve" | |
| 5354 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5316 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5355 | 5317 | line="452">a combination of `GdkPixbufFormatFlags`</doc> | |
| 5356 | 5318 | <type name="guint32" c:type="guint32"/> | |
| 5357 | 5319 | </field> | |
| 5358 | 5320 | <field name="disabled" writable="1"> | |
| 5359 | 5321 | <doc xml:space="preserve" | |
| 5360 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5322 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5361 | 5323 | line="453">a boolean determining whether the loader is disabled`</doc> | |
| 5362 | 5324 | <type name="gboolean" c:type="gboolean"/> | |
| 5363 | 5325 | </field> | |
| 5364 | 5326 | <field name="license" writable="1"> | |
| 5365 | 5327 | <doc xml:space="preserve" | |
| 5366 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5328 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5367 | 5329 | line="454">a string containing license information, typically set to | |
| 5368 | 5330 | shorthands like "GPL", "LGPL", etc.</doc> | |
| 5369 | 5331 | <type name="utf8" c:type="gchar*"/> | |
| 5370 | 5332 | </field> | |
| 5371 | 5333 | <method name="copy" c:identifier="gdk_pixbuf_format_copy" version="2.22"> | |
| 5372 | 5334 | <doc xml:space="preserve" | |
| 5373 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5335 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5374 | 5336 | line="3452">Creates a copy of `format`.</doc> | |
| 5375 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="92"/> | |
| 5376 | - | <return-value transfer-ownership="full"> | |
| 5337 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="92"/> | |
| 5338 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5377 | 5339 | <doc xml:space="preserve" | |
| 5378 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5340 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5379 | 5341 | line="3458">the newly allocated copy of a `GdkPixbufFormat`. Use | |
| 5380 | 5342 | gdk_pixbuf_format_free() to free the resources when done</doc> | |
| 5381 | 5343 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| @@ -5383,7 +5345,7 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5383 | 5345 | <parameters> | |
| 5384 | 5346 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5385 | 5347 | <doc xml:space="preserve" | |
| 5386 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5348 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5387 | 5349 | line="3454">a pixbuf format</doc> | |
| 5388 | 5350 | <type name="PixbufFormat" c:type="const GdkPixbufFormat*"/> | |
| 5389 | 5351 | </instance-parameter> | |
| @@ -5391,17 +5353,17 @@ use the `gdk_pixbuf_format_*` family of functions.</doc> | |||
| 5391 | 5353 | </method> | |
| 5392 | 5354 | <method name="free" c:identifier="gdk_pixbuf_format_free" version="2.22"> | |
| 5393 | 5355 | <doc xml:space="preserve" | |
| 5394 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5356 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5395 | 5357 | line="3472">Frees the resources allocated when copying a `GdkPixbufFormat` | |
| 5396 | 5358 | using gdk_pixbuf_format_copy()</doc> | |
| 5397 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="94"/> | |
| 5359 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="94"/> | |
| 5398 | 5360 | <return-value transfer-ownership="none"> | |
| 5399 | 5361 | <type name="none" c:type="void"/> | |
| 5400 | 5362 | </return-value> | |
| 5401 | 5363 | <parameters> | |
| 5402 | 5364 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5403 | 5365 | <doc xml:space="preserve" | |
| 5404 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5366 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5405 | 5367 | line="3474">a pixbuf format</doc> | |
| 5406 | 5368 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5407 | 5369 | </instance-parameter> | |
| @@ -5411,19 +5373,19 @@ using gdk_pixbuf_format_copy()</doc> | |||
| 5411 | 5373 | c:identifier="gdk_pixbuf_format_get_description" | |
| 5412 | 5374 | version="2.2"> | |
| 5413 | 5375 | <doc xml:space="preserve" | |
| 5414 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5376 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5415 | 5377 | line="3249">Returns a description of the format.</doc> | |
| 5416 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="56"/> | |
| 5417 | - | <return-value transfer-ownership="full"> | |
| 5378 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="56"/> | |
| 5379 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5418 | 5380 | <doc xml:space="preserve" | |
| 5419 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5381 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5420 | 5382 | line="3255">a description of the format.</doc> | |
| 5421 | 5383 | <type name="utf8" c:type="gchar*"/> | |
| 5422 | 5384 | </return-value> | |
| 5423 | 5385 | <parameters> | |
| 5424 | 5386 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5425 | 5387 | <doc xml:space="preserve" | |
| 5426 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5388 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5427 | 5389 | line="3251">a `GdkPixbufFormat`</doc> | |
| 5428 | 5390 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5429 | 5391 | </instance-parameter> | |
| @@ -5433,13 +5395,13 @@ using gdk_pixbuf_format_copy()</doc> | |||
| 5433 | 5395 | c:identifier="gdk_pixbuf_format_get_extensions" | |
| 5434 | 5396 | version="2.2"> | |
| 5435 | 5397 | <doc xml:space="preserve" | |
| 5436 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5398 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5437 | 5399 | line="3293">Returns the filename extensions typically used for files in the | |
| 5438 | 5400 | given format.</doc> | |
| 5439 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="60"/> | |
| 5440 | - | <return-value transfer-ownership="full"> | |
| 5401 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="60"/> | |
| 5402 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5441 | 5403 | <doc xml:space="preserve" | |
| 5442 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5404 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5443 | 5405 | line="3300">an array of | |
| 5444 | 5406 | filename extensions</doc> | |
| 5445 | 5407 | <array c:type="gchar**"> | |
| @@ -5449,7 +5411,7 @@ given format.</doc> | |||
| 5449 | 5411 | <parameters> | |
| 5450 | 5412 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5451 | 5413 | <doc xml:space="preserve" | |
| 5452 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5414 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5453 | 5415 | line="3295">a `GdkPixbufFormat`</doc> | |
| 5454 | 5416 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5455 | 5417 | </instance-parameter> | |
| @@ -5459,22 +5421,22 @@ given format.</doc> | |||
| 5459 | 5421 | c:identifier="gdk_pixbuf_format_get_license" | |
| 5460 | 5422 | version="2.6"> | |
| 5461 | 5423 | <doc xml:space="preserve" | |
| 5462 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5424 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5463 | 5425 | line="3397">Returns information about the license of the image loader for the format. | |
| 5464 | 5426 | ||
| 5465 | 5427 | The returned string should be a shorthand for a well known license, e.g. | |
| 5466 | 5428 | "LGPL", "GPL", "QPL", "GPL/QPL", or "other" to indicate some other license.</doc> | |
| 5467 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="74"/> | |
| 5468 | - | <return-value transfer-ownership="full"> | |
| 5429 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="74"/> | |
| 5430 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5469 | 5431 | <doc xml:space="preserve" | |
| 5470 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5432 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5471 | 5433 | line="3406">a string describing the license of the pixbuf format</doc> | |
| 5472 | 5434 | <type name="utf8" c:type="gchar*"/> | |
| 5473 | 5435 | </return-value> | |
| 5474 | 5436 | <parameters> | |
| 5475 | 5437 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5476 | 5438 | <doc xml:space="preserve" | |
| 5477 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5439 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5478 | 5440 | line="3399">a pixbuf format</doc> | |
| 5479 | 5441 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5480 | 5442 | </instance-parameter> | |
| @@ -5484,12 +5446,12 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5484 | 5446 | c:identifier="gdk_pixbuf_format_get_mime_types" | |
| 5485 | 5447 | version="2.2"> | |
| 5486 | 5448 | <doc xml:space="preserve" | |
| 5487 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5449 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5488 | 5450 | line="3275">Returns the mime types supported by the format.</doc> | |
| 5489 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="58"/> | |
| 5490 | - | <return-value transfer-ownership="full"> | |
| 5451 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="58"/> | |
| 5452 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5491 | 5453 | <doc xml:space="preserve" | |
| 5492 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5454 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5493 | 5455 | line="3281">an array of mime types</doc> | |
| 5494 | 5456 | <array c:type="gchar**"> | |
| 5495 | 5457 | <type name="utf8"/> | |
| @@ -5498,7 +5460,7 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5498 | 5460 | <parameters> | |
| 5499 | 5461 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5500 | 5462 | <doc xml:space="preserve" | |
| 5501 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5463 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5502 | 5464 | line="3277">a `GdkPixbufFormat`</doc> | |
| 5503 | 5465 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5504 | 5466 | </instance-parameter> | |
| @@ -5508,19 +5470,19 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5508 | 5470 | c:identifier="gdk_pixbuf_format_get_name" | |
| 5509 | 5471 | version="2.2"> | |
| 5510 | 5472 | <doc xml:space="preserve" | |
| 5511 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5473 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5512 | 5474 | line="3231">Returns the name of the format.</doc> | |
| 5513 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="54"/> | |
| 5514 | - | <return-value transfer-ownership="full"> | |
| 5475 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="54"/> | |
| 5476 | + | <return-value transfer-ownership="full" nullable="1"> | |
| 5515 | 5477 | <doc xml:space="preserve" | |
| 5516 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5478 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5517 | 5479 | line="3237">the name of the format.</doc> | |
| 5518 | 5480 | <type name="utf8" c:type="gchar*"/> | |
| 5519 | 5481 | </return-value> | |
| 5520 | 5482 | <parameters> | |
| 5521 | 5483 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5522 | 5484 | <doc xml:space="preserve" | |
| 5523 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5485 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5524 | 5486 | line="3233">a `GdkPixbufFormat`</doc> | |
| 5525 | 5487 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5526 | 5488 | </instance-parameter> | |
| @@ -5530,21 +5492,21 @@ The returned string should be a shorthand for a well known license, e.g. | |||
| 5530 | 5492 | c:identifier="gdk_pixbuf_format_is_disabled" | |
| 5531 | 5493 | version="2.6"> | |
| 5532 | 5494 | <doc xml:space="preserve" | |
| 5533 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5495 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5534 | 5496 | line="3353">Returns whether this image format is disabled. | |
| 5535 | 5497 | ||
| 5536 | 5498 | See gdk_pixbuf_format_set_disabled().</doc> | |
| 5537 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="69"/> | |
| 5499 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="69"/> | |
| 5538 | 5500 | <return-value transfer-ownership="none"> | |
| 5539 | 5501 | <doc xml:space="preserve" | |
| 5540 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5502 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5541 | 5503 | line="3361">whether this image format is disabled.</doc> | |
| 5542 | 5504 | <type name="gboolean" c:type="gboolean"/> | |
| 5543 | 5505 | </return-value> | |
| 5544 | 5506 | <parameters> | |
| 5545 | 5507 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5546 | 5508 | <doc xml:space="preserve" | |
| 5547 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5509 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5548 | 5510 | line="3355">a `GdkPixbufFormat`</doc> | |
| 5549 | 5511 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5550 | 5512 | </instance-parameter> | |
| @@ -5554,28 +5516,28 @@ See gdk_pixbuf_format_set_disabled().</doc> | |||
| 5554 | 5516 | c:identifier="gdk_pixbuf_format_is_save_option_supported" | |
| 5555 | 5517 | version="2.36"> | |
| 5556 | 5518 | <doc xml:space="preserve" | |
| 5557 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5519 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5558 | 5520 | line="3488">Returns `TRUE` if the save option specified by @option_key is supported when | |
| 5559 | 5521 | saving a pixbuf using the module implementing @format. | |
| 5560 | 5522 | ||
| 5561 | 5523 | See gdk_pixbuf_save() for more information about option keys.</doc> | |
| 5562 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="62"/> | |
| 5524 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="62"/> | |
| 5563 | 5525 | <return-value transfer-ownership="none"> | |
| 5564 | 5526 | <doc xml:space="preserve" | |
| 5565 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5527 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5566 | 5528 | line="3498">`TRUE` if the specified option is supported</doc> | |
| 5567 | 5529 | <type name="gboolean" c:type="gboolean"/> | |
| 5568 | 5530 | </return-value> | |
| 5569 | 5531 | <parameters> | |
| 5570 | 5532 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5571 | 5533 | <doc xml:space="preserve" | |
| 5572 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5534 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5573 | 5535 | line="3490">a pixbuf format</doc> | |
| 5574 | 5536 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5575 | 5537 | </instance-parameter> | |
| 5576 | 5538 | <parameter name="option_key" transfer-ownership="none"> | |
| 5577 | 5539 | <doc xml:space="preserve" | |
| 5578 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5540 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5579 | 5541 | line="3491">the name of an option</doc> | |
| 5580 | 5542 | <type name="utf8" c:type="const gchar*"/> | |
| 5581 | 5543 | </parameter> | |
| @@ -5585,23 +5547,23 @@ See gdk_pixbuf_save() for more information about option keys.</doc> | |||
| 5585 | 5547 | c:identifier="gdk_pixbuf_format_is_scalable" | |
| 5586 | 5548 | version="2.6"> | |
| 5587 | 5549 | <doc xml:space="preserve" | |
| 5588 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5550 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5589 | 5551 | line="3331">Returns whether this image format is scalable. | |
| 5590 | 5552 | ||
| 5591 | 5553 | If a file is in a scalable format, it is preferable to load it at | |
| 5592 | 5554 | the desired size, rather than loading it at the default size and | |
| 5593 | 5555 | scaling the resulting pixbuf to the desired size.</doc> | |
| 5594 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="67"/> | |
| 5556 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="67"/> | |
| 5595 | 5557 | <return-value transfer-ownership="none"> | |
| 5596 | 5558 | <doc xml:space="preserve" | |
| 5597 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5559 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5598 | 5560 | line="3341">whether this image format is scalable.</doc> | |
| 5599 | 5561 | <type name="gboolean" c:type="gboolean"/> | |
| 5600 | 5562 | </return-value> | |
| 5601 | 5563 | <parameters> | |
| 5602 | 5564 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5603 | 5565 | <doc xml:space="preserve" | |
| 5604 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5566 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5605 | 5567 | line="3333">a `GdkPixbufFormat`</doc> | |
| 5606 | 5568 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5607 | 5569 | </instance-parameter> | |
| @@ -5611,19 +5573,19 @@ scaling the resulting pixbuf to the desired size.</doc> | |||
| 5611 | 5573 | c:identifier="gdk_pixbuf_format_is_writable" | |
| 5612 | 5574 | version="2.2"> | |
| 5613 | 5575 | <doc xml:space="preserve" | |
| 5614 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5576 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5615 | 5577 | line="3313">Returns whether pixbufs can be saved in the given format.</doc> | |
| 5616 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="65"/> | |
| 5578 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="65"/> | |
| 5617 | 5579 | <return-value transfer-ownership="none"> | |
| 5618 | 5580 | <doc xml:space="preserve" | |
| 5619 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5581 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5620 | 5582 | line="3319">whether pixbufs can be saved in the given format.</doc> | |
| 5621 | 5583 | <type name="gboolean" c:type="gboolean"/> | |
| 5622 | 5584 | </return-value> | |
| 5623 | 5585 | <parameters> | |
| 5624 | 5586 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5625 | 5587 | <doc xml:space="preserve" | |
| 5626 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5588 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5627 | 5589 | line="3315">a `GdkPixbufFormat`</doc> | |
| 5628 | 5590 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5629 | 5591 | </instance-parameter> | |
| @@ -5633,7 +5595,7 @@ scaling the resulting pixbuf to the desired size.</doc> | |||
| 5633 | 5595 | c:identifier="gdk_pixbuf_format_set_disabled" | |
| 5634 | 5596 | version="2.6"> | |
| 5635 | 5597 | <doc xml:space="preserve" | |
| 5636 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5598 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5637 | 5599 | line="3373">Disables or enables an image format. | |
| 5638 | 5600 | ||
| 5639 | 5601 | If a format is disabled, GdkPixbuf won't use the image loader for | |
| @@ -5641,20 +5603,20 @@ this format to load images. | |||
| 5641 | 5603 | ||
| 5642 | 5604 | Applications can use this to avoid using image loaders with an | |
| 5643 | 5605 | inappropriate license, see gdk_pixbuf_format_get_license().</doc> | |
| 5644 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="71"/> | |
| 5606 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="71"/> | |
| 5645 | 5607 | <return-value transfer-ownership="none"> | |
| 5646 | 5608 | <type name="none" c:type="void"/> | |
| 5647 | 5609 | </return-value> | |
| 5648 | 5610 | <parameters> | |
| 5649 | 5611 | <instance-parameter name="format" transfer-ownership="none"> | |
| 5650 | 5612 | <doc xml:space="preserve" | |
| 5651 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5613 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5652 | 5614 | line="3375">a `GdkPixbufFormat`</doc> | |
| 5653 | 5615 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5654 | 5616 | </instance-parameter> | |
| 5655 | 5617 | <parameter name="disabled" transfer-ownership="none"> | |
| 5656 | 5618 | <doc xml:space="preserve" | |
| 5657 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5619 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 5658 | 5620 | line="3376">`TRUE` to disable the format @format</doc> | |
| 5659 | 5621 | <type name="gboolean" c:type="gboolean"/> | |
| 5660 | 5622 | </parameter> | |
| @@ -5665,29 +5627,29 @@ inappropriate license, see gdk_pixbuf_format_get_license().</doc> | |||
| 5665 | 5627 | version="2.2" | |
| 5666 | 5628 | c:type="GdkPixbufFormatFlags"> | |
| 5667 | 5629 | <doc xml:space="preserve" | |
| 5668 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5630 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5669 | 5631 | line="424">Flags which allow a module to specify further details about the supported | |
| 5670 | 5632 | operations.</doc> | |
| 5671 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="441"/> | |
| 5633 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="441"/> | |
| 5672 | 5634 | <member name="writable" | |
| 5673 | 5635 | value="1" | |
| 5674 | 5636 | c:identifier="GDK_PIXBUF_FORMAT_WRITABLE"> | |
| 5675 | 5637 | <doc xml:space="preserve" | |
| 5676 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5638 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5677 | 5639 | line="426">the module can write out images in the format.</doc> | |
| 5678 | 5640 | </member> | |
| 5679 | 5641 | <member name="scalable" | |
| 5680 | 5642 | value="2" | |
| 5681 | 5643 | c:identifier="GDK_PIXBUF_FORMAT_SCALABLE"> | |
| 5682 | 5644 | <doc xml:space="preserve" | |
| 5683 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5645 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5684 | 5646 | line="427">the image format is scalable</doc> | |
| 5685 | 5647 | </member> | |
| 5686 | 5648 | <member name="threadsafe" | |
| 5687 | 5649 | value="4" | |
| 5688 | 5650 | c:identifier="GDK_PIXBUF_FORMAT_THREADSAFE"> | |
| 5689 | 5651 | <doc xml:space="preserve" | |
| 5690 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5652 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 5691 | 5653 | line="428">the module is threadsafe. gdk-pixbuf | |
| 5692 | 5654 | ignores modules that are not marked as threadsafe. (Since 2.28).</doc> | |
| 5693 | 5655 | </member> | |
| @@ -5700,7 +5662,7 @@ operations.</doc> | |||
| 5700 | 5662 | glib:get-type="gdk_pixbuf_loader_get_type" | |
| 5701 | 5663 | glib:type-struct="PixbufLoaderClass"> | |
| 5702 | 5664 | <doc xml:space="preserve" | |
| 5703 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5665 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5704 | 5666 | line="34">Incremental image loader. | |
| 5705 | 5667 | ||
| 5706 | 5668 | `GdkPixbufLoader` provides a way for applications to drive the | |
| @@ -5746,16 +5708,15 @@ get the [class@GdkPixbuf.PixbufAnimation] instance, and then call | |||
| 5746 | 5708 | and [method@GdkPixbuf.PixbufAnimation.get_iter] to get a | |
| 5747 | 5709 | [class@GdkPixbuf.PixbufAnimationIter] to retrieve the pixbuf for the | |
| 5748 | 5710 | desired time stamp.</doc> | |
| 5749 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="74"/> | |
| 5711 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="74"/> | |
| 5750 | 5712 | <constructor name="new" c:identifier="gdk_pixbuf_loader_new"> | |
| 5751 | 5713 | <doc xml:space="preserve" | |
| 5752 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5714 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5753 | 5715 | line="596">Creates a new pixbuf loader object.</doc> | |
| 5754 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5755 | - | line="79"/> | |
| 5716 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="79"/> | |
| 5756 | 5717 | <return-value transfer-ownership="full"> | |
| 5757 | 5718 | <doc xml:space="preserve" | |
| 5758 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5719 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5759 | 5720 | line="601">A newly-created pixbuf loader.</doc> | |
| 5760 | 5721 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5761 | 5722 | </return-value> | |
| @@ -5765,7 +5726,7 @@ desired time stamp.</doc> | |||
| 5765 | 5726 | version="2.4" | |
| 5766 | 5727 | throws="1"> | |
| 5767 | 5728 | <doc xml:space="preserve" | |
| 5768 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5729 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5769 | 5730 | line="654">Creates a new pixbuf loader object that always attempts to parse | |
| 5770 | 5731 | image data as if it were an image of MIME type @mime_type, instead of | |
| 5771 | 5732 | identifying the type automatically. | |
| @@ -5781,18 +5742,17 @@ are installed, but typically "image/png", "image/jpeg", "image/gif", | |||
| 5781 | 5742 | To obtain the full list of supported mime types, call | |
| 5782 | 5743 | gdk_pixbuf_format_get_mime_types() on each of the #GdkPixbufFormat | |
| 5783 | 5744 | structs returned by gdk_pixbuf_get_formats().</doc> | |
| 5784 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5785 | - | line="84"/> | |
| 5745 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="84"/> | |
| 5786 | 5746 | <return-value transfer-ownership="full"> | |
| 5787 | 5747 | <doc xml:space="preserve" | |
| 5788 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5748 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5789 | 5749 | line="675">A newly-created pixbuf loader.</doc> | |
| 5790 | 5750 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5791 | 5751 | </return-value> | |
| 5792 | 5752 | <parameters> | |
| 5793 | 5753 | <parameter name="mime_type" transfer-ownership="none"> | |
| 5794 | 5754 | <doc xml:space="preserve" | |
| 5795 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5755 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5796 | 5756 | line="656">the mime type to be loaded</doc> | |
| 5797 | 5757 | <type name="utf8" c:type="const char*"/> | |
| 5798 | 5758 | </parameter> | |
| @@ -5802,7 +5762,7 @@ structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5802 | 5762 | c:identifier="gdk_pixbuf_loader_new_with_type" | |
| 5803 | 5763 | throws="1"> | |
| 5804 | 5764 | <doc xml:space="preserve" | |
| 5805 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5765 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5806 | 5766 | line="609">Creates a new pixbuf loader object that always attempts to parse | |
| 5807 | 5767 | image data as if it were an image of type @image_type, instead of | |
| 5808 | 5768 | identifying the type automatically. | |
| @@ -5817,26 +5777,24 @@ are installed, but typically "png", "jpeg", "gif", "tiff" and | |||
| 5817 | 5777 | "xpm" are among the supported formats. To obtain the full list of | |
| 5818 | 5778 | supported image formats, call gdk_pixbuf_format_get_name() on each | |
| 5819 | 5779 | of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |
| 5820 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5821 | - | line="81"/> | |
| 5780 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="81"/> | |
| 5822 | 5781 | <return-value transfer-ownership="full"> | |
| 5823 | 5782 | <doc xml:space="preserve" | |
| 5824 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5783 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5825 | 5784 | line="629">A newly-created pixbuf loader.</doc> | |
| 5826 | 5785 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5827 | 5786 | </return-value> | |
| 5828 | 5787 | <parameters> | |
| 5829 | 5788 | <parameter name="image_type" transfer-ownership="none"> | |
| 5830 | 5789 | <doc xml:space="preserve" | |
| 5831 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5790 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5832 | 5791 | line="611">name of the image format to be loaded with the image</doc> | |
| 5833 | 5792 | <type name="utf8" c:type="const char*"/> | |
| 5834 | 5793 | </parameter> | |
| 5835 | 5794 | </parameters> | |
| 5836 | 5795 | </constructor> | |
| 5837 | 5796 | <virtual-method name="area_prepared"> | |
| 5838 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5839 | - | line="64"/> | |
| 5797 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="64"/> | |
| 5840 | 5798 | <return-value transfer-ownership="none"> | |
| 5841 | 5799 | <type name="none" c:type="void"/> | |
| 5842 | 5800 | </return-value> | |
| @@ -5847,8 +5805,7 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5847 | 5805 | </parameters> | |
| 5848 | 5806 | </virtual-method> | |
| 5849 | 5807 | <virtual-method name="area_updated"> | |
| 5850 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5851 | - | line="67"/> | |
| 5808 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="67"/> | |
| 5852 | 5809 | <return-value transfer-ownership="none"> | |
| 5853 | 5810 | <type name="none" c:type="void"/> | |
| 5854 | 5811 | </return-value> | |
| @@ -5871,8 +5828,7 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5871 | 5828 | </parameters> | |
| 5872 | 5829 | </virtual-method> | |
| 5873 | 5830 | <virtual-method name="closed"> | |
| 5874 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5875 | - | line="73"/> | |
| 5831 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="73"/> | |
| 5876 | 5832 | <return-value transfer-ownership="none"> | |
| 5877 | 5833 | <type name="none" c:type="void"/> | |
| 5878 | 5834 | </return-value> | |
| @@ -5883,8 +5839,7 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5883 | 5839 | </parameters> | |
| 5884 | 5840 | </virtual-method> | |
| 5885 | 5841 | <virtual-method name="size_prepared"> | |
| 5886 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5887 | - | line="60"/> | |
| 5842 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="60"/> | |
| 5888 | 5843 | <return-value transfer-ownership="none"> | |
| 5889 | 5844 | <type name="none" c:type="void"/> | |
| 5890 | 5845 | </return-value> | |
| @@ -5902,7 +5857,7 @@ of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().</doc> | |||
| 5902 | 5857 | </virtual-method> | |
| 5903 | 5858 | <method name="close" c:identifier="gdk_pixbuf_loader_close" throws="1"> | |
| 5904 | 5859 | <doc xml:space="preserve" | |
| 5905 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5860 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5906 | 5861 | line="803">Informs a pixbuf loader that no further writes with | |
| 5907 | 5862 | gdk_pixbuf_loader_write() will occur, so that it can free its | |
| 5908 | 5863 | internal loading structures. | |
| @@ -5918,11 +5873,10 @@ passing `NULL` for `error` to ignore it is reasonable. | |||
| 5918 | 5873 | ||
| 5919 | 5874 | Remember that this function does not release a reference on the loader, so | |
| 5920 | 5875 | you will need to explicitly release any reference you hold.</doc> | |
| 5921 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5922 | - | line="104"/> | |
| 5876 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="104"/> | |
| 5923 | 5877 | <return-value transfer-ownership="none"> | |
| 5924 | 5878 | <doc xml:space="preserve" | |
| 5925 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5879 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5926 | 5880 | line="824">`TRUE` if all image data written so far was successfully | |
| 5927 | 5881 | passed out via the update_area signal</doc> | |
| 5928 | 5882 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -5930,7 +5884,7 @@ you will need to explicitly release any reference you hold.</doc> | |||
| 5930 | 5884 | <parameters> | |
| 5931 | 5885 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 5932 | 5886 | <doc xml:space="preserve" | |
| 5933 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5887 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5934 | 5888 | line="805">A pixbuf loader.</doc> | |
| 5935 | 5889 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5936 | 5890 | </instance-parameter> | |
| @@ -5939,7 +5893,7 @@ you will need to explicitly release any reference you hold.</doc> | |||
| 5939 | 5893 | <method name="get_animation" | |
| 5940 | 5894 | c:identifier="gdk_pixbuf_loader_get_animation"> | |
| 5941 | 5895 | <doc xml:space="preserve" | |
| 5942 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5896 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5943 | 5897 | line="775">Queries the #GdkPixbufAnimation that a pixbuf loader is currently creating. | |
| 5944 | 5898 | ||
| 5945 | 5899 | In general it only makes sense to call this function after the | |
| @@ -5948,11 +5902,10 @@ the loader. | |||
| 5948 | 5902 | ||
| 5949 | 5903 | If the loader doesn't have enough bytes yet, and hasn't emitted the `area-prepared` | |
| 5950 | 5904 | signal, this function will return `NULL`.</doc> | |
| 5951 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5952 | - | line="102"/> | |
| 5905 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="102"/> | |
| 5953 | 5906 | <return-value transfer-ownership="none" nullable="1"> | |
| 5954 | 5907 | <doc xml:space="preserve" | |
| 5955 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5908 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5956 | 5909 | line="788">The animation that the loader is | |
| 5957 | 5910 | currently loading</doc> | |
| 5958 | 5911 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| @@ -5960,7 +5913,7 @@ signal, this function will return `NULL`.</doc> | |||
| 5960 | 5913 | <parameters> | |
| 5961 | 5914 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 5962 | 5915 | <doc xml:space="preserve" | |
| 5963 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5916 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5964 | 5917 | line="777">A pixbuf loader</doc> | |
| 5965 | 5918 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5966 | 5919 | </instance-parameter> | |
| @@ -5970,21 +5923,20 @@ signal, this function will return `NULL`.</doc> | |||
| 5970 | 5923 | c:identifier="gdk_pixbuf_loader_get_format" | |
| 5971 | 5924 | version="2.2"> | |
| 5972 | 5925 | <doc xml:space="preserve" | |
| 5973 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5926 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5974 | 5927 | line="891">Obtains the available information about the format of the | |
| 5975 | 5928 | currently loading image file.</doc> | |
| 5976 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 5977 | - | line="107"/> | |
| 5929 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="107"/> | |
| 5978 | 5930 | <return-value transfer-ownership="none" nullable="1"> | |
| 5979 | 5931 | <doc xml:space="preserve" | |
| 5980 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5932 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5981 | 5933 | line="898">A #GdkPixbufFormat</doc> | |
| 5982 | 5934 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 5983 | 5935 | </return-value> | |
| 5984 | 5936 | <parameters> | |
| 5985 | 5937 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 5986 | 5938 | <doc xml:space="preserve" | |
| 5987 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5939 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5988 | 5940 | line="893">A pixbuf loader.</doc> | |
| 5989 | 5941 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 5990 | 5942 | </instance-parameter> | |
| @@ -5992,7 +5944,7 @@ currently loading image file.</doc> | |||
| 5992 | 5944 | </method> | |
| 5993 | 5945 | <method name="get_pixbuf" c:identifier="gdk_pixbuf_loader_get_pixbuf"> | |
| 5994 | 5946 | <doc xml:space="preserve" | |
| 5995 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5947 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5996 | 5948 | line="737">Queries the #GdkPixbuf that a pixbuf loader is currently creating. | |
| 5997 | 5949 | ||
| 5998 | 5950 | In general it only makes sense to call this function after the | |
| @@ -6008,11 +5960,10 @@ so if you want to keep using it, you should acquire a reference to it. | |||
| 6008 | 5960 | ||
| 6009 | 5961 | Additionally, if the loader is an animation, it will return the "static | |
| 6010 | 5962 | image" of the animation (see gdk_pixbuf_animation_get_static_image()).</doc> | |
| 6011 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6012 | - | line="100"/> | |
| 5963 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="100"/> | |
| 6013 | 5964 | <return-value transfer-ownership="none" nullable="1"> | |
| 6014 | 5965 | <doc xml:space="preserve" | |
| 6015 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5966 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6016 | 5967 | line="757">The pixbuf that the loader is | |
| 6017 | 5968 | creating</doc> | |
| 6018 | 5969 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| @@ -6020,7 +5971,7 @@ image" of the animation (see gdk_pixbuf_animation_get_static_image()).</doc> | |||
| 6020 | 5971 | <parameters> | |
| 6021 | 5972 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 6022 | 5973 | <doc xml:space="preserve" | |
| 6023 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5974 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6024 | 5975 | line="739">A pixbuf loader.</doc> | |
| 6025 | 5976 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 6026 | 5977 | </instance-parameter> | |
| @@ -6030,7 +5981,7 @@ image" of the animation (see gdk_pixbuf_animation_get_static_image()).</doc> | |||
| 6030 | 5981 | c:identifier="gdk_pixbuf_loader_set_size" | |
| 6031 | 5982 | version="2.2"> | |
| 6032 | 5983 | <doc xml:space="preserve" | |
| 6033 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 5984 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6034 | 5985 | line="260">Causes the image to be scaled while it is loaded. | |
| 6035 | 5986 | ||
| 6036 | 5987 | The desired image size can be determined relative to the original | |
| @@ -6039,27 +5990,26 @@ signal handler for the ::size-prepared signal. | |||
| 6039 | 5990 | ||
| 6040 | 5991 | Attempts to set the desired image size are ignored after the | |
| 6041 | 5992 | emission of the ::size-prepared signal.</doc> | |
| 6042 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6043 | - | line="87"/> | |
| 5993 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="87"/> | |
| 6044 | 5994 | <return-value transfer-ownership="none"> | |
| 6045 | 5995 | <type name="none" c:type="void"/> | |
| 6046 | 5996 | </return-value> | |
| 6047 | 5997 | <parameters> | |
| 6048 | 5998 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 6049 | 5999 | <doc xml:space="preserve" | |
| 6050 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6000 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6051 | 6001 | line="262">A pixbuf loader.</doc> | |
| 6052 | 6002 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 6053 | 6003 | </instance-parameter> | |
| 6054 | 6004 | <parameter name="width" transfer-ownership="none"> | |
| 6055 | 6005 | <doc xml:space="preserve" | |
| 6056 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6006 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6057 | 6007 | line="263">The desired width of the image being loaded.</doc> | |
| 6058 | 6008 | <type name="gint" c:type="int"/> | |
| 6059 | 6009 | </parameter> | |
| 6060 | 6010 | <parameter name="height" transfer-ownership="none"> | |
| 6061 | 6011 | <doc xml:space="preserve" | |
| 6062 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6012 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6063 | 6013 | line="264">The desired height of the image being loaded.</doc> | |
| 6064 | 6014 | <type name="gint" c:type="int"/> | |
| 6065 | 6015 | </parameter> | |
| @@ -6067,13 +6017,12 @@ emission of the ::size-prepared signal.</doc> | |||
| 6067 | 6017 | </method> | |
| 6068 | 6018 | <method name="write" c:identifier="gdk_pixbuf_loader_write" throws="1"> | |
| 6069 | 6019 | <doc xml:space="preserve" | |
| 6070 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6020 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6071 | 6021 | line="506">Parses the next `count` bytes in the given image buffer.</doc> | |
| 6072 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6073 | - | line="91"/> | |
| 6022 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="91"/> | |
| 6074 | 6023 | <return-value transfer-ownership="none"> | |
| 6075 | 6024 | <doc xml:space="preserve" | |
| 6076 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6025 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6077 | 6026 | line="515">`TRUE` if the write was successful, or | |
| 6078 | 6027 | `FALSE` if the loader cannot parse the buffer</doc> | |
| 6079 | 6028 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -6081,13 +6030,13 @@ emission of the ::size-prepared signal.</doc> | |||
| 6081 | 6030 | <parameters> | |
| 6082 | 6031 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 6083 | 6032 | <doc xml:space="preserve" | |
| 6084 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6033 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6085 | 6034 | line="508">A pixbuf loader.</doc> | |
| 6086 | 6035 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 6087 | 6036 | </instance-parameter> | |
| 6088 | 6037 | <parameter name="buf" transfer-ownership="none"> | |
| 6089 | 6038 | <doc xml:space="preserve" | |
| 6090 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6039 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6091 | 6040 | line="509">Pointer to image data.</doc> | |
| 6092 | 6041 | <array length="1" zero-terminated="0" c:type="const guchar*"> | |
| 6093 | 6042 | <type name="guint8" c:type="guchar"/> | |
| @@ -6095,7 +6044,7 @@ emission of the ::size-prepared signal.</doc> | |||
| 6095 | 6044 | </parameter> | |
| 6096 | 6045 | <parameter name="count" transfer-ownership="none"> | |
| 6097 | 6046 | <doc xml:space="preserve" | |
| 6098 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6047 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6099 | 6048 | line="510">Length of the @buf buffer in bytes.</doc> | |
| 6100 | 6049 | <type name="gsize" c:type="gsize"/> | |
| 6101 | 6050 | </parameter> | |
| @@ -6106,13 +6055,12 @@ emission of the ::size-prepared signal.</doc> | |||
| 6106 | 6055 | version="2.30" | |
| 6107 | 6056 | throws="1"> | |
| 6108 | 6057 | <doc xml:space="preserve" | |
| 6109 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6058 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6110 | 6059 | line="567">Parses the next contents of the given image buffer.</doc> | |
| 6111 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6112 | - | line="96"/> | |
| 6060 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="96"/> | |
| 6113 | 6061 | <return-value transfer-ownership="none"> | |
| 6114 | 6062 | <doc xml:space="preserve" | |
| 6115 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6063 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6116 | 6064 | line="575">`TRUE` if the write was successful, or `FALSE` if | |
| 6117 | 6065 | the loader cannot parse the buffer</doc> | |
| 6118 | 6066 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -6120,13 +6068,13 @@ emission of the ::size-prepared signal.</doc> | |||
| 6120 | 6068 | <parameters> | |
| 6121 | 6069 | <instance-parameter name="loader" transfer-ownership="none"> | |
| 6122 | 6070 | <doc xml:space="preserve" | |
| 6123 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6071 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6124 | 6072 | line="569">A pixbuf loader.</doc> | |
| 6125 | 6073 | <type name="PixbufLoader" c:type="GdkPixbufLoader*"/> | |
| 6126 | 6074 | </instance-parameter> | |
| 6127 | 6075 | <parameter name="buffer" transfer-ownership="none"> | |
| 6128 | 6076 | <doc xml:space="preserve" | |
| 6129 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6077 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6130 | 6078 | line="570">The image data as a `GBytes` buffer.</doc> | |
| 6131 | 6079 | <type name="GLib.Bytes" c:type="GBytes*"/> | |
| 6132 | 6080 | </parameter> | |
| @@ -6140,7 +6088,7 @@ emission of the ::size-prepared signal.</doc> | |||
| 6140 | 6088 | </field> | |
| 6141 | 6089 | <glib:signal name="area-prepared" when="last"> | |
| 6142 | 6090 | <doc xml:space="preserve" | |
| 6143 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6091 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6144 | 6092 | line="154">This signal is emitted when the pixbuf loader has allocated the | |
| 6145 | 6093 | pixbuf in the desired size. | |
| 6146 | 6094 | ||
| @@ -6153,7 +6101,7 @@ pixbuf.</doc> | |||
| 6153 | 6101 | </glib:signal> | |
| 6154 | 6102 | <glib:signal name="area-updated" when="last"> | |
| 6155 | 6103 | <doc xml:space="preserve" | |
| 6156 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6104 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6157 | 6105 | line="174">This signal is emitted when a significant area of the image being | |
| 6158 | 6106 | loaded has been updated. | |
| 6159 | 6107 | ||
| @@ -6168,25 +6116,25 @@ areas of an image that is being loaded.</doc> | |||
| 6168 | 6116 | <parameters> | |
| 6169 | 6117 | <parameter name="x" transfer-ownership="none"> | |
| 6170 | 6118 | <doc xml:space="preserve" | |
| 6171 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6119 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6172 | 6120 | line="177">X offset of upper-left corner of the updated area.</doc> | |
| 6173 | 6121 | <type name="gint" c:type="gint"/> | |
| 6174 | 6122 | </parameter> | |
| 6175 | 6123 | <parameter name="y" transfer-ownership="none"> | |
| 6176 | 6124 | <doc xml:space="preserve" | |
| 6177 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6125 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6178 | 6126 | line="178">Y offset of upper-left corner of the updated area.</doc> | |
| 6179 | 6127 | <type name="gint" c:type="gint"/> | |
| 6180 | 6128 | </parameter> | |
| 6181 | 6129 | <parameter name="width" transfer-ownership="none"> | |
| 6182 | 6130 | <doc xml:space="preserve" | |
| 6183 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6131 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6184 | 6132 | line="179">Width of updated area.</doc> | |
| 6185 | 6133 | <type name="gint" c:type="gint"/> | |
| 6186 | 6134 | </parameter> | |
| 6187 | 6135 | <parameter name="height" transfer-ownership="none"> | |
| 6188 | 6136 | <doc xml:space="preserve" | |
| 6189 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6137 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6190 | 6138 | line="180">Height of updated area.</doc> | |
| 6191 | 6139 | <type name="gint" c:type="gint"/> | |
| 6192 | 6140 | </parameter> | |
| @@ -6194,7 +6142,7 @@ areas of an image that is being loaded.</doc> | |||
| 6194 | 6142 | </glib:signal> | |
| 6195 | 6143 | <glib:signal name="closed" when="last"> | |
| 6196 | 6144 | <doc xml:space="preserve" | |
| 6197 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6145 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6198 | 6146 | line="204">This signal is emitted when gdk_pixbuf_loader_close() is called. | |
| 6199 | 6147 | ||
| 6200 | 6148 | It can be used by different parts of an application to receive | |
| @@ -6206,7 +6154,7 @@ drives it.</doc> | |||
| 6206 | 6154 | </glib:signal> | |
| 6207 | 6155 | <glib:signal name="size-prepared" when="last"> | |
| 6208 | 6156 | <doc xml:space="preserve" | |
| 6209 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6157 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6210 | 6158 | line="129">This signal is emitted when the pixbuf loader has been fed the | |
| 6211 | 6159 | initial amount of data that is required to figure out the size | |
| 6212 | 6160 | of the image that it will create. | |
| @@ -6220,13 +6168,13 @@ should be scaled.</doc> | |||
| 6220 | 6168 | <parameters> | |
| 6221 | 6169 | <parameter name="width" transfer-ownership="none"> | |
| 6222 | 6170 | <doc xml:space="preserve" | |
| 6223 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6171 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6224 | 6172 | line="132">the original width of the image</doc> | |
| 6225 | 6173 | <type name="gint" c:type="gint"/> | |
| 6226 | 6174 | </parameter> | |
| 6227 | 6175 | <parameter name="height" transfer-ownership="none"> | |
| 6228 | 6176 | <doc xml:space="preserve" | |
| 6229 | - | filename="../gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6177 | + | filename="gdk-pixbuf/gdk-pixbuf-loader.c" | |
| 6230 | 6178 | line="133">the original height of the image</doc> | |
| 6231 | 6179 | <type name="gint" c:type="gint"/> | |
| 6232 | 6180 | </parameter> | |
| @@ -6236,13 +6184,13 @@ should be scaled.</doc> | |||
| 6236 | 6184 | <record name="PixbufLoaderClass" | |
| 6237 | 6185 | c:type="GdkPixbufLoaderClass" | |
| 6238 | 6186 | glib:is-gtype-struct-for="PixbufLoader"> | |
| 6239 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" line="74"/> | |
| 6187 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" line="74"/> | |
| 6240 | 6188 | <field name="parent_class"> | |
| 6241 | 6189 | <type name="GObject.ObjectClass" c:type="GObjectClass"/> | |
| 6242 | 6190 | </field> | |
| 6243 | 6191 | <field name="size_prepared"> | |
| 6244 | 6192 | <callback name="size_prepared"> | |
| 6245 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6193 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6246 | 6194 | line="60"/> | |
| 6247 | 6195 | <return-value transfer-ownership="none"> | |
| 6248 | 6196 | <type name="none" c:type="void"/> | |
| @@ -6262,7 +6210,7 @@ should be scaled.</doc> | |||
| 6262 | 6210 | </field> | |
| 6263 | 6211 | <field name="area_prepared"> | |
| 6264 | 6212 | <callback name="area_prepared"> | |
| 6265 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6213 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6266 | 6214 | line="64"/> | |
| 6267 | 6215 | <return-value transfer-ownership="none"> | |
| 6268 | 6216 | <type name="none" c:type="void"/> | |
| @@ -6276,7 +6224,7 @@ should be scaled.</doc> | |||
| 6276 | 6224 | </field> | |
| 6277 | 6225 | <field name="area_updated"> | |
| 6278 | 6226 | <callback name="area_updated"> | |
| 6279 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6227 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6280 | 6228 | line="67"/> | |
| 6281 | 6229 | <return-value transfer-ownership="none"> | |
| 6282 | 6230 | <type name="none" c:type="void"/> | |
| @@ -6302,7 +6250,7 @@ should be scaled.</doc> | |||
| 6302 | 6250 | </field> | |
| 6303 | 6251 | <field name="closed"> | |
| 6304 | 6252 | <callback name="closed"> | |
| 6305 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6253 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-loader.h" | |
| 6306 | 6254 | line="73"/> | |
| 6307 | 6255 | <return-value transfer-ownership="none"> | |
| 6308 | 6256 | <type name="none" c:type="void"/> | |
| @@ -6317,7 +6265,7 @@ should be scaled.</doc> | |||
| 6317 | 6265 | </record> | |
| 6318 | 6266 | <record name="PixbufModule" c:type="GdkPixbufModule"> | |
| 6319 | 6267 | <doc xml:space="preserve" | |
| 6320 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6268 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6321 | 6269 | line="50">A `GdkPixbufModule` contains the necessary functions to load and save | |
| 6322 | 6270 | images in a certain file format. | |
| 6323 | 6271 | ||
| @@ -6363,97 +6311,96 @@ Installing a module is a two-step process: | |||
| 6363 | 6311 | - call `gdk-pixbuf-query-loaders` to update the module file (normally | |
| 6364 | 6312 | `$libdir/gdk-pixbuf-2.0/$version/loaders.cache`, unless overridden | |
| 6365 | 6313 | by the environment variable `GDK_PIXBUF_MODULE_FILE`)</doc> | |
| 6366 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="400"/> | |
| 6314 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="400"/> | |
| 6367 | 6315 | <field name="module_name" writable="1"> | |
| 6368 | 6316 | <doc xml:space="preserve" | |
| 6369 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6317 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6370 | 6318 | line="52">the name of the module, usually the same as the | |
| 6371 | 6319 | usual file extension for images of this type, eg. "xpm", "jpeg" or "png".</doc> | |
| 6372 | 6320 | <type name="utf8" c:type="char*"/> | |
| 6373 | 6321 | </field> | |
| 6374 | 6322 | <field name="module_path" writable="1"> | |
| 6375 | 6323 | <doc xml:space="preserve" | |
| 6376 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6324 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6377 | 6325 | line="54">the path from which the module is loaded.</doc> | |
| 6378 | 6326 | <type name="utf8" c:type="char*"/> | |
| 6379 | 6327 | </field> | |
| 6380 | 6328 | <field name="module" writable="1"> | |
| 6381 | 6329 | <doc xml:space="preserve" | |
| 6382 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6330 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6383 | 6331 | line="55">the loaded `GModule`.</doc> | |
| 6384 | 6332 | <type name="GModule.Module" c:type="GModule*"/> | |
| 6385 | 6333 | </field> | |
| 6386 | 6334 | <field name="info" writable="1"> | |
| 6387 | 6335 | <doc xml:space="preserve" | |
| 6388 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6336 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6389 | 6337 | line="56">a `GdkPixbufFormat` holding information about the module.</doc> | |
| 6390 | 6338 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 6391 | 6339 | </field> | |
| 6392 | 6340 | <field name="load" writable="1"> | |
| 6393 | 6341 | <doc xml:space="preserve" | |
| 6394 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6342 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6395 | 6343 | line="57">loads an image from a file.</doc> | |
| 6396 | 6344 | <type name="PixbufModuleLoadFunc" c:type="GdkPixbufModuleLoadFunc"/> | |
| 6397 | 6345 | </field> | |
| 6398 | 6346 | <field name="load_xpm_data" writable="1"> | |
| 6399 | 6347 | <doc xml:space="preserve" | |
| 6400 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6348 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6401 | 6349 | line="58">loads an image from data in memory.</doc> | |
| 6402 | 6350 | <type name="PixbufModuleLoadXpmDataFunc" | |
| 6403 | 6351 | c:type="GdkPixbufModuleLoadXpmDataFunc"/> | |
| 6404 | 6352 | </field> | |
| 6405 | 6353 | <field name="begin_load" introspectable="0" writable="1"> | |
| 6406 | 6354 | <doc xml:space="preserve" | |
| 6407 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6355 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6408 | 6356 | line="59">begins an incremental load.</doc> | |
| 6409 | 6357 | <type name="PixbufModuleBeginLoadFunc" | |
| 6410 | 6358 | c:type="GdkPixbufModuleBeginLoadFunc"/> | |
| 6411 | 6359 | </field> | |
| 6412 | 6360 | <field name="stop_load" writable="1"> | |
| 6413 | 6361 | <doc xml:space="preserve" | |
| 6414 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6362 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6415 | 6363 | line="60">stops an incremental load.</doc> | |
| 6416 | 6364 | <type name="PixbufModuleStopLoadFunc" | |
| 6417 | 6365 | c:type="GdkPixbufModuleStopLoadFunc"/> | |
| 6418 | 6366 | </field> | |
| 6419 | 6367 | <field name="load_increment" writable="1"> | |
| 6420 | 6368 | <doc xml:space="preserve" | |
| 6421 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6369 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6422 | 6370 | line="61">continues an incremental load.</doc> | |
| 6423 | 6371 | <type name="PixbufModuleIncrementLoadFunc" | |
| 6424 | 6372 | c:type="GdkPixbufModuleIncrementLoadFunc"/> | |
| 6425 | 6373 | </field> | |
| 6426 | 6374 | <field name="load_animation" writable="1"> | |
| 6427 | 6375 | <doc xml:space="preserve" | |
| 6428 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6376 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6429 | 6377 | line="62">loads an animation from a file.</doc> | |
| 6430 | 6378 | <type name="PixbufModuleLoadAnimationFunc" | |
| 6431 | 6379 | c:type="GdkPixbufModuleLoadAnimationFunc"/> | |
| 6432 | 6380 | </field> | |
| 6433 | 6381 | <field name="save" writable="1"> | |
| 6434 | 6382 | <doc xml:space="preserve" | |
| 6435 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6383 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6436 | 6384 | line="63">saves a `GdkPixbuf` to a file.</doc> | |
| 6437 | 6385 | <type name="PixbufModuleSaveFunc" c:type="GdkPixbufModuleSaveFunc"/> | |
| 6438 | 6386 | </field> | |
| 6439 | 6387 | <field name="save_to_callback" introspectable="0" writable="1"> | |
| 6440 | 6388 | <doc xml:space="preserve" | |
| 6441 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6389 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6442 | 6390 | line="64">saves a `GdkPixbuf` by calling the given `GdkPixbufSaveFunc`.</doc> | |
| 6443 | 6391 | <type name="PixbufModuleSaveCallbackFunc" | |
| 6444 | 6392 | c:type="GdkPixbufModuleSaveCallbackFunc"/> | |
| 6445 | 6393 | </field> | |
| 6446 | 6394 | <field name="is_save_option_supported" writable="1"> | |
| 6447 | 6395 | <doc xml:space="preserve" | |
| 6448 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6396 | + | filename="gdk-pixbuf/gdk-pixbuf-io.c" | |
| 6449 | 6397 | line="65">returns whether a save option key is supported by the module</doc> | |
| 6450 | 6398 | <type name="PixbufModuleSaveOptionSupportedFunc" | |
| 6451 | 6399 | c:type="GdkPixbufModuleSaveOptionSupportedFunc"/> | |
| 6452 | 6400 | </field> | |
| 6453 | 6401 | <field name="_reserved1" introspectable="0"> | |
| 6454 | 6402 | <callback name="_reserved1"> | |
| 6455 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6456 | - | line="396"/> | |
| 6403 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="396"/> | |
| 6457 | 6404 | <return-value transfer-ownership="none"> | |
| 6458 | 6405 | <type name="none" c:type="void"/> | |
| 6459 | 6406 | </return-value> | |
| @@ -6461,8 +6408,7 @@ Installing a module is a two-step process: | |||
| 6461 | 6408 | </field> | |
| 6462 | 6409 | <field name="_reserved2" introspectable="0"> | |
| 6463 | 6410 | <callback name="_reserved2"> | |
| 6464 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6465 | - | line="397"/> | |
| 6411 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="397"/> | |
| 6466 | 6412 | <return-value transfer-ownership="none"> | |
| 6467 | 6413 | <type name="none" c:type="void"/> | |
| 6468 | 6414 | </return-value> | |
| @@ -6470,8 +6416,7 @@ Installing a module is a two-step process: | |||
| 6470 | 6416 | </field> | |
| 6471 | 6417 | <field name="_reserved3" introspectable="0"> | |
| 6472 | 6418 | <callback name="_reserved3"> | |
| 6473 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6474 | - | line="398"/> | |
| 6419 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="398"/> | |
| 6475 | 6420 | <return-value transfer-ownership="none"> | |
| 6476 | 6421 | <type name="none" c:type="void"/> | |
| 6477 | 6422 | </return-value> | |
| @@ -6479,8 +6424,7 @@ Installing a module is a two-step process: | |||
| 6479 | 6424 | </field> | |
| 6480 | 6425 | <field name="_reserved4" introspectable="0"> | |
| 6481 | 6426 | <callback name="_reserved4"> | |
| 6482 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6483 | - | line="399"/> | |
| 6427 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="399"/> | |
| 6484 | 6428 | <return-value transfer-ownership="none"> | |
| 6485 | 6429 | <type name="none" c:type="void"/> | |
| 6486 | 6430 | </return-value> | |
| @@ -6492,7 +6436,7 @@ Installing a module is a two-step process: | |||
| 6492 | 6436 | introspectable="0" | |
| 6493 | 6437 | throws="1"> | |
| 6494 | 6438 | <doc xml:space="preserve" | |
| 6495 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6439 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6496 | 6440 | line="255">Sets up the image loading state. | |
| 6497 | 6441 | ||
| 6498 | 6442 | The image loader is responsible for storing the given function pointers | |
| @@ -6502,10 +6446,10 @@ The image loader should set up an internal state object, and return it | |||
| 6502 | 6446 | from this function; the state object will then be updated from the | |
| 6503 | 6447 | [callback@GdkPixbuf.PixbufModuleIncrementLoadFunc] callback, and will be freed | |
| 6504 | 6448 | by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |
| 6505 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="277"/> | |
| 6449 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="277"/> | |
| 6506 | 6450 | <return-value transfer-ownership="full" nullable="1"> | |
| 6507 | 6451 | <doc xml:space="preserve" | |
| 6508 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6452 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6509 | 6453 | line="273">the data to be passed to | |
| 6510 | 6454 | [callback@GdkPixbuf.PixbufModuleIncrementLoadFunc] | |
| 6511 | 6455 | and [callback@GdkPixbuf.PixbufModuleStopLoadFunc], or `NULL` in case of error</doc> | |
| @@ -6514,20 +6458,20 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6514 | 6458 | <parameters> | |
| 6515 | 6459 | <parameter name="size_func" transfer-ownership="none"> | |
| 6516 | 6460 | <doc xml:space="preserve" | |
| 6517 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6461 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6518 | 6462 | line="257">the function to be called when the size is known</doc> | |
| 6519 | 6463 | <type name="PixbufModuleSizeFunc" c:type="GdkPixbufModuleSizeFunc"/> | |
| 6520 | 6464 | </parameter> | |
| 6521 | 6465 | <parameter name="prepared_func" transfer-ownership="none"> | |
| 6522 | 6466 | <doc xml:space="preserve" | |
| 6523 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6467 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6524 | 6468 | line="258">the function to be called when the data has been prepared</doc> | |
| 6525 | 6469 | <type name="PixbufModulePreparedFunc" | |
| 6526 | 6470 | c:type="GdkPixbufModulePreparedFunc"/> | |
| 6527 | 6471 | </parameter> | |
| 6528 | 6472 | <parameter name="updated_func" transfer-ownership="none" closure="3"> | |
| 6529 | 6473 | <doc xml:space="preserve" | |
| 6530 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6474 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6531 | 6475 | line="259">the function to be called when the data has been updated</doc> | |
| 6532 | 6476 | <type name="PixbufModuleUpdatedFunc" | |
| 6533 | 6477 | c:type="GdkPixbufModuleUpdatedFunc"/> | |
| @@ -6538,7 +6482,7 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6538 | 6482 | allow-none="1" | |
| 6539 | 6483 | closure="3"> | |
| 6540 | 6484 | <doc xml:space="preserve" | |
| 6541 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6485 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6542 | 6486 | line="260">the data to be passed to the functions</doc> | |
| 6543 | 6487 | <type name="gpointer" c:type="gpointer"/> | |
| 6544 | 6488 | </parameter> | |
| @@ -6548,17 +6492,17 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6548 | 6492 | c:type="GdkPixbufModuleFillInfoFunc" | |
| 6549 | 6493 | version="2.2"> | |
| 6550 | 6494 | <doc xml:space="preserve" | |
| 6551 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6495 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6552 | 6496 | line="413">Defines the type of the function used to fill a | |
| 6553 | 6497 | #GdkPixbufFormat structure with information about a module.</doc> | |
| 6554 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="422"/> | |
| 6498 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="422"/> | |
| 6555 | 6499 | <return-value transfer-ownership="none"> | |
| 6556 | 6500 | <type name="none" c:type="void"/> | |
| 6557 | 6501 | </return-value> | |
| 6558 | 6502 | <parameters> | |
| 6559 | 6503 | <parameter name="info" transfer-ownership="none"> | |
| 6560 | 6504 | <doc xml:space="preserve" | |
| 6561 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6505 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6562 | 6506 | line="415">a #GdkPixbufFormat.</doc> | |
| 6563 | 6507 | <type name="PixbufFormat" c:type="GdkPixbufFormat*"/> | |
| 6564 | 6508 | </parameter> | |
| @@ -6568,17 +6512,17 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6568 | 6512 | c:type="GdkPixbufModuleFillVtableFunc" | |
| 6569 | 6513 | version="2.2"> | |
| 6570 | 6514 | <doc xml:space="preserve" | |
| 6571 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6515 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6572 | 6516 | line="402">Defines the type of the function used to set the vtable of a | |
| 6573 | 6517 | #GdkPixbufModule when it is loaded.</doc> | |
| 6574 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="411"/> | |
| 6518 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="411"/> | |
| 6575 | 6519 | <return-value transfer-ownership="none"> | |
| 6576 | 6520 | <type name="none" c:type="void"/> | |
| 6577 | 6521 | </return-value> | |
| 6578 | 6522 | <parameters> | |
| 6579 | 6523 | <parameter name="module" transfer-ownership="none"> | |
| 6580 | 6524 | <doc xml:space="preserve" | |
| 6581 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6525 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6582 | 6526 | line="404">a #GdkPixbufModule.</doc> | |
| 6583 | 6527 | <type name="PixbufModule" c:type="GdkPixbufModule*"/> | |
| 6584 | 6528 | </parameter> | |
| @@ -6588,12 +6532,12 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6588 | 6532 | c:type="GdkPixbufModuleIncrementLoadFunc" | |
| 6589 | 6533 | throws="1"> | |
| 6590 | 6534 | <doc xml:space="preserve" | |
| 6591 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6535 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6592 | 6536 | line="297">Incrementally loads a buffer into the image data.</doc> | |
| 6593 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="308"/> | |
| 6537 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="308"/> | |
| 6594 | 6538 | <return-value transfer-ownership="none"> | |
| 6595 | 6539 | <doc xml:space="preserve" | |
| 6596 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6540 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6597 | 6541 | line="306">`TRUE` if the incremental load was successful</doc> | |
| 6598 | 6542 | <type name="gboolean" c:type="gboolean"/> | |
| 6599 | 6543 | </return-value> | |
| @@ -6603,13 +6547,13 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6603 | 6547 | nullable="1" | |
| 6604 | 6548 | allow-none="1"> | |
| 6605 | 6549 | <doc xml:space="preserve" | |
| 6606 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6550 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6607 | 6551 | line="299">the state object created by [callback@GdkPixbuf.PixbufModuleBeginLoadFunc]</doc> | |
| 6608 | 6552 | <type name="gpointer" c:type="gpointer"/> | |
| 6609 | 6553 | </parameter> | |
| 6610 | 6554 | <parameter name="buf" transfer-ownership="none"> | |
| 6611 | 6555 | <doc xml:space="preserve" | |
| 6612 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6556 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6613 | 6557 | line="300">the data to load</doc> | |
| 6614 | 6558 | <array length="2" zero-terminated="0" c:type="const guchar*"> | |
| 6615 | 6559 | <type name="guint8"/> | |
| @@ -6617,7 +6561,7 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6617 | 6561 | </parameter> | |
| 6618 | 6562 | <parameter name="size" transfer-ownership="none"> | |
| 6619 | 6563 | <doc xml:space="preserve" | |
| 6620 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6564 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6621 | 6565 | line="301">the length of the data to load</doc> | |
| 6622 | 6566 | <type name="guint" c:type="guint"/> | |
| 6623 | 6567 | </parameter> | |
| @@ -6627,14 +6571,14 @@ by [callback@GdkPixbuf.PixbufModuleStopLoadFunc] callback.</doc> | |||
| 6627 | 6571 | c:type="GdkPixbufModuleLoadAnimationFunc" | |
| 6628 | 6572 | throws="1"> | |
| 6629 | 6573 | <doc xml:space="preserve" | |
| 6630 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6574 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6631 | 6575 | line="241">Loads a file from a standard C file stream into a new `GdkPixbufAnimation`. | |
| 6632 | 6576 | ||
| 6633 | 6577 | In case of error, this function should return `NULL` and set the `error` argument.</doc> | |
| 6634 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="252"/> | |
| 6578 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="252"/> | |
| 6635 | 6579 | <return-value transfer-ownership="full"> | |
| 6636 | 6580 | <doc xml:space="preserve" | |
| 6637 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6581 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6638 | 6582 | line="250">a newly created `GdkPixbufAnimation` for the contents of the file</doc> | |
| 6639 | 6583 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 6640 | 6584 | </return-value> | |
| @@ -6644,7 +6588,7 @@ In case of error, this function should return `NULL` and set the `error` argumen | |||
| 6644 | 6588 | nullable="1" | |
| 6645 | 6589 | allow-none="1"> | |
| 6646 | 6590 | <doc xml:space="preserve" | |
| 6647 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6591 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6648 | 6592 | line="243">the file stream from which the image should be loaded</doc> | |
| 6649 | 6593 | <type name="gpointer" c:type="FILE*"/> | |
| 6650 | 6594 | </parameter> | |
| @@ -6654,14 +6598,14 @@ In case of error, this function should return `NULL` and set the `error` argumen | |||
| 6654 | 6598 | c:type="GdkPixbufModuleLoadFunc" | |
| 6655 | 6599 | throws="1"> | |
| 6656 | 6600 | <doc xml:space="preserve" | |
| 6657 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6601 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6658 | 6602 | line="217">Loads a file from a standard C file stream into a new `GdkPixbuf`. | |
| 6659 | 6603 | ||
| 6660 | 6604 | In case of error, this function should return `NULL` and set the `error` argument.</doc> | |
| 6661 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="228"/> | |
| 6605 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="228"/> | |
| 6662 | 6606 | <return-value transfer-ownership="full"> | |
| 6663 | 6607 | <doc xml:space="preserve" | |
| 6664 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6608 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6665 | 6609 | line="226">a newly created `GdkPixbuf` for the contents of the file</doc> | |
| 6666 | 6610 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 6667 | 6611 | </return-value> | |
| @@ -6671,7 +6615,7 @@ In case of error, this function should return `NULL` and set the `error` argumen | |||
| 6671 | 6615 | nullable="1" | |
| 6672 | 6616 | allow-none="1"> | |
| 6673 | 6617 | <doc xml:space="preserve" | |
| 6674 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6618 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6675 | 6619 | line="219">the file stream from which the image should be loaded</doc> | |
| 6676 | 6620 | <type name="gpointer" c:type="FILE*"/> | |
| 6677 | 6621 | </parameter> | |
| @@ -6680,19 +6624,19 @@ In case of error, this function should return `NULL` and set the `error` argumen | |||
| 6680 | 6624 | <callback name="PixbufModuleLoadXpmDataFunc" | |
| 6681 | 6625 | c:type="GdkPixbufModuleLoadXpmDataFunc"> | |
| 6682 | 6626 | <doc xml:space="preserve" | |
| 6683 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6627 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6684 | 6628 | line="231">Loads XPM data into a new `GdkPixbuf`.</doc> | |
| 6685 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="239"/> | |
| 6629 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="239"/> | |
| 6686 | 6630 | <return-value transfer-ownership="full"> | |
| 6687 | 6631 | <doc xml:space="preserve" | |
| 6688 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6632 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6689 | 6633 | line="237">a newly created `GdkPixbuf` for the XPM data</doc> | |
| 6690 | 6634 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 6691 | 6635 | </return-value> | |
| 6692 | 6636 | <parameters> | |
| 6693 | 6637 | <parameter name="data" transfer-ownership="none"> | |
| 6694 | 6638 | <doc xml:space="preserve" | |
| 6695 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6639 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6696 | 6640 | line="233">the XPM data</doc> | |
| 6697 | 6641 | <array c:type="const char**"> | |
| 6698 | 6642 | <type name="utf8" c:type="char*"/> | |
| @@ -6704,7 +6648,7 @@ In case of error, this function should return `NULL` and set the `error` argumen | |||
| 6704 | 6648 | c:type="GdkPixbufModulePattern" | |
| 6705 | 6649 | version="2.2"> | |
| 6706 | 6650 | <doc xml:space="preserve" | |
| 6707 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6651 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6708 | 6652 | line="170">The signature prefix for a module. | |
| 6709 | 6653 | ||
| 6710 | 6654 | The signature of a module is a set of prefixes. Prefixes are encoded as | |
| @@ -6735,23 +6679,23 @@ GdkPixbufModulePattern *signature[] = { | |||
| 6735 | 6679 | ||
| 6736 | 6680 | In the example above, the signature matches e.g. "auud\0" with | |
| 6737 | 6681 | relevance 100, and "blau" with relevance 90.</doc> | |
| 6738 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="215"/> | |
| 6682 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="215"/> | |
| 6739 | 6683 | <field name="prefix" writable="1"> | |
| 6740 | 6684 | <doc xml:space="preserve" | |
| 6741 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6685 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6742 | 6686 | line="172">the prefix for this pattern</doc> | |
| 6743 | 6687 | <type name="utf8" c:type="char*"/> | |
| 6744 | 6688 | </field> | |
| 6745 | 6689 | <field name="mask" writable="1"> | |
| 6746 | 6690 | <doc xml:space="preserve" | |
| 6747 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6691 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6748 | 6692 | line="173">mask containing bytes which modify how the prefix is matched against | |
| 6749 | 6693 | test data</doc> | |
| 6750 | 6694 | <type name="utf8" c:type="char*"/> | |
| 6751 | 6695 | </field> | |
| 6752 | 6696 | <field name="relevance" writable="1"> | |
| 6753 | 6697 | <doc xml:space="preserve" | |
| 6754 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6698 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6755 | 6699 | line="175">relevance of this pattern</doc> | |
| 6756 | 6700 | <type name="gint" c:type="int"/> | |
| 6757 | 6701 | </field> | |
| @@ -6760,27 +6704,27 @@ relevance 100, and "blau" with relevance 90.</doc> | |||
| 6760 | 6704 | c:type="GdkPixbufModulePreparedFunc" | |
| 6761 | 6705 | version="2.2"> | |
| 6762 | 6706 | <doc xml:space="preserve" | |
| 6763 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6707 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6764 | 6708 | line="126">Defines the type of the function that gets called once the initial | |
| 6765 | 6709 | setup of @pixbuf is done. | |
| 6766 | 6710 | ||
| 6767 | 6711 | #GdkPixbufLoader uses a function of this type to emit the | |
| 6768 | 6712 | "<link linkend="GdkPixbufLoader-area-prepared">area_prepared</link>" | |
| 6769 | 6713 | signal.</doc> | |
| 6770 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="141"/> | |
| 6714 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="141"/> | |
| 6771 | 6715 | <return-value transfer-ownership="none"> | |
| 6772 | 6716 | <type name="none" c:type="void"/> | |
| 6773 | 6717 | </return-value> | |
| 6774 | 6718 | <parameters> | |
| 6775 | 6719 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 6776 | 6720 | <doc xml:space="preserve" | |
| 6777 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6721 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6778 | 6722 | line="128">the #GdkPixbuf that is currently being loaded.</doc> | |
| 6779 | 6723 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 6780 | 6724 | </parameter> | |
| 6781 | 6725 | <parameter name="anim" transfer-ownership="none"> | |
| 6782 | 6726 | <doc xml:space="preserve" | |
| 6783 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6727 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6784 | 6728 | line="129">if an animation is being loaded, the #GdkPixbufAnimation, else %NULL.</doc> | |
| 6785 | 6729 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| 6786 | 6730 | </parameter> | |
| @@ -6790,7 +6734,7 @@ signal.</doc> | |||
| 6790 | 6734 | allow-none="1" | |
| 6791 | 6735 | closure="2"> | |
| 6792 | 6736 | <doc xml:space="preserve" | |
| 6793 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6737 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6794 | 6738 | line="130">the loader.</doc> | |
| 6795 | 6739 | <type name="gpointer" c:type="gpointer"/> | |
| 6796 | 6740 | </parameter> | |
| @@ -6801,16 +6745,16 @@ signal.</doc> | |||
| 6801 | 6745 | introspectable="0" | |
| 6802 | 6746 | throws="1"> | |
| 6803 | 6747 | <doc xml:space="preserve" | |
| 6804 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6748 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6805 | 6749 | line="336">Saves a `GdkPixbuf` by calling the provided function. | |
| 6806 | 6750 | ||
| 6807 | 6751 | The optional `option_keys` and `option_values` arrays contain the keys and | |
| 6808 | 6752 | values (in the same order) for attributes to be saved alongside the image | |
| 6809 | 6753 | data.</doc> | |
| 6810 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="354"/> | |
| 6754 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="354"/> | |
| 6811 | 6755 | <return-value transfer-ownership="none"> | |
| 6812 | 6756 | <doc xml:space="preserve" | |
| 6813 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6757 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6814 | 6758 | line="351">`TRUE` on success; in case of failure, `FALSE` is returned and | |
| 6815 | 6759 | the `error` is set</doc> | |
| 6816 | 6760 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -6818,7 +6762,7 @@ data.</doc> | |||
| 6818 | 6762 | <parameters> | |
| 6819 | 6763 | <parameter name="save_func" transfer-ownership="none" closure="1"> | |
| 6820 | 6764 | <doc xml:space="preserve" | |
| 6821 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6765 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6822 | 6766 | line="338">the function to call when saving</doc> | |
| 6823 | 6767 | <type name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc"/> | |
| 6824 | 6768 | </parameter> | |
| @@ -6828,13 +6772,13 @@ data.</doc> | |||
| 6828 | 6772 | allow-none="1" | |
| 6829 | 6773 | closure="1"> | |
| 6830 | 6774 | <doc xml:space="preserve" | |
| 6831 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6775 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6832 | 6776 | line="339">the data to pass to @save_func</doc> | |
| 6833 | 6777 | <type name="gpointer" c:type="gpointer"/> | |
| 6834 | 6778 | </parameter> | |
| 6835 | 6779 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 6836 | 6780 | <doc xml:space="preserve" | |
| 6837 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6781 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6838 | 6782 | line="340">the `GdkPixbuf` to save</doc> | |
| 6839 | 6783 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 6840 | 6784 | </parameter> | |
| @@ -6843,7 +6787,7 @@ data.</doc> | |||
| 6843 | 6787 | nullable="1" | |
| 6844 | 6788 | allow-none="1"> | |
| 6845 | 6789 | <doc xml:space="preserve" | |
| 6846 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6790 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6847 | 6791 | line="341">an array of option names</doc> | |
| 6848 | 6792 | <array c:type="gchar**"> | |
| 6849 | 6793 | <type name="utf8" c:type="gchar*"/> | |
| @@ -6854,7 +6798,7 @@ data.</doc> | |||
| 6854 | 6798 | nullable="1" | |
| 6855 | 6799 | allow-none="1"> | |
| 6856 | 6800 | <doc xml:space="preserve" | |
| 6857 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6801 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6858 | 6802 | line="342">an array of option values</doc> | |
| 6859 | 6803 | <array c:type="gchar**"> | |
| 6860 | 6804 | <type name="utf8" c:type="gchar*"/> | |
| @@ -6866,16 +6810,16 @@ data.</doc> | |||
| 6866 | 6810 | c:type="GdkPixbufModuleSaveFunc" | |
| 6867 | 6811 | throws="1"> | |
| 6868 | 6812 | <doc xml:space="preserve" | |
| 6869 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6813 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6870 | 6814 | line="313">Saves a `GdkPixbuf` into a standard C file stream. | |
| 6871 | 6815 | ||
| 6872 | 6816 | The optional `param_keys` and `param_values` arrays contain the keys and | |
| 6873 | 6817 | values (in the same order) for attributes to be saved alongside the image | |
| 6874 | 6818 | data.</doc> | |
| 6875 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="330"/> | |
| 6819 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="330"/> | |
| 6876 | 6820 | <return-value transfer-ownership="none"> | |
| 6877 | 6821 | <doc xml:space="preserve" | |
| 6878 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6822 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6879 | 6823 | line="327">`TRUE` on success; in case of failure, `FALSE` is returned and | |
| 6880 | 6824 | the `error` is set</doc> | |
| 6881 | 6825 | <type name="gboolean" c:type="gboolean"/> | |
| @@ -6886,13 +6830,13 @@ data.</doc> | |||
| 6886 | 6830 | nullable="1" | |
| 6887 | 6831 | allow-none="1"> | |
| 6888 | 6832 | <doc xml:space="preserve" | |
| 6889 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6833 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6890 | 6834 | line="315">the file stream into which the image should be saved</doc> | |
| 6891 | 6835 | <type name="gpointer" c:type="FILE*"/> | |
| 6892 | 6836 | </parameter> | |
| 6893 | 6837 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 6894 | 6838 | <doc xml:space="preserve" | |
| 6895 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6839 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6896 | 6840 | line="316">the image to save</doc> | |
| 6897 | 6841 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 6898 | 6842 | </parameter> | |
| @@ -6901,7 +6845,7 @@ data.</doc> | |||
| 6901 | 6845 | nullable="1" | |
| 6902 | 6846 | allow-none="1"> | |
| 6903 | 6847 | <doc xml:space="preserve" | |
| 6904 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6848 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6905 | 6849 | line="317">parameter keys to save</doc> | |
| 6906 | 6850 | <array c:type="gchar**"> | |
| 6907 | 6851 | <type name="utf8" c:type="gchar*"/> | |
| @@ -6912,7 +6856,7 @@ data.</doc> | |||
| 6912 | 6856 | nullable="1" | |
| 6913 | 6857 | allow-none="1"> | |
| 6914 | 6858 | <doc xml:space="preserve" | |
| 6915 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6859 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6916 | 6860 | line="318">parameter values to save</doc> | |
| 6917 | 6861 | <array c:type="gchar**"> | |
| 6918 | 6862 | <type name="utf8" c:type="gchar*"/> | |
| @@ -6923,19 +6867,19 @@ data.</doc> | |||
| 6923 | 6867 | <callback name="PixbufModuleSaveOptionSupportedFunc" | |
| 6924 | 6868 | c:type="GdkPixbufModuleSaveOptionSupportedFunc"> | |
| 6925 | 6869 | <doc xml:space="preserve" | |
| 6926 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6870 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6927 | 6871 | line="361">Checks whether the given `option_key` is supported when saving.</doc> | |
| 6928 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="369"/> | |
| 6872 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="369"/> | |
| 6929 | 6873 | <return-value transfer-ownership="none"> | |
| 6930 | 6874 | <doc xml:space="preserve" | |
| 6931 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6875 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6932 | 6876 | line="367">`TRUE` if the option is supported</doc> | |
| 6933 | 6877 | <type name="gboolean" c:type="gboolean"/> | |
| 6934 | 6878 | </return-value> | |
| 6935 | 6879 | <parameters> | |
| 6936 | 6880 | <parameter name="option_key" transfer-ownership="none"> | |
| 6937 | 6881 | <doc xml:space="preserve" | |
| 6938 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6882 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6939 | 6883 | line="363">the option key to check</doc> | |
| 6940 | 6884 | <type name="utf8" c:type="const gchar*"/> | |
| 6941 | 6885 | </parameter> | |
| @@ -6945,7 +6889,7 @@ data.</doc> | |||
| 6945 | 6889 | c:type="GdkPixbufModuleSizeFunc" | |
| 6946 | 6890 | version="2.2"> | |
| 6947 | 6891 | <doc xml:space="preserve" | |
| 6948 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6892 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6949 | 6893 | line="100">Defines the type of the function that gets called once the size | |
| 6950 | 6894 | of the loaded image is known. | |
| 6951 | 6895 | ||
| @@ -6959,20 +6903,20 @@ If the function sets @width or @height to zero, the module should interpret | |||
| 6959 | 6903 | this as a hint that it will be closed soon and shouldn't allocate further | |
| 6960 | 6904 | resources. This convention is used to implement gdk_pixbuf_get_file_info() | |
| 6961 | 6905 | efficiently.</doc> | |
| 6962 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="122"/> | |
| 6906 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="122"/> | |
| 6963 | 6907 | <return-value transfer-ownership="none"> | |
| 6964 | 6908 | <type name="none" c:type="void"/> | |
| 6965 | 6909 | </return-value> | |
| 6966 | 6910 | <parameters> | |
| 6967 | 6911 | <parameter name="width" transfer-ownership="none"> | |
| 6968 | 6912 | <doc xml:space="preserve" | |
| 6969 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6913 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6970 | 6914 | line="102">pointer to a location containing the current image width</doc> | |
| 6971 | 6915 | <type name="gint" c:type="gint*"/> | |
| 6972 | 6916 | </parameter> | |
| 6973 | 6917 | <parameter name="height" transfer-ownership="none"> | |
| 6974 | 6918 | <doc xml:space="preserve" | |
| 6975 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6919 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6976 | 6920 | line="103">pointer to a location containing the current image height</doc> | |
| 6977 | 6921 | <type name="gint" c:type="gint*"/> | |
| 6978 | 6922 | </parameter> | |
| @@ -6982,7 +6926,7 @@ efficiently.</doc> | |||
| 6982 | 6926 | allow-none="1" | |
| 6983 | 6927 | closure="2"> | |
| 6984 | 6928 | <doc xml:space="preserve" | |
| 6985 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6929 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6986 | 6930 | line="104">the loader.</doc> | |
| 6987 | 6931 | <type name="gpointer" c:type="gpointer"/> | |
| 6988 | 6932 | </parameter> | |
| @@ -6992,14 +6936,14 @@ efficiently.</doc> | |||
| 6992 | 6936 | c:type="GdkPixbufModuleStopLoadFunc" | |
| 6993 | 6937 | throws="1"> | |
| 6994 | 6938 | <doc xml:space="preserve" | |
| 6995 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6939 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6996 | 6940 | line="283">Finalizes the image loading state. | |
| 6997 | 6941 | ||
| 6998 | 6942 | This function is called on success and error states.</doc> | |
| 6999 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="294"/> | |
| 6943 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="294"/> | |
| 7000 | 6944 | <return-value transfer-ownership="none"> | |
| 7001 | 6945 | <doc xml:space="preserve" | |
| 7002 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6946 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7003 | 6947 | line="292">`TRUE` if the loading operation was successful</doc> | |
| 7004 | 6948 | <type name="gboolean" c:type="gboolean"/> | |
| 7005 | 6949 | </return-value> | |
| @@ -7009,7 +6953,7 @@ This function is called on success and error states.</doc> | |||
| 7009 | 6953 | nullable="1" | |
| 7010 | 6954 | allow-none="1"> | |
| 7011 | 6955 | <doc xml:space="preserve" | |
| 7012 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6956 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7013 | 6957 | line="285">the state object created by [callback@GdkPixbuf.PixbufModuleBeginLoadFunc]</doc> | |
| 7014 | 6958 | <type name="gpointer" c:type="gpointer"/> | |
| 7015 | 6959 | </parameter> | |
| @@ -7019,45 +6963,45 @@ This function is called on success and error states.</doc> | |||
| 7019 | 6963 | c:type="GdkPixbufModuleUpdatedFunc" | |
| 7020 | 6964 | version="2.2"> | |
| 7021 | 6965 | <doc xml:space="preserve" | |
| 7022 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6966 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7023 | 6967 | line="145">Defines the type of the function that gets called every time a region | |
| 7024 | 6968 | of @pixbuf is updated. | |
| 7025 | 6969 | ||
| 7026 | 6970 | #GdkPixbufLoader uses a function of this type to emit the | |
| 7027 | 6971 | "<link linkend="GdkPixbufLoader-area-updated">area_updated</link>" | |
| 7028 | 6972 | signal.</doc> | |
| 7029 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-io.h" line="163"/> | |
| 6973 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-io.h" line="163"/> | |
| 7030 | 6974 | <return-value transfer-ownership="none"> | |
| 7031 | 6975 | <type name="none" c:type="void"/> | |
| 7032 | 6976 | </return-value> | |
| 7033 | 6977 | <parameters> | |
| 7034 | 6978 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 7035 | 6979 | <doc xml:space="preserve" | |
| 7036 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6980 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7037 | 6981 | line="147">the #GdkPixbuf that is currently being loaded.</doc> | |
| 7038 | 6982 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 7039 | 6983 | </parameter> | |
| 7040 | 6984 | <parameter name="x" transfer-ownership="none"> | |
| 7041 | 6985 | <doc xml:space="preserve" | |
| 7042 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6986 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7043 | 6987 | line="148">the X origin of the updated area.</doc> | |
| 7044 | 6988 | <type name="gint" c:type="int"/> | |
| 7045 | 6989 | </parameter> | |
| 7046 | 6990 | <parameter name="y" transfer-ownership="none"> | |
| 7047 | 6991 | <doc xml:space="preserve" | |
| 7048 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6992 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7049 | 6993 | line="149">the Y origin of the updated area.</doc> | |
| 7050 | 6994 | <type name="gint" c:type="int"/> | |
| 7051 | 6995 | </parameter> | |
| 7052 | 6996 | <parameter name="width" transfer-ownership="none"> | |
| 7053 | 6997 | <doc xml:space="preserve" | |
| 7054 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 6998 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7055 | 6999 | line="150">the width of the updated area.</doc> | |
| 7056 | 7000 | <type name="gint" c:type="int"/> | |
| 7057 | 7001 | </parameter> | |
| 7058 | 7002 | <parameter name="height" transfer-ownership="none"> | |
| 7059 | 7003 | <doc xml:space="preserve" | |
| 7060 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7004 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7061 | 7005 | line="151">the height of the updated area.</doc> | |
| 7062 | 7006 | <type name="gint" c:type="int"/> | |
| 7063 | 7007 | </parameter> | |
| @@ -7067,7 +7011,7 @@ signal.</doc> | |||
| 7067 | 7011 | allow-none="1" | |
| 7068 | 7012 | closure="5"> | |
| 7069 | 7013 | <doc xml:space="preserve" | |
| 7070 | - | filename="../gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7014 | + | filename="gdk-pixbuf/gdk-pixbuf-io.h" | |
| 7071 | 7015 | line="152">the loader.</doc> | |
| 7072 | 7016 | <type name="gpointer" c:type="gpointer"/> | |
| 7073 | 7017 | </parameter> | |
| @@ -7079,7 +7023,7 @@ signal.</doc> | |||
| 7079 | 7023 | glib:type-name="GdkPixbufNonAnim" | |
| 7080 | 7024 | glib:get-type="gdk_pixbuf_non_anim_get_type"> | |
| 7081 | 7025 | <constructor name="new" c:identifier="gdk_pixbuf_non_anim_new"> | |
| 7082 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 7026 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-animation.h" | |
| 7083 | 7027 | line="215"/> | |
| 7084 | 7028 | <return-value transfer-ownership="full"> | |
| 7085 | 7029 | <type name="PixbufAnimation" c:type="GdkPixbufAnimation*"/> | |
| @@ -7096,7 +7040,7 @@ signal.</doc> | |||
| 7096 | 7040 | glib:get-type="gdk_pixbuf_rotation_get_type" | |
| 7097 | 7041 | c:type="GdkPixbufRotation"> | |
| 7098 | 7042 | <doc xml:space="preserve" | |
| 7099 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7043 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7100 | 7044 | line="80">The possible rotations which can be passed to gdk_pixbuf_rotate_simple(). | |
| 7101 | 7045 | ||
| 7102 | 7046 | To make them easier to use, their numerical values are the actual degrees.</doc> | |
| @@ -7106,7 +7050,7 @@ To make them easier to use, their numerical values are the actual degrees.</doc> | |||
| 7106 | 7050 | glib:nick="none" | |
| 7107 | 7051 | glib:name="GDK_PIXBUF_ROTATE_NONE"> | |
| 7108 | 7052 | <doc xml:space="preserve" | |
| 7109 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7053 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7110 | 7054 | line="82">No rotation.</doc> | |
| 7111 | 7055 | </member> | |
| 7112 | 7056 | <member name="counterclockwise" | |
| @@ -7115,7 +7059,7 @@ To make them easier to use, their numerical values are the actual degrees.</doc> | |||
| 7115 | 7059 | glib:nick="counterclockwise" | |
| 7116 | 7060 | glib:name="GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE"> | |
| 7117 | 7061 | <doc xml:space="preserve" | |
| 7118 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7062 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7119 | 7063 | line="83">Rotate by 90 degrees.</doc> | |
| 7120 | 7064 | </member> | |
| 7121 | 7065 | <member name="upsidedown" | |
| @@ -7124,7 +7068,7 @@ To make them easier to use, their numerical values are the actual degrees.</doc> | |||
| 7124 | 7068 | glib:nick="upsidedown" | |
| 7125 | 7069 | glib:name="GDK_PIXBUF_ROTATE_UPSIDEDOWN"> | |
| 7126 | 7070 | <doc xml:space="preserve" | |
| 7127 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7071 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7128 | 7072 | line="84">Rotate by 180 degrees.</doc> | |
| 7129 | 7073 | </member> | |
| 7130 | 7074 | <member name="clockwise" | |
| @@ -7133,13 +7077,13 @@ To make them easier to use, their numerical values are the actual degrees.</doc> | |||
| 7133 | 7077 | glib:nick="clockwise" | |
| 7134 | 7078 | glib:name="GDK_PIXBUF_ROTATE_CLOCKWISE"> | |
| 7135 | 7079 | <doc xml:space="preserve" | |
| 7136 | - | filename="../gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7080 | + | filename="gdk-pixbuf/gdk-pixbuf-transform.h" | |
| 7137 | 7081 | line="85">Rotate by 270 degrees.</doc> | |
| 7138 | 7082 | </member> | |
| 7139 | 7083 | </enumeration> | |
| 7140 | 7084 | <callback name="PixbufSaveFunc" c:type="GdkPixbufSaveFunc" version="2.4"> | |
| 7141 | 7085 | <doc xml:space="preserve" | |
| 7142 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7086 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7143 | 7087 | line="346">Save functions used by [method@GdkPixbuf.Pixbuf.save_to_callback]. | |
| 7144 | 7088 | ||
| 7145 | 7089 | This function is called once for each block of bytes that is "written" | |
| @@ -7148,17 +7092,17 @@ by `gdk_pixbuf_save_to_callback()`. | |||
| 7148 | 7092 | If successful it should return `TRUE`; if an error occurs it should set | |
| 7149 | 7093 | `error` and return `FALSE`, in which case `gdk_pixbuf_save_to_callback()` | |
| 7150 | 7094 | will fail with the same error.</doc> | |
| 7151 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-core.h" line="367"/> | |
| 7095 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-core.h" line="367"/> | |
| 7152 | 7096 | <return-value transfer-ownership="none"> | |
| 7153 | 7097 | <doc xml:space="preserve" | |
| 7154 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7098 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7155 | 7099 | line="362">`TRUE` if successful, `FALSE` otherwise</doc> | |
| 7156 | 7100 | <type name="gboolean" c:type="gboolean"/> | |
| 7157 | 7101 | </return-value> | |
| 7158 | 7102 | <parameters> | |
| 7159 | 7103 | <parameter name="buf" transfer-ownership="none"> | |
| 7160 | 7104 | <doc xml:space="preserve" | |
| 7161 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7105 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7162 | 7106 | line="348">bytes to be written.</doc> | |
| 7163 | 7107 | <array length="1" zero-terminated="0" c:type="const gchar*"> | |
| 7164 | 7108 | <type name="guint8"/> | |
| @@ -7166,7 +7110,7 @@ will fail with the same error.</doc> | |||
| 7166 | 7110 | </parameter> | |
| 7167 | 7111 | <parameter name="count" transfer-ownership="none"> | |
| 7168 | 7112 | <doc xml:space="preserve" | |
| 7169 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7113 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7170 | 7114 | line="349">number of bytes in @buf.</doc> | |
| 7171 | 7115 | <type name="gsize" c:type="gsize"/> | |
| 7172 | 7116 | </parameter> | |
| @@ -7175,7 +7119,7 @@ will fail with the same error.</doc> | |||
| 7175 | 7119 | caller-allocates="0" | |
| 7176 | 7120 | transfer-ownership="full"> | |
| 7177 | 7121 | <doc xml:space="preserve" | |
| 7178 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7122 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7179 | 7123 | line="350">A location to return an error.</doc> | |
| 7180 | 7124 | <type name="GLib.Error" c:type="GError**"/> | |
| 7181 | 7125 | </parameter> | |
| @@ -7185,7 +7129,7 @@ will fail with the same error.</doc> | |||
| 7185 | 7129 | allow-none="1" | |
| 7186 | 7130 | closure="3"> | |
| 7187 | 7131 | <doc xml:space="preserve" | |
| 7188 | - | filename="../gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7132 | + | filename="gdk-pixbuf/gdk-pixbuf-core.h" | |
| 7189 | 7133 | line="351">user data passed to gdk_pixbuf_save_to_callback().</doc> | |
| 7190 | 7134 | <type name="gpointer" c:type="gpointer"/> | |
| 7191 | 7135 | </parameter> | |
| @@ -7199,40 +7143,40 @@ will fail with the same error.</doc> | |||
| 7199 | 7143 | glib:get-type="gdk_pixbuf_simple_anim_get_type" | |
| 7200 | 7144 | glib:type-struct="PixbufSimpleAnimClass"> | |
| 7201 | 7145 | <doc xml:space="preserve" | |
| 7202 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7146 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7203 | 7147 | line="33">An opaque struct representing a simple animation.</doc> | |
| 7204 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7148 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7205 | 7149 | line="39"/> | |
| 7206 | 7150 | <constructor name="new" | |
| 7207 | 7151 | c:identifier="gdk_pixbuf_simple_anim_new" | |
| 7208 | 7152 | version="2.8"> | |
| 7209 | 7153 | <doc xml:space="preserve" | |
| 7210 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7154 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7211 | 7155 | line="413">Creates a new, empty animation.</doc> | |
| 7212 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7156 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7213 | 7157 | line="55"/> | |
| 7214 | 7158 | <return-value transfer-ownership="full"> | |
| 7215 | 7159 | <doc xml:space="preserve" | |
| 7216 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7160 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7217 | 7161 | line="421">a newly allocated #GdkPixbufSimpleAnim</doc> | |
| 7218 | 7162 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7219 | 7163 | </return-value> | |
| 7220 | 7164 | <parameters> | |
| 7221 | 7165 | <parameter name="width" transfer-ownership="none"> | |
| 7222 | 7166 | <doc xml:space="preserve" | |
| 7223 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7167 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7224 | 7168 | line="415">the width of the animation</doc> | |
| 7225 | 7169 | <type name="gint" c:type="gint"/> | |
| 7226 | 7170 | </parameter> | |
| 7227 | 7171 | <parameter name="height" transfer-ownership="none"> | |
| 7228 | 7172 | <doc xml:space="preserve" | |
| 7229 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7173 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7230 | 7174 | line="416">the height of the animation</doc> | |
| 7231 | 7175 | <type name="gint" c:type="gint"/> | |
| 7232 | 7176 | </parameter> | |
| 7233 | 7177 | <parameter name="rate" transfer-ownership="none"> | |
| 7234 | 7178 | <doc xml:space="preserve" | |
| 7235 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7179 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7236 | 7180 | line="417">the speed of the animation, in frames per second</doc> | |
| 7237 | 7181 | <type name="gfloat" c:type="gfloat"/> | |
| 7238 | 7182 | </parameter> | |
| @@ -7242,11 +7186,11 @@ will fail with the same error.</doc> | |||
| 7242 | 7186 | c:identifier="gdk_pixbuf_simple_anim_add_frame" | |
| 7243 | 7187 | version="2.8"> | |
| 7244 | 7188 | <doc xml:space="preserve" | |
| 7245 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7189 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7246 | 7190 | line="440">Adds a new frame to @animation. The @pixbuf must | |
| 7247 | 7191 | have the dimensions specified when the animation | |
| 7248 | 7192 | was constructed.</doc> | |
| 7249 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7193 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7250 | 7194 | line="59"/> | |
| 7251 | 7195 | <return-value transfer-ownership="none"> | |
| 7252 | 7196 | <type name="none" c:type="void"/> | |
| @@ -7254,13 +7198,13 @@ was constructed.</doc> | |||
| 7254 | 7198 | <parameters> | |
| 7255 | 7199 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 7256 | 7200 | <doc xml:space="preserve" | |
| 7257 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7201 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7258 | 7202 | line="442">a #GdkPixbufSimpleAnim</doc> | |
| 7259 | 7203 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7260 | 7204 | </instance-parameter> | |
| 7261 | 7205 | <parameter name="pixbuf" transfer-ownership="none"> | |
| 7262 | 7206 | <doc xml:space="preserve" | |
| 7263 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7207 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7264 | 7208 | line="443">the pixbuf to add</doc> | |
| 7265 | 7209 | <type name="Pixbuf" c:type="GdkPixbuf*"/> | |
| 7266 | 7210 | </parameter> | |
| @@ -7271,20 +7215,20 @@ was constructed.</doc> | |||
| 7271 | 7215 | glib:get-property="loop" | |
| 7272 | 7216 | version="2.18"> | |
| 7273 | 7217 | <doc xml:space="preserve" | |
| 7274 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7218 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7275 | 7219 | line="531">Gets whether @animation should loop indefinitely when it reaches the end.</doc> | |
| 7276 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7220 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7277 | 7221 | line="65"/> | |
| 7278 | 7222 | <return-value transfer-ownership="none"> | |
| 7279 | 7223 | <doc xml:space="preserve" | |
| 7280 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7224 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7281 | 7225 | line="537">%TRUE if the animation loops forever, %FALSE otherwise</doc> | |
| 7282 | 7226 | <type name="gboolean" c:type="gboolean"/> | |
| 7283 | 7227 | </return-value> | |
| 7284 | 7228 | <parameters> | |
| 7285 | 7229 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 7286 | 7230 | <doc xml:space="preserve" | |
| 7287 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7231 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7288 | 7232 | line="533">a #GdkPixbufSimpleAnim</doc> | |
| 7289 | 7233 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7290 | 7234 | </instance-parameter> | |
| @@ -7295,9 +7239,9 @@ was constructed.</doc> | |||
| 7295 | 7239 | glib:set-property="loop" | |
| 7296 | 7240 | version="2.18"> | |
| 7297 | 7241 | <doc xml:space="preserve" | |
| 7298 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7242 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7299 | 7243 | line="510">Sets whether @animation should loop indefinitely when it reaches the end.</doc> | |
| 7300 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7244 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7301 | 7245 | line="62"/> | |
| 7302 | 7246 | <return-value transfer-ownership="none"> | |
| 7303 | 7247 | <type name="none" c:type="void"/> | |
| @@ -7305,13 +7249,13 @@ was constructed.</doc> | |||
| 7305 | 7249 | <parameters> | |
| 7306 | 7250 | <instance-parameter name="animation" transfer-ownership="none"> | |
| 7307 | 7251 | <doc xml:space="preserve" | |
| 7308 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7252 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7309 | 7253 | line="512">a #GdkPixbufSimpleAnim</doc> | |
| 7310 | 7254 | <type name="PixbufSimpleAnim" c:type="GdkPixbufSimpleAnim*"/> | |
| 7311 | 7255 | </instance-parameter> | |
| 7312 | 7256 | <parameter name="loop" transfer-ownership="none"> | |
| 7313 | 7257 | <doc xml:space="preserve" | |
| 7314 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7258 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7315 | 7259 | line="513">whether to loop the animation</doc> | |
| 7316 | 7260 | <type name="gboolean" c:type="gboolean"/> | |
| 7317 | 7261 | </parameter> | |
| @@ -7322,9 +7266,10 @@ was constructed.</doc> | |||
| 7322 | 7266 | writable="1" | |
| 7323 | 7267 | transfer-ownership="none" | |
| 7324 | 7268 | setter="set_loop" | |
| 7325 | - | getter="get_loop"> | |
| 7269 | + | getter="get_loop" | |
| 7270 | + | default-value="FALSE"> | |
| 7326 | 7271 | <doc xml:space="preserve" | |
| 7327 | - | filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7272 | + | filename="gdk-pixbuf/gdk-pixbuf-simple-anim.c" | |
| 7328 | 7273 | line="152">Whether the animation should loop when it reaches the end.</doc> | |
| 7329 | 7274 | <type name="gboolean" c:type="gboolean"/> | |
| 7330 | 7275 | </property> | |
| @@ -7332,8 +7277,9 @@ was constructed.</doc> | |||
| 7332 | 7277 | <record name="PixbufSimpleAnimClass" | |
| 7333 | 7278 | c:type="GdkPixbufSimpleAnimClass" | |
| 7334 | 7279 | disguised="1" | |
| 7280 | + | opaque="1" | |
| 7335 | 7281 | glib:is-gtype-struct-for="PixbufSimpleAnim"> | |
| 7336 | - | <source-position filename="../gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7282 | + | <source-position filename="gdk-pixbuf/gdk-pixbuf-simple-anim.h" | |
| 7337 | 7283 | line="39"/> | |
| 7338 | 7284 | </record> | |
| 7339 | 7285 | <class name="PixbufSimpleAnimIter" | |
M internal/gir/spec/Gio-2.0.gir +41474 -33338 large diff (74812 lines changed): collapsed
M internal/gir/spec/Graphene-1.0.gir +2 -0
| @@ -5,10 +5,12 @@ and/or use gtk-doc annotations. --> | |||
| 5 | 5 | <repository version="1.2" | |
| 6 | 6 | xmlns="http://www.gtk.org/introspection/core/1.0" | |
| 7 | 7 | xmlns:c="http://www.gtk.org/introspection/c/1.0" | |
| 8 | + | xmlns:doc="http://www.gtk.org/introspection/doc/1.0" | |
| 8 | 9 | xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> | |
| 9 | 10 | <include name="GObject" version="2.0"/> | |
| 10 | 11 | <package name="graphene-gobject-1.0"/> | |
| 11 | 12 | <c:include name="graphene-gobject.h"/> | |
| 13 | + | <doc:format name="unknown"/> | |
| 12 | 14 | <namespace name="Graphene" | |
| 13 | 15 | version="1.0" | |
| 14 | 16 | shared-library="libgraphene-1.0.so.0" | |
M internal/gir/spec/Gsk-4.0.gir +6999 -2530 large diff (9529 lines changed): collapsed
M internal/gir/spec/Gtk-4.0.gir +51228 -32207 large diff (83435 lines changed): collapsed
M internal/gir/spec/Pango-1.0.gir +4994 -4371 large diff (9365 lines changed): collapsed
M internal/gir/spec/PangoCairo-1.0.gir +145 -143
| @@ -5,12 +5,14 @@ and/or use gtk-doc annotations. --> | |||
| 5 | 5 | <repository version="1.2" | |
| 6 | 6 | xmlns="http://www.gtk.org/introspection/core/1.0" | |
| 7 | 7 | xmlns:c="http://www.gtk.org/introspection/c/1.0" | |
| 8 | + | xmlns:doc="http://www.gtk.org/introspection/doc/1.0" | |
| 8 | 9 | xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> | |
| 9 | 10 | <include name="GObject" version="2.0"/> | |
| 10 | 11 | <include name="Pango" version="1.0"/> | |
| 11 | 12 | <include name="cairo" version="1.0"/> | |
| 12 | 13 | <package name="pangocairo"/> | |
| 13 | 14 | <c:include name="pango/pangocairo.h"/> | |
| 15 | + | <doc:format name="unknown"/> | |
| 14 | 16 | <namespace name="PangoCairo" | |
| 15 | 17 | version="1.0" | |
| 16 | 18 | shared-library="libpangocairo-1.0.so.0" | |
| @@ -19,7 +21,7 @@ and/or use gtk-doc annotations. --> | |||
| 19 | 21 | <function-macro name="FONT" | |
| 20 | 22 | c:identifier="PANGO_CAIRO_FONT" | |
| 21 | 23 | introspectable="0"> | |
| 22 | - | <source-position filename="../pango/pangocairo.h" line="49"/> | |
| 24 | + | <source-position filename="pango/pangocairo.h" line="49"/> | |
| 23 | 25 | <parameters> | |
| 24 | 26 | <parameter name="obj"> | |
| 25 | 27 | </parameter> | |
| @@ -28,7 +30,7 @@ and/or use gtk-doc annotations. --> | |||
| 28 | 30 | <function-macro name="FONT_MAP" | |
| 29 | 31 | c:identifier="PANGO_CAIRO_FONT_MAP" | |
| 30 | 32 | introspectable="0"> | |
| 31 | - | <source-position filename="../pango/pangocairo.h" line="72"/> | |
| 33 | + | <source-position filename="pango/pangocairo.h" line="72"/> | |
| 32 | 34 | <parameters> | |
| 33 | 35 | <parameter name="obj"> | |
| 34 | 36 | </parameter> | |
| @@ -41,7 +43,7 @@ and/or use gtk-doc annotations. --> | |||
| 41 | 43 | glib:type-name="PangoCairoFont" | |
| 42 | 44 | glib:get-type="pango_cairo_font_get_type"> | |
| 43 | 45 | <doc xml:space="preserve" | |
| 44 | - | filename="../pango/pangocairo.h" | |
| 46 | + | filename="pango/pangocairo.h" | |
| 45 | 47 | line="30">`PangoCairoFont` is an interface exported by fonts for | |
| 46 | 48 | use with Cairo. | |
| 47 | 49 | ||
| @@ -52,14 +54,14 @@ font technology Cairo was compiled to use.</doc> | |||
| 52 | 54 | c:identifier="pango_cairo_font_get_scaled_font" | |
| 53 | 55 | version="1.18"> | |
| 54 | 56 | <doc xml:space="preserve" | |
| 55 | - | filename="../pango/pangocairo-font.c" | |
| 57 | + | filename="pango/pangocairo-font.c" | |
| 56 | 58 | line="138">Gets the `cairo_scaled_font_t` used by @font. | |
| 57 | 59 | The scaled font can be referenced and kept using | |
| 58 | 60 | cairo_scaled_font_reference().</doc> | |
| 59 | - | <source-position filename="../pango/pangocairo.h" line="133"/> | |
| 61 | + | <source-position filename="pango/pangocairo.h" line="133"/> | |
| 60 | 62 | <return-value transfer-ownership="none" nullable="1"> | |
| 61 | 63 | <doc xml:space="preserve" | |
| 62 | - | filename="../pango/pangocairo-font.c" | |
| 64 | + | filename="pango/pangocairo-font.c" | |
| 63 | 65 | line="146">the `cairo_scaled_font_t` | |
| 64 | 66 | used by @font</doc> | |
| 65 | 67 | <type name="cairo.ScaledFont" c:type="cairo_scaled_font_t*"/> | |
| @@ -70,7 +72,7 @@ cairo_scaled_font_reference().</doc> | |||
| 70 | 72 | nullable="1" | |
| 71 | 73 | allow-none="1"> | |
| 72 | 74 | <doc xml:space="preserve" | |
| 73 | - | filename="../pango/pangocairo-font.c" | |
| 75 | + | filename="pango/pangocairo-font.c" | |
| 74 | 76 | line="140">a `PangoFont` from a `PangoCairoFontMap`</doc> | |
| 75 | 77 | <type name="Font" c:type="PangoCairoFont*"/> | |
| 76 | 78 | </instance-parameter> | |
| @@ -84,7 +86,7 @@ cairo_scaled_font_reference().</doc> | |||
| 84 | 86 | glib:type-name="PangoCairoFontMap" | |
| 85 | 87 | glib:get-type="pango_cairo_font_map_get_type"> | |
| 86 | 88 | <doc xml:space="preserve" | |
| 87 | - | filename="../pango/pangocairo.h" | |
| 89 | + | filename="pango/pangocairo.h" | |
| 88 | 90 | line="57">`PangoCairoFontMap` is an interface exported by font maps for | |
| 89 | 91 | use with Cairo. | |
| 90 | 92 | ||
| @@ -95,7 +97,7 @@ font technology Cairo was compiled to use.</doc> | |||
| 95 | 97 | c:identifier="pango_cairo_font_map_get_default" | |
| 96 | 98 | version="1.10"> | |
| 97 | 99 | <doc xml:space="preserve" | |
| 98 | - | filename="../pango/pangocairo-fontmap.c" | |
| 100 | + | filename="pango/pangocairo-fontmap.c" | |
| 99 | 101 | line="151">Gets a default `PangoCairoFontMap` to use with Cairo. | |
| 100 | 102 | ||
| 101 | 103 | Note that the type of the returned object will depend on the | |
| @@ -111,10 +113,10 @@ for example. | |||
| 111 | 113 | Note that since Pango 1.32.6, the default fontmap is per-thread. | |
| 112 | 114 | Each thread gets its own default fontmap. In this way, PangoCairo | |
| 113 | 115 | can be used safely from multiple threads.</doc> | |
| 114 | - | <source-position filename="../pango/pangocairo.h" line="110"/> | |
| 116 | + | <source-position filename="pango/pangocairo.h" line="110"/> | |
| 115 | 117 | <return-value transfer-ownership="none"> | |
| 116 | 118 | <doc xml:space="preserve" | |
| 117 | - | filename="../pango/pangocairo-fontmap.c" | |
| 119 | + | filename="pango/pangocairo-fontmap.c" | |
| 118 | 120 | line="170">the default PangoCairo fontmap | |
| 119 | 121 | for the current thread. This object is owned by Pango and must | |
| 120 | 122 | not be freed.</doc> | |
| @@ -125,7 +127,7 @@ can be used safely from multiple threads.</doc> | |||
| 125 | 127 | c:identifier="pango_cairo_font_map_new" | |
| 126 | 128 | version="1.10"> | |
| 127 | 129 | <doc xml:space="preserve" | |
| 128 | - | filename="../pango/pangocairo-fontmap.c" | |
| 130 | + | filename="pango/pangocairo-fontmap.c" | |
| 129 | 131 | line="47">Creates a new `PangoCairoFontMap` object. | |
| 130 | 132 | ||
| 131 | 133 | A fontmap is used to cache information about available fonts, | |
| @@ -144,10 +146,10 @@ based on your build, are fc (fontconfig), win32, and coretext. | |||
| 144 | 146 | If requested type is not available, NULL is returned. Ie. | |
| 145 | 147 | this is only useful for testing, when at least two backends | |
| 146 | 148 | are compiled in.</doc> | |
| 147 | - | <source-position filename="../pango/pangocairo.h" line="106"/> | |
| 149 | + | <source-position filename="pango/pangocairo.h" line="106"/> | |
| 148 | 150 | <return-value transfer-ownership="full"> | |
| 149 | 151 | <doc xml:space="preserve" | |
| 150 | - | filename="../pango/pangocairo-fontmap.c" | |
| 152 | + | filename="pango/pangocairo-fontmap.c" | |
| 151 | 153 | line="69">the newly allocated `PangoFontMap`, | |
| 152 | 154 | which should be freed with g_object_unref().</doc> | |
| 153 | 155 | <type name="Pango.FontMap" c:type="PangoFontMap*"/> | |
| @@ -157,16 +159,16 @@ are compiled in.</doc> | |||
| 157 | 159 | c:identifier="pango_cairo_font_map_new_for_font_type" | |
| 158 | 160 | version="1.18"> | |
| 159 | 161 | <doc xml:space="preserve" | |
| 160 | - | filename="../pango/pangocairo-fontmap.c" | |
| 162 | + | filename="pango/pangocairo-fontmap.c" | |
| 161 | 163 | line="110">Creates a new `PangoCairoFontMap` object of the type suitable | |
| 162 | 164 | to be used with cairo font backend of type @fonttype. | |
| 163 | 165 | ||
| 164 | 166 | In most cases one should simply use [func@PangoCairo.FontMap.new], or | |
| 165 | 167 | in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].</doc> | |
| 166 | - | <source-position filename="../pango/pangocairo.h" line="108"/> | |
| 168 | + | <source-position filename="pango/pangocairo.h" line="108"/> | |
| 167 | 169 | <return-value transfer-ownership="full" nullable="1"> | |
| 168 | 170 | <doc xml:space="preserve" | |
| 169 | - | filename="../pango/pangocairo-fontmap.c" | |
| 171 | + | filename="pango/pangocairo-fontmap.c" | |
| 170 | 172 | line="120">the newly allocated | |
| 171 | 173 | `PangoFontMap` of suitable type which should be freed with | |
| 172 | 174 | g_object_unref(), or %NULL if the requested cairo font backend | |
| @@ -176,7 +178,7 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 176 | 178 | <parameters> | |
| 177 | 179 | <parameter name="fonttype" transfer-ownership="none"> | |
| 178 | 180 | <doc xml:space="preserve" | |
| 179 | - | filename="../pango/pangocairo-fontmap.c" | |
| 181 | + | filename="pango/pangocairo-fontmap.c" | |
| 180 | 182 | line="112">desired #cairo_font_type_t</doc> | |
| 181 | 183 | <type name="cairo.FontType" c:type="cairo_font_type_t"/> | |
| 182 | 184 | </parameter> | |
| @@ -189,20 +191,20 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 189 | 191 | deprecated="1" | |
| 190 | 192 | deprecated-version="1.22"> | |
| 191 | 193 | <doc xml:space="preserve" | |
| 192 | - | filename="../pango/pangocairo-fontmap.c" | |
| 194 | + | filename="pango/pangocairo-fontmap.c" | |
| 193 | 195 | line="267">Create a `PangoContext` for the given fontmap.</doc> | |
| 194 | 196 | <doc-deprecated xml:space="preserve">Use pango_font_map_create_context() instead.</doc-deprecated> | |
| 195 | - | <source-position filename="../pango/pangocairo.h" line="123"/> | |
| 197 | + | <source-position filename="pango/pangocairo.h" line="123"/> | |
| 196 | 198 | <return-value> | |
| 197 | 199 | <doc xml:space="preserve" | |
| 198 | - | filename="../pango/pangocairo-fontmap.c" | |
| 200 | + | filename="pango/pangocairo-fontmap.c" | |
| 199 | 201 | line="273">the newly created context; free with g_object_unref().</doc> | |
| 200 | 202 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 201 | 203 | </return-value> | |
| 202 | 204 | <parameters> | |
| 203 | 205 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 204 | 206 | <doc xml:space="preserve" | |
| 205 | - | filename="../pango/pangocairo-fontmap.c" | |
| 207 | + | filename="pango/pangocairo-fontmap.c" | |
| 206 | 208 | line="269">a `PangoCairoFontMap`</doc> | |
| 207 | 209 | <type name="FontMap" c:type="PangoCairoFontMap*"/> | |
| 208 | 210 | </instance-parameter> | |
| @@ -212,19 +214,19 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 212 | 214 | c:identifier="pango_cairo_font_map_get_font_type" | |
| 213 | 215 | version="1.18"> | |
| 214 | 216 | <doc xml:space="preserve" | |
| 215 | - | filename="../pango/pangocairo-fontmap.c" | |
| 217 | + | filename="pango/pangocairo-fontmap.c" | |
| 216 | 218 | line="287">Gets the type of Cairo font backend that @fontmap uses.</doc> | |
| 217 | - | <source-position filename="../pango/pangocairo.h" line="114"/> | |
| 219 | + | <source-position filename="pango/pangocairo.h" line="114"/> | |
| 218 | 220 | <return-value transfer-ownership="none"> | |
| 219 | 221 | <doc xml:space="preserve" | |
| 220 | - | filename="../pango/pangocairo-fontmap.c" | |
| 222 | + | filename="pango/pangocairo-fontmap.c" | |
| 221 | 223 | line="293">the `cairo_font_type_t` cairo font backend type</doc> | |
| 222 | 224 | <type name="cairo.FontType" c:type="cairo_font_type_t"/> | |
| 223 | 225 | </return-value> | |
| 224 | 226 | <parameters> | |
| 225 | 227 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 226 | 228 | <doc xml:space="preserve" | |
| 227 | - | filename="../pango/pangocairo-fontmap.c" | |
| 229 | + | filename="pango/pangocairo-fontmap.c" | |
| 228 | 230 | line="289">a `PangoCairoFontMap`</doc> | |
| 229 | 231 | <type name="FontMap" c:type="PangoCairoFontMap*"/> | |
| 230 | 232 | </instance-parameter> | |
| @@ -234,21 +236,21 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 234 | 236 | c:identifier="pango_cairo_font_map_get_resolution" | |
| 235 | 237 | version="1.10"> | |
| 236 | 238 | <doc xml:space="preserve" | |
| 237 | - | filename="../pango/pangocairo-fontmap.c" | |
| 239 | + | filename="pango/pangocairo-fontmap.c" | |
| 238 | 240 | line="247">Gets the resolution for the fontmap. | |
| 239 | 241 | ||
| 240 | 242 | See [method@PangoCairo.FontMap.set_resolution].</doc> | |
| 241 | - | <source-position filename="../pango/pangocairo.h" line="120"/> | |
| 243 | + | <source-position filename="pango/pangocairo.h" line="120"/> | |
| 242 | 244 | <return-value transfer-ownership="none"> | |
| 243 | 245 | <doc xml:space="preserve" | |
| 244 | - | filename="../pango/pangocairo-fontmap.c" | |
| 246 | + | filename="pango/pangocairo-fontmap.c" | |
| 245 | 247 | line="255">the resolution in "dots per inch"</doc> | |
| 246 | 248 | <type name="gdouble" c:type="double"/> | |
| 247 | 249 | </return-value> | |
| 248 | 250 | <parameters> | |
| 249 | 251 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 250 | 252 | <doc xml:space="preserve" | |
| 251 | - | filename="../pango/pangocairo-fontmap.c" | |
| 253 | + | filename="pango/pangocairo-fontmap.c" | |
| 252 | 254 | line="249">a `PangoCairoFontMap`</doc> | |
| 253 | 255 | <type name="FontMap" c:type="PangoCairoFontMap*"/> | |
| 254 | 256 | </instance-parameter> | |
| @@ -258,7 +260,7 @@ See [method@PangoCairo.FontMap.set_resolution].</doc> | |||
| 258 | 260 | c:identifier="pango_cairo_font_map_set_default" | |
| 259 | 261 | version="1.22"> | |
| 260 | 262 | <doc xml:space="preserve" | |
| 261 | - | filename="../pango/pangocairo-fontmap.c" | |
| 263 | + | filename="pango/pangocairo-fontmap.c" | |
| 262 | 264 | line="190">Sets a default `PangoCairoFontMap` to use with Cairo. | |
| 263 | 265 | ||
| 264 | 266 | This can be used to change the Cairo font backend that the | |
| @@ -274,7 +276,7 @@ still be created using [func@PangoCairo.FontMap.new]. | |||
| 274 | 276 | A value of %NULL for @fontmap will cause the current default | |
| 275 | 277 | font map to be released and a new default font map to be created | |
| 276 | 278 | on demand, using [func@PangoCairo.FontMap.new].</doc> | |
| 277 | - | <source-position filename="../pango/pangocairo.h" line="112"/> | |
| 279 | + | <source-position filename="pango/pangocairo.h" line="112"/> | |
| 278 | 280 | <return-value transfer-ownership="none"> | |
| 279 | 281 | <type name="none" c:type="void"/> | |
| 280 | 282 | </return-value> | |
| @@ -284,7 +286,7 @@ on demand, using [func@PangoCairo.FontMap.new].</doc> | |||
| 284 | 286 | nullable="1" | |
| 285 | 287 | allow-none="1"> | |
| 286 | 288 | <doc xml:space="preserve" | |
| 287 | - | filename="../pango/pangocairo-fontmap.c" | |
| 289 | + | filename="pango/pangocairo-fontmap.c" | |
| 288 | 290 | line="192">The new default font map</doc> | |
| 289 | 291 | <type name="FontMap" c:type="PangoCairoFontMap*"/> | |
| 290 | 292 | </instance-parameter> | |
| @@ -294,27 +296,27 @@ on demand, using [func@PangoCairo.FontMap.new].</doc> | |||
| 294 | 296 | c:identifier="pango_cairo_font_map_set_resolution" | |
| 295 | 297 | version="1.10"> | |
| 296 | 298 | <doc xml:space="preserve" | |
| 297 | - | filename="../pango/pangocairo-fontmap.c" | |
| 299 | + | filename="pango/pangocairo-fontmap.c" | |
| 298 | 300 | line="223">Sets the resolution for the fontmap. | |
| 299 | 301 | ||
| 300 | 302 | This is a scale factor between | |
| 301 | 303 | points specified in a `PangoFontDescription` and Cairo units. The | |
| 302 | 304 | default value is 96, meaning that a 10 point font will be 13 | |
| 303 | 305 | units high. (10 * 96. / 72. = 13.3).</doc> | |
| 304 | - | <source-position filename="../pango/pangocairo.h" line="117"/> | |
| 306 | + | <source-position filename="pango/pangocairo.h" line="117"/> | |
| 305 | 307 | <return-value transfer-ownership="none"> | |
| 306 | 308 | <type name="none" c:type="void"/> | |
| 307 | 309 | </return-value> | |
| 308 | 310 | <parameters> | |
| 309 | 311 | <instance-parameter name="fontmap" transfer-ownership="none"> | |
| 310 | 312 | <doc xml:space="preserve" | |
| 311 | - | filename="../pango/pangocairo-fontmap.c" | |
| 313 | + | filename="pango/pangocairo-fontmap.c" | |
| 312 | 314 | line="225">a `PangoCairoFontMap`</doc> | |
| 313 | 315 | <type name="FontMap" c:type="PangoCairoFontMap*"/> | |
| 314 | 316 | </instance-parameter> | |
| 315 | 317 | <parameter name="dpi" transfer-ownership="none"> | |
| 316 | 318 | <doc xml:space="preserve" | |
| 317 | - | filename="../pango/pangocairo-fontmap.c" | |
| 319 | + | filename="pango/pangocairo-fontmap.c" | |
| 318 | 320 | line="226">the resolution in "dots per inch". (Physical inches aren't actually | |
| 319 | 321 | involved; the terminology is conventional.)</doc> | |
| 320 | 322 | <type name="gdouble" c:type="double"/> | |
| @@ -325,7 +327,7 @@ units high. (10 * 96. / 72. = 13.3).</doc> | |||
| 325 | 327 | <function-macro name="IS_FONT" | |
| 326 | 328 | c:identifier="PANGO_CAIRO_IS_FONT" | |
| 327 | 329 | introspectable="0"> | |
| 328 | - | <source-position filename="../pango/pangocairo.h" line="50"/> | |
| 330 | + | <source-position filename="pango/pangocairo.h" line="50"/> | |
| 329 | 331 | <parameters> | |
| 330 | 332 | <parameter name="obj"> | |
| 331 | 333 | </parameter> | |
| @@ -334,7 +336,7 @@ units high. (10 * 96. / 72. = 13.3).</doc> | |||
| 334 | 336 | <function-macro name="IS_FONT_MAP" | |
| 335 | 337 | c:identifier="PANGO_CAIRO_IS_FONT_MAP" | |
| 336 | 338 | introspectable="0"> | |
| 337 | - | <source-position filename="../pango/pangocairo.h" line="73"/> | |
| 339 | + | <source-position filename="pango/pangocairo.h" line="73"/> | |
| 338 | 340 | <parameters> | |
| 339 | 341 | <parameter name="obj"> | |
| 340 | 342 | </parameter> | |
| @@ -342,30 +344,30 @@ units high. (10 * 96. / 72. = 13.3).</doc> | |||
| 342 | 344 | </function-macro> | |
| 343 | 345 | <callback name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc"> | |
| 344 | 346 | <doc xml:space="preserve" | |
| 345 | - | filename="../pango/pangocairo.h" | |
| 347 | + | filename="pango/pangocairo.h" | |
| 346 | 348 | line="80">Function type for rendering attributes of type %PANGO_ATTR_SHAPE | |
| 347 | 349 | with Pango's Cairo renderer.</doc> | |
| 348 | - | <source-position filename="../pango/pangocairo.h" line="94"/> | |
| 350 | + | <source-position filename="pango/pangocairo.h" line="94"/> | |
| 349 | 351 | <return-value transfer-ownership="none"> | |
| 350 | 352 | <type name="none" c:type="void"/> | |
| 351 | 353 | </return-value> | |
| 352 | 354 | <parameters> | |
| 353 | 355 | <parameter name="cr" transfer-ownership="none"> | |
| 354 | 356 | <doc xml:space="preserve" | |
| 355 | - | filename="../pango/pangocairo.h" | |
| 357 | + | filename="pango/pangocairo.h" | |
| 356 | 358 | line="82">a Cairo context with current point set to where the shape should | |
| 357 | 359 | be rendered</doc> | |
| 358 | 360 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 359 | 361 | </parameter> | |
| 360 | 362 | <parameter name="attr" transfer-ownership="none"> | |
| 361 | 363 | <doc xml:space="preserve" | |
| 362 | - | filename="../pango/pangocairo.h" | |
| 364 | + | filename="pango/pangocairo.h" | |
| 363 | 365 | line="84">the %PANGO_ATTR_SHAPE to render</doc> | |
| 364 | 366 | <type name="Pango.AttrShape" c:type="PangoAttrShape*"/> | |
| 365 | 367 | </parameter> | |
| 366 | 368 | <parameter name="do_path" transfer-ownership="none"> | |
| 367 | 369 | <doc xml:space="preserve" | |
| 368 | - | filename="../pango/pangocairo.h" | |
| 370 | + | filename="pango/pangocairo.h" | |
| 369 | 371 | line="85">whether only the shape path should be appended to current | |
| 370 | 372 | path of @cr and no filling/stroking done. This will be set | |
| 371 | 373 | to %TRUE when called from pango_cairo_layout_path() and | |
| @@ -378,7 +380,7 @@ pango_cairo_layout_line_path() rendering functions.</doc> | |||
| 378 | 380 | allow-none="1" | |
| 379 | 381 | closure="3"> | |
| 380 | 382 | <doc xml:space="preserve" | |
| 381 | - | filename="../pango/pangocairo.h" | |
| 383 | + | filename="pango/pangocairo.h" | |
| 382 | 384 | line="89">user data passed to pango_cairo_context_set_shape_renderer()</doc> | |
| 383 | 385 | <type name="gpointer" c:type="gpointer"/> | |
| 384 | 386 | </parameter> | |
| @@ -388,16 +390,16 @@ pango_cairo_layout_line_path() rendering functions.</doc> | |||
| 388 | 390 | c:identifier="pango_cairo_context_get_font_options" | |
| 389 | 391 | version="1.10"> | |
| 390 | 392 | <doc xml:space="preserve" | |
| 391 | - | filename="../pango/pangocairo-context.c" | |
| 393 | + | filename="pango/pangocairo-context.c" | |
| 392 | 394 | line="284">Retrieves any font rendering options previously set with | |
| 393 | 395 | [func@PangoCairo.context_set_font_options]. | |
| 394 | 396 | ||
| 395 | 397 | This function does not report options that are derived from | |
| 396 | 398 | the target surface by [func@update_context].</doc> | |
| 397 | - | <source-position filename="../pango/pangocairo.h" line="145"/> | |
| 399 | + | <source-position filename="pango/pangocairo.h" line="145"/> | |
| 398 | 400 | <return-value transfer-ownership="none" nullable="1"> | |
| 399 | 401 | <doc xml:space="preserve" | |
| 400 | - | filename="../pango/pangocairo-context.c" | |
| 402 | + | filename="pango/pangocairo-context.c" | |
| 401 | 403 | line="294">the font options previously set on the | |
| 402 | 404 | context, or %NULL if no options have been set. This value is | |
| 403 | 405 | owned by the context and must not be modified or freed.</doc> | |
| @@ -406,7 +408,7 @@ the target surface by [func@update_context].</doc> | |||
| 406 | 408 | <parameters> | |
| 407 | 409 | <parameter name="context" transfer-ownership="none"> | |
| 408 | 410 | <doc xml:space="preserve" | |
| 409 | - | filename="../pango/pangocairo-context.c" | |
| 411 | + | filename="pango/pangocairo-context.c" | |
| 410 | 412 | line="286">a `PangoContext`, from a pangocairo font map</doc> | |
| 411 | 413 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 412 | 414 | </parameter> | |
| @@ -416,14 +418,14 @@ the target surface by [func@update_context].</doc> | |||
| 416 | 418 | c:identifier="pango_cairo_context_get_resolution" | |
| 417 | 419 | version="1.10"> | |
| 418 | 420 | <doc xml:space="preserve" | |
| 419 | - | filename="../pango/pangocairo-context.c" | |
| 421 | + | filename="pango/pangocairo-context.c" | |
| 420 | 422 | line="205">Gets the resolution for the context. | |
| 421 | 423 | ||
| 422 | 424 | See [func@PangoCairo.context_set_resolution]</doc> | |
| 423 | - | <source-position filename="../pango/pangocairo.h" line="151"/> | |
| 425 | + | <source-position filename="pango/pangocairo.h" line="151"/> | |
| 424 | 426 | <return-value transfer-ownership="none"> | |
| 425 | 427 | <doc xml:space="preserve" | |
| 426 | - | filename="../pango/pangocairo-context.c" | |
| 428 | + | filename="pango/pangocairo-context.c" | |
| 427 | 429 | line="213">the resolution in "dots per inch". A negative value will | |
| 428 | 430 | be returned if no resolution has previously been set.</doc> | |
| 429 | 431 | <type name="gdouble" c:type="double"/> | |
| @@ -431,7 +433,7 @@ See [func@PangoCairo.context_set_resolution]</doc> | |||
| 431 | 433 | <parameters> | |
| 432 | 434 | <parameter name="context" transfer-ownership="none"> | |
| 433 | 435 | <doc xml:space="preserve" | |
| 434 | - | filename="../pango/pangocairo-context.c" | |
| 436 | + | filename="pango/pangocairo-context.c" | |
| 435 | 437 | line="207">a `PangoContext`, from a pangocairo font map</doc> | |
| 436 | 438 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 437 | 439 | </parameter> | |
| @@ -442,7 +444,7 @@ See [func@PangoCairo.context_set_resolution]</doc> | |||
| 442 | 444 | version="1.18" | |
| 443 | 445 | introspectable="0"> | |
| 444 | 446 | <doc xml:space="preserve" | |
| 445 | - | filename="../pango/pangocairo-context.c" | |
| 447 | + | filename="pango/pangocairo-context.c" | |
| 446 | 448 | line="380">Sets callback function for context to use for rendering attributes | |
| 447 | 449 | of type %PANGO_ATTR_SHAPE. | |
| 448 | 450 | ||
| @@ -451,10 +453,10 @@ See `PangoCairoShapeRendererFunc` for details. | |||
| 451 | 453 | Retrieves callback function and associated user data for rendering | |
| 452 | 454 | attributes of type %PANGO_ATTR_SHAPE as set by | |
| 453 | 455 | [func@PangoCairo.context_set_shape_renderer], if any.</doc> | |
| 454 | - | <source-position filename="../pango/pangocairo.h" line="159"/> | |
| 456 | + | <source-position filename="pango/pangocairo.h" line="159"/> | |
| 455 | 457 | <return-value transfer-ownership="none" nullable="1"> | |
| 456 | 458 | <doc xml:space="preserve" | |
| 457 | - | filename="../pango/pangocairo-context.c" | |
| 459 | + | filename="pango/pangocairo-context.c" | |
| 458 | 460 | line="394">the shape rendering callback | |
| 459 | 461 | previously set on the context, or %NULL if no shape rendering callback | |
| 460 | 462 | have been set.</doc> | |
| @@ -463,7 +465,7 @@ attributes of type %PANGO_ATTR_SHAPE as set by | |||
| 463 | 465 | <parameters> | |
| 464 | 466 | <parameter name="context" transfer-ownership="none"> | |
| 465 | 467 | <doc xml:space="preserve" | |
| 466 | - | filename="../pango/pangocairo-context.c" | |
| 468 | + | filename="pango/pangocairo-context.c" | |
| 467 | 469 | line="382">a `PangoContext`, from a pangocairo font map</doc> | |
| 468 | 470 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 469 | 471 | </parameter> | |
| @@ -472,7 +474,7 @@ attributes of type %PANGO_ATTR_SHAPE as set by | |||
| 472 | 474 | nullable="1" | |
| 473 | 475 | allow-none="1"> | |
| 474 | 476 | <doc xml:space="preserve" | |
| 475 | - | filename="../pango/pangocairo-context.c" | |
| 477 | + | filename="pango/pangocairo-context.c" | |
| 476 | 478 | line="383">Pointer to `gpointer` to return user data</doc> | |
| 477 | 479 | <type name="gpointer" c:type="gpointer*"/> | |
| 478 | 480 | </parameter> | |
| @@ -482,19 +484,19 @@ attributes of type %PANGO_ATTR_SHAPE as set by | |||
| 482 | 484 | c:identifier="pango_cairo_context_set_font_options" | |
| 483 | 485 | version="1.10"> | |
| 484 | 486 | <doc xml:space="preserve" | |
| 485 | - | filename="../pango/pangocairo-context.c" | |
| 487 | + | filename="pango/pangocairo-context.c" | |
| 486 | 488 | line="229">Sets the font options used when rendering text with this context. | |
| 487 | 489 | ||
| 488 | 490 | These options override any options that [func@update_context] | |
| 489 | 491 | derives from the target surface.</doc> | |
| 490 | - | <source-position filename="../pango/pangocairo.h" line="142"/> | |
| 492 | + | <source-position filename="pango/pangocairo.h" line="142"/> | |
| 491 | 493 | <return-value transfer-ownership="none"> | |
| 492 | 494 | <type name="none" c:type="void"/> | |
| 493 | 495 | </return-value> | |
| 494 | 496 | <parameters> | |
| 495 | 497 | <parameter name="context" transfer-ownership="none"> | |
| 496 | 498 | <doc xml:space="preserve" | |
| 497 | - | filename="../pango/pangocairo-context.c" | |
| 499 | + | filename="pango/pangocairo-context.c" | |
| 498 | 500 | line="231">a `PangoContext`, from a pangocairo font map</doc> | |
| 499 | 501 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 500 | 502 | </parameter> | |
| @@ -503,7 +505,7 @@ derives from the target surface.</doc> | |||
| 503 | 505 | nullable="1" | |
| 504 | 506 | allow-none="1"> | |
| 505 | 507 | <doc xml:space="preserve" | |
| 506 | - | filename="../pango/pangocairo-context.c" | |
| 508 | + | filename="pango/pangocairo-context.c" | |
| 507 | 509 | line="232">a `cairo_font_options_t`, or %NULL to unset | |
| 508 | 510 | any previously set options. A copy is made.</doc> | |
| 509 | 511 | <type name="cairo.FontOptions" c:type="const cairo_font_options_t*"/> | |
| @@ -514,26 +516,26 @@ derives from the target surface.</doc> | |||
| 514 | 516 | c:identifier="pango_cairo_context_set_resolution" | |
| 515 | 517 | version="1.10"> | |
| 516 | 518 | <doc xml:space="preserve" | |
| 517 | - | filename="../pango/pangocairo-context.c" | |
| 519 | + | filename="pango/pangocairo-context.c" | |
| 518 | 520 | line="182">Sets the resolution for the context. | |
| 519 | 521 | ||
| 520 | 522 | This is a scale factor between points specified in a `PangoFontDescription` | |
| 521 | 523 | and Cairo units. The default value is 96, meaning that a 10 point font will | |
| 522 | 524 | be 13 units high. (10 * 96. / 72. = 13.3).</doc> | |
| 523 | - | <source-position filename="../pango/pangocairo.h" line="148"/> | |
| 525 | + | <source-position filename="pango/pangocairo.h" line="148"/> | |
| 524 | 526 | <return-value transfer-ownership="none"> | |
| 525 | 527 | <type name="none" c:type="void"/> | |
| 526 | 528 | </return-value> | |
| 527 | 529 | <parameters> | |
| 528 | 530 | <parameter name="context" transfer-ownership="none"> | |
| 529 | 531 | <doc xml:space="preserve" | |
| 530 | - | filename="../pango/pangocairo-context.c" | |
| 532 | + | filename="pango/pangocairo-context.c" | |
| 531 | 533 | line="184">a `PangoContext`, from a pangocairo font map</doc> | |
| 532 | 534 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 533 | 535 | </parameter> | |
| 534 | 536 | <parameter name="dpi" transfer-ownership="none"> | |
| 535 | 537 | <doc xml:space="preserve" | |
| 536 | - | filename="../pango/pangocairo-context.c" | |
| 538 | + | filename="pango/pangocairo-context.c" | |
| 537 | 539 | line="185">the resolution in "dots per inch". (Physical inches aren't actually | |
| 538 | 540 | involved; the terminology is conventional.) A 0 or negative value | |
| 539 | 541 | means to use the resolution from the font map.</doc> | |
| @@ -545,19 +547,19 @@ be 13 units high. (10 * 96. / 72. = 13.3).</doc> | |||
| 545 | 547 | c:identifier="pango_cairo_context_set_shape_renderer" | |
| 546 | 548 | version="1.18"> | |
| 547 | 549 | <doc xml:space="preserve" | |
| 548 | - | filename="../pango/pangocairo-context.c" | |
| 550 | + | filename="pango/pangocairo-context.c" | |
| 549 | 551 | line="344">Sets callback function for context to use for rendering attributes | |
| 550 | 552 | of type %PANGO_ATTR_SHAPE. | |
| 551 | 553 | ||
| 552 | 554 | See `PangoCairoShapeRendererFunc` for details.</doc> | |
| 553 | - | <source-position filename="../pango/pangocairo.h" line="154"/> | |
| 555 | + | <source-position filename="pango/pangocairo.h" line="154"/> | |
| 554 | 556 | <return-value transfer-ownership="none"> | |
| 555 | 557 | <type name="none" c:type="void"/> | |
| 556 | 558 | </return-value> | |
| 557 | 559 | <parameters> | |
| 558 | 560 | <parameter name="context" transfer-ownership="none"> | |
| 559 | 561 | <doc xml:space="preserve" | |
| 560 | - | filename="../pango/pangocairo-context.c" | |
| 562 | + | filename="pango/pangocairo-context.c" | |
| 561 | 563 | line="346">a `PangoContext`, from a pangocairo font map</doc> | |
| 562 | 564 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 563 | 565 | </parameter> | |
| @@ -569,7 +571,7 @@ See `PangoCairoShapeRendererFunc` for details.</doc> | |||
| 569 | 571 | closure="2" | |
| 570 | 572 | destroy="3"> | |
| 571 | 573 | <doc xml:space="preserve" | |
| 572 | - | filename="../pango/pangocairo-context.c" | |
| 574 | + | filename="pango/pangocairo-context.c" | |
| 573 | 575 | line="347">Callback function for rendering attributes of | |
| 574 | 576 | type %PANGO_ATTR_SHAPE, or %NULL to disable shape rendering.</doc> | |
| 575 | 577 | <type name="ShapeRendererFunc" c:type="PangoCairoShapeRendererFunc"/> | |
| @@ -579,7 +581,7 @@ See `PangoCairoShapeRendererFunc` for details.</doc> | |||
| 579 | 581 | nullable="1" | |
| 580 | 582 | allow-none="1"> | |
| 581 | 583 | <doc xml:space="preserve" | |
| 582 | - | filename="../pango/pangocairo-context.c" | |
| 584 | + | filename="pango/pangocairo-context.c" | |
| 583 | 585 | line="349">User data that will be passed to @func.</doc> | |
| 584 | 586 | <type name="gpointer" c:type="gpointer"/> | |
| 585 | 587 | </parameter> | |
| @@ -589,7 +591,7 @@ See `PangoCairoShapeRendererFunc` for details.</doc> | |||
| 589 | 591 | allow-none="1" | |
| 590 | 592 | scope="async"> | |
| 591 | 593 | <doc xml:space="preserve" | |
| 592 | - | filename="../pango/pangocairo-context.c" | |
| 594 | + | filename="pango/pangocairo-context.c" | |
| 593 | 595 | line="350">Callback that will be called when the | |
| 594 | 596 | context is freed to release @data</doc> | |
| 595 | 597 | <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/> | |
| @@ -600,7 +602,7 @@ See `PangoCairoShapeRendererFunc` for details.</doc> | |||
| 600 | 602 | c:identifier="pango_cairo_create_context" | |
| 601 | 603 | version="1.22"> | |
| 602 | 604 | <doc xml:space="preserve" | |
| 603 | - | filename="../pango/pangocairo-context.c" | |
| 605 | + | filename="pango/pangocairo-context.c" | |
| 604 | 606 | line="424">Creates a context object set up to match the current transformation | |
| 605 | 607 | and target surface of the Cairo context. | |
| 606 | 608 | ||
| @@ -611,17 +613,17 @@ This function is a convenience function that creates a context using | |||
| 611 | 613 | the default font map, then updates it to @cr. If you just need to | |
| 612 | 614 | create a layout for use with @cr and do not need to access `PangoContext` | |
| 613 | 615 | directly, you can use [func@create_layout] instead.</doc> | |
| 614 | - | <source-position filename="../pango/pangocairo.h" line="165"/> | |
| 616 | + | <source-position filename="pango/pangocairo.h" line="165"/> | |
| 615 | 617 | <return-value transfer-ownership="full"> | |
| 616 | 618 | <doc xml:space="preserve" | |
| 617 | - | filename="../pango/pangocairo-context.c" | |
| 619 | + | filename="pango/pangocairo-context.c" | |
| 618 | 620 | line="439">the newly created `PangoContext`</doc> | |
| 619 | 621 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 620 | 622 | </return-value> | |
| 621 | 623 | <parameters> | |
| 622 | 624 | <parameter name="cr" transfer-ownership="none"> | |
| 623 | 625 | <doc xml:space="preserve" | |
| 624 | - | filename="../pango/pangocairo-context.c" | |
| 626 | + | filename="pango/pangocairo-context.c" | |
| 625 | 627 | line="426">a Cairo context</doc> | |
| 626 | 628 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 627 | 629 | </parameter> | |
| @@ -631,7 +633,7 @@ directly, you can use [func@create_layout] instead.</doc> | |||
| 631 | 633 | c:identifier="pango_cairo_create_layout" | |
| 632 | 634 | version="1.10"> | |
| 633 | 635 | <doc xml:space="preserve" | |
| 634 | - | filename="../pango/pangocairo-context.c" | |
| 636 | + | filename="pango/pangocairo-context.c" | |
| 635 | 637 | line="458">Creates a layout object set up to match the current transformation | |
| 636 | 638 | and target surface of the Cairo context. | |
| 637 | 639 | ||
| @@ -644,17 +646,17 @@ This function is the most convenient way to use Cairo with Pango, | |||
| 644 | 646 | however it is slightly inefficient since it creates a separate | |
| 645 | 647 | `PangoContext` object for each layout. This might matter in an | |
| 646 | 648 | application that was laying out large amounts of text.</doc> | |
| 647 | - | <source-position filename="../pango/pangocairo.h" line="167"/> | |
| 649 | + | <source-position filename="pango/pangocairo.h" line="167"/> | |
| 648 | 650 | <return-value transfer-ownership="full"> | |
| 649 | 651 | <doc xml:space="preserve" | |
| 650 | - | filename="../pango/pangocairo-context.c" | |
| 652 | + | filename="pango/pangocairo-context.c" | |
| 651 | 653 | line="475">the newly created `PangoLayout`</doc> | |
| 652 | 654 | <type name="Pango.Layout" c:type="PangoLayout*"/> | |
| 653 | 655 | </return-value> | |
| 654 | 656 | <parameters> | |
| 655 | 657 | <parameter name="cr" transfer-ownership="none"> | |
| 656 | 658 | <doc xml:space="preserve" | |
| 657 | - | filename="../pango/pangocairo-context.c" | |
| 659 | + | filename="pango/pangocairo-context.c" | |
| 658 | 660 | line="460">a Cairo context</doc> | |
| 659 | 661 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 660 | 662 | </parameter> | |
| @@ -664,45 +666,45 @@ application that was laying out large amounts of text.</doc> | |||
| 664 | 666 | c:identifier="pango_cairo_error_underline_path" | |
| 665 | 667 | version="1.14"> | |
| 666 | 668 | <doc xml:space="preserve" | |
| 667 | - | filename="../pango/pangocairo-render.c" | |
| 669 | + | filename="pango/pangocairo-render.c" | |
| 668 | 670 | line="1244">Add a squiggly line to the current path in the specified cairo context that | |
| 669 | 671 | approximately covers the given rectangle in the style of an underline used | |
| 670 | 672 | to indicate a spelling error. | |
| 671 | 673 | ||
| 672 | 674 | The width of the underline is rounded to an integer number of up/down | |
| 673 | 675 | segments and the resulting rectangle is centered in the original rectangle.</doc> | |
| 674 | - | <source-position filename="../pango/pangocairo.h" line="212"/> | |
| 676 | + | <source-position filename="pango/pangocairo.h" line="212"/> | |
| 675 | 677 | <return-value transfer-ownership="none"> | |
| 676 | 678 | <type name="none" c:type="void"/> | |
| 677 | 679 | </return-value> | |
| 678 | 680 | <parameters> | |
| 679 | 681 | <parameter name="cr" transfer-ownership="none"> | |
| 680 | 682 | <doc xml:space="preserve" | |
| 681 | - | filename="../pango/pangocairo-render.c" | |
| 683 | + | filename="pango/pangocairo-render.c" | |
| 682 | 684 | line="1246">a Cairo context</doc> | |
| 683 | 685 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 684 | 686 | </parameter> | |
| 685 | 687 | <parameter name="x" transfer-ownership="none"> | |
| 686 | 688 | <doc xml:space="preserve" | |
| 687 | - | filename="../pango/pangocairo-render.c" | |
| 689 | + | filename="pango/pangocairo-render.c" | |
| 688 | 690 | line="1247">The X coordinate of one corner of the rectangle</doc> | |
| 689 | 691 | <type name="gdouble" c:type="double"/> | |
| 690 | 692 | </parameter> | |
| 691 | 693 | <parameter name="y" transfer-ownership="none"> | |
| 692 | 694 | <doc xml:space="preserve" | |
| 693 | - | filename="../pango/pangocairo-render.c" | |
| 695 | + | filename="pango/pangocairo-render.c" | |
| 694 | 696 | line="1248">The Y coordinate of one corner of the rectangle</doc> | |
| 695 | 697 | <type name="gdouble" c:type="double"/> | |
| 696 | 698 | </parameter> | |
| 697 | 699 | <parameter name="width" transfer-ownership="none"> | |
| 698 | 700 | <doc xml:space="preserve" | |
| 699 | - | filename="../pango/pangocairo-render.c" | |
| 701 | + | filename="pango/pangocairo-render.c" | |
| 700 | 702 | line="1249">Non-negative width of the rectangle</doc> | |
| 701 | 703 | <type name="gdouble" c:type="double"/> | |
| 702 | 704 | </parameter> | |
| 703 | 705 | <parameter name="height" transfer-ownership="none"> | |
| 704 | 706 | <doc xml:space="preserve" | |
| 705 | - | filename="../pango/pangocairo-render.c" | |
| 707 | + | filename="pango/pangocairo-render.c" | |
| 706 | 708 | line="1250">Non-negative height of the rectangle</doc> | |
| 707 | 709 | <type name="gdouble" c:type="double"/> | |
| 708 | 710 | </parameter> | |
| @@ -713,7 +715,7 @@ segments and the resulting rectangle is centered in the original rectangle.</doc | |||
| 713 | 715 | moved-to="FontMap.get_default" | |
| 714 | 716 | version="1.10"> | |
| 715 | 717 | <doc xml:space="preserve" | |
| 716 | - | filename="../pango/pangocairo-fontmap.c" | |
| 718 | + | filename="pango/pangocairo-fontmap.c" | |
| 717 | 719 | line="151">Gets a default `PangoCairoFontMap` to use with Cairo. | |
| 718 | 720 | ||
| 719 | 721 | Note that the type of the returned object will depend on the | |
| @@ -729,10 +731,10 @@ for example. | |||
| 729 | 731 | Note that since Pango 1.32.6, the default fontmap is per-thread. | |
| 730 | 732 | Each thread gets its own default fontmap. In this way, PangoCairo | |
| 731 | 733 | can be used safely from multiple threads.</doc> | |
| 732 | - | <source-position filename="../pango/pangocairo.h" line="110"/> | |
| 734 | + | <source-position filename="pango/pangocairo.h" line="110"/> | |
| 733 | 735 | <return-value transfer-ownership="none"> | |
| 734 | 736 | <doc xml:space="preserve" | |
| 735 | - | filename="../pango/pangocairo-fontmap.c" | |
| 737 | + | filename="pango/pangocairo-fontmap.c" | |
| 736 | 738 | line="170">the default PangoCairo fontmap | |
| 737 | 739 | for the current thread. This object is owned by Pango and must | |
| 738 | 740 | not be freed.</doc> | |
| @@ -744,7 +746,7 @@ can be used safely from multiple threads.</doc> | |||
| 744 | 746 | moved-to="FontMap.new" | |
| 745 | 747 | version="1.10"> | |
| 746 | 748 | <doc xml:space="preserve" | |
| 747 | - | filename="../pango/pangocairo-fontmap.c" | |
| 749 | + | filename="pango/pangocairo-fontmap.c" | |
| 748 | 750 | line="47">Creates a new `PangoCairoFontMap` object. | |
| 749 | 751 | ||
| 750 | 752 | A fontmap is used to cache information about available fonts, | |
| @@ -763,10 +765,10 @@ based on your build, are fc (fontconfig), win32, and coretext. | |||
| 763 | 765 | If requested type is not available, NULL is returned. Ie. | |
| 764 | 766 | this is only useful for testing, when at least two backends | |
| 765 | 767 | are compiled in.</doc> | |
| 766 | - | <source-position filename="../pango/pangocairo.h" line="106"/> | |
| 768 | + | <source-position filename="pango/pangocairo.h" line="106"/> | |
| 767 | 769 | <return-value transfer-ownership="full"> | |
| 768 | 770 | <doc xml:space="preserve" | |
| 769 | - | filename="../pango/pangocairo-fontmap.c" | |
| 771 | + | filename="pango/pangocairo-fontmap.c" | |
| 770 | 772 | line="69">the newly allocated `PangoFontMap`, | |
| 771 | 773 | which should be freed with g_object_unref().</doc> | |
| 772 | 774 | <type name="Pango.FontMap" c:type="PangoFontMap*"/> | |
| @@ -777,16 +779,16 @@ are compiled in.</doc> | |||
| 777 | 779 | moved-to="FontMap.new_for_font_type" | |
| 778 | 780 | version="1.18"> | |
| 779 | 781 | <doc xml:space="preserve" | |
| 780 | - | filename="../pango/pangocairo-fontmap.c" | |
| 782 | + | filename="pango/pangocairo-fontmap.c" | |
| 781 | 783 | line="110">Creates a new `PangoCairoFontMap` object of the type suitable | |
| 782 | 784 | to be used with cairo font backend of type @fonttype. | |
| 783 | 785 | ||
| 784 | 786 | In most cases one should simply use [func@PangoCairo.FontMap.new], or | |
| 785 | 787 | in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].</doc> | |
| 786 | - | <source-position filename="../pango/pangocairo.h" line="108"/> | |
| 788 | + | <source-position filename="pango/pangocairo.h" line="108"/> | |
| 787 | 789 | <return-value transfer-ownership="full" nullable="1"> | |
| 788 | 790 | <doc xml:space="preserve" | |
| 789 | - | filename="../pango/pangocairo-fontmap.c" | |
| 791 | + | filename="pango/pangocairo-fontmap.c" | |
| 790 | 792 | line="120">the newly allocated | |
| 791 | 793 | `PangoFontMap` of suitable type which should be freed with | |
| 792 | 794 | g_object_unref(), or %NULL if the requested cairo font backend | |
| @@ -796,7 +798,7 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 796 | 798 | <parameters> | |
| 797 | 799 | <parameter name="fonttype" transfer-ownership="none"> | |
| 798 | 800 | <doc xml:space="preserve" | |
| 799 | - | filename="../pango/pangocairo-fontmap.c" | |
| 801 | + | filename="pango/pangocairo-fontmap.c" | |
| 800 | 802 | line="112">desired #cairo_font_type_t</doc> | |
| 801 | 803 | <type name="cairo.FontType" c:type="cairo_font_type_t"/> | |
| 802 | 804 | </parameter> | |
| @@ -806,32 +808,32 @@ in fact in most of those cases, just use [func@PangoCairo.FontMap.get_default].< | |||
| 806 | 808 | c:identifier="pango_cairo_glyph_string_path" | |
| 807 | 809 | version="1.10"> | |
| 808 | 810 | <doc xml:space="preserve" | |
| 809 | - | filename="../pango/pangocairo-render.c" | |
| 811 | + | filename="pango/pangocairo-render.c" | |
| 810 | 812 | line="1173">Adds the glyphs in @glyphs to the current path in the specified | |
| 811 | 813 | cairo context. | |
| 812 | 814 | ||
| 813 | 815 | The origin of the glyphs (the left edge of the baseline) | |
| 814 | 816 | will be at the current point of the cairo context.</doc> | |
| 815 | - | <source-position filename="../pango/pangocairo.h" line="201"/> | |
| 817 | + | <source-position filename="pango/pangocairo.h" line="201"/> | |
| 816 | 818 | <return-value transfer-ownership="none"> | |
| 817 | 819 | <type name="none" c:type="void"/> | |
| 818 | 820 | </return-value> | |
| 819 | 821 | <parameters> | |
| 820 | 822 | <parameter name="cr" transfer-ownership="none"> | |
| 821 | 823 | <doc xml:space="preserve" | |
| 822 | - | filename="../pango/pangocairo-render.c" | |
| 824 | + | filename="pango/pangocairo-render.c" | |
| 823 | 825 | line="1175">a Cairo context</doc> | |
| 824 | 826 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 825 | 827 | </parameter> | |
| 826 | 828 | <parameter name="font" transfer-ownership="none"> | |
| 827 | 829 | <doc xml:space="preserve" | |
| 828 | - | filename="../pango/pangocairo-render.c" | |
| 830 | + | filename="pango/pangocairo-render.c" | |
| 829 | 831 | line="1176">a `PangoFont` from a `PangoCairoFontMap`</doc> | |
| 830 | 832 | <type name="Pango.Font" c:type="PangoFont*"/> | |
| 831 | 833 | </parameter> | |
| 832 | 834 | <parameter name="glyphs" transfer-ownership="none"> | |
| 833 | 835 | <doc xml:space="preserve" | |
| 834 | - | filename="../pango/pangocairo-render.c" | |
| 836 | + | filename="pango/pangocairo-render.c" | |
| 835 | 837 | line="1177">a `PangoGlyphString`</doc> | |
| 836 | 838 | <type name="Pango.GlyphString" c:type="PangoGlyphString*"/> | |
| 837 | 839 | </parameter> | |
| @@ -841,26 +843,26 @@ will be at the current point of the cairo context.</doc> | |||
| 841 | 843 | c:identifier="pango_cairo_layout_line_path" | |
| 842 | 844 | version="1.10"> | |
| 843 | 845 | <doc xml:space="preserve" | |
| 844 | - | filename="../pango/pangocairo-render.c" | |
| 846 | + | filename="pango/pangocairo-render.c" | |
| 845 | 847 | line="1198">Adds the text in `PangoLayoutLine` to the current path in the | |
| 846 | 848 | specified cairo context. | |
| 847 | 849 | ||
| 848 | 850 | The origin of the glyphs (the left edge of the line) will be | |
| 849 | 851 | at the current point of the cairo context.</doc> | |
| 850 | - | <source-position filename="../pango/pangocairo.h" line="205"/> | |
| 852 | + | <source-position filename="pango/pangocairo.h" line="205"/> | |
| 851 | 853 | <return-value transfer-ownership="none"> | |
| 852 | 854 | <type name="none" c:type="void"/> | |
| 853 | 855 | </return-value> | |
| 854 | 856 | <parameters> | |
| 855 | 857 | <parameter name="cr" transfer-ownership="none"> | |
| 856 | 858 | <doc xml:space="preserve" | |
| 857 | - | filename="../pango/pangocairo-render.c" | |
| 859 | + | filename="pango/pangocairo-render.c" | |
| 858 | 860 | line="1200">a Cairo context</doc> | |
| 859 | 861 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 860 | 862 | </parameter> | |
| 861 | 863 | <parameter name="line" transfer-ownership="none"> | |
| 862 | 864 | <doc xml:space="preserve" | |
| 863 | - | filename="../pango/pangocairo-render.c" | |
| 865 | + | filename="pango/pangocairo-render.c" | |
| 864 | 866 | line="1201">a `PangoLayoutLine`</doc> | |
| 865 | 867 | <type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/> | |
| 866 | 868 | </parameter> | |
| @@ -870,26 +872,26 @@ at the current point of the cairo context.</doc> | |||
| 870 | 872 | c:identifier="pango_cairo_layout_path" | |
| 871 | 873 | version="1.10"> | |
| 872 | 874 | <doc xml:space="preserve" | |
| 873 | - | filename="../pango/pangocairo-render.c" | |
| 875 | + | filename="pango/pangocairo-render.c" | |
| 874 | 876 | line="1221">Adds the text in a `PangoLayout` to the current path in the | |
| 875 | 877 | specified cairo context. | |
| 876 | 878 | ||
| 877 | 879 | The top-left corner of the `PangoLayout` will be at the | |
| 878 | 880 | current point of the cairo context.</doc> | |
| 879 | - | <source-position filename="../pango/pangocairo.h" line="208"/> | |
| 881 | + | <source-position filename="pango/pangocairo.h" line="208"/> | |
| 880 | 882 | <return-value transfer-ownership="none"> | |
| 881 | 883 | <type name="none" c:type="void"/> | |
| 882 | 884 | </return-value> | |
| 883 | 885 | <parameters> | |
| 884 | 886 | <parameter name="cr" transfer-ownership="none"> | |
| 885 | 887 | <doc xml:space="preserve" | |
| 886 | - | filename="../pango/pangocairo-render.c" | |
| 888 | + | filename="pango/pangocairo-render.c" | |
| 887 | 889 | line="1223">a Cairo context</doc> | |
| 888 | 890 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 889 | 891 | </parameter> | |
| 890 | 892 | <parameter name="layout" transfer-ownership="none"> | |
| 891 | 893 | <doc xml:space="preserve" | |
| 892 | - | filename="../pango/pangocairo-render.c" | |
| 894 | + | filename="pango/pangocairo-render.c" | |
| 893 | 895 | line="1224">a Pango layout</doc> | |
| 894 | 896 | <type name="Pango.Layout" c:type="PangoLayout*"/> | |
| 895 | 897 | </parameter> | |
| @@ -899,7 +901,7 @@ current point of the cairo context.</doc> | |||
| 899 | 901 | c:identifier="pango_cairo_show_error_underline" | |
| 900 | 902 | version="1.14"> | |
| 901 | 903 | <doc xml:space="preserve" | |
| 902 | - | filename="../pango/pangocairo-render.c" | |
| 904 | + | filename="pango/pangocairo-render.c" | |
| 903 | 905 | line="1142">Draw a squiggly line in the specified cairo context that approximately | |
| 904 | 906 | covers the given rectangle in the style of an underline used to indicate a | |
| 905 | 907 | spelling error. | |
| @@ -907,38 +909,38 @@ spelling error. | |||
| 907 | 909 | The width of the underline is rounded to an integer | |
| 908 | 910 | number of up/down segments and the resulting rectangle is centered in the | |
| 909 | 911 | original rectangle.</doc> | |
| 910 | - | <source-position filename="../pango/pangocairo.h" line="191"/> | |
| 912 | + | <source-position filename="pango/pangocairo.h" line="191"/> | |
| 911 | 913 | <return-value transfer-ownership="none"> | |
| 912 | 914 | <type name="none" c:type="void"/> | |
| 913 | 915 | </return-value> | |
| 914 | 916 | <parameters> | |
| 915 | 917 | <parameter name="cr" transfer-ownership="none"> | |
| 916 | 918 | <doc xml:space="preserve" | |
| 917 | - | filename="../pango/pangocairo-render.c" | |
| 919 | + | filename="pango/pangocairo-render.c" | |
| 918 | 920 | line="1144">a Cairo context</doc> | |
| 919 | 921 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 920 | 922 | </parameter> | |
| 921 | 923 | <parameter name="x" transfer-ownership="none"> | |
| 922 | 924 | <doc xml:space="preserve" | |
| 923 | - | filename="../pango/pangocairo-render.c" | |
| 925 | + | filename="pango/pangocairo-render.c" | |
| 924 | 926 | line="1145">The X coordinate of one corner of the rectangle</doc> | |
| 925 | 927 | <type name="gdouble" c:type="double"/> | |
| 926 | 928 | </parameter> | |
| 927 | 929 | <parameter name="y" transfer-ownership="none"> | |
| 928 | 930 | <doc xml:space="preserve" | |
| 929 | - | filename="../pango/pangocairo-render.c" | |
| 931 | + | filename="pango/pangocairo-render.c" | |
| 930 | 932 | line="1146">The Y coordinate of one corner of the rectangle</doc> | |
| 931 | 933 | <type name="gdouble" c:type="double"/> | |
| 932 | 934 | </parameter> | |
| 933 | 935 | <parameter name="width" transfer-ownership="none"> | |
| 934 | 936 | <doc xml:space="preserve" | |
| 935 | - | filename="../pango/pangocairo-render.c" | |
| 937 | + | filename="pango/pangocairo-render.c" | |
| 936 | 938 | line="1147">Non-negative width of the rectangle</doc> | |
| 937 | 939 | <type name="gdouble" c:type="double"/> | |
| 938 | 940 | </parameter> | |
| 939 | 941 | <parameter name="height" transfer-ownership="none"> | |
| 940 | 942 | <doc xml:space="preserve" | |
| 941 | - | filename="../pango/pangocairo-render.c" | |
| 943 | + | filename="pango/pangocairo-render.c" | |
| 942 | 944 | line="1148">Non-negative height of the rectangle</doc> | |
| 943 | 945 | <type name="gdouble" c:type="double"/> | |
| 944 | 946 | </parameter> | |
| @@ -948,7 +950,7 @@ original rectangle.</doc> | |||
| 948 | 950 | c:identifier="pango_cairo_show_glyph_item" | |
| 949 | 951 | version="1.22"> | |
| 950 | 952 | <doc xml:space="preserve" | |
| 951 | - | filename="../pango/pangocairo-render.c" | |
| 953 | + | filename="pango/pangocairo-render.c" | |
| 952 | 954 | line="1066">Draws the glyphs in @glyph_item in the specified cairo context, | |
| 953 | 955 | ||
| 954 | 956 | embedding the text associated with the glyphs in the output if the | |
| @@ -960,26 +962,26 @@ be drawn at the current point of the cairo context. | |||
| 960 | 962 | ||
| 961 | 963 | Note that @text is the start of the text for layout, which is then | |
| 962 | 964 | indexed by `glyph_item->item->offset`.</doc> | |
| 963 | - | <source-position filename="../pango/pangocairo.h" line="180"/> | |
| 965 | + | <source-position filename="pango/pangocairo.h" line="180"/> | |
| 964 | 966 | <return-value transfer-ownership="none"> | |
| 965 | 967 | <type name="none" c:type="void"/> | |
| 966 | 968 | </return-value> | |
| 967 | 969 | <parameters> | |
| 968 | 970 | <parameter name="cr" transfer-ownership="none"> | |
| 969 | 971 | <doc xml:space="preserve" | |
| 970 | - | filename="../pango/pangocairo-render.c" | |
| 972 | + | filename="pango/pangocairo-render.c" | |
| 971 | 973 | line="1068">a Cairo context</doc> | |
| 972 | 974 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 973 | 975 | </parameter> | |
| 974 | 976 | <parameter name="text" transfer-ownership="none"> | |
| 975 | 977 | <doc xml:space="preserve" | |
| 976 | - | filename="../pango/pangocairo-render.c" | |
| 978 | + | filename="pango/pangocairo-render.c" | |
| 977 | 979 | line="1069">the UTF-8 text that @glyph_item refers to</doc> | |
| 978 | 980 | <type name="utf8" c:type="const char*"/> | |
| 979 | 981 | </parameter> | |
| 980 | 982 | <parameter name="glyph_item" transfer-ownership="none"> | |
| 981 | 983 | <doc xml:space="preserve" | |
| 982 | - | filename="../pango/pangocairo-render.c" | |
| 984 | + | filename="pango/pangocairo-render.c" | |
| 983 | 985 | line="1070">a `PangoGlyphItem`</doc> | |
| 984 | 986 | <type name="Pango.GlyphItem" c:type="PangoGlyphItem*"/> | |
| 985 | 987 | </parameter> | |
| @@ -989,31 +991,31 @@ indexed by `glyph_item->item->offset`.</doc> | |||
| 989 | 991 | c:identifier="pango_cairo_show_glyph_string" | |
| 990 | 992 | version="1.10"> | |
| 991 | 993 | <doc xml:space="preserve" | |
| 992 | - | filename="../pango/pangocairo-render.c" | |
| 994 | + | filename="pango/pangocairo-render.c" | |
| 993 | 995 | line="1041">Draws the glyphs in @glyphs in the specified cairo context. | |
| 994 | 996 | ||
| 995 | 997 | The origin of the glyphs (the left edge of the baseline) will | |
| 996 | 998 | be drawn at the current point of the cairo context.</doc> | |
| 997 | - | <source-position filename="../pango/pangocairo.h" line="176"/> | |
| 999 | + | <source-position filename="pango/pangocairo.h" line="176"/> | |
| 998 | 1000 | <return-value transfer-ownership="none"> | |
| 999 | 1001 | <type name="none" c:type="void"/> | |
| 1000 | 1002 | </return-value> | |
| 1001 | 1003 | <parameters> | |
| 1002 | 1004 | <parameter name="cr" transfer-ownership="none"> | |
| 1003 | 1005 | <doc xml:space="preserve" | |
| 1004 | - | filename="../pango/pangocairo-render.c" | |
| 1006 | + | filename="pango/pangocairo-render.c" | |
| 1005 | 1007 | line="1043">a Cairo context</doc> | |
| 1006 | 1008 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 1007 | 1009 | </parameter> | |
| 1008 | 1010 | <parameter name="font" transfer-ownership="none"> | |
| 1009 | 1011 | <doc xml:space="preserve" | |
| 1010 | - | filename="../pango/pangocairo-render.c" | |
| 1012 | + | filename="pango/pangocairo-render.c" | |
| 1011 | 1013 | line="1044">a `PangoFont` from a `PangoCairoFontMap`</doc> | |
| 1012 | 1014 | <type name="Pango.Font" c:type="PangoFont*"/> | |
| 1013 | 1015 | </parameter> | |
| 1014 | 1016 | <parameter name="glyphs" transfer-ownership="none"> | |
| 1015 | 1017 | <doc xml:space="preserve" | |
| 1016 | - | filename="../pango/pangocairo-render.c" | |
| 1018 | + | filename="pango/pangocairo-render.c" | |
| 1017 | 1019 | line="1045">a `PangoGlyphString`</doc> | |
| 1018 | 1020 | <type name="Pango.GlyphString" c:type="PangoGlyphString*"/> | |
| 1019 | 1021 | </parameter> | |
| @@ -1023,25 +1025,25 @@ be drawn at the current point of the cairo context.</doc> | |||
| 1023 | 1025 | c:identifier="pango_cairo_show_layout" | |
| 1024 | 1026 | version="1.10"> | |
| 1025 | 1027 | <doc xml:space="preserve" | |
| 1026 | - | filename="../pango/pangocairo-render.c" | |
| 1028 | + | filename="pango/pangocairo-render.c" | |
| 1027 | 1029 | line="1120">Draws a `PangoLayout` in the specified cairo context. | |
| 1028 | 1030 | ||
| 1029 | 1031 | The top-left corner of the `PangoLayout` will be drawn | |
| 1030 | 1032 | at the current point of the cairo context.</doc> | |
| 1031 | - | <source-position filename="../pango/pangocairo.h" line="187"/> | |
| 1033 | + | <source-position filename="pango/pangocairo.h" line="187"/> | |
| 1032 | 1034 | <return-value transfer-ownership="none"> | |
| 1033 | 1035 | <type name="none" c:type="void"/> | |
| 1034 | 1036 | </return-value> | |
| 1035 | 1037 | <parameters> | |
| 1036 | 1038 | <parameter name="cr" transfer-ownership="none"> | |
| 1037 | 1039 | <doc xml:space="preserve" | |
| 1038 | - | filename="../pango/pangocairo-render.c" | |
| 1040 | + | filename="pango/pangocairo-render.c" | |
| 1039 | 1041 | line="1122">a Cairo context</doc> | |
| 1040 | 1042 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 1041 | 1043 | </parameter> | |
| 1042 | 1044 | <parameter name="layout" transfer-ownership="none"> | |
| 1043 | 1045 | <doc xml:space="preserve" | |
| 1044 | - | filename="../pango/pangocairo-render.c" | |
| 1046 | + | filename="pango/pangocairo-render.c" | |
| 1045 | 1047 | line="1123">a Pango layout</doc> | |
| 1046 | 1048 | <type name="Pango.Layout" c:type="PangoLayout*"/> | |
| 1047 | 1049 | </parameter> | |
| @@ -1051,25 +1053,25 @@ at the current point of the cairo context.</doc> | |||
| 1051 | 1053 | c:identifier="pango_cairo_show_layout_line" | |
| 1052 | 1054 | version="1.10"> | |
| 1053 | 1055 | <doc xml:space="preserve" | |
| 1054 | - | filename="../pango/pangocairo-render.c" | |
| 1056 | + | filename="pango/pangocairo-render.c" | |
| 1055 | 1057 | line="1098">Draws a `PangoLayoutLine` in the specified cairo context. | |
| 1056 | 1058 | ||
| 1057 | 1059 | The origin of the glyphs (the left edge of the line) will | |
| 1058 | 1060 | be drawn at the current point of the cairo context.</doc> | |
| 1059 | - | <source-position filename="../pango/pangocairo.h" line="184"/> | |
| 1061 | + | <source-position filename="pango/pangocairo.h" line="184"/> | |
| 1060 | 1062 | <return-value transfer-ownership="none"> | |
| 1061 | 1063 | <type name="none" c:type="void"/> | |
| 1062 | 1064 | </return-value> | |
| 1063 | 1065 | <parameters> | |
| 1064 | 1066 | <parameter name="cr" transfer-ownership="none"> | |
| 1065 | 1067 | <doc xml:space="preserve" | |
| 1066 | - | filename="../pango/pangocairo-render.c" | |
| 1068 | + | filename="pango/pangocairo-render.c" | |
| 1067 | 1069 | line="1100">a Cairo context</doc> | |
| 1068 | 1070 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 1069 | 1071 | </parameter> | |
| 1070 | 1072 | <parameter name="line" transfer-ownership="none"> | |
| 1071 | 1073 | <doc xml:space="preserve" | |
| 1072 | - | filename="../pango/pangocairo-render.c" | |
| 1074 | + | filename="pango/pangocairo-render.c" | |
| 1073 | 1075 | line="1101">a `PangoLayoutLine`</doc> | |
| 1074 | 1076 | <type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/> | |
| 1075 | 1077 | </parameter> | |
| @@ -1079,27 +1081,27 @@ be drawn at the current point of the cairo context.</doc> | |||
| 1079 | 1081 | c:identifier="pango_cairo_update_context" | |
| 1080 | 1082 | version="1.10"> | |
| 1081 | 1083 | <doc xml:space="preserve" | |
| 1082 | - | filename="../pango/pangocairo-context.c" | |
| 1084 | + | filename="pango/pangocairo-context.c" | |
| 1083 | 1085 | line="158">Updates a `PangoContext` previously created for use with Cairo to | |
| 1084 | 1086 | match the current transformation and target surface of a Cairo | |
| 1085 | 1087 | context. | |
| 1086 | 1088 | ||
| 1087 | 1089 | If any layouts have been created for the context, it's necessary | |
| 1088 | 1090 | to call [method@Pango.Layout.context_changed] on those layouts.</doc> | |
| 1089 | - | <source-position filename="../pango/pangocairo.h" line="138"/> | |
| 1091 | + | <source-position filename="pango/pangocairo.h" line="138"/> | |
| 1090 | 1092 | <return-value transfer-ownership="none"> | |
| 1091 | 1093 | <type name="none" c:type="void"/> | |
| 1092 | 1094 | </return-value> | |
| 1093 | 1095 | <parameters> | |
| 1094 | 1096 | <parameter name="cr" transfer-ownership="none"> | |
| 1095 | 1097 | <doc xml:space="preserve" | |
| 1096 | - | filename="../pango/pangocairo-context.c" | |
| 1098 | + | filename="pango/pangocairo-context.c" | |
| 1097 | 1099 | line="160">a Cairo context</doc> | |
| 1098 | 1100 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 1099 | 1101 | </parameter> | |
| 1100 | 1102 | <parameter name="context" transfer-ownership="none"> | |
| 1101 | 1103 | <doc xml:space="preserve" | |
| 1102 | - | filename="../pango/pangocairo-context.c" | |
| 1104 | + | filename="pango/pangocairo-context.c" | |
| 1103 | 1105 | line="161">a `PangoContext`, from a pangocairo font map</doc> | |
| 1104 | 1106 | <type name="Pango.Context" c:type="PangoContext*"/> | |
| 1105 | 1107 | </parameter> | |
| @@ -1109,24 +1111,24 @@ to call [method@Pango.Layout.context_changed] on those layouts.</doc> | |||
| 1109 | 1111 | c:identifier="pango_cairo_update_layout" | |
| 1110 | 1112 | version="1.10"> | |
| 1111 | 1113 | <doc xml:space="preserve" | |
| 1112 | - | filename="../pango/pangocairo-context.c" | |
| 1114 | + | filename="pango/pangocairo-context.c" | |
| 1113 | 1115 | line="494">Updates the private `PangoContext` of a `PangoLayout` created with | |
| 1114 | 1116 | [func@create_layout] to match the current transformation and target | |
| 1115 | 1117 | surface of a Cairo context.</doc> | |
| 1116 | - | <source-position filename="../pango/pangocairo.h" line="169"/> | |
| 1118 | + | <source-position filename="pango/pangocairo.h" line="169"/> | |
| 1117 | 1119 | <return-value transfer-ownership="none"> | |
| 1118 | 1120 | <type name="none" c:type="void"/> | |
| 1119 | 1121 | </return-value> | |
| 1120 | 1122 | <parameters> | |
| 1121 | 1123 | <parameter name="cr" transfer-ownership="none"> | |
| 1122 | 1124 | <doc xml:space="preserve" | |
| 1123 | - | filename="../pango/pangocairo-context.c" | |
| 1125 | + | filename="pango/pangocairo-context.c" | |
| 1124 | 1126 | line="496">a Cairo context</doc> | |
| 1125 | 1127 | <type name="cairo.Context" c:type="cairo_t*"/> | |
| 1126 | 1128 | </parameter> | |
| 1127 | 1129 | <parameter name="layout" transfer-ownership="none"> | |
| 1128 | 1130 | <doc xml:space="preserve" | |
| 1129 | - | filename="../pango/pangocairo-context.c" | |
| 1131 | + | filename="pango/pangocairo-context.c" | |
| 1130 | 1132 | line="497">a `PangoLayout`, from [func@create_layout]</doc> | |
| 1131 | 1133 | <type name="Pango.Layout" c:type="PangoLayout*"/> | |
| 1132 | 1134 | </parameter> | |