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

gc = Gtk2::Gdk::GC->new ($drawable, $values=undef)

gc = Gtk2::Gdk::GC->new_with_values ($drawable, $values=undef)

$gc->set_background ($color)

$gc->set_clip_mask ($mask)

$gc->set_clip_origin ($x, $y)

$gc->set_clip_rectangle ($rectangle)

$gc->set_clip_region ($region)

colormap = $gc->get_colormap

$gc->set_colormap ($colormap)

$dst_gc->copy ($src_gc)

$gc->set_dashes ($dash_offset, ...)
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_line_attributes ($line_width, $line_style, $cap_style, $join_style)

$gc->offset ($x_offset, $y_offset)

$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)

screen = $gc->get_screen
Since: gtk+ 2.2

$gc->set_stipple ($stipple)

$gc->set_subwindow ($mode)

$gc->set_tile ($tile)

$gc->set_ts_origin ($x, $y)

scalar = $gc->get_values

$gc->set_values ($values)

enum Gtk2::Gdk::CapStyle

enum Gtk2::Gdk::Fill

enum Gtk2::Gdk::Function

enum Gtk2::Gdk::JoinStyle

enum Gtk2::Gdk::LineStyle

enum Gtk2::Gdk::SubwindowMode
Gtk2, Glib::Object Copyright (C) 2003-2007 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.