Top | ![]() |
![]() |
![]() |
![]() |
struct | GstBtPropertyMetaInterface |
extern GQuark | gstbt_property_meta_quark |
extern GQuark | gstbt_property_meta_quark_min_val |
extern GQuark | gstbt_property_meta_quark_max_val |
extern GQuark | gstbt_property_meta_quark_def_val |
extern GQuark | gstbt_property_meta_quark_no_val |
enum | GstBtPropertyMetaFlags |
GstBtPropertyMeta |
This interface standardises some additional meta-data that is attached to GObject properties.
Furthermore it adds the gstbt_property_meta_describe_property()
method that
builds a string description of a property value.
gchar * gstbt_property_meta_describe_property (GstBtPropertyMeta *self
,guint property_id
,const GValue *value
);
Formats the gives value as a human readable string. The method is useful to pretty print a property value to be shown in a user interface. It provides a default implementation.
self |
a GObject that implements GstBtPropertyMeta |
|
property_id |
the property index |
|
value |
the current property value |
struct GstBtPropertyMetaInterface { GTypeInterface parent; gchar *(*describe_property) (GstBtPropertyMeta *self, guint property_id, const GValue *value); };
Interface structure.
GTypeInterface |
parent type |
|
vmethod for returning a human readable property value description |
extern GQuark gstbt_property_meta_quark;
Only if this is set to TRUE, there is property meta data for this property..
extern GQuark gstbt_property_meta_quark_min_val;
Minimum property value (excluding default and no-value).
extern GQuark gstbt_property_meta_quark_max_val;
Maximum property value (excluding default and no-value).
extern GQuark gstbt_property_meta_quark_def_val;
Default property value (used initialy).
extern GQuark gstbt_property_meta_quark_no_val;
Property value (used in trigger style properties, when there is no current value)