man Gtk2::Gdk::GC () - Gtk2::Gdk::GC

NAME

Gtk2::Gdk::GC

HIERARCHY

  Glib::Object
  +----Gtk2::Gdk::GC

METHODS

$gc->set_background ($color)

$gc->set_clip_mask ($mask)

$gc->set_clip_rectangle ($rectangle)

$gc->set_clip_region ($region)

$gc->set_colormap ($colormap)

$dst_gc->copy ($src_gc)

$gc->set_dashes ($dash_offset, ...)

* ... (list) of integers, the length of the dash segments
Sets the way dashed-lines are drawn. Lines will be drawn with alternating on and off segments of the lengths specified in list of dashes. The manner in which the on and off segments are drawn is determined by the line_style value of the GC.

$gc->set_exposures ($exposures)

$gc->set_fill ($fill)

$gc->set_font ($font)

$gc->set_foreground ($color)

$gc->set_function ($function)

$gc->set_rgb_background ($rgb)

$gc->set_rgb_bg_color ($color)

$gc->set_rgb_fg_color ($color)

$gc->set_rgb_foreground ($rgb)

$gc->rgb_gc_set_background ($rgb)

$gc->rgb_gc_set_foreground ($rgb)

$gc->set_stipple ($stipple)

$gc->set_subwindow ($mode)

$gc->set_tile ($tile)

$gc->set_values ($values)

ENUMS AND FLAGS

enum Gtk2::Gdk::CapStyle

* 'not-last' / 'GDK_CAP_NOT_LAST'
* 'butt' / 'GDK_CAP_BUTT'
* 'round' / 'GDK_CAP_ROUND'
* 'projecting' / 'GDK_CAP_PROJECTING'

enum Gtk2::Gdk::Fill

* 'solid' / 'GDK_SOLID'
* 'tiled' / 'GDK_TILED'
* 'stippled' / 'GDK_STIPPLED'
* 'opaque-stippled' / 'GDK_OPAQUE_STIPPLED'

enum Gtk2::Gdk::Function

* 'copy' / 'GDK_COPY'
* 'invert' / 'GDK_INVERT'
* 'xor' / 'GDK_XOR'
* 'clear' / 'GDK_CLEAR'
* 'and' / 'GDK_AND'
* 'and-reverse' / 'GDK_AND_REVERSE'
* 'and-invert' / 'GDK_AND_INVERT'
* 'noop' / 'GDK_NOOP'
* 'or' / 'GDK_OR'
* 'equiv' / 'GDK_EQUIV'
* 'or-reverse' / 'GDK_OR_REVERSE'
* 'copy-invert' / 'GDK_COPY_INVERT'
* 'or-invert' / 'GDK_OR_INVERT'
* 'nand' / 'GDK_NAND'
* 'nor' / 'GDK_NOR'
* 'set' / 'GDK_SET'

enum Gtk2::Gdk::JoinStyle

* 'miter' / 'GDK_JOIN_MITER'
* 'round' / 'GDK_JOIN_ROUND'
* 'bevel' / 'GDK_JOIN_BEVEL'

enum Gtk2::Gdk::LineStyle

* 'solid' / 'GDK_LINE_SOLID'
* 'on-off-dash' / 'GDK_LINE_ON_OFF_DASH'
* 'double-dash' / 'GDK_LINE_DOUBLE_DASH'

enum Gtk2::Gdk::SubwindowMode

* 'clip-by-children' / 'GDK_CLIP_BY_CHILDREN'
* 'include-inferiors' / 'GDK_INCLUDE_INFERIORS'

SEE ALSO

Gtk2, Glib::Object

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.