Packages
snapd-glib
Snapd
Plug
@interface
attributes
connections
label
name
snap
Plug
get_attribute
get_attribute_names
get_connected_slots
get_connections
get_interface
get_label
get_name
get_snap
has_attribute
has_attribute
Description:
[
Version
( since =
"1.3"
) ]
public
bool
has_attribute
(
string
name)
Check if this plug has an attribute.
Parameters:
this
a
Plug
.
name
an attribute name.
Returns:
true
if this attribute exists.