FoBoolean

FoBoolean

Functions

Properties

gboolean value Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── FoObject
        ╰── FoDatatype
            ╰── FoBoolean

Description

Functions

fo_boolean_new ()

FoDatatype *
fo_boolean_new (void);

Creates a new FoBoolean initialized to default value.

Returns

the new FoBoolean.


fo_boolean_new_with_value ()

FoDatatype *
fo_boolean_new_with_value (gboolean value);

Creates a new FoBoolean set to value .

Parameters

value

gboolean of the new FoBoolean.

 

Returns

The new FoBoolean.


fo_boolean_get_value ()

gboolean
fo_boolean_get_value (FoDatatype *boolean);

Get the value of boolean .

Parameters

boolean

FoBoolean.

 

Returns

gboolean value of boolean .


fo_boolean_get_true ()

FoDatatype *
fo_boolean_get_true (void);

Create and return an FoBoolean with the well-known value true.

This saves creation of multiple FoBoolean objects that all have the value true.

Returns

FoBoolean with value true.


fo_boolean_get_false ()

FoDatatype *
fo_boolean_get_false (void);

Create and return an FoBoolean with the well-known value false.

This saves creation of multiple FoBoolean objects that all have the value false.

Returns

FoBoolean with value false.

Types and Values

FoBoolean

typedef struct _FoBoolean FoBoolean;


FoBooleanClass

typedef struct _FoBooleanClass FoBooleanClass;

Property Details

The “value” property

  “value”                    gboolean

Boolean value.

Flags: Read / Write / Construct Only

Default value: FALSE