~ubuntu-branches/debian/sid/glib2.0/sid

« back to all changes in this revision

Viewing changes to gobject/gparamspecs.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-05-08 06:25:57 UTC
  • mfrom: (1.27.14) (3.1.181 experimental)
  • Revision ID: package-import@ubuntu.com-20130508062557-i7gbku66mls70gi2
Tags: 2.36.1-2
Merge experimental branch, upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1595
1595
/* --- GParamSpec initialization --- */
1596
1596
 
1597
1597
/**
1598
 
 * g_param_spec_char: (skip)
 
1598
 * g_param_spec_char:
1599
1599
 * @name: canonical name of the property specified
1600
1600
 * @nick: nick name for the property specified
1601
1601
 * @blurb: description of the property specified
1606
1606
 *
1607
1607
 * Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property.
1608
1608
 *
1609
 
 * Returns: a newly created parameter specification
 
1609
 * Returns: (transfer full): a newly created parameter specification
1610
1610
 */
1611
1611
GParamSpec*
1612
1612
g_param_spec_char (const gchar *name,
1635
1635
}
1636
1636
 
1637
1637
/**
1638
 
 * g_param_spec_uchar: (skip)
 
1638
 * g_param_spec_uchar:
1639
1639
 * @name: canonical name of the property specified
1640
1640
 * @nick: nick name for the property specified
1641
1641
 * @blurb: description of the property specified
1646
1646
 *
1647
1647
 * Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property.
1648
1648
 *
1649
 
 * Returns: a newly created parameter specification
 
1649
 * Returns: (transfer full): a newly created parameter specification
1650
1650
 */
1651
1651
GParamSpec*
1652
1652
g_param_spec_uchar (const gchar *name,
1675
1675
}
1676
1676
 
1677
1677
/**
1678
 
 * g_param_spec_boolean: (skip)
 
1678
 * g_param_spec_boolean:
1679
1679
 * @name: canonical name of the property specified
1680
1680
 * @nick: nick name for the property specified
1681
1681
 * @blurb: description of the property specified
1687
1687
 *
1688
1688
 * See g_param_spec_internal() for details on property names.
1689
1689
 *
1690
 
 * Returns: a newly created parameter specification
 
1690
 * Returns: (transfer full): a newly created parameter specification
1691
1691
 */
1692
1692
GParamSpec*
1693
1693
g_param_spec_boolean (const gchar *name,
1712
1712
}
1713
1713
 
1714
1714
/**
1715
 
 * g_param_spec_int: (skip)
 
1715
 * g_param_spec_int:
1716
1716
 * @name: canonical name of the property specified
1717
1717
 * @nick: nick name for the property specified
1718
1718
 * @blurb: description of the property specified
1725
1725
 *
1726
1726
 * See g_param_spec_internal() for details on property names.
1727
1727
 *
1728
 
 * Returns: a newly created parameter specification
 
1728
 * Returns: (transfer full): a newly created parameter specification
1729
1729
 */
1730
1730
GParamSpec*
1731
1731
g_param_spec_int (const gchar *name,
1754
1754
}
1755
1755
 
1756
1756
/**
1757
 
 * g_param_spec_uint: (skip)
 
1757
 * g_param_spec_uint:
1758
1758
 * @name: canonical name of the property specified
1759
1759
 * @nick: nick name for the property specified
1760
1760
 * @blurb: description of the property specified
1767
1767
 *
1768
1768
 * See g_param_spec_internal() for details on property names.
1769
1769
 *
1770
 
 * Returns: a newly created parameter specification
 
1770
 * Returns: (transfer full): a newly created parameter specification
1771
1771
 */
1772
1772
GParamSpec*
1773
1773
g_param_spec_uint (const gchar *name,
1796
1796
}
1797
1797
 
1798
1798
/**
1799
 
 * g_param_spec_long: (skip)
 
1799
 * g_param_spec_long:
1800
1800
 * @name: canonical name of the property specified
1801
1801
 * @nick: nick name for the property specified
1802
1802
 * @blurb: description of the property specified
1809
1809
 *
1810
1810
 * See g_param_spec_internal() for details on property names.
1811
1811
 *
1812
 
 * Returns: a newly created parameter specification
 
1812
 * Returns: (transfer full): a newly created parameter specification
1813
1813
 */
1814
1814
GParamSpec*
1815
1815
g_param_spec_long (const gchar *name,
1838
1838
}
1839
1839
 
1840
1840
/**
1841
 
 * g_param_spec_ulong: (skip)
 
1841
 * g_param_spec_ulong:
1842
1842
 * @name: canonical name of the property specified
1843
1843
 * @nick: nick name for the property specified
1844
1844
 * @blurb: description of the property specified
1852
1852
 *
1853
1853
 * See g_param_spec_internal() for details on property names.
1854
1854
 *
1855
 
 * Returns: a newly created parameter specification
 
1855
 * Returns: (transfer full): a newly created parameter specification
1856
1856
 */
