json script: read transition properties



hello all

i'm facing a problem when not all transition properties can be read from script there is no error, the property values seem to be just ignored, not affecting the transition

my json for transition is

    {
        "id": "transition_opacity_2",
        "type": "ClutterPropertyTransition",
        "property-name": "opacity",
        "duration": 1250,
        "from" : 255,
        "to": 0,
        "signals": [
            { "name": "stopped", "handler": "transition_stopped" }
        ],
        "auto-reverse": true,
        "loop": true,
        "repeat-count": 4,
        "delay": 500
    }

the
        "duration": 1250,
        "from" : 255,
        "to": 0,
        "signals": [
            { "name": "stopped", "handler": "transition_stopped" }
        ],
but
        "auto-reverse": true,
        "loop": true,
        "repeat-count": 4,
        "delay": 500

do not - whether they are there or not - this does not make any changes to transition behaviour.

why does this behave that way? i looked thru the code - as i understood simple properties are just being set with g_object properties functions. why these are not being set?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]