FoString

FoString

Functions

Properties

gchar * value Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── FoObject
        ╰── FoDatatype
            ╰── FoString

Description

Functions

fo_string_new ()

FoDatatype *
fo_string_new (void);

Creates a new FoString initialized to default value.

Returns

the new FoString


fo_string_new_with_value ()

FoDatatype *
fo_string_new_with_value (const gchar *value);

Creates a new FoString set to value .

Parameters

value

String of the new FoString.

 

Returns

The new FoString.


fo_string_get_value ()

gchar *
fo_string_get_value (FoDatatype *string);

Get the value of string .

Parameters

string

FoString.

 

Returns

Numeric value of string .


fo_string_get_string_one ()

FoDatatype *
fo_string_get_string_one (void);

Create and return an FoString with the well-known value "1".

This saves creation of multiple FoString objects that all have the value "1".

Returns

FoString with value "1".

Types and Values

FoString

typedef struct _FoString FoString;


FoStringClass

typedef struct _FoStringClass FoStringClass;

Property Details

The “value” property

  “value”                    gchar *

String value.

Flags: Read / Write / Construct Only

Default value: NULL