1857
1857
GParamSpec*
1858
1858
g_param_spec_ulong (const gchar *name,
1881
1881
}
1882
1882
 
1883
1883
/**
1884
 
 * g_param_spec_int64: (skip)
 
1884
 * g_param_spec_int64:
1885
1885
 * @name: canonical name of the property specified
1886
1886
 * @nick: nick name for the property specified
1887
1887
 * @blurb: description of the property specified
1894
1894
 *
1895
1895
 * See g_param_spec_internal() for details on property names.
1896
1896
 *
1897
 
 * Returns: a newly created parameter specification
 
1897
 * Returns: (transfer full): a newly created parameter specification
1898
1898
 */
1899
1899
GParamSpec*
1900
1900
g_param_spec_int64 (const gchar *name,
1923
1923
}
1924
1924
 
1925
1925
/**
1926
 
 * g_param_spec_uint64: (skip)
 
1926
 * g_param_spec_uint64:
1927
1927
 * @name: canonical name of the property specified
1928
1928
 * @nick: nick name for the property specified
1929
1929
 * @blurb: description of the property specified
1937
1937
 *
1938
1938
 * See g_param_spec_internal() for details on property names.
1939
1939
 *
1940
 
 * Returns: a newly created parameter specification
 
1940
 * Returns: (transfer full): a newly created parameter specification
1941
1941
 */
1942
1942
GParamSpec*
1943
1943
g_param_spec_uint64 (const gchar *name,
1966
1966
}
1967
1967
 
1968
1968
/**
1969
 
 * g_param_spec_unichar: (skip)
 
1969
 * g_param_spec_unichar:
1970
1970
 * @name: canonical name of the property specified
1971
1971
 * @nick: nick name for the property specified
1972
1972
 * @blurb: description of the property specified
1979
1979
 *
1980
1980
 * See g_param_spec_internal() for details on property names.
1981
1981
 *
1982
 
 * Returns: a newly created parameter specification
 
1982
 * Returns: (transfer full): a newly created parameter specification
1983
1983
 */
1984
1984
GParamSpec*
1985
1985
g_param_spec_unichar (const gchar *name,
2002
2002
}
2003
2003
 
2004
2004
/**
2005
 
 * g_param_spec_enum: (skip)
 
2005
 * g_param_spec_enum:
2006
2006
 * @name: canonical name of the property specified
2007
2007
 * @nick: nick name for the property specified
2008
2008
 * @blurb: description of the property specified
2015
2015
 *
2016
2016
 * See g_param_spec_internal() for details on property names.
2017
2017
 *
2018
 
 * Returns: a newly created parameter specification
 
2018
 * Returns: (transfer full): a newly created parameter specification
2019
2019
 */
2020
2020
GParamSpec*
2021
2021
g_param_spec_enum (const gchar *name,
2048
2048
}
2049
2049
 
2050
2050
/**
2051
 
 * g_param_spec_flags: (skip)
 
2051
 * g_param_spec_flags:
2052
2052
 * @name: canonical name of the property specified
2053
2053
 * @nick: nick name for the property specified
2054
2054
 * @blurb: description of the property specified
2061
2061
 *
2062
2062
 * See g_param_spec_internal() for details on property names.
2063
2063
 *
2064
 
 * Returns: a newly created parameter specification
 
2064
 * Returns: (transfer full): a newly created parameter specification
2065
2065
 */
2066
2066
GParamSpec*
2067
2067
g_param_spec_flags (const gchar *name,
2094
2094
}
2095
2095
 
2096
2096
/**
2097
 
 * g_param_spec_float: (skip)
 
2097
 * g_param_spec_float:
2098
2098
 * @name: canonical name of the property specified
2099
2099
 * @nick: nick name for the property specified
2100
2100
 * @blurb: description of the property specified
2107
2107
 *
2108
2108
 * See g_param_spec_internal() for details on property names.
2109
2109
 *
2110
 
 * Returns: a newly created parameter specification
 
2110
 * Returns: (transfer full): a newly created parameter specification
2111
2111
 */
2112
2112
GParamSpec*
2113
2113
g_param_spec_float (const gchar *name,
2136
2136
}
2137
2137
 
2138
2138
/**
2139
 
 * g_param_spec_double: (skip)
 
2139
 * g_param_spec_double:
2140
2140
 * @name: canonical name of the property specified
2141
2141
 * @nick: nick name for the property specified
2142
2142
 * @blurb: description of the property specified
2150
2150
 *
2151
2151
 * See g_param_spec_internal() for details on property names.
2152
2152
 *
2153
 
 * Returns: a newly created parameter specification
 
2153
 * Returns: (transfer full): a newly created parameter specification
2154
2154
 */
2155
2155
GParamSpec*
2156
2156
g_param_spec_double (const gchar *name,
2179
2179
}
2180
2180
 
