Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module ddi.GC

Class GC

dui.ObjectG.ObjectG
        ddi.GC.GC

Implemented interfaces:


public class

GC



The Graphics context representation

Constructor Summary
protected (GObject* gObject)
          
(Widget widget)
          
(GdkGC* gc)
          Create a GC from a gdk gc

Methods Summary
public void* gtk()
          
GdkGC* getGDKgc()
          Gets the gdk gc
void getValues(GdkGCValues* values)
          Sets the GC values \todo class GCValues
void setValues(GdkGCValues* values, GdkGCValuesMask values_mask)
          Sets the GC values limited to the values mask \todo class GCValues
void setForeground(Color color)
          Sets the foreground color
void setBackground(Color color)
          Sets the background color
void setFunction(int funct)
          Sets the drawing function




protected ctor(GC)(GObject* gObject)

gtk

public void* gtk()



ctor(GC)(Widget widget)



ctor(GC)(GdkGC* gc)
Create a GC from a gdk gc

Parameters:
gc - the GdkGC

getGDKgc

GdkGC* getGDKgc()
Gets the gdk gc

Returns:
the gdk gc

getValues

void getValues(GdkGCValues* values)
Sets the GC values \todo class GCValues

Parameters:
values -

setValues

void setValues(GdkGCValues* values, GdkGCValuesMask values_mask)
Sets the GC values limited to the values mask \todo class GCValues

Parameters:
values -
values_mask -

setForeground

void setForeground(Color color)
Sets the foreground color

Parameters:
color - the new foreground color

setBackground

void setBackground(Color color)
Sets the background color

Parameters:
color - the new ackground color

setFunction

void setFunction(int funct)
Sets the drawing function

Parameters:
funct - the new drawing function