From bba2e4b4de668db525cbfdfc35292e5a0b51671a Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 22 Feb 2024 17:21:11 +0100 Subject: New upstream version 1.46.0 --- docs/libnm/html/NMSetting.html | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'docs/libnm/html/NMSetting.html') diff --git a/docs/libnm/html/NMSetting.html b/docs/libnm/html/NMSetting.html index a921dc81..b35c6b74 100644 --- a/docs/libnm/html/NMSetting.html +++ b/docs/libnm/html/NMSetting.html @@ -215,6 +215,14 @@ +GType + + +nm_setting_get_enum_property_type () + + + + NMRange * @@ -1218,6 +1226,47 @@ on setting
+

nm_setting_get_enum_property_type ()

+
GType
+nm_setting_get_enum_property_type (GType setting_type,
+                                   const char *property_name);
+

Get the type of the enum that defines the values that the property accepts. It is only +useful for properties configured to accept values from certain enum type, otherwise +it will return G_TYPE_INVALID. Note that flags (children of G_TYPE_FLAGS) are also +considered enums.

+

Note that the GObject property might be implemented as an integer, actually, and not +as enum. Find out what underlying type is used, checking the GParamSpec, before +setting the GObject property.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting_type

the GType of the NMSetting instance

 

property_name

the name of the property

 
+
+
+

Returns

+

the enum's GType, or G_TYPE_INVALID if the property is not of enum type

+
+

Since: 1.46

+
+
+

nm_range_new ()

NMRange *
 nm_range_new (guint64 start,
-- 
cgit 1.3.0-6-gf8a5