CdSampleWindow

## CdSampleWindow CdSampleWindow |

## Synopsis

    struct              CdSampleWindow;
    struct              CdSampleWindowClass;
    GtkWindow *         cd_sample_window_new                (void);
    void                cd_sample_window_set_color          (CdSampleWindow *sample_window,
                                                             const CdColorRGB *color);
    void                cd_sample_window_set_fraction       (CdSampleWindow *sample_window,
                                                             gdouble fraction);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBin
                               +----GtkWindow
                                     +----CdSampleWindow

## Implemented Interfaces

CdSampleWindow implements AtkImplementorIface and GtkBuildable.

## Description

## Details

### struct CdSampleWindow

    struct CdSampleWindow;

### struct CdSampleWindowClass

    struct CdSampleWindowClass {
    	GtkWindowClass			 parent_class;
    };

### cd_sample_window_new ()

    GtkWindow *         cd_sample_window_new                (void);

Returns : | a new CdSampleWindow object.

### cd_sample_window_set_color ()

    void                cd_sample_window_set_color          (CdSampleWindow *sample_window,
                                                             const CdColorRGB *color);

Sets the window to a specific color.

`sample_window` : | a valid CdSampleWindow instance
`color` : | the color

### cd_sample_window_set_fraction ()

    void                cd_sample_window_set_fraction       (CdSampleWindow *sample_window,
                                                             gdouble fraction);

Sets the percentage value on the window.

`sample_window` : | a valid CdSampleWindow instance
`fraction` : | the fraction value to show, or -1 for pulsing.