~glitter-team/glitter/trunk

18.1.8 by Jan Jokela
(glitter/variable_space.py) Added variable space widget; (glitter/data/themes/nublo/styles/video.json) Added video widget style description; (glitter/tests/test_layout.py) Added a slightly more complex layout test; (glitter/tests/test_video.py) Sanitized imports
1
# !/usr/bin/python
2
# -*- coding: utf-8 -*-
3
4
# Glitter Toolkit
5
6
__authors__ = ["Jan Jokela <janjokela@gmail.com>"]
7
__licenses__ = ["LICENSE.LGPL"]
8
__description__ = "Variable space widget"
9
10
import gobject
11
18.1.9 by Jan Jokela
(glitter/tests/test_varspace.py) Added tests for the variable space widget; (glitter/data/themes/nublo/styles/variablespace.json) Added style description for the variable space widget
12
from container import Container
18.1.8 by Jan Jokela
(glitter/variable_space.py) Added variable space widget; (glitter/data/themes/nublo/styles/video.json) Added video widget style description; (glitter/tests/test_layout.py) Added a slightly more complex layout test; (glitter/tests/test_video.py) Sanitized imports
13
14
class VariableSpace(Container):
15
    """ 
16
    Variable space is a layout container that represents free space in the user
17
    interface.
18
    
19
    """
20
        
21
    def __init__(self):
22
        """ Initialize variable space widget """
23
        
24
        super(VariableSpace, self).__init__()
25
        
26
        
27
        
28
        
29