2181
2181
/**
2182
 
 * g_param_spec_string: (skip)
 
2182
 * g_param_spec_string:
2183
2183
 * @name: canonical name of the property specified
2184
2184
 * @nick: nick name for the property specified
2185
2185
 * @blurb: description of the property specified
2190
2190
 *
2191
2191
 * See g_param_spec_internal() for details on property names.
2192
2192
 *
2193
 
 * Returns: a newly created parameter specification
 
2193
 * Returns: (transfer full): a newly created parameter specification
2194
2194
 */
2195
2195
GParamSpec*
2196
2196
g_param_spec_string (const gchar *name,
2211
2211
}
2212
2212
 
2213
2213
/**
2214
 
 * g_param_spec_param: (skip)
 
2214
 * g_param_spec_param:
2215
2215
 * @name: canonical name of the property specified
2216
2216
 * @nick: nick name for the property specified
2217
2217
 * @blurb: description of the property specified
2223
2223
 *
2224
2224
 * See g_param_spec_internal() for details on property names.
2225
2225
 *
2226
 
 * Returns: a newly created parameter specification
 
2226
 * Returns: (transfer full): a newly created parameter specification
2227
2227
 */
2228
2228
GParamSpec*
2229
2229
g_param_spec_param (const gchar *name,
2247
2247
}
2248
2248
 
2249
2249
/**
2250
 
 * g_param_spec_boxed: (skip)
 
2250
 * g_param_spec_boxed:
2251
2251
 * @name: canonical name of the property specified
2252
2252
 * @nick: nick name for the property specified
2253
2253
 * @blurb: description of the property specified
2259
2259
 *
2260
2260
 * See g_param_spec_internal() for details on property names.
2261
2261
 *
2262
 
 * Returns: a newly created parameter specification
 
2262
 * Returns: (transfer full): a newly created parameter specification
2263
2263
 */
2264
2264
GParamSpec*
2265
2265
g_param_spec_boxed (const gchar *name,
2284
2284
}
2285
2285
 
2286
2286
/**
2287
 
 * g_param_spec_pointer: (skip)
 
2287
 * g_param_spec_pointer:
2288
2288
 * @name: canonical name of the property specified
2289
2289
 * @nick: nick name for the property specified
2290
2290
 * @blurb: description of the property specified
2294
2294
 *
2295
2295
 * See g_param_spec_internal() for details on property names.
2296
2296
 *
2297
 
 * Returns: a newly created parameter specification
 
2297
 * Returns: (transfer full): a newly created parameter specification
2298
2298
 */
2299
2299
GParamSpec*
2300
2300
g_param_spec_pointer (const gchar *name,
2313
2313
}
2314
2314
 
2315
2315
/**
2316
 
 * g_param_spec_gtype: (skip)
 
2316
 * g_param_spec_gtype:
2317
2317
 * @name: canonical name of the property specified
2318
2318
 * @nick: nick name for the property specified
2319
2319
 * @blurb: description of the property specified
2328
2328
 *
2329
2329
 * Since: 2.10
2330
2330
 *
2331
 
 * Returns: a newly created parameter specification
 
2331
 * Returns: (transfer full): a newly created parameter specification
2332
2332
 */
2333
2333
GParamSpec*
2334
2334
g_param_spec_gtype (const gchar *name,
2395
2395
}
2396
2396
 
2397
2397
/**
2398
 
 * g_param_spec_object: (skip)
 
2398
 * g_param_spec_object:
2399
2399
 * @name: canonical name of the property specified
2400
2400
 * @nick: nick name for the property specified
2401
2401
 * @blurb: description of the property specified
2407
2407
 *
2408
2408
 * See g_param_spec_internal() for details on property names.
2409
2409
 *
2410
 
 * Returns: a newly created parameter specification
 
2410
 * Returns: (transfer full): a newly created parameter specification
2411
2411
 */
2412
2412
GParamSpec*
2413
2413
g_param_spec_object (const gchar *name,
2474
2474
}
2475
2475
 
2476
2476
/**
2477
 
 * g_param_spec_variant: (skip)
 
2477
 * g_param_spec_variant:
2478
2478
 * @name: canonical name of the property specified
2479
2479
 * @nick: nick name for the property specified
2480
2480
 * @blurb: description of the property specified
2481
2481
 * @type: a #GVariantType
2482
 
 * @default_value: (allow-none): a #GVariant of type @type to use as the
2483
 
 *                 default value, or %NULL
 
2482
 * @default_value: (allow-none) (transfer full): a #GVariant of type @type to
 
2483
 *                 use as the default value, or %NULL
2484
2484
 * @flags: flags for the property specified
2485
2485
 *
2486
2486
 * Creates a new #GParamSpecVariant instance specifying a #GVariant
2490
2490
 *
2491
2491
 * See g_param_spec_internal() for details on property names.
2492
2492
 *
2493
 
 * Returns: the newly created #GParamSpec
 
2493
 * Returns: (transfer full): the newly created #GParamSpec
2494
2494
 *
2495
2495
 * Since: 2.26
2496
2496
 */