ICalGLib.Component.new_x
Description: Reference for ICalGLib.Component.new_x

### Constructor

# ICalGLib Componentnew_x

since: 1.0

#### Declaration [src]

    ICalComponent*
    i_cal_component_new_x (
      const gchar* x_name
    )

#### Description [src]

Creates a new `ICalComponent` based on name of x property.

Available since: 1.0

#### Parameters

`x_name`

  Type: `const gchar*`

  The name of x property.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `ICalComponent`

The newly created `ICalComponent`.

The caller of the function takes ownership of the data, and is responsible for freeing it.