Method

IdeTweaksBindingget_expected_type

Declaration

gboolean
ide_tweaks_binding_get_expected_type (
  IdeTweaksBinding* self,
  GType* type
)

Description

Gets the expected type for a binding.

This is a best effort to determine the type and may end up being different based on how bindings are applied.

Parameters

type

Type: GType*

A GType.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if succesful and type is set, otherwise FALSE and type is set to G_TYPE_INVALID.